1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9697],{79697:(e,t,r)=>{r.d(t,{C1:()=>ec,q7:()=>ef,bL:()=>ed});var n,i=r(12115);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}"undefined"!=typeof window&&window.document&&window.document.createElement;var l=r(94446),s=r(3468);r(47650);var u=r(32467),a=r(95155),d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,u.TL)(`Primitive.${t}`),n=i.forwardRef((e,n)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?r:t,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),f=r(67325),c=r(75777),h=r(15378),p=new WeakMap;function m(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=v(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}(e,t);return -1===r?void 0:e[r]}function v(e){return e!=e||0===e?0:Math.trunc(e)}n=new WeakMap,class e extends Map{set(e,t){return p.get(this)&&(this.has(e)?(0,f._)(this,n)[(0,f._)(this,n).indexOf(e)]=e:(0,f._)(this,n).push(e)),super.set(e,t),this}insert(e,t,r){let i,o=this.has(t),l=(0,f._)(this,n).length,s=v(e),u=s>=0?s:l+s,a=u<0||u>=l?-1:u;if(a===this.size||o&&a===this.size-1||-1===a)return this.set(t,r),this;let d=this.size+ +!o;s<0&&u++;let c=[...(0,f._)(this,n)],h=!1;for(let e=u;e<d;e++)if(u===e){let n=c[e];c[e]===t&&(n=c[e+1]),o&&this.delete(t),i=this.get(n),this.set(t,r)}else{h||c[e-1]!==t||(h=!0);let r=c[h?e:e-1],n=i;i=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=(0,f._)(this,n).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=(0,f._)(this,n).indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=(0,f._)(this,n).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=(0,f._)(this,n).indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return(0,h._)(this,n,[]),super.clear()}delete(e){let t=super.delete(e);return t&&(0,f._)(this,n).splice((0,f._)(this,n).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=m((0,f._)(this,n),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=m((0,f._)(this,n),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return(0,f._)(this,n).indexOf(e)}keyAt(e){return m((0,f._)(this,n),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=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<0&&(n=0),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<e;r++)t[r]=arguments[r];let[n,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(n,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=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;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),(0,c._)(this,n,{writable:!0,value:void 0}),(0,h._)(this,n,[...super.keys()]),p.set(this,!0)}};var y=r(68946),w=r(70222),R=r(23558),g=r(66218),A="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},x="RovingFocusGroup",[N,k,E]=function(e){let t=e+"CollectionProvider",[r,n]=(0,s.A)(t),[o,d]=r(t,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:t,children:r}=e,n=i.useRef(null),l=i.useRef(new Map).current;return(0,a.jsx)(o,{scope:t,itemMap:l,collectionRef:n,children:r})};f.displayName=t;let c=e+"CollectionSlot",h=(0,u.TL)(c),p=i.forwardRef((e,t)=>
1{let{scope:r,children:n}=e,i=d(c,r),o=(0,l.s)(t,i.collectionRef);return(0,a.jsx)(h,{ref:o,children:n})});p.displayName=c;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,u.TL)(m),w=i.forwardRef((e,t)=>{let{scope:r,children:n,...o}=e,s=i.useRef(null),u=(0,l.s)(t,s),f=d(m,r);return i.useEffect(()=>(f.itemMap.set(s,{ref:s,...o}),()=>void f.itemMap.delete(s))),(0,a.jsx)(y,{...{[v]:""},ref:u,children:n})});return w.displayName=m,[{Provider:f,Slot:p,ItemSlot:w},function(t){let r=d(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(x),[I,O]=(0,s.A)(x,[E]),[M,_]=I(x),T=i.forwardRef((e,t)=>(0,a.jsx)(N.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,a.jsx)(N.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,a.jsx)(j,{...e,ref:t})})}));T.displayName=x;var j=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:s=!1,dir:u,currentTabStopId:f,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:h,onEntryFocus:p,preventScrollOnEntryFocus:m=!1,...v}=e,y=i.useRef(null),N=(0,l.s)(t,y),E=(0,g.jH)(u),[I,O]=(0,R.i)({prop:f,defaultProp:null!=c?c:null,onChange:h,caller:x}),[_,T]=i.useState(!1),j=(0,w.c)(p),C=k(r),S=i.useRef(!1),[F,D]=i.useState(0);return i.useEffect(()=>{let e=y.current;if(e)return e.addEventListener(A,j),()=>e.removeEventListener(A,j)},[j]),(0,a.jsx)(M,{scope:r,orientation:n,dir:E,loop:s,currentTabStopId:I,onItemFocus:i.useCallback(e=>O(e),[O]),onItemShiftTab:i.useCallback(()=>T(!0),[]),onFocusableItemAdd:i.useCallback(()=>D(e=>e+1),[]),onFocusableItemRemove:i.useCallback(()=>D(e=>e-1),[]),children:(0,a.jsx)(d.div,{tabIndex:_||0===F?-1:0,"data-orientation":n,...v,ref:N,style:{outline:"none",...e.style},onMouseDown:o(e.onMouseDown,()=>{S.current=!0}),onFocus:o(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(A,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=C().filter(e=>e.focusable);L([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),m)}}S.current=!1}),onBlur:o(e.onBlur,()=>T(!1))})})}),C="RovingFocusGroupItem",S=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:l=!1,tabStopId:s,children:u,...f}=e,c=(0,y.B)(),h=s||c,p=_(C,r),m=p.currentTabStopId===h,v=k(r),{onFocusableItemAdd:w,onFocusableItemRemove:R,currentTabStopId:g}=p;return i.useEffect(()=>{if(n)return w(),()=>R()},[n,w,R]),(0,a.jsx)(N.ItemSlot,{scope:r,id:h,focusable:n,active:l,children:(0,a.jsx)(d.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...f,ref:t,onMouseDown:o(e.onMouseDown,e=>{n?p.onItemFocus(h):e.preventDefault()}),onFocus:o(e.onFocus,()=>p.onItemFocus(h)),onKeyDown:o(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return F[i]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=v().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=p.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>L(r))}}),children:"function"==typeof u?u({isCurrentTabStop:m,hasTabStop:null!=g}):u})})});S.displayName=C;var F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function L(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 D=r(84288),P=r(78108),U=r(4129),z=e=>{let{present:t,children:r}=e,n=function(e){var t,r;let[n,o]=i.useState(),l=i.useRef(null),s=i.useRef(e),u=i.useRef("none"),[a,d]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((e,t)=>
1{let n=r[e][t];return null!=n?n:e},t));return i.useEffect(()=>{let e=G(l.current);u.current="mounted"===a?e:"none"},[a]),(0,U.N)(()=>{let t=l.current,r=s.current;if(r!==e){let n=u.current,i=G(t);e?d("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),(0,U.N)(()=>{if(n){var e;let t,r=null!=(e=n.ownerDocument.defaultView)?e:window,i=e=>{let i=G(l.current).includes(CSS.escape(e.animationName));if(e.target===n&&i&&(d("ANIMATION_END"),!s.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},o=e=>{e.target===n&&(u.current=G(l.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",i),n.addEventListener("animationend",i),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",i),n.removeEventListener("animationend",i)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(t),o="function"==typeof r?r({present:n.isPresent}):i.Children.only(r),s=(0,l.s)(n.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(i=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o));return"function"==typeof r||n.isPresent?i.cloneElement(o,{ref:s}):null};function G(e){return(null==e?void 0:e.animationName)||"none"}z.displayName="Presence";var K="Radio",[B,W]=(0,s.A)(K),[q,H]=B(K),V=i.forwardRef((e,t)=>{let{__scopeRadio:r,name:n,checked:s=!1,required:u,disabled:f,value:c="on",onCheck:h,form:p,...m}=e,[v,y]=i.useState(null),w=(0,l.s)(t,e=>y(e)),R=i.useRef(!1),g=!v||p||!!v.closest("form");return(0,a.jsxs)(q,{scope:r,checked:s,disabled:f,children:[(0,a.jsx)(d.button,{type:"button",role:"radio","aria-checked":s,"data-state":J(s),"data-disabled":f?"":void 0,disabled:f,value:c,...m,ref:w,onClick:o(e.onClick,e=>{s||null==h||h(),g&&(R.current=e.isPropagationStopped(),R.current||e.stopPropagation())})}),g&&(0,a.jsx)(Z,{control:v,bubbles:!R.current,name:n,value:c,checked:s,required:u,disabled:f,form:p,style:{transform:"translateX(-100%)"}})]})});V.displayName=K;var X="RadioIndicator",$=i.forwardRef((e,t)=>{let{__scopeRadio:r,forceMount:n,...i}=e,o=H(X,r);return(0,a.jsx)(z,{present:n||o.checked,children:(0,a.jsx)(d.span,{"data-state":J(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t})})});$.displayName=X;var Z=i.forwardRef((e,t)=>{let{__scopeRadio:r,control:n,checked:o,bubbles:s=!0,...u}=e,f=i.useRef(null),c=(0,l.s)(f,t),h=(0,P.Z)(o),p=(0,D.X)(n);return i.useEffect(()=>{let e=f.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(h!==o&&t){let r=new Event("click",{bubbles:s});t.call(e,o),e.dispatchEvent(r)}},[h,o,s]),(0,a.jsx)(d.input,{type:"radio","aria-hidden":!0,defaultChecked:o,...u,tabIndex:-1,ref:c,style:{...u.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function J(e){return e?"checked":"unchecked"}Z.displayName="RadioBubbleInput";var Q=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Y="RadioGroup",[ee,et]=(0,s.A)(Y,[O,W]),er=O(),en=W(),[ei,eo]=ee(Y),el=i.forwardRef((e,t)=>{let{__scopeRadioGroup:r,name:n,defaultValue:i,value:o,required:l=!1,disabled:s=!1,orientation:u,dir:f,loop:c=!0,onValueChange:h,...p}=e,m=er(r),v=(0,g.jH)(f),[y,w]=(0,R.i)({prop:o,defaultProp:null!=i?i:null,onChange:h,caller:Y});return(0,a.jsx)(ei,{scope:r,name:n,required:l,disabled:s,value:y,onValueChange:w,children:(0,a.jsx)(T,{asChild:!0,...m,orientation:u,dir:v,loop:c,children:(0,a.jsx)(d.div,{role:"radiogroup","aria-required":l,"aria-orientation":u,"data-disabled":s?"":void 0,dir:v,...p,ref:t})})})});el.displayName=Y;var es="RadioGroupItem",eu=i.forwardRef((e,t)=>{let{__scopeRadioGroup:r,disabled:n,...s}=e,u=eo(es,r),d=u.disabled||n,f=er(r),c=en(r),h=i.useRef(null),p=(0,l.s)(t,h),m=u.value===s.value,v=i.useRef(!1);return i.useEffect(()=>{let e=e=>
1{Q.includes(e.key)&&(v.current=!0)},t=()=>v.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,a.jsx)(S,{asChild:!0,...f,focusable:!d,active:m,children:(0,a.jsx)(V,{disabled:d,required:u.required,checked:m,...c,...s,name:u.name,ref:p,onCheck:()=>u.onValueChange(s.value),onKeyDown:o(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:o(s.onFocus,()=>{var e;v.current&&(null==(e=h.current)||e.click())})})})});eu.displayName=es;var ea=i.forwardRef((e,t)=>{let{__scopeRadioGroup:r,...n}=e,i=en(r);return(0,a.jsx)($,{...i,...n,ref:t})});ea.displayName="RadioGroupIndicator";var ed=el,ef=eu,ec=ea}}]);
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.