1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7154],{1262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(12115),i=r.useLayoutEffect,l=r.useEffect;function o(e){let{headManager:t,reduceComponentsToState:n}=e;function o(){if(t&&t.mountedInstances){let i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}return i(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},2821:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}},3538:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(12115),i=n(85986),l=n(91553),o=n(53182);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,o._)(()=>{t.current=null,a(!1),u.dispose()}),c=(0,o._)(e=>{if(u.dispose(),null===t.current){t.current=e.currentTarget,a(!0);{let n=(0,i.T)(e.currentTarget);u.addEventListener(n,"pointerup",s,!1),u.addEventListener(n,"pointermove",e=>{if(t.current){var n,r;let i,l;a((i=e.width/2,l=e.height/2,n={top:e.clientY-l,right:e.clientX+i,bottom:e.clientY+l,left:e.clientX-i},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}}}},3809:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(72888),i=n(95155);function l(e){let{locale:t,...n}=e;if(!t)throw Error(void 0);return(0,i.jsx)(r.Dk,{locale:t,...n})}},4853:(e,t)=>{"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,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("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)},5325:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12115);function i(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,i)=>{let l=(null==i?void 0:i.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:l,options:i}),t.addEventListener(n,l,i)},[]),n=(0,r.useCallback)((t,n,r,i)=>{var l;let o=(null==(l=e.current.get(r))?void 0:l.fn)||r;t.removeEventListener(n,o,i),e.current.delete(r)},[]),i=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},10597:(e,t,n)=>{"use strict";n.d(t,{lG:()=>ez,Lj:()=>ej});var r,i,l=n(12115),o=n.t(l,2),a=n(88499),u=n(84585);function s(e,t,n,r){let i=(0,u.Y)(n);(0,l.useEffect)(()=>{function n(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}class c 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}}function d(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var i=arguments.length,l=Array(i>1?i-1:0),o=1;o<i;o++)l[o-1]=arguments[o];let a=t[e].call(n,...l);
1a&&(n=a,r.forEach(e=>e()))}}}var f=n(79802);function p(e){return(0,l.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}let h=new c(()=>d(()=>[],{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 m(e,t){let n=h.get(t),r=(0,l.useId)(),i=p(n);if((0,f.s)(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let o=i.indexOf(r),a=i.length;return -1===o&&(o=a,a+=1),o===a-1}var g=n(53182),v=n(15110),y=n(85986);let b=new Map,x=new Map;function E(e){var t;let n=null!=(t=x.get(e))?t:0;return x.set(e,n+1),0!==n||(b.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=x.get(e))?t:1;if(1===n?x.delete(e):x.set(e,n-1),1!==n)return;let r=b.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,b.delete(e))})(e)}var k=n(99795);function w(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function C(e,t,n,r){let i=(0,u.Y)(n);(0,l.useEffect)(()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){i.current(e)}},[e,t,r])}function S(e,t,n,r){let i=(0,u.Y)(n);(0,l.useEffect)(()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){i.current(e)}},[e,t,r])}function P(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,l.useMemo)(()=>(0,y.T)(...t),[...t])}var T=n(79065);let M=(0,l.createContext)(null);function A(e){let{children:t,node:n}=e,[r,i]=(0,l.useState)(null),o=L(null!=n?n:r);return l.createElement(M.Provider,{value:o},t,null===o&&l.createElement(T.j,{features:T.u.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,y.T)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){i(r);break}}}}))}function L(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,l.useContext)(M))?e:t}let O=d(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,v.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:i}=e,l={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(i)},o=[w()?{before(e){let{doc:t,d:n,meta:r}=e;function i(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,v.e)();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,l=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),o=t.querySelector(r);o&&!i(o)&&(l=o)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement)if(i(e.target)){let t=e.target;for(;t.parentElement&&i(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(i(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),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}:{},{before(e){var n;let{doc:r}=e,i=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-i.clientWidth)},after(e){let{doc:n,d:r}=e,i=n.documentElement,l=Math.max(0,i.clientWidth-i.offsetWidth),o=Math.max(0,t-l);r.style(i,"paddingRight","".concat(o,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];
1o.forEach(e=>{let{before:t}=e;return null==t?void 0:t(l)}),o.forEach(e=>{let{after:t}=e;return null==t?void 0:t(l)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});O.subscribe(()=>{let e=O.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)&&O.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&O.dispatch("TEARDOWN",n)}});var F=n(45554);function _(){let e,t=(e="undefined"==typeof document,(0,o.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=l.useState(F._.isHandoffComplete);return n&&!1===F._.isHandoffComplete&&r(!1),l.useEffect(()=>{!0!==n&&r(!0)},[n]),l.useEffect(()=>F._.handoff(),[]),!t&&n}var I=n(17342);let R=(0,l.createContext)(()=>{});function D(e){let{value:t,children:n}=e;return l.createElement(R.Provider,{value:t},n)}let N=(0,l.createContext)(null);N.displayName="OpenClosedContext";var j=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(j||{});function z(){return(0,l.useContext)(N)}function H(e){let{value:t,children:n}=e;return l.createElement(N.Provider,{value:t},n)}function B(e){let{children:t}=e;return l.createElement(N.Provider,{value:null},t)}let U=(0,l.createContext)(!1);function V(e){return l.createElement(U.Provider,{value:e.force},e.children)}var W=n(20536),q=n(69159),Y=n(49221),X=n(91553),K=n(29371),G=n(28165);function $(e){let t=(0,g._)(e),n=(0,l.useRef)(!1);(0,l.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,G._)(()=>{n.current&&t()})}),[t])}var Q=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Q||{});function Z(e,t){let n=(0,l.useRef)([]),r=(0,g._)(e);(0,l.useEffect)(()=>{let e=[...n.current];for(let[i,l]of t.entries())if(n.current[i]!==l){let i=r(t,e);return n.current=t,i}},[r,...t])}let J=[];function ee(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}!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||J[0]===e.target)return;let t=e.target;t=t.closest(k.Uo),J.unshift(null!=t?t:e.target),(J=J.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 et=(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))(et||{});let en=Object.assign((0,q.FX)(function(e,t){let n,r=(0,l.useRef)(null),i=(0,I.P)(r,t),{initialFocus:o,initialFocusFallback:a,containers:u,features:c=15,...d}=e;_()||(c=0);let f=P(r);!function(e,t){let{ownerDocument:n}=t,r=!!(8&e),i=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,l.useRef)(J.slice());return Z((e,n)=>{let[r]=e,[i]=n;!0===i&&!1===r&&(0,G._)(()=>{t.current.splice(0)}),!1===i&&!0===r&&(t.current=J.slice())},[e,J,t]),(0,g._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);Z(()=>{r||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,k.pW)(i())},[r]),$(()=>{r&&(0,k.pW)(i())})}(c,{ownerDocument:f});let p=function(e,t){let{ownerDocument:n,container:r,initialFocus:i,initialFocusFallback:o}=t,a=(0,l.useRef)(null),u=m(!!(1&e),"focus-trap#initial-focus"),s=(0,K.a)();return Z(()=>{if(0===e)return;if(!u){null!=o&&o.current&&(0,k.pW)(o.current);return}let t=r.current;t&&(0,G._)(()=>{if(!s.current)return;let r=null==n?void 0:n.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===r){a.current=r;return}}else if(t.contains(r)){a.current=r;return}if(null!=i&&i.current)(0,k.pW)(i.current);else{if(16&e){if((0,k.CU)(t,k.BD.First|k.BD.AutoFocus)!==k.Me.Error)return}else if((0,k.CU)(t,k.BD.First)!==k.Me.Error)return;if(null!=o&&o.current&&((0,k.pW)(o.current),(null==n?void 0:n.activeElement)===o.current))return;
1console.warn("There are no focusable elements inside the <FocusTrap />")}a.current=null==n?void 0:n.activeElement})},[o,u,e]),a}(c,{ownerDocument:f,container:r,initialFocus:o,initialFocusFallback:a});!function(e,t){let{ownerDocument:n,container:r,containers:i,previousActiveElement:l}=t,o=(0,K.a)(),a=!!(4&e);s(null==n?void 0:n.defaultView,"focus",e=>{if(!a||!o.current)return;let t=ee(i);r.current instanceof HTMLElement&&t.add(r.current);let n=l.current;if(!n)return;let u=e.target;u&&u instanceof HTMLElement?er(t,u)?(l.current=u,(0,k.pW)(u)):(e.preventDefault(),e.stopPropagation(),(0,k.pW)(n)):(0,k.pW)(l.current)},!0)}(c,{ownerDocument:f,container:r,containers:u,previousActiveElement:p});let h=(n=(0,l.useRef)(0),S(!0,"keydown",e=>{"Tab"===e.key&&(n.current=+!!e.shiftKey)},!0),n),v=(0,g._)(e=>{let t=r.current;t&&(0,W.Y)(h.current,{[Q.Forwards]:()=>{(0,k.CU)(t,k.BD.First,{skipElements:[e.relatedTarget,a]})},[Q.Backwards]:()=>{(0,k.CU)(t,k.BD.Last,{skipElements:[e.relatedTarget,a]})}})}),y=m(!!(2&c),"focus-trap#tab-lock"),b=(0,X.L)(),x=(0,l.useRef)(!1),E=(0,q.Ci)();return l.createElement(l.Fragment,null,y&&l.createElement(T.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:T.u.Focusable}),E({ourProps:{ref:i,onKeyDown(e){"Tab"==e.key&&(x.current=!0,b.requestAnimationFrame(()=>{x.current=!1}))},onBlur(e){if(!(4&c))return;let t=ee(u);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(er(t,n)||(x.current?(0,k.CU)(r.current,(0,W.Y)(h.current,{[Q.Forwards]:()=>k.BD.Next,[Q.Backwards]:()=>k.BD.Previous})|k.BD.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,k.pW)(e.target)))}},theirProps:d,defaultTag:"div",name:"FocusTrap"}),y&&l.createElement(T.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:T.u.Focusable}))}),{features:et});function er(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var ei=n(47650);let el=l.Fragment,eo=(0,q.FX)(function(e,t){let{ownerDocument:n=null,...r}=e,i=(0,l.useRef)(null),o=(0,I.P)((0,I.a)(e=>{i.current=e}),t),a=P(i),u=null!=n?n:a,s=function(e){let t=(0,l.useContext)(U),n=(0,l.useContext)(eu),[r,i]=(0,l.useState)(()=>{var r;if(!t&&null!==n)return null!=(r=n.current)?r:null;if(F._.isServer)return null;let i=null==e?void 0:e.getElementById("headlessui-portal-root");if(i)return i;if(null===e)return null;let l=e.createElement("div");return l.setAttribute("id","headlessui-portal-root"),e.body.appendChild(l)});return(0,l.useEffect)(()=>{null!==r&&(null!=e&&e.body.contains(r)||null==e||e.body.appendChild(r))},[r,e]),(0,l.useEffect)(()=>{t||null!==n&&i(n.current)},[n,i,t]),r}(u),[c]=(0,l.useState)(()=>{var e;return F._.isServer?null:null!=(e=null==u?void 0:u.createElement("div"))?e:null}),d=(0,l.useContext)(es),p=_();(0,f.s)(()=>{!s||!c||s.contains(c)||(c.setAttribute("data-headlessui-portal",""),s.appendChild(c))},[s,c]),(0,f.s)(()=>{if(c&&d)return d.register(c)},[d,c]),$(()=>{var e;s&&c&&(c instanceof Node&&s.contains(c)&&s.removeChild(c),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s)))});let h=(0,q.Ci)();return p&&s&&c?(0,ei.createPortal)(h({ourProps:{ref:o},theirProps:r,slot:{},defaultTag:el,name:"Portal"}),c):null}),ea=l.Fragment,eu=(0,l.createContext)(null),es=(0,l.createContext)(null),ec=(0,q.FX)(function(e,t){let n=(0,I.P)(t),{enabled:r=!0,ownerDocument:i,...o}=e,a=(0,q.Ci)();return r?l.createElement(eo,{...o,ownerDocument:i,ref:n}):a({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:el,name:"Portal"})}),ed=(0,q.FX)(function(e,t){let{target:n,...r}=e,i={ref:(0,I.P)(t)},o=(0,q.Ci)();return l.createElement(eu.Provider,{value:n},o({ourProps:i,theirProps:r,defaultTag:ea,name:"Popover.Group"}))}),ef=Object.assign(ec,{Group:ed});var ep=n(87358);void 0!==ep&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(r=null==ep?void 0:ep.env)?void 0:r.NODE_ENV)==="test"&&void 0===(null==(i=null==Element?void 0:Element.prototype)?void 0:i.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 eh=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(eh||{}),em=n(14700);function eg(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:ek)!==l.Fragment||1===l.Children.count(e.children)}let ev=(0,l.createContext)(null);ev.displayName="TransitionContext";var ey=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ey||{});let eb=(0,l.createContext)(null);function ex(e){return"children"in e?ex(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 eE(e,t){let n=(0,u.Y)(e),r=(0,l.useRef)([]),i=(0,K.a)(),o=(0,X.L)(),a=(0,g._)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q.mK.Hidden,l=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==l&&((0,W.Y)(t,{[q.mK.Unmount](){r.current.splice(l,1)},[q.mK.Hidden](){r.current[l].state="hidden"}}),o.microTask(()=>{var e;!ex(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,g._)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>a(e,q.mK.Unmount)}),c=(0,l.useRef)([]),d=(0,l.useRef)(Promise.resolve()),f=(0,l.useRef)({enter:[],leave:[]}
1),p=(0,g._)((e,n,r)=>{c.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=>{c.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(f.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?d.current=d.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),h=(0,g._)((e,t,n)=>{Promise.all(f.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=c.current.shift())||e()}).then(()=>n(t))});return(0,l.useMemo)(()=>({children:r,register:s,unregister:a,onStart:p,onStop:h,wait:d,chains:f}),[s,a,r,p,h,f,d])}eb.displayName="NestingContext";let ek=l.Fragment,ew=q.Ac.RenderStrategy,eC=(0,q.FX)(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...o}=e,a=(0,l.useRef)(null),u=eg(e),s=(0,I.P)(...u?[a,t]:null===t?[]:[t]);_();let c=z();if(void 0===n&&null!==c&&(n=(c&j.Open)===j.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,p]=(0,l.useState)(n?"visible":"hidden"),h=eE(()=>{n||p("hidden")}),[m,v]=(0,l.useState)(!0),y=(0,l.useRef)([n]);(0,f.s)(()=>{!1!==m&&y.current[y.current.length-1]!==n&&(y.current.push(n),v(!1))},[y,n]);let b=(0,l.useMemo)(()=>({show:n,appear:r,initial:m}),[n,r,m]);(0,f.s)(()=>{n?p("visible"):ex(h)||null===a.current||p("hidden")},[n,h]);let x={unmount:i},E=(0,g._)(()=>{var t;m&&v(!1),null==(t=e.beforeEnter)||t.call(e)}),k=(0,g._)(()=>{var t;m&&v(!1),null==(t=e.beforeLeave)||t.call(e)}),w=(0,q.Ci)();return l.createElement(eb.Provider,{value:h},l.createElement(ev.Provider,{value:b},w({ourProps:{...x,as:l.Fragment,children:l.createElement(eS,{ref:s,...x,...o,beforeEnter:E,beforeLeave:k})},theirProps:{},defaultTag:l.Fragment,features:ew,visible:"visible"===d,name:"Transition"})))}),eS=(0,q.FX)(function(e,t){var n,r;let{transition:i=!0,beforeEnter:o,afterEnter:a,beforeLeave:u,afterLeave:s,enter:c,enterFrom:d,enterTo:p,entered:h,leave:m,leaveFrom:y,leaveTo:b,...x}=e,[E,k]=(0,l.useState)(null),w=(0,l.useRef)(null),C=eg(e),S=(0,I.P)(...C?[w,t,k]:null===t?[]:[t]),P=null==(n=x.unmount)||n?q.mK.Unmount:q.mK.Hidden,{show:T,appear:M,initial:A}=function(){let e=(0,l.useContext)(ev);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[L,O]=(0,l.useState)(T?"visible":"hidden"),F=function(){let e=(0,l.useContext)(eb);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:R,unregister:D}=F;(0,f.s)(()=>R(w),[R,w]),(0,f.s)(()=>{if(P===q.mK.Hidden&&w.current)return T&&"visible"!==L?void O("visible"):(0,W.Y)(L,{hidden:()=>D(w),visible:()=>R(w)})},[L,w,R,D,T,P]);let N=_();(0,f.s)(()=>{if(C&&N&&"visible"===L&&null===w.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[w,L,N,C]);let z=A&&!M,B=M&&T&&A,U=(0,l.useRef)(!1),V=eE(()=>{U.current||(O("hidden"),D(w))},F),Y=(0,g._)(e=>{U.current=!0,V.onStart(w,e?"enter":"leave",e=>{"enter"===e?null==o||o():"leave"===e&&(null==u||u())})}),K=(0,g._)(e=>{let t=e?"enter":"leave";U.current=!1,V.onStop(w,t,e=>{"enter"===e?null==a||a():"leave"===e&&(null==s||s())}),"leave"!==t||ex(V)||(O("hidden"),D(w))});(0,l.useEffect)(()=>{C&&i||(Y(T),K(T))},[T,C,i]);let[,G]=function(e,t,n,r){let[i,o]=(0,l.useState)(n),{hasFlag:a,addFlag:u,removeFlag:s}=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]),i=(0,l.useCallback)(e=>n(t=>t|e),[t]),o=(0,l.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:o,removeFlag:(0,l.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,l.useCallback)(e=>n(t=>t^e),[n])}}(e&&i?3:0),c=(0,l.useRef)(!1),d=(0,l.useRef)(!1),p=(0,X.L)();return(0,f.s)(()=>{var i;if(e){if(n&&o(!0),!t){n&&u(3);return}return null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,t){let{prepare:n,run:r,done:i,inFlight:l}=t,o=(0,v.e)();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current)return r();let i=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=i}(e,{prepare:n,inFlight:l}),o.nextFrame(()=>{r(),o.requestAnimationFrame(()=>{o.add(function(e,t){var n,r;let i=(0,v.e)();if(!e)return i.dispose;let l=!1;i.add(()=>{l=!0});let o=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===o.length?t():Promise.allSettled(o.map(e=>e.finished)).then(()=>{l||t()}),i.dispose}(e,i))})}),o.dispose}(t,{inFlight:c,prepare(){d.current?d.current=!1:d.current=c.current,c.current=!0,d.current||(n?(u(3),s(4)):(u(4),s(2)))},run(){d.current?n?(s(3),u(4)):(s(4),u(3)):n?s(1):u(1)},done(){var e;d.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(c.current=!1,s(7),n||o(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,p]),e?[i,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(!(!i||!C||!N||z),E,T,{start:Y,end:K}
1),$=(0,q.oE)({ref:S,className:(null==(r=(0,em.x)(x.className,B&&c,B&&d,G.enter&&c,G.enter&&G.closed&&d,G.enter&&!G.closed&&p,G.leave&&m,G.leave&&!G.closed&&y,G.leave&&G.closed&&b,!G.transition&&T&&h))?void 0:r.trim())||void 0,...function(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}(G)}),Q=0;"visible"===L&&(Q|=j.Open),"hidden"===L&&(Q|=j.Closed),G.enter&&(Q|=j.Opening),G.leave&&(Q|=j.Closing);let Z=(0,q.Ci)();return l.createElement(eb.Provider,{value:V},l.createElement(H,{value:Q},Z({ourProps:$,theirProps:x,defaultTag:ek,features:ew,visible:"visible"===L,name:"Transition.Child"})))}),eP=(0,q.FX)(function(e,t){let n=null!==(0,l.useContext)(ev),r=null!==z();return l.createElement(l.Fragment,null,!n&&r?l.createElement(eC,{ref:t,...e}):l.createElement(eS,{ref:t,...e}))}),eT=Object.assign(eC,{Child:eP,Root:eC});var eM=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(eM||{}),eA=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(eA||{});let eL={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},eO=(0,l.createContext)(null);function eF(e){let t=(0,l.useContext)(eO);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eF),t}return t}function e_(e,t){return(0,W.Y)(t.type,eL,e,t)}eO.displayName="DialogContext";let eI=(0,q.FX)(function(e,t){let n,r,i,o,c,d,h,b,x,T,M,A=(0,l.useId)(),{id:F="headlessui-dialog-".concat(A),open:R,onClose:N,initialFocus:H,role:U="dialog",autoFocus:W=!0,__demoMode:X=!1,unmount:K=!1,...G}=e,$=(0,l.useRef)(!1);U="dialog"===U||"alertdialog"===U?U:($.current||($.current=!0,console.warn("Invalid role [".concat(U,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let Q=z();void 0===R&&null!==Q&&(R=(Q&j.Open)===j.Open);let Z=(0,l.useRef)(null),J=(0,I.P)(Z,t),ee=P(Z),er=+!R,[ei,el]=(0,l.useReducer)(e_,{titleId:null,descriptionId:null,panelRef:(0,l.createRef)()}),eo=(0,g._)(()=>N(!1)),ea=(0,g._)(e=>el({type:0,id:e})),eu=!!_()&&0===er,[ec,ep]=(n=(0,l.useContext)(es),r=(0,l.useRef)([]),i=(0,g._)(e=>(r.current.push(e),n&&n.register(e),()=>o(e))),o=(0,g._)(e=>{let t=r.current.indexOf(e);-1!==t&&r.current.splice(t,1),n&&n.unregister(e)}),c=(0,l.useMemo)(()=>({register:i,unregister:o,portals:r}),[i,o,r]),[r,(0,l.useMemo)(()=>function(e){let{children:t}=e;return l.createElement(es.Provider,{value:c},t)},[c])]),eh=L(),{resolveContainers:em}=function(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=P(n),i=(0,g._)(()=>{var i,l;let o=[];for(let t of e)null!==t&&(t instanceof HTMLElement?o.push(t):"current"in t&&t.current instanceof HTMLElement&&o.push(t.current));if(null!=t&&t.current)for(let e of t.current)o.push(e);for(let e of null!=(i=null==r?void 0:r.querySelectorAll("html > *, body > *"))?i:[])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))||o.some(t=>e.contains(t))||o.push(e));return o}
1);return{resolveContainers:i,contains:(0,g._)(e=>i().some(t=>t.contains(e)))}}({mainTreeNode:eh,portals:ec,defaultContainers:[{get current(){var eg;return null!=(eg=ei.panelRef.current)?eg:Z.current}}]}),ev=null!==Q&&(Q&j.Closing)===j.Closing;(function(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=m(e,"inert-others");(0,f.s)(()=>{var e,i;if(!r)return;let l=(0,v.e)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&l.add(E(t));let o=null!=(i=null==t?void 0:t())?i:[];for(let e of o){if(!e)continue;let t=(0,y.T)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)o.some(t=>e.contains(t))||l.add(E(e));n=n.parentElement}}return l.dispose},[r,t,n])})(!X&&!ev&&eu,{allowed:(0,g._)(()=>{var e,t;return[null!=(t=null==(e=Z.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,g._)(()=>{var e;return[null!=(e=null==eh?void 0:eh.closest("body > *:not(#headlessui-portal-root)"))?e:null]})}),d=m(eu,"outside-click"),h=(0,u.Y)(e=>{e.preventDefault(),eo()}),b=(0,l.useCallback)(function(e,t){if(e.defaultPrevented)return;let n=t(e);if(null!==n&&n.getRootNode().contains(n)&&n.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(em))if(null!==t&&(t.contains(n)||e.composed&&e.composedPath().includes(t)))return;return(0,k.Bm)(n,k.MZ.Loose)||-1===n.tabIndex||e.preventDefault(),h.current(e,n)}},[h,em]),x=(0,l.useRef)(null),C(d,"pointerdown",e=>{var t,n;x.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),C(d,"mousedown",e=>{var t,n;x.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),C(d,"click",e=>{w()||/Android/gi.test(window.navigator.userAgent)||x.current&&(b(e,()=>x.current),x.current=null)},!0),T=(0,l.useRef)({x:0,y:0}),C(d,"touchstart",e=>{T.current.x=e.touches[0].clientX,T.current.y=e.touches[0].clientY},!0),C(d,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-T.current.x)>=30||Math.abs(t.y-T.current.y)>=30))return b(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),S(d,"blur",e=>b(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0),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=m(e,"escape");s(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===a.D.Escape&&n(e))})}(eu,null==ee?void 0:ee.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),eo()}),function(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:[]}),r=p(O),i=t?r.get(t):void 0;i&&i.count,(0,f.s)(()=>{if(!(!t||!e))return O.dispatch("PUSH",t,n),()=>O.dispatch("POP",t,n)},[e,t])}(m(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}(!X&&!ev&&eu,ee,em),M=(0,u.Y)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&eo()}),(0,l.useEffect)(()=>{if(!eu)return;let e=null===Z?null:Z instanceof HTMLElement?Z:Z.current;if(!e)return;let t=(0,v.e)();if("undefined"!=typeof ResizeObserver){let n=new ResizeObserver(()=>M.current(e));n.observe(e),t.add(()=>n.disconnect())}if("undefined"!=typeof IntersectionObserver){let n=new IntersectionObserver(()=>M.current(e));n.observe(e),t.add(()=>n.disconnect())}return()=>t.dispose()},[Z,M,eu]);let[ey,eb]=(0,Y.rU)(),ex=(0,l.useMemo)(()=>[{dialogState:er,close:eo,setTitleId:ea,unmount:K},ei],[er,ei,eo,ea,K]),eE=(0,l.useMemo)(()=>({open:0===er}),[er]),ek={ref:J,id:F,role:U,tabIndex:-1,"aria-modal":X?void 0:0===er||void 0,"aria-labelledby":ei.titleId,"aria-describedby":ey,unmount:K},ew=!function(){var e;let[t]=(0,l.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,l.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,f.s)(()=>
1{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),eC=et.None;eu&&!X&&(eC|=et.RestoreFocus,eC|=et.TabLock,W&&(eC|=et.AutoFocus),ew&&(eC|=et.InitialFocus));let eS=(0,q.Ci)();return l.createElement(B,null,l.createElement(V,{force:!0},l.createElement(ef,null,l.createElement(eO.Provider,{value:ex},l.createElement(ed,{target:Z},l.createElement(V,{force:!1},l.createElement(eb,{slot:eE},l.createElement(ep,null,l.createElement(en,{initialFocus:H,initialFocusFallback:Z,containers:em,features:eC},l.createElement(D,{value:eo},eS({ourProps:ek,theirProps:G,slot:eE,defaultTag:eR,features:eD,visible:0===er,name:"Dialog"})))))))))))}),eR="div",eD=q.Ac.RenderStrategy|q.Ac.Static,eN=(0,q.FX)(function(e,t){let{transition:n=!1,open:r,...i}=e,o=z(),a=e.hasOwnProperty("open")||null!==o,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.");if(!o&&"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!==r||n)&&!i.static?l.createElement(A,null,l.createElement(eT,{show:r,transition:n,unmount:i.unmount},l.createElement(eI,{ref:t,...i}))):l.createElement(A,null,l.createElement(eI,{ref:t,open:r,...i}))}),ej=(0,q.FX)(function(e,t){let n=(0,l.useId)(),{id:r="headlessui-dialog-panel-".concat(n),transition:i=!1,...o}=e,[{dialogState:a,unmount:u},s]=eF("Dialog.Panel"),c=(0,I.P)(t,s.panelRef),d=(0,l.useMemo)(()=>({open:0===a}),[a]),f=(0,g._)(e=>{e.stopPropagation()}),p=i?eP:l.Fragment,h=(0,q.Ci)();return l.createElement(p,{...i?{unmount:u}:{}},h({ourProps:{ref:c,id:r,onClick:f},theirProps:o,slot:d,defaultTag:"div",name:"Dialog.Panel"}))}),ez=Object.assign(eN,{Panel:ej,Title:((0,q.FX)(function(e,t){let{transition:n=!1,...r}=e,[{dialogState:i,unmount:o}]=eF("Dialog.Backdrop"),a=(0,l.useMemo)(()=>({open:0===i}),[i]),u=n?eP:l.Fragment,s=(0,q.Ci)();return l.createElement(u,{...n?{unmount:o}:{}},s({ourProps:{ref:t,"aria-hidden":!0},theirProps:r,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,q.FX)(function(e,t){let n=(0,l.useId)(),{id:r="headlessui-dialog-title-".concat(n),...i}=e,[{dialogState:o,setTitleId:a}]=eF("Dialog.Title"),u=(0,I.P)(t);(0,l.useEffect)(()=>(a(r),()=>a(null)),[r,a]);let s=(0,l.useMemo)(()=>({open:0===o}),[o]);return(0,q.Ci)()({ourProps:{ref:u,id:r},theirProps:i,slot:s,defaultTag:"h2",name:"Dialog.Title"})})),Description:Y.VY})},12834:(e,t,n)=>{"use strict";n.d(t,{h:()=>x});var r,i=n(12115),l=Object.defineProperty,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,s=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))a.call(t,n)&&s(e,n,t[n]);if(o)for(var n of o(t))u.call(t,n)&&s(e,n,t[n]);return e},d=(e,t)=>{var n={};for(var r in e)a.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&o)for(var r of o(e))0>t.indexOf(r)&&u.call(e,r)&&(n[r]=e[r]);return n};(e=>{let t=class t{constructor(e,n,r,l){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version value out of range");if(l<-1||l>7)throw RangeError("Mask value out of range");this.size=4*e+17;let o=[];for(let e=0;e<this.size;e++)o.push(!1);for(let e=0;e<this.size;e++)this.modules.push(o.slice()),this.isFunction.push(o.slice());this.drawFunctionPatterns();let a=this.addEccAndInterleave(r);if(this.drawCodewords(a),-1==l){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let n=this.getPenaltyScore();n<e&&(l=t,e=n),this.applyMask(t)}}i(0<=l&&l<=7),this.mask=l,this.applyMask(l),this.drawFormatBits(l),this.isFunction=[]}static encodeText(n,r){let i=e.QrSegment.makeSegments(n);return t.encodeSegments(i,r)}static encodeBinary(n,r){let i=e.QrSegment.makeBytes(n);return t.encodeSegments([i],r)}static encodeSegments(e,r,l=1,a=40,u=-1,s=!0){let c,d;if(!(t.MIN_VERSION<=l&&l<=a&&a<=t.MAX_VERSION)||u<-1||u>
vendor: 15,379 bytes, line 1
17)throw RangeError("Invalid value");for(c=l;;c++){let n=8*t.getNumDataCodewords(c,r),i=o.getTotalBits(e,c);if(i<=n){d=i;break}if(c>=a)throw RangeError("Data too long")}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])s&&d<=8*t.getNumDataCodewords(c,e)&&(r=e);let f=[];for(let t of e)for(let e of(n(t.mode.modeBits,4,f),n(t.numChars,t.mode.numCharCountBits(c),f),t.getData()))f.push(e);i(f.length==d);let p=8*t.getNumDataCodewords(c,r);i(f.length<=p),n(0,Math.min(4,p-f.length),f),n(0,(8-f.length%8)%8,f),i(f.length%8==0);for(let e=236;f.length<p;e^=253)n(e,8,f);let h=[];for(;8*h.length<f.length;)h.push(0);return f.forEach((e,t)=>h[t>>>3]|=e<<7-(7&t)),new t(c,r,h,u)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)(0!=n||0!=r)&&(0!=n||r!=t-1)&&(n!=t-1||0!=r)&&this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,n=t;for(let e=0;e<10;e++)n=n<<1^(n>>>9)*1335;let l=(t<<10|n)^21522;i(l>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,r(l,e));this.setFunctionModule(8,7,r(l,6)),this.setFunctionModule(8,8,r(l,7)),this.setFunctionModule(7,8,r(l,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,r(l,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,r(l,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,r(l,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){let n=r(t,e),i=this.size-11+e%3,l=Math.floor(e/3);this.setFunctionModule(i,l,n),this.setFunctionModule(l,i,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),l=e+r,o=t+n;0<=l&&l<this.size&&0<=o&&o<this.size&&this.setFunctionModule(l,o,2!=i&&4!=i)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){let n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw RangeError("Invalid argument");let l=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],o=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],a=Math.floor(t.getNumRawDataModules(n)/8),u=l-a%l,s=Math.floor(a/l),c=[],d=t.reedSolomonComputeDivisor(o);for(let n=0,r=0;n<l;n++){let i=e.slice(r,r+s-o+(n<u?0:1));r+=i.length;let l=t.reedSolomonComputeRemainder(i,d);n<u&&i.push(0),c.push(i.concat(l))}let f=[];for(let e=0;e<c[0].length;e++)c.forEach((t,n)=>{(e!=s-o||n>=u)&&f.push(t[e])});return i(f.length==a),f}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let i=0;i<this.size;i++)for(let l=0;l<2;l++){let o=t-l,a=(t+1&2)==0?this.size-1-i:i;!this.isFunction[a][o]&&n<8*e.length&&(this.modules[a][o]=r(e[n>>>3],7-(7&n)),n++)}}i(n==8*e.length)}applyMask(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,i=0,l=[0,0,0,0,0,0,0];for(let o=0;o<this.size;o++)this.modules[n][o]==r?5==++i?e+=t.PENALTY_N1:i>5&&e++:(this.finderPenaltyAddHistory(i,l),r||(e+=this.finderPenaltyCountPatterns(l)*t.PENALTY_N3),r=this.modules[n][o],i=1);e+=this.finderPenaltyTerminateAndCount(r,i,l)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,i=0,l=[0,0,0,0,0,0,0];for(let o=0;o<this.size;o++)this.modules[o][n]==r?5==++i?e+=t.PENALTY_N1:i>5&&e++:(this.finderPenaltyAddHistory(i,l),r||(e+=this.finderPenaltyCountPatterns(l)*t.PENALTY_N3),r=this.modules[o][n],i=1);e+=this.finderPenaltyTerminateAndCount(r,i,l)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){let i=this.modules[n][r];i==this.modules[n][r+1]&&i==this.modules[n+1][r]&&i==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(let e of this.modules)n=e.reduce((e,t)=>e+ +!!t,n);let r=this.size*this.size,l=Math.ceil(Math.abs(20*n-10*r)/r)-1;return i(0<=l&&l<=9),i(0<=(e+=l*t.PENALTY_N4)&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{let e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let i=0;i<e;i++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map(e=>0);for(let i of e){let e=i^r.shift();r.push(0),n.forEach((n,i)=>r[i]^=t.reedSolomonMultiply(n,e))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285^(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){let t=e[1];i(t<=3*this.size);let n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};function n(e,t,n){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function r(e,t){return(e>>>t&1)!=0}function i(e){if(!e)throw Error("Assertion error")}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;let l=class e{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(t){let r=[];for(let e of t)n(e,8,r);return new e(e.Mode.BYTE,t.length,r)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError("String contains non-numeric characters");let r=[];for(let e=0;e<t.length;){let i=Math.min(t.length-e,3);n(parseInt(t.substring(e,e+i),10),3*i+1,r),e+=i}return new e(e.Mode.NUMERIC,t.length,r)}static makeAlphanumeric(t){let r;if(!e.isAlphanumeric(t))throw RangeError("String contains unencodable characters in alphanumeric mode");let i=[];for(r=0;r+2<=t.length;r+=2){let l=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r));n(l+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),11,i)}return r<t.length&&n(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,i),new e(e.Mode.ALPHANUMERIC,t.length,i)}static makeSegments(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let r=[];if(t<0)throw RangeError("ECI assignment value out of range");if(t<128)n(t,8,r);else if(t<16384)n(2,2,r),n(t,14,r);else if(t<1e6)n(6,3,r),n(t,21,r);else throw RangeError("ECI assignment value out of range");return new e(e.Mode.ECI,0,r)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(let r of e){let e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substring(n+1,n+3),16)),n+=2);return t}};l.NUMERIC_REGEX=/^[0-9]*$/,l.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,l.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let o=l;e.QrSegment=l})(r||(r={})),(e=>{(e=>{let t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),e.Ecc=t})(e.QrCode||(e.QrCode={}))})(r||(r={})),(e=>{(e=>{let t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]),e.Mode=t})(e.QrSegment||(e.QrSegment={}))})(r||(r={}));var f=r,p={L:f.QrCode.Ecc.LOW,M:f.QrCode.Ecc.MEDIUM,Q:f.QrCode.Ecc.QUARTILE,H:f.QrCode.Ecc.HIGH},h="#FFFFFF",m="#000000";function g(e,t=0){let n=[];return e.forEach(function(e,r){let i=null;e.forEach(function(l,o){if(!l&&null!==i){n.push(`M${i+t} ${r+t}h${o-i}v1H${i+t}z`),i=null;return}if(o===e.length-1){if(!l)return;null===i?n.push(`M${o+t},${r+t} h1v1H${o+t}z`):n.push(`M${i+t},${r+t} h${o+1-i}v1H${i+t}z`);return}l&&null===i&&(i=o)})}),n.join("")}function v(e,t){return e.slice().map((e,n)=>n<t.y||n>=t.y+t.h?e:e.map((e,n)=>(n<t.x||n>=t.x+t.w)&&e))}function y({value:e,level:t,minVersion:n,includeMargin:r,marginSize:l,imageSettings:o,size:a,boostLevel:u}){let s=i.useMemo(()=>{let r=(Array.isArray(e)?e:[e]).reduce((e,t)=>(e.push(...f.QrSegment.makeSegments(t)),e),[]);return f.QrCode.encodeSegments(r,p[t],n,void 0,void 0,u)},[e,t,n,u]),{cells:c,margin:d,numCells:h,calculatedImageSettings:m}=i.useMemo(()=>{let e=s.getModules(),t=null!=l?Math.max(Math.floor(l),0):4*!!r,n=e.length+2*t,i=function(e,t,n,r){if(null==r)return null;let i=e.length+2*n,l=Math.floor(.1*t),o=i/t,a=(r.width||l)*o,u=(r.height||l)*o,s=null==r.x?e.length/2-a/2:r.x*o,c=null==r.y?e.length/2-u/2:r.y*o,d=null==r.opacity?1:r.opacity,f=null;if(r.excavate){let e=Math.floor(s),t=Math.floor(c),n=Math.ceil(a+s-e),r=Math.ceil(u+c-t);f={x:e,y:t,w:n,h:r}}return{x:s,y:c,h:u,w:a,excavation:f,opacity:d,crossOrigin:r.crossOrigin}}(e,a,t,o);return{cells:e,margin:t,numCells:n,calculatedImageSettings:i}},[s,a,o,r,l]);return{qrcode:s,margin:d,cells:c,numCells:h,calculatedImageSettings:m}}var b=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();i.forwardRef(function(e,t){let{value:n,size:r=128,level:l="L",bgColor:o=h,fgColor:a=m,includeMargin:u=!1,minVersion:s=1,boostLevel:f,marginSize:p,imageSettings:x}=e,E=d(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:k}=E,w=d(E,["style"]),C=null==x?void 0:x.src,S=i.useRef(null),P=i.useRef(null),T=i.useCallback(e=>{S.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),[M,A]=i.useState(!1),{margin:L,cells:O,numCells:F,calculatedImageSettings:_}=y({value:n,level:l,minVersion:s,boostLevel:f,includeMargin:u,marginSize:p,imageSettings:x,size:r});i.useEffect(()=>{if(null!=S.current){let e=S.current,t=e.getContext("2d");if(!t)return;let n=O,i=P.current,l=null!=_&&null!==i&&i.complete&&0!==i.naturalHeight&&0!==i.naturalWidth;l&&null!=_.excavation&&(n=v(O,_.excavation));let u=window.devicePixelRatio||1;e.height=e.width=r*u;let s=r/F*u;t.scale(s,s),t.fillStyle=o,t.fillRect(0,0,F,F),t.fillStyle=a,b?t.fill(new Path2D(g(n,L))):O.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+L,n+L,1,1)})}),_&&(t.globalAlpha=_.opacity),l&&t.drawImage(i,_.x+L,_.y+L,_.w,_.h)}}),i.useEffect(()=>{A(!1)},[C]);let I=c({height:r,width:r},k),R=null;return null!=C&&(R=i.createElement("img",{src:C,key:C,style:{display:"none"},onLoad:()=>{A(!0)},ref:P,crossOrigin:null==_?void 0:_.crossOrigin})),i.createElement(i.Fragment,null,i.createElement("canvas",c({style:I,height:r,width:r,ref:T,role:"img"},w)),R)}).displayName="QRCodeCanvas";var x=i.forwardRef(function(e,t){let{value:n,size:r=128,level:l="L",bgColor:o=h,fgColor:a=m,includeMargin:u=!1,minVersion:s=1,boostLevel:f,title:p,marginSize:b,imageSettings:x}=e,E=d(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:k,cells:w,numCells:C,calculatedImageSettings:S}=y({value:n,level:l,minVersion:s,boostLevel:f,includeMargin:u,marginSize:b,imageSettings:x,size:r}),P=w,T=null;null!=x&&null!=S&&(null!=S.excavation&&(P=v(w,S.excavation)),T=i.createElement("image",{href:x.src,height:S.h,width:S.w,x:S.x+k,y:S.y+k,preserveAspectRatio:"none",opacity:S.opacity,crossOrigin:S.crossOrigin}));let M=g(P,k);return i.createElement("svg",c({height:r,width:r,viewBox:`0 0 ${C} ${C}`,ref:t,role:"img"},E),!!p&&i.createElement("title",null,p),i.createElement("path",{fill:o,d:`M0,0 h${C}v${C}H0z`,shapeRendering:"crispEdges"}),i.createElement("path",{fill:a,d:M,shapeRendering:"crispEdges"}),T)});x.displayName="QRCodeSVG"},14105:(e,t)=>{"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:l,objectFit:o}=e,a=r?40*r:t,u=i?40*i:n,s=a&&u?"viewBox='0 0 "+a+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+s+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(s?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+l+"'/%3E%3C/svg%3E"}
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},14700:(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})},15110:(e,t,n)=>{"use strict";n.d(t,{e:()=>function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(i))},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 i=setTimeout(...t);return n.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];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(28165)}
1,15239:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(54652),i=n.n(r)},17342:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,a:()=>o});var r=n(12115),i=n(53182);let l=Symbol();function o(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 o=(0,r.useRef)(t);(0,r.useEffect)(()=>{o.current=t},[t]);let a=(0,i._)(e=>{for(let t of o.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}},18955:(e,t,n)=>{"use strict";n.d(t,{c3:()=>l,kc:()=>o});var r=n(72888);function i(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let l=i(0,r.c3),o=i(0,r.kc)},20536:(e,t,n)=>{"use strict";function r(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),l=2;l<n;l++)i[l-2]=arguments[l];if(e in t){let n=t[e];return"function"==typeof n?n(...i):n}let o=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(o,r),o}n.d(t,{Y:()=>r})},20821:(e,t)=>{"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,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});let n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},23969:(e,t,n)=>{"use strict";n.d(t,{dO:()=>L});var r=n(93551),i=n(26455),l=n(12115),o=n(3538),a=n(53182),u=n(91553),s=n(99900),c=n(17342),d=n(57865),f=n(47650);function p(e,t){return e?e+"["+t+"]":t}var h=n(69159),m=n(79065);let g=(0,l.createContext)(null);function v(e){let{children:t}=e,n=(0,l.useContext)(g);if(!n)return l.createElement(l.Fragment,null,t);let{target:r}=n;return r?(0,f.createPortal)(l.createElement(l.Fragment,null,t),r):null}function y(e){let{data:t,form:n,disabled:r,onReset:i,overrides:o}=e,[a,s]=(0,l.useState)(null),c=(0,u.L)();return(0,l.useEffect)(()=>{if(i&&a)return c.addEventListener(a,"reset",i)},[a,n,i]),l.createElement(v,null,l.createElement(b,{setForm:s,formId:n}),(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[i,l]of Object.entries(t))!function t(n,r,i){if(Array.isArray(i))for(let[e,l]of i.entries())t(n,p(r,e.toString()),l);else i instanceof Date?n.push([r,i.toISOString()]):"boolean"==typeof i?n.push([r,i?"1":"0"]):"string"==typeof i?n.push([r,i]):"number"==typeof i?n.push([r,"".concat(i)]):null==i?n.push([r,""]):e(i,r,n)}(r,p(n,i),l);return r})(t).map(e=>{let[t,i]=e;return l.createElement(m.j,{features:m.u.Hidden,...(0,h.oE)({key:t,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,disabled:r,name:t,value:i,...o})})}))}function b(e){let{setForm:t,formId:n}=e;return(0,l.useEffect)(()=>{if(n){let e=document.getElementById(n);e&&t(e)}},[t,n]),n?null:l.createElement(m.j,{features:m.u.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:e=>{if(!e)return;let n=e.closest("form");n&&t(n)}})}let x=(0,l.createContext)(void 0);function E(){return(0,l.useContext)(x)}var k=n(49221),w=n(88499),C=n(79802);let S=(0,l.createContext)(null);function P(e){var t,n,r;let i=null!=(n=null==(t=(0,l.useContext)(S))?void 0:t.value)?n:void 0;return(null!=(r=null==e?void 0:e.length)?r:0)>0?[i,...e].filter(Boolean).join(" "):i}S.displayName="LabelContext";let T=Object.assign((0,h.FX)(function(e,t){var n;let r=(0,l.useId)(),i=function e(){let t=(0,l.useContext)(S);if(null===t){let t=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),o=E(),u=(0,d._)(),{id:s="headlessui-label-".concat(r),htmlFor:f=null!=o?o:null==(n=i.props)?void 0:n.htmlFor,passive:p=!1,...m}=e,g=(0,c.P)(t);(0,C.s)(()=>i.register(s),[s,i.register]);let v=(0,a._)(e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),i.props&&"onClick"in i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),y=u||!1,b=(0,l.useMemo)(()=>({...i.slot,disabled:y}),[i.slot,y]),x={ref:g,...i.props,id:s,htmlFor:f,onClick:v};return p&&("onClick"in x&&(delete x.htmlFor,delete x.onClick),"onClick"in m&&delete m.onClick),(0,h.Ci)()({ourProps:x,theirProps:m,slot:b,defaultTag:f?"label":"div",name:i.name||"Label"})}),{}),M=(0,l.createContext)(null);M.displayName="GroupContext";let A=l.Fragment,L=Object.assign((0,h.FX)(function(e,t){var n;let f=(0,l.useId)(),p=E(),m=(0,d._)(),{id:g=p||"headlessui-switch-".concat(f),disabled:v=m||!1,checked:b,defaultChecked:x,onChange:C,name:S,value:T,form:A,autoFocus:L=!1,...O}=e,F=(0,l.useContext)(M),[_,I]=(0,l.useState)(null),R=(0,l.useRef)(null),D=(0,c.P)(R,t,null===F?null:F.setSwitch,I),N=function(e){let[t]=(0,l.useState)(e);return t}(x),[j,z]=function(e,t,n){let[r,i]=(0,l.useState)(n),o=void 0!==e,u=(0,l.useRef)(o),s=(0,l.useRef)(!1),c=(0,l.useRef)(!1);return!o||u.current||s.current?o||!u.current||c.current||(c.current=!0,u.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(s.current=!0,u.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[o?e:r,(0,a._)(e=>(o||i(e),null==t?void 0:t(e)))]}(b,C,null!=N&&N),H=(0,u.L)(),[B,U]=(0,l.useState)(!1),V=(0,a._)(()=>{U(!0),null==z||z(!j),H.nextFrame(()=>{U(!1)})}),W=(0,a._)(e=>{if(function(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}(e.currentTarget))return e.preventDefault();e.preventDefault(),V()}),q=(0,a._)(e=>{e.key===w.D.Space?(e.preventDefault(),V()):e.key===w.D.Enter&&function(e){var t,n;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){for(let t of r.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(n=r.requestSubmit)||n.call(r)}}(e.currentTarget)}),Y=(0,a._)(e=>e.preventDefault()),X=P(),K=(0,k.MM)(),{isFocusVisible:G,focusProps:$}=(0,r.o)({autoFocus:L}),{isHovered:Q,hoverProps:Z}=(0,i.M)({isDisabled:v}),{pressed:J,pressProps:ee}=(0,o.Z)({disabled:v}),et=(0,l.useMemo)(()=>({checked:j,disabled:v,hover:Q,focus:G,active:J,autofocus:L,changing:B}),[j,Q,G,J,v,B,L]),en=(0,h.v6)({id:g,ref:D,role:"switch",type:(0,s.c)(e,_),tabIndex:-1===e.tabIndex?0:null!=(n=e.tabIndex)?n:0,"aria-checked":j,"aria-labelledby":X,"aria-describedby":K,disabled:v||void 0,autoFocus:L,onClick:W,onKeyUp:q,onKeyPress:Y},$,Z,ee),er=(0,l.useCallback)(()=>
1{if(void 0!==N)return null==z?void 0:z(N)},[z,N]),ei=(0,h.Ci)();return l.createElement(l.Fragment,null,null!=S&&l.createElement(y,{disabled:v,data:{[S]:T||"on"},overrides:{type:"checkbox",checked:j},form:A,onReset:er}),ei({ourProps:en,theirProps:O,slot:et,defaultTag:"button",name:"Switch"}))}),{Group:function(e){var t;let[n,r]=(0,l.useState)(null),[i,o]=function(){let{inherit:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=P(),[n,r]=(0,l.useState)([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(" "):void 0,(0,l.useMemo)(()=>function(e){let t=(0,a._)(e=>(r(t=>[...t,e]),()=>r(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),n=(0,l.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return l.createElement(S.Provider,{value:n},e.children)},[r])]}(),[u,s]=(0,k.rU)(),c=(0,l.useMemo)(()=>({switch:n,setSwitch:r}),[n,r]),d=(0,h.Ci)();return l.createElement(s,{name:"Switch.Description",value:u},l.createElement(o,{name:"Switch.Label",value:i,props:{htmlFor:null==(t=c.switch)?void 0:t.id,onClick(e){n&&(e.currentTarget instanceof HTMLLabelElement&&e.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},l.createElement(M.Provider,{value:c},d({ourProps:{},theirProps:e,slot:{},defaultTag:A,name:"Switch.Group"}))))},Label:T,Description:k.VY})},26455:(e,t,n)=>{"use strict";n.d(t,{M:()=>f});var r=n(5325),i=n(54309),l=n(48958),o=n(12115);let a=!1,u=0;function s(){a=!0,setTimeout(()=>{a=!1},50)}function c(e){"touch"===e.pointerType&&s()}function d(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",c):document.addEventListener("touchend",s),u++,()=>{--u>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",c):document.removeEventListener("touchend",s))}}function f(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:u,isDisabled:s}=e,[c,f]=(0,o.useState)(!1),p=(0,o.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,o.useEffect)(d,[]);let{addGlobalListener:h,removeAllGlobalListeners:m}=(0,r.A)(),{hoverProps:g,triggerHoverEnd:v}=(0,o.useMemo)(()=>{let e=(e,o)=>{if(p.pointerType=o,s||"touch"===o||p.isHovered||!e.currentTarget.contains(e.target))return;p.isHovered=!0;let a=e.currentTarget;p.target=a,h((0,i.TW)(e.target),"pointerover",e=>{p.isHovered&&p.target&&!(0,l.sD)(p.target,e.target)&&r(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:a,pointerType:o}),n&&n(!0),f(!0)},r=(e,t)=>{let r=p.target;p.pointerType="",p.target=null,"touch"!==t&&p.isHovered&&r&&(p.isHovered=!1,m(),u&&u({type:"hoverend",target:r,pointerType:t}),n&&n(!1),f(!1))},o={};return"undefined"!=typeof PointerEvent?(o.onPointerEnter=t=>{a&&"mouse"===t.pointerType||e(t,t.pointerType)},o.onPointerLeave=e=>{!s&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(o.onTouchStart=()=>{p.ignoreEmulatedMouseEvents=!0},o.onMouseEnter=t=>{p.ignoreEmulatedMouseEvents||a||e(t,"mouse"),p.ignoreEmulatedMouseEvents=!1},o.onMouseLeave=e=>{!s&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:o,triggerHoverEnd:r}},[t,n,u,s,p,h,m]);return(0,o.useEffect)(()=>{s&&v({currentTarget:p.target},p.pointerType)},[s]),{hoverProps:g,isHovered:c}}},28165:(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})},29371:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var r=n(12115),i=n(79802);function l(){let e=(0,r.useRef)(!1);return(0,i.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},33455:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let r=n(28140)._(n(12115)),i=n(20821),l=r.default.createContext(i.imageConfigDefault)},41402:(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 v},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return m}});let r=n(28140),i=n(49417),l=n(95155),o=r._(n(47650)),a=i._(n(12115)),u=n(82073),s=n(94681),c=n(4853),d=new Map,f=new Set,p=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:l,children:a="",strategy:u="afterInteractive",onError:c,stylesheets:p}=e,h=n||t;if(h&&f.has(h))return;if(d.has(t)){f.add(h),d.get(t).then(r,c);return}let m=()=>{i&&i(),f.add(h)},g=document.createElement("script"),v=new Promise((e,t)=>
1{g.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});l?(g.innerHTML=l.__html||"",m()):a?(g.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",m()):t&&(g.src=t,d.set(t,v)),(0,s.setAttributesFromProps)(g,e),"worker"===u&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",u),p&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(p),document.body.appendChild(g)};function h(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}):p(e)}function m(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function g(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:s="afterInteractive",onError:d,stylesheets:h,...m}=e,{updateScripts:g,scripts:v,getIsSsr:y,appDir:b,nonce:x}=(0,a.useContext)(u.HeadManagerContext);x=m.nonce||x;let E=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||n;E.current||(i&&e&&f.has(e)&&i(),E.current=!0)},[i,t,n]);let k=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{if(!k.current){if("afterInteractive"===s)p(e);else"lazyOnload"===s&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}));k.current=!0}},[e,s]),("beforeInteractive"===s||"worker"===s)&&(g?(v[s]=(v[s]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:d,...m,nonce:x}]),g(v)):y&&y()?f.add(t||n):y&&!y()&&p({...e,nonce:x})),b){if(h&&h.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)if(!n)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...m,id:t}])+")"}});else return o.default.preload(n,m.integrity?{as:"script",integrity:m.integrity,nonce:x,crossOrigin:m.crossOrigin}:{as:"script",nonce:x,crossOrigin:m.crossOrigin}),(0,l.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...m,id:t}])+")"}});"afterInteractive"===s&&n&&o.default.preload(n,m.integrity?{as:"script",integrity:m.integrity,nonce:x,crossOrigin:m.crossOrigin}:{as:"script",nonce:x,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let v=g;("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)},45554:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=Object.defineProperty,i=(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 window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}}let o=new l},48958:(e,t,n)=>{"use strict";n.d(t,{bq:()=>i,wt:()=>l,sD:()=>r}),n(54309);function r(e,t){return!!t&&!!e&&e.contains(t)}let i=(e=document)=>e.activeElement;function l(e){return e.target}},49221:(e,t,n)=>{"use strict";n.d(t,{MM:()=>c,VY:()=>f,rU:()=>d});var r=n(12115),i=n(53182),l=n(79802),o=n(17342),a=n(57865),u=n(69159);let s=(0,r.createContext)(null);function c(){var e,t;return null!=(t=null==(e=(0,r.useContext)(s))?void 0:e.value)?t:void 0}function d(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,i._)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),l=(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(s.Provider,{value:l},e.children)},[t])]}s.displayName="DescriptionContext";let f=Object.assign((0,u.FX)(function(e,t){let n=(0,r.useId)(),i=(0,a._)(),{id:c="headlessui-description-".concat(n),...d}=e,f=function e(){let t=(0,r.useContext)(s);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}(),p=(0,o.P)(t);(0,l.s)(()=>f.register(c),[c,f.register]);let h=i||!1,m=(0,r.useMemo)(()=>({...f.slot,disabled:h}),[f.slot,h]),g={ref:p,...f.props,id:c};return(0,u.Ci)()({ourProps:g,theirProps:d,slot:m,defaultTag:"p",name:f.name||"Description"})}),{})},49677:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,l=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var s;return(void 0===t&&(t={}),!(s=e)||i.test(s)||n.test(s))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,u):e.replace(l,u)).replace(r,a))}},53182:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(12115),i=n(84585);let l=function(e){let t=(0,i.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])}},54185:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(71729)),i=n(49677);function l(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}l.default=l,e.exports=l},54309:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>l,TW:()=>r,mD:()=>i});let r=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},i=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function l(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},54652:(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 u},getImageProps:function(){return a}});let r=n(28140),i=n(75040),l=n(81356),o=r._(n(71124));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=l.Image},55251:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(20063),i=n(12115),l=n.t(i,2),o=n(72888),a=l["use".trim()],u=n(4106),s=n(64707),c=n(85919),d=n(95155),f=n(57301);function p(e){let{Link:t,config:n,getPathname:l,...p}=function(e,t){var n,l,o;let f={...n=t||{},localePrefix:"object"==typeof(o=n.localePrefix)?o:{mode:o||"always"},localeCookie:!!((l=n.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:n.localeDetection??!0,alternateLinks:n.alternateLinks??!0},p=f.pathnames,h=(0,i.forwardRef)(function({href:t,locale:n,...r},i){let l,o;"object"==typeof t?(l=t.pathname,o=t.params):l=t;let c=(0,u._x)(t),h=e(),g=(0,u.yL)(h)?a(h):h,v=c?m({locale:n||g,href:null==p?l:{pathname:l,params:o}},null!=n||void 0):l;return(0,d.jsx)(s.default,{ref:i,href:"object"==typeof t?{...t,pathname:v}:v,locale:n,localeCookie:f.localeCookie,...r})});function m(e,t){let n,{href:r,locale:i}=e;return null==p?"object"==typeof r?(n=r.pathname,r.query&&(n+=(0,c.Zn)(r.query))):n=r:n=(0,c.FP)({locale:i,...(0,c.TK)(r),pathnames:f.pathnames}),(0,c.x3)(n,i,f,t)}function g(e){return function(t,...n){return e(m(t),...n)}}return{config:f,Link:h,redirect:g(r.redirect),permanentRedirect:g(r.permanentRedirect),getPathname:m}}(o.Ym,e);return{...p,Link:t,usePathname:function(){let e=function(e){let t=(0,r.usePathname)(),n=(0,o.Ym)();return(0,i.useMemo)(()=>{if(!t)return t;let r=t,i=(0,u.XP)(n,e.localePrefix);if((0,u.wO)(i,t))r=(0,u.MY)(t,i);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,u.bL)(n);(0,u.wO)(e,t)&&(r=(0,u.MY)(t,e))}return r},[e.localePrefix,n,t])}(n),t=(0,o.Ym)();return(0,i.useMemo)(()=>e&&n.pathnames?(0,c.aM)(t,e,n.pathnames):e,[t,e])},useRouter:function(){let e=(0,r.useRouter)(),t=(0,o.Ym)(),a=(0,r.usePathname)();return(0,i.useMemo)(()=>{function r(e){return function(r,i){let{locale:o,...u}=i||{},s=[l({href:r,locale:o||t})];Object.keys(u).length>0&&s.push(u),e(...s),(0,f.A)(n.localeCookie,a,t,o)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,a,e])},getPathname:l}}},56716:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;
1\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,E=[];for(y(E);x=function(){var e=p(),n=v(i);if(n){if(b(),!v(l))return g("property missing ':'");var r=v(o),u=e({type:"declaration",property:s(n[0].replace(t,"")),value:r?s(r[0].replace(t,"")):""});return v(a),u}}();)!1!==x&&(E.push(x),y(E));return E}},57865:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(12115);let i=(0,r.createContext)(void 0);function l(){return(0,r.useContext)(i)}},60861:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},69159:(e,t,n)=>{"use strict";n.d(t,{Ac:()=>o,Ci:()=>u,FX:()=>p,mK:()=>a,oE:()=>h,v6:()=>f});var r=n(12115),i=n(14700),l=n(20536),o=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(o||{}),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),i=0;i<n;i++)r[i]=arguments[i];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:i,features:o,visible:a=!0,name:u,mergeRefs:f}=e;f=null!=f?f:c;let p=d(n,t);if(a)return s(p,r,i,u,f);let h=null!=o?o:0;if(2&h){let{static:e=!1,...t}=p;if(e)return s(t,r,i,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,i,u,f)})}return s(p,r,i,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,o=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,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&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)]=""}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,i.x)(t(...n),c.className)}:(0,i.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:o((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={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])for(let e in i)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(i[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in i)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 i[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={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):r[t]=e[t];for(let e in i)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 i[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}},70011:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!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(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,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!==(i=u(t,n))&&(h&&i&&(o(i)||(s=l(i)))?(s?(s=!1,c=r&&l(r)?r:[]):c=r&&o(r)?r:{},a(d,{name:n,newValue:e(h,c,i)})):void 0!==i&&a(d,{name:n,newValue:i}));return d}},70856:(e,t,n)=>{"use strict";n.d(t,{oz:()=>nM});var r={};n.r(r),n.d(r,{boolean:()=>g,booleanish:()=>v,commaOrSpaceSeparated:()=>k,commaSeparated:()=>E,number:()=>b,overloadedBoolean:()=>y,spaceSeparated:()=>x});var i={};n.r(i),n.d(i,{attentionMarkers:()=>tT,contentInitial:()=>tE,disable:()=>tM,document:()=>tx,flow:()=>tw,flowInitial:()=>tk,insideSpan:()=>tP,string:()=>tC,text:()=>tS});let l=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a={};function u(e,t){return((t||a).jsx?o:l).test(e)}let s=/[ \t\n\f\r]/g;function c(e){return""===e.replace(s,"")}class d{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function f(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new d(n,r,t)}function p(e){return e.toLowerCase()}d.prototype.normal={},d.prototype.property={},d.prototype.space=void 0;class h{constructor(e,t){this.attribute=t,this.property=e}}h.prototype.attribute="",h.prototype.booleanish=!1,h.prototype.boolean=!1,h.prototype.commaOrSpaceSeparated=!1,h.prototype.commaSeparated=!1,h.prototype.defined=!1,h.prototype.mustUseProperty=!1,h.prototype.number=!1,h.prototype.overloadedBoolean=!1,h.prototype.property="",h.prototype.spaceSeparated=!1,h.prototype.space=void 0;let m=0,g=w(),v=w(),y=w(),b=w(),x=w(),E=w(),k=w();function w(){return 2**++m}let C=Object.keys(r);class S extends h{constructor(e,t,n,i){let l=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++l<C.length;){let e=C[l];!function(e,t,n){n&&(e[t]=n)}(this,C[l],(n&r[e])===r[e])}}}function P(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let l=new S(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[p(r)]=r,n[p(l.attribute)]=r}return new d(t,n,e.space)}S.prototype.defined=!0;let T=P({properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControl
1s:x,ariaCurrent:null,ariaDescribedBy:x,ariaDetails:null,ariaDisabled:v,ariaDropEffect:x,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:x,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:x,ariaLevel:b,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:x,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:x,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:v,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function M(e,t){return t in e?e[t]:t}function A(e,t){return M(e,t.toLowerCase())}let L=P({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:E,acceptCharset:x,accessKey:x,action:null,allow:null,allowFullScreen:g,allowPaymentRequest:g,allowUserMedia:g,alt:null,as:null,async:g,autoCapitalize:null,autoComplete:x,autoFocus:g,autoPlay:g,blocking:x,capture:null,charSet:null,checked:g,cite:null,className:x,cols:b,colSpan:null,content:null,contentEditable:v,controls:g,controlsList:x,coords:b|E,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g,defer:g,dir:null,dirName:null,disabled:g,download:y,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g,formTarget:null,headers:x,height:b,hidden:y,high:b,href:null,hrefLang:null,htmlFor:x,httpEquiv:x,id:null,imageSizes:null,imageSrcSet:null,inert:g,inputMode:null,integrity:null,is:null,isMap:g,itemId:null,itemProp:x,itemRef:x,itemScope:g,itemType:x,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:g,muted:g,name:null,nonce:null,noModule:g,noValidate:g,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:g,optimum:b,pattern:null,ping:x,placeholder:null,playsInline:g,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g,referrerPolicy:null,rel:x,required:g,reversed:g,rows:b,rowSpan:b,sandbox:x,scope:null,scoped:g,seamless:g,selected:g,shadowRootClonable:g,shadowRootDelegatesFocus:g,shadowRootMode:null,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:g,useMap:null,value:v,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:x,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g,declare:g,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:g,noHref:g,noShade:g,noWrap:g,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g,disableRemotePlayback:g,prefix:null,property:null,results:b,security:null,unselectable:null},space:"html",transform:A}),O=P({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",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:k,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:x,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:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:g,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:E,g2:E,glyphName:E,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:k,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,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:b,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:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:x,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:k,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:k,rev:k,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:k,requiredFeatures:k,requiredFonts:k,requiredFormats:k,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:k,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:k,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:k,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:M}),F=P({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
1"xlink:"+t.slice(5).toLowerCase()}),_=P({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:A}),I=P({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),R=f([T,L,F,_,I],"html"),D=f([T,O,F,_,I],"svg"),N=/[A-Z]/g,j=/-[a-z]/g,z=/^data[-\w.:]+$/i;function H(e){return"-"+e.toLowerCase()}function B(e){return e.charAt(1).toUpperCase()}let U={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 V=n(54185);let W=Y("end"),q=Y("start");function Y(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function X(e){return e&&"object"==typeof e?"position"in e||"type"in e?G(e.position):"start"in e||"end"in e?G(e):"line"in e||"column"in e?K(e):"":""}function K(e){return $(e&&e.line)+":"+$(e&&e.column)}function G(e){return K(e&&e.start)+"-"+K(e&&e.end)}function $(e){return e&&"number"==typeof e?e:1}class Q extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},l=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(l=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=X(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=l&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}Q.prototype.file="",Q.prototype.name="",Q.prototype.reason="",Q.prototype.message="",Q.prototype.stack="",Q.prototype.column=void 0,Q.prototype.line=void 0,Q.prototype.ancestors=void 0,Q.prototype.cause=void 0,Q.prototype.fatal=void 0,Q.prototype.place=void 0,Q.prototype.ruleId=void 0,Q.prototype.source=void 0;let Z={}.hasOwnProperty,J=new Map,ee=/[A-Z]/g,et=new Set(["table","tbody","thead","tfoot","tr"]),en=new Set(["td","th"]),er="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ei(e,t,n){return"element"===t.type?function(e,t,n){let r=e.schema;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(e.schema=D),e.ancestors.push(t);let i=eu(e,t.tagName,!1),l=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&Z.call(t.properties,r)){let l=function(e,t,n){let r=function(e,t){let n=p(t),r=t,i=h;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&z.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(j,B);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!j.test(e)){let n=e.replace(N,H);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=S}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return V(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new Q("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});
1throw t.file=e.filePath||void 0,t.url=er+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)Z.call(e,t)&&(n[function(e){let t=e.replace(ee,ec);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?U[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(l){let[r,o]=l;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&en.has(t.tagName)?n=o:i[r]=o}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(e,t),o=ea(e,t);return et.has(t.tagName)&&(o=o.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&c(e.value):c(e))})),el(e,l,i,t),eo(l,o),e.ancestors.pop(),e.schema=r,e.create(t,i,l,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}es(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema;"svg"===t.name&&"html"===r.space&&(e.schema=D),e.ancestors.push(t);let i=null===t.name?e.Fragment:eu(e,t.name,!0),l=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let l=i.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else es(e,t.position);else{let i,l=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else es(e,t.position);else i=null===r.value||r.value;n[l]=i}return n}(e,t),o=ea(e,t);return el(e,l,i,t),eo(l,o),e.ancestors.pop(),e.schema=r,e.create(t,i,l,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);es(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return eo(r,ea(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function el(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function eo(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function ea(e,t){let n=[],r=-1,i=e.passKeys?new Map:J;for(;++r<t.children.length;){let l,o=t.children[r];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;l=e+"-"+t,i.set(e,t+1)}}let a=ei(e,o,l);void 0!==a&&n.push(a)}return n}function eu(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=u(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}r=e}else r=u(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return Z.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);es(e)}function es(e,t){let n=new Q("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=er+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ec(e){return"-"+e.toLowerCase()}let ed={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ef=n(95155);n(12115);let ep={};function eh(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return em(e.children,t,n)}return Array.isArray(e)?em(e,t,n):""}function em(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=eh(e[i],t,n);return r.join("")}function eg(e,t,n,r){let i,l=e.length,o=0;if(t=t<0?-t>l?0:l+t:t>l?l:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o<r.length;)(i=r.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function ev(e,t){return e.length>0?(eg(e,e.length,0,t),e):t}class ey{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&eb(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),eb(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),eb(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);eb(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);eb(this.left,t.reverse())}}}function eb(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ex(e){let t,n,r,i,l,o,a,u={},s=-1,c=new ey(e);for(;++s<c.length;){for(;s in u;)s=u[s];if(t=c.get(s),s&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(s-1)[1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(u,function(e,t){let n,r,i=e.get(t)[1],l=e.get(t)[2],o=t-1,a=[],u=i._tokenizer;!u&&(u=l.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));let s=u.events,c=[],d={},f=-1,p=i,h=0,m=0,g=[0];for(;p;){for(;e.get(++o)[1]!==p;);a.push(o),!p._tokenizer&&(n=l.sliceStream(p),p.next||n.push(null),r&&u.defineSki
1p(p.start),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++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.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)d[h+c[f][0]]=h+c[f][1],h+=c[f][1]-c[f][0]-1;return d}(c,s)),s=u[s],a=!0);else if(t[1]._container){for(r=s,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(l=c.slice(n,s)).unshift(t),c.splice(n,s-n+1,l))}}return eg(e,0,1/0,c.slice(0)),!a}let eE={}.hasOwnProperty,ek=eI(/[A-Za-z]/),ew=eI(/[\dA-Za-z]/),eC=eI(/[#-'*+\--9=?A-Z^-~]/);function eS(e){return null!==e&&(e<32||127===e)}let eP=eI(/\d/),eT=eI(/[\dA-Fa-f]/),eM=eI(/[!-/:-@[-`{-~]/);function eA(e){return null!==e&&e<-2}function eL(e){return null!==e&&(e<0||32===e)}function eO(e){return -2===e||-1===e||32===e}let eF=eI(/\p{P}|\p{S}/u),e_=eI(/\s/);function eI(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function eR(e,t,n,r){let i=r?r-1:1/0,l=0;return function(r){return eO(r)?(e.enter(n),function r(o){return eO(o)&&l++<i?(e.consume(o),r):(e.exit(n),t(o))}(r)):t(r)}}let eD={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"),eR(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return eA(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eN={tokenize:function(e){let t,n,r,i=this,l=[],o=0;return a;function a(t){if(o<l.length){let n=l[o];return i.containerState=n[1],e.attempt(n[0].continuation,u,s)(t)}return s(t)}function u(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&v();let r=i.events.length,l=r;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){n=i.events[l][1].end;break}g(o);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;return eg(i.events,l+1,0,i.events.slice(r)),i.events.length=a,s(e)}return a(e)}function s(n){if(o===l.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(ej,c,d)(n)}function c(e){return t&&v(),g(o),f(e)}function d(e){return i.parser.lazy[i.now().line]=o!==l.length,r=i.now().offset,h(e)}function f(t){return i.containerState={},e.attempt(ej,p,h)(t)}function p(e){return o++,l.push([i.currentConstruct,i.containerState]),f(e)}function h(r){if(null===r){t&&v(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return eA(n)?(e.consume(n),m(e.exit("chunkFlow")),o=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function m(e,l){let a=i.sliceStream(e);if(l&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),i.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=i.events.length,u=a;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(g(o),l=a;l<i.events.length;)i.events[l][1].end={...n},l++;eg(i.events,u+1,0,i.events.slice(a)),i.events.length=l}}function g(t){let n=l.length;for(;n-- >t;
1){let t=l[n];i.containerState=t[1],t[0].exit.call(i,e)}l.length=t}function v(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},ej={tokenize:function(e,t,n){return eR(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},ez={partial:!0,tokenize:function(e,t,n){return function(t){return eO(t)?eR(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eA(e)?t(e):n(e)}}},eH={resolve:function(e){return ex(e),e},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?i(t):eA(t)?e.check(eB,l,i)(t):(e.consume(t),r)}function i(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}}},eB={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eR(e,i,"linePrefix")};function i(i){if(null===i||eA(i))return n(i);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(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},eU={tokenize:function(e){let t=this,n=e.attempt(ez,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,eR(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eH,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)}}},eV={resolveAll:eX()},eW=eY("string"),eq=eY("text");function eY(e){return{resolveAll:eX("text"===e?eK:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,l,o);return l;function l(e){return u(e)?i(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function eX(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function eK(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,i=e[n-1][1],l=t.sliceStream(i),o=l.length,a=-1,u=0;for(;o--;){let e=l[o];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{o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){let l={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:i.start._bufferIndex+a,_index:i.start._index+o,line:i.end.line,column:i.end.column-u,offset:i.end.offset-u},end:{...i.end}};i.end={...l.start},i.start.offset===i.end.offset?Object.assign(i,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}let eG={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(l){var o;return e.enter("thematicBreak"),r=o=l,function l(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),eO(n)?eR(e,l,"whitespace")(n):l(n))}(o)):i>=3&&(null===o||eA(o))?(e.exit("thematicBreak"),t(o)):n(o)}(o)}}},e$={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(ez,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,eR(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eO(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
1=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eZ,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,eR(e,e.attempt(e$,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],l=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:eP(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(eG,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return eP(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(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(ez,r.interrupt?n:u,e.attempt(eQ,c,s))}
1function u(e){return r.containerState.initialBlankLine=!0,l++,c(e)}function s(t){return eO(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)}}},eQ={partial:!0,tokenize:function(e,t,n){let r=this;return eR(e,function(e){let i=r.events[r.events.length-1];return!eO(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eZ={partial:!0,tokenize:function(e,t,n){let r=this;return eR(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},eJ={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eO(t)?eR(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(eJ,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},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"),i}return n(t)};function i(n){return eO(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function e0(e,t,n,r,i,l,o,a,u){let s=u||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(l),e.consume(t),e.exit(l),d):null===t||32===t||41===t||eS(t)?n(t):(e.enter(r),e.enter(o),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(i),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||eA(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(i){return!c&&(null===i||41===i||eL(i))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(i)):c<s&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||eS(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function e1(e,t,n,r,i,l){let o,a=this,u=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(l),s};function s(d){return u>999||null===d||91===d||93===d&&!o||94===d&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(l),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):eA(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||eA(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),o||(o=!eO(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function e2(e,t,n,r,i,l){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,a):n(t)};function a(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(l),u(n))}function u(t){return t===o?(e.exit(l),a(o)):null===t?n(t):eA(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eR(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===o||null===t||eA(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===o||92===t?(e.consume(t),s):s(t)}}function e4(e,t){let n;return function r(i){return eA(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):eO(i)?eR(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function e5(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let e3={partial:!0,tokenize:function(e,t,n){return function(t){return eL(t)?e4(e,r)(t):n(t)};function r(t){return e2(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return eO(t)?eR(e,l,"whitespace")(t):l(t)}function l(e){return null===e||eA(e)?t(e):n(e)}}},e8={name:"codeIndented",tokenize:function(e,t,n){let r=this;
1return function(t){return e.enter("codeIndented"),eR(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?l(n):eA(n)?e.attempt(e6,t,l)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eA(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function l(n){return e.exit("codeIndented"),t(n)}}},e6={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):eA(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):eR(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):eA(e)?i(e):n(e)}}},e9={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,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),i||"definition"!==e[l][1].type||(i=l);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var o;let a,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){a="paragraph"===i.events[u][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,o=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),eO(n)?eR(e,l,"lineSuffix")(n):l(n))}(o)):n(t)};function l(r){return null===r||eA(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},e7=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],te=["pre","script","style","textarea"],tt={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ez,t,n)}}},tn={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return eA(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},tr={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},ti={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,l={partial:!0,tokenize:function(e,t,n){let l=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),eO(t)?eR(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l>=a?(e.exit("codeFencedFenceSequence"),eO(i)?eR(e,s,"whitespace")(i):s(i)):n(i)}(t)):n(t)}function s(r){return null===r||eA(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},o=0,a=0;return function(t){var l=t;let s=i.events[i.events.length-1];return o=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,r=l,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),eO(i)?eR(e,u,"whitespace")(i):u(i))}(l)};function u(l){return null===l||eA(l)?(e.exit("codeFencedFence"),i.interrupt?t(l):e.check(tr,c,h)(l)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eA(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):eO(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),eR(e,s,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(l))}
1function s(t){return null===t||eA(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eA(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(l,h,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return o>0&&eO(t)?eR(e,p,"linePrefix",o+1)(t):p(t)}function p(t){return null===t||eA(t)?e.check(tr,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eA(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}}},tl=document.createElement("i");function to(e){let t="&"+e+";";tl.innerHTML=t;let n=tl.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let ta={name:"characterReference",tokenize:function(e,t,n){let r,i,l=this,o=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,i=ew,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=eT,s):(e.enter("characterReferenceValue"),r=7,i=eP,s(t))}function s(a){if(59===a&&o){let r=e.exit("characterReferenceValue");return i!==ew||to(l.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&o++<r?(e.consume(a),s):n(a)}}},tu={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 eM(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},ts={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),eR(e,t,"linePrefix")}}};function tc(e,t,n){let r=[],i=-1;for(;++i<e.length;){let l=e[i].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}let td={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&eg(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,l,o=e.length,a=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=o);let u={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return l=ev(l=[["enter",u,t],["enter",s,t]],e.slice(r+1,r+a+3)),l=ev(l,[["enter",c,t]]),l=ev(l,tc(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),l=ev(l,[["exit",c,t],e[i-2],e[i-1],["exit",s,t]]),l=ev(l,e.slice(i+1)),l=ev(l,[["exit",u,t]]),eg(e,r,e.length,l),e},tokenize:function(e,t,n){let r,i,l=this,o=l.events.length;for(;o--;)if(("labelImage"===l.events[o][1].type||"labelLink"===l.events[o][1].type)&&!l.events[o][1]._balanced){r=l.events[o][1];break}return function(t){return r?r._inactive?c(t):(i=l.parser.defined.includes(e5(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(t){return 40===t?e.attempt(tf,s,i?s:c)(t):91===t?e.attempt(tp,s,i?u:c)(t):i?s(t):c(t)}function u(t){return e.attempt(th,s,c)(t)}function s(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},tf={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return eL(t)?e4(e,i)(t):i(t)}function i(t){return 41===t?s(t):e0(e,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function l(t){return eL(t)?e4(e,a)(t):s(t)}function o(e){return n(e)}function a(t){return 34===t||39===t||40===t?e2(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}function u(t){return eL(t)?e4(e,s)(t):s(t)}function s(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tp={tokenize:function(e,t,n){let r=this;return function(t){return e1.call(r,e,i,l,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(e5(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function l(e){return n(e)}}},th={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)}}},tm={name:"labelStartImage",resolveAll:td.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(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)}}};function tg(e){return null===e||eL(e)||e_(e)?1:eF(e)?2:void 0}let tv={name:"attention",resolveAll:function(e,t){let n,r,i,l,o,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={...e[n][1].end},f={...e[c][1].start};ty(d,-a),ty(f,a),l={type:a>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},o={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:f},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[n][1].end={...l.start},e[c][1].start={...o.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=ev(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=ev(u,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",i,t]]),u=ev(u,tc(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=ev(u,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=ev(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,eg(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},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,l=tg(i);return function(o){return n=o,e.enter("attentionSequence"),function o(a){if(a===n)return e.consume(a),o;let u=e.exit("attentionSequence"),s=tg(a),c=!s||2===s&&l||r.includes(a),d=!l||2===l&&s||r.includes(i);return u._open=!!(42===n?c:c&&(l||!d)),u._close=!!(42===n?d:d&&(s||!c)),t(a)}(o)}}};function ty(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tb={name:"labelStartLink",resolveAll:td.resolveAll,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"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},tx={42:e$,43:e$,45:e$,48:e$,49:e$,50:e$,51:e$,52:e$,53:e$,54:e$,55:e$,56:e$,57:e$,62:eJ},tE={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,e1.call(i,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function l(t){return(r=e5(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return eL(t)?e4(e,a)(t):a(t)}function a(t){return e0(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(e3,s,s)(t)}function s(t){return eO(t)?eR(e,c,"whitespace")(t):c(t)}function c(l){return null===l||eA(l)?(e.exit("definition"),i.parser.defined.push(r),t(l)):n(l)}}}},tk={[-2]:e8,[-1]:e8,32:e8},tw={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,l=3;return"whitespace"===e[3][1].type&&(l+=2),i-2>l&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(l===i-1||i-4>l&&"whitespace"===e[i-2][1].type)&&(i-=l+1===i?2:4),i>l&&(n={type:"atxHeadingText",start:e[l][1].start,end:e[i][1].end},r={type:"chunkText",start:e[l][1].start,end:e[i][1].end,contentType:"text"},eg(e,l,i-l+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var l;return e.enter("atxHeading"),l=i,e.enter("atxHeadingSequence"),function i(l){return 35===l&&r++<6?(e.consume(l),i):null===l||eL(l)?(e.exit("atxHeadingSequence"),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||eA(r)?(e.exit("atxHeading"),t(r)):eO(r)?eR(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||eL(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(l)):n(l)}(l)}}},42:eG,45:[e9,eG],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,l,o,a,u=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),i=!0,p):63===o?(e.consume(o),r=3,u.interrupt?t:F):ek(o)?(e.consume(o),l=String.fromCharCode(o),h):n(o)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,o=0,f):ek(i)?(e.consume(i),r=4,u.interrupt?t:F):n(i)}function d(r){return 45===r?(e.consume(r),u.interrupt?t:F):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(o++)?(e.consume(r),o===i.length)?u.interrupt?t:C:f:n(r)}function p(t){return ek(t)?(e.consume(t),l=String.fromCharCode(t),h):n(t)}
1function h(o){if(null===o||47===o||62===o||eL(o)){let a=47===o,s=l.toLowerCase();return!a&&!i&&te.includes(s)?(r=1,u.interrupt?t(o):C(o)):e7.includes(l.toLowerCase())?(r=6,a)?(e.consume(o),m):u.interrupt?t(o):C(o):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(o):i?function t(n){return eO(n)?(e.consume(n),t):k(n)}(o):g(o))}return 45===o||ew(o)?(e.consume(o),l+=String.fromCharCode(o),h):n(o)}function m(r){return 62===r?(e.consume(r),u.interrupt?t:C):n(r)}function g(t){return 47===t?(e.consume(t),k):58===t||95===t||ek(t)?(e.consume(t),v):eO(t)?(e.consume(t),g):k(t)}function v(t){return 45===t||46===t||58===t||95===t||ew(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):eO(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):eO(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||eL(n)?y(n):(e.consume(n),t)}(t)}function x(t){return t===a?(e.consume(t),a=null,E):null===t||eA(t)?n(t):(e.consume(t),x)}function E(e){return 47===e||62===e||eO(e)?g(e):n(e)}function k(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||eA(t)?C(t):eO(t)?(e.consume(t),w):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),M):60===t&&1===r?(e.consume(t),A):62===t&&4===r?(e.consume(t),_):63===t&&3===r?(e.consume(t),F):93===t&&5===r?(e.consume(t),O):eA(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tt,I,S)(t)):null===t||eA(t)?(e.exit("htmlFlowData"),S(t)):(e.consume(t),C)}function S(t){return e.check(tn,P,I)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||eA(t)?S(t):(e.enter("htmlFlowData"),C(t))}function M(t){return 45===t?(e.consume(t),F):C(t)}function A(t){return 47===t?(e.consume(t),l="",L):C(t)}function L(t){if(62===t){let n=l.toLowerCase();return te.includes(n)?(e.consume(t),_):C(t)}return ek(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),L):C(t)}function O(t){return 93===t?(e.consume(t),F):C(t)}function F(t){return 62===t?(e.consume(t),_):45===t&&2===r?(e.consume(t),F):C(t)}function _(t){return null===t||eA(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),_)}function I(n){return e.exit("htmlFlow"),t(n)}}},61:e9,95:eG,96:ti,126:ti},tC={38:ta,92:tu},tS={[-5]:ts,[-4]:ts,[-3]:ts,33:tm,38:ta,42:tv,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return ek(t)?(e.consume(t),l):64===t?n(t):a(t)}function l(t){return 43===t||45===t||46===t||ew(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||ew(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||eS(r)?n(r):(e.consume(r),o)}function a(t){return 64===t?(e.consume(t),u):eC(t)?(e.consume(t),a):n(t)}function u(i){return ew(i)?function i(l){return 46===l?(e.consume(l),r=0,u):62===l?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(l),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(l){if((45===l||ew(l))&&r++<63){let n=45===l?t:i;return e.consume(l),n}return n(l)}(l)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,l,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),x):63===t?(e.consume(t),y):ek(t)?(e.consume(t),k):n(t)}function u(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),i=0,p):ek(t)?(e.consume(t),v):n(t)}function s(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):eA(t)?(l=c,L(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?A(e):45===e?d(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):eA(t)?(l=h,L(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?A(t):93===t?(e.consume(t),g):h(t)}function v(t){return null===t||62===t?A(t):eA(t)?(l=v,L(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):eA(t)?(l=y,L(t)):(e.consume(t),y)}function b(e){return 62===e?A(e):y(e)}function x(t){return ek(t)?(e.consume(t),E):n(t)}function E(t){return 45===t||ew(t)?(e.consume(t),E):function t(n){return eA(n)?(l=t,L(n)):eO(n)?(e.consume(n),t):A(n)}(t)}function k(t){return 45===t||ew(t)?(e.consume(t),k):47===t||62===t||eL(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),A):58===t||95===t||ek(t)?(e.consume(t),C):eA(t)?(l=w,L(t)):eO(t)?(e.consume(t),w):A(t)}function C(t){return 45===t||46===t||58===t||95===t||ew(t)?(e.consume(t),C):function t(n){return 61===n?(e.consume(n),S):eA(n)?(l=t,L(n)):eO(n)?(e.consume(n),t):w(n)}(t)}function S(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,P):eA(t)?(l=S,L(t)):eO(t)?(e.consume(t),S):(e.consume(t),T)}function P(t){return t===r?(e.consume(t),r=void 0,M):null===t?n(t):eA(t)?(l=P,L(t)):(e.consume(t),P)}function T(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||eL(t)?w(t):(e.consume(t),T)}function M(e){return 47===e||62===e||eL(e)?w(e):n(e)}function A(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return eO(t)?eR(e,F,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):F(t)}function F(t){return e.enter("htmlTextData"),l(t)}}}],91:tb,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eA(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},tu],93:td,95:tv,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-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},tokenize:function(e,t,n){let r,i,l=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),l++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),o):96===u?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===l?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",a(o))}(u)):eA(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),o):(e.enter("codeTextData"),a(u))}function a(t){return null===t||32===t||96===t||eA(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),a)}}}},tP={null:[tv,eV]},tT={null:[42,95]},tM={null:[]},tA=/[\0\t\n\r]/g;function tL(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.fromCodePoint(n)}let tO=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tF(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tL(n.slice(t?2:1),t?16:10)}return to(n)||e}let t_={}.hasOwnProperty;function tI(e){return{line:e.line,column:e.column,offset:e.offset}}function tR(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+X({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+X({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+X({start:t.start,end:t.end})+") is still open")}function tD(e){let t=this;t.parser=function(n){var r,l;let o,a,u,s;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(l=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(v),autolinkProtocol:s,autolinkEmail:s,atxHeading:r(h),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:s,characterReference:s,codeFenced:r(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(p,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:s,data:s,codeFlowValue:s,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:s,htmlText:r(g,i),htmlTextData:s,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(v),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(h),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tL(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=to(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=tI(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:o(),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=e5(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tO,tF),n.identifier=e5(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=tI(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
1ype)&&(s.call(this,e),c.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=e5(this.sliceSerialize(e)).toLowerCase(),this.data.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(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(t_.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:l,exit:a,buffer:i,resume:u,data:n},s=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?s.push(c):c=function(e,t,n){let r,i,l,o,a=t-1,u=-1,s=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||u||l||(l=a),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=a;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",s=!0),t[1].type="lineEnding",i=o}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&&(!i||l<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,l=void 0,o=!0}}}return e[t][1]._spread=s,n}(e,s.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];t_.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},o),e[c][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||tR).call(o,void 0,e[0])}for(r.position={start:tI(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tI(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:tI(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),a.call(this,t)}}function a(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]||tR).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+X({start:e.start,end:e.end})+"): itâs not open");n.position.end=tI(e.end)}function u(){return eh(this.stack.pop(),"boolean"!=typeof ep.includeImageAlt||ep.includeImageAlt,"boolean"!=typeof ep.includeHtml||ep.includeHtml)}function s(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tI(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tI(e.end)}function d(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function h(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(l)(function(e){for(;!ex(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(eE.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];if(l)for(r in l){eE.call(i,r)||(i[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]);eg(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([i,...(e||{}).extensions||[]]),content:n(eD),defined:[],document:n(eN),flow:n(eU),lazy:{},string:n(eW),text:n(eq)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
1olumn:n&&n.column||1,offset:n&&n.offset||0},i={},l=[],o=[],a=[],u={attempt:h(function(e,t){m(e,t.from)}),check:h(p),consume:function(e){eA(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===o[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},interrupt:h(p,{interrupt:!0})},s={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let l,o=e[r];if("string"==typeof o)l=o;else switch(o){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(o)}n=-2===o,i.push(l)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(o=ev(o,e),function(){let e;for(;r._index<o.length;){let n=o[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!==o[o.length-1])?[]:(m(t,0),s.events=tc(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,i=t.start._bufferIndex,l=t.end._index,o=t.end._bufferIndex;if(r===l)n=[e[r].slice(i,o)];else{if(n=e.slice(r,l),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}o>0&&n.push(e[l].slice(0,o))}return n}(o,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:l}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:l}}function p(e,t){t.restore()}function h(e,t){return function(n,i,l){var o;let c,d,p,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(o=n,function(e){let t=null!==e&&o[e],n=null!==e&&o.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,i=s.events.length,l=Array.from(a);return{from:i,restore:function(){r=e,s.previous=t,s.currentConstruct=n,s.events.length=i,a=l,g()}}}(),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),i}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&&eg(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 i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(l).document().write((a=1,u="",s=!0,function(e,t,n){let r,i,l,c,d,f=[];for(e=u+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),l=0,u="",s&&(65279===e.charCodeAt(0)&&l++,s=void 0);l<e.length;){if(tA.lastIndex=l,c=(r=tA.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){u=e.slice(l);break}if(10===d&&l===c&&o)f.push(-3),o=void 0;else switch(o&&(f.push(-5),o=void 0),l<c&&(f.push(e.slice(l,c)),a+=c-l),d){case 0:f.push(65533),a++;break;case 9:for(i=4*Math.ceil(a/4),f.push(-2);a++<i;)f.push(-1);break;case 10:f.push(-4),a=1;break;default:o=!0,a=1}l=c+1}return n&&(o&&f.push(-5),u&&f.push(u),f.push(null)),f})(n,r,!0))))}}let tN="object"==typeof self?self:globalThis,tj=e=>((e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[l,o]=t[i];switch(l){case 0:case -1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new tN[e](t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new tN[l](o),i)};return r})(new Map,e)(0),{toString:tz}={},{keys:tH}=Object,tB=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tz.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tU=([e,t])=>0===e&&("function"===t||"symbol"===t),tV=(e,{json:t,lossy:n}={})=>{let r=[];return((e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},l=r=>{if(n.has(r))return n.get(r);let[o,a]=tB(r);switch(o){case 0:{let t=r;switch(a){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+a);t=null;break;case"undefined":return i([-1],r)}return i([o,t],r)}case 1:{if(a){let e=r;return"DataView"===a?e=new Uint8Array(r.buffer):"ArrayBuffer"===a&&(e=new Uint8Array(r)),i([a,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(l(t));return t}case 2:{if(a)switch(a){case"BigInt":return i([a,r.toString()],r);case"Boolean":case"Number":case"String":return i([a,r.valueOf()],r)}if(t&&"toJSON"in r)return l(r.toJSON());let n=[],u=i([o,n],r);for(let t of tH(r))(e||!tU(tB(r[t])))&&n.push([l(t),l(r[t])]);return u}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);
1for(let[n,i]of r)(e||!(tU(tB(n))||tU(tB(i))))&&t.push([l(n),l(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!tU(tB(n)))&&t.push(l(n));return n}}let{message:u}=r;return i([o,{name:a,message:u}],r)};return l})(!(t||n),!!t,new Map,r)(e),r},tW="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tj(tV(e,t)):structuredClone(e):(e,t)=>tj(tV(e,t));function tq(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let l=e.charCodeAt(n),o="";if(37===l&&ew(e.charCodeAt(n+1))&&ew(e.charCodeAt(n+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){let t=e.charCodeAt(n+1);l<56320&&t>56319&&t<57344?(o=String.fromCharCode(l,t),i=1):o="�"}else o=String.fromCharCode(l);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function tY(e,t){let n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function tX(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let tK=function(e){var t,n;if(null==e)return t$;if("function"==typeof e)return tG(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=tK(e[n]);return tG(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,tG(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,tG(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function tG(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function t$(){return!0}let tQ=[];function tZ(e,t,n,r){let i,l,o,a;"function"==typeof t&&"function"!=typeof n?(l=void 0,o=t,i=n):(l=t,o=n,i=r);var u=l,s=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},c=i;"function"==typeof u&&"function"!=typeof s?(c=s,s=u):a=u;let d=tK(a),f=c?-1:1;(function e(t,n,r){let i=t&&"object"==typeof t?t:{};if("string"==typeof i.type){let e="string"==typeof i.tagName?i.tagName:"string"==typeof i.name?i.name:void 0;Object.defineProperty(l,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return l;function l(){var i;let l,o,a,p=tQ;if((!u||d(t,n,r[r.length-1]||void 0))&&!1===(p=Array.isArray(i=s(t,r))?i:"number"==typeof i?[!0,i]:null==i?tQ:[i])[0])return p;if("children"in t&&t.children&&t.children&&"skip"!==p[0])for(o=(c?t.children.length:-1)+f,a=r.concat(t);o>-1&&o<t.children.length;){if(!1===(l=e(t.children[o],o,a)())[0])return l;o="number"==typeof l[1]?l[1]:o+f}return p}})(e,void 0,[])()}function tJ(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 i=e.all(t),l=i[0];l&&"text"===l.type?l.value="["+l.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function t0(e){let t=e.spread;return null==t?e.children.length>1:t}function t1(e,t,n){let r=0,i=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(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let t2={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={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let l={type:"element",tagName:"code",properties:r,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)}
1,footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),l=tq(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),a=e.footnoteCounts.get(i);void 0===a?(a=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,a+=1,e.footnoteCounts.set(i,a);let u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+l,id:r+"fnref-"+l+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,u);let s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tJ(e,t);let i={src:tq(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,l),e.applyData(t,l)},image:function(e,t){let n={src:tq(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=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tJ(e,t);let i={href:tq(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let l={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)},link:function(e,t){let n={href:tq(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),i=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=t0(n[r])}return t}(n):t0(t),l={},o=[];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];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let u=r[r.length-1];u&&(i||"element"!==u.type||"p"!==u.tagName)&&o.push({type:"text",value:"\n"});let s={type:"element",tagName:"li",properties:l,children:o};return e.patch(t,s),e.applyData(t,s)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];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(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=q(t.children[1]),o=W(t.children[t.children.length-1]);l&&o&&(r.position={start:l,end:o}),i.push(r)}let l={type:"element",tagName:"table",properties:{}
1,children:e.wrap(i,!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,i=0===(r?r.indexOf(t):1)?"th":"td",l=n&&"table"===n.type?n.align:void 0,o=l?l.length:t.children.length,a=-1,u=[];for(;++a<o;){let n=t.children[a],r={},o=l?l[a]:void 0;o&&(r.align=o);let s={type:"element",tagName:i,properties:r,children:[]};n&&(s.children=e.all(n),e.patch(n,s),s=e.applyData(n,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),i=0,l=[];for(;r;)l.push(t1(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return l.push(t1(t.slice(i),i>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:t4,yaml:t4,definition:t4,footnoteDefinition:t4};function t4(){}let t5={}.hasOwnProperty,t3={};function t8(e,t){e.position&&(t.position=function(e){let t=q(e),n=W(e);if(t&&n)return{start:t,end:n}}(e))}function t6(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,tW(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function t9(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 t7(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ne(e,t){let n=function(e,t){let n=t||t3,r=new Map,i=new Map,l={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=l.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=t7(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=t7(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:t6,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...t2,...n.handlers},one:function(e,t){let n=e.type,r=l.handlers[n];if(t5.call(l.handlers,n)&&r)return r(l,e,t);if(l.options.passThrough&&l.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=tW(n);return r.children=l.all(e),r}return tW(e)}return(l.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(t5.call(n,"hProperties")||t5.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(l,e,t)},options:n,patch:t8,wrap:t9};return tZ(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),l}(e,t),r=n.one(e,void 0),i=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tY,r=e.options.footnoteBackLabel||tX,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],u=-1;for(;++u<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[u]);if(!i)continue;let l=e.all(i),o=String(i.identifier).toUpperCase(),s=tq(o.toLowerCase()),c=0,d=[],f=e.footnoteCounts.get(o);for(;void 0!==f&&++c<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=l[l.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else l.push(...d);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+s},children:e.wrap(l,!0)};e.patch(i,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...tW(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
1,{type:"text",value:"\n"}]}}(n),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&l.children.push({type:"text",value:"\n"},i),l}function nt(e,t){return e&&"run"in e?async function(n,r){let i=ne(n,{file:r,...t});await e.run(i,r)}:function(n,r){return ne(n,{file:r,...e||t})}}function nn(e){if(e)throw e}var nr=n(70011);function ni(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let nl={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');no(e);let r=0,i=-1,l=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,a=t.length-1;for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1),a>-1&&(e.codePointAt(l)===t.codePointAt(a--)?a<0&&(i=l):(a=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(no(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;no(e);let n=e.length,r=-1,i=0,l=-1,o=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?l<0?l=n:1!==o&&(o=1):l>-1&&(o=-1)}return l<0||r<0||0===o||1===o&&l===r-1&&l===i+1?"":e.slice(l,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)no(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){no(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",l=0,o=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.codePointAt(u);else if(47===n)break;else n=47;if(47===n){if(o===u-1||1===a);else if(o!==u-1&&2===a){if(i.length<2||2!==l||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",l=0):l=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=u,a=0;continue}}else if(i.length>0){i="",l=0,o=u,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",l=2)}else i.length>0?i+="/"+e.slice(o+1,u):i=e.slice(o+1,u),l=u-o-1;o=u,a=0}else 46===n&&a>-1?a++:a=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function no(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let na={cwd:function(){return"/"}};function nu(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let ns=["history","path","basename","stem","extname","dirname"];class nc{constructor(e){let t,n;t=e?nu(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":na.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ns.length;){let e=ns[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)ns.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?nl.basename(this.path):void 0}set basename(e){nf(e,"basename"),nd(e,"basename"),this.path=nl.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nl.dirname(this.path):void 0}set dirname(e){np(this.basename,"dirname"),this.path=nl.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?nl.extname(this.path):void 0}set extname(e){if(nd(e,"extname"),np(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=nl.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){nu(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!nu(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),nf(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?nl.basename(this.path,this.extname):void 0}set stem(e){nf(e,"stem"),nd(e,"stem"),this.path=nl.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new Q(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}
1function nd(e,t){if(e&&e.includes(nl.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+nl.sep+"`")}function nf(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function np(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let nh=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},nm={}.hasOwnProperty;class ng extends nh{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(l,...o){let a=e[++n],u=-1;if(l)return void r(l);for(;++u<t.length;)(null===o[u]||void 0===o[u])&&(o[u]=t[u]);t=o,a?(function(e,t){let n;return function(...t){let l,o=e.length>t.length;o&&t.push(r);try{l=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(l&&l.then&&"function"==typeof l.then?l.then(i,r):l instanceof Error?r(l):i(l))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(a,i)(...o):r(null,...o)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new ng,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(nr(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(nx("data",this.frozen),this.namespace[e]=t,this):nm.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nx("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=nw(e),n=this.parser||this.Parser;return ny("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),ny("process",this.parser||this.Parser),nb("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let l=nw(e),o=n.parse(l);function a(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(o,l,function(e,t,r){var i,l;if(e||!t||!r)return a(e);let o=n.stringify(t,r);"string"==typeof(i=o)||(l=i)&&"object"==typeof l&&"byteLength"in l&&"byteOffset"in l?r.value=o:r.result=o,a(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),ny("processSync",this.parser||this.Parser),nb("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,nn(e),t=r}),nk("processSync","process",n),t}run(e,t,n){nE(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,l){let o=nw(t);r.run(e,o,function(t,r,o){let a=r||e;t?l(t):i?i(a):n(void 0,a,o)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){nn(e),n=t,r=!0}),nk("runSync","run",r),n}stringify(e,t){this.freeze();let n=nw(t),r=this.compiler||this.Compiler;return nb("stringify",r),nE(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(nx("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?l(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(r.settings=nr(!0,r.settings,e.settings))}function l(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)o(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;o(e,t)}else i(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...l]=t,o=n[i][1];ni(o)&&ni(r)&&(r=nr(!0,o,r)),n[i]=[e,r,...l]}}}}let nv=new ng().freeze();function ny(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nb(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nx(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 nE(e){if(!ni(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nk(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function nw(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new nc(e)}let nC=[],nS={allowDangerousHtml:!0},nP=/^(https?|ircs?|mailto|xmpp)$/i,nT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nM(e){let t=function(e){let t=e.rehypePlugins||nC,n=e.remarkPlugins||nC,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...nS}:nS;return nv().use(tD).use(n).use(nt,r).use(t)}(e),n=function(e){let t=e.children||"",n=new nc;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,l=t.disallowedElements,o=t.skipHtml,a=t.unwrapDisallowed,u=t.urlTransform||nA;for(let e of nT)Object.hasOwn(t,e.from)&&(e.from,e.to&&e.to,e.id);return tZ(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return o?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ed)if(Object.hasOwn(ed,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=ed[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=u(String(n||""),t,e))}}if("element"===e.type){let o=n?!n.includes(e.tagName):!!l&&l.includes(e.tagName);if(!o&&r&&"number"==typeof t&&(o=!r(e,t,i)),o&&i&&"number"==typeof t)return a&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,l;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let a=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=a,r=t.jsxDEV,o=function(e,t,i,l){let o=Array.isArray(i.children),a=q(e);return r(t,i,l,o,{columnNumber:a?a.column-1:void 0,fileName:n,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,l=t.jsxs,o=function(e,t,n,r){let o=Array.isArray(n.children)?l:i;return r?o(t,n,r):o(t,n)}}let u={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?D:R,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},s=ei(u,e,void 0);return s&&"string"!=typeof s?s:u.create(e,u.Fragment,{children:s||void 0},void 0)}(e,{Fragment:ef.Fragment,components:i,ignoreInvalidStyle:!0,jsx:ef.jsx,jsxs:ef.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function nA(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||nP.test(e.slice(0,t))?e:""}},71124:(e,t)=>{"use strict";function n(e){var t;let{config:n,src:r,width:i,quality:l}=e,o=l||(null==(t=n.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return n.path+"?url="+encodeURIComponent(r)+"&w="+i+"&q="+o+(r.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},71729:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),l="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;l?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(56716))},74841:(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 m},defaultHead:function(){return d}});let r=n(28140),i=n(49417),l=n(95155),o=i._(n(12115)),a=r._(n(1262)),u=n(90737),s=n(82073),c=n(60861);function d(e){void 0===e&&(e=!1);let t=[(0,l.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(94781);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:n}=t;return e.reduce(f,[]).reverse().concat(d(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return i=>{let l=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?l=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?l=!1:n.add(t);else{let e=i.props[t],n=r[t]||new Set;("name"!==t||!o)&&n.has(e)?l=!1:(n.add(e),r[t]=n)}}}return l}}()).reverse().map((e,t)=>{let n=e.key||t;return o.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,n=(0,o.useContext)(u.AmpStateContext),r=(0,o.useContext)(s.HeadManagerContext);return(0,l.jsx)(a.default,{reduceComponentsToState:h,headManager:r,inAmpMode:(0,c.isInAmpMode)(n),children:t})};("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)},75040:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),n(94781);let r=n(14105),i=n(20821),l=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u(e,t){var n,u;let s,c,d,{src:f,sizes:p,unoptimized:h=!1,priority:m=!1,loading:g,className:v,quality:y,width:b,height:x,fill:E=!1,style:k,overrideSrc:w,onLoad:C,onLoadingComplete:S,placeholder:P="empty",blurDataURL:T,fetchPriority:M,decoding:A="async",layout:L,objectFit:O,objectPosition:F,lazyBoundary:_,lazyRoot:I,...R}=e,{imgConf:D,showAltText:N,blurComplete:j,defaultLoader:z}=t,H=D||i.imageConfigDefault;if("allSizes"in H)s=H;else{let e=[...H.deviceSizes,...H.imageSizes].sort((e,t)=>
1e-t),t=H.deviceSizes.sort((e,t)=>e-t),r=null==(n=H.qualities)?void 0:n.sort((e,t)=>e-t);s={...H,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===z)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=R.loader||z;delete R.loader,delete R.srcSet;let U="__next_img_default"in B;if(U){if("custom"===s.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:n,...r}=t;return e(r)}}if(L){"fill"===L&&(E=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[L];e&&(k={...k,...e});let t={responsive:"100vw",fill:"100vw"}[L];t&&!p&&(p=t)}let V="",W=a(b),q=a(x);if((u=f)&&"object"==typeof u&&(o(u)||void 0!==u.src)){let e=o(f)?f.default:f;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,T=T||e.blurDataURL,V=e.src,!E)if(W||q){if(W&&!q){let t=W/e.width;q=Math.round(e.height*t)}else if(!W&&q){let t=q/e.height;W=Math.round(e.width*t)}}else W=e.width,q=e.height}let Y=!m&&("lazy"===g||void 0===g);(!(f="string"==typeof f?f:V)||f.startsWith("data:")||f.startsWith("blob:"))&&(h=!0,Y=!1),s.unoptimized&&(h=!0),U&&!s.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(h=!0);let X=a(y),K=Object.assign(E?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:O,objectPosition:F}:{},N?{}:{color:"transparent"},k),G=j||"empty"===P?null:"blur"===P?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:W,heightInt:q,blurWidth:c,blurHeight:d,blurDataURL:T||"",objectFit:K.objectFit})+'")':'url("'+P+'")',$=l.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,Q=G?{backgroundSize:$,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},Z=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:l,sizes:o,loader:a}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:u,kind:s}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=u.length-1;return{sizes:o||"w"!==s?o:"100vw",srcSet:u.map((e,r)=>a({config:t,src:n,quality:l,width:e})+" "+("w"===s?e:r+1)+s).join(", "),src:a({config:t,src:n,quality:l,width:u[c]})}}({config:s,src:f,unoptimized:h,width:W,quality:X,sizes:p,loader:B});return{props:{...R,loading:Y?"lazy":g,fetchPriority:M,width:W,height:q,decoding:A,className:v,style:{...K,...Q},sizes:Z.sizes,srcSet:Z.srcSet,src:w||Z.src},meta:{unoptimized:h,priority:m,placeholder:P,fill:E}}}},79065:(e,t,n)=>{"use strict";n.d(t,{j:()=>l,u:()=>i});var r=n(69159),i=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(i||{});let l=(0,r.FX)(function(e,t){var n;let{features:i=1,...l}=e,o={ref:t,"aria-hidden":(2&i)==2||(null!=(n=l["aria-hidden"])?n:void 0),hidden:(4&i)==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&i)==4&&(2&i)!=2&&{display:"none"}}};return(0,r.Ci)()({ourProps:o,theirProps:l,slot:{},defaultTag:"span",name:"Hidden"})})}
1,79802:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(12115),i=n(45554);let l=(e,t)=>{i._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},79862:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(28140)._(n(12115)).default.createContext(null)},81356:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return x}});let r=n(28140),i=n(49417),l=n(95155),o=i._(n(12115)),a=r._(n(47650)),u=r._(n(74841)),s=n(75040),c=n(20821),d=n(33455);n(94781);let f=n(79862),p=r._(n(71124)),h=n(83011),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1};function g(e,t,n,r,i,l,o){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function v(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:a,width:u,decoding:s,className:c,style:d,fetchPriority:f,placeholder:p,loading:m,unoptimized:y,fill:b,onLoadRef:x,onLoadingCompleteRef:E,setBlurComplete:k,setShowAltText:w,sizesInput:C,onLoad:S,onError:P,...T}=e,M=(0,o.useCallback)(e=>{e&&(P&&(e.src=e.src),e.complete&&g(e,p,x,E,k,y,C))},[n,p,x,E,k,P,y,C]),A=(0,h.useMergedRef)(t,M);return(0,l.jsx)("img",{...T,...v(f),loading:m,width:u,height:a,decoding:s,"data-nimg":b?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:A,onLoad:e=>{g(e.currentTarget,p,x,E,k,y,C)},onError:e=>{w(!0),"empty"!==p&&k(!0),P&&P(e)}})});function b(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...v(n.fetchPriority)};return t&&a.default.preload?(a.default.preload(n.src,r),null):(0,l.jsx)(u.default,{children:(0,l.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let x=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(f.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=m||r||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),l=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:n,deviceSizes:i,qualities:l}},[r]),{onLoad:a,onLoadingComplete:u}=e,h=(0,o.useRef)(a);(0,o.useEffect)(()=>{h.current=a},[a]);let g=(0,o.useRef)(u);(0,o.useEffect)(()=>{g.current=u},[u]);let[v,x]=(0,o.useState)(!1),[E,k]=(0,o.useState)(!1),{props:w,meta:C}=(0,s.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:v,showAltText:E});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y,{...w,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:k,sizesInput:e.sizes,ref:t}),C.priority?(0,l.jsx)(b,{isAppRouter:!n,imgAttributes:w}):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)},84497:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{A:()=>r})},84585:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l});var r=n(12115),i=n(79802);function l(e){let t=(0,r.useRef)(e);return(0,i.s)(()=>{t.current=e},[e]),t}},85986:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(45554);function i(e){var t,n;return r._.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?null!=(n=null==(t=e.current)?void 0:t.ownerDocument)?n:document:null:document}}
1,88499:(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||{})},90737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(28140)._(n(12115)).default.createContext({})},91553:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});var r=n(12115),i=n(15110);function l(){let[e]=(0,r.useState)(i.e);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},93551:(e,t,n)=>{"use strict";n.d(t,{o:()=>R});var r=n(12115);let i="undefined"!=typeof document?r.useLayoutEffect:()=>{};class l{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 o(e){let t=(0,r.useRef)({isFocused:!1,observer:null});i(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){let t=(0,r.useRef)(null);return i(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(t=>{null==e||e(t)});return(0,r.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 l("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 a(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 u(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 s(e){let t=null;return()=>(null==t&&(t=e()),t)}let c=s(function(){return u(/^Mac/i)}),d=s(function(){return u(/^iPhone/i)}),f=s(function(){return u(/^iPad/i)||c()&&navigator.maxTouchPoints>1}),p=s(function(){return d()||f()});s(function(){return c()||p()}),s(function(){return a(/AppleWebKit/i)&&!h()});let h=s(function(){return a(/Chrome/i)}),m=s(function(){return a(/Android/i)});s(function(){return a(/Firefox/i)});var g=n(54309);let v=null,y=new Set,b=new Map,x=!1,E=!1,k={Tab:!0,Escape:!0};function w(e,t){for(let n of y)n(e,t)}function C(e){x=!0,e.metaKey||!c()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(v="keyboard",w("keyboard",e))}
1function S(e){v="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(x=!0,w("pointer",e))}function P(e){(0===e.mozInputSource&&e.isTrusted||(m()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(x=!0,v="virtual")}function T(e){e.target!==window&&e.target!==document&&e.isTrusted&&(x||E||(v="virtual",w("virtual",e)),x=!1,E=!1)}function M(){x=!1,E=!0}function A(e){if("undefined"==typeof window||b.get((0,g.mD)(e)))return;let t=(0,g.mD)(e),n=(0,g.TW)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){x=!0,r.apply(this,arguments)},n.addEventListener("keydown",C,!0),n.addEventListener("keyup",C,!0),n.addEventListener("click",P,!0),t.addEventListener("focus",T,!0),t.addEventListener("blur",M,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",S,!0),n.addEventListener("pointermove",S,!0),n.addEventListener("pointerup",S,!0)):(n.addEventListener("mousedown",S,!0),n.addEventListener("mousemove",S,!0),n.addEventListener("mouseup",S,!0)),t.addEventListener("beforeunload",()=>{L(e)},{once:!0}),b.set(t,{focus:r})}let L=(e,t)=>{let n=(0,g.mD)(e),r=(0,g.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),b.has(n)&&(n.HTMLElement.prototype.focus=b.get(n).focus,r.removeEventListener("keydown",C,!0),r.removeEventListener("keyup",C,!0),r.removeEventListener("click",P,!0),n.removeEventListener("focus",T,!0),n.removeEventListener("blur",M,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",S,!0),r.removeEventListener("pointermove",S,!0),r.removeEventListener("pointerup",S,!0)):(r.removeEventListener("mousedown",S,!0),r.removeEventListener("mousemove",S,!0),r.removeEventListener("mouseup",S,!0)),b.delete(n))};function O(){return"pointer"!==v}"undefined"!=typeof document&&function(e){let t,n=(0,g.TW)(void 0);"loading"!==n.readyState?A(void 0):(t=()=>{A(e)},n.addEventListener("DOMContentLoaded",t)),()=>L(e,t)}();let F=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var _=n(48958),I=n(5325);function R(e={}){var t;let{autoFocus:n=!1,isTextInput:i,within:a}=e,u=(0,r.useRef)({isFocused:!1,isFocusVisible:n||O()}),[s,c]=(0,r.useState)(!1),[d,f]=(0,r.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),p=(0,r.useCallback)(()=>f(u.current.isFocused&&u.current.isFocusVisible),[]),h=(0,r.useCallback)(e=>{u.current.isFocused=e,c(e),p()},[p]);t={isTextInput:i},A(),(0,r.useEffect)(()=>{let e=(e,n)=>{(function(e,t,n){let r=(0,g.TW)(null==n?void 0:n.target),i="undefined"!=typeof window?(0,g.mD)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,l="undefined"!=typeof window?(0,g.mD)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,o="undefined"!=typeof window?(0,g.mD)(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?(0,g.mD)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||r.activeElement instanceof i&&!F.has(r.activeElement.type)||r.activeElement instanceof l||r.activeElement instanceof o&&r.activeElement.isContentEditable)&&"keyboard"===t&&n instanceof a&&!k[n.key])})(!!(null==t?void 0:t.isTextInput),e,n)&&(e=>{u.current.isFocusVisible=e,p()})(O())};return y.add(e),()=>{y.delete(e)}},[]);let{focusProps:m}=function(e){let{isDisabled:t,onFocus:n,onBlur:i,onFocusChange:l}=e,a=(0,r.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),l&&l(!1),!0},[i,l]),u=o(a),s=(0,r.useCallback)(e=>{let t=(0,g.TW)(e.target),r=t?(0,_.bq)(t):(0,_.bq)();e.target===e.currentTarget&&r===(0,_.wt)(e.nativeEvent)&&(n&&n(e),l&&l(!0),u(e))},[l,n,u]);return{focusProps:{onFocus:!t&&(n||l||i)?s:void 0,onBlur:!t&&(i||l)?a:void 0}}}({isDisabled:a,onFocusChange:h}),{focusWithinProps:v}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:i,onFocusWithinChange:a}=e,u=(0,r.useRef)({isFocusWithin:!1}),{addGlobalListener:s,removeAllGlobalListeners:c}=(0,I.A)(),d=(0,r.useCallback)(e=>{e.currentTarget.contains(e.target)&&u.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(u.current.isFocusWithin=!1,c(),n&&n(e),a&&a(!1))},[n,a,u,c]),f=o(d),p=(0,r.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=(0,g.TW)(e.target),n=(0,_.bq)(t);if(!u.current.isFocusWithin&&n===(0,_.wt)(e.nativeEvent)){i&&i(e),a&&a(!0),u.current.isFocusWithin=!0,f(e);let n=e.currentTarget;s(t,"focus",e=>{if(u.current.isFocusWithin&&!(0,_.sD)(n,e.target)){let r=new l("blur",new t.defaultView.FocusEvent("blur",{relatedTarget:e.target}));r.target=n,r.currentTarget=n,d(r)}},{capture:!0})}},[i,a,f,s,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}
1:{focusWithinProps:{onFocus:p,onBlur:d}}}({isDisabled:!a,onFocusWithinChange:h});return{isFocused:s,isFocusVisible:d,focusProps:a?v:m}}},99795:(e,t,n)=>{"use strict";n.d(t,{BD:()=>a,Bm:()=>d,CU:()=>m,MZ:()=>c,Me:()=>u,Uo:()=>l,pW:()=>p,wl:()=>h});var r=n(20536),i=n(85986);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(","),o=["[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||{}),c=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(c||{});function d(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,i.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 f=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(f||{});function p(e){null==e||e.focus({preventScroll:!0})}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let l=r.compareDocumentPosition(i);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function m(e,t){var n,r,i;let{sorted:a=!0,relativeTo:u=null,skipElements:s=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,d=Array.isArray(e)?a?h(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(o)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):function(){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)))}(e);s.length>0&&d.length>1&&(d=d.filter(e=>!s.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),u=null!=u?u:c.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(u))-1;if(4&t)return Math.max(0,d.indexOf(u))+1;if(8&t)return d.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=32&t?{preventScroll:!0}:{},g=0,v=d.length,y;do{if(g>=v||g+v<=0)return 0;let e=p+g;if(16&t)e=(e+v)%v;else{if(e<0)return 3;if(e>=v)return 1}null==(y=d[e])||y.focus(m),g+=f}while(y!==c.activeElement);return 6&t&&null!=(i=null==(r=null==(n=y)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&i&&y.select(),2}"undefined"!=typeof window&&"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))},99900:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(12115);function i(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])}}}]);
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.