1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7974],{37974:(e,t,r)=>{r.d(t,{q7:()=>M,bL:()=>F,RG:()=>R});var n=r(12115);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}var l=r(46081),u=r(6101),i=r(95155);function a(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){var l;let e,i,a=(l=r,(i=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(i=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),c=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}}(o,r.props);return r.type!==n.Fragment&&(c.ref=t?(0,u.t)(t,a):a),n.cloneElement(r,c)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:o,...l}=e,u=n.Children.toArray(o),a=u.find(s);if(a){let e=a.props.children,o=u.map(t=>t!==a?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...l,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...l,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}var c=Symbol("radix.slottable");function s(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}var f=r(61285);r(47650);var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=a(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?r:t,{...l,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),p=r(39033),m=r(94315),v="rovingFocusGroup.onEntryFocus",w={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[h,b,g]=function(e){let t=e+"CollectionProvider",[r,o]=(0,l.A)(t),[c,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:t,children:r}=e,o=n.useRef(null),l=n.useRef(new Map).current;return(0,i.jsx)(c,{scope:t,itemMap:l,collectionRef:o,children:r})};f.displayName=t;let d=e+"CollectionSlot",p=a(d),m=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=s(d,r),l=(0,u.s)(t,o.collectionRef);return(0,i.jsx)(p,{ref:l,children:n})});m.displayName=d;let v=e+"CollectionItemSlot",w="data-radix-collection-item",y=a(v),h=n.forwardRef((e,t)=>{let{scope:r,children:o,...l}=e,a=n.useRef(null),c=(0,u.s)(t,a),f=s(v,r);return n.useEffect(()=>(f.itemMap.set(a,{ref:a,...l}),()=>void f.itemMap.delete(a))),(0,i.jsx)(y,{...{[w]:""},ref:c,children:o})});return h.displayName=v,[{Provider:f,Slot:m,ItemSlot:h},function(t){let r=s(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(w,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},o]}(y),[x,R]=(0,l.A)(y,[g]),[C,E]=x(y),j=n.forwardRef((e,t)=>(0,i.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,i.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,i.jsx)(S,{...e,ref:t})})}));j.displayName=y;var S=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:l,loop:a=!1,dir:c,currentTabStopId:s,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:y,onEntryFocus:h,preventScrollOnEntryFocus:g=!1,...x}=e,R=n.useRef(null),E=(0,u.s)(t,R),j=(0,m.jH)(c),[S=null,A]=function({prop:e,defaultProp:t,onChange:r=()=>{}}){let[o,l]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[o]=r,l=n.useRef(o),u=(0,p.c)(t);return n.useEffect(()=>{l.current!==o&&(u(o),l.current=o)},[o,l,u]),r}({defaultProp:t,onChange:r}),u=void 0!==e,i=u?e:o,a=(0,p.c)(r);return[i,n.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&a(r)}else l(t)},[u,e,l,a])]}({prop:s,defaultProp:f,onChange:y}),[N,I]=n.useState(!1),F=(0,p.c)(h),M=b(r),P=n.useRef(!1),[D,k]=n.useState(0);return n.useEffect(()=>{let e=R.current;if(e)return e.addEventListener(v,F),()=>e.removeEventListener(v,F)},[F]),(0,i.jsx)(C,{scope:r,orientation:l,dir:j,loop:a,currentTabStopId:S,onItemFocus:n.useCallback(e=>A(e),[A]),onItemShiftTab:n.useCallback(()=>I(!0),[]),onFocusableItemAdd:n.useCallback(()=>k(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>k(e=>e-1),[]),children:(0,i.jsx)(d.div,{tabIndex:N||0===D?-1:0,"data-orientation":l,...x,ref:E,style:{outline:"none",...e.style},onMouseDown:o(e.onMouseDown,()=>{P.current=!0}),onFocus:o(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!N){let t=new CustomEvent(v,w);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=M().filter(e=>
1e.focusable);_([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current),g)}}P.current=!1}),onBlur:o(e.onBlur,()=>I(!1))})})}),A="RovingFocusGroupItem",N=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:l=!0,active:u=!1,tabStopId:a,...c}=e,s=(0,f.B)(),p=a||s,m=E(A,r),v=m.currentTabStopId===p,w=b(r),{onFocusableItemAdd:y,onFocusableItemRemove:g}=m;return n.useEffect(()=>{if(l)return y(),()=>g()},[l,y,g]),(0,i.jsx)(h.ItemSlot,{scope:r,id:p,focusable:l,active:u,children:(0,i.jsx)(d.span,{tabIndex:v?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:o(e.onMouseDown,e=>{l?m.onItemFocus(p):e.preventDefault()}),onFocus:o(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:o(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();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,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=w().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=m.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>_(r))}})})})});N.displayName=A;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function _(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 F=j,M=N},39033:(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),[])}},46081:(e,t,r)=>{r.d(t,{A:()=>u,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,u=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(r.Provider,{value:u,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 u(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 u=n.createContext(l),i=r.length;r=[...r,l];let a=t=>{let{scope:r,children:l,...a}=t,c=r?.[e]?.[i]||u,s=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(c.Provider,{value:s,children:l})};return a.displayName=t+"Provider",[a,function(r,o){let a=o?.[e]?.[i]||u,c=n.useContext(a);if(c)return c;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)]}},52712:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(12115),o=globalThis?.document?n.useLayoutEffect:()=>{}},61285:(e,t,r)=>{r.d(t,{B:()=>a});var n,o=r(12115),l=r(52712),u=(n||(n=r.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),i=0;function a(e){let[t,r]=o.useState(u());return(0,l.N)(()=>{e||r(e=>e??String(i++))},[e]),e||(t?`radix-${t}`:"")}},94315:(e,t,r)=>{r.d(t,{jH:()=>l});var n=r(12115);r(95155);var o=n.createContext(void 0);function l(e){let t=n.useContext(o);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.