PageSourceSearch

https://app.storika.ai/_next/static/chunks/3278-a506011ea28cea5a.js?dpl=dpl_Eq3u4Z7V3psEbxcNjBbvsR1vVwdK

js storika.ai collected 2026-09-24 12:07:16 UTC 148,731 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3278],{894:(e,t,n)=>{n.d(t,{B:()=>i,o:()=>o});var r=n(21304);function i(e){return(0,r.cX)()?e.metaKey:e.ctrlKey}let l=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function o(e){return e instanceof HTMLInputElement&&!l.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}},1024:(e,t,n)=>{n.d(t,{N:()=>u,Y:()=>a});var r=n(80059),i=n(97440),l=n(69874),o=n(99826),s=n(7620);let a=s.forwardRef(({children:e,...t},n)=>{let a=(0,s.useRef)(!1),u=(0,s.useContext)(i.F),c=(0,r.v)(u||{},{...t,register(){a.current=!0,u&&u.register()}});return c.ref=(0,l.U)(n||u?.ref),(0,o.w)(u,c.ref),(0,s.useEffect)(()=>{a.current||(a.current=!0)},[]),s.createElement(i.F.Provider,{value:c},e)});function u({children:e}){let t=(0,s.useMemo)(()=>({register:()=>{}}),[]);return s.createElement(i.F.Provider,{value:t},e)}},2875:(e,t,n)=>{n.d(t,{EG:()=>u,N9:()=>l,au:()=>o,j5:()=>a});var r=n(21304),i=n(69329);function l(e){return(0,r.lg)()?e.altKey:e.ctrlKey}function o(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}let s=new WeakMap;function a(e){let t=(0,i.Bi)();return s.set(e,t),t}function u(e){return s.get(e)}},4688:(e,t,n)=>{n.d(t,{o:()=>o});var r=n(52554),i=n(69329),l=n(7620);function o(e,t,n){let o,{type:s}=e,{isOpen:a}=t;(0,l.useEffect)(()=>{n&&n.current&&r.a.set(n.current,t.close)}),"menu"===s?o=!0:"listbox"===s&&(o="listbox");let u=(0,i.Bi)();return{triggerProps:{"aria-haspopup":o,"aria-expanded":a,"aria-controls":a?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}},5583:(e,t,n)=>{n.d(t,{Bb:()=>u,Vv:()=>c,oR:()=>d});var r=n(28863),i=n(25555);let l="undefined"!=typeof performance&&"function"==typeof performance.now?()=>performance.now():()=>Date.now(),o=new WeakSet;class s{startTime=null;constructor(e,t){this.remaining=t,this.callback=e}reset(e){this.remaining=e,this.resume()}pause(){null!=this.timerId&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=l()-(this.startTime??l()))}resume(){this.remaining<=0||(this.startTime=l(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}}class a extends r.Vv{static didWarnMissingNotify=!1;exitTimers=new Map;exitingSnapshot=new Set;exitSubscriptions=new Set;suspensions=new Set;isBatchingExits=!1;constructor(e,t=i.wL){super(e),this.exitDuration=t}suspendTimers(e){let t=0===this.suspensions.size;this.suspensions.add(e),t&&super.pauseAll()}resumeTimers(e){this.suspensions.delete(e),0===this.suspensions.size&&super.resumeAll()}pauseAll(){this.suspendTimers("external")}resumeAll(){this.resumeTimers("external")}guardTimer(e){if(o.has(e))return;o.add(e);let t=e.resume.bind(e),n=e.reset.bind(e);e.resume=()=>{this.suspensions.size>0||null!=e.timerId||t()},e.reset=t=>{e.pause(),n(t)}}add(e,t){let n=super.add(e,t),r=this.visibleToasts.find(e=>e.key===n)?.timer;return r&&this.guardTimer(r),n}updateToast(e,t,n){if(this.exitTimers.has(e))return!1;let r=this.visibleToasts.find(t=>t.key===e);if(!r)return!1;if(r.content=t,n&&"onClose"in n&&(r.onClose=n.onClose),n?.timeout!==void 0)if(r.timer?.pause(),r.timeout=n.timeout,n.timeout>0){let t=new s(()=>this.close(e),n.timeout);this.guardTimer(t),r.timer=t}else r.timer=void 0;let i=this.updateVisibleToasts;return"function"==typeof i?i.call(this,"add"):(a.didWarnMissingNotify||(a.didWarnMissingNotify=!0,console.warn("[HeroUI Toast] react-stately no longer exposes updateVisibleToasts; toast updates fall back to a partial re-render.")),this.exitingSnapshot=new Set(this.exitTimers.keys()),this.notifyExitSubscribers()),!0}getExitingKeys=()=>this.exitingSnapshot;subscribeExiting=e=>(this.exitSubscriptions.add(e),()=>{this.exitSubscriptions.delete(e)});notifyExitSubscribers(){for(let e of this.exitSubscriptions)e()}close(e){let t=this.visibleToasts.find(t=>t.key===e);if(this.exitTimers.has(e)||!t)return;if(!(this.exitDuration>0&&"undefined"!=typeof window&&!window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches))return void super.close(e);let n=t.onClose;t.onClose=void 0,this.exitTimers.set(e,setTimeout(()=>{this.exitTimers.delete(e),this.exitingSnapshot=new Set(this.exitTimers.keys()),super.close(e),this.isBatchingExits||this.notifyExitSubscribers()},this.exitDuration)),this.isBatchingExits||(this.exitingSnapshot=new Set(this.exitTimers.keys()),this.notifyExitSubscribers()),n?.()}clear(){this.isBatchingExits=!0;try{for(let e of[...this.visibleToasts])this.close(e.key)}finally{this.isBatchingExits=!1,this.exitingSnapshot=new Set(this.exitTimers.keys()),this.notifyExitSubscribers()}}destroy(){for(let e of this.exitTimers.values())clearTimeout(e);for(let e of(this.exitTimers.clear(),this.exitingSnapshot=new Set,this.exitSubscriptions.clear(),this.suspensions.clear(),this.visibleToasts))e.timer?.pause()}}let u=e=>e instanceof a;class c{constructor(e){this.maxVisibleToasts=e?.maxVisibleToasts,this.queue=new a({maxVisibleToasts:i.nK,wrapUpdate:e?.wrapUpdate},e?.exitDuration??i.wL)}add(e,t){return this.queue.add(e,{...t,timeout:t?.timeout??i.QY})}close(e){this.queue.close(e)}update(e,t,n){return this.queue.updateToast(e,t,n)}pauseAll(){this.queue.pauseAll()}resumeAll(){this.queue.resumeAll()}clear(){this.queue.clear()}subscribe(e){return this.queue.subscribe(e)}get visibleToasts(){return this.queue.visibleToasts}getQueue(){return this.queue}destroy(){this.queue.destroy()}}let d=function(e){let t=(e,t)=>({title:e,description:t?.description,indicator:t?.indicator,variant:t?.variant||"default",actionProps:t?.actionProps,isLoading:t?.isLoading}),n=e=>({timeout:e?.timeout??i.QY,onClose:e?.onClose}),r=(r,i)=>e.add(t(r,i),n(i));return r.success=(e,t)=>r(e,{...t,variant:"success"}),r.danger=(e,t)=>r(e,{...t,variant:"danger"}),r.info=(e,t)=>r(e,{...t,variant:"accent"}),r.warning=(e,t)=>
1r(e,{...t,variant:"warning"}),r.update=(r,i,l)=>{let o=t(i,l);return e.update(r,o,{...l&&"timeout"in l?{timeout:l.timeout}:null,...l&&"onClose"in l?{onClose:l.onClose}:null})?r:e.add(o,n(l))},r.promise=(n,l)=>{let o="function"==typeof n?n():n,s=e.add(t(l.loading,{isLoading:!0}),{timeout:0});return o.then(e=>{let t="function"==typeof l.success?l.success(e):l.success;return r.update(s,t,{isLoading:!1,timeout:i.QY,variant:"success"})}).catch(e=>{let t="function"==typeof l.error?l.error(e):l.error;return r.update(s,t,{isLoading:!1,timeout:i.QY,variant:"danger"})}),s},r.getQueue=()=>e.getQueue(),r.close=t=>e.close(t),r.pauseAll=()=>e.pauseAll(),r.resumeAll=()=>e.resumeAll(),r.clear=()=>e.clear(),r}(new c)},6204:(e,t,n)=>{n.d(t,{vu:()=>d});let r=(0,n(23479).tv)({defaultVariants:{color:"default",variant:"secondary"},slots:{base:"chip",label:"chip__label"},variants:{color:{accent:{base:"chip--accent"},danger:{base:"chip--danger"},default:{base:"chip--default"},success:{base:"chip--success"},warning:{base:"chip--warning"}},size:{lg:{base:"chip--lg"},md:{base:"chip--md"},sm:{base:"chip--sm"}},variant:{primary:{base:"chip--primary"},secondary:{base:"chip--secondary"},soft:{base:"chip--soft"},tertiary:{base:"chip--tertiary"}}}});var i=n(7620),l=n(14785),o=n(1329),s=n(54568);let a=(0,i.createContext)({}),u=e=>{let{children:t,className:n,color:u,size:d,variant:h,...f}=e,p=i.useMemo(()=>r({color:u,size:d,variant:h}),[u,d,h]),g=i.useMemo(()=>"string"==typeof t||"number"==typeof t?(0,s.jsx)(c,{children:t}):t,[t]),m=i.useMemo(()=>({slots:p}),[p]);return(0,s.jsx)(a,{value:m,children:(0,s.jsx)(o.t.span,{...f,className:(0,l.Q)(p.base,n),"data-slot":"chip",children:g})})},c=e=>{let{children:t,className:n,...r}=e,{slots:u}=(0,i.use)(a);return(0,s.jsx)(o.t.span,{className:(0,l.Q)(null==u?void 0:u.label,n),"data-slot":"chip-label",...r,children:t})},d=Object.assign(u,{Root:u,Label:c})},6482:(e,t,n)=>{n.d(t,{o:()=>r});function r(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return e===r&&"hidden"!==n.overflow&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}},8520:(e,t,n)=>{n.d(t,{D:()=>u,e:()=>c});var r=n(18583),i=n(97509),l=n(7620),o=n(55637),s=n(69874);let a=(0,l.createContext)(null);function u(e){let t=(0,l.useRef)({});return l.createElement(a.Provider,{value:t},e.children)}let c=(0,l.forwardRef)(function(e,t){let{name:n,isVisible:u=!0,children:c,className:d,style:h,render:f,...p}=e,[g,m]=(0,l.useState)(u?"visible":"hidden"),y=(0,l.useContext)(a);if(!y)throw Error("<SharedElement> must be rendered inside a <SharedElementTransition>");u&&"hidden"===g&&m("visible"),t=(0,s.U)(t),(0,o.N)(()=>{let e=t.current,r=y.current,l=r[n],o=null;if(e&&u&&l){m("visible");let t=e.getAnimations(),i=l.style.map(([t,n])=>{let r=e.style[t];if("translate"===t){let t=l.rect,n=e.getBoundingClientRect(),r=t.left-n?.left,i=t.top-n?.top;e.style.translate=`${r}px ${i}px`}else e.style[t]=n;return[t,r]});for(let n of e.getAnimations())t.includes(n)||n.cancel();o=requestAnimationFrame(()=>{for(let[t,n]of(o=null,i))e.style[t]=n}),delete r[n]}else e&&u&&!l?(queueMicrotask(()=>(0,i.flushSync)(()=>m("entering"))),o=requestAnimationFrame(()=>{o=null,m("visible")})):e&&!u&&queueMicrotask(()=>{r[n]?(delete r[n],(0,i.flushSync)(()=>m("exiting")),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>m("hidden")).catch(()=>{})):m("hidden")});return()=>{if(null!=o&&cancelAnimationFrame(o),e&&e.isConnected&&!e.hasAttribute("data-exiting")){let t=window.getComputedStyle(e);if("none"!==t.transitionProperty){let i=t.transitionProperty.split(/\s*,\s*/);r[n]={rect:e.getBoundingClientRect(),style:i.map(e=>[e,t[e]])}}}}},[t,y,n,u]);let v=(0,r.Sl)({children:c,className:d,style:h,render:f,values:{isEntering:"entering"===g,isExiting:"exiting"===g}});return"hidden"===g?null:l.createElement(r.tT.div,{...p,...v,ref:t,"data-entering":"entering"===g||void 0,"data-exiting":"exiting"===g||void 0})})},9950:(e,t,n)=>{n.d(t,{G:()=>s});var r=n(7620);class i{build(e,t){return this.context=t,l(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:n}=e;if(r.isValidElement(t)&&t.type===r.Fragment)yield*this.iterateCollection({children:t.props.children,items:n});else if("function"==typeof t){if(!n)throw Error("props.children was a function but props.items is missing");let e=0;for(let r of n)yield*this.getFullNode({value:r,index:e},{renderer:t}),e++}else{let e=[];
1r.Children.forEach(t,t=>{t&&e.push(t)});let n=0;for(let t of e)for(let e of this.getFullNode({element:t,index:n},{}))n++,yield e}}getKey(e,t,n,r){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${r}${t.key}`;let i=t.value;if(null!=i){let e=i.key??i.id;if(null==e)throw Error("No key found for item");return e}return r?`${r}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,n,i){if(r.isValidElement(e.element)&&e.element.type===r.Fragment){let l=[];r.Children.forEach(e.element.props.children,e=>{l.push(e)});let o=e.index??0;for(let e of l)yield*this.getFullNode({element:e,index:o++},t,n,i);return}let s=e.element;if(!s&&e.value&&t&&t.renderer){let n=this.cache.get(e.value);if(n&&(!n.shouldInvalidate||!n.shouldInvalidate(this.context))){n.index=e.index,n.parentKey=i?i.key:null,yield n;return}s=t.renderer(e.value)}if(r.isValidElement(s)){let r=s.type;if("function"!=typeof r&&"function"!=typeof r.getCollectionNode){let e=s.type;throw Error(`Unknown element <${e}> in collection.`)}let l=r.getCollectionNode(s.props,this.context),a=e.index??0,u=l.next();for(;!u.done&&u.value;){let r=u.value;e.index=a;let c=r.key??null;null==c&&(c=r.element?null:this.getKey(s,e,t,n));let d=[...this.getFullNode({...r,key:c,index:a,wrapper:function(e,t){return e&&t?n=>e(t(n)):e||t||void 0}(e.wrapper,r.wrapper)},this.getChildState(t,r),n?`${n}${s.key}`:s.key,i)];for(let t of d){if(t.value=r.value??e.value??null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${o(t.type)}> in <${o(i?.type??"unknown parent type")}>. Only <${o(e.type)}> is supported.`);a++,yield t}u=l.next(d)}return}if(null==e.key||null==e.type)return;let a=this,u={type:e.type,props:e.props,key:e.key,parentKey:i?i.key:null,value:e.value??null,level:(i?.level??0)+ +(i?.type==="item"),index:e.index,rendered:e.rendered,textValue:e.textValue??"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:l(function*(){if(!e.hasChildNodes||!e.childNodes)return;let n=0;for(let r of e.childNodes())for(let e of(null!=r.key&&(r.key=`${u.key}${r.key}`),a.getFullNode({...r,index:n},a.getChildState(t,r),u.key,u)))n++,yield e})};yield u}constructor(){this.cache=new WeakMap}}function l(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let r of(n||(n=e()),n))t.push(r),yield r}}}function o(e){return e[0].toUpperCase()+e.slice(1)}function s(e,t,n){let l=(0,r.useMemo)(()=>new i,[]),{children:o,items:s,collection:a}=e;return(0,r.useMemo)(()=>a||t(l.build({children:o,items:s},n)),[l,o,s,a,n,t])}},10091:(e,t,n)=>{n.d(t,{O:()=>s,_:()=>o});var r=n(55637),i=n(97509),l=n(7620);function o(e,t=!0){let[n,i]=(0,l.useState)(!0),s=n&&t;return(0,r.N)(()=>{if(s&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,s]),a(e,s,(0,l.useCallback)(()=>i(!1),[])),s}function s(e,t){let[n,r]=(0,l.useState)(t?"open":"closed");switch(n){case"open":t||r("exiting");break;case"closed":case"exiting":t&&r("open")}let i="exiting"===n;return a(e,i,(0,l.useCallback)(()=>{r(e=>"exiting"===e?"closed":e)},[])),i}function a(e,t,n){(0,r.N)(()=>{if(t&&e.current){if(!("getAnimations"in e.current))return void n();let t=e.current.getAnimations();if(0===t.length)return void n();let r=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{r||(0,i.flushSync)(()=>{n()})}),()=>{r=!0}}},[e,t,n])}},10177:(e,t,n)=>{n.d(t,{B:()=>i});var r=n(7620);n(54568);let i=(0,r.createContext)({})},10500:(e,t,n)=>{n.d(t,{wv:()=>d,$S:()=>u});var r=n(18583),i=n(52017),l=n(16470),o=n(92700),s=n(80059),a=n(7620);let u=(0,a.createContext)({});class c extends l.Pt{static{this.type="separator"}filter(e,t){let n=t.getItem(this.prevKey);if(n&&"separator"!==n.type){let n=this.clone();return t.addDescendants(n,e),n}return null}}let d=(0,o.KU)(c,function(e,t){var n;let l,o;[e,t]=(0,r.JT)(e,t,u);let{elementType:c,orientation:d,style:h,className:f,slot:p,...g}=e,m=c||"hr";"hr"===m&&"vertical"===d&&(m="div");let y=r.tT[m],{separatorProps:v}=(n={...g,elementType:c,orientation:d},o=(0,i.$)(n,{labelable:!0}),("vertical"===n.orientation&&(l="vertical"),"hr"!==n.elementType)?{separatorProps:{...o,role:"separator","aria-orientation":l}}:{separatorProps:o}),b=(0,i.$)(e,{global:!0});return a.createElement(y,{render:e.render,...(0,s.v)(b,v),style:h,className:f??"react-aria-Separator",ref:t,slot:p||void 0})})},13331:(e,t,n)=>{n.d(t,{lG:()=>E,zM:()=>C,RG:()=>w});var r=n(24944),i=n(18583),l=n(33302),o=n(55405),s=n(34803),a=n(63423),u=n(52017),c=n(1411),d=n(1757),h=n(88249),f=n(69329),p=n(7620),g=n(80059),m=n(1024),y=n(36549),v=n(37595),b=n(4688);let x=(0,p.createContext)(null),w=(0,p.createContext)(null);function C(e){let t=(0,v.I)(e),n=(0,p.useRef)(null),{triggerProps:r,overlayProps:l}=(0,b.o)({type:"dialog"},t,n);return(r.id=(0,f.Bi)(),l["aria-labelledby"]=r.id,(0,y.m_)())?null:p.createElement(i.Kq,{values:[[w,t],[s.gI,t],[x,l],[o.n,{trigger:"DialogTrigger",triggerRef:n,id:l.id,"aria-labelledby":l["aria-labelledby"]}]]},p.createElement(m.Y,{...r,ref:n,isPressed:t.isOpen},e.children))}let E=(0,p.forwardRef)(function(e,t){let n=e["aria-labelledby"];[e,t]=(0,i.JT)(e,t,x);let{dialogProps:o,titleProps:s,contentProps:m}=function(e,t){let{role:n="dialog"}=e,r=(0,f.X1)();r=e["aria-label"]?void 0:r;let i=(0,f.X1)();i="alertdialog"!==n||e["aria-describedby"]?void 0:i;let l=(0,p.useRef)(!1);(0,p.useEffect)(()=>
1{if(t.current&&!(0,d.ae)(t.current)){(0,c.l)(t.current);let e=setTimeout(()=>{((0,d.bq)()===t.current||(0,d.bq)()===document.body)&&(l.current=!0,t.current&&(t.current.blur(),(0,c.l)(t.current)),l.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,h.Se)(),(0,p.useRef)(!1),(0,p.useEffect)(()=>{});let o=e["aria-describedby"]??i;return{dialogProps:{...(0,u.$)(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]??r,"aria-describedby":o,onBlur:e=>{l.current&&e.stopPropagation()}},titleProps:{id:r},contentProps:{id:i}}}({...e,"aria-labelledby":n},t),y=(0,p.useContext)(w);o["aria-label"]||o["aria-labelledby"]||e["aria-labelledby"]&&(o["aria-labelledby"]=e["aria-labelledby"]);let v=(0,i.Sl)({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:y?.close||(()=>{})}}),b=(0,u.$)(e,{global:!0});return p.createElement(i.tT.section,{...(0,g.v)(b,v,o),render:e.render,ref:t,slot:e.slot||void 0},p.createElement(i.Kq,{values:[[l.A,{slots:{[i.P_]:{},title:{...s,level:2}}}],[a.h,{slots:{[i.P_]:{},description:m}}],[r.k,{slots:{[i.P_]:{},close:{onPress:()=>y?.close()}}}]]},v.children))})},13824:(e,t,n)=>{n.d(t,{e:()=>h});var r=n(1757),i=n(87908),l=n(64495),o=n(89850),s=n(30255),a=n(7620);function u(e,t){if(e.button>0)return!1;let n=(0,r.wt)(e);if(n){let e=n.ownerDocument;if(!e||!(0,r.sD)(e.documentElement,n)||n.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}var c=n(11394);let d=[];function h(e,t){let{onClose:n,shouldCloseOnBlur:h,isOpen:f,isDismissable:p=!1,isKeyboardDismissDisabled:g=!1,shouldCloseOnInteractOutside:m}=e,y=(0,a.useRef)(void 0);(0,a.useEffect)(()=>{if(f&&!d.includes(t))return d.push(t),()=>{let e=d.indexOf(t);e>=0&&d.splice(e,1)}},[f,t]);let v=()=>{d[d.length-1]===t&&n&&n()},{keyboardProps:b}=(0,c.d)({shortcuts:{Escape:()=>!g&&void v()}});!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:i}=e,l=(0,a.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,s.J)(e=>{n&&u(e,t)&&(i&&i(e),l.current.isPointerDown=!0)}),d=(0,s.J)(e=>{n&&n(e)});(0,a.useEffect)(()=>{let e=l.current;if(r)return;let n=t.current,i=(0,o.TW)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&u(n,t)&&d(n),e.isPointerDown=!1};return i.addEventListener("pointerdown",c,!0),i.addEventListener("click",n,!0),()=>{i.removeEventListener("pointerdown",c,!0),i.removeEventListener("click",n,!0)}}},[t,r])}({ref:t,onInteractOutside:p&&f?e=>{(!m||m((0,r.wt)(e)))&&(d[d.length-1]===t&&e.stopPropagation(),y.current===t&&v()),y.current=void 0}:void 0,onInteractOutsideStart:e=>{let n=d[d.length-1];y.current=n,(!m||m((0,r.wt)(e)))&&n===t&&e.stopPropagation()}});let{focusWithinProps:x}=(0,l.R)({isDisabled:!h,onBlurWithin:e=>{!(!e.relatedTarget||(0,i.Pu)(e.relatedTarget))&&(!m||m(e.relatedTarget))&&n?.()}});return{overlayProps:{...b,...x},underlayProps:{}}}},13862:(e,t,n)=>{n.d(t,{Y:()=>i});var r=n(7620);function i(e){return parseInt(r.version.split(".")[0],10)>=19?e:e?"true":void 0}},14700:(e,t,n)=>{n.d(t,{o:()=>u}),n(89850),n(19975);var r=n(80059),i=n(64923),l=n(1488),o=n(71498),s=n(69874),a=n(7620);let u=a.forwardRef(({children:e,...t},n)=>{n=(0,s.U)(n);let{pressProps:u}=(0,l.d)({...t,ref:n}),{focusableProps:c}=(0,o.Wc)(t,n),d=a.Children.only(e);(0,a.useEffect)(()=>{},[n,t.isDisabled]);let h=19>parseInt(a.version,10)?d.ref:d.props.ref;return a.cloneElement(d,{...(0,r.v)(u,c,d.props),ref:(0,i.P)(h,n)})})},15684:(e,t,n)=>{n.d(t,{T:()=>l});var r=n(62676),i=n(7620);function l(e){let[t,n]=(0,r.P)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[l,o]=(0,i.useState)(null),s=(0,i.useCallback)(()=>{n(!0)},[n]),a=(0,i.useCallback)(()=>{n(!1)},[n]),u=(0,i.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:s,close:a,toggle:u,point:l,setPoint:o}}},16470:(e,t,n)=>{n.d(t,{EH:()=>l,OJ:()=>o,Pt:()=>r,Wk:()=>u,_B:()=>s,ox:()=>a});class r{constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}get childNodes(){throw Error("childNodes is not supported")}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}}class i extends r{filter(e,t,n){let[r,i]=c(e,t,this.firstChildKey,n),l=this.clone();return l.firstChildKey=r,l.lastChildKey=i,l}}class l extends r{static{this.type="header"}}class o extends r{static{this.type="loader"}}class s extends i{static{this.type="item"}filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}}class a extends i{static{this.type="section"}filter(e,t,n){let r=super.filter(e,t,n);if(r&&null!==r.lastChildKey){let t=e.getItem(r.lastChildKey);if(t&&"header"!==t.type)return r}return null}}class u{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=null!=this.firstKey?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=null!=e.nextKey?this.keyMap.get(e.nextKey):void 0}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey!=null?t.get(n.firstChildKey):null;for(;r;)yield r,r=null!=r.nextKey?t.get(r.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null!=t.parentKey)t=this.keyMap.get(t.parentKey);else break}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error("Not implemented")}clone(){let e=new this.constructor;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.itemCount=this.itemCount,e}addNode(e){if(this.frozen)throw Error("Cannot add a node to a frozen collection");"item"===e.type&&null==this.keyMap.get(e.key)&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){for(let n of(this.addNode(e),t.getChildren(e.key)))this.addDescendants(n,t)}removeNode(e){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");let t=this.keyMap.get(e);null!=t&&"item"===t.type&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=c(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}
1function c(e,t,n,r){if(null==n)return[null,null];let i=null,l=null,o=e.getItem(n);for(;null!=o;){let n=o.filter(e,t,r);null!=n&&(n.nextKey=null,l&&(n.prevKey=l.key,l.nextKey=n.key),null==i&&(i=n),t.addNode(n),l=n),o=null!=o.nextKey?e.getItem(o.nextKey):null}if(l&&"separator"===l.type){let e=l.prevKey;t.removeNode(l.key),null!=e?(l=t.getItem(e)).nextKey=null:l=null}return[i?.key??null,l?.key??null]}},16559:(e,t,n)=>{n.d(t,{p:()=>i});var r=n(7620);function i(e){let{children:t,items:n,idScope:i,addIdAndValue:l,dependencies:o=[]}=e,s=(0,r.useMemo)(()=>void 0,[t]),a=(0,r.useMemo)(()=>new WeakMap,[...o,s]);return(0,r.useMemo)(()=>{if(n&&"function"==typeof t){let e=[];for(let o of n){let n=!function(e){switch(typeof e){case"object":return null!=e;case"function":case"symbol":return!0;default:return!1}}(o)?null:o,s=n?a.get(n):null;if(!s){let u=(s=t(o)).props.id??o?.key??o?.id;null!=i&&null==s.props.id&&null!=u&&(u=i+":"+u);let c=u??e.length;s=(0,r.cloneElement)(s,l?{key:c,id:u,value:o}:{key:c}),n&&a.set(n,s)}e.push(s)}return e}if("function"!=typeof t)return t},[t,n,a,i,l])}},16680:(e,t,n)=>{n.d(t,{gX:()=>l});var r=n(7620);let i=(0,r.createContext)({});function l(){return(0,r.useContext)(i)??{}}},25555:(e,t,n)=>{n.d(t,{Dz:()=>s,QY:()=>a,R8:()=>c,jH:()=>r,nK:()=>l,wL:()=>u,x1:()=>o,yj:()=>i});let r=12,i=3,l=Number.MAX_SAFE_INTEGER,o=.05,s=460,a=4e3,u=300,c=["altKey","KeyT"]},25638:(e,t,n)=>{n.d(t,{m:()=>i});var r=n(6482);function i(e,t){let n=e;for((0,r.o)(n,t)&&(n=n.parentElement);n&&!(0,r.o)(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}},25799:(e,t,n)=>{n.d(t,{Zp:()=>i});var r=n(97827);let i=Object.assign(r.$U,{Root:r.$U,Header:r.aR,Title:r.ZB,Description:r.BT,Content:r.Wu,Footer:r.wL})},27541:(e,t,n)=>{var r=n(43041);n.o(r,"notFound")&&n.d(t,{notFound:function(){return r.notFound}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},27810:(e,t,n)=>{let r;n.d(t,{o:()=>f});var i=n(8487);let l=Symbol.for("react-aria.i18n.locale"),o=Symbol.for("react-aria.i18n.strings");class s{constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){var r;if(t[e])return t[e];let i=(r=e,Intl.Locale?new Intl.Locale(r).language:r.split("-")[0]),l=function(e){if(Intl.Locale)return new Intl.Locale(e).script}(e);if(l&&t[`${i}-${l}`])return t[`${i}-${l}`];if(t[i])return t[i];for(let e in t)if(e.startsWith(i+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[l];if(void 0===r){let e=window[o];if(!e)return null;for(let n in r={},e)r[n]=new s({[t]:e[n]},t)}let n=r?.[e];if(!n)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}}let a=new Map,u=new Map;class c{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let i=this.locale+":"+n,l=a.get(i);return l||(l=new Intl.PluralRules(this.locale,{type:n}),a.set(i,l)),"function"==typeof(r=t[l.select(e)]||t.other)?r():r}number(e){let t=u.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),u.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}}var d=n(7620);let h=new WeakMap;function f(e,t){let n,{locale:r}=(0,i.Y)(),l=t&&s.getGlobalDictionaryForPackage(t)||((n=h.get(e))||(n=new s(e),h.set(e,n)),n);return(0,d.useMemo)(()=>new c(r,l),[r,l])}},28190:(e,t,n)=>{var r=n(7620),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=r.useState,o=r.useEffect,s=r.useLayoutEffect,a=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=l({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),o(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),a(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},28863:(e,t,n)=>{n.d(t,{Vv:()=>o,oS:()=>l});var r=n(7620),i=n(71283);function l(e){let t=(0,r.useCallback)(t=>e.subscribe(t),[e]),n=(0,r.useCallback)(()=>e.visibleToasts,[e]);return{visibleToasts:(0,i.useSyncExternalStore)(t,n,n),add:(t,n)=>e.add(t,n),close:t=>e.close(t),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class o{constructor(e){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=e?.maxVisibleToasts??1/0,this.wrapUpdate=e?.wrapUpdate}runWithWrapUpdate(e,t){this.wrapUpdate?this.wrapUpdate(e,t):e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}add(e,t={}){let n="_"+Math.random().toString(36).slice(2),r={...t,content:e,key:n,timer:t.timeout?new s(()=>this.close(n),t.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts("add"),n}close(e){let t=this.queue.findIndex(t=>t.key===e);t>
1=0&&(this.queue[t].onClose?.(),this.queue.splice(t,1)),this.updateVisibleToasts("remove")}updateVisibleToasts(e){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let e of this.subscriptions)e()},e)}pauseAll(){for(let e of this.visibleToasts)e.timer&&e.timer.pause()}resumeAll(){for(let e of this.visibleToasts)e.timer&&e.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class s{constructor(e,t){this.startTime=null,this.remaining=t,this.callback=e}reset(e){this.remaining=e,this.resume()}pause(){null!=this.timerId&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}}},33302:(e,t,n)=>{n.d(t,{A:()=>l,D:()=>o});var r=n(18583),i=n(7620);let l=(0,i.createContext)({}),o=(0,i.forwardRef)(function(e,t){[e,t]=(0,r.JT)(e,t,l);let{children:n,level:o=3,className:s,...a}=e,u=r.tT[`h${o}`];return i.createElement(u,{...a,ref:t,className:s??"react-aria-Heading"},n)})},34803:(e,t,n)=>{n.d(t,{W1:()=>el,Dr:()=>ed,H9:()=>eu,cQ:()=>et,gI:()=>Z,kM:()=>ei});var r=n(18583),i=n(52162),l=n(34222),o=n(50965),s=n(7620);let a=(0,s.createContext)({});var u=n(13331),c=n(55405),d=n(43647),h=n(10500),f=n(8520),p=n(63423),g=n(73992),m=n(2512),y=n(1757),v=n(58422),b=n(69329),x=n(11394),w=n(55637),C=n(8487),E=n(30255),S=n(67474),K=n(68418);let N=Math.PI/12;var T=n(52017);let k=new WeakMap;var P=n(80059),D=n(49993),R=n(32397),M=n(71498),F=n(49464),A=n(1488),L=n(86624),B=n(43708),I=n(16470),_=n(37595),O=n(92700),H=n(87908),z=n(13862),V=n(72335),W=n(1024),U=n(65070);class j{constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t=t||new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,i=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=i++),(r=t).nextKey=void 0;this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}}var q=n(9950),$=n(62676),J=n(56153),Y=n(36549),G=n(69874);let Q=(0,s.createContext)(null),X=(0,s.createContext)(null),Z=(0,s.createContext)(null),ee=(0,s.createContext)(null);function et(e){let t=(0,_.I)(e),n=(0,s.useRef)(null),{menuTriggerProps:i,menuProps:l}=(0,g.V)({...e,type:"menu"},t,n),o=(0,s.useRef)(null);return(0,Y.m_)()?null:s.createElement(r.Kq,{values:[[Q,{...l,ref:o}],[u.RG,t],[Z,t],[c.n,{trigger:"MenuTrigger",triggerRef:n,scrollRef:o,placement:"bottom start","aria-labelledby":l["aria-labelledby"],offset:"contextMenu"===e.trigger?0:void 0}]]},s.createElement(W.Y,{...i,ref:n,isPressed:t.isOpen},e.children))}let en=(0,s.createContext)(null);class er extends I.Pt{static{this.type="submenutrigger"}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}}let ei=(0,O.yq)(er,(e,t,n)=>{let{CollectionBranch:l}=(0,s.useContext)(i.zL),o=(0,s.useContext)(X),a=(0,s.useContext)(Z),d=function(e,t){let{triggerKey:n}=e,{expandedKeysStack:r,openSubmenu:i,closeSubmenu:l,close:o}
1=t,[a]=(0,s.useState)(r?.length),u=(0,s.useMemo)(()=>r[a]===n,[r,n,a]),[c,d]=(0,s.useState)(null),h=(0,s.useCallback)(e=>{d(e??null),i(n,a)},[i,a,n]),f=(0,s.useCallback)(()=>{d(null),l(n,a)},[l,a,n]),p=(0,s.useCallback)(e=>{d(e??null),u?f():h(e)},[f,h,u]);return(0,s.useMemo)(()=>({focusStrategy:c,isOpen:u,open:h,close:f,closeAll:o,submenuLevel:a,setOpen:()=>{},toggle:p,point:null,setPoint:()=>{}}),[u,h,f,o,c,p,a])}({triggerKey:n.key},a),h=(0,s.useRef)(null),f=(0,G.U)(t),{parentMenuRef:p,shouldUseVirtualFocus:g}=(0,s.useContext)(en),{submenuTriggerProps:T,submenuProps:k,popoverProps:P}=function(e,t,n){let{parentMenuRef:r,submenuRef:i,type:l="menu",isDisabled:o,delay:a=200,shouldUseVirtualFocus:u}=e,c=(0,b.Bi)(),d=(0,b.Bi)(),{direction:h}=(0,C.Y)(),f=(0,s.useRef)(void 0),p=(0,s.useCallback)(()=>{f.current&&(clearTimeout(f.current),f.current=void 0)},[f]),g=(0,s.useCallback)(e=>{p(),t.open(e)},[t,p]),T=(0,s.useCallback)(()=>{p(),t.close()},[t,p]);(0,w.N)(()=>()=>{p()},[p]);let{keyboardProps:k}=(0,x.d)({shortcuts:{ArrowLeft:e=>{if(!(0,y.ae)(e.currentTarget))return!1;if("ltr"===h&&(0,y.sD)(e.currentTarget,(0,y.wt)(e))){T(),!u&&n.current&&(0,m.e)(n.current);return}return!1},ArrowRight:e=>{if(!(0,y.ae)(e.currentTarget))return!1;if("rtl"===h&&(0,y.sD)(e.currentTarget,(0,y.wt)(e))){T(),!u&&n.current&&(0,m.e)(n.current);return}return!1},Escape:e=>{if(!(0,y.ae)(e.currentTarget))return!1;if((0,y.sD)(i.current,(0,y.wt)(e))){T(),!u&&n.current&&(0,m.e)(n.current);return}return!1}}}),P={id:d,"aria-labelledby":c,submenuLevel:t.submenuLevel,..."menu"===l&&{onClose:t.closeAll,autoFocus:t.focusStrategy??void 0,...k}},{keyboardProps:D}=(0,x.d)({shortcuts:{ArrowRight:()=>{if(!o){if("ltr"===h){t.isOpen||g("first"),"menu"===l&&i?.current&&(0,y.bq)()===n?.current&&(0,m.e)(i.current);return}else if(t.isOpen)return void T()}return!1},ArrowLeft:()=>{if(!o){if("rtl"===h){t.isOpen||g("first"),"menu"===l&&i?.current&&(0,y.bq)()===n?.current&&(0,m.e)(i.current);return}else if(t.isOpen)return void T()}return!1}}});return(0,v._)(r,"focusin",e=>{t.isOpen&&(0,y.sD)(r.current,(0,y.wt)(e))&&(0,y.wt)(e)!==n.current&&T()}),!function(e){let{menuRef:t,submenuRef:n,isOpen:r,isDisabled:i}=e,l=(0,s.useRef)(void 0),o=(0,s.useRef)(void 0),a=(0,s.useRef)(0),u=(0,s.useRef)(void 0),c=(0,s.useRef)(void 0),d=(0,s.useRef)(void 0),h=(0,s.useRef)(2),[f,p]=(0,s.useState)(!1);(0,K.w)({ref:r?n:void 0,onResize:()=>{n.current&&(o.current=n.current.getBoundingClientRect(),d.current=void 0)}});let g=()=>{p(!1),h.current=2,l.current=void 0},m=(0,S.lb)(),v=(0,E.J)(e=>{f&&e.preventDefault()});(0,s.useEffect)(()=>{f&&t.current?t.current.style.pointerEvents="none":t.current.style.pointerEvents=""},[t,f]),(0,w.N)(()=>{let e=n.current,s=t.current;if(i||!e||!r||"pointer"!==m||!s)return void g();o.current=e.getBoundingClientRect();let f=e=>{if("touch"===e.pointerType||"pen"===e.pointerType)return;let t=Date.now();if(t-a.current<50)return;clearTimeout(u.current),clearTimeout(c.current);let{clientX:n,clientY:r}=e;if(!l.current){l.current={x:n,y:r};return}if(!o.current)return;if(d.current||(d.current=n>o.current.right?"left":"right"),n<s.getBoundingClientRect().left||n>s.getBoundingClientRect().right||r<s.getBoundingClientRect().top||r>s.getBoundingClientRect().bottom)return void g();let i=l.current.x,f=l.current.y,m="right"===d.current?o.current.left-i:i-o.current.right,v=Math.atan2(f-o.current.top,m)+N,b=Math.atan2(f-o.current.bottom,m)-N,x=Math.atan2(f-r,"left"===d.current?-(n-i):n-i),w=x<v&&x>b;h.current=w?Math.min(h.current+1,2):Math.max(h.current-1,0),h.current>=2?p(!0):p(!1),a.current=t,l.current={x:n,y:r},w&&(u.current=setTimeout(()=>{g(),c.current=setTimeout(()=>{let e=document.elementFromPoint(n,r);e&&(0,y.sD)(s,e)&&e.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0,cancelable:!0}))},100)},1e3))};return window.addEventListener("pointermove",f),window.addEventListener("pointerdown",v,!0),()=>{window.removeEventListener("pointermove",f),window.removeEventListener("pointerdown",v,!0),clearTimeout(u.current),clearTimeout(c.current),h.current=2}},[i,r,t,m,p,n])}
1({menuRef:r,submenuRef:i,isOpen:t.isOpen,isDisabled:o}),{submenuTriggerProps:{onKeyDown:D.onKeyDown,onKeyUp:D.onKeyUp,id:c,"aria-controls":t.isOpen?d:void 0,"aria-haspopup":o?void 0:l,"aria-expanded":t.isOpen?"true":"false",onPressStart:e=>{o||"virtual"!==e.pointerType&&"keyboard"!==e.pointerType||g("first")},onPress:e=>{o||"touch"!==e.pointerType&&"mouse"!==e.pointerType||g()},onHoverChange:e=>{!o&&(e&&!t.isOpen?f.current||(f.current=setTimeout(()=>{g()},a)):e||p())},isOpen:t.isOpen},submenuProps:P,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:e=>e!==n.current}}}({parentMenuRef:p,submenuRef:h,delay:e.delay,shouldUseVirtualFocus:g},d,f);return s.createElement(r.Kq,{values:[[ec,{...T,onAction:void 0,ref:f}],[Q,{ref:h,...k}],[u.RG,d],[c.n,{trigger:"SubmenuTrigger",triggerRef:f,placement:"end top","aria-labelledby":k["aria-labelledby"],...P}]]},s.createElement(l,{collection:o.collection,parent:n}),e.children[1])},e=>e.children[0]),el=(0,s.forwardRef)(function(e,t){return[e,t]=(0,r.JT)(e,t,Q),s.createElement(O.GQ,{content:s.createElement(O.pM,e)},n=>s.createElement(eo,{props:e,collection:n,menuRef:t}))});function eo({props:e,collection:t,menuRef:n}){[e,n]=(0,r.JT)(e,n,l.Co);let{filter:o,...a}=e,u=(0,s.useMemo)(()=>o?t.filter(o):t,[t,o]),c=function(e){let{onExpandedChange:t}=e,[n,r]=(0,$.P)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),i=(0,J.R)(e),l=(0,s.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=(0,q.G)(e,(0,s.useCallback)(e=>new j(e,{expandedKeys:n}),[n]),null);return(0,s.useEffect)(()=>{null==i.focusedKey||o.getItem(i.focusedKey)||i.setFocusedKey(null)},[o,i.focusedKey]),{collection:o,expandedKeys:n,disabledKeys:l,toggleKey:e=>{var t,i;let l;r((t=n,i=e,(l=new Set(t)).has(i)?l.delete(i):l.add(i),l))},setExpandedKeys:r,selectionManager:new(0,U.Y)(o,i)}}({...e,collection:u,children:void 0}),d=(0,s.useContext)(Z),{isVirtualized:p,CollectionRoot:g}=(0,s.useContext)(i.zL),{menuProps:m}=function(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:i,onKeyUp:l,...o}=e;e["aria-label"]||e["aria-labelledby"];let s=(0,T.$)(e,{labelable:!0}),{listProps:a}=(0,D.y)({...o,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:"override"});return k.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:(0,P.v)(s,{onKeyDown:i,onKeyUp:l},{role:"menu",...a,onKeyDown:t=>{("Escape"!==t.key||e.shouldUseVirtualFocus)&&a.onKeyDown?.(t)}})}}({...e,isVirtualized:p,onClose:e.onClose||d?.close},c,n),y=(0,r.Sl)({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:0===c.collection.size}}),v=null;0===c.collection.size&&e.renderEmptyState&&(v=s.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let b=(0,T.$)(e,{global:!0});return s.createElement(H.n1,null,s.createElement(r.tT.div,{...(0,P.v)(b,y,m),ref:n,slot:e.slot||void 0,"data-empty":0===c.collection.size||void 0,onScroll:e.onScroll},s.createElement(r.Kq,{values:[[X,c],[h.$S,{elementType:"div"}],[i.P2,{name:"MenuSection",render:ea}],[en,{parentMenuRef:n,shouldUseVirtualFocus:a?.shouldUseVirtualFocus}],[ec,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[l.Co,null],[l.wv,null],[ee,c.selectionManager],[Z,d??(0,_.I)({})]]},s.createElement(f.D,null,s.createElement(g,{collection:c.collection,persistedKeys:(0,i.l2)(c.selectionManager.focusedKey),scrollRef:n}))),v))}class es extends U.Y{constructor(e,t){super(e.collection,t),this.parent=e}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,t){return this.parent.setFocusedKey(e,t)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}}function ea(e,t,n,l="react-aria-MenuSection"){let a=(0,s.useContext)(X),{CollectionBranch:u}=(0,s.useContext)(i.zL),[c,d]=(0,r._E)(),{headingProps:h,groupProps:f}=function(e){let{heading:t,"aria-label":n}=e,r=(0,b.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}({heading:d,"aria-label":n.props["aria-label"]??void 0}),p=(0,r.Sl)({...e,id:void 0,children:void 0,defaultClassName:l,className:n.props?.className,style:n.props?.style,values:void 0}),g=(0,s.useContext)(ee),m=(0,J.R)(e),y=null!=e.selectionMode?new es(g,m):g,v=(0,r.CC)(ec)?.shouldCloseOnSelect,x=(0,T.$)(e,{global:!0});return delete x.id,s.createElement(r.tT.section,{...(0,P.v)(x,p,f),ref:t},s.createElement(r.Kq,{values:[[o.B,{...h,ref:c}],[ee,y],[ec,{shouldCloseOnSelect:e.shouldCloseOnSelect??v}]]},s.createElement(u,{collection:a.collection,parent:n})))}let eu=(0,O.yq)(I.ox,ea),ec=(0,s.createContext)(null),ed=(0,O.KU)(I._B,function(e,t,n){[e,t]=(0,r.JT)(e,t,ec);let l=(0,r.CC)(ec)?.id,o=(0,s.useContext)(X),u=(0,G.U)(t),c=(0,s.useContext)(ee),{isVirtualized:h}=(0,s.useContext)(i.zL),{menuItemProps:f,labelProps:g,descriptionProps:m,keyboardShortcutProps:v,...w}=function(e,t,n){let{id:r,key:i,closeOnSelect:l,shouldCloseOnSelect:o,isVirtualized:a,"aria-haspopup":u,onPressStart:c,onPressUp:d,onPress:h,onPressChange:f,onPressEnd:p,onClick:g,onHoverStart:m,onHoverChange:v,onHoverEnd:w,onKeyDown:C,onKeyUp:E,onFocus:K,onFocusChange:N,onBlur:D,selectionManager:I=t.selectionManager}=e,_=!!u,O=_&&"true"===e["aria-expanded"],H=e.isDisabled??I.isDisabled(i),z=e.isSelected??I.isSelected(i),V=k.get(t),W=t.collection.getItem(i),U=e.onClose||V.onClose,j=(0,R.rd)(),q="menuitem";_||("single"===I.selectionMode?q="menuitemradio":"multiple"===I.selectionMode&&(q="menuitemcheckbox"));let $=(0,b.X1)(),J=(0,b.X1)(),Y=(0,b.X1)(),G={id:r,"aria-disabled":H||void 0,role:q,"aria-label":e["aria-label"],"aria-labelledby":$,"aria-describedby":[e["aria-describedby"],J,Y].filter(
1Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":u,"aria-expanded":e["aria-expanded"]};if("none"===I.selectionMode||_||(G["aria-checked"]=z),a){let e=Number(W?.index);G["aria-posinset"]=Number.isNaN(e)?void 0:e+1,G["aria-setsize"]=(0,B.v)(t.collection)}let Q=(0,s.useRef)(!1),X=(0,s.useRef)(null),{itemProps:Z,isFocused:ee}=(0,L.p)({id:r,selectionManager:I,key:i,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:V.shouldUseVirtualFocus}),{pressProps:et,isPressed:en}=(0,A.d)({onPressStart:c,onPress:h,onPressUp:e=>{"keyboard"!==e.pointerType&&(X.current={pointerType:e.pointerType}),"mouse"!==e.pointerType||Q.current||e.target.click(),d?.(e)},onPressChange:e=>{f?.(e),Q.current=e},onPressEnd:p,isDisabled:H}),{hoverProps:er}=(0,F.M)({isDisabled:H,onHoverStart(e){(0,S.pP)()||O&&u||(I.setFocused(!0),I.setFocusedKey(i)),m?.(e)},onHoverChange:v,onHoverEnd:w}),{keyboardProps:ei}=(0,x.d)({shortcuts:{" ":e=>{X.current={pointerType:"keyboard",key:" "},(0,y.wt)(e).click(),(0,S.Cl)("keyboard")},Enter:e=>{X.current={pointerType:"keyboard",key:"Enter"};let t=(0,y.wt)(e);if("A"!==t.tagName){t.click(),(0,S.Cl)("keyboard");return}return(0,S.Cl)("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:C,onKeyUp:E}),{focusableProps:el}=(0,M.Wc)({onBlur:D,onFocus:K,onFocusChange:N},n),eo=(0,T.$)(W?.props);delete eo.id;let es=(0,R._h)(W?.props);return{menuItemProps:{...G,...(0,P.v)(eo,es,_?{onFocus:Z.onFocus,"data-collection":Z["data-collection"],"data-key":Z["data-key"]}:Z,et,er,ei,el,V.shouldUseVirtualFocus||_?{onMouseDown:e=>e.preventDefault()}:void 0,H?void 0:{onClick:t=>{g?.(t),!_&&(W?.props?.onAction?W.props.onAction():e.onAction&&e.onAction(i),V.onAction&&(0,V.onAction)(i,W?.value)),(0,R.PJ)(t,j,W.props.href,W?.props.routerOptions);let n=X.current?.pointerType==="keyboard"?X.current?.key==="Enter"||"none"===I.selectionMode||I.isLink(i):"multiple"!==I.selectionMode||I.isLink(i);n=o??l??n,U&&!_&&n&&U(),X.current=null}}),tabIndex:null!=Z.tabIndex&&O&&!V.shouldUseVirtualFocus?-1:Z.tabIndex},labelProps:{id:$},descriptionProps:{id:J},keyboardShortcutProps:{id:Y},isFocused:ee,isFocusVisible:ee&&I.isFocused&&(0,S.pP)()&&!O,isSelected:z,isPressed:en,isDisabled:H}}({...e,id:l,key:n.key,selectionManager:c,isVirtualized:h},o,u),{hoverProps:C,isHovered:E}=(0,F.M)({isDisabled:w.isDisabled}),K=(0,r.Sl)({...e,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...w,isHovered:E,isFocusVisible:w.isFocusVisible,selectionMode:c.selectionMode,selectionBehavior:c.selectionBehavior,hasSubmenu:!!e["aria-haspopup"],isOpen:"true"===e["aria-expanded"]}}),N=e.href?r.tT.a:r.tT.div,D=(0,T.$)(e,{global:!0});return delete D.id,delete D.onClick,s.createElement(N,{...(0,P.v)(D,K,f,C),ref:u,"data-disabled":w.isDisabled||void 0,"data-hovered":E||void 0,"data-focused":w.isFocused||void 0,"data-focus-visible":w.isFocusVisible||void 0,"data-pressed":w.isPressed||void 0,"data-selected":w.isSelected||void 0,"data-selection-mode":"none"===c.selectionMode?void 0:c.selectionMode,"data-has-submenu":!!e["aria-haspopup"]||void 0,"data-open":"true"===e["aria-expanded"]||void 0},s.createElement(r.Kq,{values:[[p.h,{slots:{[r.P_]:g,label:g,description:m}}],[a,v],[d.r,{isSelected:w.isSelected}]]},K.children))});(0,O.KU)(I.OJ,function(e,t,n){let i=(0,s.useContext)(X),{isLoading:l,onLoadMore:o,scrollOffset:a,...u}=e,c=(0,s.useRef)(null),d=(0,s.useMemo)(()=>({onLoadMore:o,collection:i?.collection,sentinelRef:c,scrollOffset:a}),[o,a,i?.collection]);(0,V.n)(d,c);let h=(0,r.Sl)({...u,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0});return s.createElement(s.Fragment,null,s.createElement("div",{style:{position:"relative",width:0,height:0},inert:(0,z.Y)(!0)},s.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),l&&h.children&&s.createElement(s.Fragment,null,s.createElement(r.tT.div,{...(0,P.v)((0,T.$)(e,{global:!0}),{tabIndex:-1}),...h,role:"menuitem",ref:t},h.children)))})},37595:(e,t,n)=>{n.d(t,{I:()=>l});var r=n(15684),i=n(7620);function l(e){let t=(0,r.T)(e),[n,l]=(0,i.useState)(null),[o,s]=(0,i.useState)([]);return{focusStrategy:n,...t,open(e=null){l(e),t.open()}
1,toggle(e=null){l(e),t.toggle()},close(){s([]),t.close()},expandedKeysStack:o,openSubmenu:(e,t)=>{s(n=>t>n.length?n:[...n.slice(0,t),e])},closeSubmenu:(e,t)=>{s(n=>n[t]===e?n.slice(0,t):n)}}}},41256:(e,t,n)=>{n.d(t,{y:()=>T});var r=n(43139),i=n(1411),l=n(2512),o=n(1757),s=n(87908),a=n(67474),u=n(2875),c=n(894),d=n(21304),h=n(19975),f=n(80059),p=n(6482);function g(e,t){let n=[],r=document.scrollingElement||document.documentElement;for(;e&&((0,p.o)(e,t)&&n.push(e),e!==r);)e=e.parentElement;return n}function m(e,t,n={}){if(e===t)return;let r=t.getBoundingClientRect();!function(e,t,n,r={}){let{block:i="nearest",inline:l="nearest"}=r,o=e.scrollTop,s=e.scrollLeft,a=e.getBoundingClientRect(),u=window.getComputedStyle(t),c=window.getComputedStyle(e),h=document.scrollingElement||document.documentElement,f=e===h,p=e===h?0:a.top,g=e===h?e.clientHeight:a.bottom,m=e===h?0:a.left,y=e===h?e.clientWidth:a.right,v=parseFloat(u.scrollMarginTop)||0,b=parseFloat(u.scrollMarginBottom)||0,x=parseFloat(u.scrollMarginLeft)||0,w=parseFloat(u.scrollMarginRight)||0,C=parseFloat(c.scrollPaddingTop)||0,E=parseFloat(c.scrollPaddingBottom)||0,S=parseFloat(c.scrollPaddingLeft)||0,K=parseFloat(c.scrollPaddingRight)||0,N=parseFloat(c.borderTopWidth)||0,T=parseFloat(c.borderBottomWidth)||0,k=parseFloat(c.borderLeftWidth)||0,P=parseFloat(c.borderRightWidth)||0,D=n.top-v,R=n.bottom+b,M=n.left-x,F=n.right+w,A=e===h?0:k+P,L=e===h?0:N+T,B=e===h?0:e.offsetWidth-e.clientWidth-A,I=e===h?0:e.offsetHeight-e.clientHeight-L,_=p+(f?0:N)+C,O=g-(f?0:T)-E-I,H=m+(f?0:k)+S,z=y-(f?0:P)-K;(0,d.un)()&&(0,d.Tc)()||"ltr"===c.direction?z-=B:"rtl"===c.direction&&(H+=B);let V=D<_||R>O,W=M<H||F>z;if(V&&"start"===i)o+=D-_;else if(V&&"center"===i)o+=(D+R)/2-(_+O)/2;else if(V&&"end"===i)o+=R-O;else if(V&&"nearest"===i){let e=D-_,t=R-O;o+=Math.abs(e)<=Math.abs(t)?e:t}if(W&&"start"===l)s+=M-H;else if(W&&"center"===l)s+=(M+F)/2-(H+z)/2;else if(W&&"end"===l)s+=F-z;else if(W&&"nearest"===l){let e=M-H,t=F-z;s+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:s,top:o})}(e,t,r,n)}function y(e,t={}){let{containingElement:n}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(t).overflow){let{left:t,top:r}=e.getBoundingClientRect(),i=g(e,!0);for(let t of i)m(t,e);let{left:l,top:o}=e.getBoundingClientRect();if(Math.abs(t-l)>1||Math.abs(r-o)>1){for(let e of i=n?g(n,!0):[])m(e,n,{block:"center",inline:"center"});for(let t of g(e,!0))m(t,e)}}else{let{left:t,top:r}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:i,top:l}=e.getBoundingClientRect();(Math.abs(t-i)>1||Math.abs(r-l)>1)&&(n?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}var v=n(58422),b=n(11394),x=n(8487),w=n(32397),C=n(58089),E=n(55637),S=n(7620);function K(e,t){let n=(0,S.useRef)(!0),r=(0,S.useRef)(null);(0,E.N)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,E.N)(()=>{n.current?n.current=!1:(!r.current||t.some((e,t)=>!Object.is(e,r[t])))&&e(),r.current=t},t)}var N=n(97509);function T(e){let t,{selectionManager:n,keyboardDelegate:p,ref:g,autoFocus:E=!1,shouldFocusWrap:T=!1,disallowEmptySelection:k=!1,disallowSelectAll:P=!1,escapeKeyBehavior:D="clearSelection",selectOnFocus:R="replace"===n.selectionBehavior,disallowTypeAhead:M=!1,shouldUseVirtualFocus:F,allowsTabNavigation:A=!1,scrollRef:L=g,linkBehavior:B="action",UNSTABLE_focusOnEntry:I}=e,{direction:_}=(0,x.Y)(),O=(0,w.rd)(),H=(e,t,r)=>{if(null!=t){if(n.isLink(t)&&"selection"===B&&R&&!(0,u.N9)(e)){(0,N.flushSync)(()=>{n.setFocusedKey(t,r)});let i=(0,u.au)(g,t),l=n.getItemProps(t);return!!i&&void O.open(i,e,l.href,l.routerOptions)}if(n.setFocusedKey(t,r),n.isLink(t)&&"override"===B)return!1;if(e.shiftKey&&"multiple"===n.selectionMode)return void n.extendSelection(t);if(R&&!(0,u.N9)(e))return void n.replaceSelection(t)}return!1},z=(e,t)=>({[(0,d.cX)()?e+"+Shift+Alt":e+"+Shift+Control"]:t,[e+"+Shift"]:t,[(0,d.cX)()?e+"+Alt":e+"+Control"]:t,[e]:t}),{keyboardProps:V}=(0,b.d)({shortcuts:{...z("ArrowDown",e=>{if(p.getKeyBelow){let t=null!=n.focusedKey?p.getKeyBelow?.(n.focusedKey):p.getFirstKey?.();if(null==t&&T&&(t=p.getFirstKey?.(n.focusedKey)),null!=t)return void H(e,t)}return!1}),...z("ArrowUp",e=>{if(p.getKeyAbove){let t=null!=n.focusedKey?p.getKeyAbove?.(n.focusedKey):p.getLastKey?.();if(null==t&&T&&(t=p.getLastKey?.(n.focusedKey)),null!=t)return void H(e,t)}return!1}),...z("ArrowLeft",e=>{if(p.getKeyLeftOf){let t=null!=n.focusedKey?p.getKeyLeftOf?.(n.focusedKey):p.getFirstKey?.();if(null==t&&T&&(t="rtl"===_?p.getFirstKey?.(n.focusedKey):p.getLastKey?.(n.focusedKey)),null!=t)return void H(e,t,"rtl"===_?"first":"last")}return!1}),...z("ArrowRight",e=>
1{if(p.getKeyRightOf){let t=null!=n.focusedKey?p.getKeyRightOf?.(n.focusedKey):p.getFirstKey?.();if(null==t&&T&&(t="rtl"===_?p.getLastKey?.(n.focusedKey):p.getFirstKey?.(n.focusedKey)),null!=t)return void H(e,t,"rtl"===_?"last":"first")}return!1}),...z("PageDown",e=>{if(p.getKeyPageBelow&&null!=n.focusedKey){let t=p.getKeyPageBelow(n.focusedKey);if(null!=t)return H(e,t)}return!1}),...z("PageUp",e=>{if(p.getKeyPageAbove&&null!=n.focusedKey){let t=p.getKeyPageAbove(n.focusedKey);if(null!=t)return H(e,t)}return!1})},allowRepeats:!0}),{keyboardProps:W}=(0,b.d)({shortcuts:{...z("Home",e=>{if(p.getFirstKey){if(null===n.focusedKey&&e.shiftKey)return!1;let t=p.getFirstKey(n.focusedKey,(0,c.B)(e));if(n.setFocusedKey(t),null!=t){if((0,c.B)(e)&&e.shiftKey&&"multiple"===n.selectionMode)return void n.extendSelection(t);else if(R)return void n.replaceSelection(t)}}return!1}),...z("End",e=>{if(p.getLastKey){if(null===n.focusedKey&&e.shiftKey)return!1;let t=p.getLastKey(n.focusedKey,(0,c.B)(e));if(n.setFocusedKey(t),null!=t){if((0,c.B)(e)&&e.shiftKey&&"multiple"===n.selectionMode)return void n.extendSelection(t);else if(R)return void n.replaceSelection(t)}}return!1}),"Mod+A":()=>"multiple"===n.selectionMode&&!0!==P&&void n.selectAll(),Escape:()=>"clearSelection"===D&&!k&&0!==n.selectedKeys.size&&void n.clearSelection(),Tab:()=>{if(!A&&g.current){let e,t,n=(0,s.N$)(g.current,{tabbable:!0});do(t=n.lastChild())&&(e=t);while(t);let r=(0,o.bq)();e&&(!(0,o.ae)(e)||r&&!(0,h.A)(r))&&(0,l.e)(e)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},"Tab+Shift":()=>(!A&&g.current&&g.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1})}}),U=(0,S.useRef)({top:0,left:0});(0,v._)(L,"scroll",()=>{U.current={top:L.current?.scrollTop??0,left:L.current?.scrollLeft??0}});let j=(0,S.useRef)(!1);(0,v._)(g,"react-aria-focus",F?e=>{let{detail:t}=e;e.stopPropagation(),n.setFocused(!0),t?.focusStrategy==="first"&&(j.current=!0)}:void 0);let q=p.getFirstKey?.()??null;K(()=>{if(j.current)if(null==q){let e=(0,o.bq)();(0,r.vX)(g.current),(0,r.Ig)(e,null),n.collection.size>0&&(j.current=!1)}else n.setFocusedKey(q),j.current=!1},[q,n.collection.size]),K(()=>{n.collection.size>0&&(j.current=!1)},[n.focusedKey]),(0,v._)(g,"react-aria-clear-focus",F?e=>{e.stopPropagation(),n.setFocused(!1),e.detail?.clearFocusKey&&n.setFocusedKey(null)}:void 0);let $=(0,S.useRef)(E),J=(0,S.useRef)(!1);(0,S.useEffect)(()=>{if($.current){let e=null;"first"===E&&(e=p.getFirstKey?.()??null),"last"===E&&(e=p.getLastKey?.()??null);let t=n.selectedKeys;if(t.size){for(let r of t)if(n.canSelectItem(r)){e=r;break}}n.setFocused(!0),n.setFocusedKey(e),null!=e&&R&&!t.size&&n.canSelectItem(e)&&n.replaceSelection(e),null==e&&!F&&g.current&&(0,i.l)(g.current),n.collection.size>0&&($.current=!1,J.current=!0)}});let Y=(0,S.useRef)(n.focusedKey),G=(0,S.useRef)(null);(0,S.useEffect)(()=>{if(n.isFocused&&null!=n.focusedKey&&(n.focusedKey!==Y.current||J.current)&&L.current&&g.current){let e=(0,a.ME)(),t=(0,u.au)(g,n.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||J.current)&&(G.current&&cancelAnimationFrame(G.current),G.current=requestAnimationFrame(()=>{L.current&&(m(L.current,t),"virtual"!==e&&y(t,{containingElement:g.current}))}))}!F&&n.isFocused&&null==n.focusedKey&&null!=Y.current&&g.current&&(0,i.l)(g.current),Y.current=n.focusedKey,J.current=!1}),(0,S.useEffect)(()=>()=>{G.current&&cancelAnimationFrame(G.current)},[]),(0,v._)(g,"react-aria-focus-scope-restore",e=>{e.preventDefault(),n.setFocused(!0)});let Q={...(0,f.v)(W,V),onFocus:e=>{if(n.isFocused){(0,o.sD)(e.currentTarget,(0,o.wt)(e))||n.setFocused(!1);return}if(!(0,o.sD)(e.currentTarget,(0,o.wt)(e)))return;let t=(0,a.ME)();n.setFocused(!0);let r=e=>{null!=e&&(n.setFocusedKey(e),R&&!n.isSelected(e)&&n.replaceSelection(e))};if(I&&("keyboard"===t||"virtual"===t))r("first"===I?p.getFirstKey?.():p.getLastKey?.());else if(null==n.focusedKey){let t=e.relatedTarget;t&&e.currentTarget.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?r(n.lastSelectedKey??p.getLastKey?.()):r(n.firstSelectedKey??p.getFirstKey?.())}else L.current&&(L.current.scrollTop=U.current.top,L.current.scrollLeft=U.current.left);
1if(null!=n.focusedKey&&L.current){let e=(0,u.au)(g,n.focusedKey);e instanceof HTMLElement&&((0,o.ae)(e)||F||(0,l.e)(e),("keyboard"===t||I&&"virtual"===t)&&y(e,{containingElement:g.current}))}},onBlur:e=>{(0,o.sD)(e.currentTarget,e.relatedTarget)||n.setFocused(!1)},onMouseDown(e){L.current===(0,o.wt)(e)&&e.preventDefault()}},{typeSelectProps:X}=(0,C.I)({keyboardDelegate:p,selectionManager:n});M||(Q=(0,f.v)(X,Q)),F||(t=null==n.focusedKey?0:-1);let Z=(0,u.j5)(n.collection);return{collectionProps:(0,f.v)(Q,{tabIndex:t,"data-collection":Z})}}},43139:(e,t,n)=>{n.d(t,{Ig:()=>o,vX:()=>l});var r=n(1757),i=n(89850);function l(e){var t,n,l;let s,a,u=(t=(0,i.TW)(e),s=(0,r.bq)(t),(a=s?.getAttribute("aria-activedescendant"))&&t.getElementById(a)||s);u!==e&&(u&&(n=u,l=e,n.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))),e&&o(e,u))}function o(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}},43647:(e,t,n)=>{n.d(t,{i:()=>s,r:()=>o});var r=n(18583),i=n(8520),l=n(7620);let o=(0,l.createContext)({isSelected:!1}),s=(0,l.forwardRef)(function(e,t){[e,t]=(0,r.JT)(e,t,o);let{isSelected:n,...s}=e;return l.createElement(i.e,{...s,ref:t,className:e.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:n})})},43708:(e,t,n)=>{n.d(t,{v:()=>l});var r=n(89693);let i=new WeakMap;function l(e){let t=i.get(e);if(null!=t)return t;let n=0,l=t=>{for(let i of t)"section"===i.type?l((0,r.iQ)(i,e)):"item"===i.type&&n++};return l(e),i.set(e,n),n}},49993:(e,t,n)=>{n.d(t,{y:()=>s});var r=n(41256),i=n(57152),l=n(58437),o=n(7620);function s(e){let{selectionManager:t,collection:n,disabledKeys:s,ref:a,keyboardDelegate:u,layoutDelegate:c,orientation:d}=e,h=(0,l.Q)({usage:"search",sensitivity:"base"}),f=t.disabledBehavior,p=(0,o.useMemo)(()=>u||new(0,i.n)({collection:n,disabledKeys:s,disabledBehavior:f,ref:a,collator:h,layoutDelegate:c,orientation:d}),[u,c,n,s,a,h,f,d]),{collectionProps:g}=(0,r.y)({...e,ref:a,selectionManager:t,keyboardDelegate:p});return{listProps:g}}},50965:(e,t,n)=>{n.d(t,{B:()=>s,Y:()=>a});var r=n(18583),i=n(92700),l=n(16470),o=n(7620);let s=(0,o.createContext)({}),a=(0,i.KU)(l.EH,function(e,t){return[e,t]=(0,r.JT)(e,t,s),o.createElement(r.tT.header,{className:"react-aria-Header",...e,ref:t},e.children)})},51411:(e,t,n)=>{let r;n.d(t,{H:()=>g});var i=n(89850),l=n(53974),o=n(1757),s=n(17866),a=n(25638),u=n(21304),c=n(6482),d=n(55637),h=n(894);let f="undefined"!=typeof document&&window.visualViewport,p=0;function g(e={}){let{isDisabled:t}=e;(0,d.N)(()=>{if(!t){let e,t,n,d,f,g,y,v;return 1==++p&&(r=(0,u.un)()&&(0,u.Tc)()?(t=(0,i.eC)(document.documentElement,"overflow","hidden"),n=!1,d=document.createElement("style"),(f=(0,s.m)())&&(d.nonce=f),d.textContent=`
2@layer {
3  * {
4    overscroll-behavior: contain;
5  }
6}`.trim(),document.head.prepend(d),g=HTMLElement.prototype.focus,Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(e){let t=(0,o.bq)(),n=null!=t&&(0,h.o)(t);g.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||m(this,n)}}),y=(0,l.c)((0,i.W2)(document,"touchstart",t=>{let r=(0,o.wt)(t);e=(0,c.o)(r)?r:(0,a.m)(r,!0),n=!1;let i=r.ownerDocument.defaultView.getSelection();i&&!i.isCollapsed&&i.containsNode(r,!0)&&(n=!0),t.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(n=!0),"selectionStart"in r&&"selectionEnd"in r&&r.selectionStart<r.selectionEnd&&r.ownerDocument.activeElement===r&&(n=!0)},{passive:!1,capture:!0}),(0,i.W2)(document,"touchmove",t=>{if(2!==t.touches.length&&!n){if(!e||e===document.documentElement||e===document.body)return void t.preventDefault();e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()}},{passive:!1,capture:!0}),(0,i.W2)(document,"blur",e=>{let t=(0,o.wt)(e),n=e.relatedTarget;if(n&&(0,h.o)(n))n.focus({preventScroll:!0}),m(n,(0,h.o)(t));else if(!n){let e=t.parentElement?.closest("[tabindex]");e?.focus({preventScroll:!0})}},!0)),()=>{t(),y(),d.remove(),Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:g})}):(v=window.innerWidth-document.documentElement.clientWidth,(0,l.c)(v>0&&("scrollbarGutter"in document.documentElement.style?(0,i.eC)(document.documentElement,"scrollbar-gutter","stable"):(0,i.eC)(document.documentElement,"padding-right",`${v}px`)),(0,i.eC)(document.documentElement,"overflow","hidden")))),(
6)=>{0==--p&&r()}}},[t])}function m(e,t){t||!f?y(e):f.addEventListener("resize",()=>y(e),{once:!0})}function y(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=(0,a.m)(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;f&&(n=Math.min(n,f.offsetTop+f.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:"smooth"})}}n=e.parentElement}}},52162:(e,t,n)=>{n.d(t,{N:()=>o,P2:()=>l,l2:()=>u,zL:()=>a});var r=n(7620),i=n(16559);let l=(0,r.createContext)(null),o={CollectionRoot:({collection:e,renderDropIndicator:t})=>s(e,null,t),CollectionBranch:({collection:e,parent:t,renderDropIndicator:n})=>s(e,t,n)};function s(e,t,n){return(0,i.p)({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){if("content"===t.type)return r.createElement(r.Fragment,null);let i=t.render(t);return n&&"item"===t.type?r.createElement(r.Fragment,null,n({type:"item",key:t.key,dropPosition:"before"}),i,function(e,t,n){let i=t.key,l=e.getKeyAfter(i),o=null!=l?e.getItem(l):null;for(;null!=o&&"item"!==o.type;)o=null!=(l=e.getKeyAfter(o.key))?e.getItem(l):null;let s=null!=t.nextKey?e.getItem(t.nextKey):null;for(;null!=s&&"item"!==s.type;)s=null!=s.nextKey?e.getItem(s.nextKey):null;let a=[];if(null==s){let i=t;for(;i?.type==="item"&&(!o||i.parentKey!==o.parentKey&&o.level<i.level);){let t=n({type:"item",key:i.key,dropPosition:"after"});(0,r.isValidElement)(t)&&a.push((0,r.cloneElement)(t,{key:`${i.key}-after`})),i=null!=i.parentKey?e.getItem(i.parentKey):null}}return a}(e,t,n)):i}})}let a=(0,r.createContext)(o);function u(e){return(0,r.useMemo)(()=>null!=e?new Set([e]):null,[e])}},52182:(e,t,n)=>{n.d(t,{EA:()=>u});let r=(0,n(23479).tv)({defaultVariants:{animationType:"shimmer"},slots:{base:"skeleton"},variants:{animationType:{none:"skeleton--none",pulse:"skeleton--pulse",shimmer:"skeleton--shimmer"}}});var i=n(7620),l=n(57178),o=n(1329),s=n(54568);let a=e=>{let{animationType:t,className:n,...a}=e,u=(0,l.$)("--skeleton-animation",t),c=i.useMemo(()=>r({animationType:u}),[u]);return(0,s.jsx)(o.t.div,{className:c.base({className:n}),...a})},u=Object.assign(a,{Root:a})},52479:(e,t,n)=>{n.d(t,{Jn:()=>c});let r=(0,n(23479).tv)({base:"close-button",defaultVariants:{variant:"default"},variants:{variant:{default:"close-button--default"}}});var i=n(7620),l=n(24944),o=n(10196),s=n(54568),a=n(14785);let u=e=>{let{children:t,className:n,slot:u,style:c,variant:d,...h}=e,f=(0,i.useMemo)(()=>r({variant:d}),[d]);return(0,s.jsx)(l.$,{"aria-label":"Close",className:(0,a.e)(n,f),"data-slot":"close-button",slot:u,style:c,type:"button",...h,children:e=>"function"==typeof t?t(e):null!=t?t:(0,s.jsx)(o.US,{"data-slot":"close-button-icon"})})},c=Object.assign(u,{Root:u})},52554:(e,t,n)=>{n.d(t,{a:()=>o,o:()=>s});var r=n(89850),i=n(1757),l=n(7620);let o=new WeakMap;function s(e){let{triggerRef:t,isOpen:n,onClose:s}=e;(0,l.useEffect)(()=>{if(n&&null!==s)return(0,r.W2)((0,i.vK)(t.current),"scroll",e=>{let n=(0,i.wt)(e);if(!t.current||n instanceof Node&&!(0,i.sD)(n,t.current)||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return;let r=s||o.get(t.current);r&&r()},!0)},[n,s,t])}},54454:(e,t,n)=>{n.d(t,{v:()=>k});var r=n(89850),i=n(21304),l=n(1757),o=n(99373);let s={top:"top",bottom:"top",left:"left",right:"left"},a={top:"bottom",bottom:"top",left:"right",right:"left"},u={top:"left",left:"top"},c={top:"height",left:"width"},d={width:"totalWidth",height:"totalHeight"},h={};function f(e,t){let n=0,r=0,l=0,o=0,s=0,a=0,u={},c=(t?.scale??1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let i=document.documentElement;l=i.clientWidth,o=i.clientHeight,n=t?.width??l,r=t?.height??o,u.top=i.scrollTop||e.scrollTop,u.left=i.scrollLeft||e.scrollLeft,t&&(s=Math.max(0,t.pageTop-(u.top??0)),a=Math.max(0,t.pageLeft-(u.left??0)))}else({width:n,height:r,top:s,left:a}=b(e,!1)),u.top=e.scrollTop,u.left=e.scrollLeft,l=n,o=r;return(0,i.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&c&&(u.top=0,u.left=0,s=t?.pageTop??0,a=t?.pageLeft??0),{width:n,height:r,totalWidth:l,totalHeight:o,scroll:u,top:s,left:a}}function p(e,t,n,r,i,l,o){let a=i.scroll[e]??0,u=r[c[e]],d=o[e]+r.scroll[s[e]]+l,h=o[e]+r.scroll[s[e]]+u-l,f=t-a+r.scroll[s[e]]+o[e]-r[s[e]],p=t-a+n+r.scroll[s[e]]+o[e]-r[s[e]];return f<d?d-f:p>h?Math.max(h-p,d-f):0}function g(e){if(h[e])return h[e];let[t,n]=e.split(" "),r=s[t]||"right",i=u[r];s[n]||(n="center");let l=c[r],o=c[i];return h[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:l,crossSize:o},h[e]}function m(e,t,n,r,i,l,s,u,c,h,f){let{placement:p,crossPlacement:g,axis:m,crossAxis:y,size:v,crossSize:b}=r,x={};x[y]=e[y]??0,"center"===g?x[y]+=((e[b]??0)-(n[b]??0))/2:g!==y&&(x[y]+=(e[b]??0)-(n[b]??0)),x[y]+=l;let w=e[y]-n[b]+c+h,C=e[y]+e[b]-c-h;if(x[y]=(0,o.qE)(x[y],w,C),p===m){let t=u?f[v]:f[d[v]];x[a[m]]=Math.floor(t-e[m]+i)}else x[m]=Math.floor(e[m]+e[v]+i);return x}function y(e,t,n,r,i,l,o,s){let{placement:u,axis:c,size:d}=l;return u===c?Math.max(0,n[c]-(o.scroll[c]??0)-(e[c]+(s?t[c]:0))-(r[c]??0)-r[a[c]]-i):Math.max(0,e[d]+e[c]+(s?t[c]:0)-n[c]-n[d]+(o.scroll[c]??0)-(r[c]??0)-r[a[c]]-i)}function v(e,t){let{top:n,left:r,width:i,height:l}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,l=e.offsetHeight),{top:n,left:r,width:i,height:l}}function b(e,t,n){let{top:r,left:i,width:l,height:o}=n||v(e,t),{scrollTop:s,scrollLeft:a,clientTop:u,clientLeft:c}=document.documentElement;return{top:r+s-u,left:i+a-c,width:l,height:o}}function x(e,t,n,r){let i,l=window.getComputedStyle(e);
6if("fixed"===l.position)i=r||v(e,n);else{i=b(e,n,r);let l=b(t,n),o=window.getComputedStyle(t);l.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,l.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,i.top-=l.top,i.left-=l.left}return i.top-=parseInt(l.marginTop,10)||0,i.left-=parseInt(l.marginLeft,10)||0,i}function w(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var C=n(52554),E=n(55637),S=n(8487),K=n(68418),N=n(7620);let T="undefined"!=typeof document?window.visualViewport:null;function k(e){var t;let{direction:n}=(0,S.Y)(),{arrowSize:i,targetRef:u,overlayRef:c,arrowRef:h,scrollRef:k=c,placement:P="bottom",containerPadding:D=12,shouldFlip:R=!0,boundaryElement:M="undefined"!=typeof document?document.body:null,offset:F=0,crossOffset:A=0,shouldUpdatePosition:L=!0,isOpen:B=!0,onClose:I,maxHeight:_,arrowBoundaryOffset:O=0,getTargetRect:H}=e,[z,V]=(0,N.useState)(null),W=[L,P,c.current,u.current,h?.current,k.current,D,R,M,F,A,B,n,_,O,i],U=(0,N.useRef)(T?.scale);(0,N.useEffect)(()=>{B&&(U.current=T?.scale)},[B]);let j=(0,N.useCallback)(()=>{var e;if(!1===L||!B||!c.current||!u.current||!M||T?.scale!==U.current)return;let t=null;if(k.current&&(0,l.ae)(k.current)){let e=(0,l.bq)()?.getBoundingClientRect(),n=k.current.getBoundingClientRect();(t={type:"top",offset:(e?.top??0)-n.top}).offset>n.height/2&&(t.type="bottom",t.offset=(e?.bottom??0)-n.bottom)}let r=c.current;!_&&c.current&&(r.style.top="0px",r.style.bottom="",r.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let C=function(e){let t,n,{placement:r,targetNode:i,overlayNode:u,scrollNode:c,padding:h,shouldFlip:C,boundaryElement:E,offset:S,crossOffset:K,maxHeight:N,arrowSize:T=0,arrowBoundaryOffset:k=0,targetRect:P}=e,D="undefined"!=typeof document?window.visualViewport:null,R=u instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!w(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!w(t);)t=t.parentElement;return t||document.documentElement}(u):document.documentElement,M=R===document.documentElement,F=window.getComputedStyle(R).position,A=M?b(i,!1,P):x(i,R,!1,P);if(!M){let{marginTop:e,marginLeft:t}=window.getComputedStyle(i);A.top+=parseInt(e,10)||0,A.left+=parseInt(t,10)||0}let L=b(u,!0),B={top:parseInt((t=window.getComputedStyle(u)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};L.width+=(B.left??0)+(B.right??0),L.height+=(B.top??0)+(B.bottom??0),c.scrollTop,c.scrollLeft,c.scrollWidth,c.scrollHeight;let I=f(E,D),_=f(R,D);if("BODY"!==E.tagName&&"HTML"!==E.tagName||M)n=("BODY"===E.tagName||"HTML"===E.tagName)&&M?{top:0,left:0,width:0,height:0}:x(E,R,!1);else{let e=v(R,!1);n={top:-(e.top-I.top),left:-(e.left-I.left),width:0,height:0}}return function(e,t,n,r,i,l,u,c,h,f,v,b,x,w,C,E,S,K){var N,T,k;let P,D,R,M=g(e),{size:F,crossAxis:A,crossSize:L,placement:B,crossPlacement:I}=M,_=m(t,c,n,M,v,b,f,x,C,E,h),O=v,H=y(c,f,t,i,l+v,M,h,S);if(u&&n[F]>H){let e=g(`${a[B]} ${I}`),r=m(t,c,n,e,v,b,f,x,C,E,h);y(c,f,t,i,l+v,e,h,S)>H&&(M=e,_=r,O=v)}let z="bottom";"top"===M.axis?"top"===M.placement?z="top":"bottom"===M.placement&&(z="bottom"):"top"===M.crossAxis&&("top"===M.crossPlacement?z="bottom":"bottom"===M.crossPlacement&&(z="top"));let V=p(A,_[A],n[L],c,h,l,f);_[A]+=V;let W=(N=_,T=n.height,k=z,P=(null!=N.top?N.top:h[d.height]-(N.bottom??0)-T)-(h.scroll.top??0),D=S?f.top:0,R={top:Math.max(c.top+D,(K?.offsetTop??c.top)+D),bottom:Math.min(c.top+c.height+D,(K?.offsetTop??0)+(K?.height??0))},"top"!==k?Math.max(0,R.bottom-P-((i.top??0)+(i.bottom??0)+l)):Math.max(0,P+T-R.top-((i.top??0)+(i.bottom??0)+l)));w&&w<W&&(W=w),n.height=Math.min(n.height,W),V=p(A,(_=m(t,c,n,M,O,b,f,x,C,E,h))[A],n[L],c,h,l,f),_[A]+=V;let U={},j=t[A]-_[A]-i[s[A]],q=j+.5*t[L],$=C/2+E,J="left"===s[A]?(i.left??0)+(i.right??0):(i.top??0)+(i.bottom??0),Y=n[L]-J-C/2-E,G=t[A]+C/2-(_[A]+i[s[A]]),Q=t[A]+t[L]-C/2-(_[A]+i[s[A]]),X=(0,o.qE)(q,G,Q);U[A]=(0,o.qE)(X,$,Y),({placement:B,crossPlacement:I}=M),C?j=U[A]:"right"===I?j+=t[L]:"center"===I&&(j+=t[L]/2);let Z="left"===B||"top"===B?n[F]:0,ee={x:"top"===B||"bottom"===B?j:Z,y:"left"===B||"right"===B?j:Z};return{position:_,maxHeight:W,arrowOffsetLeft:U.left,arrowOffsetTop:U.top,placement:B,triggerAnchorPoint:ee}}(r,A,L,0,B,h,C,I,_,n,S,K,!!F&&"static"!==F,N,T,k,(0,l.sD)(E,R),D)}({placement:(e=P,"rtl"===n?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")),overlayNode:c.current,targetNode:u.current,scrollNode:k.current||c.current,padding:D,shouldFlip:R,boundaryElement:M,offset:F,crossOffset:A,maxHeight:_,arrowSize:i??(h?.current?v(h.current,!0).width:0),arrowBoundaryOffset:O,targetRect:H?.(u.current)});if(!C.position)return;r.style.top="",r.style.bottom="",r.style.left="",r.style.right="",Object.keys(C.position).forEac
6h(e=>r.style[e]=C.position[e]+"px"),r.style.maxHeight=null!=C.maxHeight?C.maxHeight+"px":"";let E=(0,l.bq)();if(t&&E&&k.current){let e=E.getBoundingClientRect(),n=k.current.getBoundingClientRect(),r=e[t.type]-n[t.type];k.current.scrollTop+=r-t.offset}V(C)},W);(0,E.N)(j,W),t=j,(0,E.N)(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t]),(0,K.w)({ref:c,onResize:j}),(0,K.w)({ref:u,onResize:j});let q=(0,N.useRef)(!1);(0,E.N)(()=>{let e,t=()=>{q.current=!0,clearTimeout(e),e=setTimeout(()=>{q.current=!1},500),j()},n=()=>{q.current&&t()};T?.addEventListener("resize",t),T?.addEventListener("scroll",n);let i=(0,r.W2)((0,l.vK)(window),"scroll",n);return()=>{T?.removeEventListener("resize",t),T?.removeEventListener("scroll",n),i()}},[j]);let $=(0,N.useCallback)(()=>{q.current||I?.()},[I,q]);return(0,C.o)({triggerRef:u,isOpen:B,onClose:I&&$}),{overlayProps:{style:{position:z?"absolute":"fixed",top:z?void 0:0,left:z?void 0:0,zIndex:1e5,...z?.position,maxHeight:z?.maxHeight??"100vh"}},placement:z?.placement??null,triggerAnchorPoint:z?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:z?.arrowOffsetLeft,top:z?.arrowOffsetTop}},updatePosition:j}}},55405:(e,t,n)=>{n.d(t,{A:()=>T,n:()=>K});var r=n(18583),i=n(70701),l=n(13331),o=n(91549),s=n(54454),a=n(64495),u=n(80059),c=n(13824),d=n(51411),h=n(7620),f=n(72893),p=n(88249),g=n(52017),m=n(1411),y=n(67474),v=n(1757),b=n(15684),x=n(10091),w=n(36549),C=n(55637),E=n(8487),S=n(68418);let K=(0,h.createContext)(null),N=(0,h.createContext)(null),T=(0,h.forwardRef)(function(e,t){[e,t]=(0,r.JT)(e,t,K);let n=(0,h.useContext)(l.RG),i=(0,b.T)(e),o=null==e.isOpen&&null==e.defaultOpen&&n?n:i,s=(0,x.O)(t,o.isOpen),a=e.isExiting||!e.shouldSkipAnimation&&s||!1,u=(0,w.m_)(),{direction:c}=(0,E.Y)();if(u){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),h.createElement(h.Fragment,null,t)}return!o||o.isOpen||a?h.createElement(k,{...e,triggerRef:e.triggerRef,state:o,popoverRef:t,isExiting:a,dir:c}):null});function k({state:e,isExiting:t,UNSTABLE_portalContainer:n,clearContexts:l,...b}){let w=(0,h.useRef)(null),E=(0,h.useRef)(null),K=(0,h.useContext)(N),T=K&&"SubmenuTrigger"===b.trigger,{popoverProps:k,underlayProps:P,arrowProps:D,placement:R,triggerAnchorPoint:M}=function(e,t){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:l,isKeyboardDismissDisabled:f,shouldCloseOnInteractOutside:p,...g}=e,m="SubmenuTrigger"===g.trigger,{overlayProps:y,underlayProps:v}=(0,c.e)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!l||m,isKeyboardDismissDisabled:f,shouldCloseOnInteractOutside:p},i??r),{overlayProps:b,arrowProps:x,placement:w,triggerAnchorPoint:C}=(0,s.v)({...g,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:l&&!m?t.close:null,getTargetRect:g.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});(0,d.H)({isDisabled:l||!t.isOpen}),(0,h.useEffect)(()=>{if(t.isOpen&&r.current)if(l)return(0,o.O)(i?.current??r.current);else return(0,o.h)([i?.current??r.current],{shouldUseInert:!0})},[l,t.isOpen,r,i]);let{focusWithinProps:E}=(0,a.R)(e);return{popoverProps:(0,u.v)(y,b,E),arrowProps:x,underlayProps:v,placement:w,triggerAnchorPoint:C}}({...b,offset:b.offset??8,arrowRef:w,groupRef:T?K:E},e),F=b.popoverRef,A=(0,x._)(F,!!R),L=b.isEntering||!b.shouldSkipAnimation&&A||!1,B=(0,r.Sl)({...b,defaultClassName:"react-aria-Popover",values:{trigger:b.trigger||null,placement:R,isEntering:L,isExiting:t}}),I=!b.isNonModal||"SubmenuTrigger"===b.trigger||"PreviewTrigger"===b.trigger,[_,O]=(0,h.useState)("PreviewTrigger"===b.trigger);(0,C.N)(()=>{F.current&&O(I&&!F.current.querySelector("[role=dialog]"))},[F,I]),(0,h.useEffect)(()=>{_&&"PreviewTrigger"!==b.trigger&&("SubmenuTrigger"!==b.trigger||"pointer"!==(0,y.ME)())&&F.current&&!(0,v.ae)(F.current)&&(0,m.l)(F.current)},[_,F,b.trigger]);let H=(0,h.useMemo)(()=>{let e=B.children;if(l)for(let t of l)e=h.createElement(t.Provider,{value:null},e);return e},[B.children,l]),[z,V]=(0,h.useState)(null),W=(0,h.useCallback)(()=>{b.triggerRef.current&&V(b.triggerRef.current.getBoundingClientRect().width+"px")},[b.triggerRef]);(0,C.N)(W,[W]),(0,S.w)({ref:B.style?.["--trigger-width"]?void 0:b.triggerRef,onResize:W});let U={...k.style,"--trigger-anchor-point":M?`${M.x}px ${M.y}px`:void 0,...B.style,"--trigger-width":B.style?.["--trigger-width"]||z},j=h.createElement(r.tT.div,{...(0,u.v)((0,g.$)(b,{global:!0}),k),...B,id:_?b.id:void 0,role:_?"dialog":void 0,tabIndex:_?-1:void 0,"aria-label":b["aria-label"],"aria-labelledby":b["aria-labelledby"],ref:F,slot:b.slot||void 0,style:U,dir:b.dir,"data-trigger":b.trigger,"data-placement":R,"data-entering":L||void 0,"data-exiting":t||void 0},!b.isNonModal&&h.createElement(f.R,{onDismiss:e.close}),h.createElement(i.J.Provider,{value:{...D,placement:R,ref:w}},H),h.createElement(f.R,{onDismiss:e.close}));return T?h.createElement(p.hJ,{...b,shouldContainFocus:_&&"PreviewTrigger"!==b.trigger,isExiting:t,portalContainer:n??K?.current??void 0},j):h.createElement(p.hJ,{...b,shouldContainFocus:_&&"PreviewTrigger"!==b.trigger,isExiting:t,portalContainer:n},!b.isNonModal&&e.isOpen&&h.createElement("div",{"data-testid":"underlay",...P,style:{position:"fixed",inset:0}}),h.createElement("div",{ref:E,style:{display:"contents"}},h.createElement(N.Provider,{value:E},j)))}},56153:(e,t,n)=>{n.d(t,{R:()=>o});var r=n(84387),i=n(62676),l=n(7620);function o(e){let{selectionMode:t="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:o,selectionBehavior:a="toggle",disabledBehavior:u="all"}=e,c=(0,l.useRef)(!1),[,d]=(0,l.useState)(!1),h=(0,l.useRef)(null),f=(0,l.useRef)(null),[,p]=(0,l.useState)(null),g=(0,l.useMemo)(()=>s(e.selectedKeys),[e.selectedKeys]),m=(0,l.useMemo)(()=>s(e.defaultSelectedKeys,new(0,r.L)),[e.defaultSelectedKeys]),[y,v]=(0,i.P)(g,m,e.onSelectionChange),b=(0,l.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[x,w]=(0,l.useState)(a);"replace"===a&&"toggle"===x&&"object"==typeof y&&0===y.size&&w("replace");let C=(0,l.useRef)(a);return(0,l.useEffect)(()=>{a!==C.current&&(w(a),C.current=a)},[a]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:x,setSelectionBehavior:w,get isFocused(){return c.current},setFocused(e){c.current=e,d(e)},get focusedKey(){return h.current},get childFocusStrategy(){return f.current},setFocusedKey(e,t="first"){h.current=e,f.current=t,p(e)},selectedKeys:y,setSelectedKeys(e){(o||!function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(e,y))&&v(e)},disabledKeys:b,disabledBehavior:u}}function s(e,t){return e?"all"===e?"all":new(0,r.L)(e):t}}
6,57152:(e,t,n)=>{n.d(t,{n:()=>o});var r=n(2875);class i{constructor(e){this.ref=e}getItemRect(e){let t=this.ref.current;if(!t)return null;let n=null!=e?(0,r.au)(this.ref,e):null;if(!n)return null;let i=t.getBoundingClientRect(),l=n.getBoundingClientRect();return{x:l.left-i.left-t.clientLeft+t.scrollLeft,y:l.top-i.top-t.clientTop+t.scrollTop,width:l.width,height:l.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.clientWidth??0,height:e?.clientHeight??0}}}var l=n(6482);class o{constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new i(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new i(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!=="selection"}findNextNonDisabled(e,t,n=!1){let r=e;for(;null!=r;){let e=this.collection.getItem(r);if(e?.type==="item"&&(n||!this.isDisabled(e)))return r;r=t(r)}return null}getNextKey(e,t){let n=e;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,e=>this.collection.getKeyAfter(e),t?.includeDisabled)}getPreviousKey(e,t){let n=e;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,e=>this.collection.getKeyBefore(e),t?.includeDisabled)}findKey(e,t,n){let r=e,i=this.layoutDelegate.getItemRect(r);if(!i||null==r)return null;let l=i;do{if(null==(r=t(r)))break;i=this.layoutDelegate.getItemRect(r)}while(i&&n(l,i)&&null!=r);return r}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}isReversed(e){let t=this.getNextKey(e),n=(0,r.au)(this.ref,e);if(null!=t){let e=(0,r.au)(this.ref,t);return!!n&&!!e&&n.getBoundingClientRect().top>e.getBoundingClientRect().top}let i=this.getPreviousKey(e);if(null!=i){let e=(0,r.au)(this.ref,i);return!!n&&!!e&&e.getBoundingClientRect().top>n.getBoundingClientRect().top}return!1}getKeyBelow(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getPreviousKey(e,t):this.getNextKey(e,t)}getKeyAbove(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getNextKey(e,t):this.getPreviousKey(e,t)}getNextColumn(e,t,n){return t?this.getPreviousKey(e,n):this.getNextKey(e,n)}getKeyRightOf(e,t){let n="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";if(this.layoutDelegate[n])return e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[n](e),t?.includeDisabled);if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"rtl"===this.direction,t);else return this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction,t),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction,t):null}getKeyLeftOf(e,t){let n="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";if(this.layoutDelegate[n])return e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[n](e),t?.includeDisabled);if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"ltr"===this.direction,t);else return this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction,t),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction,t):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);
6if(!n)return null;let r=this.isReversed(e);if(t&&!(0,l.o)(t))return this.getFirstKey();let i=e;if("horizontal"===this.orientation){let e=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>e&&null!=i;)n=null==(i=this.getKeyAbove(i))?null:this.layoutDelegate.getItemRect(i)}else{let e=this.layoutDelegate.getVisibleRect(),t=r?n.y-e.height:Math.max(0,n.y+n.height-e.height);for(;n&&n.y>t&&null!=i;)n=null==(i=this.getKeyAbove(i))?null:this.layoutDelegate.getItemRect(i)}return i??(r?this.getLastKey():this.getFirstKey())}getKeyPageBelow(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;let r=this.isReversed(e);if(t&&!(0,l.o)(t))return this.getLastKey();let i=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<e&&null!=i;)n=null==(i=this.getKeyBelow(i))?null:this.layoutDelegate.getItemRect(i)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<e&&null!=i;)n=null==(i=this.getKeyBelow(i))?null:this.layoutDelegate.getItemRect(i)}return i??(r?this.getFirstKey():this.getLastKey())}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=t||this.getFirstKey();for(;null!=r;){let t=n.getItem(r);if(!t)break;let i=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(i,e))return r;r=this.getNextKey(r)}return null}}},57178:(e,t,n)=>{n.d(t,{$:()=>c});var r=n(7620);let i={prefix:String(Math.round(1e10*Math.random())),current:0},l=(r.createContext(i),r.createContext(!1));function o(){return!1}function s(){return!0}function a(e){return()=>{}}"undefined"!=typeof window&&window.document&&window.document.createElement,new WeakMap;r.useId;let u=new Map;function c(e,t,n=!0){let i="function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(a,o,s):(0,r.useContext)(l);return r.useMemo(()=>{if(void 0!==t)return t;if(!i){if(n&&u.has(e))return u.get(e);try{let t=document.documentElement,r=getComputedStyle(t).getPropertyValue(e).trim()||void 0;return n&&u.set(e,r),r}catch{return}}},[e,t,i,n])}},58089:(e,t,n)=>{n.d(t,{I:()=>l});var r=n(1757),i=n(7620);function l(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:l}=e,o=(0,i.useRef)({search:"",timeout:void 0});return(0,i.useEffect)(()=>{let e=o.current.timeout;return()=>{clearTimeout(e)}},[o]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{if(o.current.search.length>0&&" "===e.key){if(e.preventDefault(),"continuePropagation"in e&&(!("continuePropagation"in e)||e.isPropagationStopped())||e.stopPropagation(),o.current.search+=" ",null!=t.getKeyForSearch){let e=t.getKeyForSearch(o.current.search,n.focusedKey);null==e&&(e=t.getKeyForSearch(o.current.search)),null!=e&&(n.setFocusedKey(e),l&&l(e))}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},1e3)}}:void 0,onKeyDown:t.getKeyForSearch?e=>{var i;let s=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(s&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&(0,r.sD)(e.currentTarget,(0,r.wt)(e))&&(0!==o.current.search.length||" "!==s)){if(o.current.search+=s,null!=t.getKeyForSearch){let r=t.getKeyForSearch(o.current.search,n.focusedKey);if(null==r&&(r=t.getKeyForSearch(o.current.search)),null!=r)n.setFocusedKey(r),l&&l(r),e.preventDefault(),"continuePropagation"in e||e.stopPropagation();else{o.current.search="",clearTimeout(o.current.timeout),o.current.timeout=void 0;return}}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},1e3)}}:void 0}}}},58422:(e,t,n)=>{n.d(t,{_:()=>o});var r=n(89850),i=n(30255),l=n(7620);function o(e,t,n,o){let s=(0,i.J)(n),a=null==n;(0,l.useEffect)(()=>{if(!a&&null!=e.current)return(0,r.W2)(e.current,t,s,o)},[e,t,o,a])}},58437:(e,t,n)=>{n.d(t,{Q:()=>l});var r=n(8487);let i=new Map;function l(e){let{locale:t}=(0,r.Y)(),n=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(i.has(n))return i.get(n);let l=new Intl.Collator(t,e);return i.set(n,l),l}},62847:(e,t,n)=>{n.d(t,{B:()=>s,s:()=>a});var r=n(80059),i=n(64495),l=n(7620);let o={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function s(e={}){let{style:t,isFocusable:n}=e,[r,a]=(0,l.useState)(!1),{focusWithinProps:u}=(0,i.R)({isDisabled:!n,onFocusWithinChange:e=>a(e)}),c=(0,l.useMemo)(()=>r?t:t?{...o,...t}:o,[r]);return{visuallyHiddenProps:{...u,style:c}}}function a(e){let{children:t,elementType:n="div",isFocusable:i,style:o,...a}=e,{visuallyHiddenProps:u}=s(e);return l.createElement(n,(0,r.v)(a,u),t)}},65070:(e,t,n)=>{n.d(t,{Y:()=>l});var r=n(89693),i=n(84387);class l{constructor(e,t,n){this.collection=e,this.state=t,this.allowsCellSelection=n?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=n?.layoutDelegate||null,this.fullCollection=n?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if("none"===this.state.selectionMode)return!1;let t=this.getKey(e);return null!=t&&("all"===this.state.selectedKeys?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;
6if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&0>(0,r.o3)(this.collection,n,e))&&(e=n)}return e?.key??null}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&(0,r.o3)(this.collection,n,e)>0)&&(e=n)}return e?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let n=this.getKey(e);if(null!=n){if("all"===this.state.selectedKeys)t=new(0,i.L)([n],n,n);else{let e=this.state.selectedKeys,r=e.anchorKey??n;for(let l of(t=new(0,i.L)(e,r,n),this.getKeyRange(r,e.currentKey??n)))t.delete(l);for(let e of this.getKeyRange(n,r))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let n=this.collection.getItem(e),i=this.collection.getItem(t);return n&&i?0>=(0,r.o3)(this.collection,n,i)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let n=[],r=e;for(;null!=r;){let e=this.collection.getItem(r);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&n.push(r),r===t)return n;r=this.collection.getKeyAfter(r)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;t&&"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e))return void this.replaceSelection(e);let t=this.getKey(e);if(null==t)return;let n=new(0,i.L)("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),this.disallowEmptySelection&&0===n.size||this.state.setSelectedKeys(n)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let n=this.canSelectItem(t)?new(0,i.L)([t],t,t):new(0,i.L);this.state.setSelectedKeys(n)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new(0,i.L);for(let n of e){let e=this.getKey(n);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=this.fullCollection??this.collection,t=[],n=i=>{for(;null!=i;){if(this.canSelectItemIn(i,e)){let l=e.getItem(i);l?.type==="item"&&t.push(i),l?.hasChildNodes&&(this.allowsCellSelection||"item"!==l.type)&&n((0,r.ue)((0,r.iQ)(l,e))?.key??null)}i=e.getKeyAfter(i)}};return n(e.getFirstKey()),t}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new(0,i.L))}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,t){if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let n=t.getItem(e);return!(!n||n?.props?.isDisabled)&&("cell"!==n.type||!!this.allowsCellSelection)}isDisabled(e){let t=this.collection.getItem(e);return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!t?.props?.isDisabled)&&t?.props?.disabledBehavior!=="selection"}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(e){return new l(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}},67878:(e,t,n)=>{n.d(t,{aF:()=>N,mH:()=>T});var r=n(18583),i=n(13331),l=n(91549),o=n(13824),s=n(80059),a=n(88249),u=n(51411),c=n(7620),d=n(72893),h=n(52017),f=n(6482),p=n(64923),g=n(15684),m=n(10091),y=n(18109),v=n(69874),b=n(1757),x=n(21304),w=n(894);
6let C="undefined"!=typeof document&&window.visualViewport;function E(){return{width:C?Math.min(C.width*C.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:C?C.height*C.scale:document.documentElement.clientHeight}}let S=(0,c.createContext)(null),K=(0,c.createContext)(null),N=(0,c.forwardRef)(function(e,t){if((0,c.useContext)(K))return c.createElement(P,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:l,onOpenChange:o,children:s,isEntering:a,isExiting:u,UNSTABLE_portalContainer:d,shouldCloseOnInteractOutside:h,...f}=e;return c.createElement(T,{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:l,onOpenChange:o,isEntering:a,isExiting:u,UNSTABLE_portalContainer:d,shouldCloseOnInteractOutside:h},c.createElement(P,{...f,modalRef:t},s))}),T=(0,c.forwardRef)(function(e,t){[e,t]=(0,r.JT)(e,t,S);let n=(0,c.useContext)(i.RG),l=(0,g.T)(e),o=null==e.isOpen&&null==e.defaultOpen&&n?n:l,s=(0,v.U)(t),a=(0,c.useRef)(null),u=(0,m.O)(s,o.isOpen),d=(0,m.O)(a,o.isOpen),h=u||d||e.isExiting||!1,f=(0,y.wR)();return(o.isOpen||h)&&!f?c.createElement(k,{...e,state:o,isExiting:h,overlayRef:s,modalRef:a}):null});function k({UNSTABLE_portalContainer:e,...t}){let n,d,p=t.modalRef,{state:g}=t,{modalProps:v,underlayProps:S}=function(e,t,n){let{overlayProps:r,underlayProps:i}=(0,o.e)({...e,isOpen:t.isOpen,onClose:t.close},n);return(0,u.H)({isDisabled:!t.isOpen}),(0,a.Se)(),(0,c.useEffect)(()=>{if(t.isOpen&&n.current)return(0,l.h)([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:(0,s.v)(r),underlayProps:i}}(t,g,p),N=(0,m._)(t.overlayRef)||t.isEntering||!1,T=(0,r.Sl)({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:N,isExiting:t.isExiting,state:g}}),k=function(){let e=(0,y.wR)(),[t,n]=(0,c.useState)(()=>e?{width:0,height:0}:E());return(0,c.useEffect)(()=>{let e,t=e=>{n(t=>e.width===t.width&&e.height===t.height?t:e)},r=()=>{C&&C.scale>1||t(E())},i=n=>{C&&C.scale>1||(0,w.o)((0,b.wt)(n))&&(e=requestAnimationFrame(()=>{let e=(0,b.bq)();e&&(0,w.o)(e)||t({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return t(E()),(0,x.un)()&&(0,x.Tc)()&&window.addEventListener("blur",i,!0),C?C.addEventListener("resize",r):window.addEventListener("resize",r),()=>{cancelAnimationFrame(e),(0,x.un)()&&(0,x.Tc)()&&window.removeEventListener("blur",i,!0),C?C.removeEventListener("resize",r):window.removeEventListener("resize",r)}},[]),t}();if("undefined"!=typeof document){let e=(0,f.o)(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,r=e.getBoundingClientRect().height%1;n=e.scrollWidth-t,d=e.scrollHeight-r}let P={...T.style,"--visual-viewport-width":k.width+"px","--visual-viewport-height":k.height+"px","--page-width":void 0!==n?n+"px":void 0,"--page-height":void 0!==d?d+"px":void 0};return c.createElement(a.hJ,{isExiting:t.isExiting,portalContainer:e},c.createElement(r.tT.div,{...(0,s.v)((0,h.$)(t,{global:!0}),S),...T,style:P,ref:t.overlayRef,"data-entering":N||void 0,"data-exiting":t.isExiting||void 0},c.createElement(r.Kq,{values:[[K,{modalProps:v,modalRef:p,isExiting:t.isExiting,isDismissable:t.isDismissable}],[i.RG,g]]},T.children)))}function P(e){let{modalProps:t,modalRef:n,isExiting:l,isDismissable:o}=(0,c.useContext)(K),a=(0,c.useContext)(i.RG),u=(0,c.useMemo)(()=>(0,p.P)(e.modalRef,n),[e.modalRef,n]),f=(0,v.U)(u),g=(0,m._)(f),y=(0,r.Sl)({...e,defaultClassName:"react-aria-Modal",values:{isEntering:g,isExiting:l,state:a}});return c.createElement(r.tT.div,{...(0,s.v)((0,h.$)(e,{global:!0}),t),...y,ref:f,"data-entering":g||void 0,"data-exiting":l||void 0},o&&c.createElement(d.R,{onDismiss:a.close}),y.children)}},68418:(e,t,n)=>{n.d(t,{w:()=>l});var r=n(30255),i=n(7620);function l(e){let{ref:t,box:n,onResize:l}=e,o=(0,r.J)(l);(0,i.useEffect)(()=>{let e=t?.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&o()});return t.observe(e,{box:n}
6),()=>{e&&t.unobserve(e)}}},[t,n])}},68641:(e,t,n)=>{n.d(t,{H:()=>h});var r=n(2512),i=n(89850),l=n(80059),o=n(55637),s=n(7620);let a=0,u=new Map;var c=n(56178),d=n(1488);function h(e){let{isDisabled:t,pointerType:n,onLongPressStart:h,onLongPressEnd:f,onLongPress:p,threshold:g=500,accessibilityDescription:m}=e,y=(0,s.useRef)(void 0),{addGlobalListener:v,removeAllGlobalListeners:b}=(0,c.A)(),x=e=>n?e.pointerType===n:"mouse"===e.pointerType||"touch"===e.pointerType,{pressProps:w}=(0,d.d)({isDisabled:t,onPressStart(e){e.continuePropagation(),x(e)&&(h&&h({...e,type:"longpressstart"}),y.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),v(e.target,"click",e=>e.preventDefault(),{once:!0}),(0,i.TW)(e.target).activeElement!==e.target&&(0,r.e)(e.target),p&&p({...e,type:"longpress"}),y.current=void 0},g),"touch"===e.pointerType&&v(e.target,"contextmenu",e=>e.preventDefault(),{once:!0}),v((0,i.mD)(e.target),"pointerup",()=>{setTimeout(()=>{b()},100)},{once:!0}))},onPressEnd(e){y.current&&clearTimeout(y.current),f&&x(e)&&f({...e,type:"longpressend"})}}),C=function(e){let[t,n]=(0,s.useState)();return(0,o.N)(()=>{if(!e)return;let t=u.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${a++}`;n(r);let i=document.createElement("div");i.id=r,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},u.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),u.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(p&&!t?m:void 0);return{longPressProps:(0,l.v)(w,C)}}},70701:(e,t,n)=>{n.d(t,{J:()=>o,k:()=>s});var r=n(18583),i=n(52017),l=n(7620);let o=(0,l.createContext)({placement:"bottom"}),s=(0,l.forwardRef)(function(e,t){[e,t]=(0,r.JT)(e,t,o);let n=e.placement,s={position:"absolute",transform:"top"===n||"bottom"===n?"translateX(-50%)":"translateY(-50%)"};null!=n&&(s[n]="100%");let a=(0,r.Sl)({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});a.style&&Object.keys(a.style).forEach(e=>void 0===a.style[e]&&delete a.style[e]);let u=(0,i.$)(e);return l.createElement(r.tT.div,{...u,...a,style:{...s,...a.style},ref:t,"data-placement":n})})},71283:(e,t,n)=>{e.exports=n(28190)},71620:(e,t,n)=>{n.d(t,{v:()=>o});var r=n(7620);let i=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,l={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,l);return l},l=e=>{let t=(e=>e?i(e):i)(e),n=e=>(function(e,t=e=>e){let n=r.useSyncExternalStore(e.subscribe,r.useCallback(()=>t(e.getState()),[e,t]),r.useCallback(()=>t(e.getInitialState()),[e,t]));return r.useDebugValue(n),n})(t,e);return Object.assign(n,t),n},o=e=>e?l(e):l},72335:(e,t,n)=>{n.d(t,{n:()=>s});var r=n(25638),i=n(30255),l=n(55637),o=n(7620);function s(e,t){let{collection:n,onLoadMore:s,scrollOffset:a=1,direction:u="end"}=e,c=(0,o.useRef)(null),d=(0,i.J)(e=>{for(let t of e)t.isIntersecting&&s&&s()});(0,l.N)(()=>{if(t.current){let e=100*a,n="start"===u?`${e}% 0px 0px 0px`:`0px ${e}% ${e}% ${e}%`;c.current=new IntersectionObserver(d,{root:(0,r.m)(t?.current),rootMargin:n}),c.current.observe(t.current)}return()=>{c.current&&c.current.disconnect()}},[n,t,a,u])}},72893:(e,t,n)=>{n.d(t,{R:()=>a});var r={};r={"ar-AE":{dismiss:`\u{62A}\u{62C}\u{627}\u{647}\u{644}`},"bg-BG":{dismiss:`\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}`},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:`Schlie\xdfen`},"el-GR":{dismiss:`\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}`},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:`L\xf5peta`},"fi-FI":{dismiss:`Hylk\xe4\xe4`},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:`\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}`},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:`Elutas\xedt\xe1s`},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:`\u{9589}\u{3058}\u{308B}`},"ko-KR":{dismiss:`\u{BB34}\u{C2DC}`},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:`Ner\u{101}
6d\u{12B}t`},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:`\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}`},"sk-SK":{dismiss:`Zru\u{161}i\u{165}`},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:`\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}`},"zh-CN":{dismiss:`\u{53D6}\u{6D88}`},"zh-TW":{dismiss:`\u{95DC}\u{9589}`}};var i=n(73077),l=n(27810),o=n(62847),s=n(7620);function a(e){var t;let{onDismiss:n,...a}=e,u=(0,l.o)((t=r)&&t.__esModule?t.default:t,"@react-aria/overlays"),c=(0,i.b)(a,u.format("dismiss"));return s.createElement(o.s,null,s.createElement("button",{...c,tabIndex:-1,onClick:()=>{n&&n()},style:{width:1,height:1}}))}},73992:(e,t,n)=>{n.d(t,{V:()=>p});var r=n(2512),i=n(1757),l={};l={"ar-AE":{longPressMessage:`\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{627}\u{64B} \u{623}\u{648} \u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Alt + \u{627}\u{644}\u{633}\u{647}\u{645} \u{644}\u{623}\u{633}\u{641}\u{644} \u{644}\u{641}\u{62A}\u{62D} \u{627}\u{644}\u{642}\u{627}\u{626}\u{645}\u{629}`},"bg-BG":{longPressMessage:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt+ \u{441}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{43D}\u{430}\u{434}\u{43E}\u{43B}\u{443}, \u{437}\u{430} \u{434}\u{430} \u{43E}\u{442}\u{432}\u{43E}\u{440}\u{438}\u{442}\u{435} \u{43C}\u{435}\u{43D}\u{44E}\u{442}\u{43E}`},"cs-CZ":{longPressMessage:`Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + \u{161}ipka dol\u{16F} otev\u{159}ete nab\xeddku`},"da-DK":{longPressMessage:`Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen`},"de-DE":{longPressMessage:`Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen`},"el-GR":{longPressMessage:`\u{3A0}\u{3B9}\u{3AD}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3AE} \u{3C0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + \u{3BA}\u{3AC}\u{3C4}\u{3C9} \u{3B2}\u{3AD}\u{3BB}\u{3BF}\u{3C2} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3BF}\u{3AF}\u{3BE}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3BF} \u{3BC}\u{3B5}\u{3BD}\u{3BF}\u{3CD}`},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa`},"et-EE":{longPressMessage:`Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool`},"fi-FI":{longPressMessage:`Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli`},"fr-FR":{longPressMessage:`Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu.`},"he-IL":{longPressMessage:`\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5D0}\u{5D5} \u{5D4}\u{5E7}\u{5E9} Alt + ArrowDown \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E4}\u{5EA}\u{5D5}\u{5D7} \u{5D0}\u{5EA} \u{5D4}\u{5EA}\u{5E4}\u{5E8}\u{5D9}\u{5D8}`},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz`},"it-IT":{longPressMessage:`Premi a lungo o premi Alt + Freccia gi\xf9 per aprire il menu`},"ja-JP":{longPressMessage:`\u{9577}\u{62BC}\u{3057}\u{307E}\u{305F}\u{306F} Alt+\u{4E0B}\u{77E2}\u{5370}\u{30AD}\u{30FC}\u{3067}\u{30E1}\u{30CB}\u{30E5}\u{30FC}\u{3092}\u{958B}\u{304F}`},"ko-KR":{longPressMessage:`\u{AE38}\u{AC8C} \u{B204}\u{B974}\u{AC70}\u{B098} Alt + \u{C544}\u{B798}\u{CABD} \u{D654}\u{C0B4}\u{D45C}\u{B97C} \u{B20C}\u{B7EC} \u{BA54}\u{B274} \u{C5F4}\u{AE30}`},"lt-LT":{longPressMessage:`Nor\u{117}dami atidaryti meniu, nuspaud\u{119} palaikykite arba paspauskite \u{201E}Alt + ArrowDown\u{201C}.`},"lv-LV":{longPressMessage:`Lai atv\u{113}rtu izv\u{113}lni, turiet nospiestu vai nospiediet tausti\u{146}u kombin\u{101}ciju Alt + lejupv\u{113}rst\u{101} bulti\u{146}a`},"nb-NO":{longPressMessage:`Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen`},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:`Naci\u{15B}nij i przytrzymaj lub naci\u{15B}nij klawisze Alt + Strza\u{142}ka w d\xf3\u{142}, aby otworzy\u{107} menu`},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:`Ap\u{103}sa\u{21B}i lung sau ap\u{103}sa\u{21B}i pe Alt + s\u{103}geat\u{103} \xeen jos pentru a deschide meniul`},"ru-RU":{longPressMessage:`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + \u{421}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{43E}\u{442}\u{43A}\u{440}\u{44B}\u{442}\u{44C} \u{43C}\u{435}\u{43D}\u{44E}`},"sk-SK":{longPressMessage:`Ponuku otvor\xedte dlh\xfdm stla\u{10D}en\xedm alebo stla\u{10D}en\xedm kl\xe1vesu Alt + kl\xe1vesu so \u{161}\xedpkou nadol`},"sl-SI":{longPressMessage:`Za odprtje menija pritisnite in dr\u{17E}ite gumb ali pritisnite Alt+pu\u{161}\u{10D}ica navzdol`},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:`H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn`}
6,"tr-TR":{longPressMessage:`Men\xfcy\xfc a\xe7mak i\xe7in uzun bas\u{131}n veya Alt + A\u{15F}a\u{11F}\u{131} Ok tu\u{15F}una bas\u{131}n`},"uk-UA":{longPressMessage:`\u{414}\u{43E}\u{432}\u{433}\u{43E} \u{430}\u{431}\u{43E} \u{437}\u{432}\u{438}\u{447}\u{430}\u{439}\u{43D}\u{43E} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} \u{43A}\u{43E}\u{43C}\u{431}\u{456}\u{43D}\u{430}\u{446}\u{456}\u{44E} \u{43A}\u{43B}\u{430}\u{432}\u{456}\u{448} Alt \u{456} \u{441}\u{442}\u{440}\u{456}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{449}\u{43E}\u{431} \u{432}\u{456}\u{434}\u{43A}\u{440}\u{438}\u{442}\u{438} \u{43C}\u{435}\u{43D}\u{44E}`},"zh-CN":{longPressMessage:`\u{957F}\u{6309}\u{6216}\u{6309} Alt + \u{5411}\u{4E0B}\u{65B9}\u{5411}\u{952E}\u{4EE5}\u{6253}\u{5F00}\u{83DC}\u{5355}`},"zh-TW":{longPressMessage:`\u{9577}\u{6309}\u{6216}\u{6309} Alt+\u{5411}\u{4E0B}\u{9375}\u{4EE5}\u{958B}\u{555F}\u{529F}\u{80FD}\u{8868}`}};var o=n(21304),s=n(80059),a=n(68641),u=n(7620),c=n(69329),d=n(11394),h=n(27810),f=n(4688);function p(e,t,n){var p;let g,{type:m="menu",isDisabled:y,trigger:v="press"}=e,b=(0,c.Bi)(),{triggerProps:x,overlayProps:w}=(0,f.o)({type:m},t,n),C=(e,n,r="first")=>{if(!e||n.isDefaultPrevented())return!1;t.toggle(r)},{keyboardProps:E}=(0,d.d)({isDisabled:y,shortcuts:{Enter:e=>C("longPress"!==v,e,"first")," ":e=>C("longPress"!==v,e,"first"),ArrowDown:e=>C("longPress"!==v,e,"first"),ArrowUp:e=>C("longPress"!==v,e,"last"),"Alt+Enter":e=>C("longPress"===v,e,"first"),"Alt+ ":e=>C("longPress"===v,e,"first"),"Alt+ArrowDown":e=>C(!0,e,"first"),"Alt+ArrowUp":e=>C(!0,e,"last")}}),S=(0,h.o)((p=l)&&p.__esModule?p.default:p,"@react-aria/menu"),{longPressProps:K}=(0,a.H)({isDisabled:y||"longPress"!==v,accessibilityDescription:S.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});delete x.onPress;let{contextMenuProps:N}=function(e){let{onContextMenu:t}=e,n=(0,u.useRef)(!1),{longPressProps:r}=(0,a.H)({onLongPressStart(){n.current=!1},onLongPress(e){n.current?n.current=!1:t?.({target:e.target,x:e.x,y:e.y})}});return t?{contextMenuProps:(0,s.v)((0,o.un)()?r:{},{onContextMenu(e){e.stopPropagation(),e.preventDefault(),n.current=!0;let r=e.currentTarget.getBoundingClientRect();t({target:e.currentTarget,x:e.clientX-r.x,y:e.clientY-r.y})},onKeyDown(e){if((0,o.cX)()&&e.ctrlKey&&"Enter"===e.key){n.current=!1;let r=e.currentTarget;e.stopPropagation(),setTimeout(()=>{if(n.current)n.current=!1;else{let e=r.getBoundingClientRect();t({target:r,x:e.width/2,y:e.height/2})}},10)}}})}:{contextMenuProps:{}}}({onContextMenu(e){let n=e.target.getBoundingClientRect();t.setPoint({x:n.x+e.x,y:n.y+e.y}),t.open()}});if((0,u.useEffect)(()=>{if(t.isOpen&&"contextMenu"===v){let e=e=>{(2===e.button||0===e.button&&!0===e.ctrlKey)&&(0,i.wt)(e)===document.body&&t.close()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}},[t,v]),"press"===v)g={preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||y||((0,r.e)(e.target),t.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||y||((0,r.e)(e.target),t.toggle())},...E};else if("longPress"===v)g={...K,...E};else if("contextMenu"===v){g=N;let{"aria-haspopup":e,"aria-expanded":t,"aria-controls":n,...r}=x;x=r}return{menuTriggerProps:{...x,...g,id:b},menuProps:{...w,"aria-labelledby":b,autoFocus:t.focusStrategy||!0,onClose:t.close}}}},84387:(e,t,n)=>{n.d(t,{L:()=>r});class r extends Set{constructor(e,t,n){super(e),e instanceof r?(this.anchorKey=t??e.anchorKey,this.currentKey=n??e.currentKey):(this.anchorKey=t??null,this.currentKey=n??null)}}},86624:(e,t,n)=>{n.d(t,{p:()=>m});var r=n(53974),i=n(1411),l=n(1757),o=n(2875),s=n(894),a=n(19975),u=n(80059),c=n(43139),d=n(32397),h=n(1488),f=n(69329),p=n(68641),g=n(7620);function m(e){let{id:t,selectionManager:n,key:m,ref:y,shouldSelectOnPressUp:v,shouldUseVirtualFocus:b,focus:x,isDisabled:w,onAction:C,allowsDifferentPressOrigin:E,linkBehavior:S="action"}=e,K=(0,d.rd)();t=(0,f.Bi)(t);let N=e=>{if("keyboard"===e.pointerType&&(0,o.N9)(e))n.toggleSelection(m);else{if("none"===n.selectionMode)return;if(n.isLink(m)){if("selection"===S&&y.current){let t=n.getItemProps(m);K.open(y.current,e,t.href,t.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if("override"===S||"none"===S)return}"single"===n.selectionMode?n.isSelected(m)&&!n.disallowEmptySelection?n.toggleSelection(m):n.replaceSelection(m):e&&e.shiftKey?n.extendSelection(m):"toggle"===n.selectionBehavior||e&&((0,s.B)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?n.toggleSelection(m):n.replaceSelection(m)}};(0,g.useEffect)(()=>{m===n.focusedKey&&n.isFocused&&(b?(0,c.vX)(y.current):x?x():(0,l.bq)()!==y.current&&y.current&&(0,i.l)(y.current))},[y,m,n.focusedKey,n.childFocusStrategy,n.isFocused,b]),w=w||n.isDisabled(m);let T={};b||w?w&&(T.onMouseDown=e=>{e.preventDefault()}):T={tabIndex:m===n.focusedKey?0:-1,onFocus(e){(0,l.wt)(e)===y.current&&n.setFocusedKey(m)}},(0,g.useEffect)(()=>{w&&n.focusedKey===m&&n.setFocusedKey(null)},[n,w,m]);let k=n.isLink(m)&&"override"===S,P=C&&"action"===e.UNSTABLE_itemBehavior,D=n.isLink(m)&&"selection"!==S&&"none"!==S,R=!w&&n.canSelectItem(m)&&!k&&!P,M=(C||D)&&!w,F=M&&("replace"===n.selectionBehavior?!R:!R||n.isEmpty),A=M&&R&&"replace"===n.selectionBehavior,L=F||A,B=(0,g.useRef)(null),I=L&&R,_=(0,g.useRef)(!1),O=(0,g.useRef)(!1),H=n.getItemProps(m),z=e=>{C&&(C(),y.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),D&&y.current&&K.open(y.current,e,H.href,H.routerOptions)},V={ref:y};v?(V.onPressStart=e=>{B.current=e.pointerType,_.current=I,"keyboard"!==e.pointerType||L&&" "!==e.key||N(e)},E?(V.onPressUp=F?void 0:e=>{"mouse"===e.pointerType&&R&&N(e)},V.onPress=F?z:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&R&&N(e)}):V.onPress=e=>{F||A&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||"Enter"===e.key)&&z(e):"keyboard"!==e.pointerType&&R&&N(e)}):(V.onPressStart=e=>{B.current=e.pointerType,_.current=I,O.current=F,!R||("mouse"!==e.pointerType||F)&&("keyboard"!==e.pointerType||M&&" "!==e.key)||N(e)},V.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"ke
6yboard"===e.pointerType&&L&&"Enter"===e.key||"mouse"===e.pointerType&&O.current)&&(L?z(e):R&&N(e))});let W=(0,o.EG)(n.collection);if(T["data-collection"]=W,T["data-key"]=m,V.preventFocusOnPress=b,b&&(V=(0,u.v)(V,{onPressStart(e){"touch"!==e.pointerType&&(n.setFocused(!0),n.setFocusedKey(m))},onPress(e){"touch"===e.pointerType&&(n.setFocused(!0),n.setFocusedKey(m))}})),H)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])H[e]&&(V[e]=(0,r.c)(V[e],H[e]));let{pressProps:U,isPressed:j}=(0,h.d)(V),q=A?e=>{"mouse"===B.current&&(e.stopPropagation(),e.preventDefault(),z(e))}:void 0,{longPressProps:$}=(0,p.H)({isDisabled:!I,onLongPress(e){"touch"===e.pointerType&&(N(e),n.setSelectionBehavior("toggle"))}}),J="none"!==S&&n.isLink(m)?e=>{d.Fe.isOpening||e.preventDefault()}:void 0,Y=(0,u.v)(T,R||F||b&&!w?U:{},I?$:{},{onDoubleClick:q,onDragStartCapture:e=>{"touch"===B.current&&_.current&&e.preventDefault()},onClick:J,id:t},b?{onMouseDown:e=>e.preventDefault()}:void 0),G=e=>{let t=e;for(;t&&t!==y.current;){let e=t.getAttribute("data-collection");if(null!=e)return e!==W;t=t.parentElement}return(0,a.A)(e)},Q=Y.onPointerDown;Y.onPointerDown=e=>{let t=(0,l.wt)(e);if(t&&t!==y.current&&G(t))return void e.stopPropagation();Q?.(e)};let X=Y.onMouseDown;return Y.onMouseDown=e=>{let t=(0,l.wt)(e);if(t&&t!==y.current&&G(t))return void e.stopPropagation();X?.(e)},{itemProps:Y,isPressed:j,isSelected:n.isSelected(m),isFocused:n.isFocused&&n.focusedKey===m,isDisabled:w,allowsSelection:R,hasAction:L}}},87908:(e,t,n)=>{n.d(t,{C7:()=>k,N$:()=>T,Pu:()=>x,n1:()=>g});var r=n(90399),i=n(1411),l=n(1757),o=n(67474),s=n(89850),a=n(21304),u=n(19975),c=n(55637),d=n(7620);let h=d.createContext(null),f="react-aria-focus-scope-restore",p=null;function g(e){var t,n,r,i,u;let g,x,{children:k,contain:P,restoreFocus:D,autoFocus:F}=e,A=(0,d.useRef)(null),L=(0,d.useRef)(null),B=(0,d.useRef)([]),{parentNode:I}=(0,d.useContext)(h)||{},_=(0,d.useMemo)(()=>new R({scopeRef:B}),[B]);(0,c.N)(()=>{let e=I||M.root;if(M.getTreeNode(e.scopeRef)&&p&&!w(p,e.scopeRef)){let t=M.getTreeNode(p);t&&(e=t)}e.addChild(_),M.addNode(_)},[_,I]),(0,c.N)(()=>{let e=M.getTreeNode(B);e&&(e.contain=!!P)},[P]),(0,c.N)(()=>{let e=A.current?.nextSibling,t=[],n=e=>e.stopPropagation();for(;e&&e!==L.current;)t.push(e),e.addEventListener(f,n),e=e.nextSibling;return B.current=t,()=>{for(let e of t)e.removeEventListener(f,n)}},[k]),t=B,n=D,r=P,(0,c.N)(()=>{if(n||r)return;let e=t.current,i=(0,s.TW)(e?e[0]:void 0),o=e=>{let n=(0,l.wt)(e);v(n,t.current)?p=t:b(n)||(p=null)};return i.addEventListener("focusin",o,!1),e?.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),e?.forEach(e=>e.removeEventListener("focusin",o,!1))}},[t,n,r]),i=B,u=P,g=(0,d.useRef)(void 0),x=(0,d.useRef)(void 0),(0,c.N)(()=>{let e=i.current;if(!u){x.current&&(cancelAnimationFrame(x.current),x.current=void 0);return}let t=(0,s.TW)(e?e[0]:void 0),n=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!y(i)||e.isComposing)return;let n=(0,l.bq)(t),r=i.current;if(!r||!v(n,r))return;let o=T(m(r),{tabbable:!0},r);if(!n)return;o.currentNode=n;let a=e.shiftKey?o.previousNode():o.nextNode();a||(o.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,a=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),a&&(C(a,!0),a instanceof(0,s.mD)(a).HTMLInputElement&&a.select())},r=e=>{(!p||w(p,i))&&v((0,l.wt)(e),i.current)?(p=i,g.current=(0,l.wt)(e)):y(i)&&!b((0,l.wt)(e),i)?g.current?C(g.current):p&&p.current&&S(p.current):y(i)&&(g.current=(0,l.wt)(e))},c=e=>{x.current&&cancelAnimationFrame(x.current),x.current=requestAnimationFrame(()=>{let n=(0,o.ME)(),r=("virtual"===n||null===n)&&(0,a.m0)()&&(0,a.H8)(),s=(0,l.bq)(t);if(!r&&s&&y(i)&&!b(s,i)){p=i;let t=(0,l.wt)(e);t&&t.isConnected?(g.current=t,C(g.current)):p.current&&S(p.current)}})};return t.addEventListener("keydown",n,!1),t.addEventListener("focusin",r,!1),e?.forEach(e=>e.addEventListener("focusin",r,!1)),e?.forEach(e=>e.addEventListener("focusout",c,!1)),()=>{t.removeEventListener("keydown",n,!1),t.removeEventListener("focusin",r,!1),e?.forEach(e
6=>e.removeEventListener("focusin",r,!1)),e?.forEach(e=>e.removeEventListener("focusout",c,!1))}},[i,u]),(0,c.N)(()=>()=>{x.current&&cancelAnimationFrame(x.current)},[x]),function(e,t,n){let r=(0,d.useRef)("undefined"!=typeof document?(0,l.bq)((0,s.TW)(e.current?e.current[0]:void 0)):null);(0,c.N)(()=>{let r=e.current,i=(0,s.TW)(r?r[0]:void 0);if(!t||n)return;let o=()=>{(!p||w(p,e))&&v((0,l.bq)(i),e.current)&&(p=e)};return i.addEventListener("focusin",o,!1),r?.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),r?.forEach(e=>e.removeEventListener("focusin",o,!1))}},[e,n]),(0,c.N)(()=>{let r=(0,s.TW)(e.current?e.current[0]:void 0);if(!t)return;let i=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!y(e)||t.isComposing)return;let n=r.activeElement;if(!b(n,e)||!K(e))return;let i=M.getTreeNode(e);if(!i)return;let l=i.nodeToRestore,o=T(r.body,{tabbable:!0});o.currentNode=n;let s=t.shiftKey?o.previousNode():o.nextNode();if(l&&l.isConnected&&l!==r.body||(l=void 0,i.nodeToRestore=void 0),(!s||!b(s,e))&&l){o.currentNode=l;do s=t.shiftKey?o.previousNode():o.nextNode();while(b(s,e));(t.preventDefault(),t.stopPropagation(),s)?C(s,!0):b(l)?C(l,!0):n.blur()}};return n||r.addEventListener("keydown",i,!0),()=>{n||r.removeEventListener("keydown",i,!0)}},[e,t,n]),(0,c.N)(()=>{let n=(0,s.TW)(e.current?e.current[0]:void 0);if(!t)return;let i=M.getTreeNode(e);if(i)return i.nodeToRestore=r.current??void 0,()=>{let r=M.getTreeNode(e);if(!r)return;let i=r.nodeToRestore,o=(0,l.bq)(n);if(t&&i&&(o&&b(o,e)||o===n.body&&K(e))){let t=M.clone();requestAnimationFrame(()=>{if(n.activeElement===n.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected)return void N(n.nodeToRestore);n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&M.getTreeNode(n.scopeRef)){let e=E(n.scopeRef.current,!0);if(e)return void N(e)}n=n.parent}}})}}},[e,t])}(B,D,P),function(e,t){let n=d.useRef(t);(0,d.useEffect)(()=>{if(n.current){p=e;let t=(0,s.TW)(e.current?e.current[0]:void 0);!v((0,l.bq)(t),p.current)&&e.current&&S(e.current)}n.current=!1},[e])}(B,F),(0,d.useEffect)(()=>{let e=(0,l.bq)((0,s.TW)(B.current?B.current[0]:void 0)),t=null;if(v(e,B.current)){for(let n of M.traverse())n.scopeRef&&v(e,n.scopeRef.current)&&(t=n);t===M.getTreeNode(B)&&(p=t.scopeRef)}},[B]),(0,c.N)(()=>()=>{let e=M.getTreeNode(B)?.parent?.scopeRef??null;(B===p||w(B,p))&&(!e||M.getTreeNode(e))&&(p=e),M.removeTreeNode(B)},[B]);let O=(0,d.useMemo)(()=>{var e;return e=B,{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:o,accept:a}=t,u=r||(0,l.bq)((0,s.TW)(n[0]??void 0)),c=n[0].previousElementSibling,d=T(m(n),{tabbable:i,accept:a},n);d.currentNode=v(u,n)?u:c;let h=d.nextNode();return!h&&o&&(d.currentNode=c,h=d.nextNode()),h&&C(h,!0),h},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:o,accept:a}=t,u=r||(0,l.bq)((0,s.TW)(n[0]??void 0)),c=n[n.length-1].nextElementSibling,d=T(m(n),{tabbable:i,accept:a},n);d.currentNode=v(u,n)?u:c;let h=d.previousNode();return!h&&o&&(d.currentNode=c,h=d.previousNode()),h&&C(h,!0),h},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,l=T(m(n),{tabbable:r,accept:i},n);l.currentNode=n[0].previousElementSibling;let o=l.nextNode();return o&&C(o,!0),o},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,l=T(m(n),{tabbable:r,accept:i},n);l.currentNode=n[n.length-1].nextElementSibling;let o=l.previousNode();return o&&C(o,!0),o}}},[]),H=(0,d.useMemo)(()=>({focusManager:O,parentNode:_}),[_,O]);return d.createElement(h.Provider,{value:H},d.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:A}),k,d.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:L}))}function m(e){return e[0].parentElement}function y(e){let t=M.getTreeNode(p);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function v(e,t){return!!e&&!!t&&t.some(t=>(0,l.sD)(t,e))}function b(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of M.traverse(M.getTreeNode(t)))if(n&&v(e,n.current))return!0;return!1}function x(e){return b(e,p)}function w(e,t){let n=M.getTreeNode(t)?.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function C(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,i.l)(e)}catch{}}function E(e,t=!0){let n=e[0].previousElementSibling,r=m(e),i=T(r,{tabbable:t},e);i.currentNode=n;let l=i.nextNode();return t&&!l&&((i=T(r=m(e),{tabbable:!1},e)).currentNode=n,l=i.nextNode()),l}function S(e,t=!0){C(E(e,t))}function K(e){let t=M.getTreeNode(p);for(;t&&t.scopeRef!==e;
6){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function N(e){e.dispatchEvent(new CustomEvent(f,{bubbles:!0,cancelable:!0}))&&C(e)}function T(e,t,n){let i=t?.tabbable?u.A:u.t,o=e?.nodeType===Node.ELEMENT_NODE?e:null,a=(0,s.TW)(o),c=(0,r.H)(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>(0,l.sD)(t?.from,e)||t?.tabbable&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=function(e){if(!e.form)return Array.from((0,s.TW)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(e=>!e.form);let t=e.form.elements.namedItem(e.name),n=(0,s.mD)(e);return t instanceof n.RadioNodeList?Array.from(t).filter(e=>e instanceof n.HTMLInputElement):t instanceof n.HTMLInputElement?[t]:[]}(e);return t.length>0&&!t.some(e=>e.checked)}(e)||"INPUT"===c.currentNode.tagName&&"radio"===c.currentNode.type&&c.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:i(e)&&(!n||v(e,n))&&(!t?.accept||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});return t?.from&&(c.currentNode=t.from),c}function k(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:i,tabbable:o=t.tabbable,wrap:a=t.wrap,accept:u=t.accept}=n,c=i||(0,l.bq)((0,s.TW)(r)),d=T(r,{tabbable:o,accept:u});(0,l.sD)(r,c)&&(d.currentNode=c);let h=d.nextNode();return!h&&a&&(d.currentNode=r,h=d.nextNode()),h&&C(h,!0),h},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:i,tabbable:o=t.tabbable,wrap:a=t.wrap,accept:u=t.accept}=n,c=i||(0,l.bq)((0,s.TW)(r)),d=T(r,{tabbable:o,accept:u});if((0,l.sD)(r,c))d.currentNode=c;else{let e=P(d);return e&&C(e,!0),e??null}let h=d.previousNode();if(!h&&a){d.currentNode=r;let e=P(d);if(!e)return null;h=e}return h&&C(h,!0),h??null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:l=t.accept}=n,o=T(r,{tabbable:i,accept:l}).nextNode();return o&&C(o,!0),o},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:l=t.accept}=n,o=P(T(r,{tabbable:i,accept:l}));return o&&C(o,!0),o??null}}}function P(e){let t,n;do(t=e.lastChild())&&(n=t);while(t);return n}class D{constructor(){this.fastMap=new Map,this.root=new R({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(t??null);if(!r)return;let i=new R({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&v(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){let e=new D;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent?.scopeRef??null,t.nodeToRestore);return e}}class R{constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}}let M=new D},88249:(e,t,n)=>{n.d(t,{Se:()=>f,hJ:()=>h});var r=n(1024),i=n(71498),l=n(87908),o=n(18109),s=n(55637),a=n(16680),u=n(7620),c=n(97509);let d=u.createContext(null);function h(e){let t=(0,o.wR)(),{portalContainer:n=t?null:document.body,isExiting:s}=e,[h,f]=(0,u.useState)(!1),p=(0,u.useMemo)(()=>({contain:h,setContain:f}),[h,f]),{getContainer:g}=(0,a.gX)();if(!e.portalContainer&&g&&(n=g()),!n)return null;let m=e.children;return e.disableFocusManagement||(m=u.createElement(l.n1,{restoreFocus:!0,contain:(e.shouldContainFocus||h)&&!s},m)),m=u.createElement(d.Provider,{value:p},u.createElement(r.N,null,u.createElement(i.gY.Provider,{value:null},m))),c.createPortal(m,n)}function f(){let e=(0,u.useContext)(d),t=e?.setContain;(0,s.N)(()=>{t?.(!0)},[t])}}
6,89693:(e,t,n)=>{function r(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function i(e){var t=e,n=0;!1;let r=0;for(let e of t){if(r===n)return e;r++}}function l(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...o(e,t),t],i=[...o(e,n),n],l=r.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return -1!==l?(t=r[l],n=i[l],t.index-n.index):r.findIndex(e=>e===n)>=0?1:(i.findIndex(e=>e===t),-1)}function o(e,t){let n=[],r=t;for(;r?.parentKey!=null;)(r=e.getItem(r.parentKey))&&n.unshift(r);return n}n.d(t,{iQ:()=>r,o3:()=>l,ue:()=>i})},90399:(e,t,n)=>{n.d(t,{H:()=>o});var r=n(1757),i=n(43995);class l{constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.shadowRoot;if(t){let e=this._doc.createTreeWalker(t,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(this.filter?.acceptNode)return this.filter.acceptNode(e);else if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));let i=t.shadowRoot;if(i){let e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}get currentNode(){return this._currentNode}set currentNode(e){if(!(0,r.sD)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],n=e,i=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,r=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(r),r.currentNode=i,this._currentSetFor.add(r),n=i=e.host}else n=n.parentNode;let l=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(l),l.currentNode=i,this._currentSetFor.add(l),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,r.sD)(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){let t;if("function"==typeof this.filter?t=this.filter(e):this.filter?.acceptNode&&(t=this.filter.acceptNode(e)),t===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let n=this.nextNode();return n&&(this.currentNode=n),n}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){let e;if("function"==typeof this.filter?e=this.filter(t):this.filter?.acceptNode&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let n=this.lastChild();return n&&(this.currentNode=n),n}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function o(e,t,n,r){return(0,i.Nf)()?new l(e,t,n,r):e.createTreeWalker(t,n,r)}}
6,91549:(e,t,n)=>{n.d(t,{O:()=>h,h:()=>d});var r=n(90399),i=n(89850),l=n(1757),o=n(43995);let s="undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype;function a(e){return"true"===e.dataset.liveAnnouncer||void 0!==e.dataset.reactAriaTopLayer}let u=new WeakMap,c=[];function d(e,t){let n=(0,i.mD)(e?.[0]),d=t instanceof n.Element?{root:t}:t,h=d?.root??document.body,f=d?.shouldUseInert&&s,p=new Set(e),g=new Set,m=(e,t)=>{f&&e instanceof n.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof n.HTMLElement&&(e.inert=!1))},y=new Set;if((0,o.Nf)()){let t=h.getRootNode();for(let n of e){let e=n.getRootNode();for(;(0,i.Ng)(e)&&e!==t;)y.add(e),e=e.host.getRootNode()}}let v=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))p.add(t);let t=e=>{if(g.has(e)||p.has(e)||e.parentElement&&g.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of p)if((0,l.sD)(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=(0,r.H)((0,i.TW)(e),e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),o=t(e);if(o===NodeFilter.FILTER_ACCEPT&&b(e),o!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;null!=e;)b(e),e=n.nextNode()}},b=e=>{let t=u.get(e)??0;(f&&e instanceof n.HTMLElement?e.inert:"true"===e.getAttribute("aria-hidden"))&&0===t||(0===t&&m(e,!0),g.add(e),u.set(e,t+1))};c.length&&c[c.length-1].disconnect(),v(h);let x=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...p,...g].some(e=>(0,l.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&a(e)?p.add(e):e instanceof Element&&v(e);if((0,o.Nf)()){for(let e of y)if(!e.isConnected){x.disconnect();break}}}});x.observe(h,{childList:!0,subtree:!0});let w=new Set;if((0,o.Nf)())for(let e of y){let t=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...p,...g].some(e=>(0,l.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&a(e)?p.add(e):e instanceof Element&&v(e);if((0,o.Nf)()){for(let e of y)if(!e.isConnected){x.disconnect();break}}}});t.observe(e,{childList:!0,subtree:!0}),w.add(t)}let C={visibleNodes:p,hiddenNodes:g,observe(){x.observe(h,{childList:!0,subtree:!0})},disconnect(){x.disconnect()}};return c.push(C),()=>{if(x.disconnect(),(0,o.Nf)())for(let e of w)e.disconnect();for(let e of g){let t=u.get(e);null!=t&&(1===t?(m(e,!1),u.delete(e)):u.set(e,t-1))}C===c[c.length-1]?(c.pop(),c.length&&c[c.length-1].observe()):c.splice(c.indexOf(C),1)}}function h(e){let t=c[c.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}},92700:(e,t,n)=>{n.d(t,{pM:()=>K,GQ:()=>m,yq:()=>C,KU:()=>w});var r=n(16470);class i{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(null==this._minInvalidChildIndex||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),null==this.firstChild&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(null==t)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e
6:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}}class l extends i{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof l?this.parentNode.level+ +(this.parentNode.node?.type==="item"):0}getMutableNode(){return null==this.node?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let e=this.nextVisibleSibling,t=this.getMutableNode();if(null!=t&&(t.index=this.index,t.level=this.level,t.parentKey=this.parentNode instanceof l?this.parentNode.node?.key??null:null,t.prevKey=this.previousVisibleSibling?.node?.key??null,t.nextKey=e?.node?.key??null,t.hasChildNodes=!!this.firstChild,t.firstChildKey=this.firstVisibleChild?.node?.key??null,t.lastChildKey=this.lastVisibleChild?.node?.key??null,(null!=t.colSpan||null!=t.colIndex)&&e)){let n=(t.colIndex??t.index)+(t.colSpan??1);null!=e.node&&n!==e.node.colIndex&&(e.getMutableNode().colIndex=n)}}setProps(e,t,n,r,i){let l,{value:o,textValue:s,id:a,...u}=e;if(null==this.node?(l=new n(a??`react-aria-${++this.ownerDocument.nodeId}`),this.node=l):l=this.getMutableNode(),u.ref=t,l.props=u,l.rendered=r,l.render=i,l.value=o,e["aria-label"]&&(l["aria-label"]=e["aria-label"]),l.textValue=s||("string"==typeof u.children?u.children:"")||e["aria-label"]||"",null!=a&&a!==l.key)throw Error("Cannot change the id of an item");null!=u.colSpan&&(l.colSpan=u.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(value){let t="none"===value;if(e.isHidden!==t){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let n=e.previousVisibleSibling,r=e.nextVisibleSibling;n&&e.ownerDocument.markDirty(n),r&&e.ownerDocument.markDirty(r),e.isHidden=t,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class o extends i{constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new l(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||null==e.node)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription||(this.queuedRender=!1,this.updateCollection()),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof l&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof l?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);
6this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(0!==this.dirtyNodes.size&&!this.queuedRender){for(let e of(this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone()),this.subscriptions))e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),this.queuedRender&&e(),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}var s=n(16559),a=n(71498),u=n(36549),c=n(18109),d=n(97509),h=n(7620),f=n(71283);let p=(0,h.createContext)(!1),g=(0,h.createContext)(null);function m(e){if((0,h.useContext)(g))return e.content;let{collection:t,document:n}=function(e){let[t]=(0,h.useState)(()=>new o(e?.()||new(0,r.Wk)));return{collection:v((0,h.useCallback)(e=>t.subscribe(e),[t]),(0,h.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,h.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}(e.createCollection);return h.createElement(h.Fragment,null,h.createElement(u.jZ,null,h.createElement(g.Provider,{value:n},e.content)),h.createElement(y,{render:e.children,collection:t}))}function y({collection:e,render:t}){return t(e)}let v="function"==typeof h.useSyncExternalStore?h.useSyncExternalStore:function(e,t,n){let r=(0,c.wR)(),i=(0,h.useRef)(r);i.current=r;let l=(0,h.useCallback)(()=>i.current?n():t(),[t,n]);return(0,f.useSyncExternalStore)(e,l)},b=(0,h.createContext)(null);function x(e,t,n,i,l,o){"string"==typeof e&&(e=function(e){return class extends r.Pt{static{this.type=e}}}(e));let s=(0,h.useCallback)(r=>{r?.setProps(t,n,e,i,o)},[t,n,i,o,e]),a=(0,h.useContext)(b);if(a){let r=a.ownerDocument.nodesByProps.get(t);return r||((r=a.ownerDocument.createElement(e.type)).setProps(t,n,e,i,o),a.appendChild(r),a.ownerDocument.updateCollection(),a.ownerDocument.nodesByProps.set(t,r)),l?h.createElement(b.Provider,{value:r},l):null}return h.createElement(e.type,{ref:s},l)}function w(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,h.forwardRef)((r,i)=>{let l=(0,h.useContext)(a.gY);if(!(0,h.useContext)(p)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(r,i)}return x(e,r,i,"children"in r?r.children:null,null,e=>h.createElement(a.gY.Provider,{value:l},h.createElement(n,{node:e})))});return r.displayName=t.name,r}function C(e,t,n=E){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,h.forwardRef)((t,i)=>{let l=n(t);return x(e,t,i,null,l,e=>h.createElement(r,{node:e}))??h.createElement(h.Fragment,null)});return i.displayName=t.name,i}function E(e){return(0,s.p)({...e,addIdAndValue:!0})}let S=(0,h.createContext)(null);function K(e){let t=(0,h.useContext)(S),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,i=E({...e,idScope:r,dependencies:n});return(0,h.useContext)(g)&&(i=h.createElement(N,null,i)),t=(0,h.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),h.createElement(S.Provider,{value:t},i)}function N({children:e}){let t=(0,h.useContext)(g),n=(0,h.useMemo)(()=>h.createElement(g.Provider,{value:null},h.createElement(p.Provider,{value:!0},e)),[e]);return(0,c.wR)()?h.createElement(b.Provider,{value:t},n):(0,d.createPortal)(n,t)}},97817:(e,t,n)=>{n.d(t,{Lt:()=>m});let r=(0,n(23479).tv)({defaultVariants:{size:"md",status:"danger",variant:"opaque"},slots:{backdrop:"alert-dialog__backdrop",body:"alert-dialog__body",closeTrigger:"alert-dialog__close-trigger",container:"alert-dialog__container",dialog:"alert-dialog__dialog",footer:"alert-dialog__footer",header:"alert-dialog__header",heading:"alert-dialog__heading",icon:"alert-dialog__icon",trigger:"alert-dialog__trigger"},variants:{size:{cover:{dialog:"alert-dialog__dialog--cover"},lg:{dialog:"alert-dialog__dialog--lg"},md:{dialog:"alert-dialog__dialog--md"},sm:{dialog:"alert-dialog__dialog--sm"},xs:{dialog:"alert-dialog__dialog--xs"}},status:{accent:{icon:"alert-dialog__icon--accent"},danger:{icon:"alert-dialog__icon--danger"},default:{icon:"alert-dialog__icon--default"},success:{icon:"alert-dialog__icon--success"},warning:{icon:"alert-dialog__icon--warning"}},variant:{blur:{backdrop:"alert-dialog__backdrop--blur"},opaque:{backdrop:"alert-dialog__backdrop--opaque"},transparent:{backdrop:"alert-dialog__backdrop--transparent"}}}});var i=n(7620),l=n(13331),o=n(33302),s=n(14700),a=n(67878),u=n(14785),c=n(1329),d=n(52479),h=n(10196),f=n(54568);let p=(0,i.createContext)({}),g=e=>{let{children:t,...n}=e,o=(0,i.useMemo)(()=>({slots:r(),placement:void 0}),[]);return(0,f.jsx)(p,{value:o,children:(0,f.jsx)(l.zM,{"data-slot":"alert-dialog-root",...n,children:t})})},m=Object.assign(g,{Root:g,Trigger:e=>{let{children:t,className:n,...r}=e,{slots:l}=(0,i.use)(p);return(0,f.jsx)(s.o,{children:(0,f.jsx)("div",{className:(0,u.Q)(null==l?void 0:l.trigger,n),"data-slot":"alert-dialog-trigger",role:"button",...r,children:t})})},Backdrop:e=>{let{children:t,className:n,isDismissable:l=!1,isKeyboardDismissDisabled:o=!0,onClick:s,variant:c,...d}=e,{slots:h}=(0,i.use)(p),g=(0,i.useMemo)(()=>r({variant:c}),[c]),m=(0,i.useMemo)(()=>({slots:{...h,...g}}),[h,g]);return(0,f.jsx)(a.mH,{className:(0,u.e)(n,null==g?void 0:g.backdrop()),"data-slot":"alert-dialog-backdrop",isDismissable:l,isKeyboardDismissDisabled:o,onClick:e=>{e.stopPropagation(),null==s||s(e)},...d,children:e=>(0,f.jsxs)(p,{value:m,children:["function"==typeof t?t(e):t," "]})})},Container:e=>{let{children:t,className:n,placement:l="auto",size:o,...s}=e,{slots:c}=(0,i.use)(p),d=(0,i.useMemo)(()=>r({size:o}),[o]),h=(0,i.useMemo)(()=>({placement:l,slots:{...c,...d}}),[l,c,d]);return(0,f.jsx)(a.aF,{className:(0,u.e)(n,null==d?void 0:d.container()),"data-placement":l,"data-slot":"alert-dialog-container",...s,children:e=>(0,f.jsx)(p,{value:h,children:"function"==typeof t?t(e):t})})},Dialog:e=>{let{children:t,className:n,...r}=e,{placement:o,slots:s}=(0,i.use)(p);return(0,f.jsx)(l.lG,{className:(0,u.Q)(null==s?void 0:s.dialog,n),"data-placement":o,"data-slot":"alert-dialog-dialog",role:"alertdialog",...r,children:t})},Header:e=>{let{children:t,className:n,...r}=e,{slots:l}=(0,i.use)(p);return(0,f.jsx)("div",{className:(0,u.Q)(null==l?void 0:l.header,n),"data-slot":"alert-dialog-header",...r,children:t})},Heading:e=>{let{children:t,className:n,...r}=e,{slots:l}=(0,i.use)(p);return(0,f.jsx)(o.D,{className:(0,u.Q)(null==l?void 0:l.heading,n),"data-slot":"alert-dialog-heading",slot:"title",...r,children:t})},Body:e=>{let{children:t,className:n,...r}=e,{slots:l}=(0,i.use)(p);return(0,f.jsx)("div",{className:(0,u.Q)(null==l?void 0:l.body,n),"data-slot":"alert-dialog-body",...r,children:t})},Footer:e=>{let{children:t,className:n,...r}=e,{slots:l}=(0,i.use)(p);return(0,f.jsx)("div",{className:(0,u.Q)(null==l?void 0:l.footer,n),"data-slot":"alert-dialog-footer",...r,children:t})},Icon:e=>{let{children:t,className:n,status:l="danger",...o}=e,s=(0,i.useMemo)(()=>r({status:l}),[l]);return(0,f.jsx)(c.t.div,{className:null==s?void 0:s.icon({className:n}),"data-slot":"alert-dialog-icon",...o,children:null!=t?t:(()=>{switch(l){case"default":case"accent":return(0,f.jsx)(h.mo,{"data-slot":"alert-dialog-default-icon"});case"success":return(0,f.jsx)(h.BK,{"data-slot":"alert-dialog-default-icon"});case"warning":return(0,f.jsx)(h.id,{"data-slot":"alert-dialog-default-icon"});default:return(0,f.jsx)(h.x$,{"data-slot":"alert-dialog-default-icon"})}})()})},CloseTrigger:e=>{let{className:t,...n}=e,{slots:r}=(0,i.use)(p);return(0,f.jsx)(d.Jn,{className:(0,u.e)(t,null==r?void 0:r.closeTrigger()),"data-slot":"alert-dialog-close-trigger",slot:"close",...n})}})},97827:(e,t,n)=>{n.d(t,{Wu:()=>p,BT:()=>f,wL:()=>g,aR:()=>d,$U:()=>c,ZB:()=>h});let r=(0,n(23479).tv)({defaultVariants:{variant:"default"},slots:{base:"card",content:"card__content",description:"card__description",footer
6:"card__footer",header:"card__header",title:"card__title"},variants:{variant:{default:{base:"card--default"},secondary:{base:"card--secondary"},tertiary:{base:"card--tertiary"},transparent:{base:"card--transparent"}}}});var i=n(7620),l=n(14785),o=n(1329),s=n(54568),a=n(10177);let u=(0,i.createContext)({}),c=e=>{let{children:t,className:n,variant:l="default",...c}=e,d=i.useMemo(()=>r({variant:l}),[l]),h=i.useMemo(()=>({slots:d}),[d]),f=i.useMemo(()=>({variant:l}),[l]),p=(0,s.jsx)(o.t.div,{className:d.base({className:n}),"data-slot":"card",...c,children:t});return(0,s.jsx)(u,{value:h,children:"transparent"===l?p:(0,s.jsx)(a.B,{value:f,children:p})})},d=e=>{let{className:t,...n}=e,{slots:r}=(0,i.use)(u);return(0,s.jsx)(o.t.div,{className:(0,l.Q)(null==r?void 0:r.header,t),"data-slot":"card-header",...n})},h=e=>{let{children:t,className:n,...r}=e,{slots:a}=(0,i.use)(u);return(0,s.jsx)(o.t.h3,{className:(0,l.Q)(null==a?void 0:a.title,n),"data-slot":"card-title",...r,children:t})},f=e=>{let{children:t,className:n,...r}=e,{slots:a}=(0,i.use)(u);return(0,s.jsx)(o.t.p,{className:(0,l.Q)(null==a?void 0:a.description,n),"data-slot":"card-description",...r,children:t})}
6,p=e=>{let{className:t,...n}=e,{slots:r}=(0,i.use)(u);return(0,s.jsx)(o.t.div,{className:(0,l.Q)(null==r?void 0:r.content,t),"data-slot":"card-content",...n})},g=e=>{let{className:t,...n}=e,{slots:r}=(0,i.use)(u);return(0,s.jsx)(o.t.div,{className:(0,l.Q)(null==r?void 0:r.footer,t),"data-slot":"card-footer",...n})}}}]);

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.