1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81979],{33989:(e,t,n)=>{n.d(t,{Eq:()=>u});var r=new WeakMap,o=new WeakMap,i={},a=0,l=function(e){return e&&(e.host||l(e.parentNode))},c=function(e,t,n,c){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=l(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});i[n]||(i[n]=new WeakMap);var s=i[n],f=[],d=new Set,p=new Set(u),h=function(e){!e||d.has(e)||(d.add(e),h(e.parentNode))};u.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))m(e);else try{var t=e.getAttribute(c),i=null!==t&&"false"!==t,a=(r.get(e)||0)+1,l=(s.get(e)||0)+1;r.set(e,a),s.set(e,l),f.push(e),1===a&&i&&o.set(e,!0),1===l&&e.setAttribute(n,"true"),i||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),d.clear(),a++,function(){f.forEach(function(e){var t=r.get(e)-1,i=s.get(e)-1;r.set(e,t),s.set(e,i),t||(o.has(e)||e.removeAttribute(c),o.delete(e)),i||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,o=new WeakMap,i={})}},u=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"))),c(r,o,n,"aria-hidden")):function(){return null}}},38980:(e,t,n)=>{n.d(t,{X:()=>i});var r=n(57373),o=n(22876);function i(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{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}},47812:(e,t,n)=>{n.d(t,{Cl:()=>r,Tt:()=>o,fX:()=>a,sH:()=>i});var r=function(){return(r=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 o(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}function i(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}c((r=r.apply(e,t||[])).next())})}function a(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))}"function"==typeof SuppressedError&&SuppressedError},62523:(e,t,n)=>{n.d(t,{qW:()=>d});var r,o=n(57373),i=n(66137),a=n(56138),l=n(17245),c=n(79016),u=n(99977),s="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=o.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:d,onPointerDownOutside:m,onFocusOutside:v,onInteractOutside:g,onDismiss:y,...w}=e,b=o.useContext(f),[x,E]=o.useState(null),C=x?.ownerDocument??globalThis?.document,[,R]=o.useState({}),A=(0,l.s)(t,e=>E(e)),S=Array.from(b.layers),[P]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),L=S.indexOf(P),O=x?S.indexOf(x):-1,T=b.layersWithOutsidePointerEventsDisabled.size>0,k=O>=L,N=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,n=(0,c.c)(e),r=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){h("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));k&&!n&&(m?.(e),g?.(e),e.defaultPrevented||y?.())},C),D=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,n=(0,c.c)(e),r=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!r.current&&h("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.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 n=(0,c.c)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{O===b.layers.size-1&&(d?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},C),o.useEffect(()=>{if(x)return n&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(r=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(x)),b.layers.add(x),p(),()=>{n&&1===b.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=r)}},[x,C,n,b]),o.useEffect(()=>()=>{x&&(b.layers.delete(x),b.layersWithOutsidePointerEventsDisabled.delete(x),p())},[x,b]),o.useEffect(()=>{let e=()=>R({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,u.jsx)(a.sG.div,{...w,ref:A,style:{pointerEvents:T?k?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.mK)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,i.mK)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,i.mK)(e.onPointerDownCapture,N.onPointerDownCapture)})});function p(){let e=new CustomEvent(s);document.dispatchEvent(e)}function h(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,a.hO)(i,l):i.dispatchEvent(l)}d.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(f),r=o.useRef(null),i=(0,l.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(a.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},67306:(e,t,n)=>{n.d(t,{Oh:()=>i});var r=n(57373),o=0;function i(){r.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??a()),document.body.insertAdjacentElement("beforeend",e[1]??a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){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}},70720:(e,t,n)=>{let r;n.d(t,{n:()=>d});var o=n(57373),i=n(17245),a=n(56138),l=n(79016),c=n(99977),u="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",f={bubbles:!1,cancelable:!0},d=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:d,onUnmountAutoFocus:g,...y}=e,[w,b]=o.useState(null),x=(0,l.c)(d),E=(0,l.c)(g),C=o.useRef(null),R=(0,i.s)(t,e=>b(e)),A=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(A.paused||!w)return;let t=e.target;w.contains(t)?C.current=t:m(C.current,{select:!0})},t=function(e){if(A.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||m(C.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(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,w,A.paused]),o.useEffect(()=>{if(w){v.add(A);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(u,f);w.addEventListener(u,x),w.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(p(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(w))}return()=>{w.removeEventListener(u,x),setTimeout(()=>{let t=new CustomEvent(s,f);w.addEventListener(s,E),w.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),w.removeEventListener(s,E),v.remove(A)},0)}}},[w,x,E,A]);let S=o.useCallback(e=>{if(!n&&!r||A.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]=[h(t=p(i=r),i),h(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,A.paused]);return(0,c.jsx)(a.sG.div,{tabIndex:-1,...y,ref:R,onKeyDown:S})});function p(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 h(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[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()}}d.displayName="FocusScope";var v=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=g(r,e)).unshift(e)},remove(e){r=g(r,e),r[0]?.resume()}});function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},76794:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(57373),o=n(11664),i=n(56138),a=n(22876),l=n(99977),c=r.forwardRef((e,t)=>
1{let{container:n,...c}=e,[u,s]=r.useState(!1);(0,a.N)(()=>s(!0),[]);let f=n||u&&globalThis?.document?.body;return f?o.createPortal((0,l.jsx)(i.sG.div,{...c,ref:t}),f):null});c.displayName="Portal"},79016:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(57373);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},81979:(e,t,n)=>{let r;n.d(t,{Mz:()=>tw,UC:()=>tE,ZL:()=>tx,bL:()=>ty,l9:()=>tb});var o=n(57373),i=n(66137),a=n(17245),l=n(25009),c=n(62523),u=n(67306),s=n(70720),f=n(79176);let d=["top","right","bottom","left"],p=Math.min,h=Math.max,m=Math.round,v=Math.floor,g=e=>({x:e,y:e}),y={left:"right",right:"left",bottom:"top",top:"bottom"};function w(e,t){return"function"==typeof e?e(t):e}function b(e){return e.split("-")[0]}function x(e){return e.split("-")[1]}function E(e){return"x"===e?"y":"x"}function C(e){return"y"===e?"height":"width"}function R(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function A(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let S=["left","right"],P=["right","left"],L=["top","bottom"],O=["bottom","top"];function T(e){let t=b(e);return y[t]+e.slice(t.length)}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function N(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 D(e,t,n){let r,{reference:o,floating:i}=e,a=R(t),l=E(R(t)),c=C(l),u=b(t),s="y"===a,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[c]/2-i[c]/2;switch(u){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(x(t)){case"start":r[l]-=p*(n&&s?-1:1);break;case"end":r[l]+=p*(n&&s?-1:1)}return r}async function M(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=w(t,e),h=k(p),m=l[d?"floating"===f?"reference":"floating":f],v=N(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:s,strategy:c})),g="floating"===f?{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)),b=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},x=N(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:c}):g);return{top:(v.top-x.top+h.top)/b.y,bottom:(x.bottom-v.bottom+h.bottom)/b.y,left:(v.left-x.left+h.left)/b.x,right:(x.right-v.right+h.right)/b.x}}let F=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=a.detectOverflow?a:{...a,detectOverflow:M},c=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=D(u,r,c),d=r,p=0,h={};for(let n=0;n<i.length;n++){let m=i[n];if(!m)continue;let{name:v,fn:g}=m,{x:y,y:w,data:b,reset:x}=await g({x:s,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:u,platform:l,elements:{reference:e,floating:t}});s=null!=y?y:s,f=null!=w?w:f,h[v]={...h[v],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(u=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:s,y:f}=D(u,d,c)),n=-1)}return{x:s,y:f,placement:d,strategy:o,middlewareData:h}};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 W(e){return d.some(t=>e[t]>=0)}let I=new Set(["left","top"]);async function H(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=b(n),l=x(n),c="y"===R(n),u=I.has(a)?-1:1,s=i&&c?-1:1,f=w(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}
1:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),c?{x:p*s,y:d*u}:{x:d*u,y:p*s}}function B(){return"u">typeof window}function _(e){return $(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function K(e){var t;return null==(t=($(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function $(e){return!!B()&&(e instanceof Node||e instanceof z(e).Node)}function X(e){return!!B()&&(e instanceof Element||e instanceof z(e).Element)}function Y(e){return!!B()&&(e instanceof HTMLElement||e instanceof z(e).HTMLElement)}function G(e){return!(!B()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof z(e).ShadowRoot)}function V(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=en(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function q(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let Z=/transform|translate|scale|rotate|perspective|filter/,U=/paint|layout|strict|content/,J=e=>!!e&&"none"!==e;function Q(e){let t=X(e)?en(e):e;return J(t.transform)||J(t.translate)||J(t.scale)||J(t.rotate)||J(t.perspective)||!ee()&&(J(t.backdropFilter)||J(t.filter))||Z.test(t.willChange||"")||U.test(t.contain||"")}function ee(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function et(e){return/^(html|body|#document)$/.test(_(e))}function en(e){return z(e).getComputedStyle(e)}function er(e){return X(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eo(e){if("html"===_(e))return e;let t=e.assignedSlot||e.parentNode||G(e)&&e.host||K(e);return G(t)?t.host:t}function ei(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eo(t);return et(n)?t.ownerDocument?t.ownerDocument.body:t.body:Y(n)&&V(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=z(o);if(!i)return t.concat(o,ei(o,[],n));{let e=ea(a);return t.concat(a,a.visualViewport||[],V(o)?o:[],e&&n?ei(e):[])}}function ea(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function el(e){let t=en(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=Y(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=m(n)!==i||m(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function ec(e){return X(e)?e:e.contextElement}function eu(e){let t=ec(e);if(!Y(t))return g(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=el(t),a=(i?m(n.width):n.width)/r,l=(i?m(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let es=g(0);function ef(e){let t=z(e);return ee()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:es}function ed(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=ec(e),l=g(1);t&&(r?X(r)&&(l=eu(r)):l=eu(e));let c=(void 0===(o=n)&&(o=!1),r&&(!o||r===z(a))&&o)?ef(a):g(0),u=(i.left+c.x)/l.x,s=(i.top+c.y)/l.y,f=i.width/l.x,d=i.height/l.y;if(a){let e=z(a),t=r&&X(r)?z(r):r,n=e,o=ea(n);for(;o&&r&&t!==n;){let e=eu(o),t=o.getBoundingClientRect(),r=en(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,s*=e.y,f*=e.x,d*=e.y,u+=i,s+=a,o=ea(n=z(o))}}return N({width:f,height:d,x:u,y:s})}function ep(e,t){let n=er(e).scrollLeft;return t?t.left+n:ed(K(e)).left+n}function eh(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ep(e,n),y:n.top+t.scrollTop}}function em(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=z(e),r=K(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;let e=ee();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}let u=ep(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:c}}(e,n);else if("document"===t){let t,n,i,a,l,c,u;r=K(e),t=K(r),n=er(r),i=r.ownerDocument.body,a=h(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=h(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),c=-n.scrollLeft+ep(r),u=-n.scrollTop,"rtl"===en(i).direction&&(c+=h(t.clientWidth,i.clientWidth)-a),o={width:a,height:l,x:c,y:u}}else if(X(t)){let e,r,i,a,l,c;r=(e=ed(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,a=Y(t)?eu(t):g(1),l=t.clientWidth*a.x,c=t.clientHeight*a.y,o={width:l,height:c,x:i*a.x,y:r*a.y}}else{let n=ef(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return N(o)}function ev(e){return"static"===en(e).position}function eg(e,t){if(!Y(e)||"fixed"===en(e).position)return null;if(t)return t(e);let n=e.offsetParent;return K(e)===n&&(n=n.ownerDocument.body),n}function ey(e,t){var n;let r=z(e);
1if(q(e))return r;if(!Y(e)){let t=eo(e);for(;t&&!et(t);){if(X(t)&&!ev(t))return t;t=eo(t)}return r}let o=eg(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(_(n)))&&ev(o);)o=eg(o,t);return o&&et(o)&&ev(o)&&!Q(o)?r:o||function(e){let t=eo(e);for(;Y(t)&&!et(t);){if(Q(t))return t;if(q(t))break;t=eo(t)}return null}(e)||r}let ew=async function(e){let t=this.getOffsetParent||ey,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=Y(t),o=K(t),i="fixed"===n,a=ed(e,!0,i,t),l={scrollLeft:0,scrollTop:0},c=g(0);if(r||!r&&!i)if(("body"!==_(t)||V(o))&&(l=er(t)),r){let e=ed(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=ep(o));i&&!r&&o&&(c.x=ep(o));let u=!o||r||i?g(0):eh(o,l);return{x:a.left+l.scrollLeft-c.x-u.x,y:a.top+l.scrollTop-c.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}}},eb={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=K(r),l=!!t&&q(t.floating);if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=g(1),s=g(0),f=Y(r);if((f||!f&&!i)&&(("body"!==_(r)||V(a))&&(c=er(r)),f)){let e=ed(r);u=eu(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}let d=!a||f||i?g(0):eh(a,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+s.x+d.x,y:n.y*u.y-c.scrollTop*u.y+s.y+d.y}},getDocumentElement:K,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ei(e,[],!1).filter(e=>X(e)&&"body"!==_(e)),o=null,i="fixed"===en(e).position,a=i?eo(e):e;for(;X(a)&&!et(a);){let t=en(a),n=Q(a);n||"fixed"!==t.position||(o=null),(i?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||V(a)&&!n&&function e(t,n){let r=eo(t);return!(r===n||!X(r)||et(r))&&("fixed"===en(r).position||e(r,n))}(e,a)))?o=t:r=r.filter(e=>e!==a),a=eo(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=em(t,i[0],o),l=a.top,c=a.right,u=a.bottom,s=a.left;for(let e=1;e<i.length;e++){let n=em(t,i[e],o);l=h(n.top,l),c=p(n.right,c),u=p(n.bottom,u),s=h(n.left,s)}return{width:c-s,height:u-l,x:s,y:l}},getOffsetParent:ey,getElementRects:ew,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=el(e);return{width:t,height:n}},getScale:eu,isElement:X,isRTL:function(e){return"rtl"===en(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eE=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:s=0}=w(e,t)||{};if(null==u)return{};let f=k(s),d={x:n,y:r},m=E(R(o)),v=C(m),g=await a.getDimensions(u),y="y"===m,b=y?"clientHeight":"clientWidth",A=i.reference[v]+i.reference[m]-d[m]-i.floating[v],S=d[m]-i.reference[m],P=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),L=P?P[b]:0;L&&await (null==a.isElement?void 0:a.isElement(P))||(L=l.floating[b]||i.floating[v]);
1let O=L/2-g[v]/2-1,T=p(f[y?"top":"left"],O),N=p(f[y?"bottom":"right"],O),D=L-g[v]-N,M=L/2-g[v]/2+(A/2-S/2),F=h(T,p(M,D)),j=!c.arrow&&null!=x(o)&&M!==F&&i.reference[v]/2-(M<T?T:N)-g[v]/2<0,W=j?M<T?M-T:M-D:0;return{[m]:d[m]+W,data:{[m]:F,centerOffset:M-F-W,...j&&{alignmentOffset:W}},reset:j}}});var eC=n(11664),eR="u">typeof document?o.useLayoutEffect:function(){};function eA(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(!eA(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)&&!eA(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eS(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eP(e,t){let n=eS(e);return Math.round(t*n)/n}function eL(e){let t=o.useRef(e);return eR(()=>{t.current=e}),t}var eO=n(56138),eT=n(99977),ek=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eT.jsx)(eO.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eT.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ek.displayName="Arrow";var eN=n(79016),eD=n(22876),eM=n(38980),eF="Popper",[ej,eW]=(0,l.A)(eF),[eI,eH]=ej(eF),eB=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null);return(0,eT.jsx)(eI,{scope:t,anchor:r,onAnchorChange:i,children:n})};eB.displayName=eF;var e_="PopperAnchor",ez=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,l=eH(e_,n),c=o.useRef(null),u=(0,a.s)(t,c),s=o.useRef(null);return o.useEffect(()=>{let e=s.current;s.current=r?.current||c.current,e!==s.current&&l.onAnchorChange(s.current)}),r?null:(0,eT.jsx)(eO.sG.div,{...i,ref:u})});ez.displayName=e_;var eK="PopperContent",[e$,eX]=ej(eK),eY=o.forwardRef((e,t)=>{var n,r,i,l,c,u,s,f,d,m,g,y,k;let N,D,M,B,_,z,{__scopePopper:$,side:X="bottom",sideOffset:Y=0,align:G="center",alignOffset:V=0,arrowPadding:q=0,avoidCollisions:Z=!0,collisionBoundary:U=[],collisionPadding:J=0,sticky:Q="partial",hideWhenDetached:ee=!1,updatePositionStrategy:et="optimized",onPlaced:en,...er}=e,eo=eH(eK,$),[ea,el]=o.useState(null),eu=(0,a.s)(t,e=>el(e)),[es,ef]=o.useState(null),ep=(0,eM.X)(es),eh=ep?.width??0,em=ep?.height??0,ev="number"==typeof J?J:{top:0,right:0,bottom:0,left:0,...J},eg=Array.isArray(U)?U:[U],ey=eg.length>0,ew={padding:ev,boundary:eg.filter(eZ),altBoundary:ey},{refs:ek,floatingStyles:eF,placement:ej,isPositioned:eW,middlewareData:eI}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:l}={},transform:c=!0,whileElementsMounted:u,open:s}=e,[f,d]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=o.useState(r);eA(p,r)||h(r);let[m,v]=o.useState(null),[g,y]=o.useState(null),w=o.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=o.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),x=a||m,E=l||g,C=o.useRef(null),R=o.useRef(null),A=o.useRef(f),S=null!=u,P=eL(u),L=eL(i),O=eL(s),T=o.useCallback(()=>{var e,r;let o,i,a;if(!C.current||!R.current)return;let l={placement:t,strategy:n,middleware:p};L.current&&(l.platform=L.current),(e=C.current,r=R.current,o=new Map,a={...(i={platform:eb,...l}).platform,_c:o},F(e,r,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==O.current};k.current&&!eA(A.current,t)&&(A.current=t,eC.flushSync(()=>{d(t)}))})},[p,t,n,L,O]);eR(()=>{!1===s&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[s]);let k=o.useRef(!1);eR(()=>(k.current=!0,()=>{k.current=!1}),[]),eR(()=>{if(x&&(C.current=x),E&&(R.current=E),x&&E){if(P.current)return P.current(x,E,T);T()}},[x,E,T,P,S]);let N=o.useMemo(()=>({reference:C,floating:R,setReference:w,setFloating:b}),[w,b]),D=o.useMemo(()=>({reference:x,floating:E}),[x,E]),M=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eP(D.floating,f.x),r=eP(D.floating,f.y);return c?{...e,transform:"translate("+t+"px, "+r+"px)",...eS(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,c,D.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:T,refs:N,elements:D,floatingStyles:M}),[f,T,N,D,M])}({strategy:"fixed",placement:X+("center"!==G?"-"+G:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,s=ec(e),f=i||a?[...s?ei(s):[],...t?ei(t):[]]:[];
1f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let d=s&&c?function(e,t){let n,r=null,o=K(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),i();let u=e.getBoundingClientRect(),{left:s,top:f,width:d,height:m}=u;if(l||t(),!d||!m)return;let g={rootMargin:-v(f)+"px "+-v(o.clientWidth-(s+d))+"px "+-v(o.clientHeight-(f+m))+"px "+-v(s)+"px",threshold:h(0,p(1,c))||1},y=!0;function w(t){let r=t[0].intersectionRatio;if(r!==c){if(!y)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||ex(u,e.getBoundingClientRect())||a(),y=!1}try{r=new IntersectionObserver(w,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(w,g)}r.observe(e)}(!0),i}(s,n):null,m=-1,g=null;l&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===s&&g&&t&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),s&&!u&&g.observe(s),t&&g.observe(t));let y=u?ed(e):null;return u&&function t(){let r=ed(e);y&&!ex(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=g)||e.disconnect(),g=null,u&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===et})},elements:{reference:eo.anchor},middleware:[{name:(N={name:"offset",options:r=n={mainAxis:Y+em,alignmentAxis:V},async fn(e){var t,n;let{x:o,y:i,placement:a,middlewareData:l}=e,c=await H(e,r);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}).name,fn:N.fn,options:[n,void 0]},Z&&{name:(D={name:"shift",options:c=l={mainAxis:!0,crossAxis:!1,limiter:"partial"===Q?{fn:(i=void 0,{options:i={},fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:a}=e,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=w(i,e),s={x:t,y:n},f=R(r),d=E(f),p=s[d],h=s[f],m=w(l,e),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+v.mainAxis,n=o.reference[d]+o.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var g,y;let e="y"===d?"width":"height",t=I.has(b(r)),n=o.reference[f]-o.floating[e]+(t&&(null==(g=a.offset)?void 0:g[f])||0)+(t?0:v.crossAxis),i=o.reference[f]+o.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[f])||0)-(t?v.crossAxis:0);h<n?h=n:h>i&&(h=i)}return{[d]:p,[f]:h}}}).fn,options:[void 0,void 0]}:void 0,...ew},async fn(e){let{x:t,y:n,placement:r,platform:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=w(c,e),s={x:t,y:n},f=await o.detectOverflow(e,u),d=R(b(r)),m=E(d),v=s[m],g=s[d];if(i){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=v+f[e],r=v-f[t];v=h(n,p(v,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=g+f[e],r=g-f[t];g=h(n,p(g,r))}let y=l.fn({...e,[m]:v,[d]:g});return{...y,data:{x:y.x-t,y:y.y-n,enabled:{[m]:i,[d]:a}}}}}).name,fn:D.fn,options:[l,void 0]},Z&&{name:(M={name:"flip",options:s=u={...ew},async fn(e){var t,n,r,o,i,a,l,c;let u,f,d,{placement:p,middlewareData:h,rects:m,initialPlacement:v,platform:g,elements:y}=e,{mainAxis:k=!0,crossAxis:N=!0,fallbackPlacements:D,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:j=!0,...W}=w(s,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let I=b(p),H=R(v),B=b(v)===v,_=await (null==g.isRTL?void 0:g.isRTL(y.floating)),z=D||(B||!j?[T(v)]:(u=T(v),[A(v),u,A(u)])),K="none"!==F;!D&&K&&z.push(...(f=x(v),d=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?P:S;return t?S:P;
1case"left":case"right":return t?L:O;default:return[]}}(b(v),"start"===F,_),f&&(d=d.map(e=>e+"-"+f),j&&(d=d.concat(d.map(A)))),d));let $=[v,...z],X=await g.detectOverflow(e,W),Y=[],G=(null==(n=h.flip)?void 0:n.overflows)||[];if(k&&Y.push(X[I]),N){let e,t,n,r,o=(a=p,l=m,void 0===(c=_)&&(c=!1),e=x(a),n=C(t=E(R(a))),r="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=T(r)),[r,T(r)]);Y.push(X[o[0]],X[o[1]])}if(G=[...G,{placement:p,overflows:Y}],!Y.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,t=$[e];if(t&&("alignment"!==N||H===R(t)||G.every(e=>R(e.placement)!==H||e.overflows[0]>0)))return{data:{index:e,overflows:G},reset:{placement:t}};let n=null==(o=G.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(M){case"bestFit":{let e=null==(i=G.filter(e=>{if(K){let t=R(e.placement);return t===H||"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{}}}).name,fn:M.fn,options:[u,void 0]},{name:(B={name:"size",options:d=f={...ew,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width",`${r}px`),l.setProperty("--radix-popper-available-height",`${o}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${a}px`)}},async fn(e){var t,n;let r,o,{placement:i,rects:a,platform:l,elements:c}=e,{apply:u=()=>{},...s}=w(d,e),f=await l.detectOverflow(e,s),m=b(i),v=x(i),g="y"===R(i),{width:y,height:E}=a.floating;"top"===m||"bottom"===m?(r=m,o=v===(await (null==l.isRTL?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(o=m,r="end"===v?"top":"bottom");let C=E-f.top-f.bottom,A=y-f.left-f.right,S=p(E-f[r],C),P=p(y-f[o],A),L=!e.middlewareData.shift,O=S,T=P;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(T=A),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(O=C),L&&!v){let e=h(f.left,0),t=h(f.right,0),n=h(f.top,0),r=h(f.bottom,0);g?T=y-2*(0!==e||0!==t?e+t:h(f.left,f.right)):O=E-2*(0!==n||0!==r?n+r:h(f.top,f.bottom))}await u({...e,availableWidth:T,availableHeight:O});let k=await l.getDimensions(c.floating);return y!==k.width||E!==k.height?{reset:{rects:!0}}:{}}}).name,fn:B.fn,options:[f,void 0]},es&&{name:(_={name:"arrow",options:g=m={element:es,padding:q},fn(e){let{element:t,padding:n}="function"==typeof g?g(e):g;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eE({element:t.current,padding:n}).fn(e):{}:t?eE({element:t,padding:n}).fn(e):{}}}).name,fn:_.fn,options:[m,void 0]},eU({arrowWidth:eh,arrowHeight:em}),ee&&{name:(z={name:"hide",options:k=y={strategy:"referenceHidden",...ew},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=w(k,e);switch(r){case"referenceHidden":{let r=j(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:W(r)}}}case"escaped":{let r=j(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:W(r)}}}default:return{}}}}).name,fn:z.fn,options:[y,void 0]}]}),[eB,e_]=eJ(ej),ez=(0,eN.c)(en);(0,eD.N)(()=>{eW&&ez?.()},[eW,ez]);let eX=eI.arrow?.x,eY=eI.arrow?.y,eG=eI.arrow?.centerOffset!==0,[eV,eq]=o.useState();return(0,eD.N)(()=>{ea&&eq(window.getComputedStyle(ea).zIndex)},[ea]),(0,eT.jsx)("div",{ref:ek.setFloating,"data-radix-popper-content-wrapper":"",style:{...eF,transform:eW?eF.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eV,"--radix-popper-transform-origin":[eI.transformOrigin?.x,eI.transformOrigin?.y].join(" "),...eI.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eT.jsx)(e$,{scope:$,placedSide:eB,onArrowChange:ef,arrowX:eX,arrowY:eY,shouldHideArrow:eG,children:(0,eT.jsx)(eO.sG.div,{"data-side":eB,"data-align":e_,...er,ref:eu,style:{...er.style,animation:eW?void 0:"none"}})})})});eY.displayName=eK;var eG="PopperArrow",eV={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eq=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eX(eG,n),i=eV[o.placedSide];return(0,eT.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,eT.jsx)(ek,{...r,ref:t,style:{...r.style,display:"block"}})})});function eZ(e){return null!==e}eq.displayName=eG;var eU=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,[c,u]=eJ(n),s={start:"0%",center:"50%",end:"100%"}[u],f=(o.arrow?.x??0)+a/2,d=(o.arrow?.y??0)+l/2,p="",h="";return"bottom"===c?(p=i?s:`${f}px`,h=`${-l}px`):"top"===c?(p=i?s:`${f}px`,h=`${r.floating.height+l}px`):"right"===c?(p=`${-l}px`,h=i?s:`${d}px`):"left"===c&&(p=`${r.floating.width+l}px`,h=i?s:`${d}px`),{data:{x:p,y:h}}}});function eJ(e){let[t,n="center"]=e.split("-");return[t,n]}var eQ=n(76794),e0=n(33955),e1=n(59643),e7=n(51896),e2=n(33989),e3=n(90461),e9="Popover",[e5,e6]=(0,l.A)(e9,[eW]),e8=eW(),[e4,te]=e5(e9),tt=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:l=!1}=e,c=e8(t),u=o.useRef(null),[s,d]=o.useState(!1),[p,h]=(0,e7.i)({prop:r,defaultProp:i??!1,onChange:a,caller:e9});return(0,eT.jsx)(eB,{...c,children:(0,eT.jsx)(e4,{scope:t,contentId:(0,f.B)(),triggerRef:u,open:p,onOpenChange:h,onOpenToggle:o.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:s,onCustomAnchorAdd:o.useCallback(()=>d(!0),[]),onCustomAnchorRemove:o.useCallback(()=>d(!1),[]),modal:l,children:n})})};tt.displayName=e9;var tn="PopoverAnchor",tr=o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=te(tn,n),a=e8(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:c}=i;return o.useEffect(()=>(l(),()=>c()),[l,c]),(0,eT.jsx)(ez,{...a,...r,ref:t})});tr.displayName=tn;var to="PopoverTrigger",ti=o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=te(to,n),l=e8(n),c=(0,a.s)(t,o.triggerRef),u=(0,eT.jsx)(eO.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":tg(o.open),...r,ref:c,onClick:(0,i.mK)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,eT.jsx)(ez,{asChild:!0,...l,children:u})});ti.displayName=to;var ta="PopoverPortal",[tl,tc]=e5(ta,{forceMount:void 0}),tu=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=te(ta,t);return(0,eT.jsx)(tl,{scope:t,forceMount:n,children:(0,eT.jsx)(e0.C,{present:n||i.open,children:(0,eT.jsx)(eQ.Z,{asChild:!0,container:o,children:r})})})};tu.displayName=ta;var ts="PopoverContent",tf=o.forwardRef((e,t)=>{let n=tc(ts,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=te(ts,e.__scopePopover);return(0,eT.jsx)(e0.C,{present:r||i.open,children:i.modal?(0,eT.jsx)(tp,{...o,ref:t}):(0,eT.jsx)(th,{...o,ref:t})})});tf.displayName=ts;var td=(0,e1.TL)("PopoverContent.RemoveScroll"),tp=o.forwardRef((e,t)=>{let n=te(ts,e.__scopePopover),r=o.useRef(null),l=(0,a.s)(t,r),c=o.useRef(!1);return o.useEffect(()=>{let e=r.current;if(e)return(0,e2.Eq)(e)},[]),(0,eT.jsx)(e3.A,{as:td,allowPinchZoom:!0,children:(0,eT.jsx)(tm,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),c.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;c.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),th=o.forwardRef((e,t)=>{let n=te(ts,e.__scopePopover),r=o.useRef(!1),i=o.useRef(!1);return(0,eT.jsx)(tm,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;n.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),tm=o.forwardRef((e,t)=>
1{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:l,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,...h}=e,m=te(ts,n),v=e8(n);return(0,u.Oh)(),(0,eT.jsx)(s.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,eT.jsx)(c.qW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:p,onEscapeKeyDown:l,onPointerDownOutside:f,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1),children:(0,eT.jsx)(eY,{"data-state":tg(m.open),role:"dialog",id:m.contentId,...v,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tv="PopoverClose";function tg(e){return e?"open":"closed"}o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=te(tv,n);return(0,eT.jsx)(eO.sG.button,{type:"button",...r,ref:t,onClick:(0,i.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=tv,o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=e8(n);return(0,eT.jsx)(eq,{...o,...r,ref:t})}).displayName="PopoverArrow";var ty=tt,tw=tr,tb=ti,tx=tu,tE=tf},90461:(e,t,n)=>{n.d(t,{A:()=>q});var r,o,i,a,l,c,u,s=n(47812),f=n(57373),d="right-scroll-bar-position",p="width-before-scroll-bar";function h(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?f.useLayoutEffect:f.useEffect,v=new WeakMap,g=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),i=[],a=!1,l={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=o(e,a);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){a=!0;var t=[];if(i.length){var n=i;i=[],n.forEach(e),t=i}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=(0,s.Cl)({async:!0,ssr:!1},r),l),y=function(){},w=f.forwardRef(function(e,t){var n,r,o,i,a=f.useRef(null),l=f.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),c=l[0],u=l[1],d=e.forwardProps,p=e.children,w=e.className,b=e.removeScrollBar,x=e.enabled,E=e.shards,C=e.sideCar,R=e.noRelative,A=e.noIsolation,S=e.inert,P=e.allowPinchZoom,L=e.as,O=e.gapMode,T=(0,s.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(n=[a,t],r=function(e){return n.forEach(function(t){return h(t,e)})},(o=(0,f.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,m(function(){var e=v.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||h(e,null)}),r.forEach(function(e){t.has(e)||h(e,o)})}v.set(i,n)},[n]),i),N=(0,s.Cl)((0,s.Cl)({},T),c);return f.createElement(f.Fragment,null,x&&f.createElement(C,{sideCar:g,removeScrollBar:b,shards:E,noRelative:R,noIsolation:A,inert:S,setCallbacks:u,allowPinchZoom:!!P,lockRef:a,gapMode:O}),d?f.cloneElement(f.Children.only(p),(0,s.Cl)((0,s.Cl)({},N),{ref:k})):f.createElement(void 0===L?"div":L,(0,s.Cl)({},N,{className:w,ref:k}),p))});w.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},w.classNames={fullWidth:p,zeroRight:d};var b=function(e){var t=e.sideCar,n=(0,s.Tt)(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 f.createElement(r,(0,s.Cl)({},n))};
1b.isSideCarExport=!0;var x=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},E=function(){var e=x();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},C=function(){var e=E();return function(t){return e(t.styles,t.dynamic),null}},R={left:0,top:0,right:0,gap:0},A=function(e){return parseInt(e||"",10)||0},S=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[A(n),A(r),A(o)]},P=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return R;var t=S(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])}},L=C(),O="data-scroll-locked",T=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(O,"] {\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(d," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(p," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(O,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},k=function(){var e=parseInt(document.body.getAttribute(O)||"0",10);return isFinite(e)?e:0},N=function(){f.useEffect(function(){return document.body.setAttribute(O,(k()+1).toString()),function(){var e=k()-1;e<=0?document.body.removeAttribute(O):document.body.setAttribute(O,e.toString())}},[])},D=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;N();var i=f.useMemo(function(){return P(o)},[o]);return f.createElement(L,{styles:T(i,!t,o,n?"":"!important")})},M=!1;if("u">typeof window)try{var F=Object.defineProperty({},"passive",{get:function(){return M=!0,!0}});window.addEventListener("test",F,F),window.removeEventListener("test",F,F)}catch(e){M=!1}var j=!!M&&{passive:!1},W=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])},I=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),H(e,r)){var o=B(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},H=function(e,t){return"v"===e?W(t,"overflowY"):W(t,"overflowX")},B=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},_=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,c=n.target,u=t.contains(c),s=!1,f=l>0,d=0,p=0;do{if(!c)break;var h=B(e,c),m=h[0],v=h[1]-h[2]-a*m;(m||v)&&H(e,c)&&(d+=v,p+=m);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return f&&(o&&1>Math.abs(d)||!o&&l>d)?s=!0:!f&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},z=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},$=function(e){return e&&"current"in e?e.current:e}
1,X=0,Y=[];let G=(c=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(X++)[0],i=f.useState(C)[0],a=f.useRef(e);f.useEffect(function(){a.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,s.fX)([e.lockRef.current],(e.shards||[]).map($),!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=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=z(e),l=n.current,c="deltaX"in e?e.deltaX:l[0]-i[0],u="deltaY"in e?e.deltaY:l[1]-i[1],s=e.target,f=Math.abs(c)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=window.getSelection(),p=d&&d.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var h=I(f,s);if(!h)return!0;if(h?o=f:(o="v"===f?"h":"v",h=I(f,s)),!h)return!1;if(!r.current&&"changedTouches"in e&&(c||u)&&(r.current=o),!o)return!0;var m=r.current||o;return _(m,t,e,"h"===m?c:u,!0)},[]),c=f.useCallback(function(e){if(Y.length&&Y[Y.length-1]===i){var n="deltaY"in e?K(e):z(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($).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=f.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=f.useCallback(function(e){n.current=z(e),r.current=void 0},[]),p=f.useCallback(function(t){u(t.type,K(t),t.target,l(t,e.lockRef.current))},[]),h=f.useCallback(function(t){u(t.type,z(t),t.target,l(t,e.lockRef.current))},[]);f.useEffect(function(){return Y.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,j),document.addEventListener("touchmove",c,j),document.addEventListener("touchstart",d,j),function(){Y=Y.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,j),document.removeEventListener("touchmove",c,j),document.removeEventListener("touchstart",d,j)}},[]);var m=e.removeScrollBar,v=e.inert;return f.createElement(f.Fragment,null,v?f.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?f.createElement(D,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},g.useMedium(c),b);var V=f.forwardRef(function(e,t){return f.createElement(w,(0,s.Cl)({},e,{ref:t,sideCar:G}))});V.classNames=w.classNames;let q=V}}]);
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.