!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="42c62318-6d01-46d3-95e7-67b932bb2550",e._sentryDebugIdIdentifier="sentry-dbid-42c62318-6d01-46d3-95e7-67b932bb2550")}catch(e){}}();var _sentryModuleMetadataGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"use strict";_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack],{"_sentryBundlerPluginAppKey:sentry-changelog":!0}),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[660],{97631:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},96250:(e,t,r)=>{r.d(t,{N:()=>i});var n=r(12115),o=r(72923),l=r(41555),a=r(61254),u=r(95155);function i(e){let t=e+"CollectionProvider",[r,i]=(0,o.A)(t),[s,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,o=n.useRef(null),l=n.useRef(new Map).current;return(0,u.jsx)(s,{scope:t,itemMap:l,collectionRef:o,children:r})};d.displayName=t;let f=e+"CollectionSlot",p=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=c(f,r),i=(0,l.s)(t,o.collectionRef);return(0,u.jsx)(a.DX,{ref:i,children:n})});p.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",g=n.forwardRef((e,t)=>{let{scope:r,children:o,...i}=e,s=n.useRef(null),d=(0,l.s)(t,s),f=c(v,r);return n.useEffect(()=>(f.itemMap.set(s,{ref:s,...i}),()=>void f.itemMap.delete(s))),(0,u.jsx)(a.DX,{[m]:"",ref:d,children:o})});return g.displayName=v,[{Provider:d,Slot:p,ItemSlot:g},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}},41555:(e,t,r)=>{r.d(t,{s:()=>a,t:()=>l});var n=r(12115);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{r.d(t,{A:()=>a,q:()=>l});var n=r(12115),o=r(95155);function l(e,t){let r=n.createContext(t),l=e=>{let{children:t,...l}=e,a=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(r.Provider,{value:a,children:t})};return l.displayName=e+"Provider",[l,function(o){let l=n.useContext(r);if(l)return l;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function a(e,t=[]){let r=[],l=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return l.scopeName=e,[function(t,l){let a=n.createContext(l),u=r.length;r=[...r,l];let i=t=>{let{scope:r,children:l,...i}=t,s=r?.[e]?.[u]||a,c=n.useMemo(()=>i,Object.values(i));return(0,o.jsx)(s.Provider,{value:c,children:l})};return i.displayName=t+"Provider",[i,function(r,o){let i=o?.[e]?.[u]||a,s=n.useContext(i);if(s)return s;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(l,...t)]}},87313:(e,t,r)=>{r.d(t,{Kq:()=>u,jH:()=>a});var n=r(12115),o=r(95155),l=n.createContext(void 0);function a(e){let t=n.useContext(l);return e||t||"ltr"}var u=e=>{let{dir:t,children:r}=e;return(0,o.jsx)(l.Provider,{value:t,children:r})}},6831:(e,t,r)=>{r.d(t,{B:()=>i});var n,o=r(12115),l=r(82378),a=(n||(n=r.t(o,2)))["useId".toString()]||(()=>void 0),u=0;function i(e){let[t,r]=o.useState(a());return(0,l.N)(()=>{e||r(e=>e??String(u++))},[e]),e||(t?`radix-${t}`:"")}},4165:(e,t,r)=>{r.d(t,{hO:()=>i,sG:()=>u});var n=r(12115),o=r(47650),l=r(61254),a=r(95155),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...o}=e,u=n?l.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(u,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function i(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},48682:(e,t,r)=>{r.d(t,{RG:()=>x,bL:()=>N,q7:()=>A});var n=r(12115),o=r(97631),l=r(96250),a=r(41555),u=r(72923),i=r(6831),s=r(4165),c=r(29303),d=r(79551),f=r(87313),p=r(95155),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[y,b,w]=(0,l.N)(g),[h,x]=(0,u.A)(g,[w]),[R,j]=h(g),C=n.forwardRef((e,t)=>(0,p.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(_,{...e,ref:t})})}));C.displayName=g;var _=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:l,loop:u=!1,dir:i,currentTabStopId:g,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:w,onEntryFocus:h,preventScrollOnEntryFocus:x=!1,...j}=e,C=n.useRef(null),_=(0,a.s)(t,C),M=(0,f.jH)(i),[G=null,I]=(0,d.i)({prop:g,defaultProp:y,onChange:w}),[N,A]=n.useState(!1),D=(0,c.c)(h),T=b(r),S=n.useRef(!1),[k,P]=n.useState(0);return n.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(v,D),()=>e.removeEventListener(v,D)},[D]),(0,p.jsx)(R,{scope:r,orientation:l,dir:M,loop:u,currentTabStopId:G,onItemFocus:n.useCallback(e=>I(e),[I]),onItemShiftTab:n.useCallback(()=>A(!0),[]),onFocusableItemAdd:n.useCallback(()=>P(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>P(e=>e-1),[]),children:(0,p.jsx)(s.sG.div,{tabIndex:N||0===k?-1:0,"data-orientation":l,...j,ref:_,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!N){let t=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=T().filter(e=>e.focusable);E([e.find(e=>e.active),e.find(e=>e.id===G),...e].filter(Boolean).map(e=>e.ref.current),x)}}S.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>A(!1))})})}),M="RovingFocusGroupItem",G=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:l=!0,active:a=!1,tabStopId:u,...c}=e,d=(0,i.B)(),f=u||d,v=j(M,r),m=v.currentTabStopId===f,g=b(r),{onFocusableItemAdd:w,onFocusableItemRemove:h}=v;return n.useEffect(()=>{if(l)return w(),()=>h()},[l,w,h]),(0,p.jsx)(y.ItemSlot,{scope:r,id:f,focusable:l,active:a,children:(0,p.jsx)(s.sG.span,{tabIndex:m?0:-1,"data-orientation":v.orientation,...c,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{l?v.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>v.onItemFocus(f)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return I[o]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=v.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>E(r))}})})})});G.displayName=M;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function E(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var N=C,A=G},61254:(e,t,r)=>{r.d(t,{DX:()=>a,bL:()=>c,xV:()=>i});var n=r(12115),o=r(41555),l=r(95155),a=n.forwardRef((e,t)=>{let{children:r,...o}=e,a=n.Children.toArray(r),i=a.find(s);if(i){let e=i.props.children,r=a.map(t=>t!==i?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(u,{...o,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,l.jsx)(u,{...o,ref:t,children:r})});a.displayName="Slot";var u=n.forwardRef((e,t)=>{let{children:r,...l}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{l(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props),ref:t?(0,o.t)(t,e):e})}return n.Children.count(r)>1?n.Children.only(null):null});u.displayName="SlotClone";var i=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function s(e){return n.isValidElement(e)&&e.type===i}var c=a},16660:(e,t,r)=>{r.r(t),r.d(t,{Item:()=>G,Root:()=>M,ToggleGroup:()=>m,ToggleGroupItem:()=>C,createToggleGroupScope:()=>p});var n=r(12115),o=r(72923),l=r(4165),a=r(48682),u=r(64934),i=r(79551),s=r(87313),c=r(95155),d="ToggleGroup",[f,p]=(0,o.A)(d,[a.RG]),v=(0,a.RG)(),m=n.forwardRef((e,t)=>{let{type:r,...n}=e;if("single"===r)return(0,c.jsx)(b,{...n,ref:t});if("multiple"===r)return(0,c.jsx)(w,{...n,ref:t});throw Error("Missing prop `type` expected on `".concat(d,"`"))});m.displayName=d;var[g,y]=f(d),b=n.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:l=()=>{},...a}=e,[u,s]=(0,i.i)({prop:r,defaultProp:o,onChange:l});return(0,c.jsx)(g,{scope:e.__scopeToggleGroup,type:"single",value:u?[u]:[],onItemActivate:s,onItemDeactivate:n.useCallback(()=>s(""),[s]),children:(0,c.jsx)(R,{...a,ref:t})})}),w=n.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:l=()=>{},...a}=e,[u=[],s]=(0,i.i)({prop:r,defaultProp:o,onChange:l}),d=n.useCallback(e=>s(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[s]),f=n.useCallback(e=>s(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[s]);return(0,c.jsx)(g,{scope:e.__scopeToggleGroup,type:"multiple",value:u,onItemActivate:d,onItemDeactivate:f,children:(0,c.jsx)(R,{...a,ref:t})})});m.displayName=d;var[h,x]=f(d),R=n.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:o=!0,orientation:u,dir:i,loop:d=!0,...f}=e,p=v(r),m=(0,s.jH)(i),g={role:"group",dir:m,...f};return(0,c.jsx)(h,{scope:r,rovingFocus:o,disabled:n,children:o?(0,c.jsx)(a.bL,{asChild:!0,...p,orientation:u,dir:m,loop:d,children:(0,c.jsx)(l.sG.div,{...g,ref:t})}):(0,c.jsx)(l.sG.div,{...g,ref:t})})}),j="ToggleGroupItem",C=n.forwardRef((e,t)=>{let r=y(j,e.__scopeToggleGroup),o=x(j,e.__scopeToggleGroup),l=v(e.__scopeToggleGroup),u=r.value.includes(e.value),i=o.disabled||e.disabled,s={...e,pressed:u,disabled:i},d=n.useRef(null);return o.rovingFocus?(0,c.jsx)(a.q7,{asChild:!0,...l,focusable:!i,active:u,ref:d,children:(0,c.jsx)(_,{...s,ref:t})}):(0,c.jsx)(_,{...s,ref:t})});C.displayName=j;var _=n.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:n,...o}=e,l=y(j,r),a={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i="single"===l.type?a:void 0;return(0,c.jsx)(u.Toggle,{...i,...o,ref:t,onPressedChange:e=>{e?l.onItemActivate(n):l.onItemDeactivate(n)}})}),M=m,G=C},64934:(e,t,r)=>{r.r(t),r.d(t,{Root:()=>s,Toggle:()=>i});var n=r(12115),o=r(97631),l=r(79551),a=r(4165),u=r(95155),i=n.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n=!1,onPressedChange:i,...s}=e,[c=!1,d]=(0,l.i)({prop:r,onChange:i,defaultProp:n});return(0,u.jsx)(a.sG.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:t,onClick:(0,o.m)(e.onClick,()=>{e.disabled||d(!c)})})});i.displayName="Toggle";var s=i},29303:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(12115);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},79551:(e,t,r)=>{r.d(t,{i:()=>l});var n=r(12115),o=r(29303);function l({prop:e,defaultProp:t,onChange:r=()=>{}}){let[l,a]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[l]=r,a=n.useRef(l),u=(0,o.c)(t);return n.useEffect(()=>{a.current!==l&&(u(l),a.current=l)},[l,a,u]),r}({defaultProp:t,onChange:r}),u=void 0!==e,i=u?e:l,s=(0,o.c)(r);return[i,n.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&s(r)}else a(t)},[u,e,a,s])]}},82378:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(12115),o=globalThis?.document?n.useLayoutEffect:()=>{}}}]);