1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2427],{21186:function(e,t,r){"use strict";r.d(t,{U:function(){return Accordion}});var s=r(2784),u=r(59618),d=r(90732),p=r(33095),h=r(48945),m=r(50855);let y={context:"Accordion component was not found in the tree",itemContext:"Accordion.Item component was not found in the tree",value:"Accordion.Item component was rendered with invalid value or without value"},[v,b]=(0,m.R)(y.context);function AccordionProvider({children:e,multiple:t,value:r,defaultValue:u,onChange:m,id:b,loop:w,transitionDuration:S,disableChevronRotation:_,chevronPosition:O,chevronSize:E,order:T,chevron:A,variant:z,radius:D,classNames:j,styles:R,unstyled:L}){let M=(0,p.M)(b),[N,B]=(0,h.C)({value:r,defaultValue:u,finalValue:t?[]:null,onChange:m});return s.createElement(v,{value:{isItemActive:e=>Array.isArray(N)?N.includes(e):e===N,onChange:e=>{let t=Array.isArray(N)?N.includes(e)?N.filter(t=>t!==e):[...N,e]:e===N?null:e;B(t)},getControlId:(0,d.A)(`${M}-control`,y.value),getRegionId:(0,d.A)(`${M}-panel`,y.value),transitionDuration:S,disableChevronRotation:_,chevronPosition:O,chevronSize:E,order:T,chevron:A,loop:w,variant:z,radius:D,classNames:j,styles:R,unstyled:L}},e)}let[w,S]=(0,m.R)(y.itemContext);var _=r(33712),O=r(41319),E=(0,O.k)((e,t,{variant:r})=>({item:function(e,t,{radius:r}){let s="dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],u="dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0],d=e.fn.radius(r);return"default"===t?{color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,borderBottom:`${(0,_.h)(1)} solid ${s}`}:"contained"===t?{border:`${(0,_.h)(1)} solid ${s}`,transition:"background-color 150ms ease","&[data-active]":{backgroundColor:u},"&:first-of-type":{borderTopRightRadius:d,borderTopLeftRadius:d,"& > [data-accordion-control]":{borderTopRightRadius:d,borderTopLeftRadius:d}},"&:last-of-type":{borderBottomRightRadius:d,borderBottomLeftRadius:d,"& > [data-accordion-control]":{borderBottomRightRadius:d,borderBottomLeftRadius:d}},"& + &":{borderTop:0}}:"filled"===t?{borderRadius:d,"&[data-active]":{backgroundColor:u}}:"separated"===t?{borderRadius:d,backgroundColor:u,border:`${(0,_.h)(1)} solid transparent`,transition:"background-color 150ms ease","& + &":{marginTop:e.spacing.md},"&[data-active]":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,borderColor:s}}:{}}(e,r,t)})),T=r(35938),A=Object.defineProperty,z=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))D.call(t,r)&&__defNormalProp(e,r,t[r]);if(z)for(var r of z(t))j.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__objRest=(e,t)=>{var r={};for(var s in e)D.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&z)for(var s of z(e))0>t.indexOf(s)&&j.call(e,s)&&(r[s]=e[s]);return r};let R={},L=(0,s.forwardRef)((e,t)=>{let r=(0,u.N4)("AccordionItem",R,e),{children:d,className:p,value:h}=r,m=__objRest(r,["children","className","value"]),y=b(),{classes:v,cx:S}=E({radius:y.radius},{name:"Accordion",classNames:y.classNames,styles:y.styles,unstyled:y.unstyled,variant:y.variant});return s.createElement(w,{value:{value:h}},s.createElement(T.x,__spreadValues({ref:t,className:S(v.item,p),"data-active":y.isItemActive(h)||void 0},m),d))});L.displayName="@mantine/core/AccordionItem";var M=r(67697),N=Object.defineProperty,B=Object.defineProperties,H=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,AccordionControl_styles_defNormalProp=(e,t,r)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,AccordionControl_styles_spreadValues=(e,t)=>{for(var r in t||(t={}))q.call(t,r)&&AccordionControl_styles_defNormalProp(e,r,t[r]);if(W)for(var r of W(t))G.call(t,r)&&AccordionControl_styles_defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>B(e,H(t)),Z=(0,O.k)((e,{transitionDuration:t,chevronPosition:r,chevronSize:s},{variant:u})=>({icon:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:"left"
1===r?0:e.spacing.sm,marginLeft:"left"===r?e.spacing.lg:0},chevron:{display:"flex",alignItems:"center",justifyContent:"center",transition:`transform ${t}ms ease`,marginRight:"right"===r?0:e.spacing.sm,marginLeft:"right"===r?e.spacing.lg:0,width:(0,_.h)(s),minWidth:(0,_.h)(s),"&[data-rotate]":{transform:"rotate(180deg)"}},label:{color:"inherit",fontWeight:400,flex:1,overflow:"hidden",textOverflow:"ellipsis",paddingTop:e.spacing.md,paddingBottom:e.spacing.md},itemTitle:{margin:0,padding:0},control:__spreadProps(AccordionControl_styles_spreadValues(AccordionControl_styles_spreadValues(AccordionControl_styles_spreadValues({},e.fn.focusStyles()),e.fn.fontStyles()),"default"===u||"contained"===u?e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]}):{}),{width:"100%",display:"flex",alignItems:"center",flexDirection:"right"===r?"row-reverse":"row",paddingRight:e.spacing.md,paddingLeft:"right"===r?`calc(${e.spacing.md} + ${(0,_.h)(4)})`:e.spacing.xs,textAlign:"left",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,"&:disabled":AccordionControl_styles_spreadValues({opacity:.4,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"}))})})),Y=r(41696),ee=Object.defineProperty,et=Object.defineProperties,en=Object.getOwnPropertyDescriptors,er=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable,AccordionControl_defNormalProp=(e,t,r)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,AccordionControl_spreadValues=(e,t)=>{for(var r in t||(t={}))ei.call(t,r)&&AccordionControl_defNormalProp(e,r,t[r]);if(er)for(var r of er(t))el.call(t,r)&&AccordionControl_defNormalProp(e,r,t[r]);return e},AccordionControl_spreadProps=(e,t)=>et(e,en(t)),AccordionControl_objRest=(e,t)=>{var r={};for(var s in e)ei.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&er)for(var s of er(e))0>t.indexOf(s)&&el.call(e,s)&&(r[s]=e[s]);return r};let ea={},es=(0,s.forwardRef)((e,t)=>{let r=(0,u.N4)("AccordionControl",ea,e),{disabled:d,onKeyDown:p,onClick:h,chevron:m,children:y,className:v,icon:w}=r,_=AccordionControl_objRest(r,["disabled","onKeyDown","onClick","chevron","children","className","icon"]),O=b(),{value:E}=S(),{classes:T,cx:A}=Z({transitionDuration:O.transitionDuration,chevronPosition:O.chevronPosition,chevronSize:O.chevronSize,radius:O.radius},{name:"Accordion",classNames:O.classNames,styles:O.styles,unstyled:O.unstyled,variant:O.variant}),z=O.isItemActive(E),D="number"==typeof O.order,j=`h${O.order}`,R=s.createElement(Y.k,AccordionControl_spreadProps(AccordionControl_spreadValues({},_),{ref:t,"data-accordion-control":!0,disabled:d,className:A(T.control,v),onClick:e=>{null==h||h(e),O.onChange(E)},type:"button","data-active":z||void 0,"aria-expanded":z,"aria-controls":O.getRegionId(E),id:O.getControlId(E),unstyled:O.unstyled,onKeyDown:(0,M.R)({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:O.loop,orientation:"vertical",onKeyDown:p})}),s.createElement("span",{className:T.chevron,"data-rotate":!O.disableChevronRotation&&z||void 0},m||O.chevron),s.createElement("span",{className:T.label},y),w&&s.createElement("span",{className:T.icon},w));return D?s.createElement(j,{className:T.itemTitle},R):R});es.displayName="@mantine/core/AccordionControl";var eu=Object.defineProperty,ec=Object.defineProperties,ed=Object.getOwnPropertyDescriptors,ef=Object.getOwnPropertySymbols,ep=Object.prototype.hasOwnProperty,eh=Object.prototype.propertyIsEnumerable,AccordionPanel_styles_defNormalProp=(e,t,r)=>t in e?eu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,AccordionPanel_styles_spreadValues=(e,t)=>{for(var r in t||(t={}))ep.call(t,r)&&AccordionPanel_styles_defNormalProp(e,r,t[r]);if(ef)for(var r of ef(t))eh.call(t,r)&&AccordionPanel_styles_defNormalProp(e,r,t[r]);return e},AccordionPanel_styles_spreadProps=(e,t)=>ec(e,ed(t)),em=(0,O.k)((e,t)=>({panel:AccordionPanel_styles_spreadProps(AccordionPanel_styles_spreadValues({},e.fn.fontStyles()),{wordBreak:"break-word",lineHeight:e.lineHeight}),content:{padding:e.spacing.md,paddingTop:`calc(${e.spacing.xs} / 2)`}})),eg=r(16757),ey=Object.defineProperty,ev=Object.defineProperties,eb=Object.getOwnPropertyDescriptors,ex=Object.getOwnPropertySymbols,ek=Object.prototype.hasOwnProperty,ew=Object.prototype.propertyIsEnumerable,AccordionPanel_defNormalProp=(e,t,r)=>t in e?ey(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,AccordionPanel_spreadValues=(e,t)=>{for(var r in t||(t={}))ek.call(t,r)&&AccordionPanel_defNormalProp(e,r,t[r]);if(ex)for(var r of ex(t))ew.call(t,r)&&AccordionPanel_defNormalProp(e,r,t[r]);return e},AccordionPanel_spreadProps=(e,t)=>ev(e,eb(t)),AccordionPanel_objRest=(e,t)=>
1{var r={};for(var s in e)ek.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&ex)for(var s of ex(e))0>t.indexOf(s)&&ew.call(e,s)&&(r[s]=e[s]);return r};let eC={};function AccordionPanel(e){let t=(0,u.N4)("AccordionPanel",eC,e),{children:r,className:d}=t,p=AccordionPanel_objRest(t,["children","className"]),h=b(),{value:m}=S(),{classNames:y,styles:v,unstyled:w}=b(),{classes:_,cx:O}=em({radius:h.radius},{name:"Accordion",classNames:y,styles:v,unstyled:w,variant:h.variant});return s.createElement(eg.U,AccordionPanel_spreadProps(AccordionPanel_spreadValues({},p),{className:O(_.panel,d),in:h.isItemActive(m),transitionDuration:h.transitionDuration,role:"region",id:h.getRegionId(m),"aria-labelledby":h.getControlId(m)}),s.createElement("div",{className:_.content},r))}AccordionPanel.displayName="@mantine/core/AccordionPanel";var eS=r(46154),e_=Object.defineProperty,eI=Object.defineProperties,eP=Object.getOwnPropertyDescriptors,eO=Object.getOwnPropertySymbols,eE=Object.prototype.hasOwnProperty,eT=Object.prototype.propertyIsEnumerable,Accordion_defNormalProp=(e,t,r)=>t in e?e_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Accordion_spreadValues=(e,t)=>{for(var r in t||(t={}))eE.call(t,r)&&Accordion_defNormalProp(e,r,t[r]);if(eO)for(var r of eO(t))eT.call(t,r)&&Accordion_defNormalProp(e,r,t[r]);return e},Accordion_spreadProps=(e,t)=>eI(e,eP(t)),Accordion_objRest=(e,t)=>{var r={};for(var s in e)eE.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&eO)for(var s of eO(e))0>t.indexOf(s)&&eT.call(e,s)&&(r[s]=e[s]);return r};let eA={multiple:!1,disableChevronRotation:!1,transitionDuration:200,chevronPosition:"right",variant:"default",chevronSize:24,chevron:s.createElement(eS.D,null)};function Accordion(e){let t=(0,u.N4)("Accordion",eA,e),{id:r,loop:d,children:p,multiple:h,value:m,defaultValue:y,onChange:v,transitionDuration:b,disableChevronRotation:w,chevronPosition:S,chevronSize:_,order:O,chevron:E,classNames:A,styles:z,unstyled:D,variant:j,radius:R}=t,L=Accordion_objRest(t,["id","loop","children","multiple","value","defaultValue","onChange","transitionDuration","disableChevronRotation","chevronPosition","chevronSize","order","chevron","classNames","styles","unstyled","variant","radius"]);return s.createElement(AccordionProvider,{id:r,multiple:h,value:m,defaultValue:y,onChange:v,loop:d,transitionDuration:b,disableChevronRotation:w,chevronPosition:S,chevronSize:_,order:O,chevron:E,variant:j,radius:R,classNames:A,styles:z,unstyled:D},s.createElement(T.x,Accordion_spreadProps(Accordion_spreadValues({},L),{"data-accordion":!0}),p))}Accordion.Item=L,Accordion.Control=es,Accordion.Panel=AccordionPanel,Accordion.displayName="@mantine/core/Accordion"},46154:function(e,t,r){"use strict";r.d(t,{D:function(){return ChevronIcon}});var s=r(2784),u=r(33712),d=Object.defineProperty,p=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))h.call(t,r)&&__defNormalProp(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__objRest=(e,t)=>{var r={};for(var s in e)h.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&p)for(var s of p(e))0>t.indexOf(s)&&m.call(e,s)&&(r[s]=e[s]);return r};function ChevronIcon(e){let{style:t}=e,r=__objRest(e,["style"]);return s.createElement("svg",__spreadValues({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:__spreadValues({width:(0,u.h)(16),height:(0,u.h)(16)},t)},r),s.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}},96563:function(e,t,r){"use strict";r.d(t,{C:function(){return B}});var s=r(2784),u=r(59618),d=r(75673),p=r(33712),h=r(43071),m=r(41319),y=Object.defineProperty,v=Object.defineProperties,b=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))S.call(t,r)&&__defNormalProp(e,r,t[r]);if(w)for(var r of w(t))_.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>v(e,b(t));let O=["light","filled","outline","dot","gradient"],E={xs:{fontSize:(0,p.h)(9),height:(0,p.h)(16)},sm:{fontSize:(0,p.h)(10),height:(0,p.h)(18)},md:{fontSize:(0,p.h)(11),height:(0,p.h)(20)},lg:{fontSize:(0,p.h)(13),height:(0,p.h)(26)},xl:{fontSize:(0,p.h)(16),height:(0,p.h)(32)}},T={xs:(0,p.h)(4),sm:(0,p.h)(4),md:(0,p.h)(6),lg:(0,p.h)(8),xl:(0,p.h)(10)};var A=(0,m.k)((e,{color:t,radius:r,gradient:s,fullWidth:u},{variant:d,size:m})=>{let{fontSize:y,height:v}=m in E?E[m]:E.md;return{leftSection:{marginRight:`calc(${e.spacing.xs} / 2)`},rightSection:{marginLeft:`calc(${e.spacing.xs} / 2)`},inner:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},root:__spreadValues(__spreadProps(__spreadValues(__spreadValues({},e.fn.focusStyles()),e.fn.fontStyles()),{fontSize:y,height:v,WebkitTapHighlightColor:"transparent",lineHeight:`calc(${v} - ${(0,p.h)(2)})`,textDecoration:"none",padding:`0 calc(${(0,h.a)({size:m,sizes:e.spacing})}
1 / 1.5)`,boxSizing:"border-box",display:u?"flex":"inline-flex",alignItems:"center",justifyContent:"center",width:u?"100%":"auto",textTransform:"uppercase",borderRadius:e.fn.radius(r),fontWeight:700,letterSpacing:(0,p.h)(.25),cursor:"inherit",textOverflow:"ellipsis",overflow:"hidden"}),function({theme:e,variant:t,color:r,size:s,gradient:u}){if(!O.includes(t))return null;if("dot"===t){let t=(0,h.a)({size:s,sizes:T});return{backgroundColor:"transparent",color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[7],border:`${(0,p.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[3]}`,paddingLeft:`calc(${(0,h.a)({size:s,sizes:e.spacing})} / 1.5 - ${t} / 2)`,"&::before":{content:'""',display:"block",width:t,height:t,borderRadius:t,backgroundColor:e.fn.themeColor(r,"dark"===e.colorScheme?4:e.fn.primaryShade("light"),!0),marginRight:t}}}let d=e.fn.variant({color:r,variant:t,gradient:u});return{background:d.background,color:d.color,border:`${(0,p.h)("gradient"===t?0:1)} solid ${d.border}`}}({theme:e,variant:d,color:t,size:m,gradient:s}))}}),z=r(35938),D=Object.defineProperty,j=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,Badge_defNormalProp=(e,t,r)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Badge_spreadValues=(e,t)=>{for(var r in t||(t={}))R.call(t,r)&&Badge_defNormalProp(e,r,t[r]);if(j)for(var r of j(t))L.call(t,r)&&Badge_defNormalProp(e,r,t[r]);return e},__objRest=(e,t)=>{var r={};for(var s in e)R.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&j)for(var s of j(e))0>t.indexOf(s)&&L.call(e,s)&&(r[s]=e[s]);return r};let M={variant:"light",size:"md",radius:"xl"},N=(0,s.forwardRef)((e,t)=>{let r=(0,u.N4)("Badge",M,e),{className:d,color:p,variant:h,fullWidth:m,children:y,size:v,leftSection:b,rightSection:w,radius:S,gradient:_,classNames:O,styles:E,unstyled:T}=r,D=__objRest(r,["className","color","variant","fullWidth","children","size","leftSection","rightSection","radius","gradient","classNames","styles","unstyled"]),{classes:j,cx:R}=A({fullWidth:m,color:p,radius:S,gradient:_},{classNames:O,styles:E,name:"Badge",unstyled:T,variant:h,size:v});return s.createElement(z.x,Badge_spreadValues({className:R(j.root,d),ref:t},D),b&&s.createElement("span",{className:j.leftSection},b),s.createElement("span",{className:j.inner},y),w&&s.createElement("span",{className:j.rightSection},w))});N.displayName="@mantine/core/Badge";let B=(0,d.F)(N)},14293:function(e,t,r){"use strict";r.d(t,{E:function(){return D}});var s=r(2784),u=r(59618),d=r(41319),p=r(33712),h=Object.defineProperty,m=Object.defineProperties,y=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))b.call(t,r)&&__defNormalProp(e,r,t[r]);if(v)for(var r of v(t))w.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>m(e,y(t)),S=(0,d.k)((e,{color:t})=>{let r=t||("dark"===e.colorScheme?"dark":"gray"),s=e.fn.variant({color:r,variant:"light"});return{root:__spreadProps(__spreadValues({},e.fn.fontStyles()),{lineHeight:e.lineHeight,padding:`${(0,p.h)(2)} calc(${e.spacing.xs} / 2)`,borderRadius:e.radius.sm,color:"dark"===e.colorScheme?"dark"===r?e.colors.dark[0]:e.white:e.colors.dark[7],backgroundColor:"dark"===e.colorScheme&&"dark"===r?e.colors.dark[5]:s.background,fontFamily:e.fontFamilyMonospace,fontSize:e.fontSizes.xs}),block:{padding:e.spacing.xs,margin:0,overflowX:"auto"}}}),_=r(35938),O=Object.defineProperty,E=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,Code_defNormalProp=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Code_spreadValues=(e,t)=>{for(var r in t||(t={}))T.call(t,r)&&Code_defNormalProp(e,r,t[r]);if(E)for(var r of E(t))A.call(t,r)&&Code_defNormalProp(e,r,t[r]);return e},__objRest=(e,t)=>{var r={};for(var s in e)T.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&E)for(var s of E(e))0>t.indexOf(s)&&A.call(e,s)&&(r[s]=e[s]);return r};let z={},D=(0,s.forwardRef)((e,t)=>{let r=(0,u.N4)("Code",z,e),{className:d,children:p,block:h,color:m,unstyled:y,variant:v}=r,b=__objRest(r,["className","children","block","color","unstyled","variant"]),{classes:w,cx:O}=S({color:m},{name:"Code",unstyled:y,variant:v});return h?s.createElement(_.x,Code_spreadValues({component:"pre",dir:"ltr",className:O(w.root,w.block,d),ref:t}
1,b),p):s.createElement(_.x,Code_spreadValues({component:"code",className:O(w.root,d),ref:t,dir:"ltr"},b),p)});D.displayName="@mantine/core/Code"},16757:function(e,t,r){"use strict";r.d(t,{U:function(){return L}});var s=r(2784),u=r(12764),d=r(59618),p=r(28316),h=r(55913),m=r(5248),y=Object.defineProperty,v=Object.defineProperties,b=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))S.call(t,r)&&__defNormalProp(e,r,t[r]);if(w)for(var r of w(t))_.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>v(e,b(t)),__objRest=(e,t)=>{var r={};for(var s in e)S.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&w)for(var s of w(e))0>t.indexOf(s)&&_.call(e,s)&&(r[s]=e[s]);return r};function getElementHeight(e){return(null==e?void 0:e.current)?e.current.scrollHeight:"auto"}let O="undefined"!=typeof window&&window.requestAnimationFrame;var E=r(35100),T=r(35938),A=Object.defineProperty,z=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,Collapse_defNormalProp=(e,t,r)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Collapse_spreadValues=(e,t)=>{for(var r in t||(t={}))D.call(t,r)&&Collapse_defNormalProp(e,r,t[r]);if(z)for(var r of z(t))j.call(t,r)&&Collapse_defNormalProp(e,r,t[r]);return e},Collapse_objRest=(e,t)=>{var r={};for(var s in e)D.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&z)for(var s of z(e))0>t.indexOf(s)&&j.call(e,s)&&(r[s]=e[s]);return r};let R={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},L=(0,s.forwardRef)((e,t)=>{let r=(0,d.N4)("Collapse",R,e),{children:y,in:v,transitionDuration:b,transitionTimingFunction:w,style:S,onTransitionEnd:_,animateOpacity:A}=r,z=Collapse_objRest(r,["children","in","transitionDuration","transitionTimingFunction","style","onTransitionEnd","animateOpacity"]),D=(0,d.rZ)(),j=(0,u.J)(),L=!!D.respectReducedMotion&&j,M=L?0:b,{systemStyles:N,rest:B}=(0,E.x)(z),H=function({transitionDuration:e,transitionTimingFunction:t="ease",onTransitionEnd:r=()=>{},opened:u}){let d=(0,s.useRef)(null),y={display:"none",height:0,overflow:"hidden"},[v,b]=(0,s.useState)(u?{}:y),setStyles=e=>{(0,p.flushSync)(()=>b(e))},mergeStyles=e=>{setStyles(t=>__spreadValues(__spreadValues({},t),e))};function getTransitionStyles(r){let s=e||function(e){if(!e||"string"==typeof e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(r);return{transition:`height ${s}ms ${t}`}}(0,h.l)(()=>{u?O(()=>{mergeStyles({willChange:"height",display:"block",overflow:"hidden"}),O(()=>{let e=getElementHeight(d);mergeStyles(__spreadProps(__spreadValues({},getTransitionStyles(e)),{height:e}))})}):O(()=>{let e=getElementHeight(d);mergeStyles(__spreadProps(__spreadValues({},getTransitionStyles(e)),{willChange:"height",height:e})),O(()=>mergeStyles({height:0,overflow:"hidden"}))})},[u]);let handleTransitionEnd=e=>{if(e.target===d.current&&"height"===e.propertyName){if(u){let e=getElementHeight(d);e===v.height?setStyles({}):mergeStyles({height:e}),r()}else 0===v.height&&(setStyles(y),r())}};return function(e={}){var{style:t={},refKey:r="ref"}=e,s=__objRest(e,["style","refKey"]);let p=s[r];return __spreadProps(__spreadValues({"aria-hidden":!u},s),{[r]:(0,m.l)(d,p),onTransitionEnd:handleTransitionEnd,style:__spreadValues(__spreadValues({boxSizing:"border-box"},t),v)})}}({opened:v,transitionDuration:M,transitionTimingFunction:w,onTransitionEnd:_});return 0===M?v?s.createElement(T.x,Collapse_spreadValues({},B),y):null:s.createElement(T.x,Collapse_spreadValues({},H(Collapse_spreadValues(Collapse_spreadValues({style:S,ref:t},B),N))),s.createElement("div",{style:{opacity:v||!A?1:0,transition:A?`opacity ${M}ms ${w}`:"none"}},y))});L.displayName="@mantine/core/Collapse"},18328:function(e,t,r){"use strict";r.d(t,{a:function(){return Z}});var s=r(2784),u=r(59618),d=r(50855);let[p,h]=(0,d.R)("List component was not found in tree");var m=r(41319),y=r(64236),v=r(43071),b=(0,m.k)((e,{spacing:t,center:r})=>({itemWrapper:{ref:(0,y.A)("itemWrapper"),display:"inline-flex",flexDirection:"column",whiteSpace:"normal"},item:{whiteSpace:"nowrap",lineHeight:r?1:e.lineHeight,"&:not(:first-of-type)":{marginTop:(0,v.a)({size:t,sizes:e.spacing})},"&[data-with-icon]":{listStyle:"none",[`& .${(0,y.A)("itemWrapper")}`]:{display:"inline-flex",alignItems:r?"center":"flex-start",flexDirection:"row"}}},itemIcon:{display:"inline-block",verticalAlign:"middle",marginRight:e.spacing.sm}})),w=r(35938),S=Object.defineProperty,_=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))O.call(t,r)&&__defNormalProp(e,r,t[r]);if(_)for(var r of _(t))E.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__objRest=(e,t)=>
1{var r={};for(var s in e)O.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&_)for(var s of _(e))0>t.indexOf(s)&&E.call(e,s)&&(r[s]=e[s]);return r};let T={},A=(0,s.forwardRef)((e,t)=>{let r=(0,u.N4)("ListItem",T,e),{className:d,children:p,icon:m}=r,y=__objRest(r,["className","children","icon"]),{icon:v,spacing:S,center:_,listStyleType:O,size:E,withPadding:A,classNames:z,styles:D,unstyled:j,variant:R}=h(),L=m||v,{classes:M,cx:N}=b({withPadding:A,listStyleType:O,center:_,spacing:S},{classNames:z,styles:D,unstyled:j,name:"List",variant:R,size:E});return s.createElement(w.x,__spreadValues({component:"li",className:N(M.item,d),"data-with-icon":!!L||void 0,ref:t},y),s.createElement("div",{className:M.itemWrapper},L&&s.createElement("span",{className:M.itemIcon},L),s.createElement("span",null,p)))});A.displayName="@mantine/core/ListItem";var z=Object.defineProperty,D=Object.defineProperties,j=Object.getOwnPropertyDescriptors,R=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,List_styles_defNormalProp=(e,t,r)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,List_styles_spreadValues=(e,t)=>{for(var r in t||(t={}))L.call(t,r)&&List_styles_defNormalProp(e,r,t[r]);if(R)for(var r of R(t))M.call(t,r)&&List_styles_defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>D(e,j(t)),N=(0,m.k)((e,{withPadding:t,listStyleType:r},{size:s})=>({root:__spreadProps(List_styles_spreadValues({},e.fn.fontStyles()),{listStyleType:r,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,fontSize:(0,v.a)({size:s,sizes:e.fontSizes}),lineHeight:e.lineHeight,margin:0,paddingLeft:t?e.spacing.xl:0,listStylePosition:"inside"})})),B=Object.defineProperty,H=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,List_defNormalProp=(e,t,r)=>t in e?B(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,List_spreadValues=(e,t)=>{for(var r in t||(t={}))W.call(t,r)&&List_defNormalProp(e,r,t[r]);if(H)for(var r of H(t))q.call(t,r)&&List_defNormalProp(e,r,t[r]);return e},List_objRest=(e,t)=>{var r={};for(var s in e)W.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&H)for(var s of H(e))0>t.indexOf(s)&&q.call(e,s)&&(r[s]=e[s]);return r};let G={type:"unordered",size:"md",spacing:0},Z=(0,s.forwardRef)((e,t)=>{let r=(0,u.N4)("List",G,e),{children:d,type:h,size:m,listStyleType:y,withPadding:v,center:b,spacing:S,icon:_,className:O,styles:E,classNames:T,unstyled:A,variant:z}=r,D=List_objRest(r,["children","type","size","listStyleType","withPadding","center","spacing","icon","className","styles","classNames","unstyled","variant"]),{classes:j,cx:R}=N({withPadding:v,listStyleType:y,center:b,spacing:S},{classNames:T,styles:E,name:"List",unstyled:A,size:m,variant:z});return s.createElement(p,{value:{spacing:S,center:b,icon:_,listStyleType:y,size:m,withPadding:v,classNames:T,styles:E,unstyled:A,variant:z}},s.createElement(w.x,List_spreadValues({component:"unordered"===h?"ul":"ol",className:R(j.root,O),ref:t},D),d))});Z.Item=A,Z.displayName="@mantine/core/List"},98963:function(e,t,r){"use strict";r.d(t,{l:function(){return z}});var s=r(2784),u=r(59618),d=r(41319),p=r(33712),h=Object.defineProperty,m=Object.defineProperties,y=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))b.call(t,r)&&__defNormalProp(e,r,t[r]);if(v)for(var r of v(t))w.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>m(e,y(t)),S=(0,d.k)(e=>{let t=Object.keys(e.headings.sizes).reduce((t,r)=>{let s=e.headings.sizes[r];return t[`& ${r}`]=__spreadProps(__spreadValues({fontFamily:e.headings.fontFamily,fontWeight:s.fontWeight||e.headings.fontWeight,marginTop:"number"==typeof s.lineHeight?`calc(${e.spacing.xl} * ${s.lineHeight})`:e.spacing.xl,marginBottom:e.spacing.sm},s),{[e.fn.smallerThan("sm")]:{fontSize:`calc(${(0,p.h)(s.fontSize)} / 1.3)`}}),t},{});return{root:__spreadProps(__spreadValues(__spreadProps(__spreadValues({},e.fn.fontStyles()),{color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,fontSize:e.fontSizes.md,[e.fn.smallerThan("sm")]:{fontSize:e.fontSizes.sm}}
1),t),{"& img":{maxWidth:"100%",marginBottom:e.spacing.xs},"& p":{marginTop:0,marginBottom:e.spacing.lg},"& mark":{backgroundColor:e.fn.themeColor("yellow","dark"===e.colorScheme?5:2),color:"dark"===e.colorScheme?e.colors.dark[9]:"inherit"},"& hr":{marginTop:e.spacing.md,marginBottom:e.spacing.sm,borderBottom:0,borderLeft:0,borderRight:0,borderTop:`${(0,p.h)(1)} dashed ${e.colors.gray["dark"===e.colorScheme?4:6]}`},"& a":__spreadProps(__spreadValues({},e.fn.focusStyles()),{color:e.colors[e.primaryColor]["dark"===e.colorScheme?4:6],textDecoration:"none","&:hover":{textDecoration:"underline"}}),"& pre":{padding:e.spacing.xs,lineHeight:e.lineHeight,margin:0,marginTop:e.spacing.md,marginBottom:e.spacing.md,overflowX:"auto",fontFamily:e.fontFamilyMonospace,fontSize:e.fontSizes.sm,borderRadius:e.radius.sm,backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0],"& code":{backgroundColor:"transparent",padding:0,borderRadius:0,color:"inherit",border:0}},"& code":{lineHeight:e.lineHeight,padding:`${(0,p.h)(1)} ${(0,p.h)(5)}`,borderRadius:e.radius.sm,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,backgroundColor:"dark"===e.colorScheme?e.colors.dark[9]:e.colors.gray[0],fontFamily:e.fontFamilyMonospace,fontSize:e.fontSizes.xs,border:`${(0,p.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[9]:e.colors.gray[3]}`},"& ul, & ol":{marginBottom:e.spacing.md,paddingLeft:38,"& li":{marginTop:e.spacing.xs}},"& table":{width:"100%",borderCollapse:"collapse",captionSide:"bottom",marginBottom:e.spacing.md,"& caption":{marginTop:e.spacing.xs,fontSize:e.fontSizes.sm,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6]},"& th":{textAlign:"left",fontWeight:"bold",color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[7],fontSize:14,padding:`${(0,p.h)(7)} ${(0,p.h)(10)}`},"& thead th":{borderBottom:`${(0,p.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`},"& tfoot th":{borderTop:`${(0,p.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`},"& td":{padding:`${(0,p.h)(7)} ${(0,p.h)(10)}`,borderBottom:`${(0,p.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,fontSize:14},"& tr:last-of-type td":{borderBottom:"none"}},"& blockquote":{fontSize:e.fontSizes.lg,lineHeight:e.lineHeight,margin:`${e.spacing.md} 0`,borderTopRightRadius:e.radius.sm,borderBottomRightRadius:e.radius.sm,padding:`${e.spacing.md} ${e.spacing.lg}`,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,borderLeft:`${(0,p.h)(6)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,"& cite":{display:"block",fontSize:e.fontSizes.sm,marginTop:e.spacing.xs,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],overflow:"hidden",textOverflow:"ellipsis"}}})}}),_=r(35938),O=Object.defineProperty,E=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,TypographyStylesProvider_defNormalProp=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,TypographyStylesProvider_spreadValues=(e,t)=>{for(var r in t||(t={}))T.call(t,r)&&TypographyStylesProvider_defNormalProp(e,r,t[r]);if(E)for(var r of E(t))A.call(t,r)&&TypographyStylesProvider_defNormalProp(e,r,t[r]);return e},__objRest=(e,t)=>{var r={};for(var s in e)T.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&E)for(var s of E(e))0>t.indexOf(s)&&A.call(e,s)&&(r[s]=e[s]);return r};let z=(0,s.forwardRef)((e,t)=>{let r=(0,u.N4)("TypographyStylesProvider",{},e),{className:d,unstyled:p,variant:h}=r,m=__objRest(r,["className","unstyled","variant"]),{classes:y,cx:v}=S(null,{name:"TypographyStylesProvider",unstyled:p,variant:h});return s.createElement(_.x,TypographyStylesProvider_spreadValues({className:v(y.root,d),ref:t},m))});z.displayName="@mantine/core/TypographyStylesProvider"},22795:function(e,t,r){"use strict";r.d(t,{fh:function(){return eY}});var s=r(2784),u=r(51464),d=r(59618),p=r(33031),h=r(35938),m=r(78784),y=r(13980),v=r.n(y),b=r(22970),w=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function toFileWithPath(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),s=w.get(r);
1s&&Object.defineProperty(e,"type",{value:s,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var s=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof s&&s.length>0?s:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var S=[".DS_Store","Thumbs.db"];function isObject(e){return"object"==typeof e&&null!==e}function noIgnoredFiles(e){return e.filter(function(e){return -1===S.indexOf(e.name)})}function fromList(e){if(null===e)return[];for(var t=[],r=0;r<e.length;r++){var s=e[r];t.push(s)}return t}function toFilePromises(e){if("function"!=typeof e.webkitGetAsEntry)return fromDataTransferItem(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?fromDirEntry(t):fromDataTransferItem(e)}function fromDataTransferItem(e){var t=e.getAsFile();return t?Promise.resolve(toFileWithPath(t)):Promise.reject("".concat(e," is not a File"))}function fromEntry(e){return(0,b.__awaiter)(this,void 0,void 0,function(){return(0,b.__generator)(this,function(t){return[2,e.isDirectory?fromDirEntry(e):function(e){return(0,b.__awaiter)(this,void 0,void 0,function(){return(0,b.__generator)(this,function(t){return[2,new Promise(function(t,r){e.file(function(r){t(toFileWithPath(r,e.fullPath))},function(e){r(e)})})]})})}(e)]})})}function fromDirEntry(e){var t=e.createReader();return new Promise(function(e,r){var s=[];!function readEntries(){var u=this;t.readEntries(function(t){return(0,b.__awaiter)(u,void 0,void 0,function(){var u;return(0,b.__generator)(this,function(d){switch(d.label){case 0:if(t.length)return[3,5];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,Promise.all(s)];case 2:return e(d.sent()),[3,4];case 3:return r(d.sent()),[3,4];case 4:return[3,6];case 5:u=Promise.all(t.map(fromEntry)),s.push(u),readEntries(),d.label=6;case 6:return[2]}})})},function(e){r(e)})}()})}var _=r(30387),O=r(23716);function _toConsumableArray(e){return function(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_unsupportedIterableToArray(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,s)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,s,u=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=u){var d=[],p=!0,h=!1;try{for(u=u.call(e);!(p=(r=u.next()).done)&&(d.push(r.value),!t||d.length!==t);p=!0);}catch(e){h=!0,s=e}finally{try{p||null==u.return||u.return()}finally{if(h)throw s}}return d}}(e,t)||_unsupportedIterableToArray(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=Array(t);r<t;r++)s[r]=e[r];return s}var getInvalidTypeRejectionErr=function(e){var t=Array.isArray(e=Array.isArray(e)&&1===e.length?e[0]:e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},getTooLargeRejectionErr=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},getTooSmallRejectionErr=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},E={code:"too-many-files",message:"Too many files"};function fileAccepted(e,t){var r="application/x-moz-file"===e.type||(0,_.Z)(e,t);return[r,r?null:getInvalidTypeRejectionErr(t)]}function fileMatchSize(e,t,r){if(isDefined(e.size)){if(isDefined(t)&&isDefined(r)){if(e.size>r)return[!1,getTooLargeRejectionErr(r)];if(e.size<t)return[!1,getTooSmallRejectionErr(t)]}else if(isDefined(t)&&e.size<t)return[!1,getTooSmallRejectionErr(t)];else if(isDefined(r)&&e.size>r)return[!1,getTooLargeRejectionErr(r)]}return[!0,null]}function isDefined(e){return null!=e}function isPropagationStopped(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function isEvtWithFiles(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function onDocumentDragOver(e){e.preventDefault()}function composeEventHandlers(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,s=Array(r>1?r-1:0),u=1;u<r;u++)s[u-1]=arguments[u];return t.some(function(t){return!isPropagationStopped(e)&&t&&t.apply(void 0,[e].concat(s)),isPropagationStopped(e)})}}function isMIMEType(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function isExt(e){return/^.*\.[\w]+$/.test(e)}var T=r(23716),A=["children"],z=["open"],D=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],j=["refKey","onChange","onClick"];function es_slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,s,u=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=u){var d=[],p=!0,h=!1;try{for(u=u.call(e);!(p=(r=u.next()).done)&&(d.push(r.value),!t||d.length!==t);p=!0);}catch(e){h=!0,s=e}finally{try{p||null==u.return||u.return()}finally{if(h)throw s}}return d}}(e,t)||es_unsupportedIterableToArray(e,t)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function es_unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return es_arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return es_arrayLikeToArray(e,t)}}function es_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=Array(t);r<t;r++)s[r]=e[r];return s}function es_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,s)}return r}function es_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?es_ownKeys(Object(r),!0).forEach(function(t){es_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):es_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function es_defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectWithoutProperties(e,t){if(null==e)return{};var r,s,u=function(e,t){if(null==e)return{};var r,s,u={},d=Object.keys(e);for(s=0;s<d.length;s++)r=d[s],t.indexOf(r)>=0||(u[r]=e[r]);return u}(e,t);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(s=0;s<d.length;s++)r=d[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(u[r]=e[r])}return u}var R=(0,s.forwardRef)(function(e,t){var r=e.children,u=useDropzone(_objectWithoutProperties(e,A)),d=u.open,p=_objectWithoutProperties(u,z);return(0,s.useImperativeHandle)(t,function(){return{open:d}},[d]),s.createElement(s.Fragment,null,r(es_objectSpread(es_objectSpread({},p),{},{open:d})))});R.displayName="Dropzone";var L={disabled:!1,getFilesFromEvent:function(e){return(0,b.__awaiter)(this,void 0,void 0,function(){return(0,b.__generator)(this,function(t){return isObject(e)&&isObject(e.dataTransfer)?[2,function(e,t){return(0,b.__awaiter)(this,void 0,void 0,function(){var r;return(0,b.__generator)(this,function(s){switch(s.label){case 0:if(!e.items)return[3,2];if(r=fromList(e.items).filter(function(e){return"file"===e.kind}),"drop"!==t)return[2,r];return[4,Promise.all(r.map(toFilePromises))];case 1:return[2,noIgnoredFiles(function flatten(e){return e.reduce(function(e,t){return(0,b.__spreadArray)((0,b.__spreadArray)([],(0,b.__read)(e),!1),(0,b.__read)(Array.isArray(t)?flatten(t):[t]),!1)},[])}(s.sent()))];case 2:return[2,noIgnoredFiles(fromList(e.files).map(function(e){return toFileWithPath(e)}))]}})})}(e.dataTransfer,e.type)]:isObject(e)&&isObject(e.target)?[2,fromList(e.target.files).map(function(e){return toFileWithPath(e)})]:Array.isArray(e)&&e.every(function(e){return"getFile"in e&&"function"==typeof e.getFile})?[2,function(e){return(0,b.__awaiter)(this,void 0,void 0,function(){return(0,b.__generator)(this,function(t){switch(t.label){case 0:return[4,Promise.all(e.map(function(e){return e.getFile()}))];case 1:return[2,t.sent().map(function(e){return toFileWithPath(e)})]}})})}(e)]:[2,[]]})})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};R.defaultProps=L,R.propTypes={children:v().func,accept:v().objectOf(v().arrayOf(v().string)),multiple:v().bool,preventDropOnDocument:v().bool,noClick:v().bool,noKeyboard:v().bool,noDrag:v().bool,noDragEventsBubbling:v().bool,minSize:v().number,maxSize:v().number,maxFiles:v().number,disabled:v().bool,getFilesFromEvent:v().func,onFileDialogCancel:v().func,onFileDialogOpen:v().func,useFsAccessApi:v().bool,autoFocus:v().bool,onDragEnter:v().func,onDragLeave:v().func,onDragOver:v().func,onDrop:v().func,onDropAccepted:v().func,onDropRejected:v().func,onError:v().func,validator:v().func};var M={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function useDropzone(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=es_objectSpread(es_objectSpread({},L),e),r=t.accept,u=t.disabled,d=t.getFilesFromEvent,p=t.maxSize,h=t.minSize,m=t.multiple,y=t.maxFiles,v=t.onDragEnter,b=t.onDragLeave,w=t.onDragOver,S=t.onDrop,_=t.onDropAccepted,A=t.onDropRejected,z=t.onFileDialogCancel,R=t.onFileDialogOpen,N=t.useFsAccessApi,B=t.autoF
1ocus,H=t.preventDropOnDocument,W=t.noClick,q=t.noKeyboard,G=t.noDrag,Z=t.noDragEventsBubbling,Y=t.onError,ee=t.validator,et=(0,s.useMemo)(function(){return function(e){if(isDefined(e))return Object.entries(e).reduce(function(e,t){var r=_slicedToArray(t,2),s=r[0],u=r[1];return[].concat(_toConsumableArray(e),[s],_toConsumableArray(u))},[]).filter(function(e){return isMIMEType(e)||isExt(e)}).join(",")}(r)},[r]),en=(0,s.useMemo)(function(){return isDefined(r)?[{description:"Files",accept:Object.entries(r).filter(function(e){var t=_slicedToArray(e,2),r=t[0],s=t[1],u=!0;return isMIMEType(r)||(O.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),u=!1),Array.isArray(s)&&s.every(isExt)||(O.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),u=!1),u}).reduce(function(e,t){var r=_slicedToArray(t,2),s=r[0],u=r[1];return _objectSpread(_objectSpread({},e),{},_defineProperty({},s,u))},{})}]:r},[r]),er=(0,s.useMemo)(function(){return"function"==typeof R?R:noop},[R]),ei=(0,s.useMemo)(function(){return"function"==typeof z?z:noop},[z]),el=(0,s.useRef)(null),ea=(0,s.useRef)(null),es=es_slicedToArray((0,s.useReducer)(reducer,M),2),eu=es[0],ec=es[1],ed=eu.isFocused,ef=eu.isFileDialogActive,ep=(0,s.useRef)("undefined"!=typeof window&&window.isSecureContext&&N&&"showOpenFilePicker"in window),onWindowFocus=function(){!ep.current&&ef&&setTimeout(function(){ea.current&&!ea.current.files.length&&(ec({type:"closeDialog"}),ei())},300)};(0,s.useEffect)(function(){return window.addEventListener("focus",onWindowFocus,!1),function(){window.removeEventListener("focus",onWindowFocus,!1)}},[ea,ef,ei,ep]);var eh=(0,s.useRef)([]),onDocumentDrop=function(e){el.current&&el.current.contains(e.target)||(e.preventDefault(),eh.current=[])};(0,s.useEffect)(function(){return H&&(document.addEventListener("dragover",onDocumentDragOver,!1),document.addEventListener("drop",onDocumentDrop,!1)),function(){H&&(document.removeEventListener("dragover",onDocumentDragOver),document.removeEventListener("drop",onDocumentDrop))}},[el,H]),(0,s.useEffect)(function(){return!u&&B&&el.current&&el.current.focus(),function(){}},[el,B,u]);var em=(0,s.useCallback)(function(e){Y?Y(e):T.error(e)},[Y]),eg=(0,s.useCallback)(function(e){var t;e.preventDefault(),e.persist(),stopPropagation(e),eh.current=[].concat(function(e){if(Array.isArray(e))return es_arrayLikeToArray(e)}(t=eh.current)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||es_unsupportedIterableToArray(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.target]),isEvtWithFiles(e)&&Promise.resolve(d(e)).then(function(t){if(!isPropagationStopped(e)||Z){var r,s,u,d,b,w,S,_,O=t.length,E=O>0&&(s=(r={files:t,accept:et,minSize:h,maxSize:p,multiple:m,maxFiles:y,validator:ee}).files,u=r.accept,d=r.minSize,b=r.maxSize,w=r.multiple,S=r.maxFiles,_=r.validator,(!!w||!(s.length>1))&&(!w||!(S>=1)||!(s.length>S))&&s.every(function(e){var t=_slicedToArray(fileAccepted(e,u),1)[0],r=_slicedToArray(fileMatchSize(e,d,b),1)[0],s=_?_(e):null;return t&&r&&!s}));ec({isDragAccept:E,isDragReject:O>0&&!E,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e)}}).catch(function(e){return em(e)})},[d,v,em,Z,et,h,p,m,y,ee]),ey=(0,s.useCallback)(function(e){e.preventDefault(),e.persist(),stopPropagation(e);var t=isEvtWithFiles(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&w&&w(e),!1},[w,Z]),ev=(0,s.useCallback)(function(e){e.preventDefault(),e.persist(),stopPropagation(e);var t=eh.current.filter(function(e){return el.current&&el.current.contains(e)}),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),eh.current=t,!(t.length>0)&&(ec({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),isEvtWithFiles(e)&&b&&b(e))},[el,b,Z]),eb=(0,s.useCallback)(function(e,t){var r=[],s=[];e.forEach(function(e){var t=es_slicedToArray(fileAccepted(e,et),2),u=t[0],d=t[1],m=es_slicedToArray(fileMatchSize(e,h,p),2),y=m[0],v=m[1],b=ee?ee(e):null;if(u&&y&&!b)r.push(e);else{var w=[d,v];
1b&&(w=w.concat(b)),s.push({file:e,errors:w.filter(function(e){return e})})}}),(!m&&r.length>1||m&&y>=1&&r.length>y)&&(r.forEach(function(e){s.push({file:e,errors:[E]})}),r.splice(0)),ec({acceptedFiles:r,fileRejections:s,type:"setFiles"}),S&&S(r,s,t),s.length>0&&A&&A(s,t),r.length>0&&_&&_(r,t)},[ec,m,et,h,p,y,S,_,A,ee]),ex=(0,s.useCallback)(function(e){e.preventDefault(),e.persist(),stopPropagation(e),eh.current=[],isEvtWithFiles(e)&&Promise.resolve(d(e)).then(function(t){(!isPropagationStopped(e)||Z)&&eb(t,e)}).catch(function(e){return em(e)}),ec({type:"reset"})},[d,eb,em,Z]),ek=(0,s.useCallback)(function(){if(ep.current){ec({type:"openDialog"}),er(),window.showOpenFilePicker({multiple:m,types:en}).then(function(e){return d(e)}).then(function(e){eb(e,null),ec({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(ei(e),ec({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(ep.current=!1,ea.current?(ea.current.value=null,ea.current.click()):em(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):em(e)});return}ea.current&&(ec({type:"openDialog"}),er(),ea.current.value=null,ea.current.click())},[ec,er,ei,N,eb,em,en,m]),ew=(0,s.useCallback)(function(e){el.current&&el.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),ek())},[el,ek]),eC=(0,s.useCallback)(function(){ec({type:"focus"})},[]),eS=(0,s.useCallback)(function(){ec({type:"blur"})},[]),e_=(0,s.useCallback)(function(){W||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(ek,0):ek())},[W,ek]),composeHandler=function(e){return u?null:e},composeKeyboardHandler=function(e){return q?null:composeHandler(e)},composeDragHandler=function(e){return G?null:composeHandler(e)},stopPropagation=function(e){Z&&e.stopPropagation()},eI=(0,s.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,s=e.role,d=e.onKeyDown,p=e.onFocus,h=e.onBlur,m=e.onClick,y=e.onDragEnter,v=e.onDragOver,b=e.onDragLeave,w=e.onDrop,S=_objectWithoutProperties(e,D);return es_objectSpread(es_objectSpread(es_defineProperty({onKeyDown:composeKeyboardHandler(composeEventHandlers(d,ew)),onFocus:composeKeyboardHandler(composeEventHandlers(p,eC)),onBlur:composeKeyboardHandler(composeEventHandlers(h,eS)),onClick:composeHandler(composeEventHandlers(m,e_)),onDragEnter:composeDragHandler(composeEventHandlers(y,eg)),onDragOver:composeDragHandler(composeEventHandlers(v,ey)),onDragLeave:composeDragHandler(composeEventHandlers(b,ev)),onDrop:composeDragHandler(composeEventHandlers(w,ex)),role:"string"==typeof s&&""!==s?s:"presentation"},r,el),u||q?{}:{tabIndex:0}),S)}},[el,ew,eC,eS,e_,eg,ey,ev,ex,q,G,u]),eP=(0,s.useCallback)(function(e){e.stopPropagation()},[]),eO=(0,s.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,s=e.onChange,u=e.onClick,d=_objectWithoutProperties(e,j);return es_objectSpread(es_objectSpread({},es_defineProperty({accept:et,multiple:m,type:"file",style:{display:"none"},onChange:composeHandler(composeEventHandlers(s,ex)),onClick:composeHandler(composeEventHandlers(u,eP)),tabIndex:-1},r,ea)),d)}},[ea,r,m,ex,u]);return es_objectSpread(es_objectSpread({},eu),{},{isFocused:ed&&!u,getRootProps:eI,getInputProps:eO,rootRef:el,inputRef:ea,open:composeHandler(ek)})}function reducer(e,t){switch(t.type){case"focus":return es_objectSpread(es_objectSpread({},e),{},{isFocused:!0});case"blur":return es_objectSpread(es_objectSpread({},e),{},{isFocused:!1});case"openDialog":return es_objectSpread(es_objectSpread({},M),{},{isFileDialogActive:!0});case"closeDialog":return es_objectSpread(es_objectSpread({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return es_objectSpread(es_objectSpread({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return es_objectSpread(es_objectSpread({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return es_objectSpread({},M);default:return e}}function noop(){}var N=r(41319),B=Object.defineProperty,H=Object.defineProperties,W=Object.getOwnPropertyDescriptors,q=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?B(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))G.call(t,r)&&__defNormalProp(e,r,t[r]);if(q)for(var r of q(t))Z.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>H(e,W(t)),Y=(0,N.k)(e=>({root:__spreadProps(__spreadValues({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})})),ee=r(96824),et=r(53607),en=r(49081),er=Object.defineProperty,ei=Object.defineProperties,el=Object.getOwnPropertyDescriptors,ea=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,eu=Object.prototype.propertyIsEnumerable,LoadingOverlay_defNormalProp=(e,t,r)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,LoadingOverlay_spreadValues=(e,t)=>{for(var r in t||(t={}))es.call(t,r)&&LoadingOverlay_defNormalProp(e,r,t[r]);if(ea)for(var r of ea(t))eu.call(t,r)&&LoadingOverlay_defNormalProp(e,r,t[r]);return e},LoadingOverlay_spreadProps=(e,t)=>ei(e,el(t)),__objRest=(e,t)=>
1{var r={};for(var s in e)es.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&ea)for(var s of ea(e))0>t.indexOf(s)&&eu.call(e,s)&&(r[s]=e[s]);return r};let ec={overlayOpacity:.75,transitionDuration:0,radius:0,zIndex:(0,u.w)("overlay")},ed=(0,s.forwardRef)((e,t)=>{let r=(0,d.N4)("LoadingOverlay",ec,e),{className:u,visible:p,loaderProps:m,overlayOpacity:y,overlayColor:v,transitionDuration:b,exitTransitionDuration:w,zIndex:S,style:_,loader:O,radius:E,overlayBlur:T,unstyled:A,variant:z,keepMounted:D}=r,j=__objRest(r,["className","visible","loaderProps","overlayOpacity","overlayColor","transitionDuration","exitTransitionDuration","zIndex","style","loader","radius","overlayBlur","unstyled","variant","keepMounted"]),{classes:R,cx:L,theme:M}=Y(null,{name:"LoadingOverlay",unstyled:A,variant:z}),N=`calc(${S} + 1)`;return s.createElement(ee.u,{keepMounted:D,duration:b,exitDuration:w,mounted:p,transition:"fade"},e=>s.createElement(h.x,LoadingOverlay_spreadValues({className:L(R.root,u),style:LoadingOverlay_spreadProps(LoadingOverlay_spreadValues(LoadingOverlay_spreadValues({},e),_),{zIndex:S}),ref:t},j),O?s.createElement("div",{style:{zIndex:N}},O):s.createElement(et.a,LoadingOverlay_spreadValues({style:{zIndex:N}},m)),s.createElement(en.a,{opacity:y,zIndex:S,radius:E,blur:T,unstyled:A,color:v||("dark"===M.colorScheme?M.colors.dark[5]:M.white)})))});ed.displayName="@mantine/core/LoadingOverlay";var ef=r(80603),ep=r(50855);let[eh,em]=(0,ep.R)("Dropzone component was not found in tree");function upperFirst(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}var eg=r(20158),ey=Object.getOwnPropertySymbols,ev=Object.prototype.hasOwnProperty,eb=Object.prototype.propertyIsEnumerable,DropzoneStatus_objRest=(e,t)=>{var r={};for(var s in e)ev.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&ey)for(var s of ey(e))0>t.indexOf(s)&&eb.call(e,s)&&(r[s]=e[s]);return r};function createDropzoneStatus(e){let Component=t=>{let r=(0,d.N4)(`Dropzone${upperFirst(e)}`,{},t),{children:u}=r,p=DropzoneStatus_objRest(r,["children"]),h=em(),m=(0,eg.k)(u)?u:s.createElement("span",null,u);return h[e]?(0,s.cloneElement)(m,p):null};return Component.displayName=`@mantine/dropzone/${upperFirst(e)}`,Component}let ex=createDropzoneStatus("accept"),ek=createDropzoneStatus("reject"),ew=createDropzoneStatus("idle");var eC=r(33712),eS=r(43071),e_=Object.defineProperty,eI=Object.defineProperties,eP=Object.getOwnPropertyDescriptors,eO=Object.getOwnPropertySymbols,eE=Object.prototype.hasOwnProperty,eT=Object.prototype.propertyIsEnumerable,Dropzone_styles_defNormalProp=(e,t,r)=>t in e?e_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Dropzone_styles_spreadValues=(e,t)=>{for(var r in t||(t={}))eE.call(t,r)&&Dropzone_styles_defNormalProp(e,r,t[r]);if(eO)for(var r of eO(t))eT.call(t,r)&&Dropzone_styles_defNormalProp(e,r,t[r]);return e},Dropzone_styles_spreadProps=(e,t)=>eI(e,eP(t)),eA=(0,N.k)((e,{padding:t,radius:r})=>{let s=e.fn.variant({color:"red",variant:"light"}),u=e.fn.variant({color:e.primaryColor,variant:"light"});return{root:Dropzone_styles_spreadProps(Dropzone_styles_spreadValues(Dropzone_styles_spreadValues({},e.fn.fontStyles()),e.fn.focusStyles()),{boxSizing:"border-box",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:`${(0,eC.h)(2)} dashed ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,padding:(0,eS.a)({size:t,sizes:e.spacing}),borderRadius:e.fn.radius(r),cursor:"pointer",userSelect:"none",transition:"background-color 150ms ease",position:"relative","&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]},"&[data-loading]":{cursor:"default","&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white}},"&[data-accept]":{backgroundColor:"dark"===e.colorScheme?u.background:e.colors[e.primaryColor][0],borderColor:"dark"===e.colorScheme?u.border:e.colors[e.primaryColor][4],"&:hover":{backgroundColor:"dark"===e.colorScheme?u.background:e.colors[e.primaryColor][0]}},"&[data-reject]":{backgroundColor:"dark"===e.colorScheme?s.background:e.colors.red[0],borderColor:"dark"===e.colorScheme?s.border:e.colors.red[4],"&:hover":{backgroundColor:"dark"===e.colorScheme?s.background:e.colors.red[0]}}}),inner:{pointerEvents:"none",userSelect:"none"}}}),ez=Object.defineProperty,eD=Object.defineProperties,eF=Object.getOwnPropertyDescriptors,ej=Object.getOwnPropertySymbols,eR=Object.prototype.hasOwnProperty,eL=Object.prototype.propertyIsEnumerable,Dropzone_defNormalProp=(e,t,r)=>t in e?ez(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Dropzone_spreadValues=(e,t)=>{for(var r in t||(t={}))eR.call(t,r)&&Dropzone_defNormalProp(e,r,t[r]);if(ej)for(var r of ej(t))eL.call(t,r)&&Dropzone_defNormalProp(e,r,t[r]);return e},Dropzone_spreadProps=(e,t)=>eD(e,eF(t)),Dropzone_objRest=(e,t)=>
1{var r={};for(var s in e)eR.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&ej)for(var s of ej(e))0>t.indexOf(s)&&eL.call(e,s)&&(r[s]=e[s]);return r};let eM={padding:"md",loading:!1,multiple:!0,maxSize:1/0,autoFocus:!1,activateOnClick:!0,activateOnDrag:!0,dragEventsBubbling:!0,activateOnKeyboard:!0,useFsAccessApi:!0};function _Dropzone(e){let t=(0,d.N4)("Dropzone",eM,e),{className:r,padding:u,radius:p,disabled:m,classNames:y,styles:v,loading:b,multiple:w,maxSize:S,accept:_,children:O,onDropAny:E,onDrop:T,onReject:A,openRef:z,name:D,unstyled:j,maxFiles:R,autoFocus:L,activateOnClick:M,activateOnDrag:N,dragEventsBubbling:B,activateOnKeyboard:H,onDragEnter:W,onDragLeave:q,onDragOver:G,onFileDialogCancel:Z,onFileDialogOpen:Y,preventDropOnDocument:ee,useFsAccessApi:et,getFilesFromEvent:en,validator:er,variant:ei}=t,el=Dropzone_objRest(t,["className","padding","radius","disabled","classNames","styles","loading","multiple","maxSize","accept","children","onDropAny","onDrop","onReject","openRef","name","unstyled","maxFiles","autoFocus","activateOnClick","activateOnDrag","dragEventsBubbling","activateOnKeyboard","onDragEnter","onDragLeave","onDragOver","onFileDialogCancel","onFileDialogOpen","preventDropOnDocument","useFsAccessApi","getFilesFromEvent","validator","variant"]),{classes:ea,cx:es}=eA({radius:p,padding:u},{name:"Dropzone",classNames:y,styles:v,unstyled:j,variant:ei}),{getRootProps:eu,getInputProps:ec,isDragAccept:ep,isDragReject:em,open:eg}=useDropzone(Dropzone_spreadValues({onDrop:E,onDropAccepted:T,onDropRejected:A,disabled:m||b,accept:Array.isArray(_)?_.reduce((e,t)=>Dropzone_spreadProps(Dropzone_spreadValues({},e),{[t]:[]}),{}):_,multiple:w,maxSize:S,maxFiles:R,autoFocus:L,noClick:!M,noDrag:!N,noDragEventsBubbling:!B,noKeyboard:!H,onDragEnter:W,onDragLeave:q,onDragOver:G,onFileDialogCancel:Z,onFileDialogOpen:Y,preventDropOnDocument:ee,useFsAccessApi:et,validator:er},en?{getFilesFromEvent:en}:null));(0,ef.k)(z,eg);let ey=!ep&&!em;return s.createElement(eh,{value:{accept:ep,reject:em,idle:ey}},s.createElement(h.x,Dropzone_spreadProps(Dropzone_spreadValues(Dropzone_spreadValues({},el),eu()),{"data-accept":ep||void 0,"data-reject":em||void 0,"data-idle":ey||void 0,"data-loading":b||void 0,className:es(ea.root,r)}),s.createElement(ed,{visible:b,radius:p,unstyled:j}),s.createElement("input",Dropzone_spreadProps(Dropzone_spreadValues({},ec()),{name:D})),s.createElement("div",{className:ea.inner},O)))}_Dropzone.displayName="@mantine/dropzone/Dropzone",_Dropzone.Accept=ex,_Dropzone.Reject=ek,_Dropzone.Idle=ew;var eN=Object.defineProperty,eB=Object.defineProperties,eH=Object.getOwnPropertyDescriptors,eV=Object.getOwnPropertySymbols,eW=Object.prototype.hasOwnProperty,eU=Object.prototype.propertyIsEnumerable,DropzoneFullScreen_styles_defNormalProp=(e,t,r)=>t in e?eN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,DropzoneFullScreen_styles_spreadValues=(e,t)=>{for(var r in t||(t={}))eW.call(t,r)&&DropzoneFullScreen_styles_defNormalProp(e,r,t[r]);if(eV)for(var r of eV(t))eU.call(t,r)&&DropzoneFullScreen_styles_defNormalProp(e,r,t[r]);return e},DropzoneFullScreen_styles_spreadProps=(e,t)=>eB(e,eH(t)),e$=(0,N.k)(e=>({wrapper:DropzoneFullScreen_styles_spreadProps(DropzoneFullScreen_styles_spreadValues({},e.fn.cover(0)),{position:"fixed",backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,display:"flex",padding:e.spacing.xs,transition:"opacity 100ms ease"}),dropzone:{flex:1}})),eq=Object.defineProperty,eK=Object.defineProperties,eQ=Object.getOwnPropertyDescriptors,eX=Object.getOwnPropertySymbols,eG=Object.prototype.hasOwnProperty,eZ=Object.prototype.propertyIsEnumerable,DropzoneFullScreen_defNormalProp=(e,t,r)=>t in e?eq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,DropzoneFullScreen_spreadValues=(e,t)=>{for(var r in t||(t={}))eG.call(t,r)&&DropzoneFullScreen_defNormalProp(e,r,t[r]);if(eX)for(var r of eX(t))eZ.call(t,r)&&DropzoneFullScreen_defNormalProp(e,r,t[r]);return e},DropzoneFullScreen_spreadProps=(e,t)=>eK(e,eQ(t)),DropzoneFullScreen_objRest=(e,t)=>{var r={};for(var s in e)eG.call(e,s)&&0>t.indexOf(s)&&(r[s]=e[s]);if(null!=e&&eX)for(var s of eX(e))0>t.indexOf(s)&&eZ.call(e,s)&&(r[s]=e[s]);return r};let eJ={padding:"md",loading:!1,multiple:!0,maxSize:1/0,autoFocus:!1,activateOnClick:!0,activateOnDrag:!0,dragEventsBubbling:!0,activateOnKeyboard:!0,active:!0,zIndex:(0,u.w)("max"),withinPortal:!0};function DropzoneFullScreen(e){let t=(0,d.N4)("DropzoneFullScreen",eJ,e),{classNames:r,styles:u,sx:y,className:v,style:b,unstyled:w,active:S,onDrop:_,onReject:O,zIndex:E,withinPortal:T,portalProps:A}=t,z=DropzoneFullScreen_objRest(t,["classNames","styles","sx","className","style","unstyled","active","onDrop","onReject","zIndex","withinPortal","portalProps"]),[D,j]=s.useState(0),[R,{open:L,close:M}]=(0,m.q)(!1),{classes:N,cx:B}=e$(null,{name:"DropzoneFullScreen",classNames:r,styles:u,unstyled:w}),handleDragEnter=e=>{e.dataTransfer.types.includes("Files")&&(j(e=>e+1),L())},handleDragLeave=()=>{j(e=>e-1)};return(0,s.useEffect)(()=>{0===D&&M()},[D]),(0,s.useEffect)(()=>
1{if(S)return document.addEventListener("dragenter",handleDragEnter,!1),document.addEventListener("dragleave",handleDragLeave,!1),()=>{document.removeEventListener("dragenter",handleDragEnter,!1),document.removeEventListener("dragleave",handleDragLeave,!1)}},[S]),s.createElement(p.q,DropzoneFullScreen_spreadProps(DropzoneFullScreen_spreadValues({},A),{withinPortal:T}),s.createElement(h.x,{className:B(N.wrapper,v),sx:y,style:DropzoneFullScreen_spreadProps(DropzoneFullScreen_spreadValues({},b),{opacity:R?1:0,pointerEvents:R?"all":"none",zIndex:E})},s.createElement(_Dropzone,DropzoneFullScreen_spreadProps(DropzoneFullScreen_spreadValues({},z),{classNames:r,styles:u,unstyled:w,className:N.dropzone,onDrop:e=>{null==_||_(e),M()},onReject:e=>{null==O||O(e),M()}}))))}DropzoneFullScreen.displayName="@mantine/dropzone/DropzoneFullScreen",_Dropzone.FullScreen=DropzoneFullScreen;let eY=_Dropzone},60819:function(e,t,r){"use strict";r.d(t,{_:function(){return useLocalStorage}});var s=r(2784),u=r(16055);function deserializeJSON(e){try{return JSON.parse(e)}catch(t){return e}}function useLocalStorage(e){return(function(e,t){let r="localStorage"===e?"mantine-local-storage":"mantine-session-storage";return function({key:d,defaultValue:p,getInitialValueInEffect:h=!0,deserialize:m=deserializeJSON,serialize:y=e=>(function(e,t){try{return JSON.stringify(e)}catch(e){throw Error(`@mantine/hooks ${t}: Failed to serialize the value`)}})(e,t)}){let v=(0,s.useCallback)(t=>{if("undefined"==typeof window||!(e in window)||null===window[e]||t)return p;let r=window[e].getItem(d);return null!==r?m(r):p},[d,p]),[b,w]=(0,s.useState)(v(h)),S=(0,s.useCallback)(t=>{t instanceof Function?w(s=>{let u=t(s);return window[e].setItem(d,y(u)),window.dispatchEvent(new CustomEvent(r,{detail:{key:d,value:t(s)}})),u}):(window[e].setItem(d,y(t)),window.dispatchEvent(new CustomEvent(r,{detail:{key:d,value:t}})),w(t))},[d]),_=(0,s.useCallback)(()=>{window[e].removeItem(d),window.dispatchEvent(new CustomEvent(r,{detail:{key:d,value:p}}))},[]);return(0,u.s)("storage",t=>{var r;t.storageArea===window[e]&&t.key===d&&w(m(null!=(r=t.newValue)?r:void 0))}),(0,u.s)(r,e=>{e.detail.key===d&&w(e.detail.value)}),(0,s.useEffect)(()=>{void 0!==p&&void 0===b&&S(p)},[p,b,S]),(0,s.useEffect)(()=>{h&&w(v())},[d]),[void 0===b?p:b,S,_]}})("localStorage","use-local-storage")(e)}},38229:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("alert-triangle","IconAlertTriangle",[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]])},17912:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("chevron-left","IconChevronLeft",[["path",{d:"M15 6l-6 6l6 6",key:"svg-0"}]])},70623:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("device-desktop","IconDeviceDesktop",[["path",{d:"M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10z",key:"svg-0"}],["path",{d:"M7 20h10",key:"svg-1"}],["path",{d:"M9 16v4",key:"svg-2"}],["path",{d:"M15 16v4",key:"svg-3"}]])},64638:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("file","IconFile",[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z",key:"svg-1"}]])},31490:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("heart-filled","IconHeartFilled",[["path",{d:"M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z",fill:"currentColor",key:"svg-0",strokeWidth:"0"}]])},81888:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("layout-sidebar-left-expand","IconLayoutSidebarLeftExpand",[["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M9 4v16",key:"svg-1"}],["path",{d:"M14 10l2 2l-2 2",key:"svg-2"}]])},12693:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("layout-sidebar-right-expand","IconLayoutSidebarRightE
1xpand",[["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M15 4v16",key:"svg-1"}],["path",{d:"M10 10l-2 2l2 2",key:"svg-2"}]])},62655:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("pencil","IconPencil",[["path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4",key:"svg-0"}],["path",{d:"M13.5 6.5l4 4",key:"svg-1"}]])},71486:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("rotate-clockwise","IconRotateClockwise",[["path",{d:"M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5",key:"svg-0"}]])},23291:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("terminal","IconTerminal",[["path",{d:"M5 7l5 5l-5 5",key:"svg-0"}],["path",{d:"M12 19l7 0",key:"svg-1"}]])},5858:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var s=(0,r(99882).Z)("x","IconX",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]])},30387:function(e,t){"use strict";t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(",");if(0===r.length)return!0;var s=e.name||"",u=(e.type||"").toLowerCase(),d=u.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?s.toLowerCase().endsWith(t):t.endsWith("/*")?d===t.replace(/\/.*$/,""):u===t})}return!0}},68118:function(e,t,r){"use strict";function assign(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}r.d(t,{Z:function(){return assign}})},49193:function(e,t,r){"use strict";r.d(t,{Z:function(){return cloneObject}});var s=r(68118);function cloneObject(e){return(0,s.Z)({},e)}},15344:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var s,u={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function buildFormatLongFn(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var d={date:buildFormatLongFn({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:buildFormatLongFn({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},p={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function buildLocalizeFn(e){return function(t,r){var s;if("formatting"===(null!=r&&r.context?String(r.context):"standalone")&&e.formattingValues){var u=e.defaultFormattingWidth||e.defaultWidth,d=null!=r&&r.width?String(r.width):u;s=e.formattingValues[d]||e.formattingValues[u]}else{var p=e.defaultWidth,h=null!=r&&r.width?String(r.width):e.defaultWidth;s=e.values[h]||e.values[p]}return s[e.argumentCallback?e.argumentCallback(t):t]}}function buildMatchFn(e){return function(t){var r,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=s.width,d=u&&e.matchPatterns[u]||e.matchPatterns[e.defaultMatchWidth],p=t.match(d);if(!p)return null;var h=p[0],m=u&&e.parsePatterns[u]||e.parsePatterns[e.defaultParseWidth],y=Array.isArray(m)?function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}(m,function(e){return e.test(h)}):function(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}(m,function(e){return e.test(h)});return r=e.valueCallback?e.valueCallback(y):y,{value:r=s.valueCallback?s.valueCallback(r):r,rest:t.slice(h.length)}}}var h={code:"en-US",formatDistance:function(e,t,r){var s,d=u[e];return(s="string"==typeof d?d:1===t?d.one:d.other.replace("{{count}}",t.toString()),null!=r&&r.addSuffix)?r.comparison&&r.comparison>0?"in "+s:s+" ago":s},formatLong:d,formatRelative:function(e,t,r,s){return p[e]},localize:{ordinalNumber:function(e,t){var r=Number(e),s=r%100;if(s>20||s<10)switch(s%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:buildLocalizeFn({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:buildLocalizeFn({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:buildLocalizeFn({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:buildLocalizeFn({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(s={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(s.matchPattern);if(!r)return null;var u=r[0],d=e.match(s.parsePattern);if(!d)return null;var p=s.valueCallback?s.valueCallback(d[0]):d[0];return{value:p=t.valueCallback?t.valueCallback(p):p,rest:e.slice(u.length)}}),era:buildMatchFn({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:buildMatchFn({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},18667:function(e,t,r){"use strict";r.d(t,{j:function(){return getDefaultOptions}});var s={};function getDefaultOptions(){return s}},1645:function(e,t,r){"use strict";function getTimezoneOffsetInMilliseconds(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}r.d(t,{Z:function(){return getTimezoneOffsetInMilliseconds}})},2463:function(e,t,r){"use strict";r.d(t,{Z:function(){return compareAsc}});var s=r(66700),u=r(19785);function compareAsc(e,t){(0,u.Z)(2,arguments);var r=(0,s.Z)(e),d=(0,s.Z)(t),p=r.getTime()-d.getTime();return p<0?-1:p>0?1:p}},73871:function(e,t,r){"use strict";r.d(t,{Z:function(){return formatDistanceStrict}});var s=r(18667),u=r(1645),d=r(2463),p=r(66700),h=r(49193),m=r(68118),y=r(15344),v=r(19785);function formatDistanceStrict(e,t,r){(0,v.Z)(2,arguments);var b,w,S,_,O,E,T,A=(0,s.j)(),z=null!==(b=null!==(w=null==r?void 0:r.locale)&&void 0!==w?w:A.locale)&&void 0!==b?b:y.Z;if(!z.formatDistance)throw RangeError("locale must contain localize.formatDistance property");var D=(0,d.Z)(e,t);if(isNaN(D))throw RangeError("Invalid time value");var j=(0,m.Z)((0,h.Z)(r),{addSuffix:!!(null==r?void 0:r.addSuffix),comparison:D});D>0?(_=(0,p.Z)(t),O=(0,p.Z)(e)):(_=(0,p.Z)(e),O=(0,p.Z)(t));var R=String(null!==(S=null==r?void 0:r.roundingMethod)&&void 0!==S?S:"roun
1d");if("floor"===R)E=Math.floor;else if("ceil"===R)E=Math.ceil;else if("round"===R)E=Math.round;else throw RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var L=O.getTime()-_.getTime(),M=L/6e4,N=(L-((0,u.Z)(O)-(0,u.Z)(_)))/6e4,B=null==r?void 0:r.unit;if("second"===(T=B?String(B):M<1?"second":M<60?"minute":M<1440?"hour":N<43200?"day":N<525600?"month":"year")){var H=E(L/1e3);return z.formatDistance("xSeconds",H,j)}if("minute"===T){var W=E(M);return z.formatDistance("xMinutes",W,j)}if("hour"===T){var q=E(M/60);return z.formatDistance("xHours",q,j)}if("day"===T){var G=E(N/1440);return z.formatDistance("xDays",G,j)}if("month"===T){var Z=E(N/43200);return 12===Z&&"month"!==B?z.formatDistance("xYears",1,j):z.formatDistance("xMonths",Z,j)}if("year"===T){var Y=E(N/525600);return z.formatDistance("xYears",Y,j)}throw RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}},49385:function(e){"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,isArray=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},isPlainObject=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var s,u=t.call(e,"constructor"),d=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!u&&!d)return!1;for(s in e);return void 0===s||t.call(e,s)},setProperty=function(e,t){s&&"__proto__"===t.name?s(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},getProperty=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(u)return u(e,r).value}return e[r]};e.exports=function extend(){var e,t,r,s,u,d,p=arguments[0],h=1,m=arguments.length,y=!1;for("boolean"==typeof p&&(y=p,p=arguments[1]||{},h=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});h<m;++h)if(e=arguments[h],null!=e)for(t in e)r=getProperty(p,t),p!==(s=getProperty(e,t))&&(y&&s&&(isPlainObject(s)||(u=isArray(s)))?(u?(u=!1,d=r&&isArray(r)?r:[]):d=r&&isPlainObject(r)?r:{},setProperty(p,{name:t,newValue:extend(y,d,s)})):void 0!==s&&setProperty(p,{name:t,newValue:s}));return p}},6299:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,s=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,d=/^:\s*/,p=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,h=/^[;\s]*/,m=/^\s+|\s+$/g;function trim(e){return e?e.replace(m,""):""}e.exports=function(e,m){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];m=m||{};var y=1,v=1;function updatePosition(e){var t=e.match(r);t&&(y+=t.length);var s=e.lastIndexOf("\n");v=~s?e.length-s:v+e.length}function position(){var e={line:y,column:v};return function(t){return t.position=new Position(e),match(s),t}}function Position(e){this.start=e,this.end={line:y,column:v},this.source=m.source}Position.prototype.content=e;var b=[];function error(t){var r=Error(m.source+":"+y+":"+v+": "+t);if(r.reason=t,r.filename=m.source,r.line=y,r.column=v,r.source=e,m.silent)b.push(r);else throw r}function match(t){var r=t.exec(e);if(r){var s=r[0];return updatePosition(s),e=e.slice(s.length),r}}function comments(e){var t;for(e=e||[];t=comment();)!1!==t&&e.push(t);return e}function comment(){var t=position();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return error("End of comment missing");var s=e.slice(2,r-2);return v+=2,updatePosition(s),e=e.slice(r),v+=2,t({type:"comment",comment:s})}}return match(s),function(){var e,r=[];for(comments(r);e=function(){var e=position(),r=match(u);if(r){if(comment(),!match(d))return error("property missing ':'");var s=match(p),m=e({type:"declaration",property:trim(r[0].replace(t,"")),value:s?trim(s[0].replace(t,"")):""});return match(h),m}}();)!1!==e&&(r.push(e),comments(r));return r}()}},91618:function(e,t,r){"use strict";var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var u=s(r(85653)),d=r(31380);t.default=function(e,t){var r={};return e&&"string"==typeof e&&u.default(e,function(e,s){e&&s&&(r[d.camelCase(e,t)]=s)}),r}},31380:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,s=/-([a-z])/g,u=/^[^-]+$/,d=/^-(webkit|moz|ms|o|khtml)-/,capitalize=function(e,t){return t.toUpperCase()},trimHyphen=function(e,t){return t+"-"};t.camelCase=function(e,t){var p;return(void 0===t&&(t={}),!(p=e)||u.test(p)||r.test(p))?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(d,trimHyphen)),e.replace(s,capitalize))}},85653:function(e,t,r){var s=r(6299);e.exports=function(e,t){var r,u,d,p=null;if(!e||"string"!=typeof e)return p;for(var h=s(e),m="function"==typeof t,y=0,v=h.length;y<v;y++)u=(r=h[y]).property,d=r.value,m?t(u,d,r):d&&(p||(p={}),p[u]=d);return p}},45256:function(e,t,r){"use strict";function ok(){}function unreachable(){}r.d(t,{ok:function(){return ok},t1:function(){return unreachable}})},34804:function(e,t,r){"use strict";r.d(t,{B:function(){return toString}});let s={};function toString(e,t){let r=t||s,u="boolean"!=typeof r.includeImageAlt||r.includeImageAlt,d="boolean"!=typeof r.includeHtml||r.includeHtml;return one(e,u,d)}function one(e,t,r){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;
1if("children"in e)return all(e.children,t,r)}return Array.isArray(e)?all(e,t,r):""}function all(e,t,r){let s=[],u=-1;for(;++u<e.length;)s[u]=one(e[u],t,r);return s.join("")}},8466:function(e,t,r){"use strict";r.d(t,{w:function(){return d}});var s=r(72473),u=r(80027);let d={partial:!0,tokenize:function(e,t,r){return function(t){return(0,u.xz)(t)?(0,s.f)(e,after,"linePrefix")(t):after(t)};function after(e){return null===e||(0,u.Ch)(e)?t(e):r(e)}}}},72473:function(e,t,r){"use strict";r.d(t,{f:function(){return factorySpace}});var s=r(80027);function factorySpace(e,t,r,u){let d=u?u-1:Number.POSITIVE_INFINITY,p=0;return function(u){return(0,s.xz)(u)?(e.enter(r),function prefix(u){return(0,s.xz)(u)&&p++<d?(e.consume(u),prefix):(e.exit(r),t(u))}(u)):t(u)}}},80027:function(e,t,r){"use strict";r.d(t,{AF:function(){return h},Av:function(){return asciiControl},B8:function(){return v},Ch:function(){return markdownLineEnding},H$:function(){return u},Xh:function(){return y},jv:function(){return s},n9:function(){return d},pY:function(){return p},sR:function(){return m},xz:function(){return markdownSpace},z3:function(){return markdownLineEndingOrSpace}});let s=regexCheck(/[A-Za-z]/),u=regexCheck(/[\dA-Za-z]/),d=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(e){return null!==e&&(e<32||127===e)}let p=regexCheck(/\d/),h=regexCheck(/[\dA-Fa-f]/),m=regexCheck(/[!-/:-@[-`{-~]/);function markdownLineEnding(e){return null!==e&&e<-2}function markdownLineEndingOrSpace(e){return null!==e&&(e<0||32===e)}function markdownSpace(e){return -2===e||-1===e||32===e}let y=regexCheck(/\p{P}|\p{S}/u),v=regexCheck(/\s/);function regexCheck(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},98391:function(e,t,r){"use strict";function splice(e,t,r,s){let u;let d=e.length,p=0;if(t=t<0?-t>d?0:d+t:t>d?d:t,r=r>0?r:0,s.length<1e4)(u=Array.from(s)).unshift(t,r),e.splice(...u);else for(r&&e.splice(t,r);p<s.length;)(u=s.slice(p,p+1e4)).unshift(t,0),e.splice(...u),p+=1e4,t+=1e4}function push(e,t){return e.length>0?(splice(e,e.length,0,t),e):t}r.d(t,{V:function(){return push},d:function(){return splice}})},20898:function(e,t,r){"use strict";r.d(t,{r:function(){return classifyCharacter}});var s=r(80027);function classifyCharacter(e){return null===e||(0,s.z3)(e)||(0,s.B8)(e)?1:(0,s.Xh)(e)?2:void 0}},87842:function(e,t,r){"use strict";r.d(t,{W:function(){return combineExtensions}});var s=r(98391);let u={}.hasOwnProperty;function combineExtensions(e){let t={},r=-1;for(;++r<e.length;)!function(e,t){let r;for(r in t){let d;let p=u.call(e,r)?e[r]:void 0,h=p||(e[r]={}),m=t[r];if(m)for(d in m){u.call(h,d)||(h[d]=[]);let e=m[d];!function(e,t){let r=-1,u=[];for(;++r<t.length;)("after"===t[r].add?e:u).push(t[r]);(0,s.d)(e,0,0,u)}(h[d],Array.isArray(e)?e:e?[e]:[])}}}(t,e[r]);return t}},36910:function(e,t,r){"use strict";function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.d(t,{d:function(){return normalizeIdentifier}})},27828:function(e,t,r){"use strict";function resolveAll(e,t,r){let s=[],u=-1;for(;++u<e.length;){let d=e[u].resolveAll;d&&!s.includes(d)&&(t=d(t,r),s.push(d))}return t}r.d(t,{C:function(){return resolveAll}})},98238:function(e,t,r){"use strict";r.d(t,{UG:function(){return Markdown}});var s={};r.r(s),r.d(s,{boolean:function(){return b},booleanish:function(){return w},commaOrSpaceSeparated:function(){return T},commaSeparated:function(){return E},number:function(){return _},overloadedBoolean:function(){return S},spaceSeparated:function(){return O}});var u={};r.r(u),r.d(u,{attentionMarkers:function(){return e5},contentInitial:function(){return e0},disable:function(){return e9},document:function(){return eY},flow:function(){return e2},flowInitial:function(){return e1},insideSpan:function(){return e6},string:function(){return e4},text:function(){return e3}});var d=r(45256);let p=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,m={};function lib_name(e,t){let r=(t||m).jsx?h:p;return r.test(e)}let y=/[ \t\n\f\r]/g;function empty(e){return""===e.replace(y,"")}let Schema=class Schema{constructor(e,t,r){this.normal=t,this.property=e,r&&(this.space=r)}};function merge(e,t){let r={},s={};for(let t of e)Object.assign(r,t.property),Object.assign(s,t.normal);return new Schema(r,s,t)}function normalize(e){return e.toLowerCase()}Schema.prototype.normal={},Schema.prototype.property={},Schema.prototype.space=void 0;let Info=class Info{constructor(e,t){this.attribute=t,this.property=e}};Info.prototype.attribute="",Info.prototype.booleanish=!1,Info.prototype.boolean=!1,Info.prototype.commaOrSpaceSeparated=!1,Info.prototype.commaSeparated=!1,Info.prototype.defined=!1,Info.prototype.mustUseProperty=!1,Info.prototype.number=!1,Info.prototype.overloadedBoolean=!1,Info.prototype.property="",Info.prototype.spaceSeparated=!1,Info.prototype.space=void 0;let v=0,b=increment(),w=increment(),S=increment(),_=increment(),O=increment(),E=increment(),T=increment();function increment(){return 2**++v}let A=Object.keys(s);let DefinedInfo=class DefinedInfo extends Info{constructor(e,t,r,u){var d,p;let h=-1;if(super(e,t),u&&(this.space=u),"number"==typeof r)for(;
1++h<A.length;){let e=A[h];d=A[h],(p=(r&s[e])===s[e])&&(this[d]=p)}}};function create(e){let t={},r={};for(let[s,u]of Object.entries(e.properties)){let d=new DefinedInfo(s,e.transform(e.attributes||{},s),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(s)&&(d.mustUseProperty=!0),t[s]=d,r[normalize(s)]=s,r[normalize(d.attribute)]=s}return new Schema(t,r,e.space)}DefinedInfo.prototype.defined=!0;let z=create({properties:{ariaActiveDescendant:null,ariaAtomic:w,ariaAutoComplete:null,ariaBusy:w,ariaChecked:w,ariaColCount:_,ariaColIndex:_,ariaColSpan:_,ariaControls:O,ariaCurrent:null,ariaDescribedBy:O,ariaDetails:null,ariaDisabled:w,ariaDropEffect:O,ariaErrorMessage:null,ariaExpanded:w,ariaFlowTo:O,ariaGrabbed:w,ariaHasPopup:null,ariaHidden:w,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:O,ariaLevel:_,ariaLive:null,ariaModal:w,ariaMultiLine:w,ariaMultiSelectable:w,ariaOrientation:null,ariaOwns:O,ariaPlaceholder:null,ariaPosInSet:_,ariaPressed:w,ariaReadOnly:w,ariaRelevant:null,ariaRequired:w,ariaRoleDescription:O,ariaRowCount:_,ariaRowIndex:_,ariaRowSpan:_,ariaSelected:w,ariaSetSize:_,ariaSort:null,ariaValueMax:_,ariaValueMin:_,ariaValueNow:_,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function caseSensitiveTransform(e,t){return t in e?e[t]:t}function caseInsensitiveTransform(e,t){return caseSensitiveTransform(e,t.toLowerCase())}let D=create({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:E,acceptCharset:O,accessKey:O,action:null,allow:null,allowFullScreen:b,allowPaymentRequest:b,allowUserMedia:b,alt:null,as:null,async:b,autoCapitalize:null,autoComplete:O,autoFocus:b,autoPlay:b,blocking:O,capture:null,charSet:null,checked:b,cite:null,className:O,cols:_,colSpan:null,content:null,contentEditable:w,controls:b,controlsList:O,coords:_|E,crossOrigin:null,data:null,dateTime:null,decoding:null,default:b,defer:b,dir:null,dirName:null,disabled:b,download:S,draggable:w,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:b,formTarget:null,headers:O,height:_,hidden:S,high:_,href:null,hrefLang:null,htmlFor:O,httpEquiv:O,id:null,imageSizes:null,imageSrcSet:null,inert:b,inputMode:null,integrity:null,is:null,isMap:b,itemId:null,itemProp:O,itemRef:O,itemScope:b,itemType:O,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:b,low:_,manifest:null,max:null,maxLength:_,media:null,method:null,min:null,minLength:_,multiple:b,muted:b,name:null,nonce:null,noModule:b,noValidate:b,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:b,optimum:_,pattern:null,ping:O,placeholder:null,playsInl
1ine:b,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:b,referrerPolicy:null,rel:O,required:b,reversed:b,rows:_,rowSpan:_,sandbox:O,scope:null,scoped:b,seamless:b,selected:b,shadowRootClonable:b,shadowRootDelegatesFocus:b,shadowRootMode:null,shape:null,size:_,sizes:null,slot:null,span:_,spellCheck:w,src:null,srcDoc:null,srcLang:null,srcSet:null,start:_,step:null,style:null,tabIndex:_,target:null,title:null,translate:null,type:null,typeMustMatch:b,useMap:null,value:w,width:_,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:O,axis:null,background:null,bgColor:null,border:_,borderColor:null,bottomMargin:_,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:b,declare:b,event:null,face:null,frame:null,frameBorder:null,hSpace:_,leftMargin:_,link:null,longDesc:null,lowSrc:null,marginHeight:_,marginWidth:_,noResize:b,noHref:b,noShade:b,noWrap:b,object:null,profile:null,prompt:null,rev:null,rightMargin:_,rules:null,scheme:null,scrolling:w,standby:null,summary:null,text:null,topMargin:_,valueType:null,version:null,vAlign:null,vLink:null,vSpace:_,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:b,disableRemotePlayback:b,prefix:null,property:null,results:_,security:null,unselectable:null},space:"html",transform:caseInsensitiveTransform}),j=create({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
1-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:T,accentHeight:_,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:_,amplitude:_,arabicForm:null,ascent:_,attributeName:null,attributeType:null,azimuth:_,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:_,by:null,calcMode:null,capHeight:_,className:O,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:_,diffuseConstant:_,direction:null,display:null,dur:null,divisor:_,dominantBaseline:null,download:b,dx:null,dy:null,edgeMode:null,editable:null,elevation:_,enableBackground:null,end:null,event:null,exponent:_,externalResourcesRequired:null,fill:null,fillOpacity:_,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:E,g2:E,glyphName:E,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:_,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:_,horizOriginX:_,horizOriginY:_,id:null,ideographic:_,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:_,k:_,k1:_,k2:_,k3:_,k4:_,kernelMatrix:T,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:_,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:_,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:_,overlineThickness:_,paintOrder:null,panose1:null,path:null,pathLength:_,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:O,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:_,pointsAtY:_,pointsAtZ:_,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:T,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:T,rev:T,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:T,requiredFeatures:T,requiredFonts:T,requiredFormats:T,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:_,specularExponent:_,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:_,strikethroughThickness:_,string:null,stroke:null,strokeDashArray:T,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:_,strokeOpacity:_,strokeWidth:null,style:null,surfaceScale:_,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:T,tabIndex:_,tableValues:null,target:null,targetX:_,targetY:_,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:T,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:_,underlineThickness:_,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:_,values:null,vAlphabetic:_,vMathematical:_,vectorEffect:null,vHanging:_,vIdeographic:_,version:null,vertAdvY:_,vertOriginX:_,vertOriginY:_,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:_,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:caseSensitiveTransform}),R=create({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),L=create({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:caseInsensitiveTransform}),M=create({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),N=merge([z,D,R,L,M],"html"),B=merge([z,j,R,L,M],"svg"),H=/[A-Z]/g,W=/-[a-z]/g,q=/^data[-\w.:]+$/i;function kebab(e){return"-"+e.toLowerCase()}function camelcase(e){return e.charAt(1).toUpperCase()}let G={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"};var Z=r(91618);point("end");let Y=point("start");function point(e){return function(t){let r=t&&t.position&&t.position[e]||{};if("number"==typeof r.line&&r.line>0&&"number"==typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"==typeof r.offset&&r.offset>-1?r.offset:void 0}}}function lib_point(e){return index(e&&e.line)+":"+index(e&&e.column)}function lib_position(e){return lib_point(e&&e.start)+"-"+lib_point(e&&e.end)}function index(e){return e&&"number"==typeof e?e:1}let VFileMessage=class VFileMessage extends Error{constructor(e,t,r){var s;super(),"string"==typeof t&&(r=t,t=void 0);let u="",d={},p=!1;if(t&&(d="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?u=e:!d.cause&&e&&(p=!0,u=e.message,d.cause=e),!d.ruleId&&!d.source&&"string"==typeof r){let e=r.indexOf(":");-1===e?d.ruleId=r:(d.source=r.slice(0,e),d.ruleId=r.slice(e+1))}if(!d.place&&d.ancestors&&d.ancestors){let e=d.ancestors[d.ancestors.length-1];e&&(d.place=e.position)}let h=d.place&&"start"in d.place?d.place.start:d.place;this.ancestors=d.ancestors||void 0,this.cause=d.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=h?h.line:void 0,this.name=((s=d.place)&&"object"==typeof s?"position"in s||"type"in s?lib_position(s.position):"start"in s||"end"in s?lib_position(s):"line"in s||"column"in s?lib_point(s):"":"")||"1:1",this.place=d.place||void 0,this.reason=this.message,this.ruleId=d.ruleId||void 0,this.source=d.source||void 0,this.stack=p&&d.cause&&"string"==typeof d.cause.stack?d.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};VFileMessage.prototype.file="",VFileMessage.prototype.name="",VFileMessage.prototype.reason="",VFileMessage.prototype.message="",VFileMessage.prototype.stack="",VFileMessage.prototype.column=void 0,VFileMessage.prototype.line=void 0,VFileMessage.prototype.ancestors=void 0,VFileMessage.prototype.cause=void 0,VFileMessage.prototype.fatal=void 0,VFileMessage.prototype.place=void 0,VFileMessage.prototype.ruleId=void 0,VFileMessage.prototype.source=void 0;let ee={}.hasOwnProperty,et=new Map,en=/[A-Z]/g,er=new Set(["table","tbody","thead","tfoot","tr"]),ei=new Set(["td","th"]),el="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function one(e,t,r){return"element"===t.type?function(e,t,r){let s=e.sc
1hema,u=s;"svg"===t.tagName.toLowerCase()&&"html"===s.space&&(u=B,e.schema=u),e.ancestors.push(t);let d=findComponentFromName(e,t.tagName,!1),p=function(e,t){let r,s;let u={};for(s in t.properties)if("children"!==s&&ee.call(t.properties,s)){let d=function(e,t,r){let s=function(e,t){let r=normalize(t),s=t,u=Info;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&q.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(W,camelcase);s="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!W.test(e)){let r=e.replace(H,kebab);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}u=DefinedInfo}return new u(s,t)}(e.schema,t);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=s.commaSeparated?function(e,t){let r={},s=""===e[e.length-1]?[...e,""]:e;return s.join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}(r):r.join(" ").trim()),"style"===s.property){let t="object"==typeof r?r:function(e,t){try{return Z(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};let t=new VFileMessage("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=el+"#cannot-parse-style-attribute",t}}(e,String(r));return"css"===e.stylePropertyNameCase&&(t=function(e){let t;let r={};for(t in e)ee.call(e,t)&&(r[function(e){let t=e.replace(en,toDash);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return r}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&s.space?G[s.property]||s.property:s.attribute,r]}}(e,s,t.properties[s]);if(d){let[s,p]=d;e.tableCellAlignToStyle&&"align"===s&&"string"==typeof p&&ei.has(t.tagName)?r=p:u[s]=p}}if(r){let t=u.style||(u.style={});t["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return u}(e,t),h=createChildren(e,t);return er.has(t.tagName)&&(h=h.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&empty(e.value):empty(e))})),addNode(e,p,d,t),addChildren(p,h),e.ancestors.pop(),e.schema=s,e.create(t,d,p,r)}(e,t,r):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree,s=r.body[0];return(0,d.ok)("ExpressionStatement"===s.type),e.evaluater.evaluateExpression(s.expression)}crashEstree(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,r){let s=e.schema,u=s;"svg"===t.name&&"html"===s.space&&(u=B,e.schema=u),e.ancestors.push(t);let p=null===t.name?e.Fragment:findComponentFromName(e,t.name,!0),h=function(e,t){let r={};for(let s of t.attributes)if("mdxJsxExpressionAttribute"===s.type){if(s.data&&s.data.estree&&e.evaluater){let t=s.data.estree,u=t.body[0];(0,d.ok)("ExpressionStatement"===u.type);let p=u.expression;(0,d.ok)("ObjectExpression"===p.type);let h=p.properties[0];(0,d.ok)("SpreadElement"===h.type),Object.assign(r,e.evaluater.evaluateExpression(h.argument))}else crashEstree(e,t.position)}else{let u;let p=s.name;if(s.value&&"object"==typeof s.value){if(s.value.data&&s.value.data.estree&&e.evaluater){let t=s.value.data.estree,r=t.body[0];(0,d.ok)("ExpressionStatement"===r.type),u=e.evaluater.evaluateExpression(r.expression)}else crashEstree(e,t.position)}else u=null===s.value||s.value;r[p]=u}return r}(e,t),m=createChildren(e,t);return addNode(e,h,p,t),addChildren(h,m),e.ancestors.pop(),e.schema=s,e.create(t,p,h,r)}(e,t,r):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);crashEstree(e,t.position)}(e,t):"root"===t.type?function(e,t,r){let s={};return addChildren(s,createChildren(e,t)),e.create(t,e.Fragment,s,r)}(e,t,r):"text"===t.type?t.value:void 0}function addNode(e,t,r,s){"string"!=typeof r&&r!==e.Fragment&&e.passNode&&(t.node=s)}function addChildren(e,t){if(t.length>0){let r=t.length>1?t:t[0];r&&(e.children=r)}}function createChildren(e,t){let r=[],s=-1,u=e.passKeys?new Map:et;for(;++s<t.children.length;){let d;let p=t.children[s];if(e.passKeys){let e="element"===p.type?p.tagName:"mdxJsxFlowElement"===p.type||"mdxJsxTextElement"===p.type?p.name:void 0;if(e){let t=u.get(e)||0;d=e+"-"+t,u.set(e,t+1)}}let h=one(e,p,d);void 0!==h&&r.push(h)}return r}function findComponentFromName(e,t,r){let s;if(r){if(t.includes(".")){let e;let r=t.split("."),u=-1;for(;++u<r.length;){let t=lib_name(r[u])?{type:"Identifier",name:r[u]}:{type:"Literal",value:r[u]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(u&&"Literal"===t.type),optional:!1}:t}(0,d.ok)(e,"always a result"),s=e}else s=lib_name(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t}}else s={type:"Literal",value:t};if("Literal"===s.type){let t=s.value;return ee.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(s);crashEstree(e)}function crashEstree(e,t){let r=new VFileMessage("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=el+"#cannot-handle-mdx-estrees-without-createevaluater",r}function toDash(e){return"-"+e.toLowerCase()}let ea={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var es=r(52322);r(2784);var eu=r(34804),ec=r(98391);let SpliceBuffer=class SpliceBuffer{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let r=null==t?Number.POSITIVE_INFINITY:t;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,t,r){let s=t||0;this.setCursor(Math.trunc(e));let u=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return r&&chunkedPush(this.left,r),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),chunkedPush(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),chunkedPush(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);chunkedPush(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);chunkedPush(this.left,t.reverse())}}}};function chunkedPush(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 subtokenize(e){let t,r,s,u,d,p,h;let m={},y=-1,v=new SpliceBuffer(e);for(;++y<v.length;){for(;(y in m);)y=m[y];if(t=v.get(y),y&&"chunkFlow"===t[1].type&&"listItemPrefix"===v.get(y-1)[1].type&&((s=0)<(p=t[1]._tokenizer.events).length&&"lineEndingBlank"===p[s][1].type&&(s+=2),s<p.length&&"content"===p[s][1].type))for(;++s<p.length&&"content"!==p[s][1].type;)"chunkText"===p[s][1].type&&(p[s][1]._isInFirstContentOfListItem=!0,s++);if("enter"===t[0])t[1].contentType&&(Object.assign(m,function(e,t){let r,s;let u=e.get(t)[1],d=e.get(t)[2],p=t-1,h=[],m=u._tokenizer;!m&&(m=d.parser[u.contentType](u.start),u._contentTypeTextTrailing&&(m._contentTypeTextTrailing=!0));let y=m.events,v=[],b={},w=-1,S=u,_=0,O=0,E=[O];for(;S;){for(;e.get(++p)[1]!==S;);h.push(p),!S._tokenizer&&(r=d.sliceStream(S),S.next||r.push(null),s&&m.defineSki
1p(S.start),S._isInFirstContentOfListItem&&(m._gfmTasklistFirstContentOfListItem=!0),m.write(r),S._isInFirstContentOfListItem&&(m._gfmTasklistFirstContentOfListItem=void 0)),s=S,S=S.next}for(S=u;++w<y.length;)"exit"===y[w][0]&&"enter"===y[w-1][0]&&y[w][1].type===y[w-1][1].type&&y[w][1].start.line!==y[w][1].end.line&&(O=w+1,E.push(O),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(m.events=[],S?(S._tokenizer=void 0,S.previous=void 0):E.pop(),w=E.length;w--;){let t=y.slice(E[w],E[w+1]),r=h.pop();v.push([r,r+t.length-1]),e.splice(r,2,t)}for(v.reverse(),w=-1;++w<v.length;)b[_+v[w][0]]=_+v[w][1],_+=v[w][1]-v[w][0]-1;return b}(v,y)),y=m[y],h=!0);else if(t[1]._container){for(s=y,r=void 0;s--;)if("lineEnding"===(u=v.get(s))[1].type||"lineEndingBlank"===u[1].type)"enter"===u[0]&&(r&&(v.get(r)[1].type="lineEndingBlank"),u[1].type="lineEnding",r=s);else if("linePrefix"===u[1].type||"listItemIndent"===u[1].type);else break;r&&(t[1].end={...v.get(r)[1].start},(d=v.slice(r,y)).unshift(t),v.splice(r,y-r+1,d))}}return(0,ec.d)(e,0,Number.POSITIVE_INFINITY,v.slice(0)),!h}var ed=r(87842),ef=r(72473),ep=r(80027);let eh={tokenize:function(e){let t;let r=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,ef.f)(e,r,"linePrefix")},function(r){return e.enter("paragraph"),function lineStart(r){let s=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=s),t=s,function data(t){if(null===t){e.exit("chunkText"),e.exit("paragraph"),e.consume(t);return}return(0,ep.Ch)(t)?(e.consume(t),e.exit("chunkText"),lineStart):(e.consume(t),data)}(r)}(r)});return r}},em={tokenize:function(e){let t,r,s;let u=this,d=[],p=0;return start;function start(t){if(p<d.length){let r=d[p];return u.containerState=r[1],e.attempt(r[0].continuation,documentContinue,checkNewContainers)(t)}return checkNewContainers(t)}function documentContinue(e){if(p++,u.containerState._closeFlow){let r;u.containerState._closeFlow=void 0,t&&closeFlow();let s=u.events.length,d=s;for(;d--;)if("exit"===u.events[d][0]&&"chunkFlow"===u.events[d][1].type){r=u.events[d][1].end;break}exitContainers(p);let h=s;for(;h<u.events.length;)u.events[h][1].end={...r},h++;return(0,ec.d)(u.events,d+1,0,u.events.slice(s)),u.events.length=h,checkNewContainers(e)}return start(e)}function checkNewContainers(r){if(p===d.length){if(!t)return documentContinued(r);if(t.currentConstruct&&t.currentConstruct.concrete)return flowStart(r);u.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return u.containerState={},e.check(eg,thereIsANewContainer,thereIsNoNewContainer)(r)}function thereIsANewContainer(e){return t&&closeFlow(),exitContainers(p),documentContinued(e)}function thereIsNoNewContainer(e){return u.parser.lazy[u.now().line]=p!==d.length,s=u.now().offset,flowStart(e)}function documentContinued(t){return u.containerState={},e.attempt(eg,containerContinue,flowStart)(t)}function containerContinue(e){return p++,d.push([u.currentConstruct,u.containerState]),documentContinued(e)}function flowStart(s){if(null===s){t&&closeFlow(),exitContainers(0),e.consume(s);return}return t=t||u.parser.flow(u.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:r}),function flowContinue(t){if(null===t){writeToChild(e.exit("chunkFlow"),!0),exitContainers(0),e.consume(t);return}return(0,ep.Ch)(t)?(e.consume(t),writeToChild(e.exit("chunkFlow")),p=0,u.interrupt=void 0,start):(e.consume(t),flowContinue)}(s)}function writeToChild(e,d){let h=u.sliceStream(e);if(d&&h.push(null),e.previous=r,r&&(r.next=e),r=e,t.defineSkip(e.start),t.write(h),u.parser.lazy[e.start.line]){let e,r,d=t.events.length;for(;d--;)if(t.events[d][1].start.offset<s&&(!t.events[d][1].end||t.events[d][1].end.offset>s))return;let h=u.events.length,m=h;for(;m--;)if("exit"===u.events[m][0]&&"chunkFlow"===u.events[m][1].type){if(e){r=u.events[m][1].end;break}e=!0}for(exitContainers(p),d=h;d<u.events.length;)u.events[d][1].end={...r},d++;(0,ec.d)(u.events,m+1,0,u.events.slice(h)),u.events.length=d}}function exitContainers(t){let r=d.length;for(;r-- >t;){let t=d[r];u.containerState=t[1],t[0].exit.call(u,e)}d.length=t}function closeFlow(){t.write([null]),r=void 0,t=void 0,u.containerState._closeFlow=void 0}}},eg={tokenize:function(e,t,r){return(0,ef.f)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var ey=r(8466);let ev={resolve:function(e){return subtokenize(e),e},tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),chunkInside(t)};function chunkInside(t){return null===t?contentEnd(t):(0,ep.Ch)(t)?e.check(eb,contentContinue,contentEnd)(t):(e.consume(t),chunkInside)}function contentEnd(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function contentContinue(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,chunkInside}}},eb={partial:!0,tokenize:function(e,t,r){let s=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
1(0,ef.f)(e,prefixed,"linePrefix")};function prefixed(u){if(null===u||(0,ep.Ch)(u))return r(u);let d=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&d&&"linePrefix"===d[1].type&&d[2].sliceSerialize(d[1],!0).length>=4?t(u):e.interrupt(s.parser.constructs.flow,r,t)(u)}}},ex={tokenize:function(e){let t=this,r=e.attempt(ey.w,function(s){if(null===s){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r},e.attempt(this.parser.constructs.flowInitial,afterConstruct,(0,ef.f)(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(ev,afterConstruct)),"linePrefix")));return r;function afterConstruct(s){if(null===s){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,r}}},ek={resolveAll:createResolver()},ew=initializeFactory("string"),eC=initializeFactory("text");function initializeFactory(e){return{resolveAll:createResolver("text"===e?resolveAllLineSuffixes:void 0),tokenize:function(t){let r=this,s=this.parser.constructs[e],u=t.attempt(s,start,notText);return start;function start(e){return atBreak(e)?u(e):notText(e)}function notText(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),data}function data(e){return atBreak(e)?(t.exit("data"),u(e)):(t.consume(e),data)}function atBreak(e){if(null===e)return!0;let t=s[e],u=-1;if(t)for(;++u<t.length;){let e=t[u];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}}}}function createResolver(e){return function(t,r){let s,u=-1;for(;++u<=t.length;)void 0===s?t[u]&&"data"===t[u][1].type&&(s=u,u++):t[u]&&"data"===t[u][1].type||(u!==s+2&&(t[s][1].end=t[u-1][1].end,t.splice(s+2,u-s-2),u=s+2),s=void 0);return e?e(t,r):t}}function resolveAllLineSuffixes(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){let s;let u=e[r-1][1],d=t.sliceStream(u),p=d.length,h=-1,m=0;for(;p--;){let e=d[p];if("string"==typeof e){for(h=e.length;32===e.charCodeAt(h-1);)m++,h--;if(h)break;h=-1}else if(-2===e)s=!0,m++;else if(-1===e);else{p++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(m=0),m){let d={type:r===e.length||s||m<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:p?h:u.start._bufferIndex+h,_index:u.start._index+p,line:u.end.line,column:u.end.column-m,offset:u.end.offset-m},end:{...u.end}};u.end={...d.start},u.start.offset===u.end.offset?Object.assign(u,d):(e.splice(r,0,["enter",d,t],["exit",d,t]),r+=2)}r++}return e}let eS={name:"thematicBreak",tokenize:function(e,t,r){let s,u=0;return function(d){return e.enter("thematicBreak"),s=d,function atBreak(d){return d===s?(e.enter("thematicBreakSequence"),function sequence(t){return t===s?(e.consume(t),u++,sequence):(e.exit("thematicBreakSequence"),(0,ep.xz)(t)?(0,ef.f)(e,atBreak,"whitespace")(t):atBreak(t))}(d)):u>=3&&(null===d||(0,ep.Ch)(d))?(e.exit("thematicBreak"),t(d)):r(d)}(d)}}},e_={continuation:{tokenize:function(e,t,r){let s=this;return s.containerState._closeFlow=void 0,e.check(ey.w,function(r){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,(0,ef.f)(e,t,"listItemIndent",s.containerState.size+1)(r)},function(r){return s.containerState.furtherBlankLines||!(0,ep.xz)(r)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine
1=void 0,notInCurrentItem(r)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,e.attempt(eP,t,notInCurrentItem)(r))});function notInCurrentItem(u){return s.containerState._closeFlow=!0,s.interrupt=void 0,(0,ef.f)(e,e.attempt(e_,t,r),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,r){let s=this,u=s.events[s.events.length-1],d=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,p=0;return function(t){let u=s.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===u?!s.containerState.marker||t===s.containerState.marker:(0,ep.pY)(t)){if(s.containerState.type||(s.containerState.type=u,e.enter(u,{_container:!0})),"listUnordered"===u)return e.enter("listItemPrefix"),42===t||45===t?e.check(eS,r,atMarker)(t):atMarker(t);if(!s.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function inside(t){return(0,ep.pY)(t)&&++p<10?(e.consume(t),inside):(!s.interrupt||p<2)&&(s.containerState.marker?t===s.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),atMarker(t)):r(t)}(t)}return r(t)};function atMarker(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||t,e.check(ey.w,s.interrupt?r:onBlank,e.attempt(eI,endOfPrefix,otherPrefix))}
1function onBlank(e){return s.containerState.initialBlankLine=!0,d++,endOfPrefix(e)}function otherPrefix(t){return(0,ep.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),endOfPrefix):r(t)}function endOfPrefix(r){return s.containerState.size=d+s.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}}},eI={partial:!0,tokenize:function(e,t,r){let s=this;return(0,ef.f)(e,function(e){let u=s.events[s.events.length-1];return!(0,ep.xz)(e)&&u&&"listItemPrefixWhitespace"===u[1].type?t(e):r(e)},"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eP={partial:!0,tokenize:function(e,t,r){let s=this;return(0,ef.f)(e,function(e){let u=s.events[s.events.length-1];return u&&"listItemIndent"===u[1].type&&u[2].sliceSerialize(u[1],!0).length===s.containerState.size?t(e):r(e)},"listItemIndent",s.containerState.size+1)}},eO={continuation:{tokenize:function(e,t,r){let s=this;return function(t){return(0,ep.xz)(t)?(0,ef.f)(e,contBefore,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):contBefore(t)};function contBefore(s){return e.attempt(eO,t,r)(s)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,r){let s=this;return function(t){if(62===t){let r=s.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),after}return r(t)};function after(r){return(0,ep.xz)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}}};function factoryDestination(e,t,r,s,u,d,p,h,m){let y=m||Number.POSITIVE_INFINITY,v=0;return function(t){return 60===t?(e.enter(s),e.enter(u),e.enter(d),e.consume(t),e.exit(d),enclosedBefore):null===t||32===t||41===t||(0,ep.Av)(t)?r(t):(e.enter(s),e.enter(p),e.enter(h),e.enter("chunkString",{contentType:"string"}),raw(t))};function enclosedBefore(r){return 62===r?(e.enter(d),e.consume(r),e.exit(d),e.exit(u),e.exit(s),t):(e.enter(h),e.enter("chunkString",{contentType:"string"}),enclosed(r))}function enclosed(t){return 62===t?(e.exit("chunkString"),e.exit(h),enclosedBefore(t)):null===t||60===t||(0,ep.Ch)(t)?r(t):(e.consume(t),92===t?enclosedEscape:enclosed)}function enclosedEscape(t){return 60===t||62===t||92===t?(e.consume(t),enclosed):enclosed(t)}function raw(u){return!v&&(null===u||41===u||(0,ep.z3)(u))?(e.exit("chunkString"),e.exit(h),e.exit(p),e.exit(s),t(u)):v<y&&40===u?(e.consume(u),v++,raw):41===u?(e.consume(u),v--,raw):null===u||32===u||40===u||(0,ep.Av)(u)?r(u):(e.consume(u),92===u?rawEscape:raw)}function rawEscape(t){return 40===t||41===t||92===t?(e.consume(t),raw):raw(t)}}function factoryLabel(e,t,r,s,u,d){let p;let h=this,m=0;return function(t){return e.enter(s),e.enter(u),e.consume(t),e.exit(u),e.enter(d),atBreak};function atBreak(y){return m>999||null===y||91===y||93===y&&!p||94===y&&!m&&"_hiddenFootnoteSupport"in h.parser.constructs?r(y):93===y?(e.exit(d),e.enter(u),e.consume(y),e.exit(u),e.exit(s),t):(0,ep.Ch)(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),atBreak):(e.enter("chunkString",{contentType:"string"}),labelInside(y))}function labelInside(t){return null===t||91===t||93===t||(0,ep.Ch)(t)||m++>999?(e.exit("chunkString"),atBreak(t)):(e.consume(t),p||(p=!(0,ep.xz)(t)),92===t?labelEscape:labelInside)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),m++,labelInside):labelInside(t)}}function factoryTitle(e,t,r,s,u,d){let p;return function(t){return 34===t||39===t||40===t?(e.enter(s),e.enter(u),e.consume(t),e.exit(u),p=40===t?41:t,begin):r(t)};function begin(r){return r===p?(e.enter(u),e.consume(r),e.exit(u),e.exit(s),t):(e.enter(d),atBreak(r))}function atBreak(t){return t===p?(e.exit(d),begin(p)):null===t?r(t):(0,ep.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,ef.f)(e,atBreak,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),inside(t))}function inside(t){return t===p||null===t||(0,ep.Ch)(t)?(e.exit("chunkString"),atBreak(t)):(e.consume(t),92===t?escape:inside)}function escape(t){return t===p||92===t?(e.consume(t),inside):inside(t)}}function factoryWhitespace(e,t){let r;return function start(s){return(0,ep.Ch)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),r=!0,start):(0,ep.xz)(s)?(0,ef.f)(e,start,r?"linePrefix":"lineSuffix")(s):t(s)}}var eE=r(36910);let eT={partial:!0,tokenize:function(e,t,r){return function(t){return(0,ep.z3)(t)?factoryWhitespace(e,beforeMarker)(t):r(t)};function beforeMarker(t){return factoryTitle(e,titleAfter,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function titleAfter(t){return(0,ep.xz)(t)?(0,ef.f)(e,titleAfterOptionalWhitespace,"whitespace")(t):titleAfterOptionalWhitespace(t)}function titleAfterOptionalWhitespace(e){return null===e||(0,ep.Ch)(e)?t(e):r(e)}}},eA={name:"codeIndented",tokenize:function(e,t,r){let s=this;
1return function(t){return e.enter("codeIndented"),(0,ef.f)(e,afterPrefix,"linePrefix",5)(t)};function afterPrefix(t){let u=s.events[s.events.length-1];return u&&"linePrefix"===u[1].type&&u[2].sliceSerialize(u[1],!0).length>=4?function atBreak(t){return null===t?after(t):(0,ep.Ch)(t)?e.attempt(ez,atBreak,after)(t):(e.enter("codeFlowValue"),function inside(t){return null===t||(0,ep.Ch)(t)?(e.exit("codeFlowValue"),atBreak(t)):(e.consume(t),inside)}(t))}(t):r(t)}function after(r){return e.exit("codeIndented"),t(r)}}},ez={partial:!0,tokenize:function(e,t,r){let s=this;return furtherStart;function furtherStart(t){return s.parser.lazy[s.now().line]?r(t):(0,ep.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),furtherStart):(0,ef.f)(e,afterPrefix,"linePrefix",5)(t)}function afterPrefix(e){let u=s.events[s.events.length-1];return u&&"linePrefix"===u[1].type&&u[2].sliceSerialize(u[1],!0).length>=4?t(e):(0,ep.Ch)(e)?furtherStart(e):r(e)}}},eD={name:"setextUnderline",resolveTo:function(e,t){let r,s,u,d=e.length;for(;d--;)if("enter"===e[d][0]){if("content"===e[d][1].type){r=d;break}"paragraph"===e[d][1].type&&(s=d)}else"content"===e[d][1].type&&e.splice(d,1),u||"definition"!==e[d][1].type||(u=d);let p={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",u?(e.splice(s,0,["enter",p,t]),e.splice(u+1,0,["exit",e[r][1],t]),e[r][1].end={...e[u][1].end}):e[r][1]=p,e.push(["exit",p,t]),e},tokenize:function(e,t,r){let s;let u=this;return function(t){let d,p=u.events.length;for(;p--;)if("lineEnding"!==u.events[p][1].type&&"linePrefix"!==u.events[p][1].type&&"content"!==u.events[p][1].type){d="paragraph"===u.events[p][1].type;break}return!u.parser.lazy[u.now().line]&&(u.interrupt||d)?(e.enter("setextHeadingLine"),s=t,e.enter("setextHeadingLineSequence"),function inside(t){return t===s?(e.consume(t),inside):(e.exit("setextHeadingLineSequence"),(0,ep.xz)(t)?(0,ef.f)(e,after,"lineSuffix")(t):after(t))}(t)):r(t)};function after(s){return null===s||(0,ep.Ch)(s)?(e.exit("setextHeadingLine"),t(s)):r(s)}}},eF=["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"],ej=["pre","script","style","textarea"],eR={partial:!0,tokenize:function(e,t,r){return function(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(ey.w,t,r)}}},eL={partial:!0,tokenize:function(e,t,r){let s=this;return function(t){return(0,ep.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),after):r(t)};function after(e){return s.parser.lazy[s.now().line]?r(e):t(e)}}},eM={partial:!0,tokenize:function(e,t,r){let s=this;return function(t){return null===t?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),lineStart)};function lineStart(e){return s.parser.lazy[s.now().line]?r(e):t(e)}}},eN={concrete:!0,name:"codeFenced",tokenize:function(e,t,r){let s;let u=this,d={partial:!0,tokenize:function(e,t,r){let d=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),start};function start(t){return e.enter("codeFencedFence"),(0,ep.xz)(t)?(0,ef.f)(e,beforeSequenceClose,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):beforeSequenceClose(t)}function beforeSequenceClose(t){return t===s?(e.enter("codeFencedFenceSequence"),function sequenceClose(t){return t===s?(d++,e.consume(t),sequenceClose):d>=h?(e.exit("codeFencedFenceSequence"),(0,ep.xz)(t)?(0,ef.f)(e,sequenceCloseAfter,"whitespace")(t):sequenceCloseAfter(t)):r(t)}(t)):r(t)}function sequenceCloseAfter(s){return null===s||(0,ep.Ch)(s)?(e.exit("codeFencedFence"),t(s)):r(s)}}},p=0,h=0;return function(t){return function(t){let d=u.events[u.events.length-1];return p=d&&"linePrefix"===d[1].type?d[2].sliceSerialize(d[1],!0).length:0,s=t,e.enter("co
1deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function sequenceOpen(t){return t===s?(h++,e.consume(t),sequenceOpen):h<3?r(t):(e.exit("codeFencedFenceSequence"),(0,ep.xz)(t)?(0,ef.f)(e,infoBefore,"whitespace")(t):infoBefore(t))}(t)}(t)};function infoBefore(d){return null===d||(0,ep.Ch)(d)?(e.exit("codeFencedFence"),u.interrupt?t(d):e.check(eM,atNonLazyBreak,after)(d)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function info(t){return null===t||(0,ep.Ch)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),infoBefore(t)):(0,ep.xz)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,ef.f)(e,metaBefore,"whitespace")(t)):96===t&&t===s?r(t):(e.consume(t),info)}(d))}function metaBefore(t){return null===t||(0,ep.Ch)(t)?infoBefore(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function meta(t){return null===t||(0,ep.Ch)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),infoBefore(t)):96===t&&t===s?r(t):(e.consume(t),meta)}(t))}function atNonLazyBreak(t){return e.attempt(d,after,contentBefore)(t)}function contentBefore(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),contentStart}function contentStart(t){return p>0&&(0,ep.xz)(t)?(0,ef.f)(e,beforeContentChunk,"linePrefix",p+1)(t):beforeContentChunk(t)}function beforeContentChunk(t){return null===t||(0,ep.Ch)(t)?e.check(eM,atNonLazyBreak,after)(t):(e.enter("codeFlowValue"),function contentChunk(t){return null===t||(0,ep.Ch)(t)?(e.exit("codeFlowValue"),beforeContentChunk(t)):(e.consume(t),contentChunk)}(t))}function after(r){return e.exit("codeFenced"),t(r)}}},eB=document.createElement("i");function decodeNamedCharacterReference(e){let t="&"+e+";";eB.innerHTML=t;let r=eB.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&r!==t&&r}let eH={name:"characterReference",tokenize:function(e,t,r){let s,u;let d=this,p=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),open};function open(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),numeric):(e.enter("characterReferenceValue"),s=31,u=ep.H$,value(t))}function numeric(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,u=ep.AF,value):(e.enter("characterReferenceValue"),s=7,u=ep.pY,value(t))}function value(h){if(59===h&&p){let s=e.exit("characterReferenceValue");return u!==ep.H$||decodeNamedCharacterReference(d.sliceSerialize(s))?(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(h)}return u(h)&&p++<s?(e.consume(h),value):r(h)}}},eV={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),inside};function inside(s){return(0,ep.sR)(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(s)}}},eW={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,ef.f)(e,t,"linePrefix")}}};var eU=r(27828);let e$={name:"labelEnd",resolveAll:function(e){let t=-1,r=[];for(;++t<e.length;){let s=e[t][1];if(r.push(e[t]),"labelImage"===s.type||"labelLink"===s.type||"labelEnd"===s.type){let e="labelImage"===s.type?4:2;s.type="data",t+=e}}return e.length!==r.length&&(0,ec.d)(e,0,e.length,r),e},resolveTo:function(e,t){let r,s,u,d,p=e.length,h=0;for(;p--;)if(r=e[p][1],s){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[p][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(u){if("enter"===e[p][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(s=p,"labelLink"!==r.type)){h=2;break}}else"labelEnd"===r.type&&(u=p);let m={type:"labelLink"===e[s][1].type?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},y={type:"label",start:{...e[s][1].start},end:{...e[u][1].end}},v={type:"labelText",start:{...e[s+h+2][1].end},end:{...e[u-2][1].start}};return d=[["enter",m,t],["enter",y,t]],d=(0,ec.V)(d,e.slice(s+1,s+h+3)),d=(0,ec.V)(d,[["enter",v,t]]),d=(0,ec.V)(d,(0,eU.C)(t.parser.constructs.insideSpan.null,e.slice(s+h+4,u-3),t)),d=(0,ec.V)(d,[["exit",v,t],e[u-2],e[u-1],["exit",y,t]]),d=(0,ec.V)(d,e.slice(u+1)),d=(0,ec.V)(d,[["exit",m,t]]),(0,ec.d)(e,s,e.length,d),e},tokenize:function(e,t,r){let s,u;let d=this,p=d.events.length;for(;p--;)if(("labelImage"===d.events[p][1].type||"labelLink"===d.events[p][1].type)&&!d.events[p][1]._balanced){s=d.events[p][1];break}return function(t){return s?s._inactive?labelEndNok(t):(u=d.parser.defined.includes((0,eE.d)(d.sliceSerialize({start:s.end,end:d.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),after):r(t)};function after(t){return 40===t?e.attempt(eq,labelEndOk,u?labelEndOk:labelEndNok)(t):91===t?e.attempt(eK,labelEndOk,u?referenceNotFull:labelEndNok)(t):u?labelEndOk(t):labelEndNok(t)}function referenceNotFull(t){return e.attempt(eQ,labelEndOk,labelEndNok)(t)}function labelEndOk(e){return t(e)}function labelEndNok(e){return s._balanced=!0,r(e)}}},eq={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),resourceBefore};function resourceBefore(t){return(0,ep.z3)(t)?factoryWhitespace(e,resourceOpen)(t):resourceOpen(t)}function resourceOpen(t){return 41===t?resourceEnd(t):factoryDestination(e,resourceDestinationAfter,resourceDestinationMissing,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function resourceDestinationAfter(t){return(0,ep.z3)(t)?factoryWhitespace(e,resourceBetween)(t):resourceEnd(t)}function resourceDestinationMissing(e){return r(e)}function resourceBetween(t){return 34===t||39===t||40===t?factoryTitle(e,resourceTitleAfter,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):resourceEnd(t)}function resourceTitleAfter(t){return(0,ep.z3)(t)?factoryWhitespace(e,resourceEnd)(t):resourceEnd(t)}function resourceEnd(s){return 41===s?(e.enter("resourceMarker"),e.consume(s),e.exit("resourceMarker"),e.exit("resource"),t):r(s)}}},eK={tokenize:function(e,t,r){let s=this;return function(t){return factoryLabel.call(s,e,referenceFullAfter,referenceFullMissing,"reference","referenceMarker","referenceString")(t)};function referenceFullAfter(e){return s.parser.defined.includes((0,eE.d)(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?t(e):r(e)}function referenceFullMissing(e){return r(e)}}},eQ={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),referenceCollapsedOpen};function referenceCollapsedOpen(s){return 93===s?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):r(s)}}},eX={name:"labelStartImage",resolveAll:e$.resolveAll,tokenize:function(e,t,r){let s=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),open};function open(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),after):r(t)}function after(e){return 94===e&&"_hiddenFootnoteSupport"in s.parser.constructs?r(e):t(e)}}};var eG=r(20898);let eZ={name:"attention",resolveAll:function(e,t){let r,s,u,d,p,h,m,y,v=-1;for(;++v<e.length;)if("enter"===e[v][0]&&"attentionSequence"===e[v][1].type&&e[v][1]._close){for(r=v;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCo
1deAt(0)===t.sliceSerialize(e[v][1]).charCodeAt(0)){if((e[r][1]._close||e[v][1]._open)&&(e[v][1].end.offset-e[v][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[v][1].end.offset-e[v][1].start.offset)%3))continue;h=e[r][1].end.offset-e[r][1].start.offset>1&&e[v][1].end.offset-e[v][1].start.offset>1?2:1;let b={...e[r][1].end},w={...e[v][1].start};movePoint(b,-h),movePoint(w,h),d={type:h>1?"strongSequence":"emphasisSequence",start:b,end:{...e[r][1].end}},p={type:h>1?"strongSequence":"emphasisSequence",start:{...e[v][1].start},end:w},u={type:h>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[v][1].start}},s={type:h>1?"strong":"emphasis",start:{...d.start},end:{...p.end}},e[r][1].end={...d.start},e[v][1].start={...p.end},m=[],e[r][1].end.offset-e[r][1].start.offset&&(m=(0,ec.V)(m,[["enter",e[r][1],t],["exit",e[r][1],t]])),m=(0,ec.V)(m,[["enter",s,t],["enter",d,t],["exit",d,t],["enter",u,t]]),m=(0,ec.V)(m,(0,eU.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,v),t)),m=(0,ec.V)(m,[["exit",u,t],["enter",p,t],["exit",p,t],["exit",s,t]]),e[v][1].end.offset-e[v][1].start.offset?(y=2,m=(0,ec.V)(m,[["enter",e[v][1],t],["exit",e[v][1],t]])):y=0,(0,ec.d)(e,r-1,v-r+3,m),v=r+m.length-y-2;break}}for(v=-1;++v<e.length;)"attentionSequence"===e[v][1].type&&(e[v][1].type="data");return e},tokenize:function(e,t){let r;let s=this.parser.constructs.attentionMarkers.null,u=this.previous,d=(0,eG.r)(u);return function(p){return r=p,e.enter("attentionSequence"),function inside(p){if(p===r)return e.consume(p),inside;let h=e.exit("attentionSequence"),m=(0,eG.r)(p),y=!m||2===m&&d||s.includes(p),v=!d||2===d&&m||s.includes(u);return h._open=!!(42===r?y:y&&(d||!v)),h._close=!!(42===r?v:v&&(m||!y)),t(p)}(p)}}};function movePoint(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eJ={name:"labelStartLink",resolveAll:e$.resolveAll,tokenize:function(e,t,r){let s=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),after};function after(e){return 94===e&&"_hiddenFootnoteSupport"in s.parser.constructs?r(e):t(e)}}},eY={42:e_,43:e_,45:e_,48:e_,49:e_,50:e_,51:e_,52:e_,53:e_,54:e_,55:e_,56:e_,57:e_,62:eO},e0={91:{name:"definition",tokenize:function(e,t,r){let s;let u=this;return function(t){return e.enter("definition"),factoryLabel.call(u,e,labelAfter,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function labelAfter(t){return(s=(0,eE.d)(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),markerAfter):r(t)}function markerAfter(t){return(0,ep.z3)(t)?factoryWhitespace(e,destinationBefore)(t):destinationBefore(t)}function destinationBefore(t){return factoryDestination(e,destinationAfter,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function destinationAfter(t){return e.attempt(eT,after,after)(t)}function after(t){return(0,ep.xz)(t)?(0,ef.f)(e,afterWhitespace,"whitespace")(t):afterWhitespace(t)}function afterWhitespace(d){return null===d||(0,ep.Ch)(d)?(e.exit("definition"),u.parser.defined.push(s),t(d)):r(d)}}}},e1={[-2]:eA,[-1]:eA,32:eA},e2={35:{name:"headingAtx",resolve:function(e,t){let r,s,u=e.length-2,d=3;return"whitespace"===e[3][1].type&&(d+=2),u-2>d&&"whitespace"===e[u][1].type&&(u-=2),"atxHeadingSequence"===e[u][1].type&&(d===u-1||u-4>d&&"whitespace"===e[u-2][1].type)&&(u-=d+1===u?2:4),u>d&&(r={type:"atxHeadingText",start:e[d][1].start,end:e[u][1].end},s={type:"chunkText",start:e[d][1].start,end:e[u][1].end,contentType:"text"},(0,ec.d)(e,d,u-d+1,[["enter",r,t],["enter",s,t],["exit",s,t],["exit",r,t]])),e},tokenize:function(e,t,r){let s=0;return function(u){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function sequenceOpen(u){return 35===u&&s++<6?(e.consume(u),sequenceOpen):null===u||(0,ep.z3)(u)?(e.exit("atxHeadingSequence"),function atBreak(r){return 35===r?(e.enter("atxHeadingSequence"),function sequenceFurther(t){return 35===t?(e.consume(t),sequenceFurther):(e.exit("atxHeadingSequence"),atBreak(t))}(r)):null===r||(0,ep.Ch)(r)?(e.exit("atxHeading"),t(r)):(0,ep.xz)(r)?(0,ef.f)(e,atBreak,"whitespace")(r):(e.enter("atxHeadingText"),function data(t){return null===t||35===t||(0,ep.z3)(t)?(e.exit("atxHeadingText"),atBreak(t)):(e.consume(t),data)}(r))}(u)):r(u)}(u)}}},42:eS,45:[eD,eS],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(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},tokenize:function(e,t,r){let s,u,d,p,h;let m=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),open};function open(p){return 33===p?(e.consume(p),declarationOpen):47===p?(e.consume(p),u=!0,tagCloseStart):63===p?(e.consume(p),s=3,m.interrupt?t:continuationDeclarationInside):(0,ep.jv)(p)?(e.consume(p),d=String.fromCharCode(p),tagName):r
1(p)}function declarationOpen(u){return 45===u?(e.consume(u),s=2,commentOpenInside):91===u?(e.consume(u),s=5,p=0,cdataOpenInside):(0,ep.jv)(u)?(e.consume(u),s=4,m.interrupt?t:continuationDeclarationInside):r(u)}function commentOpenInside(s){return 45===s?(e.consume(s),m.interrupt?t:continuationDeclarationInside):r(s)}function cdataOpenInside(s){let u="CDATA[";return s===u.charCodeAt(p++)?(e.consume(s),p===u.length)?m.interrupt?t:continuation:cdataOpenInside:r(s)}function tagCloseStart(t){return(0,ep.jv)(t)?(e.consume(t),d=String.fromCharCode(t),tagName):r(t)}function tagName(p){if(null===p||47===p||62===p||(0,ep.z3)(p)){let h=47===p,y=d.toLowerCase();return!h&&!u&&ej.includes(y)?(s=1,m.interrupt?t(p):continuation(p)):eF.includes(d.toLowerCase())?(s=6,h)?(e.consume(p),basicSelfClosing):m.interrupt?t(p):continuation(p):(s=7,m.interrupt&&!m.parser.lazy[m.now().line]?r(p):u?function completeClosingTagAfter(t){return(0,ep.xz)(t)?(e.consume(t),completeClosingTagAfter):completeEnd(t)}(p):completeAttributeNameBefore(p))}return 45===p||(0,ep.H$)(p)?(e.consume(p),d+=String.fromCharCode(p),tagName):r(p)}function basicSelfClosing(s){return 62===s?(e.consume(s),m.interrupt?t:continuation):r(s)}function completeAttributeNameBefore(t){return 47===t?(e.consume(t),completeEnd):58===t||95===t||(0,ep.jv)(t)?(e.consume(t),completeAttributeName):(0,ep.xz)(t)?(e.consume(t),completeAttributeNameBefore):completeEnd(t)}function completeAttributeName(t){return 45===t||46===t||58===t||95===t||(0,ep.H$)(t)?(e.consume(t),completeAttributeName):completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){return 61===t?(e.consume(t),completeAttributeValueBefore):(0,ep.xz)(t)?(e.consume(t),completeAttributeNameAfter):completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),h=t,completeAttributeValueQuoted):(0,ep.xz)(t)?(e.consume(t),completeAttributeValueBefore):function completeAttributeValueUnquoted(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||(0,ep.z3)(t)?completeAttributeNameAfter(t):(e.consume(t),completeAttributeValueUnquoted)}(t)}function completeAttributeValueQuoted(t){return t===h?(e.consume(t),h=null,completeAttributeValueQuotedAfter):null===t||(0,ep.Ch)(t)?r(t):(e.consume(t),completeAttributeValueQuoted)}function completeAttributeValueQuotedAfter(e){return 47===e||62===e||(0,ep.xz)(e)?completeAttributeNameBefore(e):r(e)}function completeEnd(t){return 62===t?(e.consume(t),completeAfter):r(t)}function completeAfter(t){return null===t||(0,ep.Ch)(t)?continuation(t):(0,ep.xz)(t)?(e.consume(t),completeAfter):r(t)}function continuation(t){return 45===t&&2===s?(e.consume(t),continuationCommentInside):60===t&&1===s?(e.consume(t),continuationRawTagOpen):62===t&&4===s?(e.consume(t),continuationClose):63===t&&3===s?(e.consume(t),continuationDeclarationInside):93===t&&5===s?(e.consume(t),continuationCdataInside):(0,ep.Ch)(t)&&(6===s||7===s)?(e.exit("htmlFlowData"),e.check(eR,continuationAfter,continuationStart)(t)):null===t||(0,ep.Ch)(t)?(e.exit("htmlFlowData"),continuationStart(t)):(e.consume(t),continuation)}function continuationStart(t){return e.check(eL,continuationStartNonLazy,continuationAfter)(t)}function continuationStartNonLazy(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),continuationBefore}function continuationBefore(t){return null===t||(0,ep.Ch)(t)?continuationStart(t):(e.enter("htmlFlowData"),continuation(t))}function continuationCommentInside(t){return 45===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationRawTagOpen(t){return 47===t?(e.consume(t),d="",continuationRawEndTag):continuation(t)}function continuationRawEndTag(t){if(62===t){let r=d.toLowerCase();return ej.includes(r)?(e.consume(t),continuationClose):continuation(t)}return(0,ep.jv)(t)&&d.length<8?(e.consume(t),d+=String.fromCharCode(t),continuationRawEndTag):continuation(t)}function continuationCdataInside(t){return 93===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationDeclarationInside(t){return 62===t?(e.consume(t),continuationClose):45===t&&2===s?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationClose(t){return null===t||(0,ep.Ch)(t)?(e.exit("htmlFlowData"),continuationAfter(t)):(e.consume(t),continuationClose)}function continuationAfter(r){return e.exit("htmlFlow"),t(r)}}},61:eD,95:eS,96:eN,126:eN},e4={38:eH,92:eV},e3={[-5]:eW,[-4]:eW,[-3]:eW,33:eX,38:eH,42:eZ,60:[{name:"autolink",tokenize:function(e,t,r){let s=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),open};function open(t){return(0,ep.jv)(t)?(e.consume(t),schemeOrEmailAtext):64===t?r(t):emailAtext(t)}function schemeOrEmailAtext(t){return 43===t||45===t||46===t||(0,ep.H$)(t)?(s=1,function schemeInsideOrEmailAtext(t){return 58===t?(e.consume(t),s=0,urlInside):(43===t||45===t||46===t||(0,ep.H$)(t))&&s++<32?(e.consume(t),schemeInsideOrEmailAtext):(s=0,emailAtext(t))}(t)):emailAtext(t)}function urlInside(s){return 62===s?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(s),e.exit("autolinkMarker"),e.exit("autolink"),t):null===s||32===s||60===s||(0,ep.Av)(s)?r(s):(e.consume(s),urlInside)}function emailAtext(t){return 64===t?(e.consume(t),emailAtSignOrDot):(0,ep.n9)(t)?(e.consume(t),emailAtext):r(t)}function emailAtSignOrDot(u){return(0,ep.H$)(u)?function emailLabel(u){return 46===u?(e.consume(u),s=0,emailAtSignOrDot):62===u?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(u),e.exit("autolinkMarker"),e.exit("autolink"),t):function emailValue(t){if((45===t||(0,ep.H$)(t))&&s++<63){let r=45===t?emailValue:emailLabel;return e.consume(t),r}return r(t)}(u)}(u):r(u)}}},{name:"htmlText",tokenize:function(e,t,r){let s,u,d;let p=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),open};function open(t){return 33===t?(e.consume(t),declarationOpen):47===t?(e.consume(t),tagCloseStart):63===t?(e.consume(t),instruction):(0,ep.jv)(t)?(e.consume(t),tagOpen):r(t)}function declarationOpen(t){return 45===t?(e.consume(t),commentOpenInside):91===t?(e.consume(t),u=0,cdataOpenInside):(0,ep.jv)(t)?(e.consume(t),declaration):r(t)}function commentOpenInside(t){return 45===t?(e.consume(t),commentEnd):r(t)}function comment(t){return null===t?r(t):45===t?(e.consume(t),commentClose):(0,ep.Ch)(t)?(d=comment,lineEndingBefore(t)):(e.consume(t),comment)}function commentClose(t){return 45===t?(e.consume(t),commentEnd):comment(t)}function commentEnd(e){return 62===e?end(e):45===e?commentClose(e):comment(e)}function cdataOpenInside(t){let s="CDATA[";return t===s.charCodeAt(u++)?(e.consume(t),u===s.length?cdata:cdataOpenInside):r(t)}function cdata(t){return null===t?r(t):93===t?(e.consume(t),cdataClose):(0,ep.Ch)(t)?(d=cdata,lineEndingBefore(t)):(e.consume(t),cdata)}function cdataClose(t){return 93===t?(e.consume(t),cdataEnd):cdata(t)}function cdataEnd(t){return 62===t?end(t):93===t?(e.consume(t),cdataEnd):cdata(t)}function declaration(t){return null===t||62===t?end(t):(0,ep.Ch)(t)?(d=declaration,lineEndingBefore(t)):(e.consume(t),declaration)}function instruction(t){return null===t?r(t):63===t?(e.consume(t),instructionClose):(0,ep.Ch)(t)?(d=instru
1ction,lineEndingBefore(t)):(e.consume(t),instruction)}function instructionClose(e){return 62===e?end(e):instruction(e)}function tagCloseStart(t){return(0,ep.jv)(t)?(e.consume(t),tagClose):r(t)}function tagClose(t){return 45===t||(0,ep.H$)(t)?(e.consume(t),tagClose):function tagCloseBetween(t){return(0,ep.Ch)(t)?(d=tagCloseBetween,lineEndingBefore(t)):(0,ep.xz)(t)?(e.consume(t),tagCloseBetween):end(t)}(t)}function tagOpen(t){return 45===t||(0,ep.H$)(t)?(e.consume(t),tagOpen):47===t||62===t||(0,ep.z3)(t)?tagOpenBetween(t):r(t)}function tagOpenBetween(t){return 47===t?(e.consume(t),end):58===t||95===t||(0,ep.jv)(t)?(e.consume(t),tagOpenAttributeName):(0,ep.Ch)(t)?(d=tagOpenBetween,lineEndingBefore(t)):(0,ep.xz)(t)?(e.consume(t),tagOpenBetween):end(t)}function tagOpenAttributeName(t){return 45===t||46===t||58===t||95===t||(0,ep.H$)(t)?(e.consume(t),tagOpenAttributeName):function tagOpenAttributeNameAfter(t){return 61===t?(e.consume(t),tagOpenAttributeValueBefore):(0,ep.Ch)(t)?(d=tagOpenAttributeNameAfter,lineEndingBefore(t)):(0,ep.xz)(t)?(e.consume(t),tagOpenAttributeNameAfter):tagOpenBetween(t)}(t)}function tagOpenAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),s=t,tagOpenAttributeValueQuoted):(0,ep.Ch)(t)?(d=tagOpenAttributeValueBefore,lineEndingBefore(t)):(0,ep.xz)(t)?(e.consume(t),tagOpenAttributeValueBefore):(e.consume(t),tagOpenAttributeValueUnquoted)}function tagOpenAttributeValueQuoted(t){return t===s?(e.consume(t),s=void 0,tagOpenAttributeValueQuotedAfter):null===t?r(t):(0,ep.Ch)(t)?(d=tagOpenAttributeValueQuoted,lineEndingBefore(t)):(e.consume(t),tagOpenAttributeValueQuoted)}function tagOpenAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||(0,ep.z3)(t)?tagOpenBetween(t):(e.consume(t),tagOpenAttributeValueUnquoted)}function tagOpenAttributeValueQuotedAfter(e){return 47===e||62===e||(0,ep.z3)(e)?tagOpenBetween(e):r(e)}function end(s){return 62===s?(e.consume(s),e.exit("htmlTextData"),e.exit("htmlText"),t):r(s)}function lineEndingBefore(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),lineEndingAfter}function lineEndingAfter(t){return(0,ep.xz)(t)?(0,ef.f)(e,lineEndingAfterPrefix,"linePrefix",p.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):lineEndingAfterPrefix(t)}function lineEndingAfterPrefix(t){return e.enter("htmlTextData"),d(t)}}}],91:eJ,92:[{name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.consume(t),after};function after(s){return(0,ep.Ch)(s)?(e.exit("hardBreakEscape"),t(s)):r(s)}}},eV],93:e$,95:eZ,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,r,s=e.length-4,u=3;if(("lineEnding"===e[3][1].type||"space"===e[u][1].type)&&("lineEnding"===e[s][1].type||"space"===e[s][1].type)){for(t=u;++t<s;)if("codeTextData"===e[t][1].type){e[u][1].type="codeTextPadding",e[s][1].type="codeTextPadding",u+=2,s-=2;break}}for(t=u-1,s++;++t<=s;)void 0===r?t!==s&&"lineEnding"!==e[t][1].type&&(r=t):(t===s||"lineEnding"===e[t][1].type)&&(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),s-=t-r-2,t=r+2),r=void 0);return e},tokenize:function(e,t,r){let s,u,d=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function sequenceOpen(t){return 96===t?(e.consume(t),d++,sequenceOpen):(e.exit("codeTextSequence"),between(t))}(t)};function between(p){return null===p?r(p):32===p?(e.enter("space"),e.consume(p),e.exit("space"),between):96===p?(u=e.enter("codeTextSequence"),s=0,function sequenceClose(r){return 96===r?(e.consume(r),s++,sequenceClose):s===d?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(u.type="codeTextData",data(r))}(p)):(0,ep.Ch)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),between):(e.enter("codeTextData"),data(p))}function data(t){return null===t||32===t||96===t||(0,ep.Ch)(t)?(e.exit("codeTextData"),between(t)):(e.consume(t),data)}}}},e6={null:[eZ,ek]},e5={null:[42,95]},e9={null:[]},e8=/[\0\t\n\r]/g;function decodeNumericCharacterReference(e,t){let r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(65535&r)==65535||(65535&r)==65534||r>1114111?"�":String.fromCodePoint(r)}let e7=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decode(e,t,r){if(t)return t;let s=r.charCodeAt(0);if(35===s){let e=r.charCodeAt(1),t=120===e||88===e;
1return decodeNumericCharacterReference(r.slice(t?2:1),t?16:10)}return decodeNamedCharacterReference(r)||e}function lib_stringifyPosition(e){return e&&"object"==typeof e?"position"in e||"type"in e?unist_util_stringify_position_lib_position(e.position):"start"in e||"end"in e?unist_util_stringify_position_lib_position(e):"line"in e||"column"in e?unist_util_stringify_position_lib_point(e):"":""}function unist_util_stringify_position_lib_point(e){return lib_index(e&&e.line)+":"+lib_index(e&&e.column)}function unist_util_stringify_position_lib_position(e){return unist_util_stringify_position_lib_point(e&&e.start)+"-"+unist_util_stringify_position_lib_point(e&&e.end)}function lib_index(e){return e&&"number"==typeof e?e:1}let tn={}.hasOwnProperty;function mdast_util_from_markdown_lib_point(e){return{line:e.line,column:e.column,offset:e.offset}}function defaultOnError(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+lib_stringifyPosition({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+lib_stringifyPosition({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+lib_stringifyPosition({start:t.start,end:t.end})+") is still open")}function remarkParse(e){let t=this;t.parser=function(r){var s,d;let p,h,m,y;return"string"!=typeof(s={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(d=s,s=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:opener(link),autolinkProtocol:onenterdata,autolinkEmail:onenterdata,atxHeading:opener(heading),blockQuote:opener(function(){return{type:"blockquote",children:[]}}),characterEscape:onenterdata,characterReference:onenterdata,codeFenced:opener(codeFlow),codeFencedFenceInfo:buffer,codeFencedFenceMeta:buffer,codeIndented:opener(codeFlow,buffer),codeText:opener(function(){return{type:"inlineCode",value:""}},buffer),codeTextData:onenterdata,data:onenterdata,codeFlowValue:onenterdata,definition:opener(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:buffer,definitionLabelString:buffer,definitionTitleString:buffer,emphasis:opener(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:opener(hardBreak),hardBreakTrailing:opener(hardBreak),htmlFlow:opener(html,buffer),htmlFlowData:onenterdata,htmlText:opener(html,buffer),htmlTextData:onenterdata,image:opener(function(){return{type:"image",title:null,url:"",alt:null}}),label:buffer,link:opener(link),listItem:opener(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}},listOrdered:opener(list,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:opener(list),paragraph:opener(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:buffer,resourceDestinationString:buffer,resourceTitleString:buffer,setextHeading:opener(heading),strong:opener(function(){return{type:"strong",children:[]}}),thematicBreak:opener(function(){return{type:"thematicBreak"}})},exit:{atxHeading:closer(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let r=this.sliceSerialize(e).length;t.depth=r}},autolink:closer(),autolinkEmail:function(e){onexitdata.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){onexitdata.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:closer(),characterEscapeValue:onexitdata,characterReferenceMarkerHexadecimal:onexitcharacterreferencemarker,characterReferenceMarkerNumeric:onexitcharacterreferencemarker,characterReferenceValue:function(e){let t;let r=this.sliceSerialize(e),s=this.data.characterReferenceType;if(s)t=decodeNumericCharacterReference(r,"characterReferenceMarkerNumeric"===s?10:16),this.data.characterReferenceType=void 0;else{let e=decodeNamedCharacterReference(r);t=e}let u=this.stack[this.stack.length-1];u.value+=t},characterReference:function(e){let t=this.stack.pop();t.position.end=mdast_util_from_markdown_lib_point(e.end)},codeFenced:closer(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:onexitdata,codeIndented:closer(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:closer(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:onexitdata,data:onexitdata,definition:closer(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,eE.d)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:closer(),hardBreakEscape:closer(onexithardbreak),hardBreakTrailing:closer(onexithardbreak),htmlFlow:closer(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:onexitdata,htmlText:closer(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:onexitdata,image:closer(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===r.type){let t=e.children;r.children=t}else r.alt=t},labelText:function(e){let t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=t.replace(e7,decode),r.identifier=(0,eE.d)(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=r.children[r.children.length-1];t.position.end=mdast_util_from_markdown_lib_point(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(onenterdata.call(this,e),onexitdata.call(this,e))},link:closer(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,eE.d)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){this.data.inReference=void 0},setextHeading:closer(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:closer(),thematicBreak:closer()}};(function configure(e,t){let r=-1;for(;++r<t.length;){let s=t[r];Array.isArray(s)?configure(e,s):function(e,t){let r;for(r in t)if(tn.call(t,r))switch(r){case"canContainEols":{let s=t[r];s&&e[r].push(...s);break}case"transforms":{let s=t[r];s&&e[r].push(...s);break}case"enter":case"exit":{let s=t[r];s&&Object.assign(e[r],s)}}}(e,s)}})(t,(e||{}).mdastExtensions||[]);let r={};return function(e){let s={type:"root",children:[]},u={stack:[s],tokenStack:[],config:t,enter,exit,buffer,resume,data:r},d=[],p=-1;for(;++p<e.length;)if("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type){if("enter"===e[p][0])d.push(p);else{let t=d.pop();p=function(e,t,r){let s,u,d,p,h=t-1,m=-1,y=!1;for(;++h<=r;){let t=e[h];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?m++:m--,p=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!s||p||m||d||(d=h),p=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:p=void 0}
1if(!m&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===m&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(s){let p=h;for(u=void 0;p--;){let t=e[p];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;u&&(e[u][1].type="lineEndingBlank",y=!0),t[1].type="lineEnding",u=p}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}d&&(!u||d<u)&&(s._spread=!0),s.end=Object.assign({},u?e[u][1].start:t[1].end),e.splice(u||h,0,["exit",s,t[2]]),h++,r++}if("listItemPrefix"===t[1].type){let u={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};s=u,e.splice(h,0,["enter",u,t[2]]),h++,r++,d=void 0,p=!0}}}return e[t][1]._spread=y,r}(e,t,p)}}for(p=-1;++p<e.length;){let r=t[e[p][0]];tn.call(r,e[p][1].type)&&r[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},u),e[p][1])}if(u.tokenStack.length>0){let e=u.tokenStack[u.tokenStack.length-1],t=e[1]||defaultOnError;t.call(u,void 0,e[0])}for(s.position={start:mdast_util_from_markdown_lib_point(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:mdast_util_from_markdown_lib_point(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)s=t.transforms[p](s)||s;return s};function opener(e,t){return function(r){enter.call(this,e(r),r),t&&t.call(this,r)}}function buffer(){this.stack.push({type:"fragment",children:[]})}function enter(e,t,r){let s=this.stack[this.stack.length-1],u=s.children;u.push(e),this.stack.push(e),this.tokenStack.push([t,r||void 0]),e.position={start:mdast_util_from_markdown_lib_point(t.start),end:void 0}}function closer(e){return function(t){e&&e.call(this,t),exit.call(this,t)}}function exit(e,t){let r=this.stack.pop(),s=this.tokenStack.pop();if(s){if(s[0].type!==e.type){if(t)t.call(this,e,s[0]);else{let t=s[1]||defaultOnError;t.call(this,e,s[0])}}}else throw Error("Cannot close `"+e.type+"` ("+lib_stringifyPosition({start:e.start,end:e.end})+"): it’s not open");r.position.end=mdast_util_from_markdown_lib_point(e.end)}function resume(){return(0,eu.B)(this.stack.pop())}function onenterdata(e){let t=this.stack[this.stack.length-1],r=t.children,s=r[r.length-1];s&&"text"===s.type||((s={type:"text",value:""}).position={start:mdast_util_from_markdown_lib_point(e.start),end:void 0},r.push(s)),this.stack.push(s)}function onexitdata(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=mdast_util_from_markdown_lib_point(e.end)}function onexithardbreak(){this.data.atHardBreak=!0}function onexitcharacterreferencemarker(e){this.data.characterReferenceType=e.type}function codeFlow(){return{type:"code",lang:null,meta:null,value:""}}function heading(){return{type:"heading",depth:0,children:[]}}function hardBreak(){return{type:"break"}}function html(){return{type:"html",value:""}}function link(){return{type:"link",title:null,url:"",children:[]}}function list(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(d)(function(e){for(;!subtokenize(e););return e}((function(e){let t=(0,ed.W)([u,...(e||{}).extensions||[]]),r={constructs:t,content:create(eh),defined:[],document:create(em),flow:create(ex),lazy:{},string:create(ew),text:create(eC)};return r;function create(e){return function(t){return function(e,t,r){let s={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},u={},d=[],p=[],h=[],m={attempt:constructFactory(function(e,t){addResult(e,t.from)}),check:constructFactory(onsuccessfulcheck),consume:function(e){(0,ep.Ch)(e)?(s.line++,s.column=1,s.offset+=-3===e?2:1,accountForPotentialSkip()):-1!==e&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===p[s._index].length&&(s._bufferIndex=-1,s._index++)),y.previous=e},enter:function(e,t){let r=t||{};return r.type=e,r.start=now(),y.events.push(["enter",r,y]),h.push(r),r},exit:function(e){let t=h.pop();return t.end=now(),y.events.push(["exit",t,y]),t},interrupt:constructFactory(onsuccessfulcheck,{interrupt:!0})},y={code:null,containerState:{}
1,defineSkip:function(e){u[e.line]=e.column,accountForPotentialSkip()},events:[],now,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let r,s=-1,u=[];for(;++s<e.length;){let d;let p=e[s];if("string"==typeof p)d=p;else switch(p){case -5:d="\r";break;case -4:d="\n";break;case -3:d="\r\n";break;case -2:d=t?" ":" ";break;case -1:if(!t&&r)continue;d=" ";break;default:d=String.fromCharCode(p)}r=-2===p,u.push(d)}return u.join("")}(sliceStream(e),t)},sliceStream,write:function(e){return(p=(0,ec.V)(p,e),function(){let e;for(;s._index<p.length;){var t;let r=p[s._index];if("string"==typeof r)for(e=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===e&&s._bufferIndex<r.length;)t=r.charCodeAt(s._bufferIndex),v=v(t);else v=v(r)}}(),null!==p[p.length-1])?[]:(addResult(t,0),y.events=(0,eU.C)(d,y.events,y),y.events)}},v=t.tokenize.call(y,m);return t.resolveAll&&d.push(t),y;function sliceStream(e){return function(e,t){let r;let s=t.start._index,u=t.start._bufferIndex,d=t.end._index,p=t.end._bufferIndex;if(s===d)r=[e[s].slice(u,p)];else{if(r=e.slice(s,d),u>-1){let e=r[0];"string"==typeof e?r[0]=e.slice(u):r.shift()}p>0&&r.push(e[d].slice(0,p))}return r}(p,e)}function now(){let{_bufferIndex:e,_index:t,line:r,column:u,offset:d}=s;return{_bufferIndex:e,_index:t,line:r,column:u,offset:d}}function onsuccessfulcheck(e,t){t.restore()}function constructFactory(e,t){return function(r,u,d){let p,v,b,w;return Array.isArray(r)?handleListOfConstructs(r):"tokenize"in r?handleListOfConstructs([r]):function(e){let t=null!==e&&r[e],s=null!==e&&r.null,u=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(s)?s:s?[s]:[]];return handleListOfConstructs(u)(e)};function handleListOfConstructs(e){return(p=e,v=0,0===e.length)?d:handleConstruct(e[v])}function handleConstruct(e){return function(r){return(w=function(){let e=now(),t=y.previous,r=y.currentConstruct,u=y.events.length,d=Array.from(h);return{from:u,restore:function(){s=e,y.previous=t,y.currentConstruct=r,y.events.length=u,h=d,accountForPotentialSkip()}}}(),b=e,e.partial||(y.currentConstruct=e),e.name&&y.parser.constructs.disable.null.includes(e.name))?nok(r):e.tokenize.call(t?Object.assign(Object.create(y),t):y,m,ok,nok)(r)}}function ok(t){return e(b,w),u}function nok(e){return(w.restore(),++v<p.length)?handleConstruct(p[v]):d}}}function addResult(e,t){e.resolveAll&&!d.includes(e)&&d.push(e),e.resolve&&(0,ec.d)(y.events,t,y.events.length-t,e.resolve(y.events.slice(t),y)),e.resolveTo&&(y.events=e.resolveTo(y.events,y))}function accountForPotentialSkip(){s.line in u&&s.column<2&&(s.column=u[s.line],s.offset+=u[s.line]-1)}}(r,e,t)}}})(d).document().write((h=1,m="",y=!0,function(e,t,r){let s,u,d,v,b;let w=[];for(e=m+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),d=0,m="",y&&(65279===e.charCodeAt(0)&&d++,y=void 0);d<e.length;){if(e8.lastIndex=d,v=(s=e8.exec(e))&&void 0!==s.index?s.index:e.length,b=e.charCodeAt(v),!s){m=e.slice(d);break}if(10===b&&d===v&&p)w.push(-3),p=void 0;else switch(p&&(w.push(-5),p=void 0),d<v&&(w.push(e.slice(d,v)),h+=v-d),b){case 0:w.push(65533),h++;break;case 9:for(u=4*Math.ceil(h/4),w.push(-2);h++<u;)w.push(-1);break;case 10:w.push(-4),h=1;break;default:p=!0,h=1}d=v+1}return r&&(p&&w.push(-5),m&&w.push(m),w.push(null)),w})(r,s,!0))))}}let tr="object"==typeof self?self:globalThis,deserializer=(e,t)=>{let as=(t,r)=>(e.set(r,t),t),unpair=r=>{if(e.has(r))return e.get(r);let[s,u]=t[r];switch(s){case 0:case -1:return as(u,r);case 1:{let e=as([],r);for(let t of u)e.push(unpair(t));return e}case 2:{let e=as({},r);for(let[t,r]of u)e[unpair(t)]=unpair(r);return e}case 3:return as(new Date(u),r);case 4:{let{source:e,flags:t}=u;return as(new RegExp(e,t),r)}case 5:{let e=as(new Map,r);for(let[t,r]of u)e.set(unpair(t),unpair(r));return e}case 6:{let e=as(new Set,r);for(let t of u)e.add(unpair(t));return e}case 7:{let{name:e,message:t}=u;return as(new tr[e](t),r)}case 8:return as(BigInt(u),r);case"BigInt":return as(Object(BigInt(u)),r);case"ArrayBuffer":return as(new Uint8Array(u).buffer,u);case"DataView":{let{buffer:e}=new Uint8Array(u);return as(new DataView(e),u)}}return as(new tr[s](u),r)};return unpair},deserialize=e=>deserializer(new Map,e)(0),{toString:to}={},{keys:ti}=Object,typeOf=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let r=to.call(e).slice(8,-1);switch(r){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},shouldSkip=([e,t])=>
10===e&&("function"===t||"symbol"===t),serializer=(e,t,r,s)=>{let as=(e,t)=>{let u=s.push(e)-1;return r.set(t,u),u},pair=s=>{if(r.has(s))return r.get(s);let[u,d]=typeOf(s);switch(u){case 0:{let t=s;switch(d){case"bigint":u=8,t=s.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+d);t=null;break;case"undefined":return as([-1],s)}return as([u,t],s)}case 1:{if(d){let e=s;return"DataView"===d?e=new Uint8Array(s.buffer):"ArrayBuffer"===d&&(e=new Uint8Array(s)),as([d,[...e]],s)}let e=[],t=as([u,e],s);for(let t of s)e.push(pair(t));return t}case 2:{if(d)switch(d){case"BigInt":return as([d,s.toString()],s);case"Boolean":case"Number":case"String":return as([d,s.valueOf()],s)}if(t&&"toJSON"in s)return pair(s.toJSON());let r=[],p=as([u,r],s);for(let t of ti(s))(e||!shouldSkip(typeOf(s[t])))&&r.push([pair(t),pair(s[t])]);return p}case 3:return as([u,s.toISOString()],s);case 4:{let{source:e,flags:t}=s;return as([u,{source:e,flags:t}],s)}case 5:{let t=[],r=as([u,t],s);for(let[r,u]of s)(e||!(shouldSkip(typeOf(r))||shouldSkip(typeOf(u))))&&t.push([pair(r),pair(u)]);return r}case 6:{let t=[],r=as([u,t],s);for(let r of s)(e||!shouldSkip(typeOf(r)))&&t.push(pair(r));return r}}let{message:p}=s;return as([u,{name:d,message:p}],s)};return pair},serialize=(e,{json:t,lossy:r}={})=>{let s=[];return serializer(!(t||r),!!t,new Map,s)(e),s};var tl="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?deserialize(serialize(e,t)):structuredClone(e):(e,t)=>deserialize(serialize(e,t));function normalizeUri(e){let t=[],r=-1,s=0,u=0;for(;++r<e.length;){let d=e.charCodeAt(r),p="";if(37===d&&(0,ep.H$)(e.charCodeAt(r+1))&&(0,ep.H$)(e.charCodeAt(r+2)))u=2;else if(d<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(d))||(p=String.fromCharCode(d));else if(d>55295&&d<57344){let t=e.charCodeAt(r+1);d<56320&&t>56319&&t<57344?(p=String.fromCharCode(d,t),u=1):p="�"}else p=String.fromCharCode(d);p&&(t.push(e.slice(s,r),encodeURIComponent(p)),s=r+u+1,p=""),u&&(r+=u,u=0)}return t.join("")+e.slice(s)}function defaultFootnoteBackContent(e,t){let r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function defaultFootnoteBackLabel(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let convert=function(e){if(null==e)return ok;if("function"==typeof e)return castFactory(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r<e.length;)t[r]=convert(e[r]);return castFactory(function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1})}(e):castFactory(function(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0});if("string"==typeof e)return castFactory(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function castFactory(e){return function(t,r,s){var u;return!!(null!==(u=t)&&"object"==typeof u&&"type"in u&&e.call(this,t,"number"==typeof r?r:void 0,s||void 0))}}function ok(){return!0}let ta=[],ts=unist_util_position_lib_point("end"),tu=unist_util_position_lib_point("start");function unist_util_position_lib_point(e){return function(t){let r=t&&t.position&&t.position[e]||{};if("number"==typeof r.line&&r.line>0&&"number"==typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"==typeof r.offset&&r.offset>-1?r.offset:void 0}}}function revert(e,t){let r=t.referenceType,s="]";if("collapsed"===r?s+="[]":"full"===r&&(s+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+s}];let u=e.all(t),d=u[0];d&&"text"===d.type?d.value="["+d.value:u.unshift({type:"text",value:"["});let p=u[u.length-1];return p&&"text"===p.type?p.value+=s:u.push({type:"text",value:s}),u}function listItemLoose(e){let t=e.spread;return null==t?e.children.length>1:t}function trimLine(e,t,r){let s=0,u=e.length;if(t){let t=e.codePointAt(s);for(;9===t||32===t;)s++,t=e.codePointAt(s)}if(r){let t=e.codePointAt(u-1);for(;9===t||32===t;)u--,t=e.codePointAt(u-1)}return u>s?e.slice(s,u):""}let tc={blockquote:function(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){let r=t.value?t.value+"\n":"",s={};t.lang&&(s.className=["language-"+t.lang]);let u={type:"element",tagName:"code",properties:s,children:[{type:"text",value:r}]};return t.meta&&(u.data={meta:t.meta}),e.patch(t,u),u={type:"element",tagName:"pre",properties:{},children:[u=e.applyData(t,u)]},e.patch(t,u),u},delete:function(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:function(e,t){let r;
1let s="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",u=String(t.identifier).toUpperCase(),d=normalizeUri(u.toLowerCase()),p=e.footnoteOrder.indexOf(u),h=e.footnoteCounts.get(u);void 0===h?(h=0,e.footnoteOrder.push(u),r=e.footnoteOrder.length):r=p+1,h+=1,e.footnoteCounts.set(u,h);let m={type:"element",tagName:"a",properties:{href:"#"+s+"fn-"+d,id:s+"fnref-"+d+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(r)}]};e.patch(t,m);let y={type:"element",tagName:"sup",properties:{},children:[m]};return e.patch(t,y),e.applyData(t,y)},heading:function(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}},imageReference:function(e,t){let r=String(t.identifier).toUpperCase(),s=e.definitionById.get(r);if(!s)return revert(e,t);let u={src:normalizeUri(s.url||""),alt:t.alt};null!==s.title&&void 0!==s.title&&(u.title=s.title);let d={type:"element",tagName:"img",properties:u,children:[]};return e.patch(t,d),e.applyData(t,d)},image:function(e,t){let r={src:normalizeUri(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);let s={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,s),e.applyData(t,s)},inlineCode:function(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let s={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,s),e.applyData(t,s)},linkReference:function(e,t){let r=String(t.identifier).toUpperCase(),s=e.definitionById.get(r);if(!s)return revert(e,t);let u={href:normalizeUri(s.url||"")};null!==s.title&&void 0!==s.title&&(u.title=s.title);let d={type:"element",tagName:"a",properties:u,children:e.all(t)};return e.patch(t,d),e.applyData(t,d)},link:function(e,t){let r={href:normalizeUri(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);let s={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)},listItem:function(e,t,r){let s=e.all(t),u=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let r=e.children,s=-1;for(;!t&&++s<r.length;)t=listItemLoose(r[s])}return t}(r):listItemLoose(t),d={},p=[];if("boolean"==typeof t.checked){let e;let r=s[0];r&&"element"===r.type&&"p"===r.tagName?e=r:(e={type:"element",tagName:"p",properties:{},children:[]},s.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),d.className=["task-list-item"]}let h=-1;for(;++h<s.length;){let e=s[h];(u||0!==h||"element"!==e.type||"p"!==e.tagName)&&p.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||u?p.push(e):p.push(...e.children)}let m=s[s.length-1];m&&(u||"element"!==m.type||"p"!==m.tagName)&&p.push({type:"text",value:"\n"});let y={type:"element",tagName:"li",properties:d,children:p};return e.patch(t,y),e.applyData(t,y)},list:function(e,t){let r={},s=e.all(t),u=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++u<s.length;){let e=s[u];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let d={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(s,!0)};return e.patch(t,d),e.applyData(t,d)},paragraph:function(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){let r=e.all(t),s=r.shift(),u=[];if(s){let r={type:"element",tagName:"thead",properties:{},children:e.wrap([s],!0)};e.patch(t.children[0],r),u.push(r)}if(r.length>0){let s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},d=tu(t.children[1]),p=ts(t.children[t.children.length-1]);d&&p&&(s.position={start:d,end:p}),u.push(s)}let d={type:"element",tagName:"table",properties:{},children:e.wrap(u,!0)};return e.patch(t,d),e.applyData(t,d)},tableCell:function(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){let s=r?r.children:void 0,u=s?s.indexOf(t):1,d=0===u?"th":"td",p=r&&"table"===r.type?r.align:void 0,h=p?p.length:t.children.length,m=-1,y=[];for(;++m<h;){let r=t.children[m],s={},u=p?p[m]:void 0;u&&(s.align=u);let h={type:"element",tagName:d,properties:s,children:[]};r&&(h.children=e.all(r),e.patch(r,h),h=e.applyData(r,h)),y.push(h)}let v={type:"element",tagName:"tr",properties:{},children:e.wrap(y,!0)};return e.patch(t,v),e.applyData(t,v)},text:function(e,t){let r={type:"text",value:function(e){let t=String(e),r=/\r?\n|\r/g,s=r.exec(t),u=0,d=[];for(;s;)d.push(trimLine(t.slice(u,s.index),u>0,!0),s[0]),u=s.index+s[0].length,s=r.exec(t);return d.push(trimLine(t.slice(u),u>0,!1)),d.join("")}(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:ignore,yaml:ignore,definition:ignore,footnoteDefinition:ignore};function ignore(){}let td={}.hasOwnProperty,tf={};function patch(e,t){e.position&&(t.position=function(e){let t=tu(e),r=ts(e);if(t&&r)return{start:t,end:r}}(e))}function applyData(e,t){let r=t;if(e&&e.data){let t=e.data.hName,s=e.data.hChildren,u=e.data.hProperties;if("string"==typeof t){if("element"===r.type)r.tagName=t;else{let e="children"in r?r.children:[r];r={type:"element",tagName:t,properties:{},children:e}}}"element"===r.type&&u&&Object.assign(r.properties,tl(u)),"children"in r&&r.children&&null!=s&&(r.children=s)}return r}function defaultUnknownHandler(e,t){let r=t.data||{},s="value"in t&&!(td.call(r,"hProperties")||td.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function wrap(e,t){let r=[],s=-1;for(t&&r.push({type:"text",value:"\n"});++s<e.length;)s&&r.push({type:"text",value:"\n"}),r.push(e[s]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function trimMarkdownSpaceStart(e){let t=0,r=e.charCodeAt(t);for(;9===r||32===r;)t++,r=e.charCodeAt(t);return e.slice(t)}function toHast(e,t){let r=function(e,t){var r,s;let u,d,p;let h=t||tf,m=new Map,y=new Map,v=new Map,b={...tc,...h.handlers},w={all:function(e){let t=[];if("children"in e){let r=e.children,s=-1;for(;++s<r.length;){let u=w.one(r[s],e);if(u){if(s&&"break"===r[s-1].type&&(Array.isArray(u)||"text"!==u.type||(u.value=trimMarkdownSpaceStart(u.value)),!Array.isArray(u)&&"element"===u.type)){let e=u.children[0];e&&"text"===e.type&&(e.value=trimMarkdownSpaceStart(e.value))}Array.isArray(u)?t.push(...u):t.push(u)}}}return t},applyData,definitionById:m,footnoteById:y,footnoteCounts:v,footnoteOrder:[],handlers:b,one:function(e,t){let r=e.type,s=w.handlers[r];if(td.call(w.handlers,r)&&s)return s(w,e,t);if(w.options.passThrough&&w.options.passThrough.includes(r)){if("children"in e){let{children:t,...r}=e,s=tl(r);return s.children=w.all(e),s}return tl(e)}let u=w.options.unknownHandler||defaultUnknownHandler;return u(w,e,t)},options:h,patch,wrap};return"function"==typeof(r=function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?m:y,r=String(e.identifier).toUpperCase();t.has(r)||t.set(r,e)}})&&"function"!=typeof s?(d=void 0,p=r,u=s):(d=r,p=s,u=void 0),function(e,t,r,s){let u;"function"==typeof t&&"function"!=typeof r?(s=r,r=t):u=t;let d=convert(u),p=s?-1:1;(function factory(e,u,h){let m=e&&"object"==typeof e?e:{};if("string"==typeof m.type){let t="string"==typeof m.tagName?m.tagName:"string"==typeof m.name?m.name:void 0;Object.defineProperty(visit,"name",{value:"node ("+e.type+(t?"<"+t+">":"")+")"})}return visit;function visit(){var m;let y,v,b,w=ta;if((!t||d(e,u,h[h.length-1]||void 0))&&!1===(w=Array.isArray(m=r(e,h))?m:"number"==typeof m?[!0,m]:null==m?ta:[m])[0])return w;if("children"in e&&e.children&&e.children&&"skip"!==w[0])for(v=(s?e.children.length:-1)+p,b=h.concat(e);v>-1&&v<e.children.length;){let t=e.children[v];if(!1===(y=factory(t,v,b)())[0])return y;v="number"==typeof y[1]?y[1]:v+p}return w}})(e,void 0,[])()}(e,d,function(e,t){let r=t[t.length-1],s=r?r.children.indexOf(e):void 0;return p(e,s,r)},u),w}(e,t),s=r.one(e,void 0),u=function(e){let t="string"==typeof e.o
1ptions.clobberPrefix?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||defaultFootnoteBackContent,s=e.options.footnoteBackLabel||defaultFootnoteBackLabel,u=e.options.footnoteLabel||"Footnotes",d=e.options.footnoteLabelTagName||"h2",p=e.options.footnoteLabelProperties||{className:["sr-only"]},h=[],m=-1;for(;++m<e.footnoteOrder.length;){let u=e.footnoteById.get(e.footnoteOrder[m]);if(!u)continue;let d=e.all(u),p=String(u.identifier).toUpperCase(),y=normalizeUri(p.toLowerCase()),v=0,b=[],w=e.footnoteCounts.get(p);for(;void 0!==w&&++v<=w;){b.length>0&&b.push({type:"text",value:" "});let e="string"==typeof r?r:r(m,v);"string"==typeof e&&(e={type:"text",value:e}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+y+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof s?s:s(m,v),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let S=d[d.length-1];if(S&&"element"===S.type&&"p"===S.tagName){let e=S.children[S.children.length-1];e&&"text"===e.type?e.value+=" ":S.children.push({type:"text",value:" "}),S.children.push(...b)}else d.push(...b);let _={type:"element",tagName:"li",properties:{id:t+"fn-"+y},children:e.wrap(d,!0)};e.patch(u,_),h.push(_)}if(0!==h.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:d,properties:{...tl(p),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(h,!0)},{type:"text",value:"\n"}]}}(r),p=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&((0,d.ok)("children"in p),p.children.push({type:"text",value:"\n"},u)),p}function remarkRehype(e,t){return e&&"run"in e?async function(r,s){let u=toHast(r,{file:s,...t});await e.run(u,s)}:function(r,s){return toHast(r,{file:s,...e||t})}}function bail(e){if(e)throw e}var tp=r(49385);function isPlainObject(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function node_modules_unist_util_stringify_position_lib_point(e){return unist_util_stringify_position_lib_index(e&&e.line)+":"+unist_util_stringify_position_lib_index(e&&e.column)}function node_modules_unist_util_stringify_position_lib_position(e){return node_modules_unist_util_stringify_position_lib_point(e&&e.start)+"-"+node_modules_unist_util_stringify_position_lib_point(e&&e.end)}function unist_util_stringify_position_lib_index(e){return e&&"number"==typeof e?e:1}let lib_VFileMessage=class lib_VFileMessage extends Error{constructor(e,t,r){var s;super(),"string"==typeof t&&(r=t,t=void 0);let u="",d={},p=!1;if(t&&(d="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?u=e:!d.cause&&e&&(p=!0,u=e.message,d.cause=e),!d.ruleId&&!d.source&&"string"==typeof r){let e=r.indexOf(":");-1===e?d.ruleId=r:(d.source=r.slice(0,e),d.ruleId=r.slice(e+1))}if(!d.place&&d.ancestors&&d.ancestors){let e=d.ancestors[d.ancestors.length-1];e&&(d.place=e.position)}let h=d.place&&"start"in d.place?d.place.start:d.place;this.ancestors=d.ancestors||void 0,this.cause=d.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=h?h.line:void 0,this.name=((s=d.place)&&"object"==typeof s?"position"in s||"type"in s?node_modules_unist_util_stringify_position_lib_position(s.position):"start"in s||"end"in s?node_modules_unist_util_stringify_position_lib_position(s):"line"in s||"column"in s?node_modules_unist_util_stringify_position_lib_point(s):"":"")||"1:1",this.place=d.place||void 0,this.reason=this.message,this.ruleId=d.ruleId||void 0,this.source=d.source||void 0,this.stack=p&&d.cause&&"string"==typeof d.cause.stack?d.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};lib_VFileMessage.prototype.file="",lib_VFileMessage.prototype.name="",lib_VFileMessage.prototype.reason="",lib_VFileMessage.prototype.message="",lib_VFileMessage.prototype.stack="",lib_VFileMessage.prototype.column=void 0,lib_VFileMessage.prototype.line=void 0,lib_VFileMessage.prototype.ancestors=void 0,lib_VFileMessage.prototype.cause=void 0,lib_VFileMessage.prototype.fatal=void 0,lib_VFileMessage.prototype.place=void 0,lib_VFileMessage.prototype.ruleId=void 0,lib_VFileMessage.prototype.source=void 0;let th={basename:function(e,t){let r;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');assertPath(e);let s=0,u=-1,d=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;d--;)if(47===e.codePointAt(d)){if(r){s=d+1;break}}else u<0&&(r=!0,u=d+1);return u<0?"":e.slice(s,u)}if(t===e)return"";let p=-1,h=t.length-1;for(;d--;)if(47===e.codePointAt(d)){if(r){s=d+1;break}}else p<0&&(r=!0,p=d+1),h>-1&&(e.codePointAt(d)===t.codePointAt(h--)?h<0&&(u=d):(h=-1,u=p));return s===u?u=p:u<0&&(u=e.length),e.slice(s,u)},dirname:function(e){let t;if(assertPath(e),0===e.length)return".";let r=-1,s=e.length;for(;--s;)if(47===e.codePointAt(s)){if(t){r=s;break}}else t||(t=!0);return r<0?47===e.codePointAt(0)?"/":".":1===r&&47===e.codePointAt(0)?"//":e.slice(0,r)},extname:function(e){let t;assertPath(e);let r=e.length,s=-1,u=0,d=-1,p=0;for(;r--;){let h=e.codePointAt(r);if(47===h){if(t){u=r+1;break}continue}s<0&&(t=!0,s=r+1),46===h?d<0?d=r:1!==p&&(p=1):d>-1&&(p=-1)}return d<0||s<0||0===p||1===p&&d===s-1&&d===u+1?"":e.slice(d,s)},join:function(...e){let t,r=-1;for(;++r<e.length;)assertPath(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){assertPath(e);let t=47===e.codePointAt(0),r=function(e,t){let r,s,u="",d=0,p=-1,h=0,m=-1;for(;++m<=e.length;){if(m<e.length)r=e.codePointAt(m);else if(47===r)break;else r=47;if(47===r){if(p===m-1||1===h);else if(p!==m-1&&2===h){if(u.length<2||2!==d||46!==u.codePointAt(u.length-1)||46!==u.codePointAt(u.length-2)){if(u.length>2){if((s=u.lastIndexOf("/"))!==u.length-1){s<0?(u="",d=0):d=(u=u.slice(0,s)).length-1-u.lastIndexOf("/"),p=m,h=0;continue}}else if(u.length>0){u="",d=0,p=m,h=0;continue}}t&&(u=u.length>0?u+"/..":"..",d=2)}else u.length>0?u+="/"+e.slice(p+1,m):u=e.slice(p+1,m),d=m-p-1;p=m,h=0}else 46===r&&h>-1?h++:h=-1}return u}(e,!t);return 0!==r.length||t||(r="."),r.length>0&&47===e.codePointAt(e.length-1)&&(r+="/"),t?"/"+r:r}(t)},sep:"/"};function assertPath(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let tm={cwd:function(){return"/"}};function isUrl(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tg=["history","path","basename","stem","extname","dirname"];let VFile=class VFile{constructor(e){let t,r;t=e?isUrl(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="cwd"in t?"":tm.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<tg.length;){let e=tg[s];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)tg.includes(r)||(this[r]=t[r])}get basename(){return"string"==typeof this.path?th.basename(this.path):void 0}
1set basename(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=th.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?th.dirname(this.path):void 0}set dirname(e){lib_assertPath(this.basename,"dirname"),this.path=th.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?th.extname(this.path):void 0}set extname(e){if(assertPart(e,"extname"),lib_assertPath(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=th.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){isUrl(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!isUrl(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,r=-1;for(;++r<t.length;)if(37===t.codePointAt(r)&&50===t.codePointAt(r+1)){let e=t.codePointAt(r+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),assertNonEmpty(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?th.basename(this.path,this.extname):void 0}set stem(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=th.join(this.dirname||"",e+(this.extname||""))}fail(e,t,r){let s=this.message(e,t,r);throw s.fatal=!0,s}info(e,t,r){let s=this.message(e,t,r);return s.fatal=void 0,s}message(e,t,r){let s=new lib_VFileMessage(e,t,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;let t=new TextDecoder(e||void 0);return t.decode(this.value)}};function assertPart(e,t){if(e&&e.includes(th.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+th.sep+"`")}function assertNonEmpty(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function lib_assertPath(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let CallableInstance=function(e){let t=this.constructor,r=t.prototype,s=r[e],apply=function(){return s.apply(apply,arguments)};return Object.setPrototypeOf(apply,r),apply},ty={}.hasOwnProperty;let Processor=class Processor extends CallableInstance{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let r=-1,s=t.pop();if("function"!=typeof s)throw TypeError("Expected function as last argument, not "+s);(function next(u,...d){let p=e[++r],h=-1;if(u){s(u);return}for(;++h<t.length;)(null===d[h]||void 0===d[h])&&(d[h]=t[h]);t=d,p?(function(e,t){let r;return function(...t){let s;let u=e.length>t.length;u&&t.push(done);try{s=e.apply(this,t)}catch(e){if(u&&r)throw e;return done(e)}u||(s&&s.then&&"function"==typeof s.then?s.then(then,done):s instanceof Error?done(s):then(s))};function done(e,...s){r||(r=!0,t(e,...s))}function then(e){done(null,e)}})(p,next)(...d):s(null,...d)})(null,...t)},use:function(r){if("function"!=typeof r)throw TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}()}copy(){let e=new Processor,t=-1;for(;++t<this.attachers.length;){let r=this.attachers[t];e.use(...r)}return e.data(tp(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(assertUnfrozen("data",this.frozen),this.namespace[e]=t,this):ty.call(this.namespace,e)&&this.namespace[e]||void 0:e?(assertUnfrozen("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let r=e.call(this,...t);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let t=vfile(e),r=this.parser||this.Parser;return assertParser("parse",r),r(String(t),t)}process(e,t){let r=this;return this.freeze(),assertParser("process",this.parser||this.Parser),assertCompiler("process",this.compiler||this.Compiler),t?executor(void 0,t):new Promise(executor);function executor(s,u){let p=vfile(e),h=r.parse(p);function realDone(e,r){e||!r?u(e):s?s(r):((0,d.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,r))}r.run(h,p,function(e,t,s){if(e||!t||!s)return realDone(e);let u=r.stringify(t,s);"string"==typeof u||u&&"object"==typeof u&&"byteLength"in u&&"byteOffset"in u?s.value=u:s.result=u,realDone(e,s)})}}processSync(e){let t,r=!1;return this.freeze(),assertParser("processSync",this.parser||this.Parser),assertCompiler("processSync",this.compiler||this.Compiler),this.process(e,function(e,s){r=!0,bail(e),t=s}),assertDone("processSync","process",r),(0,d.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,r){assertNode(e),this.freeze();let s=this.transformers;return r||"function"!=typeof t||(r=t,t=void 0),r?executor(void 0,r):new Promise(executor);function executor(u,p){(0,d.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let h=vfile(t);s.run(e,h,function(t,s,h){let m=s||e;t?p(t):u?u(m):((0,d.ok)(r,"`done` is defined if `resolve` is not"),r(void 0,m,h))})}}runSync(e,t){let r,s=!1;return this.run(e,t,function(e,t){bail(e),r=t,s=!0}),assertDone("runSync","run",s),(0,d.ok)(r,"we either bailed on an error or have a tree"),r}stringify(e,t){this.freeze();let r=vfile(t),s=this.compiler||this.Compiler;return assertCompiler("stringify",s),assertNode(e),s(e,r)}use(e,...t){let r=this.attachers,s=this.namespace;if(assertUnfrozen("use",this.frozen),null==e);else if("function"==typeof e)addPlugin(e,t);else if("object"==typeof e)Array.isArray(e)?addList(e):addPreset(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function addPreset(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");addList(e.plugins),e.settings&&(s.settings=tp(!0,s.settings,e.settings))}function addList(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){let r=e[t];!function(e){if("function"==typeof e)addPlugin(e,[]);else if("object"==typeof e){if(Array.isArray(e)){let[t,...r]=e;addPlugin(t,r)}else addPreset(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(r)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function addPlugin(e,t){let s=-1,u=-1;for(;++s<r.length;)if(r[s][0]===e){u=s;break}if(-1===u)r.push([e,...t]);else if(t.length>0){let[s,...d]=t,p=r[u][1];isPlainObject(p)&&isPlainObject(s)&&(s=tp(!0,p,s)),r[u]=[e,s,...d]}}}};let tv=new Processor().freeze();function assertParser(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function assertCompiler(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function assertUnfrozen(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function assertNode(e){if(!isPlainObject(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function assertDone(e,t,r){if(!r)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function vfile(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new VFile(e)}let lib_convert=function(e){if(null==e)return lib_ok;if("function"==typeof e)return lib_castFactory(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r<e.length;)t[r]=lib_convert(e[r]);return lib_castFactory(function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1})}(e):lib_castFactory(function(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0});if("string"==typeof e)return lib_castFactory(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function lib_castFactory(e){return function(t,r,s){var u;return!!(null!==(u=t)&&"object"==typeof u&&"type"in u&&e.call(this,t,"number"==typeof r?r:void 0,s||void 0))}}function lib_ok(){return!0}let tb=[],tx=[],tk={allowDangerousHtml:!0},tw=/^(https?|ircs?|mailto|xmpp)$/i,tC=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Markdown(e){let t=function(e){let t=e.rehypePlugins||tx,r=e.remarkPlugins||tx,s=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...tk}:tk,u=tv().use(remarkParse).use(r).use(remarkRehype,s).use(t);return u}(e),r=function(e){let t=e.children||"",r=new VFile;return"string"==typeof t?r.value=t:(0,d.t1)("Unexpected value `"+t+"` for `children` prop, expected `string`"),r}(e);return function(e,t){var r,s;let u,p,h;let m=t.allowedElements,y=t.allowElement,v=t.components,b=t.disallowedElements,w=t.skipHtml,S=t.unwrapDisallowed,_=t.urlTransform||defaultUrlTransform;
1for(let e of tC)Object.hasOwn(t,e.from)&&(0,d.t1)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return m&&b&&(0,d.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),"function"==typeof(r=function(e,t,r){if("raw"===e.type&&r&&"number"==typeof t)return w?r.children.splice(t,1):r.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ea)if(Object.hasOwn(ea,t)&&Object.hasOwn(e.properties,t)){let r=e.properties[t],s=ea[t];(null===s||s.includes(e.tagName))&&(e.properties[t]=_(String(r||""),t,e))}}if("element"===e.type){let s=m?!m.includes(e.tagName):!!b&&b.includes(e.tagName);if(!s&&y&&"number"==typeof t&&(s=!y(e,t,r)),s&&r&&"number"==typeof t)return S&&e.children?r.children.splice(t,1,...e.children):r.children.splice(t,1),t}})&&"function"!=typeof s?(p=void 0,h=r,u=s):(p=r,h=s,u=void 0),function(e,t,r,s){let u;"function"==typeof t&&"function"!=typeof r?(s=r,r=t):u=t;let d=lib_convert(u),p=s?-1:1;(function factory(e,u,h){let m=e&&"object"==typeof e?e:{};if("string"==typeof m.type){let t="string"==typeof m.tagName?m.tagName:"string"==typeof m.name?m.name:void 0;Object.defineProperty(visit,"name",{value:"node ("+e.type+(t?"<"+t+">":"")+")"})}return visit;function visit(){var m;let y,v,b,w=tb;if((!t||d(e,u,h[h.length-1]||void 0))&&!1===(w=Array.isArray(m=r(e,h))?m:"number"==typeof m?[!0,m]:null==m?tb:[m])[0])return w;if("children"in e&&e.children&&e.children&&"skip"!==w[0])for(v=(s?e.children.length:-1)+p,b=h.concat(e);v>-1&&v<e.children.length;){let t=e.children[v];if(!1===(y=factory(t,v,b)())[0])return y;v="number"==typeof y[1]?y[1]:v+p}return w}})(e,void 0,[])()}(e,p,function(e,t){let r=t[t.length-1],s=r?r.children.indexOf(e):void 0;return h(e,s,r)},u),function(e,t){var r,s,u;let d;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let p=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=t.jsxDEV,d=function(e,t,s,u){let d=Array.isArray(s.children),h=Y(e);return r(t,s,u,d,{columnNumber:h?h.column-1:void 0,fileName:p,lineNumber:h?h.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");s=t.jsx,u=t.jsxs,d=function(e,t,r,d){let p=Array.isArray(r.children),h=p?u:s;return d?h(t,r,d):h(t,r)}}let h={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:d,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:p,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?B:N,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},m=one(h,e,void 0);return m&&"string"!=typeof m?m:h.create(e,h.Fragment,{children:m||void 0},void 0)}(e,{Fragment:es.Fragment,components:v,ignoreInvalidStyle:!0,jsx:es.jsx,jsxs:es.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(r),r),e)}function defaultUrlTransform(e){let t=e.indexOf(":"),r=e.indexOf("?"),s=e.indexOf("#"),u=e.indexOf("/");return -1===t||-1!==u&&t>u||-1!==r&&t>r||-1!==s&&t>s||tw.test(e.slice(0,t))?e:""}},9771:function(e,t,r){"use strict";r.d(t,{OO:function(){return eL}});var s,u=r(52322),d=r(2784),p=r(28316),h=r(23716);function mo(e){e()}function se(e,t){return r=>e(t(r))}function Ae(e){return void 0!==e}function Qt(){}function go(e,t){return t(e)}function tt(...e){return e}function We(e){e(2)}function rt(e){return e(4)}function F(e,t){return e(1,e=>t(0,e))}function Et(e,t){let r=e(1,e=>{r(),t(e)});return r}function dn(e){let t,r;return s=>u=>{t=u,r&&clearTimeout(r),r=setTimeout(()=>{s(t)},e)}}function On(e,t){return e===t}function J(e=On){let t;return r=>s=>{e(t,s)||(t=s,r(s))}}function P(e){return t=>r=>{e(r)&&t(r)}}function k(e){return t=>se(t,e)}function Ft(e){return t=>()=>{t(e)}}function x(e,...t){let r=function(...e){return t=>e.reduceRight(go,t)}(...t);return(t,s)=>{switch(t){case 2:We(e);return;case 1:return e(1,r(s))}}}function Lt(e,t){return r=>s=>{r(t=e(t,s))}}function Kt(e){return t=>r=>{e>0?e--:t(r)}}function Gt(e){let t=null,r;return s=>u=>{t=u,r||(r=setTimeout(()=>{r=void 0,s(t)},e))}}function $(...e){let t=Array(e.length),r=0,s=null,u=Math.pow(2,e.length)-1;return e.forEach((e,d)=>{let p=Math.pow(2,d);e(1,e=>{let h=r;r|=p,t[d]=e,h!==u&&r===u&&s&&(s(),s=null)})}),e=>d=>{let l=()=>{e([d].concat(t))};r===u?l():s=l}}function C(e){let t=e,r=U();return(e,s)=>{switch(e){case 0:t=s;break;case 1:s(t);break;case 4:return t}return r(e,s)}}function ht(e,t){var r;return F(e,r=C(t)),r}function U(){let e=[];return(t,r)=>{switch(t){case 0:e.slice().forEach(e=>{e(r)});return;case 2:e.splice(0,e.length);return;case 1:return e.push(r),()=>{let t=e.indexOf(r);t>-1&&e.splice(t,1)}}}}function bt(e){var t;return F(e,t=U()),t}function K(e,t=[],{singleton:r}={singleton:!0}){return{constructor:e,dependencies:t,id:So(),singleton:r}}let So=()=>Symbol();function ut(...e){let t=U(),r=Array(e.length),s=0,u=Math.pow(2,e.length)-1;return e.forEach((e,d)=>{let p=Math.pow(2,d);e(1,e=>{r[d]=e,(s|=p)===u&&t(0,r)})}),function(e,d){switch(e){case 2:We(t);return;case 1:return s===u&&d(r),t(1,d)}}}function V(e,t=On){return x(e,J(t))}function Fe(...e){return function(t,r){switch(t){case 2:return;case 1:return function(...e){return()=>{e.map(mo)}}(...e.map(e=>e(1,r)))}}}var m=((s=m||{})[s.DEBUG=0]="DEBUG",s[s.INFO=1]="INFO",s[s.WARN=2]="WARN",s[s.ERROR=3]="ERROR",s);let y={0:"debug",3:"error",1:"log",2:"warn"},wo=()=>typeof globalThis>"u"?window:globalThis,v=K(()=>{let e=C(3);return{log:C((t,r,s=1)=>{var u;let d=null!=(u=wo().VIRTUOSO_LOG_LEVEL)?u:rt(e);s>=d&&h[y[s]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,r)}),logLevel:e}},[],{singleton:!0});function Vt(e,t,r){return _e(e,t,r).callbackRef}function _e(e,t,r){let s=d.useRef(null),u=d.useMemo(()=>"u">typeof ResizeObserver?new ResizeObserver(t=>{let l=()=>{let r=t[0].target;null!==r.offsetParent&&e(r)};r?l():requestAnimationFrame(l)}):null,[e,r]);return{callbackRef:e=>{e&&t?(null==u||u.observe(e),s.current=e):(s.current&&(null==u||u.unobserve(s.current)),s.current=null)},ref:s}}function Fn(e,t,r,s,u,p,h,y,v){let b=d.useCallback(r=>{let d;let v=function(e,t,r,s){let u=e.length;if(0===u)return null;let d=[];for(let p=0;p<u;p++){let u=e.item(p);if(void 0===u.dataset.index)continue;let h=parseInt(u.dataset.index),y=parseFloat(u.dataset.knownSize),v=t(u,r);if(0===v&&s("Zero-sized element, this should not happen",{child:u},m.ERROR),v===y)continue;let b=d[d.length-1];0===d.length||b.size!==v||b.endIndex!==h-1?d.push({endIndex:h,size:v,startIndex:h}):d[d.length-1].endIndex++}return d}(r.children,t,y?"offsetWidth":"offsetHeight",u),b=r.parentElement;for(;!b.dataset.virtuosoScroller;)b=b.parentElement;let w="window"===b.lastElementChild.dataset.viewportType;w&&(d=b.ownerDocument.defaultView);let S=h?y?h.scrollLeft:h.scrollTop:w?y?d.scrollX||d.document.documentElement.scrollLeft:d.scrollY||d.document.documentElement.scrollTop:y?b.scrollLeft:b.scrollTop,_=h?
1y?h.scrollWidth:h.scrollHeight:w?y?d.document.documentElement.scrollWidth:d.document.documentElement.scrollHeight:y?b.scrollWidth:b.scrollHeight,O=h?y?h.offsetWidth:h.offsetHeight:w?y?d.innerWidth:d.innerHeight:y?b.offsetWidth:b.offsetHeight;s({scrollHeight:_,scrollTop:Math.max(S,0),viewportHeight:O}),null==p||p(y?fn("column-gap",getComputedStyle(r).columnGap,u):fn("row-gap",getComputedStyle(r).rowGap,u)),null!==v&&e(v)},[e,t,u,p,h,s,y]);return _e(b,r,v)}function fn(e,t,r){return"normal"===t||null!=t&&t.endsWith("px")||r(`${e} was not resolved to pixel value correctly`,t,m.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}function Ne(e,t,r){let s=d.useRef(null),u=d.useCallback(r=>{let u,d;if(!(null!=r&&r.offsetParent))return;let p=r.getBoundingClientRect(),m=p.width;if(t){let e=t.getBoundingClientRect(),r=p.top-e.top;d=e.height-Math.max(0,r),u=r+t.scrollTop}else{let e=h.current.ownerDocument.defaultView;d=e.innerHeight-Math.max(0,p.top),u=p.top+e.scrollY}s.current={offsetTop:u,visibleHeight:d,visibleWidth:m},e(s.current)},[e,t]),{callbackRef:p,ref:h}=_e(u,!0,r),m=d.useCallback(()=>{u(h.current)},[u,h]);return d.useEffect(()=>{var e;if(t){t.addEventListener("scroll",m);let e=new ResizeObserver(()=>{requestAnimationFrame(m)});return e.observe(t),()=>{t.removeEventListener("scroll",m),e.unobserve(t)}}{let t=null==(e=h.current)?void 0:e.ownerDocument.defaultView;return null==t||t.addEventListener("scroll",m),null==t||t.addEventListener("resize",m),()=>{null==t||t.removeEventListener("scroll",m),null==t||t.removeEventListener("resize",m)}}},[m,t,h]),p}let b=K(()=>{let e=U(),t=U(),r=C(0),s=U(),u=C(0),d=U(),p=U(),h=C(0),m=C(0),y=C(0),v=C(0),b=U(),w=U(),S=C(!1),_=C(!1),O=C(!1);return F(x(e,k(({scrollTop:e})=>e)),t),F(x(e,k(({scrollHeight:e})=>e)),p),F(t,u),{deviation:r,fixedFooterHeight:y,fixedHeaderHeight:m,footerHeight:v,headerHeight:h,horizontalDirection:_,scrollBy:w,scrollContainerState:e,scrollHeight:p,scrollingInProgress:S,scrollTo:b,scrollTop:t,skipAnimationFrameInResizeObserver:O,smoothScrollTargetReached:s,statefulScrollTop:u,viewportHeight:d}},[],{singleton:!0}),w={lvl:0};function Ln(e,t){let r=e.length;if(0===r)return[];let{index:s,value:u}=t(e[0]),d=[];for(let p=1;p<r;p++){let{index:r,value:h}=t(e[p]);d.push({end:r-1,start:s,value:u}),s=r,u=h}return d.push({end:1/0,start:s,value:u}),d}function X(e){return e===w}function le(e,t){if(!X(e))return t===e.k?e.v:t<e.k?le(e.l,t):le(e.r,t)}function kt(e,t,r="k"){if(X(e))return[-1/0,void 0];if(Number(e[r])===t)return[e.k,e.v];if(Number(e[r])<t){let s=kt(e.r,t,r);return s[0]===-1/0?[e.k,e.v]:s}return kt(e.l,t,r)}function yt(e,t,r){var s,u;return X(e)?Gn(t,r,1):t===e.k?dt(e,{k:t,v:r}):t<e.k?Pe(Mn(dt(e,{l:yt(e.l,t,r)}))):Pe(Mn(dt(e,{r:yt(e.r,t,r)})))}function Xt(e,t,r){if(X(e))return[];let s=kt(e,t)[0];return Ln(function Ve(e,t,r){if(X(e))return[];let{k:s,l:u,r:d,v:p}=e,h=[];return s>t&&(h=h.concat(Ve(u,t,r))),s>=t&&s<=r&&h.push({k:s,v:p}),s<=r&&(h=h.concat(Ve(d,t,r))),h}(e,s,r),({k:e,v:t})=>({index:e,value:t}))}function Dt(e){return X(e)?[]:[...Dt(e.l),{k:e.k,v:e.v},...Dt(e.r)]}function Se(e){let{l:t,lvl:r,r:s}=e;if(s.lvl>=r-1&&t.lvl>=r-1)return e;if(r>s.lvl+1){if(Ee(t))return Mn(dt(e,{lvl:r-1}));if(!X(t)&&!X(t.r))return dt(t.r,{l:dt(t,{r:t.r.l}),lvl:r,r:dt(e,{l:t.r.r,lvl:r-1})});throw Error("Unexpected empty nodes")}if(Ee(e))return Pe(dt(e,{lvl:r-1}));if(X(s)||X(s.l))throw Error("Unexpected empty nodes");{let t=s.l,u=Ee(t)?s.lvl-1:s.lvl;return dt(t,{l:dt(e,{lvl:r-1,r:t.l}),lvl:t.lvl+1,r:Pe(dt(s,{l:t.r,lvl:u}))})}}function dt(e,t){return Gn(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function Ee(e){return X(e)||e.lvl>e.r.lvl}function Gn(e,t,r,s=w,u=w){return{k:e,l:s,lvl:r,r:u,v:t}}function Mn(e){let{l:t}=e;return X(t)||t.lvl!==e.lvl?e:dt(t,{r:dt(e,{l:t.r})})}function Pe(e){let{lvl:t,r:r}=e;return X(r)||X(r.r)||r.lvl!==t||r.r.lvl!==t?e:dt(r,{l:dt(e,{r:r.l}),lvl:t+1})}function An(e,t){return!!(e&&e.startIndex===t.startIndex&&e.endIndex===t.endIndex)}function ce(e,t){return!!(e&&e[0]===t[0]&&e[1]===t[1])}let S=K(()=>({recalcInProgress:C(!1)}),[],{singleton:!0});function Ce(e,t,r,s=0){let u=e.length-1;for(;s<=u;){let d=Math.floor((s+u)/2),p=e[d],h=r(p,t);
1if(0===h)return d;if(-1===h){if(u-s<2)return d-1;u=d-1}else{if(u===s)return d;s=d+1}}throw Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${t}`)}function zt(e,t){return Math.round(e.getBoundingClientRect()[t])}function be(e){return!X(e.groupOffsetTree)}function $e({index:e},t){return t===e?0:t<e?-1:1}function Bo({offset:e},t){return t===e?0:t<e?-1:1}function ue(e,t,r){if(0===t.length)return 0;let{index:s,offset:u,size:d}=t[Ce(t,e,$e)],p=e-s,h=d*p+(p-1)*r+u;return h>0?h+r:h}function _n(e,t){if(!be(t))return e;let r=0;for(;t.groupIndices[r]<=e+r;)r++;return e+r}function Nn(e,t,r){if("u">typeof e.groupIndex)return t.groupIndices[e.groupIndex]+1;{let s="LAST"===e.index?r:e.index,u=_n(s,t);return Math.max(0,u,Math.min(r,u))}}function zo(e,[t,r,s,u]){t.length>0&&s("received item sizes",t,m.DEBUG);let d=e.sizeTree,p=d,h=0;if(r.length>0&&X(d)&&2===t.length){let e=t[0].size,s=t[1].size;p=r.reduce((t,r)=>yt(yt(t,r,e),r+1,s),p)}else[p,h]=function(e,t){let r=X(e)?0:1/0;for(let s of t){let{endIndex:t,size:u,startIndex:d}=s;if(r=Math.min(r,d),X(e)){e=yt(e,0,u);continue}let p=Xt(e,d-1,t+1);if(p.some(function(e){let{endIndex:t,size:r,startIndex:s}=e;return e=>e.start===s&&(e.end===t||e.end===1/0)&&e.value===r}(s)))continue;let h=!1,m=!1;for(let{end:r,start:s,value:d}of p)h?(t>=s||u===d)&&(e=function Le(e,t){if(X(e))return w;let{k:r,l:s,r:u}=e;if(t!==r)return t<r?Se(dt(e,{l:Le(s,t)})):Se(dt(e,{r:Le(u,t)}));if(X(s))return u;if(X(u))return s;{let[t,r]=function Pn(e){return X(e.r)?[e.k,e.v]:Pn(e.r)}(s);return Se(dt(e,{k:t,l:function Vn(e){return X(e.r)?e.l:Se(dt(e,{r:Vn(e.r)}))}(s),v:r}))}}(e,s)):(m=d!==u,h=!0),r>t&&t>=s&&d!==u&&(e=yt(e,t+1,d));m&&(e=yt(e,d,u))}return[e,r]}(p,t);if(p===d)return e;let{lastIndex:y,lastOffset:v,lastSize:b,offsetTree:S}=Ge(e.offsetTree,h,p,u);return{groupIndices:r,groupOffsetTree:r.reduce((e,t)=>yt(e,t,ue(t,S,u)),w),lastIndex:y,lastOffset:v,lastSize:b,offsetTree:S,sizeTree:p}}function pn(e,t){let r=0,s=0;for(;r<e;)r+=t[s+1]-t[s]-1,s++;return s-(r===e?0:1)}function Ge(e,t,r,s){let u=e,d=0,p=0,h=0,m=0;if(0!==t){m=Ce(u,t-1,$e),h=u[m].offset;let e=kt(r,t-1);d=e[0],p=e[1],u.length&&u[m].size===kt(r,t)[1]&&(m-=1),u=u.slice(0,m+1)}else u=[];for(let{start:e,value:m}of Xt(r,t,1/0)){let t=e-d,r=t*p+h+t*s;u.push({index:e,offset:r,size:m}),d=e,h=r,p=m}return{lastIndex:d,lastOffset:h,lastSize:p,offsetTree:u}}function Fo(e){return{index:e.index,value:e}}let _={offsetHeight:"height",offsetWidth:"width"},O=K(([{log:e},{recalcInProgress:t}])=>{let r=U(),s=U(),u=ht(s,0),d=U(),p=U(),h=C(0),y=C([]),v=C(void 0),b=C(void 0),S=C(void 0),O=C(void 0),E=C((e,t)=>zt(e,_[t])),T=C(void 0),A=C(0),z={groupIndices:[],groupOffsetTree:w,lastIndex:0,lastOffset:0,lastSize:0,offsetTree:[],sizeTree:w},D=ht(x(r,$(y,e,A),Lt(zo,z),J()),z),j=ht(x(y,J(),Lt((e,t)=>({current:t,prev:e.current}),{current:[],prev:[]}),k(({prev:e})=>e)),[]);F(x(y,P(e=>e.length>0),$(D,A),k(([e,t,r])=>{let s=e.reduce((e,s,u)=>yt(e,s,ue(s,t.offsetTree,r)||u),w);return{...t,groupIndices:e,groupOffsetTree:s}})),D),F(x(s,$(D),P(([e,{lastIndex:t}])=>e<t),k(([e,{lastIndex:t,lastSize:r}])=>[{endIndex:t,size:r,startIndex:e}])),r),F(v,b);let R=ht(x(v,k(e=>void 0===e)),!0);F(x(b,P(e=>void 0!==e&&X(rt(D).sizeTree)),k(e=>{let t=rt(S),r=rt(y).length>0;return t?r?[{endIndex:0,size:t,startIndex:0},{endIndex:1,size:e,startIndex:1}]:[]:[{endIndex:0,size:e,startIndex:0}]})),r),F(x(O,P(e=>void 0!==e&&e.length>0&&X(rt(D).sizeTree)),k(e=>{let t=[],r=e[0],s=0;for(let u=1;u<e.length;u++){let d=e[u];d!==r&&(t.push({endIndex:u-1,size:r,startIndex:s}),r=d,s=u)}return t.push({endIndex:e.length-1,size:r,startIndex:s}),t})),r),F(x(y,$(S,b),P(([,e,t])=>void 0!==e&&void 0!==t),k(([e,t,r])=>{let s=[];for(let u=0;u<e.length;u++){let d=e[u],p=e[u+1];s.push({startIndex:d,endIndex:d,size:t}),void 0!==p&&s.push({startIndex:d+1,endIndex:p-1,size:r})}return s})),r);let L=bt(x(r,$(D),Lt(({sizes:e},[t,r])=>({changed:r!==e,sizes:r}),{changed:!1,sizes:z}),k(e=>e.changed)));x(h,Lt((e,t)=>({diff:e.prev-t,prev:t}),{diff:0,prev:0}),k(e=>e.diff))(1,e=>{let{groupIndices:r}=rt(D);if(e>0)t(0,!0),d(0,e+pn(e,r));else if(e<0){let t=rt(j);t.length>0&&(e-=pn(-e,t)),p(0,e)}}),x(h,$(e))(1,([e,t])=>{e<0&&t("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:h},m.ERROR)});
1let M=bt(d);F(x(d,$(D),k(([e,t])=>{let r=t.groupIndices.length>0,s=[],u=t.lastSize;if(r){let r=le(t.sizeTree,0),d=0,p=0;for(;d<e;){let e=t.groupIndices[p],h=t.groupIndices.length===p+1?1/0:t.groupIndices[p+1]-e-1;s.push({endIndex:e,size:r,startIndex:e}),s.push({endIndex:e+1+h-1,size:u,startIndex:e+1}),p++,d+=h+1}let h=Dt(t.sizeTree);return d!==e&&h.shift(),h.reduce((t,{k:r,v:s})=>{let u=t.ranges;return 0!==t.prevSize&&(u=[...t.ranges,{endIndex:r+e-1,size:t.prevSize,startIndex:t.prevIndex}]),{prevIndex:r+e,prevSize:s,ranges:u}},{prevIndex:e,prevSize:0,ranges:s}).ranges}return Dt(t.sizeTree).reduce((t,{k:r,v:s})=>({prevIndex:r+e,prevSize:s,ranges:[...t.ranges,{endIndex:r+e-1,size:t.prevSize,startIndex:t.prevIndex}]}),{prevIndex:0,prevSize:u,ranges:[]}).ranges})),r);let N=bt(x(p,$(D,A),k(([e,{offsetTree:t},r])=>ue(-e,t,r))));return F(x(p,$(D,A),k(([e,t,r])=>{if(t.groupIndices.length>0){if(X(t.sizeTree))return t;let s=w,u=rt(j),d=0,p=0,h=0;for(;d<-e;){h=u[p];let e=u[p+1]-h-1;p++,d+=e+1}if(s=Dt(t.sizeTree).reduce((t,{k:r,v:s})=>yt(t,Math.max(0,r+e),s),s),d!==-e){let r=le(t.sizeTree,h);s=yt(s,0,r);let u=kt(t.sizeTree,-e+1)[1];s=yt(s,1,u)}return{...t,sizeTree:s,...Ge(t.offsetTree,0,s,r)}}{let s=Dt(t.sizeTree).reduce((t,{k:r,v:s})=>yt(t,Math.max(0,r+e),s),w);return{...t,sizeTree:s,...Ge(t.offsetTree,0,s,r)}}})),D),{beforeUnshiftWith:M,data:T,defaultItemSize:b,firstItemIndex:h,fixedItemSize:v,fixedGroupSize:S,gap:A,groupIndices:y,heightEstimates:O,itemSize:E,listRefresh:L,shiftWith:p,shiftWithOffset:N,sizeRanges:r,sizes:D,statefulTotalCount:u,totalCount:s,trackItemSizes:R,unshiftWith:d}},tt(v,S),{singleton:!0});function Po(e){return e.reduce((e,t)=>(e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e),{groupIndices:[],totalCount:0})}let E=K(([{groupIndices:e,sizes:t,totalCount:r},{headerHeight:s,scrollTop:u}])=>{let d=U(),p=U(),h=bt(x(d,k(Po)));return F(x(h,k(e=>e.totalCount)),r),F(x(h,k(e=>e.groupIndices)),e),F(x(ut(u,t,s),P(([e,t])=>be(t)),k(([e,t,r])=>kt(t.groupOffsetTree,Math.max(e-r,0),"v")[0]),J(),k(e=>[e])),p),{groupCounts:d,topItemsIndexes:p}},tt(O,b)),T=K(([{log:e}])=>{let t=C(!1),r=bt(x(t,P(e=>e),J()));return t(1,t=>{t&&rt(e)("props updated",{},m.DEBUG)}),{didMount:r,propsReady:t}},tt(v),{singleton:!0}),A="u">typeof document&&"scrollBehavior"in document.documentElement.style;function $n(e){let t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&A||(t.behavior="auto"),t.offset||(t.offset=0),t}let z=K(([{gap:e,listRefresh:t,sizes:r,totalCount:s},{fixedFooterHeight:u,fixedHeaderHeight:d,footerHeight:p,headerHeight:h,scrollingInProgress:y,scrollTo:v,smoothScrollTargetReached:b,viewportHeight:w},{log:S}])=>{let _=U(),O=U(),E=C(0),T=null,A=null,z=null;function I(){T&&(T(),T=null),z&&(z(),z=null),A&&(clearTimeout(A),A=null),y(0,!1)}return F(x(_,$(r,w,s,E,h,p,S),$(e,d,u),k(([[e,r,s,u,d,p,h,v],w,S,E])=>{let D=$n(e),{align:j,behavior:R,offset:L}=D,M=u-1,N=Nn(D,r,M),B=ue(N,r.offsetTree,w)+p;"end"===j?(B+=S+kt(r.sizeTree,N)[1]-s+E,N===M&&(B+=h)):"center"===j?B+=(S+kt(r.sizeTree,N)[1]-s+E)/2:B-=d,L&&(B+=L);let Mt=t=>{I(),t?(v("retrying to scroll to",{location:e},m.DEBUG),_(0,e)):(O(0,!0),v("list did not change, scroll successful",{},m.DEBUG))};if(I(),"smooth"===R){let e=!1;z=t(1,t=>{e=e||t}),T=Et(b,()=>{Mt(e)})}else T=Et(x(t,e=>{let t=setTimeout(()=>{e(!1)},150);return r=>{r&&(e(!0),clearTimeout(t))}}),Mt);return A=setTimeout(()=>{I()},1200),y(0,!0),v("scrolling from index to",{behavior:R,index:N,top:B},m.DEBUG),{behavior:R,top:B}})),v),{scrollTargetReached:O,scrollToIndex:_,topListHeight:E}},tt(O,b,v),{singleton:!0});function Ue(e,t){0==e?t():requestAnimationFrame(()=>{Ue(e-1,t)})}function Ke(e,t){return"number"==typeof e?e:"LAST"===e.index?t-1:e.index}let D=K(([{defaultItemSize:e,listRefresh:t,sizes:r},{scrollTop:s},{scrollTargetReached:u,scrollToIndex:d},{didMount:p}])=>{let h=C(!0),m=C(0),y=C(!0);return F(x(p,$(m),P(([e,t])=>!!t),Ft(!1)),h),F(x(p,$(m),P(([e,t])=>!!t),Ft(!1)),y),x(ut(t,p),$(h,r,e,y),P(([[,e],t,{sizeTree:r},s,u])=>e&&(!X(r)||Ae(s))&&!t&&!u),$(m))(1,([,e])=>{Et(u,()=>{y(0,!0)}),Ue(4,()=>{Et(s,()=>{h(0,!0)}),d(0,e)})}
1),{initialItemFinalLocationReached:y,initialTopMostItemIndex:m,scrolledToInitialItem:h}},tt(O,b,z,T),{singleton:!0});function Un(e,t){return 1.01>Math.abs(e-t)}let j="down",R={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollHeight:0,scrollTop:0,viewportHeight:0}},L=K(([{footerHeight:e,headerHeight:t,scrollBy:r,scrollContainerState:s,scrollTop:u,viewportHeight:d}])=>{let p=C(!1),h=C(!0),m=U(),y=U(),v=C(4),b=C(0),w=ht(x(Fe(x(V(u),Kt(1),Ft(!0)),x(V(u),Kt(1),Ft(!1),dn(100))),J()),!1),S=ht(x(Fe(x(r,Ft(!0)),x(r,Ft(!1),dn(200))),J()),!1);F(x(ut(V(u),V(b)),k(([e,t])=>e<=t),J()),h),F(x(h,Gt(50)),y);let _=bt(x(ut(s,V(d),V(t),V(e),V(v)),Lt((e,[{scrollHeight:t,scrollTop:r},s,u,d,p])=>{let h={scrollHeight:t,scrollTop:r,viewportHeight:s};if(r+s-t>-p){let t,s;return r>e.state.scrollTop?(t="SCROLLED_DOWN",s=e.state.scrollTop-r):(t="SIZE_DECREASED",s=e.state.scrollTop-r||e.scrollTopDelta),{atBottom:!0,atBottomBecause:t,scrollTopDelta:s,state:h}}return{atBottom:!1,notAtBottomBecause:h.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":s<e.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":r<e.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",state:h}},R),J((e,t)=>e&&e.atBottom===t.atBottom))),O=ht(x(s,Lt((e,{scrollHeight:t,scrollTop:r,viewportHeight:s})=>{if(Un(e.scrollHeight,t))return{changed:!1,jump:0,scrollHeight:t,scrollTop:r};{let u=t-(r+s)<1;return e.scrollTop!==r&&u?{changed:!0,jump:e.scrollTop-r,scrollHeight:t,scrollTop:r}:{changed:!0,jump:0,scrollHeight:t,scrollTop:r}}},{changed:!1,jump:0,scrollHeight:0,scrollTop:0}),P(e=>e.changed),k(e=>e.jump)),0);F(x(_,k(e=>e.atBottom)),p),F(x(p,Gt(50)),m);let E=C(j);F(x(s,k(({scrollTop:e})=>e),J(),Lt((e,t)=>rt(S)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?"up":j,prevScrollTop:t},{direction:j,prevScrollTop:0}),k(e=>e.direction)),E),F(x(s,Gt(50),Ft("none")),E);let T=C(0);return F(x(w,P(e=>!e),Ft(0)),T),F(x(u,Gt(100),$(w),P(([e,t])=>!!t),Lt(([e,t],[r])=>[t,r],[0,0]),k(([e,t])=>t-e)),T),{atBottomState:_,atBottomStateChange:m,atBottomThreshold:v,atTopStateChange:y,atTopThreshold:b,isAtBottom:p,isAtTop:h,isScrolling:w,lastJumpDueToItemResize:O,scrollDirection:E,scrollVelocity:T}},tt(b)),M="bottom",N="none";function gn(e,t,r){return"number"==typeof e?"up"===r&&"top"===t||r===j&&t===M?e:0:"up"===r?"top"===t?e.main:e.reverse:t===M?e.main:e.reverse}function In(e,t){var r;return"number"==typeof e?e:null!=(r=e[t])?r:0}let B=K(([{deviation:e,fixedHeaderHeight:t,headerHeight:r,scrollTop:s,viewportHeight:u}])=>{let d=U(),p=C(0),h=C(0),m=C(0),y=ht(x(ut(V(s),V(u),V(r),V(d,ce),V(m),V(p),V(t),V(e),V(h)),k(([e,t,r,[s,u],d,p,h,m,y])=>{let v=e-m,b=Math.max(r-v,0),w=N,S=In(y,"top"),_=In(y,M);return s-=m,s+=r+h,u+=r+h,s>e+(p+h)-S&&(w="up"),(u-=m)<e-b+t+_&&(w=j),w!==N?[Math.max(v-r-gn(d,"top",w)-S,0),v-b-h+t+gn(d,M,w)+_]:null}),P(e=>null!=e),J(ce)),[0,0]);return{increaseViewportBy:h,listBoundary:d,overscan:m,topListHeight:p,visibleRange:y}},tt(b),{singleton:!0}),H={bottom:0,firstItemIndex:0,items:[],offsetBottom:0,offsetTop:0,top:0,topItems:[],topListHeight:0,totalCount:0};function Te(e,t,r,s,u,d){let{lastIndex:p,lastOffset:h,lastSize:m}=u,y=0,v=0;if(e.length>0){y=e[0].offset;let t=e[e.length-1];v=t.offset+t.size}let b=r-p,w=y,S=h+b*m+(b-1)*s-v;return{bottom:v,firstItemIndex:d,items:xn(e,u,d),offsetBottom:S,offsetTop:y,top:w,topItems:xn(t,u,d),topListHeight:t.reduce((e,t)=>t.size+e,0),totalCount:r}}function Kn(e,t,r,s,u,d){let p=0;if(r.groupIndices.length>0)for(let t of r.groupIndices){if(t-p>=e)break;p++}let h=e+p,m=Ke(t,h),y=Array.from({length:h}).map((e,t)=>({data:d[t+m],index:t+m,offset:0,size:0}));return Te(y,[],h,u,r,s)}function xn(e,t,r){if(0===e.length)return[];if(!be(t))return e.map(e=>({...e,index:e.index+r,originalIndex:e.index}));let s=e[0].index,u=e[e.length-1].index,d=[],p=Xt(t.groupOffsetTree,s,u),h,m=0;for(let s of e){let e;(!h||h.end<s.index)&&(h=p.shift(),m=t.groupIndices.indexOf(h.start)),e=s.index===h.start?{index:m,type:"group"}:{groupIndex:m,index:s.index-(m+1)+r},d.push({...e,data:s.data,offset:s.offset,originalIndex:s.index,size:s.size})}return d}function Sn(e,t){var r;return void 0===e?0:"number"==typeof e?e:null!=(r=e[t])?r:0}let W=K(([{data:e,firstItemIndex:t,gap:r,sizes:s,totalCount:u},d,{listBoundary:p,topListHeight:h,visibleRange:m}
1,{initialTopMostItemIndex:y,scrolledToInitialItem:v},{topListHeight:b},w,{didMount:S},{recalcInProgress:_}])=>{let O=C([]),E=C(0),T=U(),A=C(0);F(d.topItemsIndexes,O);let z=ht(x(ut(S,_,V(m,ce),V(u),V(s),V(y),v,V(O),V(t),V(r),V(A),e),P(([e,t,,r,,,,,,,,s])=>{let u=s&&s.length!==r;return e&&!t&&!u}),k(([,,[e,t],r,s,u,d,p,h,m,y,v])=>{var b,w,S,_,O;let{offsetTree:T,sizeTree:A}=s,z=rt(E);if(0===r)return{...H,totalCount:r};if(0===e&&0===t)return 0===z?{...H,totalCount:r}:Kn(z,u,s,h,m,v||[]);if(X(A))return z>0?null:Te(function(e,t,r){if(be(t)){let s=_n(e,t);return[{index:kt(t.groupOffsetTree,s)[0],offset:0,size:0},{data:null==r?void 0:r[0],index:s,offset:0,size:0}]}return[{data:null==r?void 0:r[0],index:e,offset:0,size:0}]}(Ke(u,r),s,v),[],r,m,s,h);let D=[];if(p.length>0){let e=p[0],t=p[p.length-1],r=0;for(let s of Xt(A,e,t)){let u=s.value,d=Math.max(s.start,e),p=Math.min(s.end,t);for(let e=d;e<=p;e++)D.push({data:null==v?void 0:v[e],index:e,offset:r,size:u}),r+=u}}if(!d)return Te([],D,r,m,s,h);let j=p.length>0?p[p.length-1]+1:0,R=function(e,t,r,s=0){return s>0&&(t=Math.max(t,e[Ce(e,s,$e)].offset)),Ln(function(e,t,r,s){let u=Ce(e,t,s),d=Ce(e,r,s,u);return e.slice(u,d+1)}(e,t,r,Bo),Fo)}(T,e,t,j);if(0===R.length)return null;let L=r-1,N=((r=>{for(let s of R){let u=s.value,d=u.offset,p=s.start,h=u.size;if(u.offset<e){p+=Math.floor((e-u.offset+m)/(h+m));let t=p-s.start;d+=t*h+t*m}p<j&&(d+=(j-p)*h,p=j);let y=Math.min(s.end,L);for(let e=p;e<=y&&!(d>=t);e++)r.push({data:null==v?void 0:v[e],index:e,offset:d,size:h}),d+=h+m}})(O=[]),O),B=Sn(y,"top"),W=Sn(y,M);if(N.length>0&&(B>0||W>0)){let e=N[0],t=N[N.length-1];if(B>0&&e.index>j){let t=Math.min(B,e.index-j),r=[],s=e.offset;for(let u=e.index-1;u>=e.index-t;u--){let t=null!=(w=null==(b=Xt(A,u,u)[0])?void 0:b.value)?w:e.size;s-=t+m,r.unshift({data:null==v?void 0:v[u],index:u,offset:s,size:t})}N.unshift(...r)}if(W>0&&t.index<L){let e=Math.min(W,L-t.index),r=t.offset+t.size+m;for(let s=t.index+1;s<=t.index+e;s++){let e=null!=(_=null==(S=Xt(A,s,s)[0])?void 0:S.value)?_:t.size;N.push({data:null==v?void 0:v[s],index:s,offset:r,size:e}),r+=e+m}}}return Te(N,D,r,m,s,h)}),P(e=>null!==e),J()),H);F(x(e,P(Ae),k(e=>null==e?void 0:e.length)),u),F(x(z,k(e=>e.topListHeight)),b),F(b,h),F(x(z,k(e=>[e.top,e.bottom])),p),F(x(z,k(e=>e.items)),T);let D=bt(x(z,P(({items:e})=>e.length>0),$(u,e),P(([{items:e},t])=>e[e.length-1].originalIndex===t-1),k(([,e,t])=>[e-1,t]),J(ce),k(([e])=>e))),j=bt(x(z,Gt(200),P(({items:e,topItems:t})=>e.length>0&&e[0].originalIndex===t.length),k(({items:e})=>e[0].index),J())),R=bt(x(z,P(({items:e})=>e.length>0),k(({items:e})=>{let t=0,r=e.length-1;for(;"group"===e[t].type&&t<r;)t++;for(;"group"===e[r].type&&r>t;)r--;return{endIndex:e[r].index,startIndex:e[t].index}}),J(An)));return{endReached:D,initialItemCount:E,itemsRendered:T,listState:z,minOverscanItemCount:A,rangeChanged:R,startReached:j,topItemsIndexes:O,...w}},tt(O,E,B,D,z,L,T,S),{singleton:!0}),q=K(([{fixedFooterHeight:e,fixedHeaderHeight:t,footerHeight:r,headerHeight:s},{listState:u}])=>{let d=U(),p=ht(x(ut(r,e,s,t,u),k(([e,t,r,s,u])=>e+t+r+s+u.offsetBottom+u.bottom)),0);return F(V(p),d),{totalListHeight:p,totalListHeightChanged:d}},tt(b,W),{singleton:!0}),G=K(([{viewportHeight:e},{totalListHeight:t}])=>{let r=C(!1),s=ht(x(ut(r,e,t),P(([e])=>e),k(([,e,t])=>Math.max(0,e-t)),Gt(0),J()),0);return{alignToBottom:r,paddingTopAddition:s}},tt(b,q),{singleton:!0}),Z=K(()=>({context:C(null)})),$o=({itemBottom:e,itemTop:t,locationParams:{align:r,behavior:s,...u},viewportBottom:d,viewportTop:p})=>t<p?{...u,align:null!=r?r:"start",behavior:s}:e>d?{...u,align:null!=r?r:"end",behavior:s}:null,Y=K(([{gap:e,sizes:t,totalCount:r},{fixedFooterHeight:s,fixedHeaderHeight:u,headerHeight:d,scrollingInProgress:p,scrollTop:h,viewportHeight:m},{scrollToIndex:y}])=>{let v=U();return F(x(v,$(t,m,r,d,u,s,h),$(e),k(([[e,t,r,s,u,d,h,m],y])=>{let{align:v,behavior:b,calculateViewLocation:w=$o,done:S,..._}=e,O=Nn(e,t,s-1),E=ue(O,t.offsetTree,y)+u+d,T=E+kt(t.sizeTree,O)[1],A=w({itemBottom:T,itemTop:E,locationParams:{align:v,behavior:b,..._},viewportBottom:m+r-h,viewportTop:m+d});return A?S&&Et(x(p,P(e=>!e),Kt(rt(p)?1:2)),S):S&&S(),A}),P(e=>null!==e)),y),{scrollIntoView:v}},tt(O,b,z,W,v),{singleton:!0});function Tn(e){return!!e&&("smooth"===e?"smooth":"auto")}let Uo=(e,t)=>"function"==typeof e?Tn(e(t)):t&&Tn(e),ee=K(([{listRefresh:e,totalCount:t,fixedItemSize:r,data:s},{atBottomState:u,isAtBottom:d},{scrollToIndex:p},{scrolledToInitialItem:h},{didMount:y,propsReady:v},{log:b},{scrollingInProgress:w},{context:S},{scrollIntoView:_}])=>{let O=C(!1),E=U(),T=null;function f(e){p(0,{align:"end",behavior:e,index:"LAST"})}function a(e){let t=Et(u,t=>{!e||t.atBottom||"SIZE_INCREASED"!==t.notAtBottomBecause||T||(rt(b)("scrolling to bottom due to increased size",{},m.DEBUG),f("auto"))});setTimeout(t,100)}x(ut(x(V(t),Kt(1)),y),$(V(O),d,h,w),k(([[e,t],r,s,u,d])=>{let p=t&&u,h="auto";return p&&(h=Uo(r,s||d),p=p&&!!h),{followOutputBehavior:h,shouldFollow:p,totalCount:e}}),P(({shouldFollow:e})=>e))(1,({followOutputBehavior:t,totalCount:s})=>{T&&(T(),T=null),rt(r)?requestAnimationFrame(()=>{rt(b)("following output to ",{totalCount:s},m.DEBUG),f(t)}):T=Et(e,()=>{rt(b)("following output to ",{totalCount:s},m.DEBUG),f(t),T=null})}),x(ut(V(O),t,v),P(([e,,t])=>e&&t),Lt(({value:e},[,t])=>({refreshed:e===t,value:t}),{refreshed:!1,value:0}),P(({refreshed:e})=>e),$(O,t))(1,([,e])=>{rt(h)&&a(!1!==e)}),E(1,()=>{a(!1!==rt(O))}),ut(V(O),u)(1,([e,t])=>{e&&!t.atBottom&&"VIEWPORT_HEIGHT_DECREASING"===t.notAtBottomBecause&&f("auto")});let A=C(null),z=U();return F(Fe(x(V(s),k(e=>{var t;return null!=(t=null==e?void 0:e.length)?t:0})),x(V(t))),z),x(ut(x(z,Kt(1)),y),$(V(A),h,w,S),k(([[e,t],r,s,u,d])=>t&&s&&(null==r?void 0:r({context:d,totalCount:e,scrollingInProgress:u}))),P(e=>!!e),Gt(0))(1,t=>{T&&(T(),T=null),rt(r)?requestAnimationFrame(()=>{rt(b)("scrolling into view",{}),_(0,t)}):T=Et(e,()=>{rt(b)("scrolling into view",{}),_(0,t),T=null})}),{autoscrollToBottom:E,followOutput:O,scrollIntoViewOnChange:A}},tt(O,L,z,D,T,v,b,Z,Y)),et=K(([{data:e,firstItemIndex:t,gap:r,sizes:s}
1,{initialTopMostItemIndex:u},{initialItemCount:d,listState:p},{didMount:h}])=>(F(x(h,$(d),P(([,e])=>0!==e),$(u,s,t,r,e),k(([[,e],t,r,s,u,d=[]])=>Kn(e,t,r,s,u,d))),p),{}),tt(O,D,W,T),{singleton:!0}),en=K(([{didMount:e},{scrollTo:t},{listState:r}])=>{let s=C(0);return x(e,$(s),P(([,e])=>0!==e),k(([,e])=>({top:e})))(1,e=>{Et(x(r,Kt(1),P(e=>e.items.length>1)),()=>{requestAnimationFrame(()=>{t(0,e)})})}),{initialScrollTop:s}},tt(T,b,W),{singleton:!0}),er=K(([{scrollVelocity:e}])=>{let t=C(!1),r=U(),s=C(!1);return F(x(e,$(s,t,r),P(([e,t])=>!!t),k(([e,t,r,s])=>{let{enter:u,exit:d}=t;if(r){if(d(e,s))return!1}else if(u(e,s))return!0;return r}),J()),t),x(ut(t,e,r),$(s))(1,([[e,t,r],s])=>{e&&s&&s.change&&s.change(t,r)}),{isSeeking:t,scrollSeekConfiguration:s,scrollSeekRangeChanged:r,scrollVelocity:e}},tt(L),{singleton:!0}),ei=K(([{scrollContainerState:e,scrollTo:t}])=>{let r=U(),s=U(),u=U(),d=C(!1),p=C(void 0);return F(x(ut(r,s),k(([{scrollHeight:e,scrollTop:t,viewportHeight:r},{offsetTop:s}])=>({scrollHeight:e,scrollTop:Math.max(0,t-s),viewportHeight:r}))),e),F(x(t,$(s),k(([e,{offsetTop:t}])=>({...e,top:e.top+t}))),u),{customScrollParent:p,useWindowScroll:d,windowScrollContainerState:r,windowScrollTo:u,windowViewportRect:s}},tt(b)),el=K(([{sizeRanges:e,sizes:t},{headerHeight:r,scrollTop:s},{initialTopMostItemIndex:u},{didMount:d},{useWindowScroll:p,windowScrollContainerState:h,windowViewportRect:m}])=>{let y=U(),v=C(void 0),b=C(null),w=C(null);return F(h,b),F(m,w),x(y,$(t,s,p,b,w,r))(1,([e,t,r,s,u,d,p])=>{let h=Dt(t.sizeTree).map(({k:e,v:t},r,s)=>{let u=s[r+1];return{endIndex:u?u.k-1:1/0,size:t,startIndex:e}});s&&null!==u&&null!==d&&(r=u.scrollTop-d.offsetTop),e({ranges:h,scrollTop:r-=p})}),F(x(v,P(Ae),k(Zo)),u),F(x(d,$(v),P(([,e])=>void 0!==e),J(),k(([,e])=>e.ranges)),e),{getState:y,restoreStateFrom:v}},tt(O,b,D,T,ei));function Zo(e){return{align:"start",index:0,offset:e.scrollTop}}let ea=K(([{topItemsIndexes:e}])=>{let t=C(0);return F(x(t,P(e=>e>=0),k(e=>Array.from({length:e}).map((e,t)=>t))),e),{topItemCount:t}},tt(W));function Xn(e){let t=!1,r;return()=>(t||(t=!0,r=e()),r)}let es=Xn(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),eu=K(([{deviation:e,scrollBy:t,scrollingInProgress:r,scrollTop:s},{isAtBottom:u,isScrolling:d,lastJumpDueToItemResize:p,scrollDirection:h},{listState:y},{beforeUnshiftWith:v,gap:b,shiftWithOffset:w,sizes:S},{log:_},{recalcInProgress:O}])=>{let E=bt(x(y,$(p),Lt(([,e,t,r],[{bottom:s,items:u,offsetBottom:d,totalCount:p},h])=>{let m=s+d,y=0;return t===p&&e.length>0&&u.length>0&&(0===u[0].originalIndex&&0===e[0].originalIndex||0!=(y=m-r)&&(y+=h)),[y,u,p,m]},[0,[],0,0]),P(([e])=>0!==e),$(s,h,r,u,_,O),P(([,e,t,r,,,s])=>!s&&!r&&0!==e&&"up"===t),k(([[e],,,,,t])=>(t("Upward scrolling compensation",{amount:e},m.DEBUG),e))));function g(r){r>0?(t(0,{behavior:"auto",top:-r}),e(0,0)):(e(0,0),t(0,{behavior:"auto",top:-r}))}return x(E,$(e,d))(1,([t,r,s])=>{s&&es()?e(0,r-t):g(-t)}),x(ut(ht(d,!1),e,O),P(([e,t,r])=>!e&&!r&&0!==t),k(([e,t])=>t),Gt(1))(1,g),F(x(w,k(e=>({top:-e}))),t),x(v,$(S,b),k(([e,{groupIndices:t,lastSize:r,sizeTree:s},u])=>{if(0===t.length)return e*(r+u);{let d=0,p=le(s,0),h=0,m=0;for(;h<e;){h++,d+=p;let s=t.length===m+1?1/0:t[m+1]-t[m]-1;h+s>e&&(d-=p,s=e-h+1),h+=s,d+=s*(r+u),m++}return d}}))(1,r=>{e(0,r),requestAnimationFrame(()=>{t(0,{top:r}),requestAnimationFrame(()=>{e(0,0),O(0,!1)})})}),{deviation:e}},tt(b,L,W,O,v,S)),ec=K(([e,t,r,s,u,d,p,h,m,y,v])=>({...e,...t,...r,...s,...u,...d,...p,...h,...m,...y,...v}),tt(B,et,T,er,q,en,G,ei,Y,v,Z)),ed=K(([{data:e,defaultItemSize:t,firstItemIndex:r,fixedItemSize:s,fixedGroupSize:u,gap:d,groupIndices:p,heightEstimates:h,itemSize:m,sizeRanges:y,sizes:v,statefulTotalCount:b,totalCount:w,trackItemSizes:S},{initialItemFinalLocationReached:_,initialTopMostItemIndex:O,scrolledToInitialItem:E},T,A,z,D,{scrollToIndex:j},R,{topItemCount:L},{groupCounts:M},N])=>{let{listState:B,minOverscanItemCount:H,topItemsIndexes:W,rangeChanged:q,...G}=D;return F(q,N.scrollSeekRangeChanged),F(x(N.windowViewportRect,k(e=>
1e.visibleHeight)),T.viewportHeight),{data:e,defaultItemHeight:t,firstItemIndex:r,fixedItemHeight:s,fixedGroupHeight:u,gap:d,groupCounts:M,heightEstimates:h,initialItemFinalLocationReached:_,initialTopMostItemIndex:O,scrolledToInitialItem:E,sizeRanges:y,topItemCount:L,topItemsIndexes:W,totalCount:w,...z,groupIndices:p,itemSize:m,listState:B,minOverscanItemCount:H,scrollToIndex:j,statefulTotalCount:b,trackItemSizes:S,rangeChanged:q,...G,...N,...T,sizes:v,...A}},tt(O,D,b,el,ee,W,z,eu,ea,E,ec)),ef="u">typeof document?d.useLayoutEffect:d.useEffect;function Ye(e,t,r){let s=Object.keys(t.required||{}),p=Object.keys(t.optional||{}),h=Object.keys(t.methods||{}),m=Object.keys(t.events||{}),y=d.createContext({});function c(e,r){for(let u of(e.propsReady&&(0,e.propsReady)(0,!1),s)){let s=e[t.required[u]];s(0,r[u])}for(let s of p)if(s in r){let u=e[t.optional[s]];u(0,r[s])}e.propsReady&&(0,e.propsReady)(0,!0)}let v=d.forwardRef((v,b)=>{var w;let{children:S,..._}=v,[O]=d.useState(()=>{var t;return c(t=function(e){let t=new Map,n=({constructor:e,dependencies:r,id:s,singleton:u})=>{if(u&&t.has(s))return t.get(s);let d=e(r.map(e=>n(e)));return u&&t.set(s,d),d};return n(e)}(e),_),t}),[E]=d.useState(()=>{var e;return e=O,m.reduce((r,s)=>(r[s]=function(e){let t,r;let o=()=>null==t?void 0:t();return function(s,u){switch(s){case 1:return u?r===u?void 0:(o(),r=u,t=e(1,u)):(o(),Qt);case 2:o(),r=null;return}}}(e[t.events[s]]),r),{})});return ef(()=>{for(let e of m)e in _&&(0,E[e])(1,_[e]);return()=>{Object.values(E).map(We)}},[_,E,O]),ef(()=>{c(O,_)}),d.useImperativeHandle(b,(w=h.reduce((e,r)=>(e[r]=e=>{let s=O[t.methods[r]];s(0,e)},e),{}),()=>w)),(0,u.jsx)(y.Provider,{value:O,children:r?(0,u.jsx)(r,{...function(e,t){let r={},s={},u=0,d=e.length;for(;u<d;)s[e[u]]=1,u+=1;for(let e in t)Object.hasOwn(s,e)||(r[e]=t[e]);return r}([...s,...p,...m],_),children:S}):S})}),b=d.version.startsWith("18")?e=>{let t=d.useContext(y)[e],r=d.useCallback(e=>t(1,e),[t]);return d.useSyncExternalStore(r,()=>rt(t),()=>rt(t))}:e=>{let t=d.useContext(y)[e],[r,s]=d.useState(()=>rt(t));return ef(()=>t(1,e=>{e!==r&&s(()=>e)}),[t,r]),r};return{Component:v,useEmitter:(e,t)=>{let r=d.useContext(y)[e];ef(()=>r(1,t),[t,r])},useEmitterValue:b,usePublisher:e=>{let t=d.useContext(y);return d.useCallback(r=>{(0,t[e])(0,r)},[t,e])}}}let ep=d.createContext(void 0),eh=d.createContext(void 0),em="u">typeof document?d.useLayoutEffect:d.useEffect;function ke(e){return"self"in e}function eo(e,t,r,s=Qt,u,h){let m=d.useRef(null),y=d.useRef(null),v=d.useRef(null),b=d.useCallback(r=>{let s,u,d;let m=r.target;if("body"in m||ke(m)){let e=ke(m)?m:m.defaultView;d=h?e.scrollX:e.scrollY,s=h?e.document.documentElement.scrollWidth:e.document.documentElement.scrollHeight,u=h?e.innerWidth:e.innerHeight}else d=h?m.scrollLeft:m.scrollTop,s=h?m.scrollWidth:m.scrollHeight,u=h?m.offsetWidth:m.offsetHeight;let f=()=>{e({scrollHeight:s,scrollTop:Math.max(d,0),viewportHeight:u})};r.suppressFlushSync?f():p.flushSync(f),null!==y.current&&(d===y.current||d<=0||d===s-u)&&(y.current=null,t(!0),v.current&&(clearTimeout(v.current),v.current=null))},[e,t,h]);return d.useEffect(()=>{let e=u||m.current;return s(u||m.current),b({suppressFlushSync:!0,target:e}),e.addEventListener("scroll",b,{passive:!0}),()=>{s(null),e.removeEventListener("scroll",b)}},[m,b,r,s,u]),{scrollByCallback:function(e){h&&(e={behavior:e.behavior,left:e.top}),m.current.scrollBy(e)},scrollerRef:m,scrollToCallback:function(r){let s,u,d;let p=m.current;if(!p||(h?"offsetWidth"in p&&0===p.offsetWidth:"offsetHeight"in p&&0===p.offsetHeight))return;let b="smooth"===r.behavior;ke(p)?(u=Math.max(zt(p.document.documentElement,h?"width":"height"),h?p.document.documentElement.scrollWidth:p.document.documentElement.scrollHeight),s=h?p.innerWidth:p.innerHeight,d=h?window.scrollX:window.scrollY):(u=p[h?"scrollWidth":"scrollHeight"],s=zt(p,h?"width":"height"),d=p[h?"scrollLeft":"scrollTop"]);let w=u-s;if(r.top=Math.ceil(Math.max(Math.min(w,r.top),0)),Un(s,u)||r.top===d){e({scrollHeight:u,scrollTop:d,viewportHeight:s}),b&&t(!0);return}b?(y.current=r.top,v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{v.current=null,y.current=null,t(!0)},1e3)):y.current=null,h&&(r={behavior:r.behavior,left:r.top}),p.scrollTo(r)}}}let eg="-webkit-sticky",ey="sticky",ev=Xn(()=>
1{if(typeof document>"u")return ey;let e=document.createElement("div");return e.style.position=eg,e.style.position===eg?eg:ey});function Xe(e){return e}let eb=K(()=>{let e=C(e=>`Item ${e}`),t=C(e=>`Group ${e}`),r=C({}),s=C(Xe),u=C("div"),d=C(Qt),i=(e,t=null)=>ht(x(r,k(t=>t[e]),J()),t);return{components:r,computeItemKey:s,EmptyPlaceholder:i("EmptyPlaceholder"),FooterComponent:i("Footer"),GroupComponent:i("Group","div"),groupContent:t,HeaderComponent:i("Header"),HeaderFooterTag:u,ItemComponent:i("Item","div"),itemContent:e,ListComponent:i("List","div"),ScrollerComponent:i("Scroller","div"),scrollerRef:d,ScrollSeekPlaceholder:i("ScrollSeekPlaceholder"),TopItemListComponent:i("TopItemList")}}),ex=K(([e,t])=>({...e,...t}),tt(ed,eb)),sr=({height:e})=>(0,u.jsx)("div",{style:{height:e}}),ek={overflowAnchor:"none",position:ev(),zIndex:1},ew={overflowAnchor:"none"},eC={...ew,display:"inline-block",height:"100%"},eS=d.memo(function({showTopList:e=!1}){let t=eD("listState"),r=eF("sizeRanges"),s=eD("useWindowScroll"),p=eD("customScrollParent"),h=eF("windowScrollContainerState"),m=eF("scrollContainerState"),y=p||s?h:m,v=eD("itemContent"),b=eD("context"),w=eD("groupContent"),S=eD("trackItemSizes"),_=eD("itemSize"),O=eD("log"),E=eF("gap"),T=eD("horizontalDirection"),{callbackRef:A}=Fn(r,_,S,e?Qt:y,O,E,p,T,eD("skipAnimationFrameInResizeObserver")),[z,D]=d.useState(0);ez("deviation",e=>{z!==e&&D(e)});let j=eD("EmptyPlaceholder"),R=eD("ScrollSeekPlaceholder")||sr,L=eD("ListComponent"),M=eD("ItemComponent"),N=eD("GroupComponent"),B=eD("computeItemKey"),H=eD("isSeeking"),W=eD("groupIndices").length>0,q=eD("alignToBottom"),G=eD("initialItemFinalLocationReached"),Z=e?{}:{boxSizing:"border-box",...T?{display:"inline-block",height:"100%",marginLeft:0!==z?z:q?"auto":0,paddingLeft:t.offsetTop,paddingRight:t.offsetBottom,whiteSpace:"nowrap"}:{marginTop:0!==z?z:q?"auto":0,paddingBottom:t.offsetBottom,paddingTop:t.offsetTop},...G?{}:{visibility:"hidden"}};return!e&&0===t.totalCount&&j?(0,u.jsx)(j,{...Q(j,b)}):(0,u.jsx)(L,{...Q(L,b),"data-testid":e?"virtuoso-top-item-list":"virtuoso-item-list",ref:A,style:Z,children:(e?t.topItems:t.items).map(e=>{let r=e.originalIndex,s=B(r+t.firstItemIndex,e.data,b);return H?(0,d.createElement)(R,{...Q(R,b),height:e.size,index:e.index,key:s,type:e.type||"item",..."group"===e.type?{}:{groupIndex:e.groupIndex}}):"group"===e.type?(0,d.createElement)(N,{...Q(N,b),"data-index":r,"data-item-index":e.index,"data-known-size":e.size,key:s,style:ek},w(e.index,b)):(0,d.createElement)(M,{...Q(M,b),...oo(M,e.data),"data-index":r,"data-item-group-index":e.groupIndex,"data-item-index":e.index,"data-known-size":e.size,key:s,style:T?eC:ew},W?v(e.index,e.groupIndex,e.data,b):v(e.index,e.data,b))})})}),e_={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},eI={outline:"none",overflowX:"auto",position:"relative"},te=e=>({height:"100%",position:"absolute",top:0,width:"100%",...e?{display:"flex",flexDirection:"column"}:{}}),eP={position:ev(),top:0,width:"100%",zIndex:1};function Q(e,t){if("string"!=typeof e)return{context:t}}function oo(e,t){return{item:"string"==typeof e?void 0:t}}let eO=d.memo(function(){let e=eD("HeaderComponent"),t=eF("headerHeight"),r=eD("HeaderFooterTag"),s=Vt(d.useMemo(()=>e=>{t(zt(e,"height"))},[t]),!0,eD("skipAnimationFrameInResizeObserver")),p=eD("context");return e?(0,u.jsx)(r,{ref:s,children:(0,u.jsx)(e,{...Q(e,p)})}):null}),eE=d.memo(function(){let e=eD("FooterComponent"),t=eF("footerHeight"),r=eD("HeaderFooterTag"),s=Vt(d.useMemo(()=>e=>{t(zt(e,"height"))},[t]),!0,eD("skipAnimationFrameInResizeObserver")),p=eD("context");return e?(0,u.jsx)(r,{ref:s,children:(0,u.jsx)(e,{...Q(e,p)})}):null});function Je({useEmitter:e,useEmitterValue:t,usePublisher:r}){return d.memo(function({children:s,style:d,context:p,...h}){let m=r("scrollContainerState"),y=t("ScrollerComponent"),v=r("smoothScrollTargetReached"),b=t("scrollerRef"),w=t("horizontalDirection")||!1,{scrollByCallback:S,scrollerRef:_,scrollToCallback:O}=eo(m,v,y,b,void 0,w);return e("scrollTo",O),e("scrollBy",S),(0,u.jsx)(y,{"data-testid":"virtuoso-scroller","data-virtuoso-scroller":!0,ref:_,style:{...w?eI:e_,...d},tabIndex:0,...h,...Q(y,p),children:s})})}function Qe({useEmitter:e,useEmitterValue:t,usePublisher:r}){return d.memo(function({children:s,style:p,context:h,...m}){let y=r("windowScrollContainerState"),v=t("ScrollerComponent"),b=r("smoothScrollTargetReached"),w=t("totalListHeight"),S=t("deviation"),_=t("customScrollParent"),O=d.useRef(null),E=t("scrollerRef"),{scrollByCallback:T,scrollerRef:A,scrollToCallback:z}=eo(y,b,v,E,_);return em(()=>{var e;return A.current=_||(null==(e=O.current)?void 0:e.ownerDocument.defaultView),()=>{A.current=null}},[A,_]),e("windowScrollTo",z),e("scrollBy",T),(0,u.jsx)(v,{ref:O,"data-virtuoso-scroller":!0,style:{position:"relative",...p,...0!==w?{height:w+S}:{}},...m,...Q(v,h),children:s})})}let mr=({children:e})=>
vendor: 4,122 bytes, line 1
1{let t=d.useContext(ep),r=eF("viewportHeight"),s=eF("fixedItemHeight"),p=eD("alignToBottom"),h=eD("horizontalDirection"),m=d.useMemo(()=>se(r,e=>zt(e,h?"width":"height")),[r,h]),y=Vt(m,!0,eD("skipAnimationFrameInResizeObserver"));return d.useEffect(()=>{t&&(r(t.viewportHeight),s(t.itemHeight))},[t,r,s]),(0,u.jsx)("div",{"data-viewport-type":"element",ref:y,style:te(p),children:e})},pr=({children:e})=>{let t=d.useContext(ep),r=eF("windowViewportRect"),s=eF("fixedItemHeight"),p=eD("customScrollParent"),h=Ne(r,p,eD("skipAnimationFrameInResizeObserver")),m=eD("alignToBottom");return d.useEffect(()=>{t&&(s(t.itemHeight),r({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,r,s]),(0,u.jsx)("div",{"data-viewport-type":"window",ref:h,style:te(m),children:e})},hr=({children:e})=>{let t=eD("TopItemListComponent")||"div",r=eD("headerHeight"),s={...eP,marginTop:`${r}px`},d=eD("context");return(0,u.jsx)(t,{style:s,...Q(t,d),children:e})},eT=d.memo(function(e){let t=eD("useWindowScroll"),r=eD("topItemsIndexes").length>0,s=eD("customScrollParent"),d=eD("context");return(0,u.jsxs)(s||t?eR:ej,{...e,context:d,children:[r&&(0,u.jsx)(hr,{children:(0,u.jsx)(eS,{showTopList:!0})}),(0,u.jsxs)(s||t?pr:mr,{children:[(0,u.jsx)(eO,{}),(0,u.jsx)(eS,{}),(0,u.jsx)(eE,{})]})]})}),{Component:eA,useEmitter:ez,useEmitterValue:eD,usePublisher:eF}=Ye(ex,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",scrollIntoViewOnChange:"scrollIntoViewOnChange",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",minOverscanItemCount:"minOverscanItemCount",totalCount:"totalCount",groupCounts:"groupCounts",topItemCount:"topItemCount",firstItemIndex:"firstItemIndex",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedGroupHeight:"fixedGroupHeight",fixedItemHeight:"fixedItemHeight",heightEstimates:"heightEstimates",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"HeaderFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",horizontalDirection:"horizontalDirection",skipAnimationFrameInResizeObserver:"skipAnimationFrameInResizeObserver"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",autoscrollToBottom:"autoscrollToBottom",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},eT),ej=Je({useEmitter:ez,useEmitterValue:eD,usePublisher:eF}),eR=Qe({useEmitter:ez,useEmitterValue:eD,usePublisher:eF}),eL=eA,eM=K(()=>{let e=C(e=>(0,u.jsxs)("td",{children:["Item $",e]})),t=C(null),r=C(e=>(0,u.jsxs)("td",{colSpan:1e3,children:["Group ",e]})),s=C(null),d=C(null),p=C({}),h=C(Xe),m=C(Qt),c=(e,t=null)=>ht(x(p,k(t=>t[e]),J()),t);return{components:p,computeItemKey:h,context:t,EmptyPlaceholder:c("EmptyPlaceholder"),FillerRow:c("FillerRow"),fixedFooterContent:d,fixedHeaderContent:s,itemContent:e,groupContent:r,ScrollerComponent:c("Scroller","div"),scrollerRef:m,ScrollSeekPlaceholder:c("ScrollSeekPlaceholder"),TableBodyComponent:c("TableBody","tbody"),TableComponent:c("Table","table"),TableFooterComponent:c("TableFoot","tfoot"),TableHeadComponent:c("TableHead","thead"),TableRowComponent:c("TableRow","tr"),GroupComponent:c("Group","tr")}}),eN=K(([e,t])=>({...e,...t}),tt(ed,eM)),Cr=({height:e})=>(0,u.jsx)("tr",{children:(0,u.jsx)("td",{style:{height:e}})}),wr=({height:e})=>(0,u.jsx)("tr",{children:(0,u.jsx)("td",{style:{border:0,height:e,padding:0}})}),eB={overflowAnchor:"none"}
1,eH={position:ev(),zIndex:2,overflowAnchor:"none"},eV=d.memo(function({showTopList:e=!1}){let t=eK("listState"),r=eK("computeItemKey"),s=eK("firstItemIndex"),p=eK("context"),h=eK("isSeeking"),m=eK("fixedHeaderHeight"),y=eK("groupIndices").length>0,v=eK("itemContent"),b=eK("groupContent"),w=eK("ScrollSeekPlaceholder")||Cr,S=eK("GroupComponent"),_=eK("TableRowComponent"),O=(e?t.topItems:[]).reduce((e,t,r)=>(0===r?e.push(t.size):e.push(e[r-1]+t.size),e),[]),E=(e?t.topItems:t.items).map(t=>{let u=t.originalIndex,E=r(u+s,t.data,p),T=e?0===u?0:O[u-1]:0;return h?(0,d.createElement)(w,{...Q(w,p),height:t.size,index:t.index,key:E,type:t.type||"item"}):"group"===t.type?(0,d.createElement)(S,{...Q(S,p),"data-index":u,"data-item-index":t.index,"data-known-size":t.size,key:E,style:{...eH,top:m}},b(t.index,p)):(0,d.createElement)(_,{...Q(_,p),...oo(_,t.data),"data-index":u,"data-item-index":t.index,"data-known-size":t.size,"data-item-group-index":t.groupIndex,key:E,style:e?{...eH,top:m+T}:eB},y?v(t.index,t.groupIndex,t.data,p):v(t.index,t.data,p))});return(0,u.jsx)(u.Fragment,{children:E})}),eW=d.memo(function(){let e=eK("listState"),t=eK("topItemsIndexes").length>0,r=eQ("sizeRanges"),s=eK("useWindowScroll"),p=eK("customScrollParent"),h=eQ("windowScrollContainerState"),m=eQ("scrollContainerState"),y=p||s?h:m,v=eK("trackItemSizes"),b=eK("itemSize"),w=eK("log"),{callbackRef:S,ref:_}=Fn(r,b,v,y,w,void 0,p,!1,eK("skipAnimationFrameInResizeObserver")),[O,E]=d.useState(0);eq("deviation",e=>{O!==e&&(_.current.style.marginTop=`${e}px`,E(e))});let T=eK("EmptyPlaceholder"),A=eK("FillerRow")||wr,z=eK("TableBodyComponent"),D=eK("paddingTopAddition"),j=eK("statefulTotalCount"),R=eK("context");if(0===j&&T)return(0,u.jsx)(T,{...Q(T,R)});let L=(t?e.topItems:[]).reduce((e,t)=>e+t.size,0),M=e.offsetTop+D+O-L,N=e.offsetBottom,B=M>0?(0,u.jsx)(A,{context:R,height:M},"padding-top"):null,H=N>0?(0,u.jsx)(A,{context:R,height:N},"padding-bottom"):null;return(0,u.jsxs)(z,{"data-testid":"virtuoso-item-list",ref:S,...Q(z,R),children:[B,t&&(0,u.jsx)(eV,{showTopList:!0}),(0,u.jsx)(eV,{}),H]})}),br=({children:e})=>{let t=d.useContext(ep),r=eQ("viewportHeight"),s=eQ("fixedItemHeight"),p=Vt(d.useMemo(()=>se(r,e=>zt(e,"height")),[r]),!0,eK("skipAnimationFrameInResizeObserver"));return d.useEffect(()=>{t&&(r(t.viewportHeight),s(t.itemHeight))},[t,r,s]),(0,u.jsx)("div",{"data-viewport-type":"element",ref:p,style:te(!1),children:e})},Rr=({children:e})=>{let t=d.useContext(ep),r=eQ("windowViewportRect"),s=eQ("fixedItemHeight"),p=eK("customScrollParent"),h=Ne(r,p,eK("skipAnimationFrameInResizeObserver"));return d.useEffect(()=>{t&&(s(t.itemHeight),r({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,r,s]),(0,u.jsx)("div",{"data-viewport-type":"window",ref:h,style:te(!1),children:e})},eU=d.memo(function(e){let t=eK("useWindowScroll"),r=eK("customScrollParent"),s=eQ("fixedHeaderHeight"),p=eQ("fixedFooterHeight"),h=eK("fixedHeaderContent"),m=eK("fixedFooterContent"),y=eK("context"),v=Vt(d.useMemo(()=>se(s,e=>zt(e,"height")),[s]),!0,eK("skipAnimationFrameInResizeObserver")),b=Vt(d.useMemo(()=>se(p,e=>zt(e,"height")),[p]),!0,eK("skipAnimationFrameInResizeObserver")),w=r||t?eG:eX,S=r||t?Rr:br,_=eK("TableComponent"),O=eK("TableHeadComponent"),E=eK("TableFooterComponent"),T=h?(0,u.jsx)(O,{ref:v,style:{position:"sticky",top:0,zIndex:2},...Q(O,y),children:h()},"TableHead"):null,A=m?(0,u.jsx)(E,{ref:b,style:{bottom:0,position:"sticky",zIndex:1},...Q(E,y),children:m()},"TableFoot"):null;return(0,u.jsx)(w,{...e,...Q(w,y),children:(0,u.jsx)(S,{children:(0,u.jsxs)(_,{style:{borderSpacing:0,overflowAnchor:"none"},...Q(_,y),children:[T,(0,u.jsx)(eW,{},"TableBody"),A]})})})}),{Component:e$,useEmitter:eq,useEmitterValue:eK,usePublisher:eQ}=Ye(eN,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",minOverscanItemCount:"minOverscanItemCount",totalCount:"totalCount",topItemCount:"topItemCount",initialTopM
1ostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedGroupHeight:"fixedGroupHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},eU),eX=Je({useEmitter:eq,useEmitterValue:eK,usePublisher:eQ}),eG=Qe({useEmitter:eq,useEmitterValue:eK,usePublisher:eQ}),eZ={bottom:0,itemHeight:0,items:[],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},eJ={bottom:0,itemHeight:0,items:[{index:0}],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},{ceil:eY,floor:e0,max:e1,min:e2,round:e4}=Math;function En(e,t,r){return Array.from({length:t-e+1}).map((t,s)=>({data:null===r?null:r[s+e],index:s+e}))}function xe(e,t){return e&&e.width===t.width&&e.height===t.height}function Or(e,t){return e&&e.column===t.column&&e.row===t.row}let e3=K(([{increaseViewportBy:e,listBoundary:t,overscan:r,visibleRange:s},{footerHeight:u,headerHeight:d,scrollBy:p,scrollContainerState:h,scrollTo:m,scrollTop:y,smoothScrollTargetReached:v,viewportHeight:b},w,S,{didMount:_,propsReady:O},{customScrollParent:E,useWindowScroll:T,windowScrollContainerState:A,windowScrollTo:z,windowViewportRect:D},j])=>{let R=C(0),L=C(0),M=C(eZ),N=C({height:0,width:0}),B=C({height:0,width:0}),H=U(),W=U(),q=C(0),G=C(null),Z=C({column:0,row:0}),Y=U(),ee=U(),et=C(!1),en=C(0),er=C(!0),ei=C(!1),el=C(!1);x(_,$(en),P(([e,t])=>!!t))(1,()=>{er(0,!1)}),x(ut(_,er,B,N,en,ei),P(([e,t,r,s,,u])=>e&&!t&&0!==r.height&&0!==s.height&&!u))(1,([,,,,e])=>{ei(0,!0),Ue(1,()=>{H(0,e)}),Et(x(y),()=>{t(0,[0,0]),er(0,!0)})}),F(x(ee,P(e=>null!=e&&e.scrollTop>0),Ft(0)),L),x(_,$(ee),P(([,e])=>null!=e))(1,([,e])=>{e&&(N(0,e.viewport),B(0,e.item),Z(0,e.gap),e.scrollTop>0&&(et(0,!0),Et(x(y,Kt(1)),e=>{et(0,!1)}),m(0,{top:e.scrollTop})))}),F(x(N,k(({height:e})=>e)),b),F(x(ut(V(N,xe),V(B,xe),V(Z,(e,t)=>e&&e.column===t.column&&e.row===t.row),V(y)),k(([e,t,r,s])=>({gap:r,item:t,scrollTop:s,viewport:e}))),Y),F(x(ut(V(R),s,V(Z,Or),V(B,xe),V(N,xe),V(G),V(L),V(et),V(er),V(en)),P(([,,,,,,,e])=>!e),k(([e,[t,r],s,u,d,p,h,,m,y])=>{let v,b;let{column:w,row:S}=s,{height:_,width:O}=u,{width:E}=d;if(0===h&&(0===e||0===E))return eZ;if(0===O){var T;let t=Ke(y,e),r=t+Math.max(h-1,0);return T=En(t,r,p),{...eJ,items:T}}let A=io(E,O,w);m?0===t&&0===r&&h>0?(v=0,b=h-1):(v=A*e0((t+S)/(_+S)),b=e2(e-1,e1(b=A*eY((r+S)/(_+S))-1,A-1)),v=e2(b,e1(0,v))):(v=0,b=-1);let z=En(v,b,p),{bottom:D,top:j}=Bn(d,s,u,z),R=eY(e/A),L=R*_+(R-1)*S-D;return{bottom:D,itemHeight:_,items:z,itemWidth:O,offsetBottom:L,offsetTop:j,top:j}})),M),F(x(G,P(e=>null!==e),k(e=>e.length)),R),F(x(ut(N,B,M,Z),P(([e,t,{items:r}])=>r.length>0&&0!==t.height&&0!==e.height),k(([e,t,{items:r},s])=>{let{bottom:u,top:d}=Bn(e,s,t,r);return[d,u]}),J(ce)),t);let ea=C(!1);F(x(y,$(ea),k(([e,t])=>t||0!==e)),ea);let es=bt(x(ut(M,R),P(([{items:e}])=>e.length>0),$(ea),P(([[e,t],r])=>{let s=e.items[e.items.length-1].index===t-1;return(r||e.bottom>0&&e.itemHeight>0&&0===e.offsetBottom&&e.items.length===t)&&s}),k(([[,e]])=>e-1),J())),eu=bt(x(V(M),P(({items:e})=>e.length>0&&0===e[0].index),Ft(0),J())),ec=bt(x(V(M),$(et),P(([{items:e},t])=>e.length>0&&!t),k(([{items:e}])=>({endIndex:e[e.length-1].index,startIndex:e[0].index})),J(An),Gt(0)));F(ec,S.scrollSeekRangeChanged),F(x(H,$(N,B,R,Z),k(([e,t,r,s,u])=>{let d=$n(e),{align:p,behavior:h,offset:m}=d,y=d.index;"LAST"===y&&(y=s-1);let v=Me(t,u,r,y=e1(0,y,e2(s-1,y)));return"end"===p?v=e4(v-t.height+r.height):"center"===p&&(v=e4(v-t.height/2+r.height/2)),m&&(v+=m),{behavior:h,top:v}})),m);let ed=ht(x(M,k(e=>
1e.offsetBottom+e.bottom)),0);return F(x(D,k(e=>({height:e.visibleHeight,width:e.visibleWidth}))),N),{customScrollParent:E,data:G,deviation:q,footerHeight:u,gap:Z,headerHeight:d,increaseViewportBy:e,initialItemCount:L,itemDimensions:B,overscan:r,restoreStateFrom:ee,scrollBy:p,scrollContainerState:h,scrollHeight:W,scrollTo:m,scrollToIndex:H,scrollTop:y,smoothScrollTargetReached:v,totalCount:R,useWindowScroll:T,viewportDimensions:N,windowScrollContainerState:A,windowScrollTo:z,windowViewportRect:D,...S,gridState:M,horizontalDirection:el,initialTopMostItemIndex:en,totalListHeight:ed,...w,endReached:es,propsReady:O,rangeChanged:ec,startReached:eu,stateChanged:Y,stateRestoreInProgress:et,...j}},tt(B,b,L,er,T,ei,v));function io(e,t,r){return e1(1,e0((e+r)/(e0(t)+r)))}function Bn(e,t,r,s){let{height:u}=r;if(void 0===u||0===s.length)return{bottom:0,top:0};let d=Me(e,t,r,s[0].index);return{bottom:Me(e,t,r,s[s.length-1].index)+u,top:d}}function Me(e,t,r,s){let u=io(e.width,r.width,t.column),d=e0(s/u),p=d*r.height+e1(0,d-1)*t.row;return p>0?p+t.row:p}let e6=K(()=>{let e=C(e=>`Item ${e}`),t=C({}),r=C(null),s=C("virtuoso-grid-item"),u=C("virtuoso-grid-list"),d=C(Xe),p=C("div"),h=C(Qt),c=(e,r=null)=>ht(x(t,k(t=>t[e]),J()),r),m=C(!1),y=C(!1);return F(V(y),m),{components:t,computeItemKey:d,context:r,FooterComponent:c("Footer"),HeaderComponent:c("Header"),headerFooterTag:p,itemClassName:s,ItemComponent:c("Item","div"),itemContent:e,listClassName:u,ListComponent:c("List","div"),readyStateChanged:m,reportReadyState:y,ScrollerComponent:c("Scroller","div"),scrollerRef:h,ScrollSeekPlaceholder:c("ScrollSeekPlaceholder","div")}}),e5=K(([e,t])=>({...e,...t}
1),tt(e3,e6)),e9=d.memo(function(){let e=ti("gridState"),t=ti("listClassName"),r=ti("itemClassName"),s=ti("itemContent"),p=ti("computeItemKey"),h=ti("isSeeking"),m=tl("scrollHeight"),y=ti("ItemComponent"),v=ti("ListComponent"),b=ti("ScrollSeekPlaceholder"),w=ti("context"),S=tl("itemDimensions"),_=tl("gap"),O=ti("log"),E=ti("stateRestoreInProgress"),T=tl("reportReadyState"),A=Vt(d.useMemo(()=>e=>{let t=e.parentElement.parentElement.scrollHeight;m(t);let r=e.firstChild;if(r){let{height:e,width:t}=r.getBoundingClientRect();S({height:e,width:t})}_({column:kn("column-gap",getComputedStyle(e).columnGap,O),row:kn("row-gap",getComputedStyle(e).rowGap,O)})},[m,S,_,O]),!0,!1);return em(()=>{e.itemHeight>0&&e.itemWidth>0&&T(!0)},[e]),E?null:(0,u.jsx)(v,{className:t,ref:A,...Q(v,w),"data-testid":"virtuoso-item-list",style:{paddingBottom:e.offsetBottom,paddingTop:e.offsetTop},children:e.items.map(t=>{let m=p(t.index,t.data,w);return h?(0,u.jsx)(b,{...Q(b,w),height:e.itemHeight,index:t.index,width:e.itemWidth},m):(0,d.createElement)(y,{...Q(y,w),className:r,"data-index":t.index,key:m},s(t.index,t.data,w))})})}),e8=d.memo(function(){let e=ti("HeaderComponent"),t=tl("headerHeight"),r=ti("headerFooterTag"),s=Vt(d.useMemo(()=>e=>{t(zt(e,"height"))},[t]),!0,!1),p=ti("context");return e?(0,u.jsx)(r,{ref:s,children:(0,u.jsx)(e,{...Q(e,p)})}):null}),e7=d.memo(function(){let e=ti("FooterComponent"),t=tl("footerHeight"),r=ti("headerFooterTag"),s=Vt(d.useMemo(()=>e=>{t(zt(e,"height"))},[t]),!0,!1),p=ti("context");return e?(0,u.jsx)(r,{ref:s,children:(0,u.jsx)(e,{...Q(e,p)})}):null}),Ar=({children:e})=>{let t=d.useContext(eh),r=tl("itemDimensions"),s=tl("viewportDimensions"),p=Vt(d.useMemo(()=>e=>{s(e.getBoundingClientRect())},[s]),!0,!1);return d.useEffect(()=>{t&&(s({height:t.viewportHeight,width:t.viewportWidth}),r({height:t.itemHeight,width:t.itemWidth}))},[t,s,r]),(0,u.jsx)("div",{ref:p,style:te(!1),children:e})},Wr=({children:e})=>{let t=d.useContext(eh),r=tl("windowViewportRect"),s=tl("itemDimensions"),p=ti("customScrollParent"),h=Ne(r,p,!1);return d.useEffect(()=>{t&&(s({height:t.itemHeight,width:t.itemWidth}),r({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,r,s]),(0,u.jsx)("div",{ref:h,style:te(!1),children:e})},tn=d.memo(function({...e}){let t=ti("useWindowScroll"),r=ti("customScrollParent"),s=r||t?ts:ta,d=r||t?Wr:Ar,p=ti("context");return(0,u.jsx)(s,{...e,...Q(s,p),children:(0,u.jsxs)(d,{children:[(0,u.jsx)(e8,{}),(0,u.jsx)(e9,{}),(0,u.jsx)(e7,{})]})})}),{Component:tr,useEmitter:to,useEmitterValue:ti,usePublisher:tl}=Ye(e5,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",restoreStateFrom:"restoreStateFrom",initialTopMostItemIndex:"initialTopMostItemIndex",increaseViewportBy:"increaseViewportBy"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",stateChanged:"stateChanged",readyStateChanged:"readyStateChanged"}},tn),ta=Je({useEmitter:to,useEmitterValue:ti,usePublisher:tl}),ts=Qe({useEmitter:to,useEmitterValue:ti,usePublisher:tl});function kn(e,t,r){return"normal"===t||null!=t&&t.endsWith("px")||r(`${e} was not resolved to pixel value correctly`,t,m.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}},38606:function(e,t,r){"use strict";function ccount(e,t){let r=String(e);if("string"!=typeof t)throw TypeError("Expected character");let s=0,u=r.indexOf(t);for(;-1!==u;)s++,u=r.indexOf(t,u+t.length);return s}r.d(t,{Z:function(){return remarkGfm}});var s=r(45256),u=r(80027);let convert=function(e){if(null==e)return ok;if("function"==typeof e)return castFactory(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r<e.length;)t[r]=convert(e[r]);return castFactory(function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1})}(e):castFactory(function(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0});if("string"==typeof e)return castFactory(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function castFactory(e){return function(t,r,s){var u;return!!(null!==(u=t)&&"object"==typeof u&&"type"in u&&e.call(this,t,"number"==typeof r?r:void 0,s||void 0))}}function ok(){return!0}let d=[],p="phrasing",h=["autolink","link","image","label"];function enterLiteralAutolink(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function enterLiteralAutolinkValue(e){this.config.enter.autolinkProtocol.call(this,e)}function exitLiteralAutolinkHttp(e){this.config.exit.autolinkProtocol.call(this,e)}function exitLiteralAutolinkWww(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,s.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function exitLiteralAutolinkEmail(e){this.config.exit.autolinkEmail.call(this,e)}function exitLiteralAutolink(e){this.exit(e)}function transformGfmAutolinkLiterals(e){!function(e,t,r){let s=convert((r||{}).ignore||[]),u=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],s=-1;for(;++s<r.length;){var u;let e=r[s];t.push(["string"==typeof(u=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(u),"g"):u,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),p=-1;for(;++p<u.length;)!function(e,t,r,s){let u;"function"==typeof t&&"function"!=typeof r?(s=r,r=t):u=t;let p=convert(u),h=s?-1:1;(function factory(e,u,m){let y=e&&"object"==typeof e?e:{};if("string"==typeof y.type){let t="string"==typeof y.tagName?y.tagName:"string"==typeof y.name?y.name:void 0;Object.defineProperty(visit,"name",{value:"node ("+e.type+(t?"<"+t+">":"")+")"})}return visit;function visit(){var y;let v,b,w,S=d;if((!t||p(e,u,m[m.length-1]||void 0))&&!1===(S=Array.isArray(y=r(e,m))?y:"number"==typeof y?[!0,y]:null==y?d:[y])[0])return S;if("children"in e&&e.children&&e.children&&"skip"!==S[0])for(b=(s?e.children.length:-1)+h,w=m.concat(e);b>-1&&b<e.children.length;){let t=e.children[b];if(!1===(v=factory(t,b,w)())[0])return v;b="number"==typeof v[1]?v[1]:b+h}return S}})(e,void 0,[])()}(e,"text",visitor);function visitor(e,t){let r,d=-1;for(;++d<t.length;){let e=t[d],u=r?r.children:void 0;if(s(e,u?u.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){let r=t[t.length-1],s=u[p][0],d=u[p][1],h=0,m=r.children,y=m.indexOf(e),v=!1,b=[];s.lastIndex=0;let w=s.exec(e.value);for(;w;){let r=w.index,u={index:w.index,input:w.input,stack:[...t,e]},p=d(...w,u);if("string"==typeof p&&(p=p.length>0?{type:"text",value:p}:void 0),!1===p?s.lastIndex=r+1:(h!==r&&b.push({type:"text",value:e.value.slice(h,r)}),Array.isArray(p)?b.push(...p):p&&b.push(p),h=r+w[0].length,v=!0),!s.global)break;w=s.exec(e.value)}return v?(h<e.value.length&&b.push({type:"text",value:e.value.slice(h)}),r.children.splice(y,1,...b)):b=[e],y+b.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,findUrl],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,findEmail]],{ignore:["link","linkReference"]})}function findUrl(e,t,r,s,u){let d="";if(!previous(u)||(/^w/i.test(t)&&(r=t+r,t="",d="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(r)))return!1;let p=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],s=r.indexOf(")"),u=ccount(e,"("),d=ccount(e,")");for(;-1!==s&&u>d;)e+=r.slice(0,s+1),s=(r=r.slice(s+1)).indexOf(")"),d++;return[e,r]}(r+s);if(!p[0])return!1;let h={type:"link",title:null,url:d+t+p[0],children:[{type:"text",value:t+p[0]}]};return p[1]?[h,{type:"text",value:p[1]}]:h}function findEmail(e,t,r,s){return!(!previous(s,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function previous(e,t){let r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,u.B8)(r)||(0,u.Xh)(r))&&(!t||47!==r)}var m=r(36910);function enterFootnoteCallString(){this.buffer()}function enterFootnoteCall(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function enterFootnoteDefinitionLabelString(){this.buffer()}function enterFootnoteDefinition(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function exitFootnoteCallString(e){let t=this.resume(),r=this.stack[this.stack.length-1];(0,s.ok)("footnoteReference"===r.type),r.identifier=(0,m.d)(this.sliceSerialize(e)).toLowerCase(),r.label=t}function exitFootnoteCall(e){this.exit(e)}function exitFootnoteDefinitionLabelString(e){let t=this.resume(),r=this.stack[this.stack.length-1];(0,s.ok)("footnoteDefinition"===r.type),r.identifier=(0,m.d)(this.sliceSerialize(e)).toLowerCase(),r.label=t}function exitFootnoteDefinition(e){this.exit(e)}function footnoteReference(e,t,r,s){let u=r.createTracker(s),d=u.move("[^"),p=r.enter("footnoteReference"),h=r.enter("reference");return d+=u.move(r.safe(r.associationId(e),{after:"]",before:d})),h(),p(),d+=u.move("]")}function mapExceptFirst(e,t,r){return 0===t?e:mapAll(e,t,r)}function mapAll(e,t,r){return(r?"":" ")+e}footnoteReference.peek=function(){return"["};let y=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function enterStrikethrough(e){this.enter({type:"delete",children:[]},e)}function exitStrikethrough(e){this.exit(e)}function handleDelete(e,t,r,s){let u=r.createTracker(s),d=r.enter("strikethrough"),p=u.move("~~");return p+=r.containerPhrasing(e,{...u.current(),before:p,after:"~"})+u.move("~~"),d(),p}function defaultStringLength(e){return e.length}function toAlignment(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function map(e,t,r){return">"+(r?"":" ")+e}function listInScope(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let s=-1;for(;++s<t.length;)if(e.includes(t[s]))return!0;return!1}function hardBreak(e,t,r,s){let u=-1;for(;++u<r.unsafe.length;){var d,p;if("\n"===r.unsafe[u].character&&listInScope(d=r.stack,(p=r.unsafe[u]).inConstruct,!0)&&!listInScope(d,p.notInConstruct,!1))return/[ \t]/.test(s.before)?"":" "}return"\\\n"}function code_map(e,t,r){return(r?"":" ")+e}function checkQuote(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function encodeCharacterReference(e){return"&#x"+e.toString(16).toUpperCase()+";"}handleDelete.peek=function(){return"~"};var v=r(20898);function encodeInfo(e,t,r){let s=(0,v.r)(e),u=(0,v.r)(t);return void 0===s?void 0===u?"_"===r?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===u?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===s?void 0===u?{inside:!1,outside:!1}:1===u?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===u?{inside:!1,outside:!1}:1===u?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function emphasis(e,t,r,s){let u=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(r),d=r.enter("emphasis"),p=r.createTracker(s),h=p.move(u),m=p.move(r.containerPhrasing(e,{after:u,before:h,...p.current()})),y=m.charCodeAt(0),v=encodeInfo(s.before.charCodeAt(s.before.length-1),y,u);v.inside&&(m=encodeCharacterReference(y)+m.slice(1));let b=m.charCodeAt(m.length-1),w=encodeInfo(s.after.charCodeAt(0),b,u);w.inside&&(m=m.slice(0,-1)+encodeCharacterReference(b));let S=p.move(u);return d(),r.attentionEncodeSurroundingInfo={after:w.outside,before:v.outside},h+m+S}emphasis.peek=function(e,t,r){return r.options.emphasis||"*"};let lib_convert=function(e){if(null==e)return lib_ok;if("function"==typeof e)return lib_castFactory(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r<e.length;)t[r]=lib_convert(e[r]);return lib_castFactory(function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1})}(e):lib_castFactory(function(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0});if("string"==typeof e)return lib_castFactory(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function lib_castFactory(e){return function(t,r,s){var u;return!!(null!==(u=t)&&"object"==typeof u&&"type"in u&&e.call(this,t,"number"==typeof r?r:void 0,s||void 0))}}function lib_ok(){return!0}let b=[];var w=r(34804);function html(e){return e.value||""}function image_image(e,t,r,s){let u=checkQuote(r),d='"'===u?"Quote":"Apostrophe",p=r.enter("image"),h=r.enter("label"),m=r.createTracker(s),y=m.move("![");return y+=m.move(r.safe(e.alt,{before:y,after:"]",...m.current()}))+m.move("]("),h(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(h=r.enter("destinationLiteral"),y+=m.move("<"),y+=m.move(r.safe(e.url,{before:y,after:">",...m.current()}))+m.move(">")):(h=r.enter("destinationRaw"),y+=m.move(r.safe(e.url,{before:y,after:e.title?" ":")",...m.current()}))),h(),e.title&&(h=r.enter(`title${d}`),y+=m.move(" "+u),y+=m.move(r.safe(e.title,{before:y,after:u,...m.current()}))+m.move(u),h()),y+=m.move(")"),p(),y}function imageReference(e,t,r,s){let u=e.referenceType,d=r.enter("imageReference"),p=r.enter("label"),h=r.createTracker(s),m=h.move("!["),y=r.safe(e.alt,{before:m,after:"]",...h.current()});m+=h.move(y+"]["),p();let v=r.stack;r.stack=[],p=r.enter("reference");let b=r.safe(r.associationId(e),{before:m,after:"]",...h.current()});return p(),r.stack=v,d(),"full"!==u&&y&&y===b?"shortcut"===u?m=m.slice(0,-1):m+=h.move("]"):m+=h.move(b+"]"),m}function inlineCode(e,t,r){let s=e.value||"",u="`",d=-1;for(;RegExp("(^|[^`])"+u+"([^`]|$)").test(s);)u+="`";for(/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^`|`$/.test(s))&&(s=" "+s+" ");++d<r.unsafe.length;){let e;let t=r.unsafe[d],u=r.compilePattern(t);if(t.atBreak)for(;e=u.exec(s);){let t=e.index;10===s.charCodeAt(t)&&13===s.charCodeAt(t-1)&&t--,s=s.slice(0,t)+" "+s.slice(e.index+1)}}return u+s+u}function formatLinkAsAutolink(e,t){let r=(0,w.B)(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function link_link(e,t,r,s){let u,d;let p=checkQuote(r),h='"'===p?"Quote":"Apostrophe",m=r.createTracker(s);if(formatLinkAsAutolink(e,r)){let t=r.stack;r.stack=[],u=r.enter("autolink");let s=m.move("<");return s+=m.move(r.containerPhrasing(e,{before:s,after:">",...m.current()}))+m.move(">"),u(),r.stack=t,s}u=r.enter("link"),d=r.enter("label");let y=m.move("[");return y+=m.move(r.containerPhrasing(e,{before:y,after:"](",...m.current()}))+m.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=r.enter("destinationLiteral"),y+=m.move("<"),y+=m.move(r.safe(e.url,{before:y,after:">",...m.current()}))+m.move(">")):(d=r.enter("destinationRaw"),y+=m.move(r.safe(e.url,{before:y,after:e.title?" ":")",...m.current()}))),d(),e.title&&(d=r.enter(`title${h}`),y+=m.move(" "+p),y+=m.move(r.safe(e.title,{before:y,after:p,...m.current()}))+m.move(p),d()),y+=m.move(")"),u(),y}function linkReference(e,t,r,s){let u=e.referenceType,d=r.enter("linkReference"),p=r.enter("label"),h=r.createTracker(s),m=h.move("["),y=r.containerPhrasing(e,{before:m,after:"]",...h.current()});m+=h.move(y+"]["),p();let v=r.stack;r.stack=[],p=r.enter("reference");let b=r.safe(r.associationId(e),{before:m,after:"]",...h.current()});return p(),r.stack=v,d(),"full"!==u&&y&&y===b?"shortcut"===u?m=m.slice(0,-1):m+=h.move("]"):m+=h.move(b+"]"),m}function checkBullet(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Ca
1nnot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function checkRule(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}html.peek=function(){return"<"},image_image.peek=function(){return"!"},imageReference.peek=function(){return"!"},inlineCode.peek=function(){return"`"},link_link.peek=function(e,t,r){return formatLinkAsAutolink(e,r)?"<":"["},linkReference.peek=function(){return"["};let unist_util_is_lib_convert=function(e){if(null==e)return unist_util_is_lib_ok;if("function"==typeof e)return unist_util_is_lib_castFactory(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r<e.length;)t[r]=unist_util_is_lib_convert(e[r]);return unist_util_is_lib_castFactory(function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1})}(e):unist_util_is_lib_castFactory(function(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0});if("string"==typeof e)return unist_util_is_lib_castFactory(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function unist_util_is_lib_castFactory(e){return function(t,r,s){var u;return!!(null!==(u=t)&&"object"==typeof u&&"type"in u&&e.call(this,t,"number"==typeof r?r:void 0,s||void 0))}}function unist_util_is_lib_ok(){return!0}let S=unist_util_is_lib_convert(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function strong(e,t,r,s){let u=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(r),d=r.enter("strong"),p=r.createTracker(s),h=p.move(u+u),m=p.move(r.containerPhrasing(e,{after:u,before:h,...p.current()})),y=m.charCodeAt(0),v=encodeInfo(s.before.charCodeAt(s.before.length-1),y,u);v.inside&&(m=encodeCharacterReference(y)+m.slice(1));let b=m.charCodeAt(m.length-1),w=encodeInfo(s.after.charCodeAt(0),b,u);w.inside&&(m=m.slice(0,-1)+encodeCharacterReference(b));let S=p.move(u+u);return d(),r.attentionEncodeSurroundingInfo={after:w.outside,before:v.outside},h+m+S}strong.peek=function(e,t,r){return r.options.strong||"*"};let _={blockquote:function(e,t,r,s){let u=r.enter("blockquote"),d=r.createTracker(s);d.move("> "),d.shift(2);let p=r.indentLines(r.containerFlow(e,d.current()),map);return u(),p},break:hardBreak,code:function(e,t,r,s){let u=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(r),d=e.value||"",p="`"===u?"GraveAccent":"Tilde";if(!1===r.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=r.enter("codeIndented"),t=r.indentLines(d,code_map);return e(),t}let h=r.createTracker(s),m=u.repeat(Math.max(function(e,t){let r=String(e),s=r.indexOf(t),u=s,d=0,p=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==s;)s===u?++d>p&&(p=d):d=1,u=s+t.length,s=r.indexOf(t,u);return p}(d,u)+1,3)),y=r.enter("codeFenced"),v=h.move(m);if(e.lang){let t=r.enter(`codeFencedLang${p}`);v+=h.move(r.safe(e.lang,{before:v,after:" ",encode:["`"],...h.current()})),t()}if(e.lang&&e.meta){let t=r.enter(`codeFencedMeta${p}`);v+=h.move(" "),v+=h.move(r.safe(e.meta,{before:v,after:"\n",encode:["`"],...h.current()})),t()}return v+=h.move("\n"),d&&(v+=h.move(d+"\n")),v+=h.move(m),y(),v},definition:function(e,t,r,s){let u=checkQuote(r),d='"'===u?"Quote":"Apostrophe",p=r.enter("definition"),h=r.enter("label"),m=r.createTracker(s),y=m.move("[");return y+=m.move(r.safe(r.associationId(e),{before:y,after:"]",...m.current()}))+m.move("]: "),h(),!e.url||/[\0- \u007F]/.test(e.url)?(h=r.enter("destinationLiteral"),y+=m.move("<"),y+=m.move(r.safe(e.url,{before:y,after:">",...m.current()}))+m.move(">")):(h=r.enter("destinationRaw"),y+=m.move(r.safe(e.url,{before:y,after:e.title?" ":"\n",...m.current()}))),h(),e.title&&(h=r.enter(`title${d}`),y+=m.move(" "+u),y+=m.move(r.safe(e.title,{before:y,after:u,...m.current()}))+m.move(u),h()),p(),y},emphasis:emphasis,hardBreak:hardBreak,heading:function(e,t,r,s){var u,d;let p,h,m,y;let v=Math.max(Math.min(6,e.depth||1),1),S=r.createTracker(s);if(p=!1,"function"==typeof(u=function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return p=!0,!1})&&"function"!=typeof d?(m=void 0,y=u,h=d):(m=u,y=d,h=void 0),function(e,t,r,s){let u;"function"==typeof t&&"function"!=typeof r?(s=r,r=t):u=t;let d=lib_convert(u),p=s?-1:1;(function factory(e,u,h){let m=e&&"object"==typeof e?e:{};if("string"==typeof m.type){let t="string"==typeof m.tagName?m.tagName:"string"==typeof m.name?m.name:void 0;Object.defineProperty(visit,"name",{value:"node ("+e.type+(t?"<"+t+">":"")+")"})}return visit;function visit(){var m;let y,v,w,S=b;if((!t||d(e,u,h[h.length-1]||void 0))&&!1===(S=Array.isArray(m=r(e,h))?m:"number"==typeof m?[!0,m]:null==m?b:[m])[0])return S;if("children"in e&&e.children&&e.children&&"skip"!==S[0])for(v=(s?e.children.length:-1)+p,w=h.concat(e);v>-1&&v<e.children.length;){let t=e.children[v];if(!1===(y=factory(t,v,w)())[0])return y;v="number"==typeof y[1]?y[1]:v+p}return S}})(e,void 0,[])()}(e,m,function(e,t){let r=t[t.length-1],s=r?r.children.indexOf(e):void 0;return y(e,s,r)},h),(!e.depth||e.depth<3)&&(0,w.B)(e)&&(r.options.setext||p)){let t=r.enter("headingSetext"),s=r.enter("phrasing"),u=r.containerPhrasing(e,{...S.current(),before:"\n",after:"\n"});return s(),t(),u+"\n"+(1===v?"=":"-").repeat(u.length-(Math.max(u.lastIndexOf("\r"),u.lastIndexOf("\n"))+1))}let _="#".repeat(v),O=r.enter("headingAtx"),E=r.enter("phrasing");S.move(_+" ");let T=r.containerPhrasing(e,{before:"# ",after:"\n",...S.current()});return/^[\t ]/.test(T)&&(T=encodeCharacterReference(T.charCodeAt(0))+T.slice(1)),T=T?_+" "+T:_,r.options.closeAtx&&(T+=" "+_),E(),O(),T},html:html,image:image_image,imageReference:imageReference,inlineCode:inlineCode,link:link_link,linkReference:linkReference,list:function(e,t,r,s){let u=r.enter("list"),d=r.bulletCurrent,p=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(r):checkBullet(r),h=e.ordered?"."===p?")":".":function(e){let t=checkBullet(e),r=e.options.bulletOther;if(!r)return"*"===t?"-":"*";if("*"!==r&&"+"!==r&&"-"!==r)throw Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}(r),m=!!t&&!!r.bulletLastUsed&&p===r.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==p&&"-"!==p||!t||t.children&&t.children[0]||"list"!==r.stack[r.stack.length-1]||"listItem"!==r.stack[r.stack.length-2]||"list"!==r.stack[r.stack.length-3]||"listItem"!==r.stack[r.stack.length-4]||0!==r.indexStack[r.indexStack.length-1]||0!==r.indexStack[r.indexStack.length-2]||
10!==r.indexStack[r.indexStack.length-3]||(m=!0),checkRule(r)===p&&t){let t=-1;for(;++t<e.children.length;){let r=e.children[t];if(r&&"listItem"===r.type&&r.children&&r.children[0]&&"thematicBreak"===r.children[0].type){m=!0;break}}}}m&&(p=h),r.bulletCurrent=p;let y=r.containerFlow(e,s);return r.bulletLastUsed=p,r.bulletCurrent=d,u(),y},listItem:function(e,t,r,s){let u=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r),d=r.bulletCurrent||checkBullet(r);t&&"list"===t.type&&t.ordered&&(d=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+d);let p=d.length+1;("tab"===u||"mixed"===u&&(t&&"list"===t.type&&t.spread||e.spread))&&(p=4*Math.ceil(p/4));let h=r.createTracker(s);h.move(d+" ".repeat(p-d.length)),h.shift(p);let m=r.enter("listItem"),y=r.indentLines(r.containerFlow(e,h.current()),function(e,t,r){return t?(r?"":" ".repeat(p))+e:(r?d:d+" ".repeat(p-d.length))+e});return m(),y},paragraph:function(e,t,r,s){let u=r.enter("paragraph"),d=r.enter("phrasing"),p=r.containerPhrasing(e,s);return d(),u(),p},root:function(e,t,r,s){let u=e.children.some(function(e){return S(e)}),d=u?r.containerPhrasing:r.containerFlow;return d.call(r,e,s)}
1,strong:strong,text:function(e,t,r,s){return r.safe(e.value,s)},thematicBreak:function(e,t,r){let s=(checkRule(r)+(r.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(r));return r.options.ruleSpaces?s.slice(0,-1):s}};function enterTable(e){let t=e._align;(0,s.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function exitTable(e){this.exit(e),this.data.inTable=void 0}function enterRow(e){this.enter({type:"tableRow",children:[]},e)}function exit(e){this.exit(e)}function enterCell(e){this.enter({type:"tableCell",children:[]},e)}function exitCodeText(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,replace));let r=this.stack[this.stack.length-1];(0,s.ok)("inlineCode"===r.type),r.value=t,this.exit(e)}function replace(e,t){return"|"===t?t:e}function exitCheck(e){let t=this.stack[this.stack.length-2];(0,s.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function exitParagraphWithTaskListItem(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,s.ok)("paragraph"===e.type);let r=e.children[0];if(r&&"text"===r.type){let s;let u=t.children,d=-1;for(;++d<u.length;){let e=u[d];if("paragraph"===e.type){s=e;break}}s===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function listItemWithTaskListItem(e,t,r,s){let u=e.children[0],d="boolean"==typeof e.checked&&u&&"paragraph"===u.type,p="["+(e.checked?"x":" ")+"] ",h=r.createTracker(s);d&&h.move(p);let m=_.listItem(e,t,r,{...s,...h.current()});return d&&(m=m.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+p})),m}var O=r(87842);let E={tokenize:function(e,t,r){let s=0;return function wwwPrefixInside(t){return(87===t||119===t)&&s<3?(s++,e.consume(t),wwwPrefixInside):46===t&&3===s?(e.consume(t),wwwPrefixAfter):r(t)};function wwwPrefixAfter(e){return null===e?r(e):t(e)}},partial:!0},T={tokenize:function(e,t,r){let s,d,p;return domainInside;function domainInside(t){return 46===t||95===t?e.check(z,domainAfter,domainAtPunctuation)(t):null===t||(0,u.z3)(t)||(0,u.B8)(t)||45!==t&&(0,u.Xh)(t)?domainAfter(t):(p=!0,e.consume(t),domainInside)}function domainAtPunctuation(t){return 95===t?s=!0:(d=s,s=void 0),e.consume(t),domainInside}function domainAfter(e){return d||s||!p?r(e):t(e)}},partial:!0},A={tokenize:function(e,t){let r=0,s=0;return pathInside;function pathInside(d){return 40===d?(r++,e.consume(d),pathInside):41===d&&s<r?pathAtPunctuation(d):33===d||34===d||38===d||39===d||41===d||42===d||44===d||46===d||58===d||59===d||60===d||63===d||93===d||95===d||126===d?e.check(z,t,pathAtPunctuation)(d):null===d||(0,u.z3)(d)||(0,u.B8)(d)?t(d):(e.consume(d),pathInside)}function pathAtPunctuation(t){return 41===t&&s++,e.consume(t),pathInside}},partial:!0},z={tokenize:function(e,t,r){return trail;function trail(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(e.consume(s),trail):38===s?(e.consume(s),trailCharacterReferenceStart):93===s?(e.consume(s),trailBracketAfter):60===s||null===s||(0,u.z3)(s)||(0,u.B8)(s)?t(s):r(s)}function trailBracketAfter(e){return null===e||40===e||91===e||(0,u.z3)(e)||(0,u.B8)(e)?t(e):trail(e)}function trailCharacterReferenceStart(t){return(0,u.jv)(t)?function trailCharacterReferenceInside(t){return 59===t?(e.consume(t),trail):(0,u.jv)(t)?(e.consume(t),trailCharacterReferenceInside):r(t)}(t):r(t)}},partial:!0},D={tokenize:function(e,t,r){return function(t){return e.consume(t),after};function after(e){return(0,u.H$)(e)?r(e):t(e)}},partial:!0},j={name:"wwwAutolink",tokenize:function(e,t,r){let s=this;return function(t){return 87!==t&&119!==t||!previousWww.call(s,s.previous)||previousUnbalanced(s.events)?r(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(E,e.attempt(T,e.attempt(A,wwwAfter),r),r)(t))};function wwwAfter(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:previousWww},R={name:"protocolAutolink",tokenize:function(e,t,r){let s=this,d="",p=!1;return function(t){return(72===t||104===t)&&previousProtocol.call(s,s.previous)&&!previousUnbalanced(s.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),d+=String.fromCodePoint(t),e.consume(t),protocolPrefixInside):r(t)};function protocolPrefixInside(t){if((0,u.jv)(t)&&d.length<5)return d+=String.fromCodePoint(t),e.consume(t),protocolPrefixInside;if(58===t){let r=d.toLowerCase();if("http"===r||"https"===r)return e.consume(t),protocolSlashesInside}return r(t)}function protocolSlashesInside(t){return 47===t?(e.consume(t),p)?afterProtocol:(p=!0,protocolSlashesInside):r(t)}function afterProtocol(t){return null===t||(0,u.Av)(t)||(0,u.z3)(t)||(0,u.B8)(t)||(0,u.Xh)(t)?r(t):e.attempt(T,e.attempt(A,protocolAfter),r)(t)}function protocolAfter(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:previousProtocol},L={name:"emailAutolink",tokenize:function(e,t,r){let s,d;let p=this;return function(t){return!gfmAtext(t)||!previousEmail.call(p,p.previous)||previousUnbalanced(p.events)?r(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function atext(t){return gfmAtext(t)?(e.consume(t),atext):64===t?(e.consume(t),emailDomain):r(t)}(t))};function emailDomain(t){return 46===t?e.check(D,emailDomainAfter,emailDomainDot)(t):45===t||95===t||(0,u.H$)(t)?(d=!0,e.consume(t),emailDomain):emailDomainAfter(t)}function emailDomainDot(t){return e.consume(t),s=!0,emailDomain}function emailDomainAfter(h){return d&&s&&(0,u.jv)(p.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):r(h)}},previous:previousEmail},M={},N=48;for(;N<123;)M[N]=L,58==++N?N=65:91===N&&(N=97);function previousWww(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,u.z3)(e)}function previousProtocol(e){return!(0,u.jv)(e)}function previousEmail(e){return!(47===e||gfmAtext(e))}function gfmAtext(e){return 43===e||45===e||46===e||95===e||(0,u.H$)(e)}function previousUnbalanced(e){let t=e.length,r=!1;for(;t--;){let s=e[t][1];if(("labelLink"===s.type||"labelImage"===s.type)&&!s._balanced){r=!0;break}if(s._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}M[43]=L,M[45]=L,M[46]=L,M[95]=L,M[72]=[L,R],M[104]=[L,R],M[87]=[L,j],M[119]=[L,j];var B=r(8466),H=r(72473);let W={tokenize:function(e,t,r){let s=this;return(0,H.f)(e,function(e){let u=s.events[s.events.length-1];return u&&"gfmFootnoteDefinitionIndent"===u[1].type&&4===u[2].sliceSerialize(u[1],!0).length?t(e):r(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function tokenizePotentialGfmFootnoteCall(e,t,r){let s;let u=this,d=u.events.length,p=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);for(;d--;){let e=u.events[d][1];if("labelImage"===e.type){s=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(d){if(!s||!s._balanced)return r(d);let h=(0,m.d)(u.sliceSerialize({start:s.end,end:u.now()}));return 94===h.codePointAt(0)&&p.includes(h.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),t(d)):r(d)}}function resolveToPotentialGfmFootnoteCall(e,t){let r=e.length;for(;r--;
1)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let s={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;let d={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},p={type:"chunkString",contentType:"string",start:Object.assign({},d.start),end:Object.assign({},d.end)},h=[e[r+1],e[r+2],["enter",s,t],e[r+3],e[r+4],["enter",u,t],["exit",u,t],["enter",d,t],["enter",p,t],["exit",p,t],["exit",d,t],e[e.length-2],e[e.length-1],["exit",s,t]];return e.splice(r,e.length-r+1,...h),e}function tokenizeGfmFootnoteCall(e,t,r){let s;let d=this,p=d.parser.gfmFootnotes||(d.parser.gfmFootnotes=[]),h=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),callStart};function callStart(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",callData)}function callData(y){if(h>999||93===y&&!s||null===y||91===y||(0,u.z3)(y))return r(y);if(93===y){e.exit("chunkString");let s=e.exit("gfmFootnoteCallString");return p.includes((0,m.d)(d.sliceSerialize(s)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(y),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(y)}return(0,u.z3)(y)||(s=!0),h++,e.consume(y),92===y?callEscape:callData}function callEscape(t){return 91===t||92===t||93===t?(e.consume(t),h++,callData):callData(t)}}function tokenizeDefinitionStart(e,t,r){let s,d;let p=this,h=p.parser.gfmFootnotes||(p.parser.gfmFootnotes=[]),y=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),labelAtMarker};function labelAtMarker(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",labelInside):r(t)}function labelInside(t){if(y>999||93===t&&!d||null===t||91===t||(0,u.z3)(t))return r(t);if(93===t){e.exit("chunkString");let r=e.exit("gfmFootnoteDefinitionLabelString");return s=(0,m.d)(p.sliceSerialize(r)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),labelAfter}return(0,u.z3)(t)||(d=!0),y++,e.consume(t),92===t?labelEscape:labelInside}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),y++,labelInside):labelInside(t)}function labelAfter(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),h.includes(s)||h.push(s),(0,H.f)(e,whitespaceAfter,"gfmFootnoteDefinitionWhitespace")):r(t)}function whitespaceAfter(e){return t(e)}}function tokenizeDefinitionContinuation(e,t,r){return e.check(B.w,t,e.attempt(W,t,r))}function gfmFootnoteDefinitionEnd(e){e.exit("gfmFootnoteDefinition")}var q=r(98391),G=r(27828);let EditMap=class EditMap{constructor(){this.map=[]}add(e,t,r){!function(e,t,r,s){let u=0;if(0!==r||0!==s.length){for(;u<e.map.length;){if(e.map[u][0]===t){e.map[u][1]+=r,e.map[u][2].push(...s);return}u+=1}e.map.push([t,r,s])}}(this,e,t,r)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,r=[];for(;t>0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];r.push(e.slice()),e.length=0;let s=r.pop();for(;s;){for(let t of s)e.push(t);s=r.pop()}this.map.length=0}};function tokenizeTable(e,t,r){let s;let d=this,p=0,h=0;return function(e){let t=d.events.length-1;for(;t>-1;){let e=d.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let s=t>-1?d.events[t][1].type:null,u="tableHead"===s||"tableRow"===s?bodyRowStart:headRowBefore;return u===bodyRowStart&&d.parser.lazy[d.now().line]?r(e):u(e)};function headRowBefore(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(s=!0,h+=1),headRowBreak(t)}function headRowBreak(t){return null===t?r(t):(0,u.Ch)(t)?h>1?(h=0,d.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),headDelimiterStart):r(t):(0,u.xz)(t)?(0,H.f)(e,headRowBreak,"whitespace")(t):(h+=1,s&&(s=!1,p+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),s=!0,headRowBreak):(e.enter("data"),headRowData(t))}function headRowData(t){return null===t||124===t||(0,u.z3)(t)?(e.exit("data"),headRowBreak(t)):(e.consume(t),92===t?headRowEscape:headRowData)}function headRowEscape(t){return 92===t||124===t?(e.consume(t),headRowData):headRowData(t)}function headDelimiterStart(t){return(d.interrupt=!1,d.parser.lazy[d.now().line])?r(t):(e.enter("tableDelimiterRow"),s=!1,(0,u.xz)(t))?(0,H.f)(e,headDelimiterBefore,"linePrefix",d.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):headDelimiterBefore(t)}function headDelimiterBefore(t){return 45===t||58===t?headDelimiterValueBefore(t):124===t?(s=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),headDelimiterCellBefore):r(t)}function headDelimiterCellBefore(t){return(0,u.xz)(t)?(0,H.f)(e,headDelimiterValueBefore,"whitespace")(t):headDelimiterValueBefore(t)}function headDelimiterValueBefore(t){return 58===t?(h+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),headDelimiterLeftAlignmentAfter):45===t?(h+=1,headDelimiterLeftAlignmentAfter(t)):null===t||(0,u.Ch)(t)?headDelimiterCellAfter(t):r(t)}function headDelimiterLeftAlignmentAfter(t){return 45===t?(e.enter("tableDelimiterFiller"),function headDelimiterFiller(t){return 45===t?(e.consume(t),headDelimiterFiller):58===t?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),headDelimiterRightAlignmentAfter):(e.exit("tableDelimiterFiller"),headDelimiterRightAlignmentAfter(t))}(t)):r(t)}function headDelimiterRightAlignmentAfter(t){return(0,u.xz)(t)?(0,H.f)(e,headDelimiterCellAfter,"whitespace")(t):headDelimiterCellAfter(t)}function headDelimiterCellAfter(d){return 124===d?headDelimiterBefore(d):null===d||(0,u.Ch)(d)?s&&p===h?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(d)):r(d):r(d)}function bodyRowStart(t){return e.enter("tableRow"),bodyRowBreak(t)}function bodyRowBreak(r){return 124===r?(e.enter("tableCellDivider"),e.consume(r),e.exit("tableCellDivider"),bodyRowBreak):null===r||(0,u.Ch)(r)?(e.exit("tableRow"),t(r)):(0,u.xz)(r)?(0,H.f)(e,bodyRowBreak,"whitespace")(r):(e.enter("data"),bodyRowData(r))}function bodyRowData(t){return null===t||124===t||(0,u.z3)(t)?(e.exit("data"),bodyRowBreak(t)):(e.consume(t),92===t?bodyRowEscape:bodyRowData)}function bodyRowEscape(t){return 92===t||124===t?(e.consume(t),bodyRowData):bodyRowData(t)}}function resolveTable(e,t){let r,s,u,d=-1,p=!0,h=0,m=[0,0,0,0],y=[0,0,0,0],v=!1,b=0,w=new EditMap;for(;++d<e.length;){let S=e[d],_=S[1];"enter"===S[0]?"tableHead"===_.type?(v=!1,0!==b&&(flushTableEnd(w,t,b,r,s),s=void 0,b=0),r={type:"table",start:Object.assign({},_.start),end:Object.assign({},_.end)},w.add(d,0,[["enter",r,t]])):"tableRow"===_.type||"tableDelimiterRow"===_.type?(p=!0,u=void 0,m=[0,0,0,0],y=[0,d+1,0,0],v&&(v=!1,s={type:"tableBody",start:Object.assign({},_.start),end:Object.assign({},_.end)},w.add(d,0,[["enter",s,t]])),h="tableDelimiterRow"===_.type?2:s?3:1):h&&("data"===_.type||"tableDelimiterMarker"===_.type||"tableDelimiterFiller"===_.type)?(p=!1,0===y[2]&&(0!==m[1]&&(y[0]=y[1],u=flushCell(w,t,m,h,void 0,u),m=[0,0,0,0]),y[2]=d)):"tableCellDivider"===_.type&&(p?p=!1:(0!==m[1]&&(y[0]=y[1],u=flushCell(w,t,m,h,void 0,u)),y=[(m=y)[1],d,0,0])):"tableHead"===_.type?(v=!0,b=d):"tableRow"===_.type||"tableDelimiterRow"===_.type?(b=d,0!==m[1]?(y[0]=y[1],u=flushCell(w,t,m,h,d,u)):0!==y[1]&&(u=flushCell(w,t,y,h,d,u)),h=0):h&&("data"===_.type||"tableDelimiterMarker"===_.type||"tableDelimiterFiller"===_.type)&&(y[3]=d)}for(0!==b&&flushTableEnd(w,t,b,r,s),w.consume(t.events),d=-1;++d<t.events.length;){let e=t.events[d];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let r=!1,s=[];for(;t<e.length;){let u=e[t];if(r){if("enter"===u[0])"tableContent"===u[1].type&&s.push("tableDelimiterMarker"===e[t+1][1].type?"left"
1:"none");else if("tableContent"===u[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=s.length-1;s[e]="left"===s[e]?"center":"right"}}else if("tableDelimiterRow"===u[1].type)break}else"enter"===u[0]&&"tableDelimiterRow"===u[1].type&&(r=!0);t+=1}return s}(t.events,d))}return e}function flushCell(e,t,r,s,u,d){0!==r[0]&&(d.end=Object.assign({},getPoint(t.events,r[0])),e.add(r[0],0,[["exit",d,t]]));let p=getPoint(t.events,r[1]);if(d={type:1===s?"tableHeader":2===s?"tableDelimiter":"tableData",start:Object.assign({},p),end:Object.assign({},p)},e.add(r[1],0,[["enter",d,t]]),0!==r[2]){let u=getPoint(t.events,r[2]),d=getPoint(t.events,r[3]),p={type:"tableContent",start:Object.assign({},u),end:Object.assign({},d)};if(e.add(r[2],0,[["enter",p,t]]),2!==s){let s=t.events[r[2]],u=t.events[r[3]];if(s[1].end=Object.assign({},u[1].end),s[1].type="chunkText",s[1].contentType="text",r[3]>r[2]+1){let t=r[2]+1,s=r[3]-r[2]-1;e.add(t,s,[])}}e.add(r[3]+1,0,[["exit",p,t]])}return void 0!==u&&(d.end=Object.assign({},getPoint(t.events,u)),e.add(u,0,[["exit",d,t]]),d=void 0),d}function flushTableEnd(e,t,r,s,u){let d=[],p=getPoint(t.events,r);u&&(u.end=Object.assign({},p),d.push(["exit",u,t])),s.end=Object.assign({},p),d.push(["exit",s,t]),e.add(r+1,0,d)}function getPoint(e,t){let r=e[t],s="enter"===r[0]?"start":"end";return r[1][s]}let Z={name:"tasklistCheck",tokenize:function(e,t,r){let s=this;return function(t){return null===s.previous&&s._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),inside):r(t)};function inside(t){return(0,u.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),close):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),close):r(t)}function close(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),after):r(t)}function after(s){return(0,u.Ch)(s)?t(s):(0,u.xz)(s)?e.check({tokenize:spaceThenNonSpace},t,r)(s):r(s)}}};function spaceThenNonSpace(e,t,r){return(0,H.f)(e,function(e){return null===e?r(e):t(e)},"whitespace")}let Y={};function remarkGfm(e){let t;let r=e||Y,s=this.data(),u=s.micromarkExtensions||(s.micromarkExtensions=[]),d=s.fromMarkdownExtensions||(s.fromMarkdownExtensions=[]),m=s.toMarkdownExtensions||(s.toMarkdownExtensions=[]);u.push((0,O.W)([{text:M},{document:{91:{name:"gfmFootnoteDefinition",tokenize:tokenizeDefinitionStart,continuation:{tokenize:tokenizeDefinitionContinuation},exit:gfmFootnoteDefinitionEnd}},text:{91:{name:"gfmFootnoteCall",tokenize:tokenizeGfmFootnoteCall},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:tokenizePotentialGfmFootnoteCall,resolveTo:resolveToPotentialGfmFootnoteCall}}},function(e){let t=(e||{}).singleTilde,r={name:"strikethrough",tokenize:function(e,r,s){let u=this.previous,d=this.events,p=0;return function(h){return 126===u&&"characterEscape"!==d[d.length-1][1].type?s(h):(e.enter("strikethroughSequenceTemporary"),function more(d){let h=(0,v.r)(u);if(126===d)return p>1?s(d):(e.consume(d),p++,more);if(p<2&&!t)return s(d);let m=e.exit("strikethroughSequenceTemporary"),y=(0,v.r)(d);return m._open=!y||2===y&&!!h,m._close=!h||2===h&&!!y,r(d)}(h))}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let s=r;for(;s--;)if("exit"===e[s][0]&&"strikethroughSequenceTemporary"===e[s][1].type&&e[s][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[s][1].end.offset-e[s][1].start.offset){e[r][1].type="strikethroughSequence",e[s][1].type="strikethroughSequence";let u={type:"strikethrough",start:Object.assign({},e[s][1].start),end:Object.assign({},e[r][1].end)},d={type:"strikethroughText",start:Object.assign({},e[s][1].end),end:Object.assign({},e[r][1].start)},p=[["enter",u,t],["enter",e[s][1],t],["exit",e[s][1],t],["enter",d,t]],h=t.parser.constructs.insideSpan.null;h&&(0,q.d)(p,p.length,0,(0,G.C)(h,e.slice(s+1,r),t)),(0,q.d)(p,p.length,0,[["exit",d,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",u,t]]),(0,q.d)(e,s-1,r-s+3,p),r=s+p.length-2;break}}for(r=-1;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}(r),{flow:{null:{name:"table",tokenize:tokenizeTable,resolveAll:resolveTable}}},{text:{91:Z}}])),d.push([{transforms:[transformGfmAutolinkLiterals],enter:{literalAutolink:enterLiteralAutolink,literalAutolinkEmail:enterLiteralAutolinkValue,literalAutolinkHttp:enterLiteralAutolinkValue,literalAutolinkWww:enterLiteralAutolinkValue},exit:{literalAutolink:exitLiteralAutolink,literalAutolinkEmail:exitLiteralAutolinkEmail,literalAutolinkHttp:exitLiteralAutolinkHttp,literalAutolinkWww:exitLiteralAutolinkWww}}
1,{enter:{gfmFootnoteCallString:enterFootnoteCallString,gfmFootnoteCall:enterFootnoteCall,gfmFootnoteDefinitionLabelString:enterFootnoteDefinitionLabelString,gfmFootnoteDefinition:enterFootnoteDefinition},exit:{gfmFootnoteCallString:exitFootnoteCallString,gfmFootnoteCall:exitFootnoteCall,gfmFootnoteDefinitionLabelString:exitFootnoteDefinitionLabelString,gfmFootnoteDefinition:exitFootnoteDefinition}},{canContainEols:["delete"],enter:{strikethrough:enterStrikethrough},exit:{strikethrough:exitStrikethrough}},{enter:{table:enterTable,tableData:enterCell,tableHeader:enterCell,tableRow:enterRow},exit:{codeText:exitCodeText,table:exitTable,tableData:exit,tableHeader:exit,tableRow:exit}},{exit:{taskListCheckValueChecked:exitCheck,taskListCheckValueUnchecked:exitCheck,paragraph:exitParagraphWithTaskListItem}}]),m.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:p,notInConstruct:h},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:p,notInConstruct:h},{character:":",before:"[ps]",after:"\\/",inConstruct:p,notInConstruct:h}]},(t=!1,r&&r.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,r,s,u){let d=s.createTracker(u),p=d.move("[^"),h=s.enter("footnoteDefinition"),m=s.enter("label");return p+=d.move(s.safe(s.associationId(e),{before:p,after:"]"})),m(),p+=d.move("]:"),e.children&&e.children.length>0&&(d.shift(4),p+=d.move((t?"\n":" ")+s.indentLines(s.containerFlow(e,d.current()),t?mapAll:mapExceptFirst))),h(),p},footnoteReference},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:y}],handlers:{delete:handleDelete}},function(e){let t=e||{},r=t.tableCellPadding,s=t.tablePipeAlign,u=t.stringLength,d=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,r){let s=_.inlineCode(e,t,r);return r.stack.includes("tableCell")&&(s=s.replace(/\|/g,"\\$&")),s},table:function(e,t,r,s){return serializeData(function(e,t,r){let s=e.children,u=-1,d=[],p=t.enter("table");for(;++u<s.length;)d[u]=handleTableRowAsData(s[u],t,r);return p(),d}(e,r,s),e.align)},tableCell:handleTableCell,tableRow:function(e,t,r,s){let u=handleTableRowAsData(e,r,s),d=serializeData([u]);return d.slice(0,d.indexOf("\n"))}}};function handleTableCell(e,t,r,s){let u=r.enter("tableCell"),p=r.enter("phrasing"),h=r.containerPhrasing(e,{...s,before:d,after:d});return p(),u(),h}function serializeData(e,t){return function(e,t){let r=t||{},s=(r.align||[]).concat(),u=r.stringLength||defaultStringLength,d=[],p=[],h=[],m=[],y=0,v=-1;for(;++v<e.length;){let t=[],s=[],d=-1;for(e[v].length>y&&(y=e[v].length);++d<e[v].length;){var b;let p=null==(b=e[v][d])?"":String(b);if(!1!==r.alignDelimiters){let e=u(p);s[d]=e,(void 0===m[d]||e>m[d])&&(m[d]=e)}t.push(p)}p[v]=t,h[v]=s}let w=-1;if("object"==typeof s&&"length"in s)for(;++w<y;)d[w]=toAlignment(s[w]);else{let e=toAlignment(s);for(;++w<y;)d[w]=e}w=-1;let S=[],_=[];for(;++w<y;){let e=d[w],t="",s="";99===e?(t=":",s=":"):108===e?t=":":114===e&&(s=":");let u=!1===r.alignDelimiters?1:Math.max(1,m[w]-t.length-s.length),p=t+"-".repeat(u)+s;!1!==r.alignDelimiters&&((u=t.length+u+s.length)>m[w]&&(m[w]=u),_[w]=u),S[w]=p}p.splice(1,0,S),h.splice(1,0,_),v=-1;let O=[];for(;++v<p.length;){let e=p[v],t=h[v];w=-1;let s=[];for(;++w<y;){let u=e[w]||"",p="",h="";if(!1!==r.alignDelimiters){let e=m[w]-(t[w]||0),r=d[w];114===r?p=" ".repeat(e):99===r?e%2?(p=" ".repeat(e/2+.5),h=" ".repeat(e/2-.5)):h=p=" ".repeat(e/2):h=" ".repeat(e)}!1===r.delimiterStart||w||s.push("|"),!1!==r.padding&&!(!1===r.alignDelimiters&&""===u)&&(!1!==r.delimiterStart||w)&&s.push(" "),!1!==r.alignDelimiters&&s.push(p),s.push(u),!1!==r.alignDelimiters&&s.push(h),!1!==r.padding&&s.push(" "),(!1!==r.delimiterEnd||w!==y-1)&&s.push("|")}O.push(!1===r.delimiterEnd?s.join("").replace(/ +$/,""):s.join(""))}return O.join("\n")}(e,{align:t,alignDelimiters:s,padding:r,stringLength:u})}function handleTableRowAsData(e,t,r){let s=e.children,u=-1,d=[],p=t.enter("tableRow");for(;++u<s.length;)d[u]=handleTableCell(s[u],e,t,r);return p(),d}}(r),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:listItemWithTaskListItem}}]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.