"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59644],{81884:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(85979).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},92910:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(85979).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},1122:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(85979).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},24151:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(85979).A)("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]])},46675:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(85979).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},40315:(e,r,t)=>{var n=t(79651);t.o(n,"useParams")&&t.d(r,{useParams:function(){return n.useParams}}),t.o(n,"usePathname")&&t.d(r,{usePathname:function(){return n.usePathname}}),t.o(n,"useRouter")&&t.d(r,{useRouter:function(){return n.useRouter}}),t.o(n,"useSearchParams")&&t.d(r,{useSearchParams:function(){return n.useSearchParams}})},28589:(e,r,t)=>{t.d(r,{C1:()=>H,bL:()=>q,q7:()=>N});var n=t(52114),a=t(13483),o=t(74768),u=t(21762),s=t(63324),l=t(15488),i=t(32617),d=t(23793),c=t(74881),p=t(1241),f=t(64033),h=t(19002),v="Radio",[m,y]=(0,u.A)(v),[k,w]=m(v),b=n.forwardRef((e,r)=>{let{__scopeRadio:t,name:u,checked:l=!1,required:i,disabled:d,value:c="on",onCheck:p,form:f,...v}=e,[m,y]=n.useState(null),w=(0,o.s)(r,e=>y(e)),b=n.useRef(!1),A=!m||f||!!m.closest("form");return(0,h.jsxs)(k,{scope:t,checked:l,disabled:d,children:[(0,h.jsx)(s.sG.button,{type:"button",role:"radio","aria-checked":l,"data-state":x(l),"data-disabled":d?"":void 0,disabled:d,value:c,...v,ref:w,onClick:(0,a.m)(e.onClick,e=>{l||null==p||p(),A&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})}),A&&(0,h.jsx)(g,{control:m,bubbles:!b.current,name:u,value:c,checked:l,required:i,disabled:d,form:f,style:{transform:"translateX(-100%)"}})]})});b.displayName=v;var A="RadioIndicator",R=n.forwardRef((e,r)=>{let{__scopeRadio:t,forceMount:n,...a}=e,o=w(A,t);return(0,h.jsx)(f.C,{present:n||o.checked,children:(0,h.jsx)(s.sG.span,{"data-state":x(o.checked),"data-disabled":o.disabled?"":void 0,...a,ref:r})})});R.displayName=A;var g=e=>{let{control:r,checked:t,bubbles:a=!0,...o}=e,u=n.useRef(null),s=(0,p.Z)(t),l=(0,c.X)(r);return n.useEffect(()=>{let e=u.current,r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==t&&r){let n=new Event("click",{bubbles:a});r.call(e,t),e.dispatchEvent(n)}},[s,t,a]),(0,h.jsx)("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...o,tabIndex:-1,ref:u,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function x(e){return e?"checked":"unchecked"}var j=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],C="RadioGroup",[E,M]=(0,u.A)(C,[l.RG,y]),I=(0,l.RG)(),L=y(),[P,F]=E(C),G=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,name:n,defaultValue:a,value:o,required:u=!1,disabled:c=!1,orientation:p,dir:f,loop:v=!0,onValueChange:m,...y}=e,k=I(t),w=(0,d.jH)(f),[b,A]=(0,i.i)({prop:o,defaultProp:a,onChange:m});return(0,h.jsx)(P,{scope:t,name:n,required:u,disabled:c,value:b,onValueChange:A,children:(0,h.jsx)(l.bL,{asChild:!0,...k,orientation:p,dir:w,loop:v,children:(0,h.jsx)(s.sG.div,{role:"radiogroup","aria-required":u,"aria-orientation":p,"data-disabled":c?"":void 0,dir:w,...y,ref:r})})})});G.displayName=C;var D="RadioGroupItem",S=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,disabled:u,...s}=e,i=F(D,t),d=i.disabled||u,c=I(t),p=L(t),f=n.useRef(null),v=(0,o.s)(r,f),m=i.value===s.value,y=n.useRef(!1);return n.useEffect(()=>{let e=e=>{j.includes(e.key)&&(y.current=!0)},r=()=>y.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",r)}},[]),(0,h.jsx)(l.q7,{asChild:!0,...c,focusable:!d,active:m,children:(0,h.jsx)(b,{disabled:d,required:i.required,checked:m,...p,...s,name:i.name,ref:v,onCheck:()=>i.onValueChange(s.value),onKeyDown:(0,a.m)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,a.m)(s.onFocus,()=>{var e;y.current&&(null===(e=f.current)||void 0===e||e.click())})})})});S.displayName=D;var T=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,...n}=e,a=L(t);return(0,h.jsx)(R,{...a,...n,ref:r})});T.displayName="RadioGroupIndicator";var q=G,N=S,H=T},15488:(e,r,t)=>{t.d(r,{RG:()=>A,bL:()=>L,q7:()=>P});var n=t(52114),a=t(13483),o=t(39359),u=t(74768),s=t(21762),l=t(2441),i=t(63324),d=t(80461),c=t(32617),p=t(23793),f=t(19002),h="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[y,k,w]=(0,o.N)(m),[b,A]=(0,s.A)(m,[w]),[R,g]=b(m),x=n.forwardRef((e,r)=>(0,f.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(j,{...e,ref:r})})}));x.displayName=m;var j=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:o,loop:s=!1,dir:l,currentTabStopId:m,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:w,onEntryFocus:b,preventScrollOnEntryFocus:A=!1,...g}=e,x=n.useRef(null),j=(0,u.s)(r,x),C=(0,p.jH)(l),[E=null,M]=(0,c.i)({prop:m,defaultProp:y,onChange:w}),[L,P]=n.useState(!1),F=(0,d.c)(b),G=k(t),D=n.useRef(!1),[S,T]=n.useState(0);return n.useEffect(()=>{let e=x.current;if(e)return e.addEventListener(h,F),()=>e.removeEventListener(h,F)},[F]),(0,f.jsx)(R,{scope:t,orientation:o,dir:C,loop:s,currentTabStopId:E,onItemFocus:n.useCallback(e=>M(e),[M]),onItemShiftTab:n.useCallback(()=>P(!0),[]),onFocusableItemAdd:n.useCallback(()=>T(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>T(e=>e-1),[]),children:(0,f.jsx)(i.sG.div,{tabIndex:L||0===S?-1:0,"data-orientation":o,...g,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,a.m)(e.onMouseDown,()=>{D.current=!0}),onFocus:(0,a.m)(e.onFocus,e=>{let r=!D.current;if(e.target===e.currentTarget&&r&&!L){let r=new CustomEvent(h,v);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=G().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),A)}}D.current=!1}),onBlur:(0,a.m)(e.onBlur,()=>P(!1))})})}),C="RovingFocusGroupItem",E=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:o=!0,active:u=!1,tabStopId:s,...d}=e,c=(0,l.B)(),p=s||c,h=g(C,t),v=h.currentTabStopId===p,m=k(t),{onFocusableItemAdd:w,onFocusableItemRemove:b}=h;return n.useEffect(()=>{if(o)return w(),()=>b()},[o,w,b]),(0,f.jsx)(y.ItemSlot,{scope:t,id:p,focusable:o,active:u,children:(0,f.jsx)(i.sG.span,{tabIndex:v?0:-1,"data-orientation":h.orientation,...d,ref:r,onMouseDown:(0,a.m)(e.onMouseDown,e=>{o?h.onItemFocus(p):e.preventDefault()}),onFocus:(0,a.m)(e.onFocus,()=>h.onItemFocus(p)),onKeyDown:(0,a.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){h.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let a=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(a))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(a)))return M[a]}(e,h.orientation,h.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let t=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)t.reverse();else if("prev"===r||"next"===r){"prev"===r&&t.reverse();let n=t.indexOf(e.currentTarget);t=h.loop?function(e,r){return e.map((t,n)=>e[(r+n)%e.length])}(t,n+1):t.slice(n+1)}setTimeout(()=>I(t))}})})})});E.displayName=C;var M={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var L=x,P=E}}]);