diff --git a/frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx b/frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx index 5da4b936..655ee51a 100644 --- a/frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx +++ b/frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx @@ -190,12 +190,14 @@ const TimelineControls = ({ try { setIsAutoSaving(true); - // Format segments data for API request - use ref to get latest segments - const chapters = clipSegmentsRef.current.map((chapter) => ({ - startTime: formatDetailedTime(chapter.startTime), - endTime: formatDetailedTime(chapter.endTime), - chapterTitle: chapter.chapterTitle, - })); + // Format segments data for API request - use ref to get latest segments and sort by start time + const chapters = clipSegmentsRef.current + .sort((a, b) => a.startTime - b.startTime) // Sort by start time chronologically + .map((chapter) => ({ + startTime: formatDetailedTime(chapter.startTime), + endTime: formatDetailedTime(chapter.endTime), + chapterTitle: chapter.chapterTitle, + })); logger.debug('chapters', chapters); @@ -496,9 +498,10 @@ const TimelineControls = ({ setSaveType('chapters'); try { - // Format chapters data for API request + // Format chapters data for API request - sort by start time first const chapters = clipSegments .filter((segment) => segment.chapterTitle && segment.chapterTitle.trim()) + .sort((a, b) => a.startTime - b.startTime) // Sort by start time chronologically .map((segment) => ({ chapterTitle: segment.chapterTitle || `Chapter ${segment.id}`, from: formatDetailedTime(segment.startTime), diff --git a/frontend-tools/chapters-editor/client/src/hooks/useVideoChapters.tsx b/frontend-tools/chapters-editor/client/src/hooks/useVideoChapters.tsx index a257e03b..f1dadebd 100644 --- a/frontend-tools/chapters-editor/client/src/hooks/useVideoChapters.tsx +++ b/frontend-tools/chapters-editor/client/src/hooks/useVideoChapters.tsx @@ -24,6 +24,18 @@ const useVideoChapters = () => { return `Chapter ${chapterIndex + 1}`; }; + // Helper function to renumber all segments in chronological order + const renumberAllSegments = (segments: Segment[]): Segment[] => { + // Sort segments by start time + const sortedSegments = [...segments].sort((a, b) => a.startTime - b.startTime); + + // Renumber each segment based on its chronological position + return sortedSegments.map((segment, index) => ({ + ...segment, + chapterTitle: `Chapter ${index + 1}` + })); + }; + // Helper function to parse time string (HH:MM:SS.mmm) to seconds const parseTimeToSeconds = (timeString: string): number => { const parts = timeString.split(':'); @@ -632,19 +644,16 @@ const useVideoChapters = () => { newSegments.splice(segmentIndex, 1); - // Remove the original segment first to get accurate positioning for new segments - const segmentsWithoutOriginal = newSegments; - const firstHalf: Segment = { id: Date.now(), - chapterTitle: generateChapterName(segmentToSplit.startTime, segmentsWithoutOriginal), + chapterTitle: '', // Temporary title, will be set by renumberAllSegments startTime: segmentToSplit.startTime, endTime: timeToSplit, }; const secondHalf: Segment = { id: Date.now() + 1, - chapterTitle: generateChapterName(timeToSplit, [...segmentsWithoutOriginal, firstHalf]), + chapterTitle: '', // Temporary title, will be set by renumberAllSegments startTime: timeToSplit, endTime: segmentToSplit.endTime, }; @@ -652,11 +661,11 @@ const useVideoChapters = () => { // Add the new segments newSegments.push(firstHalf, secondHalf); - // Sort segments by start time - newSegments.sort((a, b) => a.startTime - b.startTime); + // Renumber all segments to ensure proper chronological naming + const renumberedSegments = renumberAllSegments(newSegments); // Update state - setClipSegments(newSegments); + setClipSegments(renumberedSegments); saveState('split_segment'); } }; @@ -687,8 +696,9 @@ const useVideoChapters = () => { setSplitPoints([]); setClipSegments([defaultSegment]); } else { - // Just update the segments normally - setClipSegments(newSegments); + // Renumber remaining segments to ensure proper chronological naming + const renumberedSegments = renumberAllSegments(newSegments); + setClipSegments(renumberedSegments); } saveState('delete_segment'); } @@ -907,12 +917,19 @@ const useVideoChapters = () => { return; } - // Convert chapters to backend expected format - const backendChapters = chapters.map((chapter) => ({ - startTime: chapter.from, - endTime: chapter.to, - chapterTitle: chapter.chapterTitle, - })); + // Convert chapters to backend expected format and sort by start time + const backendChapters = chapters + .map((chapter) => ({ + startTime: chapter.from, + endTime: chapter.to, + chapterTitle: chapter.chapterTitle, + })) + .sort((a, b) => { + // Parse time strings to seconds for proper comparison + const aStartSeconds = parseTimeToSeconds(a.startTime); + const bStartSeconds = parseTimeToSeconds(b.startTime); + return aStartSeconds - bStartSeconds; + }); // Create the API request body const requestData = { diff --git a/frontend-tools/video-js/src/components/video-player/VideoJSPlayer.css b/frontend-tools/video-js/src/components/video-player/VideoJSPlayer.css index d7156af1..b1a40a0e 100644 --- a/frontend-tools/video-js/src/components/video-player/VideoJSPlayer.css +++ b/frontend-tools/video-js/src/components/video-player/VideoJSPlayer.css @@ -1,6 +1,9 @@ button { cursor: pointer; } +.playlist-items a { + text-decoration: none !important; +} .video-js, .video-js[tabindex], diff --git a/static/chapters_editor/chapters-editor.js b/static/chapters_editor/chapters-editor.js index 94fac476..8ea7463f 100644 --- a/static/chapters_editor/chapters-editor.js +++ b/static/chapters_editor/chapters-editor.js @@ -6,7 +6,7 @@ * * 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 J="18.3.1",Le=Symbol.for("react.element"),Ue=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),Rt=Symbol.for("react.profiler"),fe=Symbol.for("react.provider"),ye=Symbol.for("react.context"),ut=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),ge=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),Wt=Symbol.iterator,dt="@@iterator";function Be(s){if(s===null||typeof s!="object")return null;var m=Wt&&s[Wt]||s[dt];return typeof m=="function"?m:null}var _e={current:null},Ke={transition:null},O={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Xe={current:null},I={},Ft=null;function We(s){Ft=s}I.setExtraStackFrame=function(s){Ft=s},I.getCurrentStack=null,I.getStackAddendum=function(){var s="";Ft&&(s+=Ft);var m=I.getCurrentStack;return m&&(s+=m()||""),s};var Et=!1,Nt=!1,we=!1,X=!1,et=!1,te={ReactCurrentDispatcher:_e,ReactCurrentBatchConfig:Ke,ReactCurrentOwner:Xe};te.ReactDebugCurrentFrame=I,te.ReactCurrentActQueue=O;function de(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(kt),Yt=0;Yt1){for(var nt=Array(Yt),Kt=0;Kt 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,P("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||(de("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=je}return m._currentRenderer=null,m._currentRenderer2=null,m}var mn=-1,hn=0,ea=1,ta=2;function Rr(s){if(s._status===mn){var m=s._result,D=m();if(D.then(function(je){if(s._status===hn||s._status===mn){var Se=s;Se._status=ea,Se._result=je}},function(je){if(s._status===hn||s._status===mn){var Se=s;Se._status=ta,Se._result=je}}),s._status===mn){var A=s;A._status=hn,A._result=D}}if(s._status===ea){var K=s._result;return K===void 0&&P(`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",Le=Symbol.for("react.element"),je=Symbol.for("react.portal"),W=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"),ut=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),Ue=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),Wt=Symbol.iterator,dt="@@iterator";function Fe(s){if(s===null||typeof s!="object")return null;var m=Wt&&s[Wt]||s[dt];return typeof m=="function"?m:null}var ke={current:null},Ke={transition:null},O={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Xe={current:null},I={},Ft=null;function We(s){Ft=s}I.setExtraStackFrame=function(s){Ft=s},I.getCurrentStack=null,I.getStackAddendum=function(){var s="";Ft&&(s+=Ft);var m=I.getCurrentStack;return m&&(s+=m()||""),s};var Et=!1,Nt=!1,Re=!1,Q=!1,Ze=!1,te={ReactCurrentDispatcher:ke,ReactCurrentBatchConfig:Ke,ReactCurrentOwner:Xe};te.ReactDebugCurrentFrame=I,te.ReactCurrentActQueue=O;function pe(s){{for(var m=arguments.length,D=new Array(m>1?m-1:0),N=1;N1?m-1:0),N=1;N1){for(var Pt=Array(kt),Yt=0;Yt1){for(var nt=Array(Yt),Kt=0;Kt 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,P("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 mn=-1,hn=0,ea=1,ta=2;function Rr(s){if(s._status===mn){var m=s._result,D=m();if(D.then(function(Ne){if(s._status===hn||s._status===mn){var Se=s;Se._status=ea,Se._result=Ne}},function(Ne){if(s._status===hn||s._status===mn){var Se=s;Se._status=ta,Se._result=Ne}}),s._status===mn){var N=s;N._status=hn,N._result=D}}if(s._status===ea){var K=s._result;return K===void 0&&P(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent')) @@ -14,21 +14,21 @@ Your code should look like: Did you accidentally put curly braces around the import?`,K),"default"in K||P(`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:mn,_result:s},D={$$typeof:ge,_payload:m,_init:Rr};{var A,K;Object.defineProperties(D,{defaultProps:{configurable:!0,get:function(){return A},set:function(je){P("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=je,Object.defineProperty(D,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return K},set:function(je){P("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=je,Object.defineProperty(D,"propTypes",{enumerable:!0})}}})}return D}function Dr(s){s!=null&&s.$$typeof===re?P("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?P("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&P("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)&&P("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var m={$$typeof:ut,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 V(s){return!!(typeof s=="string"||typeof s=="function"||s===q||s===Rt||et||s===c||s===ae||s===He||X||s===ie||Et||Nt||we||typeof s=="object"&&s!==null&&(s.$$typeof===ge||s.$$typeof===re||s.$$typeof===fe||s.$$typeof===ye||s.$$typeof===ut||s.$$typeof===h||s.getModuleId!==void 0))}function Z(s,m){V(s)||P("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var D={$$typeof:re,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 he(){var s=_e.current;return s===null&&P(`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'))`,K),K.default}else throw s._result}function wr(s){var m={_status:mn,_result:s},D={$$typeof:ye,_payload:m,_init:Rr};{var N,K;Object.defineProperties(D,{defaultProps:{configurable:!0,get:function(){return N},set:function(Ne){P("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."),N=Ne,Object.defineProperty(D,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return K},set:function(Ne){P("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===re?P("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?P("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&P("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)&&P("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var m={$$typeof:ut,render:s};{var D;Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return D},set:function(N){D=N,!s.name&&!s.displayName&&(s.displayName=N)}})}return m}var h;h=Symbol.for("react.module.reference");function V(s){return!!(typeof s=="string"||typeof s=="function"||s===W||s===Rt||Ze||s===c||s===ae||s===Ue||Q||s===ie||Et||Nt||Re||typeof s=="object"&&s!==null&&(s.$$typeof===ye||s.$$typeof===re||s.$$typeof===ve||s.$$typeof===he||s.$$typeof===ut||s.$$typeof===h||s.getModuleId!==void 0))}function Z(s,m){V(s)||P("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var D={$$typeof:re,type:s,compare:m===void 0?null:m};{var N;Object.defineProperty(D,"displayName",{enumerable:!1,configurable:!0,get:function(){return N},set:function(K){N=K,!s.name&&!s.displayName&&(s.displayName=K)}})}return D}function me(){var s=ke.current;return s===null&&P(`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 tt(s){var m=he();if(s._context!==void 0){var D=s._context;D.Consumer===s?P("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&&P("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(s)}function p(s){var m=he();return m.useState(s)}function C(s,m,D){var A=he();return A.useReducer(s,m,D)}function b(s){var m=he();return m.useRef(s)}function T(s,m){var D=he();return D.useEffect(s,m)}function E(s,m){var D=he();return D.useInsertionEffect(s,m)}function U(s,m){var D=he();return D.useLayoutEffect(s,m)}function S(s,m){var D=he();return D.useCallback(s,m)}function B(s,m){var D=he();return D.useMemo(s,m)}function z(s,m,D){var A=he();return A.useImperativeHandle(s,m,D)}function Te(s,m){{var D=he();return D.useDebugValue(s,m)}}function xe(){var s=he();return s.useTransition()}function Ne(s){var m=he();return m.useDeferredValue(s)}function ct(){var s=he();return s.useId()}function Xt(s,m,D){var A=he();return A.useSyncExternalStore(s,m,D)}var yn=0,Dn,_r,Oa,_n,lr,Un,zt;function na(){}na.__reactDisabledLog=!0;function ur(){{if(yn===0){Dn=console.log,_r=console.info,Oa=console.warn,_n=console.error,lr=console.group,Un=console.groupCollapsed,zt=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})}yn++}}function Pa(){{if(yn--,yn===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Bt({},s,{value:Dn}),info:Bt({},s,{value:_r}),warn:Bt({},s,{value:Oa}),error:Bt({},s,{value:_n}),group:Bt({},s,{value:lr}),groupCollapsed:Bt({},s,{value:Un}),groupEnd:Bt({},s,{value:zt})})}yn<0&&P("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 je;je=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(` -`),rt=A.stack.split(` +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?P("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&&P("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 C(s,m,D){var N=me();return N.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 E(s,m){var D=me();return D.useInsertionEffect(s,m)}function A(s,m){var D=me();return D.useLayoutEffect(s,m)}function S(s,m){var D=me();return D.useCallback(s,m)}function B(s,m){var D=me();return D.useMemo(s,m)}function z(s,m,D){var N=me();return N.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 Xt(s,m,D){var N=me();return N.useSyncExternalStore(s,m,D)}var yn=0,Dn,_r,Oa,_n,lr,Hn,zt;function na(){}na.__reactDisabledLog=!0;function ur(){{if(yn===0){Dn=console.log,_r=console.info,Oa=console.warn,_n=console.error,lr=console.group,Hn=console.groupCollapsed,zt=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})}yn++}}function Pa(){{if(yn--,yn===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Bt({},s,{value:Dn}),info:Bt({},s,{value:_r}),warn:Bt({},s,{value:Oa}),error:Bt({},s,{value:_n}),group:Bt({},s,{value:lr}),groupCollapsed:Bt({},s,{value:Hn}),groupEnd:Bt({},s,{value:zt})})}yn<0&&P("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 N=K.stack.trim().match(/\n( *(at )?)/);qn=N&&N[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 N;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){N=fn}Reflect.construct(s,[],Se)}else{try{Se.call()}catch(fn){N=fn}s.call(Se.prototype)}}else{try{throw Error()}catch(fn){N=fn}s()}}catch(fn){if(fn&&N&&typeof fn.stack=="string"){for(var Ye=fn.stack.split(` +`),rt=N.stack.split(` `),kt=Ye.length-1,Pt=rt.length-1;kt>=1&&Pt>=0&&Ye[kt]!==rt[Pt];)Pt--;for(;kt>=1&&Pt>=0;kt--,Pt--)if(Ye[kt]!==rt[Pt]){if(kt!==1||Pt!==1)do if(kt--,Pt--,Pt<0||Ye[kt]!==rt[Pt]){var Yt=` -`+Ye[kt].replace(" at new "," at ");return s.displayName&&Yt.includes("")&&(Yt=Yt.replace("",s.displayName)),typeof s=="function"&&ni.set(s,Yt),Yt}while(kt>=1&&Pt>=0);break}}}finally{cr=!1,sr.current=je,Pa(),Error.prepareStackTrace=K}var nt=s?s.displayName||s.name:"",Kt=nt?pa(nt):"";return typeof s=="function"&&ni.set(s,Kt),Kt}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 ae:return pa("Suspense");case He:return pa("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case ut:return Aa(s.render);case re:return Ia(s.type,m,D);case ge:{var A=s,K=A._payload,je=A._init;try{return Ia(je(K),m,D)}catch{}}}return""}var qu={},sl=te.ReactDebugCurrentFrame;function ht(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 je=Function.call.bind(ve);for(var Se in s)if(je(s,Se)){var Ye=void 0;try{if(typeof s[Se]!="function"){var rt=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 rt.name="Invariant Violation",rt}Ye=s[Se](m,Se,A,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kt){Ye=kt}Ye&&!(Ye instanceof Error)&&(ht(K),P("%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),ht(null)),Ye instanceof Error&&!(Ye.message in qu)&&(qu[Ye.message]=!0,ht(K),P("Failed %s type: %s",D,Ye.message),ht(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=pe(Xe.current.type);if(s)return` +`+Ye[kt].replace(" at new "," at ");return s.displayName&&Yt.includes("")&&(Yt=Yt.replace("",s.displayName)),typeof s=="function"&&ni.set(s,Yt),Yt}while(kt>=1&&Pt>=0);break}}}finally{cr=!1,sr.current=Ne,Pa(),Error.prepareStackTrace=K}var nt=s?s.displayName||s.name:"",Kt=nt?pa(nt):"";return typeof s=="function"&&ni.set(s,Kt),Kt}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 ae:return pa("Suspense");case Ue:return pa("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case ut:return Aa(s.render);case re:return Ia(s.type,m,D);case ye:{var N=s,K=N._payload,Ne=N._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,N,K){{var Ne=Function.call.bind(le);for(var Se in s)if(Ne(s,Se)){var Ye=void 0;try{if(typeof s[Se]!="function"){var rt=Error((N||"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 rt.name="Invariant Violation",rt}Ye=s[Se](m,Se,N,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kt){Ye=kt}Ye&&!(Ye instanceof Error)&&(yt(K),P("%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).",N||"React class",D,Se,typeof Ye),yt(null)),Ye instanceof Error&&!(Ye.message in qu)&&(qu[Ye.message]=!0,yt(K),P("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 qe;qe=!1;function cl(){if(Xe.current){var s=ce(Xe.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 kn(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 "+pe(s._owner.type)+"."),kr(s),P('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 Qt(s,m){if(typeof s=="object"){if(tn(s))for(var D=0;D",K=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof s,P("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=Ae.apply(this,arguments);if(Ye==null)return Ye;if(A)for(var rt=2;rt10&&de("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"&&P("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 je=new MessageChannel;je.port1.onmessage=K,je.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(nt){throw Mr(m),nt}finally{O.isBatchingLegacy=D}if(A!==null&&typeof A=="object"&&typeof A.then=="function"){var je=A,Se=!1,Ye={then:function(nt,Kt){Se=!0,je.then(function(fn){Mr(m),ri===0?so(fn,nt,Kt):nt(fn)},function(fn){Mr(m),Kt(fn)})}};return!Li&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Se||(Li=!0,P("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 rt=A;if(Mr(m),ri===0){var kt=O.current;kt!==null&&(fo(kt),O.current=null);var Pt={then:function(nt,Kt){O.current===null?(O.current=[],so(rt,nt,Kt)):nt(rt)}};return Pt}else{var Yt={then:function(nt,Kt){nt(rt)}};return Yt}}}}function Mr(s){s!==ri-1&&P("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 kn(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 N="";s&&s._owner&&s._owner!==Xe.current&&(N=" It was passed a child from "+ce(s._owner.type)+"."),kr(s),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,N),kr(null)}}}function Qt(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,P("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=ze.apply(this,arguments);if(Ye==null)return Ye;if(N)for(var rt=2;rt10&&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."),N._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"&&P("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,N;try{if(O.isBatchingLegacy=!0,N=s(),!D&&O.didScheduleLegacyUpdate){var K=O.current;K!==null&&(O.didScheduleLegacyUpdate=!1,fo(K))}}catch(nt){throw Mr(m),nt}finally{O.isBatchingLegacy=D}if(N!==null&&typeof N=="object"&&typeof N.then=="function"){var Ne=N,Se=!1,Ye={then:function(nt,Kt){Se=!0,Ne.then(function(fn){Mr(m),ri===0?so(fn,nt,Kt):nt(fn)},function(fn){Mr(m),Kt(fn)})}};return!Li&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Se||(Li=!0,P("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 rt=N;if(Mr(m),ri===0){var kt=O.current;kt!==null&&(fo(kt),O.current=null);var Pt={then:function(nt,Kt){O.current===null?(O.current=[],so(rt,nt,Kt)):nt(rt)}};return Pt}else{var Yt={then:function(nt,Kt){nt(rt)}};return Yt}}}}function Mr(s){s!==ri-1&&P("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 N=O.current;if(N!==null)try{fo(N),of(function(){N.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 kn(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(),L=Symbol.for("react.element"),J=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),Ue=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),Rt=Symbol.for("react.context"),fe=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),ut=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),He=Symbol.for("react.lazy"),re=Symbol.for("react.offscreen"),ge=Symbol.iterator,ie="@@iterator";function Wt(h){if(h===null||typeof h!="object")return null;var V=ge&&h[ge]||h[ie];return typeof V=="function"?V:null}var dt=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Be(h){{for(var V=arguments.length,Z=new Array(V>1?V-1:0),he=1;he=1&&U>=0&&b[E]!==T[U];)U--;for(;E>=1&&U>=0;E--,U--)if(b[E]!==T[U]){if(E!==1||U!==1)do if(E--,U--,U<0||b[E]!==T[U]){var S=` -`+b[E].replace(" at new "," at ");return h.displayName&&S.includes("")&&(S=S.replace("",h.displayName)),typeof h=="function"&&en.set(h,S),S}while(E>=1&&U>=0);break}}}finally{st=!1,qt.current=p,xt(),Error.prepareStackTrace=tt}var B=h?h.displayName||h.name:"",z=B?Nn(B):"";return typeof h=="function"&&en.set(h,z),z}function tn(h,V,Z){return Je(h,!1)}function nn(h){var V=h.prototype;return!!(V&&V.isReactComponent)}function an(h,V,Z){if(h==null)return"";if(typeof h=="function")return Je(h,nn(h));if(typeof h=="string")return Nn(h);switch(h){case ye:return Nn("Suspense");case ut:return Nn("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case fe:return tn(h.render);case ae:return an(h.type,V,Z);case He:{var he=h,tt=he._payload,p=he._init;try{return an(p(tt),V,Z)}catch{}}}return""}var Jt=Object.prototype.hasOwnProperty,va={},M=dt.ReactDebugCurrentFrame;function W(h){if(h){var V=h._owner,Z=an(h.type,h._source,V?V.type:null);M.setExtraStackFrame(Z)}else M.setExtraStackFrame(null)}function pe(h,V,Z,he,tt){{var p=Function.call.bind(Jt);for(var C in h)if(p(h,C)){var b=void 0;try{if(typeof h[C]!="function"){var T=Error((he||"React class")+": "+Z+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}b=h[C](V,C,he,Z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){b=E}b&&!(b instanceof Error)&&(W(tt),Be("%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).",he||"React class",Z,C,typeof b),W(null)),b instanceof Error&&!(b.message in va)&&(va[b.message]=!0,W(tt),Be("Failed %s type: %s",Z,b.message),W(null))}}}var ve=Array.isArray;function Ce(h){return ve(h)}function ze(h){{var V=typeof Symbol=="function"&&Symbol.toStringTag,Z=V&&h[Symbol.toStringTag]||h.constructor.name||"Object";return Z}}function Ze(h){try{return ke(h),!1}catch{return!0}}function ke(h){return""+h}function qe(h){if(Ze(h))return Be("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ze(h)),ke(h)}var bt=dt.ReactCurrentOwner,rn={key:!0,ref:!0,__self:!0,__source:!0},Wn,Q;function me(h){if(Jt.call(h,"ref")){var V=Object.getOwnPropertyDescriptor(h,"ref").get;if(V&&V.isReactWarning)return!1}return h.ref!==void 0}function Ae(h){if(Jt.call(h,"key")){var V=Object.getOwnPropertyDescriptor(h,"key").get;if(V&&V.isReactWarning)return!1}return h.key!==void 0}function ft(h,V){typeof h.ref=="string"&&bt.current}function Dt(h,V){{var Z=function(){Wn||(Wn=!0,Be("%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)",V))};Z.isReactWarning=!0,Object.defineProperty(h,"key",{get:Z,configurable:!0})}}function Ht(h,V){{var Z=function(){Q||(Q=!0,Be("%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)",V))};Z.isReactWarning=!0,Object.defineProperty(h,"ref",{get:Z,configurable:!0})}}var At=function(h,V,Z,he,tt,p,C){var b={$$typeof:L,type:h,key:V,ref:Z,props:C,_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:he}),Object.defineProperty(b,"_source",{configurable:!1,enumerable:!1,writable:!1,value:tt}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b};function jn(h,V,Z,he,tt){{var p,C={},b=null,T=null;Z!==void 0&&(qe(Z),b=""+Z),Ae(V)&&(qe(V.key),b=""+V.key),me(V)&&(T=V.ref,ft(V,tt));for(p in V)Jt.call(V,p)&&!rn.hasOwnProperty(p)&&(C[p]=V[p]);if(h&&h.defaultProps){var E=h.defaultProps;for(p in E)C[p]===void 0&&(C[p]=E[p])}if(b||T){var U=typeof h=="function"?h.displayName||h.name||"Unknown":h;b&&Dt(C,U),T&&Ht(C,U)}return At(h,b,T,tt,he,bt.current,C)}}var $t=dt.ReactCurrentOwner,jt=dt.ReactDebugCurrentFrame;function _t(h){if(h){var V=h._owner,Z=an(h.type,h._source,V?V.type:null);jt.setExtraStackFrame(Z)}else jt.setExtraStackFrame(null)}var $a;$a=!1;function Ta(h){return typeof h=="object"&&h!==null&&h.$$typeof===L}function Ea(){{if($t.current){var h=X($t.current.type);if(h)return` + */return function(){var k=Zc(),L=Symbol.for("react.element"),J=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),je=Symbol.for("react.strict_mode"),W=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"),ut=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),re=Symbol.for("react.offscreen"),ye=Symbol.iterator,ie="@@iterator";function Wt(h){if(h===null||typeof h!="object")return null;var V=ye&&h[ye]||h[ie];return typeof V=="function"?V:null}var dt=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Fe(h){{for(var V=arguments.length,Z=new Array(V>1?V-1:0),me=1;me=1&&A>=0&&b[E]!==T[A];)A--;for(;E>=1&&A>=0;E--,A--)if(b[E]!==T[A]){if(E!==1||A!==1)do if(E--,A--,A<0||b[E]!==T[A]){var S=` +`+b[E].replace(" at new "," at ");return h.displayName&&S.includes("")&&(S=S.replace("",h.displayName)),typeof h=="function"&&tn.set(h,S),S}while(E>=1&&A>=0);break}}}finally{st=!1,qt.current=p,xt(),Error.prepareStackTrace=et}var B=h?h.displayName||h.name:"",z=B?Nn(B):"";return typeof h=="function"&&tn.set(h,z),z}function nn(h,V,Z){return Je(h,!1)}function an(h){var V=h.prototype;return!!(V&&V.isReactComponent)}function rn(h,V,Z){if(h==null)return"";if(typeof h=="function")return Je(h,an(h));if(typeof h=="string")return Nn(h);switch(h){case he:return Nn("Suspense");case ut:return Nn("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case ve:return nn(h.render);case ae:return rn(h.type,V,Z);case Ue:{var me=h,et=me._payload,p=me._init;try{return rn(p(et),V,Z)}catch{}}}return""}var Jt=Object.prototype.hasOwnProperty,va={},M=dt.ReactDebugCurrentFrame;function q(h){if(h){var V=h._owner,Z=rn(h.type,h._source,V?V.type:null);M.setExtraStackFrame(Z)}else M.setExtraStackFrame(null)}function ce(h,V,Z,me,et){{var p=Function.call.bind(Jt);for(var C in h)if(p(h,C)){var b=void 0;try{if(typeof h[C]!="function"){var T=Error((me||"React class")+": "+Z+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}b=h[C](V,C,me,Z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){b=E}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",Z,C,typeof b),q(null)),b instanceof Error&&!(b.message in va)&&(va[b.message]=!0,q(et),Fe("Failed %s type: %s",Z,b.message),q(null))}}}var le=Array.isArray;function we(h){return le(h)}function Pe(h){{var V=typeof Symbol=="function"&&Symbol.toStringTag,Z=V&&h[Symbol.toStringTag]||h.constructor.name||"Object";return Z}}function tt(h){try{return _e(h),!1}catch{return!0}}function _e(h){return""+h}function Ge(h){if(tt(h))return Fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Pe(h)),_e(h)}var vt=dt.ReactCurrentOwner,Zt={key:!0,ref:!0,__self:!0,__source:!0},jn,X;function ge(h){if(Jt.call(h,"ref")){var V=Object.getOwnPropertyDescriptor(h,"ref").get;if(V&&V.isReactWarning)return!1}return h.ref!==void 0}function ze(h){if(Jt.call(h,"key")){var V=Object.getOwnPropertyDescriptor(h,"key").get;if(V&&V.isReactWarning)return!1}return h.key!==void 0}function ft(h,V){typeof h.ref=="string"&&vt.current}function Dt(h,V){{var Z=function(){jn||(jn=!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)",V))};Z.isReactWarning=!0,Object.defineProperty(h,"key",{get:Z,configurable:!0})}}function Ht(h,V){{var Z=function(){X||(X=!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)",V))};Z.isReactWarning=!0,Object.defineProperty(h,"ref",{get:Z,configurable:!0})}}var At=function(h,V,Z,me,et,p,C){var b={$$typeof:L,type:h,key:V,ref:Z,props:C,_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,V,Z,me,et){{var p,C={},b=null,T=null;Z!==void 0&&(Ge(Z),b=""+Z),ze(V)&&(Ge(V.key),b=""+V.key),ge(V)&&(T=V.ref,ft(V,et));for(p in V)Jt.call(V,p)&&!Zt.hasOwnProperty(p)&&(C[p]=V[p]);if(h&&h.defaultProps){var E=h.defaultProps;for(p in E)C[p]===void 0&&(C[p]=E[p])}if(b||T){var A=typeof h=="function"?h.displayName||h.name||"Unknown":h;b&&Dt(C,A),T&&Ht(C,A)}return At(h,b,T,et,me,vt.current,C)}}var $t=dt.ReactCurrentOwner,jt=dt.ReactDebugCurrentFrame;function _t(h){if(h){var V=h._owner,Z=rn(h.type,h._source,V?V.type:null);jt.setExtraStackFrame(Z)}else jt.setExtraStackFrame(null)}var $a;$a=!1;function Ta(h){return typeof h=="object"&&h!==null&&h.$$typeof===L}function Ea(){{if($t.current){var h=Q($t.current.type);if(h)return` Check the render method of \``+h+"`."}return""}}function or(h){return""}var La={};function Zr(h){{var V=Ea();if(!V){var Z=typeof h=="string"?h:h.displayName||h.name;Z&&(V=` -Check the top-level render call using <`+Z+">.")}return V}}function xr(h,V){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var Z=Zr(V);if(La[Z])return;La[Z]=!0;var he="";h&&h._owner&&h._owner!==$t.current&&(he=" It was passed a child from "+X(h._owner.type)+"."),_t(h),Be('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Z,he),_t(null)}}function ei(h,V){{if(typeof h!="object")return;if(Ce(h))for(var Z=0;Z",b=" Did you accidentally export a JSX literal instead of a component?"):E=typeof h,Be("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",E,b)}var U=jn(h,V,Z,tt,p);if(U==null)return U;if(C){var S=V.children;if(S!==void 0)if(he)if(Ce(S)){for(var B=0;B0?"{key: someKey, "+Te.join(": ..., ")+": ...}":"{key: someKey}";if(!hn[z+xe]){var Ne=Te.length>0?"{"+Te.join(": ..., ")+": ...}":"{}";Be(`A props object containing a "key" prop is being spread into JSX: +Check the top-level render call using <`+Z+">.")}return V}}function xr(h,V){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var Z=Zr(V);if(La[Z])return;La[Z]=!0;var me="";h&&h._owner&&h._owner!==$t.current&&(me=" It was passed a child from "+Q(h._owner.type)+"."),_t(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.',Z,me),_t(null)}}function ei(h,V){{if(typeof h!="object")return;if(we(h))for(var Z=0;Z",b=" Did you accidentally export a JSX literal instead of a component?"):E=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",E,b)}var A=Un(h,V,Z,et,p);if(A==null)return A;if(C){var S=V.children;if(S!==void 0)if(me)if(we(S)){for(var B=0;B0?"{key: someKey, "+Te.join(": ..., ")+": ...}":"{key: someKey}";if(!hn[z+Ce]){var Ae=Te.length>0?"{"+Te.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} />`,xe,z,Ne,z),hn[z+xe]=!0}}return h===Le?mn(U):ti(U),U}}function ta(h,V,Z){return ea(h,V,Z,!0)}function Rr(h,V,Z){return ea(h,V,Z,!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} />`,Ce,z,Ae,z),hn[z+Ce]=!0}}return h===Le?mn(A):ti(A),A}}function ta(h,V,Z){return ea(h,V,Z,!0)}function Rr(h,V,Z){return ea(h,V,Z,!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){/** * @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 L=!1,J=5;function Le(Q,me){var Ae=Q.length;Q.push(me),c(Q,me,Ae)}function Ue(Q){return Q.length===0?null:Q[0]}function q(Q){if(Q.length===0)return null;var me=Q[0],Ae=Q.pop();return Ae!==me&&(Q[0]=Ae,Rt(Q,Ae,0)),me}function c(Q,me,Ae){for(var ft=Ae;ft>0;){var Dt=ft-1>>>1,Ht=Q[Dt];if(fe(Ht,me)>0)Q[Dt]=me,Q[ft]=Ht,ft=Dt;else return}}function Rt(Q,me,Ae){for(var ft=Ae,Dt=Q.length,Ht=Dt>>>1;ftAe&&(!Q||M()));){var ft=we.callback;if(typeof ft=="function"){we.callback=null,X=we.priorityLevel;var Dt=we.expirationTime<=Ae,Ht=ft(Dt);Ae=k.unstable_now(),typeof Ht=="function"?we.callback=Ht:we===Ue(We)&&q(We),Ct(Ae)}else q(We);we=Ue(We)}if(we!==null)return!0;var At=Ue(Et);return At!==null&&qe(wn,At.startTime-Ae),!1}function Ut(Q,me){switch(Q){case ye:case ut:case ae:case He:case re:break;default:Q=ae}var Ae=X;X=Q;try{return me()}finally{X=Ae}}function xt(Q){var me;switch(X){case ye:case ut:case ae:me=ae;break;default:me=X;break}var Ae=X;X=me;try{return Q()}finally{X=Ae}}function qt(Q){var me=X;return function(){var Ae=X;X=me;try{return Q.apply(this,arguments)}finally{X=Ae}}}function mt(Q,me,Ae){var ft=k.unstable_now(),Dt;if(typeof Ae=="object"&&Ae!==null){var Ht=Ae.delay;typeof Ht=="number"&&Ht>0?Dt=ft+Ht:Dt=ft}else Dt=ft;var At;switch(Q){case ye:At=Ke;break;case ut:At=O;break;case re:At=Ft;break;case He:At=I;break;case ae:default:At=Xe;break}var jn=Dt+At,$t={id:Nt++,callback:me,priorityLevel:Q,startTime:Dt,expirationTime:jn,sortIndex:-1};return Dt>ft?($t.sortIndex=Dt,Le(Et,$t),Ue(We)===null&&$t===Ue(Et)&&(de?bt():de=!0,qe(wn,Dt-ft))):($t.sortIndex=jn,Le(We,$t),!te&&!et&&(te=!0,ke(Bt))),$t}function Nn(){}function st(){!te&&!et&&(te=!0,ke(Bt))}function en(){return Ue(We)}function wt(Q){Q.callback=null}function Je(){return X}var tn=!1,nn=null,an=-1,Jt=J,va=-1;function M(){var Q=k.unstable_now()-va;return!(Q125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Q>0?Jt=Math.floor(1e3/Q):Jt=J}var ve=function(){if(nn!==null){var Q=k.unstable_now();va=Q;var me=!0,Ae=!0;try{Ae=nn(me,Q)}finally{Ae?Ce():(tn=!1,nn=null)}}else tn=!1},Ce;if(typeof De=="function")Ce=function(){De(ve)};else if(typeof MessageChannel<"u"){var ze=new MessageChannel,Ze=ze.port2;ze.port1.onmessage=ve,Ce=function(){Ze.postMessage(null)}}else Ce=function(){P(ve,0)};function ke(Q){nn=Q,tn||(tn=!0,Ce())}function qe(Q,me){an=P(function(){Q(k.unstable_now())},me)}function bt(){Y(an),an=-1}var rn=W,Wn=null;k.unstable_IdlePriority=re,k.unstable_ImmediatePriority=ye,k.unstable_LowPriority=He,k.unstable_NormalPriority=ae,k.unstable_Profiling=Wn,k.unstable_UserBlockingPriority=ut,k.unstable_cancelCallback=wt,k.unstable_continueExecution=st,k.unstable_forceFrameRate=pe,k.unstable_getCurrentPriorityLevel=Je,k.unstable_getFirstCallbackNode=en,k.unstable_next=xt,k.unstable_pauseExecution=Nn,k.unstable_requestPaint=rn,k.unstable_runWithPriority=Ut,k.unstable_scheduleCallback=mt,k.unstable_shouldYield=M,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 L=!1,J=5;function Le(X,ge){var ze=X.length;X.push(ge),c(X,ge,ze)}function je(X){return X.length===0?null:X[0]}function W(X){if(X.length===0)return null;var ge=X[0],ze=X.pop();return ze!==ge&&(X[0]=ze,Rt(X,ze,0)),ge}function c(X,ge,ze){for(var ft=ze;ft>0;){var Dt=ft-1>>>1,Ht=X[Dt];if(ve(Ht,ge)>0)X[Dt]=ge,X[ft]=Ht,ft=Dt;else return}}function Rt(X,ge,ze){for(var ft=ze,Dt=X.length,Ht=Dt>>>1;ftze&&(!X||M()));){var ft=Re.callback;if(typeof ft=="function"){Re.callback=null,Q=Re.priorityLevel;var Dt=Re.expirationTime<=ze,Ht=ft(Dt);ze=k.unstable_now(),typeof Ht=="function"?Re.callback=Ht:Re===je(We)&&W(We),Ct(ze)}else W(We);Re=je(We)}if(Re!==null)return!0;var At=je(Et);return At!==null&&Ge(wn,At.startTime-ze),!1}function Ut(X,ge){switch(X){case he:case ut:case ae:case Ue:case re:break;default:X=ae}var ze=Q;Q=X;try{return ge()}finally{Q=ze}}function xt(X){var ge;switch(Q){case he:case ut:case ae:ge=ae;break;default:ge=Q;break}var ze=Q;Q=ge;try{return X()}finally{Q=ze}}function qt(X){var ge=Q;return function(){var ze=Q;Q=ge;try{return X.apply(this,arguments)}finally{Q=ze}}}function ht(X,ge,ze){var ft=k.unstable_now(),Dt;if(typeof ze=="object"&&ze!==null){var Ht=ze.delay;typeof Ht=="number"&&Ht>0?Dt=ft+Ht:Dt=ft}else Dt=ft;var At;switch(X){case he:At=Ke;break;case ut:At=O;break;case re:At=Ft;break;case Ue:At=I;break;case ae:default:At=Xe;break}var Un=Dt+At,$t={id:Nt++,callback:ge,priorityLevel:X,startTime:Dt,expirationTime:Un,sortIndex:-1};return Dt>ft?($t.sortIndex=Dt,Le(Et,$t),je(We)===null&&$t===je(Et)&&(pe?vt():pe=!0,Ge(wn,Dt-ft))):($t.sortIndex=Un,Le(We,$t),!te&&!Ze&&(te=!0,_e(Bt))),$t}function Nn(){}function st(){!te&&!Ze&&(te=!0,_e(Bt))}function tn(){return je(We)}function wt(X){X.callback=null}function Je(){return Q}var nn=!1,an=null,rn=-1,Jt=J,va=-1;function M(){var X=k.unstable_now()-va;return!(X125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}X>0?Jt=Math.floor(1e3/X):Jt=J}var le=function(){if(an!==null){var X=k.unstable_now();va=X;var ge=!0,ze=!0;try{ze=an(ge,X)}finally{ze?we():(nn=!1,an=null)}}else nn=!1},we;if(typeof De=="function")we=function(){De(le)};else if(typeof MessageChannel<"u"){var Pe=new MessageChannel,tt=Pe.port2;Pe.port1.onmessage=le,we=function(){tt.postMessage(null)}}else we=function(){P(le,0)};function _e(X){an=X,nn||(nn=!0,we())}function Ge(X,ge){rn=P(function(){X(k.unstable_now())},ge)}function vt(){Y(rn),rn=-1}var Zt=q,jn=null;k.unstable_IdlePriority=re,k.unstable_ImmediatePriority=he,k.unstable_LowPriority=Ue,k.unstable_NormalPriority=ae,k.unstable_Profiling=jn,k.unstable_UserBlockingPriority=ut,k.unstable_cancelCallback=wt,k.unstable_continueExecution=st,k.unstable_forceFrameRate=ce,k.unstable_getCurrentPriorityLevel=Je,k.unstable_getFirstCallbackNode=tn,k.unstable_next=xt,k.unstable_pauseExecution=Nn,k.unstable_requestPaint=Zt,k.unstable_runWithPriority=Ut,k.unstable_scheduleCallback=ht,k.unstable_shouldYield=M,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;/** * @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(),L=HS(),J=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Le=!1;function Ue(e){Le=e}function q(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 At(e,t,n,a){if(n!==null&&n.type===Ce)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 jn(e,t,n,a){if(t===null||typeof t>"u"||At(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case ke:return!t;case qe:return t===!1;case bt:return isNaN(t);case rn:return isNaN(t)||t<1}return!1}function $t(e){return _t.hasOwnProperty(e)?_t[e]:null}function jt(e,t,n,a,r,i,o){this.acceptsBooleans=t===Ze||t===ke||t===qe,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var _t={},$a=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$a.forEach(function(e){_t[e]=new jt(e,Ce,!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];_t[t]=new jt(t,ze,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){_t[e]=new jt(e,Ze,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_t[e]=new jt(e,Ze,!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){_t[e]=new jt(e,ke,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){_t[e]=new jt(e,ke,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){_t[e]=new jt(e,qe,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){_t[e]=new jt(e,rn,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){_t[e]=new jt(e,bt,!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);_t[t]=new jt(t,ze,!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);_t[t]=new jt(t,ze,!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);_t[t]=new jt(t,ze,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){_t[e]=new jt(e,ze,!1,e.toLowerCase(),null,!1,!1)});var or="xlinkHref";_t[or]=new jt("xlinkHref",ze,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){_t[e]=new jt(e,ze,!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{Jt(n,t),a.sanitizeURL&&xr(""+n);var i=a.attributeName,o=null;if(a.type===qe){if(e.hasAttribute(i)){var l=e.getAttribute(i);return l===""?!0:jn(t,n,a,!1)?l:l===""+n?n:l}}else if(e.hasAttribute(i)){if(jn(t,n,a,!1))return e.getAttribute(i);if(a.type===ke)return n;o=e.getAttribute(i)}return jn(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 Jt(n,t),r===""+n?n:r}}function mn(e,t,n,a){var r=$t(t);if(!Ht(t,r,a)){if(jn(t,n,r,a)&&(n=null),a||r===null){if(Dt(t)){var i=t;n===null?e.removeAttribute(i):(Jt(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===qe&&n===!0?y="":(Jt(n,f),y=""+n,r.sanitizeURL&&xr(y.toString())),d?e.setAttributeNS(d,f,y):e.setAttribute(f,y)}}}var hn=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"),V=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),C=Symbol.for("react.scope"),b=Symbol.for("react.debug_trace_mode"),T=Symbol.for("react.offscreen"),E=Symbol.for("react.legacy_hidden"),U=Symbol.for("react.cache"),S=Symbol.for("react.tracing_marker"),B=Symbol.iterator,z="@@iterator";function Te(e){if(e===null||typeof e!="object")return null;var t=B&&e[B]||e[z];return typeof t=="function"?t:null}var xe=Object.assign,Ne=0,ct,Xt,yn,Dn,_r,Oa,_n;function lr(){}lr.__reactDisabledLog=!0;function Un(){{if(Ne===0){ct=console.log,Xt=console.info,yn=console.warn,Dn=console.error,_r=console.group,Oa=console.groupCollapsed,_n=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})}Ne++}}function zt(){{if(Ne--,Ne===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},e,{value:ct}),info:xe({},e,{value:Xt}),warn:xe({},e,{value:yn}),error:xe({},e,{value:Dn}),group:xe({},e,{value:_r}),groupCollapsed:xe({},e,{value:Oa}),groupEnd:xe({},e,{value:_n})})}Ne<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,Un();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(` + */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(),L=HS(),J=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Le=!1;function je(e){Le=e}function W(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 At(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"||At(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case _e:return!t;case Ge:return t===!1;case vt:return isNaN(t);case Zt:return isNaN(t)||t<1}return!1}function $t(e){return _t.hasOwnProperty(e)?_t[e]:null}function jt(e,t,n,a,r,i,o){this.acceptsBooleans=t===tt||t===_e||t===Ge,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var _t={},$a=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$a.forEach(function(e){_t[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];_t[t]=new jt(t,Pe,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){_t[e]=new jt(e,tt,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_t[e]=new jt(e,tt,!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){_t[e]=new jt(e,_e,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){_t[e]=new jt(e,_e,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){_t[e]=new jt(e,Ge,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){_t[e]=new jt(e,Zt,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){_t[e]=new jt(e,vt,!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);_t[t]=new jt(t,Pe,!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);_t[t]=new jt(t,Pe,!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);_t[t]=new jt(t,Pe,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){_t[e]=new jt(e,Pe,!1,e.toLowerCase(),null,!1,!1)});var or="xlinkHref";_t[or]=new jt("xlinkHref",Pe,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){_t[e]=new jt(e,Pe,!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{Jt(n,t),a.sanitizeURL&&xr(""+n);var i=a.attributeName,o=null;if(a.type===Ge){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(!Dt(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return Jt(n,t),r===""+n?n:r}}function mn(e,t,n,a){var r=$t(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):(Jt(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===Ge&&n===!0?y="":(Jt(n,f),y=""+n,r.sanitizeURL&&xr(y.toString())),d?e.setAttributeNS(d,f,y):e.setAttribute(f,y)}}}var hn=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"),V=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),me=Symbol.for("react.suspense_list"),et=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),C=Symbol.for("react.scope"),b=Symbol.for("react.debug_trace_mode"),T=Symbol.for("react.offscreen"),E=Symbol.for("react.legacy_hidden"),A=Symbol.for("react.cache"),S=Symbol.for("react.tracing_marker"),B=Symbol.iterator,z="@@iterator";function Te(e){if(e===null||typeof e!="object")return null;var t=B&&e[B]||e[z];return typeof t=="function"?t:null}var Ce=Object.assign,Ae=0,ct,Xt,yn,Dn,_r,Oa,_n;function lr(){}lr.__reactDisabledLog=!0;function Hn(){{if(Ae===0){ct=console.log,Xt=console.info,yn=console.warn,Dn=console.error,_r=console.group,Oa=console.groupCollapsed,_n=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 zt(){{if(Ae--,Ae===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ce({},e,{value:ct}),info:Ce({},e,{value:Xt}),warn:Ce({},e,{value:yn}),error:Ce({},e,{value:Dn}),group:Ce({},e,{value:_r}),groupCollapsed:Ce({},e,{value:Oa}),groupEnd:Ce({},e,{value:_n})})}Ae<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,zt(),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 Z:return Pa("Suspense");case he:return Pa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case V:return sn(e.render);case tt: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 re:return Pa(e.type);case Ft:return Pa("Lazy");case O:return Pa("Suspense");case Nt:return Pa("SuspenseList");case fe:case ut:case I:return sn(e.type);case _e:return sn(e.type.render);case ye: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,zt(),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 Z:return Pa("Suspense");case me:return Pa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case V: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 re:return Pa(e.type);case Ft:return Pa("Lazy");case O:return Pa("Suspense");case Nt:return Pa("SuspenseList");case ve:case ut:case I:return sn(e.type);case ke: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` 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 ht(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 Z:return"Suspense";case he: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 V:return qu(e,e.render,"ForwardRef");case tt:var a=e.displayName||null;return a!==null?a:ht(e.type)||"Memo";case p:{var r=e,i=r._payload,o=r._init;try{return ht(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 dt:var a=n;return kr(a)+".Consumer";case Be:var r=n;return kr(r._context)+".Provider";case Et:return"DehydratedFragment";case _e:return nf(n,n.render,"ForwardRef");case ie:return"Fragment";case re:return n;case He:return"Portal";case ae:return"Root";case ge:return"Text";case Ft:return ht(n);case Wt:return n===Rr?"StrictMode":"Mode";case X:return"Offscreen";case Ke:return"Profiler";case we:return"Scope";case O:return"Suspense";case Nt:return"SuspenseList";case de:return"TracingMarker";case ye:case fe:case We:case ut:case Xe:case I:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var cl=J.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 kn(){cl.getCurrentStack=null,aa=null,Mi=!1}function Qt(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 ve(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);ve(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){ve(l),a=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(l){ve(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=xe({},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&&mn(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")?je(n,t.type,r):t.hasOwnProperty("defaultValue")&&je(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;Jt(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i.")))}):t.dangerouslySetInnerHTML!=null&&(rt||(rt=!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