1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8487],{30454:(e,t,r)=>{function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function i(e,t){var r=n(e,t,"get");return r.get?r.get.call(e):r.value}function l(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}return r}r.d(t,{N:()=>h,C:()=>y});var o,s=r(46709),u=r(57105),f=r(3071),a=r(24675),c=r(88689);function h(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),o=e=>{let{scope:t,children:r}=e,n=s.useRef(null),l=s.useRef(new Map).current;return(0,c.jsx)(i,{scope:t,itemMap:l,collectionRef:n,children:r})};o.displayName=t;let h=e+"CollectionSlot",d=(0,a.TL)(h),p=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=l(h,r),o=(0,f.s)(t,i.collectionRef);return(0,c.jsx)(d,{ref:o,children:n})});p.displayName=h;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,a.TL)(m),w=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,o=s.useRef(null),u=(0,f.s)(t,o),a=l(m,r);return s.useEffect(()=>(a.itemMap.set(o,{ref:o,...i}),()=>void a.itemMap.delete(o))),(0,c.jsx)(y,{...{[v]:""},ref:u,children:n})});return w.displayName=m,[{Provider:o,Slot:p,ItemSlot:w},function(t){let r=l(e+"CollectionConsumer",t);return s.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]}var d=new WeakMap,p=(o=new WeakMap,class e extends Map{set(e,t){return d.get(this)&&(this.has(e)?i(this,o)[i(this,o).indexOf(e)]=e:i(this,o).push(e)),super.set(e,t),this}insert(e,t,r){let n,l=this.has(t),s=i(this,o).length,u=v(e),f=u>=0?u:s+u,a=f<0||f>=s?-1:f;if(a===this.size||l&&a===this.size-1||-1===a)return this.set(t,r),this;let c=this.size+ +!l;u<0&&f++;let h=[...i(this,o)],d=!1;for(let e=f;e<c;e++)if(f===e){let i=h[e];h[e]===t&&(i=h[e+1]),l&&this.delete(t),n=this.get(i),this.set(t,r)}else{d||h[e-1]!==t||(d=!0);let r=h[d?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=i(this,o).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=i(this,o).indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=i(this,o).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=i(this,o).indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return l(this,o,[]),super.clear()}delete(e){let t=super.delete(e);return t&&i(this,o).splice(i(this,o).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=m(i(this,o),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=m(i(this,o),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return i(this,o).indexOf(e)}keyAt(e){return m(i(this,o),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,l=0,o=null!=i?i:this.at(0);for(let e of this)o=0===l&&1===t.length?e:Reflect.apply(n,this,[o,e,l,this]),l++;return o}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,l=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);l=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[l,r,e,this])}return l}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)}
1slice(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),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,o,{writable:!0,value:void 0}),l(this,o,[...super.keys()]),d.set(this,!0)}});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)}function y(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,l]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new p,setItemMap:()=>void 0}),o=e=>{let{state:t,...r}=e;return t?(0,c.jsx)(d,{...r,state:t}):(0,c.jsx)(h,{...r})};o.displayName=t;let h=e=>{let t=b();return(0,c.jsx)(d,{...e,state:t})};h.displayName=t+"Init";let d=e=>{let{scope:t,children:r,state:n}=e,l=s.useRef(null),[o,u]=s.useState(null),a=(0,f.s)(l,u),[h,d]=n;return s.useEffect(()=>{var e;if(!o)return;let t=(e=()=>{},new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()}));return t.observe(o,{childList:!0,subtree:!0}),()=>{t.disconnect()}},[o]),(0,c.jsx)(i,{scope:t,itemMap:h,setItemMap:d,collectionRef:a,collectionRefObject:l,collectionElement:o,children:r})};d.displayName=t+"Impl";let m=e+"CollectionSlot",v=(0,a.TL)(m),y=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=l(m,r),o=(0,f.s)(t,i.collectionRef);return(0,c.jsx)(v,{ref:o,children:n})});y.displayName=m;let R=e+"CollectionItemSlot",g=(0,a.TL)(R),x=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,o=s.useRef(null),[u,a]=s.useState(null),h=(0,f.s)(t,o,a),{setItemMap:d}=l(R,r),m=s.useRef(i);!function(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}(m.current,i)&&(m.current=i);let v=m.current;return s.useEffect(()=>(d(e=>u?e.has(u)?e.set(u,{...v,element:u}).toSorted(w):(e.set(u,{...v,element:u}),e.toSorted(w)):e),()=>{d(e=>u&&e.has(u)?(e.delete(u),new p(e)):e)}),[u,v,d]),(0,c.jsx)(g,{"data-radix-collection-item":"",ref:h,children:n})});function b(){return s.useState(new p)}return x.displayName=R,[{Provider:o,Slot:y,ItemSlot:x},{createCollectionScope:n,useCollection:function(t){let{itemMap:r}=l(e+"CollectionConsumer",t);return r},useInitCollection:b}]}function w(e,t){var r;return e[1].element&&t[1].element?(r=e[1].element,t[1].element.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING)?-1:1:0}},70972:(e,t,r)=>{r.d(t,{jH:()=>l});var n=r(46709);r(88689);var i=n.createContext(void 0);function l(e){let t=n.useContext(i);return e||t||"ltr"}},78487:(e,t,r)=>{r.d(t,{RG:()=>x,bL:()=>E,q7:()=>T});var n=r(46709),i=r(76005),l=r(30454),o=r(3071),s=r(57105),u=r(50120
1),f=r(83479),a=r(32244),c=r(6220),h=r(70972),d=r(88689),p="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[y,w,R]=(0,l.N)(v),[g,x]=(0,s.A)(v,[R]),[b,A]=g(v),j=n.forwardRef((e,t)=>(0,d.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(C,{...e,ref:t})})}));j.displayName=v;var C=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:l,loop:s=!1,dir:u,currentTabStopId:y,defaultCurrentTabStopId:R,onCurrentTabStopIdChange:g,onEntryFocus:x,preventScrollOnEntryFocus:A=!1,...j}=e,C=n.useRef(null),S=(0,o.s)(t,C),I=(0,h.jH)(u),[O,E]=(0,c.i)({prop:y,defaultProp:null!=R?R:null,onChange:g,caller:v}),[T,M]=n.useState(!1),N=(0,a.c)(x),F=w(r),z=n.useRef(!1),[D,L]=n.useState(0);return n.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(p,N),()=>e.removeEventListener(p,N)},[N]),(0,d.jsx)(b,{scope:r,orientation:l,dir:I,loop:s,currentTabStopId:O,onItemFocus:n.useCallback(e=>E(e),[E]),onItemShiftTab:n.useCallback(()=>M(!0),[]),onFocusableItemAdd:n.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>L(e=>e-1),[]),children:(0,d.jsx)(f.sG.div,{tabIndex:T||0===D?-1:0,"data-orientation":l,...j,ref:S,style:{outline:"none",...e.style},onMouseDown:(0,i.m)(e.onMouseDown,()=>{z.current=!0}),onFocus:(0,i.m)(e.onFocus,e=>{let t=!z.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(p,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>e.focusable);k([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current),A)}}z.current=!1}),onBlur:(0,i.m)(e.onBlur,()=>M(!1))})})}),S="RovingFocusGroupItem",I=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:l=!0,active:o=!1,tabStopId:s,children:a,...c}=e,h=(0,u.B)(),p=s||h,m=A(S,r),v=m.currentTabStopId===p,R=w(r),{onFocusableItemAdd:g,onFocusableItemRemove:x,currentTabStopId:b}=m;return n.useEffect(()=>{if(l)return g(),()=>x()},[l,g,x]),(0,d.jsx)(y.ItemSlot,{scope:r,id:p,focusable:l,active:o,children:(0,d.jsx)(f.sG.span,{tabIndex:v?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{l?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.m)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,i.m)(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 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 O[i]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=R().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(()=>k(r))}}),children:"function"==typeof a?a({isCurrentTabStop:v,hasTabStop:null!=b}):a})})});I.displayName=S;var O={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k(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 E=j,T=I}}]);
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.