1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3488],{36172:function(e,t,n){n.r(t),n.d(t,{Button:function(){return a}});var r=n(40871),o=n(98710),i=n(92697),u=n(10823),l=n(55155),s=n(92426);let a=(0,s.yV)(function(e,t){var n;let a=(0,l.B)(),{disabled:c=a||!1,autoFocus:f=!1,...d}=e,{isFocusVisible:p,focusProps:v}=(0,r.F)({autoFocus:f}),{isHovered:y,hoverProps:b}=(0,o.X)({isDisabled:c}),{pressed:h,pressProps:m}=(0,i.x)({disabled:c}),g=(0,s.dG)({ref:t,type:null!=(n=d.type)?n:"button",disabled:c||void 0,autoFocus:f},v,b,m),E=(0,u.x)({disabled:c,hover:y,focus:p,active:h,autofocus:f});return(0,s.L6)()({ourProps:g,theirProps:d,slot:E,defaultTag:"button",name:"Button"})})},57111:function(e,t,n){n.r(t),n.d(t,{DataInteractive:function(){return c}});var r=n(40871),o=n(98710),i=n(45113),u=n(92697),l=n(10823),s=n(92426);let a=i.Fragment,c=(0,s.yV)(function(e,t){let{...n}=e,{isFocusVisible:i,focusProps:c}=(0,r.F)(),{isHovered:f,hoverProps:d}=(0,o.X)({isDisabled:!1}),{pressed:p,pressProps:v}=(0,u.x)({disabled:!1}),y=(0,s.dG)({ref:t},c,d,v),b=(0,l.x)({hover:f,focus:i,active:p});return(0,s.L6)()({ourProps:y,theirProps:n,slot:b,defaultTag:a,name:"DataInteractive"})})},92697:function(e,t,n){n.d(t,{x:function(){return l}});var r=n(45113),o=n(9077),i=n(88320),u=n(50659);function l(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.useRef)(null),[n,l]=(0,r.useState)(!1),s=(0,i.G)(),a=(0,u.z)(()=>{t.current=null,l(!1),s.dispose()}),c=(0,u.z)(e=>{if(s.dispose(),null===t.current){t.current=e.currentTarget,l(!0);{let n=(0,o.r3)(e.currentTarget);s.addEventListener(n,"pointerup",a,!1),s.addEventListener(n,"pointermove",e=>{if(t.current){var n,r;let o,i;l((o=e.width/2,i=e.height/2,n={top:e.clientY-i,right:e.clientX+o,bottom:e.clientY+i,left:e.clientX-o},r=t.current.getBoundingClientRect(),!(!n||!r||n.right<r.left||n.left>r.right||n.bottom<r.top||n.top>r.bottom)))}},!1),s.addEventListener(n,"pointercancel",a,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:c,onPointerUp:a,onClick:a}}}},88320:function(e,t,n){n.d(t,{G:function(){return i}});var r=n(45113),o=n(78631);function i(){let[e]=(0,r.useState)(o.k);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},50659:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(45113),o=n(61302);let i=function(e){let t=(0,o.E)(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])}},17833:function(e,t,n){n.d(t,{e:function(){return i}});var r=n(45113),o=n(50449);let i=(e,t)=>{o.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},61302:function(e,t,n){n.d(t,{E:function(){return i}});var r=n(45113),o=n(17833);function i(e){let t=(0,r.useRef)(e);return(0,o.e)(()=>{t.current=e},[e]),t}},10823:function(e,t,n){n.d(t,{x:function(){return o}});var r=n(45113);function o(e){return(0,r.useMemo)(()=>e,Object.values(e))}},55155:function(e,t,n){n.d(t,{B:function(){return i},G:function(){return u}});var r=n(45113);let o=(0,r.createContext)(void 0);function i(){return(0,r.useContext)(o)}function u(e){let{value:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}},91642:function(e,t,n){n.d(t,{A:function(){return r}});function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}},78631:function(e,t,n){n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add(()=>e.removeEventListener(t,r,o))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=setTimeout(...t);return n.add(()=>clearTimeout(o))},microTask(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let i={current:!0};return(0,r.Y)(()=>{i.current&&t[0]()}),n.add(()=>{i.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.includes(e)||t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(71483)},50449:function(e,t,n){n.d(t,{O:function(){return l}});var r=Object.defineProperty,o=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i=(e,t,n)=>(o(e,"symbol"!=typeof t?t+"":t,n),n);class u{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server"
1:"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}}let l=new u},91729:function(e,t,n){n.d(t,{E:function(){return r}});function r(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];if(e in t){let n=t[e];return"function"==typeof n?n(...o):n}let u=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(u,r),u}},71483:function(e,t,n){n.d(t,{Y:function(){return r}});function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}},9077:function(e,t,n){n.d(t,{H9:function(){return l},k3:function(){return i},r3:function(){return o},vY:function(){return u}});var r=n(50449);function o(e){var t;return r.O.isServer?null:null==e?document:null!=(t=null==e?void 0:e.ownerDocument)?t:document}function i(e){var t,n;return r.O.isServer?null:null==e?document:null!=(n=null==(t=null==e?void 0:e.getRootNode)?void 0:t.call(e))?n:document}function u(e){var t,n;return null!=(n=null==(t=i(e))?void 0:t.activeElement)?n:null}function l(e){return u(e)===e}},92426:function(e,t,n){let r,o;n.d(t,{L6:function(){return c},M2:function(){return m},VN:function(){return s},dG:function(){return v},l4:function(){return a},oA:function(){return b},yV:function(){return y}});var i=n(45113),u=n(91642),l=n(91729),s=((r=s||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),a=((o=a||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function c(){let e,t;let n=(e=(0,i.useRef)([]),t=(0,i.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];if(!r.every(e=>null==e))return e.current=r,t});return(0,i.useCallback)(e=>(function(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:i,visible:u=!0,name:s,mergeRefs:a}=e;a=null!=a?a:d;let c=p(n,t);if(u)return f(c,r,o,s,a);let v=null!=i?i:0;if(2&v){let{static:e=!1,...t}=c;if(e)return f(t,r,o,s,a)}if(1&v){let{unmount:e=!0,...t}=c;return(0,l.E)(e?0:1,{0:()=>null,1:()=>f({...t,hidden:!0,style:{display:"none"}},r,o,s,a)})}return f(c,r,o,s,a)})({mergeRefs:n,...e}),[n])}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,{as:l=n,children:s,refName:a="ref",...c}=h(e,["unmount","static"]),f=void 0!==e.ref?{[a]:e.ref}:{},d="function"==typeof s?s(t):s;d=function e(t){if(null!=t&&t.$$typeof===Symbol.for("react.lazy")){let n=t._payload;if(null!=n&&"fulfilled"===n.status)return e(n.value)}return t}(d),"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let v={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(v["data-headlessui-state"]=n.join(" "),n))v["data-".concat(e)]=""}if(m(l)&&(Object.keys(b(c)).length>0||Object.keys(b(v)).length>0)){if(!(0,i.isValidElement)(d)||Array.isArray(d)&&d.length>1||m(d.type)){if(Object.keys(b(c)).length>0)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(b(c)).concat(Object.keys(b(v))).map(e=>" - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - ".concat(e)).join("\n")].join("\n"))}else{var y;let e=d.props,t=null==e?void 0:e.className,n="function"==typeof t?function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0,u.A)(t(...n),c.className)}:(0,u.A)(t,c.className),r=p(d.props,b(h(c,["ref"])));for(let e in v)e in r&&delete v[e];return(0,i.cloneElement)(d,Object.assign({},r,v,f,{ref:o((y=d,i.version.split(".")[0]>="19"?y.props.ref:y.ref),f.ref)},n?{className:n}:{}))}}return(0,i.createElement)(l,Object.assign({},h(c,["ref"]),!m(l)&&f,!m(l)&&v),d)}function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function p(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])for(let e in o)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(o[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in o)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function v(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];for(let e in o)Object.assign(r,{[e](){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(let t of o[e])null==t||t(...n)}});return r}function y(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function b(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function m(e){return e===i.Fragment||e===Symbol.for("react.fragment")}},40871:function(e,t,n){n.d(t,{F:function(){return D}});var r=n(99700),o=n(23414),i=n(45113);let u="undefined"!=typeof document?i.useLayoutEffect:()=>{};function l(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function s(e){let t=(0,i.useRef)({isFocused:!1,observer:null});return u(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,i.useCallback)(n=>{let o=(0,r.NI)(n);(o instanceof HTMLButtonElement||o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement||o instanceof HTMLSelectElement)&&(t.current.isFocused=!0,o.addEventListener("focusout",n=>{if(t.current.isFocused=!1,o.disabled){let t=l(n);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){t.current.observer?.disconnect();let e=o===(0,r.vY)()?null:(0,r.vY)();o.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]}))},[e])}function a(e){if("undefined"==typeof window||null==window.navigator)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function c(e){return"undefined"!=typeof window&&null!=window.navigator&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function f(e){let t=null;return()=>(null==t&&(t=e()),t)}let d=f(function(){return c(/^Mac/i)}),p=f(function(){return c(/^iPhone/i)}),v=f(function(){return c(/^iPad/i)||d()&&navigator.maxTouchPoints>1}),y=f(function(){return p()||v()});f(function(){return d()||y()});
1let b=f(function(){return a(/AppleWebKit/i)&&(y()||!h())});f(function(){return b()&&!h()&&!g()});let h=f(function(){return a(/Chrome|CriOS|CrMo/i)}),m=f(function(){return a(/Android/i)}),g=f(function(){return a(/(Firefox|FxiOS)/i)}),E=null;function T(e,t,n=!0){let{metaKey:r,ctrlKey:o,altKey:i,shiftKey:u}=t;!b()&&g()&&window.event?.type?.startsWith("key")&&"_blank"===e.target&&(d()?r=!0:o=!0);let l=b()&&d()&&!v()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:o,altKey:i,shiftKey:u}):new MouseEvent("click",{metaKey:r,ctrlKey:o,altKey:i,shiftKey:u,detail:1,bubbles:!0,cancelable:!0});T.isOpening=n,function(e){if(function(){if(null==E){E=!1;try{document.createElement("div").focus({get preventScroll(){return E=!0,!0}})}catch{}}return E}())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.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}(e),e.dispatchEvent(l),T.isOpening=!1}T.isOpening=!1;let w=null,L=new Set,k=new Map,F=!1,P=!1,A={Tab:!0,Escape:!0};function H(e,t){for(let n of L)n(e,t)}function O(e){F=!0,T.isOpening||e.metaKey||!d()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(w="keyboard",H("keyboard",e))}function C(e){w="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(F=!0,H("pointer",e))}function N(e){T.isOpening||(""!==e.pointerType||!e.isTrusted)&&(m()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(F=!0,w="virtual")}function S(e){let t=(0,r.NI)(e),n=(0,o.kR)(t),i=(0,o.r3)(t);if(t===n){P=!0;return}t!==i&&e.isTrusted&&(F||P||(w="virtual",H("virtual",e)),F=!1,P=!1)}function M(){F=!1,P=!0}function j(e){if("undefined"==typeof window||"undefined"==typeof document)return;let t=(0,o.kR)(e),n=(0,o.r3)(e);if(k.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){F=!0,r.apply(this,arguments)}}),n.addEventListener("keydown",O,!0),n.addEventListener("keyup",O,!0),n.addEventListener("click",N,!0),t.addEventListener("focus",S,!0),t.addEventListener("blur",M,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",C,!0),n.addEventListener("pointermove",C,!0),n.addEventListener("pointerup",C,!0)),t.addEventListener("beforeunload",()=>{I(e)},{once:!0}),k.set(t,{focus:r})}let I=(e,t)=>{let n=(0,o.kR)(e),r=(0,o.r3)(e);t&&r.removeEventListener("DOMContentLoaded",t),k.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:k.get(n).focus}),r.removeEventListener("keydown",O,!0),r.removeEventListener("keyup",O,!0),r.removeEventListener("click",N,!0),n.removeEventListener("focus",S,!0),n.removeEventListener("blur",M,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",C,!0),r.removeEventListener("pointermove",C,!0),r.removeEventListener("pointerup",C,!0)),k.delete(n))};function x(){return"pointer"!==w}"undefined"!=typeof document&&function(e){let t;let n=(0,o.r3)(void 0);"loading"!==n.readyState?j(void 0):(t=()=>{j(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>I(e,t)}();let R=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var K=n(2648);function D(e={}){var t,n,u;let{autoFocus:a=!1,isTextInput:c,within:f}=e,d=(0,i.useRef)({isFocused:!1,isFocusVisible:a||x()}),[p,v]=(0,i.useState)(!1),[y,b]=(0,i.useState)(()=>d.current.isFocused&&d.current.isFocusVisible),h=(0,i.useCallback)(()=>b(d.current.isFocused&&d.current.isFocusVisible),[]),m=(0,i.useCallback)(e=>{d.current.isFocused=e,d.current.isFocusVisible=x(),v(e),h()},[h]);t=e=>{d.current.isFocusVisible=e,h()},n=[c,p],u={enabled:p,isTextInput:c},j(),(0,i.useEffect)(()=>
1{if(u?.enabled===!1)return;let e=(e,n)=>{(function(e,t,n){let i=n?(0,r.NI)(n):void 0,u=(0,o.r3)(i),l=(0,o.kR)(i),s=void 0!==l?l.HTMLInputElement:HTMLInputElement,a=void 0!==l?l.HTMLTextAreaElement:HTMLTextAreaElement,c=void 0!==l?l.HTMLElement:HTMLElement,f=void 0!==l?l.KeyboardEvent:KeyboardEvent,d=(0,r.vY)(u);return!((e=e||d instanceof s&&!R.has(d.type)||d instanceof a||d instanceof c&&d.isContentEditable)&&"keyboard"===t&&n instanceof f&&!A[n.key])})(!!u?.isTextInput,e,n)&&t(x())};return L.add(e),()=>{L.delete(e)}},n);let{focusProps:g}=function(e){let{isDisabled:t,onFocus:n,onBlur:u,onFocusChange:l}=e,a=(0,i.useCallback)(e=>{if((0,r.NI)(e)===e.currentTarget)return u&&u(e),l&&l(!1),!0},[u,l]),c=s(a),f=(0,i.useCallback)(e=>{let t=(0,r.NI)(e),i=(0,o.r3)(t),u=i?(0,r.vY)(i):(0,r.vY)();t===e.currentTarget&&t===u&&(n&&n(e),l&&l(!0),c(e))},[l,n,c]);return{focusProps:{onFocus:!t&&(n||l||u)?f:void 0,onBlur:!t&&(u||l)?a:void 0}}}({isDisabled:f,onFocusChange:m}),{focusWithinProps:E}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:u,onFocusWithinChange:a}=e,c=(0,i.useRef)({isFocusWithin:!1}),{addGlobalListener:f,removeAllGlobalListeners:d}=(0,K.x)(),p=(0,i.useCallback)(e=>{(0,r.bE)(e.currentTarget,(0,r.NI)(e))&&c.current.isFocusWithin&&!(0,r.bE)(e.currentTarget,e.relatedTarget)&&(c.current.isFocusWithin=!1,d(),n&&n(e),a&&a(!1))},[n,a,c,d]),v=s(p),y=(0,i.useCallback)(e=>{if(!(0,r.bE)(e.currentTarget,(0,r.NI)(e)))return;let t=(0,r.NI)(e),n=(0,o.r3)(t),i=(0,r.vY)(n);if(!c.current.isFocusWithin&&i===t){u&&u(e),a&&a(!0),c.current.isFocusWithin=!0,v(e);let t=e.currentTarget;
1f(n,"focus",e=>{let o=(0,r.NI)(e);if(c.current.isFocusWithin&&!(0,r.bE)(t,o)){let e=new n.defaultView.FocusEvent("blur",{relatedTarget:o});Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t}),p(l(e))}},{capture:!0})}},[u,a,v,f,p]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:y,onBlur:p}}}({isDisabled:!f,onFocusWithinChange:m});return{isFocused:p,isFocusVisible:y,focusProps:f?E:g}}},98710:function(e,t,n){n.d(t,{X:function(){return f}});var r=n(99700),o=n(23414),i=n(2648),u=n(45113);let l=!1,s=0;function a(e){"touch"===e.pointerType&&(l=!0,setTimeout(()=>{l=!1},500))}function c(){let e=(0,o.r3)(null);if(void 0!==e)return 0===s&&"undefined"!=typeof PointerEvent&&e.addEventListener("pointerup",a),s++,()=>{--s>0||"undefined"==typeof PointerEvent||e.removeEventListener("pointerup",a)}}function f(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:s,isDisabled:a}=e,[f,d]=(0,u.useState)(!1),p=(0,u.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,u.useEffect)(c,[]);let{addGlobalListener:v,removeAllGlobalListeners:y}=(0,i.x)(),{hoverProps:b,triggerHoverEnd:h}=(0,u.useMemo)(()=>{let e=(e,u)=>{if(p.pointerType=u,a||"touch"===u||p.isHovered||!(0,r.bE)(e.currentTarget,(0,r.NI)(e)))return;p.isHovered=!0;let l=e.currentTarget;p.target=l,v((0,o.r3)((0,r.NI)(e)),"pointerover",e=>{p.isHovered&&p.target&&!(0,r.bE)(p.target,(0,r.NI)(e))&&i(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:l,pointerType:u}),n&&n(!0),d(!0)},i=(e,t)=>{let r=p.target;p.pointerType="",p.target=null,"touch"!==t&&p.isHovered&&r&&(p.isHovered=!1,y(),s&&s({type:"hoverend",target:r,pointerType:t}),n&&n(!1),d(!1))},u={};return"undefined"!=typeof PointerEvent&&(u.onPointerEnter=t=>{l&&"mouse"===t.pointerType||e(t,t.pointerType)},u.onPointerLeave=e=>{!a&&(0,r.bE)(e.currentTarget,(0,r.NI)(e))&&i(e,e.pointerType)}),{hoverProps:u,triggerHoverEnd:i}},[t,n,s,a,p,v,y]);return(0,u.useEffect)(()=>{a&&h({currentTarget:p.target},p.pointerType)},[a]),{hoverProps:b,isHovered:f}}},23414:function(e,t,n){n.d(t,{Zq:function(){return u},kR:function(){return o},r3:function(){return r}});let r=e=>"object"==typeof e&&null!=e&&"window"in e&&e.window===e?e.document:i(e)&&9===e.nodeType?e:e?.ownerDocument??("undefined"!=typeof document?document:void 0),o=e=>{let t=r(e);return t?.defaultView??("undefined"!=typeof window?window:void 0)};function i(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType}function u(e){return i(e)&&11===e.nodeType&&"host"in e}},99700:function(e,t,n){function r(e,t){return!!t&&!!e&&e.contains(t)}n.d(t,{vY:function(){return o},NI:function(){return i},bE:function(){return r}}),n(23414);let o=(e=document)=>e.activeElement;function i(e){return e.target}},2648:function(e,t,n){n.d(t,{x:function(){return o}});var r=n(45113);function o(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,o)=>{let i=o?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,i,o)},[]),n=(0,r.useCallback)((t,n,r,o)=>{let i=e.current.get(r)?.fn||r;t.removeEventListener(n,i,o),e.current.delete(r)},[]),o=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>o,[o]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:o}}}}]); 2//# sourceMappingURL=3488-f914e2618eb1ca3e.js.map
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.