PageSourceSearch

https://bitrouter.ai/_next/static/chunks/15.jjuj6p2muq.js

js bitrouter.ai collected 2026-10-05 11:51:04 UTC 82,553 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,641645,356383,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t,n){return i(e,r(t,n))}function c(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function d(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function m(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function p(e){return d(m(e))}function g(e,t,n){void 0===n&&(n=!1);let r=f(e),i=p(e),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=S(l)),[l,S(l)]}function x(e){let t=S(e);return[y(e),t,y(t)]}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],b=["right","left"],w=["top","bottom"],k=["bottom","top"];function C(e,t,n,r){let i=f(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:v;return t?v:b;case"left":case"right":return t?w:k;default:return[]}}(u(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(y)))),o}function S(e){let t=u(e);return a[t]+e.slice(t.length)}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function L(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function T(e,t,n){let r,{reference:i,floating:o}=e,l=m(t),a=p(t),s=h(a),c=u(t),d="y"===l,g=i.x+i.width/2-o.width/2,x=i.y+i.height/2-o.height/2,y=i[s]/2-o[s]/2;switch(c){case"top":r={x:g,y:i.y-o.height};break;case"bottom":r={x:g,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:x};break;case"left":r={x:i.x-o.width,y:x};break;default:r={x:i.x,y:i.y}}switch(f(t)){case"start":r[a]-=y*(n&&d?-1:1);break;case"end":r[a]+=y*(n&&d?-1:1)}return r}async function A(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=c(t,e),p=E(m),g=a[h?"floating"===d?"reference":"floating":d],x=L(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:s})),y="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},w=L(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:s}):y);return{top:(x.top-w.top+p.top)/b.y,bottom:(w.bottom-x.bottom+p.bottom)/b.y,left:(x.left-w.left+p.left)/b.x,right:(w.right-x.right+p.right)/b.x}}e.s(["clamp",0,s,"createCoords",0,e=>({x:e,y:e}),"evaluate",0,c,"floor",0,l,"getAlignment",0,f,"getAlignmentAxis",0,p,"getAlignmentSides",0,g,"getAxisLength",0,h,"getExpandedPlacements",0,x,"getOppositeAlignmentPlacement",0,y,"getOppositeAxis",0,d,"getOppositeAxisPlacements",0,C,"getOppositePlacement",0,S,"getPaddingObject",0,E,"getSide",0,u,"getSideAxis",0,m,"max",0,i,"min",0,r,"placements",0,n,"rectToClientRect",0,L,"round",0,o,"sides",0,t],641645);let R=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:A},s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=T(c,r,s),d=r,h=0,m={};for(let n=0;n<o.length;n++){let p=o[n];if(!p)continue;let{name:g,fn:x}=p,{x:y,y:v,data:b,reset:w}=await x({x:u,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,f=null!=v?v:f,m[g]={...m[g],...b}
1,w&&h<50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:u,y:f}=T(c,d,s)),n=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:m}};function j(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function D(e){return t.some(t=>e[t]>=0)}function O(e){let t=r(...e.map(e=>e.left)),n=r(...e.map(e=>e.top));return{x:t,y:n,width:i(...e.map(e=>e.right))-t,height:i(...e.map(e=>e.bottom))-n}}let F=new Set(["left","top"]);async function M(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=u(n),a=f(n),s="y"===m(n),d=F.has(l)?-1:1,h=o&&s?-1:1,p=c(t,e),{mainAxis:g,crossAxis:x,alignmentAxis:y}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof y&&(x="end"===a?-1*y:y),s?{x:x*h,y:g*d}:{x:g*d,y:x*h}}e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:o,rects:l,platform:a,elements:u,middlewareData:d}=t,{element:m,padding:g=0}=c(e,t)||{};if(null==m)return{};let x=E(g),y={x:n,y:i},v=p(o),b=h(v),w=await a.getDimensions(m),k="y"===v,C=k?"clientHeight":"clientWidth",S=l.reference[b]+l.reference[v]-y[v]-l.floating[b],L=y[v]-l.reference[v],T=await (null==a.getOffsetParent?void 0:a.getOffsetParent(m)),A=T?T[C]:0;A&&await (null==a.isElement?void 0:a.isElement(T))||(A=u.floating[C]||l.floating[b]);let R=A/2-w[b]/2-1,j=r(x[k?"top":"left"],R),D=r(x[k?"bottom":"right"],R),O
1=A-w[b]-D,F=A/2-w[b]/2+(S/2-L/2),M=s(j,F,O),N=!d.arrow&&null!=f(o)&&F!==M&&l.reference[b]/2-(F<j?j:D)-w[b]/2<0,P=N?F<j?F-j:F-O:0;return{[v]:y[v]+P,data:{[v]:M,centerOffset:F-M-P,...N&&{alignmentOffset:P}},reset:N}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,i,o,l;let{rects:a,middlewareData:s,placement:d,platform:h,elements:m}=t,{crossAxis:p=!1,alignment:x,allowedPlacements:v=n,autoAlignment:b=!0,...w}=c(e,t),k=void 0!==x||v===n?((l=x||null)?[...v.filter(e=>f(e)===l),...v.filter(e=>f(e)!==l)]:v.filter(e=>u(e)===e)).filter(e=>!l||f(e)===l||!!b&&y(e)!==e):v,C=await h.detectOverflow(t,w),S=(null==(r=s.autoPlacement)?void 0:r.index)||0,E=k[S];if(null==E)return{};let L=g(E,a,await (null==h.isRTL?void 0:h.isRTL(m.floating)));if(d!==E)return{reset:{placement:k[0]}};let T=[C[u(E)],C[L[0]],C[L[1]]],A=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:E,overflows:T}],R=k[S+1];if(R)return{data:{index:S+1,overflows:A},reset:{placement:R}};let j=A.map(e=>{let t=f(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),D=(null==(o=j.filter(e=>e[2].slice(0,f(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||j[0][0];return D!==d?{data:{index:S+1,overflows:A},reset:{placement:D}}:{}}}},"computePosition",0,R,"detectOverflow",0,A,"flip",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:a,middlewareData:s,rects:f,initialPlacement:d,platform:h,elements:p}=t,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:b,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:E=!0,...L}=c(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let T=u(a),A=m(d),R=u(d)===d,j=await (null==h.isRTL?void 0:h.isRTL(p.floating)),D=b||(R||!E?[S(d)]:x(d)),O="none"!==k;!b&&O&&D.push(...C(d,E,k,j));let F=[d,...D],M=await h.detectOverflow(t,L),N=[],P=(null==(r=s.flip)?void 0:r.overflows)||[];if(y&&N.push(M[T]),v){let e=g(a,f,j);N.push(M[e[0]],M[e[1]])}if(P=[...P,{placement:a,overflows:N}],!N.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=F[e];if(t&&("alignment"!==v||A===m(t)||P.every(e=>m(e.placement)!==A||e.overflows[0]>0)))return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(o=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(w){case"bestFit":{let e=null==(l=P.filter(e=>{if(O){let t=m(e.placement);return t===A||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=d}if(a!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=c(e,t);switch(i){case"referenceHidden":{let e=j(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:D(e)}}}case"escaped":{let e=j(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:D(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:l,platform:a,strategy:s}=t,{padding:f=2,x:d,y:h}=c(e,t),p=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(o.reference))||[]),g=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>L(O(e)))}(p),x=L(O(p)),y=E(f),v=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=d&&null!=h)return g.find(e=>d>e.left-y.left&&d<e.right+y.right&&h>e.top-y.top&&h<e.bottom+y.bottom)||x;if(g.length>=2){if("y"===m(n)){let e=g[0],t=g[g.length-1],r="top"===u(n),i=e.top,o=t.bottom,l=r?e.left:t.left,a=r?e.right:t.right;return{top:i,bottom:o,left:l,right:a,width:a-l,height:o-i,x:l,y:i}}
1let e="left"===u(n),t=i(...g.map(e=>e.right)),o=r(...g.map(e=>e.left)),l=g.filter(n=>e?n.left===o:n.right===t),a=l[0].top,s=l[l.length-1].bottom;return{top:a,bottom:s,left:o,right:t,width:t-o,height:s-a,x:o,y:a}}return x}},floating:o.floating,strategy:s});return l.reference.x!==v.reference.x||l.reference.y!==v.reference.y||l.reference.width!==v.reference.width||l.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},"limitShift",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:f=!0}=c(e,t),h={x:n,y:r},p=m(i),g=d(p),x=h[g],y=h[p],v=c(a,t),b="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===g?"height":"width",t=o.reference[g]-o.floating[e]+b.mainAxis,n=o.reference[g]+o.reference[e]-b.mainAxis;x<t?x=t:x>n&&(x=n)}if(f){var w,k;let e="y"===g?"width":"height",t=F.has(u(i)),n=o.reference[p]-o.floating[e]+(t&&(null==(w=l.offset)?void 0:w[p])||0)+(t?0:b.crossAxis),r=o.reference[p]+o.reference[e]+(t?0:(null==(k=l.offset)?void 0:k[p])||0)-(t?b.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[g]:x,[p]:y}}}},"offset",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,s=await M(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}},"shift",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:o}=t,{mainAxis:l=!0,crossAxis:a=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...h}=c(e,t),p={x:n,y:r},g=await o.detectOverflow(t,h),x=m(u(i)),y=d(x),v=p[y],b=p[x];if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=v+g[e],r=v-g[t];v=s(n,v,r)}if(a){let e="y"===x?"top":"left",t="y"===x?"bottom":"right",n=b+g[e],r=b-g[t];b=s(n,b,r)}let w=f.fn({...t,[y]:v,[x]:b});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[y]:l,[x]:a}}}}}},"size",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let l,a,{placement:s,rects:d,platform:h,elements:p}=t,{apply:g=()=>{},...x}=c(e,t),y=await h.detectOverflow(t,x),v=u(s),b=f(s),w="y"===m(s),{width:k,height:C}=d.floating;"top"===v||"bottom"===v?(l=v,a=b===(await (null==h.isRTL?void 0:h.isRTL(p.floating))?"start":"end")?"left":"right"):(a=v,l="end"===b?"top":"bottom");let S=C-y.top-y.bottom,E=k-y.left-y.right,L=r(C-y[l],S),T=r(k-y[a],E),A=!t.middlewareData.shift,R=L,j=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(j=E),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(R=S),A&&!b){let e=i(y.left,0),t=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);w?j=k-2*(0!==e||0!==t?e+t:i(y.left,y.right)):R=C-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await g({...t,availableWidth:j,availableHeight:R});let D=await h.getDimensions(p.floating);return k!==D.width||C!==D.height?{reset:{rects:!0}}:{}}}}],356383)},92615,e=>{"use strict";let t;function n(){return"u">typeof window}function r(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return!!n()&&(e instanceof Node||e instanceof i(e).Node)}function a(e){return!!n()&&(e instanceof Element||e instanceof i(e).Element)}function s(e){return!!n()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function c(e){return!(!n()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function u(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function f(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let d=/transform|translate|scale|rotate|perspective|filter/,h=/paint|layout|strict|content/,m=e=>!!e&&"none"!==e;function p(e){let t=a(e)?y(e):e;return m(t.transform)||m(t.translate)||m(t.scale)||m(t.rotate)||m(t.perspective)||!g()&&
1(m(t.backdropFilter)||m(t.filter))||d.test(t.willChange||"")||h.test(t.contain||"")}function g(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function x(e){return/^(html|body|#document)$/.test(r(e))}function y(e){return i(e).getComputedStyle(e)}function v(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||o(e);return c(t)?t.host:t}function b(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["getComputedStyle",0,y,"getContainingBlock",0,function(e){let t=v(e);for(;s(t)&&!x(t);){if(p(t))return t;if(f(t))break;t=v(t)}return null},"getDocumentElement",0,o,"getFrameElement",0,b,"getNodeName",0,r,"getNodeScroll",0,function(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},"getOverflowAncestors",0,function e(t,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function e(t){let n=v(t);return x(n)?t.ownerDocument?t.ownerDocument.body:t.body:s(n)&&u(n)?n:e(n)}(t),a=l===(null==(o=t.ownerDocument)?void 0:o.body),c=i(l);if(!a)return n.concat(l,e(l,[],r));{let t=b(c);return n.concat(c,c.visualViewport||[],u(l)?l:[],t&&r?e(t):[])}},"getParentNode",0,v,"getWindow",0,i,"isContainingBlock",0,p,"isElement",0,a,"isHTMLElement",0,s,"isLastTraversableNode",0,x,"isNode",0,l,"isOverflowElement",0,u,"isShadowRoot",0,c,"isTableElement",0,function(e){return/^(table|td|th)$/.test(r(e))},"isTopLayer",0,f,"isWebKit",0,g])},579510,278928,e=>{"use strict";var t=e.i(641645),n=e.i(356383),r=e.i(92615);function i(e){let n=(0,r.getComputedStyle)(e),i=parseFloat(n.width)||0,o=parseFloat(n.height)||0,l=(0,r.isHTMLElement)(e),a=l?e.offsetWidth:i,s=l?e.offsetHeight:o,c=(0,t.round)(i)!==a||(0,t.round)(o)!==s;return c&&(i=a,o=s),{width:i,height:o,$:c}}function o(e){return(0,r.isElement)(e)?e:e.contextElement}function l(e){let n=o(e);if(!(0,r.isHTMLElement)(n))return(0,t.createCoords)(1);let l=n.getBoundingClientRect(),{width:a,height:s,$:c}=i(n),u=(c?(0,t.round)(l.width):l.width)/a,f=(c?(0,t.round)(l.height):l.height)/s;return u&&Number.isFinite(u)||(u=1),f&&Number.isFinite(f)||(f=1),{x:u,y:f}}let a=(0,t.createCoords)(0);function s(e){let t=(0,r.getWindow)(e);return(0,r.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:a}function c(e,n,i,a){var c;void 0===n&&(n=!1),void 0===i&&(i=!1);let u=e.getBoundingClientRect(),f=o(e),d=(0,t.createCoords)(1);n&&(a?(0,r.isElement)(a)&&(d=l(a)):d=l(e));let h=(void 0===(c=i)&&(c=!1),a&&(!c||a===(0,r.getWindow)(f))&&c)?s(f):(0,t.createCoords)(0),m=(u.left+h.x)/d.x,p=(u.top+h.y)/d.y,g=u.width/d.x,x=u.height/d.y;if(f){let e=(0,r.getWindow)(f),t=a&&(0,r.isElement)(a)?(0,r.getWindow)(a):a,n=e,i=(0,r.getFrameElement)(n);for(;i&&a&&t!==n;){let e=l(i),t=i.getBoundingClientRect(),o=(0,r.getComputedStyle)(i),a=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;m*=e.x,p*=e.y,g*=e.x,x*=e.y,m+=a,p+=s,n=(0,r.getWindow)(i),i=(0,r.getFrameElement)(n)}}return(0,t.rectToClientRect)({width:g,height:x,x:m,y:p})}function u(e,t){let n=(0,r.getNodeScroll)(e).scrollLeft;return t?t.left+n:c((0,r.getDocumentElement)(e)).left+n}function f(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-u(e,n),y:n.top+t.scrollTop}}function d(e,n,i){var o;let a;if("viewport"===n)a=function(e,t){let n=(0,r.getWindow)(e),i=(0,r.getDocumentElement)(e),o=n.visualViewport,l=i.clientWidth,a=i.clientHeight,s=0,c=0;if(o){l=o.width,a=o.height;let e=(0,r.isWebKit)();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}let f=u(i);if(f<=0){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r);o<=25&&(l-=o)}else f<=25&&(l+=f);return{width:l,height:a,x:s,y:c}}(e,i);else if("document"===n){let n,i,l,s,c,f,d;o=(0,r.getDocumentElement)(e),n=(0,r.getDocumentElement)(o),i=(0,r.getNodeScroll)(o),l=o.ownerDocument.body,s=(0,t.max)(n.scrollWidth,n.clientWidth,l.scrollWidth,l.clientWidth),c=(0,t.max)(n.scrollHeight,n.clientHeight,l.scrollHeight,l.clientHeight),f=-i.scrollLeft+u(o),d=-i.scrollTop,"rtl"===(0,r.getComputedStyle)(l).direction&&(f+=(0,t.max)(n.clientWidth,l.clientWidth)-s),a={width:s,height:c,x:f,y:d}}else if((0,r.isElement)(n)){let e,o,s,u,f,d;o=(e=c(n,!0,"fixed"===i)).top+n.clientTop,s=e.left+n.clientLeft,u=(0,r.isHTMLElement)(n)?l(n):(0,t.createCoords)(1),f=n.clientWidth*u.x,d=n.clientHeight*u.y,a={width:f,height:d,x:s*u.x,y:o*u.y}}else{let t=s(e);a={x:n.x-t.x,y:n.y-t.y,width:n.width,height:n.height}}return(0,t.rectToClientRect)(a)}function h(e){return"static"===(0,r.getComputedStyle)(e).position}function m(e,t){if(!(0,r.isHTMLElement)(e)||"fixed"===(0,r.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,r.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function p(e,t){let n=(0,r.getWindow)(e);if((0,r.isTopLayer)(e))return n;if(!(0,r.isHTMLElement)(e)){let t=(0,r.getParentNode)(e);for(;t&&!(0,r.isLastTraversableNode)(t);){if((0,r.isElement)(t)&&!h(t))return t;t=(0,r.getParentNode)(t)}return n}let i=m(e,t);for(;i&&(0,r.isTableElement)(i)&&h(i);)i=m(i,t);return i&&(0,r.isLastTraversableNode)(i)&&h(i)&&!(0,r.isContainingBlock)(i)?n:i||(0,r.getContainingBlock)(e)||n}let g=async function(e){let n=this.getOffsetParent||p,i=this.getDimensions,o=await i(e.floating);return{reference:function(e,n,i){let o=(0,r.isHTMLElement)(n),l=(0,r.getDocumentElement)(n),a="fixed"===i,s=c(e,!0,a,n),d={scrollLeft:0,scrollTop:0},h=(0,t.createCoords)(0);if(o||!o&&!a)if(("body"!==(0,r.getNodeName)(n)||(0,r.isOverflowElement)(l))&&(d=(0,r.getNodeScroll)(n)),o){let e=c(n,!0,a,n);h.x=e.x+n.clientLeft,h.y=e.y+n.clientTop}else l&&(h.x=u(l));a&&!o&&l&&(h.x=u(l));let m=!l||o||a?(0,t.createCoords)(0):f(l,d);return{x:s.left+d.scrollLeft-h.x-m.x,y:s.top+d.scrollTop-h.y-m.y,width:s.width,height:s.height}}(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},x={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:n,rect:i,offsetParent:o,strategy:a}=e,s="fixed"===a,u=(0,r.getDocumentElement)(o),d=!!n&&(0,r.isTopLayer)(n.floating);if(o===u||d&&s)return i;let h={scrollLeft:0,scrollTop:0},m=(0,t.createCoords)(1),p=(0,t.createCoords)(0),g=(0,r.isHTMLElement)(o);if((g||!g&&!s)&&(("body"!==(0,r.getNodeName)(o)||(0,r.isOverflowElement)(u))&&(h=(0,r.getNodeScroll)(o)),g)){let e=c(o);m=l(o),p.x=e.x+o.clientLeft,p.y=e.y+o.clientTop}let x=!u||g||s?(0,t.createCoords)(0):f(u,h);return{width:i.width*m.x,height:i.height*m.y,x:i.x*m.x-h.scrollLeft*m.x+p.x+x.x,y:i.y*m.y-h.scrollTop*m.y+p.y+x.y}},getDocumentElement:r.getDocumentElement,getClippingRect:function(e){let{element:n,boundary:i,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===i?(0,r.isTopLayer)(n)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=(0,r.getOverflowAncestors)(e,[],!1).filter(e=>(0,r.isElement)(e)&&"body"!==(0,r.getNodeName)(e)),o=null,l="fixed"===(0,r.getComputedStyle)(e).position,a=l?(0,r.getParentNode)(e):e;for(;(0,r.isElement)(a)&&!(0,r.isLastTraversableNode)(a);){let t=(0,r.getComputedStyle)(a),n=(0,r.isContainingBlock)(a);n||"fixed"!==t.position||(o=null),(l?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||(0,r.isOverflowElement)(a)&&!n&&function e(t,n){let i=(0,r.getParentNode)(t);return!(i===n||!(0,r.isElement)(i)||(0,r.isLastTraversableNode)(i))&&("fixed"===(0,r.getComputedStyle)(i).position||e(i,n))}
1(e,a)))?o=t:i=i.filter(e=>e!==a),a=(0,r.getParentNode)(a)}return t.set(e,i),i}(n,this._c):[].concat(i),o],s=d(n,a[0],l),c=s.top,u=s.right,f=s.bottom,h=s.left;for(let e=1;e<a.length;e++){let r=d(n,a[e],l);c=(0,t.max)(r.top,c),u=(0,t.min)(r.right,u),f=(0,t.min)(r.bottom,f),h=(0,t.max)(r.left,h)}return{width:u-h,height:f-c,x:h,y:c}},getOffsetParent:p,getElementRects:g,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=i(e);return{width:t,height:n}},getScale:l,isElement:r.isElement,isRTL:function(e){return"rtl"===(0,r.getComputedStyle)(e).direction}};function y(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}n.detectOverflow;let v=n.offset,b=n.autoPlacement,w=n.shift,k=n.flip,C=n.size,S=n.hide,E=n.arrow,L=n.inline,T=n.limitShift,A=(e,t,r)=>{let i=new Map,o={platform:x,...r},l={...o.platform,_c:i};return(0,n.computePosition)(e,t,{...o,platform:l})};e.s(["arrow",0,E,"autoPlacement",0,b,"autoUpdate",0,function(e,n,i,l){let a;void 0===l&&(l={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:h=!1}=l,m=o(e),p=s||u?[...m?(0,r.getOverflowAncestors)(m):[],...n?(0,r.getOverflowAncestors)(n):[]]:[];p.forEach(e=>{s&&e.addEventListener("scroll",i,{passive:!0}),u&&e.addEventListener("resize",i)});let g=m&&d?function(e,n){let i,o=null,l=(0,r.getDocumentElement)(e);function a(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}return!function r(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),a();let u=e.getBoundingClientRect(),{left:f,top:d,width:h,height:m}=u;if(s||n(),!h||!m)return;let p={rootMargin:-(0,t.floor)(d)+"px "+-(0,t.floor)(l.clientWidth-(f+h))+"px "+-(0,t.floor)(l.clientHeight-(d+m))+"px "+-(0,t.floor)(f)+"px",threshold:(0,t.max)(0,(0,t.min)(1,c))||1},g=!0;function x(t){let n=t[0].intersectionRatio;if(n!==c){if(!g)return r();n?r(!1,n):i=setTimeout(()=>{r(!1,1e-7)},1e3)}1!==n||y(u,e.getBoundingClientRect())||r(),g=!1}try{o=new IntersectionObserver(x,{...p,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(x,p)}o.observe(e)}(!0),a}(m,i):null,x=-1,v=null;f&&(v=new ResizeObserver(e=>{let[t]=e;t&&t.target===m&&v&&n&&(v.unobserve(n),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(n)})),i()}),m&&!h&&v.observe(m),n&&v.observe(n));let b=h?c(e):null;return h&&function t(){let n=c(e);b&&!y(b,n)&&i(),b=n,a=requestAnimationFrame(t)}(),i(),()=>{var e;p.forEach(e=>{s&&e.removeEventListener("scroll",i),u&&e.removeEventListener("resize",i)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,h&&cancelAnimationFrame(a)}},"computePosition",0,A,"flip",0,k,"hide",0,S,"inline",0,L,"limitShift",0,T,"offset",0,v,"platform",0,x,"shift",0,w,"size",0,C],278928);var R=e.i(448053),j=e.i(562814),D="u">typeof document?R.useLayoutEffect:function(){};function O(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!O(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!O(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function F(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function M(e,t){let n=F(e);return Math.round(t*n)/n}function N(e){let t=R.useRef(e);return D(()=>{t.current=e}),t}e.s(["arrow",0,(e,t)=>{let n={name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?E({element:n.current,padding:r}).fn(t):{}:n?E({element:n,padding:r}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}},"flip",0,(e,t)=>{let n=k(e);return{name:n.name,fn:n.fn,options:[e,t]}},"hide",0,(e,t)=>{let n=S(e);return{name:n.name,fn:n.fn,options:[e,t]}},"limitShift",0,(e,t)=>({fn:T(e).fn,options:[e,t]}),"offset",0,(e,t)=>{let n=v(e);return{name:n.name,fn:n.fn,options:[e,t]}},"shift",0,(e,t)=>{let n=w(e);return{name:n.name,fn:n.fn,options:[e,t]}},"size",0,(e,t)=>{let n=C(e);return{name:n.name,fn:n.fn,options:[e,t]}},"useFloating",0,function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:a=!0,whileElementsMounted:s,open:c}=e,[u,f]=R.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,h]=R.useState(r);O(d,r)||h(r);let[m,p]=R.useState(null),[g,x]=R.useState(null),y=R.useCallback(e=>
1{e!==k.current&&(k.current=e,p(e))},[]),v=R.useCallback(e=>{e!==C.current&&(C.current=e,x(e))},[]),b=o||m,w=l||g,k=R.useRef(null),C=R.useRef(null),S=R.useRef(u),E=null!=s,L=N(s),T=N(i),P=N(c),z=R.useCallback(()=>{if(!k.current||!C.current)return;let e={placement:t,strategy:n,middleware:d};T.current&&(e.platform=T.current),A(k.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};I.current&&!O(S.current,t)&&(S.current=t,j.flushSync(()=>{f(t)}))})},[d,t,n,T,P]);D(()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let I=R.useRef(!1);D(()=>(I.current=!0,()=>{I.current=!1}),[]),D(()=>{if(b&&(k.current=b),w&&(C.current=w),b&&w){if(L.current)return L.current(b,w,z);z()}},[b,w,z,L,E]);let H=R.useMemo(()=>({reference:k,floating:C,setReference:y,setFloating:v}),[y,v]),B=R.useMemo(()=>({reference:b,floating:w}),[b,w]),W=R.useMemo(()=>{let e={position:n,left:0,top:0};if(!B.floating)return e;let t=M(B.floating,u.x),r=M(B.floating,u.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...F(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,B.floating,u.x,u.y]);return R.useMemo(()=>({...u,update:z,refs:H,elements:B,floatingStyles:W}),[u,z,H,B,W])}],579510)},924092,e=>{"use strict";var t=e.i(247859),n=e.i(13496);function r({ref:e,href:i="#",external:o=!!(i.match(/^\w+:/)||i.startsWith("//")),prefetch:l,children:a,...s}){return o?(0,n.jsx)("a",{ref:e,href:i,rel:"noreferrer noopener",target:"_blank",...s,children:a}):(0,n.jsx)(t.Link,{ref:e,href:i,prefetch:l,...s,children:a})}e.s(["Link",0,r,"default",0,r])},502008,e=>{"use strict";var t=e.i(448053),n=e.i(13496),r=t.createContext(void 0);e.s(["DirectionProvider",0,e=>{let{dir:t,children:i}=e;return(0,n.jsx)(r.Provider,{value:t,children:i})},"useDirection",0,function(e){let n=t.useContext(r);return e||n||"ltr"}])},196206,e=>{"use strict";var t=e.i(448053),n=e.i(34023),r=e.i(331838),i=e.i(864484),o=e.i(13496),l=new WeakMap;function a(e,t){var n,r;let i,o,l;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(n=e,r=t,i=n.length,(l=(o=s(r))>=0?o:i+o)<0||l>=i?-1:l);return -1===a?void 0:e[a]}function s(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),o=this.#e.length,l=s(e),a=l>=0?l:o+l,c=a<0||a>=o?-1:a;if(c===this.size||i&&c===this.size-1||-1===c)return this.set(t,n),this;let u=this.size+ +!i;l<0&&a++;let f=[...this.#e],d=!1;for(let e=a;e<u;e++)if(a===e){let o=f[e];f[e]===t&&(o=f[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{d||f[e-1]!==t||(d=!0);let n=f[d?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=a(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=a(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return a(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);
1r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}}),e.s(["createCollection",0,function(e){let l=e+"CollectionProvider",[a,s]=(0,n.createContextScope)(l),[c,u]=a(l,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:n,children:r}=e,i=t.useRef(null),l=t.useRef(new Map).current;return(0,o.jsx)(c,{scope:n,itemMap:l,collectionRef:i,children:r})};f.displayName=l;let d=e+"CollectionSlot",h=(0,i.createSlot)(d),m=t.forwardRef((e,t)=>{let{scope:n,children:i}=e,l=u(d,n),a=(0,r.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(h,{ref:a,children:i})});m.displayName=d;let p=e+"CollectionItemSlot",g="data-radix-collection-item",x=(0,i.createSlot)(p),y=t.forwardRef((e,n)=>{let{scope:i,children:l,...a}=e,s=t.useRef(null),c=(0,r.useComposedRefs)(n,s),f=u(p,i);return t.useEffect(()=>(f.itemMap.set(s,{ref:s,...a}),()=>void f.itemMap.delete(s))),(0,o.jsx)(x,{...{[g]:""},ref:c,children:l})});return y.displayName=p,[{Provider:f,Slot:m,ItemSlot:y},function(n){let r=u(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])},s]}])},158234,e=>{"use strict";let t=(0,e.i(633105).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],158234)},107983,(e,t,n)=>{"use strict";var r=e.r(448053),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,l=r.useEffect,a=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return a(function(){i.value=n,i.getSnapshot=t,c(i)&&u({inst:i})},[e,n,t]),l(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),s(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},33347,(e,t,n)=>{"use strict";t.exports=e.r(107983)},812878,e=>{"use strict";var t=e.i(470284),n=e.i(897802),r=e.i(455470),i=e.i(805654),o=e.i(173119);let l="phrasing",a=["autolink","link","image","label"];function s(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function c(e){this.config.enter.autolinkProtocol.call(this,e)}function u(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,n.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function d(e){this.config.exit.autolinkEmail.call(this,e)}function h(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,o.convert)((n||{}).ignore||[]),l=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),a=-1;for(;++a<l.length;)(0,i.visitParents)(e,"text",s);function s(e,t){let n,i=-1;for(;++i<t.length;){let e=t[i],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=l[a][0],i=l[a][1],o=0,s=n.children.indexOf(e),c=!1,u=[];r.lastIndex=0;let f=r.exec(e.value);for(;f;){let n=f.index,l={index:f.index,input:f.input,stack:[...t,e]},a=i(...f,l);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(o!==n&&u.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),o=n+f[0].length,c=!0),!r.global)break;f=r.exec(e.value)}return c?(o<e.value.length&&u.push({type:"text",value:e.value.slice(o)}),n.children.splice(s,1,...u)):u=[e],s+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,p],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,g]],{ignore:["link","linkReference"]})}function p(e,n,r,i,o){let l,a="";if(!x(o))return!1;if(/^w/i.test(n)&&(r=n+r,n="",a="http://"),(l=r.split(".")).length<2||l[l.length-1]&&(/_/.test(l[l.length-1])||!/[a-zA-Z\d]/.test(l[l.length-1]))||l[l.length-2]&&(/_/.test(l[l.length-2])||!/[a-zA-Z\d]/.test(l[l.length-2])))return!1;let s=function(e){let n=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!n)return[e,void 0];e=e.slice(0,n.index);let r=n[0],i=r.indexOf(")"),o=(0,t.ccount)(e,"("),l=(0,t.ccount)(e,")");for(;-1!==i&&o>l;)e+=r.slice(0,i+1),i=(r=r.slice(i+1)).indexOf(")"),l++;return[e,r]}(r+i);if(!s[0])return!1;let c={type:"link",title:null,url:a+n+s[0],children:[{type:"text",value:n+s[0]}]};return s[1]?[c,{type:"text",value:s[1]}]:c}function g(e,t,n,r){return!(!x(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function x(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,r.unicodeWhitespace)(n)||(0,r.unicodePunctuation)(n))&&(!t||47!==n)}var y=e.i(784484);function v(){this.buffer()}function b(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function w(){this.buffer()}function k(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function C(e){let t=this.resume(),r=this.stack[this.stack.length-1];(0,n.ok)("footnoteReference"===r.type),r.identifier=(0,y.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),r.label=t}function S(e){this.exit(e)}function E(e){let t=this.resume(),r=this.stack[this.stack.length-1];(0,n.ok)("footnoteDefinition"===r.type),r.identifier=(0,y.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),r.label=t}function L(e){this.exit(e)}function T(e,t,n,r){let i=n.createTracker(r),o=i.move("[^"),l=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),l(),o+=i.move("]")}function A(e,t,n){return 0===t?e:R(e,t,n)}function R(e,t,n){return(n?"":"    ")+e}T.peek=function(){return"["};let j=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function D(e){this.enter({type:"delete",children:[]},e)}function O(e){this.exit(e)}function F(e,t,n,r){let i=n.createTracker(r),o=n.enter("strikethrough"),l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function M(e){return e.length}function N(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}F.peek=function(){return"~"};var P=e.i(311430),P=P;function z(e){let t=e._align;(0,n.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function I(e){this.exit(e),this.data.inTable=void 0}function H(e){this.enter({type:"tableRow",children:[]},e)}function B(e){this.exit(e)}function W(e){this.enter({type:"tableCell",children:[]},e)}function _(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,V));let r=this.stack[this.stack.length-1];(0,n.ok)("inlineCode"===r.type),r.value=t,this.exit(e)}function V(e,t){return"|"===t?t:e}var P=P;function q(e){let t=this.stack[this.stack.length-2];(0,n.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function $(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,n.ok)("paragraph"===e.type);let r=e.children[0];if(r&&"text"===r.type){let n,i=t.children,o=-1;for(;++o<i.length;){let e=i[o];if("paragraph"===e.type){n=e;break}}n===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function K(e,t,n,r){let i=e.children[0],o="boolean"==typeof e.checked&&i&&"paragraph"===i.type,l="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(l);let s=P.handle.listItem(e,t,n,{...r,...a.current()});return o&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+l})),s}var U=e.i(144819);let G={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),i):n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},J={tokenize:function(e,t,n){let i,o,l;return a;function a(t){return 46===t||95===t?e.check(Y,c,s)(t):null===t||(0,r.markdownLineEndingOrSpace)(t)||(0,r.unicodeWhitespace)(t)||45!==t&&(0,r.unicodePunctuation)(t)?c(t):(l=!0,e.consume(t),a)}function s(t){return 95===t?i=!0:(o=i,i=void 0),e.consume(t),a}function c(e){return o||i||!l?n(e):t(e)}},partial:!0},X={tokenize:function(e,t){let n=0,i=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&i<n?l(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||
160===a||63===a||93===a||95===a||126===a?e.check(Y,t,l)(a):null===a||(0,r.markdownLineEndingOrSpace)(a)||(0,r.unicodeWhitespace)(a)?t(a):(e.consume(a),o)}function l(t){return 41===t&&i++,e.consume(t),o}},partial:!0},Y={tokenize:function(e,t,n){return i;function i(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),i):38===a?(e.consume(a),l):93===a?(e.consume(a),o):60===a||null===a||(0,r.markdownLineEndingOrSpace)(a)||(0,r.unicodeWhitespace)(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||(0,r.markdownLineEndingOrSpace)(e)||(0,r.unicodeWhitespace)(e)?t(e):i(e)}function l(t){return(0,r.asciiAlpha)(t)?function t(o){return 59===o?(e.consume(o),i):(0,r.asciiAlpha)(o)?(e.consume(o),t):n(o)}(t):n(t)}},partial:!0},Z={tokenize:function(e,t,n){return function(t){return e.consume(t),i};function i(e){return(0,r.asciiAlphanumeric)(e)?n(e):t(e)}},partial:!0},Q={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!ei.call(r,r.previous)||es(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(G,e.attempt(J,e.attempt(X,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:ei},ee={name:"protocolAutolink",tokenize:function(e,t,n){let i=this,o="",l=!1;return function(t){return(72===t||104===t)&&eo.call(i,i.previous)&&!es(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a):n(t)};function a(t){if((0,r.asciiAlpha)(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){let n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),l)?c:(l=!0,s):n(t)}function c(t){return null===t||(0,r.asciiControl)(t)||(0,r.markdownLineEndingOrSpace)(t)||(0,r.unicodeWhitespace)(t)||(0,r.unicodePunctuation)(t)?n(t):e.attempt(J,e.attempt(X,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:eo},et={name:"emailAutolink",tokenize:function(e,t,n){let i,o,l=this;return function(t){return!ea(t)||!el.call(l,l.previous)||es(l.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return ea(r)?(e.consume(r),t):64===r?(e.consume(r),a):n(r)}(t))};function a(t){return 46===t?e.check(Z,c,s)(t):45===t||95===t||(0,r.asciiAlphanumeric)(t)?(o=!0,e.consume(t),a):c(t)}function s(t){return e.consume(t),i=!0,a}function c(a){return o&&i&&(0,r.asciiAlpha)(l.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:el},en={},er=48;for(;er<123;)en[er]=et,58==++er?er=65:91===er&&(er=97);function ei(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,r.markdownLineEndingOrSpace)(e)}function eo(e){return!(0,r.asciiAlpha)(e)}function el(e){return!(47===e||ea(e))}function ea(e){return 43===e||45===e||46===e||95===e||(0,r.asciiAlphanumeric)(e)}function es(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}en[43]=et,en[45]=et,en[46]=et,en[95]=et,en[72]=[et,ee],en[104]=[et,ee],en[87]=[et,Q],en[119]=[et,Q];var ec=e.i(51256),eu=e.i(133220);let ef={tokenize:function(e,t,n){let r=this;return(0,eu.factorySpace)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ed(e,t,n){let r,i=this,o=i.events.length,l=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;o--;){let e=i.events[o][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!r||!r._balanced)return n(o);let a=(0,y.normalizeIdentifier)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===a.codePointAt(0)&&l.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function eh(e,t){let n=e.length;for(;n--;
1)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function em(e,t,n){let i,o=this,l=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(s){if(a>999||93===s&&!i||null===s||91===s||(0,r.markdownLineEndingOrSpace)(s))return n(s);if(93===s){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return l.includes((0,y.normalizeIdentifier)(o.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return(0,r.markdownLineEndingOrSpace)(s)||(i=!0),a++,e.consume(s),92===s?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,c):c(t)}}function ep(e,t,n){let i,o,l=this,a=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(s>999||93===t&&!o||null===t||91===t||(0,r.markdownLineEndingOrSpace)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return i=(0,y.normalizeIdentifier)(l.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return(0,r.markdownLineEndingOrSpace)(t)||(o=!0),s++,e.consume(t),92===t?f:u}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a.includes(i)||a.push(i),(0,eu.factorySpace)(e,h,"gfmFootnoteDefinitionWhitespace")):n(t)}function h(e){return t(e)}}function eg(e,t,n){return e.check(ec.blankLine,t,e.attempt(ef,t,n))}function ex(e){e.exit("gfmFootnoteDefinition")}var ey=e.i(559245),ev=e.i(227066),eb=e.i(705568);class ew{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function ek(e,t,n){let i,o=this,l=0,a=0;return function(e){let t=o.events.length-1;for(;t>-1;){let e=o.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?o.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?v:s;return i===v&&o.parser.lazy[o.now().line]?n(e):i(e)};function s(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(i=!0,a+=1),c(n)}function c(t){return null===t?n(t):(0,r.markdownLineEnding)(t)?a>1?(a=0,o.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):(0,r.markdownSpace)(t)?(0,eu.factorySpace)(e,c,"whitespace")(t):(a+=1,i&&(i=!1,l+=1),124
1===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,r.markdownLineEndingOrSpace)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?f:u)}function f(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return(o.interrupt=!1,o.parser.lazy[o.now().line])?n(t):(e.enter("tableDelimiterRow"),i=!1,(0,r.markdownSpace)(t))?(0,eu.factorySpace)(e,h,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):h(t)}function h(t){return 45===t||58===t?p(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),m):n(t)}function m(t){return(0,r.markdownSpace)(t)?(0,eu.factorySpace)(e,p,"whitespace")(t):p(t)}function p(t){return 58===t?(a+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(a+=1,g(t)):null===t||(0,r.markdownLineEnding)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),x):(e.exit("tableDelimiterFiller"),x(n))}(t)):n(t)}function x(t){return(0,r.markdownSpace)(t)?(0,eu.factorySpace)(e,y,"whitespace")(t):y(t)}function y(o){if(124===o)return h(o);if(null===o||(0,r.markdownLineEnding)(o))return i&&l===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(o)):n(o);return n(o)}function v(t){return e.enter("tableRow"),b(t)}function b(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),b):null===n||(0,r.markdownLineEnding)(n)?(e.exit("tableRow"),t(n)):(0,r.markdownSpace)(n)?(0,eu.factorySpace)(e,b,"whitespace")(n):(e.enter("data"),w(n))}function w(t){return null===t||124===t||(0,r.markdownLineEndingOrSpace)(t)?(e.exit("data"),b(t)):(e.consume(t),92===t?k:w)}function k(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function eC(e,t){let n,r,i,o=-1,l=!0,a=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,f=0,d=new ew;for(;++o<e.length;){let h=e[o],m=h[1];"enter"===h[0]?"tableHead"===m.type?(u=!1,0!==f&&(eE(d,t,f,n,r),r=void 0,f=0),n={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},d.add(o,0,[["enter",n,t]])):"tableRow"===m.type||"tableDelimiterRow"===m.type?(l=!0,i=void 0,s=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},d.add(o,0,[["enter",r,t]])),a="tableDelimiterRow"===m.type?2:r?3:1):a&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)?(l=!1,0===c[2]&&(0!==s[1]&&(c[0]=c[1],i=eS(d,t,s,a,void 0,i),s=[0,0,0,0]),c[2]=o)):"tableCellDivider"===m.type&&(l?l=!1:(0!==s[1]&&(c[0]=c[1],i=eS(d,t,s,a,void 0,i)),c=[(s=c)[1],o,0,0])):"tableHead"===m.type?(u=!0,f=o):"tableRow"===m.type||"tableDelimiterRow"===m.type?(f=o,0!==s[1]?(c[0]=c[1],i=eS(d,t,s,a,o,i)):0!==c[1]&&(i=eS(d,t,c,a,o,i)),a=0):a&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(c[3]=o)}for(0!==f&&eE(d,t,f,n,r),d.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,o))}return e}function eS(e,t,n,r,i,o){0!==n[0]&&(o.end=Object.assign({},eL(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let l=eL(t.events,n[1]);if(o={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){let i=eL(t.events,n[2]),o=eL(t.events,n[3]),l={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",l,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",l,t]])}return void 0!==i&&(o.end=Object.assign({}
1,eL(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function eE(e,t,n,r,i){let o=[],l=eL(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function eL(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eT={name:"tasklistCheck",tokenize:function(e,t,n){let i=this;return function(t){return null===i.previous&&i._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return(0,r.markdownLineEndingOrSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),l):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),l):n(t)}function l(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(i){return(0,r.markdownLineEnding)(i)?t(i):(0,r.markdownSpace)(i)?e.check({tokenize:eA},t,n)(i):n(i)}}};function eA(e,t,n){return(0,eu.factorySpace)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eR={};e.s(["default",0,function(e){var t;let n,r,i,o=e||eR,p=this.data(),g=p.micromarkExtensions||(p.micromarkExtensions=[]),x=p.fromMarkdownExtensions||(p.fromMarkdownExtensions=[]),y=p.toMarkdownExtensions||(p.toMarkdownExtensions=[]);g.push((t=o,(0,U.combineExtensions)([{text:en},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ep,continuation:{tokenize:eg},exit:ex}},text:{91:{name:"gfmFootnoteCall",tokenize:em},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ed,resolveTo:eh}}},(n=(t||{}).singleTilde,r={name:"strikethrough",tokenize:function(e,t,r){let i=this.previous,o=this.events,l=0;return function(a){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(a):(e.enter("strikethroughSequenceTemporary"),function o(a){let s=(0,ev.classifyCharacter)(i);if(126===a)return l>1?r(a):(e.consume(a),l++,o);if(l<2&&!n)return r(a);let c=e.exit("strikethroughSequenceTemporary"),u=(0,ev.classifyCharacter)(a);return c._open=!u||2===u&&!!s,c._close=!s||2===s&&!!u,t(a)}(a))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},l=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],a=t.parser.constructs.insideSpan.null;a&&(0,ey.splice)(l,l.length,0,(0,eb.resolveAll)(a,e.slice(r+1,n),t)),(0,ey.splice)(l,l.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,ey.splice)(e,r-1,n-r+3,l),n=r+l.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==n&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:ek,resolveAll:eC}}},{text:{91:eT}}]))),x.push([{transforms:[m],enter:{literalAutolink:s,literalAutolinkEmail:c,literalAutolinkHttp:c,literalAutolinkWww:c},exit:{literalAutolink:h,literalAutolinkEmail:d,literalAutolinkHttp:u,literalAutolinkWww:f}},{enter:{gfmFootnoteCallString:v,gfmFootnoteCall:b,gfmFootnoteDefinitionLabelString:w,gfmFootnoteDefinition:k},exit:{gfmFootnoteCallString:C,gfmFootnoteCall:S,gfmFootnoteDefinitionLabelString:E,gfmFootnoteDefinition:L}},{canContainEols:["delete"],enter:{strikethrough:D},exit:{strikethrough:O}},{enter:{table:z,tableData:W,tableHeader:W,tableRow:H},exit:{codeText:_,table:I,tableData:B,tableHeader:B,tableRow:B}},{exit:{taskListCheckValueChecked:q,taskListCheckValueUnchecked:q,paragraph:$}}]),y.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:a},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:a},{character:":",before:"[ps]",after:"\\/",inConstruct:l,notInConstruct:a}]},(i=!1,o&&o.firstLineBlank&&(i=!0),{handlers:{footnoteDefinition:function(e,t,n,r){let o=n.createTracker(r),l=o.move("[^"),a=n.enter("footnoteDefinition"),s=n.enter("label");return l+=o.move(n.safe(n.associationId(e),{before:l,after:"]"})),s(),l+=o.move("]:"),e.children&&e.children.length>0&&(o.shift(4),l+=o.move((i?"\n":" ")+n.indentLines(n.containerFlow(e,o.current()),i?R:A))),a(),l},footnoteReference:T},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:j}],handlers:{delete:F}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=P.handle.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return a(function(e,t,n){let r=e.children,i=-1,o=[],l=t.enter("table");for(;++i<r.length;)o[i]=s(r[i],t,n);return l(),o}(e,n,r),e.align)},tableCell:l,tableRow:function(e,t,n,r){let i=a([s(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function l(e,t,n,r){let i=n.enter("tableCell"),l=n.enter("phrasing"),a=n.containerPhrasing(e,{...r,before:o,after:o});return l(),i(),a}function a(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||M,o=[],l=[],a=[],s=[],c=0,u=-1;for(;++u<e.length;){let t=[],r=[],o=-1;for(e[u].length>c&&(c=e[u].length);++o<e[u].length;){var f;let l=null==(f=e[u][o])?"":String(f);if(!1!==n.alignDelimiters){let e=i(l);r[o]=e,(void 0===s[o]||e>s[o])&&(s[o]=e)}t.push(l)}l[u]=t,a[u]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<c;)o[d]=N(r[d]);else{let e=N(r);for(;++d<c;)o[d]=e}d=-1;let h=[],m=[];for(;++d<c;){let e=o[d],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,s[d]-t.length-r.length),l=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>s[d]&&(s[d]=i),m[d]=i),h[d]=l}l.splice(1,0,h),a.splice(1,0,m),u=-1;let p=[];for(;++u<l.length;){let e=l[u],t=a[u];d=-1;let r=[];for(;++d<c;){let i=e[d]||"",l="",a="";if(!1!==n.alignDelimiters){let e=s[d]-(t[d]||0),n=o[d];114===n?l=" ".repeat(e):99===n?e%2?(l=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):a=l=" ".repeat(e/2):a=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||d)&&r.push(" "),!1!==n.alignDelimiters&&r.push(l),r.push(i),!1!==n.alignDelimiters&&r.push(a),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||d!==c-1)&&r.push("|")}p.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return p.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function s(e,t,n){let r=e.children,i=-1,o=[],a=t.enter("tableRow");for(;++i<r.length;)o[i]=l(r[i],e,t,n);return a(),o}}(o),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:K}}]})}],812878)},193832,e=>{"use strict";var t=e.i(448053);e.s(["useCopyButton",0,function(e){let[n,r]=(0,t.useState)(!1),i=(0,t.useRef)(e),o=(0,t.useRef)(null);i.current=e;let l=(0,t.useCallback)(()=>{o.current&&window.clearTimeout(o.current),Promise.resolve(i.current()).then(()=>{r(!0),o.current=window.setTimeout(()=>{r(!1)},1500)})},[]);return(0,t.useEffect)(()=>()=>{o.current&&window.clearTimeout(o.current)},[]),[n,l]}])},642778,e=>{"use strict";e.s(["mergeRefs",0,function(...e){return t=>
1{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})}}])},855625,e=>{"use strict";var t=e.i(642778),n=e.i(13496),r=e.i(448053),i=e.i(943473),o=e.i(34023),l=e.i(196206),a=e.i(331838),s=e.i(226372),c=e.i(579985),u=e.i(311255),f=e.i(6221),d=e.i(502008),h=e.i(383586),m=!1,p=r[" useSyncExternalStore ".trim().toString()];function g(){return()=>{}}var x="function"==typeof p?function(){return p(g,()=>!0,()=>!1)}:function(){let[e,t]=r.useState(m);return r.useEffect(()=>{m||(m=!0,t(!0))},[]),e},y="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[w,k,C]=(0,l.createCollection)(b),[S,E]=(0,o.createContextScope)(b,[C]),[L,T]=S(b),A=r.forwardRef((e,t)=>(0,n.jsx)(w.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(w.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(R,{...e,ref:t})})}));A.displayName=b;var R=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:o,orientation:l,loop:s=!1,dir:h,currentTabStopId:m,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:g,onEntryFocus:x,preventScrollOnEntryFocus:w=!1,...C}=e,S=r.useRef(null),E=(0,a.useComposedRefs)(t,S),T=(0,d.useDirection)(h),[A,R]=(0,f.useControllableState)({prop:m,defaultProp:p??null,onChange:g,caller:b}),[j,D]=r.useState(!1),O=(0,u.useCallbackRef)(x),M=k(o),N=r.useRef(!1),[P,z]=r.useState(0);return r.useEffect(()=>{let e=S.current;if(e)return e.addEventListener(y,O),()=>e.removeEventListener(y,O)},[O]),(0,n.jsx)(L,{scope:o,orientation:l,dir:T,loop:s,currentTabStopId:A,onItemFocus:r.useCallback(e=>R(e),[R]),onItemShiftTab:r.useCallback(()=>D(!0),[]),onFocusableItemAdd:r.useCallback(()=>z(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>z(e=>e-1),[]),children:(0,n.jsx)(c.Primitive.div,{tabIndex:j||0===P?-1:0,"data-orientation":l,...C,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,i.composeEventHandlers)(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!j){let t=new CustomEvent(y,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=M().filter(e=>e.focusable);F([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),w)}}N.current=!1}),onBlur:(0,i.composeEventHandlers)(e.onBlur,()=>D(!1))})})}),j="RovingFocusGroupItem",D=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:o,focusable:l=!0,active:a=!1,tabStopId:u,children:f,...d}=e,m=(0,s.useId)(),p=u||m,g=T(j,o),y=g.currentTabStopId===p,v=k(o),{onFocusableItemAdd:b,onFocusableItemRemove:C,currentTabStopId:S}=g,E=x();return(0,h.useLayoutEffect)(()=>{if(E&&l)return b(),()=>C()},[E,l,b,C]),r.useEffect(()=>{if(!E&&l)return b(),()=>C()},[E,l,b,C]),(0,n.jsx)(w.ItemSlot,{scope:o,id:p,focusable:l,active:a,children:(0,n.jsx)(c.Primitive.span,{tabIndex:y?0:-1,"data-orientation":g.orientation,...d,ref:t,onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,e=>{l?g.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>g.onItemFocus(p)),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void g.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return O[i]}(e,g.orientation,g.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=g.loop?(n=i,r=o+1,n.map((e,t)=>n[(r+t)%n.length])):i.slice(o+1)}setTimeout(()=>F(i))}}),children:"function"==typeof f?f({isCurrentTabStop:y,hasTabStop:null!=S}):f})})});D.displayName=j;var O={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var M=e.i(136251),N="Tabs",[P,z]=(0,o.createContextScope)(N,[E]),I=E(),[H,B]=P(N),W=r.forwardRef((e,t)=>
1{let{__scopeTabs:r,value:i,onValueChange:o,defaultValue:l,orientation:a="horizontal",dir:u,activationMode:h="automatic",...m}=e,p=(0,d.useDirection)(u),[g,x]=(0,f.useControllableState)({prop:i,onChange:o,defaultProp:l??"",caller:N});return(0,n.jsx)(H,{scope:r,baseId:(0,s.useId)(),value:g,onValueChange:x,orientation:a,dir:p,activationMode:h,children:(0,n.jsx)(c.Primitive.div,{dir:p,"data-orientation":a,...m,ref:t})})});W.displayName=N;var _="TabsList",V=r.forwardRef((e,t)=>{let{__scopeTabs:r,loop:i=!0,...o}=e,l=B(_,r),a=I(r);return(0,n.jsx)(A,{asChild:!0,...a,orientation:l.orientation,dir:l.dir,loop:i,children:(0,n.jsx)(c.Primitive.div,{role:"tablist","aria-orientation":l.orientation,...o,ref:t})})});V.displayName=_;var q="TabsTrigger",$=r.forwardRef((e,t)=>{let{__scopeTabs:r,value:o,disabled:l=!1,...a}=e,s=B(q,r),u=I(r),f=G(s.baseId,o),d=J(s.baseId,o),h=o===s.value;return(0,n.jsx)(D,{asChild:!0,...u,focusable:!l,active:h,children:(0,n.jsx)(c.Primitive.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":d,"data-state":h?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:f,...a,ref:t,onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():s.onValueChange(o)}),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{!l&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&s.onValueChange(o)}),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==s.activationMode;h||l||!e||s.onValueChange(o)})})})});$.displayName=q;var K="TabsContent",U=r.forwardRef((e,t)=>{let{__scopeTabs:i,value:o,forceMount:l,children:a,...s}=e,u=B(K,i),f=G(u.baseId,o),d=J(u.baseId,o),h=o===u.value,m=r.useRef(h);return r.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.jsx)(M.Presence,{present:l||h,children:({present:r})=>(0,n.jsx)(c.Primitive.div,{"data-state":h?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":f,hidden:!r,id:d,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:r&&a})})});function G(e,t){return`${e}-trigger-${t}`}function J(e,t){return`${e}-content-${t}`}U.displayName=K;let X=new Map,Y=(0,r.createContext)(null);e.s(["Tabs",0,function({ref:e,groupId:i,persist:o=!1,updateAnchor:l=!1,defaultValue:a,value:s,onValueChange:c,...u}){let f=(0,r.useRef)(null),d=(0,r.useMemo)(()=>new Map,[]),[h,m]=void 0===s?(0,r.useState)(a):[s,(0,r.useEffectEvent)(e=>c?.(e))];return(0,r.useLayoutEffect)(()=>{if(!i)return;let e=sessionStorage.getItem(i);o&&(e??=localStorage.getItem(i)),e&&m(e);let t=X.get(i)??new Set;return t.add(m),X.set(i,t),()=>{t.delete(m)}},[i,o,m]),(0,r.useLayoutEffect)(()=>{let e=window.location.hash.slice(1);if(e){for(let[t,n]of d.entries())if(n===e){m(t),f.current?.scrollIntoView();break}}},[m,d]),(0,n.jsx)(W,{ref:(0,t.mergeRefs)(e,f),value:h,onValueChange:e=>{if(l){let t=d.get(e);t&&window.history.replaceState(null,"",`#${t}`)}if(i){let t=X.get(i);if(t)for(let n of t)n(e);sessionStorage.setItem(i,e),o&&localStorage.setItem(i,e)}else m(e)},...u,children:(0,n.jsx)(Y,{value:(0,r.useMemo)(()=>({valueToIdMap:d}),[d]),children:u.children})})},"TabsContent",0,function({value:e,...t}){let{valueToIdMap:i}=function(){let e=(0,r.use)(Y);if(!e)throw Error("You must wrap your component in <Tabs>");return e}();return t.id&&i.set(e,t.id),(0,n.jsx)(U,{value:e,...t,children:t.children})},"TabsList",0,V,"TabsTrigger",0,$],855625)},390341,492388,e=>{"use strict";let t=(0,e.i(633105).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t],492388),e.s(["Check",0,t],390341)},153064,e=>{"use strict";e.i(690340);var t=e.i(178575),n=e.i(876540),r=e.i(193832),i=e.i(642778),o=e.i(855625),l=e.i(13496),a=e.i(390341);let s=(0,e.i(633105).default)("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);var c=e.i(448053),u=e.i(621856);let f=(0,c.createContext)(null);function d({className:e,containerRef:i,...o}){let c=(0,u.useTranslations)({note:"code block"}),[f,h]=(0,r.useCopyButton)(()=>{let e=i.current?.getElementsByTagName("pre").item(0);if(!e)return;let t=e.cloneNode(!0);
1t.querySelectorAll(".nd-copy-ignore").forEach(e=>{e.replaceWith("\n")}),navigator.clipboard.writeText(t.textContent??"")});return(0,l.jsx)("button",{type:"button","data-checked":f||void 0,className:(0,t.cn)((0,n.buttonVariants)({className:"hover:text-fd-accent-foreground data-checked:text-fd-accent-foreground",size:"icon-xs"}),e),"aria-label":c(f?"Copied Text":"Copy Text",{note:"aria-label"}),onClick:h,...o,children:f?(0,l.jsx)(a.Check,{}):(0,l.jsx)(s,{})})}e.s(["CodeBlock",0,function({ref:e,title:n,allowCopy:r=!0,keepBackground:i=!1,icon:o,viewportProps:a={},children:s,Actions:u=e=>(0,l.jsx)("div",{...e,className:(0,t.cn)("empty:hidden",e.className)}),...h}){let m=null!==(0,c.use)(f),p=(0,c.useRef)(null);return"true"===r?r=!0:"false"===r&&(r=!1),(0,l.jsxs)("figure",{ref:e,dir:"ltr",...h,tabIndex:-1,className:(0,t.cn)(m?"bg-fd-secondary -mx-px -mb-px last:rounded-b-xl":"my-4 bg-fd-card rounded-xl",i&&"bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)","shiki relative border shadow-sm not-prose overflow-hidden text-sm",h.className),children:[n?(0,l.jsxs)("div",{className:"flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4",children:["string"==typeof o?(0,l.jsx)("div",{className:"[&_svg]:size-3.5",dangerouslySetInnerHTML:{__html:o}}):o,(0,l.jsx)("figcaption",{className:"flex-1 truncate",children:n}),u({className:"-me-2",children:r&&(0,l.jsx)(d,{containerRef:p})})]}):u({className:"absolute top-3 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground",children:r&&(0,l.jsx)(d,{containerRef:p})}),(0,l.jsx)("div",{ref:p,...a,role:"region",tabIndex:0,className:(0,t.cn)("text-[0.8125rem] py-3.5 overflow-auto max-h-[600px] fd-scroll-container focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring",a.className),style:{"--padding-right":n?void 0:"calc(var(--spacing) * 8)",counterSet:h["data-line-numbers"]?`line ${Number(h["data-line-numbers-start"]??1)-1}`:void 0,...a.style},children:s})]})},"CodeBlockTab",0,function(e){return(0,l.jsx)(o.TabsContent,{...e})},"CodeBlockTabs",0,function({ref:e,...n}){let r=(0,c.useRef)(null),a=null!==(0,c.use)(f);return(0,l.jsx)(o.Tabs,{ref:(0,i.mergeRefs)(r,e),...n,className:(0,t.cn)("bg-fd-card rounded-xl border",!a&&"my-4",n.className),children:(0,l.jsx)(f,{value:(0,c.useMemo)(()=>({containerRef:r,nested:a}),[a]),children:n.children})})},"CodeBlockTabsList",0,function(e){return(0,l.jsx)(o.TabsList,{...e,className:(0,t.cn)("flex flex-row px-2 overflow-x-auto text-fd-muted-foreground",e.className),children:e.children})},"CodeBlockTabsTrigger",0,function({children:e,...n}){return(0,l.jsxs)(o.TabsTrigger,{...n,className:(0,t.cn)("relative group inline-flex text-sm font-medium text-nowrap items-center transition-colors gap-2 px-2 py-1.5 hover:text-fd-accent-foreground data-[state=active]:text-fd-primary [&_svg]:size-3.5",n.className),children:[(0,l.jsx)("div",{className:"absolute inset-x-2 bottom-0 h-px group-data-[state=active]:bg-fd-primary"}),e]})},"Pre",0,function(e){return(0,l.jsx)("pre",{...e,className:(0,t.cn)("min-w-full w-max *:flex *:flex-col",e.className),children:e.children})}],153064)},975249,646901,e=>{"use strict";e.i(690340);var t=e.i(178575),n=e.i(153064),r=e.i(13496),i=e.i(448053);async function o(e,t){let n=e.getBundledThemes(),r=t.filter(t=>{if("string"==typeof t&&!(t in n))return!1;try{return e.getTheme(t),!1}catch{return!0}});r.length>0&&await e.loadTheme(...r)}async function l(t,n,r){let{fallbackLanguage:i="text",...l}=r,{isSpecialLang:a}=await e.A(159077);return a(l.lang)||l.lang in t.getBundledLanguages()||t.getLoadedLanguages().includes(l.lang)||(l.lang=i),await Promise.all([o(t,"theme"in l?[l.theme]:Object.values(l.themes).filter(e=>void 0!==e)),t.loadLanguage(l.lang)]),t.codeToHast(n,l)}e.s(["createShikiFactory",0,function(e){let t;return{init:n=>t=e.init(n),getOrInit(){return t??this.init()}}},"highlightHast",0,l],646901);var a=e.i(945334);let s=(0,i.createContext)(void 0);function c(e){let o=(0,i.use)(s);return(0,r.jsx)(n.CodeBlock,{...e,...o,className:(0,t.cn)("my-0",e.className,o?.className),children:(0,r.jsx)(n.Pre,{children:e.children})})}function u({code:e,components:t={}}){let{pre:n="pre",code:i="code"}=t;return(0,r.jsx)(n,{children:(0,r.jsx)(i,{children:e.split("\n").map((e,t)=>(0,r.jsx)("span",{className:"line",children:e},t))})})}e.s(["DynamicCodeBlock",0,function({lang:e,code:t,codeblock:n,options:o,wrapInSuspense:f=!0,highlighter:d}){let h=(0,i.useId)(),m={lang:e,defaultColor:!1,...o,components:{pre:c,...o.components}},p=function(e,t,n,o){let[s,c]=(0,i.useState)(n.defaultValue),u=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let i=async function(){return(0,a.toJsxRuntime)(await l("function"==typeof e?await e():e,t,n),{...r,components:n.components})}();return u.current=i,i.then(e=>{u.current===i&&c(e)}
1),()=>{u.current=null}},o),s}(d,t,m,[h,e,t]);return f&&(p??=(0,r.jsx)(u,{code:t,components:m.components})),(0,r.jsx)(s,{value:n,children:p})}],975249)},905667,e=>{"use strict";var t=e.i(646901);let n=(0,t.createShikiFactory)({async init(t){let{createHighlighter:n,createJavaScriptRegexEngine:r}=await e.A(654921);return n({langs:[],themes:[],langAlias:t?.langAlias,engine:r()})}});(0,t.createShikiFactory)({async init(t){let{createHighlighter:n,createOnigurumaEngine:r}=await e.A(654921);return n({langs:[],themes:[],langAlias:t?.langAlias,engine:r(e.A(286581))})}}),e.s(["defaultShikiFactory",0,n])},641918,e=>{"use strict";e.i(690340);var t=e.i(178575),n=e.i(924092),r=e.i(13496);e.s(["Card",0,function({icon:e,title:i,description:o,...l}){return(0,r.jsxs)(l.href?n.default:"div",{...l,"data-card":!0,className:(0,t.cn)("block rounded-xl border bg-fd-card p-4 text-fd-card-foreground transition-colors @max-lg:col-span-full",l.href&&"hover:bg-fd-accent/80",l.className),children:[e?(0,r.jsx)("div",{className:"not-prose mb-2 w-fit shadow-md rounded-lg border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4",children:e}):null,(0,r.jsx)("h3",{className:"not-prose mb-1 text-sm font-medium",children:i}),o?(0,r.jsx)("p",{className:"my-0! text-sm text-fd-muted-foreground",children:o}):null,(0,r.jsx)("div",{className:"text-sm text-fd-muted-foreground prose-no-margin empty:hidden",children:l.children})]})},"Cards",0,function(e){return(0,r.jsx)("div",{...e,className:(0,t.cn)("grid grid-cols-2 gap-3 @container",e.className),children:e.children})}])},170993,624312,531572,e=>{"use strict";e.i(690340);var t=e.i(178575),n=e.i(13496),r=e.i(633105);let i=(0,r.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CircleCheck",0,i],624312);let o=(0,r.default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["CircleX",0,o],531572);let l=(0,r.default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),a=(0,r.default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),s=(0,r.default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),c="size-5 -me-0.5 fill-(--callout-color) text-fd-card";function u({type:e="info",icon:r,children:f,className:d,style:h,...m}){let p="warn"===e?"warning":"tip"===e?"info":e;return(0,n.jsxs)("div",{className:(0,t.cn)("flex gap-2 my-4 rounded-xl border bg-fd-card p-3 ps-1 text-sm text-fd-card-foreground shadow-md",d),style:{"--callout-color":`var(--color-fd-${p}, var(--color-fd-muted))`,...h},...m,children:[(0,n.jsx)("div",{role:"none",className:"w-0.5 bg-(--callout-color)/50 rounded-sm"}),r??({info:(0,n.jsx)(l,{className:c}),warning:(0,n.jsx)(s,{className:c}),error:(0,n.jsx)(o,{className:c}),success:(0,n.jsx)(i,{className:c}),idea:(0,n.jsx)(a,{className:"size-5 -me-0.5 fill-(--callout-color) text-(--callout-color)"})})[p],(0,n.jsx)("div",{className:"flex flex-col gap-2 min-w-0 flex-1",children:f})]})}function f({children:e,className:r,...i}){return(0,n.jsx)("p",{className:(0,t.cn)("font-medium my-0!",r),...i,children:e})}function d({children:e,className:r,...i}){return(0,n.jsx)("div",{className:(0,t.cn)("text-fd-muted-foreground prose-no-margin empty:hidden",r),...i,children:e})}e.s(["Callout",0,function({children:e,title:t,...r}){return(0,n.jsxs)(u,{...r,children:[t&&(0,n.jsx)(f,{children:t}),(0,n.jsx)(d,{children:e})]})},"CalloutContainer",0,u,"CalloutDescription",0,d,"CalloutTitle",0,f],170993)},456170,954616,e=>{"use strict";e.i(690340);var t=e.i(178575),n=e.i(876540),r=e.i(193832),i=e.i(13496),o=e.i(633105);let l=(0,o.default)("copy-check",[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),a=(0,o.default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);e.s(["LinkIcon",0,a],954616);var s=e.i(621856);e.s(["Heading",0,function({as:e,...o}){let c=e??"h1",u=(0,s.useTranslations)({note:"heading anchor"}),[f,d]=(0,r.useCopyButton)(()=>
1{if(!o.id)return;let e=new URL(window.location.href);return e.hash=o.id,navigator.clipboard.writeText(e.href)});return o.id?(0,i.jsxs)(c,{...o,className:(0,t.cn)("group/heading flex scroll-m-28 flex-row items-center gap-1",o.className),children:[(0,i.jsx)("a",{"data-card":"",href:`#${o.id}`,children:o.children}),(0,i.jsx)("button",{"aria-label":u("Copy Anchor Link",{note:"aria-label"}),className:(0,t.cn)((0,n.buttonVariants)({variant:"ghost",size:"icon-xs"}),"not-prose shrink-0 text-fd-muted-foreground opacity-0 transition-opacity group-hover/heading:opacity-100"),onClick:d,children:f?(0,i.jsx)(l,{}):(0,i.jsx)(a,{})})]}):(0,i.jsx)(c,{...o})}],456170)},544337,e=>{"use strict";e.i(690340);var t=e.i(178575),n=e.i(641918),r=e.i(170993),i=e.i(456170),o=e.i(153064),l=e.i(924092),a=e.i(247859),s=e.i(13496);let c={CodeBlockTab:o.CodeBlockTab,CodeBlockTabs:o.CodeBlockTabs,CodeBlockTabsList:o.CodeBlockTabsList,CodeBlockTabsTrigger:o.CodeBlockTabsTrigger,pre:e=>(0,s.jsx)(o.CodeBlock,{...e,children:(0,s.jsx)(o.Pre,{children:e.children})}),Card:n.Card,Cards:n.Cards,a:l.default,img:function(e){return(0,s.jsx)(a.Image,{sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 70vw, 900px",...e,className:(0,t.cn)("rounded-lg",e.className)})},h1:e=>(0,s.jsx)(i.Heading,{as:"h1",...e}),h2:e=>(0,s.jsx)(i.Heading,{as:"h2",...e}),h3:e=>(0,s.jsx)(i.Heading,{as:"h3",...e}),h4:e=>(0,s.jsx)(i.Heading,{as:"h4",...e}),h5:e=>(0,s.jsx)(i.Heading,{as:"h5",...e}),h6:e=>(0,s.jsx)(i.Heading,{as:"h6",...e}),table:function(e){return(0,s.jsx)("div",{className:"relative overflow-auto prose-no-margin my-6",children:(0,s.jsx)("table",{...e})})},Callout:r.Callout,CalloutContainer:r.CalloutContainer,CalloutTitle:r.CalloutTitle,CalloutDescription:r.CalloutDescription};e.s(["default",0,c])},498795,e=>{"use strict";var t=e.i(448053),n=e.i(13496);function r(e="https://app.cal.com/embed/embed.js"){var t;let n,i;return t=window,n=function(e,t){e.q.push(t)},i=t.document,t.Cal=t.Cal||function(){let r=t.Cal,o=arguments;if(r.loaded||(r.ns={},r.q=r.q||[],i.head.appendChild(i.createElement("script")).src=e,r.loaded=!0),"init"===o[0]){let e=function(){n(e,arguments)},t=o[1];e.q=e.q||[],"string"==typeof t?(r.ns[t]=r.ns[t]||e,n(r.ns[t],o),n(r,["initNamespace",t])):n(r,o);return}n(r,o)},window.Cal}r.toString(),e.s(["default",0,function(e){let{calLink:i,calOrigin:o,namespace:l="",config:a,initConfig:s={},embedJsUrl:c,...u}=e;if(!i)throw Error("calLink is required");let f=(0,t.useRef)(!1),d=function(e){let[n,i]=(0,t.useState)();return(0,t.useEffect)(()=>{i(()=>r(e))},[]),n}(c),h=(0,t.useRef)(null);return(0,t.useEffect)(()=>{if(!d||f.current||!h.current)return;f.current=!0;let e=h.current;l?(d("init",l,{...s,origin:o}),d.ns[l]("inline",{elementOrSelector:e,calLink:i,config:a})):(d("init",{...s,origin:o}),d("inline",{elementOrSelector:e,calLink:i,config:a}))},[d,i,a,l,o,s]),d?(0,n.jsx)("div",{ref:h,...u}):null},"getCalApi",0,function(e){let{namespace:t="",embedJsUrl:n}="string"==typeof e?{embedJsUrl:e}:e??{};return new Promise(function e(i){let o=r(n);o("init",t);let l=t?o.ns[t]:o;l?i(l):setTimeout(()=>{e(i)},50)})}])}]);

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.