!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4fb7c62a-d437-4079-a4c5-fbabab6dace1",e._sentryDebugIdIdentifier="sentry-dbid-4fb7c62a-d437-4079-a4c5-fbabab6dace1")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9168],{58374:(e,t,n)=>{n.d(t,{l:()=>s});var r=n(24836),o=n(47233),u=n(32268),i=n(95562);function s(e){let t=(0,r.T)(e);if("virtual"===(0,i.ME)()){let n=t.activeElement;(0,o.v)(()=>{t.activeElement===n&&e.isConnected&&(0,u.e)(e)})}else(0,u.e)(e)}},16133:(e,t,n)=>{n.d(t,{o:()=>s});var r=n(95562),o=n(33424),u=n(59461),i=n(96540);function s(e={}){let{autoFocus:t=!1,isTextInput:n,within:l}=e,a=(0,i.useRef)({isFocused:!1,isFocusVisible:t||(0,r.pP)()}),[c,d]=(0,i.useState)(!1),[f,v]=(0,i.useState)(()=>a.current.isFocused&&a.current.isFocusVisible),p=(0,i.useCallback)(()=>v(a.current.isFocused&&a.current.isFocusVisible),[]),y=(0,i.useCallback)(e=>{a.current.isFocused=e,d(e),p()},[p]);(0,r.K7)(e=>{a.current.isFocusVisible=e,p()},[],{isTextInput:n});let{focusProps:m}=(0,o.i)({isDisabled:l,onFocusChange:y}),{focusWithinProps:E}=(0,u.R)({isDisabled:!l,onFocusWithinChange:y});return{isFocused:c,isFocusVisible:f,focusProps:l?E:m}}},58382:(e,t,n)=>{n.d(t,{M:()=>d,W:()=>f});var r=n(58374),o=n(6660),u=n(83908),i=n(56606),s=n(96540),l=n(33424);function a(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&n.stopPropagation()}}let c=s.createContext(null),d=s.forwardRef(function(e,t){let{children:n,...r}=e,o=(0,u.U)(t),i={...r,ref:o};return s.createElement(c.Provider,{value:i},n)});function f(e,t){let{focusProps:n}=(0,l.i)(e),{keyboardProps:u}={keyboardProps:e.isDisabled?{}:{onKeyDown:a(e.onKeyDown),onKeyUp:a(e.onKeyUp)}},d=(0,i.v)(n,u),f=function(e){let t=(0,s.useContext)(c)||{};(0,o.w)(t,e);let{ref:n,...r}=t;return r}(t),v=e.isDisabled?{}:f,p=(0,s.useRef)(e.autoFocus);return(0,s.useEffect)(()=>{p.current&&t.current&&(0,r.l)(t.current),p.current=!1},[t]),{focusableProps:(0,i.v)({...d,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},v)}}},33424:(e,t,n)=>{n.d(t,{i:()=>i});var r=n(62894),o=n(96540),u=n(24836);function i(e){let{isDisabled:t,onFocus:n,onBlur:i,onFocusChange:s}=e,l=(0,o.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),s&&s(!1),!0},[i,s]),a=(0,r.y)(l),c=(0,o.useCallback)(e=>{let t=(0,u.T)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),s&&s(!0),a(e))},[s,n,a]);return{focusProps:{onFocus:!t&&(n||s||i)?c:void 0,onBlur:!t&&(i||s)?l:void 0}}}},95562:(e,t,n)=>{n.d(t,{Cl:()=>L,K7:()=>S,ME:()=>T,pP:()=>w});var r=n(69202),o=n(28948),u=n(24836),i=n(96540);let s=null,l=new Set,a=new Map,c=!1,d=!1,f={Tab:!0,Escape:!0};function v(e,t){for(let n of l)n(e,t)}function p(e){c=!0,e.metaKey||!(0,r.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(s="keyboard",v("keyboard",e))}function y(e){s="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(c=!0,v("pointer",e))}function m(e){(0,o.Y)(e)&&(c=!0,s="virtual")}function E(e){e.target!==window&&e.target!==document&&(c||d||(s="virtual",v("virtual",e)),c=!1,d=!1)}function g(){c=!1,d=!0}function b(e){if("undefined"==typeof window||a.get((0,u.m)(e)))return;let t=(0,u.m)(e),n=(0,u.T)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){c=!0,r.apply(this,arguments)},n.addEventListener("keydown",p,!0),n.addEventListener("keyup",p,!0),n.addEventListener("click",m,!0),t.addEventListener("focus",E,!0),t.addEventListener("blur",g,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",y,!0),n.addEventListener("pointermove",y,!0),n.addEventListener("pointerup",y,!0)):(n.addEventListener("mousedown",y,!0),n.addEventListener("mousemove",y,!0),n.addEventListener("mouseup",y,!0)),t.addEventListener("beforeunload",()=>{h(e)},{once:!0}),a.set(t,{focus:r})}let h=(e,t)=>{let n=(0,u.m)(e),r=(0,u.T)(e);t&&r.removeEventListener("DOMContentLoaded",t),a.has(n)&&(n.HTMLElement.prototype.focus=a.get(n).focus,r.removeEventListener("keydown",p,!0),r.removeEventListener("keyup",p,!0),r.removeEventListener("click",m,!0),n.removeEventListener("focus",E,!0),n.removeEventListener("blur",g,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",y,!0),r.removeEventListener("pointermove",y,!0),r.removeEventListener("pointerup",y,!0)):(r.removeEventListener("mousedown",y,!0),r.removeEventListener("mousemove",y,!0),r.removeEventListener("mouseup",y,!0)),a.delete(n))};function w(){return"pointer"!==s}function T(){return s}function L(e){s=e,v(e,null)}"undefined"!=typeof document&&function(e){let t;let n=(0,u.T)(void 0);"loading"!==n.readyState?b(void 0):(t=()=>{b(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>h(e,t)}();let P=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function S(e,t,n){b(),(0,i.useEffect)(()=>{let t=(t,r)=>{(function(e,t,n){var r;let o="undefined"!=typeof window?(0,u.m)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?(0,u.m)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?(0,u.m)(null==n?void 0:n.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,u.m)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof o&&!P.has(null==n?void 0:null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof i||(null==n?void 0:n.target)instanceof s&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof l&&!f[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(w())};return l.add(t),()=>{l.delete(t)}},t)}},59461:(e,t,n)=>{n.d(t,{R:()=>u});var r=n(62894),o=n(96540);function u(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:u,onFocusWithinChange:i}=e,s=(0,o.useRef)({isFocusWithin:!1}),l=(0,o.useCallback)(e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,n&&n(e),i&&i(!1))},[n,i,s]),a=(0,r.y)(l),c=(0,o.useCallback)(e=>{s.current.isFocusWithin||document.activeElement!==e.target||(u&&u(e),i&&i(!0),s.current.isFocusWithin=!0,a(e))},[u,i,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}},16638:(e,t,n)=>{n.d(t,{M:()=>a});var r=n(96540);let o=!1,u=0;function i(){o=!0,setTimeout(()=>{o=!1},50)}function s(e){"touch"===e.pointerType&&i()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",i),u++,()=>{--u>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",i))}}function a(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:u,isDisabled:i}=e,[s,a]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(l,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,i||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let o=e.currentTarget;c.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),a(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;u&&u({type:"hoverend",target:r,pointerType:t}),n&&n(!1),a(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(s.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||o||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:s,triggerHoverEnd:r}},[t,n,u,i,c]);return(0,r.useEffect)(()=>{i&&f({currentTarget:c.target},c.pointerType)},[i]),{hoverProps:d,isHovered:s}}},62894:(e,t,n)=>{n.d(t,{y:()=>s});var r=n(96540),o=n(49953),u=n(7049);class i{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 s(e){let t=(0,r.useRef)({isFocused:!1,observer:null});(0,o.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,u.J)(t=>{null==e||e(t)});return(0,r.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 i("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])}},60415:(e,t,n)=>{n.d(t,{Cc:()=>a,wR:()=>v});var r=n(96540);let o={prefix:String(Math.round(1e10*Math.random())),current:0},u=r.createContext(o),i=r.createContext(!1),s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap,a="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(v()),u=n?"react-aria":`react-aria${o.prefix}`;return e||`${u}-${t}`}:function(e){let t=(0,r.useContext)(u);t!==o||s||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=function(e=!1){let t=(0,r.useContext)(u),n=(0,r.useRef)(null);if(null===n.current&&!e){var o,i;let e=null===(i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===i?void 0:null===(o=i.ReactCurrentOwner)||void 0===o?void 0:o.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${n}`};function c(){return!1}function d(){return!0}function f(e){return()=>{}}function v(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(f,c,d):(0,r.useContext)(i)}},72166:(e,t,n)=>{n.d(t,{c:()=>r});function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}},24836:(e,t,n)=>{n.d(t,{T:()=>r,m:()=>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},5987:(e,t,n)=>{n.d(t,{$:()=>s});let r=new Set(["id"]),o=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),u=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),i=/^(data-.*)$/;function s(e,t={}){let{labelable:n,isLink:l,propNames:a}=t,c={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&o.has(t)||l&&u.has(t)||(null==a?void 0:a.has(t))||i.test(t))&&(c[t]=e[t]);return c}},28948:(e,t,n)=>{n.d(t,{P:()=>u,Y:()=>o});var r=n(69202);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 u(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}},56606:(e,t,n)=>{n.d(t,{v:()=>i});var r=n(72166),o=n(84137);let u=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var u=t.length;for(n=0;n<u;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r};function i(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let i=e[n];for(let e in i){let n=t[e],s=i[e];"function"==typeof n&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,r.c)(n,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof s?t[e]=u(n,s):"id"===e&&n&&s?t.id=(0,o.Tw)(n,s):t[e]=void 0!==s?s:n}}return t}},17099:(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)}}},47233:(e,t,n)=>{n.d(t,{v:()=>i});let r=new Map,o=new Set;function u(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let u=r.get(n.target);if(u&&(u.delete(n.propertyName),0===u.size&&(n.target.removeEventListener("transitioncancel",t),r.delete(n.target)),0===r.size)){for(let e of o)e();o.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let o=r.get(n.target);o||(o=new Set,r.set(n.target,o),n.target.addEventListener("transitioncancel",t,{once:!0})),o.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function i(e){requestAnimationFrame(()=>{0===r.size?e():o.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?u():document.addEventListener("DOMContentLoaded",u))},7049:(e,t,n)=>{n.d(t,{J:()=>u});var r=n(49953),o=n(96540);function u(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)},[])}},8343:(e,t,n)=>{n.d(t,{F:()=>u});var r=n(7049),o=n(96540);function u(e,t,n){let u=(0,o.useRef)(t),i=(0,r.J)(()=>{n&&n(u.current)});(0,o.useEffect)(()=>{var t;let n=null==e?void 0:null===(t=e.current)||void 0===t?void 0:t.form;return null==n||n.addEventListener("reset",i),()=>{null==n||n.removeEventListener("reset",i)}},[e,i])}},84137:(e,t,n)=>{n.d(t,{Tw:()=>c,Bi:()=>a,X1:()=>d});var r=n(49953),o=n(7049),u=n(96540),i=n(60415);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function a(e){let[t,n]=(0,u.useState)(e),o=(0,u.useRef)(null),a=(0,i.Cc)(t),c=(0,u.useCallback)(e=>{o.current=e},[]);return s&&(l.has(a)&&!l.get(a).includes(c)?l.set(a,[...l.get(a),c]):l.set(a,[c])),(0,r.N)(()=>()=>{l.delete(a)},[a]),(0,u.useEffect)(()=>{let e=o.current;e&&(o.current=null,n(e))}),a}function c(e,t){if(e===t)return e;let n=l.get(e);if(n)return n.forEach(e=>e(t)),t;let r=l.get(t);return r?(r.forEach(t=>t(e)),e):t}function d(e=[]){let t=a(),[n,i]=function(e){let[t,n]=(0,u.useState)(e),i=(0,u.useRef)(null),s=(0,o.J)(()=>{if(!i.current)return;let e=i.current.next();if(e.done){i.current=null;return}t===e.value?s():n(e.value)});(0,r.N)(()=>{i.current&&s()});let l=(0,o.J)(e=>{i.current=e(t),s()});return[t,l]}(t),s=(0,u.useCallback)(()=>{i(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,i]);return(0,r.N)(s,[t,s,...e]),n}},49953:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(96540);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{}},83908:(e,t,n)=>{n.d(t,{U:()=>o});var r=n(96540);function o(e){let t=(0,r.useRef)(null);return(0,r.useMemo)(()=>({get current(){return t.current},set current(value){t.current=value,"function"==typeof e?e(value):e&&(e.current=value)}}),[e])}},6660:(e,t,n)=>{n.d(t,{w:()=>o});var r=n(49953);function o(e,t){(0,r.N)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},8356:(e,t,n)=>{n.d(t,{P:()=>o});var r=n(96540);function o(e,t,n){let[o,u]=(0,r.useState)(e||t),i=(0,r.useRef)(void 0!==e),s=void 0!==e;(0,r.useEffect)(()=>{let e=i.current;e!==s&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),i.current=s},[s]);let l=s?e:o,a=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(l,e)&&n(e,...t),s||(l=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"),u((n,...o)=>{let u=e(s?l:n,...o);return(r(u,...t),s)?n:u})):(s||u(e),r(e,...t))},[s,l,n]);return[l,a]}},5933:(e,t,n)=>{n.d(t,{CC:()=>d,JT:()=>f,Kq:()=>a,SK:()=>p,Sl:()=>c,_E:()=>v});var r=n(83908),o=n(17099),u=n(56606),i=n(49953),s=n(96540);let l=Symbol("default");function a({values:e,children:t}){for(let[n,r]of e)t=s.createElement(n.Provider,{value:r},t);return t}function c(e){let{className:t,style:n,children:r,defaultClassName:o,defaultChildren:u,defaultStyle:i,values:l}=e;return(0,s.useMemo)(()=>{let e,s,a;return e="function"==typeof t?t({...l,defaultClassName:o}):t,s="function"==typeof n?n({...l,defaultStyle:i||{}}):n,a="function"==typeof r?r({...l,defaultChildren:u}):null==r?u:r,{className:null!=e?e:o,style:s||i?{...i,...s}:void 0,children:null!=a?a:u,"data-rac":""}},[t,n,r,o,u,i,l])}function d(e,t){let n=(0,s.useContext)(e);if(null===t)return null;if(n&&"object"==typeof n&&"slots"in n&&n.slots){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`));if(!t&&!n.slots[l])throw Error(`A slot prop is required. Valid slot names are ${e}.`);let r=t||l;if(!n.slots[r])throw Error(`Invalid slot "${t}". Valid slot names are ${e}.`);return n.slots[r]}return n}function f(e,t,n){let{ref:i,...l}=d(n,e.slot)||{},a=(0,r.U)((0,s.useMemo)(()=>(0,o.P)(t,i),[t,i])),c=(0,u.v)(l,e);return"style"in l&&l.style&&"style"in e&&e.style&&("function"==typeof l.style||"function"==typeof e.style?c.style=t=>{let n="function"==typeof l.style?l.style(t):l.style,r={...t.defaultStyle,...n},o="function"==typeof e.style?e.style({...t,defaultStyle:r}):e.style;return{...r,...o}}:c.style={...l.style,...e.style}),[c,a]}function v(){let[e,t]=(0,s.useState)(!0),n=(0,s.useRef)(!1),r=(0,s.useCallback)(e=>{n.current=!0,t(!!e)},[]);return(0,i.N)(()=>{n.current||t(!1)},[]),[r,e]}function p(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}}}]);