1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7760],{5845:(e,t,n)=>{n.d(t,{i:()=>a});var r,i=n(12115),o=n(52712),l=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,a,u]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),a=i.useRef(t);return l(()=>{a.current=t},[t]),i.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,r,a]}({defaultProp:t,onChange:n}),c=void 0!==e,s=c?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,r])}return[s,i.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else a(t)},[c,e,a,u])]}Symbol("RADIX:SYNC_STATE")},11275:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(12115),i=n(52712);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},19946:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(12115);let i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:l=24,strokeWidth:a=2,absoluteStrokeWidth:u,className:c="",children:s,iconNode:f,...d}=e;return(0,r.createElement)("svg",{ref:t,...o,width:l,height:l,stroke:n,strokeWidth:u?24*Number(a)/Number(l):a,className:i("lucide",c),...d},[...f.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,o)=>{let{className:a,...u}=n;return(0,r.createElement)(l,{ref:o,iconNode:t,className:i("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),a),...u})});return n.displayName="".concat(e),n}},22475:(e,t,n)=>{let r;n.d(t,{UE:()=>eb,ll:()=>ep,rD:()=>eE,UU:()=>eg,jD:()=>ew,ER:()=>ex,cY:()=>em,BN:()=>ev,Ej:()=>ey});let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,u=Math.floor,c=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"};function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let y=["left","right"],w=["right","left"],b=["top","bottom"],x=["bottom","top"];function E(e){let t=d(e);return s[t]+e.slice(t.length)}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function A(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function S(e,t,n){let r,{reference:i,floating:o}=e,l=v(t),a=p(v(t)),u=m(a),c=d(t),s="y"===l,f=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,y=i[u]/2-o[u]/2;switch(c){case"top":r={x:f,y:i.y-o.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-o.width,y:g};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[a]-=y*(n&&s?-1:1);break;case"end":r[a]+=y*(n&&s?-1:1)}return r}async function N(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=f(t,e),m=R(p),v=a[h?"floating"===d?"reference":"floating":d],g=A(await o.getClippingRect
1({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:u})),y="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},x=A(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:u}):y);return{top:(g.top-x.top+m.top)/b.y,bottom:(x.bottom-g.bottom+m.bottom)/b.y,left:(g.left-x.left+m.left)/b.x,right:(x.right-g.right+m.right)/b.x}}let O=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:N},u=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:s,y:f}=S(c,r,u),d=r,h=0,p={};for(let n=0;n<o.length;n++){let m=o[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:i,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});s=null!=y?y:s,f=null!=w?w:f,p[v]={...p[v],...b},x&&h<50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:s,y:f}=S(c,d,u)),n=-1)}return{x:s,y:f,placement:d,strategy:i,middlewareData:p}};function C(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return i.some(t=>e[t]>=0)}let M=new Set(["left","top"]);async function k(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),a=h(n),u="y"===v(n),c=M.has(l)?-1:1,s=o&&u?-1:1,p=f(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),u?{x:g*s,y:m*c}:{x:m*c,y:g*s}}function L(){return"undefined"!=typeof window}function P(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!L()&&(e instanceof Node||e instanceof D(e).Node)}function z(e){return!!L()&&(e instanceof Element||e instanceof D(e).Element)}function I(e){return!!L()&&(e instanceof HTMLElement||e instanceof D(e).HTMLElement)}function B(e){return!!L()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof D(e).ShadowRoot)}function F(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function U(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let _=/transform|translate|scale|rotate|perspective|filter/,H=/paint|layout|strict|content/,$=e=>!!e&&"none"!==e;function Y(e){let t=z(e)?q(e):e;return $(t.transform)||$(t.translate)||$(t.scale)||$(t.rotate)||$(t.perspective)||!V()&&($(t.backdropFilter)||$(t.filter))||_.test(t.willChange||"")||H.test(t.contain||"")}function V(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function X(e){return/^(html|body|#document)$/.test(P(e))}function q(e){return D(e).getComputedStyle(e)}function Z(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function G(e){if("html"===P(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||W(e);return B(t)?t.host:t}function K(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=G(t);return X(n)?t.ownerDocument?t.ownerDocument.body:t.body:I(n)&&F(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=D(i);if(!o)return t.concat(i,K(i,[],n));{let e=J(l);
1return t.concat(l,l.visualViewport||[],F(i)?i:[],e&&n?K(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q(e){let t=q(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=I(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=a(n)!==o||a(r)!==l;return u&&(n=o,r=l),{width:n,height:r,$:u}}function ee(e){return z(e)?e:e.contextElement}function et(e){let t=ee(e);if(!I(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Q(t),l=(o?a(n.width):n.width)/r,u=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let en=c(0);function er(e){let t=D(e);return V()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:en}function ei(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=ee(e),a=c(1);t&&(r?z(r)&&(a=et(r)):a=et(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===D(l))&&i)?er(l):c(0),s=(o.left+u.x)/a.x,f=(o.top+u.y)/a.y,d=o.width/a.x,h=o.height/a.y;if(l){let e=D(l),t=r&&z(r)?D(r):r,n=e,i=J(n);for(;i&&r&&t!==n;){let e=et(i),t=i.getBoundingClientRect(),r=q(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,f*=e.y,d*=e.x,h*=e.y,s+=o,f+=l,i=J(n=D(i))}}return A({width:d,height:h,x:s,y:f})}function eo(e,t){let n=Z(e).scrollLeft;return t?t.left+n:ei(W(e)).left+n}function el(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eo(e,n),y:n.top+t.scrollTop}}function ea(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=D(e),r=W(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,u=0;if(i){o=i.width,l=i.height;let e=V();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}let c=eo(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else c<=25&&(o+=c);return{width:o,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=W(e),n=Z(e),r=e.ownerDocument.body,i=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+eo(e),u=-n.scrollTop;return"rtl"===q(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:u}}(W(e));else if(z(t))r=function(e,t){let n=ei(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=I(e)?et(e):c(1),l=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(t,n);else{let n=er(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return A(r)}function eu(e){return"static"===q(e).position}function ec(e,t){if(!I(e)||"fixed"===q(e).position)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function es(e,t){var n;let r=D(e);if(U(e))return r;if(!I(e)){let t=G(e);for(;t&&!X(t);){if(z(t)&&!eu(t))return t;t=G(t)}return r}let i=ec(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(P(n)))&&eu(i);)i=ec(i,t);return i&&X(i)&&eu(i)&&!Y(i)?r:i||function(e){let t=G(e);for(;I(t)&&!X(t);){if(Y(t))return t;if(U(t))break;t=G(t)}return null}(e)||r}let ef=async function(e){let t=this.getOffsetParent||es,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=I(t),i=W(t),o="fixed"===n,l=ei(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=c(0);if(r||!r&&!o)if(("body"!==P(t)||F(i))&&(a=Z(t)),r){let e=ei(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=eo(i));o&&!r&&i&&(u.x=eo(i));let s=!i||r||o?c(0):el(i,a);return{x:l.left+a.scrollLeft-u.x-s.x,y:l.top+a.scrollTop-u.y-s.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ed={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=W(r),a=!!t&&U(t.floating);if(r===l||a&&o)return n;let u={scrollLeft:0,scrollTop:0},s=c(1),f=c(0),d=I(r);if((d||!d&&!o)&&(("body"!==P(r)||F(l))&&(u=Z(r)),d)){let e=ei(r);s=et(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let h=!l||d||o?c(0):el(l,u);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+f.x+h.x,y:n.y*s.y-u.scrollTop*s.y+f.y+h.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=K(e,[],!1).filter(e=>z(e)&&"body"!==P(e)),i=null,o="fixed"===q(e).position,l=o?G(e):e;for(;z(l)&&!X(l);){let t=q(l),n=Y(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||F(l)&&!n&&function e(t,n){let r=G(t);return!(r===n||!z(r)||X(r))&&("fixed"===q(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=G(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=ea(t,a[0],i),c=u.top,s=u.right,f=u.bottom,d=u.left;for(let e=1;e<a.length;e++){let n=ea(t,a[e],i);c=l(n.top,c),s=o(n.right,s),f=o(n.bottom,f),d=l(n.left,d)}return{width:s-d,height:f-c,x:d,y:c}},getOffsetParent:es,getElementRects:ef,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=Q(e);return{width:t,height:n}},getScale:et,isElement:z,isRTL:function(e){return"rtl"===q(e).direction}};function eh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ep(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,h=ee(e),p=a||c?[...h?K(h):[],...t?K(t):[]]:[];
1p.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let m=h&&f?function(e,t){let n,r=null,i=W(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function c(s,f){void 0===s&&(s=!1),void 0===f&&(f=1),a();let d=e.getBoundingClientRect(),{left:h,top:p,width:m,height:v}=d;if(s||t(),!m||!v)return;let g=u(p),y=u(i.clientWidth-(h+m)),w={rootMargin:-g+"px "+-y+"px "+-u(i.clientHeight-(p+v))+"px "+-u(h)+"px",threshold:l(0,o(1,f))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(r!==f){if(!b)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||eh(d,e.getBoundingClientRect())||c(),b=!1}try{r=new IntersectionObserver(x,{...w,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,w)}r.observe(e)}(!0),a}(h,n):null,v=-1,g=null;s&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&g&&t&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),h&&!d&&g.observe(h),t&&g.observe(t));let y=d?ei(e):null;return d&&function t(){let r=ei(e);y&&!eh(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{a&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(i)}}let em=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,u=await k(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},ev=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:u=!0,crossAxis:c=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...h}=f(e,t),m={x:n,y:r},g=await a.detectOverflow(t,h),y=v(d(i)),w=p(y),b=m[w],x=m[y];if(u){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=b+g[e],r=b-g[t];b=l(n,o(b,r))}if(c){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+g[e],r=x-g[t];x=l(n,o(x,r))}let E=s.fn({...t,[w]:b,[y]:x});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[w]:u,[y]:c}}}}}},eg=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:a,middlewareData:u,rects:c,initialPlacement:s,platform:R,elements:A}=t,{mainAxis:S=!0,crossAxis:N=!0,fallbackPlacements:O,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:M=!0,...k}=f(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let L=d(a),P=v(s),D=d(s)===s,W=await (null==R.isRTL?void 0:R.isRTL(A.floating)),j=O||(D||!M?[E(s)]:function(e){let t=E(e);return[g(e),t,g(t)]}(s)),z="none"!==T;!O&&z&&j.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?w:y;return t?y:w;case"left":case"right":return t?b:x;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(g)))),o}(s,M,T,W));let I=[s,...j],B=await R.detectOverflow(t,k),F=[],U=(null==(r=u.flip)?void 0:r.overflows)||[];if(S&&F.push(B[L]),N){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),i=p(v(e)),o=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=E(l)),[l,E(l)]}(a,c,W);F.push(B[e[0]],B[e[1]])}if(U=[...U,{placement:a,overflows:F}],!F.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=I[e];if(t&&("alignment"!==N||P===v(t)||U.every(e=>v(e.placement)!==P||e.overflows[0]>0)))return{data:{index:e,overflows:U},reset:{placement:t}};let n=null==(o=U.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let e=null==(l=U.filter(e=>{if(z){let t=v(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:l[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}},ey=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,a,{placement:u,rects:c,platform:s,elements:p}=t,{apply:m=()=>{},...g}=f(e,t),y=await s.detectOverflow(t,g),w=d(u),b=h(u),x="y"===v(u),{width:E,height:R}=c.floating;"top"===w||"bottom"===w?(i=w,a=b===(await (null==s.isRTL?void 0:s.isRTL(p.floating))?"start":"end")?"left":"right"):(a=w,i="end"===b?"top":"bottom");let A=R-y.top-y.bottom,S=E-y.left-y.right,N=o(R-y[i],A),O=o(E-y[a],S),C=!t.middlewareData.shift,T=N,M=O;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(M=S),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=A),C&&!b){let e=l(y.left,0),t=l(y.right,0),n=l(y.top,0),r=l(y.bottom,0);x?M=E-2*(0!==e||0!==t?e+t:l(y.left,y.right)):T=R-2*(0!==n||0!==r?n+r:l(y.top,y.bottom))}await m({...t,availableWidth:M,availableHeight:T});let k=await s.getDimensions(p.floating);return E!==k.width||R!==k.height?{reset:{rects:!0}}:{}}}},ew=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=f(e,t);switch(i){case"referenceHidden":{let e=C(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:T(e)}}}case"escaped":{let e=C(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:T(e)}}}default:return{}}}}},eb=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:u,elements:c,middlewareData:s}=t,{element:d,padding:g=0}=f(e,t)||{};if(null==d)return{};let y=R(g),w={x:n,y:r},b=p(v(i)),x=m(b),E=await u.getDimensions(d),A="y"===b,S=A?"clientHeight":"clientWidth",N=a.reference[x]+a.reference[b]-w[b]-a.floating[x],O=w[b]-a.reference[b],C=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),T=C?C[S]:0;T&&await (null==u.isElement?void 0:u.isElement(C))||(T=c.floating[S]||a.floating[x]);let M=T/2-E[x]/2-1,k=o(y[A?"top":"left"],M),L=o(y[A?"bottom":"right"],M),P=T-E[x]-L,D=T/2-E[x]/2+(N/2-O/2),W=l(k,o(D,P)),j=!s.arrow&&null!=h(i)&&D!==W&&a.reference[x]/2-(D<k?k:L)-E[x]/2<0,z=j?D<k?D-k:D-P:0;return{[b]:w[b]+z,data:{[b]:W,centerOffset:D-W-z,...j&&{alignmentOffset:z}},reset:j}}}),ex=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:u=!0,crossAxis:c=!0}=f(e,t),s={x:n,y:r},h=v(i),m=p(h),g=s[m],y=s[h],w=f(a,t),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+b.mainAxis,n=o.reference[m]+o.reference[e]-b.mainAxis;g<t?g=t:g>n&&(g=n)}if(c){var x,E;let e="y"===m?"width":"height",t=M.has(d(i)),n=o.reference[h]-o.floating[e]+(t&&(null==(x=l.offset)?void 0:x[h])||0)+(t?0:b.crossAxis),r=o.reference[h]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[h])||0)-(t?b.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[m]:g,[h]:y}}}},eE=(e,t,n)=>{let r=new Map,i={platform:ed,...n},o={...i.platform,_c:r};return O(e,t,{...i,platform:o})}},28905:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(12115),i=n(6101),o=n(52712),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[i,l]=r.useState(),u=r.useRef(null),c=r.useRef(e),s=r.useRef("none"),[f,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>
1{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=a(u.current);s.current="mounted"===f?e:"none"},[f]),(0,o.N)(()=>{let t=u.current,n=c.current;if(n!==e){let r=s.current,i=a(t);e?d("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==i?d("ANIMATION_OUT"):d("UNMOUNT"),c.current=e}},[e,d]),(0,o.N)(()=>{if(i){var e;let t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=e=>{let r=a(u.current).includes(e.animationName);if(e.target===i&&r&&(d("ANIMATION_END"),!c.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(s.current=a(u.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{u.current=e?getComputedStyle(e):null,l(e)},[])}}(t),u="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),c=(0,i.s)(l.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||l.isPresent?r.cloneElement(u,{ref:c}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},37328:(e,t,n)=>{function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function i(e,t){var n=r(e,t,"get");return n.get?n.get.call(e):n.value}function o(e,t,n){var i=r(e,t,"set");if(i.set)i.set.call(e,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}return n}n.d(t,{N:()=>d});var l,a=n(12115),u=n(46081),c=n(6101),s=n(99708),f=n(95155);function d(e){let t=e+"CollectionProvider",[n,r]=(0,u.A)(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:n}=e,r=a.useRef(null),o=a.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:o,collectionRef:r,children:n})};l.displayName=t;let d=e+"CollectionSlot",h=(0,s.TL)(d),p=a.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=o(d,n),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(h,{ref:l,children:r})});p.displayName=d;let m=e+"CollectionItemSlot",v="data-radix-collection-item",g=(0,s.TL)(m),y=a.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,l=a.useRef(null),u=(0,c.s)(t,l),s=o(m,n);return a.useEffect(()=>(s.itemMap.set(l,{ref:l,...i}),()=>void s.itemMap.delete(l))),(0,f.jsx)(g,{...{[v]:""},ref:u,children:r})});return y.displayName=m,[{Provider:l,Slot:p,ItemSlot:y},function(t){let n=o(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var h=new WeakMap;function p(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=m(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return -1===n?void 0:e[n]}function m(e){return e!=e||0===e?0:Math.trunc(e)}l=new WeakMap,class e extends Map{set(e,t){return h.get(this)&&(this.has(e)?i(this,l)[i(this,l).indexOf(e)]=e:i(this,l).push(e)),super.set(e,t),this}insert(e,t,n){let r,o=this.has(t),a=i(this,l).length,u=m(e),c=u>=0?u:a+u,s=c<0||c>=a?-1:c;if(s===this.size||o&&s===this.size-1||-1===s)return this.set(t,n),this;let f=this.size+ +!o;u<0&&c++;let d=[...i(this,l)],h=!1;for(let e=c;e<f;e++)if(c===e){let i=d[e];d[e]===t&&(i=d[e+1]),o&&this.delete(t),r=this.get(i),this.set(t,n)}else{h||d[e-1]!==t||(h=!0);let n=d[h?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=i(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=i(this,l).indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=i(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=i(this,l).indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return o(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&i(this,l).splice(i(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=p(i(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=p(i(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return i(this,l).indexOf(e)}keyAt(e){return p(i(this,l),e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(r,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);o=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[o,n,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=[...this.entries()];return i.splice(...n),new e(i)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}constructor(e){super(e),function(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}(this,l,{writable:!0,value:void 0}),o(this,l,[...super.keys()]),h.set(this,!0)}}},38168:(e,t,n)=>{n.d(t,{Eq:()=>c});var r=new WeakMap,i=new WeakMap,o={},l=0,a=function(e){return e&&(e.host||a(e.parentNode))},u=function(e,t,n,u){var c=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=a(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});o[n]||(o[n]=new WeakMap);var s=o[n],f=[],d=new Set,h=new Set(c),p=function(e){!e||d.has(e)||(d.add(e),p(e.parentNode))};c.forEach(p);var m=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))m(e);else try{var t=e.getAttribute(u),o=null!==t&&"false"!==t,l=(r.get(e)||0)+1,a=(s.get(e)||0)+1;r.set(e,l),s.set(e,a),f.push(e),1===l&&o&&i.set(e,!0),1===a&&e.setAttribute(n,"true"),o||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),d.clear(),l++,function(){f.forEach(function(e){var t=r.get(e)-1,o=s.get(e)-1;r.set(e,t),s.set(e,o),t||(i.has(e)||e.removeAttribute(u),i.delete(e)),o||e.removeAttribute(n)}),--l||(r=new WeakMap,r=new WeakMap,i=new WeakMap,o={})}},c=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),u(r,i,n,"aria-hidden")):function(){return null}}},46081:(e,t,n)=>{n.d(t,{A:()=>l,q:()=>o});var r=n(12115),i=n(95155);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,l=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:l,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function l(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let l=r.createContext(o),a=n.length;n=[...n,o];let u=t=>{let{scope:n,children:o,...u}=t,c=n?.[e]?.[a]||l,s=r.useMemo(()=>u,Object.values(u));return(0,i.jsx)(c.Provider,{value:s,children:o})};return u.displayName=t+"Provider",[u,function(n,i){let u=i?.[e]?.[a]||l,c=r.useContext(u);if(c)return c;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}}
1,52712:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(12115),i=globalThis?.document?r.useLayoutEffect:()=>{}},61285:(e,t,n)=>{n.d(t,{B:()=>u});var r,i=n(12115),o=n(52712),l=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function u(e){let[t,n]=i.useState(l());return(0,o.N)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},63655:(e,t,n)=>{n.d(t,{hO:()=>u,sG:()=>a});var r=n(12115),i=n(47650),o=n(99708),l=n(95155),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},84945:(e,t,n)=>{n.d(t,{BN:()=>h,ER:()=>p,Ej:()=>v,UE:()=>y,UU:()=>m,cY:()=>d,jD:()=>g,we:()=>f});var r=n(22475),i=n(12115),o=n(47650),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function a(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){let n=u(e);return Math.round(t*n)/n}function s(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:h,floating:p}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[y,w]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,x]=i.useState(f);a(b,f)||x(f);let[E,R]=i.useState(null),[A,S]=i.useState(null),N=i.useCallback(e=>{e!==M.current&&(M.current=e,R(e))},[]),O=i.useCallback(e=>{e!==k.current&&(k.current=e,S(e))},[]),C=h||E,T=p||A,M=i.useRef(null),k=i.useRef(null),L=i.useRef(y),P=null!=v,D=s(v),W=s(d),j=s(g),z=i.useCallback(()=>{if(!M.current||!k.current)return;let e={placement:t,strategy:n,middleware:b};W.current&&(e.platform=W.current),(0,r.rD)(M.current,k.current,e).then(e=>{let t={...e,isPositioned:!1!==j.current};I.current&&!a(L.current,t)&&(L.current=t,o.flushSync(()=>{w(t)}))})},[b,t,n,W,j]);l(()=>{!1===g&&L.current.isPositioned&&(L.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[g]);let I=i.useRef(!1);l(()=>(I.current=!0,()=>{I.current=!1}),[]),l(()=>{if(C&&(M.current=C),T&&(k.current=T),C&&T){if(D.current)return D.current(C,T,z);z()}},[C,T,z,D,P]);let B=i.useMemo(()=>({reference:M,floating:k,setReference:N,setFloating:O}),[N,O]),F=i.useMemo(()=>({reference:C,floating:T}),[C,T]),U=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=c(F.floating,y.x),r=c(F.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...u(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,F.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:z,refs:B,elements:F,floatingStyles:U}),[y,z,B,F,U])}let d=(e,t)=>{let n=(0,r.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>{let n=(0,r.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>({fn:(0,r.ER)(e).fn,options:[e,t]}),m=(e,t)=>{let n=(0,r.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{let n=(0,r.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n=(0,r.jD)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}}},85185:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},93795:(e,t,n)=>{n.d(t,{A:()=>V});var r,i,o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function l(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 i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create;Object.create;var a=("function"==typeof SuppressedError&&SuppressedError,n(12115)),u="right-scroll-bar-position",c="width-before-scroll-bar";function s(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var f="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,d=new WeakMap;function h(e){return e}var p=function(e){void 0===e&&(e={});var t,n,r,i=(void 0===t&&(t=h),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;
1n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},l=function(){return Promise.resolve().then(o)};l(),n={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),n}}}});return i.options=o({async:!0,ssr:!1},e),i}(),m=function(){},v=a.forwardRef(function(e,t){var n,r,i,u,c=a.useRef(null),h=a.useState({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:m}),v=h[0],g=h[1],y=e.forwardProps,w=e.children,b=e.className,x=e.removeScrollBar,E=e.enabled,R=e.shards,A=e.sideCar,S=e.noRelative,N=e.noIsolation,O=e.inert,C=e.allowPinchZoom,T=e.as,M=e.gapMode,k=l(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=(n=[c,t],r=function(e){return n.forEach(function(t){return s(t,e)})},(i=(0,a.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,u=i.facade,f(function(){var e=d.get(u);if(e){var t=new Set(e),r=new Set(n),i=u.current;t.forEach(function(e){r.has(e)||s(e,null)}),r.forEach(function(e){t.has(e)||s(e,i)})}d.set(u,n)},[n]),u),P=o(o({},k),v);return a.createElement(a.Fragment,null,E&&a.createElement(A,{sideCar:p,removeScrollBar:x,shards:R,noRelative:S,noIsolation:N,inert:O,setCallbacks:g,allowPinchZoom:!!C,lockRef:c,gapMode:M}),y?a.cloneElement(a.Children.only(w),o(o({},P),{ref:L})):a.createElement(void 0===T?"div":T,o({},P,{className:b,ref:L}),w))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:c,zeroRight:u};var g=function(e){var t=e.sideCar,n=l(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 a.createElement(r,o({},n))};g.isSideCarExport=!0;var y=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=i||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,l;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=y();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},x={left:0,top:0,right:0,gap:0},E=function(e){return parseInt(e||"",10)||0},R=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[E(n),E(r),E(i)]},A=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return x;var t=R(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])}},S=b(),N="data-scroll-locked",O=function(e,t,n,r){var i=e.left,o=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(N,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(u," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(c," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n right: 0 ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(N,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},C=function(){var e=parseInt(document.body.getAttribute(N)||"0",10);return isFinite(e)?e:0},T=function(){a.useEffect(function(){return document.body.setAttribute(N,(C()+1).toString()),function(){var e=C()-1;e<=0?document.body.removeAttribute(N):document.body.setAttribute(N,e.toString())}},[])},M=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;T();var o=a.useMemo(function(){return A(i)},[i]);return a.createElement(S,{styles:O(o,!t,i,n?"":"!important")})},k=!1;if("undefined"!=typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){return k=!0,!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(e){k=!1}var P=!!k&&{passive:!1},D=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])},W=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var i=z(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},j=function(e,t){return"v"===e?D(t,"overflowY"):D(t,"overflowX")},z=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},I=function(e,t,n,r,i){var o,l=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=l*r,u=n.target,c=t.contains(u),s=!1,f=
1a>0,d=0,h=0;do{if(!u)break;var p=z(e,u),m=p[0],v=p[1]-p[2]-l*m;(m||v)&&j(e,u)&&(d+=v,h+=m);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return f&&(i&&1>Math.abs(d)||!i&&a>d)?s=!0:!f&&(i&&1>Math.abs(h)||!i&&-a>h)&&(s=!0),s},B=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},F=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},_=0,H=[];let $=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),i=a.useState(_++)[0],o=a.useState(b)[0],l=a.useRef(e);a.useEffect(function(){l.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(U),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var u=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var i,o=B(e),a=n.current,u="deltaX"in e?e.deltaX:a[0]-o[0],c="deltaY"in e?e.deltaY:a[1]-o[1],s=e.target,f=Math.abs(u)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=window.getSelection(),h=d&&d.anchorNode;if(h&&(h===s||h.contains(s)))return!1;var p=W(f,s);if(!p)return!0;if(p?i=f:(i="v"===f?"h":"v",p=W(f,s)),!p)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=i),!i)return!0;var m=r.current||i;return I(m,t,e,"h"===m?u:c,!0)},[]),c=a.useCallback(function(e){if(H.length&&H[H.length-1]===o){var n="deltaY"in e?F(e):B(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 i=(l.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?u(e,i[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=a.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,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(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),f=a.useCallback(function(e){n.current=B(e),r.current=void 0},[]),d=a.useCallback(function(t){s(t.type,F(t),t.target,u(t,e.lockRef.current))},[]),h=a.useCallback(function(t){s(t.type,B(t),t.target,u(t,e.lockRef.current))},[]);a.useEffect(function(){return H.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",c,P),document.addEventListener("touchmove",c,P),document.addEventListener("touchstart",f,P),function(){H=H.filter(function(e){return e!==o}),document.removeEventListener("wheel",c,P),document.removeEventListener("touchmove",c,P),document.removeEventListener("touchstart",f,P)}},[]);var p=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?a.createElement(M,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},p.useMedium(r),g);var Y=a.forwardRef(function(e,t){return a.createElement(v,o({},e,{ref:t,sideCar:$}))});Y.classNames=v.classNames;let V=Y},94315:(e,t,n)=>{n.d(t,{jH:()=>o});var r=n(12115);n(95155);var i=r.createContext(void 0);function o(e){let t=r.useContext(i);return e||t||"ltr"}}}]);
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.