diff --git a/frontend-tools/chapters-editor/client/public/audio-poster.jpg b/frontend-tools/chapters-editor/client/public/audio-poster.jpg new file mode 100644 index 00000000..0c6bb5c1 Binary files /dev/null and b/frontend-tools/chapters-editor/client/public/audio-poster.jpg differ diff --git a/frontend-tools/chapters-editor/client/src/components/IOSVideoPlayer.tsx b/frontend-tools/chapters-editor/client/src/components/IOSVideoPlayer.tsx index 361d406f..03dccd65 100644 --- a/frontend-tools/chapters-editor/client/src/components/IOSVideoPlayer.tsx +++ b/frontend-tools/chapters-editor/client/src/components/IOSVideoPlayer.tsx @@ -11,6 +11,7 @@ interface IOSVideoPlayerProps { const IOSVideoPlayer = ({ videoRef, currentTime, duration }: IOSVideoPlayerProps) => { const [videoUrl, setVideoUrl] = useState(''); const [iosVideoRef, setIosVideoRef] = useState(null); + const [posterImage, setPosterImage] = useState(undefined); // Refs for hold-to-continue functionality const incrementIntervalRef = useRef(null); @@ -26,15 +27,24 @@ const IOSVideoPlayer = ({ videoRef, currentTime, duration }: IOSVideoPlayerProps // Get the video source URL from the main player useEffect(() => { + let url = ''; if (videoRef.current && videoRef.current.querySelector('source')) { const source = videoRef.current.querySelector('source') as HTMLSourceElement; if (source && source.src) { - setVideoUrl(source.src); + url = source.src; } } else { // Fallback to sample video if needed - setVideoUrl('/videos/sample-video.mp4'); + url = '/videos/sample-video.mp4'; } + setVideoUrl(url); + + // Check if the media is an audio file and set poster image + const isAudioFile = url.match(/\.(mp3|wav|ogg|m4a|aac|flac)$/i) !== null; + + // Get posterUrl from MEDIA_DATA, or use audio-poster.jpg as fallback for audio files when posterUrl is empty + const mediaPosterUrl = (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.posterUrl) || ''; + setPosterImage(mediaPosterUrl || (isAudioFile ? '/audio-poster.jpg' : undefined)); }, [videoRef]); // Function to jump 15 seconds backward @@ -127,6 +137,7 @@ const IOSVideoPlayer = ({ videoRef, currentTime, duration }: IOSVideoPlayerProps x-webkit-airplay="allow" preload="auto" crossOrigin="anonymous" + poster={posterImage} >

Your browser doesn't support HTML5 video.

diff --git a/frontend-tools/chapters-editor/client/src/components/VideoPlayer.tsx b/frontend-tools/chapters-editor/client/src/components/VideoPlayer.tsx index c04d5216..3313f279 100644 --- a/frontend-tools/chapters-editor/client/src/components/VideoPlayer.tsx +++ b/frontend-tools/chapters-editor/client/src/components/VideoPlayer.tsx @@ -38,6 +38,13 @@ const VideoPlayer: React.FC = ({ const sampleVideoUrl = (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.videoUrl) || '/videos/sample-video.mp4'; + // Check if the media is an audio file + const isAudioFile = sampleVideoUrl.match(/\.(mp3|wav|ogg|m4a|aac|flac)$/i) !== null; + + // Get posterUrl from MEDIA_DATA, or use audio-poster.jpg as fallback for audio files when posterUrl is empty + const mediaPosterUrl = (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.posterUrl) || ''; + const posterImage = mediaPosterUrl || (isAudioFile ? '/audio-poster.jpg' : undefined); + // Detect iOS device and Safari browser useEffect(() => { const checkIOS = () => { @@ -354,6 +361,7 @@ const VideoPlayer: React.FC = ({ x-webkit-airplay="allow" controls={false} muted={isMuted} + poster={posterImage} > {/* Safari fallback for audio files */} diff --git a/frontend-tools/chapters-editor/client/src/main.tsx b/frontend-tools/chapters-editor/client/src/main.tsx index 9aa9ed7f..6d48884c 100644 --- a/frontend-tools/chapters-editor/client/src/main.tsx +++ b/frontend-tools/chapters-editor/client/src/main.tsx @@ -6,6 +6,7 @@ if (typeof window !== 'undefined') { window.MEDIA_DATA = { videoUrl: '', mediaId: '', + posterUrl: '' }; window.lastSeekedPosition = 0; } @@ -15,6 +16,7 @@ declare global { MEDIA_DATA: { videoUrl: string; mediaId: string; + posterUrl?: string; }; seekToFunction?: (time: number) => void; lastSeekedPosition: number; diff --git a/frontend-tools/video-editor/client/public/audio-poster.jpg b/frontend-tools/video-editor/client/public/audio-poster.jpg new file mode 100644 index 00000000..0c6bb5c1 Binary files /dev/null and b/frontend-tools/video-editor/client/public/audio-poster.jpg differ diff --git a/frontend-tools/video-editor/client/src/components/IOSVideoPlayer.tsx b/frontend-tools/video-editor/client/src/components/IOSVideoPlayer.tsx index 361d406f..2db270ae 100644 --- a/frontend-tools/video-editor/client/src/components/IOSVideoPlayer.tsx +++ b/frontend-tools/video-editor/client/src/components/IOSVideoPlayer.tsx @@ -11,6 +11,7 @@ interface IOSVideoPlayerProps { const IOSVideoPlayer = ({ videoRef, currentTime, duration }: IOSVideoPlayerProps) => { const [videoUrl, setVideoUrl] = useState(''); const [iosVideoRef, setIosVideoRef] = useState(null); + const [posterImage, setPosterImage] = useState(undefined); // Refs for hold-to-continue functionality const incrementIntervalRef = useRef(null); @@ -26,15 +27,24 @@ const IOSVideoPlayer = ({ videoRef, currentTime, duration }: IOSVideoPlayerProps // Get the video source URL from the main player useEffect(() => { + let url = ''; if (videoRef.current && videoRef.current.querySelector('source')) { const source = videoRef.current.querySelector('source') as HTMLSourceElement; if (source && source.src) { - setVideoUrl(source.src); + url = source.src; } } else { // Fallback to sample video if needed - setVideoUrl('/videos/sample-video.mp4'); + url = '/videos/sample-video.mp3'; } + setVideoUrl(url); + + // Check if the media is an audio file and set poster image + const isAudioFile = url.match(/\.(mp3|wav|ogg|m4a|aac|flac)$/i) !== null; + + // Get posterUrl from MEDIA_DATA, or use audio-poster.jpg as fallback for audio files when posterUrl is empty + const mediaPosterUrl = (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.posterUrl) || ''; + setPosterImage(mediaPosterUrl || (isAudioFile ? '/audio-poster.jpg' : undefined)); }, [videoRef]); // Function to jump 15 seconds backward @@ -127,6 +137,7 @@ const IOSVideoPlayer = ({ videoRef, currentTime, duration }: IOSVideoPlayerProps x-webkit-airplay="allow" preload="auto" crossOrigin="anonymous" + poster={posterImage} >

Your browser doesn't support HTML5 video.

diff --git a/frontend-tools/video-editor/client/src/components/VideoPlayer.tsx b/frontend-tools/video-editor/client/src/components/VideoPlayer.tsx index fbe2bd00..3e49c8db 100644 --- a/frontend-tools/video-editor/client/src/components/VideoPlayer.tsx +++ b/frontend-tools/video-editor/client/src/components/VideoPlayer.tsx @@ -36,7 +36,14 @@ const VideoPlayer: React.FC = ({ const [tooltipTime, setTooltipTime] = useState(0); const sampleVideoUrl = - (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.videoUrl) || '/videos/sample-video.mp4'; + (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.videoUrl) || '/videos/sample-video.mp3'; + + // Check if the media is an audio file + const isAudioFile = sampleVideoUrl.match(/\.(mp3|wav|ogg|m4a|aac|flac)$/i) !== null; + + // Get posterUrl from MEDIA_DATA, or use audio-poster.jpg as fallback for audio files when posterUrl is empty + const mediaPosterUrl = (typeof window !== 'undefined' && (window as any).MEDIA_DATA?.posterUrl) || ''; + const posterImage = mediaPosterUrl || (isAudioFile ? '/audio-poster.jpg' : undefined); // Detect iOS device useEffect(() => { @@ -344,6 +351,7 @@ const VideoPlayer: React.FC = ({ x-webkit-airplay="allow" controls={false} muted={isMuted} + poster={posterImage} >

Your browser doesn't support HTML5 video.

diff --git a/static/chapters_editor/audio-poster.jpg b/static/chapters_editor/audio-poster.jpg new file mode 100644 index 00000000..0c6bb5c1 Binary files /dev/null and b/static/chapters_editor/audio-poster.jpg differ diff --git a/static/chapters_editor/chapters-editor.js b/static/chapters_editor/chapters-editor.js index aa5f1d11..221a7ab3 100644 --- a/static/chapters_editor/chapters-editor.js +++ b/static/chapters_editor/chapters-editor.js @@ -6,29 +6,29 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var ee="18.3.1",Le=Symbol.for("react.element"),je=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),Rt=Symbol.for("react.profiler"),ve=Symbol.for("react.provider"),he=Symbol.for("react.context"),st=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),Ue=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),oe=Symbol.for("react.offscreen"),Wt=Symbol.iterator,vt="@@iterator";function Fe(s){if(s===null||typeof s!="object")return null;var m=Wt&&s[Wt]||s[vt];return typeof m=="function"?m:null}var De={current:null},Ke={transition:null},O={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Xe={current:null},W={},Bt=null;function We(s){Bt=s}W.setExtraStackFrame=function(s){Bt=s},W.getCurrentStack=null,W.getStackAddendum=function(){var s="";Bt&&(s+=Bt);var m=W.getCurrentStack;return m&&(s+=m()||""),s};var Et=!1,At=!1,Re=!1,Q=!1,Ze=!1,te={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:Ke,ReactCurrentOwner:Xe};te.ReactDebugCurrentFrame=W,te.ReactCurrentActQueue=O;function pe(s){{for(var m=arguments.length,D=new Array(m>1?m-1:0),A=1;A1?m-1:0),A=1;A1){for(var Pt=Array(_t),Yt=0;Yt<_t;Yt++)Pt[Yt]=arguments[Yt+2];Object.freeze&&Object.freeze(Pt),K.children=Pt}if(s&&s.defaultProps){var tt=s.defaultProps;for(A in tt)K[A]===void 0&&(K[A]=tt[A])}if(Ne||Se){var Jt=typeof s=="function"?s.displayName||s.name||"Unknown":s;Ne&&Gt(K,Jt),Se&&mn(K,Jt)}return ge(s,Ne,Se,Ye,it,Xe.current,K)}function dt(s,m){var D=ge(s.type,m,s.ref,s._self,s._source,s._owner,s.props);return D}function Dt(s,m,D){if(s==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var A,K=$t({},s.props),Ne=s.key,Se=s.ref,Ye=s._self,it=s._source,_t=s._owner;if(m!=null){Be(m)&&(Se=m.ref,_t=Xe.current),rt(m)&&(va(m.key),Ne=""+m.key);var Pt;s.type&&s.type.defaultProps&&(Pt=s.type.defaultProps);for(A in m)ne.call(m,A)&&!we.hasOwnProperty(A)&&(m[A]===void 0&&Pt!==void 0?K[A]=Pt[A]:K[A]=m[A])}var Yt=arguments.length-2;if(Yt===1)K.children=D;else if(Yt>1){for(var tt=Array(Yt),Jt=0;Jt is not supported and will be removed in a future major release. Did you mean to render instead?")),m.Provider},set:function(Se){m.Provider=Se}},_currentValue:{get:function(){return m._currentValue},set:function(Se){m._currentValue=Se}},_currentValue2:{get:function(){return m._currentValue2},set:function(Se){m._currentValue2=Se}},_threadCount:{get:function(){return m._threadCount},set:function(Se){m._threadCount=Se}},Consumer:{get:function(){return D||(D=!0,Y("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),m.Consumer}},displayName:{get:function(){return m.displayName},set:function(Se){K||(pe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Se),K=!0)}}}),m.Consumer=Ne}return m._currentRenderer=null,m._currentRenderer2=null,m}var hn=-1,yn=0,ea=1,ta=2;function Rr(s){if(s._status===hn){var m=s._result,D=m();if(D.then(function(Ne){if(s._status===yn||s._status===hn){var Se=s;Se._status=ea,Se._result=Ne}},function(Ne){if(s._status===yn||s._status===hn){var Se=s;Se._status=ta,Se._result=Ne}}),s._status===hn){var A=s;A._status=yn,A._result=D}}if(s._status===ea){var K=s._result;return K===void 0&&Y(`lazy: Expected the result of a dynamic import() call. Instead received: %s + */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var J="18.3.1",Me=Symbol.for("react.element"),Ne=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),kt=Symbol.for("react.profiler"),de=Symbol.for("react.provider"),pe=Symbol.for("react.context"),dt=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),je=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),re=Symbol.for("react.offscreen"),qt=Symbol.iterator,yt="@@iterator";function Fe(s){if(s===null||typeof s!="object")return null;var m=qt&&s[qt]||s[yt];return typeof m=="function"?m:null}var De={current:null},Ze={transition:null},O={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Qe={current:null},I={},Gt=null;function Xe(s){Gt=s}I.setExtraStackFrame=function(s){Gt=s},I.getCurrentStack=null,I.getStackAddendum=function(){var s="";Gt&&(s+=Gt);var m=I.getCurrentStack;return m&&(s+=m()||""),s};var xt=!1,Vt=!1,Ce=!1,G=!1,et=!1,Z={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:Ze,ReactCurrentOwner:Qe};Z.ReactDebugCurrentFrame=I,Z.ReactCurrentActQueue=O;function pt(s){{for(var m=arguments.length,D=new Array(m>1?m-1:0),A=1;A1?m-1:0),A=1;A1){for(var Yt=Array(Ot),It=0;It1){for(var rt=Array(It),en=0;en is not supported and will be removed in a future major release. Did you mean to render instead?")),m.Provider},set:function(be){m.Provider=be}},_currentValue:{get:function(){return m._currentValue},set:function(be){m._currentValue=be}},_currentValue2:{get:function(){return m._currentValue2},set:function(be){m._currentValue2=be}},_threadCount:{get:function(){return m._threadCount},set:function(be){m._threadCount=be}},Consumer:{get:function(){return D||(D=!0,he("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),m.Consumer}},displayName:{get:function(){return m.displayName},set:function(be){X||(pt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",be),X=!0)}}}),m.Consumer=Ae}return m._currentRenderer=null,m._currentRenderer2=null,m}var yn=-1,gn=0,ea=1,ta=2;function Rr(s){if(s._status===yn){var m=s._result,D=m();if(D.then(function(Ae){if(s._status===gn||s._status===yn){var be=s;be._status=ea,be._result=Ae}},function(Ae){if(s._status===gn||s._status===yn){var be=s;be._status=ta,be._result=Ae}}),s._status===yn){var A=s;A._status=gn,A._result=D}}if(s._status===ea){var X=s._result;return X===void 0&&he(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent')) -Did you accidentally put curly braces around the import?`,K),"default"in K||Y(`lazy: Expected the result of a dynamic import() call. Instead received: %s +Did you accidentally put curly braces around the import?`,X),"default"in X||he(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: - const MyComponent = lazy(() => import('./MyComponent'))`,K),K.default}else throw s._result}function wr(s){var m={_status:hn,_result:s},D={$$typeof:ye,_payload:m,_init:Rr};{var A,K;Object.defineProperties(D,{defaultProps:{configurable:!0,get:function(){return A},set:function(Ne){Y("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),A=Ne,Object.defineProperty(D,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return K},set:function(Ne){Y("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),K=Ne,Object.defineProperty(D,"propTypes",{enumerable:!0})}}})}return D}function Dr(s){s!=null&&s.$$typeof===ie?Y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?Y("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&Y("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&Y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var m={$$typeof:st,render:s};{var D;Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return D},set:function(A){D=A,!s.name&&!s.displayName&&(s.displayName=A)}})}return m}var h;h=Symbol.for("react.module.reference");function z(s){return!!(typeof s=="string"||typeof s=="function"||s===I||s===Rt||Ze||s===c||s===re||s===Ue||Q||s===oe||Et||At||Re||typeof s=="object"&&s!==null&&(s.$$typeof===ye||s.$$typeof===ie||s.$$typeof===ve||s.$$typeof===he||s.$$typeof===st||s.$$typeof===h||s.getModuleId!==void 0))}function J(s,m){z(s)||Y("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var D={$$typeof:ie,type:s,compare:m===void 0?null:m};{var A;Object.defineProperty(D,"displayName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(K){A=K,!s.name&&!s.displayName&&(s.displayName=K)}})}return D}function me(){var s=De.current;return s===null&&Y(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: + const MyComponent = lazy(() => import('./MyComponent'))`,X),X.default}else throw s._result}function wr(s){var m={_status:yn,_result:s},D={$$typeof:me,_payload:m,_init:Rr};{var A,X;Object.defineProperties(D,{defaultProps:{configurable:!0,get:function(){return A},set:function(Ae){he("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),A=Ae,Object.defineProperty(D,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return X},set:function(Ae){he("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),X=Ae,Object.defineProperty(D,"propTypes",{enumerable:!0})}}})}return D}function Dr(s){s!=null&&s.$$typeof===ae?he("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?he("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&he("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&he("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var m={$$typeof:dt,render:s};{var D;Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return D},set:function(A){D=A,!s.name&&!s.displayName&&(s.displayName=A)}})}return m}var h;h=Symbol.for("react.module.reference");function z(s){return!!(typeof s=="string"||typeof s=="function"||s===P||s===kt||et||s===c||s===ne||s===je||G||s===re||xt||Vt||Ce||typeof s=="object"&&s!==null&&(s.$$typeof===me||s.$$typeof===ae||s.$$typeof===de||s.$$typeof===pe||s.$$typeof===dt||s.$$typeof===h||s.getModuleId!==void 0))}function Q(s,m){z(s)||he("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var D={$$typeof:ae,type:s,compare:m===void 0?null:m};{var A;Object.defineProperty(D,"displayName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(X){A=X,!s.name&&!s.displayName&&(s.displayName=X)}})}return D}function ve(){var s=De.current;return s===null&&he(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app -See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function et(s){var m=me();if(s._context!==void 0){var D=s._context;D.Consumer===s?Y("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):D.Provider===s&&Y("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(s)}function p(s){var m=me();return m.useState(s)}function E(s,m,D){var A=me();return A.useReducer(s,m,D)}function b(s){var m=me();return m.useRef(s)}function T(s,m){var D=me();return D.useEffect(s,m)}function R(s,m){var D=me();return D.useInsertionEffect(s,m)}function U(s,m){var D=me();return D.useLayoutEffect(s,m)}function S(s,m){var D=me();return D.useCallback(s,m)}function $(s,m){var D=me();return D.useMemo(s,m)}function V(s,m,D){var A=me();return A.useImperativeHandle(s,m,D)}function Te(s,m){{var D=me();return D.useDebugValue(s,m)}}function Ce(){var s=me();return s.useTransition()}function Ae(s){var m=me();return m.useDeferredValue(s)}function ct(){var s=me();return s.useId()}function Qt(s,m,D){var A=me();return A.useSyncExternalStore(s,m,D)}var gn=0,_n,_r,Oa,kn,lr,Hn,Vt;function na(){}na.__reactDisabledLog=!0;function ur(){{if(gn===0){_n=console.log,_r=console.info,Oa=console.warn,kn=console.error,lr=console.group,Hn=console.groupCollapsed,Vt=console.groupEnd;var s={configurable:!0,enumerable:!0,value:na,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}gn++}}function Pa(){{if(gn--,gn===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$t({},s,{value:_n}),info:$t({},s,{value:_r}),warn:$t({},s,{value:Oa}),error:$t({},s,{value:kn}),group:$t({},s,{value:lr}),groupCollapsed:$t({},s,{value:Hn}),groupEnd:$t({},s,{value:Vt})})}gn<0&&Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var sr=te.ReactCurrentDispatcher,qn;function pa(s,m,D){{if(qn===void 0)try{throw Error()}catch(K){var A=K.stack.trim().match(/\n( *(at )?)/);qn=A&&A[1]||""}return` -`+qn+s}}var cr=!1,ni;{var sn=typeof WeakMap=="function"?WeakMap:Map;ni=new sn}function St(s,m){if(!s||cr)return"";{var D=ni.get(s);if(D!==void 0)return D}var A;cr=!0;var K=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ne;Ne=sr.current,sr.current=null,ur();try{if(m){var Se=function(){throw Error()};if(Object.defineProperty(Se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Se,[])}catch(fn){A=fn}Reflect.construct(s,[],Se)}else{try{Se.call()}catch(fn){A=fn}s.call(Se.prototype)}}else{try{throw Error()}catch(fn){A=fn}s()}}catch(fn){if(fn&&A&&typeof fn.stack=="string"){for(var Ye=fn.stack.split(` -`),it=A.stack.split(` -`),_t=Ye.length-1,Pt=it.length-1;_t>=1&&Pt>=0&&Ye[_t]!==it[Pt];)Pt--;for(;_t>=1&&Pt>=0;_t--,Pt--)if(Ye[_t]!==it[Pt]){if(_t!==1||Pt!==1)do if(_t--,Pt--,Pt<0||Ye[_t]!==it[Pt]){var Yt=` -`+Ye[_t].replace(" at new "," at ");return s.displayName&&Yt.includes("")&&(Yt=Yt.replace("",s.displayName)),typeof s=="function"&&ni.set(s,Yt),Yt}while(_t>=1&&Pt>=0);break}}}finally{cr=!1,sr.current=Ne,Pa(),Error.prepareStackTrace=K}var tt=s?s.displayName||s.name:"",Jt=tt?pa(tt):"";return typeof s=="function"&&ni.set(s,Jt),Jt}function Aa(s,m,D){return St(s,!1)}function Ya(s){var m=s.prototype;return!!(m&&m.isReactComponent)}function Ia(s,m,D){if(s==null)return"";if(typeof s=="function")return St(s,Ya(s));if(typeof s=="string")return pa(s);switch(s){case re:return pa("Suspense");case Ue:return pa("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case st:return Aa(s.render);case ie:return Ia(s.type,m,D);case ye:{var A=s,K=A._payload,Ne=A._init;try{return Ia(Ne(K),m,D)}catch{}}}return""}var qu={},sl=te.ReactDebugCurrentFrame;function yt(s){if(s){var m=s._owner,D=Ia(s.type,s._source,m?m.type:null);sl.setExtraStackFrame(D)}else sl.setExtraStackFrame(null)}function nf(s,m,D,A,K){{var Ne=Function.call.bind(ne);for(var Se in s)if(Ne(s,Se)){var Ye=void 0;try{if(typeof s[Se]!="function"){var it=Error((A||"React class")+": "+D+" type `"+Se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[Se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw it.name="Invariant Violation",it}Ye=s[Se](m,Se,A,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_t){Ye=_t}Ye&&!(Ye instanceof Error)&&(yt(K),Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",A||"React class",D,Se,typeof Ye),yt(null)),Ye instanceof Error&&!(Ye.message in qu)&&(qu[Ye.message]=!0,yt(K),Y("Failed %s type: %s",D,Ye.message),yt(null))}}}function kr(s){if(s){var m=s._owner,D=Ia(s.type,s._source,m?m.type:null);We(D)}else We(null)}var Ge;Ge=!1;function cl(){if(Xe.current){var s=se(Xe.current.type);if(s)return` +See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function nt(s){var m=ve();if(s._context!==void 0){var D=s._context;D.Consumer===s?he("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):D.Provider===s&&he("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(s)}function p(s){var m=ve();return m.useState(s)}function E(s,m,D){var A=ve();return A.useReducer(s,m,D)}function b(s){var m=ve();return m.useRef(s)}function T(s,m){var D=ve();return D.useEffect(s,m)}function R(s,m){var D=ve();return D.useInsertionEffect(s,m)}function U(s,m){var D=ve();return D.useLayoutEffect(s,m)}function S(s,m){var D=ve();return D.useCallback(s,m)}function $(s,m){var D=ve();return D.useMemo(s,m)}function V(s,m,D){var A=ve();return A.useImperativeHandle(s,m,D)}function Se(s,m){{var D=ve();return D.useDebugValue(s,m)}}function xe(){var s=ve();return s.useTransition()}function Oe(s){var m=ve();return m.useDeferredValue(s)}function vt(){var s=ve();return s.useId()}function Jt(s,m,D){var A=ve();return A.useSyncExternalStore(s,m,D)}var bn=0,_n,_r,Oa,kn,lr,Hn,$t;function na(){}na.__reactDisabledLog=!0;function ur(){{if(bn===0){_n=console.log,_r=console.info,Oa=console.warn,kn=console.error,lr=console.group,Hn=console.groupCollapsed,$t=console.groupEnd;var s={configurable:!0,enumerable:!0,value:na,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}bn++}}function Pa(){{if(bn--,bn===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ue({},s,{value:_n}),info:Ue({},s,{value:_r}),warn:Ue({},s,{value:Oa}),error:Ue({},s,{value:kn}),group:Ue({},s,{value:lr}),groupCollapsed:Ue({},s,{value:Hn}),groupEnd:Ue({},s,{value:$t})})}bn<0&&he("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var sr=Z.ReactCurrentDispatcher,qn;function pa(s,m,D){{if(qn===void 0)try{throw Error()}catch(X){var A=X.stack.trim().match(/\n( *(at )?)/);qn=A&&A[1]||""}return` +`+qn+s}}var cr=!1,ni;{var cn=typeof WeakMap=="function"?WeakMap:Map;ni=new cn}function wt(s,m){if(!s||cr)return"";{var D=ni.get(s);if(D!==void 0)return D}var A;cr=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ae;Ae=sr.current,sr.current=null,ur();try{if(m){var be=function(){throw Error()};if(Object.defineProperty(be.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(be,[])}catch(dn){A=dn}Reflect.construct(s,[],be)}else{try{be.call()}catch(dn){A=dn}s.call(be.prototype)}}else{try{throw Error()}catch(dn){A=dn}s()}}catch(dn){if(dn&&A&&typeof dn.stack=="string"){for(var Ye=dn.stack.split(` +`),ut=A.stack.split(` +`),Ot=Ye.length-1,Yt=ut.length-1;Ot>=1&&Yt>=0&&Ye[Ot]!==ut[Yt];)Yt--;for(;Ot>=1&&Yt>=0;Ot--,Yt--)if(Ye[Ot]!==ut[Yt]){if(Ot!==1||Yt!==1)do if(Ot--,Yt--,Yt<0||Ye[Ot]!==ut[Yt]){var It=` +`+Ye[Ot].replace(" at new "," at ");return s.displayName&&It.includes("")&&(It=It.replace("",s.displayName)),typeof s=="function"&&ni.set(s,It),It}while(Ot>=1&&Yt>=0);break}}}finally{cr=!1,sr.current=Ae,Pa(),Error.prepareStackTrace=X}var rt=s?s.displayName||s.name:"",en=rt?pa(rt):"";return typeof s=="function"&&ni.set(s,en),en}function Aa(s,m,D){return wt(s,!1)}function Ya(s){var m=s.prototype;return!!(m&&m.isReactComponent)}function Ia(s,m,D){if(s==null)return"";if(typeof s=="function")return wt(s,Ya(s));if(typeof s=="string")return pa(s);switch(s){case ne:return pa("Suspense");case je:return pa("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case dt:return Aa(s.render);case ae:return Ia(s.type,m,D);case me:{var A=s,X=A._payload,Ae=A._init;try{return Ia(Ae(X),m,D)}catch{}}}return""}var qu={},sl=Z.ReactDebugCurrentFrame;function Tt(s){if(s){var m=s._owner,D=Ia(s.type,s._source,m?m.type:null);sl.setExtraStackFrame(D)}else sl.setExtraStackFrame(null)}function nf(s,m,D,A,X){{var Ae=Function.call.bind(ee);for(var be in s)if(Ae(s,be)){var Ye=void 0;try{if(typeof s[be]!="function"){var ut=Error((A||"React class")+": "+D+" type `"+be+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[be]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ut.name="Invariant Violation",ut}Ye=s[be](m,be,A,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ot){Ye=Ot}Ye&&!(Ye instanceof Error)&&(Tt(X),he("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",A||"React class",D,be,typeof Ye),Tt(null)),Ye instanceof Error&&!(Ye.message in qu)&&(qu[Ye.message]=!0,Tt(X),he("Failed %s type: %s",D,Ye.message),Tt(null))}}}function kr(s){if(s){var m=s._owner,D=Ia(s.type,s._source,m?m.type:null);Xe(D)}else Xe(null)}var Ge;Ge=!1;function cl(){if(Qe.current){var s=le(Qe.current.type);if(s)return` Check the render method of \``+s+"`."}return""}function aa(s){if(s!==void 0){var m=s.fileName.replace(/^.*[\\\/]/,""),D=s.lineNumber;return` Check your code at `+m+":"+D+"."}return""}function Mi(s){return s!=null?aa(s.__source):""}var ai={};function af(s){var m=cl();if(!m){var D=typeof s=="string"?s:s.displayName||s.name;D&&(m=` -Check the top-level render call using <`+D+">.")}return m}function Mn(s,m){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var D=af(m);if(!ai[D]){ai[D]=!0;var A="";s&&s._owner&&s._owner!==Xe.current&&(A=" It was passed a child from "+se(s._owner.type)+"."),kr(s),Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,A),kr(null)}}}function Kt(s,m){if(typeof s=="object"){if(nn(s))for(var D=0;D",K=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof s,Y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Se,K)}var Ye=Ve.apply(this,arguments);if(Ye==null)return Ye;if(A)for(var it=2;it10&&pe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),A._updatedFibers.clear()}}}var dl=!1,uo=null;function of(s){if(uo===null)try{var m=("require"+Math.random()).slice(0,7),D=k&&k[m];uo=D.call(k,"timers").setImmediate}catch{uo=function(K){dl===!1&&(dl=!0,typeof MessageChannel>"u"&&Y("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ne=new MessageChannel;Ne.port1.onmessage=K,Ne.port2.postMessage(void 0)}}return uo(s)}var ri=0,Li=!1;function vl(s){{var m=ri;ri++,O.current===null&&(O.current=[]);var D=O.isBatchingLegacy,A;try{if(O.isBatchingLegacy=!0,A=s(),!D&&O.didScheduleLegacyUpdate){var K=O.current;K!==null&&(O.didScheduleLegacyUpdate=!1,fo(K))}}catch(tt){throw Mr(m),tt}finally{O.isBatchingLegacy=D}if(A!==null&&typeof A=="object"&&typeof A.then=="function"){var Ne=A,Se=!1,Ye={then:function(tt,Jt){Se=!0,Ne.then(function(fn){Mr(m),ri===0?so(fn,tt,Jt):tt(fn)},function(fn){Mr(m),Jt(fn)})}};return!Li&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Se||(Li=!0,Y("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Ye}else{var it=A;if(Mr(m),ri===0){var _t=O.current;_t!==null&&(fo(_t),O.current=null);var Pt={then:function(tt,Jt){O.current===null?(O.current=[],so(it,tt,Jt)):tt(it)}};return Pt}else{var Yt={then:function(tt,Jt){tt(it)}};return Yt}}}}function Mr(s){s!==ri-1&&Y("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ri=s}function so(s,m,D){{var A=O.current;if(A!==null)try{fo(A),of(function(){A.length===0?(O.current=null,m(s)):so(s,m,D)})}catch(K){D(K)}else m(s)}}var co=!1;function fo(s){if(!co){co=!0;var m=0;try{for(;m.")}return m}function Mn(s,m){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var D=af(m);if(!ai[D]){ai[D]=!0;var A="";s&&s._owner&&s._owner!==Qe.current&&(A=" It was passed a child from "+le(s._owner.type)+"."),kr(s),he('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,A),kr(null)}}}function Zt(s,m){if(typeof s=="object"){if(rn(s))for(var D=0;D",X=" Did you accidentally export a JSX literal instead of a component?"):be=typeof s,he("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",be,X)}var Ye=Ve.apply(this,arguments);if(Ye==null)return Ye;if(A)for(var ut=2;ut10&&pt("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),A._updatedFibers.clear()}}}var dl=!1,uo=null;function of(s){if(uo===null)try{var m=("require"+Math.random()).slice(0,7),D=k&&k[m];uo=D.call(k,"timers").setImmediate}catch{uo=function(X){dl===!1&&(dl=!0,typeof MessageChannel>"u"&&he("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ae=new MessageChannel;Ae.port1.onmessage=X,Ae.port2.postMessage(void 0)}}return uo(s)}var ri=0,Li=!1;function vl(s){{var m=ri;ri++,O.current===null&&(O.current=[]);var D=O.isBatchingLegacy,A;try{if(O.isBatchingLegacy=!0,A=s(),!D&&O.didScheduleLegacyUpdate){var X=O.current;X!==null&&(O.didScheduleLegacyUpdate=!1,fo(X))}}catch(rt){throw Mr(m),rt}finally{O.isBatchingLegacy=D}if(A!==null&&typeof A=="object"&&typeof A.then=="function"){var Ae=A,be=!1,Ye={then:function(rt,en){be=!0,Ae.then(function(dn){Mr(m),ri===0?so(dn,rt,en):rt(dn)},function(dn){Mr(m),en(dn)})}};return!Li&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){be||(Li=!0,he("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Ye}else{var ut=A;if(Mr(m),ri===0){var Ot=O.current;Ot!==null&&(fo(Ot),O.current=null);var Yt={then:function(rt,en){O.current===null?(O.current=[],so(ut,rt,en)):rt(ut)}};return Yt}else{var It={then:function(rt,en){rt(ut)}};return It}}}}function Mr(s){s!==ri-1&&he("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ri=s}function so(s,m,D){{var A=O.current;if(A!==null)try{fo(A),of(function(){A.length===0?(O.current=null,m(s)):so(s,m,D)})}catch(X){D(X)}else m(s)}}var co=!1;function fo(s){if(!co){co=!0;var m=0;try{for(;m.")}return m}function Mn(s,m){if(!( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */return function(){var k=Zc(),M=Symbol.for("react.element"),ee=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),je=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),Rt=Symbol.for("react.context"),ve=Symbol.for("react.forward_ref"),he=Symbol.for("react.suspense"),st=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),ye=Symbol.iterator,oe="@@iterator";function Wt(h){if(h===null||typeof h!="object")return null;var z=ye&&h[ye]||h[oe];return typeof z=="function"?z:null}var vt=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Fe(h){{for(var z=arguments.length,J=new Array(z>1?z-1:0),me=1;me1?z-1:0),ve=1;ve=1&&U>=0&&b[R]!==T[U];)U--;for(;R>=1&&U>=0;R--,U--)if(b[R]!==T[U]){if(R!==1||U!==1)do if(R--,U--,U<0||b[R]!==T[U]){var S=` -`+b[R].replace(" at new "," at ");return h.displayName&&S.includes("")&&(S=S.replace("",h.displayName)),typeof h=="function"&&tn.set(h,S),S}while(R>=1&&U>=0);break}}}finally{ft=!1,qt.current=p,xt(),Error.prepareStackTrace=et}var $=h?h.displayName||h.name:"",V=$?jn($):"";return typeof h=="function"&&tn.set(h,V),V}function nn(h,z,J){return Je(h,!1)}function an(h){var z=h.prototype;return!!(z&&z.isReactComponent)}function rn(h,z,J){if(h==null)return"";if(typeof h=="function")return Je(h,an(h));if(typeof h=="string")return jn(h);switch(h){case he:return jn("Suspense");case st:return jn("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case ve:return nn(h.render);case re:return rn(h.type,z,J);case Ue:{var me=h,et=me._payload,p=me._init;try{return rn(p(et),z,J)}catch{}}}return""}var Zt=Object.prototype.hasOwnProperty,va={},L=vt.ReactDebugCurrentFrame;function q(h){if(h){var z=h._owner,J=rn(h.type,h._source,z?z.type:null);L.setExtraStackFrame(J)}else L.setExtraStackFrame(null)}function se(h,z,J,me,et){{var p=Function.call.bind(Zt);for(var E in h)if(p(h,E)){var b=void 0;try{if(typeof h[E]!="function"){var T=Error((me||"React class")+": "+J+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}b=h[E](z,E,me,J,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){b=R}b&&!(b instanceof Error)&&(q(et),Fe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",me||"React class",J,E,typeof b),q(null)),b instanceof Error&&!(b.message in va)&&(va[b.message]=!0,q(et),Fe("Failed %s type: %s",J,b.message),q(null))}}}var ne=Array.isArray;function we(h){return ne(h)}function qe(h){{var z=typeof Symbol=="function"&&Symbol.toStringTag,J=z&&h[Symbol.toStringTag]||h.constructor.name||"Object";return J}}function at(h){try{return ke(h),!1}catch{return!0}}function ke(h){return""+h}function Be(h){if(at(h))return Fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(h)),ke(h)}var rt=vt.ReactCurrentOwner,Gt={key:!0,ref:!0,__self:!0,__source:!0},mn,G;function ge(h){if(Zt.call(h,"ref")){var z=Object.getOwnPropertyDescriptor(h,"ref").get;if(z&&z.isReactWarning)return!1}return h.ref!==void 0}function Ve(h){if(Zt.call(h,"key")){var z=Object.getOwnPropertyDescriptor(h,"key").get;if(z&&z.isReactWarning)return!1}return h.key!==void 0}function dt(h,z){typeof h.ref=="string"&&rt.current}function Dt(h,z){{var J=function(){mn||(mn=!0,Fe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};J.isReactWarning=!0,Object.defineProperty(h,"key",{get:J,configurable:!0})}}function Ht(h,z){{var J=function(){G||(G=!0,Fe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};J.isReactWarning=!0,Object.defineProperty(h,"ref",{get:J,configurable:!0})}}var Nt=function(h,z,J,me,et,p,E){var b={$$typeof:M,type:h,key:z,ref:J,props:E,_owner:p};return b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(b,"_self",{configurable:!1,enumerable:!1,writable:!1,value:me}),Object.defineProperty(b,"_source",{configurable:!1,enumerable:!1,writable:!1,value:et}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b};function Un(h,z,J,me,et){{var p,E={},b=null,T=null;J!==void 0&&(Be(J),b=""+J),Ve(z)&&(Be(z.key),b=""+z.key),ge(z)&&(T=z.ref,dt(z,et));for(p in z)Zt.call(z,p)&&!Gt.hasOwnProperty(p)&&(E[p]=z[p]);if(h&&h.defaultProps){var R=h.defaultProps;for(p in R)E[p]===void 0&&(E[p]=R[p])}if(b||T){var U=typeof h=="function"?h.displayName||h.name||"Unknown":h;b&&Dt(E,U),T&&Ht(E,U)}return Nt(h,b,T,et,me,rt.current,E)}}var zt=vt.ReactCurrentOwner,jt=vt.ReactDebugCurrentFrame;function Ot(h){if(h){var z=h._owner,J=rn(h.type,h._source,z?z.type:null);jt.setExtraStackFrame(J)}else jt.setExtraStackFrame(null)}var $a;$a=!1;function Ta(h){return typeof h=="object"&&h!==null&&h.$$typeof===M}function Ea(){{if(zt.current){var h=Q(zt.current.type);if(h)return` +`+b[R].replace(" at new "," at ");return h.displayName&&S.includes("")&&(S=S.replace("",h.displayName)),typeof h=="function"&&an.set(h,S),S}while(R>=1&&U>=0);break}}}finally{mt=!1,Xt.current=p,_t(),Error.prepareStackTrace=nt}var $=h?h.displayName||h.name:"",V=$?jn($):"";return typeof h=="function"&&an.set(h,V),V}function rn(h,z,Q){return tt(h,!1)}function on(h){var z=h.prototype;return!!(z&&z.isReactComponent)}function ln(h,z,Q){if(h==null)return"";if(typeof h=="function")return tt(h,on(h));if(typeof h=="string")return jn(h);switch(h){case pe:return jn("Suspense");case dt:return jn("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case de:return rn(h.render);case ne:return ln(h.type,z,Q);case je:{var ve=h,nt=ve._payload,p=ve._init;try{return ln(p(nt),z,Q)}catch{}}}return""}var tn=Object.prototype.hasOwnProperty,va={},L=yt.ReactDebugCurrentFrame;function Y(h){if(h){var z=h._owner,Q=ln(h.type,h._source,z?z.type:null);L.setExtraStackFrame(Q)}else L.setExtraStackFrame(null)}function le(h,z,Q,ve,nt){{var p=Function.call.bind(tn);for(var E in h)if(p(h,E)){var b=void 0;try{if(typeof h[E]!="function"){var T=Error((ve||"React class")+": "+Q+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}b=h[E](z,E,ve,Q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){b=R}b&&!(b instanceof Error)&&(Y(nt),Fe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ve||"React class",Q,E,typeof b),Y(null)),b instanceof Error&&!(b.message in va)&&(va[b.message]=!0,Y(nt),Fe("Failed %s type: %s",Q,b.message),Y(null))}}}var ee=Array.isArray;function we(h){return ee(h)}function qe(h){{var z=typeof Symbol=="function"&&Symbol.toStringTag,Q=z&&h[Symbol.toStringTag]||h.constructor.name||"Object";return Q}}function ot(h){try{return _e(h),!1}catch{return!0}}function _e(h){return""+h}function Be(h){if(ot(h))return Fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(h)),_e(h)}var lt=yt.ReactCurrentOwner,Qt={key:!0,ref:!0,__self:!0,__source:!0},hn,W;function ye(h){if(tn.call(h,"ref")){var z=Object.getOwnPropertyDescriptor(h,"ref").get;if(z&&z.isReactWarning)return!1}return h.ref!==void 0}function Ve(h){if(tn.call(h,"key")){var z=Object.getOwnPropertyDescriptor(h,"key").get;if(z&&z.isReactWarning)return!1}return h.key!==void 0}function ht(h,z){typeof h.ref=="string"&<.current}function Lt(h,z){{var Q=function(){hn||(hn=!0,Fe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};Q.isReactWarning=!0,Object.defineProperty(h,"key",{get:Q,configurable:!0})}}function Ft(h,z){{var Q=function(){W||(W=!0,Fe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};Q.isReactWarning=!0,Object.defineProperty(h,"ref",{get:Q,configurable:!0})}}var Ht=function(h,z,Q,ve,nt,p,E){var b={$$typeof:M,type:h,key:z,ref:Q,props:E,_owner:p};return b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(b,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ve}),Object.defineProperty(b,"_source",{configurable:!1,enumerable:!1,writable:!1,value:nt}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b};function Un(h,z,Q,ve,nt){{var p,E={},b=null,T=null;Q!==void 0&&(Be(Q),b=""+Q),Ve(z)&&(Be(z.key),b=""+z.key),ye(z)&&(T=z.ref,ht(z,nt));for(p in z)tn.call(z,p)&&!Qt.hasOwnProperty(p)&&(E[p]=z[p]);if(h&&h.defaultProps){var R=h.defaultProps;for(p in R)E[p]===void 0&&(E[p]=R[p])}if(b||T){var U=typeof h=="function"?h.displayName||h.name||"Unknown":h;b&&Lt(E,U),T&&Ft(E,U)}return Ht(h,b,T,nt,ve,lt.current,E)}}var Bt=yt.ReactCurrentOwner,zt=yt.ReactDebugCurrentFrame;function Ut(h){if(h){var z=h._owner,Q=ln(h.type,h._source,z?z.type:null);zt.setExtraStackFrame(Q)}else zt.setExtraStackFrame(null)}var $a;$a=!1;function Ta(h){return typeof h=="object"&&h!==null&&h.$$typeof===M}function Ea(){{if(Bt.current){var h=G(Bt.current.type);if(h)return` -Check the render method of \``+h+"`."}return""}}function or(h){return""}var La={};function Zr(h){{var z=Ea();if(!z){var J=typeof h=="string"?h:h.displayName||h.name;J&&(z=` +Check the render method of \``+h+"`."}return""}}function or(h){return""}var La={};function Zr(h){{var z=Ea();if(!z){var Q=typeof h=="string"?h:h.displayName||h.name;Q&&(z=` -Check the top-level render call using <`+J+">.")}return z}}function xr(h,z){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var J=Zr(z);if(La[J])return;La[J]=!0;var me="";h&&h._owner&&h._owner!==zt.current&&(me=" It was passed a child from "+Q(h._owner.type)+"."),Ot(h),Fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',J,me),Ot(null)}}function ei(h,z){{if(typeof h!="object")return;if(we(h))for(var J=0;J",b=" Did you accidentally export a JSX literal instead of a component?"):R=typeof h,Fe("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,b)}var U=Un(h,z,J,et,p);if(U==null)return U;if(E){var S=z.children;if(S!==void 0)if(me)if(we(S)){for(var $=0;$0?"{key: someKey, "+Te.join(": ..., ")+": ...}":"{key: someKey}";if(!yn[V+Ce]){var Ae=Te.length>0?"{"+Te.join(": ..., ")+": ...}":"{}";Fe(`A props object containing a "key" prop is being spread into JSX: +Check the top-level render call using <`+Q+">.")}return z}}function xr(h,z){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var Q=Zr(z);if(La[Q])return;La[Q]=!0;var ve="";h&&h._owner&&h._owner!==Bt.current&&(ve=" It was passed a child from "+G(h._owner.type)+"."),Ut(h),Fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Q,ve),Ut(null)}}function ei(h,z){{if(typeof h!="object")return;if(we(h))for(var Q=0;Q",b=" Did you accidentally export a JSX literal instead of a component?"):R=typeof h,Fe("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,b)}var U=Un(h,z,Q,nt,p);if(U==null)return U;if(E){var S=z.children;if(S!==void 0)if(ve)if(we(S)){for(var $=0;$0?"{key: someKey, "+Se.join(": ..., ")+": ...}":"{key: someKey}";if(!gn[V+xe]){var Oe=Se.length>0?"{"+Se.join(": ..., ")+": ...}":"{}";Fe(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; - <%s key={someKey} {...props} />`,Ce,V,Ae,V),yn[V+Ce]=!0}}return h===Le?hn(U):ti(U),U}}function ta(h,z,J){return ea(h,z,J,!0)}function Rr(h,z,J){return ea(h,z,J,!1)}var wr=Rr,Dr=ta;ul.Fragment=Le,ul.jsx=wr,ul.jsxs=Dr}(),ul}cm.exports=jS();var v=cm.exports,pm={exports:{}},ef={exports:{}},tf={},mm;function US(){return mm||(mm=1,function(k){/** + <%s key={someKey} {...props} />`,xe,V,Oe,V),gn[V+xe]=!0}}return h===Me?yn(U):ti(U),U}}function ta(h,z,Q){return ea(h,z,Q,!0)}function Rr(h,z,Q){return ea(h,z,Q,!1)}var wr=Rr,Dr=ta;ul.Fragment=Me,ul.jsx=wr,ul.jsxs=Dr}(),ul}cm.exports=jS();var v=cm.exports,pm={exports:{}},ef={exports:{}},tf={},mm;function US(){return mm||(mm=1,function(k){/** * @license React * scheduler.development.js * @@ -57,7 +57,7 @@ React keys must be passed directly to JSX without using spread: * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var M=!1,ee=5;function Le(G,ge){var Ve=G.length;G.push(ge),c(G,ge,Ve)}function je(G){return G.length===0?null:G[0]}function I(G){if(G.length===0)return null;var ge=G[0],Ve=G.pop();return Ve!==ge&&(G[0]=Ve,Rt(G,Ve,0)),ge}function c(G,ge,Ve){for(var dt=Ve;dt>0;){var Dt=dt-1>>>1,Ht=G[Dt];if(ve(Ht,ge)>0)G[Dt]=ge,G[dt]=Ht,dt=Dt;else return}}function Rt(G,ge,Ve){for(var dt=Ve,Dt=G.length,Ht=Dt>>>1;dtVe&&(!G||L()));){var dt=Re.callback;if(typeof dt=="function"){Re.callback=null,Q=Re.priorityLevel;var Dt=Re.expirationTime<=Ve,Ht=dt(Dt);Ve=k.unstable_now(),typeof Ht=="function"?Re.callback=Ht:Re===je(We)&&I(We),Ct(Ve)}else I(We);Re=je(We)}if(Re!==null)return!0;var Nt=je(Et);return Nt!==null&&Be(Dn,Nt.startTime-Ve),!1}function Ut(G,ge){switch(G){case he:case st:case re:case Ue:case ie:break;default:G=re}var Ve=Q;Q=G;try{return ge()}finally{Q=Ve}}function xt(G){var ge;switch(Q){case he:case st:case re:ge=re;break;default:ge=Q;break}var Ve=Q;Q=ge;try{return G()}finally{Q=Ve}}function qt(G){var ge=Q;return function(){var Ve=Q;Q=ge;try{return G.apply(this,arguments)}finally{Q=Ve}}}function ht(G,ge,Ve){var dt=k.unstable_now(),Dt;if(typeof Ve=="object"&&Ve!==null){var Ht=Ve.delay;typeof Ht=="number"&&Ht>0?Dt=dt+Ht:Dt=dt}else Dt=dt;var Nt;switch(G){case he:Nt=Ke;break;case st:Nt=O;break;case ie:Nt=Bt;break;case Ue:Nt=W;break;case re:default:Nt=Xe;break}var Un=Dt+Nt,zt={id:At++,callback:ge,priorityLevel:G,startTime:Dt,expirationTime:Un,sortIndex:-1};return Dt>dt?(zt.sortIndex=Dt,Le(Et,zt),je(We)===null&&zt===je(Et)&&(pe?rt():pe=!0,Be(Dn,Dt-dt))):(zt.sortIndex=Un,Le(We,zt),!te&&!Ze&&(te=!0,ke($t))),zt}function jn(){}function ft(){!te&&!Ze&&(te=!0,ke($t))}function tn(){return je(We)}function wt(G){G.callback=null}function Je(){return Q}var nn=!1,an=null,rn=-1,Zt=ee,va=-1;function L(){var G=k.unstable_now()-va;return!(G125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}G>0?Zt=Math.floor(1e3/G):Zt=ee}var ne=function(){if(an!==null){var G=k.unstable_now();va=G;var ge=!0,Ve=!0;try{Ve=an(ge,G)}finally{Ve?we():(nn=!1,an=null)}}else nn=!1},we;if(typeof _e=="function")we=function(){_e(ne)};else if(typeof MessageChannel<"u"){var qe=new MessageChannel,at=qe.port2;qe.port1.onmessage=ne,we=function(){at.postMessage(null)}}else we=function(){Y(ne,0)};function ke(G){an=G,nn||(nn=!0,we())}function Be(G,ge){rn=Y(function(){G(k.unstable_now())},ge)}function rt(){P(rn),rn=-1}var Gt=q,mn=null;k.unstable_IdlePriority=ie,k.unstable_ImmediatePriority=he,k.unstable_LowPriority=Ue,k.unstable_NormalPriority=re,k.unstable_Profiling=mn,k.unstable_UserBlockingPriority=st,k.unstable_cancelCallback=wt,k.unstable_continueExecution=ft,k.unstable_forceFrameRate=se,k.unstable_getCurrentPriorityLevel=Je,k.unstable_getFirstCallbackNode=tn,k.unstable_next=xt,k.unstable_pauseExecution=jn,k.unstable_requestPaint=Gt,k.unstable_runWithPriority=Ut,k.unstable_scheduleCallback=ht,k.unstable_shouldYield=L,k.unstable_wrapCallback=qt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}(tf)),tf}var hm;function HS(){return hm||(hm=1,ef.exports=US()),ef.exports}var da={},ym;function zS(){if(ym)return da;ym=1;/** + */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var M=!1,J=5;function Me(W,ye){var Ve=W.length;W.push(ye),c(W,ye,Ve)}function Ne(W){return W.length===0?null:W[0]}function P(W){if(W.length===0)return null;var ye=W[0],Ve=W.pop();return Ve!==ye&&(W[0]=Ve,kt(W,Ve,0)),ye}function c(W,ye,Ve){for(var ht=Ve;ht>0;){var Lt=ht-1>>>1,Ft=W[Lt];if(de(Ft,ye)>0)W[Lt]=ye,W[ht]=Ft,ht=Lt;else return}}function kt(W,ye,Ve){for(var ht=Ve,Lt=W.length,Ft=Lt>>>1;htVe&&(!W||L()));){var ht=Ce.callback;if(typeof ht=="function"){Ce.callback=null,G=Ce.priorityLevel;var Lt=Ce.expirationTime<=Ve,Ft=ht(Lt);Ve=k.unstable_now(),typeof Ft=="function"?Ce.callback=Ft:Ce===Ne(Xe)&&P(Xe),Te(Ve)}else P(Xe);Ce=Ne(Xe)}if(Ce!==null)return!0;var Ht=Ne(xt);return Ht!==null&&Be(We,Ht.startTime-Ve),!1}function Rt(W,ye){switch(W){case pe:case dt:case ne:case je:case ae:break;default:W=ne}var Ve=G;G=W;try{return ye()}finally{G=Ve}}function _t(W){var ye;switch(G){case pe:case dt:case ne:ye=ne;break;default:ye=G;break}var Ve=G;G=ye;try{return W()}finally{G=Ve}}function Xt(W){var ye=G;return function(){var Ve=G;G=ye;try{return W.apply(this,arguments)}finally{G=Ve}}}function St(W,ye,Ve){var ht=k.unstable_now(),Lt;if(typeof Ve=="object"&&Ve!==null){var Ft=Ve.delay;typeof Ft=="number"&&Ft>0?Lt=ht+Ft:Lt=ht}else Lt=ht;var Ht;switch(W){case pe:Ht=Ze;break;case dt:Ht=O;break;case ae:Ht=Gt;break;case je:Ht=I;break;case ne:default:Ht=Qe;break}var Un=Lt+Ht,Bt={id:Vt++,callback:ye,priorityLevel:W,startTime:Lt,expirationTime:Un,sortIndex:-1};return Lt>ht?(Bt.sortIndex=Lt,Me(xt,Bt),Ne(Xe)===null&&Bt===Ne(xt)&&(pt?lt():pt=!0,Be(We,Lt-ht))):(Bt.sortIndex=Un,Me(Xe,Bt),!Z&&!et&&(Z=!0,_e(Ue))),Bt}function jn(){}function mt(){!Z&&!et&&(Z=!0,_e(Ue))}function an(){return Ne(Xe)}function Mt(W){W.callback=null}function tt(){return G}var rn=!1,on=null,ln=-1,tn=J,va=-1;function L(){var W=k.unstable_now()-va;return!(W125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}W>0?tn=Math.floor(1e3/W):tn=J}var ee=function(){if(on!==null){var W=k.unstable_now();va=W;var ye=!0,Ve=!0;try{Ve=on(ye,W)}finally{Ve?we():(rn=!1,on=null)}}else rn=!1},we;if(typeof Ke=="function")we=function(){Ke(ee)};else if(typeof MessageChannel<"u"){var qe=new MessageChannel,ot=qe.port2;qe.port1.onmessage=ee,we=function(){ot.postMessage(null)}}else we=function(){he(ee,0)};function _e(W){on=W,rn||(rn=!0,we())}function Be(W,ye){ln=he(function(){W(k.unstable_now())},ye)}function lt(){se(ln),ln=-1}var Qt=Y,hn=null;k.unstable_IdlePriority=ae,k.unstable_ImmediatePriority=pe,k.unstable_LowPriority=je,k.unstable_NormalPriority=ne,k.unstable_Profiling=hn,k.unstable_UserBlockingPriority=dt,k.unstable_cancelCallback=Mt,k.unstable_continueExecution=mt,k.unstable_forceFrameRate=le,k.unstable_getCurrentPriorityLevel=tt,k.unstable_getFirstCallbackNode=an,k.unstable_next=_t,k.unstable_pauseExecution=jn,k.unstable_requestPaint=Qt,k.unstable_runWithPriority=Rt,k.unstable_scheduleCallback=St,k.unstable_shouldYield=L,k.unstable_wrapCallback=Xt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}(tf)),tf}var hm;function HS(){return hm||(hm=1,ef.exports=US()),ef.exports}var da={},ym;function zS(){if(ym)return da;ym=1;/** * @license React * react-dom.development.js * @@ -65,15 +65,15 @@ React keys must be passed directly to JSX without using spread: * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */return function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var k=Zc(),M=HS(),ee=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Le=!1;function je(e){Le=e}function I(e){if(!Le){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a1?t-1:0),a=1;a2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Nt(e,t,n,a){if(n!==null&&n.type===we)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function Un(e,t,n,a){if(t===null||typeof t>"u"||Nt(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case ke:return!t;case Be:return t===!1;case rt:return isNaN(t);case Gt:return isNaN(t)||t<1}return!1}function zt(e){return Ot.hasOwnProperty(e)?Ot[e]:null}function jt(e,t,n,a,r,i,o){this.acceptsBooleans=t===at||t===ke||t===Be,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Ot={},$a=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$a.forEach(function(e){Ot[e]=new jt(e,we,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];Ot[t]=new jt(t,qe,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ot[e]=new jt(e,at,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ot[e]=new jt(e,at,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Ot[e]=new jt(e,ke,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ot[e]=new jt(e,ke,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ot[e]=new jt(e,Be,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ot[e]=new jt(e,Gt,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ot[e]=new jt(e,rt,!1,e.toLowerCase(),null,!1,!1)});var Ta=/[\-\:]([a-z])/g,Ea=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Ta,Ea);Ot[t]=new jt(t,qe,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Ta,Ea);Ot[t]=new jt(t,qe,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ta,Ea);Ot[t]=new jt(t,qe,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ot[e]=new jt(e,qe,!1,e.toLowerCase(),null,!1,!1)});var or="xlinkHref";Ot[or]=new jt("xlinkHref",qe,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ot[e]=new jt(e,qe,!1,e.toLowerCase(),null,!0,!0)});var La=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Zr=!1;function xr(e){!Zr&&La.test(e)&&(Zr=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ei(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{Zt(n,t),a.sanitizeURL&&xr(""+n);var i=a.attributeName,o=null;if(a.type===Be){if(e.hasAttribute(i)){var l=e.getAttribute(i);return l===""?!0:Un(t,n,a,!1)?l:l===""+n?n:l}}else if(e.hasAttribute(i)){if(Un(t,n,a,!1))return e.getAttribute(i);if(a.type===ke)return n;o=e.getAttribute(i)}return Un(t,n,a,!1)?o===null?n:o:o===""+n?n:o}}function ti(e,t,n,a){{if(!Dt(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return Zt(n,t),r===""+n?n:r}}function hn(e,t,n,a){var r=zt(t);if(!Ht(t,r,a)){if(Un(t,n,r,a)&&(n=null),a||r===null){if(Dt(t)){var i=t;n===null?e.removeAttribute(i):(Zt(n,t),e.setAttribute(i,""+n))}return}var o=r.mustUseProperty;if(o){var l=r.propertyName;if(n===null){var u=r.type;e[l]=u===ke?!1:""}else e[l]=n;return}var f=r.attributeName,d=r.attributeNamespace;if(n===null)e.removeAttribute(f);else{var g=r.type,y;g===ke||g===Be&&n===!0?y="":(Zt(n,f),y=""+n,r.sanitizeURL&&xr(y.toString())),d?e.setAttributeNS(d,f,y):e.setAttribute(f,y)}}}var yn=Symbol.for("react.element"),ea=Symbol.for("react.portal"),ta=Symbol.for("react.fragment"),Rr=Symbol.for("react.strict_mode"),wr=Symbol.for("react.profiler"),Dr=Symbol.for("react.provider"),h=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),me=Symbol.for("react.suspense_list"),et=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),E=Symbol.for("react.scope"),b=Symbol.for("react.debug_trace_mode"),T=Symbol.for("react.offscreen"),R=Symbol.for("react.legacy_hidden"),U=Symbol.for("react.cache"),S=Symbol.for("react.tracing_marker"),$=Symbol.iterator,V="@@iterator";function Te(e){if(e===null||typeof e!="object")return null;var t=$&&e[$]||e[V];return typeof t=="function"?t:null}var Ce=Object.assign,Ae=0,ct,Qt,gn,_n,_r,Oa,kn;function lr(){}lr.__reactDisabledLog=!0;function Hn(){{if(Ae===0){ct=console.log,Qt=console.info,gn=console.warn,_n=console.error,_r=console.group,Oa=console.groupCollapsed,kn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:lr,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ae++}}function Vt(){{if(Ae--,Ae===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ce({},e,{value:ct}),info:Ce({},e,{value:Qt}),warn:Ce({},e,{value:gn}),error:Ce({},e,{value:_n}),group:Ce({},e,{value:_r}),groupCollapsed:Ce({},e,{value:Oa}),groupEnd:Ce({},e,{value:kn})})}Ae<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var na=ee.ReactCurrentDispatcher,ur;function Pa(e,t,n){{if(ur===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);ur=a&&a[1]||""}return` + */return function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var k=Zc(),M=HS(),J=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Me=!1;function Ne(e){Me=e}function P(e){if(!Me){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a1?t-1:0),a=1;a2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Ht(e,t,n,a){if(n!==null&&n.type===we)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function Un(e,t,n,a){if(t===null||typeof t>"u"||Ht(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case _e:return!t;case Be:return t===!1;case lt:return isNaN(t);case Qt:return isNaN(t)||t<1}return!1}function Bt(e){return Ut.hasOwnProperty(e)?Ut[e]:null}function zt(e,t,n,a,r,i,o){this.acceptsBooleans=t===ot||t===_e||t===Be,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Ut={},$a=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$a.forEach(function(e){Ut[e]=new zt(e,we,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];Ut[t]=new zt(t,qe,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ut[e]=new zt(e,ot,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ut[e]=new zt(e,ot,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Ut[e]=new zt(e,_e,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ut[e]=new zt(e,_e,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ut[e]=new zt(e,Be,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ut[e]=new zt(e,Qt,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ut[e]=new zt(e,lt,!1,e.toLowerCase(),null,!1,!1)});var Ta=/[\-\:]([a-z])/g,Ea=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Ta,Ea);Ut[t]=new zt(t,qe,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Ta,Ea);Ut[t]=new zt(t,qe,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ta,Ea);Ut[t]=new zt(t,qe,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ut[e]=new zt(e,qe,!1,e.toLowerCase(),null,!1,!1)});var or="xlinkHref";Ut[or]=new zt("xlinkHref",qe,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ut[e]=new zt(e,qe,!1,e.toLowerCase(),null,!0,!0)});var La=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Zr=!1;function xr(e){!Zr&&La.test(e)&&(Zr=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ei(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{tn(n,t),a.sanitizeURL&&xr(""+n);var i=a.attributeName,o=null;if(a.type===Be){if(e.hasAttribute(i)){var l=e.getAttribute(i);return l===""?!0:Un(t,n,a,!1)?l:l===""+n?n:l}}else if(e.hasAttribute(i)){if(Un(t,n,a,!1))return e.getAttribute(i);if(a.type===_e)return n;o=e.getAttribute(i)}return Un(t,n,a,!1)?o===null?n:o:o===""+n?n:o}}function ti(e,t,n,a){{if(!Lt(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return tn(n,t),r===""+n?n:r}}function yn(e,t,n,a){var r=Bt(t);if(!Ft(t,r,a)){if(Un(t,n,r,a)&&(n=null),a||r===null){if(Lt(t)){var i=t;n===null?e.removeAttribute(i):(tn(n,t),e.setAttribute(i,""+n))}return}var o=r.mustUseProperty;if(o){var l=r.propertyName;if(n===null){var u=r.type;e[l]=u===_e?!1:""}else e[l]=n;return}var f=r.attributeName,d=r.attributeNamespace;if(n===null)e.removeAttribute(f);else{var g=r.type,y;g===_e||g===Be&&n===!0?y="":(tn(n,f),y=""+n,r.sanitizeURL&&xr(y.toString())),d?e.setAttributeNS(d,f,y):e.setAttribute(f,y)}}}var gn=Symbol.for("react.element"),ea=Symbol.for("react.portal"),ta=Symbol.for("react.fragment"),Rr=Symbol.for("react.strict_mode"),wr=Symbol.for("react.profiler"),Dr=Symbol.for("react.provider"),h=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),ve=Symbol.for("react.suspense_list"),nt=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),E=Symbol.for("react.scope"),b=Symbol.for("react.debug_trace_mode"),T=Symbol.for("react.offscreen"),R=Symbol.for("react.legacy_hidden"),U=Symbol.for("react.cache"),S=Symbol.for("react.tracing_marker"),$=Symbol.iterator,V="@@iterator";function Se(e){if(e===null||typeof e!="object")return null;var t=$&&e[$]||e[V];return typeof t=="function"?t:null}var xe=Object.assign,Oe=0,vt,Jt,bn,_n,_r,Oa,kn;function lr(){}lr.__reactDisabledLog=!0;function Hn(){{if(Oe===0){vt=console.log,Jt=console.info,bn=console.warn,_n=console.error,_r=console.group,Oa=console.groupCollapsed,kn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:lr,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Oe++}}function $t(){{if(Oe--,Oe===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},e,{value:vt}),info:xe({},e,{value:Jt}),warn:xe({},e,{value:bn}),error:xe({},e,{value:_n}),group:xe({},e,{value:_r}),groupCollapsed:xe({},e,{value:Oa}),groupEnd:xe({},e,{value:kn})})}Oe<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var na=J.ReactCurrentDispatcher,ur;function Pa(e,t,n){{if(ur===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);ur=a&&a[1]||""}return` `+ur+e}}var sr=!1,qn;{var pa=typeof WeakMap=="function"?WeakMap:Map;qn=new pa}function cr(e,t){if(!e||sr)return"";{var n=qn.get(e);if(n!==void 0)return n}var a;sr=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=na.current,na.current=null,Hn();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(_){a=_}Reflect.construct(e,[],o)}else{try{o.call()}catch(_){a=_}e.call(o.prototype)}}else{try{throw Error()}catch(_){a=_}e()}}catch(_){if(_&&a&&typeof _.stack=="string"){for(var l=_.stack.split(` `),u=a.stack.split(` `),f=l.length-1,d=u.length-1;f>=1&&d>=0&&l[f]!==u[d];)d--;for(;f>=1&&d>=0;f--,d--)if(l[f]!==u[d]){if(f!==1||d!==1)do if(f--,d--,d<0||l[f]!==u[d]){var g=` -`+l[f].replace(" at new "," at ");return e.displayName&&g.includes("")&&(g=g.replace("",e.displayName)),typeof e=="function"&&qn.set(e,g),g}while(f>=1&&d>=0);break}}}finally{sr=!1,na.current=i,Vt(),Error.prepareStackTrace=r}var y=e?e.displayName||e.name:"",w=y?Pa(y):"";return typeof e=="function"&&qn.set(e,w),w}function ni(e,t,n){return cr(e,!0)}function sn(e,t,n){return cr(e,!1)}function St(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Aa(e,t,n){if(e==null)return"";if(typeof e=="function")return cr(e,St(e));if(typeof e=="string")return Pa(e);switch(e){case J:return Pa("Suspense");case me:return Pa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case z:return sn(e.render);case et:return Aa(e.type,t,n);case p:{var a=e,r=a._payload,i=a._init;try{return Aa(i(r),t,n)}catch{}}}return""}function Ya(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case ie:return Pa(e.type);case Bt:return Pa("Lazy");case O:return Pa("Suspense");case At:return Pa("SuspenseList");case ve:case st:case W:return sn(e.type);case De:return sn(e.type.render);case he:return ni(e.type);default:return""}}function Ia(e){try{var t="",n=e;do t+=Ya(n),n=n.return;while(n);return t}catch(a){return` +`+l[f].replace(" at new "," at ");return e.displayName&&g.includes("")&&(g=g.replace("",e.displayName)),typeof e=="function"&&qn.set(e,g),g}while(f>=1&&d>=0);break}}}finally{sr=!1,na.current=i,$t(),Error.prepareStackTrace=r}var y=e?e.displayName||e.name:"",w=y?Pa(y):"";return typeof e=="function"&&qn.set(e,w),w}function ni(e,t,n){return cr(e,!0)}function cn(e,t,n){return cr(e,!1)}function wt(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Aa(e,t,n){if(e==null)return"";if(typeof e=="function")return cr(e,wt(e));if(typeof e=="string")return Pa(e);switch(e){case Q:return Pa("Suspense");case ve:return Pa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case z:return cn(e.render);case nt:return Aa(e.type,t,n);case p:{var a=e,r=a._payload,i=a._init;try{return Aa(i(r),t,n)}catch{}}}return""}function Ya(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case ae:return Pa(e.type);case Gt:return Pa("Lazy");case O:return Pa("Suspense");case Vt:return Pa("SuspenseList");case de:case dt:case I:return cn(e.type);case De:return cn(e.type.render);case pe:return ni(e.type);default:return""}}function Ia(e){try{var t="",n=e;do t+=Ya(n),n=n.return;while(n);return t}catch(a){return` Error generating stack: `+a.message+` -`+a.stack}}function qu(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function sl(e){return e.displayName||"Context"}function yt(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ta:return"Fragment";case ea:return"Portal";case wr:return"Profiler";case Rr:return"StrictMode";case J:return"Suspense";case me:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case h:var t=e;return sl(t)+".Consumer";case Dr:var n=e;return sl(n._context)+".Provider";case z:return qu(e,e.render,"ForwardRef");case et:var a=e.displayName||null;return a!==null?a:yt(e.type)||"Memo";case p:{var r=e,i=r._payload,o=r._init;try{return yt(o(i))}catch{return null}}}return null}function nf(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function kr(e){return e.displayName||"Context"}function Ge(e){var t=e.tag,n=e.type;switch(t){case te:return"Cache";case vt:var a=n;return kr(a)+".Consumer";case Fe:var r=n;return kr(r._context)+".Provider";case Et:return"DehydratedFragment";case De:return nf(n,n.render,"ForwardRef");case oe:return"Fragment";case ie:return n;case Ue:return"Portal";case re:return"Root";case ye:return"Text";case Bt:return yt(n);case Wt:return n===Rr?"StrictMode":"Mode";case Q:return"Offscreen";case Ke:return"Profiler";case Re:return"Scope";case O:return"Suspense";case At:return"SuspenseList";case pe:return"TracingMarker";case he:case ve:case We:case st:case Xe:case W:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var cl=ee.ReactDebugCurrentFrame,aa=null,Mi=!1;function ai(){{if(aa===null)return null;var e=aa._debugOwner;if(e!==null&&typeof e<"u")return Ge(e)}return null}function af(){return aa===null?"":Ia(aa)}function Mn(){cl.getCurrentStack=null,aa=null,Mi=!1}function Kt(e){cl.getCurrentStack=e===null?null:af,aa=e,Mi=!1}function Gu(){return aa}function Na(e){Mi=e}function ra(e){return""+e}function Wa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return ne(e),e;default:return""}}var rf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function fl(e,t){rf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||c("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||c("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Xu(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dl(e){return e._valueTracker}function uo(e){e._valueTracker=null}function of(e){var t="";return e&&(Xu(e)?t=e.checked?"true":"false":t=e.value),t}function ri(e){var t=Xu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ne(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof n>"u"||typeof n.get!="function"||typeof n.set!="function")){var r=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){ne(l),a=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(l){ne(l),a=""+l},stopTracking:function(){uo(e),delete e[t]}};return o}}function Li(e){dl(e)||(e._valueTracker=ri(e))}function vl(e){if(!e)return!1;var t=dl(e);if(!t)return!0;var n=t.getValue(),a=of(e);return a!==n?(t.setValue(a),!0):!1}function Mr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var so=!1,co=!1,fo=!1,Qu=!1;function Ku(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function pl(e,t){var n=e,a=t.checked,r=Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked});return r}function Ju(e,t){fl("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!co&&(c("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ai()||"A component",t.type),co=!0),t.value!==void 0&&t.defaultValue!==void 0&&!so&&(c("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ai()||"A component",t.type),so=!0);var n=e,a=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Wa(t.value!=null?t.value:a),controlled:Ku(t)}}function s(e,t){var n=e,a=t.checked;a!=null&&hn(n,"checked",a,!1)}function m(e,t){var n=e;{var a=Ku(t);!n._wrapperState.controlled&&a&&!Qu&&(c("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Qu=!0),n._wrapperState.controlled&&!a&&!fo&&(c("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),fo=!0)}s(e,t);var r=Wa(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=ra(r)):n.value!==ra(r)&&(n.value=ra(r));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Ne(n,t.type,r):t.hasOwnProperty("defaultValue")&&Ne(n,t.type,Wa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function D(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type,i=r==="submit"||r==="reset";if(i&&(t.value===void 0||t.value===null))return;var o=ra(a._wrapperState.initialValue);n||o!==a.value&&(a.value=o),a.defaultValue=o}var l=a.name;l!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,l!==""&&(a.name=l)}function A(e,t){var n=e;m(n,t),K(n,t)}function K(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var a=e;a.parentNode;)a=a.parentNode;Zt(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i.")))}):t.dangerouslySetInnerHTML!=null&&(it||(it=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Se&&(c("Use the `defaultValue` or `value` props on instead of setting `selected` on