1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1658],{35025:(e,t,r)=>{r.d(t,{jH:()=>s});var i=r(7620);r(54568);var n=i.createContext(void 0);function s(e){let t=i.useContext(n);return e||t||"ltr"}},37523:(e,t,r)=>{function i(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function n(e,t){var r=i(e,t,"get");return r.get?r.get.call(e):r.value}function s(e,t,r){var n=i(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}r.d(t,{N:()=>h});var l,o=r(7620),u=r(18107),a=r(61715),f=r(46118),c=r(54568);function h(e){let t=e+"CollectionProvider",[r,i]=(0,u.A)(t),[n,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:r}=e,i=o.useRef(null),s=o.useRef(new Map).current;return(0,c.jsx)(n,{scope:t,itemMap:s,collectionRef:i,children:r})};l.displayName=t;let h=e+"CollectionSlot",d=(0,f.TL)(h),p=o.forwardRef((e,t)=>{let{scope:r,children:i}=e,n=s(h,r),l=(0,a.s)(t,n.collectionRef);return(0,c.jsx)(d,{ref:l,children:i})});p.displayName=h;let v=e+"CollectionItemSlot",y="data-radix-collection-item",m=(0,f.TL)(v),w=o.forwardRef((e,t)=>{let{scope:r,children:i,...n}=e,l=o.useRef(null),u=(0,a.s)(t,l),f=s(v,r);return o.useEffect(()=>(f.itemMap.set(l,{ref:l,...n}),()=>void f.itemMap.delete(l))),(0,c.jsx)(m,{...{[y]:""},ref:u,children:i})});return w.displayName=v,[{Provider:l,Slot:p,ItemSlot:w},function(t){let r=s(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(y,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}var d=new WeakMap;function p(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,i=v(t),n=i>=0?i:r+i;return n<0||n>=r?-1:n}(e,t);return -1===r?void 0:e[r]}function v(e){return e!=e||0===e?0:Math.trunc(e)}l=new WeakMap,class e extends Map{set(e,t){return d.get(this)&&(this.has(e)?n(this,l)[n(this,l).indexOf(e)]=e:n(this,l).push(e)),super.set(e,t),this}insert(e,t,r){let i,s=this.has(t),o=n(this,l).length,u=v(e),a=u>=0?u:o+u,f=a<0||a>=o?-1:a;if(f===this.size||s&&f===this.size-1||-1===f)return this.set(t,r),this;let c=this.size+ +!s;u<0&&a++;let h=[...n(this,l)],d=!1;for(let e=a;e<c;e++)if(a===e){let n=h[e];h[e]===t&&(n=h[e+1]),s&&this.delete(t),i=this.get(n),this.set(t,r)}else{d||h[e-1]!==t||(d=!0);let r=h[d?e:e-1],n=i;i=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,i){let n=new e(this);return n.insert(t,r,i),n}before(e){let t=n(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=n(this,l).indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=n(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=n(this,l).indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return s(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&n(this,l).splice(n(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=p(n(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=p(n(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return n(this,l).indexOf(e)}keyAt(e){return p(n(this,l),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return i;r++}}findIndex(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return r;r++}return -1}filter(t,r){let i=[],n=0;for(let e of this)Reflect.apply(t,r,[e,n,this])&&i.push(e),n++;return new e(i)}map(t,r){let i=[],n=0;for(let e of this)i.push([e[0],Reflect.apply(t,r,[e,n,this])]),n++;return new e(i)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[i,n]=t,s=0,l=null!=n?n:this.at(0);for(let e of this)l=0===s&&1===t.length?e:Reflect.apply(i,this,[l,e,s,this]),s++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[i,n]=t,s=null!=n?n:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);s=e===this.size-1&&1===t.length?r:Reflect.apply(i,this,[s,r,e,this])}return s}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),i=this.get(r);t.set(r,i)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];let n=[...this.entries()];return n.splice(...r),new e(n)}slice(t,r){let i=new e,n=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==r&&r>0&&(n=r-1);for(let e=t;e<=n;e++){let t=this.keyAt(e),r=this.get(t);i.set(t,r)}return i}every(e,t){let r=0;for(let i of this){if(!Reflect.apply(e,t,[i,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,l,{writable:!0,value:void 0}),s(this,l,[...super.keys()]),d.set(this,!0)}}},51658:(e,t,r)=>{r.d(t,{RG:()=>R,bL:()=>T,q7:()=>z});var i=r(7620),n=r(2469),s=r(37523),l=r(61715),o=r(18107),u=r(1679),a=r(60421),f=r(9111),c=r(54111),h=r(35025),d=r(54568),p="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[m,w,g]=(0,s.N)(y),[A,R]=(0,o.A)(y,[g]),[x,b]=A(y),k=i.forwardRef((e,t)=>
1(0,d.jsx)(m.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(m.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(C,{...e,ref:t})})}));k.displayName=y;var C=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:s,loop:o=!1,dir:u,currentTabStopId:m,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:A,onEntryFocus:R,preventScrollOnEntryFocus:b=!1,...k}=e,C=i.useRef(null),E=(0,l.s)(t,C),F=(0,h.jH)(u),[I,T]=(0,c.i)({prop:m,defaultProp:null!=g?g:null,onChange:A,caller:y}),[z,M]=i.useState(!1),j=(0,f.c)(R),K=w(r),O=i.useRef(!1),[D,L]=i.useState(0);return i.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(p,j),()=>e.removeEventListener(p,j)},[j]),(0,d.jsx)(x,{scope:r,orientation:s,dir:F,loop:o,currentTabStopId:I,onItemFocus:i.useCallback(e=>T(e),[T]),onItemShiftTab:i.useCallback(()=>M(!0),[]),onFocusableItemAdd:i.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:i.useCallback(()=>L(e=>e-1),[]),children:(0,d.jsx)(a.sG.div,{tabIndex:z||0===D?-1:0,"data-orientation":s,...k,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,n.mK)(e.onMouseDown,()=>{O.current=!0}),onFocus:(0,n.mK)(e.onFocus,e=>{let t=!O.current;if(e.target===e.currentTarget&&t&&!z){let t=new CustomEvent(p,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=K().filter(e=>e.focusable);S([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),b)}}O.current=!1}),onBlur:(0,n.mK)(e.onBlur,()=>M(!1))})})}),E="RovingFocusGroupItem",F=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:s=!0,active:l=!1,tabStopId:o,children:f,...c}=e,h=(0,u.B)(),p=o||h,v=b(E,r),y=v.currentTabStopId===p,g=w(r),{onFocusableItemAdd:A,onFocusableItemRemove:R,currentTabStopId:x}=v;return i.useEffect(()=>{if(s)return A(),()=>R()},[s,A,R]),(0,d.jsx)(m.ItemSlot,{scope:r,id:p,focusable:s,active:l,children:(0,d.jsx)(a.sG.span,{tabIndex:y?0:-1,"data-orientation":v.orientation,...c,ref:t,onMouseDown:(0,n.mK)(e.onMouseDown,e=>{s?v.onItemFocus(p):e.preventDefault()}),onFocus:(0,n.mK)(e.onFocus,()=>v.onItemFocus(p)),onKeyDown:(0,n.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var i;let n=(i=e.key,"rtl"!==r?i:"ArrowLeft"===i?"ArrowRight":"ArrowRight"===i?"ArrowLeft":i);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return I[n]}(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 i=r.indexOf(e.currentTarget);r=v.loop?function(e,t){return e.map((r,i)=>e[(t+i)%e.length])}(r,i+1):r.slice(i+1)}setTimeout(()=>S(r))}}),children:"function"==typeof f?f({isCurrentTabStop:y,hasTabStop:null!=x}):f})})});F.displayName=E;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let i of e)if(i===r||(i.focus({preventScroll:t}),document.activeElement!==r))return}var T=k,z=F}}]);
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.