1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="83650b17-1634-e57a-a476-d606d3dba018")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,424971,59663,353981,663059,e=>{"use strict";var t=e.i(823316),n=e.i(871356),r=e.i(271645);let o=(0,r.createContext)({placement:"bottom"}),l=(0,r.forwardRef)(function(e,l){[e,l]=(0,t.useContextProps)(e,l,o);let i=e.placement,s={position:"absolute",transform:"top"===i||"bottom"===i?"translateX(-50%)":"translateY(-50%)"};null!=i&&(s[i]="100%");let c=(0,t.useRenderProps)({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:i}});c.style&&Object.keys(c.style).forEach(e=>void 0===c.style[e]&&delete c.style[e]);let a=(0,n.filterDOMProps)(e);return r.default.createElement(t.dom.div,{...a,...c,style:{...s,...c.style},ref:l,"data-placement":i})});e.s(["OverlayArrow",0,l,"OverlayArrowContext",0,o],424971);var i=e.i(583797),s=e.i(232940),c=e.i(731025);let a={top:"top",bottom:"top",left:"left",right:"left"},u={top:"bottom",bottom:"top",left:"right",right:"left"},f={top:"left",left:"top"},d={top:"height",left:"width"},p={width:"totalWidth",height:"totalHeight"},g={};function m(e,t){let n=0,r=0,o=0,l=0,s=0,c=0,a={},u=(t?.scale??1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let i=document.documentElement;o=i.clientWidth,l=i.clientHeight,n=t?.width??o,r=t?.height??l,a.top=i.scrollTop||e.scrollTop,a.left=i.scrollLeft||e.scrollLeft,t&&(s=t.offsetTop,c=t.offsetLeft)}else({width:n,height:r,top:s,left:c}=y(e,!1)),a.top=e.scrollTop,a.left=e.scrollLeft,o=n,l=r;return(0,i.isWebKit)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&u&&(a.top=0,a.left=0,s=t?.pageTop??0,c=t?.pageLeft??0),{width:n,height:r,totalWidth:o,totalHeight:l,scroll:a,top:s,left:c}}function h(e,t,n,r,o,l,i){let s=o.scroll[e]??0,c=r[d[e]],u=i[e]+r.scroll[a[e]]+l,f=i[e]+r.scroll[a[e]]+c-l,p=t-s+r.scroll[a[e]]+i[e]-r[a[e]],g=t-s+n+r.scroll[a[e]]+i[e]-r[a[e]];return p<u?u-p:g>f?Math.max(f-g,u-p):0}function b(e){if(g[e])return g[e];let[t,n]=e.split(" "),r=a[t]||"right",o=f[r];a[n]||(n="center");let l=d[r],i=d[o];return g[e]={placement:t,crossPlacement:n,axis:r,crossAxis:o,size:l,crossSize:i},g[e]}function v(e,t,n,r,o,l,i,s,a,f,d){let{placement:g,crossPlacement:m,axis:h,crossAxis:b,size:v,crossSize:E}=r,w={};w[b]=e[b]??0,"center"===m?w[b]+=((e[E]??0)-(n[E]??0))/2:m!==b&&(w[b]+=(e[E]??0)-(n[E]??0)),w[b]+=l;let y=e[b]-n[E]+a+f,L=e[b]+e[E]-a-f;if(w[b]=(0,c.clamp)(w[b],y,L),g===h){let t=s?d[v]:d[p[v]];w[u[h]]=Math.floor(t-e[h]+o)}else w[h]=Math.floor(e[h]+e[v]+o);return w}function E(e,t,n,r,o,l,i,s){let{placement:c,axis:a,size:f}=l;return c===a?Math.max(0,n[a]-(i.scroll[a]??0)-(e[a]+(s?t[a]:0))-(r[a]??0)-r[u[a]]-o):Math.max(0,e[f]+e[a]+(s?t[a]:0)-n[a]-n[f]+(i.scroll[a]??0)-(r[a]??0)-r[u[a]]-o)}function w(e,t){let{top:n,left:r,width:o,height:l}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(o=e.offsetWidth,l=e.offsetHeight),{top:n,left:r,width:o,height:l}}function y(e,t){let{top:n,left:r,width:o,height:l}=w(e,t),{scrollTop:i,scrollLeft:s,clientTop:c,clientLeft:a}=document.documentElement;return{top:n+i-c,left:r+s-a,width:o,height:l}}function L(e,t,n){let r,o=window.getComputedStyle(e);if("fixed"===o.position)r=w(e,n);else{r=y(e,n);let o=y(t,n),l=window.getComputedStyle(t);o.top+=(parseInt(l.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(l.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=o.top,r.left-=o.left}return r.top-=parseInt(o.marginTop,10)||0,r.left-=parseInt(o.marginLeft,10)||0,r}function T(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}let C=new WeakMap;function S(e){let{triggerRef:t,isOpen:n,onClose:o}=e;(0,r.useEffect)(()=>{if(!n||null===o)return;let e=e=>{let n=(0,s.getEventTarget)(e);if(!t.current||n instanceof Node&&!(0,s.nodeContains)(n,t.current)||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return;let r=o||C.get(t.current);r&&r()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[n,o,t])}e.s(["onCloseMap",0,C,"useCloseOnScroll",0,S],59663);var x=e.i(769299),P=e.i(43418),O=e.i(63534);function R(e){let{ref:t,box:n,onResize:o}=e,l=(0,O.useEffectEvent)(o);(0,r.useEffect)(()=>{let e=t?.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",l,!1),()=>{window.removeEventListener("resize",l,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&l()});return t.observe(e,{box:n}
2),()=>{e&&t.unobserve(e)}}},[t,n])}e.s(["useResizeObserver",0,R],353981);let F="u">typeof document?window.visualViewport:null;e.s(["useOverlayPosition",0,function(e){var t;let{direction:n}=(0,P.useLocale)(),{arrowSize:o,targetRef:l,overlayRef:i,arrowRef:f,scrollRef:d=i,placement:g="bottom",containerPadding:C=12,shouldFlip:O=!0,boundaryElement:k="u">typeof document?document.body:null,offset:A=0,crossOffset:I=0,shouldUpdatePosition:N=!0,isOpen:M=!0,onClose:H,maxHeight:z,arrowBoundaryOffset:B=0}=e,[V,D]=(0,r.useState)(null),K=[N,g,i.current,l.current,f?.current,d.current,C,O,k,A,I,M,n,z,B,o],U=(0,r.useRef)(F?.scale);(0,r.useEffect)(()=>{M&&(U.current=F?.scale)},[M]);let W=(0,r.useCallback)(()=>{var e;if(!1===N||!M||!i.current||!l.current||!k||F?.scale!==U.current)return;let t=null;if(d.current&&(0,s.isFocusWithin)(d.current)){let e=(0,s.getActiveElement)()?.getBoundingClientRect(),n=d.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=i.current;!z&&i.current&&(r.style.top="0px",r.style.bottom="",r.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let S=function(e){let t,n,{placement:r,targetNode:o,overlayNode:l,scrollNode:i,padding:f,shouldFlip:d,boundaryElement:g,offset:C,crossOffset:S,maxHeight:x,arrowSize:P=0,arrowBoundaryOffset:O=0}=e,R="u">typeof document?window.visualViewport:null,F=l instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!T(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!T(t);)t=t.parentElement;return t||document.documentElement}(l):document.documentElement,k=F===document.documentElement,A=window.getComputedStyle(F).position,I=k?y(o,!1):L(o,F,!1);if(!k){let{marginTop:e,marginLeft:t}=window.getComputedStyle(o);I.top+=parseInt(e,10)||0,I.left+=parseInt(t,10)||0}let N=y(l,!0),M={top:parseInt((t=window.getComputedStyle(l)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};N.width+=(M.left??0)+(M.right??0),N.height+=(M.top??0)+(M.bottom??0),i.scrollTop,i.scrollLeft,i.scrollWidth,i.scrollHeight;let H=m(g,R),z=m(F,R);if("BODY"!==g.tagName&&"HTML"!==g.tagName||k)n=("BODY"===g.tagName||"HTML"===g.tagName)&&k?{top:0,left:0,width:0,height:0}:L(g,F,!1);else{let e=w(F,!1);
2n={top:-(e.top-H.top),left:-(e.left-H.left),width:0,height:0}}return function(e,t,n,r,o,l,i,s,f,d,g,m,w,y,L,T,C){var S,x,P;let O,R,F,k=b(e),{size:A,crossAxis:I,crossSize:N,placement:M,crossPlacement:H}=k,z=v(t,i,n,k,d,g,f,m,y,L,s),B=d,V=E(i,f,t,r,o+d,k,s,T);if(l&&n[A]>V){let e=b(`${u[M]} ${H}`),l=v(t,i,n,e,d,g,f,m,y,L,s);E(i,f,t,r,o+d,e,s,T)>V&&(k=e,z=l,B=d)}let D="bottom";"top"===k.axis?"top"===k.placement?D="top":"bottom"===k.placement&&(D="bottom"):"top"===k.crossAxis&&("top"===k.crossPlacement?D="bottom":"bottom"===k.crossPlacement&&(D="top"));let K=h(I,z[I],n[N],i,s,o,f);z[I]+=K;let U=(S=z,x=n.height,P=D,O=(null!=S.top?S.top:s[p.height]-(S.bottom??0)-x)-(s.scroll.top??0),R=T?f.top:0,F={top:Math.max(i.top+R,(C?.offsetTop??i.top)+R),bottom:Math.min(i.top+i.height+R,(C?.offsetTop??0)+(C?.height??0))},"top"!==P?Math.max(0,F.bottom-O-((r.top??0)+(r.bottom??0)+o)):Math.max(0,O+x-F.top-((r.top??0)+(r.bottom??0)+o)));w&&w<U&&(U=w),n.height=Math.min(n.height,U),K=h(I,(z=v(t,i,n,k,B,g,f,m,y,L,s))[I],n[N],i,s,o,f),z[I]+=K;let W={},_=t[I]-z[I]-r[a[I]],j=_+.5*t[N],Y=y/2+L,$="left"===a[I]?(r.left??0)+(r.right??0):(r.top??0)+(r.bottom??0),G=n[N]-$-y/2-L,J=t[I]+y/2-(z[I]+r[a[I]]),q=t[I]+t[N]-y/2-(z[I]+r[a[I]]),X=(0,c.clamp)(j,J,q);W[I]=(0,c.clamp)(X,Y,G),({placement:M,crossPlacement:H}=k),y?_=W[I]:"right"===H?_+=t[N]:"center"===H&&(_+=t[N]/2);let Z="left"===M||"top"===M?n[A]:0,Q={x:"top"===M||"bottom"===M?_:Z,y:"left"===M||"right"===M?_:Z};return{position:z,maxHeight:U,arrowOffsetLeft:W.left,arrowOffsetTop:W.top,placement:M,triggerAnchorPoint:Q}}(r,I,N,M,f,d,H,z,n,C,S,!!A&&"static"!==A,x,P,O,(0,s.nodeContains)(g,F),R)}({placement:(e=g,"rtl"===n?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")),overlayNode:i.current,targetNode:l.current,scrollNode:d.current||i.current,padding:C,shouldFlip:O,boundaryElement:k,offset:A,crossOffset:I,maxHeight:z,arrowSize:o??(f?.current?w(f.current,!0).width:0),arrowBoundaryOffset:B});if(!S.position)return;r.style.top="",r.style.bottom="",r.style.left="",r.style.right="",Object.keys(S.position).forEach(e=>r.style[e]=S.position[e]+"px"),r.style.maxHeight=null!=S.maxHeight?S.maxHeight+"px":"";let x=(0,s.getActiveElement)();if(t&&x&&d.current){let e=x.getBoundingClientRect(),n=d.current.getBoundingClientRect(),r=e[t.type]-n[t.type];d.current.scrollTop+=r-t.offset}D(S)},K);(0,x.useLayoutEffect)(W,K),t=W,(0,x.useLayoutEffect)(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t]),R({ref:i,onResize:W}),R({ref:l,onResize:W});let _=(0,r.useRef)(!1);(0,x.useLayoutEffect)(()=>{let e,t=()=>{_.current=!0,clearTimeout(e),e=setTimeout(()=>{_.current=!1},500),W()},n=()=>{_.current&&t()};return F?.addEventListener("resize",t),F?.addEventListener("scroll",n),()=>{F?.removeEventListener("resize",t),F?.removeEventListener("scroll",n)}},[W]);let j=(0,r.useCallback)(()=>{_.current||H?.()},[H,_]);return S({triggerRef:l,isOpen:M,onClose:H&&j}),{overlayProps:{style:{position:V?"absolute":"fixed",top:V?void 0:0,left:V?void 0:0,zIndex:1e5,...V?.position,maxHeight:V?.maxHeight??"100vh"}},placement:V?.placement??null,triggerAnchorPoint:V?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:V?.arrowOffsetLeft,top:V?.arrowOffsetTop}},updatePosition:W}}],663059)},828646,e=>{"use strict";var t=e.i(583797);let n=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);e.s(["isCtrlKeyPressed",0,function(e){return(0,t.isMac)()?e.metaKey:e.ctrlKey},"willOpenKeyboard",0,function(e){return e instanceof HTMLInputElement&&!n.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}])},924470,e=>{"use strict";let t;var n=e.i(43418);let r=Symbol.for("react-aria.i18n.locale"),o=Symbol.for("react-aria.i18n.strings");class l{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 o=(r=e,Intl.Locale?new Intl.Locale(r).language:r.split("-")[0]);if(t[o])return t[o];for(let e in t)if(e.startsWith(o+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("u"<typeof window)return null;let n=window[r];if(void 0===t){let e=window[o];if(!e)return null;for(let r in t={},e)t[r]=new l({[n]:e[r]},n)}let i=t?.[e];
2if(!i)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return i}}let i=new Map,s=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 o=this.locale+":"+n,l=i.get(o);return l||(l=new Intl.PluralRules(this.locale,{type:n}),i.set(o,l)),"function"==typeof(r=t[l.select(e)]||t.other)?r():r}number(e){let t=s.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),s.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}}var a=e.i(271645);let u=new WeakMap;e.s(["useLocalizedStringFormatter",0,function(e,t){let r,{locale:o}=(0,n.useLocale)(),i=t&&l.getGlobalDictionaryForPackage(t)||((r=u.get(e))||(r=new l(e),u.set(e,r)),r);return(0,a.useMemo)(()=>new c(o,i),[o,i])}],924470)},812284,e=>{"use strict";var t=e.i(271645);let n=(0,t.createContext)({});e.s(["useUNSAFE_PortalContext",0,function(){return(0,t.useContext)(n)??{}}])},381560,e=>{"use strict";var t=e.i(271645);let n="u">typeof document?t.default.useInsertionEffect??t.default.useLayoutEffect:()=>{};e.s(["useControlledState",0,function(e,r,o){let[l,i]=(0,t.useState)(e||r),s=(0,t.useRef)(l),c=(0,t.useRef)(void 0!==e),a=void 0!==e;(0,t.useEffect)(()=>{c.current,c.current=a},[a]);let u=a?e:l;n(()=>{s.current=u});let[,f]=(0,t.useReducer)(()=>({}),{});return[u,(0,t.useCallback)((e,...t)=>{let n="function"==typeof e?e(s.current):e;Object.is(s.current,n)||(s.current=n,i(n),f(),o?.(n,...t))},[o])]}])},155635,604254,e=>{"use strict";var t=e.i(381560),n=e.i(271645);e.s(["useOverlayTriggerState",0,function(e){let[r,o]=(0,t.useControlledState)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),l=(0,n.useCallback)(()=>{o(!0)},[o]),i=(0,n.useCallback)(()=>{o(!1)},[o]),s=(0,n.useCallback)(()=>{o(!r)},[o,r]);return{isOpen:r,setOpen:o,open:l,close:i,toggle:s}}],155635);var r=e.i(769299),o=e.i(174080);function l(e,t,n){(0,r.useLayoutEffect)(()=>{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,o.flushSync)(()=>{n()})}),()=>{r=!0}}},[e,t,n])}e.s(["useEnterAnimation",0,function(e,t=!0){let[o,i]=(0,n.useState)(!0),s=o&&t;return(0,r.useLayoutEffect)(()=>{if(s&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,s]),l(e,s,(0,n.useCallback)(()=>i(!1),[])),s},"useExitAnimation",0,function(e,t){let[r,o]=(0,n.useState)(t?"open":"closed");switch(r){case"open":t||o("exiting");break;case"closed":case"exiting":t&&o("open")}let i="exiting"===r;return l(e,i,(0,n.useCallback)(()=>{o(e=>"exiting"===e?"closed":e)},[])),i}],604254)},406798,922190,623972,e=>{"use strict";e.s(["CLEAR_FOCUS_EVENT",0,"react-aria-clear-focus","FOCUS_EVENT",0,"react-aria-focus"],406798);var t=e.i(232940),n=e.i(903202);function r(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function o(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function l(e){let n=(0,t.getActiveElement)(e),r=n?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||n}e.s(["dispatchVirtualBlur",0,r,"dispatchVirtualFocus",0,o,"getVirtuallyFocusedElement",0,l,"moveVirtualFocus",0,function(e){let t=l((0,n.getOwnerDocument)(e));t!==e&&(t&&r(t,e),e&&o(e,t))}],922190);var i={};i={"ar-AE":{collectionLabel:"Ù
ÙØªØ±ØØ§Øª"},"bg-BG":{collectionLabel:"ÐÑедложениÑ"},"cs-CZ":{collectionLabel:"Návrhy"},"da-DK":{collectionLabel:"Forslag"},"de-DE":{collectionLabel:"Empfehlungen"},"el-GR":{collectionLabel:"Î ÏοÏάÏειÏ"},"en-US":{collectionLabel:"Suggestions"},"es-ES":{collectionLabel:"Sugerencias"},"et-EE":{collectionLabel:"Soovitused"},"fi-FI":{collectionLabel:"Ehdotukset"},"fr-FR":{collectionLabel:"Suggestions"},"he-IL":{collectionLabel:"×צע×ת"},"hr-HR":{collectionLabel:"Prijedlozi"},"hu-HU":{collectionLabel:"Javaslatok"},"it-IT":{collectionLabel:"Suggerimenti"},"ja-JP":{collectionLabel:"åè£"},"ko-KR":{collectionLabel:"ì ì"},"lt-LT":{collectionLabel:"PasiÅ«lymai"},"lv-LV":{collectionLabel:"Ieteikumi"},"nb-NO":{collectionLabel:"Forslag"},"nl-NL":{collectionLabel:"Suggesties"},"pl-PL":{collectionLabel:"Sugestie"},"pt-BR":{collectionLabel:"Sugestões"},"pt-PT":{collectionLabel:"Sugestões"},"ro-RO":{collectionLabel:"Sugestii"},"ru-RU":{collectionLabel:"ÐÑедложениÑ"},"sk-SK":{collectionLabel:"Návrhy"},"sl-SI":{collectionLabel:"Predlogi"},"sr-SP":{collectionLabel:"Predlozi"},"sv-SE":{collectionLabel:"Förslag"},"tr-TR":{collectionLabel:"Ãneriler"},"uk-UA":{collectionLabel:"ÐÑопозиÑÑÑ"},"zh-CN":{collectionLabel:"建议"},"zh-TW":{collectionLabel:"建è°"}},e.s(["default",0,i],623972)},249506,e=>{"use strict";var t=e.i(63534),n=e.i(271645);e.s(["useEvent",0,function(e,r,o,l){let i=(0,t.useEffectEvent)(o),s=null==o;(0,n.useEffect)(()=>
2{if(s||!e.current)return;let t=e.current;return t.addEventListener(r,i,l),()=>{t.removeEventListener(r,i,l)}},[e,r,l,s])}])},340512,e=>{"use strict";var t=e.i(406798),n=e.i(922190),r=e.i(232940),o=e.i(90531),l=e.i(903202),i=e.i(623972),s=e.i(583797),c=e.i(828646),a=e.i(75975),u=e.i(171291),f=e.i(63534),d=e.i(249506),p=e.i(977926),g=e.i(303530),m=e.i(769299),h=e.i(924470),b=e.i(258268),v=e.i(271645);e.s(["useAutocomplete",0,function(e,E){var w;let{inputRef:y,collectionRef:L,filter:T,disableAutoFocusFirst:C=!1,disableVirtualFocus:S=!1}=e,x=(0,p.useId)(),P=(0,v.useRef)(void 0),O=(0,v.useRef)(!1),R=(0,v.useRef)(null),F="virtual"===(0,o.getInteractionModality)()&&((0,s.isIOS)()||(0,s.isAndroid)()),[k,A]=(0,v.useState)(!F&&!S),[I,N]=(0,v.useState)(!1);(0,v.useEffect)(()=>()=>clearTimeout(P.current),[]);let M=(0,f.useEffectEvent)(e=>{!e.isTrusted&&k&&y.current&&(0,r.getActiveElement)((0,l.getOwnerDocument)(y.current))!==y.current&&"touch"!==(0,o.getPointerType)()&&y.current.focus();let t=(0,r.getEventTarget)(e);!e.isTrusted&&t&&R.current!==t.id&&(clearTimeout(P.current),t!==L.current?O.current?(R.current=t.id,P.current=setTimeout(()=>{E.setFocusedNodeId(t.id)},500)):(R.current=t.id,E.setFocusedNodeId(t.id)):R.current&&!document.getElementById(R.current)&&(R.current=null,E.setFocusedNodeId(null)),O.current=!1)}),[H,z]=(0,v.useState)(null),B=(0,v.useCallback)(e=>{z(e),null!=e?(null!=e.getAttribute("tabindex")&&A(!1),N(!0)):N(!1)},[]);(0,m.useLayoutEffect)(()=>(null!=H&&H.addEventListener("focusin",M),()=>{H?.removeEventListener("focusin",M)}),[H]);let V=(0,b.useObjectRef)((0,v.useMemo)(()=>(0,u.mergeRefs)(L,B),[L,B])),D=(0,v.useCallback)(()=>{O.current=!0,L.current?.dispatchEvent(new CustomEvent(t.FOCUS_EVENT,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))},[L]),K=(0,v.useCallback)(e=>{(0,n.moveVirtualFocus)((0,r.getActiveElement)()),R.current=null,E.setFocusedNodeId(null);let o=new CustomEvent(t.CLEAR_FOCUS_EVENT,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:e}});clearTimeout(P.current),O.current=!1,L.current?.dispatchEvent(o)},[L,E]),U=(0,v.useRef)("");(0,d.useEvent)(y,"input",e=>{let{inputType:t}=e;U.current=t});let W=(0,v.useRef)(null),_=(0,f.useEffectEvent)(e=>{if((0,r.getEventTarget)(e)===W.current){e.stopImmediatePropagation();let t=R.current;if(null==t)L.current?.dispatchEvent(new KeyboardEvent(e.type,e));else{let n=document.getElementById(t);n?.dispatchEvent(new KeyboardEvent(e.type,e))}}});(0,v.useEffect)(()=>(document.addEventListener("keyup",_,!0),()=>{document.removeEventListener("keyup",_,!0)}),[]);let j=(0,h.useLocalizedStringFormatter)((w=i.default)&&w.__esModule?w.default:w,"@react-aria/autocomplete"),Y=(0,g.useLabels)({id:x,"aria-label":j.format("collectionLabel")}),$=(0,v.useCallback)((e,t)=>!T||T(e,E.inputValue,t),[E.inputValue,T]),G={value:E.inputValue,onChange:e=>{"insertText"!==U.current||C?U.current&&(U.current.includes("insert")||U.current.includes("delete")||U.current.includes("history"))&&(K(!0),(0,n.getVirtuallyFocusedElement)(document)===y.current&&(0,n.dispatchVirtualFocus)(y.current,null)):D(),E.setInputValue(e)}},J={onKeyDown:e=>{if(W.current=(0,r.getEventTarget)(e),e.nativeEvent.isComposing)return;let n=R.current;switch(null!==n&&null==(0,l.getOwnerDocument)(y.current).getElementById(n)&&(R.current=null,n=null),e.key){case"a":if((0,c.isCtrlKeyPressed)(e))return;break;case"Escape":if(e.isDefaultPrevented())return;break;case" ":return;case"Tab":"continuePropagation"in e&&e.continuePropagation();return;case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":case"ArrowRight":case"ArrowLeft":{if(("Home"===e.key||"End"===e.key)&&null==n&&e.shiftKey)return;if(("ArrowRight"===e.key||"ArrowLeft"===e.key)&&E.inputValue.length>0){if(null==n){e.isPropagationStopped()||e.stopPropagation();return}break}e.preventDefault();let r=new CustomEvent(t.FOCUS_EVENT,{cancelable:!0,bubbles:!0});L.current?.dispatchEvent(r)}}e.isPropagationStopped()||e.stopPropagation();let o=!0;if(null!==L.current)if(null==n)o=L.current?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1;else{let t=document.getElementById(n);t&&(o=t?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1)}if(o)switch(e.key){case"ArrowLeft":case"ArrowRight":K();break;case"Enter":if(null!=n){let t=document.getElementById(n);t?.dispatchEvent(new PointerEvent("click",e.nativeEvent))}}else e.preventDefault()},"aria-activedescendant":E.focusedNodeId??void 0,onBlur:e=>{if(!e.isTrusted)return;let t=R.current?document.getElementById(R.current):null;t&&(0,n.dispatchVirtualBlur)(t,e.relatedTarget)},onFocus:e=>{if(e.isTrusted&&(R.current?document.getElementById(R.current):null)){let t=(0,r.getEventTarget)(e);queueMicrotask(()=>{(0,n.dispatchVirtualBlur)(t,L.current),(0,n.dispatchVirtualFocus)(L.current,t)})}},onPointerDown:e=>{0===e.button&&"touch"!==e.pointerType&&null!=R.current&&null!=y.current&&(0,r.getEventTarget)(e)===y.current&&K()}};return I&&(G={...G,...k&&J,enterKeyHint:"go","aria-controls":x,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"}),{inputProps:G,collectionProps:(0,a.mergeProps)(Y,{shouldUseVirtualFocus:k,disallowTypeAhead:k}),collectionRef:V,filter:null!=T?$:void 0}}])},58549,e=>{"use strict";e.i(823316),e.i(340512),e.i(381560);var t=e.i(271645);e.i(75975);let n=(0,t.createContext)(null),r=(0,t.createContext)(null);e.s(["FieldInputContext",0,r,"SelectableCollectionContext",0,n],58549)},246562,e=>{"use strict";var t=e.i(823316),n=e.i(271645);let r=(0,n.createContext)({}),o=(0,n.forwardRef)(function(e,o){[e,o]=(0,t.useContextProps)(e,o,r);let{elementType:l="span",...i}=e,s=t.dom[l];return n.default.createElement(s,{className:"react-aria-Text",...i,ref:o})});e.s(["Text",0,o,"TextContext",0,r])}]); 3 4//# debugId=83650b17-1634-e57a-a476-d606d3dba018
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.