| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- function X0(s,d){for(var m=0;m<d.length;m++){const h=d[m];if(typeof h!="string"&&!Array.isArray(h)){for(const y in h)if(y!=="default"&&!(y in s)){const S=Object.getOwnPropertyDescriptor(h,y);S&&Object.defineProperty(s,y,S.get?S:{enumerable:!0,get:()=>h[y]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}(function(){const d=document.createElement("link").relList;if(d&&d.supports&&d.supports("modulepreload"))return;for(const y of document.querySelectorAll('link[rel="modulepreload"]'))h(y);new MutationObserver(y=>{for(const S of y)if(S.type==="childList")for(const f of S.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&h(f)}).observe(document,{childList:!0,subtree:!0});function m(y){const S={};return y.integrity&&(S.integrity=y.integrity),y.referrerPolicy&&(S.referrerPolicy=y.referrerPolicy),y.crossOrigin==="use-credentials"?S.credentials="include":y.crossOrigin==="anonymous"?S.credentials="omit":S.credentials="same-origin",S}function h(y){if(y.ep)return;y.ep=!0;const S=m(y);fetch(y.href,S)}})();function K0(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var gE={exports:{}},Pm={},bE={exports:{}},Df={exports:{}};Df.exports;(function(s,d){/**
- * @license React
- * react.development.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * 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="18.3.1",h=Symbol.for("react.element"),y=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),_=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),ne=Symbol.iterator,ue="@@iterator";function P(c){if(c===null||typeof c!="object")return null;var g=ne&&c[ne]||c[ue];return typeof g=="function"?g:null}var I={current:null},oe={transition:null},ie={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ze={current:null},Ue={},Ft=null;function nt(c){Ft=c}Ue.setExtraStackFrame=function(c){Ft=c},Ue.getCurrentStack=null,Ue.getStackAddendum=function(){var c="";Ft&&(c+=Ft);var g=Ue.getCurrentStack;return g&&(c+=g()||""),c};var mt=!1,St=!1,ot=!1,xe=!1,Et=!1,ut={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:oe,ReactCurrentOwner:ze};ut.ReactDebugCurrentFrame=Ue,ut.ReactCurrentActQueue=ie;function Nt(c){{for(var g=arguments.length,k=new Array(g>1?g-1:0),z=1;z<g;z++)k[z-1]=arguments[z];dn("warn",c,k)}}function we(c){{for(var g=arguments.length,k=new Array(g>1?g-1:0),z=1;z<g;z++)k[z-1]=arguments[z];dn("error",c,k)}}function dn(c,g,k){{var z=ut.ReactDebugCurrentFrame,q=z.getStackAddendum();q!==""&&(g+="%s",k=k.concat([q]));var me=k.map(function(re){return String(re)});me.unshift("Warning: "+g),Function.prototype.apply.call(console[c],console,me)}}var ga={};function Gn(c,g){{var k=c.constructor,z=k&&(k.displayName||k.name)||"ReactClass",q=z+"."+g;if(ga[q])return;we("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",g,z),ga[q]=!0}}var ia={isMounted:function(c){return!1},enqueueForceUpdate:function(c,g,k){Gn(c,"forceUpdate")},enqueueReplaceState:function(c,g,k,z){Gn(c,"replaceState")},enqueueSetState:function(c,g,k,z){Gn(c,"setState")}},Bt=Object.assign,ba={};Object.freeze(ba);function Rn(c,g,k){this.props=c,this.context=g,this.refs=ba,this.updater=k||ia}Rn.prototype.isReactComponent={},Rn.prototype.setState=function(c,g){if(typeof c!="object"&&typeof c!="function"&&c!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,c,g,"setState")},Rn.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};{var sr={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Pa=function(c,g){Object.defineProperty(Rn.prototype,c,{get:function(){Nt("%s(...) is deprecated in plain JavaScript React classes. %s",g[0],g[1])}})};for(var Kt in sr)sr.hasOwnProperty(Kt)&&Pa(Kt,sr[Kt])}function Wn(){}Wn.prototype=Rn.prototype;function Jt(c,g,k){this.props=c,this.context=g,this.refs=ba,this.updater=k||ia}var Zt=Jt.prototype=new Wn;Zt.constructor=Jt,Bt(Zt,Rn.prototype),Zt.isPureReactComponent=!0;function en(){var c={current:null};return Object.seal(c),c}var An=Array.isArray;function $t(c){return An(c)}function xn(c){{var g=typeof Symbol=="function"&&Symbol.toStringTag,k=g&&c[Symbol.toStringTag]||c.constructor.name||"Object";return k}}function Pt(c){try{return Yt(c),!1}catch{return!0}}function Yt(c){return""+c}function la(c){if(Pt(c))return we("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xn(c)),Yt(c)}function cr(c,g,k){var z=c.displayName;if(z)return z;var q=g.displayName||g.name||"";return q!==""?k+"("+q+")":k}function Sa(c){return c.displayName||"Context"}function jn(c){if(c==null)return null;if(typeof c.tag=="number"&&we("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case S:return"Fragment";case y:return"Portal";case L:return"Profiler";case f:return"StrictMode";case U:return"Suspense";case w:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case _:var g=c;return Sa(g)+".Consumer";case R:var k=c;return Sa(k._context)+".Provider";case F:return cr(c,c.render,"ForwardRef");case H:var z=c.displayName||null;return z!==null?z:jn(c.type)||"Memo";case G:{var q=c,me=q._payload,re=q._init;try{return jn(re(me))}catch{return null}}}return null}var pn=Object.prototype.hasOwnProperty,tn={key:!0,ref:!0,__self:!0,__source:!0},Tn,Ya,wt;wt={};function _n(c){if(pn.call(c,"ref")){var g=Object.getOwnPropertyDescriptor(c,"ref").get;if(g&&g.isReactWarning)return!1}return c.ref!==void 0}function Vn(c){if(pn.call(c,"key")){var g=Object.getOwnPropertyDescriptor(c,"key").get;if(g&&g.isReactWarning)return!1}return c.key!==void 0}function Vr(c,g){var k=function(){Tn||(Tn=!0,we("%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)",g))};k.isReactWarning=!0,Object.defineProperty(c,"key",{get:k,configurable:!0})}function fr(c,g){var k=function(){Ya||(Ya=!0,we("%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)",g))};k.isReactWarning=!0,Object.defineProperty(c,"ref",{get:k,configurable:!0})}function Q(c){if(typeof c.ref=="string"&&ze.current&&c.__self&&ze.current.stateNode!==c.__self){var g=jn(ze.current.type);wt[g]||(we('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',g,c.ref),wt[g]=!0)}}var se=function(c,g,k,z,q,me,re){var Ee={$$typeof:h,type:c,key:g,ref:k,props:re,_owner:me};return Ee._store={},Object.defineProperty(Ee._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ee,"_self",{configurable:!1,enumerable:!1,writable:!1,value:z}),Object.defineProperty(Ee,"_source",{configurable:!1,enumerable:!1,writable:!1,value:q}),Object.freeze&&(Object.freeze(Ee.props),Object.freeze(Ee)),Ee};function Ne(c,g,k){var z,q={},me=null,re=null,Ee=null,Me=null;if(g!=null){_n(g)&&(re=g.ref,Q(g)),Vn(g)&&(la(g.key),me=""+g.key),Ee=g.__self===void 0?null:g.__self,Me=g.__source===void 0?null:g.__source;for(z in g)pn.call(g,z)&&!tn.hasOwnProperty(z)&&(q[z]=g[z])}var qe=arguments.length-2;if(qe===1)q.children=k;else if(qe>1){for(var Je=Array(qe),Ze=0;Ze<qe;Ze++)Je[Ze]=arguments[Ze+2];Object.freeze&&Object.freeze(Je),q.children=Je}if(c&&c.defaultProps){var ke=c.defaultProps;for(z in ke)q[z]===void 0&&(q[z]=ke[z])}if(me||re){var ct=typeof c=="function"?c.displayName||c.name||"Unknown":c;me&&Vr(q,ct),re&&fr(q,ct)}return se(c,me,re,Ee,Me,ze.current,q)}function Ie(c,g){var k=se(c.type,g,c.ref,c._self,c._source,c._owner,c.props);return k}function at(c,g,k){if(c==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+c+".");var z,q=Bt({},c.props),me=c.key,re=c.ref,Ee=c._self,Me=c._source,qe=c._owner;if(g!=null){_n(g)&&(re=g.ref,qe=ze.current),Vn(g)&&(la(g.key),me=""+g.key);var Je;c.type&&c.type.defaultProps&&(Je=c.type.defaultProps);for(z in g)pn.call(g,z)&&!tn.hasOwnProperty(z)&&(g[z]===void 0&&Je!==void 0?q[z]=Je[z]:q[z]=g[z])}var Ze=arguments.length-2;if(Ze===1)q.children=k;else if(Ze>1){for(var ke=Array(Ze),ct=0;ct<Ze;ct++)ke[ct]=arguments[ct+2];q.children=ke}return se(c.type,me,re,Ee,Me,qe,q)}function ft(c){return typeof c=="object"&&c!==null&&c.$$typeof===h}var dt=".",vn=":";function ht(c){var g=/[=:]/g,k={"=":"=0",":":"=2"},z=c.replace(g,function(q){return k[q]});return"$"+z}var Xe=!1,yt=/\/+/g;function Ea(c){return c.replace(yt,"$&/")}function Ca(c,g){return typeof c=="object"&&c!==null&&c.key!=null?(la(c.key),ht(""+c.key)):g.toString(36)}function oa(c,g,k,z,q){var me=typeof c;(me==="undefined"||me==="boolean")&&(c=null);var re=!1;if(c===null)re=!0;else switch(me){case"string":case"number":re=!0;break;case"object":switch(c.$$typeof){case h:case y:re=!0}}if(re){var Ee=c,Me=q(Ee),qe=z===""?dt+Ca(Ee,0):z;if($t(Me)){var Je="";qe!=null&&(Je=Ea(qe)+"/"),oa(Me,g,Je,"",function(Vf){return Vf})}else Me!=null&&(ft(Me)&&(Me.key&&(!Ee||Ee.key!==Me.key)&&la(Me.key),Me=Ie(Me,k+(Me.key&&(!Ee||Ee.key!==Me.key)?Ea(""+Me.key)+"/":"")+qe)),g.push(Me));return 1}var Ze,ke,ct=0,Rt=z===""?dt:z+vn;if($t(c))for(var _i=0;_i<c.length;_i++)Ze=c[_i],ke=Rt+Ca(Ze,_i),ct+=oa(Ze,g,k,ke,q);else{var No=P(c);if(typeof No=="function"){var mr=c;No===mr.entries&&(Xe||Nt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Xe=!0);for(var wo=No.call(mr),Do,jf=0;!(Do=wo.next()).done;)Ze=Do.value,ke=Rt+Ca(Ze,jf++),ct+=oa(Ze,g,k,ke,q)}else if(me==="object"){var xs=String(c);throw new Error("Objects are not valid as a React child (found: "+(xs==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":xs)+"). If you meant to render a collection of children, use an array instead.")}}return ct}function dr(c,g,k){if(c==null)return c;var z=[],q=0;return oa(c,z,"","",function(me){return g.call(k,me,q++)}),z}function fo(c){var g=0;return dr(c,function(){g++}),g}function hi(c,g,k){dr(c,function(){g.apply(this,arguments)},k)}function al(c){return dr(c,function(g){return g})||[]}function rl(c){if(!ft(c))throw new Error("React.Children.only expected to receive a single React element child.");return c}function yi(c){var g={$$typeof:_,_currentValue:c,_currentValue2:c,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};g.Provider={$$typeof:R,_context:g};var k=!1,z=!1,q=!1;{var me={$$typeof:_,_context:g};Object.defineProperties(me,{Provider:{get:function(){return z||(z=!0,we("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),g.Provider},set:function(re){g.Provider=re}},_currentValue:{get:function(){return g._currentValue},set:function(re){g._currentValue=re}},_currentValue2:{get:function(){return g._currentValue2},set:function(re){g._currentValue2=re}},_threadCount:{get:function(){return g._threadCount},set:function(re){g._threadCount=re}},Consumer:{get:function(){return k||(k=!0,we("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),g.Consumer}},displayName:{get:function(){return g.displayName},set:function(re){q||(Nt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",re),q=!0)}}}),g.Consumer=me}return g._currentRenderer=null,g._currentRenderer2=null,g}var Ra=-1,ua=0,Qn=1,Ia=2;function gi(c){if(c._status===Ra){var g=c._result,k=g();if(k.then(function(me){if(c._status===ua||c._status===Ra){var re=c;re._status=Qn,re._result=me}},function(me){if(c._status===ua||c._status===Ra){var re=c;re._status=Ia,re._result=me}}),c._status===Ra){var z=c;z._status=ua,z._result=k}}if(c._status===Qn){var q=c._result;return q===void 0&&we(`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?`,q),"default"in q||we(`lazy: Expected the result of a dynamic import() call. Instead received: %s
- Your code should look like:
- const MyComponent = lazy(() => import('./MyComponent'))`,q),q.default}else throw c._result}function b(c){var g={_status:Ra,_result:c},k={$$typeof:G,_payload:g,_init:gi};{var z,q;Object.defineProperties(k,{defaultProps:{configurable:!0,get:function(){return z},set:function(me){we("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."),z=me,Object.defineProperty(k,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return q},set:function(me){we("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."),q=me,Object.defineProperty(k,"propTypes",{enumerable:!0})}}})}return k}function $(c){c!=null&&c.$$typeof===H?we("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof c!="function"?we("forwardRef requires a render function but was given %s.",c===null?"null":typeof c):c.length!==0&&c.length!==2&&we("forwardRef render functions accept exactly two parameters: props and ref. %s",c.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),c!=null&&(c.defaultProps!=null||c.propTypes!=null)&&we("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var g={$$typeof:F,render:c};{var k;Object.defineProperty(g,"displayName",{enumerable:!1,configurable:!0,get:function(){return k},set:function(z){k=z,!c.name&&!c.displayName&&(c.displayName=z)}})}return g}var X;X=Symbol.for("react.module.reference");function ce(c){return!!(typeof c=="string"||typeof c=="function"||c===S||c===L||Et||c===f||c===U||c===w||xe||c===de||mt||St||ot||typeof c=="object"&&c!==null&&(c.$$typeof===G||c.$$typeof===H||c.$$typeof===R||c.$$typeof===_||c.$$typeof===F||c.$$typeof===X||c.getModuleId!==void 0))}function Le(c,g){ce(c)||we("memo: The first argument must be a component. Instead received: %s",c===null?"null":typeof c);var k={$$typeof:H,type:c,compare:g===void 0?null:g};{var z;Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return z},set:function(q){z=q,!c.name&&!c.displayName&&(c.displayName=q)}})}return k}function ge(){var c=I.current;return c===null&&we(`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.`),c}function Te(c){var g=ge();if(c._context!==void 0){var k=c._context;k.Consumer===c?we("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?"):k.Provider===c&&we("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return g.useContext(c)}function pe(c){var g=ge();return g.useState(c)}function Dt(c,g,k){var z=ge();return z.useReducer(c,g,k)}function rt(c){var g=ge();return g.useRef(c)}function it(c,g){var k=ge();return k.useEffect(c,g)}function mn(c,g){var k=ge();return k.useInsertionEffect(c,g)}function qa(c,g){var k=ge();return k.useLayoutEffect(c,g)}function xa(c,g){var k=ge();return k.useCallback(c,g)}function Ut(c,g){var k=ge();return k.useMemo(c,g)}function bi(c,g,k){var z=ge();return z.useImperativeHandle(c,g,k)}function Ta(c,g){{var k=ge();return k.useDebugValue(c,g)}}function De(){var c=ge();return c.useTransition()}function Si(c){var g=ge();return g.useDeferredValue(c)}function ps(){var c=ge();return c.useId()}function vs(c,g,k){var z=ge();return z.useSyncExternalStore(c,g,k)}var Hr=0,po,vo,mo,ho,yo,ms,hs;function il(){}il.__reactDisabledLog=!0;function go(){{if(Hr===0){po=console.log,vo=console.info,mo=console.warn,ho=console.error,yo=console.group,ms=console.groupCollapsed,hs=console.groupEnd;var c={configurable:!0,enumerable:!0,value:il,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}Hr++}}function Ga(){{if(Hr--,Hr===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Bt({},c,{value:po}),info:Bt({},c,{value:vo}),warn:Bt({},c,{value:mo}),error:Bt({},c,{value:ho}),group:Bt({},c,{value:yo}),groupCollapsed:Bt({},c,{value:ms}),groupEnd:Bt({},c,{value:hs})})}Hr<0&&we("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ei=ut.ReactCurrentDispatcher,Fr;function ll(c,g,k){{if(Fr===void 0)try{throw Error()}catch(q){var z=q.stack.trim().match(/\n( *(at )?)/);Fr=z&&z[1]||""}return`
- `+Fr+c}}var Ci=!1,ol;{var bo=typeof WeakMap=="function"?WeakMap:Map;ol=new bo}function ys(c,g){if(!c||Ci)return"";{var k=ol.get(c);if(k!==void 0)return k}var z;Ci=!0;var q=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var me;me=Ei.current,Ei.current=null,go();try{if(g){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(Rt){z=Rt}Reflect.construct(c,[],re)}else{try{re.call()}catch(Rt){z=Rt}c.call(re.prototype)}}else{try{throw Error()}catch(Rt){z=Rt}c()}}catch(Rt){if(Rt&&z&&typeof Rt.stack=="string"){for(var Ee=Rt.stack.split(`
- `),Me=z.stack.split(`
- `),qe=Ee.length-1,Je=Me.length-1;qe>=1&&Je>=0&&Ee[qe]!==Me[Je];)Je--;for(;qe>=1&&Je>=0;qe--,Je--)if(Ee[qe]!==Me[Je]){if(qe!==1||Je!==1)do if(qe--,Je--,Je<0||Ee[qe]!==Me[Je]){var Ze=`
- `+Ee[qe].replace(" at new "," at ");return c.displayName&&Ze.includes("<anonymous>")&&(Ze=Ze.replace("<anonymous>",c.displayName)),typeof c=="function"&&ol.set(c,Ze),Ze}while(qe>=1&&Je>=0);break}}}finally{Ci=!1,Ei.current=me,Ga(),Error.prepareStackTrace=q}var ke=c?c.displayName||c.name:"",ct=ke?ll(ke):"";return typeof c=="function"&&ol.set(c,ct),ct}function So(c,g,k){return ys(c,!1)}function Of(c){var g=c.prototype;return!!(g&&g.isReactComponent)}function Ri(c,g,k){if(c==null)return"";if(typeof c=="function")return ys(c,Of(c));if(typeof c=="string")return ll(c);switch(c){case U:return ll("Suspense");case w:return ll("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case F:return So(c.render);case H:return Ri(c.type,g,k);case G:{var z=c,q=z._payload,me=z._init;try{return Ri(me(q),g,k)}catch{}}}return""}var gs={},Eo=ut.ReactDebugCurrentFrame;function Be(c){if(c){var g=c._owner,k=Ri(c.type,c._source,g?g.type:null);Eo.setExtraStackFrame(k)}else Eo.setExtraStackFrame(null)}function Lf(c,g,k,z,q){{var me=Function.call.bind(pn);for(var re in c)if(me(c,re)){var Ee=void 0;try{if(typeof c[re]!="function"){var Me=Error((z||"React class")+": "+k+" type `"+re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[re]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Me.name="Invariant Violation",Me}Ee=c[re](g,re,z,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(qe){Ee=qe}Ee&&!(Ee instanceof Error)&&(Be(q),we("%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).",z||"React class",k,re,typeof Ee),Be(null)),Ee instanceof Error&&!(Ee.message in gs)&&(gs[Ee.message]=!0,Be(q),we("Failed %s type: %s",k,Ee.message),Be(null))}}}function pr(c){if(c){var g=c._owner,k=Ri(c.type,c._source,g?g.type:null);nt(k)}else nt(null)}var Re;Re=!1;function Co(){if(ze.current){var c=jn(ze.current.type);if(c)return`
- Check the render method of \``+c+"`."}return""}function Nn(c){if(c!==void 0){var g=c.fileName.replace(/^.*[\\\/]/,""),k=c.lineNumber;return`
- Check your code at `+g+":"+k+"."}return""}function xi(c){return c!=null?Nn(c.__source):""}var Br={};function zf(c){var g=Co();if(!g){var k=typeof c=="string"?c:c.displayName||c.name;k&&(g=`
- Check the top-level render call using <`+k+">.")}return g}function It(c,g){if(!(!c._store||c._store.validated||c.key!=null)){c._store.validated=!0;var k=zf(g);if(!Br[k]){Br[k]=!0;var z="";c&&c._owner&&c._owner!==ze.current&&(z=" It was passed a child from "+jn(c._owner.type)+"."),pr(c),we('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,z),pr(null)}}}function st(c,g){if(typeof c=="object"){if($t(c))for(var k=0;k<c.length;k++){var z=c[k];ft(z)&&It(z,g)}else if(ft(c))c._store&&(c._store.validated=!0);else if(c){var q=P(c);if(typeof q=="function"&&q!==c.entries)for(var me=q.call(c),re;!(re=me.next()).done;)ft(re.value)&&It(re.value,g)}}}function bs(c){{var g=c.type;if(g==null||typeof g=="string")return;var k;if(typeof g=="function")k=g.propTypes;else if(typeof g=="object"&&(g.$$typeof===F||g.$$typeof===H))k=g.propTypes;else return;if(k){var z=jn(g);Lf(k,c.props,"prop",z,c)}else if(g.PropTypes!==void 0&&!Re){Re=!0;var q=jn(g);we("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",q||"Unknown")}typeof g.getDefaultProps=="function"&&!g.getDefaultProps.isReactClassApproved&&we("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sa(c){{for(var g=Object.keys(c.props),k=0;k<g.length;k++){var z=g[k];if(z!=="children"&&z!=="key"){pr(c),we("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",z),pr(null);break}}c.ref!==null&&(pr(c),we("Invalid attribute `ref` supplied to `React.Fragment`."),pr(null))}}function wn(c,g,k){var z=ce(c);if(!z){var q="";(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(q+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var me=xi(g);me?q+=me:q+=Co();var re;c===null?re="null":$t(c)?re="array":c!==void 0&&c.$$typeof===h?(re="<"+(jn(c.type)||"Unknown")+" />",q=" Did you accidentally export a JSX literal instead of a component?"):re=typeof c,we("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",re,q)}var Ee=Ne.apply(this,arguments);if(Ee==null)return Ee;if(z)for(var Me=2;Me<arguments.length;Me++)st(arguments[Me],c);return c===S?sa(Ee):bs(Ee),Ee}var _a=!1;function Mf(c){var g=wn.bind(null,c);return g.type=c,_a||(_a=!0,Nt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(g,"type",{enumerable:!1,get:function(){return Nt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:c}),c}}),g}function Ro(c,g,k){for(var z=at.apply(this,arguments),q=2;q<arguments.length;q++)st(arguments[q],z.type);return bs(z),z}function Ss(c,g){var k=oe.transition;oe.transition={};var z=oe.transition;oe.transition._updatedFibers=new Set;try{c()}finally{if(oe.transition=k,k===null&&z._updatedFibers){var q=z._updatedFibers.size;q>10&&Nt("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."),z._updatedFibers.clear()}}}var xo=!1,ul=null;function Af(c){if(ul===null)try{var g=("require"+Math.random()).slice(0,7),k=s&&s[g];ul=k.call(s,"timers").setImmediate}catch{ul=function(q){xo===!1&&(xo=!0,typeof MessageChannel>"u"&&we("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 me=new MessageChannel;me.port1.onmessage=q,me.port2.postMessage(void 0)}}return ul(c)}var $r=0,Ti=!1;function To(c){{var g=$r;$r++,ie.current===null&&(ie.current=[]);var k=ie.isBatchingLegacy,z;try{if(ie.isBatchingLegacy=!0,z=c(),!k&&ie.didScheduleLegacyUpdate){var q=ie.current;q!==null&&(ie.didScheduleLegacyUpdate=!1,fl(q))}}catch(ke){throw vr(g),ke}finally{ie.isBatchingLegacy=k}if(z!==null&&typeof z=="object"&&typeof z.then=="function"){var me=z,re=!1,Ee={then:function(ke,ct){re=!0,me.then(function(Rt){vr(g),$r===0?sl(Rt,ke,ct):ke(Rt)},function(Rt){vr(g),ct(Rt)})}};return!Ti&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){re||(Ti=!0,we("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 () => ...);"))}),Ee}else{var Me=z;if(vr(g),$r===0){var qe=ie.current;qe!==null&&(fl(qe),ie.current=null);var Je={then:function(ke,ct){ie.current===null?(ie.current=[],sl(Me,ke,ct)):ke(Me)}};return Je}else{var Ze={then:function(ke,ct){ke(Me)}};return Ze}}}}function vr(c){c!==$r-1&&we("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),$r=c}function sl(c,g,k){{var z=ie.current;if(z!==null)try{fl(z),Af(function(){z.length===0?(ie.current=null,g(c)):sl(c,g,k)})}catch(q){k(q)}else g(c)}}var cl=!1;function fl(c){if(!cl){cl=!0;var g=0;try{for(;g<c.length;g++){var k=c[g];do k=k(!0);while(k!==null)}c.length=0}catch(z){throw c=c.slice(g+1),z}finally{cl=!1}}}var Es=wn,Cs=Ro,_o=Mf,Rs={map:dr,forEach:hi,count:fo,toArray:al,only:rl};d.Children=Rs,d.Component=Rn,d.Fragment=S,d.Profiler=L,d.PureComponent=Jt,d.StrictMode=f,d.Suspense=U,d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ut,d.act=To,d.cloneElement=Cs,d.createContext=yi,d.createElement=Es,d.createFactory=_o,d.createRef=en,d.forwardRef=$,d.isValidElement=ft,d.lazy=b,d.memo=Le,d.startTransition=Ss,d.unstable_act=To,d.useCallback=xa,d.useContext=Te,d.useDebugValue=Ta,d.useDeferredValue=Si,d.useEffect=it,d.useId=ps,d.useImperativeHandle=bi,d.useInsertionEffect=mn,d.useLayoutEffect=qa,d.useMemo=Ut,d.useReducer=Dt,d.useRef=rt,d.useState=pe,d.useSyncExternalStore=vs,d.useTransition=De,d.version=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(Df,Df.exports);var J0=Df.exports;bE.exports=J0;var j=bE.exports;const SE=K0(j),Z0=X0({__proto__:null,default:SE},[j]);/**
- * @license React
- * react-jsx-dev-runtime.development.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */(function(){var s=j,d=Symbol.for("react.element"),m=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),L=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),H=Symbol.for("react.offscreen"),G=Symbol.iterator,de="@@iterator";function ne(b){if(b===null||typeof b!="object")return null;var $=G&&b[G]||b[de];return typeof $=="function"?$:null}var ue=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(b){{for(var $=arguments.length,X=new Array($>1?$-1:0),ce=1;ce<$;ce++)X[ce-1]=arguments[ce];I("error",b,X)}}function I(b,$,X){{var ce=ue.ReactDebugCurrentFrame,Le=ce.getStackAddendum();Le!==""&&($+="%s",X=X.concat([Le]));var ge=X.map(function(Te){return String(Te)});ge.unshift("Warning: "+$),Function.prototype.apply.call(console[b],console,ge)}}var oe=!1,ie=!1,ze=!1,Ue=!1,Ft=!1,nt;nt=Symbol.for("react.module.reference");function mt(b){return!!(typeof b=="string"||typeof b=="function"||b===h||b===S||Ft||b===y||b===_||b===F||Ue||b===H||oe||ie||ze||typeof b=="object"&&b!==null&&(b.$$typeof===w||b.$$typeof===U||b.$$typeof===f||b.$$typeof===L||b.$$typeof===R||b.$$typeof===nt||b.getModuleId!==void 0))}function St(b,$,X){var ce=b.displayName;if(ce)return ce;var Le=$.displayName||$.name||"";return Le!==""?X+"("+Le+")":X}function ot(b){return b.displayName||"Context"}function xe(b){if(b==null)return null;if(typeof b.tag=="number"&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case h:return"Fragment";case m:return"Portal";case S:return"Profiler";case y:return"StrictMode";case _:return"Suspense";case F:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case L:var $=b;return ot($)+".Consumer";case f:var X=b;return ot(X._context)+".Provider";case R:return St(b,b.render,"ForwardRef");case U:var ce=b.displayName||null;return ce!==null?ce:xe(b.type)||"Memo";case w:{var Le=b,ge=Le._payload,Te=Le._init;try{return xe(Te(ge))}catch{return null}}}return null}var Et=Object.assign,ut=0,Nt,we,dn,ga,Gn,ia,Bt;function ba(){}ba.__reactDisabledLog=!0;function Rn(){{if(ut===0){Nt=console.log,we=console.info,dn=console.warn,ga=console.error,Gn=console.group,ia=console.groupCollapsed,Bt=console.groupEnd;var b={configurable:!0,enumerable:!0,value:ba,writable:!0};Object.defineProperties(console,{info:b,log:b,warn:b,error:b,group:b,groupCollapsed:b,groupEnd:b})}ut++}}function sr(){{if(ut--,ut===0){var b={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Et({},b,{value:Nt}),info:Et({},b,{value:we}),warn:Et({},b,{value:dn}),error:Et({},b,{value:ga}),group:Et({},b,{value:Gn}),groupCollapsed:Et({},b,{value:ia}),groupEnd:Et({},b,{value:Bt})})}ut<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pa=ue.ReactCurrentDispatcher,Kt;function Wn(b,$,X){{if(Kt===void 0)try{throw Error()}catch(Le){var ce=Le.stack.trim().match(/\n( *(at )?)/);Kt=ce&&ce[1]||""}return`
- `+Kt+b}}var Jt=!1,Zt;{var en=typeof WeakMap=="function"?WeakMap:Map;Zt=new en}function An(b,$){if(!b||Jt)return"";{var X=Zt.get(b);if(X!==void 0)return X}var ce;Jt=!0;var Le=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ge;ge=Pa.current,Pa.current=null,Rn();try{if($){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(Ut){ce=Ut}Reflect.construct(b,[],Te)}else{try{Te.call()}catch(Ut){ce=Ut}b.call(Te.prototype)}}else{try{throw Error()}catch(Ut){ce=Ut}b()}}catch(Ut){if(Ut&&ce&&typeof Ut.stack=="string"){for(var pe=Ut.stack.split(`
- `),Dt=ce.stack.split(`
- `),rt=pe.length-1,it=Dt.length-1;rt>=1&&it>=0&&pe[rt]!==Dt[it];)it--;for(;rt>=1&&it>=0;rt--,it--)if(pe[rt]!==Dt[it]){if(rt!==1||it!==1)do if(rt--,it--,it<0||pe[rt]!==Dt[it]){var mn=`
- `+pe[rt].replace(" at new "," at ");return b.displayName&&mn.includes("<anonymous>")&&(mn=mn.replace("<anonymous>",b.displayName)),typeof b=="function"&&Zt.set(b,mn),mn}while(rt>=1&&it>=0);break}}}finally{Jt=!1,Pa.current=ge,sr(),Error.prepareStackTrace=Le}var qa=b?b.displayName||b.name:"",xa=qa?Wn(qa):"";return typeof b=="function"&&Zt.set(b,xa),xa}function $t(b,$,X){return An(b,!1)}function xn(b){var $=b.prototype;return!!($&&$.isReactComponent)}function Pt(b,$,X){if(b==null)return"";if(typeof b=="function")return An(b,xn(b));if(typeof b=="string")return Wn(b);switch(b){case _:return Wn("Suspense");case F:return Wn("SuspenseList")}if(typeof b=="object")switch(b.$$typeof){case R:return $t(b.render);case U:return Pt(b.type,$,X);case w:{var ce=b,Le=ce._payload,ge=ce._init;try{return Pt(ge(Le),$,X)}catch{}}}return""}var Yt=Object.prototype.hasOwnProperty,la={},cr=ue.ReactDebugCurrentFrame;function Sa(b){if(b){var $=b._owner,X=Pt(b.type,b._source,$?$.type:null);cr.setExtraStackFrame(X)}else cr.setExtraStackFrame(null)}function jn(b,$,X,ce,Le){{var ge=Function.call.bind(Yt);for(var Te in b)if(ge(b,Te)){var pe=void 0;try{if(typeof b[Te]!="function"){var Dt=Error((ce||"React class")+": "+X+" type `"+Te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof b[Te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Dt.name="Invariant Violation",Dt}pe=b[Te]($,Te,ce,X,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(rt){pe=rt}pe&&!(pe instanceof Error)&&(Sa(Le),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).",ce||"React class",X,Te,typeof pe),Sa(null)),pe instanceof Error&&!(pe.message in la)&&(la[pe.message]=!0,Sa(Le),P("Failed %s type: %s",X,pe.message),Sa(null))}}}var pn=Array.isArray;function tn(b){return pn(b)}function Tn(b){{var $=typeof Symbol=="function"&&Symbol.toStringTag,X=$&&b[Symbol.toStringTag]||b.constructor.name||"Object";return X}}function Ya(b){try{return wt(b),!1}catch{return!0}}function wt(b){return""+b}function _n(b){if(Ya(b))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Tn(b)),wt(b)}var Vn=ue.ReactCurrentOwner,Vr={key:!0,ref:!0,__self:!0,__source:!0},fr,Q,se;se={};function Ne(b){if(Yt.call(b,"ref")){var $=Object.getOwnPropertyDescriptor(b,"ref").get;if($&&$.isReactWarning)return!1}return b.ref!==void 0}function Ie(b){if(Yt.call(b,"key")){var $=Object.getOwnPropertyDescriptor(b,"key").get;if($&&$.isReactWarning)return!1}return b.key!==void 0}function at(b,$){if(typeof b.ref=="string"&&Vn.current&&$&&Vn.current.stateNode!==$){var X=xe(Vn.current.type);se[X]||(P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',xe(Vn.current.type),b.ref),se[X]=!0)}}function ft(b,$){{var X=function(){fr||(fr=!0,P("%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)",$))};X.isReactWarning=!0,Object.defineProperty(b,"key",{get:X,configurable:!0})}}function dt(b,$){{var X=function(){Q||(Q=!0,P("%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)",$))};X.isReactWarning=!0,Object.defineProperty(b,"ref",{get:X,configurable:!0})}}var vn=function(b,$,X,ce,Le,ge,Te){var pe={$$typeof:d,type:b,key:$,ref:X,props:Te,_owner:ge};return pe._store={},Object.defineProperty(pe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(pe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ce}),Object.defineProperty(pe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Le}),Object.freeze&&(Object.freeze(pe.props),Object.freeze(pe)),pe};function ht(b,$,X,ce,Le){{var ge,Te={},pe=null,Dt=null;X!==void 0&&(_n(X),pe=""+X),Ie($)&&(_n($.key),pe=""+$.key),Ne($)&&(Dt=$.ref,at($,Le));for(ge in $)Yt.call($,ge)&&!Vr.hasOwnProperty(ge)&&(Te[ge]=$[ge]);if(b&&b.defaultProps){var rt=b.defaultProps;for(ge in rt)Te[ge]===void 0&&(Te[ge]=rt[ge])}if(pe||Dt){var it=typeof b=="function"?b.displayName||b.name||"Unknown":b;pe&&ft(Te,it),Dt&&dt(Te,it)}return vn(b,pe,Dt,Le,ce,Vn.current,Te)}}var Xe=ue.ReactCurrentOwner,yt=ue.ReactDebugCurrentFrame;function Ea(b){if(b){var $=b._owner,X=Pt(b.type,b._source,$?$.type:null);yt.setExtraStackFrame(X)}else yt.setExtraStackFrame(null)}var Ca;Ca=!1;function oa(b){return typeof b=="object"&&b!==null&&b.$$typeof===d}function dr(){{if(Xe.current){var b=xe(Xe.current.type);if(b)return`
- Check the render method of \``+b+"`."}return""}}function fo(b){{if(b!==void 0){var $=b.fileName.replace(/^.*[\\\/]/,""),X=b.lineNumber;return`
- Check your code at `+$+":"+X+"."}return""}}var hi={};function al(b){{var $=dr();if(!$){var X=typeof b=="string"?b:b.displayName||b.name;X&&($=`
- Check the top-level render call using <`+X+">.")}return $}}function rl(b,$){{if(!b._store||b._store.validated||b.key!=null)return;b._store.validated=!0;var X=al($);if(hi[X])return;hi[X]=!0;var ce="";b&&b._owner&&b._owner!==Xe.current&&(ce=" It was passed a child from "+xe(b._owner.type)+"."),Ea(b),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',X,ce),Ea(null)}}function yi(b,$){{if(typeof b!="object")return;if(tn(b))for(var X=0;X<b.length;X++){var ce=b[X];oa(ce)&&rl(ce,$)}else if(oa(b))b._store&&(b._store.validated=!0);else if(b){var Le=ne(b);if(typeof Le=="function"&&Le!==b.entries)for(var ge=Le.call(b),Te;!(Te=ge.next()).done;)oa(Te.value)&&rl(Te.value,$)}}}function Ra(b){{var $=b.type;if($==null||typeof $=="string")return;var X;if(typeof $=="function")X=$.propTypes;else if(typeof $=="object"&&($.$$typeof===R||$.$$typeof===U))X=$.propTypes;else return;if(X){var ce=xe($);jn(X,b.props,"prop",ce,b)}else if($.PropTypes!==void 0&&!Ca){Ca=!0;var Le=xe($);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Le||"Unknown")}typeof $.getDefaultProps=="function"&&!$.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ua(b){{for(var $=Object.keys(b.props),X=0;X<$.length;X++){var ce=$[X];if(ce!=="children"&&ce!=="key"){Ea(b),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),Ea(null);break}}b.ref!==null&&(Ea(b),P("Invalid attribute `ref` supplied to `React.Fragment`."),Ea(null))}}var Qn={};function Ia(b,$,X,ce,Le,ge){{var Te=mt(b);if(!Te){var pe="";(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(pe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Dt=fo(Le);Dt?pe+=Dt:pe+=dr();var rt;b===null?rt="null":tn(b)?rt="array":b!==void 0&&b.$$typeof===d?(rt="<"+(xe(b.type)||"Unknown")+" />",pe=" Did you accidentally export a JSX literal instead of a component?"):rt=typeof b,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",rt,pe)}var it=ht(b,$,X,Le,ge);if(it==null)return it;if(Te){var mn=$.children;if(mn!==void 0)if(ce)if(tn(mn)){for(var qa=0;qa<mn.length;qa++)yi(mn[qa],b);Object.freeze&&Object.freeze(mn)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else yi(mn,b)}if(Yt.call($,"key")){var xa=xe(b),Ut=Object.keys($).filter(function(De){return De!=="key"}),bi=Ut.length>0?"{key: someKey, "+Ut.join(": ..., ")+": ...}":"{key: someKey}";if(!Qn[xa+bi]){var Ta=Ut.length>0?"{"+Ut.join(": ..., ")+": ...}":"{}";P(`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} />`,bi,xa,Ta,xa),Qn[xa+bi]=!0}}return b===h?ua(it):Ra(it),it}}var gi=Ia;Pm.Fragment=h,Pm.jsxDEV=gi})();gE.exports=Pm;var N=gE.exports,Ym={},EE={exports:{}},ra={},CE={exports:{}},RE={};(function(s){/**
- * @license React
- * scheduler.development.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * 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 d=!1,m=5;function h(Q,se){var Ne=Q.length;Q.push(se),f(Q,se,Ne)}function y(Q){return Q.length===0?null:Q[0]}function S(Q){if(Q.length===0)return null;var se=Q[0],Ne=Q.pop();return Ne!==se&&(Q[0]=Ne,L(Q,Ne,0)),se}function f(Q,se,Ne){for(var Ie=Ne;Ie>0;){var at=Ie-1>>>1,ft=Q[at];if(R(ft,se)>0)Q[at]=se,Q[Ie]=ft,Ie=at;else return}}function L(Q,se,Ne){for(var Ie=Ne,at=Q.length,ft=at>>>1;Ie<ft;){var dt=(Ie+1)*2-1,vn=Q[dt],ht=dt+1,Xe=Q[ht];if(R(vn,se)<0)ht<at&&R(Xe,vn)<0?(Q[Ie]=Xe,Q[ht]=se,Ie=ht):(Q[Ie]=vn,Q[dt]=se,Ie=dt);else if(ht<at&&R(Xe,se)<0)Q[Ie]=Xe,Q[ht]=se,Ie=ht;else return}}function R(Q,se){var Ne=Q.sortIndex-se.sortIndex;return Ne!==0?Ne:Q.id-se.id}var _=1,F=2,U=3,w=4,H=5;function G(Q,se){}var de=typeof performance=="object"&&typeof performance.now=="function";if(de){var ne=performance;s.unstable_now=function(){return ne.now()}}else{var ue=Date,P=ue.now();s.unstable_now=function(){return ue.now()-P}}var I=1073741823,oe=-1,ie=250,ze=5e3,Ue=1e4,Ft=I,nt=[],mt=[],St=1,ot=null,xe=U,Et=!1,ut=!1,Nt=!1,we=typeof setTimeout=="function"?setTimeout:null,dn=typeof clearTimeout=="function"?clearTimeout:null,ga=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Gn(Q){for(var se=y(mt);se!==null;){if(se.callback===null)S(mt);else if(se.startTime<=Q)S(mt),se.sortIndex=se.expirationTime,h(nt,se);else return;se=y(mt)}}function ia(Q){if(Nt=!1,Gn(Q),!ut)if(y(nt)!==null)ut=!0,wt(Bt);else{var se=y(mt);se!==null&&_n(ia,se.startTime-Q)}}function Bt(Q,se){ut=!1,Nt&&(Nt=!1,Vn()),Et=!0;var Ne=xe;try{var Ie;if(!d)return ba(Q,se)}finally{ot=null,xe=Ne,Et=!1}}function ba(Q,se){var Ne=se;for(Gn(Ne),ot=y(nt);ot!==null&&!(ot.expirationTime>Ne&&(!Q||cr()));){var Ie=ot.callback;if(typeof Ie=="function"){ot.callback=null,xe=ot.priorityLevel;var at=ot.expirationTime<=Ne,ft=Ie(at);Ne=s.unstable_now(),typeof ft=="function"?ot.callback=ft:ot===y(nt)&&S(nt),Gn(Ne)}else S(nt);ot=y(nt)}if(ot!==null)return!0;var dt=y(mt);return dt!==null&&_n(ia,dt.startTime-Ne),!1}function Rn(Q,se){switch(Q){case _:case F:case U:case w:case H:break;default:Q=U}var Ne=xe;xe=Q;try{return se()}finally{xe=Ne}}function sr(Q){var se;switch(xe){case _:case F:case U:se=U;break;default:se=xe;break}var Ne=xe;xe=se;try{return Q()}finally{xe=Ne}}function Pa(Q){var se=xe;return function(){var Ne=xe;xe=se;try{return Q.apply(this,arguments)}finally{xe=Ne}}}function Kt(Q,se,Ne){var Ie=s.unstable_now(),at;if(typeof Ne=="object"&&Ne!==null){var ft=Ne.delay;typeof ft=="number"&&ft>0?at=Ie+ft:at=Ie}else at=Ie;var dt;switch(Q){case _:dt=oe;break;case F:dt=ie;break;case H:dt=Ft;break;case w:dt=Ue;break;case U:default:dt=ze;break}var vn=at+dt,ht={id:St++,callback:se,priorityLevel:Q,startTime:at,expirationTime:vn,sortIndex:-1};return at>Ie?(ht.sortIndex=at,h(mt,ht),y(nt)===null&&ht===y(mt)&&(Nt?Vn():Nt=!0,_n(ia,at-Ie))):(ht.sortIndex=vn,h(nt,ht),!ut&&!Et&&(ut=!0,wt(Bt))),ht}function Wn(){}function Jt(){!ut&&!Et&&(ut=!0,wt(Bt))}function Zt(){return y(nt)}function en(Q){Q.callback=null}function An(){return xe}var $t=!1,xn=null,Pt=-1,Yt=m,la=-1;function cr(){var Q=s.unstable_now()-la;return!(Q<Yt)}function Sa(){}function jn(Q){if(Q<0||Q>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Q>0?Yt=Math.floor(1e3/Q):Yt=m}var pn=function(){if(xn!==null){var Q=s.unstable_now();la=Q;var se=!0,Ne=!0;try{Ne=xn(se,Q)}finally{Ne?tn():($t=!1,xn=null)}}else $t=!1},tn;if(typeof ga=="function")tn=function(){ga(pn)};else if(typeof MessageChannel<"u"){var Tn=new MessageChannel,Ya=Tn.port2;Tn.port1.onmessage=pn,tn=function(){Ya.postMessage(null)}}else tn=function(){we(pn,0)};function wt(Q){xn=Q,$t||($t=!0,tn())}function _n(Q,se){Pt=we(function(){Q(s.unstable_now())},se)}function Vn(){dn(Pt),Pt=-1}var Vr=Sa,fr=null;s.unstable_IdlePriority=H,s.unstable_ImmediatePriority=_,s.unstable_LowPriority=w,s.unstable_NormalPriority=U,s.unstable_Profiling=fr,s.unstable_UserBlockingPriority=F,s.unstable_cancelCallback=en,s.unstable_continueExecution=Jt,s.unstable_forceFrameRate=jn,s.unstable_getCurrentPriorityLevel=An,s.unstable_getFirstCallbackNode=Zt,s.unstable_next=sr,s.unstable_pauseExecution=Wn,s.unstable_requestPaint=Vr,s.unstable_runWithPriority=Rn,s.unstable_scheduleCallback=Kt,s.unstable_shouldYield=cr,s.unstable_wrapCallback=Pa,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(RE);CE.exports=RE;var e1=CE.exports;/**
- * @license React
- * react-dom.development.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * 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 s=j,d=e1,m=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,h=!1;function y(e){h=e}function S(e){if(!h){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];L("warn",e,n)}}function f(e){if(!h){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];L("error",e,n)}}function L(e,t,n){{var a=m.ReactDebugCurrentFrame,r=a.getStackAddendum();r!==""&&(t+="%s",n=n.concat([r]));var i=n.map(function(l){return String(l)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}}var R=0,_=1,F=2,U=3,w=4,H=5,G=6,de=7,ne=8,ue=9,P=10,I=11,oe=12,ie=13,ze=14,Ue=15,Ft=16,nt=17,mt=18,St=19,ot=21,xe=22,Et=23,ut=24,Nt=25,we=!0,dn=!1,ga=!1,Gn=!1,ia=!1,Bt=!0,ba=!0,Rn=!0,sr=!0,Pa=new Set,Kt={},Wn={};function Jt(e,t){Zt(e,t),Zt(e+"Capture",t)}function Zt(e,t){Kt[e]&&f("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Kt[e]=t;{var n=e.toLowerCase();Wn[n]=e,e==="onDoubleClick"&&(Wn.ondblclick=e)}for(var a=0;a<t.length;a++)Pa.add(t[a])}var en=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",An=Object.prototype.hasOwnProperty;function $t(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function xn(e){try{return Pt(e),!1}catch{return!0}}function Pt(e){return""+e}function Yt(e,t){if(xn(e))return f("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$t(e)),Pt(e)}function la(e){if(xn(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$t(e)),Pt(e)}function cr(e,t){if(xn(e))return f("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$t(e)),Pt(e)}function Sa(e,t){if(xn(e))return f("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$t(e)),Pt(e)}function jn(e){if(xn(e))return f("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",$t(e)),Pt(e)}function pn(e){if(xn(e))return f("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",$t(e)),Pt(e)}var tn=0,Tn=1,Ya=2,wt=3,_n=4,Vn=5,Vr=6,fr=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Q=fr+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",se=new RegExp("^["+fr+"]["+Q+"]*$"),Ne={},Ie={};function at(e){return An.call(Ie,e)?!0:An.call(Ne,e)?!1:se.test(e)?(Ie[e]=!0,!0):(Ne[e]=!0,f("Invalid attribute name: `%s`",e),!1)}function ft(e,t,n){return t!==null?t.type===tn:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function dt(e,t,n,a){if(n!==null&&n.type===tn)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 vn(e,t,n,a){if(t===null||typeof t>"u"||dt(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case wt:return!t;case _n:return t===!1;case Vn:return isNaN(t);case Vr:return isNaN(t)||t<1}return!1}function ht(e){return yt.hasOwnProperty(e)?yt[e]:null}function Xe(e,t,n,a,r,i,l){this.acceptsBooleans=t===Ya||t===wt||t===_n,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var yt={},Ea=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ea.forEach(function(e){yt[e]=new Xe(e,tn,!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];yt[t]=new Xe(t,Tn,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){yt[e]=new Xe(e,Ya,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yt[e]=new Xe(e,Ya,!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){yt[e]=new Xe(e,wt,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){yt[e]=new Xe(e,wt,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){yt[e]=new Xe(e,_n,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){yt[e]=new Xe(e,Vr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){yt[e]=new Xe(e,Vn,!1,e.toLowerCase(),null,!1,!1)});var Ca=/[\-\:]([a-z])/g,oa=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(Ca,oa);yt[t]=new Xe(t,Tn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Ca,oa);yt[t]=new Xe(t,Tn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ca,oa);yt[t]=new Xe(t,Tn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){yt[e]=new Xe(e,Tn,!1,e.toLowerCase(),null,!1,!1)});var dr="xlinkHref";yt[dr]=new Xe("xlinkHref",Tn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){yt[e]=new Xe(e,Tn,!1,e.toLowerCase(),null,!0,!0)});var fo=/^[\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,hi=!1;function al(e){!hi&&fo.test(e)&&(hi=!0,f("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 rl(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{Yt(n,t),a.sanitizeURL&&al(""+n);var i=a.attributeName,l=null;if(a.type===_n){if(e.hasAttribute(i)){var o=e.getAttribute(i);return o===""?!0:vn(t,n,a,!1)?o:o===""+n?n:o}}else if(e.hasAttribute(i)){if(vn(t,n,a,!1))return e.getAttribute(i);if(a.type===wt)return n;l=e.getAttribute(i)}return vn(t,n,a,!1)?l===null?n:l:l===""+n?n:l}}function yi(e,t,n,a){{if(!at(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return Yt(n,t),r===""+n?n:r}}function Ra(e,t,n,a){var r=ht(t);if(!ft(t,r,a)){if(vn(t,n,r,a)&&(n=null),a||r===null){if(at(t)){var i=t;n===null?e.removeAttribute(i):(Yt(n,t),e.setAttribute(i,""+n))}return}var l=r.mustUseProperty;if(l){var o=r.propertyName;if(n===null){var u=r.type;e[o]=u===wt?!1:""}else e[o]=n;return}var p=r.attributeName,v=r.attributeNamespace;if(n===null)e.removeAttribute(p);else{var C=r.type,E;C===wt||C===_n&&n===!0?E="":(Yt(n,p),E=""+n,r.sanitizeURL&&al(E.toString())),v?e.setAttributeNS(v,p,E):e.setAttribute(p,E)}}}var ua=Symbol.for("react.element"),Qn=Symbol.for("react.portal"),Ia=Symbol.for("react.fragment"),gi=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),X=Symbol.for("react.context"),ce=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),Dt=Symbol.for("react.scope"),rt=Symbol.for("react.debug_trace_mode"),it=Symbol.for("react.offscreen"),mn=Symbol.for("react.legacy_hidden"),qa=Symbol.for("react.cache"),xa=Symbol.for("react.tracing_marker"),Ut=Symbol.iterator,bi="@@iterator";function Ta(e){if(e===null||typeof e!="object")return null;var t=Ut&&e[Ut]||e[bi];return typeof t=="function"?t:null}var De=Object.assign,Si=0,ps,vs,Hr,po,vo,mo,ho;function yo(){}yo.__reactDisabledLog=!0;function ms(){{if(Si===0){ps=console.log,vs=console.info,Hr=console.warn,po=console.error,vo=console.group,mo=console.groupCollapsed,ho=console.groupEnd;var e={configurable:!0,enumerable:!0,value:yo,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Si++}}function hs(){{if(Si--,Si===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:De({},e,{value:ps}),info:De({},e,{value:vs}),warn:De({},e,{value:Hr}),error:De({},e,{value:po}),group:De({},e,{value:vo}),groupCollapsed:De({},e,{value:mo}),groupEnd:De({},e,{value:ho})})}Si<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var il=m.ReactCurrentDispatcher,go;function Ga(e,t,n){{if(go===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);go=a&&a[1]||""}return`
- `+go+e}}var Ei=!1,Fr;{var ll=typeof WeakMap=="function"?WeakMap:Map;Fr=new ll}function Ci(e,t){if(!e||Ei)return"";{var n=Fr.get(e);if(n!==void 0)return n}var a;Ei=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=il.current,il.current=null,ms();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(O){a=O}Reflect.construct(e,[],l)}else{try{l.call()}catch(O){a=O}e.call(l.prototype)}}else{try{throw Error()}catch(O){a=O}e()}}catch(O){if(O&&a&&typeof O.stack=="string"){for(var o=O.stack.split(`
- `),u=a.stack.split(`
- `),p=o.length-1,v=u.length-1;p>=1&&v>=0&&o[p]!==u[v];)v--;for(;p>=1&&v>=0;p--,v--)if(o[p]!==u[v]){if(p!==1||v!==1)do if(p--,v--,v<0||o[p]!==u[v]){var C=`
- `+o[p].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),typeof e=="function"&&Fr.set(e,C),C}while(p>=1&&v>=0);break}}}finally{Ei=!1,il.current=i,hs(),Error.prepareStackTrace=r}var E=e?e.displayName||e.name:"",D=E?Ga(E):"";return typeof e=="function"&&Fr.set(e,D),D}function ol(e,t,n){return Ci(e,!0)}function bo(e,t,n){return Ci(e,!1)}function ys(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function So(e,t,n){if(e==null)return"";if(typeof e=="function")return Ci(e,ys(e));if(typeof e=="string")return Ga(e);switch(e){case Le:return Ga("Suspense");case ge:return Ga("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case ce:return bo(e.render);case Te:return So(e.type,t,n);case pe:{var a=e,r=a._payload,i=a._init;try{return So(i(r),t,n)}catch{}}}return""}function Of(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case H:return Ga(e.type);case Ft:return Ga("Lazy");case ie:return Ga("Suspense");case St:return Ga("SuspenseList");case R:case F:case Ue:return bo(e.type);case I:return bo(e.type.render);case _:return ol(e.type);default:return""}}function Ri(e){try{var t="",n=e;do t+=Of(n),n=n.return;while(n);return t}catch(a){return`
- Error generating stack: `+a.message+`
- `+a.stack}}function gs(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function Eo(e){return e.displayName||"Context"}function Be(e){if(e==null)return null;if(typeof e.tag=="number"&&f("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 Ia:return"Fragment";case Qn:return"Portal";case b:return"Profiler";case gi:return"StrictMode";case Le:return"Suspense";case ge:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case X:var t=e;return Eo(t)+".Consumer";case $:var n=e;return Eo(n._context)+".Provider";case ce:return gs(e,e.render,"ForwardRef");case Te:var a=e.displayName||null;return a!==null?a:Be(e.type)||"Memo";case pe:{var r=e,i=r._payload,l=r._init;try{return Be(l(i))}catch{return null}}}return null}function Lf(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function pr(e){return e.displayName||"Context"}function Re(e){var t=e.tag,n=e.type;switch(t){case ut:return"Cache";case ue:var a=n;return pr(a)+".Consumer";case P:var r=n;return pr(r._context)+".Provider";case mt:return"DehydratedFragment";case I:return Lf(n,n.render,"ForwardRef");case de:return"Fragment";case H:return n;case w:return"Portal";case U:return"Root";case G:return"Text";case Ft:return Be(n);case ne:return n===gi?"StrictMode":"Mode";case xe:return"Offscreen";case oe:return"Profiler";case ot:return"Scope";case ie:return"Suspense";case St:return"SuspenseList";case Nt:return"TracingMarker";case _:case R:case nt:case F:case ze:case Ue:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Co=m.ReactDebugCurrentFrame,Nn=null,xi=!1;function Br(){{if(Nn===null)return null;var e=Nn._debugOwner;if(e!==null&&typeof e<"u")return Re(e)}return null}function zf(){return Nn===null?"":Ri(Nn)}function It(){Co.getCurrentStack=null,Nn=null,xi=!1}function st(e){Co.getCurrentStack=e===null?null:zf,Nn=e,xi=!1}function bs(){return Nn}function sa(e){xi=e}function wn(e){return""+e}function _a(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return pn(e),e;default:return""}}var Mf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ro(e,t){Mf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||f("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||f("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 Ss(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xo(e){return e._valueTracker}function ul(e){e._valueTracker=null}function Af(e){var t="";return e&&(Ss(e)?t=e.checked?"true":"false":t=e.value),t}function $r(e){var t=Ss(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);pn(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(o){pn(o),a=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var l={getValue:function(){return a},setValue:function(o){pn(o),a=""+o},stopTracking:function(){ul(e),delete e[t]}};return l}}function Ti(e){xo(e)||(e._valueTracker=$r(e))}function To(e){if(!e)return!1;var t=xo(e);if(!t)return!0;var n=t.getValue(),a=Af(e);return a!==n?(t.setValue(a),!0):!1}function vr(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 sl=!1,cl=!1,fl=!1,Es=!1;function Cs(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function _o(e,t){var n=e,a=t.checked,r=De({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked});return r}function Rs(e,t){Ro("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!cl&&(f("%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",Br()||"A component",t.type),cl=!0),t.value!==void 0&&t.defaultValue!==void 0&&!sl&&(f("%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",Br()||"A component",t.type),sl=!0);var n=e,a=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:_a(t.value!=null?t.value:a),controlled:Cs(t)}}function c(e,t){var n=e,a=t.checked;a!=null&&Ra(n,"checked",a,!1)}function g(e,t){var n=e;{var a=Cs(t);!n._wrapperState.controlled&&a&&!Es&&(f("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"),Es=!0),n._wrapperState.controlled&&!a&&!fl&&(f("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"),fl=!0)}c(e,t);var r=_a(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=wn(r)):n.value!==wn(r)&&(n.value=wn(r));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?me(n,t.type,r):t.hasOwnProperty("defaultValue")&&me(n,t.type,_a(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function k(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 l=wn(a._wrapperState.initialValue);n||l!==a.value&&(a.value=l),a.defaultValue=l}var o=a.name;o!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,o!==""&&(a.name=o)}function z(e,t){var n=e;g(n,t),q(n,t)}function q(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var a=e;a.parentNode;)a=a.parentNode;Yt(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i<r.length;i++){var l=r[i];if(!(l===e||l.form!==e.form)){var o=sc(l);if(!o)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");To(l),g(l,o)}}}}function me(e,t,n){(t!=="number"||vr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=wn(e._wrapperState.initialValue):e.defaultValue!==wn(n)&&(e.defaultValue=wn(n)))}var re=!1,Ee=!1,Me=!1;function qe(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?s.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||Ee||(Ee=!0,f("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Me||(Me=!0,f("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!re&&(f("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),re=!0)}function Je(e,t){t.value!=null&&e.setAttribute("value",wn(_a(t.value)))}var Ze=Array.isArray;function ke(e){return Ze(e)}var ct;ct=!1;function Rt(){var e=Br();return e?`
- Check the render method of \``+e+"`.":""}var _i=["value","defaultValue"];function No(e){{Ro("select",e);for(var t=0;t<_i.length;t++){var n=_i[t];if(e[n]!=null){var a=ke(e[n]);e.multiple&&!a?f("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Rt()):!e.multiple&&a&&f("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Rt())}}}}function mr(e,t,n,a){var r=e.options;if(t){for(var i=n,l={},o=0;o<i.length;o++)l["$"+i[o]]=!0;for(var u=0;u<r.length;u++){var p=l.hasOwnProperty("$"+r[u].value);r[u].selected!==p&&(r[u].selected=p),p&&a&&(r[u].defaultSelected=!0)}}else{for(var v=wn(_a(n)),C=null,E=0;E<r.length;E++){if(r[E].value===v){r[E].selected=!0,a&&(r[E].defaultSelected=!0);return}C===null&&!r[E].disabled&&(C=r[E])}C!==null&&(C.selected=!0)}}function wo(e,t){return De({},t,{value:void 0})}function Do(e,t){var n=e;No(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!ct&&(f("Select 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 select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ct=!0)}function jf(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;a!=null?mr(n,!!t.multiple,a,!1):t.defaultValue!=null&&mr(n,!!t.multiple,t.defaultValue,!0)}function xs(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;r!=null?mr(n,!!t.multiple,r,!1):a!==!!t.multiple&&(t.defaultValue!=null?mr(n,!!t.multiple,t.defaultValue,!0):mr(n,!!t.multiple,t.multiple?[]:"",!1))}function Vf(e,t){var n=e,a=t.value;a!=null&&mr(n,!!t.multiple,a,!1)}var eh=!1;function Hf(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=De({},t,{value:void 0,defaultValue:void 0,children:wn(n._wrapperState.initialValue)});return a}function th(e,t){var n=e;Ro("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!eh&&(f("%s contains a textarea with both value and defaultValue props. Textarea 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 textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Br()||"A component"),eh=!0);var a=t.value;if(a==null){var r=t.children,i=t.defaultValue;if(r!=null){f("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(i!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ke(r)){if(r.length>1)throw new Error("<textarea> can only have at most one child.");r=r[0]}i=r}}i==null&&(i=""),a=i}n._wrapperState={initialValue:_a(a)}}function nh(e,t){var n=e,a=_a(t.value),r=_a(t.defaultValue);if(a!=null){var i=wn(a);i!==n.value&&(n.value=i),t.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)}r!=null&&(n.defaultValue=wn(r))}function ah(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function jE(e,t){nh(e,t)}var hr="http://www.w3.org/1999/xhtml",VE="http://www.w3.org/1998/Math/MathML",Ff="http://www.w3.org/2000/svg";function Bf(e){switch(e){case"svg":return Ff;case"math":return VE;default:return hr}}function $f(e,t){return e==null||e===hr?Bf(t):e===Ff&&t==="foreignObject"?hr:e}var HE=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e},Ts,rh=HE(function(e,t){if(e.namespaceURI===Ff&&!("innerHTML"in e)){Ts=Ts||document.createElement("div"),Ts.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Ts.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),Hn=1,yr=3,xt=8,gr=9,Pf=11,_s=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===yr){n.nodeValue=t;return}}e.textContent=t},FE={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Uo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function BE(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var $E=["Webkit","ms","Moz","O"];Object.keys(Uo).forEach(function(e){$E.forEach(function(t){Uo[BE(t,e)]=Uo[e]})});function Yf(e,t,n){var a=t==null||typeof t=="boolean"||t==="";return a?"":!n&&typeof t=="number"&&t!==0&&!(Uo.hasOwnProperty(e)&&Uo[e])?t+"px":(Sa(t,e),(""+t).trim())}var PE=/([A-Z])/g,YE=/^ms-/;function IE(e){return e.replace(PE,"-$1").toLowerCase().replace(YE,"-ms-")}var ih=function(){};{var qE=/^(?:webkit|moz|o)[A-Z]/,GE=/^-ms-/,WE=/-(.)/g,lh=/;\s*$/,dl={},If={},oh=!1,uh=!1,QE=function(e){return e.replace(WE,function(t,n){return n.toUpperCase()})},XE=function(e){dl.hasOwnProperty(e)&&dl[e]||(dl[e]=!0,f("Unsupported style property %s. Did you mean %s?",e,QE(e.replace(GE,"ms-"))))},KE=function(e){dl.hasOwnProperty(e)&&dl[e]||(dl[e]=!0,f("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},JE=function(e,t){If.hasOwnProperty(t)&&If[t]||(If[t]=!0,f(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(lh,"")))},ZE=function(e,t){oh||(oh=!0,f("`NaN` is an invalid value for the `%s` css style property.",e))},eC=function(e,t){uh||(uh=!0,f("`Infinity` is an invalid value for the `%s` css style property.",e))};ih=function(e,t){e.indexOf("-")>-1?XE(e):qE.test(e)?KE(e):lh.test(t)&&JE(e,t),typeof t=="number"&&(isNaN(t)?ZE(e,t):isFinite(t)||eC(e,t))}}var tC=ih;function nC(e){{var t="",n="";for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];if(r!=null){var i=a.indexOf("--")===0;t+=n+(i?a:IE(a))+":",t+=Yf(a,r,i),n=";"}}return t||null}}function sh(e,t){var n=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=a.indexOf("--")===0;r||tC(a,t[a]);var i=Yf(a,t[a],r);a==="float"&&(a="cssFloat"),r?n.setProperty(a,i):n[a]=i}}function aC(e){return e==null||typeof e=="boolean"||e===""}function ch(e){var t={};for(var n in e)for(var a=FE[n]||[n],r=0;r<a.length;r++)t[a[r]]=n;return t}function rC(e,t){{if(!t)return;var n=ch(e),a=ch(t),r={};for(var i in n){var l=n[i],o=a[i];if(o&&l!==o){var u=l+","+o;if(r[u])continue;r[u]=!0,f("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",aC(e[l])?"Removing":"Updating",l,o)}}}}var iC={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},lC=De({menuitem:!0},iC),oC="__html";function qf(e,t){if(t){if(lC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(oC in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&f("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ni(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ns={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},fh={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},pl={},uC=new RegExp("^(aria)-["+Q+"]*$"),sC=new RegExp("^(aria)[A-Z]["+Q+"]*$");function cC(e,t){{if(An.call(pl,t)&&pl[t])return!0;if(sC.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=fh.hasOwnProperty(n)?n:null;if(a==null)return f("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),pl[t]=!0,!0;if(t!==a)return f("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),pl[t]=!0,!0}if(uC.test(t)){var r=t.toLowerCase(),i=fh.hasOwnProperty(r)?r:null;if(i==null)return pl[t]=!0,!1;if(t!==i)return f("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),pl[t]=!0,!0}}return!0}function fC(e,t){{var n=[];for(var a in t){var r=cC(e,a);r||n.push(a)}var i=n.map(function(l){return"`"+l+"`"}).join(", ");n.length===1?f("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e):n.length>1&&f("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e)}}function dC(e,t){Ni(e,t)||fC(e,t)}var dh=!1;function pC(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!dh&&(dh=!0,e==="select"&&t.multiple?f("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):f("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var ph=function(){};{var Dn={},vh=/^on./,vC=/^on[^A-Z]/,mC=new RegExp("^(aria)-["+Q+"]*$"),hC=new RegExp("^(aria)[A-Z]["+Q+"]*$");ph=function(e,t,n,a){if(An.call(Dn,t)&&Dn[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="onfocusout")return f("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Dn[t]=!0,!0;if(a!=null){var i=a.registrationNameDependencies,l=a.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var o=l.hasOwnProperty(r)?l[r]:null;if(o!=null)return f("Invalid event handler property `%s`. Did you mean `%s`?",t,o),Dn[t]=!0,!0;if(vh.test(t))return f("Unknown event handler property `%s`. It will be ignored.",t),Dn[t]=!0,!0}else if(vh.test(t))return vC.test(t)&&f("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Dn[t]=!0,!0;if(mC.test(t)||hC.test(t))return!0;if(r==="innerhtml")return f("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Dn[t]=!0,!0;if(r==="aria")return f("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Dn[t]=!0,!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return f("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Dn[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return f("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Dn[t]=!0,!0;var u=ht(t),p=u!==null&&u.type===tn;if(Ns.hasOwnProperty(r)){var v=Ns[r];if(v!==t)return f("Invalid DOM property `%s`. Did you mean `%s`?",t,v),Dn[t]=!0,!0}else if(!p&&t!==r)return f("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),Dn[t]=!0,!0;return typeof n=="boolean"&&dt(t,n,u,!1)?(n?f('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):f('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Dn[t]=!0,!0):p?!0:dt(t,n,u,!1)?(Dn[t]=!0,!1):((n==="false"||n==="true")&&u!==null&&u.type===wt&&(f("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Dn[t]=!0),!0)}}var yC=function(e,t,n){{var a=[];for(var r in t){var i=ph(e,r,t[r],n);i||a.push(r)}var l=a.map(function(o){return"`"+o+"`"}).join(", ");a.length===1?f("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",l,e):a.length>1&&f("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",l,e)}};function gC(e,t,n){Ni(e,t)||yC(e,t,n)}var mh=1,Gf=2,ko=4,bC=mh|Gf|ko,Oo=null;function SC(e){Oo!==null&&f("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Oo=e}function EC(){Oo===null&&f("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Oo=null}function CC(e){return e===Oo}function Wf(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===yr?t.parentNode:t}var Qf=null,vl=null,ml=null;function hh(e){var t=Kr(e);if(t){if(typeof Qf!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var a=sc(n);Qf(t.stateNode,t.type,a)}}}function RC(e){Qf=e}function yh(e){vl?ml?ml.push(e):ml=[e]:vl=e}function xC(){return vl!==null||ml!==null}function gh(){if(vl){var e=vl,t=ml;if(vl=null,ml=null,hh(e),t)for(var n=0;n<t.length;n++)hh(t[n])}}var bh=function(e,t){return e(t)},Sh=function(){},Xf=!1;function TC(){var e=xC();e&&(Sh(),gh())}function Eh(e,t,n){if(Xf)return e(t,n);Xf=!0;try{return bh(e,t,n)}finally{Xf=!1,TC()}}function _C(e,t,n){bh=e,Sh=n}function NC(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function wC(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(n.disabled&&NC(t));default:return!1}}function Lo(e,t){var n=e.stateNode;if(n===null)return null;var a=sc(n);if(a===null)return null;var r=a[t];if(wC(t,e.type,a))return null;if(r&&typeof r!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}var Kf=!1;if(en)try{var zo={};Object.defineProperty(zo,"passive",{get:function(){Kf=!0}}),window.addEventListener("test",zo,zo),window.removeEventListener("test",zo,zo)}catch{Kf=!1}function Ch(e,t,n,a,r,i,l,o,u){var p=Array.prototype.slice.call(arguments,3);try{t.apply(n,p)}catch(v){this.onError(v)}}var Rh=Ch;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Jf=document.createElement("react");Rh=function(t,n,a,r,i,l,o,u,p){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var v=document.createEvent("Event"),C=!1,E=!0,D=window.event,O=Object.getOwnPropertyDescriptor(window,"event");function M(){Jf.removeEventListener(A,fe,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=D)}var K=Array.prototype.slice.call(arguments,3);function fe(){C=!0,M(),n.apply(a,K),E=!1}var le,Ve=!1,Oe=!1;function x(T){if(le=T.error,Ve=!0,le===null&&T.colno===0&&T.lineno===0&&(Oe=!0),T.defaultPrevented&&le!=null&&typeof le=="object")try{le._suppressLogging=!0}catch{}}var A="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",x),Jf.addEventListener(A,fe,!1),v.initEvent(A,!1,!1),Jf.dispatchEvent(v),O&&Object.defineProperty(window,"event",O),C&&E&&(Ve?Oe&&(le=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):le=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(le)),window.removeEventListener("error",x),!C)return M(),Ch.apply(this,arguments)}}var DC=Rh,hl=!1,ws=null,Ds=!1,Zf=null,UC={onError:function(e){hl=!0,ws=e}};function ed(e,t,n,a,r,i,l,o,u){hl=!1,ws=null,DC.apply(UC,arguments)}function kC(e,t,n,a,r,i,l,o,u){if(ed.apply(this,arguments),hl){var p=td();Ds||(Ds=!0,Zf=p)}}function OC(){if(Ds){var e=Zf;throw Ds=!1,Zf=null,e}}function LC(){return hl}function td(){if(hl){var e=ws;return hl=!1,ws=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function yl(e){return e._reactInternals}function zC(e){return e._reactInternals!==void 0}function MC(e,t){e._reactInternals=t}var he=0,gl=1,Tt=2,$e=4,wi=16,Mo=32,xh=64,Pe=128,br=256,Di=512,bl=1024,Pr=2048,Sr=4096,Ui=8192,nd=16384,AC=32767,Us=32768,Un=65536,ad=131072,Th=1048576,rd=2097152,ki=4194304,id=8388608,Yr=16777216,ld=33554432,od=$e|bl|0,ud=Tt|$e|wi|Mo|Di|Sr|Ui,Ao=$e|xh|Di|Ui,Sl=Pr|wi,Er=ki|id|rd,jC=m.ReactCurrentOwner;function Oi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(Tt|Sr))!==he&&(n=t.return),a=t.return;while(a)}return t.tag===U?n:null}function _h(e){if(e.tag===ie){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function Nh(e){return e.tag===U?e.stateNode.containerInfo:null}function VC(e){return Oi(e)===e}function HC(e){{var t=jC.current;if(t!==null&&t.tag===_){var n=t,a=n.stateNode;a._warnedAboutRefsInRender||f("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Re(n)||"A component"),a._warnedAboutRefsInRender=!0}}var r=yl(e);return r?Oi(r)===r:!1}function wh(e){if(Oi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Dh(e){var t=e.alternate;if(!t){var n=Oi(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var a=e,r=t;;){var i=a.return;if(i===null)break;var l=i.alternate;if(l===null){var o=i.return;if(o!==null){a=r=o;continue}break}if(i.child===l.child){for(var u=i.child;u;){if(u===a)return wh(i),e;if(u===r)return wh(i),t;u=u.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==r.return)a=i,r=l;else{for(var p=!1,v=i.child;v;){if(v===a){p=!0,a=i,r=l;break}if(v===r){p=!0,r=i,a=l;break}v=v.sibling}if(!p){for(v=l.child;v;){if(v===a){p=!0,a=l,r=i;break}if(v===r){p=!0,r=l,a=i;break}v=v.sibling}if(!p)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==r)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==U)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function Uh(e){var t=Dh(e);return t!==null?kh(t):null}function kh(e){if(e.tag===H||e.tag===G)return e;for(var t=e.child;t!==null;){var n=kh(t);if(n!==null)return n;t=t.sibling}return null}function FC(e){var t=Dh(e);return t!==null?Oh(t):null}function Oh(e){if(e.tag===H||e.tag===G)return e;for(var t=e.child;t!==null;){if(t.tag!==w){var n=Oh(t);if(n!==null)return n}t=t.sibling}return null}var Lh=d.unstable_scheduleCallback,BC=d.unstable_cancelCallback,$C=d.unstable_shouldYield,PC=d.unstable_requestPaint,qt=d.unstable_now,YC=d.unstable_getCurrentPriorityLevel,ks=d.unstable_ImmediatePriority,sd=d.unstable_UserBlockingPriority,Li=d.unstable_NormalPriority,IC=d.unstable_LowPriority,cd=d.unstable_IdlePriority,qC=d.unstable_yieldValue,GC=d.unstable_setDisableYieldValue,El=null,hn=null,Z=null,Wa=!1,Na=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function WC(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return f("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{ba&&(e=De({},e,{getLaneLabelMap:eR,injectProfilingHooks:ZC})),El=t.inject(e),hn=t}catch(n){f("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function QC(e,t){if(hn&&typeof hn.onScheduleFiberRoot=="function")try{hn.onScheduleFiberRoot(El,e,t)}catch(n){Wa||(Wa=!0,f("React instrumentation encountered an error: %s",n))}}function XC(e,t){if(hn&&typeof hn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pe)===Pe;if(Rn){var a;switch(t){case Jn:a=ks;break;case Rr:a=sd;break;case xr:a=Li;break;case Vs:a=cd;break;default:a=Li;break}hn.onCommitFiberRoot(El,e,a,n)}}catch(r){Wa||(Wa=!0,f("React instrumentation encountered an error: %s",r))}}function KC(e){if(hn&&typeof hn.onPostCommitFiberRoot=="function")try{hn.onPostCommitFiberRoot(El,e)}catch(t){Wa||(Wa=!0,f("React instrumentation encountered an error: %s",t))}}function JC(e){if(hn&&typeof hn.onCommitFiberUnmount=="function")try{hn.onCommitFiberUnmount(El,e)}catch(t){Wa||(Wa=!0,f("React instrumentation encountered an error: %s",t))}}function Gt(e){if(typeof qC=="function"&&(GC(e),y(e)),hn&&typeof hn.setStrictMode=="function")try{hn.setStrictMode(El,e)}catch(t){Wa||(Wa=!0,f("React instrumentation encountered an error: %s",t))}}function ZC(e){Z=e}function eR(){{for(var e=new Map,t=1,n=0;n<dd;n++){var a=SR(t);e.set(t,a),t*=2}return e}}function tR(e){Z!==null&&typeof Z.markCommitStarted=="function"&&Z.markCommitStarted(e)}function zh(){Z!==null&&typeof Z.markCommitStopped=="function"&&Z.markCommitStopped()}function jo(e){Z!==null&&typeof Z.markComponentRenderStarted=="function"&&Z.markComponentRenderStarted(e)}function Cl(){Z!==null&&typeof Z.markComponentRenderStopped=="function"&&Z.markComponentRenderStopped()}function nR(e){Z!==null&&typeof Z.markComponentPassiveEffectMountStarted=="function"&&Z.markComponentPassiveEffectMountStarted(e)}function aR(){Z!==null&&typeof Z.markComponentPassiveEffectMountStopped=="function"&&Z.markComponentPassiveEffectMountStopped()}function rR(e){Z!==null&&typeof Z.markComponentPassiveEffectUnmountStarted=="function"&&Z.markComponentPassiveEffectUnmountStarted(e)}function iR(){Z!==null&&typeof Z.markComponentPassiveEffectUnmountStopped=="function"&&Z.markComponentPassiveEffectUnmountStopped()}function lR(e){Z!==null&&typeof Z.markComponentLayoutEffectMountStarted=="function"&&Z.markComponentLayoutEffectMountStarted(e)}function oR(){Z!==null&&typeof Z.markComponentLayoutEffectMountStopped=="function"&&Z.markComponentLayoutEffectMountStopped()}function Mh(e){Z!==null&&typeof Z.markComponentLayoutEffectUnmountStarted=="function"&&Z.markComponentLayoutEffectUnmountStarted(e)}function Ah(){Z!==null&&typeof Z.markComponentLayoutEffectUnmountStopped=="function"&&Z.markComponentLayoutEffectUnmountStopped()}function uR(e,t,n){Z!==null&&typeof Z.markComponentErrored=="function"&&Z.markComponentErrored(e,t,n)}function sR(e,t,n){Z!==null&&typeof Z.markComponentSuspended=="function"&&Z.markComponentSuspended(e,t,n)}function cR(e){Z!==null&&typeof Z.markLayoutEffectsStarted=="function"&&Z.markLayoutEffectsStarted(e)}function fR(){Z!==null&&typeof Z.markLayoutEffectsStopped=="function"&&Z.markLayoutEffectsStopped()}function dR(e){Z!==null&&typeof Z.markPassiveEffectsStarted=="function"&&Z.markPassiveEffectsStarted(e)}function pR(){Z!==null&&typeof Z.markPassiveEffectsStopped=="function"&&Z.markPassiveEffectsStopped()}function jh(e){Z!==null&&typeof Z.markRenderStarted=="function"&&Z.markRenderStarted(e)}function vR(){Z!==null&&typeof Z.markRenderYielded=="function"&&Z.markRenderYielded()}function Vh(){Z!==null&&typeof Z.markRenderStopped=="function"&&Z.markRenderStopped()}function mR(e){Z!==null&&typeof Z.markRenderScheduled=="function"&&Z.markRenderScheduled(e)}function hR(e,t){Z!==null&&typeof Z.markForceUpdateScheduled=="function"&&Z.markForceUpdateScheduled(e,t)}function fd(e,t){Z!==null&&typeof Z.markStateUpdateScheduled=="function"&&Z.markStateUpdateScheduled(e,t)}var ve=0,Ae=1,Ge=2,gt=8,Qa=16,Hh=Math.clz32?Math.clz32:bR,yR=Math.log,gR=Math.LN2;function bR(e){var t=e>>>0;return t===0?32:31-(yR(t)/gR|0)|0}var dd=31,B=0,Wt=0,be=1,Rl=2,Cr=4,zi=8,Xa=16,Vo=32,xl=4194240,Ho=64,pd=128,vd=256,md=512,hd=1024,yd=2048,gd=4096,bd=8192,Sd=16384,Ed=32768,Cd=65536,Rd=131072,xd=262144,Td=524288,_d=1048576,Nd=2097152,Os=130023424,Tl=4194304,wd=8388608,Dd=16777216,Ud=33554432,kd=67108864,Fh=Tl,Fo=134217728,Bh=268435455,Bo=268435456,Mi=536870912,Xn=1073741824;function SR(e){{if(e&be)return"Sync";if(e&Rl)return"InputContinuousHydration";if(e&Cr)return"InputContinuous";if(e&zi)return"DefaultHydration";if(e&Xa)return"Default";if(e&Vo)return"TransitionHydration";if(e&xl)return"Transition";if(e&Os)return"Retry";if(e&Fo)return"SelectiveHydration";if(e&Bo)return"IdleHydration";if(e&Mi)return"Idle";if(e&Xn)return"Offscreen"}}var et=-1,Ls=Ho,zs=Tl;function $o(e){switch(Ai(e)){case be:return be;case Rl:return Rl;case Cr:return Cr;case zi:return zi;case Xa:return Xa;case Vo:return Vo;case Ho:case pd:case vd:case md:case hd:case yd:case gd:case bd:case Sd:case Ed:case Cd:case Rd:case xd:case Td:case _d:case Nd:return e&xl;case Tl:case wd:case Dd:case Ud:case kd:return e&Os;case Fo:return Fo;case Bo:return Bo;case Mi:return Mi;case Xn:return Xn;default:return f("Should have found matching lanes. This is a bug in React."),e}}function Ms(e,t){var n=e.pendingLanes;if(n===B)return B;var a=B,r=e.suspendedLanes,i=e.pingedLanes,l=n&Bh;if(l!==B){var o=l&~r;if(o!==B)a=$o(o);else{var u=l&i;u!==B&&(a=$o(u))}}else{var p=n&~r;p!==B?a=$o(p):i!==B&&(a=$o(i))}if(a===B)return B;if(t!==B&&t!==a&&(t&r)===B){var v=Ai(a),C=Ai(t);if(v>=C||v===Xa&&(C&xl)!==B)return t}(a&Cr)!==B&&(a|=n&Xa);var E=e.entangledLanes;if(E!==B)for(var D=e.entanglements,O=a&E;O>0;){var M=ji(O),K=1<<M;a|=D[M],O&=~K}return a}function ER(e,t){for(var n=e.eventTimes,a=et;t>0;){var r=ji(t),i=1<<r,l=n[r];l>a&&(a=l),t&=~i}return a}function CR(e,t){switch(e){case be:case Rl:case Cr:return t+250;case zi:case Xa:case Vo:case Ho:case pd:case vd:case md:case hd:case yd:case gd:case bd:case Sd:case Ed:case Cd:case Rd:case xd:case Td:case _d:case Nd:return t+5e3;case Tl:case wd:case Dd:case Ud:case kd:return et;case Fo:case Bo:case Mi:case Xn:return et;default:return f("Should have found matching lanes. This is a bug in React."),et}}function RR(e,t){for(var n=e.pendingLanes,a=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,l=n;l>0;){var o=ji(l),u=1<<o,p=i[o];p===et?((u&a)===B||(u&r)!==B)&&(i[o]=CR(u,t)):p<=t&&(e.expiredLanes|=u),l&=~u}}function xR(e){return $o(e.pendingLanes)}function Od(e){var t=e.pendingLanes&~Xn;return t!==B?t:t&Xn?Xn:B}function TR(e){return(e&be)!==B}function Ld(e){return(e&Bh)!==B}function $h(e){return(e&Os)===e}function _R(e){var t=be|Cr|Xa;return(e&t)===B}function NR(e){return(e&xl)===e}function As(e,t){var n=Rl|Cr|zi|Xa;return(t&n)!==B}function wR(e,t){return(t&e.expiredLanes)!==B}function Ph(e){return(e&xl)!==B}function Yh(){var e=Ls;return Ls<<=1,(Ls&xl)===B&&(Ls=Ho),e}function DR(){var e=zs;return zs<<=1,(zs&Os)===B&&(zs=Tl),e}function Ai(e){return e&-e}function Po(e){return Ai(e)}function ji(e){return 31-Hh(e)}function zd(e){return ji(e)}function Kn(e,t){return(e&t)!==B}function _l(e,t){return(e&t)===t}function _e(e,t){return e|t}function js(e,t){return e&~t}function Ih(e,t){return e&t}function nL(e){return e}function UR(e,t){return e!==Wt&&e<t?e:t}function Md(e){for(var t=[],n=0;n<dd;n++)t.push(e);return t}function Yo(e,t,n){e.pendingLanes|=t,t!==Mi&&(e.suspendedLanes=B,e.pingedLanes=B);var a=e.eventTimes,r=zd(t);a[r]=n}function kR(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,a=t;a>0;){var r=ji(a),i=1<<r;n[r]=et,a&=~i}}function qh(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function OR(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=B,e.pingedLanes=B,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,r=e.eventTimes,i=e.expirationTimes,l=n;l>0;){var o=ji(l),u=1<<o;a[o]=B,r[o]=et,i[o]=et,l&=~u}}function Ad(e,t){for(var n=e.entangledLanes|=t,a=e.entanglements,r=n;r;){var i=ji(r),l=1<<i;l&t|a[i]&t&&(a[i]|=t),r&=~l}}function LR(e,t){var n=Ai(t),a;switch(n){case Cr:a=Rl;break;case Xa:a=zi;break;case Ho:case pd:case vd:case md:case hd:case yd:case gd:case bd:case Sd:case Ed:case Cd:case Rd:case xd:case Td:case _d:case Nd:case Tl:case wd:case Dd:case Ud:case kd:a=Vo;break;case Mi:a=Bo;break;default:a=Wt;break}return(a&(e.suspendedLanes|t))!==Wt?Wt:a}function Gh(e,t,n){if(Na)for(var a=e.pendingUpdatersLaneMap;n>0;){var r=zd(n),i=1<<r,l=a[r];l.add(t),n&=~i}}function Wh(e,t){if(Na)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var r=zd(t),i=1<<r,l=n[r];l.size>0&&(l.forEach(function(o){var u=o.alternate;(u===null||!a.has(u))&&a.add(o)}),l.clear()),t&=~i}}function Qh(e,t){return null}var Jn=be,Rr=Cr,xr=Xa,Vs=Mi,Io=Wt;function wa(){return Io}function Qt(e){Io=e}function zR(e,t){var n=Io;try{return Io=e,t()}finally{Io=n}}function MR(e,t){return e!==0&&e<t?e:t}function AR(e,t){return e>t?e:t}function jd(e,t){return e!==0&&e<t}function Xh(e){var t=Ai(e);return jd(Jn,t)?jd(Rr,t)?Ld(t)?xr:Vs:Rr:Jn}function Hs(e){var t=e.current.memoizedState;return t.isDehydrated}var Kh;function jR(e){Kh=e}function VR(e){Kh(e)}var Vd;function HR(e){Vd=e}var Jh;function FR(e){Jh=e}var Zh;function BR(e){Zh=e}var ey;function $R(e){ey=e}var Hd=!1,Fs=[],Ir=null,qr=null,Gr=null,qo=new Map,Go=new Map,Wr=[],PR=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function YR(e){return PR.indexOf(e)>-1}function IR(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:r,targetContainers:[a]}}function ty(e,t){switch(e){case"focusin":case"focusout":Ir=null;break;case"dragenter":case"dragleave":qr=null;break;case"mouseover":case"mouseout":Gr=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;qo.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;Go.delete(a);break}}}function Wo(e,t,n,a,r,i){if(e===null||e.nativeEvent!==i){var l=IR(t,n,a,r,i);if(t!==null){var o=Kr(t);o!==null&&Vd(o)}return l}e.eventSystemFlags|=a;var u=e.targetContainers;return r!==null&&u.indexOf(r)===-1&&u.push(r),e}function qR(e,t,n,a,r){switch(t){case"focusin":{var i=r;return Ir=Wo(Ir,e,t,n,a,i),!0}case"dragenter":{var l=r;return qr=Wo(qr,e,t,n,a,l),!0}case"mouseover":{var o=r;return Gr=Wo(Gr,e,t,n,a,o),!0}case"pointerover":{var u=r,p=u.pointerId;return qo.set(p,Wo(qo.get(p)||null,e,t,n,a,u)),!0}case"gotpointercapture":{var v=r,C=v.pointerId;return Go.set(C,Wo(Go.get(C)||null,e,t,n,a,v)),!0}}return!1}function ny(e){var t=Fi(e.target);if(t!==null){var n=Oi(t);if(n!==null){var a=n.tag;if(a===ie){var r=_h(n);if(r!==null){e.blockedOn=r,ey(e.priority,function(){Jh(n)});return}}else if(a===U){var i=n.stateNode;if(Hs(i)){e.blockedOn=Nh(n);return}}}}e.blockedOn=null}function GR(e){for(var t=Zh(),n={blockedOn:null,target:e,priority:t},a=0;a<Wr.length&&jd(t,Wr[a].priority);a++);Wr.splice(a,0,n),a===0&&ny(n)}function Bs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],a=$d(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(a===null){var r=e.nativeEvent,i=new r.constructor(r.type,r);SC(i),r.target.dispatchEvent(i),EC()}else{var l=Kr(a);return l!==null&&Vd(l),e.blockedOn=a,!1}t.shift()}return!0}function ay(e,t,n){Bs(e)&&n.delete(t)}function WR(){Hd=!1,Ir!==null&&Bs(Ir)&&(Ir=null),qr!==null&&Bs(qr)&&(qr=null),Gr!==null&&Bs(Gr)&&(Gr=null),qo.forEach(ay),Go.forEach(ay)}function Qo(e,t){e.blockedOn===t&&(e.blockedOn=null,Hd||(Hd=!0,d.unstable_scheduleCallback(d.unstable_NormalPriority,WR)))}function Xo(e){if(Fs.length>0){Qo(Fs[0],e);for(var t=1;t<Fs.length;t++){var n=Fs[t];n.blockedOn===e&&(n.blockedOn=null)}}Ir!==null&&Qo(Ir,e),qr!==null&&Qo(qr,e),Gr!==null&&Qo(Gr,e);var a=function(o){return Qo(o,e)};qo.forEach(a),Go.forEach(a);for(var r=0;r<Wr.length;r++){var i=Wr[r];i.blockedOn===e&&(i.blockedOn=null)}for(;Wr.length>0;){var l=Wr[0];if(l.blockedOn!==null)break;ny(l),l.blockedOn===null&&Wr.shift()}}var Nl=m.ReactCurrentBatchConfig,Fd=!0;function ry(e){Fd=!!e}function QR(){return Fd}function XR(e,t,n){var a=iy(t),r;switch(a){case Jn:r=KR;break;case Rr:r=JR;break;case xr:default:r=Bd;break}return r.bind(null,t,n,e)}function KR(e,t,n,a){var r=wa(),i=Nl.transition;Nl.transition=null;try{Qt(Jn),Bd(e,t,n,a)}finally{Qt(r),Nl.transition=i}}function JR(e,t,n,a){var r=wa(),i=Nl.transition;Nl.transition=null;try{Qt(Rr),Bd(e,t,n,a)}finally{Qt(r),Nl.transition=i}}function Bd(e,t,n,a){Fd&&ZR(e,t,n,a)}function ZR(e,t,n,a){var r=$d(e,t,n,a);if(r===null){np(e,t,a,$s,n),ty(e,a);return}if(qR(r,e,t,n,a)){a.stopPropagation();return}if(ty(e,a),t&ko&&YR(e)){for(;r!==null;){var i=Kr(r);i!==null&&VR(i);var l=$d(e,t,n,a);if(l===null&&np(e,t,a,$s,n),l===r)break;r=l}r!==null&&a.stopPropagation();return}np(e,t,a,null,n)}var $s=null;function $d(e,t,n,a){$s=null;var r=Wf(a),i=Fi(r);if(i!==null){var l=Oi(i);if(l===null)i=null;else{var o=l.tag;if(o===ie){var u=_h(l);if(u!==null)return u;i=null}else if(o===U){var p=l.stateNode;if(Hs(p))return Nh(l);i=null}else l!==i&&(i=null)}}return $s=i,null}function iy(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Jn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Rr;case"message":{var t=YC();switch(t){case ks:return Jn;case sd:return Rr;case Li:case IC:return xr;case cd:return Vs;default:return xr}}default:return xr}}function ex(e,t,n){return e.addEventListener(t,n,!1),n}function tx(e,t,n){return e.addEventListener(t,n,!0),n}function nx(e,t,n,a){return e.addEventListener(t,n,{capture:!0,passive:a}),n}function ax(e,t,n,a){return e.addEventListener(t,n,{passive:a}),n}var Ko=null,Pd=null,Jo=null;function rx(e){return Ko=e,Pd=oy(),!0}function ix(){Ko=null,Pd=null,Jo=null}function ly(){if(Jo)return Jo;var e,t=Pd,n=t.length,a,r=oy(),i=r.length;for(e=0;e<n&&t[e]===r[e];e++);var l=n-e;for(a=1;a<=l&&t[n-a]===r[i-a];a++);var o=a>1?1-a:void 0;return Jo=r.slice(e,o),Jo}function oy(){return"value"in Ko?Ko.value:Ko.textContent}function Ps(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}function Ys(){return!0}function uy(){return!1}function Zn(e){function t(n,a,r,i,l){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var o in e)if(e.hasOwnProperty(o)){var u=e[o];u?this[o]=u(i):this[o]=i[o]}var p=i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1;return p?this.isDefaultPrevented=Ys:this.isDefaultPrevented=uy,this.isPropagationStopped=uy,this}return De(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ys)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ys)},persist:function(){},isPersistent:Ys}),t}var wl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yd=Zn(wl),Zo=De({},wl,{view:0,detail:0}),lx=Zn(Zo),Id,qd,eu;function ox(e){e!==eu&&(eu&&e.type==="mousemove"?(Id=e.screenX-eu.screenX,qd=e.screenY-eu.screenY):(Id=0,qd=0),eu=e)}var Is=De({},Zo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(ox(e),Id)},movementY:function(e){return"movementY"in e?e.movementY:qd}}),sy=Zn(Is),ux=De({},Is,{dataTransfer:0}),sx=Zn(ux),cx=De({},Zo,{relatedTarget:0}),Gd=Zn(cx),fx=De({},wl,{animationName:0,elapsedTime:0,pseudoElement:0}),dx=Zn(fx),px=De({},wl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vx=Zn(px),mx=De({},wl,{data:0}),cy=Zn(mx),hx=cy,yx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gx={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function bx(e){if(e.key){var t=yx[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Ps(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?gx[e.keyCode]||"Unidentified":""}var Sx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ex(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var a=Sx[e];return a?!!n[a]:!1}function Wd(e){return Ex}var Cx=De({},Zo,{key:bx,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wd,charCode:function(e){return e.type==="keypress"?Ps(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ps(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Rx=Zn(Cx),xx=De({},Is,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fy=Zn(xx),Tx=De({},Zo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wd}),_x=Zn(Tx),Nx=De({},wl,{propertyName:0,elapsedTime:0,pseudoElement:0}),wx=Zn(Nx),Dx=De({},Is,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ux=Zn(Dx),kx=[9,13,27,32],dy=229,Qd=en&&"CompositionEvent"in window,tu=null;en&&"documentMode"in document&&(tu=document.documentMode);var Ox=en&&"TextEvent"in window&&!tu,py=en&&(!Qd||tu&&tu>8&&tu<=11),vy=32,my=String.fromCharCode(vy);function Lx(){Jt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Jt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Jt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Jt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var hy=!1;function zx(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Mx(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Ax(e,t){return e==="keydown"&&t.keyCode===dy}function yy(e,t){switch(e){case"keyup":return kx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==dy;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gy(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function by(e){return e.locale==="ko"}var Dl=!1;function jx(e,t,n,a,r){var i,l;if(Qd?i=Mx(t):Dl?yy(t,a)&&(i="onCompositionEnd"):Ax(t,a)&&(i="onCompositionStart"),!i)return null;py&&!by(a)&&(!Dl&&i==="onCompositionStart"?Dl=rx(r):i==="onCompositionEnd"&&Dl&&(l=ly()));var o=Xs(n,i);if(o.length>0){var u=new cy(i,t,null,a,r);if(e.push({event:u,listeners:o}),l)u.data=l;else{var p=gy(a);p!==null&&(u.data=p)}}}function Vx(e,t){switch(e){case"compositionend":return gy(t);case"keypress":var n=t.which;return n!==vy?null:(hy=!0,my);case"textInput":var a=t.data;return a===my&&hy?null:a;default:return null}}function Hx(e,t){if(Dl){if(e==="compositionend"||!Qd&&yy(e,t)){var n=ly();return ix(),Dl=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!zx(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return py&&!by(t)?null:t.data;default:return null}}function Fx(e,t,n,a,r){var i;if(Ox?i=Vx(t,a):i=Hx(t,a),!i)return null;var l=Xs(n,"onBeforeInput");if(l.length>0){var o=new hx("onBeforeInput","beforeinput",null,a,r);e.push({event:o,listeners:l}),o.data=i}}function Bx(e,t,n,a,r,i,l){jx(e,t,n,a,r),Fx(e,t,n,a,r)}var $x={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Sy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$x[e.type]:t==="textarea"}/**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */function Px(e){if(!en)return!1;var t="on"+e,n=t in document;if(!n){var a=document.createElement("div");a.setAttribute(t,"return;"),n=typeof a[t]=="function"}return n}function Yx(){Jt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function Ey(e,t,n,a){yh(a);var r=Xs(t,"onChange");if(r.length>0){var i=new Yd("onChange","change",null,n,a);e.push({event:i,listeners:r})}}var nu=null,au=null;function Ix(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function qx(e){var t=[];Ey(t,au,e,Wf(e)),Eh(Gx,t)}function Gx(e){Hy(e,0)}function qs(e){var t=Ml(e);if(To(t))return e}function Wx(e,t){if(e==="change")return t}var Cy=!1;en&&(Cy=Px("input")&&(!document.documentMode||document.documentMode>9));function Qx(e,t){nu=e,au=t,nu.attachEvent("onpropertychange",xy)}function Ry(){nu&&(nu.detachEvent("onpropertychange",xy),nu=null,au=null)}function xy(e){e.propertyName==="value"&&qs(au)&&qx(e)}function Xx(e,t,n){e==="focusin"?(Ry(),Qx(t,n)):e==="focusout"&&Ry()}function Kx(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return qs(au)}function Jx(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Zx(e,t){if(e==="click")return qs(t)}function eT(e,t){if(e==="input"||e==="change")return qs(t)}function tT(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||me(e,"number",e.value)}function nT(e,t,n,a,r,i,l){var o=n?Ml(n):window,u,p;if(Ix(o)?u=Wx:Sy(o)?Cy?u=eT:(u=Kx,p=Xx):Jx(o)&&(u=Zx),u){var v=u(t,n);if(v){Ey(e,v,a,r);return}}p&&p(t,o,n),t==="focusout"&&tT(o)}function aT(){Zt("onMouseEnter",["mouseout","mouseover"]),Zt("onMouseLeave",["mouseout","mouseover"]),Zt("onPointerEnter",["pointerout","pointerover"]),Zt("onPointerLeave",["pointerout","pointerover"])}function rT(e,t,n,a,r,i,l){var o=t==="mouseover"||t==="pointerover",u=t==="mouseout"||t==="pointerout";if(o&&!CC(a)){var p=a.relatedTarget||a.fromElement;if(p&&(Fi(p)||gu(p)))return}if(!(!u&&!o)){var v;if(r.window===r)v=r;else{var C=r.ownerDocument;C?v=C.defaultView||C.parentWindow:v=window}var E,D;if(u){var O=a.relatedTarget||a.toElement;if(E=n,D=O?Fi(O):null,D!==null){var M=Oi(D);(D!==M||D.tag!==H&&D.tag!==G)&&(D=null)}}else E=null,D=n;if(E!==D){var K=sy,fe="onMouseLeave",le="onMouseEnter",Ve="mouse";(t==="pointerout"||t==="pointerover")&&(K=fy,fe="onPointerLeave",le="onPointerEnter",Ve="pointer");var Oe=E==null?v:Ml(E),x=D==null?v:Ml(D),A=new K(fe,Ve+"leave",E,a,r);A.target=Oe,A.relatedTarget=x;var T=null,Y=Fi(r);if(Y===n){var te=new K(le,Ve+"enter",D,a,r);te.target=x,te.relatedTarget=Oe,T=te}wT(e,A,T,E,D)}}}function iT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ea=typeof Object.is=="function"?Object.is:iT;function ru(e,t){if(ea(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=0;r<n.length;r++){var i=n[r];if(!An.call(t,i)||!ea(e[i],t[i]))return!1}return!0}function Ty(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lT(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function _y(e,t){for(var n=Ty(e),a=0,r=0;n;){if(n.nodeType===yr){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Ty(lT(n))}}function oT(e){var t=e.ownerDocument,n=t&&t.defaultView||window,a=n.getSelection&&n.getSelection();if(!a||a.rangeCount===0)return null;var r=a.anchorNode,i=a.anchorOffset,l=a.focusNode,o=a.focusOffset;try{r.nodeType,l.nodeType}catch{return null}return uT(e,r,i,l,o)}function uT(e,t,n,a,r){var i=0,l=-1,o=-1,u=0,p=0,v=e,C=null;e:for(;;){for(var E=null;v===t&&(n===0||v.nodeType===yr)&&(l=i+n),v===a&&(r===0||v.nodeType===yr)&&(o=i+r),v.nodeType===yr&&(i+=v.nodeValue.length),(E=v.firstChild)!==null;)C=v,v=E;for(;;){if(v===e)break e;if(C===t&&++u===n&&(l=i),C===a&&++p===r&&(o=i),(E=v.nextSibling)!==null)break;v=C,C=v.parentNode}v=E}return l===-1||o===-1?null:{start:l,end:o}}function sT(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelection){var r=a.getSelection(),i=e.textContent.length,l=Math.min(t.start,i),o=t.end===void 0?l:Math.min(t.end,i);if(!r.extend&&l>o){var u=o;o=l,l=u}var p=_y(e,l),v=_y(e,o);if(p&&v){if(r.rangeCount===1&&r.anchorNode===p.node&&r.anchorOffset===p.offset&&r.focusNode===v.node&&r.focusOffset===v.offset)return;var C=n.createRange();C.setStart(p.node,p.offset),r.removeAllRanges(),l>o?(r.addRange(C),r.extend(v.node,v.offset)):(C.setEnd(v.node,v.offset),r.addRange(C))}}}function Ny(e){return e&&e.nodeType===yr}function wy(e,t){return!e||!t?!1:e===t?!0:Ny(e)?!1:Ny(t)?wy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function cT(e){return e&&e.ownerDocument&&wy(e.ownerDocument.documentElement,e)}function fT(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Dy(){for(var e=window,t=vr();t instanceof e.HTMLIFrameElement;){if(fT(t))e=t.contentWindow;else return t;t=vr(e.document)}return t}function Xd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function dT(){var e=Dy();return{focusedElem:e,selectionRange:Xd(e)?vT(e):null}}function pT(e){var t=Dy(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&cT(n)){a!==null&&Xd(n)&&mT(n,a);for(var r=[],i=n;i=i.parentNode;)i.nodeType===Hn&&r.push({element:i,left:i.scrollLeft,top:i.scrollTop});typeof n.focus=="function"&&n.focus();for(var l=0;l<r.length;l++){var o=r[l];o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}}function vT(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=oT(e),t||{start:0,end:0}}function mT(e,t){var n=t.start,a=t.end;a===void 0&&(a=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length)):sT(e,t)}var hT=en&&"documentMode"in document&&document.documentMode<=11;function yT(){Jt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Ul=null,Kd=null,iu=null,Jd=!1;function gT(e){if("selectionStart"in e&&Xd(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,n=t.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}function bT(e){return e.window===e?e.document:e.nodeType===gr?e:e.ownerDocument}function Uy(e,t,n){var a=bT(n);if(!(Jd||Ul==null||Ul!==vr(a))){var r=gT(Ul);if(!iu||!ru(iu,r)){iu=r;var i=Xs(Kd,"onSelect");if(i.length>0){var l=new Yd("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=Ul}}}}function ST(e,t,n,a,r,i,l){var o=n?Ml(n):window;switch(t){case"focusin":(Sy(o)||o.contentEditable==="true")&&(Ul=o,Kd=n,iu=null);break;case"focusout":Ul=null,Kd=null,iu=null;break;case"mousedown":Jd=!0;break;case"contextmenu":case"mouseup":case"dragend":Jd=!1,Uy(e,a,r);break;case"selectionchange":if(hT)break;case"keydown":case"keyup":Uy(e,a,r)}}function Gs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kl={animationend:Gs("Animation","AnimationEnd"),animationiteration:Gs("Animation","AnimationIteration"),animationstart:Gs("Animation","AnimationStart"),transitionend:Gs("Transition","TransitionEnd")},Zd={},ky={};en&&(ky=document.createElement("div").style,"AnimationEvent"in window||(delete kl.animationend.animation,delete kl.animationiteration.animation,delete kl.animationstart.animation),"TransitionEvent"in window||delete kl.transitionend.transition);function Ws(e){if(Zd[e])return Zd[e];if(!kl[e])return e;var t=kl[e];for(var n in t)if(t.hasOwnProperty(n)&&n in ky)return Zd[e]=t[n];return e}var Oy=Ws("animationend"),Ly=Ws("animationiteration"),zy=Ws("animationstart"),My=Ws("transitionend"),Ay=new Map,jy=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Qr(e,t){Ay.set(e,t),Jt(t,[e])}function ET(){for(var e=0;e<jy.length;e++){var t=jy[e],n=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);Qr(n,"on"+a)}Qr(Oy,"onAnimationEnd"),Qr(Ly,"onAnimationIteration"),Qr(zy,"onAnimationStart"),Qr("dblclick","onDoubleClick"),Qr("focusin","onFocus"),Qr("focusout","onBlur"),Qr(My,"onTransitionEnd")}function CT(e,t,n,a,r,i,l){var o=Ay.get(t);if(o!==void 0){var u=Yd,p=t;switch(t){case"keypress":if(Ps(a)===0)return;case"keydown":case"keyup":u=Rx;break;case"focusin":p="focus",u=Gd;break;case"focusout":p="blur",u=Gd;break;case"beforeblur":case"afterblur":u=Gd;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=sy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=sx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=_x;break;case Oy:case Ly:case zy:u=dx;break;case My:u=wx;break;case"scroll":u=lx;break;case"wheel":u=Ux;break;case"copy":case"cut":case"paste":u=vx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=fy;break}var v=(i&ko)!==0;{var C=!v&&t==="scroll",E=_T(n,o,a.type,v,C);if(E.length>0){var D=new u(o,p,null,a,r);e.push({event:D,listeners:E})}}}}ET(),aT(),Yx(),yT(),Lx();function RT(e,t,n,a,r,i,l){CT(e,t,n,a,r,i);var o=(i&bC)===0;o&&(rT(e,t,n,a,r),nT(e,t,n,a,r),ST(e,t,n,a,r),Bx(e,t,n,a,r))}var lu=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],ep=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(lu));function Vy(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,kC(a,t,void 0,e),e.currentTarget=null}function xT(e,t,n){var a;if(n)for(var r=t.length-1;r>=0;r--){var i=t[r],l=i.instance,o=i.currentTarget,u=i.listener;if(l!==a&&e.isPropagationStopped())return;Vy(e,u,o),a=l}else for(var p=0;p<t.length;p++){var v=t[p],C=v.instance,E=v.currentTarget,D=v.listener;if(C!==a&&e.isPropagationStopped())return;Vy(e,D,E),a=C}}function Hy(e,t){for(var n=(t&ko)!==0,a=0;a<e.length;a++){var r=e[a],i=r.event,l=r.listeners;xT(i,l,n)}OC()}function TT(e,t,n,a,r){var i=Wf(n),l=[];RT(l,e,a,n,i,t),Hy(l,t)}function lt(e,t){ep.has(e)||f('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,a=tN(t),r=DT(e);a.has(r)||(Fy(t,e,Gf,n),a.add(r))}function tp(e,t,n){ep.has(e)&&!t&&f('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=ko),Fy(n,e,a,t)}var Qs="_reactListening"+Math.random().toString(36).slice(2);function ou(e){if(!e[Qs]){e[Qs]=!0,Pa.forEach(function(n){n!=="selectionchange"&&(ep.has(n)||tp(n,!1,e),tp(n,!0,e))});var t=e.nodeType===gr?e:e.ownerDocument;t!==null&&(t[Qs]||(t[Qs]=!0,tp("selectionchange",!1,t)))}}function Fy(e,t,n,a,r){var i=XR(e,t,n),l=void 0;Kf&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(l=!0),e=e,a?l!==void 0?nx(e,t,i,l):tx(e,t,i):l!==void 0?ax(e,t,i,l):ex(e,t,i)}function By(e,t){return e===t||e.nodeType===xt&&e.parentNode===t}function np(e,t,n,a,r){var i=a;if(!(t&mh)&&!(t&Gf)){var l=r;if(a!==null){var o=a;e:for(;;){if(o===null)return;var u=o.tag;if(u===U||u===w){var p=o.stateNode.containerInfo;if(By(p,l))break;if(u===w)for(var v=o.return;v!==null;){var C=v.tag;if(C===U||C===w){var E=v.stateNode.containerInfo;if(By(E,l))return}v=v.return}for(;p!==null;){var D=Fi(p);if(D===null)return;var O=D.tag;if(O===H||O===G){o=i=D;continue e}p=p.parentNode}}o=o.return}}}Eh(function(){return TT(e,t,n,i)})}function uu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function _T(e,t,n,a,r,i){for(var l=t!==null?t+"Capture":null,o=a?l:t,u=[],p=e,v=null;p!==null;){var C=p,E=C.stateNode,D=C.tag;if(D===H&&E!==null&&(v=E,o!==null)){var O=Lo(p,o);O!=null&&u.push(uu(p,O,v))}if(r)break;p=p.return}return u}function Xs(e,t){for(var n=t+"Capture",a=[],r=e;r!==null;){var i=r,l=i.stateNode,o=i.tag;if(o===H&&l!==null){var u=l,p=Lo(r,n);p!=null&&a.unshift(uu(r,p,u));var v=Lo(r,t);v!=null&&a.push(uu(r,v,u))}r=r.return}return a}function Ol(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==H);return e||null}function NT(e,t){for(var n=e,a=t,r=0,i=n;i;i=Ol(i))r++;for(var l=0,o=a;o;o=Ol(o))l++;for(;r-l>0;)n=Ol(n),r--;for(;l-r>0;)a=Ol(a),l--;for(var u=r;u--;){if(n===a||a!==null&&n===a.alternate)return n;n=Ol(n),a=Ol(a)}return null}function $y(e,t,n,a,r){for(var i=t._reactName,l=[],o=n;o!==null&&o!==a;){var u=o,p=u.alternate,v=u.stateNode,C=u.tag;if(p!==null&&p===a)break;if(C===H&&v!==null){var E=v;if(r){var D=Lo(o,i);D!=null&&l.unshift(uu(o,D,E))}else if(!r){var O=Lo(o,i);O!=null&&l.push(uu(o,O,E))}}o=o.return}l.length!==0&&e.push({event:t,listeners:l})}function wT(e,t,n,a,r){var i=a&&r?NT(a,r):null;a!==null&&$y(e,t,a,i,!1),r!==null&&n!==null&&$y(e,n,r,i,!0)}function DT(e,t){return e+"__bubble"}var Fn=!1,su="dangerouslySetInnerHTML",Ks="suppressContentEditableWarning",Xr="suppressHydrationWarning",Py="autoFocus",Vi="children",Hi="style",Js="__html",ap,Zs,cu,Yy,ec,Iy,qy;ap={dialog:!0,webview:!0},Zs=function(e,t){dC(e,t),pC(e,t),gC(e,t,{registrationNameDependencies:Kt,possibleRegistrationNames:Wn})},Iy=en&&!document.documentMode,cu=function(e,t,n){if(!Fn){var a=tc(n),r=tc(t);r!==a&&(Fn=!0,f("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},Yy=function(e){if(!Fn){Fn=!0;var t=[];e.forEach(function(n){t.push(n)}),f("Extra attributes from the server: %s",t)}},ec=function(e,t){t===!1?f("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):f("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},qy=function(e,t){var n=e.namespaceURI===hr?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var UT=/\r\n?/g,kT=/\u0000|\uFFFD/g;function tc(e){jn(e);var t=typeof e=="string"?e:""+e;return t.replace(UT,`
- `).replace(kT,"")}function nc(e,t,n,a){var r=tc(t),i=tc(e);if(i!==r&&(a&&(Fn||(Fn=!0,f('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&we))throw new Error("Text content does not match server-rendered HTML.")}function Gy(e){return e.nodeType===gr?e:e.ownerDocument}function OT(){}function ac(e){e.onclick=OT}function LT(e,t,n,a,r){for(var i in a)if(a.hasOwnProperty(i)){var l=a[i];if(i===Hi)l&&Object.freeze(l),sh(t,l);else if(i===su){var o=l?l[Js]:void 0;o!=null&&rh(t,o)}else if(i===Vi)if(typeof l=="string"){var u=e!=="textarea"||l!=="";u&&_s(t,l)}else typeof l=="number"&&_s(t,""+l);else i===Ks||i===Xr||i===Py||(Kt.hasOwnProperty(i)?l!=null&&(typeof l!="function"&&ec(i,l),i==="onScroll"&<("scroll",t)):l!=null&&Ra(t,i,l,r))}}function zT(e,t,n,a){for(var r=0;r<t.length;r+=2){var i=t[r],l=t[r+1];i===Hi?sh(e,l):i===su?rh(e,l):i===Vi?_s(e,l):Ra(e,i,l,a)}}function MT(e,t,n,a){var r,i=Gy(n),l,o=a;if(o===hr&&(o=Bf(e)),o===hr){if(r=Ni(e,t),!r&&e!==e.toLowerCase()&&f("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var u=i.createElement("div");u.innerHTML="<script><\/script>";var p=u.firstChild;l=u.removeChild(p)}else if(typeof t.is=="string")l=i.createElement(e,{is:t.is});else if(l=i.createElement(e),e==="select"){var v=l;t.multiple?v.multiple=!0:t.size&&(v.size=t.size)}}else l=i.createElementNS(o,e);return o===hr&&!r&&Object.prototype.toString.call(l)==="[object HTMLUnknownElement]"&&!An.call(ap,e)&&(ap[e]=!0,f("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),l}function AT(e,t){return Gy(t).createTextNode(e)}function jT(e,t,n,a){var r=Ni(t,n);Zs(t,n);var i;switch(t){case"dialog":lt("cancel",e),lt("close",e),i=n;break;case"iframe":case"object":case"embed":lt("load",e),i=n;break;case"video":case"audio":for(var l=0;l<lu.length;l++)lt(lu[l],e);i=n;break;case"source":lt("error",e),i=n;break;case"img":case"image":case"link":lt("error",e),lt("load",e),i=n;break;case"details":lt("toggle",e),i=n;break;case"input":Rs(e,n),i=_o(e,n),lt("invalid",e);break;case"option":qe(e,n),i=n;break;case"select":Do(e,n),i=wo(e,n),lt("invalid",e);break;case"textarea":th(e,n),i=Hf(e,n),lt("invalid",e);break;default:i=n}switch(qf(t,i),LT(t,e,a,i,r),t){case"input":Ti(e),k(e,n,!1);break;case"textarea":Ti(e),ah(e);break;case"option":Je(e,n);break;case"select":jf(e,n);break;default:typeof i.onClick=="function"&&ac(e);break}}function VT(e,t,n,a,r){Zs(t,a);var i=null,l,o;switch(t){case"input":l=_o(e,n),o=_o(e,a),i=[];break;case"select":l=wo(e,n),o=wo(e,a),i=[];break;case"textarea":l=Hf(e,n),o=Hf(e,a),i=[];break;default:l=n,o=a,typeof l.onClick!="function"&&typeof o.onClick=="function"&&ac(e);break}qf(t,o);var u,p,v=null;for(u in l)if(!(o.hasOwnProperty(u)||!l.hasOwnProperty(u)||l[u]==null))if(u===Hi){var C=l[u];for(p in C)C.hasOwnProperty(p)&&(v||(v={}),v[p]="")}else u===su||u===Vi||u===Ks||u===Xr||u===Py||(Kt.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in o){var E=o[u],D=l!=null?l[u]:void 0;if(!(!o.hasOwnProperty(u)||E===D||E==null&&D==null))if(u===Hi)if(E&&Object.freeze(E),D){for(p in D)D.hasOwnProperty(p)&&(!E||!E.hasOwnProperty(p))&&(v||(v={}),v[p]="");for(p in E)E.hasOwnProperty(p)&&D[p]!==E[p]&&(v||(v={}),v[p]=E[p])}else v||(i||(i=[]),i.push(u,v)),v=E;else if(u===su){var O=E?E[Js]:void 0,M=D?D[Js]:void 0;O!=null&&M!==O&&(i=i||[]).push(u,O)}else u===Vi?(typeof E=="string"||typeof E=="number")&&(i=i||[]).push(u,""+E):u===Ks||u===Xr||(Kt.hasOwnProperty(u)?(E!=null&&(typeof E!="function"&&ec(u,E),u==="onScroll"&<("scroll",e)),!i&&D!==E&&(i=[])):(i=i||[]).push(u,E))}return v&&(rC(v,o[Hi]),(i=i||[]).push(Hi,v)),i}function HT(e,t,n,a,r){n==="input"&&r.type==="radio"&&r.name!=null&&c(e,r);var i=Ni(n,a),l=Ni(n,r);switch(zT(e,t,i,l),n){case"input":g(e,r);break;case"textarea":nh(e,r);break;case"select":xs(e,r);break}}function FT(e){{var t=e.toLowerCase();return Ns.hasOwnProperty(t)&&Ns[t]||null}}function BT(e,t,n,a,r,i,l){var o,u;switch(o=Ni(t,n),Zs(t,n),t){case"dialog":lt("cancel",e),lt("close",e);break;case"iframe":case"object":case"embed":lt("load",e);break;case"video":case"audio":for(var p=0;p<lu.length;p++)lt(lu[p],e);break;case"source":lt("error",e);break;case"img":case"image":case"link":lt("error",e),lt("load",e);break;case"details":lt("toggle",e);break;case"input":Rs(e,n),lt("invalid",e);break;case"option":qe(e,n);break;case"select":Do(e,n),lt("invalid",e);break;case"textarea":th(e,n),lt("invalid",e);break}qf(t,n);{u=new Set;for(var v=e.attributes,C=0;C<v.length;C++){var E=v[C].name.toLowerCase();switch(E){case"value":break;case"checked":break;case"selected":break;default:u.add(v[C].name)}}}var D=null;for(var O in n)if(n.hasOwnProperty(O)){var M=n[O];if(O===Vi)typeof M=="string"?e.textContent!==M&&(n[Xr]!==!0&&nc(e.textContent,M,i,l),D=[Vi,M]):typeof M=="number"&&e.textContent!==""+M&&(n[Xr]!==!0&&nc(e.textContent,M,i,l),D=[Vi,""+M]);else if(Kt.hasOwnProperty(O))M!=null&&(typeof M!="function"&&ec(O,M),O==="onScroll"&<("scroll",e));else if(l&&typeof o=="boolean"){var K=void 0,fe=ht(O);if(n[Xr]!==!0){if(!(O===Ks||O===Xr||O==="value"||O==="checked"||O==="selected")){if(O===su){var le=e.innerHTML,Ve=M?M[Js]:void 0;if(Ve!=null){var Oe=qy(e,Ve);Oe!==le&&cu(O,le,Oe)}}else if(O===Hi){if(u.delete(O),Iy){var x=nC(M);K=e.getAttribute("style"),x!==K&&cu(O,K,x)}}else if(o&&!ia)u.delete(O.toLowerCase()),K=yi(e,O,M),M!==K&&cu(O,K,M);else if(!ft(O,fe,o)&&!vn(O,M,fe,o)){var A=!1;if(fe!==null)u.delete(fe.attributeName),K=rl(e,O,M,fe);else{var T=a;if(T===hr&&(T=Bf(t)),T===hr)u.delete(O.toLowerCase());else{var Y=FT(O);Y!==null&&Y!==O&&(A=!0,u.delete(Y)),u.delete(O)}K=yi(e,O,M)}var te=ia;!te&&M!==K&&!A&&cu(O,K,M)}}}}}switch(l&&u.size>0&&n[Xr]!==!0&&Yy(u),t){case"input":Ti(e),k(e,n,!0);break;case"textarea":Ti(e),ah(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&ac(e);break}return D}function $T(e,t,n){var a=e.nodeValue!==t;return a}function rp(e,t){{if(Fn)return;Fn=!0,f("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function ip(e,t){{if(Fn)return;Fn=!0,f('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function lp(e,t,n){{if(Fn)return;Fn=!0,f("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function op(e,t){{if(t===""||Fn)return;Fn=!0,f('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function PT(e,t,n){switch(t){case"input":z(e,n);return;case"textarea":jE(e,n);return;case"select":Vf(e,n);return}}var fu=function(){},du=function(){};{var YT=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Wy=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],IT=Wy.concat(["button"]),qT=["dd","dt","li","option","optgroup","p","rp","rt"],Qy={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};du=function(e,t){var n=De({},e||Qy),a={tag:t};return Wy.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),IT.indexOf(t)!==-1&&(n.pTagInButtonScope=null),YT.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),n};var GT=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return qT.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},WT=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Xy={};fu=function(e,t,n){n=n||Qy;var a=n.current,r=a&&a.tag;t!=null&&(e!=null&&f("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=GT(e,r)?null:a,l=i?null:WT(e,n),o=i||l;if(o){var u=o.tag,p=!!i+"|"+e+"|"+u;if(!Xy[p]){Xy[p]=!0;var v=e,C="";if(e==="#text"?/\S/.test(t)?v="Text nodes":(v="Whitespace text nodes",C=" Make sure you don't have any extra whitespace between tags on each line of your source code."):v="<"+e+">",i){var E="";u==="table"&&e==="tr"&&(E+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),f("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",v,u,C,E)}else f("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",v,u)}}}}var rc="suppressHydrationWarning",ic="$",lc="/$",pu="$?",vu="$!",QT="style",up=null,sp=null;function XT(e){var t,n,a=e.nodeType;switch(a){case gr:case Pf:{t=a===gr?"#document":"#fragment";var r=e.documentElement;n=r?r.namespaceURI:$f(null,"");break}default:{var i=a===xt?e.parentNode:e,l=i.namespaceURI||null;t=i.tagName,n=$f(l,t);break}}{var o=t.toLowerCase(),u=du(null,o);return{namespace:n,ancestorInfo:u}}}function KT(e,t,n){{var a=e,r=$f(a.namespace,t),i=du(a.ancestorInfo,t);return{namespace:r,ancestorInfo:i}}}function aL(e){return e}function JT(e){up=QR(),sp=dT();var t=null;return ry(!1),t}function ZT(e){pT(sp),ry(up),up=null,sp=null}function e_(e,t,n,a,r){var i;{var l=a;if(fu(e,null,l.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var o=""+t.children,u=du(l.ancestorInfo,e);fu(null,o,u)}i=l.namespace}var p=MT(e,t,n,i);return yu(r,p),yp(p,t),p}function t_(e,t){e.appendChild(t)}function n_(e,t,n,a,r){switch(jT(e,t,n,a),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function a_(e,t,n,a,r,i){{var l=i;if(typeof a.children!=typeof n.children&&(typeof a.children=="string"||typeof a.children=="number")){var o=""+a.children,u=du(l.ancestorInfo,t);fu(null,o,u)}}return VT(e,t,n,a)}function cp(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function r_(e,t,n,a){{var r=n;fu(null,e,r.ancestorInfo)}var i=AT(e,t);return yu(a,i),i}function i_(){var e=window.event;return e===void 0?xr:iy(e.type)}var fp=typeof setTimeout=="function"?setTimeout:void 0,l_=typeof clearTimeout=="function"?clearTimeout:void 0,dp=-1,Ky=typeof Promise=="function"?Promise:void 0,o_=typeof queueMicrotask=="function"?queueMicrotask:typeof Ky<"u"?function(e){return Ky.resolve(null).then(e).catch(u_)}:fp;function u_(e){setTimeout(function(){throw e})}function s_(e,t,n,a){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function c_(e,t,n,a,r,i){HT(e,t,n,a,r),yp(e,r)}function Jy(e){_s(e,"")}function f_(e,t,n){e.nodeValue=n}function d_(e,t){e.appendChild(t)}function p_(e,t){var n;e.nodeType===xt?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var a=e._reactRootContainer;a==null&&n.onclick===null&&ac(n)}function v_(e,t,n){e.insertBefore(t,n)}function m_(e,t,n){e.nodeType===xt?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function h_(e,t){e.removeChild(t)}function y_(e,t){e.nodeType===xt?e.parentNode.removeChild(t):e.removeChild(t)}function pp(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===xt){var i=r.data;if(i===lc)if(a===0){e.removeChild(r),Xo(t);return}else a--;else(i===ic||i===pu||i===vu)&&a++}n=r}while(n);Xo(t)}function g_(e,t){e.nodeType===xt?pp(e.parentNode,t):e.nodeType===Hn&&pp(e,t),Xo(e)}function b_(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function S_(e){e.nodeValue=""}function E_(e,t){e=e;var n=t[QT],a=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Yf("display",a)}function C_(e,t){e.nodeValue=t}function R_(e){e.nodeType===Hn?e.textContent="":e.nodeType===gr&&e.documentElement&&e.removeChild(e.documentElement)}function x_(e,t,n){return e.nodeType!==Hn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function T_(e,t){return t===""||e.nodeType!==yr?null:e}function __(e){return e.nodeType!==xt?null:e}function Zy(e){return e.data===pu}function vp(e){return e.data===vu}function N_(e){var t=e.nextSibling&&e.nextSibling.dataset,n,a,r;return t&&(n=t.dgst,a=t.msg,r=t.stck),{message:a,digest:n,stack:r}}function w_(e,t){e._reactRetry=t}function oc(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Hn||t===yr)break;if(t===xt){var n=e.data;if(n===ic||n===vu||n===pu)break;if(n===lc)return null}}return e}function mu(e){return oc(e.nextSibling)}function D_(e){return oc(e.firstChild)}function U_(e){return oc(e.firstChild)}function k_(e){return oc(e.nextSibling)}function O_(e,t,n,a,r,i,l){yu(i,e),yp(e,n);var o;{var u=r;o=u.namespace}var p=(i.mode&Ae)!==ve;return BT(e,t,n,o,a,p,l)}function L_(e,t,n,a){return yu(n,e),n.mode&Ae,$T(e,t)}function z_(e,t){yu(t,e)}function M_(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===xt){var a=t.data;if(a===lc){if(n===0)return mu(t);n--}else(a===ic||a===vu||a===pu)&&n++}t=t.nextSibling}return null}function eg(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===xt){var a=t.data;if(a===ic||a===vu||a===pu){if(n===0)return t;n--}else a===lc&&n++}t=t.previousSibling}return null}function A_(e){Xo(e)}function j_(e){Xo(e)}function V_(e){return e!=="head"&&e!=="body"}function H_(e,t,n,a){var r=!0;nc(t.nodeValue,n,a,r)}function F_(e,t,n,a,r,i){if(t[rc]!==!0){var l=!0;nc(a.nodeValue,r,i,l)}}function B_(e,t){t.nodeType===Hn?rp(e,t):t.nodeType===xt||ip(e,t)}function $_(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===Hn?rp(n,t):t.nodeType===xt||ip(n,t))}}function P_(e,t,n,a,r){(r||t[rc]!==!0)&&(a.nodeType===Hn?rp(n,a):a.nodeType===xt||ip(n,a))}function Y_(e,t,n){lp(e,t)}function I_(e,t){op(e,t)}function q_(e,t,n){{var a=e.parentNode;a!==null&&lp(a,t)}}function G_(e,t){{var n=e.parentNode;n!==null&&op(n,t)}}function W_(e,t,n,a,r,i){(i||t[rc]!==!0)&&lp(n,a)}function Q_(e,t,n,a,r){(r||t[rc]!==!0)&&op(n,a)}function X_(e){f("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function K_(e){ou(e)}var Ll=Math.random().toString(36).slice(2),zl="__reactFiber$"+Ll,mp="__reactProps$"+Ll,hu="__reactContainer$"+Ll,hp="__reactEvents$"+Ll,J_="__reactListeners$"+Ll,Z_="__reactHandles$"+Ll;function eN(e){delete e[zl],delete e[mp],delete e[hp],delete e[J_],delete e[Z_]}function yu(e,t){t[zl]=e}function uc(e,t){t[hu]=e}function tg(e){e[hu]=null}function gu(e){return!!e[hu]}function Fi(e){var t=e[zl];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hu]||n[zl],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var r=eg(e);r!==null;){var i=r[zl];if(i)return i;r=eg(r)}return t}e=n,n=e.parentNode}return null}function Kr(e){var t=e[zl]||e[hu];return t&&(t.tag===H||t.tag===G||t.tag===ie||t.tag===U)?t:null}function Ml(e){if(e.tag===H||e.tag===G)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function sc(e){return e[mp]||null}function yp(e,t){e[mp]=t}function tN(e){var t=e[hp];return t===void 0&&(t=e[hp]=new Set),t}var ng={},ag=m.ReactDebugCurrentFrame;function cc(e){if(e){var t=e._owner,n=So(e.type,e._source,t?t.type:null);ag.setExtraStackFrame(n)}else ag.setExtraStackFrame(null)}function Da(e,t,n,a,r){{var i=Function.call.bind(An);for(var l in e)if(i(e,l)){var o=void 0;try{if(typeof e[l]!="function"){var u=Error((a||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}o=e[l](t,l,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(p){o=p}o&&!(o instanceof Error)&&(cc(r),f("%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",n,l,typeof o),cc(null)),o instanceof Error&&!(o.message in ng)&&(ng[o.message]=!0,cc(r),f("Failed %s type: %s",n,o.message),cc(null))}}}var gp=[],fc;fc=[];var Tr=-1;function Jr(e){return{current:e}}function yn(e,t){if(Tr<0){f("Unexpected pop.");return}t!==fc[Tr]&&f("Unexpected Fiber popped."),e.current=gp[Tr],gp[Tr]=null,fc[Tr]=null,Tr--}function gn(e,t,n){Tr++,gp[Tr]=e.current,fc[Tr]=n,e.current=t}var bp;bp={};var ta={};Object.freeze(ta);var _r=Jr(ta),Ka=Jr(!1),Sp=ta;function Al(e,t,n){return n&&Ja(t)?Sp:_r.current}function rg(e,t,n){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}}function jl(e,t){{var n=e.type,a=n.contextTypes;if(!a)return ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={};for(var l in a)i[l]=t[l];{var o=Re(e)||"Unknown";Da(a,i,"context",o)}return r&&rg(e,t,i),i}}function dc(){return Ka.current}function Ja(e){{var t=e.childContextTypes;return t!=null}}function pc(e){yn(Ka,e),yn(_r,e)}function Ep(e){yn(Ka,e),yn(_r,e)}function ig(e,t,n){{if(_r.current!==ta)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");gn(_r,t,e),gn(Ka,n,e)}}function lg(e,t,n){{var a=e.stateNode,r=t.childContextTypes;if(typeof a.getChildContext!="function"){{var i=Re(e)||"Unknown";bp[i]||(bp[i]=!0,f("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i))}return n}var l=a.getChildContext();for(var o in l)if(!(o in r))throw new Error((Re(e)||"Unknown")+'.getChildContext(): key "'+o+'" is not defined in childContextTypes.');{var u=Re(e)||"Unknown";Da(r,l,"child context",u)}return De({},n,l)}}function vc(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ta;return Sp=_r.current,gn(_r,n,e),gn(Ka,Ka.current,e),!0}}function og(e,t,n){{var a=e.stateNode;if(!a)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var r=lg(e,t,Sp);a.__reactInternalMemoizedMergedChildContext=r,yn(Ka,e),yn(_r,e),gn(_r,r,e),gn(Ka,n,e)}else yn(Ka,e),gn(Ka,n,e)}}function nN(e){{if(!VC(e)||e.tag!==_)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case U:return t.stateNode.context;case _:{var n=t.type;if(Ja(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Zr=0,mc=1,Nr=null,Cp=!1,Rp=!1;function ug(e){Nr===null?Nr=[e]:Nr.push(e)}function aN(e){Cp=!0,ug(e)}function sg(){Cp&&ei()}function ei(){if(!Rp&&Nr!==null){Rp=!0;var e=0,t=wa();try{var n=!0,a=Nr;for(Qt(Jn);e<a.length;e++){var r=a[e];do r=r(n);while(r!==null)}Nr=null,Cp=!1}catch(i){throw Nr!==null&&(Nr=Nr.slice(e+1)),Lh(ks,ei),i}finally{Qt(t),Rp=!1}}return null}var Vl=[],Hl=0,hc=null,yc=0,ca=[],fa=0,Bi=null,wr=1,Dr="";function rN(e){return Pi(),(e.flags&Th)!==he}function iN(e){return Pi(),yc}function lN(){var e=Dr,t=wr,n=t&~oN(t);return n.toString(32)+e}function $i(e,t){Pi(),Vl[Hl++]=yc,Vl[Hl++]=hc,hc=e,yc=t}function cg(e,t,n){Pi(),ca[fa++]=wr,ca[fa++]=Dr,ca[fa++]=Bi,Bi=e;var a=wr,r=Dr,i=gc(a)-1,l=a&~(1<<i),o=n+1,u=gc(t)+i;if(u>30){var p=i-i%5,v=(1<<p)-1,C=(l&v).toString(32),E=l>>p,D=i-p,O=gc(t)+D,M=o<<D,K=M|E,fe=C+r;wr=1<<O|K,Dr=fe}else{var le=o<<i,Ve=le|l,Oe=r;wr=1<<u|Ve,Dr=Oe}}function xp(e){Pi();var t=e.return;if(t!==null){var n=1,a=0;$i(e,n),cg(e,n,a)}}function gc(e){return 32-Hh(e)}function oN(e){return 1<<gc(e)-1}function Tp(e){for(;e===hc;)hc=Vl[--Hl],Vl[Hl]=null,yc=Vl[--Hl],Vl[Hl]=null;for(;e===Bi;)Bi=ca[--fa],ca[fa]=null,Dr=ca[--fa],ca[fa]=null,wr=ca[--fa],ca[fa]=null}function uN(){return Pi(),Bi!==null?{id:wr,overflow:Dr}:null}function sN(e,t){Pi(),ca[fa++]=wr,ca[fa++]=Dr,ca[fa++]=Bi,wr=t.id,Dr=t.overflow,Bi=e}function Pi(){an()||f("Expected to be hydrating. This is a bug in React. Please file an issue.")}var nn=null,da=null,Ua=!1,Yi=!1,ti=null;function cN(){Ua&&f("We should not be hydrating here. This is a bug in React. Please file a bug.")}function fg(){Yi=!0}function fN(){return Yi}function dN(e){var t=e.stateNode.containerInfo;return da=U_(t),nn=e,Ua=!0,ti=null,Yi=!1,!0}function pN(e,t,n){return da=k_(t),nn=e,Ua=!0,ti=null,Yi=!1,n!==null&&sN(e,n),!0}function dg(e,t){switch(e.tag){case U:{B_(e.stateNode.containerInfo,t);break}case H:{var n=(e.mode&Ae)!==ve;P_(e.type,e.memoizedProps,e.stateNode,t,n);break}case ie:{var a=e.memoizedState;a.dehydrated!==null&&$_(a.dehydrated,t);break}}}function pg(e,t){dg(e,t);var n=y0();n.stateNode=t,n.return=e;var a=e.deletions;a===null?(e.deletions=[n],e.flags|=wi):a.push(n)}function _p(e,t){{if(Yi)return;switch(e.tag){case U:{var n=e.stateNode.containerInfo;switch(t.tag){case H:var a=t.type;t.pendingProps,Y_(n,a);break;case G:var r=t.pendingProps;I_(n,r);break}break}case H:{var i=e.type,l=e.memoizedProps,o=e.stateNode;switch(t.tag){case H:{var u=t.type,p=t.pendingProps,v=(e.mode&Ae)!==ve;W_(i,l,o,u,p,v);break}case G:{var C=t.pendingProps,E=(e.mode&Ae)!==ve;Q_(i,l,o,C,E);break}}break}case ie:{var D=e.memoizedState,O=D.dehydrated;if(O!==null)switch(t.tag){case H:var M=t.type;t.pendingProps,q_(O,M);break;case G:var K=t.pendingProps;G_(O,K);break}break}default:return}}}function vg(e,t){t.flags=t.flags&~Sr|Tt,_p(e,t)}function mg(e,t){switch(e.tag){case H:{var n=e.type;e.pendingProps;var a=x_(t,n);return a!==null?(e.stateNode=a,nn=e,da=D_(a),!0):!1}case G:{var r=e.pendingProps,i=T_(t,r);return i!==null?(e.stateNode=i,nn=e,da=null,!0):!1}case ie:{var l=__(t);if(l!==null){var o={dehydrated:l,treeContext:uN(),retryLane:Xn};e.memoizedState=o;var u=g0(l);return u.return=e,e.child=u,nn=e,da=null,!0}return!1}default:return!1}}function Np(e){return(e.mode&Ae)!==ve&&(e.flags&Pe)===he}function wp(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Dp(e){if(Ua){var t=da;if(!t){Np(e)&&(_p(nn,e),wp()),vg(nn,e),Ua=!1,nn=e;return}var n=t;if(!mg(e,t)){Np(e)&&(_p(nn,e),wp()),t=mu(n);var a=nn;if(!t||!mg(e,t)){vg(nn,e),Ua=!1,nn=e;return}pg(a,n)}}}function vN(e,t,n){var a=e.stateNode,r=!Yi,i=O_(a,e.type,e.memoizedProps,t,n,e,r);return e.updateQueue=i,i!==null}function mN(e){var t=e.stateNode,n=e.memoizedProps,a=L_(t,n,e);if(a){var r=nn;if(r!==null)switch(r.tag){case U:{var i=r.stateNode.containerInfo,l=(r.mode&Ae)!==ve;H_(i,t,n,l);break}case H:{var o=r.type,u=r.memoizedProps,p=r.stateNode,v=(r.mode&Ae)!==ve;F_(o,u,p,t,n,v);break}}}return a}function hN(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z_(n,e)}function yN(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return M_(n)}function hg(e){for(var t=e.return;t!==null&&t.tag!==H&&t.tag!==U&&t.tag!==ie;)t=t.return;nn=t}function bc(e){if(e!==nn)return!1;if(!Ua)return hg(e),Ua=!0,!1;if(e.tag!==U&&(e.tag!==H||V_(e.type)&&!cp(e.type,e.memoizedProps))){var t=da;if(t)if(Np(e))yg(e),wp();else for(;t;)pg(e,t),t=mu(t)}return hg(e),e.tag===ie?da=yN(e):da=nn?mu(e.stateNode):null,!0}function gN(){return Ua&&da!==null}function yg(e){for(var t=da;t;)dg(e,t),t=mu(t)}function Fl(){nn=null,da=null,Ua=!1,Yi=!1}function gg(){ti!==null&&(fS(ti),ti=null)}function an(){return Ua}function Up(e){ti===null?ti=[e]:ti.push(e)}var bN=m.ReactCurrentBatchConfig,SN=null;function EN(){return bN.transition}var ka={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var CN=function(e){for(var t=null,n=e;n!==null;)n.mode>&&(t=n),n=n.return;return t},Ii=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},bu=[],Su=[],Eu=[],Cu=[],Ru=[],xu=[],qi=new Set;ka.recordUnsafeLifecycleWarnings=function(e,t){qi.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&bu.push(e),e.mode>&&typeof t.UNSAFE_componentWillMount=="function"&&Su.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Eu.push(e),e.mode>&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Cu.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ru.push(e),e.mode>&&typeof t.UNSAFE_componentWillUpdate=="function"&&xu.push(e))},ka.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;bu.length>0&&(bu.forEach(function(E){e.add(Re(E)||"Component"),qi.add(E.type)}),bu=[]);var t=new Set;Su.length>0&&(Su.forEach(function(E){t.add(Re(E)||"Component"),qi.add(E.type)}),Su=[]);var n=new Set;Eu.length>0&&(Eu.forEach(function(E){n.add(Re(E)||"Component"),qi.add(E.type)}),Eu=[]);var a=new Set;Cu.length>0&&(Cu.forEach(function(E){a.add(Re(E)||"Component"),qi.add(E.type)}),Cu=[]);var r=new Set;Ru.length>0&&(Ru.forEach(function(E){r.add(Re(E)||"Component"),qi.add(E.type)}),Ru=[]);var i=new Set;if(xu.length>0&&(xu.forEach(function(E){i.add(Re(E)||"Component"),qi.add(E.type)}),xu=[]),t.size>0){var l=Ii(t);f(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
- Please update the following components: %s`,l)}if(a.size>0){var o=Ii(a);f(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move data fetching code or side effects to componentDidUpdate.
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
- Please update the following components: %s`,o)}if(i.size>0){var u=Ii(i);f(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move data fetching code or side effects to componentDidUpdate.
- Please update the following components: %s`,u)}if(e.size>0){var p=Ii(e);S(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
- Please update the following components: %s`,p)}if(n.size>0){var v=Ii(n);S(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move data fetching code or side effects to componentDidUpdate.
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
- Please update the following components: %s`,v)}if(r.size>0){var C=Ii(r);S(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move data fetching code or side effects to componentDidUpdate.
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
- Please update the following components: %s`,C)}};var Sc=new Map,bg=new Set;ka.recordLegacyContextWarning=function(e,t){var n=CN(e);if(n===null){f("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!bg.has(e.type)){var a=Sc.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Sc.set(n,a)),a.push(e))}},ka.flushLegacyContextWarning=function(){Sc.forEach(function(e,t){if(e.length!==0){var n=e[0],a=new Set;e.forEach(function(i){a.add(Re(i)||"Component"),bg.add(i.type)});var r=Ii(a);try{st(n),f(`Legacy context API has been detected within a strict-mode tree.
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
- Please update the following components: %s
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)}finally{It()}}})},ka.discardPendingWarnings=function(){bu=[],Su=[],Eu=[],Cu=[],Ru=[],xu=[],Sc=new Map}}var kp,Op,Lp,zp,Mp,Sg=function(e,t){};kp=!1,Op=!1,Lp={},zp={},Mp={},Sg=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=Re(t)||"Component";zp[n]||(zp[n]=!0,f('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function RN(e){return e.prototype&&e.prototype.isReactComponent}function Tu(e,t,n){var a=n.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode>||Bt)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==_)&&!(typeof n.type=="function"&&!RN(n.type))&&n._owner){var r=Re(e)||"Component";Lp[r]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r,a),Lp[r]=!0)}if(n._owner){var i=n._owner,l;if(i){var o=i;if(o.tag!==_)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");l=o.stateNode}if(!l)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var u=l;cr(a,"ref");var p=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===p)return t.ref;var v=function(C){var E=u.refs;C===null?delete E[p]:E[p]=C};return v._stringRef=p,v}else{if(typeof a!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+a+`) but no owner was set. This could happen for one of the following reasons:
- 1. You may be adding a ref to a function component
- 2. You may be adding a ref to a component that was not created inside a component's render method
- 3. You have multiple copies of React loaded
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function Ec(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Cc(e){{var t=Re(e)||"Component";if(Mp[t])return;Mp[t]=!0,f("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function Eg(e){var t=e._payload,n=e._init;return n(t)}function Cg(e){function t(x,A){if(e){var T=x.deletions;T===null?(x.deletions=[A],x.flags|=wi):T.push(A)}}function n(x,A){if(!e)return null;for(var T=A;T!==null;)t(x,T),T=T.sibling;return null}function a(x,A){for(var T=new Map,Y=A;Y!==null;)Y.key!==null?T.set(Y.key,Y):T.set(Y.index,Y),Y=Y.sibling;return T}function r(x,A){var T=tl(x,A);return T.index=0,T.sibling=null,T}function i(x,A,T){if(x.index=T,!e)return x.flags|=Th,A;var Y=x.alternate;if(Y!==null){var te=Y.index;return te<A?(x.flags|=Tt,A):te}else return x.flags|=Tt,A}function l(x){return e&&x.alternate===null&&(x.flags|=Tt),x}function o(x,A,T,Y){if(A===null||A.tag!==G){var te=Um(T,x.mode,Y);return te.return=x,te}else{var J=r(A,T);return J.return=x,J}}function u(x,A,T,Y){var te=T.type;if(te===Ia)return v(x,A,T.props.children,Y,T.key);if(A!==null&&(A.elementType===te||NS(A,T)||typeof te=="object"&&te!==null&&te.$$typeof===pe&&Eg(te)===A.type)){var J=r(A,T.props);return J.ref=Tu(x,A,T),J.return=x,J._debugSource=T._source,J._debugOwner=T._owner,J}var ye=Dm(T,x.mode,Y);return ye.ref=Tu(x,A,T),ye.return=x,ye}function p(x,A,T,Y){if(A===null||A.tag!==w||A.stateNode.containerInfo!==T.containerInfo||A.stateNode.implementation!==T.implementation){var te=km(T,x.mode,Y);return te.return=x,te}else{var J=r(A,T.children||[]);return J.return=x,J}}function v(x,A,T,Y,te){if(A===null||A.tag!==de){var J=di(T,x.mode,Y,te);return J.return=x,J}else{var ye=r(A,T);return ye.return=x,ye}}function C(x,A,T){if(typeof A=="string"&&A!==""||typeof A=="number"){var Y=Um(""+A,x.mode,T);return Y.return=x,Y}if(typeof A=="object"&&A!==null){switch(A.$$typeof){case ua:{var te=Dm(A,x.mode,T);return te.ref=Tu(x,null,A),te.return=x,te}case Qn:{var J=km(A,x.mode,T);return J.return=x,J}case pe:{var ye=A._payload,Ce=A._init;return C(x,Ce(ye),T)}}if(ke(A)||Ta(A)){var Qe=di(A,x.mode,T,null);return Qe.return=x,Qe}Ec(x,A)}return typeof A=="function"&&Cc(x),null}function E(x,A,T,Y){var te=A!==null?A.key:null;if(typeof T=="string"&&T!==""||typeof T=="number")return te!==null?null:o(x,A,""+T,Y);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case ua:return T.key===te?u(x,A,T,Y):null;case Qn:return T.key===te?p(x,A,T,Y):null;case pe:{var J=T._payload,ye=T._init;return E(x,A,ye(J),Y)}}if(ke(T)||Ta(T))return te!==null?null:v(x,A,T,Y,null);Ec(x,T)}return typeof T=="function"&&Cc(x),null}function D(x,A,T,Y,te){if(typeof Y=="string"&&Y!==""||typeof Y=="number"){var J=x.get(T)||null;return o(A,J,""+Y,te)}if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case ua:{var ye=x.get(Y.key===null?T:Y.key)||null;return u(A,ye,Y,te)}case Qn:{var Ce=x.get(Y.key===null?T:Y.key)||null;return p(A,Ce,Y,te)}case pe:var Qe=Y._payload,He=Y._init;return D(x,A,T,He(Qe),te)}if(ke(Y)||Ta(Y)){var Ct=x.get(T)||null;return v(A,Ct,Y,te,null)}Ec(A,Y)}return typeof Y=="function"&&Cc(A),null}function O(x,A,T){{if(typeof x!="object"||x===null)return A;switch(x.$$typeof){case ua:case Qn:Sg(x,T);var Y=x.key;if(typeof Y!="string")break;if(A===null){A=new Set,A.add(Y);break}if(!A.has(Y)){A.add(Y);break}f("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Y);break;case pe:var te=x._payload,J=x._init;O(J(te),A,T);break}}return A}function M(x,A,T,Y){for(var te=null,J=0;J<T.length;J++){var ye=T[J];te=O(ye,te,x)}for(var Ce=null,Qe=null,He=A,Ct=0,Fe=0,bt=null;He!==null&&Fe<T.length;Fe++){He.index>Fe?(bt=He,He=null):bt=He.sibling;var Sn=E(x,He,T[Fe],Y);if(Sn===null){He===null&&(He=bt);break}e&&He&&Sn.alternate===null&&t(x,He),Ct=i(Sn,Ct,Fe),Qe===null?Ce=Sn:Qe.sibling=Sn,Qe=Sn,He=bt}if(Fe===T.length){if(n(x,He),an()){var fn=Fe;$i(x,fn)}return Ce}if(He===null){for(;Fe<T.length;Fe++){var aa=C(x,T[Fe],Y);aa!==null&&(Ct=i(aa,Ct,Fe),Qe===null?Ce=aa:Qe.sibling=aa,Qe=aa)}if(an()){var zn=Fe;$i(x,zn)}return Ce}for(var Mn=a(x,He);Fe<T.length;Fe++){var En=D(Mn,x,Fe,T[Fe],Y);En!==null&&(e&&En.alternate!==null&&Mn.delete(En.key===null?Fe:En.key),Ct=i(En,Ct,Fe),Qe===null?Ce=En:Qe.sibling=En,Qe=En)}if(e&&Mn.forEach(function(io){return t(x,io)}),an()){var Ar=Fe;$i(x,Ar)}return Ce}function K(x,A,T,Y){var te=Ta(T);if(typeof te!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&T[Symbol.toStringTag]==="Generator"&&(Op||f("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Op=!0),T.entries===te&&(kp||f("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),kp=!0);var J=te.call(T);if(J)for(var ye=null,Ce=J.next();!Ce.done;Ce=J.next()){var Qe=Ce.value;ye=O(Qe,ye,x)}}var He=te.call(T);if(He==null)throw new Error("An iterable object provided no iterator.");for(var Ct=null,Fe=null,bt=A,Sn=0,fn=0,aa=null,zn=He.next();bt!==null&&!zn.done;fn++,zn=He.next()){bt.index>fn?(aa=bt,bt=null):aa=bt.sibling;var Mn=E(x,bt,zn.value,Y);if(Mn===null){bt===null&&(bt=aa);break}e&&bt&&Mn.alternate===null&&t(x,bt),Sn=i(Mn,Sn,fn),Fe===null?Ct=Mn:Fe.sibling=Mn,Fe=Mn,bt=aa}if(zn.done){if(n(x,bt),an()){var En=fn;$i(x,En)}return Ct}if(bt===null){for(;!zn.done;fn++,zn=He.next()){var Ar=C(x,zn.value,Y);Ar!==null&&(Sn=i(Ar,Sn,fn),Fe===null?Ct=Ar:Fe.sibling=Ar,Fe=Ar)}if(an()){var io=fn;$i(x,io)}return Ct}for(var as=a(x,bt);!zn.done;fn++,zn=He.next()){var lr=D(as,x,fn,zn.value,Y);lr!==null&&(e&&lr.alternate!==null&&as.delete(lr.key===null?fn:lr.key),Sn=i(lr,Sn,fn),Fe===null?Ct=lr:Fe.sibling=lr,Fe=lr)}if(e&&as.forEach(function(Q0){return t(x,Q0)}),an()){var W0=fn;$i(x,W0)}return Ct}function fe(x,A,T,Y){if(A!==null&&A.tag===G){n(x,A.sibling);var te=r(A,T);return te.return=x,te}n(x,A);var J=Um(T,x.mode,Y);return J.return=x,J}function le(x,A,T,Y){for(var te=T.key,J=A;J!==null;){if(J.key===te){var ye=T.type;if(ye===Ia){if(J.tag===de){n(x,J.sibling);var Ce=r(J,T.props.children);return Ce.return=x,Ce._debugSource=T._source,Ce._debugOwner=T._owner,Ce}}else if(J.elementType===ye||NS(J,T)||typeof ye=="object"&&ye!==null&&ye.$$typeof===pe&&Eg(ye)===J.type){n(x,J.sibling);var Qe=r(J,T.props);return Qe.ref=Tu(x,J,T),Qe.return=x,Qe._debugSource=T._source,Qe._debugOwner=T._owner,Qe}n(x,J);break}else t(x,J);J=J.sibling}if(T.type===Ia){var He=di(T.props.children,x.mode,Y,T.key);return He.return=x,He}else{var Ct=Dm(T,x.mode,Y);return Ct.ref=Tu(x,A,T),Ct.return=x,Ct}}function Ve(x,A,T,Y){for(var te=T.key,J=A;J!==null;){if(J.key===te)if(J.tag===w&&J.stateNode.containerInfo===T.containerInfo&&J.stateNode.implementation===T.implementation){n(x,J.sibling);var ye=r(J,T.children||[]);return ye.return=x,ye}else{n(x,J);break}else t(x,J);J=J.sibling}var Ce=km(T,x.mode,Y);return Ce.return=x,Ce}function Oe(x,A,T,Y){var te=typeof T=="object"&&T!==null&&T.type===Ia&&T.key===null;if(te&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case ua:return l(le(x,A,T,Y));case Qn:return l(Ve(x,A,T,Y));case pe:var J=T._payload,ye=T._init;return Oe(x,A,ye(J),Y)}if(ke(T))return M(x,A,T,Y);if(Ta(T))return K(x,A,T,Y);Ec(x,T)}return typeof T=="string"&&T!==""||typeof T=="number"?l(fe(x,A,""+T,Y)):(typeof T=="function"&&Cc(x),n(x,A))}return Oe}var Bl=Cg(!0),Rg=Cg(!1);function xN(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,a=tl(n,n.pendingProps);for(t.child=a,a.return=t;n.sibling!==null;)n=n.sibling,a=a.sibling=tl(n,n.pendingProps),a.return=t;a.sibling=null}}function TN(e,t){for(var n=e.child;n!==null;)d0(n,t),n=n.sibling}var Ap=Jr(null),jp;jp={};var Rc=null,$l=null,Vp=null,xc=!1;function Tc(){Rc=null,$l=null,Vp=null,xc=!1}function xg(){xc=!0}function Tg(){xc=!1}function _g(e,t,n){gn(Ap,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==jp&&f("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=jp}function Hp(e,t){var n=Ap.current;yn(Ap,t),e._currentValue=n}function Fp(e,t,n){for(var a=e;a!==null;){var r=a.alternate;if(_l(a.childLanes,t)?r!==null&&!_l(r.childLanes,t)&&(r.childLanes=_e(r.childLanes,t)):(a.childLanes=_e(a.childLanes,t),r!==null&&(r.childLanes=_e(r.childLanes,t))),a===n)break;a=a.return}a!==n&&f("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function _N(e,t,n){NN(e,t,n)}function NN(e,t,n){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var r=void 0,i=a.dependencies;if(i!==null){r=a.child;for(var l=i.firstContext;l!==null;){if(l.context===t){if(a.tag===_){var o=Po(n),u=Ur(et,o);u.tag=Nc;var p=a.updateQueue;if(p!==null){var v=p.shared,C=v.pending;C===null?u.next=u:(u.next=C.next,C.next=u),v.pending=u}}a.lanes=_e(a.lanes,n);var E=a.alternate;E!==null&&(E.lanes=_e(E.lanes,n)),Fp(a.return,n,e),i.lanes=_e(i.lanes,n);break}l=l.next}}else if(a.tag===P)r=a.type===e.type?null:a.child;else if(a.tag===mt){var D=a.return;if(D===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");D.lanes=_e(D.lanes,n);var O=D.alternate;O!==null&&(O.lanes=_e(O.lanes,n)),Fp(D,n,e),r=a.sibling}else r=a.child;if(r!==null)r.return=a;else for(r=a;r!==null;){if(r===e){r=null;break}var M=r.sibling;if(M!==null){M.return=r.return,r=M;break}r=r.return}a=r}}function Pl(e,t){Rc=e,$l=null,Vp=null;var n=e.dependencies;if(n!==null){var a=n.firstContext;a!==null&&(Kn(n.lanes,t)&&Fu(),n.firstContext=null)}}function _t(e){xc&&f("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Vp!==e){var n={context:e,memoizedValue:t,next:null};if($l===null){if(Rc===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");$l=n,Rc.dependencies={lanes:B,firstContext:n}}else $l=$l.next=n}return t}var Gi=null;function Bp(e){Gi===null?Gi=[e]:Gi.push(e)}function wN(){if(Gi!==null){for(var e=0;e<Gi.length;e++){var t=Gi[e],n=t.interleaved;if(n!==null){t.interleaved=null;var a=n.next,r=t.pending;if(r!==null){var i=r.next;r.next=a,n.next=i}t.pending=n}}Gi=null}}function Ng(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,Bp(t)):(n.next=r.next,r.next=n),t.interleaved=n,_c(e,a)}function DN(e,t,n,a){var r=t.interleaved;r===null?(n.next=n,Bp(t)):(n.next=r.next,r.next=n),t.interleaved=n}function UN(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,Bp(t)):(n.next=r.next,r.next=n),t.interleaved=n,_c(e,a)}function Bn(e,t){return _c(e,t)}var kN=_c;function _c(e,t){e.lanes=_e(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=_e(n.lanes,t)),n===null&&(e.flags&(Tt|Sr))!==he&&RS(e);for(var a=e,r=e.return;r!==null;)r.childLanes=_e(r.childLanes,t),n=r.alternate,n!==null?n.childLanes=_e(n.childLanes,t):(r.flags&(Tt|Sr))!==he&&RS(e),a=r,r=r.return;if(a.tag===U){var i=a.stateNode;return i}else return null}var wg=0,Dg=1,Nc=2,$p=3,wc=!1,Pp,Dc;Pp=!1,Dc=null;function Yp(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:B},effects:null};e.updateQueue=t}function Ug(e,t){var n=t.updateQueue,a=e.updateQueue;if(n===a){var r={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=r}}function Ur(e,t){var n={eventTime:e,lane:t,tag:wg,payload:null,callback:null,next:null};return n}function ni(e,t,n){var a=e.updateQueue;if(a===null)return null;var r=a.shared;if(Dc===r&&!Pp&&(f("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Pp=!0),DD()){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,kN(e,n)}else return UN(e,r,t,n)}function Uc(e,t,n){var a=t.updateQueue;if(a!==null){var r=a.shared;if(Ph(n)){var i=r.lanes;i=Ih(i,e.pendingLanes);var l=_e(i,n);r.lanes=l,Ad(e,l)}}}function Ip(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null){var r=a.updateQueue;if(n===r){var i=null,l=null,o=n.firstBaseUpdate;if(o!==null){var u=o;do{var p={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};l===null?i=l=p:(l.next=p,l=p),u=u.next}while(u!==null);l===null?i=l=t:(l.next=t,l=t)}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}}var v=n.lastBaseUpdate;v===null?n.firstBaseUpdate=t:v.next=t,n.lastBaseUpdate=t}function ON(e,t,n,a,r,i){switch(n.tag){case Dg:{var l=n.payload;if(typeof l=="function"){xg();var o=l.call(i,a,r);{if(e.mode>){Gt(!0);try{l.call(i,a,r)}finally{Gt(!1)}}Tg()}return o}return l}case $p:e.flags=e.flags&~Un|Pe;case wg:{var u=n.payload,p;if(typeof u=="function"){xg(),p=u.call(i,a,r);{if(e.mode>){Gt(!0);try{u.call(i,a,r)}finally{Gt(!1)}}Tg()}}else p=u;return p==null?a:De({},a,p)}case Nc:return wc=!0,a}return a}function kc(e,t,n,a){var r=e.updateQueue;wc=!1,Dc=r.shared;var i=r.firstBaseUpdate,l=r.lastBaseUpdate,o=r.shared.pending;if(o!==null){r.shared.pending=null;var u=o,p=u.next;u.next=null,l===null?i=p:l.next=p,l=u;var v=e.alternate;if(v!==null){var C=v.updateQueue,E=C.lastBaseUpdate;E!==l&&(E===null?C.firstBaseUpdate=p:E.next=p,C.lastBaseUpdate=u)}}if(i!==null){var D=r.baseState,O=B,M=null,K=null,fe=null,le=i;do{var Ve=le.lane,Oe=le.eventTime;if(_l(a,Ve)){if(fe!==null){var A={eventTime:Oe,lane:Wt,tag:le.tag,payload:le.payload,callback:le.callback,next:null};fe=fe.next=A}D=ON(e,r,le,D,t,n);var T=le.callback;if(T!==null&&le.lane!==Wt){e.flags|=xh;var Y=r.effects;Y===null?r.effects=[le]:Y.push(le)}}else{var x={eventTime:Oe,lane:Ve,tag:le.tag,payload:le.payload,callback:le.callback,next:null};fe===null?(K=fe=x,M=D):fe=fe.next=x,O=_e(O,Ve)}if(le=le.next,le===null){if(o=r.shared.pending,o===null)break;var te=o,J=te.next;te.next=null,le=J,r.lastBaseUpdate=te,r.shared.pending=null}}while(!0);fe===null&&(M=D),r.baseState=M,r.firstBaseUpdate=K,r.lastBaseUpdate=fe;var ye=r.shared.interleaved;if(ye!==null){var Ce=ye;do O=_e(O,Ce.lane),Ce=Ce.next;while(Ce!==ye)}else i===null&&(r.shared.lanes=B);Ju(O),e.lanes=O,e.memoizedState=D}Dc=null}function LN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function kg(){wc=!1}function Oc(){return wc}function Og(e,t,n){var a=t.effects;if(t.effects=null,a!==null)for(var r=0;r<a.length;r++){var i=a[r],l=i.callback;l!==null&&(i.callback=null,LN(l,n))}}var _u={},ai=Jr(_u),Nu=Jr(_u),Lc=Jr(_u);function zc(e){if(e===_u)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Lg(){var e=zc(Lc.current);return e}function qp(e,t){gn(Lc,t,e),gn(Nu,e,e),gn(ai,_u,e);var n=XT(t);yn(ai,e),gn(ai,n,e)}function Yl(e){yn(ai,e),yn(Nu,e),yn(Lc,e)}function Gp(){var e=zc(ai.current);return e}function zg(e){zc(Lc.current);var t=zc(ai.current),n=KT(t,e.type);t!==n&&(gn(Nu,e,e),gn(ai,n,e))}function Wp(e){Nu.current===e&&(yn(ai,e),yn(Nu,e))}var zN=0,Mg=1,Ag=1,wu=2,Oa=Jr(zN);function Qp(e,t){return(e&t)!==0}function Il(e){return e&Mg}function Xp(e,t){return e&Mg|t}function MN(e,t){return e|t}function ri(e,t){gn(Oa,t,e)}function ql(e){yn(Oa,e)}function AN(e,t){var n=e.memoizedState;return n!==null?n.dehydrated!==null:(e.memoizedProps,!0)}function Mc(e){for(var t=e;t!==null;){if(t.tag===ie){var n=t.memoizedState;if(n!==null){var a=n.dehydrated;if(a===null||Zy(a)||vp(a))return t}}else if(t.tag===St&&t.memoizedProps.revealOrder!==void 0){var r=(t.flags&Pe)!==he;if(r)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $n=0,kt=1,Za=2,Ot=4,rn=8,Kp=[];function Jp(){for(var e=0;e<Kp.length;e++){var t=Kp[e];t._workInProgressVersionPrimary=null}Kp.length=0}function jN(e,t){var n=t._getVersion,a=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var ee=m.ReactCurrentDispatcher,Du=m.ReactCurrentBatchConfig,Zp,Gl;Zp=new Set;var Wi=B,We=null,Lt=null,zt=null,Ac=!1,Uu=!1,ku=0,VN=0,HN=25,V=null,pa=null,ii=-1,ev=!1;function Ye(){{var e=V;pa===null?pa=[e]:pa.push(e)}}function W(){{var e=V;pa!==null&&(ii++,pa[ii]!==e&&FN(e))}}function Wl(e){e!=null&&!ke(e)&&f("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",V,typeof e)}function FN(e){{var t=Re(We);if(!Zp.has(t)&&(Zp.add(t),pa!==null)){for(var n="",a=30,r=0;r<=ii;r++){for(var i=pa[r],l=r===ii?e:i,o=r+1+". "+i;o.length<a;)o+=" ";o+=l+`
- `,n+=o}f(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
- Previous render Next render
- ------------------------------------------------------
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `,t,n)}}}function bn(){throw new Error(`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.`)}function tv(e,t){if(ev)return!1;if(t===null)return f("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",V),!1;e.length!==t.length&&f(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
- Previous: %s
- Incoming: %s`,V,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!ea(e[n],t[n]))return!1;return!0}function Ql(e,t,n,a,r,i){Wi=i,We=t,pa=e!==null?e._debugHookTypes:null,ii=-1,ev=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=B,e!==null&&e.memoizedState!==null?ee.current=rb:pa!==null?ee.current=ab:ee.current=nb;var l=n(a,r);if(Uu){var o=0;do{if(Uu=!1,ku=0,o>=HN)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");o+=1,ev=!1,Lt=null,zt=null,t.updateQueue=null,ii=-1,ee.current=ib,l=n(a,r)}while(Uu)}ee.current=Qc,t._debugHookTypes=pa;var u=Lt!==null&&Lt.next!==null;if(Wi=B,We=null,Lt=null,zt=null,V=null,pa=null,ii=-1,e!==null&&(e.flags&Er)!==(t.flags&Er)&&(e.mode&Ae)!==ve&&f("Internal React error: Expected static flag was missing. Please notify the React team."),Ac=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function Xl(){var e=ku!==0;return ku=0,e}function jg(e,t,n){t.updateQueue=e.updateQueue,(t.mode&Qa)!==ve?t.flags&=-50333701:t.flags&=-2053,e.lanes=js(e.lanes,n)}function Vg(){if(ee.current=Qc,Ac){for(var e=We.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ac=!1}Wi=B,We=null,Lt=null,zt=null,pa=null,ii=-1,V=null,Kg=!1,Uu=!1,ku=0}function er(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?We.memoizedState=zt=e:zt=zt.next=e,zt}function va(){var e;if(Lt===null){var t=We.alternate;t!==null?e=t.memoizedState:e=null}else e=Lt.next;var n;if(zt===null?n=We.memoizedState:n=zt.next,n!==null)zt=n,n=zt.next,Lt=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Lt=e;var a={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null};zt===null?We.memoizedState=zt=a:zt=zt.next=a}return zt}function Hg(){return{lastEffect:null,stores:null}}function nv(e,t){return typeof t=="function"?t(e):t}function av(e,t,n){var a=er(),r;n!==void 0?r=n(t):r=t,a.memoizedState=a.baseState=r;var i={pending:null,interleaved:null,lanes:B,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=i;var l=i.dispatch=YN.bind(null,We,i);return[a.memoizedState,l]}function rv(e,t,n){var a=va(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=Lt,l=i.baseQueue,o=r.pending;if(o!==null){if(l!==null){var u=l.next,p=o.next;l.next=p,o.next=u}i.baseQueue!==l&&f("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=o,r.pending=null}if(l!==null){var v=l.next,C=i.baseState,E=null,D=null,O=null,M=v;do{var K=M.lane;if(_l(Wi,K)){if(O!==null){var le={lane:Wt,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};O=O.next=le}if(M.hasEagerState)C=M.eagerState;else{var Ve=M.action;C=e(C,Ve)}}else{var fe={lane:K,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};O===null?(D=O=fe,E=C):O=O.next=fe,We.lanes=_e(We.lanes,K),Ju(K)}M=M.next}while(M!==null&&M!==v);O===null?E=C:O.next=D,ea(C,a.memoizedState)||Fu(),a.memoizedState=C,a.baseState=E,a.baseQueue=O,r.lastRenderedState=C}var Oe=r.interleaved;if(Oe!==null){var x=Oe;do{var A=x.lane;We.lanes=_e(We.lanes,A),Ju(A),x=x.next}while(x!==Oe)}else l===null&&(r.lanes=B);var T=r.dispatch;return[a.memoizedState,T]}function iv(e,t,n){var a=va(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=r.dispatch,l=r.pending,o=a.memoizedState;if(l!==null){r.pending=null;var u=l.next,p=u;do{var v=p.action;o=e(o,v),p=p.next}while(p!==u);ea(o,a.memoizedState)||Fu(),a.memoizedState=o,a.baseQueue===null&&(a.baseState=o),r.lastRenderedState=o}return[o,i]}function rL(e,t,n){}function iL(e,t,n){}function lv(e,t,n){var a=We,r=er(),i,l=an();if(l){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=n(),Gl||i!==n()&&(f("The result of getServerSnapshot should be cached to avoid an infinite loop"),Gl=!0)}else{if(i=t(),!Gl){var o=t();ea(i,o)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),Gl=!0)}var u=mf();if(u===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");As(u,Wi)||Fg(a,t,i)}r.memoizedState=i;var p={value:i,getSnapshot:t};return r.queue=p,Bc($g.bind(null,a,p,e),[e]),a.flags|=Pr,Ou(kt|rn,Bg.bind(null,a,p,i,t),void 0,null),i}function jc(e,t,n){var a=We,r=va(),i=t();if(!Gl){var l=t();ea(i,l)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),Gl=!0)}var o=r.memoizedState,u=!ea(o,i);u&&(r.memoizedState=i,Fu());var p=r.queue;if(zu($g.bind(null,a,p,e),[e]),p.getSnapshot!==t||u||zt!==null&&zt.memoizedState.tag&kt){a.flags|=Pr,Ou(kt|rn,Bg.bind(null,a,p,i,t),void 0,null);var v=mf();if(v===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");As(v,Wi)||Fg(a,t,i)}return i}function Fg(e,t,n){e.flags|=nd;var a={getSnapshot:t,value:n},r=We.updateQueue;if(r===null)r=Hg(),We.updateQueue=r,r.stores=[a];else{var i=r.stores;i===null?r.stores=[a]:i.push(a)}}function Bg(e,t,n,a){t.value=n,t.getSnapshot=a,Pg(t)&&Yg(e)}function $g(e,t,n){var a=function(){Pg(t)&&Yg(e)};return n(a)}function Pg(e){var t=e.getSnapshot,n=e.value;try{var a=t();return!ea(n,a)}catch{return!0}}function Yg(e){var t=Bn(e,be);t!==null&&Vt(t,e,be,et)}function Vc(e){var t=er();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:B,dispatch:null,lastRenderedReducer:nv,lastRenderedState:e};t.queue=n;var a=n.dispatch=IN.bind(null,We,n);return[t.memoizedState,a]}function ov(e){return rv(nv)}function uv(e){return iv(nv)}function Ou(e,t,n,a){var r={tag:e,create:t,destroy:n,deps:a,next:null},i=We.updateQueue;if(i===null)i=Hg(),We.updateQueue=i,i.lastEffect=r.next=r;else{var l=i.lastEffect;if(l===null)i.lastEffect=r.next=r;else{var o=l.next;l.next=r,r.next=o,i.lastEffect=r}}return r}function sv(e){var t=er();{var n={current:e};return t.memoizedState=n,n}}function Hc(e){var t=va();return t.memoizedState}function Lu(e,t,n,a){var r=er(),i=a===void 0?null:a;We.flags|=e,r.memoizedState=Ou(kt|t,n,void 0,i)}function Fc(e,t,n,a){var r=va(),i=a===void 0?null:a,l=void 0;if(Lt!==null){var o=Lt.memoizedState;if(l=o.destroy,i!==null){var u=o.deps;if(tv(i,u)){r.memoizedState=Ou(t,n,l,i);return}}}We.flags|=e,r.memoizedState=Ou(kt|t,n,l,i)}function Bc(e,t){return(We.mode&Qa)!==ve?Lu(ld|Pr|id,rn,e,t):Lu(Pr|id,rn,e,t)}function zu(e,t){return Fc(Pr,rn,e,t)}function cv(e,t){return Lu($e,Za,e,t)}function $c(e,t){return Fc($e,Za,e,t)}function fv(e,t){var n=$e;return n|=ki,(We.mode&Qa)!==ve&&(n|=Yr),Lu(n,Ot,e,t)}function Pc(e,t){return Fc($e,Ot,e,t)}function Ig(e,t){if(typeof t=="function"){var n=t,a=e();return n(a),function(){n(null)}}else if(t!=null){var r=t;r.hasOwnProperty("current")||f("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(r).join(", ")+"}");var i=e();return r.current=i,function(){r.current=null}}}function dv(e,t,n){typeof t!="function"&&f("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=n!=null?n.concat([e]):null,r=$e;return r|=ki,(We.mode&Qa)!==ve&&(r|=Yr),Lu(r,Ot,Ig.bind(null,t,e),a)}function Yc(e,t,n){typeof t!="function"&&f("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=n!=null?n.concat([e]):null;return Fc($e,Ot,Ig.bind(null,t,e),a)}function BN(e,t){}var Ic=BN;function pv(e,t){var n=er(),a=t===void 0?null:t;return n.memoizedState=[e,a],e}function qc(e,t){var n=va(),a=t===void 0?null:t,r=n.memoizedState;if(r!==null&&a!==null){var i=r[1];if(tv(a,i))return r[0]}return n.memoizedState=[e,a],e}function vv(e,t){var n=er(),a=t===void 0?null:t,r=e();return n.memoizedState=[r,a],r}function Gc(e,t){var n=va(),a=t===void 0?null:t,r=n.memoizedState;if(r!==null&&a!==null){var i=r[1];if(tv(a,i))return r[0]}var l=e();return n.memoizedState=[l,a],l}function mv(e){var t=er();return t.memoizedState=e,e}function qg(e){var t=va(),n=Lt,a=n.memoizedState;return Wg(t,a,e)}function Gg(e){var t=va();if(Lt===null)return t.memoizedState=e,e;var n=Lt.memoizedState;return Wg(t,n,e)}function Wg(e,t,n){var a=!_R(Wi);if(a){if(!ea(n,t)){var r=Yh();We.lanes=_e(We.lanes,r),Ju(r),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Fu()),e.memoizedState=n,n}function $N(e,t,n){var a=wa();Qt(MR(a,Rr)),e(!0);var r=Du.transition;Du.transition={};var i=Du.transition;Du.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Qt(a),Du.transition=r,r===null&&i._updatedFibers){var l=i._updatedFibers.size;l>10&&S("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."),i._updatedFibers.clear()}}}function hv(){var e=Vc(!1),t=e[0],n=e[1],a=$N.bind(null,n),r=er();return r.memoizedState=a,[t,a]}function Qg(){var e=ov(),t=e[0],n=va(),a=n.memoizedState;return[t,a]}function Xg(){var e=uv(),t=e[0],n=va(),a=n.memoizedState;return[t,a]}var Kg=!1;function PN(){return Kg}function yv(){var e=er(),t=mf(),n=t.identifierPrefix,a;if(an()){var r=lN();a=":"+n+"R"+r;var i=ku++;i>0&&(a+="H"+i.toString(32)),a+=":"}else{var l=VN++;a=":"+n+"r"+l.toString(32)+":"}return e.memoizedState=a,a}function Wc(){var e=va(),t=e.memoizedState;return t}function YN(e,t,n){typeof arguments[3]=="function"&&f("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=ci(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jg(e))Zg(t,r);else{var i=Ng(e,t,r,a);if(i!==null){var l=Ln();Vt(i,e,a,l),eb(i,t,a)}}tb(e,a)}function IN(e,t,n){typeof arguments[3]=="function"&&f("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=ci(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jg(e))Zg(t,r);else{var i=e.alternate;if(e.lanes===B&&(i===null||i.lanes===B)){var l=t.lastRenderedReducer;if(l!==null){var o;o=ee.current,ee.current=La;try{var u=t.lastRenderedState,p=l(u,n);if(r.hasEagerState=!0,r.eagerState=p,ea(p,u)){DN(e,t,r,a);return}}catch{}finally{ee.current=o}}}var v=Ng(e,t,r,a);if(v!==null){var C=Ln();Vt(v,e,a,C),eb(v,t,a)}}tb(e,a)}function Jg(e){var t=e.alternate;return e===We||t!==null&&t===We}function Zg(e,t){Uu=Ac=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function eb(e,t,n){if(Ph(n)){var a=t.lanes;a=Ih(a,e.pendingLanes);var r=_e(a,n);t.lanes=r,Ad(e,r)}}function tb(e,t,n){fd(e,t)}var Qc={readContext:_t,useCallback:bn,useContext:bn,useEffect:bn,useImperativeHandle:bn,useInsertionEffect:bn,useLayoutEffect:bn,useMemo:bn,useReducer:bn,useRef:bn,useState:bn,useDebugValue:bn,useDeferredValue:bn,useTransition:bn,useMutableSource:bn,useSyncExternalStore:bn,useId:bn,unstable_isNewReconciler:dn},nb=null,ab=null,rb=null,ib=null,tr=null,La=null,Xc=null;{var gv=function(){f("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Se=function(){f("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};nb={readContext:function(e){return _t(e)},useCallback:function(e,t){return V="useCallback",Ye(),Wl(t),pv(e,t)},useContext:function(e){return V="useContext",Ye(),_t(e)},useEffect:function(e,t){return V="useEffect",Ye(),Wl(t),Bc(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",Ye(),Wl(n),dv(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",Ye(),Wl(t),cv(e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",Ye(),Wl(t),fv(e,t)},useMemo:function(e,t){V="useMemo",Ye(),Wl(t);var n=ee.current;ee.current=tr;try{return vv(e,t)}finally{ee.current=n}},useReducer:function(e,t,n){V="useReducer",Ye();var a=ee.current;ee.current=tr;try{return av(e,t,n)}finally{ee.current=a}},useRef:function(e){return V="useRef",Ye(),sv(e)},useState:function(e){V="useState",Ye();var t=ee.current;ee.current=tr;try{return Vc(e)}finally{ee.current=t}},useDebugValue:function(e,t){return V="useDebugValue",Ye(),void 0},useDeferredValue:function(e){return V="useDeferredValue",Ye(),mv(e)},useTransition:function(){return V="useTransition",Ye(),hv()},useMutableSource:function(e,t,n){return V="useMutableSource",Ye(),void 0},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",Ye(),lv(e,t,n)},useId:function(){return V="useId",Ye(),yv()},unstable_isNewReconciler:dn},ab={readContext:function(e){return _t(e)},useCallback:function(e,t){return V="useCallback",W(),pv(e,t)},useContext:function(e){return V="useContext",W(),_t(e)},useEffect:function(e,t){return V="useEffect",W(),Bc(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",W(),dv(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",W(),cv(e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",W(),fv(e,t)},useMemo:function(e,t){V="useMemo",W();var n=ee.current;ee.current=tr;try{return vv(e,t)}finally{ee.current=n}},useReducer:function(e,t,n){V="useReducer",W();var a=ee.current;ee.current=tr;try{return av(e,t,n)}finally{ee.current=a}},useRef:function(e){return V="useRef",W(),sv(e)},useState:function(e){V="useState",W();var t=ee.current;ee.current=tr;try{return Vc(e)}finally{ee.current=t}},useDebugValue:function(e,t){return V="useDebugValue",W(),void 0},useDeferredValue:function(e){return V="useDeferredValue",W(),mv(e)},useTransition:function(){return V="useTransition",W(),hv()},useMutableSource:function(e,t,n){return V="useMutableSource",W(),void 0},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",W(),lv(e,t,n)},useId:function(){return V="useId",W(),yv()},unstable_isNewReconciler:dn},rb={readContext:function(e){return _t(e)},useCallback:function(e,t){return V="useCallback",W(),qc(e,t)},useContext:function(e){return V="useContext",W(),_t(e)},useEffect:function(e,t){return V="useEffect",W(),zu(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",W(),Yc(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",W(),$c(e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",W(),Pc(e,t)},useMemo:function(e,t){V="useMemo",W();var n=ee.current;ee.current=La;try{return Gc(e,t)}finally{ee.current=n}},useReducer:function(e,t,n){V="useReducer",W();var a=ee.current;ee.current=La;try{return rv(e,t,n)}finally{ee.current=a}},useRef:function(e){return V="useRef",W(),Hc()},useState:function(e){V="useState",W();var t=ee.current;ee.current=La;try{return ov(e)}finally{ee.current=t}},useDebugValue:function(e,t){return V="useDebugValue",W(),Ic()},useDeferredValue:function(e){return V="useDeferredValue",W(),qg(e)},useTransition:function(){return V="useTransition",W(),Qg()},useMutableSource:function(e,t,n){return V="useMutableSource",W(),void 0},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",W(),jc(e,t)},useId:function(){return V="useId",W(),Wc()},unstable_isNewReconciler:dn},ib={readContext:function(e){return _t(e)},useCallback:function(e,t){return V="useCallback",W(),qc(e,t)},useContext:function(e){return V="useContext",W(),_t(e)},useEffect:function(e,t){return V="useEffect",W(),zu(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",W(),Yc(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",W(),$c(e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",W(),Pc(e,t)},useMemo:function(e,t){V="useMemo",W();var n=ee.current;ee.current=Xc;try{return Gc(e,t)}finally{ee.current=n}},useReducer:function(e,t,n){V="useReducer",W();var a=ee.current;ee.current=Xc;try{return iv(e,t,n)}finally{ee.current=a}},useRef:function(e){return V="useRef",W(),Hc()},useState:function(e){V="useState",W();var t=ee.current;ee.current=Xc;try{return uv(e)}finally{ee.current=t}},useDebugValue:function(e,t){return V="useDebugValue",W(),Ic()},useDeferredValue:function(e){return V="useDeferredValue",W(),Gg(e)},useTransition:function(){return V="useTransition",W(),Xg()},useMutableSource:function(e,t,n){return V="useMutableSource",W(),void 0},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",W(),jc(e,t)},useId:function(){return V="useId",W(),Wc()},unstable_isNewReconciler:dn},tr={readContext:function(e){return gv(),_t(e)},useCallback:function(e,t){return V="useCallback",Se(),Ye(),pv(e,t)},useContext:function(e){return V="useContext",Se(),Ye(),_t(e)},useEffect:function(e,t){return V="useEffect",Se(),Ye(),Bc(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",Se(),Ye(),dv(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",Se(),Ye(),cv(e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",Se(),Ye(),fv(e,t)},useMemo:function(e,t){V="useMemo",Se(),Ye();var n=ee.current;ee.current=tr;try{return vv(e,t)}finally{ee.current=n}},useReducer:function(e,t,n){V="useReducer",Se(),Ye();var a=ee.current;ee.current=tr;try{return av(e,t,n)}finally{ee.current=a}},useRef:function(e){return V="useRef",Se(),Ye(),sv(e)},useState:function(e){V="useState",Se(),Ye();var t=ee.current;ee.current=tr;try{return Vc(e)}finally{ee.current=t}},useDebugValue:function(e,t){return V="useDebugValue",Se(),Ye(),void 0},useDeferredValue:function(e){return V="useDeferredValue",Se(),Ye(),mv(e)},useTransition:function(){return V="useTransition",Se(),Ye(),hv()},useMutableSource:function(e,t,n){return V="useMutableSource",Se(),Ye(),void 0},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",Se(),Ye(),lv(e,t,n)},useId:function(){return V="useId",Se(),Ye(),yv()},unstable_isNewReconciler:dn},La={readContext:function(e){return gv(),_t(e)},useCallback:function(e,t){return V="useCallback",Se(),W(),qc(e,t)},useContext:function(e){return V="useContext",Se(),W(),_t(e)},useEffect:function(e,t){return V="useEffect",Se(),W(),zu(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",Se(),W(),Yc(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",Se(),W(),$c(e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",Se(),W(),Pc(e,t)},useMemo:function(e,t){V="useMemo",Se(),W();var n=ee.current;ee.current=La;try{return Gc(e,t)}finally{ee.current=n}},useReducer:function(e,t,n){V="useReducer",Se(),W();var a=ee.current;ee.current=La;try{return rv(e,t,n)}finally{ee.current=a}},useRef:function(e){return V="useRef",Se(),W(),Hc()},useState:function(e){V="useState",Se(),W();var t=ee.current;ee.current=La;try{return ov(e)}finally{ee.current=t}},useDebugValue:function(e,t){return V="useDebugValue",Se(),W(),Ic()},useDeferredValue:function(e){return V="useDeferredValue",Se(),W(),qg(e)},useTransition:function(){return V="useTransition",Se(),W(),Qg()},useMutableSource:function(e,t,n){return V="useMutableSource",Se(),W(),void 0},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",Se(),W(),jc(e,t)},useId:function(){return V="useId",Se(),W(),Wc()},unstable_isNewReconciler:dn},Xc={readContext:function(e){return gv(),_t(e)},useCallback:function(e,t){return V="useCallback",Se(),W(),qc(e,t)},useContext:function(e){return V="useContext",Se(),W(),_t(e)},useEffect:function(e,t){return V="useEffect",Se(),W(),zu(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",Se(),W(),Yc(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",Se(),W(),$c(e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",Se(),W(),Pc(e,t)},useMemo:function(e,t){V="useMemo",Se(),W();var n=ee.current;ee.current=La;try{return Gc(e,t)}finally{ee.current=n}},useReducer:function(e,t,n){V="useReducer",Se(),W();var a=ee.current;ee.current=La;try{return iv(e,t,n)}finally{ee.current=a}},useRef:function(e){return V="useRef",Se(),W(),Hc()},useState:function(e){V="useState",Se(),W();var t=ee.current;ee.current=La;try{return uv(e)}finally{ee.current=t}},useDebugValue:function(e,t){return V="useDebugValue",Se(),W(),Ic()},useDeferredValue:function(e){return V="useDeferredValue",Se(),W(),Gg(e)},useTransition:function(){return V="useTransition",Se(),W(),Xg()},useMutableSource:function(e,t,n){return V="useMutableSource",Se(),W(),void 0},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",Se(),W(),jc(e,t)},useId:function(){return V="useId",Se(),W(),Wc()},unstable_isNewReconciler:dn}}var li=d.unstable_now,lb=0,Kc=-1,Mu=-1,Jc=-1,bv=!1,Zc=!1;function ob(){return bv}function qN(){Zc=!0}function GN(){bv=!1,Zc=!1}function WN(){bv=Zc,Zc=!1}function ub(){return lb}function sb(){lb=li()}function Sv(e){Mu=li(),e.actualStartTime<0&&(e.actualStartTime=li())}function cb(e){Mu=-1}function ef(e,t){if(Mu>=0){var n=li()-Mu;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Mu=-1}}function nr(e){if(Kc>=0){var t=li()-Kc;Kc=-1;for(var n=e.return;n!==null;){switch(n.tag){case U:var a=n.stateNode;a.effectDuration+=t;return;case oe:var r=n.stateNode;r.effectDuration+=t;return}n=n.return}}}function Ev(e){if(Jc>=0){var t=li()-Jc;Jc=-1;for(var n=e.return;n!==null;){switch(n.tag){case U:var a=n.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case oe:var r=n.stateNode;r!==null&&(r.passiveEffectDuration+=t);return}n=n.return}}}function ar(){Kc=li()}function Cv(){Jc=li()}function Rv(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function za(e,t){if(e&&e.defaultProps){var n=De({},t),a=e.defaultProps;for(var r in a)n[r]===void 0&&(n[r]=a[r]);return n}return t}var xv={},Tv,_v,Nv,wv,Dv,fb,tf,Uv,kv,Ov,Au;{Tv=new Set,_v=new Set,Nv=new Set,wv=new Set,Uv=new Set,Dv=new Set,kv=new Set,Ov=new Set,Au=new Set;var db=new Set;tf=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;db.has(n)||(db.add(n),f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},fb=function(e,t){if(t===void 0){var n=Be(e)||"Component";Dv.has(n)||(Dv.add(n),f("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(xv,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(xv)}function Lv(e,t,n,a){var r=e.memoizedState,i=n(a,r);{if(e.mode>){Gt(!0);try{i=n(a,r)}finally{Gt(!1)}}fb(t,i)}var l=i==null?r:De({},r,i);if(e.memoizedState=l,e.lanes===B){var o=e.updateQueue;o.baseState=l}}var zv={isMounted:HC,enqueueSetState:function(e,t,n){var a=yl(e),r=Ln(),i=ci(a),l=Ur(r,i);l.payload=t,n!=null&&(tf(n,"setState"),l.callback=n);var o=ni(a,l,i);o!==null&&(Vt(o,a,i,r),Uc(o,a,i)),fd(a,i)},enqueueReplaceState:function(e,t,n){var a=yl(e),r=Ln(),i=ci(a),l=Ur(r,i);l.tag=Dg,l.payload=t,n!=null&&(tf(n,"replaceState"),l.callback=n);var o=ni(a,l,i);o!==null&&(Vt(o,a,i,r),Uc(o,a,i)),fd(a,i)},enqueueForceUpdate:function(e,t){var n=yl(e),a=Ln(),r=ci(n),i=Ur(a,r);i.tag=Nc,t!=null&&(tf(t,"forceUpdate"),i.callback=t);var l=ni(n,i,r);l!==null&&(Vt(l,n,r,a),Uc(l,n,r)),hR(n,r)}};function pb(e,t,n,a,r,i,l){var o=e.stateNode;if(typeof o.shouldComponentUpdate=="function"){var u=o.shouldComponentUpdate(a,i,l);{if(e.mode>){Gt(!0);try{u=o.shouldComponentUpdate(a,i,l)}finally{Gt(!1)}}u===void 0&&f("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Be(t)||"Component")}return u}return t.prototype&&t.prototype.isPureReactComponent?!ru(n,a)||!ru(r,i):!0}function QN(e,t,n){var a=e.stateNode;{var r=Be(t)||"Component",i=a.render;i||(t.prototype&&typeof t.prototype.render=="function"?f("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",r):f("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",r)),a.getInitialState&&!a.getInitialState.isReactClassApproved&&!a.state&&f("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",r),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&f("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",r),a.propTypes&&f("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",r),a.contextType&&f("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",r),t.childContextTypes&&!Au.has(t)&&(e.mode>)===ve&&(Au.add(t),f(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
- .Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),t.contextTypes&&!Au.has(t)&&(e.mode>)===ve&&(Au.add(t),f(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),a.contextTypes&&f("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",r),t.contextType&&t.contextTypes&&!kv.has(t)&&(kv.add(t),f("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),typeof a.componentShouldUpdate=="function"&&f("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",r),t.prototype&&t.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&f("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Be(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&f("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),typeof a.componentDidReceiveProps=="function"&&f("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",r),typeof a.componentWillRecieveProps=="function"&&f("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),typeof a.UNSAFE_componentWillRecieveProps=="function"&&f("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var l=a.props!==n;a.props!==void 0&&l&&f("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",r,r),a.defaultProps&&f("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",r,r),typeof a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!Nv.has(t)&&(Nv.add(t),f("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Be(t))),typeof a.getDerivedStateFromProps=="function"&&f("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof a.getDerivedStateFromError=="function"&&f("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof t.getSnapshotBeforeUpdate=="function"&&f("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r);var o=a.state;o&&(typeof o!="object"||ke(o))&&f("%s.state: must be set to an object or null",r),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&f("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}}function vb(e,t){t.updater=zv,e.stateNode=t,MC(t,e),t._reactInternalInstance=xv}function mb(e,t,n){var a=!1,r=ta,i=ta,l=t.contextType;if("contextType"in t){var o=l===null||l!==void 0&&l.$$typeof===X&&l._context===void 0;if(!o&&!Ov.has(t)){Ov.add(t);var u="";l===void 0?u=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof l!="object"?u=" However, it is set to a "+typeof l+".":l.$$typeof===$?u=" Did you accidentally pass the Context.Provider instead?":l._context!==void 0?u=" Did you accidentally pass the Context.Consumer instead?":u=" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",f("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Be(t)||"Component",u)}}if(typeof l=="object"&&l!==null)i=_t(l);else{r=Al(e,t,!0);var p=t.contextTypes;a=p!=null,i=a?jl(e,r):ta}var v=new t(n,i);if(e.mode>){Gt(!0);try{v=new t(n,i)}finally{Gt(!1)}}var C=e.memoizedState=v.state!==null&&v.state!==void 0?v.state:null;vb(e,v);{if(typeof t.getDerivedStateFromProps=="function"&&C===null){var E=Be(t)||"Component";_v.has(E)||(_v.add(E),f("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",E,v.state===null?"null":"undefined",E))}if(typeof t.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"){var D=null,O=null,M=null;if(typeof v.componentWillMount=="function"&&v.componentWillMount.__suppressDeprecationWarning!==!0?D="componentWillMount":typeof v.UNSAFE_componentWillMount=="function"&&(D="UNSAFE_componentWillMount"),typeof v.componentWillReceiveProps=="function"&&v.componentWillReceiveProps.__suppressDeprecationWarning!==!0?O="componentWillReceiveProps":typeof v.UNSAFE_componentWillReceiveProps=="function"&&(O="UNSAFE_componentWillReceiveProps"),typeof v.componentWillUpdate=="function"&&v.componentWillUpdate.__suppressDeprecationWarning!==!0?M="componentWillUpdate":typeof v.UNSAFE_componentWillUpdate=="function"&&(M="UNSAFE_componentWillUpdate"),D!==null||O!==null||M!==null){var K=Be(t)||"Component",fe=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";wv.has(K)||(wv.add(K),f(`Unsafe legacy lifecycles will not be called for components using new component APIs.
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
- The above lifecycles should be removed. Learn more about this warning here:
- https://reactjs.org/link/unsafe-component-lifecycles`,K,fe,D!==null?`
- `+D:"",O!==null?`
- `+O:"",M!==null?`
- `+M:""))}}}return a&&rg(e,r,i),v}function XN(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(f("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Re(e)||"Component"),zv.enqueueReplaceState(t,t.state,null))}function hb(e,t,n,a){var r=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==r){{var i=Re(e)||"Component";Tv.has(i)||(Tv.add(i),f("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i))}zv.enqueueReplaceState(t,t.state,null)}}function Mv(e,t,n,a){QN(e,t,n);var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},Yp(e);var i=t.contextType;if(typeof i=="object"&&i!==null)r.context=_t(i);else{var l=Al(e,t,!0);r.context=jl(e,l)}{if(r.state===n){var o=Be(t)||"Component";Uv.has(o)||(Uv.add(o),f("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",o))}e.mode>&&ka.recordLegacyContextWarning(e,r),ka.recordUnsafeLifecycleWarnings(e,r)}r.state=e.memoizedState;var u=t.getDerivedStateFromProps;if(typeof u=="function"&&(Lv(e,t,u,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof r.getSnapshotBeforeUpdate!="function"&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(XN(e,r),kc(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"){var p=$e;p|=ki,(e.mode&Qa)!==ve&&(p|=Yr),e.flags|=p}}function KN(e,t,n,a){var r=e.stateNode,i=e.memoizedProps;r.props=i;var l=r.context,o=t.contextType,u=ta;if(typeof o=="object"&&o!==null)u=_t(o);else{var p=Al(e,t,!0);u=jl(e,p)}var v=t.getDerivedStateFromProps,C=typeof v=="function"||typeof r.getSnapshotBeforeUpdate=="function";!C&&(typeof r.UNSAFE_componentWillReceiveProps=="function"||typeof r.componentWillReceiveProps=="function")&&(i!==n||l!==u)&&hb(e,r,n,u),kg();var E=e.memoizedState,D=r.state=E;if(kc(e,n,r,a),D=e.memoizedState,i===n&&E===D&&!dc()&&!Oc()){if(typeof r.componentDidMount=="function"){var O=$e;O|=ki,(e.mode&Qa)!==ve&&(O|=Yr),e.flags|=O}return!1}typeof v=="function"&&(Lv(e,t,v,n),D=e.memoizedState);var M=Oc()||pb(e,t,i,n,E,D,u);if(M){if(!C&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"){var K=$e;K|=ki,(e.mode&Qa)!==ve&&(K|=Yr),e.flags|=K}}else{if(typeof r.componentDidMount=="function"){var fe=$e;fe|=ki,(e.mode&Qa)!==ve&&(fe|=Yr),e.flags|=fe}e.memoizedProps=n,e.memoizedState=D}return r.props=n,r.state=D,r.context=u,M}function JN(e,t,n,a,r){var i=t.stateNode;Ug(e,t);var l=t.memoizedProps,o=t.type===t.elementType?l:za(t.type,l);i.props=o;var u=t.pendingProps,p=i.context,v=n.contextType,C=ta;if(typeof v=="object"&&v!==null)C=_t(v);else{var E=Al(t,n,!0);C=jl(t,E)}var D=n.getDerivedStateFromProps,O=typeof D=="function"||typeof i.getSnapshotBeforeUpdate=="function";!O&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(l!==u||p!==C)&&hb(t,i,a,C),kg();var M=t.memoizedState,K=i.state=M;if(kc(t,a,i,r),K=t.memoizedState,l===u&&M===K&&!dc()&&!Oc()&&!ga)return typeof i.componentDidUpdate=="function"&&(l!==e.memoizedProps||M!==e.memoizedState)&&(t.flags|=$e),typeof i.getSnapshotBeforeUpdate=="function"&&(l!==e.memoizedProps||M!==e.memoizedState)&&(t.flags|=bl),!1;typeof D=="function"&&(Lv(t,n,D,a),K=t.memoizedState);var fe=Oc()||pb(t,n,o,a,M,K,C)||ga;return fe?(!O&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,K,C),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,K,C)),typeof i.componentDidUpdate=="function"&&(t.flags|=$e),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=bl)):(typeof i.componentDidUpdate=="function"&&(l!==e.memoizedProps||M!==e.memoizedState)&&(t.flags|=$e),typeof i.getSnapshotBeforeUpdate=="function"&&(l!==e.memoizedProps||M!==e.memoizedState)&&(t.flags|=bl),t.memoizedProps=a,t.memoizedState=K),i.props=a,i.state=K,i.context=C,fe}function Qi(e,t){return{value:e,source:t,stack:Ri(t),digest:null}}function Av(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ZN(e,t){return!0}function jv(e,t){try{var n=ZN(e,t);if(n===!1)return;var a=t.value,r=t.source,i=t.stack,l=i!==null?i:"";if(a!=null&&a._suppressLogging){if(e.tag===_)return;console.error(a)}var o=r?Re(r):null,u=o?"The above error occurred in the <"+o+"> component:":"The above error occurred in one of your React components:",p;if(e.tag===U)p=`Consider adding an error boundary to your tree to customize error handling behavior.
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var v=Re(e)||"Anonymous";p="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+v+".")}var C=u+`
- `+l+`
- `+(""+p);console.error(C)}catch(E){setTimeout(function(){throw E})}}var ew=typeof WeakMap=="function"?WeakMap:Map;function yb(e,t,n){var a=Ur(et,n);a.tag=$p,a.payload={element:null};var r=t.value;return a.callback=function(){qD(r),jv(e,t)},a}function Vv(e,t,n){var a=Ur(et,n);a.tag=$p;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;a.payload=function(){return r(i)},a.callback=function(){wS(e),jv(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(a.callback=function(){wS(e),jv(e,t),typeof r!="function"&&YD(this);var u=t.value,p=t.stack;this.componentDidCatch(u,{componentStack:p!==null?p:""}),typeof r!="function"&&(Kn(e.lanes,be)||f("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Re(e)||"Unknown"))}),a}function gb(e,t,n){var a=e.pingCache,r;if(a===null?(a=e.pingCache=new ew,r=new Set,a.set(t,r)):(r=a.get(t),r===void 0&&(r=new Set,a.set(t,r))),!r.has(n)){r.add(n);var i=GD.bind(null,e,t,n);Na&&Zu(e,n),t.then(i,i)}}function tw(e,t,n,a){var r=e.updateQueue;if(r===null){var i=new Set;i.add(n),e.updateQueue=i}else r.add(n)}function nw(e,t){var n=e.tag;if((e.mode&Ae)===ve&&(n===R||n===I||n===Ue)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function bb(e){var t=e;do{if(t.tag===ie&&AN(t))return t;t=t.return}while(t!==null);return null}function Sb(e,t,n,a,r){if((e.mode&Ae)===ve){if(e===t)e.flags|=Un;else{if(e.flags|=Pe,n.flags|=ad,n.flags&=-52805,n.tag===_){var i=n.alternate;if(i===null)n.tag=nt;else{var l=Ur(et,be);l.tag=Nc,ni(n,l,be)}}n.lanes=_e(n.lanes,be)}return e}return e.flags|=Un,e.lanes=r,e}function aw(e,t,n,a,r){if(n.flags|=Us,Na&&Zu(e,r),a!==null&&typeof a=="object"&&typeof a.then=="function"){var i=a;nw(n),an()&&n.mode&Ae&&fg();var l=bb(t);if(l!==null){l.flags&=~br,Sb(l,t,n,e,r),l.mode&Ae&&gb(e,i,r),tw(l,e,i);return}else{if(!TR(r)){gb(e,i,r),ym();return}var o=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");a=o}}else if(an()&&n.mode&Ae){fg();var u=bb(t);if(u!==null){(u.flags&Un)===he&&(u.flags|=br),Sb(u,t,n,e,r),Up(Qi(a,n));return}}a=Qi(a,n),AD(a);var p=t;do{switch(p.tag){case U:{var v=a;p.flags|=Un;var C=Po(r);p.lanes=_e(p.lanes,C);var E=yb(p,v,C);Ip(p,E);return}case _:var D=a,O=p.type,M=p.stateNode;if((p.flags&Pe)===he&&(typeof O.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&!bS(M))){p.flags|=Un;var K=Po(r);p.lanes=_e(p.lanes,K);var fe=Vv(p,D,K);Ip(p,fe);return}break}p=p.return}while(p!==null)}function rw(){return null}var ju=m.ReactCurrentOwner,Ma=!1,Hv,Vu,Fv,Bv,$v,Xi,Pv,nf,Hu;Hv={},Vu={},Fv={},Bv={},$v={},Xi=!1,Pv={},nf={},Hu={};function kn(e,t,n,a){e===null?t.child=Rg(t,null,n,a):t.child=Bl(t,e.child,n,a)}function iw(e,t,n,a){t.child=Bl(t,e.child,null,a),t.child=Bl(t,null,n,a)}function Eb(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Da(i,a,"prop",Be(n))}var l=n.render,o=t.ref,u,p;Pl(t,r),jo(t);{if(ju.current=t,sa(!0),u=Ql(e,t,l,a,o,r),p=Xl(),t.mode>){Gt(!0);try{u=Ql(e,t,l,a,o,r),p=Xl()}finally{Gt(!1)}}sa(!1)}return Cl(),e!==null&&!Ma?(jg(e,t,r),kr(e,t,r)):(an()&&p&&xp(t),t.flags|=gl,kn(e,t,u,r),t.child)}function Cb(e,t,n,a,r){if(e===null){var i=n.type;if(c0(i)&&n.compare===null&&n.defaultProps===void 0){var l=i;return l=ro(i),t.tag=Ue,t.type=l,qv(t,i),Rb(e,t,l,a,r)}{var o=i.propTypes;if(o&&Da(o,a,"prop",Be(i)),n.defaultProps!==void 0){var u=Be(i)||"Unknown";Hu[u]||(f("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Hu[u]=!0)}}var p=wm(n.type,null,a,t,t.mode,r);return p.ref=t.ref,p.return=t,t.child=p,p}{var v=n.type,C=v.propTypes;C&&Da(C,a,"prop",Be(v))}var E=e.child,D=Jv(e,r);if(!D){var O=E.memoizedProps,M=n.compare;if(M=M!==null?M:ru,M(O,a)&&e.ref===t.ref)return kr(e,t,r)}t.flags|=gl;var K=tl(E,a);return K.ref=t.ref,K.return=t,t.child=K,K}function Rb(e,t,n,a,r){if(t.type!==t.elementType){var i=t.elementType;if(i.$$typeof===pe){var l=i,o=l._payload,u=l._init;try{i=u(o)}catch{i=null}var p=i&&i.propTypes;p&&Da(p,a,"prop",Be(i))}}if(e!==null){var v=e.memoizedProps;if(ru(v,a)&&e.ref===t.ref&&t.type===e.type)if(Ma=!1,t.pendingProps=a=v,Jv(e,r))(e.flags&ad)!==he&&(Ma=!0);else return t.lanes=e.lanes,kr(e,t,r)}return Yv(e,t,n,a,r)}function xb(e,t,n){var a=t.pendingProps,r=a.children,i=e!==null?e.memoizedState:null;if(a.mode==="hidden"||Gn)if((t.mode&Ae)===ve){var l={baseLanes:B,cachePool:null,transitions:null};t.memoizedState=l,hf(t,n)}else if(Kn(n,Xn)){var C={baseLanes:B,cachePool:null,transitions:null};t.memoizedState=C;var E=i!==null?i.baseLanes:n;hf(t,E)}else{var o=null,u;if(i!==null){var p=i.baseLanes;u=_e(p,n)}else u=n;t.lanes=t.childLanes=Xn;var v={baseLanes:u,cachePool:o,transitions:null};return t.memoizedState=v,t.updateQueue=null,hf(t,u),null}else{var D;i!==null?(D=_e(i.baseLanes,n),t.memoizedState=null):D=n,hf(t,D)}return kn(e,t,r,n),t.child}function lw(e,t,n){var a=t.pendingProps;return kn(e,t,a,n),t.child}function ow(e,t,n){var a=t.pendingProps.children;return kn(e,t,a,n),t.child}function uw(e,t,n){{t.flags|=$e;{var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0}}var r=t.pendingProps,i=r.children;return kn(e,t,i,n),t.child}function Tb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Di,t.flags|=rd)}function Yv(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Da(i,a,"prop",Be(n))}var l;{var o=Al(t,n,!0);l=jl(t,o)}var u,p;Pl(t,r),jo(t);{if(ju.current=t,sa(!0),u=Ql(e,t,n,a,l,r),p=Xl(),t.mode>){Gt(!0);try{u=Ql(e,t,n,a,l,r),p=Xl()}finally{Gt(!1)}}sa(!1)}return Cl(),e!==null&&!Ma?(jg(e,t,r),kr(e,t,r)):(an()&&p&&xp(t),t.flags|=gl,kn(e,t,u,r),t.child)}function _b(e,t,n,a,r){{switch(T0(t)){case!1:{var i=t.stateNode,l=t.type,o=new l(t.memoizedProps,i.context),u=o.state;i.updater.enqueueSetState(i,u,null);break}case!0:{t.flags|=Pe,t.flags|=Un;var p=new Error("Simulated error coming from DevTools"),v=Po(r);t.lanes=_e(t.lanes,v);var C=Vv(t,Qi(p,t),v);Ip(t,C);break}}if(t.type!==t.elementType){var E=n.propTypes;E&&Da(E,a,"prop",Be(n))}}var D;Ja(n)?(D=!0,vc(t)):D=!1,Pl(t,r);var O=t.stateNode,M;O===null?(rf(e,t),mb(t,n,a),Mv(t,n,a,r),M=!0):e===null?M=KN(t,n,a,r):M=JN(e,t,n,a,r);var K=Iv(e,t,n,M,D,r);{var fe=t.stateNode;M&&fe.props!==a&&(Xi||f("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Re(t)||"a component"),Xi=!0)}return K}function Iv(e,t,n,a,r,i){Tb(e,t);var l=(t.flags&Pe)!==he;if(!a&&!l)return r&&og(t,n,!1),kr(e,t,i);var o=t.stateNode;ju.current=t;var u;if(l&&typeof n.getDerivedStateFromError!="function")u=null,cb();else{jo(t);{if(sa(!0),u=o.render(),t.mode>){Gt(!0);try{o.render()}finally{Gt(!1)}}sa(!1)}Cl()}return t.flags|=gl,e!==null&&l?iw(e,t,u,i):kn(e,t,u,i),t.memoizedState=o.state,r&&og(t,n,!0),t.child}function Nb(e){var t=e.stateNode;t.pendingContext?ig(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ig(e,t.context,!1),qp(e,t.containerInfo)}function sw(e,t,n){if(Nb(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,r=t.memoizedState,i=r.element;Ug(e,t),kc(t,a,null,n);var l=t.memoizedState;t.stateNode;var o=l.element;if(r.isDehydrated){var u={element:o,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},p=t.updateQueue;if(p.baseState=u,t.memoizedState=u,t.flags&br){var v=Qi(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return wb(e,t,o,n,v)}else if(o!==i){var C=Qi(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return wb(e,t,o,n,C)}else{dN(t);var E=Rg(t,null,o,n);t.child=E;for(var D=E;D;)D.flags=D.flags&~Tt|Sr,D=D.sibling}}else{if(Fl(),o===i)return kr(e,t,n);kn(e,t,o,n)}return t.child}function wb(e,t,n,a,r){return Fl(),Up(r),t.flags|=br,kn(e,t,n,a),t.child}function cw(e,t,n){zg(t),e===null&&Dp(t);var a=t.type,r=t.pendingProps,i=e!==null?e.memoizedProps:null,l=r.children,o=cp(a,r);return o?l=null:i!==null&&cp(a,i)&&(t.flags|=Mo),Tb(e,t),kn(e,t,l,n),t.child}function fw(e,t){return e===null&&Dp(t),null}function dw(e,t,n,a){rf(e,t);var r=t.pendingProps,i=n,l=i._payload,o=i._init,u=o(l);t.type=u;var p=t.tag=f0(u),v=za(u,r),C;switch(p){case R:return qv(t,u),t.type=u=ro(u),C=Yv(null,t,u,v,a),C;case _:return t.type=u=Cm(u),C=_b(null,t,u,v,a),C;case I:return t.type=u=Rm(u),C=Eb(null,t,u,v,a),C;case ze:{if(t.type!==t.elementType){var E=u.propTypes;E&&Da(E,v,"prop",Be(u))}return C=Cb(null,t,u,za(u.type,v),a),C}}var D="";throw u!==null&&typeof u=="object"&&u.$$typeof===pe&&(D=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+u+". "+("Lazy element type must resolve to a class or function."+D))}function pw(e,t,n,a,r){rf(e,t),t.tag=_;var i;return Ja(n)?(i=!0,vc(t)):i=!1,Pl(t,r),mb(t,n,a),Mv(t,n,a,r),Iv(null,t,n,!0,i,r)}function vw(e,t,n,a){rf(e,t);var r=t.pendingProps,i;{var l=Al(t,n,!1);i=jl(t,l)}Pl(t,a);var o,u;jo(t);{if(n.prototype&&typeof n.prototype.render=="function"){var p=Be(n)||"Unknown";Hv[p]||(f("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",p,p),Hv[p]=!0)}t.mode>&&ka.recordLegacyContextWarning(t,null),sa(!0),ju.current=t,o=Ql(null,t,n,r,i,a),u=Xl(),sa(!1)}if(Cl(),t.flags|=gl,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0){var v=Be(n)||"Unknown";Vu[v]||(f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",v,v,v),Vu[v]=!0)}if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0){{var C=Be(n)||"Unknown";Vu[C]||(f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",C,C,C),Vu[C]=!0)}t.tag=_,t.memoizedState=null,t.updateQueue=null;var E=!1;return Ja(n)?(E=!0,vc(t)):E=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Yp(t),vb(t,o),Mv(t,n,r,a),Iv(null,t,n,!0,E,a)}else{if(t.tag=R,t.mode>){Gt(!0);try{o=Ql(null,t,n,r,i,a),u=Xl()}finally{Gt(!1)}}return an()&&u&&xp(t),kn(null,t,o,a),qv(t,n),t.child}}function qv(e,t){{if(t&&t.childContextTypes&&f("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",a=Br();a&&(n+=`
- Check the render method of \``+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),$v[r]||($v[r]=!0,f("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var l=Be(t)||"Unknown";Hu[l]||(f("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),Hu[l]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var o=Be(t)||"Unknown";Bv[o]||(f("%s: Function components do not support getDerivedStateFromProps.",o),Bv[o]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var u=Be(t)||"Unknown";Fv[u]||(f("%s: Function components do not support contextType.",u),Fv[u]=!0)}}}var Gv={dehydrated:null,treeContext:null,retryLane:Wt};function Wv(e){return{baseLanes:e,cachePool:rw(),transitions:null}}function mw(e,t){var n=null;return{baseLanes:_e(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function hw(e,t,n,a){if(t!==null){var r=t.memoizedState;if(r===null)return!1}return Qp(e,wu)}function yw(e,t){return js(e.childLanes,t)}function Db(e,t,n){var a=t.pendingProps;_0(t)&&(t.flags|=Pe);var r=Oa.current,i=!1,l=(t.flags&Pe)!==he;if(l||hw(r,e)?(i=!0,t.flags&=~Pe):(e===null||e.memoizedState!==null)&&(r=MN(r,Ag)),r=Il(r),ri(t,r),e===null){Dp(t);var o=t.memoizedState;if(o!==null){var u=o.dehydrated;if(u!==null)return Cw(t,u)}var p=a.children,v=a.fallback;if(i){var C=gw(t,p,v,n),E=t.child;return E.memoizedState=Wv(n),t.memoizedState=Gv,C}else return Qv(t,p)}else{var D=e.memoizedState;if(D!==null){var O=D.dehydrated;if(O!==null)return Rw(e,t,l,a,O,D,n)}if(i){var M=a.fallback,K=a.children,fe=Sw(e,t,K,M,n),le=t.child,Ve=e.child.memoizedState;return le.memoizedState=Ve===null?Wv(n):mw(Ve,n),le.childLanes=yw(e,n),t.memoizedState=Gv,fe}else{var Oe=a.children,x=bw(e,t,Oe,n);return t.memoizedState=null,x}}}function Qv(e,t,n){var a=e.mode,r={mode:"visible",children:t},i=Xv(r,a);return i.return=e,e.child=i,i}function gw(e,t,n,a){var r=e.mode,i=e.child,l={mode:"hidden",children:t},o,u;return(r&Ae)===ve&&i!==null?(o=i,o.childLanes=B,o.pendingProps=l,e.mode&Ge&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),u=di(n,r,a,null)):(o=Xv(l,r),u=di(n,r,a,null)),o.return=e,u.return=e,o.sibling=u,e.child=o,u}function Xv(e,t,n){return US(e,t,B,null)}function Ub(e,t){return tl(e,t)}function bw(e,t,n,a){var r=e.child,i=r.sibling,l=Ub(r,{mode:"visible",children:n});if((t.mode&Ae)===ve&&(l.lanes=a),l.return=t,l.sibling=null,i!==null){var o=t.deletions;o===null?(t.deletions=[i],t.flags|=wi):o.push(i)}return t.child=l,l}function Sw(e,t,n,a,r){var i=t.mode,l=e.child,o=l.sibling,u={mode:"hidden",children:n},p;if((i&Ae)===ve&&t.child!==l){var v=t.child;p=v,p.childLanes=B,p.pendingProps=u,t.mode&Ge&&(p.actualDuration=0,p.actualStartTime=-1,p.selfBaseDuration=l.selfBaseDuration,p.treeBaseDuration=l.treeBaseDuration),t.deletions=null}else p=Ub(l,u),p.subtreeFlags=l.subtreeFlags&Er;var C;return o!==null?C=tl(o,a):(C=di(a,i,r,null),C.flags|=Tt),C.return=t,p.return=t,p.sibling=C,t.child=p,C}function af(e,t,n,a){a!==null&&Up(a),Bl(t,e.child,null,n);var r=t.pendingProps,i=r.children,l=Qv(t,i);return l.flags|=Tt,t.memoizedState=null,l}function Ew(e,t,n,a,r){var i=t.mode,l={mode:"visible",children:n},o=Xv(l,i),u=di(a,i,r,null);return u.flags|=Tt,o.return=t,u.return=t,o.sibling=u,t.child=o,(t.mode&Ae)!==ve&&Bl(t,e.child,null,r),u}function Cw(e,t,n){return(e.mode&Ae)===ve?(f("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=be):vp(t)?e.lanes=zi:e.lanes=Xn,null}function Rw(e,t,n,a,r,i,l){if(n)if(t.flags&br){t.flags&=~br;var x=Av(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return af(e,t,l,x)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pe,null;var A=a.children,T=a.fallback,Y=Ew(e,t,A,T,l),te=t.child;return te.memoizedState=Wv(l),t.memoizedState=Gv,Y}else{if(cN(),(t.mode&Ae)===ve)return af(e,t,l,null);if(vp(r)){var o,u,p;{var v=N_(r);o=v.digest,u=v.message,p=v.stack}var C;u?C=new Error(u):C=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var E=Av(C,o,p);return af(e,t,l,E)}var D=Kn(l,e.childLanes);if(Ma||D){var O=mf();if(O!==null){var M=LR(O,l);if(M!==Wt&&M!==i.retryLane){i.retryLane=M;var K=et;Bn(e,M),Vt(O,e,M,K)}}ym();var fe=Av(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return af(e,t,l,fe)}else if(Zy(r)){t.flags|=Pe,t.child=e.child;var le=WD.bind(null,e);return w_(r,le),null}else{pN(t,r,i.treeContext);var Ve=a.children,Oe=Qv(t,Ve);return Oe.flags|=Sr,Oe}}}function kb(e,t,n){e.lanes=_e(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=_e(a.lanes,t)),Fp(e.return,t,n)}function xw(e,t,n){for(var a=t;a!==null;){if(a.tag===ie){var r=a.memoizedState;r!==null&&kb(a,n,e)}else if(a.tag===St)kb(a,n,e);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}function Tw(e){for(var t=e,n=null;t!==null;){var a=t.alternate;a!==null&&Mc(a)===null&&(n=t),t=t.sibling}return n}function _w(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Pv[e])if(Pv[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:f('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else f('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function Nw(e,t){e!==void 0&&!nf[e]&&(e!=="collapsed"&&e!=="hidden"?(nf[e]=!0,f('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(nf[e]=!0,f('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Ob(e,t){{var n=ke(e),a=!n&&typeof Ta(e)=="function";if(n||a){var r=n?"array":"iterable";return f("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",r,t,r),!1}}return!0}function ww(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(ke(e)){for(var n=0;n<e.length;n++)if(!Ob(e[n],n))return}else{var a=Ta(e);if(typeof a=="function"){var r=a.call(e);if(r)for(var i=r.next(),l=0;!i.done;i=r.next()){if(!Ob(i.value,l))return;l++}}else f('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function Kv(e,t,n,a,r){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=n,i.tailMode=r)}function Lb(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail,l=a.children;_w(r),Nw(i,r),ww(l,r),kn(e,t,l,n);var o=Oa.current,u=Qp(o,wu);if(u)o=Xp(o,wu),t.flags|=Pe;else{var p=e!==null&&(e.flags&Pe)!==he;p&&xw(t,t.child,n),o=Il(o)}if(ri(t,o),(t.mode&Ae)===ve)t.memoizedState=null;else switch(r){case"forwards":{var v=Tw(t.child),C;v===null?(C=t.child,t.child=null):(C=v.sibling,v.sibling=null),Kv(t,!1,C,v,i);break}case"backwards":{var E=null,D=t.child;for(t.child=null;D!==null;){var O=D.alternate;if(O!==null&&Mc(O)===null){t.child=D;break}var M=D.sibling;D.sibling=E,E=D,D=M}Kv(t,!0,E,null,i);break}case"together":{Kv(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Dw(e,t,n){qp(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=Bl(t,null,a,n):kn(e,t,a,n),t.child}var zb=!1;function Uw(e,t,n){var a=t.type,r=a._context,i=t.pendingProps,l=t.memoizedProps,o=i.value;{"value"in i||zb||(zb=!0,f("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var u=t.type.propTypes;u&&Da(u,i,"prop","Context.Provider")}if(_g(t,r,o),l!==null){var p=l.value;if(ea(p,o)){if(l.children===i.children&&!dc())return kr(e,t,n)}else _N(t,r,n)}var v=i.children;return kn(e,t,v,n),t.child}var Mb=!1;function kw(e,t,n){var a=t.type;a._context===void 0?a!==a.Consumer&&(Mb||(Mb=!0,f("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var r=t.pendingProps,i=r.children;typeof i!="function"&&f("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Pl(t,n);var l=_t(a);jo(t);var o;return ju.current=t,sa(!0),o=i(l),sa(!1),Cl(),t.flags|=gl,kn(e,t,o,n),t.child}function Fu(){Ma=!0}function rf(e,t){(t.mode&Ae)===ve&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Tt)}function kr(e,t,n){return e!==null&&(t.dependencies=e.dependencies),cb(),Ju(t.lanes),Kn(n,t.childLanes)?(xN(e,t),t.child):null}function Ow(e,t,n){{var a=t.return;if(a===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===a.child)a.child=n;else{var r=a.child;if(r===null)throw new Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw new Error("Expected to find the previous sibling.");r.sibling=n}var i=a.deletions;return i===null?(a.deletions=[e],a.flags|=wi):i.push(e),n.flags|=Tt,n}}function Jv(e,t){var n=e.lanes;return!!Kn(n,t)}function Lw(e,t,n){switch(t.tag){case U:Nb(t),t.stateNode,Fl();break;case H:zg(t);break;case _:{var a=t.type;Ja(a)&&vc(t);break}case w:qp(t,t.stateNode.containerInfo);break;case P:{var r=t.memoizedProps.value,i=t.type._context;_g(t,i,r);break}case oe:{var l=Kn(n,t.childLanes);l&&(t.flags|=$e);{var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0}}break;case ie:{var u=t.memoizedState;if(u!==null){if(u.dehydrated!==null)return ri(t,Il(Oa.current)),t.flags|=Pe,null;var p=t.child,v=p.childLanes;if(Kn(n,v))return Db(e,t,n);ri(t,Il(Oa.current));var C=kr(e,t,n);return C!==null?C.sibling:null}else ri(t,Il(Oa.current));break}case St:{var E=(e.flags&Pe)!==he,D=Kn(n,t.childLanes);if(E){if(D)return Lb(e,t,n);t.flags|=Pe}var O=t.memoizedState;if(O!==null&&(O.rendering=null,O.tail=null,O.lastEffect=null),ri(t,Oa.current),D)break;return null}case xe:case Et:return t.lanes=B,xb(e,t,n)}return kr(e,t,n)}function Ab(e,t,n){if(t._debugNeedsRemount&&e!==null)return Ow(e,t,wm(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var a=e.memoizedProps,r=t.pendingProps;if(a!==r||dc()||t.type!==e.type)Ma=!0;else{var i=Jv(e,n);if(!i&&(t.flags&Pe)===he)return Ma=!1,Lw(e,t,n);(e.flags&ad)!==he?Ma=!0:Ma=!1}}else if(Ma=!1,an()&&rN(t)){var l=t.index,o=iN();cg(t,o,l)}switch(t.lanes=B,t.tag){case F:return vw(e,t,t.type,n);case Ft:{var u=t.elementType;return dw(e,t,u,n)}case R:{var p=t.type,v=t.pendingProps,C=t.elementType===p?v:za(p,v);return Yv(e,t,p,C,n)}case _:{var E=t.type,D=t.pendingProps,O=t.elementType===E?D:za(E,D);return _b(e,t,E,O,n)}case U:return sw(e,t,n);case H:return cw(e,t,n);case G:return fw(e,t);case ie:return Db(e,t,n);case w:return Dw(e,t,n);case I:{var M=t.type,K=t.pendingProps,fe=t.elementType===M?K:za(M,K);return Eb(e,t,M,fe,n)}case de:return lw(e,t,n);case ne:return ow(e,t,n);case oe:return uw(e,t,n);case P:return Uw(e,t,n);case ue:return kw(e,t,n);case ze:{var le=t.type,Ve=t.pendingProps,Oe=za(le,Ve);if(t.type!==t.elementType){var x=le.propTypes;x&&Da(x,Oe,"prop",Be(le))}return Oe=za(le.type,Oe),Cb(e,t,le,Oe,n)}case Ue:return Rb(e,t,t.type,t.pendingProps,n);case nt:{var A=t.type,T=t.pendingProps,Y=t.elementType===A?T:za(A,T);return pw(e,t,A,Y,n)}case St:return Lb(e,t,n);case ot:break;case xe:return xb(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Kl(e){e.flags|=$e}function jb(e){e.flags|=Di,e.flags|=rd}var Vb,Zv,Hb,Fb;Vb=function(e,t,n,a){for(var r=t.child;r!==null;){if(r.tag===H||r.tag===G)t_(e,r.stateNode);else if(r.tag!==w){if(r.child!==null){r.child.return=r,r=r.child;continue}}if(r===t)return;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Zv=function(e,t){},Hb=function(e,t,n,a,r){var i=e.memoizedProps;if(i!==a){var l=t.stateNode,o=Gp(),u=a_(l,n,i,a,r,o);t.updateQueue=u,u&&Kl(t)}},Fb=function(e,t,n,a){n!==a&&Kl(t)};function Bu(e,t){if(!an())switch(e.tailMode){case"hidden":{for(var n=e.tail,a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e.tail=null:a.sibling=null;break}case"collapsed":{for(var r=e.tail,i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:i.sibling=null;break}}}function ln(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=B,a=he;if(t){if((e.mode&Ge)!==ve){for(var u=e.selfBaseDuration,p=e.child;p!==null;)n=_e(n,_e(p.lanes,p.childLanes)),a|=p.subtreeFlags&Er,a|=p.flags&Er,u+=p.treeBaseDuration,p=p.sibling;e.treeBaseDuration=u}else for(var v=e.child;v!==null;)n=_e(n,_e(v.lanes,v.childLanes)),a|=v.subtreeFlags&Er,a|=v.flags&Er,v.return=e,v=v.sibling;e.subtreeFlags|=a}else{if((e.mode&Ge)!==ve){for(var r=e.actualDuration,i=e.selfBaseDuration,l=e.child;l!==null;)n=_e(n,_e(l.lanes,l.childLanes)),a|=l.subtreeFlags,a|=l.flags,r+=l.actualDuration,i+=l.treeBaseDuration,l=l.sibling;e.actualDuration=r,e.treeBaseDuration=i}else for(var o=e.child;o!==null;)n=_e(n,_e(o.lanes,o.childLanes)),a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;e.subtreeFlags|=a}return e.childLanes=n,t}function zw(e,t,n){if(gN()&&(t.mode&Ae)!==ve&&(t.flags&Pe)===he)return yg(t),Fl(),t.flags|=br|Us|Un,!1;var a=bc(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(hN(t),ln(t),(t.mode&Ge)!==ve){var r=n!==null;if(r){var i=t.child;i!==null&&(t.treeBaseDuration-=i.treeBaseDuration)}}return!1}else{if(Fl(),(t.flags&Pe)===he&&(t.memoizedState=null),t.flags|=$e,ln(t),(t.mode&Ge)!==ve){var l=n!==null;if(l){var o=t.child;o!==null&&(t.treeBaseDuration-=o.treeBaseDuration)}}return!1}else return gg(),!0}function Bb(e,t,n){var a=t.pendingProps;switch(Tp(t),t.tag){case F:case Ft:case Ue:case R:case I:case de:case ne:case oe:case ue:case ze:return ln(t),null;case _:{var r=t.type;return Ja(r)&&pc(t),ln(t),null}case U:{var i=t.stateNode;if(Yl(t),Ep(t),Jp(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),e===null||e.child===null){var l=bc(t);if(l)Kl(t);else if(e!==null){var o=e.memoizedState;(!o.isDehydrated||(t.flags&br)!==he)&&(t.flags|=bl,gg())}}return Zv(e,t),ln(t),null}case H:{Wp(t);var u=Lg(),p=t.type;if(e!==null&&t.stateNode!=null)Hb(e,t,p,a,u),e.ref!==t.ref&&jb(t);else{if(!a){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ln(t),null}var v=Gp(),C=bc(t);if(C)vN(t,u,v)&&Kl(t);else{var E=e_(p,a,u,v,t);Vb(E,t,!1,!1),t.stateNode=E,n_(E,p,a,u)&&Kl(t)}t.ref!==null&&jb(t)}return ln(t),null}case G:{var D=a;if(e&&t.stateNode!=null){var O=e.memoizedProps;Fb(e,t,O,D)}else{if(typeof D!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var M=Lg(),K=Gp(),fe=bc(t);fe?mN(t)&&Kl(t):t.stateNode=r_(D,M,K,t)}return ln(t),null}case ie:{ql(t);var le=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ve=zw(e,t,le);if(!Ve)return t.flags&Un?t:null}if((t.flags&Pe)!==he)return t.lanes=n,(t.mode&Ge)!==ve&&Rv(t),t;var Oe=le!==null,x=e!==null&&e.memoizedState!==null;if(Oe!==x&&Oe){var A=t.child;if(A.flags|=Ui,(t.mode&Ae)!==ve){var T=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);T||Qp(Oa.current,Ag)?MD():ym()}}var Y=t.updateQueue;if(Y!==null&&(t.flags|=$e),ln(t),(t.mode&Ge)!==ve&&Oe){var te=t.child;te!==null&&(t.treeBaseDuration-=te.treeBaseDuration)}return null}case w:return Yl(t),Zv(e,t),e===null&&K_(t.stateNode.containerInfo),ln(t),null;case P:var J=t.type._context;return Hp(J,t),ln(t),null;case nt:{var ye=t.type;return Ja(ye)&&pc(t),ln(t),null}case St:{ql(t);var Ce=t.memoizedState;if(Ce===null)return ln(t),null;var Qe=(t.flags&Pe)!==he,He=Ce.rendering;if(He===null)if(Qe)Bu(Ce,!1);else{var Ct=jD()&&(e===null||(e.flags&Pe)===he);if(!Ct)for(var Fe=t.child;Fe!==null;){var bt=Mc(Fe);if(bt!==null){Qe=!0,t.flags|=Pe,Bu(Ce,!1);var Sn=bt.updateQueue;return Sn!==null&&(t.updateQueue=Sn,t.flags|=$e),t.subtreeFlags=he,TN(t,n),ri(t,Xp(Oa.current,wu)),t.child}Fe=Fe.sibling}Ce.tail!==null&&qt()>uS()&&(t.flags|=Pe,Qe=!0,Bu(Ce,!1),t.lanes=Fh)}else{if(!Qe){var fn=Mc(He);if(fn!==null){t.flags|=Pe,Qe=!0;var aa=fn.updateQueue;if(aa!==null&&(t.updateQueue=aa,t.flags|=$e),Bu(Ce,!0),Ce.tail===null&&Ce.tailMode==="hidden"&&!He.alternate&&!an())return ln(t),null}else qt()*2-Ce.renderingStartTime>uS()&&n!==Xn&&(t.flags|=Pe,Qe=!0,Bu(Ce,!1),t.lanes=Fh)}if(Ce.isBackwards)He.sibling=t.child,t.child=He;else{var zn=Ce.last;zn!==null?zn.sibling=He:t.child=He,Ce.last=He}}if(Ce.tail!==null){var Mn=Ce.tail;Ce.rendering=Mn,Ce.tail=Mn.sibling,Ce.renderingStartTime=qt(),Mn.sibling=null;var En=Oa.current;return Qe?En=Xp(En,wu):En=Il(En),ri(t,En),Mn}return ln(t),null}case ot:break;case xe:case Et:{hm(t);var Ar=t.memoizedState,io=Ar!==null;if(e!==null){var as=e.memoizedState,lr=as!==null;lr!==io&&!Gn&&(t.flags|=Ui)}return!io||(t.mode&Ae)===ve?ln(t):Kn(ir,Xn)&&(ln(t),t.subtreeFlags&(Tt|$e)&&(t.flags|=Ui)),null}case ut:return null;case Nt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Mw(e,t,n){switch(Tp(t),t.tag){case _:{var a=t.type;Ja(a)&&pc(t);var r=t.flags;return r&Un?(t.flags=r&~Un|Pe,(t.mode&Ge)!==ve&&Rv(t),t):null}case U:{t.stateNode,Yl(t),Ep(t),Jp();var i=t.flags;return(i&Un)!==he&&(i&Pe)===he?(t.flags=i&~Un|Pe,t):null}case H:return Wp(t),null;case ie:{ql(t);var l=t.memoizedState;if(l!==null&&l.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Fl()}var o=t.flags;return o&Un?(t.flags=o&~Un|Pe,(t.mode&Ge)!==ve&&Rv(t),t):null}case St:return ql(t),null;case w:return Yl(t),null;case P:var u=t.type._context;return Hp(u,t),null;case xe:case Et:return hm(t),null;case ut:return null;default:return null}}function $b(e,t,n){switch(Tp(t),t.tag){case _:{var a=t.type.childContextTypes;a!=null&&pc(t);break}case U:{t.stateNode,Yl(t),Ep(t),Jp();break}case H:{Wp(t);break}case w:Yl(t);break;case ie:ql(t);break;case St:ql(t);break;case P:var r=t.type._context;Hp(r,t);break;case xe:case Et:hm(t);break}}var Pb=null;Pb=new Set;var lf=!1,on=!1,Aw=typeof WeakSet=="function"?WeakSet:Set,ae=null,Jl=null,Zl=null;function jw(e){ed(null,function(){throw e}),td()}var Vw=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Ge)try{ar(),t.componentWillUnmount()}finally{nr(e)}else t.componentWillUnmount()};function Yb(e,t){try{oi(Ot,e)}catch(n){Ke(e,t,n)}}function em(e,t,n){try{Vw(e,n)}catch(a){Ke(e,t,a)}}function Hw(e,t,n){try{n.componentDidMount()}catch(a){Ke(e,t,a)}}function Ib(e,t){try{Gb(e)}catch(n){Ke(e,t,n)}}function eo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var a;try{if(Rn&&sr&&e.mode&Ge)try{ar(),a=n(null)}finally{nr(e)}else a=n(null)}catch(r){Ke(e,t,r)}typeof a=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Re(e))}else n.current=null}function of(e,t,n){try{n()}catch(a){Ke(e,t,a)}}var qb=!1;function Fw(e,t){JT(e.containerInfo),ae=t,Bw();var n=qb;return qb=!1,n}function Bw(){for(;ae!==null;){var e=ae,t=e.child;(e.subtreeFlags&od)!==he&&t!==null?(t.return=e,ae=t):$w()}}function $w(){for(;ae!==null;){var e=ae;st(e);try{Pw(e)}catch(n){Ke(e,e.return,n)}It();var t=e.sibling;if(t!==null){t.return=e.return,ae=t;return}ae=e.return}}function Pw(e){var t=e.alternate,n=e.flags;if((n&bl)!==he){switch(st(e),e.tag){case R:case I:case Ue:break;case _:{if(t!==null){var a=t.memoizedProps,r=t.memoizedState,i=e.stateNode;e.type===e.elementType&&!Xi&&(i.props!==e.memoizedProps&&f("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Re(e)||"instance"),i.state!==e.memoizedState&&f("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Re(e)||"instance"));var l=i.getSnapshotBeforeUpdate(e.elementType===e.type?a:za(e.type,a),r);{var o=Pb;l===void 0&&!o.has(e.type)&&(o.add(e.type),f("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Re(e)))}i.__reactInternalSnapshotBeforeUpdate=l}break}case U:{{var u=e.stateNode;R_(u.containerInfo)}break}case H:case G:case w:case nt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}It()}}function Aa(e,t,n){var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var i=r.next,l=i;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&((e&rn)!==$n?rR(t):(e&Ot)!==$n&&Mh(t),(e&Za)!==$n&&es(!0),of(t,n,o),(e&Za)!==$n&&es(!1),(e&rn)!==$n?iR():(e&Ot)!==$n&&Ah())}l=l.next}while(l!==i)}}function oi(e,t){var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var r=a.next,i=r;do{if((i.tag&e)===e){(e&rn)!==$n?nR(t):(e&Ot)!==$n&&lR(t);var l=i.create;(e&Za)!==$n&&es(!0),i.destroy=l(),(e&Za)!==$n&&es(!1),(e&rn)!==$n?aR():(e&Ot)!==$n&&oR();{var o=i.destroy;if(o!==void 0&&typeof o!="function"){var u=void 0;(i.tag&Ot)!==he?u="useLayoutEffect":(i.tag&Za)!==he?u="useInsertionEffect":u="useEffect";var p=void 0;o===null?p=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?p=`
- It looks like you wrote `+u+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
- `+u+`(() => {
- async function fetchData() {
- // You can await here
- const response = await MyAPI.getData(someId);
- // ...
- }
- fetchData();
- }, [someId]); // Or [] if effect doesn't need props or state
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:p=" You returned: "+o,f("%s must not return anything besides a function, which is used for clean-up.%s",u,p)}}}i=i.next}while(i!==r)}}function Yw(e,t){if((t.flags&$e)!==he)switch(t.tag){case oe:{var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,i=a.onPostCommit,l=ub(),o=t.alternate===null?"mount":"update";ob()&&(o="nested-update"),typeof i=="function"&&i(r,o,n,l);var u=t.return;e:for(;u!==null;){switch(u.tag){case U:var p=u.stateNode;p.passiveEffectDuration+=n;break e;case oe:var v=u.stateNode;v.passiveEffectDuration+=n;break e}u=u.return}break}}}function Iw(e,t,n,a){if((n.flags&Ao)!==he)switch(n.tag){case R:case I:case Ue:{if(!on)if(n.mode&Ge)try{ar(),oi(Ot|kt,n)}finally{nr(n)}else oi(Ot|kt,n);break}case _:{var r=n.stateNode;if(n.flags&$e&&!on)if(t===null)if(n.type===n.elementType&&!Xi&&(r.props!==n.memoizedProps&&f("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Re(n)||"instance"),r.state!==n.memoizedState&&f("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Re(n)||"instance")),n.mode&Ge)try{ar(),r.componentDidMount()}finally{nr(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:za(n.type,t.memoizedProps),l=t.memoizedState;if(n.type===n.elementType&&!Xi&&(r.props!==n.memoizedProps&&f("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Re(n)||"instance"),r.state!==n.memoizedState&&f("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Re(n)||"instance")),n.mode&Ge)try{ar(),r.componentDidUpdate(i,l,r.__reactInternalSnapshotBeforeUpdate)}finally{nr(n)}else r.componentDidUpdate(i,l,r.__reactInternalSnapshotBeforeUpdate)}var o=n.updateQueue;o!==null&&(n.type===n.elementType&&!Xi&&(r.props!==n.memoizedProps&&f("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Re(n)||"instance"),r.state!==n.memoizedState&&f("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Re(n)||"instance")),Og(n,o,r));break}case U:{var u=n.updateQueue;if(u!==null){var p=null;if(n.child!==null)switch(n.child.tag){case H:p=n.child.stateNode;break;case _:p=n.child.stateNode;break}Og(n,u,p)}break}case H:{var v=n.stateNode;if(t===null&&n.flags&$e){var C=n.type,E=n.memoizedProps;s_(v,C,E)}break}case G:break;case w:break;case oe:{{var D=n.memoizedProps,O=D.onCommit,M=D.onRender,K=n.stateNode.effectDuration,fe=ub(),le=t===null?"mount":"update";ob()&&(le="nested-update"),typeof M=="function"&&M(n.memoizedProps.id,le,n.actualDuration,n.treeBaseDuration,n.actualStartTime,fe);{typeof O=="function"&&O(n.memoizedProps.id,le,K,fe),$D(n);var Ve=n.return;e:for(;Ve!==null;){switch(Ve.tag){case U:var Oe=Ve.stateNode;Oe.effectDuration+=K;break e;case oe:var x=Ve.stateNode;x.effectDuration+=K;break e}Ve=Ve.return}}}break}case ie:{Zw(e,n);break}case St:case nt:case ot:case xe:case Et:case Nt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}on||n.flags&Di&&Gb(n)}function qw(e){switch(e.tag){case R:case I:case Ue:{if(e.mode&Ge)try{ar(),Yb(e,e.return)}finally{nr(e)}else Yb(e,e.return);break}case _:{var t=e.stateNode;typeof t.componentDidMount=="function"&&Hw(e,e.return,t),Ib(e,e.return);break}case H:{Ib(e,e.return);break}}}function Gw(e,t){for(var n=null,a=e;;){if(a.tag===H){if(n===null){n=a;try{var r=a.stateNode;t?b_(r):E_(a.stateNode,a.memoizedProps)}catch(l){Ke(e,e.return,l)}}}else if(a.tag===G){if(n===null)try{var i=a.stateNode;t?S_(i):C_(i,a.memoizedProps)}catch(l){Ke(e,e.return,l)}}else if(!((a.tag===xe||a.tag===Et)&&a.memoizedState!==null&&a!==e)){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;n===a&&(n=null),a=a.return}n===a&&(n=null),a.sibling.return=a.return,a=a.sibling}}function Gb(e){var t=e.ref;if(t!==null){var n=e.stateNode,a;switch(e.tag){case H:a=n;break;default:a=n}if(typeof t=="function"){var r;if(e.mode&Ge)try{ar(),r=t(a)}finally{nr(e)}else r=t(a);typeof r=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Re(e))}else t.hasOwnProperty("current")||f("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Re(e)),t.current=a}}function Ww(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Wb(e){var t=e.alternate;t!==null&&(e.alternate=null,Wb(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===H){var n=e.stateNode;n!==null&&eN(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function Qw(e){for(var t=e.return;t!==null;){if(Qb(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Qb(e){return e.tag===H||e.tag===U||e.tag===w}function Xb(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Qb(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==H&&t.tag!==G&&t.tag!==mt;){if(t.flags&Tt||t.child===null||t.tag===w)continue e;t.child.return=t,t=t.child}if(!(t.flags&Tt))return t.stateNode}}function Xw(e){var t=Qw(e);switch(t.tag){case H:{var n=t.stateNode;t.flags&Mo&&(Jy(n),t.flags&=~Mo);var a=Xb(e);nm(e,a,n);break}case U:case w:{var r=t.stateNode.containerInfo,i=Xb(e);tm(e,i,r);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function tm(e,t,n){var a=e.tag,r=a===H||a===G;if(r){var i=e.stateNode;t?m_(n,i,t):p_(n,i)}else if(a!==w){var l=e.child;if(l!==null){tm(l,t,n);for(var o=l.sibling;o!==null;)tm(o,t,n),o=o.sibling}}}function nm(e,t,n){var a=e.tag,r=a===H||a===G;if(r){var i=e.stateNode;t?v_(n,i,t):d_(n,i)}else if(a!==w){var l=e.child;if(l!==null){nm(l,t,n);for(var o=l.sibling;o!==null;)nm(o,t,n),o=o.sibling}}}var un=null,ja=!1;function Kw(e,t,n){{var a=t;e:for(;a!==null;){switch(a.tag){case H:{un=a.stateNode,ja=!1;break e}case U:{un=a.stateNode.containerInfo,ja=!0;break e}case w:{un=a.stateNode.containerInfo,ja=!0;break e}}a=a.return}if(un===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Kb(e,t,n),un=null,ja=!1}Ww(n)}function ui(e,t,n){for(var a=n.child;a!==null;)Kb(e,t,a),a=a.sibling}function Kb(e,t,n){switch(JC(n),n.tag){case H:on||eo(n,t);case G:{{var a=un,r=ja;un=null,ui(e,t,n),un=a,ja=r,un!==null&&(ja?y_(un,n.stateNode):h_(un,n.stateNode))}return}case mt:{un!==null&&(ja?g_(un,n.stateNode):pp(un,n.stateNode));return}case w:{{var i=un,l=ja;un=n.stateNode.containerInfo,ja=!0,ui(e,t,n),un=i,ja=l}return}case R:case I:case ze:case Ue:{if(!on){var o=n.updateQueue;if(o!==null){var u=o.lastEffect;if(u!==null){var p=u.next,v=p;do{var C=v,E=C.destroy,D=C.tag;E!==void 0&&((D&Za)!==$n?of(n,t,E):(D&Ot)!==$n&&(Mh(n),n.mode&Ge?(ar(),of(n,t,E),nr(n)):of(n,t,E),Ah())),v=v.next}while(v!==p)}}}ui(e,t,n);return}case _:{if(!on){eo(n,t);var O=n.stateNode;typeof O.componentWillUnmount=="function"&&em(n,t,O)}ui(e,t,n);return}case ot:{ui(e,t,n);return}case xe:{if(n.mode&Ae){var M=on;on=M||n.memoizedState!==null,ui(e,t,n),on=M}else ui(e,t,n);break}default:{ui(e,t,n);return}}}function Jw(e){e.memoizedState}function Zw(e,t){var n=t.memoizedState;if(n===null){var a=t.alternate;if(a!==null){var r=a.memoizedState;if(r!==null){var i=r.dehydrated;i!==null&&j_(i)}}}}function Jb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Aw),t.forEach(function(a){var r=QD.bind(null,e,a);if(!n.has(a)){if(n.add(a),Na)if(Jl!==null&&Zl!==null)Zu(Zl,Jl);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(r,r)}})}}function eD(e,t,n){Jl=n,Zl=e,st(t),Zb(t,e),st(t),Jl=null,Zl=null}function Va(e,t,n){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r];try{Kw(e,t,i)}catch(u){Ke(i,t,u)}}var l=bs();if(t.subtreeFlags&ud)for(var o=t.child;o!==null;)st(o),Zb(o,e),o=o.sibling;st(l)}function Zb(e,t,n){var a=e.alternate,r=e.flags;switch(e.tag){case R:case I:case ze:case Ue:{if(Va(t,e),rr(e),r&$e){try{Aa(Za|kt,e,e.return),oi(Za|kt,e)}catch(ye){Ke(e,e.return,ye)}if(e.mode&Ge){try{ar(),Aa(Ot|kt,e,e.return)}catch(ye){Ke(e,e.return,ye)}nr(e)}else try{Aa(Ot|kt,e,e.return)}catch(ye){Ke(e,e.return,ye)}}return}case _:{Va(t,e),rr(e),r&Di&&a!==null&&eo(a,a.return);return}case H:{Va(t,e),rr(e),r&Di&&a!==null&&eo(a,a.return);{if(e.flags&Mo){var i=e.stateNode;try{Jy(i)}catch(ye){Ke(e,e.return,ye)}}if(r&$e){var l=e.stateNode;if(l!=null){var o=e.memoizedProps,u=a!==null?a.memoizedProps:o,p=e.type,v=e.updateQueue;if(e.updateQueue=null,v!==null)try{c_(l,v,p,u,o,e)}catch(ye){Ke(e,e.return,ye)}}}}return}case G:{if(Va(t,e),rr(e),r&$e){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var C=e.stateNode,E=e.memoizedProps,D=a!==null?a.memoizedProps:E;try{f_(C,D,E)}catch(ye){Ke(e,e.return,ye)}}return}case U:{if(Va(t,e),rr(e),r&$e&&a!==null){var O=a.memoizedState;if(O.isDehydrated)try{A_(t.containerInfo)}catch(ye){Ke(e,e.return,ye)}}return}case w:{Va(t,e),rr(e);return}case ie:{Va(t,e),rr(e);var M=e.child;if(M.flags&Ui){var K=M.stateNode,fe=M.memoizedState,le=fe!==null;if(K.isHidden=le,le){var Ve=M.alternate!==null&&M.alternate.memoizedState!==null;Ve||zD()}}if(r&$e){try{Jw(e)}catch(ye){Ke(e,e.return,ye)}Jb(e)}return}case xe:{var Oe=a!==null&&a.memoizedState!==null;if(e.mode&Ae){var x=on;on=x||Oe,Va(t,e),on=x}else Va(t,e);if(rr(e),r&Ui){var A=e.stateNode,T=e.memoizedState,Y=T!==null,te=e;if(A.isHidden=Y,Y&&!Oe&&(te.mode&Ae)!==ve){ae=te;for(var J=te.child;J!==null;)ae=J,nD(J),J=J.sibling}Gw(te,Y)}return}case St:{Va(t,e),rr(e),r&$e&&Jb(e);return}case ot:return;default:{Va(t,e),rr(e);return}}}function rr(e){var t=e.flags;if(t&Tt){try{Xw(e)}catch(n){Ke(e,e.return,n)}e.flags&=~Tt}t&Sr&&(e.flags&=~Sr)}function tD(e,t,n){Jl=n,Zl=t,ae=e,eS(e,t,n),Jl=null,Zl=null}function eS(e,t,n){for(var a=(e.mode&Ae)!==ve;ae!==null;){var r=ae,i=r.child;if(r.tag===xe&&a){var l=r.memoizedState!==null,o=l||lf;if(o){am(e,t,n);continue}else{var u=r.alternate,p=u!==null&&u.memoizedState!==null,v=p||on,C=lf,E=on;lf=o,on=v,on&&!E&&(ae=r,aD(r));for(var D=i;D!==null;)ae=D,eS(D,t,n),D=D.sibling;ae=r,lf=C,on=E,am(e,t,n);continue}}(r.subtreeFlags&Ao)!==he&&i!==null?(i.return=r,ae=i):am(e,t,n)}}function am(e,t,n){for(;ae!==null;){var a=ae;if((a.flags&Ao)!==he){var r=a.alternate;st(a);try{Iw(t,r,a,n)}catch(l){Ke(a,a.return,l)}It()}if(a===e){ae=null;return}var i=a.sibling;if(i!==null){i.return=a.return,ae=i;return}ae=a.return}}function nD(e){for(;ae!==null;){var t=ae,n=t.child;switch(t.tag){case R:case I:case ze:case Ue:{if(t.mode&Ge)try{ar(),Aa(Ot,t,t.return)}finally{nr(t)}else Aa(Ot,t,t.return);break}case _:{eo(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&em(t,t.return,a);break}case H:{eo(t,t.return);break}case xe:{var r=t.memoizedState!==null;if(r){tS(e);continue}break}}n!==null?(n.return=t,ae=n):tS(e)}}function tS(e){for(;ae!==null;){var t=ae;if(t===e){ae=null;return}var n=t.sibling;if(n!==null){n.return=t.return,ae=n;return}ae=t.return}}function aD(e){for(;ae!==null;){var t=ae,n=t.child;if(t.tag===xe){var a=t.memoizedState!==null;if(a){nS(e);continue}}n!==null?(n.return=t,ae=n):nS(e)}}function nS(e){for(;ae!==null;){var t=ae;st(t);try{qw(t)}catch(a){Ke(t,t.return,a)}if(It(),t===e){ae=null;return}var n=t.sibling;if(n!==null){n.return=t.return,ae=n;return}ae=t.return}}function rD(e,t,n,a){ae=t,iD(t,e,n,a)}function iD(e,t,n,a){for(;ae!==null;){var r=ae,i=r.child;(r.subtreeFlags&Sl)!==he&&i!==null?(i.return=r,ae=i):lD(e,t,n,a)}}function lD(e,t,n,a){for(;ae!==null;){var r=ae;if((r.flags&Pr)!==he){st(r);try{oD(t,r,n,a)}catch(l){Ke(r,r.return,l)}It()}if(r===e){ae=null;return}var i=r.sibling;if(i!==null){i.return=r.return,ae=i;return}ae=r.return}}function oD(e,t,n,a){switch(t.tag){case R:case I:case Ue:{if(t.mode&Ge){Cv();try{oi(rn|kt,t)}finally{Ev(t)}}else oi(rn|kt,t);break}}}function uD(e){ae=e,sD()}function sD(){for(;ae!==null;){var e=ae,t=e.child;if((ae.flags&wi)!==he){var n=e.deletions;if(n!==null){for(var a=0;a<n.length;a++){var r=n[a];ae=r,dD(r,e)}{var i=e.alternate;if(i!==null){var l=i.child;if(l!==null){i.child=null;do{var o=l.sibling;l.sibling=null,l=o}while(l!==null)}}}ae=e}}(e.subtreeFlags&Sl)!==he&&t!==null?(t.return=e,ae=t):cD()}}function cD(){for(;ae!==null;){var e=ae;(e.flags&Pr)!==he&&(st(e),fD(e),It());var t=e.sibling;if(t!==null){t.return=e.return,ae=t;return}ae=e.return}}function fD(e){switch(e.tag){case R:case I:case Ue:{e.mode&Ge?(Cv(),Aa(rn|kt,e,e.return),Ev(e)):Aa(rn|kt,e,e.return);break}}}function dD(e,t){for(;ae!==null;){var n=ae;st(n),vD(n,t),It();var a=n.child;a!==null?(a.return=n,ae=a):pD(e)}}function pD(e){for(;ae!==null;){var t=ae,n=t.sibling,a=t.return;if(Wb(t),t===e){ae=null;return}if(n!==null){n.return=a,ae=n;return}ae=a}}function vD(e,t){switch(e.tag){case R:case I:case Ue:{e.mode&Ge?(Cv(),Aa(rn,e,t),Ev(e)):Aa(rn,e,t);break}}}function mD(e){switch(e.tag){case R:case I:case Ue:{try{oi(Ot|kt,e)}catch(n){Ke(e,e.return,n)}break}case _:{var t=e.stateNode;try{t.componentDidMount()}catch(n){Ke(e,e.return,n)}break}}}function hD(e){switch(e.tag){case R:case I:case Ue:{try{oi(rn|kt,e)}catch(t){Ke(e,e.return,t)}break}}}function yD(e){switch(e.tag){case R:case I:case Ue:{try{Aa(Ot|kt,e,e.return)}catch(n){Ke(e,e.return,n)}break}case _:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&em(e,e.return,t);break}}}function gD(e){switch(e.tag){case R:case I:case Ue:try{Aa(rn|kt,e,e.return)}catch(t){Ke(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var $u=Symbol.for;$u("selector.component"),$u("selector.has_pseudo_class"),$u("selector.role"),$u("selector.test_id"),$u("selector.text")}var bD=[];function SD(){bD.forEach(function(e){return e()})}var ED=m.ReactCurrentActQueue;function CD(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest<"u";return n&&t!==!1}}function aS(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&ED.current!==null&&f("The current testing environment is not configured to support act(...)"),e}}var RD=Math.ceil,rm=m.ReactCurrentDispatcher,im=m.ReactCurrentOwner,sn=m.ReactCurrentBatchConfig,Ha=m.ReactCurrentActQueue,Mt=0,rS=1,cn=2,ma=4,Or=0,Pu=1,Ki=2,uf=3,Yu=4,iS=5,lm=6,je=Mt,On=null,pt=null,At=B,ir=B,om=Jr(B),jt=Or,Iu=null,sf=B,qu=B,cf=B,Gu=null,Pn=null,um=0,lS=500,oS=1/0,xD=500,Lr=null;function Wu(){oS=qt()+xD}function uS(){return oS}var ff=!1,sm=null,to=null,Ji=!1,si=null,Qu=B,cm=[],fm=null,TD=50,Xu=0,dm=null,pm=!1,df=!1,_D=50,no=0,pf=null,Ku=et,vf=B,sS=!1;function mf(){return On}function Ln(){return(je&(cn|ma))!==Mt?qt():(Ku!==et||(Ku=qt()),Ku)}function ci(e){var t=e.mode;if((t&Ae)===ve)return be;if((je&cn)!==Mt&&At!==B)return Po(At);var n=EN()!==SN;if(n){if(sn.transition!==null){var a=sn.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return vf===Wt&&(vf=Yh()),vf}var r=wa();if(r!==Wt)return r;var i=i_();return i}function ND(e){var t=e.mode;return(t&Ae)===ve?be:DR()}function Vt(e,t,n,a){KD(),sS&&f("useInsertionEffect must not schedule updates."),pm&&(df=!0),Yo(e,n,a),(je&cn)!==B&&e===On?e0(t):(Na&&Gh(e,t,n),t0(t),e===On&&((je&cn)===Mt&&(qu=_e(qu,n)),jt===Yu&&fi(e,At)),Yn(e,a),n===be&&je===Mt&&(t.mode&Ae)===ve&&!Ha.isBatchingLegacy&&(Wu(),sg()))}function wD(e,t,n){var a=e.current;a.lanes=t,Yo(e,t,n),Yn(e,n)}function DD(e){return(je&cn)!==Mt}function Yn(e,t){var n=e.callbackNode;RR(e,t);var a=Ms(e,e===On?At:B);if(a===B){n!==null&&TS(n),e.callbackNode=null,e.callbackPriority=Wt;return}var r=Ai(a),i=e.callbackPriority;if(i===r&&!(Ha.current!==null&&n!==Sm)){n==null&&i!==be&&f("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&TS(n);var l;if(r===be)e.tag===Zr?(Ha.isBatchingLegacy!==null&&(Ha.didScheduleLegacyUpdate=!0),aN(dS.bind(null,e))):ug(dS.bind(null,e)),Ha.current!==null?Ha.current.push(ei):o_(function(){(je&(cn|ma))===Mt&&ei()}),l=null;else{var o;switch(Xh(a)){case Jn:o=ks;break;case Rr:o=sd;break;case xr:o=Li;break;case Vs:o=cd;break;default:o=Li;break}l=Em(o,cS.bind(null,e))}e.callbackPriority=r,e.callbackNode=l}function cS(e,t){if(GN(),Ku=et,vf=B,(je&(cn|ma))!==Mt)throw new Error("Should not already be working.");var n=e.callbackNode,a=Mr();if(a&&e.callbackNode!==n)return null;var r=Ms(e,e===On?At:B);if(r===B)return null;var i=!As(e,r)&&!wR(e,r)&&!t,l=i?HD(e,r):yf(e,r);if(l!==Or){if(l===Ki){var o=Od(e);o!==B&&(r=o,l=vm(e,o))}if(l===Pu){var u=Iu;throw Zi(e,B),fi(e,r),Yn(e,qt()),u}if(l===lm)fi(e,r);else{var p=!As(e,r),v=e.current.alternate;if(p&&!kD(v)){if(l=yf(e,r),l===Ki){var C=Od(e);C!==B&&(r=C,l=vm(e,C))}if(l===Pu){var E=Iu;throw Zi(e,B),fi(e,r),Yn(e,qt()),E}}e.finishedWork=v,e.finishedLanes=r,UD(e,l,r)}}return Yn(e,qt()),e.callbackNode===n?cS.bind(null,e):null}function vm(e,t){var n=Gu;if(Hs(e)){var a=Zi(e,t);a.flags|=br,X_(e.containerInfo)}var r=yf(e,t);if(r!==Ki){var i=Pn;Pn=n,i!==null&&fS(i)}return r}function fS(e){Pn===null?Pn=e:Pn.push.apply(Pn,e)}function UD(e,t,n){switch(t){case Or:case Pu:throw new Error("Root did not complete. This is a bug in React.");case Ki:{el(e,Pn,Lr);break}case uf:{if(fi(e,n),$h(n)&&!_S()){var a=um+lS-qt();if(a>10){var r=Ms(e,B);if(r!==B)break;var i=e.suspendedLanes;if(!_l(i,n)){Ln(),qh(e,i);break}e.timeoutHandle=fp(el.bind(null,e,Pn,Lr),a);break}}el(e,Pn,Lr);break}case Yu:{if(fi(e,n),NR(n))break;if(!_S()){var l=ER(e,n),o=l,u=qt()-o,p=XD(u)-u;if(p>10){e.timeoutHandle=fp(el.bind(null,e,Pn,Lr),p);break}}el(e,Pn,Lr);break}case iS:{el(e,Pn,Lr);break}default:throw new Error("Unknown root exit status.")}}function kD(e){for(var t=e;;){if(t.flags&nd){var n=t.updateQueue;if(n!==null){var a=n.stores;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r],l=i.getSnapshot,o=i.value;try{if(!ea(l(),o))return!1}catch{return!1}}}}var u=t.child;if(t.subtreeFlags&nd&&u!==null){u.return=t,t=u;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function fi(e,t){t=js(t,cf),t=js(t,qu),kR(e,t)}function dS(e){if(WN(),(je&(cn|ma))!==Mt)throw new Error("Should not already be working.");Mr();var t=Ms(e,B);if(!Kn(t,be))return Yn(e,qt()),null;var n=yf(e,t);if(e.tag!==Zr&&n===Ki){var a=Od(e);a!==B&&(t=a,n=vm(e,a))}if(n===Pu){var r=Iu;throw Zi(e,B),fi(e,t),Yn(e,qt()),r}if(n===lm)throw new Error("Root did not complete. This is a bug in React.");var i=e.current.alternate;return e.finishedWork=i,e.finishedLanes=t,el(e,Pn,Lr),Yn(e,qt()),null}function OD(e,t){t!==B&&(Ad(e,_e(t,be)),Yn(e,qt()),(je&(cn|ma))===Mt&&(Wu(),ei()))}function mm(e,t){var n=je;je|=rS;try{return e(t)}finally{je=n,je===Mt&&!Ha.isBatchingLegacy&&(Wu(),sg())}}function LD(e,t,n,a,r){var i=wa(),l=sn.transition;try{return sn.transition=null,Qt(Jn),e(t,n,a,r)}finally{Qt(i),sn.transition=l,je===Mt&&Wu()}}function zr(e){si!==null&&si.tag===Zr&&(je&(cn|ma))===Mt&&Mr();var t=je;je|=rS;var n=sn.transition,a=wa();try{return sn.transition=null,Qt(Jn),e?e():void 0}finally{Qt(a),sn.transition=n,je=t,(je&(cn|ma))===Mt&&ei()}}function pS(){return(je&(cn|ma))!==Mt}function hf(e,t){gn(om,ir,e),ir=_e(ir,t)}function hm(e){ir=om.current,yn(om,e)}function Zi(e,t){e.finishedWork=null,e.finishedLanes=B;var n=e.timeoutHandle;if(n!==dp&&(e.timeoutHandle=dp,l_(n)),pt!==null)for(var a=pt.return;a!==null;){var r=a.alternate;$b(r,a),a=a.return}On=e;var i=tl(e.current,null);return pt=i,At=ir=t,jt=Or,Iu=null,sf=B,qu=B,cf=B,Gu=null,Pn=null,wN(),ka.discardPendingWarnings(),i}function vS(e,t){do{var n=pt;try{if(Tc(),Vg(),It(),im.current=null,n===null||n.return===null){jt=Pu,Iu=t,pt=null;return}if(Rn&&n.mode&Ge&&ef(n,!0),ba)if(Cl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;sR(n,a,At)}else uR(n,t,At);aw(e,n.return,n,t,At),gS(n)}catch(r){t=r,pt===n&&n!==null?(n=n.return,pt=n):n=pt;continue}return}while(!0)}function mS(){var e=rm.current;return rm.current=Qc,e===null?Qc:e}function hS(e){rm.current=e}function zD(){um=qt()}function Ju(e){sf=_e(e,sf)}function MD(){jt===Or&&(jt=uf)}function ym(){(jt===Or||jt===uf||jt===Ki)&&(jt=Yu),On!==null&&(Ld(sf)||Ld(qu))&&fi(On,At)}function AD(e){jt!==Yu&&(jt=Ki),Gu===null?Gu=[e]:Gu.push(e)}function jD(){return jt===Or}function yf(e,t){var n=je;je|=cn;var a=mS();if(On!==e||At!==t){if(Na){var r=e.memoizedUpdaters;r.size>0&&(Zu(e,At),r.clear()),Wh(e,t)}Lr=Qh(),Zi(e,t)}jh(t);do try{VD();break}catch(i){vS(e,i)}while(!0);if(Tc(),je=n,hS(a),pt!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Vh(),On=null,At=B,jt}function VD(){for(;pt!==null;)yS(pt)}function HD(e,t){var n=je;je|=cn;var a=mS();if(On!==e||At!==t){if(Na){var r=e.memoizedUpdaters;r.size>0&&(Zu(e,At),r.clear()),Wh(e,t)}Lr=Qh(),Wu(),Zi(e,t)}jh(t);do try{FD();break}catch(i){vS(e,i)}while(!0);return Tc(),hS(a),je=n,pt!==null?(vR(),Or):(Vh(),On=null,At=B,jt)}function FD(){for(;pt!==null&&!$C();)yS(pt)}function yS(e){var t=e.alternate;st(e);var n;(e.mode&Ge)!==ve?(Sv(e),n=gm(t,e,ir),ef(e,!0)):n=gm(t,e,ir),It(),e.memoizedProps=e.pendingProps,n===null?gS(e):pt=n,im.current=null}function gS(e){var t=e;do{var n=t.alternate,a=t.return;if((t.flags&Us)===he){st(t);var r=void 0;if((t.mode&Ge)===ve?r=Bb(n,t,ir):(Sv(t),r=Bb(n,t,ir),ef(t,!1)),It(),r!==null){pt=r;return}}else{var i=Mw(n,t);if(i!==null){i.flags&=AC,pt=i;return}if((t.mode&Ge)!==ve){ef(t,!1);for(var l=t.actualDuration,o=t.child;o!==null;)l+=o.actualDuration,o=o.sibling;t.actualDuration=l}if(a!==null)a.flags|=Us,a.subtreeFlags=he,a.deletions=null;else{jt=lm,pt=null;return}}var u=t.sibling;if(u!==null){pt=u;return}t=a,pt=t}while(t!==null);jt===Or&&(jt=iS)}function el(e,t,n){var a=wa(),r=sn.transition;try{sn.transition=null,Qt(Jn),BD(e,t,n,a)}finally{sn.transition=r,Qt(a)}return null}function BD(e,t,n,a){do Mr();while(si!==null);if(JD(),(je&(cn|ma))!==Mt)throw new Error("Should not already be working.");var r=e.finishedWork,i=e.finishedLanes;if(tR(i),r===null)return zh(),null;if(i===B&&f("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=B,r===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Wt;var l=_e(r.lanes,r.childLanes);OR(e,l),e===On&&(On=null,pt=null,At=B),((r.subtreeFlags&Sl)!==he||(r.flags&Sl)!==he)&&(Ji||(Ji=!0,fm=n,Em(Li,function(){return Mr(),null})));var o=(r.subtreeFlags&(od|ud|Ao|Sl))!==he,u=(r.flags&(od|ud|Ao|Sl))!==he;if(o||u){var p=sn.transition;sn.transition=null;var v=wa();Qt(Jn);var C=je;je|=ma,im.current=null,Fw(e,r),sb(),eD(e,r,i),ZT(e.containerInfo),e.current=r,cR(i),tD(r,e,i),fR(),PC(),je=C,Qt(v),sn.transition=p}else e.current=r,sb();var E=Ji;if(Ji?(Ji=!1,si=e,Qu=i):(no=0,pf=null),l=e.pendingLanes,l===B&&(to=null),E||CS(e.current,!1),XC(r.stateNode,a),Na&&e.memoizedUpdaters.clear(),SD(),Yn(e,qt()),t!==null)for(var D=e.onRecoverableError,O=0;O<t.length;O++){var M=t[O],K=M.stack,fe=M.digest;D(M.value,{componentStack:K,digest:fe})}if(ff){ff=!1;var le=sm;throw sm=null,le}return Kn(Qu,be)&&e.tag!==Zr&&Mr(),l=e.pendingLanes,Kn(l,be)?(qN(),e===dm?Xu++:(Xu=0,dm=e)):Xu=0,ei(),zh(),null}function Mr(){if(si!==null){var e=Xh(Qu),t=AR(xr,e),n=sn.transition,a=wa();try{return sn.transition=null,Qt(t),PD()}finally{Qt(a),sn.transition=n}}return!1}function $D(e){cm.push(e),Ji||(Ji=!0,Em(Li,function(){return Mr(),null}))}function PD(){if(si===null)return!1;var e=fm;fm=null;var t=si,n=Qu;if(si=null,Qu=B,(je&(cn|ma))!==Mt)throw new Error("Cannot flush passive effects while already rendering.");pm=!0,df=!1,dR(n);var a=je;je|=ma,uD(t.current),rD(t,t.current,n,e);{var r=cm;cm=[];for(var i=0;i<r.length;i++){var l=r[i];Yw(t,l)}}pR(),CS(t.current,!0),je=a,ei(),df?t===pf?no++:(no=0,pf=t):no=0,pm=!1,df=!1,KC(t);{var o=t.current.stateNode;o.effectDuration=0,o.passiveEffectDuration=0}return!0}function bS(e){return to!==null&&to.has(e)}function YD(e){to===null?to=new Set([e]):to.add(e)}function ID(e){ff||(ff=!0,sm=e)}var qD=ID;function SS(e,t,n){var a=Qi(n,t),r=yb(e,a,be),i=ni(e,r,be),l=Ln();i!==null&&(Yo(i,be,l),Yn(i,l))}function Ke(e,t,n){if(jw(n),es(!1),e.tag===U){SS(e,e,n);return}var a=null;for(a=t;a!==null;){if(a.tag===U){SS(a,e,n);return}else if(a.tag===_){var r=a.type,i=a.stateNode;if(typeof r.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&!bS(i)){var l=Qi(n,e),o=Vv(a,l,be),u=ni(a,o,be),p=Ln();u!==null&&(Yo(u,be,p),Yn(u,p));return}}a=a.return}f(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
- Error message:
- %s`,n)}function GD(e,t,n){var a=e.pingCache;a!==null&&a.delete(t);var r=Ln();qh(e,n),n0(e),On===e&&_l(At,n)&&(jt===Yu||jt===uf&&$h(At)&&qt()-um<lS?Zi(e,B):cf=_e(cf,n)),Yn(e,r)}function ES(e,t){t===Wt&&(t=ND(e));var n=Ln(),a=Bn(e,t);a!==null&&(Yo(a,t,n),Yn(a,n))}function WD(e){var t=e.memoizedState,n=Wt;t!==null&&(n=t.retryLane),ES(e,n)}function QD(e,t){var n=Wt,a;switch(e.tag){case ie:a=e.stateNode;var r=e.memoizedState;r!==null&&(n=r.retryLane);break;case St:a=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),ES(e,n)}function XD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:RD(e/1960)*1960}function KD(){if(Xu>TD)throw Xu=0,dm=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");no>_D&&(no=0,pf=null,f("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function JD(){ka.flushLegacyContextWarning(),ka.flushPendingUnsafeLifecycleWarnings()}function CS(e,t){st(e),gf(e,Yr,yD),t&&gf(e,ld,gD),gf(e,Yr,mD),t&&gf(e,ld,hD),It()}function gf(e,t,n){for(var a=e,r=null;a!==null;){var i=a.subtreeFlags&t;a!==r&&a.child!==null&&i!==he?a=a.child:((a.flags&t)!==he&&n(a),a.sibling!==null?a=a.sibling:a=r=a.return)}}var bf=null;function RS(e){{if((je&cn)!==Mt||!(e.mode&Ae))return;var t=e.tag;if(t!==F&&t!==U&&t!==_&&t!==R&&t!==I&&t!==ze&&t!==Ue)return;var n=Re(e)||"ReactComponent";if(bf!==null){if(bf.has(n))return;bf.add(n)}else bf=new Set([n]);var a=Nn;try{st(e),f("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{a?st(e):It()}}}var gm;{var ZD=null;gm=function(e,t,n){var a=kS(ZD,t);try{return Ab(e,t,n)}catch(i){if(fN()||i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(Tc(),Vg(),$b(e,t),kS(t,a),t.mode&Ge&&Sv(t),ed(null,Ab,null,e,t,n),LC()){var r=td();typeof r=="object"&&r!==null&&r._suppressLogging&&typeof i=="object"&&i!==null&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}}}var xS=!1,bm;bm=new Set;function e0(e){if(xi&&!PN())switch(e.tag){case R:case I:case Ue:{var t=pt&&Re(pt)||"Unknown",n=t;if(!bm.has(n)){bm.add(n);var a=Re(e)||"Unknown";f("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",a,t,t)}break}case _:{xS||(f("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),xS=!0);break}}}function Zu(e,t){if(Na){var n=e.memoizedUpdaters;n.forEach(function(a){Gh(e,a,t)})}}var Sm={};function Em(e,t){{var n=Ha.current;return n!==null?(n.push(t),Sm):Lh(e,t)}}function TS(e){if(e!==Sm)return BC(e)}function _S(){return Ha.current!==null}function t0(e){{if(e.mode&Ae){if(!aS())return}else if(!CD()||je!==Mt||e.tag!==R&&e.tag!==I&&e.tag!==Ue)return;if(Ha.current===null){var t=Nn;try{st(e),f(`An update to %s inside a test was not wrapped in act(...).
- When testing, code that causes React state updates should be wrapped into act(...):
- act(() => {
- /* fire events that update state */
- });
- /* assert on the output */
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Re(e))}finally{t?st(e):It()}}}}function n0(e){e.tag!==Zr&&aS()&&Ha.current===null&&f(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
- When testing, code that resolves suspended data should be wrapped into act(...):
- act(() => {
- /* finish loading suspended data */
- });
- /* assert on the output */
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function es(e){sS=e}var ha=null,ao=null,a0=function(e){ha=e};function ro(e){{if(ha===null)return e;var t=ha(e);return t===void 0?e:t.current}}function Cm(e){return ro(e)}function Rm(e){{if(ha===null)return e;var t=ha(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=ro(e.render);if(e.render!==n){var a={$$typeof:ce,render:n};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function NS(e,t){{if(ha===null)return!1;var n=e.elementType,a=t.type,r=!1,i=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case _:{typeof a=="function"&&(r=!0);break}case R:{(typeof a=="function"||i===pe)&&(r=!0);break}case I:{(i===ce||i===pe)&&(r=!0);break}case ze:case Ue:{(i===Te||i===pe)&&(r=!0);break}default:return!1}if(r){var l=ha(n);if(l!==void 0&&l===ha(a))return!0}return!1}}function wS(e){{if(ha===null||typeof WeakSet!="function")return;ao===null&&(ao=new WeakSet),ao.add(e)}}var r0=function(e,t){{if(ha===null)return;var n=t.staleFamilies,a=t.updatedFamilies;Mr(),zr(function(){xm(e.current,a,n)})}},i0=function(e,t){{if(e.context!==ta)return;Mr(),zr(function(){ts(t,e,null,null)})}};function xm(e,t,n){{var a=e.alternate,r=e.child,i=e.sibling,l=e.tag,o=e.type,u=null;switch(l){case R:case Ue:case _:u=o;break;case I:u=o.render;break}if(ha===null)throw new Error("Expected resolveFamily to be set during hot reload.");var p=!1,v=!1;if(u!==null){var C=ha(u);C!==void 0&&(n.has(C)?v=!0:t.has(C)&&(l===_?v=!0:p=!0))}if(ao!==null&&(ao.has(e)||a!==null&&ao.has(a))&&(v=!0),v&&(e._debugNeedsRemount=!0),v||p){var E=Bn(e,be);E!==null&&Vt(E,e,be,et)}r!==null&&!v&&xm(r,t,n),i!==null&&xm(i,t,n)}}var l0=function(e,t){{var n=new Set,a=new Set(t.map(function(r){return r.current}));return Tm(e.current,a,n),n}};function Tm(e,t,n){{var a=e.child,r=e.sibling,i=e.tag,l=e.type,o=null;switch(i){case R:case Ue:case _:o=l;break;case I:o=l.render;break}var u=!1;o!==null&&t.has(o)&&(u=!0),u?o0(e,n):a!==null&&Tm(a,t,n),r!==null&&Tm(r,t,n)}}function o0(e,t){{var n=u0(e,t);if(n)return;for(var a=e;;){switch(a.tag){case H:t.add(a.stateNode);return;case w:t.add(a.stateNode.containerInfo);return;case U:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function u0(e,t){for(var n=e,a=!1;;){if(n.tag===H)a=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return a;for(;n.sibling===null;){if(n.return===null||n.return===e)return a;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var _m;{_m=!1;try{var DS=Object.preventExtensions({})}catch{_m=!0}}function s0(e,t,n,a){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=he,this.subtreeFlags=he,this.deletions=null,this.lanes=B,this.childLanes=B,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!_m&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var na=function(e,t,n,a){return new s0(e,t,n,a)};function Nm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function c0(e){return typeof e=="function"&&!Nm(e)&&e.defaultProps===void 0}function f0(e){if(typeof e=="function")return Nm(e)?_:R;if(e!=null){var t=e.$$typeof;if(t===ce)return I;if(t===Te)return ze}return F}function tl(e,t){var n=e.alternate;n===null?(n=na(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=he,n.subtreeFlags=he,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Er,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var a=e.dependencies;switch(n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case F:case R:case Ue:n.type=ro(e.type);break;case _:n.type=Cm(e.type);break;case I:n.type=Rm(e.type);break}return n}function d0(e,t){e.flags&=Er|Tt;var n=e.alternate;if(n===null)e.childLanes=B,e.lanes=t,e.child=null,e.subtreeFlags=he,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=he,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var a=n.dependencies;e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function p0(e,t,n){var a;return e===mc?(a=Ae,t===!0&&(a|=gt,a|=Qa)):a=ve,Na&&(a|=Ge),na(U,null,null,a)}function wm(e,t,n,a,r,i){var l=F,o=e;if(typeof e=="function")Nm(e)?(l=_,o=Cm(o)):o=ro(o);else if(typeof e=="string")l=H;else e:switch(e){case Ia:return di(n.children,r,i,t);case gi:l=ne,r|=gt,(r&Ae)!==ve&&(r|=Qa);break;case b:return v0(n,r,i,t);case Le:return m0(n,r,i,t);case ge:return h0(n,r,i,t);case it:return US(n,r,i,t);case mn:case Dt:case qa:case xa:case rt:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $:l=P;break e;case X:l=ue;break e;case ce:l=I,o=Rm(o);break e;case Te:l=ze;break e;case pe:l=Ft,o=null;break e}var u="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var p=a?Re(a):null;p&&(u+=`
- Check the render method of \``+p+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+u))}}var v=na(l,n,t,r);return v.elementType=e,v.type=o,v.lanes=i,v._debugOwner=a,v}function Dm(e,t,n){var a=null;a=e._owner;var r=e.type,i=e.key,l=e.props,o=wm(r,i,l,a,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function di(e,t,n,a){var r=na(de,e,a,t);return r.lanes=n,r}function v0(e,t,n,a){typeof e.id!="string"&&f('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=na(oe,e,a,t|Ge);return r.elementType=b,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}function m0(e,t,n,a){var r=na(ie,e,a,t);return r.elementType=Le,r.lanes=n,r}function h0(e,t,n,a){var r=na(St,e,a,t);return r.elementType=ge,r.lanes=n,r}function US(e,t,n,a){var r=na(xe,e,a,t);r.elementType=it,r.lanes=n;var i={isHidden:!1};return r.stateNode=i,r}function Um(e,t,n){var a=na(G,e,null,t);return a.lanes=n,a}function y0(){var e=na(H,null,null,ve);return e.elementType="DELETED",e}function g0(e){var t=na(mt,null,null,ve);return t.stateNode=e,t}function km(e,t,n){var a=e.children!==null?e.children:[],r=na(w,a,e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function kS(e,t){return e===null&&(e=na(F,null,null,ve)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function b0(e,t,n,a,r){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=dp,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Wt,this.eventTimes=Md(B),this.expirationTimes=Md(et),this.pendingLanes=B,this.suspendedLanes=B,this.pingedLanes=B,this.expiredLanes=B,this.mutableReadLanes=B,this.finishedLanes=B,this.entangledLanes=B,this.entanglements=Md(B),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],l=0;l<dd;l++)i.push(new Set)}switch(t){case mc:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Zr:this._debugRootType=n?"hydrate()":"render()";break}}function OS(e,t,n,a,r,i,l,o,u,p){var v=new b0(e,t,n,o,u),C=p0(t,i);v.current=C,C.stateNode=v;{var E={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};C.memoizedState=E}return Yp(C),v}var Om="18.3.1";function S0(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return la(a),{$$typeof:Qn,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var Lm,zm;Lm=!1,zm={};function LS(e){if(!e)return ta;var t=yl(e),n=nN(t);if(t.tag===_){var a=t.type;if(Ja(a))return lg(t,a,n)}return n}function E0(e,t){{var n=yl(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var r=Uh(n);if(r===null)return null;if(r.mode>){var i=Re(n)||"Component";if(!zm[i]){zm[i]=!0;var l=Nn;try{st(r),n.mode>?f("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):f("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{l?st(l):It()}}}return r.stateNode}}function zS(e,t,n,a,r,i,l,o){var u=!1,p=null;return OS(e,t,u,p,n,a,r,i,l)}function MS(e,t,n,a,r,i,l,o,u,p){var v=!0,C=OS(n,a,v,e,r,i,l,o,u);C.context=LS(null);var E=C.current,D=Ln(),O=ci(E),M=Ur(D,O);return M.callback=t??null,ni(E,M,O),wD(C,O,D),C}function ts(e,t,n,a){QC(t,e);var r=t.current,i=Ln(),l=ci(r);mR(l);var o=LS(n);t.context===null?t.context=o:t.pendingContext=o,xi&&Nn!==null&&!Lm&&(Lm=!0,f(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
- Check the render method of %s.`,Re(Nn)||"Unknown"));var u=Ur(i,l);u.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&f("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),u.callback=a);var p=ni(r,u,l);return p!==null&&(Vt(p,r,l,i),Uc(p,r,l)),l}function Sf(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case H:return t.child.stateNode;default:return t.child.stateNode}}function C0(e){switch(e.tag){case U:{var t=e.stateNode;if(Hs(t)){var n=xR(t);OD(t,n)}break}case ie:{zr(function(){var r=Bn(e,be);if(r!==null){var i=Ln();Vt(r,e,be,i)}});var a=be;Mm(e,a);break}}}function AS(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=UR(n.retryLane,t))}function Mm(e,t){AS(e,t);var n=e.alternate;n&&AS(n,t)}function R0(e){if(e.tag===ie){var t=Fo,n=Bn(e,t);if(n!==null){var a=Ln();Vt(n,e,t,a)}Mm(e,t)}}function x0(e){if(e.tag===ie){var t=ci(e),n=Bn(e,t);if(n!==null){var a=Ln();Vt(n,e,t,a)}Mm(e,t)}}function jS(e){var t=FC(e);return t===null?null:t.stateNode}var VS=function(e){return null};function T0(e){return VS(e)}var HS=function(e){return!1};function _0(e){return HS(e)}var FS=null,BS=null,$S=null,PS=null,YS=null,IS=null,qS=null,GS=null,WS=null;{var QS=function(e,t,n){var a=t[n],r=ke(e)?e.slice():De({},e);return n+1===t.length?(ke(r)?r.splice(a,1):delete r[a],r):(r[a]=QS(e[a],t,n+1),r)},XS=function(e,t){return QS(e,t,0)},KS=function(e,t,n,a){var r=t[a],i=ke(e)?e.slice():De({},e);if(a+1===t.length){var l=n[a];i[l]=i[r],ke(i)?i.splice(r,1):delete i[r]}else i[r]=KS(e[r],t,n,a+1);return i},JS=function(e,t,n){if(t.length!==n.length){S("copyWithRename() expects paths of the same length");return}else for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){S("copyWithRename() expects paths to be the same except for the deepest key");return}return KS(e,t,n,0)},ZS=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],i=ke(e)?e.slice():De({},e);return i[r]=ZS(e[r],t,n+1,a),i},eE=function(e,t,n){return ZS(e,t,0,n)},Am=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};FS=function(e,t,n,a){var r=Am(e,t);if(r!==null){var i=eE(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=De({},e.memoizedProps);var l=Bn(e,be);l!==null&&Vt(l,e,be,et)}},BS=function(e,t,n){var a=Am(e,t);if(a!==null){var r=XS(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=De({},e.memoizedProps);var i=Bn(e,be);i!==null&&Vt(i,e,be,et)}},$S=function(e,t,n,a){var r=Am(e,t);if(r!==null){var i=JS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=De({},e.memoizedProps);var l=Bn(e,be);l!==null&&Vt(l,e,be,et)}},PS=function(e,t,n){e.pendingProps=eE(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Bn(e,be);a!==null&&Vt(a,e,be,et)},YS=function(e,t){e.pendingProps=XS(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Bn(e,be);n!==null&&Vt(n,e,be,et)},IS=function(e,t,n){e.pendingProps=JS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Bn(e,be);a!==null&&Vt(a,e,be,et)},qS=function(e){var t=Bn(e,be);t!==null&&Vt(t,e,be,et)},GS=function(e){VS=e},WS=function(e){HS=e}}function N0(e){var t=Uh(e);return t===null?null:t.stateNode}function w0(e){return null}function D0(){return Nn}function U0(e){var t=e.findFiberByHostInstance,n=m.ReactCurrentDispatcher;return WC({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:FS,overrideHookStateDeletePath:BS,overrideHookStateRenamePath:$S,overrideProps:PS,overridePropsDeletePath:YS,overridePropsRenamePath:IS,setErrorHandler:GS,setSuspenseHandler:WS,scheduleUpdate:qS,currentDispatcherRef:n,findHostInstanceByFiber:N0,findFiberByHostInstance:t||w0,findHostInstancesForRefresh:l0,scheduleRefresh:r0,scheduleRoot:i0,setRefreshHandler:a0,getCurrentFiber:D0,reconcilerVersion:Om})}var tE=typeof reportError=="function"?reportError:function(e){console.error(e)};function jm(e){this._internalRoot=e}Ef.prototype.render=jm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?f("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Cf(arguments[1])?f("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&f("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==xt){var a=jS(t.current);a&&a.parentNode!==n&&f("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}ts(e,t,null,null)},Ef.prototype.unmount=jm.prototype.unmount=function(){typeof arguments[0]=="function"&&f("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;pS()&&f("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),zr(function(){ts(null,e,null,null)}),tg(t)}};function k0(e,t){if(!Cf(e))throw new Error("createRoot(...): Target container is not a DOM element.");nE(e);var n=!1,a=!1,r="",i=tE;t!=null&&(t.hydrate?S("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ua&&f(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
- let root = createRoot(domContainer);
- root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var l=zS(e,mc,null,n,a,r,i);uc(l.current,e);var o=e.nodeType===xt?e.parentNode:e;return ou(o),new jm(l)}function Ef(e){this._internalRoot=e}function O0(e){e&&GR(e)}Ef.prototype.unstable_scheduleHydration=O0;function L0(e,t,n){if(!Cf(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");nE(e),t===void 0&&f("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=n??null,r=n!=null&&n.hydratedSources||null,i=!1,l=!1,o="",u=tE;n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(u=n.onRecoverableError));var p=MS(t,null,e,mc,a,i,l,o,u);if(uc(p.current,e),ou(e),r)for(var v=0;v<r.length;v++){var C=r[v];jN(p,C)}return new Ef(p)}function Cf(e){return!!(e&&(e.nodeType===Hn||e.nodeType===gr||e.nodeType===Pf))}function ns(e){return!!(e&&(e.nodeType===Hn||e.nodeType===gr||e.nodeType===Pf||e.nodeType===xt&&e.nodeValue===" react-mount-point-unstable "))}function nE(e){e.nodeType===Hn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),gu(e)&&(e._reactRootContainer?f("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):f("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var z0=m.ReactCurrentOwner,aE;aE=function(e){if(e._reactRootContainer&&e.nodeType!==xt){var t=jS(e._reactRootContainer.current);t&&t.parentNode!==e&&f("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,a=Vm(e),r=!!(a&&Kr(a));r&&!n&&f("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Hn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Vm(e){return e?e.nodeType===gr?e.documentElement:e.firstChild:null}function rE(){}function M0(e,t,n,a,r){if(r){if(typeof a=="function"){var i=a;a=function(){var E=Sf(l);i.call(E)}}var l=MS(t,a,e,Zr,null,!1,!1,"",rE);e._reactRootContainer=l,uc(l.current,e);var o=e.nodeType===xt?e.parentNode:e;return ou(o),zr(),l}else{for(var u;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var p=a;a=function(){var E=Sf(v);p.call(E)}}var v=zS(e,Zr,null,!1,!1,"",rE);e._reactRootContainer=v,uc(v.current,e);var C=e.nodeType===xt?e.parentNode:e;return ou(C),zr(function(){ts(t,v,n,a)}),v}}function A0(e,t){e!==null&&typeof e!="function"&&f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Rf(e,t,n,a,r){aE(n),A0(r===void 0?null:r,"render");var i=n._reactRootContainer,l;if(!i)l=M0(n,t,e,r,a);else{if(l=i,typeof r=="function"){var o=r;r=function(){var u=Sf(l);o.call(u)}}ts(t,l,e,r)}return Sf(l)}var iE=!1;function j0(e){{iE||(iE=!0,f("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=z0.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||f("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Be(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Hn?e:E0(e,"findDOMNode")}function V0(e,t,n){if(f("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ns(t))throw new Error("Target container is not a DOM element.");{var a=gu(t)&&t._reactRootContainer===void 0;a&&f("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Rf(null,e,t,!0,n)}function H0(e,t,n){if(f("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ns(t))throw new Error("Target container is not a DOM element.");{var a=gu(t)&&t._reactRootContainer===void 0;a&&f("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Rf(null,e,t,!1,n)}function F0(e,t,n,a){if(f("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ns(n))throw new Error("Target container is not a DOM element.");if(e==null||!zC(e))throw new Error("parentComponent must be a valid React Component");return Rf(e,t,n,!1,a)}var lE=!1;function B0(e){if(lE||(lE=!0,f("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!ns(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=gu(e)&&e._reactRootContainer===void 0;t&&f("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var n=Vm(e),a=n&&!Kr(n);a&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return zr(function(){Rf(null,null,e,!1,function(){e._reactRootContainer=null,tg(e)})}),!0}else{{var r=Vm(e),i=!!(r&&Kr(r)),l=e.nodeType===Hn&&ns(e.parentNode)&&!!e.parentNode._reactRootContainer;i&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",l?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}jR(C0),HR(R0),FR(x0),BR(wa),$R(zR),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&f("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),RC(PT),_C(mm,LD,zr);function $0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Cf(t))throw new Error("Target container is not a DOM element.");return S0(e,t,null,n)}function P0(e,t,n,a){return F0(e,t,n,a)}var Hm={usingClientEntryPoint:!1,Events:[Kr,Ml,sc,yh,gh,mm]};function Y0(e,t){return Hm.usingClientEntryPoint||f('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),k0(e,t)}function I0(e,t,n){return Hm.usingClientEntryPoint||f('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),L0(e,t,n)}function q0(e){return pS()&&f("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),zr(e)}var G0=U0({findFiberByHostInstance:Fi,bundleType:1,version:Om,rendererPackageName:"react-dom"});if(!G0&&en&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var oE=window.location.protocol;/^(https?|file):$/.test(oE)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(oE==="file:"?`
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ra.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Hm,ra.createPortal=$0,ra.createRoot=Y0,ra.findDOMNode=j0,ra.flushSync=q0,ra.hydrate=V0,ra.hydrateRoot=I0,ra.render=H0,ra.unmountComponentAtNode=B0,ra.unstable_batchedUpdates=mm,ra.unstable_renderSubtreeIntoContainer=P0,ra.version=Om,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();EE.exports=ra;var t1=EE.exports,Fm=t1;{var xf=Fm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ym.createRoot=function(s,d){xf.usingClientEntryPoint=!0;try{return Fm.createRoot(s,d)}finally{xf.usingClientEntryPoint=!1}},Ym.hydrateRoot=function(s,d,m){xf.usingClientEntryPoint=!0;try{return Fm.hydrateRoot(s,d,m)}finally{xf.usingClientEntryPoint=!1}}}/**
- * @remix-run/router v1.23.3
- *
- * Copyright (c) Remix Software Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.md file in the root directory of this source tree.
- *
- * @license MIT
- */function is(){return is=Object.assign?Object.assign.bind():function(s){for(var d=1;d<arguments.length;d++){var m=arguments[d];for(var h in m)({}).hasOwnProperty.call(m,h)&&(s[h]=m[h])}return s},is.apply(null,arguments)}var vi;(function(s){s.Pop="POP",s.Push="PUSH",s.Replace="REPLACE"})(vi||(vi={}));const uE="popstate";function n1(s){s===void 0&&(s={});function d(h,y){let{pathname:S,search:f,hash:L}=h.location;return Im("",{pathname:S,search:f,hash:L},y.state&&y.state.usr||null,y.state&&y.state.key||"default")}function m(h,y){return typeof y=="string"?y:ls(y)}return r1(d,m,null,s)}function vt(s,d){if(s===!1||s===null||typeof s>"u")throw new Error(d)}function Ba(s,d){if(!s){typeof console<"u"&&console.warn(d);try{throw new Error(d)}catch{}}}function a1(){return Math.random().toString(36).substr(2,8)}function sE(s,d){return{usr:s.state,key:s.key,idx:d}}function Im(s,d,m,h){return m===void 0&&(m=null),is({pathname:typeof s=="string"?s:s.pathname,search:"",hash:""},typeof d=="string"?co(d):d,{state:m,key:d&&d.key||h||a1()})}function ls(s){let{pathname:d="/",search:m="",hash:h=""}=s;return m&&m!=="?"&&(d+=m.charAt(0)==="?"?m:"?"+m),h&&h!=="#"&&(d+=h.charAt(0)==="#"?h:"#"+h),d}function co(s){let d={};if(s){let m=s.indexOf("#");m>=0&&(d.hash=s.substr(m),s=s.substr(0,m));let h=s.indexOf("?");h>=0&&(d.search=s.substr(h),s=s.substr(0,h)),s&&(d.pathname=s)}return d}function r1(s,d,m,h){h===void 0&&(h={});let{window:y=document.defaultView,v5Compat:S=!1}=h,f=y.history,L=vi.Pop,R=null,_=F();_==null&&(_=0,f.replaceState(is({},f.state,{idx:_}),""));function F(){return(f.state||{idx:null}).idx}function U(){L=vi.Pop;let ne=F(),ue=ne==null?null:ne-_;_=ne,R&&R({action:L,location:de.location,delta:ue})}function w(ne,ue){L=vi.Push;let P=Im(de.location,ne,ue);_=F()+1;let I=sE(P,_),oe=de.createHref(P);try{f.pushState(I,"",oe)}catch(ie){if(ie instanceof DOMException&&ie.name==="DataCloneError")throw ie;y.location.assign(oe)}S&&R&&R({action:L,location:de.location,delta:1})}function H(ne,ue){L=vi.Replace;let P=Im(de.location,ne,ue);_=F();let I=sE(P,_),oe=de.createHref(P);f.replaceState(I,"",oe),S&&R&&R({action:L,location:de.location,delta:0})}function G(ne){let ue=y.location.origin!=="null"?y.location.origin:y.location.href,P=typeof ne=="string"?ne:ls(ne);return P=P.replace(/ $/,"%20"),vt(ue,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,ue)}let de={get action(){return L},get location(){return s(y,f)},listen(ne){if(R)throw new Error("A history only accepts one active listener");return y.addEventListener(uE,U),R=ne,()=>{y.removeEventListener(uE,U),R=null}},createHref(ne){return d(y,ne)},createURL:G,encodeLocation(ne){let ue=G(ne);return{pathname:ue.pathname,search:ue.search,hash:ue.hash}},push:w,replace:H,go(ne){return f.go(ne)}};return de}var cE;(function(s){s.data="data",s.deferred="deferred",s.redirect="redirect",s.error="error"})(cE||(cE={}));function i1(s,d,m){return m===void 0&&(m="/"),l1(s,d,m)}function l1(s,d,m,h){let y=typeof d=="string"?co(d):d,S=mi(y.pathname||"/",m);if(S==null)return null;let f=xE(s);o1(f);let L=null,R=g1(S);for(let _=0;L==null&&_<f.length;++_)L=h1(f[_],R);return L}function xE(s,d,m,h){d===void 0&&(d=[]),m===void 0&&(m=[]),h===void 0&&(h="");let y=(S,f,L)=>{let R={relativePath:L===void 0?S.path||"":L,caseSensitive:S.caseSensitive===!0,childrenIndex:f,route:S};R.relativePath.startsWith("/")&&(vt(R.relativePath.startsWith(h),'Absolute route path "'+R.relativePath+'" nested under path '+('"'+h+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),R.relativePath=R.relativePath.slice(h.length));let _=jr([h,R.relativePath]),F=m.concat(R);S.children&&S.children.length>0&&(vt(S.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+_+'".')),xE(S.children,d,F,_)),!(S.path==null&&!S.index)&&d.push({path:_,score:v1(_,S.index),routesMeta:F})};return s.forEach((S,f)=>{var L;if(S.path===""||!((L=S.path)!=null&&L.includes("?")))y(S,f);else for(let R of TE(S.path))y(S,f,R)}),d}function TE(s){let d=s.split("/");if(d.length===0)return[];let[m,...h]=d,y=m.endsWith("?"),S=m.replace(/\?$/,"");if(h.length===0)return y?[S,""]:[S];let f=TE(h.join("/")),L=[];return L.push(...f.map(R=>R===""?S:[S,R].join("/"))),y&&L.push(...f),L.map(R=>s.startsWith("/")&&R===""?"/":R)}function o1(s){s.sort((d,m)=>d.score!==m.score?m.score-d.score:m1(d.routesMeta.map(h=>h.childrenIndex),m.routesMeta.map(h=>h.childrenIndex)))}const u1=/^:[\w-]+$/,s1=3,c1=2,f1=1,d1=10,p1=-2,fE=s=>s==="*";function v1(s,d){let m=s.split("/"),h=m.length;return m.some(fE)&&(h+=p1),d&&(h+=c1),m.filter(y=>!fE(y)).reduce((y,S)=>y+(u1.test(S)?s1:S===""?f1:d1),h)}function m1(s,d){return s.length===d.length&&s.slice(0,-1).every((h,y)=>h===d[y])?s[s.length-1]-d[d.length-1]:0}function h1(s,d,m){let{routesMeta:h}=s,y={},S="/",f=[];for(let L=0;L<h.length;++L){let R=h[L],_=L===h.length-1,F=S==="/"?d:d.slice(S.length)||"/",U=qm({path:R.relativePath,caseSensitive:R.caseSensitive,end:_},F),w=R.route;if(!U)return null;Object.assign(y,U.params),f.push({params:y,pathname:jr([S,U.pathname]),pathnameBase:R1(jr([S,U.pathnameBase])),route:w}),U.pathnameBase!=="/"&&(S=jr([S,U.pathnameBase]))}return f}function qm(s,d){typeof s=="string"&&(s={path:s,caseSensitive:!1,end:!0});let[m,h]=y1(s.path,s.caseSensitive,s.end),y=d.match(m);if(!y)return null;let S=y[0],f=S.replace(/(.)\/+$/,"$1"),L=y.slice(1);return{params:h.reduce((_,F,U)=>{let{paramName:w,isOptional:H}=F;if(w==="*"){let de=L[U]||"";f=S.slice(0,S.length-de.length).replace(/(.)\/+$/,"$1")}const G=L[U];return H&&!G?_[w]=void 0:_[w]=(G||"").replace(/%2F/g,"/"),_},{}),pathname:S,pathnameBase:f,pattern:s}}function y1(s,d,m){d===void 0&&(d=!1),m===void 0&&(m=!0),Ba(s==="*"||!s.endsWith("*")||s.endsWith("/*"),'Route path "'+s+'" will be treated as if it were '+('"'+s.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+s.replace(/\*$/,"/*")+'".'));let h=[],y="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,L,R)=>(h.push({paramName:L,isOptional:R!=null}),R?"/?([^\\/]+)?":"/([^\\/]+)"));return s.endsWith("*")?(h.push({paramName:"*"}),y+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):m?y+="\\/*$":s!==""&&s!=="/"&&(y+="(?:(?=\\/|$))"),[new RegExp(y,d?void 0:"i"),h]}function g1(s){try{return s.split("/").map(d=>decodeURIComponent(d).replace(/\//g,"%2F")).join("/")}catch(d){return Ba(!1,'The URL path "'+s+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+d+").")),s}}function mi(s,d){if(d==="/")return s;if(!s.toLowerCase().startsWith(d.toLowerCase()))return null;let m=d.endsWith("/")?d.length-1:d.length,h=s.charAt(m);return h&&h!=="/"?null:s.slice(m)||"/"}const b1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,S1=s=>b1.test(s);function E1(s,d){d===void 0&&(d="/");let{pathname:m,search:h="",hash:y=""}=typeof s=="string"?co(s):s,S;if(m)if(S1(m))S=m;else{if(m.includes("//")){let f=m;m=wE(m),Ba(!1,"Pathnames cannot have embedded double slashes - normalizing "+(f+" -> "+m))}m.startsWith("/")?S=dE(m.substring(1),"/"):S=dE(m,d)}else S=d;return{pathname:S,search:x1(h),hash:T1(y)}}function dE(s,d){let m=d.replace(/\/+$/,"").split("/");return s.split("/").forEach(y=>{y===".."?m.length>1&&m.pop():y!=="."&&m.push(y)}),m.length>1?m.join("/"):"/"}function Bm(s,d,m,h){return"Cannot include a '"+s+"' character in a manually specified "+("`to."+d+"` field ["+JSON.stringify(h)+"]. Please separate it out to the ")+("`to."+m+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function C1(s){return s.filter((d,m)=>m===0||d.route.path&&d.route.path.length>0)}function _E(s,d){let m=C1(s);return d?m.map((h,y)=>y===m.length-1?h.pathname:h.pathnameBase):m.map(h=>h.pathnameBase)}function NE(s,d,m,h){h===void 0&&(h=!1);let y;typeof s=="string"?y=co(s):(y=is({},s),vt(!y.pathname||!y.pathname.includes("?"),Bm("?","pathname","search",y)),vt(!y.pathname||!y.pathname.includes("#"),Bm("#","pathname","hash",y)),vt(!y.search||!y.search.includes("#"),Bm("#","search","hash",y)));let S=s===""||y.pathname==="",f=S?"/":y.pathname,L;if(f==null)L=m;else{let U=d.length-1;if(!h&&f.startsWith("..")){let w=f.split("/");for(;w[0]==="..";)w.shift(),U-=1;y.pathname=w.join("/")}L=U>=0?d[U]:"/"}let R=E1(y,L),_=f&&f!=="/"&&f.endsWith("/"),F=(S||f===".")&&m.endsWith("/");return!R.pathname.endsWith("/")&&(_||F)&&(R.pathname+="/"),R}const wE=s=>s.replace(/\/\/+/g,"/"),jr=s=>wE(s.join("/")),R1=s=>s.replace(/\/+$/,"").replace(/^\/*/,"/"),x1=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,T1=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s;function _1(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}const DE=["post","put","patch","delete"];new Set(DE);const N1=["get",...DE];new Set(N1);/**
- * React Router v6.30.4
- *
- * Copyright (c) Remix Software Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.md file in the root directory of this source tree.
- *
- * @license MIT
- */function os(){return os=Object.assign?Object.assign.bind():function(s){for(var d=1;d<arguments.length;d++){var m=arguments[d];for(var h in m)({}).hasOwnProperty.call(m,h)&&(s[h]=m[h])}return s},os.apply(null,arguments)}const ss=j.createContext(null);ss.displayName="DataRouter";const Wm=j.createContext(null);Wm.displayName="DataRouterState";const w1=j.createContext(null);w1.displayName="Await";const $a=j.createContext(null);$a.displayName="Navigation";const cs=j.createContext(null);cs.displayName="Location";const ur=j.createContext({outlet:null,matches:[],isDataRoute:!1});ur.displayName="Route";const Qm=j.createContext(null);Qm.displayName="RouteError";function D1(s,d){let{relative:m}=d===void 0?{}:d;fs()||vt(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:h,navigator:y}=j.useContext($a),{hash:S,pathname:f,search:L}=ds(s,{relative:m}),R=f;return h!=="/"&&(R=f==="/"?h:jr([h,f])),y.createHref({pathname:R,search:L,hash:S})}function fs(){return j.useContext(cs)!=null}function nl(){return fs()||vt(!1,"useLocation() may be used only in the context of a <Router> component."),j.useContext(cs).location}const UE="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function kE(s){j.useContext($a).static||j.useLayoutEffect(s)}function Xm(){let{isDataRoute:s}=j.useContext(ur);return s?Y1():U1()}function U1(){fs()||vt(!1,"useNavigate() may be used only in the context of a <Router> component.");let s=j.useContext(ss),{basename:d,future:m,navigator:h}=j.useContext($a),{matches:y}=j.useContext(ur),{pathname:S}=nl(),f=JSON.stringify(_E(y,m.v7_relativeSplatPath)),L=j.useRef(!1);return kE(()=>{L.current=!0}),j.useCallback(function(_,F){if(F===void 0&&(F={}),Ba(L.current,UE),!L.current)return;if(typeof _=="number"){h.go(_);return}let U=NE(_,JSON.parse(f),S,F.relative==="path");s==null&&d!=="/"&&(U.pathname=U.pathname==="/"?d:jr([d,U.pathname])),(F.replace?h.replace:h.push)(U,F.state,F)},[d,h,f,S,s])}function k1(){let{matches:s}=j.useContext(ur),d=s[s.length-1];return d?d.params:{}}function ds(s,d){let{relative:m}=d===void 0?{}:d,{future:h}=j.useContext($a),{matches:y}=j.useContext(ur),{pathname:S}=nl(),f=JSON.stringify(_E(y,h.v7_relativeSplatPath));return j.useMemo(()=>NE(s,JSON.parse(f),S,m==="path"),[s,f,S,m])}function O1(s,d){return L1(s,d)}function L1(s,d,m,h){fs()||vt(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:y}=j.useContext($a),{matches:S}=j.useContext(ur),f=S[S.length-1],L=f?f.params:{},R=f?f.pathname:"/",_=f?f.pathnameBase:"/",F=f&&f.route;{let P=F&&F.path||"";LE(R,!F||P.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+R+'" (under <Route path="'+P+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
- `+('Please change the parent <Route path="'+P+'"> to <Route ')+('path="'+(P==="/"?"*":P+"/*")+'">.'))}let U=nl(),w;if(d){var H;let P=typeof d=="string"?co(d):d;_==="/"||(H=P.pathname)!=null&&H.startsWith(_)||vt(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+_+'" ')+('but pathname "'+P.pathname+'" was given in the `location` prop.')),w=P}else w=U;let G=w.pathname||"/",de=G;if(_!=="/"){let P=_.replace(/^\//,"").split("/");de="/"+G.replace(/^\//,"").split("/").slice(P.length).join("/")}let ne=i1(s,{pathname:de});Ba(F||ne!=null,'No routes matched location "'+w.pathname+w.search+w.hash+'" '),Ba(ne==null||ne[ne.length-1].route.element!==void 0||ne[ne.length-1].route.Component!==void 0||ne[ne.length-1].route.lazy!==void 0,'Matched leaf route at location "'+w.pathname+w.search+w.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let ue=V1(ne&&ne.map(P=>Object.assign({},P,{params:Object.assign({},L,P.params),pathname:jr([_,y.encodeLocation?y.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?_:jr([_,y.encodeLocation?y.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),S,m,h);return d&&ue?j.createElement(cs.Provider,{value:{location:os({pathname:"/",search:"",hash:"",state:null,key:"default"},w),navigationType:vi.Pop}},ue):ue}function z1(){let s=P1(),d=_1(s)?s.status+" "+s.statusText:s instanceof Error?s.message:JSON.stringify(s),m=s instanceof Error?s.stack:null,h="rgba(200,200,200, 0.5)",y={padding:"0.5rem",backgroundColor:h},S={padding:"2px 4px",backgroundColor:h},f=null;return console.error("Error handled by React Router default ErrorBoundary:",s),f=j.createElement(j.Fragment,null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:S},"ErrorBoundary")," or"," ",j.createElement("code",{style:S},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},d),m?j.createElement("pre",{style:y},m):null,f)}const M1=j.createElement(z1,null);class A1 extends j.Component{constructor(d){super(d),this.state={location:d.location,revalidation:d.revalidation,error:d.error}}static getDerivedStateFromError(d){return{error:d}}static getDerivedStateFromProps(d,m){return m.location!==d.location||m.revalidation!=="idle"&&d.revalidation==="idle"?{error:d.error,location:d.location,revalidation:d.revalidation}:{error:d.error!==void 0?d.error:m.error,location:m.location,revalidation:d.revalidation||m.revalidation}}componentDidCatch(d,m){console.error("React Router caught the following error during render",d,m)}render(){return this.state.error!==void 0?j.createElement(ur.Provider,{value:this.props.routeContext},j.createElement(Qm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function j1(s){let{routeContext:d,match:m,children:h}=s,y=j.useContext(ss);return y&&y.static&&y.staticContext&&(m.route.errorElement||m.route.ErrorBoundary)&&(y.staticContext._deepestRenderedBoundaryId=m.route.id),j.createElement(ur.Provider,{value:d},h)}function V1(s,d,m,h){var y;if(d===void 0&&(d=[]),m===void 0&&(m=null),h===void 0&&(h=null),s==null){var S;if(!m)return null;if(m.errors)s=m.matches;else if((S=h)!=null&&S.v7_partialHydration&&d.length===0&&!m.initialized&&m.matches.length>0)s=m.matches;else return null}let f=s,L=(y=m)==null?void 0:y.errors;if(L!=null){let F=f.findIndex(U=>U.route.id&&(L==null?void 0:L[U.route.id])!==void 0);F>=0||vt(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(L).join(",")),f=f.slice(0,Math.min(f.length,F+1))}let R=!1,_=-1;if(m&&h&&h.v7_partialHydration)for(let F=0;F<f.length;F++){let U=f[F];if((U.route.HydrateFallback||U.route.hydrateFallbackElement)&&(_=F),U.route.id){let{loaderData:w,errors:H}=m,G=U.route.loader&&w[U.route.id]===void 0&&(!H||H[U.route.id]===void 0);if(U.route.lazy||G){R=!0,_>=0?f=f.slice(0,_+1):f=[f[0]];break}}}return f.reduceRight((F,U,w)=>{let H,G=!1,de=null,ne=null;m&&(H=L&&U.route.id?L[U.route.id]:void 0,de=U.route.errorElement||M1,R&&(_<0&&w===0?(LE("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),G=!0,ne=null):_===w&&(G=!0,ne=U.route.hydrateFallbackElement||null)));let ue=d.concat(f.slice(0,w+1)),P=()=>{let I;return H?I=de:G?I=ne:U.route.Component?I=j.createElement(U.route.Component,null):U.route.element?I=U.route.element:I=F,j.createElement(j1,{match:U,routeContext:{outlet:F,matches:ue,isDataRoute:m!=null},children:I})};return m&&(U.route.ErrorBoundary||U.route.errorElement||w===0)?j.createElement(A1,{location:m.location,revalidation:m.revalidation,component:de,error:H,children:P(),routeContext:{outlet:null,matches:ue,isDataRoute:!0}}):P()},null)}var OE=function(s){return s.UseBlocker="useBlocker",s.UseRevalidator="useRevalidator",s.UseNavigateStable="useNavigate",s}(OE||{}),us=function(s){return s.UseBlocker="useBlocker",s.UseLoaderData="useLoaderData",s.UseActionData="useActionData",s.UseRouteError="useRouteError",s.UseNavigation="useNavigation",s.UseRouteLoaderData="useRouteLoaderData",s.UseMatches="useMatches",s.UseRevalidator="useRevalidator",s.UseNavigateStable="useNavigate",s.UseRouteId="useRouteId",s}(us||{});function Km(s){return s+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function H1(s){let d=j.useContext(ss);return d||vt(!1,Km(s)),d}function F1(s){let d=j.useContext(Wm);return d||vt(!1,Km(s)),d}function B1(s){let d=j.useContext(ur);return d||vt(!1,Km(s)),d}function Jm(s){let d=B1(s),m=d.matches[d.matches.length-1];return m.route.id||vt(!1,s+' can only be used on routes that contain a unique "id"'),m.route.id}function $1(){return Jm(us.UseRouteId)}function P1(){var s;let d=j.useContext(Qm),m=F1(us.UseRouteError),h=Jm(us.UseRouteError);return d!==void 0?d:(s=m.errors)==null?void 0:s[h]}function Y1(){let{router:s}=H1(OE.UseNavigateStable),d=Jm(us.UseNavigateStable),m=j.useRef(!1);return kE(()=>{m.current=!0}),j.useCallback(function(y,S){S===void 0&&(S={}),Ba(m.current,UE),m.current&&(typeof y=="number"?s.navigate(y):s.navigate(y,os({fromRouteId:d},S)))},[s,d])}const pE={};function LE(s,d,m){!d&&!pE[s]&&(pE[s]=!0,Ba(!1,m))}const vE={};function I1(s,d){vE[d]||(vE[d]=!0,console.warn(d))}const mE=(s,d,m)=>I1(s,"⚠️ React Router Future Flag Warning: "+d+". "+("You can use the `"+s+"` future flag to opt-in early. ")+("For more information, see "+m+"."));function q1(s,d){(s==null?void 0:s.v7_startTransition)===void 0&&mE("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(s==null?void 0:s.v7_relativeSplatPath)===void 0&&mE("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function _f(s){vt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function G1(s){let{basename:d="/",children:m=null,location:h,navigationType:y=vi.Pop,navigator:S,static:f=!1,future:L}=s;fs()&&vt(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let R=d.replace(/^\/*/,"/"),_=j.useMemo(()=>({basename:R,navigator:S,static:f,future:os({v7_relativeSplatPath:!1},L)}),[R,L,S,f]);typeof h=="string"&&(h=co(h));let{pathname:F="/",search:U="",hash:w="",state:H=null,key:G="default"}=h,de=j.useMemo(()=>{let ne=mi(F,R);return ne==null?null:{location:{pathname:ne,search:U,hash:w,state:H,key:G},navigationType:y}},[R,F,U,w,H,G,y]);return Ba(de!=null,'<Router basename="'+R+'"> is not able to match the URL '+('"'+F+U+w+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),de==null?null:j.createElement($a.Provider,{value:_},j.createElement(cs.Provider,{children:m,value:de}))}function W1(s){let{children:d,location:m}=s;return O1(Gm(d),m)}new Promise(()=>{});function Gm(s,d){d===void 0&&(d=[]);let m=[];return j.Children.forEach(s,(h,y)=>{if(!j.isValidElement(h))return;let S=[...d,y];if(h.type===j.Fragment){m.push.apply(m,Gm(h.props.children,S));return}h.type!==_f&&vt(!1,"["+(typeof h.type=="string"?h.type:h.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!h.props.index||!h.props.children||vt(!1,"An index route cannot have child routes.");let f={id:h.props.id||S.join("-"),caseSensitive:h.props.caseSensitive,element:h.props.element,Component:h.props.Component,index:h.props.index,path:h.props.path,loader:h.props.loader,action:h.props.action,errorElement:h.props.errorElement,ErrorBoundary:h.props.ErrorBoundary,hasErrorBoundary:h.props.ErrorBoundary!=null||h.props.errorElement!=null,shouldRevalidate:h.props.shouldRevalidate,handle:h.props.handle,lazy:h.props.lazy};h.props.children&&(f.children=Gm(h.props.children,S)),m.push(f)}),m}/**
- * React Router DOM v6.30.4
- *
- * Copyright (c) Remix Software Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.md file in the root directory of this source tree.
- *
- * @license MIT
- */function uo(){return uo=Object.assign?Object.assign.bind():function(s){for(var d=1;d<arguments.length;d++){var m=arguments[d];for(var h in m)({}).hasOwnProperty.call(m,h)&&(s[h]=m[h])}return s},uo.apply(null,arguments)}function Zm(s,d){if(s==null)return{};var m={};for(var h in s)if({}.hasOwnProperty.call(s,h)){if(d.indexOf(h)!==-1)continue;m[h]=s[h]}return m}const Nf="get",wf="application/x-www-form-urlencoded";function kf(s){return s!=null&&typeof s.tagName=="string"}function Q1(s){return kf(s)&&s.tagName.toLowerCase()==="button"}function X1(s){return kf(s)&&s.tagName.toLowerCase()==="form"}function K1(s){return kf(s)&&s.tagName.toLowerCase()==="input"}function J1(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function Z1(s,d){return s.button===0&&(!d||d==="_self")&&!J1(s)}let Tf=null;function eU(){if(Tf===null)try{new FormData(document.createElement("form"),0),Tf=!1}catch{Tf=!0}return Tf}const tU=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $m(s){return s!=null&&!tU.has(s)?(Ba(!1,'"'+s+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+wf+'"')),null):s}function nU(s,d){let m,h,y,S,f;if(X1(s)){let L=s.getAttribute("action");h=L?mi(L,d):null,m=s.getAttribute("method")||Nf,y=$m(s.getAttribute("enctype"))||wf,S=new FormData(s)}else if(Q1(s)||K1(s)&&(s.type==="submit"||s.type==="image")){let L=s.form;if(L==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let R=s.getAttribute("formaction")||L.getAttribute("action");if(h=R?mi(R,d):null,m=s.getAttribute("formmethod")||L.getAttribute("method")||Nf,y=$m(s.getAttribute("formenctype"))||$m(L.getAttribute("enctype"))||wf,S=new FormData(L,s),!eU()){let{name:_,type:F,value:U}=s;if(F==="image"){let w=_?_+".":"";S.append(w+"x","0"),S.append(w+"y","0")}else _&&S.append(_,U)}}else{if(kf(s))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');m=Nf,h=null,y=wf,f=s}return S&&y==="text/plain"&&(f=S,S=void 0),{action:h,method:m.toLowerCase(),encType:y,formData:S,body:f}}const aU=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],rU=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],iU=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],lU="6";try{window.__reactRouterVersion=lU}catch{}const zE=j.createContext({isTransitioning:!1});zE.displayName="ViewTransition";const oU=j.createContext(new Map);oU.displayName="Fetchers";const uU="startTransition",hE=Z0[uU];function sU(s){let{basename:d,children:m,future:h,window:y}=s,S=j.useRef();S.current==null&&(S.current=n1({window:y,v5Compat:!0}));let f=S.current,[L,R]=j.useState({action:f.action,location:f.location}),{v7_startTransition:_}=h||{},F=j.useCallback(U=>{_&&hE?hE(()=>R(U)):R(U)},[R,_]);return j.useLayoutEffect(()=>f.listen(F),[f,F]),j.useEffect(()=>q1(h),[h]),j.createElement(G1,{basename:d,children:m,location:L.location,navigationType:L.action,navigator:f,future:h})}const cU=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",fU=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,so=j.forwardRef(function(d,m){let{onClick:h,relative:y,reloadDocument:S,replace:f,state:L,target:R,to:_,preventScrollReset:F,viewTransition:U}=d,w=Zm(d,aU),{basename:H}=j.useContext($a),G,de=!1;if(typeof _=="string"&&fU.test(_)&&(G=_,cU))try{let I=new URL(window.location.href),oe=_.startsWith("//")?new URL(I.protocol+_):new URL(_),ie=mi(oe.pathname,H);oe.origin===I.origin&&ie!=null?_=ie+oe.search+oe.hash:de=!0}catch{Ba(!1,'<Link to="'+_+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let ne=D1(_,{relative:y}),ue=mU(_,{replace:f,state:L,target:R,preventScrollReset:F,relative:y,viewTransition:U});function P(I){h&&h(I),I.defaultPrevented||ue(I)}return j.createElement("a",uo({},w,{href:G||ne,onClick:de||S?h:P,ref:m,target:R}))});so.displayName="Link";const dU=j.forwardRef(function(d,m){let{"aria-current":h="page",caseSensitive:y=!1,className:S="",end:f=!1,style:L,to:R,viewTransition:_,children:F}=d,U=Zm(d,rU),w=ds(R,{relative:U.relative}),H=nl(),G=j.useContext(Wm),{navigator:de,basename:ne}=j.useContext($a),ue=G!=null&&EU(w)&&_===!0,P=de.encodeLocation?de.encodeLocation(w).pathname:w.pathname,I=H.pathname,oe=G&&G.navigation&&G.navigation.location?G.navigation.location.pathname:null;y||(I=I.toLowerCase(),oe=oe?oe.toLowerCase():null,P=P.toLowerCase()),oe&&ne&&(oe=mi(oe,ne)||oe);const ie=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let ze=I===P||!f&&I.startsWith(P)&&I.charAt(ie)==="/",Ue=oe!=null&&(oe===P||!f&&oe.startsWith(P)&&oe.charAt(P.length)==="/"),Ft={isActive:ze,isPending:Ue,isTransitioning:ue},nt=ze?h:void 0,mt;typeof S=="function"?mt=S(Ft):mt=[S,ze?"active":null,Ue?"pending":null,ue?"transitioning":null].filter(Boolean).join(" ");let St=typeof L=="function"?L(Ft):L;return j.createElement(so,uo({},U,{"aria-current":nt,className:mt,ref:m,style:St,to:R,viewTransition:_}),typeof F=="function"?F(Ft):F)});dU.displayName="NavLink";const pU=j.forwardRef((s,d)=>{let{fetcherKey:m,navigate:h,reloadDocument:y,replace:S,state:f,method:L=Nf,action:R,onSubmit:_,relative:F,preventScrollReset:U,viewTransition:w}=s,H=Zm(s,iU),G=bU(),de=SU(R,{relative:F}),ne=L.toLowerCase()==="get"?"get":"post",ue=P=>{if(_&&_(P),P.defaultPrevented)return;P.preventDefault();let I=P.nativeEvent.submitter,oe=(I==null?void 0:I.getAttribute("formmethod"))||L;G(I||P.currentTarget,{fetcherKey:m,method:oe,navigate:h,replace:S,state:f,relative:F,preventScrollReset:U,viewTransition:w})};return j.createElement("form",uo({ref:d,method:ne,action:de,onSubmit:y?_:ue},H))});pU.displayName="Form";var Uf;(function(s){s.UseScrollRestoration="useScrollRestoration",s.UseSubmit="useSubmit",s.UseSubmitFetcher="useSubmitFetcher",s.UseFetcher="useFetcher",s.useViewTransitionState="useViewTransitionState"})(Uf||(Uf={}));var yE;(function(s){s.UseFetcher="useFetcher",s.UseFetchers="useFetchers",s.UseScrollRestoration="useScrollRestoration"})(yE||(yE={}));function vU(s){return s+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function ME(s){let d=j.useContext(ss);return d||vt(!1,vU(s)),d}function mU(s,d){let{target:m,replace:h,state:y,preventScrollReset:S,relative:f,viewTransition:L}=d===void 0?{}:d,R=Xm(),_=nl(),F=ds(s,{relative:f});return j.useCallback(U=>{if(Z1(U,m)){U.preventDefault();let w=h!==void 0?h:ls(_)===ls(F);R(s,{replace:w,state:y,preventScrollReset:S,relative:f,viewTransition:L})}},[_,R,F,h,y,m,s,S,f,L])}function hU(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let yU=0,gU=()=>"__"+String(++yU)+"__";function bU(){let{router:s}=ME(Uf.UseSubmit),{basename:d}=j.useContext($a),m=$1();return j.useCallback(function(h,y){y===void 0&&(y={}),hU();let{action:S,method:f,encType:L,formData:R,body:_}=nU(h,d);if(y.navigate===!1){let F=y.fetcherKey||gU();s.fetch(F,m,y.action||S,{preventScrollReset:y.preventScrollReset,formData:R,body:_,formMethod:y.method||f,formEncType:y.encType||L,flushSync:y.flushSync})}else s.navigate(y.action||S,{preventScrollReset:y.preventScrollReset,formData:R,body:_,formMethod:y.method||f,formEncType:y.encType||L,replace:y.replace,state:y.state,fromRouteId:m,flushSync:y.flushSync,viewTransition:y.viewTransition})},[s,d,m])}function SU(s,d){let{relative:m}=d===void 0?{}:d,{basename:h}=j.useContext($a),y=j.useContext(ur);y||vt(!1,"useFormAction must be used inside a RouteContext");let[S]=y.matches.slice(-1),f=uo({},ds(s||".",{relative:m})),L=nl();if(s==null){f.search=L.search;let R=new URLSearchParams(f.search),_=R.getAll("index");if(_.some(U=>U==="")){R.delete("index"),_.filter(w=>w).forEach(w=>R.append("index",w));let U=R.toString();f.search=U?"?"+U:""}}return(!s||s===".")&&S.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),h!=="/"&&(f.pathname=f.pathname==="/"?h:jr([h,f.pathname])),ls(f)}function EU(s,d){d===void 0&&(d={});let m=j.useContext(zE);m==null&&vt(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:h}=ME(Uf.useViewTransitionState),y=ds(s,{relative:d.relative});if(!m.isTransitioning)return!1;let S=mi(m.currentLocation.pathname,h)||m.currentLocation.pathname,f=mi(m.nextLocation.pathname,h)||m.nextLocation.pathname;return qm(y.pathname,f)!=null||qm(y.pathname,S)!=null}const CU="_wrapper_divff_1",RU="_header_divff_7",xU="_headerInner_divff_19",TU="_logo_divff_28",_U="_newBtn_divff_34",NU="_main_divff_48",lo={wrapper:CU,header:RU,headerInner:xU,logo:TU,newBtn:_U,main:NU};function wU({children:s}){const m=nl().pathname==="/";return N.jsxDEV("div",{className:lo.wrapper,children:[N.jsxDEV("header",{className:lo.header,children:N.jsxDEV("div",{className:lo.headerInner,children:[N.jsxDEV(so,{to:"/",className:lo.logo,children:"Playable Ads"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:13,columnNumber:11},this),m&&N.jsxDEV(so,{to:"/creatives/new",className:lo.newBtn,children:"+ 新建创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:17,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:12,columnNumber:9},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:11,columnNumber:7},this),N.jsxDEV("main",{className:lo.main,children:s},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:23,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:10,columnNumber:5},this)}const AE="/ads/api/v1".replace(/\/+$/,"");async function In(s,d){var h;const m=await fetch(`${AE}${s}`,{headers:{"Content-Type":"application/json"},...d});if(!m.ok){const y=await m.json().catch(()=>({}));throw new Error(((h=y.error)==null?void 0:h.message)||`HTTP ${m.status}`)}return m.json()}const Cn={getTemplates:()=>In("/templates"),getTemplate:s=>In(`/templates/${s}`),getCreatives:s=>{const d=s?"?"+new URLSearchParams(s).toString():"";return In(`/creatives${d}`)},createCreative:s=>In("/creatives",{method:"POST",body:JSON.stringify(s)}),getCreative:s=>In(`/creatives/${s}`),updateCreative:(s,d)=>In(`/creatives/${s}`,{method:"PATCH",body:JSON.stringify(d)}),deleteCreative:s=>In(`/creatives/${s}`,{method:"DELETE"}),uploadAssets:(s,d)=>{const m=new FormData;return m.append("file",d),fetch(`${AE}/creatives/${s}/assets/upload`,{method:"POST",body:m}).then(h=>h.ok?h.json():h.json().then(y=>{var S;throw new Error((S=y.error)==null?void 0:S.message)}))},importFromUrl:(s,d)=>In(`/creatives/${s}/assets/upload`,{method:"POST",body:JSON.stringify({url:d})}),clearAssets:s=>In(`/creatives/${s}/assets`,{method:"DELETE"}),startPreview:(s,d)=>In(`/creatives/${s}/preview/start`,{method:"POST",body:d?JSON.stringify({theme:d}):void 0}),stopPreview:s=>In(`/creatives/${s}/preview/stop`,{method:"POST"}),triggerBuild:(s,d)=>In(`/creatives/${s}/builds`,{method:"POST",body:JSON.stringify(d)}),getBuilds:s=>In(`/creatives/${s}/builds`),getBuildStatus:s=>In(`/builds/${s}/status`)},DU="_grid_stzwd_1",UU="_card_stzwd_7",kU="_cardTitle_stzwd_21",OU="_cardMeta_stzwd_27",LU="_status_stzwd_35",zU="_cardTime_stzwd_39",MU="_state_stzwd_44",AU="_empty_stzwd_50",jU="_emptyTitle_stzwd_55",VU="_emptyDesc_stzwd_61",HU="_emptyBtn_stzwd_66",ya={grid:DU,card:UU,cardTitle:kU,cardMeta:OU,status:LU,cardTime:zU,state:MU,empty:AU,emptyTitle:jU,emptyDesc:VU,emptyBtn:HU};function FU(){const[s,d]=j.useState([]),[m,h]=j.useState(!0),[y,S]=j.useState("");j.useEffect(()=>{Cn.getCreatives().then(R=>d(R.data)).catch(R=>S(R.message)).finally(()=>h(!1))},[]);const f={draft:"草稿",assets_ready:"素材已就绪",building:"构建中",built:"已构建",failed:"失败"},L={draft:"#86868b",assets_ready:"#0071e3",building:"#ff9500",built:"#34c759",failed:"#ff3b30"};return m?N.jsxDEV("div",{className:ya.state,children:"加载中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:37,columnNumber:12},this):y?N.jsxDEV("div",{className:ya.state,children:["加载失败:",y]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:41,columnNumber:12},this):s.length===0?N.jsxDEV("div",{className:ya.empty,children:[N.jsxDEV("p",{className:ya.emptyTitle,children:"暂无创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:47,columnNumber:9},this),N.jsxDEV("p",{className:ya.emptyDesc,children:'点击"新建创意"开始制作 Playable 广告'},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:48,columnNumber:9},this),N.jsxDEV(so,{to:"/creatives/new",className:ya.emptyBtn,children:"新建创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:49,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:46,columnNumber:7},this):N.jsxDEV("div",{className:ya.grid,children:s.map(R=>N.jsxDEV(so,{to:`/creatives/${R.id}`,className:ya.card,children:[N.jsxDEV("h3",{className:ya.cardTitle,children:R.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:60,columnNumber:11},this),N.jsxDEV("div",{className:ya.cardMeta,children:[N.jsxDEV("span",{children:["模板:",R.templateName]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:62,columnNumber:13},this),N.jsxDEV("span",{className:ya.status,style:{color:L[R.status]},children:["● ",f[R.status]||R.status]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:63,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:61,columnNumber:11},this),N.jsxDEV("div",{className:ya.cardTime,children:["更新于 ",new Date(R.updatedAt).toLocaleString("zh-CN")]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:70,columnNumber:11},this)]},R.id,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:59,columnNumber:9},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:57,columnNumber:5},this)}const BU="_container_3l872_1",$U="_back_3l872_5",PU="_title_3l872_14",YU="_form_3l872_20",IU="_section_3l872_26",qU="_label_3l872_32",GU="_input_3l872_38",WU="_templateList_3l872_51",QU="_templateCard_3l872_57",XU="_selected_3l872_68",KU="_templateInfo_3l872_77",JU="_templateDesc_3l872_83",ZU="_templateMeta_3l872_88",ek="_error_3l872_93",tk="_actions_3l872_98",nk="_cancelBtn_3l872_104",ak="_submitBtn_3l872_112",Ht={container:BU,back:$U,title:PU,form:YU,section:IU,label:qU,input:GU,templateList:WU,templateCard:QU,selected:XU,templateInfo:KU,templateDesc:JU,templateMeta:ZU,error:ek,actions:tk,cancelBtn:nk,submitBtn:ak};function rk(){const s=Xm(),[d,m]=j.useState([]),[h,y]=j.useState("coloring"),[S,f]=j.useState(""),[L,R]=j.useState(!1),[_,F]=j.useState("");j.useEffect(()=>{Cn.getTemplates().then(w=>{m(w.data),w.data.length>0&&y(w.data[0].id)}).catch(w=>F(w.message))},[]);async function U(w){if(w.preventDefault(),!!S.trim()){R(!0),F("");try{const H=await Cn.createCreative({name:S.trim(),templateId:h});s(`/creatives/${H.data.id}`)}catch(H){F(H.message)}finally{R(!1)}}}return N.jsxDEV("div",{className:Ht.container,children:[N.jsxDEV("button",{onClick:()=>s(-1),className:Ht.back,children:"← 返回"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:47,columnNumber:7},this),N.jsxDEV("h2",{className:Ht.title,children:"新建创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:51,columnNumber:7},this),N.jsxDEV("form",{onSubmit:U,className:Ht.form,children:[N.jsxDEV("div",{className:Ht.section,children:[N.jsxDEV("label",{className:Ht.label,children:"选择模板"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:55,columnNumber:11},this),N.jsxDEV("div",{className:Ht.templateList,children:d.map(w=>N.jsxDEV("label",{className:`${Ht.templateCard} ${h===w.id?Ht.selected:""}`,children:[N.jsxDEV("input",{type:"radio",name:"template",value:w.id,checked:h===w.id,onChange:()=>y(w.id)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:64,columnNumber:17},this),N.jsxDEV("div",{className:Ht.templateInfo,children:[N.jsxDEV("strong",{children:w.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:72,columnNumber:19},this),N.jsxDEV("span",{className:Ht.templateDesc,children:w.description},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:73,columnNumber:19},this),N.jsxDEV("span",{className:Ht.templateMeta,children:["必填素材 ",w.assetCount.required," 项 · 可选 ",w.assetCount.optional," 项 ·"," ","支持 ",w.platforms.length," 个平台"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:74,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:71,columnNumber:17},this)]},w.id,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:58,columnNumber:15},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:56,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:54,columnNumber:9},this),N.jsxDEV("div",{className:Ht.section,children:[N.jsxDEV("label",{className:Ht.label,htmlFor:"name",children:"创意名称"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:85,columnNumber:11},this),N.jsxDEV("input",{id:"name",type:"text",className:Ht.input,placeholder:"例如:萌宠填色-谷歌渠道",value:S,onChange:w=>f(w.target.value),maxLength:100,required:!0},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:88,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:84,columnNumber:9},this),_&&N.jsxDEV("p",{className:Ht.error,children:_},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:100,columnNumber:19},this),N.jsxDEV("div",{className:Ht.actions,children:[N.jsxDEV("button",{type:"button",className:Ht.cancelBtn,onClick:()=>s(-1),children:"取消"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:103,columnNumber:11},this),N.jsxDEV("button",{type:"submit",className:Ht.submitBtn,disabled:!S.trim()||L,children:L?"创建中…":"创建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:110,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:102,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:53,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:46,columnNumber:5},this)}const ik="_wrapper_1l8z4_1",lk="_tabs_1l8z4_8",ok="_tab_1l8z4_8",uk="_tabActive_1l8z4_31",sk="_urlRow_1l8z4_37",ck="_urlInput_1l8z4_42",fk="_urlBtn_1l8z4_56",dk="_dropZone_1l8z4_72",pk="_fileInput_1l8z4_90",vk="_dropIcon_1l8z4_94",mk="_dropText_1l8z4_98",hk="_dropHint_1l8z4_103",yk="_fileList_1l8z4_108",gk="_fileListHeader_1l8z4_114",bk="_clearBtn_1l8z4_125",Sk="_fileItem_1l8z4_132",Ek="_fileOk_1l8z4_140",Ck="_fileMissing_1l8z4_141",Rk="_fileName_1l8z4_143",xk="_fileLabel_1l8z4_151",Tk="_fileSize_1l8z4_157",_k="_warnings_1l8z4_162",Nk="_error_1l8z4_175",wk="_hint_1l8z4_180",tt={wrapper:ik,tabs:lk,tab:ok,tabActive:uk,urlRow:sk,urlInput:ck,urlBtn:fk,dropZone:dk,fileInput:pk,dropIcon:vk,dropText:mk,dropHint:hk,fileList:yk,fileListHeader:gk,clearBtn:bk,fileItem:Sk,fileOk:Ek,fileMissing:Ck,fileName:Rk,fileLabel:xk,fileSize:Tk,warnings:_k,error:Nk,hint:wk};function Dk({creativeId:s,assets:d,assetDefs:m,onUpdated:h}){const[y,S]=j.useState("file"),[f,L]=j.useState(!1),[R,_]=j.useState(""),[F,U]=j.useState(null),[w,H]=j.useState("");async function G(I){var ie;const oe=(ie=I.target.files)==null?void 0:ie[0];if(oe){L(!0),H(""),U(null);try{const ze=await Cn.uploadAssets(s,oe);U(ze.data),h()}catch(ze){H(ze.message)}finally{L(!1),I.target.value=""}}}async function de(){if(R.trim()){L(!0),H(""),U(null);try{const I=await Cn.importFromUrl(s,R.trim());U(I.data),h()}catch(I){H(I.message)}finally{L(!1)}}}async function ne(){if(confirm("确认清除所有素材?"))try{await Cn.clearAssets(s),U(null),_(""),h()}catch(I){H(I.message)}}const ue=[...m.required,...m.optional],P=m.required.every(I=>d.some(oe=>oe.key===I.key));return N.jsxDEV("div",{className:tt.wrapper,children:[N.jsxDEV("div",{className:tt.tabs,children:[N.jsxDEV("button",{className:`${tt.tab} ${y==="file"?tt.tabActive:""}`,onClick:()=>S("file"),children:"上传 ZIP"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:86,columnNumber:9},this),N.jsxDEV("button",{className:`${tt.tab} ${y==="url"?tt.tabActive:""}`,onClick:()=>S("url"),children:"素材 URL"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:92,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:85,columnNumber:7},this),y==="file"&&N.jsxDEV("label",{className:tt.dropZone,children:[N.jsxDEV("input",{type:"file",accept:".zip",onChange:G,disabled:f,className:tt.fileInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:103,columnNumber:11},this),N.jsxDEV("span",{className:tt.dropIcon,children:"📦"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:110,columnNumber:11},this),N.jsxDEV("span",{className:tt.dropText,children:f?"解压中…":"拖拽或点击上传素材 zip"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:111,columnNumber:11},this),N.jsxDEV("span",{className:tt.dropHint,children:"包含 config.json + page.png + map.png ± special.jpeg"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:114,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:102,columnNumber:9},this),y==="url"&&N.jsxDEV("div",{className:tt.urlRow,children:[N.jsxDEV("input",{type:"url",className:tt.urlInput,placeholder:"https://color2.jccytech.cn/app/zh/pages/detail/6a15...",value:R,onChange:I=>_(I.target.value),disabled:f},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:123,columnNumber:11},this),N.jsxDEV("button",{onClick:de,disabled:!R.trim()||f,className:tt.urlBtn,children:f?"获取中…":"导入"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:131,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:122,columnNumber:9},this),F&&F.warnings.length>0&&N.jsxDEV("div",{className:tt.warnings,children:F.warnings.map((I,oe)=>N.jsxDEV("p",{children:["⚠️ ",I]},oe,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:145,columnNumber:13},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:143,columnNumber:9},this),w&&N.jsxDEV("p",{className:tt.error,children:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:150,columnNumber:17},this),d.length>0&&N.jsxDEV("div",{className:tt.fileList,children:[N.jsxDEV("div",{className:tt.fileListHeader,children:[N.jsxDEV("span",{children:["已上传文件 (",d.filter(I=>I.isRequired).length,"/",m.required.length," 必填)"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:156,columnNumber:13},this),N.jsxDEV("button",{onClick:ne,className:tt.clearBtn,children:"清除素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:159,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:155,columnNumber:11},this),ue.map(I=>{const oe=d.find(ze=>ze.key===I.key),ie=m.required.some(ze=>ze.key===I.key);return N.jsxDEV("div",{className:tt.fileItem,children:[N.jsxDEV("span",{className:oe?tt.fileOk:tt.fileMissing,children:oe?"✅":ie?"❌":"⬜"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:168,columnNumber:17},this),N.jsxDEV("span",{className:tt.fileName,children:I.file},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:171,columnNumber:17},this),N.jsxDEV("span",{className:tt.fileLabel,children:[I.label," ",!ie&&"(选填)"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:172,columnNumber:17},this),oe&&N.jsxDEV("span",{className:tt.fileSize,children:[(oe.fileSize/1024).toFixed(0)," KB"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:176,columnNumber:19},this)]},I.key,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:167,columnNumber:15},this)})]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:154,columnNumber:9},this),!P&&d.length>0&&N.jsxDEV("p",{className:tt.hint,children:"请上传包含所有必填文件的 zip 包"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:187,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:83,columnNumber:5},this)}const Uk="_wrapper_ymyhm_1",kk="_preview_ymyhm_7",Ok="_stops_ymyhm_14",Lk="_stopItem_ymyhm_20",zk="_colorPicker_ymyhm_26",Mk="_stopLabel_ymyhm_45",Ak="_rawInput_ymyhm_51",jk="_fallback_ymyhm_65",pi={wrapper:Uk,preview:kk,stops:Ok,stopItem:Lk,colorPicker:zk,stopLabel:Mk,rawInput:Ak,fallback:jk};function Vk(s){const d=s.match(/linear-gradient\(([^,]+),\s*(.+)\)/);if(!d)return null;const m=d[1].trim(),h=d[2],y=[],S=h.split(/,(?![^(]*\))/);for(const f of S){const L=f.trim(),R=L.match(/^(.+?)\s+(\d+%)$/);R?y.push({color:R[1].trim(),position:R[2]}):y.push({color:L,position:""})}return{direction:m,stops:y}}function Hk(s,d){const m=d.map(h=>h.position?`${h.color} ${h.position}`:h.color).join(", ");return`linear-gradient(${s}, ${m})`}function Fk({value:s,onChange:d}){const m=j.useMemo(()=>Vk(s),[s]);if(!m)return N.jsxDEV("input",{type:"text",value:s,onChange:y=>d(y.target.value),className:pi.fallback},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:56,columnNumber:7},this);function h(y,S){const f=m.stops.map((L,R)=>R===y?{...L,color:S}:L);d(Hk(m.direction,f))}return N.jsxDEV("div",{className:pi.wrapper,children:[N.jsxDEV("div",{className:pi.preview,style:{background:s},title:s},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:75,columnNumber:7},this),N.jsxDEV("div",{className:pi.stops,children:m.stops.map((y,S)=>N.jsxDEV("div",{className:pi.stopItem,children:[N.jsxDEV("input",{type:"color",value:y.color,onChange:f=>h(S,f.target.value),className:pi.colorPicker},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:85,columnNumber:13},this),N.jsxDEV("span",{className:pi.stopLabel,children:[y.color,y.position&&` ${y.position}`]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:91,columnNumber:13},this)]},S,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:84,columnNumber:11},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:82,columnNumber:7},this),N.jsxDEV("input",{type:"text",value:s,onChange:y=>d(y.target.value),className:pi.rawInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:100,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:73,columnNumber:5},this)}const Bk="_wrapper_1p2kt_1",$k="_empty_1p2kt_7",Pk="_field_1p2kt_12",Yk="_label_1p2kt_18",Ik="_textInput_1p2kt_24",qk="_colorRow_1p2kt_36",Gk="_colorInput_1p2kt_42",Wk="_colorValue_1p2kt_51",Qk="_saveBtn_1p2kt_57",or={wrapper:Bk,empty:$k,field:Pk,label:Yk,textInput:Ik,colorRow:qk,colorInput:Gk,colorValue:Wk,saveBtn:Qk};function Xk({creativeId:s,theme:d,themeProps:m,onUpdated:h}){const[y,S]=j.useState({}),[f,L]=j.useState(!1),[R,_]=j.useState(!1);if(j.useEffect(()=>{const w={};for(const H of m)w[H.key]=d[H.key]??H.default;S(w)},[d,m]),m.length===0)return N.jsxDEV("p",{className:or.empty,children:"此模板无可配置的主题参数。"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:29,columnNumber:12},this);const F=JSON.stringify(y)!==JSON.stringify(Object.fromEntries(m.map(w=>[w.key,d[w.key]??w.default])));async function U(){L(!0);try{await Cn.updateCreative(s,{theme:y}),_(!0),setTimeout(()=>_(!1),2e3),h()}catch{}finally{L(!1)}}return N.jsxDEV("div",{className:or.wrapper,children:[m.map(w=>N.jsxDEV("div",{className:or.field,children:[N.jsxDEV("label",{className:or.label,children:w.label},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:56,columnNumber:11},this),w.type==="color"?N.jsxDEV("div",{className:or.colorRow,children:[N.jsxDEV("input",{type:"color",value:y[w.key]||w.default,onChange:H=>S(G=>({...G,[w.key]:H.target.value})),className:or.colorInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:59,columnNumber:15},this),N.jsxDEV("span",{className:or.colorValue,children:y[w.key]||w.default},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:67,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:58,columnNumber:13},this):w.type==="text"?N.jsxDEV("input",{type:"text",value:y[w.key]||"",maxLength:w.maxLength,onChange:H=>S(G=>({...G,[w.key]:H.target.value})),className:or.textInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:72,columnNumber:13},this):w.type==="css-gradient"?N.jsxDEV(Fk,{value:y[w.key]||w.default,onChange:H=>S(G=>({...G,[w.key]:H}))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:82,columnNumber:13},this):N.jsxDEV("input",{type:"text",value:y[w.key]||w.default,onChange:H=>S(G=>({...G,[w.key]:H.target.value})),className:or.textInput,placeholder:w.default},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:89,columnNumber:13},this)]},w.key,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:55,columnNumber:9},this)),N.jsxDEV("button",{onClick:U,disabled:!F||f,className:or.saveBtn,children:f?"保存中…":R?"已保存 ✓":"保存主题"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:102,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:53,columnNumber:5},this)}const Kk="_wrapper_1olln_1",Jk="_label_1olln_9",Zk="_chip_1olln_16",eO="_on_1olln_29",tO="_checkbox_1olln_35",rs={wrapper:Kk,label:Jk,chip:Zk,on:eO,checkbox:tO};function nO({platforms:s,selected:d,onChange:m}){const h=new Set(d);function y(S){h.has(S)?m(d.filter(f=>f!==S)):m([...d,S])}return N.jsxDEV("div",{className:rs.wrapper,children:[N.jsxDEV("span",{className:rs.label,children:"目标平台:"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:22,columnNumber:7},this),s.map(S=>N.jsxDEV("label",{className:`${rs.chip} ${h.has(S)?rs.on:""}`,children:[N.jsxDEV("input",{type:"checkbox",checked:h.has(S),onChange:()=>y(S),className:rs.checkbox},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:28,columnNumber:11},this),S]},S,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:24,columnNumber:9},this))]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:21,columnNumber:5},this)}const aO="_wrapper_ta51n_1",rO="_buildBtn_ta51n_8",iO="_spinner_ta51n_31",lO="_hint_ta51n_44",oO="_error_ta51n_49",uO="_success_ta51n_54",oo={wrapper:aO,buildBtn:rO,spinner:iO,hint:lO,error:oO,success:uO};function sO({creativeId:s,creativeStatus:d,selectedPlatforms:m,theme:h,themeProps:y,onBuildComplete:S}){const[f,L]=j.useState(!1),[R,_]=j.useState(null),[F,U]=j.useState(""),w=d==="assets_ready"||d==="built";async function H(){if(m.length===0){U("请至少选择一个目标平台");return}L(!0),U(""),_(null);try{const de={};for(const P of y)de[P.key]=h[P.key]??P.default;const ue=(await Cn.triggerBuild(s,{platforms:m,theme:de})).data.id;_(ue),await G(ue),S()}catch(de){U(de.message)}finally{L(!1)}}async function G(de){return new Promise((ne,ue)=>{const P=setInterval(async()=>{try{const I=await Cn.getBuildStatus(de);I.data.status==="completed"?(clearInterval(P),ne()):I.data.status==="failed"&&(clearInterval(P),ue(new Error(I.data.errorLog||"构建失败")))}catch(I){clearInterval(P),ue(I)}},2e3);setTimeout(()=>{clearInterval(P),ue(new Error("构建超时,请刷新查看状态"))},12e4)})}return N.jsxDEV("div",{className:oo.wrapper,children:[N.jsxDEV("button",{onClick:H,disabled:!w||f,className:oo.buildBtn,children:f?N.jsxDEV(N.Fragment,{children:[N.jsxDEV("span",{className:oo.spinner},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:99,columnNumber:13},this)," 构建中…"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:98,columnNumber:11},this):"🚀 开始构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:92,columnNumber:7},this),!w&&N.jsxDEV("p",{className:oo.hint,children:"请先上传素材后再构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:107,columnNumber:9},this),F&&N.jsxDEV("p",{className:oo.error,children:["构建失败:",F]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:110,columnNumber:22},this),R&&!f&&!F&&N.jsxDEV("p",{className:oo.success,children:"构建完成!请在下方下载产物。"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:113,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:91,columnNumber:5},this)}const cO="_wrapper_1ffeq_1",fO="_title_1ffeq_5",dO="_empty_1ffeq_12",pO="_list_1ffeq_18",vO="_item_1ffeq_24",mO="_itemInfo_1ffeq_31",hO="_status_1ffeq_39",yO="_platforms_1ffeq_43",gO="_platformTag_1ffeq_48",bO="_time_1ffeq_57",SO="_downloads_1ffeq_63",EO="_downloadLink_1ffeq_70",CO="_downloadAll_1ffeq_85",RO="_errorLog_1ffeq_93",qn={wrapper:cO,title:fO,empty:dO,list:pO,item:vO,itemInfo:mO,status:hO,platforms:yO,platformTag:gO,time:bO,downloads:SO,downloadLink:EO,downloadAll:CO,errorLog:RO};function xO({creativeId:s,builds:d,onUpdated:m}){const[h,y]=j.useState(d);j.useEffect(()=>{y(d)},[d]),j.useEffect(()=>{if(!h.some(_=>_.status==="building"||_.status==="pending"))return;const R=setInterval(()=>{Cn.getBuilds(s).then(_=>{y(_.data),m()})},5e3);return()=>clearInterval(R)},[h,s,m]);const S={pending:"等待中",building:"构建中",completed:"完成",failed:"失败"},f={pending:"⏳",building:"🔄",completed:"✅",failed:"❌"};return h.length===0?N.jsxDEV("p",{className:qn.empty,children:"暂无构建记录"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:49,columnNumber:12},this):N.jsxDEV("div",{className:qn.wrapper,children:[N.jsxDEV("h3",{className:qn.title,children:"构建历史"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:54,columnNumber:7},this),N.jsxDEV("div",{className:qn.list,children:h.map(L=>N.jsxDEV("div",{className:qn.item,children:[N.jsxDEV("div",{className:qn.itemInfo,children:[N.jsxDEV("span",{className:qn.status,children:[f[L.status]," ",S[L.status]]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:59,columnNumber:15},this),N.jsxDEV("span",{className:qn.platforms,children:L.platforms.map(R=>N.jsxDEV("span",{className:qn.platformTag,children:R},R,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:64,columnNumber:19},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:62,columnNumber:15},this),N.jsxDEV("span",{className:qn.time,children:new Date(L.createdAt).toLocaleString("zh-CN")},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:67,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:58,columnNumber:13},this),L.status==="completed"&&L.results&&N.jsxDEV("div",{className:qn.downloads,children:[L.results.map(R=>N.jsxDEV("a",{href:`/ads/api/v1/builds/${L.id}/download/${R.platform}`,className:qn.downloadLink,download:!0,children:[R.platform," ↓ (",(R.fileSize/1024).toFixed(0)," KB)"]},R.platform,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:75,columnNumber:19},this)),N.jsxDEV("a",{href:`/ads/api/v1/builds/${L.id}/download/all`,className:qn.downloadAll,download:!0,children:"全部 ZIP ↓"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:84,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:73,columnNumber:15},this),L.status==="failed"&&L.errorLog&&N.jsxDEV("p",{className:qn.errorLog,children:L.errorLog},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:95,columnNumber:15},this)]},L.id,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:57,columnNumber:11},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:55,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:53,columnNumber:5},this)}const TO="_wrapper_1fdka_1",_O="_header_1fdka_8",NO="_title_1fdka_15",wO="_startBtn_1fdka_20",DO="_stopBtn_1fdka_35",UO="_hint_1fdka_44",kO="_error_1fdka_51",OO="_loadingBox_1fdka_56",LO="_spinner_1fdka_68",zO="_frameWrap_1fdka_81",MO="_frame_1fdka_81",Fa={wrapper:TO,header:_O,title:NO,startBtn:wO,stopBtn:DO,hint:UO,error:kO,loadingBox:OO,spinner:LO,frameWrap:zO,frame:MO};function AO({creativeId:s,creativeStatus:d,theme:m}){const[h,y]=j.useState(null),[S,f]=j.useState(!1),[L,R]=j.useState(""),[_,F]=j.useState(!1),U=d==="assets_ready"||d==="built"||d==="building";j.useEffect(()=>{if(!h||_)return;const G=setTimeout(()=>{_||R("预览加载超时,请检查控制台或重试")},1e4);return()=>clearTimeout(G)},[h,_]),j.useEffect(()=>()=>{h&&Cn.stopPreview(s).catch(()=>{})},[]);async function w(){f(!0),R(""),F(!1);try{const G=await Cn.startPreview(s,m);y(G.data.url)}catch(G){R(G.message)}finally{f(!1)}}async function H(){try{await Cn.stopPreview(s)}catch{}y(null),F(!1),R("")}return N.jsxDEV("div",{className:Fa.wrapper,children:[N.jsxDEV("div",{className:Fa.header,children:[N.jsxDEV("h3",{className:Fa.title,children:"实时预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:63,columnNumber:9},this),h?N.jsxDEV("button",{onClick:H,className:Fa.stopBtn,children:"关闭预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:73,columnNumber:11},this):N.jsxDEV("button",{onClick:w,disabled:!U||S,className:Fa.startBtn,children:S?"启动中…":"▶ 开始预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:65,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:62,columnNumber:7},this),!U&&!h&&N.jsxDEV("p",{className:Fa.hint,children:"上传素材后即可预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:80,columnNumber:9},this),L&&N.jsxDEV("p",{className:Fa.error,children:L},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:83,columnNumber:17},this),S&&N.jsxDEV("div",{className:Fa.loadingBox,children:[N.jsxDEV("span",{className:Fa.spinner},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:87,columnNumber:11},this),N.jsxDEV("span",{children:"Vite 开发服务器启动中,请稍候…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:88,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:86,columnNumber:9},this),h&&N.jsxDEV("div",{className:Fa.frameWrap,children:N.jsxDEV("iframe",{src:h,className:Fa.frame,title:"广告预览",onLoad:()=>F(!0),sandbox:"allow-scripts allow-same-origin"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:94,columnNumber:11},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:93,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:61,columnNumber:5},this)}const jO="_container_171ey_1",VO="_state_171ey_7",HO="_topBar_171ey_14",FO="_back_171ey_20",BO="_topInfo_171ey_28",$O="_title_171ey_35",PO="_statusDot_171ey_40",YO="_draft_171ey_45",IO="_assets_ready_171ey_46",qO="_building_171ey_47",GO="_built_171ey_48",WO="_failed_171ey_49",QO="_deleteBtn_171ey_51",XO="_workspace_171ey_61",KO="_section_171ey_73",JO="_sectionTitle_171ey_80",ZO="_buildSection_171ey_88",Xt={container:jO,state:VO,topBar:HO,back:FO,topInfo:BO,title:$O,statusDot:PO,draft:YO,assets_ready:IO,building:qO,built:GO,failed:WO,deleteBtn:QO,workspace:XO,section:KO,sectionTitle:JO,buildSection:ZO};function eL(){var de;const{id:s}=k1(),d=Xm(),[m,h]=j.useState(null),[y,S]=j.useState(null),[f,L]=j.useState(!0),[R,_]=j.useState(""),[F,U]=j.useState(["google","applovin"]),w=j.useCallback(()=>{s&&(_(""),Cn.getCreative(s).then(async ne=>{var P,I;h(ne.data);const ue=await Cn.getTemplate(ne.data.templateId);S(ue.data),F.length===0&&((P=ue.data.platforms)!=null&&P.available)&&U(((I=ue.data.platforms)==null?void 0:I.defaults)??ue.data.platforms.available.slice(0,2))}).catch(ne=>_(ne.message)).finally(()=>L(!1)))},[s]);j.useEffect(()=>{w()},[w]);async function H(){if(!(!s||!confirm("确认删除此创意?所有素材和构建产物将被永久删除。")))try{await Cn.deleteCreative(s),d("/")}catch(ne){_(ne.message)}}const G={draft:"草稿",assets_ready:"素材已就绪",building:"构建中",built:"已构建",failed:"失败"};return f?N.jsxDEV("div",{className:Xt.state,children:"加载中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:68,columnNumber:23},this):R?N.jsxDEV("div",{className:Xt.state,children:["加载失败:",R]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:69,columnNumber:21},this):!m||!y?N.jsxDEV("div",{className:Xt.state,children:"创意不存在"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:70,columnNumber:38},this):N.jsxDEV("div",{className:Xt.container,children:[N.jsxDEV("div",{className:Xt.topBar,children:[N.jsxDEV("button",{onClick:()=>d(-1),className:Xt.back,children:"← 返回"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:76,columnNumber:9},this),N.jsxDEV("div",{className:Xt.topInfo,children:[N.jsxDEV("h1",{className:Xt.title,children:m.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:80,columnNumber:11},this),N.jsxDEV("span",{className:`${Xt.statusDot} ${Xt[m.status]}`,children:["● ",G[m.status]]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:81,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:79,columnNumber:9},this),N.jsxDEV("button",{onClick:H,className:Xt.deleteBtn,children:"删除"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:85,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:75,columnNumber:7},this),N.jsxDEV("div",{className:Xt.workspace,children:[N.jsxDEV("section",{className:Xt.section,children:[N.jsxDEV("h2",{className:Xt.sectionTitle,children:"素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:94,columnNumber:11},this),N.jsxDEV(Dk,{creativeId:m.id,assets:m.assets??[],assetDefs:y.assets,onUpdated:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:95,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:93,columnNumber:9},this),N.jsxDEV("section",{className:Xt.section,children:[N.jsxDEV("h2",{className:Xt.sectionTitle,children:"主题配置"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:105,columnNumber:11},this),N.jsxDEV(Xk,{creativeId:m.id,theme:m.theme??{},themeProps:y.theme.properties,onUpdated:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:106,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:104,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:91,columnNumber:7},this),N.jsxDEV(AO,{creativeId:m.id,creativeStatus:m.status,theme:m.theme??{}},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:116,columnNumber:7},this),N.jsxDEV("section",{className:Xt.buildSection,children:[N.jsxDEV("h2",{className:Xt.sectionTitle,children:"构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:124,columnNumber:9},this),N.jsxDEV(nO,{platforms:((de=y.platforms)==null?void 0:de.available)??[],selected:F,onChange:U},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:125,columnNumber:9},this),N.jsxDEV(sO,{creativeId:m.id,creativeStatus:m.status,selectedPlatforms:F,theme:m.theme??{},themeProps:y.theme.properties,onBuildComplete:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:130,columnNumber:9},this),N.jsxDEV(xO,{creativeId:m.id,builds:m.recentBuilds??[],onUpdated:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:138,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:123,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:73,columnNumber:5},this)}function tL(){return N.jsxDEV(wU,{children:N.jsxDEV(W1,{children:[N.jsxDEV(_f,{path:"/",element:N.jsxDEV(FU,{},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:11,columnNumber:34},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:11,columnNumber:9},this),N.jsxDEV(_f,{path:"/creatives/new",element:N.jsxDEV(rk,{},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:12,columnNumber:47},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:12,columnNumber:9},this),N.jsxDEV(_f,{path:"/creatives/:id",element:N.jsxDEV(eL,{},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:13,columnNumber:47},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:13,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:10,columnNumber:7},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:9,columnNumber:5},this)}Ym.createRoot(document.getElementById("root")).render(N.jsxDEV(SE.StrictMode,{children:N.jsxDEV(sU,{basename:"/ads/".replace(/\/$/,""),children:N.jsxDEV(tL,{},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/main.tsx",lineNumber:10,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/main.tsx",lineNumber:9,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/main.tsx",lineNumber:8,columnNumber:3},void 0));
|