(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4803],{2461:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10678:(e,t,r)=>{"use strict";r.d(t,{UC:()=>el,Y9:()=>ei,q7:()=>en,bL:()=>er,l9:()=>eo});var n=r(42292),i=r(95983),o=r(20461),l=r(44977),a=r(19486),s=r(17462),u=r(43367),c=r(8374),f=r(7814),d=r(25490),p=r(76792),h="Collapsible",[m,g]=(0,i.A)(h),[v,y]=m(h),w=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:i,defaultOpen:o,disabled:l,onOpenChange:a,...c}=e,[f,m]=(0,s.i)({prop:i,defaultProp:null!=o&&o,onChange:a,caller:h});return(0,p.jsx)(v,{scope:r,disabled:l,contentId:(0,d.B)(),open:f,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),children:(0,p.jsx)(u.sG.div,{"data-state":O(f),"data-disabled":l?"":void 0,...c,ref:t})})});w.displayName=h;var x="CollapsibleTrigger",b=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,i=y(x,r);return(0,p.jsx)(u.sG.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":O(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...n,ref:t,onClick:(0,a.mK)(e.onClick,i.onOpenToggle)})});b.displayName=x;var R="CollapsibleContent",A=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=y(R,e.__scopeCollapsible);return(0,p.jsx)(f.C,{present:r||i.open,children:e=>{let{present:r}=e;return(0,p.jsx)(C,{...n,ref:t,present:r})}})});A.displayName=R;var C=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:i,children:o,...a}=e,s=y(R,r),[f,d]=n.useState(i),h=n.useRef(null),m=(0,l.s)(t,h),g=n.useRef(0),v=g.current,w=n.useRef(0),x=w.current,b=s.open||f,A=n.useRef(b),C=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{let e=h.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,w.current=t.width,A.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),d(i)}},[s.open,i]),(0,p.jsx)(u.sG.div,{"data-state":O(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!b,...a,ref:m,style:{"--radix-collapsible-content-height":v?"".concat(v,"px"):void 0,"--radix-collapsible-content-width":x?"".concat(x,"px"):void 0,...e.style},children:b&&o})});function O(e){return e?"open":"closed"}var j=r(99142),P="Accordion",k=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[S,E,L]=(0,o.N)(P),[T,_]=(0,i.A)(P,[L,g]),D=g(),N=n.forwardRef((e,t)=>{let{type:r,...n}=e;return(0,p.jsx)(S.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,p.jsx)(z,{...n,ref:t}):(0,p.jsx)(W,{...n,ref:t})})});N.displayName=P;var[M,I]=T(P),[F,H]=T(P,{collapsible:!1}),W=n.forwardRef((e,t)=>{let{value:r,defaultValue:i,onValueChange:o=()=>{},collapsible:l=!1,...a}=e,[u,c]=(0,s.i)({prop:r,defaultProp:null!=i?i:"",onChange:o,caller:P});return(0,p.jsx)(M,{scope:e.__scopeAccordion,value:n.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:n.useCallback(()=>l&&c(""),[l,c]),children:(0,p.jsx)(F,{scope:e.__scopeAccordion,collapsible:l,children:(0,p.jsx)(G,{...a,ref:t})})})}),z=n.forwardRef((e,t)=>{let{value:r,defaultValue:i,onValueChange:o=()=>{},...l}=e,[a,u]=(0,s.i)({prop:r,defaultProp:null!=i?i:[],onChange:o,caller:P}),c=n.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),f=n.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return(0,p.jsx)(M,{scope:e.__scopeAccordion,value:a,onItemOpen:c,onItemClose:f,children:(0,p.jsx)(F,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(G,{...l,ref:t})})})}),[B,$]=T(P),G=n.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:i,dir:o,orientation:s="vertical",...c}=e,f=n.useRef(null),d=(0,l.s)(f,t),h=E(r),m="ltr"===(0,j.jH)(o),g=(0,a.mK)(e.onKeyDown,e=>{var t;if(!k.includes(e.key))return;let r=e.target,n=h().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),i=n.findIndex(e=>e.ref.current===r),o=n.length;if(-1===i)return;e.preventDefault();let l=i,a=o-1,u=()=>{(l=i+1)>a&&(l=0)},c=()=>{(l=i-1){let{__scopeAccordion:r,value:n,...i}=e,o=$(V,r),l=I(V,r),a=D(r),s=(0,d.B)(),u=n&&l.value.includes(n)||!1,c=o.disabled||e.disabled;return(0,p.jsx)(q,{scope:r,open:u,disabled:c,triggerId:s,children:(0,p.jsx)(w,{"data-orientation":o.orientation,"data-state":et(u),...a,...i,ref:t,disabled:c,open:u,onOpenChange:e=>{e?l.onItemOpen(n):l.onItemClose(n)}})})});U.displayName=V;var Y="AccordionHeader",Z=n.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=$(P,r),o=K(Y,r);return(0,p.jsx)(u.sG.h3,{"data-orientation":i.orientation,"data-state":et(o.open),"data-disabled":o.disabled?"":void 0,...n,ref:t})});Z.displayName=Y;var X="AccordionTrigger",Q=n.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=$(P,r),o=K(X,r),l=H(X,r),a=D(r);return(0,p.jsx)(S.ItemSlot,{scope:r,children:(0,p.jsx)(b,{"aria-disabled":o.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...a,...n,ref:t})})});Q.displayName=X;var J="AccordionContent",ee=n.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=$(P,r),o=K(J,r),l=D(r);return(0,p.jsx)(A,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...l,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function et(e){return e?"open":"closed"}ee.displayName=J;var er=N,en=U,ei=Z,eo=Q,el=ee},10997:(e,t,r)=>{"use strict";function n(e,t,{signal:r,edges:i}={}){let o,l=null,a=null!=i&&i.includes("leading"),s=null==i||i.includes("trailing"),u=()=>{null!==l&&(e.apply(o,l),o=void 0,l=null)},c=null,f=()=>{null!=c&&clearTimeout(c),c=setTimeout(()=>{c=null,s&&u(),d()},t)},d=()=>{null!==c&&(clearTimeout(c),c=null),o=void 0,l=null},p=function(...e){if(r?.aborted)return;o=this,l=e;let t=null==c;f(),a&&t&&u()};return p.schedule=f,p.cancel=d,p.flush=()=>{u()},r?.addEventListener("abort",d,{once:!0}),p}r.d(t,{s:()=>n})},11181:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(44869).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},15894:(e,t,r)=>{e.exports=r(68418)()},19646:(e,t,r)=>{"use strict";r.d(t,{i3:()=>tP,UC:()=>tj,ZL:()=>tO,bL:()=>tA,l9:()=>tC});var n=r(42292),i=r(19486),o=r(44977),l=r(95983),a=r(50146),s=r(32636),u=r(14793),c=r(25490);let f=["top","right","bottom","left"],d=Math.min,p=Math.max,h=Math.round,m=Math.floor,g=e=>({x:e,y:e}),v={left:"right",right:"left",bottom:"top",top:"bottom"},y={start:"end",end:"start"};function w(e,t){return"function"==typeof e?e(t):e}function x(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function R(e){return"x"===e?"y":"x"}function A(e){return"y"===e?"height":"width"}let C=new Set(["top","bottom"]);function O(e){return C.has(x(e))?"y":"x"}function j(e){return e.replace(/start|end/g,e=>y[e])}let P=["left","right"],k=["right","left"],S=["top","bottom"],E=["bottom","top"];function L(e){return e.replace(/left|right|bottom|top/g,e=>v[e])}function T(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function _(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function D(e,t,r){let n,{reference:i,floating:o}=e,l=O(t),a=R(O(t)),s=A(a),u=x(t),c="y"===l,f=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,p=i[s]/2-o[s]/2;switch(u){case"top":n={x:f,y:i.y-o.height};break;case"bottom":n={x:f,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:d};break;case"left":n={x:i.x-o.width,y:d};break;default:n={x:i.x,y:i.y}}switch(b(t)){case"start":n[a]-=p*(r&&c?-1:1);break;case"end":n[a]+=p*(r&&c?-1:1)}return n}let N=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:l}=r,a=o.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=D(u,n,s),d=n,p={},h=0;for(let r=0;re[t]>=0)}let H=new Set(["left","top"]);async function W(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),l=x(r),a=b(r),s="y"===O(r),u=H.has(l)?-1:1,c=o&&s?-1:1,f=w(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*c,y:d*u}:{x:d*u,y:p*c}}function z(){return"undefined"!=typeof window}function B(e){return V(e)?(e.nodeName||"").toLowerCase():"#document"}function $(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function G(e){var t;return null==(t=(V(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function V(e){return!!z()&&(e instanceof Node||e instanceof $(e).Node)}function q(e){return!!z()&&(e instanceof Element||e instanceof $(e).Element)}function K(e){return!!z()&&(e instanceof HTMLElement||e instanceof $(e).HTMLElement)}function U(e){return!!z()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof $(e).ShadowRoot)}let Y=new Set(["inline","contents"]);function Z(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=ea(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Y.has(i)}let X=new Set(["table","td","th"]),Q=[":popover-open",":modal"];function J(e){return Q.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let ee=["transform","translate","scale","rotate","perspective"],et=["transform","translate","scale","rotate","perspective","filter"],er=["paint","layout","strict","content"];function en(e){let t=ei(),r=q(e)?ea(e):e;return ee.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||et.some(e=>(r.willChange||"").includes(e))||er.some(e=>(r.contain||"").includes(e))}function ei(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eo=new Set(["html","body","#document"]);function el(e){return eo.has(B(e))}function ea(e){return $(e).getComputedStyle(e)}function es(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eu(e){if("html"===B(e))return e;let t=e.assignedSlot||e.parentNode||U(e)&&e.host||G(e);return U(t)?t.host:t}function ec(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=eu(t);return el(r)?t.ownerDocument?t.ownerDocument.body:t.body:K(r)&&Z(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),l=$(i);if(o){let e=ef(l);return t.concat(l,l.visualViewport||[],Z(i)?i:[],e&&r?ec(e):[])}return t.concat(i,ec(i,[],r))}function ef(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ed(e){let t=ea(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=K(e),o=i?e.offsetWidth:r,l=i?e.offsetHeight:n,a=h(r)!==o||h(n)!==l;return a&&(r=o,n=l),{width:r,height:n,$:a}}function ep(e){return q(e)?e:e.contextElement}function eh(e){let t=ep(e);if(!K(t))return g(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=ed(t),l=(o?h(r.width):r.width)/n,a=(o?h(r.height):r.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let em=g(0);function eg(e){let t=$(e);return ei()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:em}function ev(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),l=ep(e),a=g(1);t&&(n?q(n)&&(a=eh(n)):a=eh(e));let s=(void 0===(i=r)&&(i=!1),n&&(!i||n===$(l))&&i)?eg(l):g(0),u=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,f=o.width/a.x,d=o.height/a.y;if(l){let e=$(l),t=n&&q(n)?$(n):n,r=e,i=ef(r);for(;i&&n&&t!==r;){let e=eh(i),t=i.getBoundingClientRect(),n=ea(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,f*=e.x,d*=e.y,u+=o,c+=l,i=ef(r=$(i))}}return _({width:f,height:d,x:u,y:c})}function ey(e,t){let r=es(e).scrollLeft;return t?t.left+r:ev(G(e)).left+r}function ew(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ey(e,r),y:r.top+t.scrollTop}}let ex=new Set(["absolute","fixed"]);function eb(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=$(e),n=G(e),i=r.visualViewport,o=n.clientWidth,l=n.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=ei();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let u=ey(n);if(uq(e)&&"body"!==B(e)),i=null,o="fixed"===ea(e).position,l=o?eu(e):e;for(;q(l)&&!el(l);){let t=ea(l),r=en(l);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&ex.has(i.position)||Z(l)&&!r&&function e(t,r){let n=eu(t);return!(n===r||!q(n)||el(n))&&("fixed"===ea(n).position||e(n,r))}(e,l))?n=n.filter(e=>e!==l):i=t,l=eu(l)}return t.set(e,n),n}(t,this._c):[].concat(r),n],l=o[0],a=o.reduce((e,r)=>{let n=eb(t,r,i);return e.top=p(n.top,e.top),e.right=d(n.right,e.right),e.bottom=d(n.bottom,e.bottom),e.left=p(n.left,e.left),e},eb(t,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eC,getElementRects:eO,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ed(e);return{width:t,height:r}},getScale:eh,isElement:q,isRTL:function(e){return"rtl"===ea(e).direction}};function eP(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ek=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:l,elements:a,middlewareData:s}=t,{element:u,padding:c=0}=w(e,t)||{};if(null==u)return{};let f=T(c),h={x:r,y:n},m=R(O(i)),g=A(m),v=await l.getDimensions(u),y="y"===m,x=y?"clientHeight":"clientWidth",C=o.reference[g]+o.reference[m]-h[m]-o.floating[g],j=h[m]-o.reference[m],P=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),k=P?P[x]:0;k&&await (null==l.isElement?void 0:l.isElement(P))||(k=a.floating[x]||o.floating[g]);let S=k/2-v[g]/2-1,E=d(f[y?"top":"left"],S),L=d(f[y?"bottom":"right"],S),_=k-v[g]-L,D=k/2-v[g]/2+(C/2-j/2),N=p(E,d(D,_)),M=!s.arrow&&null!=b(i)&&D!==N&&o.reference[g]/2-(D{t.current=e}),t}var eN=r(43367),eM=r(76792),eI=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eM.jsx)(eN.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eM.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eI.displayName="Arrow";var eF=r(36246),eH=r(8374),eW="Popper",[ez,eB]=(0,l.A)(eW),[e$,eG]=ez(eW),eV=e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null);return(0,eM.jsx)(e$,{scope:t,anchor:i,onAnchorChange:o,children:r})};eV.displayName=eW;var eq="PopperAnchor",eK=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...l}=e,a=eG(eq,r),s=n.useRef(null),u=(0,o.s)(t,s),c=n.useRef(null);return n.useEffect(()=>{let e=c.current;c.current=(null==i?void 0:i.current)||s.current,e!==c.current&&a.onAnchorChange(c.current)}),i?null:(0,eM.jsx)(eN.sG.div,{...l,ref:u})});eK.displayName=eq;var eU="PopperContent",[eY,eZ]=ez(eU),eX=n.forwardRef((e,t)=>{var r,i,l,a,s,u,c,f;let{__scopePopper:h,side:g="bottom",sideOffset:v=0,align:y="center",alignOffset:C=0,arrowPadding:T=0,avoidCollisions:_=!0,collisionBoundary:D=[],collisionPadding:z=0,sticky:B="partial",hideWhenDetached:$=!1,updatePositionStrategy:V="optimized",onPlaced:q,...K}=e,U=eG(eU,h),[Y,Z]=n.useState(null),X=(0,o.s)(t,e=>Z(e)),[Q,J]=n.useState(null),ee=function(e){let[t,r]=n.useState(void 0);return(0,eH.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,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;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(Q),et=null!=(c=null==ee?void 0:ee.width)?c:0,er=null!=(f=null==ee?void 0:ee.height)?f:0,en="number"==typeof z?z:{top:0,right:0,bottom:0,left:0,...z},ei=Array.isArray(D)?D:[D],eo=ei.length>0,el={padding:en,boundary:ei.filter(e1),altBoundary:eo},{refs:ea,floatingStyles:es,placement:eu,isPositioned:ef,middlewareData:ed}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[f,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=n.useState(i);eL(p,i)||h(i);let[m,g]=n.useState(null),[v,y]=n.useState(null),w=n.useCallback(e=>{e!==A.current&&(A.current=e,g(e))},[]),x=n.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),b=l||m,R=a||v,A=n.useRef(null),C=n.useRef(null),O=n.useRef(f),j=null!=u,P=eD(u),k=eD(o),S=eD(c),E=n.useCallback(()=>{if(!A.current||!C.current)return;let e={placement:t,strategy:r,middleware:p};k.current&&(e.platform=k.current),((e,t,r)=>{let n=new Map,i={platform:ej,...r},o={...i.platform,_c:n};return N(e,t,{...i,platform:o})})(A.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==S.current};L.current&&!eL(O.current,t)&&(O.current=t,eS.flushSync(()=>{d(t)}))})},[p,t,r,k,S]);eE(()=>{!1===c&&O.current.isPositioned&&(O.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let L=n.useRef(!1);eE(()=>(L.current=!0,()=>{L.current=!1}),[]),eE(()=>{if(b&&(A.current=b),R&&(C.current=R),b&&R){if(P.current)return P.current(b,R,E);E()}},[b,R,E,P,j]);let T=n.useMemo(()=>({reference:A,floating:C,setReference:w,setFloating:x}),[w,x]),_=n.useMemo(()=>({reference:b,floating:R}),[b,R]),D=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!_.floating)return e;let t=e_(_.floating,f.x),n=e_(_.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...eT(_.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,_.floating,f.x,f.y]);return n.useMemo(()=>({...f,update:E,refs:T,elements:_,floatingStyles:D}),[f,E,T,_,D])}({strategy:"fixed",placement:g+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{o&&e.addEventListener("scroll",r,{passive:!0}),l&&e.addEventListener("resize",r)});let h=c&&s?function(e,t){let r,n=null,i=G(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function l(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),o();let u=e.getBoundingClientRect(),{left:c,top:f,width:h,height:g}=u;if(a||t(),!h||!g)return;let v=m(f),y=m(i.clientWidth-(c+h)),w={rootMargin:-v+"px "+-y+"px "+-m(i.clientHeight-(f+g))+"px "+-m(c)+"px",threshold:p(0,d(1,s))||1},x=!0;function b(t){let n=t[0].intersectionRatio;if(n!==s){if(!x)return l();n?l(!1,n):r=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==n||eP(u,e.getBoundingClientRect())||l(),x=!1}try{n=new IntersectionObserver(b,{...w,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(b,w)}n.observe(e)}(!0),o}(c,r):null,g=-1,v=null;a&&(v=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),r()}),c&&!u&&v.observe(c),v.observe(t));let y=u?ev(e):null;return u&&function t(){let n=ev(e);y&&!eP(y,n)&&r(),y=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),l&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=v)||e.disconnect(),v=null,u&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===V})},elements:{reference:U.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:o,placement:l,middlewareData:a}=t,s=await W(t,e);return l===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}}(e),options:[e,t]}))({mainAxis:v+er,alignmentAxis:C}),_&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...s}=w(e,t),u={x:r,y:n},c=await M(t,s),f=O(x(i)),h=R(f),m=u[h],g=u[f];if(o){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",r=m+c[e],n=m-c[t];m=p(r,d(m,n))}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=g+c[e],n=g-c[t];g=p(r,d(g,n))}let v=a.fn({...t,[h]:m,[f]:g});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[h]:o,[f]:l}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===B?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=w(e,t),c={x:r,y:n},f=O(i),d=R(f),p=c[d],h=c[f],m=w(a,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+g.mainAxis,r=o.reference[d]+o.reference[e]-g.mainAxis;pr&&(p=r)}if(u){var v,y;let e="y"===d?"width":"height",t=H.has(x(i)),r=o.reference[f]-o.floating[e]+(t&&(null==(v=l.offset)?void 0:v[f])||0)+(t?0:g.crossAxis),n=o.reference[f]+o.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[f])||0)-(t?g.crossAxis:0);hn&&(h=n)}return{[d]:p,[f]:h}}}}(e),options:[e,t]}))():void 0,...el}),_&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,i,o,l;let{placement:a,middlewareData:s,rects:u,initialPlacement:c,platform:f,elements:d}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...C}=w(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let T=x(a),_=O(c),D=x(c)===c,N=await (null==f.isRTL?void 0:f.isRTL(d.floating)),I=m||(D||!y?[L(c)]:function(e){let t=L(e);return[j(e),t,j(t)]}(c)),F="none"!==v;!m&&F&&I.push(...function(e,t,r,n){let i=b(e),o=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?k:P;return t?P:k;case"left":case"right":return t?S:E;default:return[]}}(x(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(j)))),o}(c,y,v,N));let H=[c,...I],W=await M(t,C),z=[],B=(null==(n=s.flip)?void 0:n.overflows)||[];if(p&&z.push(W[T]),h){let e=function(e,t,r){void 0===r&&(r=!1);let n=b(e),i=R(O(e)),o=A(i),l="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=L(l)),[l,L(l)]}(a,u,N);z.push(W[e[0]],W[e[1]])}if(B=[...B,{placement:a,overflows:z}],!z.every(e=>eO(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:B},reset:{placement:t}};let r=null==(o=B.filter(e=>e.overflows[0]e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(g){case"bestFit":{let e=null==(l=B.filter(e=>{if(F){let t=O(e.placement);return t===_||"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&&(r=e);break}case"initialPlacement":r=c}if(a!==r)return{reset:{placement:r}}}return{}}}}(e),options:[e,t]}))({...el}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let i,o,{placement:l,rects:a,platform:s,elements:u}=t,{apply:c=()=>{},...f}=w(e,t),h=await M(t,f),m=x(l),g=b(l),v="y"===O(l),{width:y,height:R}=a.floating;"top"===m||"bottom"===m?(i=m,o=g===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(o=m,i="end"===g?"top":"bottom");let A=R-h.top-h.bottom,C=y-h.left-h.right,j=d(R-h[i],A),P=d(y-h[o],C),k=!t.middlewareData.shift,S=j,E=P;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(E=C),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(S=A),k&&!g){let e=p(h.left,0),t=p(h.right,0),r=p(h.top,0),n=p(h.bottom,0);v?E=y-2*(0!==e||0!==t?e+t:p(h.left,h.right)):S=R-2*(0!==r||0!==n?r+n:p(h.top,h.bottom))}await c({...t,availableWidth:E,availableHeight:S});let L=await s.getDimensions(u.floating);return y!==L.width||R!==L.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...el,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:i}=e,{width:o,height:l}=r.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(n,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),Q&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?ek({element:r.current,padding:n}).fn(t):{}:r?ek({element:r,padding:n}).fn(t):{}}}))(e),options:[e,t]}))({element:Q,padding:T}),e2({arrowWidth:et,arrowHeight:er}),$&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...i}=w(e,t);switch(n){case"referenceHidden":{let e=I(await M(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:F(e)}}}case"escaped":{let e=I(await M(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:F(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...el})]}),[eh,em]=e4(eu),eg=(0,eF.c)(q);(0,eH.N)(()=>{ef&&(null==eg||eg())},[ef,eg]);let ey=null==(r=ed.arrow)?void 0:r.x,ew=null==(i=ed.arrow)?void 0:i.y,ex=(null==(l=ed.arrow)?void 0:l.centerOffset)!==0,[eb,eR]=n.useState();return(0,eH.N)(()=>{Y&&eR(window.getComputedStyle(Y).zIndex)},[Y]),(0,eM.jsx)("div",{ref:ea.setFloating,"data-radix-popper-content-wrapper":"",style:{...es,transform:ef?es.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eb,"--radix-popper-transform-origin":[null==(a=ed.transformOrigin)?void 0:a.x,null==(s=ed.transformOrigin)?void 0:s.y].join(" "),...(null==(u=ed.hide)?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eM.jsx)(eY,{scope:h,placedSide:eh,onArrowChange:J,arrowX:ey,arrowY:ew,shouldHideArrow:ex,children:(0,eM.jsx)(eN.sG.div,{"data-side":eh,"data-align":em,...K,ref:X,style:{...K.style,animation:ef?void 0:"none"}})})})});eX.displayName=eU;var eQ="PopperArrow",eJ={top:"bottom",right:"left",bottom:"top",left:"right"},e0=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=eZ(eQ,r),o=eJ[i.placedSide];return(0,eM.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eM.jsx)(eI,{...n,ref:t,style:{...n.style,display:"block"}})})});function e1(e){return null!==e}e0.displayName=eQ;var e2=e=>({name:"transformOrigin",options:e,fn(t){var r,n,i,o,l;let{placement:a,rects:s,middlewareData:u}=t,c=(null==(r=u.arrow)?void 0:r.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=e4(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!=(o=null==(n=u.arrow)?void 0:n.x)?o:0)+f/2,v=(null!=(l=null==(i=u.arrow)?void 0:i.y)?l:0)+d/2,y="",w="";return"bottom"===p?(y=c?m:"".concat(g,"px"),w="".concat(-d,"px")):"top"===p?(y=c?m:"".concat(g,"px"),w="".concat(s.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?m:"".concat(v,"px")):"left"===p&&(y="".concat(s.floating.width+d,"px"),w=c?m:"".concat(v,"px")),{data:{x:y,y:w}}}});function e4(e){let[t,r="center"]=e.split("-");return[t,r]}var e9=r(21269),e6=r(7814),e7=r(84057),e5=r(17462),e3=r(34966),e8=r(4152),te="Popover",[tt,tr]=(0,l.A)(te,[eB]),tn=eB(),[ti,to]=tt(te),tl=e=>{let{__scopePopover:t,children:r,open:i,defaultOpen:o,onOpenChange:l,modal:a=!1}=e,s=tn(t),u=n.useRef(null),[f,d]=n.useState(!1),[p,h]=(0,e5.i)({prop:i,defaultProp:null!=o&&o,onChange:l,caller:te});return(0,eM.jsx)(eV,{...s,children:(0,eM.jsx)(ti,{scope:t,contentId:(0,c.B)(),triggerRef:u,open:p,onOpenChange:h,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:f,onCustomAnchorAdd:n.useCallback(()=>d(!0),[]),onCustomAnchorRemove:n.useCallback(()=>d(!1),[]),modal:a,children:r})})};tl.displayName=te;var ta="PopoverAnchor";n.forwardRef((e,t)=>{let{__scopePopover:r,...i}=e,o=to(ta,r),l=tn(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return n.useEffect(()=>(a(),()=>s()),[a,s]),(0,eM.jsx)(eK,{...l,...i,ref:t})}).displayName=ta;var ts="PopoverTrigger",tu=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,l=to(ts,r),a=tn(r),s=(0,o.s)(t,l.triggerRef),u=(0,eM.jsx)(eN.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":tR(l.open),...n,ref:s,onClick:(0,i.mK)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?u:(0,eM.jsx)(eK,{asChild:!0,...a,children:u})});tu.displayName=ts;var tc="PopoverPortal",[tf,td]=tt(tc,{forceMount:void 0}),tp=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,o=to(tc,t);return(0,eM.jsx)(tf,{scope:t,forceMount:r,children:(0,eM.jsx)(e6.C,{present:r||o.open,children:(0,eM.jsx)(e9.Z,{asChild:!0,container:i,children:n})})})};tp.displayName=tc;var th="PopoverContent",tm=n.forwardRef((e,t)=>{let r=td(th,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,o=to(th,e.__scopePopover);return(0,eM.jsx)(e6.C,{present:n||o.open,children:o.modal?(0,eM.jsx)(tv,{...i,ref:t}):(0,eM.jsx)(ty,{...i,ref:t})})});tm.displayName=th;var tg=(0,e7.TL)("PopoverContent.RemoveScroll"),tv=n.forwardRef((e,t)=>{let r=to(th,e.__scopePopover),l=n.useRef(null),a=(0,o.s)(t,l),s=n.useRef(!1);return n.useEffect(()=>{let e=l.current;if(e)return(0,e3.Eq)(e)},[]),(0,eM.jsx)(e8.A,{as:tg,allowPinchZoom:!0,children:(0,eM.jsx)(tw,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),s.current||null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;s.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ty=n.forwardRef((e,t)=>{let r=to(th,e.__scopePopover),i=n.useRef(!1),o=n.useRef(!1);return(0,eM.jsx)(tw,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,l;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(i.current||null==(l=r.triggerRef.current)||l.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var n,l;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let a=t.target;(null==(l=r.triggerRef.current)?void 0:l.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),tw=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,...h}=e,m=to(th,r),g=tn(r);return(0,s.Oh)(),(0,eM.jsx)(u.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,eM.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:p,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1),children:(0,eM.jsx)(eX,{"data-state":tR(m.open),role:"dialog",id:m.contentId,...g,...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)"}})})})}),tx="PopoverClose";n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=to(tx,r);return(0,eM.jsx)(eN.sG.button,{type:"button",...n,ref:t,onClick:(0,i.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=tx;var tb=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=tn(r);return(0,eM.jsx)(e0,{...i,...n,ref:t})});function tR(e){return e?"open":"closed"}tb.displayName="PopoverArrow";var tA=tl,tC=tu,tO=tp,tj=tm,tP=tb},20461:(e,t,r)=>{"use strict";function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function i(e,t){var r=n(e,t,"get");return r.get?r.get.call(e):r.value}function o(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}return r}r.d(t,{N:()=>d});var l,a=r(42292),s=r(95983),u=r(44977),c=r(84057),f=r(76792);function d(e){let t=e+"CollectionProvider",[r,n]=(0,s.A)(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:r}=e,n=a.useRef(null),o=a.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:o,collectionRef:n,children:r})};l.displayName=t;let d=e+"CollectionSlot",p=(0,c.TL)(d),h=a.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(d,r),l=(0,u.s)(t,i.collectionRef);return(0,f.jsx)(p,{ref:l,children:n})});h.displayName=d;let m=e+"CollectionItemSlot",g="data-radix-collection-item",v=(0,c.TL)(m),y=a.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=a.useRef(null),s=(0,u.s)(t,l),c=o(m,r);return a.useEffect(()=>(c.itemMap.set(l,{ref:l,...i}),()=>void c.itemMap.delete(l))),(0,f.jsx)(v,{...{[g]:""},ref:s,children:n})});return y.displayName=m,[{Provider:l,Slot:h,ItemSlot:y},function(t){let r=o(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(g,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}var p=new WeakMap;function h(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=m(t),i=n>=0?n:r+n;return i=r?-1:i}(e,t);return -1===r?void 0:e[r]}function m(e){return e!=e||0===e?0:Math.trunc(e)}l=new WeakMap,class e extends Map{set(e,t){return p.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,r){let n,o=this.has(t),a=i(this,l).length,s=m(e),u=s>=0?s:a+s,c=u=a?-1:u;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,r),this;let f=this.size+ +!o;s=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,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 r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n0&&(i=r-1);for(let e=t;e{"use strict";function n(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return n}}),r(76792),r(15541),r(31589),r(90076)},28244:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(89226)._(r(84260));function i(e,t){var r;let i={};"function"==typeof e&&(i.loader=e);let o={...i,...t};return(0,n.default)({...o,modules:null==(r=o.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=r(37987)},37987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(57369).createAsyncLocalStorage)()},41439:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(28244),i=r.n(n)},44869:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(42292);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},o=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var l={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 a=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:u="",children:c,iconNode:f,...d}=e;return(0,n.createElement)("svg",{ref:t,...l,width:i,height:i,stroke:r,strokeWidth:s?24*Number(a)/Number(i):a,className:o("lucide",u),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"},...d},[...f.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),s=(e,t)=>{let r=(0,n.forwardRef)((r,l)=>{let{className:s,...u}=r;return(0,n.createElement)(a,{ref:l,iconNode:t,className:o("lucide-".concat(i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),s),...u})});return r.displayName=i(e),r}},51256:(e,t)=>{"use strict";t.Y=function(e,t){return(function(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(r),o=t[1],l=t[2],a=t[3]||"",s={};return s.inverse=!!o&&"not"===o.toLowerCase(),s.type=l?l.toLowerCase():"all",s.expressions=(a=a.match(/\([^\)]+\)/g)||[]).map(function(e){var t=e.match(n),r=t[1].toLowerCase().match(i);return{modifier:r[1],feature:r[2],value:t[2]}}),s})})(e).some(function(e){var r=e.inverse,n="all"===e.type||t.type===e.type;if(n&&r||!(n||r))return!1;var i=e.expressions.every(function(e){var r=e.feature,n=e.modifier,i=e.value,o=t[r];if(!o)return!1;switch(r){case"orientation":case"scan":return o.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=u(i),o=u(o);break;case"resolution":i=s(i),o=s(o);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=a(i),o=a(o);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,o=parseInt(o,10)||0}switch(n){case"min":return o>=i;case"max":return o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return o},createSnapshot:function(){return a}});let r=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let i="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function o(){return i?new i:new n}function l(e){return i?i.bind(e):n.bind(e)}function a(){return i?i.snapshot():function(e,...t){return e(...t)}}},62307:(e,t,r)=>{"use strict";function n(e){let{reason:t,children:r}=e;return r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}}),r(1511)},65073:(e,t,r)=>{"use strict";var n=r(51256).Y,i="undefined"!=typeof window?window.matchMedia:null;function o(e,t,r){var o,l=this;function a(e){l.matches=e.matches,l.media=e.media}i&&!r&&(o=i.call(window,e)),o?(this.matches=o.matches,this.media=o.media,o.addListener(a)):(this.matches=n(e,t),this.media=e),this.addListener=function(e){o&&o.addListener(e)},this.removeListener=function(e){o&&o.removeListener(e)},this.dispose=function(){o&&o.removeListener(a)}}e.exports=function(e,t,r){return new o(e,t,r)}},68418:(e,t,r)=>{"use strict";var n=r(2461);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,l){if(l!==n){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},84260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(76792),i=r(42292),o=r(62307);function l(e){return{default:e&&"default"in e?e.default:e}}r(23038);let a={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},s=function(e){let t={...a,...e},r=(0,i.lazy)(()=>t.loader().then(l)),s=t.loading;function u(e){let l=s?(0,n.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,a=!t.ssr||!!t.loading,u=a?i.Suspense:i.Fragment,c=t.ssr?(0,n.jsxs)(n.Fragment,{children:[null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(o.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(u,{...a?{fallback:l}:{},children:c})}return u.displayName="LoadableComponent",u}},87523:(e,t,r)=>{"use strict";r.d(t,{Ub:()=>R});var n=r(42292),i=r(65073),o=r.n(i),l=/[A-Z]/g,a=/^ms-/,s={};function u(e){return"-"+e.toLowerCase()}let c=function(e){if(s.hasOwnProperty(e))return s[e];var t=e.replace(l,u);return s[e]=a.test(t)?"-"+t:t};var f=r(15894),d=r.n(f);let p=d().oneOfType([d().string,d().number]),h={all:d().bool,grid:d().bool,aural:d().bool,braille:d().bool,handheld:d().bool,print:d().bool,projection:d().bool,screen:d().bool,tty:d().bool,tv:d().bool,embossed:d().bool},{type:m,...g}={orientation:d().oneOf(["portrait","landscape"]),scan:d().oneOf(["progressive","interlace"]),aspectRatio:d().string,deviceAspectRatio:d().string,height:p,deviceHeight:p,width:p,deviceWidth:p,color:d().bool,colorIndex:d().bool,monochrome:d().bool,resolution:p,type:Object.keys(h)},v={minAspectRatio:d().string,maxAspectRatio:d().string,minDeviceAspectRatio:d().string,maxDeviceAspectRatio:d().string,minHeight:p,maxHeight:p,minDeviceHeight:p,maxDeviceHeight:p,minWidth:p,maxWidth:p,minDeviceWidth:p,maxDeviceWidth:p,minColor:d().number,maxColor:d().number,minColorIndex:d().number,maxColorIndex:d().number,minMonochrome:d().number,maxMonochrome:d().number,minResolution:p,maxResolution:p,...g};var y={all:{...h,...v}};let w=(0,n.createContext)(void 0),x=e=>{if(e)return Object.keys(e).reduce((t,r)=>(t[c(r)]=e[r],t),{})},b=()=>{let e=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{e.current=!0},[]),e.current},R=(e,t,r)=>{let i=(e=>{let t=(0,n.useContext)(w),r=()=>x(e)||x(t),[i,o]=(0,n.useState)(r);return(0,n.useEffect)(()=>{let e=r();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(let n=0;n{let t=()=>(e=>e.query||(e=>{let t=[];return Object.keys(y.all).forEach(r=>{let n=e[r];null!=n&&t.push(((e,t)=>{let r=c(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return r;if(!1===t)return`not ${r}`;return`(${r}: ${t})`})(r,n))}),t.join(" and ")})(e))(e),[r,i]=(0,n.useState)(t);return(0,n.useEffect)(()=>{let e=t();r!==e&&i(e)},[e]),r})(e);if(!l)throw Error("Invalid or missing MediaQuery!");let a=((e,t)=>{let r=()=>o()(e,t||{},!!t),[i,l]=(0,n.useState)(r),a=b();return(0,n.useEffect)(()=>{if(a){let e=r();return l(e),()=>{e&&e.dispose()}}},[e,t]),i})(l,i),s=(e=>{let[t,r]=(0,n.useState)(e.matches);return(0,n.useEffect)(()=>{let t=e=>{r(e.matches)};return e.addListener(t),r(e.matches),()=>{e.removeListener(t)}},[e]),t})(a),u=b();return(0,n.useEffect)(()=>{u&&r&&r(s)},[s]),(0,n.useEffect)(()=>()=>{a&&a.dispose()},[]),s}},99142:(e,t,r)=>{"use strict";r.d(t,{jH:()=>o});var n=r(42292);r(76792);var i=n.createContext(void 0);function o(e){let t=n.useContext(i);return e||t||"ltr"}}}]);