PageSourceSearch

https://palladium.nu/_next/static/chunks/4d11457406c11ff6.js

js palladium.nu collected 2026-10-02 10:29:27 UTC 21,079 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99569,e=>{"use strict";let t,r,n;var o=e.i(45547),i=e.i(30668),s=e.i(26145),l=e.i(81500),a=e.i(9166),u=e.i(40785),c=e.i(46279),f=e.i(34659),d=e.i(74327),p=e.i(11209),h=e.i(86822),m=e.i(17929),v=e.i(11432),y=Symbol("radix.slottable");function g(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===y}var x=e.i(7950),R=e.i(16935),C=e.i(706),w="Popover",[P,b]=(0,a.createContextScope)(w,[p.createPopperScope]),A=(0,p.createPopperScope)(),[E,j]=P(w),k=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:s,onOpenChange:l,modal:a=!1}=e,u=A(t),c=i.useRef(null),[f,h]=i.useState(!1),[m,v]=(0,x.useControllableState)({prop:n,defaultProp:s??!1,onChange:l,caller:w});return(0,o.jsx)(p.Root,{...u,children:(0,o.jsx)(E,{scope:t,contentId:(0,d.useId)(),triggerRef:c,open:m,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:f,onCustomAnchorAdd:i.useCallback(()=>h(!0),[]),onCustomAnchorRemove:i.useCallback(()=>h(!1),[]),modal:a,children:r})})};k.displayName=w;var S="PopoverAnchor",O=i.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,s=j(S,r),l=A(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:u}=s;return i.useEffect(()=>(a(),()=>u()),[a,u]),(0,o.jsx)(p.Anchor,{...l,...n,ref:t})});O.displayName=S;var F="PopoverTrigger",I=i.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=j(F,r),a=A(r),u=(0,l.useComposedRefs)(t,i.triggerRef),c=(0,o.jsx)(v.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":B(i.open),...n,ref:u,onClick:(0,s.composeEventHandlers)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?c:(0,o.jsx)(p.Anchor,{asChild:!0,...a,children:c})});I.displayName=F;var D="PopoverPortal",[M,T]=P(D,{forceMount:void 0}),z=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,s=j(D,t);return(0,o.jsx)(M,{scope:t,forceMount:r,children:(0,o.jsx)(m.Presence,{present:r||s.open,children:(0,o.jsx)(h.Portal,{asChild:!0,container:i,children:n})})})};z.displayName=D;var _="PopoverContent",N=i.forwardRef((e,t)=>{let r=T(_,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,s=j(_,e.__scopePopover);return(0,o.jsx)(m.Presence,{present:n||s.open,children:s.modal?(0,o.jsx)(L,{...i,ref:t}):(0,o.jsx)(W,{...i,ref:t})})});N.displayName=_;var H=((n=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(i.isValidElement(r)){var o;let e,s,a=(o=r,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(u.ref=t?(0,l.composeRefs)(t,a):a),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null})).displayName="PopoverContent.RemoveScroll.SlotClone",t=n,(r=i.forwardRef((e,r)=>{let{children:n,...s}=e,l=i.Children.toArray(n),a=l.find(g);if(a){let e=a.props.children,n=l.map(t=>t!==a?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...s,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,o.jsx)(t,{...s,ref:r,children:n})})).displayName="PopoverContent.RemoveScroll.Slot",r),L=i.forwardRef((e,t)=>{let r=j(_,e.__scopePopover),n=i.useRef(null),a=(0,l.useComposedRefs)(t,n),u=i.useRef(!1);return i.useEffect(()=>{let e=n.current;if(e)return(0,R.hideOthers)(e)},[]),(0,o.jsx)(C.RemoveScroll,{as:H,allowPinchZoom:!0,children:(0,o.jsx)(K,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,s.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),u.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,s.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,s.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),W=i.forwardRef((e,t)=>
1{let r=j(_,e.__scopePopover),n=i.useRef(!1),s=i.useRef(!1);return(0,o.jsx)(K,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,s.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(s.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&s.current&&t.preventDefault()}})}),K=i.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEscapeKeyDown:a,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:m,...v}=e,y=j(_,r),g=A(r);return(0,c.useFocusGuards)(),(0,o.jsx)(f.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,o.jsx)(u.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:m,onEscapeKeyDown:a,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1),children:(0,o.jsx)(p.Content,{"data-state":B(y.open),role:"dialog",id:y.contentId,...g,...v,ref:t,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),$="PopoverClose";function B(e){return e?"open":"closed"}i.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=j($,r);return(0,o.jsx)(v.Primitive.button,{type:"button",...n,ref:t,onClick:(0,s.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=$,i.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=A(r);return(0,o.jsx)(p.Arrow,{...i,...n,ref:t})}).displayName="PopoverArrow";var V=e.i(99738);function G({...e}){return(0,o.jsx)(k,{"data-slot":"popover",...e})}function U({...e}){return(0,o.jsx)(I,{"data-slot":"popover-trigger",...e})}function Z({className:e,align:t="center",sideOffset:r=4,...n}){return(0,o.jsx)(z,{children:(0,o.jsx)(N,{"data-slot":"popover-content",align:t,sideOffset:r,className:(0,V.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",e),...n})})}function q({...e}){return(0,o.jsx)(O,{"data-slot":"popover-anchor",...e})}e.s(["Popover",()=>G,"PopoverAnchor",()=>q,"PopoverContent",()=>Z,"PopoverTrigger",()=>U],99569)},53938,e=>{"use strict";e.i(39057);var t=e.i(45547),r=e.i(30668),n=e.i(56298),o=e.i(50772),i=e.i(53899),s=e.i(8812),l=e.i(21216),a=r,u=e.i(43533);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends a.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=(0,l.isHTMLElement)(e)&&e.offsetWidth||0,n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft,n.right=r-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:n,anchorX:o,root:i}){let s=(0,a.useId)(),l=(0,a.useRef)(null),d=(0,a.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:p}=(0,a.useContext)(u.MotionConfigContext),h=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=c(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():c(e[t],null)}}}}(...e),e)}(l,e?.ref);return(0,a.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:a,right:u}=d.current;if(n||!l.current||!e||!t)return;let c="left"===o?`left: ${a}`:`right: ${u}`;l.current.dataset.motionPopId=s;let f=document.createElement("style");p&&(f.nonce=p);let h=i??document.head;return h.appendChild(f),f.sheet&&f.sheet.insertRule(`
2          [data-motion-pop-id="${s}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${c}px !important;
7            top: ${r}px !important;
8          }
9        `),()=>{h.contains(f)&&h.removeChild(f)}},[n]),(0,t.jsx)(f,{isPresent:n,childRef:l,sizeRef:d,children:a.cloneElement(e,{ref:h})})}let p=({children:e,initial:n,isPresent:i,onExitComplete:l,custom:a,presenceAffectsLayout:u,mode:c,anch
9orX:f,root:p})=>{let m=(0,o.useConstant)(h),v=(0,r.useId)(),y=!0,g=(0,r.useMemo)(()=>(y=!1,{id:v,initial:n,isPresent:i,custom:a,onExitComplete:e=>{for(let t of(m.set(e,!0),m.values()))if(!t)return;l&&l()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[i,m,l]);return u&&y&&(g={...g}),(0,r.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[i]),r.useEffect(()=>{i||m.size||!l||l()},[i]),"popLayout"===c&&(e=(0,t.jsx)(d,{isPresent:i,anchorX:f,root:p,children:e})),(0,t.jsx)(s.PresenceContext.Provider,{value:g,children:e})};function h(){return new Map}var m=e.i(3363);let v=e=>e.key||"";function y(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}let g=({children:e,custom:s,initial:l=!0,onExitComplete:a,presenceAffectsLayout:u=!0,mode:c="sync",propagate:f=!1,anchorX:d="left",root:h})=>{let[g,x]=(0,m.usePresence)(f),R=(0,r.useMemo)(()=>y(e),[e]),C=f&&!g?[]:R.map(v),w=(0,r.useRef)(!0),P=(0,r.useRef)(R),b=(0,o.useConstant)(()=>new Map),[A,E]=(0,r.useState)(R),[j,k]=(0,r.useState)(R);(0,i.useIsomorphicLayoutEffect)(()=>{w.current=!1,P.current=R;for(let e=0;e<j.length;e++){let t=v(j[e]);C.includes(t)?b.delete(t):!0!==b.get(t)&&b.set(t,!1)}},[j,C.length,C.join("-")]);let S=[];if(R!==A){let e=[...R];for(let t=0;t<j.length;t++){let r=j[t],n=v(r);C.includes(n)||(e.splice(t,0,r),S.push(r))}return"wait"===c&&S.length&&(e=S),k(y(e)),E(R),null}let{forceRender:O}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:j.map(e=>{let r=v(e),n=(!f||!!g)&&(R===j||C.includes(r));return(0,t.jsx)(p,{isPresent:n,initial:(!w.current||!!l)&&void 0,custom:s,presenceAffectsLayout:u,mode:c,root:h,onExitComplete:n?void 0:()=>{if(!b.has(r))return;b.set(r,!0);let e=!0;b.forEach(t=>{t||(e=!1)}),e&&(O?.(),k(P.current),f&&x?.(),a&&a())},anchorX:d,children:e},r)})})};e.s(["AnimatePresence",()=>g],53938)},36970,e=>{"use strict";let t=(0,e.i(35884).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t])},55204,e=>{"use strict";var t=e.i(30668),r=e.i(9166),n=e.i(81500),o=e.i(45547);function i(e){var r;let i,s=(r=e,(i=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var s;let e,l,a=(s=o,(l=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(l=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(u.ref=r?(0,n.composeRefs)(r,a):a),t.cloneElement(o,u)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),a=t.forwardRef((e,r)=>{let{children:n,...i}=e,a=t.Children.toArray(n),u=a.find(l);if(u){let e=u.props.children,n=a.map(r=>r!==u?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,o.jsx)(s,{...i,ref:r,children:n})});return a.displayName=`${e}.Slot`,a}var s=Symbol("radix.slottable");function l(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}function a(e){let s=e+"CollectionProvider",[l,a]=(0,r.createContextScope)(s),[u,c]=l(s,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,o.jsx)(u,{scope:r,itemMap:s,collectionRef:i,children:n})};f.displayName=s;let d=e+"CollectionSlot",p=i(d),h=t.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=c(d,r),l=(0,n.useComposedRefs)(t,s.collectionRef);return(0,o.jsx)(p,{ref:l,children:i})});h.displayName=d;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=i(m),g=t.default.forwardRef((e,r)=>{let{scope:i,children:s,...l}=e,a=t.default.useRef(null),u=(0,n.useComposedRefs)(r,a),f=c(m,i);return t.default.useEffect(()=>(f.itemMap.set(a,{ref:a,...l}),()=>void f.itemMap.delete(a))),(0,o.jsx)(y,{...{[v]:""},ref:u,children:s})});return g.displayName=m,[{Provider:f,Slot:h,ItemSlot:g},function(r){let n=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}
9]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},a]}var u=new WeakMap;function c(e,t){var r,n;let o,i,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,n=t,o=r.length,(s=(i=f(n))>=0?i:o+i)<0||s>=o?-1:s);return -1===l?void 0:e[l]}function f(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),i=this.#e.length,s=f(e),l=s>=0?s:i+s,a=l<0||l>=i?-1:l;if(a===this.size||o&&a===this.size-1||-1===a)return this.set(t,r),this;let u=this.size+ +!o;s<0&&l++;let c=[...this.#e],d=!1;for(let e=l;e<u;e++)if(l===e){let i=c[e];c[e]===t&&(i=c[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{d||c[e-1]!==t||(d=!0);let r=c[d?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(this.#e,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=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,r,this])}return n}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(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;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}}),e.s(["createCollection",()=>a],55204)},11126,e=>{"use strict";var t=e.i(30668);e.i(45547);var r=t.createContext(void 0);function n(e){let n=t.useContext(r);return e||n||"ltr"}e.s(["useDirection",()=>n])},97366,e=>{"use strict";var t=e.i(30668),r=e.i(26145),n=e.i(55204),o=e.i(81500),i=e.i(9166),s=e.i(74327),l=e.i(11432),a=e.i(81738),u=e.i(7950),c=e.i(11126),f=e.i(45547),d="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[m,v,y]=(0,n.createCollection)(h),[g,x]=(0,i.createContextScope)(h,[y]),[R,C]=g(h),w=t.forwardRef((e,t)=>(0,f.jsx)(m.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(m.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(P,{...e,ref:t})})}));w.displayName=h;
9var P=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,orientation:s,loop:m=!1,dir:y,currentTabStopId:g,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:C,onEntryFocus:w,preventScrollOnEntryFocus:P=!1,...b}=e,A=t.useRef(null),E=(0,o.useComposedRefs)(n,A),k=(0,c.useDirection)(y),[S,O]=(0,u.useControllableState)({prop:g,defaultProp:x??null,onChange:C,caller:h}),[F,I]=t.useState(!1),D=(0,a.useCallbackRef)(w),M=v(i),T=t.useRef(!1),[z,_]=t.useState(0);return t.useEffect(()=>{let e=A.current;if(e)return e.addEventListener(d,D),()=>e.removeEventListener(d,D)},[D]),(0,f.jsx)(R,{scope:i,orientation:s,dir:k,loop:m,currentTabStopId:S,onItemFocus:t.useCallback(e=>O(e),[O]),onItemShiftTab:t.useCallback(()=>I(!0),[]),onFocusableItemAdd:t.useCallback(()=>_(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>_(e=>e-1),[]),children:(0,f.jsx)(l.Primitive.div,{tabIndex:F||0===z?-1:0,"data-orientation":s,...b,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!F){let t=new CustomEvent(d,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=M().filter(e=>e.focusable);j([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current),P)}}T.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>I(!1))})})}),b="RovingFocusGroupItem",A=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,focusable:i=!0,active:a=!1,tabStopId:u,children:c,...d}=e,p=(0,s.useId)(),h=u||p,y=C(b,o),g=y.currentTabStopId===h,x=v(o),{onFocusableItemAdd:R,onFocusableItemRemove:w,currentTabStopId:P}=y;return t.useEffect(()=>{if(i)return R(),()=>w()},[i,R,w]),(0,f.jsx)(m.ItemSlot,{scope:o,id:h,focusable:i,active:a,children:(0,f.jsx)(l.Primitive.span,{tabIndex:g?0:-1,"data-orientation":y.orientation,...d,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{i?y.onItemFocus(h):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>y.onItemFocus(h)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void y.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 E[o]}(e,y.orientation,y.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=x().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=y.loop?(r=o,n=i+1,r.map((e,t)=>r[(n+t)%r.length])):o.slice(i+1)}setTimeout(()=>j(o))}}),children:"function"==typeof c?c({isCurrentTabStop:g,hasTabStop:null!=P}):c})})});A.displayName=b;var E={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function j(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",()=>A,"Root",()=>w,"createRovingFocusGroupScope",()=>x])}]);

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.