@pipedream/connect-react 1.0.0-preview.27 → 1.0.0-preview.29
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.
- package/README.md +5 -0
- package/dist/connect-react.es.js +4901 -4787
- package/dist/connect-react.umd.d.ts +11 -1
- package/dist/connect-react.umd.js +28 -27
- package/package.json +2 -2
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
(function(ue,q){typeof exports=="object"&&typeof module<"u"?q(exports,require("react/jsx-runtime"),require("react"),require("@emotion/react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@emotion/react","react-dom"],q):(ue=typeof globalThis<"u"?globalThis:ue||self,q(ue["connect-react"]={},ue["react/jsx-runtime"],ue.React,ue["@emotion/react"],ue.ReactDOM))})(this,function(ue,q,Z,ce,Xs){"use strict";var pm=ue=>{throw TypeError(ue)};var Tc=(ue,q,Z)=>q.has(ue)||pm("Cannot "+Z);var O=(ue,q,Z)=>(Tc(ue,q,"read from private field"),Z?Z.call(ue):q.get(ue)),we=(ue,q,Z)=>q.has(ue)?pm("Cannot add the same private member more than once"):q instanceof WeakSet?q.add(ue):q.set(ue,Z),ae=(ue,q,Z,ce)=>(Tc(ue,q,"write to private field"),ce?ce.call(ue,Z):q.set(ue,Z),Z),Ye=(ue,q,Z)=>(Tc(ue,q,"access private method"),Z);var Ws=(ue,q,Z,ce)=>({set _(Xs){ae(ue,q,Xs,Z)},get _(){return O(ue,q,ce)}});var zr,yr,Ii,op,Ci,Ir,xi,sp,Zr,lp,Ai,wi,bn,_t,yu,Yr,Bn,mr,ap,Xn,cp,Hn,Lt,Jr,zn,Dr,fp,un,Iu,dp,ht,Cr,xr,Si,Ei,Ar,Fi,Pi,hp,Jt,Xe,Cu,Dt,Ur,Ti,wr,Zn,xu,Oi,Bi,jr,Qr,Sr,_i,Qe,ju,Oc,Bc,_c,Gc,Rc,kc,Lc,gm,pp;function mm(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Fe=mm(Z);typeof document>"u"&&(globalThis.document={createElement:()=>{}});function lP(){}function aP(){}function bm(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const vm=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ym=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Im={};function Dc(e,t){return(Im.jsx?ym:vm).test(e)}const Cm=/[ \t\n\f\r]/g;function xm(e){return typeof e=="object"?e.type==="text"?Mc(e.value):!1:Mc(e)}function Mc(e){return e.replace(Cm,"")===""}class ru{constructor(t,r,u){this.property=t,this.normal=r,u&&(this.space=u)}}ru.prototype.property={},ru.prototype.normal={},ru.prototype.space=null;function Nc(e,t){const r={},u={};let o=-1;for(;++o<e.length;)Object.assign(r,e[o].property),Object.assign(u,e[o].normal);return new ru(r,u,t)}function Hs(e){return e.toLowerCase()}class pn{constructor(t,r){this.property=t,this.attribute=r}}pn.prototype.space=null,pn.prototype.boolean=!1,pn.prototype.booleanish=!1,pn.prototype.overloadedBoolean=!1,pn.prototype.number=!1,pn.prototype.commaSeparated=!1,pn.prototype.spaceSeparated=!1,pn.prototype.commaOrSpaceSeparated=!1,pn.prototype.mustUseProperty=!1,pn.prototype.defined=!1;let Am=0;const Oe=Mr(),vt=Mr(),Vc=Mr(),K=Mr(),ut=Mr(),di=Mr(),nn=Mr();function Mr(){return 2**++Am}const zs=Object.freeze(Object.defineProperty({__proto__:null,boolean:Oe,booleanish:vt,commaOrSpaceSeparated:nn,commaSeparated:di,number:K,overloadedBoolean:Vc,spaceSeparated:ut},Symbol.toStringTag,{value:"Module"})),Zs=Object.keys(zs);class Ys extends pn{constructor(t,r,u,o){let l=-1;if(super(t,r),Wc(this,"space",o),typeof u=="number")for(;++l<Zs.length;){const a=Zs[l];Wc(this,Zs[l],(u&zs[a])===zs[a])}}}Ys.prototype.defined=!0;function Wc(e,t,r){r&&(e[t]=r)}const wm={}.hasOwnProperty;function hi(e){const t={},r={};let u;for(u in e.properties)if(wm.call(e.properties,u)){const o=e.properties[u],l=new Ys(u,e.transform(e.attributes||{},u),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(u)&&(l.mustUseProperty=!0),t[u]=l,r[Hs(u)]=u,r[Hs(l.attribute)]=u}return new ru(t,r,e.space)}const Xc=hi({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}}),Hc=hi({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function zc(e,t){return t in e?e[t]:t}function Zc(e,t){return zc(e,t.toLowerCase())}const Yc=hi({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Zc,properties:{xmlns:null,xmlnsXLink:null}}),Jc=hi({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:vt,ariaAutoComplete:null,ariaBusy:vt,ariaChecked:vt,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:ut,ariaCurrent:null,ariaDescribedBy:ut,ariaDetails:null,ariaDisabled:vt,ariaDropEffect:ut,ariaErrorMessage:null,ariaExpanded:vt,ariaFlowTo:ut,ariaGrabbed:vt,ariaHasPopup:null,ariaHidden:vt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ut,ariaLevel:K,ariaLive:null,ariaModal:vt,ariaMultiLine:vt,ariaMultiSelectable:vt,ariaOrientation:null,ariaOwns:ut,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:vt,ariaReadOnly:vt,ariaRelevant:null,ariaRequired:vt,ariaRoleDescription:ut,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:vt,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null}}),Sm=hi({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Zc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:di,acceptCharset:ut,accessKey:ut,action:null,allow:null,allowFullScreen:Oe,allowPaymentRequest:Oe,allowUserMedia:Oe,alt:null,as:null,async:Oe,autoCapitalize:null,autoComplete:ut,autoFocus:Oe,autoPlay:Oe,blocking:ut,capture:null,charSet:null,checked:Oe,cite:null,className:ut,cols:K,colSpan:null,content:null,contentEditable:vt,controls:Oe,controlsList:ut,coords:K|di,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Oe,defer:Oe,dir:null,dirName:null,disabled:Oe,download:Vc,draggable:vt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Oe,formTarget:null,headers:ut,height:K,hidden:Oe,high:K,href:null,hrefLang:null,htmlFor:ut,httpEquiv:ut,id:null,imageSizes:null,imageSrcSet:null,inert:Oe,inputMode:null,integrity:null,is:null,isMap:Oe,itemId:null,itemProp:ut,itemRef:ut,itemScope:Oe,itemType:ut,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Oe,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:Oe,muted:Oe,name:null,nonce:null,noModule:Oe,noValidate:Oe,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:Oe,optimum:K,pattern:null,ping:ut,placeholder:null,playsInline:Oe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Oe,referrerPolicy:null,rel:ut,required:Oe,reversed:Oe,rows:K,rowSpan:K,sandbox:ut,scope:null,scoped:Oe,seamless:Oe,selected:Oe,shadowRootClonable:Oe,shadowRootDelegatesFocus:Oe,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:vt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:Oe,useMap:null,value:vt,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ut,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Oe,declare:Oe,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:Oe,noHref:Oe,noShade:Oe,noWrap:Oe,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:vt,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Oe,disableRemotePlayback:Oe,prefix:null,property:null,results:K,security:null,unselectable:null}}),Em=hi({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:zc,properties:{about:nn,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:ut,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:Oe,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,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:di,g2:di,glyphName:di,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:nn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,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:K,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:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ut,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:nn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:nn,rev:nn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:nn,requiredFeatures:nn,requiredFonts:nn,requiredFormats:nn,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:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:nn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:nn,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:nn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Fm=/^data[-\w.:]+$/i,Uc=/-[a-z]/g,Pm=/[A-Z]/g;function Tm(e,t){const r=Hs(t);let u=t,o=pn;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Fm.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(Uc,Bm);u="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!Uc.test(l)){let a=l.replace(Pm,Om);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}o=Ys}return new o(u,t)}function Om(e){return"-"+e.toLowerCase()}function Bm(e){return e.charAt(1).toUpperCase()}const _m={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"},Gm=Nc([Hc,Xc,Yc,Jc,Sm],"html"),Js=Nc([Hc,Xc,Yc,Jc,Em],"svg");function Rm(e){return e.join(" ").trim()}var Tn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Us(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jc={},Qc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,km=/\n/g,Lm=/^\s*/,Dm=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Mm=/^:\s*/,Nm=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Vm=/^[;\s]*/,Wm=/^\s+|\s+$/g,Xm=`
|
|
2
|
-
`,qc="/",$c="*",Nr="",Hm="comment",zm="declaration",Zm=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,u=1;function o(E){var A=E.match(km);A&&(r+=A.length);var F=E.lastIndexOf(Xm);u=~F?E.length-F:u+E.length}function l(){var E={line:r,column:u};return function(A){return A.position=new a(E),h(),A}}function a(E){this.start=E,this.end={line:r,column:u},this.source=t.source}a.prototype.content=e;function c(E){var A=new Error(t.source+":"+r+":"+u+": "+E);if(A.reason=E,A.filename=t.source,A.line=r,A.column=u,A.source=e,!t.silent)throw A}function f(E){var A=E.exec(e);if(A){var F=A[0];return o(F),e=e.slice(F.length),A}}function h(){f(Lm)}function p(E){var A;for(E=E||[];A=g();)A!==!1&&E.push(A);return E}function g(){var E=l();if(!(qc!=e.charAt(0)||$c!=e.charAt(1))){for(var A=2;Nr!=e.charAt(A)&&($c!=e.charAt(A)||qc!=e.charAt(A+1));)++A;if(A+=2,Nr===e.charAt(A-1))return c("End of comment missing");var F=e.slice(2,A-2);return u+=2,o(F),e=e.slice(A),u+=2,E({type:Hm,comment:F})}}function I(){var E=l(),A=f(Dm);if(A){if(g(),!f(Mm))return c("property missing ':'");var F=f(Nm),P=E({type:zm,property:Kc(A[0].replace(Qc,Nr)),value:F?Kc(F[0].replace(Qc,Nr)):Nr});return f(Vm),P}}function b(){var E=[];p(E);for(var A;A=I();)A!==!1&&(E.push(A),p(E));return E}return h(),b()};function Kc(e){return e?e.replace(Wm,Nr):Nr}var Ym=Tn&&Tn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jc,"__esModule",{value:!0});var ef=jc.default=Um,Jm=Ym(Zm);function Um(e,t){var r=null;if(!e||typeof e!="string")return r;var u=(0,Jm.default)(e),o=typeof t=="function";return u.forEach(function(l){if(l.type==="declaration"){var a=l.property,c=l.value;o?t(a,c,l):c&&(r=r||{},r[a]=c)}}),r}const jm=ef.default||ef,tf=nf("end"),js=nf("start");function nf(e){return t;function t(r){const u=r&&r.position&&r.position[e]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function Qm(e){const t=js(e),r=tf(e);if(t&&r)return{start:t,end:r}}function iu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?rf(e.position):"start"in e||"end"in e?rf(e):"line"in e||"column"in e?Qs(e):""}function Qs(e){return uf(e&&e.line)+":"+uf(e&&e.column)}function rf(e){return Qs(e&&e.start)+"-"+Qs(e&&e.end)}function uf(e){return e&&typeof e=="number"?e:1}class Bt extends Error{constructor(t,r,u){super(),typeof r=="string"&&(u=r,r=void 0);let o="",l={},a=!1;if(r&&("line"in r&&"column"in r?l={place:r}:"start"in r&&"end"in r?l={place:r}:"type"in r?l={ancestors:[r],place:r.position}:l={...r}),typeof t=="string"?o=t:!l.cause&&t&&(a=!0,o=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof u=="string"){const f=u.indexOf(":");f===-1?l.ruleId=u:(l.source=u.slice(0,f),l.ruleId=u.slice(f+1))}if(!l.place&&l.ancestors&&l.ancestors){const f=l.ancestors[l.ancestors.length-1];f&&(l.place=f.position)}const c=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file,this.message=o,this.line=c?c.line:void 0,this.name=iu(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=a&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}Bt.prototype.file="",Bt.prototype.name="",Bt.prototype.reason="",Bt.prototype.message="",Bt.prototype.stack="",Bt.prototype.column=void 0,Bt.prototype.line=void 0,Bt.prototype.ancestors=void 0,Bt.prototype.cause=void 0,Bt.prototype.fatal=void 0,Bt.prototype.place=void 0,Bt.prototype.ruleId=void 0,Bt.prototype.source=void 0;const qs={}.hasOwnProperty,qm=new Map,$m=/[A-Z]/g,Km=/-([a-z])/g,eb=new Set(["table","tbody","thead","tfoot","tr"]),tb=new Set(["td","th"]),of="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function nb(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let u;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=cb(r,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");u=ab(r,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:u,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Js:Gm,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=sf(o,e,void 0);return l&&typeof l!="string"?l:o.create(e,o.Fragment,{children:l||void 0},void 0)}function sf(e,t,r){if(t.type==="element")return rb(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ib(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return ob(e,t,r);if(t.type==="mdxjsEsm")return ub(e,t);if(t.type==="root")return sb(e,t,r);if(t.type==="text")return lb(e,t)}function rb(e,t,r){const u=e.schema;let o=u;t.tagName.toLowerCase()==="svg"&&u.space==="html"&&(o=Js,e.schema=o),e.ancestors.push(t);const l=af(e,t.tagName,!1),a=fb(e,t);let c=Ks(e,t);return eb.has(t.tagName)&&(c=c.filter(function(f){return typeof f=="string"?!xm(f):!0})),lf(e,a,l,t),$s(a,c),e.ancestors.pop(),e.schema=u,e.create(t,l,a,r)}function ib(e,t){if(t.data&&t.data.estree&&e.evaluater){const u=t.data.estree.body[0];return u.type,e.evaluater.evaluateExpression(u.expression)}uu(e,t.position)}function ub(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);uu(e,t.position)}function ob(e,t,r){const u=e.schema;let o=u;t.name==="svg"&&u.space==="html"&&(o=Js,e.schema=o),e.ancestors.push(t);const l=t.name===null?e.Fragment:af(e,t.name,!0),a=db(e,t),c=Ks(e,t);return lf(e,a,l,t),$s(a,c),e.ancestors.pop(),e.schema=u,e.create(t,l,a,r)}function sb(e,t,r){const u={};return $s(u,Ks(e,t)),e.create(t,e.Fragment,u,r)}function lb(e,t){return t.value}function lf(e,t,r,u){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=u)}function $s(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function ab(e,t,r){return u;function u(o,l,a,c){const h=Array.isArray(a.children)?r:t;return c?h(l,a,c):h(l,a)}}function cb(e,t){return r;function r(u,o,l,a){const c=Array.isArray(l.children),f=js(u);return t(o,l,a,c,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function fb(e,t){const r={};let u,o;for(o in t.properties)if(o!=="children"&&qs.call(t.properties,o)){const l=hb(e,o,t.properties[o]);if(l){const[a,c]=l;e.tableCellAlignToStyle&&a==="align"&&typeof c=="string"&&tb.has(t.tagName)?u=c:r[a]=c}}if(u){const l=r.style||(r.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return r}function db(e,t){const r={};for(const u of t.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&e.evaluater){const l=u.data.estree.body[0];l.type;const a=l.expression;a.type;const c=a.properties[0];c.type,Object.assign(r,e.evaluater.evaluateExpression(c.argument))}else uu(e,t.position);else{const o=u.name;let l;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&e.evaluater){const c=u.value.data.estree.body[0];c.type,l=e.evaluater.evaluateExpression(c.expression)}else uu(e,t.position);else l=u.value===null?!0:u.value;r[o]=l}return r}function Ks(e,t){const r=[];let u=-1;const o=e.passKeys?new Map:qm;for(;++u<t.children.length;){const l=t.children[u];let a;if(e.passKeys){const f=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(f){const h=o.get(f)||0;a=f+"-"+h,o.set(f,h+1)}}const c=sf(e,l,a);c!==void 0&&r.push(c)}return r}function hb(e,t,r){const u=Tm(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=u.commaSeparated?bm(r):Rm(r)),u.property==="style"){let o=typeof r=="object"?r:pb(e,String(r));return e.stylePropertyNameCase==="css"&&(o=gb(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&u.space?_m[u.property]||u.property:u.attribute,r]}}function pb(e,t){const r={};try{jm(t,u)}catch(o){if(!e.ignoreInvalidStyle){const l=o,a=new Bt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=of+"#cannot-parse-style-attribute",a}}return r;function u(o,l){let a=o;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(Km,bb)),r[a]=l}}function af(e,t,r){let u;if(!r)u={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let l=-1,a;for(;++l<o.length;){const c=Dc(o[l])?{type:"Identifier",name:o[l]}:{type:"Literal",value:o[l]};a=a?{type:"MemberExpression",object:a,property:c,computed:!!(l&&c.type==="Literal"),optional:!1}:c}u=a}else u=Dc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(u.type==="Literal"){const o=u.value;return qs.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(u);uu(e)}function uu(e,t){const r=new Bt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=of+"#cannot-handle-mdx-estrees-without-createevaluater",r}function gb(e){const t={};let r;for(r in e)qs.call(e,r)&&(t[mb(r)]=e[r]);return t}function mb(e){let t=e.replace($m,vb);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function bb(e,t){return t.toUpperCase()}function vb(e){return"-"+e.toLowerCase()}const el={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"]},yb={};function Ib(e,t){const r=yb,u=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,o=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return cf(e,u,o)}function cf(e,t,r){if(Cb(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ff(e.children,t,r)}return Array.isArray(e)?ff(e,t,r):""}function ff(e,t,r){const u=[];let o=-1;for(;++o<e.length;)u[o]=cf(e[o],t,r);return u.join("")}function Cb(e){return!!(e&&typeof e=="object")}const df=document.createElement("i");function tl(e){const t="&"+e+";";df.innerHTML=t;const r=df.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function Mn(e,t,r,u){const o=e.length;let l=0,a;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,r=r>0?r:0,u.length<1e4)a=Array.from(u),a.unshift(t,r),e.splice(...a);else for(r&&e.splice(t,r);l<u.length;)a=u.slice(l,l+1e4),a.unshift(t,0),e.splice(...a),l+=1e4,t+=1e4}function gn(e,t){return e.length>0?(Mn(e,e.length,0,t),e):t}const hf={}.hasOwnProperty;function xb(e){const t={};let r=-1;for(;++r<e.length;)Ab(t,e[r]);return t}function Ab(e,t){let r;for(r in t){const o=(hf.call(e,r)?e[r]:void 0)||(e[r]={}),l=t[r];let a;if(l)for(a in l){hf.call(o,a)||(o[a]=[]);const c=l[a];wb(o[a],Array.isArray(c)?c:c?[c]:[])}}}function wb(e,t){let r=-1;const u=[];for(;++r<t.length;)(t[r].add==="after"?e:u).push(t[r]);Mn(e,0,0,u)}function pf(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function pi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Nn=br(/[A-Za-z]/),rn=br(/[\dA-Za-z]/),Sb=br(/[#-'*+\--9=?A-Z^-~]/);function nl(e){return e!==null&&(e<32||e===127)}const rl=br(/\d/),Eb=br(/[\dA-Fa-f]/),Fb=br(/[!-/:-@[-`{-~]/);function Ae(e){return e!==null&&e<-2}function zt(e){return e!==null&&(e<0||e===32)}function Ue(e){return e===-2||e===-1||e===32}const Pb=br(new RegExp("\\p{P}|\\p{S}","u")),Tb=br(/\s/);function br(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function gi(e){const t=[];let r=-1,u=0,o=0;for(;++r<e.length;){const l=e.charCodeAt(r);let a="";if(l===37&&rn(e.charCodeAt(r+1))&&rn(e.charCodeAt(r+2)))o=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(a=String.fromCharCode(l));else if(l>55295&&l<57344){const c=e.charCodeAt(r+1);l<56320&&c>56319&&c<57344?(a=String.fromCharCode(l,c),o=1):a="�"}else a=String.fromCharCode(l);a&&(t.push(e.slice(u,r),encodeURIComponent(a)),u=r+o+1,a=""),o&&(r+=o,o=0)}return t.join("")+e.slice(u)}function ot(e,t,r,u){const o=u?u-1:Number.POSITIVE_INFINITY;let l=0;return a;function a(f){return Ue(f)?(e.enter(r),c(f)):t(f)}function c(f){return Ue(f)&&l++<o?(e.consume(f),c):(e.exit(r),t(f))}}const Ob={tokenize:Bb};function Bb(e){const t=e.attempt(this.parser.constructs.contentInitial,u,o);let r;return t;function u(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),ot(e,t,"linePrefix")}function o(c){return e.enter("paragraph"),l(c)}function l(c){const f=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=f),r=f,a(c)}function a(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return Ae(c)?(e.consume(c),e.exit("chunkText"),l):(e.consume(c),a)}}const _b={tokenize:Gb},gf={tokenize:Rb};function Gb(e){const t=this,r=[];let u=0,o,l,a;return c;function c(k){if(u<r.length){const L=r[u];return t.containerState=L[1],e.attempt(L[0].continuation,f,h)(k)}return h(k)}function f(k){if(u++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&D();const L=t.events.length;let V=L,R;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){R=t.events[V][1].end;break}P(u);let J=L;for(;J<t.events.length;)t.events[J][1].end={...R},J++;return Mn(t.events,V+1,0,t.events.slice(L)),t.events.length=J,h(k)}return c(k)}function h(k){if(u===r.length){if(!o)return I(k);if(o.currentConstruct&&o.currentConstruct.concrete)return E(k);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(gf,p,g)(k)}function p(k){return o&&D(),P(u),I(k)}function g(k){return t.parser.lazy[t.now().line]=u!==r.length,a=t.now().offset,E(k)}function I(k){return t.containerState={},e.attempt(gf,b,E)(k)}function b(k){return u++,r.push([t.currentConstruct,t.containerState]),I(k)}function E(k){if(k===null){o&&D(),P(0),e.consume(k);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:l}),A(k)}function A(k){if(k===null){F(e.exit("chunkFlow"),!0),P(0),e.consume(k);return}return Ae(k)?(e.consume(k),F(e.exit("chunkFlow")),u=0,t.interrupt=void 0,c):(e.consume(k),A)}function F(k,L){const V=t.sliceStream(k);if(L&&V.push(null),k.previous=l,l&&(l.next=k),l=k,o.defineSkip(k.start),o.write(V),t.parser.lazy[k.start.line]){let R=o.events.length;for(;R--;)if(o.events[R][1].start.offset<a&&(!o.events[R][1].end||o.events[R][1].end.offset>a))return;const J=t.events.length;let N=J,j,ne;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){if(j){ne=t.events[N][1].end;break}j=!0}for(P(u),R=J;R<t.events.length;)t.events[R][1].end={...ne},R++;Mn(t.events,N+1,0,t.events.slice(J)),t.events.length=R}}function P(k){let L=r.length;for(;L-- >k;){const V=r[L];t.containerState=V[1],V[0].exit.call(t,e)}r.length=k}function D(){o.write([null]),l=void 0,o=void 0,t.containerState._closeFlow=void 0}}function Rb(e,t,r){return ot(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function mf(e){if(e===null||zt(e)||Tb(e))return 1;if(Pb(e))return 2}function il(e,t,r){const u=[];let o=-1;for(;++o<e.length;){const l=e[o].resolveAll;l&&!u.includes(l)&&(t=l(t,r),u.push(l))}return t}const ul={name:"attention",resolveAll:kb,tokenize:Lb};function kb(e,t){let r=-1,u,o,l,a,c,f,h,p;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(u=r;u--;)if(e[u][0]==="exit"&&e[u][1].type==="attentionSequence"&&e[u][1]._open&&t.sliceSerialize(e[u][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[u][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[u][1].end.offset-e[u][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;f=e[u][1].end.offset-e[u][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const g={...e[u][1].end},I={...e[r][1].start};bf(g,-f),bf(I,f),a={type:f>1?"strongSequence":"emphasisSequence",start:g,end:{...e[u][1].end}},c={type:f>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:I},l={type:f>1?"strongText":"emphasisText",start:{...e[u][1].end},end:{...e[r][1].start}},o={type:f>1?"strong":"emphasis",start:{...a.start},end:{...c.end}},e[u][1].end={...a.start},e[r][1].start={...c.end},h=[],e[u][1].end.offset-e[u][1].start.offset&&(h=gn(h,[["enter",e[u][1],t],["exit",e[u][1],t]])),h=gn(h,[["enter",o,t],["enter",a,t],["exit",a,t],["enter",l,t]]),h=gn(h,il(t.parser.constructs.insideSpan.null,e.slice(u+1,r),t)),h=gn(h,[["exit",l,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[r][1].end.offset-e[r][1].start.offset?(p=2,h=gn(h,[["enter",e[r][1],t],["exit",e[r][1],t]])):p=0,Mn(e,u-1,r-u+3,h),r=u+h.length-p-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Lb(e,t){const r=this.parser.constructs.attentionMarkers.null,u=this.previous,o=mf(u);let l;return a;function a(f){return l=f,e.enter("attentionSequence"),c(f)}function c(f){if(f===l)return e.consume(f),c;const h=e.exit("attentionSequence"),p=mf(f),g=!p||p===2&&o||r.includes(f),I=!o||o===2&&p||r.includes(u);return h._open=!!(l===42?g:g&&(o||!I)),h._close=!!(l===42?I:I&&(p||!g)),t(f)}}function bf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Db={name:"autolink",tokenize:Mb};function Mb(e,t,r){let u=0;return o;function o(b){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(b){return Nn(b)?(e.consume(b),a):b===64?r(b):h(b)}function a(b){return b===43||b===45||b===46||rn(b)?(u=1,c(b)):h(b)}function c(b){return b===58?(e.consume(b),u=0,f):(b===43||b===45||b===46||rn(b))&&u++<32?(e.consume(b),c):(u=0,h(b))}function f(b){return b===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):b===null||b===32||b===60||nl(b)?r(b):(e.consume(b),f)}function h(b){return b===64?(e.consume(b),p):Sb(b)?(e.consume(b),h):r(b)}function p(b){return rn(b)?g(b):r(b)}function g(b){return b===46?(e.consume(b),u=0,p):b===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):I(b)}function I(b){if((b===45||rn(b))&&u++<63){const E=b===45?I:g;return e.consume(b),E}return r(b)}}const Qu={partial:!0,tokenize:Nb};function Nb(e,t,r){return u;function u(l){return Ue(l)?ot(e,o,"linePrefix")(l):o(l)}function o(l){return l===null||Ae(l)?t(l):r(l)}}const vf={continuation:{tokenize:Wb},exit:Xb,name:"blockQuote",tokenize:Vb};function Vb(e,t,r){const u=this;return o;function o(a){if(a===62){const c=u.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),l}return r(a)}function l(a){return Ue(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Wb(e,t,r){const u=this;return o;function o(a){return Ue(a)?ot(e,l,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):l(a)}function l(a){return e.attempt(vf,t,r)(a)}}function Xb(e){e.exit("blockQuote")}const yf={name:"characterEscape",tokenize:Hb};function Hb(e,t,r){return u;function u(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),o}function o(l){return Fb(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(l)}}const If={name:"characterReference",tokenize:zb};function zb(e,t,r){const u=this;let o=0,l,a;return c;function c(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),f}function f(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),l=31,a=rn,p(g))}function h(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,a=Eb,p):(e.enter("characterReferenceValue"),l=7,a=rl,p(g))}function p(g){if(g===59&&o){const I=e.exit("characterReferenceValue");return a===rn&&!tl(u.sliceSerialize(I))?r(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(g)&&o++<l?(e.consume(g),p):r(g)}}const Cf={partial:!0,tokenize:Yb},xf={concrete:!0,name:"codeFenced",tokenize:Zb};function Zb(e,t,r){const u=this,o={partial:!0,tokenize:V};let l=0,a=0,c;return f;function f(R){return h(R)}function h(R){const J=u.events[u.events.length-1];return l=J&&J[1].type==="linePrefix"?J[2].sliceSerialize(J[1],!0).length:0,c=R,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(R)}function p(R){return R===c?(a++,e.consume(R),p):a<3?r(R):(e.exit("codeFencedFenceSequence"),Ue(R)?ot(e,g,"whitespace")(R):g(R))}function g(R){return R===null||Ae(R)?(e.exit("codeFencedFence"),u.interrupt?t(R):e.check(Cf,A,L)(R)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),I(R))}function I(R){return R===null||Ae(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(R)):Ue(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ot(e,b,"whitespace")(R)):R===96&&R===c?r(R):(e.consume(R),I)}function b(R){return R===null||Ae(R)?g(R):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(R))}function E(R){return R===null||Ae(R)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(R)):R===96&&R===c?r(R):(e.consume(R),E)}function A(R){return e.attempt(o,L,F)(R)}function F(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),P}function P(R){return l>0&&Ue(R)?ot(e,D,"linePrefix",l+1)(R):D(R)}function D(R){return R===null||Ae(R)?e.check(Cf,A,L)(R):(e.enter("codeFlowValue"),k(R))}function k(R){return R===null||Ae(R)?(e.exit("codeFlowValue"),D(R)):(e.consume(R),k)}function L(R){return e.exit("codeFenced"),t(R)}function V(R,J,N){let j=0;return ne;function ne(ie){return R.enter("lineEnding"),R.consume(ie),R.exit("lineEnding"),$}function $(ie){return R.enter("codeFencedFence"),Ue(ie)?ot(R,Q,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ie):Q(ie)}function Q(ie){return ie===c?(R.enter("codeFencedFenceSequence"),ve(ie)):N(ie)}function ve(ie){return ie===c?(j++,R.consume(ie),ve):j>=a?(R.exit("codeFencedFenceSequence"),Ue(ie)?ot(R,Be,"whitespace")(ie):Be(ie)):N(ie)}function Be(ie){return ie===null||Ae(ie)?(R.exit("codeFencedFence"),J(ie)):N(ie)}}}function Yb(e,t,r){const u=this;return o;function o(a){return a===null?r(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l)}function l(a){return u.parser.lazy[u.now().line]?r(a):t(a)}}const ol={name:"codeIndented",tokenize:Ub},Jb={partial:!0,tokenize:jb};function Ub(e,t,r){const u=this;return o;function o(h){return e.enter("codeIndented"),ot(e,l,"linePrefix",5)(h)}function l(h){const p=u.events[u.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?a(h):r(h)}function a(h){return h===null?f(h):Ae(h)?e.attempt(Jb,a,f)(h):(e.enter("codeFlowValue"),c(h))}function c(h){return h===null||Ae(h)?(e.exit("codeFlowValue"),a(h)):(e.consume(h),c)}function f(h){return e.exit("codeIndented"),t(h)}}function jb(e,t,r){const u=this;return o;function o(a){return u.parser.lazy[u.now().line]?r(a):Ae(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):ot(e,l,"linePrefix",5)(a)}function l(a){const c=u.events[u.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(a):Ae(a)?o(a):r(a)}}const Qb={name:"codeText",previous:$b,resolve:qb,tokenize:Kb};function qb(e){let t=e.length-4,r=3,u,o;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(u=r;++u<t;)if(e[u][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(u=r-1,t++;++u<=t;)o===void 0?u!==t&&e[u][1].type!=="lineEnding"&&(o=u):(u===t||e[u][1].type==="lineEnding")&&(e[o][1].type="codeTextData",u!==o+2&&(e[o][1].end=e[u-1][1].end,e.splice(o+2,u-o-2),t-=u-o-2,u=o+2),o=void 0);return e}function $b(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Kb(e,t,r){let u=0,o,l;return a;function a(g){return e.enter("codeText"),e.enter("codeTextSequence"),c(g)}function c(g){return g===96?(e.consume(g),u++,c):(e.exit("codeTextSequence"),f(g))}function f(g){return g===null?r(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),f):g===96?(l=e.enter("codeTextSequence"),o=0,p(g)):Ae(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(g))}function h(g){return g===null||g===32||g===96||Ae(g)?(e.exit("codeTextData"),f(g)):(e.consume(g),h)}function p(g){return g===96?(e.consume(g),o++,p):o===u?(e.exit("codeTextSequence"),e.exit("codeText"),t(g)):(l.type="codeTextData",h(g))}}class e0{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,r){const u=r??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(t,u):t>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(t,r,u){const o=r||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return u&&ou(this.left,u),l.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),ou(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ou(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 r=this.left.splice(t,Number.POSITIVE_INFINITY);ou(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ou(this.left,r.reverse())}}}function ou(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function Af(e){const t={};let r=-1,u,o,l,a,c,f,h;const p=new e0(e);for(;++r<p.length;){for(;r in t;)r=t[r];if(u=p.get(r),r&&u[1].type==="chunkFlow"&&p.get(r-1)[1].type==="listItemPrefix"&&(f=u[1]._tokenizer.events,l=0,l<f.length&&f[l][1].type==="lineEndingBlank"&&(l+=2),l<f.length&&f[l][1].type==="content"))for(;++l<f.length&&f[l][1].type!=="content";)f[l][1].type==="chunkText"&&(f[l][1]._isInFirstContentOfListItem=!0,l++);if(u[0]==="enter")u[1].contentType&&(Object.assign(t,t0(p,r)),r=t[r],h=!0);else if(u[1]._container){for(l=r,o=void 0;l--&&(a=p.get(l),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(o&&(p.get(o)[1].type="lineEndingBlank"),a[1].type="lineEnding",o=l);o&&(u[1].end={...p.get(o)[1].start},c=p.slice(o,r),c.unshift(u),p.splice(o,r-o+1,c))}}return Mn(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!h}function t0(e,t){const r=e.get(t)[1],u=e.get(t)[2];let o=t-1;const l=[],a=r._tokenizer||u.parser[r.contentType](r.start),c=a.events,f=[],h={};let p,g,I=-1,b=r,E=0,A=0;const F=[A];for(;b;){for(;e.get(++o)[1]!==b;);l.push(o),b._tokenizer||(p=u.sliceStream(b),b.next||p.push(null),g&&a.defineSkip(b.start),b._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(p),b._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),g=b,b=b.next}for(b=r;++I<c.length;)c[I][0]==="exit"&&c[I-1][0]==="enter"&&c[I][1].type===c[I-1][1].type&&c[I][1].start.line!==c[I][1].end.line&&(A=I+1,F.push(A),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(a.events=[],b?(b._tokenizer=void 0,b.previous=void 0):F.pop(),I=F.length;I--;){const P=c.slice(F[I],F[I+1]),D=l.pop();f.push([D,D+P.length-1]),e.splice(D,2,P)}for(f.reverse(),I=-1;++I<f.length;)h[E+f[I][0]]=E+f[I][1],E+=f[I][1]-f[I][0]-1;return h}const n0={resolve:i0,tokenize:u0},r0={partial:!0,tokenize:o0};function i0(e){return Af(e),e}function u0(e,t){let r;return u;function u(c){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),o(c)}function o(c){return c===null?l(c):Ae(c)?e.check(r0,a,l)(c):(e.consume(c),o)}function l(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function a(c){return e.consume(c),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,o}}function o0(e,t,r){const u=this;return o;function o(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ot(e,l,"linePrefix")}function l(a){if(a===null||Ae(a))return r(a);const c=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(a):e.interrupt(u.parser.constructs.flow,r,t)(a)}}function wf(e,t,r,u,o,l,a,c,f){const h=f||Number.POSITIVE_INFINITY;let p=0;return g;function g(P){return P===60?(e.enter(u),e.enter(o),e.enter(l),e.consume(P),e.exit(l),I):P===null||P===32||P===41||nl(P)?r(P):(e.enter(u),e.enter(a),e.enter(c),e.enter("chunkString",{contentType:"string"}),A(P))}function I(P){return P===62?(e.enter(l),e.consume(P),e.exit(l),e.exit(o),e.exit(u),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),b(P))}function b(P){return P===62?(e.exit("chunkString"),e.exit(c),I(P)):P===null||P===60||Ae(P)?r(P):(e.consume(P),P===92?E:b)}function E(P){return P===60||P===62||P===92?(e.consume(P),b):b(P)}function A(P){return!p&&(P===null||P===41||zt(P))?(e.exit("chunkString"),e.exit(c),e.exit(a),e.exit(u),t(P)):p<h&&P===40?(e.consume(P),p++,A):P===41?(e.consume(P),p--,A):P===null||P===32||P===40||nl(P)?r(P):(e.consume(P),P===92?F:A)}function F(P){return P===40||P===41||P===92?(e.consume(P),A):A(P)}}function Sf(e,t,r,u,o,l){const a=this;let c=0,f;return h;function h(b){return e.enter(u),e.enter(o),e.consume(b),e.exit(o),e.enter(l),p}function p(b){return c>999||b===null||b===91||b===93&&!f||b===94&&!c&&"_hiddenFootnoteSupport"in a.parser.constructs?r(b):b===93?(e.exit(l),e.enter(o),e.consume(b),e.exit(o),e.exit(u),t):Ae(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),g(b))}function g(b){return b===null||b===91||b===93||Ae(b)||c++>999?(e.exit("chunkString"),p(b)):(e.consume(b),f||(f=!Ue(b)),b===92?I:g)}function I(b){return b===91||b===92||b===93?(e.consume(b),c++,g):g(b)}}function Ef(e,t,r,u,o,l){let a;return c;function c(I){return I===34||I===39||I===40?(e.enter(u),e.enter(o),e.consume(I),e.exit(o),a=I===40?41:I,f):r(I)}function f(I){return I===a?(e.enter(o),e.consume(I),e.exit(o),e.exit(u),t):(e.enter(l),h(I))}function h(I){return I===a?(e.exit(l),f(a)):I===null?r(I):Ae(I)?(e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),ot(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(I))}function p(I){return I===a||I===null||Ae(I)?(e.exit("chunkString"),h(I)):(e.consume(I),I===92?g:p)}function g(I){return I===a||I===92?(e.consume(I),p):p(I)}}function su(e,t){let r;return u;function u(o){return Ae(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r=!0,u):Ue(o)?ot(e,u,r?"linePrefix":"lineSuffix")(o):t(o)}}const s0={name:"definition",tokenize:a0},l0={partial:!0,tokenize:c0};function a0(e,t,r){const u=this;let o;return l;function l(b){return e.enter("definition"),a(b)}function a(b){return Sf.call(u,e,c,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function c(b){return o=pi(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),f):r(b)}function f(b){return zt(b)?su(e,h)(b):h(b)}function h(b){return wf(e,p,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function p(b){return e.attempt(l0,g,g)(b)}function g(b){return Ue(b)?ot(e,I,"whitespace")(b):I(b)}function I(b){return b===null||Ae(b)?(e.exit("definition"),u.parser.defined.push(o),t(b)):r(b)}}function c0(e,t,r){return u;function u(c){return zt(c)?su(e,o)(c):r(c)}function o(c){return Ef(e,l,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function l(c){return Ue(c)?ot(e,a,"whitespace")(c):a(c)}function a(c){return c===null||Ae(c)?t(c):r(c)}}const f0={name:"hardBreakEscape",tokenize:d0};function d0(e,t,r){return u;function u(l){return e.enter("hardBreakEscape"),e.consume(l),o}function o(l){return Ae(l)?(e.exit("hardBreakEscape"),t(l)):r(l)}}const h0={name:"headingAtx",resolve:p0,tokenize:g0};function p0(e,t){let r=e.length-2,u=3,o,l;return e[u][1].type==="whitespace"&&(u+=2),r-2>u&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(u===r-1||r-4>u&&e[r-2][1].type==="whitespace")&&(r-=u+1===r?2:4),r>u&&(o={type:"atxHeadingText",start:e[u][1].start,end:e[r][1].end},l={type:"chunkText",start:e[u][1].start,end:e[r][1].end,contentType:"text"},Mn(e,u,r-u+1,[["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t]])),e}function g0(e,t,r){let u=0;return o;function o(p){return e.enter("atxHeading"),l(p)}function l(p){return e.enter("atxHeadingSequence"),a(p)}function a(p){return p===35&&u++<6?(e.consume(p),a):p===null||zt(p)?(e.exit("atxHeadingSequence"),c(p)):r(p)}function c(p){return p===35?(e.enter("atxHeadingSequence"),f(p)):p===null||Ae(p)?(e.exit("atxHeading"),t(p)):Ue(p)?ot(e,c,"whitespace")(p):(e.enter("atxHeadingText"),h(p))}function f(p){return p===35?(e.consume(p),f):(e.exit("atxHeadingSequence"),c(p))}function h(p){return p===null||p===35||zt(p)?(e.exit("atxHeadingText"),c(p)):(e.consume(p),h)}}const m0=["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"],Ff=["pre","script","style","textarea"],b0={concrete:!0,name:"htmlFlow",resolveTo:I0,tokenize:C0},v0={partial:!0,tokenize:A0},y0={partial:!0,tokenize:x0};function I0(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 C0(e,t,r){const u=this;let o,l,a,c,f;return h;function h(w){return p(w)}function p(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),g}function g(w){return w===33?(e.consume(w),I):w===47?(e.consume(w),l=!0,A):w===63?(e.consume(w),o=3,u.interrupt?t:S):Nn(w)?(e.consume(w),a=String.fromCharCode(w),F):r(w)}function I(w){return w===45?(e.consume(w),o=2,b):w===91?(e.consume(w),o=5,c=0,E):Nn(w)?(e.consume(w),o=4,u.interrupt?t:S):r(w)}function b(w){return w===45?(e.consume(w),u.interrupt?t:S):r(w)}function E(w){const Je="CDATA[";return w===Je.charCodeAt(c++)?(e.consume(w),c===Je.length?u.interrupt?t:Q:E):r(w)}function A(w){return Nn(w)?(e.consume(w),a=String.fromCharCode(w),F):r(w)}function F(w){if(w===null||w===47||w===62||zt(w)){const Je=w===47,me=a.toLowerCase();return!Je&&!l&&Ff.includes(me)?(o=1,u.interrupt?t(w):Q(w)):m0.includes(a.toLowerCase())?(o=6,Je?(e.consume(w),P):u.interrupt?t(w):Q(w)):(o=7,u.interrupt&&!u.parser.lazy[u.now().line]?r(w):l?D(w):k(w))}return w===45||rn(w)?(e.consume(w),a+=String.fromCharCode(w),F):r(w)}function P(w){return w===62?(e.consume(w),u.interrupt?t:Q):r(w)}function D(w){return Ue(w)?(e.consume(w),D):ne(w)}function k(w){return w===47?(e.consume(w),ne):w===58||w===95||Nn(w)?(e.consume(w),L):Ue(w)?(e.consume(w),k):ne(w)}function L(w){return w===45||w===46||w===58||w===95||rn(w)?(e.consume(w),L):V(w)}function V(w){return w===61?(e.consume(w),R):Ue(w)?(e.consume(w),V):k(w)}function R(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(e.consume(w),f=w,J):Ue(w)?(e.consume(w),R):N(w)}function J(w){return w===f?(e.consume(w),f=null,j):w===null||Ae(w)?r(w):(e.consume(w),J)}function N(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||zt(w)?V(w):(e.consume(w),N)}function j(w){return w===47||w===62||Ue(w)?k(w):r(w)}function ne(w){return w===62?(e.consume(w),$):r(w)}function $(w){return w===null||Ae(w)?Q(w):Ue(w)?(e.consume(w),$):r(w)}function Q(w){return w===45&&o===2?(e.consume(w),ge):w===60&&o===1?(e.consume(w),de):w===62&&o===4?(e.consume(w),He):w===63&&o===3?(e.consume(w),S):w===93&&o===5?(e.consume(w),qe):Ae(w)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(v0,Le,ve)(w)):w===null||Ae(w)?(e.exit("htmlFlowData"),ve(w)):(e.consume(w),Q)}function ve(w){return e.check(y0,Be,Le)(w)}function Be(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),ie}function ie(w){return w===null||Ae(w)?ve(w):(e.enter("htmlFlowData"),Q(w))}function ge(w){return w===45?(e.consume(w),S):Q(w)}function de(w){return w===47?(e.consume(w),a="",Se):Q(w)}function Se(w){if(w===62){const Je=a.toLowerCase();return Ff.includes(Je)?(e.consume(w),He):Q(w)}return Nn(w)&&a.length<8?(e.consume(w),a+=String.fromCharCode(w),Se):Q(w)}function qe(w){return w===93?(e.consume(w),S):Q(w)}function S(w){return w===62?(e.consume(w),He):w===45&&o===2?(e.consume(w),S):Q(w)}function He(w){return w===null||Ae(w)?(e.exit("htmlFlowData"),Le(w)):(e.consume(w),He)}function Le(w){return e.exit("htmlFlow"),t(w)}}function x0(e,t,r){const u=this;return o;function o(a){return Ae(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l):r(a)}function l(a){return u.parser.lazy[u.now().line]?r(a):t(a)}}function A0(e,t,r){return u;function u(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(Qu,t,r)}}const w0={name:"htmlText",tokenize:S0};function S0(e,t,r){const u=this;let o,l,a;return c;function c(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),f}function f(S){return S===33?(e.consume(S),h):S===47?(e.consume(S),V):S===63?(e.consume(S),k):Nn(S)?(e.consume(S),N):r(S)}function h(S){return S===45?(e.consume(S),p):S===91?(e.consume(S),l=0,E):Nn(S)?(e.consume(S),D):r(S)}function p(S){return S===45?(e.consume(S),b):r(S)}function g(S){return S===null?r(S):S===45?(e.consume(S),I):Ae(S)?(a=g,de(S)):(e.consume(S),g)}function I(S){return S===45?(e.consume(S),b):g(S)}function b(S){return S===62?ge(S):S===45?I(S):g(S)}function E(S){const He="CDATA[";return S===He.charCodeAt(l++)?(e.consume(S),l===He.length?A:E):r(S)}function A(S){return S===null?r(S):S===93?(e.consume(S),F):Ae(S)?(a=A,de(S)):(e.consume(S),A)}function F(S){return S===93?(e.consume(S),P):A(S)}function P(S){return S===62?ge(S):S===93?(e.consume(S),P):A(S)}function D(S){return S===null||S===62?ge(S):Ae(S)?(a=D,de(S)):(e.consume(S),D)}function k(S){return S===null?r(S):S===63?(e.consume(S),L):Ae(S)?(a=k,de(S)):(e.consume(S),k)}function L(S){return S===62?ge(S):k(S)}function V(S){return Nn(S)?(e.consume(S),R):r(S)}function R(S){return S===45||rn(S)?(e.consume(S),R):J(S)}function J(S){return Ae(S)?(a=J,de(S)):Ue(S)?(e.consume(S),J):ge(S)}function N(S){return S===45||rn(S)?(e.consume(S),N):S===47||S===62||zt(S)?j(S):r(S)}function j(S){return S===47?(e.consume(S),ge):S===58||S===95||Nn(S)?(e.consume(S),ne):Ae(S)?(a=j,de(S)):Ue(S)?(e.consume(S),j):ge(S)}function ne(S){return S===45||S===46||S===58||S===95||rn(S)?(e.consume(S),ne):$(S)}function $(S){return S===61?(e.consume(S),Q):Ae(S)?(a=$,de(S)):Ue(S)?(e.consume(S),$):j(S)}function Q(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(e.consume(S),o=S,ve):Ae(S)?(a=Q,de(S)):Ue(S)?(e.consume(S),Q):(e.consume(S),Be)}function ve(S){return S===o?(e.consume(S),o=void 0,ie):S===null?r(S):Ae(S)?(a=ve,de(S)):(e.consume(S),ve)}function Be(S){return S===null||S===34||S===39||S===60||S===61||S===96?r(S):S===47||S===62||zt(S)?j(S):(e.consume(S),Be)}function ie(S){return S===47||S===62||zt(S)?j(S):r(S)}function ge(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):r(S)}function de(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),Se}function Se(S){return Ue(S)?ot(e,qe,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):qe(S)}function qe(S){return e.enter("htmlTextData"),a(S)}}const sl={name:"labelEnd",resolveAll:T0,resolveTo:O0,tokenize:B0},E0={tokenize:_0},F0={tokenize:G0},P0={tokenize:R0};function T0(e){let t=-1;const r=[];for(;++t<e.length;){const u=e[t][1];if(r.push(e[t]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const o=u.type==="labelImage"?4:2;u.type="data",t+=o}}return e.length!==r.length&&Mn(e,0,e.length,r),e}function O0(e,t){let r=e.length,u=0,o,l,a,c;for(;r--;)if(o=e[r][1],l){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[r][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(a){if(e[r][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(l=r,o.type!=="labelLink")){u=2;break}}else o.type==="labelEnd"&&(a=r);const f={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[l][1].start},end:{...e[a][1].end}},p={type:"labelText",start:{...e[l+u+2][1].end},end:{...e[a-2][1].start}};return c=[["enter",f,t],["enter",h,t]],c=gn(c,e.slice(l+1,l+u+3)),c=gn(c,[["enter",p,t]]),c=gn(c,il(t.parser.constructs.insideSpan.null,e.slice(l+u+4,a-3),t)),c=gn(c,[["exit",p,t],e[a-2],e[a-1],["exit",h,t]]),c=gn(c,e.slice(a+1)),c=gn(c,[["exit",f,t]]),Mn(e,l,e.length,c),e}function B0(e,t,r){const u=this;let o=u.events.length,l,a;for(;o--;)if((u.events[o][1].type==="labelImage"||u.events[o][1].type==="labelLink")&&!u.events[o][1]._balanced){l=u.events[o][1];break}return c;function c(I){return l?l._inactive?g(I):(a=u.parser.defined.includes(pi(u.sliceSerialize({start:l.end,end:u.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(I),e.exit("labelMarker"),e.exit("labelEnd"),f):r(I)}function f(I){return I===40?e.attempt(E0,p,a?p:g)(I):I===91?e.attempt(F0,p,a?h:g)(I):a?p(I):g(I)}function h(I){return e.attempt(P0,p,g)(I)}function p(I){return t(I)}function g(I){return l._balanced=!0,r(I)}}function _0(e,t,r){return u;function u(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),o}function o(g){return zt(g)?su(e,l)(g):l(g)}function l(g){return g===41?p(g):wf(e,a,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function a(g){return zt(g)?su(e,f)(g):p(g)}function c(g){return r(g)}function f(g){return g===34||g===39||g===40?Ef(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):p(g)}function h(g){return zt(g)?su(e,p)(g):p(g)}function p(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),t):r(g)}}function G0(e,t,r){const u=this;return o;function o(c){return Sf.call(u,e,l,a,"reference","referenceMarker","referenceString")(c)}function l(c){return u.parser.defined.includes(pi(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?t(c):r(c)}function a(c){return r(c)}}function R0(e,t,r){return u;function u(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),o}function o(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):r(l)}}const k0={name:"labelStartImage",resolveAll:sl.resolveAll,tokenize:L0};function L0(e,t,r){const u=this;return o;function o(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),l}function l(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),a):r(c)}function a(c){return c===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(c):t(c)}}const D0={name:"labelStartLink",resolveAll:sl.resolveAll,tokenize:M0};function M0(e,t,r){const u=this;return o;function o(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),l}function l(a){return a===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(a):t(a)}}const ll={name:"lineEnding",tokenize:N0};function N0(e,t){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ot(e,t,"linePrefix")}}const qu={name:"thematicBreak",tokenize:V0};function V0(e,t,r){let u=0,o;return l;function l(h){return e.enter("thematicBreak"),a(h)}function a(h){return o=h,c(h)}function c(h){return h===o?(e.enter("thematicBreakSequence"),f(h)):u>=3&&(h===null||Ae(h))?(e.exit("thematicBreak"),t(h)):r(h)}function f(h){return h===o?(e.consume(h),u++,f):(e.exit("thematicBreakSequence"),Ue(h)?ot(e,c,"whitespace")(h):c(h))}}const Zt={continuation:{tokenize:z0},exit:Y0,name:"list",tokenize:H0},W0={partial:!0,tokenize:J0},X0={partial:!0,tokenize:Z0};function H0(e,t,r){const u=this,o=u.events[u.events.length-1];let l=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,a=0;return c;function c(b){const E=u.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!u.containerState.marker||b===u.containerState.marker:rl(b)){if(u.containerState.type||(u.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),b===42||b===45?e.check(qu,r,h)(b):h(b);if(!u.interrupt||b===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(b)}return r(b)}function f(b){return rl(b)&&++a<10?(e.consume(b),f):(!u.interrupt||a<2)&&(u.containerState.marker?b===u.containerState.marker:b===41||b===46)?(e.exit("listItemValue"),h(b)):r(b)}function h(b){return e.enter("listItemMarker"),e.consume(b),e.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||b,e.check(Qu,u.interrupt?r:p,e.attempt(W0,I,g))}function p(b){return u.containerState.initialBlankLine=!0,l++,I(b)}function g(b){return Ue(b)?(e.enter("listItemPrefixWhitespace"),e.consume(b),e.exit("listItemPrefixWhitespace"),I):r(b)}function I(b){return u.containerState.size=l+u.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(b)}}function z0(e,t,r){const u=this;return u.containerState._closeFlow=void 0,e.check(Qu,o,l);function o(c){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,ot(e,t,"listItemIndent",u.containerState.size+1)(c)}function l(c){return u.containerState.furtherBlankLines||!Ue(c)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,a(c)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,e.attempt(X0,t,a)(c))}function a(c){return u.containerState._closeFlow=!0,u.interrupt=void 0,ot(e,e.attempt(Zt,t,r),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function Z0(e,t,r){const u=this;return ot(e,o,"listItemIndent",u.containerState.size+1);function o(l){const a=u.events[u.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===u.containerState.size?t(l):r(l)}}function Y0(e){e.exit(this.containerState.type)}function J0(e,t,r){const u=this;return ot(e,o,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(l){const a=u.events[u.events.length-1];return!Ue(l)&&a&&a[1].type==="listItemPrefixWhitespace"?t(l):r(l)}}const Pf={name:"setextUnderline",resolveTo:U0,tokenize:j0};function U0(e,t){let r=e.length,u,o,l;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){u=r;break}e[r][1].type==="paragraph"&&(o=r)}else e[r][1].type==="content"&&e.splice(r,1),!l&&e[r][1].type==="definition"&&(l=r);const a={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",l?(e.splice(o,0,["enter",a,t]),e.splice(l+1,0,["exit",e[u][1],t]),e[u][1].end={...e[l][1].end}):e[u][1]=a,e.push(["exit",a,t]),e}function j0(e,t,r){const u=this;let o;return l;function l(h){let p=u.events.length,g;for(;p--;)if(u.events[p][1].type!=="lineEnding"&&u.events[p][1].type!=="linePrefix"&&u.events[p][1].type!=="content"){g=u.events[p][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||g)?(e.enter("setextHeadingLine"),o=h,a(h)):r(h)}function a(h){return e.enter("setextHeadingLineSequence"),c(h)}function c(h){return h===o?(e.consume(h),c):(e.exit("setextHeadingLineSequence"),Ue(h)?ot(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Ae(h)?(e.exit("setextHeadingLine"),t(h)):r(h)}}const Q0={tokenize:q0};function q0(e){const t=this,r=e.attempt(Qu,u,e.attempt(this.parser.constructs.flowInitial,o,ot(e,e.attempt(this.parser.constructs.flow,o,e.attempt(n0,o)),"linePrefix")));return r;function u(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function o(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const $0={resolveAll:Of()},K0=Tf("string"),ev=Tf("text");function Tf(e){return{resolveAll:Of(e==="text"?tv:void 0),tokenize:t};function t(r){const u=this,o=this.parser.constructs[e],l=r.attempt(o,a,c);return a;function a(p){return h(p)?l(p):c(p)}function c(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),f}function f(p){return h(p)?(r.exit("data"),l(p)):(r.consume(p),f)}function h(p){if(p===null)return!0;const g=o[p];let I=-1;if(g)for(;++I<g.length;){const b=g[I];if(!b.previous||b.previous.call(u,u.previous))return!0}return!1}}}function Of(e){return t;function t(r,u){let o=-1,l;for(;++o<=r.length;)l===void 0?r[o]&&r[o][1].type==="data"&&(l=o,o++):(!r[o]||r[o][1].type!=="data")&&(o!==l+2&&(r[l][1].end=r[o-1][1].end,r.splice(l+2,o-l-2),o=l+2),l=void 0);return e?e(r,u):r}}function tv(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const u=e[r-1][1],o=t.sliceStream(u);let l=o.length,a=-1,c=0,f;for(;l--;){const h=o[l];if(typeof h=="string"){for(a=h.length;h.charCodeAt(a-1)===32;)c++,a--;if(a)break;a=-1}else if(h===-2)f=!0,c++;else if(h!==-1){l++;break}}if(c){const h={type:r===e.length||f||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:u.start._bufferIndex+a,_index:u.start._index+l,line:u.end.line,column:u.end.column-c,offset:u.end.offset-c},end:{...u.end}};u.end={...h.start},u.start.offset===u.end.offset?Object.assign(u,h):(e.splice(r,0,["enter",h,t],["exit",h,t]),r+=2)}r++}return e}const nv=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:s0},disable:{null:[]},document:{42:Zt,43:Zt,45:Zt,48:Zt,49:Zt,50:Zt,51:Zt,52:Zt,53:Zt,54:Zt,55:Zt,56:Zt,57:Zt,62:vf},flow:{35:h0,42:qu,45:[Pf,qu],60:b0,61:Pf,95:qu,96:xf,126:xf},flowInitial:{[-2]:ol,[-1]:ol,32:ol},insideSpan:{null:[ul,$0]},string:{38:If,92:yf},text:{[-5]:ll,[-4]:ll,[-3]:ll,33:k0,38:If,42:ul,60:[Db,w0],91:D0,92:[f0,yf],93:sl,95:ul,96:Qb}},Symbol.toStringTag,{value:"Module"}));function rv(e,t,r){let u={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const o={},l=[];let a=[],c=[];const f={attempt:J(V),check:J(R),consume:D,enter:k,exit:L,interrupt:J(R,{interrupt:!0})},h={code:null,containerState:{},defineSkip:A,events:[],now:E,parser:e,previous:null,sliceSerialize:I,sliceStream:b,write:g};let p=t.tokenize.call(h,f);return t.resolveAll&&l.push(t),h;function g($){return a=gn(a,$),F(),a[a.length-1]!==null?[]:(N(t,0),h.events=il(l,h.events,h),h.events)}function I($,Q){return uv(b($),Q)}function b($){return iv(a,$)}function E(){const{_bufferIndex:$,_index:Q,line:ve,column:Be,offset:ie}=u;return{_bufferIndex:$,_index:Q,line:ve,column:Be,offset:ie}}function A($){o[$.line]=$.column,ne()}function F(){let $;for(;u._index<a.length;){const Q=a[u._index];if(typeof Q=="string")for($=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===$&&u._bufferIndex<Q.length;)P(Q.charCodeAt(u._bufferIndex));else P(Q)}}function P($){p=p($)}function D($){Ae($)?(u.line++,u.column=1,u.offset+=$===-3?2:1,ne()):$!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===a[u._index].length&&(u._bufferIndex=-1,u._index++)),h.previous=$}function k($,Q){const ve=Q||{};return ve.type=$,ve.start=E(),h.events.push(["enter",ve,h]),c.push(ve),ve}function L($){const Q=c.pop();return Q.end=E(),h.events.push(["exit",Q,h]),Q}function V($,Q){N($,Q.from)}function R($,Q){Q.restore()}function J($,Q){return ve;function ve(Be,ie,ge){let de,Se,qe,S;return Array.isArray(Be)?Le(Be):"tokenize"in Be?Le([Be]):He(Be);function He(De){return yt;function yt(ee){const oe=ee!==null&&De[ee],ye=ee!==null&&De.null,Me=[...Array.isArray(oe)?oe:oe?[oe]:[],...Array.isArray(ye)?ye:ye?[ye]:[]];return Le(Me)(ee)}}function Le(De){return de=De,Se=0,De.length===0?ge:w(De[Se])}function w(De){return yt;function yt(ee){return S=j(),qe=De,De.partial||(h.currentConstruct=De),De.name&&h.parser.constructs.disable.null.includes(De.name)?me():De.tokenize.call(Q?Object.assign(Object.create(h),Q):h,f,Je,me)(ee)}}function Je(De){return $(qe,S),ie}function me(De){return S.restore(),++Se<de.length?w(de[Se]):ge}}}function N($,Q){$.resolveAll&&!l.includes($)&&l.push($),$.resolve&&Mn(h.events,Q,h.events.length-Q,$.resolve(h.events.slice(Q),h)),$.resolveTo&&(h.events=$.resolveTo(h.events,h))}function j(){const $=E(),Q=h.previous,ve=h.currentConstruct,Be=h.events.length,ie=Array.from(c);return{from:Be,restore:ge};function ge(){u=$,h.previous=Q,h.currentConstruct=ve,h.events.length=Be,c=ie,ne()}}function ne(){u.line in o&&u.column<2&&(u.column=o[u.line],u.offset+=o[u.line]-1)}}function iv(e,t){const r=t.start._index,u=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex;let a;if(r===o)a=[e[r].slice(u,l)];else{if(a=e.slice(r,o),u>-1){const c=a[0];typeof c=="string"?a[0]=c.slice(u):a.shift()}l>0&&a.push(e[o].slice(0,l))}return a}function uv(e,t){let r=-1;const u=[];let o;for(;++r<e.length;){const l=e[r];let a;if(typeof l=="string")a=l;else switch(l){case-5:{a="\r";break}case-4:{a=`
|
|
1
|
+
(function(ie,K){typeof exports=="object"&&typeof module<"u"?K(exports,require("react/jsx-runtime"),require("react"),require("@emotion/react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@emotion/react","react-dom"],K):(ie=typeof globalThis<"u"?globalThis:ie||self,K(ie["connect-react"]={},ie["react/jsx-runtime"],ie.React,ie["@emotion/react"],ie.ReactDOM))})(this,function(ie,K,H,ce,Hs){"use strict";var pm=ie=>{throw TypeError(ie)};var Tc=(ie,K,H)=>K.has(ie)||pm("Cannot "+H);var T=(ie,K,H)=>(Tc(ie,K,"read from private field"),H?H.call(ie):K.get(ie)),we=(ie,K,H)=>K.has(ie)?pm("Cannot add the same private member more than once"):K instanceof WeakSet?K.add(ie):K.set(ie,H),ae=(ie,K,H,ce)=>(Tc(ie,K,"write to private field"),ce?ce.call(ie,H):K.set(ie,H),H),Je=(ie,K,H)=>(Tc(ie,K,"access private method"),H);var Xs=(ie,K,H,ce)=>({set _(Hs){ae(ie,K,Hs,H)},get _(){return T(ie,K,ce)}});var jr,wr,wi,op,Si,Sr,Ei,sp,Ur,lp,Fi,Pi,wn,Wt,Iu,Qr,Mn,Cr,ap,Qn,cp,qn,Zt,qr,$n,Wr,fp,dn,Cu,dp,bt,Er,Fr,Oi,Ti,Pr,Bi,_i,hp,en,ze,xu,Yt,$r,Gi,Or,Kn,Au,Ri,ki,Kr,ei,Tr,Li,$e,Uu,Bc,_c,Gc,Rc,kc,Lc,Dc,gm,pp;function mm(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Pe=mm(H);typeof document>"u"&&(globalThis.document={createElement:()=>{}});function aP(){}function cP(){}function bm(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const vm=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ym=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Im={};function Mc(e,t){return(Im.jsx?ym:vm).test(e)}const Cm=/[ \t\n\f\r]/g;function xm(e){return typeof e=="object"?e.type==="text"?Nc(e.value):!1:Nc(e)}function Nc(e){return e.replace(Cm,"")===""}class iu{constructor(t,r,u){this.property=t,this.normal=r,u&&(this.space=u)}}iu.prototype.property={},iu.prototype.normal={},iu.prototype.space=null;function Vc(e,t){const r={},u={};let o=-1;for(;++o<e.length;)Object.assign(r,e[o].property),Object.assign(u,e[o].normal);return new iu(r,u,t)}function zs(e){return e.toLowerCase()}class Cn{constructor(t,r){this.property=t,this.attribute=r}}Cn.prototype.space=null,Cn.prototype.boolean=!1,Cn.prototype.booleanish=!1,Cn.prototype.overloadedBoolean=!1,Cn.prototype.number=!1,Cn.prototype.commaSeparated=!1,Cn.prototype.spaceSeparated=!1,Cn.prototype.commaOrSpaceSeparated=!1,Cn.prototype.mustUseProperty=!1,Cn.prototype.defined=!1;let Am=0;const _e=Xr(),wt=Xr(),Wc=Xr(),ee=Xr(),at=Xr(),mi=Xr(),an=Xr();function Xr(){return 2**++Am}const Zs=Object.freeze(Object.defineProperty({__proto__:null,boolean:_e,booleanish:wt,commaOrSpaceSeparated:an,commaSeparated:mi,number:ee,overloadedBoolean:Wc,spaceSeparated:at},Symbol.toStringTag,{value:"Module"})),Ys=Object.keys(Zs);class Js extends Cn{constructor(t,r,u,o){let l=-1;if(super(t,r),Xc(this,"space",o),typeof u=="number")for(;++l<Ys.length;){const a=Ys[l];Xc(this,Ys[l],(u&Zs[a])===Zs[a])}}}Js.prototype.defined=!0;function Xc(e,t,r){r&&(e[t]=r)}const wm={}.hasOwnProperty;function bi(e){const t={},r={};let u;for(u in e.properties)if(wm.call(e.properties,u)){const o=e.properties[u],l=new Js(u,e.transform(e.attributes||{},u),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(u)&&(l.mustUseProperty=!0),t[u]=l,r[zs(u)]=u,r[zs(l.attribute)]=u}return new iu(t,r,e.space)}const Hc=bi({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}}),zc=bi({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Zc(e,t){return t in e?e[t]:t}function Yc(e,t){return Zc(e,t.toLowerCase())}const Jc=bi({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Yc,properties:{xmlns:null,xmlnsXLink:null}}),jc=bi({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:wt,ariaAutoComplete:null,ariaBusy:wt,ariaChecked:wt,ariaColCount:ee,ariaColIndex:ee,ariaColSpan:ee,ariaControls:at,ariaCurrent:null,ariaDescribedBy:at,ariaDetails:null,ariaDisabled:wt,ariaDropEffect:at,ariaErrorMessage:null,ariaExpanded:wt,ariaFlowTo:at,ariaGrabbed:wt,ariaHasPopup:null,ariaHidden:wt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:at,ariaLevel:ee,ariaLive:null,ariaModal:wt,ariaMultiLine:wt,ariaMultiSelectable:wt,ariaOrientation:null,ariaOwns:at,ariaPlaceholder:null,ariaPosInSet:ee,ariaPressed:wt,ariaReadOnly:wt,ariaRelevant:null,ariaRequired:wt,ariaRoleDescription:at,ariaRowCount:ee,ariaRowIndex:ee,ariaRowSpan:ee,ariaSelected:wt,ariaSetSize:ee,ariaSort:null,ariaValueMax:ee,ariaValueMin:ee,ariaValueNow:ee,ariaValueText:null,role:null}}),Sm=bi({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Yc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:mi,acceptCharset:at,accessKey:at,action:null,allow:null,allowFullScreen:_e,allowPaymentRequest:_e,allowUserMedia:_e,alt:null,as:null,async:_e,autoCapitalize:null,autoComplete:at,autoFocus:_e,autoPlay:_e,blocking:at,capture:null,charSet:null,checked:_e,cite:null,className:at,cols:ee,colSpan:null,content:null,contentEditable:wt,controls:_e,controlsList:at,coords:ee|mi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:_e,defer:_e,dir:null,dirName:null,disabled:_e,download:Wc,draggable:wt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:_e,formTarget:null,headers:at,height:ee,hidden:_e,high:ee,href:null,hrefLang:null,htmlFor:at,httpEquiv:at,id:null,imageSizes:null,imageSrcSet:null,inert:_e,inputMode:null,integrity:null,is:null,isMap:_e,itemId:null,itemProp:at,itemRef:at,itemScope:_e,itemType:at,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:_e,low:ee,manifest:null,max:null,maxLength:ee,media:null,method:null,min:null,minLength:ee,multiple:_e,muted:_e,name:null,nonce:null,noModule:_e,noValidate:_e,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:_e,optimum:ee,pattern:null,ping:at,placeholder:null,playsInline:_e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:_e,referrerPolicy:null,rel:at,required:_e,reversed:_e,rows:ee,rowSpan:ee,sandbox:at,scope:null,scoped:_e,seamless:_e,selected:_e,shadowRootClonable:_e,shadowRootDelegatesFocus:_e,shadowRootMode:null,shape:null,size:ee,sizes:null,slot:null,span:ee,spellCheck:wt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ee,step:null,style:null,tabIndex:ee,target:null,title:null,translate:null,type:null,typeMustMatch:_e,useMap:null,value:wt,width:ee,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:at,axis:null,background:null,bgColor:null,border:ee,borderColor:null,bottomMargin:ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:_e,declare:_e,event:null,face:null,frame:null,frameBorder:null,hSpace:ee,leftMargin:ee,link:null,longDesc:null,lowSrc:null,marginHeight:ee,marginWidth:ee,noResize:_e,noHref:_e,noShade:_e,noWrap:_e,object:null,profile:null,prompt:null,rev:null,rightMargin:ee,rules:null,scheme:null,scrolling:wt,standby:null,summary:null,text:null,topMargin:ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:_e,disableRemotePlayback:_e,prefix:null,property:null,results:ee,security:null,unselectable:null}}),Em=bi({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:Zc,properties:{about:an,accentHeight:ee,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ee,amplitude:ee,arabicForm:null,ascent:ee,attributeName:null,attributeType:null,azimuth:ee,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ee,by:null,calcMode:null,capHeight:ee,className:at,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:ee,diffuseConstant:ee,direction:null,display:null,dur:null,divisor:ee,dominantBaseline:null,download:_e,dx:null,dy:null,edgeMode:null,editable:null,elevation:ee,enableBackground:null,end:null,event:null,exponent:ee,externalResourcesRequired:null,fill:null,fillOpacity:ee,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:mi,g2:mi,glyphName:mi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ee,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ee,horizOriginX:ee,horizOriginY:ee,id:null,ideographic:ee,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ee,k:ee,k1:ee,k2:ee,k3:ee,k4:ee,kernelMatrix:an,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ee,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:ee,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:ee,overlineThickness:ee,paintOrder:null,panose1:null,path:null,pathLength:ee,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:at,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ee,pointsAtY:ee,pointsAtZ:ee,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:an,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:an,rev:an,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:an,requiredFeatures:an,requiredFonts:an,requiredFormats:an,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:ee,specularExponent:ee,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ee,strikethroughThickness:ee,string:null,stroke:null,strokeDashArray:an,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ee,strokeOpacity:ee,strokeWidth:null,style:null,surfaceScale:ee,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:an,tabIndex:ee,tableValues:null,target:null,targetX:ee,targetY:ee,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:an,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ee,underlineThickness:ee,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ee,values:null,vAlphabetic:ee,vMathematical:ee,vectorEffect:null,vHanging:ee,vIdeographic:ee,version:null,vertAdvY:ee,vertOriginX:ee,vertOriginY:ee,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ee,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Fm=/^data[-\w.:]+$/i,Uc=/-[a-z]/g,Pm=/[A-Z]/g;function Om(e,t){const r=zs(t);let u=t,o=Cn;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Fm.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(Uc,Bm);u="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!Uc.test(l)){let a=l.replace(Pm,Tm);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}o=Js}return new o(u,t)}function Tm(e){return"-"+e.toLowerCase()}function Bm(e){return e.charAt(1).toUpperCase()}const _m={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"},Gm=Vc([zc,Hc,Jc,jc,Sm],"html"),js=Vc([zc,Hc,Jc,jc,Em],"svg");function Rm(e){return e.join(" ").trim()}var Ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Us(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qc={},qc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,km=/\n/g,Lm=/^\s*/,Dm=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Mm=/^:\s*/,Nm=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Vm=/^[;\s]*/,Wm=/^\s+|\s+$/g,Xm=`
|
|
2
|
+
`,$c="/",Kc="*",Hr="",Hm="comment",zm="declaration",Zm=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,u=1;function o(S){var A=S.match(km);A&&(r+=A.length);var F=S.lastIndexOf(Xm);u=~F?S.length-F:u+S.length}function l(){var S={line:r,column:u};return function(A){return A.position=new a(S),h(),A}}function a(S){this.start=S,this.end={line:r,column:u},this.source=t.source}a.prototype.content=e;function c(S){var A=new Error(t.source+":"+r+":"+u+": "+S);if(A.reason=S,A.filename=t.source,A.line=r,A.column=u,A.source=e,!t.silent)throw A}function f(S){var A=S.exec(e);if(A){var F=A[0];return o(F),e=e.slice(F.length),A}}function h(){f(Lm)}function p(S){var A;for(S=S||[];A=g();)A!==!1&&S.push(A);return S}function g(){var S=l();if(!($c!=e.charAt(0)||Kc!=e.charAt(1))){for(var A=2;Hr!=e.charAt(A)&&(Kc!=e.charAt(A)||$c!=e.charAt(A+1));)++A;if(A+=2,Hr===e.charAt(A-1))return c("End of comment missing");var F=e.slice(2,A-2);return u+=2,o(F),e=e.slice(A),u+=2,S({type:Hm,comment:F})}}function I(){var S=l(),A=f(Dm);if(A){if(g(),!f(Mm))return c("property missing ':'");var F=f(Nm),P=S({type:zm,property:ef(A[0].replace(qc,Hr)),value:F?ef(F[0].replace(qc,Hr)):Hr});return f(Vm),P}}function b(){var S=[];p(S);for(var A;A=I();)A!==!1&&(S.push(A),p(S));return S}return h(),b()};function ef(e){return e?e.replace(Wm,Hr):Hr}var Ym=Ln&&Ln.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qc,"__esModule",{value:!0});var tf=Qc.default=jm,Jm=Ym(Zm);function jm(e,t){var r=null;if(!e||typeof e!="string")return r;var u=(0,Jm.default)(e),o=typeof t=="function";return u.forEach(function(l){if(l.type==="declaration"){var a=l.property,c=l.value;o?t(a,c,l):c&&(r=r||{},r[a]=c)}}),r}const Um=tf.default||tf,nf=rf("end"),Qs=rf("start");function rf(e){return t;function t(r){const u=r&&r.position&&r.position[e]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function Qm(e){const t=Qs(e),r=nf(e);if(t&&r)return{start:t,end:r}}function uu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?uf(e.position):"start"in e||"end"in e?uf(e):"line"in e||"column"in e?qs(e):""}function qs(e){return of(e&&e.line)+":"+of(e&&e.column)}function uf(e){return qs(e&&e.start)+"-"+qs(e&&e.end)}function of(e){return e&&typeof e=="number"?e:1}class Vt extends Error{constructor(t,r,u){super(),typeof r=="string"&&(u=r,r=void 0);let o="",l={},a=!1;if(r&&("line"in r&&"column"in r?l={place:r}:"start"in r&&"end"in r?l={place:r}:"type"in r?l={ancestors:[r],place:r.position}:l={...r}),typeof t=="string"?o=t:!l.cause&&t&&(a=!0,o=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof u=="string"){const f=u.indexOf(":");f===-1?l.ruleId=u:(l.source=u.slice(0,f),l.ruleId=u.slice(f+1))}if(!l.place&&l.ancestors&&l.ancestors){const f=l.ancestors[l.ancestors.length-1];f&&(l.place=f.position)}const c=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file,this.message=o,this.line=c?c.line:void 0,this.name=uu(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=a&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}Vt.prototype.file="",Vt.prototype.name="",Vt.prototype.reason="",Vt.prototype.message="",Vt.prototype.stack="",Vt.prototype.column=void 0,Vt.prototype.line=void 0,Vt.prototype.ancestors=void 0,Vt.prototype.cause=void 0,Vt.prototype.fatal=void 0,Vt.prototype.place=void 0,Vt.prototype.ruleId=void 0,Vt.prototype.source=void 0;const $s={}.hasOwnProperty,qm=new Map,$m=/[A-Z]/g,Km=/-([a-z])/g,eb=new Set(["table","tbody","thead","tfoot","tr"]),tb=new Set(["td","th"]),sf="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function nb(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let u;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=cb(r,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");u=ab(r,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:u,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?js:Gm,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=lf(o,e,void 0);return l&&typeof l!="string"?l:o.create(e,o.Fragment,{children:l||void 0},void 0)}function lf(e,t,r){if(t.type==="element")return rb(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ib(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return ob(e,t,r);if(t.type==="mdxjsEsm")return ub(e,t);if(t.type==="root")return sb(e,t,r);if(t.type==="text")return lb(e,t)}function rb(e,t,r){const u=e.schema;let o=u;t.tagName.toLowerCase()==="svg"&&u.space==="html"&&(o=js,e.schema=o),e.ancestors.push(t);const l=cf(e,t.tagName,!1),a=fb(e,t);let c=el(e,t);return eb.has(t.tagName)&&(c=c.filter(function(f){return typeof f=="string"?!xm(f):!0})),af(e,a,l,t),Ks(a,c),e.ancestors.pop(),e.schema=u,e.create(t,l,a,r)}function ib(e,t){if(t.data&&t.data.estree&&e.evaluater){const u=t.data.estree.body[0];return u.type,e.evaluater.evaluateExpression(u.expression)}ou(e,t.position)}function ub(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ou(e,t.position)}function ob(e,t,r){const u=e.schema;let o=u;t.name==="svg"&&u.space==="html"&&(o=js,e.schema=o),e.ancestors.push(t);const l=t.name===null?e.Fragment:cf(e,t.name,!0),a=db(e,t),c=el(e,t);return af(e,a,l,t),Ks(a,c),e.ancestors.pop(),e.schema=u,e.create(t,l,a,r)}function sb(e,t,r){const u={};return Ks(u,el(e,t)),e.create(t,e.Fragment,u,r)}function lb(e,t){return t.value}function af(e,t,r,u){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=u)}function Ks(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function ab(e,t,r){return u;function u(o,l,a,c){const h=Array.isArray(a.children)?r:t;return c?h(l,a,c):h(l,a)}}function cb(e,t){return r;function r(u,o,l,a){const c=Array.isArray(l.children),f=Qs(u);return t(o,l,a,c,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function fb(e,t){const r={};let u,o;for(o in t.properties)if(o!=="children"&&$s.call(t.properties,o)){const l=hb(e,o,t.properties[o]);if(l){const[a,c]=l;e.tableCellAlignToStyle&&a==="align"&&typeof c=="string"&&tb.has(t.tagName)?u=c:r[a]=c}}if(u){const l=r.style||(r.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return r}function db(e,t){const r={};for(const u of t.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&e.evaluater){const l=u.data.estree.body[0];l.type;const a=l.expression;a.type;const c=a.properties[0];c.type,Object.assign(r,e.evaluater.evaluateExpression(c.argument))}else ou(e,t.position);else{const o=u.name;let l;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&e.evaluater){const c=u.value.data.estree.body[0];c.type,l=e.evaluater.evaluateExpression(c.expression)}else ou(e,t.position);else l=u.value===null?!0:u.value;r[o]=l}return r}function el(e,t){const r=[];let u=-1;const o=e.passKeys?new Map:qm;for(;++u<t.children.length;){const l=t.children[u];let a;if(e.passKeys){const f=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(f){const h=o.get(f)||0;a=f+"-"+h,o.set(f,h+1)}}const c=lf(e,l,a);c!==void 0&&r.push(c)}return r}function hb(e,t,r){const u=Om(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=u.commaSeparated?bm(r):Rm(r)),u.property==="style"){let o=typeof r=="object"?r:pb(e,String(r));return e.stylePropertyNameCase==="css"&&(o=gb(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&u.space?_m[u.property]||u.property:u.attribute,r]}}function pb(e,t){const r={};try{Um(t,u)}catch(o){if(!e.ignoreInvalidStyle){const l=o,a=new Vt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=sf+"#cannot-parse-style-attribute",a}}return r;function u(o,l){let a=o;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(Km,bb)),r[a]=l}}function cf(e,t,r){let u;if(!r)u={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let l=-1,a;for(;++l<o.length;){const c=Mc(o[l])?{type:"Identifier",name:o[l]}:{type:"Literal",value:o[l]};a=a?{type:"MemberExpression",object:a,property:c,computed:!!(l&&c.type==="Literal"),optional:!1}:c}u=a}else u=Mc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(u.type==="Literal"){const o=u.value;return $s.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(u);ou(e)}function ou(e,t){const r=new Vt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=sf+"#cannot-handle-mdx-estrees-without-createevaluater",r}function gb(e){const t={};let r;for(r in e)$s.call(e,r)&&(t[mb(r)]=e[r]);return t}function mb(e){let t=e.replace($m,vb);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function bb(e,t){return t.toUpperCase()}function vb(e){return"-"+e.toLowerCase()}const tl={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"]},yb={};function Ib(e,t){const r=yb,u=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,o=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return ff(e,u,o)}function ff(e,t,r){if(Cb(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return df(e.children,t,r)}return Array.isArray(e)?df(e,t,r):""}function df(e,t,r){const u=[];let o=-1;for(;++o<e.length;)u[o]=ff(e[o],t,r);return u.join("")}function Cb(e){return!!(e&&typeof e=="object")}const hf=document.createElement("i");function nl(e){const t="&"+e+";";hf.innerHTML=t;const r=hf.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function Yn(e,t,r,u){const o=e.length;let l=0,a;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,r=r>0?r:0,u.length<1e4)a=Array.from(u),a.unshift(t,r),e.splice(...a);else for(r&&e.splice(t,r);l<u.length;)a=u.slice(l,l+1e4),a.unshift(t,0),e.splice(...a),l+=1e4,t+=1e4}function xn(e,t){return e.length>0?(Yn(e,e.length,0,t),e):t}const pf={}.hasOwnProperty;function xb(e){const t={};let r=-1;for(;++r<e.length;)Ab(t,e[r]);return t}function Ab(e,t){let r;for(r in t){const o=(pf.call(e,r)?e[r]:void 0)||(e[r]={}),l=t[r];let a;if(l)for(a in l){pf.call(o,a)||(o[a]=[]);const c=l[a];wb(o[a],Array.isArray(c)?c:c?[c]:[])}}}function wb(e,t){let r=-1;const u=[];for(;++r<t.length;)(t[r].add==="after"?e:u).push(t[r]);Yn(e,0,0,u)}function gf(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function vi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Jn=xr(/[A-Za-z]/),cn=xr(/[\dA-Za-z]/),Sb=xr(/[#-'*+\--9=?A-Z^-~]/);function rl(e){return e!==null&&(e<32||e===127)}const il=xr(/\d/),Eb=xr(/[\dA-Fa-f]/),Fb=xr(/[!-/:-@[-`{-~]/);function Ae(e){return e!==null&&e<-2}function $t(e){return e!==null&&(e<0||e===32)}function Ue(e){return e===-2||e===-1||e===32}const Pb=xr(new RegExp("\\p{P}|\\p{S}","u")),Ob=xr(/\s/);function xr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function yi(e){const t=[];let r=-1,u=0,o=0;for(;++r<e.length;){const l=e.charCodeAt(r);let a="";if(l===37&&cn(e.charCodeAt(r+1))&&cn(e.charCodeAt(r+2)))o=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(a=String.fromCharCode(l));else if(l>55295&&l<57344){const c=e.charCodeAt(r+1);l<56320&&c>56319&&c<57344?(a=String.fromCharCode(l,c),o=1):a="�"}else a=String.fromCharCode(l);a&&(t.push(e.slice(u,r),encodeURIComponent(a)),u=r+o+1,a=""),o&&(r+=o,o=0)}return t.join("")+e.slice(u)}function ct(e,t,r,u){const o=u?u-1:Number.POSITIVE_INFINITY;let l=0;return a;function a(f){return Ue(f)?(e.enter(r),c(f)):t(f)}function c(f){return Ue(f)&&l++<o?(e.consume(f),c):(e.exit(r),t(f))}}const Tb={tokenize:Bb};function Bb(e){const t=e.attempt(this.parser.constructs.contentInitial,u,o);let r;return t;function u(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),ct(e,t,"linePrefix")}function o(c){return e.enter("paragraph"),l(c)}function l(c){const f=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=f),r=f,a(c)}function a(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return Ae(c)?(e.consume(c),e.exit("chunkText"),l):(e.consume(c),a)}}const _b={tokenize:Gb},mf={tokenize:Rb};function Gb(e){const t=this,r=[];let u=0,o,l,a;return c;function c(k){if(u<r.length){const N=r[u];return t.containerState=N[1],e.attempt(N[0].continuation,f,h)(k)}return h(k)}function f(k){if(u++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&L();const N=t.events.length;let X=N,R;for(;X--;)if(t.events[X][0]==="exit"&&t.events[X][1].type==="chunkFlow"){R=t.events[X][1].end;break}P(u);let Y=N;for(;Y<t.events.length;)t.events[Y][1].end={...R},Y++;return Yn(t.events,X+1,0,t.events.slice(N)),t.events.length=Y,h(k)}return c(k)}function h(k){if(u===r.length){if(!o)return I(k);if(o.currentConstruct&&o.currentConstruct.concrete)return S(k);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(mf,p,g)(k)}function p(k){return o&&L(),P(u),I(k)}function g(k){return t.parser.lazy[t.now().line]=u!==r.length,a=t.now().offset,S(k)}function I(k){return t.containerState={},e.attempt(mf,b,S)(k)}function b(k){return u++,r.push([t.currentConstruct,t.containerState]),I(k)}function S(k){if(k===null){o&&L(),P(0),e.consume(k);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:l}),A(k)}function A(k){if(k===null){F(e.exit("chunkFlow"),!0),P(0),e.consume(k);return}return Ae(k)?(e.consume(k),F(e.exit("chunkFlow")),u=0,t.interrupt=void 0,c):(e.consume(k),A)}function F(k,N){const X=t.sliceStream(k);if(N&&X.push(null),k.previous=l,l&&(l.next=k),l=k,o.defineSkip(k.start),o.write(X),t.parser.lazy[k.start.line]){let R=o.events.length;for(;R--;)if(o.events[R][1].start.offset<a&&(!o.events[R][1].end||o.events[R][1].end.offset>a))return;const Y=t.events.length;let D=Y,j,Q;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){if(j){Q=t.events[D][1].end;break}j=!0}for(P(u),R=Y;R<t.events.length;)t.events[R][1].end={...Q},R++;Yn(t.events,D+1,0,t.events.slice(Y)),t.events.length=R}}function P(k){let N=r.length;for(;N-- >k;){const X=r[N];t.containerState=X[1],X[0].exit.call(t,e)}r.length=k}function L(){o.write([null]),l=void 0,o=void 0,t.containerState._closeFlow=void 0}}function Rb(e,t,r){return ct(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function bf(e){if(e===null||$t(e)||Ob(e))return 1;if(Pb(e))return 2}function ul(e,t,r){const u=[];let o=-1;for(;++o<e.length;){const l=e[o].resolveAll;l&&!u.includes(l)&&(t=l(t,r),u.push(l))}return t}const ol={name:"attention",resolveAll:kb,tokenize:Lb};function kb(e,t){let r=-1,u,o,l,a,c,f,h,p;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(u=r;u--;)if(e[u][0]==="exit"&&e[u][1].type==="attentionSequence"&&e[u][1]._open&&t.sliceSerialize(e[u][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[u][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[u][1].end.offset-e[u][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;f=e[u][1].end.offset-e[u][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const g={...e[u][1].end},I={...e[r][1].start};vf(g,-f),vf(I,f),a={type:f>1?"strongSequence":"emphasisSequence",start:g,end:{...e[u][1].end}},c={type:f>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:I},l={type:f>1?"strongText":"emphasisText",start:{...e[u][1].end},end:{...e[r][1].start}},o={type:f>1?"strong":"emphasis",start:{...a.start},end:{...c.end}},e[u][1].end={...a.start},e[r][1].start={...c.end},h=[],e[u][1].end.offset-e[u][1].start.offset&&(h=xn(h,[["enter",e[u][1],t],["exit",e[u][1],t]])),h=xn(h,[["enter",o,t],["enter",a,t],["exit",a,t],["enter",l,t]]),h=xn(h,ul(t.parser.constructs.insideSpan.null,e.slice(u+1,r),t)),h=xn(h,[["exit",l,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[r][1].end.offset-e[r][1].start.offset?(p=2,h=xn(h,[["enter",e[r][1],t],["exit",e[r][1],t]])):p=0,Yn(e,u-1,r-u+3,h),r=u+h.length-p-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Lb(e,t){const r=this.parser.constructs.attentionMarkers.null,u=this.previous,o=bf(u);let l;return a;function a(f){return l=f,e.enter("attentionSequence"),c(f)}function c(f){if(f===l)return e.consume(f),c;const h=e.exit("attentionSequence"),p=bf(f),g=!p||p===2&&o||r.includes(f),I=!o||o===2&&p||r.includes(u);return h._open=!!(l===42?g:g&&(o||!I)),h._close=!!(l===42?I:I&&(p||!g)),t(f)}}function vf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Db={name:"autolink",tokenize:Mb};function Mb(e,t,r){let u=0;return o;function o(b){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(b){return Jn(b)?(e.consume(b),a):b===64?r(b):h(b)}function a(b){return b===43||b===45||b===46||cn(b)?(u=1,c(b)):h(b)}function c(b){return b===58?(e.consume(b),u=0,f):(b===43||b===45||b===46||cn(b))&&u++<32?(e.consume(b),c):(u=0,h(b))}function f(b){return b===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):b===null||b===32||b===60||rl(b)?r(b):(e.consume(b),f)}function h(b){return b===64?(e.consume(b),p):Sb(b)?(e.consume(b),h):r(b)}function p(b){return cn(b)?g(b):r(b)}function g(b){return b===46?(e.consume(b),u=0,p):b===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):I(b)}function I(b){if((b===45||cn(b))&&u++<63){const S=b===45?I:g;return e.consume(b),S}return r(b)}}const Qu={partial:!0,tokenize:Nb};function Nb(e,t,r){return u;function u(l){return Ue(l)?ct(e,o,"linePrefix")(l):o(l)}function o(l){return l===null||Ae(l)?t(l):r(l)}}const yf={continuation:{tokenize:Wb},exit:Xb,name:"blockQuote",tokenize:Vb};function Vb(e,t,r){const u=this;return o;function o(a){if(a===62){const c=u.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),l}return r(a)}function l(a){return Ue(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Wb(e,t,r){const u=this;return o;function o(a){return Ue(a)?ct(e,l,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):l(a)}function l(a){return e.attempt(yf,t,r)(a)}}function Xb(e){e.exit("blockQuote")}const If={name:"characterEscape",tokenize:Hb};function Hb(e,t,r){return u;function u(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),o}function o(l){return Fb(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(l)}}const Cf={name:"characterReference",tokenize:zb};function zb(e,t,r){const u=this;let o=0,l,a;return c;function c(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),f}function f(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),l=31,a=cn,p(g))}function h(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,a=Eb,p):(e.enter("characterReferenceValue"),l=7,a=il,p(g))}function p(g){if(g===59&&o){const I=e.exit("characterReferenceValue");return a===cn&&!nl(u.sliceSerialize(I))?r(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(g)&&o++<l?(e.consume(g),p):r(g)}}const xf={partial:!0,tokenize:Yb},Af={concrete:!0,name:"codeFenced",tokenize:Zb};function Zb(e,t,r){const u=this,o={partial:!0,tokenize:X};let l=0,a=0,c;return f;function f(R){return h(R)}function h(R){const Y=u.events[u.events.length-1];return l=Y&&Y[1].type==="linePrefix"?Y[2].sliceSerialize(Y[1],!0).length:0,c=R,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(R)}function p(R){return R===c?(a++,e.consume(R),p):a<3?r(R):(e.exit("codeFencedFenceSequence"),Ue(R)?ct(e,g,"whitespace")(R):g(R))}function g(R){return R===null||Ae(R)?(e.exit("codeFencedFence"),u.interrupt?t(R):e.check(xf,A,N)(R)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),I(R))}function I(R){return R===null||Ae(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(R)):Ue(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ct(e,b,"whitespace")(R)):R===96&&R===c?r(R):(e.consume(R),I)}function b(R){return R===null||Ae(R)?g(R):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),S(R))}function S(R){return R===null||Ae(R)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(R)):R===96&&R===c?r(R):(e.consume(R),S)}function A(R){return e.attempt(o,N,F)(R)}function F(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),P}function P(R){return l>0&&Ue(R)?ct(e,L,"linePrefix",l+1)(R):L(R)}function L(R){return R===null||Ae(R)?e.check(xf,A,N)(R):(e.enter("codeFlowValue"),k(R))}function k(R){return R===null||Ae(R)?(e.exit("codeFlowValue"),L(R)):(e.consume(R),k)}function N(R){return e.exit("codeFenced"),t(R)}function X(R,Y,D){let j=0;return Q;function Q(ue){return R.enter("lineEnding"),R.consume(ue),R.exit("lineEnding"),U}function U(ue){return R.enter("codeFencedFence"),Ue(ue)?ct(R,q,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ue):q(ue)}function q(ue){return ue===c?(R.enter("codeFencedFenceSequence"),be(ue)):D(ue)}function be(ue){return ue===c?(j++,R.consume(ue),be):j>=a?(R.exit("codeFencedFenceSequence"),Ue(ue)?ct(R,Se,"whitespace")(ue):Se(ue)):D(ue)}function Se(ue){return ue===null||Ae(ue)?(R.exit("codeFencedFence"),Y(ue)):D(ue)}}}function Yb(e,t,r){const u=this;return o;function o(a){return a===null?r(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l)}function l(a){return u.parser.lazy[u.now().line]?r(a):t(a)}}const sl={name:"codeIndented",tokenize:jb},Jb={partial:!0,tokenize:Ub};function jb(e,t,r){const u=this;return o;function o(h){return e.enter("codeIndented"),ct(e,l,"linePrefix",5)(h)}function l(h){const p=u.events[u.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?a(h):r(h)}function a(h){return h===null?f(h):Ae(h)?e.attempt(Jb,a,f)(h):(e.enter("codeFlowValue"),c(h))}function c(h){return h===null||Ae(h)?(e.exit("codeFlowValue"),a(h)):(e.consume(h),c)}function f(h){return e.exit("codeIndented"),t(h)}}function Ub(e,t,r){const u=this;return o;function o(a){return u.parser.lazy[u.now().line]?r(a):Ae(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):ct(e,l,"linePrefix",5)(a)}function l(a){const c=u.events[u.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(a):Ae(a)?o(a):r(a)}}const Qb={name:"codeText",previous:$b,resolve:qb,tokenize:Kb};function qb(e){let t=e.length-4,r=3,u,o;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(u=r;++u<t;)if(e[u][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(u=r-1,t++;++u<=t;)o===void 0?u!==t&&e[u][1].type!=="lineEnding"&&(o=u):(u===t||e[u][1].type==="lineEnding")&&(e[o][1].type="codeTextData",u!==o+2&&(e[o][1].end=e[u-1][1].end,e.splice(o+2,u-o-2),t-=u-o-2,u=o+2),o=void 0);return e}function $b(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Kb(e,t,r){let u=0,o,l;return a;function a(g){return e.enter("codeText"),e.enter("codeTextSequence"),c(g)}function c(g){return g===96?(e.consume(g),u++,c):(e.exit("codeTextSequence"),f(g))}function f(g){return g===null?r(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),f):g===96?(l=e.enter("codeTextSequence"),o=0,p(g)):Ae(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(g))}function h(g){return g===null||g===32||g===96||Ae(g)?(e.exit("codeTextData"),f(g)):(e.consume(g),h)}function p(g){return g===96?(e.consume(g),o++,p):o===u?(e.exit("codeTextSequence"),e.exit("codeText"),t(g)):(l.type="codeTextData",h(g))}}class e0{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,r){const u=r??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(t,u):t>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(t,r,u){const o=r||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return u&&su(this.left,u),l.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),su(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),su(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 r=this.left.splice(t,Number.POSITIVE_INFINITY);su(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);su(this.left,r.reverse())}}}function su(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function wf(e){const t={};let r=-1,u,o,l,a,c,f,h;const p=new e0(e);for(;++r<p.length;){for(;r in t;)r=t[r];if(u=p.get(r),r&&u[1].type==="chunkFlow"&&p.get(r-1)[1].type==="listItemPrefix"&&(f=u[1]._tokenizer.events,l=0,l<f.length&&f[l][1].type==="lineEndingBlank"&&(l+=2),l<f.length&&f[l][1].type==="content"))for(;++l<f.length&&f[l][1].type!=="content";)f[l][1].type==="chunkText"&&(f[l][1]._isInFirstContentOfListItem=!0,l++);if(u[0]==="enter")u[1].contentType&&(Object.assign(t,t0(p,r)),r=t[r],h=!0);else if(u[1]._container){for(l=r,o=void 0;l--&&(a=p.get(l),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(o&&(p.get(o)[1].type="lineEndingBlank"),a[1].type="lineEnding",o=l);o&&(u[1].end={...p.get(o)[1].start},c=p.slice(o,r),c.unshift(u),p.splice(o,r-o+1,c))}}return Yn(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!h}function t0(e,t){const r=e.get(t)[1],u=e.get(t)[2];let o=t-1;const l=[],a=r._tokenizer||u.parser[r.contentType](r.start),c=a.events,f=[],h={};let p,g,I=-1,b=r,S=0,A=0;const F=[A];for(;b;){for(;e.get(++o)[1]!==b;);l.push(o),b._tokenizer||(p=u.sliceStream(b),b.next||p.push(null),g&&a.defineSkip(b.start),b._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(p),b._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),g=b,b=b.next}for(b=r;++I<c.length;)c[I][0]==="exit"&&c[I-1][0]==="enter"&&c[I][1].type===c[I-1][1].type&&c[I][1].start.line!==c[I][1].end.line&&(A=I+1,F.push(A),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(a.events=[],b?(b._tokenizer=void 0,b.previous=void 0):F.pop(),I=F.length;I--;){const P=c.slice(F[I],F[I+1]),L=l.pop();f.push([L,L+P.length-1]),e.splice(L,2,P)}for(f.reverse(),I=-1;++I<f.length;)h[S+f[I][0]]=S+f[I][1],S+=f[I][1]-f[I][0]-1;return h}const n0={resolve:i0,tokenize:u0},r0={partial:!0,tokenize:o0};function i0(e){return wf(e),e}function u0(e,t){let r;return u;function u(c){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),o(c)}function o(c){return c===null?l(c):Ae(c)?e.check(r0,a,l)(c):(e.consume(c),o)}function l(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function a(c){return e.consume(c),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,o}}function o0(e,t,r){const u=this;return o;function o(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ct(e,l,"linePrefix")}function l(a){if(a===null||Ae(a))return r(a);const c=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(a):e.interrupt(u.parser.constructs.flow,r,t)(a)}}function Sf(e,t,r,u,o,l,a,c,f){const h=f||Number.POSITIVE_INFINITY;let p=0;return g;function g(P){return P===60?(e.enter(u),e.enter(o),e.enter(l),e.consume(P),e.exit(l),I):P===null||P===32||P===41||rl(P)?r(P):(e.enter(u),e.enter(a),e.enter(c),e.enter("chunkString",{contentType:"string"}),A(P))}function I(P){return P===62?(e.enter(l),e.consume(P),e.exit(l),e.exit(o),e.exit(u),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),b(P))}function b(P){return P===62?(e.exit("chunkString"),e.exit(c),I(P)):P===null||P===60||Ae(P)?r(P):(e.consume(P),P===92?S:b)}function S(P){return P===60||P===62||P===92?(e.consume(P),b):b(P)}function A(P){return!p&&(P===null||P===41||$t(P))?(e.exit("chunkString"),e.exit(c),e.exit(a),e.exit(u),t(P)):p<h&&P===40?(e.consume(P),p++,A):P===41?(e.consume(P),p--,A):P===null||P===32||P===40||rl(P)?r(P):(e.consume(P),P===92?F:A)}function F(P){return P===40||P===41||P===92?(e.consume(P),A):A(P)}}function Ef(e,t,r,u,o,l){const a=this;let c=0,f;return h;function h(b){return e.enter(u),e.enter(o),e.consume(b),e.exit(o),e.enter(l),p}function p(b){return c>999||b===null||b===91||b===93&&!f||b===94&&!c&&"_hiddenFootnoteSupport"in a.parser.constructs?r(b):b===93?(e.exit(l),e.enter(o),e.consume(b),e.exit(o),e.exit(u),t):Ae(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),g(b))}function g(b){return b===null||b===91||b===93||Ae(b)||c++>999?(e.exit("chunkString"),p(b)):(e.consume(b),f||(f=!Ue(b)),b===92?I:g)}function I(b){return b===91||b===92||b===93?(e.consume(b),c++,g):g(b)}}function Ff(e,t,r,u,o,l){let a;return c;function c(I){return I===34||I===39||I===40?(e.enter(u),e.enter(o),e.consume(I),e.exit(o),a=I===40?41:I,f):r(I)}function f(I){return I===a?(e.enter(o),e.consume(I),e.exit(o),e.exit(u),t):(e.enter(l),h(I))}function h(I){return I===a?(e.exit(l),f(a)):I===null?r(I):Ae(I)?(e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),ct(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(I))}function p(I){return I===a||I===null||Ae(I)?(e.exit("chunkString"),h(I)):(e.consume(I),I===92?g:p)}function g(I){return I===a||I===92?(e.consume(I),p):p(I)}}function lu(e,t){let r;return u;function u(o){return Ae(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r=!0,u):Ue(o)?ct(e,u,r?"linePrefix":"lineSuffix")(o):t(o)}}const s0={name:"definition",tokenize:a0},l0={partial:!0,tokenize:c0};function a0(e,t,r){const u=this;let o;return l;function l(b){return e.enter("definition"),a(b)}function a(b){return Ef.call(u,e,c,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function c(b){return o=vi(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),f):r(b)}function f(b){return $t(b)?lu(e,h)(b):h(b)}function h(b){return Sf(e,p,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function p(b){return e.attempt(l0,g,g)(b)}function g(b){return Ue(b)?ct(e,I,"whitespace")(b):I(b)}function I(b){return b===null||Ae(b)?(e.exit("definition"),u.parser.defined.push(o),t(b)):r(b)}}function c0(e,t,r){return u;function u(c){return $t(c)?lu(e,o)(c):r(c)}function o(c){return Ff(e,l,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function l(c){return Ue(c)?ct(e,a,"whitespace")(c):a(c)}function a(c){return c===null||Ae(c)?t(c):r(c)}}const f0={name:"hardBreakEscape",tokenize:d0};function d0(e,t,r){return u;function u(l){return e.enter("hardBreakEscape"),e.consume(l),o}function o(l){return Ae(l)?(e.exit("hardBreakEscape"),t(l)):r(l)}}const h0={name:"headingAtx",resolve:p0,tokenize:g0};function p0(e,t){let r=e.length-2,u=3,o,l;return e[u][1].type==="whitespace"&&(u+=2),r-2>u&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(u===r-1||r-4>u&&e[r-2][1].type==="whitespace")&&(r-=u+1===r?2:4),r>u&&(o={type:"atxHeadingText",start:e[u][1].start,end:e[r][1].end},l={type:"chunkText",start:e[u][1].start,end:e[r][1].end,contentType:"text"},Yn(e,u,r-u+1,[["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t]])),e}function g0(e,t,r){let u=0;return o;function o(p){return e.enter("atxHeading"),l(p)}function l(p){return e.enter("atxHeadingSequence"),a(p)}function a(p){return p===35&&u++<6?(e.consume(p),a):p===null||$t(p)?(e.exit("atxHeadingSequence"),c(p)):r(p)}function c(p){return p===35?(e.enter("atxHeadingSequence"),f(p)):p===null||Ae(p)?(e.exit("atxHeading"),t(p)):Ue(p)?ct(e,c,"whitespace")(p):(e.enter("atxHeadingText"),h(p))}function f(p){return p===35?(e.consume(p),f):(e.exit("atxHeadingSequence"),c(p))}function h(p){return p===null||p===35||$t(p)?(e.exit("atxHeadingText"),c(p)):(e.consume(p),h)}}const m0=["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"],Pf=["pre","script","style","textarea"],b0={concrete:!0,name:"htmlFlow",resolveTo:I0,tokenize:C0},v0={partial:!0,tokenize:A0},y0={partial:!0,tokenize:x0};function I0(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 C0(e,t,r){const u=this;let o,l,a,c,f;return h;function h(w){return p(w)}function p(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),g}function g(w){return w===33?(e.consume(w),I):w===47?(e.consume(w),l=!0,A):w===63?(e.consume(w),o=3,u.interrupt?t:E):Jn(w)?(e.consume(w),a=String.fromCharCode(w),F):r(w)}function I(w){return w===45?(e.consume(w),o=2,b):w===91?(e.consume(w),o=5,c=0,S):Jn(w)?(e.consume(w),o=4,u.interrupt?t:E):r(w)}function b(w){return w===45?(e.consume(w),u.interrupt?t:E):r(w)}function S(w){const je="CDATA[";return w===je.charCodeAt(c++)?(e.consume(w),c===je.length?u.interrupt?t:q:S):r(w)}function A(w){return Jn(w)?(e.consume(w),a=String.fromCharCode(w),F):r(w)}function F(w){if(w===null||w===47||w===62||$t(w)){const je=w===47,ge=a.toLowerCase();return!je&&!l&&Pf.includes(ge)?(o=1,u.interrupt?t(w):q(w)):m0.includes(a.toLowerCase())?(o=6,je?(e.consume(w),P):u.interrupt?t(w):q(w)):(o=7,u.interrupt&&!u.parser.lazy[u.now().line]?r(w):l?L(w):k(w))}return w===45||cn(w)?(e.consume(w),a+=String.fromCharCode(w),F):r(w)}function P(w){return w===62?(e.consume(w),u.interrupt?t:q):r(w)}function L(w){return Ue(w)?(e.consume(w),L):Q(w)}function k(w){return w===47?(e.consume(w),Q):w===58||w===95||Jn(w)?(e.consume(w),N):Ue(w)?(e.consume(w),k):Q(w)}function N(w){return w===45||w===46||w===58||w===95||cn(w)?(e.consume(w),N):X(w)}function X(w){return w===61?(e.consume(w),R):Ue(w)?(e.consume(w),X):k(w)}function R(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(e.consume(w),f=w,Y):Ue(w)?(e.consume(w),R):D(w)}function Y(w){return w===f?(e.consume(w),f=null,j):w===null||Ae(w)?r(w):(e.consume(w),Y)}function D(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||$t(w)?X(w):(e.consume(w),D)}function j(w){return w===47||w===62||Ue(w)?k(w):r(w)}function Q(w){return w===62?(e.consume(w),U):r(w)}function U(w){return w===null||Ae(w)?q(w):Ue(w)?(e.consume(w),U):r(w)}function q(w){return w===45&&o===2?(e.consume(w),pe):w===60&&o===1?(e.consume(w),Ee):w===62&&o===4?(e.consume(w),xe):w===63&&o===3?(e.consume(w),E):w===93&&o===5?(e.consume(w),Ke):Ae(w)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(v0,Le,be)(w)):w===null||Ae(w)?(e.exit("htmlFlowData"),be(w)):(e.consume(w),q)}function be(w){return e.check(y0,Se,Le)(w)}function Se(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),ue}function ue(w){return w===null||Ae(w)?be(w):(e.enter("htmlFlowData"),q(w))}function pe(w){return w===45?(e.consume(w),E):q(w)}function Ee(w){return w===47?(e.consume(w),a="",Oe):q(w)}function Oe(w){if(w===62){const je=a.toLowerCase();return Pf.includes(je)?(e.consume(w),xe):q(w)}return Jn(w)&&a.length<8?(e.consume(w),a+=String.fromCharCode(w),Oe):q(w)}function Ke(w){return w===93?(e.consume(w),E):q(w)}function E(w){return w===62?(e.consume(w),xe):w===45&&o===2?(e.consume(w),E):q(w)}function xe(w){return w===null||Ae(w)?(e.exit("htmlFlowData"),Le(w)):(e.consume(w),xe)}function Le(w){return e.exit("htmlFlow"),t(w)}}function x0(e,t,r){const u=this;return o;function o(a){return Ae(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l):r(a)}function l(a){return u.parser.lazy[u.now().line]?r(a):t(a)}}function A0(e,t,r){return u;function u(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(Qu,t,r)}}const w0={name:"htmlText",tokenize:S0};function S0(e,t,r){const u=this;let o,l,a;return c;function c(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),f}function f(E){return E===33?(e.consume(E),h):E===47?(e.consume(E),X):E===63?(e.consume(E),k):Jn(E)?(e.consume(E),D):r(E)}function h(E){return E===45?(e.consume(E),p):E===91?(e.consume(E),l=0,S):Jn(E)?(e.consume(E),L):r(E)}function p(E){return E===45?(e.consume(E),b):r(E)}function g(E){return E===null?r(E):E===45?(e.consume(E),I):Ae(E)?(a=g,Ee(E)):(e.consume(E),g)}function I(E){return E===45?(e.consume(E),b):g(E)}function b(E){return E===62?pe(E):E===45?I(E):g(E)}function S(E){const xe="CDATA[";return E===xe.charCodeAt(l++)?(e.consume(E),l===xe.length?A:S):r(E)}function A(E){return E===null?r(E):E===93?(e.consume(E),F):Ae(E)?(a=A,Ee(E)):(e.consume(E),A)}function F(E){return E===93?(e.consume(E),P):A(E)}function P(E){return E===62?pe(E):E===93?(e.consume(E),P):A(E)}function L(E){return E===null||E===62?pe(E):Ae(E)?(a=L,Ee(E)):(e.consume(E),L)}function k(E){return E===null?r(E):E===63?(e.consume(E),N):Ae(E)?(a=k,Ee(E)):(e.consume(E),k)}function N(E){return E===62?pe(E):k(E)}function X(E){return Jn(E)?(e.consume(E),R):r(E)}function R(E){return E===45||cn(E)?(e.consume(E),R):Y(E)}function Y(E){return Ae(E)?(a=Y,Ee(E)):Ue(E)?(e.consume(E),Y):pe(E)}function D(E){return E===45||cn(E)?(e.consume(E),D):E===47||E===62||$t(E)?j(E):r(E)}function j(E){return E===47?(e.consume(E),pe):E===58||E===95||Jn(E)?(e.consume(E),Q):Ae(E)?(a=j,Ee(E)):Ue(E)?(e.consume(E),j):pe(E)}function Q(E){return E===45||E===46||E===58||E===95||cn(E)?(e.consume(E),Q):U(E)}function U(E){return E===61?(e.consume(E),q):Ae(E)?(a=U,Ee(E)):Ue(E)?(e.consume(E),U):j(E)}function q(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(e.consume(E),o=E,be):Ae(E)?(a=q,Ee(E)):Ue(E)?(e.consume(E),q):(e.consume(E),Se)}function be(E){return E===o?(e.consume(E),o=void 0,ue):E===null?r(E):Ae(E)?(a=be,Ee(E)):(e.consume(E),be)}function Se(E){return E===null||E===34||E===39||E===60||E===61||E===96?r(E):E===47||E===62||$t(E)?j(E):(e.consume(E),Se)}function ue(E){return E===47||E===62||$t(E)?j(E):r(E)}function pe(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),t):r(E)}function Ee(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),Oe}function Oe(E){return Ue(E)?ct(e,Ke,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):Ke(E)}function Ke(E){return e.enter("htmlTextData"),a(E)}}const ll={name:"labelEnd",resolveAll:O0,resolveTo:T0,tokenize:B0},E0={tokenize:_0},F0={tokenize:G0},P0={tokenize:R0};function O0(e){let t=-1;const r=[];for(;++t<e.length;){const u=e[t][1];if(r.push(e[t]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const o=u.type==="labelImage"?4:2;u.type="data",t+=o}}return e.length!==r.length&&Yn(e,0,e.length,r),e}function T0(e,t){let r=e.length,u=0,o,l,a,c;for(;r--;)if(o=e[r][1],l){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[r][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(a){if(e[r][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(l=r,o.type!=="labelLink")){u=2;break}}else o.type==="labelEnd"&&(a=r);const f={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[l][1].start},end:{...e[a][1].end}},p={type:"labelText",start:{...e[l+u+2][1].end},end:{...e[a-2][1].start}};return c=[["enter",f,t],["enter",h,t]],c=xn(c,e.slice(l+1,l+u+3)),c=xn(c,[["enter",p,t]]),c=xn(c,ul(t.parser.constructs.insideSpan.null,e.slice(l+u+4,a-3),t)),c=xn(c,[["exit",p,t],e[a-2],e[a-1],["exit",h,t]]),c=xn(c,e.slice(a+1)),c=xn(c,[["exit",f,t]]),Yn(e,l,e.length,c),e}function B0(e,t,r){const u=this;let o=u.events.length,l,a;for(;o--;)if((u.events[o][1].type==="labelImage"||u.events[o][1].type==="labelLink")&&!u.events[o][1]._balanced){l=u.events[o][1];break}return c;function c(I){return l?l._inactive?g(I):(a=u.parser.defined.includes(vi(u.sliceSerialize({start:l.end,end:u.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(I),e.exit("labelMarker"),e.exit("labelEnd"),f):r(I)}function f(I){return I===40?e.attempt(E0,p,a?p:g)(I):I===91?e.attempt(F0,p,a?h:g)(I):a?p(I):g(I)}function h(I){return e.attempt(P0,p,g)(I)}function p(I){return t(I)}function g(I){return l._balanced=!0,r(I)}}function _0(e,t,r){return u;function u(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),o}function o(g){return $t(g)?lu(e,l)(g):l(g)}function l(g){return g===41?p(g):Sf(e,a,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function a(g){return $t(g)?lu(e,f)(g):p(g)}function c(g){return r(g)}function f(g){return g===34||g===39||g===40?Ff(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):p(g)}function h(g){return $t(g)?lu(e,p)(g):p(g)}function p(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),t):r(g)}}function G0(e,t,r){const u=this;return o;function o(c){return Ef.call(u,e,l,a,"reference","referenceMarker","referenceString")(c)}function l(c){return u.parser.defined.includes(vi(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?t(c):r(c)}function a(c){return r(c)}}function R0(e,t,r){return u;function u(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),o}function o(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):r(l)}}const k0={name:"labelStartImage",resolveAll:ll.resolveAll,tokenize:L0};function L0(e,t,r){const u=this;return o;function o(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),l}function l(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),a):r(c)}function a(c){return c===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(c):t(c)}}const D0={name:"labelStartLink",resolveAll:ll.resolveAll,tokenize:M0};function M0(e,t,r){const u=this;return o;function o(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),l}function l(a){return a===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(a):t(a)}}const al={name:"lineEnding",tokenize:N0};function N0(e,t){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ct(e,t,"linePrefix")}}const qu={name:"thematicBreak",tokenize:V0};function V0(e,t,r){let u=0,o;return l;function l(h){return e.enter("thematicBreak"),a(h)}function a(h){return o=h,c(h)}function c(h){return h===o?(e.enter("thematicBreakSequence"),f(h)):u>=3&&(h===null||Ae(h))?(e.exit("thematicBreak"),t(h)):r(h)}function f(h){return h===o?(e.consume(h),u++,f):(e.exit("thematicBreakSequence"),Ue(h)?ct(e,c,"whitespace")(h):c(h))}}const Kt={continuation:{tokenize:z0},exit:Y0,name:"list",tokenize:H0},W0={partial:!0,tokenize:J0},X0={partial:!0,tokenize:Z0};function H0(e,t,r){const u=this,o=u.events[u.events.length-1];let l=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,a=0;return c;function c(b){const S=u.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(S==="listUnordered"?!u.containerState.marker||b===u.containerState.marker:il(b)){if(u.containerState.type||(u.containerState.type=S,e.enter(S,{_container:!0})),S==="listUnordered")return e.enter("listItemPrefix"),b===42||b===45?e.check(qu,r,h)(b):h(b);if(!u.interrupt||b===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(b)}return r(b)}function f(b){return il(b)&&++a<10?(e.consume(b),f):(!u.interrupt||a<2)&&(u.containerState.marker?b===u.containerState.marker:b===41||b===46)?(e.exit("listItemValue"),h(b)):r(b)}function h(b){return e.enter("listItemMarker"),e.consume(b),e.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||b,e.check(Qu,u.interrupt?r:p,e.attempt(W0,I,g))}function p(b){return u.containerState.initialBlankLine=!0,l++,I(b)}function g(b){return Ue(b)?(e.enter("listItemPrefixWhitespace"),e.consume(b),e.exit("listItemPrefixWhitespace"),I):r(b)}function I(b){return u.containerState.size=l+u.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(b)}}function z0(e,t,r){const u=this;return u.containerState._closeFlow=void 0,e.check(Qu,o,l);function o(c){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,ct(e,t,"listItemIndent",u.containerState.size+1)(c)}function l(c){return u.containerState.furtherBlankLines||!Ue(c)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,a(c)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,e.attempt(X0,t,a)(c))}function a(c){return u.containerState._closeFlow=!0,u.interrupt=void 0,ct(e,e.attempt(Kt,t,r),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function Z0(e,t,r){const u=this;return ct(e,o,"listItemIndent",u.containerState.size+1);function o(l){const a=u.events[u.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===u.containerState.size?t(l):r(l)}}function Y0(e){e.exit(this.containerState.type)}function J0(e,t,r){const u=this;return ct(e,o,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(l){const a=u.events[u.events.length-1];return!Ue(l)&&a&&a[1].type==="listItemPrefixWhitespace"?t(l):r(l)}}const Of={name:"setextUnderline",resolveTo:j0,tokenize:U0};function j0(e,t){let r=e.length,u,o,l;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){u=r;break}e[r][1].type==="paragraph"&&(o=r)}else e[r][1].type==="content"&&e.splice(r,1),!l&&e[r][1].type==="definition"&&(l=r);const a={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",l?(e.splice(o,0,["enter",a,t]),e.splice(l+1,0,["exit",e[u][1],t]),e[u][1].end={...e[l][1].end}):e[u][1]=a,e.push(["exit",a,t]),e}function U0(e,t,r){const u=this;let o;return l;function l(h){let p=u.events.length,g;for(;p--;)if(u.events[p][1].type!=="lineEnding"&&u.events[p][1].type!=="linePrefix"&&u.events[p][1].type!=="content"){g=u.events[p][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||g)?(e.enter("setextHeadingLine"),o=h,a(h)):r(h)}function a(h){return e.enter("setextHeadingLineSequence"),c(h)}function c(h){return h===o?(e.consume(h),c):(e.exit("setextHeadingLineSequence"),Ue(h)?ct(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Ae(h)?(e.exit("setextHeadingLine"),t(h)):r(h)}}const Q0={tokenize:q0};function q0(e){const t=this,r=e.attempt(Qu,u,e.attempt(this.parser.constructs.flowInitial,o,ct(e,e.attempt(this.parser.constructs.flow,o,e.attempt(n0,o)),"linePrefix")));return r;function u(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function o(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const $0={resolveAll:Bf()},K0=Tf("string"),ev=Tf("text");function Tf(e){return{resolveAll:Bf(e==="text"?tv:void 0),tokenize:t};function t(r){const u=this,o=this.parser.constructs[e],l=r.attempt(o,a,c);return a;function a(p){return h(p)?l(p):c(p)}function c(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),f}function f(p){return h(p)?(r.exit("data"),l(p)):(r.consume(p),f)}function h(p){if(p===null)return!0;const g=o[p];let I=-1;if(g)for(;++I<g.length;){const b=g[I];if(!b.previous||b.previous.call(u,u.previous))return!0}return!1}}}function Bf(e){return t;function t(r,u){let o=-1,l;for(;++o<=r.length;)l===void 0?r[o]&&r[o][1].type==="data"&&(l=o,o++):(!r[o]||r[o][1].type!=="data")&&(o!==l+2&&(r[l][1].end=r[o-1][1].end,r.splice(l+2,o-l-2),o=l+2),l=void 0);return e?e(r,u):r}}function tv(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const u=e[r-1][1],o=t.sliceStream(u);let l=o.length,a=-1,c=0,f;for(;l--;){const h=o[l];if(typeof h=="string"){for(a=h.length;h.charCodeAt(a-1)===32;)c++,a--;if(a)break;a=-1}else if(h===-2)f=!0,c++;else if(h!==-1){l++;break}}if(c){const h={type:r===e.length||f||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:u.start._bufferIndex+a,_index:u.start._index+l,line:u.end.line,column:u.end.column-c,offset:u.end.offset-c},end:{...u.end}};u.end={...h.start},u.start.offset===u.end.offset?Object.assign(u,h):(e.splice(r,0,["enter",h,t],["exit",h,t]),r+=2)}r++}return e}const nv=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:s0},disable:{null:[]},document:{42:Kt,43:Kt,45:Kt,48:Kt,49:Kt,50:Kt,51:Kt,52:Kt,53:Kt,54:Kt,55:Kt,56:Kt,57:Kt,62:yf},flow:{35:h0,42:qu,45:[Of,qu],60:b0,61:Of,95:qu,96:Af,126:Af},flowInitial:{[-2]:sl,[-1]:sl,32:sl},insideSpan:{null:[ol,$0]},string:{38:Cf,92:If},text:{[-5]:al,[-4]:al,[-3]:al,33:k0,38:Cf,42:ol,60:[Db,w0],91:D0,92:[f0,If],93:ll,95:ol,96:Qb}},Symbol.toStringTag,{value:"Module"}));function rv(e,t,r){let u={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const o={},l=[];let a=[],c=[];const f={attempt:Y(X),check:Y(R),consume:L,enter:k,exit:N,interrupt:Y(R,{interrupt:!0})},h={code:null,containerState:{},defineSkip:A,events:[],now:S,parser:e,previous:null,sliceSerialize:I,sliceStream:b,write:g};let p=t.tokenize.call(h,f);return t.resolveAll&&l.push(t),h;function g(U){return a=xn(a,U),F(),a[a.length-1]!==null?[]:(D(t,0),h.events=ul(l,h.events,h),h.events)}function I(U,q){return uv(b(U),q)}function b(U){return iv(a,U)}function S(){const{_bufferIndex:U,_index:q,line:be,column:Se,offset:ue}=u;return{_bufferIndex:U,_index:q,line:be,column:Se,offset:ue}}function A(U){o[U.line]=U.column,Q()}function F(){let U;for(;u._index<a.length;){const q=a[u._index];if(typeof q=="string")for(U=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===U&&u._bufferIndex<q.length;)P(q.charCodeAt(u._bufferIndex));else P(q)}}function P(U){p=p(U)}function L(U){Ae(U)?(u.line++,u.column=1,u.offset+=U===-3?2:1,Q()):U!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===a[u._index].length&&(u._bufferIndex=-1,u._index++)),h.previous=U}function k(U,q){const be=q||{};return be.type=U,be.start=S(),h.events.push(["enter",be,h]),c.push(be),be}function N(U){const q=c.pop();return q.end=S(),h.events.push(["exit",q,h]),q}function X(U,q){D(U,q.from)}function R(U,q){q.restore()}function Y(U,q){return be;function be(Se,ue,pe){let Ee,Oe,Ke,E;return Array.isArray(Se)?Le(Se):"tokenize"in Se?Le([Se]):xe(Se);function xe(Ne){return St;function St(Ve){const vt=Ve!==null&&Ne[Ve],Xt=Ve!==null&&Ne.null,Lt=[...Array.isArray(vt)?vt:vt?[vt]:[],...Array.isArray(Xt)?Xt:Xt?[Xt]:[]];return Le(Lt)(Ve)}}function Le(Ne){return Ee=Ne,Oe=0,Ne.length===0?pe:w(Ne[Oe])}function w(Ne){return St;function St(Ve){return E=j(),Ke=Ne,Ne.partial||(h.currentConstruct=Ne),Ne.name&&h.parser.constructs.disable.null.includes(Ne.name)?ge():Ne.tokenize.call(q?Object.assign(Object.create(h),q):h,f,je,ge)(Ve)}}function je(Ne){return U(Ke,E),ue}function ge(Ne){return E.restore(),++Oe<Ee.length?w(Ee[Oe]):pe}}}function D(U,q){U.resolveAll&&!l.includes(U)&&l.push(U),U.resolve&&Yn(h.events,q,h.events.length-q,U.resolve(h.events.slice(q),h)),U.resolveTo&&(h.events=U.resolveTo(h.events,h))}function j(){const U=S(),q=h.previous,be=h.currentConstruct,Se=h.events.length,ue=Array.from(c);return{from:Se,restore:pe};function pe(){u=U,h.previous=q,h.currentConstruct=be,h.events.length=Se,c=ue,Q()}}function Q(){u.line in o&&u.column<2&&(u.column=o[u.line],u.offset+=o[u.line]-1)}}function iv(e,t){const r=t.start._index,u=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex;let a;if(r===o)a=[e[r].slice(u,l)];else{if(a=e.slice(r,o),u>-1){const c=a[0];typeof c=="string"?a[0]=c.slice(u):a.shift()}l>0&&a.push(e[o].slice(0,l))}return a}function uv(e,t){let r=-1;const u=[];let o;for(;++r<e.length;){const l=e[r];let a;if(typeof l=="string")a=l;else switch(l){case-5:{a="\r";break}case-4:{a=`
|
|
3
3
|
`;break}case-3:{a=`\r
|
|
4
|
-
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&o)continue;a=" ";break}default:a=String.fromCharCode(l)}o=l===-2,u.push(a)}return u.join("")}function ov(e){const u={constructs:xb([nv,...(e||{}).extensions||[]]),content:o(Ob),defined:[],document:o(_b),flow:o(Q0),lazy:{},string:o(K0),text:o(ev)};return u;function o(l){return a;function a(c){return rv(u,l,c)}}}function sv(e){for(;!Af(e););return e}const Bf=/[\0\t\n\r]/g;function lv(){let e=1,t="",r=!0,u;return o;function o(l,a,c){const f=[];let h,p,g,I,b;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(a||void 0).decode(l)),g=0,t="",r&&(l.charCodeAt(0)===65279&&g++,r=void 0);g<l.length;){if(Bf.lastIndex=g,h=Bf.exec(l),I=h&&h.index!==void 0?h.index:l.length,b=l.charCodeAt(I),!h){t=l.slice(g);break}if(b===10&&g===I&&u)f.push(-3),u=void 0;else switch(u&&(f.push(-5),u=void 0),g<I&&(f.push(l.slice(g,I)),e+=I-g),b){case 0:{f.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,f.push(-2);e++<p;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:u=!0,e=1}g=I+1}return c&&(u&&f.push(-5),t&&f.push(t),f.push(null)),f}}const av=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function cv(e){return e.replace(av,fv)}function fv(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const o=r.charCodeAt(1),l=o===120||o===88;return pf(r.slice(l?2:1),l?16:10)}return tl(r)||e}const _f={}.hasOwnProperty;function dv(e,t,r){return typeof t!="string"&&(r=t,t=void 0),hv(r)(sv(ov(r).document().write(lv()(e,t,!0))))}function hv(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(ki),autolinkProtocol:j,autolinkEmail:j,atxHeading:l(vn),blockQuote:l(ye),characterEscape:j,characterReference:j,codeFenced:l(Me),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:l(Me,a),codeText:l(ct,a),codeTextData:j,data:j,codeFlowValue:j,definition:l(Gt),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:l(At),hardBreakEscape:l(Gi),hardBreakTrailing:l(Gi),htmlFlow:l(Ut,a),htmlFlowData:j,htmlText:l(Ut,a),htmlTextData:j,image:l(Ri),label:a,link:l(ki),listItem:l(Mt),listItemValue:I,listOrdered:l(Yn,g),listUnordered:l(Yn),paragraph:l(tr),reference:w,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:l(vn),strong:l(Er),thematicBreak:l(nr)},exit:{atxHeading:f(),atxHeadingSequence:V,autolink:f(),autolinkEmail:oe,autolinkProtocol:ee,blockQuote:f(),characterEscapeValue:ne,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:De,characterReference:yt,codeFenced:f(F),codeFencedFence:A,codeFencedFenceInfo:b,codeFencedFenceMeta:E,codeFlowValue:ne,codeIndented:f(P),codeText:f(ie),codeTextData:ne,data:ne,definition:f(),definitionDestinationString:L,definitionLabelString:D,definitionTitleString:k,emphasis:f(),hardBreakEscape:f(Q),hardBreakTrailing:f(Q),htmlFlow:f(ve),htmlFlowData:ne,htmlText:f(Be),htmlTextData:ne,image:f(de),label:qe,labelText:Se,lineEnding:$,link:f(ge),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:Je,resourceDestinationString:S,resourceTitleString:He,resource:Le,setextHeading:f(N),setextHeadingLineSequence:J,setextHeadingText:R,strong:f(),thematicBreak:f()}};Gf(t,(e||{}).mdastExtensions||[]);const r={};return u;function u(X){let te={type:"root",children:[]};const pe={stack:[te],tokenStack:[],config:t,enter:c,exit:h,buffer:a,resume:p,data:r},_e=[];let Ge=-1;for(;++Ge<X.length;)if(X[Ge][1].type==="listOrdered"||X[Ge][1].type==="listUnordered")if(X[Ge][0]==="enter")_e.push(Ge);else{const Et=_e.pop();Ge=o(X,Et,Ge)}for(Ge=-1;++Ge<X.length;){const Et=t[X[Ge][0]];_f.call(Et,X[Ge][1].type)&&Et[X[Ge][1].type].call(Object.assign({sliceSerialize:X[Ge][2].sliceSerialize},pe),X[Ge][1])}if(pe.tokenStack.length>0){const Et=pe.tokenStack[pe.tokenStack.length-1];(Et[1]||Rf).call(pe,void 0,Et[0])}for(te.position={start:vr(X.length>0?X[0][1].start:{line:1,column:1,offset:0}),end:vr(X.length>0?X[X.length-2][1].end:{line:1,column:1,offset:0})},Ge=-1;++Ge<t.transforms.length;)te=t.transforms[Ge](te)||te;return te}function o(X,te,pe){let _e=te-1,Ge=-1,Et=!1,jt,Nt,yn,Qt;for(;++_e<=pe;){const It=X[_e];switch(It[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{It[0]==="enter"?Ge++:Ge--,Qt=void 0;break}case"lineEndingBlank":{It[0]==="enter"&&(jt&&!Qt&&!Ge&&!yn&&(yn=_e),Qt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Qt=void 0}if(!Ge&&It[0]==="enter"&&It[1].type==="listItemPrefix"||Ge===-1&&It[0]==="exit"&&(It[1].type==="listUnordered"||It[1].type==="listOrdered")){if(jt){let on=_e;for(Nt=void 0;on--;){const sn=X[on];if(sn[1].type==="lineEnding"||sn[1].type==="lineEndingBlank"){if(sn[0]==="exit")continue;Nt&&(X[Nt][1].type="lineEndingBlank",Et=!0),sn[1].type="lineEnding",Nt=on}else if(!(sn[1].type==="linePrefix"||sn[1].type==="blockQuotePrefix"||sn[1].type==="blockQuotePrefixWhitespace"||sn[1].type==="blockQuoteMarker"||sn[1].type==="listItemIndent"))break}yn&&(!Nt||yn<Nt)&&(jt._spread=!0),jt.end=Object.assign({},Nt?X[Nt][1].start:It[1].end),X.splice(Nt||_e,0,["exit",jt,It[2]]),_e++,pe++}if(It[1].type==="listItemPrefix"){const on={type:"listItem",_spread:!1,start:Object.assign({},It[1].start),end:void 0};jt=on,X.splice(_e,0,["enter",on,It[2]]),_e++,pe++,yn=void 0,Qt=!0}}}return X[te][1]._spread=Et,pe}function l(X,te){return pe;function pe(_e){c.call(this,X(_e),_e),te&&te.call(this,_e)}}function a(){this.stack.push({type:"fragment",children:[]})}function c(X,te,pe){this.stack[this.stack.length-1].children.push(X),this.stack.push(X),this.tokenStack.push([te,pe||void 0]),X.position={start:vr(te.start),end:void 0}}function f(X){return te;function te(pe){X&&X.call(this,pe),h.call(this,pe)}}function h(X,te){const pe=this.stack.pop(),_e=this.tokenStack.pop();if(_e)_e[0].type!==X.type&&(te?te.call(this,X,_e[0]):(_e[1]||Rf).call(this,X,_e[0]));else throw new Error("Cannot close `"+X.type+"` ("+iu({start:X.start,end:X.end})+"): it’s not open");pe.position.end=vr(X.end)}function p(){return Ib(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function I(X){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(X),10),this.data.expectingFirstListItemValue=void 0}}function b(){const X=this.resume(),te=this.stack[this.stack.length-1];te.lang=X}function E(){const X=this.resume(),te=this.stack[this.stack.length-1];te.meta=X}function A(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const X=this.resume(),te=this.stack[this.stack.length-1];te.value=X.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function P(){const X=this.resume(),te=this.stack[this.stack.length-1];te.value=X.replace(/(\r?\n|\r)$/g,"")}function D(X){const te=this.resume(),pe=this.stack[this.stack.length-1];pe.label=te,pe.identifier=pi(this.sliceSerialize(X)).toLowerCase()}function k(){const X=this.resume(),te=this.stack[this.stack.length-1];te.title=X}function L(){const X=this.resume(),te=this.stack[this.stack.length-1];te.url=X}function V(X){const te=this.stack[this.stack.length-1];if(!te.depth){const pe=this.sliceSerialize(X).length;te.depth=pe}}function R(){this.data.setextHeadingSlurpLineEnding=!0}function J(X){const te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(X).codePointAt(0)===61?1:2}function N(){this.data.setextHeadingSlurpLineEnding=void 0}function j(X){const pe=this.stack[this.stack.length-1].children;let _e=pe[pe.length-1];(!_e||_e.type!=="text")&&(_e=Au(),_e.position={start:vr(X.start),end:void 0},pe.push(_e)),this.stack.push(_e)}function ne(X){const te=this.stack.pop();te.value+=this.sliceSerialize(X),te.position.end=vr(X.end)}function $(X){const te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const pe=te.children[te.children.length-1];pe.position.end=vr(X.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(j.call(this,X),ne.call(this,X))}function Q(){this.data.atHardBreak=!0}function ve(){const X=this.resume(),te=this.stack[this.stack.length-1];te.value=X}function Be(){const X=this.resume(),te=this.stack[this.stack.length-1];te.value=X}function ie(){const X=this.resume(),te=this.stack[this.stack.length-1];te.value=X}function ge(){const X=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";X.type+="Reference",X.referenceType=te,delete X.url,delete X.title}else delete X.identifier,delete X.label;this.data.referenceType=void 0}function de(){const X=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";X.type+="Reference",X.referenceType=te,delete X.url,delete X.title}else delete X.identifier,delete X.label;this.data.referenceType=void 0}function Se(X){const te=this.sliceSerialize(X),pe=this.stack[this.stack.length-2];pe.label=cv(te),pe.identifier=pi(te).toLowerCase()}function qe(){const X=this.stack[this.stack.length-1],te=this.resume(),pe=this.stack[this.stack.length-1];if(this.data.inReference=!0,pe.type==="link"){const _e=X.children;pe.children=_e}else pe.alt=te}function S(){const X=this.resume(),te=this.stack[this.stack.length-1];te.url=X}function He(){const X=this.resume(),te=this.stack[this.stack.length-1];te.title=X}function Le(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function Je(X){const te=this.resume(),pe=this.stack[this.stack.length-1];pe.label=te,pe.identifier=pi(this.sliceSerialize(X)).toLowerCase(),this.data.referenceType="full"}function me(X){this.data.characterReferenceType=X.type}function De(X){const te=this.sliceSerialize(X),pe=this.data.characterReferenceType;let _e;pe?(_e=pf(te,pe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):_e=tl(te);const Ge=this.stack[this.stack.length-1];Ge.value+=_e}function yt(X){const te=this.stack.pop();te.position.end=vr(X.end)}function ee(X){ne.call(this,X);const te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(X)}function oe(X){ne.call(this,X);const te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(X)}function ye(){return{type:"blockquote",children:[]}}function Me(){return{type:"code",lang:null,meta:null,value:""}}function ct(){return{type:"inlineCode",value:""}}function Gt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function At(){return{type:"emphasis",children:[]}}function vn(){return{type:"heading",depth:0,children:[]}}function Gi(){return{type:"break"}}function Ut(){return{type:"html",value:""}}function Ri(){return{type:"image",title:null,url:"",alt:null}}function ki(){return{type:"link",title:null,url:"",children:[]}}function Yn(X){return{type:"list",ordered:X.type==="listOrdered",start:null,spread:X._spread,children:[]}}function Mt(X){return{type:"listItem",spread:X._spread,checked:null,children:[]}}function tr(){return{type:"paragraph",children:[]}}function Er(){return{type:"strong",children:[]}}function Au(){return{type:"text",value:""}}function nr(){return{type:"thematicBreak"}}}function vr(e){return{line:e.line,column:e.column,offset:e.offset}}function Gf(e,t){let r=-1;for(;++r<t.length;){const u=t[r];Array.isArray(u)?Gf(e,u):pv(e,u)}}function pv(e,t){let r;for(r in t)if(_f.call(t,r))switch(r){case"canContainEols":{const u=t[r];u&&e[r].push(...u);break}case"transforms":{const u=t[r];u&&e[r].push(...u);break}case"enter":case"exit":{const u=t[r];u&&Object.assign(e[r],u);break}}}function Rf(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+iu({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+iu({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+iu({start:t.start,end:t.end})+") is still open")}function gv(e){const t=this;t.parser=r;function r(u){return dv(u,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function mv(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function bv(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
4
|
+
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&o)continue;a=" ";break}default:a=String.fromCharCode(l)}o=l===-2,u.push(a)}return u.join("")}function ov(e){const u={constructs:xb([nv,...(e||{}).extensions||[]]),content:o(Tb),defined:[],document:o(_b),flow:o(Q0),lazy:{},string:o(K0),text:o(ev)};return u;function o(l){return a;function a(c){return rv(u,l,c)}}}function sv(e){for(;!wf(e););return e}const _f=/[\0\t\n\r]/g;function lv(){let e=1,t="",r=!0,u;return o;function o(l,a,c){const f=[];let h,p,g,I,b;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(a||void 0).decode(l)),g=0,t="",r&&(l.charCodeAt(0)===65279&&g++,r=void 0);g<l.length;){if(_f.lastIndex=g,h=_f.exec(l),I=h&&h.index!==void 0?h.index:l.length,b=l.charCodeAt(I),!h){t=l.slice(g);break}if(b===10&&g===I&&u)f.push(-3),u=void 0;else switch(u&&(f.push(-5),u=void 0),g<I&&(f.push(l.slice(g,I)),e+=I-g),b){case 0:{f.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,f.push(-2);e++<p;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:u=!0,e=1}g=I+1}return c&&(u&&f.push(-5),t&&f.push(t),f.push(null)),f}}const av=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function cv(e){return e.replace(av,fv)}function fv(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const o=r.charCodeAt(1),l=o===120||o===88;return gf(r.slice(l?2:1),l?16:10)}return nl(r)||e}const Gf={}.hasOwnProperty;function dv(e,t,r){return typeof t!="string"&&(r=t,t=void 0),hv(r)(sv(ov(r).document().write(lv()(e,t,!0))))}function hv(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Bt),autolinkProtocol:j,autolinkEmail:j,atxHeading:l(oe),blockQuote:l(Xt),characterEscape:j,characterReference:j,codeFenced:l(Lt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:l(Lt,a),codeText:l(Dt,a),codeTextData:j,data:j,codeFlowValue:j,definition:l(Nn),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:l(ne),hardBreakEscape:l(ye),hardBreakTrailing:l(ye),htmlFlow:l(Ge,a),htmlFlowData:j,htmlText:l(Ge,a),htmlTextData:j,image:l(yt),label:a,link:l(Bt),listItem:l(Mt),listItemValue:I,listOrdered:l(Sn,g),listUnordered:l(Sn),paragraph:l(nt),reference:w,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:l(oe),strong:l(Qe),thematicBreak:l(et)},exit:{atxHeading:f(),atxHeadingSequence:X,autolink:f(),autolinkEmail:vt,autolinkProtocol:Ve,blockQuote:f(),characterEscapeValue:Q,characterReferenceMarkerHexadecimal:ge,characterReferenceMarkerNumeric:ge,characterReferenceValue:Ne,characterReference:St,codeFenced:f(F),codeFencedFence:A,codeFencedFenceInfo:b,codeFencedFenceMeta:S,codeFlowValue:Q,codeIndented:f(P),codeText:f(ue),codeTextData:Q,data:Q,definition:f(),definitionDestinationString:N,definitionLabelString:L,definitionTitleString:k,emphasis:f(),hardBreakEscape:f(q),hardBreakTrailing:f(q),htmlFlow:f(be),htmlFlowData:Q,htmlText:f(Se),htmlTextData:Q,image:f(Ee),label:Ke,labelText:Oe,lineEnding:U,link:f(pe),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:je,resourceDestinationString:E,resourceTitleString:xe,resource:Le,setextHeading:f(D),setextHeadingLineSequence:Y,setextHeadingText:R,strong:f(),thematicBreak:f()}};Rf(t,(e||{}).mdastExtensions||[]);const r={};return u;function u(V){let te={type:"root",children:[]};const he={stack:[te],tokenStack:[],config:t,enter:c,exit:h,buffer:a,resume:p,data:r},Re=[];let ke=-1;for(;++ke<V.length;)if(V[ke][1].type==="listOrdered"||V[ke][1].type==="listUnordered")if(V[ke][0]==="enter")Re.push(ke);else{const _t=Re.pop();ke=o(V,_t,ke)}for(ke=-1;++ke<V.length;){const _t=t[V[ke][0]];Gf.call(_t,V[ke][1].type)&&_t[V[ke][1].type].call(Object.assign({sliceSerialize:V[ke][2].sliceSerialize},he),V[ke][1])}if(he.tokenStack.length>0){const _t=he.tokenStack[he.tokenStack.length-1];(_t[1]||kf).call(he,void 0,_t[0])}for(te.position={start:Ar(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:Ar(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},ke=-1;++ke<t.transforms.length;)te=t.transforms[ke](te)||te;return te}function o(V,te,he){let Re=te-1,ke=-1,_t=!1,tn,Jt,En,nn;for(;++Re<=he;){const Et=V[Re];switch(Et[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Et[0]==="enter"?ke++:ke--,nn=void 0;break}case"lineEndingBlank":{Et[0]==="enter"&&(tn&&!nn&&!ke&&!En&&(En=Re),nn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:nn=void 0}if(!ke&&Et[0]==="enter"&&Et[1].type==="listItemPrefix"||ke===-1&&Et[0]==="exit"&&(Et[1].type==="listUnordered"||Et[1].type==="listOrdered")){if(tn){let hn=Re;for(Jt=void 0;hn--;){const pn=V[hn];if(pn[1].type==="lineEnding"||pn[1].type==="lineEndingBlank"){if(pn[0]==="exit")continue;Jt&&(V[Jt][1].type="lineEndingBlank",_t=!0),pn[1].type="lineEnding",Jt=hn}else if(!(pn[1].type==="linePrefix"||pn[1].type==="blockQuotePrefix"||pn[1].type==="blockQuotePrefixWhitespace"||pn[1].type==="blockQuoteMarker"||pn[1].type==="listItemIndent"))break}En&&(!Jt||En<Jt)&&(tn._spread=!0),tn.end=Object.assign({},Jt?V[Jt][1].start:Et[1].end),V.splice(Jt||Re,0,["exit",tn,Et[2]]),Re++,he++}if(Et[1].type==="listItemPrefix"){const hn={type:"listItem",_spread:!1,start:Object.assign({},Et[1].start),end:void 0};tn=hn,V.splice(Re,0,["enter",hn,Et[2]]),Re++,he++,En=void 0,nn=!0}}}return V[te][1]._spread=_t,he}function l(V,te){return he;function he(Re){c.call(this,V(Re),Re),te&&te.call(this,Re)}}function a(){this.stack.push({type:"fragment",children:[]})}function c(V,te,he){this.stack[this.stack.length-1].children.push(V),this.stack.push(V),this.tokenStack.push([te,he||void 0]),V.position={start:Ar(te.start),end:void 0}}function f(V){return te;function te(he){V&&V.call(this,he),h.call(this,he)}}function h(V,te){const he=this.stack.pop(),Re=this.tokenStack.pop();if(Re)Re[0].type!==V.type&&(te?te.call(this,V,Re[0]):(Re[1]||kf).call(this,V,Re[0]));else throw new Error("Cannot close `"+V.type+"` ("+uu({start:V.start,end:V.end})+"): it’s not open");he.position.end=Ar(V.end)}function p(){return Ib(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function I(V){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(V),10),this.data.expectingFirstListItemValue=void 0}}function b(){const V=this.resume(),te=this.stack[this.stack.length-1];te.lang=V}function S(){const V=this.resume(),te=this.stack[this.stack.length-1];te.meta=V}function A(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function P(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V.replace(/(\r?\n|\r)$/g,"")}function L(V){const te=this.resume(),he=this.stack[this.stack.length-1];he.label=te,he.identifier=vi(this.sliceSerialize(V)).toLowerCase()}function k(){const V=this.resume(),te=this.stack[this.stack.length-1];te.title=V}function N(){const V=this.resume(),te=this.stack[this.stack.length-1];te.url=V}function X(V){const te=this.stack[this.stack.length-1];if(!te.depth){const he=this.sliceSerialize(V).length;te.depth=he}}function R(){this.data.setextHeadingSlurpLineEnding=!0}function Y(V){const te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(V).codePointAt(0)===61?1:2}function D(){this.data.setextHeadingSlurpLineEnding=void 0}function j(V){const he=this.stack[this.stack.length-1].children;let Re=he[he.length-1];(!Re||Re.type!=="text")&&(Re=ft(),Re.position={start:Ar(V.start),end:void 0},he.push(Re)),this.stack.push(Re)}function Q(V){const te=this.stack.pop();te.value+=this.sliceSerialize(V),te.position.end=Ar(V.end)}function U(V){const te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const he=te.children[te.children.length-1];he.position.end=Ar(V.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(j.call(this,V),Q.call(this,V))}function q(){this.data.atHardBreak=!0}function be(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function Se(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function ue(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function pe(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=te,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function Ee(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=te,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function Oe(V){const te=this.sliceSerialize(V),he=this.stack[this.stack.length-2];he.label=cv(te),he.identifier=vi(te).toLowerCase()}function Ke(){const V=this.stack[this.stack.length-1],te=this.resume(),he=this.stack[this.stack.length-1];if(this.data.inReference=!0,he.type==="link"){const Re=V.children;he.children=Re}else he.alt=te}function E(){const V=this.resume(),te=this.stack[this.stack.length-1];te.url=V}function xe(){const V=this.resume(),te=this.stack[this.stack.length-1];te.title=V}function Le(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function je(V){const te=this.resume(),he=this.stack[this.stack.length-1];he.label=te,he.identifier=vi(this.sliceSerialize(V)).toLowerCase(),this.data.referenceType="full"}function ge(V){this.data.characterReferenceType=V.type}function Ne(V){const te=this.sliceSerialize(V),he=this.data.characterReferenceType;let Re;he?(Re=gf(te,he==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Re=nl(te);const ke=this.stack[this.stack.length-1];ke.value+=Re}function St(V){const te=this.stack.pop();te.position.end=Ar(V.end)}function Ve(V){Q.call(this,V);const te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(V)}function vt(V){Q.call(this,V);const te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(V)}function Xt(){return{type:"blockquote",children:[]}}function Lt(){return{type:"code",lang:null,meta:null,value:""}}function Dt(){return{type:"inlineCode",value:""}}function Nn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ne(){return{type:"emphasis",children:[]}}function oe(){return{type:"heading",depth:0,children:[]}}function ye(){return{type:"break"}}function Ge(){return{type:"html",value:""}}function yt(){return{type:"image",title:null,url:"",alt:null}}function Bt(){return{type:"link",title:null,url:"",children:[]}}function Sn(V){return{type:"list",ordered:V.type==="listOrdered",start:null,spread:V._spread,children:[]}}function Mt(V){return{type:"listItem",spread:V._spread,checked:null,children:[]}}function nt(){return{type:"paragraph",children:[]}}function Qe(){return{type:"strong",children:[]}}function ft(){return{type:"text",value:""}}function et(){return{type:"thematicBreak"}}}function Ar(e){return{line:e.line,column:e.column,offset:e.offset}}function Rf(e,t){let r=-1;for(;++r<t.length;){const u=t[r];Array.isArray(u)?Rf(e,u):pv(e,u)}}function pv(e,t){let r;for(r in t)if(Gf.call(t,r))switch(r){case"canContainEols":{const u=t[r];u&&e[r].push(...u);break}case"transforms":{const u=t[r];u&&e[r].push(...u);break}case"enter":case"exit":{const u=t[r];u&&Object.assign(e[r],u);break}}}function kf(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+uu({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+uu({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+uu({start:t.start,end:t.end})+") is still open")}function gv(e){const t=this;t.parser=r;function r(u){return dv(u,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function mv(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function bv(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
5
5
|
`}]}function vv(e,t){const r=t.value?t.value+`
|
|
6
|
-
`:"",u={};t.lang&&(u.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:u,children:[{type:"text",value:r}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function yv(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Iv(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Cv(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",u=String(t.identifier).toUpperCase(),o=
|
|
6
|
+
`:"",u={};t.lang&&(u.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:u,children:[{type:"text",value:r}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function yv(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Iv(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Cv(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",u=String(t.identifier).toUpperCase(),o=yi(u.toLowerCase()),l=e.footnoteOrder.indexOf(u);let a,c=e.footnoteCounts.get(u);c===void 0?(c=0,e.footnoteOrder.push(u),a=e.footnoteOrder.length):a=l+1,c+=1,e.footnoteCounts.set(u,c);const f={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,f);const h={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,h),e.applyData(t,h)}function xv(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Av(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function Lf(e,t){const r=t.referenceType;let u="]";if(r==="collapsed"?u+="[]":r==="full"&&(u+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+u}];const o=e.all(t),l=o[0];l&&l.type==="text"?l.value="["+l.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&a.type==="text"?a.value+=u:o.push({type:"text",value:u}),o}function wv(e,t){const r=String(t.identifier).toUpperCase(),u=e.definitionById.get(r);if(!u)return Lf(e,t);const o={src:yi(u.url||""),alt:t.alt};u.title!==null&&u.title!==void 0&&(o.title=u.title);const l={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,l),e.applyData(t,l)}function Sv(e,t){const r={src:yi(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const u={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,u),e.applyData(t,u)}function Ev(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const u={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,u),e.applyData(t,u)}function Fv(e,t){const r=String(t.identifier).toUpperCase(),u=e.definitionById.get(r);if(!u)return Lf(e,t);const o={href:yi(u.url||"")};u.title!==null&&u.title!==void 0&&(o.title=u.title);const l={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function Pv(e,t){const r={href:yi(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const u={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}function Ov(e,t,r){const u=e.all(t),o=r?Tv(r):Df(t),l={},a=[];if(typeof t.checked=="boolean"){const p=u[0];let g;p&&p.type==="element"&&p.tagName==="p"?g=p:(g={type:"element",tagName:"p",properties:{},children:[]},u.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let c=-1;for(;++c<u.length;){const p=u[c];(o||c!==0||p.type!=="element"||p.tagName!=="p")&&a.push({type:"text",value:`
|
|
7
7
|
`}),p.type==="element"&&p.tagName==="p"&&!o?a.push(...p.children):a.push(p)}const f=u[u.length-1];f&&(o||f.type!=="element"||f.tagName!=="p")&&a.push({type:"text",value:`
|
|
8
|
-
`});const h={type:"element",tagName:"li",properties:l,children:a};return e.patch(t,h),e.applyData(t,h)}function
|
|
8
|
+
`});const h={type:"element",tagName:"li",properties:l,children:a};return e.patch(t,h),e.applyData(t,h)}function Tv(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let u=-1;for(;!t&&++u<r.length;)t=Df(r[u])}return t}function Df(e){const t=e.spread;return t??e.children.length>1}function Bv(e,t){const r={},u=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++o<u.length;){const a=u[o];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(u,!0)};return e.patch(t,l),e.applyData(t,l)}function _v(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Gv(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function Rv(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function kv(e,t){const r=e.all(t),u=r.shift(),o=[];if(u){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([u],!0)};e.patch(t.children[0],a),o.push(a)}if(r.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},c=Qs(t.children[1]),f=nf(t.children[t.children.length-1]);c&&f&&(a.position={start:c,end:f}),o.push(a)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,l),e.applyData(t,l)}function Lv(e,t,r){const u=r?r.children:void 0,l=(u?u.indexOf(t):1)===0?"th":"td",a=r&&r.type==="table"?r.align:void 0,c=a?a.length:t.children.length;let f=-1;const h=[];for(;++f<c;){const g=t.children[f],I={},b=a?a[f]:void 0;b&&(I.align=b);let S={type:"element",tagName:l,properties:I,children:[]};g&&(S.children=e.all(g),e.patch(g,S),S=e.applyData(g,S)),h.push(S)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,p),e.applyData(t,p)}function Dv(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const Mf=9,Nf=32;function Mv(e){const t=String(e),r=/\r?\n|\r/g;let u=r.exec(t),o=0;const l=[];for(;u;)l.push(Vf(t.slice(o,u.index),o>0,!0),u[0]),o=u.index+u[0].length,u=r.exec(t);return l.push(Vf(t.slice(o),o>0,!1)),l.join("")}function Vf(e,t,r){let u=0,o=e.length;if(t){let l=e.codePointAt(u);for(;l===Mf||l===Nf;)u++,l=e.codePointAt(u)}if(r){let l=e.codePointAt(o-1);for(;l===Mf||l===Nf;)o--,l=e.codePointAt(o-1)}return o>u?e.slice(u,o):""}function Nv(e,t){const r={type:"text",value:Mv(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Vv(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const Wv={blockquote:mv,break:bv,code:vv,delete:yv,emphasis:Iv,footnoteReference:Cv,heading:xv,html:Av,imageReference:wv,image:Sv,inlineCode:Ev,linkReference:Fv,link:Pv,listItem:Ov,list:Bv,paragraph:_v,root:Gv,strong:Rv,table:kv,tableCell:Dv,tableRow:Lv,text:Nv,thematicBreak:Vv,toml:$u,yaml:$u,definition:$u,footnoteDefinition:$u};function $u(){}const Wf=-1,Ku=0,eo=1,to=2,cl=3,fl=4,dl=5,hl=6,Xf=7,Hf=8,zf=typeof self=="object"?self:globalThis,Xv=(e,t)=>{const r=(o,l)=>(e.set(l,o),o),u=o=>{if(e.has(o))return e.get(o);const[l,a]=t[o];switch(l){case Ku:case Wf:return r(a,o);case eo:{const c=r([],o);for(const f of a)c.push(u(f));return c}case to:{const c=r({},o);for(const[f,h]of a)c[u(f)]=u(h);return c}case cl:return r(new Date(a),o);case fl:{const{source:c,flags:f}=a;return r(new RegExp(c,f),o)}case dl:{const c=r(new Map,o);for(const[f,h]of a)c.set(u(f),u(h));return c}case hl:{const c=r(new Set,o);for(const f of a)c.add(u(f));return c}case Xf:{const{name:c,message:f}=a;return r(new zf[c](f),o)}case Hf:return r(BigInt(a),o);case"BigInt":return r(Object(BigInt(a)),o)}return r(new zf[l](a),o)};return u},Zf=e=>Xv(new Map,e)(0),Ii="",{toString:Hv}={},{keys:zv}=Object,au=e=>{const t=typeof e;if(t!=="object"||!e)return[Ku,t];const r=Hv.call(e).slice(8,-1);switch(r){case"Array":return[eo,Ii];case"Object":return[to,Ii];case"Date":return[cl,Ii];case"RegExp":return[fl,Ii];case"Map":return[dl,Ii];case"Set":return[hl,Ii]}return r.includes("Array")?[eo,r]:r.includes("Error")?[Xf,r]:[to,r]},no=([e,t])=>e===Ku&&(t==="function"||t==="symbol"),Zv=(e,t,r,u)=>{const o=(a,c)=>{const f=u.push(a)-1;return r.set(c,f),f},l=a=>{if(r.has(a))return r.get(a);let[c,f]=au(a);switch(c){case Ku:{let p=a;switch(f){case"bigint":c=Hf,p=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);p=null;break;case"undefined":return o([Wf],a)}return o([c,p],a)}case eo:{if(f)return o([f,[...a]],a);const p=[],g=o([c,p],a);for(const I of a)p.push(l(I));return g}case to:{if(f)switch(f){case"BigInt":return o([f,a.toString()],a);case"Boolean":case"Number":case"String":return o([f,a.valueOf()],a)}if(t&&"toJSON"in a)return l(a.toJSON());const p=[],g=o([c,p],a);for(const I of zv(a))(e||!no(au(a[I])))&&p.push([l(I),l(a[I])]);return g}case cl:return o([c,a.toISOString()],a);case fl:{const{source:p,flags:g}=a;return o([c,{source:p,flags:g}],a)}case dl:{const p=[],g=o([c,p],a);for(const[I,b]of a)(e||!(no(au(I))||no(au(b))))&&p.push([l(I),l(b)]);return g}case hl:{const p=[],g=o([c,p],a);for(const I of a)(e||!no(au(I)))&&p.push(l(I));return g}}const{message:h}=a;return o([c,{name:f,message:h}],a)};return l},Yf=(e,{json:t,lossy:r}={})=>{const u=[];return Zv(!(t||r),!!t,new Map,u)(e),u},ro=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Zf(Yf(e,t)):structuredClone(e):(e,t)=>Zf(Yf(e,t));function Yv(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function Jv(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function jv(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||Yv,u=e.options.footnoteBackLabel||Jv,o=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let f=-1;for(;++f<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[f]);if(!h)continue;const p=e.all(h),g=String(h.identifier).toUpperCase(),I=yi(g.toLowerCase());let b=0;const S=[],A=e.footnoteCounts.get(g);for(;A!==void 0&&++b<=A;){S.length>0&&S.push({type:"text",value:" "});let L=typeof r=="string"?r:r(f,b);typeof L=="string"&&(L={type:"text",value:L}),S.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+I+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(f,b),className:["data-footnote-backref"]},children:Array.isArray(L)?L:[L]})}const F=p[p.length-1];if(F&&F.type==="element"&&F.tagName==="p"){const L=F.children[F.children.length-1];L&&L.type==="text"?L.value+=" ":F.children.push({type:"text",value:" "}),F.children.push(...S)}else p.push(...S);const P={type:"element",tagName:"li",properties:{id:t+"fn-"+I},children:e.wrap(p,!0)};e.patch(h,P),c.push(P)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...ro(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
|
|
9
9
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
|
|
10
|
-
`}]}}const
|
|
10
|
+
`}]}}const Jf=function(e){if(e==null)return $v;if(typeof e=="function")return io(e);if(typeof e=="object")return Array.isArray(e)?Uv(e):Qv(e);if(typeof e=="string")return qv(e);throw new Error("Expected function, string, or object as test")};function Uv(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Jf(e[r]);return io(u);function u(...o){let l=-1;for(;++l<t.length;)if(t[l].apply(this,o))return!0;return!1}}function Qv(e){const t=e;return io(r);function r(u){const o=u;let l;for(l in e)if(o[l]!==t[l])return!1;return!0}}function qv(e){return io(t);function t(r){return r&&r.type===e}}function io(e){return t;function t(r,u,o){return!!(Kv(r)&&e.call(this,r,typeof u=="number"?u:void 0,o||void 0))}}function $v(){return!0}function Kv(e){return e!==null&&typeof e=="object"&&"type"in e}function IP(e){return e}const jf=[],ey=!0,Uf=!1,ty="skip";function ny(e,t,r,u){let o;typeof t=="function"&&typeof r!="function"?(u=r,r=t):o=t;const l=Jf(o),a=u?-1:1;c(e,void 0,[])();function c(f,h,p){const g=f&&typeof f=="object"?f:{};if(typeof g.type=="string"){const b=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(I,"name",{value:"node ("+(f.type+(b?"<"+b+">":""))+")"})}return I;function I(){let b=jf,S,A,F;if((!t||l(f,h,p[p.length-1]||void 0))&&(b=ry(r(f,p)),b[0]===Uf))return b;if("children"in f&&f.children){const P=f;if(P.children&&b[0]!==ty)for(A=(u?P.children.length:-1)+a,F=p.concat(P);A>-1&&A<P.children.length;){const L=P.children[A];if(S=c(L,A,F)(),S[0]===Uf)return S;A=typeof S[1]=="number"?S[1]:A+a}}return b}}}function ry(e){return Array.isArray(e)?e:typeof e=="number"?[ey,e]:e==null?jf:[e]}function Qf(e,t,r,u){let o,l,a;typeof t=="function"&&typeof r!="function"?(l=void 0,a=t,o=r):(l=t,a=r,o=u),ny(e,l,c,o);function c(f,h){const p=h[h.length-1],g=p?p.children.indexOf(f):void 0;return a(f,g,p)}}const pl={}.hasOwnProperty,iy={};function uy(e,t){const r=t||iy,u=new Map,o=new Map,l=new Map,a={...Wv,...r.handlers},c={all:h,applyData:sy,definitionById:u,footnoteById:o,footnoteCounts:l,footnoteOrder:[],handlers:a,one:f,options:r,patch:oy,wrap:ay};return Qf(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const g=p.type==="definition"?u:o,I=String(p.identifier).toUpperCase();g.has(I)||g.set(I,p)}}),c;function f(p,g){const I=p.type,b=c.handlers[I];if(pl.call(c.handlers,I)&&b)return b(c,p,g);if(c.options.passThrough&&c.options.passThrough.includes(I)){if("children"in p){const{children:A,...F}=p,P=ro(F);return P.children=c.all(p),P}return ro(p)}return(c.options.unknownHandler||ly)(c,p,g)}function h(p){const g=[];if("children"in p){const I=p.children;let b=-1;for(;++b<I.length;){const S=c.one(I[b],p);if(S){if(b&&I[b-1].type==="break"&&(!Array.isArray(S)&&S.type==="text"&&(S.value=qf(S.value)),!Array.isArray(S)&&S.type==="element")){const A=S.children[0];A&&A.type==="text"&&(A.value=qf(A.value))}Array.isArray(S)?g.push(...S):g.push(S)}}}return g}}function oy(e,t){e.position&&(t.position=Qm(e))}function sy(e,t){let r=t;if(e&&e.data){const u=e.data.hName,o=e.data.hChildren,l=e.data.hProperties;if(typeof u=="string")if(r.type==="element")r.tagName=u;else{const a="children"in r?r.children:[r];r={type:"element",tagName:u,properties:{},children:a}}r.type==="element"&&l&&Object.assign(r.properties,ro(l)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function ly(e,t){const r=t.data||{},u="value"in t&&!(pl.call(r,"hProperties")||pl.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}function ay(e,t){const r=[];let u=-1;for(t&&r.push({type:"text",value:`
|
|
11
11
|
`});++u<e.length;)u&&r.push({type:"text",value:`
|
|
12
12
|
`}),r.push(e[u]);return t&&e.length>0&&r.push({type:"text",value:`
|
|
13
|
-
`}),r}function
|
|
14
|
-
`},o),l}function cy(e,t){return e&&"run"in e?async function(r,u){const o=qf(r,{file:u,...t});await e.run(o,u)}:function(r,u){return qf(r,{file:u,...e||t})}}function $f(e){if(e)throw e}var uo=Object.prototype.hasOwnProperty,Kf=Object.prototype.toString,ed=Object.defineProperty,td=Object.getOwnPropertyDescriptor,nd=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Kf.call(t)==="[object Array]"},rd=function(t){if(!t||Kf.call(t)!=="[object Object]")return!1;var r=uo.call(t,"constructor"),u=t.constructor&&t.constructor.prototype&&uo.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!u)return!1;var o;for(o in t);return typeof o>"u"||uo.call(t,o)},id=function(t,r){ed&&r.name==="__proto__"?ed(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},ud=function(t,r){if(r==="__proto__")if(uo.call(t,r)){if(td)return td(t,r).value}else return;return t[r]},fy=function e(){var t,r,u,o,l,a,c=arguments[0],f=1,h=arguments.length,p=!1;for(typeof c=="boolean"&&(p=c,c=arguments[1]||{},f=2),(c==null||typeof c!="object"&&typeof c!="function")&&(c={});f<h;++f)if(t=arguments[f],t!=null)for(r in t)u=ud(c,r),o=ud(t,r),c!==o&&(p&&o&&(rd(o)||(l=nd(o)))?(l?(l=!1,a=u&&nd(u)?u:[]):a=u&&rd(u)?u:{},id(c,{name:r,newValue:e(p,a,o)})):typeof o<"u"&&id(c,{name:r,newValue:o}));return c};const pl=Us(fy);function gl(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 dy(){const e=[],t={run:r,use:u};return t;function r(...o){let l=-1;const a=o.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);c(null,...o);function c(f,...h){const p=e[++l];let g=-1;if(f){a(f);return}for(;++g<o.length;)(h[g]===null||h[g]===void 0)&&(h[g]=o[g]);o=h,p?hy(p,c)(...h):a(null,...h)}}function u(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function hy(e,t){let r;return u;function u(...a){const c=e.length>a.length;let f;c&&a.push(o);try{f=e.apply(this,a)}catch(h){const p=h;if(c&&r)throw p;return o(p)}c||(f&&f.then&&typeof f.then=="function"?f.then(l,o):f instanceof Error?o(f):l(f))}function o(a,...c){r||(r=!0,t(a,...c))}function l(a){o(null,a)}}const Vn={basename:py,dirname:gy,extname:my,join:by,sep:"/"};function py(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');au(e);let r=0,u=-1,o=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(l){r=o+1;break}}else u<0&&(l=!0,u=o+1);return u<0?"":e.slice(r,u)}if(t===e)return"";let a=-1,c=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(l){r=o+1;break}}else a<0&&(l=!0,a=o+1),c>-1&&(e.codePointAt(o)===t.codePointAt(c--)?c<0&&(u=o):(c=-1,u=a));return r===u?u=a:u<0&&(u=e.length),e.slice(r,u)}function gy(e){if(au(e),e.length===0)return".";let t=-1,r=e.length,u;for(;--r;)if(e.codePointAt(r)===47){if(u){t=r;break}}else u||(u=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function my(e){au(e);let t=e.length,r=-1,u=0,o=-1,l=0,a;for(;t--;){const c=e.codePointAt(t);if(c===47){if(a){u=t+1;break}continue}r<0&&(a=!0,r=t+1),c===46?o<0?o=t:l!==1&&(l=1):o>-1&&(l=-1)}return o<0||r<0||l===0||l===1&&o===r-1&&o===u+1?"":e.slice(o,r)}function by(...e){let t=-1,r;for(;++t<e.length;)au(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":vy(r)}function vy(e){au(e);const t=e.codePointAt(0)===47;let r=yy(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function yy(e,t){let r="",u=0,o=-1,l=0,a=-1,c,f;for(;++a<=e.length;){if(a<e.length)c=e.codePointAt(a);else{if(c===47)break;c=47}if(c===47){if(!(o===a-1||l===1))if(o!==a-1&&l===2){if(r.length<2||u!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(f=r.lastIndexOf("/"),f!==r.length-1){f<0?(r="",u=0):(r=r.slice(0,f),u=r.length-1-r.lastIndexOf("/")),o=a,l=0;continue}}else if(r.length>0){r="",u=0,o=a,l=0;continue}}t&&(r=r.length>0?r+"/..":"..",u=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),u=a-o-1;o=a,l=0}else c===46&&l>-1?l++:l=-1}return r}function au(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Iy={cwd:Cy};function Cy(){return"/"}function ml(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function xy(e){if(typeof e=="string")e=new URL(e);else if(!ml(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 Ay(e)}function Ay(e){if(e.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const u=t.codePointAt(r+2);if(u===70||u===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const bl=["history","path","basename","stem","extname","dirname"];class od{constructor(t){let r;t?ml(t)?r={path:t}:typeof t=="string"||wy(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Iy.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<bl.length;){const l=bl[u];l in r&&r[l]!==void 0&&r[l]!==null&&(this[l]=l==="history"?[...r[l]]:r[l])}let o;for(o in r)bl.includes(o)||(this[o]=r[o])}get basename(){return typeof this.path=="string"?Vn.basename(this.path):void 0}set basename(t){yl(t,"basename"),vl(t,"basename"),this.path=Vn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Vn.dirname(this.path):void 0}set dirname(t){sd(this.basename,"dirname"),this.path=Vn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Vn.extname(this.path):void 0}set extname(t){if(vl(t,"extname"),sd(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=Vn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ml(t)&&(t=xy(t)),yl(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Vn.basename(this.path,this.extname):void 0}set stem(t){yl(t,"stem"),vl(t,"stem"),this.path=Vn.join(this.dirname||"",t+(this.extname||""))}fail(t,r,u){const o=this.message(t,r,u);throw o.fatal=!0,o}info(t,r,u){const o=this.message(t,r,u);return o.fatal=void 0,o}message(t,r,u){const o=new Bt(t,r,u);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function vl(e,t){if(e&&e.includes(Vn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Vn.sep+"`")}function yl(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function sd(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function wy(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Sy=function(e){const u=this.constructor.prototype,o=u[e],l=function(){return o.apply(l,arguments)};return Object.setPrototypeOf(l,u),l},Ey={}.hasOwnProperty;class Il extends Sy{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=dy()}copy(){const t=new Il;let r=-1;for(;++r<this.attachers.length;){const u=this.attachers[r];t.use(...u)}return t.data(pl(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Al("data",this.frozen),this.namespace[t]=r,this):Ey.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Al("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[r,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const o=r.call(t,...u);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=oo(t),u=this.parser||this.Parser;return Cl("parse",u),u(String(r),r)}process(t,r){const u=this;return this.freeze(),Cl("process",this.parser||this.Parser),xl("process",this.compiler||this.Compiler),r?o(void 0,r):new Promise(o);function o(l,a){const c=oo(t),f=u.parse(c);u.run(f,c,function(p,g,I){if(p||!g||!I)return h(p);const b=g,E=u.stringify(b,I);Ty(E)?I.value=E:I.result=E,h(p,I)});function h(p,g){p||!g?a(p):l?l(g):r(void 0,g)}}}processSync(t){let r=!1,u;return this.freeze(),Cl("processSync",this.parser||this.Parser),xl("processSync",this.compiler||this.Compiler),this.process(t,o),ad("processSync","process",r),u;function o(l,a){r=!0,$f(l),u=a}}run(t,r,u){ld(t),this.freeze();const o=this.transformers;return!u&&typeof r=="function"&&(u=r,r=void 0),u?l(void 0,u):new Promise(l);function l(a,c){const f=oo(r);o.run(t,f,h);function h(p,g,I){const b=g||t;p?c(p):a?a(b):u(void 0,b,I)}}}runSync(t,r){let u=!1,o;return this.run(t,r,l),ad("runSync","run",u),o;function l(a,c){$f(a),o=c,u=!0}}stringify(t,r){this.freeze();const u=oo(r),o=this.compiler||this.Compiler;return xl("stringify",o),ld(t),o(t,u)}use(t,...r){const u=this.attachers,o=this.namespace;if(Al("use",this.frozen),t!=null)if(typeof t=="function")f(t,r);else if(typeof t=="object")Array.isArray(t)?c(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[p,...g]=h;f(p,g)}else a(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function a(h){if(!("plugins"in h)&&!("settings"in h))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");c(h.plugins),h.settings&&(o.settings=pl(!0,o.settings,h.settings))}function c(h){let p=-1;if(h!=null)if(Array.isArray(h))for(;++p<h.length;){const g=h[p];l(g)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,p){let g=-1,I=-1;for(;++g<u.length;)if(u[g][0]===h){I=g;break}if(I===-1)u.push([h,...p]);else if(p.length>0){let[b,...E]=p;const A=u[I][1];gl(A)&&gl(b)&&(b=pl(!0,A,b)),u[I]=[h,b,...E]}}}}const Fy=new Il().freeze();function Cl(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function xl(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Al(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 ld(e){if(!gl(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ad(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function oo(e){return Py(e)?e:new od(e)}function Py(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Ty(e){return typeof e=="string"||Oy(e)}function Oy(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const By="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",cd=[],fd={allowDangerousHtml:!0},_y=/^(https?|ircs?|mailto|xmpp)$/i,Gy=[{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 dd(e){const t=e.allowedElements,r=e.allowElement,u=e.children||"",o=e.className,l=e.components,a=e.disallowedElements,c=e.rehypePlugins||cd,f=e.remarkPlugins||cd,h=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...fd}:fd,p=e.skipHtml,g=e.unwrapDisallowed,I=e.urlTransform||Ry,b=Fy().use(gv).use(f).use(cy,h).use(c),E=new od;typeof u=="string"&&(E.value=u);for(const D of Gy)Object.hasOwn(e,D.from)&&(""+D.from+(D.to?"use `"+D.to+"` instead":"remove it")+By+D.id,void 0);const A=b.parse(E);let F=b.runSync(A,E);return o&&(F={type:"element",tagName:"div",properties:{className:o},children:F.type==="root"?F.children:[F]}),jf(F,P),nb(F,{Fragment:q.Fragment,components:l,ignoreInvalidStyle:!0,jsx:q.jsx,jsxs:q.jsxs,passKeys:!0,passNode:!0});function P(D,k,L){if(D.type==="raw"&&L&&typeof k=="number")return p?L.children.splice(k,1):L.children[k]={type:"text",value:D.value},k;if(D.type==="element"){let V;for(V in el)if(Object.hasOwn(el,V)&&Object.hasOwn(D.properties,V)){const R=D.properties[V],J=el[V];(J===null||J.includes(D.tagName))&&(D.properties[V]=I(String(R||""),V,D))}}if(D.type==="element"){let V=t?!t.includes(D.tagName):a?a.includes(D.tagName):!1;if(!V&&r&&typeof k=="number"&&(V=!r(D,k,L)),V&&L&&typeof k=="number")return g&&D.children?L.children.splice(k,1,...D.children):L.children.splice(k,1),k}}}function Ry(e){const t=e.indexOf(":"),r=e.indexOf("?"),u=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||r>-1&&t>r||u>-1&&t>u||_y.test(e.slice(0,t))?e:""}function hd({prop:e}){const t={background:"#e2e3e5",borderRadius:"10px",paddingTop:"2px",paddingLeft:"10px",paddingRight:"10px",paddingBottom:"2px"},r={...t,background:"#fff3cd"},u={...t,background:"#d1ecf1"},o={...t,background:"#f8d7da"},l={...t,background:"#fffff2"};let a={};switch(e.alertType){case"info":a=u;break;case"neutral":a=l;break;case"warning":a=r;break;case"error":a=o;break;default:a=t}return q.jsx("div",{className:`pd-alert-${e.alertType}`,style:a,children:q.jsx(dd,{components:{a:({...c})=>q.jsx("a",{...c,target:"_blank",rel:"noopener noreferrer"})},children:e.content})})}var so={exports:{}};so.exports,function(e,t){var r=200,u="__lodash_hash_undefined__",o=1,l=2,a=9007199254740991,c="[object Arguments]",f="[object Array]",h="[object AsyncFunction]",p="[object Boolean]",g="[object Date]",I="[object Error]",b="[object Function]",E="[object GeneratorFunction]",A="[object Map]",F="[object Number]",P="[object Null]",D="[object Object]",k="[object Promise]",L="[object Proxy]",V="[object RegExp]",R="[object Set]",J="[object String]",N="[object Symbol]",j="[object Undefined]",ne="[object WeakMap]",$="[object ArrayBuffer]",Q="[object DataView]",ve="[object Float32Array]",Be="[object Float64Array]",ie="[object Int8Array]",ge="[object Int16Array]",de="[object Int32Array]",Se="[object Uint8Array]",qe="[object Uint8ClampedArray]",S="[object Uint16Array]",He="[object Uint32Array]",Le=/[\\^$.*+?()[\]{}|]/g,w=/^\[object .+?Constructor\]$/,Je=/^(?:0|[1-9]\d*)$/,me={};me[ve]=me[Be]=me[ie]=me[ge]=me[de]=me[Se]=me[qe]=me[S]=me[He]=!0,me[c]=me[f]=me[$]=me[p]=me[Q]=me[g]=me[I]=me[b]=me[A]=me[F]=me[D]=me[V]=me[R]=me[J]=me[ne]=!1;var De=typeof Tn=="object"&&Tn&&Tn.Object===Object&&Tn,yt=typeof self=="object"&&self&&self.Object===Object&&self,ee=De||yt||Function("return this")(),oe=t&&!t.nodeType&&t,ye=oe&&!0&&e&&!e.nodeType&&e,Me=ye&&ye.exports===oe,ct=Me&&De.process,Gt=function(){try{return ct&&ct.binding&&ct.binding("util")}catch{}}(),At=Gt&&Gt.isTypedArray;function vn(C,_){for(var Y=-1,se=C==null?0:C.length,nt=0,Pe=[];++Y<se;){var st=C[Y];_(st,Y,C)&&(Pe[nt++]=st)}return Pe}function Gi(C,_){for(var Y=-1,se=_.length,nt=C.length;++Y<se;)C[nt+Y]=_[Y];return C}function Ut(C,_){for(var Y=-1,se=C==null?0:C.length;++Y<se;)if(_(C[Y],Y,C))return!0;return!1}function Ri(C,_){for(var Y=-1,se=Array(C);++Y<C;)se[Y]=_(Y);return se}function ki(C){return function(_){return C(_)}}function Yn(C,_){return C.has(_)}function Mt(C,_){return C==null?void 0:C[_]}function tr(C){var _=-1,Y=Array(C.size);return C.forEach(function(se,nt){Y[++_]=[nt,se]}),Y}function Er(C,_){return function(Y){return C(_(Y))}}function Au(C){var _=-1,Y=Array(C.size);return C.forEach(function(se){Y[++_]=se}),Y}var nr=Array.prototype,X=Function.prototype,te=Object.prototype,pe=ee["__core-js_shared__"],_e=X.toString,Ge=te.hasOwnProperty,Et=function(){var C=/[^.]+$/.exec(pe&&pe.keys&&pe.keys.IE_PROTO||"");return C?"Symbol(src)_1."+C:""}(),jt=te.toString,Nt=RegExp("^"+_e.call(Ge).replace(Le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yn=Me?ee.Buffer:void 0,Qt=ee.Symbol,It=ee.Uint8Array,on=te.propertyIsEnumerable,sn=nr.splice,rr=Qt?Qt.toStringTag:void 0,Go=Object.getOwnPropertySymbols,Ro=yn?yn.isBuffer:void 0,ko=Er(Object.keys,Object),wu=ln(ee,"DataView"),qr=ln(ee,"Map"),Su=ln(ee,"Promise"),Eu=ln(ee,"Set"),Li=ln(ee,"WeakMap"),$r=ln(Object,"create"),ea=or(wu),ta=or(qr),Fu=or(Su),na=or(Eu),Pu=or(Li),Lo=Qt?Qt.prototype:void 0,Tu=Lo?Lo.valueOf:void 0;function ir(C){var _=-1,Y=C==null?0:C.length;for(this.clear();++_<Y;){var se=C[_];this.set(se[0],se[1])}}function ra(){this.__data__=$r?$r(null):{},this.size=0}function ia(C){var _=this.has(C)&&delete this.__data__[C];return this.size-=_?1:0,_}function ua(C){var _=this.__data__;if($r){var Y=_[C];return Y===u?void 0:Y}return Ge.call(_,C)?_[C]:void 0}function oa(C){var _=this.__data__;return $r?_[C]!==void 0:Ge.call(_,C)}function sa(C,_){var Y=this.__data__;return this.size+=this.has(C)?0:1,Y[C]=$r&&_===void 0?u:_,this}ir.prototype.clear=ra,ir.prototype.delete=ia,ir.prototype.get=ua,ir.prototype.has=oa,ir.prototype.set=sa;function In(C){var _=-1,Y=C==null?0:C.length;for(this.clear();++_<Y;){var se=C[_];this.set(se[0],se[1])}}function la(){this.__data__=[],this.size=0}function aa(C){var _=this.__data__,Y=Kr(_,C);if(Y<0)return!1;var se=_.length-1;return Y==se?_.pop():sn.call(_,Y,1),--this.size,!0}function ca(C){var _=this.__data__,Y=Kr(_,C);return Y<0?void 0:_[Y][1]}function fa(C){return Kr(this.__data__,C)>-1}function da(C,_){var Y=this.__data__,se=Kr(Y,C);return se<0?(++this.size,Y.push([C,_])):Y[se][1]=_,this}In.prototype.clear=la,In.prototype.delete=aa,In.prototype.get=ca,In.prototype.has=fa,In.prototype.set=da;function ur(C){var _=-1,Y=C==null?0:C.length;for(this.clear();++_<Y;){var se=C[_];this.set(se[0],se[1])}}function Di(){this.size=0,this.__data__={hash:new ir,map:new(qr||In),string:new ir}}function ha(C){var _=Fr(this,C).delete(C);return this.size-=_?1:0,_}function Mi(C){return Fr(this,C).get(C)}function pa(C){return Fr(this,C).has(C)}function ga(C,_){var Y=Fr(this,C),se=Y.size;return Y.set(C,_),this.size+=Y.size==se?0:1,this}ur.prototype.clear=Di,ur.prototype.delete=ha,ur.prototype.get=Mi,ur.prototype.has=pa,ur.prototype.set=ga;function Ni(C){var _=-1,Y=C==null?0:C.length;for(this.__data__=new ur;++_<Y;)this.add(C[_])}function Do(C){return this.__data__.set(C,u),this}function Mo(C){return this.__data__.has(C)}Ni.prototype.add=Ni.prototype.push=Do,Ni.prototype.has=Mo;function _n(C){var _=this.__data__=new In(C);this.size=_.size}function ma(){this.__data__=new In,this.size=0}function ba(C){var _=this.__data__,Y=_.delete(C);return this.size=_.size,Y}function va(C){return this.__data__.get(C)}function ya(C){return this.__data__.has(C)}function No(C,_){var Y=this.__data__;if(Y instanceof In){var se=Y.__data__;if(!qr||se.length<r-1)return se.push([C,_]),this.size=++Y.size,this;Y=this.__data__=new ur(se)}return Y.set(C,_),this.size=Y.size,this}_n.prototype.clear=ma,_n.prototype.delete=ba,_n.prototype.get=va,_n.prototype.has=ya,_n.prototype.set=No;function Vo(C,_){var Y=Xi(C),se=!Y&&$o(C),nt=!Y&&!se&&_u(C),Pe=!Y&&!se&&!nt&&ts(C),st=Y||se||nt||Pe,Ct=st?Ri(C.length,String):[],ze=Ct.length;for(var rt in C)Ge.call(C,rt)&&!(st&&(rt=="length"||nt&&(rt=="offset"||rt=="parent")||Pe&&(rt=="buffer"||rt=="byteLength"||rt=="byteOffset")||Jo(rt,ze)))&&Ct.push(rt);return Ct}function Kr(C,_){for(var Y=C.length;Y--;)if(qo(C[Y][0],_))return Y;return-1}function Ou(C,_,Y){var se=_(C);return Xi(C)?se:Gi(se,Y(C))}function ei(C){return C==null?C===void 0?j:P:rr&&rr in Object(C)?Zo(C):xa(C)}function Bu(C){return ni(C)&&ei(C)==c}function ti(C,_,Y,se,nt){return C===_?!0:C==null||_==null||!ni(C)&&!ni(_)?C!==C&&_!==_:Wo(C,_,Y,se,ti,nt)}function Wo(C,_,Y,se,nt,Pe){var st=Xi(C),Ct=Xi(_),ze=st?f:Jn(C),rt=Ct?f:Jn(_);ze=ze==c?D:ze,rt=rt==c?D:rt;var gt=ze==D,qt=rt==D,xt=ze==rt;if(xt&&_u(C)){if(!_u(_))return!1;st=!0,gt=!1}if(xt&&!gt)return Pe||(Pe=new _n),st||ts(C)?Vi(C,_,Y,se,nt,Pe):Ca(C,_,ze,Y,se,nt,Pe);if(!(Y&o)){var lt=gt&&Ge.call(C,"__wrapped__"),Vt=qt&&Ge.call(_,"__wrapped__");if(lt||Vt){var Gn=lt?C.value():C,Cn=Vt?_.value():_;return Pe||(Pe=new _n),nt(Gn,Cn,Y,se,Pe)}}return xt?(Pe||(Pe=new _n),zo(C,_,Y,se,nt,Pe)):!1}function Ia(C){if(!es(C)||jo(C))return!1;var _=Hi(C)?Nt:w;return _.test(or(C))}function Xo(C){return ni(C)&&Ko(C.length)&&!!me[ei(C)]}function Ho(C){if(!Qo(C))return ko(C);var _=[];for(var Y in Object(C))Ge.call(C,Y)&&Y!="constructor"&&_.push(Y);return _}function Vi(C,_,Y,se,nt,Pe){var st=Y&o,Ct=C.length,ze=_.length;if(Ct!=ze&&!(st&&ze>Ct))return!1;var rt=Pe.get(C);if(rt&&Pe.get(_))return rt==_;var gt=-1,qt=!0,xt=Y&l?new Ni:void 0;for(Pe.set(C,_),Pe.set(_,C);++gt<Ct;){var lt=C[gt],Vt=_[gt];if(se)var Gn=st?se(Vt,lt,gt,_,C,Pe):se(lt,Vt,gt,C,_,Pe);if(Gn!==void 0){if(Gn)continue;qt=!1;break}if(xt){if(!Ut(_,function(Cn,Un){if(!Yn(xt,Un)&&(lt===Cn||nt(lt,Cn,Y,se,Pe)))return xt.push(Un)})){qt=!1;break}}else if(!(lt===Vt||nt(lt,Vt,Y,se,Pe))){qt=!1;break}}return Pe.delete(C),Pe.delete(_),qt}function Ca(C,_,Y,se,nt,Pe,st){switch(Y){case Q:if(C.byteLength!=_.byteLength||C.byteOffset!=_.byteOffset)return!1;C=C.buffer,_=_.buffer;case $:return!(C.byteLength!=_.byteLength||!Pe(new It(C),new It(_)));case p:case g:case F:return qo(+C,+_);case I:return C.name==_.name&&C.message==_.message;case V:case J:return C==_+"";case A:var Ct=tr;case R:var ze=se&o;if(Ct||(Ct=Au),C.size!=_.size&&!ze)return!1;var rt=st.get(C);if(rt)return rt==_;se|=l,st.set(C,_);var gt=Vi(Ct(C),Ct(_),se,nt,Pe,st);return st.delete(C),gt;case N:if(Tu)return Tu.call(C)==Tu.call(_)}return!1}function zo(C,_,Y,se,nt,Pe){var st=Y&o,Ct=Wi(C),ze=Ct.length,rt=Wi(_),gt=rt.length;if(ze!=gt&&!st)return!1;for(var qt=ze;qt--;){var xt=Ct[qt];if(!(st?xt in _:Ge.call(_,xt)))return!1}var lt=Pe.get(C);if(lt&&Pe.get(_))return lt==_;var Vt=!0;Pe.set(C,_),Pe.set(_,C);for(var Gn=st;++qt<ze;){xt=Ct[qt];var Cn=C[xt],Un=_[xt];if(se)var Gu=st?se(Un,Cn,xt,_,C,Pe):se(Cn,Un,xt,C,_,Pe);if(!(Gu===void 0?Cn===Un||nt(Cn,Un,Y,se,Pe):Gu)){Vt=!1;break}Gn||(Gn=xt=="constructor")}if(Vt&&!Gn){var ri=C.constructor,Ft=_.constructor;ri!=Ft&&"constructor"in C&&"constructor"in _&&!(typeof ri=="function"&&ri instanceof ri&&typeof Ft=="function"&&Ft instanceof Ft)&&(Vt=!1)}return Pe.delete(C),Pe.delete(_),Vt}function Wi(C){return Ou(C,Sa,Yo)}function Fr(C,_){var Y=C.__data__;return Uo(_)?Y[typeof _=="string"?"string":"hash"]:Y.map}function ln(C,_){var Y=Mt(C,_);return Ia(Y)?Y:void 0}function Zo(C){var _=Ge.call(C,rr),Y=C[rr];try{C[rr]=void 0;var se=!0}catch{}var nt=jt.call(C);return se&&(_?C[rr]=Y:delete C[rr]),nt}var Yo=Go?function(C){return C==null?[]:(C=Object(C),vn(Go(C),function(_){return on.call(C,_)}))}:tt,Jn=ei;(wu&&Jn(new wu(new ArrayBuffer(1)))!=Q||qr&&Jn(new qr)!=A||Su&&Jn(Su.resolve())!=k||Eu&&Jn(new Eu)!=R||Li&&Jn(new Li)!=ne)&&(Jn=function(C){var _=ei(C),Y=_==D?C.constructor:void 0,se=Y?or(Y):"";if(se)switch(se){case ea:return Q;case ta:return A;case Fu:return k;case na:return R;case Pu:return ne}return _});function Jo(C,_){return _=_??a,!!_&&(typeof C=="number"||Je.test(C))&&C>-1&&C%1==0&&C<_}function Uo(C){var _=typeof C;return _=="string"||_=="number"||_=="symbol"||_=="boolean"?C!=="__proto__":C===null}function jo(C){return!!Et&&Et in C}function Qo(C){var _=C&&C.constructor,Y=typeof _=="function"&&_.prototype||te;return C===Y}function xa(C){return jt.call(C)}function or(C){if(C!=null){try{return _e.call(C)}catch{}try{return C+""}catch{}}return""}function qo(C,_){return C===_||C!==C&&_!==_}var $o=Bu(function(){return arguments}())?Bu:function(C){return ni(C)&&Ge.call(C,"callee")&&!on.call(C,"callee")},Xi=Array.isArray;function Aa(C){return C!=null&&Ko(C.length)&&!Hi(C)}var _u=Ro||et;function wa(C,_){return ti(C,_)}function Hi(C){if(!es(C))return!1;var _=ei(C);return _==b||_==E||_==h||_==L}function Ko(C){return typeof C=="number"&&C>-1&&C%1==0&&C<=a}function es(C){var _=typeof C;return C!=null&&(_=="object"||_=="function")}function ni(C){return C!=null&&typeof C=="object"}var ts=At?ki(At):Xo;function Sa(C){return Aa(C)?Vo(C):Ho(C)}function tt(){return[]}function et(){return!1}e.exports=wa}(so,so.exports);var ky=so.exports;const Ly=Us(ky);var cu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Vr=typeof window>"u"||"Deno"in globalThis;function mn(){}function Dy(e,t){return typeof e=="function"?e(t):e}function wl(e){return typeof e=="number"&&e>=0&&e!==1/0}function pd(e,t){return Math.max(e+(t||0)-Date.now(),0)}function bi(e,t){return typeof e=="function"?e(t):e}function On(e,t){return typeof e=="function"?e(t):e}function gd(e,t){const{type:r="all",exact:u,fetchStatus:o,predicate:l,queryKey:a,stale:c}=e;if(a){if(u){if(t.queryHash!==Sl(a,t.options))return!1}else if(!du(t.queryKey,a))return!1}if(r!=="all"){const f=t.isActive();if(r==="active"&&!f||r==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||o&&o!==t.state.fetchStatus||l&&!l(t))}function md(e,t){const{exact:r,status:u,predicate:o,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(r){if(fu(t.options.mutationKey)!==fu(l))return!1}else if(!du(t.options.mutationKey,l))return!1}return!(u&&t.state.status!==u||o&&!o(t))}function Sl(e,t){return((t==null?void 0:t.queryKeyHashFn)||fu)(e)}function fu(e){return JSON.stringify(e,(t,r)=>Pl(r)?Object.keys(r).sort().reduce((u,o)=>(u[o]=r[o],u),{}):r)}function du(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!du(e[r],t[r])):!1}function El(e,t){if(e===t)return e;const r=bd(e)&&bd(t);if(r||Pl(e)&&Pl(t)){const u=r?e:Object.keys(e),o=u.length,l=r?t:Object.keys(t),a=l.length,c=r?[]:{};let f=0;for(let h=0;h<a;h++){const p=r?h:l[h];(!r&&u.includes(p)||r)&&e[p]===void 0&&t[p]===void 0?(c[p]=void 0,f++):(c[p]=El(e[p],t[p]),c[p]===e[p]&&e[p]!==void 0&&f++)}return o===a&&f===o?e:c}return t}function Fl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function bd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Pl(e){if(!vd(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!vd(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function vd(e){return Object.prototype.toString.call(e)==="[object Object]"}function My(e){return new Promise(t=>{setTimeout(t,e)})}function Tl(e,t,r){if(typeof r.structuralSharing=="function")return r.structuralSharing(e,t);if(r.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return El(e,t)}catch(u){console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${u}`)}return El(e,t)}return t}function Ny(e,t,r=0){const u=[...e,t];return r&&u.length>r?u.slice(1):u}function Vy(e,t,r=0){const u=[t,...e];return r&&u.length>r?u.slice(0,-1):u}var lo=Symbol();function yd(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===lo&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===lo?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Wy=(op=class extends cu{constructor(){super();we(this,zr);we(this,yr);we(this,Ii);ae(this,Ii,t=>{if(!Vr&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){O(this,yr)||this.setEventListener(O(this,Ii))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,yr))==null||t.call(this),ae(this,yr,void 0))}setEventListener(t){var r;ae(this,Ii,t),(r=O(this,yr))==null||r.call(this),ae(this,yr,t(u=>{typeof u=="boolean"?this.setFocused(u):this.onFocus()}))}setFocused(t){O(this,zr)!==t&&(ae(this,zr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof O(this,zr)=="boolean"?O(this,zr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},zr=new WeakMap,yr=new WeakMap,Ii=new WeakMap,op),Ol=new Wy,Xy=(sp=class extends cu{constructor(){super();we(this,Ci,!0);we(this,Ir);we(this,xi);ae(this,xi,t=>{if(!Vr&&window.addEventListener){const r=()=>t(!0),u=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",u,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",u)}}})}onSubscribe(){O(this,Ir)||this.setEventListener(O(this,xi))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,Ir))==null||t.call(this),ae(this,Ir,void 0))}setEventListener(t){var r;ae(this,xi,t),(r=O(this,Ir))==null||r.call(this),ae(this,Ir,t(this.setOnline.bind(this)))}setOnline(t){O(this,Ci)!==t&&(ae(this,Ci,t),this.listeners.forEach(u=>{u(t)}))}isOnline(){return O(this,Ci)}},Ci=new WeakMap,Ir=new WeakMap,xi=new WeakMap,sp),ao=new Xy;function Bl(){let e,t;const r=new Promise((o,l)=>{e=o,t=l});r.status="pending",r.catch(()=>{});function u(o){Object.assign(r,o),delete r.resolve,delete r.reject}return r.resolve=o=>{u({status:"fulfilled",value:o}),e(o)},r.reject=o=>{u({status:"rejected",reason:o}),t(o)},r}function Hy(e){return Math.min(1e3*2**e,3e4)}function Id(e){return(e??"online")==="online"?ao.isOnline():!0}var Cd=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function _l(e){return e instanceof Cd}function xd(e){let t=!1,r=0,u=!1,o;const l=Bl(),a=A=>{var F;u||(I(new Cd(A)),(F=e.abort)==null||F.call(e))},c=()=>{t=!0},f=()=>{t=!1},h=()=>Ol.isFocused()&&(e.networkMode==="always"||ao.isOnline())&&e.canRun(),p=()=>Id(e.networkMode)&&e.canRun(),g=A=>{var F;u||(u=!0,(F=e.onSuccess)==null||F.call(e,A),o==null||o(),l.resolve(A))},I=A=>{var F;u||(u=!0,(F=e.onError)==null||F.call(e,A),o==null||o(),l.reject(A))},b=()=>new Promise(A=>{var F;o=P=>{(u||h())&&A(P)},(F=e.onPause)==null||F.call(e)}).then(()=>{var A;o=void 0,u||(A=e.onContinue)==null||A.call(e)}),E=()=>{if(u)return;let A;const F=r===0?e.initialPromise:void 0;try{A=F??e.fn()}catch(P){A=Promise.reject(P)}Promise.resolve(A).then(g).catch(P=>{var R;if(u)return;const D=e.retry??(Vr?0:3),k=e.retryDelay??Hy,L=typeof k=="function"?k(r,P):k,V=D===!0||typeof D=="number"&&r<D||typeof D=="function"&&D(r,P);if(t||!V){I(P);return}r++,(R=e.onFail)==null||R.call(e,r,P),My(L).then(()=>h()?void 0:b()).then(()=>{t?I(P):E()})})};return{promise:l,cancel:a,continue:()=>(o==null||o(),l),cancelRetry:c,continueRetry:f,canStart:p,start:()=>(p()?E():b().then(E),l)}}function zy(){let e=[],t=0,r=c=>{c()},u=c=>{c()},o=c=>setTimeout(c,0);const l=c=>{t?e.push(c):o(()=>{r(c)})},a=()=>{const c=e;e=[],c.length&&o(()=>{u(()=>{c.forEach(f=>{r(f)})})})};return{batch:c=>{let f;t++;try{f=c()}finally{t--,t||a()}return f},batchCalls:c=>(...f)=>{l(()=>{c(...f)})},schedule:l,setNotifyFunction:c=>{r=c},setBatchNotifyFunction:c=>{u=c},setScheduler:c=>{o=c}}}var Tt=zy(),Ad=(lp=class{constructor(){we(this,Zr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),wl(this.gcTime)&&ae(this,Zr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Vr?1/0:5*60*1e3))}clearGcTimeout(){O(this,Zr)&&(clearTimeout(O(this,Zr)),ae(this,Zr,void 0))}},Zr=new WeakMap,lp),Zy=(ap=class extends Ad{constructor(t){super();we(this,Bn);we(this,Ai);we(this,wi);we(this,bn);we(this,_t);we(this,yu);we(this,Yr);ae(this,Yr,!1),ae(this,yu,t.defaultOptions),this.setOptions(t.options),this.observers=[],ae(this,bn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ae(this,Ai,Yy(this.options)),this.state=t.state??O(this,Ai),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=O(this,_t))==null?void 0:t.promise}setOptions(t){this.options={...O(this,yu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,bn).remove(this)}setData(t,r){const u=Tl(this.state.data,t,this.options);return Ye(this,Bn,mr).call(this,{data:u,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),u}setState(t,r){Ye(this,Bn,mr).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var u,o;const r=(u=O(this,_t))==null?void 0:u.promise;return(o=O(this,_t))==null||o.cancel(t),r?r.then(mn).catch(mn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,Ai))}isActive(){return this.observers.some(t=>On(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===lo||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!pd(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(u=>u.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=O(this,_t))==null||r.continue()}onOnline(){var r;const t=this.observers.find(u=>u.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=O(this,_t))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),O(this,bn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(O(this,_t)&&(O(this,Yr)?O(this,_t).cancel({revert:!0}):O(this,_t).cancelRetry()),this.scheduleGc()),O(this,bn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ye(this,Bn,mr).call(this,{type:"invalidate"})}fetch(t,r){var f,h,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(O(this,_t))return O(this,_t).continueRetry(),O(this,_t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(I=>I.options.queryFn);g&&this.setOptions(g.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const u=new AbortController,o=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(ae(this,Yr,!0),u.signal)})},l=()=>{const g=yd(this.options,r),I={queryKey:this.queryKey,meta:this.meta};return o(I),ae(this,Yr,!1),this.options.persister?this.options.persister(g,I,this):g(I)},a={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};o(a),(f=this.options.behavior)==null||f.onFetch(a,this),ae(this,wi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=a.fetchOptions)==null?void 0:h.meta))&&Ye(this,Bn,mr).call(this,{type:"fetch",meta:(p=a.fetchOptions)==null?void 0:p.meta});const c=g=>{var I,b,E,A;_l(g)&&g.silent||Ye(this,Bn,mr).call(this,{type:"error",error:g}),_l(g)||((b=(I=O(this,bn).config).onError)==null||b.call(I,g,this),(A=(E=O(this,bn).config).onSettled)==null||A.call(E,this.state.data,g,this)),this.scheduleGc()};return ae(this,_t,xd({initialPromise:r==null?void 0:r.initialPromise,fn:a.fetchFn,abort:u.abort.bind(u),onSuccess:g=>{var I,b,E,A;if(g===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(g)}catch(F){c(F);return}(b=(I=O(this,bn).config).onSuccess)==null||b.call(I,g,this),(A=(E=O(this,bn).config).onSettled)==null||A.call(E,g,this.state.error,this),this.scheduleGc()},onError:c,onFail:(g,I)=>{Ye(this,Bn,mr).call(this,{type:"failed",failureCount:g,error:I})},onPause:()=>{Ye(this,Bn,mr).call(this,{type:"pause"})},onContinue:()=>{Ye(this,Bn,mr).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),O(this,_t).start()}},Ai=new WeakMap,wi=new WeakMap,bn=new WeakMap,_t=new WeakMap,yu=new WeakMap,Yr=new WeakMap,Bn=new WeakSet,mr=function(t){const r=u=>{switch(t.type){case"failed":return{...u,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...u,fetchStatus:"paused"};case"continue":return{...u,fetchStatus:"fetching"};case"fetch":return{...u,...wd(u.data,this.options),fetchMeta:t.meta??null};case"success":return{...u,data:t.data,dataUpdateCount:u.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return _l(o)&&o.revert&&O(this,wi)?{...O(this,wi),fetchStatus:"idle"}:{...u,error:o,errorUpdateCount:u.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:u.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...u,isInvalidated:!0};case"setState":return{...u,...t.state}}};this.state=r(this.state),Tt.batch(()=>{this.observers.forEach(u=>{u.onQueryUpdate()}),O(this,bn).notify({query:this,type:"updated",action:t})})},ap);function wd(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Id(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Yy(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,u=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?u??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Jy=(cp=class extends cu{constructor(t={}){super();we(this,Xn);this.config=t,ae(this,Xn,new Map)}build(t,r,u){const o=r.queryKey,l=r.queryHash??Sl(o,r);let a=this.get(l);return a||(a=new Zy({cache:this,queryKey:o,queryHash:l,options:t.defaultQueryOptions(r),state:u,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){O(this,Xn).has(t.queryHash)||(O(this,Xn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=O(this,Xn).get(t.queryHash);r&&(t.destroy(),r===t&&O(this,Xn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Tt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return O(this,Xn).get(t)}getAll(){return[...O(this,Xn).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(u=>gd(r,u))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(u=>gd(t,u)):r}notify(t){Tt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){Tt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Tt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Xn=new WeakMap,cp),Uy=(fp=class extends Ad{constructor(t){super();we(this,zn);we(this,Hn);we(this,Lt);we(this,Jr);this.mutationId=t.mutationId,ae(this,Lt,t.mutationCache),ae(this,Hn,[]),this.state=t.state||jy(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){O(this,Hn).includes(t)||(O(this,Hn).push(t),this.clearGcTimeout(),O(this,Lt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ae(this,Hn,O(this,Hn).filter(r=>r!==t)),this.scheduleGc(),O(this,Lt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){O(this,Hn).length||(this.state.status==="pending"?this.scheduleGc():O(this,Lt).remove(this))}continue(){var t;return((t=O(this,Jr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,l,a,c,f,h,p,g,I,b,E,A,F,P,D,k,L,V,R,J;ae(this,Jr,xd({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(N,j)=>{Ye(this,zn,Dr).call(this,{type:"failed",failureCount:N,error:j})},onPause:()=>{Ye(this,zn,Dr).call(this,{type:"pause"})},onContinue:()=>{Ye(this,zn,Dr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,Lt).canRun(this)}));const r=this.state.status==="pending",u=!O(this,Jr).canStart();try{if(!r){Ye(this,zn,Dr).call(this,{type:"pending",variables:t,isPaused:u}),await((l=(o=O(this,Lt).config).onMutate)==null?void 0:l.call(o,t,this));const j=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,t));j!==this.state.context&&Ye(this,zn,Dr).call(this,{type:"pending",context:j,variables:t,isPaused:u})}const N=await O(this,Jr).start();return await((h=(f=O(this,Lt).config).onSuccess)==null?void 0:h.call(f,N,t,this.state.context,this)),await((g=(p=this.options).onSuccess)==null?void 0:g.call(p,N,t,this.state.context)),await((b=(I=O(this,Lt).config).onSettled)==null?void 0:b.call(I,N,null,this.state.variables,this.state.context,this)),await((A=(E=this.options).onSettled)==null?void 0:A.call(E,N,null,t,this.state.context)),Ye(this,zn,Dr).call(this,{type:"success",data:N}),N}catch(N){try{throw await((P=(F=O(this,Lt).config).onError)==null?void 0:P.call(F,N,t,this.state.context,this)),await((k=(D=this.options).onError)==null?void 0:k.call(D,N,t,this.state.context)),await((V=(L=O(this,Lt).config).onSettled)==null?void 0:V.call(L,void 0,N,this.state.variables,this.state.context,this)),await((J=(R=this.options).onSettled)==null?void 0:J.call(R,void 0,N,t,this.state.context)),N}finally{Ye(this,zn,Dr).call(this,{type:"error",error:N})}}finally{O(this,Lt).runNext(this)}}},Hn=new WeakMap,Lt=new WeakMap,Jr=new WeakMap,zn=new WeakSet,Dr=function(t){const r=u=>{switch(t.type){case"failed":return{...u,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...u,isPaused:!0};case"continue":return{...u,isPaused:!1};case"pending":return{...u,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...u,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...u,data:void 0,error:t.error,failureCount:u.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),Tt.batch(()=>{O(this,Hn).forEach(u=>{u.onMutationUpdate(t)}),O(this,Lt).notify({mutation:this,type:"updated",action:t})})},fp);function jy(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Qy=(dp=class extends cu{constructor(t={}){super();we(this,un);we(this,Iu);this.config=t,ae(this,un,new Map),ae(this,Iu,Date.now())}build(t,r,u){const o=new Uy({mutationCache:this,mutationId:++Ws(this,Iu)._,options:t.defaultMutationOptions(r),state:u});return this.add(o),o}add(t){const r=co(t),u=O(this,un).get(r)??[];u.push(t),O(this,un).set(r,u),this.notify({type:"added",mutation:t})}remove(t){var u;const r=co(t);if(O(this,un).has(r)){const o=(u=O(this,un).get(r))==null?void 0:u.filter(l=>l!==t);o&&(o.length===0?O(this,un).delete(r):O(this,un).set(r,o))}this.notify({type:"removed",mutation:t})}canRun(t){var u;const r=(u=O(this,un).get(co(t)))==null?void 0:u.find(o=>o.state.status==="pending");return!r||r===t}runNext(t){var u;const r=(u=O(this,un).get(co(t)))==null?void 0:u.find(o=>o!==t&&o.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}clear(){Tt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...O(this,un).values()].flat()}find(t){const r={exact:!0,...t};return this.getAll().find(u=>md(r,u))}findAll(t={}){return this.getAll().filter(r=>md(t,r))}notify(t){Tt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return Tt.batch(()=>Promise.all(t.map(r=>r.continue().catch(mn))))}},un=new WeakMap,Iu=new WeakMap,dp);function co(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Sd(e){return{onFetch:(t,r)=>{var p,g,I,b,E;const u=t.options,o=(I=(g=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:g.fetchMore)==null?void 0:I.direction,l=((b=t.state.data)==null?void 0:b.pages)||[],a=((E=t.state.data)==null?void 0:E.pageParams)||[];let c={pages:[],pageParams:[]},f=0;const h=async()=>{let A=!1;const F=k=>{Object.defineProperty(k,"signal",{enumerable:!0,get:()=>(t.signal.aborted?A=!0:t.signal.addEventListener("abort",()=>{A=!0}),t.signal)})},P=yd(t.options,t.fetchOptions),D=async(k,L,V)=>{if(A)return Promise.reject();if(L==null&&k.pages.length)return Promise.resolve(k);const R={queryKey:t.queryKey,pageParam:L,direction:V?"backward":"forward",meta:t.options.meta};F(R);const J=await P(R),{maxPages:N}=t.options,j=V?Vy:Ny;return{pages:j(k.pages,J,N),pageParams:j(k.pageParams,L,N)}};if(o&&l.length){const k=o==="backward",L=k?qy:Ed,V={pages:l,pageParams:a},R=L(u,V);c=await D(V,R,k)}else{const k=e??l.length;do{const L=f===0?a[0]??u.initialPageParam:Ed(u,c);if(f>0&&L==null)break;c=await D(c,L),f++}while(f<k)}return c};t.options.persister?t.fetchFn=()=>{var A,F;return(F=(A=t.options).persister)==null?void 0:F.call(A,h,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=h}}}function Ed(e,{pages:t,pageParams:r}){const u=t.length-1;return t.length>0?e.getNextPageParam(t[u],t,r[u],r):void 0}function qy(e,{pages:t,pageParams:r}){var u;return t.length>0?(u=e.getPreviousPageParam)==null?void 0:u.call(e,t[0],t,r[0],r):void 0}var $y=(hp=class{constructor(e={}){we(this,ht);we(this,Cr);we(this,xr);we(this,Si);we(this,Ei);we(this,Ar);we(this,Fi);we(this,Pi);ae(this,ht,e.queryCache||new Jy),ae(this,Cr,e.mutationCache||new Qy),ae(this,xr,e.defaultOptions||{}),ae(this,Si,new Map),ae(this,Ei,new Map),ae(this,Ar,0)}mount(){Ws(this,Ar)._++,O(this,Ar)===1&&(ae(this,Fi,Ol.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,ht).onFocus())})),ae(this,Pi,ao.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,ht).onOnline())})))}unmount(){var e,t;Ws(this,Ar)._--,O(this,Ar)===0&&((e=O(this,Fi))==null||e.call(this),ae(this,Fi,void 0),(t=O(this,Pi))==null||t.call(this),ae(this,Pi,void 0))}isFetching(e){return O(this,ht).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,Cr).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=O(this,ht).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const r=this.defaultQueryOptions(e),u=O(this,ht).build(this,r);return e.revalidateIfStale&&u.isStaleByTime(bi(r.staleTime,u))&&this.prefetchQuery(r),Promise.resolve(t)}}getQueriesData(e){return O(this,ht).findAll(e).map(({queryKey:t,state:r})=>{const u=r.data;return[t,u]})}setQueryData(e,t,r){const u=this.defaultQueryOptions({queryKey:e}),o=O(this,ht).get(u.queryHash),l=o==null?void 0:o.state.data,a=Dy(t,l);if(a!==void 0)return O(this,ht).build(this,u).setData(a,{...r,manual:!0})}setQueriesData(e,t,r){return Tt.batch(()=>O(this,ht).findAll(e).map(({queryKey:u})=>[u,this.setQueryData(u,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=O(this,ht).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=O(this,ht);Tt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=O(this,ht),u={type:"active",...e};return Tt.batch(()=>(r.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(u,t)))}cancelQueries(e={},t={}){const r={revert:!0,...t},u=Tt.batch(()=>O(this,ht).findAll(e).map(o=>o.cancel(r)));return Promise.all(u).then(mn).catch(mn)}invalidateQueries(e={},t={}){return Tt.batch(()=>{if(O(this,ht).findAll(e).forEach(u=>{u.invalidate()}),e.refetchType==="none")return Promise.resolve();const r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e={},t){const r={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},u=Tt.batch(()=>O(this,ht).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let l=o.fetch(void 0,r);return r.throwOnError||(l=l.catch(mn)),o.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(u).then(mn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=O(this,ht).build(this,t);return r.isStaleByTime(bi(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(mn).catch(mn)}fetchInfiniteQuery(e){return e.behavior=Sd(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(mn).catch(mn)}ensureInfiniteQueryData(e){return e.behavior=Sd(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ao.isOnline()?O(this,Cr).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,ht)}getMutationCache(){return O(this,Cr)}getDefaultOptions(){return O(this,xr)}setDefaultOptions(e){ae(this,xr,e)}setQueryDefaults(e,t){O(this,Si).set(fu(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...O(this,Si).values()];let r={};return t.forEach(u=>{du(e,u.queryKey)&&(r={...r,...u.defaultOptions})}),r}setMutationDefaults(e,t){O(this,Ei).set(fu(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...O(this,Ei).values()];let r={};return t.forEach(u=>{du(e,u.mutationKey)&&(r={...r,...u.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...O(this,xr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Sl(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===lo&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,xr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,ht).clear(),O(this,Cr).clear()}},ht=new WeakMap,Cr=new WeakMap,xr=new WeakMap,Si=new WeakMap,Ei=new WeakMap,Ar=new WeakMap,Fi=new WeakMap,Pi=new WeakMap,hp),Ky=(pp=class extends cu{constructor(t,r){super();we(this,Qe);we(this,Jt);we(this,Xe);we(this,Cu);we(this,Dt);we(this,Ur);we(this,Ti);we(this,wr);we(this,Zn);we(this,xu);we(this,Oi);we(this,Bi);we(this,jr);we(this,Qr);we(this,Sr);we(this,_i,new Set);this.options=r,ae(this,Jt,t),ae(this,Zn,null),ae(this,wr,Bl()),this.options.experimental_prefetchInRender||O(this,wr).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(O(this,Xe).addObserver(this),Fd(O(this,Xe),this.options)?Ye(this,Qe,ju).call(this):this.updateResult(),Ye(this,Qe,Gc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Gl(O(this,Xe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Gl(O(this,Xe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ye(this,Qe,Rc).call(this),Ye(this,Qe,kc).call(this),O(this,Xe).removeObserver(this)}setOptions(t,r){const u=this.options,o=O(this,Xe);if(this.options=O(this,Jt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof On(this.options.enabled,O(this,Xe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ye(this,Qe,Lc).call(this),O(this,Xe).setOptions(this.options),u._defaulted&&!Fl(this.options,u)&&O(this,Jt).getQueryCache().notify({type:"observerOptionsUpdated",query:O(this,Xe),observer:this});const l=this.hasListeners();l&&Pd(O(this,Xe),o,this.options,u)&&Ye(this,Qe,ju).call(this),this.updateResult(r),l&&(O(this,Xe)!==o||On(this.options.enabled,O(this,Xe))!==On(u.enabled,O(this,Xe))||bi(this.options.staleTime,O(this,Xe))!==bi(u.staleTime,O(this,Xe)))&&Ye(this,Qe,Oc).call(this);const a=Ye(this,Qe,Bc).call(this);l&&(O(this,Xe)!==o||On(this.options.enabled,O(this,Xe))!==On(u.enabled,O(this,Xe))||a!==O(this,Sr))&&Ye(this,Qe,_c).call(this,a)}getOptimisticResult(t){const r=O(this,Jt).getQueryCache().build(O(this,Jt),t),u=this.createResult(r,t);return tI(this,u)&&(ae(this,Dt,u),ae(this,Ti,this.options),ae(this,Ur,O(this,Xe).state)),u}getCurrentResult(){return O(this,Dt)}trackResult(t,r){const u={};return Object.keys(t).forEach(o=>{Object.defineProperty(u,o,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(o),r==null||r(o),t[o])})}),u}trackProp(t){O(this,_i).add(t)}getCurrentQuery(){return O(this,Xe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=O(this,Jt).defaultQueryOptions(t),u=O(this,Jt).getQueryCache().build(O(this,Jt),r);return u.fetch().then(()=>this.createResult(u,r))}fetch(t){return Ye(this,Qe,ju).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),O(this,Dt)))}createResult(t,r){var N;const u=O(this,Xe),o=this.options,l=O(this,Dt),a=O(this,Ur),c=O(this,Ti),h=t!==u?t.state:O(this,Cu),{state:p}=t;let g={...p},I=!1,b;if(r._optimisticResults){const j=this.hasListeners(),ne=!j&&Fd(t,r),$=j&&Pd(t,u,r,o);(ne||$)&&(g={...g,...wd(p.data,t.options)}),r._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:E,errorUpdatedAt:A,status:F}=g;if(r.select&&g.data!==void 0)if(l&&g.data===(a==null?void 0:a.data)&&r.select===O(this,xu))b=O(this,Oi);else try{ae(this,xu,r.select),b=r.select(g.data),b=Tl(l==null?void 0:l.data,b,r),ae(this,Oi,b),ae(this,Zn,null)}catch(j){ae(this,Zn,j)}else b=g.data;if(r.placeholderData!==void 0&&b===void 0&&F==="pending"){let j;if(l!=null&&l.isPlaceholderData&&r.placeholderData===(c==null?void 0:c.placeholderData))j=l.data;else if(j=typeof r.placeholderData=="function"?r.placeholderData((N=O(this,Bi))==null?void 0:N.state.data,O(this,Bi)):r.placeholderData,r.select&&j!==void 0)try{j=r.select(j),ae(this,Zn,null)}catch(ne){ae(this,Zn,ne)}j!==void 0&&(F="success",b=Tl(l==null?void 0:l.data,j,r),I=!0)}O(this,Zn)&&(E=O(this,Zn),b=O(this,Oi),A=Date.now(),F="error");const P=g.fetchStatus==="fetching",D=F==="pending",k=F==="error",L=D&&P,V=b!==void 0,J={status:F,fetchStatus:g.fetchStatus,isPending:D,isSuccess:F==="success",isError:k,isInitialLoading:L,isLoading:L,data:b,dataUpdatedAt:g.dataUpdatedAt,error:E,errorUpdatedAt:A,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>h.dataUpdateCount||g.errorUpdateCount>h.errorUpdateCount,isFetching:P,isRefetching:P&&!D,isLoadingError:k&&!V,isPaused:g.fetchStatus==="paused",isPlaceholderData:I,isRefetchError:k&&V,isStale:Rl(t,r),refetch:this.refetch,promise:O(this,wr)};if(this.options.experimental_prefetchInRender){const j=Q=>{J.status==="error"?Q.reject(J.error):J.data!==void 0&&Q.resolve(J.data)},ne=()=>{const Q=ae(this,wr,J.promise=Bl());j(Q)},$=O(this,wr);switch($.status){case"pending":t.queryHash===u.queryHash&&j($);break;case"fulfilled":(J.status==="error"||J.data!==$.value)&&ne();break;case"rejected":(J.status!=="error"||J.error!==$.reason)&&ne();break}}return J}updateResult(t){const r=O(this,Dt),u=this.createResult(O(this,Xe),this.options);if(ae(this,Ur,O(this,Xe).state),ae(this,Ti,this.options),O(this,Ur).data!==void 0&&ae(this,Bi,O(this,Xe)),Fl(u,r))return;ae(this,Dt,u);const o={},l=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!O(this,_i).size)return!0;const f=new Set(c??O(this,_i));return this.options.throwOnError&&f.add("error"),Object.keys(O(this,Dt)).some(h=>{const p=h;return O(this,Dt)[p]!==r[p]&&f.has(p)})};(t==null?void 0:t.listeners)!==!1&&l()&&(o.listeners=!0),Ye(this,Qe,gm).call(this,{...o,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ye(this,Qe,Gc).call(this)}},Jt=new WeakMap,Xe=new WeakMap,Cu=new WeakMap,Dt=new WeakMap,Ur=new WeakMap,Ti=new WeakMap,wr=new WeakMap,Zn=new WeakMap,xu=new WeakMap,Oi=new WeakMap,Bi=new WeakMap,jr=new WeakMap,Qr=new WeakMap,Sr=new WeakMap,_i=new WeakMap,Qe=new WeakSet,ju=function(t){Ye(this,Qe,Lc).call(this);let r=O(this,Xe).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(mn)),r},Oc=function(){Ye(this,Qe,Rc).call(this);const t=bi(this.options.staleTime,O(this,Xe));if(Vr||O(this,Dt).isStale||!wl(t))return;const u=pd(O(this,Dt).dataUpdatedAt,t)+1;ae(this,jr,setTimeout(()=>{O(this,Dt).isStale||this.updateResult()},u))},Bc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(O(this,Xe)):this.options.refetchInterval)??!1},_c=function(t){Ye(this,Qe,kc).call(this),ae(this,Sr,t),!(Vr||On(this.options.enabled,O(this,Xe))===!1||!wl(O(this,Sr))||O(this,Sr)===0)&&ae(this,Qr,setInterval(()=>{(this.options.refetchIntervalInBackground||Ol.isFocused())&&Ye(this,Qe,ju).call(this)},O(this,Sr)))},Gc=function(){Ye(this,Qe,Oc).call(this),Ye(this,Qe,_c).call(this,Ye(this,Qe,Bc).call(this))},Rc=function(){O(this,jr)&&(clearTimeout(O(this,jr)),ae(this,jr,void 0))},kc=function(){O(this,Qr)&&(clearInterval(O(this,Qr)),ae(this,Qr,void 0))},Lc=function(){const t=O(this,Jt).getQueryCache().build(O(this,Jt),this.options);if(t===O(this,Xe))return;const r=O(this,Xe);ae(this,Xe,t),ae(this,Cu,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},gm=function(t){Tt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(O(this,Dt))}),O(this,Jt).getQueryCache().notify({query:O(this,Xe),type:"observerResultsUpdated"})})},pp);function eI(e,t){return On(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fd(e,t){return eI(e,t)||e.state.data!==void 0&&Gl(e,t,t.refetchOnMount)}function Gl(e,t,r){if(On(t.enabled,e)!==!1){const u=typeof r=="function"?r(e):r;return u==="always"||u!==!1&&Rl(e,t)}return!1}function Pd(e,t,r,u){return(e!==t||On(u.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Rl(e,r)}function Rl(e,t){return On(t.enabled,e)!==!1&&e.isStaleByTime(bi(t.staleTime,e))}function tI(e,t){return!Fl(e.getCurrentResult(),t)}var Td=Fe.createContext(void 0),nI=e=>{const t=Fe.useContext(Td);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},rI=({client:e,children:t})=>(Fe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),q.jsx(Td.Provider,{value:e,children:t})),Od=Fe.createContext(!1),iI=()=>Fe.useContext(Od);Od.Provider;function uI(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var oI=Fe.createContext(uI()),sI=()=>Fe.useContext(oI);function lI(e,t){return typeof e=="function"?e(...t):!!e}function Bd(){}var aI=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},cI=e=>{Fe.useEffect(()=>{e.clearReset()},[e])},fI=({result:e,errorResetBoundary:t,throwOnError:r,query:u})=>e.isError&&!t.isReset()&&!e.isFetching&&u&&lI(r,[e.error,u]),dI=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},hI=(e,t)=>e.isLoading&&e.isFetching&&!t,pI=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,_d=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function gI(e,t,r){var p,g,I,b,E;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const u=nI(),o=iI(),l=sI(),a=u.defaultQueryOptions(e);(g=(p=u.getDefaultOptions().queries)==null?void 0:p._experimental_beforeQuery)==null||g.call(p,a),a._optimisticResults=o?"isRestoring":"optimistic",dI(a),aI(a,l),cI(l);const c=!u.getQueryCache().get(a.queryHash),[f]=Fe.useState(()=>new t(u,a)),h=f.getOptimisticResult(a);if(Fe.useSyncExternalStore(Fe.useCallback(A=>{const F=o?Bd:f.subscribe(Tt.batchCalls(A));return f.updateResult(),F},[f,o]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),Fe.useEffect(()=>{f.setOptions(a,{listeners:!1})},[a,f]),pI(a,h))throw _d(a,f,l);if(fI({result:h,errorResetBoundary:l,throwOnError:a.throwOnError,query:u.getQueryCache().get(a.queryHash)}))throw h.error;if((b=(I=u.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||b.call(I,a,h),a.experimental_prefetchInRender&&!Vr&&hI(h,o)){const A=c?_d(a,f,l):(E=u.getQueryCache().get(a.queryHash))==null?void 0:E.promise;A==null||A.catch(Bd).finally(()=>{f.updateResult()})}return a.notifyOnChangeProps?h:f.trackResult(h)}function Wr(e,t){return gI(e,Ky)}const Gd=Z.createContext(void 0),$n=()=>{const e=Z.useContext(Gd);if(!e)throw new Error("Must be used inside FrontendClientProvider");return e},mI=({children:e,client:t})=>{const r=new $y({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1}}});return q.jsx(rI,{client:r,children:q.jsx(Gd.Provider,{value:t,children:e})})};function Rd(e){return typeof e=="object"&&e&&"__lv"in e?e.__lv.value:e}function bI(e){if(typeof e=="object"&&e&&"selectedOptions"in e&&Array.isArray(e.selectedOptions)){const t=e.selectedOptions,r=[];for(const u of t)if(typeof u=="object"&&u&&"emitValue"in u){const o=u.emitValue;typeof o=="object"&&o&&"__lv"in o?r.push(o.__lv.value):r.push(o)}else return[];return r}return e&&typeof e=="object"&&Array.isArray(e.__lv)?e.__lv:Array.isArray(e)?e:[]}function vI(e){const t=bI(e.value);if(!e.prop.default&&typeof t>"u")return["required"];if(!e.prop.default&&Array.isArray(t)&&!t.length)return["empty array"]}function yI(e){const t=Rd(e.value);if(t==null||typeof t>"u")return["required"]}function II(e){const{prop:t,value:r}=e,u=Rd(r);if(!t.default&&(u==null||typeof u>"u"))return["required"];const o=typeof u=="number"?u:parseInt(String(u));if(Number.isNaN(o))return["not a number"];const l=[];return typeof t.min=="number"&&o<t.min&&l.push("number too small"),typeof t.max=="number"&&o>t.max&&l.push("number too big"),l}function CI(e){const{prop:t,value:r}=e;if(!t.default&&(r==null||typeof r>"u"))return["required"]}function xI(e){const t=e.auth_type==="oauth",r=JSON.parse(e.custom_fields_json||"[]");if("extracted_custom_fields_names"in e&&e.extracted_custom_fields_names){const u=(e.extracted_custom_fields_names||[]).map(o=>({name:o}));r.push(...u)}return r.map(u=>({...u,optional:u.optional||t}))}function AI(e){const{app:t,value:r}=e;if(!t)return["app field not registered"];if(!r)return["no app configured"];if(typeof r!="object")return["not an app"];const u=r;if("authProvisionId"in u&&!u.authProvisionId&&t.auth_type){const o=[];if(t.auth_type==="oauth"&&!u.oauth_access_token&&o.push("missing oauth token"),t.auth_type==="oauth"||t.auth_type==="keys"){const l=xI(t),a=u;for(const c of l)!c.optional&&!a[c.name]&&o.push(`missing custom field: ${c.name}`)}return t.auth_type!=="none"&&o.push("no auth provision configured"),o}}var fo={exports:{}};/**
|
|
13
|
+
`}),r}function qf(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function $f(e,t){const r=uy(e,t),u=r.one(e,void 0),o=jv(r),l=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return o&&l.children.push({type:"text",value:`
|
|
14
|
+
`},o),l}function cy(e,t){return e&&"run"in e?async function(r,u){const o=$f(r,{file:u,...t});await e.run(o,u)}:function(r,u){return $f(r,{file:u,...e||t})}}function Kf(e){if(e)throw e}var uo=Object.prototype.hasOwnProperty,ed=Object.prototype.toString,td=Object.defineProperty,nd=Object.getOwnPropertyDescriptor,rd=function(t){return typeof Array.isArray=="function"?Array.isArray(t):ed.call(t)==="[object Array]"},id=function(t){if(!t||ed.call(t)!=="[object Object]")return!1;var r=uo.call(t,"constructor"),u=t.constructor&&t.constructor.prototype&&uo.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!u)return!1;var o;for(o in t);return typeof o>"u"||uo.call(t,o)},ud=function(t,r){td&&r.name==="__proto__"?td(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},od=function(t,r){if(r==="__proto__")if(uo.call(t,r)){if(nd)return nd(t,r).value}else return;return t[r]},fy=function e(){var t,r,u,o,l,a,c=arguments[0],f=1,h=arguments.length,p=!1;for(typeof c=="boolean"&&(p=c,c=arguments[1]||{},f=2),(c==null||typeof c!="object"&&typeof c!="function")&&(c={});f<h;++f)if(t=arguments[f],t!=null)for(r in t)u=od(c,r),o=od(t,r),c!==o&&(p&&o&&(id(o)||(l=rd(o)))?(l?(l=!1,a=u&&rd(u)?u:[]):a=u&&id(u)?u:{},ud(c,{name:r,newValue:e(p,a,o)})):typeof o<"u"&&ud(c,{name:r,newValue:o}));return c};const gl=Us(fy);function ml(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 dy(){const e=[],t={run:r,use:u};return t;function r(...o){let l=-1;const a=o.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);c(null,...o);function c(f,...h){const p=e[++l];let g=-1;if(f){a(f);return}for(;++g<o.length;)(h[g]===null||h[g]===void 0)&&(h[g]=o[g]);o=h,p?hy(p,c)(...h):a(null,...h)}}function u(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function hy(e,t){let r;return u;function u(...a){const c=e.length>a.length;let f;c&&a.push(o);try{f=e.apply(this,a)}catch(h){const p=h;if(c&&r)throw p;return o(p)}c||(f&&f.then&&typeof f.then=="function"?f.then(l,o):f instanceof Error?o(f):l(f))}function o(a,...c){r||(r=!0,t(a,...c))}function l(a){o(null,a)}}const jn={basename:py,dirname:gy,extname:my,join:by,sep:"/"};function py(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');cu(e);let r=0,u=-1,o=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(l){r=o+1;break}}else u<0&&(l=!0,u=o+1);return u<0?"":e.slice(r,u)}if(t===e)return"";let a=-1,c=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(l){r=o+1;break}}else a<0&&(l=!0,a=o+1),c>-1&&(e.codePointAt(o)===t.codePointAt(c--)?c<0&&(u=o):(c=-1,u=a));return r===u?u=a:u<0&&(u=e.length),e.slice(r,u)}function gy(e){if(cu(e),e.length===0)return".";let t=-1,r=e.length,u;for(;--r;)if(e.codePointAt(r)===47){if(u){t=r;break}}else u||(u=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function my(e){cu(e);let t=e.length,r=-1,u=0,o=-1,l=0,a;for(;t--;){const c=e.codePointAt(t);if(c===47){if(a){u=t+1;break}continue}r<0&&(a=!0,r=t+1),c===46?o<0?o=t:l!==1&&(l=1):o>-1&&(l=-1)}return o<0||r<0||l===0||l===1&&o===r-1&&o===u+1?"":e.slice(o,r)}function by(...e){let t=-1,r;for(;++t<e.length;)cu(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":vy(r)}function vy(e){cu(e);const t=e.codePointAt(0)===47;let r=yy(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function yy(e,t){let r="",u=0,o=-1,l=0,a=-1,c,f;for(;++a<=e.length;){if(a<e.length)c=e.codePointAt(a);else{if(c===47)break;c=47}if(c===47){if(!(o===a-1||l===1))if(o!==a-1&&l===2){if(r.length<2||u!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(f=r.lastIndexOf("/"),f!==r.length-1){f<0?(r="",u=0):(r=r.slice(0,f),u=r.length-1-r.lastIndexOf("/")),o=a,l=0;continue}}else if(r.length>0){r="",u=0,o=a,l=0;continue}}t&&(r=r.length>0?r+"/..":"..",u=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),u=a-o-1;o=a,l=0}else c===46&&l>-1?l++:l=-1}return r}function cu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Iy={cwd:Cy};function Cy(){return"/"}function bl(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function xy(e){if(typeof e=="string")e=new URL(e);else if(!bl(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 Ay(e)}function Ay(e){if(e.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const u=t.codePointAt(r+2);if(u===70||u===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const vl=["history","path","basename","stem","extname","dirname"];class sd{constructor(t){let r;t?bl(t)?r={path:t}:typeof t=="string"||wy(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Iy.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<vl.length;){const l=vl[u];l in r&&r[l]!==void 0&&r[l]!==null&&(this[l]=l==="history"?[...r[l]]:r[l])}let o;for(o in r)vl.includes(o)||(this[o]=r[o])}get basename(){return typeof this.path=="string"?jn.basename(this.path):void 0}set basename(t){Il(t,"basename"),yl(t,"basename"),this.path=jn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?jn.dirname(this.path):void 0}set dirname(t){ld(this.basename,"dirname"),this.path=jn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?jn.extname(this.path):void 0}set extname(t){if(yl(t,"extname"),ld(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=jn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){bl(t)&&(t=xy(t)),Il(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?jn.basename(this.path,this.extname):void 0}set stem(t){Il(t,"stem"),yl(t,"stem"),this.path=jn.join(this.dirname||"",t+(this.extname||""))}fail(t,r,u){const o=this.message(t,r,u);throw o.fatal=!0,o}info(t,r,u){const o=this.message(t,r,u);return o.fatal=void 0,o}message(t,r,u){const o=new Vt(t,r,u);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function yl(e,t){if(e&&e.includes(jn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+jn.sep+"`")}function Il(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ld(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function wy(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Sy=function(e){const u=this.constructor.prototype,o=u[e],l=function(){return o.apply(l,arguments)};return Object.setPrototypeOf(l,u),l},Ey={}.hasOwnProperty;class Cl extends Sy{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=dy()}copy(){const t=new Cl;let r=-1;for(;++r<this.attachers.length;){const u=this.attachers[r];t.use(...u)}return t.data(gl(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(wl("data",this.frozen),this.namespace[t]=r,this):Ey.call(this.namespace,t)&&this.namespace[t]||void 0:t?(wl("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[r,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const o=r.call(t,...u);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=oo(t),u=this.parser||this.Parser;return xl("parse",u),u(String(r),r)}process(t,r){const u=this;return this.freeze(),xl("process",this.parser||this.Parser),Al("process",this.compiler||this.Compiler),r?o(void 0,r):new Promise(o);function o(l,a){const c=oo(t),f=u.parse(c);u.run(f,c,function(p,g,I){if(p||!g||!I)return h(p);const b=g,S=u.stringify(b,I);Oy(S)?I.value=S:I.result=S,h(p,I)});function h(p,g){p||!g?a(p):l?l(g):r(void 0,g)}}}processSync(t){let r=!1,u;return this.freeze(),xl("processSync",this.parser||this.Parser),Al("processSync",this.compiler||this.Compiler),this.process(t,o),cd("processSync","process",r),u;function o(l,a){r=!0,Kf(l),u=a}}run(t,r,u){ad(t),this.freeze();const o=this.transformers;return!u&&typeof r=="function"&&(u=r,r=void 0),u?l(void 0,u):new Promise(l);function l(a,c){const f=oo(r);o.run(t,f,h);function h(p,g,I){const b=g||t;p?c(p):a?a(b):u(void 0,b,I)}}}runSync(t,r){let u=!1,o;return this.run(t,r,l),cd("runSync","run",u),o;function l(a,c){Kf(a),o=c,u=!0}}stringify(t,r){this.freeze();const u=oo(r),o=this.compiler||this.Compiler;return Al("stringify",o),ad(t),o(t,u)}use(t,...r){const u=this.attachers,o=this.namespace;if(wl("use",this.frozen),t!=null)if(typeof t=="function")f(t,r);else if(typeof t=="object")Array.isArray(t)?c(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[p,...g]=h;f(p,g)}else a(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function a(h){if(!("plugins"in h)&&!("settings"in h))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");c(h.plugins),h.settings&&(o.settings=gl(!0,o.settings,h.settings))}function c(h){let p=-1;if(h!=null)if(Array.isArray(h))for(;++p<h.length;){const g=h[p];l(g)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,p){let g=-1,I=-1;for(;++g<u.length;)if(u[g][0]===h){I=g;break}if(I===-1)u.push([h,...p]);else if(p.length>0){let[b,...S]=p;const A=u[I][1];ml(A)&&ml(b)&&(b=gl(!0,A,b)),u[I]=[h,b,...S]}}}}const Fy=new Cl().freeze();function xl(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Al(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function wl(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 ad(e){if(!ml(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function cd(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function oo(e){return Py(e)?e:new sd(e)}function Py(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Oy(e){return typeof e=="string"||Ty(e)}function Ty(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const By="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",fd=[],dd={allowDangerousHtml:!0},_y=/^(https?|ircs?|mailto|xmpp)$/i,Gy=[{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 hd(e){const t=e.allowedElements,r=e.allowElement,u=e.children||"",o=e.className,l=e.components,a=e.disallowedElements,c=e.rehypePlugins||fd,f=e.remarkPlugins||fd,h=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...dd}:dd,p=e.skipHtml,g=e.unwrapDisallowed,I=e.urlTransform||Ry,b=Fy().use(gv).use(f).use(cy,h).use(c),S=new sd;typeof u=="string"&&(S.value=u);for(const L of Gy)Object.hasOwn(e,L.from)&&(""+L.from+(L.to?"use `"+L.to+"` instead":"remove it")+By+L.id,void 0);const A=b.parse(S);let F=b.runSync(A,S);return o&&(F={type:"element",tagName:"div",properties:{className:o},children:F.type==="root"?F.children:[F]}),Qf(F,P),nb(F,{Fragment:K.Fragment,components:l,ignoreInvalidStyle:!0,jsx:K.jsx,jsxs:K.jsxs,passKeys:!0,passNode:!0});function P(L,k,N){if(L.type==="raw"&&N&&typeof k=="number")return p?N.children.splice(k,1):N.children[k]={type:"text",value:L.value},k;if(L.type==="element"){let X;for(X in tl)if(Object.hasOwn(tl,X)&&Object.hasOwn(L.properties,X)){const R=L.properties[X],Y=tl[X];(Y===null||Y.includes(L.tagName))&&(L.properties[X]=I(String(R||""),X,L))}}if(L.type==="element"){let X=t?!t.includes(L.tagName):a?a.includes(L.tagName):!1;if(!X&&r&&typeof k=="number"&&(X=!r(L,k,N)),X&&N&&typeof k=="number")return g&&L.children?N.children.splice(k,1,...L.children):N.children.splice(k,1),k}}}function Ry(e){const t=e.indexOf(":"),r=e.indexOf("?"),u=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||r>-1&&t>r||u>-1&&t>u||_y.test(e.slice(0,t))?e:""}function so({prop:e}){const t={width:"100%",background:"#e2e3e5",borderRadius:"5px",paddingTop:"2px",paddingLeft:"10px",paddingRight:"10px",paddingBottom:"2px"},r={...t,background:"#fff3cd"},u={...t,background:"#d1ecf1"},o={...t,background:"#f8d7da"},l={...t,background:"#fffff2"};let a={};switch(e.alertType){case"info":a=u;break;case"neutral":a=l;break;case"warning":a=r;break;case"error":a=o;break;default:a=t}return K.jsx("div",{className:`pd-alert-${e.alertType}`,style:a,children:K.jsx(hd,{components:{a:({...c})=>K.jsx("a",{...c,target:"_blank",rel:"noopener noreferrer"})},children:e.content})})}var lo={exports:{}};lo.exports,function(e,t){var r=200,u="__lodash_hash_undefined__",o=1,l=2,a=9007199254740991,c="[object Arguments]",f="[object Array]",h="[object AsyncFunction]",p="[object Boolean]",g="[object Date]",I="[object Error]",b="[object Function]",S="[object GeneratorFunction]",A="[object Map]",F="[object Number]",P="[object Null]",L="[object Object]",k="[object Promise]",N="[object Proxy]",X="[object RegExp]",R="[object Set]",Y="[object String]",D="[object Symbol]",j="[object Undefined]",Q="[object WeakMap]",U="[object ArrayBuffer]",q="[object DataView]",be="[object Float32Array]",Se="[object Float64Array]",ue="[object Int8Array]",pe="[object Int16Array]",Ee="[object Int32Array]",Oe="[object Uint8Array]",Ke="[object Uint8ClampedArray]",E="[object Uint16Array]",xe="[object Uint32Array]",Le=/[\\^$.*+?()[\]{}|]/g,w=/^\[object .+?Constructor\]$/,je=/^(?:0|[1-9]\d*)$/,ge={};ge[be]=ge[Se]=ge[ue]=ge[pe]=ge[Ee]=ge[Oe]=ge[Ke]=ge[E]=ge[xe]=!0,ge[c]=ge[f]=ge[U]=ge[p]=ge[q]=ge[g]=ge[I]=ge[b]=ge[A]=ge[F]=ge[L]=ge[X]=ge[R]=ge[Y]=ge[Q]=!1;var Ne=typeof Ln=="object"&&Ln&&Ln.Object===Object&&Ln,St=typeof self=="object"&&self&&self.Object===Object&&self,Ve=Ne||St||Function("return this")(),vt=t&&!t.nodeType&&t,Xt=vt&&!0&&e&&!e.nodeType&&e,Lt=Xt&&Xt.exports===vt,Dt=Lt&&Ne.process,Nn=function(){try{return Dt&&Dt.binding&&Dt.binding("util")}catch{}}(),ne=Nn&&Nn.isTypedArray;function oe(C,_){for(var J=-1,se=C==null?0:C.length,ot=0,Te=[];++J<se;){var dt=C[J];_(dt,J,C)&&(Te[ot++]=dt)}return Te}function ye(C,_){for(var J=-1,se=_.length,ot=C.length;++J<se;)C[ot+J]=_[J];return C}function Ge(C,_){for(var J=-1,se=C==null?0:C.length;++J<se;)if(_(C[J],J,C))return!0;return!1}function yt(C,_){for(var J=-1,se=Array(C);++J<C;)se[J]=_(J);return se}function Bt(C){return function(_){return C(_)}}function Sn(C,_){return C.has(_)}function Mt(C,_){return C==null?void 0:C[_]}function nt(C){var _=-1,J=Array(C.size);return C.forEach(function(se,ot){J[++_]=[ot,se]}),J}function Qe(C,_){return function(J){return C(_(J))}}function ft(C){var _=-1,J=Array(C.size);return C.forEach(function(se){J[++_]=se}),J}var et=Array.prototype,V=Function.prototype,te=Object.prototype,he=Ve["__core-js_shared__"],Re=V.toString,ke=te.hasOwnProperty,_t=function(){var C=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||"");return C?"Symbol(src)_1."+C:""}(),tn=te.toString,Jt=RegExp("^"+Re.call(ke).replace(Le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),En=Lt?Ve.Buffer:void 0,nn=Ve.Symbol,Et=Ve.Uint8Array,hn=te.propertyIsEnumerable,pn=et.splice,lr=nn?nn.toStringTag:void 0,Ro=Object.getOwnPropertySymbols,ko=En?En.isBuffer:void 0,Lo=Qe(Object.keys,Object),wu=gn(Ve,"DataView"),ti=gn(Ve,"Map"),Su=gn(Ve,"Promise"),Eu=gn(Ve,"Set"),Di=gn(Ve,"WeakMap"),ni=gn(Object,"create"),ta=fr(wu),na=fr(ti),Fu=fr(Su),ra=fr(Eu),Pu=fr(Di),Do=nn?nn.prototype:void 0,Ou=Do?Do.valueOf:void 0;function ar(C){var _=-1,J=C==null?0:C.length;for(this.clear();++_<J;){var se=C[_];this.set(se[0],se[1])}}function ia(){this.__data__=ni?ni(null):{},this.size=0}function ua(C){var _=this.has(C)&&delete this.__data__[C];return this.size-=_?1:0,_}function oa(C){var _=this.__data__;if(ni){var J=_[C];return J===u?void 0:J}return ke.call(_,C)?_[C]:void 0}function sa(C){var _=this.__data__;return ni?_[C]!==void 0:ke.call(_,C)}function la(C,_){var J=this.__data__;return this.size+=this.has(C)?0:1,J[C]=ni&&_===void 0?u:_,this}ar.prototype.clear=ia,ar.prototype.delete=ua,ar.prototype.get=oa,ar.prototype.has=sa,ar.prototype.set=la;function Fn(C){var _=-1,J=C==null?0:C.length;for(this.clear();++_<J;){var se=C[_];this.set(se[0],se[1])}}function aa(){this.__data__=[],this.size=0}function ca(C){var _=this.__data__,J=ri(_,C);if(J<0)return!1;var se=_.length-1;return J==se?_.pop():pn.call(_,J,1),--this.size,!0}function fa(C){var _=this.__data__,J=ri(_,C);return J<0?void 0:_[J][1]}function da(C){return ri(this.__data__,C)>-1}function ha(C,_){var J=this.__data__,se=ri(J,C);return se<0?(++this.size,J.push([C,_])):J[se][1]=_,this}Fn.prototype.clear=aa,Fn.prototype.delete=ca,Fn.prototype.get=fa,Fn.prototype.has=da,Fn.prototype.set=ha;function cr(C){var _=-1,J=C==null?0:C.length;for(this.clear();++_<J;){var se=C[_];this.set(se[0],se[1])}}function Mi(){this.size=0,this.__data__={hash:new ar,map:new(ti||Fn),string:new ar}}function pa(C){var _=Br(this,C).delete(C);return this.size-=_?1:0,_}function Ni(C){return Br(this,C).get(C)}function ga(C){return Br(this,C).has(C)}function ma(C,_){var J=Br(this,C),se=J.size;return J.set(C,_),this.size+=J.size==se?0:1,this}cr.prototype.clear=Mi,cr.prototype.delete=pa,cr.prototype.get=Ni,cr.prototype.has=ga,cr.prototype.set=ma;function Vi(C){var _=-1,J=C==null?0:C.length;for(this.__data__=new cr;++_<J;)this.add(C[_])}function Mo(C){return this.__data__.set(C,u),this}function No(C){return this.__data__.has(C)}Vi.prototype.add=Vi.prototype.push=Mo,Vi.prototype.has=No;function Vn(C){var _=this.__data__=new Fn(C);this.size=_.size}function ba(){this.__data__=new Fn,this.size=0}function va(C){var _=this.__data__,J=_.delete(C);return this.size=_.size,J}function ya(C){return this.__data__.get(C)}function Ia(C){return this.__data__.has(C)}function Vo(C,_){var J=this.__data__;if(J instanceof Fn){var se=J.__data__;if(!ti||se.length<r-1)return se.push([C,_]),this.size=++J.size,this;J=this.__data__=new cr(se)}return J.set(C,_),this.size=J.size,this}Vn.prototype.clear=ba,Vn.prototype.delete=va,Vn.prototype.get=ya,Vn.prototype.has=Ia,Vn.prototype.set=Vo;function Wo(C,_){var J=Hi(C),se=!J&&Ko(C),ot=!J&&!se&&_u(C),Te=!J&&!se&&!ot&&ns(C),dt=J||se||ot||Te,Ft=dt?yt(C.length,String):[],Ze=Ft.length;for(var st in C)ke.call(C,st)&&!(dt&&(st=="length"||ot&&(st=="offset"||st=="parent")||Te&&(st=="buffer"||st=="byteLength"||st=="byteOffset")||jo(st,Ze)))&&Ft.push(st);return Ft}function ri(C,_){for(var J=C.length;J--;)if($o(C[J][0],_))return J;return-1}function Tu(C,_,J){var se=_(C);return Hi(C)?se:ye(se,J(C))}function ii(C){return C==null?C===void 0?j:P:lr&&lr in Object(C)?Yo(C):Aa(C)}function Bu(C){return oi(C)&&ii(C)==c}function ui(C,_,J,se,ot){return C===_?!0:C==null||_==null||!oi(C)&&!oi(_)?C!==C&&_!==_:Xo(C,_,J,se,ui,ot)}function Xo(C,_,J,se,ot,Te){var dt=Hi(C),Ft=Hi(_),Ze=dt?f:er(C),st=Ft?f:er(_);Ze=Ze==c?L:Ze,st=st==c?L:st;var Ct=Ze==L,rn=st==L,Pt=Ze==st;if(Pt&&_u(C)){if(!_u(_))return!1;dt=!0,Ct=!1}if(Pt&&!Ct)return Te||(Te=new Vn),dt||ns(C)?Wi(C,_,J,se,ot,Te):xa(C,_,Ze,J,se,ot,Te);if(!(J&o)){var ht=Ct&&ke.call(C,"__wrapped__"),jt=rn&&ke.call(_,"__wrapped__");if(ht||jt){var Wn=ht?C.value():C,Pn=jt?_.value():_;return Te||(Te=new Vn),ot(Wn,Pn,J,se,Te)}}return Pt?(Te||(Te=new Vn),Zo(C,_,J,se,ot,Te)):!1}function Ca(C){if(!ts(C)||Qo(C))return!1;var _=zi(C)?Jt:w;return _.test(fr(C))}function Ho(C){return oi(C)&&es(C.length)&&!!ge[ii(C)]}function zo(C){if(!qo(C))return Lo(C);var _=[];for(var J in Object(C))ke.call(C,J)&&J!="constructor"&&_.push(J);return _}function Wi(C,_,J,se,ot,Te){var dt=J&o,Ft=C.length,Ze=_.length;if(Ft!=Ze&&!(dt&&Ze>Ft))return!1;var st=Te.get(C);if(st&&Te.get(_))return st==_;var Ct=-1,rn=!0,Pt=J&l?new Vi:void 0;for(Te.set(C,_),Te.set(_,C);++Ct<Ft;){var ht=C[Ct],jt=_[Ct];if(se)var Wn=dt?se(jt,ht,Ct,_,C,Te):se(ht,jt,Ct,C,_,Te);if(Wn!==void 0){if(Wn)continue;rn=!1;break}if(Pt){if(!Ge(_,function(Pn,tr){if(!Sn(Pt,tr)&&(ht===Pn||ot(ht,Pn,J,se,Te)))return Pt.push(tr)})){rn=!1;break}}else if(!(ht===jt||ot(ht,jt,J,se,Te))){rn=!1;break}}return Te.delete(C),Te.delete(_),rn}function xa(C,_,J,se,ot,Te,dt){switch(J){case q:if(C.byteLength!=_.byteLength||C.byteOffset!=_.byteOffset)return!1;C=C.buffer,_=_.buffer;case U:return!(C.byteLength!=_.byteLength||!Te(new Et(C),new Et(_)));case p:case g:case F:return $o(+C,+_);case I:return C.name==_.name&&C.message==_.message;case X:case Y:return C==_+"";case A:var Ft=nt;case R:var Ze=se&o;if(Ft||(Ft=ft),C.size!=_.size&&!Ze)return!1;var st=dt.get(C);if(st)return st==_;se|=l,dt.set(C,_);var Ct=Wi(Ft(C),Ft(_),se,ot,Te,dt);return dt.delete(C),Ct;case D:if(Ou)return Ou.call(C)==Ou.call(_)}return!1}function Zo(C,_,J,se,ot,Te){var dt=J&o,Ft=Xi(C),Ze=Ft.length,st=Xi(_),Ct=st.length;if(Ze!=Ct&&!dt)return!1;for(var rn=Ze;rn--;){var Pt=Ft[rn];if(!(dt?Pt in _:ke.call(_,Pt)))return!1}var ht=Te.get(C);if(ht&&Te.get(_))return ht==_;var jt=!0;Te.set(C,_),Te.set(_,C);for(var Wn=dt;++rn<Ze;){Pt=Ft[rn];var Pn=C[Pt],tr=_[Pt];if(se)var Gu=dt?se(tr,Pn,Pt,_,C,Te):se(Pn,tr,Pt,C,_,Te);if(!(Gu===void 0?Pn===tr||ot(Pn,tr,J,se,Te):Gu)){jt=!1;break}Wn||(Wn=Pt=="constructor")}if(jt&&!Wn){var si=C.constructor,Gt=_.constructor;si!=Gt&&"constructor"in C&&"constructor"in _&&!(typeof si=="function"&&si instanceof si&&typeof Gt=="function"&&Gt instanceof Gt)&&(jt=!1)}return Te.delete(C),Te.delete(_),jt}function Xi(C){return Tu(C,Ea,Jo)}function Br(C,_){var J=C.__data__;return Uo(_)?J[typeof _=="string"?"string":"hash"]:J.map}function gn(C,_){var J=Mt(C,_);return Ca(J)?J:void 0}function Yo(C){var _=ke.call(C,lr),J=C[lr];try{C[lr]=void 0;var se=!0}catch{}var ot=tn.call(C);return se&&(_?C[lr]=J:delete C[lr]),ot}var Jo=Ro?function(C){return C==null?[]:(C=Object(C),oe(Ro(C),function(_){return hn.call(C,_)}))}:ut,er=ii;(wu&&er(new wu(new ArrayBuffer(1)))!=q||ti&&er(new ti)!=A||Su&&er(Su.resolve())!=k||Eu&&er(new Eu)!=R||Di&&er(new Di)!=Q)&&(er=function(C){var _=ii(C),J=_==L?C.constructor:void 0,se=J?fr(J):"";if(se)switch(se){case ta:return q;case na:return A;case Fu:return k;case ra:return R;case Pu:return Q}return _});function jo(C,_){return _=_??a,!!_&&(typeof C=="number"||je.test(C))&&C>-1&&C%1==0&&C<_}function Uo(C){var _=typeof C;return _=="string"||_=="number"||_=="symbol"||_=="boolean"?C!=="__proto__":C===null}function Qo(C){return!!_t&&_t in C}function qo(C){var _=C&&C.constructor,J=typeof _=="function"&&_.prototype||te;return C===J}function Aa(C){return tn.call(C)}function fr(C){if(C!=null){try{return Re.call(C)}catch{}try{return C+""}catch{}}return""}function $o(C,_){return C===_||C!==C&&_!==_}var Ko=Bu(function(){return arguments}())?Bu:function(C){return oi(C)&&ke.call(C,"callee")&&!hn.call(C,"callee")},Hi=Array.isArray;function wa(C){return C!=null&&es(C.length)&&!zi(C)}var _u=ko||it;function Sa(C,_){return ui(C,_)}function zi(C){if(!ts(C))return!1;var _=ii(C);return _==b||_==S||_==h||_==N}function es(C){return typeof C=="number"&&C>-1&&C%1==0&&C<=a}function ts(C){var _=typeof C;return C!=null&&(_=="object"||_=="function")}function oi(C){return C!=null&&typeof C=="object"}var ns=ne?Bt(ne):Ho;function Ea(C){return wa(C)?Wo(C):zo(C)}function ut(){return[]}function it(){return!1}e.exports=Sa}(lo,lo.exports);var ky=lo.exports;const Ly=Us(ky);var fu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},zr=typeof window>"u"||"Deno"in globalThis;function An(){}function Dy(e,t){return typeof e=="function"?e(t):e}function Sl(e){return typeof e=="number"&&e>=0&&e!==1/0}function pd(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ci(e,t){return typeof e=="function"?e(t):e}function Dn(e,t){return typeof e=="function"?e(t):e}function gd(e,t){const{type:r="all",exact:u,fetchStatus:o,predicate:l,queryKey:a,stale:c}=e;if(a){if(u){if(t.queryHash!==El(a,t.options))return!1}else if(!hu(t.queryKey,a))return!1}if(r!=="all"){const f=t.isActive();if(r==="active"&&!f||r==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||o&&o!==t.state.fetchStatus||l&&!l(t))}function md(e,t){const{exact:r,status:u,predicate:o,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(r){if(du(t.options.mutationKey)!==du(l))return!1}else if(!hu(t.options.mutationKey,l))return!1}return!(u&&t.state.status!==u||o&&!o(t))}function El(e,t){return((t==null?void 0:t.queryKeyHashFn)||du)(e)}function du(e){return JSON.stringify(e,(t,r)=>Ol(r)?Object.keys(r).sort().reduce((u,o)=>(u[o]=r[o],u),{}):r)}function hu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!hu(e[r],t[r])):!1}function Fl(e,t){if(e===t)return e;const r=bd(e)&&bd(t);if(r||Ol(e)&&Ol(t)){const u=r?e:Object.keys(e),o=u.length,l=r?t:Object.keys(t),a=l.length,c=r?[]:{};let f=0;for(let h=0;h<a;h++){const p=r?h:l[h];(!r&&u.includes(p)||r)&&e[p]===void 0&&t[p]===void 0?(c[p]=void 0,f++):(c[p]=Fl(e[p],t[p]),c[p]===e[p]&&e[p]!==void 0&&f++)}return o===a&&f===o?e:c}return t}function Pl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function bd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ol(e){if(!vd(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!vd(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function vd(e){return Object.prototype.toString.call(e)==="[object Object]"}function My(e){return new Promise(t=>{setTimeout(t,e)})}function Tl(e,t,r){if(typeof r.structuralSharing=="function")return r.structuralSharing(e,t);if(r.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Fl(e,t)}catch(u){console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${u}`)}return Fl(e,t)}return t}function Ny(e,t,r=0){const u=[...e,t];return r&&u.length>r?u.slice(1):u}function Vy(e,t,r=0){const u=[t,...e];return r&&u.length>r?u.slice(0,-1):u}var ao=Symbol();function yd(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===ao&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===ao?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Wy=(op=class extends fu{constructor(){super();we(this,jr);we(this,wr);we(this,wi);ae(this,wi,t=>{if(!zr&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){T(this,wr)||this.setEventListener(T(this,wi))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,wr))==null||t.call(this),ae(this,wr,void 0))}setEventListener(t){var r;ae(this,wi,t),(r=T(this,wr))==null||r.call(this),ae(this,wr,t(u=>{typeof u=="boolean"?this.setFocused(u):this.onFocus()}))}setFocused(t){T(this,jr)!==t&&(ae(this,jr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof T(this,jr)=="boolean"?T(this,jr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},jr=new WeakMap,wr=new WeakMap,wi=new WeakMap,op),Bl=new Wy,Xy=(sp=class extends fu{constructor(){super();we(this,Si,!0);we(this,Sr);we(this,Ei);ae(this,Ei,t=>{if(!zr&&window.addEventListener){const r=()=>t(!0),u=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",u,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",u)}}})}onSubscribe(){T(this,Sr)||this.setEventListener(T(this,Ei))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,Sr))==null||t.call(this),ae(this,Sr,void 0))}setEventListener(t){var r;ae(this,Ei,t),(r=T(this,Sr))==null||r.call(this),ae(this,Sr,t(this.setOnline.bind(this)))}setOnline(t){T(this,Si)!==t&&(ae(this,Si,t),this.listeners.forEach(u=>{u(t)}))}isOnline(){return T(this,Si)}},Si=new WeakMap,Sr=new WeakMap,Ei=new WeakMap,sp),co=new Xy;function _l(){let e,t;const r=new Promise((o,l)=>{e=o,t=l});r.status="pending",r.catch(()=>{});function u(o){Object.assign(r,o),delete r.resolve,delete r.reject}return r.resolve=o=>{u({status:"fulfilled",value:o}),e(o)},r.reject=o=>{u({status:"rejected",reason:o}),t(o)},r}function Hy(e){return Math.min(1e3*2**e,3e4)}function Id(e){return(e??"online")==="online"?co.isOnline():!0}var Cd=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Gl(e){return e instanceof Cd}function xd(e){let t=!1,r=0,u=!1,o;const l=_l(),a=A=>{var F;u||(I(new Cd(A)),(F=e.abort)==null||F.call(e))},c=()=>{t=!0},f=()=>{t=!1},h=()=>Bl.isFocused()&&(e.networkMode==="always"||co.isOnline())&&e.canRun(),p=()=>Id(e.networkMode)&&e.canRun(),g=A=>{var F;u||(u=!0,(F=e.onSuccess)==null||F.call(e,A),o==null||o(),l.resolve(A))},I=A=>{var F;u||(u=!0,(F=e.onError)==null||F.call(e,A),o==null||o(),l.reject(A))},b=()=>new Promise(A=>{var F;o=P=>{(u||h())&&A(P)},(F=e.onPause)==null||F.call(e)}).then(()=>{var A;o=void 0,u||(A=e.onContinue)==null||A.call(e)}),S=()=>{if(u)return;let A;const F=r===0?e.initialPromise:void 0;try{A=F??e.fn()}catch(P){A=Promise.reject(P)}Promise.resolve(A).then(g).catch(P=>{var R;if(u)return;const L=e.retry??(zr?0:3),k=e.retryDelay??Hy,N=typeof k=="function"?k(r,P):k,X=L===!0||typeof L=="number"&&r<L||typeof L=="function"&&L(r,P);if(t||!X){I(P);return}r++,(R=e.onFail)==null||R.call(e,r,P),My(N).then(()=>h()?void 0:b()).then(()=>{t?I(P):S()})})};return{promise:l,cancel:a,continue:()=>(o==null||o(),l),cancelRetry:c,continueRetry:f,canStart:p,start:()=>(p()?S():b().then(S),l)}}function zy(){let e=[],t=0,r=c=>{c()},u=c=>{c()},o=c=>setTimeout(c,0);const l=c=>{t?e.push(c):o(()=>{r(c)})},a=()=>{const c=e;e=[],c.length&&o(()=>{u(()=>{c.forEach(f=>{r(f)})})})};return{batch:c=>{let f;t++;try{f=c()}finally{t--,t||a()}return f},batchCalls:c=>(...f)=>{l(()=>{c(...f)})},schedule:l,setNotifyFunction:c=>{r=c},setBatchNotifyFunction:c=>{u=c},setScheduler:c=>{o=c}}}var kt=zy(),Ad=(lp=class{constructor(){we(this,Ur)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Sl(this.gcTime)&&ae(this,Ur,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(zr?1/0:5*60*1e3))}clearGcTimeout(){T(this,Ur)&&(clearTimeout(T(this,Ur)),ae(this,Ur,void 0))}},Ur=new WeakMap,lp),Zy=(ap=class extends Ad{constructor(t){super();we(this,Mn);we(this,Fi);we(this,Pi);we(this,wn);we(this,Wt);we(this,Iu);we(this,Qr);ae(this,Qr,!1),ae(this,Iu,t.defaultOptions),this.setOptions(t.options),this.observers=[],ae(this,wn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ae(this,Fi,Yy(this.options)),this.state=t.state??T(this,Fi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=T(this,Wt))==null?void 0:t.promise}setOptions(t){this.options={...T(this,Iu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&T(this,wn).remove(this)}setData(t,r){const u=Tl(this.state.data,t,this.options);return Je(this,Mn,Cr).call(this,{data:u,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),u}setState(t,r){Je(this,Mn,Cr).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var u,o;const r=(u=T(this,Wt))==null?void 0:u.promise;return(o=T(this,Wt))==null||o.cancel(t),r?r.then(An).catch(An):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(T(this,Fi))}isActive(){return this.observers.some(t=>Dn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ao||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!pd(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(u=>u.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=T(this,Wt))==null||r.continue()}onOnline(){var r;const t=this.observers.find(u=>u.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=T(this,Wt))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),T(this,wn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(T(this,Wt)&&(T(this,Qr)?T(this,Wt).cancel({revert:!0}):T(this,Wt).cancelRetry()),this.scheduleGc()),T(this,wn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Je(this,Mn,Cr).call(this,{type:"invalidate"})}fetch(t,r){var f,h,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(T(this,Wt))return T(this,Wt).continueRetry(),T(this,Wt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(I=>I.options.queryFn);g&&this.setOptions(g.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const u=new AbortController,o=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(ae(this,Qr,!0),u.signal)})},l=()=>{const g=yd(this.options,r),I={queryKey:this.queryKey,meta:this.meta};return o(I),ae(this,Qr,!1),this.options.persister?this.options.persister(g,I,this):g(I)},a={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};o(a),(f=this.options.behavior)==null||f.onFetch(a,this),ae(this,Pi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=a.fetchOptions)==null?void 0:h.meta))&&Je(this,Mn,Cr).call(this,{type:"fetch",meta:(p=a.fetchOptions)==null?void 0:p.meta});const c=g=>{var I,b,S,A;Gl(g)&&g.silent||Je(this,Mn,Cr).call(this,{type:"error",error:g}),Gl(g)||((b=(I=T(this,wn).config).onError)==null||b.call(I,g,this),(A=(S=T(this,wn).config).onSettled)==null||A.call(S,this.state.data,g,this)),this.scheduleGc()};return ae(this,Wt,xd({initialPromise:r==null?void 0:r.initialPromise,fn:a.fetchFn,abort:u.abort.bind(u),onSuccess:g=>{var I,b,S,A;if(g===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(g)}catch(F){c(F);return}(b=(I=T(this,wn).config).onSuccess)==null||b.call(I,g,this),(A=(S=T(this,wn).config).onSettled)==null||A.call(S,g,this.state.error,this),this.scheduleGc()},onError:c,onFail:(g,I)=>{Je(this,Mn,Cr).call(this,{type:"failed",failureCount:g,error:I})},onPause:()=>{Je(this,Mn,Cr).call(this,{type:"pause"})},onContinue:()=>{Je(this,Mn,Cr).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),T(this,Wt).start()}},Fi=new WeakMap,Pi=new WeakMap,wn=new WeakMap,Wt=new WeakMap,Iu=new WeakMap,Qr=new WeakMap,Mn=new WeakSet,Cr=function(t){const r=u=>{switch(t.type){case"failed":return{...u,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...u,fetchStatus:"paused"};case"continue":return{...u,fetchStatus:"fetching"};case"fetch":return{...u,...wd(u.data,this.options),fetchMeta:t.meta??null};case"success":return{...u,data:t.data,dataUpdateCount:u.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Gl(o)&&o.revert&&T(this,Pi)?{...T(this,Pi),fetchStatus:"idle"}:{...u,error:o,errorUpdateCount:u.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:u.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...u,isInvalidated:!0};case"setState":return{...u,...t.state}}};this.state=r(this.state),kt.batch(()=>{this.observers.forEach(u=>{u.onQueryUpdate()}),T(this,wn).notify({query:this,type:"updated",action:t})})},ap);function wd(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Id(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Yy(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,u=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?u??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Jy=(cp=class extends fu{constructor(t={}){super();we(this,Qn);this.config=t,ae(this,Qn,new Map)}build(t,r,u){const o=r.queryKey,l=r.queryHash??El(o,r);let a=this.get(l);return a||(a=new Zy({cache:this,queryKey:o,queryHash:l,options:t.defaultQueryOptions(r),state:u,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){T(this,Qn).has(t.queryHash)||(T(this,Qn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=T(this,Qn).get(t.queryHash);r&&(t.destroy(),r===t&&T(this,Qn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){kt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return T(this,Qn).get(t)}getAll(){return[...T(this,Qn).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(u=>gd(r,u))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(u=>gd(t,u)):r}notify(t){kt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){kt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){kt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Qn=new WeakMap,cp),jy=(fp=class extends Ad{constructor(t){super();we(this,$n);we(this,qn);we(this,Zt);we(this,qr);this.mutationId=t.mutationId,ae(this,Zt,t.mutationCache),ae(this,qn,[]),this.state=t.state||Uy(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){T(this,qn).includes(t)||(T(this,qn).push(t),this.clearGcTimeout(),T(this,Zt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ae(this,qn,T(this,qn).filter(r=>r!==t)),this.scheduleGc(),T(this,Zt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){T(this,qn).length||(this.state.status==="pending"?this.scheduleGc():T(this,Zt).remove(this))}continue(){var t;return((t=T(this,qr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,l,a,c,f,h,p,g,I,b,S,A,F,P,L,k,N,X,R,Y;ae(this,qr,xd({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(D,j)=>{Je(this,$n,Wr).call(this,{type:"failed",failureCount:D,error:j})},onPause:()=>{Je(this,$n,Wr).call(this,{type:"pause"})},onContinue:()=>{Je(this,$n,Wr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>T(this,Zt).canRun(this)}));const r=this.state.status==="pending",u=!T(this,qr).canStart();try{if(!r){Je(this,$n,Wr).call(this,{type:"pending",variables:t,isPaused:u}),await((l=(o=T(this,Zt).config).onMutate)==null?void 0:l.call(o,t,this));const j=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,t));j!==this.state.context&&Je(this,$n,Wr).call(this,{type:"pending",context:j,variables:t,isPaused:u})}const D=await T(this,qr).start();return await((h=(f=T(this,Zt).config).onSuccess)==null?void 0:h.call(f,D,t,this.state.context,this)),await((g=(p=this.options).onSuccess)==null?void 0:g.call(p,D,t,this.state.context)),await((b=(I=T(this,Zt).config).onSettled)==null?void 0:b.call(I,D,null,this.state.variables,this.state.context,this)),await((A=(S=this.options).onSettled)==null?void 0:A.call(S,D,null,t,this.state.context)),Je(this,$n,Wr).call(this,{type:"success",data:D}),D}catch(D){try{throw await((P=(F=T(this,Zt).config).onError)==null?void 0:P.call(F,D,t,this.state.context,this)),await((k=(L=this.options).onError)==null?void 0:k.call(L,D,t,this.state.context)),await((X=(N=T(this,Zt).config).onSettled)==null?void 0:X.call(N,void 0,D,this.state.variables,this.state.context,this)),await((Y=(R=this.options).onSettled)==null?void 0:Y.call(R,void 0,D,t,this.state.context)),D}finally{Je(this,$n,Wr).call(this,{type:"error",error:D})}}finally{T(this,Zt).runNext(this)}}},qn=new WeakMap,Zt=new WeakMap,qr=new WeakMap,$n=new WeakSet,Wr=function(t){const r=u=>{switch(t.type){case"failed":return{...u,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...u,isPaused:!0};case"continue":return{...u,isPaused:!1};case"pending":return{...u,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...u,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...u,data:void 0,error:t.error,failureCount:u.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),kt.batch(()=>{T(this,qn).forEach(u=>{u.onMutationUpdate(t)}),T(this,Zt).notify({mutation:this,type:"updated",action:t})})},fp);function Uy(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Qy=(dp=class extends fu{constructor(t={}){super();we(this,dn);we(this,Cu);this.config=t,ae(this,dn,new Map),ae(this,Cu,Date.now())}build(t,r,u){const o=new jy({mutationCache:this,mutationId:++Xs(this,Cu)._,options:t.defaultMutationOptions(r),state:u});return this.add(o),o}add(t){const r=fo(t),u=T(this,dn).get(r)??[];u.push(t),T(this,dn).set(r,u),this.notify({type:"added",mutation:t})}remove(t){var u;const r=fo(t);if(T(this,dn).has(r)){const o=(u=T(this,dn).get(r))==null?void 0:u.filter(l=>l!==t);o&&(o.length===0?T(this,dn).delete(r):T(this,dn).set(r,o))}this.notify({type:"removed",mutation:t})}canRun(t){var u;const r=(u=T(this,dn).get(fo(t)))==null?void 0:u.find(o=>o.state.status==="pending");return!r||r===t}runNext(t){var u;const r=(u=T(this,dn).get(fo(t)))==null?void 0:u.find(o=>o!==t&&o.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}clear(){kt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...T(this,dn).values()].flat()}find(t){const r={exact:!0,...t};return this.getAll().find(u=>md(r,u))}findAll(t={}){return this.getAll().filter(r=>md(t,r))}notify(t){kt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return kt.batch(()=>Promise.all(t.map(r=>r.continue().catch(An))))}},dn=new WeakMap,Cu=new WeakMap,dp);function fo(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Sd(e){return{onFetch:(t,r)=>{var p,g,I,b,S;const u=t.options,o=(I=(g=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:g.fetchMore)==null?void 0:I.direction,l=((b=t.state.data)==null?void 0:b.pages)||[],a=((S=t.state.data)==null?void 0:S.pageParams)||[];let c={pages:[],pageParams:[]},f=0;const h=async()=>{let A=!1;const F=k=>{Object.defineProperty(k,"signal",{enumerable:!0,get:()=>(t.signal.aborted?A=!0:t.signal.addEventListener("abort",()=>{A=!0}),t.signal)})},P=yd(t.options,t.fetchOptions),L=async(k,N,X)=>{if(A)return Promise.reject();if(N==null&&k.pages.length)return Promise.resolve(k);const R={queryKey:t.queryKey,pageParam:N,direction:X?"backward":"forward",meta:t.options.meta};F(R);const Y=await P(R),{maxPages:D}=t.options,j=X?Vy:Ny;return{pages:j(k.pages,Y,D),pageParams:j(k.pageParams,N,D)}};if(o&&l.length){const k=o==="backward",N=k?qy:Ed,X={pages:l,pageParams:a},R=N(u,X);c=await L(X,R,k)}else{const k=e??l.length;do{const N=f===0?a[0]??u.initialPageParam:Ed(u,c);if(f>0&&N==null)break;c=await L(c,N),f++}while(f<k)}return c};t.options.persister?t.fetchFn=()=>{var A,F;return(F=(A=t.options).persister)==null?void 0:F.call(A,h,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=h}}}function Ed(e,{pages:t,pageParams:r}){const u=t.length-1;return t.length>0?e.getNextPageParam(t[u],t,r[u],r):void 0}function qy(e,{pages:t,pageParams:r}){var u;return t.length>0?(u=e.getPreviousPageParam)==null?void 0:u.call(e,t[0],t,r[0],r):void 0}var $y=(hp=class{constructor(e={}){we(this,bt);we(this,Er);we(this,Fr);we(this,Oi);we(this,Ti);we(this,Pr);we(this,Bi);we(this,_i);ae(this,bt,e.queryCache||new Jy),ae(this,Er,e.mutationCache||new Qy),ae(this,Fr,e.defaultOptions||{}),ae(this,Oi,new Map),ae(this,Ti,new Map),ae(this,Pr,0)}mount(){Xs(this,Pr)._++,T(this,Pr)===1&&(ae(this,Bi,Bl.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,bt).onFocus())})),ae(this,_i,co.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,bt).onOnline())})))}unmount(){var e,t;Xs(this,Pr)._--,T(this,Pr)===0&&((e=T(this,Bi))==null||e.call(this),ae(this,Bi,void 0),(t=T(this,_i))==null||t.call(this),ae(this,_i,void 0))}isFetching(e){return T(this,bt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return T(this,Er).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=T(this,bt).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const r=this.defaultQueryOptions(e),u=T(this,bt).build(this,r);return e.revalidateIfStale&&u.isStaleByTime(Ci(r.staleTime,u))&&this.prefetchQuery(r),Promise.resolve(t)}}getQueriesData(e){return T(this,bt).findAll(e).map(({queryKey:t,state:r})=>{const u=r.data;return[t,u]})}setQueryData(e,t,r){const u=this.defaultQueryOptions({queryKey:e}),o=T(this,bt).get(u.queryHash),l=o==null?void 0:o.state.data,a=Dy(t,l);if(a!==void 0)return T(this,bt).build(this,u).setData(a,{...r,manual:!0})}setQueriesData(e,t,r){return kt.batch(()=>T(this,bt).findAll(e).map(({queryKey:u})=>[u,this.setQueryData(u,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=T(this,bt).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=T(this,bt);kt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=T(this,bt),u={type:"active",...e};return kt.batch(()=>(r.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(u,t)))}cancelQueries(e={},t={}){const r={revert:!0,...t},u=kt.batch(()=>T(this,bt).findAll(e).map(o=>o.cancel(r)));return Promise.all(u).then(An).catch(An)}invalidateQueries(e={},t={}){return kt.batch(()=>{if(T(this,bt).findAll(e).forEach(u=>{u.invalidate()}),e.refetchType==="none")return Promise.resolve();const r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e={},t){const r={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},u=kt.batch(()=>T(this,bt).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let l=o.fetch(void 0,r);return r.throwOnError||(l=l.catch(An)),o.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(u).then(An)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=T(this,bt).build(this,t);return r.isStaleByTime(Ci(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(An).catch(An)}fetchInfiniteQuery(e){return e.behavior=Sd(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(An).catch(An)}ensureInfiniteQueryData(e){return e.behavior=Sd(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return co.isOnline()?T(this,Er).resumePausedMutations():Promise.resolve()}getQueryCache(){return T(this,bt)}getMutationCache(){return T(this,Er)}getDefaultOptions(){return T(this,Fr)}setDefaultOptions(e){ae(this,Fr,e)}setQueryDefaults(e,t){T(this,Oi).set(du(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...T(this,Oi).values()];let r={};return t.forEach(u=>{hu(e,u.queryKey)&&(r={...r,...u.defaultOptions})}),r}setMutationDefaults(e,t){T(this,Ti).set(du(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...T(this,Ti).values()];let r={};return t.forEach(u=>{hu(e,u.mutationKey)&&(r={...r,...u.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...T(this,Fr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=El(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===ao&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...T(this,Fr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){T(this,bt).clear(),T(this,Er).clear()}},bt=new WeakMap,Er=new WeakMap,Fr=new WeakMap,Oi=new WeakMap,Ti=new WeakMap,Pr=new WeakMap,Bi=new WeakMap,_i=new WeakMap,hp),Ky=(pp=class extends fu{constructor(t,r){super();we(this,$e);we(this,en);we(this,ze);we(this,xu);we(this,Yt);we(this,$r);we(this,Gi);we(this,Or);we(this,Kn);we(this,Au);we(this,Ri);we(this,ki);we(this,Kr);we(this,ei);we(this,Tr);we(this,Li,new Set);this.options=r,ae(this,en,t),ae(this,Kn,null),ae(this,Or,_l()),this.options.experimental_prefetchInRender||T(this,Or).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(T(this,ze).addObserver(this),Fd(T(this,ze),this.options)?Je(this,$e,Uu).call(this):this.updateResult(),Je(this,$e,Rc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Rl(T(this,ze),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Rl(T(this,ze),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Je(this,$e,kc).call(this),Je(this,$e,Lc).call(this),T(this,ze).removeObserver(this)}setOptions(t,r){const u=this.options,o=T(this,ze);if(this.options=T(this,en).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Dn(this.options.enabled,T(this,ze))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Je(this,$e,Dc).call(this),T(this,ze).setOptions(this.options),u._defaulted&&!Pl(this.options,u)&&T(this,en).getQueryCache().notify({type:"observerOptionsUpdated",query:T(this,ze),observer:this});const l=this.hasListeners();l&&Pd(T(this,ze),o,this.options,u)&&Je(this,$e,Uu).call(this),this.updateResult(r),l&&(T(this,ze)!==o||Dn(this.options.enabled,T(this,ze))!==Dn(u.enabled,T(this,ze))||Ci(this.options.staleTime,T(this,ze))!==Ci(u.staleTime,T(this,ze)))&&Je(this,$e,Bc).call(this);const a=Je(this,$e,_c).call(this);l&&(T(this,ze)!==o||Dn(this.options.enabled,T(this,ze))!==Dn(u.enabled,T(this,ze))||a!==T(this,Tr))&&Je(this,$e,Gc).call(this,a)}getOptimisticResult(t){const r=T(this,en).getQueryCache().build(T(this,en),t),u=this.createResult(r,t);return tI(this,u)&&(ae(this,Yt,u),ae(this,Gi,this.options),ae(this,$r,T(this,ze).state)),u}getCurrentResult(){return T(this,Yt)}trackResult(t,r){const u={};return Object.keys(t).forEach(o=>{Object.defineProperty(u,o,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(o),r==null||r(o),t[o])})}),u}trackProp(t){T(this,Li).add(t)}getCurrentQuery(){return T(this,ze)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=T(this,en).defaultQueryOptions(t),u=T(this,en).getQueryCache().build(T(this,en),r);return u.fetch().then(()=>this.createResult(u,r))}fetch(t){return Je(this,$e,Uu).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),T(this,Yt)))}createResult(t,r){var D;const u=T(this,ze),o=this.options,l=T(this,Yt),a=T(this,$r),c=T(this,Gi),h=t!==u?t.state:T(this,xu),{state:p}=t;let g={...p},I=!1,b;if(r._optimisticResults){const j=this.hasListeners(),Q=!j&&Fd(t,r),U=j&&Pd(t,u,r,o);(Q||U)&&(g={...g,...wd(p.data,t.options)}),r._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:S,errorUpdatedAt:A,status:F}=g;if(r.select&&g.data!==void 0)if(l&&g.data===(a==null?void 0:a.data)&&r.select===T(this,Au))b=T(this,Ri);else try{ae(this,Au,r.select),b=r.select(g.data),b=Tl(l==null?void 0:l.data,b,r),ae(this,Ri,b),ae(this,Kn,null)}catch(j){ae(this,Kn,j)}else b=g.data;if(r.placeholderData!==void 0&&b===void 0&&F==="pending"){let j;if(l!=null&&l.isPlaceholderData&&r.placeholderData===(c==null?void 0:c.placeholderData))j=l.data;else if(j=typeof r.placeholderData=="function"?r.placeholderData((D=T(this,ki))==null?void 0:D.state.data,T(this,ki)):r.placeholderData,r.select&&j!==void 0)try{j=r.select(j),ae(this,Kn,null)}catch(Q){ae(this,Kn,Q)}j!==void 0&&(F="success",b=Tl(l==null?void 0:l.data,j,r),I=!0)}T(this,Kn)&&(S=T(this,Kn),b=T(this,Ri),A=Date.now(),F="error");const P=g.fetchStatus==="fetching",L=F==="pending",k=F==="error",N=L&&P,X=b!==void 0,Y={status:F,fetchStatus:g.fetchStatus,isPending:L,isSuccess:F==="success",isError:k,isInitialLoading:N,isLoading:N,data:b,dataUpdatedAt:g.dataUpdatedAt,error:S,errorUpdatedAt:A,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>h.dataUpdateCount||g.errorUpdateCount>h.errorUpdateCount,isFetching:P,isRefetching:P&&!L,isLoadingError:k&&!X,isPaused:g.fetchStatus==="paused",isPlaceholderData:I,isRefetchError:k&&X,isStale:kl(t,r),refetch:this.refetch,promise:T(this,Or)};if(this.options.experimental_prefetchInRender){const j=q=>{Y.status==="error"?q.reject(Y.error):Y.data!==void 0&&q.resolve(Y.data)},Q=()=>{const q=ae(this,Or,Y.promise=_l());j(q)},U=T(this,Or);switch(U.status){case"pending":t.queryHash===u.queryHash&&j(U);break;case"fulfilled":(Y.status==="error"||Y.data!==U.value)&&Q();break;case"rejected":(Y.status!=="error"||Y.error!==U.reason)&&Q();break}}return Y}updateResult(t){const r=T(this,Yt),u=this.createResult(T(this,ze),this.options);if(ae(this,$r,T(this,ze).state),ae(this,Gi,this.options),T(this,$r).data!==void 0&&ae(this,ki,T(this,ze)),Pl(u,r))return;ae(this,Yt,u);const o={},l=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!T(this,Li).size)return!0;const f=new Set(c??T(this,Li));return this.options.throwOnError&&f.add("error"),Object.keys(T(this,Yt)).some(h=>{const p=h;return T(this,Yt)[p]!==r[p]&&f.has(p)})};(t==null?void 0:t.listeners)!==!1&&l()&&(o.listeners=!0),Je(this,$e,gm).call(this,{...o,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Je(this,$e,Rc).call(this)}},en=new WeakMap,ze=new WeakMap,xu=new WeakMap,Yt=new WeakMap,$r=new WeakMap,Gi=new WeakMap,Or=new WeakMap,Kn=new WeakMap,Au=new WeakMap,Ri=new WeakMap,ki=new WeakMap,Kr=new WeakMap,ei=new WeakMap,Tr=new WeakMap,Li=new WeakMap,$e=new WeakSet,Uu=function(t){Je(this,$e,Dc).call(this);let r=T(this,ze).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(An)),r},Bc=function(){Je(this,$e,kc).call(this);const t=Ci(this.options.staleTime,T(this,ze));if(zr||T(this,Yt).isStale||!Sl(t))return;const u=pd(T(this,Yt).dataUpdatedAt,t)+1;ae(this,Kr,setTimeout(()=>{T(this,Yt).isStale||this.updateResult()},u))},_c=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(T(this,ze)):this.options.refetchInterval)??!1},Gc=function(t){Je(this,$e,Lc).call(this),ae(this,Tr,t),!(zr||Dn(this.options.enabled,T(this,ze))===!1||!Sl(T(this,Tr))||T(this,Tr)===0)&&ae(this,ei,setInterval(()=>{(this.options.refetchIntervalInBackground||Bl.isFocused())&&Je(this,$e,Uu).call(this)},T(this,Tr)))},Rc=function(){Je(this,$e,Bc).call(this),Je(this,$e,Gc).call(this,Je(this,$e,_c).call(this))},kc=function(){T(this,Kr)&&(clearTimeout(T(this,Kr)),ae(this,Kr,void 0))},Lc=function(){T(this,ei)&&(clearInterval(T(this,ei)),ae(this,ei,void 0))},Dc=function(){const t=T(this,en).getQueryCache().build(T(this,en),this.options);if(t===T(this,ze))return;const r=T(this,ze);ae(this,ze,t),ae(this,xu,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},gm=function(t){kt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(T(this,Yt))}),T(this,en).getQueryCache().notify({query:T(this,ze),type:"observerResultsUpdated"})})},pp);function eI(e,t){return Dn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fd(e,t){return eI(e,t)||e.state.data!==void 0&&Rl(e,t,t.refetchOnMount)}function Rl(e,t,r){if(Dn(t.enabled,e)!==!1){const u=typeof r=="function"?r(e):r;return u==="always"||u!==!1&&kl(e,t)}return!1}function Pd(e,t,r,u){return(e!==t||Dn(u.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&kl(e,r)}function kl(e,t){return Dn(t.enabled,e)!==!1&&e.isStaleByTime(Ci(t.staleTime,e))}function tI(e,t){return!Pl(e.getCurrentResult(),t)}var Od=Pe.createContext(void 0),nI=e=>{const t=Pe.useContext(Od);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},rI=({client:e,children:t})=>(Pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),K.jsx(Od.Provider,{value:e,children:t})),Td=Pe.createContext(!1),iI=()=>Pe.useContext(Td);Td.Provider;function uI(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var oI=Pe.createContext(uI()),sI=()=>Pe.useContext(oI);function lI(e,t){return typeof e=="function"?e(...t):!!e}function Bd(){}var aI=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},cI=e=>{Pe.useEffect(()=>{e.clearReset()},[e])},fI=({result:e,errorResetBoundary:t,throwOnError:r,query:u})=>e.isError&&!t.isReset()&&!e.isFetching&&u&&lI(r,[e.error,u]),dI=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},hI=(e,t)=>e.isLoading&&e.isFetching&&!t,pI=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,_d=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function gI(e,t,r){var p,g,I,b,S;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const u=nI(),o=iI(),l=sI(),a=u.defaultQueryOptions(e);(g=(p=u.getDefaultOptions().queries)==null?void 0:p._experimental_beforeQuery)==null||g.call(p,a),a._optimisticResults=o?"isRestoring":"optimistic",dI(a),aI(a,l),cI(l);const c=!u.getQueryCache().get(a.queryHash),[f]=Pe.useState(()=>new t(u,a)),h=f.getOptimisticResult(a);if(Pe.useSyncExternalStore(Pe.useCallback(A=>{const F=o?Bd:f.subscribe(kt.batchCalls(A));return f.updateResult(),F},[f,o]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),Pe.useEffect(()=>{f.setOptions(a,{listeners:!1})},[a,f]),pI(a,h))throw _d(a,f,l);if(fI({result:h,errorResetBoundary:l,throwOnError:a.throwOnError,query:u.getQueryCache().get(a.queryHash)}))throw h.error;if((b=(I=u.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||b.call(I,a,h),a.experimental_prefetchInRender&&!zr&&hI(h,o)){const A=c?_d(a,f,l):(S=u.getQueryCache().get(a.queryHash))==null?void 0:S.promise;A==null||A.catch(Bd).finally(()=>{f.updateResult()})}return a.notifyOnChangeProps?h:f.trackResult(h)}function Zr(e,t){return gI(e,Ky)}const Gd=H.createContext(void 0),ur=()=>{const e=H.useContext(Gd);if(!e)throw new Error("Must be used inside FrontendClientProvider");return e},mI=({children:e,client:t})=>{const r=new $y({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1}}});return K.jsx(rI,{client:r,children:K.jsx(Gd.Provider,{value:t,children:e})})};function Rd(e){return typeof e=="object"&&e&&"__lv"in e?e.__lv.value:e}function bI(e){if(typeof e=="object"&&e&&"selectedOptions"in e&&Array.isArray(e.selectedOptions)){const t=e.selectedOptions,r=[];for(const u of t)if(typeof u=="object"&&u&&"emitValue"in u){const o=u.emitValue;typeof o=="object"&&o&&"__lv"in o?r.push(o.__lv.value):r.push(o)}else return[];return r}return e&&typeof e=="object"&&Array.isArray(e.__lv)?e.__lv:Array.isArray(e)?e:[]}function vI(e){const t=bI(e.value);if(!e.prop.default&&typeof t>"u")return["required"];if(!e.prop.default&&Array.isArray(t)&&!t.length)return["empty array"]}function yI(e){const t=Rd(e.value);if(t==null||typeof t>"u")return["required"]}function II(e){const{prop:t,value:r}=e,u=Rd(r);if(!t.default&&(u==null||typeof u>"u"))return["required"];const o=typeof u=="number"?u:parseInt(String(u));if(Number.isNaN(o))return["not a number"];const l=[];return typeof t.min=="number"&&o<t.min&&l.push("number too small"),typeof t.max=="number"&&o>t.max&&l.push("number too big"),l}function CI(e){const{prop:t,value:r}=e;if(!t.default&&(r==null||typeof r>"u"))return["required"]}function xI(e){const t=e.auth_type==="oauth",r=JSON.parse(e.custom_fields_json||"[]");if("extracted_custom_fields_names"in e&&e.extracted_custom_fields_names){const u=(e.extracted_custom_fields_names||[]).map(o=>({name:o}));r.push(...u)}return r.map(u=>({...u,optional:u.optional||t}))}function AI(e){const{app:t,value:r}=e;if(!t)return["app field not registered"];if(!r)return["no app configured"];if(typeof r!="object")return["not an app"];const u=r;if("authProvisionId"in u&&!u.authProvisionId&&t.auth_type){const o=[];if(t.auth_type==="oauth"&&!u.oauth_access_token&&o.push("missing oauth token"),t.auth_type==="oauth"||t.auth_type==="keys"){const l=xI(t),a=u;for(const c of l)!c.optional&&!a[c.name]&&o.push(`missing custom field: ${c.name}`)}return t.auth_type!=="none"&&o.push("no auth provision configured"),o}}var ho={exports:{}};/**
|
|
15
15
|
* @license
|
|
16
16
|
* Lodash <https://lodash.com/>
|
|
17
17
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
18
18
|
* Released under MIT license <https://lodash.com/license>
|
|
19
19
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
20
20
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
21
|
-
*/fo.exports,function(e,t){(function(){var r,u="4.17.21",o=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",h=500,p="__lodash_placeholder__",g=1,I=2,b=4,E=1,A=2,F=1,P=2,D=4,k=8,L=16,V=32,R=64,J=128,N=256,j=512,ne=30,$="...",Q=800,ve=16,Be=1,ie=2,ge=3,de=1/0,Se=9007199254740991,qe=17976931348623157e292,S=NaN,He=4294967295,Le=He-1,w=He>>>1,Je=[["ary",J],["bind",F],["bindKey",P],["curry",k],["curryRight",L],["flip",j],["partial",V],["partialRight",R],["rearg",N]],me="[object Arguments]",De="[object Array]",yt="[object AsyncFunction]",ee="[object Boolean]",oe="[object Date]",ye="[object DOMException]",Me="[object Error]",ct="[object Function]",Gt="[object GeneratorFunction]",At="[object Map]",vn="[object Number]",Gi="[object Null]",Ut="[object Object]",Ri="[object Promise]",ki="[object Proxy]",Yn="[object RegExp]",Mt="[object Set]",tr="[object String]",Er="[object Symbol]",Au="[object Undefined]",nr="[object WeakMap]",X="[object WeakSet]",te="[object ArrayBuffer]",pe="[object DataView]",_e="[object Float32Array]",Ge="[object Float64Array]",Et="[object Int8Array]",jt="[object Int16Array]",Nt="[object Int32Array]",yn="[object Uint8Array]",Qt="[object Uint8ClampedArray]",It="[object Uint16Array]",on="[object Uint32Array]",sn=/\b__p \+= '';/g,rr=/\b(__p \+=) '' \+/g,Go=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ro=/&(?:amp|lt|gt|quot|#39);/g,ko=/[&<>"']/g,wu=RegExp(Ro.source),qr=RegExp(ko.source),Su=/<%-([\s\S]+?)%>/g,Eu=/<%([\s\S]+?)%>/g,Li=/<%=([\s\S]+?)%>/g,$r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ea=/^\w*$/,ta=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fu=/[\\^$.*+?()[\]{}|]/g,na=RegExp(Fu.source),Pu=/^\s+/,Lo=/\s/,Tu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ir=/\{\n\/\* \[wrapped with (.+)\] \*/,ra=/,? & /,ia=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ua=/[()=,{}\[\]\/\s]/,oa=/\\(\\)?/g,sa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,In=/\w*$/,la=/^[-+]0x[0-9a-f]+$/i,aa=/^0b[01]+$/i,ca=/^\[object .+?Constructor\]$/,fa=/^0o[0-7]+$/i,da=/^(?:0|[1-9]\d*)$/,ur=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Di=/($^)/,ha=/['\n\r\u2028\u2029\\]/g,Mi="\\ud800-\\udfff",pa="\\u0300-\\u036f",ga="\\ufe20-\\ufe2f",Ni="\\u20d0-\\u20ff",Do=pa+ga+Ni,Mo="\\u2700-\\u27bf",_n="a-z\\xdf-\\xf6\\xf8-\\xff",ma="\\xac\\xb1\\xd7\\xf7",ba="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",va="\\u2000-\\u206f",ya=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",No="A-Z\\xc0-\\xd6\\xd8-\\xde",Vo="\\ufe0e\\ufe0f",Kr=ma+ba+va+ya,Ou="['’]",ei="["+Mi+"]",Bu="["+Kr+"]",ti="["+Do+"]",Wo="\\d+",Ia="["+Mo+"]",Xo="["+_n+"]",Ho="[^"+Mi+Kr+Wo+Mo+_n+No+"]",Vi="\\ud83c[\\udffb-\\udfff]",Ca="(?:"+ti+"|"+Vi+")",zo="[^"+Mi+"]",Wi="(?:\\ud83c[\\udde6-\\uddff]){2}",Fr="[\\ud800-\\udbff][\\udc00-\\udfff]",ln="["+No+"]",Zo="\\u200d",Yo="(?:"+Xo+"|"+Ho+")",Jn="(?:"+ln+"|"+Ho+")",Jo="(?:"+Ou+"(?:d|ll|m|re|s|t|ve))?",Uo="(?:"+Ou+"(?:D|LL|M|RE|S|T|VE))?",jo=Ca+"?",Qo="["+Vo+"]?",xa="(?:"+Zo+"(?:"+[zo,Wi,Fr].join("|")+")"+Qo+jo+")*",or="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",qo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",$o=Qo+jo+xa,Xi="(?:"+[Ia,Wi,Fr].join("|")+")"+$o,Aa="(?:"+[zo+ti+"?",ti,Wi,Fr,ei].join("|")+")",_u=RegExp(Ou,"g"),wa=RegExp(ti,"g"),Hi=RegExp(Vi+"(?="+Vi+")|"+Aa+$o,"g"),Ko=RegExp([ln+"?"+Xo+"+"+Jo+"(?="+[Bu,ln,"$"].join("|")+")",Jn+"+"+Uo+"(?="+[Bu,ln+Yo,"$"].join("|")+")",ln+"?"+Yo+"+"+Jo,ln+"+"+Uo,qo,or,Wo,Xi].join("|"),"g"),es=RegExp("["+Zo+Mi+Do+Vo+"]"),ni=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ts=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Sa=-1,tt={};tt[_e]=tt[Ge]=tt[Et]=tt[jt]=tt[Nt]=tt[yn]=tt[Qt]=tt[It]=tt[on]=!0,tt[me]=tt[De]=tt[te]=tt[ee]=tt[pe]=tt[oe]=tt[Me]=tt[ct]=tt[At]=tt[vn]=tt[Ut]=tt[Yn]=tt[Mt]=tt[tr]=tt[nr]=!1;var et={};et[me]=et[De]=et[te]=et[pe]=et[ee]=et[oe]=et[_e]=et[Ge]=et[Et]=et[jt]=et[Nt]=et[At]=et[vn]=et[Ut]=et[Yn]=et[Mt]=et[tr]=et[Er]=et[yn]=et[Qt]=et[It]=et[on]=!0,et[Me]=et[ct]=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ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},_={"&":"&","<":"<",">":">",'"':""","'":"'"},Y={"&":"&","<":"<",">":">",""":'"',"'":"'"},se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nt=parseFloat,Pe=parseInt,st=typeof Tn=="object"&&Tn&&Tn.Object===Object&&Tn,Ct=typeof self=="object"&&self&&self.Object===Object&&self,ze=st||Ct||Function("return this")(),rt=t&&!t.nodeType&&t,gt=rt&&!0&&e&&!e.nodeType&&e,qt=gt&>.exports===rt,xt=qt&&st.process,lt=function(){try{var B=gt&>.require&>.require("util").types;return B||xt&&xt.binding&&xt.binding("util")}catch{}}(),Vt=lt&<.isArrayBuffer,Gn=lt&<.isDate,Cn=lt&<.isMap,Un=lt&<.isRegExp,Gu=lt&<.isSet,ri=lt&<.isTypedArray;function Ft(B,W,M){switch(M.length){case 0:return B.call(W);case 1:return B.call(W,M[0]);case 2:return B.call(W,M[0],M[1]);case 3:return B.call(W,M[0],M[1],M[2])}return B.apply(W,M)}function Bx(B,W,M,le){for(var Ee=-1,je=B==null?0:B.length;++Ee<je;){var wt=B[Ee];W(le,wt,M(wt),B)}return le}function xn(B,W){for(var M=-1,le=B==null?0:B.length;++M<le&&W(B[M],M,B)!==!1;);return B}function _x(B,W){for(var M=B==null?0:B.length;M--&&W(B[M],M,B)!==!1;);return B}function gp(B,W){for(var M=-1,le=B==null?0:B.length;++M<le;)if(!W(B[M],M,B))return!1;return!0}function Pr(B,W){for(var M=-1,le=B==null?0:B.length,Ee=0,je=[];++M<le;){var wt=B[M];W(wt,M,B)&&(je[Ee++]=wt)}return je}function ns(B,W){var M=B==null?0:B.length;return!!M&&zi(B,W,0)>-1}function Ea(B,W,M){for(var le=-1,Ee=B==null?0:B.length;++le<Ee;)if(M(W,B[le]))return!0;return!1}function at(B,W){for(var M=-1,le=B==null?0:B.length,Ee=Array(le);++M<le;)Ee[M]=W(B[M],M,B);return Ee}function Tr(B,W){for(var M=-1,le=W.length,Ee=B.length;++M<le;)B[Ee+M]=W[M];return B}function Fa(B,W,M,le){var Ee=-1,je=B==null?0:B.length;for(le&&je&&(M=B[++Ee]);++Ee<je;)M=W(M,B[Ee],Ee,B);return M}function Gx(B,W,M,le){var Ee=B==null?0:B.length;for(le&&Ee&&(M=B[--Ee]);Ee--;)M=W(M,B[Ee],Ee,B);return M}function Pa(B,W){for(var M=-1,le=B==null?0:B.length;++M<le;)if(W(B[M],M,B))return!0;return!1}var Rx=Ta("length");function kx(B){return B.split("")}function Lx(B){return B.match(ia)||[]}function mp(B,W,M){var le;return M(B,function(Ee,je,wt){if(W(Ee,je,wt))return le=je,!1}),le}function rs(B,W,M,le){for(var Ee=B.length,je=M+(le?1:-1);le?je--:++je<Ee;)if(W(B[je],je,B))return je;return-1}function zi(B,W,M){return W===W?Ux(B,W,M):rs(B,bp,M)}function Dx(B,W,M,le){for(var Ee=M-1,je=B.length;++Ee<je;)if(le(B[Ee],W))return Ee;return-1}function bp(B){return B!==B}function vp(B,W){var M=B==null?0:B.length;return M?Ba(B,W)/M:S}function Ta(B){return function(W){return W==null?r:W[B]}}function Oa(B){return function(W){return B==null?r:B[W]}}function yp(B,W,M,le,Ee){return Ee(B,function(je,wt,it){M=le?(le=!1,je):W(M,je,wt,it)}),M}function Mx(B,W){var M=B.length;for(B.sort(W);M--;)B[M]=B[M].value;return B}function Ba(B,W){for(var M,le=-1,Ee=B.length;++le<Ee;){var je=W(B[le]);je!==r&&(M=M===r?je:M+je)}return M}function _a(B,W){for(var M=-1,le=Array(B);++M<B;)le[M]=W(M);return le}function Nx(B,W){return at(W,function(M){return[M,B[M]]})}function Ip(B){return B&&B.slice(0,wp(B)+1).replace(Pu,"")}function an(B){return function(W){return B(W)}}function Ga(B,W){return at(W,function(M){return B[M]})}function Ru(B,W){return B.has(W)}function Cp(B,W){for(var M=-1,le=B.length;++M<le&&zi(W,B[M],0)>-1;);return M}function xp(B,W){for(var M=B.length;M--&&zi(W,B[M],0)>-1;);return M}function Vx(B,W){for(var M=B.length,le=0;M--;)B[M]===W&&++le;return le}var Wx=Oa(C),Xx=Oa(_);function Hx(B){return"\\"+se[B]}function zx(B,W){return B==null?r:B[W]}function Zi(B){return es.test(B)}function Zx(B){return ni.test(B)}function Yx(B){for(var W,M=[];!(W=B.next()).done;)M.push(W.value);return M}function Ra(B){var W=-1,M=Array(B.size);return B.forEach(function(le,Ee){M[++W]=[Ee,le]}),M}function Ap(B,W){return function(M){return B(W(M))}}function Or(B,W){for(var M=-1,le=B.length,Ee=0,je=[];++M<le;){var wt=B[M];(wt===W||wt===p)&&(B[M]=p,je[Ee++]=M)}return je}function is(B){var W=-1,M=Array(B.size);return B.forEach(function(le){M[++W]=le}),M}function Jx(B){var W=-1,M=Array(B.size);return B.forEach(function(le){M[++W]=[le,le]}),M}function Ux(B,W,M){for(var le=M-1,Ee=B.length;++le<Ee;)if(B[le]===W)return le;return-1}function jx(B,W,M){for(var le=M+1;le--;)if(B[le]===W)return le;return le}function Yi(B){return Zi(B)?qx(B):Rx(B)}function Rn(B){return Zi(B)?$x(B):kx(B)}function wp(B){for(var W=B.length;W--&&Lo.test(B.charAt(W)););return W}var Qx=Oa(Y);function qx(B){for(var W=Hi.lastIndex=0;Hi.test(B);)++W;return W}function $x(B){return B.match(Hi)||[]}function Kx(B){return B.match(Ko)||[]}var eA=function B(W){W=W==null?ze:Ji.defaults(ze.Object(),W,Ji.pick(ze,ts));var M=W.Array,le=W.Date,Ee=W.Error,je=W.Function,wt=W.Math,it=W.Object,ka=W.RegExp,tA=W.String,An=W.TypeError,us=M.prototype,nA=je.prototype,Ui=it.prototype,os=W["__core-js_shared__"],ss=nA.toString,Ke=Ui.hasOwnProperty,rA=0,Sp=function(){var n=/[^.]+$/.exec(os&&os.keys&&os.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),ls=Ui.toString,iA=ss.call(it),uA=ze._,oA=ka("^"+ss.call(Ke).replace(Fu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),as=qt?W.Buffer:r,Br=W.Symbol,cs=W.Uint8Array,Ep=as?as.allocUnsafe:r,fs=Ap(it.getPrototypeOf,it),Fp=it.create,Pp=Ui.propertyIsEnumerable,ds=us.splice,Tp=Br?Br.isConcatSpreadable:r,ku=Br?Br.iterator:r,ii=Br?Br.toStringTag:r,hs=function(){try{var n=ai(it,"defineProperty");return n({},"",{}),n}catch{}}(),sA=W.clearTimeout!==ze.clearTimeout&&W.clearTimeout,lA=le&&le.now!==ze.Date.now&&le.now,aA=W.setTimeout!==ze.setTimeout&&W.setTimeout,ps=wt.ceil,gs=wt.floor,La=it.getOwnPropertySymbols,cA=as?as.isBuffer:r,Op=W.isFinite,fA=us.join,dA=Ap(it.keys,it),St=wt.max,Rt=wt.min,hA=le.now,pA=W.parseInt,Bp=wt.random,gA=us.reverse,Da=ai(W,"DataView"),Lu=ai(W,"Map"),Ma=ai(W,"Promise"),ji=ai(W,"Set"),Du=ai(W,"WeakMap"),Mu=ai(it,"create"),ms=Du&&new Du,Qi={},mA=ci(Da),bA=ci(Lu),vA=ci(Ma),yA=ci(ji),IA=ci(Du),bs=Br?Br.prototype:r,Nu=bs?bs.valueOf:r,_p=bs?bs.toString:r;function v(n){if(pt(n)&&!Te(n)&&!(n instanceof We)){if(n instanceof wn)return n;if(Ke.call(n,"__wrapped__"))return Gg(n)}return new wn(n)}var qi=function(){function n(){}return function(i){if(!ft(i))return{};if(Fp)return Fp(i);n.prototype=i;var s=new n;return n.prototype=r,s}}();function vs(){}function wn(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=r}v.templateSettings={escape:Su,evaluate:Eu,interpolate:Li,variable:"",imports:{_:v}},v.prototype=vs.prototype,v.prototype.constructor=v,wn.prototype=qi(vs.prototype),wn.prototype.constructor=wn;function We(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=He,this.__views__=[]}function CA(){var n=new We(this.__wrapped__);return n.__actions__=$t(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=$t(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=$t(this.__views__),n}function xA(){if(this.__filtered__){var n=new We(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function AA(){var n=this.__wrapped__.value(),i=this.__dir__,s=Te(n),d=i<0,m=s?n.length:0,y=kw(0,m,this.__views__),x=y.start,T=y.end,G=T-x,H=d?T:x-1,z=this.__iteratees__,U=z.length,re=0,fe=Rt(G,this.__takeCount__);if(!s||!d&&m==G&&fe==G)return ng(n,this.__actions__);var Ce=[];e:for(;G--&&re<fe;){H+=i;for(var ke=-1,xe=n[H];++ke<U;){var Ve=z[ke],Ze=Ve.iteratee,dn=Ve.type,Ht=Ze(xe);if(dn==ie)xe=Ht;else if(!Ht){if(dn==Be)continue e;break e}}Ce[re++]=xe}return Ce}We.prototype=qi(vs.prototype),We.prototype.constructor=We;function ui(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function wA(){this.__data__=Mu?Mu(null):{},this.size=0}function SA(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}function EA(n){var i=this.__data__;if(Mu){var s=i[n];return s===f?r:s}return Ke.call(i,n)?i[n]:r}function FA(n){var i=this.__data__;return Mu?i[n]!==r:Ke.call(i,n)}function PA(n,i){var s=this.__data__;return this.size+=this.has(n)?0:1,s[n]=Mu&&i===r?f:i,this}ui.prototype.clear=wA,ui.prototype.delete=SA,ui.prototype.get=EA,ui.prototype.has=FA,ui.prototype.set=PA;function sr(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function TA(){this.__data__=[],this.size=0}function OA(n){var i=this.__data__,s=ys(i,n);if(s<0)return!1;var d=i.length-1;return s==d?i.pop():ds.call(i,s,1),--this.size,!0}function BA(n){var i=this.__data__,s=ys(i,n);return s<0?r:i[s][1]}function _A(n){return ys(this.__data__,n)>-1}function GA(n,i){var s=this.__data__,d=ys(s,n);return d<0?(++this.size,s.push([n,i])):s[d][1]=i,this}sr.prototype.clear=TA,sr.prototype.delete=OA,sr.prototype.get=BA,sr.prototype.has=_A,sr.prototype.set=GA;function lr(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function RA(){this.size=0,this.__data__={hash:new ui,map:new(Lu||sr),string:new ui}}function kA(n){var i=Bs(this,n).delete(n);return this.size-=i?1:0,i}function LA(n){return Bs(this,n).get(n)}function DA(n){return Bs(this,n).has(n)}function MA(n,i){var s=Bs(this,n),d=s.size;return s.set(n,i),this.size+=s.size==d?0:1,this}lr.prototype.clear=RA,lr.prototype.delete=kA,lr.prototype.get=LA,lr.prototype.has=DA,lr.prototype.set=MA;function oi(n){var i=-1,s=n==null?0:n.length;for(this.__data__=new lr;++i<s;)this.add(n[i])}function NA(n){return this.__data__.set(n,f),this}function VA(n){return this.__data__.has(n)}oi.prototype.add=oi.prototype.push=NA,oi.prototype.has=VA;function kn(n){var i=this.__data__=new sr(n);this.size=i.size}function WA(){this.__data__=new sr,this.size=0}function XA(n){var i=this.__data__,s=i.delete(n);return this.size=i.size,s}function HA(n){return this.__data__.get(n)}function zA(n){return this.__data__.has(n)}function ZA(n,i){var s=this.__data__;if(s instanceof sr){var d=s.__data__;if(!Lu||d.length<o-1)return d.push([n,i]),this.size=++s.size,this;s=this.__data__=new lr(d)}return s.set(n,i),this.size=s.size,this}kn.prototype.clear=WA,kn.prototype.delete=XA,kn.prototype.get=HA,kn.prototype.has=zA,kn.prototype.set=ZA;function Gp(n,i){var s=Te(n),d=!s&&fi(n),m=!s&&!d&&Lr(n),y=!s&&!d&&!m&&tu(n),x=s||d||m||y,T=x?_a(n.length,tA):[],G=T.length;for(var H in n)(i||Ke.call(n,H))&&!(x&&(H=="length"||m&&(H=="offset"||H=="parent")||y&&(H=="buffer"||H=="byteLength"||H=="byteOffset")||dr(H,G)))&&T.push(H);return T}function Rp(n){var i=n.length;return i?n[ja(0,i-1)]:r}function YA(n,i){return _s($t(n),si(i,0,n.length))}function JA(n){return _s($t(n))}function Na(n,i,s){(s!==r&&!Ln(n[i],s)||s===r&&!(i in n))&&ar(n,i,s)}function Vu(n,i,s){var d=n[i];(!(Ke.call(n,i)&&Ln(d,s))||s===r&&!(i in n))&&ar(n,i,s)}function ys(n,i){for(var s=n.length;s--;)if(Ln(n[s][0],i))return s;return-1}function UA(n,i,s,d){return _r(n,function(m,y,x){i(d,m,s(m),x)}),d}function kp(n,i){return n&&Qn(i,Pt(i),n)}function jA(n,i){return n&&Qn(i,en(i),n)}function ar(n,i,s){i=="__proto__"&&hs?hs(n,i,{configurable:!0,enumerable:!0,value:s,writable:!0}):n[i]=s}function Va(n,i){for(var s=-1,d=i.length,m=M(d),y=n==null;++s<d;)m[s]=y?r:Ic(n,i[s]);return m}function si(n,i,s){return n===n&&(s!==r&&(n=n<=s?n:s),i!==r&&(n=n>=i?n:i)),n}function Sn(n,i,s,d,m,y){var x,T=i&g,G=i&I,H=i&b;if(s&&(x=m?s(n,d,m,y):s(n)),x!==r)return x;if(!ft(n))return n;var z=Te(n);if(z){if(x=Dw(n),!T)return $t(n,x)}else{var U=kt(n),re=U==ct||U==Gt;if(Lr(n))return ug(n,T);if(U==Ut||U==me||re&&!m){if(x=G||re?{}:wg(n),!T)return G?Ew(n,jA(x,n)):Sw(n,kp(x,n))}else{if(!et[U])return m?n:{};x=Mw(n,U,T)}}y||(y=new kn);var fe=y.get(n);if(fe)return fe;y.set(n,x),Kg(n)?n.forEach(function(xe){x.add(Sn(xe,i,s,xe,n,y))}):qg(n)&&n.forEach(function(xe,Ve){x.set(Ve,Sn(xe,i,s,Ve,n,y))});var Ce=H?G?oc:uc:G?en:Pt,ke=z?r:Ce(n);return xn(ke||n,function(xe,Ve){ke&&(Ve=xe,xe=n[Ve]),Vu(x,Ve,Sn(xe,i,s,Ve,n,y))}),x}function QA(n){var i=Pt(n);return function(s){return Lp(s,n,i)}}function Lp(n,i,s){var d=s.length;if(n==null)return!d;for(n=it(n);d--;){var m=s[d],y=i[m],x=n[m];if(x===r&&!(m in n)||!y(x))return!1}return!0}function Dp(n,i,s){if(typeof n!="function")throw new An(a);return Ju(function(){n.apply(r,s)},i)}function Wu(n,i,s,d){var m=-1,y=ns,x=!0,T=n.length,G=[],H=i.length;if(!T)return G;s&&(i=at(i,an(s))),d?(y=Ea,x=!1):i.length>=o&&(y=Ru,x=!1,i=new oi(i));e:for(;++m<T;){var z=n[m],U=s==null?z:s(z);if(z=d||z!==0?z:0,x&&U===U){for(var re=H;re--;)if(i[re]===U)continue e;G.push(z)}else y(i,U,d)||G.push(z)}return G}var _r=cg(jn),Mp=cg(Xa,!0);function qA(n,i){var s=!0;return _r(n,function(d,m,y){return s=!!i(d,m,y),s}),s}function Is(n,i,s){for(var d=-1,m=n.length;++d<m;){var y=n[d],x=i(y);if(x!=null&&(T===r?x===x&&!fn(x):s(x,T)))var T=x,G=y}return G}function $A(n,i,s,d){var m=n.length;for(s=Re(s),s<0&&(s=-s>m?0:m+s),d=d===r||d>m?m:Re(d),d<0&&(d+=m),d=s>d?0:tm(d);s<d;)n[s++]=i;return n}function Np(n,i){var s=[];return _r(n,function(d,m,y){i(d,m,y)&&s.push(d)}),s}function Ot(n,i,s,d,m){var y=-1,x=n.length;for(s||(s=Vw),m||(m=[]);++y<x;){var T=n[y];i>0&&s(T)?i>1?Ot(T,i-1,s,d,m):Tr(m,T):d||(m[m.length]=T)}return m}var Wa=fg(),Vp=fg(!0);function jn(n,i){return n&&Wa(n,i,Pt)}function Xa(n,i){return n&&Vp(n,i,Pt)}function Cs(n,i){return Pr(i,function(s){return hr(n[s])})}function li(n,i){i=Rr(i,n);for(var s=0,d=i.length;n!=null&&s<d;)n=n[qn(i[s++])];return s&&s==d?n:r}function Wp(n,i,s){var d=i(n);return Te(n)?d:Tr(d,s(n))}function Wt(n){return n==null?n===r?Au:Gi:ii&&ii in it(n)?Rw(n):Jw(n)}function Ha(n,i){return n>i}function KA(n,i){return n!=null&&Ke.call(n,i)}function ew(n,i){return n!=null&&i in it(n)}function tw(n,i,s){return n>=Rt(i,s)&&n<St(i,s)}function za(n,i,s){for(var d=s?Ea:ns,m=n[0].length,y=n.length,x=y,T=M(y),G=1/0,H=[];x--;){var z=n[x];x&&i&&(z=at(z,an(i))),G=Rt(z.length,G),T[x]=!s&&(i||m>=120&&z.length>=120)?new oi(x&&z):r}z=n[0];var U=-1,re=T[0];e:for(;++U<m&&H.length<G;){var fe=z[U],Ce=i?i(fe):fe;if(fe=s||fe!==0?fe:0,!(re?Ru(re,Ce):d(H,Ce,s))){for(x=y;--x;){var ke=T[x];if(!(ke?Ru(ke,Ce):d(n[x],Ce,s)))continue e}re&&re.push(Ce),H.push(fe)}}return H}function nw(n,i,s,d){return jn(n,function(m,y,x){i(d,s(m),y,x)}),d}function Xu(n,i,s){i=Rr(i,n),n=Pg(n,i);var d=n==null?n:n[qn(Fn(i))];return d==null?r:Ft(d,n,s)}function Xp(n){return pt(n)&&Wt(n)==me}function rw(n){return pt(n)&&Wt(n)==te}function iw(n){return pt(n)&&Wt(n)==oe}function Hu(n,i,s,d,m){return n===i?!0:n==null||i==null||!pt(n)&&!pt(i)?n!==n&&i!==i:uw(n,i,s,d,Hu,m)}function uw(n,i,s,d,m,y){var x=Te(n),T=Te(i),G=x?De:kt(n),H=T?De:kt(i);G=G==me?Ut:G,H=H==me?Ut:H;var z=G==Ut,U=H==Ut,re=G==H;if(re&&Lr(n)){if(!Lr(i))return!1;x=!0,z=!1}if(re&&!z)return y||(y=new kn),x||tu(n)?Cg(n,i,s,d,m,y):_w(n,i,G,s,d,m,y);if(!(s&E)){var fe=z&&Ke.call(n,"__wrapped__"),Ce=U&&Ke.call(i,"__wrapped__");if(fe||Ce){var ke=fe?n.value():n,xe=Ce?i.value():i;return y||(y=new kn),m(ke,xe,s,d,y)}}return re?(y||(y=new kn),Gw(n,i,s,d,m,y)):!1}function ow(n){return pt(n)&&kt(n)==At}function Za(n,i,s,d){var m=s.length,y=m,x=!d;if(n==null)return!y;for(n=it(n);m--;){var T=s[m];if(x&&T[2]?T[1]!==n[T[0]]:!(T[0]in n))return!1}for(;++m<y;){T=s[m];var G=T[0],H=n[G],z=T[1];if(x&&T[2]){if(H===r&&!(G in n))return!1}else{var U=new kn;if(d)var re=d(H,z,G,n,i,U);if(!(re===r?Hu(z,H,E|A,d,U):re))return!1}}return!0}function Hp(n){if(!ft(n)||Xw(n))return!1;var i=hr(n)?oA:ca;return i.test(ci(n))}function sw(n){return pt(n)&&Wt(n)==Yn}function lw(n){return pt(n)&&kt(n)==Mt}function aw(n){return pt(n)&&Ms(n.length)&&!!tt[Wt(n)]}function zp(n){return typeof n=="function"?n:n==null?tn:typeof n=="object"?Te(n)?Jp(n[0],n[1]):Yp(n):dm(n)}function Ya(n){if(!Yu(n))return dA(n);var i=[];for(var s in it(n))Ke.call(n,s)&&s!="constructor"&&i.push(s);return i}function cw(n){if(!ft(n))return Yw(n);var i=Yu(n),s=[];for(var d in n)d=="constructor"&&(i||!Ke.call(n,d))||s.push(d);return s}function Ja(n,i){return n<i}function Zp(n,i){var s=-1,d=Kt(n)?M(n.length):[];return _r(n,function(m,y,x){d[++s]=i(m,y,x)}),d}function Yp(n){var i=lc(n);return i.length==1&&i[0][2]?Eg(i[0][0],i[0][1]):function(s){return s===n||Za(s,n,i)}}function Jp(n,i){return cc(n)&&Sg(i)?Eg(qn(n),i):function(s){var d=Ic(s,n);return d===r&&d===i?Cc(s,n):Hu(i,d,E|A)}}function xs(n,i,s,d,m){n!==i&&Wa(i,function(y,x){if(m||(m=new kn),ft(y))fw(n,i,x,s,xs,d,m);else{var T=d?d(dc(n,x),y,x+"",n,i,m):r;T===r&&(T=y),Na(n,x,T)}},en)}function fw(n,i,s,d,m,y,x){var T=dc(n,s),G=dc(i,s),H=x.get(G);if(H){Na(n,s,H);return}var z=y?y(T,G,s+"",n,i,x):r,U=z===r;if(U){var re=Te(G),fe=!re&&Lr(G),Ce=!re&&!fe&&tu(G);z=G,re||fe||Ce?Te(T)?z=T:mt(T)?z=$t(T):fe?(U=!1,z=ug(G,!0)):Ce?(U=!1,z=og(G,!0)):z=[]:Uu(G)||fi(G)?(z=T,fi(T)?z=nm(T):(!ft(T)||hr(T))&&(z=wg(G))):U=!1}U&&(x.set(G,z),m(z,G,d,y,x),x.delete(G)),Na(n,s,z)}function Up(n,i){var s=n.length;if(s)return i+=i<0?s:0,dr(i,s)?n[i]:r}function jp(n,i,s){i.length?i=at(i,function(y){return Te(y)?function(x){return li(x,y.length===1?y[0]:y)}:y}):i=[tn];var d=-1;i=at(i,an(Ie()));var m=Zp(n,function(y,x,T){var G=at(i,function(H){return H(y)});return{criteria:G,index:++d,value:y}});return Mx(m,function(y,x){return ww(y,x,s)})}function dw(n,i){return Qp(n,i,function(s,d){return Cc(n,d)})}function Qp(n,i,s){for(var d=-1,m=i.length,y={};++d<m;){var x=i[d],T=li(n,x);s(T,x)&&zu(y,Rr(x,n),T)}return y}function hw(n){return function(i){return li(i,n)}}function Ua(n,i,s,d){var m=d?Dx:zi,y=-1,x=i.length,T=n;for(n===i&&(i=$t(i)),s&&(T=at(n,an(s)));++y<x;)for(var G=0,H=i[y],z=s?s(H):H;(G=m(T,z,G,d))>-1;)T!==n&&ds.call(T,G,1),ds.call(n,G,1);return n}function qp(n,i){for(var s=n?i.length:0,d=s-1;s--;){var m=i[s];if(s==d||m!==y){var y=m;dr(m)?ds.call(n,m,1):$a(n,m)}}return n}function ja(n,i){return n+gs(Bp()*(i-n+1))}function pw(n,i,s,d){for(var m=-1,y=St(ps((i-n)/(s||1)),0),x=M(y);y--;)x[d?y:++m]=n,n+=s;return x}function Qa(n,i){var s="";if(!n||i<1||i>Se)return s;do i%2&&(s+=n),i=gs(i/2),i&&(n+=n);while(i);return s}function Ne(n,i){return hc(Fg(n,i,tn),n+"")}function gw(n){return Rp(nu(n))}function mw(n,i){var s=nu(n);return _s(s,si(i,0,s.length))}function zu(n,i,s,d){if(!ft(n))return n;i=Rr(i,n);for(var m=-1,y=i.length,x=y-1,T=n;T!=null&&++m<y;){var G=qn(i[m]),H=s;if(G==="__proto__"||G==="constructor"||G==="prototype")return n;if(m!=x){var z=T[G];H=d?d(z,G,T):r,H===r&&(H=ft(z)?z:dr(i[m+1])?[]:{})}Vu(T,G,H),T=T[G]}return n}var $p=ms?function(n,i){return ms.set(n,i),n}:tn,bw=hs?function(n,i){return hs(n,"toString",{configurable:!0,enumerable:!1,value:Ac(i),writable:!0})}:tn;function vw(n){return _s(nu(n))}function En(n,i,s){var d=-1,m=n.length;i<0&&(i=-i>m?0:m+i),s=s>m?m:s,s<0&&(s+=m),m=i>s?0:s-i>>>0,i>>>=0;for(var y=M(m);++d<m;)y[d]=n[d+i];return y}function yw(n,i){var s;return _r(n,function(d,m,y){return s=i(d,m,y),!s}),!!s}function As(n,i,s){var d=0,m=n==null?d:n.length;if(typeof i=="number"&&i===i&&m<=w){for(;d<m;){var y=d+m>>>1,x=n[y];x!==null&&!fn(x)&&(s?x<=i:x<i)?d=y+1:m=y}return m}return qa(n,i,tn,s)}function qa(n,i,s,d){var m=0,y=n==null?0:n.length;if(y===0)return 0;i=s(i);for(var x=i!==i,T=i===null,G=fn(i),H=i===r;m<y;){var z=gs((m+y)/2),U=s(n[z]),re=U!==r,fe=U===null,Ce=U===U,ke=fn(U);if(x)var xe=d||Ce;else H?xe=Ce&&(d||re):T?xe=Ce&&re&&(d||!fe):G?xe=Ce&&re&&!fe&&(d||!ke):fe||ke?xe=!1:xe=d?U<=i:U<i;xe?m=z+1:y=z}return Rt(y,Le)}function Kp(n,i){for(var s=-1,d=n.length,m=0,y=[];++s<d;){var x=n[s],T=i?i(x):x;if(!s||!Ln(T,G)){var G=T;y[m++]=x===0?0:x}}return y}function eg(n){return typeof n=="number"?n:fn(n)?S:+n}function cn(n){if(typeof n=="string")return n;if(Te(n))return at(n,cn)+"";if(fn(n))return _p?_p.call(n):"";var i=n+"";return i=="0"&&1/n==-de?"-0":i}function Gr(n,i,s){var d=-1,m=ns,y=n.length,x=!0,T=[],G=T;if(s)x=!1,m=Ea;else if(y>=o){var H=i?null:Ow(n);if(H)return is(H);x=!1,m=Ru,G=new oi}else G=i?[]:T;e:for(;++d<y;){var z=n[d],U=i?i(z):z;if(z=s||z!==0?z:0,x&&U===U){for(var re=G.length;re--;)if(G[re]===U)continue e;i&&G.push(U),T.push(z)}else m(G,U,s)||(G!==T&&G.push(U),T.push(z))}return T}function $a(n,i){return i=Rr(i,n),n=Pg(n,i),n==null||delete n[qn(Fn(i))]}function tg(n,i,s,d){return zu(n,i,s(li(n,i)),d)}function ws(n,i,s,d){for(var m=n.length,y=d?m:-1;(d?y--:++y<m)&&i(n[y],y,n););return s?En(n,d?0:y,d?y+1:m):En(n,d?y+1:0,d?m:y)}function ng(n,i){var s=n;return s instanceof We&&(s=s.value()),Fa(i,function(d,m){return m.func.apply(m.thisArg,Tr([d],m.args))},s)}function Ka(n,i,s){var d=n.length;if(d<2)return d?Gr(n[0]):[];for(var m=-1,y=M(d);++m<d;)for(var x=n[m],T=-1;++T<d;)T!=m&&(y[m]=Wu(y[m]||x,n[T],i,s));return Gr(Ot(y,1),i,s)}function rg(n,i,s){for(var d=-1,m=n.length,y=i.length,x={};++d<m;){var T=d<y?i[d]:r;s(x,n[d],T)}return x}function ec(n){return mt(n)?n:[]}function tc(n){return typeof n=="function"?n:tn}function Rr(n,i){return Te(n)?n:cc(n,i)?[n]:_g($e(n))}var Iw=Ne;function kr(n,i,s){var d=n.length;return s=s===r?d:s,!i&&s>=d?n:En(n,i,s)}var ig=sA||function(n){return ze.clearTimeout(n)};function ug(n,i){if(i)return n.slice();var s=n.length,d=Ep?Ep(s):new n.constructor(s);return n.copy(d),d}function nc(n){var i=new n.constructor(n.byteLength);return new cs(i).set(new cs(n)),i}function Cw(n,i){var s=i?nc(n.buffer):n.buffer;return new n.constructor(s,n.byteOffset,n.byteLength)}function xw(n){var i=new n.constructor(n.source,In.exec(n));return i.lastIndex=n.lastIndex,i}function Aw(n){return Nu?it(Nu.call(n)):{}}function og(n,i){var s=i?nc(n.buffer):n.buffer;return new n.constructor(s,n.byteOffset,n.length)}function sg(n,i){if(n!==i){var s=n!==r,d=n===null,m=n===n,y=fn(n),x=i!==r,T=i===null,G=i===i,H=fn(i);if(!T&&!H&&!y&&n>i||y&&x&&G&&!T&&!H||d&&x&&G||!s&&G||!m)return 1;if(!d&&!y&&!H&&n<i||H&&s&&m&&!d&&!y||T&&s&&m||!x&&m||!G)return-1}return 0}function ww(n,i,s){for(var d=-1,m=n.criteria,y=i.criteria,x=m.length,T=s.length;++d<x;){var G=sg(m[d],y[d]);if(G){if(d>=T)return G;var H=s[d];return G*(H=="desc"?-1:1)}}return n.index-i.index}function lg(n,i,s,d){for(var m=-1,y=n.length,x=s.length,T=-1,G=i.length,H=St(y-x,0),z=M(G+H),U=!d;++T<G;)z[T]=i[T];for(;++m<x;)(U||m<y)&&(z[s[m]]=n[m]);for(;H--;)z[T++]=n[m++];return z}function ag(n,i,s,d){for(var m=-1,y=n.length,x=-1,T=s.length,G=-1,H=i.length,z=St(y-T,0),U=M(z+H),re=!d;++m<z;)U[m]=n[m];for(var fe=m;++G<H;)U[fe+G]=i[G];for(;++x<T;)(re||m<y)&&(U[fe+s[x]]=n[m++]);return U}function $t(n,i){var s=-1,d=n.length;for(i||(i=M(d));++s<d;)i[s]=n[s];return i}function Qn(n,i,s,d){var m=!s;s||(s={});for(var y=-1,x=i.length;++y<x;){var T=i[y],G=d?d(s[T],n[T],T,s,n):r;G===r&&(G=n[T]),m?ar(s,T,G):Vu(s,T,G)}return s}function Sw(n,i){return Qn(n,ac(n),i)}function Ew(n,i){return Qn(n,xg(n),i)}function Ss(n,i){return function(s,d){var m=Te(s)?Bx:UA,y=i?i():{};return m(s,n,Ie(d,2),y)}}function $i(n){return Ne(function(i,s){var d=-1,m=s.length,y=m>1?s[m-1]:r,x=m>2?s[2]:r;for(y=n.length>3&&typeof y=="function"?(m--,y):r,x&&Xt(s[0],s[1],x)&&(y=m<3?r:y,m=1),i=it(i);++d<m;){var T=s[d];T&&n(i,T,d,y)}return i})}function cg(n,i){return function(s,d){if(s==null)return s;if(!Kt(s))return n(s,d);for(var m=s.length,y=i?m:-1,x=it(s);(i?y--:++y<m)&&d(x[y],y,x)!==!1;);return s}}function fg(n){return function(i,s,d){for(var m=-1,y=it(i),x=d(i),T=x.length;T--;){var G=x[n?T:++m];if(s(y[G],G,y)===!1)break}return i}}function Fw(n,i,s){var d=i&F,m=Zu(n);function y(){var x=this&&this!==ze&&this instanceof y?m:n;return x.apply(d?s:this,arguments)}return y}function dg(n){return function(i){i=$e(i);var s=Zi(i)?Rn(i):r,d=s?s[0]:i.charAt(0),m=s?kr(s,1).join(""):i.slice(1);return d[n]()+m}}function Ki(n){return function(i){return Fa(cm(am(i).replace(_u,"")),n,"")}}function Zu(n){return function(){var i=arguments;switch(i.length){case 0:return new n;case 1:return new n(i[0]);case 2:return new n(i[0],i[1]);case 3:return new n(i[0],i[1],i[2]);case 4:return new n(i[0],i[1],i[2],i[3]);case 5:return new n(i[0],i[1],i[2],i[3],i[4]);case 6:return new n(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new n(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var s=qi(n.prototype),d=n.apply(s,i);return ft(d)?d:s}}function Pw(n,i,s){var d=Zu(n);function m(){for(var y=arguments.length,x=M(y),T=y,G=eu(m);T--;)x[T]=arguments[T];var H=y<3&&x[0]!==G&&x[y-1]!==G?[]:Or(x,G);if(y-=H.length,y<s)return bg(n,i,Es,m.placeholder,r,x,H,r,r,s-y);var z=this&&this!==ze&&this instanceof m?d:n;return Ft(z,this,x)}return m}function hg(n){return function(i,s,d){var m=it(i);if(!Kt(i)){var y=Ie(s,3);i=Pt(i),s=function(T){return y(m[T],T,m)}}var x=n(i,s,d);return x>-1?m[y?i[x]:x]:r}}function pg(n){return fr(function(i){var s=i.length,d=s,m=wn.prototype.thru;for(n&&i.reverse();d--;){var y=i[d];if(typeof y!="function")throw new An(a);if(m&&!x&&Os(y)=="wrapper")var x=new wn([],!0)}for(d=x?d:s;++d<s;){y=i[d];var T=Os(y),G=T=="wrapper"?sc(y):r;G&&fc(G[0])&&G[1]==(J|k|V|N)&&!G[4].length&&G[9]==1?x=x[Os(G[0])].apply(x,G[3]):x=y.length==1&&fc(y)?x[T]():x.thru(y)}return function(){var H=arguments,z=H[0];if(x&&H.length==1&&Te(z))return x.plant(z).value();for(var U=0,re=s?i[U].apply(this,H):z;++U<s;)re=i[U].call(this,re);return re}})}function Es(n,i,s,d,m,y,x,T,G,H){var z=i&J,U=i&F,re=i&P,fe=i&(k|L),Ce=i&j,ke=re?r:Zu(n);function xe(){for(var Ve=arguments.length,Ze=M(Ve),dn=Ve;dn--;)Ze[dn]=arguments[dn];if(fe)var Ht=eu(xe),hn=Vx(Ze,Ht);if(d&&(Ze=lg(Ze,d,m,fe)),y&&(Ze=ag(Ze,y,x,fe)),Ve-=hn,fe&&Ve<H){var bt=Or(Ze,Ht);return bg(n,i,Es,xe.placeholder,s,Ze,bt,T,G,H-Ve)}var Dn=U?s:this,gr=re?Dn[n]:n;return Ve=Ze.length,T?Ze=Uw(Ze,T):Ce&&Ve>1&&Ze.reverse(),z&&G<Ve&&(Ze.length=G),this&&this!==ze&&this instanceof xe&&(gr=ke||Zu(gr)),gr.apply(Dn,Ze)}return xe}function gg(n,i){return function(s,d){return nw(s,n,i(d),{})}}function Fs(n,i){return function(s,d){var m;if(s===r&&d===r)return i;if(s!==r&&(m=s),d!==r){if(m===r)return d;typeof s=="string"||typeof d=="string"?(s=cn(s),d=cn(d)):(s=eg(s),d=eg(d)),m=n(s,d)}return m}}function rc(n){return fr(function(i){return i=at(i,an(Ie())),Ne(function(s){var d=this;return n(i,function(m){return Ft(m,d,s)})})})}function Ps(n,i){i=i===r?" ":cn(i);var s=i.length;if(s<2)return s?Qa(i,n):i;var d=Qa(i,ps(n/Yi(i)));return Zi(i)?kr(Rn(d),0,n).join(""):d.slice(0,n)}function Tw(n,i,s,d){var m=i&F,y=Zu(n);function x(){for(var T=-1,G=arguments.length,H=-1,z=d.length,U=M(z+G),re=this&&this!==ze&&this instanceof x?y:n;++H<z;)U[H]=d[H];for(;G--;)U[H++]=arguments[++T];return Ft(re,m?s:this,U)}return x}function mg(n){return function(i,s,d){return d&&typeof d!="number"&&Xt(i,s,d)&&(s=d=r),i=pr(i),s===r?(s=i,i=0):s=pr(s),d=d===r?i<s?1:-1:pr(d),pw(i,s,d,n)}}function Ts(n){return function(i,s){return typeof i=="string"&&typeof s=="string"||(i=Pn(i),s=Pn(s)),n(i,s)}}function bg(n,i,s,d,m,y,x,T,G,H){var z=i&k,U=z?x:r,re=z?r:x,fe=z?y:r,Ce=z?r:y;i|=z?V:R,i&=~(z?R:V),i&D||(i&=~(F|P));var ke=[n,i,m,fe,U,Ce,re,T,G,H],xe=s.apply(r,ke);return fc(n)&&Tg(xe,ke),xe.placeholder=d,Og(xe,n,i)}function ic(n){var i=wt[n];return function(s,d){if(s=Pn(s),d=d==null?0:Rt(Re(d),292),d&&Op(s)){var m=($e(s)+"e").split("e"),y=i(m[0]+"e"+(+m[1]+d));return m=($e(y)+"e").split("e"),+(m[0]+"e"+(+m[1]-d))}return i(s)}}var Ow=ji&&1/is(new ji([,-0]))[1]==de?function(n){return new ji(n)}:Ec;function vg(n){return function(i){var s=kt(i);return s==At?Ra(i):s==Mt?Jx(i):Nx(i,n(i))}}function cr(n,i,s,d,m,y,x,T){var G=i&P;if(!G&&typeof n!="function")throw new An(a);var H=d?d.length:0;if(H||(i&=~(V|R),d=m=r),x=x===r?x:St(Re(x),0),T=T===r?T:Re(T),H-=m?m.length:0,i&R){var z=d,U=m;d=m=r}var re=G?r:sc(n),fe=[n,i,s,d,m,z,U,y,x,T];if(re&&Zw(fe,re),n=fe[0],i=fe[1],s=fe[2],d=fe[3],m=fe[4],T=fe[9]=fe[9]===r?G?0:n.length:St(fe[9]-H,0),!T&&i&(k|L)&&(i&=~(k|L)),!i||i==F)var Ce=Fw(n,i,s);else i==k||i==L?Ce=Pw(n,i,T):(i==V||i==(F|V))&&!m.length?Ce=Tw(n,i,s,d):Ce=Es.apply(r,fe);var ke=re?$p:Tg;return Og(ke(Ce,fe),n,i)}function yg(n,i,s,d){return n===r||Ln(n,Ui[s])&&!Ke.call(d,s)?i:n}function Ig(n,i,s,d,m,y){return ft(n)&&ft(i)&&(y.set(i,n),xs(n,i,r,Ig,y),y.delete(i)),n}function Bw(n){return Uu(n)?r:n}function Cg(n,i,s,d,m,y){var x=s&E,T=n.length,G=i.length;if(T!=G&&!(x&&G>T))return!1;var H=y.get(n),z=y.get(i);if(H&&z)return H==i&&z==n;var U=-1,re=!0,fe=s&A?new oi:r;for(y.set(n,i),y.set(i,n);++U<T;){var Ce=n[U],ke=i[U];if(d)var xe=x?d(ke,Ce,U,i,n,y):d(Ce,ke,U,n,i,y);if(xe!==r){if(xe)continue;re=!1;break}if(fe){if(!Pa(i,function(Ve,Ze){if(!Ru(fe,Ze)&&(Ce===Ve||m(Ce,Ve,s,d,y)))return fe.push(Ze)})){re=!1;break}}else if(!(Ce===ke||m(Ce,ke,s,d,y))){re=!1;break}}return y.delete(n),y.delete(i),re}function _w(n,i,s,d,m,y,x){switch(s){case pe:if(n.byteLength!=i.byteLength||n.byteOffset!=i.byteOffset)return!1;n=n.buffer,i=i.buffer;case te:return!(n.byteLength!=i.byteLength||!y(new cs(n),new cs(i)));case ee:case oe:case vn:return Ln(+n,+i);case Me:return n.name==i.name&&n.message==i.message;case Yn:case tr:return n==i+"";case At:var T=Ra;case Mt:var G=d&E;if(T||(T=is),n.size!=i.size&&!G)return!1;var H=x.get(n);if(H)return H==i;d|=A,x.set(n,i);var z=Cg(T(n),T(i),d,m,y,x);return x.delete(n),z;case Er:if(Nu)return Nu.call(n)==Nu.call(i)}return!1}function Gw(n,i,s,d,m,y){var x=s&E,T=uc(n),G=T.length,H=uc(i),z=H.length;if(G!=z&&!x)return!1;for(var U=G;U--;){var re=T[U];if(!(x?re in i:Ke.call(i,re)))return!1}var fe=y.get(n),Ce=y.get(i);if(fe&&Ce)return fe==i&&Ce==n;var ke=!0;y.set(n,i),y.set(i,n);for(var xe=x;++U<G;){re=T[U];var Ve=n[re],Ze=i[re];if(d)var dn=x?d(Ze,Ve,re,i,n,y):d(Ve,Ze,re,n,i,y);if(!(dn===r?Ve===Ze||m(Ve,Ze,s,d,y):dn)){ke=!1;break}xe||(xe=re=="constructor")}if(ke&&!xe){var Ht=n.constructor,hn=i.constructor;Ht!=hn&&"constructor"in n&&"constructor"in i&&!(typeof Ht=="function"&&Ht instanceof Ht&&typeof hn=="function"&&hn instanceof hn)&&(ke=!1)}return y.delete(n),y.delete(i),ke}function fr(n){return hc(Fg(n,r,Lg),n+"")}function uc(n){return Wp(n,Pt,ac)}function oc(n){return Wp(n,en,xg)}var sc=ms?function(n){return ms.get(n)}:Ec;function Os(n){for(var i=n.name+"",s=Qi[i],d=Ke.call(Qi,i)?s.length:0;d--;){var m=s[d],y=m.func;if(y==null||y==n)return m.name}return i}function eu(n){var i=Ke.call(v,"placeholder")?v:n;return i.placeholder}function Ie(){var n=v.iteratee||wc;return n=n===wc?zp:n,arguments.length?n(arguments[0],arguments[1]):n}function Bs(n,i){var s=n.__data__;return Ww(i)?s[typeof i=="string"?"string":"hash"]:s.map}function lc(n){for(var i=Pt(n),s=i.length;s--;){var d=i[s],m=n[d];i[s]=[d,m,Sg(m)]}return i}function ai(n,i){var s=zx(n,i);return Hp(s)?s:r}function Rw(n){var i=Ke.call(n,ii),s=n[ii];try{n[ii]=r;var d=!0}catch{}var m=ls.call(n);return d&&(i?n[ii]=s:delete n[ii]),m}var ac=La?function(n){return n==null?[]:(n=it(n),Pr(La(n),function(i){return Pp.call(n,i)}))}:Fc,xg=La?function(n){for(var i=[];n;)Tr(i,ac(n)),n=fs(n);return i}:Fc,kt=Wt;(Da&&kt(new Da(new ArrayBuffer(1)))!=pe||Lu&&kt(new Lu)!=At||Ma&&kt(Ma.resolve())!=Ri||ji&&kt(new ji)!=Mt||Du&&kt(new Du)!=nr)&&(kt=function(n){var i=Wt(n),s=i==Ut?n.constructor:r,d=s?ci(s):"";if(d)switch(d){case mA:return pe;case bA:return At;case vA:return Ri;case yA:return Mt;case IA:return nr}return i});function kw(n,i,s){for(var d=-1,m=s.length;++d<m;){var y=s[d],x=y.size;switch(y.type){case"drop":n+=x;break;case"dropRight":i-=x;break;case"take":i=Rt(i,n+x);break;case"takeRight":n=St(n,i-x);break}}return{start:n,end:i}}function Lw(n){var i=n.match(ir);return i?i[1].split(ra):[]}function Ag(n,i,s){i=Rr(i,n);for(var d=-1,m=i.length,y=!1;++d<m;){var x=qn(i[d]);if(!(y=n!=null&&s(n,x)))break;n=n[x]}return y||++d!=m?y:(m=n==null?0:n.length,!!m&&Ms(m)&&dr(x,m)&&(Te(n)||fi(n)))}function Dw(n){var i=n.length,s=new n.constructor(i);return i&&typeof n[0]=="string"&&Ke.call(n,"index")&&(s.index=n.index,s.input=n.input),s}function wg(n){return typeof n.constructor=="function"&&!Yu(n)?qi(fs(n)):{}}function Mw(n,i,s){var d=n.constructor;switch(i){case te:return nc(n);case ee:case oe:return new d(+n);case pe:return Cw(n,s);case _e:case Ge:case Et:case jt:case Nt:case yn:case Qt:case It:case on:return og(n,s);case At:return new d;case vn:case tr:return new d(n);case Yn:return xw(n);case Mt:return new d;case Er:return Aw(n)}}function Nw(n,i){var s=i.length;if(!s)return n;var d=s-1;return i[d]=(s>1?"& ":"")+i[d],i=i.join(s>2?", ":" "),n.replace(Tu,`{
|
|
21
|
+
*/ho.exports,function(e,t){(function(){var r,u="4.17.21",o=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",h=500,p="__lodash_placeholder__",g=1,I=2,b=4,S=1,A=2,F=1,P=2,L=4,k=8,N=16,X=32,R=64,Y=128,D=256,j=512,Q=30,U="...",q=800,be=16,Se=1,ue=2,pe=3,Ee=1/0,Oe=9007199254740991,Ke=17976931348623157e292,E=NaN,xe=4294967295,Le=xe-1,w=xe>>>1,je=[["ary",Y],["bind",F],["bindKey",P],["curry",k],["curryRight",N],["flip",j],["partial",X],["partialRight",R],["rearg",D]],ge="[object Arguments]",Ne="[object Array]",St="[object AsyncFunction]",Ve="[object Boolean]",vt="[object Date]",Xt="[object DOMException]",Lt="[object Error]",Dt="[object Function]",Nn="[object GeneratorFunction]",ne="[object Map]",oe="[object Number]",ye="[object Null]",Ge="[object Object]",yt="[object Promise]",Bt="[object Proxy]",Sn="[object RegExp]",Mt="[object Set]",nt="[object String]",Qe="[object Symbol]",ft="[object Undefined]",et="[object WeakMap]",V="[object WeakSet]",te="[object ArrayBuffer]",he="[object DataView]",Re="[object Float32Array]",ke="[object Float64Array]",_t="[object Int8Array]",tn="[object Int16Array]",Jt="[object Int32Array]",En="[object Uint8Array]",nn="[object Uint8ClampedArray]",Et="[object Uint16Array]",hn="[object Uint32Array]",pn=/\b__p \+= '';/g,lr=/\b(__p \+=) '' \+/g,Ro=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ko=/&(?:amp|lt|gt|quot|#39);/g,Lo=/[&<>"']/g,wu=RegExp(ko.source),ti=RegExp(Lo.source),Su=/<%-([\s\S]+?)%>/g,Eu=/<%([\s\S]+?)%>/g,Di=/<%=([\s\S]+?)%>/g,ni=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ta=/^\w*$/,na=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fu=/[\\^$.*+?()[\]{}|]/g,ra=RegExp(Fu.source),Pu=/^\s+/,Do=/\s/,Ou=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ar=/\{\n\/\* \[wrapped with (.+)\] \*/,ia=/,? & /,ua=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,oa=/[()=,{}\[\]\/\s]/,sa=/\\(\\)?/g,la=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fn=/\w*$/,aa=/^[-+]0x[0-9a-f]+$/i,ca=/^0b[01]+$/i,fa=/^\[object .+?Constructor\]$/,da=/^0o[0-7]+$/i,ha=/^(?:0|[1-9]\d*)$/,cr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Mi=/($^)/,pa=/['\n\r\u2028\u2029\\]/g,Ni="\\ud800-\\udfff",ga="\\u0300-\\u036f",ma="\\ufe20-\\ufe2f",Vi="\\u20d0-\\u20ff",Mo=ga+ma+Vi,No="\\u2700-\\u27bf",Vn="a-z\\xdf-\\xf6\\xf8-\\xff",ba="\\xac\\xb1\\xd7\\xf7",va="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ya="\\u2000-\\u206f",Ia=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Vo="A-Z\\xc0-\\xd6\\xd8-\\xde",Wo="\\ufe0e\\ufe0f",ri=ba+va+ya+Ia,Tu="['’]",ii="["+Ni+"]",Bu="["+ri+"]",ui="["+Mo+"]",Xo="\\d+",Ca="["+No+"]",Ho="["+Vn+"]",zo="[^"+Ni+ri+Xo+No+Vn+Vo+"]",Wi="\\ud83c[\\udffb-\\udfff]",xa="(?:"+ui+"|"+Wi+")",Zo="[^"+Ni+"]",Xi="(?:\\ud83c[\\udde6-\\uddff]){2}",Br="[\\ud800-\\udbff][\\udc00-\\udfff]",gn="["+Vo+"]",Yo="\\u200d",Jo="(?:"+Ho+"|"+zo+")",er="(?:"+gn+"|"+zo+")",jo="(?:"+Tu+"(?:d|ll|m|re|s|t|ve))?",Uo="(?:"+Tu+"(?:D|LL|M|RE|S|T|VE))?",Qo=xa+"?",qo="["+Wo+"]?",Aa="(?:"+Yo+"(?:"+[Zo,Xi,Br].join("|")+")"+qo+Qo+")*",fr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$o="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ko=qo+Qo+Aa,Hi="(?:"+[Ca,Xi,Br].join("|")+")"+Ko,wa="(?:"+[Zo+ui+"?",ui,Xi,Br,ii].join("|")+")",_u=RegExp(Tu,"g"),Sa=RegExp(ui,"g"),zi=RegExp(Wi+"(?="+Wi+")|"+wa+Ko,"g"),es=RegExp([gn+"?"+Ho+"+"+jo+"(?="+[Bu,gn,"$"].join("|")+")",er+"+"+Uo+"(?="+[Bu,gn+Jo,"$"].join("|")+")",gn+"?"+Jo+"+"+jo,gn+"+"+Uo,$o,fr,Xo,Hi].join("|"),"g"),ts=RegExp("["+Yo+Ni+Mo+Wo+"]"),oi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ns=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ea=-1,ut={};ut[Re]=ut[ke]=ut[_t]=ut[tn]=ut[Jt]=ut[En]=ut[nn]=ut[Et]=ut[hn]=!0,ut[ge]=ut[Ne]=ut[te]=ut[Ve]=ut[he]=ut[vt]=ut[Lt]=ut[Dt]=ut[ne]=ut[oe]=ut[Ge]=ut[Sn]=ut[Mt]=ut[nt]=ut[et]=!1;var it={};it[ge]=it[Ne]=it[te]=it[he]=it[Ve]=it[vt]=it[Re]=it[ke]=it[_t]=it[tn]=it[Jt]=it[ne]=it[oe]=it[Ge]=it[Sn]=it[Mt]=it[nt]=it[Qe]=it[En]=it[nn]=it[Et]=it[hn]=!0,it[Lt]=it[Dt]=it[et]=!1;var C={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},_={"&":"&","<":"<",">":">",'"':""","'":"'"},J={"&":"&","<":"<",">":">",""":'"',"'":"'"},se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,Te=parseInt,dt=typeof Ln=="object"&&Ln&&Ln.Object===Object&&Ln,Ft=typeof self=="object"&&self&&self.Object===Object&&self,Ze=dt||Ft||Function("return this")(),st=t&&!t.nodeType&&t,Ct=st&&!0&&e&&!e.nodeType&&e,rn=Ct&&Ct.exports===st,Pt=rn&&dt.process,ht=function(){try{var B=Ct&&Ct.require&&Ct.require("util").types;return B||Pt&&Pt.binding&&Pt.binding("util")}catch{}}(),jt=ht&&ht.isArrayBuffer,Wn=ht&&ht.isDate,Pn=ht&&ht.isMap,tr=ht&&ht.isRegExp,Gu=ht&&ht.isSet,si=ht&&ht.isTypedArray;function Gt(B,W,M){switch(M.length){case 0:return B.call(W);case 1:return B.call(W,M[0]);case 2:return B.call(W,M[0],M[1]);case 3:return B.call(W,M[0],M[1],M[2])}return B.apply(W,M)}function _x(B,W,M,le){for(var Fe=-1,qe=B==null?0:B.length;++Fe<qe;){var Ot=B[Fe];W(le,Ot,M(Ot),B)}return le}function On(B,W){for(var M=-1,le=B==null?0:B.length;++M<le&&W(B[M],M,B)!==!1;);return B}function Gx(B,W){for(var M=B==null?0:B.length;M--&&W(B[M],M,B)!==!1;);return B}function gp(B,W){for(var M=-1,le=B==null?0:B.length;++M<le;)if(!W(B[M],M,B))return!1;return!0}function _r(B,W){for(var M=-1,le=B==null?0:B.length,Fe=0,qe=[];++M<le;){var Ot=B[M];W(Ot,M,B)&&(qe[Fe++]=Ot)}return qe}function rs(B,W){var M=B==null?0:B.length;return!!M&&Zi(B,W,0)>-1}function Fa(B,W,M){for(var le=-1,Fe=B==null?0:B.length;++le<Fe;)if(M(W,B[le]))return!0;return!1}function pt(B,W){for(var M=-1,le=B==null?0:B.length,Fe=Array(le);++M<le;)Fe[M]=W(B[M],M,B);return Fe}function Gr(B,W){for(var M=-1,le=W.length,Fe=B.length;++M<le;)B[Fe+M]=W[M];return B}function Pa(B,W,M,le){var Fe=-1,qe=B==null?0:B.length;for(le&&qe&&(M=B[++Fe]);++Fe<qe;)M=W(M,B[Fe],Fe,B);return M}function Rx(B,W,M,le){var Fe=B==null?0:B.length;for(le&&Fe&&(M=B[--Fe]);Fe--;)M=W(M,B[Fe],Fe,B);return M}function Oa(B,W){for(var M=-1,le=B==null?0:B.length;++M<le;)if(W(B[M],M,B))return!0;return!1}var kx=Ta("length");function Lx(B){return B.split("")}function Dx(B){return B.match(ua)||[]}function mp(B,W,M){var le;return M(B,function(Fe,qe,Ot){if(W(Fe,qe,Ot))return le=qe,!1}),le}function is(B,W,M,le){for(var Fe=B.length,qe=M+(le?1:-1);le?qe--:++qe<Fe;)if(W(B[qe],qe,B))return qe;return-1}function Zi(B,W,M){return W===W?Ux(B,W,M):is(B,bp,M)}function Mx(B,W,M,le){for(var Fe=M-1,qe=B.length;++Fe<qe;)if(le(B[Fe],W))return Fe;return-1}function bp(B){return B!==B}function vp(B,W){var M=B==null?0:B.length;return M?_a(B,W)/M:E}function Ta(B){return function(W){return W==null?r:W[B]}}function Ba(B){return function(W){return B==null?r:B[W]}}function yp(B,W,M,le,Fe){return Fe(B,function(qe,Ot,lt){M=le?(le=!1,qe):W(M,qe,Ot,lt)}),M}function Nx(B,W){var M=B.length;for(B.sort(W);M--;)B[M]=B[M].value;return B}function _a(B,W){for(var M,le=-1,Fe=B.length;++le<Fe;){var qe=W(B[le]);qe!==r&&(M=M===r?qe:M+qe)}return M}function Ga(B,W){for(var M=-1,le=Array(B);++M<B;)le[M]=W(M);return le}function Vx(B,W){return pt(W,function(M){return[M,B[M]]})}function Ip(B){return B&&B.slice(0,wp(B)+1).replace(Pu,"")}function mn(B){return function(W){return B(W)}}function Ra(B,W){return pt(W,function(M){return B[M]})}function Ru(B,W){return B.has(W)}function Cp(B,W){for(var M=-1,le=B.length;++M<le&&Zi(W,B[M],0)>-1;);return M}function xp(B,W){for(var M=B.length;M--&&Zi(W,B[M],0)>-1;);return M}function Wx(B,W){for(var M=B.length,le=0;M--;)B[M]===W&&++le;return le}var Xx=Ba(C),Hx=Ba(_);function zx(B){return"\\"+se[B]}function Zx(B,W){return B==null?r:B[W]}function Yi(B){return ts.test(B)}function Yx(B){return oi.test(B)}function Jx(B){for(var W,M=[];!(W=B.next()).done;)M.push(W.value);return M}function ka(B){var W=-1,M=Array(B.size);return B.forEach(function(le,Fe){M[++W]=[Fe,le]}),M}function Ap(B,W){return function(M){return B(W(M))}}function Rr(B,W){for(var M=-1,le=B.length,Fe=0,qe=[];++M<le;){var Ot=B[M];(Ot===W||Ot===p)&&(B[M]=p,qe[Fe++]=M)}return qe}function us(B){var W=-1,M=Array(B.size);return B.forEach(function(le){M[++W]=le}),M}function jx(B){var W=-1,M=Array(B.size);return B.forEach(function(le){M[++W]=[le,le]}),M}function Ux(B,W,M){for(var le=M-1,Fe=B.length;++le<Fe;)if(B[le]===W)return le;return-1}function Qx(B,W,M){for(var le=M+1;le--;)if(B[le]===W)return le;return le}function Ji(B){return Yi(B)?$x(B):kx(B)}function Xn(B){return Yi(B)?Kx(B):Lx(B)}function wp(B){for(var W=B.length;W--&&Do.test(B.charAt(W)););return W}var qx=Ba(J);function $x(B){for(var W=zi.lastIndex=0;zi.test(B);)++W;return W}function Kx(B){return B.match(zi)||[]}function eA(B){return B.match(es)||[]}var tA=function B(W){W=W==null?Ze:ji.defaults(Ze.Object(),W,ji.pick(Ze,ns));var M=W.Array,le=W.Date,Fe=W.Error,qe=W.Function,Ot=W.Math,lt=W.Object,La=W.RegExp,nA=W.String,Tn=W.TypeError,os=M.prototype,rA=qe.prototype,Ui=lt.prototype,ss=W["__core-js_shared__"],ls=rA.toString,rt=Ui.hasOwnProperty,iA=0,Sp=function(){var n=/[^.]+$/.exec(ss&&ss.keys&&ss.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),as=Ui.toString,uA=ls.call(lt),oA=Ze._,sA=La("^"+ls.call(rt).replace(Fu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cs=rn?W.Buffer:r,kr=W.Symbol,fs=W.Uint8Array,Ep=cs?cs.allocUnsafe:r,ds=Ap(lt.getPrototypeOf,lt),Fp=lt.create,Pp=Ui.propertyIsEnumerable,hs=os.splice,Op=kr?kr.isConcatSpreadable:r,ku=kr?kr.iterator:r,li=kr?kr.toStringTag:r,ps=function(){try{var n=hi(lt,"defineProperty");return n({},"",{}),n}catch{}}(),lA=W.clearTimeout!==Ze.clearTimeout&&W.clearTimeout,aA=le&&le.now!==Ze.Date.now&&le.now,cA=W.setTimeout!==Ze.setTimeout&&W.setTimeout,gs=Ot.ceil,ms=Ot.floor,Da=lt.getOwnPropertySymbols,fA=cs?cs.isBuffer:r,Tp=W.isFinite,dA=os.join,hA=Ap(lt.keys,lt),Tt=Ot.max,Ht=Ot.min,pA=le.now,gA=W.parseInt,Bp=Ot.random,mA=os.reverse,Ma=hi(W,"DataView"),Lu=hi(W,"Map"),Na=hi(W,"Promise"),Qi=hi(W,"Set"),Du=hi(W,"WeakMap"),Mu=hi(lt,"create"),bs=Du&&new Du,qi={},bA=pi(Ma),vA=pi(Lu),yA=pi(Na),IA=pi(Qi),CA=pi(Du),vs=kr?kr.prototype:r,Nu=vs?vs.valueOf:r,_p=vs?vs.toString:r;function v(n){if(It(n)&&!Be(n)&&!(n instanceof He)){if(n instanceof Bn)return n;if(rt.call(n,"__wrapped__"))return Gg(n)}return new Bn(n)}var $i=function(){function n(){}return function(i){if(!gt(i))return{};if(Fp)return Fp(i);n.prototype=i;var s=new n;return n.prototype=r,s}}();function ys(){}function Bn(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=r}v.templateSettings={escape:Su,evaluate:Eu,interpolate:Di,variable:"",imports:{_:v}},v.prototype=ys.prototype,v.prototype.constructor=v,Bn.prototype=$i(ys.prototype),Bn.prototype.constructor=Bn;function He(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=xe,this.__views__=[]}function xA(){var n=new He(this.__wrapped__);return n.__actions__=un(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=un(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=un(this.__views__),n}function AA(){if(this.__filtered__){var n=new He(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function wA(){var n=this.__wrapped__.value(),i=this.__dir__,s=Be(n),d=i<0,m=s?n.length:0,y=Lw(0,m,this.__views__),x=y.start,O=y.end,G=O-x,z=d?O:x-1,Z=this.__iteratees__,$=Z.length,re=0,fe=Ht(G,this.__takeCount__);if(!s||!d&&m==G&&fe==G)return ng(n,this.__actions__);var Ie=[];e:for(;G--&&re<fe;){z+=i;for(var Me=-1,Ce=n[z];++Me<$;){var Xe=Z[Me],Ye=Xe.iteratee,yn=Xe.type,qt=Ye(Ce);if(yn==ue)Ce=qt;else if(!qt){if(yn==Se)continue e;break e}}Ie[re++]=Ce}return Ie}He.prototype=$i(ys.prototype),He.prototype.constructor=He;function ai(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function SA(){this.__data__=Mu?Mu(null):{},this.size=0}function EA(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}function FA(n){var i=this.__data__;if(Mu){var s=i[n];return s===f?r:s}return rt.call(i,n)?i[n]:r}function PA(n){var i=this.__data__;return Mu?i[n]!==r:rt.call(i,n)}function OA(n,i){var s=this.__data__;return this.size+=this.has(n)?0:1,s[n]=Mu&&i===r?f:i,this}ai.prototype.clear=SA,ai.prototype.delete=EA,ai.prototype.get=FA,ai.prototype.has=PA,ai.prototype.set=OA;function dr(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function TA(){this.__data__=[],this.size=0}function BA(n){var i=this.__data__,s=Is(i,n);if(s<0)return!1;var d=i.length-1;return s==d?i.pop():hs.call(i,s,1),--this.size,!0}function _A(n){var i=this.__data__,s=Is(i,n);return s<0?r:i[s][1]}function GA(n){return Is(this.__data__,n)>-1}function RA(n,i){var s=this.__data__,d=Is(s,n);return d<0?(++this.size,s.push([n,i])):s[d][1]=i,this}dr.prototype.clear=TA,dr.prototype.delete=BA,dr.prototype.get=_A,dr.prototype.has=GA,dr.prototype.set=RA;function hr(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function kA(){this.size=0,this.__data__={hash:new ai,map:new(Lu||dr),string:new ai}}function LA(n){var i=_s(this,n).delete(n);return this.size-=i?1:0,i}function DA(n){return _s(this,n).get(n)}function MA(n){return _s(this,n).has(n)}function NA(n,i){var s=_s(this,n),d=s.size;return s.set(n,i),this.size+=s.size==d?0:1,this}hr.prototype.clear=kA,hr.prototype.delete=LA,hr.prototype.get=DA,hr.prototype.has=MA,hr.prototype.set=NA;function ci(n){var i=-1,s=n==null?0:n.length;for(this.__data__=new hr;++i<s;)this.add(n[i])}function VA(n){return this.__data__.set(n,f),this}function WA(n){return this.__data__.has(n)}ci.prototype.add=ci.prototype.push=VA,ci.prototype.has=WA;function Hn(n){var i=this.__data__=new dr(n);this.size=i.size}function XA(){this.__data__=new dr,this.size=0}function HA(n){var i=this.__data__,s=i.delete(n);return this.size=i.size,s}function zA(n){return this.__data__.get(n)}function ZA(n){return this.__data__.has(n)}function YA(n,i){var s=this.__data__;if(s instanceof dr){var d=s.__data__;if(!Lu||d.length<o-1)return d.push([n,i]),this.size=++s.size,this;s=this.__data__=new hr(d)}return s.set(n,i),this.size=s.size,this}Hn.prototype.clear=XA,Hn.prototype.delete=HA,Hn.prototype.get=zA,Hn.prototype.has=ZA,Hn.prototype.set=YA;function Gp(n,i){var s=Be(n),d=!s&&gi(n),m=!s&&!d&&Vr(n),y=!s&&!d&&!m&&nu(n),x=s||d||m||y,O=x?Ga(n.length,nA):[],G=O.length;for(var z in n)(i||rt.call(n,z))&&!(x&&(z=="length"||m&&(z=="offset"||z=="parent")||y&&(z=="buffer"||z=="byteLength"||z=="byteOffset")||br(z,G)))&&O.push(z);return O}function Rp(n){var i=n.length;return i?n[Qa(0,i-1)]:r}function JA(n,i){return Gs(un(n),fi(i,0,n.length))}function jA(n){return Gs(un(n))}function Va(n,i,s){(s!==r&&!zn(n[i],s)||s===r&&!(i in n))&&pr(n,i,s)}function Vu(n,i,s){var d=n[i];(!(rt.call(n,i)&&zn(d,s))||s===r&&!(i in n))&&pr(n,i,s)}function Is(n,i){for(var s=n.length;s--;)if(zn(n[s][0],i))return s;return-1}function UA(n,i,s,d){return Lr(n,function(m,y,x){i(d,m,s(m),x)}),d}function kp(n,i){return n&&rr(i,Rt(i),n)}function QA(n,i){return n&&rr(i,sn(i),n)}function pr(n,i,s){i=="__proto__"&&ps?ps(n,i,{configurable:!0,enumerable:!0,value:s,writable:!0}):n[i]=s}function Wa(n,i){for(var s=-1,d=i.length,m=M(d),y=n==null;++s<d;)m[s]=y?r:Cc(n,i[s]);return m}function fi(n,i,s){return n===n&&(s!==r&&(n=n<=s?n:s),i!==r&&(n=n>=i?n:i)),n}function _n(n,i,s,d,m,y){var x,O=i&g,G=i&I,z=i&b;if(s&&(x=m?s(n,d,m,y):s(n)),x!==r)return x;if(!gt(n))return n;var Z=Be(n);if(Z){if(x=Mw(n),!O)return un(n,x)}else{var $=zt(n),re=$==Dt||$==Nn;if(Vr(n))return ug(n,O);if($==Ge||$==ge||re&&!m){if(x=G||re?{}:wg(n),!O)return G?Fw(n,QA(x,n)):Ew(n,kp(x,n))}else{if(!it[$])return m?n:{};x=Nw(n,$,O)}}y||(y=new Hn);var fe=y.get(n);if(fe)return fe;y.set(n,x),Kg(n)?n.forEach(function(Ce){x.add(_n(Ce,i,s,Ce,n,y))}):qg(n)&&n.forEach(function(Ce,Xe){x.set(Xe,_n(Ce,i,s,Xe,n,y))});var Ie=z?G?sc:oc:G?sn:Rt,Me=Z?r:Ie(n);return On(Me||n,function(Ce,Xe){Me&&(Xe=Ce,Ce=n[Xe]),Vu(x,Xe,_n(Ce,i,s,Xe,n,y))}),x}function qA(n){var i=Rt(n);return function(s){return Lp(s,n,i)}}function Lp(n,i,s){var d=s.length;if(n==null)return!d;for(n=lt(n);d--;){var m=s[d],y=i[m],x=n[m];if(x===r&&!(m in n)||!y(x))return!1}return!0}function Dp(n,i,s){if(typeof n!="function")throw new Tn(a);return Ju(function(){n.apply(r,s)},i)}function Wu(n,i,s,d){var m=-1,y=rs,x=!0,O=n.length,G=[],z=i.length;if(!O)return G;s&&(i=pt(i,mn(s))),d?(y=Fa,x=!1):i.length>=o&&(y=Ru,x=!1,i=new ci(i));e:for(;++m<O;){var Z=n[m],$=s==null?Z:s(Z);if(Z=d||Z!==0?Z:0,x&&$===$){for(var re=z;re--;)if(i[re]===$)continue e;G.push(Z)}else y(i,$,d)||G.push(Z)}return G}var Lr=cg(nr),Mp=cg(Ha,!0);function $A(n,i){var s=!0;return Lr(n,function(d,m,y){return s=!!i(d,m,y),s}),s}function Cs(n,i,s){for(var d=-1,m=n.length;++d<m;){var y=n[d],x=i(y);if(x!=null&&(O===r?x===x&&!vn(x):s(x,O)))var O=x,G=y}return G}function KA(n,i,s,d){var m=n.length;for(s=De(s),s<0&&(s=-s>m?0:m+s),d=d===r||d>m?m:De(d),d<0&&(d+=m),d=s>d?0:tm(d);s<d;)n[s++]=i;return n}function Np(n,i){var s=[];return Lr(n,function(d,m,y){i(d,m,y)&&s.push(d)}),s}function Nt(n,i,s,d,m){var y=-1,x=n.length;for(s||(s=Ww),m||(m=[]);++y<x;){var O=n[y];i>0&&s(O)?i>1?Nt(O,i-1,s,d,m):Gr(m,O):d||(m[m.length]=O)}return m}var Xa=fg(),Vp=fg(!0);function nr(n,i){return n&&Xa(n,i,Rt)}function Ha(n,i){return n&&Vp(n,i,Rt)}function xs(n,i){return _r(i,function(s){return vr(n[s])})}function di(n,i){i=Mr(i,n);for(var s=0,d=i.length;n!=null&&s<d;)n=n[ir(i[s++])];return s&&s==d?n:r}function Wp(n,i,s){var d=i(n);return Be(n)?d:Gr(d,s(n))}function Ut(n){return n==null?n===r?ft:ye:li&&li in lt(n)?kw(n):jw(n)}function za(n,i){return n>i}function ew(n,i){return n!=null&&rt.call(n,i)}function tw(n,i){return n!=null&&i in lt(n)}function nw(n,i,s){return n>=Ht(i,s)&&n<Tt(i,s)}function Za(n,i,s){for(var d=s?Fa:rs,m=n[0].length,y=n.length,x=y,O=M(y),G=1/0,z=[];x--;){var Z=n[x];x&&i&&(Z=pt(Z,mn(i))),G=Ht(Z.length,G),O[x]=!s&&(i||m>=120&&Z.length>=120)?new ci(x&&Z):r}Z=n[0];var $=-1,re=O[0];e:for(;++$<m&&z.length<G;){var fe=Z[$],Ie=i?i(fe):fe;if(fe=s||fe!==0?fe:0,!(re?Ru(re,Ie):d(z,Ie,s))){for(x=y;--x;){var Me=O[x];if(!(Me?Ru(Me,Ie):d(n[x],Ie,s)))continue e}re&&re.push(Ie),z.push(fe)}}return z}function rw(n,i,s,d){return nr(n,function(m,y,x){i(d,s(m),y,x)}),d}function Xu(n,i,s){i=Mr(i,n),n=Pg(n,i);var d=n==null?n:n[ir(Rn(i))];return d==null?r:Gt(d,n,s)}function Xp(n){return It(n)&&Ut(n)==ge}function iw(n){return It(n)&&Ut(n)==te}function uw(n){return It(n)&&Ut(n)==vt}function Hu(n,i,s,d,m){return n===i?!0:n==null||i==null||!It(n)&&!It(i)?n!==n&&i!==i:ow(n,i,s,d,Hu,m)}function ow(n,i,s,d,m,y){var x=Be(n),O=Be(i),G=x?Ne:zt(n),z=O?Ne:zt(i);G=G==ge?Ge:G,z=z==ge?Ge:z;var Z=G==Ge,$=z==Ge,re=G==z;if(re&&Vr(n)){if(!Vr(i))return!1;x=!0,Z=!1}if(re&&!Z)return y||(y=new Hn),x||nu(n)?Cg(n,i,s,d,m,y):Gw(n,i,G,s,d,m,y);if(!(s&S)){var fe=Z&&rt.call(n,"__wrapped__"),Ie=$&&rt.call(i,"__wrapped__");if(fe||Ie){var Me=fe?n.value():n,Ce=Ie?i.value():i;return y||(y=new Hn),m(Me,Ce,s,d,y)}}return re?(y||(y=new Hn),Rw(n,i,s,d,m,y)):!1}function sw(n){return It(n)&&zt(n)==ne}function Ya(n,i,s,d){var m=s.length,y=m,x=!d;if(n==null)return!y;for(n=lt(n);m--;){var O=s[m];if(x&&O[2]?O[1]!==n[O[0]]:!(O[0]in n))return!1}for(;++m<y;){O=s[m];var G=O[0],z=n[G],Z=O[1];if(x&&O[2]){if(z===r&&!(G in n))return!1}else{var $=new Hn;if(d)var re=d(z,Z,G,n,i,$);if(!(re===r?Hu(Z,z,S|A,d,$):re))return!1}}return!0}function Hp(n){if(!gt(n)||Hw(n))return!1;var i=vr(n)?sA:fa;return i.test(pi(n))}function lw(n){return It(n)&&Ut(n)==Sn}function aw(n){return It(n)&&zt(n)==Mt}function cw(n){return It(n)&&Ns(n.length)&&!!ut[Ut(n)]}function zp(n){return typeof n=="function"?n:n==null?ln:typeof n=="object"?Be(n)?Jp(n[0],n[1]):Yp(n):dm(n)}function Ja(n){if(!Yu(n))return hA(n);var i=[];for(var s in lt(n))rt.call(n,s)&&s!="constructor"&&i.push(s);return i}function fw(n){if(!gt(n))return Jw(n);var i=Yu(n),s=[];for(var d in n)d=="constructor"&&(i||!rt.call(n,d))||s.push(d);return s}function ja(n,i){return n<i}function Zp(n,i){var s=-1,d=on(n)?M(n.length):[];return Lr(n,function(m,y,x){d[++s]=i(m,y,x)}),d}function Yp(n){var i=ac(n);return i.length==1&&i[0][2]?Eg(i[0][0],i[0][1]):function(s){return s===n||Ya(s,n,i)}}function Jp(n,i){return fc(n)&&Sg(i)?Eg(ir(n),i):function(s){var d=Cc(s,n);return d===r&&d===i?xc(s,n):Hu(i,d,S|A)}}function As(n,i,s,d,m){n!==i&&Xa(i,function(y,x){if(m||(m=new Hn),gt(y))dw(n,i,x,s,As,d,m);else{var O=d?d(hc(n,x),y,x+"",n,i,m):r;O===r&&(O=y),Va(n,x,O)}},sn)}function dw(n,i,s,d,m,y,x){var O=hc(n,s),G=hc(i,s),z=x.get(G);if(z){Va(n,s,z);return}var Z=y?y(O,G,s+"",n,i,x):r,$=Z===r;if($){var re=Be(G),fe=!re&&Vr(G),Ie=!re&&!fe&&nu(G);Z=G,re||fe||Ie?Be(O)?Z=O:xt(O)?Z=un(O):fe?($=!1,Z=ug(G,!0)):Ie?($=!1,Z=og(G,!0)):Z=[]:ju(G)||gi(G)?(Z=O,gi(O)?Z=nm(O):(!gt(O)||vr(O))&&(Z=wg(G))):$=!1}$&&(x.set(G,Z),m(Z,G,d,y,x),x.delete(G)),Va(n,s,Z)}function jp(n,i){var s=n.length;if(s)return i+=i<0?s:0,br(i,s)?n[i]:r}function Up(n,i,s){i.length?i=pt(i,function(y){return Be(y)?function(x){return di(x,y.length===1?y[0]:y)}:y}):i=[ln];var d=-1;i=pt(i,mn(ve()));var m=Zp(n,function(y,x,O){var G=pt(i,function(z){return z(y)});return{criteria:G,index:++d,value:y}});return Nx(m,function(y,x){return Sw(y,x,s)})}function hw(n,i){return Qp(n,i,function(s,d){return xc(n,d)})}function Qp(n,i,s){for(var d=-1,m=i.length,y={};++d<m;){var x=i[d],O=di(n,x);s(O,x)&&zu(y,Mr(x,n),O)}return y}function pw(n){return function(i){return di(i,n)}}function Ua(n,i,s,d){var m=d?Mx:Zi,y=-1,x=i.length,O=n;for(n===i&&(i=un(i)),s&&(O=pt(n,mn(s)));++y<x;)for(var G=0,z=i[y],Z=s?s(z):z;(G=m(O,Z,G,d))>-1;)O!==n&&hs.call(O,G,1),hs.call(n,G,1);return n}function qp(n,i){for(var s=n?i.length:0,d=s-1;s--;){var m=i[s];if(s==d||m!==y){var y=m;br(m)?hs.call(n,m,1):Ka(n,m)}}return n}function Qa(n,i){return n+ms(Bp()*(i-n+1))}function gw(n,i,s,d){for(var m=-1,y=Tt(gs((i-n)/(s||1)),0),x=M(y);y--;)x[d?y:++m]=n,n+=s;return x}function qa(n,i){var s="";if(!n||i<1||i>Oe)return s;do i%2&&(s+=n),i=ms(i/2),i&&(n+=n);while(i);return s}function We(n,i){return pc(Fg(n,i,ln),n+"")}function mw(n){return Rp(ru(n))}function bw(n,i){var s=ru(n);return Gs(s,fi(i,0,s.length))}function zu(n,i,s,d){if(!gt(n))return n;i=Mr(i,n);for(var m=-1,y=i.length,x=y-1,O=n;O!=null&&++m<y;){var G=ir(i[m]),z=s;if(G==="__proto__"||G==="constructor"||G==="prototype")return n;if(m!=x){var Z=O[G];z=d?d(Z,G,O):r,z===r&&(z=gt(Z)?Z:br(i[m+1])?[]:{})}Vu(O,G,z),O=O[G]}return n}var $p=bs?function(n,i){return bs.set(n,i),n}:ln,vw=ps?function(n,i){return ps(n,"toString",{configurable:!0,enumerable:!1,value:wc(i),writable:!0})}:ln;function yw(n){return Gs(ru(n))}function Gn(n,i,s){var d=-1,m=n.length;i<0&&(i=-i>m?0:m+i),s=s>m?m:s,s<0&&(s+=m),m=i>s?0:s-i>>>0,i>>>=0;for(var y=M(m);++d<m;)y[d]=n[d+i];return y}function Iw(n,i){var s;return Lr(n,function(d,m,y){return s=i(d,m,y),!s}),!!s}function ws(n,i,s){var d=0,m=n==null?d:n.length;if(typeof i=="number"&&i===i&&m<=w){for(;d<m;){var y=d+m>>>1,x=n[y];x!==null&&!vn(x)&&(s?x<=i:x<i)?d=y+1:m=y}return m}return $a(n,i,ln,s)}function $a(n,i,s,d){var m=0,y=n==null?0:n.length;if(y===0)return 0;i=s(i);for(var x=i!==i,O=i===null,G=vn(i),z=i===r;m<y;){var Z=ms((m+y)/2),$=s(n[Z]),re=$!==r,fe=$===null,Ie=$===$,Me=vn($);if(x)var Ce=d||Ie;else z?Ce=Ie&&(d||re):O?Ce=Ie&&re&&(d||!fe):G?Ce=Ie&&re&&!fe&&(d||!Me):fe||Me?Ce=!1:Ce=d?$<=i:$<i;Ce?m=Z+1:y=Z}return Ht(y,Le)}function Kp(n,i){for(var s=-1,d=n.length,m=0,y=[];++s<d;){var x=n[s],O=i?i(x):x;if(!s||!zn(O,G)){var G=O;y[m++]=x===0?0:x}}return y}function eg(n){return typeof n=="number"?n:vn(n)?E:+n}function bn(n){if(typeof n=="string")return n;if(Be(n))return pt(n,bn)+"";if(vn(n))return _p?_p.call(n):"";var i=n+"";return i=="0"&&1/n==-Ee?"-0":i}function Dr(n,i,s){var d=-1,m=rs,y=n.length,x=!0,O=[],G=O;if(s)x=!1,m=Fa;else if(y>=o){var z=i?null:Bw(n);if(z)return us(z);x=!1,m=Ru,G=new ci}else G=i?[]:O;e:for(;++d<y;){var Z=n[d],$=i?i(Z):Z;if(Z=s||Z!==0?Z:0,x&&$===$){for(var re=G.length;re--;)if(G[re]===$)continue e;i&&G.push($),O.push(Z)}else m(G,$,s)||(G!==O&&G.push($),O.push(Z))}return O}function Ka(n,i){return i=Mr(i,n),n=Pg(n,i),n==null||delete n[ir(Rn(i))]}function tg(n,i,s,d){return zu(n,i,s(di(n,i)),d)}function Ss(n,i,s,d){for(var m=n.length,y=d?m:-1;(d?y--:++y<m)&&i(n[y],y,n););return s?Gn(n,d?0:y,d?y+1:m):Gn(n,d?y+1:0,d?m:y)}function ng(n,i){var s=n;return s instanceof He&&(s=s.value()),Pa(i,function(d,m){return m.func.apply(m.thisArg,Gr([d],m.args))},s)}function ec(n,i,s){var d=n.length;if(d<2)return d?Dr(n[0]):[];for(var m=-1,y=M(d);++m<d;)for(var x=n[m],O=-1;++O<d;)O!=m&&(y[m]=Wu(y[m]||x,n[O],i,s));return Dr(Nt(y,1),i,s)}function rg(n,i,s){for(var d=-1,m=n.length,y=i.length,x={};++d<m;){var O=d<y?i[d]:r;s(x,n[d],O)}return x}function tc(n){return xt(n)?n:[]}function nc(n){return typeof n=="function"?n:ln}function Mr(n,i){return Be(n)?n:fc(n,i)?[n]:_g(tt(n))}var Cw=We;function Nr(n,i,s){var d=n.length;return s=s===r?d:s,!i&&s>=d?n:Gn(n,i,s)}var ig=lA||function(n){return Ze.clearTimeout(n)};function ug(n,i){if(i)return n.slice();var s=n.length,d=Ep?Ep(s):new n.constructor(s);return n.copy(d),d}function rc(n){var i=new n.constructor(n.byteLength);return new fs(i).set(new fs(n)),i}function xw(n,i){var s=i?rc(n.buffer):n.buffer;return new n.constructor(s,n.byteOffset,n.byteLength)}function Aw(n){var i=new n.constructor(n.source,Fn.exec(n));return i.lastIndex=n.lastIndex,i}function ww(n){return Nu?lt(Nu.call(n)):{}}function og(n,i){var s=i?rc(n.buffer):n.buffer;return new n.constructor(s,n.byteOffset,n.length)}function sg(n,i){if(n!==i){var s=n!==r,d=n===null,m=n===n,y=vn(n),x=i!==r,O=i===null,G=i===i,z=vn(i);if(!O&&!z&&!y&&n>i||y&&x&&G&&!O&&!z||d&&x&&G||!s&&G||!m)return 1;if(!d&&!y&&!z&&n<i||z&&s&&m&&!d&&!y||O&&s&&m||!x&&m||!G)return-1}return 0}function Sw(n,i,s){for(var d=-1,m=n.criteria,y=i.criteria,x=m.length,O=s.length;++d<x;){var G=sg(m[d],y[d]);if(G){if(d>=O)return G;var z=s[d];return G*(z=="desc"?-1:1)}}return n.index-i.index}function lg(n,i,s,d){for(var m=-1,y=n.length,x=s.length,O=-1,G=i.length,z=Tt(y-x,0),Z=M(G+z),$=!d;++O<G;)Z[O]=i[O];for(;++m<x;)($||m<y)&&(Z[s[m]]=n[m]);for(;z--;)Z[O++]=n[m++];return Z}function ag(n,i,s,d){for(var m=-1,y=n.length,x=-1,O=s.length,G=-1,z=i.length,Z=Tt(y-O,0),$=M(Z+z),re=!d;++m<Z;)$[m]=n[m];for(var fe=m;++G<z;)$[fe+G]=i[G];for(;++x<O;)(re||m<y)&&($[fe+s[x]]=n[m++]);return $}function un(n,i){var s=-1,d=n.length;for(i||(i=M(d));++s<d;)i[s]=n[s];return i}function rr(n,i,s,d){var m=!s;s||(s={});for(var y=-1,x=i.length;++y<x;){var O=i[y],G=d?d(s[O],n[O],O,s,n):r;G===r&&(G=n[O]),m?pr(s,O,G):Vu(s,O,G)}return s}function Ew(n,i){return rr(n,cc(n),i)}function Fw(n,i){return rr(n,xg(n),i)}function Es(n,i){return function(s,d){var m=Be(s)?_x:UA,y=i?i():{};return m(s,n,ve(d,2),y)}}function Ki(n){return We(function(i,s){var d=-1,m=s.length,y=m>1?s[m-1]:r,x=m>2?s[2]:r;for(y=n.length>3&&typeof y=="function"?(m--,y):r,x&&Qt(s[0],s[1],x)&&(y=m<3?r:y,m=1),i=lt(i);++d<m;){var O=s[d];O&&n(i,O,d,y)}return i})}function cg(n,i){return function(s,d){if(s==null)return s;if(!on(s))return n(s,d);for(var m=s.length,y=i?m:-1,x=lt(s);(i?y--:++y<m)&&d(x[y],y,x)!==!1;);return s}}function fg(n){return function(i,s,d){for(var m=-1,y=lt(i),x=d(i),O=x.length;O--;){var G=x[n?O:++m];if(s(y[G],G,y)===!1)break}return i}}function Pw(n,i,s){var d=i&F,m=Zu(n);function y(){var x=this&&this!==Ze&&this instanceof y?m:n;return x.apply(d?s:this,arguments)}return y}function dg(n){return function(i){i=tt(i);var s=Yi(i)?Xn(i):r,d=s?s[0]:i.charAt(0),m=s?Nr(s,1).join(""):i.slice(1);return d[n]()+m}}function eu(n){return function(i){return Pa(cm(am(i).replace(_u,"")),n,"")}}function Zu(n){return function(){var i=arguments;switch(i.length){case 0:return new n;case 1:return new n(i[0]);case 2:return new n(i[0],i[1]);case 3:return new n(i[0],i[1],i[2]);case 4:return new n(i[0],i[1],i[2],i[3]);case 5:return new n(i[0],i[1],i[2],i[3],i[4]);case 6:return new n(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new n(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var s=$i(n.prototype),d=n.apply(s,i);return gt(d)?d:s}}function Ow(n,i,s){var d=Zu(n);function m(){for(var y=arguments.length,x=M(y),O=y,G=tu(m);O--;)x[O]=arguments[O];var z=y<3&&x[0]!==G&&x[y-1]!==G?[]:Rr(x,G);if(y-=z.length,y<s)return bg(n,i,Fs,m.placeholder,r,x,z,r,r,s-y);var Z=this&&this!==Ze&&this instanceof m?d:n;return Gt(Z,this,x)}return m}function hg(n){return function(i,s,d){var m=lt(i);if(!on(i)){var y=ve(s,3);i=Rt(i),s=function(O){return y(m[O],O,m)}}var x=n(i,s,d);return x>-1?m[y?i[x]:x]:r}}function pg(n){return mr(function(i){var s=i.length,d=s,m=Bn.prototype.thru;for(n&&i.reverse();d--;){var y=i[d];if(typeof y!="function")throw new Tn(a);if(m&&!x&&Bs(y)=="wrapper")var x=new Bn([],!0)}for(d=x?d:s;++d<s;){y=i[d];var O=Bs(y),G=O=="wrapper"?lc(y):r;G&&dc(G[0])&&G[1]==(Y|k|X|D)&&!G[4].length&&G[9]==1?x=x[Bs(G[0])].apply(x,G[3]):x=y.length==1&&dc(y)?x[O]():x.thru(y)}return function(){var z=arguments,Z=z[0];if(x&&z.length==1&&Be(Z))return x.plant(Z).value();for(var $=0,re=s?i[$].apply(this,z):Z;++$<s;)re=i[$].call(this,re);return re}})}function Fs(n,i,s,d,m,y,x,O,G,z){var Z=i&Y,$=i&F,re=i&P,fe=i&(k|N),Ie=i&j,Me=re?r:Zu(n);function Ce(){for(var Xe=arguments.length,Ye=M(Xe),yn=Xe;yn--;)Ye[yn]=arguments[yn];if(fe)var qt=tu(Ce),In=Wx(Ye,qt);if(d&&(Ye=lg(Ye,d,m,fe)),y&&(Ye=ag(Ye,y,x,fe)),Xe-=In,fe&&Xe<z){var At=Rr(Ye,qt);return bg(n,i,Fs,Ce.placeholder,s,Ye,At,O,G,z-Xe)}var Zn=$?s:this,Ir=re?Zn[n]:n;return Xe=Ye.length,O?Ye=Uw(Ye,O):Ie&&Xe>1&&Ye.reverse(),Z&&G<Xe&&(Ye.length=G),this&&this!==Ze&&this instanceof Ce&&(Ir=Me||Zu(Ir)),Ir.apply(Zn,Ye)}return Ce}function gg(n,i){return function(s,d){return rw(s,n,i(d),{})}}function Ps(n,i){return function(s,d){var m;if(s===r&&d===r)return i;if(s!==r&&(m=s),d!==r){if(m===r)return d;typeof s=="string"||typeof d=="string"?(s=bn(s),d=bn(d)):(s=eg(s),d=eg(d)),m=n(s,d)}return m}}function ic(n){return mr(function(i){return i=pt(i,mn(ve())),We(function(s){var d=this;return n(i,function(m){return Gt(m,d,s)})})})}function Os(n,i){i=i===r?" ":bn(i);var s=i.length;if(s<2)return s?qa(i,n):i;var d=qa(i,gs(n/Ji(i)));return Yi(i)?Nr(Xn(d),0,n).join(""):d.slice(0,n)}function Tw(n,i,s,d){var m=i&F,y=Zu(n);function x(){for(var O=-1,G=arguments.length,z=-1,Z=d.length,$=M(Z+G),re=this&&this!==Ze&&this instanceof x?y:n;++z<Z;)$[z]=d[z];for(;G--;)$[z++]=arguments[++O];return Gt(re,m?s:this,$)}return x}function mg(n){return function(i,s,d){return d&&typeof d!="number"&&Qt(i,s,d)&&(s=d=r),i=yr(i),s===r?(s=i,i=0):s=yr(s),d=d===r?i<s?1:-1:yr(d),gw(i,s,d,n)}}function Ts(n){return function(i,s){return typeof i=="string"&&typeof s=="string"||(i=kn(i),s=kn(s)),n(i,s)}}function bg(n,i,s,d,m,y,x,O,G,z){var Z=i&k,$=Z?x:r,re=Z?r:x,fe=Z?y:r,Ie=Z?r:y;i|=Z?X:R,i&=~(Z?R:X),i&L||(i&=~(F|P));var Me=[n,i,m,fe,$,Ie,re,O,G,z],Ce=s.apply(r,Me);return dc(n)&&Og(Ce,Me),Ce.placeholder=d,Tg(Ce,n,i)}function uc(n){var i=Ot[n];return function(s,d){if(s=kn(s),d=d==null?0:Ht(De(d),292),d&&Tp(s)){var m=(tt(s)+"e").split("e"),y=i(m[0]+"e"+(+m[1]+d));return m=(tt(y)+"e").split("e"),+(m[0]+"e"+(+m[1]-d))}return i(s)}}var Bw=Qi&&1/us(new Qi([,-0]))[1]==Ee?function(n){return new Qi(n)}:Fc;function vg(n){return function(i){var s=zt(i);return s==ne?ka(i):s==Mt?jx(i):Vx(i,n(i))}}function gr(n,i,s,d,m,y,x,O){var G=i&P;if(!G&&typeof n!="function")throw new Tn(a);var z=d?d.length:0;if(z||(i&=~(X|R),d=m=r),x=x===r?x:Tt(De(x),0),O=O===r?O:De(O),z-=m?m.length:0,i&R){var Z=d,$=m;d=m=r}var re=G?r:lc(n),fe=[n,i,s,d,m,Z,$,y,x,O];if(re&&Yw(fe,re),n=fe[0],i=fe[1],s=fe[2],d=fe[3],m=fe[4],O=fe[9]=fe[9]===r?G?0:n.length:Tt(fe[9]-z,0),!O&&i&(k|N)&&(i&=~(k|N)),!i||i==F)var Ie=Pw(n,i,s);else i==k||i==N?Ie=Ow(n,i,O):(i==X||i==(F|X))&&!m.length?Ie=Tw(n,i,s,d):Ie=Fs.apply(r,fe);var Me=re?$p:Og;return Tg(Me(Ie,fe),n,i)}function yg(n,i,s,d){return n===r||zn(n,Ui[s])&&!rt.call(d,s)?i:n}function Ig(n,i,s,d,m,y){return gt(n)&>(i)&&(y.set(i,n),As(n,i,r,Ig,y),y.delete(i)),n}function _w(n){return ju(n)?r:n}function Cg(n,i,s,d,m,y){var x=s&S,O=n.length,G=i.length;if(O!=G&&!(x&&G>O))return!1;var z=y.get(n),Z=y.get(i);if(z&&Z)return z==i&&Z==n;var $=-1,re=!0,fe=s&A?new ci:r;for(y.set(n,i),y.set(i,n);++$<O;){var Ie=n[$],Me=i[$];if(d)var Ce=x?d(Me,Ie,$,i,n,y):d(Ie,Me,$,n,i,y);if(Ce!==r){if(Ce)continue;re=!1;break}if(fe){if(!Oa(i,function(Xe,Ye){if(!Ru(fe,Ye)&&(Ie===Xe||m(Ie,Xe,s,d,y)))return fe.push(Ye)})){re=!1;break}}else if(!(Ie===Me||m(Ie,Me,s,d,y))){re=!1;break}}return y.delete(n),y.delete(i),re}function Gw(n,i,s,d,m,y,x){switch(s){case he:if(n.byteLength!=i.byteLength||n.byteOffset!=i.byteOffset)return!1;n=n.buffer,i=i.buffer;case te:return!(n.byteLength!=i.byteLength||!y(new fs(n),new fs(i)));case Ve:case vt:case oe:return zn(+n,+i);case Lt:return n.name==i.name&&n.message==i.message;case Sn:case nt:return n==i+"";case ne:var O=ka;case Mt:var G=d&S;if(O||(O=us),n.size!=i.size&&!G)return!1;var z=x.get(n);if(z)return z==i;d|=A,x.set(n,i);var Z=Cg(O(n),O(i),d,m,y,x);return x.delete(n),Z;case Qe:if(Nu)return Nu.call(n)==Nu.call(i)}return!1}function Rw(n,i,s,d,m,y){var x=s&S,O=oc(n),G=O.length,z=oc(i),Z=z.length;if(G!=Z&&!x)return!1;for(var $=G;$--;){var re=O[$];if(!(x?re in i:rt.call(i,re)))return!1}var fe=y.get(n),Ie=y.get(i);if(fe&&Ie)return fe==i&&Ie==n;var Me=!0;y.set(n,i),y.set(i,n);for(var Ce=x;++$<G;){re=O[$];var Xe=n[re],Ye=i[re];if(d)var yn=x?d(Ye,Xe,re,i,n,y):d(Xe,Ye,re,n,i,y);if(!(yn===r?Xe===Ye||m(Xe,Ye,s,d,y):yn)){Me=!1;break}Ce||(Ce=re=="constructor")}if(Me&&!Ce){var qt=n.constructor,In=i.constructor;qt!=In&&"constructor"in n&&"constructor"in i&&!(typeof qt=="function"&&qt instanceof qt&&typeof In=="function"&&In instanceof In)&&(Me=!1)}return y.delete(n),y.delete(i),Me}function mr(n){return pc(Fg(n,r,Lg),n+"")}function oc(n){return Wp(n,Rt,cc)}function sc(n){return Wp(n,sn,xg)}var lc=bs?function(n){return bs.get(n)}:Fc;function Bs(n){for(var i=n.name+"",s=qi[i],d=rt.call(qi,i)?s.length:0;d--;){var m=s[d],y=m.func;if(y==null||y==n)return m.name}return i}function tu(n){var i=rt.call(v,"placeholder")?v:n;return i.placeholder}function ve(){var n=v.iteratee||Sc;return n=n===Sc?zp:n,arguments.length?n(arguments[0],arguments[1]):n}function _s(n,i){var s=n.__data__;return Xw(i)?s[typeof i=="string"?"string":"hash"]:s.map}function ac(n){for(var i=Rt(n),s=i.length;s--;){var d=i[s],m=n[d];i[s]=[d,m,Sg(m)]}return i}function hi(n,i){var s=Zx(n,i);return Hp(s)?s:r}function kw(n){var i=rt.call(n,li),s=n[li];try{n[li]=r;var d=!0}catch{}var m=as.call(n);return d&&(i?n[li]=s:delete n[li]),m}var cc=Da?function(n){return n==null?[]:(n=lt(n),_r(Da(n),function(i){return Pp.call(n,i)}))}:Pc,xg=Da?function(n){for(var i=[];n;)Gr(i,cc(n)),n=ds(n);return i}:Pc,zt=Ut;(Ma&&zt(new Ma(new ArrayBuffer(1)))!=he||Lu&&zt(new Lu)!=ne||Na&&zt(Na.resolve())!=yt||Qi&&zt(new Qi)!=Mt||Du&&zt(new Du)!=et)&&(zt=function(n){var i=Ut(n),s=i==Ge?n.constructor:r,d=s?pi(s):"";if(d)switch(d){case bA:return he;case vA:return ne;case yA:return yt;case IA:return Mt;case CA:return et}return i});function Lw(n,i,s){for(var d=-1,m=s.length;++d<m;){var y=s[d],x=y.size;switch(y.type){case"drop":n+=x;break;case"dropRight":i-=x;break;case"take":i=Ht(i,n+x);break;case"takeRight":n=Tt(n,i-x);break}}return{start:n,end:i}}function Dw(n){var i=n.match(ar);return i?i[1].split(ia):[]}function Ag(n,i,s){i=Mr(i,n);for(var d=-1,m=i.length,y=!1;++d<m;){var x=ir(i[d]);if(!(y=n!=null&&s(n,x)))break;n=n[x]}return y||++d!=m?y:(m=n==null?0:n.length,!!m&&Ns(m)&&br(x,m)&&(Be(n)||gi(n)))}function Mw(n){var i=n.length,s=new n.constructor(i);return i&&typeof n[0]=="string"&&rt.call(n,"index")&&(s.index=n.index,s.input=n.input),s}function wg(n){return typeof n.constructor=="function"&&!Yu(n)?$i(ds(n)):{}}function Nw(n,i,s){var d=n.constructor;switch(i){case te:return rc(n);case Ve:case vt:return new d(+n);case he:return xw(n,s);case Re:case ke:case _t:case tn:case Jt:case En:case nn:case Et:case hn:return og(n,s);case ne:return new d;case oe:case nt:return new d(n);case Sn:return Aw(n);case Mt:return new d;case Qe:return ww(n)}}function Vw(n,i){var s=i.length;if(!s)return n;var d=s-1;return i[d]=(s>1?"& ":"")+i[d],i=i.join(s>2?", ":" "),n.replace(Ou,`{
|
|
22
22
|
/* [wrapped with `+i+`] */
|
|
23
|
-
`)}function Vw(n){return Te(n)||fi(n)||!!(Tp&&n&&n[Tp])}function dr(n,i){var s=typeof n;return i=i??Se,!!i&&(s=="number"||s!="symbol"&&da.test(n))&&n>-1&&n%1==0&&n<i}function Xt(n,i,s){if(!ft(s))return!1;var d=typeof i;return(d=="number"?Kt(s)&&dr(i,s.length):d=="string"&&i in s)?Ln(s[i],n):!1}function cc(n,i){if(Te(n))return!1;var s=typeof n;return s=="number"||s=="symbol"||s=="boolean"||n==null||fn(n)?!0:ea.test(n)||!$r.test(n)||i!=null&&n in it(i)}function Ww(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}function fc(n){var i=Os(n),s=v[i];if(typeof s!="function"||!(i in We.prototype))return!1;if(n===s)return!0;var d=sc(s);return!!d&&n===d[0]}function Xw(n){return!!Sp&&Sp in n}var Hw=os?hr:Pc;function Yu(n){var i=n&&n.constructor,s=typeof i=="function"&&i.prototype||Ui;return n===s}function Sg(n){return n===n&&!ft(n)}function Eg(n,i){return function(s){return s==null?!1:s[n]===i&&(i!==r||n in it(s))}}function zw(n){var i=Ls(n,function(d){return s.size===h&&s.clear(),d}),s=i.cache;return i}function Zw(n,i){var s=n[1],d=i[1],m=s|d,y=m<(F|P|J),x=d==J&&s==k||d==J&&s==N&&n[7].length<=i[8]||d==(J|N)&&i[7].length<=i[8]&&s==k;if(!(y||x))return n;d&F&&(n[2]=i[2],m|=s&F?0:D);var T=i[3];if(T){var G=n[3];n[3]=G?lg(G,T,i[4]):T,n[4]=G?Or(n[3],p):i[4]}return T=i[5],T&&(G=n[5],n[5]=G?ag(G,T,i[6]):T,n[6]=G?Or(n[5],p):i[6]),T=i[7],T&&(n[7]=T),d&J&&(n[8]=n[8]==null?i[8]:Rt(n[8],i[8])),n[9]==null&&(n[9]=i[9]),n[0]=i[0],n[1]=m,n}function Yw(n){var i=[];if(n!=null)for(var s in it(n))i.push(s);return i}function Jw(n){return ls.call(n)}function Fg(n,i,s){return i=St(i===r?n.length-1:i,0),function(){for(var d=arguments,m=-1,y=St(d.length-i,0),x=M(y);++m<y;)x[m]=d[i+m];m=-1;for(var T=M(i+1);++m<i;)T[m]=d[m];return T[i]=s(x),Ft(n,this,T)}}function Pg(n,i){return i.length<2?n:li(n,En(i,0,-1))}function Uw(n,i){for(var s=n.length,d=Rt(i.length,s),m=$t(n);d--;){var y=i[d];n[d]=dr(y,s)?m[y]:r}return n}function dc(n,i){if(!(i==="constructor"&&typeof n[i]=="function")&&i!="__proto__")return n[i]}var Tg=Bg($p),Ju=aA||function(n,i){return ze.setTimeout(n,i)},hc=Bg(bw);function Og(n,i,s){var d=i+"";return hc(n,Nw(d,jw(Lw(d),s)))}function Bg(n){var i=0,s=0;return function(){var d=hA(),m=ve-(d-s);if(s=d,m>0){if(++i>=Q)return arguments[0]}else i=0;return n.apply(r,arguments)}}function _s(n,i){var s=-1,d=n.length,m=d-1;for(i=i===r?d:i;++s<i;){var y=ja(s,m),x=n[y];n[y]=n[s],n[s]=x}return n.length=i,n}var _g=zw(function(n){var i=[];return n.charCodeAt(0)===46&&i.push(""),n.replace(ta,function(s,d,m,y){i.push(m?y.replace(oa,"$1"):d||s)}),i});function qn(n){if(typeof n=="string"||fn(n))return n;var i=n+"";return i=="0"&&1/n==-de?"-0":i}function ci(n){if(n!=null){try{return ss.call(n)}catch{}try{return n+""}catch{}}return""}function jw(n,i){return xn(Je,function(s){var d="_."+s[0];i&s[1]&&!ns(n,d)&&n.push(d)}),n.sort()}function Gg(n){if(n instanceof We)return n.clone();var i=new wn(n.__wrapped__,n.__chain__);return i.__actions__=$t(n.__actions__),i.__index__=n.__index__,i.__values__=n.__values__,i}function Qw(n,i,s){(s?Xt(n,i,s):i===r)?i=1:i=St(Re(i),0);var d=n==null?0:n.length;if(!d||i<1)return[];for(var m=0,y=0,x=M(ps(d/i));m<d;)x[y++]=En(n,m,m+=i);return x}function qw(n){for(var i=-1,s=n==null?0:n.length,d=0,m=[];++i<s;){var y=n[i];y&&(m[d++]=y)}return m}function $w(){var n=arguments.length;if(!n)return[];for(var i=M(n-1),s=arguments[0],d=n;d--;)i[d-1]=arguments[d];return Tr(Te(s)?$t(s):[s],Ot(i,1))}var Kw=Ne(function(n,i){return mt(n)?Wu(n,Ot(i,1,mt,!0)):[]}),eS=Ne(function(n,i){var s=Fn(i);return mt(s)&&(s=r),mt(n)?Wu(n,Ot(i,1,mt,!0),Ie(s,2)):[]}),tS=Ne(function(n,i){var s=Fn(i);return mt(s)&&(s=r),mt(n)?Wu(n,Ot(i,1,mt,!0),r,s):[]});function nS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:Re(i),En(n,i<0?0:i,d)):[]}function rS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:Re(i),i=d-i,En(n,0,i<0?0:i)):[]}function iS(n,i){return n&&n.length?ws(n,Ie(i,3),!0,!0):[]}function uS(n,i){return n&&n.length?ws(n,Ie(i,3),!0):[]}function oS(n,i,s,d){var m=n==null?0:n.length;return m?(s&&typeof s!="number"&&Xt(n,i,s)&&(s=0,d=m),$A(n,i,s,d)):[]}function Rg(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=s==null?0:Re(s);return m<0&&(m=St(d+m,0)),rs(n,Ie(i,3),m)}function kg(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=d-1;return s!==r&&(m=Re(s),m=s<0?St(d+m,0):Rt(m,d-1)),rs(n,Ie(i,3),m,!0)}function Lg(n){var i=n==null?0:n.length;return i?Ot(n,1):[]}function sS(n){var i=n==null?0:n.length;return i?Ot(n,de):[]}function lS(n,i){var s=n==null?0:n.length;return s?(i=i===r?1:Re(i),Ot(n,i)):[]}function aS(n){for(var i=-1,s=n==null?0:n.length,d={};++i<s;){var m=n[i];d[m[0]]=m[1]}return d}function Dg(n){return n&&n.length?n[0]:r}function cS(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=s==null?0:Re(s);return m<0&&(m=St(d+m,0)),zi(n,i,m)}function fS(n){var i=n==null?0:n.length;return i?En(n,0,-1):[]}var dS=Ne(function(n){var i=at(n,ec);return i.length&&i[0]===n[0]?za(i):[]}),hS=Ne(function(n){var i=Fn(n),s=at(n,ec);return i===Fn(s)?i=r:s.pop(),s.length&&s[0]===n[0]?za(s,Ie(i,2)):[]}),pS=Ne(function(n){var i=Fn(n),s=at(n,ec);return i=typeof i=="function"?i:r,i&&s.pop(),s.length&&s[0]===n[0]?za(s,r,i):[]});function gS(n,i){return n==null?"":fA.call(n,i)}function Fn(n){var i=n==null?0:n.length;return i?n[i-1]:r}function mS(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=d;return s!==r&&(m=Re(s),m=m<0?St(d+m,0):Rt(m,d-1)),i===i?jx(n,i,m):rs(n,bp,m,!0)}function bS(n,i){return n&&n.length?Up(n,Re(i)):r}var vS=Ne(Mg);function Mg(n,i){return n&&n.length&&i&&i.length?Ua(n,i):n}function yS(n,i,s){return n&&n.length&&i&&i.length?Ua(n,i,Ie(s,2)):n}function IS(n,i,s){return n&&n.length&&i&&i.length?Ua(n,i,r,s):n}var CS=fr(function(n,i){var s=n==null?0:n.length,d=Va(n,i);return qp(n,at(i,function(m){return dr(m,s)?+m:m}).sort(sg)),d});function xS(n,i){var s=[];if(!(n&&n.length))return s;var d=-1,m=[],y=n.length;for(i=Ie(i,3);++d<y;){var x=n[d];i(x,d,n)&&(s.push(x),m.push(d))}return qp(n,m),s}function pc(n){return n==null?n:gA.call(n)}function AS(n,i,s){var d=n==null?0:n.length;return d?(s&&typeof s!="number"&&Xt(n,i,s)?(i=0,s=d):(i=i==null?0:Re(i),s=s===r?d:Re(s)),En(n,i,s)):[]}function wS(n,i){return As(n,i)}function SS(n,i,s){return qa(n,i,Ie(s,2))}function ES(n,i){var s=n==null?0:n.length;if(s){var d=As(n,i);if(d<s&&Ln(n[d],i))return d}return-1}function FS(n,i){return As(n,i,!0)}function PS(n,i,s){return qa(n,i,Ie(s,2),!0)}function TS(n,i){var s=n==null?0:n.length;if(s){var d=As(n,i,!0)-1;if(Ln(n[d],i))return d}return-1}function OS(n){return n&&n.length?Kp(n):[]}function BS(n,i){return n&&n.length?Kp(n,Ie(i,2)):[]}function _S(n){var i=n==null?0:n.length;return i?En(n,1,i):[]}function GS(n,i,s){return n&&n.length?(i=s||i===r?1:Re(i),En(n,0,i<0?0:i)):[]}function RS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:Re(i),i=d-i,En(n,i<0?0:i,d)):[]}function kS(n,i){return n&&n.length?ws(n,Ie(i,3),!1,!0):[]}function LS(n,i){return n&&n.length?ws(n,Ie(i,3)):[]}var DS=Ne(function(n){return Gr(Ot(n,1,mt,!0))}),MS=Ne(function(n){var i=Fn(n);return mt(i)&&(i=r),Gr(Ot(n,1,mt,!0),Ie(i,2))}),NS=Ne(function(n){var i=Fn(n);return i=typeof i=="function"?i:r,Gr(Ot(n,1,mt,!0),r,i)});function VS(n){return n&&n.length?Gr(n):[]}function WS(n,i){return n&&n.length?Gr(n,Ie(i,2)):[]}function XS(n,i){return i=typeof i=="function"?i:r,n&&n.length?Gr(n,r,i):[]}function gc(n){if(!(n&&n.length))return[];var i=0;return n=Pr(n,function(s){if(mt(s))return i=St(s.length,i),!0}),_a(i,function(s){return at(n,Ta(s))})}function Ng(n,i){if(!(n&&n.length))return[];var s=gc(n);return i==null?s:at(s,function(d){return Ft(i,r,d)})}var HS=Ne(function(n,i){return mt(n)?Wu(n,i):[]}),zS=Ne(function(n){return Ka(Pr(n,mt))}),ZS=Ne(function(n){var i=Fn(n);return mt(i)&&(i=r),Ka(Pr(n,mt),Ie(i,2))}),YS=Ne(function(n){var i=Fn(n);return i=typeof i=="function"?i:r,Ka(Pr(n,mt),r,i)}),JS=Ne(gc);function US(n,i){return rg(n||[],i||[],Vu)}function jS(n,i){return rg(n||[],i||[],zu)}var QS=Ne(function(n){var i=n.length,s=i>1?n[i-1]:r;return s=typeof s=="function"?(n.pop(),s):r,Ng(n,s)});function Vg(n){var i=v(n);return i.__chain__=!0,i}function qS(n,i){return i(n),n}function Gs(n,i){return i(n)}var $S=fr(function(n){var i=n.length,s=i?n[0]:0,d=this.__wrapped__,m=function(y){return Va(y,n)};return i>1||this.__actions__.length||!(d instanceof We)||!dr(s)?this.thru(m):(d=d.slice(s,+s+(i?1:0)),d.__actions__.push({func:Gs,args:[m],thisArg:r}),new wn(d,this.__chain__).thru(function(y){return i&&!y.length&&y.push(r),y}))});function KS(){return Vg(this)}function eE(){return new wn(this.value(),this.__chain__)}function tE(){this.__values__===r&&(this.__values__=em(this.value()));var n=this.__index__>=this.__values__.length,i=n?r:this.__values__[this.__index__++];return{done:n,value:i}}function nE(){return this}function rE(n){for(var i,s=this;s instanceof vs;){var d=Gg(s);d.__index__=0,d.__values__=r,i?m.__wrapped__=d:i=d;var m=d;s=s.__wrapped__}return m.__wrapped__=n,i}function iE(){var n=this.__wrapped__;if(n instanceof We){var i=n;return this.__actions__.length&&(i=new We(this)),i=i.reverse(),i.__actions__.push({func:Gs,args:[pc],thisArg:r}),new wn(i,this.__chain__)}return this.thru(pc)}function uE(){return ng(this.__wrapped__,this.__actions__)}var oE=Ss(function(n,i,s){Ke.call(n,s)?++n[s]:ar(n,s,1)});function sE(n,i,s){var d=Te(n)?gp:qA;return s&&Xt(n,i,s)&&(i=r),d(n,Ie(i,3))}function lE(n,i){var s=Te(n)?Pr:Np;return s(n,Ie(i,3))}var aE=hg(Rg),cE=hg(kg);function fE(n,i){return Ot(Rs(n,i),1)}function dE(n,i){return Ot(Rs(n,i),de)}function hE(n,i,s){return s=s===r?1:Re(s),Ot(Rs(n,i),s)}function Wg(n,i){var s=Te(n)?xn:_r;return s(n,Ie(i,3))}function Xg(n,i){var s=Te(n)?_x:Mp;return s(n,Ie(i,3))}var pE=Ss(function(n,i,s){Ke.call(n,s)?n[s].push(i):ar(n,s,[i])});function gE(n,i,s,d){n=Kt(n)?n:nu(n),s=s&&!d?Re(s):0;var m=n.length;return s<0&&(s=St(m+s,0)),Ns(n)?s<=m&&n.indexOf(i,s)>-1:!!m&&zi(n,i,s)>-1}var mE=Ne(function(n,i,s){var d=-1,m=typeof i=="function",y=Kt(n)?M(n.length):[];return _r(n,function(x){y[++d]=m?Ft(i,x,s):Xu(x,i,s)}),y}),bE=Ss(function(n,i,s){ar(n,s,i)});function Rs(n,i){var s=Te(n)?at:Zp;return s(n,Ie(i,3))}function vE(n,i,s,d){return n==null?[]:(Te(i)||(i=i==null?[]:[i]),s=d?r:s,Te(s)||(s=s==null?[]:[s]),jp(n,i,s))}var yE=Ss(function(n,i,s){n[s?0:1].push(i)},function(){return[[],[]]});function IE(n,i,s){var d=Te(n)?Fa:yp,m=arguments.length<3;return d(n,Ie(i,4),s,m,_r)}function CE(n,i,s){var d=Te(n)?Gx:yp,m=arguments.length<3;return d(n,Ie(i,4),s,m,Mp)}function xE(n,i){var s=Te(n)?Pr:Np;return s(n,Ds(Ie(i,3)))}function AE(n){var i=Te(n)?Rp:gw;return i(n)}function wE(n,i,s){(s?Xt(n,i,s):i===r)?i=1:i=Re(i);var d=Te(n)?YA:mw;return d(n,i)}function SE(n){var i=Te(n)?JA:vw;return i(n)}function EE(n){if(n==null)return 0;if(Kt(n))return Ns(n)?Yi(n):n.length;var i=kt(n);return i==At||i==Mt?n.size:Ya(n).length}function FE(n,i,s){var d=Te(n)?Pa:yw;return s&&Xt(n,i,s)&&(i=r),d(n,Ie(i,3))}var PE=Ne(function(n,i){if(n==null)return[];var s=i.length;return s>1&&Xt(n,i[0],i[1])?i=[]:s>2&&Xt(i[0],i[1],i[2])&&(i=[i[0]]),jp(n,Ot(i,1),[])}),ks=lA||function(){return ze.Date.now()};function TE(n,i){if(typeof i!="function")throw new An(a);return n=Re(n),function(){if(--n<1)return i.apply(this,arguments)}}function Hg(n,i,s){return i=s?r:i,i=n&&i==null?n.length:i,cr(n,J,r,r,r,r,i)}function zg(n,i){var s;if(typeof i!="function")throw new An(a);return n=Re(n),function(){return--n>0&&(s=i.apply(this,arguments)),n<=1&&(i=r),s}}var mc=Ne(function(n,i,s){var d=F;if(s.length){var m=Or(s,eu(mc));d|=V}return cr(n,d,i,s,m)}),Zg=Ne(function(n,i,s){var d=F|P;if(s.length){var m=Or(s,eu(Zg));d|=V}return cr(i,d,n,s,m)});function Yg(n,i,s){i=s?r:i;var d=cr(n,k,r,r,r,r,r,i);return d.placeholder=Yg.placeholder,d}function Jg(n,i,s){i=s?r:i;var d=cr(n,L,r,r,r,r,r,i);return d.placeholder=Jg.placeholder,d}function Ug(n,i,s){var d,m,y,x,T,G,H=0,z=!1,U=!1,re=!0;if(typeof n!="function")throw new An(a);i=Pn(i)||0,ft(s)&&(z=!!s.leading,U="maxWait"in s,y=U?St(Pn(s.maxWait)||0,i):y,re="trailing"in s?!!s.trailing:re);function fe(bt){var Dn=d,gr=m;return d=m=r,H=bt,x=n.apply(gr,Dn),x}function Ce(bt){return H=bt,T=Ju(Ve,i),z?fe(bt):x}function ke(bt){var Dn=bt-G,gr=bt-H,hm=i-Dn;return U?Rt(hm,y-gr):hm}function xe(bt){var Dn=bt-G,gr=bt-H;return G===r||Dn>=i||Dn<0||U&&gr>=y}function Ve(){var bt=ks();if(xe(bt))return Ze(bt);T=Ju(Ve,ke(bt))}function Ze(bt){return T=r,re&&d?fe(bt):(d=m=r,x)}function dn(){T!==r&&ig(T),H=0,d=G=m=T=r}function Ht(){return T===r?x:Ze(ks())}function hn(){var bt=ks(),Dn=xe(bt);if(d=arguments,m=this,G=bt,Dn){if(T===r)return Ce(G);if(U)return ig(T),T=Ju(Ve,i),fe(G)}return T===r&&(T=Ju(Ve,i)),x}return hn.cancel=dn,hn.flush=Ht,hn}var OE=Ne(function(n,i){return Dp(n,1,i)}),BE=Ne(function(n,i,s){return Dp(n,Pn(i)||0,s)});function _E(n){return cr(n,j)}function Ls(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new An(a);var s=function(){var d=arguments,m=i?i.apply(this,d):d[0],y=s.cache;if(y.has(m))return y.get(m);var x=n.apply(this,d);return s.cache=y.set(m,x)||y,x};return s.cache=new(Ls.Cache||lr),s}Ls.Cache=lr;function Ds(n){if(typeof n!="function")throw new An(a);return function(){var i=arguments;switch(i.length){case 0:return!n.call(this);case 1:return!n.call(this,i[0]);case 2:return!n.call(this,i[0],i[1]);case 3:return!n.call(this,i[0],i[1],i[2])}return!n.apply(this,i)}}function GE(n){return zg(2,n)}var RE=Iw(function(n,i){i=i.length==1&&Te(i[0])?at(i[0],an(Ie())):at(Ot(i,1),an(Ie()));var s=i.length;return Ne(function(d){for(var m=-1,y=Rt(d.length,s);++m<y;)d[m]=i[m].call(this,d[m]);return Ft(n,this,d)})}),bc=Ne(function(n,i){var s=Or(i,eu(bc));return cr(n,V,r,i,s)}),jg=Ne(function(n,i){var s=Or(i,eu(jg));return cr(n,R,r,i,s)}),kE=fr(function(n,i){return cr(n,N,r,r,r,i)});function LE(n,i){if(typeof n!="function")throw new An(a);return i=i===r?i:Re(i),Ne(n,i)}function DE(n,i){if(typeof n!="function")throw new An(a);return i=i==null?0:St(Re(i),0),Ne(function(s){var d=s[i],m=kr(s,0,i);return d&&Tr(m,d),Ft(n,this,m)})}function ME(n,i,s){var d=!0,m=!0;if(typeof n!="function")throw new An(a);return ft(s)&&(d="leading"in s?!!s.leading:d,m="trailing"in s?!!s.trailing:m),Ug(n,i,{leading:d,maxWait:i,trailing:m})}function NE(n){return Hg(n,1)}function VE(n,i){return bc(tc(i),n)}function WE(){if(!arguments.length)return[];var n=arguments[0];return Te(n)?n:[n]}function XE(n){return Sn(n,b)}function HE(n,i){return i=typeof i=="function"?i:r,Sn(n,b,i)}function zE(n){return Sn(n,g|b)}function ZE(n,i){return i=typeof i=="function"?i:r,Sn(n,g|b,i)}function YE(n,i){return i==null||Lp(n,i,Pt(i))}function Ln(n,i){return n===i||n!==n&&i!==i}var JE=Ts(Ha),UE=Ts(function(n,i){return n>=i}),fi=Xp(function(){return arguments}())?Xp:function(n){return pt(n)&&Ke.call(n,"callee")&&!Pp.call(n,"callee")},Te=M.isArray,jE=Vt?an(Vt):rw;function Kt(n){return n!=null&&Ms(n.length)&&!hr(n)}function mt(n){return pt(n)&&Kt(n)}function QE(n){return n===!0||n===!1||pt(n)&&Wt(n)==ee}var Lr=cA||Pc,qE=Gn?an(Gn):iw;function $E(n){return pt(n)&&n.nodeType===1&&!Uu(n)}function KE(n){if(n==null)return!0;if(Kt(n)&&(Te(n)||typeof n=="string"||typeof n.splice=="function"||Lr(n)||tu(n)||fi(n)))return!n.length;var i=kt(n);if(i==At||i==Mt)return!n.size;if(Yu(n))return!Ya(n).length;for(var s in n)if(Ke.call(n,s))return!1;return!0}function e2(n,i){return Hu(n,i)}function t2(n,i,s){s=typeof s=="function"?s:r;var d=s?s(n,i):r;return d===r?Hu(n,i,r,s):!!d}function vc(n){if(!pt(n))return!1;var i=Wt(n);return i==Me||i==ye||typeof n.message=="string"&&typeof n.name=="string"&&!Uu(n)}function n2(n){return typeof n=="number"&&Op(n)}function hr(n){if(!ft(n))return!1;var i=Wt(n);return i==ct||i==Gt||i==yt||i==ki}function Qg(n){return typeof n=="number"&&n==Re(n)}function Ms(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=Se}function ft(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}function pt(n){return n!=null&&typeof n=="object"}var qg=Cn?an(Cn):ow;function r2(n,i){return n===i||Za(n,i,lc(i))}function i2(n,i,s){return s=typeof s=="function"?s:r,Za(n,i,lc(i),s)}function u2(n){return $g(n)&&n!=+n}function o2(n){if(Hw(n))throw new Ee(l);return Hp(n)}function s2(n){return n===null}function l2(n){return n==null}function $g(n){return typeof n=="number"||pt(n)&&Wt(n)==vn}function Uu(n){if(!pt(n)||Wt(n)!=Ut)return!1;var i=fs(n);if(i===null)return!0;var s=Ke.call(i,"constructor")&&i.constructor;return typeof s=="function"&&s instanceof s&&ss.call(s)==iA}var yc=Un?an(Un):sw;function a2(n){return Qg(n)&&n>=-Se&&n<=Se}var Kg=Gu?an(Gu):lw;function Ns(n){return typeof n=="string"||!Te(n)&&pt(n)&&Wt(n)==tr}function fn(n){return typeof n=="symbol"||pt(n)&&Wt(n)==Er}var tu=ri?an(ri):aw;function c2(n){return n===r}function f2(n){return pt(n)&&kt(n)==nr}function d2(n){return pt(n)&&Wt(n)==X}var h2=Ts(Ja),p2=Ts(function(n,i){return n<=i});function em(n){if(!n)return[];if(Kt(n))return Ns(n)?Rn(n):$t(n);if(ku&&n[ku])return Yx(n[ku]());var i=kt(n),s=i==At?Ra:i==Mt?is:nu;return s(n)}function pr(n){if(!n)return n===0?n:0;if(n=Pn(n),n===de||n===-de){var i=n<0?-1:1;return i*qe}return n===n?n:0}function Re(n){var i=pr(n),s=i%1;return i===i?s?i-s:i:0}function tm(n){return n?si(Re(n),0,He):0}function Pn(n){if(typeof n=="number")return n;if(fn(n))return S;if(ft(n)){var i=typeof n.valueOf=="function"?n.valueOf():n;n=ft(i)?i+"":i}if(typeof n!="string")return n===0?n:+n;n=Ip(n);var s=aa.test(n);return s||fa.test(n)?Pe(n.slice(2),s?2:8):la.test(n)?S:+n}function nm(n){return Qn(n,en(n))}function g2(n){return n?si(Re(n),-Se,Se):n===0?n:0}function $e(n){return n==null?"":cn(n)}var m2=$i(function(n,i){if(Yu(i)||Kt(i)){Qn(i,Pt(i),n);return}for(var s in i)Ke.call(i,s)&&Vu(n,s,i[s])}),rm=$i(function(n,i){Qn(i,en(i),n)}),Vs=$i(function(n,i,s,d){Qn(i,en(i),n,d)}),b2=$i(function(n,i,s,d){Qn(i,Pt(i),n,d)}),v2=fr(Va);function y2(n,i){var s=qi(n);return i==null?s:kp(s,i)}var I2=Ne(function(n,i){n=it(n);var s=-1,d=i.length,m=d>2?i[2]:r;for(m&&Xt(i[0],i[1],m)&&(d=1);++s<d;)for(var y=i[s],x=en(y),T=-1,G=x.length;++T<G;){var H=x[T],z=n[H];(z===r||Ln(z,Ui[H])&&!Ke.call(n,H))&&(n[H]=y[H])}return n}),C2=Ne(function(n){return n.push(r,Ig),Ft(im,r,n)});function x2(n,i){return mp(n,Ie(i,3),jn)}function A2(n,i){return mp(n,Ie(i,3),Xa)}function w2(n,i){return n==null?n:Wa(n,Ie(i,3),en)}function S2(n,i){return n==null?n:Vp(n,Ie(i,3),en)}function E2(n,i){return n&&jn(n,Ie(i,3))}function F2(n,i){return n&&Xa(n,Ie(i,3))}function P2(n){return n==null?[]:Cs(n,Pt(n))}function T2(n){return n==null?[]:Cs(n,en(n))}function Ic(n,i,s){var d=n==null?r:li(n,i);return d===r?s:d}function O2(n,i){return n!=null&&Ag(n,i,KA)}function Cc(n,i){return n!=null&&Ag(n,i,ew)}var B2=gg(function(n,i,s){i!=null&&typeof i.toString!="function"&&(i=ls.call(i)),n[i]=s},Ac(tn)),_2=gg(function(n,i,s){i!=null&&typeof i.toString!="function"&&(i=ls.call(i)),Ke.call(n,i)?n[i].push(s):n[i]=[s]},Ie),G2=Ne(Xu);function Pt(n){return Kt(n)?Gp(n):Ya(n)}function en(n){return Kt(n)?Gp(n,!0):cw(n)}function R2(n,i){var s={};return i=Ie(i,3),jn(n,function(d,m,y){ar(s,i(d,m,y),d)}),s}function k2(n,i){var s={};return i=Ie(i,3),jn(n,function(d,m,y){ar(s,m,i(d,m,y))}),s}var L2=$i(function(n,i,s){xs(n,i,s)}),im=$i(function(n,i,s,d){xs(n,i,s,d)}),D2=fr(function(n,i){var s={};if(n==null)return s;var d=!1;i=at(i,function(y){return y=Rr(y,n),d||(d=y.length>1),y}),Qn(n,oc(n),s),d&&(s=Sn(s,g|I|b,Bw));for(var m=i.length;m--;)$a(s,i[m]);return s});function M2(n,i){return um(n,Ds(Ie(i)))}var N2=fr(function(n,i){return n==null?{}:dw(n,i)});function um(n,i){if(n==null)return{};var s=at(oc(n),function(d){return[d]});return i=Ie(i),Qp(n,s,function(d,m){return i(d,m[0])})}function V2(n,i,s){i=Rr(i,n);var d=-1,m=i.length;for(m||(m=1,n=r);++d<m;){var y=n==null?r:n[qn(i[d])];y===r&&(d=m,y=s),n=hr(y)?y.call(n):y}return n}function W2(n,i,s){return n==null?n:zu(n,i,s)}function X2(n,i,s,d){return d=typeof d=="function"?d:r,n==null?n:zu(n,i,s,d)}var om=vg(Pt),sm=vg(en);function H2(n,i,s){var d=Te(n),m=d||Lr(n)||tu(n);if(i=Ie(i,4),s==null){var y=n&&n.constructor;m?s=d?new y:[]:ft(n)?s=hr(y)?qi(fs(n)):{}:s={}}return(m?xn:jn)(n,function(x,T,G){return i(s,x,T,G)}),s}function z2(n,i){return n==null?!0:$a(n,i)}function Z2(n,i,s){return n==null?n:tg(n,i,tc(s))}function Y2(n,i,s,d){return d=typeof d=="function"?d:r,n==null?n:tg(n,i,tc(s),d)}function nu(n){return n==null?[]:Ga(n,Pt(n))}function J2(n){return n==null?[]:Ga(n,en(n))}function U2(n,i,s){return s===r&&(s=i,i=r),s!==r&&(s=Pn(s),s=s===s?s:0),i!==r&&(i=Pn(i),i=i===i?i:0),si(Pn(n),i,s)}function j2(n,i,s){return i=pr(i),s===r?(s=i,i=0):s=pr(s),n=Pn(n),tw(n,i,s)}function Q2(n,i,s){if(s&&typeof s!="boolean"&&Xt(n,i,s)&&(i=s=r),s===r&&(typeof i=="boolean"?(s=i,i=r):typeof n=="boolean"&&(s=n,n=r)),n===r&&i===r?(n=0,i=1):(n=pr(n),i===r?(i=n,n=0):i=pr(i)),n>i){var d=n;n=i,i=d}if(s||n%1||i%1){var m=Bp();return Rt(n+m*(i-n+nt("1e-"+((m+"").length-1))),i)}return ja(n,i)}var q2=Ki(function(n,i,s){return i=i.toLowerCase(),n+(s?lm(i):i)});function lm(n){return xc($e(n).toLowerCase())}function am(n){return n=$e(n),n&&n.replace(ur,Wx).replace(wa,"")}function $2(n,i,s){n=$e(n),i=cn(i);var d=n.length;s=s===r?d:si(Re(s),0,d);var m=s;return s-=i.length,s>=0&&n.slice(s,m)==i}function K2(n){return n=$e(n),n&&qr.test(n)?n.replace(ko,Xx):n}function eF(n){return n=$e(n),n&&na.test(n)?n.replace(Fu,"\\$&"):n}var tF=Ki(function(n,i,s){return n+(s?"-":"")+i.toLowerCase()}),nF=Ki(function(n,i,s){return n+(s?" ":"")+i.toLowerCase()}),rF=dg("toLowerCase");function iF(n,i,s){n=$e(n),i=Re(i);var d=i?Yi(n):0;if(!i||d>=i)return n;var m=(i-d)/2;return Ps(gs(m),s)+n+Ps(ps(m),s)}function uF(n,i,s){n=$e(n),i=Re(i);var d=i?Yi(n):0;return i&&d<i?n+Ps(i-d,s):n}function oF(n,i,s){n=$e(n),i=Re(i);var d=i?Yi(n):0;return i&&d<i?Ps(i-d,s)+n:n}function sF(n,i,s){return s||i==null?i=0:i&&(i=+i),pA($e(n).replace(Pu,""),i||0)}function lF(n,i,s){return(s?Xt(n,i,s):i===r)?i=1:i=Re(i),Qa($e(n),i)}function aF(){var n=arguments,i=$e(n[0]);return n.length<3?i:i.replace(n[1],n[2])}var cF=Ki(function(n,i,s){return n+(s?"_":"")+i.toLowerCase()});function fF(n,i,s){return s&&typeof s!="number"&&Xt(n,i,s)&&(i=s=r),s=s===r?He:s>>>0,s?(n=$e(n),n&&(typeof i=="string"||i!=null&&!yc(i))&&(i=cn(i),!i&&Zi(n))?kr(Rn(n),0,s):n.split(i,s)):[]}var dF=Ki(function(n,i,s){return n+(s?" ":"")+xc(i)});function hF(n,i,s){return n=$e(n),s=s==null?0:si(Re(s),0,n.length),i=cn(i),n.slice(s,s+i.length)==i}function pF(n,i,s){var d=v.templateSettings;s&&Xt(n,i,s)&&(i=r),n=$e(n),i=Vs({},i,d,yg);var m=Vs({},i.imports,d.imports,yg),y=Pt(m),x=Ga(m,y),T,G,H=0,z=i.interpolate||Di,U="__p += '",re=ka((i.escape||Di).source+"|"+z.source+"|"+(z===Li?sa:Di).source+"|"+(i.evaluate||Di).source+"|$","g"),fe="//# sourceURL="+(Ke.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Sa+"]")+`
|
|
24
|
-
`;n.replace(re,function(
|
|
25
|
-
__e(`+
|
|
26
|
-
'`),
|
|
27
|
-
`+
|
|
28
|
-
__p += '`),
|
|
29
|
-
((__t = (`+
|
|
30
|
-
'`),
|
|
31
|
-
`;var
|
|
32
|
-
|
|
23
|
+
`)}function Ww(n){return Be(n)||gi(n)||!!(Op&&n&&n[Op])}function br(n,i){var s=typeof n;return i=i??Oe,!!i&&(s=="number"||s!="symbol"&&ha.test(n))&&n>-1&&n%1==0&&n<i}function Qt(n,i,s){if(!gt(s))return!1;var d=typeof i;return(d=="number"?on(s)&&br(i,s.length):d=="string"&&i in s)?zn(s[i],n):!1}function fc(n,i){if(Be(n))return!1;var s=typeof n;return s=="number"||s=="symbol"||s=="boolean"||n==null||vn(n)?!0:ta.test(n)||!ni.test(n)||i!=null&&n in lt(i)}function Xw(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}function dc(n){var i=Bs(n),s=v[i];if(typeof s!="function"||!(i in He.prototype))return!1;if(n===s)return!0;var d=lc(s);return!!d&&n===d[0]}function Hw(n){return!!Sp&&Sp in n}var zw=ss?vr:Oc;function Yu(n){var i=n&&n.constructor,s=typeof i=="function"&&i.prototype||Ui;return n===s}function Sg(n){return n===n&&!gt(n)}function Eg(n,i){return function(s){return s==null?!1:s[n]===i&&(i!==r||n in lt(s))}}function Zw(n){var i=Ds(n,function(d){return s.size===h&&s.clear(),d}),s=i.cache;return i}function Yw(n,i){var s=n[1],d=i[1],m=s|d,y=m<(F|P|Y),x=d==Y&&s==k||d==Y&&s==D&&n[7].length<=i[8]||d==(Y|D)&&i[7].length<=i[8]&&s==k;if(!(y||x))return n;d&F&&(n[2]=i[2],m|=s&F?0:L);var O=i[3];if(O){var G=n[3];n[3]=G?lg(G,O,i[4]):O,n[4]=G?Rr(n[3],p):i[4]}return O=i[5],O&&(G=n[5],n[5]=G?ag(G,O,i[6]):O,n[6]=G?Rr(n[5],p):i[6]),O=i[7],O&&(n[7]=O),d&Y&&(n[8]=n[8]==null?i[8]:Ht(n[8],i[8])),n[9]==null&&(n[9]=i[9]),n[0]=i[0],n[1]=m,n}function Jw(n){var i=[];if(n!=null)for(var s in lt(n))i.push(s);return i}function jw(n){return as.call(n)}function Fg(n,i,s){return i=Tt(i===r?n.length-1:i,0),function(){for(var d=arguments,m=-1,y=Tt(d.length-i,0),x=M(y);++m<y;)x[m]=d[i+m];m=-1;for(var O=M(i+1);++m<i;)O[m]=d[m];return O[i]=s(x),Gt(n,this,O)}}function Pg(n,i){return i.length<2?n:di(n,Gn(i,0,-1))}function Uw(n,i){for(var s=n.length,d=Ht(i.length,s),m=un(n);d--;){var y=i[d];n[d]=br(y,s)?m[y]:r}return n}function hc(n,i){if(!(i==="constructor"&&typeof n[i]=="function")&&i!="__proto__")return n[i]}var Og=Bg($p),Ju=cA||function(n,i){return Ze.setTimeout(n,i)},pc=Bg(vw);function Tg(n,i,s){var d=i+"";return pc(n,Vw(d,Qw(Dw(d),s)))}function Bg(n){var i=0,s=0;return function(){var d=pA(),m=be-(d-s);if(s=d,m>0){if(++i>=q)return arguments[0]}else i=0;return n.apply(r,arguments)}}function Gs(n,i){var s=-1,d=n.length,m=d-1;for(i=i===r?d:i;++s<i;){var y=Qa(s,m),x=n[y];n[y]=n[s],n[s]=x}return n.length=i,n}var _g=Zw(function(n){var i=[];return n.charCodeAt(0)===46&&i.push(""),n.replace(na,function(s,d,m,y){i.push(m?y.replace(sa,"$1"):d||s)}),i});function ir(n){if(typeof n=="string"||vn(n))return n;var i=n+"";return i=="0"&&1/n==-Ee?"-0":i}function pi(n){if(n!=null){try{return ls.call(n)}catch{}try{return n+""}catch{}}return""}function Qw(n,i){return On(je,function(s){var d="_."+s[0];i&s[1]&&!rs(n,d)&&n.push(d)}),n.sort()}function Gg(n){if(n instanceof He)return n.clone();var i=new Bn(n.__wrapped__,n.__chain__);return i.__actions__=un(n.__actions__),i.__index__=n.__index__,i.__values__=n.__values__,i}function qw(n,i,s){(s?Qt(n,i,s):i===r)?i=1:i=Tt(De(i),0);var d=n==null?0:n.length;if(!d||i<1)return[];for(var m=0,y=0,x=M(gs(d/i));m<d;)x[y++]=Gn(n,m,m+=i);return x}function $w(n){for(var i=-1,s=n==null?0:n.length,d=0,m=[];++i<s;){var y=n[i];y&&(m[d++]=y)}return m}function Kw(){var n=arguments.length;if(!n)return[];for(var i=M(n-1),s=arguments[0],d=n;d--;)i[d-1]=arguments[d];return Gr(Be(s)?un(s):[s],Nt(i,1))}var eS=We(function(n,i){return xt(n)?Wu(n,Nt(i,1,xt,!0)):[]}),tS=We(function(n,i){var s=Rn(i);return xt(s)&&(s=r),xt(n)?Wu(n,Nt(i,1,xt,!0),ve(s,2)):[]}),nS=We(function(n,i){var s=Rn(i);return xt(s)&&(s=r),xt(n)?Wu(n,Nt(i,1,xt,!0),r,s):[]});function rS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:De(i),Gn(n,i<0?0:i,d)):[]}function iS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:De(i),i=d-i,Gn(n,0,i<0?0:i)):[]}function uS(n,i){return n&&n.length?Ss(n,ve(i,3),!0,!0):[]}function oS(n,i){return n&&n.length?Ss(n,ve(i,3),!0):[]}function sS(n,i,s,d){var m=n==null?0:n.length;return m?(s&&typeof s!="number"&&Qt(n,i,s)&&(s=0,d=m),KA(n,i,s,d)):[]}function Rg(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=s==null?0:De(s);return m<0&&(m=Tt(d+m,0)),is(n,ve(i,3),m)}function kg(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=d-1;return s!==r&&(m=De(s),m=s<0?Tt(d+m,0):Ht(m,d-1)),is(n,ve(i,3),m,!0)}function Lg(n){var i=n==null?0:n.length;return i?Nt(n,1):[]}function lS(n){var i=n==null?0:n.length;return i?Nt(n,Ee):[]}function aS(n,i){var s=n==null?0:n.length;return s?(i=i===r?1:De(i),Nt(n,i)):[]}function cS(n){for(var i=-1,s=n==null?0:n.length,d={};++i<s;){var m=n[i];d[m[0]]=m[1]}return d}function Dg(n){return n&&n.length?n[0]:r}function fS(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=s==null?0:De(s);return m<0&&(m=Tt(d+m,0)),Zi(n,i,m)}function dS(n){var i=n==null?0:n.length;return i?Gn(n,0,-1):[]}var hS=We(function(n){var i=pt(n,tc);return i.length&&i[0]===n[0]?Za(i):[]}),pS=We(function(n){var i=Rn(n),s=pt(n,tc);return i===Rn(s)?i=r:s.pop(),s.length&&s[0]===n[0]?Za(s,ve(i,2)):[]}),gS=We(function(n){var i=Rn(n),s=pt(n,tc);return i=typeof i=="function"?i:r,i&&s.pop(),s.length&&s[0]===n[0]?Za(s,r,i):[]});function mS(n,i){return n==null?"":dA.call(n,i)}function Rn(n){var i=n==null?0:n.length;return i?n[i-1]:r}function bS(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=d;return s!==r&&(m=De(s),m=m<0?Tt(d+m,0):Ht(m,d-1)),i===i?Qx(n,i,m):is(n,bp,m,!0)}function vS(n,i){return n&&n.length?jp(n,De(i)):r}var yS=We(Mg);function Mg(n,i){return n&&n.length&&i&&i.length?Ua(n,i):n}function IS(n,i,s){return n&&n.length&&i&&i.length?Ua(n,i,ve(s,2)):n}function CS(n,i,s){return n&&n.length&&i&&i.length?Ua(n,i,r,s):n}var xS=mr(function(n,i){var s=n==null?0:n.length,d=Wa(n,i);return qp(n,pt(i,function(m){return br(m,s)?+m:m}).sort(sg)),d});function AS(n,i){var s=[];if(!(n&&n.length))return s;var d=-1,m=[],y=n.length;for(i=ve(i,3);++d<y;){var x=n[d];i(x,d,n)&&(s.push(x),m.push(d))}return qp(n,m),s}function gc(n){return n==null?n:mA.call(n)}function wS(n,i,s){var d=n==null?0:n.length;return d?(s&&typeof s!="number"&&Qt(n,i,s)?(i=0,s=d):(i=i==null?0:De(i),s=s===r?d:De(s)),Gn(n,i,s)):[]}function SS(n,i){return ws(n,i)}function ES(n,i,s){return $a(n,i,ve(s,2))}function FS(n,i){var s=n==null?0:n.length;if(s){var d=ws(n,i);if(d<s&&zn(n[d],i))return d}return-1}function PS(n,i){return ws(n,i,!0)}function OS(n,i,s){return $a(n,i,ve(s,2),!0)}function TS(n,i){var s=n==null?0:n.length;if(s){var d=ws(n,i,!0)-1;if(zn(n[d],i))return d}return-1}function BS(n){return n&&n.length?Kp(n):[]}function _S(n,i){return n&&n.length?Kp(n,ve(i,2)):[]}function GS(n){var i=n==null?0:n.length;return i?Gn(n,1,i):[]}function RS(n,i,s){return n&&n.length?(i=s||i===r?1:De(i),Gn(n,0,i<0?0:i)):[]}function kS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:De(i),i=d-i,Gn(n,i<0?0:i,d)):[]}function LS(n,i){return n&&n.length?Ss(n,ve(i,3),!1,!0):[]}function DS(n,i){return n&&n.length?Ss(n,ve(i,3)):[]}var MS=We(function(n){return Dr(Nt(n,1,xt,!0))}),NS=We(function(n){var i=Rn(n);return xt(i)&&(i=r),Dr(Nt(n,1,xt,!0),ve(i,2))}),VS=We(function(n){var i=Rn(n);return i=typeof i=="function"?i:r,Dr(Nt(n,1,xt,!0),r,i)});function WS(n){return n&&n.length?Dr(n):[]}function XS(n,i){return n&&n.length?Dr(n,ve(i,2)):[]}function HS(n,i){return i=typeof i=="function"?i:r,n&&n.length?Dr(n,r,i):[]}function mc(n){if(!(n&&n.length))return[];var i=0;return n=_r(n,function(s){if(xt(s))return i=Tt(s.length,i),!0}),Ga(i,function(s){return pt(n,Ta(s))})}function Ng(n,i){if(!(n&&n.length))return[];var s=mc(n);return i==null?s:pt(s,function(d){return Gt(i,r,d)})}var zS=We(function(n,i){return xt(n)?Wu(n,i):[]}),ZS=We(function(n){return ec(_r(n,xt))}),YS=We(function(n){var i=Rn(n);return xt(i)&&(i=r),ec(_r(n,xt),ve(i,2))}),JS=We(function(n){var i=Rn(n);return i=typeof i=="function"?i:r,ec(_r(n,xt),r,i)}),jS=We(mc);function US(n,i){return rg(n||[],i||[],Vu)}function QS(n,i){return rg(n||[],i||[],zu)}var qS=We(function(n){var i=n.length,s=i>1?n[i-1]:r;return s=typeof s=="function"?(n.pop(),s):r,Ng(n,s)});function Vg(n){var i=v(n);return i.__chain__=!0,i}function $S(n,i){return i(n),n}function Rs(n,i){return i(n)}var KS=mr(function(n){var i=n.length,s=i?n[0]:0,d=this.__wrapped__,m=function(y){return Wa(y,n)};return i>1||this.__actions__.length||!(d instanceof He)||!br(s)?this.thru(m):(d=d.slice(s,+s+(i?1:0)),d.__actions__.push({func:Rs,args:[m],thisArg:r}),new Bn(d,this.__chain__).thru(function(y){return i&&!y.length&&y.push(r),y}))});function eE(){return Vg(this)}function tE(){return new Bn(this.value(),this.__chain__)}function nE(){this.__values__===r&&(this.__values__=em(this.value()));var n=this.__index__>=this.__values__.length,i=n?r:this.__values__[this.__index__++];return{done:n,value:i}}function rE(){return this}function iE(n){for(var i,s=this;s instanceof ys;){var d=Gg(s);d.__index__=0,d.__values__=r,i?m.__wrapped__=d:i=d;var m=d;s=s.__wrapped__}return m.__wrapped__=n,i}function uE(){var n=this.__wrapped__;if(n instanceof He){var i=n;return this.__actions__.length&&(i=new He(this)),i=i.reverse(),i.__actions__.push({func:Rs,args:[gc],thisArg:r}),new Bn(i,this.__chain__)}return this.thru(gc)}function oE(){return ng(this.__wrapped__,this.__actions__)}var sE=Es(function(n,i,s){rt.call(n,s)?++n[s]:pr(n,s,1)});function lE(n,i,s){var d=Be(n)?gp:$A;return s&&Qt(n,i,s)&&(i=r),d(n,ve(i,3))}function aE(n,i){var s=Be(n)?_r:Np;return s(n,ve(i,3))}var cE=hg(Rg),fE=hg(kg);function dE(n,i){return Nt(ks(n,i),1)}function hE(n,i){return Nt(ks(n,i),Ee)}function pE(n,i,s){return s=s===r?1:De(s),Nt(ks(n,i),s)}function Wg(n,i){var s=Be(n)?On:Lr;return s(n,ve(i,3))}function Xg(n,i){var s=Be(n)?Gx:Mp;return s(n,ve(i,3))}var gE=Es(function(n,i,s){rt.call(n,s)?n[s].push(i):pr(n,s,[i])});function mE(n,i,s,d){n=on(n)?n:ru(n),s=s&&!d?De(s):0;var m=n.length;return s<0&&(s=Tt(m+s,0)),Vs(n)?s<=m&&n.indexOf(i,s)>-1:!!m&&Zi(n,i,s)>-1}var bE=We(function(n,i,s){var d=-1,m=typeof i=="function",y=on(n)?M(n.length):[];return Lr(n,function(x){y[++d]=m?Gt(i,x,s):Xu(x,i,s)}),y}),vE=Es(function(n,i,s){pr(n,s,i)});function ks(n,i){var s=Be(n)?pt:Zp;return s(n,ve(i,3))}function yE(n,i,s,d){return n==null?[]:(Be(i)||(i=i==null?[]:[i]),s=d?r:s,Be(s)||(s=s==null?[]:[s]),Up(n,i,s))}var IE=Es(function(n,i,s){n[s?0:1].push(i)},function(){return[[],[]]});function CE(n,i,s){var d=Be(n)?Pa:yp,m=arguments.length<3;return d(n,ve(i,4),s,m,Lr)}function xE(n,i,s){var d=Be(n)?Rx:yp,m=arguments.length<3;return d(n,ve(i,4),s,m,Mp)}function AE(n,i){var s=Be(n)?_r:Np;return s(n,Ms(ve(i,3)))}function wE(n){var i=Be(n)?Rp:mw;return i(n)}function SE(n,i,s){(s?Qt(n,i,s):i===r)?i=1:i=De(i);var d=Be(n)?JA:bw;return d(n,i)}function EE(n){var i=Be(n)?jA:yw;return i(n)}function FE(n){if(n==null)return 0;if(on(n))return Vs(n)?Ji(n):n.length;var i=zt(n);return i==ne||i==Mt?n.size:Ja(n).length}function PE(n,i,s){var d=Be(n)?Oa:Iw;return s&&Qt(n,i,s)&&(i=r),d(n,ve(i,3))}var OE=We(function(n,i){if(n==null)return[];var s=i.length;return s>1&&Qt(n,i[0],i[1])?i=[]:s>2&&Qt(i[0],i[1],i[2])&&(i=[i[0]]),Up(n,Nt(i,1),[])}),Ls=aA||function(){return Ze.Date.now()};function TE(n,i){if(typeof i!="function")throw new Tn(a);return n=De(n),function(){if(--n<1)return i.apply(this,arguments)}}function Hg(n,i,s){return i=s?r:i,i=n&&i==null?n.length:i,gr(n,Y,r,r,r,r,i)}function zg(n,i){var s;if(typeof i!="function")throw new Tn(a);return n=De(n),function(){return--n>0&&(s=i.apply(this,arguments)),n<=1&&(i=r),s}}var bc=We(function(n,i,s){var d=F;if(s.length){var m=Rr(s,tu(bc));d|=X}return gr(n,d,i,s,m)}),Zg=We(function(n,i,s){var d=F|P;if(s.length){var m=Rr(s,tu(Zg));d|=X}return gr(i,d,n,s,m)});function Yg(n,i,s){i=s?r:i;var d=gr(n,k,r,r,r,r,r,i);return d.placeholder=Yg.placeholder,d}function Jg(n,i,s){i=s?r:i;var d=gr(n,N,r,r,r,r,r,i);return d.placeholder=Jg.placeholder,d}function jg(n,i,s){var d,m,y,x,O,G,z=0,Z=!1,$=!1,re=!0;if(typeof n!="function")throw new Tn(a);i=kn(i)||0,gt(s)&&(Z=!!s.leading,$="maxWait"in s,y=$?Tt(kn(s.maxWait)||0,i):y,re="trailing"in s?!!s.trailing:re);function fe(At){var Zn=d,Ir=m;return d=m=r,z=At,x=n.apply(Ir,Zn),x}function Ie(At){return z=At,O=Ju(Xe,i),Z?fe(At):x}function Me(At){var Zn=At-G,Ir=At-z,hm=i-Zn;return $?Ht(hm,y-Ir):hm}function Ce(At){var Zn=At-G,Ir=At-z;return G===r||Zn>=i||Zn<0||$&&Ir>=y}function Xe(){var At=Ls();if(Ce(At))return Ye(At);O=Ju(Xe,Me(At))}function Ye(At){return O=r,re&&d?fe(At):(d=m=r,x)}function yn(){O!==r&&ig(O),z=0,d=G=m=O=r}function qt(){return O===r?x:Ye(Ls())}function In(){var At=Ls(),Zn=Ce(At);if(d=arguments,m=this,G=At,Zn){if(O===r)return Ie(G);if($)return ig(O),O=Ju(Xe,i),fe(G)}return O===r&&(O=Ju(Xe,i)),x}return In.cancel=yn,In.flush=qt,In}var BE=We(function(n,i){return Dp(n,1,i)}),_E=We(function(n,i,s){return Dp(n,kn(i)||0,s)});function GE(n){return gr(n,j)}function Ds(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new Tn(a);var s=function(){var d=arguments,m=i?i.apply(this,d):d[0],y=s.cache;if(y.has(m))return y.get(m);var x=n.apply(this,d);return s.cache=y.set(m,x)||y,x};return s.cache=new(Ds.Cache||hr),s}Ds.Cache=hr;function Ms(n){if(typeof n!="function")throw new Tn(a);return function(){var i=arguments;switch(i.length){case 0:return!n.call(this);case 1:return!n.call(this,i[0]);case 2:return!n.call(this,i[0],i[1]);case 3:return!n.call(this,i[0],i[1],i[2])}return!n.apply(this,i)}}function RE(n){return zg(2,n)}var kE=Cw(function(n,i){i=i.length==1&&Be(i[0])?pt(i[0],mn(ve())):pt(Nt(i,1),mn(ve()));var s=i.length;return We(function(d){for(var m=-1,y=Ht(d.length,s);++m<y;)d[m]=i[m].call(this,d[m]);return Gt(n,this,d)})}),vc=We(function(n,i){var s=Rr(i,tu(vc));return gr(n,X,r,i,s)}),Ug=We(function(n,i){var s=Rr(i,tu(Ug));return gr(n,R,r,i,s)}),LE=mr(function(n,i){return gr(n,D,r,r,r,i)});function DE(n,i){if(typeof n!="function")throw new Tn(a);return i=i===r?i:De(i),We(n,i)}function ME(n,i){if(typeof n!="function")throw new Tn(a);return i=i==null?0:Tt(De(i),0),We(function(s){var d=s[i],m=Nr(s,0,i);return d&&Gr(m,d),Gt(n,this,m)})}function NE(n,i,s){var d=!0,m=!0;if(typeof n!="function")throw new Tn(a);return gt(s)&&(d="leading"in s?!!s.leading:d,m="trailing"in s?!!s.trailing:m),jg(n,i,{leading:d,maxWait:i,trailing:m})}function VE(n){return Hg(n,1)}function WE(n,i){return vc(nc(i),n)}function XE(){if(!arguments.length)return[];var n=arguments[0];return Be(n)?n:[n]}function HE(n){return _n(n,b)}function zE(n,i){return i=typeof i=="function"?i:r,_n(n,b,i)}function ZE(n){return _n(n,g|b)}function YE(n,i){return i=typeof i=="function"?i:r,_n(n,g|b,i)}function JE(n,i){return i==null||Lp(n,i,Rt(i))}function zn(n,i){return n===i||n!==n&&i!==i}var jE=Ts(za),UE=Ts(function(n,i){return n>=i}),gi=Xp(function(){return arguments}())?Xp:function(n){return It(n)&&rt.call(n,"callee")&&!Pp.call(n,"callee")},Be=M.isArray,QE=jt?mn(jt):iw;function on(n){return n!=null&&Ns(n.length)&&!vr(n)}function xt(n){return It(n)&&on(n)}function qE(n){return n===!0||n===!1||It(n)&&Ut(n)==Ve}var Vr=fA||Oc,$E=Wn?mn(Wn):uw;function KE(n){return It(n)&&n.nodeType===1&&!ju(n)}function e2(n){if(n==null)return!0;if(on(n)&&(Be(n)||typeof n=="string"||typeof n.splice=="function"||Vr(n)||nu(n)||gi(n)))return!n.length;var i=zt(n);if(i==ne||i==Mt)return!n.size;if(Yu(n))return!Ja(n).length;for(var s in n)if(rt.call(n,s))return!1;return!0}function t2(n,i){return Hu(n,i)}function n2(n,i,s){s=typeof s=="function"?s:r;var d=s?s(n,i):r;return d===r?Hu(n,i,r,s):!!d}function yc(n){if(!It(n))return!1;var i=Ut(n);return i==Lt||i==Xt||typeof n.message=="string"&&typeof n.name=="string"&&!ju(n)}function r2(n){return typeof n=="number"&&Tp(n)}function vr(n){if(!gt(n))return!1;var i=Ut(n);return i==Dt||i==Nn||i==St||i==Bt}function Qg(n){return typeof n=="number"&&n==De(n)}function Ns(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=Oe}function gt(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}function It(n){return n!=null&&typeof n=="object"}var qg=Pn?mn(Pn):sw;function i2(n,i){return n===i||Ya(n,i,ac(i))}function u2(n,i,s){return s=typeof s=="function"?s:r,Ya(n,i,ac(i),s)}function o2(n){return $g(n)&&n!=+n}function s2(n){if(zw(n))throw new Fe(l);return Hp(n)}function l2(n){return n===null}function a2(n){return n==null}function $g(n){return typeof n=="number"||It(n)&&Ut(n)==oe}function ju(n){if(!It(n)||Ut(n)!=Ge)return!1;var i=ds(n);if(i===null)return!0;var s=rt.call(i,"constructor")&&i.constructor;return typeof s=="function"&&s instanceof s&&ls.call(s)==uA}var Ic=tr?mn(tr):lw;function c2(n){return Qg(n)&&n>=-Oe&&n<=Oe}var Kg=Gu?mn(Gu):aw;function Vs(n){return typeof n=="string"||!Be(n)&&It(n)&&Ut(n)==nt}function vn(n){return typeof n=="symbol"||It(n)&&Ut(n)==Qe}var nu=si?mn(si):cw;function f2(n){return n===r}function d2(n){return It(n)&&zt(n)==et}function h2(n){return It(n)&&Ut(n)==V}var p2=Ts(ja),g2=Ts(function(n,i){return n<=i});function em(n){if(!n)return[];if(on(n))return Vs(n)?Xn(n):un(n);if(ku&&n[ku])return Jx(n[ku]());var i=zt(n),s=i==ne?ka:i==Mt?us:ru;return s(n)}function yr(n){if(!n)return n===0?n:0;if(n=kn(n),n===Ee||n===-Ee){var i=n<0?-1:1;return i*Ke}return n===n?n:0}function De(n){var i=yr(n),s=i%1;return i===i?s?i-s:i:0}function tm(n){return n?fi(De(n),0,xe):0}function kn(n){if(typeof n=="number")return n;if(vn(n))return E;if(gt(n)){var i=typeof n.valueOf=="function"?n.valueOf():n;n=gt(i)?i+"":i}if(typeof n!="string")return n===0?n:+n;n=Ip(n);var s=ca.test(n);return s||da.test(n)?Te(n.slice(2),s?2:8):aa.test(n)?E:+n}function nm(n){return rr(n,sn(n))}function m2(n){return n?fi(De(n),-Oe,Oe):n===0?n:0}function tt(n){return n==null?"":bn(n)}var b2=Ki(function(n,i){if(Yu(i)||on(i)){rr(i,Rt(i),n);return}for(var s in i)rt.call(i,s)&&Vu(n,s,i[s])}),rm=Ki(function(n,i){rr(i,sn(i),n)}),Ws=Ki(function(n,i,s,d){rr(i,sn(i),n,d)}),v2=Ki(function(n,i,s,d){rr(i,Rt(i),n,d)}),y2=mr(Wa);function I2(n,i){var s=$i(n);return i==null?s:kp(s,i)}var C2=We(function(n,i){n=lt(n);var s=-1,d=i.length,m=d>2?i[2]:r;for(m&&Qt(i[0],i[1],m)&&(d=1);++s<d;)for(var y=i[s],x=sn(y),O=-1,G=x.length;++O<G;){var z=x[O],Z=n[z];(Z===r||zn(Z,Ui[z])&&!rt.call(n,z))&&(n[z]=y[z])}return n}),x2=We(function(n){return n.push(r,Ig),Gt(im,r,n)});function A2(n,i){return mp(n,ve(i,3),nr)}function w2(n,i){return mp(n,ve(i,3),Ha)}function S2(n,i){return n==null?n:Xa(n,ve(i,3),sn)}function E2(n,i){return n==null?n:Vp(n,ve(i,3),sn)}function F2(n,i){return n&&nr(n,ve(i,3))}function P2(n,i){return n&&Ha(n,ve(i,3))}function O2(n){return n==null?[]:xs(n,Rt(n))}function T2(n){return n==null?[]:xs(n,sn(n))}function Cc(n,i,s){var d=n==null?r:di(n,i);return d===r?s:d}function B2(n,i){return n!=null&&Ag(n,i,ew)}function xc(n,i){return n!=null&&Ag(n,i,tw)}var _2=gg(function(n,i,s){i!=null&&typeof i.toString!="function"&&(i=as.call(i)),n[i]=s},wc(ln)),G2=gg(function(n,i,s){i!=null&&typeof i.toString!="function"&&(i=as.call(i)),rt.call(n,i)?n[i].push(s):n[i]=[s]},ve),R2=We(Xu);function Rt(n){return on(n)?Gp(n):Ja(n)}function sn(n){return on(n)?Gp(n,!0):fw(n)}function k2(n,i){var s={};return i=ve(i,3),nr(n,function(d,m,y){pr(s,i(d,m,y),d)}),s}function L2(n,i){var s={};return i=ve(i,3),nr(n,function(d,m,y){pr(s,m,i(d,m,y))}),s}var D2=Ki(function(n,i,s){As(n,i,s)}),im=Ki(function(n,i,s,d){As(n,i,s,d)}),M2=mr(function(n,i){var s={};if(n==null)return s;var d=!1;i=pt(i,function(y){return y=Mr(y,n),d||(d=y.length>1),y}),rr(n,sc(n),s),d&&(s=_n(s,g|I|b,_w));for(var m=i.length;m--;)Ka(s,i[m]);return s});function N2(n,i){return um(n,Ms(ve(i)))}var V2=mr(function(n,i){return n==null?{}:hw(n,i)});function um(n,i){if(n==null)return{};var s=pt(sc(n),function(d){return[d]});return i=ve(i),Qp(n,s,function(d,m){return i(d,m[0])})}function W2(n,i,s){i=Mr(i,n);var d=-1,m=i.length;for(m||(m=1,n=r);++d<m;){var y=n==null?r:n[ir(i[d])];y===r&&(d=m,y=s),n=vr(y)?y.call(n):y}return n}function X2(n,i,s){return n==null?n:zu(n,i,s)}function H2(n,i,s,d){return d=typeof d=="function"?d:r,n==null?n:zu(n,i,s,d)}var om=vg(Rt),sm=vg(sn);function z2(n,i,s){var d=Be(n),m=d||Vr(n)||nu(n);if(i=ve(i,4),s==null){var y=n&&n.constructor;m?s=d?new y:[]:gt(n)?s=vr(y)?$i(ds(n)):{}:s={}}return(m?On:nr)(n,function(x,O,G){return i(s,x,O,G)}),s}function Z2(n,i){return n==null?!0:Ka(n,i)}function Y2(n,i,s){return n==null?n:tg(n,i,nc(s))}function J2(n,i,s,d){return d=typeof d=="function"?d:r,n==null?n:tg(n,i,nc(s),d)}function ru(n){return n==null?[]:Ra(n,Rt(n))}function j2(n){return n==null?[]:Ra(n,sn(n))}function U2(n,i,s){return s===r&&(s=i,i=r),s!==r&&(s=kn(s),s=s===s?s:0),i!==r&&(i=kn(i),i=i===i?i:0),fi(kn(n),i,s)}function Q2(n,i,s){return i=yr(i),s===r?(s=i,i=0):s=yr(s),n=kn(n),nw(n,i,s)}function q2(n,i,s){if(s&&typeof s!="boolean"&&Qt(n,i,s)&&(i=s=r),s===r&&(typeof i=="boolean"?(s=i,i=r):typeof n=="boolean"&&(s=n,n=r)),n===r&&i===r?(n=0,i=1):(n=yr(n),i===r?(i=n,n=0):i=yr(i)),n>i){var d=n;n=i,i=d}if(s||n%1||i%1){var m=Bp();return Ht(n+m*(i-n+ot("1e-"+((m+"").length-1))),i)}return Qa(n,i)}var $2=eu(function(n,i,s){return i=i.toLowerCase(),n+(s?lm(i):i)});function lm(n){return Ac(tt(n).toLowerCase())}function am(n){return n=tt(n),n&&n.replace(cr,Xx).replace(Sa,"")}function K2(n,i,s){n=tt(n),i=bn(i);var d=n.length;s=s===r?d:fi(De(s),0,d);var m=s;return s-=i.length,s>=0&&n.slice(s,m)==i}function eF(n){return n=tt(n),n&&ti.test(n)?n.replace(Lo,Hx):n}function tF(n){return n=tt(n),n&&ra.test(n)?n.replace(Fu,"\\$&"):n}var nF=eu(function(n,i,s){return n+(s?"-":"")+i.toLowerCase()}),rF=eu(function(n,i,s){return n+(s?" ":"")+i.toLowerCase()}),iF=dg("toLowerCase");function uF(n,i,s){n=tt(n),i=De(i);var d=i?Ji(n):0;if(!i||d>=i)return n;var m=(i-d)/2;return Os(ms(m),s)+n+Os(gs(m),s)}function oF(n,i,s){n=tt(n),i=De(i);var d=i?Ji(n):0;return i&&d<i?n+Os(i-d,s):n}function sF(n,i,s){n=tt(n),i=De(i);var d=i?Ji(n):0;return i&&d<i?Os(i-d,s)+n:n}function lF(n,i,s){return s||i==null?i=0:i&&(i=+i),gA(tt(n).replace(Pu,""),i||0)}function aF(n,i,s){return(s?Qt(n,i,s):i===r)?i=1:i=De(i),qa(tt(n),i)}function cF(){var n=arguments,i=tt(n[0]);return n.length<3?i:i.replace(n[1],n[2])}var fF=eu(function(n,i,s){return n+(s?"_":"")+i.toLowerCase()});function dF(n,i,s){return s&&typeof s!="number"&&Qt(n,i,s)&&(i=s=r),s=s===r?xe:s>>>0,s?(n=tt(n),n&&(typeof i=="string"||i!=null&&!Ic(i))&&(i=bn(i),!i&&Yi(n))?Nr(Xn(n),0,s):n.split(i,s)):[]}var hF=eu(function(n,i,s){return n+(s?" ":"")+Ac(i)});function pF(n,i,s){return n=tt(n),s=s==null?0:fi(De(s),0,n.length),i=bn(i),n.slice(s,s+i.length)==i}function gF(n,i,s){var d=v.templateSettings;s&&Qt(n,i,s)&&(i=r),n=tt(n),i=Ws({},i,d,yg);var m=Ws({},i.imports,d.imports,yg),y=Rt(m),x=Ra(m,y),O,G,z=0,Z=i.interpolate||Mi,$="__p += '",re=La((i.escape||Mi).source+"|"+Z.source+"|"+(Z===Di?la:Mi).source+"|"+(i.evaluate||Mi).source+"|$","g"),fe="//# sourceURL="+(rt.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ea+"]")+`
|
|
24
|
+
`;n.replace(re,function(Ce,Xe,Ye,yn,qt,In){return Ye||(Ye=yn),$+=n.slice(z,In).replace(pa,zx),Xe&&(O=!0,$+=`' +
|
|
25
|
+
__e(`+Xe+`) +
|
|
26
|
+
'`),qt&&(G=!0,$+=`';
|
|
27
|
+
`+qt+`;
|
|
28
|
+
__p += '`),Ye&&($+=`' +
|
|
29
|
+
((__t = (`+Ye+`)) == null ? '' : __t) +
|
|
30
|
+
'`),z=In+Ce.length,Ce}),$+=`';
|
|
31
|
+
`;var Ie=rt.call(i,"variable")&&i.variable;if(!Ie)$=`with (obj) {
|
|
32
|
+
`+$+`
|
|
33
33
|
}
|
|
34
|
-
`;else if(
|
|
35
|
-
`+(
|
|
36
|
-
`)+"var __t, __p = ''"+(
|
|
34
|
+
`;else if(oa.test(Ie))throw new Fe(c);$=(G?$.replace(pn,""):$).replace(lr,"$1").replace(Ro,"$1;"),$="function("+(Ie||"obj")+`) {
|
|
35
|
+
`+(Ie?"":`obj || (obj = {});
|
|
36
|
+
`)+"var __t, __p = ''"+(O?", __e = _.escape":"")+(G?`, __j = Array.prototype.join;
|
|
37
37
|
function print() { __p += __j.call(arguments, '') }
|
|
38
38
|
`:`;
|
|
39
|
-
`)
|
|
40
|
-
}`;var ke=fm(function(){return je(y,fe+"return "+U).apply(r,x)});if(ke.source=U,vc(ke))throw ke;return ke}function gF(n){return $e(n).toLowerCase()}function mF(n){return $e(n).toUpperCase()}function bF(n,i,s){if(n=$e(n),n&&(s||i===r))return Ip(n);if(!n||!(i=cn(i)))return n;var d=Rn(n),m=Rn(i),y=Cp(d,m),x=xp(d,m)+1;return kr(d,y,x).join("")}function vF(n,i,s){if(n=$e(n),n&&(s||i===r))return n.slice(0,wp(n)+1);if(!n||!(i=cn(i)))return n;var d=Rn(n),m=xp(d,Rn(i))+1;return kr(d,0,m).join("")}function yF(n,i,s){if(n=$e(n),n&&(s||i===r))return n.replace(Pu,"");if(!n||!(i=cn(i)))return n;var d=Rn(n),m=Cp(d,Rn(i));return kr(d,m).join("")}function IF(n,i){var s=ne,d=$;if(ft(i)){var m="separator"in i?i.separator:m;s="length"in i?Re(i.length):s,d="omission"in i?cn(i.omission):d}n=$e(n);var y=n.length;if(Zi(n)){var x=Rn(n);y=x.length}if(s>=y)return n;var T=s-Yi(d);if(T<1)return d;var G=x?kr(x,0,T).join(""):n.slice(0,T);if(m===r)return G+d;if(x&&(T+=G.length-T),yc(m)){if(n.slice(T).search(m)){var H,z=G;for(m.global||(m=ka(m.source,$e(In.exec(m))+"g")),m.lastIndex=0;H=m.exec(z);)var U=H.index;G=G.slice(0,U===r?T:U)}}else if(n.indexOf(cn(m),T)!=T){var re=G.lastIndexOf(m);re>-1&&(G=G.slice(0,re))}return G+d}function CF(n){return n=$e(n),n&&wu.test(n)?n.replace(Ro,Qx):n}var xF=Ki(function(n,i,s){return n+(s?" ":"")+i.toUpperCase()}),xc=dg("toUpperCase");function cm(n,i,s){return n=$e(n),i=s?r:i,i===r?Zx(n)?Kx(n):Lx(n):n.match(i)||[]}var fm=Ne(function(n,i){try{return Ft(n,r,i)}catch(s){return vc(s)?s:new Ee(s)}}),AF=fr(function(n,i){return xn(i,function(s){s=qn(s),ar(n,s,mc(n[s],n))}),n});function wF(n){var i=n==null?0:n.length,s=Ie();return n=i?at(n,function(d){if(typeof d[1]!="function")throw new An(a);return[s(d[0]),d[1]]}):[],Ne(function(d){for(var m=-1;++m<i;){var y=n[m];if(Ft(y[0],this,d))return Ft(y[1],this,d)}})}function SF(n){return QA(Sn(n,g))}function Ac(n){return function(){return n}}function EF(n,i){return n==null||n!==n?i:n}var FF=pg(),PF=pg(!0);function tn(n){return n}function wc(n){return zp(typeof n=="function"?n:Sn(n,g))}function TF(n){return Yp(Sn(n,g))}function OF(n,i){return Jp(n,Sn(i,g))}var BF=Ne(function(n,i){return function(s){return Xu(s,n,i)}}),_F=Ne(function(n,i){return function(s){return Xu(n,s,i)}});function Sc(n,i,s){var d=Pt(i),m=Cs(i,d);s==null&&!(ft(i)&&(m.length||!d.length))&&(s=i,i=n,n=this,m=Cs(i,Pt(i)));var y=!(ft(s)&&"chain"in s)||!!s.chain,x=hr(n);return xn(m,function(T){var G=i[T];n[T]=G,x&&(n.prototype[T]=function(){var H=this.__chain__;if(y||H){var z=n(this.__wrapped__),U=z.__actions__=$t(this.__actions__);return U.push({func:G,args:arguments,thisArg:n}),z.__chain__=H,z}return G.apply(n,Tr([this.value()],arguments))})}),n}function GF(){return ze._===this&&(ze._=uA),this}function Ec(){}function RF(n){return n=Re(n),Ne(function(i){return Up(i,n)})}var kF=rc(at),LF=rc(gp),DF=rc(Pa);function dm(n){return cc(n)?Ta(qn(n)):hw(n)}function MF(n){return function(i){return n==null?r:li(n,i)}}var NF=mg(),VF=mg(!0);function Fc(){return[]}function Pc(){return!1}function WF(){return{}}function XF(){return""}function HF(){return!0}function zF(n,i){if(n=Re(n),n<1||n>Se)return[];var s=He,d=Rt(n,He);i=Ie(i),n-=He;for(var m=_a(d,i);++s<n;)i(s);return m}function ZF(n){return Te(n)?at(n,qn):fn(n)?[n]:$t(_g($e(n)))}function YF(n){var i=++rA;return $e(n)+i}var JF=Fs(function(n,i){return n+i},0),UF=ic("ceil"),jF=Fs(function(n,i){return n/i},1),QF=ic("floor");function qF(n){return n&&n.length?Is(n,tn,Ha):r}function $F(n,i){return n&&n.length?Is(n,Ie(i,2),Ha):r}function KF(n){return vp(n,tn)}function eP(n,i){return vp(n,Ie(i,2))}function tP(n){return n&&n.length?Is(n,tn,Ja):r}function nP(n,i){return n&&n.length?Is(n,Ie(i,2),Ja):r}var rP=Fs(function(n,i){return n*i},1),iP=ic("round"),uP=Fs(function(n,i){return n-i},0);function oP(n){return n&&n.length?Ba(n,tn):0}function sP(n,i){return n&&n.length?Ba(n,Ie(i,2)):0}return v.after=TE,v.ary=Hg,v.assign=m2,v.assignIn=rm,v.assignInWith=Vs,v.assignWith=b2,v.at=v2,v.before=zg,v.bind=mc,v.bindAll=AF,v.bindKey=Zg,v.castArray=WE,v.chain=Vg,v.chunk=Qw,v.compact=qw,v.concat=$w,v.cond=wF,v.conforms=SF,v.constant=Ac,v.countBy=oE,v.create=y2,v.curry=Yg,v.curryRight=Jg,v.debounce=Ug,v.defaults=I2,v.defaultsDeep=C2,v.defer=OE,v.delay=BE,v.difference=Kw,v.differenceBy=eS,v.differenceWith=tS,v.drop=nS,v.dropRight=rS,v.dropRightWhile=iS,v.dropWhile=uS,v.fill=oS,v.filter=lE,v.flatMap=fE,v.flatMapDeep=dE,v.flatMapDepth=hE,v.flatten=Lg,v.flattenDeep=sS,v.flattenDepth=lS,v.flip=_E,v.flow=FF,v.flowRight=PF,v.fromPairs=aS,v.functions=P2,v.functionsIn=T2,v.groupBy=pE,v.initial=fS,v.intersection=dS,v.intersectionBy=hS,v.intersectionWith=pS,v.invert=B2,v.invertBy=_2,v.invokeMap=mE,v.iteratee=wc,v.keyBy=bE,v.keys=Pt,v.keysIn=en,v.map=Rs,v.mapKeys=R2,v.mapValues=k2,v.matches=TF,v.matchesProperty=OF,v.memoize=Ls,v.merge=L2,v.mergeWith=im,v.method=BF,v.methodOf=_F,v.mixin=Sc,v.negate=Ds,v.nthArg=RF,v.omit=D2,v.omitBy=M2,v.once=GE,v.orderBy=vE,v.over=kF,v.overArgs=RE,v.overEvery=LF,v.overSome=DF,v.partial=bc,v.partialRight=jg,v.partition=yE,v.pick=N2,v.pickBy=um,v.property=dm,v.propertyOf=MF,v.pull=vS,v.pullAll=Mg,v.pullAllBy=yS,v.pullAllWith=IS,v.pullAt=CS,v.range=NF,v.rangeRight=VF,v.rearg=kE,v.reject=xE,v.remove=xS,v.rest=LE,v.reverse=pc,v.sampleSize=wE,v.set=W2,v.setWith=X2,v.shuffle=SE,v.slice=AS,v.sortBy=PE,v.sortedUniq=OS,v.sortedUniqBy=BS,v.split=fF,v.spread=DE,v.tail=_S,v.take=GS,v.takeRight=RS,v.takeRightWhile=kS,v.takeWhile=LS,v.tap=qS,v.throttle=ME,v.thru=Gs,v.toArray=em,v.toPairs=om,v.toPairsIn=sm,v.toPath=ZF,v.toPlainObject=nm,v.transform=H2,v.unary=NE,v.union=DS,v.unionBy=MS,v.unionWith=NS,v.uniq=VS,v.uniqBy=WS,v.uniqWith=XS,v.unset=z2,v.unzip=gc,v.unzipWith=Ng,v.update=Z2,v.updateWith=Y2,v.values=nu,v.valuesIn=J2,v.without=HS,v.words=cm,v.wrap=VE,v.xor=zS,v.xorBy=ZS,v.xorWith=YS,v.zip=JS,v.zipObject=US,v.zipObjectDeep=jS,v.zipWith=QS,v.entries=om,v.entriesIn=sm,v.extend=rm,v.extendWith=Vs,Sc(v,v),v.add=JF,v.attempt=fm,v.camelCase=q2,v.capitalize=lm,v.ceil=UF,v.clamp=U2,v.clone=XE,v.cloneDeep=zE,v.cloneDeepWith=ZE,v.cloneWith=HE,v.conformsTo=YE,v.deburr=am,v.defaultTo=EF,v.divide=jF,v.endsWith=$2,v.eq=Ln,v.escape=K2,v.escapeRegExp=eF,v.every=sE,v.find=aE,v.findIndex=Rg,v.findKey=x2,v.findLast=cE,v.findLastIndex=kg,v.findLastKey=A2,v.floor=QF,v.forEach=Wg,v.forEachRight=Xg,v.forIn=w2,v.forInRight=S2,v.forOwn=E2,v.forOwnRight=F2,v.get=Ic,v.gt=JE,v.gte=UE,v.has=O2,v.hasIn=Cc,v.head=Dg,v.identity=tn,v.includes=gE,v.indexOf=cS,v.inRange=j2,v.invoke=G2,v.isArguments=fi,v.isArray=Te,v.isArrayBuffer=jE,v.isArrayLike=Kt,v.isArrayLikeObject=mt,v.isBoolean=QE,v.isBuffer=Lr,v.isDate=qE,v.isElement=$E,v.isEmpty=KE,v.isEqual=e2,v.isEqualWith=t2,v.isError=vc,v.isFinite=n2,v.isFunction=hr,v.isInteger=Qg,v.isLength=Ms,v.isMap=qg,v.isMatch=r2,v.isMatchWith=i2,v.isNaN=u2,v.isNative=o2,v.isNil=l2,v.isNull=s2,v.isNumber=$g,v.isObject=ft,v.isObjectLike=pt,v.isPlainObject=Uu,v.isRegExp=yc,v.isSafeInteger=a2,v.isSet=Kg,v.isString=Ns,v.isSymbol=fn,v.isTypedArray=tu,v.isUndefined=c2,v.isWeakMap=f2,v.isWeakSet=d2,v.join=gS,v.kebabCase=tF,v.last=Fn,v.lastIndexOf=mS,v.lowerCase=nF,v.lowerFirst=rF,v.lt=h2,v.lte=p2,v.max=qF,v.maxBy=$F,v.mean=KF,v.meanBy=eP,v.min=tP,v.minBy=nP,v.stubArray=Fc,v.stubFalse=Pc,v.stubObject=WF,v.stubString=XF,v.stubTrue=HF,v.multiply=rP,v.nth=bS,v.noConflict=GF,v.noop=Ec,v.now=ks,v.pad=iF,v.padEnd=uF,v.padStart=oF,v.parseInt=sF,v.random=Q2,v.reduce=IE,v.reduceRight=CE,v.repeat=lF,v.replace=aF,v.result=V2,v.round=iP,v.runInContext=B,v.sample=AE,v.size=EE,v.snakeCase=cF,v.some=FE,v.sortedIndex=wS,v.sortedIndexBy=SS,v.sortedIndexOf=ES,v.sortedLastIndex=FS,v.sortedLastIndexBy=PS,v.sortedLastIndexOf=TS,v.startCase=dF,v.startsWith=hF,v.subtract=uP,v.sum=oP,v.sumBy=sP,v.template=pF,v.times=zF,v.toFinite=pr,v.toInteger=Re,v.toLength=tm,v.toLower=gF,v.toNumber=Pn,v.toSafeInteger=g2,v.toString=$e,v.toUpper=mF,v.trim=bF,v.trimEnd=vF,v.trimStart=yF,v.truncate=IF,v.unescape=CF,v.uniqueId=YF,v.upperCase=xF,v.upperFirst=xc,v.each=Wg,v.eachRight=Xg,v.first=Dg,Sc(v,function(){var n={};return jn(v,function(i,s){Ke.call(v.prototype,s)||(n[s]=i)}),n}(),{chain:!1}),v.VERSION=u,xn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){v[n].placeholder=v}),xn(["drop","take"],function(n,i){We.prototype[n]=function(s){s=s===r?1:St(Re(s),0);var d=this.__filtered__&&!i?new We(this):this.clone();return d.__filtered__?d.__takeCount__=Rt(s,d.__takeCount__):d.__views__.push({size:Rt(s,He),type:n+(d.__dir__<0?"Right":"")}),d},We.prototype[n+"Right"]=function(s){return this.reverse()[n](s).reverse()}}),xn(["filter","map","takeWhile"],function(n,i){var s=i+1,d=s==Be||s==ge;We.prototype[n]=function(m){var y=this.clone();return y.__iteratees__.push({iteratee:Ie(m,3),type:s}),y.__filtered__=y.__filtered__||d,y}}),xn(["head","last"],function(n,i){var s="take"+(i?"Right":"");We.prototype[n]=function(){return this[s](1).value()[0]}}),xn(["initial","tail"],function(n,i){var s="drop"+(i?"":"Right");We.prototype[n]=function(){return this.__filtered__?new We(this):this[s](1)}}),We.prototype.compact=function(){return this.filter(tn)},We.prototype.find=function(n){return this.filter(n).head()},We.prototype.findLast=function(n){return this.reverse().find(n)},We.prototype.invokeMap=Ne(function(n,i){return typeof n=="function"?new We(this):this.map(function(s){return Xu(s,n,i)})}),We.prototype.reject=function(n){return this.filter(Ds(Ie(n)))},We.prototype.slice=function(n,i){n=Re(n);var s=this;return s.__filtered__&&(n>0||i<0)?new We(s):(n<0?s=s.takeRight(-n):n&&(s=s.drop(n)),i!==r&&(i=Re(i),s=i<0?s.dropRight(-i):s.take(i-n)),s)},We.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},We.prototype.toArray=function(){return this.take(He)},jn(We.prototype,function(n,i){var s=/^(?:filter|find|map|reject)|While$/.test(i),d=/^(?:head|last)$/.test(i),m=v[d?"take"+(i=="last"?"Right":""):i],y=d||/^find/.test(i);m&&(v.prototype[i]=function(){var x=this.__wrapped__,T=d?[1]:arguments,G=x instanceof We,H=T[0],z=G||Te(x),U=function(Ve){var Ze=m.apply(v,Tr([Ve],T));return d&&re?Ze[0]:Ze};z&&s&&typeof H=="function"&&H.length!=1&&(G=z=!1);var re=this.__chain__,fe=!!this.__actions__.length,Ce=y&&!re,ke=G&&!fe;if(!y&&z){x=ke?x:new We(this);var xe=n.apply(x,T);return xe.__actions__.push({func:Gs,args:[U],thisArg:r}),new wn(xe,re)}return Ce&&ke?n.apply(this,T):(xe=this.thru(U),Ce?d?xe.value()[0]:xe.value():xe)})}),xn(["pop","push","shift","sort","splice","unshift"],function(n){var i=us[n],s=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",d=/^(?:pop|shift)$/.test(n);v.prototype[n]=function(){var m=arguments;if(d&&!this.__chain__){var y=this.value();return i.apply(Te(y)?y:[],m)}return this[s](function(x){return i.apply(Te(x)?x:[],m)})}}),jn(We.prototype,function(n,i){var s=v[i];if(s){var d=s.name+"";Ke.call(Qi,d)||(Qi[d]=[]),Qi[d].push({name:i,func:s})}}),Qi[Es(r,P).name]=[{name:"wrapper",func:r}],We.prototype.clone=CA,We.prototype.reverse=xA,We.prototype.value=AA,v.prototype.at=$S,v.prototype.chain=KS,v.prototype.commit=eE,v.prototype.next=tE,v.prototype.plant=rE,v.prototype.reverse=iE,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=uE,v.prototype.first=v.prototype.head,ku&&(v.prototype[ku]=nE),v},Ji=eA();gt?((gt.exports=Ji)._=Ji,rt._=Ji):ze._=Ji}).call(Tn)}(fo,fo.exports);var wI=fo.exports;const SI=Us(wI),hu=["$.service.db","$.interface.http","$.interface.apphook","$.interface.timer"],kl=Z.createContext(void 0),ho=()=>{const e=Z.useContext(kl);if(!e)throw new Error("Must be used inside provider");return e},kd=({children:e,props:t})=>{const r=$n(),u=Z.useId(),{component:o,configuredProps:l,propNames:a,userId:c}=t,f=o.key,[h,p]=Z.useState(0),[g,I]=Z.useState({}),[b,E]=Z.useState(!1),[A,F]=Z.useState({}),[P,D]=Z.useState({});Z.useEffect(()=>{D({})},[o.key]);const k=ee=>P[ee.name];let L=l||{};const[V,R]=Z.useState(L),J=t.onUpdateConfiguredProps||R;t.onUpdateConfiguredProps||(L=V);const[N,j]=Z.useState(),[ne,$]=Z.useState(),Q={userId:c,componentId:f,configuredProps:L,dynamicPropsId:N==null?void 0:N.id},ve={...Q},{isFetching:Be}=Wr({queryKey:["dynamicProps",ve],queryFn:async()=>{var oe;const{dynamicProps:ee}=await r.componentReloadProps(Q);return ee&&((oe=t.onUpdateDynamicProps)==null||oe.call(t,ee),j(ee)),$(void 0),[]},enabled:ne!=null}),[ie,ge]=Z.useState([]);Z.useEffect(()=>{me()},[L]);let de=(N==null?void 0:N.configurableProps)||t.component.configurable_props||[];if(a!=null&&a.length){const ee=[];for(const oe of de)a.findIndex(ye=>oe.name===ye)>=0&&ee.push(oe);de=ee}ne!=null&&(de=de.slice(0,ne+1));const Se=(ee,oe)=>{const ye=[];if(ee.optional||ee.hidden||ee.disabled||hu.includes(ee.type))return[];if(ee.type==="app"){const Me=g[ee.name];if(Me){const ct=Me.extra.app;ye.push(...AI({prop:ee,value:oe,app:ct})??[])}else ye.push("field not registered")}else ee.type==="boolean"?ye.push(...yI({prop:ee,value:oe})??[]):ee.type==="integer"?ye.push(...II({prop:ee,value:oe})??[]):ee.type==="string"?ye.push(...CI({prop:ee,value:oe})??[]):ee.type==="string[]"&&ye.push(...vI({prop:ee,value:oe})??[]);return ye},qe=ee=>{let oe;for(let ye=0;ye<de.length;ye++){const Me=de[ye];if(Me.hidden||Me.optional&&!k(Me))continue;if(ee[Me.name]===void 0&&oe==null&&(Me.type==="app"||Me.remoteOptions)){oe=ye;break}}p(oe)},S=ee=>{J(ee),qe(ee);const oe={};for(let ye=0;ye<de.length;ye++){const Me=de[ye],ct=ee[Me.name],Gt=Se(Me,ct);Gt.length&&(oe[Me.name]=Gt)}F(oe)};Z.useEffect(()=>{qe(V)},[V]),Z.useEffect(()=>{const ee={};for(const oe of de){if(oe.hidden||hu.includes(oe.type)||oe.optional&&!k(oe))continue;const ye=L[oe.name];ye===void 0?"default"in oe&&oe.default!=null&&(ee[oe.name]=oe.default):oe.type==="integer"&&typeof ye!="number"?delete ee[oe.name]:ee[oe.name]=ye}Ly(ee,L)||S(ee)},[de]);const[He,Le]=Z.useState(c);Z.useEffect(()=>{He!==c&&(S({}),Le(c))},[c]);const w=(ee,oe)=>{const ye=de[ee],Me={...L};oe===void 0?delete Me[ye.name]:Me[ye.name]=oe,J(Me),ye.reloadProps&&$(ee),(ye.type==="app"||ye.remoteOptions)&&qe(Me);const ct=Se(ye,oe),Gt={...A};ct.length?Gt[ye.name]=ct:delete Gt[ye.name],F(Gt)},Je=(ee,oe)=>{const ye={...P};oe?ye[ee.name]=!0:delete ye[ee.name];const Me=de.findIndex(ct=>ct.name===ee.name);oe?(l==null?void 0:l[ee.name])!==void 0?w(Me,l[ee.name]):"default"in ee&&ee.default!=null&&w(Me,ee.default):w(Me,void 0),D(ye)},me=()=>{const ee=[];for(const oe of de){if(!oe||oe.optional||oe.hidden||hu.includes(oe.type))continue;const ye=L[oe.name];Se(oe,ye).length&&ee.push(oe.name)}ee&&ie&&SI.isEqual(ee,ie)||ge(ee)},De=ee=>{I(oe=>(oe[ee.prop.name]=ee,oe)),me()},yt={id:u,isValid:!Object.keys(A).length,props:t,userId:c,component:o,configurableProps:de,configuredProps:L,dynamicProps:N,dynamicPropsQueryIsFetching:Be,errors:A,fields:g,optionalPropIsEnabled:k,optionalPropSetEnabled:Je,propsNeedConfiguring:ie,queryDisabledIdx:h,registerField:De,setConfiguredProp:w,setSubmitting:E,submitting:b};return q.jsx(kl.Provider,{value:yt,children:e})};function Xr(e){"@babel/helpers - typeof";return Xr=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},Xr(e)}function EI(e,t){if(Xr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var u=r.call(e,t||"default");if(Xr(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ld(e){var t=EI(e,"string");return Xr(t)=="symbol"?t:t+""}function pu(e,t,r){return(t=Ld(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,u)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dd(Object(r),!0).forEach(function(u){pu(e,u,r[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dd(Object(r)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(r,u))})}return e}function FI(e){if(Array.isArray(e))return e}function PI(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var u,o,l,a,c=[],f=!0,h=!1;try{if(l=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(u=l.call(r)).done)&&(c.push(u.value),c.length!==t);f=!0);}catch(p){h=!0,o=p}finally{try{if(!f&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(h)throw o}}return c}}function Ll(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,u=Array(t);r<t;r++)u[r]=e[r];return u}function Md(e,t){if(e){if(typeof e=="string")return Ll(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ll(e,t):void 0}}function TI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
41
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
42
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vi(e){return MI(e)||NI(e)||Md(e)||VI()}function WI(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const XI=Math.min,HI=Math.max,go=Math.round,mo=Math.floor,bo=e=>({x:e,y:e});function zI(e){const{x:t,y:r,width:u,height:o}=e;return{width:u,height:o,top:r,left:t,right:t+u,bottom:r+o,x:t,y:r}}function vo(){return typeof window<"u"}function Xd(e){return zd(e)?(e.nodeName||"").toLowerCase():"#document"}function er(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Hd(e){var t;return(t=(zd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zd(e){return vo()?e instanceof Node||e instanceof er(e).Node:!1}function ZI(e){return vo()?e instanceof Element||e instanceof er(e).Element:!1}function Ml(e){return vo()?e instanceof HTMLElement||e instanceof er(e).HTMLElement:!1}function Zd(e){return!vo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof er(e).ShadowRoot}function Yd(e){const{overflow:t,overflowX:r,overflowY:u,display:o}=Nl(e);return/auto|scroll|overlay|hidden|clip/.test(t+u+r)&&!["inline","contents"].includes(o)}function YI(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function JI(e){return["html","body","#document"].includes(Xd(e))}function Nl(e){return er(e).getComputedStyle(e)}function UI(e){if(Xd(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zd(e)&&e.host||Hd(e);return Zd(t)?t.host:t}function Jd(e){const t=UI(e);return JI(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ml(t)&&Yd(t)?t:Jd(t)}function yo(e,t,r){var u;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Jd(e),l=o===((u=e.ownerDocument)==null?void 0:u.body),a=er(o);if(l){const c=Vl(a);return t.concat(a,a.visualViewport||[],Yd(o)?o:[],c&&r?yo(c):[])}return t.concat(o,yo(o,[],r))}function Vl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jI(e){const t=Nl(e);let r=parseFloat(t.width)||0,u=parseFloat(t.height)||0;const o=Ml(e),l=o?e.offsetWidth:r,a=o?e.offsetHeight:u,c=go(r)!==l||go(u)!==a;return c&&(r=l,u=a),{width:r,height:u,$:c}}function Wl(e){return ZI(e)?e:e.contextElement}function Ud(e){const t=Wl(e);if(!Ml(t))return bo(1);const r=t.getBoundingClientRect(),{width:u,height:o,$:l}=jI(t);let a=(l?go(r.width):r.width)/u,c=(l?go(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const QI=bo(0);function qI(e){const t=er(e);return!YI()||!t.visualViewport?QI:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $I(e,t,r){return!1}function jd(e,t,r,u){t===void 0&&(t=!1);const o=e.getBoundingClientRect(),l=Wl(e);let a=bo(1);t&&(a=Ud(e));const c=$I()?qI(l):bo(0);let f=(o.left+c.x)/a.x,h=(o.top+c.y)/a.y,p=o.width/a.x,g=o.height/a.y;if(l){const I=er(l),b=u;let E=I,A=Vl(E);for(;A&&u&&b!==E;){const F=Ud(A),P=A.getBoundingClientRect(),D=Nl(A),k=P.left+(A.clientLeft+parseFloat(D.paddingLeft))*F.x,L=P.top+(A.clientTop+parseFloat(D.paddingTop))*F.y;f*=F.x,h*=F.y,p*=F.x,g*=F.y,f+=k,h+=L,E=er(A),A=Vl(E)}}return zI({width:p,height:g,x:f,y:h})}function KI(e,t){let r=null,u;const o=Hd(e);function l(){var c;clearTimeout(u),(c=r)==null||c.disconnect(),r=null}function a(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),l();const{left:h,top:p,width:g,height:I}=e.getBoundingClientRect();if(c||t(),!g||!I)return;const b=mo(p),E=mo(o.clientWidth-(h+g)),A=mo(o.clientHeight-(p+I)),F=mo(h),D={rootMargin:-b+"px "+-E+"px "+-A+"px "+-F+"px",threshold:HI(0,XI(1,f))||1};let k=!0;function L(V){const R=V[0].intersectionRatio;if(R!==f){if(!k)return a();R?a(!1,R):u=setTimeout(()=>{a(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(L,{...D,root:o.ownerDocument})}catch{r=new IntersectionObserver(L,D)}r.observe(e)}return a(!0),l}function e1(e,t,r,u){u===void 0&&(u={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=u,h=Wl(e),p=o||l?[...h?yo(h):[],...yo(t)]:[];p.forEach(P=>{o&&P.addEventListener("scroll",r,{passive:!0}),l&&P.addEventListener("resize",r)});const g=h&&c?KI(h,r):null;let I=-1,b=null;a&&(b=new ResizeObserver(P=>{let[D]=P;D&&D.target===h&&b&&(b.unobserve(t),cancelAnimationFrame(I),I=requestAnimationFrame(()=>{var k;(k=b)==null||k.observe(t)})),r()}),h&&!f&&b.observe(h),b.observe(t));let E,A=f?jd(e):null;f&&F();function F(){const P=jd(e);A&&(P.x!==A.x||P.y!==A.y||P.width!==A.width||P.height!==A.height)&&r(),A=P,E=requestAnimationFrame(F)}return r(),()=>{var P;p.forEach(D=>{o&&D.removeEventListener("scroll",r),l&&D.removeEventListener("resize",r)}),g==null||g(),(P=b)==null||P.disconnect(),b=null,f&&cancelAnimationFrame(E)}}var Xl=Z.useLayoutEffect,t1=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Io=function(){};function n1(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function r1(e,t){for(var r=arguments.length,u=new Array(r>2?r-2:0),o=2;o<r;o++)u[o-2]=arguments[o];var l=[].concat(u);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&l.push("".concat(n1(e,a)));return l.filter(function(c){return c}).map(function(c){return String(c).trim()}).join(" ")}var Co=function(t){return d1(t)?t.filter(Boolean):Xr(t)==="object"&&t!==null?[t]:[]},Qd=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 r=Wn(t,t1);return he({},r)},dt=function(t,r,u){var o=t.cx,l=t.getStyles,a=t.getClassNames,c=t.className;return{css:l(r,t),className:o(u??{},a(r,t),c)}};function xo(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function i1(e){return xo(e)?window.innerHeight:e.clientHeight}function qd(e){return xo(e)?window.pageYOffset:e.scrollTop}function Ao(e,t){if(xo(e)){window.scrollTo(0,t);return}e.scrollTop=t}function u1(e){var t=getComputedStyle(e),r=t.position==="absolute",u=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(r&&t.position==="static")&&u.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function o1(e,t,r,u){return r*((e=e/u-1)*e*e+1)+t}function wo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Io,o=qd(e),l=t-o,a=10,c=0;function f(){c+=a;var h=o1(c,o,l,r);Ao(e,h),c<r?window.requestAnimationFrame(f):u(e)}f()}function $d(e,t){var r=e.getBoundingClientRect(),u=t.getBoundingClientRect(),o=t.offsetHeight/3;u.bottom+o>r.bottom?Ao(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):u.top-o<r.top&&Ao(e,Math.max(t.offsetTop-o,0))}function s1(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 Kd(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function l1(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var eh=!1,a1={get passive(){return eh=!0}},So=typeof window<"u"?window:{};So.addEventListener&&So.removeEventListener&&(So.addEventListener("p",Io,a1),So.removeEventListener("p",Io,!1));var c1=eh;function f1(e){return e!=null}function d1(e){return Array.isArray(e)}function gu(e,t,r){return e?t:r}function IP(e){return e}function CP(e){return e}var h1=function(t){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var l=Object.entries(t).filter(function(a){var c=Kn(a,1),f=c[0];return!u.includes(f)});return l.reduce(function(a,c){var f=Kn(c,2),h=f[0],p=f[1];return a[h]=p,a},{})},p1=["children","innerProps"],g1=["children","innerProps"];function m1(e){var t=e.maxHeight,r=e.menuEl,u=e.minHeight,o=e.placement,l=e.shouldScroll,a=e.isFixedPosition,c=e.controlHeight,f=u1(r),h={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return h;var p=f.getBoundingClientRect(),g=p.height,I=r.getBoundingClientRect(),b=I.bottom,E=I.height,A=I.top,F=r.offsetParent.getBoundingClientRect(),P=F.top,D=a?window.innerHeight:i1(f),k=qd(f),L=parseInt(getComputedStyle(r).marginBottom,10),V=parseInt(getComputedStyle(r).marginTop,10),R=P-V,J=D-A,N=R+k,j=g-k-A,ne=b-D+k+L,$=k+A-V,Q=160;switch(o){case"auto":case"bottom":if(J>=E)return{placement:"bottom",maxHeight:t};if(j>=E&&!a)return l&&wo(f,ne,Q),{placement:"bottom",maxHeight:t};if(!a&&j>=u||a&&J>=u){l&&wo(f,ne,Q);var ve=a?J-L:j-L;return{placement:"bottom",maxHeight:ve}}if(o==="auto"||a){var Be=t,ie=a?R:N;return ie>=u&&(Be=Math.min(ie-L-c,t)),{placement:"top",maxHeight:Be}}if(o==="bottom")return l&&Ao(f,ne),{placement:"bottom",maxHeight:t};break;case"top":if(R>=E)return{placement:"top",maxHeight:t};if(N>=E&&!a)return l&&wo(f,$,Q),{placement:"top",maxHeight:t};if(!a&&N>=u||a&&R>=u){var ge=t;return(!a&&N>=u||a&&R>=u)&&(ge=a?R-V:N-V),l&&wo(f,$,Q),{placement:"top",maxHeight:ge}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return h}function b1(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var th=function(t){return t==="auto"?"bottom":t},v1=function(t,r){var u,o=t.placement,l=t.theme,a=l.borderRadius,c=l.spacing,f=l.colors;return he((u={label:"menu"},pu(u,b1(o),"100%"),pu(u,"position","absolute"),pu(u,"width","100%"),pu(u,"zIndex",1),u),r?{}:{backgroundColor:f.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:c.menuGutter,marginTop:c.menuGutter})},nh=Z.createContext(null),y1=function(t){var r=t.children,u=t.minMenuHeight,o=t.maxMenuHeight,l=t.menuPlacement,a=t.menuPosition,c=t.menuShouldScrollIntoView,f=t.theme,h=Z.useContext(nh)||{},p=h.setPortalPlacement,g=Z.useRef(null),I=Z.useState(o),b=Kn(I,2),E=b[0],A=b[1],F=Z.useState(null),P=Kn(F,2),D=P[0],k=P[1],L=f.spacing.controlHeight;return Xl(function(){var V=g.current;if(V){var R=a==="fixed",J=c&&!R,N=m1({maxHeight:o,menuEl:V,minHeight:u,placement:l,shouldScroll:J,isFixedPosition:R,controlHeight:L});A(N.maxHeight),k(N.placement),p==null||p(N.placement)}},[o,l,a,c,u,p,L]),r({ref:g,placerProps:he(he({},t),{},{placement:D||th(l),maxHeight:E})})},I1=function(t){var r=t.children,u=t.innerRef,o=t.innerProps;return ce.jsx("div",be({},dt(t,"menu",{menu:!0}),{ref:u},o),r)},C1=I1,x1=function(t,r){var u=t.maxHeight,o=t.theme.spacing.baseUnit;return he({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:o,paddingTop:o})},A1=function(t){var r=t.children,u=t.innerProps,o=t.innerRef,l=t.isMulti;return ce.jsx("div",be({},dt(t,"menuList",{"menu-list":!0,"menu-list--is-multi":l}),{ref:o},u),r)},rh=function(t,r){var u=t.theme,o=u.spacing.baseUnit,l=u.colors;return he({textAlign:"center"},r?{}:{color:l.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},w1=rh,S1=rh,E1=function(t){var r=t.children,u=r===void 0?"No options":r,o=t.innerProps,l=Wn(t,p1);return ce.jsx("div",be({},dt(he(he({},l),{},{children:u,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),u)},F1=function(t){var r=t.children,u=r===void 0?"Loading...":r,o=t.innerProps,l=Wn(t,g1);return ce.jsx("div",be({},dt(he(he({},l),{},{children:u,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),u)},P1=function(t){var r=t.rect,u=t.offset,o=t.position;return{left:r.left,position:o,top:u,width:r.width,zIndex:1}},T1=function(t){var r=t.appendTo,u=t.children,o=t.controlElement,l=t.innerProps,a=t.menuPlacement,c=t.menuPosition,f=Z.useRef(null),h=Z.useRef(null),p=Z.useState(th(a)),g=Kn(p,2),I=g[0],b=g[1],E=Z.useMemo(function(){return{setPortalPlacement:b}},[]),A=Z.useState(null),F=Kn(A,2),P=F[0],D=F[1],k=Z.useCallback(function(){if(o){var J=s1(o),N=c==="fixed"?0:window.pageYOffset,j=J[I]+N;(j!==(P==null?void 0:P.offset)||J.left!==(P==null?void 0:P.rect.left)||J.width!==(P==null?void 0:P.rect.width))&&D({offset:j,rect:J})}},[o,c,I,P==null?void 0:P.offset,P==null?void 0:P.rect.left,P==null?void 0:P.rect.width]);Xl(function(){k()},[k]);var L=Z.useCallback(function(){typeof h.current=="function"&&(h.current(),h.current=null),o&&f.current&&(h.current=e1(o,f.current,k,{elementResize:"ResizeObserver"in window}))},[o,k]);Xl(function(){L()},[L]);var V=Z.useCallback(function(J){f.current=J,L()},[L]);if(!r&&c!=="fixed"||!P)return null;var R=ce.jsx("div",be({ref:V},dt(he(he({},t),{},{offset:P.offset,position:c,rect:P.rect}),"menuPortal",{"menu-portal":!0}),l),u);return ce.jsx(nh.Provider,{value:E},r?Xs.createPortal(R,r):R)},O1=function(t){var r=t.isDisabled,u=t.isRtl;return{label:"container",direction:u?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},B1=function(t){var r=t.children,u=t.innerProps,o=t.isDisabled,l=t.isRtl;return ce.jsx("div",be({},dt(t,"container",{"--is-disabled":o,"--is-rtl":l}),u),r)},_1=function(t,r){var u=t.theme.spacing,o=t.isMulti,l=t.hasValue,a=t.selectProps.controlShouldRenderValue;return he({alignItems:"center",display:o&&l&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(u.baseUnit*2,"px")})},G1=function(t){var r=t.children,u=t.innerProps,o=t.isMulti,l=t.hasValue;return ce.jsx("div",be({},dt(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":l}),u),r)},R1=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},k1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",be({},dt(t,"indicatorsContainer",{indicators:!0}),u),r)},ih,L1=["size"],D1=["innerProps","isRtl","size"];function M1(){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 N1=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnL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1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:M1},uh=function(t){var r=t.size,u=Wn(t,L1);return ce.jsx("svg",be({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:N1},u))},Hl=function(t){return ce.jsx(uh,be({size:20},t),ce.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"}))},oh=function(t){return ce.jsx(uh,be({size:20},t),ce.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"}))},sh=function(t,r){var u=t.isFocused,o=t.theme,l=o.spacing.baseUnit,a=o.colors;return he({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:u?a.neutral60:a.neutral20,padding:l*2,":hover":{color:u?a.neutral80:a.neutral40}})},V1=sh,W1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",be({},dt(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),r||ce.jsx(oh,null))},X1=sh,H1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",be({},dt(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),r||ce.jsx(Hl,null))},z1=function(t,r){var u=t.isDisabled,o=t.theme,l=o.spacing.baseUnit,a=o.colors;return he({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:u?a.neutral10:a.neutral20,marginBottom:l*2,marginTop:l*2})},Z1=function(t){var r=t.innerProps;return ce.jsx("span",be({},r,dt(t,"indicatorSeparator",{"indicator-separator":!0})))},Y1=ce.keyframes(ih||(ih=WI([`
|
|
39
|
+
`)+$+`return __p
|
|
40
|
+
}`;var Me=fm(function(){return qe(y,fe+"return "+$).apply(r,x)});if(Me.source=$,yc(Me))throw Me;return Me}function mF(n){return tt(n).toLowerCase()}function bF(n){return tt(n).toUpperCase()}function vF(n,i,s){if(n=tt(n),n&&(s||i===r))return Ip(n);if(!n||!(i=bn(i)))return n;var d=Xn(n),m=Xn(i),y=Cp(d,m),x=xp(d,m)+1;return Nr(d,y,x).join("")}function yF(n,i,s){if(n=tt(n),n&&(s||i===r))return n.slice(0,wp(n)+1);if(!n||!(i=bn(i)))return n;var d=Xn(n),m=xp(d,Xn(i))+1;return Nr(d,0,m).join("")}function IF(n,i,s){if(n=tt(n),n&&(s||i===r))return n.replace(Pu,"");if(!n||!(i=bn(i)))return n;var d=Xn(n),m=Cp(d,Xn(i));return Nr(d,m).join("")}function CF(n,i){var s=Q,d=U;if(gt(i)){var m="separator"in i?i.separator:m;s="length"in i?De(i.length):s,d="omission"in i?bn(i.omission):d}n=tt(n);var y=n.length;if(Yi(n)){var x=Xn(n);y=x.length}if(s>=y)return n;var O=s-Ji(d);if(O<1)return d;var G=x?Nr(x,0,O).join(""):n.slice(0,O);if(m===r)return G+d;if(x&&(O+=G.length-O),Ic(m)){if(n.slice(O).search(m)){var z,Z=G;for(m.global||(m=La(m.source,tt(Fn.exec(m))+"g")),m.lastIndex=0;z=m.exec(Z);)var $=z.index;G=G.slice(0,$===r?O:$)}}else if(n.indexOf(bn(m),O)!=O){var re=G.lastIndexOf(m);re>-1&&(G=G.slice(0,re))}return G+d}function xF(n){return n=tt(n),n&&wu.test(n)?n.replace(ko,qx):n}var AF=eu(function(n,i,s){return n+(s?" ":"")+i.toUpperCase()}),Ac=dg("toUpperCase");function cm(n,i,s){return n=tt(n),i=s?r:i,i===r?Yx(n)?eA(n):Dx(n):n.match(i)||[]}var fm=We(function(n,i){try{return Gt(n,r,i)}catch(s){return yc(s)?s:new Fe(s)}}),wF=mr(function(n,i){return On(i,function(s){s=ir(s),pr(n,s,bc(n[s],n))}),n});function SF(n){var i=n==null?0:n.length,s=ve();return n=i?pt(n,function(d){if(typeof d[1]!="function")throw new Tn(a);return[s(d[0]),d[1]]}):[],We(function(d){for(var m=-1;++m<i;){var y=n[m];if(Gt(y[0],this,d))return Gt(y[1],this,d)}})}function EF(n){return qA(_n(n,g))}function wc(n){return function(){return n}}function FF(n,i){return n==null||n!==n?i:n}var PF=pg(),OF=pg(!0);function ln(n){return n}function Sc(n){return zp(typeof n=="function"?n:_n(n,g))}function TF(n){return Yp(_n(n,g))}function BF(n,i){return Jp(n,_n(i,g))}var _F=We(function(n,i){return function(s){return Xu(s,n,i)}}),GF=We(function(n,i){return function(s){return Xu(n,s,i)}});function Ec(n,i,s){var d=Rt(i),m=xs(i,d);s==null&&!(gt(i)&&(m.length||!d.length))&&(s=i,i=n,n=this,m=xs(i,Rt(i)));var y=!(gt(s)&&"chain"in s)||!!s.chain,x=vr(n);return On(m,function(O){var G=i[O];n[O]=G,x&&(n.prototype[O]=function(){var z=this.__chain__;if(y||z){var Z=n(this.__wrapped__),$=Z.__actions__=un(this.__actions__);return $.push({func:G,args:arguments,thisArg:n}),Z.__chain__=z,Z}return G.apply(n,Gr([this.value()],arguments))})}),n}function RF(){return Ze._===this&&(Ze._=oA),this}function Fc(){}function kF(n){return n=De(n),We(function(i){return jp(i,n)})}var LF=ic(pt),DF=ic(gp),MF=ic(Oa);function dm(n){return fc(n)?Ta(ir(n)):pw(n)}function NF(n){return function(i){return n==null?r:di(n,i)}}var VF=mg(),WF=mg(!0);function Pc(){return[]}function Oc(){return!1}function XF(){return{}}function HF(){return""}function zF(){return!0}function ZF(n,i){if(n=De(n),n<1||n>Oe)return[];var s=xe,d=Ht(n,xe);i=ve(i),n-=xe;for(var m=Ga(d,i);++s<n;)i(s);return m}function YF(n){return Be(n)?pt(n,ir):vn(n)?[n]:un(_g(tt(n)))}function JF(n){var i=++iA;return tt(n)+i}var jF=Ps(function(n,i){return n+i},0),UF=uc("ceil"),QF=Ps(function(n,i){return n/i},1),qF=uc("floor");function $F(n){return n&&n.length?Cs(n,ln,za):r}function KF(n,i){return n&&n.length?Cs(n,ve(i,2),za):r}function eP(n){return vp(n,ln)}function tP(n,i){return vp(n,ve(i,2))}function nP(n){return n&&n.length?Cs(n,ln,ja):r}function rP(n,i){return n&&n.length?Cs(n,ve(i,2),ja):r}var iP=Ps(function(n,i){return n*i},1),uP=uc("round"),oP=Ps(function(n,i){return n-i},0);function sP(n){return n&&n.length?_a(n,ln):0}function lP(n,i){return n&&n.length?_a(n,ve(i,2)):0}return v.after=TE,v.ary=Hg,v.assign=b2,v.assignIn=rm,v.assignInWith=Ws,v.assignWith=v2,v.at=y2,v.before=zg,v.bind=bc,v.bindAll=wF,v.bindKey=Zg,v.castArray=XE,v.chain=Vg,v.chunk=qw,v.compact=$w,v.concat=Kw,v.cond=SF,v.conforms=EF,v.constant=wc,v.countBy=sE,v.create=I2,v.curry=Yg,v.curryRight=Jg,v.debounce=jg,v.defaults=C2,v.defaultsDeep=x2,v.defer=BE,v.delay=_E,v.difference=eS,v.differenceBy=tS,v.differenceWith=nS,v.drop=rS,v.dropRight=iS,v.dropRightWhile=uS,v.dropWhile=oS,v.fill=sS,v.filter=aE,v.flatMap=dE,v.flatMapDeep=hE,v.flatMapDepth=pE,v.flatten=Lg,v.flattenDeep=lS,v.flattenDepth=aS,v.flip=GE,v.flow=PF,v.flowRight=OF,v.fromPairs=cS,v.functions=O2,v.functionsIn=T2,v.groupBy=gE,v.initial=dS,v.intersection=hS,v.intersectionBy=pS,v.intersectionWith=gS,v.invert=_2,v.invertBy=G2,v.invokeMap=bE,v.iteratee=Sc,v.keyBy=vE,v.keys=Rt,v.keysIn=sn,v.map=ks,v.mapKeys=k2,v.mapValues=L2,v.matches=TF,v.matchesProperty=BF,v.memoize=Ds,v.merge=D2,v.mergeWith=im,v.method=_F,v.methodOf=GF,v.mixin=Ec,v.negate=Ms,v.nthArg=kF,v.omit=M2,v.omitBy=N2,v.once=RE,v.orderBy=yE,v.over=LF,v.overArgs=kE,v.overEvery=DF,v.overSome=MF,v.partial=vc,v.partialRight=Ug,v.partition=IE,v.pick=V2,v.pickBy=um,v.property=dm,v.propertyOf=NF,v.pull=yS,v.pullAll=Mg,v.pullAllBy=IS,v.pullAllWith=CS,v.pullAt=xS,v.range=VF,v.rangeRight=WF,v.rearg=LE,v.reject=AE,v.remove=AS,v.rest=DE,v.reverse=gc,v.sampleSize=SE,v.set=X2,v.setWith=H2,v.shuffle=EE,v.slice=wS,v.sortBy=OE,v.sortedUniq=BS,v.sortedUniqBy=_S,v.split=dF,v.spread=ME,v.tail=GS,v.take=RS,v.takeRight=kS,v.takeRightWhile=LS,v.takeWhile=DS,v.tap=$S,v.throttle=NE,v.thru=Rs,v.toArray=em,v.toPairs=om,v.toPairsIn=sm,v.toPath=YF,v.toPlainObject=nm,v.transform=z2,v.unary=VE,v.union=MS,v.unionBy=NS,v.unionWith=VS,v.uniq=WS,v.uniqBy=XS,v.uniqWith=HS,v.unset=Z2,v.unzip=mc,v.unzipWith=Ng,v.update=Y2,v.updateWith=J2,v.values=ru,v.valuesIn=j2,v.without=zS,v.words=cm,v.wrap=WE,v.xor=ZS,v.xorBy=YS,v.xorWith=JS,v.zip=jS,v.zipObject=US,v.zipObjectDeep=QS,v.zipWith=qS,v.entries=om,v.entriesIn=sm,v.extend=rm,v.extendWith=Ws,Ec(v,v),v.add=jF,v.attempt=fm,v.camelCase=$2,v.capitalize=lm,v.ceil=UF,v.clamp=U2,v.clone=HE,v.cloneDeep=ZE,v.cloneDeepWith=YE,v.cloneWith=zE,v.conformsTo=JE,v.deburr=am,v.defaultTo=FF,v.divide=QF,v.endsWith=K2,v.eq=zn,v.escape=eF,v.escapeRegExp=tF,v.every=lE,v.find=cE,v.findIndex=Rg,v.findKey=A2,v.findLast=fE,v.findLastIndex=kg,v.findLastKey=w2,v.floor=qF,v.forEach=Wg,v.forEachRight=Xg,v.forIn=S2,v.forInRight=E2,v.forOwn=F2,v.forOwnRight=P2,v.get=Cc,v.gt=jE,v.gte=UE,v.has=B2,v.hasIn=xc,v.head=Dg,v.identity=ln,v.includes=mE,v.indexOf=fS,v.inRange=Q2,v.invoke=R2,v.isArguments=gi,v.isArray=Be,v.isArrayBuffer=QE,v.isArrayLike=on,v.isArrayLikeObject=xt,v.isBoolean=qE,v.isBuffer=Vr,v.isDate=$E,v.isElement=KE,v.isEmpty=e2,v.isEqual=t2,v.isEqualWith=n2,v.isError=yc,v.isFinite=r2,v.isFunction=vr,v.isInteger=Qg,v.isLength=Ns,v.isMap=qg,v.isMatch=i2,v.isMatchWith=u2,v.isNaN=o2,v.isNative=s2,v.isNil=a2,v.isNull=l2,v.isNumber=$g,v.isObject=gt,v.isObjectLike=It,v.isPlainObject=ju,v.isRegExp=Ic,v.isSafeInteger=c2,v.isSet=Kg,v.isString=Vs,v.isSymbol=vn,v.isTypedArray=nu,v.isUndefined=f2,v.isWeakMap=d2,v.isWeakSet=h2,v.join=mS,v.kebabCase=nF,v.last=Rn,v.lastIndexOf=bS,v.lowerCase=rF,v.lowerFirst=iF,v.lt=p2,v.lte=g2,v.max=$F,v.maxBy=KF,v.mean=eP,v.meanBy=tP,v.min=nP,v.minBy=rP,v.stubArray=Pc,v.stubFalse=Oc,v.stubObject=XF,v.stubString=HF,v.stubTrue=zF,v.multiply=iP,v.nth=vS,v.noConflict=RF,v.noop=Fc,v.now=Ls,v.pad=uF,v.padEnd=oF,v.padStart=sF,v.parseInt=lF,v.random=q2,v.reduce=CE,v.reduceRight=xE,v.repeat=aF,v.replace=cF,v.result=W2,v.round=uP,v.runInContext=B,v.sample=wE,v.size=FE,v.snakeCase=fF,v.some=PE,v.sortedIndex=SS,v.sortedIndexBy=ES,v.sortedIndexOf=FS,v.sortedLastIndex=PS,v.sortedLastIndexBy=OS,v.sortedLastIndexOf=TS,v.startCase=hF,v.startsWith=pF,v.subtract=oP,v.sum=sP,v.sumBy=lP,v.template=gF,v.times=ZF,v.toFinite=yr,v.toInteger=De,v.toLength=tm,v.toLower=mF,v.toNumber=kn,v.toSafeInteger=m2,v.toString=tt,v.toUpper=bF,v.trim=vF,v.trimEnd=yF,v.trimStart=IF,v.truncate=CF,v.unescape=xF,v.uniqueId=JF,v.upperCase=AF,v.upperFirst=Ac,v.each=Wg,v.eachRight=Xg,v.first=Dg,Ec(v,function(){var n={};return nr(v,function(i,s){rt.call(v.prototype,s)||(n[s]=i)}),n}(),{chain:!1}),v.VERSION=u,On(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){v[n].placeholder=v}),On(["drop","take"],function(n,i){He.prototype[n]=function(s){s=s===r?1:Tt(De(s),0);var d=this.__filtered__&&!i?new He(this):this.clone();return d.__filtered__?d.__takeCount__=Ht(s,d.__takeCount__):d.__views__.push({size:Ht(s,xe),type:n+(d.__dir__<0?"Right":"")}),d},He.prototype[n+"Right"]=function(s){return this.reverse()[n](s).reverse()}}),On(["filter","map","takeWhile"],function(n,i){var s=i+1,d=s==Se||s==pe;He.prototype[n]=function(m){var y=this.clone();return y.__iteratees__.push({iteratee:ve(m,3),type:s}),y.__filtered__=y.__filtered__||d,y}}),On(["head","last"],function(n,i){var s="take"+(i?"Right":"");He.prototype[n]=function(){return this[s](1).value()[0]}}),On(["initial","tail"],function(n,i){var s="drop"+(i?"":"Right");He.prototype[n]=function(){return this.__filtered__?new He(this):this[s](1)}}),He.prototype.compact=function(){return this.filter(ln)},He.prototype.find=function(n){return this.filter(n).head()},He.prototype.findLast=function(n){return this.reverse().find(n)},He.prototype.invokeMap=We(function(n,i){return typeof n=="function"?new He(this):this.map(function(s){return Xu(s,n,i)})}),He.prototype.reject=function(n){return this.filter(Ms(ve(n)))},He.prototype.slice=function(n,i){n=De(n);var s=this;return s.__filtered__&&(n>0||i<0)?new He(s):(n<0?s=s.takeRight(-n):n&&(s=s.drop(n)),i!==r&&(i=De(i),s=i<0?s.dropRight(-i):s.take(i-n)),s)},He.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},He.prototype.toArray=function(){return this.take(xe)},nr(He.prototype,function(n,i){var s=/^(?:filter|find|map|reject)|While$/.test(i),d=/^(?:head|last)$/.test(i),m=v[d?"take"+(i=="last"?"Right":""):i],y=d||/^find/.test(i);m&&(v.prototype[i]=function(){var x=this.__wrapped__,O=d?[1]:arguments,G=x instanceof He,z=O[0],Z=G||Be(x),$=function(Xe){var Ye=m.apply(v,Gr([Xe],O));return d&&re?Ye[0]:Ye};Z&&s&&typeof z=="function"&&z.length!=1&&(G=Z=!1);var re=this.__chain__,fe=!!this.__actions__.length,Ie=y&&!re,Me=G&&!fe;if(!y&&Z){x=Me?x:new He(this);var Ce=n.apply(x,O);return Ce.__actions__.push({func:Rs,args:[$],thisArg:r}),new Bn(Ce,re)}return Ie&&Me?n.apply(this,O):(Ce=this.thru($),Ie?d?Ce.value()[0]:Ce.value():Ce)})}),On(["pop","push","shift","sort","splice","unshift"],function(n){var i=os[n],s=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",d=/^(?:pop|shift)$/.test(n);v.prototype[n]=function(){var m=arguments;if(d&&!this.__chain__){var y=this.value();return i.apply(Be(y)?y:[],m)}return this[s](function(x){return i.apply(Be(x)?x:[],m)})}}),nr(He.prototype,function(n,i){var s=v[i];if(s){var d=s.name+"";rt.call(qi,d)||(qi[d]=[]),qi[d].push({name:i,func:s})}}),qi[Fs(r,P).name]=[{name:"wrapper",func:r}],He.prototype.clone=xA,He.prototype.reverse=AA,He.prototype.value=wA,v.prototype.at=KS,v.prototype.chain=eE,v.prototype.commit=tE,v.prototype.next=nE,v.prototype.plant=iE,v.prototype.reverse=uE,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=oE,v.prototype.first=v.prototype.head,ku&&(v.prototype[ku]=rE),v},ji=tA();Ct?((Ct.exports=ji)._=ji,st._=ji):Ze._=ji}).call(Ln)}(ho,ho.exports);var wI=ho.exports;const SI=Us(wI),pu=["$.service.db","$.interface.http","$.interface.apphook","$.interface.timer"],Ll=H.createContext(void 0),po=()=>{const e=H.useContext(Ll);if(!e)throw new Error("Must be used inside provider");return e},kd=({children:e,props:t})=>{const r=ur(),u=H.useId(),{component:o,configuredProps:l,propNames:a,userId:c,sdkResponse:f,enableDebugging:h}=t,p=o.key,[g,I]=H.useState(0),[b,S]=H.useState({}),[A,F]=H.useState(!1),[P,L]=H.useState({}),[k,N]=H.useState([]),[X,R]=H.useState({});H.useEffect(()=>{R({})},[o.key]);const Y=ne=>X[ne.name];let D=l||{};const[j,Q]=H.useState(D),U=t.onUpdateConfiguredProps||Q;t.onUpdateConfiguredProps||(D=j);const[q,be]=H.useState(),[Se,ue]=H.useState(),pe={userId:c,componentId:p,configuredProps:D,dynamicPropsId:q==null?void 0:q.id},Ee={...pe},{isFetching:Oe}=Zr({queryKey:["dynamicProps",Ee],queryFn:async()=>{var yt;const ne=await r.componentReloadProps(pe),{dynamicProps:oe,observations:ye,errors:Ge}=ne;return ye&&ye.filter(Bt=>Bt.k==="error").length>0?Dt(ye):Dt(Ge),oe&&((yt=t.onUpdateDynamicProps)==null||yt.call(t,oe),be(oe)),ue(void 0),[]},enabled:Se!=null}),[Ke,E]=H.useState([]);H.useEffect(()=>{Xt()},[D]);let xe=(q==null?void 0:q.configurableProps)||t.component.configurable_props||[];if(a!=null&&a.length){const ne=[];for(const oe of xe)a.findIndex(ye=>oe.name===ye)>=0&&ne.push(oe);xe=ne}Se!=null&&(xe=xe.slice(0,Se+1));const Le=(ne,oe)=>{const ye=[];if(ne.optional||ne.hidden||ne.disabled||pu.includes(ne.type))return[];if(ne.type==="app"){const Ge=b[ne.name];if(Ge){const yt=Ge.extra.app;ye.push(...AI({prop:ne,value:oe,app:yt})??[])}else ye.push("field not registered")}else ne.type==="boolean"?ye.push(...yI({prop:ne,value:oe})??[]):ne.type==="integer"?ye.push(...II({prop:ne,value:oe})??[]):ne.type==="string"?ye.push(...CI({prop:ne,value:oe})??[]):ne.type==="string[]"&&ye.push(...vI({prop:ne,value:oe})??[]);return ye},w=ne=>{let oe;for(let ye=0;ye<xe.length;ye++){const Ge=xe[ye];if(Ge.hidden||Ge.optional&&!Y(Ge))continue;if(ne[Ge.name]===void 0&&oe==null&&(Ge.type==="app"||Ge.remoteOptions)){oe=ye;break}}I(oe)},je=ne=>{U(ne),w(ne),ge(ne)},ge=ne=>{const oe={};for(let ye=0;ye<xe.length;ye++){const Ge=xe[ye],yt=ne[Ge.name],Bt=Le(Ge,yt);Bt.length&&(oe[Ge.name]=Bt)}L(oe)};H.useEffect(()=>{w(j)},[j]),H.useEffect(()=>{ge(D)},[D,Se,g]),H.useEffect(()=>{Dt(f)},[f]),H.useEffect(()=>{const ne={};for(const oe of xe){if(oe.hidden||pu.includes(oe.type)||oe.optional&&!Y(oe))continue;const ye=D[oe.name];ye===void 0?"default"in oe&&oe.default!=null&&(ne[oe.name]=oe.default):oe.type==="integer"&&typeof ye!="number"?delete ne[oe.name]:ne[oe.name]=ye}Ly(ne,D)||je(ne)},[xe]);const[Ne,St]=H.useState(c);H.useEffect(()=>{Ne!==c&&(je({}),St(c))},[c]);const Ve=(ne,oe)=>{const ye=xe[ne],Ge={...D};oe===void 0?delete Ge[ye.name]:Ge[ye.name]=oe,U(Ge),ye.reloadProps&&ue(ne),(ye.type==="app"||ye.remoteOptions)&&w(Ge);const yt=Le(ye,oe),Bt={...P};yt.length?Bt[ye.name]=yt:delete Bt[ye.name],L(Bt)},vt=(ne,oe)=>{const ye={...X};oe?ye[ne.name]=!0:delete ye[ne.name];const Ge=xe.findIndex(yt=>yt.name===ne.name);oe?(l==null?void 0:l[ne.name])!==void 0?Ve(Ge,l[ne.name]):"default"in ne&&ne.default!=null&&Ve(Ge,ne.default):Ve(Ge,void 0),R(ye)},Xt=()=>{const ne=[];for(const oe of xe){if(!oe||oe.optional||oe.hidden||pu.includes(oe.type))continue;const ye=D[oe.name];Le(oe,ye).length&&ne.push(oe.name)}ne&&Ke&&SI.isEqual(ne,Ke)||E(ne)},Lt=ne=>{S(oe=>(oe[ne.prop.name]=ne,oe)),Xt()},Dt=ne=>{if(!ne)return;let oe=[...k];const ye=(nt,Qe)=>{try{const ft=JSON.parse(nt),et={name:ft.name,message:ft.message};et.name&&et.message&&Qe.push(et)}catch{}},Ge=(nt,Qe)=>{const ft={name:nt.name,message:nt.message};ft.name&&ft.message&&Qe.push(ft)},yt=(nt,Qe)=>{var et,V;const ft={name:(et=nt.err)==null?void 0:et.name,message:(V=nt.err)==null?void 0:V.message};ft.name&&ft.message&&Qe.push(ft)},Bt=(nt,Qe)=>{const ft=nt.os||nt.observations;if(Array.isArray(ft)&&ft.length>0)for(let et=0;et<ft.length;et++)ft[et].k==="error"&&yt(ft[et],Qe)},Sn=(nt,Qe)=>{Qe.push({name:nt.error,message:JSON.stringify(nt.details)})},Mt=(nt,Qe)=>{var ft;try{const et=(ft=JSON.parse(nt.message))==null?void 0:ft.data;et&&"observations"in et?Bt(et,Qe):et&&"error"in et&&"details"in et&&Sn(et,Qe)}catch{}};if(Array.isArray(ne)&&ne.length>0)for(let nt=0;nt<ne.length;nt++){const Qe=ne[nt];typeof Qe=="string"?ye(Qe,oe):typeof Qe=="object"&&"name"in Qe&&"message"in Qe?Ge(Qe,oe):typeof Qe=="object"&&Qe.k==="error"&&yt(Qe,oe)}else typeof ne=="object"&&"os"in ne||"observations"in ne?Bt(ne,oe):typeof ne=="object"&&"message"in ne?Mt(ne,oe):oe=[];N(oe)},Nn={id:u,isValid:!Object.keys(P).length,props:t,userId:c,component:o,configurableProps:xe,configuredProps:D,dynamicProps:q,dynamicPropsQueryIsFetching:Oe,errors:P,fields:b,optionalPropIsEnabled:Y,optionalPropSetEnabled:vt,propsNeedConfiguring:Ke,queryDisabledIdx:g,registerField:Lt,setConfiguredProp:Ve,setSubmitting:F,submitting:A,sdkErrors:k,enableDebugging:h};return K.jsx(Ll.Provider,{value:Nn,children:e})};function Yr(e){"@babel/helpers - typeof";return Yr=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},Yr(e)}function EI(e,t){if(Yr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var u=r.call(e,t||"default");if(Yr(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ld(e){var t=EI(e,"string");return Yr(t)=="symbol"?t:t+""}function gu(e,t,r){return(t=Ld(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,u)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dd(Object(r),!0).forEach(function(u){gu(e,u,r[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dd(Object(r)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(r,u))})}return e}function FI(e){if(Array.isArray(e))return e}function PI(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var u,o,l,a,c=[],f=!0,h=!1;try{if(l=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(u=l.call(r)).done)&&(c.push(u.value),c.length!==t);f=!0);}catch(p){h=!0,o=p}finally{try{if(!f&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(h)throw o}}return c}}function Dl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,u=Array(t);r<t;r++)u[r]=e[r];return u}function Md(e,t){if(e){if(typeof e=="string")return Dl(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dl(e,t):void 0}}function OI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
41
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function or(e,t){return FI(e)||PI(e,t)||Md(e,t)||OI()}function TI(e,t){if(e==null)return{};var r={};for(var u in e)if({}.hasOwnProperty.call(e,u)){if(t.includes(u))continue;r[u]=e[u]}return r}function Un(e,t){if(e==null)return{};var r,u,o=TI(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(u=0;u<l.length;u++)r=l[u],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var BI=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Nd(e){var t=e.defaultInputValue,r=t===void 0?"":t,u=e.defaultMenuIsOpen,o=u===void 0?!1:u,l=e.defaultValue,a=l===void 0?null:l,c=e.inputValue,f=e.menuIsOpen,h=e.onChange,p=e.onInputChange,g=e.onMenuClose,I=e.onMenuOpen,b=e.value,S=Un(e,BI),A=H.useState(c!==void 0?c:r),F=or(A,2),P=F[0],L=F[1],k=H.useState(f!==void 0?f:o),N=or(k,2),X=N[0],R=N[1],Y=H.useState(b!==void 0?b:a),D=or(Y,2),j=D[0],Q=D[1],U=H.useCallback(function(Oe,Ke){typeof h=="function"&&h(Oe,Ke),Q(Oe)},[h]),q=H.useCallback(function(Oe,Ke){var E;typeof p=="function"&&(E=p(Oe,Ke)),L(E!==void 0?E:Oe)},[p]),be=H.useCallback(function(){typeof I=="function"&&I(),R(!0)},[I]),Se=H.useCallback(function(){typeof g=="function"&&g(),R(!1)},[g]),ue=c!==void 0?c:P,pe=f!==void 0?f:X,Ee=b!==void 0?b:j;return de(de({},S),{},{inputValue:ue,menuIsOpen:pe,onChange:U,onInputChange:q,onMenuClose:Se,onMenuOpen:be,value:Ee})}function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var u in r)({}).hasOwnProperty.call(r,u)&&(e[u]=r[u])}return e},me.apply(null,arguments)}function _I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vd(e,t){for(var r=0;r<t.length;r++){var u=t[r];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,Ld(u.key),u)}}function GI(e,t,r){return t&&Vd(e.prototype,t),r&&Vd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ml(e,t){return Ml=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,u){return r.__proto__=u,r},Ml(e,t)}function RI(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&&Ml(e,t)}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},go(e)}function Wd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Wd=function(){return!!e})()}function kI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LI(e,t){if(t&&(Yr(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kI(e)}function DI(e){var t=Wd();return function(){var r,u=go(e);if(t){var o=go(this).constructor;r=Reflect.construct(u,arguments,o)}else r=u.apply(this,arguments);return LI(this,r)}}function MI(e){if(Array.isArray(e))return Dl(e)}function NI(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VI(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
42
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xi(e){return MI(e)||NI(e)||Md(e)||VI()}function WI(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const XI=Math.min,HI=Math.max,mo=Math.round,bo=Math.floor,vo=e=>({x:e,y:e});function zI(e){const{x:t,y:r,width:u,height:o}=e;return{width:u,height:o,top:r,left:t,right:t+u,bottom:r+o,x:t,y:r}}function yo(){return typeof window<"u"}function Xd(e){return zd(e)?(e.nodeName||"").toLowerCase():"#document"}function sr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Hd(e){var t;return(t=(zd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zd(e){return yo()?e instanceof Node||e instanceof sr(e).Node:!1}function ZI(e){return yo()?e instanceof Element||e instanceof sr(e).Element:!1}function Nl(e){return yo()?e instanceof HTMLElement||e instanceof sr(e).HTMLElement:!1}function Zd(e){return!yo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof sr(e).ShadowRoot}function Yd(e){const{overflow:t,overflowX:r,overflowY:u,display:o}=Vl(e);return/auto|scroll|overlay|hidden|clip/.test(t+u+r)&&!["inline","contents"].includes(o)}function YI(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function JI(e){return["html","body","#document"].includes(Xd(e))}function Vl(e){return sr(e).getComputedStyle(e)}function jI(e){if(Xd(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zd(e)&&e.host||Hd(e);return Zd(t)?t.host:t}function Jd(e){const t=jI(e);return JI(t)?e.ownerDocument?e.ownerDocument.body:e.body:Nl(t)&&Yd(t)?t:Jd(t)}function Io(e,t,r){var u;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Jd(e),l=o===((u=e.ownerDocument)==null?void 0:u.body),a=sr(o);if(l){const c=Wl(a);return t.concat(a,a.visualViewport||[],Yd(o)?o:[],c&&r?Io(c):[])}return t.concat(o,Io(o,[],r))}function Wl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function UI(e){const t=Vl(e);let r=parseFloat(t.width)||0,u=parseFloat(t.height)||0;const o=Nl(e),l=o?e.offsetWidth:r,a=o?e.offsetHeight:u,c=mo(r)!==l||mo(u)!==a;return c&&(r=l,u=a),{width:r,height:u,$:c}}function Xl(e){return ZI(e)?e:e.contextElement}function jd(e){const t=Xl(e);if(!Nl(t))return vo(1);const r=t.getBoundingClientRect(),{width:u,height:o,$:l}=UI(t);let a=(l?mo(r.width):r.width)/u,c=(l?mo(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const QI=vo(0);function qI(e){const t=sr(e);return!YI()||!t.visualViewport?QI:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $I(e,t,r){return!1}function Ud(e,t,r,u){t===void 0&&(t=!1);const o=e.getBoundingClientRect(),l=Xl(e);let a=vo(1);t&&(a=jd(e));const c=$I()?qI(l):vo(0);let f=(o.left+c.x)/a.x,h=(o.top+c.y)/a.y,p=o.width/a.x,g=o.height/a.y;if(l){const I=sr(l),b=u;let S=I,A=Wl(S);for(;A&&u&&b!==S;){const F=jd(A),P=A.getBoundingClientRect(),L=Vl(A),k=P.left+(A.clientLeft+parseFloat(L.paddingLeft))*F.x,N=P.top+(A.clientTop+parseFloat(L.paddingTop))*F.y;f*=F.x,h*=F.y,p*=F.x,g*=F.y,f+=k,h+=N,S=sr(A),A=Wl(S)}}return zI({width:p,height:g,x:f,y:h})}function KI(e,t){let r=null,u;const o=Hd(e);function l(){var c;clearTimeout(u),(c=r)==null||c.disconnect(),r=null}function a(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),l();const{left:h,top:p,width:g,height:I}=e.getBoundingClientRect();if(c||t(),!g||!I)return;const b=bo(p),S=bo(o.clientWidth-(h+g)),A=bo(o.clientHeight-(p+I)),F=bo(h),L={rootMargin:-b+"px "+-S+"px "+-A+"px "+-F+"px",threshold:HI(0,XI(1,f))||1};let k=!0;function N(X){const R=X[0].intersectionRatio;if(R!==f){if(!k)return a();R?a(!1,R):u=setTimeout(()=>{a(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(N,{...L,root:o.ownerDocument})}catch{r=new IntersectionObserver(N,L)}r.observe(e)}return a(!0),l}function e1(e,t,r,u){u===void 0&&(u={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=u,h=Xl(e),p=o||l?[...h?Io(h):[],...Io(t)]:[];p.forEach(P=>{o&&P.addEventListener("scroll",r,{passive:!0}),l&&P.addEventListener("resize",r)});const g=h&&c?KI(h,r):null;let I=-1,b=null;a&&(b=new ResizeObserver(P=>{let[L]=P;L&&L.target===h&&b&&(b.unobserve(t),cancelAnimationFrame(I),I=requestAnimationFrame(()=>{var k;(k=b)==null||k.observe(t)})),r()}),h&&!f&&b.observe(h),b.observe(t));let S,A=f?Ud(e):null;f&&F();function F(){const P=Ud(e);A&&(P.x!==A.x||P.y!==A.y||P.width!==A.width||P.height!==A.height)&&r(),A=P,S=requestAnimationFrame(F)}return r(),()=>{var P;p.forEach(L=>{o&&L.removeEventListener("scroll",r),l&&L.removeEventListener("resize",r)}),g==null||g(),(P=b)==null||P.disconnect(),b=null,f&&cancelAnimationFrame(S)}}var Hl=H.useLayoutEffect,t1=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Co=function(){};function n1(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function r1(e,t){for(var r=arguments.length,u=new Array(r>2?r-2:0),o=2;o<r;o++)u[o-2]=arguments[o];var l=[].concat(u);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&l.push("".concat(n1(e,a)));return l.filter(function(c){return c}).map(function(c){return String(c).trim()}).join(" ")}var xo=function(t){return d1(t)?t.filter(Boolean):Yr(t)==="object"&&t!==null?[t]:[]},Qd=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 r=Un(t,t1);return de({},r)},mt=function(t,r,u){var o=t.cx,l=t.getStyles,a=t.getClassNames,c=t.className;return{css:l(r,t),className:o(u??{},a(r,t),c)}};function Ao(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function i1(e){return Ao(e)?window.innerHeight:e.clientHeight}function qd(e){return Ao(e)?window.pageYOffset:e.scrollTop}function wo(e,t){if(Ao(e)){window.scrollTo(0,t);return}e.scrollTop=t}function u1(e){var t=getComputedStyle(e),r=t.position==="absolute",u=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(r&&t.position==="static")&&u.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function o1(e,t,r,u){return r*((e=e/u-1)*e*e+1)+t}function So(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Co,o=qd(e),l=t-o,a=10,c=0;function f(){c+=a;var h=o1(c,o,l,r);wo(e,h),c<r?window.requestAnimationFrame(f):u(e)}f()}function $d(e,t){var r=e.getBoundingClientRect(),u=t.getBoundingClientRect(),o=t.offsetHeight/3;u.bottom+o>r.bottom?wo(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):u.top-o<r.top&&wo(e,Math.max(t.offsetTop-o,0))}function s1(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 Kd(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function l1(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var eh=!1,a1={get passive(){return eh=!0}},Eo=typeof window<"u"?window:{};Eo.addEventListener&&Eo.removeEventListener&&(Eo.addEventListener("p",Co,a1),Eo.removeEventListener("p",Co,!1));var c1=eh;function f1(e){return e!=null}function d1(e){return Array.isArray(e)}function mu(e,t,r){return e?t:r}function CP(e){return e}function xP(e){return e}var h1=function(t){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var l=Object.entries(t).filter(function(a){var c=or(a,1),f=c[0];return!u.includes(f)});return l.reduce(function(a,c){var f=or(c,2),h=f[0],p=f[1];return a[h]=p,a},{})},p1=["children","innerProps"],g1=["children","innerProps"];function m1(e){var t=e.maxHeight,r=e.menuEl,u=e.minHeight,o=e.placement,l=e.shouldScroll,a=e.isFixedPosition,c=e.controlHeight,f=u1(r),h={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return h;var p=f.getBoundingClientRect(),g=p.height,I=r.getBoundingClientRect(),b=I.bottom,S=I.height,A=I.top,F=r.offsetParent.getBoundingClientRect(),P=F.top,L=a?window.innerHeight:i1(f),k=qd(f),N=parseInt(getComputedStyle(r).marginBottom,10),X=parseInt(getComputedStyle(r).marginTop,10),R=P-X,Y=L-A,D=R+k,j=g-k-A,Q=b-L+k+N,U=k+A-X,q=160;switch(o){case"auto":case"bottom":if(Y>=S)return{placement:"bottom",maxHeight:t};if(j>=S&&!a)return l&&So(f,Q,q),{placement:"bottom",maxHeight:t};if(!a&&j>=u||a&&Y>=u){l&&So(f,Q,q);var be=a?Y-N:j-N;return{placement:"bottom",maxHeight:be}}if(o==="auto"||a){var Se=t,ue=a?R:D;return ue>=u&&(Se=Math.min(ue-N-c,t)),{placement:"top",maxHeight:Se}}if(o==="bottom")return l&&wo(f,Q),{placement:"bottom",maxHeight:t};break;case"top":if(R>=S)return{placement:"top",maxHeight:t};if(D>=S&&!a)return l&&So(f,U,q),{placement:"top",maxHeight:t};if(!a&&D>=u||a&&R>=u){var pe=t;return(!a&&D>=u||a&&R>=u)&&(pe=a?R-X:D-X),l&&So(f,U,q),{placement:"top",maxHeight:pe}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return h}function b1(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var th=function(t){return t==="auto"?"bottom":t},v1=function(t,r){var u,o=t.placement,l=t.theme,a=l.borderRadius,c=l.spacing,f=l.colors;return de((u={label:"menu"},gu(u,b1(o),"100%"),gu(u,"position","absolute"),gu(u,"width","100%"),gu(u,"zIndex",1),u),r?{}:{backgroundColor:f.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:c.menuGutter,marginTop:c.menuGutter})},nh=H.createContext(null),y1=function(t){var r=t.children,u=t.minMenuHeight,o=t.maxMenuHeight,l=t.menuPlacement,a=t.menuPosition,c=t.menuShouldScrollIntoView,f=t.theme,h=H.useContext(nh)||{},p=h.setPortalPlacement,g=H.useRef(null),I=H.useState(o),b=or(I,2),S=b[0],A=b[1],F=H.useState(null),P=or(F,2),L=P[0],k=P[1],N=f.spacing.controlHeight;return Hl(function(){var X=g.current;if(X){var R=a==="fixed",Y=c&&!R,D=m1({maxHeight:o,menuEl:X,minHeight:u,placement:l,shouldScroll:Y,isFixedPosition:R,controlHeight:N});A(D.maxHeight),k(D.placement),p==null||p(D.placement)}},[o,l,a,c,u,p,N]),r({ref:g,placerProps:de(de({},t),{},{placement:L||th(l),maxHeight:S})})},I1=function(t){var r=t.children,u=t.innerRef,o=t.innerProps;return ce.jsx("div",me({},mt(t,"menu",{menu:!0}),{ref:u},o),r)},C1=I1,x1=function(t,r){var u=t.maxHeight,o=t.theme.spacing.baseUnit;return de({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:o,paddingTop:o})},A1=function(t){var r=t.children,u=t.innerProps,o=t.innerRef,l=t.isMulti;return ce.jsx("div",me({},mt(t,"menuList",{"menu-list":!0,"menu-list--is-multi":l}),{ref:o},u),r)},rh=function(t,r){var u=t.theme,o=u.spacing.baseUnit,l=u.colors;return de({textAlign:"center"},r?{}:{color:l.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},w1=rh,S1=rh,E1=function(t){var r=t.children,u=r===void 0?"No options":r,o=t.innerProps,l=Un(t,p1);return ce.jsx("div",me({},mt(de(de({},l),{},{children:u,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),u)},F1=function(t){var r=t.children,u=r===void 0?"Loading...":r,o=t.innerProps,l=Un(t,g1);return ce.jsx("div",me({},mt(de(de({},l),{},{children:u,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),u)},P1=function(t){var r=t.rect,u=t.offset,o=t.position;return{left:r.left,position:o,top:u,width:r.width,zIndex:1}},O1=function(t){var r=t.appendTo,u=t.children,o=t.controlElement,l=t.innerProps,a=t.menuPlacement,c=t.menuPosition,f=H.useRef(null),h=H.useRef(null),p=H.useState(th(a)),g=or(p,2),I=g[0],b=g[1],S=H.useMemo(function(){return{setPortalPlacement:b}},[]),A=H.useState(null),F=or(A,2),P=F[0],L=F[1],k=H.useCallback(function(){if(o){var Y=s1(o),D=c==="fixed"?0:window.pageYOffset,j=Y[I]+D;(j!==(P==null?void 0:P.offset)||Y.left!==(P==null?void 0:P.rect.left)||Y.width!==(P==null?void 0:P.rect.width))&&L({offset:j,rect:Y})}},[o,c,I,P==null?void 0:P.offset,P==null?void 0:P.rect.left,P==null?void 0:P.rect.width]);Hl(function(){k()},[k]);var N=H.useCallback(function(){typeof h.current=="function"&&(h.current(),h.current=null),o&&f.current&&(h.current=e1(o,f.current,k,{elementResize:"ResizeObserver"in window}))},[o,k]);Hl(function(){N()},[N]);var X=H.useCallback(function(Y){f.current=Y,N()},[N]);if(!r&&c!=="fixed"||!P)return null;var R=ce.jsx("div",me({ref:X},mt(de(de({},t),{},{offset:P.offset,position:c,rect:P.rect}),"menuPortal",{"menu-portal":!0}),l),u);return ce.jsx(nh.Provider,{value:S},r?Hs.createPortal(R,r):R)},T1=function(t){var r=t.isDisabled,u=t.isRtl;return{label:"container",direction:u?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},B1=function(t){var r=t.children,u=t.innerProps,o=t.isDisabled,l=t.isRtl;return ce.jsx("div",me({},mt(t,"container",{"--is-disabled":o,"--is-rtl":l}),u),r)},_1=function(t,r){var u=t.theme.spacing,o=t.isMulti,l=t.hasValue,a=t.selectProps.controlShouldRenderValue;return de({alignItems:"center",display:o&&l&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(u.baseUnit*2,"px")})},G1=function(t){var r=t.children,u=t.innerProps,o=t.isMulti,l=t.hasValue;return ce.jsx("div",me({},mt(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":l}),u),r)},R1=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},k1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",me({},mt(t,"indicatorsContainer",{indicators:!0}),u),r)},ih,L1=["size"],D1=["innerProps","isRtl","size"];function M1(){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 N1=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1w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BvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:M1},uh=function(t){var r=t.size,u=Un(t,L1);return ce.jsx("svg",me({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:N1},u))},zl=function(t){return ce.jsx(uh,me({size:20},t),ce.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"}))},oh=function(t){return ce.jsx(uh,me({size:20},t),ce.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"}))},sh=function(t,r){var u=t.isFocused,o=t.theme,l=o.spacing.baseUnit,a=o.colors;return de({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:u?a.neutral60:a.neutral20,padding:l*2,":hover":{color:u?a.neutral80:a.neutral40}})},V1=sh,W1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",me({},mt(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),r||ce.jsx(oh,null))},X1=sh,H1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",me({},mt(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),r||ce.jsx(zl,null))},z1=function(t,r){var u=t.isDisabled,o=t.theme,l=o.spacing.baseUnit,a=o.colors;return de({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:u?a.neutral10:a.neutral20,marginBottom:l*2,marginTop:l*2})},Z1=function(t){var r=t.innerProps;return ce.jsx("span",me({},r,mt(t,"indicatorSeparator",{"indicator-separator":!0})))},Y1=ce.keyframes(ih||(ih=WI([`
|
|
43
43
|
0%, 80%, 100% { opacity: 0; }
|
|
44
44
|
40% { opacity: 1; }
|
|
45
|
-
`]))),J1=function(t,r){var u=t.isFocused,o=t.size,l=t.theme,a=l.colors,c=l.spacing.baseUnit;return he({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},r?{}:{color:u?a.neutral60:a.neutral20,padding:c*2})},zl=function(t){var r=t.delay,u=t.offset;return ce.jsx("span",{css:ce.css({animation:"".concat(Y1," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL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kZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},U1=function(t){var r=t.innerProps,u=t.isRtl,o=t.size,l=o===void 0?4:o,a=Wn(t,D1);return ce.jsx("div",be({},dt(he(he({},a),{},{innerProps:r,isRtl:u,size:l}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),ce.jsx(zl,{delay:0,offset:u}),ce.jsx(zl,{delay:160,offset:!0}),ce.jsx(zl,{delay:320,offset:!u}))},j1=function(t,r){var u=t.isDisabled,o=t.isFocused,l=t.theme,a=l.colors,c=l.borderRadius,f=l.spacing;return he({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:f.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:u?a.neutral5:a.neutral0,borderColor:u?a.neutral10:o?a.primary:a.neutral20,borderRadius:c,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},Q1=function(t){var r=t.children,u=t.isDisabled,o=t.isFocused,l=t.innerRef,a=t.innerProps,c=t.menuIsOpen;return ce.jsx("div",be({ref:l},dt(t,"control",{control:!0,"control--is-disabled":u,"control--is-focused":o,"control--menu-is-open":c}),a,{"aria-disabled":u||void 0}),r)},q1=Q1,$1=["data"],K1=function(t,r){var u=t.theme.spacing;return r?{}:{paddingBottom:u.baseUnit*2,paddingTop:u.baseUnit*2}},eC=function(t){var r=t.children,u=t.cx,o=t.getStyles,l=t.getClassNames,a=t.Heading,c=t.headingProps,f=t.innerProps,h=t.label,p=t.theme,g=t.selectProps;return ce.jsx("div",be({},dt(t,"group",{group:!0}),f),ce.jsx(a,be({},c,{selectProps:g,theme:p,getStyles:o,getClassNames:l,cx:u}),h),ce.jsx("div",null,r))},tC=function(t,r){var u=t.theme,o=u.colors,l=u.spacing;return he({label:"group",cursor:"default",display:"block"},r?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:l.baseUnit*3,paddingRight:l.baseUnit*3,textTransform:"uppercase"})},nC=function(t){var r=Qd(t);r.data;var u=Wn(r,$1);return ce.jsx("div",be({},dt(t,"groupHeading",{"group-heading":!0}),u))},rC=eC,iC=["innerRef","isDisabled","isHidden","inputClassName"],uC=function(t,r){var u=t.isDisabled,o=t.value,l=t.theme,a=l.spacing,c=l.colors;return he(he({visibility:u?"hidden":"visible",transform:o?"translateZ(0)":""},oC),r?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:c.neutral80})},lh={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},oC={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":he({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},lh)},sC=function(t){return he({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},lh)},lC=function(t){var r=t.cx,u=t.value,o=Qd(t),l=o.innerRef,a=o.isDisabled,c=o.isHidden,f=o.inputClassName,h=Wn(o,iC);return ce.jsx("div",be({},dt(t,"input",{"input-container":!0}),{"data-value":u||""}),ce.jsx("input",be({className:r({input:!0},f),ref:l,style:sC(c),disabled:a},h)))},aC=lC,cC=function(t,r){var u=t.theme,o=u.spacing,l=u.borderRadius,a=u.colors;return he({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:a.neutral10,borderRadius:l/2,margin:o.baseUnit/2})},fC=function(t,r){var u=t.theme,o=u.borderRadius,l=u.colors,a=t.cropWithEllipsis;return he({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:o/2,color:l.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},dC=function(t,r){var u=t.theme,o=u.spacing,l=u.borderRadius,a=u.colors,c=t.isFocused;return he({alignItems:"center",display:"flex"},r?{}:{borderRadius:l/2,backgroundColor:c?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},ah=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",u,r)},hC=ah,pC=ah;function gC(e){var t=e.children,r=e.innerProps;return ce.jsx("div",be({role:"button"},r),t||ce.jsx(Hl,{size:14}))}var mC=function(t){var r=t.children,u=t.components,o=t.data,l=t.innerProps,a=t.isDisabled,c=t.removeProps,f=t.selectProps,h=u.Container,p=u.Label,g=u.Remove;return ce.jsx(h,{data:o,innerProps:he(he({},dt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),l),selectProps:f},ce.jsx(p,{data:o,innerProps:he({},dt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:f},r),ce.jsx(g,{data:o,innerProps:he(he({},dt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},c),selectProps:f}))},bC=mC,vC=function(t,r){var u=t.isDisabled,o=t.isFocused,l=t.isSelected,a=t.theme,c=a.spacing,f=a.colors;return he({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:l?f.primary:o?f.primary25:"transparent",color:u?f.neutral20:l?f.neutral0:"inherit",padding:"".concat(c.baseUnit*2,"px ").concat(c.baseUnit*3,"px"),":active":{backgroundColor:u?void 0:l?f.primary:f.primary50}})},yC=function(t){var r=t.children,u=t.isDisabled,o=t.isFocused,l=t.isSelected,a=t.innerRef,c=t.innerProps;return ce.jsx("div",be({},dt(t,"option",{option:!0,"option--is-disabled":u,"option--is-focused":o,"option--is-selected":l}),{ref:a,"aria-disabled":u},c),r)},IC=yC,CC=function(t,r){var u=t.theme,o=u.spacing,l=u.colors;return he({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:l.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},xC=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",be({},dt(t,"placeholder",{placeholder:!0}),u),r)},AC=xC,wC=function(t,r){var u=t.isDisabled,o=t.theme,l=o.spacing,a=o.colors;return he({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:u?a.neutral40:a.neutral80,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},SC=function(t){var r=t.children,u=t.isDisabled,o=t.innerProps;return ce.jsx("div",be({},dt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),o),r)},EC=SC,mu={ClearIndicator:H1,Control:q1,DropdownIndicator:W1,DownChevron:oh,CrossIcon:Hl,Group:rC,GroupHeading:nC,IndicatorsContainer:k1,IndicatorSeparator:Z1,Input:aC,LoadingIndicator:U1,Menu:C1,MenuList:A1,MenuPortal:T1,LoadingMessage:F1,NoOptionsMessage:E1,MultiValue:bC,MultiValueContainer:hC,MultiValueLabel:pC,MultiValueRemove:gC,Option:IC,Placeholder:AC,SelectContainer:B1,SingleValue:EC,ValueContainer:G1},FC=function(t){return he(he({},mu),t.components)},ch=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function PC(e,t){return!!(e===t||ch(e)&&ch(t))}function TC(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!PC(e[r],t[r]))return!1;return!0}function OC(e,t){t===void 0&&(t=TC);var r=null;function u(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];if(r&&r.lastThis===this&&t(o,r.lastArgs))return r.lastResult;var a=e.apply(this,o);return r={lastResult:a,lastArgs:o,lastThis:this},a}return u.clear=function(){r=null},u}function BC(){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 _C=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:BC},GC=function(t){return ce.jsx("span",be({css:_C},t))},fh=GC,RC={guidance:function(t){var r=t.isSearchable,u=t.isMulti,o=t.tabSelectsValue,l=t.context,a=t.isInitialFocus;switch(l){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(o?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(u?" 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 r=t.action,u=t.label,o=u===void 0?"":u,l=t.labels,a=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(l.length>1?"s":""," ").concat(l.join(","),", selected.");case"select-option":return a?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var r=t.context,u=t.focused,o=t.options,l=t.label,a=l===void 0?"":l,c=t.selectValue,f=t.isDisabled,h=t.isSelected,p=t.isAppleDevice,g=function(A,F){return A&&A.length?"".concat(A.indexOf(F)+1," of ").concat(A.length):""};if(r==="value"&&c)return"value ".concat(a," focused, ").concat(g(c,u),".");if(r==="menu"&&p){var I=f?" disabled":"",b="".concat(h?" selected":"").concat(I);return"".concat(a).concat(b,", ").concat(g(o,u),".")}return""},onFilter:function(t){var r=t.inputValue,u=t.resultsMessage;return"".concat(u).concat(r?" for search term "+r:"",".")}},kC=function(t){var r=t.ariaSelection,u=t.focusedOption,o=t.focusedValue,l=t.focusableOptions,a=t.isFocused,c=t.selectValue,f=t.selectProps,h=t.id,p=t.isAppleDevice,g=f.ariaLiveMessages,I=f.getOptionLabel,b=f.inputValue,E=f.isMulti,A=f.isOptionDisabled,F=f.isSearchable,P=f.menuIsOpen,D=f.options,k=f.screenReaderStatus,L=f.tabSelectsValue,V=f.isLoading,R=f["aria-label"],J=f["aria-live"],N=Z.useMemo(function(){return he(he({},RC),g||{})},[g]),j=Z.useMemo(function(){var ie="";if(r&&N.onChange){var ge=r.option,de=r.options,Se=r.removedValue,qe=r.removedValues,S=r.value,He=function(ee){return Array.isArray(ee)?null:ee},Le=Se||ge||He(S),w=Le?I(Le):"",Je=de||qe||void 0,me=Je?Je.map(I):[],De=he({isDisabled:Le&&A(Le,c),label:w,labels:me},r);ie=N.onChange(De)}return ie},[r,N,A,c,I]),ne=Z.useMemo(function(){var ie="",ge=u||o,de=!!(u&&c&&c.includes(u));if(ge&&N.onFocus){var Se={focused:ge,label:I(ge),isDisabled:A(ge,c),isSelected:de,options:l,context:ge===u?"menu":"value",selectValue:c,isAppleDevice:p};ie=N.onFocus(Se)}return ie},[u,o,I,A,N,l,c,p]),$=Z.useMemo(function(){var ie="";if(P&&D.length&&!V&&N.onFilter){var ge=k({count:l.length});ie=N.onFilter({inputValue:b,resultsMessage:ge})}return ie},[l,b,P,N,D,k,V]),Q=(r==null?void 0:r.action)==="initial-input-focus",ve=Z.useMemo(function(){var ie="";if(N.guidance){var ge=o?"value":P?"menu":"input";ie=N.guidance({"aria-label":R,context:ge,isDisabled:u&&A(u,c),isMulti:E,isSearchable:F,tabSelectsValue:L,isInitialFocus:Q})}return ie},[R,u,o,E,A,F,P,N,c,L,Q]),Be=ce.jsx(Z.Fragment,null,ce.jsx("span",{id:"aria-selection"},j),ce.jsx("span",{id:"aria-focused"},ne),ce.jsx("span",{id:"aria-results"},$),ce.jsx("span",{id:"aria-guidance"},ve));return ce.jsx(Z.Fragment,null,ce.jsx(fh,{id:h},Q&&Be),ce.jsx(fh,{"aria-live":J,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!Q&&Be))},LC=kC,Zl=[{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źẑżžẓẕƶȥɀⱬꝣ"}],DC=new RegExp("["+Zl.map(function(e){return e.letters}).join("")+"]","g"),dh={},Yl=0;Yl<Zl.length;Yl++)for(var Jl=Zl[Yl],Ul=0;Ul<Jl.letters.length;Ul++)dh[Jl.letters[Ul]]=Jl.base;var hh=function(t){return t.replace(DC,function(r){return dh[r]})},MC=OC(hh),ph=function(t){return t.replace(/^\s+|\s+$/g,"")},NC=function(t){return"".concat(t.label," ").concat(t.value)},VC=function(t){return function(r,u){if(r.data.__isNew__)return!0;var o=he({ignoreCase:!0,ignoreAccents:!0,stringify:NC,trim:!0,matchFrom:"any"},t),l=o.ignoreCase,a=o.ignoreAccents,c=o.stringify,f=o.trim,h=o.matchFrom,p=f?ph(u):u,g=f?ph(c(r)):c(r);return l&&(p=p.toLowerCase(),g=g.toLowerCase()),a&&(p=MC(p),g=hh(g)),h==="start"?g.substr(0,p.length)===p:g.indexOf(p)>-1}},WC=["innerRef"];function XC(e){var t=e.innerRef,r=Wn(e,WC),u=h1(r,"onExited","in","enter","exit","appear");return ce.jsx("input",be({ref:t},u,{css:ce.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0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mFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var HC=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function zC(e){var t=e.isEnabled,r=e.onBottomArrive,u=e.onBottomLeave,o=e.onTopArrive,l=e.onTopLeave,a=Z.useRef(!1),c=Z.useRef(!1),f=Z.useRef(0),h=Z.useRef(null),p=Z.useCallback(function(F,P){if(h.current!==null){var D=h.current,k=D.scrollTop,L=D.scrollHeight,V=D.clientHeight,R=h.current,J=P>0,N=L-V-k,j=!1;N>P&&a.current&&(u&&u(F),a.current=!1),J&&c.current&&(l&&l(F),c.current=!1),J&&P>N?(r&&!a.current&&r(F),R.scrollTop=L,j=!0,a.current=!0):!J&&-P>k&&(o&&!c.current&&o(F),R.scrollTop=0,j=!0,c.current=!0),j&&HC(F)}},[r,u,o,l]),g=Z.useCallback(function(F){p(F,F.deltaY)},[p]),I=Z.useCallback(function(F){f.current=F.changedTouches[0].clientY},[]),b=Z.useCallback(function(F){var P=f.current-F.changedTouches[0].clientY;p(F,P)},[p]),E=Z.useCallback(function(F){if(F){var P=c1?{passive:!1}:!1;F.addEventListener("wheel",g,P),F.addEventListener("touchstart",I,P),F.addEventListener("touchmove",b,P)}},[b,I,g]),A=Z.useCallback(function(F){F&&(F.removeEventListener("wheel",g,!1),F.removeEventListener("touchstart",I,!1),F.removeEventListener("touchmove",b,!1))},[b,I,g]);return Z.useEffect(function(){if(t){var F=h.current;return E(F),function(){A(F)}}},[t,E,A]),function(F){h.current=F}}var gh=["boxSizing","height","overflow","paddingRight","position"],mh={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function bh(e){e.cancelable&&e.preventDefault()}function vh(e){e.stopPropagation()}function yh(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function Ih(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ch=!!(typeof window<"u"&&window.document&&window.document.createElement),bu=0,yi={capture:!1,passive:!1};function ZC(e){var t=e.isEnabled,r=e.accountForScrollbars,u=r===void 0?!0:r,o=Z.useRef({}),l=Z.useRef(null),a=Z.useCallback(function(f){if(Ch){var h=document.body,p=h&&h.style;if(u&&gh.forEach(function(E){var A=p&&p[E];o.current[E]=A}),u&&bu<1){var g=parseInt(o.current.paddingRight,10)||0,I=document.body?document.body.clientWidth:0,b=window.innerWidth-I+g||0;Object.keys(mh).forEach(function(E){var A=mh[E];p&&(p[E]=A)}),p&&(p.paddingRight="".concat(b,"px"))}h&&Ih()&&(h.addEventListener("touchmove",bh,yi),f&&(f.addEventListener("touchstart",yh,yi),f.addEventListener("touchmove",vh,yi))),bu+=1}},[u]),c=Z.useCallback(function(f){if(Ch){var h=document.body,p=h&&h.style;bu=Math.max(bu-1,0),u&&bu<1&&gh.forEach(function(g){var I=o.current[g];p&&(p[g]=I)}),h&&Ih()&&(h.removeEventListener("touchmove",bh,yi),f&&(f.removeEventListener("touchstart",yh,yi),f.removeEventListener("touchmove",vh,yi)))}},[u]);return Z.useEffect(function(){if(t){var f=l.current;return a(f),function(){c(f)}}},[t,a,c]),function(f){l.current=f}}function YC(){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 JC=function(t){var r=t.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},UC=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ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cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:YC};function jC(e){var t=e.children,r=e.lockEnabled,u=e.captureEnabled,o=u===void 0?!0:u,l=e.onBottomArrive,a=e.onBottomLeave,c=e.onTopArrive,f=e.onTopLeave,h=zC({isEnabled:o,onBottomArrive:l,onBottomLeave:a,onTopArrive:c,onTopLeave:f}),p=ZC({isEnabled:r}),g=function(b){h(b),p(b)};return ce.jsx(Z.Fragment,null,r&&ce.jsx("div",{onClick:JC,css:UC}),t(g))}function QC(){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 qC=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:QC},$C=function(t){var r=t.name,u=t.onFocus;return ce.jsx("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:qC,value:"",onChange:function(){}})},KC=$C;function jl(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 ex(){return jl(/^iPhone/i)}function xh(){return jl(/^Mac/i)}function tx(){return jl(/^iPad/i)||xh()&&navigator.maxTouchPoints>1}function nx(){return ex()||tx()}function rx(){return xh()||nx()}var ix=function(t){return t.label},Ah=function(t){return t.label},wh=function(t){return t.value},ux=function(t){return!!t.isDisabled},ox={clearIndicator:X1,container:O1,control:j1,dropdownIndicator:V1,group:K1,groupHeading:tC,indicatorsContainer:R1,indicatorSeparator:z1,input:uC,loadingIndicator:J1,loadingMessage:S1,menu:v1,menuList:x1,menuPortal:P1,multiValue:cC,multiValueLabel:fC,multiValueRemove:dC,noOptionsMessage:w1,option:vC,placeholder:CC,singleValue:wC,valueContainer:_1};function sx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=he({},e);return Object.keys(t).forEach(function(u){var o=u;e[o]?r[o]=function(l,a){return t[o](e[o](l,a),a)}:r[o]=t[o]}),r}var lx={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%)"},ax=4,Sh=4,cx=38,fx=Sh*2,dx={baseUnit:Sh,controlHeight:cx,menuGutter:fx},vu={borderRadius:ax,colors:lx,spacing:dx},hx={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Kd(),captureMenuScroll:!Kd(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:VC(),formatGroupLabel:ix,getOptionLabel:Ah,getOptionValue:wh,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ux,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!l1(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Eh(e,t,r,u){var o=Bh(e,t,r),l=_h(e,t,r),a=Oh(e,t),c=Fo(e,t);return{type:"option",data:t,isDisabled:o,isSelected:l,label:a,value:c,index:u}}function Eo(e,t){return e.options.map(function(r,u){if("options"in r){var o=r.options.map(function(a,c){return Eh(e,a,t,c)}).filter(function(a){return Th(e,a)});return o.length>0?{type:"group",data:r,options:o,index:u}:void 0}var l=Eh(e,r,t,u);return Th(e,l)?l:void 0}).filter(f1)}function Fh(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,vi(r.options.map(function(u){return u.data}))):t.push(r.data),t},[])}function Ph(e,t){return e.reduce(function(r,u){return u.type==="group"?r.push.apply(r,vi(u.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(u.index,"-").concat(o.index)}}))):r.push({data:u.data,id:"".concat(t,"-").concat(u.index)}),r},[])}function px(e,t){return Fh(Eo(e,t))}function Th(e,t){var r=e.inputValue,u=r===void 0?"":r,o=t.data,l=t.isSelected,a=t.label,c=t.value;return(!Rh(e)||!l)&&Gh(e,{label:a,value:c,data:o},u)}function gx(e,t){var r=e.focusedValue,u=e.selectValue,o=u.indexOf(r);if(o>-1){var l=t.indexOf(r);if(l>-1)return r;if(o<t.length)return t[o]}return null}function mx(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var Ql=function(t,r){var u,o=(u=t.find(function(l){return l.data===r}))===null||u===void 0?void 0:u.id;return o||null},Oh=function(t,r){return t.getOptionLabel(r)},Fo=function(t,r){return t.getOptionValue(r)};function Bh(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function _h(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var u=Fo(e,t);return r.some(function(o){return Fo(e,o)===u})}function Gh(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var Rh=function(t){var r=t.hideSelectedOptions,u=t.isMulti;return r===void 0?u:r},bx=1,ql=function(e){RI(r,e);var t=DI(r);function r(u){var o;if(_I(this,r),o=t.call(this,u),o.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:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=rx(),o.controlRef=null,o.getControlRef=function(f){o.controlRef=f},o.focusedOptionRef=null,o.getFocusedOptionRef=function(f){o.focusedOptionRef=f},o.menuListRef=null,o.getMenuListRef=function(f){o.menuListRef=f},o.inputRef=null,o.getInputRef=function(f){o.inputRef=f},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(f,h){var p=o.props,g=p.onChange,I=p.name;h.name=I,o.ariaOnChange(f,h),g(f,h)},o.setValue=function(f,h,p){var g=o.props,I=g.closeMenuOnSelect,b=g.isMulti,E=g.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:E}),I&&(o.setState({inputIsHiddenAfterUpdate:!b}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(f,{action:h,option:p})},o.selectOption=function(f){var h=o.props,p=h.blurInputOnSelect,g=h.isMulti,I=h.name,b=o.state.selectValue,E=g&&o.isOptionSelected(f,b),A=o.isOptionDisabled(f,b);if(E){var F=o.getOptionValue(f);o.setValue(b.filter(function(P){return o.getOptionValue(P)!==F}),"deselect-option",f)}else if(!A)g?o.setValue([].concat(vi(b),[f]),"select-option",f):o.setValue(f,"select-option");else{o.ariaOnChange(f,{action:"select-option",option:f,name:I});return}p&&o.blurInput()},o.removeValue=function(f){var h=o.props.isMulti,p=o.state.selectValue,g=o.getOptionValue(f),I=p.filter(function(E){return o.getOptionValue(E)!==g}),b=gu(h,I,I[0]||null);o.onChange(b,{action:"remove-value",removedValue:f}),o.focusInput()},o.clearValue=function(){var f=o.state.selectValue;o.onChange(gu(o.props.isMulti,[],null),{action:"clear",removedValues:f})},o.popValue=function(){var f=o.props.isMulti,h=o.state.selectValue,p=h[h.length-1],g=h.slice(0,h.length-1),I=gu(f,g,g[0]||null);p&&o.onChange(I,{action:"pop-value",removedValue:p})},o.getFocusedOptionId=function(f){return Ql(o.state.focusableOptionsWithIds,f)},o.getFocusableOptionsWithIds=function(){return Ph(Eo(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];return r1.apply(void 0,[o.props.classNamePrefix].concat(h))},o.getOptionLabel=function(f){return Oh(o.props,f)},o.getOptionValue=function(f){return Fo(o.props,f)},o.getStyles=function(f,h){var p=o.props.unstyled,g=ox[f](h,p);g.boxSizing="border-box";var I=o.props.styles[f];return I?I(g,h):g},o.getClassNames=function(f,h){var p,g;return(p=(g=o.props.classNames)[f])===null||p===void 0?void 0:p.call(g,h)},o.getElementId=function(f){return"".concat(o.state.instancePrefix,"-").concat(f)},o.getComponents=function(){return FC(o.props)},o.buildCategorizedOptions=function(){return Eo(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Fh(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(f,h){o.setState({ariaSelection:he({value:f},h)})},o.onMenuMouseDown=function(f){f.button===0&&(f.stopPropagation(),f.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(f){o.blockOptionHover=!1},o.onControlMouseDown=function(f){if(!f.defaultPrevented){var h=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&o.onMenuClose():h&&o.openMenu("first"):(h&&(o.openAfterFocus=!0),o.focusInput()),f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&f.preventDefault()}},o.onDropdownIndicatorMouseDown=function(f){if(!(f&&f.type==="mousedown"&&f.button!==0)&&!o.props.isDisabled){var h=o.props,p=h.isMulti,g=h.menuIsOpen;o.focusInput(),g?(o.setState({inputIsHiddenAfterUpdate:!p}),o.onMenuClose()):o.openMenu("first"),f.preventDefault()}},o.onClearIndicatorMouseDown=function(f){f&&f.type==="mousedown"&&f.button!==0||(o.clearValue(),f.preventDefault(),o.openAfterFocus=!1,f.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(f){typeof o.props.closeMenuOnScroll=="boolean"?f.target instanceof HTMLElement&&xo(f.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(f)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(f){var h=f.touches,p=h&&h.item(0);p&&(o.initialTouchX=p.clientX,o.initialTouchY=p.clientY,o.userIsDragging=!1)},o.onTouchMove=function(f){var h=f.touches,p=h&&h.item(0);if(p){var g=Math.abs(p.clientX-o.initialTouchX),I=Math.abs(p.clientY-o.initialTouchY),b=5;o.userIsDragging=g>b||I>b}},o.onTouchEnd=function(f){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(f.target)&&o.menuListRef&&!o.menuListRef.contains(f.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(f){o.userIsDragging||o.onControlMouseDown(f)},o.onClearIndicatorTouchEnd=function(f){o.userIsDragging||o.onClearIndicatorMouseDown(f)},o.onDropdownIndicatorTouchEnd=function(f){o.userIsDragging||o.onDropdownIndicatorMouseDown(f)},o.handleInputChange=function(f){var h=o.props.inputValue,p=f.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(p,{action:"input-change",prevInputValue:h}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(f){o.props.onFocus&&o.props.onFocus(f),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(f){var h=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(f),o.onInputChange("",{action:"input-blur",prevInputValue:h}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(f){if(!(o.blockOptionHover||o.state.focusedOption===f)){var h=o.getFocusableOptions(),p=h.indexOf(f);o.setState({focusedOption:f,focusedOptionId:p>-1?o.getFocusedOptionId(f):null})}},o.shouldHideSelectedOptions=function(){return Rh(o.props)},o.onValueInputFocus=function(f){f.preventDefault(),f.stopPropagation(),o.focus()},o.onKeyDown=function(f){var h=o.props,p=h.isMulti,g=h.backspaceRemovesValue,I=h.escapeClearsValue,b=h.inputValue,E=h.isClearable,A=h.isDisabled,F=h.menuIsOpen,P=h.onKeyDown,D=h.tabSelectsValue,k=h.openMenuOnFocus,L=o.state,V=L.focusedOption,R=L.focusedValue,J=L.selectValue;if(!A&&!(typeof P=="function"&&(P(f),f.defaultPrevented))){switch(o.blockOptionHover=!0,f.key){case"ArrowLeft":if(!p||b)return;o.focusValue("previous");break;case"ArrowRight":if(!p||b)return;o.focusValue("next");break;case"Delete":case"Backspace":if(b)return;if(R)o.removeValue(R);else{if(!g)return;p?o.popValue():E&&o.clearValue()}break;case"Tab":if(o.isComposing||f.shiftKey||!F||!D||!V||k&&o.isOptionSelected(V,J))return;o.selectOption(V);break;case"Enter":if(f.keyCode===229)break;if(F){if(!V||o.isComposing)return;o.selectOption(V);break}return;case"Escape":F?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:b}),o.onMenuClose()):E&&I&&o.clearValue();break;case" ":if(b)return;if(!F){o.openMenu("first");break}if(!V)return;o.selectOption(V);break;case"ArrowUp":F?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":F?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!F)return;o.focusOption("pageup");break;case"PageDown":if(!F)return;o.focusOption("pagedown");break;case"Home":if(!F)return;o.focusOption("first");break;case"End":if(!F)return;o.focusOption("last");break;default:return}f.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++bx),o.state.selectValue=Co(u.value),u.menuIsOpen&&o.state.selectValue.length){var l=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),c=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=l,o.state.focusedOption=a[c],o.state.focusedOptionId=Ql(l,a[c])}return o}return GI(r,[{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&&$d(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(o){var l=this.props,a=l.isDisabled,c=l.menuIsOpen,f=this.state.isFocused;(f&&!a&&o.isDisabled||f&&c&&!o.menuIsOpen)&&this.focusInput(),f&&a&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!f&&!a&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&($d(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(o,l){this.props.onInputChange(o,l)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var l=this,a=this.state,c=a.selectValue,f=a.isFocused,h=this.buildFocusableOptions(),p=o==="first"?0:h.length-1;if(!this.props.isMulti){var g=h.indexOf(c[0]);g>-1&&(p=g)}this.scrollToFocusedOptionOnUpdate=!(f&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:h[p],focusedOptionId:this.getFocusedOptionId(h[p])},function(){return l.onMenuOpen()})}},{key:"focusValue",value:function(o){var l=this.state,a=l.selectValue,c=l.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var f=a.indexOf(c);c||(f=-1);var h=a.length-1,p=-1;if(a.length){switch(o){case"previous":f===0?p=0:f===-1?p=h:p=f-1;break;case"next":f>-1&&f<h&&(p=f+1);break}this.setState({inputIsHidden:p!==-1,focusedValue:a[p]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",l=this.props.pageSize,a=this.state.focusedOption,c=this.getFocusableOptions();if(c.length){var f=0,h=c.indexOf(a);a||(h=-1),o==="up"?f=h>0?h-1:c.length-1:o==="down"?f=(h+1)%c.length:o==="pageup"?(f=h-l,f<0&&(f=0)):o==="pagedown"?(f=h+l,f>c.length-1&&(f=c.length-1)):o==="last"&&(f=c.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:c[f],focusedValue:null,focusedOptionId:this.getFocusedOptionId(c[f])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(vu):he(he({},vu),this.props.theme):vu}},{key:"getCommonProps",value:function(){var o=this.clearValue,l=this.cx,a=this.getStyles,c=this.getClassNames,f=this.getValue,h=this.selectOption,p=this.setValue,g=this.props,I=g.isMulti,b=g.isRtl,E=g.options,A=this.hasValue();return{clearValue:o,cx:l,getStyles:a,getClassNames:c,getValue:f,hasValue:A,isMulti:I,isRtl:b,options:E,selectOption:h,selectProps:g,setValue:p,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,l=o.isClearable,a=o.isMulti;return l===void 0?a:l}},{key:"isOptionDisabled",value:function(o,l){return Bh(this.props,o,l)}},{key:"isOptionSelected",value:function(o,l){return _h(this.props,o,l)}},{key:"filterOption",value:function(o,l){return Gh(this.props,o,l)}},{key:"formatOptionLabel",value:function(o,l){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,c=this.state.selectValue;return this.props.formatOptionLabel(o,{context:l,inputValue:a,selectValue:c})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{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 o=this.props,l=o.isDisabled,a=o.isSearchable,c=o.inputId,f=o.inputValue,h=o.tabIndex,p=o.form,g=o.menuIsOpen,I=o.required,b=this.getComponents(),E=b.Input,A=this.state,F=A.inputIsHidden,P=A.ariaSelection,D=this.commonProps,k=c||this.getElementId("input"),L=he(he(he({"aria-autocomplete":"list","aria-expanded":g,"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":I,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?(P==null?void 0:P.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?Fe.createElement(E,be({},D,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:k,innerRef:this.getInputRef,isDisabled:l,isHidden:F,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:h,form:p,type:"text",value:f},L)):Fe.createElement(XC,be({id:k,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Io,onFocus:this.onInputFocus,disabled:l,tabIndex:h,inputMode:"none",form:p,value:""},L))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,l=this.getComponents(),a=l.MultiValue,c=l.MultiValueContainer,f=l.MultiValueLabel,h=l.MultiValueRemove,p=l.SingleValue,g=l.Placeholder,I=this.commonProps,b=this.props,E=b.controlShouldRenderValue,A=b.isDisabled,F=b.isMulti,P=b.inputValue,D=b.placeholder,k=this.state,L=k.selectValue,V=k.focusedValue,R=k.isFocused;if(!this.hasValue()||!E)return P?null:Fe.createElement(g,be({},I,{key:"placeholder",isDisabled:A,isFocused:R,innerProps:{id:this.getElementId("placeholder")}}),D);if(F)return L.map(function(N,j){var ne=N===V,$="".concat(o.getOptionLabel(N),"-").concat(o.getOptionValue(N));return Fe.createElement(a,be({},I,{components:{Container:c,Label:f,Remove:h},isFocused:ne,isDisabled:A,key:$,index:j,removeProps:{onClick:function(){return o.removeValue(N)},onTouchEnd:function(){return o.removeValue(N)},onMouseDown:function(ve){ve.preventDefault()}},data:N}),o.formatOptionLabel(N,"value"))});if(P)return null;var J=L[0];return Fe.createElement(p,be({},I,{data:J,isDisabled:A}),this.formatOptionLabel(J,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),l=o.ClearIndicator,a=this.commonProps,c=this.props,f=c.isDisabled,h=c.isLoading,p=this.state.isFocused;if(!this.isClearable()||!l||f||!this.hasValue()||h)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Fe.createElement(l,be({},a,{innerProps:g,isFocused:p}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),l=o.LoadingIndicator,a=this.commonProps,c=this.props,f=c.isDisabled,h=c.isLoading,p=this.state.isFocused;if(!l||!h)return null;var g={"aria-hidden":"true"};return Fe.createElement(l,be({},a,{innerProps:g,isDisabled:f,isFocused:p}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),l=o.DropdownIndicator,a=o.IndicatorSeparator;if(!l||!a)return null;var c=this.commonProps,f=this.props.isDisabled,h=this.state.isFocused;return Fe.createElement(a,be({},c,{isDisabled:f,isFocused:h}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),l=o.DropdownIndicator;if(!l)return null;var a=this.commonProps,c=this.props.isDisabled,f=this.state.isFocused,h={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Fe.createElement(l,be({},a,{innerProps:h,isDisabled:c,isFocused:f}))}},{key:"renderMenu",value:function(){var o=this,l=this.getComponents(),a=l.Group,c=l.GroupHeading,f=l.Menu,h=l.MenuList,p=l.MenuPortal,g=l.LoadingMessage,I=l.NoOptionsMessage,b=l.Option,E=this.commonProps,A=this.state.focusedOption,F=this.props,P=F.captureMenuScroll,D=F.inputValue,k=F.isLoading,L=F.loadingMessage,V=F.minMenuHeight,R=F.maxMenuHeight,J=F.menuIsOpen,N=F.menuPlacement,j=F.menuPosition,ne=F.menuPortalTarget,$=F.menuShouldBlockScroll,Q=F.menuShouldScrollIntoView,ve=F.noOptionsMessage,Be=F.onMenuScrollToTop,ie=F.onMenuScrollToBottom;if(!J)return null;var ge=function(w,Je){var me=w.type,De=w.data,yt=w.isDisabled,ee=w.isSelected,oe=w.label,ye=w.value,Me=A===De,ct=yt?void 0:function(){return o.onOptionHover(De)},Gt=yt?void 0:function(){return o.selectOption(De)},At="".concat(o.getElementId("option"),"-").concat(Je),vn={id:At,onClick:Gt,onMouseMove:ct,onMouseOver:ct,tabIndex:-1,role:"option","aria-selected":o.isAppleDevice?void 0:ee};return Fe.createElement(b,be({},E,{innerProps:vn,data:De,isDisabled:yt,isSelected:ee,key:At,label:oe,type:me,value:ye,isFocused:Me,innerRef:Me?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(w.data,"menu"))},de;if(this.hasOptions())de=this.getCategorizedOptions().map(function(Le){if(Le.type==="group"){var w=Le.data,Je=Le.options,me=Le.index,De="".concat(o.getElementId("group"),"-").concat(me),yt="".concat(De,"-heading");return Fe.createElement(a,be({},E,{key:De,data:w,options:Je,Heading:c,headingProps:{id:yt,data:Le.data},label:o.formatGroupLabel(Le.data)}),Le.options.map(function(ee){return ge(ee,"".concat(me,"-").concat(ee.index))}))}else if(Le.type==="option")return ge(Le,"".concat(Le.index))});else if(k){var Se=L({inputValue:D});if(Se===null)return null;de=Fe.createElement(g,E,Se)}else{var qe=ve({inputValue:D});if(qe===null)return null;de=Fe.createElement(I,E,qe)}var S={minMenuHeight:V,maxMenuHeight:R,menuPlacement:N,menuPosition:j,menuShouldScrollIntoView:Q},He=Fe.createElement(y1,be({},E,S),function(Le){var w=Le.ref,Je=Le.placerProps,me=Je.placement,De=Je.maxHeight;return Fe.createElement(f,be({},E,S,{innerRef:w,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:k,placement:me}),Fe.createElement(jC,{captureEnabled:P,onTopArrive:Be,onBottomArrive:ie,lockEnabled:$},function(yt){return Fe.createElement(h,be({},E,{innerRef:function(oe){o.getMenuListRef(oe),yt(oe)},innerProps:{role:"listbox","aria-multiselectable":E.isMulti,id:o.getElementId("listbox")},isLoading:k,maxHeight:De,focusedOption:A}),de)}))});return ne||j==="fixed"?Fe.createElement(p,be({},E,{appendTo:ne,controlElement:this.controlRef,menuPlacement:N,menuPosition:j}),He):He}},{key:"renderFormField",value:function(){var o=this,l=this.props,a=l.delimiter,c=l.isDisabled,f=l.isMulti,h=l.name,p=l.required,g=this.state.selectValue;if(p&&!this.hasValue()&&!c)return Fe.createElement(KC,{name:h,onFocus:this.onValueInputFocus});if(!(!h||c))if(f)if(a){var I=g.map(function(A){return o.getOptionValue(A)}).join(a);return Fe.createElement("input",{name:h,type:"hidden",value:I})}else{var b=g.length>0?g.map(function(A,F){return Fe.createElement("input",{key:"i-".concat(F),name:h,type:"hidden",value:o.getOptionValue(A)})}):Fe.createElement("input",{name:h,type:"hidden",value:""});return Fe.createElement("div",null,b)}else{var E=g[0]?this.getOptionValue(g[0]):"";return Fe.createElement("input",{name:h,type:"hidden",value:E})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,l=this.state,a=l.ariaSelection,c=l.focusedOption,f=l.focusedValue,h=l.isFocused,p=l.selectValue,g=this.getFocusableOptions();return Fe.createElement(LC,be({},o,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:c,focusedValue:f,isFocused:h,selectValue:p,focusableOptions:g,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),l=o.Control,a=o.IndicatorsContainer,c=o.SelectContainer,f=o.ValueContainer,h=this.props,p=h.className,g=h.id,I=h.isDisabled,b=h.menuIsOpen,E=this.state.isFocused,A=this.commonProps=this.getCommonProps();return Fe.createElement(c,be({},A,{className:p,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:I,isFocused:E}),this.renderLiveRegion(),Fe.createElement(l,be({},A,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:I,isFocused:E,menuIsOpen:b}),Fe.createElement(f,be({},A,{isDisabled:I}),this.renderPlaceholderOrValue(),this.renderInput()),Fe.createElement(a,be({},A,{isDisabled:I}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,l){var a=l.prevProps,c=l.clearFocusValueOnUpdate,f=l.inputIsHiddenAfterUpdate,h=l.ariaSelection,p=l.isFocused,g=l.prevWasFocused,I=l.instancePrefix,b=o.options,E=o.value,A=o.menuIsOpen,F=o.inputValue,P=o.isMulti,D=Co(E),k={};if(a&&(E!==a.value||b!==a.options||A!==a.menuIsOpen||F!==a.inputValue)){var L=A?px(o,D):[],V=A?Ph(Eo(o,D),"".concat(I,"-option")):[],R=c?gx(l,D):null,J=mx(l,L),N=Ql(V,J);k={selectValue:D,focusedOption:J,focusedOptionId:N,focusableOptionsWithIds:V,focusedValue:R,clearFocusValueOnUpdate:!1}}var j=f!=null&&o!==a?{inputIsHidden:f,inputIsHiddenAfterUpdate:void 0}:{},ne=h,$=p&&g;return p&&!$&&(ne={value:gu(P,D,D[0]||null),options:D,action:"initial-input-focus"},$=!g),(h==null?void 0:h.action)==="initial-input-focus"&&(ne=null),he(he(he({},k),j),{},{prevProps:o,ariaSelection:ne,prevWasFocused:$})}}]),r}(Z.Component);ql.defaultProps=hx;var vx=Z.forwardRef(function(e,t){var r=Nd(e);return Fe.createElement(ql,be({ref:t},r))}),Po=vx;const yx=vu,To={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}},kh={colors:{},spacing:{baseUnit:4,controlHeight:32,menuGutter:8},boxShadow:{button:"none",input:"none",card:"none",dropdown:"none"}};function Lh(e){if(!e)return vu;const t=typeof e=="function"?e(To):e,{colors:r,spacing:u,borderRadius:o}=Oo(yx,t);return{borderRadius:o,colors:r,spacing:u}}function Oo(e,...t){const r={borderRadius:e.borderRadius,colors:{...e.colors},spacing:{...e.spacing},boxShadow:{...e.boxShadow}};for(const u of t)u&&(r.borderRadius=u.borderRadius??r.borderRadius,Object.assign(r.boxShadow,u.boxShadow),Object.assign(r.colors,u.colors),Object.assign(r.spacing,u.spacing));return r}function Dh(e){e.field||console.log("props",e);const{field:t,markdown:r}=e,{prop:u}=t,{getClassNames:o,getStyles:l,theme:a}=Yt(),c={color:a.colors.neutral50,fontWeight:400,fontSize:"0.75rem",gridArea:"description",textWrap:"balance",lineHeight:"1.5"};return u.type==="app"?q.jsx("p",{className:o("description",e),style:l("description",c,e),children:"Credentials are encrypted."}):u.description?q.jsxs("div",{className:o("description",e),style:l("description",c,e),children:[" ",q.jsx(dd,{components:{a:({...f})=>q.jsx("a",{...f,target:"_blank",rel:"noopener noreferrer"})},children:r})]}):null}function Mh(e){const{errors:t}=e,{getProps:r,theme:u}=Yt(),o={color:u.colors.danger,gridArea:"errors"};return t.length?q.jsx("ul",{...r("errors",o,e),children:t.map(l=>q.jsx("li",{...r("error",o,e),children:l},l))}):null}function Nh(e){const{text:t,field:r}=e,{id:u}=r,{getProps:o,theme:l}=Yt(),a={color:l.colors.neutral90,fontWeight:450,gridArea:"label",lineHeight:"1.5"};return q.jsx("label",{htmlFor:u,...o("label",a,e),children:t})}const Vh=e=>{const{prop:t,enabled:r,onClick:u}=e,{getProps:o,theme:l}=Yt(),a={color:l.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${l.spacing.baseUnit}px ${l.spacing.baseUnit*1.5}px ${l.spacing.baseUnit}px ${l.spacing.baseUnit*2.5}px`,border:`1px solid ${l.colors.neutral30}`,borderRadius:l.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:l.spacing.baseUnit*2,textWrap:"nowrap"};return q.jsxs("button",{onClick:u,type:"button",...o("optionalFieldButton",a,e),children:[q.jsx("span",{children:r?"-":"+"}),q.jsx("span",{style:{marginRight:8},children:t.label||t.name})]})},Wh=e=>{const{onChange:t}=e,{getProps:r,theme:u}=Yt(),o={backgroundColor:u.colors.primary,borderRadius:u.borderRadius,border:"solid 1px",borderColor:u.colors.primary25,color:u.colors.primary25,padding:"0.5rem",fontSize:"0.8125rem",fontWeight:"450",gridArea:"control",cursor:"pointer",width:"100%"};return q.jsx("button",{onClick:t,type:"button",...r("loadMoreButton",o,e),children:"Load More"})},Xh={Description:Dh,Errors:Mh,Label:Nh,OptionalFieldButton:Vh,Button:Wh},Bo=Z.createContext({classNames:{},classNamePrefix:"",components:{},styles:{},theme:To,unstyled:!1});function Ix(){const e=Z.useContext(Bo)??{},t=Lh(e.theme??{});function r(){return e.classNamePrefix??""}function u(c){var p;const f=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${c}`,h={...((p=e.classNames)==null?void 0:p[c])??{}};return typeof(h==null?void 0:h.container)=="function"&&(h.container=typeof(h==null?void 0:h.container)=="function"?(...g)=>{var I;return[(I=h==null?void 0:h.container)==null?void 0:I.call(h,...g),f].join(" ")}:()=>f),h}function o(c,f){var h;return{...mu,...f??{},...((h=e==null?void 0:e.components)==null?void 0:h[c])??{}}}function l(c,f){var h;return sx(((h=e.styles)==null?void 0:h[c])??{},f??{})}function a(c,f){return{classNamePrefix:r(),classNames:u(c),components:o(c,f==null?void 0:f.components),styles:l(c,f==null?void 0:f.styles),theme:t}}return{getClassNamePrefix:r,getClassNames:u,getComponents:o,getProps:a,getStyles:l,theme:t}}function Yt(){const e=Z.useContext(Bo)??{},t=e.theme,r=e.unstyled?kh:To,u=typeof t=="function"?Oo(r,t(r)):Oo(r,t);function o(f,h){var I;const p=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${f.toLowerCase()}`,g=(I=e.classNames)==null?void 0:I[f];if(typeof g=="function"){const b=g,E={...h??{},theme:u};return[p,b(E)].filter(Boolean).join(" ")}return[p,g].filter(Boolean).join(" ")}function l(){return{...Xh,...(e==null?void 0:e.components)??{}}}function a(f,h,p){var I;const g=(I=e.styles)==null?void 0:I[f];if(typeof g=="function"){const b=g,E={...p??{},theme:u};return b(h,E)}return g?{...h,...g}:h}function c(f,h,p){return{className:o(f,p),style:a(f,h,p)}}return{getClassNames:o,getComponents:l,getProps:c,getStyles:a,select:Ix(),theme:u}}const Cx=({children:e,...t})=>q.jsx(Bo.Provider,{value:t,children:e}),$l=Z.createContext(void 0),Hr=()=>{const e=Z.useContext($l);if(!e)throw new Error("Must be used inside FormFieldContext.Provider");return e},Hh=(e,t)=>{var o;const r=$n(),u=Wr({...t==null?void 0:t.useQueryOpts,queryKey:["accounts",e],queryFn:()=>r.getAccounts(e)});return{...u,accounts:((o=u.data)==null?void 0:o.data)||[]}},xx=e=>q.jsx(mu.Option,{...e,children:e.data.name});function zh({app:e}){const t=$n(),r=Hr(),{id:u,prop:o,value:l,onChange:a}=r,{getProps:c,select:f,theme:h}=Yt(),p={color:h.colors.neutral60,gridArea:"control"},g={backgroundColor:h.colors.primary,borderRadius:h.borderRadius,border:"solid 1px",borderColor:h.colors.primary25,color:h.colors.primary25,padding:"0.25rem 0.5rem",gridArea:"control"},I={components:{Option:xx},styles:{control:L=>({...L,gridArea:"control",boxShadow:h.boxShadow.input})}},b=f.getProps("controlAppSelect",I),E=void 0,{isLoading:A,accounts:F,refetch:P}=Hh({app:e.name_slug,oauth_app_id:E},{useQueryOpts:{enabled:!!e,suspense:!!e}}),D=async()=>{t.connectAccount({app:o.app,oauthAppId:E,onSuccess:async L=>{await P(),a({authProvisionId:L.id})},onError:()=>{}})},k=Z.useMemo(()=>{let L=l;if(L!=null){for(const V of F)if(L.authProvisionId===V.id){L=V;break}}return L},[F,l]);return q.jsx("div",{...c("controlApp",p,{app:e,...r}),children:A?`Loading ${e.name} accounts...`:F.length?q.jsx(Po,{instanceId:u,value:k,options:[...F,{id:"_new",name:`Connect new ${e.name} account...`}],...b,required:!0,placeholder:`Select ${e.name} account...`,isLoading:A,isClearable:!0,isSearchable:!0,getOptionLabel:L=>L.name,getOptionValue:L=>L.id,onChange:L=>{L?L.id==="_new"?D():a({authProvisionId:L.id}):a(void 0)}}):q.jsxs("button",{type:"button",...c("connectButton",g,{app:e,...r}),onClick:()=>D(),children:["Connect ",e.name]})})}function Zh(){const e=Hr(),{id:t,value:r,onChange:u}=e,{getProps:o}=Yt(),l={width:"16px",height:"16px",gridArea:"control",margin:"0 0.5rem 0 0"};return q.jsx("input",{id:t,type:"checkbox",...o("controlBoolean",l,e),checked:r??!1,onChange:a=>u(a.target.checked)})}function Yh(){const e=Hr(),{id:t,onChange:r,prop:u,value:o}=e,{getProps:l,theme:a}=Yt(),c={color:a.colors.neutral60,display:"block",border:"1px solid",borderColor:a.colors.neutral20,padding:6,width:"100%",borderRadius:a.borderRadius,gridArea:"control",boxShadow:a.boxShadow.input};let f="off",h="text",p=g=>g;switch(u.type){case"string":break;case"integer":h="number",p=g=>g?parseInt(g):void 0;break;default:throw new Error("unexpected prop.type for ControlInput: "+u.type)}return"secret"in u&&u.secret&&(h="password",f="new-password"),q.jsx("input",{id:t,type:h,name:u.name,value:o??"",onChange:g=>r(p(g.target.value)),...l("controlInput",c,e),min:"min"in u?u.min:void 0,max:"max"in u?u.max:void 0,autoComplete:f,"data-lpignore":"true","data-1p-ignore":"true",required:!u.optional})}var Ax=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Jh=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,u=arguments.length>2?arguments[2]:void 0,o=String(t).toLowerCase(),l=String(u.getOptionValue(r)).toLowerCase(),a=String(u.getOptionLabel(r)).toLowerCase();return l===o||a===o},Kl={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,r,u,o){return!(!t||r.some(function(l){return Jh(t,l,o)})||u.some(function(l){return Jh(t,l,o)}))},getNewOptionData:function(t,r){return{label:r,value:t,__isNew__:!0}}};function wx(e){var t=e.allowCreateWhileLoading,r=t===void 0?!1:t,u=e.createOptionPosition,o=u===void 0?"last":u,l=e.formatCreateLabel,a=l===void 0?Kl.formatCreateLabel:l,c=e.isValidNewOption,f=c===void 0?Kl.isValidNewOption:c,h=e.getNewOptionData,p=h===void 0?Kl.getNewOptionData:h,g=e.onCreateOption,I=e.options,b=I===void 0?[]:I,E=e.onChange,A=Wn(e,Ax),F=A.getOptionValue,P=F===void 0?wh:F,D=A.getOptionLabel,k=D===void 0?Ah:D,L=A.inputValue,V=A.isLoading,R=A.isMulti,J=A.value,N=A.name,j=Z.useMemo(function(){return f(L,Co(J),b,{getOptionValue:P,getOptionLabel:k})?p(L,a(L)):void 0},[a,p,k,P,L,f,b,J]),ne=Z.useMemo(function(){return(r||!V)&&j?o==="first"?[j].concat(vi(b)):[].concat(vi(b),[j]):b},[r,o,V,j,b]),$=Z.useCallback(function(Q,ve){if(ve.action!=="select-option")return E(Q,ve);var Be=Array.isArray(Q)?Q:[Q];if(Be[Be.length-1]===j){if(g)g(L);else{var ie=p(L,L),ge={action:"create-option",name:N,option:ie};E(gu(R,[].concat(vi(Co(J)),[ie]),ie),ge)}return}E(Q,ve)},[p,L,R,N,j,g,E,J]);return he(he({},A),{},{options:ne,onChange:$})}var Sx=Z.forwardRef(function(e,t){var r=Nd(e),u=wx(r);return Fe.createElement(ql,be({ref:t},u))}),Ex=Sx;function _o({isCreatable:e,options:t,selectProps:r,showLoadMoreButton:u,onLoadMore:o}){const l=Hr(),{id:a,prop:c,value:f,onChange:h}=l,{select:p,theme:g}=Yt(),[I,b]=Z.useState(t),[E,A]=Z.useState(f);Z.useEffect(()=>{b(t)},[t]),Z.useEffect(()=>{A(f)},[f]);const F={styles:{container:N=>({...N,gridArea:"control",boxShadow:g.boxShadow.input})}},P=Z.useMemo(()=>{let N=E;if(N!=null)if(Array.isArray(N)){if(typeof N[0]!="object"){const j=[];for(const ne of N){let $={label:ne,value:ne};for(const Q of I)if(Q.value===ne){$=Q;break}j.push($)}N=j}}else if(typeof N!="object")if((I==null?void 0:I[0])&&typeof I[0]=="object"){for(const ne of I)if(ne.value===E){N=ne;break}}else N={label:E,value:E};else N.__lv&&(N=N.__lv);return N},[E,I]),D=({children:N,...j})=>q.jsxs(mu.MenuList,{...j,children:[N,q.jsx("div",{className:"pt-4",children:q.jsx(Wh,{onChange:o})})]}),k=p.getProps("controlSelect",F);u&&(k.components={...k.components,MenuList:D});const L=N=>{const j=ve=>typeof ve=="object"?ve:{label:ve,value:ve},ne=j(N);let $=ne;const Q=I?[ne,...I]:[ne];b(Q),c.type.endsWith("[]")&&(Array.isArray(E)?$=[...E.map(j),ne]:$=[ne]),A($),V($)},V=N=>{if(N)if(Array.isArray(N))typeof N[0]=="object"&&"value"in N[0]?h({__lv:N}):h(N);else if(typeof N=="object"&&"value"in N)h({__lv:N});else throw new Error("unhandled option type");else h(void 0)},R={onCreateOption:c.remoteOptions?L:void 0},J=e?Ex:Po;return q.jsx(J,{inputId:a,instanceId:a,options:I,value:P,isMulti:c.type.endsWith("[]"),isClearable:!0,required:!c.optional,...k,...r,...R,onChange:V})}function Uh({queryEnabled:e}){const t=$n(),{userId:r,component:u,configurableProps:o,configuredProps:l,dynamicProps:a,props:{disableQueryDisabling:c}}=ho(),{idx:f,prop:h}=Hr(),[p,g]=Z.useState(""),[I,b]=Z.useState(0),[E,A]=Z.useState(!0),[F,P]=Z.useState(void 0),[D,k]=Z.useState({page:0,prevContext:{},data:[],values:new Set}),L={};for(let ie=0;ie<f;ie++){const ge=o[ie];L[ge.name]=l[ge.name]}const V={userId:r,page:I,prevContext:F,componentId:u.key,propName:h.name,configuredProps:L,dynamicPropsId:a==null?void 0:a.id};h.useQuery&&(V.query=p||"");const R={...V};delete R.dynamicPropsId;const[J,N]=Z.useState(),j=()=>{b(D.page),P(D.prevContext),k({...D,prevContext:{}})},{isFetching:ne,refetch:$}=Wr({queryKey:["componentConfigure",R],queryFn:async()=>{N(void 0);const ie=await t.componentConfigure(V),{options:ge,stringOptions:de,errors:Se}=ie;if(Se!=null&&Se.length){try{N(JSON.parse(Se[0]))}catch{N({name:"Error",message:Se[0]})}return[]}let qe=[];if(ge!=null&&ge.length&&(qe=ge),de!=null&&de.length){const w=[];for(const Je of de)w.push({label:Je,value:Je});qe=w}const S=[],He=new Set(D.values);for(const w of qe||[]){const Je=typeof w=="string"?w:w.value;He.has(Je)||(He.add(Je),S.push(w))}let Le=D.data;return S.length?(Le=[...D.data,...S],k({page:I+1,prevContext:ie.context,data:Le,values:He})):A(!1),Le},enabled:!!e}),Q=()=>!ne&&!J&&E,ve=J?J.message:c?"Click to configure":e?void 0:"Configure props above first",Be=c?!1:!e;return q.jsx(_o,{isCreatable:!0,showLoadMoreButton:Q(),onLoadMore:j,options:D.data,selectProps:{isLoading:ne,placeholder:ve,isDisabled:Be,inputValue:h.useQuery?p:void 0,onInputChange(ie){h.useQuery&&(g(ie),$())},onMenuOpen(){c&&!e&&$()}}})}function jh(e){const{field:t,form:r}=e,{queryDisabledIdx:u}=r,{prop:o,idx:l}=t,a="app"in t.extra?t.extra.app:void 0;if(o.remoteOptions||o.type==="$.discord.channel")return q.jsx(Uh,{queryEnabled:u==null||u>=l});if("options"in o&&o.options){let c=o.options;return typeof c[0]!="object"&&(c=c.map(f=>({label:f,value:f}))),q.jsx(_o,{options:c,components:{IndicatorSeparator:()=>null}})}if(o.type.endsWith("[][]"))throw new Error("Unsupported property type: "+o.type);if(o.type.endsWith("[]"))return q.jsx(_o,{isCreatable:!0,options:[],components:{IndicatorSeparator:()=>null}});switch(o.type){case"app":return q.jsx(zh,{app:a});case"boolean":return q.jsx(Zh,{});case"string":case"integer":return q.jsx(Yh,{});default:throw new Error("Unsupported property type: "+o.type)}}function Qh(e){const{form:t,field:r}=e,{prop:u}=r,{getProps:o,getComponents:l}=Yt(),a={display:"grid",gridTemplateAreas:r.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:c,Description:f,Errors:h}=l(),p=[],g="app"in r.extra?r.extra.app:void 0;if(g&&!g.auth_type)return null;let I=u.label||u.name;return g&&(I=`Connect ${g.name} account`),q.jsxs("div",{...o("field",a,e),children:[q.jsx(c,{text:I,field:r,form:t}),q.jsx(jh,{field:r,form:t}),q.jsx(f,{markdown:u.description,field:r,form:t}),q.jsx(h,{errors:p,field:r,form:t})]})}const qh=(e,t)=>{var o;const r=$n(),u=Wr({queryKey:["app",e],queryFn:()=>r.app(e),...t==null?void 0:t.useQueryOpts});return{...u,app:(o=u.data)==null?void 0:o.data}};function $h({prop:e,idx:t}){const r=ho(),{id:u,configuredProps:o,registerField:l,setConfiguredProp:a}=r,c=e.type==="app"&&"app"in e?e.app:void 0,{app:f}=qh(c||"",{useQueryOpts:{enabled:!!c,suspense:!!c}}),p={id:`pd${u}${e.name}`,prop:e,idx:t,value:o[e.name],onChange(g){a(t,g)},extra:{app:f}};return Z.useEffect(()=>l(p),[p]),q.jsx($l.Provider,{value:p,children:q.jsx(Qh,{field:p,form:r})})}class Kh extends Z.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 ep(e){const{form:t}=e,{propsNeedConfiguring:r,submitting:u}=t,{getProps:o,theme:l}=Yt(),a=c=>{var f;return{width:"fit-content",textTransform:"capitalize",backgroundColor:c?l.colors.neutral10:l.colors.primary,color:c?l.colors.neutral40:l.colors.neutral0,padding:`${l.spacing.baseUnit*1.75}px ${l.spacing.baseUnit*16}px`,borderRadius:l.borderRadius,boxShadow:(f=l.boxShadow)==null?void 0:f.button,cursor:"pointer",fontSize:"0.875rem",opacity:u?.5:void 0,margin:"0.5rem 0 0 0"}};return q.jsx("input",{type:"submit",value:u?"Submitting...":"Submit",...o("controlSubmit",a(r.length||u),e),disabled:r.length||u})}function tp(){const e=ho(),{configurableProps:t,dynamicPropsQueryIsFetching:r,isValid:u,optionalPropIsEnabled:o,optionalPropSetEnabled:l,props:a,setSubmitting:c}=e,{hideOptionalProps:f,onSubmit:h}=a,{getComponents:p,getProps:g,theme:I}=Yt(),{OptionalFieldButton:b}=p(),E={display:"flex",flexDirection:"column",gap:"1.5rem"},A={display:"flex",flexWrap:"wrap",gap:"0.375rem"},F={fontWeight:600,textTransform:"capitalize",color:I.colors.neutral60,fontSize:"0.875rem",lineHeight:"1.375",margin:"0 0 0.5rem 0"},P=async L=>{if(h&&(L.preventDefault(),u)){c(!0);try{await h(e)}finally{c(!1)}}},D=[],k=[];for(let L=0;L<t.length;L++){const V=t[L];if(!V.hidden&&!hu.includes(V.type)){if(V.optional){const R=o(V);if(k.push([V,R]),!R)continue}D.push([V,L])}}return q.jsx(Kh,{fallback:L=>q.jsxs("p",{style:{color:"red"},children:["Error: ",L&&typeof L=="object"&&"message"in L&&typeof L.message=="string"?L.message:"Unknown"]}),children:q.jsx(Z.Suspense,{fallback:q.jsx("p",{children:"Loading form..."}),children:q.jsxs("form",{...g("componentForm",E,a),onSubmit:P,children:[D.map(([L,V])=>L.type==="alert"?q.jsx(hd,{prop:L},L.name):q.jsx($h,{prop:L,idx:V},L.name)),r&&q.jsx("p",{children:"Loading dynamic props..."}),!f&&k.length?q.jsxs("div",{children:[q.jsx("div",{...g("heading",F,a),children:"Optional Props"}),q.jsx("div",{...g("optionalFields",A,a),children:k.map(([L,V])=>q.jsx(b,{prop:L,enabled:V,onClick:()=>l(L,!V)},L.name))})]}):null,h&&q.jsx(ep,{form:e})]})})})}function np(e){return q.jsx(kd,{props:e,children:q.jsx(tp,{})})}const rp=({key:e},t)=>{var o;const r=$n(),u=Wr({queryKey:["component",e],queryFn:()=>r.component({key:e}),enabled:!!e,...t==null?void 0:t.useQueryOpts});return{...u,component:(o=u.data)==null?void 0:o.data}};function Fx(e){const{isLoading:t,error:r,component:u}=rp({key:e.componentKey});if(!e.componentKey)throw new Error("componentKey required");return t?q.jsx("p",{children:"Loading..."}):r?q.jsxs("p",{children:["Error: ",r.message]}):u?q.jsx(np,{component:u,...e}):q.jsx("p",{children:"Component not found"})}function Px(){const e=Hr(),{id:t,onChange:r,value:u}=e,{getProps:o,theme:l}=Yt(),a={display:"block",gridArea:"control",width:"100%",fontSize:"0.875rem",boxShadow:l.boxShadow.input};let c=u;return typeof c=="object"&&(c=JSON.stringify(c)),q.jsx("textarea",{id:t,value:c,onChange:f=>r(f.target.value),...o("controlAny",a,e)})}const ip=e=>{var u;const t=$n(),r=Wr({queryKey:["apps",e],queryFn:()=>t.apps(e)});return{...r,apps:(u=r.data)==null?void 0:u.data}};function Tx({value:e,onChange:t}){const[r,u]=Z.useState(""),o=Z.useId(),{isLoading:l,apps:a}=ip({q:r}),{Option:c}=mu;return q.jsx(Po,{instanceId:o,className:"react-select-container text-sm",classNamePrefix:"react-select",components:{Option:f=>q.jsx(c,{...f,children:q.jsxs("div",{style:{display:"flex",gap:10},children:[q.jsx("img",{src:`https://pipedream.com/s.v0/${f.data.id}/logo/48`,style:{height:24,width:24},alt:f.data.name}),q.jsx("span",{style:{whiteSpace:"nowrap"},children:f.data.name})]})}),IndicatorSeparator:()=>null},options:a||[],getOptionLabel:f=>f.name||f.name_slug,getOptionValue:f=>f.name_slug,value:e,onChange:f=>t==null?void 0:t(f||void 0),onInputChange:f=>u(f),isLoading:l})}const up=e=>{var u;const t=$n(),r=Wr({queryKey:["components",e],queryFn:()=>t.components(e)});return{...r,components:((u=r.data)==null?void 0:u.data)||[]}};function Ox({app:e,componentType:t,value:r,onChange:u}){const o=Z.useId(),{isLoading:l,components:a}=up({app:e==null?void 0:e.name_slug,componentType:t});return q.jsx(Po,{instanceId:o,className:"react-select-container text-sm",classNamePrefix:"react-select",options:a,getOptionLabel:c=>c.name||c.key,getOptionValue:c=>c.key,value:r,onChange:c=>u==null?void 0:u(c||void 0),isLoading:l,components:{IndicatorSeparator:()=>null}})}ue.Alert=hd,ue.ComponentForm=np,ue.ComponentFormContainer=Fx,ue.Control=jh,ue.ControlAny=Px,ue.ControlApp=zh,ue.ControlBoolean=Zh,ue.ControlInput=Yh,ue.ControlSelect=_o,ue.ControlSubmit=ep,ue.CustomizationContext=Bo,ue.CustomizeProvider=Cx,ue.Description=Dh,ue.ErrorBoundary=Kh,ue.Errors=Mh,ue.Field=Qh,ue.FormContext=kl,ue.FormContextProvider=kd,ue.FormFieldContext=$l,ue.FrontendClientProvider=mI,ue.InternalComponentForm=tp,ue.InternalField=$h,ue.Label=Nh,ue.OptionalFieldButton=Vh,ue.RemoteOptionsContainer=Uh,ue.SelectApp=Tx,ue.SelectComponent=Ox,ue.defaultComponents=Xh,ue.defaultTheme=To,ue.getReactSelectTheme=Lh,ue.mergeTheme=Oo,ue.skippablePropTypes=hu,ue.unstyledTheme=kh,ue.useAccounts=Hh,ue.useApp=qh,ue.useApps=ip,ue.useComponent=rp,ue.useComponents=up,ue.useCustomize=Yt,ue.useFormContext=ho,ue.useFormFieldContext=Hr,ue.useFrontendClient=$n,Object.defineProperty(ue,Symbol.toStringTag,{value:"Module"})});
|
|
45
|
+
`]))),J1=function(t,r){var u=t.isFocused,o=t.size,l=t.theme,a=l.colors,c=l.spacing.baseUnit;return de({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},r?{}:{color:u?a.neutral60:a.neutral20,padding:c*2})},Zl=function(t){var r=t.delay,u=t.offset;return ce.jsx("span",{css:ce.css({animation:"".concat(Y1," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iam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XX0= */")})},j1=function(t){var r=t.innerProps,u=t.isRtl,o=t.size,l=o===void 0?4:o,a=Un(t,D1);return ce.jsx("div",me({},mt(de(de({},a),{},{innerProps:r,isRtl:u,size:l}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),ce.jsx(Zl,{delay:0,offset:u}),ce.jsx(Zl,{delay:160,offset:!0}),ce.jsx(Zl,{delay:320,offset:!u}))},U1=function(t,r){var u=t.isDisabled,o=t.isFocused,l=t.theme,a=l.colors,c=l.borderRadius,f=l.spacing;return de({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:f.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:u?a.neutral5:a.neutral0,borderColor:u?a.neutral10:o?a.primary:a.neutral20,borderRadius:c,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},Q1=function(t){var r=t.children,u=t.isDisabled,o=t.isFocused,l=t.innerRef,a=t.innerProps,c=t.menuIsOpen;return ce.jsx("div",me({ref:l},mt(t,"control",{control:!0,"control--is-disabled":u,"control--is-focused":o,"control--menu-is-open":c}),a,{"aria-disabled":u||void 0}),r)},q1=Q1,$1=["data"],K1=function(t,r){var u=t.theme.spacing;return r?{}:{paddingBottom:u.baseUnit*2,paddingTop:u.baseUnit*2}},eC=function(t){var r=t.children,u=t.cx,o=t.getStyles,l=t.getClassNames,a=t.Heading,c=t.headingProps,f=t.innerProps,h=t.label,p=t.theme,g=t.selectProps;return ce.jsx("div",me({},mt(t,"group",{group:!0}),f),ce.jsx(a,me({},c,{selectProps:g,theme:p,getStyles:o,getClassNames:l,cx:u}),h),ce.jsx("div",null,r))},tC=function(t,r){var u=t.theme,o=u.colors,l=u.spacing;return de({label:"group",cursor:"default",display:"block"},r?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:l.baseUnit*3,paddingRight:l.baseUnit*3,textTransform:"uppercase"})},nC=function(t){var r=Qd(t);r.data;var u=Un(r,$1);return ce.jsx("div",me({},mt(t,"groupHeading",{"group-heading":!0}),u))},rC=eC,iC=["innerRef","isDisabled","isHidden","inputClassName"],uC=function(t,r){var u=t.isDisabled,o=t.value,l=t.theme,a=l.spacing,c=l.colors;return de(de({visibility:u?"hidden":"visible",transform:o?"translateZ(0)":""},oC),r?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:c.neutral80})},lh={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},oC={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":de({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},lh)},sC=function(t){return de({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},lh)},lC=function(t){var r=t.cx,u=t.value,o=Qd(t),l=o.innerRef,a=o.isDisabled,c=o.isHidden,f=o.inputClassName,h=Un(o,iC);return ce.jsx("div",me({},mt(t,"input",{"input-container":!0}),{"data-value":u||""}),ce.jsx("input",me({className:r({input:!0},f),ref:l,style:sC(c),disabled:a},h)))},aC=lC,cC=function(t,r){var u=t.theme,o=u.spacing,l=u.borderRadius,a=u.colors;return de({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:a.neutral10,borderRadius:l/2,margin:o.baseUnit/2})},fC=function(t,r){var u=t.theme,o=u.borderRadius,l=u.colors,a=t.cropWithEllipsis;return de({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:o/2,color:l.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},dC=function(t,r){var u=t.theme,o=u.spacing,l=u.borderRadius,a=u.colors,c=t.isFocused;return de({alignItems:"center",display:"flex"},r?{}:{borderRadius:l/2,backgroundColor:c?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},ah=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",u,r)},hC=ah,pC=ah;function gC(e){var t=e.children,r=e.innerProps;return ce.jsx("div",me({role:"button"},r),t||ce.jsx(zl,{size:14}))}var mC=function(t){var r=t.children,u=t.components,o=t.data,l=t.innerProps,a=t.isDisabled,c=t.removeProps,f=t.selectProps,h=u.Container,p=u.Label,g=u.Remove;return ce.jsx(h,{data:o,innerProps:de(de({},mt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),l),selectProps:f},ce.jsx(p,{data:o,innerProps:de({},mt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:f},r),ce.jsx(g,{data:o,innerProps:de(de({},mt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},c),selectProps:f}))},bC=mC,vC=function(t,r){var u=t.isDisabled,o=t.isFocused,l=t.isSelected,a=t.theme,c=a.spacing,f=a.colors;return de({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:l?f.primary:o?f.primary25:"transparent",color:u?f.neutral20:l?f.neutral0:"inherit",padding:"".concat(c.baseUnit*2,"px ").concat(c.baseUnit*3,"px"),":active":{backgroundColor:u?void 0:l?f.primary:f.primary50}})},yC=function(t){var r=t.children,u=t.isDisabled,o=t.isFocused,l=t.isSelected,a=t.innerRef,c=t.innerProps;return ce.jsx("div",me({},mt(t,"option",{option:!0,"option--is-disabled":u,"option--is-focused":o,"option--is-selected":l}),{ref:a,"aria-disabled":u},c),r)},IC=yC,CC=function(t,r){var u=t.theme,o=u.spacing,l=u.colors;return de({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:l.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},xC=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",me({},mt(t,"placeholder",{placeholder:!0}),u),r)},AC=xC,wC=function(t,r){var u=t.isDisabled,o=t.theme,l=o.spacing,a=o.colors;return de({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:u?a.neutral40:a.neutral80,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},SC=function(t){var r=t.children,u=t.isDisabled,o=t.innerProps;return ce.jsx("div",me({},mt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),o),r)},EC=SC,bu={ClearIndicator:H1,Control:q1,DropdownIndicator:W1,DownChevron:oh,CrossIcon:zl,Group:rC,GroupHeading:nC,IndicatorsContainer:k1,IndicatorSeparator:Z1,Input:aC,LoadingIndicator:j1,Menu:C1,MenuList:A1,MenuPortal:O1,LoadingMessage:F1,NoOptionsMessage:E1,MultiValue:bC,MultiValueContainer:hC,MultiValueLabel:pC,MultiValueRemove:gC,Option:IC,Placeholder:AC,SelectContainer:B1,SingleValue:EC,ValueContainer:G1},FC=function(t){return de(de({},bu),t.components)},ch=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function PC(e,t){return!!(e===t||ch(e)&&ch(t))}function OC(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!PC(e[r],t[r]))return!1;return!0}function TC(e,t){t===void 0&&(t=OC);var r=null;function u(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];if(r&&r.lastThis===this&&t(o,r.lastArgs))return r.lastResult;var a=e.apply(this,o);return r={lastResult:a,lastArgs:o,lastThis:this},a}return u.clear=function(){r=null},u}function BC(){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 _C=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:BC},GC=function(t){return ce.jsx("span",me({css:_C},t))},fh=GC,RC={guidance:function(t){var r=t.isSearchable,u=t.isMulti,o=t.tabSelectsValue,l=t.context,a=t.isInitialFocus;switch(l){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(o?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(u?" 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 r=t.action,u=t.label,o=u===void 0?"":u,l=t.labels,a=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(l.length>1?"s":""," ").concat(l.join(","),", selected.");case"select-option":return a?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var r=t.context,u=t.focused,o=t.options,l=t.label,a=l===void 0?"":l,c=t.selectValue,f=t.isDisabled,h=t.isSelected,p=t.isAppleDevice,g=function(A,F){return A&&A.length?"".concat(A.indexOf(F)+1," of ").concat(A.length):""};if(r==="value"&&c)return"value ".concat(a," focused, ").concat(g(c,u),".");if(r==="menu"&&p){var I=f?" disabled":"",b="".concat(h?" selected":"").concat(I);return"".concat(a).concat(b,", ").concat(g(o,u),".")}return""},onFilter:function(t){var r=t.inputValue,u=t.resultsMessage;return"".concat(u).concat(r?" for search term "+r:"",".")}},kC=function(t){var r=t.ariaSelection,u=t.focusedOption,o=t.focusedValue,l=t.focusableOptions,a=t.isFocused,c=t.selectValue,f=t.selectProps,h=t.id,p=t.isAppleDevice,g=f.ariaLiveMessages,I=f.getOptionLabel,b=f.inputValue,S=f.isMulti,A=f.isOptionDisabled,F=f.isSearchable,P=f.menuIsOpen,L=f.options,k=f.screenReaderStatus,N=f.tabSelectsValue,X=f.isLoading,R=f["aria-label"],Y=f["aria-live"],D=H.useMemo(function(){return de(de({},RC),g||{})},[g]),j=H.useMemo(function(){var ue="";if(r&&D.onChange){var pe=r.option,Ee=r.options,Oe=r.removedValue,Ke=r.removedValues,E=r.value,xe=function(Ve){return Array.isArray(Ve)?null:Ve},Le=Oe||pe||xe(E),w=Le?I(Le):"",je=Ee||Ke||void 0,ge=je?je.map(I):[],Ne=de({isDisabled:Le&&A(Le,c),label:w,labels:ge},r);ue=D.onChange(Ne)}return ue},[r,D,A,c,I]),Q=H.useMemo(function(){var ue="",pe=u||o,Ee=!!(u&&c&&c.includes(u));if(pe&&D.onFocus){var Oe={focused:pe,label:I(pe),isDisabled:A(pe,c),isSelected:Ee,options:l,context:pe===u?"menu":"value",selectValue:c,isAppleDevice:p};ue=D.onFocus(Oe)}return ue},[u,o,I,A,D,l,c,p]),U=H.useMemo(function(){var ue="";if(P&&L.length&&!X&&D.onFilter){var pe=k({count:l.length});ue=D.onFilter({inputValue:b,resultsMessage:pe})}return ue},[l,b,P,D,L,k,X]),q=(r==null?void 0:r.action)==="initial-input-focus",be=H.useMemo(function(){var ue="";if(D.guidance){var pe=o?"value":P?"menu":"input";ue=D.guidance({"aria-label":R,context:pe,isDisabled:u&&A(u,c),isMulti:S,isSearchable:F,tabSelectsValue:N,isInitialFocus:q})}return ue},[R,u,o,S,A,F,P,D,c,N,q]),Se=ce.jsx(H.Fragment,null,ce.jsx("span",{id:"aria-selection"},j),ce.jsx("span",{id:"aria-focused"},Q),ce.jsx("span",{id:"aria-results"},U),ce.jsx("span",{id:"aria-guidance"},be));return ce.jsx(H.Fragment,null,ce.jsx(fh,{id:h},q&&Se),ce.jsx(fh,{"aria-live":Y,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!q&&Se))},LC=kC,Yl=[{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źẑżžẓẕƶȥɀⱬꝣ"}],DC=new RegExp("["+Yl.map(function(e){return e.letters}).join("")+"]","g"),dh={},Jl=0;Jl<Yl.length;Jl++)for(var jl=Yl[Jl],Ul=0;Ul<jl.letters.length;Ul++)dh[jl.letters[Ul]]=jl.base;var hh=function(t){return t.replace(DC,function(r){return dh[r]})},MC=TC(hh),ph=function(t){return t.replace(/^\s+|\s+$/g,"")},NC=function(t){return"".concat(t.label," ").concat(t.value)},VC=function(t){return function(r,u){if(r.data.__isNew__)return!0;var o=de({ignoreCase:!0,ignoreAccents:!0,stringify:NC,trim:!0,matchFrom:"any"},t),l=o.ignoreCase,a=o.ignoreAccents,c=o.stringify,f=o.trim,h=o.matchFrom,p=f?ph(u):u,g=f?ph(c(r)):c(r);return l&&(p=p.toLowerCase(),g=g.toLowerCase()),a&&(p=MC(p),g=hh(g)),h==="start"?g.substr(0,p.length)===p:g.indexOf(p)>-1}},WC=["innerRef"];function XC(e){var t=e.innerRef,r=Un(e,WC),u=h1(r,"onExited","in","enter","exit","appear");return ce.jsx("input",me({ref:t},u,{css:ce.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nL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Q== */")}))}var HC=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function zC(e){var t=e.isEnabled,r=e.onBottomArrive,u=e.onBottomLeave,o=e.onTopArrive,l=e.onTopLeave,a=H.useRef(!1),c=H.useRef(!1),f=H.useRef(0),h=H.useRef(null),p=H.useCallback(function(F,P){if(h.current!==null){var L=h.current,k=L.scrollTop,N=L.scrollHeight,X=L.clientHeight,R=h.current,Y=P>0,D=N-X-k,j=!1;D>P&&a.current&&(u&&u(F),a.current=!1),Y&&c.current&&(l&&l(F),c.current=!1),Y&&P>D?(r&&!a.current&&r(F),R.scrollTop=N,j=!0,a.current=!0):!Y&&-P>k&&(o&&!c.current&&o(F),R.scrollTop=0,j=!0,c.current=!0),j&&HC(F)}},[r,u,o,l]),g=H.useCallback(function(F){p(F,F.deltaY)},[p]),I=H.useCallback(function(F){f.current=F.changedTouches[0].clientY},[]),b=H.useCallback(function(F){var P=f.current-F.changedTouches[0].clientY;p(F,P)},[p]),S=H.useCallback(function(F){if(F){var P=c1?{passive:!1}:!1;F.addEventListener("wheel",g,P),F.addEventListener("touchstart",I,P),F.addEventListener("touchmove",b,P)}},[b,I,g]),A=H.useCallback(function(F){F&&(F.removeEventListener("wheel",g,!1),F.removeEventListener("touchstart",I,!1),F.removeEventListener("touchmove",b,!1))},[b,I,g]);return H.useEffect(function(){if(t){var F=h.current;return S(F),function(){A(F)}}},[t,S,A]),function(F){h.current=F}}var gh=["boxSizing","height","overflow","paddingRight","position"],mh={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function bh(e){e.cancelable&&e.preventDefault()}function vh(e){e.stopPropagation()}function yh(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function Ih(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ch=!!(typeof window<"u"&&window.document&&window.document.createElement),vu=0,Ai={capture:!1,passive:!1};function ZC(e){var t=e.isEnabled,r=e.accountForScrollbars,u=r===void 0?!0:r,o=H.useRef({}),l=H.useRef(null),a=H.useCallback(function(f){if(Ch){var h=document.body,p=h&&h.style;if(u&&gh.forEach(function(S){var A=p&&p[S];o.current[S]=A}),u&&vu<1){var g=parseInt(o.current.paddingRight,10)||0,I=document.body?document.body.clientWidth:0,b=window.innerWidth-I+g||0;Object.keys(mh).forEach(function(S){var A=mh[S];p&&(p[S]=A)}),p&&(p.paddingRight="".concat(b,"px"))}h&&Ih()&&(h.addEventListener("touchmove",bh,Ai),f&&(f.addEventListener("touchstart",yh,Ai),f.addEventListener("touchmove",vh,Ai))),vu+=1}},[u]),c=H.useCallback(function(f){if(Ch){var h=document.body,p=h&&h.style;vu=Math.max(vu-1,0),u&&vu<1&&gh.forEach(function(g){var I=o.current[g];p&&(p[g]=I)}),h&&Ih()&&(h.removeEventListener("touchmove",bh,Ai),f&&(f.removeEventListener("touchstart",yh,Ai),f.removeEventListener("touchmove",vh,Ai)))}},[u]);return H.useEffect(function(){if(t){var f=l.current;return a(f),function(){c(f)}}},[t,a,c]),function(f){l.current=f}}function YC(){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 JC=function(t){var r=t.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},jC=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0g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mlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:YC};function UC(e){var t=e.children,r=e.lockEnabled,u=e.captureEnabled,o=u===void 0?!0:u,l=e.onBottomArrive,a=e.onBottomLeave,c=e.onTopArrive,f=e.onTopLeave,h=zC({isEnabled:o,onBottomArrive:l,onBottomLeave:a,onTopArrive:c,onTopLeave:f}),p=ZC({isEnabled:r}),g=function(b){h(b),p(b)};return ce.jsx(H.Fragment,null,r&&ce.jsx("div",{onClick:JC,css:jC}),t(g))}function QC(){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 qC=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:QC},$C=function(t){var r=t.name,u=t.onFocus;return ce.jsx("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:qC,value:"",onChange:function(){}})},KC=$C;function Ql(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 ex(){return Ql(/^iPhone/i)}function xh(){return Ql(/^Mac/i)}function tx(){return Ql(/^iPad/i)||xh()&&navigator.maxTouchPoints>1}function nx(){return ex()||tx()}function rx(){return xh()||nx()}var ix=function(t){return t.label},Ah=function(t){return t.label},wh=function(t){return t.value},ux=function(t){return!!t.isDisabled},ox={clearIndicator:X1,container:T1,control:U1,dropdownIndicator:V1,group:K1,groupHeading:tC,indicatorsContainer:R1,indicatorSeparator:z1,input:uC,loadingIndicator:J1,loadingMessage:S1,menu:v1,menuList:x1,menuPortal:P1,multiValue:cC,multiValueLabel:fC,multiValueRemove:dC,noOptionsMessage:w1,option:vC,placeholder:CC,singleValue:wC,valueContainer:_1};function sx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=de({},e);return Object.keys(t).forEach(function(u){var o=u;e[o]?r[o]=function(l,a){return t[o](e[o](l,a),a)}:r[o]=t[o]}),r}var lx={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%)"},ax=4,Sh=4,cx=38,fx=Sh*2,dx={baseUnit:Sh,controlHeight:cx,menuGutter:fx},yu={borderRadius:ax,colors:lx,spacing:dx},hx={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Kd(),captureMenuScroll:!Kd(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:VC(),formatGroupLabel:ix,getOptionLabel:Ah,getOptionValue:wh,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ux,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!l1(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Eh(e,t,r,u){var o=Bh(e,t,r),l=_h(e,t,r),a=Th(e,t),c=Po(e,t);return{type:"option",data:t,isDisabled:o,isSelected:l,label:a,value:c,index:u}}function Fo(e,t){return e.options.map(function(r,u){if("options"in r){var o=r.options.map(function(a,c){return Eh(e,a,t,c)}).filter(function(a){return Oh(e,a)});return o.length>0?{type:"group",data:r,options:o,index:u}:void 0}var l=Eh(e,r,t,u);return Oh(e,l)?l:void 0}).filter(f1)}function Fh(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,xi(r.options.map(function(u){return u.data}))):t.push(r.data),t},[])}function Ph(e,t){return e.reduce(function(r,u){return u.type==="group"?r.push.apply(r,xi(u.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(u.index,"-").concat(o.index)}}))):r.push({data:u.data,id:"".concat(t,"-").concat(u.index)}),r},[])}function px(e,t){return Fh(Fo(e,t))}function Oh(e,t){var r=e.inputValue,u=r===void 0?"":r,o=t.data,l=t.isSelected,a=t.label,c=t.value;return(!Rh(e)||!l)&&Gh(e,{label:a,value:c,data:o},u)}function gx(e,t){var r=e.focusedValue,u=e.selectValue,o=u.indexOf(r);if(o>-1){var l=t.indexOf(r);if(l>-1)return r;if(o<t.length)return t[o]}return null}function mx(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var ql=function(t,r){var u,o=(u=t.find(function(l){return l.data===r}))===null||u===void 0?void 0:u.id;return o||null},Th=function(t,r){return t.getOptionLabel(r)},Po=function(t,r){return t.getOptionValue(r)};function Bh(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function _h(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var u=Po(e,t);return r.some(function(o){return Po(e,o)===u})}function Gh(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var Rh=function(t){var r=t.hideSelectedOptions,u=t.isMulti;return r===void 0?u:r},bx=1,$l=function(e){RI(r,e);var t=DI(r);function r(u){var o;if(_I(this,r),o=t.call(this,u),o.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:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=rx(),o.controlRef=null,o.getControlRef=function(f){o.controlRef=f},o.focusedOptionRef=null,o.getFocusedOptionRef=function(f){o.focusedOptionRef=f},o.menuListRef=null,o.getMenuListRef=function(f){o.menuListRef=f},o.inputRef=null,o.getInputRef=function(f){o.inputRef=f},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(f,h){var p=o.props,g=p.onChange,I=p.name;h.name=I,o.ariaOnChange(f,h),g(f,h)},o.setValue=function(f,h,p){var g=o.props,I=g.closeMenuOnSelect,b=g.isMulti,S=g.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:S}),I&&(o.setState({inputIsHiddenAfterUpdate:!b}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(f,{action:h,option:p})},o.selectOption=function(f){var h=o.props,p=h.blurInputOnSelect,g=h.isMulti,I=h.name,b=o.state.selectValue,S=g&&o.isOptionSelected(f,b),A=o.isOptionDisabled(f,b);if(S){var F=o.getOptionValue(f);o.setValue(b.filter(function(P){return o.getOptionValue(P)!==F}),"deselect-option",f)}else if(!A)g?o.setValue([].concat(xi(b),[f]),"select-option",f):o.setValue(f,"select-option");else{o.ariaOnChange(f,{action:"select-option",option:f,name:I});return}p&&o.blurInput()},o.removeValue=function(f){var h=o.props.isMulti,p=o.state.selectValue,g=o.getOptionValue(f),I=p.filter(function(S){return o.getOptionValue(S)!==g}),b=mu(h,I,I[0]||null);o.onChange(b,{action:"remove-value",removedValue:f}),o.focusInput()},o.clearValue=function(){var f=o.state.selectValue;o.onChange(mu(o.props.isMulti,[],null),{action:"clear",removedValues:f})},o.popValue=function(){var f=o.props.isMulti,h=o.state.selectValue,p=h[h.length-1],g=h.slice(0,h.length-1),I=mu(f,g,g[0]||null);p&&o.onChange(I,{action:"pop-value",removedValue:p})},o.getFocusedOptionId=function(f){return ql(o.state.focusableOptionsWithIds,f)},o.getFocusableOptionsWithIds=function(){return Ph(Fo(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];return r1.apply(void 0,[o.props.classNamePrefix].concat(h))},o.getOptionLabel=function(f){return Th(o.props,f)},o.getOptionValue=function(f){return Po(o.props,f)},o.getStyles=function(f,h){var p=o.props.unstyled,g=ox[f](h,p);g.boxSizing="border-box";var I=o.props.styles[f];return I?I(g,h):g},o.getClassNames=function(f,h){var p,g;return(p=(g=o.props.classNames)[f])===null||p===void 0?void 0:p.call(g,h)},o.getElementId=function(f){return"".concat(o.state.instancePrefix,"-").concat(f)},o.getComponents=function(){return FC(o.props)},o.buildCategorizedOptions=function(){return Fo(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Fh(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(f,h){o.setState({ariaSelection:de({value:f},h)})},o.onMenuMouseDown=function(f){f.button===0&&(f.stopPropagation(),f.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(f){o.blockOptionHover=!1},o.onControlMouseDown=function(f){if(!f.defaultPrevented){var h=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&o.onMenuClose():h&&o.openMenu("first"):(h&&(o.openAfterFocus=!0),o.focusInput()),f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&f.preventDefault()}},o.onDropdownIndicatorMouseDown=function(f){if(!(f&&f.type==="mousedown"&&f.button!==0)&&!o.props.isDisabled){var h=o.props,p=h.isMulti,g=h.menuIsOpen;o.focusInput(),g?(o.setState({inputIsHiddenAfterUpdate:!p}),o.onMenuClose()):o.openMenu("first"),f.preventDefault()}},o.onClearIndicatorMouseDown=function(f){f&&f.type==="mousedown"&&f.button!==0||(o.clearValue(),f.preventDefault(),o.openAfterFocus=!1,f.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(f){typeof o.props.closeMenuOnScroll=="boolean"?f.target instanceof HTMLElement&&Ao(f.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(f)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(f){var h=f.touches,p=h&&h.item(0);p&&(o.initialTouchX=p.clientX,o.initialTouchY=p.clientY,o.userIsDragging=!1)},o.onTouchMove=function(f){var h=f.touches,p=h&&h.item(0);if(p){var g=Math.abs(p.clientX-o.initialTouchX),I=Math.abs(p.clientY-o.initialTouchY),b=5;o.userIsDragging=g>b||I>b}},o.onTouchEnd=function(f){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(f.target)&&o.menuListRef&&!o.menuListRef.contains(f.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(f){o.userIsDragging||o.onControlMouseDown(f)},o.onClearIndicatorTouchEnd=function(f){o.userIsDragging||o.onClearIndicatorMouseDown(f)},o.onDropdownIndicatorTouchEnd=function(f){o.userIsDragging||o.onDropdownIndicatorMouseDown(f)},o.handleInputChange=function(f){var h=o.props.inputValue,p=f.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(p,{action:"input-change",prevInputValue:h}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(f){o.props.onFocus&&o.props.onFocus(f),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(f){var h=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(f),o.onInputChange("",{action:"input-blur",prevInputValue:h}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(f){if(!(o.blockOptionHover||o.state.focusedOption===f)){var h=o.getFocusableOptions(),p=h.indexOf(f);o.setState({focusedOption:f,focusedOptionId:p>-1?o.getFocusedOptionId(f):null})}},o.shouldHideSelectedOptions=function(){return Rh(o.props)},o.onValueInputFocus=function(f){f.preventDefault(),f.stopPropagation(),o.focus()},o.onKeyDown=function(f){var h=o.props,p=h.isMulti,g=h.backspaceRemovesValue,I=h.escapeClearsValue,b=h.inputValue,S=h.isClearable,A=h.isDisabled,F=h.menuIsOpen,P=h.onKeyDown,L=h.tabSelectsValue,k=h.openMenuOnFocus,N=o.state,X=N.focusedOption,R=N.focusedValue,Y=N.selectValue;if(!A&&!(typeof P=="function"&&(P(f),f.defaultPrevented))){switch(o.blockOptionHover=!0,f.key){case"ArrowLeft":if(!p||b)return;o.focusValue("previous");break;case"ArrowRight":if(!p||b)return;o.focusValue("next");break;case"Delete":case"Backspace":if(b)return;if(R)o.removeValue(R);else{if(!g)return;p?o.popValue():S&&o.clearValue()}break;case"Tab":if(o.isComposing||f.shiftKey||!F||!L||!X||k&&o.isOptionSelected(X,Y))return;o.selectOption(X);break;case"Enter":if(f.keyCode===229)break;if(F){if(!X||o.isComposing)return;o.selectOption(X);break}return;case"Escape":F?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:b}),o.onMenuClose()):S&&I&&o.clearValue();break;case" ":if(b)return;if(!F){o.openMenu("first");break}if(!X)return;o.selectOption(X);break;case"ArrowUp":F?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":F?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!F)return;o.focusOption("pageup");break;case"PageDown":if(!F)return;o.focusOption("pagedown");break;case"Home":if(!F)return;o.focusOption("first");break;case"End":if(!F)return;o.focusOption("last");break;default:return}f.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++bx),o.state.selectValue=xo(u.value),u.menuIsOpen&&o.state.selectValue.length){var l=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),c=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=l,o.state.focusedOption=a[c],o.state.focusedOptionId=ql(l,a[c])}return o}return GI(r,[{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&&$d(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(o){var l=this.props,a=l.isDisabled,c=l.menuIsOpen,f=this.state.isFocused;(f&&!a&&o.isDisabled||f&&c&&!o.menuIsOpen)&&this.focusInput(),f&&a&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!f&&!a&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&($d(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(o,l){this.props.onInputChange(o,l)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var l=this,a=this.state,c=a.selectValue,f=a.isFocused,h=this.buildFocusableOptions(),p=o==="first"?0:h.length-1;if(!this.props.isMulti){var g=h.indexOf(c[0]);g>-1&&(p=g)}this.scrollToFocusedOptionOnUpdate=!(f&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:h[p],focusedOptionId:this.getFocusedOptionId(h[p])},function(){return l.onMenuOpen()})}},{key:"focusValue",value:function(o){var l=this.state,a=l.selectValue,c=l.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var f=a.indexOf(c);c||(f=-1);var h=a.length-1,p=-1;if(a.length){switch(o){case"previous":f===0?p=0:f===-1?p=h:p=f-1;break;case"next":f>-1&&f<h&&(p=f+1);break}this.setState({inputIsHidden:p!==-1,focusedValue:a[p]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",l=this.props.pageSize,a=this.state.focusedOption,c=this.getFocusableOptions();if(c.length){var f=0,h=c.indexOf(a);a||(h=-1),o==="up"?f=h>0?h-1:c.length-1:o==="down"?f=(h+1)%c.length:o==="pageup"?(f=h-l,f<0&&(f=0)):o==="pagedown"?(f=h+l,f>c.length-1&&(f=c.length-1)):o==="last"&&(f=c.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:c[f],focusedValue:null,focusedOptionId:this.getFocusedOptionId(c[f])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(yu):de(de({},yu),this.props.theme):yu}},{key:"getCommonProps",value:function(){var o=this.clearValue,l=this.cx,a=this.getStyles,c=this.getClassNames,f=this.getValue,h=this.selectOption,p=this.setValue,g=this.props,I=g.isMulti,b=g.isRtl,S=g.options,A=this.hasValue();return{clearValue:o,cx:l,getStyles:a,getClassNames:c,getValue:f,hasValue:A,isMulti:I,isRtl:b,options:S,selectOption:h,selectProps:g,setValue:p,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,l=o.isClearable,a=o.isMulti;return l===void 0?a:l}},{key:"isOptionDisabled",value:function(o,l){return Bh(this.props,o,l)}},{key:"isOptionSelected",value:function(o,l){return _h(this.props,o,l)}},{key:"filterOption",value:function(o,l){return Gh(this.props,o,l)}},{key:"formatOptionLabel",value:function(o,l){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,c=this.state.selectValue;return this.props.formatOptionLabel(o,{context:l,inputValue:a,selectValue:c})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{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 o=this.props,l=o.isDisabled,a=o.isSearchable,c=o.inputId,f=o.inputValue,h=o.tabIndex,p=o.form,g=o.menuIsOpen,I=o.required,b=this.getComponents(),S=b.Input,A=this.state,F=A.inputIsHidden,P=A.ariaSelection,L=this.commonProps,k=c||this.getElementId("input"),N=de(de(de({"aria-autocomplete":"list","aria-expanded":g,"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":I,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?(P==null?void 0:P.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?Pe.createElement(S,me({},L,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:k,innerRef:this.getInputRef,isDisabled:l,isHidden:F,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:h,form:p,type:"text",value:f},N)):Pe.createElement(XC,me({id:k,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Co,onFocus:this.onInputFocus,disabled:l,tabIndex:h,inputMode:"none",form:p,value:""},N))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,l=this.getComponents(),a=l.MultiValue,c=l.MultiValueContainer,f=l.MultiValueLabel,h=l.MultiValueRemove,p=l.SingleValue,g=l.Placeholder,I=this.commonProps,b=this.props,S=b.controlShouldRenderValue,A=b.isDisabled,F=b.isMulti,P=b.inputValue,L=b.placeholder,k=this.state,N=k.selectValue,X=k.focusedValue,R=k.isFocused;if(!this.hasValue()||!S)return P?null:Pe.createElement(g,me({},I,{key:"placeholder",isDisabled:A,isFocused:R,innerProps:{id:this.getElementId("placeholder")}}),L);if(F)return N.map(function(D,j){var Q=D===X,U="".concat(o.getOptionLabel(D),"-").concat(o.getOptionValue(D));return Pe.createElement(a,me({},I,{components:{Container:c,Label:f,Remove:h},isFocused:Q,isDisabled:A,key:U,index:j,removeProps:{onClick:function(){return o.removeValue(D)},onTouchEnd:function(){return o.removeValue(D)},onMouseDown:function(be){be.preventDefault()}},data:D}),o.formatOptionLabel(D,"value"))});if(P)return null;var Y=N[0];return Pe.createElement(p,me({},I,{data:Y,isDisabled:A}),this.formatOptionLabel(Y,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),l=o.ClearIndicator,a=this.commonProps,c=this.props,f=c.isDisabled,h=c.isLoading,p=this.state.isFocused;if(!this.isClearable()||!l||f||!this.hasValue()||h)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Pe.createElement(l,me({},a,{innerProps:g,isFocused:p}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),l=o.LoadingIndicator,a=this.commonProps,c=this.props,f=c.isDisabled,h=c.isLoading,p=this.state.isFocused;if(!l||!h)return null;var g={"aria-hidden":"true"};return Pe.createElement(l,me({},a,{innerProps:g,isDisabled:f,isFocused:p}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),l=o.DropdownIndicator,a=o.IndicatorSeparator;if(!l||!a)return null;var c=this.commonProps,f=this.props.isDisabled,h=this.state.isFocused;return Pe.createElement(a,me({},c,{isDisabled:f,isFocused:h}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),l=o.DropdownIndicator;if(!l)return null;var a=this.commonProps,c=this.props.isDisabled,f=this.state.isFocused,h={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Pe.createElement(l,me({},a,{innerProps:h,isDisabled:c,isFocused:f}))}},{key:"renderMenu",value:function(){var o=this,l=this.getComponents(),a=l.Group,c=l.GroupHeading,f=l.Menu,h=l.MenuList,p=l.MenuPortal,g=l.LoadingMessage,I=l.NoOptionsMessage,b=l.Option,S=this.commonProps,A=this.state.focusedOption,F=this.props,P=F.captureMenuScroll,L=F.inputValue,k=F.isLoading,N=F.loadingMessage,X=F.minMenuHeight,R=F.maxMenuHeight,Y=F.menuIsOpen,D=F.menuPlacement,j=F.menuPosition,Q=F.menuPortalTarget,U=F.menuShouldBlockScroll,q=F.menuShouldScrollIntoView,be=F.noOptionsMessage,Se=F.onMenuScrollToTop,ue=F.onMenuScrollToBottom;if(!Y)return null;var pe=function(w,je){var ge=w.type,Ne=w.data,St=w.isDisabled,Ve=w.isSelected,vt=w.label,Xt=w.value,Lt=A===Ne,Dt=St?void 0:function(){return o.onOptionHover(Ne)},Nn=St?void 0:function(){return o.selectOption(Ne)},ne="".concat(o.getElementId("option"),"-").concat(je),oe={id:ne,onClick:Nn,onMouseMove:Dt,onMouseOver:Dt,tabIndex:-1,role:"option","aria-selected":o.isAppleDevice?void 0:Ve};return Pe.createElement(b,me({},S,{innerProps:oe,data:Ne,isDisabled:St,isSelected:Ve,key:ne,label:vt,type:ge,value:Xt,isFocused:Lt,innerRef:Lt?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(w.data,"menu"))},Ee;if(this.hasOptions())Ee=this.getCategorizedOptions().map(function(Le){if(Le.type==="group"){var w=Le.data,je=Le.options,ge=Le.index,Ne="".concat(o.getElementId("group"),"-").concat(ge),St="".concat(Ne,"-heading");return Pe.createElement(a,me({},S,{key:Ne,data:w,options:je,Heading:c,headingProps:{id:St,data:Le.data},label:o.formatGroupLabel(Le.data)}),Le.options.map(function(Ve){return pe(Ve,"".concat(ge,"-").concat(Ve.index))}))}else if(Le.type==="option")return pe(Le,"".concat(Le.index))});else if(k){var Oe=N({inputValue:L});if(Oe===null)return null;Ee=Pe.createElement(g,S,Oe)}else{var Ke=be({inputValue:L});if(Ke===null)return null;Ee=Pe.createElement(I,S,Ke)}var E={minMenuHeight:X,maxMenuHeight:R,menuPlacement:D,menuPosition:j,menuShouldScrollIntoView:q},xe=Pe.createElement(y1,me({},S,E),function(Le){var w=Le.ref,je=Le.placerProps,ge=je.placement,Ne=je.maxHeight;return Pe.createElement(f,me({},S,E,{innerRef:w,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:k,placement:ge}),Pe.createElement(UC,{captureEnabled:P,onTopArrive:Se,onBottomArrive:ue,lockEnabled:U},function(St){return Pe.createElement(h,me({},S,{innerRef:function(vt){o.getMenuListRef(vt),St(vt)},innerProps:{role:"listbox","aria-multiselectable":S.isMulti,id:o.getElementId("listbox")},isLoading:k,maxHeight:Ne,focusedOption:A}),Ee)}))});return Q||j==="fixed"?Pe.createElement(p,me({},S,{appendTo:Q,controlElement:this.controlRef,menuPlacement:D,menuPosition:j}),xe):xe}},{key:"renderFormField",value:function(){var o=this,l=this.props,a=l.delimiter,c=l.isDisabled,f=l.isMulti,h=l.name,p=l.required,g=this.state.selectValue;if(p&&!this.hasValue()&&!c)return Pe.createElement(KC,{name:h,onFocus:this.onValueInputFocus});if(!(!h||c))if(f)if(a){var I=g.map(function(A){return o.getOptionValue(A)}).join(a);return Pe.createElement("input",{name:h,type:"hidden",value:I})}else{var b=g.length>0?g.map(function(A,F){return Pe.createElement("input",{key:"i-".concat(F),name:h,type:"hidden",value:o.getOptionValue(A)})}):Pe.createElement("input",{name:h,type:"hidden",value:""});return Pe.createElement("div",null,b)}else{var S=g[0]?this.getOptionValue(g[0]):"";return Pe.createElement("input",{name:h,type:"hidden",value:S})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,l=this.state,a=l.ariaSelection,c=l.focusedOption,f=l.focusedValue,h=l.isFocused,p=l.selectValue,g=this.getFocusableOptions();return Pe.createElement(LC,me({},o,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:c,focusedValue:f,isFocused:h,selectValue:p,focusableOptions:g,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),l=o.Control,a=o.IndicatorsContainer,c=o.SelectContainer,f=o.ValueContainer,h=this.props,p=h.className,g=h.id,I=h.isDisabled,b=h.menuIsOpen,S=this.state.isFocused,A=this.commonProps=this.getCommonProps();return Pe.createElement(c,me({},A,{className:p,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:I,isFocused:S}),this.renderLiveRegion(),Pe.createElement(l,me({},A,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:I,isFocused:S,menuIsOpen:b}),Pe.createElement(f,me({},A,{isDisabled:I}),this.renderPlaceholderOrValue(),this.renderInput()),Pe.createElement(a,me({},A,{isDisabled:I}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,l){var a=l.prevProps,c=l.clearFocusValueOnUpdate,f=l.inputIsHiddenAfterUpdate,h=l.ariaSelection,p=l.isFocused,g=l.prevWasFocused,I=l.instancePrefix,b=o.options,S=o.value,A=o.menuIsOpen,F=o.inputValue,P=o.isMulti,L=xo(S),k={};if(a&&(S!==a.value||b!==a.options||A!==a.menuIsOpen||F!==a.inputValue)){var N=A?px(o,L):[],X=A?Ph(Fo(o,L),"".concat(I,"-option")):[],R=c?gx(l,L):null,Y=mx(l,N),D=ql(X,Y);k={selectValue:L,focusedOption:Y,focusedOptionId:D,focusableOptionsWithIds:X,focusedValue:R,clearFocusValueOnUpdate:!1}}var j=f!=null&&o!==a?{inputIsHidden:f,inputIsHiddenAfterUpdate:void 0}:{},Q=h,U=p&&g;return p&&!U&&(Q={value:mu(P,L,L[0]||null),options:L,action:"initial-input-focus"},U=!g),(h==null?void 0:h.action)==="initial-input-focus"&&(Q=null),de(de(de({},k),j),{},{prevProps:o,ariaSelection:Q,prevWasFocused:U})}}]),r}(H.Component);$l.defaultProps=hx;var vx=H.forwardRef(function(e,t){var r=Nd(e);return Pe.createElement($l,me({ref:t},r))}),Oo=vx;const yx=yu,To={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}},kh={colors:{},spacing:{baseUnit:4,controlHeight:32,menuGutter:8},boxShadow:{button:"none",input:"none",card:"none",dropdown:"none"}};function Lh(e){if(!e)return yu;const t=typeof e=="function"?e(To):e,{colors:r,spacing:u,borderRadius:o}=Bo(yx,t);return{borderRadius:o,colors:r,spacing:u}}function Bo(e,...t){const r={borderRadius:e.borderRadius,colors:{...e.colors},spacing:{...e.spacing},boxShadow:{...e.boxShadow}};for(const u of t)u&&(r.borderRadius=u.borderRadius??r.borderRadius,Object.assign(r.boxShadow,u.boxShadow),Object.assign(r.colors,u.colors),Object.assign(r.spacing,u.spacing));return r}function Dh(e){const{field:t,markdown:r}=e,{prop:u}=t,{getClassNames:o,getStyles:l,theme:a}=fn(),c={color:a.colors.neutral50,fontWeight:400,fontSize:"0.75rem",gridArea:"description",textWrap:"balance",lineHeight:"1.5"};return u.type==="app"?K.jsx("p",{className:o("description",e),style:l("description",c,e),children:"Credentials are encrypted."}):u.description?K.jsxs("div",{className:o("description",e),style:l("description",c,e),children:[" ",K.jsx(hd,{components:{a:({...f})=>K.jsx("a",{...f,target:"_blank",rel:"noopener noreferrer"})},children:r})]}):null}function Mh(e){const{field:t}=e,{errors:r={},prop:u={},enableDebugging:o}=t;if(!o||!r[u.name])return null;const l=r[u.name].map(f=>({type:"alert",alertType:"error",content:f})),a={display:"grid",gridTemplateColumns:"max-content"},c=()=>K.jsx(K.Fragment,{children:l.map((f,h)=>K.jsx(so,{prop:f},h))});return K.jsx("div",{className:"pd-errors",style:a,children:K.jsx(c,{})})}function Nh(e){const{text:t,field:r}=e,{id:u}=r,{getProps:o,theme:l}=fn(),a={color:l.colors.neutral90,fontWeight:450,gridArea:"label",lineHeight:"1.5"};return K.jsx("label",{htmlFor:u,...o("label",a,e),children:t})}const Vh=e=>{const{prop:t,enabled:r,onClick:u}=e,{getProps:o,theme:l}=fn(),a={color:l.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${l.spacing.baseUnit}px ${l.spacing.baseUnit*1.5}px ${l.spacing.baseUnit}px ${l.spacing.baseUnit*2.5}px`,border:`1px solid ${l.colors.neutral30}`,borderRadius:l.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:l.spacing.baseUnit*2,textWrap:"nowrap"};return K.jsxs("button",{onClick:u,type:"button",...o("optionalFieldButton",a,e),children:[K.jsx("span",{children:r?"-":"+"}),K.jsx("span",{style:{marginRight:8},children:t.label||t.name})]})},Wh=e=>{const{onChange:t}=e,{getProps:r,theme:u}=fn(),o={backgroundColor:u.colors.primary,borderRadius:u.borderRadius,border:"solid 1px",borderColor:u.colors.primary25,color:u.colors.primary25,padding:"0.5rem",fontSize:"0.8125rem",fontWeight:"450",gridArea:"control",cursor:"pointer",width:"100%"};return K.jsx("button",{onClick:t,type:"button",...r("loadMoreButton",o,e),children:"Load More"})},Xh={Description:Dh,Errors:Mh,Label:Nh,OptionalFieldButton:Vh,Button:Wh},_o=H.createContext({classNames:{},classNamePrefix:"",components:{},styles:{},theme:To,unstyled:!1});function Ix(){const e=H.useContext(_o)??{},t=Lh(e.theme??{});function r(){return e.classNamePrefix??""}function u(c){var p;const f=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${c}`,h={...((p=e.classNames)==null?void 0:p[c])??{}};return typeof(h==null?void 0:h.container)=="function"&&(h.container=typeof(h==null?void 0:h.container)=="function"?(...g)=>{var I;return[(I=h==null?void 0:h.container)==null?void 0:I.call(h,...g),f].join(" ")}:()=>f),h}function o(c,f){var h;return{...bu,...f??{},...((h=e==null?void 0:e.components)==null?void 0:h[c])??{}}}function l(c,f){var h;return sx(((h=e.styles)==null?void 0:h[c])??{},f??{})}function a(c,f){return{classNamePrefix:r(),classNames:u(c),components:o(c,f==null?void 0:f.components),styles:l(c,f==null?void 0:f.styles),theme:t}}return{getClassNamePrefix:r,getClassNames:u,getComponents:o,getProps:a,getStyles:l,theme:t}}function fn(){const e=H.useContext(_o)??{},t=e.theme,r=e.unstyled?kh:To,u=typeof t=="function"?Bo(r,t(r)):Bo(r,t);function o(f,h){var I;const p=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${f.toLowerCase()}`,g=(I=e.classNames)==null?void 0:I[f];if(typeof g=="function"){const b=g,S={...h??{},theme:u};return[p,b(S)].filter(Boolean).join(" ")}return[p,g].filter(Boolean).join(" ")}function l(){return{...Xh,...(e==null?void 0:e.components)??{}}}function a(f,h,p){var I;const g=(I=e.styles)==null?void 0:I[f];if(typeof g=="function"){const b=g,S={...p??{},theme:u};return b(h,S)}return g?{...h,...g}:h}function c(f,h,p){return{className:o(f,p),style:a(f,h,p)}}return{getClassNames:o,getComponents:l,getProps:c,getStyles:a,select:Ix(),theme:u}}const Cx=({children:e,...t})=>K.jsx(_o.Provider,{value:t,children:e}),Kl=H.createContext(void 0),Jr=()=>{const e=H.useContext(Kl);if(!e)throw new Error("Must be used inside FormFieldContext.Provider");return e},Hh=(e,t)=>{var o;const r=ur(),u=Zr({...t==null?void 0:t.useQueryOpts,queryKey:["accounts",e],queryFn:()=>r.getAccounts(e)});return{...u,accounts:((o=u.data)==null?void 0:o.data)||[]}},xx=e=>K.jsx(bu.Option,{...e,children:e.data.name});function zh({app:e}){const t=ur(),r=Jr(),{id:u,prop:o,value:l,onChange:a}=r,{getProps:c,select:f,theme:h}=fn(),p={color:h.colors.neutral60,gridArea:"control"},g={backgroundColor:h.colors.primary,borderRadius:h.borderRadius,border:"solid 1px",borderColor:h.colors.primary25,color:h.colors.primary25,padding:"0.25rem 0.5rem",gridArea:"control"},I={components:{Option:xx},styles:{control:N=>({...N,gridArea:"control",boxShadow:h.boxShadow.input})}},b=f.getProps("controlAppSelect",I),S=void 0,{isLoading:A,accounts:F,refetch:P}=Hh({app:e.name_slug,oauth_app_id:S},{useQueryOpts:{enabled:!!e,suspense:!!e}}),L=async()=>{t.connectAccount({app:o.app,oauthAppId:S,onSuccess:async N=>{await P(),a({authProvisionId:N.id})},onError:()=>{}})},k=H.useMemo(()=>{let N=l;if(N!=null){for(const X of F)if(N.authProvisionId===X.id){N=X;break}}return N},[F,l]);return K.jsx("div",{...c("controlApp",p,{app:e,...r}),children:A?`Loading ${e.name} accounts...`:F.length?K.jsx(Oo,{instanceId:u,value:k,options:[...F,{id:"_new",name:`Connect new ${e.name} account...`}],...b,required:!0,placeholder:`Select ${e.name} account...`,isLoading:A,isClearable:!0,isSearchable:!0,getOptionLabel:N=>N.name,getOptionValue:N=>N.id,onChange:N=>{N?N.id==="_new"?L():a({authProvisionId:N.id}):a(void 0)}}):K.jsxs("button",{type:"button",...c("connectButton",g,{app:e,...r}),onClick:()=>L(),children:["Connect ",e.name]})})}function Zh(){const e=Jr(),{id:t,value:r,onChange:u}=e,{getProps:o}=fn(),l={width:"16px",height:"16px",gridArea:"control",margin:"0 0.5rem 0 0"};return K.jsx("input",{id:t,type:"checkbox",...o("controlBoolean",l,e),checked:r??!1,onChange:a=>u(a.target.checked)})}function Yh(){const e=Jr(),{id:t,onChange:r,prop:u,value:o}=e,{getProps:l,theme:a}=fn(),c={color:a.colors.neutral60,display:"block",border:"1px solid",borderColor:a.colors.neutral20,padding:6,width:"100%",borderRadius:a.borderRadius,gridArea:"control",boxShadow:a.boxShadow.input};let f="off",h="text",p=g=>g;switch(u.type){case"string":break;case"integer":h="number",p=g=>g?parseInt(g):void 0;break;default:throw new Error("unexpected prop.type for ControlInput: "+u.type)}return"secret"in u&&u.secret&&(h="password",f="new-password"),K.jsx("input",{id:t,type:h,name:u.name,value:o??"",onChange:g=>r(p(g.target.value)),...l("controlInput",c,e),min:"min"in u?u.min:void 0,max:"max"in u?u.max:void 0,autoComplete:f,"data-lpignore":"true","data-1p-ignore":"true",required:!u.optional})}var Ax=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Jh=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,u=arguments.length>2?arguments[2]:void 0,o=String(t).toLowerCase(),l=String(u.getOptionValue(r)).toLowerCase(),a=String(u.getOptionLabel(r)).toLowerCase();return l===o||a===o},ea={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,r,u,o){return!(!t||r.some(function(l){return Jh(t,l,o)})||u.some(function(l){return Jh(t,l,o)}))},getNewOptionData:function(t,r){return{label:r,value:t,__isNew__:!0}}};function wx(e){var t=e.allowCreateWhileLoading,r=t===void 0?!1:t,u=e.createOptionPosition,o=u===void 0?"last":u,l=e.formatCreateLabel,a=l===void 0?ea.formatCreateLabel:l,c=e.isValidNewOption,f=c===void 0?ea.isValidNewOption:c,h=e.getNewOptionData,p=h===void 0?ea.getNewOptionData:h,g=e.onCreateOption,I=e.options,b=I===void 0?[]:I,S=e.onChange,A=Un(e,Ax),F=A.getOptionValue,P=F===void 0?wh:F,L=A.getOptionLabel,k=L===void 0?Ah:L,N=A.inputValue,X=A.isLoading,R=A.isMulti,Y=A.value,D=A.name,j=H.useMemo(function(){return f(N,xo(Y),b,{getOptionValue:P,getOptionLabel:k})?p(N,a(N)):void 0},[a,p,k,P,N,f,b,Y]),Q=H.useMemo(function(){return(r||!X)&&j?o==="first"?[j].concat(xi(b)):[].concat(xi(b),[j]):b},[r,o,X,j,b]),U=H.useCallback(function(q,be){if(be.action!=="select-option")return S(q,be);var Se=Array.isArray(q)?q:[q];if(Se[Se.length-1]===j){if(g)g(N);else{var ue=p(N,N),pe={action:"create-option",name:D,option:ue};S(mu(R,[].concat(xi(xo(Y)),[ue]),ue),pe)}return}S(q,be)},[p,N,R,D,j,g,S,Y]);return de(de({},A),{},{options:Q,onChange:U})}var Sx=H.forwardRef(function(e,t){var r=Nd(e),u=wx(r);return Pe.createElement($l,me({ref:t},u))}),Ex=Sx;function Go({isCreatable:e,options:t,selectProps:r,showLoadMoreButton:u,onLoadMore:o}){const l=Jr(),{id:a,prop:c,value:f,onChange:h}=l,{select:p,theme:g}=fn(),[I,b]=H.useState(t),[S,A]=H.useState(f);H.useEffect(()=>{b(t)},[t]),H.useEffect(()=>{A(f)},[f]);const F={styles:{container:D=>({...D,gridArea:"control",boxShadow:g.boxShadow.input})}},P=H.useMemo(()=>{let D=S;if(D!=null)if(Array.isArray(D)){if(typeof D[0]!="object"){const j=[];for(const Q of D){let U={label:Q,value:Q};for(const q of I)if(q.value===Q){U=q;break}j.push(U)}D=j}}else if(typeof D!="object")if((I==null?void 0:I[0])&&typeof I[0]=="object"){for(const Q of I)if(Q.value===S){D=Q;break}}else D={label:S,value:S};else D.__lv&&(D=D.__lv);return D},[S,I]),L=({children:D,...j})=>K.jsxs(bu.MenuList,{...j,children:[D,K.jsx("div",{className:"pt-4",children:K.jsx(Wh,{onChange:o})})]}),k=p.getProps("controlSelect",F);u&&(k.components={...k.components,MenuList:L});const N=D=>{const j=be=>typeof be=="object"?be:{label:be,value:be},Q=j(D);let U=Q;const q=I?[Q,...I]:[Q];b(q),c.type.endsWith("[]")&&(Array.isArray(S)?U=[...S.map(j),Q]:U=[Q]),A(U),X(U)},X=D=>{if(D)if(Array.isArray(D))typeof D[0]=="object"&&"value"in D[0]?h({__lv:D}):h(D);else if(typeof D=="object"&&"value"in D)h({__lv:D});else throw new Error("unhandled option type");else h(void 0)},R={onCreateOption:c.remoteOptions?N:void 0},Y=e?Ex:Oo;return K.jsx(Y,{inputId:a,instanceId:a,options:I,value:P,isMulti:c.type.endsWith("[]"),isClearable:!0,required:!c.optional,...k,...r,...R,onChange:X})}function jh({queryEnabled:e}){const t=ur(),{userId:r,component:u,configurableProps:o,configuredProps:l,dynamicProps:a,props:{disableQueryDisabling:c}}=po(),{idx:f,prop:h}=Jr(),[p,g]=H.useState(""),[I,b]=H.useState(0),[S,A]=H.useState(!0),[F,P]=H.useState(void 0),[L,k]=H.useState({page:0,prevContext:{},data:[],values:new Set}),N={};for(let ue=0;ue<f;ue++){const pe=o[ue];N[pe.name]=l[pe.name]}const X={userId:r,page:I,prevContext:F,componentId:u.key,propName:h.name,configuredProps:N,dynamicPropsId:a==null?void 0:a.id};h.useQuery&&(X.query=p||"");const R={...X};delete R.dynamicPropsId;const[Y,D]=H.useState(),j=()=>{b(L.page),P(L.prevContext),k({...L,prevContext:{}})},{isFetching:Q,refetch:U}=Zr({queryKey:["componentConfigure",R],queryFn:async()=>{D(void 0);const ue=await t.componentConfigure(X),{options:pe,stringOptions:Ee,errors:Oe}=ue;if(Oe!=null&&Oe.length){try{D(JSON.parse(Oe[0]))}catch{D({name:"Error",message:Oe[0]})}return[]}let Ke=[];if(pe!=null&&pe.length&&(Ke=pe),Ee!=null&&Ee.length){const w=[];for(const je of Ee)w.push({label:je,value:je});Ke=w}const E=[],xe=new Set(L.values);for(const w of Ke||[]){const je=typeof w=="string"?w:w.value;xe.has(je)||(xe.add(je),E.push(w))}let Le=L.data;return E.length?(Le=[...L.data,...E],k({page:I+1,prevContext:ue.context,data:Le,values:xe})):A(!1),Le},enabled:!!e}),q=()=>!Q&&!Y&&S,be=Y?Y.message:c?"Click to configure":e?void 0:"Configure props above first",Se=c?!1:!e;return K.jsx(Go,{isCreatable:!0,showLoadMoreButton:q(),onLoadMore:j,options:L.data,selectProps:{isLoading:Q,placeholder:be,isDisabled:Se,inputValue:h.useQuery?p:void 0,onInputChange(ue){h.useQuery&&(g(ue),U())},onMenuOpen(){c&&!e&&U()}}})}function Uh(e){const{field:t,form:r}=e,{queryDisabledIdx:u}=r,{prop:o,idx:l}=t,a="app"in t.extra?t.extra.app:void 0;if(o.remoteOptions||o.type==="$.discord.channel")return K.jsx(jh,{queryEnabled:u==null||u>=l});if("options"in o&&o.options){let c=o.options;return typeof c[0]!="object"&&(c=c.map(f=>({label:f,value:f}))),K.jsx(Go,{options:c,components:{IndicatorSeparator:()=>null}})}if(o.type.endsWith("[][]"))throw new Error("Unsupported property type: "+o.type);if(o.type.endsWith("[]"))return K.jsx(Go,{isCreatable:!0,options:[],components:{IndicatorSeparator:()=>null}});switch(o.type){case"app":return K.jsx(zh,{app:a});case"boolean":return K.jsx(Zh,{});case"string":case"integer":return K.jsx(Yh,{});default:throw new Error("Unsupported property type: "+o.type)}}function Qh(e){const{form:t,field:r}=e,{prop:u}=r,{getProps:o,getComponents:l}=fn(),a={display:"grid",gridTemplateAreas:r.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:c,Description:f,Errors:h}=l(),p="app"in r.extra?r.extra.app:void 0;if(p&&!p.auth_type)return null;let g=u.label||u.name;return p&&(g=`Connect ${p.name} account`),K.jsxs("div",{...o("field",a,e),children:[K.jsx(c,{text:g,field:r,form:t}),K.jsx(Uh,{field:r,form:t}),K.jsx(f,{markdown:u.description,field:r,form:t}),K.jsx(h,{field:r,form:t})]})}const qh=(e,t)=>{var o;const r=ur(),u=Zr({queryKey:["app",e],queryFn:()=>r.app(e),...t==null?void 0:t.useQueryOpts});return{...u,app:(o=u.data)==null?void 0:o.data}};function $h({prop:e,idx:t}){const r=po(),{id:u,configuredProps:o,registerField:l,setConfiguredProp:a,errors:c,enableDebugging:f}=r,h=e.type==="app"&&"app"in e?e.app:void 0,{app:p}=qh(h||"",{useQueryOpts:{enabled:!!h,suspense:!!h}}),I={id:`pd${u}${e.name}`,prop:e,idx:t,value:o[e.name],onChange(b){a(t,b)},extra:{app:p},errors:c,enableDebugging:f};return H.useEffect(()=>l(I),[I]),K.jsx(Kl.Provider,{value:I,children:K.jsx(Qh,{field:I,form:r})})}class Kh extends H.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 ep(e){const{form:t}=e,{propsNeedConfiguring:r,submitting:u}=t,{getProps:o,theme:l}=fn(),a=c=>{var f;return{width:"fit-content",textTransform:"capitalize",backgroundColor:c?l.colors.neutral10:l.colors.primary,color:c?l.colors.neutral40:l.colors.neutral0,padding:`${l.spacing.baseUnit*1.75}px ${l.spacing.baseUnit*16}px`,borderRadius:l.borderRadius,boxShadow:(f=l.boxShadow)==null?void 0:f.button,cursor:"pointer",fontSize:"0.875rem",opacity:u?.5:void 0,margin:"0.5rem 0 0 0"}};return K.jsx("input",{type:"submit",value:u?"Submitting...":"Submit",...o("controlSubmit",a(r.length||u),e),disabled:r.length||u})}const Fx=["ConfigurationError"];function tp(){const e=po(),{configurableProps:t,dynamicPropsQueryIsFetching:r,isValid:u,optionalPropIsEnabled:o,optionalPropSetEnabled:l,props:a,setSubmitting:c,sdkErrors:f,submitting:h,enableDebugging:p}=e,g=p||f.filter(Q=>Fx.includes(Q.name)).length>0,{hideOptionalProps:I,onSubmit:b}=a,[S,A]=H.useState([]);H.useEffect(()=>{h?A([]):f&&f.length&&A(f.map(Q=>({type:"alert",alertType:"error",content:`# ${Q.name}
|
|
46
|
+
${Q.message}`})))},[f,h]);const{getComponents:F,getProps:P,theme:L}=fn(),{OptionalFieldButton:k}=F(),N={display:"flex",flexDirection:"column",gap:"1.5rem"},X={display:"flex",flexWrap:"wrap",gap:"0.375rem"},R={fontWeight:600,textTransform:"capitalize",color:L.colors.neutral60,fontSize:"0.875rem",lineHeight:"1.375",margin:"0 0 0.5rem 0"},Y=async Q=>{if(b&&(Q.preventDefault(),u)){c(!0);try{await b(e)}finally{c(!1)}}},D=[],j=[];for(let Q=0;Q<t.length;Q++){const U=t[Q];if(!U.hidden&&!pu.includes(U.type)){if(U.optional){const q=o(U);if(j.push([U,q]),!q)continue}D.push([U,Q])}}return K.jsx(Kh,{fallback:Q=>K.jsxs("p",{style:{color:"red"},children:["Error: ",Q&&typeof Q=="object"&&"message"in Q&&typeof Q.message=="string"?Q.message:"Unknown"]}),children:K.jsx(H.Suspense,{fallback:K.jsx("p",{children:"Loading form..."}),children:K.jsxs("form",{...P("componentForm",N,a),onSubmit:Y,children:[D.map(([Q,U])=>Q.type==="alert"?K.jsx(so,{prop:Q},Q.name):K.jsx($h,{prop:Q,idx:U},Q.name)),r&&K.jsx("p",{children:"Loading dynamic props..."}),!I&&j.length?K.jsxs("div",{children:[K.jsx("div",{...P("heading",R,a),children:"Optional Props"}),K.jsx("div",{...P("optionalFields",X,a),children:j.map(([Q,U])=>K.jsx(k,{prop:Q,enabled:U,onClick:()=>l(Q,!U)},Q.name))})]}):null,g&&(S==null?void 0:S.map((Q,U)=>K.jsx(so,{prop:Q},U))),b&&K.jsx(ep,{form:e})]})})})}function np(e){return K.jsx(kd,{props:e,children:K.jsx(tp,{})})}const rp=({key:e},t)=>{var o;const r=ur(),u=Zr({queryKey:["component",e],queryFn:()=>r.component({key:e}),enabled:!!e,...t==null?void 0:t.useQueryOpts});return{...u,component:(o=u.data)==null?void 0:o.data}};function Px(e){const{isLoading:t,error:r,component:u}=rp({key:e.componentKey});if(!e.componentKey)throw new Error("componentKey required");return t?K.jsx("p",{children:"Loading..."}):r?K.jsxs("p",{children:["Error: ",r.message]}):u?K.jsx(np,{component:u,...e}):K.jsx("p",{children:"Component not found"})}function Ox(){const e=Jr(),{id:t,onChange:r,value:u}=e,{getProps:o,theme:l}=fn(),a={display:"block",gridArea:"control",width:"100%",fontSize:"0.875rem",boxShadow:l.boxShadow.input};let c=u;return typeof c=="object"&&(c=JSON.stringify(c)),K.jsx("textarea",{id:t,value:c,onChange:f=>r(f.target.value),...o("controlAny",a,e)})}const ip=e=>{var u;const t=ur(),r=Zr({queryKey:["apps",e],queryFn:()=>t.apps(e)});return{...r,apps:(u=r.data)==null?void 0:u.data}};function Tx({value:e,onChange:t}){const[r,u]=H.useState(""),o=H.useId(),{isLoading:l,apps:a}=ip({q:r}),{Option:c}=bu;return K.jsx(Oo,{instanceId:o,className:"react-select-container text-sm",classNamePrefix:"react-select",components:{Option:f=>K.jsx(c,{...f,children:K.jsxs("div",{style:{display:"flex",gap:10},children:[K.jsx("img",{src:`https://pipedream.com/s.v0/${f.data.id}/logo/48`,style:{height:24,width:24},alt:f.data.name}),K.jsx("span",{style:{whiteSpace:"nowrap"},children:f.data.name})]})}),IndicatorSeparator:()=>null},options:a||[],getOptionLabel:f=>f.name||f.name_slug,getOptionValue:f=>f.name_slug,value:e,onChange:f=>t==null?void 0:t(f||void 0),onInputChange:f=>u(f),isLoading:l})}const up=e=>{var u;const t=ur(),r=Zr({queryKey:["components",e],queryFn:()=>t.components(e)});return{...r,components:((u=r.data)==null?void 0:u.data)||[]}};function Bx({app:e,componentType:t,value:r,onChange:u}){const o=H.useId(),{isLoading:l,components:a}=up({app:e==null?void 0:e.name_slug,componentType:t});return K.jsx(Oo,{instanceId:o,className:"react-select-container text-sm",classNamePrefix:"react-select",options:a,getOptionLabel:c=>c.name||c.key,getOptionValue:c=>c.key,value:r,onChange:c=>u==null?void 0:u(c||void 0),isLoading:l,components:{IndicatorSeparator:()=>null}})}ie.Alert=so,ie.ComponentForm=np,ie.ComponentFormContainer=Px,ie.Control=Uh,ie.ControlAny=Ox,ie.ControlApp=zh,ie.ControlBoolean=Zh,ie.ControlInput=Yh,ie.ControlSelect=Go,ie.ControlSubmit=ep,ie.CustomizationContext=_o,ie.CustomizeProvider=Cx,ie.Description=Dh,ie.ErrorBoundary=Kh,ie.Errors=Mh,ie.Field=Qh,ie.FormContext=Ll,ie.FormContextProvider=kd,ie.FormFieldContext=Kl,ie.FrontendClientProvider=mI,ie.InternalComponentForm=tp,ie.InternalField=$h,ie.Label=Nh,ie.OptionalFieldButton=Vh,ie.RemoteOptionsContainer=jh,ie.SelectApp=Tx,ie.SelectComponent=Bx,ie.defaultComponents=Xh,ie.defaultTheme=To,ie.getReactSelectTheme=Lh,ie.mergeTheme=Bo,ie.skippablePropTypes=pu,ie.unstyledTheme=kh,ie.useAccounts=Hh,ie.useApp=qh,ie.useApps=ip,ie.useComponent=rp,ie.useComponents=up,ie.useCustomize=fn,ie.useFormContext=po,ie.useFormFieldContext=Jr,ie.useFrontendClient=ur,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
|