try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2ae2d0e8-3e9a-4f0f-b53b-1867ec4e8960",e._sentryDebugIdIdentifier="sentry-dbid-2ae2d0e8-3e9a-4f0f-b53b-1867ec4e8960")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3103],{327:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(76167);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{}},6418:(e,t,n)=>{n.d(t,{P:()=>r});function r(...e){return 1===e.length&&e[0]?e[0]:t=>{for(let n of e)"function"==typeof n?n(t):null!=n&&(n.current=t)}}},7081:(e,t,n)=>{n.d(t,{J:()=>i});var r=n(327),o=n(76167);function i(e){let t=(0,o.useRef)(null);return(0,r.N)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},12580:(e,t,n)=>{n.d(t,{c:()=>r});function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}},13848:(e,t,n)=>{n.d(t,{Ng:()=>i,TW:()=>r,mD:()=>o});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function i(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},44504:(e,t,n)=>{n.d(t,{Cl:()=>P,ME:()=>T,lb:()=>k,pP:()=>L});var r=n(85468),o=n(63870),i=n(81332),u=n(13848),l=n(76167),d=n(6498);let s=null,a=new Set,c=new Map,f=!1,v=!1;function p(e,t){for(let n of a)n(e,t)}function m(e){f=!0,!(e.metaKey||!(0,o.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)&&(s="keyboard",p("keyboard",e))}function b(e){s="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(f=!0,p("pointer",e))}function E(e){(0,i.Y)(e)&&(f=!0,s="virtual")}function g(e){e.target!==window&&e.target!==document&&!r.lR&&e.isTrusted&&(f||v||(s="virtual",p("virtual",e)),f=!1,v=!1)}function h(){r.lR||(f=!1,v=!0)}function w(e){if("undefined"==typeof window||c.get((0,u.mD)(e)))return;let t=(0,u.mD)(e),n=(0,u.TW)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){f=!0,r.apply(this,arguments)},n.addEventListener("keydown",m,!0),n.addEventListener("keyup",m,!0),n.addEventListener("click",E,!0),t.addEventListener("focus",g,!0),t.addEventListener("blur",h,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",b,!0),n.addEventListener("pointermove",b,!0),n.addEventListener("pointerup",b,!0)):(n.addEventListener("mousedown",b,!0),n.addEventListener("mousemove",b,!0),n.addEventListener("mouseup",b,!0)),t.addEventListener("beforeunload",()=>{y(e)},{once:!0}),c.set(t,{focus:r})}let y=(e,t)=>{let n=(0,u.mD)(e),r=(0,u.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),c.has(n)&&(n.HTMLElement.prototype.focus=c.get(n).focus,r.removeEventListener("keydown",m,!0),r.removeEventListener("keyup",m,!0),r.removeEventListener("click",E,!0),n.removeEventListener("focus",g,!0),n.removeEventListener("blur",h,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",b,!0),r.removeEventListener("pointermove",b,!0),r.removeEventListener("pointerup",b,!0)):(r.removeEventListener("mousedown",b,!0),r.removeEventListener("mousemove",b,!0),r.removeEventListener("mouseup",b,!0)),c.delete(n))};function L(){return"pointer"!==s}function T(){return s}function P(e){s=e,p(e,null)}function k(){w();let[e,t]=(0,l.useState)(s);return(0,l.useEffect)(()=>{let e=()=>{t(s)};return a.add(e),()=>{a.delete(e)}},[]),(0,d.wR)()?null:e}"undefined"!=typeof document&&function(e){let t;let n=(0,u.TW)(void 0);"loading"!==n.readyState?w(void 0):(t=()=>{w(e)},n.addEventListener("DOMContentLoaded",t)),()=>y(e,t)}()},47587:(e,t,n)=>{n.d(t,{Tw:()=>c,Bi:()=>a,X1:()=>f});var r=n(327),o=n(7081),i=n(76167),u=n(6498);let l=!!("undefined"!=typeof window&&window.document&&window.document.createElement),d=new Map,s=new FinalizationRegistry(e=>{d.delete(e)});function a(e){let[t,n]=(0,i.useState)(e),o=(0,i.useRef)(null),a=(0,u.Cc)(t),c=(0,i.useRef)(null);if(s.register(c,a),l){let e=d.get(a);e&&!e.includes(o)?e.push(o):d.set(a,[o])}return(0,r.N)(()=>()=>{s.unregister(c),d.delete(a)},[a]),(0,i.useEffect)(()=>{let e=o.current;return e&&n(e),()=>{e&&(o.current=null)}}),a}function c(e,t){if(e===t)return e;let n=d.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=d.get(t);return r?(r.forEach(t=>t.current=e),e):t}function f(e=[]){let t=a(),[n,u]=function(e){let[t,n]=(0,i.useState)(e),u=(0,i.useRef)(null),l=(0,o.J)(()=>{if(!u.current)return;let e=u.current.next();if(e.done){u.current=null;return}t===e.value?l():n(e.value)});(0,r.N)(()=>{u.current&&l()});let d=(0,o.J)(e=>{u.current=e(t),l()});return[t,d]}(t),l=(0,i.useCallback)(()=>{u(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,u]);return(0,r.N)(l,[t,l,...e]),n}},59471:(e,t,n)=>{n.d(t,{A:()=>l,t:()=>u});let r=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],o=r.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";r.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let i=r.join(':not([hidden]):not([tabindex="-1"]),');function u(e){return e.matches(o)}function l(e){return e.matches(i)}},63870:(e,t,n)=>{function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{H8:()=>f,Tc:()=>c,bh:()=>d,cX:()=>u,gm:()=>p,lg:()=>a,m0:()=>v,un:()=>s});let u=i(function(){return o(/^Mac/i)}),l=i(function(){return o(/^iPhone/i)}),d=i(function(){return o(/^iPad/i)||u()&&navigator.maxTouchPoints>1}),s=i(function(){return l()||d()}),a=i(function(){return u()||s()}),c=i(function(){return r(/AppleWebKit/i)&&!f()}),f=i(function(){return r(/Chrome/i)}),v=i(function(){return r(/Android/i)}),p=i(function(){return r(/Firefox/i)})},71982:(e,t,n)=>{function r(e){if(function(){if(null==o){o=!1;try{document.createElement("div").focus({get preventScroll(){return o=!0,!0}})}catch{}}return o}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeightr});let o=null},81332:(e,t,n)=>{n.d(t,{P:()=>i,Y:()=>o});var r=n(63870);function o(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,r.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function i(e){return!(0,r.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},84209:(e,t,n)=>{n.d(t,{v:()=>u});var r=n(12580),o=n(47587),i=n(1038);function u(...e){let t={...e[0]};for(let n=1;n=65&&90>=e.charCodeAt(2)?t[e]=(0,r.c)(n,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof l?t[e]=(0,i.A)(n,l):"id"===e&&n&&l?t.id=(0,o.Tw)(n,l):t[e]=void 0!==l?l:n}}return t}},84973:(e,t,n)=>{n.d(t,{P:()=>o});var r=n(76167);function o(e,t,n){let[o,i]=(0,r.useState)(e||t),u=(0,r.useRef)(void 0!==e),l=void 0!==e;(0,r.useEffect)(()=>{let e=u.current;e!==l&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),u.current=l},[l]);let d=l?e:o,s=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(d,e)&&n(e,...t),l||(d=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((n,...o)=>{let i=e(l?d:n,...o);return(r(i,...t),l)?n:i})):(l||i(e),r(e,...t))},[l,d,n]);return[d,s]}},85468:(e,t,n)=>{n.d(t,{KU:()=>s,LE:()=>f,lR:()=>c,yB:()=>a});var r=n(327),o=n(7081),i=n(59471),u=n(13848),l=n(71982),d=n(76167);class s{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function a(e){let t=(0,d.useRef)({isFocused:!1,observer:null});(0,r.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,o.J)(t=>{null==e||e(t)});return(0,d.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new s("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let c=!1;function f(e){for(;e&&!(0,i.t)(e);)e=e.parentElement;let t=(0,u.mD)(e),n=t.document.activeElement;if(!n||n===e)return;c=!0;let r=!1,o=e=>{(e.target===n||r)&&e.stopImmediatePropagation()},d=t=>{t.target!==n&&!r||(t.stopImmediatePropagation(),e||r||(r=!0,(0,l.e)(n),f()))},s=t=>{(t.target===e||r)&&t.stopImmediatePropagation()},a=t=>{(t.target===e||r)&&(t.stopImmediatePropagation(),r||(r=!0,(0,l.e)(n),f()))};t.addEventListener("blur",o,!0),t.addEventListener("focusout",d,!0),t.addEventListener("focusin",a,!0),t.addEventListener("focus",s,!0);let f=()=>{cancelAnimationFrame(v),t.removeEventListener("blur",o,!0),t.removeEventListener("focusout",d,!0),t.removeEventListener("focusin",a,!0),t.removeEventListener("focus",s,!0),c=!1,r=!1},v=requestAnimationFrame(f);return f}}}]);