| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- function JD(l,u){for(var f=0;f<u.length;f++){const p=u[f];if(typeof p!="string"&&!Array.isArray(p)){for(const v in p)if(v!=="default"&&!(v in l)){const h=Object.getOwnPropertyDescriptor(p,v);h&&Object.defineProperty(l,v,h.get?h:{enumerable:!0,get:()=>p[v]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const v of document.querySelectorAll('link[rel="modulepreload"]'))p(v);new MutationObserver(v=>{for(const h of v)if(h.type==="childList")for(const s of h.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&p(s)}).observe(document,{childList:!0,subtree:!0});function f(v){const h={};return v.integrity&&(h.integrity=v.integrity),v.referrerPolicy&&(h.referrerPolicy=v.referrerPolicy),v.crossOrigin==="use-credentials"?h.credentials="include":v.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function p(v){if(v.ep)return;v.ep=!0;const h=f(v);fetch(v.href,h)}})();function XD(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var rC={exports:{}},vh={},iC={exports:{}},$f={exports:{}};$f.exports;(function(l,u){/**
- * @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 f="18.3.1",p=Symbol.for("react.element"),v=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),S=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),K=Symbol.iterator,Y="@@iterator";function z(m){if(m===null||typeof m!="object")return null;var C=K&&m[K]||m[Y];return typeof C=="function"?C:null}var P={current:null},Q={transition:null},X={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ye={current:null},de={},We=null;function je(m){We=m}de.setExtraStackFrame=function(m){We=m},de.getCurrentStack=null,de.getStackAddendum=function(){var m="";We&&(m+=We);var C=de.getCurrentStack;return C&&(m+=C()||""),m};var Pe=!1,rt=!1,Je=!1,pe=!1,yt=!1,it={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:Q,ReactCurrentOwner:ye};it.ReactDebugCurrentFrame=de,it.ReactCurrentActQueue=X;function Z(m){{for(var C=arguments.length,A=new Array(C>1?C-1:0),V=1;V<C;V++)A[V-1]=arguments[V];Ke("warn",m,A)}}function ue(m){{for(var C=arguments.length,A=new Array(C>1?C-1:0),V=1;V<C;V++)A[V-1]=arguments[V];Ke("error",m,A)}}function Ke(m,C,A){{var V=it.ReactDebugCurrentFrame,J=V.getStackAddendum();J!==""&&(C+="%s",A=A.concat([J]));var Ee=A.map(function(ce){return String(ce)});Ee.unshift("Warning: "+C),Function.prototype.apply.call(console[m],console,Ee)}}var Xe={};function Nt(m,C){{var A=m.constructor,V=A&&(A.displayName||A.name)||"ReactClass",J=V+"."+C;if(Xe[J])return;ue("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.",C,V),Xe[J]=!0}}var oa={isMounted:function(m){return!1},enqueueForceUpdate:function(m,C,A){Nt(m,"forceUpdate")},enqueueReplaceState:function(m,C,A,V){Nt(m,"replaceState")},enqueueSetState:function(m,C,A,V){Nt(m,"setState")}},Yt=Object.assign,Ea={};Object.freeze(Ea);function Nn(m,C,A){this.props=m,this.context=C,this.refs=Ea,this.updater=A||oa}Nn.prototype.isReactComponent={},Nn.prototype.setState=function(m,C){if(typeof m!="object"&&typeof m!="function"&&m!=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,m,C,"setState")},Nn.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};{var fr={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)."]},Ia=function(m,C){Object.defineProperty(Nn.prototype,m,{get:function(){Z("%s(...) is deprecated in plain JavaScript React classes. %s",C[0],C[1])}})};for(var tn in fr)fr.hasOwnProperty(tn)&&Ia(tn,fr[tn])}function Qn(){}Qn.prototype=Nn.prototype;function nn(m,C,A){this.props=m,this.context=C,this.refs=Ea,this.updater=A||oa}var an=nn.prototype=new Qn;an.constructor=nn,Yt(an,Nn.prototype),an.isPureReactComponent=!0;function rn(){var m={current:null};return Object.seal(m),m}var Bn=Array.isArray;function qt(m){return Bn(m)}function xn(m){{var C=typeof Symbol=="function"&&Symbol.toStringTag,A=C&&m[Symbol.toStringTag]||m.constructor.name||"Object";return A}}function Gt(m){try{return Wt(m),!1}catch{return!0}}function Wt(m){return""+m}function ua(m){if(Gt(m))return ue("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xn(m)),Wt(m)}function dr(m,C,A){var V=m.displayName;if(V)return V;var J=C.displayName||C.name||"";return J!==""?A+"("+J+")":A}function Sa(m){return m.displayName||"Context"}function Hn(m){if(m==null)return null;if(typeof m.tag=="number"&&ue("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case h:return"Fragment";case v:return"Portal";case E:return"Profiler";case s:return"StrictMode";case D:return"Suspense";case w:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case S:var C=m;return Sa(C)+".Consumer";case b:var A=m;return Sa(A._context)+".Provider";case _:return dr(m,m.render,"ForwardRef");case O:var V=m.displayName||null;return V!==null?V:Hn(m.type)||"Memo";case F:{var J=m,Ee=J._payload,ce=J._init;try{return Hn(ce(Ee))}catch{return null}}}return null}var yn=Object.prototype.hasOwnProperty,ln={key:!0,ref:!0,__self:!0,__source:!0},_n,Ya,Lt;Lt={};function Dn(m){if(yn.call(m,"ref")){var C=Object.getOwnPropertyDescriptor(m,"ref").get;if(C&&C.isReactWarning)return!1}return m.ref!==void 0}function Fn(m){if(yn.call(m,"key")){var C=Object.getOwnPropertyDescriptor(m,"key").get;if(C&&C.isReactWarning)return!1}return m.key!==void 0}function Hr(m,C){var A=function(){_n||(_n=!0,ue("%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)",C))};A.isReactWarning=!0,Object.defineProperty(m,"key",{get:A,configurable:!0})}function pr(m,C){var A=function(){Ya||(Ya=!0,ue("%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)",C))};A.isReactWarning=!0,Object.defineProperty(m,"ref",{get:A,configurable:!0})}function te(m){if(typeof m.ref=="string"&&ye.current&&m.__self&&ye.current.stateNode!==m.__self){var C=Hn(ye.current.type);Lt[C]||(ue('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',C,m.ref),Lt[C]=!0)}}var ve=function(m,C,A,V,J,Ee,ce){var Ne={$$typeof:p,type:m,key:C,ref:A,props:ce,_owner:Ee};return Ne._store={},Object.defineProperty(Ne._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ne,"_self",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.defineProperty(Ne,"_source",{configurable:!1,enumerable:!1,writable:!1,value:J}),Object.freeze&&(Object.freeze(Ne.props),Object.freeze(Ne)),Ne};function Oe(m,C,A){var V,J={},Ee=null,ce=null,Ne=null,Ve=null;if(C!=null){Dn(C)&&(ce=C.ref,te(C)),Fn(C)&&(ua(C.key),Ee=""+C.key),Ne=C.__self===void 0?null:C.__self,Ve=C.__source===void 0?null:C.__source;for(V in C)yn.call(C,V)&&!ln.hasOwnProperty(V)&&(J[V]=C[V])}var et=arguments.length-2;if(et===1)J.children=A;else if(et>1){for(var ut=Array(et),st=0;st<et;st++)ut[st]=arguments[st+2];Object.freeze&&Object.freeze(ut),J.children=ut}if(m&&m.defaultProps){var Ae=m.defaultProps;for(V in Ae)J[V]===void 0&&(J[V]=Ae[V])}if(Ee||ce){var ht=typeof m=="function"?m.displayName||m.name||"Unknown":m;Ee&&Hr(J,ht),ce&&pr(J,ht)}return ve(m,Ee,ce,Ne,Ve,ye.current,J)}function Ze(m,C){var A=ve(m.type,C,m.ref,m._self,m._source,m._owner,m.props);return A}function ft(m,C,A){if(m==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+m+".");var V,J=Yt({},m.props),Ee=m.key,ce=m.ref,Ne=m._self,Ve=m._source,et=m._owner;if(C!=null){Dn(C)&&(ce=C.ref,et=ye.current),Fn(C)&&(ua(C.key),Ee=""+C.key);var ut;m.type&&m.type.defaultProps&&(ut=m.type.defaultProps);for(V in C)yn.call(C,V)&&!ln.hasOwnProperty(V)&&(C[V]===void 0&&ut!==void 0?J[V]=ut[V]:J[V]=C[V])}var st=arguments.length-2;if(st===1)J.children=A;else if(st>1){for(var Ae=Array(st),ht=0;ht<st;ht++)Ae[ht]=arguments[ht+2];J.children=Ae}return ve(m.type,Ee,ce,Ne,Ve,et,J)}function gt(m){return typeof m=="object"&&m!==null&&m.$$typeof===p}var bt=".",gn=":";function Ct(m){var C=/[=:]/g,A={"=":"=0",":":"=2"},V=m.replace(C,function(J){return A[J]});return"$"+V}var lt=!1,Rt=/\/+/g;function Ca(m){return m.replace(Rt,"$&/")}function Ra(m,C){return typeof m=="object"&&m!==null&&m.key!=null?(ua(m.key),Ct(""+m.key)):C.toString(36)}function sa(m,C,A,V,J){var Ee=typeof m;(Ee==="undefined"||Ee==="boolean")&&(m=null);var ce=!1;if(m===null)ce=!0;else switch(Ee){case"string":case"number":ce=!0;break;case"object":switch(m.$$typeof){case p:case v:ce=!0}}if(ce){var Ne=m,Ve=J(Ne),et=V===""?bt+Ra(Ne,0):V;if(qt(Ve)){var ut="";et!=null&&(ut=Ca(et)+"/"),sa(Ve,C,ut,"",function(rd){return rd})}else Ve!=null&&(gt(Ve)&&(Ve.key&&(!Ne||Ne.key!==Ve.key)&&ua(Ve.key),Ve=Ze(Ve,A+(Ve.key&&(!Ne||Ne.key!==Ve.key)?Ca(""+Ve.key)+"/":"")+et)),C.push(Ve));return 1}var st,Ae,ht=0,_t=V===""?bt:V+gn;if(qt(m))for(var Ui=0;Ui<m.length;Ui++)st=m[Ui],Ae=_t+Ra(st,Ui),ht+=sa(st,C,A,Ae,J);else{var Mo=z(m);if(typeof Mo=="function"){var yr=m;Mo===yr.entries&&(lt||Z("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),lt=!0);for(var zo=Mo.call(yr),jo,ad=0;!(jo=zo.next()).done;)st=jo.value,Ae=_t+Ra(st,ad++),ht+=sa(st,C,A,Ae,J)}else if(Ee==="object"){var zs=String(m);throw new Error("Objects are not valid as a React child (found: "+(zs==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":zs)+"). If you meant to render a collection of children, use an array instead.")}}return ht}function vr(m,C,A){if(m==null)return m;var V=[],J=0;return sa(m,V,"","",function(Ee){return C.call(A,Ee,J++)}),V}function Eo(m){var C=0;return vr(m,function(){C++}),C}function Ei(m,C,A){vr(m,function(){C.apply(this,arguments)},A)}function ol(m){return vr(m,function(C){return C})||[]}function ul(m){if(!gt(m))throw new Error("React.Children.only expected to receive a single React element child.");return m}function Si(m){var C={$$typeof:S,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};C.Provider={$$typeof:b,_context:C};var A=!1,V=!1,J=!1;{var Ee={$$typeof:S,_context:C};Object.defineProperties(Ee,{Provider:{get:function(){return V||(V=!0,ue("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),C.Provider},set:function(ce){C.Provider=ce}},_currentValue:{get:function(){return C._currentValue},set:function(ce){C._currentValue=ce}},_currentValue2:{get:function(){return C._currentValue2},set:function(ce){C._currentValue2=ce}},_threadCount:{get:function(){return C._threadCount},set:function(ce){C._threadCount=ce}},Consumer:{get:function(){return A||(A=!0,ue("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),C.Consumer}},displayName:{get:function(){return C.displayName},set:function(ce){J||(Z("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ce),J=!0)}}}),C.Consumer=Ee}return C._currentRenderer=null,C._currentRenderer2=null,C}var wa=-1,ca=0,Kn=1,qa=2;function Ci(m){if(m._status===wa){var C=m._result,A=C();if(A.then(function(Ee){if(m._status===ca||m._status===wa){var ce=m;ce._status=Kn,ce._result=Ee}},function(Ee){if(m._status===ca||m._status===wa){var ce=m;ce._status=qa,ce._result=Ee}}),m._status===wa){var V=m;V._status=ca,V._result=A}}if(m._status===Kn){var J=m._result;return J===void 0&&ue(`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?`,J),"default"in J||ue(`lazy: Expected the result of a dynamic import() call. Instead received: %s
- Your code should look like:
- const MyComponent = lazy(() => import('./MyComponent'))`,J),J.default}else throw m._result}function R(m){var C={_status:wa,_result:m},A={$$typeof:F,_payload:C,_init:Ci};{var V,J;Object.defineProperties(A,{defaultProps:{configurable:!0,get:function(){return V},set:function(Ee){ue("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."),V=Ee,Object.defineProperty(A,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return J},set:function(Ee){ue("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."),J=Ee,Object.defineProperty(A,"propTypes",{enumerable:!0})}}})}return A}function q(m){m!=null&&m.$$typeof===O?ue("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof m!="function"?ue("forwardRef requires a render function but was given %s.",m===null?"null":typeof m):m.length!==0&&m.length!==2&&ue("forwardRef render functions accept exactly two parameters: props and ref. %s",m.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),m!=null&&(m.defaultProps!=null||m.propTypes!=null)&&ue("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var C={$$typeof:_,render:m};{var A;Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(V){A=V,!m.name&&!m.displayName&&(m.displayName=V)}})}return C}var ne;ne=Symbol.for("react.module.reference");function me(m){return!!(typeof m=="string"||typeof m=="function"||m===h||m===E||yt||m===s||m===D||m===w||pe||m===W||Pe||rt||Je||typeof m=="object"&&m!==null&&(m.$$typeof===F||m.$$typeof===O||m.$$typeof===b||m.$$typeof===S||m.$$typeof===_||m.$$typeof===ne||m.getModuleId!==void 0))}function ze(m,C){me(m)||ue("memo: The first argument must be a component. Instead received: %s",m===null?"null":typeof m);var A={$$typeof:O,type:m,compare:C===void 0?null:C};{var V;Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(J){V=J,!m.name&&!m.displayName&&(m.displayName=J)}})}return A}function Re(){var m=P.current;return m===null&&ue(`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.`),m}function Ue(m){var C=Re();if(m._context!==void 0){var A=m._context;A.Consumer===m?ue("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?"):A.Provider===m&&ue("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return C.useContext(m)}function ge(m){var C=Re();return C.useState(m)}function At(m,C,A){var V=Re();return V.useReducer(m,C,A)}function dt(m){var C=Re();return C.useRef(m)}function pt(m,C){var A=Re();return A.useEffect(m,C)}function bn(m,C){var A=Re();return A.useInsertionEffect(m,C)}function Ga(m,C){var A=Re();return A.useLayoutEffect(m,C)}function Ta(m,C){var A=Re();return A.useCallback(m,C)}function Mt(m,C){var A=Re();return A.useMemo(m,C)}function Ri(m,C,A){var V=Re();return V.useImperativeHandle(m,C,A)}function Na(m,C){{var A=Re();return A.useDebugValue(m,C)}}function Le(){var m=Re();return m.useTransition()}function wi(m){var C=Re();return C.useDeferredValue(m)}function Ts(){var m=Re();return m.useId()}function Ns(m,C,A){var V=Re();return V.useSyncExternalStore(m,C,A)}var Fr=0,So,Co,Ro,wo,To,xs,_s;function sl(){}sl.__reactDisabledLog=!0;function No(){{if(Fr===0){So=console.log,Co=console.info,Ro=console.warn,wo=console.error,To=console.group,xs=console.groupCollapsed,_s=console.groupEnd;var m={configurable:!0,enumerable:!0,value:sl,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}Fr++}}function Wa(){{if(Fr--,Fr===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Yt({},m,{value:So}),info:Yt({},m,{value:Co}),warn:Yt({},m,{value:Ro}),error:Yt({},m,{value:wo}),group:Yt({},m,{value:To}),groupCollapsed:Yt({},m,{value:xs}),groupEnd:Yt({},m,{value:_s})})}Fr<0&&ue("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ti=it.ReactCurrentDispatcher,Pr;function cl(m,C,A){{if(Pr===void 0)try{throw Error()}catch(J){var V=J.stack.trim().match(/\n( *(at )?)/);Pr=V&&V[1]||""}return`
- `+Pr+m}}var Ni=!1,fl;{var xo=typeof WeakMap=="function"?WeakMap:Map;fl=new xo}function Ds(m,C){if(!m||Ni)return"";{var A=fl.get(m);if(A!==void 0)return A}var V;Ni=!0;var J=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ee;Ee=Ti.current,Ti.current=null,No();try{if(C){var ce=function(){throw Error()};if(Object.defineProperty(ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ce,[])}catch(_t){V=_t}Reflect.construct(m,[],ce)}else{try{ce.call()}catch(_t){V=_t}m.call(ce.prototype)}}else{try{throw Error()}catch(_t){V=_t}m()}}catch(_t){if(_t&&V&&typeof _t.stack=="string"){for(var Ne=_t.stack.split(`
- `),Ve=V.stack.split(`
- `),et=Ne.length-1,ut=Ve.length-1;et>=1&&ut>=0&&Ne[et]!==Ve[ut];)ut--;for(;et>=1&&ut>=0;et--,ut--)if(Ne[et]!==Ve[ut]){if(et!==1||ut!==1)do if(et--,ut--,ut<0||Ne[et]!==Ve[ut]){var st=`
- `+Ne[et].replace(" at new "," at ");return m.displayName&&st.includes("<anonymous>")&&(st=st.replace("<anonymous>",m.displayName)),typeof m=="function"&&fl.set(m,st),st}while(et>=1&&ut>=0);break}}}finally{Ni=!1,Ti.current=Ee,Wa(),Error.prepareStackTrace=J}var Ae=m?m.displayName||m.name:"",ht=Ae?cl(Ae):"";return typeof m=="function"&&fl.set(m,ht),ht}function _o(m,C,A){return Ds(m,!1)}function Xf(m){var C=m.prototype;return!!(C&&C.isReactComponent)}function xi(m,C,A){if(m==null)return"";if(typeof m=="function")return Ds(m,Xf(m));if(typeof m=="string")return cl(m);switch(m){case D:return cl("Suspense");case w:return cl("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case _:return _o(m.render);case O:return xi(m.type,C,A);case F:{var V=m,J=V._payload,Ee=V._init;try{return xi(Ee(J),C,A)}catch{}}}return""}var Us={},Do=it.ReactDebugCurrentFrame;function Ye(m){if(m){var C=m._owner,A=xi(m.type,m._source,C?C.type:null);Do.setExtraStackFrame(A)}else Do.setExtraStackFrame(null)}function Zf(m,C,A,V,J){{var Ee=Function.call.bind(yn);for(var ce in m)if(Ee(m,ce)){var Ne=void 0;try{if(typeof m[ce]!="function"){var Ve=Error((V||"React class")+": "+A+" type `"+ce+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[ce]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ve.name="Invariant Violation",Ve}Ne=m[ce](C,ce,V,A,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(et){Ne=et}Ne&&!(Ne instanceof Error)&&(Ye(J),ue("%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).",V||"React class",A,ce,typeof Ne),Ye(null)),Ne instanceof Error&&!(Ne.message in Us)&&(Us[Ne.message]=!0,Ye(J),ue("Failed %s type: %s",A,Ne.message),Ye(null))}}}function mr(m){if(m){var C=m._owner,A=xi(m.type,m._source,C?C.type:null);je(A)}else je(null)}var _e;_e=!1;function Uo(){if(ye.current){var m=Hn(ye.current.type);if(m)return`
- Check the render method of \``+m+"`."}return""}function Un(m){if(m!==void 0){var C=m.fileName.replace(/^.*[\\\/]/,""),A=m.lineNumber;return`
- Check your code at `+C+":"+A+"."}return""}function _i(m){return m!=null?Un(m.__source):""}var $r={};function ed(m){var C=Uo();if(!C){var A=typeof m=="string"?m:m.displayName||m.name;A&&(C=`
- Check the top-level render call using <`+A+">.")}return C}function Qt(m,C){if(!(!m._store||m._store.validated||m.key!=null)){m._store.validated=!0;var A=ed(C);if(!$r[A]){$r[A]=!0;var V="";m&&m._owner&&m._owner!==ye.current&&(V=" It was passed a child from "+Hn(m._owner.type)+"."),mr(m),ue('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',A,V),mr(null)}}}function mt(m,C){if(typeof m=="object"){if(qt(m))for(var A=0;A<m.length;A++){var V=m[A];gt(V)&&Qt(V,C)}else if(gt(m))m._store&&(m._store.validated=!0);else if(m){var J=z(m);if(typeof J=="function"&&J!==m.entries)for(var Ee=J.call(m),ce;!(ce=Ee.next()).done;)gt(ce.value)&&Qt(ce.value,C)}}}function ks(m){{var C=m.type;if(C==null||typeof C=="string")return;var A;if(typeof C=="function")A=C.propTypes;else if(typeof C=="object"&&(C.$$typeof===_||C.$$typeof===O))A=C.propTypes;else return;if(A){var V=Hn(C);Zf(A,m.props,"prop",V,m)}else if(C.PropTypes!==void 0&&!_e){_e=!0;var J=Hn(C);ue("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",J||"Unknown")}typeof C.getDefaultProps=="function"&&!C.getDefaultProps.isReactClassApproved&&ue("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fa(m){{for(var C=Object.keys(m.props),A=0;A<C.length;A++){var V=C[A];if(V!=="children"&&V!=="key"){mr(m),ue("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",V),mr(null);break}}m.ref!==null&&(mr(m),ue("Invalid attribute `ref` supplied to `React.Fragment`."),mr(null))}}function kn(m,C,A){var V=me(m);if(!V){var J="";(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(J+=" 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 Ee=_i(C);Ee?J+=Ee:J+=Uo();var ce;m===null?ce="null":qt(m)?ce="array":m!==void 0&&m.$$typeof===p?(ce="<"+(Hn(m.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):ce=typeof m,ue("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ce,J)}var Ne=Oe.apply(this,arguments);if(Ne==null)return Ne;if(V)for(var Ve=2;Ve<arguments.length;Ve++)mt(arguments[Ve],m);return m===h?fa(Ne):ks(Ne),Ne}var xa=!1;function td(m){var C=kn.bind(null,m);return C.type=m,xa||(xa=!0,Z("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(C,"type",{enumerable:!1,get:function(){return Z("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:m}),m}}),C}function ko(m,C,A){for(var V=ft.apply(this,arguments),J=2;J<arguments.length;J++)mt(arguments[J],V.type);return ks(V),V}function Os(m,C){var A=Q.transition;Q.transition={};var V=Q.transition;Q.transition._updatedFibers=new Set;try{m()}finally{if(Q.transition=A,A===null&&V._updatedFibers){var J=V._updatedFibers.size;J>10&&Z("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."),V._updatedFibers.clear()}}}var Oo=!1,dl=null;function nd(m){if(dl===null)try{var C=("require"+Math.random()).slice(0,7),A=l&&l[C];dl=A.call(l,"timers").setImmediate}catch{dl=function(J){Oo===!1&&(Oo=!0,typeof MessageChannel>"u"&&ue("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 Ee=new MessageChannel;Ee.port1.onmessage=J,Ee.port2.postMessage(void 0)}}return dl(m)}var Ir=0,Di=!1;function Lo(m){{var C=Ir;Ir++,X.current===null&&(X.current=[]);var A=X.isBatchingLegacy,V;try{if(X.isBatchingLegacy=!0,V=m(),!A&&X.didScheduleLegacyUpdate){var J=X.current;J!==null&&(X.didScheduleLegacyUpdate=!1,ml(J))}}catch(Ae){throw hr(C),Ae}finally{X.isBatchingLegacy=A}if(V!==null&&typeof V=="object"&&typeof V.then=="function"){var Ee=V,ce=!1,Ne={then:function(Ae,ht){ce=!0,Ee.then(function(_t){hr(C),Ir===0?pl(_t,Ae,ht):Ae(_t)},function(_t){hr(C),ht(_t)})}};return!Di&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){ce||(Di=!0,ue("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 () => ...);"))}),Ne}else{var Ve=V;if(hr(C),Ir===0){var et=X.current;et!==null&&(ml(et),X.current=null);var ut={then:function(Ae,ht){X.current===null?(X.current=[],pl(Ve,Ae,ht)):Ae(Ve)}};return ut}else{var st={then:function(Ae,ht){Ae(Ve)}};return st}}}}function hr(m){m!==Ir-1&&ue("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ir=m}function pl(m,C,A){{var V=X.current;if(V!==null)try{ml(V),nd(function(){V.length===0?(X.current=null,C(m)):pl(m,C,A)})}catch(J){A(J)}else C(m)}}var vl=!1;function ml(m){if(!vl){vl=!0;var C=0;try{for(;C<m.length;C++){var A=m[C];do A=A(!0);while(A!==null)}m.length=0}catch(V){throw m=m.slice(C+1),V}finally{vl=!1}}}var Ls=kn,As=ko,Ao=td,Ms={map:vr,forEach:Ei,count:Eo,toArray:ol,only:ul};u.Children=Ms,u.Component=Nn,u.Fragment=h,u.Profiler=E,u.PureComponent=nn,u.StrictMode=s,u.Suspense=D,u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=it,u.act=Lo,u.cloneElement=As,u.createContext=Si,u.createElement=Ls,u.createFactory=Ao,u.createRef=rn,u.forwardRef=q,u.isValidElement=gt,u.lazy=R,u.memo=ze,u.startTransition=Os,u.unstable_act=Lo,u.useCallback=Ta,u.useContext=Ue,u.useDebugValue=Na,u.useDeferredValue=wi,u.useEffect=pt,u.useId=Ts,u.useImperativeHandle=Ri,u.useInsertionEffect=bn,u.useLayoutEffect=Ga,u.useMemo=Mt,u.useReducer=At,u.useRef=dt,u.useState=ge,u.useSyncExternalStore=Ns,u.useTransition=Le,u.version=f,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})($f,$f.exports);var ZD=$f.exports;iC.exports=ZD;var j=iC.exports;const lC=XD(j),eU=JD({__proto__:null,default:lC},[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 l=j,u=Symbol.for("react.element"),f=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),E=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,W="@@iterator";function K(R){if(R===null||typeof R!="object")return null;var q=F&&R[F]||R[W];return typeof q=="function"?q:null}var Y=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function z(R){{for(var q=arguments.length,ne=new Array(q>1?q-1:0),me=1;me<q;me++)ne[me-1]=arguments[me];P("error",R,ne)}}function P(R,q,ne){{var me=Y.ReactDebugCurrentFrame,ze=me.getStackAddendum();ze!==""&&(q+="%s",ne=ne.concat([ze]));var Re=ne.map(function(Ue){return String(Ue)});Re.unshift("Warning: "+q),Function.prototype.apply.call(console[R],console,Re)}}var Q=!1,X=!1,ye=!1,de=!1,We=!1,je;je=Symbol.for("react.module.reference");function Pe(R){return!!(typeof R=="string"||typeof R=="function"||R===p||R===h||We||R===v||R===S||R===_||de||R===O||Q||X||ye||typeof R=="object"&&R!==null&&(R.$$typeof===w||R.$$typeof===D||R.$$typeof===s||R.$$typeof===E||R.$$typeof===b||R.$$typeof===je||R.getModuleId!==void 0))}function rt(R,q,ne){var me=R.displayName;if(me)return me;var ze=q.displayName||q.name||"";return ze!==""?ne+"("+ze+")":ne}function Je(R){return R.displayName||"Context"}function pe(R){if(R==null)return null;if(typeof R.tag=="number"&&z("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof R=="function")return R.displayName||R.name||null;if(typeof R=="string")return R;switch(R){case p:return"Fragment";case f:return"Portal";case h:return"Profiler";case v:return"StrictMode";case S:return"Suspense";case _:return"SuspenseList"}if(typeof R=="object")switch(R.$$typeof){case E:var q=R;return Je(q)+".Consumer";case s:var ne=R;return Je(ne._context)+".Provider";case b:return rt(R,R.render,"ForwardRef");case D:var me=R.displayName||null;return me!==null?me:pe(R.type)||"Memo";case w:{var ze=R,Re=ze._payload,Ue=ze._init;try{return pe(Ue(Re))}catch{return null}}}return null}var yt=Object.assign,it=0,Z,ue,Ke,Xe,Nt,oa,Yt;function Ea(){}Ea.__reactDisabledLog=!0;function Nn(){{if(it===0){Z=console.log,ue=console.info,Ke=console.warn,Xe=console.error,Nt=console.group,oa=console.groupCollapsed,Yt=console.groupEnd;var R={configurable:!0,enumerable:!0,value:Ea,writable:!0};Object.defineProperties(console,{info:R,log:R,warn:R,error:R,group:R,groupCollapsed:R,groupEnd:R})}it++}}function fr(){{if(it--,it===0){var R={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:yt({},R,{value:Z}),info:yt({},R,{value:ue}),warn:yt({},R,{value:Ke}),error:yt({},R,{value:Xe}),group:yt({},R,{value:Nt}),groupCollapsed:yt({},R,{value:oa}),groupEnd:yt({},R,{value:Yt})})}it<0&&z("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ia=Y.ReactCurrentDispatcher,tn;function Qn(R,q,ne){{if(tn===void 0)try{throw Error()}catch(ze){var me=ze.stack.trim().match(/\n( *(at )?)/);tn=me&&me[1]||""}return`
- `+tn+R}}var nn=!1,an;{var rn=typeof WeakMap=="function"?WeakMap:Map;an=new rn}function Bn(R,q){if(!R||nn)return"";{var ne=an.get(R);if(ne!==void 0)return ne}var me;nn=!0;var ze=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Re;Re=Ia.current,Ia.current=null,Nn();try{if(q){var Ue=function(){throw Error()};if(Object.defineProperty(Ue.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ue,[])}catch(Mt){me=Mt}Reflect.construct(R,[],Ue)}else{try{Ue.call()}catch(Mt){me=Mt}R.call(Ue.prototype)}}else{try{throw Error()}catch(Mt){me=Mt}R()}}catch(Mt){if(Mt&&me&&typeof Mt.stack=="string"){for(var ge=Mt.stack.split(`
- `),At=me.stack.split(`
- `),dt=ge.length-1,pt=At.length-1;dt>=1&&pt>=0&&ge[dt]!==At[pt];)pt--;for(;dt>=1&&pt>=0;dt--,pt--)if(ge[dt]!==At[pt]){if(dt!==1||pt!==1)do if(dt--,pt--,pt<0||ge[dt]!==At[pt]){var bn=`
- `+ge[dt].replace(" at new "," at ");return R.displayName&&bn.includes("<anonymous>")&&(bn=bn.replace("<anonymous>",R.displayName)),typeof R=="function"&&an.set(R,bn),bn}while(dt>=1&&pt>=0);break}}}finally{nn=!1,Ia.current=Re,fr(),Error.prepareStackTrace=ze}var Ga=R?R.displayName||R.name:"",Ta=Ga?Qn(Ga):"";return typeof R=="function"&&an.set(R,Ta),Ta}function qt(R,q,ne){return Bn(R,!1)}function xn(R){var q=R.prototype;return!!(q&&q.isReactComponent)}function Gt(R,q,ne){if(R==null)return"";if(typeof R=="function")return Bn(R,xn(R));if(typeof R=="string")return Qn(R);switch(R){case S:return Qn("Suspense");case _:return Qn("SuspenseList")}if(typeof R=="object")switch(R.$$typeof){case b:return qt(R.render);case D:return Gt(R.type,q,ne);case w:{var me=R,ze=me._payload,Re=me._init;try{return Gt(Re(ze),q,ne)}catch{}}}return""}var Wt=Object.prototype.hasOwnProperty,ua={},dr=Y.ReactDebugCurrentFrame;function Sa(R){if(R){var q=R._owner,ne=Gt(R.type,R._source,q?q.type:null);dr.setExtraStackFrame(ne)}else dr.setExtraStackFrame(null)}function Hn(R,q,ne,me,ze){{var Re=Function.call.bind(Wt);for(var Ue in R)if(Re(R,Ue)){var ge=void 0;try{if(typeof R[Ue]!="function"){var At=Error((me||"React class")+": "+ne+" type `"+Ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof R[Ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw At.name="Invariant Violation",At}ge=R[Ue](q,Ue,me,ne,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(dt){ge=dt}ge&&!(ge instanceof Error)&&(Sa(ze),z("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",me||"React class",ne,Ue,typeof ge),Sa(null)),ge instanceof Error&&!(ge.message in ua)&&(ua[ge.message]=!0,Sa(ze),z("Failed %s type: %s",ne,ge.message),Sa(null))}}}var yn=Array.isArray;function ln(R){return yn(R)}function _n(R){{var q=typeof Symbol=="function"&&Symbol.toStringTag,ne=q&&R[Symbol.toStringTag]||R.constructor.name||"Object";return ne}}function Ya(R){try{return Lt(R),!1}catch{return!0}}function Lt(R){return""+R}function Dn(R){if(Ya(R))return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",_n(R)),Lt(R)}var Fn=Y.ReactCurrentOwner,Hr={key:!0,ref:!0,__self:!0,__source:!0},pr,te,ve;ve={};function Oe(R){if(Wt.call(R,"ref")){var q=Object.getOwnPropertyDescriptor(R,"ref").get;if(q&&q.isReactWarning)return!1}return R.ref!==void 0}function Ze(R){if(Wt.call(R,"key")){var q=Object.getOwnPropertyDescriptor(R,"key").get;if(q&&q.isReactWarning)return!1}return R.key!==void 0}function ft(R,q){if(typeof R.ref=="string"&&Fn.current&&q&&Fn.current.stateNode!==q){var ne=pe(Fn.current.type);ve[ne]||(z('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',pe(Fn.current.type),R.ref),ve[ne]=!0)}}function gt(R,q){{var ne=function(){pr||(pr=!0,z("%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)",q))};ne.isReactWarning=!0,Object.defineProperty(R,"key",{get:ne,configurable:!0})}}function bt(R,q){{var ne=function(){te||(te=!0,z("%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)",q))};ne.isReactWarning=!0,Object.defineProperty(R,"ref",{get:ne,configurable:!0})}}var gn=function(R,q,ne,me,ze,Re,Ue){var ge={$$typeof:u,type:R,key:q,ref:ne,props:Ue,_owner:Re};return ge._store={},Object.defineProperty(ge._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ge,"_self",{configurable:!1,enumerable:!1,writable:!1,value:me}),Object.defineProperty(ge,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ze}),Object.freeze&&(Object.freeze(ge.props),Object.freeze(ge)),ge};function Ct(R,q,ne,me,ze){{var Re,Ue={},ge=null,At=null;ne!==void 0&&(Dn(ne),ge=""+ne),Ze(q)&&(Dn(q.key),ge=""+q.key),Oe(q)&&(At=q.ref,ft(q,ze));for(Re in q)Wt.call(q,Re)&&!Hr.hasOwnProperty(Re)&&(Ue[Re]=q[Re]);if(R&&R.defaultProps){var dt=R.defaultProps;for(Re in dt)Ue[Re]===void 0&&(Ue[Re]=dt[Re])}if(ge||At){var pt=typeof R=="function"?R.displayName||R.name||"Unknown":R;ge&>(Ue,pt),At&&bt(Ue,pt)}return gn(R,ge,At,ze,me,Fn.current,Ue)}}var lt=Y.ReactCurrentOwner,Rt=Y.ReactDebugCurrentFrame;function Ca(R){if(R){var q=R._owner,ne=Gt(R.type,R._source,q?q.type:null);Rt.setExtraStackFrame(ne)}else Rt.setExtraStackFrame(null)}var Ra;Ra=!1;function sa(R){return typeof R=="object"&&R!==null&&R.$$typeof===u}function vr(){{if(lt.current){var R=pe(lt.current.type);if(R)return`
- Check the render method of \``+R+"`."}return""}}function Eo(R){{if(R!==void 0){var q=R.fileName.replace(/^.*[\\\/]/,""),ne=R.lineNumber;return`
- Check your code at `+q+":"+ne+"."}return""}}var Ei={};function ol(R){{var q=vr();if(!q){var ne=typeof R=="string"?R:R.displayName||R.name;ne&&(q=`
- Check the top-level render call using <`+ne+">.")}return q}}function ul(R,q){{if(!R._store||R._store.validated||R.key!=null)return;R._store.validated=!0;var ne=ol(q);if(Ei[ne])return;Ei[ne]=!0;var me="";R&&R._owner&&R._owner!==lt.current&&(me=" It was passed a child from "+pe(R._owner.type)+"."),Ca(R),z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,me),Ca(null)}}function Si(R,q){{if(typeof R!="object")return;if(ln(R))for(var ne=0;ne<R.length;ne++){var me=R[ne];sa(me)&&ul(me,q)}else if(sa(R))R._store&&(R._store.validated=!0);else if(R){var ze=K(R);if(typeof ze=="function"&&ze!==R.entries)for(var Re=ze.call(R),Ue;!(Ue=Re.next()).done;)sa(Ue.value)&&ul(Ue.value,q)}}}function wa(R){{var q=R.type;if(q==null||typeof q=="string")return;var ne;if(typeof q=="function")ne=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===b||q.$$typeof===D))ne=q.propTypes;else return;if(ne){var me=pe(q);Hn(ne,R.props,"prop",me,R)}else if(q.PropTypes!==void 0&&!Ra){Ra=!0;var ze=pe(q);z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ze||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ca(R){{for(var q=Object.keys(R.props),ne=0;ne<q.length;ne++){var me=q[ne];if(me!=="children"&&me!=="key"){Ca(R),z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",me),Ca(null);break}}R.ref!==null&&(Ca(R),z("Invalid attribute `ref` supplied to `React.Fragment`."),Ca(null))}}var Kn={};function qa(R,q,ne,me,ze,Re){{var Ue=Pe(R);if(!Ue){var ge="";(R===void 0||typeof R=="object"&&R!==null&&Object.keys(R).length===0)&&(ge+=" 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 At=Eo(ze);At?ge+=At:ge+=vr();var dt;R===null?dt="null":ln(R)?dt="array":R!==void 0&&R.$$typeof===u?(dt="<"+(pe(R.type)||"Unknown")+" />",ge=" Did you accidentally export a JSX literal instead of a component?"):dt=typeof R,z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",dt,ge)}var pt=Ct(R,q,ne,ze,Re);if(pt==null)return pt;if(Ue){var bn=q.children;if(bn!==void 0)if(me)if(ln(bn)){for(var Ga=0;Ga<bn.length;Ga++)Si(bn[Ga],R);Object.freeze&&Object.freeze(bn)}else z("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 Si(bn,R)}if(Wt.call(q,"key")){var Ta=pe(R),Mt=Object.keys(q).filter(function(Le){return Le!=="key"}),Ri=Mt.length>0?"{key: someKey, "+Mt.join(": ..., ")+": ...}":"{key: someKey}";if(!Kn[Ta+Ri]){var Na=Mt.length>0?"{"+Mt.join(": ..., ")+": ...}":"{}";z(`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} />`,Ri,Ta,Na,Ta),Kn[Ta+Ri]=!0}}return R===p?ca(pt):wa(pt),pt}}var Ci=qa;vh.Fragment=p,vh.jsxDEV=Ci})();rC.exports=vh;var x=rC.exports,mh={},oC={exports:{}},ia={},uC={exports:{}},sC={};(function(l){/**
- * @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 u=!1,f=5;function p(te,ve){var Oe=te.length;te.push(ve),s(te,ve,Oe)}function v(te){return te.length===0?null:te[0]}function h(te){if(te.length===0)return null;var ve=te[0],Oe=te.pop();return Oe!==ve&&(te[0]=Oe,E(te,Oe,0)),ve}function s(te,ve,Oe){for(var Ze=Oe;Ze>0;){var ft=Ze-1>>>1,gt=te[ft];if(b(gt,ve)>0)te[ft]=ve,te[Ze]=gt,Ze=ft;else return}}function E(te,ve,Oe){for(var Ze=Oe,ft=te.length,gt=ft>>>1;Ze<gt;){var bt=(Ze+1)*2-1,gn=te[bt],Ct=bt+1,lt=te[Ct];if(b(gn,ve)<0)Ct<ft&&b(lt,gn)<0?(te[Ze]=lt,te[Ct]=ve,Ze=Ct):(te[Ze]=gn,te[bt]=ve,Ze=bt);else if(Ct<ft&&b(lt,ve)<0)te[Ze]=lt,te[Ct]=ve,Ze=Ct;else return}}function b(te,ve){var Oe=te.sortIndex-ve.sortIndex;return Oe!==0?Oe:te.id-ve.id}var S=1,_=2,D=3,w=4,O=5;function F(te,ve){}var W=typeof performance=="object"&&typeof performance.now=="function";if(W){var K=performance;l.unstable_now=function(){return K.now()}}else{var Y=Date,z=Y.now();l.unstable_now=function(){return Y.now()-z}}var P=1073741823,Q=-1,X=250,ye=5e3,de=1e4,We=P,je=[],Pe=[],rt=1,Je=null,pe=D,yt=!1,it=!1,Z=!1,ue=typeof setTimeout=="function"?setTimeout:null,Ke=typeof clearTimeout=="function"?clearTimeout:null,Xe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Nt(te){for(var ve=v(Pe);ve!==null;){if(ve.callback===null)h(Pe);else if(ve.startTime<=te)h(Pe),ve.sortIndex=ve.expirationTime,p(je,ve);else return;ve=v(Pe)}}function oa(te){if(Z=!1,Nt(te),!it)if(v(je)!==null)it=!0,Lt(Yt);else{var ve=v(Pe);ve!==null&&Dn(oa,ve.startTime-te)}}function Yt(te,ve){it=!1,Z&&(Z=!1,Fn()),yt=!0;var Oe=pe;try{var Ze;if(!u)return Ea(te,ve)}finally{Je=null,pe=Oe,yt=!1}}function Ea(te,ve){var Oe=ve;for(Nt(Oe),Je=v(je);Je!==null&&!(Je.expirationTime>Oe&&(!te||dr()));){var Ze=Je.callback;if(typeof Ze=="function"){Je.callback=null,pe=Je.priorityLevel;var ft=Je.expirationTime<=Oe,gt=Ze(ft);Oe=l.unstable_now(),typeof gt=="function"?Je.callback=gt:Je===v(je)&&h(je),Nt(Oe)}else h(je);Je=v(je)}if(Je!==null)return!0;var bt=v(Pe);return bt!==null&&Dn(oa,bt.startTime-Oe),!1}function Nn(te,ve){switch(te){case S:case _:case D:case w:case O:break;default:te=D}var Oe=pe;pe=te;try{return ve()}finally{pe=Oe}}function fr(te){var ve;switch(pe){case S:case _:case D:ve=D;break;default:ve=pe;break}var Oe=pe;pe=ve;try{return te()}finally{pe=Oe}}function Ia(te){var ve=pe;return function(){var Oe=pe;pe=ve;try{return te.apply(this,arguments)}finally{pe=Oe}}}function tn(te,ve,Oe){var Ze=l.unstable_now(),ft;if(typeof Oe=="object"&&Oe!==null){var gt=Oe.delay;typeof gt=="number"&>>0?ft=Ze+gt:ft=Ze}else ft=Ze;var bt;switch(te){case S:bt=Q;break;case _:bt=X;break;case O:bt=We;break;case w:bt=de;break;case D:default:bt=ye;break}var gn=ft+bt,Ct={id:rt++,callback:ve,priorityLevel:te,startTime:ft,expirationTime:gn,sortIndex:-1};return ft>Ze?(Ct.sortIndex=ft,p(Pe,Ct),v(je)===null&&Ct===v(Pe)&&(Z?Fn():Z=!0,Dn(oa,ft-Ze))):(Ct.sortIndex=gn,p(je,Ct),!it&&!yt&&(it=!0,Lt(Yt))),Ct}function Qn(){}function nn(){!it&&!yt&&(it=!0,Lt(Yt))}function an(){return v(je)}function rn(te){te.callback=null}function Bn(){return pe}var qt=!1,xn=null,Gt=-1,Wt=f,ua=-1;function dr(){var te=l.unstable_now()-ua;return!(te<Wt)}function Sa(){}function Hn(te){if(te<0||te>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}te>0?Wt=Math.floor(1e3/te):Wt=f}var yn=function(){if(xn!==null){var te=l.unstable_now();ua=te;var ve=!0,Oe=!0;try{Oe=xn(ve,te)}finally{Oe?ln():(qt=!1,xn=null)}}else qt=!1},ln;if(typeof Xe=="function")ln=function(){Xe(yn)};else if(typeof MessageChannel<"u"){var _n=new MessageChannel,Ya=_n.port2;_n.port1.onmessage=yn,ln=function(){Ya.postMessage(null)}}else ln=function(){ue(yn,0)};function Lt(te){xn=te,qt||(qt=!0,ln())}function Dn(te,ve){Gt=ue(function(){te(l.unstable_now())},ve)}function Fn(){Ke(Gt),Gt=-1}var Hr=Sa,pr=null;l.unstable_IdlePriority=O,l.unstable_ImmediatePriority=S,l.unstable_LowPriority=w,l.unstable_NormalPriority=D,l.unstable_Profiling=pr,l.unstable_UserBlockingPriority=_,l.unstable_cancelCallback=rn,l.unstable_continueExecution=nn,l.unstable_forceFrameRate=Hn,l.unstable_getCurrentPriorityLevel=Bn,l.unstable_getFirstCallbackNode=an,l.unstable_next=fr,l.unstable_pauseExecution=Qn,l.unstable_requestPaint=Hr,l.unstable_runWithPriority=Nn,l.unstable_scheduleCallback=tn,l.unstable_shouldYield=dr,l.unstable_wrapCallback=Ia,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(sC);uC.exports=sC;var tU=uC.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 l=j,u=tU,f=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,p=!1;function v(e){p=e}function h(e){if(!p){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];E("warn",e,n)}}function s(e){if(!p){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];E("error",e,n)}}function E(e,t,n){{var a=f.ReactDebugCurrentFrame,r=a.getStackAddendum();r!==""&&(t+="%s",n=n.concat([r]));var i=n.map(function(o){return String(o)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}}var b=0,S=1,_=2,D=3,w=4,O=5,F=6,W=7,K=8,Y=9,z=10,P=11,Q=12,X=13,ye=14,de=15,We=16,je=17,Pe=18,rt=19,Je=21,pe=22,yt=23,it=24,Z=25,ue=!0,Ke=!1,Xe=!1,Nt=!1,oa=!1,Yt=!0,Ea=!0,Nn=!0,fr=!0,Ia=new Set,tn={},Qn={};function nn(e,t){an(e,t),an(e+"Capture",t)}function an(e,t){tn[e]&&s("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),tn[e]=t;{var n=e.toLowerCase();Qn[n]=e,e==="onDoubleClick"&&(Qn.ondblclick=e)}for(var a=0;a<t.length;a++)Ia.add(t[a])}var rn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Bn=Object.prototype.hasOwnProperty;function qt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function xn(e){try{return Gt(e),!1}catch{return!0}}function Gt(e){return""+e}function Wt(e,t){if(xn(e))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,qt(e)),Gt(e)}function ua(e){if(xn(e))return s("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qt(e)),Gt(e)}function dr(e,t){if(xn(e))return s("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,qt(e)),Gt(e)}function Sa(e,t){if(xn(e))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,qt(e)),Gt(e)}function Hn(e){if(xn(e))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",qt(e)),Gt(e)}function yn(e){if(xn(e))return s("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.",qt(e)),Gt(e)}var ln=0,_n=1,Ya=2,Lt=3,Dn=4,Fn=5,Hr=6,pr=":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",te=pr+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+pr+"]["+te+"]*$"),Oe={},Ze={};function ft(e){return Bn.call(Ze,e)?!0:Bn.call(Oe,e)?!1:ve.test(e)?(Ze[e]=!0,!0):(Oe[e]=!0,s("Invalid attribute name: `%s`",e),!1)}function gt(e,t,n){return t!==null?t.type===ln:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function bt(e,t,n,a){if(n!==null&&n.type===ln)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 gn(e,t,n,a){if(t===null||typeof t>"u"||bt(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case Lt:return!t;case Dn:return t===!1;case Fn:return isNaN(t);case Hr:return isNaN(t)||t<1}return!1}function Ct(e){return Rt.hasOwnProperty(e)?Rt[e]:null}function lt(e,t,n,a,r,i,o){this.acceptsBooleans=t===Ya||t===Lt||t===Dn,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Rt={},Ca=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ca.forEach(function(e){Rt[e]=new lt(e,ln,!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];Rt[t]=new lt(t,_n,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Rt[e]=new lt(e,Ya,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Rt[e]=new lt(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){Rt[e]=new lt(e,Lt,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Rt[e]=new lt(e,Lt,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Rt[e]=new lt(e,Dn,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Rt[e]=new lt(e,Hr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Rt[e]=new lt(e,Fn,!1,e.toLowerCase(),null,!1,!1)});var Ra=/[\-\:]([a-z])/g,sa=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(Ra,sa);Rt[t]=new lt(t,_n,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Ra,sa);Rt[t]=new lt(t,_n,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ra,sa);Rt[t]=new lt(t,_n,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Rt[e]=new lt(e,_n,!1,e.toLowerCase(),null,!1,!1)});var vr="xlinkHref";Rt[vr]=new lt("xlinkHref",_n,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Rt[e]=new lt(e,_n,!1,e.toLowerCase(),null,!0,!0)});var Eo=/^[\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,Ei=!1;function ol(e){!Ei&&Eo.test(e)&&(Ei=!0,s("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 ul(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{Wt(n,t),a.sanitizeURL&&ol(""+n);var i=a.attributeName,o=null;if(a.type===Dn){if(e.hasAttribute(i)){var c=e.getAttribute(i);return c===""?!0:gn(t,n,a,!1)?c:c===""+n?n:c}}else if(e.hasAttribute(i)){if(gn(t,n,a,!1))return e.getAttribute(i);if(a.type===Lt)return n;o=e.getAttribute(i)}return gn(t,n,a,!1)?o===null?n:o:o===""+n?n:o}}function Si(e,t,n,a){{if(!ft(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return Wt(n,t),r===""+n?n:r}}function wa(e,t,n,a){var r=Ct(t);if(!gt(t,r,a)){if(gn(t,n,r,a)&&(n=null),a||r===null){if(ft(t)){var i=t;n===null?e.removeAttribute(i):(Wt(n,t),e.setAttribute(i,""+n))}return}var o=r.mustUseProperty;if(o){var c=r.propertyName;if(n===null){var d=r.type;e[c]=d===Lt?!1:""}else e[c]=n;return}var y=r.attributeName,g=r.attributeNamespace;if(n===null)e.removeAttribute(y);else{var N=r.type,T;N===Lt||N===Dn&&n===!0?T="":(Wt(n,y),T=""+n,r.sanitizeURL&&ol(T.toString())),g?e.setAttributeNS(g,y,T):e.setAttribute(y,T)}}}var ca=Symbol.for("react.element"),Kn=Symbol.for("react.portal"),qa=Symbol.for("react.fragment"),Ci=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),ne=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),ze=Symbol.for("react.suspense"),Re=Symbol.for("react.suspense_list"),Ue=Symbol.for("react.memo"),ge=Symbol.for("react.lazy"),At=Symbol.for("react.scope"),dt=Symbol.for("react.debug_trace_mode"),pt=Symbol.for("react.offscreen"),bn=Symbol.for("react.legacy_hidden"),Ga=Symbol.for("react.cache"),Ta=Symbol.for("react.tracing_marker"),Mt=Symbol.iterator,Ri="@@iterator";function Na(e){if(e===null||typeof e!="object")return null;var t=Mt&&e[Mt]||e[Ri];return typeof t=="function"?t:null}var Le=Object.assign,wi=0,Ts,Ns,Fr,So,Co,Ro,wo;function To(){}To.__reactDisabledLog=!0;function xs(){{if(wi===0){Ts=console.log,Ns=console.info,Fr=console.warn,So=console.error,Co=console.group,Ro=console.groupCollapsed,wo=console.groupEnd;var e={configurable:!0,enumerable:!0,value:To,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}wi++}}function _s(){{if(wi--,wi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Le({},e,{value:Ts}),info:Le({},e,{value:Ns}),warn:Le({},e,{value:Fr}),error:Le({},e,{value:So}),group:Le({},e,{value:Co}),groupCollapsed:Le({},e,{value:Ro}),groupEnd:Le({},e,{value:wo})})}wi<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var sl=f.ReactCurrentDispatcher,No;function Wa(e,t,n){{if(No===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);No=a&&a[1]||""}return`
- `+No+e}}var Ti=!1,Pr;{var cl=typeof WeakMap=="function"?WeakMap:Map;Pr=new cl}function Ni(e,t){if(!e||Ti)return"";{var n=Pr.get(e);if(n!==void 0)return n}var a;Ti=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=sl.current,sl.current=null,xs();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(M){a=M}Reflect.construct(e,[],o)}else{try{o.call()}catch(M){a=M}e.call(o.prototype)}}else{try{throw Error()}catch(M){a=M}e()}}catch(M){if(M&&a&&typeof M.stack=="string"){for(var c=M.stack.split(`
- `),d=a.stack.split(`
- `),y=c.length-1,g=d.length-1;y>=1&&g>=0&&c[y]!==d[g];)g--;for(;y>=1&&g>=0;y--,g--)if(c[y]!==d[g]){if(y!==1||g!==1)do if(y--,g--,g<0||c[y]!==d[g]){var N=`
- `+c[y].replace(" at new "," at ");return e.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",e.displayName)),typeof e=="function"&&Pr.set(e,N),N}while(y>=1&&g>=0);break}}}finally{Ti=!1,sl.current=i,_s(),Error.prepareStackTrace=r}var T=e?e.displayName||e.name:"",L=T?Wa(T):"";return typeof e=="function"&&Pr.set(e,L),L}function fl(e,t,n){return Ni(e,!0)}function xo(e,t,n){return Ni(e,!1)}function Ds(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function _o(e,t,n){if(e==null)return"";if(typeof e=="function")return Ni(e,Ds(e));if(typeof e=="string")return Wa(e);switch(e){case ze:return Wa("Suspense");case Re:return Wa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case me:return xo(e.render);case Ue:return _o(e.type,t,n);case ge:{var a=e,r=a._payload,i=a._init;try{return _o(i(r),t,n)}catch{}}}return""}function Xf(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case O:return Wa(e.type);case We:return Wa("Lazy");case X:return Wa("Suspense");case rt:return Wa("SuspenseList");case b:case _:case de:return xo(e.type);case P:return xo(e.type.render);case S:return fl(e.type);default:return""}}function xi(e){try{var t="",n=e;do t+=Xf(n),n=n.return;while(n);return t}catch(a){return`
- Error generating stack: `+a.message+`
- `+a.stack}}function Us(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function Do(e){return e.displayName||"Context"}function Ye(e){if(e==null)return null;if(typeof e.tag=="number"&&s("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 qa:return"Fragment";case Kn:return"Portal";case R:return"Profiler";case Ci:return"StrictMode";case ze:return"Suspense";case Re:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ne:var t=e;return Do(t)+".Consumer";case q:var n=e;return Do(n._context)+".Provider";case me:return Us(e,e.render,"ForwardRef");case Ue:var a=e.displayName||null;return a!==null?a:Ye(e.type)||"Memo";case ge:{var r=e,i=r._payload,o=r._init;try{return Ye(o(i))}catch{return null}}}return null}function Zf(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function mr(e){return e.displayName||"Context"}function _e(e){var t=e.tag,n=e.type;switch(t){case it:return"Cache";case Y:var a=n;return mr(a)+".Consumer";case z:var r=n;return mr(r._context)+".Provider";case Pe:return"DehydratedFragment";case P:return Zf(n,n.render,"ForwardRef");case W:return"Fragment";case O:return n;case w:return"Portal";case D:return"Root";case F:return"Text";case We:return Ye(n);case K:return n===Ci?"StrictMode":"Mode";case pe:return"Offscreen";case Q:return"Profiler";case Je:return"Scope";case X:return"Suspense";case rt:return"SuspenseList";case Z:return"TracingMarker";case S:case b:case je:case _:case ye:case de:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Uo=f.ReactDebugCurrentFrame,Un=null,_i=!1;function $r(){{if(Un===null)return null;var e=Un._debugOwner;if(e!==null&&typeof e<"u")return _e(e)}return null}function ed(){return Un===null?"":xi(Un)}function Qt(){Uo.getCurrentStack=null,Un=null,_i=!1}function mt(e){Uo.getCurrentStack=e===null?null:ed,Un=e,_i=!1}function ks(){return Un}function fa(e){_i=e}function kn(e){return""+e}function xa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return yn(e),e;default:return""}}var td={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ko(e,t){td[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||s("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||s("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 Os(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Oo(e){return e._valueTracker}function dl(e){e._valueTracker=null}function nd(e){var t="";return e&&(Os(e)?t=e.checked?"true":"false":t=e.value),t}function Ir(e){var t=Os(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);yn(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(c){yn(c),a=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(c){yn(c),a=""+c},stopTracking:function(){dl(e),delete e[t]}};return o}}function Di(e){Oo(e)||(e._valueTracker=Ir(e))}function Lo(e){if(!e)return!1;var t=Oo(e);if(!t)return!0;var n=t.getValue(),a=nd(e);return a!==n?(t.setValue(a),!0):!1}function hr(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 pl=!1,vl=!1,ml=!1,Ls=!1;function As(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Ao(e,t){var n=e,a=t.checked,r=Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked});return r}function Ms(e,t){ko("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!vl&&(s("%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",$r()||"A component",t.type),vl=!0),t.value!==void 0&&t.defaultValue!==void 0&&!pl&&(s("%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",$r()||"A component",t.type),pl=!0);var n=e,a=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:xa(t.value!=null?t.value:a),controlled:As(t)}}function m(e,t){var n=e,a=t.checked;a!=null&&wa(n,"checked",a,!1)}function C(e,t){var n=e;{var a=As(t);!n._wrapperState.controlled&&a&&!Ls&&(s("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"),Ls=!0),n._wrapperState.controlled&&!a&&!ml&&(s("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"),ml=!0)}m(e,t);var r=xa(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=kn(r)):n.value!==kn(r)&&(n.value=kn(r));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Ee(n,t.type,r):t.hasOwnProperty("defaultValue")&&Ee(n,t.type,xa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function A(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type,i=r==="submit"||r==="reset";if(i&&(t.value===void 0||t.value===null))return;var o=kn(a._wrapperState.initialValue);n||o!==a.value&&(a.value=o),a.defaultValue=o}var c=a.name;c!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,c!==""&&(a.name=c)}function V(e,t){var n=e;C(n,t),J(n,t)}function J(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var a=e;a.parentNode;)a=a.parentNode;Wt(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i<r.length;i++){var o=r[i];if(!(o===e||o.form!==e.form)){var c=Sc(o);if(!c)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Lo(o),C(o,c)}}}}function Ee(e,t,n){(t!=="number"||hr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=kn(e._wrapperState.initialValue):e.defaultValue!==kn(n)&&(e.defaultValue=kn(n)))}var ce=!1,Ne=!1,Ve=!1;function et(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?l.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||Ne||(Ne=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Ve||(Ve=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ce&&(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ce=!0)}function ut(e,t){t.value!=null&&e.setAttribute("value",kn(xa(t.value)))}var st=Array.isArray;function Ae(e){return st(e)}var ht;ht=!1;function _t(){var e=$r();return e?`
- Check the render method of \``+e+"`.":""}var Ui=["value","defaultValue"];function Mo(e){{ko("select",e);for(var t=0;t<Ui.length;t++){var n=Ui[t];if(e[n]!=null){var a=Ae(e[n]);e.multiple&&!a?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,_t()):!e.multiple&&a&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,_t())}}}}function yr(e,t,n,a){var r=e.options;if(t){for(var i=n,o={},c=0;c<i.length;c++)o["$"+i[c]]=!0;for(var d=0;d<r.length;d++){var y=o.hasOwnProperty("$"+r[d].value);r[d].selected!==y&&(r[d].selected=y),y&&a&&(r[d].defaultSelected=!0)}}else{for(var g=kn(xa(n)),N=null,T=0;T<r.length;T++){if(r[T].value===g){r[T].selected=!0,a&&(r[T].defaultSelected=!0);return}N===null&&!r[T].disabled&&(N=r[T])}N!==null&&(N.selected=!0)}}function zo(e,t){return Le({},t,{value:void 0})}function jo(e,t){var n=e;Mo(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!ht&&(s("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"),ht=!0)}function ad(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;a!=null?yr(n,!!t.multiple,a,!1):t.defaultValue!=null&&yr(n,!!t.multiple,t.defaultValue,!0)}function zs(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;r!=null?yr(n,!!t.multiple,r,!1):a!==!!t.multiple&&(t.defaultValue!=null?yr(n,!!t.multiple,t.defaultValue,!0):yr(n,!!t.multiple,t.multiple?[]:"",!1))}function rd(e,t){var n=e,a=t.value;a!=null&&yr(n,!!t.multiple,a,!1)}var Mh=!1;function id(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=Le({},t,{value:void 0,defaultValue:void 0,children:kn(n._wrapperState.initialValue)});return a}function zh(e,t){var n=e;ko("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Mh&&(s("%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",$r()||"A component"),Mh=!0);var a=t.value;if(a==null){var r=t.children,i=t.defaultValue;if(r!=null){s("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(Ae(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:xa(a)}}function jh(e,t){var n=e,a=xa(t.value),r=xa(t.defaultValue);if(a!=null){var i=kn(a);i!==n.value&&(n.value=i),t.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)}r!=null&&(n.defaultValue=kn(r))}function Vh(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function VC(e,t){jh(e,t)}var gr="http://www.w3.org/1999/xhtml",BC="http://www.w3.org/1998/Math/MathML",ld="http://www.w3.org/2000/svg";function od(e){switch(e){case"svg":return ld;case"math":return BC;default:return gr}}function ud(e,t){return e==null||e===gr?od(t):e===ld&&t==="foreignObject"?gr:e}var HC=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e},js,Bh=HC(function(e,t){if(e.namespaceURI===ld&&!("innerHTML"in e)){js=js||document.createElement("div"),js.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=js.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),Pn=1,br=3,Dt=8,Er=9,sd=11,Vs=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===br){n.nodeValue=t;return}}e.textContent=t},FC={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"]},Vo={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 PC(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var $C=["Webkit","ms","Moz","O"];Object.keys(Vo).forEach(function(e){$C.forEach(function(t){Vo[PC(t,e)]=Vo[e]})});function cd(e,t,n){var a=t==null||typeof t=="boolean"||t==="";return a?"":!n&&typeof t=="number"&&t!==0&&!(Vo.hasOwnProperty(e)&&Vo[e])?t+"px":(Sa(t,e),(""+t).trim())}var IC=/([A-Z])/g,YC=/^ms-/;function qC(e){return e.replace(IC,"-$1").toLowerCase().replace(YC,"-ms-")}var Hh=function(){};{var GC=/^(?:webkit|moz|o)[A-Z]/,WC=/^-ms-/,QC=/-(.)/g,Fh=/;\s*$/,hl={},fd={},Ph=!1,$h=!1,KC=function(e){return e.replace(QC,function(t,n){return n.toUpperCase()})},JC=function(e){hl.hasOwnProperty(e)&&hl[e]||(hl[e]=!0,s("Unsupported style property %s. Did you mean %s?",e,KC(e.replace(WC,"ms-"))))},XC=function(e){hl.hasOwnProperty(e)&&hl[e]||(hl[e]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},ZC=function(e,t){fd.hasOwnProperty(t)&&fd[t]||(fd[t]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Fh,"")))},e0=function(e,t){Ph||(Ph=!0,s("`NaN` is an invalid value for the `%s` css style property.",e))},t0=function(e,t){$h||($h=!0,s("`Infinity` is an invalid value for the `%s` css style property.",e))};Hh=function(e,t){e.indexOf("-")>-1?JC(e):GC.test(e)?XC(e):Fh.test(t)&&ZC(e,t),typeof t=="number"&&(isNaN(t)?e0(e,t):isFinite(t)||t0(e,t))}}var n0=Hh;function a0(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:qC(a))+":",t+=cd(a,r,i),n=";"}}return t||null}}function Ih(e,t){var n=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=a.indexOf("--")===0;r||n0(a,t[a]);var i=cd(a,t[a],r);a==="float"&&(a="cssFloat"),r?n.setProperty(a,i):n[a]=i}}function r0(e){return e==null||typeof e=="boolean"||e===""}function Yh(e){var t={};for(var n in e)for(var a=FC[n]||[n],r=0;r<a.length;r++)t[a[r]]=n;return t}function i0(e,t){{if(!t)return;var n=Yh(e),a=Yh(t),r={};for(var i in n){var o=n[i],c=a[i];if(c&&o!==c){var d=o+","+c;if(r[d])continue;r[d]=!0,s("%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.",r0(e[o])?"Removing":"Updating",o,c)}}}}var l0={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},o0=Le({menuitem:!0},l0),u0="__html";function dd(e,t){if(t){if(o0[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"||!(u0 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&&s("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 ki(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 Bs={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"},qh={"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},yl={},s0=new RegExp("^(aria)-["+te+"]*$"),c0=new RegExp("^(aria)[A-Z]["+te+"]*$");function f0(e,t){{if(Bn.call(yl,t)&&yl[t])return!0;if(c0.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=qh.hasOwnProperty(n)?n:null;if(a==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),yl[t]=!0,!0;if(t!==a)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),yl[t]=!0,!0}if(s0.test(t)){var r=t.toLowerCase(),i=qh.hasOwnProperty(r)?r:null;if(i==null)return yl[t]=!0,!1;if(t!==i)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),yl[t]=!0,!0}}return!0}function d0(e,t){{var n=[];for(var a in t){var r=f0(e,a);r||n.push(a)}var i=n.map(function(o){return"`"+o+"`"}).join(", ");n.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e):n.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e)}}function p0(e,t){ki(e,t)||d0(e,t)}var Gh=!1;function v0(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Gh&&(Gh=!0,e==="select"&&t.multiple?s("`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):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Wh=function(){};{var On={},Qh=/^on./,m0=/^on[^A-Z]/,h0=new RegExp("^(aria)-["+te+"]*$"),y0=new RegExp("^(aria)[A-Z]["+te+"]*$");Wh=function(e,t,n,a){if(Bn.call(On,t)&&On[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="onfocusout")return s("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."),On[t]=!0,!0;if(a!=null){var i=a.registrationNameDependencies,o=a.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var c=o.hasOwnProperty(r)?o[r]:null;if(c!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",t,c),On[t]=!0,!0;if(Qh.test(t))return s("Unknown event handler property `%s`. It will be ignored.",t),On[t]=!0,!0}else if(Qh.test(t))return m0.test(t)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),On[t]=!0,!0;if(h0.test(t)||y0.test(t))return!0;if(r==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),On[t]=!0,!0;if(r==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),On[t]=!0,!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),On[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),On[t]=!0,!0;var d=Ct(t),y=d!==null&&d.type===ln;if(Bs.hasOwnProperty(r)){var g=Bs[r];if(g!==t)return s("Invalid DOM property `%s`. Did you mean `%s`?",t,g),On[t]=!0,!0}else if(!y&&t!==r)return s("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),On[t]=!0,!0;return typeof n=="boolean"&&bt(t,n,d,!1)?(n?s('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):s('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),On[t]=!0,!0):y?!0:bt(t,n,d,!1)?(On[t]=!0,!1):((n==="false"||n==="true")&&d!==null&&d.type===Lt&&(s("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),On[t]=!0),!0)}}var g0=function(e,t,n){{var a=[];for(var r in t){var i=Wh(e,r,t[r],n);i||a.push(r)}var o=a.map(function(c){return"`"+c+"`"}).join(", ");a.length===1?s("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 ",o,e):a.length>1&&s("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 ",o,e)}};function b0(e,t,n){ki(e,t)||g0(e,t,n)}var Kh=1,pd=2,Bo=4,E0=Kh|pd|Bo,Ho=null;function S0(e){Ho!==null&&s("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Ho=e}function C0(){Ho===null&&s("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Ho=null}function R0(e){return e===Ho}function vd(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===br?t.parentNode:t}var md=null,gl=null,bl=null;function Jh(e){var t=Zr(e);if(t){if(typeof md!="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);md(t.stateNode,t.type,a)}}}function w0(e){md=e}function Xh(e){gl?bl?bl.push(e):bl=[e]:gl=e}function T0(){return gl!==null||bl!==null}function Zh(){if(gl){var e=gl,t=bl;if(gl=null,bl=null,Jh(e),t)for(var n=0;n<t.length;n++)Jh(t[n])}}var ey=function(e,t){return e(t)},ty=function(){},hd=!1;function N0(){var e=T0();e&&(ty(),Zh())}function ny(e,t,n){if(hd)return e(t,n);hd=!0;try{return ey(e,t,n)}finally{hd=!1,N0()}}function x0(e,t,n){ey=e,ty=n}function _0(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function D0(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&&_0(t));default:return!1}}function Fo(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(D0(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 yd=!1;if(rn)try{var Po={};Object.defineProperty(Po,"passive",{get:function(){yd=!0}}),window.addEventListener("test",Po,Po),window.removeEventListener("test",Po,Po)}catch{yd=!1}function ay(e,t,n,a,r,i,o,c,d){var y=Array.prototype.slice.call(arguments,3);try{t.apply(n,y)}catch(g){this.onError(g)}}var ry=ay;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var gd=document.createElement("react");ry=function(t,n,a,r,i,o,c,d,y){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 g=document.createEvent("Event"),N=!1,T=!0,L=window.event,M=Object.getOwnPropertyDescriptor(window,"event");function B(){gd.removeEventListener(H,he,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=L)}var ae=Array.prototype.slice.call(arguments,3);function he(){N=!0,B(),n.apply(a,ae),T=!1}var fe,Fe=!1,Me=!1;function U(k){if(fe=k.error,Fe=!0,fe===null&&k.colno===0&&k.lineno===0&&(Me=!0),k.defaultPrevented&&fe!=null&&typeof fe=="object")try{fe._suppressLogging=!0}catch{}}var H="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",U),gd.addEventListener(H,he,!1),g.initEvent(H,!1,!1),gd.dispatchEvent(g),M&&Object.defineProperty(window,"event",M),N&&T&&(Fe?Me&&(fe=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.")):fe=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(fe)),window.removeEventListener("error",U),!N)return B(),ay.apply(this,arguments)}}var U0=ry,El=!1,Hs=null,Fs=!1,bd=null,k0={onError:function(e){El=!0,Hs=e}};function Ed(e,t,n,a,r,i,o,c,d){El=!1,Hs=null,U0.apply(k0,arguments)}function O0(e,t,n,a,r,i,o,c,d){if(Ed.apply(this,arguments),El){var y=Sd();Fs||(Fs=!0,bd=y)}}function L0(){if(Fs){var e=bd;throw Fs=!1,bd=null,e}}function A0(){return El}function Sd(){if(El){var e=Hs;return El=!1,Hs=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 Sl(e){return e._reactInternals}function M0(e){return e._reactInternals!==void 0}function z0(e,t){e._reactInternals=t}var Se=0,Cl=1,Ut=2,qe=4,Oi=16,$o=32,iy=64,Ge=128,Sr=256,Li=512,Rl=1024,Yr=2048,Cr=4096,Ai=8192,Cd=16384,j0=32767,Ps=32768,Ln=65536,Rd=131072,ly=1048576,wd=2097152,Mi=4194304,Td=8388608,qr=16777216,Nd=33554432,xd=qe|Rl|0,_d=Ut|qe|Oi|$o|Li|Cr|Ai,Io=qe|iy|Li|Ai,wl=Yr|Oi,Rr=Mi|Td|wd,V0=f.ReactCurrentOwner;function zi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(Ut|Cr))!==Se&&(n=t.return),a=t.return;while(a)}return t.tag===D?n:null}function oy(e){if(e.tag===X){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 uy(e){return e.tag===D?e.stateNode.containerInfo:null}function B0(e){return zi(e)===e}function H0(e){{var t=V0.current;if(t!==null&&t.tag===S){var n=t,a=n.stateNode;a._warnedAboutRefsInRender||s("%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.",_e(n)||"A component"),a._warnedAboutRefsInRender=!0}}var r=Sl(e);return r?zi(r)===r:!1}function sy(e){if(zi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function cy(e){var t=e.alternate;if(!t){var n=zi(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 o=i.alternate;if(o===null){var c=i.return;if(c!==null){a=r=c;continue}break}if(i.child===o.child){for(var d=i.child;d;){if(d===a)return sy(i),e;if(d===r)return sy(i),t;d=d.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==r.return)a=i,r=o;else{for(var y=!1,g=i.child;g;){if(g===a){y=!0,a=i,r=o;break}if(g===r){y=!0,r=i,a=o;break}g=g.sibling}if(!y){for(g=o.child;g;){if(g===a){y=!0,a=o,r=i;break}if(g===r){y=!0,r=o,a=i;break}g=g.sibling}if(!y)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!==D)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function fy(e){var t=cy(e);return t!==null?dy(t):null}function dy(e){if(e.tag===O||e.tag===F)return e;for(var t=e.child;t!==null;){var n=dy(t);if(n!==null)return n;t=t.sibling}return null}function F0(e){var t=cy(e);return t!==null?py(t):null}function py(e){if(e.tag===O||e.tag===F)return e;for(var t=e.child;t!==null;){if(t.tag!==w){var n=py(t);if(n!==null)return n}t=t.sibling}return null}var vy=u.unstable_scheduleCallback,P0=u.unstable_cancelCallback,$0=u.unstable_shouldYield,I0=u.unstable_requestPaint,Kt=u.unstable_now,Y0=u.unstable_getCurrentPriorityLevel,$s=u.unstable_ImmediatePriority,Dd=u.unstable_UserBlockingPriority,ji=u.unstable_NormalPriority,q0=u.unstable_LowPriority,Ud=u.unstable_IdlePriority,G0=u.unstable_yieldValue,W0=u.unstable_setDisableYieldValue,Tl=null,En=null,ie=null,Qa=!1,_a=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Q0(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 s("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{Ea&&(e=Le({},e,{getLaneLabelMap:tR,injectProfilingHooks:eR})),Tl=t.inject(e),En=t}catch(n){s("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function K0(e,t){if(En&&typeof En.onScheduleFiberRoot=="function")try{En.onScheduleFiberRoot(Tl,e,t)}catch(n){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",n))}}function J0(e,t){if(En&&typeof En.onCommitFiberRoot=="function")try{var n=(e.current.flags&Ge)===Ge;if(Nn){var a;switch(t){case Zn:a=$s;break;case Tr:a=Dd;break;case Nr:a=ji;break;case Ks:a=Ud;break;default:a=ji;break}En.onCommitFiberRoot(Tl,e,a,n)}}catch(r){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",r))}}function X0(e){if(En&&typeof En.onPostCommitFiberRoot=="function")try{En.onPostCommitFiberRoot(Tl,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function Z0(e){if(En&&typeof En.onCommitFiberUnmount=="function")try{En.onCommitFiberUnmount(Tl,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function Jt(e){if(typeof G0=="function"&&(W0(e),v(e)),En&&typeof En.setStrictMode=="function")try{En.setStrictMode(Tl,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function eR(e){ie=e}function tR(){{for(var e=new Map,t=1,n=0;n<Od;n++){var a=SR(t);e.set(t,a),t*=2}return e}}function nR(e){ie!==null&&typeof ie.markCommitStarted=="function"&&ie.markCommitStarted(e)}function my(){ie!==null&&typeof ie.markCommitStopped=="function"&&ie.markCommitStopped()}function Yo(e){ie!==null&&typeof ie.markComponentRenderStarted=="function"&&ie.markComponentRenderStarted(e)}function Nl(){ie!==null&&typeof ie.markComponentRenderStopped=="function"&&ie.markComponentRenderStopped()}function aR(e){ie!==null&&typeof ie.markComponentPassiveEffectMountStarted=="function"&&ie.markComponentPassiveEffectMountStarted(e)}function rR(){ie!==null&&typeof ie.markComponentPassiveEffectMountStopped=="function"&&ie.markComponentPassiveEffectMountStopped()}function iR(e){ie!==null&&typeof ie.markComponentPassiveEffectUnmountStarted=="function"&&ie.markComponentPassiveEffectUnmountStarted(e)}function lR(){ie!==null&&typeof ie.markComponentPassiveEffectUnmountStopped=="function"&&ie.markComponentPassiveEffectUnmountStopped()}function oR(e){ie!==null&&typeof ie.markComponentLayoutEffectMountStarted=="function"&&ie.markComponentLayoutEffectMountStarted(e)}function uR(){ie!==null&&typeof ie.markComponentLayoutEffectMountStopped=="function"&&ie.markComponentLayoutEffectMountStopped()}function hy(e){ie!==null&&typeof ie.markComponentLayoutEffectUnmountStarted=="function"&&ie.markComponentLayoutEffectUnmountStarted(e)}function yy(){ie!==null&&typeof ie.markComponentLayoutEffectUnmountStopped=="function"&&ie.markComponentLayoutEffectUnmountStopped()}function sR(e,t,n){ie!==null&&typeof ie.markComponentErrored=="function"&&ie.markComponentErrored(e,t,n)}function cR(e,t,n){ie!==null&&typeof ie.markComponentSuspended=="function"&&ie.markComponentSuspended(e,t,n)}function fR(e){ie!==null&&typeof ie.markLayoutEffectsStarted=="function"&&ie.markLayoutEffectsStarted(e)}function dR(){ie!==null&&typeof ie.markLayoutEffectsStopped=="function"&&ie.markLayoutEffectsStopped()}function pR(e){ie!==null&&typeof ie.markPassiveEffectsStarted=="function"&&ie.markPassiveEffectsStarted(e)}function vR(){ie!==null&&typeof ie.markPassiveEffectsStopped=="function"&&ie.markPassiveEffectsStopped()}function gy(e){ie!==null&&typeof ie.markRenderStarted=="function"&&ie.markRenderStarted(e)}function mR(){ie!==null&&typeof ie.markRenderYielded=="function"&&ie.markRenderYielded()}function by(){ie!==null&&typeof ie.markRenderStopped=="function"&&ie.markRenderStopped()}function hR(e){ie!==null&&typeof ie.markRenderScheduled=="function"&&ie.markRenderScheduled(e)}function yR(e,t){ie!==null&&typeof ie.markForceUpdateScheduled=="function"&&ie.markForceUpdateScheduled(e,t)}function kd(e,t){ie!==null&&typeof ie.markStateUpdateScheduled=="function"&&ie.markStateUpdateScheduled(e,t)}var be=0,Be=1,tt=2,wt=8,Ka=16,Ey=Math.clz32?Math.clz32:ER,gR=Math.log,bR=Math.LN2;function ER(e){var t=e>>>0;return t===0?32:31-(gR(t)/bR|0)|0}var Od=31,I=0,Xt=0,we=1,xl=2,wr=4,Vi=8,Ja=16,qo=32,_l=4194240,Go=64,Ld=128,Ad=256,Md=512,zd=1024,jd=2048,Vd=4096,Bd=8192,Hd=16384,Fd=32768,Pd=65536,$d=131072,Id=262144,Yd=524288,qd=1048576,Gd=2097152,Is=130023424,Dl=4194304,Wd=8388608,Qd=16777216,Kd=33554432,Jd=67108864,Sy=Dl,Wo=134217728,Cy=268435455,Qo=268435456,Bi=536870912,Jn=1073741824;function SR(e){{if(e&we)return"Sync";if(e&xl)return"InputContinuousHydration";if(e&wr)return"InputContinuous";if(e&Vi)return"DefaultHydration";if(e&Ja)return"Default";if(e&qo)return"TransitionHydration";if(e&_l)return"Transition";if(e&Is)return"Retry";if(e&Wo)return"SelectiveHydration";if(e&Qo)return"IdleHydration";if(e&Bi)return"Idle";if(e&Jn)return"Offscreen"}}var ct=-1,Ys=Go,qs=Dl;function Ko(e){switch(Hi(e)){case we:return we;case xl:return xl;case wr:return wr;case Vi:return Vi;case Ja:return Ja;case qo:return qo;case Go:case Ld:case Ad:case Md:case zd:case jd:case Vd:case Bd:case Hd:case Fd:case Pd:case $d:case Id:case Yd:case qd:case Gd:return e&_l;case Dl:case Wd:case Qd:case Kd:case Jd:return e&Is;case Wo:return Wo;case Qo:return Qo;case Bi:return Bi;case Jn:return Jn;default:return s("Should have found matching lanes. This is a bug in React."),e}}function Gs(e,t){var n=e.pendingLanes;if(n===I)return I;var a=I,r=e.suspendedLanes,i=e.pingedLanes,o=n&Cy;if(o!==I){var c=o&~r;if(c!==I)a=Ko(c);else{var d=o&i;d!==I&&(a=Ko(d))}}else{var y=n&~r;y!==I?a=Ko(y):i!==I&&(a=Ko(i))}if(a===I)return I;if(t!==I&&t!==a&&(t&r)===I){var g=Hi(a),N=Hi(t);if(g>=N||g===Ja&&(N&_l)!==I)return t}(a&wr)!==I&&(a|=n&Ja);var T=e.entangledLanes;if(T!==I)for(var L=e.entanglements,M=a&T;M>0;){var B=Fi(M),ae=1<<B;a|=L[B],M&=~ae}return a}function CR(e,t){for(var n=e.eventTimes,a=ct;t>0;){var r=Fi(t),i=1<<r,o=n[r];o>a&&(a=o),t&=~i}return a}function RR(e,t){switch(e){case we:case xl:case wr:return t+250;case Vi:case Ja:case qo:case Go:case Ld:case Ad:case Md:case zd:case jd:case Vd:case Bd:case Hd:case Fd:case Pd:case $d:case Id:case Yd:case qd:case Gd:return t+5e3;case Dl:case Wd:case Qd:case Kd:case Jd:return ct;case Wo:case Qo:case Bi:case Jn:return ct;default:return s("Should have found matching lanes. This is a bug in React."),ct}}function wR(e,t){for(var n=e.pendingLanes,a=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=n;o>0;){var c=Fi(o),d=1<<c,y=i[c];y===ct?((d&a)===I||(d&r)!==I)&&(i[c]=RR(d,t)):y<=t&&(e.expiredLanes|=d),o&=~d}}function TR(e){return Ko(e.pendingLanes)}function Xd(e){var t=e.pendingLanes&~Jn;return t!==I?t:t&Jn?Jn:I}function NR(e){return(e&we)!==I}function Zd(e){return(e&Cy)!==I}function Ry(e){return(e&Is)===e}function xR(e){var t=we|wr|Ja;return(e&t)===I}function _R(e){return(e&_l)===e}function Ws(e,t){var n=xl|wr|Vi|Ja;return(t&n)!==I}function DR(e,t){return(t&e.expiredLanes)!==I}function wy(e){return(e&_l)!==I}function Ty(){var e=Ys;return Ys<<=1,(Ys&_l)===I&&(Ys=Go),e}function UR(){var e=qs;return qs<<=1,(qs&Is)===I&&(qs=Dl),e}function Hi(e){return e&-e}function Jo(e){return Hi(e)}function Fi(e){return 31-Ey(e)}function ep(e){return Fi(e)}function Xn(e,t){return(e&t)!==I}function Ul(e,t){return(e&t)===t}function ke(e,t){return e|t}function Qs(e,t){return e&~t}function Ny(e,t){return e&t}function iM(e){return e}function kR(e,t){return e!==Xt&&e<t?e:t}function tp(e){for(var t=[],n=0;n<Od;n++)t.push(e);return t}function Xo(e,t,n){e.pendingLanes|=t,t!==Bi&&(e.suspendedLanes=I,e.pingedLanes=I);var a=e.eventTimes,r=ep(t);a[r]=n}function OR(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,a=t;a>0;){var r=Fi(a),i=1<<r;n[r]=ct,a&=~i}}function xy(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function LR(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=I,e.pingedLanes=I,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,r=e.eventTimes,i=e.expirationTimes,o=n;o>0;){var c=Fi(o),d=1<<c;a[c]=I,r[c]=ct,i[c]=ct,o&=~d}}function np(e,t){for(var n=e.entangledLanes|=t,a=e.entanglements,r=n;r;){var i=Fi(r),o=1<<i;o&t|a[i]&t&&(a[i]|=t),r&=~o}}function AR(e,t){var n=Hi(t),a;switch(n){case wr:a=xl;break;case Ja:a=Vi;break;case Go:case Ld:case Ad:case Md:case zd:case jd:case Vd:case Bd:case Hd:case Fd:case Pd:case $d:case Id:case Yd:case qd:case Gd:case Dl:case Wd:case Qd:case Kd:case Jd:a=qo;break;case Bi:a=Qo;break;default:a=Xt;break}return(a&(e.suspendedLanes|t))!==Xt?Xt:a}function _y(e,t,n){if(_a)for(var a=e.pendingUpdatersLaneMap;n>0;){var r=ep(n),i=1<<r,o=a[r];o.add(t),n&=~i}}function Dy(e,t){if(_a)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var r=ep(t),i=1<<r,o=n[r];o.size>0&&(o.forEach(function(c){var d=c.alternate;(d===null||!a.has(d))&&a.add(c)}),o.clear()),t&=~i}}function Uy(e,t){return null}var Zn=we,Tr=wr,Nr=Ja,Ks=Bi,Zo=Xt;function Da(){return Zo}function Zt(e){Zo=e}function MR(e,t){var n=Zo;try{return Zo=e,t()}finally{Zo=n}}function zR(e,t){return e!==0&&e<t?e:t}function jR(e,t){return e>t?e:t}function ap(e,t){return e!==0&&e<t}function ky(e){var t=Hi(e);return ap(Zn,t)?ap(Tr,t)?Zd(t)?Nr:Ks:Tr:Zn}function Js(e){var t=e.current.memoizedState;return t.isDehydrated}var Oy;function VR(e){Oy=e}function BR(e){Oy(e)}var rp;function HR(e){rp=e}var Ly;function FR(e){Ly=e}var Ay;function PR(e){Ay=e}var My;function $R(e){My=e}var ip=!1,Xs=[],Gr=null,Wr=null,Qr=null,eu=new Map,tu=new Map,Kr=[],IR=["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 IR.indexOf(e)>-1}function qR(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:r,targetContainers:[a]}}function zy(e,t){switch(e){case"focusin":case"focusout":Gr=null;break;case"dragenter":case"dragleave":Wr=null;break;case"mouseover":case"mouseout":Qr=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;eu.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;tu.delete(a);break}}}function nu(e,t,n,a,r,i){if(e===null||e.nativeEvent!==i){var o=qR(t,n,a,r,i);if(t!==null){var c=Zr(t);c!==null&&rp(c)}return o}e.eventSystemFlags|=a;var d=e.targetContainers;return r!==null&&d.indexOf(r)===-1&&d.push(r),e}function GR(e,t,n,a,r){switch(t){case"focusin":{var i=r;return Gr=nu(Gr,e,t,n,a,i),!0}case"dragenter":{var o=r;return Wr=nu(Wr,e,t,n,a,o),!0}case"mouseover":{var c=r;return Qr=nu(Qr,e,t,n,a,c),!0}case"pointerover":{var d=r,y=d.pointerId;return eu.set(y,nu(eu.get(y)||null,e,t,n,a,d)),!0}case"gotpointercapture":{var g=r,N=g.pointerId;return tu.set(N,nu(tu.get(N)||null,e,t,n,a,g)),!0}}return!1}function jy(e){var t=Ii(e.target);if(t!==null){var n=zi(t);if(n!==null){var a=n.tag;if(a===X){var r=oy(n);if(r!==null){e.blockedOn=r,My(e.priority,function(){Ly(n)});return}}else if(a===D){var i=n.stateNode;if(Js(i)){e.blockedOn=uy(n);return}}}}e.blockedOn=null}function WR(e){for(var t=Ay(),n={blockedOn:null,target:e,priority:t},a=0;a<Kr.length&&ap(t,Kr[a].priority);a++);Kr.splice(a,0,n),a===0&&jy(n)}function Zs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],a=up(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(a===null){var r=e.nativeEvent,i=new r.constructor(r.type,r);S0(i),r.target.dispatchEvent(i),C0()}else{var o=Zr(a);return o!==null&&rp(o),e.blockedOn=a,!1}t.shift()}return!0}function Vy(e,t,n){Zs(e)&&n.delete(t)}function QR(){ip=!1,Gr!==null&&Zs(Gr)&&(Gr=null),Wr!==null&&Zs(Wr)&&(Wr=null),Qr!==null&&Zs(Qr)&&(Qr=null),eu.forEach(Vy),tu.forEach(Vy)}function au(e,t){e.blockedOn===t&&(e.blockedOn=null,ip||(ip=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,QR)))}function ru(e){if(Xs.length>0){au(Xs[0],e);for(var t=1;t<Xs.length;t++){var n=Xs[t];n.blockedOn===e&&(n.blockedOn=null)}}Gr!==null&&au(Gr,e),Wr!==null&&au(Wr,e),Qr!==null&&au(Qr,e);var a=function(c){return au(c,e)};eu.forEach(a),tu.forEach(a);for(var r=0;r<Kr.length;r++){var i=Kr[r];i.blockedOn===e&&(i.blockedOn=null)}for(;Kr.length>0;){var o=Kr[0];if(o.blockedOn!==null)break;jy(o),o.blockedOn===null&&Kr.shift()}}var kl=f.ReactCurrentBatchConfig,lp=!0;function By(e){lp=!!e}function KR(){return lp}function JR(e,t,n){var a=Hy(t),r;switch(a){case Zn:r=XR;break;case Tr:r=ZR;break;case Nr:default:r=op;break}return r.bind(null,t,n,e)}function XR(e,t,n,a){var r=Da(),i=kl.transition;kl.transition=null;try{Zt(Zn),op(e,t,n,a)}finally{Zt(r),kl.transition=i}}function ZR(e,t,n,a){var r=Da(),i=kl.transition;kl.transition=null;try{Zt(Tr),op(e,t,n,a)}finally{Zt(r),kl.transition=i}}function op(e,t,n,a){lp&&ew(e,t,n,a)}function ew(e,t,n,a){var r=up(e,t,n,a);if(r===null){Cp(e,t,a,ec,n),zy(e,a);return}if(GR(r,e,t,n,a)){a.stopPropagation();return}if(zy(e,a),t&Bo&&YR(e)){for(;r!==null;){var i=Zr(r);i!==null&&BR(i);var o=up(e,t,n,a);if(o===null&&Cp(e,t,a,ec,n),o===r)break;r=o}r!==null&&a.stopPropagation();return}Cp(e,t,a,null,n)}var ec=null;function up(e,t,n,a){ec=null;var r=vd(a),i=Ii(r);if(i!==null){var o=zi(i);if(o===null)i=null;else{var c=o.tag;if(c===X){var d=oy(o);if(d!==null)return d;i=null}else if(c===D){var y=o.stateNode;if(Js(y))return uy(o);i=null}else o!==i&&(i=null)}}return ec=i,null}function Hy(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 Zn;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 Tr;case"message":{var t=Y0();switch(t){case $s:return Zn;case Dd:return Tr;case ji:case q0:return Nr;case Ud:return Ks;default:return Nr}}default:return Nr}}function tw(e,t,n){return e.addEventListener(t,n,!1),n}function nw(e,t,n){return e.addEventListener(t,n,!0),n}function aw(e,t,n,a){return e.addEventListener(t,n,{capture:!0,passive:a}),n}function rw(e,t,n,a){return e.addEventListener(t,n,{passive:a}),n}var iu=null,sp=null,lu=null;function iw(e){return iu=e,sp=Py(),!0}function lw(){iu=null,sp=null,lu=null}function Fy(){if(lu)return lu;var e,t=sp,n=t.length,a,r=Py(),i=r.length;for(e=0;e<n&&t[e]===r[e];e++);var o=n-e;for(a=1;a<=o&&t[n-a]===r[i-a];a++);var c=a>1?1-a:void 0;return lu=r.slice(e,c),lu}function Py(){return"value"in iu?iu.value:iu.textContent}function tc(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 nc(){return!0}function $y(){return!1}function ea(e){function t(n,a,r,i,o){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var c in e)if(e.hasOwnProperty(c)){var d=e[c];d?this[c]=d(i):this[c]=i[c]}var y=i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1;return y?this.isDefaultPrevented=nc:this.isDefaultPrevented=$y,this.isPropagationStopped=$y,this}return Le(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=nc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=nc)},persist:function(){},isPersistent:nc}),t}var Ol={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cp=ea(Ol),ou=Le({},Ol,{view:0,detail:0}),ow=ea(ou),fp,dp,uu;function uw(e){e!==uu&&(uu&&e.type==="mousemove"?(fp=e.screenX-uu.screenX,dp=e.screenY-uu.screenY):(fp=0,dp=0),uu=e)}var ac=Le({},ou,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vp,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:(uw(e),fp)},movementY:function(e){return"movementY"in e?e.movementY:dp}}),Iy=ea(ac),sw=Le({},ac,{dataTransfer:0}),cw=ea(sw),fw=Le({},ou,{relatedTarget:0}),pp=ea(fw),dw=Le({},Ol,{animationName:0,elapsedTime:0,pseudoElement:0}),pw=ea(dw),vw=Le({},Ol,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mw=ea(vw),hw=Le({},Ol,{data:0}),Yy=ea(hw),yw=Yy,gw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bw={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 Ew(e){if(e.key){var t=gw[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=tc(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?bw[e.keyCode]||"Unidentified":""}var Sw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cw(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var a=Sw[e];return a?!!n[a]:!1}function vp(e){return Cw}var Rw=Le({},ou,{key:Ew,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vp,charCode:function(e){return e.type==="keypress"?tc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?tc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ww=ea(Rw),Tw=Le({},ac,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qy=ea(Tw),Nw=Le({},ou,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vp}),xw=ea(Nw),_w=Le({},Ol,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dw=ea(_w),Uw=Le({},ac,{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}),kw=ea(Uw),Ow=[9,13,27,32],Gy=229,mp=rn&&"CompositionEvent"in window,su=null;rn&&"documentMode"in document&&(su=document.documentMode);var Lw=rn&&"TextEvent"in window&&!su,Wy=rn&&(!mp||su&&su>8&&su<=11),Qy=32,Ky=String.fromCharCode(Qy);function Aw(){nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),nn("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),nn("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),nn("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Jy=!1;function Mw(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function zw(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function jw(e,t){return e==="keydown"&&t.keyCode===Gy}function Xy(e,t){switch(e){case"keyup":return Ow.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Gy;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zy(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function eg(e){return e.locale==="ko"}var Ll=!1;function Vw(e,t,n,a,r){var i,o;if(mp?i=zw(t):Ll?Xy(t,a)&&(i="onCompositionEnd"):jw(t,a)&&(i="onCompositionStart"),!i)return null;Wy&&!eg(a)&&(!Ll&&i==="onCompositionStart"?Ll=iw(r):i==="onCompositionEnd"&&Ll&&(o=Fy()));var c=uc(n,i);if(c.length>0){var d=new Yy(i,t,null,a,r);if(e.push({event:d,listeners:c}),o)d.data=o;else{var y=Zy(a);y!==null&&(d.data=y)}}}function Bw(e,t){switch(e){case"compositionend":return Zy(t);case"keypress":var n=t.which;return n!==Qy?null:(Jy=!0,Ky);case"textInput":var a=t.data;return a===Ky&&Jy?null:a;default:return null}}function Hw(e,t){if(Ll){if(e==="compositionend"||!mp&&Xy(e,t)){var n=Fy();return lw(),Ll=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!Mw(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Wy&&!eg(t)?null:t.data;default:return null}}function Fw(e,t,n,a,r){var i;if(Lw?i=Bw(t,a):i=Hw(t,a),!i)return null;var o=uc(n,"onBeforeInput");if(o.length>0){var c=new yw("onBeforeInput","beforeinput",null,a,r);e.push({event:c,listeners:o}),c.data=i}}function Pw(e,t,n,a,r,i,o){Vw(e,t,n,a,r),Fw(e,t,n,a,r)}var $w={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 tg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$w[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 Iw(e){if(!rn)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 Yw(){nn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function ng(e,t,n,a){Xh(a);var r=uc(t,"onChange");if(r.length>0){var i=new cp("onChange","change",null,n,a);e.push({event:i,listeners:r})}}var cu=null,fu=null;function qw(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function Gw(e){var t=[];ng(t,fu,e,vd(e)),ny(Ww,t)}function Ww(e){Eg(e,0)}function rc(e){var t=Bl(e);if(Lo(t))return e}function Qw(e,t){if(e==="change")return t}var ag=!1;rn&&(ag=Iw("input")&&(!document.documentMode||document.documentMode>9));function Kw(e,t){cu=e,fu=t,cu.attachEvent("onpropertychange",ig)}function rg(){cu&&(cu.detachEvent("onpropertychange",ig),cu=null,fu=null)}function ig(e){e.propertyName==="value"&&rc(fu)&&Gw(e)}function Jw(e,t,n){e==="focusin"?(rg(),Kw(t,n)):e==="focusout"&&rg()}function Xw(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rc(fu)}function Zw(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function eT(e,t){if(e==="click")return rc(t)}function tT(e,t){if(e==="input"||e==="change")return rc(t)}function nT(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ee(e,"number",e.value)}function aT(e,t,n,a,r,i,o){var c=n?Bl(n):window,d,y;if(qw(c)?d=Qw:tg(c)?ag?d=tT:(d=Xw,y=Jw):Zw(c)&&(d=eT),d){var g=d(t,n);if(g){ng(e,g,a,r);return}}y&&y(t,c,n),t==="focusout"&&nT(c)}function rT(){an("onMouseEnter",["mouseout","mouseover"]),an("onMouseLeave",["mouseout","mouseover"]),an("onPointerEnter",["pointerout","pointerover"]),an("onPointerLeave",["pointerout","pointerover"])}function iT(e,t,n,a,r,i,o){var c=t==="mouseover"||t==="pointerover",d=t==="mouseout"||t==="pointerout";if(c&&!R0(a)){var y=a.relatedTarget||a.fromElement;if(y&&(Ii(y)||Nu(y)))return}if(!(!d&&!c)){var g;if(r.window===r)g=r;else{var N=r.ownerDocument;N?g=N.defaultView||N.parentWindow:g=window}var T,L;if(d){var M=a.relatedTarget||a.toElement;if(T=n,L=M?Ii(M):null,L!==null){var B=zi(L);(L!==B||L.tag!==O&&L.tag!==F)&&(L=null)}}else T=null,L=n;if(T!==L){var ae=Iy,he="onMouseLeave",fe="onMouseEnter",Fe="mouse";(t==="pointerout"||t==="pointerover")&&(ae=qy,he="onPointerLeave",fe="onPointerEnter",Fe="pointer");var Me=T==null?g:Bl(T),U=L==null?g:Bl(L),H=new ae(he,Fe+"leave",T,a,r);H.target=Me,H.relatedTarget=U;var k=null,G=Ii(r);if(G===n){var oe=new ae(fe,Fe+"enter",L,a,r);oe.target=U,oe.relatedTarget=Me,k=oe}DT(e,H,k,T,L)}}}function lT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ta=typeof Object.is=="function"?Object.is:lT;function du(e,t){if(ta(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(!Bn.call(t,i)||!ta(e[i],t[i]))return!1}return!0}function lg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function oT(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function og(e,t){for(var n=lg(e),a=0,r=0;n;){if(n.nodeType===br){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=lg(oT(n))}}function uT(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,o=a.focusNode,c=a.focusOffset;try{r.nodeType,o.nodeType}catch{return null}return sT(e,r,i,o,c)}function sT(e,t,n,a,r){var i=0,o=-1,c=-1,d=0,y=0,g=e,N=null;e:for(;;){for(var T=null;g===t&&(n===0||g.nodeType===br)&&(o=i+n),g===a&&(r===0||g.nodeType===br)&&(c=i+r),g.nodeType===br&&(i+=g.nodeValue.length),(T=g.firstChild)!==null;)N=g,g=T;for(;;){if(g===e)break e;if(N===t&&++d===n&&(o=i),N===a&&++y===r&&(c=i),(T=g.nextSibling)!==null)break;g=N,N=g.parentNode}g=T}return o===-1||c===-1?null:{start:o,end:c}}function cT(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelection){var r=a.getSelection(),i=e.textContent.length,o=Math.min(t.start,i),c=t.end===void 0?o:Math.min(t.end,i);if(!r.extend&&o>c){var d=c;c=o,o=d}var y=og(e,o),g=og(e,c);if(y&&g){if(r.rangeCount===1&&r.anchorNode===y.node&&r.anchorOffset===y.offset&&r.focusNode===g.node&&r.focusOffset===g.offset)return;var N=n.createRange();N.setStart(y.node,y.offset),r.removeAllRanges(),o>c?(r.addRange(N),r.extend(g.node,g.offset)):(N.setEnd(g.node,g.offset),r.addRange(N))}}}function ug(e){return e&&e.nodeType===br}function sg(e,t){return!e||!t?!1:e===t?!0:ug(e)?!1:ug(t)?sg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function fT(e){return e&&e.ownerDocument&&sg(e.ownerDocument.documentElement,e)}function dT(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function cg(){for(var e=window,t=hr();t instanceof e.HTMLIFrameElement;){if(dT(t))e=t.contentWindow;else return t;t=hr(e.document)}return t}function hp(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 pT(){var e=cg();return{focusedElem:e,selectionRange:hp(e)?mT(e):null}}function vT(e){var t=cg(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&fT(n)){a!==null&&hp(n)&&hT(n,a);for(var r=[],i=n;i=i.parentNode;)i.nodeType===Pn&&r.push({element:i,left:i.scrollLeft,top:i.scrollTop});typeof n.focus=="function"&&n.focus();for(var o=0;o<r.length;o++){var c=r[o];c.element.scrollLeft=c.left,c.element.scrollTop=c.top}}}function mT(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=uT(e),t||{start:0,end:0}}function hT(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)):cT(e,t)}var yT=rn&&"documentMode"in document&&document.documentMode<=11;function gT(){nn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Al=null,yp=null,pu=null,gp=!1;function bT(e){if("selectionStart"in e&&hp(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 ET(e){return e.window===e?e.document:e.nodeType===Er?e:e.ownerDocument}function fg(e,t,n){var a=ET(n);if(!(gp||Al==null||Al!==hr(a))){var r=bT(Al);if(!pu||!du(pu,r)){pu=r;var i=uc(yp,"onSelect");if(i.length>0){var o=new cp("onSelect","select",null,t,n);e.push({event:o,listeners:i}),o.target=Al}}}}function ST(e,t,n,a,r,i,o){var c=n?Bl(n):window;switch(t){case"focusin":(tg(c)||c.contentEditable==="true")&&(Al=c,yp=n,pu=null);break;case"focusout":Al=null,yp=null,pu=null;break;case"mousedown":gp=!0;break;case"contextmenu":case"mouseup":case"dragend":gp=!1,fg(e,a,r);break;case"selectionchange":if(yT)break;case"keydown":case"keyup":fg(e,a,r)}}function ic(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ml={animationend:ic("Animation","AnimationEnd"),animationiteration:ic("Animation","AnimationIteration"),animationstart:ic("Animation","AnimationStart"),transitionend:ic("Transition","TransitionEnd")},bp={},dg={};rn&&(dg=document.createElement("div").style,"AnimationEvent"in window||(delete Ml.animationend.animation,delete Ml.animationiteration.animation,delete Ml.animationstart.animation),"TransitionEvent"in window||delete Ml.transitionend.transition);function lc(e){if(bp[e])return bp[e];if(!Ml[e])return e;var t=Ml[e];for(var n in t)if(t.hasOwnProperty(n)&&n in dg)return bp[e]=t[n];return e}var pg=lc("animationend"),vg=lc("animationiteration"),mg=lc("animationstart"),hg=lc("transitionend"),yg=new Map,gg=["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 Jr(e,t){yg.set(e,t),nn(t,[e])}function CT(){for(var e=0;e<gg.length;e++){var t=gg[e],n=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);Jr(n,"on"+a)}Jr(pg,"onAnimationEnd"),Jr(vg,"onAnimationIteration"),Jr(mg,"onAnimationStart"),Jr("dblclick","onDoubleClick"),Jr("focusin","onFocus"),Jr("focusout","onBlur"),Jr(hg,"onTransitionEnd")}function RT(e,t,n,a,r,i,o){var c=yg.get(t);if(c!==void 0){var d=cp,y=t;switch(t){case"keypress":if(tc(a)===0)return;case"keydown":case"keyup":d=ww;break;case"focusin":y="focus",d=pp;break;case"focusout":y="blur",d=pp;break;case"beforeblur":case"afterblur":d=pp;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=Iy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=cw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=xw;break;case pg:case vg:case mg:d=pw;break;case hg:d=Dw;break;case"scroll":d=ow;break;case"wheel":d=kw;break;case"copy":case"cut":case"paste":d=mw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=qy;break}var g=(i&Bo)!==0;{var N=!g&&t==="scroll",T=xT(n,c,a.type,g,N);if(T.length>0){var L=new d(c,y,null,a,r);e.push({event:L,listeners:T})}}}}CT(),rT(),Yw(),gT(),Aw();function wT(e,t,n,a,r,i,o){RT(e,t,n,a,r,i);var c=(i&E0)===0;c&&(iT(e,t,n,a,r),aT(e,t,n,a,r),ST(e,t,n,a,r),Pw(e,t,n,a,r))}var vu=["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(vu));function bg(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,O0(a,t,void 0,e),e.currentTarget=null}function TT(e,t,n){var a;if(n)for(var r=t.length-1;r>=0;r--){var i=t[r],o=i.instance,c=i.currentTarget,d=i.listener;if(o!==a&&e.isPropagationStopped())return;bg(e,d,c),a=o}else for(var y=0;y<t.length;y++){var g=t[y],N=g.instance,T=g.currentTarget,L=g.listener;if(N!==a&&e.isPropagationStopped())return;bg(e,L,T),a=N}}function Eg(e,t){for(var n=(t&Bo)!==0,a=0;a<e.length;a++){var r=e[a],i=r.event,o=r.listeners;TT(i,o,n)}L0()}function NT(e,t,n,a,r){var i=vd(n),o=[];wT(o,e,a,n,i,t),Eg(o,t)}function vt(e,t){Ep.has(e)||s('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,a=nx(t),r=UT(e);a.has(r)||(Sg(t,e,pd,n),a.add(r))}function Sp(e,t,n){Ep.has(e)&&!t&&s('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|=Bo),Sg(n,e,a,t)}var oc="_reactListening"+Math.random().toString(36).slice(2);function mu(e){if(!e[oc]){e[oc]=!0,Ia.forEach(function(n){n!=="selectionchange"&&(Ep.has(n)||Sp(n,!1,e),Sp(n,!0,e))});var t=e.nodeType===Er?e:e.ownerDocument;t!==null&&(t[oc]||(t[oc]=!0,Sp("selectionchange",!1,t)))}}function Sg(e,t,n,a,r){var i=JR(e,t,n),o=void 0;yd&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(o=!0),e=e,a?o!==void 0?aw(e,t,i,o):nw(e,t,i):o!==void 0?rw(e,t,i,o):tw(e,t,i)}function Cg(e,t){return e===t||e.nodeType===Dt&&e.parentNode===t}function Cp(e,t,n,a,r){var i=a;if(!(t&Kh)&&!(t&pd)){var o=r;if(a!==null){var c=a;e:for(;;){if(c===null)return;var d=c.tag;if(d===D||d===w){var y=c.stateNode.containerInfo;if(Cg(y,o))break;if(d===w)for(var g=c.return;g!==null;){var N=g.tag;if(N===D||N===w){var T=g.stateNode.containerInfo;if(Cg(T,o))return}g=g.return}for(;y!==null;){var L=Ii(y);if(L===null)return;var M=L.tag;if(M===O||M===F){c=i=L;continue e}y=y.parentNode}}c=c.return}}}ny(function(){return NT(e,t,n,i)})}function hu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xT(e,t,n,a,r,i){for(var o=t!==null?t+"Capture":null,c=a?o:t,d=[],y=e,g=null;y!==null;){var N=y,T=N.stateNode,L=N.tag;if(L===O&&T!==null&&(g=T,c!==null)){var M=Fo(y,c);M!=null&&d.push(hu(y,M,g))}if(r)break;y=y.return}return d}function uc(e,t){for(var n=t+"Capture",a=[],r=e;r!==null;){var i=r,o=i.stateNode,c=i.tag;if(c===O&&o!==null){var d=o,y=Fo(r,n);y!=null&&a.unshift(hu(r,y,d));var g=Fo(r,t);g!=null&&a.push(hu(r,g,d))}r=r.return}return a}function zl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==O);return e||null}function _T(e,t){for(var n=e,a=t,r=0,i=n;i;i=zl(i))r++;for(var o=0,c=a;c;c=zl(c))o++;for(;r-o>0;)n=zl(n),r--;for(;o-r>0;)a=zl(a),o--;for(var d=r;d--;){if(n===a||a!==null&&n===a.alternate)return n;n=zl(n),a=zl(a)}return null}function Rg(e,t,n,a,r){for(var i=t._reactName,o=[],c=n;c!==null&&c!==a;){var d=c,y=d.alternate,g=d.stateNode,N=d.tag;if(y!==null&&y===a)break;if(N===O&&g!==null){var T=g;if(r){var L=Fo(c,i);L!=null&&o.unshift(hu(c,L,T))}else if(!r){var M=Fo(c,i);M!=null&&o.push(hu(c,M,T))}}c=c.return}o.length!==0&&e.push({event:t,listeners:o})}function DT(e,t,n,a,r){var i=a&&r?_T(a,r):null;a!==null&&Rg(e,t,a,i,!1),r!==null&&n!==null&&Rg(e,n,r,i,!0)}function UT(e,t){return e+"__bubble"}var $n=!1,yu="dangerouslySetInnerHTML",sc="suppressContentEditableWarning",Xr="suppressHydrationWarning",wg="autoFocus",Pi="children",$i="style",cc="__html",Rp,fc,gu,Tg,dc,Ng,xg;Rp={dialog:!0,webview:!0},fc=function(e,t){p0(e,t),v0(e,t),b0(e,t,{registrationNameDependencies:tn,possibleRegistrationNames:Qn})},Ng=rn&&!document.documentMode,gu=function(e,t,n){if(!$n){var a=pc(n),r=pc(t);r!==a&&($n=!0,s("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},Tg=function(e){if(!$n){$n=!0;var t=[];e.forEach(function(n){t.push(n)}),s("Extra attributes from the server: %s",t)}},dc=function(e,t){t===!1?s("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):s("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},xg=function(e,t){var n=e.namespaceURI===gr?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var kT=/\r\n?/g,OT=/\u0000|\uFFFD/g;function pc(e){Hn(e);var t=typeof e=="string"?e:""+e;return t.replace(kT,`
- `).replace(OT,"")}function vc(e,t,n,a){var r=pc(t),i=pc(e);if(i!==r&&(a&&($n||($n=!0,s('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&ue))throw new Error("Text content does not match server-rendered HTML.")}function _g(e){return e.nodeType===Er?e:e.ownerDocument}function LT(){}function mc(e){e.onclick=LT}function AT(e,t,n,a,r){for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];if(i===$i)o&&Object.freeze(o),Ih(t,o);else if(i===yu){var c=o?o[cc]:void 0;c!=null&&Bh(t,c)}else if(i===Pi)if(typeof o=="string"){var d=e!=="textarea"||o!=="";d&&Vs(t,o)}else typeof o=="number"&&Vs(t,""+o);else i===sc||i===Xr||i===wg||(tn.hasOwnProperty(i)?o!=null&&(typeof o!="function"&&dc(i,o),i==="onScroll"&&vt("scroll",t)):o!=null&&wa(t,i,o,r))}}function MT(e,t,n,a){for(var r=0;r<t.length;r+=2){var i=t[r],o=t[r+1];i===$i?Ih(e,o):i===yu?Bh(e,o):i===Pi?Vs(e,o):wa(e,i,o,a)}}function zT(e,t,n,a){var r,i=_g(n),o,c=a;if(c===gr&&(c=od(e)),c===gr){if(r=ki(e,t),!r&&e!==e.toLowerCase()&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var d=i.createElement("div");d.innerHTML="<script><\/script>";var y=d.firstChild;o=d.removeChild(y)}else if(typeof t.is=="string")o=i.createElement(e,{is:t.is});else if(o=i.createElement(e),e==="select"){var g=o;t.multiple?g.multiple=!0:t.size&&(g.size=t.size)}}else o=i.createElementNS(c,e);return c===gr&&!r&&Object.prototype.toString.call(o)==="[object HTMLUnknownElement]"&&!Bn.call(Rp,e)&&(Rp[e]=!0,s("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),o}function jT(e,t){return _g(t).createTextNode(e)}function VT(e,t,n,a){var r=ki(t,n);fc(t,n);var i;switch(t){case"dialog":vt("cancel",e),vt("close",e),i=n;break;case"iframe":case"object":case"embed":vt("load",e),i=n;break;case"video":case"audio":for(var o=0;o<vu.length;o++)vt(vu[o],e);i=n;break;case"source":vt("error",e),i=n;break;case"img":case"image":case"link":vt("error",e),vt("load",e),i=n;break;case"details":vt("toggle",e),i=n;break;case"input":Ms(e,n),i=Ao(e,n),vt("invalid",e);break;case"option":et(e,n),i=n;break;case"select":jo(e,n),i=zo(e,n),vt("invalid",e);break;case"textarea":zh(e,n),i=id(e,n),vt("invalid",e);break;default:i=n}switch(dd(t,i),AT(t,e,a,i,r),t){case"input":Di(e),A(e,n,!1);break;case"textarea":Di(e),Vh(e);break;case"option":ut(e,n);break;case"select":ad(e,n);break;default:typeof i.onClick=="function"&&mc(e);break}}function BT(e,t,n,a,r){fc(t,a);var i=null,o,c;switch(t){case"input":o=Ao(e,n),c=Ao(e,a),i=[];break;case"select":o=zo(e,n),c=zo(e,a),i=[];break;case"textarea":o=id(e,n),c=id(e,a),i=[];break;default:o=n,c=a,typeof o.onClick!="function"&&typeof c.onClick=="function"&&mc(e);break}dd(t,c);var d,y,g=null;for(d in o)if(!(c.hasOwnProperty(d)||!o.hasOwnProperty(d)||o[d]==null))if(d===$i){var N=o[d];for(y in N)N.hasOwnProperty(y)&&(g||(g={}),g[y]="")}else d===yu||d===Pi||d===sc||d===Xr||d===wg||(tn.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in c){var T=c[d],L=o!=null?o[d]:void 0;if(!(!c.hasOwnProperty(d)||T===L||T==null&&L==null))if(d===$i)if(T&&Object.freeze(T),L){for(y in L)L.hasOwnProperty(y)&&(!T||!T.hasOwnProperty(y))&&(g||(g={}),g[y]="");for(y in T)T.hasOwnProperty(y)&&L[y]!==T[y]&&(g||(g={}),g[y]=T[y])}else g||(i||(i=[]),i.push(d,g)),g=T;else if(d===yu){var M=T?T[cc]:void 0,B=L?L[cc]:void 0;M!=null&&B!==M&&(i=i||[]).push(d,M)}else d===Pi?(typeof T=="string"||typeof T=="number")&&(i=i||[]).push(d,""+T):d===sc||d===Xr||(tn.hasOwnProperty(d)?(T!=null&&(typeof T!="function"&&dc(d,T),d==="onScroll"&&vt("scroll",e)),!i&&L!==T&&(i=[])):(i=i||[]).push(d,T))}return g&&(i0(g,c[$i]),(i=i||[]).push($i,g)),i}function HT(e,t,n,a,r){n==="input"&&r.type==="radio"&&r.name!=null&&m(e,r);var i=ki(n,a),o=ki(n,r);switch(MT(e,t,i,o),n){case"input":C(e,r);break;case"textarea":jh(e,r);break;case"select":zs(e,r);break}}function FT(e){{var t=e.toLowerCase();return Bs.hasOwnProperty(t)&&Bs[t]||null}}function PT(e,t,n,a,r,i,o){var c,d;switch(c=ki(t,n),fc(t,n),t){case"dialog":vt("cancel",e),vt("close",e);break;case"iframe":case"object":case"embed":vt("load",e);break;case"video":case"audio":for(var y=0;y<vu.length;y++)vt(vu[y],e);break;case"source":vt("error",e);break;case"img":case"image":case"link":vt("error",e),vt("load",e);break;case"details":vt("toggle",e);break;case"input":Ms(e,n),vt("invalid",e);break;case"option":et(e,n);break;case"select":jo(e,n),vt("invalid",e);break;case"textarea":zh(e,n),vt("invalid",e);break}dd(t,n);{d=new Set;for(var g=e.attributes,N=0;N<g.length;N++){var T=g[N].name.toLowerCase();switch(T){case"value":break;case"checked":break;case"selected":break;default:d.add(g[N].name)}}}var L=null;for(var M in n)if(n.hasOwnProperty(M)){var B=n[M];if(M===Pi)typeof B=="string"?e.textContent!==B&&(n[Xr]!==!0&&vc(e.textContent,B,i,o),L=[Pi,B]):typeof B=="number"&&e.textContent!==""+B&&(n[Xr]!==!0&&vc(e.textContent,B,i,o),L=[Pi,""+B]);else if(tn.hasOwnProperty(M))B!=null&&(typeof B!="function"&&dc(M,B),M==="onScroll"&&vt("scroll",e));else if(o&&typeof c=="boolean"){var ae=void 0,he=Ct(M);if(n[Xr]!==!0){if(!(M===sc||M===Xr||M==="value"||M==="checked"||M==="selected")){if(M===yu){var fe=e.innerHTML,Fe=B?B[cc]:void 0;if(Fe!=null){var Me=xg(e,Fe);Me!==fe&&gu(M,fe,Me)}}else if(M===$i){if(d.delete(M),Ng){var U=a0(B);ae=e.getAttribute("style"),U!==ae&&gu(M,ae,U)}}else if(c&&!oa)d.delete(M.toLowerCase()),ae=Si(e,M,B),B!==ae&&gu(M,ae,B);else if(!gt(M,he,c)&&!gn(M,B,he,c)){var H=!1;if(he!==null)d.delete(he.attributeName),ae=ul(e,M,B,he);else{var k=a;if(k===gr&&(k=od(t)),k===gr)d.delete(M.toLowerCase());else{var G=FT(M);G!==null&&G!==M&&(H=!0,d.delete(G)),d.delete(M)}ae=Si(e,M,B)}var oe=oa;!oe&&B!==ae&&!H&&gu(M,ae,B)}}}}}switch(o&&d.size>0&&n[Xr]!==!0&&Tg(d),t){case"input":Di(e),A(e,n,!0);break;case"textarea":Di(e),Vh(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&mc(e);break}return L}function $T(e,t,n){var a=e.nodeValue!==t;return a}function wp(e,t){{if($n)return;$n=!0,s("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Tp(e,t){{if($n)return;$n=!0,s('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Np(e,t,n){{if($n)return;$n=!0,s("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function xp(e,t){{if(t===""||$n)return;$n=!0,s('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function IT(e,t,n){switch(t){case"input":V(e,n);return;case"textarea":VC(e,n);return;case"select":rd(e,n);return}}var bu=function(){},Eu=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"],Dg=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],qT=Dg.concat(["button"]),GT=["dd","dt","li","option","optgroup","p","rp","rt"],Ug={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Eu=function(e,t){var n=Le({},e||Ug),a={tag:t};return Dg.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),qT.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 WT=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 GT.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},QT=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},kg={};bu=function(e,t,n){n=n||Ug;var a=n.current,r=a&&a.tag;t!=null&&(e!=null&&s("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=WT(e,r)?null:a,o=i?null:QT(e,n),c=i||o;if(c){var d=c.tag,y=!!i+"|"+e+"|"+d;if(!kg[y]){kg[y]=!0;var g=e,N="";if(e==="#text"?/\S/.test(t)?g="Text nodes":(g="Whitespace text nodes",N=" Make sure you don't have any extra whitespace between tags on each line of your source code."):g="<"+e+">",i){var T="";d==="table"&&e==="tr"&&(T+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),s("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",g,d,N,T)}else s("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",g,d)}}}}var hc="suppressHydrationWarning",yc="$",gc="/$",Su="$?",Cu="$!",KT="style",_p=null,Dp=null;function JT(e){var t,n,a=e.nodeType;switch(a){case Er:case sd:{t=a===Er?"#document":"#fragment";var r=e.documentElement;n=r?r.namespaceURI:ud(null,"");break}default:{var i=a===Dt?e.parentNode:e,o=i.namespaceURI||null;t=i.tagName,n=ud(o,t);break}}{var c=t.toLowerCase(),d=Eu(null,c);return{namespace:n,ancestorInfo:d}}}function XT(e,t,n){{var a=e,r=ud(a.namespace,t),i=Eu(a.ancestorInfo,t);return{namespace:r,ancestorInfo:i}}}function lM(e){return e}function ZT(e){_p=KR(),Dp=pT();var t=null;return By(!1),t}function eN(e){vT(Dp),By(_p),_p=null,Dp=null}function tN(e,t,n,a,r){var i;{var o=a;if(bu(e,null,o.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var c=""+t.children,d=Eu(o.ancestorInfo,e);bu(null,c,d)}i=o.namespace}var y=zT(e,t,n,i);return Tu(r,y),jp(y,t),y}function nN(e,t){e.appendChild(t)}function aN(e,t,n,a,r){switch(VT(e,t,n,a),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function rN(e,t,n,a,r,i){{var o=i;if(typeof a.children!=typeof n.children&&(typeof a.children=="string"||typeof a.children=="number")){var c=""+a.children,d=Eu(o.ancestorInfo,t);bu(null,c,d)}}return BT(e,t,n,a)}function Up(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 iN(e,t,n,a){{var r=n;bu(null,e,r.ancestorInfo)}var i=jT(e,t);return Tu(a,i),i}function lN(){var e=window.event;return e===void 0?Nr:Hy(e.type)}var kp=typeof setTimeout=="function"?setTimeout:void 0,oN=typeof clearTimeout=="function"?clearTimeout:void 0,Op=-1,Og=typeof Promise=="function"?Promise:void 0,uN=typeof queueMicrotask=="function"?queueMicrotask:typeof Og<"u"?function(e){return Og.resolve(null).then(e).catch(sN)}:kp;function sN(e){setTimeout(function(){throw e})}function cN(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 fN(e,t,n,a,r,i){HT(e,t,n,a,r),jp(e,r)}function Lg(e){Vs(e,"")}function dN(e,t,n){e.nodeValue=n}function pN(e,t){e.appendChild(t)}function vN(e,t){var n;e.nodeType===Dt?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var a=e._reactRootContainer;a==null&&n.onclick===null&&mc(n)}function mN(e,t,n){e.insertBefore(t,n)}function hN(e,t,n){e.nodeType===Dt?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function yN(e,t){e.removeChild(t)}function gN(e,t){e.nodeType===Dt?e.parentNode.removeChild(t):e.removeChild(t)}function Lp(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===Dt){var i=r.data;if(i===gc)if(a===0){e.removeChild(r),ru(t);return}else a--;else(i===yc||i===Su||i===Cu)&&a++}n=r}while(n);ru(t)}function bN(e,t){e.nodeType===Dt?Lp(e.parentNode,t):e.nodeType===Pn&&Lp(e,t),ru(e)}function EN(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function SN(e){e.nodeValue=""}function CN(e,t){e=e;var n=t[KT],a=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=cd("display",a)}function RN(e,t){e.nodeValue=t}function wN(e){e.nodeType===Pn?e.textContent="":e.nodeType===Er&&e.documentElement&&e.removeChild(e.documentElement)}function TN(e,t,n){return e.nodeType!==Pn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function NN(e,t){return t===""||e.nodeType!==br?null:e}function xN(e){return e.nodeType!==Dt?null:e}function Ag(e){return e.data===Su}function Ap(e){return e.data===Cu}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 DN(e,t){e._reactRetry=t}function bc(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Pn||t===br)break;if(t===Dt){var n=e.data;if(n===yc||n===Cu||n===Su)break;if(n===gc)return null}}return e}function Ru(e){return bc(e.nextSibling)}function UN(e){return bc(e.firstChild)}function kN(e){return bc(e.firstChild)}function ON(e){return bc(e.nextSibling)}function LN(e,t,n,a,r,i,o){Tu(i,e),jp(e,n);var c;{var d=r;c=d.namespace}var y=(i.mode&Be)!==be;return PT(e,t,n,c,a,y,o)}function AN(e,t,n,a){return Tu(n,e),n.mode&Be,$T(e,t)}function MN(e,t){Tu(t,e)}function zN(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Dt){var a=t.data;if(a===gc){if(n===0)return Ru(t);n--}else(a===yc||a===Cu||a===Su)&&n++}t=t.nextSibling}return null}function Mg(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Dt){var a=t.data;if(a===yc||a===Cu||a===Su){if(n===0)return t;n--}else a===gc&&n++}t=t.previousSibling}return null}function jN(e){ru(e)}function VN(e){ru(e)}function BN(e){return e!=="head"&&e!=="body"}function HN(e,t,n,a){var r=!0;vc(t.nodeValue,n,a,r)}function FN(e,t,n,a,r,i){if(t[hc]!==!0){var o=!0;vc(a.nodeValue,r,i,o)}}function PN(e,t){t.nodeType===Pn?wp(e,t):t.nodeType===Dt||Tp(e,t)}function $N(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===Pn?wp(n,t):t.nodeType===Dt||Tp(n,t))}}function IN(e,t,n,a,r){(r||t[hc]!==!0)&&(a.nodeType===Pn?wp(n,a):a.nodeType===Dt||Tp(n,a))}function YN(e,t,n){Np(e,t)}function qN(e,t){xp(e,t)}function GN(e,t,n){{var a=e.parentNode;a!==null&&Np(a,t)}}function WN(e,t){{var n=e.parentNode;n!==null&&xp(n,t)}}function QN(e,t,n,a,r,i){(i||t[hc]!==!0)&&Np(n,a)}function KN(e,t,n,a,r){(r||t[hc]!==!0)&&xp(n,a)}function JN(e){s("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function XN(e){mu(e)}var jl=Math.random().toString(36).slice(2),Vl="__reactFiber$"+jl,Mp="__reactProps$"+jl,wu="__reactContainer$"+jl,zp="__reactEvents$"+jl,ZN="__reactListeners$"+jl,ex="__reactHandles$"+jl;function tx(e){delete e[Vl],delete e[Mp],delete e[zp],delete e[ZN],delete e[ex]}function Tu(e,t){t[Vl]=e}function Ec(e,t){t[wu]=e}function zg(e){e[wu]=null}function Nu(e){return!!e[wu]}function Ii(e){var t=e[Vl];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wu]||n[Vl],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var r=Mg(e);r!==null;){var i=r[Vl];if(i)return i;r=Mg(r)}return t}e=n,n=e.parentNode}return null}function Zr(e){var t=e[Vl]||e[wu];return t&&(t.tag===O||t.tag===F||t.tag===X||t.tag===D)?t:null}function Bl(e){if(e.tag===O||e.tag===F)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Sc(e){return e[Mp]||null}function jp(e,t){e[Mp]=t}function nx(e){var t=e[zp];return t===void 0&&(t=e[zp]=new Set),t}var jg={},Vg=f.ReactDebugCurrentFrame;function Cc(e){if(e){var t=e._owner,n=_o(e.type,e._source,t?t.type:null);Vg.setExtraStackFrame(n)}else Vg.setExtraStackFrame(null)}function Ua(e,t,n,a,r){{var i=Function.call.bind(Bn);for(var o in e)if(i(e,o)){var c=void 0;try{if(typeof e[o]!="function"){var d=Error((a||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}c=e[o](t,o,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){c=y}c&&!(c instanceof Error)&&(Cc(r),s("%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,o,typeof c),Cc(null)),c instanceof Error&&!(c.message in jg)&&(jg[c.message]=!0,Cc(r),s("Failed %s type: %s",n,c.message),Cc(null))}}}var Vp=[],Rc;Rc=[];var xr=-1;function ei(e){return{current:e}}function Sn(e,t){if(xr<0){s("Unexpected pop.");return}t!==Rc[xr]&&s("Unexpected Fiber popped."),e.current=Vp[xr],Vp[xr]=null,Rc[xr]=null,xr--}function Cn(e,t,n){xr++,Vp[xr]=e.current,Rc[xr]=n,e.current=t}var Bp;Bp={};var na={};Object.freeze(na);var _r=ei(na),Xa=ei(!1),Hp=na;function Hl(e,t,n){return n&&Za(t)?Hp:_r.current}function Bg(e,t,n){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}}function Fl(e,t){{var n=e.type,a=n.contextTypes;if(!a)return na;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={};for(var o in a)i[o]=t[o];{var c=_e(e)||"Unknown";Ua(a,i,"context",c)}return r&&Bg(e,t,i),i}}function wc(){return Xa.current}function Za(e){{var t=e.childContextTypes;return t!=null}}function Tc(e){Sn(Xa,e),Sn(_r,e)}function Fp(e){Sn(Xa,e),Sn(_r,e)}function Hg(e,t,n){{if(_r.current!==na)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Cn(_r,t,e),Cn(Xa,n,e)}}function Fg(e,t,n){{var a=e.stateNode,r=t.childContextTypes;if(typeof a.getChildContext!="function"){{var i=_e(e)||"Unknown";Bp[i]||(Bp[i]=!0,s("%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 o=a.getChildContext();for(var c in o)if(!(c in r))throw new Error((_e(e)||"Unknown")+'.getChildContext(): key "'+c+'" is not defined in childContextTypes.');{var d=_e(e)||"Unknown";Ua(r,o,"child context",d)}return Le({},n,o)}}function Nc(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||na;return Hp=_r.current,Cn(_r,n,e),Cn(Xa,Xa.current,e),!0}}function Pg(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=Fg(e,t,Hp);a.__reactInternalMemoizedMergedChildContext=r,Sn(Xa,e),Sn(_r,e),Cn(_r,r,e),Cn(Xa,n,e)}else Sn(Xa,e),Cn(Xa,n,e)}}function ax(e){{if(!B0(e)||e.tag!==S)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 D:return t.stateNode.context;case S:{var n=t.type;if(Za(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 ti=0,xc=1,Dr=null,Pp=!1,$p=!1;function $g(e){Dr===null?Dr=[e]:Dr.push(e)}function rx(e){Pp=!0,$g(e)}function Ig(){Pp&&ni()}function ni(){if(!$p&&Dr!==null){$p=!0;var e=0,t=Da();try{var n=!0,a=Dr;for(Zt(Zn);e<a.length;e++){var r=a[e];do r=r(n);while(r!==null)}Dr=null,Pp=!1}catch(i){throw Dr!==null&&(Dr=Dr.slice(e+1)),vy($s,ni),i}finally{Zt(t),$p=!1}}return null}var Pl=[],$l=0,_c=null,Dc=0,da=[],pa=0,Yi=null,Ur=1,kr="";function ix(e){return Gi(),(e.flags&ly)!==Se}function lx(e){return Gi(),Dc}function ox(){var e=kr,t=Ur,n=t&~ux(t);return n.toString(32)+e}function qi(e,t){Gi(),Pl[$l++]=Dc,Pl[$l++]=_c,_c=e,Dc=t}function Yg(e,t,n){Gi(),da[pa++]=Ur,da[pa++]=kr,da[pa++]=Yi,Yi=e;var a=Ur,r=kr,i=Uc(a)-1,o=a&~(1<<i),c=n+1,d=Uc(t)+i;if(d>30){var y=i-i%5,g=(1<<y)-1,N=(o&g).toString(32),T=o>>y,L=i-y,M=Uc(t)+L,B=c<<L,ae=B|T,he=N+r;Ur=1<<M|ae,kr=he}else{var fe=c<<i,Fe=fe|o,Me=r;Ur=1<<d|Fe,kr=Me}}function Ip(e){Gi();var t=e.return;if(t!==null){var n=1,a=0;qi(e,n),Yg(e,n,a)}}function Uc(e){return 32-Ey(e)}function ux(e){return 1<<Uc(e)-1}function Yp(e){for(;e===_c;)_c=Pl[--$l],Pl[$l]=null,Dc=Pl[--$l],Pl[$l]=null;for(;e===Yi;)Yi=da[--pa],da[pa]=null,kr=da[--pa],da[pa]=null,Ur=da[--pa],da[pa]=null}function sx(){return Gi(),Yi!==null?{id:Ur,overflow:kr}:null}function cx(e,t){Gi(),da[pa++]=Ur,da[pa++]=kr,da[pa++]=Yi,Ur=t.id,kr=t.overflow,Yi=e}function Gi(){un()||s("Expected to be hydrating. This is a bug in React. Please file an issue.")}var on=null,va=null,ka=!1,Wi=!1,ai=null;function fx(){ka&&s("We should not be hydrating here. This is a bug in React. Please file a bug.")}function qg(){Wi=!0}function dx(){return Wi}function px(e){var t=e.stateNode.containerInfo;return va=kN(t),on=e,ka=!0,ai=null,Wi=!1,!0}function vx(e,t,n){return va=ON(t),on=e,ka=!0,ai=null,Wi=!1,n!==null&&cx(e,n),!0}function Gg(e,t){switch(e.tag){case D:{PN(e.stateNode.containerInfo,t);break}case O:{var n=(e.mode&Be)!==be;IN(e.type,e.memoizedProps,e.stateNode,t,n);break}case X:{var a=e.memoizedState;a.dehydrated!==null&&$N(a.dehydrated,t);break}}}function Wg(e,t){Gg(e,t);var n=gD();n.stateNode=t,n.return=e;var a=e.deletions;a===null?(e.deletions=[n],e.flags|=Oi):a.push(n)}function qp(e,t){{if(Wi)return;switch(e.tag){case D:{var n=e.stateNode.containerInfo;switch(t.tag){case O:var a=t.type;t.pendingProps,YN(n,a);break;case F:var r=t.pendingProps;qN(n,r);break}break}case O:{var i=e.type,o=e.memoizedProps,c=e.stateNode;switch(t.tag){case O:{var d=t.type,y=t.pendingProps,g=(e.mode&Be)!==be;QN(i,o,c,d,y,g);break}case F:{var N=t.pendingProps,T=(e.mode&Be)!==be;KN(i,o,c,N,T);break}}break}case X:{var L=e.memoizedState,M=L.dehydrated;if(M!==null)switch(t.tag){case O:var B=t.type;t.pendingProps,GN(M,B);break;case F:var ae=t.pendingProps;WN(M,ae);break}break}default:return}}}function Qg(e,t){t.flags=t.flags&~Cr|Ut,qp(e,t)}function Kg(e,t){switch(e.tag){case O:{var n=e.type;e.pendingProps;var a=TN(t,n);return a!==null?(e.stateNode=a,on=e,va=UN(a),!0):!1}case F:{var r=e.pendingProps,i=NN(t,r);return i!==null?(e.stateNode=i,on=e,va=null,!0):!1}case X:{var o=xN(t);if(o!==null){var c={dehydrated:o,treeContext:sx(),retryLane:Jn};e.memoizedState=c;var d=bD(o);return d.return=e,e.child=d,on=e,va=null,!0}return!1}default:return!1}}function Gp(e){return(e.mode&Be)!==be&&(e.flags&Ge)===Se}function Wp(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Qp(e){if(ka){var t=va;if(!t){Gp(e)&&(qp(on,e),Wp()),Qg(on,e),ka=!1,on=e;return}var n=t;if(!Kg(e,t)){Gp(e)&&(qp(on,e),Wp()),t=Ru(n);var a=on;if(!t||!Kg(e,t)){Qg(on,e),ka=!1,on=e;return}Wg(a,n)}}}function mx(e,t,n){var a=e.stateNode,r=!Wi,i=LN(a,e.type,e.memoizedProps,t,n,e,r);return e.updateQueue=i,i!==null}function hx(e){var t=e.stateNode,n=e.memoizedProps,a=AN(t,n,e);if(a){var r=on;if(r!==null)switch(r.tag){case D:{var i=r.stateNode.containerInfo,o=(r.mode&Be)!==be;HN(i,t,n,o);break}case O:{var c=r.type,d=r.memoizedProps,y=r.stateNode,g=(r.mode&Be)!==be;FN(c,d,y,t,n,g);break}}}return a}function yx(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.");MN(n,e)}function gx(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 zN(n)}function Jg(e){for(var t=e.return;t!==null&&t.tag!==O&&t.tag!==D&&t.tag!==X;)t=t.return;on=t}function kc(e){if(e!==on)return!1;if(!ka)return Jg(e),ka=!0,!1;if(e.tag!==D&&(e.tag!==O||BN(e.type)&&!Up(e.type,e.memoizedProps))){var t=va;if(t)if(Gp(e))Xg(e),Wp();else for(;t;)Wg(e,t),t=Ru(t)}return Jg(e),e.tag===X?va=gx(e):va=on?Ru(e.stateNode):null,!0}function bx(){return ka&&va!==null}function Xg(e){for(var t=va;t;)Gg(e,t),t=Ru(t)}function Il(){on=null,va=null,ka=!1,Wi=!1}function Zg(){ai!==null&&(qE(ai),ai=null)}function un(){return ka}function Kp(e){ai===null?ai=[e]:ai.push(e)}var Ex=f.ReactCurrentBatchConfig,Sx=null;function Cx(){return Ex.transition}var Oa={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Rx=function(e){for(var t=null,n=e;n!==null;)n.mode&wt&&(t=n),n=n.return;return t},Qi=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},xu=[],_u=[],Du=[],Uu=[],ku=[],Ou=[],Ki=new Set;Oa.recordUnsafeLifecycleWarnings=function(e,t){Ki.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&xu.push(e),e.mode&wt&&typeof t.UNSAFE_componentWillMount=="function"&&_u.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Du.push(e),e.mode&wt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Uu.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ku.push(e),e.mode&wt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Ou.push(e))},Oa.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;xu.length>0&&(xu.forEach(function(T){e.add(_e(T)||"Component"),Ki.add(T.type)}),xu=[]);var t=new Set;_u.length>0&&(_u.forEach(function(T){t.add(_e(T)||"Component"),Ki.add(T.type)}),_u=[]);var n=new Set;Du.length>0&&(Du.forEach(function(T){n.add(_e(T)||"Component"),Ki.add(T.type)}),Du=[]);var a=new Set;Uu.length>0&&(Uu.forEach(function(T){a.add(_e(T)||"Component"),Ki.add(T.type)}),Uu=[]);var r=new Set;ku.length>0&&(ku.forEach(function(T){r.add(_e(T)||"Component"),Ki.add(T.type)}),ku=[]);var i=new Set;if(Ou.length>0&&(Ou.forEach(function(T){i.add(_e(T)||"Component"),Ki.add(T.type)}),Ou=[]),t.size>0){var o=Qi(t);s(`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`,o)}if(a.size>0){var c=Qi(a);s(`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`,c)}if(i.size>0){var d=Qi(i);s(`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`,d)}if(e.size>0){var y=Qi(e);h(`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`,y)}if(n.size>0){var g=Qi(n);h(`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`,g)}if(r.size>0){var N=Qi(r);h(`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`,N)}};var Oc=new Map,eb=new Set;Oa.recordLegacyContextWarning=function(e,t){var n=Rx(e);if(n===null){s("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(!eb.has(e.type)){var a=Oc.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Oc.set(n,a)),a.push(e))}},Oa.flushLegacyContextWarning=function(){Oc.forEach(function(e,t){if(e.length!==0){var n=e[0],a=new Set;e.forEach(function(i){a.add(_e(i)||"Component"),eb.add(i.type)});var r=Qi(a);try{mt(n),s(`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{Qt()}}})},Oa.discardPendingWarnings=function(){xu=[],_u=[],Du=[],Uu=[],ku=[],Ou=[],Oc=new Map}}var Jp,Xp,Zp,ev,tv,tb=function(e,t){};Jp=!1,Xp=!1,Zp={},ev={},tv={},tb=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=_e(t)||"Component";ev[n]||(ev[n]=!0,s('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function wx(e){return e.prototype&&e.prototype.isReactComponent}function Lu(e,t,n){var a=n.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&wt||Yt)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==S)&&!(typeof n.type=="function"&&!wx(n.type))&&n._owner){var r=_e(e)||"Component";Zp[r]||(s('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),Zp[r]=!0)}if(n._owner){var i=n._owner,o;if(i){var c=i;if(c.tag!==S)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");o=c.stateNode}if(!o)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var d=o;dr(a,"ref");var y=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===y)return t.ref;var g=function(N){var T=d.refs;N===null?delete T[y]:T[y]=N};return g._stringRef=y,g}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 Lc(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 Ac(e){{var t=_e(e)||"Component";if(tv[t])return;tv[t]=!0,s("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 nb(e){var t=e._payload,n=e._init;return n(t)}function ab(e){function t(U,H){if(e){var k=U.deletions;k===null?(U.deletions=[H],U.flags|=Oi):k.push(H)}}function n(U,H){if(!e)return null;for(var k=H;k!==null;)t(U,k),k=k.sibling;return null}function a(U,H){for(var k=new Map,G=H;G!==null;)G.key!==null?k.set(G.key,G):k.set(G.index,G),G=G.sibling;return k}function r(U,H){var k=il(U,H);return k.index=0,k.sibling=null,k}function i(U,H,k){if(U.index=k,!e)return U.flags|=ly,H;var G=U.alternate;if(G!==null){var oe=G.index;return oe<H?(U.flags|=Ut,H):oe}else return U.flags|=Ut,H}function o(U){return e&&U.alternate===null&&(U.flags|=Ut),U}function c(U,H,k,G){if(H===null||H.tag!==F){var oe=Km(k,U.mode,G);return oe.return=U,oe}else{var re=r(H,k);return re.return=U,re}}function d(U,H,k,G){var oe=k.type;if(oe===qa)return g(U,H,k.props.children,G,k.key);if(H!==null&&(H.elementType===oe||uS(H,k)||typeof oe=="object"&&oe!==null&&oe.$$typeof===ge&&nb(oe)===H.type)){var re=r(H,k.props);return re.ref=Lu(U,H,k),re.return=U,re._debugSource=k._source,re._debugOwner=k._owner,re}var Ce=Qm(k,U.mode,G);return Ce.ref=Lu(U,H,k),Ce.return=U,Ce}function y(U,H,k,G){if(H===null||H.tag!==w||H.stateNode.containerInfo!==k.containerInfo||H.stateNode.implementation!==k.implementation){var oe=Jm(k,U.mode,G);return oe.return=U,oe}else{var re=r(H,k.children||[]);return re.return=U,re}}function g(U,H,k,G,oe){if(H===null||H.tag!==W){var re=vi(k,U.mode,G,oe);return re.return=U,re}else{var Ce=r(H,k);return Ce.return=U,Ce}}function N(U,H,k){if(typeof H=="string"&&H!==""||typeof H=="number"){var G=Km(""+H,U.mode,k);return G.return=U,G}if(typeof H=="object"&&H!==null){switch(H.$$typeof){case ca:{var oe=Qm(H,U.mode,k);return oe.ref=Lu(U,null,H),oe.return=U,oe}case Kn:{var re=Jm(H,U.mode,k);return re.return=U,re}case ge:{var Ce=H._payload,xe=H._init;return N(U,xe(Ce),k)}}if(Ae(H)||Na(H)){var at=vi(H,U.mode,k,null);return at.return=U,at}Lc(U,H)}return typeof H=="function"&&Ac(U),null}function T(U,H,k,G){var oe=H!==null?H.key:null;if(typeof k=="string"&&k!==""||typeof k=="number")return oe!==null?null:c(U,H,""+k,G);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case ca:return k.key===oe?d(U,H,k,G):null;case Kn:return k.key===oe?y(U,H,k,G):null;case ge:{var re=k._payload,Ce=k._init;return T(U,H,Ce(re),G)}}if(Ae(k)||Na(k))return oe!==null?null:g(U,H,k,G,null);Lc(U,k)}return typeof k=="function"&&Ac(U),null}function L(U,H,k,G,oe){if(typeof G=="string"&&G!==""||typeof G=="number"){var re=U.get(k)||null;return c(H,re,""+G,oe)}if(typeof G=="object"&&G!==null){switch(G.$$typeof){case ca:{var Ce=U.get(G.key===null?k:G.key)||null;return d(H,Ce,G,oe)}case Kn:{var xe=U.get(G.key===null?k:G.key)||null;return y(H,xe,G,oe)}case ge:var at=G._payload,$e=G._init;return L(U,H,k,$e(at),oe)}if(Ae(G)||Na(G)){var xt=U.get(k)||null;return g(H,xt,G,oe,null)}Lc(H,G)}return typeof G=="function"&&Ac(H),null}function M(U,H,k){{if(typeof U!="object"||U===null)return H;switch(U.$$typeof){case ca:case Kn:tb(U,k);var G=U.key;if(typeof G!="string")break;if(H===null){H=new Set,H.add(G);break}if(!H.has(G)){H.add(G);break}s("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.",G);break;case ge:var oe=U._payload,re=U._init;M(re(oe),H,k);break}}return H}function B(U,H,k,G){for(var oe=null,re=0;re<k.length;re++){var Ce=k[re];oe=M(Ce,oe,U)}for(var xe=null,at=null,$e=H,xt=0,Ie=0,Tt=null;$e!==null&&Ie<k.length;Ie++){$e.index>Ie?(Tt=$e,$e=null):Tt=$e.sibling;var wn=T(U,$e,k[Ie],G);if(wn===null){$e===null&&($e=Tt);break}e&&$e&&wn.alternate===null&&t(U,$e),xt=i(wn,xt,Ie),at===null?xe=wn:at.sibling=wn,at=wn,$e=Tt}if(Ie===k.length){if(n(U,$e),un()){var mn=Ie;qi(U,mn)}return xe}if($e===null){for(;Ie<k.length;Ie++){var ra=N(U,k[Ie],G);ra!==null&&(xt=i(ra,xt,Ie),at===null?xe=ra:at.sibling=ra,at=ra)}if(un()){var jn=Ie;qi(U,jn)}return xe}for(var Vn=a(U,$e);Ie<k.length;Ie++){var Tn=L(Vn,U,Ie,k[Ie],G);Tn!==null&&(e&&Tn.alternate!==null&&Vn.delete(Tn.key===null?Ie:Tn.key),xt=i(Tn,xt,Ie),at===null?xe=Tn:at.sibling=Tn,at=Tn)}if(e&&Vn.forEach(function(so){return t(U,so)}),un()){var Vr=Ie;qi(U,Vr)}return xe}function ae(U,H,k,G){var oe=Na(k);if(typeof oe!="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"&&k[Symbol.toStringTag]==="Generator"&&(Xp||s("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."),Xp=!0),k.entries===oe&&(Jp||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Jp=!0);var re=oe.call(k);if(re)for(var Ce=null,xe=re.next();!xe.done;xe=re.next()){var at=xe.value;Ce=M(at,Ce,U)}}var $e=oe.call(k);if($e==null)throw new Error("An iterable object provided no iterator.");for(var xt=null,Ie=null,Tt=H,wn=0,mn=0,ra=null,jn=$e.next();Tt!==null&&!jn.done;mn++,jn=$e.next()){Tt.index>mn?(ra=Tt,Tt=null):ra=Tt.sibling;var Vn=T(U,Tt,jn.value,G);if(Vn===null){Tt===null&&(Tt=ra);break}e&&Tt&&Vn.alternate===null&&t(U,Tt),wn=i(Vn,wn,mn),Ie===null?xt=Vn:Ie.sibling=Vn,Ie=Vn,Tt=ra}if(jn.done){if(n(U,Tt),un()){var Tn=mn;qi(U,Tn)}return xt}if(Tt===null){for(;!jn.done;mn++,jn=$e.next()){var Vr=N(U,jn.value,G);Vr!==null&&(wn=i(Vr,wn,mn),Ie===null?xt=Vr:Ie.sibling=Vr,Ie=Vr)}if(un()){var so=mn;qi(U,so)}return xt}for(var fs=a(U,Tt);!jn.done;mn++,jn=$e.next()){var or=L(fs,U,mn,jn.value,G);or!==null&&(e&&or.alternate!==null&&fs.delete(or.key===null?mn:or.key),wn=i(or,wn,mn),Ie===null?xt=or:Ie.sibling=or,Ie=or)}if(e&&fs.forEach(function(KD){return t(U,KD)}),un()){var QD=mn;qi(U,QD)}return xt}function he(U,H,k,G){if(H!==null&&H.tag===F){n(U,H.sibling);var oe=r(H,k);return oe.return=U,oe}n(U,H);var re=Km(k,U.mode,G);return re.return=U,re}function fe(U,H,k,G){for(var oe=k.key,re=H;re!==null;){if(re.key===oe){var Ce=k.type;if(Ce===qa){if(re.tag===W){n(U,re.sibling);var xe=r(re,k.props.children);return xe.return=U,xe._debugSource=k._source,xe._debugOwner=k._owner,xe}}else if(re.elementType===Ce||uS(re,k)||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===ge&&nb(Ce)===re.type){n(U,re.sibling);var at=r(re,k.props);return at.ref=Lu(U,re,k),at.return=U,at._debugSource=k._source,at._debugOwner=k._owner,at}n(U,re);break}else t(U,re);re=re.sibling}if(k.type===qa){var $e=vi(k.props.children,U.mode,G,k.key);return $e.return=U,$e}else{var xt=Qm(k,U.mode,G);return xt.ref=Lu(U,H,k),xt.return=U,xt}}function Fe(U,H,k,G){for(var oe=k.key,re=H;re!==null;){if(re.key===oe)if(re.tag===w&&re.stateNode.containerInfo===k.containerInfo&&re.stateNode.implementation===k.implementation){n(U,re.sibling);var Ce=r(re,k.children||[]);return Ce.return=U,Ce}else{n(U,re);break}else t(U,re);re=re.sibling}var xe=Jm(k,U.mode,G);return xe.return=U,xe}function Me(U,H,k,G){var oe=typeof k=="object"&&k!==null&&k.type===qa&&k.key===null;if(oe&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case ca:return o(fe(U,H,k,G));case Kn:return o(Fe(U,H,k,G));case ge:var re=k._payload,Ce=k._init;return Me(U,H,Ce(re),G)}if(Ae(k))return B(U,H,k,G);if(Na(k))return ae(U,H,k,G);Lc(U,k)}return typeof k=="string"&&k!==""||typeof k=="number"?o(he(U,H,""+k,G)):(typeof k=="function"&&Ac(U),n(U,H))}return Me}var Yl=ab(!0),rb=ab(!1);function Tx(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=il(n,n.pendingProps);for(t.child=a,a.return=t;n.sibling!==null;)n=n.sibling,a=a.sibling=il(n,n.pendingProps),a.return=t;a.sibling=null}}function Nx(e,t){for(var n=e.child;n!==null;)pD(n,t),n=n.sibling}var nv=ei(null),av;av={};var Mc=null,ql=null,rv=null,zc=!1;function jc(){Mc=null,ql=null,rv=null,zc=!1}function ib(){zc=!0}function lb(){zc=!1}function ob(e,t,n){Cn(nv,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==av&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=av}function iv(e,t){var n=nv.current;Sn(nv,t),e._currentValue=n}function lv(e,t,n){for(var a=e;a!==null;){var r=a.alternate;if(Ul(a.childLanes,t)?r!==null&&!Ul(r.childLanes,t)&&(r.childLanes=ke(r.childLanes,t)):(a.childLanes=ke(a.childLanes,t),r!==null&&(r.childLanes=ke(r.childLanes,t))),a===n)break;a=a.return}a!==n&&s("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 xx(e,t,n){_x(e,t,n)}function _x(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 o=i.firstContext;o!==null;){if(o.context===t){if(a.tag===S){var c=Jo(n),d=Or(ct,c);d.tag=Bc;var y=a.updateQueue;if(y!==null){var g=y.shared,N=g.pending;N===null?d.next=d:(d.next=N.next,N.next=d),g.pending=d}}a.lanes=ke(a.lanes,n);var T=a.alternate;T!==null&&(T.lanes=ke(T.lanes,n)),lv(a.return,n,e),i.lanes=ke(i.lanes,n);break}o=o.next}}else if(a.tag===z)r=a.type===e.type?null:a.child;else if(a.tag===Pe){var L=a.return;if(L===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");L.lanes=ke(L.lanes,n);var M=L.alternate;M!==null&&(M.lanes=ke(M.lanes,n)),lv(L,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 B=r.sibling;if(B!==null){B.return=r.return,r=B;break}r=r.return}a=r}}function Gl(e,t){Mc=e,ql=null,rv=null;var n=e.dependencies;if(n!==null){var a=n.firstContext;a!==null&&(Xn(n.lanes,t)&&Wu(),n.firstContext=null)}}function kt(e){zc&&s("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(rv!==e){var n={context:e,memoizedValue:t,next:null};if(ql===null){if(Mc===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().");ql=n,Mc.dependencies={lanes:I,firstContext:n}}else ql=ql.next=n}return t}var Ji=null;function ov(e){Ji===null?Ji=[e]:Ji.push(e)}function Dx(){if(Ji!==null){for(var e=0;e<Ji.length;e++){var t=Ji[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}}Ji=null}}function ub(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,ov(t)):(n.next=r.next,r.next=n),t.interleaved=n,Vc(e,a)}function Ux(e,t,n,a){var r=t.interleaved;r===null?(n.next=n,ov(t)):(n.next=r.next,r.next=n),t.interleaved=n}function kx(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,ov(t)):(n.next=r.next,r.next=n),t.interleaved=n,Vc(e,a)}function In(e,t){return Vc(e,t)}var Ox=Vc;function Vc(e,t){e.lanes=ke(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=ke(n.lanes,t)),n===null&&(e.flags&(Ut|Cr))!==Se&&rS(e);for(var a=e,r=e.return;r!==null;)r.childLanes=ke(r.childLanes,t),n=r.alternate,n!==null?n.childLanes=ke(n.childLanes,t):(r.flags&(Ut|Cr))!==Se&&rS(e),a=r,r=r.return;if(a.tag===D){var i=a.stateNode;return i}else return null}var sb=0,cb=1,Bc=2,uv=3,Hc=!1,sv,Fc;sv=!1,Fc=null;function cv(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:I},effects:null};e.updateQueue=t}function fb(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 Or(e,t){var n={eventTime:e,lane:t,tag:sb,payload:null,callback:null,next:null};return n}function ri(e,t,n){var a=e.updateQueue;if(a===null)return null;var r=a.shared;if(Fc===r&&!sv&&(s("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."),sv=!0),U_()){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ox(e,n)}else return kx(e,r,t,n)}function Pc(e,t,n){var a=t.updateQueue;if(a!==null){var r=a.shared;if(wy(n)){var i=r.lanes;i=Ny(i,e.pendingLanes);var o=ke(i,n);r.lanes=o,np(e,o)}}}function fv(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null){var r=a.updateQueue;if(n===r){var i=null,o=null,c=n.firstBaseUpdate;if(c!==null){var d=c;do{var y={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};o===null?i=o=y:(o.next=y,o=y),d=d.next}while(d!==null);o===null?i=o=t:(o.next=t,o=t)}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}}var g=n.lastBaseUpdate;g===null?n.firstBaseUpdate=t:g.next=t,n.lastBaseUpdate=t}function Lx(e,t,n,a,r,i){switch(n.tag){case cb:{var o=n.payload;if(typeof o=="function"){ib();var c=o.call(i,a,r);{if(e.mode&wt){Jt(!0);try{o.call(i,a,r)}finally{Jt(!1)}}lb()}return c}return o}case uv:e.flags=e.flags&~Ln|Ge;case sb:{var d=n.payload,y;if(typeof d=="function"){ib(),y=d.call(i,a,r);{if(e.mode&wt){Jt(!0);try{d.call(i,a,r)}finally{Jt(!1)}}lb()}}else y=d;return y==null?a:Le({},a,y)}case Bc:return Hc=!0,a}return a}function $c(e,t,n,a){var r=e.updateQueue;Hc=!1,Fc=r.shared;var i=r.firstBaseUpdate,o=r.lastBaseUpdate,c=r.shared.pending;if(c!==null){r.shared.pending=null;var d=c,y=d.next;d.next=null,o===null?i=y:o.next=y,o=d;var g=e.alternate;if(g!==null){var N=g.updateQueue,T=N.lastBaseUpdate;T!==o&&(T===null?N.firstBaseUpdate=y:T.next=y,N.lastBaseUpdate=d)}}if(i!==null){var L=r.baseState,M=I,B=null,ae=null,he=null,fe=i;do{var Fe=fe.lane,Me=fe.eventTime;if(Ul(a,Fe)){if(he!==null){var H={eventTime:Me,lane:Xt,tag:fe.tag,payload:fe.payload,callback:fe.callback,next:null};he=he.next=H}L=Lx(e,r,fe,L,t,n);var k=fe.callback;if(k!==null&&fe.lane!==Xt){e.flags|=iy;var G=r.effects;G===null?r.effects=[fe]:G.push(fe)}}else{var U={eventTime:Me,lane:Fe,tag:fe.tag,payload:fe.payload,callback:fe.callback,next:null};he===null?(ae=he=U,B=L):he=he.next=U,M=ke(M,Fe)}if(fe=fe.next,fe===null){if(c=r.shared.pending,c===null)break;var oe=c,re=oe.next;oe.next=null,fe=re,r.lastBaseUpdate=oe,r.shared.pending=null}}while(!0);he===null&&(B=L),r.baseState=B,r.firstBaseUpdate=ae,r.lastBaseUpdate=he;var Ce=r.shared.interleaved;if(Ce!==null){var xe=Ce;do M=ke(M,xe.lane),xe=xe.next;while(xe!==Ce)}else i===null&&(r.shared.lanes=I);ls(M),e.lanes=M,e.memoizedState=L}Fc=null}function Ax(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function db(){Hc=!1}function Ic(){return Hc}function pb(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],o=i.callback;o!==null&&(i.callback=null,Ax(o,n))}}var Au={},ii=ei(Au),Mu=ei(Au),Yc=ei(Au);function qc(e){if(e===Au)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 vb(){var e=qc(Yc.current);return e}function dv(e,t){Cn(Yc,t,e),Cn(Mu,e,e),Cn(ii,Au,e);var n=JT(t);Sn(ii,e),Cn(ii,n,e)}function Wl(e){Sn(ii,e),Sn(Mu,e),Sn(Yc,e)}function pv(){var e=qc(ii.current);return e}function mb(e){qc(Yc.current);var t=qc(ii.current),n=XT(t,e.type);t!==n&&(Cn(Mu,e,e),Cn(ii,n,e))}function vv(e){Mu.current===e&&(Sn(ii,e),Sn(Mu,e))}var Mx=0,hb=1,yb=1,zu=2,La=ei(Mx);function mv(e,t){return(e&t)!==0}function Ql(e){return e&hb}function hv(e,t){return e&hb|t}function zx(e,t){return e|t}function li(e,t){Cn(La,t,e)}function Kl(e){Sn(La,e)}function jx(e,t){var n=e.memoizedState;return n!==null?n.dehydrated!==null:(e.memoizedProps,!0)}function Gc(e){for(var t=e;t!==null;){if(t.tag===X){var n=t.memoizedState;if(n!==null){var a=n.dehydrated;if(a===null||Ag(a)||Ap(a))return t}}else if(t.tag===rt&&t.memoizedProps.revealOrder!==void 0){var r=(t.flags&Ge)!==Se;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 Yn=0,zt=1,er=2,jt=4,sn=8,yv=[];function gv(){for(var e=0;e<yv.length;e++){var t=yv[e];t._workInProgressVersionPrimary=null}yv.length=0}function Vx(e,t){var n=t._getVersion,a=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var le=f.ReactCurrentDispatcher,ju=f.ReactCurrentBatchConfig,bv,Jl;bv=new Set;var Xi=I,nt=null,Vt=null,Bt=null,Wc=!1,Vu=!1,Bu=0,Bx=0,Hx=25,$=null,ma=null,oi=-1,Ev=!1;function Qe(){{var e=$;ma===null?ma=[e]:ma.push(e)}}function ee(){{var e=$;ma!==null&&(oi++,ma[oi]!==e&&Fx(e))}}function Xl(e){e!=null&&!Ae(e)&&s("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",$,typeof e)}function Fx(e){{var t=_e(nt);if(!bv.has(t)&&(bv.add(t),ma!==null)){for(var n="",a=30,r=0;r<=oi;r++){for(var i=ma[r],o=r===oi?e:i,c=r+1+". "+i;c.length<a;)c+=" ";c+=o+`
- `,n+=c}s(`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 Rn(){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 Sv(e,t){if(Ev)return!1;if(t===null)return s("%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.",$),!1;e.length!==t.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
- Previous: %s
- Incoming: %s`,$,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!ta(e[n],t[n]))return!1;return!0}function Zl(e,t,n,a,r,i){Xi=i,nt=t,ma=e!==null?e._debugHookTypes:null,oi=-1,Ev=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=I,e!==null&&e.memoizedState!==null?le.current=Bb:ma!==null?le.current=Vb:le.current=jb;var o=n(a,r);if(Vu){var c=0;do{if(Vu=!1,Bu=0,c>=Hx)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");c+=1,Ev=!1,Vt=null,Bt=null,t.updateQueue=null,oi=-1,le.current=Hb,o=n(a,r)}while(Vu)}le.current=uf,t._debugHookTypes=ma;var d=Vt!==null&&Vt.next!==null;if(Xi=I,nt=null,Vt=null,Bt=null,$=null,ma=null,oi=-1,e!==null&&(e.flags&Rr)!==(t.flags&Rr)&&(e.mode&Be)!==be&&s("Internal React error: Expected static flag was missing. Please notify the React team."),Wc=!1,d)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o}function eo(){var e=Bu!==0;return Bu=0,e}function gb(e,t,n){t.updateQueue=e.updateQueue,(t.mode&Ka)!==be?t.flags&=-50333701:t.flags&=-2053,e.lanes=Qs(e.lanes,n)}function bb(){if(le.current=uf,Wc){for(var e=nt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wc=!1}Xi=I,nt=null,Vt=null,Bt=null,ma=null,oi=-1,$=null,Ob=!1,Vu=!1,Bu=0}function tr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bt===null?nt.memoizedState=Bt=e:Bt=Bt.next=e,Bt}function ha(){var e;if(Vt===null){var t=nt.alternate;t!==null?e=t.memoizedState:e=null}else e=Vt.next;var n;if(Bt===null?n=nt.memoizedState:n=Bt.next,n!==null)Bt=n,n=Bt.next,Vt=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Vt=e;var a={memoizedState:Vt.memoizedState,baseState:Vt.baseState,baseQueue:Vt.baseQueue,queue:Vt.queue,next:null};Bt===null?nt.memoizedState=Bt=a:Bt=Bt.next=a}return Bt}function Eb(){return{lastEffect:null,stores:null}}function Cv(e,t){return typeof t=="function"?t(e):t}function Rv(e,t,n){var a=tr(),r;n!==void 0?r=n(t):r=t,a.memoizedState=a.baseState=r;var i={pending:null,interleaved:null,lanes:I,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=i;var o=i.dispatch=Yx.bind(null,nt,i);return[a.memoizedState,o]}function wv(e,t,n){var a=ha(),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=Vt,o=i.baseQueue,c=r.pending;if(c!==null){if(o!==null){var d=o.next,y=c.next;o.next=y,c.next=d}i.baseQueue!==o&&s("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=o=c,r.pending=null}if(o!==null){var g=o.next,N=i.baseState,T=null,L=null,M=null,B=g;do{var ae=B.lane;if(Ul(Xi,ae)){if(M!==null){var fe={lane:Xt,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};M=M.next=fe}if(B.hasEagerState)N=B.eagerState;else{var Fe=B.action;N=e(N,Fe)}}else{var he={lane:ae,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};M===null?(L=M=he,T=N):M=M.next=he,nt.lanes=ke(nt.lanes,ae),ls(ae)}B=B.next}while(B!==null&&B!==g);M===null?T=N:M.next=L,ta(N,a.memoizedState)||Wu(),a.memoizedState=N,a.baseState=T,a.baseQueue=M,r.lastRenderedState=N}var Me=r.interleaved;if(Me!==null){var U=Me;do{var H=U.lane;nt.lanes=ke(nt.lanes,H),ls(H),U=U.next}while(U!==Me)}else o===null&&(r.lanes=I);var k=r.dispatch;return[a.memoizedState,k]}function Tv(e,t,n){var a=ha(),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,o=r.pending,c=a.memoizedState;if(o!==null){r.pending=null;var d=o.next,y=d;do{var g=y.action;c=e(c,g),y=y.next}while(y!==d);ta(c,a.memoizedState)||Wu(),a.memoizedState=c,a.baseQueue===null&&(a.baseState=c),r.lastRenderedState=c}return[c,i]}function oM(e,t,n){}function uM(e,t,n){}function Nv(e,t,n){var a=nt,r=tr(),i,o=un();if(o){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=n(),Jl||i!==n()&&(s("The result of getServerSnapshot should be cached to avoid an infinite loop"),Jl=!0)}else{if(i=t(),!Jl){var c=t();ta(i,c)||(s("The result of getSnapshot should be cached to avoid an infinite loop"),Jl=!0)}var d=xf();if(d===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ws(d,Xi)||Sb(a,t,i)}r.memoizedState=i;var y={value:i,getSnapshot:t};return r.queue=y,Zc(Rb.bind(null,a,y,e),[e]),a.flags|=Yr,Hu(zt|sn,Cb.bind(null,a,y,i,t),void 0,null),i}function Qc(e,t,n){var a=nt,r=ha(),i=t();if(!Jl){var o=t();ta(i,o)||(s("The result of getSnapshot should be cached to avoid an infinite loop"),Jl=!0)}var c=r.memoizedState,d=!ta(c,i);d&&(r.memoizedState=i,Wu());var y=r.queue;if(Pu(Rb.bind(null,a,y,e),[e]),y.getSnapshot!==t||d||Bt!==null&&Bt.memoizedState.tag&zt){a.flags|=Yr,Hu(zt|sn,Cb.bind(null,a,y,i,t),void 0,null);var g=xf();if(g===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ws(g,Xi)||Sb(a,t,i)}return i}function Sb(e,t,n){e.flags|=Cd;var a={getSnapshot:t,value:n},r=nt.updateQueue;if(r===null)r=Eb(),nt.updateQueue=r,r.stores=[a];else{var i=r.stores;i===null?r.stores=[a]:i.push(a)}}function Cb(e,t,n,a){t.value=n,t.getSnapshot=a,wb(t)&&Tb(e)}function Rb(e,t,n){var a=function(){wb(t)&&Tb(e)};return n(a)}function wb(e){var t=e.getSnapshot,n=e.value;try{var a=t();return!ta(n,a)}catch{return!0}}function Tb(e){var t=In(e,we);t!==null&&$t(t,e,we,ct)}function Kc(e){var t=tr();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:I,dispatch:null,lastRenderedReducer:Cv,lastRenderedState:e};t.queue=n;var a=n.dispatch=qx.bind(null,nt,n);return[t.memoizedState,a]}function xv(e){return wv(Cv)}function _v(e){return Tv(Cv)}function Hu(e,t,n,a){var r={tag:e,create:t,destroy:n,deps:a,next:null},i=nt.updateQueue;if(i===null)i=Eb(),nt.updateQueue=i,i.lastEffect=r.next=r;else{var o=i.lastEffect;if(o===null)i.lastEffect=r.next=r;else{var c=o.next;o.next=r,r.next=c,i.lastEffect=r}}return r}function Dv(e){var t=tr();{var n={current:e};return t.memoizedState=n,n}}function Jc(e){var t=ha();return t.memoizedState}function Fu(e,t,n,a){var r=tr(),i=a===void 0?null:a;nt.flags|=e,r.memoizedState=Hu(zt|t,n,void 0,i)}function Xc(e,t,n,a){var r=ha(),i=a===void 0?null:a,o=void 0;if(Vt!==null){var c=Vt.memoizedState;if(o=c.destroy,i!==null){var d=c.deps;if(Sv(i,d)){r.memoizedState=Hu(t,n,o,i);return}}}nt.flags|=e,r.memoizedState=Hu(zt|t,n,o,i)}function Zc(e,t){return(nt.mode&Ka)!==be?Fu(Nd|Yr|Td,sn,e,t):Fu(Yr|Td,sn,e,t)}function Pu(e,t){return Xc(Yr,sn,e,t)}function Uv(e,t){return Fu(qe,er,e,t)}function ef(e,t){return Xc(qe,er,e,t)}function kv(e,t){var n=qe;return n|=Mi,(nt.mode&Ka)!==be&&(n|=qr),Fu(n,jt,e,t)}function tf(e,t){return Xc(qe,jt,e,t)}function Nb(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")||s("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 Ov(e,t,n){typeof t!="function"&&s("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=qe;return r|=Mi,(nt.mode&Ka)!==be&&(r|=qr),Fu(r,jt,Nb.bind(null,t,e),a)}function nf(e,t,n){typeof t!="function"&&s("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 Xc(qe,jt,Nb.bind(null,t,e),a)}function Px(e,t){}var af=Px;function Lv(e,t){var n=tr(),a=t===void 0?null:t;return n.memoizedState=[e,a],e}function rf(e,t){var n=ha(),a=t===void 0?null:t,r=n.memoizedState;if(r!==null&&a!==null){var i=r[1];if(Sv(a,i))return r[0]}return n.memoizedState=[e,a],e}function Av(e,t){var n=tr(),a=t===void 0?null:t,r=e();return n.memoizedState=[r,a],r}function lf(e,t){var n=ha(),a=t===void 0?null:t,r=n.memoizedState;if(r!==null&&a!==null){var i=r[1];if(Sv(a,i))return r[0]}var o=e();return n.memoizedState=[o,a],o}function Mv(e){var t=tr();return t.memoizedState=e,e}function xb(e){var t=ha(),n=Vt,a=n.memoizedState;return Db(t,a,e)}function _b(e){var t=ha();if(Vt===null)return t.memoizedState=e,e;var n=Vt.memoizedState;return Db(t,n,e)}function Db(e,t,n){var a=!xR(Xi);if(a){if(!ta(n,t)){var r=Ty();nt.lanes=ke(nt.lanes,r),ls(r),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Wu()),e.memoizedState=n,n}function $x(e,t,n){var a=Da();Zt(zR(a,Tr)),e(!0);var r=ju.transition;ju.transition={};var i=ju.transition;ju.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Zt(a),ju.transition=r,r===null&&i._updatedFibers){var o=i._updatedFibers.size;o>10&&h("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 zv(){var e=Kc(!1),t=e[0],n=e[1],a=$x.bind(null,n),r=tr();return r.memoizedState=a,[t,a]}function Ub(){var e=xv(),t=e[0],n=ha(),a=n.memoizedState;return[t,a]}function kb(){var e=_v(),t=e[0],n=ha(),a=n.memoizedState;return[t,a]}var Ob=!1;function Ix(){return Ob}function jv(){var e=tr(),t=xf(),n=t.identifierPrefix,a;if(un()){var r=ox();a=":"+n+"R"+r;var i=Bu++;i>0&&(a+="H"+i.toString(32)),a+=":"}else{var o=Bx++;a=":"+n+"r"+o.toString(32)+":"}return e.memoizedState=a,a}function of(){var e=ha(),t=e.memoizedState;return t}function Yx(e,t,n){typeof arguments[3]=="function"&&s("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=di(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lb(e))Ab(t,r);else{var i=ub(e,t,r,a);if(i!==null){var o=zn();$t(i,e,a,o),Mb(i,t,a)}}zb(e,a)}function qx(e,t,n){typeof arguments[3]=="function"&&s("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=di(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lb(e))Ab(t,r);else{var i=e.alternate;if(e.lanes===I&&(i===null||i.lanes===I)){var o=t.lastRenderedReducer;if(o!==null){var c;c=le.current,le.current=Aa;try{var d=t.lastRenderedState,y=o(d,n);if(r.hasEagerState=!0,r.eagerState=y,ta(y,d)){Ux(e,t,r,a);return}}catch{}finally{le.current=c}}}var g=ub(e,t,r,a);if(g!==null){var N=zn();$t(g,e,a,N),Mb(g,t,a)}}zb(e,a)}function Lb(e){var t=e.alternate;return e===nt||t!==null&&t===nt}function Ab(e,t){Vu=Wc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Mb(e,t,n){if(wy(n)){var a=t.lanes;a=Ny(a,e.pendingLanes);var r=ke(a,n);t.lanes=r,np(e,r)}}function zb(e,t,n){kd(e,t)}var uf={readContext:kt,useCallback:Rn,useContext:Rn,useEffect:Rn,useImperativeHandle:Rn,useInsertionEffect:Rn,useLayoutEffect:Rn,useMemo:Rn,useReducer:Rn,useRef:Rn,useState:Rn,useDebugValue:Rn,useDeferredValue:Rn,useTransition:Rn,useMutableSource:Rn,useSyncExternalStore:Rn,useId:Rn,unstable_isNewReconciler:Ke},jb=null,Vb=null,Bb=null,Hb=null,nr=null,Aa=null,sf=null;{var Vv=function(){s("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().")},Te=function(){s("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")};jb={readContext:function(e){return kt(e)},useCallback:function(e,t){return $="useCallback",Qe(),Xl(t),Lv(e,t)},useContext:function(e){return $="useContext",Qe(),kt(e)},useEffect:function(e,t){return $="useEffect",Qe(),Xl(t),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Qe(),Xl(n),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Qe(),Xl(t),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Qe(),Xl(t),kv(e,t)},useMemo:function(e,t){$="useMemo",Qe(),Xl(t);var n=le.current;le.current=nr;try{return Av(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",Qe();var a=le.current;le.current=nr;try{return Rv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",Qe(),Dv(e)},useState:function(e){$="useState",Qe();var t=le.current;le.current=nr;try{return Kc(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Qe(),void 0},useDeferredValue:function(e){return $="useDeferredValue",Qe(),Mv(e)},useTransition:function(){return $="useTransition",Qe(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",Qe(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Qe(),Nv(e,t,n)},useId:function(){return $="useId",Qe(),jv()},unstable_isNewReconciler:Ke},Vb={readContext:function(e){return kt(e)},useCallback:function(e,t){return $="useCallback",ee(),Lv(e,t)},useContext:function(e){return $="useContext",ee(),kt(e)},useEffect:function(e,t){return $="useEffect",ee(),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",ee(),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ee(),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ee(),kv(e,t)},useMemo:function(e,t){$="useMemo",ee();var n=le.current;le.current=nr;try{return Av(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",ee();var a=le.current;le.current=nr;try{return Rv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",ee(),Dv(e)},useState:function(e){$="useState",ee();var t=le.current;le.current=nr;try{return Kc(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ee(),void 0},useDeferredValue:function(e){return $="useDeferredValue",ee(),Mv(e)},useTransition:function(){return $="useTransition",ee(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",ee(),Nv(e,t,n)},useId:function(){return $="useId",ee(),jv()},unstable_isNewReconciler:Ke},Bb={readContext:function(e){return kt(e)},useCallback:function(e,t){return $="useCallback",ee(),rf(e,t)},useContext:function(e){return $="useContext",ee(),kt(e)},useEffect:function(e,t){return $="useEffect",ee(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",ee(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ee(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ee(),tf(e,t)},useMemo:function(e,t){$="useMemo",ee();var n=le.current;le.current=Aa;try{return lf(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",ee();var a=le.current;le.current=Aa;try{return wv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",ee(),Jc()},useState:function(e){$="useState",ee();var t=le.current;le.current=Aa;try{return xv(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ee(),af()},useDeferredValue:function(e){return $="useDeferredValue",ee(),xb(e)},useTransition:function(){return $="useTransition",ee(),Ub()},useMutableSource:function(e,t,n){return $="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",ee(),Qc(e,t)},useId:function(){return $="useId",ee(),of()},unstable_isNewReconciler:Ke},Hb={readContext:function(e){return kt(e)},useCallback:function(e,t){return $="useCallback",ee(),rf(e,t)},useContext:function(e){return $="useContext",ee(),kt(e)},useEffect:function(e,t){return $="useEffect",ee(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",ee(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ee(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ee(),tf(e,t)},useMemo:function(e,t){$="useMemo",ee();var n=le.current;le.current=sf;try{return lf(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",ee();var a=le.current;le.current=sf;try{return Tv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",ee(),Jc()},useState:function(e){$="useState",ee();var t=le.current;le.current=sf;try{return _v(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ee(),af()},useDeferredValue:function(e){return $="useDeferredValue",ee(),_b(e)},useTransition:function(){return $="useTransition",ee(),kb()},useMutableSource:function(e,t,n){return $="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",ee(),Qc(e,t)},useId:function(){return $="useId",ee(),of()},unstable_isNewReconciler:Ke},nr={readContext:function(e){return Vv(),kt(e)},useCallback:function(e,t){return $="useCallback",Te(),Qe(),Lv(e,t)},useContext:function(e){return $="useContext",Te(),Qe(),kt(e)},useEffect:function(e,t){return $="useEffect",Te(),Qe(),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Te(),Qe(),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Te(),Qe(),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Te(),Qe(),kv(e,t)},useMemo:function(e,t){$="useMemo",Te(),Qe();var n=le.current;le.current=nr;try{return Av(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",Te(),Qe();var a=le.current;le.current=nr;try{return Rv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",Te(),Qe(),Dv(e)},useState:function(e){$="useState",Te(),Qe();var t=le.current;le.current=nr;try{return Kc(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Te(),Qe(),void 0},useDeferredValue:function(e){return $="useDeferredValue",Te(),Qe(),Mv(e)},useTransition:function(){return $="useTransition",Te(),Qe(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",Te(),Qe(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Te(),Qe(),Nv(e,t,n)},useId:function(){return $="useId",Te(),Qe(),jv()},unstable_isNewReconciler:Ke},Aa={readContext:function(e){return Vv(),kt(e)},useCallback:function(e,t){return $="useCallback",Te(),ee(),rf(e,t)},useContext:function(e){return $="useContext",Te(),ee(),kt(e)},useEffect:function(e,t){return $="useEffect",Te(),ee(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Te(),ee(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Te(),ee(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Te(),ee(),tf(e,t)},useMemo:function(e,t){$="useMemo",Te(),ee();var n=le.current;le.current=Aa;try{return lf(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",Te(),ee();var a=le.current;le.current=Aa;try{return wv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",Te(),ee(),Jc()},useState:function(e){$="useState",Te(),ee();var t=le.current;le.current=Aa;try{return xv(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Te(),ee(),af()},useDeferredValue:function(e){return $="useDeferredValue",Te(),ee(),xb(e)},useTransition:function(){return $="useTransition",Te(),ee(),Ub()},useMutableSource:function(e,t,n){return $="useMutableSource",Te(),ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Te(),ee(),Qc(e,t)},useId:function(){return $="useId",Te(),ee(),of()},unstable_isNewReconciler:Ke},sf={readContext:function(e){return Vv(),kt(e)},useCallback:function(e,t){return $="useCallback",Te(),ee(),rf(e,t)},useContext:function(e){return $="useContext",Te(),ee(),kt(e)},useEffect:function(e,t){return $="useEffect",Te(),ee(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Te(),ee(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Te(),ee(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Te(),ee(),tf(e,t)},useMemo:function(e,t){$="useMemo",Te(),ee();var n=le.current;le.current=Aa;try{return lf(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",Te(),ee();var a=le.current;le.current=Aa;try{return Tv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",Te(),ee(),Jc()},useState:function(e){$="useState",Te(),ee();var t=le.current;le.current=Aa;try{return _v(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Te(),ee(),af()},useDeferredValue:function(e){return $="useDeferredValue",Te(),ee(),_b(e)},useTransition:function(){return $="useTransition",Te(),ee(),kb()},useMutableSource:function(e,t,n){return $="useMutableSource",Te(),ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Te(),ee(),Qc(e,t)},useId:function(){return $="useId",Te(),ee(),of()},unstable_isNewReconciler:Ke}}var ui=u.unstable_now,Fb=0,cf=-1,$u=-1,ff=-1,Bv=!1,df=!1;function Pb(){return Bv}function Gx(){df=!0}function Wx(){Bv=!1,df=!1}function Qx(){Bv=df,df=!1}function $b(){return Fb}function Ib(){Fb=ui()}function Hv(e){$u=ui(),e.actualStartTime<0&&(e.actualStartTime=ui())}function Yb(e){$u=-1}function pf(e,t){if($u>=0){var n=ui()-$u;e.actualDuration+=n,t&&(e.selfBaseDuration=n),$u=-1}}function ar(e){if(cf>=0){var t=ui()-cf;cf=-1;for(var n=e.return;n!==null;){switch(n.tag){case D:var a=n.stateNode;a.effectDuration+=t;return;case Q:var r=n.stateNode;r.effectDuration+=t;return}n=n.return}}}function Fv(e){if(ff>=0){var t=ui()-ff;ff=-1;for(var n=e.return;n!==null;){switch(n.tag){case D:var a=n.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case Q:var r=n.stateNode;r!==null&&(r.passiveEffectDuration+=t);return}n=n.return}}}function rr(){cf=ui()}function Pv(){ff=ui()}function $v(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ma(e,t){if(e&&e.defaultProps){var n=Le({},t),a=e.defaultProps;for(var r in a)n[r]===void 0&&(n[r]=a[r]);return n}return t}var Iv={},Yv,qv,Gv,Wv,Qv,qb,vf,Kv,Jv,Xv,Iu;{Yv=new Set,qv=new Set,Gv=new Set,Wv=new Set,Kv=new Set,Qv=new Set,Jv=new Set,Xv=new Set,Iu=new Set;var Gb=new Set;vf=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Gb.has(n)||(Gb.add(n),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},qb=function(e,t){if(t===void 0){var n=Ye(e)||"Component";Qv.has(n)||(Qv.add(n),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Iv,"_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(Iv)}function Zv(e,t,n,a){var r=e.memoizedState,i=n(a,r);{if(e.mode&wt){Jt(!0);try{i=n(a,r)}finally{Jt(!1)}}qb(t,i)}var o=i==null?r:Le({},r,i);if(e.memoizedState=o,e.lanes===I){var c=e.updateQueue;c.baseState=o}}var em={isMounted:H0,enqueueSetState:function(e,t,n){var a=Sl(e),r=zn(),i=di(a),o=Or(r,i);o.payload=t,n!=null&&(vf(n,"setState"),o.callback=n);var c=ri(a,o,i);c!==null&&($t(c,a,i,r),Pc(c,a,i)),kd(a,i)},enqueueReplaceState:function(e,t,n){var a=Sl(e),r=zn(),i=di(a),o=Or(r,i);o.tag=cb,o.payload=t,n!=null&&(vf(n,"replaceState"),o.callback=n);var c=ri(a,o,i);c!==null&&($t(c,a,i,r),Pc(c,a,i)),kd(a,i)},enqueueForceUpdate:function(e,t){var n=Sl(e),a=zn(),r=di(n),i=Or(a,r);i.tag=Bc,t!=null&&(vf(t,"forceUpdate"),i.callback=t);var o=ri(n,i,r);o!==null&&($t(o,n,r,a),Pc(o,n,r)),yR(n,r)}};function Wb(e,t,n,a,r,i,o){var c=e.stateNode;if(typeof c.shouldComponentUpdate=="function"){var d=c.shouldComponentUpdate(a,i,o);{if(e.mode&wt){Jt(!0);try{d=c.shouldComponentUpdate(a,i,o)}finally{Jt(!1)}}d===void 0&&s("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ye(t)||"Component")}return d}return t.prototype&&t.prototype.isPureReactComponent?!du(n,a)||!du(r,i):!0}function Kx(e,t,n){var a=e.stateNode;{var r=Ye(t)||"Component",i=a.render;i||(t.prototype&&typeof t.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",r):s("%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&&s("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&&s("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&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",r),a.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",r),t.childContextTypes&&!Iu.has(t)&&(e.mode&wt)===be&&(Iu.add(t),s(`%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&&!Iu.has(t)&&(e.mode&wt)===be&&(Iu.add(t),s(`%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&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",r),t.contextType&&t.contextTypes&&!Jv.has(t)&&(Jv.add(t),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),typeof a.componentShouldUpdate=="function"&&s("%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"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ye(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),typeof a.componentDidReceiveProps=="function"&&s("%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"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),typeof a.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var o=a.props!==n;a.props!==void 0&&o&&s("%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&&s("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"&&!Gv.has(t)&&(Gv.add(t),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ye(t))),typeof a.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof a.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof t.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r);var c=a.state;c&&(typeof c!="object"||Ae(c))&&s("%s.state: must be set to an object or null",r),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}}function Qb(e,t){t.updater=em,e.stateNode=t,z0(t,e),t._reactInternalInstance=Iv}function Kb(e,t,n){var a=!1,r=na,i=na,o=t.contextType;if("contextType"in t){var c=o===null||o!==void 0&&o.$$typeof===ne&&o._context===void 0;if(!c&&!Xv.has(t)){Xv.add(t);var d="";o===void 0?d=" 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 o!="object"?d=" However, it is set to a "+typeof o+".":o.$$typeof===q?d=" Did you accidentally pass the Context.Provider instead?":o._context!==void 0?d=" Did you accidentally pass the Context.Consumer instead?":d=" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ye(t)||"Component",d)}}if(typeof o=="object"&&o!==null)i=kt(o);else{r=Hl(e,t,!0);var y=t.contextTypes;a=y!=null,i=a?Fl(e,r):na}var g=new t(n,i);if(e.mode&wt){Jt(!0);try{g=new t(n,i)}finally{Jt(!1)}}var N=e.memoizedState=g.state!==null&&g.state!==void 0?g.state:null;Qb(e,g);{if(typeof t.getDerivedStateFromProps=="function"&&N===null){var T=Ye(t)||"Component";qv.has(T)||(qv.add(T),s("`%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.",T,g.state===null?"null":"undefined",T))}if(typeof t.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"){var L=null,M=null,B=null;if(typeof g.componentWillMount=="function"&&g.componentWillMount.__suppressDeprecationWarning!==!0?L="componentWillMount":typeof g.UNSAFE_componentWillMount=="function"&&(L="UNSAFE_componentWillMount"),typeof g.componentWillReceiveProps=="function"&&g.componentWillReceiveProps.__suppressDeprecationWarning!==!0?M="componentWillReceiveProps":typeof g.UNSAFE_componentWillReceiveProps=="function"&&(M="UNSAFE_componentWillReceiveProps"),typeof g.componentWillUpdate=="function"&&g.componentWillUpdate.__suppressDeprecationWarning!==!0?B="componentWillUpdate":typeof g.UNSAFE_componentWillUpdate=="function"&&(B="UNSAFE_componentWillUpdate"),L!==null||M!==null||B!==null){var ae=Ye(t)||"Component",he=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wv.has(ae)||(Wv.add(ae),s(`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`,ae,he,L!==null?`
- `+L:"",M!==null?`
- `+M:"",B!==null?`
- `+B:""))}}}return a&&Bg(e,r,i),g}function Jx(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",_e(e)||"Component"),em.enqueueReplaceState(t,t.state,null))}function Jb(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=_e(e)||"Component";Yv.has(i)||(Yv.add(i),s("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i))}em.enqueueReplaceState(t,t.state,null)}}function tm(e,t,n,a){Kx(e,t,n);var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},cv(e);var i=t.contextType;if(typeof i=="object"&&i!==null)r.context=kt(i);else{var o=Hl(e,t,!0);r.context=Fl(e,o)}{if(r.state===n){var c=Ye(t)||"Component";Kv.has(c)||(Kv.add(c),s("%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.",c))}e.mode&wt&&Oa.recordLegacyContextWarning(e,r),Oa.recordUnsafeLifecycleWarnings(e,r)}r.state=e.memoizedState;var d=t.getDerivedStateFromProps;if(typeof d=="function"&&(Zv(e,t,d,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof r.getSnapshotBeforeUpdate!="function"&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(Jx(e,r),$c(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"){var y=qe;y|=Mi,(e.mode&Ka)!==be&&(y|=qr),e.flags|=y}}function Xx(e,t,n,a){var r=e.stateNode,i=e.memoizedProps;r.props=i;var o=r.context,c=t.contextType,d=na;if(typeof c=="object"&&c!==null)d=kt(c);else{var y=Hl(e,t,!0);d=Fl(e,y)}var g=t.getDerivedStateFromProps,N=typeof g=="function"||typeof r.getSnapshotBeforeUpdate=="function";!N&&(typeof r.UNSAFE_componentWillReceiveProps=="function"||typeof r.componentWillReceiveProps=="function")&&(i!==n||o!==d)&&Jb(e,r,n,d),db();var T=e.memoizedState,L=r.state=T;if($c(e,n,r,a),L=e.memoizedState,i===n&&T===L&&!wc()&&!Ic()){if(typeof r.componentDidMount=="function"){var M=qe;M|=Mi,(e.mode&Ka)!==be&&(M|=qr),e.flags|=M}return!1}typeof g=="function"&&(Zv(e,t,g,n),L=e.memoizedState);var B=Ic()||Wb(e,t,i,n,T,L,d);if(B){if(!N&&(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 ae=qe;ae|=Mi,(e.mode&Ka)!==be&&(ae|=qr),e.flags|=ae}}else{if(typeof r.componentDidMount=="function"){var he=qe;he|=Mi,(e.mode&Ka)!==be&&(he|=qr),e.flags|=he}e.memoizedProps=n,e.memoizedState=L}return r.props=n,r.state=L,r.context=d,B}function Zx(e,t,n,a,r){var i=t.stateNode;fb(e,t);var o=t.memoizedProps,c=t.type===t.elementType?o:Ma(t.type,o);i.props=c;var d=t.pendingProps,y=i.context,g=n.contextType,N=na;if(typeof g=="object"&&g!==null)N=kt(g);else{var T=Hl(t,n,!0);N=Fl(t,T)}var L=n.getDerivedStateFromProps,M=typeof L=="function"||typeof i.getSnapshotBeforeUpdate=="function";!M&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(o!==d||y!==N)&&Jb(t,i,a,N),db();var B=t.memoizedState,ae=i.state=B;if($c(t,a,i,r),ae=t.memoizedState,o===d&&B===ae&&!wc()&&!Ic()&&!Xe)return typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||B!==e.memoizedState)&&(t.flags|=qe),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||B!==e.memoizedState)&&(t.flags|=Rl),!1;typeof L=="function"&&(Zv(t,n,L,a),ae=t.memoizedState);var he=Ic()||Wb(t,n,c,a,B,ae,N)||Xe;return he?(!M&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,ae,N),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,ae,N)),typeof i.componentDidUpdate=="function"&&(t.flags|=qe),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=Rl)):(typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||B!==e.memoizedState)&&(t.flags|=qe),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||B!==e.memoizedState)&&(t.flags|=Rl),t.memoizedProps=a,t.memoizedState=ae),i.props=a,i.state=ae,i.context=N,he}function Zi(e,t){return{value:e,source:t,stack:xi(t),digest:null}}function nm(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function e1(e,t){return!0}function am(e,t){try{var n=e1(e,t);if(n===!1)return;var a=t.value,r=t.source,i=t.stack,o=i!==null?i:"";if(a!=null&&a._suppressLogging){if(e.tag===S)return;console.error(a)}var c=r?_e(r):null,d=c?"The above error occurred in the <"+c+"> component:":"The above error occurred in one of your React components:",y;if(e.tag===D)y=`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 g=_e(e)||"Anonymous";y="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+g+".")}var N=d+`
- `+o+`
- `+(""+y);console.error(N)}catch(T){setTimeout(function(){throw T})}}var t1=typeof WeakMap=="function"?WeakMap:Map;function Xb(e,t,n){var a=Or(ct,n);a.tag=uv,a.payload={element:null};var r=t.value;return a.callback=function(){G_(r),am(e,t)},a}function rm(e,t,n){var a=Or(ct,n);a.tag=uv;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;a.payload=function(){return r(i)},a.callback=function(){sS(e),am(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(a.callback=function(){sS(e),am(e,t),typeof r!="function"&&Y_(this);var d=t.value,y=t.stack;this.componentDidCatch(d,{componentStack:y!==null?y:""}),typeof r!="function"&&(Xn(e.lanes,we)||s("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",_e(e)||"Unknown"))}),a}function Zb(e,t,n){var a=e.pingCache,r;if(a===null?(a=e.pingCache=new t1,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=W_.bind(null,e,t,n);_a&&os(e,n),t.then(i,i)}}function n1(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 a1(e,t){var n=e.tag;if((e.mode&Be)===be&&(n===b||n===P||n===de)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function eE(e){var t=e;do{if(t.tag===X&&jx(t))return t;t=t.return}while(t!==null);return null}function tE(e,t,n,a,r){if((e.mode&Be)===be){if(e===t)e.flags|=Ln;else{if(e.flags|=Ge,n.flags|=Rd,n.flags&=-52805,n.tag===S){var i=n.alternate;if(i===null)n.tag=je;else{var o=Or(ct,we);o.tag=Bc,ri(n,o,we)}}n.lanes=ke(n.lanes,we)}return e}return e.flags|=Ln,e.lanes=r,e}function r1(e,t,n,a,r){if(n.flags|=Ps,_a&&os(e,r),a!==null&&typeof a=="object"&&typeof a.then=="function"){var i=a;a1(n),un()&&n.mode&Be&&qg();var o=eE(t);if(o!==null){o.flags&=~Sr,tE(o,t,n,e,r),o.mode&Be&&Zb(e,i,r),n1(o,e,i);return}else{if(!NR(r)){Zb(e,i,r),jm();return}var c=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=c}}else if(un()&&n.mode&Be){qg();var d=eE(t);if(d!==null){(d.flags&Ln)===Se&&(d.flags|=Sr),tE(d,t,n,e,r),Kp(Zi(a,n));return}}a=Zi(a,n),j_(a);var y=t;do{switch(y.tag){case D:{var g=a;y.flags|=Ln;var N=Jo(r);y.lanes=ke(y.lanes,N);var T=Xb(y,g,N);fv(y,T);return}case S:var L=a,M=y.type,B=y.stateNode;if((y.flags&Ge)===Se&&(typeof M.getDerivedStateFromError=="function"||B!==null&&typeof B.componentDidCatch=="function"&&!eS(B))){y.flags|=Ln;var ae=Jo(r);y.lanes=ke(y.lanes,ae);var he=rm(y,L,ae);fv(y,he);return}break}y=y.return}while(y!==null)}function i1(){return null}var Yu=f.ReactCurrentOwner,za=!1,im,qu,lm,om,um,el,sm,mf,Gu;im={},qu={},lm={},om={},um={},el=!1,sm={},mf={},Gu={};function An(e,t,n,a){e===null?t.child=rb(t,null,n,a):t.child=Yl(t,e.child,n,a)}function l1(e,t,n,a){t.child=Yl(t,e.child,null,a),t.child=Yl(t,null,n,a)}function nE(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Ua(i,a,"prop",Ye(n))}var o=n.render,c=t.ref,d,y;Gl(t,r),Yo(t);{if(Yu.current=t,fa(!0),d=Zl(e,t,o,a,c,r),y=eo(),t.mode&wt){Jt(!0);try{d=Zl(e,t,o,a,c,r),y=eo()}finally{Jt(!1)}}fa(!1)}return Nl(),e!==null&&!za?(gb(e,t,r),Lr(e,t,r)):(un()&&y&&Ip(t),t.flags|=Cl,An(e,t,d,r),t.child)}function aE(e,t,n,a,r){if(e===null){var i=n.type;if(fD(i)&&n.compare===null&&n.defaultProps===void 0){var o=i;return o=uo(i),t.tag=de,t.type=o,dm(t,i),rE(e,t,o,a,r)}{var c=i.propTypes;if(c&&Ua(c,a,"prop",Ye(i)),n.defaultProps!==void 0){var d=Ye(i)||"Unknown";Gu[d]||(s("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",d),Gu[d]=!0)}}var y=Wm(n.type,null,a,t,t.mode,r);return y.ref=t.ref,y.return=t,t.child=y,y}{var g=n.type,N=g.propTypes;N&&Ua(N,a,"prop",Ye(g))}var T=e.child,L=gm(e,r);if(!L){var M=T.memoizedProps,B=n.compare;if(B=B!==null?B:du,B(M,a)&&e.ref===t.ref)return Lr(e,t,r)}t.flags|=Cl;var ae=il(T,a);return ae.ref=t.ref,ae.return=t,t.child=ae,ae}function rE(e,t,n,a,r){if(t.type!==t.elementType){var i=t.elementType;if(i.$$typeof===ge){var o=i,c=o._payload,d=o._init;try{i=d(c)}catch{i=null}var y=i&&i.propTypes;y&&Ua(y,a,"prop",Ye(i))}}if(e!==null){var g=e.memoizedProps;if(du(g,a)&&e.ref===t.ref&&t.type===e.type)if(za=!1,t.pendingProps=a=g,gm(e,r))(e.flags&Rd)!==Se&&(za=!0);else return t.lanes=e.lanes,Lr(e,t,r)}return cm(e,t,n,a,r)}function iE(e,t,n){var a=t.pendingProps,r=a.children,i=e!==null?e.memoizedState:null;if(a.mode==="hidden"||Nt)if((t.mode&Be)===be){var o={baseLanes:I,cachePool:null,transitions:null};t.memoizedState=o,_f(t,n)}else if(Xn(n,Jn)){var N={baseLanes:I,cachePool:null,transitions:null};t.memoizedState=N;var T=i!==null?i.baseLanes:n;_f(t,T)}else{var c=null,d;if(i!==null){var y=i.baseLanes;d=ke(y,n)}else d=n;t.lanes=t.childLanes=Jn;var g={baseLanes:d,cachePool:c,transitions:null};return t.memoizedState=g,t.updateQueue=null,_f(t,d),null}else{var L;i!==null?(L=ke(i.baseLanes,n),t.memoizedState=null):L=n,_f(t,L)}return An(e,t,r,n),t.child}function o1(e,t,n){var a=t.pendingProps;return An(e,t,a,n),t.child}function u1(e,t,n){var a=t.pendingProps.children;return An(e,t,a,n),t.child}function s1(e,t,n){{t.flags|=qe;{var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0}}var r=t.pendingProps,i=r.children;return An(e,t,i,n),t.child}function lE(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Li,t.flags|=wd)}function cm(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Ua(i,a,"prop",Ye(n))}var o;{var c=Hl(t,n,!0);o=Fl(t,c)}var d,y;Gl(t,r),Yo(t);{if(Yu.current=t,fa(!0),d=Zl(e,t,n,a,o,r),y=eo(),t.mode&wt){Jt(!0);try{d=Zl(e,t,n,a,o,r),y=eo()}finally{Jt(!1)}}fa(!1)}return Nl(),e!==null&&!za?(gb(e,t,r),Lr(e,t,r)):(un()&&y&&Ip(t),t.flags|=Cl,An(e,t,d,r),t.child)}function oE(e,t,n,a,r){{switch(ND(t)){case!1:{var i=t.stateNode,o=t.type,c=new o(t.memoizedProps,i.context),d=c.state;i.updater.enqueueSetState(i,d,null);break}case!0:{t.flags|=Ge,t.flags|=Ln;var y=new Error("Simulated error coming from DevTools"),g=Jo(r);t.lanes=ke(t.lanes,g);var N=rm(t,Zi(y,t),g);fv(t,N);break}}if(t.type!==t.elementType){var T=n.propTypes;T&&Ua(T,a,"prop",Ye(n))}}var L;Za(n)?(L=!0,Nc(t)):L=!1,Gl(t,r);var M=t.stateNode,B;M===null?(yf(e,t),Kb(t,n,a),tm(t,n,a,r),B=!0):e===null?B=Xx(t,n,a,r):B=Zx(e,t,n,a,r);var ae=fm(e,t,n,B,L,r);{var he=t.stateNode;B&&he.props!==a&&(el||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",_e(t)||"a component"),el=!0)}return ae}function fm(e,t,n,a,r,i){lE(e,t);var o=(t.flags&Ge)!==Se;if(!a&&!o)return r&&Pg(t,n,!1),Lr(e,t,i);var c=t.stateNode;Yu.current=t;var d;if(o&&typeof n.getDerivedStateFromError!="function")d=null,Yb();else{Yo(t);{if(fa(!0),d=c.render(),t.mode&wt){Jt(!0);try{c.render()}finally{Jt(!1)}}fa(!1)}Nl()}return t.flags|=Cl,e!==null&&o?l1(e,t,d,i):An(e,t,d,i),t.memoizedState=c.state,r&&Pg(t,n,!0),t.child}function uE(e){var t=e.stateNode;t.pendingContext?Hg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Hg(e,t.context,!1),dv(e,t.containerInfo)}function c1(e,t,n){if(uE(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;fb(e,t),$c(t,a,null,n);var o=t.memoizedState;t.stateNode;var c=o.element;if(r.isDehydrated){var d={element:c,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},y=t.updateQueue;if(y.baseState=d,t.memoizedState=d,t.flags&Sr){var g=Zi(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 sE(e,t,c,n,g)}else if(c!==i){var N=Zi(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return sE(e,t,c,n,N)}else{px(t);var T=rb(t,null,c,n);t.child=T;for(var L=T;L;)L.flags=L.flags&~Ut|Cr,L=L.sibling}}else{if(Il(),c===i)return Lr(e,t,n);An(e,t,c,n)}return t.child}function sE(e,t,n,a,r){return Il(),Kp(r),t.flags|=Sr,An(e,t,n,a),t.child}function f1(e,t,n){mb(t),e===null&&Qp(t);var a=t.type,r=t.pendingProps,i=e!==null?e.memoizedProps:null,o=r.children,c=Up(a,r);return c?o=null:i!==null&&Up(a,i)&&(t.flags|=$o),lE(e,t),An(e,t,o,n),t.child}function d1(e,t){return e===null&&Qp(t),null}function p1(e,t,n,a){yf(e,t);var r=t.pendingProps,i=n,o=i._payload,c=i._init,d=c(o);t.type=d;var y=t.tag=dD(d),g=Ma(d,r),N;switch(y){case b:return dm(t,d),t.type=d=uo(d),N=cm(null,t,d,g,a),N;case S:return t.type=d=Pm(d),N=oE(null,t,d,g,a),N;case P:return t.type=d=$m(d),N=nE(null,t,d,g,a),N;case ye:{if(t.type!==t.elementType){var T=d.propTypes;T&&Ua(T,g,"prop",Ye(d))}return N=aE(null,t,d,Ma(d.type,g),a),N}}var L="";throw d!==null&&typeof d=="object"&&d.$$typeof===ge&&(L=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+d+". "+("Lazy element type must resolve to a class or function."+L))}function v1(e,t,n,a,r){yf(e,t),t.tag=S;var i;return Za(n)?(i=!0,Nc(t)):i=!1,Gl(t,r),Kb(t,n,a),tm(t,n,a,r),fm(null,t,n,!0,i,r)}function m1(e,t,n,a){yf(e,t);var r=t.pendingProps,i;{var o=Hl(t,n,!1);i=Fl(t,o)}Gl(t,a);var c,d;Yo(t);{if(n.prototype&&typeof n.prototype.render=="function"){var y=Ye(n)||"Unknown";im[y]||(s("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.",y,y),im[y]=!0)}t.mode&wt&&Oa.recordLegacyContextWarning(t,null),fa(!0),Yu.current=t,c=Zl(null,t,n,r,i,a),d=eo(),fa(!1)}if(Nl(),t.flags|=Cl,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0){var g=Ye(n)||"Unknown";qu[g]||(s("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.",g,g,g),qu[g]=!0)}if(typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0){{var N=Ye(n)||"Unknown";qu[N]||(s("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.",N,N,N),qu[N]=!0)}t.tag=S,t.memoizedState=null,t.updateQueue=null;var T=!1;return Za(n)?(T=!0,Nc(t)):T=!1,t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,cv(t),Qb(t,c),tm(t,n,r,a),fm(null,t,n,!0,T,a)}else{if(t.tag=b,t.mode&wt){Jt(!0);try{c=Zl(null,t,n,r,i,a),d=eo()}finally{Jt(!1)}}return un()&&d&&Ip(t),An(null,t,c,a),dm(t,n),t.child}}function dm(e,t){{if(t&&t.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",a=$r();a&&(n+=`
- Check the render method of \``+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),um[r]||(um[r]=!0,s("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 o=Ye(t)||"Unknown";Gu[o]||(s("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),Gu[o]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var c=Ye(t)||"Unknown";om[c]||(s("%s: Function components do not support getDerivedStateFromProps.",c),om[c]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var d=Ye(t)||"Unknown";lm[d]||(s("%s: Function components do not support contextType.",d),lm[d]=!0)}}}var pm={dehydrated:null,treeContext:null,retryLane:Xt};function vm(e){return{baseLanes:e,cachePool:i1(),transitions:null}}function h1(e,t){var n=null;return{baseLanes:ke(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function y1(e,t,n,a){if(t!==null){var r=t.memoizedState;if(r===null)return!1}return mv(e,zu)}function g1(e,t){return Qs(e.childLanes,t)}function cE(e,t,n){var a=t.pendingProps;xD(t)&&(t.flags|=Ge);var r=La.current,i=!1,o=(t.flags&Ge)!==Se;if(o||y1(r,e)?(i=!0,t.flags&=~Ge):(e===null||e.memoizedState!==null)&&(r=zx(r,yb)),r=Ql(r),li(t,r),e===null){Qp(t);var c=t.memoizedState;if(c!==null){var d=c.dehydrated;if(d!==null)return R1(t,d)}var y=a.children,g=a.fallback;if(i){var N=b1(t,y,g,n),T=t.child;return T.memoizedState=vm(n),t.memoizedState=pm,N}else return mm(t,y)}else{var L=e.memoizedState;if(L!==null){var M=L.dehydrated;if(M!==null)return w1(e,t,o,a,M,L,n)}if(i){var B=a.fallback,ae=a.children,he=S1(e,t,ae,B,n),fe=t.child,Fe=e.child.memoizedState;return fe.memoizedState=Fe===null?vm(n):h1(Fe,n),fe.childLanes=g1(e,n),t.memoizedState=pm,he}else{var Me=a.children,U=E1(e,t,Me,n);return t.memoizedState=null,U}}}function mm(e,t,n){var a=e.mode,r={mode:"visible",children:t},i=hm(r,a);return i.return=e,e.child=i,i}function b1(e,t,n,a){var r=e.mode,i=e.child,o={mode:"hidden",children:t},c,d;return(r&Be)===be&&i!==null?(c=i,c.childLanes=I,c.pendingProps=o,e.mode&tt&&(c.actualDuration=0,c.actualStartTime=-1,c.selfBaseDuration=0,c.treeBaseDuration=0),d=vi(n,r,a,null)):(c=hm(o,r),d=vi(n,r,a,null)),c.return=e,d.return=e,c.sibling=d,e.child=c,d}function hm(e,t,n){return fS(e,t,I,null)}function fE(e,t){return il(e,t)}function E1(e,t,n,a){var r=e.child,i=r.sibling,o=fE(r,{mode:"visible",children:n});if((t.mode&Be)===be&&(o.lanes=a),o.return=t,o.sibling=null,i!==null){var c=t.deletions;c===null?(t.deletions=[i],t.flags|=Oi):c.push(i)}return t.child=o,o}function S1(e,t,n,a,r){var i=t.mode,o=e.child,c=o.sibling,d={mode:"hidden",children:n},y;if((i&Be)===be&&t.child!==o){var g=t.child;y=g,y.childLanes=I,y.pendingProps=d,t.mode&tt&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=o.selfBaseDuration,y.treeBaseDuration=o.treeBaseDuration),t.deletions=null}else y=fE(o,d),y.subtreeFlags=o.subtreeFlags&Rr;var N;return c!==null?N=il(c,a):(N=vi(a,i,r,null),N.flags|=Ut),N.return=t,y.return=t,y.sibling=N,t.child=y,N}function hf(e,t,n,a){a!==null&&Kp(a),Yl(t,e.child,null,n);var r=t.pendingProps,i=r.children,o=mm(t,i);return o.flags|=Ut,t.memoizedState=null,o}function C1(e,t,n,a,r){var i=t.mode,o={mode:"visible",children:n},c=hm(o,i),d=vi(a,i,r,null);return d.flags|=Ut,c.return=t,d.return=t,c.sibling=d,t.child=c,(t.mode&Be)!==be&&Yl(t,e.child,null,r),d}function R1(e,t,n){return(e.mode&Be)===be?(s("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=we):Ap(t)?e.lanes=Vi:e.lanes=Jn,null}function w1(e,t,n,a,r,i,o){if(n)if(t.flags&Sr){t.flags&=~Sr;var U=nm(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return hf(e,t,o,U)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ge,null;var H=a.children,k=a.fallback,G=C1(e,t,H,k,o),oe=t.child;return oe.memoizedState=vm(o),t.memoizedState=pm,G}else{if(fx(),(t.mode&Be)===be)return hf(e,t,o,null);if(Ap(r)){var c,d,y;{var g=_N(r);c=g.digest,d=g.message,y=g.stack}var N;d?N=new Error(d):N=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var T=nm(N,c,y);return hf(e,t,o,T)}var L=Xn(o,e.childLanes);if(za||L){var M=xf();if(M!==null){var B=AR(M,o);if(B!==Xt&&B!==i.retryLane){i.retryLane=B;var ae=ct;In(e,B),$t(M,e,B,ae)}}jm();var he=nm(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 hf(e,t,o,he)}else if(Ag(r)){t.flags|=Ge,t.child=e.child;var fe=Q_.bind(null,e);return DN(r,fe),null}else{vx(t,r,i.treeContext);var Fe=a.children,Me=mm(t,Fe);return Me.flags|=Cr,Me}}}function dE(e,t,n){e.lanes=ke(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=ke(a.lanes,t)),lv(e.return,t,n)}function T1(e,t,n){for(var a=t;a!==null;){if(a.tag===X){var r=a.memoizedState;r!==null&&dE(a,n,e)}else if(a.tag===rt)dE(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 N1(e){for(var t=e,n=null;t!==null;){var a=t.alternate;a!==null&&Gc(a)===null&&(n=t),t=t.sibling}return n}function x1(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!sm[e])if(sm[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{s('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{s('"%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:s('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else s('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function _1(e,t){e!==void 0&&!mf[e]&&(e!=="collapsed"&&e!=="hidden"?(mf[e]=!0,s('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(mf[e]=!0,s('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function pE(e,t){{var n=Ae(e),a=!n&&typeof Na(e)=="function";if(n||a){var r=n?"array":"iterable";return s("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 D1(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Ae(e)){for(var n=0;n<e.length;n++)if(!pE(e[n],n))return}else{var a=Na(e);if(typeof a=="function"){var r=a.call(e);if(r)for(var i=r.next(),o=0;!i.done;i=r.next()){if(!pE(i.value,o))return;o++}}else s('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 ym(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 vE(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail,o=a.children;x1(r),_1(i,r),D1(o,r),An(e,t,o,n);var c=La.current,d=mv(c,zu);if(d)c=hv(c,zu),t.flags|=Ge;else{var y=e!==null&&(e.flags&Ge)!==Se;y&&T1(t,t.child,n),c=Ql(c)}if(li(t,c),(t.mode&Be)===be)t.memoizedState=null;else switch(r){case"forwards":{var g=N1(t.child),N;g===null?(N=t.child,t.child=null):(N=g.sibling,g.sibling=null),ym(t,!1,N,g,i);break}case"backwards":{var T=null,L=t.child;for(t.child=null;L!==null;){var M=L.alternate;if(M!==null&&Gc(M)===null){t.child=L;break}var B=L.sibling;L.sibling=T,T=L,L=B}ym(t,!0,T,null,i);break}case"together":{ym(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function U1(e,t,n){dv(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=Yl(t,null,a,n):An(e,t,a,n),t.child}var mE=!1;function k1(e,t,n){var a=t.type,r=a._context,i=t.pendingProps,o=t.memoizedProps,c=i.value;{"value"in i||mE||(mE=!0,s("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var d=t.type.propTypes;d&&Ua(d,i,"prop","Context.Provider")}if(ob(t,r,c),o!==null){var y=o.value;if(ta(y,c)){if(o.children===i.children&&!wc())return Lr(e,t,n)}else xx(t,r,n)}var g=i.children;return An(e,t,g,n),t.child}var hE=!1;function O1(e,t,n){var a=t.type;a._context===void 0?a!==a.Consumer&&(hE||(hE=!0,s("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"&&s("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."),Gl(t,n);var o=kt(a);Yo(t);var c;return Yu.current=t,fa(!0),c=i(o),fa(!1),Nl(),t.flags|=Cl,An(e,t,c,n),t.child}function Wu(){za=!0}function yf(e,t){(t.mode&Be)===be&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ut)}function Lr(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Yb(),ls(t.lanes),Xn(n,t.childLanes)?(Tx(e,t),t.child):null}function L1(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|=Oi):i.push(e),n.flags|=Ut,n}}function gm(e,t){var n=e.lanes;return!!Xn(n,t)}function A1(e,t,n){switch(t.tag){case D:uE(t),t.stateNode,Il();break;case O:mb(t);break;case S:{var a=t.type;Za(a)&&Nc(t);break}case w:dv(t,t.stateNode.containerInfo);break;case z:{var r=t.memoizedProps.value,i=t.type._context;ob(t,i,r);break}case Q:{var o=Xn(n,t.childLanes);o&&(t.flags|=qe);{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}break;case X:{var d=t.memoizedState;if(d!==null){if(d.dehydrated!==null)return li(t,Ql(La.current)),t.flags|=Ge,null;var y=t.child,g=y.childLanes;if(Xn(n,g))return cE(e,t,n);li(t,Ql(La.current));var N=Lr(e,t,n);return N!==null?N.sibling:null}else li(t,Ql(La.current));break}case rt:{var T=(e.flags&Ge)!==Se,L=Xn(n,t.childLanes);if(T){if(L)return vE(e,t,n);t.flags|=Ge}var M=t.memoizedState;if(M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),li(t,La.current),L)break;return null}case pe:case yt:return t.lanes=I,iE(e,t,n)}return Lr(e,t,n)}function yE(e,t,n){if(t._debugNeedsRemount&&e!==null)return L1(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||wc()||t.type!==e.type)za=!0;else{var i=gm(e,n);if(!i&&(t.flags&Ge)===Se)return za=!1,A1(e,t,n);(e.flags&Rd)!==Se?za=!0:za=!1}}else if(za=!1,un()&&ix(t)){var o=t.index,c=lx();Yg(t,c,o)}switch(t.lanes=I,t.tag){case _:return m1(e,t,t.type,n);case We:{var d=t.elementType;return p1(e,t,d,n)}case b:{var y=t.type,g=t.pendingProps,N=t.elementType===y?g:Ma(y,g);return cm(e,t,y,N,n)}case S:{var T=t.type,L=t.pendingProps,M=t.elementType===T?L:Ma(T,L);return oE(e,t,T,M,n)}case D:return c1(e,t,n);case O:return f1(e,t,n);case F:return d1(e,t);case X:return cE(e,t,n);case w:return U1(e,t,n);case P:{var B=t.type,ae=t.pendingProps,he=t.elementType===B?ae:Ma(B,ae);return nE(e,t,B,he,n)}case W:return o1(e,t,n);case K:return u1(e,t,n);case Q:return s1(e,t,n);case z:return k1(e,t,n);case Y:return O1(e,t,n);case ye:{var fe=t.type,Fe=t.pendingProps,Me=Ma(fe,Fe);if(t.type!==t.elementType){var U=fe.propTypes;U&&Ua(U,Me,"prop",Ye(fe))}return Me=Ma(fe.type,Me),aE(e,t,fe,Me,n)}case de:return rE(e,t,t.type,t.pendingProps,n);case je:{var H=t.type,k=t.pendingProps,G=t.elementType===H?k:Ma(H,k);return v1(e,t,H,G,n)}case rt:return vE(e,t,n);case Je:break;case pe:return iE(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 to(e){e.flags|=qe}function gE(e){e.flags|=Li,e.flags|=wd}var bE,bm,EE,SE;bE=function(e,t,n,a){for(var r=t.child;r!==null;){if(r.tag===O||r.tag===F)nN(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}},bm=function(e,t){},EE=function(e,t,n,a,r){var i=e.memoizedProps;if(i!==a){var o=t.stateNode,c=pv(),d=rN(o,n,i,a,r,c);t.updateQueue=d,d&&to(t)}},SE=function(e,t,n,a){n!==a&&to(t)};function Qu(e,t){if(!un())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 cn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=I,a=Se;if(t){if((e.mode&tt)!==be){for(var d=e.selfBaseDuration,y=e.child;y!==null;)n=ke(n,ke(y.lanes,y.childLanes)),a|=y.subtreeFlags&Rr,a|=y.flags&Rr,d+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=d}else for(var g=e.child;g!==null;)n=ke(n,ke(g.lanes,g.childLanes)),a|=g.subtreeFlags&Rr,a|=g.flags&Rr,g.return=e,g=g.sibling;e.subtreeFlags|=a}else{if((e.mode&tt)!==be){for(var r=e.actualDuration,i=e.selfBaseDuration,o=e.child;o!==null;)n=ke(n,ke(o.lanes,o.childLanes)),a|=o.subtreeFlags,a|=o.flags,r+=o.actualDuration,i+=o.treeBaseDuration,o=o.sibling;e.actualDuration=r,e.treeBaseDuration=i}else for(var c=e.child;c!==null;)n=ke(n,ke(c.lanes,c.childLanes)),a|=c.subtreeFlags,a|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=a}return e.childLanes=n,t}function M1(e,t,n){if(bx()&&(t.mode&Be)!==be&&(t.flags&Ge)===Se)return Xg(t),Il(),t.flags|=Sr|Ps|Ln,!1;var a=kc(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(yx(t),cn(t),(t.mode&tt)!==be){var r=n!==null;if(r){var i=t.child;i!==null&&(t.treeBaseDuration-=i.treeBaseDuration)}}return!1}else{if(Il(),(t.flags&Ge)===Se&&(t.memoizedState=null),t.flags|=qe,cn(t),(t.mode&tt)!==be){var o=n!==null;if(o){var c=t.child;c!==null&&(t.treeBaseDuration-=c.treeBaseDuration)}}return!1}else return Zg(),!0}function CE(e,t,n){var a=t.pendingProps;switch(Yp(t),t.tag){case _:case We:case de:case b:case P:case W:case K:case Q:case Y:case ye:return cn(t),null;case S:{var r=t.type;return Za(r)&&Tc(t),cn(t),null}case D:{var i=t.stateNode;if(Wl(t),Fp(t),gv(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),e===null||e.child===null){var o=kc(t);if(o)to(t);else if(e!==null){var c=e.memoizedState;(!c.isDehydrated||(t.flags&Sr)!==Se)&&(t.flags|=Rl,Zg())}}return bm(e,t),cn(t),null}case O:{vv(t);var d=vb(),y=t.type;if(e!==null&&t.stateNode!=null)EE(e,t,y,a,d),e.ref!==t.ref&&gE(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 cn(t),null}var g=pv(),N=kc(t);if(N)mx(t,d,g)&&to(t);else{var T=tN(y,a,d,g,t);bE(T,t,!1,!1),t.stateNode=T,aN(T,y,a,d)&&to(t)}t.ref!==null&&gE(t)}return cn(t),null}case F:{var L=a;if(e&&t.stateNode!=null){var M=e.memoizedProps;SE(e,t,M,L)}else{if(typeof L!="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 B=vb(),ae=pv(),he=kc(t);he?hx(t)&&to(t):t.stateNode=iN(L,B,ae,t)}return cn(t),null}case X:{Kl(t);var fe=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Fe=M1(e,t,fe);if(!Fe)return t.flags&Ln?t:null}if((t.flags&Ge)!==Se)return t.lanes=n,(t.mode&tt)!==be&&$v(t),t;var Me=fe!==null,U=e!==null&&e.memoizedState!==null;if(Me!==U&&Me){var H=t.child;if(H.flags|=Ai,(t.mode&Be)!==be){var k=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);k||mv(La.current,yb)?z_():jm()}}var G=t.updateQueue;if(G!==null&&(t.flags|=qe),cn(t),(t.mode&tt)!==be&&Me){var oe=t.child;oe!==null&&(t.treeBaseDuration-=oe.treeBaseDuration)}return null}case w:return Wl(t),bm(e,t),e===null&&XN(t.stateNode.containerInfo),cn(t),null;case z:var re=t.type._context;return iv(re,t),cn(t),null;case je:{var Ce=t.type;return Za(Ce)&&Tc(t),cn(t),null}case rt:{Kl(t);var xe=t.memoizedState;if(xe===null)return cn(t),null;var at=(t.flags&Ge)!==Se,$e=xe.rendering;if($e===null)if(at)Qu(xe,!1);else{var xt=V_()&&(e===null||(e.flags&Ge)===Se);if(!xt)for(var Ie=t.child;Ie!==null;){var Tt=Gc(Ie);if(Tt!==null){at=!0,t.flags|=Ge,Qu(xe,!1);var wn=Tt.updateQueue;return wn!==null&&(t.updateQueue=wn,t.flags|=qe),t.subtreeFlags=Se,Nx(t,n),li(t,hv(La.current,zu)),t.child}Ie=Ie.sibling}xe.tail!==null&&Kt()>$E()&&(t.flags|=Ge,at=!0,Qu(xe,!1),t.lanes=Sy)}else{if(!at){var mn=Gc($e);if(mn!==null){t.flags|=Ge,at=!0;var ra=mn.updateQueue;if(ra!==null&&(t.updateQueue=ra,t.flags|=qe),Qu(xe,!0),xe.tail===null&&xe.tailMode==="hidden"&&!$e.alternate&&!un())return cn(t),null}else Kt()*2-xe.renderingStartTime>$E()&&n!==Jn&&(t.flags|=Ge,at=!0,Qu(xe,!1),t.lanes=Sy)}if(xe.isBackwards)$e.sibling=t.child,t.child=$e;else{var jn=xe.last;jn!==null?jn.sibling=$e:t.child=$e,xe.last=$e}}if(xe.tail!==null){var Vn=xe.tail;xe.rendering=Vn,xe.tail=Vn.sibling,xe.renderingStartTime=Kt(),Vn.sibling=null;var Tn=La.current;return at?Tn=hv(Tn,zu):Tn=Ql(Tn),li(t,Tn),Vn}return cn(t),null}case Je:break;case pe:case yt:{zm(t);var Vr=t.memoizedState,so=Vr!==null;if(e!==null){var fs=e.memoizedState,or=fs!==null;or!==so&&!Nt&&(t.flags|=Ai)}return!so||(t.mode&Be)===be?cn(t):Xn(lr,Jn)&&(cn(t),t.subtreeFlags&(Ut|qe)&&(t.flags|=Ai)),null}case it:return null;case Z: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 z1(e,t,n){switch(Yp(t),t.tag){case S:{var a=t.type;Za(a)&&Tc(t);var r=t.flags;return r&Ln?(t.flags=r&~Ln|Ge,(t.mode&tt)!==be&&$v(t),t):null}case D:{t.stateNode,Wl(t),Fp(t),gv();var i=t.flags;return(i&Ln)!==Se&&(i&Ge)===Se?(t.flags=i&~Ln|Ge,t):null}case O:return vv(t),null;case X:{Kl(t);var o=t.memoizedState;if(o!==null&&o.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.");Il()}var c=t.flags;return c&Ln?(t.flags=c&~Ln|Ge,(t.mode&tt)!==be&&$v(t),t):null}case rt:return Kl(t),null;case w:return Wl(t),null;case z:var d=t.type._context;return iv(d,t),null;case pe:case yt:return zm(t),null;case it:return null;default:return null}}function RE(e,t,n){switch(Yp(t),t.tag){case S:{var a=t.type.childContextTypes;a!=null&&Tc(t);break}case D:{t.stateNode,Wl(t),Fp(t),gv();break}case O:{vv(t);break}case w:Wl(t);break;case X:Kl(t);break;case rt:Kl(t);break;case z:var r=t.type._context;iv(r,t);break;case pe:case yt:zm(t);break}}var wE=null;wE=new Set;var gf=!1,fn=!1,j1=typeof WeakSet=="function"?WeakSet:Set,se=null,no=null,ao=null;function V1(e){Ed(null,function(){throw e}),Sd()}var B1=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&tt)try{rr(),t.componentWillUnmount()}finally{ar(e)}else t.componentWillUnmount()};function TE(e,t){try{si(jt,e)}catch(n){ot(e,t,n)}}function Em(e,t,n){try{B1(e,n)}catch(a){ot(e,t,a)}}function H1(e,t,n){try{n.componentDidMount()}catch(a){ot(e,t,a)}}function NE(e,t){try{_E(e)}catch(n){ot(e,t,n)}}function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var a;try{if(Nn&&fr&&e.mode&tt)try{rr(),a=n(null)}finally{ar(e)}else a=n(null)}catch(r){ot(e,t,r)}typeof a=="function"&&s("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",_e(e))}else n.current=null}function bf(e,t,n){try{n()}catch(a){ot(e,t,a)}}var xE=!1;function F1(e,t){ZT(e.containerInfo),se=t,P1();var n=xE;return xE=!1,n}function P1(){for(;se!==null;){var e=se,t=e.child;(e.subtreeFlags&xd)!==Se&&t!==null?(t.return=e,se=t):$1()}}function $1(){for(;se!==null;){var e=se;mt(e);try{I1(e)}catch(n){ot(e,e.return,n)}Qt();var t=e.sibling;if(t!==null){t.return=e.return,se=t;return}se=e.return}}function I1(e){var t=e.alternate,n=e.flags;if((n&Rl)!==Se){switch(mt(e),e.tag){case b:case P:case de:break;case S:{if(t!==null){var a=t.memoizedProps,r=t.memoizedState,i=e.stateNode;e.type===e.elementType&&!el&&(i.props!==e.memoizedProps&&s("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.",_e(e)||"instance"),i.state!==e.memoizedState&&s("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.",_e(e)||"instance"));var o=i.getSnapshotBeforeUpdate(e.elementType===e.type?a:Ma(e.type,a),r);{var c=wE;o===void 0&&!c.has(e.type)&&(c.add(e.type),s("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",_e(e)))}i.__reactInternalSnapshotBeforeUpdate=o}break}case D:{{var d=e.stateNode;wN(d.containerInfo)}break}case O:case F:case w:case je: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.")}Qt()}}function ja(e,t,n){var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var i=r.next,o=i;do{if((o.tag&e)===e){var c=o.destroy;o.destroy=void 0,c!==void 0&&((e&sn)!==Yn?iR(t):(e&jt)!==Yn&&hy(t),(e&er)!==Yn&&us(!0),bf(t,n,c),(e&er)!==Yn&&us(!1),(e&sn)!==Yn?lR():(e&jt)!==Yn&&yy())}o=o.next}while(o!==i)}}function si(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&sn)!==Yn?aR(t):(e&jt)!==Yn&&oR(t);var o=i.create;(e&er)!==Yn&&us(!0),i.destroy=o(),(e&er)!==Yn&&us(!1),(e&sn)!==Yn?rR():(e&jt)!==Yn&&uR();{var c=i.destroy;if(c!==void 0&&typeof c!="function"){var d=void 0;(i.tag&jt)!==Se?d="useLayoutEffect":(i.tag&er)!==Se?d="useInsertionEffect":d="useEffect";var y=void 0;c===null?y=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof c.then=="function"?y=`
- It looks like you wrote `+d+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
- `+d+`(() => {
- 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`:y=" You returned: "+c,s("%s must not return anything besides a function, which is used for clean-up.%s",d,y)}}}i=i.next}while(i!==r)}}function Y1(e,t){if((t.flags&qe)!==Se)switch(t.tag){case Q:{var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,i=a.onPostCommit,o=$b(),c=t.alternate===null?"mount":"update";Pb()&&(c="nested-update"),typeof i=="function"&&i(r,c,n,o);var d=t.return;e:for(;d!==null;){switch(d.tag){case D:var y=d.stateNode;y.passiveEffectDuration+=n;break e;case Q:var g=d.stateNode;g.passiveEffectDuration+=n;break e}d=d.return}break}}}function q1(e,t,n,a){if((n.flags&Io)!==Se)switch(n.tag){case b:case P:case de:{if(!fn)if(n.mode&tt)try{rr(),si(jt|zt,n)}finally{ar(n)}else si(jt|zt,n);break}case S:{var r=n.stateNode;if(n.flags&qe&&!fn)if(t===null)if(n.type===n.elementType&&!el&&(r.props!==n.memoizedProps&&s("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.",_e(n)||"instance"),r.state!==n.memoizedState&&s("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.",_e(n)||"instance")),n.mode&tt)try{rr(),r.componentDidMount()}finally{ar(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Ma(n.type,t.memoizedProps),o=t.memoizedState;if(n.type===n.elementType&&!el&&(r.props!==n.memoizedProps&&s("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.",_e(n)||"instance"),r.state!==n.memoizedState&&s("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.",_e(n)||"instance")),n.mode&tt)try{rr(),r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}finally{ar(n)}else r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}var c=n.updateQueue;c!==null&&(n.type===n.elementType&&!el&&(r.props!==n.memoizedProps&&s("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.",_e(n)||"instance"),r.state!==n.memoizedState&&s("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.",_e(n)||"instance")),pb(n,c,r));break}case D:{var d=n.updateQueue;if(d!==null){var y=null;if(n.child!==null)switch(n.child.tag){case O:y=n.child.stateNode;break;case S:y=n.child.stateNode;break}pb(n,d,y)}break}case O:{var g=n.stateNode;if(t===null&&n.flags&qe){var N=n.type,T=n.memoizedProps;cN(g,N,T)}break}case F:break;case w:break;case Q:{{var L=n.memoizedProps,M=L.onCommit,B=L.onRender,ae=n.stateNode.effectDuration,he=$b(),fe=t===null?"mount":"update";Pb()&&(fe="nested-update"),typeof B=="function"&&B(n.memoizedProps.id,fe,n.actualDuration,n.treeBaseDuration,n.actualStartTime,he);{typeof M=="function"&&M(n.memoizedProps.id,fe,ae,he),$_(n);var Fe=n.return;e:for(;Fe!==null;){switch(Fe.tag){case D:var Me=Fe.stateNode;Me.effectDuration+=ae;break e;case Q:var U=Fe.stateNode;U.effectDuration+=ae;break e}Fe=Fe.return}}}break}case X:{e_(e,n);break}case rt:case je:case Je:case pe:case yt:case Z: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.")}fn||n.flags&Li&&_E(n)}function G1(e){switch(e.tag){case b:case P:case de:{if(e.mode&tt)try{rr(),TE(e,e.return)}finally{ar(e)}else TE(e,e.return);break}case S:{var t=e.stateNode;typeof t.componentDidMount=="function"&&H1(e,e.return,t),NE(e,e.return);break}case O:{NE(e,e.return);break}}}function W1(e,t){for(var n=null,a=e;;){if(a.tag===O){if(n===null){n=a;try{var r=a.stateNode;t?EN(r):CN(a.stateNode,a.memoizedProps)}catch(o){ot(e,e.return,o)}}}else if(a.tag===F){if(n===null)try{var i=a.stateNode;t?SN(i):RN(i,a.memoizedProps)}catch(o){ot(e,e.return,o)}}else if(!((a.tag===pe||a.tag===yt)&&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 _E(e){var t=e.ref;if(t!==null){var n=e.stateNode,a;switch(e.tag){case O:a=n;break;default:a=n}if(typeof t=="function"){var r;if(e.mode&tt)try{rr(),r=t(a)}finally{ar(e)}else r=t(a);typeof r=="function"&&s("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",_e(e))}else t.hasOwnProperty("current")||s("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",_e(e)),t.current=a}}function Q1(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function DE(e){var t=e.alternate;t!==null&&(e.alternate=null,DE(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===O){var n=e.stateNode;n!==null&&tx(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 K1(e){for(var t=e.return;t!==null;){if(UE(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 UE(e){return e.tag===O||e.tag===D||e.tag===w}function kE(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||UE(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==O&&t.tag!==F&&t.tag!==Pe;){if(t.flags&Ut||t.child===null||t.tag===w)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ut))return t.stateNode}}function J1(e){var t=K1(e);switch(t.tag){case O:{var n=t.stateNode;t.flags&$o&&(Lg(n),t.flags&=~$o);var a=kE(e);Cm(e,a,n);break}case D:case w:{var r=t.stateNode.containerInfo,i=kE(e);Sm(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 Sm(e,t,n){var a=e.tag,r=a===O||a===F;if(r){var i=e.stateNode;t?hN(n,i,t):vN(n,i)}else if(a!==w){var o=e.child;if(o!==null){Sm(o,t,n);for(var c=o.sibling;c!==null;)Sm(c,t,n),c=c.sibling}}}function Cm(e,t,n){var a=e.tag,r=a===O||a===F;if(r){var i=e.stateNode;t?mN(n,i,t):pN(n,i)}else if(a!==w){var o=e.child;if(o!==null){Cm(o,t,n);for(var c=o.sibling;c!==null;)Cm(c,t,n),c=c.sibling}}}var dn=null,Va=!1;function X1(e,t,n){{var a=t;e:for(;a!==null;){switch(a.tag){case O:{dn=a.stateNode,Va=!1;break e}case D:{dn=a.stateNode.containerInfo,Va=!0;break e}case w:{dn=a.stateNode.containerInfo,Va=!0;break e}}a=a.return}if(dn===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");OE(e,t,n),dn=null,Va=!1}Q1(n)}function ci(e,t,n){for(var a=n.child;a!==null;)OE(e,t,a),a=a.sibling}function OE(e,t,n){switch(Z0(n),n.tag){case O:fn||ro(n,t);case F:{{var a=dn,r=Va;dn=null,ci(e,t,n),dn=a,Va=r,dn!==null&&(Va?gN(dn,n.stateNode):yN(dn,n.stateNode))}return}case Pe:{dn!==null&&(Va?bN(dn,n.stateNode):Lp(dn,n.stateNode));return}case w:{{var i=dn,o=Va;dn=n.stateNode.containerInfo,Va=!0,ci(e,t,n),dn=i,Va=o}return}case b:case P:case ye:case de:{if(!fn){var c=n.updateQueue;if(c!==null){var d=c.lastEffect;if(d!==null){var y=d.next,g=y;do{var N=g,T=N.destroy,L=N.tag;T!==void 0&&((L&er)!==Yn?bf(n,t,T):(L&jt)!==Yn&&(hy(n),n.mode&tt?(rr(),bf(n,t,T),ar(n)):bf(n,t,T),yy())),g=g.next}while(g!==y)}}}ci(e,t,n);return}case S:{if(!fn){ro(n,t);var M=n.stateNode;typeof M.componentWillUnmount=="function"&&Em(n,t,M)}ci(e,t,n);return}case Je:{ci(e,t,n);return}case pe:{if(n.mode&Be){var B=fn;fn=B||n.memoizedState!==null,ci(e,t,n),fn=B}else ci(e,t,n);break}default:{ci(e,t,n);return}}}function Z1(e){e.memoizedState}function e_(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&&VN(i)}}}}function LE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new j1),t.forEach(function(a){var r=K_.bind(null,e,a);if(!n.has(a)){if(n.add(a),_a)if(no!==null&&ao!==null)os(ao,no);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(r,r)}})}}function t_(e,t,n){no=n,ao=e,mt(t),AE(t,e),mt(t),no=null,ao=null}function Ba(e,t,n){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r];try{X1(e,t,i)}catch(d){ot(i,t,d)}}var o=ks();if(t.subtreeFlags&_d)for(var c=t.child;c!==null;)mt(c),AE(c,e),c=c.sibling;mt(o)}function AE(e,t,n){var a=e.alternate,r=e.flags;switch(e.tag){case b:case P:case ye:case de:{if(Ba(t,e),ir(e),r&qe){try{ja(er|zt,e,e.return),si(er|zt,e)}catch(Ce){ot(e,e.return,Ce)}if(e.mode&tt){try{rr(),ja(jt|zt,e,e.return)}catch(Ce){ot(e,e.return,Ce)}ar(e)}else try{ja(jt|zt,e,e.return)}catch(Ce){ot(e,e.return,Ce)}}return}case S:{Ba(t,e),ir(e),r&Li&&a!==null&&ro(a,a.return);return}case O:{Ba(t,e),ir(e),r&Li&&a!==null&&ro(a,a.return);{if(e.flags&$o){var i=e.stateNode;try{Lg(i)}catch(Ce){ot(e,e.return,Ce)}}if(r&qe){var o=e.stateNode;if(o!=null){var c=e.memoizedProps,d=a!==null?a.memoizedProps:c,y=e.type,g=e.updateQueue;if(e.updateQueue=null,g!==null)try{fN(o,g,y,d,c,e)}catch(Ce){ot(e,e.return,Ce)}}}}return}case F:{if(Ba(t,e),ir(e),r&qe){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 N=e.stateNode,T=e.memoizedProps,L=a!==null?a.memoizedProps:T;try{dN(N,L,T)}catch(Ce){ot(e,e.return,Ce)}}return}case D:{if(Ba(t,e),ir(e),r&qe&&a!==null){var M=a.memoizedState;if(M.isDehydrated)try{jN(t.containerInfo)}catch(Ce){ot(e,e.return,Ce)}}return}case w:{Ba(t,e),ir(e);return}case X:{Ba(t,e),ir(e);var B=e.child;if(B.flags&Ai){var ae=B.stateNode,he=B.memoizedState,fe=he!==null;if(ae.isHidden=fe,fe){var Fe=B.alternate!==null&&B.alternate.memoizedState!==null;Fe||M_()}}if(r&qe){try{Z1(e)}catch(Ce){ot(e,e.return,Ce)}LE(e)}return}case pe:{var Me=a!==null&&a.memoizedState!==null;if(e.mode&Be){var U=fn;fn=U||Me,Ba(t,e),fn=U}else Ba(t,e);if(ir(e),r&Ai){var H=e.stateNode,k=e.memoizedState,G=k!==null,oe=e;if(H.isHidden=G,G&&!Me&&(oe.mode&Be)!==be){se=oe;for(var re=oe.child;re!==null;)se=re,a_(re),re=re.sibling}W1(oe,G)}return}case rt:{Ba(t,e),ir(e),r&qe&&LE(e);return}case Je:return;default:{Ba(t,e),ir(e);return}}}function ir(e){var t=e.flags;if(t&Ut){try{J1(e)}catch(n){ot(e,e.return,n)}e.flags&=~Ut}t&Cr&&(e.flags&=~Cr)}function n_(e,t,n){no=n,ao=t,se=e,ME(e,t,n),no=null,ao=null}function ME(e,t,n){for(var a=(e.mode&Be)!==be;se!==null;){var r=se,i=r.child;if(r.tag===pe&&a){var o=r.memoizedState!==null,c=o||gf;if(c){Rm(e,t,n);continue}else{var d=r.alternate,y=d!==null&&d.memoizedState!==null,g=y||fn,N=gf,T=fn;gf=c,fn=g,fn&&!T&&(se=r,r_(r));for(var L=i;L!==null;)se=L,ME(L,t,n),L=L.sibling;se=r,gf=N,fn=T,Rm(e,t,n);continue}}(r.subtreeFlags&Io)!==Se&&i!==null?(i.return=r,se=i):Rm(e,t,n)}}function Rm(e,t,n){for(;se!==null;){var a=se;if((a.flags&Io)!==Se){var r=a.alternate;mt(a);try{q1(t,r,a,n)}catch(o){ot(a,a.return,o)}Qt()}if(a===e){se=null;return}var i=a.sibling;if(i!==null){i.return=a.return,se=i;return}se=a.return}}function a_(e){for(;se!==null;){var t=se,n=t.child;switch(t.tag){case b:case P:case ye:case de:{if(t.mode&tt)try{rr(),ja(jt,t,t.return)}finally{ar(t)}else ja(jt,t,t.return);break}case S:{ro(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Em(t,t.return,a);break}case O:{ro(t,t.return);break}case pe:{var r=t.memoizedState!==null;if(r){zE(e);continue}break}}n!==null?(n.return=t,se=n):zE(e)}}function zE(e){for(;se!==null;){var t=se;if(t===e){se=null;return}var n=t.sibling;if(n!==null){n.return=t.return,se=n;return}se=t.return}}function r_(e){for(;se!==null;){var t=se,n=t.child;if(t.tag===pe){var a=t.memoizedState!==null;if(a){jE(e);continue}}n!==null?(n.return=t,se=n):jE(e)}}function jE(e){for(;se!==null;){var t=se;mt(t);try{G1(t)}catch(a){ot(t,t.return,a)}if(Qt(),t===e){se=null;return}var n=t.sibling;if(n!==null){n.return=t.return,se=n;return}se=t.return}}function i_(e,t,n,a){se=t,l_(t,e,n,a)}function l_(e,t,n,a){for(;se!==null;){var r=se,i=r.child;(r.subtreeFlags&wl)!==Se&&i!==null?(i.return=r,se=i):o_(e,t,n,a)}}function o_(e,t,n,a){for(;se!==null;){var r=se;if((r.flags&Yr)!==Se){mt(r);try{u_(t,r,n,a)}catch(o){ot(r,r.return,o)}Qt()}if(r===e){se=null;return}var i=r.sibling;if(i!==null){i.return=r.return,se=i;return}se=r.return}}function u_(e,t,n,a){switch(t.tag){case b:case P:case de:{if(t.mode&tt){Pv();try{si(sn|zt,t)}finally{Fv(t)}}else si(sn|zt,t);break}}}function s_(e){se=e,c_()}function c_(){for(;se!==null;){var e=se,t=e.child;if((se.flags&Oi)!==Se){var n=e.deletions;if(n!==null){for(var a=0;a<n.length;a++){var r=n[a];se=r,p_(r,e)}{var i=e.alternate;if(i!==null){var o=i.child;if(o!==null){i.child=null;do{var c=o.sibling;o.sibling=null,o=c}while(o!==null)}}}se=e}}(e.subtreeFlags&wl)!==Se&&t!==null?(t.return=e,se=t):f_()}}function f_(){for(;se!==null;){var e=se;(e.flags&Yr)!==Se&&(mt(e),d_(e),Qt());var t=e.sibling;if(t!==null){t.return=e.return,se=t;return}se=e.return}}function d_(e){switch(e.tag){case b:case P:case de:{e.mode&tt?(Pv(),ja(sn|zt,e,e.return),Fv(e)):ja(sn|zt,e,e.return);break}}}function p_(e,t){for(;se!==null;){var n=se;mt(n),m_(n,t),Qt();var a=n.child;a!==null?(a.return=n,se=a):v_(e)}}function v_(e){for(;se!==null;){var t=se,n=t.sibling,a=t.return;if(DE(t),t===e){se=null;return}if(n!==null){n.return=a,se=n;return}se=a}}function m_(e,t){switch(e.tag){case b:case P:case de:{e.mode&tt?(Pv(),ja(sn,e,t),Fv(e)):ja(sn,e,t);break}}}function h_(e){switch(e.tag){case b:case P:case de:{try{si(jt|zt,e)}catch(n){ot(e,e.return,n)}break}case S:{var t=e.stateNode;try{t.componentDidMount()}catch(n){ot(e,e.return,n)}break}}}function y_(e){switch(e.tag){case b:case P:case de:{try{si(sn|zt,e)}catch(t){ot(e,e.return,t)}break}}}function g_(e){switch(e.tag){case b:case P:case de:{try{ja(jt|zt,e,e.return)}catch(n){ot(e,e.return,n)}break}case S:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Em(e,e.return,t);break}}}function b_(e){switch(e.tag){case b:case P:case de:try{ja(sn|zt,e,e.return)}catch(t){ot(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Ku=Symbol.for;Ku("selector.component"),Ku("selector.has_pseudo_class"),Ku("selector.role"),Ku("selector.test_id"),Ku("selector.text")}var E_=[];function S_(){E_.forEach(function(e){return e()})}var C_=f.ReactCurrentActQueue;function R_(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest<"u";return n&&t!==!1}}function VE(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&C_.current!==null&&s("The current testing environment is not configured to support act(...)"),e}}var w_=Math.ceil,wm=f.ReactCurrentDispatcher,Tm=f.ReactCurrentOwner,pn=f.ReactCurrentBatchConfig,Ha=f.ReactCurrentActQueue,Ht=0,BE=1,vn=2,ya=4,Ar=0,Ju=1,tl=2,Ef=3,Xu=4,HE=5,Nm=6,He=Ht,Mn=null,Et=null,Ft=I,lr=I,xm=ei(I),Pt=Ar,Zu=null,Sf=I,es=I,Cf=I,ts=null,qn=null,_m=0,FE=500,PE=1/0,T_=500,Mr=null;function ns(){PE=Kt()+T_}function $E(){return PE}var Rf=!1,Dm=null,io=null,nl=!1,fi=null,as=I,Um=[],km=null,N_=50,rs=0,Om=null,Lm=!1,wf=!1,x_=50,lo=0,Tf=null,is=ct,Nf=I,IE=!1;function xf(){return Mn}function zn(){return(He&(vn|ya))!==Ht?Kt():(is!==ct||(is=Kt()),is)}function di(e){var t=e.mode;if((t&Be)===be)return we;if((He&vn)!==Ht&&Ft!==I)return Jo(Ft);var n=Cx()!==Sx;if(n){if(pn.transition!==null){var a=pn.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return Nf===Xt&&(Nf=Ty()),Nf}var r=Da();if(r!==Xt)return r;var i=lN();return i}function __(e){var t=e.mode;return(t&Be)===be?we:UR()}function $t(e,t,n,a){X_(),IE&&s("useInsertionEffect must not schedule updates."),Lm&&(wf=!0),Xo(e,n,a),(He&vn)!==I&&e===Mn?tD(t):(_a&&_y(e,t,n),nD(t),e===Mn&&((He&vn)===Ht&&(es=ke(es,n)),Pt===Xu&&pi(e,Ft)),Gn(e,a),n===we&&He===Ht&&(t.mode&Be)===be&&!Ha.isBatchingLegacy&&(ns(),Ig()))}function D_(e,t,n){var a=e.current;a.lanes=t,Xo(e,t,n),Gn(e,n)}function U_(e){return(He&vn)!==Ht}function Gn(e,t){var n=e.callbackNode;wR(e,t);var a=Gs(e,e===Mn?Ft:I);if(a===I){n!==null&&lS(n),e.callbackNode=null,e.callbackPriority=Xt;return}var r=Hi(a),i=e.callbackPriority;if(i===r&&!(Ha.current!==null&&n!==Hm)){n==null&&i!==we&&s("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&lS(n);var o;if(r===we)e.tag===ti?(Ha.isBatchingLegacy!==null&&(Ha.didScheduleLegacyUpdate=!0),rx(GE.bind(null,e))):$g(GE.bind(null,e)),Ha.current!==null?Ha.current.push(ni):uN(function(){(He&(vn|ya))===Ht&&ni()}),o=null;else{var c;switch(ky(a)){case Zn:c=$s;break;case Tr:c=Dd;break;case Nr:c=ji;break;case Ks:c=Ud;break;default:c=ji;break}o=Fm(c,YE.bind(null,e))}e.callbackPriority=r,e.callbackNode=o}function YE(e,t){if(Wx(),is=ct,Nf=I,(He&(vn|ya))!==Ht)throw new Error("Should not already be working.");var n=e.callbackNode,a=jr();if(a&&e.callbackNode!==n)return null;var r=Gs(e,e===Mn?Ft:I);if(r===I)return null;var i=!Ws(e,r)&&!DR(e,r)&&!t,o=i?H_(e,r):Df(e,r);if(o!==Ar){if(o===tl){var c=Xd(e);c!==I&&(r=c,o=Am(e,c))}if(o===Ju){var d=Zu;throw al(e,I),pi(e,r),Gn(e,Kt()),d}if(o===Nm)pi(e,r);else{var y=!Ws(e,r),g=e.current.alternate;if(y&&!O_(g)){if(o=Df(e,r),o===tl){var N=Xd(e);N!==I&&(r=N,o=Am(e,N))}if(o===Ju){var T=Zu;throw al(e,I),pi(e,r),Gn(e,Kt()),T}}e.finishedWork=g,e.finishedLanes=r,k_(e,o,r)}}return Gn(e,Kt()),e.callbackNode===n?YE.bind(null,e):null}function Am(e,t){var n=ts;if(Js(e)){var a=al(e,t);a.flags|=Sr,JN(e.containerInfo)}var r=Df(e,t);if(r!==tl){var i=qn;qn=n,i!==null&&qE(i)}return r}function qE(e){qn===null?qn=e:qn.push.apply(qn,e)}function k_(e,t,n){switch(t){case Ar:case Ju:throw new Error("Root did not complete. This is a bug in React.");case tl:{rl(e,qn,Mr);break}case Ef:{if(pi(e,n),Ry(n)&&!oS()){var a=_m+FE-Kt();if(a>10){var r=Gs(e,I);if(r!==I)break;var i=e.suspendedLanes;if(!Ul(i,n)){zn(),xy(e,i);break}e.timeoutHandle=kp(rl.bind(null,e,qn,Mr),a);break}}rl(e,qn,Mr);break}case Xu:{if(pi(e,n),_R(n))break;if(!oS()){var o=CR(e,n),c=o,d=Kt()-c,y=J_(d)-d;if(y>10){e.timeoutHandle=kp(rl.bind(null,e,qn,Mr),y);break}}rl(e,qn,Mr);break}case HE:{rl(e,qn,Mr);break}default:throw new Error("Unknown root exit status.")}}function O_(e){for(var t=e;;){if(t.flags&Cd){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],o=i.getSnapshot,c=i.value;try{if(!ta(o(),c))return!1}catch{return!1}}}}var d=t.child;if(t.subtreeFlags&Cd&&d!==null){d.return=t,t=d;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 pi(e,t){t=Qs(t,Cf),t=Qs(t,es),OR(e,t)}function GE(e){if(Qx(),(He&(vn|ya))!==Ht)throw new Error("Should not already be working.");jr();var t=Gs(e,I);if(!Xn(t,we))return Gn(e,Kt()),null;var n=Df(e,t);if(e.tag!==ti&&n===tl){var a=Xd(e);a!==I&&(t=a,n=Am(e,a))}if(n===Ju){var r=Zu;throw al(e,I),pi(e,t),Gn(e,Kt()),r}if(n===Nm)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,rl(e,qn,Mr),Gn(e,Kt()),null}function L_(e,t){t!==I&&(np(e,ke(t,we)),Gn(e,Kt()),(He&(vn|ya))===Ht&&(ns(),ni()))}function Mm(e,t){var n=He;He|=BE;try{return e(t)}finally{He=n,He===Ht&&!Ha.isBatchingLegacy&&(ns(),Ig())}}function A_(e,t,n,a,r){var i=Da(),o=pn.transition;try{return pn.transition=null,Zt(Zn),e(t,n,a,r)}finally{Zt(i),pn.transition=o,He===Ht&&ns()}}function zr(e){fi!==null&&fi.tag===ti&&(He&(vn|ya))===Ht&&jr();var t=He;He|=BE;var n=pn.transition,a=Da();try{return pn.transition=null,Zt(Zn),e?e():void 0}finally{Zt(a),pn.transition=n,He=t,(He&(vn|ya))===Ht&&ni()}}function WE(){return(He&(vn|ya))!==Ht}function _f(e,t){Cn(xm,lr,e),lr=ke(lr,t)}function zm(e){lr=xm.current,Sn(xm,e)}function al(e,t){e.finishedWork=null,e.finishedLanes=I;var n=e.timeoutHandle;if(n!==Op&&(e.timeoutHandle=Op,oN(n)),Et!==null)for(var a=Et.return;a!==null;){var r=a.alternate;RE(r,a),a=a.return}Mn=e;var i=il(e.current,null);return Et=i,Ft=lr=t,Pt=Ar,Zu=null,Sf=I,es=I,Cf=I,ts=null,qn=null,Dx(),Oa.discardPendingWarnings(),i}function QE(e,t){do{var n=Et;try{if(jc(),bb(),Qt(),Tm.current=null,n===null||n.return===null){Pt=Ju,Zu=t,Et=null;return}if(Nn&&n.mode&tt&&pf(n,!0),Ea)if(Nl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;cR(n,a,Ft)}else sR(n,t,Ft);r1(e,n.return,n,t,Ft),ZE(n)}catch(r){t=r,Et===n&&n!==null?(n=n.return,Et=n):n=Et;continue}return}while(!0)}function KE(){var e=wm.current;return wm.current=uf,e===null?uf:e}function JE(e){wm.current=e}function M_(){_m=Kt()}function ls(e){Sf=ke(e,Sf)}function z_(){Pt===Ar&&(Pt=Ef)}function jm(){(Pt===Ar||Pt===Ef||Pt===tl)&&(Pt=Xu),Mn!==null&&(Zd(Sf)||Zd(es))&&pi(Mn,Ft)}function j_(e){Pt!==Xu&&(Pt=tl),ts===null?ts=[e]:ts.push(e)}function V_(){return Pt===Ar}function Df(e,t){var n=He;He|=vn;var a=KE();if(Mn!==e||Ft!==t){if(_a){var r=e.memoizedUpdaters;r.size>0&&(os(e,Ft),r.clear()),Dy(e,t)}Mr=Uy(),al(e,t)}gy(t);do try{B_();break}catch(i){QE(e,i)}while(!0);if(jc(),He=n,JE(a),Et!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return by(),Mn=null,Ft=I,Pt}function B_(){for(;Et!==null;)XE(Et)}function H_(e,t){var n=He;He|=vn;var a=KE();if(Mn!==e||Ft!==t){if(_a){var r=e.memoizedUpdaters;r.size>0&&(os(e,Ft),r.clear()),Dy(e,t)}Mr=Uy(),ns(),al(e,t)}gy(t);do try{F_();break}catch(i){QE(e,i)}while(!0);return jc(),JE(a),He=n,Et!==null?(mR(),Ar):(by(),Mn=null,Ft=I,Pt)}function F_(){for(;Et!==null&&!$0();)XE(Et)}function XE(e){var t=e.alternate;mt(e);var n;(e.mode&tt)!==be?(Hv(e),n=Vm(t,e,lr),pf(e,!0)):n=Vm(t,e,lr),Qt(),e.memoizedProps=e.pendingProps,n===null?ZE(e):Et=n,Tm.current=null}function ZE(e){var t=e;do{var n=t.alternate,a=t.return;if((t.flags&Ps)===Se){mt(t);var r=void 0;if((t.mode&tt)===be?r=CE(n,t,lr):(Hv(t),r=CE(n,t,lr),pf(t,!1)),Qt(),r!==null){Et=r;return}}else{var i=z1(n,t);if(i!==null){i.flags&=j0,Et=i;return}if((t.mode&tt)!==be){pf(t,!1);for(var o=t.actualDuration,c=t.child;c!==null;)o+=c.actualDuration,c=c.sibling;t.actualDuration=o}if(a!==null)a.flags|=Ps,a.subtreeFlags=Se,a.deletions=null;else{Pt=Nm,Et=null;return}}var d=t.sibling;if(d!==null){Et=d;return}t=a,Et=t}while(t!==null);Pt===Ar&&(Pt=HE)}function rl(e,t,n){var a=Da(),r=pn.transition;try{pn.transition=null,Zt(Zn),P_(e,t,n,a)}finally{pn.transition=r,Zt(a)}return null}function P_(e,t,n,a){do jr();while(fi!==null);if(Z_(),(He&(vn|ya))!==Ht)throw new Error("Should not already be working.");var r=e.finishedWork,i=e.finishedLanes;if(nR(i),r===null)return my(),null;if(i===I&&s("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=I,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=Xt;var o=ke(r.lanes,r.childLanes);LR(e,o),e===Mn&&(Mn=null,Et=null,Ft=I),((r.subtreeFlags&wl)!==Se||(r.flags&wl)!==Se)&&(nl||(nl=!0,km=n,Fm(ji,function(){return jr(),null})));var c=(r.subtreeFlags&(xd|_d|Io|wl))!==Se,d=(r.flags&(xd|_d|Io|wl))!==Se;if(c||d){var y=pn.transition;pn.transition=null;var g=Da();Zt(Zn);var N=He;He|=ya,Tm.current=null,F1(e,r),Ib(),t_(e,r,i),eN(e.containerInfo),e.current=r,fR(i),n_(r,e,i),dR(),I0(),He=N,Zt(g),pn.transition=y}else e.current=r,Ib();var T=nl;if(nl?(nl=!1,fi=e,as=i):(lo=0,Tf=null),o=e.pendingLanes,o===I&&(io=null),T||aS(e.current,!1),J0(r.stateNode,a),_a&&e.memoizedUpdaters.clear(),S_(),Gn(e,Kt()),t!==null)for(var L=e.onRecoverableError,M=0;M<t.length;M++){var B=t[M],ae=B.stack,he=B.digest;L(B.value,{componentStack:ae,digest:he})}if(Rf){Rf=!1;var fe=Dm;throw Dm=null,fe}return Xn(as,we)&&e.tag!==ti&&jr(),o=e.pendingLanes,Xn(o,we)?(Gx(),e===Om?rs++:(rs=0,Om=e)):rs=0,ni(),my(),null}function jr(){if(fi!==null){var e=ky(as),t=jR(Nr,e),n=pn.transition,a=Da();try{return pn.transition=null,Zt(t),I_()}finally{Zt(a),pn.transition=n}}return!1}function $_(e){Um.push(e),nl||(nl=!0,Fm(ji,function(){return jr(),null}))}function I_(){if(fi===null)return!1;var e=km;km=null;var t=fi,n=as;if(fi=null,as=I,(He&(vn|ya))!==Ht)throw new Error("Cannot flush passive effects while already rendering.");Lm=!0,wf=!1,pR(n);var a=He;He|=ya,s_(t.current),i_(t,t.current,n,e);{var r=Um;Um=[];for(var i=0;i<r.length;i++){var o=r[i];Y1(t,o)}}vR(),aS(t.current,!0),He=a,ni(),wf?t===Tf?lo++:(lo=0,Tf=t):lo=0,Lm=!1,wf=!1,X0(t);{var c=t.current.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}return!0}function eS(e){return io!==null&&io.has(e)}function Y_(e){io===null?io=new Set([e]):io.add(e)}function q_(e){Rf||(Rf=!0,Dm=e)}var G_=q_;function tS(e,t,n){var a=Zi(n,t),r=Xb(e,a,we),i=ri(e,r,we),o=zn();i!==null&&(Xo(i,we,o),Gn(i,o))}function ot(e,t,n){if(V1(n),us(!1),e.tag===D){tS(e,e,n);return}var a=null;for(a=t;a!==null;){if(a.tag===D){tS(a,e,n);return}else if(a.tag===S){var r=a.type,i=a.stateNode;if(typeof r.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&!eS(i)){var o=Zi(n,e),c=rm(a,o,we),d=ri(a,c,we),y=zn();d!==null&&(Xo(d,we,y),Gn(d,y));return}}a=a.return}s(`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 W_(e,t,n){var a=e.pingCache;a!==null&&a.delete(t);var r=zn();xy(e,n),aD(e),Mn===e&&Ul(Ft,n)&&(Pt===Xu||Pt===Ef&&Ry(Ft)&&Kt()-_m<FE?al(e,I):Cf=ke(Cf,n)),Gn(e,r)}function nS(e,t){t===Xt&&(t=__(e));var n=zn(),a=In(e,t);a!==null&&(Xo(a,t,n),Gn(a,n))}function Q_(e){var t=e.memoizedState,n=Xt;t!==null&&(n=t.retryLane),nS(e,n)}function K_(e,t){var n=Xt,a;switch(e.tag){case X:a=e.stateNode;var r=e.memoizedState;r!==null&&(n=r.retryLane);break;case rt: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),nS(e,n)}function J_(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:w_(e/1960)*1960}function X_(){if(rs>N_)throw rs=0,Om=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.");lo>x_&&(lo=0,Tf=null,s("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 Z_(){Oa.flushLegacyContextWarning(),Oa.flushPendingUnsafeLifecycleWarnings()}function aS(e,t){mt(e),Uf(e,qr,g_),t&&Uf(e,Nd,b_),Uf(e,qr,h_),t&&Uf(e,Nd,y_),Qt()}function Uf(e,t,n){for(var a=e,r=null;a!==null;){var i=a.subtreeFlags&t;a!==r&&a.child!==null&&i!==Se?a=a.child:((a.flags&t)!==Se&&n(a),a.sibling!==null?a=a.sibling:a=r=a.return)}}var kf=null;function rS(e){{if((He&vn)!==Ht||!(e.mode&Be))return;var t=e.tag;if(t!==_&&t!==D&&t!==S&&t!==b&&t!==P&&t!==ye&&t!==de)return;var n=_e(e)||"ReactComponent";if(kf!==null){if(kf.has(n))return;kf.add(n)}else kf=new Set([n]);var a=Un;try{mt(e),s("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?mt(e):Qt()}}}var Vm;{var eD=null;Vm=function(e,t,n){var a=dS(eD,t);try{return yE(e,t,n)}catch(i){if(dx()||i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(jc(),bb(),RE(e,t),dS(t,a),t.mode&tt&&Hv(t),Ed(null,yE,null,e,t,n),A0()){var r=Sd();typeof r=="object"&&r!==null&&r._suppressLogging&&typeof i=="object"&&i!==null&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}}}var iS=!1,Bm;Bm=new Set;function tD(e){if(_i&&!Ix())switch(e.tag){case b:case P:case de:{var t=Et&&_e(Et)||"Unknown",n=t;if(!Bm.has(n)){Bm.add(n);var a=_e(e)||"Unknown";s("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 S:{iS||(s("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),iS=!0);break}}}function os(e,t){if(_a){var n=e.memoizedUpdaters;n.forEach(function(a){_y(e,a,t)})}}var Hm={};function Fm(e,t){{var n=Ha.current;return n!==null?(n.push(t),Hm):vy(e,t)}}function lS(e){if(e!==Hm)return P0(e)}function oS(){return Ha.current!==null}function nD(e){{if(e.mode&Be){if(!VE())return}else if(!R_()||He!==Ht||e.tag!==b&&e.tag!==P&&e.tag!==de)return;if(Ha.current===null){var t=Un;try{mt(e),s(`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`,_e(e))}finally{t?mt(e):Qt()}}}}function aD(e){e.tag!==ti&&VE()&&Ha.current===null&&s(`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 us(e){IE=e}var ga=null,oo=null,rD=function(e){ga=e};function uo(e){{if(ga===null)return e;var t=ga(e);return t===void 0?e:t.current}}function Pm(e){return uo(e)}function $m(e){{if(ga===null)return e;var t=ga(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=uo(e.render);if(e.render!==n){var a={$$typeof:me,render:n};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function uS(e,t){{if(ga===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 S:{typeof a=="function"&&(r=!0);break}case b:{(typeof a=="function"||i===ge)&&(r=!0);break}case P:{(i===me||i===ge)&&(r=!0);break}case ye:case de:{(i===Ue||i===ge)&&(r=!0);break}default:return!1}if(r){var o=ga(n);if(o!==void 0&&o===ga(a))return!0}return!1}}function sS(e){{if(ga===null||typeof WeakSet!="function")return;oo===null&&(oo=new WeakSet),oo.add(e)}}var iD=function(e,t){{if(ga===null)return;var n=t.staleFamilies,a=t.updatedFamilies;jr(),zr(function(){Im(e.current,a,n)})}},lD=function(e,t){{if(e.context!==na)return;jr(),zr(function(){ss(t,e,null,null)})}};function Im(e,t,n){{var a=e.alternate,r=e.child,i=e.sibling,o=e.tag,c=e.type,d=null;switch(o){case b:case de:case S:d=c;break;case P:d=c.render;break}if(ga===null)throw new Error("Expected resolveFamily to be set during hot reload.");var y=!1,g=!1;if(d!==null){var N=ga(d);N!==void 0&&(n.has(N)?g=!0:t.has(N)&&(o===S?g=!0:y=!0))}if(oo!==null&&(oo.has(e)||a!==null&&oo.has(a))&&(g=!0),g&&(e._debugNeedsRemount=!0),g||y){var T=In(e,we);T!==null&&$t(T,e,we,ct)}r!==null&&!g&&Im(r,t,n),i!==null&&Im(i,t,n)}}var oD=function(e,t){{var n=new Set,a=new Set(t.map(function(r){return r.current}));return Ym(e.current,a,n),n}};function Ym(e,t,n){{var a=e.child,r=e.sibling,i=e.tag,o=e.type,c=null;switch(i){case b:case de:case S:c=o;break;case P:c=o.render;break}var d=!1;c!==null&&t.has(c)&&(d=!0),d?uD(e,n):a!==null&&Ym(a,t,n),r!==null&&Ym(r,t,n)}}function uD(e,t){{var n=sD(e,t);if(n)return;for(var a=e;;){switch(a.tag){case O:t.add(a.stateNode);return;case w:t.add(a.stateNode.containerInfo);return;case D:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function sD(e,t){for(var n=e,a=!1;;){if(n.tag===O)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 qm;{qm=!1;try{var cS=Object.preventExtensions({})}catch{qm=!0}}function cD(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=Se,this.subtreeFlags=Se,this.deletions=null,this.lanes=I,this.childLanes=I,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,!qm&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var aa=function(e,t,n,a){return new cD(e,t,n,a)};function Gm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function fD(e){return typeof e=="function"&&!Gm(e)&&e.defaultProps===void 0}function dD(e){if(typeof e=="function")return Gm(e)?S:b;if(e!=null){var t=e.$$typeof;if(t===me)return P;if(t===Ue)return ye}return _}function il(e,t){var n=e.alternate;n===null?(n=aa(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=Se,n.subtreeFlags=Se,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Rr,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 _:case b:case de:n.type=uo(e.type);break;case S:n.type=Pm(e.type);break;case P:n.type=$m(e.type);break}return n}function pD(e,t){e.flags&=Rr|Ut;var n=e.alternate;if(n===null)e.childLanes=I,e.lanes=t,e.child=null,e.subtreeFlags=Se,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=Se,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 vD(e,t,n){var a;return e===xc?(a=Be,t===!0&&(a|=wt,a|=Ka)):a=be,_a&&(a|=tt),aa(D,null,null,a)}function Wm(e,t,n,a,r,i){var o=_,c=e;if(typeof e=="function")Gm(e)?(o=S,c=Pm(c)):c=uo(c);else if(typeof e=="string")o=O;else e:switch(e){case qa:return vi(n.children,r,i,t);case Ci:o=K,r|=wt,(r&Be)!==be&&(r|=Ka);break;case R:return mD(n,r,i,t);case ze:return hD(n,r,i,t);case Re:return yD(n,r,i,t);case pt:return fS(n,r,i,t);case bn:case At:case Ga:case Ta:case dt:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case q:o=z;break e;case ne:o=Y;break e;case me:o=P,c=$m(c);break e;case Ue:o=ye;break e;case ge:o=We,c=null;break e}var d="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" 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 y=a?_e(a):null;y&&(d+=`
- Check the render method of \``+y+"`.")}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)+"."+d))}}var g=aa(o,n,t,r);return g.elementType=e,g.type=c,g.lanes=i,g._debugOwner=a,g}function Qm(e,t,n){var a=null;a=e._owner;var r=e.type,i=e.key,o=e.props,c=Wm(r,i,o,a,t,n);return c._debugSource=e._source,c._debugOwner=e._owner,c}function vi(e,t,n,a){var r=aa(W,e,a,t);return r.lanes=n,r}function mD(e,t,n,a){typeof e.id!="string"&&s('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=aa(Q,e,a,t|tt);return r.elementType=R,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}function hD(e,t,n,a){var r=aa(X,e,a,t);return r.elementType=ze,r.lanes=n,r}function yD(e,t,n,a){var r=aa(rt,e,a,t);return r.elementType=Re,r.lanes=n,r}function fS(e,t,n,a){var r=aa(pe,e,a,t);r.elementType=pt,r.lanes=n;var i={isHidden:!1};return r.stateNode=i,r}function Km(e,t,n){var a=aa(F,e,null,t);return a.lanes=n,a}function gD(){var e=aa(O,null,null,be);return e.elementType="DELETED",e}function bD(e){var t=aa(Pe,null,null,be);return t.stateNode=e,t}function Jm(e,t,n){var a=e.children!==null?e.children:[],r=aa(w,a,e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function dS(e,t){return e===null&&(e=aa(_,null,null,be)),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 ED(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=Op,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Xt,this.eventTimes=tp(I),this.expirationTimes=tp(ct),this.pendingLanes=I,this.suspendedLanes=I,this.pingedLanes=I,this.expiredLanes=I,this.mutableReadLanes=I,this.finishedLanes=I,this.entangledLanes=I,this.entanglements=tp(I),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],o=0;o<Od;o++)i.push(new Set)}switch(t){case xc:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case ti:this._debugRootType=n?"hydrate()":"render()";break}}function pS(e,t,n,a,r,i,o,c,d,y){var g=new ED(e,t,n,c,d),N=vD(t,i);g.current=N,N.stateNode=g;{var T={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};N.memoizedState=T}return cv(N),g}var Xm="18.3.1";function SD(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ua(a),{$$typeof:Kn,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var Zm,eh;Zm=!1,eh={};function vS(e){if(!e)return na;var t=Sl(e),n=ax(t);if(t.tag===S){var a=t.type;if(Za(a))return Fg(t,a,n)}return n}function CD(e,t){{var n=Sl(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=fy(n);if(r===null)return null;if(r.mode&wt){var i=_e(n)||"Component";if(!eh[i]){eh[i]=!0;var o=Un;try{mt(r),n.mode&wt?s("%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):s("%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{o?mt(o):Qt()}}}return r.stateNode}}function mS(e,t,n,a,r,i,o,c){var d=!1,y=null;return pS(e,t,d,y,n,a,r,i,o)}function hS(e,t,n,a,r,i,o,c,d,y){var g=!0,N=pS(n,a,g,e,r,i,o,c,d);N.context=vS(null);var T=N.current,L=zn(),M=di(T),B=Or(L,M);return B.callback=t??null,ri(T,B,M),D_(N,M,L),N}function ss(e,t,n,a){K0(t,e);var r=t.current,i=zn(),o=di(r);hR(o);var c=vS(n);t.context===null?t.context=c:t.pendingContext=c,_i&&Un!==null&&!Zm&&(Zm=!0,s(`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.`,_e(Un)||"Unknown"));var d=Or(i,o);d.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&s("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),d.callback=a);var y=ri(r,d,o);return y!==null&&($t(y,r,o,i),Pc(y,r,o)),o}function Of(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case O:return t.child.stateNode;default:return t.child.stateNode}}function RD(e){switch(e.tag){case D:{var t=e.stateNode;if(Js(t)){var n=TR(t);L_(t,n)}break}case X:{zr(function(){var r=In(e,we);if(r!==null){var i=zn();$t(r,e,we,i)}});var a=we;th(e,a);break}}}function yS(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=kR(n.retryLane,t))}function th(e,t){yS(e,t);var n=e.alternate;n&&yS(n,t)}function wD(e){if(e.tag===X){var t=Wo,n=In(e,t);if(n!==null){var a=zn();$t(n,e,t,a)}th(e,t)}}function TD(e){if(e.tag===X){var t=di(e),n=In(e,t);if(n!==null){var a=zn();$t(n,e,t,a)}th(e,t)}}function gS(e){var t=F0(e);return t===null?null:t.stateNode}var bS=function(e){return null};function ND(e){return bS(e)}var ES=function(e){return!1};function xD(e){return ES(e)}var SS=null,CS=null,RS=null,wS=null,TS=null,NS=null,xS=null,_S=null,DS=null;{var US=function(e,t,n){var a=t[n],r=Ae(e)?e.slice():Le({},e);return n+1===t.length?(Ae(r)?r.splice(a,1):delete r[a],r):(r[a]=US(e[a],t,n+1),r)},kS=function(e,t){return US(e,t,0)},OS=function(e,t,n,a){var r=t[a],i=Ae(e)?e.slice():Le({},e);if(a+1===t.length){var o=n[a];i[o]=i[r],Ae(i)?i.splice(r,1):delete i[r]}else i[r]=OS(e[r],t,n,a+1);return i},LS=function(e,t,n){if(t.length!==n.length){h("copyWithRename() expects paths of the same length");return}else for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return OS(e,t,n,0)},AS=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],i=Ae(e)?e.slice():Le({},e);return i[r]=AS(e[r],t,n+1,a),i},MS=function(e,t,n){return AS(e,t,0,n)},nh=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};SS=function(e,t,n,a){var r=nh(e,t);if(r!==null){var i=MS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=Le({},e.memoizedProps);var o=In(e,we);o!==null&&$t(o,e,we,ct)}},CS=function(e,t,n){var a=nh(e,t);if(a!==null){var r=kS(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=Le({},e.memoizedProps);var i=In(e,we);i!==null&&$t(i,e,we,ct)}},RS=function(e,t,n,a){var r=nh(e,t);if(r!==null){var i=LS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=Le({},e.memoizedProps);var o=In(e,we);o!==null&&$t(o,e,we,ct)}},wS=function(e,t,n){e.pendingProps=MS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=In(e,we);a!==null&&$t(a,e,we,ct)},TS=function(e,t){e.pendingProps=kS(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=In(e,we);n!==null&&$t(n,e,we,ct)},NS=function(e,t,n){e.pendingProps=LS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=In(e,we);a!==null&&$t(a,e,we,ct)},xS=function(e){var t=In(e,we);t!==null&&$t(t,e,we,ct)},_S=function(e){bS=e},DS=function(e){ES=e}}function _D(e){var t=fy(e);return t===null?null:t.stateNode}function DD(e){return null}function UD(){return Un}function kD(e){var t=e.findFiberByHostInstance,n=f.ReactCurrentDispatcher;return Q0({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:SS,overrideHookStateDeletePath:CS,overrideHookStateRenamePath:RS,overrideProps:wS,overridePropsDeletePath:TS,overridePropsRenamePath:NS,setErrorHandler:_S,setSuspenseHandler:DS,scheduleUpdate:xS,currentDispatcherRef:n,findHostInstanceByFiber:_D,findFiberByHostInstance:t||DD,findHostInstancesForRefresh:oD,scheduleRefresh:iD,scheduleRoot:lD,setRefreshHandler:rD,getCurrentFiber:UD,reconcilerVersion:Xm})}var zS=typeof reportError=="function"?reportError:function(e){console.error(e)};function ah(e){this._internalRoot=e}Lf.prototype.render=ah.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?s("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Af(arguments[1])?s("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"&&s("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Dt){var a=gS(t.current);a&&a.parentNode!==n&&s("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.")}}ss(e,t,null,null)},Lf.prototype.unmount=ah.prototype.unmount=function(){typeof arguments[0]=="function"&&s("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;WE()&&s("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(){ss(null,e,null,null)}),zg(t)}};function OD(e,t){if(!Af(e))throw new Error("createRoot(...): Target container is not a DOM element.");jS(e);var n=!1,a=!1,r="",i=zS;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ca&&s(`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 o=mS(e,xc,null,n,a,r,i);Ec(o.current,e);var c=e.nodeType===Dt?e.parentNode:e;return mu(c),new ah(o)}function Lf(e){this._internalRoot=e}function LD(e){e&&WR(e)}Lf.prototype.unstable_scheduleHydration=LD;function AD(e,t,n){if(!Af(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");jS(e),t===void 0&&s("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,o=!1,c="",d=zS;n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(c=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError));var y=hS(t,null,e,xc,a,i,o,c,d);if(Ec(y.current,e),mu(e),r)for(var g=0;g<r.length;g++){var N=r[g];Vx(y,N)}return new Lf(y)}function Af(e){return!!(e&&(e.nodeType===Pn||e.nodeType===Er||e.nodeType===sd))}function cs(e){return!!(e&&(e.nodeType===Pn||e.nodeType===Er||e.nodeType===sd||e.nodeType===Dt&&e.nodeValue===" react-mount-point-unstable "))}function jS(e){e.nodeType===Pn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&s("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."),Nu(e)&&(e._reactRootContainer?s("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):s("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 MD=f.ReactCurrentOwner,VS;VS=function(e){if(e._reactRootContainer&&e.nodeType!==Dt){var t=gS(e._reactRootContainer.current);t&&t.parentNode!==e&&s("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=rh(e),r=!!(a&&Zr(a));r&&!n&&s("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===Pn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&s("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 rh(e){return e?e.nodeType===Er?e.documentElement:e.firstChild:null}function BS(){}function zD(e,t,n,a,r){if(r){if(typeof a=="function"){var i=a;a=function(){var T=Of(o);i.call(T)}}var o=hS(t,a,e,ti,null,!1,!1,"",BS);e._reactRootContainer=o,Ec(o.current,e);var c=e.nodeType===Dt?e.parentNode:e;return mu(c),zr(),o}else{for(var d;d=e.lastChild;)e.removeChild(d);if(typeof a=="function"){var y=a;a=function(){var T=Of(g);y.call(T)}}var g=mS(e,ti,null,!1,!1,"",BS);e._reactRootContainer=g,Ec(g.current,e);var N=e.nodeType===Dt?e.parentNode:e;return mu(N),zr(function(){ss(t,g,n,a)}),g}}function jD(e,t){e!==null&&typeof e!="function"&&s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Mf(e,t,n,a,r){VS(n),jD(r===void 0?null:r,"render");var i=n._reactRootContainer,o;if(!i)o=zD(n,t,e,r,a);else{if(o=i,typeof r=="function"){var c=r;r=function(){var d=Of(o);c.call(d)}}ss(t,o,e,r)}return Of(o)}var HS=!1;function VD(e){{HS||(HS=!0,s("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=MD.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||s("%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.",Ye(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Pn?e:CD(e,"findDOMNode")}function BD(e,t,n){if(s("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"),!cs(t))throw new Error("Target container is not a DOM element.");{var a=Nu(t)&&t._reactRootContainer===void 0;a&&s("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 Mf(null,e,t,!0,n)}function HD(e,t,n){if(s("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"),!cs(t))throw new Error("Target container is not a DOM element.");{var a=Nu(t)&&t._reactRootContainer===void 0;a&&s("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 Mf(null,e,t,!1,n)}function FD(e,t,n,a){if(s("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"),!cs(n))throw new Error("Target container is not a DOM element.");if(e==null||!M0(e))throw new Error("parentComponent must be a valid React Component");return Mf(e,t,n,!1,a)}var FS=!1;function PD(e){if(FS||(FS=!0,s("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")),!cs(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Nu(e)&&e._reactRootContainer===void 0;t&&s("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=rh(e),a=n&&!Zr(n);a&&s("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return zr(function(){Mf(null,null,e,!1,function(){e._reactRootContainer=null,zg(e)})}),!0}else{{var r=rh(e),i=!!(r&&Zr(r)),o=e.nodeType===Pn&&cs(e.parentNode)&&!!e.parentNode._reactRootContainer;i&&s("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"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}}VR(RD),HR(wD),FR(TD),PR(Da),$R(MR),(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")&&s("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"),w0(IT),x0(Mm,A_,zr);function $D(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Af(t))throw new Error("Target container is not a DOM element.");return SD(e,t,null,n)}function ID(e,t,n,a){return FD(e,t,n,a)}var ih={usingClientEntryPoint:!1,Events:[Zr,Bl,Sc,Xh,Zh,Mm]};function YD(e,t){return ih.usingClientEntryPoint||s('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),OD(e,t)}function qD(e,t,n){return ih.usingClientEntryPoint||s('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),AD(e,t,n)}function GD(e){return WE()&&s("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 WD=kD({findFiberByHostInstance:Ii,bundleType:1,version:Xm,rendererPackageName:"react-dom"});if(!WD&&rn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var PS=window.location.protocol;/^(https?|file):$/.test(PS)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(PS==="file:"?`
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ia.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ih,ia.createPortal=$D,ia.createRoot=YD,ia.findDOMNode=VD,ia.flushSync=GD,ia.hydrate=BD,ia.hydrateRoot=qD,ia.render=HD,ia.unmountComponentAtNode=PD,ia.unstable_batchedUpdates=Mm,ia.unstable_renderSubtreeIntoContainer=ID,ia.version=Xm,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();oC.exports=ia;var nU=oC.exports,lh=nU;{var zf=lh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;mh.createRoot=function(l,u){zf.usingClientEntryPoint=!0;try{return lh.createRoot(l,u)}finally{zf.usingClientEntryPoint=!1}},mh.hydrateRoot=function(l,u,f){zf.usingClientEntryPoint=!0;try{return lh.hydrateRoot(l,u,f)}finally{zf.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 vs(){return vs=Object.assign?Object.assign.bind():function(l){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(l[p]=f[p])}return l},vs.apply(null,arguments)}var hi;(function(l){l.Pop="POP",l.Push="PUSH",l.Replace="REPLACE"})(hi||(hi={}));const $S="popstate";function aU(l){l===void 0&&(l={});function u(p,v){let{pathname:h,search:s,hash:E}=p.location;return hh("",{pathname:h,search:s,hash:E},v.state&&v.state.usr||null,v.state&&v.state.key||"default")}function f(p,v){return typeof v=="string"?v:ms(v)}return iU(u,f,null,l)}function St(l,u){if(l===!1||l===null||typeof l>"u")throw new Error(u)}function Pa(l,u){if(!l){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function rU(){return Math.random().toString(36).substr(2,8)}function IS(l,u){return{usr:l.state,key:l.key,idx:u}}function hh(l,u,f,p){return f===void 0&&(f=null),vs({pathname:typeof l=="string"?l:l.pathname,search:"",hash:""},typeof u=="string"?bo(u):u,{state:f,key:u&&u.key||p||rU()})}function ms(l){let{pathname:u="/",search:f="",hash:p=""}=l;return f&&f!=="?"&&(u+=f.charAt(0)==="?"?f:"?"+f),p&&p!=="#"&&(u+=p.charAt(0)==="#"?p:"#"+p),u}function bo(l){let u={};if(l){let f=l.indexOf("#");f>=0&&(u.hash=l.substr(f),l=l.substr(0,f));let p=l.indexOf("?");p>=0&&(u.search=l.substr(p),l=l.substr(0,p)),l&&(u.pathname=l)}return u}function iU(l,u,f,p){p===void 0&&(p={});let{window:v=document.defaultView,v5Compat:h=!1}=p,s=v.history,E=hi.Pop,b=null,S=_();S==null&&(S=0,s.replaceState(vs({},s.state,{idx:S}),""));function _(){return(s.state||{idx:null}).idx}function D(){E=hi.Pop;let K=_(),Y=K==null?null:K-S;S=K,b&&b({action:E,location:W.location,delta:Y})}function w(K,Y){E=hi.Push;let z=hh(W.location,K,Y);S=_()+1;let P=IS(z,S),Q=W.createHref(z);try{s.pushState(P,"",Q)}catch(X){if(X instanceof DOMException&&X.name==="DataCloneError")throw X;v.location.assign(Q)}h&&b&&b({action:E,location:W.location,delta:1})}function O(K,Y){E=hi.Replace;let z=hh(W.location,K,Y);S=_();let P=IS(z,S),Q=W.createHref(z);s.replaceState(P,"",Q),h&&b&&b({action:E,location:W.location,delta:0})}function F(K){let Y=v.location.origin!=="null"?v.location.origin:v.location.href,z=typeof K=="string"?K:ms(K);return z=z.replace(/ $/,"%20"),St(Y,"No window.location.(origin|href) available to create URL for href: "+z),new URL(z,Y)}let W={get action(){return E},get location(){return l(v,s)},listen(K){if(b)throw new Error("A history only accepts one active listener");return v.addEventListener($S,D),b=K,()=>{v.removeEventListener($S,D),b=null}},createHref(K){return u(v,K)},createURL:F,encodeLocation(K){let Y=F(K);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:w,replace:O,go(K){return s.go(K)}};return W}var YS;(function(l){l.data="data",l.deferred="deferred",l.redirect="redirect",l.error="error"})(YS||(YS={}));function lU(l,u,f){return f===void 0&&(f="/"),oU(l,u,f)}function oU(l,u,f,p){let v=typeof u=="string"?bo(u):u,h=gi(v.pathname||"/",f);if(h==null)return null;let s=cC(l);uU(s);let E=null,b=bU(h);for(let S=0;E==null&&S<s.length;++S)E=yU(s[S],b);return E}function cC(l,u,f,p){u===void 0&&(u=[]),f===void 0&&(f=[]),p===void 0&&(p="");let v=(h,s,E)=>{let b={relativePath:E===void 0?h.path||"":E,caseSensitive:h.caseSensitive===!0,childrenIndex:s,route:h};b.relativePath.startsWith("/")&&(St(b.relativePath.startsWith(p),'Absolute route path "'+b.relativePath+'" nested under path '+('"'+p+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),b.relativePath=b.relativePath.slice(p.length));let S=Br([p,b.relativePath]),_=f.concat(b);h.children&&h.children.length>0&&(St(h.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+S+'".')),cC(h.children,u,_,S)),!(h.path==null&&!h.index)&&u.push({path:S,score:mU(S,h.index),routesMeta:_})};return l.forEach((h,s)=>{var E;if(h.path===""||!((E=h.path)!=null&&E.includes("?")))v(h,s);else for(let b of fC(h.path))v(h,s,b)}),u}function fC(l){let u=l.split("/");if(u.length===0)return[];let[f,...p]=u,v=f.endsWith("?"),h=f.replace(/\?$/,"");if(p.length===0)return v?[h,""]:[h];let s=fC(p.join("/")),E=[];return E.push(...s.map(b=>b===""?h:[h,b].join("/"))),v&&E.push(...s),E.map(b=>l.startsWith("/")&&b===""?"/":b)}function uU(l){l.sort((u,f)=>u.score!==f.score?f.score-u.score:hU(u.routesMeta.map(p=>p.childrenIndex),f.routesMeta.map(p=>p.childrenIndex)))}const sU=/^:[\w-]+$/,cU=3,fU=2,dU=1,pU=10,vU=-2,qS=l=>l==="*";function mU(l,u){let f=l.split("/"),p=f.length;return f.some(qS)&&(p+=vU),u&&(p+=fU),f.filter(v=>!qS(v)).reduce((v,h)=>v+(sU.test(h)?cU:h===""?dU:pU),p)}function hU(l,u){return l.length===u.length&&l.slice(0,-1).every((p,v)=>p===u[v])?l[l.length-1]-u[u.length-1]:0}function yU(l,u,f){let{routesMeta:p}=l,v={},h="/",s=[];for(let E=0;E<p.length;++E){let b=p[E],S=E===p.length-1,_=h==="/"?u:u.slice(h.length)||"/",D=yh({path:b.relativePath,caseSensitive:b.caseSensitive,end:S},_),w=b.route;if(!D)return null;Object.assign(v,D.params),s.push({params:v,pathname:Br([h,D.pathname]),pathnameBase:wU(Br([h,D.pathnameBase])),route:w}),D.pathnameBase!=="/"&&(h=Br([h,D.pathnameBase]))}return s}function yh(l,u){typeof l=="string"&&(l={path:l,caseSensitive:!1,end:!0});let[f,p]=gU(l.path,l.caseSensitive,l.end),v=u.match(f);if(!v)return null;let h=v[0],s=h.replace(/(.)\/+$/,"$1"),E=v.slice(1);return{params:p.reduce((S,_,D)=>{let{paramName:w,isOptional:O}=_;if(w==="*"){let W=E[D]||"";s=h.slice(0,h.length-W.length).replace(/(.)\/+$/,"$1")}const F=E[D];return O&&!F?S[w]=void 0:S[w]=(F||"").replace(/%2F/g,"/"),S},{}),pathname:h,pathnameBase:s,pattern:l}}function gU(l,u,f){u===void 0&&(u=!1),f===void 0&&(f=!0),Pa(l==="*"||!l.endsWith("*")||l.endsWith("/*"),'Route path "'+l+'" will be treated as if it were '+('"'+l.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+l.replace(/\*$/,"/*")+'".'));let p=[],v="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,E,b)=>(p.push({paramName:E,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)"));return l.endsWith("*")?(p.push({paramName:"*"}),v+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):f?v+="\\/*$":l!==""&&l!=="/"&&(v+="(?:(?=\\/|$))"),[new RegExp(v,u?void 0:"i"),p]}function bU(l){try{return l.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return Pa(!1,'The URL path "'+l+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+u+").")),l}}function gi(l,u){if(u==="/")return l;if(!l.toLowerCase().startsWith(u.toLowerCase()))return null;let f=u.endsWith("/")?u.length-1:u.length,p=l.charAt(f);return p&&p!=="/"?null:l.slice(f)||"/"}const EU=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,SU=l=>EU.test(l);function CU(l,u){u===void 0&&(u="/");let{pathname:f,search:p="",hash:v=""}=typeof l=="string"?bo(l):l,h;if(f)if(SU(f))h=f;else{if(f.includes("//")){let s=f;f=vC(f),Pa(!1,"Pathnames cannot have embedded double slashes - normalizing "+(s+" -> "+f))}f.startsWith("/")?h=GS(f.substring(1),"/"):h=GS(f,u)}else h=u;return{pathname:h,search:TU(p),hash:NU(v)}}function GS(l,u){let f=u.replace(/\/+$/,"").split("/");return l.split("/").forEach(v=>{v===".."?f.length>1&&f.pop():v!=="."&&f.push(v)}),f.length>1?f.join("/"):"/"}function oh(l,u,f,p){return"Cannot include a '"+l+"' character in a manually specified "+("`to."+u+"` field ["+JSON.stringify(p)+"]. Please separate it out to the ")+("`to."+f+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function RU(l){return l.filter((u,f)=>f===0||u.route.path&&u.route.path.length>0)}function dC(l,u){let f=RU(l);return u?f.map((p,v)=>v===f.length-1?p.pathname:p.pathnameBase):f.map(p=>p.pathnameBase)}function pC(l,u,f,p){p===void 0&&(p=!1);let v;typeof l=="string"?v=bo(l):(v=vs({},l),St(!v.pathname||!v.pathname.includes("?"),oh("?","pathname","search",v)),St(!v.pathname||!v.pathname.includes("#"),oh("#","pathname","hash",v)),St(!v.search||!v.search.includes("#"),oh("#","search","hash",v)));let h=l===""||v.pathname==="",s=h?"/":v.pathname,E;if(s==null)E=f;else{let D=u.length-1;if(!p&&s.startsWith("..")){let w=s.split("/");for(;w[0]==="..";)w.shift(),D-=1;v.pathname=w.join("/")}E=D>=0?u[D]:"/"}let b=CU(v,E),S=s&&s!=="/"&&s.endsWith("/"),_=(h||s===".")&&f.endsWith("/");return!b.pathname.endsWith("/")&&(S||_)&&(b.pathname+="/"),b}const vC=l=>l.replace(/\/\/+/g,"/"),Br=l=>vC(l.join("/")),wU=l=>l.replace(/\/+$/,"").replace(/^\/*/,"/"),TU=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,NU=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l;function xU(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}const mC=["post","put","patch","delete"];new Set(mC);const _U=["get",...mC];new Set(_U);/**
- * 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 hs(){return hs=Object.assign?Object.assign.bind():function(l){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(l[p]=f[p])}return l},hs.apply(null,arguments)}const bs=j.createContext(null);bs.displayName="DataRouter";const wh=j.createContext(null);wh.displayName="DataRouterState";const DU=j.createContext(null);DU.displayName="Await";const $a=j.createContext(null);$a.displayName="Navigation";const Es=j.createContext(null);Es.displayName="Location";const sr=j.createContext({outlet:null,matches:[],isDataRoute:!1});sr.displayName="Route";const Th=j.createContext(null);Th.displayName="RouteError";function UU(l,u){let{relative:f}=u===void 0?{}:u;Ss()||St(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:p,navigator:v}=j.useContext($a),{hash:h,pathname:s,search:E}=Cs(l,{relative:f}),b=s;return p!=="/"&&(b=s==="/"?p:Br([p,s])),v.createHref({pathname:b,search:E,hash:h})}function Ss(){return j.useContext(Es)!=null}function ll(){return Ss()||St(!1,"useLocation() may be used only in the context of a <Router> component."),j.useContext(Es).location}const hC="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function yC(l){j.useContext($a).static||j.useLayoutEffect(l)}function Nh(){let{isDataRoute:l}=j.useContext(sr);return l?YU():kU()}function kU(){Ss()||St(!1,"useNavigate() may be used only in the context of a <Router> component.");let l=j.useContext(bs),{basename:u,future:f,navigator:p}=j.useContext($a),{matches:v}=j.useContext(sr),{pathname:h}=ll(),s=JSON.stringify(dC(v,f.v7_relativeSplatPath)),E=j.useRef(!1);return yC(()=>{E.current=!0}),j.useCallback(function(S,_){if(_===void 0&&(_={}),Pa(E.current,hC),!E.current)return;if(typeof S=="number"){p.go(S);return}let D=pC(S,JSON.parse(s),h,_.relative==="path");l==null&&u!=="/"&&(D.pathname=D.pathname==="/"?u:Br([u,D.pathname])),(_.replace?p.replace:p.push)(D,_.state,_)},[u,p,s,h,l])}function OU(){let{matches:l}=j.useContext(sr),u=l[l.length-1];return u?u.params:{}}function Cs(l,u){let{relative:f}=u===void 0?{}:u,{future:p}=j.useContext($a),{matches:v}=j.useContext(sr),{pathname:h}=ll(),s=JSON.stringify(dC(v,p.v7_relativeSplatPath));return j.useMemo(()=>pC(l,JSON.parse(s),h,f==="path"),[l,s,h,f])}function LU(l,u){return AU(l,u)}function AU(l,u,f,p){Ss()||St(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:v}=j.useContext($a),{matches:h}=j.useContext(sr),s=h[h.length-1],E=s?s.params:{},b=s?s.pathname:"/",S=s?s.pathnameBase:"/",_=s&&s.route;{let z=_&&_.path||"";bC(b,!_||z.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+b+'" (under <Route path="'+z+'">) 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="'+z+'"> to <Route ')+('path="'+(z==="/"?"*":z+"/*")+'">.'))}let D=ll(),w;if(u){var O;let z=typeof u=="string"?bo(u):u;S==="/"||(O=z.pathname)!=null&&O.startsWith(S)||St(!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 "'+S+'" ')+('but pathname "'+z.pathname+'" was given in the `location` prop.')),w=z}else w=D;let F=w.pathname||"/",W=F;if(S!=="/"){let z=S.replace(/^\//,"").split("/");W="/"+F.replace(/^\//,"").split("/").slice(z.length).join("/")}let K=lU(l,{pathname:W});Pa(_||K!=null,'No routes matched location "'+w.pathname+w.search+w.hash+'" '),Pa(K==null||K[K.length-1].route.element!==void 0||K[K.length-1].route.Component!==void 0||K[K.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 Y=BU(K&&K.map(z=>Object.assign({},z,{params:Object.assign({},E,z.params),pathname:Br([S,v.encodeLocation?v.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?S:Br([S,v.encodeLocation?v.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),h,f,p);return u&&Y?j.createElement(Es.Provider,{value:{location:hs({pathname:"/",search:"",hash:"",state:null,key:"default"},w),navigationType:hi.Pop}},Y):Y}function MU(){let l=IU(),u=xU(l)?l.status+" "+l.statusText:l instanceof Error?l.message:JSON.stringify(l),f=l instanceof Error?l.stack:null,p="rgba(200,200,200, 0.5)",v={padding:"0.5rem",backgroundColor:p},h={padding:"2px 4px",backgroundColor:p},s=null;return console.error("Error handled by React Router default ErrorBoundary:",l),s=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:h},"ErrorBoundary")," or"," ",j.createElement("code",{style:h},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},u),f?j.createElement("pre",{style:v},f):null,s)}const zU=j.createElement(MU,null);class jU extends j.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,f){return f.location!==u.location||f.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:f.error,location:f.location,revalidation:u.revalidation||f.revalidation}}componentDidCatch(u,f){console.error("React Router caught the following error during render",u,f)}render(){return this.state.error!==void 0?j.createElement(sr.Provider,{value:this.props.routeContext},j.createElement(Th.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function VU(l){let{routeContext:u,match:f,children:p}=l,v=j.useContext(bs);return v&&v.static&&v.staticContext&&(f.route.errorElement||f.route.ErrorBoundary)&&(v.staticContext._deepestRenderedBoundaryId=f.route.id),j.createElement(sr.Provider,{value:u},p)}function BU(l,u,f,p){var v;if(u===void 0&&(u=[]),f===void 0&&(f=null),p===void 0&&(p=null),l==null){var h;if(!f)return null;if(f.errors)l=f.matches;else if((h=p)!=null&&h.v7_partialHydration&&u.length===0&&!f.initialized&&f.matches.length>0)l=f.matches;else return null}let s=l,E=(v=f)==null?void 0:v.errors;if(E!=null){let _=s.findIndex(D=>D.route.id&&(E==null?void 0:E[D.route.id])!==void 0);_>=0||St(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(E).join(",")),s=s.slice(0,Math.min(s.length,_+1))}let b=!1,S=-1;if(f&&p&&p.v7_partialHydration)for(let _=0;_<s.length;_++){let D=s[_];if((D.route.HydrateFallback||D.route.hydrateFallbackElement)&&(S=_),D.route.id){let{loaderData:w,errors:O}=f,F=D.route.loader&&w[D.route.id]===void 0&&(!O||O[D.route.id]===void 0);if(D.route.lazy||F){b=!0,S>=0?s=s.slice(0,S+1):s=[s[0]];break}}}return s.reduceRight((_,D,w)=>{let O,F=!1,W=null,K=null;f&&(O=E&&D.route.id?E[D.route.id]:void 0,W=D.route.errorElement||zU,b&&(S<0&&w===0?(bC("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),F=!0,K=null):S===w&&(F=!0,K=D.route.hydrateFallbackElement||null)));let Y=u.concat(s.slice(0,w+1)),z=()=>{let P;return O?P=W:F?P=K:D.route.Component?P=j.createElement(D.route.Component,null):D.route.element?P=D.route.element:P=_,j.createElement(VU,{match:D,routeContext:{outlet:_,matches:Y,isDataRoute:f!=null},children:P})};return f&&(D.route.ErrorBoundary||D.route.errorElement||w===0)?j.createElement(jU,{location:f.location,revalidation:f.revalidation,component:W,error:O,children:z(),routeContext:{outlet:null,matches:Y,isDataRoute:!0}}):z()},null)}var gC=function(l){return l.UseBlocker="useBlocker",l.UseRevalidator="useRevalidator",l.UseNavigateStable="useNavigate",l}(gC||{}),ys=function(l){return l.UseBlocker="useBlocker",l.UseLoaderData="useLoaderData",l.UseActionData="useActionData",l.UseRouteError="useRouteError",l.UseNavigation="useNavigation",l.UseRouteLoaderData="useRouteLoaderData",l.UseMatches="useMatches",l.UseRevalidator="useRevalidator",l.UseNavigateStable="useNavigate",l.UseRouteId="useRouteId",l}(ys||{});function xh(l){return l+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function HU(l){let u=j.useContext(bs);return u||St(!1,xh(l)),u}function FU(l){let u=j.useContext(wh);return u||St(!1,xh(l)),u}function PU(l){let u=j.useContext(sr);return u||St(!1,xh(l)),u}function _h(l){let u=PU(l),f=u.matches[u.matches.length-1];return f.route.id||St(!1,l+' can only be used on routes that contain a unique "id"'),f.route.id}function $U(){return _h(ys.UseRouteId)}function IU(){var l;let u=j.useContext(Th),f=FU(ys.UseRouteError),p=_h(ys.UseRouteError);return u!==void 0?u:(l=f.errors)==null?void 0:l[p]}function YU(){let{router:l}=HU(gC.UseNavigateStable),u=_h(ys.UseNavigateStable),f=j.useRef(!1);return yC(()=>{f.current=!0}),j.useCallback(function(v,h){h===void 0&&(h={}),Pa(f.current,hC),f.current&&(typeof v=="number"?l.navigate(v):l.navigate(v,hs({fromRouteId:u},h)))},[l,u])}const WS={};function bC(l,u,f){!u&&!WS[l]&&(WS[l]=!0,Pa(!1,f))}const QS={};function qU(l,u){QS[u]||(QS[u]=!0,console.warn(u))}const KS=(l,u,f)=>qU(l,"⚠️ React Router Future Flag Warning: "+u+". "+("You can use the `"+l+"` future flag to opt-in early. ")+("For more information, see "+f+"."));function GU(l,u){(l==null?void 0:l.v7_startTransition)===void 0&&KS("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(l==null?void 0:l.v7_relativeSplatPath)===void 0&&KS("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Hf(l){St(!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 WU(l){let{basename:u="/",children:f=null,location:p,navigationType:v=hi.Pop,navigator:h,static:s=!1,future:E}=l;Ss()&&St(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let b=u.replace(/^\/*/,"/"),S=j.useMemo(()=>({basename:b,navigator:h,static:s,future:hs({v7_relativeSplatPath:!1},E)}),[b,E,h,s]);typeof p=="string"&&(p=bo(p));let{pathname:_="/",search:D="",hash:w="",state:O=null,key:F="default"}=p,W=j.useMemo(()=>{let K=gi(_,b);return K==null?null:{location:{pathname:K,search:D,hash:w,state:O,key:F},navigationType:v}},[b,_,D,w,O,F,v]);return Pa(W!=null,'<Router basename="'+b+'"> is not able to match the URL '+('"'+_+D+w+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),W==null?null:j.createElement($a.Provider,{value:S},j.createElement(Es.Provider,{children:f,value:W}))}function QU(l){let{children:u,location:f}=l;return LU(gh(u),f)}new Promise(()=>{});function gh(l,u){u===void 0&&(u=[]);let f=[];return j.Children.forEach(l,(p,v)=>{if(!j.isValidElement(p))return;let h=[...u,v];if(p.type===j.Fragment){f.push.apply(f,gh(p.props.children,h));return}p.type!==Hf&&St(!1,"["+(typeof p.type=="string"?p.type:p.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!p.props.index||!p.props.children||St(!1,"An index route cannot have child routes.");let s={id:p.props.id||h.join("-"),caseSensitive:p.props.caseSensitive,element:p.props.element,Component:p.props.Component,index:p.props.index,path:p.props.path,loader:p.props.loader,action:p.props.action,errorElement:p.props.errorElement,ErrorBoundary:p.props.ErrorBoundary,hasErrorBoundary:p.props.ErrorBoundary!=null||p.props.errorElement!=null,shouldRevalidate:p.props.shouldRevalidate,handle:p.props.handle,lazy:p.props.lazy};p.props.children&&(s.children=gh(p.props.children,h)),f.push(s)}),f}/**
- * 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 po(){return po=Object.assign?Object.assign.bind():function(l){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(l[p]=f[p])}return l},po.apply(null,arguments)}function Dh(l,u){if(l==null)return{};var f={};for(var p in l)if({}.hasOwnProperty.call(l,p)){if(u.indexOf(p)!==-1)continue;f[p]=l[p]}return f}const Ff="get",Pf="application/x-www-form-urlencoded";function Gf(l){return l!=null&&typeof l.tagName=="string"}function KU(l){return Gf(l)&&l.tagName.toLowerCase()==="button"}function JU(l){return Gf(l)&&l.tagName.toLowerCase()==="form"}function XU(l){return Gf(l)&&l.tagName.toLowerCase()==="input"}function ZU(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function ek(l,u){return l.button===0&&(!u||u==="_self")&&!ZU(l)}let jf=null;function tk(){if(jf===null)try{new FormData(document.createElement("form"),0),jf=!1}catch{jf=!0}return jf}const nk=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function uh(l){return l!=null&&!nk.has(l)?(Pa(!1,'"'+l+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Pf+'"')),null):l}function ak(l,u){let f,p,v,h,s;if(JU(l)){let E=l.getAttribute("action");p=E?gi(E,u):null,f=l.getAttribute("method")||Ff,v=uh(l.getAttribute("enctype"))||Pf,h=new FormData(l)}else if(KU(l)||XU(l)&&(l.type==="submit"||l.type==="image")){let E=l.form;if(E==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=l.getAttribute("formaction")||E.getAttribute("action");if(p=b?gi(b,u):null,f=l.getAttribute("formmethod")||E.getAttribute("method")||Ff,v=uh(l.getAttribute("formenctype"))||uh(E.getAttribute("enctype"))||Pf,h=new FormData(E,l),!tk()){let{name:S,type:_,value:D}=l;if(_==="image"){let w=S?S+".":"";h.append(w+"x","0"),h.append(w+"y","0")}else S&&h.append(S,D)}}else{if(Gf(l))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');f=Ff,p=null,v=Pf,s=l}return h&&v==="text/plain"&&(s=h,h=void 0),{action:p,method:f.toLowerCase(),encType:v,formData:h,body:s}}const rk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ik=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],lk=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],ok="6";try{window.__reactRouterVersion=ok}catch{}const EC=j.createContext({isTransitioning:!1});EC.displayName="ViewTransition";const uk=j.createContext(new Map);uk.displayName="Fetchers";const sk="startTransition",JS=eU[sk];function ck(l){let{basename:u,children:f,future:p,window:v}=l,h=j.useRef();h.current==null&&(h.current=aU({window:v,v5Compat:!0}));let s=h.current,[E,b]=j.useState({action:s.action,location:s.location}),{v7_startTransition:S}=p||{},_=j.useCallback(D=>{S&&JS?JS(()=>b(D)):b(D)},[b,S]);return j.useLayoutEffect(()=>s.listen(_),[s,_]),j.useEffect(()=>GU(p),[p]),j.createElement(WU,{basename:u,children:f,location:E.location,navigationType:E.action,navigator:s,future:p})}const fk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vo=j.forwardRef(function(u,f){let{onClick:p,relative:v,reloadDocument:h,replace:s,state:E,target:b,to:S,preventScrollReset:_,viewTransition:D}=u,w=Dh(u,rk),{basename:O}=j.useContext($a),F,W=!1;if(typeof S=="string"&&dk.test(S)&&(F=S,fk))try{let P=new URL(window.location.href),Q=S.startsWith("//")?new URL(P.protocol+S):new URL(S),X=gi(Q.pathname,O);Q.origin===P.origin&&X!=null?S=X+Q.search+Q.hash:W=!0}catch{Pa(!1,'<Link to="'+S+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let K=UU(S,{relative:v}),Y=hk(S,{replace:s,state:E,target:b,preventScrollReset:_,relative:v,viewTransition:D});function z(P){p&&p(P),P.defaultPrevented||Y(P)}return j.createElement("a",po({},w,{href:F||K,onClick:W||h?p:z,ref:f,target:b}))});vo.displayName="Link";const pk=j.forwardRef(function(u,f){let{"aria-current":p="page",caseSensitive:v=!1,className:h="",end:s=!1,style:E,to:b,viewTransition:S,children:_}=u,D=Dh(u,ik),w=Cs(b,{relative:D.relative}),O=ll(),F=j.useContext(wh),{navigator:W,basename:K}=j.useContext($a),Y=F!=null&&Ck(w)&&S===!0,z=W.encodeLocation?W.encodeLocation(w).pathname:w.pathname,P=O.pathname,Q=F&&F.navigation&&F.navigation.location?F.navigation.location.pathname:null;v||(P=P.toLowerCase(),Q=Q?Q.toLowerCase():null,z=z.toLowerCase()),Q&&K&&(Q=gi(Q,K)||Q);const X=z!=="/"&&z.endsWith("/")?z.length-1:z.length;let ye=P===z||!s&&P.startsWith(z)&&P.charAt(X)==="/",de=Q!=null&&(Q===z||!s&&Q.startsWith(z)&&Q.charAt(z.length)==="/"),We={isActive:ye,isPending:de,isTransitioning:Y},je=ye?p:void 0,Pe;typeof h=="function"?Pe=h(We):Pe=[h,ye?"active":null,de?"pending":null,Y?"transitioning":null].filter(Boolean).join(" ");let rt=typeof E=="function"?E(We):E;return j.createElement(vo,po({},D,{"aria-current":je,className:Pe,ref:f,style:rt,to:b,viewTransition:S}),typeof _=="function"?_(We):_)});pk.displayName="NavLink";const vk=j.forwardRef((l,u)=>{let{fetcherKey:f,navigate:p,reloadDocument:v,replace:h,state:s,method:E=Ff,action:b,onSubmit:S,relative:_,preventScrollReset:D,viewTransition:w}=l,O=Dh(l,lk),F=Ek(),W=Sk(b,{relative:_}),K=E.toLowerCase()==="get"?"get":"post",Y=z=>{if(S&&S(z),z.defaultPrevented)return;z.preventDefault();let P=z.nativeEvent.submitter,Q=(P==null?void 0:P.getAttribute("formmethod"))||E;F(P||z.currentTarget,{fetcherKey:f,method:Q,navigate:p,replace:h,state:s,relative:_,preventScrollReset:D,viewTransition:w})};return j.createElement("form",po({ref:u,method:K,action:W,onSubmit:v?S:Y},O))});vk.displayName="Form";var If;(function(l){l.UseScrollRestoration="useScrollRestoration",l.UseSubmit="useSubmit",l.UseSubmitFetcher="useSubmitFetcher",l.UseFetcher="useFetcher",l.useViewTransitionState="useViewTransitionState"})(If||(If={}));var XS;(function(l){l.UseFetcher="useFetcher",l.UseFetchers="useFetchers",l.UseScrollRestoration="useScrollRestoration"})(XS||(XS={}));function mk(l){return l+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function SC(l){let u=j.useContext(bs);return u||St(!1,mk(l)),u}function hk(l,u){let{target:f,replace:p,state:v,preventScrollReset:h,relative:s,viewTransition:E}=u===void 0?{}:u,b=Nh(),S=ll(),_=Cs(l,{relative:s});return j.useCallback(D=>{if(ek(D,f)){D.preventDefault();let w=p!==void 0?p:ms(S)===ms(_);b(l,{replace:w,state:v,preventScrollReset:h,relative:s,viewTransition:E})}},[S,b,_,p,v,f,l,h,s,E])}function yk(){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 gk=0,bk=()=>"__"+String(++gk)+"__";function Ek(){let{router:l}=SC(If.UseSubmit),{basename:u}=j.useContext($a),f=$U();return j.useCallback(function(p,v){v===void 0&&(v={}),yk();let{action:h,method:s,encType:E,formData:b,body:S}=ak(p,u);if(v.navigate===!1){let _=v.fetcherKey||bk();l.fetch(_,f,v.action||h,{preventScrollReset:v.preventScrollReset,formData:b,body:S,formMethod:v.method||s,formEncType:v.encType||E,flushSync:v.flushSync})}else l.navigate(v.action||h,{preventScrollReset:v.preventScrollReset,formData:b,body:S,formMethod:v.method||s,formEncType:v.encType||E,replace:v.replace,state:v.state,fromRouteId:f,flushSync:v.flushSync,viewTransition:v.viewTransition})},[l,u,f])}function Sk(l,u){let{relative:f}=u===void 0?{}:u,{basename:p}=j.useContext($a),v=j.useContext(sr);v||St(!1,"useFormAction must be used inside a RouteContext");let[h]=v.matches.slice(-1),s=po({},Cs(l||".",{relative:f})),E=ll();if(l==null){s.search=E.search;let b=new URLSearchParams(s.search),S=b.getAll("index");if(S.some(D=>D==="")){b.delete("index"),S.filter(w=>w).forEach(w=>b.append("index",w));let D=b.toString();s.search=D?"?"+D:""}}return(!l||l===".")&&h.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),p!=="/"&&(s.pathname=s.pathname==="/"?p:Br([p,s.pathname])),ms(s)}function Ck(l,u){u===void 0&&(u={});let f=j.useContext(EC);f==null&&St(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:p}=SC(If.useViewTransitionState),v=Cs(l,{relative:u.relative});if(!f.isTransitioning)return!1;let h=gi(f.currentLocation.pathname,p)||f.currentLocation.pathname,s=gi(f.nextLocation.pathname,p)||f.nextLocation.pathname;return yh(v.pathname,s)!=null||yh(v.pathname,h)!=null}const Rk="_wrapper_divff_1",wk="_header_divff_7",Tk="_headerInner_divff_19",Nk="_logo_divff_28",xk="_newBtn_divff_34",_k="_main_divff_48",co={wrapper:Rk,header:wk,headerInner:Tk,logo:Nk,newBtn:xk,main:_k};function Dk({children:l}){const f=ll().pathname==="/";return x.jsxDEV("div",{className:co.wrapper,children:[x.jsxDEV("header",{className:co.header,children:x.jsxDEV("div",{className:co.headerInner,children:[x.jsxDEV(vo,{to:"/",className:co.logo,children:"Playable Ads"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:13,columnNumber:11},this),f&&x.jsxDEV(vo,{to:"/creatives/new",className:co.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),x.jsxDEV("main",{className:co.main,children:l},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 bh="/ads/api/v1".replace(/\/+$/,"");async function Wn(l,u){var p;const f=await fetch(`${bh}${l}`,{headers:{"Content-Type":"application/json"},...u});if(!f.ok){const v=await f.json().catch(()=>({}));throw new Error(((p=v.error)==null?void 0:p.message)||`HTTP ${f.status}`)}return f.json()}const hn={getTemplates:()=>Wn("/templates"),getTemplate:l=>Wn(`/templates/${l}`),getCreatives:l=>{const u=l?"?"+new URLSearchParams(l).toString():"";return Wn(`/creatives${u}`)},createCreative:l=>Wn("/creatives",{method:"POST",body:JSON.stringify(l)}),getCreative:l=>Wn(`/creatives/${l}`),updateCreative:(l,u)=>Wn(`/creatives/${l}`,{method:"PATCH",body:JSON.stringify(u)}),deleteCreative:l=>Wn(`/creatives/${l}`,{method:"DELETE"}),uploadAssets:(l,u)=>{const f=new FormData;return f.append("file",u),fetch(`${bh}/creatives/${l}/assets/upload`,{method:"POST",body:f}).then(p=>p.ok?p.json():p.json().then(v=>{var h;throw new Error((h=v.error)==null?void 0:h.message)}))},importFromUrl:(l,u)=>Wn(`/creatives/${l}/assets/upload`,{method:"POST",body:JSON.stringify({url:u})}),uploadAssetFile:(l,u,f)=>{const p=new FormData;return p.append("file",f),fetch(`${bh}/creatives/${l}/assets/${u}`,{method:"POST",body:p}).then(v=>v.ok?v.json():v.json().then(h=>{var s;throw new Error((s=h.error)==null?void 0:s.message)}))},clearAssets:l=>Wn(`/creatives/${l}/assets`,{method:"DELETE"}),startPreview:(l,u)=>Wn(`/creatives/${l}/preview/start`,{method:"POST",body:u?JSON.stringify({theme:u}):void 0}),stopPreview:l=>Wn(`/creatives/${l}/preview/stop`,{method:"POST"}),triggerBuild:(l,u)=>Wn(`/creatives/${l}/builds`,{method:"POST",body:JSON.stringify(u)}),getBuilds:l=>Wn(`/creatives/${l}/builds`),getBuildStatus:l=>Wn(`/builds/${l}/status`)},Uk="_grid_stzwd_1",kk="_card_stzwd_7",Ok="_cardTitle_stzwd_21",Lk="_cardMeta_stzwd_27",Ak="_status_stzwd_35",Mk="_cardTime_stzwd_39",zk="_state_stzwd_44",jk="_empty_stzwd_50",Vk="_emptyTitle_stzwd_55",Bk="_emptyDesc_stzwd_61",Hk="_emptyBtn_stzwd_66",ba={grid:Uk,card:kk,cardTitle:Ok,cardMeta:Lk,status:Ak,cardTime:Mk,state:zk,empty:jk,emptyTitle:Vk,emptyDesc:Bk,emptyBtn:Hk};function Fk(){const[l,u]=j.useState([]),[f,p]=j.useState(!0),[v,h]=j.useState("");j.useEffect(()=>{hn.getCreatives().then(b=>u(b.data)).catch(b=>h(b.message)).finally(()=>p(!1))},[]);const s={draft:"草稿",assets_ready:"素材已就绪",building:"构建中",built:"已构建",failed:"失败"},E={draft:"#86868b",assets_ready:"#0071e3",building:"#ff9500",built:"#34c759",failed:"#ff3b30"};return f?x.jsxDEV("div",{className:ba.state,children:"加载中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:37,columnNumber:12},this):v?x.jsxDEV("div",{className:ba.state,children:["加载失败:",v]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:41,columnNumber:12},this):l.length===0?x.jsxDEV("div",{className:ba.empty,children:[x.jsxDEV("p",{className:ba.emptyTitle,children:"暂无创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:47,columnNumber:9},this),x.jsxDEV("p",{className:ba.emptyDesc,children:'点击"新建创意"开始制作 Playable 广告'},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:48,columnNumber:9},this),x.jsxDEV(vo,{to:"/creatives/new",className:ba.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):x.jsxDEV("div",{className:ba.grid,children:l.map(b=>x.jsxDEV(vo,{to:`/creatives/${b.id}`,className:ba.card,children:[x.jsxDEV("h3",{className:ba.cardTitle,children:b.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:60,columnNumber:11},this),x.jsxDEV("div",{className:ba.cardMeta,children:[x.jsxDEV("span",{children:["模板:",b.templateName]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:62,columnNumber:13},this),x.jsxDEV("span",{className:ba.status,style:{color:E[b.status]},children:["● ",s[b.status]||b.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),x.jsxDEV("div",{className:ba.cardTime,children:["更新于 ",new Date(b.updatedAt).toLocaleString("zh-CN")]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:70,columnNumber:11},this)]},b.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 Pk="_container_3l872_1",$k="_back_3l872_5",Ik="_title_3l872_14",Yk="_form_3l872_20",qk="_section_3l872_26",Gk="_label_3l872_32",Wk="_input_3l872_38",Qk="_templateList_3l872_51",Kk="_templateCard_3l872_57",Jk="_selected_3l872_68",Xk="_templateInfo_3l872_77",Zk="_templateDesc_3l872_83",eO="_templateMeta_3l872_88",tO="_error_3l872_93",nO="_actions_3l872_98",aO="_cancelBtn_3l872_104",rO="_submitBtn_3l872_112",It={container:Pk,back:$k,title:Ik,form:Yk,section:qk,label:Gk,input:Wk,templateList:Qk,templateCard:Kk,selected:Jk,templateInfo:Xk,templateDesc:Zk,templateMeta:eO,error:tO,actions:nO,cancelBtn:aO,submitBtn:rO};function iO(){const l=Nh(),[u,f]=j.useState([]),[p,v]=j.useState("coloring"),[h,s]=j.useState(""),[E,b]=j.useState(!1),[S,_]=j.useState("");j.useEffect(()=>{hn.getTemplates().then(w=>{f(w.data),w.data.length>0&&v(w.data[0].id)}).catch(w=>_(w.message))},[]);async function D(w){if(w.preventDefault(),!!h.trim()){b(!0),_("");try{const O=await hn.createCreative({name:h.trim(),templateId:p});l(`/creatives/${O.data.id}`)}catch(O){_(O.message)}finally{b(!1)}}}return x.jsxDEV("div",{className:It.container,children:[x.jsxDEV("button",{onClick:()=>l(-1),className:It.back,children:"← 返回"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:47,columnNumber:7},this),x.jsxDEV("h2",{className:It.title,children:"新建创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:51,columnNumber:7},this),x.jsxDEV("form",{onSubmit:D,className:It.form,children:[x.jsxDEV("div",{className:It.section,children:[x.jsxDEV("label",{className:It.label,children:"选择模板"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:55,columnNumber:11},this),x.jsxDEV("div",{className:It.templateList,children:u.map(w=>x.jsxDEV("label",{className:`${It.templateCard} ${p===w.id?It.selected:""}`,children:[x.jsxDEV("input",{type:"radio",name:"template",value:w.id,checked:p===w.id,onChange:()=>v(w.id)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:64,columnNumber:17},this),x.jsxDEV("div",{className:It.templateInfo,children:[x.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),x.jsxDEV("span",{className:It.templateDesc,children:w.description},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:73,columnNumber:19},this),x.jsxDEV("span",{className:It.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),x.jsxDEV("div",{className:It.section,children:[x.jsxDEV("label",{className:It.label,htmlFor:"name",children:"创意名称"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:85,columnNumber:11},this),x.jsxDEV("input",{id:"name",type:"text",className:It.input,placeholder:"例如:萌宠填色-谷歌渠道",value:h,onChange:w=>s(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),S&&x.jsxDEV("p",{className:It.error,children:S},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:100,columnNumber:19},this),x.jsxDEV("div",{className:It.actions,children:[x.jsxDEV("button",{type:"button",className:It.cancelBtn,onClick:()=>l(-1),children:"取消"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:103,columnNumber:11},this),x.jsxDEV("button",{type:"submit",className:It.submitBtn,disabled:!h.trim()||E,children:E?"创建中…":"创建"},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 lO="_wrapper_1v25v_1",oO="_tabs_1v25v_8",uO="_tab_1v25v_8",sO="_tabActive_1v25v_31",cO="_urlRow_1v25v_37",fO="_urlInput_1v25v_42",dO="_urlBtn_1v25v_56",pO="_dropZone_1v25v_72",vO="_fileInput_1v25v_90",mO="_dropIcon_1v25v_94",hO="_dropText_1v25v_98",yO="_dropHint_1v25v_103",gO="_fileList_1v25v_108",bO="_fileListHeader_1v25v_114",EO="_clearBtn_1v25v_125",SO="_fileItem_1v25v_132",CO="_fileItemClickable_1v25v_140",RO="_thumbLoading_1v25v_151",wO="_replaceHint_1v25v_161",TO="_divider_1v25v_166",NO="_sectionLabel_1v25v_171",xO="_dimensions_1v25v_180",_O="_dimensionsHint_1v25v_189",DO="_thumb_1v25v_151",UO="_fileOk_1v25v_204",kO="_fileMissing_1v25v_205",OO="_fileName_1v25v_207",LO="_fileLabel_1v25v_215",AO="_fileSize_1v25v_221",MO="_warnings_1v25v_226",zO="_error_1v25v_239",jO="_hint_1v25v_244",De={wrapper:lO,tabs:oO,tab:uO,tabActive:sO,urlRow:cO,urlInput:fO,urlBtn:dO,dropZone:pO,fileInput:vO,dropIcon:mO,dropText:hO,dropHint:yO,fileList:gO,fileListHeader:bO,clearBtn:EO,fileItem:SO,fileItemClickable:CO,thumbLoading:RO,replaceHint:wO,divider:TO,sectionLabel:NO,dimensions:xO,dimensionsHint:_O,thumb:DO,fileOk:UO,fileMissing:kO,fileName:OO,fileLabel:LO,fileSize:AO,warnings:MO,error:zO,hint:jO},ZS="/ads/api/v1".replace(/\/+$/,""),VO=new Set([".png",".jpg",".jpeg",".gif",".webp",".svg"]);function eC(l){const u=l.substring(l.lastIndexOf(".")).toLowerCase();return VO.has(u)}function BO({creativeId:l,assets:u,assetDefs:f,onUpdated:p}){const[v,h]=j.useState("file"),[s,E]=j.useState(!1),[b,S]=j.useState(null),[_,D]=j.useState(""),[w,O]=j.useState(null),[F,W]=j.useState(""),[K,Y]=j.useState({}),z=j.useRef({});function P(Z,ue){const Ke=ue.currentTarget;Y(Xe=>({...Xe,[Z]:`${Ke.naturalWidth}×${Ke.naturalHeight}`}))}async function Q(Z){var Ke;const ue=(Ke=Z.target.files)==null?void 0:Ke[0];if(ue){E(!0),W(""),O(null);try{const Xe=await hn.uploadAssets(l,ue);O(Xe.data),p()}catch(Xe){W(Xe.message)}finally{E(!1),Z.target.value=""}}}async function X(){if(_.trim()){E(!0),W(""),O(null);try{const Z=await hn.importFromUrl(l,_.trim());O(Z.data),p()}catch(Z){W(Z.message)}finally{E(!1)}}}function ye(Z){var ue;(ue=z.current[Z])==null||ue.click()}async function de(Z,ue){var Xe;const Ke=(Xe=ue.target.files)==null?void 0:Xe[0];if(Ke){S(Z),W("");try{await hn.uploadAssetFile(l,Z,Ke),p()}catch(Nt){W(Nt.message)}finally{S(null),ue.target.value=""}}}async function We(){if(confirm("确认清除所有素材?"))try{await hn.clearAssets(l),O(null),D(""),p()}catch(Z){W(Z.message)}}const je=[...f.required,...f.optional],Pe=f.required.every(Z=>u.some(ue=>ue.key===Z.key)),rt=new Set(["special"]),Je=f.optional.filter(Z=>eC(Z.file)&&!rt.has(Z.key)),pe=new Set(Je.map(Z=>Z.key)),yt=je.filter(Z=>!pe.has(Z.key)),it=je.filter(Z=>pe.has(Z.key));return x.jsxDEV("div",{className:De.wrapper,children:[x.jsxDEV("div",{className:De.tabs,children:[x.jsxDEV("button",{className:`${De.tab} ${v==="file"?De.tabActive:""}`,onClick:()=>h("file"),children:"上传 ZIP"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:136,columnNumber:9},this),x.jsxDEV("button",{className:`${De.tab} ${v==="url"?De.tabActive:""}`,onClick:()=>h("url"),children:"素材 URL"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:142,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:135,columnNumber:7},this),v==="file"&&x.jsxDEV("label",{className:De.dropZone,children:[x.jsxDEV("input",{type:"file",accept:".zip",onChange:Q,disabled:s,className:De.fileInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:153,columnNumber:11},this),x.jsxDEV("span",{className:De.dropIcon,children:"📦"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:160,columnNumber:11},this),x.jsxDEV("span",{className:De.dropText,children:s?"解压中…":"拖拽或点击上传素材 zip"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:161,columnNumber:11},this),x.jsxDEV("span",{className:De.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:164,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:152,columnNumber:9},this),v==="url"&&x.jsxDEV("div",{className:De.urlRow,children:[x.jsxDEV("input",{type:"url",className:De.urlInput,placeholder:"https://color2.jccytech.cn/app/zh/pages/detail/6a15...",value:_,onChange:Z=>D(Z.target.value),disabled:s},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:173,columnNumber:11},this),x.jsxDEV("button",{onClick:X,disabled:!_.trim()||s,className:De.urlBtn,children:s?"获取中…":"导入"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:181,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:172,columnNumber:9},this),w&&w.warnings.length>0&&x.jsxDEV("div",{className:De.warnings,children:w.warnings.map((Z,ue)=>x.jsxDEV("p",{children:["⚠️ ",Z]},ue,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:195,columnNumber:13},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:193,columnNumber:9},this),F&&x.jsxDEV("p",{className:De.error,children:F},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:200,columnNumber:17},this),x.jsxDEV("div",{className:De.fileList,children:[x.jsxDEV("div",{className:De.fileListHeader,children:[x.jsxDEV("span",{children:"素材文件"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:205,columnNumber:11},this),u.length>0&&x.jsxDEV("button",{onClick:We,className:De.clearBtn,children:"清除素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:207,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:204,columnNumber:9},this),x.jsxDEV("div",{className:De.sectionLabel,children:"填色素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:214,columnNumber:9},this),yt.map(Z=>{const ue=u.find(Nt=>Nt.key===Z.key),Ke=f.required.some(Nt=>Nt.key===Z.key),Xe=ue&&eC(Z.file);return x.jsxDEV("div",{className:De.fileItem,children:[Xe?x.jsxDEV("img",{className:De.thumb,src:`${ZS}/creatives/${l}/assets/${Z.key}`,alt:Z.label,onLoad:Nt=>P(Z.key,Nt)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:223,columnNumber:17},this):x.jsxDEV("span",{className:ue?De.fileOk:De.fileMissing,children:ue?"✅":Ke?"❌":"⬜"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:230,columnNumber:17},this),x.jsxDEV("span",{className:De.fileName,children:Z.file},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:234,columnNumber:15},this),x.jsxDEV("span",{className:De.fileLabel,children:[Z.label," ",!Ke&&!ue?"(无)":Ke?"":"(选填)",K[Z.key]&&x.jsxDEV("span",{className:De.dimensions,children:K[Z.key]},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:237,columnNumber:38},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:235,columnNumber:15},this),ue&&x.jsxDEV("span",{className:De.fileSize,children:[(ue.fileSize/1024).toFixed(0)," KB"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:240,columnNumber:17},this)]},Z.key,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:221,columnNumber:13},this)}),it.length>0&&x.jsxDEV(x.Fragment,{children:[x.jsxDEV("div",{className:De.divider},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:251,columnNumber:13},this),x.jsxDEV("div",{className:De.sectionLabel,children:"品牌素材 · 点击可替换"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:252,columnNumber:13},this),it.map(Z=>{const ue=u.find(Xe=>Xe.key===Z.key),Ke=b===Z.key;return x.jsxDEV("div",{className:`${De.fileItem} ${De.fileItemClickable}`,onClick:()=>ye(Z.key),title:"点击上传替换",children:[x.jsxDEV("input",{type:"file",accept:Z.accept||".png,.jpg,.jpeg",ref:Xe=>{z.current[Z.key]=Xe},onChange:Xe=>de(Z.key,Xe),className:De.fileInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:264,columnNumber:19},this),Ke?x.jsxDEV("span",{className:De.thumbLoading,children:"⏳"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:273,columnNumber:21},this):x.jsxDEV("img",{className:De.thumb,src:`${ZS}/creatives/${l}/assets/${Z.key}`,alt:Z.label,onLoad:Xe=>P(Z.key,Xe)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:275,columnNumber:21},this),x.jsxDEV("span",{className:De.fileName,children:Z.file},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:282,columnNumber:19},this),x.jsxDEV("span",{className:De.fileLabel,children:[Z.label,K[Z.key]&&x.jsxDEV("span",{className:De.dimensions,children:K[Z.key]},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:285,columnNumber:42},this),Z.dimensions&&x.jsxDEV("span",{className:De.dimensionsHint,children:["建议 ",Z.dimensions]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:287,columnNumber:23},this),ue&&x.jsxDEV("span",{className:De.replaceHint,children:" 🔄"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:289,columnNumber:31},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:283,columnNumber:19},this),x.jsxDEV("span",{className:De.fileSize,children:ue?`${(ue.fileSize/1024).toFixed(0)} KB`:Z.defaultFileSize?`${(Z.defaultFileSize/1024).toFixed(0)} KB`:""},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:291,columnNumber:19},this)]},Z.key,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:258,columnNumber:17},this)})]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:250,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:203,columnNumber:7},this),!Pe&&x.jsxDEV("p",{className:De.hint,children:"请上传包含所有必填文件的 zip 包"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:306,columnNumber:9},this),!Pe&&u.length>0&&x.jsxDEV("p",{className:De.hint,children:"请上传包含所有必填文件的 zip 包"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:310,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:133,columnNumber:5},this)}const HO="_wrapper_ymyhm_1",FO="_preview_ymyhm_7",PO="_stops_ymyhm_14",$O="_stopItem_ymyhm_20",IO="_colorPicker_ymyhm_26",YO="_stopLabel_ymyhm_45",qO="_rawInput_ymyhm_51",GO="_fallback_ymyhm_65",mi={wrapper:HO,preview:FO,stops:PO,stopItem:$O,colorPicker:IO,stopLabel:YO,rawInput:qO,fallback:GO};function WO(l){const u=l.match(/linear-gradient\(([^,]+),\s*(.+)\)/);if(!u)return null;const f=u[1].trim(),p=u[2],v=[],h=p.split(/,(?![^(]*\))/);for(const s of h){const E=s.trim(),b=E.match(/^(.+?)\s+(\d+%)$/);b?v.push({color:b[1].trim(),position:b[2]}):v.push({color:E,position:""})}return{direction:f,stops:v}}function QO(l,u){const f=u.map(p=>p.position?`${p.color} ${p.position}`:p.color).join(", ");return`linear-gradient(${l}, ${f})`}function KO({value:l,onChange:u}){const f=j.useMemo(()=>WO(l),[l]);if(!f)return x.jsxDEV("input",{type:"text",value:l,onChange:v=>u(v.target.value),className:mi.fallback},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:56,columnNumber:7},this);function p(v,h){const s=f.stops.map((E,b)=>b===v?{...E,color:h}:E);u(QO(f.direction,s))}return x.jsxDEV("div",{className:mi.wrapper,children:[x.jsxDEV("div",{className:mi.preview,style:{background:l},title:l},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:75,columnNumber:7},this),x.jsxDEV("div",{className:mi.stops,children:f.stops.map((v,h)=>x.jsxDEV("div",{className:mi.stopItem,children:[x.jsxDEV("input",{type:"color",value:v.color,onChange:s=>p(h,s.target.value),className:mi.colorPicker},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:85,columnNumber:13},this),x.jsxDEV("span",{className:mi.stopLabel,children:[v.color,v.position&&` ${v.position}`]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:91,columnNumber:13},this)]},h,!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),x.jsxDEV("input",{type:"text",value:l,onChange:v=>u(v.target.value),className:mi.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 JO="_wrapper_1p2kt_1",XO="_empty_1p2kt_7",ZO="_field_1p2kt_12",eL="_label_1p2kt_18",tL="_textInput_1p2kt_24",nL="_colorRow_1p2kt_36",aL="_colorInput_1p2kt_42",rL="_colorValue_1p2kt_51",iL="_saveBtn_1p2kt_57",ur={wrapper:JO,empty:XO,field:ZO,label:eL,textInput:tL,colorRow:nL,colorInput:aL,colorValue:rL,saveBtn:iL};function lL({creativeId:l,theme:u,themeProps:f,onUpdated:p}){const[v,h]=j.useState({}),[s,E]=j.useState(!1),[b,S]=j.useState(!1);if(j.useEffect(()=>{const w={};for(const O of f)w[O.key]=u[O.key]??O.default;h(w)},[u,f]),f.length===0)return x.jsxDEV("p",{className:ur.empty,children:"此模板无可配置的主题参数。"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:29,columnNumber:12},this);const _=JSON.stringify(v)!==JSON.stringify(Object.fromEntries(f.map(w=>[w.key,u[w.key]??w.default])));async function D(){E(!0);try{await hn.updateCreative(l,{theme:v}),S(!0),setTimeout(()=>S(!1),2e3),p()}catch{}finally{E(!1)}}return x.jsxDEV("div",{className:ur.wrapper,children:[f.map(w=>x.jsxDEV("div",{className:ur.field,children:[x.jsxDEV("label",{className:ur.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"?x.jsxDEV("div",{className:ur.colorRow,children:[x.jsxDEV("input",{type:"color",value:v[w.key]||w.default,onChange:O=>h(F=>({...F,[w.key]:O.target.value})),className:ur.colorInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:59,columnNumber:15},this),x.jsxDEV("span",{className:ur.colorValue,children:v[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"?x.jsxDEV("input",{type:"text",value:v[w.key]||"",maxLength:w.maxLength,onChange:O=>h(F=>({...F,[w.key]:O.target.value})),className:ur.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"?x.jsxDEV(KO,{value:v[w.key]||w.default,onChange:O=>h(F=>({...F,[w.key]:O}))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:82,columnNumber:13},this):x.jsxDEV("input",{type:"text",value:v[w.key]||w.default,onChange:O=>h(F=>({...F,[w.key]:O.target.value})),className:ur.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)),x.jsxDEV("button",{onClick:D,disabled:!_||s,className:ur.saveBtn,children:s?"保存中…":b?"已保存 ✓":"保存主题"},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 oL="_wrapper_1olln_1",uL="_label_1olln_9",sL="_chip_1olln_16",cL="_on_1olln_29",fL="_checkbox_1olln_35",ds={wrapper:oL,label:uL,chip:sL,on:cL,checkbox:fL};function dL({platforms:l,selected:u,onChange:f}){const p=new Set(u);function v(h){p.has(h)?f(u.filter(s=>s!==h)):f([...u,h])}return x.jsxDEV("div",{className:ds.wrapper,children:[x.jsxDEV("span",{className:ds.label,children:"目标平台:"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:22,columnNumber:7},this),l.map(h=>x.jsxDEV("label",{className:`${ds.chip} ${p.has(h)?ds.on:""}`,children:[x.jsxDEV("input",{type:"checkbox",checked:p.has(h),onChange:()=>v(h),className:ds.checkbox},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:28,columnNumber:11},this),h]},h,!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 pL="_wrapper_ta51n_1",vL="_buildBtn_ta51n_8",mL="_spinner_ta51n_31",hL="_hint_ta51n_44",yL="_error_ta51n_49",gL="_success_ta51n_54",fo={wrapper:pL,buildBtn:vL,spinner:mL,hint:hL,error:yL,success:gL};function bL({creativeId:l,creativeStatus:u,selectedPlatforms:f,theme:p,themeProps:v,onBuildComplete:h}){const[s,E]=j.useState(!1),[b,S]=j.useState(null),[_,D]=j.useState(""),w=u==="assets_ready"||u==="built";async function O(){if(f.length===0){D("请至少选择一个目标平台");return}E(!0),D(""),S(null);try{const W={};for(const z of v)W[z.key]=p[z.key]??z.default;const Y=(await hn.triggerBuild(l,{platforms:f,theme:W})).data.id;S(Y),await F(Y),h()}catch(W){D(W.message)}finally{E(!1)}}async function F(W){return new Promise((K,Y)=>{const z=setInterval(async()=>{try{const P=await hn.getBuildStatus(W);P.data.status==="completed"?(clearInterval(z),K()):P.data.status==="failed"&&(clearInterval(z),Y(new Error(P.data.errorLog||"构建失败")))}catch(P){clearInterval(z),Y(P)}},2e3);setTimeout(()=>{clearInterval(z),Y(new Error("构建超时,请刷新查看状态"))},12e4)})}return x.jsxDEV("div",{className:fo.wrapper,children:[x.jsxDEV("button",{onClick:O,disabled:!w||s,className:fo.buildBtn,children:s?x.jsxDEV(x.Fragment,{children:[x.jsxDEV("span",{className:fo.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&&x.jsxDEV("p",{className:fo.hint,children:"请先上传素材后再构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:107,columnNumber:9},this),_&&x.jsxDEV("p",{className:fo.error,children:["构建失败:",_]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:110,columnNumber:22},this),b&&!s&&!_&&x.jsxDEV("p",{className:fo.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)}var Rs={},EL=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},CC={},la={};let Uh;const SL=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];la.getSymbolSize=function(u){if(!u)throw new Error('"version" cannot be null or undefined');if(u<1||u>40)throw new Error('"version" should be in range from 1 to 40');return u*4+17};la.getSymbolTotalCodewords=function(u){return SL[u]};la.getBCHDigit=function(l){let u=0;for(;l!==0;)u++,l>>>=1;return u};la.setToSJISFunction=function(u){if(typeof u!="function")throw new Error('"toSJISFunc" is not a valid function.');Uh=u};la.isKanjiModeEnabled=function(){return typeof Uh<"u"};la.toSJIS=function(u){return Uh(u)};var Wf={};(function(l){l.L={bit:1},l.M={bit:0},l.Q={bit:3},l.H={bit:2};function u(f){if(typeof f!="string")throw new Error("Param is not a string");switch(f.toLowerCase()){case"l":case"low":return l.L;case"m":case"medium":return l.M;case"q":case"quartile":return l.Q;case"h":case"high":return l.H;default:throw new Error("Unknown EC Level: "+f)}}l.isValid=function(p){return p&&typeof p.bit<"u"&&p.bit>=0&&p.bit<4},l.from=function(p,v){if(l.isValid(p))return p;try{return u(p)}catch{return v}}})(Wf);function RC(){this.buffer=[],this.length=0}RC.prototype={get:function(l){const u=Math.floor(l/8);return(this.buffer[u]>>>7-l%8&1)===1},put:function(l,u){for(let f=0;f<u;f++)this.putBit((l>>>u-f-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(l){const u=Math.floor(this.length/8);this.buffer.length<=u&&this.buffer.push(0),l&&(this.buffer[u]|=128>>>this.length%8),this.length++}};var CL=RC;function ws(l){if(!l||l<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=l,this.data=new Uint8Array(l*l),this.reservedBit=new Uint8Array(l*l)}ws.prototype.set=function(l,u,f,p){const v=l*this.size+u;this.data[v]=f,p&&(this.reservedBit[v]=!0)};ws.prototype.get=function(l,u){return this.data[l*this.size+u]};ws.prototype.xor=function(l,u,f){this.data[l*this.size+u]^=f};ws.prototype.isReserved=function(l,u){return this.reservedBit[l*this.size+u]};var RL=ws,wC={};(function(l){const u=la.getSymbolSize;l.getRowColCoords=function(p){if(p===1)return[];const v=Math.floor(p/7)+2,h=u(p),s=h===145?26:Math.ceil((h-13)/(2*v-2))*2,E=[h-7];for(let b=1;b<v-1;b++)E[b]=E[b-1]-s;return E.push(6),E.reverse()},l.getPositions=function(p){const v=[],h=l.getRowColCoords(p),s=h.length;for(let E=0;E<s;E++)for(let b=0;b<s;b++)E===0&&b===0||E===0&&b===s-1||E===s-1&&b===0||v.push([h[E],h[b]]);return v}})(wC);var TC={};const wL=la.getSymbolSize,tC=7;TC.getPositions=function(u){const f=wL(u);return[[0,0],[f-tC,0],[0,f-tC]]};var NC={};(function(l){l.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const u={N1:3,N2:3,N3:40,N4:10};l.isValid=function(v){return v!=null&&v!==""&&!isNaN(v)&&v>=0&&v<=7},l.from=function(v){return l.isValid(v)?parseInt(v,10):void 0},l.getPenaltyN1=function(v){const h=v.size;let s=0,E=0,b=0,S=null,_=null;for(let D=0;D<h;D++){E=b=0,S=_=null;for(let w=0;w<h;w++){let O=v.get(D,w);O===S?E++:(E>=5&&(s+=u.N1+(E-5)),S=O,E=1),O=v.get(w,D),O===_?b++:(b>=5&&(s+=u.N1+(b-5)),_=O,b=1)}E>=5&&(s+=u.N1+(E-5)),b>=5&&(s+=u.N1+(b-5))}return s},l.getPenaltyN2=function(v){const h=v.size;let s=0;for(let E=0;E<h-1;E++)for(let b=0;b<h-1;b++){const S=v.get(E,b)+v.get(E,b+1)+v.get(E+1,b)+v.get(E+1,b+1);(S===4||S===0)&&s++}return s*u.N2},l.getPenaltyN3=function(v){const h=v.size;let s=0,E=0,b=0;for(let S=0;S<h;S++){E=b=0;for(let _=0;_<h;_++)E=E<<1&2047|v.get(S,_),_>=10&&(E===1488||E===93)&&s++,b=b<<1&2047|v.get(_,S),_>=10&&(b===1488||b===93)&&s++}return s*u.N3},l.getPenaltyN4=function(v){let h=0;const s=v.data.length;for(let b=0;b<s;b++)h+=v.data[b];return Math.abs(Math.ceil(h*100/s/5)-10)*u.N4};function f(p,v,h){switch(p){case l.Patterns.PATTERN000:return(v+h)%2===0;case l.Patterns.PATTERN001:return v%2===0;case l.Patterns.PATTERN010:return h%3===0;case l.Patterns.PATTERN011:return(v+h)%3===0;case l.Patterns.PATTERN100:return(Math.floor(v/2)+Math.floor(h/3))%2===0;case l.Patterns.PATTERN101:return v*h%2+v*h%3===0;case l.Patterns.PATTERN110:return(v*h%2+v*h%3)%2===0;case l.Patterns.PATTERN111:return(v*h%3+(v+h)%2)%2===0;default:throw new Error("bad maskPattern:"+p)}}l.applyMask=function(v,h){const s=h.size;for(let E=0;E<s;E++)for(let b=0;b<s;b++)h.isReserved(b,E)||h.xor(b,E,f(v,b,E))},l.getBestMask=function(v,h){const s=Object.keys(l.Patterns).length;let E=0,b=1/0;for(let S=0;S<s;S++){h(S),l.applyMask(S,v);const _=l.getPenaltyN1(v)+l.getPenaltyN2(v)+l.getPenaltyN3(v)+l.getPenaltyN4(v);l.applyMask(S,v),_<b&&(b=_,E=S)}return E}})(NC);var Qf={};const yi=Wf,Vf=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Bf=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Qf.getBlocksCount=function(u,f){switch(f){case yi.L:return Vf[(u-1)*4+0];case yi.M:return Vf[(u-1)*4+1];case yi.Q:return Vf[(u-1)*4+2];case yi.H:return Vf[(u-1)*4+3];default:return}};Qf.getTotalCodewordsCount=function(u,f){switch(f){case yi.L:return Bf[(u-1)*4+0];case yi.M:return Bf[(u-1)*4+1];case yi.Q:return Bf[(u-1)*4+2];case yi.H:return Bf[(u-1)*4+3];default:return}};var xC={},Kf={};const ps=new Uint8Array(512),Yf=new Uint8Array(256);(function(){let u=1;for(let f=0;f<255;f++)ps[f]=u,Yf[u]=f,u<<=1,u&256&&(u^=285);for(let f=255;f<512;f++)ps[f]=ps[f-255]})();Kf.log=function(u){if(u<1)throw new Error("log("+u+")");return Yf[u]};Kf.exp=function(u){return ps[u]};Kf.mul=function(u,f){return u===0||f===0?0:ps[Yf[u]+Yf[f]]};(function(l){const u=Kf;l.mul=function(p,v){const h=new Uint8Array(p.length+v.length-1);for(let s=0;s<p.length;s++)for(let E=0;E<v.length;E++)h[s+E]^=u.mul(p[s],v[E]);return h},l.mod=function(p,v){let h=new Uint8Array(p);for(;h.length-v.length>=0;){const s=h[0];for(let b=0;b<v.length;b++)h[b]^=u.mul(v[b],s);let E=0;for(;E<h.length&&h[E]===0;)E++;h=h.slice(E)}return h},l.generateECPolynomial=function(p){let v=new Uint8Array([1]);for(let h=0;h<p;h++)v=l.mul(v,new Uint8Array([1,u.exp(h)]));return v}})(xC);const _C=xC;function kh(l){this.genPoly=void 0,this.degree=l,this.degree&&this.initialize(this.degree)}kh.prototype.initialize=function(u){this.degree=u,this.genPoly=_C.generateECPolynomial(this.degree)};kh.prototype.encode=function(u){if(!this.genPoly)throw new Error("Encoder not initialized");const f=new Uint8Array(u.length+this.degree);f.set(u);const p=_C.mod(f,this.genPoly),v=this.degree-p.length;if(v>0){const h=new Uint8Array(this.degree);return h.set(p,v),h}return p};var TL=kh,DC={},bi={},Oh={};Oh.isValid=function(u){return!isNaN(u)&&u>=1&&u<=40};var cr={};const UC="[0-9]+",NL="[A-Z $%*+\\-./:]+";let gs="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";gs=gs.replace(/u/g,"\\u");const xL="(?:(?![A-Z0-9 $%*+\\-./:]|"+gs+`)(?:.|[\r
- ]))+`;cr.KANJI=new RegExp(gs,"g");cr.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");cr.BYTE=new RegExp(xL,"g");cr.NUMERIC=new RegExp(UC,"g");cr.ALPHANUMERIC=new RegExp(NL,"g");const _L=new RegExp("^"+gs+"$"),DL=new RegExp("^"+UC+"$"),UL=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");cr.testKanji=function(u){return _L.test(u)};cr.testNumeric=function(u){return DL.test(u)};cr.testAlphanumeric=function(u){return UL.test(u)};(function(l){const u=Oh,f=cr;l.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},l.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},l.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},l.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},l.MIXED={bit:-1},l.getCharCountIndicator=function(h,s){if(!h.ccBits)throw new Error("Invalid mode: "+h);if(!u.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?h.ccBits[0]:s<27?h.ccBits[1]:h.ccBits[2]},l.getBestModeForData=function(h){return f.testNumeric(h)?l.NUMERIC:f.testAlphanumeric(h)?l.ALPHANUMERIC:f.testKanji(h)?l.KANJI:l.BYTE},l.toString=function(h){if(h&&h.id)return h.id;throw new Error("Invalid mode")},l.isValid=function(h){return h&&h.bit&&h.ccBits};function p(v){if(typeof v!="string")throw new Error("Param is not a string");switch(v.toLowerCase()){case"numeric":return l.NUMERIC;case"alphanumeric":return l.ALPHANUMERIC;case"kanji":return l.KANJI;case"byte":return l.BYTE;default:throw new Error("Unknown mode: "+v)}}l.from=function(h,s){if(l.isValid(h))return h;try{return p(h)}catch{return s}}})(bi);(function(l){const u=la,f=Qf,p=Wf,v=bi,h=Oh,s=7973,E=u.getBCHDigit(s);function b(w,O,F){for(let W=1;W<=40;W++)if(O<=l.getCapacity(W,F,w))return W}function S(w,O){return v.getCharCountIndicator(w,O)+4}function _(w,O){let F=0;return w.forEach(function(W){const K=S(W.mode,O);F+=K+W.getBitsLength()}),F}function D(w,O){for(let F=1;F<=40;F++)if(_(w,F)<=l.getCapacity(F,O,v.MIXED))return F}l.from=function(O,F){return h.isValid(O)?parseInt(O,10):F},l.getCapacity=function(O,F,W){if(!h.isValid(O))throw new Error("Invalid QR Code version");typeof W>"u"&&(W=v.BYTE);const K=u.getSymbolTotalCodewords(O),Y=f.getTotalCodewordsCount(O,F),z=(K-Y)*8;if(W===v.MIXED)return z;const P=z-S(W,O);switch(W){case v.NUMERIC:return Math.floor(P/10*3);case v.ALPHANUMERIC:return Math.floor(P/11*2);case v.KANJI:return Math.floor(P/13);case v.BYTE:default:return Math.floor(P/8)}},l.getBestVersionForData=function(O,F){let W;const K=p.from(F,p.M);if(Array.isArray(O)){if(O.length>1)return D(O,K);if(O.length===0)return 1;W=O[0]}else W=O;return b(W.mode,W.getLength(),K)},l.getEncodedBits=function(O){if(!h.isValid(O)||O<7)throw new Error("Invalid QR Code version");let F=O<<12;for(;u.getBCHDigit(F)-E>=0;)F^=s<<u.getBCHDigit(F)-E;return O<<12|F}})(DC);var kC={};const Eh=la,OC=1335,kL=21522,nC=Eh.getBCHDigit(OC);kC.getEncodedBits=function(u,f){const p=u.bit<<3|f;let v=p<<10;for(;Eh.getBCHDigit(v)-nC>=0;)v^=OC<<Eh.getBCHDigit(v)-nC;return(p<<10|v)^kL};var LC={};const OL=bi;function mo(l){this.mode=OL.NUMERIC,this.data=l.toString()}mo.getBitsLength=function(u){return 10*Math.floor(u/3)+(u%3?u%3*3+1:0)};mo.prototype.getLength=function(){return this.data.length};mo.prototype.getBitsLength=function(){return mo.getBitsLength(this.data.length)};mo.prototype.write=function(u){let f,p,v;for(f=0;f+3<=this.data.length;f+=3)p=this.data.substr(f,3),v=parseInt(p,10),u.put(v,10);const h=this.data.length-f;h>0&&(p=this.data.substr(f),v=parseInt(p,10),u.put(v,h*3+1))};var LL=mo;const AL=bi,sh=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function ho(l){this.mode=AL.ALPHANUMERIC,this.data=l}ho.getBitsLength=function(u){return 11*Math.floor(u/2)+6*(u%2)};ho.prototype.getLength=function(){return this.data.length};ho.prototype.getBitsLength=function(){return ho.getBitsLength(this.data.length)};ho.prototype.write=function(u){let f;for(f=0;f+2<=this.data.length;f+=2){let p=sh.indexOf(this.data[f])*45;p+=sh.indexOf(this.data[f+1]),u.put(p,11)}this.data.length%2&&u.put(sh.indexOf(this.data[f]),6)};var ML=ho;const zL=bi;function yo(l){this.mode=zL.BYTE,typeof l=="string"?this.data=new TextEncoder().encode(l):this.data=new Uint8Array(l)}yo.getBitsLength=function(u){return u*8};yo.prototype.getLength=function(){return this.data.length};yo.prototype.getBitsLength=function(){return yo.getBitsLength(this.data.length)};yo.prototype.write=function(l){for(let u=0,f=this.data.length;u<f;u++)l.put(this.data[u],8)};var jL=yo;const VL=bi,BL=la;function go(l){this.mode=VL.KANJI,this.data=l}go.getBitsLength=function(u){return u*13};go.prototype.getLength=function(){return this.data.length};go.prototype.getBitsLength=function(){return go.getBitsLength(this.data.length)};go.prototype.write=function(l){let u;for(u=0;u<this.data.length;u++){let f=BL.toSJIS(this.data[u]);if(f>=33088&&f<=40956)f-=33088;else if(f>=57408&&f<=60351)f-=49472;else throw new Error("Invalid SJIS character: "+this.data[u]+`
- Make sure your charset is UTF-8`);f=(f>>>8&255)*192+(f&255),l.put(f,13)}};var HL=go,AC={exports:{}};(function(l){var u={single_source_shortest_paths:function(f,p,v){var h={},s={};s[p]=0;var E=u.PriorityQueue.make();E.push(p,0);for(var b,S,_,D,w,O,F,W,K;!E.empty();){b=E.pop(),S=b.value,D=b.cost,w=f[S]||{};for(_ in w)w.hasOwnProperty(_)&&(O=w[_],F=D+O,W=s[_],K=typeof s[_]>"u",(K||W>F)&&(s[_]=F,E.push(_,F),h[_]=S))}if(typeof v<"u"&&typeof s[v]>"u"){var Y=["Could not find a path from ",p," to ",v,"."].join("");throw new Error(Y)}return h},extract_shortest_path_from_predecessor_list:function(f,p){for(var v=[],h=p;h;)v.push(h),f[h],h=f[h];return v.reverse(),v},find_path:function(f,p,v){var h=u.single_source_shortest_paths(f,p,v);return u.extract_shortest_path_from_predecessor_list(h,v)},PriorityQueue:{make:function(f){var p=u.PriorityQueue,v={},h;f=f||{};for(h in p)p.hasOwnProperty(h)&&(v[h]=p[h]);return v.queue=[],v.sorter=f.sorter||p.default_sorter,v},default_sorter:function(f,p){return f.cost-p.cost},push:function(f,p){var v={value:f,cost:p};this.queue.push(v),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};l.exports=u})(AC);var FL=AC.exports;(function(l){const u=bi,f=LL,p=ML,v=jL,h=HL,s=cr,E=la,b=FL;function S(Y){return unescape(encodeURIComponent(Y)).length}function _(Y,z,P){const Q=[];let X;for(;(X=Y.exec(P))!==null;)Q.push({data:X[0],index:X.index,mode:z,length:X[0].length});return Q}function D(Y){const z=_(s.NUMERIC,u.NUMERIC,Y),P=_(s.ALPHANUMERIC,u.ALPHANUMERIC,Y);let Q,X;return E.isKanjiModeEnabled()?(Q=_(s.BYTE,u.BYTE,Y),X=_(s.KANJI,u.KANJI,Y)):(Q=_(s.BYTE_KANJI,u.BYTE,Y),X=[]),z.concat(P,Q,X).sort(function(de,We){return de.index-We.index}).map(function(de){return{data:de.data,mode:de.mode,length:de.length}})}function w(Y,z){switch(z){case u.NUMERIC:return f.getBitsLength(Y);case u.ALPHANUMERIC:return p.getBitsLength(Y);case u.KANJI:return h.getBitsLength(Y);case u.BYTE:return v.getBitsLength(Y)}}function O(Y){return Y.reduce(function(z,P){const Q=z.length-1>=0?z[z.length-1]:null;return Q&&Q.mode===P.mode?(z[z.length-1].data+=P.data,z):(z.push(P),z)},[])}function F(Y){const z=[];for(let P=0;P<Y.length;P++){const Q=Y[P];switch(Q.mode){case u.NUMERIC:z.push([Q,{data:Q.data,mode:u.ALPHANUMERIC,length:Q.length},{data:Q.data,mode:u.BYTE,length:Q.length}]);break;case u.ALPHANUMERIC:z.push([Q,{data:Q.data,mode:u.BYTE,length:Q.length}]);break;case u.KANJI:z.push([Q,{data:Q.data,mode:u.BYTE,length:S(Q.data)}]);break;case u.BYTE:z.push([{data:Q.data,mode:u.BYTE,length:S(Q.data)}])}}return z}function W(Y,z){const P={},Q={start:{}};let X=["start"];for(let ye=0;ye<Y.length;ye++){const de=Y[ye],We=[];for(let je=0;je<de.length;je++){const Pe=de[je],rt=""+ye+je;We.push(rt),P[rt]={node:Pe,lastCount:0},Q[rt]={};for(let Je=0;Je<X.length;Je++){const pe=X[Je];P[pe]&&P[pe].node.mode===Pe.mode?(Q[pe][rt]=w(P[pe].lastCount+Pe.length,Pe.mode)-w(P[pe].lastCount,Pe.mode),P[pe].lastCount+=Pe.length):(P[pe]&&(P[pe].lastCount=Pe.length),Q[pe][rt]=w(Pe.length,Pe.mode)+4+u.getCharCountIndicator(Pe.mode,z))}}X=We}for(let ye=0;ye<X.length;ye++)Q[X[ye]].end=0;return{map:Q,table:P}}function K(Y,z){let P;const Q=u.getBestModeForData(Y);if(P=u.from(z,Q),P!==u.BYTE&&P.bit<Q.bit)throw new Error('"'+Y+'" cannot be encoded with mode '+u.toString(P)+`.
- Suggested mode is: `+u.toString(Q));switch(P===u.KANJI&&!E.isKanjiModeEnabled()&&(P=u.BYTE),P){case u.NUMERIC:return new f(Y);case u.ALPHANUMERIC:return new p(Y);case u.KANJI:return new h(Y);case u.BYTE:return new v(Y)}}l.fromArray=function(z){return z.reduce(function(P,Q){return typeof Q=="string"?P.push(K(Q,null)):Q.data&&P.push(K(Q.data,Q.mode)),P},[])},l.fromString=function(z,P){const Q=D(z,E.isKanjiModeEnabled()),X=F(Q),ye=W(X,P),de=b.find_path(ye.map,"start","end"),We=[];for(let je=1;je<de.length-1;je++)We.push(ye.table[de[je]].node);return l.fromArray(O(We))},l.rawSplit=function(z){return l.fromArray(D(z,E.isKanjiModeEnabled()))}})(LC);const Jf=la,ch=Wf,PL=CL,$L=RL,IL=wC,YL=TC,Sh=NC,Ch=Qf,qL=TL,qf=DC,GL=kC,WL=bi,fh=LC;function QL(l,u){const f=l.size,p=YL.getPositions(u);for(let v=0;v<p.length;v++){const h=p[v][0],s=p[v][1];for(let E=-1;E<=7;E++)if(!(h+E<=-1||f<=h+E))for(let b=-1;b<=7;b++)s+b<=-1||f<=s+b||(E>=0&&E<=6&&(b===0||b===6)||b>=0&&b<=6&&(E===0||E===6)||E>=2&&E<=4&&b>=2&&b<=4?l.set(h+E,s+b,!0,!0):l.set(h+E,s+b,!1,!0))}}function KL(l){const u=l.size;for(let f=8;f<u-8;f++){const p=f%2===0;l.set(f,6,p,!0),l.set(6,f,p,!0)}}function JL(l,u){const f=IL.getPositions(u);for(let p=0;p<f.length;p++){const v=f[p][0],h=f[p][1];for(let s=-2;s<=2;s++)for(let E=-2;E<=2;E++)s===-2||s===2||E===-2||E===2||s===0&&E===0?l.set(v+s,h+E,!0,!0):l.set(v+s,h+E,!1,!0)}}function XL(l,u){const f=l.size,p=qf.getEncodedBits(u);let v,h,s;for(let E=0;E<18;E++)v=Math.floor(E/3),h=E%3+f-8-3,s=(p>>E&1)===1,l.set(v,h,s,!0),l.set(h,v,s,!0)}function dh(l,u,f){const p=l.size,v=GL.getEncodedBits(u,f);let h,s;for(h=0;h<15;h++)s=(v>>h&1)===1,h<6?l.set(h,8,s,!0):h<8?l.set(h+1,8,s,!0):l.set(p-15+h,8,s,!0),h<8?l.set(8,p-h-1,s,!0):h<9?l.set(8,15-h-1+1,s,!0):l.set(8,15-h-1,s,!0);l.set(p-8,8,1,!0)}function ZL(l,u){const f=l.size;let p=-1,v=f-1,h=7,s=0;for(let E=f-1;E>0;E-=2)for(E===6&&E--;;){for(let b=0;b<2;b++)if(!l.isReserved(v,E-b)){let S=!1;s<u.length&&(S=(u[s]>>>h&1)===1),l.set(v,E-b,S),h--,h===-1&&(s++,h=7)}if(v+=p,v<0||f<=v){v-=p,p=-p;break}}}function eA(l,u,f){const p=new PL;f.forEach(function(b){p.put(b.mode.bit,4),p.put(b.getLength(),WL.getCharCountIndicator(b.mode,l)),b.write(p)});const v=Jf.getSymbolTotalCodewords(l),h=Ch.getTotalCodewordsCount(l,u),s=(v-h)*8;for(p.getLengthInBits()+4<=s&&p.put(0,4);p.getLengthInBits()%8!==0;)p.putBit(0);const E=(s-p.getLengthInBits())/8;for(let b=0;b<E;b++)p.put(b%2?17:236,8);return tA(p,l,u)}function tA(l,u,f){const p=Jf.getSymbolTotalCodewords(u),v=Ch.getTotalCodewordsCount(u,f),h=p-v,s=Ch.getBlocksCount(u,f),E=p%s,b=s-E,S=Math.floor(p/s),_=Math.floor(h/s),D=_+1,w=S-_,O=new qL(w);let F=0;const W=new Array(s),K=new Array(s);let Y=0;const z=new Uint8Array(l.buffer);for(let de=0;de<s;de++){const We=de<b?_:D;W[de]=z.slice(F,F+We),K[de]=O.encode(W[de]),F+=We,Y=Math.max(Y,We)}const P=new Uint8Array(p);let Q=0,X,ye;for(X=0;X<Y;X++)for(ye=0;ye<s;ye++)X<W[ye].length&&(P[Q++]=W[ye][X]);for(X=0;X<w;X++)for(ye=0;ye<s;ye++)P[Q++]=K[ye][X];return P}function nA(l,u,f,p){let v;if(Array.isArray(l))v=fh.fromArray(l);else if(typeof l=="string"){let S=u;if(!S){const _=fh.rawSplit(l);S=qf.getBestVersionForData(_,f)}v=fh.fromString(l,S||40)}else throw new Error("Invalid data");const h=qf.getBestVersionForData(v,f);if(!h)throw new Error("The amount of data is too big to be stored in a QR Code");if(!u)u=h;else if(u<h)throw new Error(`
- The chosen QR Code version cannot contain this amount of data.
- Minimum version required to store current data is: `+h+`.
- `);const s=eA(u,f,v),E=Jf.getSymbolSize(u),b=new $L(E);return QL(b,u),KL(b),JL(b,u),dh(b,f,0),u>=7&&XL(b,u),ZL(b,s),isNaN(p)&&(p=Sh.getBestMask(b,dh.bind(null,b,f))),Sh.applyMask(p,b),dh(b,f,p),{modules:b,version:u,errorCorrectionLevel:f,maskPattern:p,segments:v}}CC.create=function(u,f){if(typeof u>"u"||u==="")throw new Error("No input text");let p=ch.M,v,h;return typeof f<"u"&&(p=ch.from(f.errorCorrectionLevel,ch.M),v=qf.from(f.version),h=Sh.from(f.maskPattern),f.toSJISFunc&&Jf.setToSJISFunction(f.toSJISFunc)),nA(u,v,p,h)};var MC={},Lh={};(function(l){function u(f){if(typeof f=="number"&&(f=f.toString()),typeof f!="string")throw new Error("Color should be defined as hex string");let p=f.slice().replace("#","").split("");if(p.length<3||p.length===5||p.length>8)throw new Error("Invalid hex color: "+f);(p.length===3||p.length===4)&&(p=Array.prototype.concat.apply([],p.map(function(h){return[h,h]}))),p.length===6&&p.push("F","F");const v=parseInt(p.join(""),16);return{r:v>>24&255,g:v>>16&255,b:v>>8&255,a:v&255,hex:"#"+p.slice(0,6).join("")}}l.getOptions=function(p){p||(p={}),p.color||(p.color={});const v=typeof p.margin>"u"||p.margin===null||p.margin<0?4:p.margin,h=p.width&&p.width>=21?p.width:void 0,s=p.scale||4;return{width:h,scale:h?4:s,margin:v,color:{dark:u(p.color.dark||"#000000ff"),light:u(p.color.light||"#ffffffff")},type:p.type,rendererOpts:p.rendererOpts||{}}},l.getScale=function(p,v){return v.width&&v.width>=p+v.margin*2?v.width/(p+v.margin*2):v.scale},l.getImageWidth=function(p,v){const h=l.getScale(p,v);return Math.floor((p+v.margin*2)*h)},l.qrToImageData=function(p,v,h){const s=v.modules.size,E=v.modules.data,b=l.getScale(s,h),S=Math.floor((s+h.margin*2)*b),_=h.margin*b,D=[h.color.light,h.color.dark];for(let w=0;w<S;w++)for(let O=0;O<S;O++){let F=(w*S+O)*4,W=h.color.light;if(w>=_&&O>=_&&w<S-_&&O<S-_){const K=Math.floor((w-_)/b),Y=Math.floor((O-_)/b);W=D[E[K*s+Y]?1:0]}p[F++]=W.r,p[F++]=W.g,p[F++]=W.b,p[F]=W.a}}})(Lh);(function(l){const u=Lh;function f(v,h,s){v.clearRect(0,0,h.width,h.height),h.style||(h.style={}),h.height=s,h.width=s,h.style.height=s+"px",h.style.width=s+"px"}function p(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}l.render=function(h,s,E){let b=E,S=s;typeof b>"u"&&(!s||!s.getContext)&&(b=s,s=void 0),s||(S=p()),b=u.getOptions(b);const _=u.getImageWidth(h.modules.size,b),D=S.getContext("2d"),w=D.createImageData(_,_);return u.qrToImageData(w.data,h,b),f(D,S,_),D.putImageData(w,0,0),S},l.renderToDataURL=function(h,s,E){let b=E;typeof b>"u"&&(!s||!s.getContext)&&(b=s,s=void 0),b||(b={});const S=l.render(h,s,b),_=b.type||"image/png",D=b.rendererOpts||{};return S.toDataURL(_,D.quality)}})(MC);var zC={};const aA=Lh;function aC(l,u){const f=l.a/255,p=u+'="'+l.hex+'"';return f<1?p+" "+u+'-opacity="'+f.toFixed(2).slice(1)+'"':p}function ph(l,u,f){let p=l+u;return typeof f<"u"&&(p+=" "+f),p}function rA(l,u,f){let p="",v=0,h=!1,s=0;for(let E=0;E<l.length;E++){const b=Math.floor(E%u),S=Math.floor(E/u);!b&&!h&&(h=!0),l[E]?(s++,E>0&&b>0&&l[E-1]||(p+=h?ph("M",b+f,.5+S+f):ph("m",v,0),v=0,h=!1),b+1<u&&l[E+1]||(p+=ph("h",s),s=0)):v++}return p}zC.render=function(u,f,p){const v=aA.getOptions(f),h=u.modules.size,s=u.modules.data,E=h+v.margin*2,b=v.color.light.a?"<path "+aC(v.color.light,"fill")+' d="M0 0h'+E+"v"+E+'H0z"/>':"",S="<path "+aC(v.color.dark,"stroke")+' d="'+rA(s,h,v.margin)+'"/>',_='viewBox="0 0 '+E+" "+E+'"',w='<svg xmlns="http://www.w3.org/2000/svg" '+(v.width?'width="'+v.width+'" height="'+v.width+'" ':"")+_+' shape-rendering="crispEdges">'+b+S+`</svg>
- `;return typeof p=="function"&&p(null,w),w};const iA=EL,Rh=CC,jC=MC,lA=zC;function Ah(l,u,f,p,v){const h=[].slice.call(arguments,1),s=h.length,E=typeof h[s-1]=="function";if(!E&&!iA())throw new Error("Callback required as last argument");if(E){if(s<2)throw new Error("Too few arguments provided");s===2?(v=f,f=u,u=p=void 0):s===3&&(u.getContext&&typeof v>"u"?(v=p,p=void 0):(v=p,p=f,f=u,u=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(f=u,u=p=void 0):s===2&&!u.getContext&&(p=f,f=u,u=void 0),new Promise(function(b,S){try{const _=Rh.create(f,p);b(l(_,u,p))}catch(_){S(_)}})}try{const b=Rh.create(f,p);v(null,l(b,u,p))}catch(b){v(b)}}Rs.create=Rh.create;Rs.toCanvas=Ah.bind(null,jC.render);Rs.toDataURL=Ah.bind(null,jC.renderToDataURL);Rs.toString=Ah.bind(null,function(l,u,f){return lA.render(l,f)});const oA="_wrapper_1900w_1",uA="_title_1900w_5",sA="_empty_1900w_12",cA="_list_1900w_18",fA="_item_1900w_24",dA="_itemInfo_1900w_31",pA="_status_1900w_39",vA="_platforms_1900w_43",mA="_platformTag_1900w_48",hA="_time_1900w_57",yA="_downloads_1900w_63",gA="_downloadLink_1900w_70",bA="_downloadAll_1900w_85",EA="_errorLog_1900w_93",SA="_qrSection_1900w_100",CA="_qrLabel_1900w_106",RA="_qrRow_1900w_113",wA="_qrCode_1900w_119",TA="_qrLoading_1900w_127",NA="_qrUrl_1900w_140",Ot={wrapper:oA,title:uA,empty:sA,list:cA,item:fA,itemInfo:dA,status:pA,platforms:vA,platformTag:mA,time:hA,downloads:yA,downloadLink:gA,downloadAll:bA,errorLog:EA,qrSection:SA,qrLabel:CA,qrRow:RA,qrCode:wA,qrLoading:TA,qrUrl:NA};function xA({creativeId:l,builds:u,onUpdated:f}){const[p,v]=j.useState(u),[h,s]=j.useState({});j.useEffect(()=>{v(u)},[u]),j.useEffect(()=>{if(!p.some(D=>D.status==="building"||D.status==="pending"))return;const _=setInterval(()=>{hn.getBuilds(l).then(D=>{v(D.data),f()})},5e3);return()=>clearInterval(_)},[p,l,f]),j.useEffect(()=>{p.forEach(S=>{if(S.status==="completed"&&S.previewUrl&&!h[S.id]){const _=window.location.origin+S.previewUrl;Rs.toDataURL(_,{width:160,margin:1,color:{dark:"#000",light:"#fff"}}).then(D=>s(w=>({...w,[S.id]:D}))).catch(()=>{})}})},[p,h]);const E={pending:"等待中",building:"构建中",completed:"完成",failed:"失败"},b={pending:"⏳",building:"🔄",completed:"✅",failed:"❌"};return p.length===0?x.jsxDEV("p",{className:Ot.empty,children:"暂无构建记录"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:67,columnNumber:12},this):x.jsxDEV("div",{className:Ot.wrapper,children:[x.jsxDEV("h3",{className:Ot.title,children:"构建历史"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:72,columnNumber:7},this),x.jsxDEV("div",{className:Ot.list,children:p.map(S=>x.jsxDEV("div",{className:Ot.item,children:[x.jsxDEV("div",{className:Ot.itemInfo,children:[x.jsxDEV("span",{className:Ot.status,children:[b[S.status]," ",E[S.status]]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:77,columnNumber:15},this),x.jsxDEV("span",{className:Ot.platforms,children:S.platforms.map(_=>x.jsxDEV("span",{className:Ot.platformTag,children:_},_,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:82,columnNumber:19},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:80,columnNumber:15},this),x.jsxDEV("span",{className:Ot.time,children:new Date(S.createdAt).toLocaleString("zh-CN")},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:85,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:76,columnNumber:13},this),S.status==="completed"&&x.jsxDEV(x.Fragment,{children:[S.previewUrl&&x.jsxDEV("div",{className:Ot.qrSection,children:[x.jsxDEV("div",{className:Ot.qrLabel,children:"📱 真机扫码预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:95,columnNumber:21},this),x.jsxDEV("div",{className:Ot.qrRow,children:[h[S.id]?x.jsxDEV("img",{className:Ot.qrCode,src:h[S.id],alt:"扫码预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:98,columnNumber:25},this):x.jsxDEV("div",{className:Ot.qrLoading,children:"生成中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:104,columnNumber:25},this),x.jsxDEV("div",{className:Ot.qrUrl,children:x.jsxDEV("code",{children:[window.location.origin,S.previewUrl]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:107,columnNumber:25},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:106,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:96,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:94,columnNumber:19},this),S.results&&x.jsxDEV("div",{className:Ot.downloads,children:[S.results.map(_=>x.jsxDEV("a",{href:`/ads/api/v1/builds/${S.id}/download/${_.platform}`,className:Ot.downloadLink,download:!0,children:[_.platform," ↓ (",(_.fileSize/1024).toFixed(0)," KB)"]},_.platform,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:117,columnNumber:23},this)),x.jsxDEV("a",{href:`/ads/api/v1/builds/${S.id}/download/all`,className:Ot.downloadAll,download:!0,children:"全部 ZIP ↓"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:126,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:115,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:91,columnNumber:15},this),S.status==="failed"&&S.errorLog&&x.jsxDEV("p",{className:Ot.errorLog,children:S.errorLog},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:139,columnNumber:15},this)]},S.id,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:75,columnNumber:11},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:73,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:71,columnNumber:5},this)}const _A="_wrapper_1fdka_1",DA="_header_1fdka_8",UA="_title_1fdka_15",kA="_startBtn_1fdka_20",OA="_stopBtn_1fdka_35",LA="_hint_1fdka_44",AA="_error_1fdka_51",MA="_loadingBox_1fdka_56",zA="_spinner_1fdka_68",jA="_frameWrap_1fdka_81",VA="_frame_1fdka_81",Fa={wrapper:_A,header:DA,title:UA,startBtn:kA,stopBtn:OA,hint:LA,error:AA,loadingBox:MA,spinner:zA,frameWrap:jA,frame:VA};function BA({creativeId:l,creativeStatus:u,theme:f}){const[p,v]=j.useState(null),[h,s]=j.useState(!1),[E,b]=j.useState(""),[S,_]=j.useState(!1),D=u==="assets_ready"||u==="built"||u==="building";j.useEffect(()=>{if(!p||S)return;const F=setTimeout(()=>{S||b("预览加载超时,请检查控制台或重试")},1e4);return()=>clearTimeout(F)},[p,S]),j.useEffect(()=>()=>{p&&hn.stopPreview(l).catch(()=>{})},[]);async function w(){s(!0),b(""),_(!1);try{const F=await hn.startPreview(l,f);v(F.data.url)}catch(F){b(F.message)}finally{s(!1)}}async function O(){try{await hn.stopPreview(l)}catch{}v(null),_(!1),b("")}return x.jsxDEV("div",{className:Fa.wrapper,children:[x.jsxDEV("div",{className:Fa.header,children:[x.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),p?x.jsxDEV("button",{onClick:O,className:Fa.stopBtn,children:"关闭预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:73,columnNumber:11},this):x.jsxDEV("button",{onClick:w,disabled:!D||h,className:Fa.startBtn,children:h?"启动中…":"▶ 开始预览"},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),!D&&!p&&x.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),E&&x.jsxDEV("p",{className:Fa.error,children:E},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:83,columnNumber:17},this),h&&x.jsxDEV("div",{className:Fa.loadingBox,children:[x.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),x.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),p&&x.jsxDEV("div",{className:Fa.frameWrap,children:x.jsxDEV("iframe",{src:p,className:Fa.frame,title:"广告预览",onLoad:()=>_(!0)},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 HA="_container_171ey_1",FA="_state_171ey_7",PA="_topBar_171ey_14",$A="_back_171ey_20",IA="_topInfo_171ey_28",YA="_title_171ey_35",qA="_statusDot_171ey_40",GA="_draft_171ey_45",WA="_assets_ready_171ey_46",QA="_building_171ey_47",KA="_built_171ey_48",JA="_failed_171ey_49",XA="_deleteBtn_171ey_51",ZA="_workspace_171ey_61",eM="_section_171ey_73",tM="_sectionTitle_171ey_80",nM="_buildSection_171ey_88",en={container:HA,state:FA,topBar:PA,back:$A,topInfo:IA,title:YA,statusDot:qA,draft:GA,assets_ready:WA,building:QA,built:KA,failed:JA,deleteBtn:XA,workspace:ZA,section:eM,sectionTitle:tM,buildSection:nM};function aM(){var W;const{id:l}=OU(),u=Nh(),[f,p]=j.useState(null),[v,h]=j.useState(null),[s,E]=j.useState(!0),[b,S]=j.useState(""),[_,D]=j.useState(["google","applovin"]),w=j.useCallback(()=>{l&&(S(""),hn.getCreative(l).then(async K=>{var z,P;p(K.data);const Y=await hn.getTemplate(K.data.templateId);h(Y.data),_.length===0&&((z=Y.data.platforms)!=null&&z.available)&&D(((P=Y.data.platforms)==null?void 0:P.defaults)??Y.data.platforms.available.slice(0,2))}).catch(K=>S(K.message)).finally(()=>E(!1)))},[l]);j.useEffect(()=>{w()},[w]);async function O(){if(!(!l||!confirm("确认删除此创意?所有素材和构建产物将被永久删除。")))try{await hn.deleteCreative(l),u("/")}catch(K){S(K.message)}}const F={draft:"草稿",assets_ready:"素材已就绪",building:"构建中",built:"已构建",failed:"失败"};return s?x.jsxDEV("div",{className:en.state,children:"加载中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:68,columnNumber:23},this):b?x.jsxDEV("div",{className:en.state,children:["加载失败:",b]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:69,columnNumber:21},this):!f||!v?x.jsxDEV("div",{className:en.state,children:"创意不存在"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:70,columnNumber:38},this):x.jsxDEV("div",{className:en.container,children:[x.jsxDEV("div",{className:en.topBar,children:[x.jsxDEV("button",{onClick:()=>u(-1),className:en.back,children:"← 返回"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:76,columnNumber:9},this),x.jsxDEV("div",{className:en.topInfo,children:[x.jsxDEV("h1",{className:en.title,children:f.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:80,columnNumber:11},this),x.jsxDEV("span",{className:`${en.statusDot} ${en[f.status]}`,children:["● ",F[f.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),x.jsxDEV("button",{onClick:O,className:en.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),x.jsxDEV("div",{className:en.workspace,children:[x.jsxDEV("section",{className:en.section,children:[x.jsxDEV("h2",{className:en.sectionTitle,children:"素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:94,columnNumber:11},this),x.jsxDEV(BO,{creativeId:f.id,assets:f.assets??[],assetDefs:v.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),x.jsxDEV("section",{className:en.section,children:[x.jsxDEV("h2",{className:en.sectionTitle,children:"主题配置"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:105,columnNumber:11},this),x.jsxDEV(lL,{creativeId:f.id,theme:f.theme??{},themeProps:v.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),x.jsxDEV(BA,{creativeId:f.id,creativeStatus:f.status,theme:f.theme??{}},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:116,columnNumber:7},this),x.jsxDEV("section",{className:en.buildSection,children:[x.jsxDEV("h2",{className:en.sectionTitle,children:"构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:124,columnNumber:9},this),x.jsxDEV(dL,{platforms:((W=v.platforms)==null?void 0:W.available)??[],selected:_,onChange:D},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:125,columnNumber:9},this),x.jsxDEV(bL,{creativeId:f.id,creativeStatus:f.status,selectedPlatforms:_,theme:f.theme??{},themeProps:v.theme.properties,onBuildComplete:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:130,columnNumber:9},this),x.jsxDEV(xA,{creativeId:f.id,builds:f.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 rM(){return x.jsxDEV(Dk,{children:x.jsxDEV(QU,{children:[x.jsxDEV(Hf,{path:"/",element:x.jsxDEV(Fk,{},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),x.jsxDEV(Hf,{path:"/creatives/new",element:x.jsxDEV(iO,{},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),x.jsxDEV(Hf,{path:"/creatives/:id",element:x.jsxDEV(aM,{},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)}mh.createRoot(document.getElementById("root")).render(x.jsxDEV(lC.StrictMode,{children:x.jsxDEV(ck,{basename:"/ads/".replace(/\/$/,""),children:x.jsxDEV(rM,{},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));
|