@pipedream/connect-react 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- (function(q,G){typeof exports=="object"&&typeof module<"u"?G(exports,require("react/jsx-runtime"),require("react"),require("@tanstack/react-query"),require("@emotion/react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@tanstack/react-query","@emotion/react","react-dom"],G):(q=typeof globalThis<"u"?globalThis:q||self,G(q["connect-react"]={},q["react/jsx-runtime"],q.React,q.reactQuery,q["@emotion/react"],q.ReactDOM))})(this,function(q,G,w,ut,Y,Sa){"use strict";function wa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const pe=wa(w);function fm(){}function gm(){}function Ea(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const ka=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Pa=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Fa={};function $r(e,t){return(Fa.jsx?Pa:ka).test(e)}const Ba=/[ \t\n\f\r]/g;function Ga(e){return typeof e=="object"?e.type==="text"?Kr(e.value):!1:Kr(e)}function Kr(e){return e.replace(Ba,"")===""}class Xt{constructor(t,n,i){this.property=t,this.normal=n,i&&(this.space=i)}}Xt.prototype.property={},Xt.prototype.normal={},Xt.prototype.space=null;function ei(e,t){const n={},i={};let r=-1;for(;++r<e.length;)Object.assign(n,e[r].property),Object.assign(i,e[r].normal);return new Xt(n,i,t)}function Zn(e){return e.toLowerCase()}class Ye{constructor(t,n){this.property=t,this.attribute=n}}Ye.prototype.space=null,Ye.prototype.boolean=!1,Ye.prototype.booleanish=!1,Ye.prototype.overloadedBoolean=!1,Ye.prototype.number=!1,Ye.prototype.commaSeparated=!1,Ye.prototype.spaceSeparated=!1,Ye.prototype.commaOrSpaceSeparated=!1,Ye.prototype.mustUseProperty=!1,Ye.prototype.defined=!1;let Ta=0;const ne=Ct(),Pe=Ct(),ti=Ct(),N=Ct(),he=Ct(),Bt=Ct(),Ze=Ct();function Ct(){return 2**++Ta}const jn=Object.freeze(Object.defineProperty({__proto__:null,boolean:ne,booleanish:Pe,commaOrSpaceSeparated:Ze,commaSeparated:Bt,number:N,overloadedBoolean:ti,spaceSeparated:he},Symbol.toStringTag,{value:"Module"})),Jn=Object.keys(jn);class Yn extends Ye{constructor(t,n,i,r){let o=-1;if(super(t,n),ni(this,"space",r),typeof i=="number")for(;++o<Jn.length;){const l=Jn[o];ni(this,Jn[o],(i&jn[l])===jn[l])}}}Yn.prototype.defined=!0;function ni(e,t,n){n&&(e[t]=n)}const Va={}.hasOwnProperty;function Gt(e){const t={},n={};let i;for(i in e.properties)if(Va.call(e.properties,i)){const r=e.properties[i],o=new Yn(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,n[Zn(i)]=i,n[Zn(o.attribute)]=i}return new Xt(t,n,e.space)}const ri=Gt({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ii=Gt({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function oi(e,t){return t in e?e[t]:t}function li(e,t){return oi(e,t.toLowerCase())}const ai=Gt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:li,properties:{xmlns:null,xmlnsXLink:null}}),ui=Gt({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Pe,ariaAutoComplete:null,ariaBusy:Pe,ariaChecked:Pe,ariaColCount:N,ariaColIndex:N,ariaColSpan:N,ariaControls:he,ariaCurrent:null,ariaDescribedBy:he,ariaDetails:null,ariaDisabled:Pe,ariaDropEffect:he,ariaErrorMessage:null,ariaExpanded:Pe,ariaFlowTo:he,ariaGrabbed:Pe,ariaHasPopup:null,ariaHidden:Pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:he,ariaLevel:N,ariaLive:null,ariaModal:Pe,ariaMultiLine:Pe,ariaMultiSelectable:Pe,ariaOrientation:null,ariaOwns:he,ariaPlaceholder:null,ariaPosInSet:N,ariaPressed:Pe,ariaReadOnly:Pe,ariaRelevant:null,ariaRequired:Pe,ariaRoleDescription:he,ariaRowCount:N,ariaRowIndex:N,ariaRowSpan:N,ariaSelected:Pe,ariaSetSize:N,ariaSort:null,ariaValueMax:N,ariaValueMin:N,ariaValueNow:N,ariaValueText:null,role:null}}),Oa=Gt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:li,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Bt,acceptCharset:he,accessKey:he,action:null,allow:null,allowFullScreen:ne,allowPaymentRequest:ne,allowUserMedia:ne,alt:null,as:null,async:ne,autoCapitalize:null,autoComplete:he,autoFocus:ne,autoPlay:ne,blocking:he,capture:null,charSet:null,checked:ne,cite:null,className:he,cols:N,colSpan:null,content:null,contentEditable:Pe,controls:ne,controlsList:he,coords:N|Bt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ne,defer:ne,dir:null,dirName:null,disabled:ne,download:ti,draggable:Pe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ne,formTarget:null,headers:he,height:N,hidden:ne,high:N,href:null,hrefLang:null,htmlFor:he,httpEquiv:he,id:null,imageSizes:null,imageSrcSet:null,inert:ne,inputMode:null,integrity:null,is:null,isMap:ne,itemId:null,itemProp:he,itemRef:he,itemScope:ne,itemType:he,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ne,low:N,manifest:null,max:null,maxLength:N,media:null,method:null,min:null,minLength:N,multiple:ne,muted:ne,name:null,nonce:null,noModule:ne,noValidate:ne,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ne,optimum:N,pattern:null,ping:he,placeholder:null,playsInline:ne,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ne,referrerPolicy:null,rel:he,required:ne,reversed:ne,rows:N,rowSpan:N,sandbox:he,scope:null,scoped:ne,seamless:ne,selected:ne,shadowRootClonable:ne,shadowRootDelegatesFocus:ne,shadowRootMode:null,shape:null,size:N,sizes:null,slot:null,span:N,spellCheck:Pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:N,step:null,style:null,tabIndex:N,target:null,title:null,translate:null,type:null,typeMustMatch:ne,useMap:null,value:Pe,width:N,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:he,axis:null,background:null,bgColor:null,border:N,borderColor:null,bottomMargin:N,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ne,declare:ne,event:null,face:null,frame:null,frameBorder:null,hSpace:N,leftMargin:N,link:null,longDesc:null,lowSrc:null,marginHeight:N,marginWidth:N,noResize:ne,noHref:ne,noShade:ne,noWrap:ne,object:null,profile:null,prompt:null,rev:null,rightMargin:N,rules:null,scheme:null,scrolling:Pe,standby:null,summary:null,text:null,topMargin:N,valueType:null,version:null,vAlign:null,vLink:null,vSpace:N,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ne,disableRemotePlayback:ne,prefix:null,property:null,results:N,security:null,unselectable:null}}),Na=Gt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:oi,properties:{about:Ze,accentHeight:N,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:N,amplitude:N,arabicForm:null,ascent:N,attributeName:null,attributeType:null,azimuth:N,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:N,by:null,calcMode:null,capHeight:N,className:he,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:N,diffuseConstant:N,direction:null,display:null,dur:null,divisor:N,dominantBaseline:null,download:ne,dx:null,dy:null,edgeMode:null,editable:null,elevation:N,enableBackground:null,end:null,event:null,exponent:N,externalResourcesRequired:null,fill:null,fillOpacity:N,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:Bt,g2:Bt,glyphName:Bt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:N,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:N,horizOriginX:N,horizOriginY:N,id:null,ideographic:N,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:N,k:N,k1:N,k2:N,k3:N,k4:N,kernelMatrix:Ze,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:N,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:N,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:N,overlineThickness:N,paintOrder:null,panose1:null,path:null,pathLength:N,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:he,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:N,pointsAtY:N,pointsAtZ:N,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ze,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ze,rev:Ze,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ze,requiredFeatures:Ze,requiredFonts:Ze,requiredFormats:Ze,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:N,specularExponent:N,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:N,strikethroughThickness:N,string:null,stroke:null,strokeDashArray:Ze,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:N,strokeOpacity:N,strokeWidth:null,style:null,surfaceScale:N,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ze,tabIndex:N,tableValues:null,target:null,targetX:N,targetY:N,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ze,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:N,underlineThickness:N,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:N,values:null,vAlphabetic:N,vMathematical:N,vectorEffect:null,vHanging:N,vIdeographic:N,version:null,vertAdvY:N,vertOriginX:N,vertOriginY:N,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:N,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),La=/^data[-\w.:]+$/i,si=/-[a-z]/g,Da=/[A-Z]/g;function Ma(e,t){const n=Zn(t);let i=t,r=Ye;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&La.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(si,Xa);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!si.test(o)){let l=o.replace(Da,Ra);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}r=Yn}return new r(i,t)}function Ra(e){return"-"+e.toLowerCase()}function Xa(e){return e.charAt(1).toUpperCase()}const za={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"},Ha=ei([ii,ri,ai,ui,Oa],"html"),_n=ei([ii,ri,ai,ui,Na],"svg");function Wa(e){return e.join(" ").trim()}var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ci(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pi={},di=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Za=/\n/g,ja=/^\s*/,Ja=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ya=/^:\s*/,_a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ua=/^[;\s]*/,qa=/^\s+|\s+$/g,Qa=`
2
- `,fi="/",gi="*",xt="",$a="comment",Ka="declaration",eu=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,i=1;function r(y){var h=y.match(Za);h&&(n+=h.length);var v=y.lastIndexOf(Qa);i=~v?y.length-v:i+y.length}function o(){var y={line:n,column:i};return function(h){return h.position=new l(y),s(),h}}function l(y){this.start=y,this.end={line:n,column:i},this.source=t.source}l.prototype.content=e;function a(y){var h=new Error(t.source+":"+n+":"+i+": "+y);if(h.reason=y,h.filename=t.source,h.line=n,h.column=i,h.source=e,!t.silent)throw h}function u(y){var h=y.exec(e);if(h){var v=h[0];return r(v),e=e.slice(v.length),h}}function s(){u(ja)}function c(y){var h;for(y=y||[];h=p();)h!==!1&&y.push(h);return y}function p(){var y=o();if(!(fi!=e.charAt(0)||gi!=e.charAt(1))){for(var h=2;xt!=e.charAt(h)&&(gi!=e.charAt(h)||fi!=e.charAt(h+1));)++h;if(h+=2,xt===e.charAt(h-1))return a("End of comment missing");var v=e.slice(2,h-2);return i+=2,r(v),e=e.slice(h),i+=2,y({type:$a,comment:v})}}function f(){var y=o(),h=u(Ja);if(h){if(p(),!u(Ya))return a("property missing ':'");var v=u(_a),I=y({type:Ka,property:hi(h[0].replace(di,xt)),value:v?hi(v[0].replace(di,xt)):xt});return u(Ua),I}}function d(){var y=[];c(y);for(var h;h=f();)h!==!1&&(y.push(h),c(y));return y}return s(),d()};function hi(e){return e?e.replace(qa,xt):xt}var tu=Tt&&Tt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pi,"__esModule",{value:!0});var mi=pi.default=ru,nu=tu(eu);function ru(e,t){var n=null;if(!e||typeof e!="string")return n;var i=(0,nu.default)(e),r=typeof t=="function";return i.forEach(function(o){if(o.type==="declaration"){var l=o.property,a=o.value;r?t(l,a,o):a&&(n=n||{},n[l]=a)}}),n}const iu=mi.default||mi,bi=yi("end"),Un=yi("start");function yi(e){return t;function t(n){const i=n&&n.position&&n.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function ou(e){const t=Un(e),n=bi(e);if(t&&n)return{start:t,end:n}}function zt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ii(e.position):"start"in e||"end"in e?Ii(e):"line"in e||"column"in e?qn(e):""}function qn(e){return vi(e&&e.line)+":"+vi(e&&e.column)}function Ii(e){return qn(e&&e.start)+"-"+qn(e&&e.end)}function vi(e){return e&&typeof e=="number"?e:1}class Le extends Error{constructor(t,n,i){super(),typeof n=="string"&&(i=n,n=void 0);let r="",o={},l=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?r=t:!o.cause&&t&&(l=!0,r=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof i=="string"){const u=i.indexOf(":");u===-1?o.ruleId=i:(o.source=i.slice(0,u),o.ruleId=i.slice(u+1))}if(!o.place&&o.ancestors&&o.ancestors){const u=o.ancestors[o.ancestors.length-1];u&&(o.place=u.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=zt(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}Le.prototype.file="",Le.prototype.name="",Le.prototype.reason="",Le.prototype.message="",Le.prototype.stack="",Le.prototype.column=void 0,Le.prototype.line=void 0,Le.prototype.ancestors=void 0,Le.prototype.cause=void 0,Le.prototype.fatal=void 0,Le.prototype.place=void 0,Le.prototype.ruleId=void 0,Le.prototype.source=void 0;const Qn={}.hasOwnProperty,lu=new Map,au=/[A-Z]/g,uu=/-([a-z])/g,su=new Set(["table","tbody","thead","tfoot","tr"]),cu=new Set(["td","th"]),Ci="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function pu(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let i;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=Iu(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=yu(n,t.jsx,t.jsxs)}const r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?_n:Ha,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=xi(r,e,void 0);return o&&typeof o!="string"?o:r.create(e,r.Fragment,{children:o||void 0},void 0)}function xi(e,t,n){if(t.type==="element")return du(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return fu(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return hu(e,t,n);if(t.type==="mdxjsEsm")return gu(e,t);if(t.type==="root")return mu(e,t,n);if(t.type==="text")return bu(e,t)}function du(e,t,n){const i=e.schema;let r=i;t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(r=_n,e.schema=r),e.ancestors.push(t);const o=Si(e,t.tagName,!1),l=vu(e,t);let a=Kn(e,t);return su.has(t.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!Ga(u):!0})),Ai(e,l,o,t),$n(l,a),e.ancestors.pop(),e.schema=i,e.create(t,o,l,n)}function fu(e,t){if(t.data&&t.data.estree&&e.evaluater){const i=t.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}Ht(e,t.position)}function gu(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ht(e,t.position)}function hu(e,t,n){const i=e.schema;let r=i;t.name==="svg"&&i.space==="html"&&(r=_n,e.schema=r),e.ancestors.push(t);const o=t.name===null?e.Fragment:Si(e,t.name,!0),l=Cu(e,t),a=Kn(e,t);return Ai(e,l,o,t),$n(l,a),e.ancestors.pop(),e.schema=i,e.create(t,o,l,n)}function mu(e,t,n){const i={};return $n(i,Kn(e,t)),e.create(t,e.Fragment,i,n)}function bu(e,t){return t.value}function Ai(e,t,n,i){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=i)}function $n(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function yu(e,t,n){return i;function i(r,o,l,a){const s=Array.isArray(l.children)?n:t;return a?s(o,l,a):s(o,l)}}function Iu(e,t){return n;function n(i,r,o,l){const a=Array.isArray(o.children),u=Un(i);return t(r,o,l,a,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function vu(e,t){const n={};let i,r;for(r in t.properties)if(r!=="children"&&Qn.call(t.properties,r)){const o=xu(e,r,t.properties[r]);if(o){const[l,a]=o;e.tableCellAlignToStyle&&l==="align"&&typeof a=="string"&&cu.has(t.tagName)?i=a:n[l]=a}}if(i){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return n}function Cu(e,t){const n={};for(const i of t.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){const o=i.data.estree.body[0];o.type;const l=o.expression;l.type;const a=l.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Ht(e,t.position);else{const r=i.name;let o;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){const a=i.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else Ht(e,t.position);else o=i.value===null?!0:i.value;n[r]=o}return n}function Kn(e,t){const n=[];let i=-1;const r=e.passKeys?new Map:lu;for(;++i<t.children.length;){const o=t.children[i];let l;if(e.passKeys){const u=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(u){const s=r.get(u)||0;l=u+"-"+s,r.set(u,s+1)}}const a=xi(e,o,l);a!==void 0&&n.push(a)}return n}function xu(e,t,n){const i=Ma(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?Ea(n):Wa(n)),i.property==="style"){let r=typeof n=="object"?n:Au(e,String(n));return e.stylePropertyNameCase==="css"&&(r=Su(r)),["style",r]}return[e.elementAttributeNameCase==="react"&&i.space?za[i.property]||i.property:i.attribute,n]}}function Au(e,t){const n={};try{iu(t,i)}catch(r){if(!e.ignoreInvalidStyle){const o=r,l=new Le("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw l.file=e.filePath||void 0,l.url=Ci+"#cannot-parse-style-attribute",l}}return n;function i(r,o){let l=r;l.slice(0,2)!=="--"&&(l.slice(0,4)==="-ms-"&&(l="ms-"+l.slice(4)),l=l.replace(uu,Eu)),n[l]=o}}function Si(e,t,n){let i;if(!n)i={type:"Literal",value:t};else if(t.includes(".")){const r=t.split(".");let o=-1,l;for(;++o<r.length;){const a=$r(r[o])?{type:"Identifier",name:r[o]}:{type:"Literal",value:r[o]};l=l?{type:"MemberExpression",object:l,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}i=l}else i=$r(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(i.type==="Literal"){const r=i.value;return Qn.call(e.components,r)?e.components[r]:r}if(e.evaluater)return e.evaluater.evaluateExpression(i);Ht(e)}function Ht(e,t){const n=new Le("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=Ci+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Su(e){const t={};let n;for(n in e)Qn.call(e,n)&&(t[wu(n)]=e[n]);return t}function wu(e){let t=e.replace(au,ku);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Eu(e,t){return t.toUpperCase()}function ku(e){return"-"+e.toLowerCase()}const er={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"]},Pu={};function Fu(e,t){const n=Pu,i=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,r=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return wi(e,i,r)}function wi(e,t,n){if(Bu(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ei(e.children,t,n)}return Array.isArray(e)?Ei(e,t,n):""}function Ei(e,t,n){const i=[];let r=-1;for(;++r<e.length;)i[r]=wi(e[r],t,n);return i.join("")}function Bu(e){return!!(e&&typeof e=="object")}const on={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
3
- `,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Gu={}.hasOwnProperty;function ki(e){return Gu.call(on,e)?on[e]:!1}function et(e,t,n,i){const r=e.length;let o=0,l;if(t<0?t=-t>r?0:r+t:t=t>r?r:t,n=n>0?n:0,i.length<1e4)l=Array.from(i),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<i.length;)l=i.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function _e(e,t){return e.length>0?(et(e,e.length,0,t),e):t}const Pi={}.hasOwnProperty;function Tu(e){const t={};let n=-1;for(;++n<e.length;)Vu(t,e[n]);return t}function Vu(e,t){let n;for(n in t){const r=(Pi.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){Pi.call(r,l)||(r[l]=[]);const a=o[l];Ou(r[l],Array.isArray(a)?a:a?[a]:[])}}}function Ou(e,t){let n=-1;const i=[];for(;++n<t.length;)(t[n].add==="after"?e:i).push(t[n]);et(e,0,0,i)}function Fi(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Vt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tt=ht(/[A-Za-z]/),je=ht(/[\dA-Za-z]/),Nu=ht(/[#-'*+\--9=?A-Z^-~]/);function tr(e){return e!==null&&(e<32||e===127)}const nr=ht(/\d/),Lu=ht(/[\dA-Fa-f]/),Du=ht(/[!-/:-@[-`{-~]/);function ee(e){return e!==null&&e<-2}function ze(e){return e!==null&&(e<0||e===32)}function de(e){return e===-2||e===-1||e===32}const Mu=ht(new RegExp("\\p{P}|\\p{S}","u")),Ru=ht(/\s/);function ht(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ot(e){const t=[];let n=-1,i=0,r=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l="";if(o===37&&je(e.charCodeAt(n+1))&&je(e.charCodeAt(n+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),r=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(i,n),encodeURIComponent(l)),i=n+r+1,l=""),r&&(n+=r,r=0)}return t.join("")+e.slice(i)}function me(e,t,n,i){const r=i?i-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(u){return de(u)?(e.enter(n),a(u)):t(u)}function a(u){return de(u)&&o++<r?(e.consume(u),a):(e.exit(n),t(u))}}const Xu={tokenize:zu};function zu(e){const t=e.attempt(this.parser.constructs.contentInitial,i,r);let n;return t;function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),me(e,t,"linePrefix")}function r(a){return e.enter("paragraph"),o(a)}function o(a){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,l(a)}function l(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return ee(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),l)}}const Hu={tokenize:Wu},Bi={tokenize:Zu};function Wu(e){const t=this,n=[];let i=0,r,o,l;return a;function a(S){if(i<n.length){const A=n[i];return t.containerState=A[1],e.attempt(A[0].continuation,u,s)(S)}return s(S)}function u(S){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&k();const A=t.events.length;let P=A,x;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){x=t.events[P][1].end;break}I(i);let M=A;for(;M<t.events.length;)t.events[M][1].end={...x},M++;return et(t.events,P+1,0,t.events.slice(A)),t.events.length=M,s(S)}return a(S)}function s(S){if(i===n.length){if(!r)return f(S);if(r.currentConstruct&&r.currentConstruct.concrete)return y(S);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Bi,c,p)(S)}function c(S){return r&&k(),I(i),f(S)}function p(S){return t.parser.lazy[t.now().line]=i!==n.length,l=t.now().offset,y(S)}function f(S){return t.containerState={},e.attempt(Bi,d,y)(S)}function d(S){return i++,n.push([t.currentConstruct,t.containerState]),f(S)}function y(S){if(S===null){r&&k(),I(0),e.consume(S);return}return r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),h(S)}function h(S){if(S===null){v(e.exit("chunkFlow"),!0),I(0),e.consume(S);return}return ee(S)?(e.consume(S),v(e.exit("chunkFlow")),i=0,t.interrupt=void 0,a):(e.consume(S),h)}function v(S,A){const P=t.sliceStream(S);if(A&&P.push(null),S.previous=o,o&&(o.next=S),o=S,r.defineSkip(S.start),r.write(P),t.parser.lazy[S.start.line]){let x=r.events.length;for(;x--;)if(r.events[x][1].start.offset<l&&(!r.events[x][1].end||r.events[x][1].end.offset>l))return;const M=t.events.length;let V=M,R,D;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(R){D=t.events[V][1].end;break}R=!0}for(I(i),x=M;x<t.events.length;)t.events[x][1].end={...D},x++;et(t.events,V+1,0,t.events.slice(M)),t.events.length=x}}function I(S){let A=n.length;for(;A-- >S;){const P=n[A];t.containerState=P[1],P[0].exit.call(t,e)}n.length=S}function k(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}function Zu(e,t,n){return me(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Gi(e){if(e===null||ze(e)||Ru(e))return 1;if(Mu(e))return 2}function rr(e,t,n){const i=[];let r=-1;for(;++r<e.length;){const o=e[r].resolveAll;o&&!i.includes(o)&&(t=o(t,n),i.push(o))}return t}const ir={name:"attention",resolveAll:ju,tokenize:Ju};function ju(e,t){let n=-1,i,r,o,l,a,u,s,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(i=n;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[i][1].end},f={...e[n][1].start};Ti(p,-u),Ti(f,u),l={type:u>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},o={type:u>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[n][1].start}},r={type:u>1?"strong":"emphasis",start:{...l.start},end:{...a.end}},e[i][1].end={...l.start},e[n][1].start={...a.end},s=[],e[i][1].end.offset-e[i][1].start.offset&&(s=_e(s,[["enter",e[i][1],t],["exit",e[i][1],t]])),s=_e(s,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",o,t]]),s=_e(s,rr(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),s=_e(s,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,s=_e(s,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,et(e,i-1,n-i+3,s),n=i+s.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Ju(e,t){const n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=Gi(i);let o;return l;function l(u){return o=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===o)return e.consume(u),a;const s=e.exit("attentionSequence"),c=Gi(u),p=!c||c===2&&r||n.includes(u),f=!r||r===2&&c||n.includes(i);return s._open=!!(o===42?p:p&&(r||!f)),s._close=!!(o===42?f:f&&(c||!p)),t(u)}}function Ti(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Yu={name:"autolink",tokenize:_u};function _u(e,t,n){let i=0;return r;function r(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(d){return tt(d)?(e.consume(d),l):d===64?n(d):s(d)}function l(d){return d===43||d===45||d===46||je(d)?(i=1,a(d)):s(d)}function a(d){return d===58?(e.consume(d),i=0,u):(d===43||d===45||d===46||je(d))&&i++<32?(e.consume(d),a):(i=0,s(d))}function u(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||tr(d)?n(d):(e.consume(d),u)}function s(d){return d===64?(e.consume(d),c):Nu(d)?(e.consume(d),s):n(d)}function c(d){return je(d)?p(d):n(d)}function p(d){return d===46?(e.consume(d),i=0,c):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):f(d)}function f(d){if((d===45||je(d))&&i++<63){const y=d===45?f:p;return e.consume(d),y}return n(d)}}const ln={partial:!0,tokenize:Uu};function Uu(e,t,n){return i;function i(o){return de(o)?me(e,r,"linePrefix")(o):r(o)}function r(o){return o===null||ee(o)?t(o):n(o)}}const Vi={continuation:{tokenize:Qu},exit:$u,name:"blockQuote",tokenize:qu};function qu(e,t,n){const i=this;return r;function r(l){if(l===62){const a=i.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return de(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function Qu(e,t,n){const i=this;return r;function r(l){return de(l)?me(e,o,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(Vi,t,n)(l)}}function $u(e){e.exit("blockQuote")}const Oi={name:"characterEscape",tokenize:Ku};function Ku(e,t,n){return i;function i(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),r}function r(o){return Du(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const Ni={name:"characterReference",tokenize:es};function es(e,t,n){const i=this;let r=0,o,l;return a;function a(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),u}function u(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,l=je,c(p))}function s(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=Lu,c):(e.enter("characterReferenceValue"),o=7,l=nr,c(p))}function c(p){if(p===59&&r){const f=e.exit("characterReferenceValue");return l===je&&!ki(i.sliceSerialize(f))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(p)&&r++<o?(e.consume(p),c):n(p)}}const Li={partial:!0,tokenize:ns},Di={concrete:!0,name:"codeFenced",tokenize:ts};function ts(e,t,n){const i=this,r={partial:!0,tokenize:P};let o=0,l=0,a;return u;function u(x){return s(x)}function s(x){const M=i.events[i.events.length-1];return o=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,a=x,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(x)}function c(x){return x===a?(l++,e.consume(x),c):l<3?n(x):(e.exit("codeFencedFenceSequence"),de(x)?me(e,p,"whitespace")(x):p(x))}function p(x){return x===null||ee(x)?(e.exit("codeFencedFence"),i.interrupt?t(x):e.check(Li,h,A)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(x))}function f(x){return x===null||ee(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(x)):de(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),me(e,d,"whitespace")(x)):x===96&&x===a?n(x):(e.consume(x),f)}function d(x){return x===null||ee(x)?p(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(x))}function y(x){return x===null||ee(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(x)):x===96&&x===a?n(x):(e.consume(x),y)}function h(x){return e.attempt(r,A,v)(x)}function v(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),I}function I(x){return o>0&&de(x)?me(e,k,"linePrefix",o+1)(x):k(x)}function k(x){return x===null||ee(x)?e.check(Li,h,A)(x):(e.enter("codeFlowValue"),S(x))}function S(x){return x===null||ee(x)?(e.exit("codeFlowValue"),k(x)):(e.consume(x),S)}function A(x){return e.exit("codeFenced"),t(x)}function P(x,M,V){let R=0;return D;function D(H){return x.enter("lineEnding"),x.consume(H),x.exit("lineEnding"),O}function O(H){return x.enter("codeFencedFence"),de(H)?me(x,E,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):E(H)}function E(H){return H===a?(x.enter("codeFencedFenceSequence"),j(H)):V(H)}function j(H){return H===a?(R++,x.consume(H),j):R>=l?(x.exit("codeFencedFenceSequence"),de(H)?me(x,K,"whitespace")(H):K(H)):V(H)}function K(H){return H===null||ee(H)?(x.exit("codeFencedFence"),M(H)):V(H)}}}function ns(e,t,n){const i=this;return r;function r(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return i.parser.lazy[i.now().line]?n(l):t(l)}}const or={name:"codeIndented",tokenize:is},rs={partial:!0,tokenize:os};function is(e,t,n){const i=this;return r;function r(s){return e.enter("codeIndented"),me(e,o,"linePrefix",5)(s)}function o(s){const c=i.events[i.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?l(s):n(s)}function l(s){return s===null?u(s):ee(s)?e.attempt(rs,l,u)(s):(e.enter("codeFlowValue"),a(s))}function a(s){return s===null||ee(s)?(e.exit("codeFlowValue"),l(s)):(e.consume(s),a)}function u(s){return e.exit("codeIndented"),t(s)}}function os(e,t,n){const i=this;return r;function r(l){return i.parser.lazy[i.now().line]?n(l):ee(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),r):me(e,o,"linePrefix",5)(l)}function o(l){const a=i.events[i.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):ee(l)?r(l):n(l)}}const ls={name:"codeText",previous:us,resolve:as,tokenize:ss};function as(e){let t=e.length-4,n=3,i,r;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=n;++i<t;)if(e[i][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(i=n-1,t++;++i<=t;)r===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(r=i):(i===t||e[i][1].type==="lineEnding")&&(e[r][1].type="codeTextData",i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),t-=i-r-2,i=r+2),r=void 0);return e}function us(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ss(e,t,n){let i=0,r,o;return l;function l(p){return e.enter("codeText"),e.enter("codeTextSequence"),a(p)}function a(p){return p===96?(e.consume(p),i++,a):(e.exit("codeTextSequence"),u(p))}function u(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),u):p===96?(o=e.enter("codeTextSequence"),r=0,c(p)):ee(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("codeTextData"),s(p))}function s(p){return p===null||p===32||p===96||ee(p)?(e.exit("codeTextData"),u(p)):(e.consume(p),s)}function c(p){return p===96?(e.consume(p),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(o.type="codeTextData",s(p))}}class cs{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const i=n??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(t,i):t>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(t,n,i){const r=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return i&&Wt(this.left,i),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Wt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Wt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Wt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Wt(this.left,n.reverse())}}}function Wt(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Mi(e){const t={};let n=-1,i,r,o,l,a,u,s;const c=new cs(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(i=c.get(n),n&&i[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(u=i[1]._tokenizer.events,o=0,o<u.length&&u[o][1].type==="lineEndingBlank"&&(o+=2),o<u.length&&u[o][1].type==="content"))for(;++o<u.length&&u[o][1].type!=="content";)u[o][1].type==="chunkText"&&(u[o][1]._isInFirstContentOfListItem=!0,o++);if(i[0]==="enter")i[1].contentType&&(Object.assign(t,ps(c,n)),n=t[n],s=!0);else if(i[1]._container){for(o=n,r=void 0;o--&&(l=c.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(r&&(c.get(r)[1].type="lineEndingBlank"),l[1].type="lineEnding",r=o);r&&(i[1].end={...c.get(r)[1].start},a=c.slice(r,n),a.unshift(i),c.splice(r,n-r+1,a))}}return et(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}function ps(e,t){const n=e.get(t)[1],i=e.get(t)[2];let r=t-1;const o=[],l=n._tokenizer||i.parser[n.contentType](n.start),a=l.events,u=[],s={};let c,p,f=-1,d=n,y=0,h=0;const v=[h];for(;d;){for(;e.get(++r)[1]!==d;);o.push(r),d._tokenizer||(c=i.sliceStream(d),d.next||c.push(null),p&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=n;++f<a.length;)a[f][0]==="exit"&&a[f-1][0]==="enter"&&a[f][1].type===a[f-1][1].type&&a[f][1].start.line!==a[f][1].end.line&&(h=f+1,v.push(h),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):v.pop(),f=v.length;f--;){const I=a.slice(v[f],v[f+1]),k=o.pop();u.push([k,k+I.length-1]),e.splice(k,2,I)}for(u.reverse(),f=-1;++f<u.length;)s[y+u[f][0]]=y+u[f][1],y+=u[f][1]-u[f][0]-1;return s}const ds={resolve:gs,tokenize:hs},fs={partial:!0,tokenize:ms};function gs(e){return Mi(e),e}function hs(e,t){let n;return i;function i(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(a)}function r(a){return a===null?o(a):ee(a)?e.check(fs,l,o)(a):(e.consume(a),r)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function l(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}function ms(e,t,n){const i=this;return r;function r(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),me(e,o,"linePrefix")}function o(l){if(l===null||ee(l))return n(l);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):e.interrupt(i.parser.constructs.flow,n,t)(l)}}function Ri(e,t,n,i,r,o,l,a,u){const s=u||Number.POSITIVE_INFINITY;let c=0;return p;function p(I){return I===60?(e.enter(i),e.enter(r),e.enter(o),e.consume(I),e.exit(o),f):I===null||I===32||I===41||tr(I)?n(I):(e.enter(i),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(I))}function f(I){return I===62?(e.enter(o),e.consume(I),e.exit(o),e.exit(r),e.exit(i),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(I))}function d(I){return I===62?(e.exit("chunkString"),e.exit(a),f(I)):I===null||I===60||ee(I)?n(I):(e.consume(I),I===92?y:d)}function y(I){return I===60||I===62||I===92?(e.consume(I),d):d(I)}function h(I){return!c&&(I===null||I===41||ze(I))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(i),t(I)):c<s&&I===40?(e.consume(I),c++,h):I===41?(e.consume(I),c--,h):I===null||I===32||I===40||tr(I)?n(I):(e.consume(I),I===92?v:h)}function v(I){return I===40||I===41||I===92?(e.consume(I),h):h(I)}}function Xi(e,t,n,i,r,o){const l=this;let a=0,u;return s;function s(d){return e.enter(i),e.enter(r),e.consume(d),e.exit(r),e.enter(o),c}function c(d){return a>999||d===null||d===91||d===93&&!u||d===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):d===93?(e.exit(o),e.enter(r),e.consume(d),e.exit(r),e.exit(i),t):ee(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),p(d))}function p(d){return d===null||d===91||d===93||ee(d)||a++>999?(e.exit("chunkString"),c(d)):(e.consume(d),u||(u=!de(d)),d===92?f:p)}function f(d){return d===91||d===92||d===93?(e.consume(d),a++,p):p(d)}}function zi(e,t,n,i,r,o){let l;return a;function a(f){return f===34||f===39||f===40?(e.enter(i),e.enter(r),e.consume(f),e.exit(r),l=f===40?41:f,u):n(f)}function u(f){return f===l?(e.enter(r),e.consume(f),e.exit(r),e.exit(i),t):(e.enter(o),s(f))}function s(f){return f===l?(e.exit(o),u(l)):f===null?n(f):ee(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),me(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===l||f===null||ee(f)?(e.exit("chunkString"),s(f)):(e.consume(f),f===92?p:c)}function p(f){return f===l||f===92?(e.consume(f),c):c(f)}}function Zt(e,t){let n;return i;function i(r){return ee(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n=!0,i):de(r)?me(e,i,n?"linePrefix":"lineSuffix")(r):t(r)}}const bs={name:"definition",tokenize:Is},ys={partial:!0,tokenize:vs};function Is(e,t,n){const i=this;let r;return o;function o(d){return e.enter("definition"),l(d)}function l(d){return Xi.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return r=Vt(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),u):n(d)}function u(d){return ze(d)?Zt(e,s)(d):s(d)}function s(d){return Ri(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(ys,p,p)(d)}function p(d){return de(d)?me(e,f,"whitespace")(d):f(d)}function f(d){return d===null||ee(d)?(e.exit("definition"),i.parser.defined.push(r),t(d)):n(d)}}function vs(e,t,n){return i;function i(a){return ze(a)?Zt(e,r)(a):n(a)}function r(a){return zi(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return de(a)?me(e,l,"whitespace")(a):l(a)}function l(a){return a===null||ee(a)?t(a):n(a)}}const Cs={name:"hardBreakEscape",tokenize:xs};function xs(e,t,n){return i;function i(o){return e.enter("hardBreakEscape"),e.consume(o),r}function r(o){return ee(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const As={name:"headingAtx",resolve:Ss,tokenize:ws};function Ss(e,t){let n=e.length-2,i=3,r,o;return e[i][1].type==="whitespace"&&(i+=2),n-2>i&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(i===n-1||n-4>i&&e[n-2][1].type==="whitespace")&&(n-=i+1===n?2:4),n>i&&(r={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},o={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},et(e,i,n-i+1,[["enter",r,t],["enter",o,t],["exit",o,t],["exit",r,t]])),e}function ws(e,t,n){let i=0;return r;function r(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&i++<6?(e.consume(c),l):c===null||ze(c)?(e.exit("atxHeadingSequence"),a(c)):n(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||ee(c)?(e.exit("atxHeading"),t(c)):de(c)?me(e,a,"whitespace")(c):(e.enter("atxHeadingText"),s(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),a(c))}function s(c){return c===null||c===35||ze(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),s)}}const Es=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Hi=["pre","script","style","textarea"],ks={concrete:!0,name:"htmlFlow",resolveTo:Bs,tokenize:Gs},Ps={partial:!0,tokenize:Vs},Fs={partial:!0,tokenize:Ts};function Bs(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Gs(e,t,n){const i=this;let r,o,l,a,u;return s;function s(m){return c(m)}function c(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),p}function p(m){return m===33?(e.consume(m),f):m===47?(e.consume(m),o=!0,h):m===63?(e.consume(m),r=3,i.interrupt?t:b):tt(m)?(e.consume(m),l=String.fromCharCode(m),v):n(m)}function f(m){return m===45?(e.consume(m),r=2,d):m===91?(e.consume(m),r=5,a=0,y):tt(m)?(e.consume(m),r=4,i.interrupt?t:b):n(m)}function d(m){return m===45?(e.consume(m),i.interrupt?t:b):n(m)}function y(m){const fe="CDATA[";return m===fe.charCodeAt(a++)?(e.consume(m),a===fe.length?i.interrupt?t:E:y):n(m)}function h(m){return tt(m)?(e.consume(m),l=String.fromCharCode(m),v):n(m)}function v(m){if(m===null||m===47||m===62||ze(m)){const fe=m===47,Z=l.toLowerCase();return!fe&&!o&&Hi.includes(Z)?(r=1,i.interrupt?t(m):E(m)):Es.includes(l.toLowerCase())?(r=6,fe?(e.consume(m),I):i.interrupt?t(m):E(m)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(m):o?k(m):S(m))}return m===45||je(m)?(e.consume(m),l+=String.fromCharCode(m),v):n(m)}function I(m){return m===62?(e.consume(m),i.interrupt?t:E):n(m)}function k(m){return de(m)?(e.consume(m),k):D(m)}function S(m){return m===47?(e.consume(m),D):m===58||m===95||tt(m)?(e.consume(m),A):de(m)?(e.consume(m),S):D(m)}function A(m){return m===45||m===46||m===58||m===95||je(m)?(e.consume(m),A):P(m)}function P(m){return m===61?(e.consume(m),x):de(m)?(e.consume(m),P):S(m)}function x(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),u=m,M):de(m)?(e.consume(m),x):V(m)}function M(m){return m===u?(e.consume(m),u=null,R):m===null||ee(m)?n(m):(e.consume(m),M)}function V(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||ze(m)?P(m):(e.consume(m),V)}function R(m){return m===47||m===62||de(m)?S(m):n(m)}function D(m){return m===62?(e.consume(m),O):n(m)}function O(m){return m===null||ee(m)?E(m):de(m)?(e.consume(m),O):n(m)}function E(m){return m===45&&r===2?(e.consume(m),J):m===60&&r===1?(e.consume(m),oe):m===62&&r===4?(e.consume(m),ve):m===63&&r===3?(e.consume(m),b):m===93&&r===5?(e.consume(m),ge):ee(m)&&(r===6||r===7)?(e.exit("htmlFlowData"),e.check(Ps,ie,j)(m)):m===null||ee(m)?(e.exit("htmlFlowData"),j(m)):(e.consume(m),E)}function j(m){return e.check(Fs,K,ie)(m)}function K(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),H}function H(m){return m===null||ee(m)?j(m):(e.enter("htmlFlowData"),E(m))}function J(m){return m===45?(e.consume(m),b):E(m)}function oe(m){return m===47?(e.consume(m),l="",se):E(m)}function se(m){if(m===62){const fe=l.toLowerCase();return Hi.includes(fe)?(e.consume(m),ve):E(m)}return tt(m)&&l.length<8?(e.consume(m),l+=String.fromCharCode(m),se):E(m)}function ge(m){return m===93?(e.consume(m),b):E(m)}function b(m){return m===62?(e.consume(m),ve):m===45&&r===2?(e.consume(m),b):E(m)}function ve(m){return m===null||ee(m)?(e.exit("htmlFlowData"),ie(m)):(e.consume(m),ve)}function ie(m){return e.exit("htmlFlow"),t(m)}}function Ts(e,t,n){const i=this;return r;function r(l){return ee(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return i.parser.lazy[i.now().line]?n(l):t(l)}}function Vs(e,t,n){return i;function i(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ln,t,n)}}const Os={name:"htmlText",tokenize:Ns};function Ns(e,t,n){const i=this;let r,o,l;return a;function a(b){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(b),u}function u(b){return b===33?(e.consume(b),s):b===47?(e.consume(b),P):b===63?(e.consume(b),S):tt(b)?(e.consume(b),V):n(b)}function s(b){return b===45?(e.consume(b),c):b===91?(e.consume(b),o=0,y):tt(b)?(e.consume(b),k):n(b)}function c(b){return b===45?(e.consume(b),d):n(b)}function p(b){return b===null?n(b):b===45?(e.consume(b),f):ee(b)?(l=p,oe(b)):(e.consume(b),p)}function f(b){return b===45?(e.consume(b),d):p(b)}function d(b){return b===62?J(b):b===45?f(b):p(b)}function y(b){const ve="CDATA[";return b===ve.charCodeAt(o++)?(e.consume(b),o===ve.length?h:y):n(b)}function h(b){return b===null?n(b):b===93?(e.consume(b),v):ee(b)?(l=h,oe(b)):(e.consume(b),h)}function v(b){return b===93?(e.consume(b),I):h(b)}function I(b){return b===62?J(b):b===93?(e.consume(b),I):h(b)}function k(b){return b===null||b===62?J(b):ee(b)?(l=k,oe(b)):(e.consume(b),k)}function S(b){return b===null?n(b):b===63?(e.consume(b),A):ee(b)?(l=S,oe(b)):(e.consume(b),S)}function A(b){return b===62?J(b):S(b)}function P(b){return tt(b)?(e.consume(b),x):n(b)}function x(b){return b===45||je(b)?(e.consume(b),x):M(b)}function M(b){return ee(b)?(l=M,oe(b)):de(b)?(e.consume(b),M):J(b)}function V(b){return b===45||je(b)?(e.consume(b),V):b===47||b===62||ze(b)?R(b):n(b)}function R(b){return b===47?(e.consume(b),J):b===58||b===95||tt(b)?(e.consume(b),D):ee(b)?(l=R,oe(b)):de(b)?(e.consume(b),R):J(b)}function D(b){return b===45||b===46||b===58||b===95||je(b)?(e.consume(b),D):O(b)}function O(b){return b===61?(e.consume(b),E):ee(b)?(l=O,oe(b)):de(b)?(e.consume(b),O):R(b)}function E(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),r=b,j):ee(b)?(l=E,oe(b)):de(b)?(e.consume(b),E):(e.consume(b),K)}function j(b){return b===r?(e.consume(b),r=void 0,H):b===null?n(b):ee(b)?(l=j,oe(b)):(e.consume(b),j)}function K(b){return b===null||b===34||b===39||b===60||b===61||b===96?n(b):b===47||b===62||ze(b)?R(b):(e.consume(b),K)}function H(b){return b===47||b===62||ze(b)?R(b):n(b)}function J(b){return b===62?(e.consume(b),e.exit("htmlTextData"),e.exit("htmlText"),t):n(b)}function oe(b){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),se}function se(b){return de(b)?me(e,ge,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):ge(b)}function ge(b){return e.enter("htmlTextData"),l(b)}}const lr={name:"labelEnd",resolveAll:Rs,resolveTo:Xs,tokenize:zs},Ls={tokenize:Hs},Ds={tokenize:Ws},Ms={tokenize:Zs};function Rs(e){let t=-1;const n=[];for(;++t<e.length;){const i=e[t][1];if(n.push(e[t]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){const r=i.type==="labelImage"?4:2;i.type="data",t+=r}}return e.length!==n.length&&et(e,0,e.length,n),e}function Xs(e,t){let n=e.length,i=0,r,o,l,a;for(;n--;)if(r=e[n][1],o){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;e[n][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(o=n,r.type!=="labelLink")){i=2;break}}else r.type==="labelEnd"&&(l=n);const u={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},c={type:"labelText",start:{...e[o+i+2][1].end},end:{...e[l-2][1].start}};return a=[["enter",u,t],["enter",s,t]],a=_e(a,e.slice(o+1,o+i+3)),a=_e(a,[["enter",c,t]]),a=_e(a,rr(t.parser.constructs.insideSpan.null,e.slice(o+i+4,l-3),t)),a=_e(a,[["exit",c,t],e[l-2],e[l-1],["exit",s,t]]),a=_e(a,e.slice(l+1)),a=_e(a,[["exit",u,t]]),et(e,o,e.length,a),e}function zs(e,t,n){const i=this;let r=i.events.length,o,l;for(;r--;)if((i.events[r][1].type==="labelImage"||i.events[r][1].type==="labelLink")&&!i.events[r][1]._balanced){o=i.events[r][1];break}return a;function a(f){return o?o._inactive?p(f):(l=i.parser.defined.includes(Vt(i.sliceSerialize({start:o.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),u):n(f)}function u(f){return f===40?e.attempt(Ls,c,l?c:p)(f):f===91?e.attempt(Ds,c,l?s:p)(f):l?c(f):p(f)}function s(f){return e.attempt(Ms,c,p)(f)}function c(f){return t(f)}function p(f){return o._balanced=!0,n(f)}}function Hs(e,t,n){return i;function i(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),r}function r(p){return ze(p)?Zt(e,o)(p):o(p)}function o(p){return p===41?c(p):Ri(e,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function l(p){return ze(p)?Zt(e,u)(p):c(p)}function a(p){return n(p)}function u(p){return p===34||p===39||p===40?zi(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):c(p)}function s(p){return ze(p)?Zt(e,c)(p):c(p)}function c(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function Ws(e,t,n){const i=this;return r;function r(a){return Xi.call(i,e,o,l,"reference","referenceMarker","referenceString")(a)}function o(a){return i.parser.defined.includes(Vt(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function l(a){return n(a)}}function Zs(e,t,n){return i;function i(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),r}function r(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const js={name:"labelStartImage",resolveAll:lr.resolveAll,tokenize:Js};function Js(e,t,n){const i=this;return r;function r(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),l):n(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(a):t(a)}}const Ys={name:"labelStartLink",resolveAll:lr.resolveAll,tokenize:_s};function _s(e,t,n){const i=this;return r;function r(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(l):t(l)}}const ar={name:"lineEnding",tokenize:Us};function Us(e,t){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),me(e,t,"linePrefix")}}const an={name:"thematicBreak",tokenize:qs};function qs(e,t,n){let i=0,r;return o;function o(s){return e.enter("thematicBreak"),l(s)}function l(s){return r=s,a(s)}function a(s){return s===r?(e.enter("thematicBreakSequence"),u(s)):i>=3&&(s===null||ee(s))?(e.exit("thematicBreak"),t(s)):n(s)}function u(s){return s===r?(e.consume(s),i++,u):(e.exit("thematicBreakSequence"),de(s)?me(e,a,"whitespace")(s):a(s))}}const He={continuation:{tokenize:ec},exit:nc,name:"list",tokenize:Ks},Qs={partial:!0,tokenize:rc},$s={partial:!0,tokenize:tc};function Ks(e,t,n){const i=this,r=i.events[i.events.length-1];let o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,l=0;return a;function a(d){const y=i.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!i.containerState.marker||d===i.containerState.marker:nr(d)){if(i.containerState.type||(i.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(an,n,s)(d):s(d);if(!i.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(d)}return n(d)}function u(d){return nr(d)&&++l<10?(e.consume(d),u):(!i.interrupt||l<2)&&(i.containerState.marker?d===i.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),s(d)):n(d)}function s(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||d,e.check(ln,i.interrupt?n:c,e.attempt(Qs,f,p))}function c(d){return i.containerState.initialBlankLine=!0,o++,f(d)}function p(d){return de(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),f):n(d)}function f(d){return i.containerState.size=o+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function ec(e,t,n){const i=this;return i.containerState._closeFlow=void 0,e.check(ln,r,o);function r(a){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,me(e,t,"listItemIndent",i.containerState.size+1)(a)}function o(a){return i.containerState.furtherBlankLines||!de(a)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,l(a)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt($s,t,l)(a))}function l(a){return i.containerState._closeFlow=!0,i.interrupt=void 0,me(e,e.attempt(He,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function tc(e,t,n){const i=this;return me(e,r,"listItemIndent",i.containerState.size+1);function r(o){const l=i.events[i.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===i.containerState.size?t(o):n(o)}}function nc(e){e.exit(this.containerState.type)}function rc(e,t,n){const i=this;return me(e,r,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(o){const l=i.events[i.events.length-1];return!de(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const Wi={name:"setextUnderline",resolveTo:ic,tokenize:oc};function ic(e,t){let n=e.length,i,r,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){i=n;break}e[n][1].type==="paragraph"&&(r=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,t]),e.splice(o+1,0,["exit",e[i][1],t]),e[i][1].end={...e[o][1].end}):e[i][1]=l,e.push(["exit",l,t]),e}function oc(e,t,n){const i=this;let r;return o;function o(s){let c=i.events.length,p;for(;c--;)if(i.events[c][1].type!=="lineEnding"&&i.events[c][1].type!=="linePrefix"&&i.events[c][1].type!=="content"){p=i.events[c][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||p)?(e.enter("setextHeadingLine"),r=s,l(s)):n(s)}function l(s){return e.enter("setextHeadingLineSequence"),a(s)}function a(s){return s===r?(e.consume(s),a):(e.exit("setextHeadingLineSequence"),de(s)?me(e,u,"lineSuffix")(s):u(s))}function u(s){return s===null||ee(s)?(e.exit("setextHeadingLine"),t(s)):n(s)}}const lc={tokenize:ac};function ac(e){const t=this,n=e.attempt(ln,i,e.attempt(this.parser.constructs.flowInitial,r,me(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ds,r)),"linePrefix")));return n;function i(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const uc={resolveAll:ji()},sc=Zi("string"),cc=Zi("text");function Zi(e){return{resolveAll:ji(e==="text"?pc:void 0),tokenize:t};function t(n){const i=this,r=this.parser.constructs[e],o=n.attempt(r,l,a);return l;function l(c){return s(c)?o(c):a(c)}function a(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),u}function u(c){return s(c)?(n.exit("data"),o(c)):(n.consume(c),u)}function s(c){if(c===null)return!0;const p=r[c];let f=-1;if(p)for(;++f<p.length;){const d=p[f];if(!d.previous||d.previous.call(i,i.previous))return!0}return!1}}}function ji(e){return t;function t(n,i){let r=-1,o;for(;++r<=n.length;)o===void 0?n[r]&&n[r][1].type==="data"&&(o=r,r++):(!n[r]||n[r][1].type!=="data")&&(r!==o+2&&(n[o][1].end=n[r-1][1].end,n.splice(o+2,r-o-2),r=o+2),o=void 0);return e?e(n,i):n}}function pc(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const i=e[n-1][1],r=t.sliceStream(i);let o=r.length,l=-1,a=0,u;for(;o--;){const s=r[o];if(typeof s=="string"){for(l=s.length;s.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(s===-2)u=!0,a++;else if(s!==-1){o++;break}}if(a){const s={type:n===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:i.start._bufferIndex+l,_index:i.start._index+o,line:i.end.line,column:i.end.column-a,offset:i.end.offset-a},end:{...i.end}};i.end={...s.start},i.start.offset===i.end.offset?Object.assign(i,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}const dc=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:bs},disable:{null:[]},document:{42:He,43:He,45:He,48:He,49:He,50:He,51:He,52:He,53:He,54:He,55:He,56:He,57:He,62:Vi},flow:{35:As,42:an,45:[Wi,an],60:ks,61:Wi,95:an,96:Di,126:Di},flowInitial:{[-2]:or,[-1]:or,32:or},insideSpan:{null:[ir,uc]},string:{38:Ni,92:Oi},text:{[-5]:ar,[-4]:ar,[-3]:ar,33:js,38:Ni,42:ir,60:[Yu,Os],91:Ys,92:[Cs,Oi],93:lr,95:ir,96:ls}},Symbol.toStringTag,{value:"Module"}));function fc(e,t,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const r={},o=[];let l=[],a=[];const u={attempt:M(P),check:M(x),consume:k,enter:S,exit:A,interrupt:M(x,{interrupt:!0})},s={code:null,containerState:{},defineSkip:h,events:[],now:y,parser:e,previous:null,sliceSerialize:f,sliceStream:d,write:p};let c=t.tokenize.call(s,u);return t.resolveAll&&o.push(t),s;function p(O){return l=_e(l,O),v(),l[l.length-1]!==null?[]:(V(t,0),s.events=rr(o,s.events,s),s.events)}function f(O,E){return hc(d(O),E)}function d(O){return gc(l,O)}function y(){const{_bufferIndex:O,_index:E,line:j,column:K,offset:H}=i;return{_bufferIndex:O,_index:E,line:j,column:K,offset:H}}function h(O){r[O.line]=O.column,D()}function v(){let O;for(;i._index<l.length;){const E=l[i._index];if(typeof E=="string")for(O=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===O&&i._bufferIndex<E.length;)I(E.charCodeAt(i._bufferIndex));else I(E)}}function I(O){c=c(O)}function k(O){ee(O)?(i.line++,i.column=1,i.offset+=O===-3?2:1,D()):O!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===l[i._index].length&&(i._bufferIndex=-1,i._index++)),s.previous=O}function S(O,E){const j=E||{};return j.type=O,j.start=y(),s.events.push(["enter",j,s]),a.push(j),j}function A(O){const E=a.pop();return E.end=y(),s.events.push(["exit",E,s]),E}function P(O,E){V(O,E.from)}function x(O,E){E.restore()}function M(O,E){return j;function j(K,H,J){let oe,se,ge,b;return Array.isArray(K)?ie(K):"tokenize"in K?ie([K]):ve(K);function ve(ue){return Ae;function Ae(ce){const Fe=ce!==null&&ue[ce],le=ce!==null&&ue.null,ye=[...Array.isArray(Fe)?Fe:Fe?[Fe]:[],...Array.isArray(le)?le:le?[le]:[]];return ie(ye)(ce)}}function ie(ue){return oe=ue,se=0,ue.length===0?J:m(ue[se])}function m(ue){return Ae;function Ae(ce){return b=R(),ge=ue,ue.partial||(s.currentConstruct=ue),ue.name&&s.parser.constructs.disable.null.includes(ue.name)?Z():ue.tokenize.call(E?Object.assign(Object.create(s),E):s,u,fe,Z)(ce)}}function fe(ue){return O(ge,b),H}function Z(ue){return b.restore(),++se<oe.length?m(oe[se]):J}}}function V(O,E){O.resolveAll&&!o.includes(O)&&o.push(O),O.resolve&&et(s.events,E,s.events.length-E,O.resolve(s.events.slice(E),s)),O.resolveTo&&(s.events=O.resolveTo(s.events,s))}function R(){const O=y(),E=s.previous,j=s.currentConstruct,K=s.events.length,H=Array.from(a);return{from:K,restore:J};function J(){i=O,s.previous=E,s.currentConstruct=j,s.events.length=K,a=H,D()}}function D(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}function gc(e,t){const n=t.start._index,i=t.start._bufferIndex,r=t.end._index,o=t.end._bufferIndex;let l;if(n===r)l=[e[n].slice(i,o)];else{if(l=e.slice(n,r),i>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(i):l.shift()}o>0&&l.push(e[r].slice(0,o))}return l}function hc(e,t){let n=-1;const i=[];let r;for(;++n<e.length;){const o=e[n];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
1
+ (function(Q,G){typeof exports=="object"&&typeof module<"u"?G(exports,require("react/jsx-runtime"),require("react"),require("@tanstack/react-query"),require("@emotion/react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@tanstack/react-query","@emotion/react","react-dom"],G):(Q=typeof globalThis<"u"?globalThis:Q||self,G(Q["connect-react"]={},Q["react/jsx-runtime"],Q.React,Q.reactQuery,Q["@emotion/react"],Q.ReactDOM))})(this,function(Q,G,A,ut,Y,ka){"use strict";function Pa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const pe=Pa(A);function Bm(){}function Tm(){}function Fa(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Ga=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ba=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ta={};function ri(e,t){return(Ta.jsx?Ba:Ga).test(e)}const Va=/[ \t\n\f\r]/g;function Oa(e){return typeof e=="object"?e.type==="text"?ii(e.value):!1:ii(e)}function ii(e){return e.replace(Va,"")===""}class zt{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}}zt.prototype.normal={},zt.prototype.property={},zt.prototype.space=void 0;function oi(e,t){const n={},i={};for(const r of e)Object.assign(n,r.property),Object.assign(i,r.normal);return new zt(n,i,t)}function jn(e){return e.toLowerCase()}class ze{constructor(t,n){this.attribute=n,this.property=t}}ze.prototype.attribute="",ze.prototype.booleanish=!1,ze.prototype.boolean=!1,ze.prototype.commaOrSpaceSeparated=!1,ze.prototype.commaSeparated=!1,ze.prototype.defined=!1,ze.prototype.mustUseProperty=!1,ze.prototype.number=!1,ze.prototype.overloadedBoolean=!1,ze.prototype.property="",ze.prototype.spaceSeparated=!1,ze.prototype.space=void 0;let Na=0;const ie=xt(),Ge=xt(),Jn=xt(),D=xt(),me=xt(),Bt=xt(),Ze=xt();function xt(){return 2**++Na}const Yn=Object.freeze(Object.defineProperty({__proto__:null,boolean:ie,booleanish:Ge,commaOrSpaceSeparated:Ze,commaSeparated:Bt,number:D,overloadedBoolean:Jn,spaceSeparated:me},Symbol.toStringTag,{value:"Module"})),_n=Object.keys(Yn);class Un extends ze{constructor(t,n,i,r){let o=-1;if(super(t,n),li(this,"space",r),typeof i=="number")for(;++o<_n.length;){const l=_n[o];li(this,_n[o],(i&Yn[l])===Yn[l])}}}Un.prototype.defined=!0;function li(e,t,n){n&&(e[t]=n)}function Tt(e){const t={},n={};for(const[i,r]of Object.entries(e.properties)){const o=new Un(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,n[jn(i)]=i,n[jn(o.attribute)]=i}return new zt(t,n,e.space)}const ai=Tt({properties:{ariaActiveDescendant:null,ariaAtomic:Ge,ariaAutoComplete:null,ariaBusy:Ge,ariaChecked:Ge,ariaColCount:D,ariaColIndex:D,ariaColSpan:D,ariaControls:me,ariaCurrent:null,ariaDescribedBy:me,ariaDetails:null,ariaDisabled:Ge,ariaDropEffect:me,ariaErrorMessage:null,ariaExpanded:Ge,ariaFlowTo:me,ariaGrabbed:Ge,ariaHasPopup:null,ariaHidden:Ge,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:me,ariaLevel:D,ariaLive:null,ariaModal:Ge,ariaMultiLine:Ge,ariaMultiSelectable:Ge,ariaOrientation:null,ariaOwns:me,ariaPlaceholder:null,ariaPosInSet:D,ariaPressed:Ge,ariaReadOnly:Ge,ariaRelevant:null,ariaRequired:Ge,ariaRoleDescription:me,ariaRowCount:D,ariaRowIndex:D,ariaRowSpan:D,ariaSelected:Ge,ariaSetSize:D,ariaSort:null,ariaValueMax:D,ariaValueMin:D,ariaValueNow:D,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ui(e,t){return t in e?e[t]:t}function si(e,t){return ui(e,t.toLowerCase())}const Da=Tt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Bt,acceptCharset:me,accessKey:me,action:null,allow:null,allowFullScreen:ie,allowPaymentRequest:ie,allowUserMedia:ie,alt:null,as:null,async:ie,autoCapitalize:null,autoComplete:me,autoFocus:ie,autoPlay:ie,blocking:me,capture:null,charSet:null,checked:ie,cite:null,className:me,cols:D,colSpan:null,content:null,contentEditable:Ge,controls:ie,controlsList:me,coords:D|Bt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ie,defer:ie,dir:null,dirName:null,disabled:ie,download:Jn,draggable:Ge,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ie,formTarget:null,headers:me,height:D,hidden:Jn,high:D,href:null,hrefLang:null,htmlFor:me,httpEquiv:me,id:null,imageSizes:null,imageSrcSet:null,inert:ie,inputMode:null,integrity:null,is:null,isMap:ie,itemId:null,itemProp:me,itemRef:me,itemScope:ie,itemType:me,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ie,low:D,manifest:null,max:null,maxLength:D,media:null,method:null,min:null,minLength:D,multiple:ie,muted:ie,name:null,nonce:null,noModule:ie,noValidate:ie,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ie,optimum:D,pattern:null,ping:me,placeholder:null,playsInline:ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ie,referrerPolicy:null,rel:me,required:ie,reversed:ie,rows:D,rowSpan:D,sandbox:me,scope:null,scoped:ie,seamless:ie,selected:ie,shadowRootClonable:ie,shadowRootDelegatesFocus:ie,shadowRootMode:null,shape:null,size:D,sizes:null,slot:null,span:D,spellCheck:Ge,src:null,srcDoc:null,srcLang:null,srcSet:null,start:D,step:null,style:null,tabIndex:D,target:null,title:null,translate:null,type:null,typeMustMatch:ie,useMap:null,value:Ge,width:D,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:me,axis:null,background:null,bgColor:null,border:D,borderColor:null,bottomMargin:D,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ie,declare:ie,event:null,face:null,frame:null,frameBorder:null,hSpace:D,leftMargin:D,link:null,longDesc:null,lowSrc:null,marginHeight:D,marginWidth:D,noResize:ie,noHref:ie,noShade:ie,noWrap:ie,object:null,profile:null,prompt:null,rev:null,rightMargin:D,rules:null,scheme:null,scrolling:Ge,standby:null,summary:null,text:null,topMargin:D,valueType:null,version:null,vAlign:null,vLink:null,vSpace:D,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ie,disableRemotePlayback:ie,prefix:null,property:null,results:D,security:null,unselectable:null},space:"html",transform:si}),La=Tt({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ze,accentHeight:D,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:D,amplitude:D,arabicForm:null,ascent:D,attributeName:null,attributeType:null,azimuth:D,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:D,by:null,calcMode:null,capHeight:D,className:me,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:D,diffuseConstant:D,direction:null,display:null,dur:null,divisor:D,dominantBaseline:null,download:ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:D,enableBackground:null,end:null,event:null,exponent:D,externalResourcesRequired:null,fill:null,fillOpacity:D,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:Bt,g2:Bt,glyphName:Bt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:D,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:D,horizOriginX:D,horizOriginY:D,id:null,ideographic:D,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:D,k:D,k1:D,k2:D,k3:D,k4:D,kernelMatrix:Ze,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:D,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:D,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:D,overlineThickness:D,paintOrder:null,panose1:null,path:null,pathLength:D,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:me,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:D,pointsAtY:D,pointsAtZ:D,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ze,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ze,rev:Ze,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ze,requiredFeatures:Ze,requiredFonts:Ze,requiredFormats:Ze,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:D,specularExponent:D,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:D,strikethroughThickness:D,string:null,stroke:null,strokeDashArray:Ze,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:D,strokeOpacity:D,strokeWidth:null,style:null,surfaceScale:D,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ze,tabIndex:D,tableValues:null,target:null,targetX:D,targetY:D,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ze,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:D,underlineThickness:D,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:D,values:null,vAlphabetic:D,vMathematical:D,vectorEffect:null,vHanging:D,vIdeographic:D,version:null,vertAdvY:D,vertOriginX:D,vertOriginY:D,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:D,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ui}),ci=Tt({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),pi=Tt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:si}),di=Tt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Ma={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"},Ra=/[A-Z]/g,fi=/-[a-z]/g,Xa=/^data[-\w.:]+$/i;function za(e,t){const n=jn(t);let i=t,r=ze;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Xa.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(fi,Wa);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!fi.test(o)){let l=o.replace(Ra,Ha);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}r=Un}return new r(i,t)}function Ha(e){return"-"+e.toLowerCase()}function Wa(e){return e.charAt(1).toUpperCase()}const Za=oi([ai,Da,ci,pi,di],"html"),qn=oi([ai,La,ci,pi,di],"svg");function ja(e){return e.join(" ").trim()}var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $n={},gi=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ja=/\n/g,Ya=/^\s*/,_a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ua=/^:\s*/,qa=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Qa=/^[;\s]*/,$a=/^\s+|\s+$/g,Ka=`
2
+ `,hi="/",mi="*",At="",eu="comment",tu="declaration";function nu(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,i=1;function r(y){var h=y.match(Ja);h&&(n+=h.length);var C=y.lastIndexOf(Ka);i=~C?y.length-C:i+y.length}function o(){var y={line:n,column:i};return function(h){return h.position=new l(y),s(),h}}function l(y){this.start=y,this.end={line:n,column:i},this.source=t.source}l.prototype.content=e;function a(y){var h=new Error(t.source+":"+n+":"+i+": "+y);if(h.reason=y,h.filename=t.source,h.line=n,h.column=i,h.source=e,!t.silent)throw h}function u(y){var h=y.exec(e);if(h){var C=h[0];return r(C),e=e.slice(C.length),h}}function s(){u(Ya)}function c(y){var h;for(y=y||[];h=p();)h!==!1&&y.push(h);return y}function p(){var y=o();if(!(hi!=e.charAt(0)||mi!=e.charAt(1))){for(var h=2;At!=e.charAt(h)&&(mi!=e.charAt(h)||hi!=e.charAt(h+1));)++h;if(h+=2,At===e.charAt(h-1))return a("End of comment missing");var C=e.slice(2,h-2);return i+=2,r(C),e=e.slice(h),i+=2,y({type:eu,comment:C})}}function f(){var y=o(),h=u(_a);if(h){if(p(),!u(Ua))return a("property missing ':'");var C=u(qa),I=y({type:tu,property:bi(h[0].replace(gi,At)),value:C?bi(C[0].replace(gi,At)):At});return u(Qa),I}}function d(){var y=[];c(y);for(var h;h=f();)h!==!1&&(y.push(h),c(y));return y}return s(),d()}function bi(e){return e?e.replace($a,At):At}var ru=nu,iu=ht&&ht.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($n,"__esModule",{value:!0}),$n.default=lu;const ou=iu(ru);function lu(e,t){let n=null;if(!e||typeof e!="string")return n;const i=(0,ou.default)(e),r=typeof t=="function";return i.forEach(o=>{if(o.type!=="declaration")return;const{property:l,value:a}=o;r?t(l,a,o):a&&(n=n||{},n[l]=a)}),n}var ln={};Object.defineProperty(ln,"__esModule",{value:!0}),ln.camelCase=void 0;var au=/^--[a-zA-Z0-9_-]+$/,uu=/-([a-z])/g,su=/^[^-]+$/,cu=/^-(webkit|moz|ms|o|khtml)-/,pu=/^-(ms)-/,du=function(e){return!e||su.test(e)||au.test(e)},fu=function(e,t){return t.toUpperCase()},yi=function(e,t){return"".concat(t,"-")},gu=function(e,t){return t===void 0&&(t={}),du(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(pu,yi):e=e.replace(cu,yi),e.replace(uu,fu))};ln.camelCase=gu;var hu=ht&&ht.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},mu=hu($n),bu=ln;function Kn(e,t){var n={};return!e||typeof e!="string"||(0,mu.default)(e,function(i,r){i&&r&&(n[(0,bu.camelCase)(i,t)]=r)}),n}Kn.default=Kn;var yu=Kn;const Iu=Qn(yu),Ii=vi("end"),er=vi("start");function vi(e){return t;function t(n){const i=n&&n.position&&n.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function vu(e){const t=er(e),n=Ii(e);if(t&&n)return{start:t,end:n}}function Ht(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ci(e.position):"start"in e||"end"in e?Ci(e):"line"in e||"column"in e?tr(e):""}function tr(e){return xi(e&&e.line)+":"+xi(e&&e.column)}function Ci(e){return tr(e&&e.start)+"-"+tr(e&&e.end)}function xi(e){return e&&typeof e=="number"?e:1}class Le extends Error{constructor(t,n,i){super(),typeof n=="string"&&(i=n,n=void 0);let r="",o={},l=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?r=t:!o.cause&&t&&(l=!0,r=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof i=="string"){const u=i.indexOf(":");u===-1?o.ruleId=i:(o.source=i.slice(0,u),o.ruleId=i.slice(u+1))}if(!o.place&&o.ancestors&&o.ancestors){const u=o.ancestors[o.ancestors.length-1];u&&(o.place=u.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=a?a.line:void 0,this.name=Ht(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Le.prototype.file="",Le.prototype.name="",Le.prototype.reason="",Le.prototype.message="",Le.prototype.stack="",Le.prototype.column=void 0,Le.prototype.line=void 0,Le.prototype.ancestors=void 0,Le.prototype.cause=void 0,Le.prototype.fatal=void 0,Le.prototype.place=void 0,Le.prototype.ruleId=void 0,Le.prototype.source=void 0;const nr={}.hasOwnProperty,Cu=new Map,xu=/[A-Z]/g,Au=new Set(["table","tbody","thead","tfoot","tr"]),Su=new Set(["td","th"]),Ai="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function wu(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let i;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=Vu(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=Tu(n,t.jsx,t.jsxs)}const r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?qn:Za,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=Si(r,e,void 0);return o&&typeof o!="string"?o:r.create(e,r.Fragment,{children:o||void 0},void 0)}function Si(e,t,n){if(t.type==="element")return Eu(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ku(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Fu(e,t,n);if(t.type==="mdxjsEsm")return Pu(e,t);if(t.type==="root")return Gu(e,t,n);if(t.type==="text")return Bu(e,t)}function Eu(e,t,n){const i=e.schema;let r=i;t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(r=qn,e.schema=r),e.ancestors.push(t);const o=Ei(e,t.tagName,!1),l=Ou(e,t);let a=ir(e,t);return Au.has(t.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!Oa(u):!0})),wi(e,l,o,t),rr(l,a),e.ancestors.pop(),e.schema=i,e.create(t,o,l,n)}function ku(e,t){if(t.data&&t.data.estree&&e.evaluater){const i=t.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}Wt(e,t.position)}function Pu(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Wt(e,t.position)}function Fu(e,t,n){const i=e.schema;let r=i;t.name==="svg"&&i.space==="html"&&(r=qn,e.schema=r),e.ancestors.push(t);const o=t.name===null?e.Fragment:Ei(e,t.name,!0),l=Nu(e,t),a=ir(e,t);return wi(e,l,o,t),rr(l,a),e.ancestors.pop(),e.schema=i,e.create(t,o,l,n)}function Gu(e,t,n){const i={};return rr(i,ir(e,t)),e.create(t,e.Fragment,i,n)}function Bu(e,t){return t.value}function wi(e,t,n,i){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=i)}function rr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Tu(e,t,n){return i;function i(r,o,l,a){const s=Array.isArray(l.children)?n:t;return a?s(o,l,a):s(o,l)}}function Vu(e,t){return n;function n(i,r,o,l){const a=Array.isArray(o.children),u=er(i);return t(r,o,l,a,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Ou(e,t){const n={};let i,r;for(r in t.properties)if(r!=="children"&&nr.call(t.properties,r)){const o=Du(e,r,t.properties[r]);if(o){const[l,a]=o;e.tableCellAlignToStyle&&l==="align"&&typeof a=="string"&&Su.has(t.tagName)?i=a:n[l]=a}}if(i){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return n}function Nu(e,t){const n={};for(const i of t.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){const o=i.data.estree.body[0];o.type;const l=o.expression;l.type;const a=l.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Wt(e,t.position);else{const r=i.name;let o;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){const a=i.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else Wt(e,t.position);else o=i.value===null?!0:i.value;n[r]=o}return n}function ir(e,t){const n=[];let i=-1;const r=e.passKeys?new Map:Cu;for(;++i<t.children.length;){const o=t.children[i];let l;if(e.passKeys){const u=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(u){const s=r.get(u)||0;l=u+"-"+s,r.set(u,s+1)}}const a=Si(e,o,l);a!==void 0&&n.push(a)}return n}function Du(e,t,n){const i=za(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?Fa(n):ja(n)),i.property==="style"){let r=typeof n=="object"?n:Lu(e,String(n));return e.stylePropertyNameCase==="css"&&(r=Mu(r)),["style",r]}return[e.elementAttributeNameCase==="react"&&i.space?Ma[i.property]||i.property:i.attribute,n]}}function Lu(e,t){try{return Iu(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const i=n,r=new Le("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Ai+"#cannot-parse-style-attribute",r}}function Ei(e,t,n){let i;if(!n)i={type:"Literal",value:t};else if(t.includes(".")){const r=t.split(".");let o=-1,l;for(;++o<r.length;){const a=ri(r[o])?{type:"Identifier",name:r[o]}:{type:"Literal",value:r[o]};l=l?{type:"MemberExpression",object:l,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}i=l}else i=ri(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(i.type==="Literal"){const r=i.value;return nr.call(e.components,r)?e.components[r]:r}if(e.evaluater)return e.evaluater.evaluateExpression(i);Wt(e)}function Wt(e,t){const n=new Le("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=Ai+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Mu(e){const t={};let n;for(n in e)nr.call(e,n)&&(t[Ru(n)]=e[n]);return t}function Ru(e){let t=e.replace(xu,Xu);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Xu(e){return"-"+e.toLowerCase()}const or={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"]},zu={};function Hu(e,t){const n=zu,i=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,r=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return ki(e,i,r)}function ki(e,t,n){if(Wu(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Pi(e.children,t,n)}return Array.isArray(e)?Pi(e,t,n):""}function Pi(e,t,n){const i=[];let r=-1;for(;++r<e.length;)i[r]=ki(e[r],t,n);return i.join("")}function Wu(e){return!!(e&&typeof e=="object")}const an={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
3
+ `,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Zu={}.hasOwnProperty;function Fi(e){return Zu.call(an,e)?an[e]:!1}function et(e,t,n,i){const r=e.length;let o=0,l;if(t<0?t=-t>r?0:r+t:t=t>r?r:t,n=n>0?n:0,i.length<1e4)l=Array.from(i),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<i.length;)l=i.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function _e(e,t){return e.length>0?(et(e,e.length,0,t),e):t}const Gi={}.hasOwnProperty;function ju(e){const t={};let n=-1;for(;++n<e.length;)Ju(t,e[n]);return t}function Ju(e,t){let n;for(n in t){const r=(Gi.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){Gi.call(r,l)||(r[l]=[]);const a=o[l];Yu(r[l],Array.isArray(a)?a:a?[a]:[])}}}function Yu(e,t){let n=-1;const i=[];for(;++n<t.length;)(t[n].add==="after"?e:i).push(t[n]);et(e,0,0,i)}function Bi(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Vt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tt=mt(/[A-Za-z]/),je=mt(/[\dA-Za-z]/),_u=mt(/[#-'*+\--9=?A-Z^-~]/);function lr(e){return e!==null&&(e<32||e===127)}const ar=mt(/\d/),Uu=mt(/[\dA-Fa-f]/),qu=mt(/[!-/:-@[-`{-~]/);function re(e){return e!==null&&e<-2}function He(e){return e!==null&&(e<0||e===32)}function de(e){return e===-2||e===-1||e===32}const Qu=mt(new RegExp("\\p{P}|\\p{S}","u")),$u=mt(/\s/);function mt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ot(e){const t=[];let n=-1,i=0,r=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l="";if(o===37&&je(e.charCodeAt(n+1))&&je(e.charCodeAt(n+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),r=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(i,n),encodeURIComponent(l)),i=n+r+1,l=""),r&&(n+=r,r=0)}return t.join("")+e.slice(i)}function be(e,t,n,i){const r=i?i-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(u){return de(u)?(e.enter(n),a(u)):t(u)}function a(u){return de(u)&&o++<r?(e.consume(u),a):(e.exit(n),t(u))}}const Ku={tokenize:es};function es(e){const t=e.attempt(this.parser.constructs.contentInitial,i,r);let n;return t;function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),be(e,t,"linePrefix")}function r(a){return e.enter("paragraph"),o(a)}function o(a){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,l(a)}function l(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return re(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),l)}}const ts={tokenize:ns},Ti={tokenize:rs};function ns(e){const t=this,n=[];let i=0,r,o,l;return a;function a(S){if(i<n.length){const w=n[i];return t.containerState=w[1],e.attempt(w[0].continuation,u,s)(S)}return s(S)}function u(S){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&F();const w=t.events.length;let B=w,x;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){x=t.events[B][1].end;break}I(i);let R=w;for(;R<t.events.length;)t.events[R][1].end={...x},R++;return et(t.events,B+1,0,t.events.slice(w)),t.events.length=R,s(S)}return a(S)}function s(S){if(i===n.length){if(!r)return f(S);if(r.currentConstruct&&r.currentConstruct.concrete)return y(S);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ti,c,p)(S)}function c(S){return r&&F(),I(i),f(S)}function p(S){return t.parser.lazy[t.now().line]=i!==n.length,l=t.now().offset,y(S)}function f(S){return t.containerState={},e.attempt(Ti,d,y)(S)}function d(S){return i++,n.push([t.currentConstruct,t.containerState]),f(S)}function y(S){if(S===null){r&&F(),I(0),e.consume(S);return}return r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),h(S)}function h(S){if(S===null){C(e.exit("chunkFlow"),!0),I(0),e.consume(S);return}return re(S)?(e.consume(S),C(e.exit("chunkFlow")),i=0,t.interrupt=void 0,a):(e.consume(S),h)}function C(S,w){const B=t.sliceStream(S);if(w&&B.push(null),S.previous=o,o&&(o.next=S),o=S,r.defineSkip(S.start),r.write(B),t.parser.lazy[S.start.line]){let x=r.events.length;for(;x--;)if(r.events[x][1].start.offset<l&&(!r.events[x][1].end||r.events[x][1].end.offset>l))return;const R=t.events.length;let P=R,O,V;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(O){V=t.events[P][1].end;break}O=!0}for(I(i),x=R;x<t.events.length;)t.events[x][1].end={...V},x++;et(t.events,P+1,0,t.events.slice(R)),t.events.length=x}}function I(S){let w=n.length;for(;w-- >S;){const B=n[w];t.containerState=B[1],B[0].exit.call(t,e)}n.length=S}function F(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}function rs(e,t,n){return be(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Vi(e){if(e===null||He(e)||$u(e))return 1;if(Qu(e))return 2}function ur(e,t,n){const i=[];let r=-1;for(;++r<e.length;){const o=e[r].resolveAll;o&&!i.includes(o)&&(t=o(t,n),i.push(o))}return t}const sr={name:"attention",resolveAll:is,tokenize:os};function is(e,t){let n=-1,i,r,o,l,a,u,s,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(i=n;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[i][1].end},f={...e[n][1].start};Oi(p,-u),Oi(f,u),l={type:u>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},o={type:u>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[n][1].start}},r={type:u>1?"strong":"emphasis",start:{...l.start},end:{...a.end}},e[i][1].end={...l.start},e[n][1].start={...a.end},s=[],e[i][1].end.offset-e[i][1].start.offset&&(s=_e(s,[["enter",e[i][1],t],["exit",e[i][1],t]])),s=_e(s,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",o,t]]),s=_e(s,ur(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),s=_e(s,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,s=_e(s,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,et(e,i-1,n-i+3,s),n=i+s.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function os(e,t){const n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=Vi(i);let o;return l;function l(u){return o=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===o)return e.consume(u),a;const s=e.exit("attentionSequence"),c=Vi(u),p=!c||c===2&&r||n.includes(u),f=!r||r===2&&c||n.includes(i);return s._open=!!(o===42?p:p&&(r||!f)),s._close=!!(o===42?f:f&&(c||!p)),t(u)}}function Oi(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ls={name:"autolink",tokenize:as};function as(e,t,n){let i=0;return r;function r(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(d){return tt(d)?(e.consume(d),l):d===64?n(d):s(d)}function l(d){return d===43||d===45||d===46||je(d)?(i=1,a(d)):s(d)}function a(d){return d===58?(e.consume(d),i=0,u):(d===43||d===45||d===46||je(d))&&i++<32?(e.consume(d),a):(i=0,s(d))}function u(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||lr(d)?n(d):(e.consume(d),u)}function s(d){return d===64?(e.consume(d),c):_u(d)?(e.consume(d),s):n(d)}function c(d){return je(d)?p(d):n(d)}function p(d){return d===46?(e.consume(d),i=0,c):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):f(d)}function f(d){if((d===45||je(d))&&i++<63){const y=d===45?f:p;return e.consume(d),y}return n(d)}}const un={partial:!0,tokenize:us};function us(e,t,n){return i;function i(o){return de(o)?be(e,r,"linePrefix")(o):r(o)}function r(o){return o===null||re(o)?t(o):n(o)}}const Ni={continuation:{tokenize:cs},exit:ps,name:"blockQuote",tokenize:ss};function ss(e,t,n){const i=this;return r;function r(l){if(l===62){const a=i.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return de(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function cs(e,t,n){const i=this;return r;function r(l){return de(l)?be(e,o,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(Ni,t,n)(l)}}function ps(e){e.exit("blockQuote")}const Di={name:"characterEscape",tokenize:ds};function ds(e,t,n){return i;function i(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),r}function r(o){return qu(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const Li={name:"characterReference",tokenize:fs};function fs(e,t,n){const i=this;let r=0,o,l;return a;function a(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),u}function u(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,l=je,c(p))}function s(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=Uu,c):(e.enter("characterReferenceValue"),o=7,l=ar,c(p))}function c(p){if(p===59&&r){const f=e.exit("characterReferenceValue");return l===je&&!Fi(i.sliceSerialize(f))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(p)&&r++<o?(e.consume(p),c):n(p)}}const Mi={partial:!0,tokenize:hs},Ri={concrete:!0,name:"codeFenced",tokenize:gs};function gs(e,t,n){const i=this,r={partial:!0,tokenize:B};let o=0,l=0,a;return u;function u(x){return s(x)}function s(x){const R=i.events[i.events.length-1];return o=R&&R[1].type==="linePrefix"?R[2].sliceSerialize(R[1],!0).length:0,a=x,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(x)}function c(x){return x===a?(l++,e.consume(x),c):l<3?n(x):(e.exit("codeFencedFenceSequence"),de(x)?be(e,p,"whitespace")(x):p(x))}function p(x){return x===null||re(x)?(e.exit("codeFencedFence"),i.interrupt?t(x):e.check(Mi,h,w)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(x))}function f(x){return x===null||re(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(x)):de(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),be(e,d,"whitespace")(x)):x===96&&x===a?n(x):(e.consume(x),f)}function d(x){return x===null||re(x)?p(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(x))}function y(x){return x===null||re(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(x)):x===96&&x===a?n(x):(e.consume(x),y)}function h(x){return e.attempt(r,w,C)(x)}function C(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),I}function I(x){return o>0&&de(x)?be(e,F,"linePrefix",o+1)(x):F(x)}function F(x){return x===null||re(x)?e.check(Mi,h,w)(x):(e.enter("codeFlowValue"),S(x))}function S(x){return x===null||re(x)?(e.exit("codeFlowValue"),F(x)):(e.consume(x),S)}function w(x){return e.exit("codeFenced"),t(x)}function B(x,R,P){let O=0;return V;function V(H){return x.enter("lineEnding"),x.consume(H),x.exit("lineEnding"),N}function N(H){return x.enter("codeFencedFence"),de(H)?be(x,E,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):E(H)}function E(H){return H===a?(x.enter("codeFencedFenceSequence"),J(H)):P(H)}function J(H){return H===a?(O++,x.consume(H),J):O>=l?(x.exit("codeFencedFenceSequence"),de(H)?be(x,ne,"whitespace")(H):ne(H)):P(H)}function ne(H){return H===null||re(H)?(x.exit("codeFencedFence"),R(H)):P(H)}}}function hs(e,t,n){const i=this;return r;function r(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return i.parser.lazy[i.now().line]?n(l):t(l)}}const cr={name:"codeIndented",tokenize:bs},ms={partial:!0,tokenize:ys};function bs(e,t,n){const i=this;return r;function r(s){return e.enter("codeIndented"),be(e,o,"linePrefix",5)(s)}function o(s){const c=i.events[i.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?l(s):n(s)}function l(s){return s===null?u(s):re(s)?e.attempt(ms,l,u)(s):(e.enter("codeFlowValue"),a(s))}function a(s){return s===null||re(s)?(e.exit("codeFlowValue"),l(s)):(e.consume(s),a)}function u(s){return e.exit("codeIndented"),t(s)}}function ys(e,t,n){const i=this;return r;function r(l){return i.parser.lazy[i.now().line]?n(l):re(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),r):be(e,o,"linePrefix",5)(l)}function o(l){const a=i.events[i.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):re(l)?r(l):n(l)}}const Is={name:"codeText",previous:Cs,resolve:vs,tokenize:xs};function vs(e){let t=e.length-4,n=3,i,r;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=n;++i<t;)if(e[i][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(i=n-1,t++;++i<=t;)r===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(r=i):(i===t||e[i][1].type==="lineEnding")&&(e[r][1].type="codeTextData",i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),t-=i-r-2,i=r+2),r=void 0);return e}function Cs(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function xs(e,t,n){let i=0,r,o;return l;function l(p){return e.enter("codeText"),e.enter("codeTextSequence"),a(p)}function a(p){return p===96?(e.consume(p),i++,a):(e.exit("codeTextSequence"),u(p))}function u(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),u):p===96?(o=e.enter("codeTextSequence"),r=0,c(p)):re(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("codeTextData"),s(p))}function s(p){return p===null||p===32||p===96||re(p)?(e.exit("codeTextData"),u(p)):(e.consume(p),s)}function c(p){return p===96?(e.consume(p),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(o.type="codeTextData",s(p))}}class As{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const i=n??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(t,i):t>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(t,n,i){const r=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return i&&Zt(this.left,i),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Zt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Zt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Zt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Zt(this.left,n.reverse())}}}function Zt(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Xi(e){const t={};let n=-1,i,r,o,l,a,u,s;const c=new As(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(i=c.get(n),n&&i[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(u=i[1]._tokenizer.events,o=0,o<u.length&&u[o][1].type==="lineEndingBlank"&&(o+=2),o<u.length&&u[o][1].type==="content"))for(;++o<u.length&&u[o][1].type!=="content";)u[o][1].type==="chunkText"&&(u[o][1]._isInFirstContentOfListItem=!0,o++);if(i[0]==="enter")i[1].contentType&&(Object.assign(t,Ss(c,n)),n=t[n],s=!0);else if(i[1]._container){for(o=n,r=void 0;o--;)if(l=c.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(r&&(c.get(r)[1].type="lineEndingBlank"),l[1].type="lineEnding",r=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;r&&(i[1].end={...c.get(r)[1].start},a=c.slice(r,n),a.unshift(i),c.splice(r,n-r+1,a))}}return et(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}function Ss(e,t){const n=e.get(t)[1],i=e.get(t)[2];let r=t-1;const o=[];let l=n._tokenizer;l||(l=i.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const a=l.events,u=[],s={};let c,p,f=-1,d=n,y=0,h=0;const C=[h];for(;d;){for(;e.get(++r)[1]!==d;);o.push(r),d._tokenizer||(c=i.sliceStream(d),d.next||c.push(null),p&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=n;++f<a.length;)a[f][0]==="exit"&&a[f-1][0]==="enter"&&a[f][1].type===a[f-1][1].type&&a[f][1].start.line!==a[f][1].end.line&&(h=f+1,C.push(h),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):C.pop(),f=C.length;f--;){const I=a.slice(C[f],C[f+1]),F=o.pop();u.push([F,F+I.length-1]),e.splice(F,2,I)}for(u.reverse(),f=-1;++f<u.length;)s[y+u[f][0]]=y+u[f][1],y+=u[f][1]-u[f][0]-1;return s}const ws={resolve:ks,tokenize:Ps},Es={partial:!0,tokenize:Fs};function ks(e){return Xi(e),e}function Ps(e,t){let n;return i;function i(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(a)}function r(a){return a===null?o(a):re(a)?e.check(Es,l,o)(a):(e.consume(a),r)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function l(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}function Fs(e,t,n){const i=this;return r;function r(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),be(e,o,"linePrefix")}function o(l){if(l===null||re(l))return n(l);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):e.interrupt(i.parser.constructs.flow,n,t)(l)}}function zi(e,t,n,i,r,o,l,a,u){const s=u||Number.POSITIVE_INFINITY;let c=0;return p;function p(I){return I===60?(e.enter(i),e.enter(r),e.enter(o),e.consume(I),e.exit(o),f):I===null||I===32||I===41||lr(I)?n(I):(e.enter(i),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(I))}function f(I){return I===62?(e.enter(o),e.consume(I),e.exit(o),e.exit(r),e.exit(i),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(I))}function d(I){return I===62?(e.exit("chunkString"),e.exit(a),f(I)):I===null||I===60||re(I)?n(I):(e.consume(I),I===92?y:d)}function y(I){return I===60||I===62||I===92?(e.consume(I),d):d(I)}function h(I){return!c&&(I===null||I===41||He(I))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(i),t(I)):c<s&&I===40?(e.consume(I),c++,h):I===41?(e.consume(I),c--,h):I===null||I===32||I===40||lr(I)?n(I):(e.consume(I),I===92?C:h)}function C(I){return I===40||I===41||I===92?(e.consume(I),h):h(I)}}function Hi(e,t,n,i,r,o){const l=this;let a=0,u;return s;function s(d){return e.enter(i),e.enter(r),e.consume(d),e.exit(r),e.enter(o),c}function c(d){return a>999||d===null||d===91||d===93&&!u||d===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):d===93?(e.exit(o),e.enter(r),e.consume(d),e.exit(r),e.exit(i),t):re(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),p(d))}function p(d){return d===null||d===91||d===93||re(d)||a++>999?(e.exit("chunkString"),c(d)):(e.consume(d),u||(u=!de(d)),d===92?f:p)}function f(d){return d===91||d===92||d===93?(e.consume(d),a++,p):p(d)}}function Wi(e,t,n,i,r,o){let l;return a;function a(f){return f===34||f===39||f===40?(e.enter(i),e.enter(r),e.consume(f),e.exit(r),l=f===40?41:f,u):n(f)}function u(f){return f===l?(e.enter(r),e.consume(f),e.exit(r),e.exit(i),t):(e.enter(o),s(f))}function s(f){return f===l?(e.exit(o),u(l)):f===null?n(f):re(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),be(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===l||f===null||re(f)?(e.exit("chunkString"),s(f)):(e.consume(f),f===92?p:c)}function p(f){return f===l||f===92?(e.consume(f),c):c(f)}}function jt(e,t){let n;return i;function i(r){return re(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n=!0,i):de(r)?be(e,i,n?"linePrefix":"lineSuffix")(r):t(r)}}const Gs={name:"definition",tokenize:Ts},Bs={partial:!0,tokenize:Vs};function Ts(e,t,n){const i=this;let r;return o;function o(d){return e.enter("definition"),l(d)}function l(d){return Hi.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return r=Vt(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),u):n(d)}function u(d){return He(d)?jt(e,s)(d):s(d)}function s(d){return zi(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(Bs,p,p)(d)}function p(d){return de(d)?be(e,f,"whitespace")(d):f(d)}function f(d){return d===null||re(d)?(e.exit("definition"),i.parser.defined.push(r),t(d)):n(d)}}function Vs(e,t,n){return i;function i(a){return He(a)?jt(e,r)(a):n(a)}function r(a){return Wi(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return de(a)?be(e,l,"whitespace")(a):l(a)}function l(a){return a===null||re(a)?t(a):n(a)}}const Os={name:"hardBreakEscape",tokenize:Ns};function Ns(e,t,n){return i;function i(o){return e.enter("hardBreakEscape"),e.consume(o),r}function r(o){return re(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Ds={name:"headingAtx",resolve:Ls,tokenize:Ms};function Ls(e,t){let n=e.length-2,i=3,r,o;return e[i][1].type==="whitespace"&&(i+=2),n-2>i&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(i===n-1||n-4>i&&e[n-2][1].type==="whitespace")&&(n-=i+1===n?2:4),n>i&&(r={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},o={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},et(e,i,n-i+1,[["enter",r,t],["enter",o,t],["exit",o,t],["exit",r,t]])),e}function Ms(e,t,n){let i=0;return r;function r(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&i++<6?(e.consume(c),l):c===null||He(c)?(e.exit("atxHeadingSequence"),a(c)):n(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||re(c)?(e.exit("atxHeading"),t(c)):de(c)?be(e,a,"whitespace")(c):(e.enter("atxHeadingText"),s(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),a(c))}function s(c){return c===null||c===35||He(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),s)}}const Rs=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Zi=["pre","script","style","textarea"],Xs={concrete:!0,name:"htmlFlow",resolveTo:Ws,tokenize:Zs},zs={partial:!0,tokenize:Js},Hs={partial:!0,tokenize:js};function Ws(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Zs(e,t,n){const i=this;let r,o,l,a,u;return s;function s(m){return c(m)}function c(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),p}function p(m){return m===33?(e.consume(m),f):m===47?(e.consume(m),o=!0,h):m===63?(e.consume(m),r=3,i.interrupt?t:b):tt(m)?(e.consume(m),l=String.fromCharCode(m),C):n(m)}function f(m){return m===45?(e.consume(m),r=2,d):m===91?(e.consume(m),r=5,a=0,y):tt(m)?(e.consume(m),r=4,i.interrupt?t:b):n(m)}function d(m){return m===45?(e.consume(m),i.interrupt?t:b):n(m)}function y(m){const fe="CDATA[";return m===fe.charCodeAt(a++)?(e.consume(m),a===fe.length?i.interrupt?t:E:y):n(m)}function h(m){return tt(m)?(e.consume(m),l=String.fromCharCode(m),C):n(m)}function C(m){if(m===null||m===47||m===62||He(m)){const fe=m===47,K=l.toLowerCase();return!fe&&!o&&Zi.includes(K)?(r=1,i.interrupt?t(m):E(m)):Rs.includes(l.toLowerCase())?(r=6,fe?(e.consume(m),I):i.interrupt?t(m):E(m)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(m):o?F(m):S(m))}return m===45||je(m)?(e.consume(m),l+=String.fromCharCode(m),C):n(m)}function I(m){return m===62?(e.consume(m),i.interrupt?t:E):n(m)}function F(m){return de(m)?(e.consume(m),F):V(m)}function S(m){return m===47?(e.consume(m),V):m===58||m===95||tt(m)?(e.consume(m),w):de(m)?(e.consume(m),S):V(m)}function w(m){return m===45||m===46||m===58||m===95||je(m)?(e.consume(m),w):B(m)}function B(m){return m===61?(e.consume(m),x):de(m)?(e.consume(m),B):S(m)}function x(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),u=m,R):de(m)?(e.consume(m),x):P(m)}function R(m){return m===u?(e.consume(m),u=null,O):m===null||re(m)?n(m):(e.consume(m),R)}function P(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||He(m)?B(m):(e.consume(m),P)}function O(m){return m===47||m===62||de(m)?S(m):n(m)}function V(m){return m===62?(e.consume(m),N):n(m)}function N(m){return m===null||re(m)?E(m):de(m)?(e.consume(m),N):n(m)}function E(m){return m===45&&r===2?(e.consume(m),j):m===60&&r===1?(e.consume(m),ue):m===62&&r===4?(e.consume(m),xe):m===63&&r===3?(e.consume(m),b):m===93&&r===5?(e.consume(m),ge):re(m)&&(r===6||r===7)?(e.exit("htmlFlowData"),e.check(zs,le,J)(m)):m===null||re(m)?(e.exit("htmlFlowData"),J(m)):(e.consume(m),E)}function J(m){return e.check(Hs,ne,le)(m)}function ne(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),H}function H(m){return m===null||re(m)?J(m):(e.enter("htmlFlowData"),E(m))}function j(m){return m===45?(e.consume(m),b):E(m)}function ue(m){return m===47?(e.consume(m),l="",se):E(m)}function se(m){if(m===62){const fe=l.toLowerCase();return Zi.includes(fe)?(e.consume(m),xe):E(m)}return tt(m)&&l.length<8?(e.consume(m),l+=String.fromCharCode(m),se):E(m)}function ge(m){return m===93?(e.consume(m),b):E(m)}function b(m){return m===62?(e.consume(m),xe):m===45&&r===2?(e.consume(m),b):E(m)}function xe(m){return m===null||re(m)?(e.exit("htmlFlowData"),le(m)):(e.consume(m),xe)}function le(m){return e.exit("htmlFlow"),t(m)}}function js(e,t,n){const i=this;return r;function r(l){return re(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return i.parser.lazy[i.now().line]?n(l):t(l)}}function Js(e,t,n){return i;function i(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(un,t,n)}}const Ys={name:"htmlText",tokenize:_s};function _s(e,t,n){const i=this;let r,o,l;return a;function a(b){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(b),u}function u(b){return b===33?(e.consume(b),s):b===47?(e.consume(b),B):b===63?(e.consume(b),S):tt(b)?(e.consume(b),P):n(b)}function s(b){return b===45?(e.consume(b),c):b===91?(e.consume(b),o=0,y):tt(b)?(e.consume(b),F):n(b)}function c(b){return b===45?(e.consume(b),d):n(b)}function p(b){return b===null?n(b):b===45?(e.consume(b),f):re(b)?(l=p,ue(b)):(e.consume(b),p)}function f(b){return b===45?(e.consume(b),d):p(b)}function d(b){return b===62?j(b):b===45?f(b):p(b)}function y(b){const xe="CDATA[";return b===xe.charCodeAt(o++)?(e.consume(b),o===xe.length?h:y):n(b)}function h(b){return b===null?n(b):b===93?(e.consume(b),C):re(b)?(l=h,ue(b)):(e.consume(b),h)}function C(b){return b===93?(e.consume(b),I):h(b)}function I(b){return b===62?j(b):b===93?(e.consume(b),I):h(b)}function F(b){return b===null||b===62?j(b):re(b)?(l=F,ue(b)):(e.consume(b),F)}function S(b){return b===null?n(b):b===63?(e.consume(b),w):re(b)?(l=S,ue(b)):(e.consume(b),S)}function w(b){return b===62?j(b):S(b)}function B(b){return tt(b)?(e.consume(b),x):n(b)}function x(b){return b===45||je(b)?(e.consume(b),x):R(b)}function R(b){return re(b)?(l=R,ue(b)):de(b)?(e.consume(b),R):j(b)}function P(b){return b===45||je(b)?(e.consume(b),P):b===47||b===62||He(b)?O(b):n(b)}function O(b){return b===47?(e.consume(b),j):b===58||b===95||tt(b)?(e.consume(b),V):re(b)?(l=O,ue(b)):de(b)?(e.consume(b),O):j(b)}function V(b){return b===45||b===46||b===58||b===95||je(b)?(e.consume(b),V):N(b)}function N(b){return b===61?(e.consume(b),E):re(b)?(l=N,ue(b)):de(b)?(e.consume(b),N):O(b)}function E(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),r=b,J):re(b)?(l=E,ue(b)):de(b)?(e.consume(b),E):(e.consume(b),ne)}function J(b){return b===r?(e.consume(b),r=void 0,H):b===null?n(b):re(b)?(l=J,ue(b)):(e.consume(b),J)}function ne(b){return b===null||b===34||b===39||b===60||b===61||b===96?n(b):b===47||b===62||He(b)?O(b):(e.consume(b),ne)}function H(b){return b===47||b===62||He(b)?O(b):n(b)}function j(b){return b===62?(e.consume(b),e.exit("htmlTextData"),e.exit("htmlText"),t):n(b)}function ue(b){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),se}function se(b){return de(b)?be(e,ge,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):ge(b)}function ge(b){return e.enter("htmlTextData"),l(b)}}const pr={name:"labelEnd",resolveAll:$s,resolveTo:Ks,tokenize:ec},Us={tokenize:tc},qs={tokenize:nc},Qs={tokenize:rc};function $s(e){let t=-1;const n=[];for(;++t<e.length;){const i=e[t][1];if(n.push(e[t]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){const r=i.type==="labelImage"?4:2;i.type="data",t+=r}}return e.length!==n.length&&et(e,0,e.length,n),e}function Ks(e,t){let n=e.length,i=0,r,o,l,a;for(;n--;)if(r=e[n][1],o){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;e[n][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(o=n,r.type!=="labelLink")){i=2;break}}else r.type==="labelEnd"&&(l=n);const u={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},c={type:"labelText",start:{...e[o+i+2][1].end},end:{...e[l-2][1].start}};return a=[["enter",u,t],["enter",s,t]],a=_e(a,e.slice(o+1,o+i+3)),a=_e(a,[["enter",c,t]]),a=_e(a,ur(t.parser.constructs.insideSpan.null,e.slice(o+i+4,l-3),t)),a=_e(a,[["exit",c,t],e[l-2],e[l-1],["exit",s,t]]),a=_e(a,e.slice(l+1)),a=_e(a,[["exit",u,t]]),et(e,o,e.length,a),e}function ec(e,t,n){const i=this;let r=i.events.length,o,l;for(;r--;)if((i.events[r][1].type==="labelImage"||i.events[r][1].type==="labelLink")&&!i.events[r][1]._balanced){o=i.events[r][1];break}return a;function a(f){return o?o._inactive?p(f):(l=i.parser.defined.includes(Vt(i.sliceSerialize({start:o.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),u):n(f)}function u(f){return f===40?e.attempt(Us,c,l?c:p)(f):f===91?e.attempt(qs,c,l?s:p)(f):l?c(f):p(f)}function s(f){return e.attempt(Qs,c,p)(f)}function c(f){return t(f)}function p(f){return o._balanced=!0,n(f)}}function tc(e,t,n){return i;function i(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),r}function r(p){return He(p)?jt(e,o)(p):o(p)}function o(p){return p===41?c(p):zi(e,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function l(p){return He(p)?jt(e,u)(p):c(p)}function a(p){return n(p)}function u(p){return p===34||p===39||p===40?Wi(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):c(p)}function s(p){return He(p)?jt(e,c)(p):c(p)}function c(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function nc(e,t,n){const i=this;return r;function r(a){return Hi.call(i,e,o,l,"reference","referenceMarker","referenceString")(a)}function o(a){return i.parser.defined.includes(Vt(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function l(a){return n(a)}}function rc(e,t,n){return i;function i(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),r}function r(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const ic={name:"labelStartImage",resolveAll:pr.resolveAll,tokenize:oc};function oc(e,t,n){const i=this;return r;function r(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),l):n(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(a):t(a)}}const lc={name:"labelStartLink",resolveAll:pr.resolveAll,tokenize:ac};function ac(e,t,n){const i=this;return r;function r(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(l):t(l)}}const dr={name:"lineEnding",tokenize:uc};function uc(e,t){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),be(e,t,"linePrefix")}}const sn={name:"thematicBreak",tokenize:sc};function sc(e,t,n){let i=0,r;return o;function o(s){return e.enter("thematicBreak"),l(s)}function l(s){return r=s,a(s)}function a(s){return s===r?(e.enter("thematicBreakSequence"),u(s)):i>=3&&(s===null||re(s))?(e.exit("thematicBreak"),t(s)):n(s)}function u(s){return s===r?(e.consume(s),i++,u):(e.exit("thematicBreakSequence"),de(s)?be(e,a,"whitespace")(s):a(s))}}const We={continuation:{tokenize:fc},exit:hc,name:"list",tokenize:dc},cc={partial:!0,tokenize:mc},pc={partial:!0,tokenize:gc};function dc(e,t,n){const i=this,r=i.events[i.events.length-1];let o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,l=0;return a;function a(d){const y=i.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!i.containerState.marker||d===i.containerState.marker:ar(d)){if(i.containerState.type||(i.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(sn,n,s)(d):s(d);if(!i.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(d)}return n(d)}function u(d){return ar(d)&&++l<10?(e.consume(d),u):(!i.interrupt||l<2)&&(i.containerState.marker?d===i.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),s(d)):n(d)}function s(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||d,e.check(un,i.interrupt?n:c,e.attempt(cc,f,p))}function c(d){return i.containerState.initialBlankLine=!0,o++,f(d)}function p(d){return de(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),f):n(d)}function f(d){return i.containerState.size=o+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function fc(e,t,n){const i=this;return i.containerState._closeFlow=void 0,e.check(un,r,o);function r(a){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,be(e,t,"listItemIndent",i.containerState.size+1)(a)}function o(a){return i.containerState.furtherBlankLines||!de(a)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,l(a)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(pc,t,l)(a))}function l(a){return i.containerState._closeFlow=!0,i.interrupt=void 0,be(e,e.attempt(We,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function gc(e,t,n){const i=this;return be(e,r,"listItemIndent",i.containerState.size+1);function r(o){const l=i.events[i.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===i.containerState.size?t(o):n(o)}}function hc(e){e.exit(this.containerState.type)}function mc(e,t,n){const i=this;return be(e,r,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(o){const l=i.events[i.events.length-1];return!de(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const ji={name:"setextUnderline",resolveTo:bc,tokenize:yc};function bc(e,t){let n=e.length,i,r,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){i=n;break}e[n][1].type==="paragraph"&&(r=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,t]),e.splice(o+1,0,["exit",e[i][1],t]),e[i][1].end={...e[o][1].end}):e[i][1]=l,e.push(["exit",l,t]),e}function yc(e,t,n){const i=this;let r;return o;function o(s){let c=i.events.length,p;for(;c--;)if(i.events[c][1].type!=="lineEnding"&&i.events[c][1].type!=="linePrefix"&&i.events[c][1].type!=="content"){p=i.events[c][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||p)?(e.enter("setextHeadingLine"),r=s,l(s)):n(s)}function l(s){return e.enter("setextHeadingLineSequence"),a(s)}function a(s){return s===r?(e.consume(s),a):(e.exit("setextHeadingLineSequence"),de(s)?be(e,u,"lineSuffix")(s):u(s))}function u(s){return s===null||re(s)?(e.exit("setextHeadingLine"),t(s)):n(s)}}const Ic={tokenize:vc};function vc(e){const t=this,n=e.attempt(un,i,e.attempt(this.parser.constructs.flowInitial,r,be(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ws,r)),"linePrefix")));return n;function i(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Cc={resolveAll:Yi()},xc=Ji("string"),Ac=Ji("text");function Ji(e){return{resolveAll:Yi(e==="text"?Sc:void 0),tokenize:t};function t(n){const i=this,r=this.parser.constructs[e],o=n.attempt(r,l,a);return l;function l(c){return s(c)?o(c):a(c)}function a(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),u}function u(c){return s(c)?(n.exit("data"),o(c)):(n.consume(c),u)}function s(c){if(c===null)return!0;const p=r[c];let f=-1;if(p)for(;++f<p.length;){const d=p[f];if(!d.previous||d.previous.call(i,i.previous))return!0}return!1}}}function Yi(e){return t;function t(n,i){let r=-1,o;for(;++r<=n.length;)o===void 0?n[r]&&n[r][1].type==="data"&&(o=r,r++):(!n[r]||n[r][1].type!=="data")&&(r!==o+2&&(n[o][1].end=n[r-1][1].end,n.splice(o+2,r-o-2),r=o+2),o=void 0);return e?e(n,i):n}}function Sc(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const i=e[n-1][1],r=t.sliceStream(i);let o=r.length,l=-1,a=0,u;for(;o--;){const s=r[o];if(typeof s=="string"){for(l=s.length;s.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(s===-2)u=!0,a++;else if(s!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const s={type:n===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:i.start._bufferIndex+l,_index:i.start._index+o,line:i.end.line,column:i.end.column-a,offset:i.end.offset-a},end:{...i.end}};i.end={...s.start},i.start.offset===i.end.offset?Object.assign(i,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}const wc=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:Gs},disable:{null:[]},document:{42:We,43:We,45:We,48:We,49:We,50:We,51:We,52:We,53:We,54:We,55:We,56:We,57:We,62:Ni},flow:{35:Ds,42:sn,45:[ji,sn],60:Xs,61:ji,95:sn,96:Ri,126:Ri},flowInitial:{[-2]:cr,[-1]:cr,32:cr},insideSpan:{null:[sr,Cc]},string:{38:Li,92:Di},text:{[-5]:dr,[-4]:dr,[-3]:dr,33:ic,38:Li,42:sr,60:[ls,Ys],91:lc,92:[Os,Di],93:pr,95:sr,96:Is}},Symbol.toStringTag,{value:"Module"}));function Ec(e,t,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const r={},o=[];let l=[],a=[];const u={attempt:R(B),check:R(x),consume:F,enter:S,exit:w,interrupt:R(x,{interrupt:!0})},s={code:null,containerState:{},defineSkip:h,events:[],now:y,parser:e,previous:null,sliceSerialize:f,sliceStream:d,write:p};let c=t.tokenize.call(s,u);return t.resolveAll&&o.push(t),s;function p(N){return l=_e(l,N),C(),l[l.length-1]!==null?[]:(P(t,0),s.events=ur(o,s.events,s),s.events)}function f(N,E){return Pc(d(N),E)}function d(N){return kc(l,N)}function y(){const{_bufferIndex:N,_index:E,line:J,column:ne,offset:H}=i;return{_bufferIndex:N,_index:E,line:J,column:ne,offset:H}}function h(N){r[N.line]=N.column,V()}function C(){let N;for(;i._index<l.length;){const E=l[i._index];if(typeof E=="string")for(N=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===N&&i._bufferIndex<E.length;)I(E.charCodeAt(i._bufferIndex));else I(E)}}function I(N){c=c(N)}function F(N){re(N)?(i.line++,i.column=1,i.offset+=N===-3?2:1,V()):N!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===l[i._index].length&&(i._bufferIndex=-1,i._index++)),s.previous=N}function S(N,E){const J=E||{};return J.type=N,J.start=y(),s.events.push(["enter",J,s]),a.push(J),J}function w(N){const E=a.pop();return E.end=y(),s.events.push(["exit",E,s]),E}function B(N,E){P(N,E.from)}function x(N,E){E.restore()}function R(N,E){return J;function J(ne,H,j){let ue,se,ge,b;return Array.isArray(ne)?le(ne):"tokenize"in ne?le([ne]):xe(ne);function xe(ee){return ke;function ke(ce){const Be=ce!==null&&ee[ce],ae=ce!==null&&ee.null,Ie=[...Array.isArray(Be)?Be:Be?[Be]:[],...Array.isArray(ae)?ae:ae?[ae]:[]];return le(Ie)(ce)}}function le(ee){return ue=ee,se=0,ee.length===0?j:m(ee[se])}function m(ee){return ke;function ke(ce){return b=O(),ge=ee,ee.partial||(s.currentConstruct=ee),ee.name&&s.parser.constructs.disable.null.includes(ee.name)?K():ee.tokenize.call(E?Object.assign(Object.create(s),E):s,u,fe,K)(ce)}}function fe(ee){return N(ge,b),H}function K(ee){return b.restore(),++se<ue.length?m(ue[se]):j}}}function P(N,E){N.resolveAll&&!o.includes(N)&&o.push(N),N.resolve&&et(s.events,E,s.events.length-E,N.resolve(s.events.slice(E),s)),N.resolveTo&&(s.events=N.resolveTo(s.events,s))}function O(){const N=y(),E=s.previous,J=s.currentConstruct,ne=s.events.length,H=Array.from(a);return{from:ne,restore:j};function j(){i=N,s.previous=E,s.currentConstruct=J,s.events.length=ne,a=H,V()}}function V(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}function kc(e,t){const n=t.start._index,i=t.start._bufferIndex,r=t.end._index,o=t.end._bufferIndex;let l;if(n===r)l=[e[n].slice(i,o)];else{if(l=e.slice(n,r),i>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(i):l.shift()}o>0&&l.push(e[r].slice(0,o))}return l}function Pc(e,t){let n=-1;const i=[];let r;for(;++n<e.length;){const o=e[n];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
4
4
  `;break}case-3:{l=`\r
5
- `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&r)continue;l=" ";break}default:l=String.fromCharCode(o)}r=o===-2,i.push(l)}return i.join("")}function mc(e){const i={constructs:Tu([dc,...(e||{}).extensions||[]]),content:r(Xu),defined:[],document:r(Hu),flow:r(lc),lazy:{},string:r(sc),text:r(cc)};return i;function r(o){return l;function l(a){return fc(i,o,a)}}}function bc(e){for(;!Mi(e););return e}const Ji=/[\0\t\n\r]/g;function yc(){let e=1,t="",n=!0,i;return r;function r(o,l,a){const u=[];let s,c,p,f,d;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),p=0,t="",n&&(o.charCodeAt(0)===65279&&p++,n=void 0);p<o.length;){if(Ji.lastIndex=p,s=Ji.exec(o),f=s&&s.index!==void 0?s.index:o.length,d=o.charCodeAt(f),!s){t=o.slice(p);break}if(d===10&&p===f&&i)u.push(-3),i=void 0;else switch(i&&(u.push(-5),i=void 0),p<f&&(u.push(o.slice(p,f)),e+=f-p),d){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:i=!0,e=1}p=f+1}return a&&(i&&u.push(-5),t&&u.push(t),u.push(null)),u}}const Ic={}.hasOwnProperty;function vc(e){return Ic.call(on,e)?on[e]:!1}const Cc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xc(e){return e.replace(Cc,Ac)}function Ac(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),o=r===120||r===88;return Fi(n.slice(o?2:1),o?16:10)}return vc(n)||e}const Yi={}.hasOwnProperty;function Sc(e,t,n){return typeof t!="string"&&(n=t,t=void 0),wc(n)(bc(mc(n).document().write(yc()(e,t,!0))))}function wc(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(L),autolinkProtocol:R,autolinkEmail:R,atxHeading:o(Oe),blockQuote:o(le),characterEscape:R,characterReference:R,codeFenced:o(ye),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(ye,l),codeText:o(Ie,l),codeTextData:R,data:R,codeFlowValue:R,definition:o(Se),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(ke),hardBreakEscape:o(we),hardBreakTrailing:o(we),htmlFlow:o(Xe,l),htmlFlowData:R,htmlText:o(Xe,l),htmlTextData:R,image:o(Kt),label:l,link:o(L),listItem:o(te),listItemValue:f,listOrdered:o(X,p),listUnordered:o(X),paragraph:o(ae),reference:m,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(Oe),strong:o(Be),thematicBreak:o(St)},exit:{atxHeading:u(),atxHeadingSequence:P,autolink:u(),autolinkEmail:Fe,autolinkProtocol:ce,blockQuote:u(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:Z,characterReferenceMarkerNumeric:Z,characterReferenceValue:ue,characterReference:Ae,codeFenced:u(v),codeFencedFence:h,codeFencedFenceInfo:d,codeFencedFenceMeta:y,codeFlowValue:D,codeIndented:u(I),codeText:u(H),codeTextData:D,data:D,definition:u(),definitionDestinationString:A,definitionLabelString:k,definitionTitleString:S,emphasis:u(),hardBreakEscape:u(E),hardBreakTrailing:u(E),htmlFlow:u(j),htmlFlowData:D,htmlText:u(K),htmlTextData:D,image:u(oe),label:ge,labelText:se,lineEnding:O,link:u(J),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:fe,resourceDestinationString:b,resourceTitleString:ve,resource:ie,setextHeading:u(V),setextHeadingLineSequence:M,setextHeadingText:x,strong:u(),thematicBreak:u()}};_i(t,(e||{}).mdastExtensions||[]);const n={};return i;function i(F){let B={type:"root",children:[]};const z={stack:[B],tokenStack:[],config:t,enter:a,exit:s,buffer:l,resume:c,data:n},_=[];let Q=-1;for(;++Q<F.length;)if(F[Q][1].type==="listOrdered"||F[Q][1].type==="listUnordered")if(F[Q][0]==="enter")_.push(Q);else{const We=_.pop();Q=r(F,We,Q)}for(Q=-1;++Q<F.length;){const We=t[F[Q][0]];Yi.call(We,F[Q][1].type)&&We[F[Q][1].type].call(Object.assign({sliceSerialize:F[Q][2].sliceSerialize},z),F[Q][1])}if(z.tokenStack.length>0){const We=z.tokenStack[z.tokenStack.length-1];(We[1]||Ui).call(z,void 0,We[0])}for(B.position={start:mt(F.length>0?F[0][1].start:{line:1,column:1,offset:0}),end:mt(F.length>0?F[F.length-2][1].end:{line:1,column:1,offset:0})},Q=-1;++Q<t.transforms.length;)B=t.transforms[Q](B)||B;return B}function r(F,B,z){let _=B-1,Q=-1,We=!1,lt,Qe,bt,at;for(;++_<=z;){const Me=F[_];switch(Me[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Me[0]==="enter"?Q++:Q--,at=void 0;break}case"lineEndingBlank":{Me[0]==="enter"&&(lt&&!at&&!Q&&!bt&&(bt=_),at=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:at=void 0}if(!Q&&Me[0]==="enter"&&Me[1].type==="listItemPrefix"||Q===-1&&Me[0]==="exit"&&(Me[1].type==="listUnordered"||Me[1].type==="listOrdered")){if(lt){let dt=_;for(Qe=void 0;dt--;){const $e=F[dt];if($e[1].type==="lineEnding"||$e[1].type==="lineEndingBlank"){if($e[0]==="exit")continue;Qe&&(F[Qe][1].type="lineEndingBlank",We=!0),$e[1].type="lineEnding",Qe=dt}else if(!($e[1].type==="linePrefix"||$e[1].type==="blockQuotePrefix"||$e[1].type==="blockQuotePrefixWhitespace"||$e[1].type==="blockQuoteMarker"||$e[1].type==="listItemIndent"))break}bt&&(!Qe||bt<Qe)&&(lt._spread=!0),lt.end=Object.assign({},Qe?F[Qe][1].start:Me[1].end),F.splice(Qe||_,0,["exit",lt,Me[2]]),_++,z++}if(Me[1].type==="listItemPrefix"){const dt={type:"listItem",_spread:!1,start:Object.assign({},Me[1].start),end:void 0};lt=dt,F.splice(_,0,["enter",dt,Me[2]]),_++,z++,bt=void 0,at=!0}}}return F[B][1]._spread=We,z}function o(F,B){return z;function z(_){a.call(this,F(_),_),B&&B.call(this,_)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(F,B,z){this.stack[this.stack.length-1].children.push(F),this.stack.push(F),this.tokenStack.push([B,z||void 0]),F.position={start:mt(B.start),end:void 0}}function u(F){return B;function B(z){F&&F.call(this,z),s.call(this,z)}}function s(F,B){const z=this.stack.pop(),_=this.tokenStack.pop();if(_)_[0].type!==F.type&&(B?B.call(this,F,_[0]):(_[1]||Ui).call(this,F,_[0]));else throw new Error("Cannot close `"+F.type+"` ("+zt({start:F.start,end:F.end})+"): it’s not open");z.position.end=mt(F.end)}function c(){return Fu(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function f(F){if(this.data.expectingFirstListItemValue){const B=this.stack[this.stack.length-2];B.start=Number.parseInt(this.sliceSerialize(F),10),this.data.expectingFirstListItemValue=void 0}}function d(){const F=this.resume(),B=this.stack[this.stack.length-1];B.lang=F}function y(){const F=this.resume(),B=this.stack[this.stack.length-1];B.meta=F}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){const F=this.resume(),B=this.stack[this.stack.length-1];B.value=F.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function I(){const F=this.resume(),B=this.stack[this.stack.length-1];B.value=F.replace(/(\r?\n|\r)$/g,"")}function k(F){const B=this.resume(),z=this.stack[this.stack.length-1];z.label=B,z.identifier=Vt(this.sliceSerialize(F)).toLowerCase()}function S(){const F=this.resume(),B=this.stack[this.stack.length-1];B.title=F}function A(){const F=this.resume(),B=this.stack[this.stack.length-1];B.url=F}function P(F){const B=this.stack[this.stack.length-1];if(!B.depth){const z=this.sliceSerialize(F).length;B.depth=z}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function M(F){const B=this.stack[this.stack.length-1];B.depth=this.sliceSerialize(F).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function R(F){const z=this.stack[this.stack.length-1].children;let _=z[z.length-1];(!_||_.type!=="text")&&(_=Ge(),_.position={start:mt(F.start),end:void 0},z.push(_)),this.stack.push(_)}function D(F){const B=this.stack.pop();B.value+=this.sliceSerialize(F),B.position.end=mt(F.end)}function O(F){const B=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=B.children[B.children.length-1];z.position.end=mt(F.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(B.type)&&(R.call(this,F),D.call(this,F))}function E(){this.data.atHardBreak=!0}function j(){const F=this.resume(),B=this.stack[this.stack.length-1];B.value=F}function K(){const F=this.resume(),B=this.stack[this.stack.length-1];B.value=F}function H(){const F=this.resume(),B=this.stack[this.stack.length-1];B.value=F}function J(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const B=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=B,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function oe(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const B=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=B,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function se(F){const B=this.sliceSerialize(F),z=this.stack[this.stack.length-2];z.label=xc(B),z.identifier=Vt(B).toLowerCase()}function ge(){const F=this.stack[this.stack.length-1],B=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const _=F.children;z.children=_}else z.alt=B}function b(){const F=this.resume(),B=this.stack[this.stack.length-1];B.url=F}function ve(){const F=this.resume(),B=this.stack[this.stack.length-1];B.title=F}function ie(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function fe(F){const B=this.resume(),z=this.stack[this.stack.length-1];z.label=B,z.identifier=Vt(this.sliceSerialize(F)).toLowerCase(),this.data.referenceType="full"}function Z(F){this.data.characterReferenceType=F.type}function ue(F){const B=this.sliceSerialize(F),z=this.data.characterReferenceType;let _;z?(_=Fi(B,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):_=ki(B);const Q=this.stack[this.stack.length-1];Q.value+=_}function Ae(F){const B=this.stack.pop();B.position.end=mt(F.end)}function ce(F){D.call(this,F);const B=this.stack[this.stack.length-1];B.url=this.sliceSerialize(F)}function Fe(F){D.call(this,F);const B=this.stack[this.stack.length-1];B.url="mailto:"+this.sliceSerialize(F)}function le(){return{type:"blockquote",children:[]}}function ye(){return{type:"code",lang:null,meta:null,value:""}}function Ie(){return{type:"inlineCode",value:""}}function Se(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ke(){return{type:"emphasis",children:[]}}function Oe(){return{type:"heading",depth:0,children:[]}}function we(){return{type:"break"}}function Xe(){return{type:"html",value:""}}function Kt(){return{type:"image",title:null,url:"",alt:null}}function L(){return{type:"link",title:null,url:"",children:[]}}function X(F){return{type:"list",ordered:F.type==="listOrdered",start:null,spread:F._spread,children:[]}}function te(F){return{type:"listItem",spread:F._spread,checked:null,children:[]}}function ae(){return{type:"paragraph",children:[]}}function Be(){return{type:"strong",children:[]}}function Ge(){return{type:"text",value:""}}function St(){return{type:"thematicBreak"}}}function mt(e){return{line:e.line,column:e.column,offset:e.offset}}function _i(e,t){let n=-1;for(;++n<t.length;){const i=t[n];Array.isArray(i)?_i(e,i):Ec(e,i)}}function Ec(e,t){let n;for(n in t)if(Yi.call(t,n))switch(n){case"canContainEols":{const i=t[n];i&&e[n].push(...i);break}case"transforms":{const i=t[n];i&&e[n].push(...i);break}case"enter":case"exit":{const i=t[n];i&&Object.assign(e[n],i);break}}}function Ui(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+zt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+zt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+zt({start:t.start,end:t.end})+") is still open")}function kc(e){const t=this;t.parser=n;function n(i){return Sc(i,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Pc(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Fc(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
6
- `}]}function Bc(e,t){const n=t.value?t.value+`
7
- `:"",i={};t.lang&&(i.className=["language-"+t.lang]);let r={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(r.data={meta:t.meta}),e.patch(t,r),r=e.applyData(t,r),r={type:"element",tagName:"pre",properties:{},children:[r]},e.patch(t,r),r}function Gc(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Tc(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Vc(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),r=Ot(i.toLowerCase()),o=e.footnoteOrder.indexOf(i);let l,a=e.footnoteCounts.get(i);a===void 0?(a=0,e.footnoteOrder.push(i),l=e.footnoteOrder.length):l=o+1,a+=1,e.footnoteCounts.set(i,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+r,id:n+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)}function Oc(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Nc(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function qi(e,t){const n=t.referenceType;let i="]";if(n==="collapsed"?i+="[]":n==="full"&&(i+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+i}];const r=e.all(t),o=r[0];o&&o.type==="text"?o.value="["+o.value:r.unshift({type:"text",value:"["});const l=r[r.length-1];return l&&l.type==="text"?l.value+=i:r.push({type:"text",value:i}),r}function Lc(e,t){const n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return qi(e,t);const r={src:Ot(i.url||""),alt:t.alt};i.title!==null&&i.title!==void 0&&(r.title=i.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)}function Dc(e,t){const n={src:Ot(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const i={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,i),e.applyData(t,i)}function Mc(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const i={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,i),e.applyData(t,i)}function Rc(e,t){const n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return qi(e,t);const r={href:Ot(i.url||"")};i.title!==null&&i.title!==void 0&&(r.title=i.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function Xc(e,t){const n={href:Ot(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const i={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function zc(e,t,n){const i=e.all(t),r=n?Hc(n):Qi(t),o={},l=[];if(typeof t.checked=="boolean"){const c=i[0];let p;c&&c.type==="element"&&c.tagName==="p"?p=c:(p={type:"element",tagName:"p",properties:{},children:[]},i.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.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<i.length;){const c=i[a];(r||a!==0||c.type!=="element"||c.tagName!=="p")&&l.push({type:"text",value:`
5
+ `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&r)continue;l=" ";break}default:l=String.fromCharCode(o)}r=o===-2,i.push(l)}return i.join("")}function Fc(e){const i={constructs:ju([wc,...(e||{}).extensions||[]]),content:r(Ku),defined:[],document:r(ts),flow:r(Ic),lazy:{},string:r(xc),text:r(Ac)};return i;function r(o){return l;function l(a){return Ec(i,o,a)}}}function Gc(e){for(;!Xi(e););return e}const _i=/[\0\t\n\r]/g;function Bc(){let e=1,t="",n=!0,i;return r;function r(o,l,a){const u=[];let s,c,p,f,d;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),p=0,t="",n&&(o.charCodeAt(0)===65279&&p++,n=void 0);p<o.length;){if(_i.lastIndex=p,s=_i.exec(o),f=s&&s.index!==void 0?s.index:o.length,d=o.charCodeAt(f),!s){t=o.slice(p);break}if(d===10&&p===f&&i)u.push(-3),i=void 0;else switch(i&&(u.push(-5),i=void 0),p<f&&(u.push(o.slice(p,f)),e+=f-p),d){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:i=!0,e=1}p=f+1}return a&&(i&&u.push(-5),t&&u.push(t),u.push(null)),u}}const Tc={}.hasOwnProperty;function Vc(e){return Tc.call(an,e)?an[e]:!1}const Oc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Nc(e){return e.replace(Oc,Dc)}function Dc(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),o=r===120||r===88;return Bi(n.slice(o?2:1),o?16:10)}return Vc(n)||e}const Ui={}.hasOwnProperty;function Lc(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Mc(n)(Gc(Fc(n).document().write(Bc()(e,t,!0))))}function Mc(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Rt),autolinkProtocol:O,autolinkEmail:O,atxHeading:o(Ne),blockQuote:o(ae),characterEscape:O,characterReference:O,codeFenced:o(Ie),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(Ie,l),codeText:o(ve,l),codeTextData:O,data:O,codeFlowValue:O,definition:o(Te),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(Pe),hardBreakEscape:o(Ae),hardBreakTrailing:o(Ae),htmlFlow:o(Je,l),htmlFlowData:O,htmlText:o(Je,l),htmlTextData:O,image:o(wt),label:l,link:o(Rt),listItem:o(z),listItemValue:f,listOrdered:o(L,p),listUnordered:o(L),paragraph:o(te),reference:m,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(Ne),strong:o(q),thematicBreak:o(Ce)},exit:{atxHeading:u(),atxHeadingSequence:B,autolink:u(),autolinkEmail:Be,autolinkProtocol:ce,blockQuote:u(),characterEscapeValue:V,characterReferenceMarkerHexadecimal:K,characterReferenceMarkerNumeric:K,characterReferenceValue:ee,characterReference:ke,codeFenced:u(C),codeFencedFence:h,codeFencedFenceInfo:d,codeFencedFenceMeta:y,codeFlowValue:V,codeIndented:u(I),codeText:u(H),codeTextData:V,data:V,definition:u(),definitionDestinationString:w,definitionLabelString:F,definitionTitleString:S,emphasis:u(),hardBreakEscape:u(E),hardBreakTrailing:u(E),htmlFlow:u(J),htmlFlowData:V,htmlText:u(ne),htmlTextData:V,image:u(ue),label:ge,labelText:se,lineEnding:N,link:u(j),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:fe,resourceDestinationString:b,resourceTitleString:xe,resource:le,setextHeading:u(P),setextHeadingLineSequence:R,setextHeadingText:x,strong:u(),thematicBreak:u()}};qi(t,(e||{}).mdastExtensions||[]);const n={};return i;function i(k){let M={type:"root",children:[]};const X={stack:[M],tokenStack:[],config:t,enter:a,exit:s,buffer:l,resume:c,data:n},W=[];let _=-1;for(;++_<k.length;)if(k[_][1].type==="listOrdered"||k[_][1].type==="listUnordered")if(k[_][0]==="enter")W.push(_);else{const he=W.pop();_=r(k,he,_)}for(_=-1;++_<k.length;){const he=t[k[_][0]];Ui.call(he,k[_][1].type)&&he[k[_][1].type].call(Object.assign({sliceSerialize:k[_][2].sliceSerialize},X),k[_][1])}if(X.tokenStack.length>0){const he=X.tokenStack[X.tokenStack.length-1];(he[1]||Qi).call(X,void 0,he[0])}for(M.position={start:bt(k.length>0?k[0][1].start:{line:1,column:1,offset:0}),end:bt(k.length>0?k[k.length-2][1].end:{line:1,column:1,offset:0})},_=-1;++_<t.transforms.length;)M=t.transforms[_](M)||M;return M}function r(k,M,X){let W=M-1,_=-1,he=!1,lt,Qe,yt,at;for(;++W<=X;){const Re=k[W];switch(Re[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Re[0]==="enter"?_++:_--,at=void 0;break}case"lineEndingBlank":{Re[0]==="enter"&&(lt&&!at&&!_&&!yt&&(yt=W),at=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:at=void 0}if(!_&&Re[0]==="enter"&&Re[1].type==="listItemPrefix"||_===-1&&Re[0]==="exit"&&(Re[1].type==="listUnordered"||Re[1].type==="listOrdered")){if(lt){let dt=W;for(Qe=void 0;dt--;){const $e=k[dt];if($e[1].type==="lineEnding"||$e[1].type==="lineEndingBlank"){if($e[0]==="exit")continue;Qe&&(k[Qe][1].type="lineEndingBlank",he=!0),$e[1].type="lineEnding",Qe=dt}else if(!($e[1].type==="linePrefix"||$e[1].type==="blockQuotePrefix"||$e[1].type==="blockQuotePrefixWhitespace"||$e[1].type==="blockQuoteMarker"||$e[1].type==="listItemIndent"))break}yt&&(!Qe||yt<Qe)&&(lt._spread=!0),lt.end=Object.assign({},Qe?k[Qe][1].start:Re[1].end),k.splice(Qe||W,0,["exit",lt,Re[2]]),W++,X++}if(Re[1].type==="listItemPrefix"){const dt={type:"listItem",_spread:!1,start:Object.assign({},Re[1].start),end:void 0};lt=dt,k.splice(W,0,["enter",dt,Re[2]]),W++,X++,yt=void 0,at=!0}}}return k[M][1]._spread=he,X}function o(k,M){return X;function X(W){a.call(this,k(W),W),M&&M.call(this,W)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(k,M,X){this.stack[this.stack.length-1].children.push(k),this.stack.push(k),this.tokenStack.push([M,X||void 0]),k.position={start:bt(M.start),end:void 0}}function u(k){return M;function M(X){k&&k.call(this,X),s.call(this,X)}}function s(k,M){const X=this.stack.pop(),W=this.tokenStack.pop();if(W)W[0].type!==k.type&&(M?M.call(this,k,W[0]):(W[1]||Qi).call(this,k,W[0]));else throw new Error("Cannot close `"+k.type+"` ("+Ht({start:k.start,end:k.end})+"): it’s not open");X.position.end=bt(k.end)}function c(){return Hu(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function f(k){if(this.data.expectingFirstListItemValue){const M=this.stack[this.stack.length-2];M.start=Number.parseInt(this.sliceSerialize(k),10),this.data.expectingFirstListItemValue=void 0}}function d(){const k=this.resume(),M=this.stack[this.stack.length-1];M.lang=k}function y(){const k=this.resume(),M=this.stack[this.stack.length-1];M.meta=k}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function I(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k.replace(/(\r?\n|\r)$/g,"")}function F(k){const M=this.resume(),X=this.stack[this.stack.length-1];X.label=M,X.identifier=Vt(this.sliceSerialize(k)).toLowerCase()}function S(){const k=this.resume(),M=this.stack[this.stack.length-1];M.title=k}function w(){const k=this.resume(),M=this.stack[this.stack.length-1];M.url=k}function B(k){const M=this.stack[this.stack.length-1];if(!M.depth){const X=this.sliceSerialize(k).length;M.depth=X}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function R(k){const M=this.stack[this.stack.length-1];M.depth=this.sliceSerialize(k).codePointAt(0)===61?1:2}function P(){this.data.setextHeadingSlurpLineEnding=void 0}function O(k){const X=this.stack[this.stack.length-1].children;let W=X[X.length-1];(!W||W.type!=="text")&&(W=Se(),W.position={start:bt(k.start),end:void 0},X.push(W)),this.stack.push(W)}function V(k){const M=this.stack.pop();M.value+=this.sliceSerialize(k),M.position.end=bt(k.end)}function N(k){const M=this.stack[this.stack.length-1];if(this.data.atHardBreak){const X=M.children[M.children.length-1];X.position.end=bt(k.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(M.type)&&(O.call(this,k),V.call(this,k))}function E(){this.data.atHardBreak=!0}function J(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k}function ne(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k}function H(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k}function j(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=M,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function ue(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=M,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function se(k){const M=this.sliceSerialize(k),X=this.stack[this.stack.length-2];X.label=Nc(M),X.identifier=Vt(M).toLowerCase()}function ge(){const k=this.stack[this.stack.length-1],M=this.resume(),X=this.stack[this.stack.length-1];if(this.data.inReference=!0,X.type==="link"){const W=k.children;X.children=W}else X.alt=M}function b(){const k=this.resume(),M=this.stack[this.stack.length-1];M.url=k}function xe(){const k=this.resume(),M=this.stack[this.stack.length-1];M.title=k}function le(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function fe(k){const M=this.resume(),X=this.stack[this.stack.length-1];X.label=M,X.identifier=Vt(this.sliceSerialize(k)).toLowerCase(),this.data.referenceType="full"}function K(k){this.data.characterReferenceType=k.type}function ee(k){const M=this.sliceSerialize(k),X=this.data.characterReferenceType;let W;X?(W=Bi(M,X==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):W=Fi(M);const _=this.stack[this.stack.length-1];_.value+=W}function ke(k){const M=this.stack.pop();M.position.end=bt(k.end)}function ce(k){V.call(this,k);const M=this.stack[this.stack.length-1];M.url=this.sliceSerialize(k)}function Be(k){V.call(this,k);const M=this.stack[this.stack.length-1];M.url="mailto:"+this.sliceSerialize(k)}function ae(){return{type:"blockquote",children:[]}}function Ie(){return{type:"code",lang:null,meta:null,value:""}}function ve(){return{type:"inlineCode",value:""}}function Te(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Pe(){return{type:"emphasis",children:[]}}function Ne(){return{type:"heading",depth:0,children:[]}}function Ae(){return{type:"break"}}function Je(){return{type:"html",value:""}}function wt(){return{type:"image",title:null,url:"",alt:null}}function Rt(){return{type:"link",title:null,url:"",children:[]}}function L(k){return{type:"list",ordered:k.type==="listOrdered",start:null,spread:k._spread,children:[]}}function z(k){return{type:"listItem",spread:k._spread,checked:null,children:[]}}function te(){return{type:"paragraph",children:[]}}function q(){return{type:"strong",children:[]}}function Se(){return{type:"text",value:""}}function Ce(){return{type:"thematicBreak"}}}function bt(e){return{line:e.line,column:e.column,offset:e.offset}}function qi(e,t){let n=-1;for(;++n<t.length;){const i=t[n];Array.isArray(i)?qi(e,i):Rc(e,i)}}function Rc(e,t){let n;for(n in t)if(Ui.call(t,n))switch(n){case"canContainEols":{const i=t[n];i&&e[n].push(...i);break}case"transforms":{const i=t[n];i&&e[n].push(...i);break}case"enter":case"exit":{const i=t[n];i&&Object.assign(e[n],i);break}}}function Qi(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ht({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ht({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ht({start:t.start,end:t.end})+") is still open")}function Xc(e){const t=this;t.parser=n;function n(i){return Lc(i,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function zc(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Hc(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
6
+ `}]}function Wc(e,t){const n=t.value?t.value+`
7
+ `:"",i={};t.lang&&(i.className=["language-"+t.lang]);let r={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(r.data={meta:t.meta}),e.patch(t,r),r=e.applyData(t,r),r={type:"element",tagName:"pre",properties:{},children:[r]},e.patch(t,r),r}function Zc(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function jc(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jc(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),r=Ot(i.toLowerCase()),o=e.footnoteOrder.indexOf(i);let l,a=e.footnoteCounts.get(i);a===void 0?(a=0,e.footnoteOrder.push(i),l=e.footnoteOrder.length):l=o+1,a+=1,e.footnoteCounts.set(i,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+r,id:n+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)}function Yc(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _c(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function $i(e,t){const n=t.referenceType;let i="]";if(n==="collapsed"?i+="[]":n==="full"&&(i+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+i}];const r=e.all(t),o=r[0];o&&o.type==="text"?o.value="["+o.value:r.unshift({type:"text",value:"["});const l=r[r.length-1];return l&&l.type==="text"?l.value+=i:r.push({type:"text",value:i}),r}function Uc(e,t){const n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return $i(e,t);const r={src:Ot(i.url||""),alt:t.alt};i.title!==null&&i.title!==void 0&&(r.title=i.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)}function qc(e,t){const n={src:Ot(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const i={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,i),e.applyData(t,i)}function Qc(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const i={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,i),e.applyData(t,i)}function $c(e,t){const n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return $i(e,t);const r={href:Ot(i.url||"")};i.title!==null&&i.title!==void 0&&(r.title=i.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function Kc(e,t){const n={href:Ot(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const i={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function ep(e,t,n){const i=e.all(t),r=n?tp(n):Ki(t),o={},l=[];if(typeof t.checked=="boolean"){const c=i[0];let p;c&&c.type==="element"&&c.tagName==="p"?p=c:(p={type:"element",tagName:"p",properties:{},children:[]},i.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.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<i.length;){const c=i[a];(r||a!==0||c.type!=="element"||c.tagName!=="p")&&l.push({type:"text",value:`
8
8
  `}),c.type==="element"&&c.tagName==="p"&&!r?l.push(...c.children):l.push(c)}const u=i[i.length-1];u&&(r||u.type!=="element"||u.tagName!=="p")&&l.push({type:"text",value:`
9
- `});const s={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,s),e.applyData(t,s)}function Hc(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let i=-1;for(;!t&&++i<n.length;)t=Qi(n[i])}return t}function Qi(e){const t=e.spread;return t??e.children.length>1}function Wc(e,t){const n={},i=e.all(t);let r=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++r<i.length;){const l=i[r];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function Zc(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function jc(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Jc(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Yc(e,t){const n=e.all(t),i=n.shift(),r=[];if(i){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(t.children[0],l),r.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=Un(t.children[1]),u=bi(t.children[t.children.length-1]);a&&u&&(l.position={start:a,end:u}),r.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function _c(e,t,n){const i=n?n.children:void 0,o=(i?i.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let u=-1;const s=[];for(;++u<a;){const p=t.children[u],f={},d=l?l[u]:void 0;d&&(f.align=d);let y={type:"element",tagName:o,properties:f,children:[]};p&&(y.children=e.all(p),e.patch(p,y),y=e.applyData(p,y)),s.push(y)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)}function Uc(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const $i=9,Ki=32;function qc(e){const t=String(e),n=/\r?\n|\r/g;let i=n.exec(t),r=0;const o=[];for(;i;)o.push(eo(t.slice(r,i.index),r>0,!0),i[0]),r=i.index+i[0].length,i=n.exec(t);return o.push(eo(t.slice(r),r>0,!1)),o.join("")}function eo(e,t,n){let i=0,r=e.length;if(t){let o=e.codePointAt(i);for(;o===$i||o===Ki;)i++,o=e.codePointAt(i)}if(n){let o=e.codePointAt(r-1);for(;o===$i||o===Ki;)r--,o=e.codePointAt(r-1)}return r>i?e.slice(i,r):""}function Qc(e,t){const n={type:"text",value:qc(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function $c(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Kc={blockquote:Pc,break:Fc,code:Bc,delete:Gc,emphasis:Tc,footnoteReference:Vc,heading:Oc,html:Nc,imageReference:Lc,image:Dc,inlineCode:Mc,linkReference:Rc,link:Xc,listItem:zc,list:Wc,paragraph:Zc,root:jc,strong:Jc,table:Yc,tableCell:Uc,tableRow:_c,text:Qc,thematicBreak:$c,toml:un,yaml:un,definition:un,footnoteDefinition:un};function un(){}const to=-1,sn=0,cn=1,pn=2,ur=3,sr=4,cr=5,pr=6,no=7,ro=8,io=typeof self=="object"?self:globalThis,ep=(e,t)=>{const n=(r,o)=>(e.set(o,r),r),i=r=>{if(e.has(r))return e.get(r);const[o,l]=t[r];switch(o){case sn:case to:return n(l,r);case cn:{const a=n([],r);for(const u of l)a.push(i(u));return a}case pn:{const a=n({},r);for(const[u,s]of l)a[i(u)]=i(s);return a}case ur:return n(new Date(l),r);case sr:{const{source:a,flags:u}=l;return n(new RegExp(a,u),r)}case cr:{const a=n(new Map,r);for(const[u,s]of l)a.set(i(u),i(s));return a}case pr:{const a=n(new Set,r);for(const u of l)a.add(i(u));return a}case no:{const{name:a,message:u}=l;return n(new io[a](u),r)}case ro:return n(BigInt(l),r);case"BigInt":return n(Object(BigInt(l)),r)}return n(new io[o](l),r)};return i},oo=e=>ep(new Map,e)(0),Nt="",{toString:tp}={},{keys:np}=Object,jt=e=>{const t=typeof e;if(t!=="object"||!e)return[sn,t];const n=tp.call(e).slice(8,-1);switch(n){case"Array":return[cn,Nt];case"Object":return[pn,Nt];case"Date":return[ur,Nt];case"RegExp":return[sr,Nt];case"Map":return[cr,Nt];case"Set":return[pr,Nt]}return n.includes("Array")?[cn,n]:n.includes("Error")?[no,n]:[pn,n]},dn=([e,t])=>e===sn&&(t==="function"||t==="symbol"),rp=(e,t,n,i)=>{const r=(l,a)=>{const u=i.push(l)-1;return n.set(a,u),u},o=l=>{if(n.has(l))return n.get(l);let[a,u]=jt(l);switch(a){case sn:{let c=l;switch(u){case"bigint":a=ro,c=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return r([to],l)}return r([a,c],l)}case cn:{if(u)return r([u,[...l]],l);const c=[],p=r([a,c],l);for(const f of l)c.push(o(f));return p}case pn:{if(u)switch(u){case"BigInt":return r([u,l.toString()],l);case"Boolean":case"Number":case"String":return r([u,l.valueOf()],l)}if(t&&"toJSON"in l)return o(l.toJSON());const c=[],p=r([a,c],l);for(const f of np(l))(e||!dn(jt(l[f])))&&c.push([o(f),o(l[f])]);return p}case ur:return r([a,l.toISOString()],l);case sr:{const{source:c,flags:p}=l;return r([a,{source:c,flags:p}],l)}case cr:{const c=[],p=r([a,c],l);for(const[f,d]of l)(e||!(dn(jt(f))||dn(jt(d))))&&c.push([o(f),o(d)]);return p}case pr:{const c=[],p=r([a,c],l);for(const f of l)(e||!dn(jt(f)))&&c.push(o(f));return p}}const{message:s}=l;return r([a,{name:u,message:s}],l)};return o},lo=(e,{json:t,lossy:n}={})=>{const i=[];return rp(!(t||n),!!t,new Map,i)(e),i},fn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?oo(lo(e,t)):structuredClone(e):(e,t)=>oo(lo(e,t));function ip(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function op(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function lp(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||ip,i=e.options.footnoteBackLabel||op,r=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const s=e.footnoteById.get(e.footnoteOrder[u]);if(!s)continue;const c=e.all(s),p=String(s.identifier).toUpperCase(),f=Ot(p.toLowerCase());let d=0;const y=[],h=e.footnoteCounts.get(p);for(;h!==void 0&&++d<=h;){y.length>0&&y.push({type:"text",value:" "});let k=typeof n=="string"?n:n(u,d);typeof k=="string"&&(k={type:"text",value:k}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(u,d),className:["data-footnote-backref"]},children:Array.isArray(k)?k:[k]})}const v=c[c.length-1];if(v&&v.type==="element"&&v.tagName==="p"){const k=v.children[v.children.length-1];k&&k.type==="text"?k.value+=" ":v.children.push({type:"text",value:" "}),v.children.push(...y)}else c.push(...y);const I={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(c,!0)};e.patch(s,I),a.push(I)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...fn(l),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:`
9
+ `});const s={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,s),e.applyData(t,s)}function tp(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let i=-1;for(;!t&&++i<n.length;)t=Ki(n[i])}return t}function Ki(e){const t=e.spread;return t??e.children.length>1}function np(e,t){const n={},i=e.all(t);let r=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++r<i.length;){const l=i[r];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function rp(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ip(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function op(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lp(e,t){const n=e.all(t),i=n.shift(),r=[];if(i){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(t.children[0],l),r.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=er(t.children[1]),u=Ii(t.children[t.children.length-1]);a&&u&&(l.position={start:a,end:u}),r.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function ap(e,t,n){const i=n?n.children:void 0,o=(i?i.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let u=-1;const s=[];for(;++u<a;){const p=t.children[u],f={},d=l?l[u]:void 0;d&&(f.align=d);let y={type:"element",tagName:o,properties:f,children:[]};p&&(y.children=e.all(p),e.patch(p,y),y=e.applyData(p,y)),s.push(y)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)}function up(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const eo=9,to=32;function sp(e){const t=String(e),n=/\r?\n|\r/g;let i=n.exec(t),r=0;const o=[];for(;i;)o.push(no(t.slice(r,i.index),r>0,!0),i[0]),r=i.index+i[0].length,i=n.exec(t);return o.push(no(t.slice(r),r>0,!1)),o.join("")}function no(e,t,n){let i=0,r=e.length;if(t){let o=e.codePointAt(i);for(;o===eo||o===to;)i++,o=e.codePointAt(i)}if(n){let o=e.codePointAt(r-1);for(;o===eo||o===to;)r--,o=e.codePointAt(r-1)}return r>i?e.slice(i,r):""}function cp(e,t){const n={type:"text",value:sp(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function pp(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const dp={blockquote:zc,break:Hc,code:Wc,delete:Zc,emphasis:jc,footnoteReference:Jc,heading:Yc,html:_c,imageReference:Uc,image:qc,inlineCode:Qc,linkReference:$c,link:Kc,listItem:ep,list:np,paragraph:rp,root:ip,strong:op,table:lp,tableCell:up,tableRow:ap,text:cp,thematicBreak:pp,toml:cn,yaml:cn,definition:cn,footnoteDefinition:cn};function cn(){}const ro=-1,pn=0,Jt=1,dn=2,fr=3,gr=4,hr=5,mr=6,io=7,oo=8,lo=typeof self=="object"?self:globalThis,fp=(e,t)=>{const n=(r,o)=>(e.set(o,r),r),i=r=>{if(e.has(r))return e.get(r);const[o,l]=t[r];switch(o){case pn:case ro:return n(l,r);case Jt:{const a=n([],r);for(const u of l)a.push(i(u));return a}case dn:{const a=n({},r);for(const[u,s]of l)a[i(u)]=i(s);return a}case fr:return n(new Date(l),r);case gr:{const{source:a,flags:u}=l;return n(new RegExp(a,u),r)}case hr:{const a=n(new Map,r);for(const[u,s]of l)a.set(i(u),i(s));return a}case mr:{const a=n(new Set,r);for(const u of l)a.add(i(u));return a}case io:{const{name:a,message:u}=l;return n(new lo[a](u),r)}case oo:return n(BigInt(l),r);case"BigInt":return n(Object(BigInt(l)),r);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:a}=new Uint8Array(l);return n(new DataView(a),l)}}return n(new lo[o](l),r)};return i},ao=e=>fp(new Map,e)(0),Nt="",{toString:gp}={},{keys:hp}=Object,Yt=e=>{const t=typeof e;if(t!=="object"||!e)return[pn,t];const n=gp.call(e).slice(8,-1);switch(n){case"Array":return[Jt,Nt];case"Object":return[dn,Nt];case"Date":return[fr,Nt];case"RegExp":return[gr,Nt];case"Map":return[hr,Nt];case"Set":return[mr,Nt];case"DataView":return[Jt,n]}return n.includes("Array")?[Jt,n]:n.includes("Error")?[io,n]:[dn,n]},fn=([e,t])=>e===pn&&(t==="function"||t==="symbol"),mp=(e,t,n,i)=>{const r=(l,a)=>{const u=i.push(l)-1;return n.set(a,u),u},o=l=>{if(n.has(l))return n.get(l);let[a,u]=Yt(l);switch(a){case pn:{let c=l;switch(u){case"bigint":a=oo,c=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return r([ro],l)}return r([a,c],l)}case Jt:{if(u){let f=l;return u==="DataView"?f=new Uint8Array(l.buffer):u==="ArrayBuffer"&&(f=new Uint8Array(l)),r([u,[...f]],l)}const c=[],p=r([a,c],l);for(const f of l)c.push(o(f));return p}case dn:{if(u)switch(u){case"BigInt":return r([u,l.toString()],l);case"Boolean":case"Number":case"String":return r([u,l.valueOf()],l)}if(t&&"toJSON"in l)return o(l.toJSON());const c=[],p=r([a,c],l);for(const f of hp(l))(e||!fn(Yt(l[f])))&&c.push([o(f),o(l[f])]);return p}case fr:return r([a,l.toISOString()],l);case gr:{const{source:c,flags:p}=l;return r([a,{source:c,flags:p}],l)}case hr:{const c=[],p=r([a,c],l);for(const[f,d]of l)(e||!(fn(Yt(f))||fn(Yt(d))))&&c.push([o(f),o(d)]);return p}case mr:{const c=[],p=r([a,c],l);for(const f of l)(e||!fn(Yt(f)))&&c.push(o(f));return p}}const{message:s}=l;return r([a,{name:u,message:s}],l)};return o},uo=(e,{json:t,lossy:n}={})=>{const i=[];return mp(!(t||n),!!t,new Map,i)(e),i},gn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?ao(uo(e,t)):structuredClone(e):(e,t)=>ao(uo(e,t));function bp(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function yp(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Ip(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||bp,i=e.options.footnoteBackLabel||yp,r=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const s=e.footnoteById.get(e.footnoteOrder[u]);if(!s)continue;const c=e.all(s),p=String(s.identifier).toUpperCase(),f=Ot(p.toLowerCase());let d=0;const y=[],h=e.footnoteCounts.get(p);for(;h!==void 0&&++d<=h;){y.length>0&&y.push({type:"text",value:" "});let F=typeof n=="string"?n:n(u,d);typeof F=="string"&&(F={type:"text",value:F}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(u,d),className:["data-footnote-backref"]},children:Array.isArray(F)?F:[F]})}const C=c[c.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const F=C.children[C.children.length-1];F&&F.type==="text"?F.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...y)}else c.push(...y);const I={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(c,!0)};e.patch(s,I),a.push(I)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...gn(l),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:`
10
10
  `},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:`
11
- `}]}}const ao=function(e){if(e==null)return cp;if(typeof e=="function")return gn(e);if(typeof e=="object")return Array.isArray(e)?ap(e):up(e);if(typeof e=="string")return sp(e);throw new Error("Expected function, string, or object as test")};function ap(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ao(e[n]);return gn(i);function i(...r){let o=-1;for(;++o<t.length;)if(t[o].apply(this,r))return!0;return!1}}function up(e){const t=e;return gn(n);function n(i){const r=i;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}function sp(e){return gn(t);function t(n){return n&&n.type===e}}function gn(e){return t;function t(n,i,r){return!!(pp(n)&&e.call(this,n,typeof i=="number"?i:void 0,r||void 0))}}function cp(){return!0}function pp(e){return e!==null&&typeof e=="object"&&"type"in e}function Sm(e){return e}const uo=[],dp=!0,so=!1,fp="skip";function gp(e,t,n,i){let r;typeof t=="function"&&typeof n!="function"?(i=n,n=t):r=t;const o=ao(r),l=i?-1:1;a(e,void 0,[])();function a(u,s,c){const p=u&&typeof u=="object"?u:{};if(typeof p.type=="string"){const d=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})}return f;function f(){let d=uo,y,h,v;if((!t||o(u,s,c[c.length-1]||void 0))&&(d=hp(n(u,c)),d[0]===so))return d;if("children"in u&&u.children){const I=u;if(I.children&&d[0]!==fp)for(h=(i?I.children.length:-1)+l,v=c.concat(I);h>-1&&h<I.children.length;){const k=I.children[h];if(y=a(k,h,v)(),y[0]===so)return y;h=typeof y[1]=="number"?y[1]:h+l}}return d}}}function hp(e){return Array.isArray(e)?e:typeof e=="number"?[dp,e]:e==null?uo:[e]}function co(e,t,n,i){let r,o,l;typeof t=="function"&&typeof n!="function"?(o=void 0,l=t,r=n):(o=t,l=n,r=i),gp(e,o,a,r);function a(u,s){const c=s[s.length-1],p=c?c.children.indexOf(u):void 0;return l(u,p,c)}}const dr={}.hasOwnProperty,mp={};function bp(e,t){const n=t||mp,i=new Map,r=new Map,o=new Map,l={...Kc,...n.handlers},a={all:s,applyData:Ip,definitionById:i,footnoteById:r,footnoteCounts:o,footnoteOrder:[],handlers:l,one:u,options:n,patch:yp,wrap:Cp};return co(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const p=c.type==="definition"?i:r,f=String(c.identifier).toUpperCase();p.has(f)||p.set(f,c)}}),a;function u(c,p){const f=c.type,d=a.handlers[f];if(dr.call(a.handlers,f)&&d)return d(a,c,p);if(a.options.passThrough&&a.options.passThrough.includes(f)){if("children"in c){const{children:h,...v}=c,I=fn(v);return I.children=a.all(c),I}return fn(c)}return(a.options.unknownHandler||vp)(a,c,p)}function s(c){const p=[];if("children"in c){const f=c.children;let d=-1;for(;++d<f.length;){const y=a.one(f[d],c);if(y){if(d&&f[d-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=po(y.value)),!Array.isArray(y)&&y.type==="element")){const h=y.children[0];h&&h.type==="text"&&(h.value=po(h.value))}Array.isArray(y)?p.push(...y):p.push(y)}}}return p}}function yp(e,t){e.position&&(t.position=ou(e))}function Ip(e,t){let n=t;if(e&&e.data){const i=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if(typeof i=="string")if(n.type==="element")n.tagName=i;else{const l="children"in n?n.children:[n];n={type:"element",tagName:i,properties:{},children:l}}n.type==="element"&&o&&Object.assign(n.properties,fn(o)),"children"in n&&n.children&&r!==null&&r!==void 0&&(n.children=r)}return n}function vp(e,t){const n=t.data||{},i="value"in t&&!(dr.call(n,"hProperties")||dr.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function Cp(e,t){const n=[];let i=-1;for(t&&n.push({type:"text",value:`
11
+ `}]}}const so=function(e){if(e==null)return Ap;if(typeof e=="function")return hn(e);if(typeof e=="object")return Array.isArray(e)?vp(e):Cp(e);if(typeof e=="string")return xp(e);throw new Error("Expected function, string, or object as test")};function vp(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=so(e[n]);return hn(i);function i(...r){let o=-1;for(;++o<t.length;)if(t[o].apply(this,r))return!0;return!1}}function Cp(e){const t=e;return hn(n);function n(i){const r=i;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}function xp(e){return hn(t);function t(n){return n&&n.type===e}}function hn(e){return t;function t(n,i,r){return!!(Sp(n)&&e.call(this,n,typeof i=="number"?i:void 0,r||void 0))}}function Ap(){return!0}function Sp(e){return e!==null&&typeof e=="object"&&"type"in e}function Hm(e){return e}const co=[],wp=!0,po=!1,Ep="skip";function kp(e,t,n,i){let r;typeof t=="function"&&typeof n!="function"?(i=n,n=t):r=t;const o=so(r),l=i?-1:1;a(e,void 0,[])();function a(u,s,c){const p=u&&typeof u=="object"?u:{};if(typeof p.type=="string"){const d=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})}return f;function f(){let d=co,y,h,C;if((!t||o(u,s,c[c.length-1]||void 0))&&(d=Pp(n(u,c)),d[0]===po))return d;if("children"in u&&u.children){const I=u;if(I.children&&d[0]!==Ep)for(h=(i?I.children.length:-1)+l,C=c.concat(I);h>-1&&h<I.children.length;){const F=I.children[h];if(y=a(F,h,C)(),y[0]===po)return y;h=typeof y[1]=="number"?y[1]:h+l}}return d}}}function Pp(e){return Array.isArray(e)?e:typeof e=="number"?[wp,e]:e==null?co:[e]}function fo(e,t,n,i){let r,o,l;typeof t=="function"&&typeof n!="function"?(o=void 0,l=t,r=n):(o=t,l=n,r=i),kp(e,o,a,r);function a(u,s){const c=s[s.length-1],p=c?c.children.indexOf(u):void 0;return l(u,p,c)}}const br={}.hasOwnProperty,Fp={};function Gp(e,t){const n=t||Fp,i=new Map,r=new Map,o=new Map,l={...dp,...n.handlers},a={all:s,applyData:Tp,definitionById:i,footnoteById:r,footnoteCounts:o,footnoteOrder:[],handlers:l,one:u,options:n,patch:Bp,wrap:Op};return fo(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const p=c.type==="definition"?i:r,f=String(c.identifier).toUpperCase();p.has(f)||p.set(f,c)}}),a;function u(c,p){const f=c.type,d=a.handlers[f];if(br.call(a.handlers,f)&&d)return d(a,c,p);if(a.options.passThrough&&a.options.passThrough.includes(f)){if("children"in c){const{children:h,...C}=c,I=gn(C);return I.children=a.all(c),I}return gn(c)}return(a.options.unknownHandler||Vp)(a,c,p)}function s(c){const p=[];if("children"in c){const f=c.children;let d=-1;for(;++d<f.length;){const y=a.one(f[d],c);if(y){if(d&&f[d-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=go(y.value)),!Array.isArray(y)&&y.type==="element")){const h=y.children[0];h&&h.type==="text"&&(h.value=go(h.value))}Array.isArray(y)?p.push(...y):p.push(y)}}}return p}}function Bp(e,t){e.position&&(t.position=vu(e))}function Tp(e,t){let n=t;if(e&&e.data){const i=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if(typeof i=="string")if(n.type==="element")n.tagName=i;else{const l="children"in n?n.children:[n];n={type:"element",tagName:i,properties:{},children:l}}n.type==="element"&&o&&Object.assign(n.properties,gn(o)),"children"in n&&n.children&&r!==null&&r!==void 0&&(n.children=r)}return n}function Vp(e,t){const n=t.data||{},i="value"in t&&!(br.call(n,"hProperties")||br.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function Op(e,t){const n=[];let i=-1;for(t&&n.push({type:"text",value:`
12
12
  `});++i<e.length;)i&&n.push({type:"text",value:`
13
13
  `}),n.push(e[i]);return t&&e.length>0&&n.push({type:"text",value:`
14
- `}),n}function po(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function fo(e,t){const n=bp(e,t),i=n.one(e,void 0),r=lp(n),o=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return r&&o.children.push({type:"text",value:`
15
- `},r),o}function xp(e,t){return e&&"run"in e?async function(n,i){const r=fo(n,{file:i,...t});await e.run(r,i)}:function(n,i){return fo(n,{file:i,...e||t})}}function go(e){if(e)throw e}var hn=Object.prototype.hasOwnProperty,ho=Object.prototype.toString,mo=Object.defineProperty,bo=Object.getOwnPropertyDescriptor,yo=function(t){return typeof Array.isArray=="function"?Array.isArray(t):ho.call(t)==="[object Array]"},Io=function(t){if(!t||ho.call(t)!=="[object Object]")return!1;var n=hn.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&hn.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!i)return!1;var r;for(r in t);return typeof r>"u"||hn.call(t,r)},vo=function(t,n){mo&&n.name==="__proto__"?mo(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Co=function(t,n){if(n==="__proto__")if(hn.call(t,n)){if(bo)return bo(t,n).value}else return;return t[n]},Ap=function e(){var t,n,i,r,o,l,a=arguments[0],u=1,s=arguments.length,c=!1;for(typeof a=="boolean"&&(c=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<s;++u)if(t=arguments[u],t!=null)for(n in t)i=Co(a,n),r=Co(t,n),a!==r&&(c&&r&&(Io(r)||(o=yo(r)))?(o?(o=!1,l=i&&yo(i)?i:[]):l=i&&Io(i)?i:{},vo(a,{name:n,newValue:e(c,l,r)})):typeof r<"u"&&vo(a,{name:n,newValue:r}));return a};const fr=ci(Ap);function gr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Sp(){const e=[],t={run:n,use:i};return t;function n(...r){let o=-1;const l=r.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);a(null,...r);function a(u,...s){const c=e[++o];let p=-1;if(u){l(u);return}for(;++p<r.length;)(s[p]===null||s[p]===void 0)&&(s[p]=r[p]);r=s,c?wp(c,a)(...s):l(null,...s)}}function i(r){if(typeof r!="function")throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}}function wp(e,t){let n;return i;function i(...l){const a=e.length>l.length;let u;a&&l.push(r);try{u=e.apply(this,l)}catch(s){const c=s;if(a&&n)throw c;return r(c)}a||(u&&u.then&&typeof u.then=="function"?u.then(o,r):u instanceof Error?r(u):o(u))}function r(l,...a){n||(n=!0,t(l,...a))}function o(l){r(null,l)}}const nt={basename:Ep,dirname:kp,extname:Pp,join:Fp,sep:"/"};function Ep(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Jt(e);let n=0,i=-1,r=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;r--;)if(e.codePointAt(r)===47){if(o){n=r+1;break}}else i<0&&(o=!0,i=r+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let l=-1,a=t.length-1;for(;r--;)if(e.codePointAt(r)===47){if(o){n=r+1;break}}else l<0&&(o=!0,l=r+1),a>-1&&(e.codePointAt(r)===t.codePointAt(a--)?a<0&&(i=r):(a=-1,i=l));return n===i?i=l:i<0&&(i=e.length),e.slice(n,i)}function kp(e){if(Jt(e),e.length===0)return".";let t=-1,n=e.length,i;for(;--n;)if(e.codePointAt(n)===47){if(i){t=n;break}}else i||(i=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Pp(e){Jt(e);let t=e.length,n=-1,i=0,r=-1,o=0,l;for(;t--;){const a=e.codePointAt(t);if(a===47){if(l){i=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?r<0?r=t:o!==1&&(o=1):r>-1&&(o=-1)}return r<0||n<0||o===0||o===1&&r===n-1&&r===i+1?"":e.slice(r,n)}function Fp(...e){let t=-1,n;for(;++t<e.length;)Jt(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Bp(n)}function Bp(e){Jt(e);const t=e.codePointAt(0)===47;let n=Gp(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Gp(e,t){let n="",i=0,r=-1,o=0,l=-1,a,u;for(;++l<=e.length;){if(l<e.length)a=e.codePointAt(l);else{if(a===47)break;a=47}if(a===47){if(!(r===l-1||o===1))if(r!==l-1&&o===2){if(n.length<2||i!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",i=0):(n=n.slice(0,u),i=n.length-1-n.lastIndexOf("/")),r=l,o=0;continue}}else if(n.length>0){n="",i=0,r=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",i=2)}else n.length>0?n+="/"+e.slice(r+1,l):n=e.slice(r+1,l),i=l-r-1;r=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function Jt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Tp={cwd:Vp};function Vp(){return"/"}function hr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Op(e){if(typeof e=="string")e=new URL(e);else if(!hr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Np(e)}function Np(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const i=t.codePointAt(n+2);if(i===70||i===102){const r=new TypeError("File URL path must not include encoded / characters");throw r.code="ERR_INVALID_FILE_URL_PATH",r}}return decodeURIComponent(t)}const mr=["history","path","basename","stem","extname","dirname"];class xo{constructor(t){let n;t?hr(t)?n={path:t}:typeof t=="string"||Lp(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Tp.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<mr.length;){const o=mr[i];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let r;for(r in n)mr.includes(r)||(this[r]=n[r])}get basename(){return typeof this.path=="string"?nt.basename(this.path):void 0}set basename(t){yr(t,"basename"),br(t,"basename"),this.path=nt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?nt.dirname(this.path):void 0}set dirname(t){Ao(this.basename,"dirname"),this.path=nt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?nt.extname(this.path):void 0}set extname(t){if(br(t,"extname"),Ao(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=nt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){hr(t)&&(t=Op(t)),yr(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?nt.basename(this.path,this.extname):void 0}set stem(t){yr(t,"stem"),br(t,"stem"),this.path=nt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,i){const r=this.message(t,n,i);throw r.fatal=!0,r}info(t,n,i){const r=this.message(t,n,i);return r.fatal=void 0,r}message(t,n,i){const r=new Le(t,n,i);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function br(e,t){if(e&&e.includes(nt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+nt.sep+"`")}function yr(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ao(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Lp(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Dp=function(e){const i=this.constructor.prototype,r=i[e],o=function(){return r.apply(o,arguments)};return Object.setPrototypeOf(o,i),o},Mp={}.hasOwnProperty;class Ir extends Dp{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=Sp()}copy(){const t=new Ir;let n=-1;for(;++n<this.attachers.length;){const i=this.attachers[n];t.use(...i)}return t.data(fr(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(xr("data",this.frozen),this.namespace[t]=n,this):Mp.call(this.namespace,t)&&this.namespace[t]||void 0:t?(xr("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);const r=n.call(t,...i);typeof r=="function"&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=mn(t),i=this.parser||this.Parser;return vr("parse",i),i(String(n),n)}process(t,n){const i=this;return this.freeze(),vr("process",this.parser||this.Parser),Cr("process",this.compiler||this.Compiler),n?r(void 0,n):new Promise(r);function r(o,l){const a=mn(t),u=i.parse(a);i.run(u,a,function(c,p,f){if(c||!p||!f)return s(c);const d=p,y=i.stringify(d,f);zp(y)?f.value=y:f.result=y,s(c,f)});function s(c,p){c||!p?l(c):o?o(p):n(void 0,p)}}}processSync(t){let n=!1,i;return this.freeze(),vr("processSync",this.parser||this.Parser),Cr("processSync",this.compiler||this.Compiler),this.process(t,r),wo("processSync","process",n),i;function r(o,l){n=!0,go(o),i=l}}run(t,n,i){So(t),this.freeze();const r=this.transformers;return!i&&typeof n=="function"&&(i=n,n=void 0),i?o(void 0,i):new Promise(o);function o(l,a){const u=mn(n);r.run(t,u,s);function s(c,p,f){const d=p||t;c?a(c):l?l(d):i(void 0,d,f)}}}runSync(t,n){let i=!1,r;return this.run(t,n,o),wo("runSync","run",i),r;function o(l,a){go(l),r=a,i=!0}}stringify(t,n){this.freeze();const i=mn(n),r=this.compiler||this.Compiler;return Cr("stringify",r),So(t),r(t,i)}use(t,...n){const i=this.attachers,r=this.namespace;if(xr("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(s){if(typeof s=="function")u(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[c,...p]=s;u(c,p)}else l(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function l(s){if(!("plugins"in s)&&!("settings"in s))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(s.plugins),s.settings&&(r.settings=fr(!0,r.settings,s.settings))}function a(s){let c=-1;if(s!=null)if(Array.isArray(s))for(;++c<s.length;){const p=s[c];o(p)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function u(s,c){let p=-1,f=-1;for(;++p<i.length;)if(i[p][0]===s){f=p;break}if(f===-1)i.push([s,...c]);else if(c.length>0){let[d,...y]=c;const h=i[f][1];gr(h)&&gr(d)&&(d=fr(!0,h,d)),i[f]=[s,d,...y]}}}}const Rp=new Ir().freeze();function vr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Cr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function xr(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function So(e){if(!gr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function wo(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function mn(e){return Xp(e)?e:new xo(e)}function Xp(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function zp(e){return typeof e=="string"||Hp(e)}function Hp(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Wp="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Eo=[],ko={allowDangerousHtml:!0},Zp=/^(https?|ircs?|mailto|xmpp)$/i,jp=[{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:"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 Po(e){const t=e.allowedElements,n=e.allowElement,i=e.children||"",r=e.className,o=e.components,l=e.disallowedElements,a=e.rehypePlugins||Eo,u=e.remarkPlugins||Eo,s=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ko}:ko,c=e.skipHtml,p=e.unwrapDisallowed,f=e.urlTransform||Jp,d=Rp().use(kc).use(u).use(xp,s).use(a),y=new xo;typeof i=="string"&&(y.value=i);for(const k of jp)Object.hasOwn(e,k.from)&&(""+k.from+(k.to?"use `"+k.to+"` instead":"remove it")+Wp+k.id,void 0);const h=d.parse(y);let v=d.runSync(h,y);return r&&(v={type:"element",tagName:"div",properties:{className:r},children:v.type==="root"?v.children:[v]}),co(v,I),pu(v,{Fragment:G.Fragment,components:o,ignoreInvalidStyle:!0,jsx:G.jsx,jsxs:G.jsxs,passKeys:!0,passNode:!0});function I(k,S,A){if(k.type==="raw"&&A&&typeof S=="number")return c?A.children.splice(S,1):A.children[S]={type:"text",value:k.value},S;if(k.type==="element"){let P;for(P in er)if(Object.hasOwn(er,P)&&Object.hasOwn(k.properties,P)){const x=k.properties[P],M=er[P];(M===null||M.includes(k.tagName))&&(k.properties[P]=f(String(x||""),P,k))}}if(k.type==="element"){let P=t?!t.includes(k.tagName):l?l.includes(k.tagName):!1;if(!P&&n&&typeof S=="number"&&(P=!n(k,S,A)),P&&A&&typeof S=="number")return p&&k.children?A.children.splice(S,1,...k.children):A.children.splice(S,1),S}}}function Jp(e){const t=e.indexOf(":"),n=e.indexOf("?"),i=e.indexOf("#"),r=e.indexOf("/");return t<0||r>-1&&t>r||n>-1&&t>n||i>-1&&t>i||Zp.test(e.slice(0,t))?e:""}function bn({prop:e}){const t={width:"100%",background:"#e2e3e5",borderRadius:"5px",paddingTop:"2px",paddingLeft:"10px",paddingRight:"10px",paddingBottom:"2px"},n={...t,background:"#fff3cd"},i={...t,background:"#d1ecf1"},r={...t,background:"#f8d7da"},o={...t,background:"#fffff2"};let l={};switch(e.alertType){case"info":l=i;break;case"neutral":l=o;break;case"warning":l=n;break;case"error":l=r;break;default:l=t}return G.jsx("div",{className:`pd-alert-${e.alertType}`,style:l,children:G.jsx(Po,{components:{a:({...a})=>G.jsx("a",{...a,target:"_blank",rel:"noopener noreferrer"})},children:e.content})})}var yn={exports:{}};yn.exports,function(e,t){var n=200,i="__lodash_hash_undefined__",r=1,o=2,l=9007199254740991,a="[object Arguments]",u="[object Array]",s="[object AsyncFunction]",c="[object Boolean]",p="[object Date]",f="[object Error]",d="[object Function]",y="[object GeneratorFunction]",h="[object Map]",v="[object Number]",I="[object Null]",k="[object Object]",S="[object Promise]",A="[object Proxy]",P="[object RegExp]",x="[object Set]",M="[object String]",V="[object Symbol]",R="[object Undefined]",D="[object WeakMap]",O="[object ArrayBuffer]",E="[object DataView]",j="[object Float32Array]",K="[object Float64Array]",H="[object Int8Array]",J="[object Int16Array]",oe="[object Int32Array]",se="[object Uint8Array]",ge="[object Uint8ClampedArray]",b="[object Uint16Array]",ve="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,m=/^\[object .+?Constructor\]$/,fe=/^(?:0|[1-9]\d*)$/,Z={};Z[j]=Z[K]=Z[H]=Z[J]=Z[oe]=Z[se]=Z[ge]=Z[b]=Z[ve]=!0,Z[a]=Z[u]=Z[O]=Z[c]=Z[E]=Z[p]=Z[f]=Z[d]=Z[h]=Z[v]=Z[k]=Z[P]=Z[x]=Z[M]=Z[D]=!1;var ue=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,Ae=typeof self=="object"&&self&&self.Object===Object&&self,ce=ue||Ae||Function("return this")(),Fe=t&&!t.nodeType&&t,le=Fe&&!0&&e&&!e.nodeType&&e,ye=le&&le.exports===Fe,Ie=ye&&ue.process,Se=function(){try{return Ie&&Ie.binding&&Ie.binding("util")}catch{}}(),ke=Se&&Se.isTypedArray;function Oe(g,C){for(var T=-1,W=g==null?0:g.length,be=0,re=[];++T<W;){var Ee=g[T];C(Ee,T,g)&&(re[be++]=Ee)}return re}function we(g,C){for(var T=-1,W=C.length,be=g.length;++T<W;)g[be+T]=C[T];return g}function Xe(g,C){for(var T=-1,W=g==null?0:g.length;++T<W;)if(C(g[T],T,g))return!0;return!1}function Kt(g,C){for(var T=-1,W=Array(g);++T<g;)W[T]=C(T);return W}function L(g){return function(C){return g(C)}}function X(g,C){return g.has(C)}function te(g,C){return g==null?void 0:g[C]}function ae(g){var C=-1,T=Array(g.size);return g.forEach(function(W,be){T[++C]=[be,W]}),T}function Be(g,C){return function(T){return g(C(T))}}function Ge(g){var C=-1,T=Array(g.size);return g.forEach(function(W){T[++C]=W}),T}var St=Array.prototype,F=Function.prototype,B=Object.prototype,z=ce["__core-js_shared__"],_=F.toString,Q=B.hasOwnProperty,We=function(){var g=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}(),lt=B.toString,Qe=RegExp("^"+_.call(Q).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=ye?ce.Buffer:void 0,at=ce.Symbol,Me=ce.Uint8Array,dt=B.propertyIsEnumerable,$e=St.splice,wt=at?at.toStringTag:void 0,da=Object.getOwnPropertySymbols,bh=bt?bt.isBuffer:void 0,yh=Be(Object.keys,Object),Jr=Rt(ce,"DataView"),en=Rt(ce,"Map"),Yr=Rt(ce,"Promise"),_r=Rt(ce,"Set"),Ur=Rt(ce,"WeakMap"),tn=Rt(Object,"create"),Ih=Pt(Jr),vh=Pt(en),Ch=Pt(Yr),xh=Pt(_r),Ah=Pt(Ur),fa=at?at.prototype:void 0,qr=fa?fa.valueOf:void 0;function Et(g){var C=-1,T=g==null?0:g.length;for(this.clear();++C<T;){var W=g[C];this.set(W[0],W[1])}}function Sh(){this.__data__=tn?tn(null):{},this.size=0}function wh(g){var C=this.has(g)&&delete this.__data__[g];return this.size-=C?1:0,C}function Eh(g){var C=this.__data__;if(tn){var T=C[g];return T===i?void 0:T}return Q.call(C,g)?C[g]:void 0}function kh(g){var C=this.__data__;return tn?C[g]!==void 0:Q.call(C,g)}function Ph(g,C){var T=this.__data__;return this.size+=this.has(g)?0:1,T[g]=tn&&C===void 0?i:C,this}Et.prototype.clear=Sh,Et.prototype.delete=wh,Et.prototype.get=Eh,Et.prototype.has=kh,Et.prototype.set=Ph;function ft(g){var C=-1,T=g==null?0:g.length;for(this.clear();++C<T;){var W=g[C];this.set(W[0],W[1])}}function Fh(){this.__data__=[],this.size=0}function Bh(g){var C=this.__data__,T=Rn(C,g);if(T<0)return!1;var W=C.length-1;return T==W?C.pop():$e.call(C,T,1),--this.size,!0}function Gh(g){var C=this.__data__,T=Rn(C,g);return T<0?void 0:C[T][1]}function Th(g){return Rn(this.__data__,g)>-1}function Vh(g,C){var T=this.__data__,W=Rn(T,g);return W<0?(++this.size,T.push([g,C])):T[W][1]=C,this}ft.prototype.clear=Fh,ft.prototype.delete=Bh,ft.prototype.get=Gh,ft.prototype.has=Th,ft.prototype.set=Vh;function kt(g){var C=-1,T=g==null?0:g.length;for(this.clear();++C<T;){var W=g[C];this.set(W[0],W[1])}}function Oh(){this.size=0,this.__data__={hash:new Et,map:new(en||ft),string:new Et}}function Nh(g){var C=Xn(this,g).delete(g);return this.size-=C?1:0,C}function Lh(g){return Xn(this,g).get(g)}function Dh(g){return Xn(this,g).has(g)}function Mh(g,C){var T=Xn(this,g),W=T.size;return T.set(g,C),this.size+=T.size==W?0:1,this}kt.prototype.clear=Oh,kt.prototype.delete=Nh,kt.prototype.get=Lh,kt.prototype.has=Dh,kt.prototype.set=Mh;function Mn(g){var C=-1,T=g==null?0:g.length;for(this.__data__=new kt;++C<T;)this.add(g[C])}function Rh(g){return this.__data__.set(g,i),this}function Xh(g){return this.__data__.has(g)}Mn.prototype.add=Mn.prototype.push=Rh,Mn.prototype.has=Xh;function yt(g){var C=this.__data__=new ft(g);this.size=C.size}function zh(){this.__data__=new ft,this.size=0}function Hh(g){var C=this.__data__,T=C.delete(g);return this.size=C.size,T}function Wh(g){return this.__data__.get(g)}function Zh(g){return this.__data__.has(g)}function jh(g,C){var T=this.__data__;if(T instanceof ft){var W=T.__data__;if(!en||W.length<n-1)return W.push([g,C]),this.size=++T.size,this;T=this.__data__=new kt(W)}return T.set(g,C),this.size=T.size,this}yt.prototype.clear=zh,yt.prototype.delete=Hh,yt.prototype.get=Wh,yt.prototype.has=Zh,yt.prototype.set=jh;function Jh(g,C){var T=zn(g),W=!T&&am(g),be=!T&&!W&&Qr(g),re=!T&&!W&&!be&&xa(g),Ee=T||W||be||re,Te=Ee?Kt(g.length,String):[],Ne=Te.length;for(var Ce in g)Q.call(g,Ce)&&!(Ee&&(Ce=="length"||be&&(Ce=="offset"||Ce=="parent")||re&&(Ce=="buffer"||Ce=="byteLength"||Ce=="byteOffset")||nm(Ce,Ne)))&&Te.push(Ce);return Te}function Rn(g,C){for(var T=g.length;T--;)if(ya(g[T][0],C))return T;return-1}function Yh(g,C,T){var W=C(g);return zn(g)?W:we(W,T(g))}function nn(g){return g==null?g===void 0?R:I:wt&&wt in Object(g)?em(g):lm(g)}function ga(g){return rn(g)&&nn(g)==a}function ha(g,C,T,W,be){return g===C?!0:g==null||C==null||!rn(g)&&!rn(C)?g!==g&&C!==C:_h(g,C,T,W,ha,be)}function _h(g,C,T,W,be,re){var Ee=zn(g),Te=zn(C),Ne=Ee?u:It(g),Ce=Te?u:It(C);Ne=Ne==a?k:Ne,Ce=Ce==a?k:Ce;var Je=Ne==k,Ke=Ce==k,Re=Ne==Ce;if(Re&&Qr(g)){if(!Qr(C))return!1;Ee=!0,Je=!1}if(Re&&!Je)return re||(re=new yt),Ee||xa(g)?ma(g,C,T,W,be,re):$h(g,C,Ne,T,W,be,re);if(!(T&r)){var Ue=Je&&Q.call(g,"__wrapped__"),qe=Ke&&Q.call(C,"__wrapped__");if(Ue||qe){var vt=Ue?g.value():g,gt=qe?C.value():C;return re||(re=new yt),be(vt,gt,T,W,re)}}return Re?(re||(re=new yt),Kh(g,C,T,W,be,re)):!1}function Uh(g){if(!Ca(g)||im(g))return!1;var C=Ia(g)?Qe:m;return C.test(Pt(g))}function qh(g){return rn(g)&&va(g.length)&&!!Z[nn(g)]}function Qh(g){if(!om(g))return yh(g);var C=[];for(var T in Object(g))Q.call(g,T)&&T!="constructor"&&C.push(T);return C}function ma(g,C,T,W,be,re){var Ee=T&r,Te=g.length,Ne=C.length;if(Te!=Ne&&!(Ee&&Ne>Te))return!1;var Ce=re.get(g);if(Ce&&re.get(C))return Ce==C;var Je=-1,Ke=!0,Re=T&o?new Mn:void 0;for(re.set(g,C),re.set(C,g);++Je<Te;){var Ue=g[Je],qe=C[Je];if(W)var vt=Ee?W(qe,Ue,Je,C,g,re):W(Ue,qe,Je,g,C,re);if(vt!==void 0){if(vt)continue;Ke=!1;break}if(Re){if(!Xe(C,function(gt,Ft){if(!X(Re,Ft)&&(Ue===gt||be(Ue,gt,T,W,re)))return Re.push(Ft)})){Ke=!1;break}}else if(!(Ue===qe||be(Ue,qe,T,W,re))){Ke=!1;break}}return re.delete(g),re.delete(C),Ke}function $h(g,C,T,W,be,re,Ee){switch(T){case E:if(g.byteLength!=C.byteLength||g.byteOffset!=C.byteOffset)return!1;g=g.buffer,C=C.buffer;case O:return!(g.byteLength!=C.byteLength||!re(new Me(g),new Me(C)));case c:case p:case v:return ya(+g,+C);case f:return g.name==C.name&&g.message==C.message;case P:case M:return g==C+"";case h:var Te=ae;case x:var Ne=W&r;if(Te||(Te=Ge),g.size!=C.size&&!Ne)return!1;var Ce=Ee.get(g);if(Ce)return Ce==C;W|=o,Ee.set(g,C);var Je=ma(Te(g),Te(C),W,be,re,Ee);return Ee.delete(g),Je;case V:if(qr)return qr.call(g)==qr.call(C)}return!1}function Kh(g,C,T,W,be,re){var Ee=T&r,Te=ba(g),Ne=Te.length,Ce=ba(C),Je=Ce.length;if(Ne!=Je&&!Ee)return!1;for(var Ke=Ne;Ke--;){var Re=Te[Ke];if(!(Ee?Re in C:Q.call(C,Re)))return!1}var Ue=re.get(g);if(Ue&&re.get(C))return Ue==C;var qe=!0;re.set(g,C),re.set(C,g);for(var vt=Ee;++Ke<Ne;){Re=Te[Ke];var gt=g[Re],Ft=C[Re];if(W)var Aa=Ee?W(Ft,gt,Re,C,g,re):W(gt,Ft,Re,g,C,re);if(!(Aa===void 0?gt===Ft||be(gt,Ft,T,W,re):Aa)){qe=!1;break}vt||(vt=Re=="constructor")}if(qe&&!vt){var Hn=g.constructor,Wn=C.constructor;Hn!=Wn&&"constructor"in g&&"constructor"in C&&!(typeof Hn=="function"&&Hn instanceof Hn&&typeof Wn=="function"&&Wn instanceof Wn)&&(qe=!1)}return re.delete(g),re.delete(C),qe}function ba(g){return Yh(g,cm,tm)}function Xn(g,C){var T=g.__data__;return rm(C)?T[typeof C=="string"?"string":"hash"]:T.map}function Rt(g,C){var T=te(g,C);return Uh(T)?T:void 0}function em(g){var C=Q.call(g,wt),T=g[wt];try{g[wt]=void 0;var W=!0}catch{}var be=lt.call(g);return W&&(C?g[wt]=T:delete g[wt]),be}var tm=da?function(g){return g==null?[]:(g=Object(g),Oe(da(g),function(C){return dt.call(g,C)}))}:pm,It=nn;(Jr&&It(new Jr(new ArrayBuffer(1)))!=E||en&&It(new en)!=h||Yr&&It(Yr.resolve())!=S||_r&&It(new _r)!=x||Ur&&It(new Ur)!=D)&&(It=function(g){var C=nn(g),T=C==k?g.constructor:void 0,W=T?Pt(T):"";if(W)switch(W){case Ih:return E;case vh:return h;case Ch:return S;case xh:return x;case Ah:return D}return C});function nm(g,C){return C=C??l,!!C&&(typeof g=="number"||fe.test(g))&&g>-1&&g%1==0&&g<C}function rm(g){var C=typeof g;return C=="string"||C=="number"||C=="symbol"||C=="boolean"?g!=="__proto__":g===null}function im(g){return!!We&&We in g}function om(g){var C=g&&g.constructor,T=typeof C=="function"&&C.prototype||B;return g===T}function lm(g){return lt.call(g)}function Pt(g){if(g!=null){try{return _.call(g)}catch{}try{return g+""}catch{}}return""}function ya(g,C){return g===C||g!==g&&C!==C}var am=ga(function(){return arguments}())?ga:function(g){return rn(g)&&Q.call(g,"callee")&&!dt.call(g,"callee")},zn=Array.isArray;function um(g){return g!=null&&va(g.length)&&!Ia(g)}var Qr=bh||dm;function sm(g,C){return ha(g,C)}function Ia(g){if(!Ca(g))return!1;var C=nn(g);return C==d||C==y||C==s||C==A}function va(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=l}function Ca(g){var C=typeof g;return g!=null&&(C=="object"||C=="function")}function rn(g){return g!=null&&typeof g=="object"}var xa=ke?L(ke):qh;function cm(g){return um(g)?Jh(g):Qh(g)}function pm(){return[]}function dm(){return!1}e.exports=sm}(yn,yn.exports);var Yp=yn.exports;const Fo=ci(Yp),Bo=w.createContext(void 0),st=()=>{const e=w.useContext(Bo);if(!e)throw new Error("Must be used inside FrontendClientProvider");return e},_p=({children:e,client:t})=>{const n=new ut.QueryClient({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1}}});return G.jsx(ut.QueryClientProvider,{client:n,children:G.jsx(Bo.Provider,{value:t,children:e})})};function Go(e){return typeof e=="object"&&e&&"__lv"in e?e.__lv.value:e}function Up(e){if(typeof e=="object"&&e&&"selectedOptions"in e&&Array.isArray(e.selectedOptions)){const t=e.selectedOptions,n=[];for(const i of t)if(typeof i=="object"&&i&&"emitValue"in i){const r=i.emitValue;typeof r=="object"&&r&&"__lv"in r?n.push(r.__lv.value):n.push(r)}else return[];return n}return e&&typeof e=="object"&&Array.isArray(e.__lv)?e.__lv:Array.isArray(e)?e:[]}function qp(e){const t=Up(e.value);if(!e.prop.default&&typeof t>"u")return["required"];if(!e.prop.default&&Array.isArray(t)&&!t.length)return["empty array"]}function Qp(e){const t=Go(e.value);if(t==null||typeof t>"u")return["required"]}function $p(e){const{prop:t,value:n}=e,i=Go(n);if(!t.default&&(i==null||typeof i>"u"))return["required"];const r=typeof i=="number"?i:parseInt(String(i));if(Number.isNaN(r))return["not a number"];const o=[];return typeof t.min=="number"&&r<t.min&&o.push("number too small"),typeof t.max=="number"&&r>t.max&&o.push("number too big"),o}function Kp(e){const{prop:t,value:n}=e;if(!t.default&&(n==null||typeof n>"u"))return["required"]}function ed(e){const t=e.authType==="oauth",n=JSON.parse(e.customFieldsJson||"[]");if("extracted_custom_fields_names"in e&&e.extracted_custom_fields_names){const i=(e.extracted_custom_fields_names||[]).map(r=>({name:r}));n.push(...i)}return n.map(i=>({...i,optional:i.optional||t}))}function td(e){const{app:t,value:n}=e;if(!t)return["app field not registered"];if(!t.authType)return;if(!n)return["no app configured"];if(typeof n!="object")return["not an app"];const i=n;if("authProvisionId"in i&&!i.authProvisionId){const r=[];if(t.authType==="oauth"&&!i.oauth_access_token&&r.push("missing oauth token"),t.authType==="oauth"||t.authType==="keys"){const o=ed(t),l=i;for(const a of o)!a.optional&&!l[a.name]&&r.push(`missing custom field: ${a.name}`)}return r}}const nd=(e,t)=>{if(e!==void 0&&e!=="")return t!==void 0&&t!==""?{resolvedId:e,warningType:"both"}:{resolvedId:e};if(t!==void 0&&t!=="")return{resolvedId:t,warningType:"deprecated"};throw new Error("Either externalUserId or userId must be provided")};function rt(e,t){return e.type===t}function Ar(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&"value"in e&&(typeof e.value=="string"||typeof e.value=="number")}function Ve(e){if(e==null)return{label:"",value:""};if(typeof e!="object")return{label:String(e),value:e};if("__lv"in e)return Ve(e.__lv);if("lv"in e)return Ve(e.lv);if("value"in e){const{label:t,value:n}=e;return{label:String(t||n),value:n}}return{label:String(e),value:e}}function Sr(e){return!e||typeof e!="object"||!("__lv"in e)?!1:e.__lv!=null}function To(e){return!Array.isArray(e)||e.length===0?!1:e.every(t=>Sr(t))}function rd(e){return Sr(e)||To(e)}const Yt=["$.service.db","$.interface.http","$.interface.apphook","$.interface.timer","dir"],wr=w.createContext(void 0),_t=()=>{const e=w.useContext(wr);if(!e)throw new Error("Must be used inside provider");return e},Vo=({children:e,props:t})=>{const n=st(),i=w.useId(),{component:r,configuredProps:o,propNames:l,externalUserId:a,userId:u,sdkResponse:s,enableDebugging:c,oauthAppConfig:p}=t,{resolvedId:f,warningType:d}=w.useMemo(()=>nd(a,u),[a,u]);w.useEffect(()=>{process.env.NODE_ENV!=="production"&&(d==="both"?console.warn("[connect-react] Both externalUserId and userId provided. Using externalUserId. Please remove userId to avoid this warning."):d==="deprecated"&&console.warn("[connect-react] userId is deprecated. Please use externalUserId instead."))},[d]);const y=r.key,[h,v]=w.useState(0),[I,k]=w.useState({}),[S,A]=w.useState(!1),[P,x]=w.useState({}),[M,V]=w.useState([]),[R,D]=w.useState({});w.useEffect(()=>{D({})},[r.key]);const O=L=>R[L.name];let E=o||{};const[j,K]=w.useState(E),H=t.onUpdateConfiguredProps||K;t.onUpdateConfiguredProps||(E=j);const[J,oe]=w.useState(),[se,ge]=w.useState(),b={externalUserId:f,id:y,configuredProps:E,dynamicPropsId:J==null?void 0:J.id},ve={...b},{isFetching:ie}=ut.useQuery({queryKey:["dynamicProps",ve],queryFn:async()=>{var Ge;const L=await n.components.reloadProps(b),{dynamicProps:X,observations:te,errors:ae}=L,Be=X;return te&&te.filter(St=>St.k==="error").length>0?Xe(te):Xe(ae),X&&Be&&((Ge=t.onUpdateDynamicProps)==null||Ge.call(t,X),oe(Be)),ge(void 0),[]},enabled:se!=null}),[m,fe]=w.useState([]);w.useEffect(()=>{Oe()},[E]);const Z=w.useMemo(()=>{let L=(J==null?void 0:J.configurableProps)||t.component.configurableProps||[];if(l!=null&&l.length){const X=[];for(const te of L)l.findIndex(ae=>te.name===ae)>=0&&X.push(te);L=X}return se!=null&&(L=Array.isArray(L)?L.slice(0,se+1):L),L},[J==null?void 0:J.configurableProps,t.component.configurableProps,l,se]),ue=(L,X)=>{const te=[];if(L.optional||L.hidden||L.disabled||Yt.includes(L.type))return[];if(rt(L,"app")){const ae=I[L.name];if(ae){const Be="app"in ae.extra?ae.extra.app:void 0;te.push(...td({prop:L,value:X,app:Be})??[])}else te.push("field not registered")}else rt(L,"boolean")?te.push(...Qp({prop:L,value:X})??[]):rt(L,"integer")?te.push(...$p({prop:L,value:X})??[]):rt(L,"string")?te.push(...Kp({prop:L,value:X})??[]):rt(L,"string[]")&&te.push(...qp({prop:L,value:X})??[]);return te},Ae=L=>{let X;for(let te=0;te<Z.length;te++){const ae=Z[te];if(ae.hidden||ae.optional&&!O(ae))continue;if(L[ae.name]===void 0&&X==null&&(ae.type==="app"||ae.remoteOptions)){X=te;break}}v(X)},ce=L=>{H(L),Ae(L),Fe(L)},Fe=L=>{const X={};for(let te=0;te<Z.length;te++){const ae=Z[te],Be=L[ae.name],Ge=ue(ae,Be);Ge.length&&(X[ae.name]=Ge)}x(X)},le=(L,X)=>L.type!=="integer"||typeof X=="number"||rd(X)?X:void 0;w.useEffect(()=>{Ae(E)},[r.key,Z,R]),w.useEffect(()=>{Ae(E)},[E,Z,R]),w.useEffect(()=>{Fe(E)},[E,se,h]),w.useEffect(()=>{Xe(s)},[s]),w.useEffect(()=>{const L={};for(const X of Z){if(X.hidden||Yt.includes(X.type))continue;if(X.optional&&!O(X)){const ae=E[X.name];ae!==void 0&&(L[X.name]=ae);continue}const te=E[X.name];if(te===void 0)"default"in X&&X.default!=null&&(L[X.name]=X.default);else{const ae=le(X,te);ae===void 0?delete L[X.name]:L[X.name]=ae}}Fo(L,E)||ce(L)},[Z,R,E]);const[ye,Ie]=w.useState(f);w.useEffect(()=>{ye!==f&&(ce({}),Ie(f))},[f]);const Se=(L,X)=>{const te=Z[L],ae={...E};X===void 0?delete ae[te.name]:ae[te.name]=X,H(ae),te.reloadProps&&ge(L);const Be=ue(te,X),Ge={...P};Be.length?Ge[te.name]=Be:delete Ge[te.name],x(Ge)},ke=(L,X)=>{const te={...R};X?te[L.name]=!0:delete te[L.name];const ae=Z.findIndex(Be=>Be.name===L.name);X?(o==null?void 0:o[L.name])!==void 0?Se(ae,o[L.name]):"default"in L&&L.default!=null&&Se(ae,L.default):Se(ae,void 0),D(te)};w.useEffect(()=>{for(const L of Z)!L.optional||R[L.name]||E[L.name]===void 0||ke(L,!0)},[r.key,Z,E,R,ke]);const Oe=()=>{const L=[];for(const X of Z){if(!X||X.optional||X.hidden||Yt.includes(X.type))continue;const te=E[X.name];ue(X,te).length&&L.push(X.name)}L&&m&&Fo(L,m)||fe(L)},we=L=>{k(X=>(X[L.prop.name]=L,X)),Oe()},Xe=L=>{if(!L)return;let X=[...M];const te=(B,z)=>{try{const _=JSON.parse(B),Q={name:_.name,message:_.message};Q.name&&Q.message&&z.push(Q)}catch{}},ae=(B,z)=>{const _={name:B.name,message:B.message};_.name&&_.message&&z.push(_)},Be=(B,z)=>{if(!(!("err"in B)||!B.err)&&B.err.name&&B.err.message){const _={name:B.err.name,message:B.err.message};z.push(_)}},Ge=(B,z)=>{if(Array.isArray(B)&&B.length>0)for(let _=0;_<B.length;_++)B[_].k==="error"&&Be(B[_],z)},St=(B,z)=>{z.push({name:B.error,message:JSON.stringify(B.details)})},F=(B,z)=>{var _;try{const Q=(_=JSON.parse(B.message))==null?void 0:_.data;Q&&"os"in Q?Ge(Q.os,z):Q&&"observations"in Q?Ge(Q.observations,z):Q&&"error"in Q&&"details"in Q&&St(Q,z)}catch{}};if(Array.isArray(L)&&L.length>0)for(let B=0;B<L.length;B++){const z=L[B];typeof z=="string"?te(z,X):typeof z=="object"&&"name"in z&&"message"in z&&"stack"in z?ae(z,X):typeof z=="object"&&z.k==="error"&&Be(z,X)}else typeof L=="object"&&L&&"observations"in L?Ge(L.observations,X):typeof L=="object"&&L&&"os"in L?Ge(L.os,X):typeof L=="object"&&"message"in L?F(L,X):X=[];V(X)},Kt={id:i,isValid:!Object.keys(P).length,props:t,externalUserId:f,userId:f,component:r,configurableProps:Z,configuredProps:E,dynamicProps:J,dynamicPropsQueryIsFetching:ie,errors:P,fields:I,optionalPropIsEnabled:O,optionalPropSetEnabled:ke,propsNeedConfiguring:m,queryDisabledIdx:h,registerField:we,setConfiguredProp:Se,setSubmitting:A,submitting:S,sdkErrors:M,enableDebugging:c,oauthAppConfig:p};return G.jsx(wr.Provider,{value:Kt,children:e})};function At(e){"@babel/helpers - typeof";return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},At(e)}function id(e,t){if(At(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(At(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Oo(e){var t=id(e,"string");return At(t)=="symbol"?t:t+""}function Ut(e,t,n){return(t=Oo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function No(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?No(Object(n),!0).forEach(function(i){Ut(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):No(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function od(e){if(Array.isArray(e))return e}function ld(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,r,o,l,a=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);u=!0);}catch(c){s=!0,r=c}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return a}}function Er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Lo(e,t){if(e){if(typeof e=="string")return Er(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Er(e,t):void 0}}function ad(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ct(e,t){return od(e)||ld(e,t)||Lo(e,t)||ad()}function ud(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}function it(e,t){if(e==null)return{};var n,i,r=ud(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var sd=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Do(e){var t=e.defaultInputValue,n=t===void 0?"":t,i=e.defaultMenuIsOpen,r=i===void 0?!1:i,o=e.defaultValue,l=o===void 0?null:o,a=e.inputValue,u=e.menuIsOpen,s=e.onChange,c=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,d=e.value,y=it(e,sd),h=w.useState(a!==void 0?a:n),v=ct(h,2),I=v[0],k=v[1],S=w.useState(u!==void 0?u:r),A=ct(S,2),P=A[0],x=A[1],M=w.useState(d!==void 0?d:l),V=ct(M,2),R=V[0],D=V[1],O=w.useCallback(function(se,ge){typeof s=="function"&&s(se,ge),D(se)},[s]),E=w.useCallback(function(se,ge){var b;typeof c=="function"&&(b=c(se,ge)),k(b!==void 0?b:se)},[c]),j=w.useCallback(function(){typeof f=="function"&&f(),x(!0)},[f]),K=w.useCallback(function(){typeof p=="function"&&p(),x(!1)},[p]),H=a!==void 0?a:I,J=u!==void 0?u:P,oe=d!==void 0?d:R;return U(U({},y),{},{inputValue:H,menuIsOpen:J,onChange:O,onInputChange:E,onMenuClose:K,onMenuOpen:j,value:oe})}function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$.apply(null,arguments)}function cd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Oo(i.key),i)}}function pd(e,t,n){return t&&Mo(e.prototype,t),n&&Mo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function kr(e,t){return kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},kr(e,t)}function dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kr(e,t)}function In(e){return In=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},In(e)}function Ro(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ro=function(){return!!e})()}function fd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gd(e,t){if(t&&(At(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fd(e)}function hd(e){var t=Ro();return function(){var n,i=In(e);if(t){var r=In(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return gd(this,n)}}function md(e){if(Array.isArray(e))return Er(e)}function bd(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yd(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
17
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lt(e){return md(e)||bd(e)||Lo(e)||yd()}function Id(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const vd=Math.min,Cd=Math.max,vn=Math.round,Cn=Math.floor,xn=e=>({x:e,y:e});function xd(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function An(){return typeof window<"u"}function Xo(e){return Ho(e)?(e.nodeName||"").toLowerCase():"#document"}function pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function zo(e){var t;return(t=(Ho(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ho(e){return An()?e instanceof Node||e instanceof pt(e).Node:!1}function Ad(e){return An()?e instanceof Element||e instanceof pt(e).Element:!1}function Pr(e){return An()?e instanceof HTMLElement||e instanceof pt(e).HTMLElement:!1}function Wo(e){return!An()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pt(e).ShadowRoot}function Zo(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=Fr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function Sd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wd(e){return["html","body","#document"].includes(Xo(e))}function Fr(e){return pt(e).getComputedStyle(e)}function Ed(e){if(Xo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wo(e)&&e.host||zo(e);return Wo(t)?t.host:t}function jo(e){const t=Ed(e);return wd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pr(t)&&Zo(t)?t:jo(t)}function Sn(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=jo(e),o=r===((i=e.ownerDocument)==null?void 0:i.body),l=pt(r);if(o){const a=Br(l);return t.concat(l,l.visualViewport||[],Zo(r)?r:[],a&&n?Sn(a):[])}return t.concat(r,Sn(r,[],n))}function Br(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function kd(e){const t=Fr(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=Pr(e),o=r?e.offsetWidth:n,l=r?e.offsetHeight:i,a=vn(n)!==o||vn(i)!==l;return a&&(n=o,i=l),{width:n,height:i,$:a}}function Gr(e){return Ad(e)?e:e.contextElement}function Jo(e){const t=Gr(e);if(!Pr(t))return xn(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:o}=kd(t);let l=(o?vn(n.width):n.width)/i,a=(o?vn(n.height):n.height)/r;return(!l||!Number.isFinite(l))&&(l=1),(!a||!Number.isFinite(a))&&(a=1),{x:l,y:a}}const Pd=xn(0);function Fd(e){const t=pt(e);return!Sd()||!t.visualViewport?Pd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Bd(e,t,n){return!1}function Yo(e,t,n,i){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),o=Gr(e);let l=xn(1);t&&(l=Jo(e));const a=Bd()?Fd(o):xn(0);let u=(r.left+a.x)/l.x,s=(r.top+a.y)/l.y,c=r.width/l.x,p=r.height/l.y;if(o){const f=pt(o),d=i;let y=f,h=Br(y);for(;h&&i&&d!==y;){const v=Jo(h),I=h.getBoundingClientRect(),k=Fr(h),S=I.left+(h.clientLeft+parseFloat(k.paddingLeft))*v.x,A=I.top+(h.clientTop+parseFloat(k.paddingTop))*v.y;u*=v.x,s*=v.y,c*=v.x,p*=v.y,u+=S,s+=A,y=pt(h),h=Br(y)}}return xd({width:c,height:p,x:u,y:s})}function Gd(e,t){let n=null,i;const r=zo(e);function o(){var a;clearTimeout(i),(a=n)==null||a.disconnect(),n=null}function l(a,u){a===void 0&&(a=!1),u===void 0&&(u=1),o();const{left:s,top:c,width:p,height:f}=e.getBoundingClientRect();if(a||t(),!p||!f)return;const d=Cn(c),y=Cn(r.clientWidth-(s+p)),h=Cn(r.clientHeight-(c+f)),v=Cn(s),k={rootMargin:-d+"px "+-y+"px "+-h+"px "+-v+"px",threshold:Cd(0,vd(1,u))||1};let S=!0;function A(P){const x=P[0].intersectionRatio;if(x!==u){if(!S)return l();x?l(!1,x):i=setTimeout(()=>{l(!1,1e-7)},1e3)}S=!1}try{n=new IntersectionObserver(A,{...k,root:r.ownerDocument})}catch{n=new IntersectionObserver(A,k)}n.observe(e)}return l(!0),o}function Td(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:u=!1}=i,s=Gr(e),c=r||o?[...s?Sn(s):[],...Sn(t)]:[];c.forEach(I=>{r&&I.addEventListener("scroll",n,{passive:!0}),o&&I.addEventListener("resize",n)});const p=s&&a?Gd(s,n):null;let f=-1,d=null;l&&(d=new ResizeObserver(I=>{let[k]=I;k&&k.target===s&&d&&(d.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var S;(S=d)==null||S.observe(t)})),n()}),s&&!u&&d.observe(s),d.observe(t));let y,h=u?Yo(e):null;u&&v();function v(){const I=Yo(e);h&&(I.x!==h.x||I.y!==h.y||I.width!==h.width||I.height!==h.height)&&n(),h=I,y=requestAnimationFrame(v)}return n(),()=>{var I;c.forEach(k=>{r&&k.removeEventListener("scroll",n),o&&k.removeEventListener("resize",n)}),p==null||p(),(I=d)==null||I.disconnect(),d=null,u&&cancelAnimationFrame(y)}}var Tr=w.useLayoutEffect,Vd=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],wn=function(){};function Od(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Nd(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var o=[].concat(i);if(t&&e)for(var l in t)t.hasOwnProperty(l)&&t[l]&&o.push("".concat(Od(e,l)));return o.filter(function(a){return a}).map(function(a){return String(a).trim()}).join(" ")}var En=function(t){return Zd(t)?t.filter(Boolean):At(t)==="object"&&t!==null?[t]:[]},_o=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=it(t,Vd);return U({},n)},xe=function(t,n,i){var r=t.cx,o=t.getStyles,l=t.getClassNames,a=t.className;return{css:o(n,t),className:r(i??{},l(n,t),a)}};function kn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ld(e){return kn(e)?window.innerHeight:e.clientHeight}function Uo(e){return kn(e)?window.pageYOffset:e.scrollTop}function Pn(e,t){if(kn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Dd(e){var t=getComputedStyle(e),n=t.position==="absolute",i=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function Md(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}function Fn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:wn,r=Uo(e),o=t-r,l=10,a=0;function u(){a+=l;var s=Md(a,r,o,n);Pn(e,s),a<n?window.requestAnimationFrame(u):i(e)}u()}function qo(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Pn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Pn(e,Math.max(t.offsetTop-r,0))}function Rd(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Qo(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Xd(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var $o=!1,zd={get passive(){return $o=!0}},Bn=typeof window<"u"?window:{};Bn.addEventListener&&Bn.removeEventListener&&(Bn.addEventListener("p",wn,zd),Bn.removeEventListener("p",wn,!1));var Hd=$o;function Wd(e){return e!=null}function Zd(e){return Array.isArray(e)}function qt(e,t,n){return e?t:n}function wm(e){return e}function Em(e){return e}var jd=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=Object.entries(t).filter(function(l){var a=ct(l,1),u=a[0];return!i.includes(u)});return o.reduce(function(l,a){var u=ct(a,2),s=u[0],c=u[1];return l[s]=c,l},{})},Jd=["children","innerProps"],Yd=["children","innerProps"];function _d(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,o=e.shouldScroll,l=e.isFixedPosition,a=e.controlHeight,u=Dd(n),s={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return s;var c=u.getBoundingClientRect(),p=c.height,f=n.getBoundingClientRect(),d=f.bottom,y=f.height,h=f.top,v=n.offsetParent.getBoundingClientRect(),I=v.top,k=l?window.innerHeight:Ld(u),S=Uo(u),A=parseInt(getComputedStyle(n).marginBottom,10),P=parseInt(getComputedStyle(n).marginTop,10),x=I-P,M=k-h,V=x+S,R=p-S-h,D=d-k+S+A,O=S+h-P,E=160;switch(r){case"auto":case"bottom":if(M>=y)return{placement:"bottom",maxHeight:t};if(R>=y&&!l)return o&&Fn(u,D,E),{placement:"bottom",maxHeight:t};if(!l&&R>=i||l&&M>=i){o&&Fn(u,D,E);var j=l?M-A:R-A;return{placement:"bottom",maxHeight:j}}if(r==="auto"||l){var K=t,H=l?x:V;return H>=i&&(K=Math.min(H-A-a,t)),{placement:"top",maxHeight:K}}if(r==="bottom")return o&&Pn(u,D),{placement:"bottom",maxHeight:t};break;case"top":if(x>=y)return{placement:"top",maxHeight:t};if(V>=y&&!l)return o&&Fn(u,O,E),{placement:"top",maxHeight:t};if(!l&&V>=i||l&&x>=i){var J=t;return(!l&&V>=i||l&&x>=i)&&(J=l?x-P:V-P),o&&Fn(u,O,E),{placement:"top",maxHeight:J}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function Ud(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Ko=function(t){return t==="auto"?"bottom":t},qd=function(t,n){var i,r=t.placement,o=t.theme,l=o.borderRadius,a=o.spacing,u=o.colors;return U((i={label:"menu"},Ut(i,Ud(r),"100%"),Ut(i,"position","absolute"),Ut(i,"width","100%"),Ut(i,"zIndex",1),i),n?{}:{backgroundColor:u.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},el=w.createContext(null),Qd=function(t){var n=t.children,i=t.minMenuHeight,r=t.maxMenuHeight,o=t.menuPlacement,l=t.menuPosition,a=t.menuShouldScrollIntoView,u=t.theme,s=w.useContext(el)||{},c=s.setPortalPlacement,p=w.useRef(null),f=w.useState(r),d=ct(f,2),y=d[0],h=d[1],v=w.useState(null),I=ct(v,2),k=I[0],S=I[1],A=u.spacing.controlHeight;return Tr(function(){var P=p.current;if(P){var x=l==="fixed",M=a&&!x,V=_d({maxHeight:r,menuEl:P,minHeight:i,placement:o,shouldScroll:M,isFixedPosition:x,controlHeight:A});h(V.maxHeight),S(V.placement),c==null||c(V.placement)}},[r,o,l,a,i,c,A]),n({ref:p,placerProps:U(U({},t),{},{placement:k||Ko(o),maxHeight:y})})},$d=function(t){var n=t.children,i=t.innerRef,r=t.innerProps;return Y.jsx("div",$({},xe(t,"menu",{menu:!0}),{ref:i},r),n)},Kd=$d,ef=function(t,n){var i=t.maxHeight,r=t.theme.spacing.baseUnit;return U({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},tf=function(t){var n=t.children,i=t.innerProps,r=t.innerRef,o=t.isMulti;return Y.jsx("div",$({},xe(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},i),n)},tl=function(t,n){var i=t.theme,r=i.spacing.baseUnit,o=i.colors;return U({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},nf=tl,rf=tl,of=function(t){var n=t.children,i=n===void 0?"No options":n,r=t.innerProps,o=it(t,Jd);return Y.jsx("div",$({},xe(U(U({},o),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},lf=function(t){var n=t.children,i=n===void 0?"Loading...":n,r=t.innerProps,o=it(t,Yd);return Y.jsx("div",$({},xe(U(U({},o),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},af=function(t){var n=t.rect,i=t.offset,r=t.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},uf=function(t){var n=t.appendTo,i=t.children,r=t.controlElement,o=t.innerProps,l=t.menuPlacement,a=t.menuPosition,u=w.useRef(null),s=w.useRef(null),c=w.useState(Ko(l)),p=ct(c,2),f=p[0],d=p[1],y=w.useMemo(function(){return{setPortalPlacement:d}},[]),h=w.useState(null),v=ct(h,2),I=v[0],k=v[1],S=w.useCallback(function(){if(r){var M=Rd(r),V=a==="fixed"?0:window.pageYOffset,R=M[f]+V;(R!==(I==null?void 0:I.offset)||M.left!==(I==null?void 0:I.rect.left)||M.width!==(I==null?void 0:I.rect.width))&&k({offset:R,rect:M})}},[r,a,f,I==null?void 0:I.offset,I==null?void 0:I.rect.left,I==null?void 0:I.rect.width]);Tr(function(){S()},[S]);var A=w.useCallback(function(){typeof s.current=="function"&&(s.current(),s.current=null),r&&u.current&&(s.current=Td(r,u.current,S,{elementResize:"ResizeObserver"in window}))},[r,S]);Tr(function(){A()},[A]);var P=w.useCallback(function(M){u.current=M,A()},[A]);if(!n&&a!=="fixed"||!I)return null;var x=Y.jsx("div",$({ref:P},xe(U(U({},t),{},{offset:I.offset,position:a,rect:I.rect}),"menuPortal",{"menu-portal":!0}),o),i);return Y.jsx(el.Provider,{value:y},n?Sa.createPortal(x,n):x)},sf=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},cf=function(t){var n=t.children,i=t.innerProps,r=t.isDisabled,o=t.isRtl;return Y.jsx("div",$({},xe(t,"container",{"--is-disabled":r,"--is-rtl":o}),i),n)},pf=function(t,n){var i=t.theme.spacing,r=t.isMulti,o=t.hasValue,l=t.selectProps.controlShouldRenderValue;return U({alignItems:"center",display:r&&o&&l?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},df=function(t){var n=t.children,i=t.innerProps,r=t.isMulti,o=t.hasValue;return Y.jsx("div",$({},xe(t,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),i),n)},ff=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},gf=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",$({},xe(t,"indicatorsContainer",{indicators:!0}),i),n)},nl,hf=["size"],mf=["innerProps","isRtl","size"];function bf(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var yf=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09P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c2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:bf},rl=function(t){var n=t.size,i=it(t,hf);return Y.jsx("svg",$({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:yf},i))},Vr=function(t){return Y.jsx(rl,$({size:20},t),Y.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},il=function(t){return Y.jsx(rl,$({size:20},t),Y.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ol=function(t,n){var i=t.isFocused,r=t.theme,o=r.spacing.baseUnit,l=r.colors;return U({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?l.neutral60:l.neutral20,padding:o*2,":hover":{color:i?l.neutral80:l.neutral40}})},If=ol,vf=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",$({},xe(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||Y.jsx(il,null))},Cf=ol,xf=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",$({},xe(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||Y.jsx(Vr,null))},Af=function(t,n){var i=t.isDisabled,r=t.theme,o=r.spacing.baseUnit,l=r.colors;return U({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?l.neutral10:l.neutral20,marginBottom:o*2,marginTop:o*2})},Sf=function(t){var n=t.innerProps;return Y.jsx("span",$({},n,xe(t,"indicatorSeparator",{"indicator-separator":!0})))},wf=Y.keyframes(nl||(nl=Id([`
14
+ `}),n}function go(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function ho(e,t){const n=Gp(e,t),i=n.one(e,void 0),r=Ip(n),o=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return r&&o.children.push({type:"text",value:`
15
+ `},r),o}function Np(e,t){return e&&"run"in e?async function(n,i){const r=ho(n,{file:i,...t});await e.run(r,i)}:function(n,i){return ho(n,{file:i,...e||t})}}function mo(e){if(e)throw e}var mn=Object.prototype.hasOwnProperty,bo=Object.prototype.toString,yo=Object.defineProperty,Io=Object.getOwnPropertyDescriptor,vo=function(t){return typeof Array.isArray=="function"?Array.isArray(t):bo.call(t)==="[object Array]"},Co=function(t){if(!t||bo.call(t)!=="[object Object]")return!1;var n=mn.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&mn.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!i)return!1;var r;for(r in t);return typeof r>"u"||mn.call(t,r)},xo=function(t,n){yo&&n.name==="__proto__"?yo(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Ao=function(t,n){if(n==="__proto__")if(mn.call(t,n)){if(Io)return Io(t,n).value}else return;return t[n]},Dp=function e(){var t,n,i,r,o,l,a=arguments[0],u=1,s=arguments.length,c=!1;for(typeof a=="boolean"&&(c=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<s;++u)if(t=arguments[u],t!=null)for(n in t)i=Ao(a,n),r=Ao(t,n),a!==r&&(c&&r&&(Co(r)||(o=vo(r)))?(o?(o=!1,l=i&&vo(i)?i:[]):l=i&&Co(i)?i:{},xo(a,{name:n,newValue:e(c,l,r)})):typeof r<"u"&&xo(a,{name:n,newValue:r}));return a};const yr=Qn(Dp);function Ir(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Lp(){const e=[],t={run:n,use:i};return t;function n(...r){let o=-1;const l=r.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);a(null,...r);function a(u,...s){const c=e[++o];let p=-1;if(u){l(u);return}for(;++p<r.length;)(s[p]===null||s[p]===void 0)&&(s[p]=r[p]);r=s,c?Mp(c,a)(...s):l(null,...s)}}function i(r){if(typeof r!="function")throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}}function Mp(e,t){let n;return i;function i(...l){const a=e.length>l.length;let u;a&&l.push(r);try{u=e.apply(this,l)}catch(s){const c=s;if(a&&n)throw c;return r(c)}a||(u&&u.then&&typeof u.then=="function"?u.then(o,r):u instanceof Error?r(u):o(u))}function r(l,...a){n||(n=!0,t(l,...a))}function o(l){r(null,l)}}const nt={basename:Rp,dirname:Xp,extname:zp,join:Hp,sep:"/"};function Rp(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');_t(e);let n=0,i=-1,r=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;r--;)if(e.codePointAt(r)===47){if(o){n=r+1;break}}else i<0&&(o=!0,i=r+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let l=-1,a=t.length-1;for(;r--;)if(e.codePointAt(r)===47){if(o){n=r+1;break}}else l<0&&(o=!0,l=r+1),a>-1&&(e.codePointAt(r)===t.codePointAt(a--)?a<0&&(i=r):(a=-1,i=l));return n===i?i=l:i<0&&(i=e.length),e.slice(n,i)}function Xp(e){if(_t(e),e.length===0)return".";let t=-1,n=e.length,i;for(;--n;)if(e.codePointAt(n)===47){if(i){t=n;break}}else i||(i=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function zp(e){_t(e);let t=e.length,n=-1,i=0,r=-1,o=0,l;for(;t--;){const a=e.codePointAt(t);if(a===47){if(l){i=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?r<0?r=t:o!==1&&(o=1):r>-1&&(o=-1)}return r<0||n<0||o===0||o===1&&r===n-1&&r===i+1?"":e.slice(r,n)}function Hp(...e){let t=-1,n;for(;++t<e.length;)_t(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Wp(n)}function Wp(e){_t(e);const t=e.codePointAt(0)===47;let n=Zp(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Zp(e,t){let n="",i=0,r=-1,o=0,l=-1,a,u;for(;++l<=e.length;){if(l<e.length)a=e.codePointAt(l);else{if(a===47)break;a=47}if(a===47){if(!(r===l-1||o===1))if(r!==l-1&&o===2){if(n.length<2||i!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",i=0):(n=n.slice(0,u),i=n.length-1-n.lastIndexOf("/")),r=l,o=0;continue}}else if(n.length>0){n="",i=0,r=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",i=2)}else n.length>0?n+="/"+e.slice(r+1,l):n=e.slice(r+1,l),i=l-r-1;r=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function _t(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const jp={cwd:Jp};function Jp(){return"/"}function vr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Yp(e){if(typeof e=="string")e=new URL(e);else if(!vr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return _p(e)}function _p(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const i=t.codePointAt(n+2);if(i===70||i===102){const r=new TypeError("File URL path must not include encoded / characters");throw r.code="ERR_INVALID_FILE_URL_PATH",r}}return decodeURIComponent(t)}const Cr=["history","path","basename","stem","extname","dirname"];class So{constructor(t){let n;t?vr(t)?n={path:t}:typeof t=="string"||Up(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":jp.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<Cr.length;){const o=Cr[i];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let r;for(r in n)Cr.includes(r)||(this[r]=n[r])}get basename(){return typeof this.path=="string"?nt.basename(this.path):void 0}set basename(t){Ar(t,"basename"),xr(t,"basename"),this.path=nt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?nt.dirname(this.path):void 0}set dirname(t){wo(this.basename,"dirname"),this.path=nt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?nt.extname(this.path):void 0}set extname(t){if(xr(t,"extname"),wo(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=nt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){vr(t)&&(t=Yp(t)),Ar(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?nt.basename(this.path,this.extname):void 0}set stem(t){Ar(t,"stem"),xr(t,"stem"),this.path=nt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,i){const r=this.message(t,n,i);throw r.fatal=!0,r}info(t,n,i){const r=this.message(t,n,i);return r.fatal=void 0,r}message(t,n,i){const r=new Le(t,n,i);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function xr(e,t){if(e&&e.includes(nt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+nt.sep+"`")}function Ar(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function wo(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Up(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const qp=function(e){const i=this.constructor.prototype,r=i[e],o=function(){return r.apply(o,arguments)};return Object.setPrototypeOf(o,i),o},Qp={}.hasOwnProperty;class Sr extends qp{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=Lp()}copy(){const t=new Sr;let n=-1;for(;++n<this.attachers.length;){const i=this.attachers[n];t.use(...i)}return t.data(yr(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(kr("data",this.frozen),this.namespace[t]=n,this):Qp.call(this.namespace,t)&&this.namespace[t]||void 0:t?(kr("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);const r=n.call(t,...i);typeof r=="function"&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=bn(t),i=this.parser||this.Parser;return wr("parse",i),i(String(n),n)}process(t,n){const i=this;return this.freeze(),wr("process",this.parser||this.Parser),Er("process",this.compiler||this.Compiler),n?r(void 0,n):new Promise(r);function r(o,l){const a=bn(t),u=i.parse(a);i.run(u,a,function(c,p,f){if(c||!p||!f)return s(c);const d=p,y=i.stringify(d,f);ed(y)?f.value=y:f.result=y,s(c,f)});function s(c,p){c||!p?l(c):o?o(p):n(void 0,p)}}}processSync(t){let n=!1,i;return this.freeze(),wr("processSync",this.parser||this.Parser),Er("processSync",this.compiler||this.Compiler),this.process(t,r),ko("processSync","process",n),i;function r(o,l){n=!0,mo(o),i=l}}run(t,n,i){Eo(t),this.freeze();const r=this.transformers;return!i&&typeof n=="function"&&(i=n,n=void 0),i?o(void 0,i):new Promise(o);function o(l,a){const u=bn(n);r.run(t,u,s);function s(c,p,f){const d=p||t;c?a(c):l?l(d):i(void 0,d,f)}}}runSync(t,n){let i=!1,r;return this.run(t,n,o),ko("runSync","run",i),r;function o(l,a){mo(l),r=a,i=!0}}stringify(t,n){this.freeze();const i=bn(n),r=this.compiler||this.Compiler;return Er("stringify",r),Eo(t),r(t,i)}use(t,...n){const i=this.attachers,r=this.namespace;if(kr("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(s){if(typeof s=="function")u(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[c,...p]=s;u(c,p)}else l(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function l(s){if(!("plugins"in s)&&!("settings"in s))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(s.plugins),s.settings&&(r.settings=yr(!0,r.settings,s.settings))}function a(s){let c=-1;if(s!=null)if(Array.isArray(s))for(;++c<s.length;){const p=s[c];o(p)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function u(s,c){let p=-1,f=-1;for(;++p<i.length;)if(i[p][0]===s){f=p;break}if(f===-1)i.push([s,...c]);else if(c.length>0){let[d,...y]=c;const h=i[f][1];Ir(h)&&Ir(d)&&(d=yr(!0,h,d)),i[f]=[s,d,...y]}}}}const $p=new Sr().freeze();function wr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Er(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function kr(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Eo(e){if(!Ir(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ko(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function bn(e){return Kp(e)?e:new So(e)}function Kp(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function ed(e){return typeof e=="string"||td(e)}function td(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const nd="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Po=[],Fo={allowDangerousHtml:!0},rd=/^(https?|ircs?|mailto|xmpp)$/i,id=[{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:"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 Go(e){const t=od(e),n=ld(e);return ad(t.runSync(t.parse(n),n),e)}function od(e){const t=e.rehypePlugins||Po,n=e.remarkPlugins||Po,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Fo}:Fo;return $p().use(Xc).use(n).use(Np,i).use(t)}function ld(e){const t=e.children||"",n=new So;return typeof t=="string"&&(n.value=t),n}function ad(e,t){const n=t.allowedElements,i=t.allowElement,r=t.components,o=t.disallowedElements,l=t.skipHtml,a=t.unwrapDisallowed,u=t.urlTransform||ud;for(const c of id)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+nd+c.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),fo(e,s),wu(e,{Fragment:G.Fragment,components:r,ignoreInvalidStyle:!0,jsx:G.jsx,jsxs:G.jsxs,passKeys:!0,passNode:!0});function s(c,p,f){if(c.type==="raw"&&f&&typeof p=="number")return l?f.children.splice(p,1):f.children[p]={type:"text",value:c.value},p;if(c.type==="element"){let d;for(d in or)if(Object.hasOwn(or,d)&&Object.hasOwn(c.properties,d)){const y=c.properties[d],h=or[d];(h===null||h.includes(c.tagName))&&(c.properties[d]=u(String(y||""),d,c))}}if(c.type==="element"){let d=n?!n.includes(c.tagName):o?o.includes(c.tagName):!1;if(!d&&i&&typeof p=="number"&&(d=!i(c,p,f)),d&&f&&typeof p=="number")return a&&c.children?f.children.splice(p,1,...c.children):f.children.splice(p,1),p}}}function ud(e){const t=e.indexOf(":"),n=e.indexOf("?"),i=e.indexOf("#"),r=e.indexOf("/");return t===-1||r!==-1&&t>r||n!==-1&&t>n||i!==-1&&t>i||rd.test(e.slice(0,t))?e:""}function yn({prop:e}){const t={width:"100%",background:"#e2e3e5",borderRadius:"5px",paddingTop:"2px",paddingLeft:"10px",paddingRight:"10px",paddingBottom:"2px"},n={...t,background:"#fff3cd"},i={...t,background:"#d1ecf1"},r={...t,background:"#f8d7da"},o={...t,background:"#fffff2"};let l={};switch(e.alertType){case"info":l=i;break;case"neutral":l=o;break;case"warning":l=n;break;case"error":l=r;break;default:l=t}return G.jsx("div",{className:`pd-alert-${e.alertType}`,style:l,children:G.jsx(Go,{components:{a:({...a})=>G.jsx("a",{...a,target:"_blank",rel:"noopener noreferrer"})},children:e.content})})}var In={exports:{}};In.exports,function(e,t){var n=200,i="__lodash_hash_undefined__",r=1,o=2,l=9007199254740991,a="[object Arguments]",u="[object Array]",s="[object AsyncFunction]",c="[object Boolean]",p="[object Date]",f="[object Error]",d="[object Function]",y="[object GeneratorFunction]",h="[object Map]",C="[object Number]",I="[object Null]",F="[object Object]",S="[object Promise]",w="[object Proxy]",B="[object RegExp]",x="[object Set]",R="[object String]",P="[object Symbol]",O="[object Undefined]",V="[object WeakMap]",N="[object ArrayBuffer]",E="[object DataView]",J="[object Float32Array]",ne="[object Float64Array]",H="[object Int8Array]",j="[object Int16Array]",ue="[object Int32Array]",se="[object Uint8Array]",ge="[object Uint8ClampedArray]",b="[object Uint16Array]",xe="[object Uint32Array]",le=/[\\^$.*+?()[\]{}|]/g,m=/^\[object .+?Constructor\]$/,fe=/^(?:0|[1-9]\d*)$/,K={};K[J]=K[ne]=K[H]=K[j]=K[ue]=K[se]=K[ge]=K[b]=K[xe]=!0,K[a]=K[u]=K[N]=K[c]=K[E]=K[p]=K[f]=K[d]=K[h]=K[C]=K[F]=K[B]=K[x]=K[R]=K[V]=!1;var ee=typeof ht=="object"&&ht&&ht.Object===Object&&ht,ke=typeof self=="object"&&self&&self.Object===Object&&self,ce=ee||ke||Function("return this")(),Be=t&&!t.nodeType&&t,ae=Be&&!0&&e&&!e.nodeType&&e,Ie=ae&&ae.exports===Be,ve=Ie&&ee.process,Te=function(){try{return ve&&ve.binding&&ve.binding("util")}catch{}}(),Pe=Te&&Te.isTypedArray;function Ne(g,v){for(var T=-1,Z=g==null?0:g.length,ye=0,oe=[];++T<Z;){var Fe=g[T];v(Fe,T,g)&&(oe[ye++]=Fe)}return oe}function Ae(g,v){for(var T=-1,Z=v.length,ye=g.length;++T<Z;)g[ye+T]=v[T];return g}function Je(g,v){for(var T=-1,Z=g==null?0:g.length;++T<Z;)if(v(g[T],T,g))return!0;return!1}function wt(g,v){for(var T=-1,Z=Array(g);++T<g;)Z[T]=v(T);return Z}function Rt(g){return function(v){return g(v)}}function L(g,v){return g.has(v)}function z(g,v){return g==null?void 0:g[v]}function te(g){var v=-1,T=Array(g.size);return g.forEach(function(Z,ye){T[++v]=[ye,Z]}),T}function q(g,v){return function(T){return g(v(T))}}function Se(g){var v=-1,T=Array(g.size);return g.forEach(function(Z){T[++v]=Z}),T}var Ce=Array.prototype,k=Function.prototype,M=Object.prototype,X=ce["__core-js_shared__"],W=k.toString,_=M.hasOwnProperty,he=function(){var g=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}(),lt=M.toString,Qe=RegExp("^"+W.call(_).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=Ie?ce.Buffer:void 0,at=ce.Symbol,Re=ce.Uint8Array,dt=M.propertyIsEnumerable,$e=Ce.splice,Et=at?at.toStringTag:void 0,ha=Object.getOwnPropertySymbols,Nh=yt?yt.isBuffer:void 0,Dh=q(Object.keys,Object),Qr=Xt(ce,"DataView"),tn=Xt(ce,"Map"),$r=Xt(ce,"Promise"),Kr=Xt(ce,"Set"),ei=Xt(ce,"WeakMap"),nn=Xt(Object,"create"),Lh=Ft(Qr),Mh=Ft(tn),Rh=Ft($r),Xh=Ft(Kr),zh=Ft(ei),ma=at?at.prototype:void 0,ti=ma?ma.valueOf:void 0;function kt(g){var v=-1,T=g==null?0:g.length;for(this.clear();++v<T;){var Z=g[v];this.set(Z[0],Z[1])}}function Hh(){this.__data__=nn?nn(null):{},this.size=0}function Wh(g){var v=this.has(g)&&delete this.__data__[g];return this.size-=v?1:0,v}function Zh(g){var v=this.__data__;if(nn){var T=v[g];return T===i?void 0:T}return _.call(v,g)?v[g]:void 0}function jh(g){var v=this.__data__;return nn?v[g]!==void 0:_.call(v,g)}function Jh(g,v){var T=this.__data__;return this.size+=this.has(g)?0:1,T[g]=nn&&v===void 0?i:v,this}kt.prototype.clear=Hh,kt.prototype.delete=Wh,kt.prototype.get=Zh,kt.prototype.has=jh,kt.prototype.set=Jh;function ft(g){var v=-1,T=g==null?0:g.length;for(this.clear();++v<T;){var Z=g[v];this.set(Z[0],Z[1])}}function Yh(){this.__data__=[],this.size=0}function _h(g){var v=this.__data__,T=Xn(v,g);if(T<0)return!1;var Z=v.length-1;return T==Z?v.pop():$e.call(v,T,1),--this.size,!0}function Uh(g){var v=this.__data__,T=Xn(v,g);return T<0?void 0:v[T][1]}function qh(g){return Xn(this.__data__,g)>-1}function Qh(g,v){var T=this.__data__,Z=Xn(T,g);return Z<0?(++this.size,T.push([g,v])):T[Z][1]=v,this}ft.prototype.clear=Yh,ft.prototype.delete=_h,ft.prototype.get=Uh,ft.prototype.has=qh,ft.prototype.set=Qh;function Pt(g){var v=-1,T=g==null?0:g.length;for(this.clear();++v<T;){var Z=g[v];this.set(Z[0],Z[1])}}function $h(){this.size=0,this.__data__={hash:new kt,map:new(tn||ft),string:new kt}}function Kh(g){var v=zn(this,g).delete(g);return this.size-=v?1:0,v}function em(g){return zn(this,g).get(g)}function tm(g){return zn(this,g).has(g)}function nm(g,v){var T=zn(this,g),Z=T.size;return T.set(g,v),this.size+=T.size==Z?0:1,this}Pt.prototype.clear=$h,Pt.prototype.delete=Kh,Pt.prototype.get=em,Pt.prototype.has=tm,Pt.prototype.set=nm;function Rn(g){var v=-1,T=g==null?0:g.length;for(this.__data__=new Pt;++v<T;)this.add(g[v])}function rm(g){return this.__data__.set(g,i),this}function im(g){return this.__data__.has(g)}Rn.prototype.add=Rn.prototype.push=rm,Rn.prototype.has=im;function It(g){var v=this.__data__=new ft(g);this.size=v.size}function om(){this.__data__=new ft,this.size=0}function lm(g){var v=this.__data__,T=v.delete(g);return this.size=v.size,T}function am(g){return this.__data__.get(g)}function um(g){return this.__data__.has(g)}function sm(g,v){var T=this.__data__;if(T instanceof ft){var Z=T.__data__;if(!tn||Z.length<n-1)return Z.push([g,v]),this.size=++T.size,this;T=this.__data__=new Pt(Z)}return T.set(g,v),this.size=T.size,this}It.prototype.clear=om,It.prototype.delete=lm,It.prototype.get=am,It.prototype.has=um,It.prototype.set=sm;function cm(g,v){var T=Hn(g),Z=!T&&wm(g),ye=!T&&!Z&&ni(g),oe=!T&&!Z&&!ye&&wa(g),Fe=T||Z||ye||oe,Ve=Fe?wt(g.length,String):[],De=Ve.length;for(var we in g)_.call(g,we)&&!(Fe&&(we=="length"||ye&&(we=="offset"||we=="parent")||oe&&(we=="buffer"||we=="byteLength"||we=="byteOffset")||vm(we,De)))&&Ve.push(we);return Ve}function Xn(g,v){for(var T=g.length;T--;)if(Ca(g[T][0],v))return T;return-1}function pm(g,v,T){var Z=v(g);return Hn(g)?Z:Ae(Z,T(g))}function rn(g){return g==null?g===void 0?O:I:Et&&Et in Object(g)?ym(g):Sm(g)}function ba(g){return on(g)&&rn(g)==a}function ya(g,v,T,Z,ye){return g===v?!0:g==null||v==null||!on(g)&&!on(v)?g!==g&&v!==v:dm(g,v,T,Z,ya,ye)}function dm(g,v,T,Z,ye,oe){var Fe=Hn(g),Ve=Hn(v),De=Fe?u:vt(g),we=Ve?u:vt(v);De=De==a?F:De,we=we==a?F:we;var Ye=De==F,Ke=we==F,Xe=De==we;if(Xe&&ni(g)){if(!ni(v))return!1;Fe=!0,Ye=!1}if(Xe&&!Ye)return oe||(oe=new It),Fe||wa(g)?Ia(g,v,T,Z,ye,oe):mm(g,v,De,T,Z,ye,oe);if(!(T&r)){var Ue=Ye&&_.call(g,"__wrapped__"),qe=Ke&&_.call(v,"__wrapped__");if(Ue||qe){var Ct=Ue?g.value():g,gt=qe?v.value():v;return oe||(oe=new It),ye(Ct,gt,T,Z,oe)}}return Xe?(oe||(oe=new It),bm(g,v,T,Z,ye,oe)):!1}function fm(g){if(!Sa(g)||xm(g))return!1;var v=xa(g)?Qe:m;return v.test(Ft(g))}function gm(g){return on(g)&&Aa(g.length)&&!!K[rn(g)]}function hm(g){if(!Am(g))return Dh(g);var v=[];for(var T in Object(g))_.call(g,T)&&T!="constructor"&&v.push(T);return v}function Ia(g,v,T,Z,ye,oe){var Fe=T&r,Ve=g.length,De=v.length;if(Ve!=De&&!(Fe&&De>Ve))return!1;var we=oe.get(g);if(we&&oe.get(v))return we==v;var Ye=-1,Ke=!0,Xe=T&o?new Rn:void 0;for(oe.set(g,v),oe.set(v,g);++Ye<Ve;){var Ue=g[Ye],qe=v[Ye];if(Z)var Ct=Fe?Z(qe,Ue,Ye,v,g,oe):Z(Ue,qe,Ye,g,v,oe);if(Ct!==void 0){if(Ct)continue;Ke=!1;break}if(Xe){if(!Je(v,function(gt,Gt){if(!L(Xe,Gt)&&(Ue===gt||ye(Ue,gt,T,Z,oe)))return Xe.push(Gt)})){Ke=!1;break}}else if(!(Ue===qe||ye(Ue,qe,T,Z,oe))){Ke=!1;break}}return oe.delete(g),oe.delete(v),Ke}function mm(g,v,T,Z,ye,oe,Fe){switch(T){case E:if(g.byteLength!=v.byteLength||g.byteOffset!=v.byteOffset)return!1;g=g.buffer,v=v.buffer;case N:return!(g.byteLength!=v.byteLength||!oe(new Re(g),new Re(v)));case c:case p:case C:return Ca(+g,+v);case f:return g.name==v.name&&g.message==v.message;case B:case R:return g==v+"";case h:var Ve=te;case x:var De=Z&r;if(Ve||(Ve=Se),g.size!=v.size&&!De)return!1;var we=Fe.get(g);if(we)return we==v;Z|=o,Fe.set(g,v);var Ye=Ia(Ve(g),Ve(v),Z,ye,oe,Fe);return Fe.delete(g),Ye;case P:if(ti)return ti.call(g)==ti.call(v)}return!1}function bm(g,v,T,Z,ye,oe){var Fe=T&r,Ve=va(g),De=Ve.length,we=va(v),Ye=we.length;if(De!=Ye&&!Fe)return!1;for(var Ke=De;Ke--;){var Xe=Ve[Ke];if(!(Fe?Xe in v:_.call(v,Xe)))return!1}var Ue=oe.get(g);if(Ue&&oe.get(v))return Ue==v;var qe=!0;oe.set(g,v),oe.set(v,g);for(var Ct=Fe;++Ke<De;){Xe=Ve[Ke];var gt=g[Xe],Gt=v[Xe];if(Z)var Ea=Fe?Z(Gt,gt,Xe,v,g,oe):Z(gt,Gt,Xe,g,v,oe);if(!(Ea===void 0?gt===Gt||ye(gt,Gt,T,Z,oe):Ea)){qe=!1;break}Ct||(Ct=Xe=="constructor")}if(qe&&!Ct){var Wn=g.constructor,Zn=v.constructor;Wn!=Zn&&"constructor"in g&&"constructor"in v&&!(typeof Wn=="function"&&Wn instanceof Wn&&typeof Zn=="function"&&Zn instanceof Zn)&&(qe=!1)}return oe.delete(g),oe.delete(v),qe}function va(g){return pm(g,Pm,Im)}function zn(g,v){var T=g.__data__;return Cm(v)?T[typeof v=="string"?"string":"hash"]:T.map}function Xt(g,v){var T=z(g,v);return fm(T)?T:void 0}function ym(g){var v=_.call(g,Et),T=g[Et];try{g[Et]=void 0;var Z=!0}catch{}var ye=lt.call(g);return Z&&(v?g[Et]=T:delete g[Et]),ye}var Im=ha?function(g){return g==null?[]:(g=Object(g),Ne(ha(g),function(v){return dt.call(g,v)}))}:Fm,vt=rn;(Qr&&vt(new Qr(new ArrayBuffer(1)))!=E||tn&&vt(new tn)!=h||$r&&vt($r.resolve())!=S||Kr&&vt(new Kr)!=x||ei&&vt(new ei)!=V)&&(vt=function(g){var v=rn(g),T=v==F?g.constructor:void 0,Z=T?Ft(T):"";if(Z)switch(Z){case Lh:return E;case Mh:return h;case Rh:return S;case Xh:return x;case zh:return V}return v});function vm(g,v){return v=v??l,!!v&&(typeof g=="number"||fe.test(g))&&g>-1&&g%1==0&&g<v}function Cm(g){var v=typeof g;return v=="string"||v=="number"||v=="symbol"||v=="boolean"?g!=="__proto__":g===null}function xm(g){return!!he&&he in g}function Am(g){var v=g&&g.constructor,T=typeof v=="function"&&v.prototype||M;return g===T}function Sm(g){return lt.call(g)}function Ft(g){if(g!=null){try{return W.call(g)}catch{}try{return g+""}catch{}}return""}function Ca(g,v){return g===v||g!==g&&v!==v}var wm=ba(function(){return arguments}())?ba:function(g){return on(g)&&_.call(g,"callee")&&!dt.call(g,"callee")},Hn=Array.isArray;function Em(g){return g!=null&&Aa(g.length)&&!xa(g)}var ni=Nh||Gm;function km(g,v){return ya(g,v)}function xa(g){if(!Sa(g))return!1;var v=rn(g);return v==d||v==y||v==s||v==w}function Aa(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=l}function Sa(g){var v=typeof g;return g!=null&&(v=="object"||v=="function")}function on(g){return g!=null&&typeof g=="object"}var wa=Pe?Rt(Pe):gm;function Pm(g){return Em(g)?cm(g):hm(g)}function Fm(){return[]}function Gm(){return!1}e.exports=km}(In,In.exports);var sd=In.exports;const Bo=Qn(sd),To=A.createContext(void 0),st=()=>{const e=A.useContext(To);if(!e)throw new Error("Must be used inside FrontendClientProvider");return e},cd=({children:e,client:t})=>{const n=new ut.QueryClient({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1}}});return G.jsx(ut.QueryClientProvider,{client:n,children:G.jsx(To.Provider,{value:t,children:e})})};function Vo(e){return typeof e=="object"&&e&&"__lv"in e?e.__lv.value:e}function pd(e){if(typeof e=="object"&&e&&"selectedOptions"in e&&Array.isArray(e.selectedOptions)){const t=e.selectedOptions,n=[];for(const i of t)if(typeof i=="object"&&i&&"emitValue"in i){const r=i.emitValue;typeof r=="object"&&r&&"__lv"in r?n.push(r.__lv.value):n.push(r)}else return[];return n}return e&&typeof e=="object"&&Array.isArray(e.__lv)?e.__lv:Array.isArray(e)?e:[]}function dd(e){const t=pd(e.value);if(!e.prop.default&&typeof t>"u")return["required"];if(!e.prop.default&&Array.isArray(t)&&!t.length)return["empty array"]}function fd(e){const t=Vo(e.value);if(t==null||typeof t>"u")return["required"]}function gd(e){const{prop:t,value:n}=e,i=Vo(n);if(!t.default&&(i==null||typeof i>"u"))return["required"];const r=typeof i=="number"?i:parseInt(String(i));if(Number.isNaN(r))return["not a number"];const o=[];return typeof t.min=="number"&&r<t.min&&o.push("number too small"),typeof t.max=="number"&&r>t.max&&o.push("number too big"),o}function hd(e){const{prop:t,value:n}=e;if(!t.default&&(n==null||typeof n>"u"))return["required"]}function md(e){const t=e.authType==="oauth",n=JSON.parse(e.customFieldsJson||"[]");if("extracted_custom_fields_names"in e&&e.extracted_custom_fields_names){const i=(e.extracted_custom_fields_names||[]).map(r=>({name:r}));n.push(...i)}return n.map(i=>({...i,optional:i.optional||t}))}function bd(e){const{app:t,value:n}=e;if(!t)return["app field not registered"];if(!t.authType)return;if(!n)return["no app configured"];if(typeof n!="object")return["not an app"];const i=n;if("authProvisionId"in i&&!i.authProvisionId){const r=[];if(t.authType==="oauth"&&!i.oauth_access_token&&r.push("missing oauth token"),t.authType==="oauth"||t.authType==="keys"){const o=md(t),l=i;for(const a of o)!a.optional&&!l[a.name]&&r.push(`missing custom field: ${a.name}`)}return r}}const yd=(e,t)=>{if(e!==void 0&&e!=="")return t!==void 0&&t!==""?{resolvedId:e,warningType:"both"}:{resolvedId:e};if(t!==void 0&&t!=="")return{resolvedId:t,warningType:"deprecated"};throw new Error("Either externalUserId or userId must be provided")};function rt(e,t){return e.type===t}function Pr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&"value"in e&&(typeof e.value=="string"||typeof e.value=="number")}function Oe(e){if(e==null)return{label:"",value:""};if(typeof e!="object")return{label:String(e),value:e};if("__lv"in e)return Oe(e.__lv);if("lv"in e)return Oe(e.lv);if("value"in e){const{label:t,value:n}=e;return{label:String(t||n),value:n}}return{label:String(e),value:e}}function Fr(e){return!e||typeof e!="object"||!("__lv"in e)?!1:e.__lv!=null}function Oo(e){return!Array.isArray(e)||e.length===0?!1:e.every(t=>Fr(t))}function Id(e){return Fr(e)||Oo(e)}const Ut=["$.service.db","$.interface.http","$.interface.apphook","$.interface.timer","dir"],Gr=A.createContext(void 0),qt=()=>{const e=A.useContext(Gr);if(!e)throw new Error("Must be used inside provider");return e},No=({children:e,props:t})=>{const n=st(),i=A.useId(),{component:r,configuredProps:o,propNames:l,externalUserId:a,userId:u,sdkResponse:s,enableDebugging:c,oauthAppConfig:p}=t,{resolvedId:f,warningType:d}=A.useMemo(()=>yd(a,u),[a,u]);A.useEffect(()=>{process.env.NODE_ENV!=="production"&&(d==="both"?console.warn("[connect-react] Both externalUserId and userId provided. Using externalUserId. Please remove userId to avoid this warning."):d==="deprecated"&&console.warn("[connect-react] userId is deprecated. Please use externalUserId instead."))},[d]);const y=r.key,[h,C]=A.useState(0),[I,F]=A.useState({}),[S,w]=A.useState(!1),[B,x]=A.useState({}),[R,P]=A.useState([]),[O,V]=A.useState({});A.useEffect(()=>{V({})},[r.key]);const N=L=>O[L.name];let E=o||{};const[J,ne]=A.useState(E),H=t.onUpdateConfiguredProps||ne;t.onUpdateConfiguredProps||(E=J);const[j,ue]=A.useState(),se=A.useRef();j&&(se.current=j);const[ge,b]=A.useState(),xe={externalUserId:f,id:y,configuredProps:E,dynamicPropsId:j==null?void 0:j.id},le={externalUserId:f,id:y,dynamicPropsId:j==null?void 0:j.id,reloadTriggerProps:Object.fromEntries(Object.entries(E).filter(([L])=>{const z=((j==null?void 0:j.configurableProps)||t.component.configurableProps||[]).find(te=>te.name===L);return z&&"reloadProps"in z&&z.reloadProps}))},{isFetching:m}=ut.useQuery({queryKey:["dynamicProps",le],queryFn:async()=>{var L;try{const z=await n.components.reloadProps(xe),{dynamicProps:te,observations:q,errors:Se}=z,Ce=te;return q&&q.filter(k=>k.k==="error").length>0?wt(q):wt(Se),b(void 0),te&&Ce&&((L=t.onUpdateDynamicProps)==null||L.call(t,te),ue(Ce)),[]}finally{b(void 0)}},enabled:ge!=null,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1,staleTime:1/0}),[fe,K]=A.useState([]);A.useEffect(()=>{Ae()},[E]);const ee=A.useMemo(()=>{const L=se.current||j;let z=(L==null?void 0:L.configurableProps)||t.component.configurableProps||[];if(l!=null&&l.length){const te=[];for(const q of z)l.findIndex(Se=>q.name===Se)>=0&&te.push(q);z=te}return ge!=null&&m&&(z=Array.isArray(z)?z.slice(0,ge+1):z),z},[j==null?void 0:j.configurableProps,t.component.configurableProps,l,ge,m]),ke=(L,z)=>{const te=[];if(L.optional||L.hidden||L.disabled||Ut.includes(L.type))return[];if(rt(L,"app")){const q=I[L.name];if(q){const Se="app"in q.extra?q.extra.app:void 0;te.push(...bd({value:z,app:Se})??[])}else te.push("field not registered")}else rt(L,"boolean")?te.push(...fd({value:z})??[]):rt(L,"integer")?te.push(...gd({prop:L,value:z})??[]):rt(L,"string")?te.push(...hd({prop:L,value:z})??[]):rt(L,"string[]")&&te.push(...dd({prop:L,value:z})??[]);return te},ce=L=>{let z;for(let te=0;te<ee.length;te++){const q=ee[te];if(q.hidden||q.optional&&!N(q))continue;if(L[q.name]===void 0&&z==null&&(q.type==="app"||q.remoteOptions)){z=te;break}}C(z)},Be=L=>{H(L),ce(L),ae(L)},ae=L=>{const z={};for(let te=0;te<ee.length;te++){const q=ee[te],Se=L[q.name],Ce=ke(q,Se);Ce.length&&(z[q.name]=Ce)}x(z)},Ie=(L,z)=>L.type!=="integer"||typeof z=="number"||Id(z)?z:void 0;A.useEffect(()=>{ce(E)},[r.key,ee,O]),A.useEffect(()=>{ce(E)},[E,ee,O]),A.useEffect(()=>{ae(E)},[E,ge,h]),A.useEffect(()=>{wt(s)},[s]),A.useEffect(()=>{var z,te;const L={};for(const q of ee){if(q.hidden||Ut.includes(q.type))continue;if(q.optional&&!N(q)){const Ce=E[q.name],k=se.current||j,X=(((z=k==null?void 0:k.configurableProps)==null?void 0:z.some(W=>W.name===q.name))??!1)&&!((te=t.component.configurableProps)!=null&&te.some(W=>W.name===q.name));if(Ce!==void 0){L[q.name]=Ce;continue}if(X)continue;continue}const Se=E[q.name];if(Se===void 0)"default"in q&&q.default!=null&&(L[q.name]=q.default);else{const Ce=Ie(q,Se);Ce===void 0?delete L[q.name]:L[q.name]=Ce}}Bo(L,E)||Be(L)},[ee,O]);const[ve,Te]=A.useState(f);A.useEffect(()=>{ve!==f&&(Be({}),Te(f))},[f]);const Pe=(L,z)=>{const te=ee[L],q={...E};z===void 0?delete q[te.name]:q[te.name]=z,H(q),te.reloadProps&&b(L);const Se=ke(te,z),Ce={...B};Se.length?Ce[te.name]=Se:delete Ce[te.name],x(Ce)},Ne=(L,z)=>{const te={...O};z?te[L.name]=!0:delete te[L.name];const q=ee.findIndex(Se=>Se.name===L.name);z?(o==null?void 0:o[L.name])!==void 0?Pe(q,o[L.name]):"default"in L&&L.default!=null&&Pe(q,L.default):Pe(q,void 0),V(te)};A.useEffect(()=>{const L=[];for(const z of ee){if(!z.optional||N(z))continue;const te=E[z.name],q=o==null?void 0:o[z.name];te===void 0&&q===void 0||L.push(z)}L.length&&L.forEach(z=>Ne(z,!0))},[r.key,ee,E,O,o]);const Ae=()=>{const L=[];for(const z of ee){if(!z||z.optional||z.hidden||Ut.includes(z.type))continue;const te=E[z.name];ke(z,te).length&&L.push(z.name)}L&&fe&&Bo(L,fe)||K(L)},Je=L=>{F(z=>(z[L.prop.name]=L,z)),Ae()},wt=L=>{if(!L)return;let z=[...R];const te=(X,W)=>{try{const _=JSON.parse(X),he={name:_.name,message:_.message};he.name&&he.message&&W.push(he)}catch{}},q=(X,W)=>{const _={name:X.name,message:X.message};_.name&&_.message&&W.push(_)},Se=(X,W)=>{if(!(!("err"in X)||!X.err)&&X.err.name&&X.err.message){const _={name:X.err.name,message:X.err.message};W.push(_)}},Ce=(X,W)=>{if(Array.isArray(X)&&X.length>0)for(let _=0;_<X.length;_++)X[_].k==="error"&&Se(X[_],W)},k=(X,W)=>{W.push({name:X.error,message:JSON.stringify(X.details)})},M=(X,W)=>{var _;try{const he=(_=JSON.parse(X.message))==null?void 0:_.data;he&&"os"in he?Ce(he.os,W):he&&"observations"in he?Ce(he.observations,W):he&&"error"in he&&"details"in he&&k(he,W)}catch{}};if(Array.isArray(L)&&L.length>0)for(let X=0;X<L.length;X++){const W=L[X];typeof W=="string"?te(W,z):typeof W=="object"&&"name"in W&&"message"in W&&"stack"in W?q(W,z):typeof W=="object"&&W.k==="error"&&Se(W,z)}else typeof L=="object"&&L&&"observations"in L?Ce(L.observations,z):typeof L=="object"&&L&&"os"in L?Ce(L.os,z):typeof L=="object"&&"message"in L?M(L,z):z=[];P(z)},Rt={id:i,isValid:!Object.keys(B).length,props:t,externalUserId:f,userId:f,component:r,configurableProps:ee,configuredProps:E,dynamicProps:j,dynamicPropsQueryIsFetching:m,errors:B,fields:I,optionalPropIsEnabled:N,optionalPropSetEnabled:Ne,propsNeedConfiguring:fe,queryDisabledIdx:h,registerField:Je,setConfiguredProp:Pe,setSubmitting:w,submitting:S,sdkErrors:R,enableDebugging:c,oauthAppConfig:p};return G.jsx(Gr.Provider,{value:Rt,children:e})};function St(e){"@babel/helpers - typeof";return St=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},St(e)}function vd(e,t){if(St(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(St(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Do(e){var t=vd(e,"string");return St(t)=="symbol"?t:t+""}function Qt(e,t,n){return(t=Do(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Lo(Object(n),!0).forEach(function(i){Qt(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Cd(e){if(Array.isArray(e))return e}function xd(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,r,o,l,a=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);u=!0);}catch(c){s=!0,r=c}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return a}}function Br(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Mo(e,t){if(e){if(typeof e=="string")return Br(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Br(e,t):void 0}}function Ad(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ct(e,t){return Cd(e)||xd(e,t)||Mo(e,t)||Ad()}function Sd(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function it(e,t){if(e==null)return{};var n,i,r=Sd(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var wd=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ro(e){var t=e.defaultInputValue,n=t===void 0?"":t,i=e.defaultMenuIsOpen,r=i===void 0?!1:i,o=e.defaultValue,l=o===void 0?null:o,a=e.inputValue,u=e.menuIsOpen,s=e.onChange,c=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,d=e.value,y=it(e,wd),h=A.useState(a!==void 0?a:n),C=ct(h,2),I=C[0],F=C[1],S=A.useState(u!==void 0?u:r),w=ct(S,2),B=w[0],x=w[1],R=A.useState(d!==void 0?d:l),P=ct(R,2),O=P[0],V=P[1],N=A.useCallback(function(se,ge){typeof s=="function"&&s(se,ge),V(se)},[s]),E=A.useCallback(function(se,ge){var b;typeof c=="function"&&(b=c(se,ge)),F(b!==void 0?b:se)},[c]),J=A.useCallback(function(){typeof f=="function"&&f(),x(!0)},[f]),ne=A.useCallback(function(){typeof p=="function"&&p(),x(!1)},[p]),H=a!==void 0?a:I,j=u!==void 0?u:B,ue=d!==void 0?d:O;return U(U({},y),{},{inputValue:H,menuIsOpen:j,onChange:N,onInputChange:E,onMenuClose:ne,onMenuOpen:J,value:ue})}function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$.apply(null,arguments)}function Ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xo(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Do(i.key),i)}}function kd(e,t,n){return t&&Xo(e.prototype,t),n&&Xo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tr(e,t){return Tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Tr(e,t)}function Pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tr(e,t)}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},vn(e)}function zo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(zo=function(){return!!e})()}function Fd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gd(e,t){if(t&&(St(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Fd(e)}function Bd(e){var t=zo();return function(){var n,i=vn(e);if(t){var r=vn(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Gd(this,n)}}function Td(e){if(Array.isArray(e))return Br(e)}function Vd(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Od(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
17
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dt(e){return Td(e)||Vd(e)||Mo(e)||Od()}function Nd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Dd=Math.min,Ld=Math.max,Cn=Math.round,xn=Math.floor,An=e=>({x:e,y:e});function Md(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function Sn(){return typeof window<"u"}function Ho(e){return Zo(e)?(e.nodeName||"").toLowerCase():"#document"}function pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wo(e){var t;return(t=(Zo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zo(e){return Sn()?e instanceof Node||e instanceof pt(e).Node:!1}function Rd(e){return Sn()?e instanceof Element||e instanceof pt(e).Element:!1}function Vr(e){return Sn()?e instanceof HTMLElement||e instanceof pt(e).HTMLElement:!1}function jo(e){return!Sn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pt(e).ShadowRoot}const Xd=new Set(["inline","contents"]);function Jo(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=Or(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!Xd.has(r)}function zd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Hd=new Set(["html","body","#document"]);function Wd(e){return Hd.has(Ho(e))}function Or(e){return pt(e).getComputedStyle(e)}function Zd(e){if(Ho(e)==="html")return e;const t=e.assignedSlot||e.parentNode||jo(e)&&e.host||Wo(e);return jo(t)?t.host:t}function Yo(e){const t=Zd(e);return Wd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vr(t)&&Jo(t)?t:Yo(t)}function wn(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Yo(e),o=r===((i=e.ownerDocument)==null?void 0:i.body),l=pt(r);if(o){const a=Nr(l);return t.concat(l,l.visualViewport||[],Jo(r)?r:[],a&&n?wn(a):[])}return t.concat(r,wn(r,[],n))}function Nr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jd(e){const t=Or(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=Vr(e),o=r?e.offsetWidth:n,l=r?e.offsetHeight:i,a=Cn(n)!==o||Cn(i)!==l;return a&&(n=o,i=l),{width:n,height:i,$:a}}function Dr(e){return Rd(e)?e:e.contextElement}function _o(e){const t=Dr(e);if(!Vr(t))return An(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:o}=jd(t);let l=(o?Cn(n.width):n.width)/i,a=(o?Cn(n.height):n.height)/r;return(!l||!Number.isFinite(l))&&(l=1),(!a||!Number.isFinite(a))&&(a=1),{x:l,y:a}}const Jd=An(0);function Yd(e){const t=pt(e);return!zd()||!t.visualViewport?Jd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _d(e,t,n){return!1}function Uo(e,t,n,i){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),o=Dr(e);let l=An(1);t&&(l=_o(e));const a=_d()?Yd(o):An(0);let u=(r.left+a.x)/l.x,s=(r.top+a.y)/l.y,c=r.width/l.x,p=r.height/l.y;if(o){const f=pt(o),d=i;let y=f,h=Nr(y);for(;h&&i&&d!==y;){const C=_o(h),I=h.getBoundingClientRect(),F=Or(h),S=I.left+(h.clientLeft+parseFloat(F.paddingLeft))*C.x,w=I.top+(h.clientTop+parseFloat(F.paddingTop))*C.y;u*=C.x,s*=C.y,c*=C.x,p*=C.y,u+=S,s+=w,y=pt(h),h=Nr(y)}}return Md({width:c,height:p,x:u,y:s})}function qo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ud(e,t){let n=null,i;const r=Wo(e);function o(){var a;clearTimeout(i),(a=n)==null||a.disconnect(),n=null}function l(a,u){a===void 0&&(a=!1),u===void 0&&(u=1),o();const s=e.getBoundingClientRect(),{left:c,top:p,width:f,height:d}=s;if(a||t(),!f||!d)return;const y=xn(p),h=xn(r.clientWidth-(c+f)),C=xn(r.clientHeight-(p+d)),I=xn(c),S={rootMargin:-y+"px "+-h+"px "+-C+"px "+-I+"px",threshold:Ld(0,Dd(1,u))||1};let w=!0;function B(x){const R=x[0].intersectionRatio;if(R!==u){if(!w)return l();R?l(!1,R):i=setTimeout(()=>{l(!1,1e-7)},1e3)}R===1&&!qo(s,e.getBoundingClientRect())&&l(),w=!1}try{n=new IntersectionObserver(B,{...S,root:r.ownerDocument})}catch{n=new IntersectionObserver(B,S)}n.observe(e)}return l(!0),o}function qd(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:u=!1}=i,s=Dr(e),c=r||o?[...s?wn(s):[],...wn(t)]:[];c.forEach(I=>{r&&I.addEventListener("scroll",n,{passive:!0}),o&&I.addEventListener("resize",n)});const p=s&&a?Ud(s,n):null;let f=-1,d=null;l&&(d=new ResizeObserver(I=>{let[F]=I;F&&F.target===s&&d&&(d.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var S;(S=d)==null||S.observe(t)})),n()}),s&&!u&&d.observe(s),d.observe(t));let y,h=u?Uo(e):null;u&&C();function C(){const I=Uo(e);h&&!qo(h,I)&&n(),h=I,y=requestAnimationFrame(C)}return n(),()=>{var I;c.forEach(F=>{r&&F.removeEventListener("scroll",n),o&&F.removeEventListener("resize",n)}),p==null||p(),(I=d)==null||I.disconnect(),d=null,u&&cancelAnimationFrame(y)}}var Lr=A.useLayoutEffect,Qd=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],En=function(){};function $d(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Kd(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var o=[].concat(i);if(t&&e)for(var l in t)t.hasOwnProperty(l)&&t[l]&&o.push("".concat($d(e,l)));return o.filter(function(a){return a}).map(function(a){return String(a).trim()}).join(" ")}var kn=function(t){return sf(t)?t.filter(Boolean):St(t)==="object"&&t!==null?[t]:[]},Qo=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=it(t,Qd);return U({},n)},Ee=function(t,n,i){var r=t.cx,o=t.getStyles,l=t.getClassNames,a=t.className;return{css:o(n,t),className:r(i??{},l(n,t),a)}};function Pn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ef(e){return Pn(e)?window.innerHeight:e.clientHeight}function $o(e){return Pn(e)?window.pageYOffset:e.scrollTop}function Fn(e,t){if(Pn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function tf(e){var t=getComputedStyle(e),n=t.position==="absolute",i=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function nf(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}function Gn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:En,r=$o(e),o=t-r,l=10,a=0;function u(){a+=l;var s=nf(a,r,o,n);Fn(e,s),a<n?window.requestAnimationFrame(u):i(e)}u()}function Ko(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Fn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Fn(e,Math.max(t.offsetTop-r,0))}function rf(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function el(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function of(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var tl=!1,lf={get passive(){return tl=!0}},Bn=typeof window<"u"?window:{};Bn.addEventListener&&Bn.removeEventListener&&(Bn.addEventListener("p",En,lf),Bn.removeEventListener("p",En,!1));var af=tl;function uf(e){return e!=null}function sf(e){return Array.isArray(e)}function $t(e,t,n){return e?t:n}function Wm(e){return e}function Zm(e){return e}var cf=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=Object.entries(t).filter(function(l){var a=ct(l,1),u=a[0];return!i.includes(u)});return o.reduce(function(l,a){var u=ct(a,2),s=u[0],c=u[1];return l[s]=c,l},{})},pf=["children","innerProps"],df=["children","innerProps"];function ff(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,o=e.shouldScroll,l=e.isFixedPosition,a=e.controlHeight,u=tf(n),s={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return s;var c=u.getBoundingClientRect(),p=c.height,f=n.getBoundingClientRect(),d=f.bottom,y=f.height,h=f.top,C=n.offsetParent.getBoundingClientRect(),I=C.top,F=l?window.innerHeight:ef(u),S=$o(u),w=parseInt(getComputedStyle(n).marginBottom,10),B=parseInt(getComputedStyle(n).marginTop,10),x=I-B,R=F-h,P=x+S,O=p-S-h,V=d-F+S+w,N=S+h-B,E=160;switch(r){case"auto":case"bottom":if(R>=y)return{placement:"bottom",maxHeight:t};if(O>=y&&!l)return o&&Gn(u,V,E),{placement:"bottom",maxHeight:t};if(!l&&O>=i||l&&R>=i){o&&Gn(u,V,E);var J=l?R-w:O-w;return{placement:"bottom",maxHeight:J}}if(r==="auto"||l){var ne=t,H=l?x:P;return H>=i&&(ne=Math.min(H-w-a,t)),{placement:"top",maxHeight:ne}}if(r==="bottom")return o&&Fn(u,V),{placement:"bottom",maxHeight:t};break;case"top":if(x>=y)return{placement:"top",maxHeight:t};if(P>=y&&!l)return o&&Gn(u,N,E),{placement:"top",maxHeight:t};if(!l&&P>=i||l&&x>=i){var j=t;return(!l&&P>=i||l&&x>=i)&&(j=l?x-B:P-B),o&&Gn(u,N,E),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function gf(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var nl=function(t){return t==="auto"?"bottom":t},hf=function(t,n){var i,r=t.placement,o=t.theme,l=o.borderRadius,a=o.spacing,u=o.colors;return U((i={label:"menu"},Qt(i,gf(r),"100%"),Qt(i,"position","absolute"),Qt(i,"width","100%"),Qt(i,"zIndex",1),i),n?{}:{backgroundColor:u.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},rl=A.createContext(null),mf=function(t){var n=t.children,i=t.minMenuHeight,r=t.maxMenuHeight,o=t.menuPlacement,l=t.menuPosition,a=t.menuShouldScrollIntoView,u=t.theme,s=A.useContext(rl)||{},c=s.setPortalPlacement,p=A.useRef(null),f=A.useState(r),d=ct(f,2),y=d[0],h=d[1],C=A.useState(null),I=ct(C,2),F=I[0],S=I[1],w=u.spacing.controlHeight;return Lr(function(){var B=p.current;if(B){var x=l==="fixed",R=a&&!x,P=ff({maxHeight:r,menuEl:B,minHeight:i,placement:o,shouldScroll:R,isFixedPosition:x,controlHeight:w});h(P.maxHeight),S(P.placement),c==null||c(P.placement)}},[r,o,l,a,i,c,w]),n({ref:p,placerProps:U(U({},t),{},{placement:F||nl(o),maxHeight:y})})},bf=function(t){var n=t.children,i=t.innerRef,r=t.innerProps;return Y.jsx("div",$({},Ee(t,"menu",{menu:!0}),{ref:i},r),n)},yf=bf,If=function(t,n){var i=t.maxHeight,r=t.theme.spacing.baseUnit;return U({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},vf=function(t){var n=t.children,i=t.innerProps,r=t.innerRef,o=t.isMulti;return Y.jsx("div",$({},Ee(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},i),n)},il=function(t,n){var i=t.theme,r=i.spacing.baseUnit,o=i.colors;return U({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},Cf=il,xf=il,Af=function(t){var n=t.children,i=n===void 0?"No options":n,r=t.innerProps,o=it(t,pf);return Y.jsx("div",$({},Ee(U(U({},o),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},Sf=function(t){var n=t.children,i=n===void 0?"Loading...":n,r=t.innerProps,o=it(t,df);return Y.jsx("div",$({},Ee(U(U({},o),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},wf=function(t){var n=t.rect,i=t.offset,r=t.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},Ef=function(t){var n=t.appendTo,i=t.children,r=t.controlElement,o=t.innerProps,l=t.menuPlacement,a=t.menuPosition,u=A.useRef(null),s=A.useRef(null),c=A.useState(nl(l)),p=ct(c,2),f=p[0],d=p[1],y=A.useMemo(function(){return{setPortalPlacement:d}},[]),h=A.useState(null),C=ct(h,2),I=C[0],F=C[1],S=A.useCallback(function(){if(r){var R=rf(r),P=a==="fixed"?0:window.pageYOffset,O=R[f]+P;(O!==(I==null?void 0:I.offset)||R.left!==(I==null?void 0:I.rect.left)||R.width!==(I==null?void 0:I.rect.width))&&F({offset:O,rect:R})}},[r,a,f,I==null?void 0:I.offset,I==null?void 0:I.rect.left,I==null?void 0:I.rect.width]);Lr(function(){S()},[S]);var w=A.useCallback(function(){typeof s.current=="function"&&(s.current(),s.current=null),r&&u.current&&(s.current=qd(r,u.current,S,{elementResize:"ResizeObserver"in window}))},[r,S]);Lr(function(){w()},[w]);var B=A.useCallback(function(R){u.current=R,w()},[w]);if(!n&&a!=="fixed"||!I)return null;var x=Y.jsx("div",$({ref:B},Ee(U(U({},t),{},{offset:I.offset,position:a,rect:I.rect}),"menuPortal",{"menu-portal":!0}),o),i);return Y.jsx(rl.Provider,{value:y},n?ka.createPortal(x,n):x)},kf=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Pf=function(t){var n=t.children,i=t.innerProps,r=t.isDisabled,o=t.isRtl;return Y.jsx("div",$({},Ee(t,"container",{"--is-disabled":r,"--is-rtl":o}),i),n)},Ff=function(t,n){var i=t.theme.spacing,r=t.isMulti,o=t.hasValue,l=t.selectProps.controlShouldRenderValue;return U({alignItems:"center",display:r&&o&&l?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},Gf=function(t){var n=t.children,i=t.innerProps,r=t.isMulti,o=t.hasValue;return Y.jsx("div",$({},Ee(t,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),i),n)},Bf=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Tf=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",$({},Ee(t,"indicatorsContainer",{indicators:!0}),i),n)},ol,Vf=["size"],Of=["innerProps","isRtl","size"];function Nf(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Df=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAg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G9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:Nf},ll=function(t){var n=t.size,i=it(t,Vf);return Y.jsx("svg",$({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Df},i))},Mr=function(t){return Y.jsx(ll,$({size:20},t),Y.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},al=function(t){return Y.jsx(ll,$({size:20},t),Y.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ul=function(t,n){var i=t.isFocused,r=t.theme,o=r.spacing.baseUnit,l=r.colors;return U({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?l.neutral60:l.neutral20,padding:o*2,":hover":{color:i?l.neutral80:l.neutral40}})},Lf=ul,Mf=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",$({},Ee(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||Y.jsx(al,null))},Rf=ul,Xf=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",$({},Ee(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||Y.jsx(Mr,null))},zf=function(t,n){var i=t.isDisabled,r=t.theme,o=r.spacing.baseUnit,l=r.colors;return U({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?l.neutral10:l.neutral20,marginBottom:o*2,marginTop:o*2})},Hf=function(t){var n=t.innerProps;return Y.jsx("span",$({},n,Ee(t,"indicatorSeparator",{"indicator-separator":!0})))},Wf=Y.keyframes(ol||(ol=Nd([`
18
18
  0%, 80%, 100% { opacity: 0; }
19
19
  40% { opacity: 1; }
20
- `]))),Ef=function(t,n){var i=t.isFocused,r=t.size,o=t.theme,l=o.colors,a=o.spacing.baseUnit;return U({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?l.neutral60:l.neutral20,padding:a*2})},Or=function(t){var n=t.delay,i=t.offset;return Y.jsx("span",{css:Y.css({animation:"".concat(wf," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY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xlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},kf=function(t){var n=t.innerProps,i=t.isRtl,r=t.size,o=r===void 0?4:r,l=it(t,mf);return Y.jsx("div",$({},xe(U(U({},l),{},{innerProps:n,isRtl:i,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Y.jsx(Or,{delay:0,offset:i}),Y.jsx(Or,{delay:160,offset:!0}),Y.jsx(Or,{delay:320,offset:!i}))},Pf=function(t,n){var i=t.isDisabled,r=t.isFocused,o=t.theme,l=o.colors,a=o.borderRadius,u=o.spacing;return U({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?l.neutral5:l.neutral0,borderColor:i?l.neutral10:r?l.primary:l.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(l.primary):void 0,"&:hover":{borderColor:r?l.primary:l.neutral30}})},Ff=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,o=t.innerRef,l=t.innerProps,a=t.menuIsOpen;return Y.jsx("div",$({ref:o},xe(t,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":a}),l,{"aria-disabled":i||void 0}),n)},Bf=Ff,Gf=["data"],Tf=function(t,n){var i=t.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},Vf=function(t){var n=t.children,i=t.cx,r=t.getStyles,o=t.getClassNames,l=t.Heading,a=t.headingProps,u=t.innerProps,s=t.label,c=t.theme,p=t.selectProps;return Y.jsx("div",$({},xe(t,"group",{group:!0}),u),Y.jsx(l,$({},a,{selectProps:p,theme:c,getStyles:r,getClassNames:o,cx:i}),s),Y.jsx("div",null,n))},Of=function(t,n){var i=t.theme,r=i.colors,o=i.spacing;return U({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},Nf=function(t){var n=_o(t);n.data;var i=it(n,Gf);return Y.jsx("div",$({},xe(t,"groupHeading",{"group-heading":!0}),i))},Lf=Vf,Df=["innerRef","isDisabled","isHidden","inputClassName"],Mf=function(t,n){var i=t.isDisabled,r=t.value,o=t.theme,l=o.spacing,a=o.colors;return U(U({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},Rf),n?{}:{margin:l.baseUnit/2,paddingBottom:l.baseUnit/2,paddingTop:l.baseUnit/2,color:a.neutral80})},ll={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Rf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":U({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ll)},Xf=function(t){return U({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},ll)},zf=function(t){var n=t.cx,i=t.value,r=_o(t),o=r.innerRef,l=r.isDisabled,a=r.isHidden,u=r.inputClassName,s=it(r,Df);return Y.jsx("div",$({},xe(t,"input",{"input-container":!0}),{"data-value":i||""}),Y.jsx("input",$({className:n({input:!0},u),ref:o,style:Xf(a),disabled:l},s)))},Hf=zf,Wf=function(t,n){var i=t.theme,r=i.spacing,o=i.borderRadius,l=i.colors;return U({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:l.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},Zf=function(t,n){var i=t.theme,r=i.borderRadius,o=i.colors,l=t.cropWithEllipsis;return U({overflow:"hidden",textOverflow:l||l===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},jf=function(t,n){var i=t.theme,r=i.spacing,o=i.borderRadius,l=i.colors,a=t.isFocused;return U({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:a?l.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}})},al=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",i,n)},Jf=al,Yf=al;function _f(e){var t=e.children,n=e.innerProps;return Y.jsx("div",$({role:"button"},n),t||Y.jsx(Vr,{size:14}))}var Uf=function(t){var n=t.children,i=t.components,r=t.data,o=t.innerProps,l=t.isDisabled,a=t.removeProps,u=t.selectProps,s=i.Container,c=i.Label,p=i.Remove;return Y.jsx(s,{data:r,innerProps:U(U({},xe(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":l})),o),selectProps:u},Y.jsx(c,{data:r,innerProps:U({},xe(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},n),Y.jsx(p,{data:r,innerProps:U(U({},xe(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},a),selectProps:u}))},qf=Uf,Qf=function(t,n){var i=t.isDisabled,r=t.isFocused,o=t.isSelected,l=t.theme,a=l.spacing,u=l.colors;return U({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?u.primary:r?u.primary25:"transparent",color:i?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(a.baseUnit*2,"px ").concat(a.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:o?u.primary:u.primary50}})},$f=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,o=t.isSelected,l=t.innerRef,a=t.innerProps;return Y.jsx("div",$({},xe(t,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":o}),{ref:l,"aria-disabled":i},a),n)},Kf=$f,eg=function(t,n){var i=t.theme,r=i.spacing,o=i.colors;return U({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},tg=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",$({},xe(t,"placeholder",{placeholder:!0}),i),n)},ng=tg,rg=function(t,n){var i=t.isDisabled,r=t.theme,o=r.spacing,l=r.colors;return U({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?l.neutral40:l.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},ig=function(t){var n=t.children,i=t.isDisabled,r=t.innerProps;return Y.jsx("div",$({},xe(t,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},og=ig,Dt={ClearIndicator:xf,Control:Bf,DropdownIndicator:vf,DownChevron:il,CrossIcon:Vr,Group:Lf,GroupHeading:Nf,IndicatorsContainer:gf,IndicatorSeparator:Sf,Input:Hf,LoadingIndicator:kf,Menu:Kd,MenuList:tf,MenuPortal:uf,LoadingMessage:lf,NoOptionsMessage:of,MultiValue:qf,MultiValueContainer:Jf,MultiValueLabel:Yf,MultiValueRemove:_f,Option:Kf,Placeholder:ng,SelectContainer:cf,SingleValue:og,ValueContainer:df},lg=function(t){return U(U({},Dt),t.components)},ul=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function ag(e,t){return!!(e===t||ul(e)&&ul(t))}function ug(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ag(e[n],t[n]))return!1;return!0}function sg(e,t){t===void 0&&(t=ug);var n=null;function i(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var l=e.apply(this,r);return n={lastResult:l,lastArgs:r,lastThis:this},l}return i.clear=function(){n=null},i}function cg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var pg=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:cg},dg=function(t){return Y.jsx("span",$({css:pg},t))},sl=dg,fg={guidance:function(t){var n=t.isSearchable,i=t.isMulti,r=t.tabSelectsValue,o=t.context,l=t.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return l?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,i=t.label,r=i===void 0?"":i,o=t.labels,l=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return l?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,i=t.focused,r=t.options,o=t.label,l=o===void 0?"":o,a=t.selectValue,u=t.isDisabled,s=t.isSelected,c=t.isAppleDevice,p=function(h,v){return h&&h.length?"".concat(h.indexOf(v)+1," of ").concat(h.length):""};if(n==="value"&&a)return"value ".concat(l," focused, ").concat(p(a,i),".");if(n==="menu"&&c){var f=u?" disabled":"",d="".concat(s?" selected":"").concat(f);return"".concat(l).concat(d,", ").concat(p(r,i),".")}return""},onFilter:function(t){var n=t.inputValue,i=t.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},gg=function(t){var n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,o=t.focusableOptions,l=t.isFocused,a=t.selectValue,u=t.selectProps,s=t.id,c=t.isAppleDevice,p=u.ariaLiveMessages,f=u.getOptionLabel,d=u.inputValue,y=u.isMulti,h=u.isOptionDisabled,v=u.isSearchable,I=u.menuIsOpen,k=u.options,S=u.screenReaderStatus,A=u.tabSelectsValue,P=u.isLoading,x=u["aria-label"],M=u["aria-live"],V=w.useMemo(function(){return U(U({},fg),p||{})},[p]),R=w.useMemo(function(){var H="";if(n&&V.onChange){var J=n.option,oe=n.options,se=n.removedValue,ge=n.removedValues,b=n.value,ve=function(ce){return Array.isArray(ce)?null:ce},ie=se||J||ve(b),m=ie?f(ie):"",fe=oe||ge||void 0,Z=fe?fe.map(f):[],ue=U({isDisabled:ie&&h(ie,a),label:m,labels:Z},n);H=V.onChange(ue)}return H},[n,V,h,a,f]),D=w.useMemo(function(){var H="",J=i||r,oe=!!(i&&a&&a.includes(i));if(J&&V.onFocus){var se={focused:J,label:f(J),isDisabled:h(J,a),isSelected:oe,options:o,context:J===i?"menu":"value",selectValue:a,isAppleDevice:c};H=V.onFocus(se)}return H},[i,r,f,h,V,o,a,c]),O=w.useMemo(function(){var H="";if(I&&k.length&&!P&&V.onFilter){var J=S({count:o.length});H=V.onFilter({inputValue:d,resultsMessage:J})}return H},[o,d,I,V,k,S,P]),E=(n==null?void 0:n.action)==="initial-input-focus",j=w.useMemo(function(){var H="";if(V.guidance){var J=r?"value":I?"menu":"input";H=V.guidance({"aria-label":x,context:J,isDisabled:i&&h(i,a),isMulti:y,isSearchable:v,tabSelectsValue:A,isInitialFocus:E})}return H},[x,i,r,y,h,v,I,V,a,A,E]),K=Y.jsx(w.Fragment,null,Y.jsx("span",{id:"aria-selection"},R),Y.jsx("span",{id:"aria-focused"},D),Y.jsx("span",{id:"aria-results"},O),Y.jsx("span",{id:"aria-guidance"},j));return Y.jsx(w.Fragment,null,Y.jsx(sl,{id:s},E&&K),Y.jsx(sl,{"aria-live":M,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!E&&K))},hg=gg,Nr=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],mg=new RegExp("["+Nr.map(function(e){return e.letters}).join("")+"]","g"),cl={},Lr=0;Lr<Nr.length;Lr++)for(var Dr=Nr[Lr],Mr=0;Mr<Dr.letters.length;Mr++)cl[Dr.letters[Mr]]=Dr.base;var pl=function(t){return t.replace(mg,function(n){return cl[n]})},bg=sg(pl),dl=function(t){return t.replace(/^\s+|\s+$/g,"")},yg=function(t){return"".concat(t.label," ").concat(t.value)},Ig=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=U({ignoreCase:!0,ignoreAccents:!0,stringify:yg,trim:!0,matchFrom:"any"},t),o=r.ignoreCase,l=r.ignoreAccents,a=r.stringify,u=r.trim,s=r.matchFrom,c=u?dl(i):i,p=u?dl(a(n)):a(n);return o&&(c=c.toLowerCase(),p=p.toLowerCase()),l&&(c=bg(c),p=pl(p)),s==="start"?p.substr(0,c.length)===c:p.indexOf(c)>-1}},vg=["innerRef"];function Cg(e){var t=e.innerRef,n=it(e,vg),i=jd(n,"onExited","in","enter","exit","appear");return Y.jsx("input",$({ref:t},i,{css:Y.css({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgey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udCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var xg=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function Ag(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,o=e.onTopLeave,l=w.useRef(!1),a=w.useRef(!1),u=w.useRef(0),s=w.useRef(null),c=w.useCallback(function(v,I){if(s.current!==null){var k=s.current,S=k.scrollTop,A=k.scrollHeight,P=k.clientHeight,x=s.current,M=I>0,V=A-P-S,R=!1;V>I&&l.current&&(i&&i(v),l.current=!1),M&&a.current&&(o&&o(v),a.current=!1),M&&I>V?(n&&!l.current&&n(v),x.scrollTop=A,R=!0,l.current=!0):!M&&-I>S&&(r&&!a.current&&r(v),x.scrollTop=0,R=!0,a.current=!0),R&&xg(v)}},[n,i,r,o]),p=w.useCallback(function(v){c(v,v.deltaY)},[c]),f=w.useCallback(function(v){u.current=v.changedTouches[0].clientY},[]),d=w.useCallback(function(v){var I=u.current-v.changedTouches[0].clientY;c(v,I)},[c]),y=w.useCallback(function(v){if(v){var I=Hd?{passive:!1}:!1;v.addEventListener("wheel",p,I),v.addEventListener("touchstart",f,I),v.addEventListener("touchmove",d,I)}},[d,f,p]),h=w.useCallback(function(v){v&&(v.removeEventListener("wheel",p,!1),v.removeEventListener("touchstart",f,!1),v.removeEventListener("touchmove",d,!1))},[d,f,p]);return w.useEffect(function(){if(t){var v=s.current;return y(v),function(){h(v)}}},[t,y,h]),function(v){s.current=v}}var fl=["boxSizing","height","overflow","paddingRight","position"],gl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function hl(e){e.cancelable&&e.preventDefault()}function ml(e){e.stopPropagation()}function bl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function yl(){return"ontouchstart"in window||navigator.maxTouchPoints}var Il=!!(typeof window<"u"&&window.document&&window.document.createElement),Qt=0,Mt={capture:!1,passive:!1};function Sg(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=w.useRef({}),o=w.useRef(null),l=w.useCallback(function(u){if(Il){var s=document.body,c=s&&s.style;if(i&&fl.forEach(function(y){var h=c&&c[y];r.current[y]=h}),i&&Qt<1){var p=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,d=window.innerWidth-f+p||0;Object.keys(gl).forEach(function(y){var h=gl[y];c&&(c[y]=h)}),c&&(c.paddingRight="".concat(d,"px"))}s&&yl()&&(s.addEventListener("touchmove",hl,Mt),u&&(u.addEventListener("touchstart",bl,Mt),u.addEventListener("touchmove",ml,Mt))),Qt+=1}},[i]),a=w.useCallback(function(u){if(Il){var s=document.body,c=s&&s.style;Qt=Math.max(Qt-1,0),i&&Qt<1&&fl.forEach(function(p){var f=r.current[p];c&&(c[p]=f)}),s&&yl()&&(s.removeEventListener("touchmove",hl,Mt),u&&(u.removeEventListener("touchstart",bl,Mt),u.removeEventListener("touchmove",ml,Mt)))}},[i]);return w.useEffect(function(){if(t){var u=o.current;return l(u),function(){a(u)}}},[t,l,a]),function(u){o.current=u}}function wg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Eg=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},kg=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0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XJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:wg};function Pg(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,r=i===void 0?!0:i,o=e.onBottomArrive,l=e.onBottomLeave,a=e.onTopArrive,u=e.onTopLeave,s=Ag({isEnabled:r,onBottomArrive:o,onBottomLeave:l,onTopArrive:a,onTopLeave:u}),c=Sg({isEnabled:n}),p=function(d){s(d),c(d)};return Y.jsx(w.Fragment,null,n&&Y.jsx("div",{onClick:Eg,css:kg}),t(p))}function Fg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Bg=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:Fg},Gg=function(t){var n=t.name,i=t.onFocus;return Y.jsx("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:Bg,value:"",onChange:function(){}})},Tg=Gg;function Rr(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Vg(){return Rr(/^iPhone/i)}function vl(){return Rr(/^Mac/i)}function Og(){return Rr(/^iPad/i)||vl()&&navigator.maxTouchPoints>1}function Ng(){return Vg()||Og()}function Lg(){return vl()||Ng()}var Dg=function(t){return t.label},Cl=function(t){return t.label},xl=function(t){return t.value},Mg=function(t){return!!t.isDisabled},Rg={clearIndicator:Cf,container:sf,control:Pf,dropdownIndicator:If,group:Tf,groupHeading:Of,indicatorsContainer:ff,indicatorSeparator:Af,input:Mf,loadingIndicator:Ef,loadingMessage:rf,menu:qd,menuList:ef,menuPortal:af,multiValue:Wf,multiValueLabel:Zf,multiValueRemove:jf,noOptionsMessage:nf,option:Qf,placeholder:eg,singleValue:rg,valueContainer:pf};function Xg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=U({},e);return Object.keys(t).forEach(function(i){var r=i;e[r]?n[r]=function(o,l){return t[r](e[r](o,l),l)}:n[r]=t[r]}),n}var zg={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Hg=4,Al=4,Wg=38,Zg=Al*2,jg={baseUnit:Al,controlHeight:Wg,menuGutter:Zg},$t={borderRadius:Hg,colors:zg,spacing:jg},Jg={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qo(),captureMenuScroll:!Qo(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ig(),formatGroupLabel:Dg,getOptionLabel:Cl,getOptionValue:xl,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Mg,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Xd(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Sl(e,t,n,i){var r=Fl(e,t,n),o=Bl(e,t,n),l=Pl(e,t),a=Tn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:o,label:l,value:a,index:i}}function Gn(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(l,a){return Sl(e,l,t,a)}).filter(function(l){return kl(e,l)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=Sl(e,n,t,i);return kl(e,o)?o:void 0}).filter(Wd)}function wl(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Lt(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function El(e,t){return e.reduce(function(n,i){return i.type==="group"?n.push.apply(n,Lt(i.options.map(function(r){return{data:r.data,id:"".concat(t,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(t,"-").concat(i.index)}),n},[])}function Yg(e,t){return wl(Gn(e,t))}function kl(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,o=t.isSelected,l=t.label,a=t.value;return(!Tl(e)||!o)&&Gl(e,{label:l,value:a,data:r},i)}function _g(e,t){var n=e.focusedValue,i=e.selectValue,r=i.indexOf(n);if(r>-1){var o=t.indexOf(n);if(o>-1)return n;if(r<t.length)return t[r]}return null}function Ug(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Xr=function(t,n){var i,r=(i=t.find(function(o){return o.data===n}))===null||i===void 0?void 0:i.id;return r||null},Pl=function(t,n){return t.getOptionLabel(n)},Tn=function(t,n){return t.getOptionValue(n)};function Fl(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Bl(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var i=Tn(e,t);return n.some(function(r){return Tn(e,r)===i})}function Gl(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Tl=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},qg=1,zr=function(e){dd(n,e);var t=hd(n);function n(i){var r;if(cd(this,n),r=t.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=Lg(),r.controlRef=null,r.getControlRef=function(u){r.controlRef=u},r.focusedOptionRef=null,r.getFocusedOptionRef=function(u){r.focusedOptionRef=u},r.menuListRef=null,r.getMenuListRef=function(u){r.menuListRef=u},r.inputRef=null,r.getInputRef=function(u){r.inputRef=u},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(u,s){var c=r.props,p=c.onChange,f=c.name;s.name=f,r.ariaOnChange(u,s),p(u,s)},r.setValue=function(u,s,c){var p=r.props,f=p.closeMenuOnSelect,d=p.isMulti,y=p.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:y}),f&&(r.setState({inputIsHiddenAfterUpdate:!d}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(u,{action:s,option:c})},r.selectOption=function(u){var s=r.props,c=s.blurInputOnSelect,p=s.isMulti,f=s.name,d=r.state.selectValue,y=p&&r.isOptionSelected(u,d),h=r.isOptionDisabled(u,d);if(y){var v=r.getOptionValue(u);r.setValue(d.filter(function(I){return r.getOptionValue(I)!==v}),"deselect-option",u)}else if(!h)p?r.setValue([].concat(Lt(d),[u]),"select-option",u):r.setValue(u,"select-option");else{r.ariaOnChange(u,{action:"select-option",option:u,name:f});return}c&&r.blurInput()},r.removeValue=function(u){var s=r.props.isMulti,c=r.state.selectValue,p=r.getOptionValue(u),f=c.filter(function(y){return r.getOptionValue(y)!==p}),d=qt(s,f,f[0]||null);r.onChange(d,{action:"remove-value",removedValue:u}),r.focusInput()},r.clearValue=function(){var u=r.state.selectValue;r.onChange(qt(r.props.isMulti,[],null),{action:"clear",removedValues:u})},r.popValue=function(){var u=r.props.isMulti,s=r.state.selectValue,c=s[s.length-1],p=s.slice(0,s.length-1),f=qt(u,p,p[0]||null);c&&r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(u){return Xr(r.state.focusableOptionsWithIds,u)},r.getFocusableOptionsWithIds=function(){return El(Gn(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];return Nd.apply(void 0,[r.props.classNamePrefix].concat(s))},r.getOptionLabel=function(u){return Pl(r.props,u)},r.getOptionValue=function(u){return Tn(r.props,u)},r.getStyles=function(u,s){var c=r.props.unstyled,p=Rg[u](s,c);p.boxSizing="border-box";var f=r.props.styles[u];return f?f(p,s):p},r.getClassNames=function(u,s){var c,p;return(c=(p=r.props.classNames)[u])===null||c===void 0?void 0:c.call(p,s)},r.getElementId=function(u){return"".concat(r.state.instancePrefix,"-").concat(u)},r.getComponents=function(){return lg(r.props)},r.buildCategorizedOptions=function(){return Gn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return wl(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(u,s){r.setState({ariaSelection:U({value:u},s)})},r.onMenuMouseDown=function(u){u.button===0&&(u.stopPropagation(),u.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(u){r.blockOptionHover=!1},r.onControlMouseDown=function(u){if(!u.defaultPrevented){var s=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&r.onMenuClose():s&&r.openMenu("first"):(s&&(r.openAfterFocus=!0),r.focusInput()),u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&u.preventDefault()}},r.onDropdownIndicatorMouseDown=function(u){if(!(u&&u.type==="mousedown"&&u.button!==0)&&!r.props.isDisabled){var s=r.props,c=s.isMulti,p=s.menuIsOpen;r.focusInput(),p?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),u.preventDefault()}},r.onClearIndicatorMouseDown=function(u){u&&u.type==="mousedown"&&u.button!==0||(r.clearValue(),u.preventDefault(),r.openAfterFocus=!1,u.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(u){typeof r.props.closeMenuOnScroll=="boolean"?u.target instanceof HTMLElement&&kn(u.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(u)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(u){var s=u.touches,c=s&&s.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(u){var s=u.touches,c=s&&s.item(0);if(c){var p=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),d=5;r.userIsDragging=p>d||f>d}},r.onTouchEnd=function(u){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(u.target)&&r.menuListRef&&!r.menuListRef.contains(u.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(u){r.userIsDragging||r.onControlMouseDown(u)},r.onClearIndicatorTouchEnd=function(u){r.userIsDragging||r.onClearIndicatorMouseDown(u)},r.onDropdownIndicatorTouchEnd=function(u){r.userIsDragging||r.onDropdownIndicatorMouseDown(u)},r.handleInputChange=function(u){var s=r.props.inputValue,c=u.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:s}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(u){r.props.onFocus&&r.props.onFocus(u),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(u){var s=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(u),r.onInputChange("",{action:"input-blur",prevInputValue:s}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(u){if(!(r.blockOptionHover||r.state.focusedOption===u)){var s=r.getFocusableOptions(),c=s.indexOf(u);r.setState({focusedOption:u,focusedOptionId:c>-1?r.getFocusedOptionId(u):null})}},r.shouldHideSelectedOptions=function(){return Tl(r.props)},r.onValueInputFocus=function(u){u.preventDefault(),u.stopPropagation(),r.focus()},r.onKeyDown=function(u){var s=r.props,c=s.isMulti,p=s.backspaceRemovesValue,f=s.escapeClearsValue,d=s.inputValue,y=s.isClearable,h=s.isDisabled,v=s.menuIsOpen,I=s.onKeyDown,k=s.tabSelectsValue,S=s.openMenuOnFocus,A=r.state,P=A.focusedOption,x=A.focusedValue,M=A.selectValue;if(!h&&!(typeof I=="function"&&(I(u),u.defaultPrevented))){switch(r.blockOptionHover=!0,u.key){case"ArrowLeft":if(!c||d)return;r.focusValue("previous");break;case"ArrowRight":if(!c||d)return;r.focusValue("next");break;case"Delete":case"Backspace":if(d)return;if(x)r.removeValue(x);else{if(!p)return;c?r.popValue():y&&r.clearValue()}break;case"Tab":if(r.isComposing||u.shiftKey||!v||!k||!P||S&&r.isOptionSelected(P,M))return;r.selectOption(P);break;case"Enter":if(u.keyCode===229)break;if(v){if(!P||r.isComposing)return;r.selectOption(P);break}return;case"Escape":v?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:d}),r.onMenuClose()):y&&f&&r.clearValue();break;case" ":if(d)return;if(!v){r.openMenu("first");break}if(!P)return;r.selectOption(P);break;case"ArrowUp":v?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":v?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!v)return;r.focusOption("pageup");break;case"PageDown":if(!v)return;r.focusOption("pagedown");break;case"Home":if(!v)return;r.focusOption("first");break;case"End":if(!v)return;r.focusOption("last");break;default:return}u.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++qg),r.state.selectValue=En(i.value),i.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),l=r.buildFocusableOptions(),a=l.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=l[a],r.state.focusedOptionId=Xr(o,l[a])}return r}return pd(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&qo(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var o=this.props,l=o.isDisabled,a=o.menuIsOpen,u=this.state.isFocused;(u&&!l&&r.isDisabled||u&&a&&!r.menuIsOpen)&&this.focusInput(),u&&l&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!l&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(qo(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,o){this.props.onInputChange(r,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var o=this,l=this.state,a=l.selectValue,u=l.isFocused,s=this.buildFocusableOptions(),c=r==="first"?0:s.length-1;if(!this.props.isMulti){var p=s.indexOf(a[0]);p>-1&&(c=p)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:s[c],focusedOptionId:this.getFocusedOptionId(s[c])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(r){var o=this.state,l=o.selectValue,a=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=l.indexOf(a);a||(u=-1);var s=l.length-1,c=-1;if(l.length){switch(r){case"previous":u===0?c=0:u===-1?c=s:c=u-1;break;case"next":u>-1&&u<s&&(c=u+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:l[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,l=this.state.focusedOption,a=this.getFocusableOptions();if(a.length){var u=0,s=a.indexOf(l);l||(s=-1),r==="up"?u=s>0?s-1:a.length-1:r==="down"?u=(s+1)%a.length:r==="pageup"?(u=s-o,u<0&&(u=0)):r==="pagedown"?(u=s+o,u>a.length-1&&(u=a.length-1)):r==="last"&&(u=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[u],focusedValue:null,focusedOptionId:this.getFocusedOptionId(a[u])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme($t):U(U({},$t),this.props.theme):$t}},{key:"getCommonProps",value:function(){var r=this.clearValue,o=this.cx,l=this.getStyles,a=this.getClassNames,u=this.getValue,s=this.selectOption,c=this.setValue,p=this.props,f=p.isMulti,d=p.isRtl,y=p.options,h=this.hasValue();return{clearValue:r,cx:o,getStyles:l,getClassNames:a,getValue:u,hasValue:h,isMulti:f,isRtl:d,options:y,selectOption:s,selectProps:p,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,o=r.isClearable,l=r.isMulti;return o===void 0?l:o}},{key:"isOptionDisabled",value:function(r,o){return Fl(this.props,r,o)}},{key:"isOptionSelected",value:function(r,o){return Bl(this.props,r,o)}},{key:"filterOption",value:function(r,o){return Gl(this.props,r,o)}},{key:"formatOptionLabel",value:function(r,o){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(r,{context:o,inputValue:l,selectValue:a})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,o=r.isDisabled,l=r.isSearchable,a=r.inputId,u=r.inputValue,s=r.tabIndex,c=r.form,p=r.menuIsOpen,f=r.required,d=this.getComponents(),y=d.Input,h=this.state,v=h.inputIsHidden,I=h.ariaSelection,k=this.commonProps,S=a||this.getElementId("input"),A=U(U(U({"aria-autocomplete":"list","aria-expanded":p,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},p&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?(I==null?void 0:I.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?pe.createElement(y,$({},k,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:S,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:c,type:"text",value:u},A)):pe.createElement(Cg,$({id:S,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:wn,onFocus:this.onInputFocus,disabled:o,tabIndex:s,inputMode:"none",form:c,value:""},A))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,o=this.getComponents(),l=o.MultiValue,a=o.MultiValueContainer,u=o.MultiValueLabel,s=o.MultiValueRemove,c=o.SingleValue,p=o.Placeholder,f=this.commonProps,d=this.props,y=d.controlShouldRenderValue,h=d.isDisabled,v=d.isMulti,I=d.inputValue,k=d.placeholder,S=this.state,A=S.selectValue,P=S.focusedValue,x=S.isFocused;if(!this.hasValue()||!y)return I?null:pe.createElement(p,$({},f,{key:"placeholder",isDisabled:h,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),k);if(v)return A.map(function(V,R){var D=V===P,O="".concat(r.getOptionLabel(V),"-").concat(r.getOptionValue(V));return pe.createElement(l,$({},f,{components:{Container:a,Label:u,Remove:s},isFocused:D,isDisabled:h,key:O,index:R,removeProps:{onClick:function(){return r.removeValue(V)},onTouchEnd:function(){return r.removeValue(V)},onMouseDown:function(j){j.preventDefault()}},data:V}),r.formatOptionLabel(V,"value"))});if(I)return null;var M=A[0];return pe.createElement(c,$({},f,{data:M,isDisabled:h}),this.formatOptionLabel(M,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),o=r.ClearIndicator,l=this.commonProps,a=this.props,u=a.isDisabled,s=a.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||u||!this.hasValue()||s)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return pe.createElement(o,$({},l,{innerProps:p,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),o=r.LoadingIndicator,l=this.commonProps,a=this.props,u=a.isDisabled,s=a.isLoading,c=this.state.isFocused;if(!o||!s)return null;var p={"aria-hidden":"true"};return pe.createElement(o,$({},l,{innerProps:p,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),o=r.DropdownIndicator,l=r.IndicatorSeparator;if(!o||!l)return null;var a=this.commonProps,u=this.props.isDisabled,s=this.state.isFocused;return pe.createElement(l,$({},a,{isDisabled:u,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),o=r.DropdownIndicator;if(!o)return null;var l=this.commonProps,a=this.props.isDisabled,u=this.state.isFocused,s={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return pe.createElement(o,$({},l,{innerProps:s,isDisabled:a,isFocused:u}))}},{key:"renderMenu",value:function(){var r=this,o=this.getComponents(),l=o.Group,a=o.GroupHeading,u=o.Menu,s=o.MenuList,c=o.MenuPortal,p=o.LoadingMessage,f=o.NoOptionsMessage,d=o.Option,y=this.commonProps,h=this.state.focusedOption,v=this.props,I=v.captureMenuScroll,k=v.inputValue,S=v.isLoading,A=v.loadingMessage,P=v.minMenuHeight,x=v.maxMenuHeight,M=v.menuIsOpen,V=v.menuPlacement,R=v.menuPosition,D=v.menuPortalTarget,O=v.menuShouldBlockScroll,E=v.menuShouldScrollIntoView,j=v.noOptionsMessage,K=v.onMenuScrollToTop,H=v.onMenuScrollToBottom;if(!M)return null;var J=function(m,fe){var Z=m.type,ue=m.data,Ae=m.isDisabled,ce=m.isSelected,Fe=m.label,le=m.value,ye=h===ue,Ie=Ae?void 0:function(){return r.onOptionHover(ue)},Se=Ae?void 0:function(){return r.selectOption(ue)},ke="".concat(r.getElementId("option"),"-").concat(fe),Oe={id:ke,onClick:Se,onMouseMove:Ie,onMouseOver:Ie,tabIndex:-1,role:"option","aria-selected":r.isAppleDevice?void 0:ce};return pe.createElement(d,$({},y,{innerProps:Oe,data:ue,isDisabled:Ae,isSelected:ce,key:ke,label:Fe,type:Z,value:le,isFocused:ye,innerRef:ye?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(m.data,"menu"))},oe;if(this.hasOptions())oe=this.getCategorizedOptions().map(function(ie){if(ie.type==="group"){var m=ie.data,fe=ie.options,Z=ie.index,ue="".concat(r.getElementId("group"),"-").concat(Z),Ae="".concat(ue,"-heading");return pe.createElement(l,$({},y,{key:ue,data:m,options:fe,Heading:a,headingProps:{id:Ae,data:ie.data},label:r.formatGroupLabel(ie.data)}),ie.options.map(function(ce){return J(ce,"".concat(Z,"-").concat(ce.index))}))}else if(ie.type==="option")return J(ie,"".concat(ie.index))});else if(S){var se=A({inputValue:k});if(se===null)return null;oe=pe.createElement(p,y,se)}else{var ge=j({inputValue:k});if(ge===null)return null;oe=pe.createElement(f,y,ge)}var b={minMenuHeight:P,maxMenuHeight:x,menuPlacement:V,menuPosition:R,menuShouldScrollIntoView:E},ve=pe.createElement(Qd,$({},y,b),function(ie){var m=ie.ref,fe=ie.placerProps,Z=fe.placement,ue=fe.maxHeight;return pe.createElement(u,$({},y,b,{innerRef:m,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:S,placement:Z}),pe.createElement(Pg,{captureEnabled:I,onTopArrive:K,onBottomArrive:H,lockEnabled:O},function(Ae){return pe.createElement(s,$({},y,{innerRef:function(Fe){r.getMenuListRef(Fe),Ae(Fe)},innerProps:{role:"listbox","aria-multiselectable":y.isMulti,id:r.getElementId("listbox")},isLoading:S,maxHeight:ue,focusedOption:h}),oe)}))});return D||R==="fixed"?pe.createElement(c,$({},y,{appendTo:D,controlElement:this.controlRef,menuPlacement:V,menuPosition:R}),ve):ve}},{key:"renderFormField",value:function(){var r=this,o=this.props,l=o.delimiter,a=o.isDisabled,u=o.isMulti,s=o.name,c=o.required,p=this.state.selectValue;if(c&&!this.hasValue()&&!a)return pe.createElement(Tg,{name:s,onFocus:this.onValueInputFocus});if(!(!s||a))if(u)if(l){var f=p.map(function(h){return r.getOptionValue(h)}).join(l);return pe.createElement("input",{name:s,type:"hidden",value:f})}else{var d=p.length>0?p.map(function(h,v){return pe.createElement("input",{key:"i-".concat(v),name:s,type:"hidden",value:r.getOptionValue(h)})}):pe.createElement("input",{name:s,type:"hidden",value:""});return pe.createElement("div",null,d)}else{var y=p[0]?this.getOptionValue(p[0]):"";return pe.createElement("input",{name:s,type:"hidden",value:y})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,o=this.state,l=o.ariaSelection,a=o.focusedOption,u=o.focusedValue,s=o.isFocused,c=o.selectValue,p=this.getFocusableOptions();return pe.createElement(hg,$({},r,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:a,focusedValue:u,isFocused:s,selectValue:c,focusableOptions:p,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),o=r.Control,l=r.IndicatorsContainer,a=r.SelectContainer,u=r.ValueContainer,s=this.props,c=s.className,p=s.id,f=s.isDisabled,d=s.menuIsOpen,y=this.state.isFocused,h=this.commonProps=this.getCommonProps();return pe.createElement(a,$({},h,{className:c,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:y}),this.renderLiveRegion(),pe.createElement(o,$({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:y,menuIsOpen:d}),pe.createElement(u,$({},h,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),pe.createElement(l,$({},h,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,o){var l=o.prevProps,a=o.clearFocusValueOnUpdate,u=o.inputIsHiddenAfterUpdate,s=o.ariaSelection,c=o.isFocused,p=o.prevWasFocused,f=o.instancePrefix,d=r.options,y=r.value,h=r.menuIsOpen,v=r.inputValue,I=r.isMulti,k=En(y),S={};if(l&&(y!==l.value||d!==l.options||h!==l.menuIsOpen||v!==l.inputValue)){var A=h?Yg(r,k):[],P=h?El(Gn(r,k),"".concat(f,"-option")):[],x=a?_g(o,k):null,M=Ug(o,A),V=Xr(P,M);S={selectValue:k,focusedOption:M,focusedOptionId:V,focusableOptionsWithIds:P,focusedValue:x,clearFocusValueOnUpdate:!1}}var R=u!=null&&r!==l?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},D=s,O=c&&p;return c&&!O&&(D={value:qt(I,k,k[0]||null),options:k,action:"initial-input-focus"},O=!p),(s==null?void 0:s.action)==="initial-input-focus"&&(D=null),U(U(U({},S),R),{},{prevProps:r,ariaSelection:D,prevWasFocused:O})}}]),n}(w.Component);zr.defaultProps=Jg;var Qg=w.forwardRef(function(e,t){var n=Do(e);return pe.createElement(zr,$({ref:t},n))}),Vn=Qg;const $g=$t,On={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},boxShadow:{button:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px",card:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",dropdown:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",input:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},spacing:{baseUnit:4,controlHeight:32,menuGutter:8}},Vl={colors:{},spacing:{baseUnit:4,controlHeight:32,menuGutter:8},boxShadow:{button:"none",input:"none",card:"none",dropdown:"none"}};function Ol(e){if(!e)return $t;const t=typeof e=="function"?e(On):e,{colors:n,spacing:i,borderRadius:r}=Nn($g,t);return{borderRadius:r,colors:n,spacing:i}}function Nn(e,...t){const n={borderRadius:e.borderRadius,colors:{...e.colors},spacing:{...e.spacing},boxShadow:{...e.boxShadow}};for(const i of t)i&&(n.borderRadius=i.borderRadius??n.borderRadius,Object.assign(n.boxShadow,i.boxShadow),Object.assign(n.colors,i.colors),Object.assign(n.spacing,i.spacing));return n}const Kg=({...e})=>{const[t,n]=w.useState(!1),i={textDecoration:"underline",textUnderlineOffset:"3px",color:"inherit",transition:"opacity 0.2s ease",opacity:t?.7:1};return G.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"2px"},children:[G.jsx("a",{...e,target:"_blank",rel:"noopener noreferrer",style:i,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)}),G.jsx("span",{style:{fontSize:"0.7em",opacity:.7},children:"↗"})]})};function Nl(e){const{field:t,markdown:n}=e,{prop:i}=t,{getClassNames:r,getStyles:o,theme:l}=De(),a=w.useMemo(()=>({color:l.colors.neutral50,fontWeight:400,fontSize:"0.75rem",gridArea:"description",textWrap:"balance",lineHeight:"1.5"}),[l.colors.neutral50]),u=w.useMemo(()=>({a:Kg}),[]),s=e;return i.type==="app"?G.jsx("p",{className:r("description",s),style:o("description",a,s),children:"Credentials are encrypted."}):i.description?G.jsxs("div",{className:r("description",s),style:o("description",a,s),children:[" ",G.jsx(Po,{components:u,children:n})]}):null}function Ll(e){const{field:t}=e,{enableDebugging:n,errors:i={},prop:r={}}=t;if(!n||!i[r.name])return null;const o=i[r.name].map(u=>({type:"alert",alertType:"error",content:u,name:r.name})),l={display:"grid",gridTemplateColumns:"max-content"},a=()=>G.jsx(G.Fragment,{children:o.map((u,s)=>G.jsx(bn,{prop:u},s))});return G.jsx("div",{className:"pd-errors",style:l,children:G.jsx(a,{})})}function Dl(e){const{text:t,field:n}=e,{id:i}=n,{getProps:r,theme:o}=De(),l={color:o.colors.neutral90,fontWeight:450,gridArea:"label",lineHeight:"1.5"};return G.jsx("label",{htmlFor:i,...r("label",l,e),children:t})}const Ml=e=>{const{onChange:t}=e,{getProps:n,theme:i}=De(),r={backgroundColor:i.colors.primary,borderRadius:i.borderRadius,border:"solid 1px",borderColor:i.colors.primary25,color:i.colors.primary25,padding:"0.5rem",fontSize:"0.8125rem",fontWeight:"450",gridArea:"control",cursor:"pointer",width:"100%"};return G.jsx("button",{onClick:t,type:"button",...n("loadMoreButton",r,e),children:"Load More"})},Rl=e=>{const{prop:t,enabled:n,onClick:i}=e,{getProps:r,theme:o}=De(),l={color:o.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${o.spacing.baseUnit}px ${o.spacing.baseUnit*1.5}px ${o.spacing.baseUnit}px ${o.spacing.baseUnit*2.5}px`,border:`1px solid ${o.colors.neutral30}`,borderRadius:o.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:o.spacing.baseUnit*2,textWrap:"nowrap"};return G.jsxs("button",{onClick:i,type:"button",...r("optionalFieldButton",l,e),children:[G.jsx("span",{children:n?"-":"+"}),G.jsx("span",{style:{marginRight:8},children:t.label||t.name})]})},Xl={Description:Nl,Errors:Ll,Label:Dl,OptionalFieldButton:Rl,Button:Ml},Ln=w.createContext({classNames:{},classNamePrefix:"",components:{},styles:{},theme:On,unstyled:!1});function eh(){const e=w.useContext(Ln)??{},t=Ol(e.theme??{});function n(){return e.classNamePrefix??""}function i(a){var c;const u=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${a}`,s={...((c=e.classNames)==null?void 0:c[a])??{}};return typeof(s==null?void 0:s.container)=="function"&&(s.container=typeof(s==null?void 0:s.container)=="function"?(...p)=>{var f;return[(f=s==null?void 0:s.container)==null?void 0:f.call(s,...p),u].join(" ")}:()=>u),s}function r(a,u){var s;return{...Dt,...u??{},...((s=e==null?void 0:e.components)==null?void 0:s[a])??{}}}function o(a,u){var c;const s=(c=e.styles)==null?void 0:c[a];return Xg(s??{},u??{})}function l(a,u){return{classNamePrefix:n(),classNames:i(a),components:r(a,u==null?void 0:u.components),styles:o(a,u==null?void 0:u.styles),theme:t}}return{getClassNamePrefix:n,getClassNames:i,getComponents:r,getProps:l,getStyles:o,theme:t}}function De(){const e=w.useContext(Ln)??{},t=e.theme,n=e.unstyled?Vl:On,i=typeof t=="function"?Nn(n,t(n)):Nn(n,t);function r(u,s){var f;const c=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${u.toLowerCase()}`,p=(f=e.classNames)==null?void 0:f[u];if(typeof p=="function"){const d=p,y={...s??{},theme:i};return[c,d(y)].filter(Boolean).join(" ")}return[c,p].filter(Boolean).join(" ")}function o(){return{...Xl,...(e==null?void 0:e.components)??{}}}function l(u,s,c){var f;const p=(f=e.styles)==null?void 0:f[u];if(typeof p=="function"){const d=p,y={...c??{},theme:i};return d(s,y)}return p?{...s,...p}:s}function a(u,s,c){return{className:r(u,c),style:l(u,s,c)}}return{getClassNames:r,getComponents:o,getProps:a,getStyles:l,select:eh(),theme:i}}const th=({children:e,...t})=>G.jsx(Ln.Provider,{value:t,children:e}),Hr=w.createContext(void 0),ot=()=>{const e=w.useContext(Hr);if(!e)throw new Error("Must be used inside FormFieldContext.Provider");return e},zl=(e,t)=>{const n=st(),i={externalUserId:e.external_user_id,app:e.app,oauthAppId:e.oauth_app_id},r=ut.useQuery({...t==null?void 0:t.useQueryOpts,queryKey:["accounts",e],queryFn:async()=>(await n.accounts.list(i)).data});return{...r,accounts:r.data||[]}},nh=e=>G.jsx(Dt.Option,{...e,children:e.data.name});function Hl({app:e}){const t=st(),{externalUserId:n,oauthAppConfig:i}=_t(),r=ot(),{id:o,prop:l,value:a,onChange:u}=r,{getProps:s,select:c,theme:p}=De(),f={color:p.colors.neutral60,gridArea:"control"},d={backgroundColor:p.colors.primary,borderRadius:p.borderRadius,border:"solid 1px",borderColor:p.colors.primary25,color:p.colors.primary25,padding:"0.25rem 0.5rem",gridArea:"control"},y={components:{Option:nh},styles:{control:V=>({...V,gridArea:"control",boxShadow:p.boxShadow.input})}},h=c.getProps("controlAppSelect",y),v=i==null?void 0:i[e.nameSlug],{isLoading:I,accounts:k,refetch:S}=zl({external_user_id:n,app:e.nameSlug,oauth_app_id:v},{useQueryOpts:{enabled:!!e,suspense:!!e}}),A=async()=>{t.connectAccount({app:l.app,oauthAppId:v,onSuccess:async V=>{await S(),u({authProvisionId:V.id})},onError:()=>{}})},P={id:"_new",name:`Connect new ${e.name} account...`},x=w.useMemo(()=>[...k,P],[k]),M=w.useMemo(()=>{if(a!=null&&a.authProvisionId){for(const V of k)if(a.authProvisionId===V.id)return V}return P},[k,a]);return G.jsx("div",{...s("controlApp",f,{app:e,...r}),children:I?`Loading ${e.name} accounts...`:k.length?G.jsx(Vn,{instanceId:o,value:M,options:x,...h,required:!0,placeholder:`Select ${e.name} account...`,isLoading:I,isClearable:!0,isSearchable:!0,getOptionLabel:V=>V.name??"",getOptionValue:V=>V.id,onChange:V=>{V?V.id==="_new"?A():u({authProvisionId:V.id}):u(void 0)}}):G.jsxs("button",{type:"button",...s("connectButton",d,{app:e,...r}),onClick:()=>A(),children:["Connect ",e.name]})})}const Wl=e=>({color:e.colors.neutral60,border:"1px solid",borderColor:e.colors.neutral20,padding:6,borderRadius:e.borderRadius,boxShadow:e.boxShadow.input,flex:1}),Wr=e=>({color:e.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${e.spacing.baseUnit}px ${e.spacing.baseUnit*1.5}px ${e.spacing.baseUnit}px ${e.spacing.baseUnit*2.5}px`,border:`1px solid ${e.colors.neutral30}`,borderRadius:e.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:e.spacing.baseUnit*2,textWrap:"nowrap",backgroundColor:"white"}),Zl=e=>({...Wr(e),flex:"0 0 auto",padding:"6px 8px"}),jl=()=>({gridArea:"control",display:"flex",flexDirection:"column",gap:"0.5rem"}),Jl=()=>({display:"flex",gap:"0.5rem",alignItems:"center"});function rh(){var S;const e=ot(),{onChange:t,prop:n,value:i}=e,{getProps:r,theme:o}=De(),l=()=>{if(!i||!Array.isArray(i))return[""];const A=i.map(P=>typeof P=="string"?P:JSON.stringify(P));return A.length>0?A:[""]},[a,u]=w.useState(l);w.useEffect(()=>{u(l())},[i]);const s=A=>{const P=A.filter(x=>x.trim()!=="");if(P.length===0){t(void 0);return}t(P)},c=(A,P)=>{const x=[...a];x[A]=P,u(x),s(x)},p=()=>{const A=[...a,""];u(A)},f=A=>{const P=a.filter((x,M)=>M!==A);u(P.length>0?P:[""]),s(P)},d=jl(),y=Jl(),h=Wl(o),v=Wr(o),I=Zl(o),k=((S=a[a.length-1])==null?void 0:S.trim())||a.length>1;return G.jsxs("div",{...r("controlArray",d,e),children:[a.map((A,P)=>G.jsxs("div",{style:y,children:[G.jsx("input",{type:"text",value:A,onChange:x=>c(P,x.target.value),placeholder:"",style:h,required:!n.optional&&P===0}),a.length>1&&G.jsx("button",{type:"button",onClick:()=>f(P),style:I,"aria-label":"Remove value",children:"×"})]},P)),k&&G.jsxs("button",{type:"button",onClick:p,style:{...v,alignSelf:"flex-start",paddingRight:`${o.spacing.baseUnit*2}px`},children:[G.jsx("span",{children:"+"}),G.jsx("span",{children:"Add more"})]})]})}function Yl(){const e=ot(),{id:t,value:n,onChange:i}=e,{getProps:r}=De(),o={width:"16px",height:"16px",gridArea:"control",margin:"0 0.5rem 0 0"};return G.jsx("input",{id:t,type:"checkbox",...r("controlBoolean",o,e),checked:n??!1,onChange:l=>i(l.target.checked)})}function _l(){const e=ot(),{id:t,onChange:n,prop:i,value:r}=e,{getProps:o,theme:l}=De(),a={color:l.colors.neutral60,display:"block",border:"1px solid",borderColor:l.colors.neutral20,padding:6,width:"100%",borderRadius:l.borderRadius,gridArea:"control",boxShadow:l.boxShadow.input};let u="off",s="text",c=d=>d;switch(i.type){case"string":break;case"integer":s="number",c=d=>d?parseInt(d):void 0;break;default:throw new Error("unexpected prop.type for ControlInput: "+i.type)}"secret"in i&&i.secret&&(s="password",u="new-password");const p=rt(i,"integer")?i.min:void 0,f=rt(i,"integer")?i.max:void 0;return G.jsx("input",{id:t,type:s,name:i.name,value:String(r??""),onChange:d=>n(c(d.target.value)),...o("controlInput",a,e),min:p,max:f,autoComplete:u,"data-lpignore":"true","data-1p-ignore":"true",required:!i.optional})}function ih(){const e=ot(),{onChange:t,prop:n,value:i}=e,{getProps:r,theme:o}=De(),l=S=>{if(S===null||typeof S!="object"||S instanceof Date||S instanceof Function||S instanceof RegExp)return!1;const A=Object.getPrototypeOf(S);return A===Object.prototype||A===null},a=()=>{if(!i||typeof i!="object"||Array.isArray(i))return[{key:"",value:""}];if(!l(i))return[{key:"",value:""}];const S=Object.entries(i).map(([A,P])=>({key:A,value:typeof P=="string"?P:(()=>{try{return JSON.stringify(P)}catch{return String(P)}})()}));return S.length>0?S:[{key:"",value:""}]},[u,s]=w.useState(a);w.useEffect(()=>{if(!i||typeof i!="object"||Array.isArray(i)){s([{key:"",value:""}]);return}if(!l(i)){s([{key:"",value:""}]);return}const S=Object.entries(i).map(([A,P])=>({key:A,value:typeof P=="string"?P:(()=>{try{return JSON.stringify(P)}catch{return String(P)}})()}));s(S.length>0?S:[{key:"",value:""}])},[i]);const c=S=>{const A=S.filter(x=>x.key.trim()!=="");if(A.length===0){t(void 0);return}const P={};A.forEach(x=>{if(x.key.trim())try{P[x.key]=JSON.parse(x.value)}catch{P[x.key]=x.value}}),t(P)},p=(S,A,P)=>{const x=[...u];x[S]={...x[S],[A]:P},s(x),c(x)},f=()=>{const S=[...u,{key:"",value:""}];s(S)},d=S=>{const A=u.filter((P,x)=>x!==S);s(A.length>0?A:[{key:"",value:""}]),c(A)},y=jl(),h=Jl(),v=Wl(o),I=Wr(o),k=Zl(o);return G.jsxs("div",{...r("controlObject",y,e),children:[u.map((S,A)=>G.jsxs("div",{style:h,children:[G.jsx("input",{type:"text",value:S.key,onChange:P=>p(A,"key",P.target.value),placeholder:"Key",style:v,required:!n.optional&&A===0}),G.jsx("input",{type:"text",value:S.value,onChange:P=>p(A,"value",P.target.value),placeholder:"Value",style:v}),u.length>1&&G.jsx("button",{type:"button",onClick:()=>d(A),style:k,"aria-label":"Remove pair",children:"×"})]},A)),G.jsxs("button",{type:"button",onClick:f,style:{...I,alignSelf:"flex-start",paddingRight:`${o.spacing.baseUnit*2}px`},children:[G.jsx("span",{children:"+"}),G.jsx("span",{children:"Add more"})]})]})}var oh=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Ul=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=String(t).toLowerCase(),o=String(i.getOptionValue(n)).toLowerCase(),l=String(i.getOptionLabel(n)).toLowerCase();return o===r||l===r},Zr={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,i,r){return!(!t||n.some(function(o){return Ul(t,o,r)})||i.some(function(o){return Ul(t,o,r)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function lh(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,i=e.createOptionPosition,r=i===void 0?"last":i,o=e.formatCreateLabel,l=o===void 0?Zr.formatCreateLabel:o,a=e.isValidNewOption,u=a===void 0?Zr.isValidNewOption:a,s=e.getNewOptionData,c=s===void 0?Zr.getNewOptionData:s,p=e.onCreateOption,f=e.options,d=f===void 0?[]:f,y=e.onChange,h=it(e,oh),v=h.getOptionValue,I=v===void 0?xl:v,k=h.getOptionLabel,S=k===void 0?Cl:k,A=h.inputValue,P=h.isLoading,x=h.isMulti,M=h.value,V=h.name,R=w.useMemo(function(){return u(A,En(M),d,{getOptionValue:I,getOptionLabel:S})?c(A,l(A)):void 0},[l,c,S,I,A,u,d,M]),D=w.useMemo(function(){return(n||!P)&&R?r==="first"?[R].concat(Lt(d)):[].concat(Lt(d),[R]):d},[n,r,P,R,d]),O=w.useCallback(function(E,j){if(j.action!=="select-option")return y(E,j);var K=Array.isArray(E)?E:[E];if(K[K.length-1]===R){if(p)p(A);else{var H=c(A,A),J={action:"create-option",name:V,option:H};y(qt(x,[].concat(Lt(En(M)),[H]),H),J)}return}y(E,j)},[c,A,x,V,R,p,y,M]);return U(U({},h),{},{options:D,onChange:O})}var ah=w.forwardRef(function(e,t){var n=Do(e),i=lh(n);return pe.createElement(zr,$({ref:t},i))}),uh=ah;function Dn({isCreatable:e,options:t,selectProps:n,showLoadMoreButton:i,onLoadMore:r,components:o}){const l=ot(),{id:a,prop:u,value:s,onChange:c}=l,{select:p,theme:f}=De(),[d,y]=w.useState(t),[h,v]=w.useState(s);w.useEffect(()=>{const E=t.map(Ve);y(E)},[t]),w.useEffect(()=>{v(s)},[s]);const I={styles:{container:E=>({...E,gridArea:"control",boxShadow:f.boxShadow.input})}},k=w.useMemo(()=>{if(h==null)return null;if(Sr(h)){const E=h.__lv;return Array.isArray(E)?E.map(j=>Ve(j)):Ve(E)}if(To(h))return h.map(E=>Ve(E));if(Array.isArray(h)){if(!Ar(h[0]))return h.map(E=>d.find(j=>j.value===E)||Ve(E))}else if(!Ar(h))if((d==null?void 0:d[0])&&Ar(d[0])){for(const j of d)if(j.value===h)return j}else return Ve(h);return null},[h,d]),S=p.getProps("controlSelect",I),A=w.useRef(r);w.useEffect(()=>{A.current=r},[r]);const P=w.useRef(i);P.current=i;const x=w.useMemo(()=>{const E={...S.components??{},...o??{}},j=E.MenuList??Dt.MenuList,K=({children:H,...J})=>G.jsxs(j,{...J,children:[H,P.current&&G.jsx("div",{className:"pt-4",children:G.jsx(Ml,{onChange:()=>{var oe;return(oe=A.current)==null?void 0:oe.call(A)}})})]});return K.displayName="CustomMenuList",{...E,MenuList:K}},[S.components,o]),M=E=>{const j=Ve(E);let K=j;const H=d.map(Ve),J=[j,...H];y(J),u.type.endsWith("[]")&&(Array.isArray(h)?K=[...h.map(Ve),j]:K=[j]),v(K),V(K)},V=E=>{if(E)if(Array.isArray(E))typeof E[0]=="object"&&E[0]&&"value"in E[0]?c({__lv:E}):c(E);else if(typeof E=="object"&&E&&"value"in E)c({__lv:E});else throw new Error("unhandled option type");else c(void 0)},R={onCreateOption:u.remoteOptions?M:void 0},D=e?uh:Vn,O=d.map(Ve);return G.jsx(D,{inputId:a,instanceId:a,options:O,value:k,isMulti:u.type.endsWith("[]"),isClearable:!0,required:!u.optional,getOptionLabel:E=>Ve(E).label,getOptionValue:E=>String(Ve(E).value),onChange:V,...S,...n,components:x,...R})}const sh=e=>typeof e=="object"&&e!==null&&"query"in e&&typeof e.query=="string";function ql(){var p;const e=ot(),{id:t,onChange:n,prop:i,value:r}=e;if(!rt(i,"sql"))throw new Error("ControlSql used with non-sql prop");const{getProps:o,theme:l}=De(),a=((p=i.auth)==null?void 0:p.app)||"postgresql";let u="";sh(r)?u=r.query:typeof r=="string"&&(u=r);const s=f=>{n({app:a,query:f,params:[]})},c={color:l.colors.neutral60,display:"block",border:"1px solid",borderColor:l.colors.neutral20,padding:6,width:"100%",borderRadius:l.borderRadius,gridArea:"control",boxShadow:l.boxShadow.input,fontSize:"0.875rem",fontFamily:"monospace",minHeight:"120px",resize:"vertical"};return G.jsx("textarea",{id:t,name:i.name,value:u,onChange:f=>s(f.target.value),placeholder:"SELECT * FROM table_name",required:!i.optional,...o("controlSql",c,e)})}const jr=e=>Ve(e).value??null;function Ql({queryEnabled:e}){const t=st(),{externalUserId:n,component:i,configurableProps:r,configuredProps:o,dynamicProps:l,props:{disableQueryDisabling:a}}=_t(),{idx:u,prop:s,onChange:c}=ot(),[p,f]=w.useState(""),[d,y]=w.useState(0),[h,v]=w.useState(void 0),[I,k]=w.useState(void 0),[S,A]=w.useState(!0),[P,x]=w.useState([]),[M,V]=w.useState(new Set),R=w.useMemo(()=>{const le={};for(let ye=0;ye<u;ye++){const Ie=r[ye];le[Ie.name]=o[Ie.name]}return le},[u,r,o]),D=w.useMemo(()=>{const le=r.find(ye=>ye.type==="app");return le?o[le.name]:void 0},[r,o]),O=w.useMemo(()=>{const le={externalUserId:n,page:d,prevContext:h,id:i.key,propName:s.name,configuredProps:R,dynamicPropsId:l==null?void 0:l.id};return s.useQuery&&(le.query=p||""),le},[n,d,h,i.key,s.name,s.useQuery,R,l==null?void 0:l.id,p]),E=w.useMemo(()=>O,[O]),[j,K]=w.useState(),H=()=>{y(le=>le+1),v(I)},J=JSON.stringify(E),oe=JSON.stringify(D),se=w.useRef(),ge=w.useRef(),b=w.useMemo(()=>{const{page:le,prevContext:ye,...Ie}=O;return JSON.stringify(Ie)},[O]),ve=w.useMemo(()=>r.some(le=>le.type==="app"),[r]),ie=w.useMemo(()=>!(!e||ve&&!D),[e,ve,D]),{data:m,isFetching:fe,refetch:Z,dataUpdatedAt:ue}=ut.useQuery({queryKey:["componentConfigure",E],queryFn:async()=>{const le=await t.components.configureProp(O),{options:ye,stringOptions:Ie,errors:Se}=le;if(Se!=null&&Se.length){let we;try{we=JSON.parse(Se[0])}catch{we={name:"Error",message:Se[0]}}return{error:we,options:[],context:le.context}}const ke=(Ie==null?void 0:Ie.map(we=>({label:we,value:we})))??[];return{error:void 0,options:[...ye??[],...ke],context:le.context}},enabled:ie});w.useEffect(()=>{if(!m)return;if(m.error){K(m.error);return}K(void 0),k(m.context);const le=d===0;let ye=!1;V(Ie=>{const Se=le?new Set:Ie,ke=new Set(Se);for(const Oe of m.options){const we=jr(Oe);if(we===null){console.warn("Skipping invalid option:",Oe);continue}ke.has(we)||(ke.add(we),ye=!0)}return ke}),x(Ie=>{const Se=le?[]:Ie,ke=[],Oe=new Set;if(!le)for(const we of Se){const Xe=jr(we);Xe!==null&&Oe.add(Xe)}for(const we of m.options){const Xe=jr(we);Xe!==null&&(Oe.has(Xe)||(Oe.add(Xe),ke.push(we)))}return ke.length?[...Se,...ke]:Ie}),ye||A(!1)},[m,d,ue,J]),w.useEffect(()=>{if(!se.current){se.current=b;return}se.current!==b&&(y(0),v(void 0),k(void 0),A(!0),x([]),V(new Set)),se.current=b},[b]),w.useEffect(()=>{ge.current&&ge.current!==oe&&(c(void 0),D!=null&&ie&&Z()),ge.current=oe},[oe,c,ie,D,Z]);const Ae=w.useMemo(()=>!fe&&!j&&S,[fe,j,S]),ce=j?j.message:a?"Click to configure":ie?void 0:"Configure props above first",Fe=a?!1:!ie;return G.jsx(Dn,{isCreatable:!0,showLoadMoreButton:Ae,onLoadMore:H,options:P.map(Ve),selectProps:{isLoading:fe,placeholder:ce,isDisabled:Fe,inputValue:s.useQuery?p:void 0,onInputChange(le){s.useQuery&&(f(le),Z())},onMenuOpen(){a&&!ie&&Z()}}})}function $l(e){const{field:t,form:n}=e,{queryDisabledIdx:i}=n,{prop:r,idx:o}=t,l="app"in t.extra?t.extra.app:void 0;if(r.remoteOptions||r.type==="$.discord.channel"||r.type==="$.discord.channel[]")return G.jsx(Ql,{queryEnabled:i==null||i>=o});if("options"in r&&Array.isArray(r.options)&&r.options.length>0){const a=r.options.map(Ve);return G.jsx(Dn,{options:a,components:{IndicatorSeparator:()=>null}})}if(r.type.endsWith("[][]"))throw new Error("Unsupported property type: "+r.type);if(r.type.endsWith("[]"))return!("options"in r)||!r.options?G.jsx(rh,{}):G.jsx(Dn,{isCreatable:!0,options:[],components:{IndicatorSeparator:()=>null}});switch(r.type){case"app":return G.jsx(Hl,{app:l});case"boolean":return G.jsx(Yl,{});case"string":case"integer":return G.jsx(_l,{});case"object":return G.jsx(ih,{});case"sql":return G.jsx(ql,{});default:throw new Error("Unsupported property type: "+r.type)}}function Kl(e){const{form:t,field:n}=e,{prop:i}=n,{getProps:r,getComponents:o}=De(),l={display:"grid",gridTemplateAreas:n.prop.type=="boolean"?'"control label" "description description" "error error"':'"label label" "control control" "description description" "error error"',gridTemplateColumns:"min-content auto",gap:"0.25rem 0",alignItems:"center",fontSize:"0.875rem"},{Label:a,Description:u,Errors:s}=o(),c="app"in n.extra?n.extra.app:void 0;if(c&&!c.authType)return null;let p=i.label||i.name;c&&(p=`Connect ${c.name} account`);const f=e;return G.jsxs("div",{...r("field",l,f),children:[G.jsx(a,{text:p,field:n,form:t}),G.jsx($l,{field:n,form:t}),G.jsx(u,{markdown:i.description,field:n,form:t}),G.jsx(s,{field:n,form:t})]})}const ea=(e,t)=>{var r;const n=st(),i=ut.useQuery({queryKey:["app",e],queryFn:()=>n.apps.retrieve(e),...t==null?void 0:t.useQueryOpts});return{...i,app:(r=i.data)==null?void 0:r.data}};function ta({prop:e,idx:t}){const n=_t(),{id:i,configuredProps:r,registerField:o,setConfiguredProp:l,errors:a,enableDebugging:u}=n;let s;rt(e,"app")&&(s=e.app);const{app:c}=ea(s||"",{useQueryOpts:{enabled:!!s,suspense:!!s}}),f={id:`pd${i}${e.name}`,prop:e,idx:t,value:r[e.name],onChange(d){l(t,d)},extra:{app:c},errors:a,enableDebugging:u};return w.useEffect(()=>o(f),[f]),G.jsx(Hr.Provider,{value:f,children:G.jsx(Kl,{field:f,form:n})})}class na extends w.Component{constructor(){super(...arguments),this.state={err:void 0}}static getDerivedStateFromError(t){return{err:t}}render(){const{err:t}=this.state;return t?this.props.fallback(t):this.props.children}}function ra(e){const{form:t}=e,{propsNeedConfiguring:n,submitting:i}=t,{getProps:r,theme:o}=De(),l=a=>{var u;return{width:"fit-content",textTransform:"capitalize",backgroundColor:a?o.colors.neutral10:o.colors.primary,color:a?o.colors.neutral40:o.colors.neutral0,padding:`${o.spacing.baseUnit*1.75}px ${o.spacing.baseUnit*16}px`,borderRadius:o.borderRadius,boxShadow:(u=o.boxShadow)==null?void 0:u.button,cursor:"pointer",fontSize:"0.875rem",opacity:i?.5:void 0,margin:"0.5rem 0 0 0"}};return G.jsx("input",{type:"submit",value:i?"Submitting...":"Submit",...r("controlSubmit",l(!!n.length||i),e),disabled:!!n.length||i})}const ch=["ConfigurationError"];function ia(){const e=_t(),{configurableProps:t,dynamicPropsQueryIsFetching:n,isValid:i,optionalPropIsEnabled:r,optionalPropSetEnabled:o,props:l,setSubmitting:a,sdkErrors:u,submitting:s,enableDebugging:c}=e,p=c||u.filter(D=>ch.includes(D.name)).length>0,{hideOptionalProps:f,onSubmit:d}=l,[y,h]=w.useState([]);w.useEffect(()=>{s?h([]):u&&u.length&&h(u.map(D=>({type:"alert",alertType:"error",content:`# ${D.name}
21
- ${D.message}`,name:D.name})))},[u,s]);const{getComponents:v,getProps:I,theme:k}=De(),{OptionalFieldButton:S}=v(),A={display:"flex",flexDirection:"column",gap:"1.5rem"},P={display:"flex",flexWrap:"wrap",gap:"0.375rem"},x={fontWeight:600,textTransform:"capitalize",color:k.colors.neutral60,fontSize:"0.875rem",lineHeight:"1.375",margin:"0 0 0.5rem 0"},M=async D=>{if(d&&(D.preventDefault(),i)){a(!0);try{await d(e)}finally{a(!1)}}},V=[],R=[];for(let D=0;D<t.length;D++){const O=t[D];if(!O.hidden&&!Yt.includes(O.type)){if(O.optional){const E=r(O);if(R.push([O,E]),!E)continue}V.push([O,D])}}return G.jsx(na,{fallback:D=>G.jsxs("p",{style:{color:"red"},children:["Error: ",D&&typeof D=="object"&&"message"in D&&typeof D.message=="string"?D.message:"Unknown"]}),children:G.jsx(w.Suspense,{fallback:G.jsx("p",{children:"Loading form..."}),children:G.jsxs("form",{...I("componentForm",A,l),onSubmit:M,children:[V.map(([D,O])=>rt(D,"alert")?G.jsx(bn,{prop:D},D.name):G.jsx(ta,{prop:D,idx:O},D.name)),n&&G.jsx("p",{children:"Loading dynamic props..."}),!f&&R.length?G.jsxs("div",{children:[G.jsx("div",{...I("heading",x,l),children:"Optional Props"}),G.jsx("div",{...I("optionalFields",P,l),children:R.map(([D,O])=>G.jsx(S,{prop:D,enabled:O,onClick:()=>o(D,!O)},D.name))})]}):null,p&&(y==null?void 0:y.map((D,O)=>G.jsx(bn,{prop:D},O))),d&&G.jsx(ra,{form:e})]})})})}function oa(e){return G.jsx(Vo,{props:e,children:G.jsx(ia,{})})}const la=({key:e},t)=>{var r;const n=st(),i=ut.useQuery({queryKey:["component",e],queryFn:()=>n.components.retrieve(e),enabled:!!e,...t==null?void 0:t.useQueryOpts});return{...i,component:(r=i.data)==null?void 0:r.data}};function ph(e){const{isLoading:t,error:n,component:i}=la({key:e.componentKey});if(!e.componentKey)throw new Error("componentKey required");return t?G.jsx("p",{children:"Loading..."}):n?G.jsxs("p",{children:["Error: ",n.message]}):i?G.jsx(oa,{component:i,...e}):G.jsx("p",{children:"Component not found"})}function dh(){const e=ot(),{id:t,onChange:n,value:i}=e,{getProps:r,theme:o}=De(),l={display:"block",gridArea:"control",width:"100%",fontSize:"0.875rem",boxShadow:o.boxShadow.input};let a=i;return typeof a=="object"&&(a=JSON.stringify(a)),G.jsx("textarea",{id:t,value:a,onChange:u=>n(u.target.value),...r("controlAny",l,e)})}const aa=e=>{if(!e||typeof e!="object")return!1;const t=e;return typeof t.hasNextPage=="function"&&typeof t.getNextPage=="function"},ua=e=>{const t=Object.getPrototypeOf(e);return Object.assign(Object.create(t??Object.prototype),e)};function fh(){const e=w.useRef(!1);return w.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function sa(){const[e,t]=w.useState([]),[n,i]=w.useState(!1),[r,o]=w.useState(!1),[l,a]=w.useState(),u=w.useRef(null),s=w.useRef(),c=fh(),p=w.useCallback((d,y)=>{var k;const h=ua(d),v=(((k=s.current)==null?void 0:k.version)??0)+1;s.current={version:v},u.current=h;const I=h.data?h.data.slice():[];t(I),i(h.hasNextPage()),o(!1),a(void 0)},[]),f=w.useCallback(async()=>{var v,I,k;const d=s.current,y=u.current;if(!d||!y||!n||r)return;const h=d.version;o(!0);try{const S=await y.getNextPage();if(!c.current||h!==(((v=s.current)==null?void 0:v.version)??0))return;const A=ua(S);u.current=A,t(P=>!A.data||A.data.length===0?P:P.concat(A.data)),i(A.hasNextPage()),a(void 0)}catch(S){if(!c.current||h!==(((I=s.current)==null?void 0:I.version)??0))return;a(S instanceof Error?S:new Error(String(S)))}finally{c.current&&h===(((k=s.current)==null?void 0:k.version)??0)&&o(!1)}},[n,r,c]);return{items:e,hasMore:n,isLoadingMore:r,loadMoreError:l,loadMore:f,resetWithPage:p}}const ca=e=>{const t=st(),{items:n,hasMore:i,isLoadingMore:r,loadMore:o,loadMoreError:l,resetWithPage:a}=sa(),u=w.useRef(),s=ut.useQuery({queryKey:["apps",e],queryFn:()=>t.apps.list({limit:50,...e})});return w.useEffect(()=>{const c=JSON.stringify(e??null),p=u.current!==s.data;!s.data||!aa(s.data)||!p||(u.current=s.data,a(s.data,c))},[s.data,e,a]),{...s,apps:n,isLoadingMore:r,hasMore:i,loadMore:o,loadMoreError:l}};function gh({value:e,onChange:t,appsOptions:n}){const[i,r]=w.useState(""),[o,l]=w.useState(""),a=w.useId();w.useEffect(()=>{const A=setTimeout(()=>{l(i)},300);return()=>clearTimeout(A)},[i]);const{isLoading:u,isLoadingMore:s,hasMore:c,loadMore:p,apps:f}=ca({...n??{},q:o}),{Option:d,SingleValue:y,MenuList:h}=Dt,v=w.useRef(s);v.current=s;const I=w.useMemo(()=>(f==null?void 0:f.find(A=>A.nameSlug===(e==null?void 0:e.nameSlug)))||(e!=null&&e.nameSlug?e:null),[f,e==null?void 0:e.nameSlug]),k=w.useCallback(()=>{c&&!s&&p()},[c,s,p]),S=w.useMemo(()=>({Option:A=>G.jsx(d,{...A,children:G.jsxs("div",{style:{display:"flex",gap:10},children:[G.jsx("img",{src:`https://pipedream.com/s.v0/${A.data.id}/logo/48`,style:{height:24,width:24},alt:A.data.name}),G.jsx("span",{style:{whiteSpace:"nowrap"},children:A.data.name})]})}),SingleValue:A=>G.jsx(y,{...A,children:G.jsxs("div",{style:{display:"flex",gap:10,alignItems:"center"},children:[G.jsx("img",{src:`https://pipedream.com/s.v0/${A.data.id}/logo/48`,style:{height:24,width:24},alt:A.data.name}),G.jsx("span",{style:{whiteSpace:"nowrap"},children:A.data.name})]})}),MenuList:A=>G.jsxs(h,{...A,children:[A.children,v.current&&G.jsx("div",{style:{padding:"8px 12px",textAlign:"center",color:"#666",fontSize:"14px"},children:"Loading more apps..."})]}),IndicatorSeparator:()=>null}),[d,y,h]);return G.jsx(Vn,{instanceId:a,className:"react-select-container text-sm",classNamePrefix:"react-select",components:S,options:f||[],getOptionLabel:A=>A.name||A.nameSlug,getOptionValue:A=>A.nameSlug,value:I,onChange:A=>t==null?void 0:t(A||void 0),onInputChange:(A,{action:P})=>{P==="input-change"&&r(A)},onMenuScrollToBottom:k,isLoading:u})}const pa=e=>{const t=st(),{items:n,hasMore:i,isLoadingMore:r,loadMore:o,loadMoreError:l,resetWithPage:a}=sa(),u=w.useRef(),s=ut.useQuery({queryKey:["components",e],queryFn:()=>t.components.list({limit:50,...e})});return w.useEffect(()=>{const c=JSON.stringify(e??null),p=u.current!==s.data;!s.data||!aa(s.data)||!p||(u.current=s.data,a(s.data,c))},[s.data,e,a]),{...s,components:n,isLoadingMore:r,hasMore:i,loadMore:o,loadMoreError:l}};function hh({app:e,componentType:t,value:n,onChange:i}){const r=w.useId(),{isLoading:o,isLoadingMore:l,hasMore:a,loadMore:u,components:s}=pa({app:e==null?void 0:e.nameSlug,componentType:t}),{MenuList:c}=Dt,p=w.useRef(l);p.current=l;const f=w.useMemo(()=>(s==null?void 0:s.find(h=>h.key===(n==null?void 0:n.key)))||null,[s,n==null?void 0:n.key]),d=w.useCallback(()=>{a&&!l&&u()},[a,l,u]),y=w.useMemo(()=>({MenuList:h=>G.jsxs(c,{...h,children:[h.children,p.current&&G.jsxs("div",{style:{padding:"8px 12px",textAlign:"center",color:"#666",fontSize:"14px"},children:["Loading more ",t==="action"?"actions":"triggers","..."]})]}),IndicatorSeparator:()=>null}),[t,c]);return G.jsx(Vn,{instanceId:r,className:"react-select-container text-sm",classNamePrefix:"react-select",options:s,getOptionLabel:h=>h.name||h.key,getOptionValue:h=>h.key,value:f,onChange:h=>i==null?void 0:i(h||void 0),onMenuScrollToBottom:d,isLoading:o,components:y})}const mh={buildTime:new Date().toISOString(),source:"local-development"};q.Alert=bn,q.ComponentForm=oa,q.ComponentFormContainer=ph,q.Control=$l,q.ControlAny=dh,q.ControlApp=Hl,q.ControlBoolean=Yl,q.ControlInput=_l,q.ControlSelect=Dn,q.ControlSql=ql,q.ControlSubmit=ra,q.CustomizationContext=Ln,q.CustomizeProvider=th,q.DEBUG_INFO=mh,q.Description=Nl,q.ErrorBoundary=na,q.Errors=Ll,q.Field=Kl,q.FormContext=wr,q.FormContextProvider=Vo,q.FormFieldContext=Hr,q.FrontendClientProvider=_p,q.InternalComponentForm=ia,q.InternalField=ta,q.Label=Dl,q.OptionalFieldButton=Rl,q.RemoteOptionsContainer=Ql,q.SelectApp=gh,q.SelectComponent=hh,q.defaultComponents=Xl,q.defaultTheme=On,q.getReactSelectTheme=Ol,q.mergeTheme=Nn,q.skippablePropTypes=Yt,q.unstyledTheme=Vl,q.useAccounts=zl,q.useApp=ea,q.useApps=ca,q.useComponent=la,q.useComponents=pa,q.useCustomize=De,q.useFormContext=_t,q.useFormFieldContext=ot,q.useFrontendClient=st,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})});
20
+ `]))),Zf=function(t,n){var i=t.isFocused,r=t.size,o=t.theme,l=o.colors,a=o.spacing.baseUnit;return U({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?l.neutral60:l.neutral20,padding:a*2})},Rr=function(t){var n=t.delay,i=t.offset;return Y.jsx("span",{css:Y.css({animation:"".concat(Wf," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5h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WNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},jf=function(t){var n=t.innerProps,i=t.isRtl,r=t.size,o=r===void 0?4:r,l=it(t,Of);return Y.jsx("div",$({},Ee(U(U({},l),{},{innerProps:n,isRtl:i,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Y.jsx(Rr,{delay:0,offset:i}),Y.jsx(Rr,{delay:160,offset:!0}),Y.jsx(Rr,{delay:320,offset:!i}))},Jf=function(t,n){var i=t.isDisabled,r=t.isFocused,o=t.theme,l=o.colors,a=o.borderRadius,u=o.spacing;return U({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?l.neutral5:l.neutral0,borderColor:i?l.neutral10:r?l.primary:l.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(l.primary):void 0,"&:hover":{borderColor:r?l.primary:l.neutral30}})},Yf=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,o=t.innerRef,l=t.innerProps,a=t.menuIsOpen;return Y.jsx("div",$({ref:o},Ee(t,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":a}),l,{"aria-disabled":i||void 0}),n)},_f=Yf,Uf=["data"],qf=function(t,n){var i=t.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},Qf=function(t){var n=t.children,i=t.cx,r=t.getStyles,o=t.getClassNames,l=t.Heading,a=t.headingProps,u=t.innerProps,s=t.label,c=t.theme,p=t.selectProps;return Y.jsx("div",$({},Ee(t,"group",{group:!0}),u),Y.jsx(l,$({},a,{selectProps:p,theme:c,getStyles:r,getClassNames:o,cx:i}),s),Y.jsx("div",null,n))},$f=function(t,n){var i=t.theme,r=i.colors,o=i.spacing;return U({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},Kf=function(t){var n=Qo(t);n.data;var i=it(n,Uf);return Y.jsx("div",$({},Ee(t,"groupHeading",{"group-heading":!0}),i))},eg=Qf,tg=["innerRef","isDisabled","isHidden","inputClassName"],ng=function(t,n){var i=t.isDisabled,r=t.value,o=t.theme,l=o.spacing,a=o.colors;return U(U({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},rg),n?{}:{margin:l.baseUnit/2,paddingBottom:l.baseUnit/2,paddingTop:l.baseUnit/2,color:a.neutral80})},sl={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},rg={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":U({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},sl)},ig=function(t){return U({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},sl)},og=function(t){var n=t.cx,i=t.value,r=Qo(t),o=r.innerRef,l=r.isDisabled,a=r.isHidden,u=r.inputClassName,s=it(r,tg);return Y.jsx("div",$({},Ee(t,"input",{"input-container":!0}),{"data-value":i||""}),Y.jsx("input",$({className:n({input:!0},u),ref:o,style:ig(a),disabled:l},s)))},lg=og,ag=function(t,n){var i=t.theme,r=i.spacing,o=i.borderRadius,l=i.colors;return U({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:l.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},ug=function(t,n){var i=t.theme,r=i.borderRadius,o=i.colors,l=t.cropWithEllipsis;return U({overflow:"hidden",textOverflow:l||l===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},sg=function(t,n){var i=t.theme,r=i.spacing,o=i.borderRadius,l=i.colors,a=t.isFocused;return U({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:a?l.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}})},cl=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",i,n)},cg=cl,pg=cl;function dg(e){var t=e.children,n=e.innerProps;return Y.jsx("div",$({role:"button"},n),t||Y.jsx(Mr,{size:14}))}var fg=function(t){var n=t.children,i=t.components,r=t.data,o=t.innerProps,l=t.isDisabled,a=t.removeProps,u=t.selectProps,s=i.Container,c=i.Label,p=i.Remove;return Y.jsx(s,{data:r,innerProps:U(U({},Ee(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":l})),o),selectProps:u},Y.jsx(c,{data:r,innerProps:U({},Ee(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},n),Y.jsx(p,{data:r,innerProps:U(U({},Ee(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},a),selectProps:u}))},gg=fg,hg=function(t,n){var i=t.isDisabled,r=t.isFocused,o=t.isSelected,l=t.theme,a=l.spacing,u=l.colors;return U({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?u.primary:r?u.primary25:"transparent",color:i?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(a.baseUnit*2,"px ").concat(a.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:o?u.primary:u.primary50}})},mg=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,o=t.isSelected,l=t.innerRef,a=t.innerProps;return Y.jsx("div",$({},Ee(t,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":o}),{ref:l,"aria-disabled":i},a),n)},bg=mg,yg=function(t,n){var i=t.theme,r=i.spacing,o=i.colors;return U({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},Ig=function(t){var n=t.children,i=t.innerProps;return Y.jsx("div",$({},Ee(t,"placeholder",{placeholder:!0}),i),n)},vg=Ig,Cg=function(t,n){var i=t.isDisabled,r=t.theme,o=r.spacing,l=r.colors;return U({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?l.neutral40:l.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},xg=function(t){var n=t.children,i=t.isDisabled,r=t.innerProps;return Y.jsx("div",$({},Ee(t,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Ag=xg,Lt={ClearIndicator:Xf,Control:_f,DropdownIndicator:Mf,DownChevron:al,CrossIcon:Mr,Group:eg,GroupHeading:Kf,IndicatorsContainer:Tf,IndicatorSeparator:Hf,Input:lg,LoadingIndicator:jf,Menu:yf,MenuList:vf,MenuPortal:Ef,LoadingMessage:Sf,NoOptionsMessage:Af,MultiValue:gg,MultiValueContainer:cg,MultiValueLabel:pg,MultiValueRemove:dg,Option:bg,Placeholder:vg,SelectContainer:Pf,SingleValue:Ag,ValueContainer:Gf},Sg=function(t){return U(U({},Lt),t.components)},pl=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function wg(e,t){return!!(e===t||pl(e)&&pl(t))}function Eg(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!wg(e[n],t[n]))return!1;return!0}function kg(e,t){t===void 0&&(t=Eg);var n=null;function i(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var l=e.apply(this,r);return n={lastResult:l,lastArgs:r,lastThis:this},l}return i.clear=function(){n=null},i}function Pg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Fg=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Pg},Gg=function(t){return Y.jsx("span",$({css:Fg},t))},dl=Gg,Bg={guidance:function(t){var n=t.isSearchable,i=t.isMulti,r=t.tabSelectsValue,o=t.context,l=t.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return l?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,i=t.label,r=i===void 0?"":i,o=t.labels,l=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return l?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,i=t.focused,r=t.options,o=t.label,l=o===void 0?"":o,a=t.selectValue,u=t.isDisabled,s=t.isSelected,c=t.isAppleDevice,p=function(h,C){return h&&h.length?"".concat(h.indexOf(C)+1," of ").concat(h.length):""};if(n==="value"&&a)return"value ".concat(l," focused, ").concat(p(a,i),".");if(n==="menu"&&c){var f=u?" disabled":"",d="".concat(s?" selected":"").concat(f);return"".concat(l).concat(d,", ").concat(p(r,i),".")}return""},onFilter:function(t){var n=t.inputValue,i=t.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},Tg=function(t){var n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,o=t.focusableOptions,l=t.isFocused,a=t.selectValue,u=t.selectProps,s=t.id,c=t.isAppleDevice,p=u.ariaLiveMessages,f=u.getOptionLabel,d=u.inputValue,y=u.isMulti,h=u.isOptionDisabled,C=u.isSearchable,I=u.menuIsOpen,F=u.options,S=u.screenReaderStatus,w=u.tabSelectsValue,B=u.isLoading,x=u["aria-label"],R=u["aria-live"],P=A.useMemo(function(){return U(U({},Bg),p||{})},[p]),O=A.useMemo(function(){var H="";if(n&&P.onChange){var j=n.option,ue=n.options,se=n.removedValue,ge=n.removedValues,b=n.value,xe=function(ce){return Array.isArray(ce)?null:ce},le=se||j||xe(b),m=le?f(le):"",fe=ue||ge||void 0,K=fe?fe.map(f):[],ee=U({isDisabled:le&&h(le,a),label:m,labels:K},n);H=P.onChange(ee)}return H},[n,P,h,a,f]),V=A.useMemo(function(){var H="",j=i||r,ue=!!(i&&a&&a.includes(i));if(j&&P.onFocus){var se={focused:j,label:f(j),isDisabled:h(j,a),isSelected:ue,options:o,context:j===i?"menu":"value",selectValue:a,isAppleDevice:c};H=P.onFocus(se)}return H},[i,r,f,h,P,o,a,c]),N=A.useMemo(function(){var H="";if(I&&F.length&&!B&&P.onFilter){var j=S({count:o.length});H=P.onFilter({inputValue:d,resultsMessage:j})}return H},[o,d,I,P,F,S,B]),E=(n==null?void 0:n.action)==="initial-input-focus",J=A.useMemo(function(){var H="";if(P.guidance){var j=r?"value":I?"menu":"input";H=P.guidance({"aria-label":x,context:j,isDisabled:i&&h(i,a),isMulti:y,isSearchable:C,tabSelectsValue:w,isInitialFocus:E})}return H},[x,i,r,y,h,C,I,P,a,w,E]),ne=Y.jsx(A.Fragment,null,Y.jsx("span",{id:"aria-selection"},O),Y.jsx("span",{id:"aria-focused"},V),Y.jsx("span",{id:"aria-results"},N),Y.jsx("span",{id:"aria-guidance"},J));return Y.jsx(A.Fragment,null,Y.jsx(dl,{id:s},E&&ne),Y.jsx(dl,{"aria-live":R,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!E&&ne))},Vg=Tg,Xr=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Og=new RegExp("["+Xr.map(function(e){return e.letters}).join("")+"]","g"),fl={},zr=0;zr<Xr.length;zr++)for(var Hr=Xr[zr],Wr=0;Wr<Hr.letters.length;Wr++)fl[Hr.letters[Wr]]=Hr.base;var gl=function(t){return t.replace(Og,function(n){return fl[n]})},Ng=kg(gl),hl=function(t){return t.replace(/^\s+|\s+$/g,"")},Dg=function(t){return"".concat(t.label," ").concat(t.value)},Lg=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=U({ignoreCase:!0,ignoreAccents:!0,stringify:Dg,trim:!0,matchFrom:"any"},t),o=r.ignoreCase,l=r.ignoreAccents,a=r.stringify,u=r.trim,s=r.matchFrom,c=u?hl(i):i,p=u?hl(a(n)):a(n);return o&&(c=c.toLowerCase(),p=p.toLowerCase()),l&&(c=Ng(c),p=gl(p)),s==="start"?p.substr(0,c.length)===c:p.indexOf(c)>-1}},Mg=["innerRef"];function Rg(e){var t=e.innerRef,n=it(e,Mg),i=cf(n,"onExited","in","enter","exit","appear");return Y.jsx("input",$({ref:t},i,{css:Y.css({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAu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JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Xg=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function zg(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,o=e.onTopLeave,l=A.useRef(!1),a=A.useRef(!1),u=A.useRef(0),s=A.useRef(null),c=A.useCallback(function(C,I){if(s.current!==null){var F=s.current,S=F.scrollTop,w=F.scrollHeight,B=F.clientHeight,x=s.current,R=I>0,P=w-B-S,O=!1;P>I&&l.current&&(i&&i(C),l.current=!1),R&&a.current&&(o&&o(C),a.current=!1),R&&I>P?(n&&!l.current&&n(C),x.scrollTop=w,O=!0,l.current=!0):!R&&-I>S&&(r&&!a.current&&r(C),x.scrollTop=0,O=!0,a.current=!0),O&&Xg(C)}},[n,i,r,o]),p=A.useCallback(function(C){c(C,C.deltaY)},[c]),f=A.useCallback(function(C){u.current=C.changedTouches[0].clientY},[]),d=A.useCallback(function(C){var I=u.current-C.changedTouches[0].clientY;c(C,I)},[c]),y=A.useCallback(function(C){if(C){var I=af?{passive:!1}:!1;C.addEventListener("wheel",p,I),C.addEventListener("touchstart",f,I),C.addEventListener("touchmove",d,I)}},[d,f,p]),h=A.useCallback(function(C){C&&(C.removeEventListener("wheel",p,!1),C.removeEventListener("touchstart",f,!1),C.removeEventListener("touchmove",d,!1))},[d,f,p]);return A.useEffect(function(){if(t){var C=s.current;return y(C),function(){h(C)}}},[t,y,h]),function(C){s.current=C}}var ml=["boxSizing","height","overflow","paddingRight","position"],bl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function yl(e){e.cancelable&&e.preventDefault()}function Il(e){e.stopPropagation()}function vl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Cl(){return"ontouchstart"in window||navigator.maxTouchPoints}var xl=!!(typeof window<"u"&&window.document&&window.document.createElement),Kt=0,Mt={capture:!1,passive:!1};function Hg(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=A.useRef({}),o=A.useRef(null),l=A.useCallback(function(u){if(xl){var s=document.body,c=s&&s.style;if(i&&ml.forEach(function(y){var h=c&&c[y];r.current[y]=h}),i&&Kt<1){var p=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,d=window.innerWidth-f+p||0;Object.keys(bl).forEach(function(y){var h=bl[y];c&&(c[y]=h)}),c&&(c.paddingRight="".concat(d,"px"))}s&&Cl()&&(s.addEventListener("touchmove",yl,Mt),u&&(u.addEventListener("touchstart",vl,Mt),u.addEventListener("touchmove",Il,Mt))),Kt+=1}},[i]),a=A.useCallback(function(u){if(xl){var s=document.body,c=s&&s.style;Kt=Math.max(Kt-1,0),i&&Kt<1&&ml.forEach(function(p){var f=r.current[p];c&&(c[p]=f)}),s&&Cl()&&(s.removeEventListener("touchmove",yl,Mt),u&&(u.removeEventListener("touchstart",vl,Mt),u.removeEventListener("touchmove",Il,Mt)))}},[i]);return A.useEffect(function(){if(t){var u=o.current;return l(u),function(){a(u)}}},[t,l,a]),function(u){o.current=u}}function Wg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Zg=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},jg=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVh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b2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Wg};function Jg(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,r=i===void 0?!0:i,o=e.onBottomArrive,l=e.onBottomLeave,a=e.onTopArrive,u=e.onTopLeave,s=zg({isEnabled:r,onBottomArrive:o,onBottomLeave:l,onTopArrive:a,onTopLeave:u}),c=Hg({isEnabled:n}),p=function(d){s(d),c(d)};return Y.jsx(A.Fragment,null,n&&Y.jsx("div",{onClick:Zg,css:jg}),t(p))}function Yg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var _g=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3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name,i=t.onFocus;return Y.jsx("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:_g,value:"",onChange:function(){}})},qg=Ug;function Zr(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Qg(){return Zr(/^iPhone/i)}function Al(){return Zr(/^Mac/i)}function $g(){return Zr(/^iPad/i)||Al()&&navigator.maxTouchPoints>1}function Kg(){return Qg()||$g()}function eh(){return Al()||Kg()}var th=function(t){return t.label},Sl=function(t){return t.label},wl=function(t){return t.value},nh=function(t){return!!t.isDisabled},rh={clearIndicator:Rf,container:kf,control:Jf,dropdownIndicator:Lf,group:qf,groupHeading:$f,indicatorsContainer:Bf,indicatorSeparator:zf,input:ng,loadingIndicator:Zf,loadingMessage:xf,menu:hf,menuList:If,menuPortal:wf,multiValue:ag,multiValueLabel:ug,multiValueRemove:sg,noOptionsMessage:Cf,option:hg,placeholder:yg,singleValue:Cg,valueContainer:Ff};function ih(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=U({},e);return Object.keys(t).forEach(function(i){var r=i;e[r]?n[r]=function(o,l){return t[r](e[r](o,l),l)}:n[r]=t[r]}),n}var oh={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},lh=4,El=4,ah=38,uh=El*2,sh={baseUnit:El,controlHeight:ah,menuGutter:uh},en={borderRadius:lh,colors:oh,spacing:sh},ch={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:el(),captureMenuScroll:!el(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Lg(),formatGroupLabel:th,getOptionLabel:Sl,getOptionValue:wl,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:nh,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!of(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function kl(e,t,n,i){var r=Tl(e,t,n),o=Vl(e,t,n),l=Bl(e,t),a=Vn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:o,label:l,value:a,index:i}}function Tn(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(l,a){return kl(e,l,t,a)}).filter(function(l){return Gl(e,l)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=kl(e,n,t,i);return Gl(e,o)?o:void 0}).filter(uf)}function Pl(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Dt(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function Fl(e,t){return e.reduce(function(n,i){return i.type==="group"?n.push.apply(n,Dt(i.options.map(function(r){return{data:r.data,id:"".concat(t,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(t,"-").concat(i.index)}),n},[])}function ph(e,t){return Pl(Tn(e,t))}function Gl(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,o=t.isSelected,l=t.label,a=t.value;return(!Nl(e)||!o)&&Ol(e,{label:l,value:a,data:r},i)}function dh(e,t){var n=e.focusedValue,i=e.selectValue,r=i.indexOf(n);if(r>-1){var o=t.indexOf(n);if(o>-1)return n;if(r<t.length)return t[r]}return null}function fh(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var jr=function(t,n){var i,r=(i=t.find(function(o){return o.data===n}))===null||i===void 0?void 0:i.id;return r||null},Bl=function(t,n){return t.getOptionLabel(n)},Vn=function(t,n){return t.getOptionValue(n)};function Tl(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Vl(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var i=Vn(e,t);return n.some(function(r){return Vn(e,r)===i})}function Ol(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Nl=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},gh=1,Jr=function(e){Pd(n,e);var t=Bd(n);function n(i){var r;if(Ed(this,n),r=t.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(u){r.controlRef=u},r.focusedOptionRef=null,r.getFocusedOptionRef=function(u){r.focusedOptionRef=u},r.menuListRef=null,r.getMenuListRef=function(u){r.menuListRef=u},r.inputRef=null,r.getInputRef=function(u){r.inputRef=u},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(u,s){var c=r.props,p=c.onChange,f=c.name;s.name=f,r.ariaOnChange(u,s),p(u,s)},r.setValue=function(u,s,c){var p=r.props,f=p.closeMenuOnSelect,d=p.isMulti,y=p.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:y}),f&&(r.setState({inputIsHiddenAfterUpdate:!d}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(u,{action:s,option:c})},r.selectOption=function(u){var s=r.props,c=s.blurInputOnSelect,p=s.isMulti,f=s.name,d=r.state.selectValue,y=p&&r.isOptionSelected(u,d),h=r.isOptionDisabled(u,d);if(y){var C=r.getOptionValue(u);r.setValue(d.filter(function(I){return r.getOptionValue(I)!==C}),"deselect-option",u)}else if(!h)p?r.setValue([].concat(Dt(d),[u]),"select-option",u):r.setValue(u,"select-option");else{r.ariaOnChange(u,{action:"select-option",option:u,name:f});return}c&&r.blurInput()},r.removeValue=function(u){var s=r.props.isMulti,c=r.state.selectValue,p=r.getOptionValue(u),f=c.filter(function(y){return r.getOptionValue(y)!==p}),d=$t(s,f,f[0]||null);r.onChange(d,{action:"remove-value",removedValue:u}),r.focusInput()},r.clearValue=function(){var u=r.state.selectValue;r.onChange($t(r.props.isMulti,[],null),{action:"clear",removedValues:u})},r.popValue=function(){var u=r.props.isMulti,s=r.state.selectValue,c=s[s.length-1],p=s.slice(0,s.length-1),f=$t(u,p,p[0]||null);c&&r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(u){return jr(r.state.focusableOptionsWithIds,u)},r.getFocusableOptionsWithIds=function(){return Fl(Tn(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];return Kd.apply(void 0,[r.props.classNamePrefix].concat(s))},r.getOptionLabel=function(u){return Bl(r.props,u)},r.getOptionValue=function(u){return Vn(r.props,u)},r.getStyles=function(u,s){var c=r.props.unstyled,p=rh[u](s,c);p.boxSizing="border-box";var f=r.props.styles[u];return f?f(p,s):p},r.getClassNames=function(u,s){var c,p;return(c=(p=r.props.classNames)[u])===null||c===void 0?void 0:c.call(p,s)},r.getElementId=function(u){return"".concat(r.state.instancePrefix,"-").concat(u)},r.getComponents=function(){return Sg(r.props)},r.buildCategorizedOptions=function(){return Tn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Pl(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(u,s){r.setState({ariaSelection:U({value:u},s)})},r.onMenuMouseDown=function(u){u.button===0&&(u.stopPropagation(),u.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(u){r.blockOptionHover=!1},r.onControlMouseDown=function(u){if(!u.defaultPrevented){var s=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&r.onMenuClose():s&&r.openMenu("first"):(s&&(r.openAfterFocus=!0),r.focusInput()),u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&u.preventDefault()}},r.onDropdownIndicatorMouseDown=function(u){if(!(u&&u.type==="mousedown"&&u.button!==0)&&!r.props.isDisabled){var s=r.props,c=s.isMulti,p=s.menuIsOpen;r.focusInput(),p?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),u.preventDefault()}},r.onClearIndicatorMouseDown=function(u){u&&u.type==="mousedown"&&u.button!==0||(r.clearValue(),u.preventDefault(),r.openAfterFocus=!1,u.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(u){typeof r.props.closeMenuOnScroll=="boolean"?u.target instanceof HTMLElement&&Pn(u.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(u)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(u){var s=u.touches,c=s&&s.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(u){var s=u.touches,c=s&&s.item(0);if(c){var p=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),d=5;r.userIsDragging=p>d||f>d}},r.onTouchEnd=function(u){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(u.target)&&r.menuListRef&&!r.menuListRef.contains(u.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(u){r.userIsDragging||r.onControlMouseDown(u)},r.onClearIndicatorTouchEnd=function(u){r.userIsDragging||r.onClearIndicatorMouseDown(u)},r.onDropdownIndicatorTouchEnd=function(u){r.userIsDragging||r.onDropdownIndicatorMouseDown(u)},r.handleInputChange=function(u){var s=r.props.inputValue,c=u.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:s}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(u){r.props.onFocus&&r.props.onFocus(u),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(u){var s=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(u),r.onInputChange("",{action:"input-blur",prevInputValue:s}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(u){if(!(r.blockOptionHover||r.state.focusedOption===u)){var s=r.getFocusableOptions(),c=s.indexOf(u);r.setState({focusedOption:u,focusedOptionId:c>-1?r.getFocusedOptionId(u):null})}},r.shouldHideSelectedOptions=function(){return Nl(r.props)},r.onValueInputFocus=function(u){u.preventDefault(),u.stopPropagation(),r.focus()},r.onKeyDown=function(u){var s=r.props,c=s.isMulti,p=s.backspaceRemovesValue,f=s.escapeClearsValue,d=s.inputValue,y=s.isClearable,h=s.isDisabled,C=s.menuIsOpen,I=s.onKeyDown,F=s.tabSelectsValue,S=s.openMenuOnFocus,w=r.state,B=w.focusedOption,x=w.focusedValue,R=w.selectValue;if(!h&&!(typeof I=="function"&&(I(u),u.defaultPrevented))){switch(r.blockOptionHover=!0,u.key){case"ArrowLeft":if(!c||d)return;r.focusValue("previous");break;case"ArrowRight":if(!c||d)return;r.focusValue("next");break;case"Delete":case"Backspace":if(d)return;if(x)r.removeValue(x);else{if(!p)return;c?r.popValue():y&&r.clearValue()}break;case"Tab":if(r.isComposing||u.shiftKey||!C||!F||!B||S&&r.isOptionSelected(B,R))return;r.selectOption(B);break;case"Enter":if(u.keyCode===229)break;if(C){if(!B||r.isComposing)return;r.selectOption(B);break}return;case"Escape":C?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:d}),r.onMenuClose()):y&&f&&r.clearValue();break;case" ":if(d)return;if(!C){r.openMenu("first");break}if(!B)return;r.selectOption(B);break;case"ArrowUp":C?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":C?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!C)return;r.focusOption("pageup");break;case"PageDown":if(!C)return;r.focusOption("pagedown");break;case"Home":if(!C)return;r.focusOption("first");break;case"End":if(!C)return;r.focusOption("last");break;default:return}u.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++gh),r.state.selectValue=kn(i.value),i.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),l=r.buildFocusableOptions(),a=l.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=l[a],r.state.focusedOptionId=jr(o,l[a])}return r}return kd(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ko(this.menuListRef,this.focusedOptionRef),eh()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(r){var o=this.props,l=o.isDisabled,a=o.menuIsOpen,u=this.state.isFocused;(u&&!l&&r.isDisabled||u&&a&&!r.menuIsOpen)&&this.focusInput(),u&&l&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!l&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ko(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,o){this.props.onInputChange(r,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var o=this,l=this.state,a=l.selectValue,u=l.isFocused,s=this.buildFocusableOptions(),c=r==="first"?0:s.length-1;if(!this.props.isMulti){var p=s.indexOf(a[0]);p>-1&&(c=p)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:s[c],focusedOptionId:this.getFocusedOptionId(s[c])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(r){var o=this.state,l=o.selectValue,a=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=l.indexOf(a);a||(u=-1);var s=l.length-1,c=-1;if(l.length){switch(r){case"previous":u===0?c=0:u===-1?c=s:c=u-1;break;case"next":u>-1&&u<s&&(c=u+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:l[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,l=this.state.focusedOption,a=this.getFocusableOptions();if(a.length){var u=0,s=a.indexOf(l);l||(s=-1),r==="up"?u=s>0?s-1:a.length-1:r==="down"?u=(s+1)%a.length:r==="pageup"?(u=s-o,u<0&&(u=0)):r==="pagedown"?(u=s+o,u>a.length-1&&(u=a.length-1)):r==="last"&&(u=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[u],focusedValue:null,focusedOptionId:this.getFocusedOptionId(a[u])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(en):U(U({},en),this.props.theme):en}},{key:"getCommonProps",value:function(){var r=this.clearValue,o=this.cx,l=this.getStyles,a=this.getClassNames,u=this.getValue,s=this.selectOption,c=this.setValue,p=this.props,f=p.isMulti,d=p.isRtl,y=p.options,h=this.hasValue();return{clearValue:r,cx:o,getStyles:l,getClassNames:a,getValue:u,hasValue:h,isMulti:f,isRtl:d,options:y,selectOption:s,selectProps:p,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,o=r.isClearable,l=r.isMulti;return o===void 0?l:o}},{key:"isOptionDisabled",value:function(r,o){return Tl(this.props,r,o)}},{key:"isOptionSelected",value:function(r,o){return Vl(this.props,r,o)}},{key:"filterOption",value:function(r,o){return Ol(this.props,r,o)}},{key:"formatOptionLabel",value:function(r,o){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(r,{context:o,inputValue:l,selectValue:a})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,o=r.isDisabled,l=r.isSearchable,a=r.inputId,u=r.inputValue,s=r.tabIndex,c=r.form,p=r.menuIsOpen,f=r.required,d=this.getComponents(),y=d.Input,h=this.state,C=h.inputIsHidden,I=h.ariaSelection,F=this.commonProps,S=a||this.getElementId("input"),w=U(U(U({"aria-autocomplete":"list","aria-expanded":p,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},p&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?(I==null?void 0:I.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?pe.createElement(y,$({},F,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:S,innerRef:this.getInputRef,isDisabled:o,isHidden:C,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:c,type:"text",value:u},w)):pe.createElement(Rg,$({id:S,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:En,onFocus:this.onInputFocus,disabled:o,tabIndex:s,inputMode:"none",form:c,value:""},w))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,o=this.getComponents(),l=o.MultiValue,a=o.MultiValueContainer,u=o.MultiValueLabel,s=o.MultiValueRemove,c=o.SingleValue,p=o.Placeholder,f=this.commonProps,d=this.props,y=d.controlShouldRenderValue,h=d.isDisabled,C=d.isMulti,I=d.inputValue,F=d.placeholder,S=this.state,w=S.selectValue,B=S.focusedValue,x=S.isFocused;if(!this.hasValue()||!y)return I?null:pe.createElement(p,$({},f,{key:"placeholder",isDisabled:h,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),F);if(C)return w.map(function(P,O){var V=P===B,N="".concat(r.getOptionLabel(P),"-").concat(r.getOptionValue(P));return pe.createElement(l,$({},f,{components:{Container:a,Label:u,Remove:s},isFocused:V,isDisabled:h,key:N,index:O,removeProps:{onClick:function(){return r.removeValue(P)},onTouchEnd:function(){return r.removeValue(P)},onMouseDown:function(J){J.preventDefault()}},data:P}),r.formatOptionLabel(P,"value"))});if(I)return null;var R=w[0];return pe.createElement(c,$({},f,{data:R,isDisabled:h}),this.formatOptionLabel(R,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),o=r.ClearIndicator,l=this.commonProps,a=this.props,u=a.isDisabled,s=a.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||u||!this.hasValue()||s)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return pe.createElement(o,$({},l,{innerProps:p,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),o=r.LoadingIndicator,l=this.commonProps,a=this.props,u=a.isDisabled,s=a.isLoading,c=this.state.isFocused;if(!o||!s)return null;var p={"aria-hidden":"true"};return pe.createElement(o,$({},l,{innerProps:p,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),o=r.DropdownIndicator,l=r.IndicatorSeparator;if(!o||!l)return null;var a=this.commonProps,u=this.props.isDisabled,s=this.state.isFocused;return pe.createElement(l,$({},a,{isDisabled:u,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),o=r.DropdownIndicator;if(!o)return null;var l=this.commonProps,a=this.props.isDisabled,u=this.state.isFocused,s={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return pe.createElement(o,$({},l,{innerProps:s,isDisabled:a,isFocused:u}))}},{key:"renderMenu",value:function(){var r=this,o=this.getComponents(),l=o.Group,a=o.GroupHeading,u=o.Menu,s=o.MenuList,c=o.MenuPortal,p=o.LoadingMessage,f=o.NoOptionsMessage,d=o.Option,y=this.commonProps,h=this.state.focusedOption,C=this.props,I=C.captureMenuScroll,F=C.inputValue,S=C.isLoading,w=C.loadingMessage,B=C.minMenuHeight,x=C.maxMenuHeight,R=C.menuIsOpen,P=C.menuPlacement,O=C.menuPosition,V=C.menuPortalTarget,N=C.menuShouldBlockScroll,E=C.menuShouldScrollIntoView,J=C.noOptionsMessage,ne=C.onMenuScrollToTop,H=C.onMenuScrollToBottom;if(!R)return null;var j=function(m,fe){var K=m.type,ee=m.data,ke=m.isDisabled,ce=m.isSelected,Be=m.label,ae=m.value,Ie=h===ee,ve=ke?void 0:function(){return r.onOptionHover(ee)},Te=ke?void 0:function(){return r.selectOption(ee)},Pe="".concat(r.getElementId("option"),"-").concat(fe),Ne={id:Pe,onClick:Te,onMouseMove:ve,onMouseOver:ve,tabIndex:-1,role:"option","aria-selected":r.state.isAppleDevice?void 0:ce};return pe.createElement(d,$({},y,{innerProps:Ne,data:ee,isDisabled:ke,isSelected:ce,key:Pe,label:Be,type:K,value:ae,isFocused:Ie,innerRef:Ie?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(m.data,"menu"))},ue;if(this.hasOptions())ue=this.getCategorizedOptions().map(function(le){if(le.type==="group"){var m=le.data,fe=le.options,K=le.index,ee="".concat(r.getElementId("group"),"-").concat(K),ke="".concat(ee,"-heading");return pe.createElement(l,$({},y,{key:ee,data:m,options:fe,Heading:a,headingProps:{id:ke,data:le.data},label:r.formatGroupLabel(le.data)}),le.options.map(function(ce){return j(ce,"".concat(K,"-").concat(ce.index))}))}else if(le.type==="option")return j(le,"".concat(le.index))});else if(S){var se=w({inputValue:F});if(se===null)return null;ue=pe.createElement(p,y,se)}else{var ge=J({inputValue:F});if(ge===null)return null;ue=pe.createElement(f,y,ge)}var b={minMenuHeight:B,maxMenuHeight:x,menuPlacement:P,menuPosition:O,menuShouldScrollIntoView:E},xe=pe.createElement(mf,$({},y,b),function(le){var m=le.ref,fe=le.placerProps,K=fe.placement,ee=fe.maxHeight;return pe.createElement(u,$({},y,b,{innerRef:m,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:S,placement:K}),pe.createElement(Jg,{captureEnabled:I,onTopArrive:ne,onBottomArrive:H,lockEnabled:N},function(ke){return pe.createElement(s,$({},y,{innerRef:function(Be){r.getMenuListRef(Be),ke(Be)},innerProps:{role:"listbox","aria-multiselectable":y.isMulti,id:r.getElementId("listbox")},isLoading:S,maxHeight:ee,focusedOption:h}),ue)}))});return V||O==="fixed"?pe.createElement(c,$({},y,{appendTo:V,controlElement:this.controlRef,menuPlacement:P,menuPosition:O}),xe):xe}},{key:"renderFormField",value:function(){var r=this,o=this.props,l=o.delimiter,a=o.isDisabled,u=o.isMulti,s=o.name,c=o.required,p=this.state.selectValue;if(c&&!this.hasValue()&&!a)return pe.createElement(qg,{name:s,onFocus:this.onValueInputFocus});if(!(!s||a))if(u)if(l){var f=p.map(function(h){return r.getOptionValue(h)}).join(l);return pe.createElement("input",{name:s,type:"hidden",value:f})}else{var d=p.length>0?p.map(function(h,C){return pe.createElement("input",{key:"i-".concat(C),name:s,type:"hidden",value:r.getOptionValue(h)})}):pe.createElement("input",{name:s,type:"hidden",value:""});return pe.createElement("div",null,d)}else{var y=p[0]?this.getOptionValue(p[0]):"";return pe.createElement("input",{name:s,type:"hidden",value:y})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,o=this.state,l=o.ariaSelection,a=o.focusedOption,u=o.focusedValue,s=o.isFocused,c=o.selectValue,p=this.getFocusableOptions();return pe.createElement(Vg,$({},r,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:a,focusedValue:u,isFocused:s,selectValue:c,focusableOptions:p,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),o=r.Control,l=r.IndicatorsContainer,a=r.SelectContainer,u=r.ValueContainer,s=this.props,c=s.className,p=s.id,f=s.isDisabled,d=s.menuIsOpen,y=this.state.isFocused,h=this.commonProps=this.getCommonProps();return pe.createElement(a,$({},h,{className:c,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:y}),this.renderLiveRegion(),pe.createElement(o,$({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:y,menuIsOpen:d}),pe.createElement(u,$({},h,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),pe.createElement(l,$({},h,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,o){var l=o.prevProps,a=o.clearFocusValueOnUpdate,u=o.inputIsHiddenAfterUpdate,s=o.ariaSelection,c=o.isFocused,p=o.prevWasFocused,f=o.instancePrefix,d=r.options,y=r.value,h=r.menuIsOpen,C=r.inputValue,I=r.isMulti,F=kn(y),S={};if(l&&(y!==l.value||d!==l.options||h!==l.menuIsOpen||C!==l.inputValue)){var w=h?ph(r,F):[],B=h?Fl(Tn(r,F),"".concat(f,"-option")):[],x=a?dh(o,F):null,R=fh(o,w),P=jr(B,R);S={selectValue:F,focusedOption:R,focusedOptionId:P,focusableOptionsWithIds:B,focusedValue:x,clearFocusValueOnUpdate:!1}}var O=u!=null&&r!==l?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},V=s,N=c&&p;return c&&!N&&(V={value:$t(I,F,F[0]||null),options:F,action:"initial-input-focus"},N=!p),(s==null?void 0:s.action)==="initial-input-focus"&&(V=null),U(U(U({},S),O),{},{prevProps:r,ariaSelection:V,prevWasFocused:N})}}]),n}(A.Component);Jr.defaultProps=ch;var hh=A.forwardRef(function(e,t){var n=Ro(e);return pe.createElement(Jr,$({ref:t},n))}),On=hh;const mh=en,Nn={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},boxShadow:{button:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px",card:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",dropdown:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",input:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},spacing:{baseUnit:4,controlHeight:32,menuGutter:8}},Dl={colors:{},spacing:{baseUnit:4,controlHeight:32,menuGutter:8},boxShadow:{button:"none",input:"none",card:"none",dropdown:"none"}};function Ll(e){if(!e)return en;const t=typeof e=="function"?e(Nn):e,{colors:n,spacing:i,borderRadius:r}=Dn(mh,t);return{borderRadius:r,colors:n,spacing:i}}function Dn(e,...t){const n={borderRadius:e.borderRadius,colors:{...e.colors},spacing:{...e.spacing},boxShadow:{...e.boxShadow}};for(const i of t)i&&(n.borderRadius=i.borderRadius??n.borderRadius,Object.assign(n.boxShadow,i.boxShadow),Object.assign(n.colors,i.colors),Object.assign(n.spacing,i.spacing));return n}const bh=({...e})=>{const[t,n]=A.useState(!1),i={textDecoration:"underline",textUnderlineOffset:"3px",color:"inherit",transition:"opacity 0.2s ease",opacity:t?.7:1};return G.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"2px"},children:[G.jsx("a",{...e,target:"_blank",rel:"noopener noreferrer",style:i,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)}),G.jsx("span",{style:{fontSize:"0.7em",opacity:.7},children:"↗"})]})};function Ml(e){const{field:t,markdown:n}=e,{prop:i}=t,{getClassNames:r,getStyles:o,theme:l}=Me(),a=A.useMemo(()=>({color:l.colors.neutral50,fontWeight:400,fontSize:"0.75rem",gridArea:"description",textWrap:"balance",lineHeight:"1.5"}),[l.colors.neutral50]),u=A.useMemo(()=>({a:bh}),[]),s=e;return i.type==="app"?G.jsx("p",{className:r("description",s),style:o("description",a,s),children:"Credentials are encrypted."}):i.description?G.jsxs("div",{className:r("description",s),style:o("description",a,s),children:[" ",G.jsx(Go,{components:u,children:n})]}):null}function Rl(e){const{field:t}=e,{enableDebugging:n,errors:i={},prop:r={}}=t;if(!n||!i[r.name])return null;const o=i[r.name].map(u=>({type:"alert",alertType:"error",content:u,name:r.name})),l={display:"grid",gridTemplateColumns:"max-content"},a=()=>G.jsx(G.Fragment,{children:o.map((u,s)=>G.jsx(yn,{prop:u},s))});return G.jsx("div",{className:"pd-errors",style:l,children:G.jsx(a,{})})}function Xl(e){const{text:t,field:n}=e,{id:i}=n,{getProps:r,theme:o}=Me(),l={color:o.colors.neutral90,fontWeight:450,gridArea:"label",lineHeight:"1.5"};return G.jsx("label",{htmlFor:i,...r("label",l,e),children:t})}const zl=e=>{const{onChange:t}=e,{getProps:n,theme:i}=Me(),r={backgroundColor:i.colors.primary,borderRadius:i.borderRadius,border:"solid 1px",borderColor:i.colors.primary25,color:i.colors.primary25,padding:"0.5rem",fontSize:"0.8125rem",fontWeight:"450",gridArea:"control",cursor:"pointer",width:"100%"};return G.jsx("button",{onClick:t,type:"button",...n("loadMoreButton",r,e),children:"Load More"})},Hl=e=>{const{prop:t,enabled:n,onClick:i}=e,{getProps:r,theme:o}=Me(),l={color:o.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${o.spacing.baseUnit}px ${o.spacing.baseUnit*1.5}px ${o.spacing.baseUnit}px ${o.spacing.baseUnit*2.5}px`,border:`1px solid ${o.colors.neutral30}`,borderRadius:o.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:o.spacing.baseUnit*2,textWrap:"nowrap"};return G.jsxs("button",{onClick:i,type:"button",...r("optionalFieldButton",l,e),children:[G.jsx("span",{children:n?"-":"+"}),G.jsx("span",{style:{marginRight:8},children:t.label||t.name})]})},Wl={Description:Ml,Errors:Rl,Label:Xl,OptionalFieldButton:Hl,Button:zl},Ln=A.createContext({classNames:{},classNamePrefix:"",components:{},styles:{},theme:Nn,unstyled:!1});function yh(){const e=A.useContext(Ln)??{},t=Ll(e.theme??{});function n(){return e.classNamePrefix??""}function i(a){var c;const u=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${a}`,s={...((c=e.classNames)==null?void 0:c[a])??{}};return typeof(s==null?void 0:s.container)=="function"&&(s.container=typeof(s==null?void 0:s.container)=="function"?(...p)=>{var f;return[(f=s==null?void 0:s.container)==null?void 0:f.call(s,...p),u].join(" ")}:()=>u),s}function r(a,u){var s;return{...Lt,...u??{},...((s=e==null?void 0:e.components)==null?void 0:s[a])??{}}}function o(a,u){var c;const s=(c=e.styles)==null?void 0:c[a];return ih(s??{},u??{})}function l(a,u){return{classNamePrefix:n(),classNames:i(a),components:r(a,u==null?void 0:u.components),styles:o(a,u==null?void 0:u.styles),theme:t}}return{getClassNamePrefix:n,getClassNames:i,getComponents:r,getProps:l,getStyles:o,theme:t}}function Me(){const e=A.useContext(Ln)??{},t=e.theme,n=e.unstyled?Dl:Nn,i=typeof t=="function"?Dn(n,t(n)):Dn(n,t);function r(u,s){var f;const c=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${u.toLowerCase()}`,p=(f=e.classNames)==null?void 0:f[u];if(typeof p=="function"){const d=p,y={...s??{},theme:i};return[c,d(y)].filter(Boolean).join(" ")}return[c,p].filter(Boolean).join(" ")}function o(){return{...Wl,...(e==null?void 0:e.components)??{}}}function l(u,s,c){var f;const p=(f=e.styles)==null?void 0:f[u];if(typeof p=="function"){const d=p,y={...c??{},theme:i};return d(s,y)}return p?{...s,...p}:s}function a(u,s,c){return{className:r(u,c),style:l(u,s,c)}}return{getClassNames:r,getComponents:o,getProps:a,getStyles:l,select:yh(),theme:i}}const Ih=({children:e,...t})=>G.jsx(Ln.Provider,{value:t,children:e}),Yr=A.createContext(void 0),ot=()=>{const e=A.useContext(Yr);if(!e)throw new Error("Must be used inside FormFieldContext.Provider");return e},Zl=(e,t)=>{const n=st(),i={externalUserId:e.external_user_id,app:e.app,oauthAppId:e.oauth_app_id},r=ut.useQuery({...t==null?void 0:t.useQueryOpts,queryKey:["accounts",e],queryFn:async()=>(await n.accounts.list(i)).data});return{...r,accounts:r.data||[]}},vh=e=>G.jsx(Lt.Option,{...e,children:e.data.name});function jl({app:e}){const t=st(),{externalUserId:n,oauthAppConfig:i}=qt(),r=ot(),{id:o,prop:l,value:a,onChange:u}=r,{getProps:s,select:c,theme:p}=Me(),f={color:p.colors.neutral60,gridArea:"control"},d={backgroundColor:p.colors.primary,borderRadius:p.borderRadius,border:"solid 1px",borderColor:p.colors.primary25,color:p.colors.primary25,padding:"0.25rem 0.5rem",gridArea:"control"},y={components:{Option:vh},styles:{control:P=>({...P,gridArea:"control",boxShadow:p.boxShadow.input})}},h=c.getProps("controlAppSelect",y),C=i==null?void 0:i[e.nameSlug],{isLoading:I,accounts:F,refetch:S}=Zl({external_user_id:n,app:e.nameSlug,oauth_app_id:C},{useQueryOpts:{enabled:!!e,suspense:!!e}}),w=async()=>{t.connectAccount({app:l.app,oauthAppId:C,onSuccess:async P=>{await S(),u({authProvisionId:P.id})},onError:()=>{}})},B={id:"_new",name:`Connect new ${e.name} account...`},x=A.useMemo(()=>[...F,B],[F]),R=A.useMemo(()=>{if(a!=null&&a.authProvisionId){for(const P of F)if(a.authProvisionId===P.id)return P}return B},[F,a]);return G.jsx("div",{...s("controlApp",f,{app:e,...r}),children:I?`Loading ${e.name} accounts...`:F.length?G.jsx(On,{instanceId:o,value:R,options:x,...h,classNamePrefix:"react-select",required:!0,placeholder:`Select ${e.name} account...`,isLoading:I,isClearable:!0,isSearchable:!0,getOptionLabel:P=>P.name??"",getOptionValue:P=>P.id,menuPortalTarget:typeof document<"u"?document.body:null,menuPosition:"fixed",styles:{...h.styles,menuPortal:P=>({...P,zIndex:99999})},onChange:P=>{P?P.id==="_new"?w():u({authProvisionId:P.id}):u(void 0)}}):G.jsxs("button",{type:"button",...s("connectButton",d,{app:e,...r}),onClick:()=>w(),children:["Connect ",e.name]})})}const Jl=e=>({color:e.colors.neutral60,border:"1px solid",borderColor:e.colors.neutral20,padding:6,borderRadius:e.borderRadius,boxShadow:e.boxShadow.input,flex:1}),_r=e=>({color:e.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${e.spacing.baseUnit}px ${e.spacing.baseUnit*1.5}px ${e.spacing.baseUnit}px ${e.spacing.baseUnit*2.5}px`,border:`1px solid ${e.colors.neutral30}`,borderRadius:e.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:e.spacing.baseUnit*2,textWrap:"nowrap",backgroundColor:"white"}),Yl=e=>({..._r(e),flex:"0 0 auto",padding:"6px 8px"}),_l=()=>({gridArea:"control",display:"flex",flexDirection:"column",gap:"0.5rem"}),Ul=()=>({display:"flex",gap:"0.5rem",alignItems:"center"});function Ch(){var R;const e=ot(),{onChange:t,prop:n,value:i}=e,{getProps:r,theme:o}=Me(),l=()=>{if(!i||!Array.isArray(i))return[""];const P=i.map(O=>typeof O=="string"?O:JSON.stringify(O));return P.length>0?P:[""]},[a,u]=A.useState(l),s=A.useRef(a);A.useEffect(()=>{s.current=a},[a]);const c=()=>Array.isArray(i)?i.map(P=>typeof P=="string"?P:JSON.stringify(P)).filter(P=>P.trim()!==""):[],p=P=>P.filter(O=>O.trim()!==""),f=(P,O)=>{if(P.length!==O.length)return!1;for(let V=0;V<P.length;V+=1)if(P[V]!==O[V])return!1;return!0};A.useEffect(()=>{const P=c(),O=p(s.current);f(O,P)||u(l())},[i]),A.useEffect(()=>{u(l())},[n.name]);const d=P=>{const O=P.filter(V=>V.trim()!=="");if(O.length===0){t(void 0);return}t(O)},y=(P,O)=>{const V=[...a];V[P]=O,u(V),d(V)},h=()=>{const P=[...a,""];u(P)},C=P=>{const O=a.filter((V,N)=>N!==P);u(O.length>0?O:[""]),d(O)},I=_l(),F=Ul(),S=Jl(o),w=_r(o),B=Yl(o),x=((R=a[a.length-1])==null?void 0:R.trim())||a.length>1;return G.jsxs("div",{...r("controlArray",I,e),children:[a.map((P,O)=>G.jsxs("div",{style:F,children:[G.jsx("input",{type:"text",value:P,onChange:V=>y(O,V.target.value),placeholder:"",style:S,required:!n.optional&&O===0}),a.length>1&&G.jsx("button",{type:"button",onClick:()=>C(O),style:B,"aria-label":"Remove value",children:"×"})]},O)),x&&G.jsxs("button",{type:"button",onClick:h,style:{...w,alignSelf:"flex-start",paddingRight:`${o.spacing.baseUnit*2}px`},children:[G.jsx("span",{children:"+"}),G.jsx("span",{children:"Add more"})]})]})}function ql(){const e=ot(),{id:t,value:n,onChange:i}=e,{getProps:r}=Me(),o={width:"16px",height:"16px",gridArea:"control",margin:"0 0.5rem 0 0"};return G.jsx("input",{id:t,type:"checkbox",...r("controlBoolean",o,e),checked:n??!1,onChange:l=>i(l.target.checked)})}function Ql(){const e=ot(),{id:t,onChange:n,prop:i,value:r}=e,{getProps:o,theme:l}=Me(),a={color:l.colors.neutral60,display:"block",border:"1px solid",borderColor:l.colors.neutral20,padding:6,width:"100%",borderRadius:l.borderRadius,gridArea:"control",boxShadow:l.boxShadow.input};let u="off",s="text",c=d=>d;switch(i.type){case"string":break;case"integer":s="number",c=d=>d?parseInt(d):void 0;break;default:throw new Error("unexpected prop.type for ControlInput: "+i.type)}"secret"in i&&i.secret&&(s="password",u="new-password");const p=rt(i,"integer")?i.min:void 0,f=rt(i,"integer")?i.max:void 0;return G.jsx("input",{id:t,type:s,name:i.name,value:String(r??""),onChange:d=>n(c(d.target.value)),...o("controlInput",a,e),min:p,max:f,autoComplete:u,"data-lpignore":"true","data-1p-ignore":"true",required:!i.optional})}function xh(){const e=ot(),{onChange:t,prop:n,value:i}=e,{getProps:r,theme:o}=Me(),l=S=>{if(S===null||typeof S!="object"||S instanceof Date||S instanceof Function||S instanceof RegExp)return!1;const w=Object.getPrototypeOf(S);return w===Object.prototype||w===null},a=()=>{if(!i||typeof i!="object"||Array.isArray(i))return[{key:"",value:""}];if(!l(i))return[{key:"",value:""}];const S=Object.entries(i).map(([w,B])=>({key:w,value:typeof B=="string"?B:(()=>{try{return JSON.stringify(B)}catch{return String(B)}})()}));return S.length>0?S:[{key:"",value:""}]},[u,s]=A.useState(a);A.useEffect(()=>{if(!i||typeof i!="object"||Array.isArray(i)){s([{key:"",value:""}]);return}if(!l(i)){s([{key:"",value:""}]);return}const S=Object.entries(i).map(([w,B])=>({key:w,value:typeof B=="string"?B:(()=>{try{return JSON.stringify(B)}catch{return String(B)}})()}));s(S.length>0?S:[{key:"",value:""}])},[i]);const c=S=>{const w=S.filter(x=>x.key.trim()!=="");if(w.length===0){t(void 0);return}const B={};w.forEach(x=>{if(x.key.trim())try{B[x.key]=JSON.parse(x.value)}catch{B[x.key]=x.value}}),t(B)},p=(S,w,B)=>{const x=[...u];x[S]={...x[S],[w]:B},s(x),c(x)},f=()=>{const S=[...u,{key:"",value:""}];s(S)},d=S=>{const w=u.filter((B,x)=>x!==S);s(w.length>0?w:[{key:"",value:""}]),c(w)},y=_l(),h=Ul(),C=Jl(o),I=_r(o),F=Yl(o);return G.jsxs("div",{...r("controlObject",y,e),children:[u.map((S,w)=>G.jsxs("div",{style:h,children:[G.jsx("input",{type:"text",value:S.key,onChange:B=>p(w,"key",B.target.value),placeholder:"Key",style:C,required:!n.optional&&w===0}),G.jsx("input",{type:"text",value:S.value,onChange:B=>p(w,"value",B.target.value),placeholder:"Value",style:C}),u.length>1&&G.jsx("button",{type:"button",onClick:()=>d(w),style:F,"aria-label":"Remove pair",children:"×"})]},w)),G.jsxs("button",{type:"button",onClick:f,style:{...I,alignSelf:"flex-start",paddingRight:`${o.spacing.baseUnit*2}px`},children:[G.jsx("span",{children:"+"}),G.jsx("span",{children:"Add more"})]})]})}var Ah=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],$l=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=String(t).toLowerCase(),o=String(i.getOptionValue(n)).toLowerCase(),l=String(i.getOptionLabel(n)).toLowerCase();return o===r||l===r},Ur={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,i,r){return!(!t||n.some(function(o){return $l(t,o,r)})||i.some(function(o){return $l(t,o,r)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function Sh(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,i=e.createOptionPosition,r=i===void 0?"last":i,o=e.formatCreateLabel,l=o===void 0?Ur.formatCreateLabel:o,a=e.isValidNewOption,u=a===void 0?Ur.isValidNewOption:a,s=e.getNewOptionData,c=s===void 0?Ur.getNewOptionData:s,p=e.onCreateOption,f=e.options,d=f===void 0?[]:f,y=e.onChange,h=it(e,Ah),C=h.getOptionValue,I=C===void 0?wl:C,F=h.getOptionLabel,S=F===void 0?Sl:F,w=h.inputValue,B=h.isLoading,x=h.isMulti,R=h.value,P=h.name,O=A.useMemo(function(){return u(w,kn(R),d,{getOptionValue:I,getOptionLabel:S})?c(w,l(w)):void 0},[l,c,S,I,w,u,d,R]),V=A.useMemo(function(){return(n||!B)&&O?r==="first"?[O].concat(Dt(d)):[].concat(Dt(d),[O]):d},[n,r,B,O,d]),N=A.useCallback(function(E,J){if(J.action!=="select-option")return y(E,J);var ne=Array.isArray(E)?E:[E];if(ne[ne.length-1]===O){if(p)p(w);else{var H=c(w,w),j={action:"create-option",name:P,option:H};y($t(x,[].concat(Dt(kn(R)),[H]),H),j)}return}y(E,J)},[c,w,x,P,O,p,y,R]);return U(U({},h),{},{options:V,onChange:N})}var wh=A.forwardRef(function(e,t){var n=Ro(e),i=Sh(n);return pe.createElement(Jr,$({ref:t},i))}),Eh=wh;function Mn({isCreatable:e,options:t,selectProps:n,showLoadMoreButton:i,onLoadMore:r,components:o}){const l=ot(),{id:a,prop:u,value:s,onChange:c}=l,{select:p,theme:f}=Me(),[d,y]=A.useState(t),[h,C]=A.useState(s);A.useEffect(()=>{const E=t.map(Oe);y(E)},[t]),A.useEffect(()=>{C(s)},[s]);const I={styles:{container:E=>({...E,gridArea:"control",boxShadow:f.boxShadow.input})}},F=A.useMemo(()=>{if(h==null)return null;if(Fr(h)){const E=h.__lv;return Array.isArray(E)?E.map(J=>Oe(J)):Oe(E)}if(Oo(h))return h.map(E=>Oe(E));if(Array.isArray(h)){if(!Pr(h[0]))return h.map(E=>d.find(J=>J.value===E)||Oe(E))}else if(!Pr(h))if((d==null?void 0:d[0])&&Pr(d[0])){for(const J of d)if(J.value===h)return J}else return Oe(h);return null},[h,d]),S=p.getProps("controlSelect",I),w=A.useRef(r);A.useEffect(()=>{w.current=r},[r]);const B=A.useRef(i);B.current=i;const x=A.useMemo(()=>{const E={...S.components??{},...o??{}},J=E.MenuList??Lt.MenuList,ne=({children:H,...j})=>G.jsxs(J,{...j,children:[H,B.current&&G.jsx("div",{className:"pt-4",children:G.jsx(zl,{onChange:()=>{var ue;return(ue=w.current)==null?void 0:ue.call(w)}})})]});return ne.displayName="CustomMenuList",{...E,MenuList:ne}},[S.components,o]),R=E=>{const J=Oe(E);let ne=J;const H=d.map(Oe),j=[J,...H];y(j),u.type.endsWith("[]")&&(Array.isArray(h)?ne=[...h.map(Oe),J]:ne=[J]),C(ne),P(ne)},P=E=>{if(E)if(Array.isArray(E))typeof E[0]=="object"&&E[0]&&"value"in E[0]?c({__lv:E}):c(E);else if(typeof E=="object"&&E&&"value"in E)c({__lv:E});else throw new Error("unhandled option type");else c(void 0)},O={onCreateOption:u.remoteOptions?R:void 0},V=e?Eh:On,N=d.map(Oe);return G.jsx(V,{inputId:a,instanceId:a,options:N,value:F,isMulti:u.type.endsWith("[]"),isClearable:!0,required:!u.optional,getOptionLabel:E=>Oe(E).label,getOptionValue:E=>String(Oe(E).value),onChange:P,...S,...n,...O,classNamePrefix:"react-select",menuPortalTarget:typeof document<"u"?document.body:null,menuPosition:"fixed",styles:{...S.styles,...n==null?void 0:n.styles,menuPortal:E=>({...E,zIndex:99999})},components:x})}const kh=e=>typeof e=="object"&&e!==null&&"query"in e&&typeof e.query=="string";function Kl(){var p;const e=ot(),{id:t,onChange:n,prop:i,value:r}=e;if(!rt(i,"sql"))throw new Error("ControlSql used with non-sql prop");const{getProps:o,theme:l}=Me(),a=((p=i.auth)==null?void 0:p.app)||"postgresql";let u="";kh(r)?u=r.query:typeof r=="string"&&(u=r);const s=f=>{n({app:a,query:f,params:[]})},c={color:l.colors.neutral60,display:"block",border:"1px solid",borderColor:l.colors.neutral20,padding:6,width:"100%",borderRadius:l.borderRadius,gridArea:"control",boxShadow:l.boxShadow.input,fontSize:"0.875rem",fontFamily:"monospace",minHeight:"120px",resize:"vertical"};return G.jsx("textarea",{id:t,name:i.name,value:u,onChange:f=>s(f.target.value),placeholder:"SELECT * FROM table_name",required:!i.optional,...o("controlSql",c,e)})}const qr=e=>Oe(e).value??null;function ea({queryEnabled:e}){const t=st(),{externalUserId:n,component:i,configurableProps:r,configuredProps:o,dynamicProps:l,props:{disableQueryDisabling:a}}=qt(),{idx:u,prop:s,onChange:c}=ot(),[p,f]=A.useState(""),[d,y]=A.useState(0),[h,C]=A.useState(void 0),[I,F]=A.useState(void 0),[S,w]=A.useState(!0),[B,x]=A.useState([]),[R,P]=A.useState(new Set),O=A.useMemo(()=>{const ae={};for(let Ie=0;Ie<u;Ie++){const ve=r[Ie];ae[ve.name]=o[ve.name]}return ae},[u,r,o]),V=A.useMemo(()=>{const ae=r.find(Ie=>Ie.type==="app");return ae?o[ae.name]:void 0},[r,o]),N=A.useMemo(()=>{const ae={externalUserId:n,page:d,prevContext:h,id:i.key,propName:s.name,configuredProps:O,dynamicPropsId:l==null?void 0:l.id};return s.useQuery&&(ae.query=p||""),ae},[n,d,h,i.key,s.name,s.useQuery,O,l==null?void 0:l.id,p]),E=A.useMemo(()=>N,[N]),[J,ne]=A.useState(),H=()=>{y(ae=>ae+1),C(I)},j=JSON.stringify(E),ue=JSON.stringify(V),se=A.useRef(),ge=A.useRef(),b=A.useMemo(()=>{const{page:ae,prevContext:Ie,...ve}=N;return JSON.stringify(ve)},[N]),xe=A.useMemo(()=>r.some(ae=>ae.type==="app"),[r]),le=A.useMemo(()=>!(!e||xe&&!V),[e,xe,V]),{data:m,isFetching:fe,refetch:K,dataUpdatedAt:ee}=ut.useQuery({queryKey:["componentConfigure",E],queryFn:async()=>{const ae=await t.components.configureProp(N),{options:Ie,stringOptions:ve,errors:Te}=ae;if(Te!=null&&Te.length){let Ae;try{Ae=JSON.parse(Te[0])}catch{Ae={name:"Error",message:Te[0]}}return{error:Ae,options:[],context:ae.context}}const Pe=(ve==null?void 0:ve.map(Ae=>({label:Ae,value:Ae})))??[];return{error:void 0,options:[...Ie??[],...Pe],context:ae.context}},enabled:le});A.useEffect(()=>{if(!m)return;if(m.error){ne(m.error);return}ne(void 0),F(m.context);const ae=d===0;let Ie=!1;P(ve=>{const Te=ae?new Set:ve,Pe=new Set(Te);for(const Ne of m.options){const Ae=qr(Ne);if(Ae===null){console.warn("Skipping invalid option:",Ne);continue}Pe.has(Ae)||(Pe.add(Ae),Ie=!0)}return Pe}),x(ve=>{const Te=ae?[]:ve,Pe=[],Ne=new Set;if(!ae)for(const Ae of Te){const Je=qr(Ae);Je!==null&&Ne.add(Je)}for(const Ae of m.options){const Je=qr(Ae);Je!==null&&(Ne.has(Je)||(Ne.add(Je),Pe.push(Ae)))}return Pe.length?[...Te,...Pe]:ve}),Ie||w(!1)},[m,d,ee,j]),A.useEffect(()=>{if(!se.current){se.current=b;return}se.current!==b&&(y(0),C(void 0),F(void 0),w(!0),x([]),P(new Set)),se.current=b},[b]),A.useEffect(()=>{ge.current&&ge.current!==ue&&(c(void 0),V!=null&&le&&K()),ge.current=ue},[ue,c,le,V,K]);const ke=A.useMemo(()=>!fe&&!J&&S,[fe,J,S]),ce=J?J.message:a?"Click to configure":le?void 0:"Configure props above first",Be=a?!1:!le;return G.jsx(Mn,{isCreatable:!0,showLoadMoreButton:ke,onLoadMore:H,options:B.map(Oe),selectProps:{isLoading:fe,placeholder:ce,isDisabled:Be,inputValue:s.useQuery?p:void 0,onInputChange(ae){s.useQuery&&(f(ae),K())},onMenuOpen(){a&&!le&&K()}}})}function ta(e){const{field:t,form:n}=e,{queryDisabledIdx:i}=n,{prop:r,idx:o}=t,l="app"in t.extra?t.extra.app:void 0;if(r.remoteOptions||r.type==="$.discord.channel"||r.type==="$.discord.channel[]")return G.jsx(ea,{queryEnabled:i==null||i>=o});if("options"in r&&Array.isArray(r.options)&&r.options.length>0){const a=r.options.map(Oe);return G.jsx(Mn,{options:a,components:{IndicatorSeparator:()=>null}})}if(r.type.endsWith("[][]"))throw new Error("Unsupported property type: "+r.type);if(r.type.endsWith("[]"))return!("options"in r)||!r.options?G.jsx(Ch,{}):G.jsx(Mn,{isCreatable:!0,options:[],components:{IndicatorSeparator:()=>null}});switch(r.type){case"app":return G.jsx(jl,{app:l});case"boolean":return G.jsx(ql,{});case"string":case"integer":return G.jsx(Ql,{});case"object":return G.jsx(xh,{});case"sql":return G.jsx(Kl,{});default:throw new Error("Unsupported property type: "+r.type)}}function na(e){const{form:t,field:n}=e,{prop:i}=n,{getProps:r,getComponents:o}=Me(),l={display:"grid",gridTemplateAreas:n.prop.type=="boolean"?'"control label" "description description" "error error"':'"label label" "control control" "description description" "error error"',gridTemplateColumns:"min-content auto",gap:"0.25rem 0",alignItems:"center",fontSize:"0.875rem"},{Label:a,Description:u,Errors:s}=o(),c="app"in n.extra?n.extra.app:void 0;if(c&&!c.authType)return null;let p=i.label||i.name;c&&(p=`Connect ${c.name} account`);const f=e;return G.jsxs("div",{...r("field",l,f),children:[G.jsx(a,{text:p,field:n,form:t}),G.jsx(ta,{field:n,form:t}),G.jsx(u,{markdown:i.description,field:n,form:t}),G.jsx(s,{field:n,form:t})]})}const ra=(e,t)=>{var r;const n=st(),i=ut.useQuery({queryKey:["app",e],queryFn:()=>n.apps.retrieve(e),...t==null?void 0:t.useQueryOpts});return{...i,app:(r=i.data)==null?void 0:r.data}};function ia({prop:e,idx:t}){const n=qt(),{id:i,configuredProps:r,registerField:o,setConfiguredProp:l,errors:a,enableDebugging:u}=n;let s;rt(e,"app")&&(s=e.app);const{app:c}=ra(s||"",{useQueryOpts:{enabled:!!s,suspense:!!s}}),p=`pd${i}${e.name}`,f=A.useCallback(y=>{l(t,y)},[t,e.name,l]),d={id:p,prop:e,idx:t,value:r[e.name],onChange:f,extra:{app:c},errors:a,enableDebugging:u};return A.useEffect(()=>{o(d)},[e.name,o]),G.jsx(Yr.Provider,{value:d,children:G.jsx(na,{field:d,form:n})})}class oa extends A.Component{constructor(){super(...arguments),this.state={err:void 0}}static getDerivedStateFromError(t){return{err:t}}render(){const{err:t}=this.state;return t?this.props.fallback(t):this.props.children}}function la(e){const{form:t}=e,{propsNeedConfiguring:n,submitting:i}=t,{getProps:r,theme:o}=Me(),l=a=>{var u;return{width:"fit-content",textTransform:"capitalize",backgroundColor:a?o.colors.neutral10:o.colors.primary,color:a?o.colors.neutral40:o.colors.neutral0,padding:`${o.spacing.baseUnit*1.75}px ${o.spacing.baseUnit*16}px`,borderRadius:o.borderRadius,boxShadow:(u=o.boxShadow)==null?void 0:u.button,cursor:"pointer",fontSize:"0.875rem",opacity:i?.5:void 0,margin:"0.5rem 0 0 0"}};return G.jsx("input",{type:"submit",value:i?"Submitting...":"Submit",...r("controlSubmit",l(!!n.length||i),e),disabled:!!n.length||i})}const Ph=["ConfigurationError"];function aa(){const e=qt(),{configurableProps:t,dynamicPropsQueryIsFetching:n,isValid:i,optionalPropIsEnabled:r,optionalPropSetEnabled:o,props:l,setSubmitting:a,sdkErrors:u,submitting:s,enableDebugging:c}=e,p=c||u.filter(V=>Ph.includes(V.name)).length>0,{hideOptionalProps:f,onSubmit:d}=l,[y,h]=A.useState([]);A.useEffect(()=>{s?h([]):u&&u.length&&h(u.map(V=>({type:"alert",alertType:"error",content:`# ${V.name}
21
+ ${V.message}`,name:V.name})))},[u,s]);const{getComponents:C,getProps:I,theme:F}=Me(),{OptionalFieldButton:S}=C(),w={display:"flex",flexDirection:"column",gap:"1.5rem"},B={display:"flex",flexWrap:"wrap",gap:"0.375rem"},x={fontWeight:600,textTransform:"capitalize",color:F.colors.neutral60,fontSize:"0.875rem",lineHeight:"1.375",margin:"0 0 0.5rem 0"},R=async V=>{if(d&&(V.preventDefault(),i)){a(!0);try{await d(e)}finally{a(!1)}}},P=[],O=[];for(let V=0;V<t.length;V++){const N=t[V];if(!N.hidden&&!Ut.includes(N.type)){if(N.optional){const E=r(N);if(O.push([N,E]),!E)continue}P.push([N,V])}}return G.jsx(oa,{fallback:V=>G.jsxs("p",{style:{color:"red"},children:["Error: ",V&&typeof V=="object"&&"message"in V&&typeof V.message=="string"?V.message:"Unknown"]}),children:G.jsx(A.Suspense,{fallback:G.jsx("p",{children:"Loading form..."}),children:G.jsxs("form",{...I("componentForm",w,l),onSubmit:R,children:[P.map(([V,N])=>rt(V,"alert")?G.jsx(yn,{prop:V},V.name):G.jsx(ia,{prop:V,idx:N},V.name)),n&&G.jsx("p",{children:"Loading dynamic props..."}),!f&&O.length?G.jsxs("div",{children:[G.jsx("div",{...I("heading",x,l),children:"Optional Props"}),G.jsx("div",{...I("optionalFields",B,l),children:O.map(([V,N])=>G.jsx(S,{prop:V,enabled:N,onClick:()=>o(V,!N)},V.name))})]}):null,p&&(y==null?void 0:y.map((V,N)=>G.jsx(yn,{prop:V},N))),d&&G.jsx(la,{form:e})]})})})}function ua(e){return G.jsx(No,{props:e,children:G.jsx(aa,{})})}const sa=({key:e},t)=>{var r;const n=st(),i=ut.useQuery({queryKey:["component",e],queryFn:()=>n.components.retrieve(e),enabled:!!e,...t==null?void 0:t.useQueryOpts});return{...i,component:(r=i.data)==null?void 0:r.data}};function Fh(e){const{isLoading:t,error:n,component:i}=sa({key:e.componentKey});if(!e.componentKey)throw new Error("componentKey required");return t?G.jsx("p",{children:"Loading..."}):n?G.jsxs("p",{children:["Error: ",n.message]}):i?G.jsx(ua,{component:i,...e}):G.jsx("p",{children:"Component not found"})}function Gh(){const e=ot(),{id:t,onChange:n,value:i}=e,{getProps:r,theme:o}=Me(),l={display:"block",gridArea:"control",width:"100%",fontSize:"0.875rem",boxShadow:o.boxShadow.input};let a=i;return typeof a=="object"&&(a=JSON.stringify(a)),G.jsx("textarea",{id:t,value:a,onChange:u=>n(u.target.value),...r("controlAny",l,e)})}const ca=e=>{if(!e||typeof e!="object")return!1;const t=e;return typeof t.hasNextPage=="function"&&typeof t.getNextPage=="function"},pa=e=>{const t=Object.getPrototypeOf(e);return Object.assign(Object.create(t??Object.prototype),e)};function Bh(){const e=A.useRef(!1);return A.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function da(){const[e,t]=A.useState([]),[n,i]=A.useState(!1),[r,o]=A.useState(!1),[l,a]=A.useState(),u=A.useRef(null),s=A.useRef(),c=Bh(),p=A.useCallback((d,y)=>{var F;const h=pa(d),C=(((F=s.current)==null?void 0:F.version)??0)+1;s.current={version:C},u.current=h;const I=h.data?h.data.slice():[];t(I),i(h.hasNextPage()),o(!1),a(void 0)},[]),f=A.useCallback(async()=>{var C,I,F;const d=s.current,y=u.current;if(!d||!y||!n||r)return;const h=d.version;o(!0);try{const S=await y.getNextPage();if(!c.current||h!==(((C=s.current)==null?void 0:C.version)??0))return;const w=pa(S);u.current=w,t(B=>!w.data||w.data.length===0?B:B.concat(w.data)),i(w.hasNextPage()),a(void 0)}catch(S){if(!c.current||h!==(((I=s.current)==null?void 0:I.version)??0))return;a(S instanceof Error?S:new Error(String(S)))}finally{c.current&&h===(((F=s.current)==null?void 0:F.version)??0)&&o(!1)}},[n,r,c]);return{items:e,hasMore:n,isLoadingMore:r,loadMoreError:l,loadMore:f,resetWithPage:p}}const fa=e=>{const t=st(),{items:n,hasMore:i,isLoadingMore:r,loadMore:o,loadMoreError:l,resetWithPage:a}=da(),u=A.useRef(),s=ut.useQuery({queryKey:["apps",e],queryFn:()=>t.apps.list({limit:50,...e})});return A.useEffect(()=>{const c=JSON.stringify(e??null),p=u.current!==s.data;!s.data||!ca(s.data)||!p||(u.current=s.data,a(s.data,c))},[s.data,e,a]),{...s,apps:n,isLoadingMore:r,hasMore:i,loadMore:o,loadMoreError:l}};function Th({value:e,onChange:t,appsOptions:n}){const[i,r]=A.useState(""),[o,l]=A.useState(""),a=A.useId();A.useEffect(()=>{const w=setTimeout(()=>{l(i)},300);return()=>clearTimeout(w)},[i]);const{isLoading:u,isLoadingMore:s,hasMore:c,loadMore:p,apps:f}=fa({...n??{},q:o}),{Option:d,SingleValue:y,MenuList:h}=Lt,C=A.useRef(s);C.current=s;const I=A.useMemo(()=>(f==null?void 0:f.find(w=>w.nameSlug===(e==null?void 0:e.nameSlug)))||(e!=null&&e.nameSlug?e:null),[f,e==null?void 0:e.nameSlug]),F=A.useCallback(()=>{c&&!s&&p()},[c,s,p]),S=A.useMemo(()=>({Option:w=>G.jsx(d,{...w,children:G.jsxs("div",{style:{display:"flex",gap:10},children:[G.jsx("img",{src:`https://pipedream.com/s.v0/${w.data.id}/logo/48`,style:{height:24,width:24},alt:w.data.name}),G.jsx("span",{style:{whiteSpace:"nowrap"},children:w.data.name})]})}),SingleValue:w=>G.jsx(y,{...w,children:G.jsxs("div",{style:{display:"flex",gap:10,alignItems:"center"},children:[G.jsx("img",{src:`https://pipedream.com/s.v0/${w.data.id}/logo/48`,style:{height:24,width:24},alt:w.data.name}),G.jsx("span",{style:{whiteSpace:"nowrap"},children:w.data.name})]})}),MenuList:w=>G.jsxs(h,{...w,children:[w.children,C.current&&G.jsx("div",{style:{padding:"8px 12px",textAlign:"center",color:"#666",fontSize:"14px"},children:"Loading more apps..."})]}),IndicatorSeparator:()=>null}),[d,y,h]);return G.jsx(On,{instanceId:a,className:"react-select-container text-sm",classNamePrefix:"react-select",components:S,options:f||[],getOptionLabel:w=>w.name||w.nameSlug,getOptionValue:w=>w.nameSlug,value:I,onChange:w=>t==null?void 0:t(w||void 0),onInputChange:(w,{action:B})=>{B==="input-change"&&r(w)},onMenuScrollToBottom:F,isLoading:u,menuPortalTarget:typeof document<"u"?document.body:null,menuPosition:"fixed",styles:{menuPortal:w=>({...w,zIndex:99999})}})}const ga=e=>{const t=st(),{items:n,hasMore:i,isLoadingMore:r,loadMore:o,loadMoreError:l,resetWithPage:a}=da(),u=A.useRef(),s=ut.useQuery({queryKey:["components",e],queryFn:()=>t.components.list({limit:50,...e})});return A.useEffect(()=>{const c=JSON.stringify(e??null),p=u.current!==s.data;!s.data||!ca(s.data)||!p||(u.current=s.data,a(s.data,c))},[s.data,e,a]),{...s,components:n,isLoadingMore:r,hasMore:i,loadMore:o,loadMoreError:l}};function Vh({app:e,componentType:t,value:n,onChange:i}){const r=A.useId(),{isLoading:o,isLoadingMore:l,hasMore:a,loadMore:u,components:s}=ga({app:e==null?void 0:e.nameSlug,componentType:t}),{MenuList:c}=Lt,p=A.useRef(l);p.current=l;const f=A.useMemo(()=>(s==null?void 0:s.find(h=>h.key===(n==null?void 0:n.key)))||null,[s,n==null?void 0:n.key]),d=A.useCallback(()=>{a&&!l&&u()},[a,l,u]),y=A.useMemo(()=>({MenuList:h=>G.jsxs(c,{...h,children:[h.children,p.current&&G.jsxs("div",{style:{padding:"8px 12px",textAlign:"center",color:"#666",fontSize:"14px"},children:["Loading more ",t==="action"?"actions":"triggers","..."]})]}),IndicatorSeparator:()=>null}),[t,c]);return G.jsx(On,{instanceId:r,className:"react-select-container text-sm",classNamePrefix:"react-select",options:s,getOptionLabel:h=>h.name||h.key,getOptionValue:h=>h.key,value:f,onChange:h=>i==null?void 0:i(h||void 0),onMenuScrollToBottom:d,isLoading:o,components:y,menuPortalTarget:typeof document<"u"?document.body:null,menuPosition:"fixed",styles:{menuPortal:h=>({...h,zIndex:99999})}})}const Oh={buildTime:new Date().toISOString(),source:"local-development"};Q.Alert=yn,Q.ComponentForm=ua,Q.ComponentFormContainer=Fh,Q.Control=ta,Q.ControlAny=Gh,Q.ControlApp=jl,Q.ControlBoolean=ql,Q.ControlInput=Ql,Q.ControlSelect=Mn,Q.ControlSql=Kl,Q.ControlSubmit=la,Q.CustomizationContext=Ln,Q.CustomizeProvider=Ih,Q.DEBUG_INFO=Oh,Q.Description=Ml,Q.ErrorBoundary=oa,Q.Errors=Rl,Q.Field=na,Q.FormContext=Gr,Q.FormContextProvider=No,Q.FormFieldContext=Yr,Q.FrontendClientProvider=cd,Q.InternalComponentForm=aa,Q.InternalField=ia,Q.Label=Xl,Q.OptionalFieldButton=Hl,Q.RemoteOptionsContainer=ea,Q.SelectApp=Th,Q.SelectComponent=Vh,Q.defaultComponents=Wl,Q.defaultTheme=Nn,Q.getReactSelectTheme=Ll,Q.mergeTheme=Dn,Q.skippablePropTypes=Ut,Q.unstyledTheme=Dl,Q.useAccounts=Zl,Q.useApp=ra,Q.useApps=fa,Q.useComponent=sa,Q.useComponents=ga,Q.useCustomize=Me,Q.useFormContext=qt,Q.useFormFieldContext=ot,Q.useFrontendClient=st,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})});