1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[615],{26:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,a:()=>i});var r=n(4232),o=n(9266);let l=Symbol();function i(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[l]:t})}function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i=(0,r.useRef)(t);(0,r.useEffect)(()=>{i.current=t},[t]);let a=(0,o._)(e=>{for(let t of i.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[l]))?void 0:a}},140:(e,t,n)=>{"use strict";n.d(t,{$x:()=>u,El:()=>a,O_:()=>i,Uw:()=>l});var r=n(4232);let o=(0,r.createContext)(null);o.displayName="OpenClosedContext";var l=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(l||{});function i(){return(0,r.useContext)(o)}function a(e){let{value:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}function u(e){let{children:t}=e;return r.createElement(o.Provider,{value:null},t)}},295:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let r=n(4252)._(n(4232)),o=n(6581),l=[],i=[],a=!1;function u(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class s{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),l=null;function u(){if(!l){let t=new s(e,n);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()}if(!a){let e=n.webpack&&1?n.webpack():n.modules;e&&i.push(t=>{for(let n of e)if(t.includes(n))return u()})}function c(e,t){u();let i=r.default.useContext(o.LoadableContext);i&&Array.isArray(n.modules)&&n.modules.forEach(e=>{i(e)});let a=r.default.useSyncExternalStore(l.subscribe,l.getCurrentValue,l.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:l.retry}),[]),r.default.useMemo(()=>{var t;return a.loading||a.error?r.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:l.retry}):a.loaded?r.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return c.preload=()=>u(),c.displayName="LoadableComponent",r.default.forwardRef(c)}(u,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(l).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(a=!0,t());d(i,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let f=c},367:(e,t,n)=>{"use strict";n.d(t,{Ac:()=>i,Ci:()=>u,FX:()=>p,mK:()=>a,oE:()=>h,v6:()=>f});var r=n(4232),o=n(4676),l=n(3872),i=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(i||{}),a=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(a||{});function u(){let e,t,n=(e=(0,r.useRef)([]),t=(0,r.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];if(!r.every(e=>null==e))return e.current=r,t});return(0,r.useCallback)(e=>(function(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:i,visible:a=!0,name:u,mergeRefs:f}=e;f=null!=f?f:c;let p=d(n,t);if(a)return s(p,r,o,u,f);let h=null!=i?i:0;if(2&h){let{static:e=!1,...t}=p;if(e)return s(t,r,o,u,f)}if(1&h){let{unmount:e=!0,...t}=p;return(0,l.Y)(+!e,{0:()=>null,1:()=>s({...t,hidden:!0,style:{display:"none"}},r,o,u,f)})}return s(p,r,o,u,f)})({mergeRefs:n,...e}),[n])}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,{as:a=n,children:u,refName:s="ref",...c}=m(e,["unmount","static"]),f=void 0!==e.ref?{[s]:e.ref}:{},p="function"==typeof u?u(t):u;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let g={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(g["data-headlessui-state"]=n.join(" "),n))g["data-".concat(e)
1]=""}if(a===r.Fragment&&(Object.keys(h(c)).length>0||Object.keys(h(g)).length>0))if(!(0,r.isValidElement)(p)||Array.isArray(p)&&p.length>1){if(Object.keys(h(c)).length>0)throw Error(['Passing props on "Fragment"!\n',"The current component <".concat(l,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(h(c)).concat(Object.keys(h(g))).map(e=>" - ".concat(e)).join("\n"),"\nYou can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - ".concat(e)).join("\n")].join("\n"))}else{var v;let e=p.props,t=null==e?void 0:e.className,n="function"==typeof t?function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0,o.x)(t(...n),c.className)}:(0,o.x)(t,c.className),l=d(p.props,h(m(c,["ref"])));for(let e in g)e in l&&delete g[e];return(0,r.cloneElement)(p,Object.assign({},l,g,f,{ref:i((v=p,r.version.split(".")[0]>="19"?v.props.ref:v.ref),f.ref)},n?{className:n}:{}))}return(0,r.createElement)(a,Object.assign({},m(c,["ref"]),a!==r.Fragment&&f,a!==r.Fragment&&g),p)}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])for(let e in o)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(o[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in o)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),l=1;l<n;l++)r[l-1]=arguments[l];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];for(let e in o)Object.assign(r,{[e](){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(let t of o[e])null==t||t(...n)}});return r}function p(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function h(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},400:(e,t,n)=>{"use strict";n.d(t,{ll:()=>P,rD:()=>D,__:()=>T,UU:()=>L,cY:()=>F,BN:()=>A,Ej:()=>O});var r=n(1040);function o(e,t,n){let o,{reference:l,floating:i}=e,a=(0,r.TV)(t),u=(0,r.Dz)(t),s=(0,r.sq)(u),c=(0,r.C0)(t),d="y"===a,f=l.x+l.width/2-i.width/2,p=l.y+l.height/2-i.height/2,h=l[s]/2-i[s]/2;switch(c){case"top":o={x:f,y:l.y-i.height};break;case"bottom":o={x:f,y:l.y+l.height};break;case"right":o={x:l.x+l.width,y:p};break;case"left":o={x:l.x-i.width,y:p};break;default:o={x:l.x,y:l.y}}switch((0,r.Sg)(t)){case"start":o[u]-=h*(n&&d?-1:1);break;case"end":o[u]+=h*(n&&d?-1:1)}return o}let l=async(e,t,n)=>{let{placement:r="bottom",strategy:l="absolute",middleware:i=[],platform:a}=n,u=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:f}=o(c,r,s),p=r,h={},m=0;for(let n=0;n<u.length;n++){let{name:i,fn:g}=u[n],{x:v,y:y,data:b,reset:x}=await g({x:d,y:f,initialPlacement:r,placement:p,strategy:l,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=v?v:d,f=null!=y?y:f,h={...h,[i]:{...h[i],...b}},x&&m<=50&&(m++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:l}):x.rects),{x:d,y:f}=o(c,p,s)),n=-1)}return{x:d,y:f,placement:p,strategy:l,middlewareData:h}};async function i(e,t){var n;void 0===t&&(t={});let{x:o,y:l,platform:i,rects:a,elements:u,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),g=u[p?"floating"===f?"reference":"floating":f],v=(0,r.B1)(await i.getClippingRect
1({element:null==(n=await (null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:c,rootBoundary:d,strategy:s})),y="floating"===f?{x:o,y:l,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),x=await (null==i.isElement?void 0:i.isElement(b))&&await (null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},w=(0,r.B1)(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:b,strategy:s}):y);return{top:(v.top-w.top+m.top)/x.y,bottom:(w.bottom-v.bottom+m.bottom)/x.y,left:(v.left-w.left+m.left)/x.x,right:(w.right-v.right+m.right)/x.x}}let a=new Set(["left","top"]);async function u(e,t){let{placement:n,platform:o,elements:l}=e,i=await (null==o.isRTL?void 0:o.isRTL(l.floating)),u=(0,r.C0)(n),s=(0,r.Sg)(n),c="y"===(0,r.TV)(n),d=a.has(u)?-1:1,f=i&&c?-1:1,p=(0,r._3)(t,e),{mainAxis:h,crossAxis:m,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&"number"==typeof g&&(m="end"===s?-1*g:g),c?{x:m*f,y:h*d}:{x:h*d,y:m*f}}var s=n(4974);function c(e){let t=(0,s.L9)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,l=(0,s.sb)(e),i=l?e.offsetWidth:n,a=l?e.offsetHeight:o,u=(0,r.LI)(n)!==i||(0,r.LI)(o)!==a;return u&&(n=i,o=a),{width:n,height:o,$:u}}function d(e){return(0,s.vq)(e)?e:e.contextElement}function f(e){let t=d(e);if(!(0,s.sb)(t))return(0,r.Jx)(1);let n=t.getBoundingClientRect(),{width:o,height:l,$:i}=c(t),a=(i?(0,r.LI)(n.width):n.width)/o,u=(i?(0,r.LI)(n.height):n.height)/l;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}let p=(0,r.Jx)(0);function h(e){let t=(0,s.zk)(e);return(0,s.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:p}function m(e,t,n,o){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=d(e),u=(0,r.Jx)(1);t&&(o?(0,s.vq)(o)&&(u=f(o)):u=f(e));let c=(void 0===(l=n)&&(l=!1),o&&(!l||o===(0,s.zk)(a))&&l)?h(a):(0,r.Jx)(0),p=(i.left+c.x)/u.x,m=(i.top+c.y)/u.y,g=i.width/u.x,v=i.height/u.y;if(a){let e=(0,s.zk)(a),t=o&&(0,s.vq)(o)?(0,s.zk)(o):o,n=e,r=(0,s._m)(n);for(;r&&o&&t!==n;){let e=f(r),t=r.getBoundingClientRect(),o=(0,s.L9)(r),l=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;p*=e.x,m*=e.y,g*=e.x,v*=e.y,p+=l,m+=i,n=(0,s.zk)(r),r=(0,s._m)(n)}}return(0,r.B1)({width:g,height:v,x:p,y:m})}function g(e,t){let n=(0,s.CP)(e).scrollLeft;return t?t.left+n:m((0,s.ep)(e)).left+n}function v(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-g(e,n),y:n.top+t.scrollTop}}let y=new Set(["absolute","fixed"]);function b(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,s.zk)(e),r=(0,s.ep)(e),o=n.visualViewport,l=r.clientWidth,i=r.clientHeight,a=0,u=0;if(o){l=o.width,i=o.height;let e=(0,s.Tc)();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}let c=g(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(r.clientWidth-t.clientWidth-o);i<=25&&(l-=i)}else c<=25&&(l+=c);return{width:l,height:i,x:a,y:u}}(e,n);else if("document"===t)o=function(e){let t=(0,s.ep)(e),n=(0,s.CP)(e),o=e.ownerDocument.body,l=(0,r.T9)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=(0,r.T9)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),a=-n.scrollLeft+g(e),u=-n.scrollTop;return"rtl"===(0,s.L9)(o).direction&&(a+=(0,r.T9)(t.clientWidth,o.clientWidth)-l),{width:l,height:i,x:a,y:u}}((0,s.ep)(e));else if((0,s.vq)(t))o=function(e,t){let n=m(e,!0,"fixed"===t),o=n.top+e.clientTop,l=n.left+e.clientLeft,i=(0,s.sb)(e)?f(e):(0,r.Jx)(1),a=e.clientWidth*i.x,u=e.clientHeight*i.y;return{width:a,height:u,x:l*i.x,y:o*i.y}}(t,n);else{let n=h(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.B1)(o)}function x(e){return"static"===(0,s.L9)(e).position}function w(e,t){if(!(0,s.sb)(e)||"fixed"===(0,s.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,s.ep)(e)===n&&(n=n.ownerDocument.body),n}function k(e,t){let n=(0,s.zk)(e);if((0,s.Tf)(e))return n;if(!(0,s.sb)(e)){let t=(0,s.$4)(e);for(;t&&!(0,s.eu)(t);){if((0,s.vq)(t)&&!x(t))return t;t=(0,s.$4)(t)}return n}let r=w(e,t);for(;r&&(0,s.Lv)(r)&&x(r);)r=w(r,t);return r&&(0,s.eu)(r)&&x(r)&&!(0,s.sQ)(r)?n:r||(0,s.gJ)(e)||n}let E=async function(e){let t=this.getOffsetParent||k,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=(0,s.sb)(t),l=(0,s.ep)(t),i="fixed"===n,a=m(e,!0,i,t),u={scrollLeft:0,scrollTop:0},c=(0,r.Jx)(0);if(o||!o&&!i)if(("body"!==(0,s.mq)(t)||(0,s.ZU)(l))&&(u=(0,s.CP)(t)),o){let e=m(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else l&&(c.x=g(l));i&&!o&&l&&(c.x=g(l));let d=!l||o||i?(0,r.Jx)(0):v(l,u);return{x:a.left+u.scrollLeft-c.x-d.x,y:a.top+u.scrollTop-c.y-d.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},S={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:l}=e,i="fixed"===l,a=(0,s.ep)(o),u=!!t&&(0,s.Tf)(t.floating);if(o===a||u&&i)return n;let c={scrollLeft:0,scrollTop:0},d=(0,r.Jx)(1),p=(0,r.Jx)(0),h=(0,s.sb)(o);if((h||!h&&!i)&&(("body"!==(0,s.mq)(o)||(0,s.ZU)(a))&&(c=(0,s.CP)(o)),(0,s.sb)(o))){let e=m(o);d=f(o),p.x=e.x+o.clientLeft,p.y=e.y+o.clientTop}let g=!a||h||i?(0,r.Jx)(0):v(a,c);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+p.x+g.x,y:n.y*d.y-c.scrollTop*d.y+p.y+g.y}},getDocumentElement:s.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,i=[..."clippingAncestors"===n?(0,s.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,s.v9)(e,[],!1).filter(e=>(0,s.vq)(e)&&"body"!==(0,s.mq)(e)),o=null,l="fixed"===(0,s.L9)(e).position,i=l?(0,s.$4)(e):e;for(;(0,s.vq)(i)&&!(0,s.eu)(i);){let t=(0,s.L9)(i),n=(0,s.sQ)(i);n||"fixed"!==t.position||(o=null),(l?!n&&!o:!n&&"static"===t.position&&!!o&&y.has(o.position)||(0,s.ZU)(i)&&!n&&function e(t,n){let r=(0,s.$4)(t);return!(r===n||!(0,s.vq)(r)||(0,s.eu)(r))&&("fixed"===(0,s.L9)(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):o=t,i=(0,s.$4)(i)}return t.set(e,r),r}(t,this._c):[].concat(n),o],a=i[0],u=i.reduce((e,n)=>{let o=b(t,n,l);return e.top=(0,r.T9)(o.top,e.top),e.right=(0,r.jk)(o.right,e.right),e.bottom=(0,r.jk)(o.bottom,e.bottom),e.left=(0,r.T9)(o.left,e.left),e},b(t,a,l));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:k,getElementRects:E,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=c(e);return{width:t,height:n}},getScale:f,isElement:s.vq,isRTL:function(e){return"rtl"===(0,s.L9)(e).direction}};function C(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function P(e,t,n,o){let l;void 0===o&&(o={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,p=d(e),h=i||a?[...p?(0,s.v9)(p):[],...(0,s.v9)(t)]:[];
1h.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let g=p&&c?function(e,t){let n,o=null,l=(0,s.ep)(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function a(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),i();let c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=c;if(u||t(),!p||!h)return;let m=(0,r.RI)(f),g=(0,r.RI)(l.clientWidth-(d+p)),v={rootMargin:-m+"px "+-g+"px "+-(0,r.RI)(l.clientHeight-(f+h))+"px "+-(0,r.RI)(d)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,s))||1},y=!0;function b(t){let r=t[0].intersectionRatio;if(r!==s){if(!y)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||C(c,e.getBoundingClientRect())||a(),y=!1}try{o=new IntersectionObserver(b,{...v,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(b,v)}o.observe(e)}(!0),i}(p,n):null,v=-1,y=null;u&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!f&&y.observe(p),y.observe(t));let b=f?m(e):null;return f&&function t(){let r=m(e);b&&!C(b,r)&&n(),b=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(l)}}let T=i,F=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:l,placement:i,middlewareData:a}=t,s=await u(t,e);return i===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:l+s.y,data:{...s,placement:i}}}}},A=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:l}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r._3)(e,t),d={x:n,y:o},f=await i(t,c),p=(0,r.TV)((0,r.C0)(l)),h=(0,r.PG)(p),m=d[h],g=d[p];if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+f[e],o=m-f[t];m=(0,r.qE)(n,m,o)}
1if(u){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=g+f[e],o=g-f[t];g=(0,r.qE)(n,g,o)}let v=s.fn({...t,[h]:m,[p]:g});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[h]:a,[p]:u}}}}}},L=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,l,a,u;let{placement:s,middlewareData:c,rects:d,initialPlacement:f,platform:p,elements:h}=t,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:v,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:x=!0,...w}=(0,r._3)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let k=(0,r.C0)(s),E=(0,r.TV)(f),S=(0,r.C0)(f)===f,C=await (null==p.isRTL?void 0:p.isRTL(h.floating)),P=v||(S||!x?[(0,r.bV)(f)]:(0,r.WJ)(f)),T="none"!==b;!v&&T&&P.push(...(0,r.lP)(f,x,b,C));let F=[f,...P],A=await i(t,w),L=[],O=(null==(o=c.flip)?void 0:o.overflows)||[];if(m&&L.push(A[k]),g){let e=(0,r.w7)(s,d,C);L.push(A[e[0]],A[e[1]])}if(O=[...O,{placement:s,overflows:L}],!L.every(e=>e<=0)){let e=((null==(l=c.flip)?void 0:l.index)||0)+1,t=F[e];if(t&&("alignment"!==g||E===(0,r.TV)(t)||O.every(e=>(0,r.TV)(e.placement)!==E||e.overflows[0]>0)))return{data:{index:e,overflows:O},reset:{placement:t}};let n=null==(a=O.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(y){case"bestFit":{let e=null==(u=O.filter(e=>{if(T){let t=(0,r.TV)(e.placement);return t===E||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:u[0];e&&(n=e);break}case"initialPlacement":n=f}if(s!==n)return{reset:{placement:n}}}return{}}}},O=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let l,a,{placement:u,rects:s,platform:c,elements:d}=t,{apply:f=()=>{},...p}=(0,r._3)(e,t),h=await i(t,p),m=(0,r.C0)(u),g=(0,r.Sg)(u),v="y"===(0,r.TV)(u),{width:y,height:b}=s.floating;"top"===m||"bottom"===m?(l=m,a=g===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(a=m,l="end"===g?"top":"bottom");let x=b-h.top-h.bottom,w=y-h.left-h.right,k=(0,r.jk)(b-h[l],x),E=(0,r.jk)(y-h[a],w),S=!t.middlewareData.shift,C=k,P=E;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(P=w),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(C=x),S&&!g){let e=(0,r.T9)(h.left,0),t=(0,r.T9)(h.right,0),n=(0,r.T9)(h.top,0),o=(0,r.T9)(h.bottom,0);v?P=y-2*(0!==e||0!==t?e+t:(0,r.T9)(h.left,h.right)):C=b-2*(0!==n||0!==o?n+o:(0,r.T9)(h.top,h.bottom))}await f({...t,availableWidth:P,availableHeight:C});let T=await c.getDimensions(d.floating);return y!==T.width||b!==T.height?{reset:{rects:!0}}:{}}}},D=(e,t,n)=>{let r=new Map,o={platform:S,...n},i={...o.platform,_c:r};return l(e,t,{...o,platform:i})}},650:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var r=n(3e3),o=n(7806),l=n(9174);let i=/^data[-\w.:]+$/i,a=/-[a-z]/g,u=/[A-Z]/g;function s(e,t){let n=(0,r.S)(t),s=t,f=l.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&i.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(a,d);s="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!a.test(e)){let n=e.replace(u,c);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}f=o.E}return new f(s,t)}function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},746:(e,t,n)=>{"use strict";n.d(t,{lG:()=>Q});var r=n(4232),o=n(9075),l=n(6793),i=n(3673),a=n(9266),u=n(9314),s=n(1222),c=n(2214);let d=new Map,f=new Map;function p(e){var t;let n=null!=(t=f.get(e))?t:0;return f.set(e,n+1),0!==n||(d.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let n=null!=(t=f.get(e))?t:1;if(1===n?f.delete(e):f.set(e,n-1),1!==n)return;let r=d.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,d.delete(e))})(e)}var h=n(4787),m=n(8611),g=n(1217),v=n(7197),y=n(4116),b=n(6439),x=n(26),w=n(5819),k=n(140),E=n(6924),S=n(3872),C=n(367);let P=(0,r.createContext)(void 0),T=(0,r.createContext)(null);T.displayName="DescriptionContext";let F=Object.assign((0,C.FX)(function(e,t){let n=(0,r.useId)(),o=(0,r.useContext)(P),{id:l="headlessui-description-".concat(n),...i}=e,a=function e(){let t=(0,r.useContext)(T);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),u=(0,x.P)(t);(0,c.s)(()=>a.register(l),[l,a.register]);let s=o||!1,d=(0,r.useMemo)(()=>({...a.slot,disabled:s}),[a.slot,s]),f={ref:u,...a.props,id:l};return(0,C.Ci)()({ourProps:f,theirProps:i,slot:d,defaultTag:"p",name:a.name||"Description"})}),{});var A=n(5069),L=n(1691),O=n(3986),D=n(1421);function M(e,t){let n=(0,r.useRef)([]),o=(0,a._)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,l]of t.entries())if(n.current[r]!==l){let r=o(t,e);return n.current=t,r}},[o,...t])}var R=n(5285),_=n(4163);let I=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||I[0]===e.target)return;let t=e.target;
1t=t.closest(_.Uo),I.unshift(null!=t?t:e.target),(I=I.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var j=n(3249);function B(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var N=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(N||{});let H=Object.assign((0,C.FX)(function(e,t){let n=(0,r.useRef)(null),o=(0,x.P)(n,t),{initialFocus:u,initialFocusFallback:s,containers:c,features:d=15,...f}=e;(0,b.g)()||(d=0);let p=(0,g.g)(n);!function(e,t){let{ownerDocument:n}=t,o=!!(8&e),l=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)(I.slice());return M((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&(0,j._)(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=I.slice())},[e,I,t]),(0,a._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(o);M(()=>{o||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,_.pW)(l())},[o]),(0,O.X)(()=>{o&&(0,_.pW)(l())})}(d,{ownerDocument:p});let h=function(e,t){let{ownerDocument:n,container:o,initialFocus:l,initialFocusFallback:a}=t,u=(0,r.useRef)(null),s=(0,i.S)(!!(1&e),"focus-trap#initial-focus"),c=(0,L.a)();return M(()=>{if(0===e)return;if(!s){null!=a&&a.current&&(0,_.pW)(a.current);return}let t=o.current;t&&(0,j._)(()=>{if(!c.current)return;let r=null==n?void 0:n.activeElement;if(null!=l&&l.current){if((null==l?void 0:l.current)===r){u.current=r;return}}else if(t.contains(r)){u.current=r;return}if(null!=l&&l.current)(0,_.pW)(l.current);else{if(16&e){if((0,_.CU)(t,_.BD.First|_.BD.AutoFocus)!==_.Me.Error)return}else if((0,_.CU)(t,_.BD.First)!==_.Me.Error)return;if(null!=a&&a.current&&((0,_.pW)(a.current),(null==n?void 0:n.activeElement)===a.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}u.current=null==n?void 0:n.activeElement})},[a,s,e]),u}(d,{ownerDocument:p,container:n,initialFocus:u,initialFocusFallback:s});!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:i}=t,a=(0,L.a)(),u=!!(4&e);(0,l.M)(null==n?void 0:n.defaultView,"focus",e=>{if(!u||!a.current)return;let t=B(o);r.current instanceof HTMLElement&&t.add(r.current);let n=i.current;if(!n)return;let l=e.target;l&&l instanceof HTMLElement?z(t,l)?(i.current=l,(0,_.pW)(l)):(e.preventDefault(),e.stopPropagation(),(0,_.pW)(n)):(0,_.pW)(i.current)},!0)}(d,{ownerDocument:p,container:n,containers:c,previousActiveElement:h});let m=(0,D.u)(),v=(0,a._)(e=>{let t=n.current;t&&(0,S.Y)(m.current,{[D.O.Forwards]:()=>{(0,_.CU)(t,_.BD.First,{skipElements:[e.relatedTarget,s]})},[D.O.Backwards]:()=>{(0,_.CU)(t,_.BD.Last,{skipElements:[e.relatedTarget,s]})}})}),y=(0,i.S)(!!(2&d),"focus-trap#tab-lock"),w=(0,A.L)(),k=(0,r.useRef)(!1),E=(0,C.Ci)();return r.createElement(r.Fragment,null,y&&r.createElement(R.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:R.u.Focusable}),E({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(k.current=!0,w.requestAnimationFrame(()=>{k.current=!1}))},onBlur(e){if(!(4&d))return;let t=B(c);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(z(t,r)||(k.current?(0,_.CU)(n.current,(0,S.Y)(m.current,{[D.O.Forwards]:()=>_.BD.Next,[D.O.Backwards]:()=>_.BD.Previous})|_.BD.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,_.pW)(e.target)))}},theirProps:f,defaultTag:"div",name:"FocusTrap"}),y&&r.createElement(R.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:R.u.Focusable}))}),{features:N});function z(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var U=n(3247),V=n(5797),q=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(q||{}),W=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(W||{});let Y={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},$=(0,r.createContext)(null);function X(e){let t=(0,r.useContext)($);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,X),t}return t}function K(e,t){return(0,S.Y)(t.type,Y,e,t)}$.displayName="DialogContext";let G=(0,C.FX)(function(e,t){let n=(0,r.useId)(),{id:d="headlessui-dialog-".concat(n),open:f,onClose:S,initialFocus:P,role:F="dialog",autoFocus:A=!0,__demoMode:L=!1,unmount:O=!1,...D}=e,M=(0,r.useRef)(!1);
1F="dialog"===F||"alertdialog"===F?F:(M.current||(M.current=!0,console.warn("Invalid role [".concat(F,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let R=(0,k.O_)();void 0===f&&null!==R&&(f=(R&k.Uw.Open)===k.Uw.Open);let _=(0,r.useRef)(null),I=(0,x.P)(_,t),j=(0,g.g)(_),B=+!f,[z,V]=(0,r.useReducer)(K,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),q=(0,a._)(()=>S(!1)),W=(0,a._)(e=>V({type:0,id:e})),Y=!!(0,b.g)()&&0===B,[X,G]=(0,U.k2)(),Q=(0,v.xA)(),{resolveContainers:ee}=(0,v.iq)({mainTreeNode:Q,portals:X,defaultContainers:[{get current(){var et;return null!=(et=z.panelRef.current)?et:_.current}}]}),en=null!==R&&(R&k.Uw.Closing)===k.Uw.Closing;(function(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.S)(e,"inert-others");(0,c.s)(()=>{var e,o;if(!r)return;let l=(0,u.e)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&l.add(p(t));let i=null!=(o=null==t?void 0:t())?o:[];for(let e of i){if(!e)continue;let t=(0,s.T)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)i.some(t=>e.contains(t))||l.add(p(e));n=n.parentElement}}return l.dispose},[r,t,n])})(!L&&!en&&Y,{allowed:(0,a._)(()=>{var e,t;return[null!=(t=null==(e=_.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,a._)(()=>{var e;return[null!=(e=null==Q?void 0:Q.closest("body > *:not(#headlessui-portal-root)"))?e:null]})}),(0,m.j)(Y,ee,e=>{e.preventDefault(),q()}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,n=arguments.length>2?arguments[2]:void 0,r=(0,i.S)(e,"escape");(0,l.M)(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===o.D.Escape&&n(e))})}(Y,null==j?void 0:j.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),q()}),(0,y.K)(!L&&!en&&Y,j,ee),(0,h.O)(Y,_,q);let[er,eo]=function(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,a._)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),o=(0,r.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value}),[n,e.slot,e.name,e.props,e.value]);return r.createElement(T.Provider,{value:o},e.children)},[t])]}(),el=(0,r.useMemo)(()=>[{dialogState:B,close:q,setTitleId:W,unmount:O},z],[B,z,q,W,O]),ei=(0,r.useMemo)(()=>({open:0===B}),[B]),ea={ref:I,id:d,role:F,tabIndex:-1,"aria-modal":L?void 0:0===B||void 0,"aria-labelledby":z.titleId,"aria-describedby":er,unmount:O},eu=!function(){var e;let[t]=(0,r.useState)(()=>"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,o]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,c.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){o(e.matches)}},[t]),n}(),es=N.None;Y&&!L&&(es|=N.RestoreFocus,es|=N.TabLock,A&&(es|=N.AutoFocus),eu&&(es|=N.InitialFocus));let ec=(0,C.Ci)();return r.createElement(k.$x,null,r.createElement(E.a,{force:!0},r.createElement(U.ZL,null,r.createElement($.Provider,{value:el},r.createElement(U.Ee,{target:_},r.createElement(E.a,{force:!1},r.createElement(eo,{slot:ei},r.createElement(G,null,r.createElement(H,{initialFocus:P,initialFocusFallback:_,containers:ee,features:es},r.createElement(w.e,{value:q},ec({ourProps:ea,theirProps:D,slot:ei,defaultTag:J,features:Z,visible:0===B,name:"Dialog"})))))))))))}),J="div",Z=C.Ac.RenderStrategy|C.Ac.Static,Q=Object.assign((0,C.FX)(function(e,t){let{transition:n=!1,open:o,...l}=e,i=(0,k.O_)(),a=e.hasOwnProperty("open")||null!==i,u=e.hasOwnProperty("onClose");if(!a&&!u)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!u)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
1if(!i&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(e.open));if("function"!=typeof e.onClose)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(e.onClose));return(void 0!==o||n)&&!l.static?r.createElement(v.H5,null,r.createElement(V.e,{show:o,transition:n,unmount:l.unmount},r.createElement(G,{ref:t,...l}))):r.createElement(v.H5,null,r.createElement(G,{ref:t,open:o,...l}))}),{Panel:(0,C.FX)(function(e,t){let n=(0,r.useId)(),{id:o="headlessui-dialog-panel-".concat(n),transition:l=!1,...i}=e,[{dialogState:u,unmount:s},c]=X("Dialog.Panel"),d=(0,x.P)(t,c.panelRef),f=(0,r.useMemo)(()=>({open:0===u}),[u]),p=(0,a._)(e=>{e.stopPropagation()}),h=l?V._:r.Fragment,m=(0,C.Ci)();return r.createElement(h,{...l?{unmount:s}:{}},m({ourProps:{ref:d,id:o,onClick:p},theirProps:i,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),Title:((0,C.FX)(function(e,t){let{transition:n=!1,...o}=e,[{dialogState:l,unmount:i}]=X("Dialog.Backdrop"),a=(0,r.useMemo)(()=>({open:0===l}),[l]),u=n?V._:r.Fragment,s=(0,C.Ci)();return r.createElement(u,{...n?{unmount:i}:{}},s({ourProps:{ref:t,"aria-hidden":!0},theirProps:o,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,C.FX)(function(e,t){let n=(0,r.useId)(),{id:o="headlessui-dialog-title-".concat(n),...l}=e,[{dialogState:i,setTitleId:a}]=X("Dialog.Title"),u=(0,x.P)(t);(0,r.useEffect)(()=>(a(o),()=>a(null)),[o,a]);let s=(0,r.useMemo)(()=>({open:0===i}),[i]);return(0,C.Ci)()({ourProps:{ref:u,id:o},theirProps:l,slot:s,defaultTag:"h2",name:"Dialog.Title"})})),Description:F})},751:(e,t,n)=>{"use strict";let r=n(4232);e.exports=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})},789:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case a:case i:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case d:case m:case h:case u:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=s,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=l,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=a,t.StrictMode=i,t.Suspense=f,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===s},t.isContextProvider=function(e){return v(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===l},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===o},t.isProfiler=function(e){return v(e)===a},t.isStrictMode=function(e){return v(e)===i},t.isSuspense=function(e){return v(e)===f},t.isSuspenseList=function(e){return v(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===a||e===i||e===f||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===u||e.$$typeof===s||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)||!1},t.typeOf=v},1040:(e,t,n)=>{"use strict";n.d(t,{B1:()=>A,C0:()=>f,Dz:()=>y,Jx:()=>a,LI:()=>l,PG:()=>h,RI:()=>i,Sg:()=>p,T9:()=>o,TV:()=>v,WJ:()=>x,_3:()=>d,bV:()=>T,jk:()=>r,lP:()=>P,nI:()=>F,qE:()=>c,sq:()=>m,w7:()=>b});let r=Math.min,o=Math.max,l=Math.round,i=Math.floor,a=e=>({x:e,y:e}
1),u={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t,n){return o(e,r(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let g=new Set(["top","bottom"]);function v(e){return g.has(f(e))?"y":"x"}function y(e){return h(v(e))}function b(e,t,n){void 0===n&&(n=!1);let r=p(e),o=y(e),l=m(o),i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=T(i)),[i,T(i)]}function x(e){let t=T(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,e=>s[e])}let k=["left","right"],E=["right","left"],S=["top","bottom"],C=["bottom","top"];function P(e,t,n,r){let o=p(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?E:k;return t?k:E;case"left":case"right":return t?S:C;default:return[]}}(f(e),"start"===n,r);return o&&(l=l.map(e=>e+"-"+o),t&&(l=l.concat(l.map(w)))),l}function T(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function F(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function A(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}},1217:(e,t,n)=>{"use strict";n.d(t,{g:()=>l});var r=n(4232),o=n(1222);function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,o.T)(...t),[...t])}},1222:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(9438);function o(e){return r._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},1276:(e,t,n)=>{var r=n(6720);function o(e,t){var n,o,l,i=null;if(!e||"string"!=typeof e)return i;for(var a=r(e),u="function"==typeof t,s=0,c=a.length;s<c;s++)o=(n=a[s]).property,l=n.value,u?t(o,l,n):l&&(i||(i={}),i[o]=l);return i}e.exports=o,e.exports.default=o},1337:(e,t,n)=>{"use strict";let r=n(4232);e.exports=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))})},1421:(e,t,n)=>{"use strict";n.d(t,{O:()=>l,u:()=>i});var r=n(4232),o=n(8427),l=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(l||{});function i(){let e=(0,r.useRef)(0);return(0,o.M)(!0,"keydown",t=>{"Tab"===t.key&&(e.current=+!!t.shiftKey)},!0),e}},1691:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var r=n(4232),o=n(2214);function l(){let e=(0,r.useRef)(!1);return(0,o.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},2214:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(4232),o=n(9438);let l=(e,t)=>{o._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},2496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},noSSR:function(){return i}});let r=n(4252);n(7876),n(4232);let o=r._(n(295));function l(e){return{default:(null==e?void 0:e.default)||e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}function a(e,t){let n=o.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let a=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=a?a().then(l):Promise.resolve(l(()=>null))}):(delete r.webpack,delete r.modules,i(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2757:(e,t,n)=>{"use strict";function r(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}n.d(t,{$t:()=>r})}
1,3e3:(e,t,n)=>{"use strict";function r(e){return e.toLowerCase()}n.d(t,{S:()=>r})},3247:(e,t,n)=>{"use strict";n.d(t,{Ee:()=>w,ZL:()=>k,k2:()=>b});var r=n(4232),o=n(8477),l=n(9266),i=n(2214),a=n(3986),u=n(1217),s=n(6439),c=n(26),d=n(6924),f=n(9438),p=n(367);let h=r.Fragment,m=(0,p.FX)(function(e,t){let n=(0,r.useRef)(null),l=(0,c.P)((0,c.a)(e=>{n.current=e}),t),m=(0,u.g)(n),g=function(e){let t=(0,d.S)(),n=(0,r.useContext)(v),o=(0,u.g)(e),[l,i]=(0,r.useState)(()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(f._.isServer)return null;let r=null==o?void 0:o.getElementById("headlessui-portal-root");if(r)return r;if(null===o)return null;let l=o.createElement("div");return l.setAttribute("id","headlessui-portal-root"),o.body.appendChild(l)});return(0,r.useEffect)(()=>{null!==l&&(null!=o&&o.body.contains(l)||null==o||o.body.appendChild(l))},[l,o]),(0,r.useEffect)(()=>{t||null!==n&&i(n.current)},[n,i,t]),l}(n),[b]=(0,r.useState)(()=>{var e;return f._.isServer?null:null!=(e=null==m?void 0:m.createElement("div"))?e:null}),x=(0,r.useContext)(y),w=(0,s.g)();(0,i.s)(()=>{!g||!b||g.contains(b)||(b.setAttribute("data-headlessui-portal",""),g.appendChild(b))},[g,b]),(0,i.s)(()=>{if(b&&x)return x.register(b)},[x,b]),(0,a.X)(()=>{var e;g&&b&&(b instanceof Node&&g.contains(b)&&g.removeChild(b),g.childNodes.length<=0&&(null==(e=g.parentElement)||e.removeChild(g)))});let k=(0,p.Ci)();return w&&g&&b?(0,o.createPortal)(k({ourProps:{ref:l},theirProps:e,slot:{},defaultTag:h,name:"Portal"}),b):null}),g=r.Fragment,v=(0,r.createContext)(null),y=(0,r.createContext)(null);function b(){let e=(0,r.useContext)(y),t=(0,r.useRef)([]),n=(0,l._)(n=>(t.current.push(n),e&&e.register(n),()=>o(n))),o=(0,l._)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),i=(0,r.useMemo)(()=>({register:n,unregister:o,portals:t}),[n,o,t]);return[t,(0,r.useMemo)(()=>function(e){let{children:t}=e;return r.createElement(y.Provider,{value:i},t)},[i])]}let x=(0,p.FX)(function(e,t){let n=(0,c.P)(t),{enabled:o=!0,...l}=e,i=(0,p.Ci)();return o?r.createElement(m,{...l,ref:n}):i({ourProps:{ref:n},theirProps:l,slot:{},defaultTag:h,name:"Portal"})}),w=(0,p.FX)(function(e,t){let{target:n,...o}=e,l={ref:(0,c.P)(t)},i=(0,p.Ci)();return r.createElement(v.Provider,{value:n},i({ourProps:l,theirProps:o,defaultTag:g,name:"Popover.Group"}))}),k=Object.assign(x,{Group:w})},3249:(e,t,n)=>{"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{_:()=>r})},3344:(e,t,n)=>{"use strict";n.d(t,{AM:()=>en});var r=n(6788),o=n(6607),l=n(4232),i=n(7894),a=n(2214),u=n(9266),s=n(6793),c=n(4498),d=n(4787),f=n(8611),p=n(1217),h=n(6668),m=n(7197),g=n(4116),v=n(26),y=n(1421),b=n(4362),x=n(5819),w=n(3144),k=n(4882),E=n(400),S=n(5069);let C=(0,l.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});C.displayName="FloatingContext";let P=(0,l.createContext)(null);function T(e){var t,n,r,o,i,s;let c,d,f,{children:p,enabled:h=!0}=e,[m,g]=(0,l.useState)(null),[v,y]=(0,l.useState)(0),b=(0,l.useRef)(null),[x,S]=(0,l.useState)(null);t=x,(0,a.s)(()=>{if(!t)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(t).maxHeight,n=parseFloat(e);if(isNaN(n))return;let r=parseInt(e);isNaN(r)||n!==r&&(t.style.maxHeight="".concat(Math.ceil(n),"px"))});return e.observe(t,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[t]);let T=h&&null!==m&&null!==x,{to:A="bottom",gap:L=0,offset:O=0,padding:D=0,inner:M}=(n=m,r=x,c=F(null!=(o=null==n?void 0:n.gap)?o:"var(--anchor-gap, 0)",r),d=F(null!=(i=null==n?void 0:n.offset)?i:"var(--anchor-offset, 0)",r),f=F(null!=(s=null==n?void 0:n.padding)?s:"var(--anchor-padding, 0)",r),{...n,gap:c,offset:d,padding:f}),[R,_="center"]=A.split(" ");(0,a.s)(()=>{T&&y(0)},[T]);let{refs:I,floatingStyles:j,context:B}=(0,w.we)({open:T,placement:"selection"===R?"center"===_?"bottom":"bottom-".concat(_):"center"===_?"".concat(R):"".concat(R,"-").concat(_),strategy:"absolute",transform:!1,middleware:[(0,k.cY)({mainAxis:"selection"===R?0:L,crossAxis:O}),(0,k.BN)({padding:D}),"selection"!==R&&(0,k.UU)({padding:D}),"selection"===R&&M?(0,w.vW)({...M,padding:D,overflowRef:b,offset:v,minItemsVisible:4,referenceOverflowThreshold:D,onFallbackChange(e){var t,n;if(!e)return;let r=B.elements.floating;if(!r)return;
1let o=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,l=Math.min(4,r.childElementCount),i=0,a=0;for(let e of null!=(n=null==(t=B.elements.floating)?void 0:t.childNodes)?n:[])if(e instanceof HTMLElement){let t=e.offsetTop,n=t+e.clientHeight+o,u=r.scrollTop,s=u+r.clientHeight;if(t>=u&&n<=s)l--;else{a=Math.max(0,Math.min(n,s)-Math.max(t,u)),i=e.clientHeight;break}}l>=1&&y(e=>{let t=i*l-a+o;return e>=t?e:t})}}):null,(0,k.Ej)({padding:D,apply(e){let{availableWidth:t,availableHeight:n,elements:r}=e;Object.assign(r.floating.style,{overflow:"auto",maxWidth:"".concat(t,"px"),maxHeight:"min(var(--anchor-max-height, 100vh), ".concat(n,"px)")})}})].filter(Boolean),whileElementsMounted:E.ll}),[N=R,H=_]=B.placement.split("-");"selection"===R&&(N="selection");let z=(0,l.useMemo)(()=>({anchor:[N,H].filter(Boolean).join(" ")}),[N,H]),U=(0,w.Zx)(B,{overflowRef:b,onChange:y}),{getReferenceProps:V,getFloatingProps:q}=(0,w.bv)([U]),W=(0,u._)(e=>{S(e),I.setFloating(e)});return l.createElement(P.Provider,{value:g},l.createElement(C.Provider,{value:{setFloating:W,setReference:I.setReference,styles:j,getReferenceProps:V,getFloatingProps:q,slot:z}},p))}function F(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=(0,S.L)(),o=(0,u._)((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let o=A(e,t);return[o,n=>{let l=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),o=n[1].slice(t+1).trim();return o?[r,...e(o)]:[r]}return[]}(e);{let i=l.map(e=>window.getComputedStyle(t).getPropertyValue(e));r.requestAnimationFrame(function a(){r.nextFrame(a);let u=!1;for(let[e,n]of l.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(i[e]!==r){i[e]=r,u=!0;break}}if(!u)return;let s=A(e,t);o!==s&&(n(s),o=s)})}return r.dispose}]}return[n,null]}),i=(0,l.useMemo)(()=>o(e,t)[0],[e,t]),[s=i,c]=(0,l.useState)();return(0,a.s)(()=>{let[n,r]=o(e,t);if(c(n),r)return r(c)},[e,t]),s}function A(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}P.displayName="PlacementContext";var L=n(5285),O=n(140),D=n(8820),M=n(4163),R=n(3872),_=n(1222),I=n(367),j=n(9075),B=n(3247),N=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(N||{}),H=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(H||{});let z={0:e=>({...e,popoverState:(0,R.Y)(e.popoverState,{0:1,1:0}),__demoMode:!1}),1:e=>1===e.popoverState?e:{...e,popoverState:1,__demoMode:!1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>
1e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},U=(0,l.createContext)(null);function V(e){let t=(0,l.useContext)(U);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Popover /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,V),t}return t}U.displayName="PopoverContext";let q=(0,l.createContext)(null);function W(e){let t=(0,l.useContext)(q);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Popover /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,W),t}return t}q.displayName="PopoverAPIContext";let Y=(0,l.createContext)(null);function $(){return(0,l.useContext)(Y)}Y.displayName="PopoverGroupContext";let X=(0,l.createContext)(null);function K(e,t){return(0,R.Y)(t.type,z,e,t)}X.displayName="PopoverPanelContext";let G=I.Ac.RenderStrategy|I.Ac.Static;function J(e,t){let n=(0,l.useId)(),{id:r="headlessui-popover-backdrop-".concat(n),transition:o=!1,...i}=e,[{popoverState:a},s]=V("Popover.Backdrop"),[c,d]=(0,l.useState)(null),f=(0,v.P)(t,d),p=(0,O.O_)(),[h,m]=(0,b.p)(o,c,null!==p?(p&O.Uw.Open)===O.Uw.Open:0===a),g=(0,u._)(e=>{if((0,D.l)(e.currentTarget))return e.preventDefault();s({type:1})}),y=(0,l.useMemo)(()=>({open:0===a}),[a]),x={ref:f,id:r,"aria-hidden":!0,onClick:g,...(0,b.B)(m)};return(0,I.Ci)()({ourProps:x,theirProps:i,slot:y,defaultTag:"div",features:G,visible:h,name:"Popover.Backdrop"})}let Z=I.Ac.RenderStrategy|I.Ac.Static,Q=(0,I.FX)(function(e,t){var n;let{__demoMode:r=!1,...o}=e,i=(0,l.useRef)(null),a=(0,v.P)(t,(0,v.a)(e=>{i.current=e})),d=(0,l.useRef)([]),h=(0,l.useReducer)(K,{__demoMode:r,popoverState:+!r,buttons:d,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,l.createRef)(),afterPanelSentinel:(0,l.createRef)(),afterButtonSentinel:(0,l.createRef)()}),[{popoverState:g,button:y,buttonId:b,panel:w,panelId:k,beforePanelSentinel:E,afterPanelSentinel:S,afterButtonSentinel:C},P]=h,F=(0,p.g)(null!=(n=i.current)?n:y),A=(0,l.useMemo)(()=>{if(!y||!w)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(y))^Number(null==e?void 0:e.contains(w)))return!0;let e=(0,M.iq)(),t=e.indexOf(y),n=(t+e.length-1)%e.length,r=(t+1)%e.length,o=e[n],l=e[r];return!w.contains(o)&&!w.contains(l)},[y,w]),L=(0,c.Y)(b),D=(0,c.Y)(k),_=(0,l.useMemo)(()=>({buttonId:L,panelId:D,close:()=>P({type:1})}),[L,D,P]),j=$(),N=null==j?void 0:j.registerPopover,H=(0,u._)(()=>{var e;return null!=(e=null==j?void 0:j.isFocusWithinPopoverGroup())?e:(null==F?void 0:F.activeElement)&&((null==y?void 0:y.contains(F.activeElement))||(null==w?void 0:w.contains(F.activeElement)))});(0,l.useEffect)(()=>null==N?void 0:N(_),[N,_]);let[z,V]=(0,B.k2)(),W=(0,m.xA)(y),Y=(0,m.iq)({mainTreeNode:W,portals:z,defaultContainers:[y,w]});(0,s.M)(null==F?void 0:F.defaultView,"focus",e=>{var t,n,r,o,l,i;e.target!==window&&e.target instanceof HTMLElement&&0===g&&(H()||y&&w&&(Y.contains(e.target)||null!=(n=null==(t=E.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(o=null==(r=S.current)?void 0:r.contains)&&o.call(r,e.target)||null!=(i=null==(l=C.current)?void 0:l.contains)&&i.call(l,e.target)||P({type:1})))},!0),(0,f.j)(0===g,Y.resolveContainers,(e,t)=>{P({type:1}),(0,M.Bm)(t,M.MZ.Loose)||(e.preventDefault(),null==y||y.focus())});let G=(0,u._)(e=>{P({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:y:y;null==t||t.focus()}),J=(0,l.useMemo)(()=>({close:G,isPortalled:A}),[G,A]),Z=(0,l.useMemo)(()=>({open:0===g,close:G}),[g,G]),Q=(0,I.Ci)();return l.createElement(m.H5,{node:W},l.createElement(T,null,l.createElement(X.Provider,{value:null},l.createElement(U.Provider,{value:h},l.createElement(q.Provider,{value:J},l.createElement(x.e,{value:G},l.createElement(O.El,{value:(0,R.Y)(g,{0:O.Uw.Open,1:O.Uw.Closed})},l.createElement(V,null,Q({ourProps:{ref:a},theirProps:o,slot:Z,defaultTag:"div",name:"Popover"})))))))))}),ee=(0,I.FX)(function(e,t){let n=(0,l.useId)(),{id:a="headlessui-popover-button-".concat(n),disabled:s=!1,autoFocus:c=!1,...d}=e,[f,m]=V("Popover.Button"),{isPortalled:g}=W("Popover.Button"),b=(0,l.useRef)(null),x="headlessui-focus-sentinel-".concat((0,l.useId)()),w=$(),k=null==w?void 0:w.closeOthers,E=null!==(0,l.useContext)(X);(0,l.useEffect)(()=>
1{if(!E)return m({type:3,buttonId:a}),()=>{m({type:3,buttonId:null})}},[E,a,m]);let[S]=(0,l.useState)(()=>Symbol()),P=(0,v.P)(b,t,(0,l.useContext)(C).setReference,(0,u._)(e=>{if(!E){if(e)f.buttons.current.push(S);else{let e=f.buttons.current.indexOf(S);-1!==e&&f.buttons.current.splice(e,1)}f.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&m({type:2,button:e})}})),T=(0,v.P)(b,t),F=(0,p.g)(b),A=(0,u._)(e=>{var t,n,r;if(E){if(1===f.popoverState)return;switch(e.key){case j.D.Space:case j.D.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),m({type:1}),null==(r=f.button)||r.focus()}}else switch(e.key){case j.D.Space:case j.D.Enter:e.preventDefault(),e.stopPropagation(),1===f.popoverState&&(null==k||k(f.buttonId)),m({type:0});break;case j.D.Escape:if(0!==f.popoverState)return null==k?void 0:k(f.buttonId);if(!b.current||null!=F&&F.activeElement&&!b.current.contains(F.activeElement))return;e.preventDefault(),e.stopPropagation(),m({type:1})}}),O=(0,u._)(e=>{E||e.key===j.D.Space&&e.preventDefault()}),_=(0,u._)(e=>{var t,n;(0,D.l)(e.currentTarget)||s||(E?(m({type:1}),null==(t=f.button)||t.focus()):(e.preventDefault(),e.stopPropagation(),1===f.popoverState&&(null==k||k(f.buttonId)),m({type:0}),null==(n=f.button)||n.focus()))}),B=(0,u._)(e=>{e.preventDefault(),e.stopPropagation()}),{isFocusVisible:N,focusProps:H}=(0,r.o)({autoFocus:c}),{isHovered:z,hoverProps:U}=(0,o.M)({isDisabled:s}),{pressed:q,pressProps:Y}=(0,i.Z)({disabled:s}),K=0===f.popoverState,G=(0,l.useMemo)(()=>({open:K,active:q||K,disabled:s,hover:z,focus:N,autofocus:c}),[K,z,N,q,s,c]),J=(0,h.c)(e,f.button),Z=E?(0,I.v6)({ref:T,type:J,onKeyDown:A,onClick:_,disabled:s||void 0,autoFocus:c},H,U,Y):(0,I.v6)({ref:P,id:f.buttonId,type:J,"aria-expanded":0===f.popoverState,"aria-controls":f.panel?f.panelId:void 0,disabled:s||void 0,autoFocus:c,onKeyDown:A,onKeyUp:O,onClick:_,onMouseDown:B},H,U,Y),Q=(0,y.u)(),ee=(0,u._)(()=>{let e=f.panel;e&&(0,R.Y)(Q.current,{[y.O.Forwards]:()=>(0,M.CU)(e,M.BD.First),[y.O.Backwards]:()=>(0,M.CU)(e,M.BD.Last)})===M.Me.Error&&(0,M.CU)((0,M.iq)().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),(0,R.Y)(Q.current,{[y.O.Forwards]:M.BD.Next,[y.O.Backwards]:M.BD.Previous}),{relativeTo:f.button})}),et=(0,I.Ci)();return l.createElement(l.Fragment,null,et({ourProps:Z,theirProps:d,slot:G,defaultTag:"button",name:"Popover.Button"}),K&&!E&&g&&l.createElement(L.j,{id:x,ref:f.afterButtonSentinel,features:L.u.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:ee}))}),et=(0,I.FX)(J),en=Object.assign(Q,{Button:ee,Backdrop:(0,I.FX)(J),Overlay:et,Panel:(0,I.FX)(function(e,t){let n=(0,l.useId)(),{id:r="headlessui-popover-panel-".concat(n),focus:o=!1,anchor:i,portal:s=!1,modal:c=!1,transition:f=!1,...h}=e,[m,x]=V("Popover.Panel"),{close:w,isPortalled:k}=W("Popover.Panel"),E="headlessui-focus-sentinel-before-".concat(n),S="headlessui-focus-sentinel-after-".concat(n),T=(0,l.useRef)(null),F=(0,l.useMemo)(()=>i?"string"==typeof i?{to:i}:i:null,[i]),[A,D]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,l.useContext)(P),n=(0,l.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,a.s)(()=>{null==t||t(null!=n?n:null)},[t,n]);let r=(0,l.useContext)(C);return(0,l.useMemo)(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}(F),_=function(){let{getFloatingProps:e,slot:t}=(0,l.useContext)(C);return(0,l.useCallback)(function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return Object.assign({},e(...r),{"data-anchor":t.anchor})},[e,t])}();F&&(s=!0);let[N,H]=(0,l.useState)(null),z=(0,v.P)(T,t,F?A:null,(0,u._)(e=>x({type:4,panel:e})),H),U=(0,p.g)(T);(0,a.s)(()=>(x({type:5,panelId:r}),()=>{x({type:5,panelId:null})}),[r,x]);let Y=(0,O.O_)(),[$,K]=(0,b.p)(f,N,null!==Y?(Y&O.Uw.Open)===O.Uw.Open:0===m.popoverState);(0,d.O)($,m.button,()=>{x({type:1})});let G=!m.__demoMode&&c&&$;(0,g.K)(G,U);let J=(0,u._)(e=>{var t;if(e.key===j.D.Escape){if(0!==m.popoverState||!T.current||null!=U&&U.activeElement&&!T.current.contains(U.activeElement))return;e.preventDefault(),e.stopPropagation(),x({type:1}
1),null==(t=m.button)||t.focus()}});(0,l.useEffect)(()=>{var t;e.static||1===m.popoverState&&(null==(t=e.unmount)||t)&&x({type:4,panel:null})},[m.popoverState,e.unmount,e.static,x]),(0,l.useEffect)(()=>{if(m.__demoMode||!o||0!==m.popoverState||!T.current)return;let e=null==U?void 0:U.activeElement;T.current.contains(e)||(0,M.CU)(T.current,M.BD.First)},[m.__demoMode,o,T.current,m.popoverState]);let Q=(0,l.useMemo)(()=>({open:0===m.popoverState,close:w}),[m.popoverState,w]),ee=(0,I.v6)(F?_():{},{ref:z,id:r,onKeyDown:J,onBlur:o&&0===m.popoverState?e=>{var t,n,r,o,l;let i=e.relatedTarget;i&&T.current&&(null!=(t=T.current)&&t.contains(i)||(x({type:1}),(null!=(r=null==(n=m.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,i)||null!=(l=null==(o=m.afterPanelSentinel.current)?void 0:o.contains)&&l.call(o,i))&&i.focus({preventScroll:!0})))}:void 0,tabIndex:-1,style:{...h.style,...D,"--button-width":function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[n,r]=(0,l.useReducer)(()=>({}),{}),o=(0,l.useMemo)(()=>(function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}})(e),[e,n]);return(0,a.s)(()=>{if(!e)return;let t=new ResizeObserver(r);return t.observe(e),()=>{t.disconnect()}},[e]),t?{width:"".concat(o.width,"px"),height:"".concat(o.height,"px")}:o}(m.button,!0).width},...(0,b.B)(K)}),et=(0,y.u)(),en=(0,u._)(()=>{let e=T.current;e&&(0,R.Y)(et.current,{[y.O.Forwards]:()=>{var t;(0,M.CU)(e,M.BD.First)===M.Me.Error&&(null==(t=m.afterPanelSentinel.current)||t.focus())},[y.O.Backwards]:()=>{var e;null==(e=m.button)||e.focus({preventScroll:!0})}})}),er=(0,u._)(()=>{let e=T.current;e&&(0,R.Y)(et.current,{[y.O.Forwards]:()=>{if(!m.button)return;let e=(0,M.iq)(),t=e.indexOf(m.button),n=e.slice(0,t+1),r=[...e.slice(t+1),...n];for(let e of r.slice())if("true"===e.dataset.headlessuiFocusGuard||null!=N&&N.contains(e)){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}(0,M.CU)(r,M.BD.First,{sorted:!1})},[y.O.Backwards]:()=>{var t;(0,M.CU)(e,M.BD.Previous)===M.Me.Error&&(null==(t=m.button)||t.focus())}})}),eo=(0,I.Ci)();return l.createElement(O.$x,null,l.createElement(X.Provider,{value:r},l.createElement(q.Provider,{value:{close:w,isPortalled:k}},l.createElement(B.ZL,{enabled:!!s&&(e.static||$)}
1,$&&k&&l.createElement(L.j,{id:E,ref:m.beforePanelSentinel,features:L.u.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:en}),eo({ourProps:ee,theirProps:h,slot:Q,defaultTag:"div",features:Z,visible:$,name:"Popover.Panel"}),$&&k&&l.createElement(L.j,{id:S,ref:m.afterPanelSentinel,features:L.u.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:er})))))}),Group:(0,I.FX)(function(e,t){let n=(0,l.useRef)(null),r=(0,v.P)(n,t),[o,i]=(0,l.useState)([]),a=(0,u._)(e=>{i(t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t})}),s=(0,u._)(e=>(i(t=>[...t,e]),()=>a(e))),c=(0,u._)(()=>{var e;let t=(0,_.T)(n);if(!t)return!1;let r=t.activeElement;return!!(null!=(e=n.current)&&e.contains(r))||o.some(e=>{var n,o;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(o=t.getElementById(e.panelId.current))?void 0:o.contains(r))})}),d=(0,u._)(e=>{for(let t of o)t.buttonId.current!==e&&t.close()}),f=(0,l.useMemo)(()=>({registerPopover:s,unregisterPopover:a,isFocusWithinPopoverGroup:c,closeOthers:d}),[s,a,c,d]),p=(0,l.useMemo)(()=>({}),[]),h=(0,I.Ci)();return l.createElement(m.H5,null,l.createElement(Y.Provider,{value:f},h({ourProps:{ref:r},theirProps:e,slot:p,defaultTag:"div",name:"Popover.Group"})))})})},3644:(e,t,n)=>{"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function o(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{Fr:()=>o,un:()=>r})},3673:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var r=n(4232);class o extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}var l=n(7344),i=n(2214),a=n(7907);let u=new o(()=>(0,l.y)(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}}));function s(e,t){let n=u.get(t),o=(0,r.useId)(),l=(0,a.P)(n);if((0,i.s)(()=>{if(e)return n.dispatch("ADD",o),()=>n.dispatch("REMOVE",o)},[n,e]),!e)return!1;let s=l.indexOf(o),c=l.length;return -1===s&&(s=c,c+=1),s===c-1}},3717:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3872:(e,t,n)=>{"use strict";function r(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),l=2;l<n;l++)o[l-2]=arguments[l];if(e in t){let n=t[e];return"function"==typeof n?n(...o):n}let i=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{Y:()=>r})},3986:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(4232),o=n(3249),l=n(9266);function i(e){let t=(0,l._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,o._)(()=>{n.current&&t()})}),[t])}},4116:(e,t,n)=>{"use strict";n.d(t,{K:()=>c});var r=n(7907),o=n(2214),l=n(9314),i=n(7344),a=n(3644);let u=(0,i.y)(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,l.e)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(e){let t,{doc:n,d:r,meta:o}=e,i={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(o)},u=[(0,a.un)()?{before(e){let{doc:t,d:n,meta:r}=e;function o(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,l.e)();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,i=null;n.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),l=t.querySelector(r);l&&!o(l)&&(i=l)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement)if(o(e.target)){let t=e.target;for(;t.parentElement&&o(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")}),n.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement&&"INPUT"!==e.target.tagName)if(o(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()},{passive:!1}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{},{before(e){var n;let{doc:r}=e,o=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-o.clientWidth)},after(e){let{doc:n,d:r}=e,o=n.documentElement,l=Math.max(0,o.clientWidth-o.offsetWidth),i=Math.max(0,t-l);r.style(o,"paddingRight","".concat(i,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];
1u.forEach(e=>{let{before:t}=e;return null==t?void 0:t(i)}),u.forEach(e=>{let{after:t}=e;return null==t?void 0:t(i)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});u.subscribe(()=>{let e=u.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&u.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&u.dispatch("TEARDOWN",n)}});var s=n(3673);function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),l=(0,r.P)(u),i=t?l.get(t):void 0;i&&i.count,(0,o.s)(()=>{if(!(!t||!e))return u.dispatch("PUSH",t,n),()=>u.dispatch("POP",t,n)},[e,t])}((0,s.S)(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}},4163:(e,t,n)=>{"use strict";n.d(t,{BD:()=>a,Bm:()=>f,CU:()=>m,MZ:()=>d,Me:()=>u,Uo:()=>l,iq:()=>c,pW:()=>h});var r=n(3872),o=n(1222);let l=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(","),i=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var a=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(a||{}),u=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(u||{}),s=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(s||{});function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(l)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var d=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(d||{});function f(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,o.T)(e))?void 0:t.body)&&(0,r.Y)(n,{0:()=>e.matches(l),1(){let t=e;for(;null!==t;){if(t.matches(l))return!0;t=t.parentElement}return!1}})}var p=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(p||{});function h(e){null==e||e.focus({preventScroll:!0})}function m(e,t){var n,r,o;let{sorted:l=!0,relativeTo:a=null,skipElements:u=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,d=Array.isArray(e)?l?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let l=r.compareDocumentPosition(o);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(e):e:64&t?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(i)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):c(e);u.length>0&&d.length>1&&(d=d.filter(e=>!u.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),a=null!=a?a:s.activeElement;let f=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=(()=>
1{if(1&t)return 0;if(2&t)return Math.max(0,d.indexOf(a))-1;if(4&t)return Math.max(0,d.indexOf(a))+1;if(8&t)return d.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=32&t?{preventScroll:!0}:{},m=0,g=d.length,v;do{if(m>=g||m+g<=0)return 0;let e=p+m;if(16&t)e=(e+g)%g;else{if(e<0)return 3;if(e>=g)return 1}null==(v=d[e])||v.focus(h),m+=f}while(v!==s.activeElement);return 6&t&&null!=(o=null==(r=null==(n=v)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&o&&v.select(),2}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},4219:(e,t,n)=>{"use strict";let r=n(4232);e.exports=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.26 10.147a60.436 60.436 0 00-.491 6.347A48.627 48.627 0 0112 20.904a48.627 48.627 0 018.232-4.41 60.46 60.46 0 00-.491-6.347m-15.482 0a50.57 50.57 0 00-2.658-.813A59.905 59.905 0 0112 3.493a59.902 59.902 0 0110.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.697 50.697 0 0112 13.489a50.702 50.702 0 017.74-3.342M6.75 15a.75.75 0 100-1.5.75.75 0 000 1.5zm0 0v-3.675A55.378 55.378 0 0112 8.443m-7.007 11.55A5.981 5.981 0 006.75 15.75v-1.5"}))})},4362:(e,t,n)=>{"use strict";n.d(t,{B:()=>d,p:()=>f});var r,o,l=n(4232),i=n(9314),a=n(5069),u=n(2214),s=n(5364);void 0!==s&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(r=null==s?void 0:s.env)?void 0:r.NODE_ENV)==="test"&&void 0===(null==(o=null==Element?void 0:Element.prototype)?void 0:o.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var c=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(c||{});function d(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}function f(e,t,n,r){let[o,s]=(0,l.useState)(n),{hasFlag:c,addFlag:d,removeFlag:f}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,l.useState)(e),r=(0,l.useCallback)(e=>n(e),[t]),o=(0,l.useCallback)(e=>n(t=>t|e),[t]),i=(0,l.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:o,hasFlag:i,removeFlag:(0,l.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,l.useCallback)(e=>n(t=>t^e),[n])}}(e&&o?3:0),p=(0,l.useRef)(!1),h=(0,l.useRef)(!1),m=(0,a.L)();return(0,u.s)(()=>{var o;if(e){if(n&&s(!0),!t){n&&d(3);return}return null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,t){let{prepare:n,run:r,done:o,inFlight:l}=t,a=(0,i.e)();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current)return r();let o=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=o}(e,{prepare:n,inFlight:l}),a.nextFrame(()=>{r(),a.requestAnimationFrame(()=>{a.add(function(e,t){var n,r;let o=(0,i.e)();if(!e)return o.dispose;let l=!1;o.add(()=>{l=!0});let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===a.length?t():Promise.allSettled(a.map(e=>e.finished)).then(()=>{l||t()}),o.dispose}(e,o))})}),a.dispose}(t,{inFlight:p,prepare(){h.current?h.current=!1:h.current=p.current,p.current=!0,h.current||(n?(d(3),f(4)):(d(4),f(2)))},run(){h.current?n?(f(3),d(4)):(f(4),d(3)):n?f(1):d(1)},done(){var e;h.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(p.current=!1,f(7),n||s(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,m]),e?[o,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}}
1,4483:(e,t,n)=>{"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),o=0,l=!1;for(;!l;){-1===r&&(r=n.length,l=!0);let e=n.slice(o,r).trim();(e||!l)&&t.push(e),o=r+1,r=n.indexOf(",",o)}return t}function o(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{A:()=>o,q:()=>r})},4498:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l});var r=n(4232),o=n(2214);function l(e){let t=(0,r.useRef)(e);return(0,o.s)(()=>{t.current=e},[e]),t}},4676:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{x:()=>r})},4787:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(4232),o=n(9314),l=n(4498);function i(e,t,n){let i=(0,l.Y)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,r.useEffect)(()=>{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let r=(0,o.e)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>i.current(n));e.observe(n),r.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>i.current(n));e.observe(n),r.add(()=>e.disconnect())}return()=>r.dispose()},[t,i,e])}},4882:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,Ej:()=>m,UU:()=>h,cY:()=>f,we:()=>d});var r=n(400),o=n(4232),l=n(8477),i="undefined"!=typeof document?o.useLayoutEffect:function(){};function a(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=u(e);return Math.round(t*n)/n}function c(e){let t=o.useRef(e);return i(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:v}=e,[y,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,w]=o.useState(d);a(x,d)||w(d);let[k,E]=o.useState(null),[S,C]=o.useState(null),P=o.useCallback(e=>{e!==L.current&&(L.current=e,E(e))},[]),T=o.useCallback(e=>{e!==O.current&&(O.current=e,C(e))},[]),F=p||k,A=h||S,L=o.useRef(null),O=o.useRef(null),D=o.useRef(y),M=null!=g,R=c(g),_=c(f),I=c(v),j=o.useCallback(()=>{if(!L.current||!O.current)return;let e={placement:t,strategy:n,middleware:x};_.current&&(e.platform=_.current),(0,r.rD)(L.current,O.current,e).then(e=>{let t={...e,isPositioned:!1!==I.current};B.current&&!a(D.current,t)&&(D.current=t,l.flushSync(()=>{b(t)}))})},[x,t,n,_,I]);i(()=>{!1===v&&D.current.isPositioned&&(D.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[v]);let B=o.useRef(!1);i(()=>(B.current=!0,()=>{B.current=!1}),[]),i(()=>{if(F&&(L.current=F),A&&(O.current=A),F&&A){if(R.current)return R.current(F,A,j);j()}},[F,A,j,R,M]);let N=o.useMemo(()=>({reference:L,floating:O,setReference:P,setFloating:T}),[P,T]),H=o.useMemo(()=>({reference:F,floating:A}),[F,A]),z=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!H.floating)return e;let t=s(H.floating,y.x),r=s(H.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...u(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,H.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:j,refs:N,elements:H,floatingStyles:z}),[y,j,N,H,z])}let f=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),p=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),h=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),m=(e,t)=>({...(0,r.Ej)(e),options:[e,t]})},4974:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof window}function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function l(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!r()&&(e instanceof Node||e instanceof l(e).Node)}function u(e){return!!r()&&(e instanceof Element||e instanceof l(e).Element)}function s(e){return!!r()&&(e instanceof HTMLElement||e instanceof l(e).HTMLElement)}function c(e){return!!r()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof l(e).ShadowRoot)}n.d(t,{$4:()=>T,CP:()=>P,L9:()=>C,Lv:()=>h,Tc:()=>k,Tf:()=>g,ZU:()=>f,_m:()=>F,ep:()=>i,eu:()=>S,gJ:()=>w,mq:()=>o,sQ:()=>x,sb:()=>s,v9:()=>function e(t,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let i=function e(t){let n=T(t);return S(n)?t.ownerDocument?t.ownerDocument.body:t.body:s(n)&&f(n)?n:e(n)}(t),a=i===(null==(o=t.ownerDocument)?void 0:o.body),u=l(i);if(a){let t=F(u);
1return n.concat(u,u.visualViewport||[],f(i)?i:[],t&&r?e(t):[])}return n.concat(i,e(i,[],r))},vq:()=>u,zk:()=>l});let d=new Set(["inline","contents"]);function f(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=C(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!d.has(o)}let p=new Set(["table","td","th"]);function h(e){return p.has(o(e))}let m=[":popover-open",":modal"];function g(e){return m.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let v=["transform","translate","scale","rotate","perspective"],y=["transform","translate","scale","rotate","perspective","filter"],b=["paint","layout","strict","content"];function x(e){let t=k(),n=u(e)?C(e):e;return v.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||y.some(e=>(n.willChange||"").includes(e))||b.some(e=>(n.contain||"").includes(e))}function w(e){let t=T(e);for(;s(t)&&!S(t);){if(x(t))return t;if(g(t))break;t=T(t)}return null}function k(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let E=new Set(["html","body","#document"]);function S(e){return E.has(o(e))}function C(e){return l(e).getComputedStyle(e)}function P(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function T(e){if("html"===o(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||i(e);return c(t)?t.host:t}function F(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},4980:(e,t,n)=>{"use strict";let r=n(4232);e.exports=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12c0-1.232-.046-2.453-.138-3.662a4.006 4.006 0 00-3.7-3.7 48.678 48.678 0 00-7.324 0 4.006 4.006 0 00-3.7 3.7c-.017.22-.032.441-.046.662M19.5 12l3-3m-3 3l-3-3m-12 3c0 1.232.046 2.453.138 3.662a4.006 4.006 0 003.7 3.7 48.656 48.656 0 007.324 0 4.006 4.006 0 003.7-3.7c.017-.22.032-.441.046-.662M4.5 12l3 3m-3-3l-3 3"}))})},5062:(e,t,n)=>{e.exports=n(9706)()},5069:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});var r=n(4232),o=n(9314);function l(){let[e]=(0,r.useState)(o.e);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},5285:(e,t,n)=>{"use strict";n.d(t,{j:()=>l,u:()=>o});var r=n(367),o=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(o||{});let l=(0,r.FX)(function(e,t){var n;let{features:o=1,...l}=e,i={ref:t,"aria-hidden":(2&o)==2||(null!=(n=l["aria-hidden"])?n:void 0),hidden:(4&o)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&o)==4&&(2&o)!=2&&{display:"none"}}};return(0,r.Ci)()({ourProps:i,theirProps:l,slot:{},defaultTag:"span",name:"Hidden"})})},5444:(e,t,n)=>{"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function o(e){return e.join(" ").trim()}n.d(t,{A:()=>o,q:()=>r})},5797:(e,t,n)=>{"use strict";n.d(t,{_:()=>P,e:()=>T});var r=n(4232),o=n(5069),l=n(9266),i=n(1691),a=n(2214),u=n(4498),s=n(6439),c=n(26),d=n(4362),f=n(140),p=n(4676),h=n(3872),m=n(367);function g(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:k)!==r.Fragment||1===r.Children.count(e.children)}let v=(0,r.createContext)(null);v.displayName="TransitionContext";var y=(e=>(e.Visible="visible",e.Hidden="hidden",e))(y||{});let b=(0,r.createContext)(null);function x(e){return"children"in e?x(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function w(e,t){let n=(0,u.Y)(e),a=(0,r.useRef)([]),s=(0,i.a)(),c=(0,o.L)(),d=(0,l._)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.mK.Hidden,r=a.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==r&&((0,h.Y)(t,{[m.mK.Unmount](){a.current.splice(r,1)},[m.mK.Hidden](){a.current[r].state="hidden"}}),c.microTask(()=>{var e;!x(a)&&s.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,l._)(e=>{let t=a.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>d(e,m.mK.Unmount)}),p=(0,r.useRef)([]),g=(0,r.useRef)(Promise.resolve()),v=(0,r.useRef)({enter:[],leave:[]}
1),y=(0,l._)((e,n,r)=>{p.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{p.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(v.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?g.current=g.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),b=(0,l._)((e,t,n)=>{Promise.all(v.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=p.current.shift())||e()}).then(()=>n(t))});return(0,r.useMemo)(()=>({children:a,register:f,unregister:d,onStart:y,onStop:b,wait:g,chains:v}),[f,d,a,y,b,v,g])}b.displayName="NestingContext";let k=r.Fragment,E=m.Ac.RenderStrategy,S=(0,m.FX)(function(e,t){let{show:n,appear:o=!1,unmount:i=!0,...u}=e,d=(0,r.useRef)(null),p=g(e),h=(0,c.P)(...p?[d,t]:null===t?[]:[t]);(0,s.g)();let y=(0,f.O_)();if(void 0===n&&null!==y&&(n=(y&f.Uw.Open)===f.Uw.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[k,S]=(0,r.useState)(n?"visible":"hidden"),P=w(()=>{n||S("hidden")}),[T,F]=(0,r.useState)(!0),A=(0,r.useRef)([n]);(0,a.s)(()=>{!1!==T&&A.current[A.current.length-1]!==n&&(A.current.push(n),F(!1))},[A,n]);let L=(0,r.useMemo)(()=>({show:n,appear:o,initial:T}),[n,o,T]);(0,a.s)(()=>{n?S("visible"):x(P)||null===d.current||S("hidden")},[n,P]);let O={unmount:i},D=(0,l._)(()=>{var t;T&&F(!1),null==(t=e.beforeEnter)||t.call(e)}),M=(0,l._)(()=>{var t;T&&F(!1),null==(t=e.beforeLeave)||t.call(e)}),R=(0,m.Ci)();return r.createElement(b.Provider,{value:P},r.createElement(v.Provider,{value:L},R({ourProps:{...O,as:r.Fragment,children:r.createElement(C,{ref:h,...O,...u,beforeEnter:D,beforeLeave:M})},theirProps:{},defaultTag:r.Fragment,features:E,visible:"visible"===k,name:"Transition"})))}),C=(0,m.FX)(function(e,t){var n,o;let{transition:i=!0,beforeEnter:u,afterEnter:y,beforeLeave:S,afterLeave:C,enter:P,enterFrom:T,enterTo:F,entered:A,leave:L,leaveFrom:O,leaveTo:D,...M}=e,[R,_]=(0,r.useState)(null),I=(0,r.useRef)(null),j=g(e),B=(0,c.P)(...j?[I,t,_]:null===t?[]:[t]),N=null==(n=M.unmount)||n?m.mK.Unmount:m.mK.Hidden,{show:H,appear:z,initial:U}=function(){let e=(0,r.useContext)(v);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[V,q]=(0,r.useState)(H?"visible":"hidden"),W=function(){let e=(0,r.useContext)(b);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:Y,unregister:$}=W;(0,a.s)(()=>Y(I),[Y,I]),(0,a.s)(()=>{if(N===m.mK.Hidden&&I.current)return H&&"visible"!==V?void q("visible"):(0,h.Y)(V,{hidden:()=>$(I),visible:()=>Y(I)})},[V,I,Y,$,H,N]);let X=(0,s.g)();(0,a.s)(()=>{if(j&&X&&"visible"===V&&null===I.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[I,V,X,j]);let K=U&&!z,G=z&&H&&U,J=(0,r.useRef)(!1),Z=w(()=>{J.current||(q("hidden"),$(I))},W),Q=(0,l._)(e=>{J.current=!0,Z.onStart(I,e?"enter":"leave",e=>{"enter"===e?null==u||u():"leave"===e&&(null==S||S())})}),ee=(0,l._)(e=>{let t=e?"enter":"leave";J.current=!1,Z.onStop(I,t,e=>{"enter"===e?null==y||y():"leave"===e&&(null==C||C())}),"leave"!==t||x(Z)||(q("hidden"),$(I))});(0,r.useEffect)(()=>{j&&i||(Q(H),ee(H))},[H,j,i]);let et=!(!i||!j||!X||K),[,en]=(0,d.p)(et,R,H,{start:Q,end:ee}),er=(0,m.oE)({ref:B,className:(null==(o=(0,p.x)(M.className,G&&P,G&&T,en.enter&&P,en.enter&&en.closed&&T,en.enter&&!en.closed&&F,en.leave&&L,en.leave&&!en.closed&&O,en.leave&&en.closed&&D,!en.transition&&H&&A))?void 0:o.trim())||void 0,...(0,d.B)(en)}),eo=0;"visible"===V&&(eo|=f.Uw.Open),"hidden"===V&&(eo|=f.Uw.Closed),en.enter&&(eo|=f.Uw.Opening),en.leave&&(eo|=f.Uw.Closing);let el=(0,m.Ci)();return r.createElement(b.Provider,{value:Z},r.createElement(f.El,{value:eo},el({ourProps:er,theirProps:M,defaultTag:k,features:E,visible:"visible"===V,name:"Transition.Child"})))}),P=(0,m.FX)(function(e,t){let n=null!==(0,r.useContext)(v),o=null!==(0,f.O_)();return r.createElement(r.Fragment,null,!n&&o?r.createElement(S,{ref:t,...e}):r.createElement(C,{ref:t,...e}))}),T=Object.assign(S,{Child:P,Root:S})}
1,5819:(e,t,n)=>{"use strict";n.d(t,{e:()=>l});var r=n(4232);let o=(0,r.createContext)(()=>{});function l(e){let{value:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}},6439:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r,o=n(4232),l=n(9438);function i(){let e,t=(e="undefined"==typeof document,(0,(r||(r=n.t(o,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[i,a]=o.useState(l._.isHandoffComplete);return i&&!1===l._.isHandoffComplete&&a(!1),o.useEffect(()=>{!0!==i&&a(!0)},[i]),o.useEffect(()=>l._.handoff(),[]),!t&&i}},6581:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(4252)._(n(4232)).default.createContext(null)},6604:(e,t,n)=>{"use strict";let r=n(4232);e.exports=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))})},6607:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(4232);let o=!1,l=0;function i(){o=!0,setTimeout(()=>{o=!1},50)}function a(e){"touch"===e.pointerType&&i()}function u(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",a):document.addEventListener("touchend",i),l++,()=>{--l>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",a):document.removeEventListener("touchend",i))}}function s(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:l,isDisabled:i}=e,[a,s]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(u,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,i||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let o=e.currentTarget;c.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),s(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;l&&l({type:"hoverend",target:r,pointerType:t}),n&&n(!1),s(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(a.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||o||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:a,triggerHoverEnd:r}},[t,n,l,i,c]);return(0,r.useEffect)(()=>{i&&f({currentTarget:c.target},c.pointerType)},[i]),{hoverProps:d,isHovered:a}}},6668:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(4232);function o(e,t){return(0,r.useMemo)(()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";if("string"==typeof r&&"button"===r.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},6720:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g;function s(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,d=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new h(e),v(r),t}}function h(e){this.start=e,this.end={line:c,column:d},this.source=u.source}h.prototype.content=e;var m=[];function g(t){var n=Error(u.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=c,n.column=d,n.source=e,u.silent)m.push(n);else throw n}function v(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}v(r);var x,w=[];for(y(w);x=function(){var e=p(),n=v(o);if(n){if(b(),!v(l))return g("property missing ':'");var r=v(i),u=e({type:"declaration",property:s(n[0].replace(t,"")),value:r?s(r[0].replace(t,"")):""});return v(a),u}}();)!1!==x&&(w.push(x),y(w));return w}}
1,6788:(e,t,n)=>{"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null==(t=window.navigator.userAgentData)?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function l(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{o:()=>R});let i=l(function(){return o(/^Mac/i)}),a=l(function(){return o(/^iPhone/i)}),u=l(function(){return o(/^iPad/i)||i()&&navigator.maxTouchPoints>1}),s=l(function(){return a()||u()});l(function(){return i()||s()}),l(function(){return r(/AppleWebKit/i)&&!c()});let c=l(function(){return r(/Chrome/i)}),d=l(function(){return r(/Android/i)});l(function(){return r(/Firefox/i)});let f=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},p=e=>e&&"window"in e&&e.window===e?e:f(e).defaultView||window;var h=n(4232);let m=null,g=new Set,v=new Map,y=!1,b=!1,x={Tab:!0,Escape:!0};function w(e,t){for(let n of g)n(e,t)}function k(e){y=!0,e.metaKey||!i()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(m="keyboard",w("keyboard",e))}
1function E(e){m="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(y=!0,w("pointer",e))}function S(e){(0===e.mozInputSource&&e.isTrusted||(d()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(y=!0,m="virtual")}function C(e){e.target!==window&&e.target!==document&&(y||b||(m="virtual",w("virtual",e)),y=!1,b=!1)}function P(){y=!1,b=!0}function T(e){if("undefined"==typeof window||v.get(p(e)))return;let t=p(e),n=f(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){y=!0,r.apply(this,arguments)},n.addEventListener("keydown",k,!0),n.addEventListener("keyup",k,!0),n.addEventListener("click",S,!0),t.addEventListener("focus",C,!0),t.addEventListener("blur",P,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",E,!0),n.addEventListener("pointermove",E,!0),n.addEventListener("pointerup",E,!0)):(n.addEventListener("mousedown",E,!0),n.addEventListener("mousemove",E,!0),n.addEventListener("mouseup",E,!0)),t.addEventListener("beforeunload",()=>{F(e)},{once:!0}),v.set(t,{focus:r})}let F=(e,t)=>{let n=p(e),r=f(e);t&&r.removeEventListener("DOMContentLoaded",t),v.has(n)&&(n.HTMLElement.prototype.focus=v.get(n).focus,r.removeEventListener("keydown",k,!0),r.removeEventListener("keyup",k,!0),r.removeEventListener("click",S,!0),n.removeEventListener("focus",C,!0),n.removeEventListener("blur",P,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",E,!0),r.removeEventListener("pointermove",E,!0),r.removeEventListener("pointerup",E,!0)):(r.removeEventListener("mousedown",E,!0),r.removeEventListener("mousemove",E,!0),r.removeEventListener("mouseup",E,!0)),v.delete(n))};function A(){return"pointer"!==m}"undefined"!=typeof document&&function(e){let t,n=f(void 0);"loading"!==n.readyState?T(void 0):(t=()=>{T(e)},n.addEventListener("DOMContentLoaded",t)),()=>F(e,t)}();let L=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),O="undefined"!=typeof document?h.useLayoutEffect:()=>{};class D{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function M(e){let t=(0,h.useRef)({isFocused:!1,observer:null});O(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){let t=(0,h.useRef)(null);return O(()=>{t.current=e},[e]),(0,h.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(t=>{null==e||e(t)});return(0,h.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new D("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function R(e={}){var t;let{autoFocus:n=!1,isTextInput:r,within:o}=e,l=(0,h.useRef)({isFocused:!1,isFocusVisible:n||A()}),[i,a]=(0,h.useState)(!1),[u,s]=(0,h.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),c=(0,h.useCallback)(()=>s(l.current.isFocused&&l.current.isFocusVisible),[]),d=(0,h.useCallback)(e=>{l.current.isFocused=e,a(e),c()},[c]);t={isTextInput:r},T(),(0,h.useEffect)(()=>
1{let e=(e,n)=>{(function(e,t,n){var r;let o="undefined"!=typeof window?p(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,l="undefined"!=typeof window?p(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,i="undefined"!=typeof window?p(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?p(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof o&&!L.has(null==n||null==(r=n.target)?void 0:r.type)||(null==n?void 0:n.target)instanceof l||(null==n?void 0:n.target)instanceof i&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof a&&!x[n.key])})(!!(null==t?void 0:t.isTextInput),e,n)&&(e=>{l.current.isFocusVisible=e,c()})(A())};return g.add(e),()=>{g.delete(e)}},[]);let{focusProps:m}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,l=(0,h.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0},[r,o]),i=M(l),a=(0,h.useCallback)(e=>{let t=f(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),o&&o(!0),i(e))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?a:void 0,onBlur:!t&&(r||o)?l:void 0}}}({isDisabled:o,onFocusChange:d}),{focusWithinProps:v}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,l=(0,h.useRef)({isFocusWithin:!1}),i=(0,h.useCallback)(e=>{l.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(l.current.isFocusWithin=!1,n&&n(e),o&&o(!1))},[n,o,l]),a=M(i),u=(0,h.useCallback)(e=>{l.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),o&&o(!0),l.current.isFocusWithin=!0,a(e))},[r,o,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:i}}}({isDisabled:!o,onFocusWithinChange:d});return{isFocused:i,isFocusVisible:u,focusProps:o?v:m}}},6793:(e,t,n)=>{"use strict";n.d(t,{M:()=>l});var r=n(4232),o=n(4498);function l(e,t,n,l){let i=(0,o.Y)(n);(0,r.useEffect)(()=>{function n(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,n,l),()=>e.removeEventListener(t,n,l)},[e,t,l])}},6826:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},6924:(e,t,n)=>{"use strict";n.d(t,{S:()=>l,a:()=>i});var r=n(4232);let o=(0,r.createContext)(!1);function l(){return(0,r.useContext)(o)}function i(e){return r.createElement(o.Provider,{value:e.force},e.children)}},6981:(e,t,n)=>{"use strict";let r=n(4232);e.exports=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"}))})},7138:function(e){e.exports=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}},7197:(e,t,n)=>{"use strict";n.d(t,{H5:()=>c,iq:()=>u,xA:()=>d});var r=n(4232),o=n(5285),l=n(1222),i=n(9266),a=n(1217);function u(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,a.g)(n),o=(0,i._)(()=>{var o,l;let i=[];for(let t of e)null!==t&&(t instanceof HTMLElement?i.push(t):"current"in t&&t.current instanceof HTMLElement&&i.push(t.current));if(null!=t&&t.current)for(let e of t.current)i.push(e);for(let e of null!=(o=null==r?void 0:r.querySelectorAll("html > *, body > *"))?o:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(l=null==n?void 0:n.getRootNode())?void 0:l.host))||i.some(t=>e.contains(t))||i.push(e));return i});
1return{resolveContainers:o,contains:(0,i._)(e=>o().some(t=>t.contains(e)))}}let s=(0,r.createContext)(null);function c(e){let{children:t,node:n}=e,[i,a]=(0,r.useState)(null),u=d(null!=n?n:i);return r.createElement(s.Provider,{value:u},t,null===u&&r.createElement(o.j,{features:o.u.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,l.T)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){a(r);break}}}}))}function d(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,r.useContext)(s))?e:t}},7225:(e,t,n)=>{"use strict";e.exports=n(789)},7315:(e,t,n)=>{"use strict";n.r(t),n.d(t,{boolean:()=>o,booleanish:()=>l,commaOrSpaceSeparated:()=>c,commaSeparated:()=>s,number:()=>a,overloadedBoolean:()=>i,spaceSeparated:()=>u});let r=0,o=d(),l=d(),i=d(),a=d(),u=d(),s=d(),c=d();function d(){return 2**++r}},7344:(e,t,n)=>{"use strict";function r(e,t){let n=e(),r=new Set;return{getSnapsh
1ot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var o=arguments.length,l=Array(o>1?o-1:0),i=1;i<o;i++)l[i-1]=arguments[i];let a=t[e].call(n,...l);a&&(n=a,r.forEach(e=>e()))}}}n.d(t,{y:()=>r})},7608:(e,t,n)=>{"use strict";let r=n(4232);e.exports=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 00-5.78 1.128 2.25 2.25 0 01-2.4 2.245 4.5 4.5 0 008.4-2.245c0-.399-.078-.78-.22-1.128zm0 0a15.998 15.998 0 003.388-1.62m-5.043-.025a15.994 15.994 0 011.622-3.395m3.42 3.42a15.995 15.995 0 004.764-4.648l3.876-5.814a1.151 1.151 0 00-1.597-1.597L14.146 6.32a15.996 15.996 0 00-4.649 4.763m3.42 3.42a6.776 6.776 0 00-3.42-3.42"}))})},7806:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(9174),o=n(7315);let l=Object.keys(o);class i extends r.R{constructor(e,t,n,r){let i=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++i<l.length;){let e=l[i];!function(e,t,n){n&&(e[t]=n)}(this,l[i],(n&o[e])===o[e])}}}i.prototype.defined=!0},7894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(4232),o=n(1222),l=n(5069),i=n(9266);function a(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.useRef)(null),[n,a]=(0,r.useState)(!1),u=(0,l.L)(),s=(0,i._)(()=>{t.current=null,a(!1),u.dispose()}),c=(0,i._)(e=>{if(u.dispose(),null===t.current){t.current=e.currentTarget,a(!0);{let n=(0,o.T)(e.currentTarget);u.addEventListener(n,"pointerup",s,!1),u.addEventListener(n,"pointermove",e=>{if(t.current){var n,r;let o,l;a((o=e.width/2,l=e.height/2,n={top:e.clientY-l,right:e.clientX+o,bottom:e.clientY+l,left:e.clientX-o},r=t.current.getBoundingClientRect(),!(!n||!r||n.right<r.left||n.left>r.right||n.bottom<r.top||n.top>r.bottom)))}},!1),u.addEventListener(n,"pointercancel",s,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:c,onPointerUp:s,onClick:s}}}},7907:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(4232);function o(e){return(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}},8367:(e,t,n)=>{"use strict";n.d(t,{qy:()=>y,JW:()=>b});class r{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function o(e,t){let n={},o={},l=-1;for(;++l<e.length;)Object.assign(n,e[l].property),Object.assign(o,e[l].normal);return new r(n,o,t)}r.prototype.property={},r.prototype.normal={},r.prototype.space=null;var l=n(3e3),i=n(7806);let a={}.hasOwnProperty;function u(e){let t,n={},o={};for(t in e.properties)if(a.call(e.properties,t)){let r=e.properties[t],a=new i.E(t,e.transform(e.attributes||{},t),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(a.mustUseProperty=!0),n[t]=a,o[(0,l.S)(t)]=t,o[(0,l.S)(a.attribute)]=t}return new r(n,o,e.space)}let s=u({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),c=u({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d(e,t){return t in e?e[t]:t}function f(e,t){return d(e,t.toLowerCase())}let p=u({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:f,properties:{xmlns:null,xmlnsXLink:null}});var h=n(7315);let m=u({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:h.booleanish,ariaAutoComplete:null,ariaBusy:h.booleanish,ariaChecked:h.booleanish,ariaColCount:h.number,ariaColIndex:h.number,ariaColSpan:h.number,ariaControls:h.spaceSeparated,ariaCurrent:null,ariaDescribedBy:h.spaceSeparated,ariaDetails:null,ariaDisabled:h.booleanish,ariaDropEffect:h.spaceSeparated,ariaErrorMessage:null,ariaExpanded:h.booleanish,ariaFlowTo:h.spaceSeparated,ariaGrabbed:h.booleanish,ariaHasPopup:null,ariaHidden:h.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:h.spaceSeparated,ariaLevel:h.number,ariaLive:null,ariaModal:h.booleanish,ariaMultiLine:h.booleanish,ariaMultiSelectable:h.booleanish,ariaOrientation:null,ariaOwns:h.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:h.number,ariaPressed:h.booleanish,ariaReadOnly:h.booleanish,ariaRelevant:null,ariaRequired:h.booleanish,ariaRoleDescription:h.spaceSeparated,ariaRowCount:h.number,ariaRowIndex:h.number,ariaRowSpan:h.number,ariaSelected:h.booleanish,ariaSetSize:h.number,ariaSort:null,ariaValueMax:h.number,ariaValueMin:
1h.number,ariaValueNow:h.number,ariaValueText:null,role:null}}),g=u({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:f,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h.commaSeparated,acceptCharset:h.spaceSeparated,accessKey:h.spaceSeparated,action:null,allow:null,allowFullScreen:h.boolean,allowPaymentRequest:h.boolean,allowUserMedia:h.boolean,alt:null,as:null,async:h.boolean,autoCapitalize:null,autoComplete:h.spaceSeparated,autoFocus:h.boolean,autoPlay:h.boolean,capture:h.boolean,charSet:null,checked:h.boolean,cite:null,className:h.spaceSeparated,cols:h.number,colSpan:null,content:null,contentEditable:h.booleanish,controls:h.boolean,controlsList:h.spaceSeparated,coords:h.number|h.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:h.boolean,defer:h.boolean,dir:null,dirName:null,disabled:h.boolean,download:h.overloadedBoolean,draggable:h.booleanish,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:h.boolean,formTarget:null,headers:h.spaceSeparated,height:h.number,hidden:h.boolean,high:h.number,href:null,hrefLang:null,htmlFor:h.spaceSeparated,httpEquiv:h.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:h.boolean,itemId:null,itemProp:h.spaceSeparated,itemRef:h.spaceSeparated,itemScope:h.boolean,itemType:h.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:h.boolean,low:h.number,manifest:null,max:null,maxLength:h.number,media:null,method:null,min:null,minLength:h.number,multiple:h.boolean,muted:h.boolean,name:null,nonce:null,noModule:h.boolean,noValidate:h.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint: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:h.boolean,optimum:h.number,pattern:null,ping:h.spaceSeparated,placeholder:null,playsInline:h.boolean,poster:null,preload:null,readOnly:h.boolean,referrerPolicy:null,rel:h.spaceSeparated,required:h.boolean,reversed:h.boolean,rows:h.number,rowSpan:h.number,sandbox:h.spaceSeparated,scope:null,scoped:h.boolean,seamless:h.boolean,selected:h.boolean,shape:null,size:h.number,sizes:null,slot:null,span:h.number,spellCheck:h.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:h.number,step:null,style:null,tabIndex:h.number,target:null,title:null,translate:null,type:null,typeMustMatch:h.boolean,useMap:null,value:h.booleanish,width:h.number,wrap:null,align:null,aLink:null,archive:h.spaceSeparated,axis:null,background:null,bgColor:null,border:h.number,borderColor:null,bottomMargin:h.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:h.boolean,declare:h.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:h.number,leftMargin:h.number,link:null,longDesc:null,lowSrc:null,marginHeight:h.number,marginWidth:h.number,noResize:h.boolean,noHref:h.boolean,noShade:h.boolean,noWrap:h.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:h.number,rules:null,scheme:null,scrolling:h.booleanish,standby:null,summary:null,text:null,topMargin:h.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:h.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:h.boolean,disableRemotePlayback:h.boolean,prefix:null,property:null,results:h.number,security:null,unselectable:null}}),v=u({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
1dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:d,properties:{about:h.commaOrSpaceSeparated,accentHeight:h.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:h.number,amplitude:h.number,arabicForm:null,ascent:h.number,attributeName:null,attributeType:null,azimuth:h.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:h.number,by:null,calcMode:null,capHeight:h.number,className:h.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
1dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:h.number,diffuseConstant:h.number,direction:null,display:null,dur:null,divisor:h.number,dominantBaseline:null,download:h.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:h.number,enableBackground:null,end:null,event:null,exponent:h.number,externalResourcesRequired:null,fill:null,fillOpacity:h.number,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:h.commaSeparated,g2:h.commaSeparated,glyphName:h.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:h.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:h.number,horizOriginX:h.number,horizOriginY:h.number,id:null,ideographic:h.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:h.number,k:h.number,k1:h.number,k2:h.number,k3:h.number,k4:h.number,kernelMatrix:h.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:h.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:h.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:h.number,overlineThickness:h.number,paintOrder:null,panose1:null,path:null,pathLength:h.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:h.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:h.number,pointsAtY:h.number,pointsAtZ:h.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:h.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:h.commaOrSpaceSeparated,rev:h.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:h.commaOrSpaceSeparated,requiredFeatures:h.commaOrSpaceSeparated,requiredFonts:h.commaOrSpaceSeparated,requiredFormats:h.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,
1scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:h.number,specularExponent:h.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:h.number,strikethroughThickness:h.number,string:null,stroke:null,strokeDashArray:h.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:h.number,strokeOpacity:h.number,strokeWidth:null,style:null,surfaceScale:h.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:h.commaOrSpaceSeparated,tabIndex:h.number,tableValues:null,target:null,targetX:h.number,targetY:h.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:h.commaOrSpaceSeparated,to:null,transform:null,u1:null,u2:null,underlinePosition:h.number,underlineThickness:h.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:h.number,values:null,vAlphabetic:h.number,vMathematical:h.number,vectorEffect:null,vHanging:h.number,vIdeographic:h.number,version:null,vertAdvY:h.number,vertOriginX:h.number,vertOriginY:h.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:h.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),y=o([c,s,p,m,g],"html"),b=o([c,s,p,m,v],"svg")},8427:(e,t,n)=>{"use strict";n.d(t,{M:()=>l});var r=n(4232),o=n(4498);function l(e,t,n,l){let i=(0,o.Y)(n);(0,r.useEffect)(()=>{if(e)return window.addEventListener(t,n,l),()=>window.removeEventListener(t,n,l);function n(e){i.current(e)}},[e,t,l])}},8595:(e,t,n)=>{"use strict";n.d(t,{$:()=>tG});var r={};n.r(r),n.d(r,{attentionMarkers:()=>e7,contentInitial:()=>e1,disable:()=>e9,document:()=>e0,flow:()=>e4,flowInitial:()=>e2,insideSpan:()=>e5,string:()=>e3,text:()=>e6});var o=n(4232),l=n(6826);function i(e){return e&&"object"==typeof e?"position"in e||"type"in e?u(e.position):"start"in e||"end"in e?u(e):"line"in e||"column"in e?a(e):"":""}function a(e){return s(e&&e.line)+":"+s(e&&e.column)}function u(e){return a(e&&e.start)+"-"+a(e&&e.end)}function s(e){return e&&"number"==typeof e?e:1}class c extends Error{constructor(e,t,n){let r=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=i(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;let d={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');f(e);let r=0,o=-1,l=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;l--;)if(47===e.charCodeAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,a=t.length-1;for(;l--;)if(47===e.charCodeAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1),a>-1&&(e.charCodeAt(l)===t.charCodeAt(a--)?a<0&&(o=l):(a=-1,o=i));return r===o?o=i:o<0&&(o=e.length),e.slice(r,o)},dirname:function(e){let t;if(f(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;f(e);let n=e.length,r=-1,o=0,l=-1,i=0;for(;n--;){let a=e.charCodeAt(n);if(47===a){if(t){o=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?l<0?l=n:1!==i&&(i=1):l>-1&&(i=-1)}return l<0||r<0||0===i||1===i&&l===r-1&&l===o+1?"":e.slice(l,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)f(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){f(e);let t=47===e.charCodeAt(0),n=function(e,t){let n,r,o="",l=0,i=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.charCodeAt(u);else if(47===n)break;else n=47;if(47===n){if(i===u-1||1===a);
1else if(i!==u-1&&2===a){if(o.length<2||2!==l||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2)){if(o.length>2){if((r=o.lastIndexOf("/"))!==o.length-1){r<0?(o="",l=0):l=(o=o.slice(0,r)).length-1-o.lastIndexOf("/"),i=u,a=0;continue}}else if(o.length>0){o="",l=0,i=u,a=0;continue}}t&&(o=o.length>0?o+"/..":"..",l=2)}else o.length>0?o+="/"+e.slice(i+1,u):o=e.slice(i+1,u),l=u-i-1;i=u,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let p={cwd:function(){return"/"}};function h(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t,n;t=e?"string"==typeof e||l(e)?{value:e}:h(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=p.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<m.length;){let e=m[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)m.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){h(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!h(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){let e=t.charCodeAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),y(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?d.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=d.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?d.basename(this.path):void 0}set basename(e){y(e,"basename"),v(e,"basename"),this.path=d.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?d.extname(this.path):void 0}set extname(e){if(v(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=d.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?d.basename(this.path,this.extname):void 0}set stem(e){y(e,"stem"),v(e,"stem"),this.path=d.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){let r=new c(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}}function v(e,t){if(e&&e.includes(d.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+d.sep+"`")}function y(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function x(e){if(e)throw e}var w=n(9735);function k(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)}class E extends Error{constructor(e,t,n){let r=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=i(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}E.prototype.file="",E.prototype.name="",E.prototype.reason="",E.prototype.message="",E.prototype.stack="",E.prototype.fatal=null,E.prototype.column=null,E.prototype.line=null,E.prototype.source=null,E.prototype.ruleId=null,E.prototype.position=null;let S={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');C(e);let r=0,o=-1,l=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;l--;)if(47===e.charCodeAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,a=t.length-1;for(;l--;)if(47===e.charCodeAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1),a>-1&&(e.charCodeAt(l)===t.charCodeAt(a--)?a<0&&(o=l):(a=-1,o=i));return r===o?o=i:o<0&&(o=e.length),e.slice(r,o)},dirname:function(e){let t;if(C(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;C(e);let n=e.length,r=-1,o=0,l=-1,i=0;for(;n--;){let a=e.charCodeAt(n);if(47===a){if(t){o=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?l<0?l=n:1!==i&&(i=1):l>-1&&(i=-1)}return l<0||r<0||0===i||1===i&&l===r-1&&l===o+1?"":e.slice(l,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)C(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){C(e);let t=47===e.charCodeAt(0),n=function(e,t){let n,r,o="",l=0,i=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.charCodeAt(u);else if(47===n)break;else n=47;if(47===n){if(i===u-1||1===a);
1else if(i!==u-1&&2===a){if(o.length<2||2!==l||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2)){if(o.length>2){if((r=o.lastIndexOf("/"))!==o.length-1){r<0?(o="",l=0):l=(o=o.slice(0,r)).length-1-o.lastIndexOf("/"),i=u,a=0;continue}}else if(o.length>0){o="",l=0,i=u,a=0;continue}}t&&(o=o.length>0?o+"/..":"..",l=2)}else o.length>0?o+="/"+e.slice(i+1,u):o=e.slice(i+1,u),l=u-i-1;i=u,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function C(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let P={cwd:function(){return"/"}};function T(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let F=["history","path","basename","stem","extname","dirname"];class A{constructor(e){let t,n;t=e?"string"==typeof e||l(e)?{value:e}:T(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=P.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<F.length;){let e=F[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)F.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){T(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!T(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){let e=t.charCodeAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),O(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?S.dirname(this.path):void 0}set dirname(e){D(this.basename,"dirname"),this.path=S.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?S.basename(this.path):void 0}set basename(e){O(e,"basename"),L(e,"basename"),this.path=S.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?S.extname(this.path):void 0}set extname(e){if(L(e,"extname"),D(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=S.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?S.basename(this.path,this.extname):void 0}set stem(e){O(e,"stem"),L(e,"stem"),this.path=S.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){let r=new E(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}}function L(e,t){if(e&&e.includes(S.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+S.sep+"`")}function O(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function D(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let M=(function e(){let t,n=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function o(l,...i){let a=e[++n],u=-1;if(l)return void r(l);for(;++u<t.length;)(null===i[u]||void 0===i[u])&&(i[u]=t[u]);t=i,a?(function(e,t){let n;return function(...t){let l,i=e.length>t.length;i&&t.push(r);try{l=e.apply(this,t)}catch(e){if(i&&n)throw e;return r(e)}i||(l instanceof Promise?l.then(o,r):l instanceof Error?r(l):o(l))};function r(e,...o){n||(n=!0,t(e,...o))}function o(e){r(null,e)}})(a,o)(...i):r(null,...i)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],o={},i=-1;return a.data=function(e,n){return"string"==typeof e?2==arguments.length?(B("data",t),o[e]=n,a):R.call(o,e)&&o[e]||null:e?(B("data",t),o=e,a):o},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(t)return a;for(;++i<r.length;){let[e,...t]=r[i];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let o=e.call(a,...t);"function"==typeof o&&n.use(o)}return t=!0,i=1/0,a},a.attachers=r,a.use=function(e,...n){let l;if(B("use",t),null==e);else if("function"==typeof e)s(e,...n);else if("object"==typeof e)Array.isArray(e)?u(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return l&&(o.settings=Object.assign(o.settings||{},l)),a;function i(e){u(e.plugins),e.settings&&(l=Object.assign(l||{},e.settings))}function u(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)s(n);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;s(e,...t)}else i(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let n,o=-1;for(;++o<r.length;)if(r[o][0]===e){n=r[o];break}n?(k(n[1])&&k(t)&&(t=w(!0,n[1],t)),n[1]=t):r.push([...arguments])}},a.parse=function(e){a.freeze();let t=z(e),n=a.Parser;return(I("parse",n),_(n,"parse"))?new n(String(t),t).parse():n(String(t),t)},a.stringify=function(e,t){a.freeze();let n=z(t),r=a.Compiler;return(j("stringify",r),N(e),_(r,"compile"))?new r(e,n).compile():r(e,n)},a.run=function(e,t,r){if(N(e),a.freeze(),r||"function"!=typeof t||(r=t,t=void 0),!r)return new Promise(o);function o(o,l){n.run(e,z(t),function(t,n,i){n=n||e,t?l(t):o?o(n):r(null,n,i)})}o(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,function(e,t){x(e),n=t,r=!0}),H("runSync","run",r),n},a.process=function(e,t){if(a.freeze(),I("process",a.Parser),j("process",a.Compiler),!t)return new Promise(n);function n(n,r){let o=z(e);function i(e,o){e||!o?r(e):n?n(o):t(null,o)}a.run(a.parse(o),o,(e,t,n)=>{if(!e&&t&&n){var r;let o=a.stringify(t,n);null==o||("string"==typeof(r=o)||l(r)?n.value=o:n.result=o),i(e,n)}else i(e)})}n(null,t)},a.processSync=function(e){let t;a.freeze(),I("processSync",a.Parser),j("processSync",a.Compiler);let n=z(e);return a.process(n,function(e){t=!0,x(e)}),H("processSync","process",t),n},a;function a(){let t=e(),n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(w(!0,{},o)),t}})().freeze(),R={}.hasOwnProperty;function _(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;
1for(t in e)if(R.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function I(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Parser`")}function j(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Compiler`")}function B(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 N(e){if(!k(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function H(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function z(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new A(e)}function U(e,t){var n;return!!((n=e)&&"object"==typeof n)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&V(e.children,t))||Array.isArray(e)&&V(e,t)||""}function V(e,t){let n=[],r=-1;for(;++r<e.length;)n[r]=U(e[r],t);return n.join("")}function q(e,t,n,r){let o,l=e.length,i=0;if(t=t<0?-t>l?0:l+t:t>l?l:t,n=n>0?n:0,r.length<1e4)(o=Array.from(r)).unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);i<r.length;)(o=r.slice(i,i+1e4)).unshift(t,0),[].splice.apply(e,o),i+=1e4,t+=1e4}function W(e,t){return e.length>0?(q(e,e.length,0,t),e):t}let Y={}.hasOwnProperty,$=el(/[A-Za-z]/),X=el(/\d/),K=el(/[\dA-Fa-f]/),G=el(/[\dA-Za-z]/),J=el(/[!-/:-@[-`{-~]/),Z=el(/[#-'*+\--9=?A-Z^-~]/);function Q(e){return null!==e&&(e<32||127===e)}function ee(e){return null!==e&&(e<0||32===e)}function et(e){return null!==e&&e<-2}function en(e){return -2===e||-1===e||32===e}let er=el(/\s/),eo=el(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function el(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function ei(e,t,n,r){let o=r?r-1:1/0,l=0;return function(r){return en(r)?(e.enter(n),function r(i){return en(i)&&l++<o?(e.consume(i),r):(e.exit(n),t(i))}(r)):t(r)}}let ea={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ei(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let o=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=o),t=o,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return et(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eu={tokenize:function(e){let t,n,r,o=this,l=[],i=0;return a;function a(t){if(i<l.length){let n=l[i];return o.containerState=n[1],e.attempt(n[0].continuation,u,s)(t)}return s(t)}function u(e){if(i++,o.containerState._closeFlow){let n;o.containerState._closeFlow=void 0,t&&v();let r=o.events.length,l=r;for(;l--;)if("exit"===o.events[l][0]&&"chunkFlow"===o.events[l][1].type){n=o.events[l][1].end;break}g(i);let a=r;for(;a<o.events.length;)o.events[a][1].end=Object.assign({},n),a++;return q(o.events,l+1,0,o.events.slice(r)),o.events.length=a,s(e)}return a(e)}
1function s(n){if(i===l.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);o.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return o.containerState={},e.check(es,c,d)(n)}function c(e){return t&&v(),g(i),f(e)}function d(e){return o.parser.lazy[o.now().line]=i!==l.length,r=o.now().offset,h(e)}function f(t){return o.containerState={},e.attempt(es,p,h)(t)}function p(e){return i++,l.push([o.currentConstruct,o.containerState]),f(e)}function h(r){if(null===r){t&&v(),g(0),e.consume(r);return}return t=t||o.parser.flow(o.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return et(n)?(e.consume(n),m(e.exit("chunkFlow")),i=0,o.interrupt=void 0,a):(e.consume(n),t)}(r)}function m(e,l){let a=o.sliceStream(e);if(l&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),o.parser.lazy[e.start.line]){let e,n,l=t.events.length;for(;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;let a=o.events.length,u=a;for(;u--;)if("exit"===o.events[u][0]&&"chunkFlow"===o.events[u][1].type){if(e){n=o.events[u][1].end;break}e=!0}for(g(i),l=a;l<o.events.length;)o.events[l][1].end=Object.assign({},n),l++;q(o.events,u+1,0,o.events.slice(a)),o.events.length=l}}function g(t){let n=l.length;for(;n-- >t;){let t=l[n];o.containerState=t[1],t[0].exit.call(o,e)}l.length=t}function v(){t.write([null]),n=void 0,t=void 0,o.containerState._closeFlow=void 0}}},es={tokenize:function(e,t,n){return ei(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},ec={tokenize:function(e,t,n){return ei(e,function(e){return null===e||et(e)?t(e):n(e)},"linePrefix")},partial:!0};function ed(e){let t,n,r,o,l,i,a,u={},s=-1;for(;++s<e.length;){for(;s in u;)s=u[s];if(t=e[s],s&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[s-1][1].type&&((r=0)<(i=t[1]._tokenizer.events).length&&"lineEndingBlank"===i[r][1].type&&(r+=2),r<i.length&&"content"===i[r][1].type))for(;++r<i.length&&"content"!==i[r][1].type;)"chunkText"===i[r][1].type&&(i[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(u,function(e,t){let n,r,o=e[t][1],l=e[t][2],i=t-1,a=[],u=o._tokenizer||l.parser[o.contentType](o.start),s=u.events,c=[],d={},f=-1,p=o,h=0,m=0,g=[0];for(;p;){for(;e[++i][1]!==p;);a.push(i),!p._tokenizer&&(n=l.sliceStream(p),p.next||n.push(null),r&&u.defineSkip(p.start),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=o;++f<s.length;)"exit"===s[f][0]&&"enter"===s[f-1][0]&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(m=f+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(u.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.unshift([n,n+t.length-1]),q(e,n,2,t)}for(f=-1;++f<c.length;)d[h+c[f][0]]=h+c[f][1],h+=c[f][1]-c[f][0]-1;return d}(e,s)),s=u[s],a=!0);else if(t[1]._container){for(r=s,n=void 0;r--;)if("lineEnding"===(o=e[r])[1].type||"lineEndingBlank"===o[1].type)"enter"===o[0]&&(n&&(e[n][1].type="lineEndingBlank"),o[1].type="lineEnding",n=r);else break;n&&(t[1].end=Object.assign({},e[n][1].start),(l=e.slice(n,s)).unshift(t),q(e,n,s-n+1,l))}}return!a}let ef={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):et(t)?e.check(ep,l,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function l(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return ed(e),e}},ep={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ei(e,o,"linePrefix")};function o(o){if(null===o||et(o))return n(o);let l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0},eh={tokenize:function(e){let t=this,n=e.attempt(ec,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,ei(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ef,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},em={resolveAll:eb()},eg=ey("string"),ev=ey("text");function ey(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],o=t.attempt(r,l,
1i);return l;function l(e){return u(e)?o(e):i(e)}function i(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;let t=r[e],o=-1;if(t)for(;++o<t.length;){let e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:eb("text"===e?ex:void 0)}}function eb(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ex(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,o=e[n-1][1],l=t.sliceStream(o),i=l.length,a=-1,u=0;for(;i--;){let e=l[i];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)r=!0,u++;else if(-1===e);else{i++;break}}if(u){let l={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{line:o.end.line,column:o.end.column-u,offset:o.end.offset-u,_index:o.start._index+i,_bufferIndex:i?a:o.start._bufferIndex+a},end:Object.assign({},o.end)};o.end=Object.assign({},l.start),o.start.offset===o.end.offset?Object.assign(o,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}function ew(e,t,n){let r=[],o=-1;for(;++o<e.length;){let l=e[o].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}let ek={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(l){return e.enter("thematicBreak"),r=l,function l(i){return i===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),o++,t):(e.exit("thematicBreakSequence"),l(n))}(i)):en(i)?ei(e,l,"whitespace")(i):o<3||null!==i&&!et(i)?n(i):(e.exit("thematicBreak"),t(i))}(l)}}},eE={name:"list",tokenize:function(e,t,n){let r=this,o=r.events[r.events.length-1],l=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=0;return function(t){let o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:X(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(ek,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(o){return X(o)&&++i<10?(e.consume(o),t):(!r.interrupt||i<2)&&(r.containerState.marker?o===r.containerState.marker:41===o||46===o)?(e.exit("listItemValue"),a(o)):n(o)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ec,r.interrupt?n:u,e.attempt(eS,c,s))}
1function u(e){return r.containerState.initialBlankLine=!0,l++,c(e)}function s(t){return en(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(ec,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ei(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!en(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eC,t,o)(n))});function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ei(e,e.attempt(eE,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},eS={tokenize:function(e,t,n){let r=this;return ei(e,function(e){let o=r.events[r.events.length-1];return!en(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},eC={tokenize:function(e,t,n){let r=this;return ei(e,function(e){let o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},eP={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return en(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return ei(e,e.attempt(eP,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function eT(e,t,n,r,o,l,i,a,u){let s=u||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(l),e.consume(t),e.exit(l),d):null===t||41===t||Q(t)?n(t):(e.enter(r),e.enter(i),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(l),e.consume(n),e.exit(l),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(a),d(t)):null===t||60===t||et(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return 40===o?++c>s?n(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(a),e.exit(i),e.exit(r),t(o)):null===o||ee(o)?c?n(o):(e.exit("chunkString"),e.exit(a),e.exit(i),e.exit(r),t(o)):Q(o)?n(o):(e.consume(o),92===o?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function eF(e,t,n,r,o,l){let i,a=this,u=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(l),s};function s(d){return null===d||91===d||93===d&&!i||94===d&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs||u>999?n(d):93===d?(e.exit(l),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):et(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||et(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),i=i||!en(t),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function eA(e,t,n,r,o,l){let i;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,a};function a(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(l),u(n))}function u(t){return t===i?(e.exit(l),a(i)):null===t?n(t):et(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ei(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===i||null===t||et(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===i||92===t?(e.consume(t),s):s(t)}}function eL(e,t){let n;return function r(o){return et(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):en(o)?ei(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function eO(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let eD={tokenize:function(e,t,n){return function(t){return ee(t)?eL(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?eA(e,ei(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||et(e)?t(e):n(e)}},partial:!0},eM={name:"codeIndented",tokenize:function(e,t,n){let r=this;
1return function(t){return e.enter("codeIndented"),ei(e,o,"linePrefix",5)(t)};function o(t){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?function t(n){return null===n?l(n):et(n)?e.attempt(eR,t,l)(n):(e.enter("codeFlowValue"),function n(r){return null===r||et(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function l(n){return e.exit("codeIndented"),t(n)}}},eR={tokenize:function(e,t,n){let r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):et(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):ei(e,l,"linePrefix",5)(t)}function l(e){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(e):et(e)?o(e):n(e)}},partial:!0},e_={name:"setextUnderline",tokenize:function(e,t,n){let r,o,l=this,i=l.events.length;for(;i--;)if("lineEnding"!==l.events[i][1].type&&"linePrefix"!==l.events[i][1].type&&"content"!==l.events[i][1].type){o="paragraph"===l.events[i][1].type;break}return function(t){return!l.parser.lazy[l.now().line]&&(l.interrupt||o)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),r=t,function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),ei(e,a,"lineSuffix")(n))}(t)):n(t)};function a(r){return null===r||et(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,l=e.length;for(;l--;)if("enter"===e[l][0]){if("content"===e[l][1].type){n=l;break}"paragraph"===e[l][1].type&&(r=l)}else"content"===e[l][1].type&&e.splice(l,1),o||"definition"!==e[l][1].type||(o=l);let i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=i,e.push(["exit",i,t]),e}},eI=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ej=["pre","script","style","textarea"],eB={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ec,t,n)}},partial:!0},eN={name:"codeFenced",tokenize:function(e,t,n){let r,o=this,l={tokenize:function(e,t,n){let o=0;return ei(e,function(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(e.consume(i),o++,t):o<s?n(i):(e.exit("codeFencedFenceSequence"),ei(e,l,"whitespace")(i))}(t)},"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function l(r){return null===r||et(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},i={tokenize:function(e,t,n){let r=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},a=this.events[this.events.length-1],u=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,s=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),r=t,function t(o){return o===r?(e.consume(o),s++,t):(e.exit("codeFencedFenceSequence"),s<3?n(o):ei(e,c,"whitespace")(o))}(t)};function c(t){return null===t||et(t)?f(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(o){return null===o||ee(o)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ei(e,d,"whitespace")(o)):96===o&&o===r?n(o):(e.consume(o),t)}(t))}function d(t){return null===t||et(t)?f(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(o){return null===o||et(o)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(o)):96===o&&o===r?n(o):(e.consume(o),t)}(t))}function f(n){return e.exit("codeFencedFence"),o.interrupt?t(n):function t(n){return null===n?p(n):et(n)?e.attempt(i,e.attempt(l,p,u?ei(e,t,"linePrefix",u+1):t),p)(n):(e.enter("co
1deFlowValue"),function n(r){return null===r||et(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(n)}function p(n){return e.exit("codeFenced"),t(n)}},concrete:!0},eH=document.createElement("i");function ez(e){let t="&"+e+";";eH.innerHTML=t;let n=eH.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eU={name:"characterReference",tokenize:function(e,t,n){let r,o,l=this,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,o=G,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,o=K,s):(e.enter("characterReferenceValue"),r=7,o=X,s(t))}function s(a){let u;return 59===a&&i?(u=e.exit("characterReferenceValue"),o!==G||ez(l.sliceSerialize(u)))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a):o(a)&&i++<r?(e.consume(a),s):n(a)}}},eV={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return J(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},eq={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ei(e,t,"linePrefix")}}},eW={name:"labelEnd",tokenize:function(e,t,n){let r,o,l=this,i=l.events.length;for(;i--;)if(("labelImage"===l.events[i][1].type||"labelLink"===l.events[i][1].type)&&!l.events[i][1]._balanced){r=l.events[i][1];break}return function(t){return r?r._inactive?u(t):(o=l.parser.defined.includes(eO(l.sliceSerialize({start:r.end,end:l.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(n){return 40===n?e.attempt(eY,t,o?t:u)(n):91===n?e.attempt(e$,t,o?e.attempt(eX,t,u):u)(n):o?t(n):u(n)}function u(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,l,i=e.length,a=0;for(;i--;)if(n=e[i][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(o=i);let u={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},c={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[o-2][1].start)};return l=W(l=[["enter",u,t],["enter",s,t]],e.slice(r+1,r+a+3)),l=W(l,[["enter",c,t]]),l=W(l,ew(t.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),t)),l=W(l,[["exit",c,t],e[o-2],e[o-1],["exit",s,t]]),l=W(l,e.slice(o+1)),l=W(l,[["exit",u,t]]),q(e,r,e.length,l),e},resolveAll:function(e){let t,n=-1;for(;++n<e.length;)("labelImage"===(t=e[n][1]).type||"labelLink"===t.type||"labelEnd"===t.type)&&(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},eY={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),eL(e,r)};function r(t){return 41===t?i(t):eT(e,o,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return ee(t)?eL(e,l)(t):i(t)}function l(t){return 34===t||39===t||40===t?eA(e,eL(e,i),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):i(t)}function i(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},e$={tokenize:function(e,t,n){let r=this;return function(t){return eF.call(r,e,o,n,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(eO(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},eX={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},eK={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),l):n(t)}function l(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:eW.resolveAll};function eG(e){return null===e||ee(e)||er(e)?1:eo(e)?2:void 0}let eJ={name:"attention",tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,o=this.previous,l=eG(o);return function(i){return e.enter("attentionSequence"),n=i,function i(a){if(a===n)return e.consume(a),i;let u=e.exit("attentionSequence"),s=eG(a),c=!s||2===s&&l||r.includes(a),d=!l||2===l&&s||r.includes(o);return u._open=!!(42===n?c:c&&(l||!d)),u._close=!!(42===n?d:d&&(s||!c)),t(a)}(i)}},resolveAll:function(e,t){let n,r,o,l,i,a,u,s,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
1n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);eZ(d,-a),eZ(f,a),l={type:a>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},i={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},l.start),e[c][1].start=Object.assign({},i.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=W(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=W(u,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",o,t]]),u=W(u,ew(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=W(u,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=W(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,q(e,n-1,c-n+3,u),c=n+u.length-s-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function eZ(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eQ={name:"labelStartLink",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:eW.resolveAll},e0={42:eE,43:eE,45:eE,48:eE,49:eE,50:eE,51:eE,52:eE,53:eE,54:eE,55:eE,56:eE,57:eE,62:eP},e1={91:{name:"definition",tokenize:function(e,t,n){let r,o=this;return function(t){return e.enter("definition"),eF.call(o,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function l(t){return(r=eO(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),eL(e,eT(e,e.attempt(eD,ei(e,i,"whitespace"),ei(e,i,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function i(l){return null===l||et(l)?(e.exit("definition"),o.parser.defined.includes(r)||o.parser.defined.push(r),t(l)):n(l)}}}},e2={[-2]:eM,[-1]:eM,32:eM},e4={35:{name:"headingAtx",tokenize:function(e,t,n){let r=this,o=0;return function(l){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function l(i){return 35===i&&o++<6?(e.consume(i),l):null===i||ee(i)?(e.exit("atxHeadingSequence"),r.interrupt?t(i):function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||et(r)?(e.exit("atxHeading"),t(r)):en(r)?ei(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||ee(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(i)):n(i)}(l)}},resolve:function(e,t){let n,r,o=e.length-2,l=3;return"whitespace"===e[3][1].type&&(l+=2),o-2>l&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(l===o-1||o-4>l&&"whitespace"===e[o-2][1].type)&&(o-=l+1===o?2:4),o>l&&(n={type:"atxHeadingText",start:e[l][1].start,end:e[o][1].end},r={type:"chunkText",start:e[l][1].start,end:e[o][1].end,contentType:"text"},q(e,l,o-l+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:ek,45:[e_,ek],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,o,l,i,a,u=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s};function s(i){return 33===i?(e.consume(i),c):47===i?(e.consume(i),p):63===i?(e.consume(i),r=3,u.interrupt?t:O):$(i)?(e.consume(i),l=String.fromCharCode(i),o=!0,h):n(i)}function c(o){return 45===o?(e.consume(o),r=2,d):91===o?(e.consume(o),r=5,l="CDATA[",i=0,f):$(o)?(e.consume(o),r=4,u.interrupt?t:O):n(o)}function d(r){return 45===r?(e.consume(r),u.interrupt?t:O):n(r)}function f(r){return r===l.charCodeAt(i++)?(e.consume(r),i===l.length?u.interrupt?t:S:f):n(r)}function p(t){return $(t)?(e.consume(t),l=String.fromCharCode(t),h):n(t)}function h(i){if(null===i||47===i||62===i||ee(i))return 47!==i&&o&&ej.includes(l.toLowerCase())?(r=1,u.interrupt?t(i):S(i)):eI.includes(l.toLowerCase())?(r=6,47===i)?(e.consume(i),m):u.interrupt?t(i):S(i):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(i):o?g(i):function t(n){return en(n)?(e.consume(n),t):k(n)}(i));return 45===i||G(i)?(e.consume(i),l+=String.fromCharCode(i),h):n(i)}function m(r){return 62===r?(e.consume(r),u.interrupt?t:S):n(r)}function g(t){return 47===t?(e.consume(t),k):58===t||95===t||$(t)?(e.consume(t),v):en(t)?(e.consume(t),g):k(t)}function v(t){return 45===t||46===t||58===t||95===t||G(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):en(t)?(e.consume(t),y):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,x):en(t)?(e.consume(t),b):(a=null,function t(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||ee(n)?y(n):(e.consume(n),t)}(t))}function x(t){return null===t||et(t)?n(t):t===a?(e.consume(t),w):(e.consume(t),x)}function w(e){return 47===e||62===e||en(e)?g(e):n(e)}function k(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return en(t)?(e.consume(t),E):null===t||et(t)?S(t):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),T):60===t&&1===r?(e.consume(t),F):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),O):93===t&&5===r?(e.consume(t),L):et(t)&&(6===r||7===r)?e.check(eB,D,C)(t):null===t||et(t)?C(t):(e.consume(t),S)}function C(t){return e.exit("htmlFlowData"),function t(n){return null===n?M(n):et(n)?e.attempt({tokenize:P,partial:!0},t,M)(n):(e.enter("htmlFlowData"),S(n))}(t)}function P(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return u.parser.lazy[u.now().line]?n(e):t(e)}}function T(t){return 45===t?(e.consume(t),O):S(t)}function F(t){return 47===t?(e.consume(t),l="",A):S(t)}function A(t){return 62===t&&ej.includes(l.toLowerCase())?(e.consume(t),D):$(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),A):S(t)}function L(t){return 93===t?(e.consume(t),O):S(t)}function O(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),O):S(t)}function D(t){return null===t||et(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),D)}function M(n){return e.exit("htmlFlow"),t(n)}},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},concrete:!0},61:e_,95:ek,96:eN,126:eN},e3={38:eU,92:eV},e6={[-5]:eq,[-4]:eq,[-3]:eq,33:eK,38:eU,42:eJ,60:[{name:"autolink",tokenize:function(e,t,n){let r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return $(t)?(e.consume(t),l):Z(t)?a(t):n(t)}function l(t){return 43===t||45===t||46===t||G(t)?function t(n){return 58===n?(e.consume(n),i):(43===n||45===n||46===n||G(n))&&r++<32?(e.consume(n),t):a(n)}(t):a(t)}function i(t){return 62===t?(e.exit("autolinkProtocol"),s(t)):null===t||32===t||60===t||Q(t)?n(t):(e.consume(t),i)}function a(t){return 64===t?(e.consume(t),r=0,u):Z(t)?(e.consume(t),a):n(t)}function u(t){return G(t)?function t(o){return 46===o?(e.consume(o),r=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",s(o)):function o(l){return(45===l||G(l))&&r++<63?(e.consume(l),45===l?o:t):n(l)}(o)}(t):n(t)}function s(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}},{name:"htmlText",tokenize:function(e,t,n){let r,o,l,i,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),u};function u(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),k):63===t?(e.consume(t),x):$(t)?(e.consume(t),S):n(t)}function s(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o="CDATA[",l=0,m):$(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function d(t){return null===t||62===t?n(t):45===t?(e.consume(t),f):p(t)}function f(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),h):et(t)?(i=p,O(t)):(e.consume(t),p)}function h(t){return 45===t?(e.consume(t),M):p(t)}
1function m(t){return t===o.charCodeAt(l++)?(e.consume(t),l===o.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),v):et(t)?(i=g,O(t)):(e.consume(t),g)}function v(t){return 93===t?(e.consume(t),y):g(t)}function y(t){return 62===t?M(t):93===t?(e.consume(t),y):g(t)}function b(t){return null===t||62===t?M(t):et(t)?(i=b,O(t)):(e.consume(t),b)}function x(t){return null===t?n(t):63===t?(e.consume(t),w):et(t)?(i=x,O(t)):(e.consume(t),x)}function w(e){return 62===e?M(e):x(e)}function k(t){return $(t)?(e.consume(t),E):n(t)}function E(t){return 45===t||G(t)?(e.consume(t),E):function t(n){return et(n)?(i=t,O(n)):en(n)?(e.consume(n),t):M(n)}(t)}function S(t){return 45===t||G(t)?(e.consume(t),S):47===t||62===t||ee(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),M):58===t||95===t||$(t)?(e.consume(t),P):et(t)?(i=C,O(t)):en(t)?(e.consume(t),C):M(t)}function P(t){return 45===t||46===t||58===t||95===t||G(t)?(e.consume(t),P):function t(n){return 61===n?(e.consume(n),T):et(n)?(i=t,O(n)):en(n)?(e.consume(n),t):C(n)}(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,F):et(t)?(i=T,O(t)):en(t)?(e.consume(t),T):(e.consume(t),r=void 0,L)}function F(t){return t===r?(e.consume(t),A):null===t?n(t):et(t)?(i=F,O(t)):(e.consume(t),F)}function A(e){return 62===e||47===e||ee(e)?C(e):n(e)}function L(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||ee(t)?C(t):(e.consume(t),L)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ei(e,D,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function D(t){return e.enter("htmlTextData"),i(t)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}}],91:eQ,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return et(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}},eV],93:eW,95:eJ,96:{name:"codeText",tokenize:function(e,t,n){let r,o,l=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),l++,t):(e.exit("codeTextSequence"),i(n))}(t)};function i(u){return null===u?n(u):96===u?(o=e.enter("codeTextSequence"),r=0,function n(i){return 96===i?(e.consume(i),r++,n):r===l?(e.exit("codeTextSequence"),e.exit("codeText"),t(i)):(o.type="codeTextData",a(i))}(u)):32===u?(e.enter("space"),e.consume(u),e.exit("space"),i):et(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):(e.enter("codeTextData"),a(u))}function a(t){return null===t||32===t||96===t||et(t)?(e.exit("codeTextData"),i(t)):(e.consume(t),a)}},resolve:function(e){let t,n,r=e.length-4,o=3;if(("lineEnding"===e[3][1].type||"space"===e[o][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}}for(t=o-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},e5={null:[eJ,em]},e7={null:[42,95]},e9={null:[]},e8=/[\0\t\n\r]/g;function te(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}let tt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return te(n.slice(t?2:1),t?16:10)}return ez(n)||e}let tr={}.hasOwnProperty,to=function(e,t,n){let o,l,a,u;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(x),autolinkProtocol:f,autolinkEmail:f,atxHeading:l(v),blockQuote:l(function(){return{type:"blockquote",children:[]}}),characterEscape:f,characterReference:f,codeFenced:l(g),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:l(g,a),codeText:l(function(){return{type:"inlineCode",value:""}},a),codeTextData:f,data:f,codeFlowValue:f,definition:l(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:l(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:l(y),hardBreakTrailing:l(y),htmlFlow:l(b,a),htmlFlowData:f,htmlText:l(b,a),htmlTextData:f,image:l(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:l(x),listItem:l(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){n.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),n.expectingFirstListItemValue=void 0)},listOrdered:l(w,function(){n.expectingFirstListItemValue=!0}),listUnordered:l(w),paragraph:l(function(){return{type:"paragraph",children:[]}}),reference:function(){n.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:l(v),strong:l(function(){return{type:"strong",children:[]}}),thematicBreak:l(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){let t,r=this.sliceSerialize(e),o=n.characterReferenceType;o?(t=te(r,"characterReferenceMarkerNumeric"===o?10:16),n.characterReferenceType=void 0):t=ez(r);let l=this.stack.pop();l.value+=t,l.position.end=tl(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){!n.flowCodeInside&&(this.buffer(),n.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:p,data:p,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=eO(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(h),hardBreakTrailing:s(h),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:p,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:p,image:s(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];n.inReference=!0,"link"===r.type?r.children=e.children:r.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tt,tn),n.identifier=eO(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(n.atHardBreak){r.children[r.children.length-1].position.end=tl(e.end),n.atHardBreak=void 0;return}!n.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(f.call(this,e),p.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=eO(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:s(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let o=n[r];Array.isArray(o)?e(t,o):function(e,t){let n;for(n in t)if(tr.call(t,n)){if("canContainEols"===n){let r=t[n];r&&e[n].push(...r)}else if("transforms"===n){let r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){let r=t[n];r&&Object.assign(e[n],r)}}}(t,o)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let n={type:"root",children:[]},l={stack:[n],tokenStack:[],config:t,enter:u,exit:c,buffer:a,resume:d,setData:r,getData:o},i=[],s=-1;for(;++s<e.length;)("listOrdered"===e[s][1].type||"listUnordered"===e[s][1].type)&&("enter"===e[s][0]?i.push(s):s=function(e,t,n){let r,o,l,i,a=t-1,u=-1,s=!1;for(;++a<=n;){let t=e[a];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,i=void 0):"lineEndingBlank"===t[1].type?"enter"
1===t[0]&&(!r||i||u||l||(l=a),i=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(i=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let i=a;for(o=void 0;i--;){let t=e[i];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",s=!0),t[1].type="lineEnding",o=i}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}l&&(!o||l<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||a,0,["exit",r,t[2]]),a++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(a,0,["enter",r,t[2]]),a++,n++,l=void 0,i=!0)}}return e[t][1]._spread=s,n}(e,i.pop(),s));for(s=-1;++s<e.length;){let n=t[e[s][0]];tr.call(n,e[s][1].type)&&n[e[s][1].type].call(Object.assign({sliceSerialize:e[s][2].sliceSerialize},l),e[s][1])}if(l.tokenStack.length>0){let e=l.tokenStack[l.tokenStack.length-1];(e[1]||ti).call(l,void 0,e[0])}for(n.position={start:tl(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tl(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s<t.transforms.length;)n=t.transforms[s](n)||n;return n};function r(e,t){n[e]=t}function o(e){return n[e]}function l(e,t){return function(n){u.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function u(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:tl(t.start)},e}function s(e){return function(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||ti).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+i({start:e.start,end:e.end})+"): itâs not open");return n.position.end=tl(e.end),n}function d(){return function(e,t){let n=void 0;return U(e,"boolean"!=typeof n||n)}(this.stack.pop())}function f(e){let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tl(e.start)},t.children.push(n)),this.stack.push(n)}function p(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tl(e.end)}function h(){n.atHardBreak=!0}function m(e){n.characterReferenceType=e.type}function g(){return{type:"code",lang:null,meta:null,value:""}}function v(){return{type:"heading",depth:void 0,children:[]}}function y(){return{type:"break"}}function b(){return{type:"html",value:""}}function x(){return{type:"link",title:null,url:"",children:[]}}function w(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!ed(e););return e}((function(e={}){let t={defined:[],lazy:{},constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,o=(Y.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];for(r in l){Y.call(o,r)||(o[r]=[]);let e=l[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);q(e,0,0,r)}(o[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([r].concat(e.extensions||[])),content:n(ea),document:n(eu),flow:n(eh),string:n(eg),text:n(ev)};return t;function n(e){return function(n){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),o={},l=[],i=[],a=[],u={consume:function(e){et(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),s.events.push(["enter",n,s]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=f(),s.events.push(["exit",t,s]),t},attempt:h(function(e,t){m(e,t.from)}),check:h(p),interrupt:h(p,{interrupt:!0})},s={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,o=[];for(;++r<e.length;){let l,i=e[r];if("string"==typeof i)l=i;else switch(i){case -5:l="\r";break;case -4:l="\n";break;case -3:l="\r\n";break;case -2:l=t?" ":" ";break;case -1:if(!t&&n)continue;l=" ";break;default:l=String.fromCharCode(i)}n=-2===i,o.push(l)}return o.join("")}(d(e),t)}
1,now:f,defineSkip:function(e){o[e.line]=e.column,g()},write:function(e){return(i=W(i,e),function(){let e;for(;r._index<i.length;){let n=i[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==i[i.length-1])?[]:(m(t,0),s.events=ew(l,s.events,s),s.events)}},c=t.tokenize.call(s,u);return t.resolveAll&&l.push(t),s;function d(e){return function(e,t){let n,r=t.start._index,o=t.start._bufferIndex,l=t.end._index,i=t.end._bufferIndex;return r===l?n=[e[r].slice(o,i)]:(n=e.slice(r,l),o>-1&&(n[0]=n[0].slice(o)),i>0&&n.push(e[l].slice(0,i))),n}(i,e)}function f(){return Object.assign({},r)}function p(e,t){t.restore()}function h(e,t){return function(n,o,l){var i;let c,d,p,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(i=n,function(e){let t=null!==e&&i[e],n=null!==e&&i.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(c=e,d=0,0===e.length)?l:v(e[d])}function v(e){return function(n){return(h=function(){let e=f(),t=s.previous,n=s.currentConstruct,o=s.events.length,l=Array.from(a);return{restore:function(){r=e,s.previous=t,s.currentConstruct=n,s.events.length=o,a=l,g()},from:o}}(),p=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(s),t):s,u,y,b)(n)}}function y(t){return e(p,h),o}function b(e){return(h.restore(),++d<c.length)?v(c[d]):l}}}function m(e,t){e.resolveAll&&!l.includes(e)&&l.push(e),e.resolve&&q(s.events,t,s.events.length-t,e.resolve(s.events.slice(t),s)),e.resolveTo&&(s.events=e.resolveTo(s.events,s))}function g(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}(t,e,n)}}})(n).document().write((l=1,a="",u=!0,function(e,t,n){let r,i,s,c,d,f=[];for(e=a+e.toString(t),s=0,a="",u&&(65279===e.charCodeAt(0)&&s++,u=void 0);s<e.length;){if(e8.lastIndex=s,c=(r=e8.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){a=e.slice(s);break}if(10===d&&s===c&&o)f.push(-3),o=void 0;else switch(o&&(f.push(-5),o=void 0),s<c&&(f.push(e.slice(s,c)),l+=c-s),d){case 0:f.push(65533),l++;break;case 9:for(i=4*Math.ceil(l/4),f.push(-2);l++<i;)f.push(-1);break;case 10:f.push(-4),l=1;break;default:o=!0,l=1}s=c+1}return n&&(o&&f.push(-5),a&&f.push(a),f.push(null)),f})(e,t,!0))))};function tl(e){return{line:e.line,column:e.column,offset:e.offset}}function ti(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+i({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+i({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+i({start:t.start,end:t.end})+") is still open")}let ta=function(e){Object.assign(this,{Parser:t=>to(t,Object.assign({},this.data("settings"),e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))})};function tu(e){let t=[],n=-1,r=0,o=0;for(;++n<e.length;){let l=e.charCodeAt(n),i="";if(37===l&&G(e.charCodeAt(n+1))&&G(e.charCodeAt(n+2)))o=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(i=String.fromCharCode(l));else if(l>55295&&l<57344){let t=e.charCodeAt(n+1);l<56320&&t>56319&&t<57344?(i=String.fromCharCode(l,t),o=1):i="�"}else i=String.fromCharCode(l);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}let ts=function(e){var t,n;if(null==e)return td;if("string"==typeof e){return t=e,tc(function(e){return e&&e.type===t})}if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=ts(e[n]);return tc(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e):(n=e,tc(function(e){let t;for(t in n)if(e[t]!==n[t])return!1;return!0}))}if("function"==typeof e)return tc(e);throw Error("Expected function, string, or object as test")};function tc(e){return function(t,...n){return!!(t&&"object"==typeof t&&"type"in t&&e.call(this,t,...n))}}function td(){return!0}let tf=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);let o=ts(t),l=r?-1:1;(function e(i,a,u){let s=i&&"object"==typeof i?i:{};if("string"==typeof s.type){let e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(c,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return c;function c(){var s;let c,d,f,p=[];if((!t||o(i,a,u[u.length-1]||null))&&!1===(p=Array.isArray(s=n(i,u))?s:"number"==typeof s?[!0,s]:[s])[0])return p;
1if(i.children&&"skip"!==p[0])for(d=(r?i.children.length:-1)+l,f=u.concat(i);d>-1&&d<i.children.length;){if(!1===(c=e(i.children[d],d,f)())[0])return c;d="number"==typeof c[1]?c[1]:d+l}return p}})(e,void 0,[])()},tp=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),tf(e,t,function(e,t){let r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},r)},th=tg("start"),tm=tg("end");function tg(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}let tv={}.hasOwnProperty;function ty(e){return String(e||"").toUpperCase()}function tb(e,t){let n,r=String(t.identifier).toUpperCase(),o=tu(r.toLowerCase()),l=e.footnoteOrder.indexOf(r);-1===l?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=l+1);let i=e.footnoteCounts[r],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+o,id:e.clobberPrefix+"fnref-"+o+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,a);let u={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,u),e.applyData(t,u)}function tx(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let o=e.all(t),l=o[0];l&&"text"===l.type?l.value="["+l.value:o.unshift({type:"text",value:"["});let i=o[o.length-1];return i&&"text"===i.type?i.value+=r:o.push({type:"text",value:r}),o}function tw(e){let t=e.spread;return null==t?e.children.length>1:t}function tk(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}let tE={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let l={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l={type:"element",tagName:"pre",properties:{},children:[l=e.applyData(t,l)]},e.patch(t,l),l},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:tb,footnote:function(e,t){let n=e.footnoteById,r=1;for(;r in n;)r++;let o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},tb(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return tx(e,t);let r={src:tu(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:tu(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return tx(e,t);let r={href:tu(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:tu(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=tw(n[r])}return t}(n):tw(t),l={},i=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.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:[]}),l.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?i.push(e):i.push(...e.children)}let u=r[r.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&i.push({type:"text",value:"\n"});let s={type:"element",tagName:"li",properties:l,children:i};return e.patch(t,s),e.applyData(t,s)},list:function(e,t){let n={},r=e.all(t),o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){let e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,l),e.applyData(t,l)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),o=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=th(t.children[1]),i=tm(t.children[t.children.length-1]);l.line&&i.line&&(r.position={start:l,end:i}),o.push(r)}let l={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,l),e.applyData(t,l)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",l=n&&"table"===n.type?n.align:void 0,i=l?l.length:t.children.length,a=-1,u=[];for(;++a<i;){let n=t.children[a],r={},i=l?l[a]:void 0;i&&(r.align=i);let s={type:"element",tagName:o,properties:r,children:[]};n&&(s.children=e.all(n),e.patch(n,s),s=e.applyData(t,s)),u.push(s)}let s={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,s),e.applyData(t,s)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),o=0,l=[];for(;r;)l.push(tk(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return l.push(tk(t.slice(o),o>0,!1)),l.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tS,yaml:tS,definition:tS,footnoteDefinition:tS};function tS(){return null}let tC={}.hasOwnProperty;function tP(e,t){e.position&&(t.position={start:th(e),end:tm(e)})}function tT(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tF(e,t,n){let r=t&&t.type;if(!r)throw Error("Expected node, got `"+t+"`");return tC.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:tA(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){let n=t.data||{},r="value"in t&&!(tC.call(n,"hProperties")||tC.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:tA(e,t)};return e.patch(t,r),e.applyData(t,r)}(e,t)}function tA(e,t){let n=[];if("children"in t){let r=t.children,o=-1;for(;++o<r.length;){let l=tF(e,r[o],t);if(l){if(o&&"break"===r[o-1].type&&(Array.isArray(l)||"text"!==l.type||(l.value=l.value.replace(/^\s+/,"")),!Array.isArray(l)&&"element"===l.type)){let e=l.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(l)?n.push(...l):n.push(l)}}}return n}function tL(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tO(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,o={};return i.dangerous=r,i.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,i.footnoteLabel=n.footnoteLabel||"Footnotes",i.footnoteLabelTagName=n.footnoteLabelTagName||"h2",i.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},i.footnoteBackLabel=n.footnoteBackLabel||"Back to content",i.unknownHandler=n.unknownHandler,i.passThrough=n.passThrough,i.handlers={...tE,...n.handlers},i.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return tp(e,"definition",e=>{let n=ty(e.identifier);n&&!tv.call(t,n)&&(t[n]=e)}),function(e){let n=ty(e);return n&&tv.call(t,n)?t[n]:null}}(e),i.footnoteById=o,i.footnoteOrder=[],i.footnoteCounts={},i.patch=tP,i.applyData=tT,i.one=function(e,t){return tF(i,e,t)},i.all=function(e){return tA(i,e)},i.wrap=tL,i.augment=l,tp(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();tC.call(o,t)||(o[t]=e)}),i;function l(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};n&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column&&(t.position={start:th(n),end:tm(n)})}return t}function i(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),l(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),o=function(e){let t=[],n=-1;for(;++n<e.footnoteOrder.length;){let r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;let o=e.all(r),l=String(r.identifier).toUpperCase(),i=tu(l.toLowerCase()),a=0,u=[];for(;++a<=e.footnoteCounts[l];){let t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"â©"}]};a>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}let s=o[o.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(...u)}else o.push(...u);let c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(o,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}let tD=function(e,t){var n,r,o;return e&&"run"in e?(n=e,r=t,(e,t,o)=>{n.run(tO(e,r),t,e=>{o(e)})}):(o=e||t,e=>tO(e,o))};var tM=n(5062),tR=n(8367);function t_(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{tp(t,"element",(t,n,r)=>{let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(t,n,r)),o&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var tI=n(7225),tj=n(650);let tB={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 tN=n(5444),tH=n(4483),tz=n(1276);let tU=["http","https","mailto","tel"];function tV(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++o<tU.length;){let e=tU[o];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return -1!==(o=t.indexOf("?"))&&r>o||-1!==(o=t.indexOf("#"))&&r>o?t:"javascript:void(0)"}let tq={}.hasOwnProperty,tW=new Set(["table","thead","tbody","tfoot","tr"]);function tY(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function t$(e,t){return t.toUpperCase()}let tX={}.hasOwnProperty,tK={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function tG(e){for(let t in tK)if(tX.call(tK,t)&&tX.call(e,t)){let e=tK[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}>
1 for more info)`),delete tK[t]}let t=M().use(ta).use(e.remarkPlugins||[]).use(tD,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(t_,e),n=new g;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let l=o.createElement(o.Fragment,{},function e(t,n){let r,l=[],i=-1;for(;++i<n.children.length;)"element"===(r=n.children[i]).type?l.push(function(t,n,r,l){var i;let a,u=t.options,s=void 0===u.transformLinkUri?tV:u.transformLinkUri,c=t.schema,d=n.tagName,f={};if("html"===c.space&&"svg"===d&&(t.schema=tR.JW),n.properties)for(a in n.properties)tq.call(n.properties,a)&&function(e,t,n,r){let o=(0,tj.I)(r.schema,t),l=n;null!=l&&l==l&&(Array.isArray(l)&&(l=o.commaSeparated?(0,tH.A)(l):(0,tN.A)(l)),"style"===o.property&&"string"==typeof l&&(l=function(e){let t={};try{tz(e,function(e,n){t[("-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e).replace(/-([a-z])/g,t$)]=n})}catch{}return t}(l)),o.space&&o.property?e[tq.call(tB,o.property)?tB[o.property]:o.property]=l:o.attribute&&(e[o.attribute]=l))}(f,a,n.properties[a],t);("ol"===d||"ul"===d)&&t.listDepth++;let p=e(t,n);("ol"===d||"ul"===d)&&t.listDepth--,t.schema=c;let h=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=u.components&&tq.call(u.components,d)?u.components[d]:d,g="string"==typeof m||m===o.Fragment;if(!tI.isValidElementType(m))throw TypeError(`Component for name \`${d}\` not defined or is not renderable`);if(f.key=[d,h.start.line,h.start.column,r].join("-"),"a"===d&&u.linkTarget&&(f.target="function"==typeof u.linkTarget?u.linkTarget(String(f.href||""),n.children,"string"==typeof f.title?f.title:null):u.linkTarget),"a"===d&&s&&(f.href=s(String(f.href||""),n.children,"string"==typeof f.title?f.title:null)),g||"code"!==d||"element"!==l.type||"pre"===l.tagName||(f.inline=!0),g||"h1"!==d&&"h2"!==d&&"h3"!==d&&"h4"!==d&&"h5"!==d&&"h6"!==d||(f.level=Number.parseInt(d.charAt(1),10)),"img"===d&&u.transformImageUri&&(f.src=u.transformImageUri(String(f.src||""),String(f.alt||""),"string"==typeof f.title?f.title:null)),!g&&"li"===d&&"element"===l.type){let e=function(e){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(n);f.checked=e&&e.properties?!!e.properties.checked:null,f.index=tY(l,n),f.ordered="ol"===l.tagName}return g||"ol"!==d&&"ul"!==d||(f.ordered="ol"===d,f.depth=t.listDepth),("td"===d||"th"===d)&&(f.align&&(f.style||(f.style={}),f.style.textAlign=f.align,delete f.align),g||(f.isHeader="th"===d)),g||"tr"!==d||"element"!==l.type||(f.isHeader="thead"===l.tagName),u.sourcePos&&(f["data-sourcepos"]=[(i=h).start.line,":",i.start.column,"-",i.end.line,":",i.end.column].map(String).join("")),!g&&u.rawSourcePos&&(f.sourcePosition=n.position),!g&&u.includeElementIndex&&(f.index=tY(l,n),f.siblingCount=tY(l)),g||(f.node=n),p.length>0?o.createElement(m,f,p):o.createElement(m,f)}(t,r,i,n)):"text"===r.type?"element"===n.type&&tW.has(n.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(r)||l.push(r.value):"raw"!==r.type||t.options.skipHtml||l.push(r.value);return l}({options:e,schema:tR.qy,listDepth:0},r));return e.className&&(l=o.createElement("div",{className:e.className},l)),l}tG.propTypes={children:tM.string,className:tM.string,allowElement:tM.func,allowedElements:tM.arrayOf(tM.string),disallowedElements:tM.arrayOf(tM.string),unwrapDisallowed:tM.bool,remarkPlugins:tM.arrayOf(tM.oneOfType([tM.object,tM.func,tM.arrayOf(tM.oneOfType([tM.bool,tM.string,tM.object,tM.func,tM.arrayOf(tM.any)]))])),rehypePlugins:tM.arrayOf(tM.oneOfType([tM.object,tM.func,tM.arrayOf(tM.oneOfType([tM.bool,tM.string,tM.object,tM.func,tM.arrayOf(tM.any)]))])),sourcePos:tM.bool,rawSourcePos:tM.bool,skipHtml:tM.bool,includeElementIndex:tM.bool,transformLinkUri:tM.oneOfType([tM.func,tM.bool]),linkTarget:tM.oneOfType([tM.func,tM.string]),transformImageUri:tM.func,components:tM.object}},8611:(e,t,n)=>{"use strict";n.d(t,{j:()=>c});var r=n(4232),o=n(4163),l=n(3644),i=n(4498);function a(e,t,n,o){let l=(0,i.Y)(n);(0,r.useEffect)(()=>
1{if(e)return document.addEventListener(t,n,o),()=>document.removeEventListener(t,n,o);function n(e){l.current(e)}},[e,t,o])}var u=n(3673),s=n(8427);function c(e,t,n){let c=(0,u.S)(e,"outside-click"),d=(0,i.Y)(n),f=(0,r.useCallback)(function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null!==r&&r.getRootNode().contains(r)&&r.isConnected){for(let n of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==n&&(n.contains(r)||e.composed&&e.composedPath().includes(n)))return;return(0,o.Bm)(r,o.MZ.Loose)||-1===r.tabIndex||e.preventDefault(),d.current(e,r)}},[d,t]),p=(0,r.useRef)(null);a(c,"pointerdown",e=>{var t,n;p.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),a(c,"mousedown",e=>{var t,n;p.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),a(c,"click",e=>{(0,l.Fr)()||p.current&&(f(e,()=>p.current),p.current=null)},!0);let h=(0,r.useRef)({x:0,y:0});a(c,"touchstart",e=>{h.current.x=e.touches[0].clientX,h.current.y=e.touches[0].clientY},!0),a(c,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-h.current.x)>=30||Math.abs(t.y-h.current.y)>=30))return f(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),(0,s.M)(c,"blur",e=>f(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},8820:(e,t,n)=>{"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{l:()=>r})},8847:(e,t,n)=>{e.exports=n(2496)},8909:(e,t,n)=>{"use strict";let r=n(4232);e.exports=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 12h16.5m-16.5 3.75h16.5M3.75 19.5h16.5M5.625 4.5h12.75a1.875 1.875 0 010 3.75H5.625a1.875 1.875 0 010-3.75z"}))})},9075:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(r||{})},9174:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});class r{constructor(e,t){this.property=e,this.attribute=t}}r.prototype.space=null,r.prototype.boolean=!1,r.prototype.booleanish=!1,r.prototype.overloadedBoolean=!1,r.prototype.number=!1,r.prototype.commaSeparated=!1,r.prototype.spaceSeparated=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.mustUseProperty=!1,r.prototype.defined=!1},9203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let r=n(4232);function o(e,t){let n=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(n.current=l(e,r)),t&&(o.current=l(t,r))},[e,t])}function l(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9266:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(4232),o=n(4498);let l=function(e){let t=(0,o.Y)(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])}}
1,9314:(e,t,n)=>{"use strict";n.d(t,{e:()=>function e(){let t=[],n={addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add(()=>e.removeEventListener(t,r,o))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=setTimeout(...t);return n.add(()=>clearTimeout(o))},microTask(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let l={current:!0};return(0,r._)(()=>{l.current&&t[0]()}),n.add(()=>{l.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.includes(e)||t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}});var r=n(3249)},9438:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=Object.defineProperty,o=(e,t,n)=>(((e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n);class l{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}}let i=new l},9706:(e,t,n)=>{"use strict";var r=n(3717);function o(){}function l(){}l.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,l,i){if(i!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:o};return n.PropTypes=n,n}},9735:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!l)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,s,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(t=arguments[f],null!=t)for(n in t)r=u(d,n),d!==(o=u(t,n))&&(h&&o&&(i(o)||(s=l(o)))?(s?(s=!1,c=r&&l(r)?r:[]):c=r&&i(r)?r:{},a(d,{name:n,newValue:e(h,c,o)})):void 0!==o&&a(d,{name:n,newValue:o}));return d}}}]);
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.