1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="a734c977-0caf-124c-cccf-edd8fee104a9")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75830,726330,e=>{"use strict";var t,n=e.i(271645),r=e.i(30030),o=e.i(820783),i=e.i(991918),a=e.i(843476);e.s(["createCollection",0,function(e){let t=e+"CollectionProvider",[l,s]=(0,r.createContextScope)(t),[u,c]=l(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,o=n.default.useRef(null),i=n.default.useRef(new Map).current;return(0,a.jsx)(u,{scope:t,itemMap:i,collectionRef:o,children:r})};d.displayName=t;let f=e+"CollectionSlot",p=(0,i.createSlot)(f),m=n.default.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=c(f,n),l=(0,o.useComposedRefs)(t,i.collectionRef);return(0,a.jsx)(p,{ref:l,children:r})});m.displayName=f;let h=e+"CollectionItemSlot",v="data-radix-collection-item",g=(0,i.createSlot)(h),y=n.default.forwardRef((e,t)=>{let{scope:r,children:i,...l}=e,s=n.default.useRef(null),u=(0,o.useComposedRefs)(t,s),d=c(h,r);return n.default.useEffect(()=>(d.itemMap.set(s,{ref:s,...l}),()=>void d.itemMap.delete(s))),(0,a.jsx)(g,{...{[v]:""},ref:u,children:i})});return y.displayName=h,[{Provider:d,Slot:m,ItemSlot:y},function(t){let r=c(e+"CollectionConsumer",t);return n.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])},s]}],75830);var l=e.i(981140),s=e.i(248425),u=e.i(30207),c="dismissableLayer.update",d=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=n.forwardRef((e,r)=>{let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:v,onInteractOutside:g,onDismiss:y,...w}=e,b=n.useContext(d),[x,E]=n.useState(null),C=x?.ownerDocument??globalThis?.document,[,R]=n.useState({}),k=(0,o.useComposedRefs)(r,e=>E(e)),S=Array.from(b.layers),[P]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),M=S.indexOf(P),T=x?S.indexOf(x):-1,A=b.layersWithOutsidePointerEventsDisabled.size>0,L=T>=M,D=function(e,t=globalThis?.document){let r=(0,u.useCallbackRef)(e),o=n.useRef(!1),i=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let n=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);o.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));L&&!n&&(h?.(e),g?.(e),e.defaultPrevented||y?.())},C),j=function(e,t=globalThis?.document){let r=(0,u.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!o.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(v?.(e),g?.(e),e.defaultPrevented||y?.())},C);return!function(e,t=globalThis?.document){let r=(0,u.useCallbackRef)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{T===b.layers.size-1&&(f?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},C),n.useEffect(()=>{if(x)return i&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(x)),b.layers.add(x),p(),()=>{i&&1===b.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=t)}},[x,C,i,b]),n.useEffect(()=>()=>{x&&(b.layers.delete(x),b.layersWithOutsidePointerEventsDisabled.delete(x),p())},[x,b]),n.useEffect(()=>{let e=()=>R({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,a.jsx)(s.Primitive.div,{...w,ref:k,style:{pointerEvents:A?L?"auto":"none":void 0,...e.style},onFocusCapture:(0,l.composeEventHandlers)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,l.composeEventHandlers)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,l.composeEventHandlers)(e.onPointerDownCapture,D.onPointerDownCapture)})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,s.dispatchDiscreteCustomEvent)(o,i):o.dispatchEvent(i)}f.displayName="DismissableLayer",n.forwardRef((e,t)=>
2{let r=n.useContext(d),i=n.useRef(null),l=(0,o.useComposedRefs)(t,i);return n.useEffect(()=>{let e=i.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,a.jsx)(s.Primitive.div,{...e,ref:l})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,f],726330)},660037,e=>{"use strict";var t=e.i(843476);e.i(383013);var n=e.i(793482),r=e.i(920494),o=e.i(520561);e.s(["ThemeToggle",0,e=>{let{colorMode:i,toggleColorMode:a}=(0,r.useThemeContext)();return(0,t.jsx)("div",{className:(0,o.cn)(e.notion?"notion-navbar__button":"super-navbar__button","super-navbar__theme-toggle"),onClick:a,children:"dark"===i?(0,t.jsx)(n.Icon,{type:"Moon",size:20}):(0,t.jsx)(n.Icon,{type:"Sun",size:20})})}])},61182,e=>{"use strict";let t;var n,r,o,i,a,l,s,u=e.i(843476),c=e.i(271645),d=e.i(981140),f=e.i(820783),p=e.i(30030),m=e.i(369340),h=e.i(248425),v=e.i(75830),g=e.i(586318),y=e.i(726330),w=0;function b(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var x=e.i(30207),E="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",R={bubbles:!1,cancelable:!0},k=c.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=c.useState(null),d=(0,x.useCallbackRef)(o),p=(0,x.useCallbackRef)(i),m=c.useRef(null),v=(0,f.useComposedRefs)(t,e=>s(e)),g=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let e=function(e){if(g.paused||!l)return;let t=e.target;l.contains(t)?m.current=t:M(m.current,{select:!0})},t=function(e){if(g.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||M(m.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&M(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,g.paused]),c.useEffect(()=>{if(l){T.add(g);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(E,R);l.addEventListener(E,d),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(M(r,{select:t}),document.activeElement!==n)return}(S(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&M(l))}return()=>{l.removeEventListener(E,d),setTimeout(()=>{let t=new CustomEvent(C,R);l.addEventListener(C,p),l.dispatchEvent(t),t.defaultPrevented||M(e??document.body,{select:!0}),l.removeEventListener(C,p),T.remove(g)},0)}}},[l,d,p,g]);let y=c.useCallback(e=>{if(!n&&!r||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,r=e.currentTarget,[a,l]=[P(t=S(i=r),i),P(t.reverse(),i)];a&&l?e.shiftKey||o!==l?e.shiftKey&&o===a&&(e.preventDefault(),n&&M(l,{select:!0})):(e.preventDefault(),n&&M(a,{select:!0})):o===r&&e.preventDefault()}},[n,r,g.paused]);return(0,u.jsx)(h.Primitive.div,{tabIndex:-1,...a,ref:v,onKeyDown:y})});function S(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function P(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function M(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}k.displayName="FocusScope";var T=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=A(t,e)).unshift(e)},remove(e){t=A(t,e),t[0]?.resume()}});function A(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var L=e.i(610772);let D=["top","right","bottom","left"],j=Math.min,O=Math.max,N=Math.round,_=Math.floor,I=e=>({x:e,y:e}
2),F={left:"right",right:"left",bottom:"top",top:"bottom"},H={start:"end",end:"start"};function B(e,t){return"function"==typeof e?e(t):e}function K(e){return e.split("-")[0]}function W(e){return e.split("-")[1]}function z(e){return"x"===e?"y":"x"}function V(e){return"y"===e?"height":"width"}let G=new Set(["top","bottom"]);function X(e){return G.has(K(e))?"y":"x"}function U(e){return e.replace(/start|end/g,e=>H[e])}let $=["left","right"],Y=["right","left"],q=["top","bottom"],Z=["bottom","top"];function J(e){return e.replace(/left|right|bottom|top/g,e=>F[e])}function Q(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function ee(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function et(e,t,n){let r,{reference:o,floating:i}=e,a=X(t),l=z(X(t)),s=V(l),u=K(t),c="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;switch(u){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(W(t)){case"start":r[l]-=p*(n&&c?-1:1);break;case"end":r[l]+=p*(n&&c?-1:1)}return r}let en=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=et(u,r,s),f=r,p={},m=0;for(let n=0;n<l.length;n++){let{name:i,fn:h}=l[n],{x:v,y:g,data:y,reset:w}=await h({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=g?g:d,p={...p,[i]:{...p[i],...y}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(u=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:d}=et(u,f,s)),n=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:p}};async function er(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=B(t,e),m=Q(p),h=l[f?"floating"===d?"reference":"floating":d],v=ee(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),g="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),w=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=ee(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:s}):g);return{top:(v.top-b.top+m.top)/w.y,bottom:(b.bottom-v.bottom+m.bottom)/w.y,left:(v.left-b.left+m.left)/w.x,right:(b.right-v.right+m.right)/w.x}}function eo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ei(e){return D.some(t=>e[t]>=0)}let ea=new Set(["left","top"]);async function el(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=K(n),l=W(n),s="y"===X(n),u=ea.has(a)?-1:1,c=i&&s?-1:1,d=B(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),s?{x:p*c,y:f*u}:{x:f*u,y:p*c}}function es(){return"u">typeof window}function eu(e){return ef(e)?(e.nodeName||"").toLowerCase():"#document"}function ec(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ed(e){var t;return null==(t=(ef(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ef(e){return!!es()&&(e instanceof Node||e instanceof ec(e).Node)}function ep(e){return!!es()&&(e instanceof Element||e instanceof ec(e).Element)}function em(e){return!!es()&&(e instanceof HTMLElement||e instanceof ec(e).HTMLElement)}function eh(e){return!(!es()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ec(e).ShadowRoot)}let ev=new Set(["inline","contents"]);function eg(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eM(e);
2return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ev.has(o)}let ey=new Set(["table","td","th"]),ew=[":popover-open",":modal"];function eb(e){return ew.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let ex=["transform","translate","scale","rotate","perspective"],eE=["transform","translate","scale","rotate","perspective","filter"],eC=["paint","layout","strict","content"];function eR(e){let t=ek(),n=ep(e)?eM(e):e;return ex.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||eE.some(e=>(n.willChange||"").includes(e))||eC.some(e=>(n.contain||"").includes(e))}function ek(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eS=new Set(["html","body","#document"]);function eP(e){return eS.has(eu(e))}function eM(e){return ec(e).getComputedStyle(e)}function eT(e){return ep(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eA(e){if("html"===eu(e))return e;let t=e.assignedSlot||e.parentNode||eh(e)&&e.host||ed(e);return eh(t)?t.host:t}
2function eL(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eA(t);return eP(n)?t.ownerDocument?t.ownerDocument.body:t.body:em(n)&&eg(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=ec(o);if(i){let e=eD(a);return t.concat(a,a.visualViewport||[],eg(o)?o:[],e&&n?eL(e):[])}return t.concat(o,eL(o,[],n))}function eD(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ej(e){let t=eM(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=em(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=N(n)!==i||N(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function eO(e){return ep(e)?e:e.contextElement}function eN(e){let t=eO(e);if(!em(t))return I(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ej(t),a=(i?N(n.width):n.width)/r,l=(i?N(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let e_=I(0);function eI(e){let t=ec(e);return ek()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:e_}function eF(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=eO(e),l=I(1);t&&(r?ep(r)&&(l=eN(r)):l=eN(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===ec(a))&&o)?eI(a):I(0),u=(i.left+s.x)/l.x,c=(i.top+s.y)/l.y,d=i.width/l.x,f=i.height/l.y;if(a){let e=ec(a),t=r&&ep(r)?ec(r):r,n=e,o=eD(n);for(;o&&r&&t!==n;){let e=eN(o),t=o.getBoundingClientRect(),r=eM(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=i,c+=a,o=eD(n=ec(o))}}return ee({width:d,height:f,x:u,y:c})}function eH(e,t){let n=eT(e).scrollLeft;return t?t.left+n:eF(ed(e)).left+n}function eB(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eH(e,n),y:n.top+t.scrollTop}}let eK=new Set(["absolute","fixed"]);function eW(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=ec(e),r=ed(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=ek();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}let u=eH(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else u<=25&&(i+=u);return{width:i,height:a,x:l,y:s}}(e,n);else if("document"===t){let t,n,i,a,l,s,u;r=ed(e),t=ed(r),n=eT(r),i=r.ownerDocument.body,a=O(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=O(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+eH(r),u=-n.scrollTop,"rtl"===eM(i).direction&&(s+=O(t.clientWidth,i.clientWidth)-a),o={width:a,height:l,x:s,y:u}}else if(ep(t)){let e,r,i,a,l,s;r=(e=eF(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,a=em(t)?eN(t):I(1),l=t.clientWidth*a.x,s=t.clientHeight*a.y,o={width:l,height:s,x:i*a.x,y:r*a.y}}else{let n=eI(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ee(o)}function ez(e){return"static"===eM(e).position}function eV(e,t){if(!em(e)||"fixed"===eM(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ed(e)===n&&(n=n.ownerDocument.body),n}function eG(e,t){var n;let r=ec(e);if(eb(e))return r;if(!em(e)){let t=eA(e);for(;t&&!eP(t);){if(ep(t)&&!ez(t))return t;t=eA(t)}return r}let o=eV(e,t);for(;o&&(n=o,ey.has(eu(n)))&&ez(o);)o=eV(o,t);return o&&eP(o)&&ez(o)&&!eR(o)?r:o||function(e){let t=eA(e);for(;em(t)&&!eP(t);){if(eR(t))return t;if(eb(t))break;t=eA(t)}return null}(e)||r}let eX=async function(e){let t=this.getOffsetParent||eG,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=em(t),o=ed(t),i="fixed"===n,a=eF(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=I(0);if(r||!r&&!i)if(("body"!==eu(t)||eg(o))&&(l=eT(t)),r){let e=eF(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=eH(o));i&&!r&&o&&(s.x=eH(o));let u=!o||r||i?I(0):eB(o,l);return{x:a.left+l.scrollLeft-s.x-u.x,y:a.top+l.scrollTop-s.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eU={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=ed(r),l=!!t&&eb(t.floating);if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=I(1),c=I(0),d=em(r);
2if((d||!d&&!i)&&(("body"!==eu(r)||eg(a))&&(s=eT(r)),em(r))){let e=eF(r);u=eN(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let f=!a||d||i?I(0):eB(a,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-s.scrollTop*u.y+c.y+f.y}},getDocumentElement:ed,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?eb(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eL(e,[],!1).filter(e=>ep(e)&&"body"!==eu(e)),o=null,i="fixed"===eM(e).position,a=i?eA(e):e;for(;ep(a)&&!eP(a);){let t=eM(a),n=eR(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&eK.has(o.position)||eg(a)&&!n&&function e(t,n){let r=eA(t);return!(r===n||!ep(r)||eP(r))&&("fixed"===eM(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=eA(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((e,n)=>{let r=eW(t,n,o);return e.top=O(r.top,e.top),e.right=j(r.right,e.right),e.bottom=j(r.bottom,e.bottom),e.left=O(r.left,e.left),e},eW(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:eG,getElementRects:eX,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ej(e);return{width:t,height:n}},getScale:eN,isElement:ep,isRTL:function(e){return"rtl"===eM(e).direction}};function e$(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eY=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:c=0}=B(e,t)||{};if(null==u)return{};let d=Q(c),f={x:n,y:r},p=z(X(o)),m=V(p),h=await a.getDimensions(u),v="y"===p,g=v?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[p]-f[p]-i.floating[m],w=f[p]-i.reference[p],b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),x=b?b[g]:0;x&&await (null==a.isElement?void 0:a.isElement(b))||(x=l.floating[g]||i.floating[m]);let E=x/2-h[m]/2-1,C=j(d[v?"top":"left"],E),R=j(d[v?"bottom":"right"],E),k=x-h[m]-R,S=x/2-h[m]/2+(y/2-w/2),P=O(C,j(S,k)),M=!s.arrow&&null!=W(o)&&S!==P&&i.reference[m]/2-(S<C?C:R)-h[m]/2<0,T=M?S<C?S-C:S-k:0;return{[p]:f[p]+T,data:{[p]:P,centerOffset:S-P-T,...M&&{alignmentOffset:T}},reset:M}}});var eq=e.i(174080),eZ="u">typeof document?c.useLayoutEffect:function(){};function eJ(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eJ(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eJ(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eQ(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e0(e,t){let n=eQ(e);return Math.round(t*n)/n}function e1(e){let t=c.useRef(e);return eZ(()=>{t.current=e}),t}var e2=c.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,u.jsx)(h.Primitive.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,u.jsx)("polygon",{points:"0,0 30,0 15,10"})})});e2.displayName="Arrow";var e3=e.i(934620),e8="Popper",[e5,e4]=(0,p.createContextScope)(e8),[e6,e7]=e5(e8),e9=e=>{let{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return(0,u.jsx)(e6,{scope:t,anchor:r,onAnchorChange:o,children:n})};e9.displayName=e8;var te="PopperAnchor",tt=c.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=e7(te,n),a=c.useRef(null),l=(0,f.useComposedRefs)(t,a),s=c.useRef(null);return c.useEffect(()=>{let e=s.current;s.current=r?.current||a.current,e!==s.current&&i.onAnchorChange(s.current)}),r?null:(0,u.jsx)(h.Primitive.div,{...o,ref:l})});tt.displayName=te;var tn="PopperContent",[tr,to]=e5(tn),ti=c.forwardRef((e,t)=>{var n,r,o,i,a,l,s,d,p,m,v,g,y;let{__scopePopper:w,side:b="bottom",sideOffset:E=0,align:C="center",alignOffset:R=0,arrowPadding:k=0,avoidCollisions:S=!0,collisionBoundary:P=[],collisionPadding:M=0,sticky:T="partial",hideWhenDetached:A=!1,updatePositionStrategy:L="optimized",onPlaced:D,...N}=e,I=e7(tn,w),[F,H]=c.useState(null),G=(0,f.useComposedRefs)(t,e=>H(e)),[Q,ee]=c.useState(null),et=function(e){let[t,n]=c.useState(void 0);return(0,e3.useLayoutEffect)(()=>
2{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(Q),es=et?.width??0,eu=et?.height??0,ec="number"==typeof M?M:{top:0,right:0,bottom:0,left:0,...M},ef=Array.isArray(P)?P:[P],ep=ef.length>0,em={padding:ec,boundary:ef.filter(tu),altBoundary:ep},{refs:eh,floatingStyles:ev,placement:eg,isPositioned:ey,middlewareData:ew}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[d,f]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=c.useState(r);eJ(p,r)||m(r);let[h,v]=c.useState(null),[g,y]=c.useState(null),w=c.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=c.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),x=i||h,E=a||g,C=c.useRef(null),R=c.useRef(null),k=c.useRef(d),S=null!=s,P=e1(s),M=e1(o),T=e1(u),A=c.useCallback(()=>{var e,r;let o,i,a;if(!C.current||!R.current)return;let l={placement:t,strategy:n,middleware:p};M.current&&(l.platform=M.current),(e=C.current,r=R.current,o=new Map,a={...(i={platform:eU,...l}).platform,_c:o},en(e,r,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==T.current};L.current&&!eJ(k.current,t)&&(k.current=t,eq.flushSync(()=>{f(t)}))})},[p,t,n,M,T]);eZ(()=>{!1===u&&k.current.isPositioned&&(k.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let L=c.useRef(!1);eZ(()=>(L.current=!0,()=>{L.current=!1}),[]),eZ(()=>
2{if(x&&(C.current=x),E&&(R.current=E),x&&E){if(P.current)return P.current(x,E,A);A()}},[x,E,A,P,S]);let D=c.useMemo(()=>({reference:C,floating:R,setReference:w,setFloating:b}),[w,b]),j=c.useMemo(()=>({reference:x,floating:E}),[x,E]),O=c.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=e0(j.floating,d.x),r=e0(j.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...eQ(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,j.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:A,refs:D,elements:j,floatingStyles:O}),[d,A,D,j,O])}({strategy:"fixed",placement:b+("center"!==C?"-"+C:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=eO(e),d=i||a?[...c?eL(c):[],...eL(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=c&&s?function(e,t){let n,r=null,o=ed(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();let u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=u;if(l||t(),!f||!p)return;let m={rootMargin:-_(d)+"px "+-_(o.clientWidth-(c+f))+"px "+-_(o.clientHeight-(d+p))+"px "+-_(c)+"px",threshold:O(0,j(1,s))||1},h=!0;function v(t){let r=t[0].intersectionRatio;if(r!==s){if(!h)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||e$(u,e.getBoundingClientRect())||a(),h=!1}try{r=new IntersectionObserver(v,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,m)}r.observe(e)}(!0),i}(c,n):null,p=-1,m=null;l&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!u&&m.observe(c),m.observe(t));let h=u?eF(e):null;return u&&function t(){let r=eF(e);h&&!e$(h,r)&&n(),h=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,u&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===L}),elements:{reference:I.anchor},middleware:[{...{name:"offset",options:r=n={mainAxis:E+eu,alignmentAxis:R},async fn(e){var t,n;let{x:o,y:i,placement:a,middlewareData:l}=e,s=await el(e,r);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}},options:[n,void 0]},S&&{...{name:"shift",options:a=i={mainAxis:!0,crossAxis:!1,limiter:"partial"===T?{...(o=void 0,{options:o={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:a}=e,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=B(o,e),c={x:t,y:n},d=X(r),f=z(d),p=c[f],m=c[d],h=B(l,e),v="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(s){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+v.mainAxis,n=i.reference[f]+i.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var g,y;let e="y"===f?"width":"height",t=ea.has(K(r)),n=i.reference[d]-i.floating[e]+(t&&(null==(g=a.offset)?void 0:g[d])||0)+(t?0:v.crossAxis),o=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?v.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[f]:p,[d]:m}}}),options:[void 0,void 0]}:void 0,...em},async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:o=!0,crossAxis:i=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=B(a,e),u={x:t,y:n},c=await er(e,s),d=X(K(r)),f=z(d),p=u[f],m=u[d];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+c[e],r=p-c[t];p=O(n,j(p,r))}if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=m+c[e],r=m-c[t];m=O(n,j(m,r))}let h=l.fn({...e,[f]:p,[d]:m});return{...h,data:{x:h.x-t,y:h.y-n,enabled:{[f]:o,[d]:i}}}}},options:[i,void 0]},S&&{...{name:"flip",options:s=l={...em},async fn(e){var t,n,r,o,i,a,l,u;let c,d,f,{placement:p,middlewareData:m,rects:h,initialPlacement:v,platform:g,elements:y}=e,{mainAxis:w=!0,crossAxis:b=!0,fallbackPlacements:x,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:R=!0,...k}=B(s,e);if(null!=(t=m.arrow)&&t.alignmentOffset)return{};let S=K(p),P=X(v),M=K(v)===v,T=await (null==g.isRTL?void 0:g.isRTL(y.floating)),A=x||(M||!R?[J(v)]:(c=J(v),[U(v),c,U(c)])
2),L="none"!==C;!x&&L&&A.push(...(d=W(v),f=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?Y:$;return t?$:Y;case"left":case"right":return t?q:Z;default:return[]}}(K(v),"start"===C,T),d&&(f=f.map(e=>e+"-"+d),R&&(f=f.concat(f.map(U)))),f));let D=[v,...A],j=await er(e,k),O=[],N=(null==(n=m.flip)?void 0:n.overflows)||[];if(w&&O.push(j[S]),b){let e,t,n,r,o=(a=p,l=h,void 0===(u=T)&&(u=!1),e=W(a),n=V(t=z(X(a))),r="x"===t?e===(u?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=J(r)),[r,J(r)]);O.push(j[o[0]],j[o[1]])}if(N=[...N,{placement:p,overflows:O}],!O.every(e=>e<=0)){let e=((null==(r=m.flip)?void 0:r.index)||0)+1,t=D[e];if(t&&("alignment"!==b||P===X(t)||N.every(e=>X(e.placement)!==P||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(o=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let e=null==(i=N.filter(e=>{if(L){let t=X(e.placement);return t===P||"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:i[0];e&&(n=e);break}case"initialPlacement":n=v}if(p!==n)return{reset:{placement:n}}}return{}}},options:[l,void 0]},{...{name:"size",options:p=d={...em,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,n;let r,o,{placement:i,rects:a,platform:l,elements:s}=e,{apply:u=()=>{},...c}=B(p,e),d=await er(e,c),f=K(i),m=W(i),h="y"===X(i),{width:v,height:g}=a.floating;"top"===f||"bottom"===f?(r=f,o=m===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(o=f,r="end"===m?"top":"bottom");let y=g-d.top-d.bottom,w=v-d.left-d.right,b=j(g-d[r],y),x=j(v-d[o],w),E=!e.middlewareData.shift,C=b,R=x;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(R=w),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(C=y),E&&!m){let e=O(d.left,0),t=O(d.right,0),n=O(d.top,0),r=O(d.bottom,0);h?R=v-2*(0!==e||0!==t?e+t:O(d.left,d.right)):C=g-2*(0!==n||0!==r?n+r:O(d.top,d.bottom))}await u({...e,availableWidth:R,availableHeight:C});let k=await l.getDimensions(s.floating);return v!==k.width||g!==k.height?{reset:{rects:!0}}:{}}},options:[d,void 0]},Q&&{...{name:"arrow",options:v=m={element:Q,padding:k},fn(e){let{element:t,padding:n}="function"==typeof v?v(e):v;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eY({element:t.current,padding:n}).fn(e):{}:t?eY({element:t,padding:n}).fn(e):{}}},options:[m,void 0]},tc({arrowWidth:es,arrowHeight:eu}),A&&{...{name:"hide",options:y=g={strategy:"referenceHidden",...em},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=B(y,e);switch(n){case"referenceHidden":{let n=eo(await er(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:ei(n)}}}case"escaped":{let n=eo(await er(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:ei(n)}}}default:return{}}}},options:[g,void 0]}]}),[eb,ex]=td(eg),eE=(0,x.useCallbackRef)(D);(0,e3.useLayoutEffect)(()=>{ey&&eE?.()},[ey,eE]);let eC=ew.arrow?.x,eR=ew.arrow?.y,ek=ew.arrow?.centerOffset!==0,[eS,eP]=c.useState();return(0,e3.useLayoutEffect)(()=>{F&&eP(window.getComputedStyle(F).zIndex)},[F]),(0,u.jsx)("div",{ref:eh.setFloating,"data-radix-popper-content-wrapper":"",style:{...ev,transform:ey?ev.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eS,"--radix-popper-transform-origin":[ew.transformOrigin?.x,ew.transformOrigin?.y].join(" "),...ew.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,u.jsx)(tr,{scope:w,placedSide:eb,onArrowChange:ee,arrowX:eC,arrowY:eR,shouldHideArrow:ek,children:(0,u.jsx)(h.Primitive.div,{"data-side":eb,"data-align":ex,...N,ref:G,style:{...N.style,animation:ey?void 0:"none"}})})})});ti.displayName=tn;var ta="PopperArrow",tl={top:"bottom",right:"left",bottom:"top",left:"r
2ight"},ts=c.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=to(ta,n),i=tl[o.placedSide];return(0,u.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,u.jsx)(e2,{...r,ref:t,style:{...r.style,display:"block"}})})});function tu(e){return null!==e}ts.displayName=ta;var tc=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[s,u]=td(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+l/2,p="",m="";return"bottom"===s?(p=i?c:`${d}px`,m=`${-l}px`):"top"===s?(p=i?c:`${d}px`,m=`${r.floating.height+l}px`):"right"===s?(p=`${-l}px`,m=i?c:`${f}px`):"left"===s&&(p=`${r.floating.width+l}px`,m=i?c:`${f}px`),{data:{x:p,y:m}}}});function td(e){let[t,n="center"]=e.split("-");return[t,n]}var tf=c.forwardRef((e,t)=>{let{container:n,...r}=e,[o,i]=c.useState(!1);(0,e3.useLayoutEffect)(()=>i(!0),[]);let a=n||o&&globalThis?.document?.body;return a?eq.default.createPortal((0,u.jsx)(h.Primitive.div,{...r,ref:t}),a):null});tf.displayName="Portal";var tp=e.i(296626),tm="rovingFocusGroup.onEntryFocus",th={bubbles:!1,cancelable:!0},tv="RovingFocusGroup",[tg,ty,tw]=(0,v.createCollection)(tv),[tb,tx]=(0,p.createContextScope)(tv,[tw]),[tE,tC]=tb(tv),tR=c.forwardRef((e,t)=>(0,u.jsx)(tg.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(tg.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(tk,{...e,ref:t})})}));tR.displayName=tv;var tk=c.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:p,preventScrollOnEntryFocus:v=!1,...y}=e,w=c.useRef(null),b=(0,f.useComposedRefs)(t,w),E=(0,g.useDirection)(i),[C,R]=(0,m.useControllableState)({prop:a,defaultProp:l??null,onChange:s,caller:tv}),[k,S]=c.useState(!1),P=(0,x.useCallbackRef)(p),M=ty(n),T=c.useRef(!1),[A,L]=c.useState(0);return c.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(tm,P),()=>e.removeEventListener(tm,P)},[P]),(0,u.jsx)(tE,{scope:n,orientation:r,dir:E,loop:o,currentTabStopId:C,onItemFocus:c.useCallback(e=>R(e),[R]),onItemShiftTab:c.useCallback(()=>S(!0),[]),onFocusableItemAdd:c.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:c.useCallback(()=>L(e=>e-1),[]),children:(0,u.jsx)(h.Primitive.div,{tabIndex:k||0===A?-1:0,"data-orientation":r,...y,ref:b,style:{outline:"none",...e.style},onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,d.composeEventHandlers)(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(tm,th);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=M().filter(e=>e.focusable);tT([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),v)}}T.current=!1}),onBlur:(0,d.composeEventHandlers)(e.onBlur,()=>S(!1))})})}),tS="RovingFocusGroupItem",tP=c.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:a,...l}=e,s=(0,L.useId)(),f=i||s,p=tC(tS,n),m=p.currentTabStopId===f,v=ty(n),{onFocusableItemAdd:g,onFocusableItemRemove:y,currentTabStopId:w}=p;return c.useEffect(()=>{if(r)return g(),()=>y()},[r,g,y]),(0,u.jsx)(tg.ItemSlot,{scope:n,id:f,focusable:r,active:o,children:(0,u.jsx)(h.Primitive.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...l,ref:t,onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,e=>{r?p.onItemFocus(f):e.preventDefault()}),onFocus:(0,d.composeEventHandlers)(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return tM[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=v().filter(e=>
2e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=p.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>tT(o))}}),children:"function"==typeof a?a({isCurrentTabStop:m,hasTabStop:null!=w}):a})})});tP.displayName=tS;var tM={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tT(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var tA=e.i(991918),tL=new WeakMap,tD=new WeakMap,tj={},tO=0,tN=function(e){return e&&(e.host||tN(e.parentNode))},t_=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tN(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tj[n]||(tj[n]=new WeakMap);var i=tj[n],a=[],l=new Set,s=new Set(o),u=function(e){!e||l.has(e)||(l.add(e),u(e.parentNode))};o.forEach(u);var c=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))c(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,s=(tL.get(e)||0)+1,u=(i.get(e)||0)+1;tL.set(e,s),i.set(e,u),a.push(e),1===s&&o&&tD.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),l.clear(),tO++,function(){a.forEach(function(e){var t=tL.get(e)-1,o=i.get(e)-1;tL.set(e,t),i.set(e,o),t||(tD.has(e)||e.removeAttribute(r),tD.delete(e)),o||e.removeAttribute(n)}),--tO||(tL=new WeakMap,tL=new WeakMap,tD=new WeakMap,tj={})}},tI=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),t_(r,o,n,"aria-hidden")):function(){return null}},tF=function(){return(tF=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function tH(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var tB=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),tK="width-before-scroll-bar";function tW(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tz="u">typeof window?c.useLayoutEffect:c.useEffect,tV=new WeakMap,tG=(void 0===n&&(n={}),(void 0===r&&(r=function(e){return e}),o=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=r(e,i);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){i=!0;var t=[];if(o.length){var n=o;o=[],n.forEach(e),t=o}var r=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(r)};a(),o={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),o}}}}).options=tF({async:!0,ssr:!1},n),a),tX=function(){},tU=c.forwardRef(function(e,t){var n,r,o,i,a=c.useRef(null),l=c.useState({onScrollCapture:tX,onWheelCapture:tX,onTouchMoveCapture:tX}),s=l[0],u=l[1],d=e.forwardProps,f=e.children,p=e.className,m=e.removeScrollBar,h=e.enabled,v=e.shards,g=e.sideCar,y=e.noRelative,w=e.noIsolation,b=e.inert,x=e.allowPinchZoom,E=e.as,C=e.gapMode,R=tH(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(n=[a,t],r=function(e){return n.forEac
2h(function(t){return tW(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,tz(function(){var e=tV.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||tW(e,null)}),r.forEach(function(e){t.has(e)||tW(e,o)})}tV.set(i,n)},[n]),i),S=tF(tF({},R),s);return c.createElement(c.Fragment,null,h&&c.createElement(g,{sideCar:tG,removeScrollBar:m,shards:v,noRelative:y,noIsolation:w,inert:b,setCallbacks:u,allowPinchZoom:!!x,lockRef:a,gapMode:C}),d?c.cloneElement(c.Children.only(f),tF(tF({},S),{ref:k})):c.createElement(void 0===E?"div":E,tF({},S,{className:p,ref:k}),f))});tU.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tU.classNames={fullWidth:tK,zeroRight:tB};var t$=function(e){var t=e.sideCar,n=tH(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return c.createElement(r,tF({},n))};t$.isSideCarExport=!0;var tY=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tq=function(){var e=tY();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tZ=function(){var e=tq();return function(t){return e(t.styles,t.dynamic),null}},tJ={left:0,top:0,right:0,gap:0},tQ=function(e){return parseInt(e||"",10)||0},t0=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[tQ(n),tQ(r),tQ(o)]},t1=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return tJ;var t=t0(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},t2=tZ(),t3="data-scroll-locked",t8=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(t3,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tB," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(tK," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(tB," .").concat(tB," {\n right: 0 ").concat(r,";\n }\n \n .").concat(tK," .").concat(tK," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(t3,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},t5=function(){var e=parseInt(document.body.getAttribute(t3)||"0",10);return isFinite(e)?e:0},t4=function(){c.useEffect(function(){return document.body.setAttribute(t3,(t5()+1).toString()),function(){var e=t5()-1;e<=0?document.body.removeAttribute(t3):document.body.setAttribute(t3,e.toString())}},[])},t6=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;t4();var i=c.useMemo(function(){return t1(o)},[o]);return c.createElement(t2,{styles:t8(i,!t,o,n?"":"!important")})},t7=!1;if("u">typeof window)try{var t9=Object.defineProperty({},"passive",{get:function(){return t7=!0,!0}});window.addEventListener("test",t9,t9),window.removeEventListener("test",t9,t9)}catch(e){t7=!1}var ne=!!t7&&{passive:!1},nt=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},nn=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),nr(e,r)){var o=no(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},nr=function(e,t){return"v"===e?nt(t,"overflowY"):nt(t,"overflowX")},no=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ni=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,s=n.target,u=t.contains(s),c=!1,d=l>0,f=0,p=0;
2do{if(!s)break;var m=no(e,s),h=m[0],v=m[1]-m[2]-a*h;(h||v)&&nr(e,s)&&(f+=v,p+=h);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&s!==document.body||u&&(t.contains(s)||t===s))return d&&(o&&1>Math.abs(f)||!o&&l>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(c=!0),c},na=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nl=function(e){return[e.deltaX,e.deltaY]},ns=function(e){return e&&"current"in e?e.current:e},nu=0,nc=[];let nd=(l=function(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(nu++)[0],i=c.useState(tZ)[0],a=c.useRef(e);c.useEffect(function(){a.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ns),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=na(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-i[0],u="deltaY"in e?e.deltaY:l[1]-i[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var m=nn(d,c);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=nn(d,c)),!m)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=o),!o)return!0;var h=r.current||o;return ni(h,t,e,"h"===h?s:u,!0)},[]),s=c.useCallback(function(e){if(nc.length&&nc[nc.length-1]===i){var n="deltaY"in e?nl(e):na(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(ns).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=c.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=c.useCallback(function(e){n.current=na(e),r.current=void 0},[]),f=c.useCallback(function(t){u(t.type,nl(t),t.target,l(t,e.lockRef.current))},[]),p=c.useCallback(function(t){u(t.type,na(t),t.target,l(t,e.lockRef.current))},[]);c.useEffect(function(){return nc.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,ne),document.addEventListener("touchmove",s,ne),document.addEventListener("touchstart",d,ne),function(){nc=nc.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,ne),document.removeEventListener("touchmove",s,ne),document.removeEventListener("touchstart",d,ne)}},[]);var m=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?c.createElement(t6,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tG.useMedium(l),t$);var nf=c.forwardRef(function(e,t){return c.createElement(tU,tF({},e,{ref:t,sideCar:nd}))});nf.classNames=tU.classNames;var np=["Enter"," "],nm=["ArrowUp","PageDown","End"],nh=["ArrowDown","PageUp","Home",...nm],nv={ltr:[...np,"ArrowRight"],rtl:[...np,"ArrowLeft"]},ng={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ny="Menu",[nw,nb,nx]=(0,v.createCollection)(ny),[nE,nC]=(0,p.createContextScope)(ny,[nx,e4,tx]),nR=e4(),nk=tx(),[nS,nP]=nE(ny),[nM,nT]=nE(ny),nA=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:
2a=!0}=e,l=nR(t),[s,d]=c.useState(null),f=c.useRef(!1),p=(0,x.useCallbackRef)(i),m=(0,g.useDirection)(o);return c.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,u.jsx)(e9,{...l,children:(0,u.jsx)(nS,{scope:t,open:n,onOpenChange:p,content:s,onContentChange:d,children:(0,u.jsx)(nM,{scope:t,onClose:c.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:m,modal:a,children:r})})})};nA.displayName=ny;var nL=c.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=nR(n);return(0,u.jsx)(tt,{...o,...r,ref:t})});nL.displayName="MenuAnchor";var nD="MenuPortal",[nj,nO]=nE(nD,{forceMount:void 0}),nN=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=nP(nD,t);return(0,u.jsx)(nj,{scope:t,forceMount:n,children:(0,u.jsx)(tp.Presence,{present:n||i.open,children:(0,u.jsx)(tf,{asChild:!0,container:o,children:r})})})};nN.displayName=nD;var n_="MenuContent",[nI,nF]=nE(n_),nH=c.forwardRef((e,t)=>{let n=nO(n_,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=nP(n_,e.__scopeMenu),a=nT(n_,e.__scopeMenu);return(0,u.jsx)(nw.Provider,{scope:e.__scopeMenu,children:(0,u.jsx)(tp.Presence,{present:r||i.open,children:(0,u.jsx)(nw.Slot,{scope:e.__scopeMenu,children:a.modal?(0,u.jsx)(nB,{...o,ref:t}):(0,u.jsx)(nK,{...o,ref:t})})})})}),nB=c.forwardRef((e,t)=>{let n=nP(n_,e.__scopeMenu),r=c.useRef(null),o=(0,f.useComposedRefs)(t,r);return c.useEffect(()=>{let e=r.current;if(e)return tI(e)},[]),(0,u.jsx)(nz,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,d.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),nK=c.forwardRef((e,t)=>{let n=nP(n_,e.__scopeMenu);return(0,u.jsx)(nz,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),nW=(0,tA.createSlot)("MenuContent.ScrollLock"),nz=c.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEntryFocus:s,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:v,onDismiss:g,disableOutsideScroll:x,...E}=e,C=nP(n_,n),R=nT(n_,n),S=nR(n),P=nk(n),M=nb(n),[T,A]=c.useState(null),L=c.useRef(null),D=(0,f.useComposedRefs)(t,L,C.onContentChange),j=c.useRef(0),O=c.useRef(""),N=c.useRef(0),_=c.useRef(null),I=c.useRef("right"),F=c.useRef(0),H=x?nf:c.Fragment;c.useEffect(()=>()=>window.clearTimeout(j.current),[]),c.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??b()),document.body.insertAdjacentElement("beforeend",e[1]??b()),w++,()=>{1===w&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),w--}},[]);let B=c.useCallback(e=>{var t,n;return I.current===_.current?.side&&(t=e,!!(n=_.current?.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],l=t[i],s=a.x,u=a.y,c=l.x,d=l.y;u>r!=d>r&&n<(c-s)*(r-u)/(d-u)+s&&(o=!o)}return o}({x:t.clientX,y:t.clientY},n))},[]);return(0,u.jsx)(nI,{scope:n,searchRef:O,onItemEnter:c.useCallback(e=>{B(e)&&e.preventDefault()},[B]),onItemLeave:c.useCallback(e=>{B(e)||(L.current?.focus(),A(null))},[B]),onTriggerLeave:c.useCallback(e=>{B(e)&&e.preventDefault()},[B]),pointerGraceTimerRef:N,onPointerGraceIntentChange:c.useCallback(e=>{_.current=e},[]),children:(0,u.jsx)(H,{...x?{as:nW,allowPinchZoom:!0}:void 0,children:(0,u.jsx)(k,{asChild:!0,trapped:o,onMountAutoFocus:(0,d.composeEventHandlers)(i,e=>{e.preventDefault(),L.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:(0,u.jsx)(y.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:v,onDismiss:g,children:(0,u.jsx)(tR,{asChild:!0,...P,dir:R.dir,orientation:"vertical",loop:r,currentTabStopId:T,onCurrentTabStopIdChange:A,onEntryFocus:(0,d.composeEventHandlers)(s,e=>{R.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,u.jsx)(ti,{role:"menu","aria-orientation":"vertical","data-state":ri(C.open),"data-radix-menu-content":"",dir:R.dir,...S,...E,ref:D,style:{outline:"none",...E.style},onKeyDown:(0,d.composeEventHandlers)(E.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.ke
2y.length;if(t){var o;let t,i,a,l,s,u;"Tab"===e.key&&e.preventDefault(),!n&&r&&(o=e.key,t=O.current+o,i=M().filter(e=>!e.disabled),a=document.activeElement,l=i.find(e=>e.ref.current===a)?.textValue,s=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=(r=Math.max(i,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(a=a.filter(e=>e!==n));let l=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}(i.map(e=>e.textValue),t,l),u=i.find(e=>e.textValue===s)?.ref.current,function e(t){O.current=t,window.clearTimeout(j.current),""!==t&&(j.current=window.setTimeout(()=>e(""),1e3))}(t),u&&setTimeout(()=>u.focus()))}let i=L.current;if(e.target!==i||!nh.includes(e.key))return;e.preventDefault();let a=M().filter(e=>!e.disabled).map(e=>e.ref.current);nm.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,d.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(j.current),O.current="")}),onPointerMove:(0,d.composeEventHandlers)(e.onPointerMove,rs(e=>{let t=e.target,n=F.current!==e.clientX;e.currentTarget.contains(t)&&n&&(I.current=e.clientX>F.current?"right":"left",F.current=e.clientX)}))})})})})})})});nH.displayName=n_;var nV=c.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,u.jsx)(h.Primitive.div,{role:"group",...r,ref:t})});nV.displayName="MenuGroup";var nG=c.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,u.jsx)(h.Primitive.div,{...r,ref:t})});nG.displayName="MenuLabel";var nX="MenuItem",nU="menu.itemSelect",n$=c.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...o}=e,i=c.useRef(null),a=nT(nX,e.__scopeMenu),l=nF(nX,e.__scopeMenu),s=(0,f.useComposedRefs)(t,i),p=c.useRef(!1);return(0,u.jsx)(nY,{...o,ref:s,disabled:n,onClick:(0,d.composeEventHandlers)(e.onClick,()=>{let e=i.current;if(!n&&e){let t=new CustomEvent(nU,{bubbles:!0,cancelable:!0});e.addEventListener(nU,e=>r?.(e),{once:!0}),(0,h.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?p.current=!1:a.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),p.current=!0},onPointerUp:(0,d.composeEventHandlers)(e.onPointerUp,e=>{p.current||e.currentTarget?.click()}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==l.searchRef.current;n||t&&" "===e.key||np.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});n$.displayName=nX;var nY=c.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=nF(nX,n),l=nk(n),s=c.useRef(null),p=(0,f.useComposedRefs)(t,s),[m,v]=c.useState(!1),[g,y]=c.useState("");return c.useEffect(()=>{let e=s.current;e&&y((e.textContent??"").trim())},[i.children]),(0,u.jsx)(nw.ItemSlot,{scope:n,disabled:r,textValue:o??g,children:(0,u.jsx)(tP,{asChild:!0,...l,focusable:!r,children:(0,u.jsx)(h.Primitive.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:p,onPointerMove:(0,d.composeEventHandlers)(e.onPointerMove,rs(e=>{r?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,d.composeEventHandlers)(e.onPointerLeave,rs(e=>a.onItemLeave(e))),onFocus:(0,d.composeEventHandlers)(e.onFocus,()=>v(!0)),onBlur:(0,d.composeEventHandlers)(e.onBlur,()=>v(!1))})})})}),nq=c.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,u.jsx)(n8,{scope:e.__scopeMenu,checked:n,children:(0,u.jsx)(n$,{role:"menuitemcheckbox","aria-checked":ra(n)?"mixed":n,...o,ref:t,"data-state":rl(n),onSelect:(0,d.composeEventHandlers)(o.onSelect,()=>r?.(!!ra(n)||!n),{checkForDefaultPrevented:!1})})})});nq.displayName="MenuCheckboxItem";var nZ="MenuRadioGroup",[nJ,nQ]=nE(nZ,{value:void 0,onValueChange:()=>{}}),n0=c.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,i=(0,x.useCallbackRef)(r);return(0,u.jsx)(nJ,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,u.jsx)(nV,{...o,ref:t})})});n0.displayName=nZ;var n1="MenuRadioItem",n2=c.forwardRef((e,t)=>{let{value:n,...r}=e,o=nQ(n1,e.__scopeMenu),i=n===o.value;return(0,u.jsx)(n8,{scope:e.__scopeMenu,checked:i,children:(0,u.jsx)(n$,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":rl(i),onSelect:(0,d.composeEventHandlers)(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});n2.displayName=n1;var n3="MenuItemIndicator",[n8,n5]=nE(n3,{checked:!1}
2),n4=c.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,i=n5(n3,n);return(0,u.jsx)(tp.Presence,{present:r||ra(i.checked)||!0===i.checked,children:(0,u.jsx)(h.Primitive.span,{...o,ref:t,"data-state":rl(i.checked)})})});n4.displayName=n3;var n6=c.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,u.jsx)(h.Primitive.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});n6.displayName="MenuSeparator";var n7=c.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=nR(n);return(0,u.jsx)(ts,{...o,...r,ref:t})});n7.displayName="MenuArrow";var[n9,re]=nE("MenuSub"),rt="MenuSubTrigger",rn=c.forwardRef((e,t)=>{let n=nP(rt,e.__scopeMenu),r=nT(rt,e.__scopeMenu),o=re(rt,e.__scopeMenu),i=nF(rt,e.__scopeMenu),a=c.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:s}=i,p={__scopeMenu:e.__scopeMenu},m=c.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return c.useEffect(()=>m,[m]),c.useEffect(()=>{let e=l.current;return()=>{window.clearTimeout(e),s(null)}},[l,s]),(0,u.jsx)(nL,{asChild:!0,...p,children:(0,u.jsx)(nY,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":ri(n.open),...e,ref:(0,f.composeRefs)(t,o.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,d.composeEventHandlers)(e.onPointerMove,rs(t=>{i.onItemEnter(t),!t.defaultPrevented&&(e.disabled||n.open||a.current||(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,d.composeEventHandlers)(e.onPointerLeave,rs(e=>{m();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,o="right"===r,a=t[o?"left":"right"],s=t[o?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:a,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:a,y:t.bottom}],side:r}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,t=>{let o=""!==i.searchRef.current;e.disabled||o&&" "===t.key||nv[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});rn.displayName=rt;var rr="MenuSubContent",ro=c.forwardRef((e,t)=>{let n=nO(n_,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=nP(n_,e.__scopeMenu),a=nT(n_,e.__scopeMenu),l=re(rr,e.__scopeMenu),s=c.useRef(null),p=(0,f.useComposedRefs)(t,s);return(0,u.jsx)(nw.Provider,{scope:e.__scopeMenu,children:(0,u.jsx)(tp.Presence,{present:r||i.open,children:(0,u.jsx)(nw.Slot,{scope:e.__scopeMenu,children:(0,u.jsx)(nz,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:p,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{a.isUsingKeyboardRef.current&&s.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,d.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==l.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,d.composeEventHandlers)(e.onEscapeKeyDown,e=>{a.onClose(),e.preventDefault()}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=ng[a.dir].includes(e.key);t&&n&&(i.onOpenChange(!1),l.trigger?.focus(),e.preventDefault())})})})})})});function ri(e){return e?"open":"closed"}function ra(e){return"indeterminate"===e}function rl(e){return ra(e)?"indeterminate":e?"checked":"unchecked"}function rs(e){return t=>"mouse"===t.pointerType?e(t):void 0}ro.displayName=rr;var ru="DropdownMenu",[rc,rd]=(0,p.createContextScope)(ru,[nC]),rf=nC(),[rp,rm]=rc(ru),rh=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:a,modal:l=!0}=e,s=rf(t),d=c.useRef(null),[f,p]=(0,m.useControllableState)({prop:o,defaultProp:i??!1,onChange:a,caller:ru});return(0,u.jsx)(rp,{scope:t,triggerId:(0,L.useId)(),triggerRef:d,contentId:(0,L.useId)(),open:f,onOpenChange:p,onOpenToggle:c.useCallback(()=>p(e=>!e),[p]),modal:l,children:(0,u.jsx)(nA,{...s,open:f,onOpenChange:p,dir:r,modal:l,children:n})})};rh.displayName=ru;var rv="DropdownMenuTrigger",rg=c.forwardRef((e,t)=>
2{let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=rm(rv,n),a=rf(n);return(0,u.jsx)(nL,{asChild:!0,...a,children:(0,u.jsx)(h.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:(0,f.composeRefs)(t,i.triggerRef),onPointerDown:(0,d.composeEventHandlers)(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});rg.displayName=rv;var ry=e=>{let{__scopeDropdownMenu:t,...n}=e,r=rf(t);return(0,u.jsx)(nN,{...r,...n})};ry.displayName="DropdownMenuPortal";var rw="DropdownMenuContent",rb=c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rm(rw,n),i=rf(n),a=c.useRef(!1);return(0,u.jsx)(nH,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:(0,d.composeEventHandlers)(e.onCloseAutoFocus,e=>{a.current||o.triggerRef.current?.focus(),a.current=!1,e.preventDefault()}),onInteractOutside:(0,d.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rb.displayName=rw,c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(nV,{...o,...r,ref:t})}).displayName="DropdownMenuGroup",c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(nG,{...o,...r,ref:t})}).displayName="DropdownMenuLabel";var rx=c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(n$,{...o,...r,ref:t})});rx.displayName="DropdownMenuItem",c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(nq,{...o,...r,ref:t})}).displayName="DropdownMenuCheckboxItem",c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(n0,{...o,...r,ref:t})}).displayName="DropdownMenuRadioGroup",c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(n2,{...o,...r,ref:t})}).displayName="DropdownMenuRadioItem",c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(n4,{...o,...r,ref:t})}).displayName="DropdownMenuItemIndicator",c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(n6,{...o,...r,ref:t})}).displayName="DropdownMenuSeparator";var rE=c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(n7,{...o,...r,ref:t})});rE.displayName="DropdownMenuArrow",c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(rn,{...o,...r,ref:t})}).displayName="DropdownMenuSubTrigger",c.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rf(n);return(0,u.jsx)(ro,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var rC=e.i(520561);let rR={ab:"ÐÒ§ÑÑа",aa:"Qafar af",af:"Afrikaans",ak:"Akan",sq:"Shqip",am:"á ááá",ar:"Ø§ÙØ¹Ø±Ø¨ÙØ©",an:"Aragonés",hy:"ÕÕ¡ÕµÕ¥ÖÕ¥Õ¶",as:"à¦
সমà§à¦¯à¦¼à¦¾",av:"ÐÐ²Ð°Ñ Ð¼Ð°ÑÓ",ae:"UpastawakaÄna",ay:"Aymar aru",az:"AzÉrbaycan",bm:"Bamanakan",ba:"ÐаÑҡоÑÑ Ñеле",eu:"Euskara",be:"ÐелаÑÑÑкаÑ",bn:"বাà¦à¦²à¦¾",bh:"Bihari",bi:"Bislama",b
2s:"Bosanski",br:"Brezhoneg",bg:"ÐÑлгаÑÑки",my:"áá¼ááºáá¬",ca:"Català ",ch:"Finu' Chamoru",ce:"ÐÐ¾Ñ Ñийн",ny:"Chichewa, Chewa, Nyanja",zh:"䏿","zh-Hans":"ç®ä½ä¸æ","zh-Hant":"ç¹é«ä¸æ",cv:"ЧÓваÑ",kw:"Kernewek",co:"Corsu",cr:"áá¦áááá§áá§á£",hr:"Hrvatski",cs:"ÄeÅ¡tina",da:"Dansk",dv:"ÞÞ¨ÞÞ¬ÞÞ¨ÞÞ¦ÞÞ°",nl:"Nederlands",dz:"རྫོà½à¼à½",en:"English",et:"Eesti",ee:"EÊegbe",fo:"Føroyskt",fil:"Filipino",fj:"Na Vosa Vakaviti",fi:"Suomi",fr:"Français",ff:"Pulaar",gl:"Galego",gd:"Gà idhlig",gv:"Gaelg",ka:"á¥áá áá£áá",de:"Deutsch",el:"Îλληνικά",gn:"Avañe'ẽ",gu:"àªà«àªàª°àª¾àª¤à«",ht:"Kreyòl ayisyen",ha:"Hausa",he:"×¢×ר×ת",hz:"Otjiherero",hi:"हिनà¥à¤¦à¥",ho:"Hiri Motu",hu:"Magyar",is:"Ãslenska",io:"Ido",ig:"Igbo",id:"Bahasa Indonesia",ie:"Interlingue",iu:"áááááá¦",it:"Italiano",ja:"æ¥æ¬èª",jv:"Jawa",kl:"Kalaallisut",kn:"à²à²¨à³à²¨à²¡",kr:"Kà nùrÃ",ks:"Ú©Ù²Ø´ÙØ±",km:"ááááá",ki:"Gikuyu",rn:"Ikirundi",ko:"íêµì´",ku:"Kurdî",kj:"Oshikwanyama",lo:"ລາວ",la:"Latinum",lv:"LatvieÅ¡u",ln:"Lingála",lt:"Lietuvių",lg:"Luganda",lb:"Lëtzebuergesch",mk:"ÐакедонÑки",mg:"Malagasy",ms:"Melayu",ml:"മലയാളà´",mt:"Malti",mi:"MÄori",mr:"मराठà¥",mh:"Kajin á¹ajeḷ",mo:"MoldoveneascÄ",mn:"Ðонгол",na:"Dorerin Naoe",nv:"Diné Bizaad",ng:"Oshindonga",nd:"isiNdebele (Northern)",ne:"नà¥à¤ªà¤¾à¤²à¥",no:"Norsk",nb:"Norsk bokmÃ¥l",nn:"Norsk nynorsk",ii:"êê ê",oc:"Occitan",oj:"ááááá¯á§áá",cu:"СлавеÌнÑкÑй ѧÒзÑÌкÑ",or:"à¬à¬¡à¬¼à¬¿à¬",om:"Oromoo",os:"ÐÑон",pi:"PÄli",ps:"Ù¾ÚØªÙ",fa:"ÙØ§Ø±Ø³Û",pl:"Polski",pt:"Português","pt-BR":"Português do Brasil","pt-PT":"Português europeu",pa:"ਪੰà¨à¨¾à¨¬à©",qu:"Runasimi",rm:"Rumantsch",ro:"RomânÄ",ru:"Ð ÑÑÑкий",se:"Davvisámegiella",sm:"Gagana faÊ»a SÄmoa",sg:"Sängö",sa:"सà¤à¤¸à¥à¤à¥à¤¤ à¤à¤¾à¤·à¤¾",sr:"СÑпÑки",sh:"Srpskohrvatski",st:"Sesotho",tn:"Setswana",sn:"chiShona",sd:"سÙÚÙ",si:"à·à·à¶à·à¶½",ss:"siSwati",sk:"SlovenÄina",sl:"SlovenÅ¡Äina",so:"Soomaali",nr:"isiNdebele (Southern)",es:"Español",su:"Basa Sunda",sw:"Kiswahili",sv:"Svenska",tl:"Tagalog",ty:"Reo Tahiti",tg:"Тоҷикӣ",ta:"தமிழà¯",tt:"ТаÑаÑ",te:"à°¤à±à°²à±à°à±",th:"à¹à¸à¸¢",bo:"à½à½¼à½à¼à½¦à¾à½à¼",ti:"áµááá",to:"Lea fakatonga",ts:"Xitsonga",tr:"Türkçe",tk:"Türkmen dili",tw:"Twi",ug:"ئÛÙØºÛرÚÛ",uk:"УкÑаÑнÑÑка",ur:"اردÙ",ve:"Tshivená¸a",vi:"Tiếng Viá»t",vo:"Volapük",wa:"Walon",cy:"Cymraeg",wo:"Wolof",fy:"Frysk",xh:"isiXhosa",yi:"××Ö´××ש",yo:"Ãdè Yorùbá",za:"Vahcuengh",zu:"isiZulu"};e.i(442589);var rk=e.i(537826);e.i(383013);var rS=e.i(793482);e.s(["LanguageDropdown",0,e=>{let t=(0,c.useRef)(null),[n,r]=(0,c.useState)();(0,c.useEffect)(()=>{r(t.current?.ownerDocument.body)},[]);let o=e.languages.map(e=>({id:e.languageCode,label:rR[e.languageCode],link:`/${e.homepage}`})).sort((e,t)=>e.label.localeCompare(t.label));return o.unshift({id:e.defaultLanguage,label:rR[e.defaultLanguage],link:"/"}),(0,u.jsxs)(rh,{children:[(0,u.jsx)(rg,{children:(0,u.jsx)("div",{ref:t,className:(0,rC.cn)(e.notion?"notion-navbar__button":"super-navbar__button","super-navbar__language-dropdown"),children:(0,u.jsx)(rS.Icon,{type:"Globe",size:20})})}),(0,u.jsx)(ry,{container:n,children:(0,u.jsxs)(rb,{className:"super-navbar__language-dropdown-content",sideOffset:16,collisionPadding:40,children:[(0,u.jsx)(rE,{color:"var(--navbar-background-color)"}),(0,u.jsx)("div",{className:"super-navbar__language-dropdown-list",children:o.map(e=>(0,u.jsx)(rx,{asChild:!0,children:(0,u.jsx)(rk.Link,{uri:e.link,className:"super-navbar__language-dropdown-item",children:(0,u.jsx)("p",{children:e.label})})},e.id))})]})})]})}],61182)}]); 3 4//# debugId=a734c977-0caf-124c-cccf-edd8fee104a9
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.