@apollosproject/canvas-embeds 2.1.481 → 2.1.482

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/widget/index.js +45 -45
package/widget/index.js CHANGED
@@ -36,7 +36,7 @@ Check the render method of \``+R+"`."}return""}function Ee(R){if(R!==void 0){var
36
36
 
37
37
  Check your code at `+s0+":"+R0+"."}return""}function f6(R){return R!=null?Ee(R.__source):""}var e8={};function _t(R){var s0=W4();if(!s0){var R0=typeof R=="string"?R:R.displayName||R.name;R0&&(s0=`
38
38
 
39
- Check the top-level render call using <`+R0+">.")}return s0}function Ra(R,s0){if(!(!R._store||R._store.validated||R.key!=null)){R._store.validated=!0;var R0=_t(s0);if(!e8[R0]){e8[R0]=!0;var Y0="";R&&R._owner&&R._owner!==z.current&&(Y0=" It was passed a child from "+u1(R._owner.type)+"."),Xe(R),g0('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R0,Y0),Xe(null)}}}function ct(R,s0){if(typeof R=="object"){if(x0(R))for(var R0=0;R0<R.length;R0++){var Y0=R[R0];je(Y0)&&Ra(Y0,s0)}else if(je(R))R._store&&(R._store.validated=!0);else if(R){var E1=k(R);if(typeof E1=="function"&&E1!==R.entries)for(var ee=E1.call(R),U1;!(U1=ee.next()).done;)je(U1.value)&&Ra(U1.value,s0)}}}function F2(R){{var s0=R.type;if(s0==null||typeof s0=="string")return;var R0;if(typeof s0=="function")R0=s0.propTypes;else if(typeof s0=="object"&&(s0.$$typeof===A||s0.$$typeof===M))R0=s0.propTypes;else return;if(R0){var Y0=u1(s0);Wl(R0,R.props,"prop",Y0,R)}else if(s0.PropTypes!==void 0&&!q4){q4=!0;var E1=u1(s0);g0("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",E1||"Unknown")}typeof s0.getDefaultProps=="function"&&!s0.getDefaultProps.isReactClassApproved&&g0("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function t8(R){{for(var s0=Object.keys(R.props),R0=0;R0<s0.length;R0++){var Y0=s0[R0];if(Y0!=="children"&&Y0!=="key"){Xe(R),g0("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Y0),Xe(null);break}}R.ref!==null&&(Xe(R),g0("Invalid attribute `ref` supplied to `React.Fragment`."),Xe(null))}}function In(R,s0,R0){var Y0=w0(R);if(!Y0){var E1="";(R===void 0||typeof R=="object"&&R!==null&&Object.keys(R).length===0)&&(E1+=" 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=f6(s0);ee?E1+=ee:E1+=W4();var U1;R===null?U1="null":x0(R)?U1="array":R!==void 0&&R.$$typeof===l?(U1="<"+(u1(R.type)||"Unknown")+" />",E1=" Did you accidentally export a JSX literal instead of a component?"):U1=typeof R,g0("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U1,E1)}var Me=P1.apply(this,arguments);if(Me==null)return Me;if(Y0)for(var Ue=2;Ue<arguments.length;Ue++)ct(arguments[Ue],R);return R===c?t8(Me):F2(Me),Me}var Q8=!1;function Ct(R){var s0=In.bind(null,R);return s0.type=R,Q8||(Q8=!0,y0("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(s0,"type",{enumerable:!1,get:function(){return y0("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:R}),R}}),s0}function T8(R,s0,R0){for(var Y0=Fe.apply(this,arguments),E1=2;E1<arguments.length;E1++)ct(arguments[E1],Y0.type);return F2(Y0),Y0}function Cr(R,s0){var R0=C.transition;C.transition={};var Y0=C.transition;C.transition._updatedFibers=new Set;try{R()}finally{if(C.transition=R0,R0===null&&Y0._updatedFibers){var E1=Y0._updatedFibers.size;E1>10&&y0("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."),Y0._updatedFibers.clear()}}}var G4=!1,Y4=null;function H4(R){if(Y4===null)try{var s0=("require"+Math.random()).slice(0,7),R0=a&&a[s0];Y4=R0.call(a,"timers").setImmediate}catch{Y4=function(E1){G4===!1&&(G4=!0,typeof MessageChannel>"u"&&g0("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=E1,ee.port2.postMessage(void 0)}}return Y4(R)}var za=0,G1=!1;function H0(R){{var s0=za;za++,I.current===null&&(I.current=[]);var R0=I.isBatchingLegacy,Y0;try{if(I.isBatchingLegacy=!0,Y0=R(),!R0&&I.didScheduleLegacyUpdate){var E1=I.current;E1!==null&&(I.didScheduleLegacyUpdate=!1,a8(E1))}}catch(T2){throw f1(s0),T2}finally{I.isBatchingLegacy=R0}if(Y0!==null&&typeof Y0=="object"&&typeof Y0.then=="function"){var ee=Y0,U1=!1,Me={then:function(T2,s8){U1=!0,ee.then(function(A2){f1(s0),za===0?W1(A2,T2,s8):T2(A2)},function(A2){f1(s0),s8(A2)})}};return!G1&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){U1||(G1=!0,g0("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 () => ...);"))}),Me}else{var Ue=Y0;if(f1(s0),za===0){var j2=I.current;j2!==null&&(a8(j2),I.current=null);var C2={then:function(T2,s8){I.current===null?(I.current=[],W1(Ue,T2,s8)):T2(Ue)}};return C2}else{var N2={then:function(T2,s8){T2(Ue)}};return N2}}}}function f1(R){R!==za-1&&g0("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),za=R}function W1(R,s0,R0){{var Y0=I.current;if(Y0!==null)try{a8(Y0),H4(function(){Y0.length===0?(I.current=null,s0(R)):W1(R,s0,R0)})}catch(E1){R0(E1)}else s0(R)}}var r2=!1;function a8(R){if(!r2){r2=!0;var s0=0;try{for(;s0<R.length;s0++){var R0=R[s0];do R0=R0(!0);while(R0!==null)}R.length=0}catch(Y0){throw R=R.slice(s0+1),Y0}finally{r2=!1}}}var g8=In,K8=T8,w8=Ct,G6={map:f8,forEach:jt,count:Ft,toArray:v8,only:Pt};e.Children=G6,e.Component=S0,e.Fragment=c,e.Profiler=u,e.PureComponent=f0,e.StrictMode=m,e.Suspense=y,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G0,e.cloneElement=K8,e.createContext=u0,e.createElement=g8,e.createFactory=w8,e.createRef=v0,e.forwardRef=F1,e.isValidElement=je,e.lazy=Y1,e.memo=I0,e.startTransition=Cr,e.unstable_act=H0,e.useCallback=e1,e.useContext=h1,e.useDebugValue=Qe,e.useDeferredValue=We,e.useEffect=Ve,e.useId=ce,e.useImperativeHandle=R1,e.useInsertionEffect=b1,e.useLayoutEffect=m0,e.useMemo=p1,e.useReducer=k1,e.useRef=y1,e.useState=ae,e.useSyncExternalStore=Q1,e.useTransition=g2,e.version=n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Ys,Ys.exports)),Ys.exports}var rp1={};rp1.NODE_ENV==="production"?fH.exports=tp1():fH.exports=ap1();var p=fH.exports;const t=$2(p),Qs=at({__proto__:null,default:t},[p]);/**
39
+ Check the top-level render call using <`+R0+">.")}return s0}function Ra(R,s0){if(!(!R._store||R._store.validated||R.key!=null)){R._store.validated=!0;var R0=_t(s0);if(!e8[R0]){e8[R0]=!0;var Y0="";R&&R._owner&&R._owner!==z.current&&(Y0=" It was passed a child from "+u1(R._owner.type)+"."),Xe(R),g0('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R0,Y0),Xe(null)}}}function st(R,s0){if(typeof R=="object"){if(x0(R))for(var R0=0;R0<R.length;R0++){var Y0=R[R0];je(Y0)&&Ra(Y0,s0)}else if(je(R))R._store&&(R._store.validated=!0);else if(R){var E1=k(R);if(typeof E1=="function"&&E1!==R.entries)for(var ee=E1.call(R),U1;!(U1=ee.next()).done;)je(U1.value)&&Ra(U1.value,s0)}}}function F2(R){{var s0=R.type;if(s0==null||typeof s0=="string")return;var R0;if(typeof s0=="function")R0=s0.propTypes;else if(typeof s0=="object"&&(s0.$$typeof===A||s0.$$typeof===M))R0=s0.propTypes;else return;if(R0){var Y0=u1(s0);Wl(R0,R.props,"prop",Y0,R)}else if(s0.PropTypes!==void 0&&!q4){q4=!0;var E1=u1(s0);g0("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",E1||"Unknown")}typeof s0.getDefaultProps=="function"&&!s0.getDefaultProps.isReactClassApproved&&g0("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function t8(R){{for(var s0=Object.keys(R.props),R0=0;R0<s0.length;R0++){var Y0=s0[R0];if(Y0!=="children"&&Y0!=="key"){Xe(R),g0("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Y0),Xe(null);break}}R.ref!==null&&(Xe(R),g0("Invalid attribute `ref` supplied to `React.Fragment`."),Xe(null))}}function In(R,s0,R0){var Y0=w0(R);if(!Y0){var E1="";(R===void 0||typeof R=="object"&&R!==null&&Object.keys(R).length===0)&&(E1+=" 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=f6(s0);ee?E1+=ee:E1+=W4();var U1;R===null?U1="null":x0(R)?U1="array":R!==void 0&&R.$$typeof===l?(U1="<"+(u1(R.type)||"Unknown")+" />",E1=" Did you accidentally export a JSX literal instead of a component?"):U1=typeof R,g0("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U1,E1)}var Me=P1.apply(this,arguments);if(Me==null)return Me;if(Y0)for(var Ue=2;Ue<arguments.length;Ue++)st(arguments[Ue],R);return R===c?t8(Me):F2(Me),Me}var Q8=!1;function Ct(R){var s0=In.bind(null,R);return s0.type=R,Q8||(Q8=!0,y0("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(s0,"type",{enumerable:!1,get:function(){return y0("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:R}),R}}),s0}function T8(R,s0,R0){for(var Y0=Fe.apply(this,arguments),E1=2;E1<arguments.length;E1++)st(arguments[E1],Y0.type);return F2(Y0),Y0}function Cr(R,s0){var R0=C.transition;C.transition={};var Y0=C.transition;C.transition._updatedFibers=new Set;try{R()}finally{if(C.transition=R0,R0===null&&Y0._updatedFibers){var E1=Y0._updatedFibers.size;E1>10&&y0("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."),Y0._updatedFibers.clear()}}}var G4=!1,Y4=null;function H4(R){if(Y4===null)try{var s0=("require"+Math.random()).slice(0,7),R0=a&&a[s0];Y4=R0.call(a,"timers").setImmediate}catch{Y4=function(E1){G4===!1&&(G4=!0,typeof MessageChannel>"u"&&g0("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=E1,ee.port2.postMessage(void 0)}}return Y4(R)}var za=0,G1=!1;function H0(R){{var s0=za;za++,I.current===null&&(I.current=[]);var R0=I.isBatchingLegacy,Y0;try{if(I.isBatchingLegacy=!0,Y0=R(),!R0&&I.didScheduleLegacyUpdate){var E1=I.current;E1!==null&&(I.didScheduleLegacyUpdate=!1,a8(E1))}}catch(T2){throw f1(s0),T2}finally{I.isBatchingLegacy=R0}if(Y0!==null&&typeof Y0=="object"&&typeof Y0.then=="function"){var ee=Y0,U1=!1,Me={then:function(T2,s8){U1=!0,ee.then(function(A2){f1(s0),za===0?W1(A2,T2,s8):T2(A2)},function(A2){f1(s0),s8(A2)})}};return!G1&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){U1||(G1=!0,g0("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 () => ...);"))}),Me}else{var Ue=Y0;if(f1(s0),za===0){var j2=I.current;j2!==null&&(a8(j2),I.current=null);var C2={then:function(T2,s8){I.current===null?(I.current=[],W1(Ue,T2,s8)):T2(Ue)}};return C2}else{var N2={then:function(T2,s8){T2(Ue)}};return N2}}}}function f1(R){R!==za-1&&g0("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),za=R}function W1(R,s0,R0){{var Y0=I.current;if(Y0!==null)try{a8(Y0),H4(function(){Y0.length===0?(I.current=null,s0(R)):W1(R,s0,R0)})}catch(E1){R0(E1)}else s0(R)}}var r2=!1;function a8(R){if(!r2){r2=!0;var s0=0;try{for(;s0<R.length;s0++){var R0=R[s0];do R0=R0(!0);while(R0!==null)}R.length=0}catch(Y0){throw R=R.slice(s0+1),Y0}finally{r2=!1}}}var g8=In,K8=T8,w8=Ct,G6={map:f8,forEach:jt,count:Ft,toArray:v8,only:Pt};e.Children=G6,e.Component=S0,e.Fragment=c,e.Profiler=u,e.PureComponent=f0,e.StrictMode=m,e.Suspense=y,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G0,e.cloneElement=K8,e.createContext=u0,e.createElement=g8,e.createFactory=w8,e.createRef=v0,e.forwardRef=F1,e.isValidElement=je,e.lazy=Y1,e.memo=I0,e.startTransition=Cr,e.unstable_act=H0,e.useCallback=e1,e.useContext=h1,e.useDebugValue=Qe,e.useDeferredValue=We,e.useEffect=Ve,e.useId=ce,e.useImperativeHandle=R1,e.useInsertionEffect=b1,e.useLayoutEffect=m0,e.useMemo=p1,e.useReducer=k1,e.useRef=y1,e.useState=ae,e.useSyncExternalStore=Q1,e.useTransition=g2,e.version=n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Ys,Ys.exports)),Ys.exports}var rp1={};rp1.NODE_ENV==="production"?fH.exports=tp1():fH.exports=ap1();var p=fH.exports;const t=$2(p),Qs=at({__proto__:null,default:t},[p]);/**
40
40
  * @license React
41
41
  * react-jsx-runtime.production.min.js
42
42
  *
@@ -88,10 +88,10 @@ Check the top-level render call using <`+I0+">.")}return w0}}function Pt(Q,w0){{
88
88
  `+G+d}var d0=!1;function O0(d,f){if(!d||d0)return"";d0=!0;var H=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(f)if(f=function(){throw Error()},Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(B0){var $=B0}Reflect.construct(d,[],f)}else{try{f.call()}catch(B0){$=B0}d.call(f.prototype)}else{try{throw Error()}catch(B0){$=B0}d()}}catch(B0){if(B0&&$&&typeof B0.stack=="string"){for(var P=B0.stack.split(`
89
89
  `),T=$.stack.split(`
90
90
  `),U=P.length-1,i0=T.length-1;1<=U&&0<=i0&&P[U]!==T[i0];)i0--;for(;1<=U&&0<=i0;U--,i0--)if(P[U]!==T[i0]){if(U!==1||i0!==1)do if(U--,i0--,0>i0||P[U]!==T[i0]){var p0=`
91
- `+P[U].replace(" at new "," at ");return d.displayName&&p0.includes("<anonymous>")&&(p0=p0.replace("<anonymous>",d.displayName)),p0}while(1<=U&&0<=i0);break}}}finally{d0=!1,Error.prepareStackTrace=H}return(d=d?d.displayName||d.name:"")?n0(d):""}function S0(d){switch(d.tag){case 5:return n0(d.type);case 16:return n0("Lazy");case 13:return n0("Suspense");case 19:return n0("SuspenseList");case 0:case 2:case 15:return d=O0(d.type,!1),d;case 11:return d=O0(d.type.render,!1),d;case 1:return d=O0(d.type,!0),d;default:return""}}function c0(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case z:return"Fragment";case I:return"Portal";case K:return"Profiler";case q:return"StrictMode";case t0:return"Suspense";case l0:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case o0:return(d.displayName||"Context")+".Consumer";case Y:return(d._context.displayName||"Context")+".Provider";case a0:var f=d.render;return d=d.displayName,d||(d=f.displayName||f.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case e0:return f=d.displayName||null,f!==null?f:c0(d.type)||"Memo";case G0:f=d._payload,d=d._init;try{return c0(d(f))}catch{}}return null}function z0(d){var f=d.type;switch(d.tag){case 24:return"Cache";case 9:return(f.displayName||"Context")+".Consumer";case 10:return(f._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return d=f.render,d=d.displayName||d.name||"",f.displayName||(d!==""?"ForwardRef("+d+")":"ForwardRef");case 7:return"Fragment";case 5:return f;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return c0(f);case 8:return f===q?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f}return null}function X(d){switch(typeof d){case"boolean":case"number":case"string":case"undefined":return d;case"object":return d;default:return""}}function h0(d){var f=d.type;return(d=d.nodeName)&&d.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function f0(d){var f=h0(d)?"checked":"value",H=Object.getOwnPropertyDescriptor(d.constructor.prototype,f),$=""+d[f];if(!d.hasOwnProperty(f)&&typeof H<"u"&&typeof H.get=="function"&&typeof H.set=="function"){var P=H.get,T=H.set;return Object.defineProperty(d,f,{configurable:!0,get:function(){return P.call(this)},set:function(U){$=""+U,T.call(this,U)}}),Object.defineProperty(d,f,{enumerable:H.enumerable}),{getValue:function(){return $},setValue:function(U){$=""+U},stopTracking:function(){d._valueTracker=null,delete d[f]}}}}function Z0(d){d._valueTracker||(d._valueTracker=f0(d))}function v0(d){if(!d)return!1;var f=d._valueTracker;if(!f)return!0;var H=f.getValue(),$="";return d&&($=h0(d)?d.checked?"true":"false":d.value),d=$,d!==H?(f.setValue(d),!0):!1}function A0(d){if(d=d||(typeof document<"u"?document:void 0),typeof d>"u")return null;try{return d.activeElement||d.body}catch{return d.body}}function x0(d,f){var H=f.checked;return B({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:H??d._wrapperState.initialChecked})}function k0(d,f){var H=f.defaultValue==null?"":f.defaultValue,$=f.checked!=null?f.checked:f.defaultChecked;H=X(f.value!=null?f.value:H),d._wrapperState={initialChecked:$,initialValue:H,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function W0(d,f){f=f.checked,f!=null&&k(d,"checked",f,!1)}function t1(d,f){W0(d,f);var H=X(f.value),$=f.type;if(H!=null)$==="number"?(H===0&&d.value===""||d.value!=H)&&(d.value=""+H):d.value!==""+H&&(d.value=""+H);else if($==="submit"||$==="reset"){d.removeAttribute("value");return}f.hasOwnProperty("value")?T1(d,f.type,H):f.hasOwnProperty("defaultValue")&&T1(d,f.type,X(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(d.defaultChecked=!!f.defaultChecked)}function A1(d,f,H){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var $=f.type;if(!($!=="submit"&&$!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+d._wrapperState.initialValue,H||f===d.value||(d.value=f),d.defaultValue=f}H=d.name,H!==""&&(d.name=""),d.defaultChecked=!!d._wrapperState.initialChecked,H!==""&&(d.name=H)}function T1(d,f,H){(f!=="number"||A0(d.ownerDocument)!==d)&&(H==null?d.defaultValue=""+d._wrapperState.initialValue:d.defaultValue!==""+H&&(d.defaultValue=""+H))}var H1=Array.isArray;function u1(d,f,H,$){if(d=d.options,f){f={};for(var P=0;P<H.length;P++)f["$"+H[P]]=!0;for(H=0;H<d.length;H++)P=f.hasOwnProperty("$"+d[H].value),d[H].selected!==P&&(d[H].selected=P),P&&$&&(d[H].defaultSelected=!0)}else{for(H=""+X(H),f=null,P=0;P<d.length;P++){if(d[P].value===H){d[P].selected=!0,$&&(d[P].defaultSelected=!0);return}f!==null||d[P].disabled||(f=d[P])}f!==null&&(f.selected=!0)}}function $0(d,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return B({},f,{value:void 0,defaultValue:void 0,children:""+d._wrapperState.initialValue})}function N0(d,f){var H=f.value;if(H==null){if(H=f.children,f=f.defaultValue,H!=null){if(f!=null)throw Error(r(92));if(H1(H)){if(1<H.length)throw Error(r(93));H=H[0]}f=H}f==null&&(f=""),H=f}d._wrapperState={initialValue:X(H)}}function F0(d,f){var H=X(f.value),$=X(f.defaultValue);H!=null&&(H=""+H,H!==d.value&&(d.value=H),f.defaultValue==null&&d.defaultValue!==H&&(d.defaultValue=H)),$!=null&&(d.defaultValue=""+$)}function Q0(d){var f=d.textContent;f===d._wrapperState.initialValue&&f!==""&&f!==null&&(d.value=f)}function w1(d){switch(d){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function o1(d,f){return d==null||d==="http://www.w3.org/1999/xhtml"?w1(f):d==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":d}var Z1,K1=function(d){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,H,$,P){MSApp.execUnsafeLocalFunction(function(){return d(f,H,$,P)})}:d}(function(d,f){if(d.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in d)d.innerHTML=f;else{for(Z1=Z1||document.createElement("div"),Z1.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=Z1.firstChild;d.firstChild;)d.removeChild(d.firstChild);for(;f.firstChild;)d.appendChild(f.firstChild)}});function Ie(d,f){if(f){var H=d.firstChild;if(H&&H===d.lastChild&&H.nodeType===3){H.nodeValue=f;return}}d.textContent=f}var Le={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},c1=["Webkit","ms","Moz","O"];Object.keys(Le).forEach(function(d){c1.forEach(function(f){f=f+d.charAt(0).toUpperCase()+d.substring(1),Le[f]=Le[d]})});function P1(d,f,H){return f==null||typeof f=="boolean"||f===""?"":H||typeof f!="number"||f===0||Le.hasOwnProperty(d)&&Le[d]?(""+f).trim():f+"px"}function de(d,f){d=d.style;for(var H in f)if(f.hasOwnProperty(H)){var $=H.indexOf("--")===0,P=P1(H,f[H],$);H==="float"&&(H="cssFloat"),$?d.setProperty(H,P):d[H]=P}}var Fe=B({menuitem:!0},{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});function je(d,f){if(f){if(Fe[d]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,d));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(typeof f.dangerouslySetInnerHTML!="object"||!("__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function Z2(d,f){if(d.indexOf("-")===-1)return typeof f.is=="string";switch(d){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 f2=null;function i8(d){return d=d.target||d.srcElement||window,d.correspondingUseElement&&(d=d.correspondingUseElement),d.nodeType===3?d.parentNode:d}var Be=null,Pe=null,qe=null;function m2(d){if(d=K4(d)){if(typeof Be!="function")throw Error(r(280));var f=d.stateNode;f&&(f=_9(f),Be(d.stateNode,d.type,f))}}function v2(d){Pe?qe?qe.push(d):qe=[d]:Pe=d}function f8(){if(Pe){var d=Pe,f=qe;if(qe=Pe=null,m2(d),f)for(d=0;d<f.length;d++)m2(f[d])}}function Ft(d,f){return d(f)}function jt(){}var v8=!1;function Pt(d,f,H){if(v8)return d(f,H);v8=!0;try{return Ft(d,f,H)}finally{v8=!1,(Pe!==null||qe!==null)&&(jt(),f8())}}function u0(d,f){var H=d.stateNode;if(H===null)return null;var $=_9(H);if($===null)return null;H=$[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":($=!$.disabled)||(d=d.type,$=!(d==="button"||d==="input"||d==="select"||d==="textarea")),d=!$;break e;default:d=!1}if(d)return null;if(H&&typeof H!="function")throw Error(r(231,f,typeof H));return H}var V0=!1;if(m)try{var T0={};Object.defineProperty(T0,"passive",{get:function(){V0=!0}}),window.addEventListener("test",T0,T0),window.removeEventListener("test",T0,T0)}catch{V0=!1}function a1(d,f,H,$,P,T,U,i0,p0){var B0=Array.prototype.slice.call(arguments,3);try{f.apply(H,B0)}catch(m1){this.onError(m1)}}var O1=!1,V1=null,Y1=!1,F1=null,Q={onError:function(d){O1=!0,V1=d}};function w0(d,f,H,$,P,T,U,i0,p0){O1=!1,V1=null,a1.apply(Q,arguments)}function I0(d,f,H,$,P,T,U,i0,p0){if(w0.apply(this,arguments),O1){if(O1){var B0=V1;O1=!1,V1=null}else throw Error(r(198));Y1||(Y1=!0,F1=B0)}}function J0(d){var f=d,H=d;if(d.alternate)for(;f.return;)f=f.return;else{d=f;do f=d,f.flags&4098&&(H=f.return),d=f.return;while(d)}return f.tag===3?H:null}function h1(d){if(d.tag===13){var f=d.memoizedState;if(f===null&&(d=d.alternate,d!==null&&(f=d.memoizedState)),f!==null)return f.dehydrated}return null}function ae(d){if(J0(d)!==d)throw Error(r(188))}function k1(d){var f=d.alternate;if(!f){if(f=J0(d),f===null)throw Error(r(188));return f!==d?null:d}for(var H=d,$=f;;){var P=H.return;if(P===null)break;var T=P.alternate;if(T===null){if($=P.return,$!==null){H=$;continue}break}if(P.child===T.child){for(T=P.child;T;){if(T===H)return ae(P),d;if(T===$)return ae(P),f;T=T.sibling}throw Error(r(188))}if(H.return!==$.return)H=P,$=T;else{for(var U=!1,i0=P.child;i0;){if(i0===H){U=!0,H=P,$=T;break}if(i0===$){U=!0,$=P,H=T;break}i0=i0.sibling}if(!U){for(i0=T.child;i0;){if(i0===H){U=!0,H=T,$=P;break}if(i0===$){U=!0,$=T,H=P;break}i0=i0.sibling}if(!U)throw Error(r(189))}}if(H.alternate!==$)throw Error(r(190))}if(H.tag!==3)throw Error(r(188));return H.stateNode.current===H?d:f}function y1(d){return d=k1(d),d!==null?Ve(d):null}function Ve(d){if(d.tag===5||d.tag===6)return d;for(d=d.child;d!==null;){var f=Ve(d);if(f!==null)return f;d=d.sibling}return null}var b1=e.unstable_scheduleCallback,m0=e.unstable_cancelCallback,e1=e.unstable_shouldYield,p1=e.unstable_requestPaint,R1=e.unstable_now,Qe=e.unstable_getCurrentPriorityLevel,g2=e.unstable_ImmediatePriority,We=e.unstable_UserBlockingPriority,ce=e.unstable_NormalPriority,Q1=e.unstable_LowPriority,Ke=e.unstable_IdlePriority,N8=null,H8=null;function L2(d){if(H8&&typeof H8.onCommitFiberRoot=="function")try{H8.onCommitFiberRoot(N8,d,void 0,(d.current.flags&128)===128)}catch{}}var U2=Math.clz32?Math.clz32:Tn,fa=Math.log,Da=Math.LN2;function Tn(d){return d>>>=0,d===0?32:31-(fa(d)/Da|0)|0}var B4=64,_r=4194304;function d6(d){switch(d&-d){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return d&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return d&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return d}}function p6(d,f){var H=d.pendingLanes;if(H===0)return 0;var $=0,P=d.suspendedLanes,T=d.pingedLanes,U=H&268435455;if(U!==0){var i0=U&~P;i0!==0?$=d6(i0):(T&=U,T!==0&&($=d6(T)))}else U=H&~P,U!==0?$=d6(U):T!==0&&($=d6(T));if($===0)return 0;if(f!==0&&f!==$&&!(f&P)&&(P=$&-$,T=f&-f,P>=T||P===16&&(T&4194240)!==0))return f;if($&4&&($|=H&16),f=d.entangledLanes,f!==0)for(d=d.entanglements,f&=$;0<f;)H=31-U2(f),P=1<<H,$|=d[H],f&=~P;return $}function kt(d,f){switch(d){case 1:case 2:case 4:return f+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function h6(d,f){for(var H=d.suspendedLanes,$=d.pingedLanes,P=d.expirationTimes,T=d.pendingLanes;0<T;){var U=31-U2(T),i0=1<<U,p0=P[U];p0===-1?(!(i0&H)||i0&$)&&(P[U]=kt(i0,f)):p0<=f&&(d.expiredLanes|=i0),T&=~i0}}function Y8(d){return d=d.pendingLanes&-1073741825,d!==0?d:d&1073741824?1073741824:0}function xa(){var d=B4;return B4<<=1,!(B4&4194240)&&(B4=64),d}function y4(d){for(var f=[],H=0;31>H;H++)f.push(d);return f}function W6(d,f,H){d.pendingLanes|=f,f!==536870912&&(d.suspendedLanes=0,d.pingedLanes=0),d=d.eventTimes,f=31-U2(f),d[f]=H}function Bl(d,f){var H=d.pendingLanes&~f;d.pendingLanes=f,d.suspendedLanes=0,d.pingedLanes=0,d.expiredLanes&=f,d.mutableReadLanes&=f,d.entangledLanes&=f,f=d.entanglements;var $=d.eventTimes;for(d=d.expirationTimes;0<H;){var P=31-U2(H),T=1<<P;f[P]=0,$[P]=-1,d[P]=-1,H&=~T}}function b4(d,f){var H=d.entangledLanes|=f;for(d=d.entanglements;H;){var $=31-U2(H),P=1<<$;P&f|d[$]&f&&(d[$]|=f),H&=~P}}var a2=0;function ql(d){return d&=-d,1<d?4<d?d&268435455?16:536870912:4:1}var c8,va,Wl,Xe,q4,W4=!1,Ee=[],f6=null,e8=null,_t=null,Ra=new Map,ct=new Map,F2=[],t8="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".split(" ");function In(d,f){switch(d){case"focusin":case"focusout":f6=null;break;case"dragenter":case"dragleave":e8=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":Ra.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":ct.delete(f.pointerId)}}function Q8(d,f,H,$,P,T){return d===null||d.nativeEvent!==T?(d={blockedOn:f,domEventName:H,eventSystemFlags:$,nativeEvent:T,targetContainers:[P]},f!==null&&(f=K4(f),f!==null&&va(f)),d):(d.eventSystemFlags|=$,f=d.targetContainers,P!==null&&f.indexOf(P)===-1&&f.push(P),d)}function Ct(d,f,H,$,P){switch(f){case"focusin":return f6=Q8(f6,d,f,H,$,P),!0;case"dragenter":return e8=Q8(e8,d,f,H,$,P),!0;case"mouseover":return _t=Q8(_t,d,f,H,$,P),!0;case"pointerover":var T=P.pointerId;return Ra.set(T,Q8(Ra.get(T)||null,d,f,H,$,P)),!0;case"gotpointercapture":return T=P.pointerId,ct.set(T,Q8(ct.get(T)||null,d,f,H,$,P)),!0}return!1}function T8(d){var f=Ur(d.target);if(f!==null){var H=J0(f);if(H!==null){if(f=H.tag,f===13){if(f=h1(H),f!==null){d.blockedOn=f,q4(d.priority,function(){Wl(H)});return}}else if(f===3&&H.stateNode.current.memoizedState.isDehydrated){d.blockedOn=H.tag===3?H.stateNode.containerInfo:null;return}}}d.blockedOn=null}function Cr(d){if(d.blockedOn!==null)return!1;for(var f=d.targetContainers;0<f.length;){var H=g8(d.domEventName,d.eventSystemFlags,f[0],d.nativeEvent);if(H===null){H=d.nativeEvent;var $=new H.constructor(H.type,H);f2=$,H.target.dispatchEvent($),f2=null}else return f=K4(H),f!==null&&va(f),d.blockedOn=H,!1;f.shift()}return!0}function G4(d,f,H){Cr(d)&&H.delete(f)}function Y4(){W4=!1,f6!==null&&Cr(f6)&&(f6=null),e8!==null&&Cr(e8)&&(e8=null),_t!==null&&Cr(_t)&&(_t=null),Ra.forEach(G4),ct.forEach(G4)}function H4(d,f){d.blockedOn===f&&(d.blockedOn=null,W4||(W4=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Y4)))}function za(d){function f(P){return H4(P,d)}if(0<Ee.length){H4(Ee[0],d);for(var H=1;H<Ee.length;H++){var $=Ee[H];$.blockedOn===d&&($.blockedOn=null)}}for(f6!==null&&H4(f6,d),e8!==null&&H4(e8,d),_t!==null&&H4(_t,d),Ra.forEach(f),ct.forEach(f),H=0;H<F2.length;H++)$=F2[H],$.blockedOn===d&&($.blockedOn=null);for(;0<F2.length&&(H=F2[0],H.blockedOn===null);)T8(H),H.blockedOn===null&&F2.shift()}var G1=N.ReactCurrentBatchConfig,H0=!0;function f1(d,f,H,$){var P=a2,T=G1.transition;G1.transition=null;try{a2=1,r2(d,f,H,$)}finally{a2=P,G1.transition=T}}function W1(d,f,H,$){var P=a2,T=G1.transition;G1.transition=null;try{a2=4,r2(d,f,H,$)}finally{a2=P,G1.transition=T}}function r2(d,f,H,$){if(H0){var P=g8(d,f,H,$);if(P===null)ep(d,f,$,a8,H),In(d,$);else if(Ct(P,d,f,H,$))$.stopPropagation();else if(In(d,$),f&4&&-1<t8.indexOf(d)){for(;P!==null;){var T=K4(P);if(T!==null&&c8(T),T=g8(d,f,H,$),T===null&&ep(d,f,$,a8,H),T===P)break;P=T}P!==null&&$.stopPropagation()}else ep(d,f,$,null,H)}}var a8=null;function g8(d,f,H,$){if(a8=null,d=i8($),d=Ur(d),d!==null)if(f=J0(d),f===null)d=null;else if(H=f.tag,H===13){if(d=h1(f),d!==null)return d;d=null}else if(H===3){if(f.stateNode.current.memoizedState.isDehydrated)return f.tag===3?f.stateNode.containerInfo:null;d=null}else f!==d&&(d=null);return a8=d,null}function K8(d){switch(d){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 1;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 4;case"message":switch(Qe()){case g2:return 1;case We:return 4;case ce:case Q1:return 16;case Ke:return 536870912;default:return 16}default:return 16}}var w8=null,G6=null,R=null;function s0(){if(R)return R;var d,f=G6,H=f.length,$,P="value"in w8?w8.value:w8.textContent,T=P.length;for(d=0;d<H&&f[d]===P[d];d++);var U=H-d;for($=1;$<=U&&f[H-$]===P[T-$];$++);return R=P.slice(d,1<$?1-$:void 0)}function R0(d){var f=d.keyCode;return"charCode"in d?(d=d.charCode,d===0&&f===13&&(d=13)):d=f,d===10&&(d=13),32<=d||d===13?d:0}function Y0(){return!0}function E1(){return!1}function ee(d){function f(H,$,P,T,U){this._reactName=H,this._targetInst=P,this.type=$,this.nativeEvent=T,this.target=U,this.currentTarget=null;for(var i0 in d)d.hasOwnProperty(i0)&&(H=d[i0],this[i0]=H?H(T):T[i0]);return this.isDefaultPrevented=(T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1)?Y0:E1,this.isPropagationStopped=E1,this}return B(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var H=this.nativeEvent;H&&(H.preventDefault?H.preventDefault():typeof H.returnValue!="unknown"&&(H.returnValue=!1),this.isDefaultPrevented=Y0)},stopPropagation:function(){var H=this.nativeEvent;H&&(H.stopPropagation?H.stopPropagation():typeof H.cancelBubble!="unknown"&&(H.cancelBubble=!0),this.isPropagationStopped=Y0)},persist:function(){},isPersistent:Y0}),f}var U1={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(d){return d.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Me=ee(U1),Ue=B({},U1,{view:0,detail:0}),j2=ee(Ue),C2,N2,T2,s8=B({},Ue,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:V9,button:0,buttons:0,relatedTarget:function(d){return d.relatedTarget===void 0?d.fromElement===d.srcElement?d.toElement:d.fromElement:d.relatedTarget},movementX:function(d){return"movementX"in d?d.movementX:(d!==T2&&(T2&&d.type==="mousemove"?(C2=d.screenX-T2.screenX,N2=d.screenY-T2.screenY):N2=C2=0,T2=d),C2)},movementY:function(d){return"movementY"in d?d.movementY:N2}}),A2=ee(s8),Dn=B({},s8,{dataTransfer:0}),Mo=ee(Dn),F5=B({},Ue,{relatedTarget:0}),j5=ee(F5),Nr=B({},U1,{animationName:0,elapsedTime:0,pseudoElement:0}),P5=ee(Nr),k5=B({},U1,{clipboardData:function(d){return"clipboardData"in d?d.clipboardData:window.clipboardData}}),Rd=ee(k5),oF=B({},U1,{data:0}),SZ=ee(oF),LZ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zd={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"},FZ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jZ(d){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(d):(d=FZ[d])?!!f[d]:!1}function V9(){return jZ}var iF=B({},Ue,{key:function(d){if(d.key){var f=LZ[d.key]||d.key;if(f!=="Unidentified")return f}return d.type==="keypress"?(d=R0(d),d===13?"Enter":String.fromCharCode(d)):d.type==="keydown"||d.type==="keyup"?zd[d.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:V9,charCode:function(d){return d.type==="keypress"?R0(d):0},keyCode:function(d){return d.type==="keydown"||d.type==="keyup"?d.keyCode:0},which:function(d){return d.type==="keypress"?R0(d):d.type==="keydown"||d.type==="keyup"?d.keyCode:0}}),Tr=ee(iF),cF=B({},s8,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),O9=ee(cF),Ud=B({},Ue,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:V9}),Bd=ee(Ud),sF=B({},U1,{propertyName:0,elapsedTime:0,pseudoElement:0}),$9=ee(sF),PZ=B({},s8,{deltaX:function(d){return"deltaX"in d?d.deltaX:"wheelDeltaX"in d?-d.wheelDeltaX:0},deltaY:function(d){return"deltaY"in d?d.deltaY:"wheelDeltaY"in d?-d.wheelDeltaY:"wheelDelta"in d?-d.wheelDelta:0},deltaZ:0,deltaMode:0}),Ua=ee(PZ),Ir=[9,13,27,32],S8=m&&"CompositionEvent"in window,v6=null;m&&"documentMode"in document&&(v6=document.documentMode);var qd=m&&"TextEvent"in window&&!v6,_5=m&&(!S8||v6&&8<v6&&11>=v6),kZ=" ",Vo=!1;function _Z(d,f){switch(d){case"keyup":return Ir.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function CZ(d){return d=d.detail,typeof d=="object"&&"data"in d?d.data:null}var xn=!1;function mF(d,f){switch(d){case"compositionend":return CZ(f);case"keypress":return f.which!==32?null:(Vo=!0,kZ);case"textInput":return d=f.data,d===kZ&&Vo?null:d;default:return null}}function uF(d,f){if(xn)return d==="compositionend"||!S8&&_Z(d,f)?(d=s0(),R=G6=w8=null,xn=!1,d):null;switch(d){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return _5&&f.locale!=="ko"?null:f.data;default:return null}}var dF={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 Wd(d){var f=d&&d.nodeName&&d.nodeName.toLowerCase();return f==="input"?!!dF[d.type]:f==="textarea"}function NZ(d,f,H,$){v2($),f=P9(f,"onChange"),0<f.length&&(H=new Me("onChange","change",null,H,$),d.push({event:H,listeners:f}))}var C5=null,N5=null;function TZ(d){ey(d,0)}function Dr(d){var f=So(d);if(v0(f))return d}function Gd(d,f){if(d==="change")return f}var Yd=!1;if(m){var w9;if(m){var Qd="oninput"in document;if(!Qd){var IZ=document.createElement("div");IZ.setAttribute("oninput","return;"),Qd=typeof IZ.oninput=="function"}w9=Qd}else w9=!1;Yd=w9&&(!document.documentMode||9<document.documentMode)}function DZ(){C5&&(C5.detachEvent("onpropertychange",xZ),N5=C5=null)}function xZ(d){if(d.propertyName==="value"&&Dr(N5)){var f=[];NZ(f,N5,d,i8(d)),Pt(TZ,f)}}function pF(d,f,H){d==="focusin"?(DZ(),C5=f,N5=H,C5.attachEvent("onpropertychange",xZ)):d==="focusout"&&DZ()}function hF(d){if(d==="selectionchange"||d==="keyup"||d==="keydown")return Dr(N5)}function fF(d,f){if(d==="click")return Dr(f)}function vF(d,f){if(d==="input"||d==="change")return Dr(f)}function RZ(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var E4=typeof Object.is=="function"?Object.is:RZ;function Oo(d,f){if(E4(d,f))return!0;if(typeof d!="object"||d===null||typeof f!="object"||f===null)return!1;var H=Object.keys(d),$=Object.keys(f);if(H.length!==$.length)return!1;for($=0;$<H.length;$++){var P=H[$];if(!u.call(f,P)||!E4(d[P],f[P]))return!1}return!0}function zZ(d){for(;d&&d.firstChild;)d=d.firstChild;return d}function UZ(d,f){var H=zZ(d);d=0;for(var $;H;){if(H.nodeType===3){if($=d+H.textContent.length,d<=f&&$>=f)return{node:H,offset:f-d};d=$}e:{for(;H;){if(H.nextSibling){H=H.nextSibling;break e}H=H.parentNode}H=void 0}H=zZ(H)}}function BZ(d,f){return d&&f?d===f?!0:d&&d.nodeType===3?!1:f&&f.nodeType===3?BZ(d,f.parentNode):"contains"in d?d.contains(f):d.compareDocumentPosition?!!(d.compareDocumentPosition(f)&16):!1:!1}function qZ(){for(var d=window,f=A0();f instanceof d.HTMLIFrameElement;){try{var H=typeof f.contentWindow.location.href=="string"}catch{H=!1}if(H)d=f.contentWindow;else break;f=A0(d.document)}return f}function T5(d){var f=d&&d.nodeName&&d.nodeName.toLowerCase();return f&&(f==="input"&&(d.type==="text"||d.type==="search"||d.type==="tel"||d.type==="url"||d.type==="password")||f==="textarea"||d.contentEditable==="true")}function Gl(d){var f=qZ(),H=d.focusedElem,$=d.selectionRange;if(f!==H&&H&&H.ownerDocument&&BZ(H.ownerDocument.documentElement,H)){if($!==null&&T5(H)){if(f=$.start,d=$.end,d===void 0&&(d=f),"selectionStart"in H)H.selectionStart=f,H.selectionEnd=Math.min(d,H.value.length);else if(d=(f=H.ownerDocument||document)&&f.defaultView||window,d.getSelection){d=d.getSelection();var P=H.textContent.length,T=Math.min($.start,P);$=$.end===void 0?T:Math.min($.end,P),!d.extend&&T>$&&(P=$,$=T,T=P),P=UZ(H,T);var U=UZ(H,$);P&&U&&(d.rangeCount!==1||d.anchorNode!==P.node||d.anchorOffset!==P.offset||d.focusNode!==U.node||d.focusOffset!==U.offset)&&(f=f.createRange(),f.setStart(P.node,P.offset),d.removeAllRanges(),T>$?(d.addRange(f),d.extend(U.node,U.offset)):(f.setEnd(U.node,U.offset),d.addRange(f)))}}for(f=[],d=H;d=d.parentNode;)d.nodeType===1&&f.push({element:d,left:d.scrollLeft,top:d.scrollTop});for(typeof H.focus=="function"&&H.focus(),H=0;H<f.length;H++)d=f[H],d.element.scrollLeft=d.left,d.element.scrollTop=d.top}}var S9=m&&"documentMode"in document&&11>=document.documentMode,Yl=null,Rn=null,I5=null,Kd=!1;function WZ(d,f,H){var $=H.window===H?H.document:H.nodeType===9?H:H.ownerDocument;Kd||Yl==null||Yl!==A0($)||($=Yl,"selectionStart"in $&&T5($)?$={start:$.selectionStart,end:$.selectionEnd}:($=($.ownerDocument&&$.ownerDocument.defaultView||window).getSelection(),$={anchorNode:$.anchorNode,anchorOffset:$.anchorOffset,focusNode:$.focusNode,focusOffset:$.focusOffset}),I5&&Oo(I5,$)||(I5=$,$=P9(Rn,"onSelect"),0<$.length&&(f=new Me("onSelect","select",null,f,H),d.push({event:f,listeners:$}),f.target=Yl)))}function L9(d,f){var H={};return H[d.toLowerCase()]=f.toLowerCase(),H["Webkit"+d]="webkit"+f,H["Moz"+d]="moz"+f,H}var $o={animationend:L9("Animation","AnimationEnd"),animationiteration:L9("Animation","AnimationIteration"),animationstart:L9("Animation","AnimationStart"),transitionend:L9("Transition","TransitionEnd")},F9={},GZ={};m&&(GZ=document.createElement("div").style,"AnimationEvent"in window||(delete $o.animationend.animation,delete $o.animationiteration.animation,delete $o.animationstart.animation),"TransitionEvent"in window||delete $o.transitionend.transition);function D5(d){if(F9[d])return F9[d];if(!$o[d])return d;var f=$o[d],H;for(H in f)if(f.hasOwnProperty(H)&&H in GZ)return F9[d]=f[H];return d}var aa=D5("animationend"),Xd=D5("animationiteration"),YZ=D5("animationstart"),QZ=D5("transitionend"),KZ=new Map,XZ="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".split(" ");function zn(d,f){KZ.set(d,f),o(f,[d])}for(var j9=0;j9<XZ.length;j9++){var x5=XZ[j9],R5=x5.toLowerCase(),gF=x5[0].toUpperCase()+x5.slice(1);zn(R5,"on"+gF)}zn(aa,"onAnimationEnd"),zn(Xd,"onAnimationIteration"),zn(YZ,"onAnimationStart"),zn("dblclick","onDoubleClick"),zn("focusin","onFocus"),zn("focusout","onBlur"),zn(QZ,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),AF=new Set("cancel close invalid load scroll toggle".split(" ").concat(xr));function JZ(d,f,H){var $=d.type||"unknown-event";d.currentTarget=H,I0($,f,void 0,d),d.currentTarget=null}function ey(d,f){f=(f&4)!==0;for(var H=0;H<d.length;H++){var $=d[H],P=$.event;$=$.listeners;e:{var T=void 0;if(f)for(var U=$.length-1;0<=U;U--){var i0=$[U],p0=i0.instance,B0=i0.currentTarget;if(i0=i0.listener,p0!==T&&P.isPropagationStopped())break e;JZ(P,i0,B0),T=p0}else for(U=0;U<$.length;U++){if(i0=$[U],p0=i0.instance,B0=i0.currentTarget,i0=i0.listener,p0!==T&&P.isPropagationStopped())break e;JZ(P,i0,B0),T=p0}}}if(Y1)throw d=F1,Y1=!1,F1=null,d}function Y2(d,f){var H=f[cp];H===void 0&&(H=f[cp]=new Set);var $=d+"__bubble";H.has($)||(Jd(f,d,2,!1),H.add($))}function z5(d,f,H){var $=0;f&&($|=4),Jd(H,d,$,f)}var Rr="_reactListening"+Math.random().toString(36).slice(2);function Q4(d){if(!d[Rr]){d[Rr]=!0,n.forEach(function(H){H!=="selectionchange"&&(AF.has(H)||z5(H,!1,d),z5(H,!0,d))});var f=d.nodeType===9?d:d.ownerDocument;f===null||f[Rr]||(f[Rr]=!0,z5("selectionchange",!1,f))}}function Jd(d,f,H,$){switch(K8(f)){case 1:var P=f1;break;case 4:P=W1;break;default:P=r2}H=P.bind(null,f,H,d),P=void 0,!V0||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(P=!0),$?P!==void 0?d.addEventListener(f,H,{capture:!0,passive:P}):d.addEventListener(f,H,!0):P!==void 0?d.addEventListener(f,H,{passive:P}):d.addEventListener(f,H,!1)}function ep(d,f,H,$,P){var T=$;if(!(f&1)&&!(f&2)&&$!==null)e:for(;;){if($===null)return;var U=$.tag;if(U===3||U===4){var i0=$.stateNode.containerInfo;if(i0===P||i0.nodeType===8&&i0.parentNode===P)break;if(U===4)for(U=$.return;U!==null;){var p0=U.tag;if((p0===3||p0===4)&&(p0=U.stateNode.containerInfo,p0===P||p0.nodeType===8&&p0.parentNode===P))return;U=U.return}for(;i0!==null;){if(U=Ur(i0),U===null)return;if(p0=U.tag,p0===5||p0===6){$=T=U;continue e}i0=i0.parentNode}}$=$.return}Pt(function(){var B0=T,m1=i8(H),v1=[];e:{var s1=KZ.get(d);if(s1!==void 0){var x1=Me,X1=d;switch(d){case"keypress":if(R0(H)===0)break e;case"keydown":case"keyup":x1=Tr;break;case"focusin":X1="focus",x1=j5;break;case"focusout":X1="blur",x1=j5;break;case"beforeblur":case"afterblur":x1=j5;break;case"click":if(H.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x1=A2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x1=Mo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x1=Bd;break;case aa:case Xd:case YZ:x1=P5;break;case QZ:x1=$9;break;case"scroll":x1=j2;break;case"wheel":x1=Ua;break;case"copy":case"cut":case"paste":x1=Rd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x1=O9}var re=(f&4)!==0,D8=!re&&d==="scroll",P0=re?s1!==null?s1+"Capture":null:s1;re=[];for(var E0=B0,D0;E0!==null;){D0=E0;var M1=D0.stateNode;if(D0.tag===5&&M1!==null&&(D0=M1,P0!==null&&(M1=u0(E0,P0),M1!=null&&re.push(wo(E0,M1,D0)))),D8)break;E0=E0.return}0<re.length&&(s1=new x1(s1,X1,null,H,m1),v1.push({event:s1,listeners:re}))}}if(!(f&7)){e:{if(s1=d==="mouseover"||d==="pointerover",x1=d==="mouseout"||d==="pointerout",s1&&H!==f2&&(X1=H.relatedTarget||H.fromElement)&&(Ur(X1)||X1[M4]))break e;if((x1||s1)&&(s1=m1.window===m1?m1:(s1=m1.ownerDocument)?s1.defaultView||s1.parentWindow:window,x1?(X1=H.relatedTarget||H.toElement,x1=B0,X1=X1?Ur(X1):null,X1!==null&&(D8=J0(X1),X1!==D8||X1.tag!==5&&X1.tag!==6)&&(X1=null)):(x1=null,X1=B0),x1!==X1)){if(re=A2,M1="onMouseLeave",P0="onMouseEnter",E0="mouse",(d==="pointerout"||d==="pointerover")&&(re=O9,M1="onPointerLeave",P0="onPointerEnter",E0="pointer"),D8=x1==null?s1:So(x1),D0=X1==null?s1:So(X1),s1=new re(M1,E0+"leave",x1,H,m1),s1.target=D8,s1.relatedTarget=D0,M1=null,Ur(m1)===B0&&(re=new re(P0,E0+"enter",X1,H,m1),re.target=D0,re.relatedTarget=D8,M1=re),D8=M1,x1&&X1)t:{for(re=x1,P0=X1,E0=0,D0=re;D0;D0=Ql(D0))E0++;for(D0=0,M1=P0;M1;M1=Ql(M1))D0++;for(;0<E0-D0;)re=Ql(re),E0--;for(;0<D0-E0;)P0=Ql(P0),D0--;for(;E0--;){if(re===P0||P0!==null&&re===P0.alternate)break t;re=Ql(re),P0=Ql(P0)}re=null}else re=null;x1!==null&&tp(v1,s1,x1,re,!1),X1!==null&&D8!==null&&tp(v1,D8,X1,re,!0)}}e:{if(s1=B0?So(B0):window,x1=s1.nodeName&&s1.nodeName.toLowerCase(),x1==="select"||x1==="input"&&s1.type==="file")var oe=Gd;else if(Wd(s1))if(Yd)oe=vF;else{oe=hF;var ye=pF}else(x1=s1.nodeName)&&x1.toLowerCase()==="input"&&(s1.type==="checkbox"||s1.type==="radio")&&(oe=fF);if(oe&&(oe=oe(d,B0))){NZ(v1,oe,H,m1);break e}ye&&ye(d,s1,B0),d==="focusout"&&(ye=s1._wrapperState)&&ye.controlled&&s1.type==="number"&&T1(s1,"number",s1.value)}switch(ye=B0?So(B0):window,d){case"focusin":(Wd(ye)||ye.contentEditable==="true")&&(Yl=ye,Rn=B0,I5=null);break;case"focusout":I5=Rn=Yl=null;break;case"mousedown":Kd=!0;break;case"contextmenu":case"mouseup":case"dragend":Kd=!1,WZ(v1,H,m1);break;case"selectionchange":if(S9)break;case"keydown":case"keyup":WZ(v1,H,m1)}var be;if(S8)e:{switch(d){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else xn?_Z(d,H)&&(me="onCompositionEnd"):d==="keydown"&&H.keyCode===229&&(me="onCompositionStart");me&&(_5&&H.locale!=="ko"&&(xn||me!=="onCompositionStart"?me==="onCompositionEnd"&&xn&&(be=s0()):(w8=m1,G6="value"in w8?w8.value:w8.textContent,xn=!0)),ye=P9(B0,me),0<ye.length&&(me=new SZ(me,d,null,H,m1),v1.push({event:me,listeners:ye}),be?me.data=be:(be=CZ(H),be!==null&&(me.data=be)))),(be=qd?mF(d,H):uF(d,H))&&(B0=P9(B0,"onBeforeInput"),0<B0.length&&(m1=new SZ("onBeforeInput","beforeinput",null,H,m1),v1.push({event:m1,listeners:B0}),m1.data=be))}ey(v1,f)})}function wo(d,f,H){return{instance:d,listener:f,currentTarget:H}}function P9(d,f){for(var H=f+"Capture",$=[];d!==null;){var P=d,T=P.stateNode;P.tag===5&&T!==null&&(P=T,T=u0(d,H),T!=null&&$.unshift(wo(d,T,P)),T=u0(d,f),T!=null&&$.push(wo(d,T,P))),d=d.return}return $}function Ql(d){if(d===null)return null;do d=d.return;while(d&&d.tag!==5);return d||null}function tp(d,f,H,$,P){for(var T=f._reactName,U=[];H!==null&&H!==$;){var i0=H,p0=i0.alternate,B0=i0.stateNode;if(p0!==null&&p0===$)break;i0.tag===5&&B0!==null&&(i0=B0,P?(p0=u0(H,T),p0!=null&&U.unshift(wo(H,p0,i0))):P||(p0=u0(H,T),p0!=null&&U.push(wo(H,p0,i0)))),H=H.return}U.length!==0&&d.push({event:f,listeners:U})}var ty=/\r\n?/g,ap=/\u0000|\uFFFD/g;function ay(d){return(typeof d=="string"?d:""+d).replace(ty,`
92
- `).replace(ap,"")}function U5(d,f,H){if(f=ay(f),ay(d)!==f&&H)throw Error(r(425))}function k9(){}var rp=null,np=null;function Kl(d,f){return d==="textarea"||d==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var B5=typeof setTimeout=="function"?setTimeout:void 0,q5=typeof clearTimeout=="function"?clearTimeout:void 0,lp=typeof Promise=="function"?Promise:void 0,ry=typeof queueMicrotask=="function"?queueMicrotask:typeof lp<"u"?function(d){return lp.resolve(null).then(d).catch(op)}:B5;function op(d){setTimeout(function(){throw d})}function ip(d,f){var H=f,$=0;do{var P=H.nextSibling;if(d.removeChild(H),P&&P.nodeType===8)if(H=P.data,H==="/$"){if($===0){d.removeChild(P),za(f);return}$--}else H!=="$"&&H!=="$?"&&H!=="$!"||$++;H=P}while(H);za(f)}function g6(d){for(;d!=null;d=d.nextSibling){var f=d.nodeType;if(f===1||f===3)break;if(f===8){if(f=d.data,f==="$"||f==="$!"||f==="$?")break;if(f==="/$")return null}}return d}function W5(d){d=d.previousSibling;for(var f=0;d;){if(d.nodeType===8){var H=d.data;if(H==="$"||H==="$!"||H==="$?"){if(f===0)return d;f--}else H==="/$"&&f++}d=d.previousSibling}return null}var zr=Math.random().toString(36).slice(2),Y6="__reactFiber$"+zr,G5="__reactProps$"+zr,M4="__reactContainer$"+zr,cp="__reactEvents$"+zr,ZF="__reactListeners$"+zr,yF="__reactHandles$"+zr;function Ur(d){var f=d[Y6];if(f)return f;for(var H=d.parentNode;H;){if(f=H[M4]||H[Y6]){if(H=f.alternate,f.child!==null||H!==null&&H.child!==null)for(d=W5(d);d!==null;){if(H=d[Y6])return H;d=W5(d)}return f}d=H,H=d.parentNode}return null}function K4(d){return d=d[Y6]||d[M4],!d||d.tag!==5&&d.tag!==6&&d.tag!==13&&d.tag!==3?null:d}function So(d){if(d.tag===5||d.tag===6)return d.stateNode;throw Error(r(33))}function _9(d){return d[G5]||null}var ve=[],V4=-1;function Q2(d){return{current:d}}function le(d){0>V4||(d.current=ve[V4],ve[V4]=null,V4--)}function M2(d,f){V4++,ve[V4]=d.current,d.current=f}var Q6={},Zt=Q2(Q6),ke=Q2(!1),ga=Q6;function A6(d,f){var H=d.type.contextTypes;if(!H)return Q6;var $=d.stateNode;if($&&$.__reactInternalMemoizedUnmaskedChildContext===f)return $.__reactInternalMemoizedMaskedChildContext;var P={},T;for(T in H)P[T]=f[T];return $&&(d=d.stateNode,d.__reactInternalMemoizedUnmaskedChildContext=f,d.__reactInternalMemoizedMaskedChildContext=P),P}function X8(d){return d=d.childContextTypes,d!=null}function Ba(){le(ke),le(Zt)}function X4(d,f,H){if(Zt.current!==Q6)throw Error(r(168));M2(Zt,f),M2(ke,H)}function Un(d,f,H){var $=d.stateNode;if(f=f.childContextTypes,typeof $.getChildContext!="function")return H;$=$.getChildContext();for(var P in $)if(!(P in f))throw Error(r(108,z0(d)||"Unknown",P));return B({},H,$)}function Xl(d){return d=(d=d.stateNode)&&d.__reactInternalMemoizedMergedChildContext||Q6,ga=Zt.current,M2(Zt,d),M2(ke,ke.current),!0}function ny(d,f,H){var $=d.stateNode;if(!$)throw Error(r(169));H?(d=Un(d,f,ga),$.__reactInternalMemoizedMergedChildContext=d,le(ke),le(Zt),M2(Zt,d)):le(ke),M2(ke,H)}var Br=null,Bn=!1,Nt=!1;function C9(d){Br===null?Br=[d]:Br.push(d)}function ly(d){Bn=!0,C9(d)}function J4(){if(!Nt&&Br!==null){Nt=!0;var d=0,f=a2;try{var H=Br;for(a2=1;d<H.length;d++){var $=H[d];do $=$(!0);while($!==null)}Br=null,Bn=!1}catch(P){throw Br!==null&&(Br=Br.slice(d+1)),b1(g2,J4),P}finally{a2=f,Nt=!1}}return null}var K6=[],qn=0,X6=null,Jl=0,qa=[],Wa=0,O4=null,Ga=1,Tt="";function e3(d,f){K6[qn++]=Jl,K6[qn++]=X6,X6=d,Jl=f}function Wn(d,f,H){qa[Wa++]=Ga,qa[Wa++]=Tt,qa[Wa++]=O4,O4=d;var $=Ga;d=Tt;var P=32-U2($)-1;$&=~(1<<P),H+=1;var T=32-U2(f)+P;if(30<T){var U=P-P%5;T=($&(1<<U)-1).toString(32),$>>=U,P-=U,Ga=1<<32-U2(f)+P|H<<P|$,Tt=T+d}else Ga=1<<T|H<<P|$,Tt=d}function N9(d){d.return!==null&&(e3(d,1),Wn(d,1,0))}function T9(d){for(;d===X6;)X6=K6[--qn],K6[qn]=null,Jl=K6[--qn],K6[qn]=null;for(;d===O4;)O4=qa[--Wa],qa[Wa]=null,Tt=qa[--Wa],qa[Wa]=null,Ga=qa[--Wa],qa[Wa]=null}var Z6=null,y6=null,m8=!1,J6=null;function sp(d,f){var H=$6(5,null,null,0);H.elementType="DELETED",H.stateNode=f,H.return=d,f=d.deletions,f===null?(d.deletions=[H],d.flags|=16):f.push(H)}function mp(d,f){switch(d.tag){case 5:var H=d.type;return f=f.nodeType!==1||H.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(d.stateNode=f,Z6=d,y6=g6(f.firstChild),!0):!1;case 6:return f=d.pendingProps===""||f.nodeType!==3?null:f,f!==null?(d.stateNode=f,Z6=d,y6=null,!0):!1;case 13:return f=f.nodeType!==8?null:f,f!==null?(H=O4!==null?{id:Ga,overflow:Tt}:null,d.memoizedState={dehydrated:f,treeContext:H,retryLane:1073741824},H=$6(18,null,null,0),H.stateNode=f,H.return=d,d.child=H,Z6=d,y6=null,!0):!1;default:return!1}}function up(d){return(d.mode&1)!==0&&(d.flags&128)===0}function I9(d){if(m8){var f=y6;if(f){var H=f;if(!mp(d,f)){if(up(d))throw Error(r(418));f=g6(H.nextSibling);var $=Z6;f&&mp(d,f)?sp($,H):(d.flags=d.flags&-4097|2,m8=!1,Z6=d)}}else{if(up(d))throw Error(r(418));d.flags=d.flags&-4097|2,m8=!1,Z6=d}}}function dp(d){for(d=d.return;d!==null&&d.tag!==5&&d.tag!==3&&d.tag!==13;)d=d.return;Z6=d}function D9(d){if(d!==Z6)return!1;if(!m8)return dp(d),m8=!0,!1;var f;if((f=d.tag!==3)&&!(f=d.tag!==5)&&(f=d.type,f=f!=="head"&&f!=="body"&&!Kl(d.type,d.memoizedProps)),f&&(f=y6)){if(up(d))throw oy(),Error(r(418));for(;f;)sp(d,f),f=g6(f.nextSibling)}if(dp(d),d.tag===13){if(d=d.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(r(317));e:{for(d=d.nextSibling,f=0;d;){if(d.nodeType===8){var H=d.data;if(H==="/$"){if(f===0){y6=g6(d.nextSibling);break e}f--}else H!=="$"&&H!=="$!"&&H!=="$?"||f++}d=d.nextSibling}y6=null}}else y6=Z6?g6(d.stateNode.nextSibling):null;return!0}function oy(){for(var d=y6;d;)d=g6(d.nextSibling)}function Lo(){y6=Z6=null,m8=!1}function J8(d){J6===null?J6=[d]:J6.push(d)}var bF=N.ReactCurrentBatchConfig;function Gn(d,f,H){if(d=H.ref,d!==null&&typeof d!="function"&&typeof d!="object"){if(H._owner){if(H=H._owner,H){if(H.tag!==1)throw Error(r(309));var $=H.stateNode}if(!$)throw Error(r(147,d));var P=$,T=""+d;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===T?f.ref:(f=function(U){var i0=P.refs;U===null?delete i0[T]:i0[T]=U},f._stringRef=T,f)}if(typeof d!="string")throw Error(r(284));if(!H._owner)throw Error(r(290,d))}return d}function Fo(d,f){throw d=Object.prototype.toString.call(f),Error(r(31,d==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":d))}function Yn(d){var f=d._init;return f(d._payload)}function iy(d){function f(P0,E0){if(d){var D0=P0.deletions;D0===null?(P0.deletions=[E0],P0.flags|=16):D0.push(E0)}}function H(P0,E0){if(!d)return null;for(;E0!==null;)f(P0,E0),E0=E0.sibling;return null}function $(P0,E0){for(P0=new Map;E0!==null;)E0.key!==null?P0.set(E0.key,E0):P0.set(E0.index,E0),E0=E0.sibling;return P0}function P(P0,E0){return P0=ol(P0,E0),P0.index=0,P0.sibling=null,P0}function T(P0,E0,D0){return P0.index=D0,d?(D0=P0.alternate,D0!==null?(D0=D0.index,D0<E0?(P0.flags|=2,E0):D0):(P0.flags|=2,E0)):(P0.flags|=1048576,E0)}function U(P0){return d&&P0.alternate===null&&(P0.flags|=2),P0}function i0(P0,E0,D0,M1){return E0===null||E0.tag!==6?(E0=qp(D0,P0.mode,M1),E0.return=P0,E0):(E0=P(E0,D0),E0.return=P0,E0)}function p0(P0,E0,D0,M1){var oe=D0.type;return oe===z?m1(P0,E0,D0.props.children,M1,D0.key):E0!==null&&(E0.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===G0&&Yn(oe)===E0.type)?(M1=P(E0,D0.props),M1.ref=Gn(P0,E0,D0),M1.return=P0,M1):(M1=us(D0.type,D0.key,D0.props,null,P0.mode,M1),M1.ref=Gn(P0,E0,D0),M1.return=P0,M1)}function B0(P0,E0,D0,M1){return E0===null||E0.tag!==4||E0.stateNode.containerInfo!==D0.containerInfo||E0.stateNode.implementation!==D0.implementation?(E0=ps(D0,P0.mode,M1),E0.return=P0,E0):(E0=P(E0,D0.children||[]),E0.return=P0,E0)}function m1(P0,E0,D0,M1,oe){return E0===null||E0.tag!==7?(E0=f3(D0,P0.mode,M1,oe),E0.return=P0,E0):(E0=P(E0,D0),E0.return=P0,E0)}function v1(P0,E0,D0){if(typeof E0=="string"&&E0!==""||typeof E0=="number")return E0=qp(""+E0,P0.mode,D0),E0.return=P0,E0;if(typeof E0=="object"&&E0!==null){switch(E0.$$typeof){case C:return D0=us(E0.type,E0.key,E0.props,null,P0.mode,D0),D0.ref=Gn(P0,null,E0),D0.return=P0,D0;case I:return E0=ps(E0,P0.mode,D0),E0.return=P0,E0;case G0:var M1=E0._init;return v1(P0,M1(E0._payload),D0)}if(H1(E0)||L0(E0))return E0=f3(E0,P0.mode,D0,null),E0.return=P0,E0;Fo(P0,E0)}return null}function s1(P0,E0,D0,M1){var oe=E0!==null?E0.key:null;if(typeof D0=="string"&&D0!==""||typeof D0=="number")return oe!==null?null:i0(P0,E0,""+D0,M1);if(typeof D0=="object"&&D0!==null){switch(D0.$$typeof){case C:return D0.key===oe?p0(P0,E0,D0,M1):null;case I:return D0.key===oe?B0(P0,E0,D0,M1):null;case G0:return oe=D0._init,s1(P0,E0,oe(D0._payload),M1)}if(H1(D0)||L0(D0))return oe!==null?null:m1(P0,E0,D0,M1,null);Fo(P0,D0)}return null}function x1(P0,E0,D0,M1,oe){if(typeof M1=="string"&&M1!==""||typeof M1=="number")return P0=P0.get(D0)||null,i0(E0,P0,""+M1,oe);if(typeof M1=="object"&&M1!==null){switch(M1.$$typeof){case C:return P0=P0.get(M1.key===null?D0:M1.key)||null,p0(E0,P0,M1,oe);case I:return P0=P0.get(M1.key===null?D0:M1.key)||null,B0(E0,P0,M1,oe);case G0:var ye=M1._init;return x1(P0,E0,D0,ye(M1._payload),oe)}if(H1(M1)||L0(M1))return P0=P0.get(D0)||null,m1(E0,P0,M1,oe,null);Fo(E0,M1)}return null}function X1(P0,E0,D0,M1){for(var oe=null,ye=null,be=E0,me=E0=0,P8=null;be!==null&&me<D0.length;me++){be.index>me?(P8=be,be=null):P8=be.sibling;var H2=s1(P0,be,D0[me],M1);if(H2===null){be===null&&(be=P8);break}d&&be&&H2.alternate===null&&f(P0,be),E0=T(H2,E0,me),ye===null?oe=H2:ye.sibling=H2,ye=H2,be=P8}if(me===D0.length)return H(P0,be),m8&&e3(P0,me),oe;if(be===null){for(;me<D0.length;me++)be=v1(P0,D0[me],M1),be!==null&&(E0=T(be,E0,me),ye===null?oe=be:ye.sibling=be,ye=be);return m8&&e3(P0,me),oe}for(be=$(P0,be);me<D0.length;me++)P8=x1(be,P0,me,D0[me],M1),P8!==null&&(d&&P8.alternate!==null&&be.delete(P8.key===null?me:P8.key),E0=T(P8,E0,me),ye===null?oe=P8:ye.sibling=P8,ye=P8);return d&&be.forEach(function(il){return f(P0,il)}),m8&&e3(P0,me),oe}function re(P0,E0,D0,M1){var oe=L0(D0);if(typeof oe!="function")throw Error(r(150));if(D0=oe.call(D0),D0==null)throw Error(r(151));for(var ye=oe=null,be=E0,me=E0=0,P8=null,H2=D0.next();be!==null&&!H2.done;me++,H2=D0.next()){be.index>me?(P8=be,be=null):P8=be.sibling;var il=s1(P0,be,H2.value,M1);if(il===null){be===null&&(be=P8);break}d&&be&&il.alternate===null&&f(P0,be),E0=T(il,E0,me),ye===null?oe=il:ye.sibling=il,ye=il,be=P8}if(H2.done)return H(P0,be),m8&&e3(P0,me),oe;if(be===null){for(;!H2.done;me++,H2=D0.next())H2=v1(P0,H2.value,M1),H2!==null&&(E0=T(H2,E0,me),ye===null?oe=H2:ye.sibling=H2,ye=H2);return m8&&e3(P0,me),oe}for(be=$(P0,be);!H2.done;me++,H2=D0.next())H2=x1(be,P0,me,H2.value,M1),H2!==null&&(d&&H2.alternate!==null&&be.delete(H2.key===null?me:H2.key),E0=T(H2,E0,me),ye===null?oe=H2:ye.sibling=H2,ye=H2);return d&&be.forEach(function(Cy){return f(P0,Cy)}),m8&&e3(P0,me),oe}function D8(P0,E0,D0,M1){if(typeof D0=="object"&&D0!==null&&D0.type===z&&D0.key===null&&(D0=D0.props.children),typeof D0=="object"&&D0!==null){switch(D0.$$typeof){case C:e:{for(var oe=D0.key,ye=E0;ye!==null;){if(ye.key===oe){if(oe=D0.type,oe===z){if(ye.tag===7){H(P0,ye.sibling),E0=P(ye,D0.props.children),E0.return=P0,P0=E0;break e}}else if(ye.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===G0&&Yn(oe)===ye.type){H(P0,ye.sibling),E0=P(ye,D0.props),E0.ref=Gn(P0,ye,D0),E0.return=P0,P0=E0;break e}H(P0,ye);break}else f(P0,ye);ye=ye.sibling}D0.type===z?(E0=f3(D0.props.children,P0.mode,M1,D0.key),E0.return=P0,P0=E0):(M1=us(D0.type,D0.key,D0.props,null,P0.mode,M1),M1.ref=Gn(P0,E0,D0),M1.return=P0,P0=M1)}return U(P0);case I:e:{for(ye=D0.key;E0!==null;){if(E0.key===ye)if(E0.tag===4&&E0.stateNode.containerInfo===D0.containerInfo&&E0.stateNode.implementation===D0.implementation){H(P0,E0.sibling),E0=P(E0,D0.children||[]),E0.return=P0,P0=E0;break e}else{H(P0,E0);break}else f(P0,E0);E0=E0.sibling}E0=ps(D0,P0.mode,M1),E0.return=P0,P0=E0}return U(P0);case G0:return ye=D0._init,D8(P0,E0,ye(D0._payload),M1)}if(H1(D0))return X1(P0,E0,D0,M1);if(L0(D0))return re(P0,E0,D0,M1);Fo(P0,D0)}return typeof D0=="string"&&D0!==""||typeof D0=="number"?(D0=""+D0,E0!==null&&E0.tag===6?(H(P0,E0.sibling),E0=P(E0,D0),E0.return=P0,P0=E0):(H(P0,E0),E0=qp(D0,P0.mode,M1),E0.return=P0,P0=E0),U(P0)):H(P0,E0)}return D8}var Qn=iy(!0),cy=iy(!1),x9=Q2(null),qr=null,I8=null,C1=null;function e4(){C1=I8=qr=null}function b6(d){var f=x9.current;le(x9),d._currentValue=f}function pp(d,f,H){for(;d!==null;){var $=d.alternate;if((d.childLanes&f)!==f?(d.childLanes|=f,$!==null&&($.childLanes|=f)):$!==null&&($.childLanes&f)!==f&&($.childLanes|=f),d===H)break;d=d.return}}function jo(d,f){qr=d,C1=I8=null,d=d.dependencies,d!==null&&d.firstContext!==null&&(d.lanes&f&&(Aa=!0),d.firstContext=null)}function t4(d){var f=d._currentValue;if(C1!==d)if(d={context:d,memoizedValue:f,next:null},I8===null){if(qr===null)throw Error(r(308));I8=d,qr.dependencies={lanes:0,firstContext:d}}else I8=I8.next=d;return f}var t3=null;function hp(d){t3===null?t3=[d]:t3.push(d)}function st(d,f,H,$){var P=f.interleaved;return P===null?(H.next=H,hp(f)):(H.next=P.next,P.next=H),f.interleaved=H,Wr(d,$)}function Wr(d,f){d.lanes|=f;var H=d.alternate;for(H!==null&&(H.lanes|=f),H=d,d=d.return;d!==null;)d.childLanes|=f,H=d.alternate,H!==null&&(H.childLanes|=f),H=d,d=d.return;return H.tag===3?H.stateNode:null}var Kn=!1;function fp(d){d.updateQueue={baseState:d.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vp(d,f){d=d.updateQueue,f.updateQueue===d&&(f.updateQueue={baseState:d.baseState,firstBaseUpdate:d.firstBaseUpdate,lastBaseUpdate:d.lastBaseUpdate,shared:d.shared,effects:d.effects})}function H6(d,f){return{eventTime:d,lane:f,tag:0,payload:null,callback:null,next:null}}function E6(d,f,H){var $=d.updateQueue;if($===null)return null;if($=$.shared,b2&2){var P=$.pending;return P===null?f.next=f:(f.next=P.next,P.next=f),$.pending=f,Wr(d,H)}return P=$.interleaved,P===null?(f.next=f,hp($)):(f.next=P.next,P.next=f),$.interleaved=f,Wr(d,H)}function R9(d,f,H){if(f=f.updateQueue,f!==null&&(f=f.shared,(H&4194240)!==0)){var $=f.lanes;$&=d.pendingLanes,H|=$,f.lanes=H,b4(d,H)}}function sy(d,f){var H=d.updateQueue,$=d.alternate;if($!==null&&($=$.updateQueue,H===$)){var P=null,T=null;if(H=H.firstBaseUpdate,H!==null){do{var U={eventTime:H.eventTime,lane:H.lane,tag:H.tag,payload:H.payload,callback:H.callback,next:null};T===null?P=T=U:T=T.next=U,H=H.next}while(H!==null);T===null?P=T=f:T=T.next=f}else P=T=f;H={baseState:$.baseState,firstBaseUpdate:P,lastBaseUpdate:T,shared:$.shared,effects:$.effects},d.updateQueue=H;return}d=H.lastBaseUpdate,d===null?H.firstBaseUpdate=f:d.next=f,H.lastBaseUpdate=f}function z9(d,f,H,$){var P=d.updateQueue;Kn=!1;var T=P.firstBaseUpdate,U=P.lastBaseUpdate,i0=P.shared.pending;if(i0!==null){P.shared.pending=null;var p0=i0,B0=p0.next;p0.next=null,U===null?T=B0:U.next=B0,U=p0;var m1=d.alternate;m1!==null&&(m1=m1.updateQueue,i0=m1.lastBaseUpdate,i0!==U&&(i0===null?m1.firstBaseUpdate=B0:i0.next=B0,m1.lastBaseUpdate=p0))}if(T!==null){var v1=P.baseState;U=0,m1=B0=p0=null,i0=T;do{var s1=i0.lane,x1=i0.eventTime;if(($&s1)===s1){m1!==null&&(m1=m1.next={eventTime:x1,lane:0,tag:i0.tag,payload:i0.payload,callback:i0.callback,next:null});e:{var X1=d,re=i0;switch(s1=f,x1=H,re.tag){case 1:if(X1=re.payload,typeof X1=="function"){v1=X1.call(x1,v1,s1);break e}v1=X1;break e;case 3:X1.flags=X1.flags&-65537|128;case 0:if(X1=re.payload,s1=typeof X1=="function"?X1.call(x1,v1,s1):X1,s1==null)break e;v1=B({},v1,s1);break e;case 2:Kn=!0}}i0.callback!==null&&i0.lane!==0&&(d.flags|=64,s1=P.effects,s1===null?P.effects=[i0]:s1.push(i0))}else x1={eventTime:x1,lane:s1,tag:i0.tag,payload:i0.payload,callback:i0.callback,next:null},m1===null?(B0=m1=x1,p0=v1):m1=m1.next=x1,U|=s1;if(i0=i0.next,i0===null){if(i0=P.shared.pending,i0===null)break;s1=i0,i0=s1.next,s1.next=null,P.lastBaseUpdate=s1,P.shared.pending=null}}while(!0);if(m1===null&&(p0=v1),P.baseState=p0,P.firstBaseUpdate=B0,P.lastBaseUpdate=m1,f=P.shared.interleaved,f!==null){P=f;do U|=P.lane,P=P.next;while(P!==f)}else T===null&&(P.shared.lanes=0);c3|=U,d.lanes=U,d.memoizedState=v1}}function my(d,f,H){if(d=f.effects,f.effects=null,d!==null)for(f=0;f<d.length;f++){var $=d[f],P=$.callback;if(P!==null){if($.callback=null,$=H,typeof P!="function")throw Error(r(191,P));P.call($)}}}var Y5={},er=Q2(Y5),Po=Q2(Y5),ko=Q2(Y5);function a3(d){if(d===Y5)throw Error(r(174));return d}function gp(d,f){switch(M2(ko,f),M2(Po,d),M2(er,Y5),d=f.nodeType,d){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:o1(null,"");break;default:d=d===8?f.parentNode:f,f=d.namespaceURI||null,d=d.tagName,f=o1(f,d)}le(er),M2(er,f)}function _o(){le(er),le(Po),le(ko)}function uy(d){a3(ko.current);var f=a3(er.current),H=o1(f,d.type);f!==H&&(M2(Po,d),M2(er,H))}function Ap(d){Po.current===d&&(le(er),le(Po))}var E8=Q2(0);function Q5(d){for(var f=d;f!==null;){if(f.tag===13){var H=f.memoizedState;if(H!==null&&(H=H.dehydrated,H===null||H.data==="$?"||H.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if(f.flags&128)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===d)break;for(;f.sibling===null;){if(f.return===null||f.return===d)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var Zp=[];function U9(){for(var d=0;d<Zp.length;d++)Zp[d]._workInProgressVersionPrimary=null;Zp.length=0}var B9=N.ReactCurrentDispatcher,yp=N.ReactCurrentBatchConfig,Gr=0,_1=null,fe=null,Se=null,u8=!1,Ya=!1,Co=0,HF=0;function ra(){throw Error(r(321))}function bp(d,f){if(f===null)return!1;for(var H=0;H<f.length&&H<d.length;H++)if(!E4(d[H],f[H]))return!1;return!0}function K5(d,f,H,$,P,T){if(Gr=T,_1=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,B9.current=d===null||d.memoizedState===null?M6:EF,d=H($,P),Ya){T=0;do{if(Ya=!1,Co=0,25<=T)throw Error(r(301));T+=1,Se=fe=null,f.updateQueue=null,B9.current=r8,d=H($,P)}while(Ya)}if(B9.current=ar,f=fe!==null&&fe.next!==null,Gr=0,Se=fe=_1=null,u8=!1,f)throw Error(r(300));return d}function i1(){var d=Co!==0;return Co=0,d}function K2(){var d={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Se===null?_1.memoizedState=Se=d:Se=Se.next=d,Se}function se(){if(fe===null){var d=_1.alternate;d=d!==null?d.memoizedState:null}else d=fe.next;var f=Se===null?_1.memoizedState:Se.next;if(f!==null)Se=f,fe=d;else{if(d===null)throw Error(r(310));fe=d,d={memoizedState:fe.memoizedState,baseState:fe.baseState,baseQueue:fe.baseQueue,queue:fe.queue,next:null},Se===null?_1.memoizedState=Se=d:Se=Se.next=d}return Se}function tr(d,f){return typeof f=="function"?f(d):f}function $4(d){var f=se(),H=f.queue;if(H===null)throw Error(r(311));H.lastRenderedReducer=d;var $=fe,P=$.baseQueue,T=H.pending;if(T!==null){if(P!==null){var U=P.next;P.next=T.next,T.next=U}$.baseQueue=P=T,H.pending=null}if(P!==null){T=P.next,$=$.baseState;var i0=U=null,p0=null,B0=T;do{var m1=B0.lane;if((Gr&m1)===m1)p0!==null&&(p0=p0.next={lane:0,action:B0.action,hasEagerState:B0.hasEagerState,eagerState:B0.eagerState,next:null}),$=B0.hasEagerState?B0.eagerState:d($,B0.action);else{var v1={lane:m1,action:B0.action,hasEagerState:B0.hasEagerState,eagerState:B0.eagerState,next:null};p0===null?(i0=p0=v1,U=$):p0=p0.next=v1,_1.lanes|=m1,c3|=m1}B0=B0.next}while(B0!==null&&B0!==T);p0===null?U=$:p0.next=i0,E4($,f.memoizedState)||(Aa=!0),f.memoizedState=$,f.baseState=U,f.baseQueue=p0,H.lastRenderedState=$}if(d=H.interleaved,d!==null){P=d;do T=P.lane,_1.lanes|=T,c3|=T,P=P.next;while(P!==d)}else P===null&&(H.lanes=0);return[f.memoizedState,H.dispatch]}function Yr(d){var f=se(),H=f.queue;if(H===null)throw Error(r(311));H.lastRenderedReducer=d;var $=H.dispatch,P=H.pending,T=f.memoizedState;if(P!==null){H.pending=null;var U=P=P.next;do T=d(T,U.action),U=U.next;while(U!==P);E4(T,f.memoizedState)||(Aa=!0),f.memoizedState=T,f.baseQueue===null&&(f.baseState=T),H.lastRenderedState=T}return[T,$]}function w4(){}function No(d,f){var H=_1,$=se(),P=f(),T=!E4($.memoizedState,P);if(T&&($.memoizedState=P,Aa=!0),$=$.queue,X5(q9.bind(null,H,$,d),[d]),$.getSnapshot!==f||T||Se!==null&&Se.memoizedState.tag&1){if(H.flags|=2048,n3(9,To.bind(null,H,$,P,f),void 0,null),L8===null)throw Error(r(349));Gr&30||r3(H,f,P)}return P}function r3(d,f,H){d.flags|=16384,d={getSnapshot:f,value:H},f=_1.updateQueue,f===null?(f={lastEffect:null,stores:null},_1.updateQueue=f,f.stores=[d]):(H=f.stores,H===null?f.stores=[d]:H.push(d))}function To(d,f,H,$){f.value=H,f.getSnapshot=$,W9(f)&&G9(d)}function q9(d,f,H){return H(function(){W9(f)&&G9(d)})}function W9(d){var f=d.getSnapshot;d=d.value;try{var H=f();return!E4(d,H)}catch{return!0}}function G9(d){var f=Wr(d,1);f!==null&&a4(f,d,1,-1)}function Y9(d){var f=K2();return typeof d=="function"&&(d=d()),f.memoizedState=f.baseState=d,d={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:tr,lastRenderedState:d},f.queue=d,d=d.dispatch=dy.bind(null,_1,d),[f.memoizedState,d]}function n3(d,f,H,$){return d={tag:d,create:f,destroy:H,deps:$,next:null},f=_1.updateQueue,f===null?(f={lastEffect:null,stores:null},_1.updateQueue=f,f.lastEffect=d.next=d):(H=f.lastEffect,H===null?f.lastEffect=d.next=d:($=H.next,H.next=d,d.next=$,f.lastEffect=d)),d}function Q9(){return se().memoizedState}function Io(d,f,H,$){var P=K2();_1.flags|=d,P.memoizedState=n3(1|f,H,void 0,$===void 0?null:$)}function Do(d,f,H,$){var P=se();$=$===void 0?null:$;var T=void 0;if(fe!==null){var U=fe.memoizedState;if(T=U.destroy,$!==null&&bp($,U.deps)){P.memoizedState=n3(f,H,T,$);return}}_1.flags|=d,P.memoizedState=n3(1|f,H,T,$)}function K9(d,f){return Io(8390656,8,d,f)}function X5(d,f){return Do(2048,8,d,f)}function X9(d,f){return Do(4,2,d,f)}function J9(d,f){return Do(4,4,d,f)}function es(d,f){if(typeof f=="function")return d=d(),f(d),function(){f(null)};if(f!=null)return d=d(),f.current=d,function(){f.current=null}}function ts(d,f,H){return H=H!=null?H.concat([d]):null,Do(4,4,es.bind(null,f,d),H)}function J5(){}function e7(d,f){var H=se();f=f===void 0?null:f;var $=H.memoizedState;return $!==null&&f!==null&&bp(f,$[1])?$[0]:(H.memoizedState=[d,f],d)}function l3(d,f){var H=se();f=f===void 0?null:f;var $=H.memoizedState;return $!==null&&f!==null&&bp(f,$[1])?$[0]:(d=d(),H.memoizedState=[d,f],d)}function as(d,f,H){return Gr&21?(E4(H,f)||(H=xa(),_1.lanes|=H,c3|=H,d.baseState=!0),f):(d.baseState&&(d.baseState=!1,Aa=!0),d.memoizedState=H)}function Hp(d,f){var H=a2;a2=H!==0&&4>H?H:4,d(!0);var $=yp.transition;yp.transition={};try{d(!1),f()}finally{a2=H,yp.transition=$}}function rs(){return se().memoizedState}function Ep(d,f,H){var $=L4(d);if(H={lane:$,action:H,hasEagerState:!1,eagerState:null,next:null},xo(d))Mp(f,H);else if(H=st(d,f,H,$),H!==null){var P=Ht();a4(H,d,$,P),Ro(H,f,$)}}function dy(d,f,H){var $=L4(d),P={lane:$,action:H,hasEagerState:!1,eagerState:null,next:null};if(xo(d))Mp(f,P);else{var T=d.alternate;if(d.lanes===0&&(T===null||T.lanes===0)&&(T=f.lastRenderedReducer,T!==null))try{var U=f.lastRenderedState,i0=T(U,H);if(P.hasEagerState=!0,P.eagerState=i0,E4(i0,U)){var p0=f.interleaved;p0===null?(P.next=P,hp(f)):(P.next=p0.next,p0.next=P),f.interleaved=P;return}}catch{}finally{}H=st(d,f,P,$),H!==null&&(P=Ht(),a4(H,d,$,P),Ro(H,f,$))}}function xo(d){var f=d.alternate;return d===_1||f!==null&&f===_1}function Mp(d,f){Ya=u8=!0;var H=d.pending;H===null?f.next=f:(f.next=H.next,H.next=f),d.pending=f}function Ro(d,f,H){if(H&4194240){var $=f.lanes;$&=d.pendingLanes,H|=$,f.lanes=H,b4(d,H)}}var ar={readContext:t4,useCallback:ra,useContext:ra,useEffect:ra,useImperativeHandle:ra,useInsertionEffect:ra,useLayoutEffect:ra,useMemo:ra,useReducer:ra,useRef:ra,useState:ra,useDebugValue:ra,useDeferredValue:ra,useTransition:ra,useMutableSource:ra,useSyncExternalStore:ra,useId:ra,unstable_isNewReconciler:!1},M6={readContext:t4,useCallback:function(d,f){return K2().memoizedState=[d,f===void 0?null:f],d},useContext:t4,useEffect:K9,useImperativeHandle:function(d,f,H){return H=H!=null?H.concat([d]):null,Io(4194308,4,es.bind(null,f,d),H)},useLayoutEffect:function(d,f){return Io(4194308,4,d,f)},useInsertionEffect:function(d,f){return Io(4,2,d,f)},useMemo:function(d,f){var H=K2();return f=f===void 0?null:f,d=d(),H.memoizedState=[d,f],d},useReducer:function(d,f,H){var $=K2();return f=H!==void 0?H(f):f,$.memoizedState=$.baseState=f,d={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:d,lastRenderedState:f},$.queue=d,d=d.dispatch=Ep.bind(null,_1,d),[$.memoizedState,d]},useRef:function(d){var f=K2();return d={current:d},f.memoizedState=d},useState:Y9,useDebugValue:J5,useDeferredValue:function(d){return K2().memoizedState=d},useTransition:function(){var d=Y9(!1),f=d[0];return d=Hp.bind(null,d[1]),K2().memoizedState=d,[f,d]},useMutableSource:function(){},useSyncExternalStore:function(d,f,H){var $=_1,P=K2();if(m8){if(H===void 0)throw Error(r(407));H=H()}else{if(H=f(),L8===null)throw Error(r(349));Gr&30||r3($,f,H)}P.memoizedState=H;var T={value:H,getSnapshot:f};return P.queue=T,K9(q9.bind(null,$,T,d),[d]),$.flags|=2048,n3(9,To.bind(null,$,T,H,f),void 0,null),H},useId:function(){var d=K2(),f=L8.identifierPrefix;if(m8){var H=Tt,$=Ga;H=($&~(1<<32-U2($)-1)).toString(32)+H,f=":"+f+"R"+H,H=Co++,0<H&&(f+="H"+H.toString(32)),f+=":"}else H=HF++,f=":"+f+"r"+H.toString(32)+":";return d.memoizedState=f},unstable_isNewReconciler:!1},EF={readContext:t4,useCallback:e7,useContext:t4,useEffect:X5,useImperativeHandle:ts,useInsertionEffect:X9,useLayoutEffect:J9,useMemo:l3,useReducer:$4,useRef:Q9,useState:function(){return $4(tr)},useDebugValue:J5,useDeferredValue:function(d){var f=se();return as(f,fe.memoizedState,d)},useTransition:function(){var d=$4(tr)[0],f=se().memoizedState;return[d,f]},useMutableSource:w4,useSyncExternalStore:No,useId:rs,unstable_isNewReconciler:!1},r8={readContext:t4,useCallback:e7,useContext:t4,useEffect:X5,useImperativeHandle:ts,useInsertionEffect:X9,useLayoutEffect:J9,useMemo:l3,useReducer:Yr,useRef:Q9,useState:function(){return Yr(tr)},useDebugValue:J5,useDeferredValue:function(d){var f=se();return fe===null?f.memoizedState=d:as(f,fe.memoizedState,d)},useTransition:function(){var d=Yr(tr)[0],f=se().memoizedState;return[d,f]},useMutableSource:w4,useSyncExternalStore:No,useId:rs,unstable_isNewReconciler:!1};function Qa(d,f){if(d&&d.defaultProps){f=B({},f),d=d.defaultProps;for(var H in d)f[H]===void 0&&(f[H]=d[H]);return f}return f}function zo(d,f,H,$){f=d.memoizedState,H=H($,f),H=H==null?f:B({},f,H),d.memoizedState=H,d.lanes===0&&(d.updateQueue.baseState=H)}var Xn={isMounted:function(d){return(d=d._reactInternals)?J0(d)===d:!1},enqueueSetState:function(d,f,H){d=d._reactInternals;var $=Ht(),P=L4(d),T=H6($,P);T.payload=f,H!=null&&(T.callback=H),f=E6(d,T,P),f!==null&&(a4(f,d,P,$),R9(f,d,P))},enqueueReplaceState:function(d,f,H){d=d._reactInternals;var $=Ht(),P=L4(d),T=H6($,P);T.tag=1,T.payload=f,H!=null&&(T.callback=H),f=E6(d,T,P),f!==null&&(a4(f,d,P,$),R9(f,d,P))},enqueueForceUpdate:function(d,f){d=d._reactInternals;var H=Ht(),$=L4(d),P=H6(H,$);P.tag=2,f!=null&&(P.callback=f),f=E6(d,P,$),f!==null&&(a4(f,d,$,H),R9(f,d,$))}};function t7(d,f,H,$,P,T,U){return d=d.stateNode,typeof d.shouldComponentUpdate=="function"?d.shouldComponentUpdate($,T,U):f.prototype&&f.prototype.isPureReactComponent?!Oo(H,$)||!Oo(P,T):!0}function py(d,f,H){var $=!1,P=Q6,T=f.contextType;return typeof T=="object"&&T!==null?T=t4(T):(P=X8(f)?ga:Zt.current,$=f.contextTypes,T=($=$!=null)?A6(d,P):Q6),f=new f(H,T),d.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Xn,d.stateNode=f,f._reactInternals=d,$&&(d=d.stateNode,d.__reactInternalMemoizedUnmaskedChildContext=P,d.__reactInternalMemoizedMaskedChildContext=T),f}function hy(d,f,H,$){d=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(H,$),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(H,$),f.state!==d&&Xn.enqueueReplaceState(f,f.state,null)}function Vp(d,f,H,$){var P=d.stateNode;P.props=H,P.state=d.memoizedState,P.refs={},fp(d);var T=f.contextType;typeof T=="object"&&T!==null?P.context=t4(T):(T=X8(f)?ga:Zt.current,P.context=A6(d,T)),P.state=d.memoizedState,T=f.getDerivedStateFromProps,typeof T=="function"&&(zo(d,f,T,H),P.state=d.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof P.getSnapshotBeforeUpdate=="function"||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(f=P.state,typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount(),f!==P.state&&Xn.enqueueReplaceState(P,P.state,null),z9(d,H,P,$),P.state=d.memoizedState),typeof P.componentDidMount=="function"&&(d.flags|=4194308)}function Uo(d,f){try{var H="",$=f;do H+=S0($),$=$.return;while($);var P=H}catch(T){P=`
91
+ `+P[U].replace(" at new "," at ");return d.displayName&&p0.includes("<anonymous>")&&(p0=p0.replace("<anonymous>",d.displayName)),p0}while(1<=U&&0<=i0);break}}}finally{d0=!1,Error.prepareStackTrace=H}return(d=d?d.displayName||d.name:"")?n0(d):""}function S0(d){switch(d.tag){case 5:return n0(d.type);case 16:return n0("Lazy");case 13:return n0("Suspense");case 19:return n0("SuspenseList");case 0:case 2:case 15:return d=O0(d.type,!1),d;case 11:return d=O0(d.type.render,!1),d;case 1:return d=O0(d.type,!0),d;default:return""}}function c0(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case z:return"Fragment";case I:return"Portal";case K:return"Profiler";case q:return"StrictMode";case t0:return"Suspense";case l0:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case o0:return(d.displayName||"Context")+".Consumer";case Y:return(d._context.displayName||"Context")+".Provider";case a0:var f=d.render;return d=d.displayName,d||(d=f.displayName||f.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case e0:return f=d.displayName||null,f!==null?f:c0(d.type)||"Memo";case G0:f=d._payload,d=d._init;try{return c0(d(f))}catch{}}return null}function z0(d){var f=d.type;switch(d.tag){case 24:return"Cache";case 9:return(f.displayName||"Context")+".Consumer";case 10:return(f._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return d=f.render,d=d.displayName||d.name||"",f.displayName||(d!==""?"ForwardRef("+d+")":"ForwardRef");case 7:return"Fragment";case 5:return f;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return c0(f);case 8:return f===q?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f}return null}function X(d){switch(typeof d){case"boolean":case"number":case"string":case"undefined":return d;case"object":return d;default:return""}}function h0(d){var f=d.type;return(d=d.nodeName)&&d.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function f0(d){var f=h0(d)?"checked":"value",H=Object.getOwnPropertyDescriptor(d.constructor.prototype,f),$=""+d[f];if(!d.hasOwnProperty(f)&&typeof H<"u"&&typeof H.get=="function"&&typeof H.set=="function"){var P=H.get,T=H.set;return Object.defineProperty(d,f,{configurable:!0,get:function(){return P.call(this)},set:function(U){$=""+U,T.call(this,U)}}),Object.defineProperty(d,f,{enumerable:H.enumerable}),{getValue:function(){return $},setValue:function(U){$=""+U},stopTracking:function(){d._valueTracker=null,delete d[f]}}}}function Z0(d){d._valueTracker||(d._valueTracker=f0(d))}function v0(d){if(!d)return!1;var f=d._valueTracker;if(!f)return!0;var H=f.getValue(),$="";return d&&($=h0(d)?d.checked?"true":"false":d.value),d=$,d!==H?(f.setValue(d),!0):!1}function A0(d){if(d=d||(typeof document<"u"?document:void 0),typeof d>"u")return null;try{return d.activeElement||d.body}catch{return d.body}}function x0(d,f){var H=f.checked;return B({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:H??d._wrapperState.initialChecked})}function k0(d,f){var H=f.defaultValue==null?"":f.defaultValue,$=f.checked!=null?f.checked:f.defaultChecked;H=X(f.value!=null?f.value:H),d._wrapperState={initialChecked:$,initialValue:H,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function W0(d,f){f=f.checked,f!=null&&k(d,"checked",f,!1)}function t1(d,f){W0(d,f);var H=X(f.value),$=f.type;if(H!=null)$==="number"?(H===0&&d.value===""||d.value!=H)&&(d.value=""+H):d.value!==""+H&&(d.value=""+H);else if($==="submit"||$==="reset"){d.removeAttribute("value");return}f.hasOwnProperty("value")?T1(d,f.type,H):f.hasOwnProperty("defaultValue")&&T1(d,f.type,X(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(d.defaultChecked=!!f.defaultChecked)}function A1(d,f,H){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var $=f.type;if(!($!=="submit"&&$!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+d._wrapperState.initialValue,H||f===d.value||(d.value=f),d.defaultValue=f}H=d.name,H!==""&&(d.name=""),d.defaultChecked=!!d._wrapperState.initialChecked,H!==""&&(d.name=H)}function T1(d,f,H){(f!=="number"||A0(d.ownerDocument)!==d)&&(H==null?d.defaultValue=""+d._wrapperState.initialValue:d.defaultValue!==""+H&&(d.defaultValue=""+H))}var H1=Array.isArray;function u1(d,f,H,$){if(d=d.options,f){f={};for(var P=0;P<H.length;P++)f["$"+H[P]]=!0;for(H=0;H<d.length;H++)P=f.hasOwnProperty("$"+d[H].value),d[H].selected!==P&&(d[H].selected=P),P&&$&&(d[H].defaultSelected=!0)}else{for(H=""+X(H),f=null,P=0;P<d.length;P++){if(d[P].value===H){d[P].selected=!0,$&&(d[P].defaultSelected=!0);return}f!==null||d[P].disabled||(f=d[P])}f!==null&&(f.selected=!0)}}function $0(d,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return B({},f,{value:void 0,defaultValue:void 0,children:""+d._wrapperState.initialValue})}function N0(d,f){var H=f.value;if(H==null){if(H=f.children,f=f.defaultValue,H!=null){if(f!=null)throw Error(r(92));if(H1(H)){if(1<H.length)throw Error(r(93));H=H[0]}f=H}f==null&&(f=""),H=f}d._wrapperState={initialValue:X(H)}}function F0(d,f){var H=X(f.value),$=X(f.defaultValue);H!=null&&(H=""+H,H!==d.value&&(d.value=H),f.defaultValue==null&&d.defaultValue!==H&&(d.defaultValue=H)),$!=null&&(d.defaultValue=""+$)}function Q0(d){var f=d.textContent;f===d._wrapperState.initialValue&&f!==""&&f!==null&&(d.value=f)}function w1(d){switch(d){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function o1(d,f){return d==null||d==="http://www.w3.org/1999/xhtml"?w1(f):d==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":d}var Z1,K1=function(d){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,H,$,P){MSApp.execUnsafeLocalFunction(function(){return d(f,H,$,P)})}:d}(function(d,f){if(d.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in d)d.innerHTML=f;else{for(Z1=Z1||document.createElement("div"),Z1.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=Z1.firstChild;d.firstChild;)d.removeChild(d.firstChild);for(;f.firstChild;)d.appendChild(f.firstChild)}});function Ie(d,f){if(f){var H=d.firstChild;if(H&&H===d.lastChild&&H.nodeType===3){H.nodeValue=f;return}}d.textContent=f}var Le={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},c1=["Webkit","ms","Moz","O"];Object.keys(Le).forEach(function(d){c1.forEach(function(f){f=f+d.charAt(0).toUpperCase()+d.substring(1),Le[f]=Le[d]})});function P1(d,f,H){return f==null||typeof f=="boolean"||f===""?"":H||typeof f!="number"||f===0||Le.hasOwnProperty(d)&&Le[d]?(""+f).trim():f+"px"}function de(d,f){d=d.style;for(var H in f)if(f.hasOwnProperty(H)){var $=H.indexOf("--")===0,P=P1(H,f[H],$);H==="float"&&(H="cssFloat"),$?d.setProperty(H,P):d[H]=P}}var Fe=B({menuitem:!0},{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});function je(d,f){if(f){if(Fe[d]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,d));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(typeof f.dangerouslySetInnerHTML!="object"||!("__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function Z2(d,f){if(d.indexOf("-")===-1)return typeof f.is=="string";switch(d){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 f2=null;function i8(d){return d=d.target||d.srcElement||window,d.correspondingUseElement&&(d=d.correspondingUseElement),d.nodeType===3?d.parentNode:d}var Be=null,Pe=null,qe=null;function m2(d){if(d=K4(d)){if(typeof Be!="function")throw Error(r(280));var f=d.stateNode;f&&(f=_9(f),Be(d.stateNode,d.type,f))}}function v2(d){Pe?qe?qe.push(d):qe=[d]:Pe=d}function f8(){if(Pe){var d=Pe,f=qe;if(qe=Pe=null,m2(d),f)for(d=0;d<f.length;d++)m2(f[d])}}function Ft(d,f){return d(f)}function jt(){}var v8=!1;function Pt(d,f,H){if(v8)return d(f,H);v8=!0;try{return Ft(d,f,H)}finally{v8=!1,(Pe!==null||qe!==null)&&(jt(),f8())}}function u0(d,f){var H=d.stateNode;if(H===null)return null;var $=_9(H);if($===null)return null;H=$[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":($=!$.disabled)||(d=d.type,$=!(d==="button"||d==="input"||d==="select"||d==="textarea")),d=!$;break e;default:d=!1}if(d)return null;if(H&&typeof H!="function")throw Error(r(231,f,typeof H));return H}var V0=!1;if(m)try{var T0={};Object.defineProperty(T0,"passive",{get:function(){V0=!0}}),window.addEventListener("test",T0,T0),window.removeEventListener("test",T0,T0)}catch{V0=!1}function a1(d,f,H,$,P,T,U,i0,p0){var B0=Array.prototype.slice.call(arguments,3);try{f.apply(H,B0)}catch(m1){this.onError(m1)}}var O1=!1,V1=null,Y1=!1,F1=null,Q={onError:function(d){O1=!0,V1=d}};function w0(d,f,H,$,P,T,U,i0,p0){O1=!1,V1=null,a1.apply(Q,arguments)}function I0(d,f,H,$,P,T,U,i0,p0){if(w0.apply(this,arguments),O1){if(O1){var B0=V1;O1=!1,V1=null}else throw Error(r(198));Y1||(Y1=!0,F1=B0)}}function J0(d){var f=d,H=d;if(d.alternate)for(;f.return;)f=f.return;else{d=f;do f=d,f.flags&4098&&(H=f.return),d=f.return;while(d)}return f.tag===3?H:null}function h1(d){if(d.tag===13){var f=d.memoizedState;if(f===null&&(d=d.alternate,d!==null&&(f=d.memoizedState)),f!==null)return f.dehydrated}return null}function ae(d){if(J0(d)!==d)throw Error(r(188))}function k1(d){var f=d.alternate;if(!f){if(f=J0(d),f===null)throw Error(r(188));return f!==d?null:d}for(var H=d,$=f;;){var P=H.return;if(P===null)break;var T=P.alternate;if(T===null){if($=P.return,$!==null){H=$;continue}break}if(P.child===T.child){for(T=P.child;T;){if(T===H)return ae(P),d;if(T===$)return ae(P),f;T=T.sibling}throw Error(r(188))}if(H.return!==$.return)H=P,$=T;else{for(var U=!1,i0=P.child;i0;){if(i0===H){U=!0,H=P,$=T;break}if(i0===$){U=!0,$=P,H=T;break}i0=i0.sibling}if(!U){for(i0=T.child;i0;){if(i0===H){U=!0,H=T,$=P;break}if(i0===$){U=!0,$=T,H=P;break}i0=i0.sibling}if(!U)throw Error(r(189))}}if(H.alternate!==$)throw Error(r(190))}if(H.tag!==3)throw Error(r(188));return H.stateNode.current===H?d:f}function y1(d){return d=k1(d),d!==null?Ve(d):null}function Ve(d){if(d.tag===5||d.tag===6)return d;for(d=d.child;d!==null;){var f=Ve(d);if(f!==null)return f;d=d.sibling}return null}var b1=e.unstable_scheduleCallback,m0=e.unstable_cancelCallback,e1=e.unstable_shouldYield,p1=e.unstable_requestPaint,R1=e.unstable_now,Qe=e.unstable_getCurrentPriorityLevel,g2=e.unstable_ImmediatePriority,We=e.unstable_UserBlockingPriority,ce=e.unstable_NormalPriority,Q1=e.unstable_LowPriority,Ke=e.unstable_IdlePriority,N8=null,H8=null;function L2(d){if(H8&&typeof H8.onCommitFiberRoot=="function")try{H8.onCommitFiberRoot(N8,d,void 0,(d.current.flags&128)===128)}catch{}}var U2=Math.clz32?Math.clz32:Tn,fa=Math.log,Da=Math.LN2;function Tn(d){return d>>>=0,d===0?32:31-(fa(d)/Da|0)|0}var B4=64,_r=4194304;function d6(d){switch(d&-d){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return d&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return d&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return d}}function p6(d,f){var H=d.pendingLanes;if(H===0)return 0;var $=0,P=d.suspendedLanes,T=d.pingedLanes,U=H&268435455;if(U!==0){var i0=U&~P;i0!==0?$=d6(i0):(T&=U,T!==0&&($=d6(T)))}else U=H&~P,U!==0?$=d6(U):T!==0&&($=d6(T));if($===0)return 0;if(f!==0&&f!==$&&!(f&P)&&(P=$&-$,T=f&-f,P>=T||P===16&&(T&4194240)!==0))return f;if($&4&&($|=H&16),f=d.entangledLanes,f!==0)for(d=d.entanglements,f&=$;0<f;)H=31-U2(f),P=1<<H,$|=d[H],f&=~P;return $}function kt(d,f){switch(d){case 1:case 2:case 4:return f+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function h6(d,f){for(var H=d.suspendedLanes,$=d.pingedLanes,P=d.expirationTimes,T=d.pendingLanes;0<T;){var U=31-U2(T),i0=1<<U,p0=P[U];p0===-1?(!(i0&H)||i0&$)&&(P[U]=kt(i0,f)):p0<=f&&(d.expiredLanes|=i0),T&=~i0}}function Y8(d){return d=d.pendingLanes&-1073741825,d!==0?d:d&1073741824?1073741824:0}function xa(){var d=B4;return B4<<=1,!(B4&4194240)&&(B4=64),d}function y4(d){for(var f=[],H=0;31>H;H++)f.push(d);return f}function W6(d,f,H){d.pendingLanes|=f,f!==536870912&&(d.suspendedLanes=0,d.pingedLanes=0),d=d.eventTimes,f=31-U2(f),d[f]=H}function Bl(d,f){var H=d.pendingLanes&~f;d.pendingLanes=f,d.suspendedLanes=0,d.pingedLanes=0,d.expiredLanes&=f,d.mutableReadLanes&=f,d.entangledLanes&=f,f=d.entanglements;var $=d.eventTimes;for(d=d.expirationTimes;0<H;){var P=31-U2(H),T=1<<P;f[P]=0,$[P]=-1,d[P]=-1,H&=~T}}function b4(d,f){var H=d.entangledLanes|=f;for(d=d.entanglements;H;){var $=31-U2(H),P=1<<$;P&f|d[$]&f&&(d[$]|=f),H&=~P}}var a2=0;function ql(d){return d&=-d,1<d?4<d?d&268435455?16:536870912:4:1}var c8,va,Wl,Xe,q4,W4=!1,Ee=[],f6=null,e8=null,_t=null,Ra=new Map,st=new Map,F2=[],t8="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".split(" ");function In(d,f){switch(d){case"focusin":case"focusout":f6=null;break;case"dragenter":case"dragleave":e8=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":Ra.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":st.delete(f.pointerId)}}function Q8(d,f,H,$,P,T){return d===null||d.nativeEvent!==T?(d={blockedOn:f,domEventName:H,eventSystemFlags:$,nativeEvent:T,targetContainers:[P]},f!==null&&(f=K4(f),f!==null&&va(f)),d):(d.eventSystemFlags|=$,f=d.targetContainers,P!==null&&f.indexOf(P)===-1&&f.push(P),d)}function Ct(d,f,H,$,P){switch(f){case"focusin":return f6=Q8(f6,d,f,H,$,P),!0;case"dragenter":return e8=Q8(e8,d,f,H,$,P),!0;case"mouseover":return _t=Q8(_t,d,f,H,$,P),!0;case"pointerover":var T=P.pointerId;return Ra.set(T,Q8(Ra.get(T)||null,d,f,H,$,P)),!0;case"gotpointercapture":return T=P.pointerId,st.set(T,Q8(st.get(T)||null,d,f,H,$,P)),!0}return!1}function T8(d){var f=Ur(d.target);if(f!==null){var H=J0(f);if(H!==null){if(f=H.tag,f===13){if(f=h1(H),f!==null){d.blockedOn=f,q4(d.priority,function(){Wl(H)});return}}else if(f===3&&H.stateNode.current.memoizedState.isDehydrated){d.blockedOn=H.tag===3?H.stateNode.containerInfo:null;return}}}d.blockedOn=null}function Cr(d){if(d.blockedOn!==null)return!1;for(var f=d.targetContainers;0<f.length;){var H=g8(d.domEventName,d.eventSystemFlags,f[0],d.nativeEvent);if(H===null){H=d.nativeEvent;var $=new H.constructor(H.type,H);f2=$,H.target.dispatchEvent($),f2=null}else return f=K4(H),f!==null&&va(f),d.blockedOn=H,!1;f.shift()}return!0}function G4(d,f,H){Cr(d)&&H.delete(f)}function Y4(){W4=!1,f6!==null&&Cr(f6)&&(f6=null),e8!==null&&Cr(e8)&&(e8=null),_t!==null&&Cr(_t)&&(_t=null),Ra.forEach(G4),st.forEach(G4)}function H4(d,f){d.blockedOn===f&&(d.blockedOn=null,W4||(W4=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Y4)))}function za(d){function f(P){return H4(P,d)}if(0<Ee.length){H4(Ee[0],d);for(var H=1;H<Ee.length;H++){var $=Ee[H];$.blockedOn===d&&($.blockedOn=null)}}for(f6!==null&&H4(f6,d),e8!==null&&H4(e8,d),_t!==null&&H4(_t,d),Ra.forEach(f),st.forEach(f),H=0;H<F2.length;H++)$=F2[H],$.blockedOn===d&&($.blockedOn=null);for(;0<F2.length&&(H=F2[0],H.blockedOn===null);)T8(H),H.blockedOn===null&&F2.shift()}var G1=N.ReactCurrentBatchConfig,H0=!0;function f1(d,f,H,$){var P=a2,T=G1.transition;G1.transition=null;try{a2=1,r2(d,f,H,$)}finally{a2=P,G1.transition=T}}function W1(d,f,H,$){var P=a2,T=G1.transition;G1.transition=null;try{a2=4,r2(d,f,H,$)}finally{a2=P,G1.transition=T}}function r2(d,f,H,$){if(H0){var P=g8(d,f,H,$);if(P===null)ep(d,f,$,a8,H),In(d,$);else if(Ct(P,d,f,H,$))$.stopPropagation();else if(In(d,$),f&4&&-1<t8.indexOf(d)){for(;P!==null;){var T=K4(P);if(T!==null&&c8(T),T=g8(d,f,H,$),T===null&&ep(d,f,$,a8,H),T===P)break;P=T}P!==null&&$.stopPropagation()}else ep(d,f,$,null,H)}}var a8=null;function g8(d,f,H,$){if(a8=null,d=i8($),d=Ur(d),d!==null)if(f=J0(d),f===null)d=null;else if(H=f.tag,H===13){if(d=h1(f),d!==null)return d;d=null}else if(H===3){if(f.stateNode.current.memoizedState.isDehydrated)return f.tag===3?f.stateNode.containerInfo:null;d=null}else f!==d&&(d=null);return a8=d,null}function K8(d){switch(d){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 1;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 4;case"message":switch(Qe()){case g2:return 1;case We:return 4;case ce:case Q1:return 16;case Ke:return 536870912;default:return 16}default:return 16}}var w8=null,G6=null,R=null;function s0(){if(R)return R;var d,f=G6,H=f.length,$,P="value"in w8?w8.value:w8.textContent,T=P.length;for(d=0;d<H&&f[d]===P[d];d++);var U=H-d;for($=1;$<=U&&f[H-$]===P[T-$];$++);return R=P.slice(d,1<$?1-$:void 0)}function R0(d){var f=d.keyCode;return"charCode"in d?(d=d.charCode,d===0&&f===13&&(d=13)):d=f,d===10&&(d=13),32<=d||d===13?d:0}function Y0(){return!0}function E1(){return!1}function ee(d){function f(H,$,P,T,U){this._reactName=H,this._targetInst=P,this.type=$,this.nativeEvent=T,this.target=U,this.currentTarget=null;for(var i0 in d)d.hasOwnProperty(i0)&&(H=d[i0],this[i0]=H?H(T):T[i0]);return this.isDefaultPrevented=(T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1)?Y0:E1,this.isPropagationStopped=E1,this}return B(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var H=this.nativeEvent;H&&(H.preventDefault?H.preventDefault():typeof H.returnValue!="unknown"&&(H.returnValue=!1),this.isDefaultPrevented=Y0)},stopPropagation:function(){var H=this.nativeEvent;H&&(H.stopPropagation?H.stopPropagation():typeof H.cancelBubble!="unknown"&&(H.cancelBubble=!0),this.isPropagationStopped=Y0)},persist:function(){},isPersistent:Y0}),f}var U1={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(d){return d.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Me=ee(U1),Ue=B({},U1,{view:0,detail:0}),j2=ee(Ue),C2,N2,T2,s8=B({},Ue,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:V9,button:0,buttons:0,relatedTarget:function(d){return d.relatedTarget===void 0?d.fromElement===d.srcElement?d.toElement:d.fromElement:d.relatedTarget},movementX:function(d){return"movementX"in d?d.movementX:(d!==T2&&(T2&&d.type==="mousemove"?(C2=d.screenX-T2.screenX,N2=d.screenY-T2.screenY):N2=C2=0,T2=d),C2)},movementY:function(d){return"movementY"in d?d.movementY:N2}}),A2=ee(s8),Dn=B({},s8,{dataTransfer:0}),Mo=ee(Dn),F5=B({},Ue,{relatedTarget:0}),j5=ee(F5),Nr=B({},U1,{animationName:0,elapsedTime:0,pseudoElement:0}),P5=ee(Nr),k5=B({},U1,{clipboardData:function(d){return"clipboardData"in d?d.clipboardData:window.clipboardData}}),Rd=ee(k5),oF=B({},U1,{data:0}),SZ=ee(oF),LZ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zd={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"},FZ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jZ(d){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(d):(d=FZ[d])?!!f[d]:!1}function V9(){return jZ}var iF=B({},Ue,{key:function(d){if(d.key){var f=LZ[d.key]||d.key;if(f!=="Unidentified")return f}return d.type==="keypress"?(d=R0(d),d===13?"Enter":String.fromCharCode(d)):d.type==="keydown"||d.type==="keyup"?zd[d.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:V9,charCode:function(d){return d.type==="keypress"?R0(d):0},keyCode:function(d){return d.type==="keydown"||d.type==="keyup"?d.keyCode:0},which:function(d){return d.type==="keypress"?R0(d):d.type==="keydown"||d.type==="keyup"?d.keyCode:0}}),Tr=ee(iF),cF=B({},s8,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),O9=ee(cF),Ud=B({},Ue,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:V9}),Bd=ee(Ud),sF=B({},U1,{propertyName:0,elapsedTime:0,pseudoElement:0}),$9=ee(sF),PZ=B({},s8,{deltaX:function(d){return"deltaX"in d?d.deltaX:"wheelDeltaX"in d?-d.wheelDeltaX:0},deltaY:function(d){return"deltaY"in d?d.deltaY:"wheelDeltaY"in d?-d.wheelDeltaY:"wheelDelta"in d?-d.wheelDelta:0},deltaZ:0,deltaMode:0}),Ua=ee(PZ),Ir=[9,13,27,32],S8=m&&"CompositionEvent"in window,v6=null;m&&"documentMode"in document&&(v6=document.documentMode);var qd=m&&"TextEvent"in window&&!v6,_5=m&&(!S8||v6&&8<v6&&11>=v6),kZ=" ",Vo=!1;function _Z(d,f){switch(d){case"keyup":return Ir.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function CZ(d){return d=d.detail,typeof d=="object"&&"data"in d?d.data:null}var xn=!1;function mF(d,f){switch(d){case"compositionend":return CZ(f);case"keypress":return f.which!==32?null:(Vo=!0,kZ);case"textInput":return d=f.data,d===kZ&&Vo?null:d;default:return null}}function uF(d,f){if(xn)return d==="compositionend"||!S8&&_Z(d,f)?(d=s0(),R=G6=w8=null,xn=!1,d):null;switch(d){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return _5&&f.locale!=="ko"?null:f.data;default:return null}}var dF={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 Wd(d){var f=d&&d.nodeName&&d.nodeName.toLowerCase();return f==="input"?!!dF[d.type]:f==="textarea"}function NZ(d,f,H,$){v2($),f=P9(f,"onChange"),0<f.length&&(H=new Me("onChange","change",null,H,$),d.push({event:H,listeners:f}))}var C5=null,N5=null;function TZ(d){ey(d,0)}function Dr(d){var f=So(d);if(v0(f))return d}function Gd(d,f){if(d==="change")return f}var Yd=!1;if(m){var w9;if(m){var Qd="oninput"in document;if(!Qd){var IZ=document.createElement("div");IZ.setAttribute("oninput","return;"),Qd=typeof IZ.oninput=="function"}w9=Qd}else w9=!1;Yd=w9&&(!document.documentMode||9<document.documentMode)}function DZ(){C5&&(C5.detachEvent("onpropertychange",xZ),N5=C5=null)}function xZ(d){if(d.propertyName==="value"&&Dr(N5)){var f=[];NZ(f,N5,d,i8(d)),Pt(TZ,f)}}function pF(d,f,H){d==="focusin"?(DZ(),C5=f,N5=H,C5.attachEvent("onpropertychange",xZ)):d==="focusout"&&DZ()}function hF(d){if(d==="selectionchange"||d==="keyup"||d==="keydown")return Dr(N5)}function fF(d,f){if(d==="click")return Dr(f)}function vF(d,f){if(d==="input"||d==="change")return Dr(f)}function RZ(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var E4=typeof Object.is=="function"?Object.is:RZ;function Oo(d,f){if(E4(d,f))return!0;if(typeof d!="object"||d===null||typeof f!="object"||f===null)return!1;var H=Object.keys(d),$=Object.keys(f);if(H.length!==$.length)return!1;for($=0;$<H.length;$++){var P=H[$];if(!u.call(f,P)||!E4(d[P],f[P]))return!1}return!0}function zZ(d){for(;d&&d.firstChild;)d=d.firstChild;return d}function UZ(d,f){var H=zZ(d);d=0;for(var $;H;){if(H.nodeType===3){if($=d+H.textContent.length,d<=f&&$>=f)return{node:H,offset:f-d};d=$}e:{for(;H;){if(H.nextSibling){H=H.nextSibling;break e}H=H.parentNode}H=void 0}H=zZ(H)}}function BZ(d,f){return d&&f?d===f?!0:d&&d.nodeType===3?!1:f&&f.nodeType===3?BZ(d,f.parentNode):"contains"in d?d.contains(f):d.compareDocumentPosition?!!(d.compareDocumentPosition(f)&16):!1:!1}function qZ(){for(var d=window,f=A0();f instanceof d.HTMLIFrameElement;){try{var H=typeof f.contentWindow.location.href=="string"}catch{H=!1}if(H)d=f.contentWindow;else break;f=A0(d.document)}return f}function T5(d){var f=d&&d.nodeName&&d.nodeName.toLowerCase();return f&&(f==="input"&&(d.type==="text"||d.type==="search"||d.type==="tel"||d.type==="url"||d.type==="password")||f==="textarea"||d.contentEditable==="true")}function Gl(d){var f=qZ(),H=d.focusedElem,$=d.selectionRange;if(f!==H&&H&&H.ownerDocument&&BZ(H.ownerDocument.documentElement,H)){if($!==null&&T5(H)){if(f=$.start,d=$.end,d===void 0&&(d=f),"selectionStart"in H)H.selectionStart=f,H.selectionEnd=Math.min(d,H.value.length);else if(d=(f=H.ownerDocument||document)&&f.defaultView||window,d.getSelection){d=d.getSelection();var P=H.textContent.length,T=Math.min($.start,P);$=$.end===void 0?T:Math.min($.end,P),!d.extend&&T>$&&(P=$,$=T,T=P),P=UZ(H,T);var U=UZ(H,$);P&&U&&(d.rangeCount!==1||d.anchorNode!==P.node||d.anchorOffset!==P.offset||d.focusNode!==U.node||d.focusOffset!==U.offset)&&(f=f.createRange(),f.setStart(P.node,P.offset),d.removeAllRanges(),T>$?(d.addRange(f),d.extend(U.node,U.offset)):(f.setEnd(U.node,U.offset),d.addRange(f)))}}for(f=[],d=H;d=d.parentNode;)d.nodeType===1&&f.push({element:d,left:d.scrollLeft,top:d.scrollTop});for(typeof H.focus=="function"&&H.focus(),H=0;H<f.length;H++)d=f[H],d.element.scrollLeft=d.left,d.element.scrollTop=d.top}}var S9=m&&"documentMode"in document&&11>=document.documentMode,Yl=null,Rn=null,I5=null,Kd=!1;function WZ(d,f,H){var $=H.window===H?H.document:H.nodeType===9?H:H.ownerDocument;Kd||Yl==null||Yl!==A0($)||($=Yl,"selectionStart"in $&&T5($)?$={start:$.selectionStart,end:$.selectionEnd}:($=($.ownerDocument&&$.ownerDocument.defaultView||window).getSelection(),$={anchorNode:$.anchorNode,anchorOffset:$.anchorOffset,focusNode:$.focusNode,focusOffset:$.focusOffset}),I5&&Oo(I5,$)||(I5=$,$=P9(Rn,"onSelect"),0<$.length&&(f=new Me("onSelect","select",null,f,H),d.push({event:f,listeners:$}),f.target=Yl)))}function L9(d,f){var H={};return H[d.toLowerCase()]=f.toLowerCase(),H["Webkit"+d]="webkit"+f,H["Moz"+d]="moz"+f,H}var $o={animationend:L9("Animation","AnimationEnd"),animationiteration:L9("Animation","AnimationIteration"),animationstart:L9("Animation","AnimationStart"),transitionend:L9("Transition","TransitionEnd")},F9={},GZ={};m&&(GZ=document.createElement("div").style,"AnimationEvent"in window||(delete $o.animationend.animation,delete $o.animationiteration.animation,delete $o.animationstart.animation),"TransitionEvent"in window||delete $o.transitionend.transition);function D5(d){if(F9[d])return F9[d];if(!$o[d])return d;var f=$o[d],H;for(H in f)if(f.hasOwnProperty(H)&&H in GZ)return F9[d]=f[H];return d}var aa=D5("animationend"),Xd=D5("animationiteration"),YZ=D5("animationstart"),QZ=D5("transitionend"),KZ=new Map,XZ="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".split(" ");function zn(d,f){KZ.set(d,f),o(f,[d])}for(var j9=0;j9<XZ.length;j9++){var x5=XZ[j9],R5=x5.toLowerCase(),gF=x5[0].toUpperCase()+x5.slice(1);zn(R5,"on"+gF)}zn(aa,"onAnimationEnd"),zn(Xd,"onAnimationIteration"),zn(YZ,"onAnimationStart"),zn("dblclick","onDoubleClick"),zn("focusin","onFocus"),zn("focusout","onBlur"),zn(QZ,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),AF=new Set("cancel close invalid load scroll toggle".split(" ").concat(xr));function JZ(d,f,H){var $=d.type||"unknown-event";d.currentTarget=H,I0($,f,void 0,d),d.currentTarget=null}function ey(d,f){f=(f&4)!==0;for(var H=0;H<d.length;H++){var $=d[H],P=$.event;$=$.listeners;e:{var T=void 0;if(f)for(var U=$.length-1;0<=U;U--){var i0=$[U],p0=i0.instance,B0=i0.currentTarget;if(i0=i0.listener,p0!==T&&P.isPropagationStopped())break e;JZ(P,i0,B0),T=p0}else for(U=0;U<$.length;U++){if(i0=$[U],p0=i0.instance,B0=i0.currentTarget,i0=i0.listener,p0!==T&&P.isPropagationStopped())break e;JZ(P,i0,B0),T=p0}}}if(Y1)throw d=F1,Y1=!1,F1=null,d}function Y2(d,f){var H=f[cp];H===void 0&&(H=f[cp]=new Set);var $=d+"__bubble";H.has($)||(Jd(f,d,2,!1),H.add($))}function z5(d,f,H){var $=0;f&&($|=4),Jd(H,d,$,f)}var Rr="_reactListening"+Math.random().toString(36).slice(2);function Q4(d){if(!d[Rr]){d[Rr]=!0,n.forEach(function(H){H!=="selectionchange"&&(AF.has(H)||z5(H,!1,d),z5(H,!0,d))});var f=d.nodeType===9?d:d.ownerDocument;f===null||f[Rr]||(f[Rr]=!0,z5("selectionchange",!1,f))}}function Jd(d,f,H,$){switch(K8(f)){case 1:var P=f1;break;case 4:P=W1;break;default:P=r2}H=P.bind(null,f,H,d),P=void 0,!V0||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(P=!0),$?P!==void 0?d.addEventListener(f,H,{capture:!0,passive:P}):d.addEventListener(f,H,!0):P!==void 0?d.addEventListener(f,H,{passive:P}):d.addEventListener(f,H,!1)}function ep(d,f,H,$,P){var T=$;if(!(f&1)&&!(f&2)&&$!==null)e:for(;;){if($===null)return;var U=$.tag;if(U===3||U===4){var i0=$.stateNode.containerInfo;if(i0===P||i0.nodeType===8&&i0.parentNode===P)break;if(U===4)for(U=$.return;U!==null;){var p0=U.tag;if((p0===3||p0===4)&&(p0=U.stateNode.containerInfo,p0===P||p0.nodeType===8&&p0.parentNode===P))return;U=U.return}for(;i0!==null;){if(U=Ur(i0),U===null)return;if(p0=U.tag,p0===5||p0===6){$=T=U;continue e}i0=i0.parentNode}}$=$.return}Pt(function(){var B0=T,m1=i8(H),v1=[];e:{var s1=KZ.get(d);if(s1!==void 0){var x1=Me,X1=d;switch(d){case"keypress":if(R0(H)===0)break e;case"keydown":case"keyup":x1=Tr;break;case"focusin":X1="focus",x1=j5;break;case"focusout":X1="blur",x1=j5;break;case"beforeblur":case"afterblur":x1=j5;break;case"click":if(H.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x1=A2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x1=Mo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x1=Bd;break;case aa:case Xd:case YZ:x1=P5;break;case QZ:x1=$9;break;case"scroll":x1=j2;break;case"wheel":x1=Ua;break;case"copy":case"cut":case"paste":x1=Rd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x1=O9}var re=(f&4)!==0,D8=!re&&d==="scroll",P0=re?s1!==null?s1+"Capture":null:s1;re=[];for(var E0=B0,D0;E0!==null;){D0=E0;var M1=D0.stateNode;if(D0.tag===5&&M1!==null&&(D0=M1,P0!==null&&(M1=u0(E0,P0),M1!=null&&re.push(wo(E0,M1,D0)))),D8)break;E0=E0.return}0<re.length&&(s1=new x1(s1,X1,null,H,m1),v1.push({event:s1,listeners:re}))}}if(!(f&7)){e:{if(s1=d==="mouseover"||d==="pointerover",x1=d==="mouseout"||d==="pointerout",s1&&H!==f2&&(X1=H.relatedTarget||H.fromElement)&&(Ur(X1)||X1[M4]))break e;if((x1||s1)&&(s1=m1.window===m1?m1:(s1=m1.ownerDocument)?s1.defaultView||s1.parentWindow:window,x1?(X1=H.relatedTarget||H.toElement,x1=B0,X1=X1?Ur(X1):null,X1!==null&&(D8=J0(X1),X1!==D8||X1.tag!==5&&X1.tag!==6)&&(X1=null)):(x1=null,X1=B0),x1!==X1)){if(re=A2,M1="onMouseLeave",P0="onMouseEnter",E0="mouse",(d==="pointerout"||d==="pointerover")&&(re=O9,M1="onPointerLeave",P0="onPointerEnter",E0="pointer"),D8=x1==null?s1:So(x1),D0=X1==null?s1:So(X1),s1=new re(M1,E0+"leave",x1,H,m1),s1.target=D8,s1.relatedTarget=D0,M1=null,Ur(m1)===B0&&(re=new re(P0,E0+"enter",X1,H,m1),re.target=D0,re.relatedTarget=D8,M1=re),D8=M1,x1&&X1)t:{for(re=x1,P0=X1,E0=0,D0=re;D0;D0=Ql(D0))E0++;for(D0=0,M1=P0;M1;M1=Ql(M1))D0++;for(;0<E0-D0;)re=Ql(re),E0--;for(;0<D0-E0;)P0=Ql(P0),D0--;for(;E0--;){if(re===P0||P0!==null&&re===P0.alternate)break t;re=Ql(re),P0=Ql(P0)}re=null}else re=null;x1!==null&&tp(v1,s1,x1,re,!1),X1!==null&&D8!==null&&tp(v1,D8,X1,re,!0)}}e:{if(s1=B0?So(B0):window,x1=s1.nodeName&&s1.nodeName.toLowerCase(),x1==="select"||x1==="input"&&s1.type==="file")var oe=Gd;else if(Wd(s1))if(Yd)oe=vF;else{oe=hF;var ye=pF}else(x1=s1.nodeName)&&x1.toLowerCase()==="input"&&(s1.type==="checkbox"||s1.type==="radio")&&(oe=fF);if(oe&&(oe=oe(d,B0))){NZ(v1,oe,H,m1);break e}ye&&ye(d,s1,B0),d==="focusout"&&(ye=s1._wrapperState)&&ye.controlled&&s1.type==="number"&&T1(s1,"number",s1.value)}switch(ye=B0?So(B0):window,d){case"focusin":(Wd(ye)||ye.contentEditable==="true")&&(Yl=ye,Rn=B0,I5=null);break;case"focusout":I5=Rn=Yl=null;break;case"mousedown":Kd=!0;break;case"contextmenu":case"mouseup":case"dragend":Kd=!1,WZ(v1,H,m1);break;case"selectionchange":if(S9)break;case"keydown":case"keyup":WZ(v1,H,m1)}var be;if(S8)e:{switch(d){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else xn?_Z(d,H)&&(me="onCompositionEnd"):d==="keydown"&&H.keyCode===229&&(me="onCompositionStart");me&&(_5&&H.locale!=="ko"&&(xn||me!=="onCompositionStart"?me==="onCompositionEnd"&&xn&&(be=s0()):(w8=m1,G6="value"in w8?w8.value:w8.textContent,xn=!0)),ye=P9(B0,me),0<ye.length&&(me=new SZ(me,d,null,H,m1),v1.push({event:me,listeners:ye}),be?me.data=be:(be=CZ(H),be!==null&&(me.data=be)))),(be=qd?mF(d,H):uF(d,H))&&(B0=P9(B0,"onBeforeInput"),0<B0.length&&(m1=new SZ("onBeforeInput","beforeinput",null,H,m1),v1.push({event:m1,listeners:B0}),m1.data=be))}ey(v1,f)})}function wo(d,f,H){return{instance:d,listener:f,currentTarget:H}}function P9(d,f){for(var H=f+"Capture",$=[];d!==null;){var P=d,T=P.stateNode;P.tag===5&&T!==null&&(P=T,T=u0(d,H),T!=null&&$.unshift(wo(d,T,P)),T=u0(d,f),T!=null&&$.push(wo(d,T,P))),d=d.return}return $}function Ql(d){if(d===null)return null;do d=d.return;while(d&&d.tag!==5);return d||null}function tp(d,f,H,$,P){for(var T=f._reactName,U=[];H!==null&&H!==$;){var i0=H,p0=i0.alternate,B0=i0.stateNode;if(p0!==null&&p0===$)break;i0.tag===5&&B0!==null&&(i0=B0,P?(p0=u0(H,T),p0!=null&&U.unshift(wo(H,p0,i0))):P||(p0=u0(H,T),p0!=null&&U.push(wo(H,p0,i0)))),H=H.return}U.length!==0&&d.push({event:f,listeners:U})}var ty=/\r\n?/g,ap=/\u0000|\uFFFD/g;function ay(d){return(typeof d=="string"?d:""+d).replace(ty,`
92
+ `).replace(ap,"")}function U5(d,f,H){if(f=ay(f),ay(d)!==f&&H)throw Error(r(425))}function k9(){}var rp=null,np=null;function Kl(d,f){return d==="textarea"||d==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var B5=typeof setTimeout=="function"?setTimeout:void 0,q5=typeof clearTimeout=="function"?clearTimeout:void 0,lp=typeof Promise=="function"?Promise:void 0,ry=typeof queueMicrotask=="function"?queueMicrotask:typeof lp<"u"?function(d){return lp.resolve(null).then(d).catch(op)}:B5;function op(d){setTimeout(function(){throw d})}function ip(d,f){var H=f,$=0;do{var P=H.nextSibling;if(d.removeChild(H),P&&P.nodeType===8)if(H=P.data,H==="/$"){if($===0){d.removeChild(P),za(f);return}$--}else H!=="$"&&H!=="$?"&&H!=="$!"||$++;H=P}while(H);za(f)}function g6(d){for(;d!=null;d=d.nextSibling){var f=d.nodeType;if(f===1||f===3)break;if(f===8){if(f=d.data,f==="$"||f==="$!"||f==="$?")break;if(f==="/$")return null}}return d}function W5(d){d=d.previousSibling;for(var f=0;d;){if(d.nodeType===8){var H=d.data;if(H==="$"||H==="$!"||H==="$?"){if(f===0)return d;f--}else H==="/$"&&f++}d=d.previousSibling}return null}var zr=Math.random().toString(36).slice(2),Y6="__reactFiber$"+zr,G5="__reactProps$"+zr,M4="__reactContainer$"+zr,cp="__reactEvents$"+zr,ZF="__reactListeners$"+zr,yF="__reactHandles$"+zr;function Ur(d){var f=d[Y6];if(f)return f;for(var H=d.parentNode;H;){if(f=H[M4]||H[Y6]){if(H=f.alternate,f.child!==null||H!==null&&H.child!==null)for(d=W5(d);d!==null;){if(H=d[Y6])return H;d=W5(d)}return f}d=H,H=d.parentNode}return null}function K4(d){return d=d[Y6]||d[M4],!d||d.tag!==5&&d.tag!==6&&d.tag!==13&&d.tag!==3?null:d}function So(d){if(d.tag===5||d.tag===6)return d.stateNode;throw Error(r(33))}function _9(d){return d[G5]||null}var ve=[],V4=-1;function Q2(d){return{current:d}}function le(d){0>V4||(d.current=ve[V4],ve[V4]=null,V4--)}function M2(d,f){V4++,ve[V4]=d.current,d.current=f}var Q6={},Zt=Q2(Q6),ke=Q2(!1),ga=Q6;function A6(d,f){var H=d.type.contextTypes;if(!H)return Q6;var $=d.stateNode;if($&&$.__reactInternalMemoizedUnmaskedChildContext===f)return $.__reactInternalMemoizedMaskedChildContext;var P={},T;for(T in H)P[T]=f[T];return $&&(d=d.stateNode,d.__reactInternalMemoizedUnmaskedChildContext=f,d.__reactInternalMemoizedMaskedChildContext=P),P}function X8(d){return d=d.childContextTypes,d!=null}function Ba(){le(ke),le(Zt)}function X4(d,f,H){if(Zt.current!==Q6)throw Error(r(168));M2(Zt,f),M2(ke,H)}function Un(d,f,H){var $=d.stateNode;if(f=f.childContextTypes,typeof $.getChildContext!="function")return H;$=$.getChildContext();for(var P in $)if(!(P in f))throw Error(r(108,z0(d)||"Unknown",P));return B({},H,$)}function Xl(d){return d=(d=d.stateNode)&&d.__reactInternalMemoizedMergedChildContext||Q6,ga=Zt.current,M2(Zt,d),M2(ke,ke.current),!0}function ny(d,f,H){var $=d.stateNode;if(!$)throw Error(r(169));H?(d=Un(d,f,ga),$.__reactInternalMemoizedMergedChildContext=d,le(ke),le(Zt),M2(Zt,d)):le(ke),M2(ke,H)}var Br=null,Bn=!1,Nt=!1;function C9(d){Br===null?Br=[d]:Br.push(d)}function ly(d){Bn=!0,C9(d)}function J4(){if(!Nt&&Br!==null){Nt=!0;var d=0,f=a2;try{var H=Br;for(a2=1;d<H.length;d++){var $=H[d];do $=$(!0);while($!==null)}Br=null,Bn=!1}catch(P){throw Br!==null&&(Br=Br.slice(d+1)),b1(g2,J4),P}finally{a2=f,Nt=!1}}return null}var K6=[],qn=0,X6=null,Jl=0,qa=[],Wa=0,O4=null,Ga=1,Tt="";function e3(d,f){K6[qn++]=Jl,K6[qn++]=X6,X6=d,Jl=f}function Wn(d,f,H){qa[Wa++]=Ga,qa[Wa++]=Tt,qa[Wa++]=O4,O4=d;var $=Ga;d=Tt;var P=32-U2($)-1;$&=~(1<<P),H+=1;var T=32-U2(f)+P;if(30<T){var U=P-P%5;T=($&(1<<U)-1).toString(32),$>>=U,P-=U,Ga=1<<32-U2(f)+P|H<<P|$,Tt=T+d}else Ga=1<<T|H<<P|$,Tt=d}function N9(d){d.return!==null&&(e3(d,1),Wn(d,1,0))}function T9(d){for(;d===X6;)X6=K6[--qn],K6[qn]=null,Jl=K6[--qn],K6[qn]=null;for(;d===O4;)O4=qa[--Wa],qa[Wa]=null,Tt=qa[--Wa],qa[Wa]=null,Ga=qa[--Wa],qa[Wa]=null}var Z6=null,y6=null,m8=!1,J6=null;function sp(d,f){var H=$6(5,null,null,0);H.elementType="DELETED",H.stateNode=f,H.return=d,f=d.deletions,f===null?(d.deletions=[H],d.flags|=16):f.push(H)}function mp(d,f){switch(d.tag){case 5:var H=d.type;return f=f.nodeType!==1||H.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(d.stateNode=f,Z6=d,y6=g6(f.firstChild),!0):!1;case 6:return f=d.pendingProps===""||f.nodeType!==3?null:f,f!==null?(d.stateNode=f,Z6=d,y6=null,!0):!1;case 13:return f=f.nodeType!==8?null:f,f!==null?(H=O4!==null?{id:Ga,overflow:Tt}:null,d.memoizedState={dehydrated:f,treeContext:H,retryLane:1073741824},H=$6(18,null,null,0),H.stateNode=f,H.return=d,d.child=H,Z6=d,y6=null,!0):!1;default:return!1}}function up(d){return(d.mode&1)!==0&&(d.flags&128)===0}function I9(d){if(m8){var f=y6;if(f){var H=f;if(!mp(d,f)){if(up(d))throw Error(r(418));f=g6(H.nextSibling);var $=Z6;f&&mp(d,f)?sp($,H):(d.flags=d.flags&-4097|2,m8=!1,Z6=d)}}else{if(up(d))throw Error(r(418));d.flags=d.flags&-4097|2,m8=!1,Z6=d}}}function dp(d){for(d=d.return;d!==null&&d.tag!==5&&d.tag!==3&&d.tag!==13;)d=d.return;Z6=d}function D9(d){if(d!==Z6)return!1;if(!m8)return dp(d),m8=!0,!1;var f;if((f=d.tag!==3)&&!(f=d.tag!==5)&&(f=d.type,f=f!=="head"&&f!=="body"&&!Kl(d.type,d.memoizedProps)),f&&(f=y6)){if(up(d))throw oy(),Error(r(418));for(;f;)sp(d,f),f=g6(f.nextSibling)}if(dp(d),d.tag===13){if(d=d.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(r(317));e:{for(d=d.nextSibling,f=0;d;){if(d.nodeType===8){var H=d.data;if(H==="/$"){if(f===0){y6=g6(d.nextSibling);break e}f--}else H!=="$"&&H!=="$!"&&H!=="$?"||f++}d=d.nextSibling}y6=null}}else y6=Z6?g6(d.stateNode.nextSibling):null;return!0}function oy(){for(var d=y6;d;)d=g6(d.nextSibling)}function Lo(){y6=Z6=null,m8=!1}function J8(d){J6===null?J6=[d]:J6.push(d)}var bF=N.ReactCurrentBatchConfig;function Gn(d,f,H){if(d=H.ref,d!==null&&typeof d!="function"&&typeof d!="object"){if(H._owner){if(H=H._owner,H){if(H.tag!==1)throw Error(r(309));var $=H.stateNode}if(!$)throw Error(r(147,d));var P=$,T=""+d;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===T?f.ref:(f=function(U){var i0=P.refs;U===null?delete i0[T]:i0[T]=U},f._stringRef=T,f)}if(typeof d!="string")throw Error(r(284));if(!H._owner)throw Error(r(290,d))}return d}function Fo(d,f){throw d=Object.prototype.toString.call(f),Error(r(31,d==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":d))}function Yn(d){var f=d._init;return f(d._payload)}function iy(d){function f(P0,E0){if(d){var D0=P0.deletions;D0===null?(P0.deletions=[E0],P0.flags|=16):D0.push(E0)}}function H(P0,E0){if(!d)return null;for(;E0!==null;)f(P0,E0),E0=E0.sibling;return null}function $(P0,E0){for(P0=new Map;E0!==null;)E0.key!==null?P0.set(E0.key,E0):P0.set(E0.index,E0),E0=E0.sibling;return P0}function P(P0,E0){return P0=ol(P0,E0),P0.index=0,P0.sibling=null,P0}function T(P0,E0,D0){return P0.index=D0,d?(D0=P0.alternate,D0!==null?(D0=D0.index,D0<E0?(P0.flags|=2,E0):D0):(P0.flags|=2,E0)):(P0.flags|=1048576,E0)}function U(P0){return d&&P0.alternate===null&&(P0.flags|=2),P0}function i0(P0,E0,D0,M1){return E0===null||E0.tag!==6?(E0=qp(D0,P0.mode,M1),E0.return=P0,E0):(E0=P(E0,D0),E0.return=P0,E0)}function p0(P0,E0,D0,M1){var oe=D0.type;return oe===z?m1(P0,E0,D0.props.children,M1,D0.key):E0!==null&&(E0.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===G0&&Yn(oe)===E0.type)?(M1=P(E0,D0.props),M1.ref=Gn(P0,E0,D0),M1.return=P0,M1):(M1=us(D0.type,D0.key,D0.props,null,P0.mode,M1),M1.ref=Gn(P0,E0,D0),M1.return=P0,M1)}function B0(P0,E0,D0,M1){return E0===null||E0.tag!==4||E0.stateNode.containerInfo!==D0.containerInfo||E0.stateNode.implementation!==D0.implementation?(E0=ps(D0,P0.mode,M1),E0.return=P0,E0):(E0=P(E0,D0.children||[]),E0.return=P0,E0)}function m1(P0,E0,D0,M1,oe){return E0===null||E0.tag!==7?(E0=f3(D0,P0.mode,M1,oe),E0.return=P0,E0):(E0=P(E0,D0),E0.return=P0,E0)}function v1(P0,E0,D0){if(typeof E0=="string"&&E0!==""||typeof E0=="number")return E0=qp(""+E0,P0.mode,D0),E0.return=P0,E0;if(typeof E0=="object"&&E0!==null){switch(E0.$$typeof){case C:return D0=us(E0.type,E0.key,E0.props,null,P0.mode,D0),D0.ref=Gn(P0,null,E0),D0.return=P0,D0;case I:return E0=ps(E0,P0.mode,D0),E0.return=P0,E0;case G0:var M1=E0._init;return v1(P0,M1(E0._payload),D0)}if(H1(E0)||L0(E0))return E0=f3(E0,P0.mode,D0,null),E0.return=P0,E0;Fo(P0,E0)}return null}function s1(P0,E0,D0,M1){var oe=E0!==null?E0.key:null;if(typeof D0=="string"&&D0!==""||typeof D0=="number")return oe!==null?null:i0(P0,E0,""+D0,M1);if(typeof D0=="object"&&D0!==null){switch(D0.$$typeof){case C:return D0.key===oe?p0(P0,E0,D0,M1):null;case I:return D0.key===oe?B0(P0,E0,D0,M1):null;case G0:return oe=D0._init,s1(P0,E0,oe(D0._payload),M1)}if(H1(D0)||L0(D0))return oe!==null?null:m1(P0,E0,D0,M1,null);Fo(P0,D0)}return null}function x1(P0,E0,D0,M1,oe){if(typeof M1=="string"&&M1!==""||typeof M1=="number")return P0=P0.get(D0)||null,i0(E0,P0,""+M1,oe);if(typeof M1=="object"&&M1!==null){switch(M1.$$typeof){case C:return P0=P0.get(M1.key===null?D0:M1.key)||null,p0(E0,P0,M1,oe);case I:return P0=P0.get(M1.key===null?D0:M1.key)||null,B0(E0,P0,M1,oe);case G0:var ye=M1._init;return x1(P0,E0,D0,ye(M1._payload),oe)}if(H1(M1)||L0(M1))return P0=P0.get(D0)||null,m1(E0,P0,M1,oe,null);Fo(E0,M1)}return null}function X1(P0,E0,D0,M1){for(var oe=null,ye=null,be=E0,me=E0=0,P8=null;be!==null&&me<D0.length;me++){be.index>me?(P8=be,be=null):P8=be.sibling;var H2=s1(P0,be,D0[me],M1);if(H2===null){be===null&&(be=P8);break}d&&be&&H2.alternate===null&&f(P0,be),E0=T(H2,E0,me),ye===null?oe=H2:ye.sibling=H2,ye=H2,be=P8}if(me===D0.length)return H(P0,be),m8&&e3(P0,me),oe;if(be===null){for(;me<D0.length;me++)be=v1(P0,D0[me],M1),be!==null&&(E0=T(be,E0,me),ye===null?oe=be:ye.sibling=be,ye=be);return m8&&e3(P0,me),oe}for(be=$(P0,be);me<D0.length;me++)P8=x1(be,P0,me,D0[me],M1),P8!==null&&(d&&P8.alternate!==null&&be.delete(P8.key===null?me:P8.key),E0=T(P8,E0,me),ye===null?oe=P8:ye.sibling=P8,ye=P8);return d&&be.forEach(function(il){return f(P0,il)}),m8&&e3(P0,me),oe}function re(P0,E0,D0,M1){var oe=L0(D0);if(typeof oe!="function")throw Error(r(150));if(D0=oe.call(D0),D0==null)throw Error(r(151));for(var ye=oe=null,be=E0,me=E0=0,P8=null,H2=D0.next();be!==null&&!H2.done;me++,H2=D0.next()){be.index>me?(P8=be,be=null):P8=be.sibling;var il=s1(P0,be,H2.value,M1);if(il===null){be===null&&(be=P8);break}d&&be&&il.alternate===null&&f(P0,be),E0=T(il,E0,me),ye===null?oe=il:ye.sibling=il,ye=il,be=P8}if(H2.done)return H(P0,be),m8&&e3(P0,me),oe;if(be===null){for(;!H2.done;me++,H2=D0.next())H2=v1(P0,H2.value,M1),H2!==null&&(E0=T(H2,E0,me),ye===null?oe=H2:ye.sibling=H2,ye=H2);return m8&&e3(P0,me),oe}for(be=$(P0,be);!H2.done;me++,H2=D0.next())H2=x1(be,P0,me,H2.value,M1),H2!==null&&(d&&H2.alternate!==null&&be.delete(H2.key===null?me:H2.key),E0=T(H2,E0,me),ye===null?oe=H2:ye.sibling=H2,ye=H2);return d&&be.forEach(function(Cy){return f(P0,Cy)}),m8&&e3(P0,me),oe}function D8(P0,E0,D0,M1){if(typeof D0=="object"&&D0!==null&&D0.type===z&&D0.key===null&&(D0=D0.props.children),typeof D0=="object"&&D0!==null){switch(D0.$$typeof){case C:e:{for(var oe=D0.key,ye=E0;ye!==null;){if(ye.key===oe){if(oe=D0.type,oe===z){if(ye.tag===7){H(P0,ye.sibling),E0=P(ye,D0.props.children),E0.return=P0,P0=E0;break e}}else if(ye.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===G0&&Yn(oe)===ye.type){H(P0,ye.sibling),E0=P(ye,D0.props),E0.ref=Gn(P0,ye,D0),E0.return=P0,P0=E0;break e}H(P0,ye);break}else f(P0,ye);ye=ye.sibling}D0.type===z?(E0=f3(D0.props.children,P0.mode,M1,D0.key),E0.return=P0,P0=E0):(M1=us(D0.type,D0.key,D0.props,null,P0.mode,M1),M1.ref=Gn(P0,E0,D0),M1.return=P0,P0=M1)}return U(P0);case I:e:{for(ye=D0.key;E0!==null;){if(E0.key===ye)if(E0.tag===4&&E0.stateNode.containerInfo===D0.containerInfo&&E0.stateNode.implementation===D0.implementation){H(P0,E0.sibling),E0=P(E0,D0.children||[]),E0.return=P0,P0=E0;break e}else{H(P0,E0);break}else f(P0,E0);E0=E0.sibling}E0=ps(D0,P0.mode,M1),E0.return=P0,P0=E0}return U(P0);case G0:return ye=D0._init,D8(P0,E0,ye(D0._payload),M1)}if(H1(D0))return X1(P0,E0,D0,M1);if(L0(D0))return re(P0,E0,D0,M1);Fo(P0,D0)}return typeof D0=="string"&&D0!==""||typeof D0=="number"?(D0=""+D0,E0!==null&&E0.tag===6?(H(P0,E0.sibling),E0=P(E0,D0),E0.return=P0,P0=E0):(H(P0,E0),E0=qp(D0,P0.mode,M1),E0.return=P0,P0=E0),U(P0)):H(P0,E0)}return D8}var Qn=iy(!0),cy=iy(!1),x9=Q2(null),qr=null,I8=null,C1=null;function e4(){C1=I8=qr=null}function b6(d){var f=x9.current;le(x9),d._currentValue=f}function pp(d,f,H){for(;d!==null;){var $=d.alternate;if((d.childLanes&f)!==f?(d.childLanes|=f,$!==null&&($.childLanes|=f)):$!==null&&($.childLanes&f)!==f&&($.childLanes|=f),d===H)break;d=d.return}}function jo(d,f){qr=d,C1=I8=null,d=d.dependencies,d!==null&&d.firstContext!==null&&(d.lanes&f&&(Aa=!0),d.firstContext=null)}function t4(d){var f=d._currentValue;if(C1!==d)if(d={context:d,memoizedValue:f,next:null},I8===null){if(qr===null)throw Error(r(308));I8=d,qr.dependencies={lanes:0,firstContext:d}}else I8=I8.next=d;return f}var t3=null;function hp(d){t3===null?t3=[d]:t3.push(d)}function mt(d,f,H,$){var P=f.interleaved;return P===null?(H.next=H,hp(f)):(H.next=P.next,P.next=H),f.interleaved=H,Wr(d,$)}function Wr(d,f){d.lanes|=f;var H=d.alternate;for(H!==null&&(H.lanes|=f),H=d,d=d.return;d!==null;)d.childLanes|=f,H=d.alternate,H!==null&&(H.childLanes|=f),H=d,d=d.return;return H.tag===3?H.stateNode:null}var Kn=!1;function fp(d){d.updateQueue={baseState:d.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vp(d,f){d=d.updateQueue,f.updateQueue===d&&(f.updateQueue={baseState:d.baseState,firstBaseUpdate:d.firstBaseUpdate,lastBaseUpdate:d.lastBaseUpdate,shared:d.shared,effects:d.effects})}function H6(d,f){return{eventTime:d,lane:f,tag:0,payload:null,callback:null,next:null}}function E6(d,f,H){var $=d.updateQueue;if($===null)return null;if($=$.shared,b2&2){var P=$.pending;return P===null?f.next=f:(f.next=P.next,P.next=f),$.pending=f,Wr(d,H)}return P=$.interleaved,P===null?(f.next=f,hp($)):(f.next=P.next,P.next=f),$.interleaved=f,Wr(d,H)}function R9(d,f,H){if(f=f.updateQueue,f!==null&&(f=f.shared,(H&4194240)!==0)){var $=f.lanes;$&=d.pendingLanes,H|=$,f.lanes=H,b4(d,H)}}function sy(d,f){var H=d.updateQueue,$=d.alternate;if($!==null&&($=$.updateQueue,H===$)){var P=null,T=null;if(H=H.firstBaseUpdate,H!==null){do{var U={eventTime:H.eventTime,lane:H.lane,tag:H.tag,payload:H.payload,callback:H.callback,next:null};T===null?P=T=U:T=T.next=U,H=H.next}while(H!==null);T===null?P=T=f:T=T.next=f}else P=T=f;H={baseState:$.baseState,firstBaseUpdate:P,lastBaseUpdate:T,shared:$.shared,effects:$.effects},d.updateQueue=H;return}d=H.lastBaseUpdate,d===null?H.firstBaseUpdate=f:d.next=f,H.lastBaseUpdate=f}function z9(d,f,H,$){var P=d.updateQueue;Kn=!1;var T=P.firstBaseUpdate,U=P.lastBaseUpdate,i0=P.shared.pending;if(i0!==null){P.shared.pending=null;var p0=i0,B0=p0.next;p0.next=null,U===null?T=B0:U.next=B0,U=p0;var m1=d.alternate;m1!==null&&(m1=m1.updateQueue,i0=m1.lastBaseUpdate,i0!==U&&(i0===null?m1.firstBaseUpdate=B0:i0.next=B0,m1.lastBaseUpdate=p0))}if(T!==null){var v1=P.baseState;U=0,m1=B0=p0=null,i0=T;do{var s1=i0.lane,x1=i0.eventTime;if(($&s1)===s1){m1!==null&&(m1=m1.next={eventTime:x1,lane:0,tag:i0.tag,payload:i0.payload,callback:i0.callback,next:null});e:{var X1=d,re=i0;switch(s1=f,x1=H,re.tag){case 1:if(X1=re.payload,typeof X1=="function"){v1=X1.call(x1,v1,s1);break e}v1=X1;break e;case 3:X1.flags=X1.flags&-65537|128;case 0:if(X1=re.payload,s1=typeof X1=="function"?X1.call(x1,v1,s1):X1,s1==null)break e;v1=B({},v1,s1);break e;case 2:Kn=!0}}i0.callback!==null&&i0.lane!==0&&(d.flags|=64,s1=P.effects,s1===null?P.effects=[i0]:s1.push(i0))}else x1={eventTime:x1,lane:s1,tag:i0.tag,payload:i0.payload,callback:i0.callback,next:null},m1===null?(B0=m1=x1,p0=v1):m1=m1.next=x1,U|=s1;if(i0=i0.next,i0===null){if(i0=P.shared.pending,i0===null)break;s1=i0,i0=s1.next,s1.next=null,P.lastBaseUpdate=s1,P.shared.pending=null}}while(!0);if(m1===null&&(p0=v1),P.baseState=p0,P.firstBaseUpdate=B0,P.lastBaseUpdate=m1,f=P.shared.interleaved,f!==null){P=f;do U|=P.lane,P=P.next;while(P!==f)}else T===null&&(P.shared.lanes=0);c3|=U,d.lanes=U,d.memoizedState=v1}}function my(d,f,H){if(d=f.effects,f.effects=null,d!==null)for(f=0;f<d.length;f++){var $=d[f],P=$.callback;if(P!==null){if($.callback=null,$=H,typeof P!="function")throw Error(r(191,P));P.call($)}}}var Y5={},er=Q2(Y5),Po=Q2(Y5),ko=Q2(Y5);function a3(d){if(d===Y5)throw Error(r(174));return d}function gp(d,f){switch(M2(ko,f),M2(Po,d),M2(er,Y5),d=f.nodeType,d){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:o1(null,"");break;default:d=d===8?f.parentNode:f,f=d.namespaceURI||null,d=d.tagName,f=o1(f,d)}le(er),M2(er,f)}function _o(){le(er),le(Po),le(ko)}function uy(d){a3(ko.current);var f=a3(er.current),H=o1(f,d.type);f!==H&&(M2(Po,d),M2(er,H))}function Ap(d){Po.current===d&&(le(er),le(Po))}var E8=Q2(0);function Q5(d){for(var f=d;f!==null;){if(f.tag===13){var H=f.memoizedState;if(H!==null&&(H=H.dehydrated,H===null||H.data==="$?"||H.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if(f.flags&128)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===d)break;for(;f.sibling===null;){if(f.return===null||f.return===d)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var Zp=[];function U9(){for(var d=0;d<Zp.length;d++)Zp[d]._workInProgressVersionPrimary=null;Zp.length=0}var B9=N.ReactCurrentDispatcher,yp=N.ReactCurrentBatchConfig,Gr=0,_1=null,fe=null,Se=null,u8=!1,Ya=!1,Co=0,HF=0;function ra(){throw Error(r(321))}function bp(d,f){if(f===null)return!1;for(var H=0;H<f.length&&H<d.length;H++)if(!E4(d[H],f[H]))return!1;return!0}function K5(d,f,H,$,P,T){if(Gr=T,_1=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,B9.current=d===null||d.memoizedState===null?M6:EF,d=H($,P),Ya){T=0;do{if(Ya=!1,Co=0,25<=T)throw Error(r(301));T+=1,Se=fe=null,f.updateQueue=null,B9.current=r8,d=H($,P)}while(Ya)}if(B9.current=ar,f=fe!==null&&fe.next!==null,Gr=0,Se=fe=_1=null,u8=!1,f)throw Error(r(300));return d}function i1(){var d=Co!==0;return Co=0,d}function K2(){var d={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Se===null?_1.memoizedState=Se=d:Se=Se.next=d,Se}function se(){if(fe===null){var d=_1.alternate;d=d!==null?d.memoizedState:null}else d=fe.next;var f=Se===null?_1.memoizedState:Se.next;if(f!==null)Se=f,fe=d;else{if(d===null)throw Error(r(310));fe=d,d={memoizedState:fe.memoizedState,baseState:fe.baseState,baseQueue:fe.baseQueue,queue:fe.queue,next:null},Se===null?_1.memoizedState=Se=d:Se=Se.next=d}return Se}function tr(d,f){return typeof f=="function"?f(d):f}function $4(d){var f=se(),H=f.queue;if(H===null)throw Error(r(311));H.lastRenderedReducer=d;var $=fe,P=$.baseQueue,T=H.pending;if(T!==null){if(P!==null){var U=P.next;P.next=T.next,T.next=U}$.baseQueue=P=T,H.pending=null}if(P!==null){T=P.next,$=$.baseState;var i0=U=null,p0=null,B0=T;do{var m1=B0.lane;if((Gr&m1)===m1)p0!==null&&(p0=p0.next={lane:0,action:B0.action,hasEagerState:B0.hasEagerState,eagerState:B0.eagerState,next:null}),$=B0.hasEagerState?B0.eagerState:d($,B0.action);else{var v1={lane:m1,action:B0.action,hasEagerState:B0.hasEagerState,eagerState:B0.eagerState,next:null};p0===null?(i0=p0=v1,U=$):p0=p0.next=v1,_1.lanes|=m1,c3|=m1}B0=B0.next}while(B0!==null&&B0!==T);p0===null?U=$:p0.next=i0,E4($,f.memoizedState)||(Aa=!0),f.memoizedState=$,f.baseState=U,f.baseQueue=p0,H.lastRenderedState=$}if(d=H.interleaved,d!==null){P=d;do T=P.lane,_1.lanes|=T,c3|=T,P=P.next;while(P!==d)}else P===null&&(H.lanes=0);return[f.memoizedState,H.dispatch]}function Yr(d){var f=se(),H=f.queue;if(H===null)throw Error(r(311));H.lastRenderedReducer=d;var $=H.dispatch,P=H.pending,T=f.memoizedState;if(P!==null){H.pending=null;var U=P=P.next;do T=d(T,U.action),U=U.next;while(U!==P);E4(T,f.memoizedState)||(Aa=!0),f.memoizedState=T,f.baseQueue===null&&(f.baseState=T),H.lastRenderedState=T}return[T,$]}function w4(){}function No(d,f){var H=_1,$=se(),P=f(),T=!E4($.memoizedState,P);if(T&&($.memoizedState=P,Aa=!0),$=$.queue,X5(q9.bind(null,H,$,d),[d]),$.getSnapshot!==f||T||Se!==null&&Se.memoizedState.tag&1){if(H.flags|=2048,n3(9,To.bind(null,H,$,P,f),void 0,null),L8===null)throw Error(r(349));Gr&30||r3(H,f,P)}return P}function r3(d,f,H){d.flags|=16384,d={getSnapshot:f,value:H},f=_1.updateQueue,f===null?(f={lastEffect:null,stores:null},_1.updateQueue=f,f.stores=[d]):(H=f.stores,H===null?f.stores=[d]:H.push(d))}function To(d,f,H,$){f.value=H,f.getSnapshot=$,W9(f)&&G9(d)}function q9(d,f,H){return H(function(){W9(f)&&G9(d)})}function W9(d){var f=d.getSnapshot;d=d.value;try{var H=f();return!E4(d,H)}catch{return!0}}function G9(d){var f=Wr(d,1);f!==null&&a4(f,d,1,-1)}function Y9(d){var f=K2();return typeof d=="function"&&(d=d()),f.memoizedState=f.baseState=d,d={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:tr,lastRenderedState:d},f.queue=d,d=d.dispatch=dy.bind(null,_1,d),[f.memoizedState,d]}function n3(d,f,H,$){return d={tag:d,create:f,destroy:H,deps:$,next:null},f=_1.updateQueue,f===null?(f={lastEffect:null,stores:null},_1.updateQueue=f,f.lastEffect=d.next=d):(H=f.lastEffect,H===null?f.lastEffect=d.next=d:($=H.next,H.next=d,d.next=$,f.lastEffect=d)),d}function Q9(){return se().memoizedState}function Io(d,f,H,$){var P=K2();_1.flags|=d,P.memoizedState=n3(1|f,H,void 0,$===void 0?null:$)}function Do(d,f,H,$){var P=se();$=$===void 0?null:$;var T=void 0;if(fe!==null){var U=fe.memoizedState;if(T=U.destroy,$!==null&&bp($,U.deps)){P.memoizedState=n3(f,H,T,$);return}}_1.flags|=d,P.memoizedState=n3(1|f,H,T,$)}function K9(d,f){return Io(8390656,8,d,f)}function X5(d,f){return Do(2048,8,d,f)}function X9(d,f){return Do(4,2,d,f)}function J9(d,f){return Do(4,4,d,f)}function es(d,f){if(typeof f=="function")return d=d(),f(d),function(){f(null)};if(f!=null)return d=d(),f.current=d,function(){f.current=null}}function ts(d,f,H){return H=H!=null?H.concat([d]):null,Do(4,4,es.bind(null,f,d),H)}function J5(){}function e7(d,f){var H=se();f=f===void 0?null:f;var $=H.memoizedState;return $!==null&&f!==null&&bp(f,$[1])?$[0]:(H.memoizedState=[d,f],d)}function l3(d,f){var H=se();f=f===void 0?null:f;var $=H.memoizedState;return $!==null&&f!==null&&bp(f,$[1])?$[0]:(d=d(),H.memoizedState=[d,f],d)}function as(d,f,H){return Gr&21?(E4(H,f)||(H=xa(),_1.lanes|=H,c3|=H,d.baseState=!0),f):(d.baseState&&(d.baseState=!1,Aa=!0),d.memoizedState=H)}function Hp(d,f){var H=a2;a2=H!==0&&4>H?H:4,d(!0);var $=yp.transition;yp.transition={};try{d(!1),f()}finally{a2=H,yp.transition=$}}function rs(){return se().memoizedState}function Ep(d,f,H){var $=L4(d);if(H={lane:$,action:H,hasEagerState:!1,eagerState:null,next:null},xo(d))Mp(f,H);else if(H=mt(d,f,H,$),H!==null){var P=Ht();a4(H,d,$,P),Ro(H,f,$)}}function dy(d,f,H){var $=L4(d),P={lane:$,action:H,hasEagerState:!1,eagerState:null,next:null};if(xo(d))Mp(f,P);else{var T=d.alternate;if(d.lanes===0&&(T===null||T.lanes===0)&&(T=f.lastRenderedReducer,T!==null))try{var U=f.lastRenderedState,i0=T(U,H);if(P.hasEagerState=!0,P.eagerState=i0,E4(i0,U)){var p0=f.interleaved;p0===null?(P.next=P,hp(f)):(P.next=p0.next,p0.next=P),f.interleaved=P;return}}catch{}finally{}H=mt(d,f,P,$),H!==null&&(P=Ht(),a4(H,d,$,P),Ro(H,f,$))}}function xo(d){var f=d.alternate;return d===_1||f!==null&&f===_1}function Mp(d,f){Ya=u8=!0;var H=d.pending;H===null?f.next=f:(f.next=H.next,H.next=f),d.pending=f}function Ro(d,f,H){if(H&4194240){var $=f.lanes;$&=d.pendingLanes,H|=$,f.lanes=H,b4(d,H)}}var ar={readContext:t4,useCallback:ra,useContext:ra,useEffect:ra,useImperativeHandle:ra,useInsertionEffect:ra,useLayoutEffect:ra,useMemo:ra,useReducer:ra,useRef:ra,useState:ra,useDebugValue:ra,useDeferredValue:ra,useTransition:ra,useMutableSource:ra,useSyncExternalStore:ra,useId:ra,unstable_isNewReconciler:!1},M6={readContext:t4,useCallback:function(d,f){return K2().memoizedState=[d,f===void 0?null:f],d},useContext:t4,useEffect:K9,useImperativeHandle:function(d,f,H){return H=H!=null?H.concat([d]):null,Io(4194308,4,es.bind(null,f,d),H)},useLayoutEffect:function(d,f){return Io(4194308,4,d,f)},useInsertionEffect:function(d,f){return Io(4,2,d,f)},useMemo:function(d,f){var H=K2();return f=f===void 0?null:f,d=d(),H.memoizedState=[d,f],d},useReducer:function(d,f,H){var $=K2();return f=H!==void 0?H(f):f,$.memoizedState=$.baseState=f,d={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:d,lastRenderedState:f},$.queue=d,d=d.dispatch=Ep.bind(null,_1,d),[$.memoizedState,d]},useRef:function(d){var f=K2();return d={current:d},f.memoizedState=d},useState:Y9,useDebugValue:J5,useDeferredValue:function(d){return K2().memoizedState=d},useTransition:function(){var d=Y9(!1),f=d[0];return d=Hp.bind(null,d[1]),K2().memoizedState=d,[f,d]},useMutableSource:function(){},useSyncExternalStore:function(d,f,H){var $=_1,P=K2();if(m8){if(H===void 0)throw Error(r(407));H=H()}else{if(H=f(),L8===null)throw Error(r(349));Gr&30||r3($,f,H)}P.memoizedState=H;var T={value:H,getSnapshot:f};return P.queue=T,K9(q9.bind(null,$,T,d),[d]),$.flags|=2048,n3(9,To.bind(null,$,T,H,f),void 0,null),H},useId:function(){var d=K2(),f=L8.identifierPrefix;if(m8){var H=Tt,$=Ga;H=($&~(1<<32-U2($)-1)).toString(32)+H,f=":"+f+"R"+H,H=Co++,0<H&&(f+="H"+H.toString(32)),f+=":"}else H=HF++,f=":"+f+"r"+H.toString(32)+":";return d.memoizedState=f},unstable_isNewReconciler:!1},EF={readContext:t4,useCallback:e7,useContext:t4,useEffect:X5,useImperativeHandle:ts,useInsertionEffect:X9,useLayoutEffect:J9,useMemo:l3,useReducer:$4,useRef:Q9,useState:function(){return $4(tr)},useDebugValue:J5,useDeferredValue:function(d){var f=se();return as(f,fe.memoizedState,d)},useTransition:function(){var d=$4(tr)[0],f=se().memoizedState;return[d,f]},useMutableSource:w4,useSyncExternalStore:No,useId:rs,unstable_isNewReconciler:!1},r8={readContext:t4,useCallback:e7,useContext:t4,useEffect:X5,useImperativeHandle:ts,useInsertionEffect:X9,useLayoutEffect:J9,useMemo:l3,useReducer:Yr,useRef:Q9,useState:function(){return Yr(tr)},useDebugValue:J5,useDeferredValue:function(d){var f=se();return fe===null?f.memoizedState=d:as(f,fe.memoizedState,d)},useTransition:function(){var d=Yr(tr)[0],f=se().memoizedState;return[d,f]},useMutableSource:w4,useSyncExternalStore:No,useId:rs,unstable_isNewReconciler:!1};function Qa(d,f){if(d&&d.defaultProps){f=B({},f),d=d.defaultProps;for(var H in d)f[H]===void 0&&(f[H]=d[H]);return f}return f}function zo(d,f,H,$){f=d.memoizedState,H=H($,f),H=H==null?f:B({},f,H),d.memoizedState=H,d.lanes===0&&(d.updateQueue.baseState=H)}var Xn={isMounted:function(d){return(d=d._reactInternals)?J0(d)===d:!1},enqueueSetState:function(d,f,H){d=d._reactInternals;var $=Ht(),P=L4(d),T=H6($,P);T.payload=f,H!=null&&(T.callback=H),f=E6(d,T,P),f!==null&&(a4(f,d,P,$),R9(f,d,P))},enqueueReplaceState:function(d,f,H){d=d._reactInternals;var $=Ht(),P=L4(d),T=H6($,P);T.tag=1,T.payload=f,H!=null&&(T.callback=H),f=E6(d,T,P),f!==null&&(a4(f,d,P,$),R9(f,d,P))},enqueueForceUpdate:function(d,f){d=d._reactInternals;var H=Ht(),$=L4(d),P=H6(H,$);P.tag=2,f!=null&&(P.callback=f),f=E6(d,P,$),f!==null&&(a4(f,d,$,H),R9(f,d,$))}};function t7(d,f,H,$,P,T,U){return d=d.stateNode,typeof d.shouldComponentUpdate=="function"?d.shouldComponentUpdate($,T,U):f.prototype&&f.prototype.isPureReactComponent?!Oo(H,$)||!Oo(P,T):!0}function py(d,f,H){var $=!1,P=Q6,T=f.contextType;return typeof T=="object"&&T!==null?T=t4(T):(P=X8(f)?ga:Zt.current,$=f.contextTypes,T=($=$!=null)?A6(d,P):Q6),f=new f(H,T),d.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Xn,d.stateNode=f,f._reactInternals=d,$&&(d=d.stateNode,d.__reactInternalMemoizedUnmaskedChildContext=P,d.__reactInternalMemoizedMaskedChildContext=T),f}function hy(d,f,H,$){d=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(H,$),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(H,$),f.state!==d&&Xn.enqueueReplaceState(f,f.state,null)}function Vp(d,f,H,$){var P=d.stateNode;P.props=H,P.state=d.memoizedState,P.refs={},fp(d);var T=f.contextType;typeof T=="object"&&T!==null?P.context=t4(T):(T=X8(f)?ga:Zt.current,P.context=A6(d,T)),P.state=d.memoizedState,T=f.getDerivedStateFromProps,typeof T=="function"&&(zo(d,f,T,H),P.state=d.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof P.getSnapshotBeforeUpdate=="function"||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(f=P.state,typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount(),f!==P.state&&Xn.enqueueReplaceState(P,P.state,null),z9(d,H,P,$),P.state=d.memoizedState),typeof P.componentDidMount=="function"&&(d.flags|=4194308)}function Uo(d,f){try{var H="",$=f;do H+=S0($),$=$.return;while($);var P=H}catch(T){P=`
93
93
  Error generating stack: `+T.message+`
94
- `+T.stack}return{value:d,source:f,stack:P,digest:null}}function a7(d,f,H){return{value:d,source:null,stack:H??null,digest:f??null}}function Op(d,f){try{console.error(f.value)}catch(H){setTimeout(function(){throw H})}}var $p=typeof WeakMap=="function"?WeakMap:Map;function wp(d,f,H){H=H6(-1,H),H.tag=3,H.payload={element:null};var $=f.value;return H.callback=function(){ss||(ss=!0,xp=$),Op(d,f)},H}function fy(d,f,H){H=H6(-1,H),H.tag=3;var $=d.type.getDerivedStateFromError;if(typeof $=="function"){var P=f.value;H.payload=function(){return $(P)},H.callback=function(){Op(d,f)}}var T=d.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(H.callback=function(){Op(d,f),typeof $!="function"&&(al===null?al=new Set([this]):al.add(this));var U=f.stack;this.componentDidCatch(f.value,{componentStack:U!==null?U:""})}),H}function vy(d,f,H){var $=d.pingCache;if($===null){$=d.pingCache=new $p;var P=new Set;$.set(f,P)}else P=$.get(f),P===void 0&&(P=new Set,$.set(f,P));P.has(H)||(P.add(H),d=jF.bind(null,d,f,H),f.then(d,d))}function r7(d){do{var f;if((f=d.tag===13)&&(f=d.memoizedState,f=f!==null?f.dehydrated!==null:!0),f)return d;d=d.return}while(d!==null);return null}function gy(d,f,H,$,P){return d.mode&1?(d.flags|=65536,d.lanes=P,d):(d===f?d.flags|=65536:(d.flags|=128,H.flags|=131072,H.flags&=-52805,H.tag===1&&(H.alternate===null?H.tag=17:(f=H6(-1,1),f.tag=2,E6(H,f,1))),H.lanes|=1),d)}var Ay=N.ReactCurrentOwner,Aa=!1;function Za(d,f,H,$){f.child=d===null?cy(f,null,H,$):Qn(f,d.child,H,$)}function Jn(d,f,H,$,P){H=H.render;var T=f.ref;return jo(f,P),$=K5(d,f,H,$,T,P),H=i1(),d!==null&&!Aa?(f.updateQueue=d.updateQueue,f.flags&=-2053,d.lanes&=~P,rr(d,f,P)):(m8&&H&&N9(f),f.flags|=1,Za(d,f,$,P),f.child)}function Bo(d,f,H,$,P){if(d===null){var T=H.type;return typeof T=="function"&&!Bp(T)&&T.defaultProps===void 0&&H.compare===null&&H.defaultProps===void 0?(f.tag=15,f.type=T,el(d,f,T,$,P)):(d=us(H.type,null,$,f,f.mode,P),d.ref=f.ref,d.return=f,f.child=d)}if(T=d.child,!(d.lanes&P)){var U=T.memoizedProps;if(H=H.compare,H=H!==null?H:Oo,H(U,$)&&d.ref===f.ref)return rr(d,f,P)}return f.flags|=1,d=ol(T,$),d.ref=f.ref,d.return=f,f.child=d}function el(d,f,H,$,P){if(d!==null){var T=d.memoizedProps;if(Oo(T,$)&&d.ref===f.ref)if(Aa=!1,f.pendingProps=$=T,(d.lanes&P)!==0)d.flags&131072&&(Aa=!0);else return f.lanes=d.lanes,rr(d,f,P)}return tl(d,f,H,$,P)}function ns(d,f,H){var $=f.pendingProps,P=$.children,T=d!==null?d.memoizedState:null;if($.mode==="hidden")if(!(f.mode&1))f.memoizedState={baseLanes:0,cachePool:null,transitions:null},M2(i3,Ea),Ea|=H;else{if(!(H&1073741824))return d=T!==null?T.baseLanes|H:H,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:d,cachePool:null,transitions:null},f.updateQueue=null,M2(i3,Ea),Ea|=d,null;f.memoizedState={baseLanes:0,cachePool:null,transitions:null},$=T!==null?T.baseLanes:H,M2(i3,Ea),Ea|=$}else T!==null?($=T.baseLanes|H,f.memoizedState=null):$=H,M2(i3,Ea),Ea|=$;return Za(d,f,P,H),f.child}function Ka(d,f){var H=f.ref;(d===null&&H!==null||d!==null&&d.ref!==H)&&(f.flags|=512,f.flags|=2097152)}function tl(d,f,H,$,P){var T=X8(H)?ga:Zt.current;return T=A6(f,T),jo(f,P),H=K5(d,f,H,$,T,P),$=i1(),d!==null&&!Aa?(f.updateQueue=d.updateQueue,f.flags&=-2053,d.lanes&=~P,rr(d,f,P)):(m8&&$&&N9(f),f.flags|=1,Za(d,f,H,P),f.child)}function xe(d,f,H,$,P){if(X8(H)){var T=!0;Xl(f)}else T=!1;if(jo(f,P),f.stateNode===null)o7(d,f),py(f,H,$),Vp(f,H,$,P),$=!0;else if(d===null){var U=f.stateNode,i0=f.memoizedProps;U.props=i0;var p0=U.context,B0=H.contextType;typeof B0=="object"&&B0!==null?B0=t4(B0):(B0=X8(H)?ga:Zt.current,B0=A6(f,B0));var m1=H.getDerivedStateFromProps,v1=typeof m1=="function"||typeof U.getSnapshotBeforeUpdate=="function";v1||typeof U.UNSAFE_componentWillReceiveProps!="function"&&typeof U.componentWillReceiveProps!="function"||(i0!==$||p0!==B0)&&hy(f,U,$,B0),Kn=!1;var s1=f.memoizedState;U.state=s1,z9(f,$,U,P),p0=f.memoizedState,i0!==$||s1!==p0||ke.current||Kn?(typeof m1=="function"&&(zo(f,H,m1,$),p0=f.memoizedState),(i0=Kn||t7(f,H,i0,$,s1,p0,B0))?(v1||typeof U.UNSAFE_componentWillMount!="function"&&typeof U.componentWillMount!="function"||(typeof U.componentWillMount=="function"&&U.componentWillMount(),typeof U.UNSAFE_componentWillMount=="function"&&U.UNSAFE_componentWillMount()),typeof U.componentDidMount=="function"&&(f.flags|=4194308)):(typeof U.componentDidMount=="function"&&(f.flags|=4194308),f.memoizedProps=$,f.memoizedState=p0),U.props=$,U.state=p0,U.context=B0,$=i0):(typeof U.componentDidMount=="function"&&(f.flags|=4194308),$=!1)}else{U=f.stateNode,vp(d,f),i0=f.memoizedProps,B0=f.type===f.elementType?i0:Qa(f.type,i0),U.props=B0,v1=f.pendingProps,s1=U.context,p0=H.contextType,typeof p0=="object"&&p0!==null?p0=t4(p0):(p0=X8(H)?ga:Zt.current,p0=A6(f,p0));var x1=H.getDerivedStateFromProps;(m1=typeof x1=="function"||typeof U.getSnapshotBeforeUpdate=="function")||typeof U.UNSAFE_componentWillReceiveProps!="function"&&typeof U.componentWillReceiveProps!="function"||(i0!==v1||s1!==p0)&&hy(f,U,$,p0),Kn=!1,s1=f.memoizedState,U.state=s1,z9(f,$,U,P);var X1=f.memoizedState;i0!==v1||s1!==X1||ke.current||Kn?(typeof x1=="function"&&(zo(f,H,x1,$),X1=f.memoizedState),(B0=Kn||t7(f,H,B0,$,s1,X1,p0)||!1)?(m1||typeof U.UNSAFE_componentWillUpdate!="function"&&typeof U.componentWillUpdate!="function"||(typeof U.componentWillUpdate=="function"&&U.componentWillUpdate($,X1,p0),typeof U.UNSAFE_componentWillUpdate=="function"&&U.UNSAFE_componentWillUpdate($,X1,p0)),typeof U.componentDidUpdate=="function"&&(f.flags|=4),typeof U.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof U.componentDidUpdate!="function"||i0===d.memoizedProps&&s1===d.memoizedState||(f.flags|=4),typeof U.getSnapshotBeforeUpdate!="function"||i0===d.memoizedProps&&s1===d.memoizedState||(f.flags|=1024),f.memoizedProps=$,f.memoizedState=X1),U.props=$,U.state=X1,U.context=p0,$=B0):(typeof U.componentDidUpdate!="function"||i0===d.memoizedProps&&s1===d.memoizedState||(f.flags|=4),typeof U.getSnapshotBeforeUpdate!="function"||i0===d.memoizedProps&&s1===d.memoizedState||(f.flags|=1024),$=!1)}return qo(d,f,H,$,T,P)}function qo(d,f,H,$,P,T){Ka(d,f);var U=(f.flags&128)!==0;if(!$&&!U)return P&&ny(f,H,!1),rr(d,f,T);$=f.stateNode,Ay.current=f;var i0=U&&typeof H.getDerivedStateFromError!="function"?null:$.render();return f.flags|=1,d!==null&&U?(f.child=Qn(f,d.child,null,T),f.child=Qn(f,null,i0,T)):Za(d,f,i0,T),f.memoizedState=$.state,P&&ny(f,H,!0),f.child}function Sp(d){var f=d.stateNode;f.pendingContext?X4(d,f.pendingContext,f.pendingContext!==f.context):f.context&&X4(d,f.context,!1),gp(d,f.containerInfo)}function MF(d,f,H,$,P){return Lo(),J8(P),f.flags|=256,Za(d,f,H,$),f.child}var Lp={dehydrated:null,treeContext:null,retryLane:0};function n7(d){return{baseLanes:d,cachePool:null,transitions:null}}function Wo(d,f,H){var $=f.pendingProps,P=E8.current,T=!1,U=(f.flags&128)!==0,i0;if((i0=U)||(i0=d!==null&&d.memoizedState===null?!1:(P&2)!==0),i0?(T=!0,f.flags&=-129):(d===null||d.memoizedState!==null)&&(P|=1),M2(E8,P&1),d===null)return I9(f),d=f.memoizedState,d!==null&&(d=d.dehydrated,d!==null)?(f.mode&1?d.data==="$!"?f.lanes=8:f.lanes=1073741824:f.lanes=1,null):(U=$.children,d=$.fallback,T?($=f.mode,T=f.child,U={mode:"hidden",children:U},!($&1)&&T!==null?(T.childLanes=0,T.pendingProps=U):T=ds(U,$,0,null),d=f3(d,$,H,null),T.return=f,d.return=f,T.sibling=d,f.child=T,f.child.memoizedState=n7(H),f.memoizedState=Lp,d):Fp(f,U));if(P=d.memoizedState,P!==null&&(i0=P.dehydrated,i0!==null))return VF(d,f,U,$,i0,P,H);if(T){T=$.fallback,U=f.mode,P=d.child,i0=P.sibling;var p0={mode:"hidden",children:$.children};return!(U&1)&&f.child!==P?($=f.child,$.childLanes=0,$.pendingProps=p0,f.deletions=null):($=ol(P,p0),$.subtreeFlags=P.subtreeFlags&14680064),i0!==null?T=ol(i0,T):(T=f3(T,U,H,null),T.flags|=2),T.return=f,$.return=f,$.sibling=T,f.child=$,$=T,T=f.child,U=d.child.memoizedState,U=U===null?n7(H):{baseLanes:U.baseLanes|H,cachePool:null,transitions:U.transitions},T.memoizedState=U,T.childLanes=d.childLanes&~H,f.memoizedState=Lp,$}return T=d.child,d=T.sibling,$=ol(T,{mode:"visible",children:$.children}),!(f.mode&1)&&($.lanes=H),$.return=f,$.sibling=null,d!==null&&(H=f.deletions,H===null?(f.deletions=[d],f.flags|=16):H.push(d)),f.child=$,f.memoizedState=null,$}function Fp(d,f){return f=ds({mode:"visible",children:f},d.mode,0,null),f.return=d,d.child=f}function l7(d,f,H,$){return $!==null&&J8($),Qn(f,d.child,null,H),d=Fp(f,f.pendingProps.children),d.flags|=2,f.memoizedState=null,d}function VF(d,f,H,$,P,T,U){if(H)return f.flags&256?(f.flags&=-257,$=a7(Error(r(422))),l7(d,f,U,$)):f.memoizedState!==null?(f.child=d.child,f.flags|=128,null):(T=$.fallback,P=f.mode,$=ds({mode:"visible",children:$.children},P,0,null),T=f3(T,P,U,null),T.flags|=2,$.return=f,T.return=f,$.sibling=T,f.child=$,f.mode&1&&Qn(f,d.child,null,U),f.child.memoizedState=n7(U),f.memoizedState=Lp,T);if(!(f.mode&1))return l7(d,f,U,null);if(P.data==="$!"){if($=P.nextSibling&&P.nextSibling.dataset,$)var i0=$.dgst;return $=i0,T=Error(r(419)),$=a7(T,$,void 0),l7(d,f,U,$)}if(i0=(U&d.childLanes)!==0,Aa||i0){if($=L8,$!==null){switch(U&-U){case 4:P=2;break;case 16:P=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:P=32;break;case 536870912:P=268435456;break;default:P=0}P=P&($.suspendedLanes|U)?0:P,P!==0&&P!==T.retryLane&&(T.retryLane=P,Wr(d,P),a4($,d,P,-1))}return zp(),$=a7(Error(r(421))),l7(d,f,U,$)}return P.data==="$?"?(f.flags|=128,f.child=d.child,f=PF.bind(null,d),P._reactRetry=f,null):(d=T.treeContext,y6=g6(P.nextSibling),Z6=f,m8=!0,J6=null,d!==null&&(qa[Wa++]=Ga,qa[Wa++]=Tt,qa[Wa++]=O4,Ga=d.id,Tt=d.overflow,O4=f),f=Fp(f,$.children),f.flags|=4096,f)}function ls(d,f,H){d.lanes|=f;var $=d.alternate;$!==null&&($.lanes|=f),pp(d.return,f,H)}function jp(d,f,H,$,P){var T=d.memoizedState;T===null?d.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:$,tail:H,tailMode:P}:(T.isBackwards=f,T.rendering=null,T.renderingStartTime=0,T.last=$,T.tail=H,T.tailMode=P)}function Pp(d,f,H){var $=f.pendingProps,P=$.revealOrder,T=$.tail;if(Za(d,f,$.children,H),$=E8.current,$&2)$=$&1|2,f.flags|=128;else{if(d!==null&&d.flags&128)e:for(d=f.child;d!==null;){if(d.tag===13)d.memoizedState!==null&&ls(d,H,f);else if(d.tag===19)ls(d,H,f);else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===f)break e;for(;d.sibling===null;){if(d.return===null||d.return===f)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}$&=1}if(M2(E8,$),!(f.mode&1))f.memoizedState=null;else switch(P){case"forwards":for(H=f.child,P=null;H!==null;)d=H.alternate,d!==null&&Q5(d)===null&&(P=H),H=H.sibling;H=P,H===null?(P=f.child,f.child=null):(P=H.sibling,H.sibling=null),jp(f,!1,P,H,T);break;case"backwards":for(H=null,P=f.child,f.child=null;P!==null;){if(d=P.alternate,d!==null&&Q5(d)===null){f.child=P;break}d=P.sibling,P.sibling=H,H=P,P=d}jp(f,!0,H,null,T);break;case"together":jp(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function o7(d,f){!(f.mode&1)&&d!==null&&(d.alternate=null,f.alternate=null,f.flags|=2)}function rr(d,f,H){if(d!==null&&(f.dependencies=d.dependencies),c3|=f.lanes,!(H&f.childLanes))return null;if(d!==null&&f.child!==d.child)throw Error(r(153));if(f.child!==null){for(d=f.child,H=ol(d,d.pendingProps),f.child=H,H.return=f;d.sibling!==null;)d=d.sibling,H=H.sibling=ol(d,d.pendingProps),H.return=f;H.sibling=null}return f.child}function V6(d,f,H){switch(f.tag){case 3:Sp(f),Lo();break;case 5:uy(f);break;case 1:X8(f.type)&&Xl(f);break;case 4:gp(f,f.stateNode.containerInfo);break;case 10:var $=f.type._context,P=f.memoizedProps.value;M2(x9,$._currentValue),$._currentValue=P;break;case 13:if($=f.memoizedState,$!==null)return $.dehydrated!==null?(M2(E8,E8.current&1),f.flags|=128,null):H&f.child.childLanes?Wo(d,f,H):(M2(E8,E8.current&1),d=rr(d,f,H),d!==null?d.sibling:null);M2(E8,E8.current&1);break;case 19:if($=(H&f.childLanes)!==0,d.flags&128){if($)return Pp(d,f,H);f.flags|=128}if(P=f.memoizedState,P!==null&&(P.rendering=null,P.tail=null,P.lastEffect=null),M2(E8,E8.current),$)break;return null;case 22:case 23:return f.lanes=0,ns(d,f,H)}return rr(d,f,H)}var nr,S4,i7,Go;nr=function(d,f){for(var H=f.child;H!==null;){if(H.tag===5||H.tag===6)d.appendChild(H.stateNode);else if(H.tag!==4&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===f)break;for(;H.sibling===null;){if(H.return===null||H.return===f)return;H=H.return}H.sibling.return=H.return,H=H.sibling}},S4=function(){},i7=function(d,f,H,$){var P=d.memoizedProps;if(P!==$){d=f.stateNode,a3(er.current);var T=null;switch(H){case"input":P=x0(d,P),$=x0(d,$),T=[];break;case"select":P=B({},P,{value:void 0}),$=B({},$,{value:void 0}),T=[];break;case"textarea":P=$0(d,P),$=$0(d,$),T=[];break;default:typeof P.onClick!="function"&&typeof $.onClick=="function"&&(d.onclick=k9)}je(H,$);var U;H=null;for(B0 in P)if(!$.hasOwnProperty(B0)&&P.hasOwnProperty(B0)&&P[B0]!=null)if(B0==="style"){var i0=P[B0];for(U in i0)i0.hasOwnProperty(U)&&(H||(H={}),H[U]="")}else B0!=="dangerouslySetInnerHTML"&&B0!=="children"&&B0!=="suppressContentEditableWarning"&&B0!=="suppressHydrationWarning"&&B0!=="autoFocus"&&(l.hasOwnProperty(B0)?T||(T=[]):(T=T||[]).push(B0,null));for(B0 in $){var p0=$[B0];if(i0=P!=null?P[B0]:void 0,$.hasOwnProperty(B0)&&p0!==i0&&(p0!=null||i0!=null))if(B0==="style")if(i0){for(U in i0)!i0.hasOwnProperty(U)||p0&&p0.hasOwnProperty(U)||(H||(H={}),H[U]="");for(U in p0)p0.hasOwnProperty(U)&&i0[U]!==p0[U]&&(H||(H={}),H[U]=p0[U])}else H||(T||(T=[]),T.push(B0,H)),H=p0;else B0==="dangerouslySetInnerHTML"?(p0=p0?p0.__html:void 0,i0=i0?i0.__html:void 0,p0!=null&&i0!==p0&&(T=T||[]).push(B0,p0)):B0==="children"?typeof p0!="string"&&typeof p0!="number"||(T=T||[]).push(B0,""+p0):B0!=="suppressContentEditableWarning"&&B0!=="suppressHydrationWarning"&&(l.hasOwnProperty(B0)?(p0!=null&&B0==="onScroll"&&Y2("scroll",d),T||i0===p0||(T=[])):(T=T||[]).push(B0,p0))}H&&(T=T||[]).push("style",H);var B0=T;(f.updateQueue=B0)&&(f.flags|=4)}},Go=function(d,f,H,$){H!==$&&(f.flags|=4)};function ya(d,f){if(!m8)switch(d.tailMode){case"hidden":f=d.tail;for(var H=null;f!==null;)f.alternate!==null&&(H=f),f=f.sibling;H===null?d.tail=null:H.sibling=null;break;case"collapsed":H=d.tail;for(var $=null;H!==null;)H.alternate!==null&&($=H),H=H.sibling;$===null?f||d.tail===null?d.tail=null:d.tail.sibling=null:$.sibling=null}}function y2(d){var f=d.alternate!==null&&d.alternate.child===d.child,H=0,$=0;if(f)for(var P=d.child;P!==null;)H|=P.lanes|P.childLanes,$|=P.subtreeFlags&14680064,$|=P.flags&14680064,P.return=d,P=P.sibling;else for(P=d.child;P!==null;)H|=P.lanes|P.childLanes,$|=P.subtreeFlags,$|=P.flags,P.return=d,P=P.sibling;return d.subtreeFlags|=$,d.childLanes=H,f}function OF(d,f,H){var $=f.pendingProps;switch(T9(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return y2(f),null;case 1:return X8(f.type)&&Ba(),y2(f),null;case 3:return $=f.stateNode,_o(),le(ke),le(Zt),U9(),$.pendingContext&&($.context=$.pendingContext,$.pendingContext=null),(d===null||d.child===null)&&(D9(f)?f.flags|=4:d===null||d.memoizedState.isDehydrated&&!(f.flags&256)||(f.flags|=1024,J6!==null&&(u3(J6),J6=null))),S4(d,f),y2(f),null;case 5:Ap(f);var P=a3(ko.current);if(H=f.type,d!==null&&f.stateNode!=null)i7(d,f,H,$,P),d.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!$){if(f.stateNode===null)throw Error(r(166));return y2(f),null}if(d=a3(er.current),D9(f)){$=f.stateNode,H=f.type;var T=f.memoizedProps;switch($[Y6]=f,$[G5]=T,d=(f.mode&1)!==0,H){case"dialog":Y2("cancel",$),Y2("close",$);break;case"iframe":case"object":case"embed":Y2("load",$);break;case"video":case"audio":for(P=0;P<xr.length;P++)Y2(xr[P],$);break;case"source":Y2("error",$);break;case"img":case"image":case"link":Y2("error",$),Y2("load",$);break;case"details":Y2("toggle",$);break;case"input":k0($,T),Y2("invalid",$);break;case"select":$._wrapperState={wasMultiple:!!T.multiple},Y2("invalid",$);break;case"textarea":N0($,T),Y2("invalid",$)}je(H,T),P=null;for(var U in T)if(T.hasOwnProperty(U)){var i0=T[U];U==="children"?typeof i0=="string"?$.textContent!==i0&&(T.suppressHydrationWarning!==!0&&U5($.textContent,i0,d),P=["children",i0]):typeof i0=="number"&&$.textContent!==""+i0&&(T.suppressHydrationWarning!==!0&&U5($.textContent,i0,d),P=["children",""+i0]):l.hasOwnProperty(U)&&i0!=null&&U==="onScroll"&&Y2("scroll",$)}switch(H){case"input":Z0($),A1($,T,!0);break;case"textarea":Z0($),Q0($);break;case"select":case"option":break;default:typeof T.onClick=="function"&&($.onclick=k9)}$=P,f.updateQueue=$,$!==null&&(f.flags|=4)}else{U=P.nodeType===9?P:P.ownerDocument,d==="http://www.w3.org/1999/xhtml"&&(d=w1(H)),d==="http://www.w3.org/1999/xhtml"?H==="script"?(d=U.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild)):typeof $.is=="string"?d=U.createElement(H,{is:$.is}):(d=U.createElement(H),H==="select"&&(U=d,$.multiple?U.multiple=!0:$.size&&(U.size=$.size))):d=U.createElementNS(d,H),d[Y6]=f,d[G5]=$,nr(d,f,!1,!1),f.stateNode=d;e:{switch(U=Z2(H,$),H){case"dialog":Y2("cancel",d),Y2("close",d),P=$;break;case"iframe":case"object":case"embed":Y2("load",d),P=$;break;case"video":case"audio":for(P=0;P<xr.length;P++)Y2(xr[P],d);P=$;break;case"source":Y2("error",d),P=$;break;case"img":case"image":case"link":Y2("error",d),Y2("load",d),P=$;break;case"details":Y2("toggle",d),P=$;break;case"input":k0(d,$),P=x0(d,$),Y2("invalid",d);break;case"option":P=$;break;case"select":d._wrapperState={wasMultiple:!!$.multiple},P=B({},$,{value:void 0}),Y2("invalid",d);break;case"textarea":N0(d,$),P=$0(d,$),Y2("invalid",d);break;default:P=$}je(H,P),i0=P;for(T in i0)if(i0.hasOwnProperty(T)){var p0=i0[T];T==="style"?de(d,p0):T==="dangerouslySetInnerHTML"?(p0=p0?p0.__html:void 0,p0!=null&&K1(d,p0)):T==="children"?typeof p0=="string"?(H!=="textarea"||p0!=="")&&Ie(d,p0):typeof p0=="number"&&Ie(d,""+p0):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(l.hasOwnProperty(T)?p0!=null&&T==="onScroll"&&Y2("scroll",d):p0!=null&&k(d,T,p0,U))}switch(H){case"input":Z0(d),A1(d,$,!1);break;case"textarea":Z0(d),Q0(d);break;case"option":$.value!=null&&d.setAttribute("value",""+X($.value));break;case"select":d.multiple=!!$.multiple,T=$.value,T!=null?u1(d,!!$.multiple,T,!1):$.defaultValue!=null&&u1(d,!!$.multiple,$.defaultValue,!0);break;default:typeof P.onClick=="function"&&(d.onclick=k9)}switch(H){case"button":case"input":case"select":case"textarea":$=!!$.autoFocus;break e;case"img":$=!0;break e;default:$=!1}}$&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return y2(f),null;case 6:if(d&&f.stateNode!=null)Go(d,f,d.memoizedProps,$);else{if(typeof $!="string"&&f.stateNode===null)throw Error(r(166));if(H=a3(ko.current),a3(er.current),D9(f)){if($=f.stateNode,H=f.memoizedProps,$[Y6]=f,(T=$.nodeValue!==H)&&(d=Z6,d!==null))switch(d.tag){case 3:U5($.nodeValue,H,(d.mode&1)!==0);break;case 5:d.memoizedProps.suppressHydrationWarning!==!0&&U5($.nodeValue,H,(d.mode&1)!==0)}T&&(f.flags|=4)}else $=(H.nodeType===9?H:H.ownerDocument).createTextNode($),$[Y6]=f,f.stateNode=$}return y2(f),null;case 13:if(le(E8),$=f.memoizedState,d===null||d.memoizedState!==null&&d.memoizedState.dehydrated!==null){if(m8&&y6!==null&&f.mode&1&&!(f.flags&128))oy(),Lo(),f.flags|=98560,T=!1;else if(T=D9(f),$!==null&&$.dehydrated!==null){if(d===null){if(!T)throw Error(r(318));if(T=f.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(r(317));T[Y6]=f}else Lo(),!(f.flags&128)&&(f.memoizedState=null),f.flags|=4;y2(f),T=!1}else J6!==null&&(u3(J6),J6=null),T=!0;if(!T)return f.flags&65536?f:null}return f.flags&128?(f.lanes=H,f):($=$!==null,$!==(d!==null&&d.memoizedState!==null)&&$&&(f.child.flags|=8192,f.mode&1&&(d===null||E8.current&1?mt===0&&(mt=3):zp())),f.updateQueue!==null&&(f.flags|=4),y2(f),null);case 4:return _o(),S4(d,f),d===null&&Q4(f.stateNode.containerInfo),y2(f),null;case 10:return b6(f.type._context),y2(f),null;case 17:return X8(f.type)&&Ba(),y2(f),null;case 19:if(le(E8),T=f.memoizedState,T===null)return y2(f),null;if($=(f.flags&128)!==0,U=T.rendering,U===null)if($)ya(T,!1);else{if(mt!==0||d!==null&&d.flags&128)for(d=f.child;d!==null;){if(U=Q5(d),U!==null){for(f.flags|=128,ya(T,!1),$=U.updateQueue,$!==null&&(f.updateQueue=$,f.flags|=4),f.subtreeFlags=0,$=H,H=f.child;H!==null;)T=H,d=$,T.flags&=14680066,U=T.alternate,U===null?(T.childLanes=0,T.lanes=d,T.child=null,T.subtreeFlags=0,T.memoizedProps=null,T.memoizedState=null,T.updateQueue=null,T.dependencies=null,T.stateNode=null):(T.childLanes=U.childLanes,T.lanes=U.lanes,T.child=U.child,T.subtreeFlags=0,T.deletions=null,T.memoizedProps=U.memoizedProps,T.memoizedState=U.memoizedState,T.updateQueue=U.updateQueue,T.type=U.type,d=U.dependencies,T.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext}),H=H.sibling;return M2(E8,E8.current&1|2),f.child}d=d.sibling}T.tail!==null&&R1()>s3&&(f.flags|=128,$=!0,ya(T,!1),f.lanes=4194304)}else{if(!$)if(d=Q5(U),d!==null){if(f.flags|=128,$=!0,H=d.updateQueue,H!==null&&(f.updateQueue=H,f.flags|=4),ya(T,!0),T.tail===null&&T.tailMode==="hidden"&&!U.alternate&&!m8)return y2(f),null}else 2*R1()-T.renderingStartTime>s3&&H!==1073741824&&(f.flags|=128,$=!0,ya(T,!1),f.lanes=4194304);T.isBackwards?(U.sibling=f.child,f.child=U):(H=T.last,H!==null?H.sibling=U:f.child=U,T.last=U)}return T.tail!==null?(f=T.tail,T.rendering=f,T.tail=f.sibling,T.renderingStartTime=R1(),f.sibling=null,H=E8.current,M2(E8,$?H&1|2:H&1),f):(y2(f),null);case 22:case 23:return Xo(),$=f.memoizedState!==null,d!==null&&d.memoizedState!==null!==$&&(f.flags|=8192),$&&f.mode&1?Ea&1073741824&&(y2(f),f.subtreeFlags&6&&(f.flags|=8192)):y2(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}function $F(d,f){switch(T9(f),f.tag){case 1:return X8(f.type)&&Ba(),d=f.flags,d&65536?(f.flags=d&-65537|128,f):null;case 3:return _o(),le(ke),le(Zt),U9(),d=f.flags,d&65536&&!(d&128)?(f.flags=d&-65537|128,f):null;case 5:return Ap(f),null;case 13:if(le(E8),d=f.memoizedState,d!==null&&d.dehydrated!==null){if(f.alternate===null)throw Error(r(340));Lo()}return d=f.flags,d&65536?(f.flags=d&-65537|128,f):null;case 19:return le(E8),null;case 4:return _o(),null;case 10:return b6(f.type._context),null;case 22:case 23:return Xo(),null;case 24:return null;default:return null}}var os=!1,yt=!1,Zy=typeof WeakSet=="function"?WeakSet:Set,B1=null;function o3(d,f){var H=d.ref;if(H!==null)if(typeof H=="function")try{H(null)}catch($){j8(d,f,$)}else H.current=null}function kp(d,f,H){try{H()}catch($){j8(d,f,$)}}var yy=!1;function _p(d,f){if(rp=H0,d=qZ(),T5(d)){if("selectionStart"in d)var H={start:d.selectionStart,end:d.selectionEnd};else e:{H=(H=d.ownerDocument)&&H.defaultView||window;var $=H.getSelection&&H.getSelection();if($&&$.rangeCount!==0){H=$.anchorNode;var P=$.anchorOffset,T=$.focusNode;$=$.focusOffset;try{H.nodeType,T.nodeType}catch{H=null;break e}var U=0,i0=-1,p0=-1,B0=0,m1=0,v1=d,s1=null;t:for(;;){for(var x1;v1!==H||P!==0&&v1.nodeType!==3||(i0=U+P),v1!==T||$!==0&&v1.nodeType!==3||(p0=U+$),v1.nodeType===3&&(U+=v1.nodeValue.length),(x1=v1.firstChild)!==null;)s1=v1,v1=x1;for(;;){if(v1===d)break t;if(s1===H&&++B0===P&&(i0=U),s1===T&&++m1===$&&(p0=U),(x1=v1.nextSibling)!==null)break;v1=s1,s1=v1.parentNode}v1=x1}H=i0===-1||p0===-1?null:{start:i0,end:p0}}else H=null}H=H||{start:0,end:0}}else H=null;for(np={focusedElem:d,selectionRange:H},H0=!1,B1=f;B1!==null;)if(f=B1,d=f.child,(f.subtreeFlags&1028)!==0&&d!==null)d.return=f,B1=d;else for(;B1!==null;){f=B1;try{var X1=f.alternate;if(f.flags&1024)switch(f.tag){case 0:case 11:case 15:break;case 1:if(X1!==null){var re=X1.memoizedProps,D8=X1.memoizedState,P0=f.stateNode,E0=P0.getSnapshotBeforeUpdate(f.elementType===f.type?re:Qa(f.type,re),D8);P0.__reactInternalSnapshotBeforeUpdate=E0}break;case 3:var D0=f.stateNode.containerInfo;D0.nodeType===1?D0.textContent="":D0.nodeType===9&&D0.documentElement&&D0.removeChild(D0.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(M1){j8(f,f.return,M1)}if(d=f.sibling,d!==null){d.return=f.return,B1=d;break}B1=f.return}return X1=yy,yy=!1,X1}function c7(d,f,H){var $=f.updateQueue;if($=$!==null?$.lastEffect:null,$!==null){var P=$=$.next;do{if((P.tag&d)===d){var T=P.destroy;P.destroy=void 0,T!==void 0&&kp(f,H,T)}P=P.next}while(P!==$)}}function s7(d,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var H=f=f.next;do{if((H.tag&d)===d){var $=H.create;H.destroy=$()}H=H.next}while(H!==f)}}function Cp(d){var f=d.ref;if(f!==null){var H=d.stateNode;switch(d.tag){case 5:d=H;break;default:d=H}typeof f=="function"?f(d):f.current=d}}function Np(d){var f=d.alternate;f!==null&&(d.alternate=null,Np(f)),d.child=null,d.deletions=null,d.sibling=null,d.tag===5&&(f=d.stateNode,f!==null&&(delete f[Y6],delete f[G5],delete f[cp],delete f[ZF],delete f[yF])),d.stateNode=null,d.return=null,d.dependencies=null,d.memoizedProps=null,d.memoizedState=null,d.pendingProps=null,d.stateNode=null,d.updateQueue=null}function by(d){return d.tag===5||d.tag===3||d.tag===4}function Tp(d){e:for(;;){for(;d.sibling===null;){if(d.return===null||by(d.return))return null;d=d.return}for(d.sibling.return=d.return,d=d.sibling;d.tag!==5&&d.tag!==6&&d.tag!==18;){if(d.flags&2||d.child===null||d.tag===4)continue e;d.child.return=d,d=d.child}if(!(d.flags&2))return d.stateNode}}function Ip(d,f,H){var $=d.tag;if($===5||$===6)d=d.stateNode,f?H.nodeType===8?H.parentNode.insertBefore(d,f):H.insertBefore(d,f):(H.nodeType===8?(f=H.parentNode,f.insertBefore(d,H)):(f=H,f.appendChild(d)),H=H._reactRootContainer,H!=null||f.onclick!==null||(f.onclick=k9));else if($!==4&&(d=d.child,d!==null))for(Ip(d,f,H),d=d.sibling;d!==null;)Ip(d,f,H),d=d.sibling}function m7(d,f,H){var $=d.tag;if($===5||$===6)d=d.stateNode,f?H.insertBefore(d,f):H.appendChild(d);else if($!==4&&(d=d.child,d!==null))for(m7(d,f,H),d=d.sibling;d!==null;)m7(d,f,H),d=d.sibling}var et=null,bt=!1;function ba(d,f,H){for(H=H.child;H!==null;)Qr(d,f,H),H=H.sibling}function Qr(d,f,H){if(H8&&typeof H8.onCommitFiberUnmount=="function")try{H8.onCommitFiberUnmount(N8,H)}catch{}switch(H.tag){case 5:yt||o3(H,f);case 6:var $=et,P=bt;et=null,ba(d,f,H),et=$,bt=P,et!==null&&(bt?(d=et,H=H.stateNode,d.nodeType===8?d.parentNode.removeChild(H):d.removeChild(H)):et.removeChild(H.stateNode));break;case 18:et!==null&&(bt?(d=et,H=H.stateNode,d.nodeType===8?ip(d.parentNode,H):d.nodeType===1&&ip(d,H),za(d)):ip(et,H.stateNode));break;case 4:$=et,P=bt,et=H.stateNode.containerInfo,bt=!0,ba(d,f,H),et=$,bt=P;break;case 0:case 11:case 14:case 15:if(!yt&&($=H.updateQueue,$!==null&&($=$.lastEffect,$!==null))){P=$=$.next;do{var T=P,U=T.destroy;T=T.tag,U!==void 0&&(T&2||T&4)&&kp(H,f,U),P=P.next}while(P!==$)}ba(d,f,H);break;case 1:if(!yt&&(o3(H,f),$=H.stateNode,typeof $.componentWillUnmount=="function"))try{$.props=H.memoizedProps,$.state=H.memoizedState,$.componentWillUnmount()}catch(i0){j8(H,f,i0)}ba(d,f,H);break;case 21:ba(d,f,H);break;case 22:H.mode&1?(yt=($=yt)||H.memoizedState!==null,ba(d,f,H),yt=$):ba(d,f,H);break;default:ba(d,f,H)}}function Yo(d){var f=d.updateQueue;if(f!==null){d.updateQueue=null;var H=d.stateNode;H===null&&(H=d.stateNode=new Zy),f.forEach(function($){var P=Up.bind(null,d,$);H.has($)||(H.add($),$.then(P,P))})}}function Ha(d,f){var H=f.deletions;if(H!==null)for(var $=0;$<H.length;$++){var P=H[$];try{var T=d,U=f,i0=U;e:for(;i0!==null;){switch(i0.tag){case 5:et=i0.stateNode,bt=!1;break e;case 3:et=i0.stateNode.containerInfo,bt=!0;break e;case 4:et=i0.stateNode.containerInfo,bt=!0;break e}i0=i0.return}if(et===null)throw Error(r(160));Qr(T,U,P),et=null,bt=!1;var p0=P.alternate;p0!==null&&(p0.return=null),P.return=null}catch(B0){j8(P,f,B0)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)Kr(f,d),f=f.sibling}function Kr(d,f){var H=d.alternate,$=d.flags;switch(d.tag){case 0:case 11:case 14:case 15:if(Ha(f,d),lr(d),$&4){try{c7(3,d,d.return),s7(3,d)}catch(re){j8(d,d.return,re)}try{c7(5,d,d.return)}catch(re){j8(d,d.return,re)}}break;case 1:Ha(f,d),lr(d),$&512&&H!==null&&o3(H,H.return);break;case 5:if(Ha(f,d),lr(d),$&512&&H!==null&&o3(H,H.return),d.flags&32){var P=d.stateNode;try{Ie(P,"")}catch(re){j8(d,d.return,re)}}if($&4&&(P=d.stateNode,P!=null)){var T=d.memoizedProps,U=H!==null?H.memoizedProps:T,i0=d.type,p0=d.updateQueue;if(d.updateQueue=null,p0!==null)try{i0==="input"&&T.type==="radio"&&T.name!=null&&W0(P,T),Z2(i0,U);var B0=Z2(i0,T);for(U=0;U<p0.length;U+=2){var m1=p0[U],v1=p0[U+1];m1==="style"?de(P,v1):m1==="dangerouslySetInnerHTML"?K1(P,v1):m1==="children"?Ie(P,v1):k(P,m1,v1,B0)}switch(i0){case"input":t1(P,T);break;case"textarea":F0(P,T);break;case"select":var s1=P._wrapperState.wasMultiple;P._wrapperState.wasMultiple=!!T.multiple;var x1=T.value;x1!=null?u1(P,!!T.multiple,x1,!1):s1!==!!T.multiple&&(T.defaultValue!=null?u1(P,!!T.multiple,T.defaultValue,!0):u1(P,!!T.multiple,T.multiple?[]:"",!1))}P[G5]=T}catch(re){j8(d,d.return,re)}}break;case 6:if(Ha(f,d),lr(d),$&4){if(d.stateNode===null)throw Error(r(162));P=d.stateNode,T=d.memoizedProps;try{P.nodeValue=T}catch(re){j8(d,d.return,re)}}break;case 3:if(Ha(f,d),lr(d),$&4&&H!==null&&H.memoizedState.isDehydrated)try{za(f.containerInfo)}catch(re){j8(d,d.return,re)}break;case 4:Ha(f,d),lr(d);break;case 13:Ha(f,d),lr(d),P=d.child,P.flags&8192&&(T=P.memoizedState!==null,P.stateNode.isHidden=T,!T||P.alternate!==null&&P.alternate.memoizedState!==null||(h7=R1())),$&4&&Yo(d);break;case 22:if(m1=H!==null&&H.memoizedState!==null,d.mode&1?(yt=(B0=yt)||m1,Ha(f,d),yt=B0):Ha(f,d),lr(d),$&8192){if(B0=d.memoizedState!==null,(d.stateNode.isHidden=B0)&&!m1&&d.mode&1)for(B1=d,m1=d.child;m1!==null;){for(v1=B1=m1;B1!==null;){switch(s1=B1,x1=s1.child,s1.tag){case 0:case 11:case 14:case 15:c7(4,s1,s1.return);break;case 1:o3(s1,s1.return);var X1=s1.stateNode;if(typeof X1.componentWillUnmount=="function"){$=s1,H=s1.return;try{f=$,X1.props=f.memoizedProps,X1.state=f.memoizedState,X1.componentWillUnmount()}catch(re){j8($,H,re)}}break;case 5:o3(s1,s1.return);break;case 22:if(s1.memoizedState!==null){Qo(v1);continue}}x1!==null?(x1.return=s1,B1=x1):Qo(v1)}m1=m1.sibling}e:for(m1=null,v1=d;;){if(v1.tag===5){if(m1===null){m1=v1;try{P=v1.stateNode,B0?(T=P.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none"):(i0=v1.stateNode,p0=v1.memoizedProps.style,U=p0!=null&&p0.hasOwnProperty("display")?p0.display:null,i0.style.display=P1("display",U))}catch(re){j8(d,d.return,re)}}}else if(v1.tag===6){if(m1===null)try{v1.stateNode.nodeValue=B0?"":v1.memoizedProps}catch(re){j8(d,d.return,re)}}else if((v1.tag!==22&&v1.tag!==23||v1.memoizedState===null||v1===d)&&v1.child!==null){v1.child.return=v1,v1=v1.child;continue}if(v1===d)break e;for(;v1.sibling===null;){if(v1.return===null||v1.return===d)break e;m1===v1&&(m1=null),v1=v1.return}m1===v1&&(m1=null),v1.sibling.return=v1.return,v1=v1.sibling}}break;case 19:Ha(f,d),lr(d),$&4&&Yo(d);break;case 21:break;default:Ha(f,d),lr(d)}}function lr(d){var f=d.flags;if(f&2){try{e:{for(var H=d.return;H!==null;){if(by(H)){var $=H;break e}H=H.return}throw Error(r(160))}switch($.tag){case 5:var P=$.stateNode;$.flags&32&&(Ie(P,""),$.flags&=-33);var T=Tp(d);m7(d,T,P);break;case 3:case 4:var U=$.stateNode.containerInfo,i0=Tp(d);Ip(d,i0,U);break;default:throw Error(r(161))}}catch(p0){j8(d,d.return,p0)}d.flags&=-3}f&4096&&(d.flags&=-4097)}function wF(d,f,H){B1=d,Hy(d)}function Hy(d,f,H){for(var $=(d.mode&1)!==0;B1!==null;){var P=B1,T=P.child;if(P.tag===22&&$){var U=P.memoizedState!==null||os;if(!U){var i0=P.alternate,p0=i0!==null&&i0.memoizedState!==null||yt;i0=os;var B0=yt;if(os=U,(yt=p0)&&!B0)for(B1=P;B1!==null;)U=B1,p0=U.child,U.tag===22&&U.memoizedState!==null?Ey(P):p0!==null?(p0.return=U,B1=p0):Ey(P);for(;T!==null;)B1=T,Hy(T),T=T.sibling;B1=P,os=i0,yt=B0}Dp(d)}else P.subtreeFlags&8772&&T!==null?(T.return=P,B1=T):Dp(d)}}function Dp(d){for(;B1!==null;){var f=B1;if(f.flags&8772){var H=f.alternate;try{if(f.flags&8772)switch(f.tag){case 0:case 11:case 15:yt||s7(5,f);break;case 1:var $=f.stateNode;if(f.flags&4&&!yt)if(H===null)$.componentDidMount();else{var P=f.elementType===f.type?H.memoizedProps:Qa(f.type,H.memoizedProps);$.componentDidUpdate(P,H.memoizedState,$.__reactInternalSnapshotBeforeUpdate)}var T=f.updateQueue;T!==null&&my(f,T,$);break;case 3:var U=f.updateQueue;if(U!==null){if(H=null,f.child!==null)switch(f.child.tag){case 5:H=f.child.stateNode;break;case 1:H=f.child.stateNode}my(f,U,H)}break;case 5:var i0=f.stateNode;if(H===null&&f.flags&4){H=i0;var p0=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":p0.autoFocus&&H.focus();break;case"img":p0.src&&(H.src=p0.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var B0=f.alternate;if(B0!==null){var m1=B0.memoizedState;if(m1!==null){var v1=m1.dehydrated;v1!==null&&za(v1)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}yt||f.flags&512&&Cp(f)}catch(s1){j8(f,f.return,s1)}}if(f===d){B1=null;break}if(H=f.sibling,H!==null){H.return=f.return,B1=H;break}B1=f.return}}function Qo(d){for(;B1!==null;){var f=B1;if(f===d){B1=null;break}var H=f.sibling;if(H!==null){H.return=f.return,B1=H;break}B1=f.return}}function Ey(d){for(;B1!==null;){var f=B1;try{switch(f.tag){case 0:case 11:case 15:var H=f.return;try{s7(4,f)}catch(p0){j8(f,H,p0)}break;case 1:var $=f.stateNode;if(typeof $.componentDidMount=="function"){var P=f.return;try{$.componentDidMount()}catch(p0){j8(f,P,p0)}}var T=f.return;try{Cp(f)}catch(p0){j8(f,T,p0)}break;case 5:var U=f.return;try{Cp(f)}catch(p0){j8(f,U,p0)}}}catch(p0){j8(f,f.return,p0)}if(f===d){B1=null;break}var i0=f.sibling;if(i0!==null){i0.return=f.return,B1=i0;break}B1=f.return}}var My=Math.ceil,is=N.ReactCurrentDispatcher,Ko=N.ReactCurrentOwner,O6=N.ReactCurrentBatchConfig,b2=0,L8=null,A8=null,F8=0,Ea=0,i3=Q2(0),mt=0,u7=null,c3=0,cs=0,d7=0,p7=null,It=null,h7=0,s3=1/0,Xr=null,ss=!1,xp=null,al=null,rl=!1,or=null,nl=0,f7=0,Rp=null,v7=-1,g7=0;function Ht(){return b2&6?R1():v7!==-1?v7:v7=R1()}function L4(d){return d.mode&1?b2&2&&F8!==0?F8&-F8:bF.transition!==null?(g7===0&&(g7=xa()),g7):(d=a2,d!==0||(d=window.event,d=d===void 0?16:K8(d.type)),d):1}function a4(d,f,H,$){if(50<f7)throw f7=0,Rp=null,Error(r(185));W6(d,H,$),(!(b2&2)||d!==L8)&&(d===L8&&(!(b2&2)&&(cs|=H),mt===4&&ir(d,F8)),n8(d,$),H===1&&b2===0&&!(f.mode&1)&&(s3=R1()+500,Bn&&J4()))}function n8(d,f){var H=d.callbackNode;h6(d,f);var $=p6(d,d===L8?F8:0);if($===0)H!==null&&m0(H),d.callbackNode=null,d.callbackPriority=0;else if(f=$&-$,d.callbackPriority!==f){if(H!=null&&m0(H),f===1)d.tag===0?ly(ms.bind(null,d)):C9(ms.bind(null,d)),ry(function(){!(b2&6)&&J4()}),H=null;else{switch(ql($)){case 1:H=g2;break;case 4:H=We;break;case 16:H=ce;break;case 536870912:H=Ke;break;default:H=ce}H=Py(H,m3.bind(null,d))}d.callbackPriority=f,d.callbackNode=H}}function m3(d,f){if(v7=-1,g7=0,b2&6)throw Error(r(327));var H=d.callbackNode;if(ei()&&d.callbackNode!==H)return null;var $=p6(d,d===L8?F8:0);if($===0)return null;if($&30||$&d.expiredLanes||f)f=Jo(d,$);else{f=$;var P=b2;b2|=2;var T=Oy();(L8!==d||F8!==f)&&(Xr=null,s3=R1()+500,ll(d,f));do try{FF();break}catch(i0){Vy(d,i0)}while(!0);e4(),is.current=T,b2=P,A8!==null?f=0:(L8=null,F8=0,f=mt)}if(f!==0){if(f===2&&(P=Y8(d),P!==0&&($=P,f=A7(d,P))),f===1)throw H=u7,ll(d,0),ir(d,$),n8(d,R1()),H;if(f===6)ir(d,$);else{if(P=d.current.alternate,!($&30)&&!SF(P)&&(f=Jo(d,$),f===2&&(T=Y8(d),T!==0&&($=T,f=A7(d,T))),f===1))throw H=u7,ll(d,0),ir(d,$),n8(d,R1()),H;switch(d.finishedWork=P,d.finishedLanes=$,f){case 0:case 1:throw Error(r(345));case 2:h3(d,It,Xr);break;case 3:if(ir(d,$),($&130023424)===$&&(f=h7+500-R1(),10<f)){if(p6(d,0)!==0)break;if(P=d.suspendedLanes,(P&$)!==$){Ht(),d.pingedLanes|=d.suspendedLanes&P;break}d.timeoutHandle=B5(h3.bind(null,d,It,Xr),f);break}h3(d,It,Xr);break;case 4:if(ir(d,$),($&4194240)===$)break;for(f=d.eventTimes,P=-1;0<$;){var U=31-U2($);T=1<<U,U=f[U],U>P&&(P=U),$&=~T}if($=P,$=R1()-$,$=(120>$?120:480>$?480:1080>$?1080:1920>$?1920:3e3>$?3e3:4320>$?4320:1960*My($/1960))-$,10<$){d.timeoutHandle=B5(h3.bind(null,d,It,Xr),$);break}h3(d,It,Xr);break;case 5:h3(d,It,Xr);break;default:throw Error(r(329))}}}return n8(d,R1()),d.callbackNode===H?m3.bind(null,d):null}function A7(d,f){var H=p7;return d.current.memoizedState.isDehydrated&&(ll(d,f).flags|=256),d=Jo(d,f),d!==2&&(f=It,It=H,f!==null&&u3(f)),d}function u3(d){It===null?It=d:It.push.apply(It,d)}function SF(d){for(var f=d;;){if(f.flags&16384){var H=f.updateQueue;if(H!==null&&(H=H.stores,H!==null))for(var $=0;$<H.length;$++){var P=H[$],T=P.getSnapshot;P=P.value;try{if(!E4(T(),P))return!1}catch{return!1}}}if(H=f.child,f.subtreeFlags&16384&&H!==null)H.return=f,f=H;else{if(f===d)break;for(;f.sibling===null;){if(f.return===null||f.return===d)return!0;f=f.return}f.sibling.return=f.return,f=f.sibling}}return!0}function ir(d,f){for(f&=~d7,f&=~cs,d.suspendedLanes|=f,d.pingedLanes&=~f,d=d.expirationTimes;0<f;){var H=31-U2(f),$=1<<H;d[H]=-1,f&=~$}}function ms(d){if(b2&6)throw Error(r(327));ei();var f=p6(d,0);if(!(f&1))return n8(d,R1()),null;var H=Jo(d,f);if(d.tag!==0&&H===2){var $=Y8(d);$!==0&&(f=$,H=A7(d,$))}if(H===1)throw H=u7,ll(d,0),ir(d,f),n8(d,R1()),H;if(H===6)throw Error(r(345));return d.finishedWork=d.current.alternate,d.finishedLanes=f,h3(d,It,Xr),n8(d,R1()),null}function d3(d,f){var H=b2;b2|=1;try{return d(f)}finally{b2=H,b2===0&&(s3=R1()+500,Bn&&J4())}}function p3(d){or!==null&&or.tag===0&&!(b2&6)&&ei();var f=b2;b2|=1;var H=O6.transition,$=a2;try{if(O6.transition=null,a2=1,d)return d()}finally{a2=$,O6.transition=H,b2=f,!(b2&6)&&J4()}}function Xo(){Ea=i3.current,le(i3)}function ll(d,f){d.finishedWork=null,d.finishedLanes=0;var H=d.timeoutHandle;if(H!==-1&&(d.timeoutHandle=-1,q5(H)),A8!==null)for(H=A8.return;H!==null;){var $=H;switch(T9($),$.tag){case 1:$=$.type.childContextTypes,$!=null&&Ba();break;case 3:_o(),le(ke),le(Zt),U9();break;case 5:Ap($);break;case 4:_o();break;case 13:le(E8);break;case 19:le(E8);break;case 10:b6($.type._context);break;case 22:case 23:Xo()}H=H.return}if(L8=d,A8=d=ol(d.current,null),F8=Ea=f,mt=0,u7=null,d7=cs=c3=0,It=p7=null,t3!==null){for(f=0;f<t3.length;f++)if(H=t3[f],$=H.interleaved,$!==null){H.interleaved=null;var P=$.next,T=H.pending;if(T!==null){var U=T.next;T.next=P,$.next=U}H.pending=$}t3=null}return d}function Vy(d,f){do{var H=A8;try{if(e4(),B9.current=ar,u8){for(var $=_1.memoizedState;$!==null;){var P=$.queue;P!==null&&(P.pending=null),$=$.next}u8=!1}if(Gr=0,Se=fe=_1=null,Ya=!1,Co=0,Ko.current=null,H===null||H.return===null){mt=1,u7=f,A8=null;break}e:{var T=d,U=H.return,i0=H,p0=f;if(f=F8,i0.flags|=32768,p0!==null&&typeof p0=="object"&&typeof p0.then=="function"){var B0=p0,m1=i0,v1=m1.tag;if(!(m1.mode&1)&&(v1===0||v1===11||v1===15)){var s1=m1.alternate;s1?(m1.updateQueue=s1.updateQueue,m1.memoizedState=s1.memoizedState,m1.lanes=s1.lanes):(m1.updateQueue=null,m1.memoizedState=null)}var x1=r7(U);if(x1!==null){x1.flags&=-257,gy(x1,U,i0,T,f),x1.mode&1&&vy(T,B0,f),f=x1,p0=B0;var X1=f.updateQueue;if(X1===null){var re=new Set;re.add(p0),f.updateQueue=re}else X1.add(p0);break e}else{if(!(f&1)){vy(T,B0,f),zp();break e}p0=Error(r(426))}}else if(m8&&i0.mode&1){var D8=r7(U);if(D8!==null){!(D8.flags&65536)&&(D8.flags|=256),gy(D8,U,i0,T,f),J8(Uo(p0,i0));break e}}T=p0=Uo(p0,i0),mt!==4&&(mt=2),p7===null?p7=[T]:p7.push(T),T=U;do{switch(T.tag){case 3:T.flags|=65536,f&=-f,T.lanes|=f;var P0=wp(T,p0,f);sy(T,P0);break e;case 1:i0=p0;var E0=T.type,D0=T.stateNode;if(!(T.flags&128)&&(typeof E0.getDerivedStateFromError=="function"||D0!==null&&typeof D0.componentDidCatch=="function"&&(al===null||!al.has(D0)))){T.flags|=65536,f&=-f,T.lanes|=f;var M1=fy(T,i0,f);sy(T,M1);break e}}T=T.return}while(T!==null)}wy(H)}catch(oe){f=oe,A8===H&&H!==null&&(A8=H=H.return);continue}break}while(!0)}function Oy(){var d=is.current;return is.current=ar,d===null?ar:d}function zp(){(mt===0||mt===3||mt===2)&&(mt=4),L8===null||!(c3&268435455)&&!(cs&268435455)||ir(L8,F8)}function Jo(d,f){var H=b2;b2|=2;var $=Oy();(L8!==d||F8!==f)&&(Xr=null,ll(d,f));do try{LF();break}catch(P){Vy(d,P)}while(!0);if(e4(),b2=H,is.current=$,A8!==null)throw Error(r(261));return L8=null,F8=0,mt}function LF(){for(;A8!==null;)$y(A8)}function FF(){for(;A8!==null&&!e1();)$y(A8)}function $y(d){var f=jy(d.alternate,d,Ea);d.memoizedProps=d.pendingProps,f===null?wy(d):A8=f,Ko.current=null}function wy(d){var f=d;do{var H=f.alternate;if(d=f.return,f.flags&32768){if(H=$F(H,f),H!==null){H.flags&=32767,A8=H;return}if(d!==null)d.flags|=32768,d.subtreeFlags=0,d.deletions=null;else{mt=6,A8=null;return}}else if(H=OF(H,f,Ea),H!==null){A8=H;return}if(f=f.sibling,f!==null){A8=f;return}A8=f=d}while(f!==null);mt===0&&(mt=5)}function h3(d,f,H){var $=a2,P=O6.transition;try{O6.transition=null,a2=1,Sy(d,f,H,$)}finally{O6.transition=P,a2=$}return null}function Sy(d,f,H,$){do ei();while(or!==null);if(b2&6)throw Error(r(327));H=d.finishedWork;var P=d.finishedLanes;if(H===null)return null;if(d.finishedWork=null,d.finishedLanes=0,H===d.current)throw Error(r(177));d.callbackNode=null,d.callbackPriority=0;var T=H.lanes|H.childLanes;if(Bl(d,T),d===L8&&(A8=L8=null,F8=0),!(H.subtreeFlags&2064)&&!(H.flags&2064)||rl||(rl=!0,Py(ce,function(){return ei(),null})),T=(H.flags&15990)!==0,H.subtreeFlags&15990||T){T=O6.transition,O6.transition=null;var U=a2;a2=1;var i0=b2;b2|=4,Ko.current=null,_p(d,H),Kr(H,d),Gl(np),H0=!!rp,np=rp=null,d.current=H,wF(H),p1(),b2=i0,a2=U,O6.transition=T}else d.current=H;if(rl&&(rl=!1,or=d,nl=P),T=d.pendingLanes,T===0&&(al=null),L2(H.stateNode),n8(d,R1()),f!==null)for($=d.onRecoverableError,H=0;H<f.length;H++)P=f[H],$(P.value,{componentStack:P.stack,digest:P.digest});if(ss)throw ss=!1,d=xp,xp=null,d;return nl&1&&d.tag!==0&&ei(),T=d.pendingLanes,T&1?d===Rp?f7++:(f7=0,Rp=d):f7=0,J4(),null}function ei(){if(or!==null){var d=ql(nl),f=O6.transition,H=a2;try{if(O6.transition=null,a2=16>d?16:d,or===null)var $=!1;else{if(d=or,or=null,nl=0,b2&6)throw Error(r(331));var P=b2;for(b2|=4,B1=d.current;B1!==null;){var T=B1,U=T.child;if(B1.flags&16){var i0=T.deletions;if(i0!==null){for(var p0=0;p0<i0.length;p0++){var B0=i0[p0];for(B1=B0;B1!==null;){var m1=B1;switch(m1.tag){case 0:case 11:case 15:c7(8,m1,T)}var v1=m1.child;if(v1!==null)v1.return=m1,B1=v1;else for(;B1!==null;){m1=B1;var s1=m1.sibling,x1=m1.return;if(Np(m1),m1===B0){B1=null;break}if(s1!==null){s1.return=x1,B1=s1;break}B1=x1}}}var X1=T.alternate;if(X1!==null){var re=X1.child;if(re!==null){X1.child=null;do{var D8=re.sibling;re.sibling=null,re=D8}while(re!==null)}}B1=T}}if(T.subtreeFlags&2064&&U!==null)U.return=T,B1=U;else e:for(;B1!==null;){if(T=B1,T.flags&2048)switch(T.tag){case 0:case 11:case 15:c7(9,T,T.return)}var P0=T.sibling;if(P0!==null){P0.return=T.return,B1=P0;break e}B1=T.return}}var E0=d.current;for(B1=E0;B1!==null;){U=B1;var D0=U.child;if(U.subtreeFlags&2064&&D0!==null)D0.return=U,B1=D0;else e:for(U=E0;B1!==null;){if(i0=B1,i0.flags&2048)try{switch(i0.tag){case 0:case 11:case 15:s7(9,i0)}}catch(oe){j8(i0,i0.return,oe)}if(i0===U){B1=null;break e}var M1=i0.sibling;if(M1!==null){M1.return=i0.return,B1=M1;break e}B1=i0.return}}if(b2=P,J4(),H8&&typeof H8.onPostCommitFiberRoot=="function")try{H8.onPostCommitFiberRoot(N8,d)}catch{}$=!0}return $}finally{a2=H,O6.transition=f}}return!1}function Ly(d,f,H){f=Uo(H,f),f=wp(d,f,1),d=E6(d,f,1),f=Ht(),d!==null&&(W6(d,1,f),n8(d,f))}function j8(d,f,H){if(d.tag===3)Ly(d,d,H);else for(;f!==null;){if(f.tag===3){Ly(f,d,H);break}else if(f.tag===1){var $=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof $.componentDidCatch=="function"&&(al===null||!al.has($))){d=Uo(H,d),d=fy(f,d,1),f=E6(f,d,1),d=Ht(),f!==null&&(W6(f,1,d),n8(f,d));break}}f=f.return}}function jF(d,f,H){var $=d.pingCache;$!==null&&$.delete(f),f=Ht(),d.pingedLanes|=d.suspendedLanes&H,L8===d&&(F8&H)===H&&(mt===4||mt===3&&(F8&130023424)===F8&&500>R1()-h7?ll(d,0):d7|=H),n8(d,f)}function Fy(d,f){f===0&&(d.mode&1?(f=_r,_r<<=1,!(_r&130023424)&&(_r=4194304)):f=1);var H=Ht();d=Wr(d,f),d!==null&&(W6(d,f,H),n8(d,H))}function PF(d){var f=d.memoizedState,H=0;f!==null&&(H=f.retryLane),Fy(d,H)}function Up(d,f){var H=0;switch(d.tag){case 13:var $=d.stateNode,P=d.memoizedState;P!==null&&(H=P.retryLane);break;case 19:$=d.stateNode;break;default:throw Error(r(314))}$!==null&&$.delete(f),Fy(d,H)}var jy;jy=function(d,f,H){if(d!==null)if(d.memoizedProps!==f.pendingProps||ke.current)Aa=!0;else{if(!(d.lanes&H)&&!(f.flags&128))return Aa=!1,V6(d,f,H);Aa=!!(d.flags&131072)}else Aa=!1,m8&&f.flags&1048576&&Wn(f,Jl,f.index);switch(f.lanes=0,f.tag){case 2:var $=f.type;o7(d,f),d=f.pendingProps;var P=A6(f,Zt.current);jo(f,H),P=K5(null,f,$,d,P,H);var T=i1();return f.flags|=1,typeof P=="object"&&P!==null&&typeof P.render=="function"&&P.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,X8($)?(T=!0,Xl(f)):T=!1,f.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,fp(f),P.updater=Xn,f.stateNode=P,P._reactInternals=f,Vp(f,$,d,H),f=qo(null,f,$,!0,T,H)):(f.tag=0,m8&&T&&N9(f),Za(null,f,P,H),f=f.child),f;case 16:$=f.elementType;e:{switch(o7(d,f),d=f.pendingProps,P=$._init,$=P($._payload),f.type=$,P=f.tag=_F($),d=Qa($,d),P){case 0:f=tl(null,f,$,d,H);break e;case 1:f=xe(null,f,$,d,H);break e;case 11:f=Jn(null,f,$,d,H);break e;case 14:f=Bo(null,f,$,Qa($.type,d),H);break e}throw Error(r(306,$,""))}return f;case 0:return $=f.type,P=f.pendingProps,P=f.elementType===$?P:Qa($,P),tl(d,f,$,P,H);case 1:return $=f.type,P=f.pendingProps,P=f.elementType===$?P:Qa($,P),xe(d,f,$,P,H);case 3:e:{if(Sp(f),d===null)throw Error(r(387));$=f.pendingProps,T=f.memoizedState,P=T.element,vp(d,f),z9(f,$,null,H);var U=f.memoizedState;if($=U.element,T.isDehydrated)if(T={element:$,isDehydrated:!1,cache:U.cache,pendingSuspenseBoundaries:U.pendingSuspenseBoundaries,transitions:U.transitions},f.updateQueue.baseState=T,f.memoizedState=T,f.flags&256){P=Uo(Error(r(423)),f),f=MF(d,f,$,H,P);break e}else if($!==P){P=Uo(Error(r(424)),f),f=MF(d,f,$,H,P);break e}else for(y6=g6(f.stateNode.containerInfo.firstChild),Z6=f,m8=!0,J6=null,H=cy(f,null,$,H),f.child=H;H;)H.flags=H.flags&-3|4096,H=H.sibling;else{if(Lo(),$===P){f=rr(d,f,H);break e}Za(d,f,$,H)}f=f.child}return f;case 5:return uy(f),d===null&&I9(f),$=f.type,P=f.pendingProps,T=d!==null?d.memoizedProps:null,U=P.children,Kl($,P)?U=null:T!==null&&Kl($,T)&&(f.flags|=32),Ka(d,f),Za(d,f,U,H),f.child;case 6:return d===null&&I9(f),null;case 13:return Wo(d,f,H);case 4:return gp(f,f.stateNode.containerInfo),$=f.pendingProps,d===null?f.child=Qn(f,null,$,H):Za(d,f,$,H),f.child;case 11:return $=f.type,P=f.pendingProps,P=f.elementType===$?P:Qa($,P),Jn(d,f,$,P,H);case 7:return Za(d,f,f.pendingProps,H),f.child;case 8:return Za(d,f,f.pendingProps.children,H),f.child;case 12:return Za(d,f,f.pendingProps.children,H),f.child;case 10:e:{if($=f.type._context,P=f.pendingProps,T=f.memoizedProps,U=P.value,M2(x9,$._currentValue),$._currentValue=U,T!==null)if(E4(T.value,U)){if(T.children===P.children&&!ke.current){f=rr(d,f,H);break e}}else for(T=f.child,T!==null&&(T.return=f);T!==null;){var i0=T.dependencies;if(i0!==null){U=T.child;for(var p0=i0.firstContext;p0!==null;){if(p0.context===$){if(T.tag===1){p0=H6(-1,H&-H),p0.tag=2;var B0=T.updateQueue;if(B0!==null){B0=B0.shared;var m1=B0.pending;m1===null?p0.next=p0:(p0.next=m1.next,m1.next=p0),B0.pending=p0}}T.lanes|=H,p0=T.alternate,p0!==null&&(p0.lanes|=H),pp(T.return,H,f),i0.lanes|=H;break}p0=p0.next}}else if(T.tag===10)U=T.type===f.type?null:T.child;else if(T.tag===18){if(U=T.return,U===null)throw Error(r(341));U.lanes|=H,i0=U.alternate,i0!==null&&(i0.lanes|=H),pp(U,H,f),U=T.sibling}else U=T.child;if(U!==null)U.return=T;else for(U=T;U!==null;){if(U===f){U=null;break}if(T=U.sibling,T!==null){T.return=U.return,U=T;break}U=U.return}T=U}Za(d,f,P.children,H),f=f.child}return f;case 9:return P=f.type,$=f.pendingProps.children,jo(f,H),P=t4(P),$=$(P),f.flags|=1,Za(d,f,$,H),f.child;case 14:return $=f.type,P=Qa($,f.pendingProps),P=Qa($.type,P),Bo(d,f,$,P,H);case 15:return el(d,f,f.type,f.pendingProps,H);case 17:return $=f.type,P=f.pendingProps,P=f.elementType===$?P:Qa($,P),o7(d,f),f.tag=1,X8($)?(d=!0,Xl(f)):d=!1,jo(f,H),py(f,$,P),Vp(f,$,P,H),qo(null,f,$,!0,d,H);case 19:return Pp(d,f,H);case 22:return ns(d,f,H)}throw Error(r(156,f.tag))};function Py(d,f){return b1(d,f)}function kF(d,f,H,$){this.tag=d,this.key=H,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=$,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $6(d,f,H,$){return new kF(d,f,H,$)}function Bp(d){return d=d.prototype,!(!d||!d.isReactComponent)}function _F(d){if(typeof d=="function")return Bp(d)?1:0;if(d!=null){if(d=d.$$typeof,d===a0)return 11;if(d===e0)return 14}return 2}function ol(d,f){var H=d.alternate;return H===null?(H=$6(d.tag,f,d.key,d.mode),H.elementType=d.elementType,H.type=d.type,H.stateNode=d.stateNode,H.alternate=d,d.alternate=H):(H.pendingProps=f,H.type=d.type,H.flags=0,H.subtreeFlags=0,H.deletions=null),H.flags=d.flags&14680064,H.childLanes=d.childLanes,H.lanes=d.lanes,H.child=d.child,H.memoizedProps=d.memoizedProps,H.memoizedState=d.memoizedState,H.updateQueue=d.updateQueue,f=d.dependencies,H.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},H.sibling=d.sibling,H.index=d.index,H.ref=d.ref,H}function us(d,f,H,$,P,T){var U=2;if($=d,typeof d=="function")Bp(d)&&(U=1);else if(typeof d=="string")U=5;else e:switch(d){case z:return f3(H.children,P,T,f);case q:U=8,P|=8;break;case K:return d=$6(12,H,f,P|2),d.elementType=K,d.lanes=T,d;case t0:return d=$6(13,H,f,P),d.elementType=t0,d.lanes=T,d;case l0:return d=$6(19,H,f,P),d.elementType=l0,d.lanes=T,d;case y0:return ds(H,P,T,f);default:if(typeof d=="object"&&d!==null)switch(d.$$typeof){case Y:U=10;break e;case o0:U=9;break e;case a0:U=11;break e;case e0:U=14;break e;case G0:U=16,$=null;break e}throw Error(r(130,d==null?d:typeof d,""))}return f=$6(U,H,f,P),f.elementType=d,f.type=$,f.lanes=T,f}function f3(d,f,H,$){return d=$6(7,d,$,f),d.lanes=H,d}function ds(d,f,H,$){return d=$6(22,d,$,f),d.elementType=y0,d.lanes=H,d.stateNode={isHidden:!1},d}function qp(d,f,H){return d=$6(6,d,null,f),d.lanes=H,d}function ps(d,f,H){return f=$6(4,d.children!==null?d.children:[],d.key,f),f.lanes=H,f.stateNode={containerInfo:d.containerInfo,pendingChildren:null,implementation:d.implementation},f}function Wp(d,f,H,$,P){this.tag=f,this.containerInfo=d,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=y4(0),this.expirationTimes=y4(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=y4(0),this.identifierPrefix=$,this.onRecoverableError=P,this.mutableSourceEagerHydrationData=null}function v3(d,f,H,$,P,T,U,i0,p0){return d=new Wp(d,f,H,i0,p0),f===1?(f=1,T===!0&&(f|=8)):f=0,T=$6(3,null,null,f),d.current=T,T.stateNode=d,T.memoizedState={element:$,isDehydrated:H,cache:null,transitions:null,pendingSuspenseBoundaries:null},fp(T),d}function CF(d,f,H){var $=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:I,key:$==null?null:""+$,children:d,containerInfo:f,implementation:H}}function Gp(d){if(!d)return Q6;d=d._reactInternals;e:{if(J0(d)!==d||d.tag!==1)throw Error(r(170));var f=d;do{switch(f.tag){case 3:f=f.stateNode.context;break e;case 1:if(X8(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(d.tag===1){var H=d.type;if(X8(H))return Un(d,H,f)}return f}function Yp(d,f,H,$,P,T,U,i0,p0){return d=v3(H,$,!0,d,P,T,U,i0,p0),d.context=Gp(null),H=d.current,$=Ht(),P=L4(H),T=H6($,P),T.callback=f??null,E6(H,T,P),d.current.lanes=P,W6(d,P,$),n8(d,$),d}function Z7(d,f,H,$){var P=f.current,T=Ht(),U=L4(P);return H=Gp(H),f.context===null?f.context=H:f.pendingContext=H,f=H6(T,U),f.payload={element:d},$=$===void 0?null:$,$!==null&&(f.callback=$),d=E6(P,f,U),d!==null&&(a4(d,P,U,T),R9(d,P,U)),U}function hs(d){if(d=d.current,!d.child)return null;switch(d.child.tag){case 5:return d.child.stateNode;default:return d.child.stateNode}}function Qp(d,f){if(d=d.memoizedState,d!==null&&d.dehydrated!==null){var H=d.retryLane;d.retryLane=H!==0&&H<f?H:f}}function Kp(d,f){Qp(d,f),(d=d.alternate)&&Qp(d,f)}function NF(){return null}var ky=typeof reportError=="function"?reportError:function(d){console.error(d)};function fs(d){this._internalRoot=d}y7.prototype.render=fs.prototype.render=function(d){var f=this._internalRoot;if(f===null)throw Error(r(409));Z7(d,f,null,null)},y7.prototype.unmount=fs.prototype.unmount=function(){var d=this._internalRoot;if(d!==null){this._internalRoot=null;var f=d.containerInfo;p3(function(){Z7(null,d,null,null)}),f[M4]=null}};function y7(d){this._internalRoot=d}y7.prototype.unstable_scheduleHydration=function(d){if(d){var f=Xe();d={blockedOn:null,target:d,priority:f};for(var H=0;H<F2.length&&f!==0&&f<F2[H].priority;H++);F2.splice(H,0,d),H===0&&T8(d)}};function vs(d){return!(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)}function Jr(d){return!(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11&&(d.nodeType!==8||d.nodeValue!==" react-mount-point-unstable "))}function _y(){}function TF(d,f,H,$,P){if(P){if(typeof $=="function"){var T=$;$=function(){var B0=hs(U);T.call(B0)}}var U=Yp(f,$,d,0,null,!1,!1,"",_y);return d._reactRootContainer=U,d[M4]=U.current,Q4(d.nodeType===8?d.parentNode:d),p3(),U}for(;P=d.lastChild;)d.removeChild(P);if(typeof $=="function"){var i0=$;$=function(){var B0=hs(p0);i0.call(B0)}}var p0=v3(d,0,!1,null,null,!1,!1,"",_y);return d._reactRootContainer=p0,d[M4]=p0.current,Q4(d.nodeType===8?d.parentNode:d),p3(function(){Z7(f,p0,H,$)}),p0}function gs(d,f,H,$,P){var T=H._reactRootContainer;if(T){var U=T;if(typeof P=="function"){var i0=P;P=function(){var p0=hs(U);i0.call(p0)}}Z7(f,U,d,P)}else U=TF(H,f,d,P,$);return hs(U)}c8=function(d){switch(d.tag){case 3:var f=d.stateNode;if(f.current.memoizedState.isDehydrated){var H=d6(f.pendingLanes);H!==0&&(b4(f,H|1),n8(f,R1()),!(b2&6)&&(s3=R1()+500,J4()))}break;case 13:p3(function(){var $=Wr(d,1);if($!==null){var P=Ht();a4($,d,1,P)}}),Kp(d,1)}},va=function(d){if(d.tag===13){var f=Wr(d,134217728);if(f!==null){var H=Ht();a4(f,d,134217728,H)}Kp(d,134217728)}},Wl=function(d){if(d.tag===13){var f=L4(d),H=Wr(d,f);if(H!==null){var $=Ht();a4(H,d,f,$)}Kp(d,f)}},Xe=function(){return a2},q4=function(d,f){var H=a2;try{return a2=d,f()}finally{a2=H}},Be=function(d,f,H){switch(f){case"input":if(t1(d,H),f=H.name,H.type==="radio"&&f!=null){for(H=d;H.parentNode;)H=H.parentNode;for(H=H.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<H.length;f++){var $=H[f];if($!==d&&$.form===d.form){var P=_9($);if(!P)throw Error(r(90));v0($),t1($,P)}}}break;case"textarea":F0(d,H);break;case"select":f=H.value,f!=null&&u1(d,!!H.multiple,f,!1)}},Ft=d3,jt=p3;var IF={usingClientEntryPoint:!1,Events:[K4,So,_9,v2,f8,d3]},b7={findFiberByHostInstance:Ur,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},DF={bundleType:b7.bundleType,version:b7.version,rendererPackageName:b7.rendererPackageName,rendererConfig:b7.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(d){return d=y1(d),d===null?null:d.stateNode},findFiberByHostInstance:b7.findFiberByHostInstance||NF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var H7=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!H7.isDisabled&&H7.supportsFiber)try{N8=H7.inject(DF),H8=H7}catch{}}return P6.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=IF,P6.createPortal=function(d,f){var H=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vs(f))throw Error(r(200));return CF(d,f,null,H)},P6.createRoot=function(d,f){if(!vs(d))throw Error(r(299));var H=!1,$="",P=ky;return f!=null&&(f.unstable_strictMode===!0&&(H=!0),f.identifierPrefix!==void 0&&($=f.identifierPrefix),f.onRecoverableError!==void 0&&(P=f.onRecoverableError)),f=v3(d,1,!1,null,null,H,!1,$,P),d[M4]=f.current,Q4(d.nodeType===8?d.parentNode:d),new fs(f)},P6.findDOMNode=function(d){if(d==null)return null;if(d.nodeType===1)return d;var f=d._reactInternals;if(f===void 0)throw typeof d.render=="function"?Error(r(188)):(d=Object.keys(d).join(","),Error(r(268,d)));return d=y1(f),d=d===null?null:d.stateNode,d},P6.flushSync=function(d){return p3(d)},P6.hydrate=function(d,f,H){if(!Jr(f))throw Error(r(200));return gs(null,d,f,!0,H)},P6.hydrateRoot=function(d,f,H){if(!vs(d))throw Error(r(405));var $=H!=null&&H.hydratedSources||null,P=!1,T="",U=ky;if(H!=null&&(H.unstable_strictMode===!0&&(P=!0),H.identifierPrefix!==void 0&&(T=H.identifierPrefix),H.onRecoverableError!==void 0&&(U=H.onRecoverableError)),f=Yp(f,null,d,1,H??null,P,!1,T,U),d[M4]=f.current,Q4(d),$)for(d=0;d<$.length;d++)H=$[d],P=H._getVersion,P=P(H._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[H,P]:f.mutableSourceEagerHydrationData.push(H,P);return new y7(f)},P6.render=function(d,f,H){if(!Jr(f))throw Error(r(200));return gs(null,d,f,!1,H)},P6.unmountComponentAtNode=function(d){if(!Jr(d))throw Error(r(40));return d._reactRootContainer?(p3(function(){gs(null,null,d,!1,function(){d._reactRootContainer=null,d[M4]=null})}),!0):!1},P6.unstable_batchedUpdates=d3,P6.unstable_renderSubtreeIntoContainer=function(d,f,H,$){if(!Jr(H))throw Error(r(200));if(d==null||d._reactInternals===void 0)throw Error(r(38));return gs(d,f,H,!1,$)},P6.version="18.3.1-next-f1338f8080-20240426",P6}var k6={},Dk;function mp1(){if(Dk)return k6;Dk=1;var a={};/**
94
+ `+T.stack}return{value:d,source:f,stack:P,digest:null}}function a7(d,f,H){return{value:d,source:null,stack:H??null,digest:f??null}}function Op(d,f){try{console.error(f.value)}catch(H){setTimeout(function(){throw H})}}var $p=typeof WeakMap=="function"?WeakMap:Map;function wp(d,f,H){H=H6(-1,H),H.tag=3,H.payload={element:null};var $=f.value;return H.callback=function(){ss||(ss=!0,xp=$),Op(d,f)},H}function fy(d,f,H){H=H6(-1,H),H.tag=3;var $=d.type.getDerivedStateFromError;if(typeof $=="function"){var P=f.value;H.payload=function(){return $(P)},H.callback=function(){Op(d,f)}}var T=d.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(H.callback=function(){Op(d,f),typeof $!="function"&&(al===null?al=new Set([this]):al.add(this));var U=f.stack;this.componentDidCatch(f.value,{componentStack:U!==null?U:""})}),H}function vy(d,f,H){var $=d.pingCache;if($===null){$=d.pingCache=new $p;var P=new Set;$.set(f,P)}else P=$.get(f),P===void 0&&(P=new Set,$.set(f,P));P.has(H)||(P.add(H),d=jF.bind(null,d,f,H),f.then(d,d))}function r7(d){do{var f;if((f=d.tag===13)&&(f=d.memoizedState,f=f!==null?f.dehydrated!==null:!0),f)return d;d=d.return}while(d!==null);return null}function gy(d,f,H,$,P){return d.mode&1?(d.flags|=65536,d.lanes=P,d):(d===f?d.flags|=65536:(d.flags|=128,H.flags|=131072,H.flags&=-52805,H.tag===1&&(H.alternate===null?H.tag=17:(f=H6(-1,1),f.tag=2,E6(H,f,1))),H.lanes|=1),d)}var Ay=N.ReactCurrentOwner,Aa=!1;function Za(d,f,H,$){f.child=d===null?cy(f,null,H,$):Qn(f,d.child,H,$)}function Jn(d,f,H,$,P){H=H.render;var T=f.ref;return jo(f,P),$=K5(d,f,H,$,T,P),H=i1(),d!==null&&!Aa?(f.updateQueue=d.updateQueue,f.flags&=-2053,d.lanes&=~P,rr(d,f,P)):(m8&&H&&N9(f),f.flags|=1,Za(d,f,$,P),f.child)}function Bo(d,f,H,$,P){if(d===null){var T=H.type;return typeof T=="function"&&!Bp(T)&&T.defaultProps===void 0&&H.compare===null&&H.defaultProps===void 0?(f.tag=15,f.type=T,el(d,f,T,$,P)):(d=us(H.type,null,$,f,f.mode,P),d.ref=f.ref,d.return=f,f.child=d)}if(T=d.child,!(d.lanes&P)){var U=T.memoizedProps;if(H=H.compare,H=H!==null?H:Oo,H(U,$)&&d.ref===f.ref)return rr(d,f,P)}return f.flags|=1,d=ol(T,$),d.ref=f.ref,d.return=f,f.child=d}function el(d,f,H,$,P){if(d!==null){var T=d.memoizedProps;if(Oo(T,$)&&d.ref===f.ref)if(Aa=!1,f.pendingProps=$=T,(d.lanes&P)!==0)d.flags&131072&&(Aa=!0);else return f.lanes=d.lanes,rr(d,f,P)}return tl(d,f,H,$,P)}function ns(d,f,H){var $=f.pendingProps,P=$.children,T=d!==null?d.memoizedState:null;if($.mode==="hidden")if(!(f.mode&1))f.memoizedState={baseLanes:0,cachePool:null,transitions:null},M2(i3,Ea),Ea|=H;else{if(!(H&1073741824))return d=T!==null?T.baseLanes|H:H,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:d,cachePool:null,transitions:null},f.updateQueue=null,M2(i3,Ea),Ea|=d,null;f.memoizedState={baseLanes:0,cachePool:null,transitions:null},$=T!==null?T.baseLanes:H,M2(i3,Ea),Ea|=$}else T!==null?($=T.baseLanes|H,f.memoizedState=null):$=H,M2(i3,Ea),Ea|=$;return Za(d,f,P,H),f.child}function Ka(d,f){var H=f.ref;(d===null&&H!==null||d!==null&&d.ref!==H)&&(f.flags|=512,f.flags|=2097152)}function tl(d,f,H,$,P){var T=X8(H)?ga:Zt.current;return T=A6(f,T),jo(f,P),H=K5(d,f,H,$,T,P),$=i1(),d!==null&&!Aa?(f.updateQueue=d.updateQueue,f.flags&=-2053,d.lanes&=~P,rr(d,f,P)):(m8&&$&&N9(f),f.flags|=1,Za(d,f,H,P),f.child)}function xe(d,f,H,$,P){if(X8(H)){var T=!0;Xl(f)}else T=!1;if(jo(f,P),f.stateNode===null)o7(d,f),py(f,H,$),Vp(f,H,$,P),$=!0;else if(d===null){var U=f.stateNode,i0=f.memoizedProps;U.props=i0;var p0=U.context,B0=H.contextType;typeof B0=="object"&&B0!==null?B0=t4(B0):(B0=X8(H)?ga:Zt.current,B0=A6(f,B0));var m1=H.getDerivedStateFromProps,v1=typeof m1=="function"||typeof U.getSnapshotBeforeUpdate=="function";v1||typeof U.UNSAFE_componentWillReceiveProps!="function"&&typeof U.componentWillReceiveProps!="function"||(i0!==$||p0!==B0)&&hy(f,U,$,B0),Kn=!1;var s1=f.memoizedState;U.state=s1,z9(f,$,U,P),p0=f.memoizedState,i0!==$||s1!==p0||ke.current||Kn?(typeof m1=="function"&&(zo(f,H,m1,$),p0=f.memoizedState),(i0=Kn||t7(f,H,i0,$,s1,p0,B0))?(v1||typeof U.UNSAFE_componentWillMount!="function"&&typeof U.componentWillMount!="function"||(typeof U.componentWillMount=="function"&&U.componentWillMount(),typeof U.UNSAFE_componentWillMount=="function"&&U.UNSAFE_componentWillMount()),typeof U.componentDidMount=="function"&&(f.flags|=4194308)):(typeof U.componentDidMount=="function"&&(f.flags|=4194308),f.memoizedProps=$,f.memoizedState=p0),U.props=$,U.state=p0,U.context=B0,$=i0):(typeof U.componentDidMount=="function"&&(f.flags|=4194308),$=!1)}else{U=f.stateNode,vp(d,f),i0=f.memoizedProps,B0=f.type===f.elementType?i0:Qa(f.type,i0),U.props=B0,v1=f.pendingProps,s1=U.context,p0=H.contextType,typeof p0=="object"&&p0!==null?p0=t4(p0):(p0=X8(H)?ga:Zt.current,p0=A6(f,p0));var x1=H.getDerivedStateFromProps;(m1=typeof x1=="function"||typeof U.getSnapshotBeforeUpdate=="function")||typeof U.UNSAFE_componentWillReceiveProps!="function"&&typeof U.componentWillReceiveProps!="function"||(i0!==v1||s1!==p0)&&hy(f,U,$,p0),Kn=!1,s1=f.memoizedState,U.state=s1,z9(f,$,U,P);var X1=f.memoizedState;i0!==v1||s1!==X1||ke.current||Kn?(typeof x1=="function"&&(zo(f,H,x1,$),X1=f.memoizedState),(B0=Kn||t7(f,H,B0,$,s1,X1,p0)||!1)?(m1||typeof U.UNSAFE_componentWillUpdate!="function"&&typeof U.componentWillUpdate!="function"||(typeof U.componentWillUpdate=="function"&&U.componentWillUpdate($,X1,p0),typeof U.UNSAFE_componentWillUpdate=="function"&&U.UNSAFE_componentWillUpdate($,X1,p0)),typeof U.componentDidUpdate=="function"&&(f.flags|=4),typeof U.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof U.componentDidUpdate!="function"||i0===d.memoizedProps&&s1===d.memoizedState||(f.flags|=4),typeof U.getSnapshotBeforeUpdate!="function"||i0===d.memoizedProps&&s1===d.memoizedState||(f.flags|=1024),f.memoizedProps=$,f.memoizedState=X1),U.props=$,U.state=X1,U.context=p0,$=B0):(typeof U.componentDidUpdate!="function"||i0===d.memoizedProps&&s1===d.memoizedState||(f.flags|=4),typeof U.getSnapshotBeforeUpdate!="function"||i0===d.memoizedProps&&s1===d.memoizedState||(f.flags|=1024),$=!1)}return qo(d,f,H,$,T,P)}function qo(d,f,H,$,P,T){Ka(d,f);var U=(f.flags&128)!==0;if(!$&&!U)return P&&ny(f,H,!1),rr(d,f,T);$=f.stateNode,Ay.current=f;var i0=U&&typeof H.getDerivedStateFromError!="function"?null:$.render();return f.flags|=1,d!==null&&U?(f.child=Qn(f,d.child,null,T),f.child=Qn(f,null,i0,T)):Za(d,f,i0,T),f.memoizedState=$.state,P&&ny(f,H,!0),f.child}function Sp(d){var f=d.stateNode;f.pendingContext?X4(d,f.pendingContext,f.pendingContext!==f.context):f.context&&X4(d,f.context,!1),gp(d,f.containerInfo)}function MF(d,f,H,$,P){return Lo(),J8(P),f.flags|=256,Za(d,f,H,$),f.child}var Lp={dehydrated:null,treeContext:null,retryLane:0};function n7(d){return{baseLanes:d,cachePool:null,transitions:null}}function Wo(d,f,H){var $=f.pendingProps,P=E8.current,T=!1,U=(f.flags&128)!==0,i0;if((i0=U)||(i0=d!==null&&d.memoizedState===null?!1:(P&2)!==0),i0?(T=!0,f.flags&=-129):(d===null||d.memoizedState!==null)&&(P|=1),M2(E8,P&1),d===null)return I9(f),d=f.memoizedState,d!==null&&(d=d.dehydrated,d!==null)?(f.mode&1?d.data==="$!"?f.lanes=8:f.lanes=1073741824:f.lanes=1,null):(U=$.children,d=$.fallback,T?($=f.mode,T=f.child,U={mode:"hidden",children:U},!($&1)&&T!==null?(T.childLanes=0,T.pendingProps=U):T=ds(U,$,0,null),d=f3(d,$,H,null),T.return=f,d.return=f,T.sibling=d,f.child=T,f.child.memoizedState=n7(H),f.memoizedState=Lp,d):Fp(f,U));if(P=d.memoizedState,P!==null&&(i0=P.dehydrated,i0!==null))return VF(d,f,U,$,i0,P,H);if(T){T=$.fallback,U=f.mode,P=d.child,i0=P.sibling;var p0={mode:"hidden",children:$.children};return!(U&1)&&f.child!==P?($=f.child,$.childLanes=0,$.pendingProps=p0,f.deletions=null):($=ol(P,p0),$.subtreeFlags=P.subtreeFlags&14680064),i0!==null?T=ol(i0,T):(T=f3(T,U,H,null),T.flags|=2),T.return=f,$.return=f,$.sibling=T,f.child=$,$=T,T=f.child,U=d.child.memoizedState,U=U===null?n7(H):{baseLanes:U.baseLanes|H,cachePool:null,transitions:U.transitions},T.memoizedState=U,T.childLanes=d.childLanes&~H,f.memoizedState=Lp,$}return T=d.child,d=T.sibling,$=ol(T,{mode:"visible",children:$.children}),!(f.mode&1)&&($.lanes=H),$.return=f,$.sibling=null,d!==null&&(H=f.deletions,H===null?(f.deletions=[d],f.flags|=16):H.push(d)),f.child=$,f.memoizedState=null,$}function Fp(d,f){return f=ds({mode:"visible",children:f},d.mode,0,null),f.return=d,d.child=f}function l7(d,f,H,$){return $!==null&&J8($),Qn(f,d.child,null,H),d=Fp(f,f.pendingProps.children),d.flags|=2,f.memoizedState=null,d}function VF(d,f,H,$,P,T,U){if(H)return f.flags&256?(f.flags&=-257,$=a7(Error(r(422))),l7(d,f,U,$)):f.memoizedState!==null?(f.child=d.child,f.flags|=128,null):(T=$.fallback,P=f.mode,$=ds({mode:"visible",children:$.children},P,0,null),T=f3(T,P,U,null),T.flags|=2,$.return=f,T.return=f,$.sibling=T,f.child=$,f.mode&1&&Qn(f,d.child,null,U),f.child.memoizedState=n7(U),f.memoizedState=Lp,T);if(!(f.mode&1))return l7(d,f,U,null);if(P.data==="$!"){if($=P.nextSibling&&P.nextSibling.dataset,$)var i0=$.dgst;return $=i0,T=Error(r(419)),$=a7(T,$,void 0),l7(d,f,U,$)}if(i0=(U&d.childLanes)!==0,Aa||i0){if($=L8,$!==null){switch(U&-U){case 4:P=2;break;case 16:P=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:P=32;break;case 536870912:P=268435456;break;default:P=0}P=P&($.suspendedLanes|U)?0:P,P!==0&&P!==T.retryLane&&(T.retryLane=P,Wr(d,P),a4($,d,P,-1))}return zp(),$=a7(Error(r(421))),l7(d,f,U,$)}return P.data==="$?"?(f.flags|=128,f.child=d.child,f=PF.bind(null,d),P._reactRetry=f,null):(d=T.treeContext,y6=g6(P.nextSibling),Z6=f,m8=!0,J6=null,d!==null&&(qa[Wa++]=Ga,qa[Wa++]=Tt,qa[Wa++]=O4,Ga=d.id,Tt=d.overflow,O4=f),f=Fp(f,$.children),f.flags|=4096,f)}function ls(d,f,H){d.lanes|=f;var $=d.alternate;$!==null&&($.lanes|=f),pp(d.return,f,H)}function jp(d,f,H,$,P){var T=d.memoizedState;T===null?d.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:$,tail:H,tailMode:P}:(T.isBackwards=f,T.rendering=null,T.renderingStartTime=0,T.last=$,T.tail=H,T.tailMode=P)}function Pp(d,f,H){var $=f.pendingProps,P=$.revealOrder,T=$.tail;if(Za(d,f,$.children,H),$=E8.current,$&2)$=$&1|2,f.flags|=128;else{if(d!==null&&d.flags&128)e:for(d=f.child;d!==null;){if(d.tag===13)d.memoizedState!==null&&ls(d,H,f);else if(d.tag===19)ls(d,H,f);else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===f)break e;for(;d.sibling===null;){if(d.return===null||d.return===f)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}$&=1}if(M2(E8,$),!(f.mode&1))f.memoizedState=null;else switch(P){case"forwards":for(H=f.child,P=null;H!==null;)d=H.alternate,d!==null&&Q5(d)===null&&(P=H),H=H.sibling;H=P,H===null?(P=f.child,f.child=null):(P=H.sibling,H.sibling=null),jp(f,!1,P,H,T);break;case"backwards":for(H=null,P=f.child,f.child=null;P!==null;){if(d=P.alternate,d!==null&&Q5(d)===null){f.child=P;break}d=P.sibling,P.sibling=H,H=P,P=d}jp(f,!0,H,null,T);break;case"together":jp(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function o7(d,f){!(f.mode&1)&&d!==null&&(d.alternate=null,f.alternate=null,f.flags|=2)}function rr(d,f,H){if(d!==null&&(f.dependencies=d.dependencies),c3|=f.lanes,!(H&f.childLanes))return null;if(d!==null&&f.child!==d.child)throw Error(r(153));if(f.child!==null){for(d=f.child,H=ol(d,d.pendingProps),f.child=H,H.return=f;d.sibling!==null;)d=d.sibling,H=H.sibling=ol(d,d.pendingProps),H.return=f;H.sibling=null}return f.child}function V6(d,f,H){switch(f.tag){case 3:Sp(f),Lo();break;case 5:uy(f);break;case 1:X8(f.type)&&Xl(f);break;case 4:gp(f,f.stateNode.containerInfo);break;case 10:var $=f.type._context,P=f.memoizedProps.value;M2(x9,$._currentValue),$._currentValue=P;break;case 13:if($=f.memoizedState,$!==null)return $.dehydrated!==null?(M2(E8,E8.current&1),f.flags|=128,null):H&f.child.childLanes?Wo(d,f,H):(M2(E8,E8.current&1),d=rr(d,f,H),d!==null?d.sibling:null);M2(E8,E8.current&1);break;case 19:if($=(H&f.childLanes)!==0,d.flags&128){if($)return Pp(d,f,H);f.flags|=128}if(P=f.memoizedState,P!==null&&(P.rendering=null,P.tail=null,P.lastEffect=null),M2(E8,E8.current),$)break;return null;case 22:case 23:return f.lanes=0,ns(d,f,H)}return rr(d,f,H)}var nr,S4,i7,Go;nr=function(d,f){for(var H=f.child;H!==null;){if(H.tag===5||H.tag===6)d.appendChild(H.stateNode);else if(H.tag!==4&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===f)break;for(;H.sibling===null;){if(H.return===null||H.return===f)return;H=H.return}H.sibling.return=H.return,H=H.sibling}},S4=function(){},i7=function(d,f,H,$){var P=d.memoizedProps;if(P!==$){d=f.stateNode,a3(er.current);var T=null;switch(H){case"input":P=x0(d,P),$=x0(d,$),T=[];break;case"select":P=B({},P,{value:void 0}),$=B({},$,{value:void 0}),T=[];break;case"textarea":P=$0(d,P),$=$0(d,$),T=[];break;default:typeof P.onClick!="function"&&typeof $.onClick=="function"&&(d.onclick=k9)}je(H,$);var U;H=null;for(B0 in P)if(!$.hasOwnProperty(B0)&&P.hasOwnProperty(B0)&&P[B0]!=null)if(B0==="style"){var i0=P[B0];for(U in i0)i0.hasOwnProperty(U)&&(H||(H={}),H[U]="")}else B0!=="dangerouslySetInnerHTML"&&B0!=="children"&&B0!=="suppressContentEditableWarning"&&B0!=="suppressHydrationWarning"&&B0!=="autoFocus"&&(l.hasOwnProperty(B0)?T||(T=[]):(T=T||[]).push(B0,null));for(B0 in $){var p0=$[B0];if(i0=P!=null?P[B0]:void 0,$.hasOwnProperty(B0)&&p0!==i0&&(p0!=null||i0!=null))if(B0==="style")if(i0){for(U in i0)!i0.hasOwnProperty(U)||p0&&p0.hasOwnProperty(U)||(H||(H={}),H[U]="");for(U in p0)p0.hasOwnProperty(U)&&i0[U]!==p0[U]&&(H||(H={}),H[U]=p0[U])}else H||(T||(T=[]),T.push(B0,H)),H=p0;else B0==="dangerouslySetInnerHTML"?(p0=p0?p0.__html:void 0,i0=i0?i0.__html:void 0,p0!=null&&i0!==p0&&(T=T||[]).push(B0,p0)):B0==="children"?typeof p0!="string"&&typeof p0!="number"||(T=T||[]).push(B0,""+p0):B0!=="suppressContentEditableWarning"&&B0!=="suppressHydrationWarning"&&(l.hasOwnProperty(B0)?(p0!=null&&B0==="onScroll"&&Y2("scroll",d),T||i0===p0||(T=[])):(T=T||[]).push(B0,p0))}H&&(T=T||[]).push("style",H);var B0=T;(f.updateQueue=B0)&&(f.flags|=4)}},Go=function(d,f,H,$){H!==$&&(f.flags|=4)};function ya(d,f){if(!m8)switch(d.tailMode){case"hidden":f=d.tail;for(var H=null;f!==null;)f.alternate!==null&&(H=f),f=f.sibling;H===null?d.tail=null:H.sibling=null;break;case"collapsed":H=d.tail;for(var $=null;H!==null;)H.alternate!==null&&($=H),H=H.sibling;$===null?f||d.tail===null?d.tail=null:d.tail.sibling=null:$.sibling=null}}function y2(d){var f=d.alternate!==null&&d.alternate.child===d.child,H=0,$=0;if(f)for(var P=d.child;P!==null;)H|=P.lanes|P.childLanes,$|=P.subtreeFlags&14680064,$|=P.flags&14680064,P.return=d,P=P.sibling;else for(P=d.child;P!==null;)H|=P.lanes|P.childLanes,$|=P.subtreeFlags,$|=P.flags,P.return=d,P=P.sibling;return d.subtreeFlags|=$,d.childLanes=H,f}function OF(d,f,H){var $=f.pendingProps;switch(T9(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return y2(f),null;case 1:return X8(f.type)&&Ba(),y2(f),null;case 3:return $=f.stateNode,_o(),le(ke),le(Zt),U9(),$.pendingContext&&($.context=$.pendingContext,$.pendingContext=null),(d===null||d.child===null)&&(D9(f)?f.flags|=4:d===null||d.memoizedState.isDehydrated&&!(f.flags&256)||(f.flags|=1024,J6!==null&&(u3(J6),J6=null))),S4(d,f),y2(f),null;case 5:Ap(f);var P=a3(ko.current);if(H=f.type,d!==null&&f.stateNode!=null)i7(d,f,H,$,P),d.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!$){if(f.stateNode===null)throw Error(r(166));return y2(f),null}if(d=a3(er.current),D9(f)){$=f.stateNode,H=f.type;var T=f.memoizedProps;switch($[Y6]=f,$[G5]=T,d=(f.mode&1)!==0,H){case"dialog":Y2("cancel",$),Y2("close",$);break;case"iframe":case"object":case"embed":Y2("load",$);break;case"video":case"audio":for(P=0;P<xr.length;P++)Y2(xr[P],$);break;case"source":Y2("error",$);break;case"img":case"image":case"link":Y2("error",$),Y2("load",$);break;case"details":Y2("toggle",$);break;case"input":k0($,T),Y2("invalid",$);break;case"select":$._wrapperState={wasMultiple:!!T.multiple},Y2("invalid",$);break;case"textarea":N0($,T),Y2("invalid",$)}je(H,T),P=null;for(var U in T)if(T.hasOwnProperty(U)){var i0=T[U];U==="children"?typeof i0=="string"?$.textContent!==i0&&(T.suppressHydrationWarning!==!0&&U5($.textContent,i0,d),P=["children",i0]):typeof i0=="number"&&$.textContent!==""+i0&&(T.suppressHydrationWarning!==!0&&U5($.textContent,i0,d),P=["children",""+i0]):l.hasOwnProperty(U)&&i0!=null&&U==="onScroll"&&Y2("scroll",$)}switch(H){case"input":Z0($),A1($,T,!0);break;case"textarea":Z0($),Q0($);break;case"select":case"option":break;default:typeof T.onClick=="function"&&($.onclick=k9)}$=P,f.updateQueue=$,$!==null&&(f.flags|=4)}else{U=P.nodeType===9?P:P.ownerDocument,d==="http://www.w3.org/1999/xhtml"&&(d=w1(H)),d==="http://www.w3.org/1999/xhtml"?H==="script"?(d=U.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild)):typeof $.is=="string"?d=U.createElement(H,{is:$.is}):(d=U.createElement(H),H==="select"&&(U=d,$.multiple?U.multiple=!0:$.size&&(U.size=$.size))):d=U.createElementNS(d,H),d[Y6]=f,d[G5]=$,nr(d,f,!1,!1),f.stateNode=d;e:{switch(U=Z2(H,$),H){case"dialog":Y2("cancel",d),Y2("close",d),P=$;break;case"iframe":case"object":case"embed":Y2("load",d),P=$;break;case"video":case"audio":for(P=0;P<xr.length;P++)Y2(xr[P],d);P=$;break;case"source":Y2("error",d),P=$;break;case"img":case"image":case"link":Y2("error",d),Y2("load",d),P=$;break;case"details":Y2("toggle",d),P=$;break;case"input":k0(d,$),P=x0(d,$),Y2("invalid",d);break;case"option":P=$;break;case"select":d._wrapperState={wasMultiple:!!$.multiple},P=B({},$,{value:void 0}),Y2("invalid",d);break;case"textarea":N0(d,$),P=$0(d,$),Y2("invalid",d);break;default:P=$}je(H,P),i0=P;for(T in i0)if(i0.hasOwnProperty(T)){var p0=i0[T];T==="style"?de(d,p0):T==="dangerouslySetInnerHTML"?(p0=p0?p0.__html:void 0,p0!=null&&K1(d,p0)):T==="children"?typeof p0=="string"?(H!=="textarea"||p0!=="")&&Ie(d,p0):typeof p0=="number"&&Ie(d,""+p0):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(l.hasOwnProperty(T)?p0!=null&&T==="onScroll"&&Y2("scroll",d):p0!=null&&k(d,T,p0,U))}switch(H){case"input":Z0(d),A1(d,$,!1);break;case"textarea":Z0(d),Q0(d);break;case"option":$.value!=null&&d.setAttribute("value",""+X($.value));break;case"select":d.multiple=!!$.multiple,T=$.value,T!=null?u1(d,!!$.multiple,T,!1):$.defaultValue!=null&&u1(d,!!$.multiple,$.defaultValue,!0);break;default:typeof P.onClick=="function"&&(d.onclick=k9)}switch(H){case"button":case"input":case"select":case"textarea":$=!!$.autoFocus;break e;case"img":$=!0;break e;default:$=!1}}$&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return y2(f),null;case 6:if(d&&f.stateNode!=null)Go(d,f,d.memoizedProps,$);else{if(typeof $!="string"&&f.stateNode===null)throw Error(r(166));if(H=a3(ko.current),a3(er.current),D9(f)){if($=f.stateNode,H=f.memoizedProps,$[Y6]=f,(T=$.nodeValue!==H)&&(d=Z6,d!==null))switch(d.tag){case 3:U5($.nodeValue,H,(d.mode&1)!==0);break;case 5:d.memoizedProps.suppressHydrationWarning!==!0&&U5($.nodeValue,H,(d.mode&1)!==0)}T&&(f.flags|=4)}else $=(H.nodeType===9?H:H.ownerDocument).createTextNode($),$[Y6]=f,f.stateNode=$}return y2(f),null;case 13:if(le(E8),$=f.memoizedState,d===null||d.memoizedState!==null&&d.memoizedState.dehydrated!==null){if(m8&&y6!==null&&f.mode&1&&!(f.flags&128))oy(),Lo(),f.flags|=98560,T=!1;else if(T=D9(f),$!==null&&$.dehydrated!==null){if(d===null){if(!T)throw Error(r(318));if(T=f.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(r(317));T[Y6]=f}else Lo(),!(f.flags&128)&&(f.memoizedState=null),f.flags|=4;y2(f),T=!1}else J6!==null&&(u3(J6),J6=null),T=!0;if(!T)return f.flags&65536?f:null}return f.flags&128?(f.lanes=H,f):($=$!==null,$!==(d!==null&&d.memoizedState!==null)&&$&&(f.child.flags|=8192,f.mode&1&&(d===null||E8.current&1?ut===0&&(ut=3):zp())),f.updateQueue!==null&&(f.flags|=4),y2(f),null);case 4:return _o(),S4(d,f),d===null&&Q4(f.stateNode.containerInfo),y2(f),null;case 10:return b6(f.type._context),y2(f),null;case 17:return X8(f.type)&&Ba(),y2(f),null;case 19:if(le(E8),T=f.memoizedState,T===null)return y2(f),null;if($=(f.flags&128)!==0,U=T.rendering,U===null)if($)ya(T,!1);else{if(ut!==0||d!==null&&d.flags&128)for(d=f.child;d!==null;){if(U=Q5(d),U!==null){for(f.flags|=128,ya(T,!1),$=U.updateQueue,$!==null&&(f.updateQueue=$,f.flags|=4),f.subtreeFlags=0,$=H,H=f.child;H!==null;)T=H,d=$,T.flags&=14680066,U=T.alternate,U===null?(T.childLanes=0,T.lanes=d,T.child=null,T.subtreeFlags=0,T.memoizedProps=null,T.memoizedState=null,T.updateQueue=null,T.dependencies=null,T.stateNode=null):(T.childLanes=U.childLanes,T.lanes=U.lanes,T.child=U.child,T.subtreeFlags=0,T.deletions=null,T.memoizedProps=U.memoizedProps,T.memoizedState=U.memoizedState,T.updateQueue=U.updateQueue,T.type=U.type,d=U.dependencies,T.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext}),H=H.sibling;return M2(E8,E8.current&1|2),f.child}d=d.sibling}T.tail!==null&&R1()>s3&&(f.flags|=128,$=!0,ya(T,!1),f.lanes=4194304)}else{if(!$)if(d=Q5(U),d!==null){if(f.flags|=128,$=!0,H=d.updateQueue,H!==null&&(f.updateQueue=H,f.flags|=4),ya(T,!0),T.tail===null&&T.tailMode==="hidden"&&!U.alternate&&!m8)return y2(f),null}else 2*R1()-T.renderingStartTime>s3&&H!==1073741824&&(f.flags|=128,$=!0,ya(T,!1),f.lanes=4194304);T.isBackwards?(U.sibling=f.child,f.child=U):(H=T.last,H!==null?H.sibling=U:f.child=U,T.last=U)}return T.tail!==null?(f=T.tail,T.rendering=f,T.tail=f.sibling,T.renderingStartTime=R1(),f.sibling=null,H=E8.current,M2(E8,$?H&1|2:H&1),f):(y2(f),null);case 22:case 23:return Xo(),$=f.memoizedState!==null,d!==null&&d.memoizedState!==null!==$&&(f.flags|=8192),$&&f.mode&1?Ea&1073741824&&(y2(f),f.subtreeFlags&6&&(f.flags|=8192)):y2(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}function $F(d,f){switch(T9(f),f.tag){case 1:return X8(f.type)&&Ba(),d=f.flags,d&65536?(f.flags=d&-65537|128,f):null;case 3:return _o(),le(ke),le(Zt),U9(),d=f.flags,d&65536&&!(d&128)?(f.flags=d&-65537|128,f):null;case 5:return Ap(f),null;case 13:if(le(E8),d=f.memoizedState,d!==null&&d.dehydrated!==null){if(f.alternate===null)throw Error(r(340));Lo()}return d=f.flags,d&65536?(f.flags=d&-65537|128,f):null;case 19:return le(E8),null;case 4:return _o(),null;case 10:return b6(f.type._context),null;case 22:case 23:return Xo(),null;case 24:return null;default:return null}}var os=!1,yt=!1,Zy=typeof WeakSet=="function"?WeakSet:Set,B1=null;function o3(d,f){var H=d.ref;if(H!==null)if(typeof H=="function")try{H(null)}catch($){j8(d,f,$)}else H.current=null}function kp(d,f,H){try{H()}catch($){j8(d,f,$)}}var yy=!1;function _p(d,f){if(rp=H0,d=qZ(),T5(d)){if("selectionStart"in d)var H={start:d.selectionStart,end:d.selectionEnd};else e:{H=(H=d.ownerDocument)&&H.defaultView||window;var $=H.getSelection&&H.getSelection();if($&&$.rangeCount!==0){H=$.anchorNode;var P=$.anchorOffset,T=$.focusNode;$=$.focusOffset;try{H.nodeType,T.nodeType}catch{H=null;break e}var U=0,i0=-1,p0=-1,B0=0,m1=0,v1=d,s1=null;t:for(;;){for(var x1;v1!==H||P!==0&&v1.nodeType!==3||(i0=U+P),v1!==T||$!==0&&v1.nodeType!==3||(p0=U+$),v1.nodeType===3&&(U+=v1.nodeValue.length),(x1=v1.firstChild)!==null;)s1=v1,v1=x1;for(;;){if(v1===d)break t;if(s1===H&&++B0===P&&(i0=U),s1===T&&++m1===$&&(p0=U),(x1=v1.nextSibling)!==null)break;v1=s1,s1=v1.parentNode}v1=x1}H=i0===-1||p0===-1?null:{start:i0,end:p0}}else H=null}H=H||{start:0,end:0}}else H=null;for(np={focusedElem:d,selectionRange:H},H0=!1,B1=f;B1!==null;)if(f=B1,d=f.child,(f.subtreeFlags&1028)!==0&&d!==null)d.return=f,B1=d;else for(;B1!==null;){f=B1;try{var X1=f.alternate;if(f.flags&1024)switch(f.tag){case 0:case 11:case 15:break;case 1:if(X1!==null){var re=X1.memoizedProps,D8=X1.memoizedState,P0=f.stateNode,E0=P0.getSnapshotBeforeUpdate(f.elementType===f.type?re:Qa(f.type,re),D8);P0.__reactInternalSnapshotBeforeUpdate=E0}break;case 3:var D0=f.stateNode.containerInfo;D0.nodeType===1?D0.textContent="":D0.nodeType===9&&D0.documentElement&&D0.removeChild(D0.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(M1){j8(f,f.return,M1)}if(d=f.sibling,d!==null){d.return=f.return,B1=d;break}B1=f.return}return X1=yy,yy=!1,X1}function c7(d,f,H){var $=f.updateQueue;if($=$!==null?$.lastEffect:null,$!==null){var P=$=$.next;do{if((P.tag&d)===d){var T=P.destroy;P.destroy=void 0,T!==void 0&&kp(f,H,T)}P=P.next}while(P!==$)}}function s7(d,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var H=f=f.next;do{if((H.tag&d)===d){var $=H.create;H.destroy=$()}H=H.next}while(H!==f)}}function Cp(d){var f=d.ref;if(f!==null){var H=d.stateNode;switch(d.tag){case 5:d=H;break;default:d=H}typeof f=="function"?f(d):f.current=d}}function Np(d){var f=d.alternate;f!==null&&(d.alternate=null,Np(f)),d.child=null,d.deletions=null,d.sibling=null,d.tag===5&&(f=d.stateNode,f!==null&&(delete f[Y6],delete f[G5],delete f[cp],delete f[ZF],delete f[yF])),d.stateNode=null,d.return=null,d.dependencies=null,d.memoizedProps=null,d.memoizedState=null,d.pendingProps=null,d.stateNode=null,d.updateQueue=null}function by(d){return d.tag===5||d.tag===3||d.tag===4}function Tp(d){e:for(;;){for(;d.sibling===null;){if(d.return===null||by(d.return))return null;d=d.return}for(d.sibling.return=d.return,d=d.sibling;d.tag!==5&&d.tag!==6&&d.tag!==18;){if(d.flags&2||d.child===null||d.tag===4)continue e;d.child.return=d,d=d.child}if(!(d.flags&2))return d.stateNode}}function Ip(d,f,H){var $=d.tag;if($===5||$===6)d=d.stateNode,f?H.nodeType===8?H.parentNode.insertBefore(d,f):H.insertBefore(d,f):(H.nodeType===8?(f=H.parentNode,f.insertBefore(d,H)):(f=H,f.appendChild(d)),H=H._reactRootContainer,H!=null||f.onclick!==null||(f.onclick=k9));else if($!==4&&(d=d.child,d!==null))for(Ip(d,f,H),d=d.sibling;d!==null;)Ip(d,f,H),d=d.sibling}function m7(d,f,H){var $=d.tag;if($===5||$===6)d=d.stateNode,f?H.insertBefore(d,f):H.appendChild(d);else if($!==4&&(d=d.child,d!==null))for(m7(d,f,H),d=d.sibling;d!==null;)m7(d,f,H),d=d.sibling}var et=null,bt=!1;function ba(d,f,H){for(H=H.child;H!==null;)Qr(d,f,H),H=H.sibling}function Qr(d,f,H){if(H8&&typeof H8.onCommitFiberUnmount=="function")try{H8.onCommitFiberUnmount(N8,H)}catch{}switch(H.tag){case 5:yt||o3(H,f);case 6:var $=et,P=bt;et=null,ba(d,f,H),et=$,bt=P,et!==null&&(bt?(d=et,H=H.stateNode,d.nodeType===8?d.parentNode.removeChild(H):d.removeChild(H)):et.removeChild(H.stateNode));break;case 18:et!==null&&(bt?(d=et,H=H.stateNode,d.nodeType===8?ip(d.parentNode,H):d.nodeType===1&&ip(d,H),za(d)):ip(et,H.stateNode));break;case 4:$=et,P=bt,et=H.stateNode.containerInfo,bt=!0,ba(d,f,H),et=$,bt=P;break;case 0:case 11:case 14:case 15:if(!yt&&($=H.updateQueue,$!==null&&($=$.lastEffect,$!==null))){P=$=$.next;do{var T=P,U=T.destroy;T=T.tag,U!==void 0&&(T&2||T&4)&&kp(H,f,U),P=P.next}while(P!==$)}ba(d,f,H);break;case 1:if(!yt&&(o3(H,f),$=H.stateNode,typeof $.componentWillUnmount=="function"))try{$.props=H.memoizedProps,$.state=H.memoizedState,$.componentWillUnmount()}catch(i0){j8(H,f,i0)}ba(d,f,H);break;case 21:ba(d,f,H);break;case 22:H.mode&1?(yt=($=yt)||H.memoizedState!==null,ba(d,f,H),yt=$):ba(d,f,H);break;default:ba(d,f,H)}}function Yo(d){var f=d.updateQueue;if(f!==null){d.updateQueue=null;var H=d.stateNode;H===null&&(H=d.stateNode=new Zy),f.forEach(function($){var P=Up.bind(null,d,$);H.has($)||(H.add($),$.then(P,P))})}}function Ha(d,f){var H=f.deletions;if(H!==null)for(var $=0;$<H.length;$++){var P=H[$];try{var T=d,U=f,i0=U;e:for(;i0!==null;){switch(i0.tag){case 5:et=i0.stateNode,bt=!1;break e;case 3:et=i0.stateNode.containerInfo,bt=!0;break e;case 4:et=i0.stateNode.containerInfo,bt=!0;break e}i0=i0.return}if(et===null)throw Error(r(160));Qr(T,U,P),et=null,bt=!1;var p0=P.alternate;p0!==null&&(p0.return=null),P.return=null}catch(B0){j8(P,f,B0)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)Kr(f,d),f=f.sibling}function Kr(d,f){var H=d.alternate,$=d.flags;switch(d.tag){case 0:case 11:case 14:case 15:if(Ha(f,d),lr(d),$&4){try{c7(3,d,d.return),s7(3,d)}catch(re){j8(d,d.return,re)}try{c7(5,d,d.return)}catch(re){j8(d,d.return,re)}}break;case 1:Ha(f,d),lr(d),$&512&&H!==null&&o3(H,H.return);break;case 5:if(Ha(f,d),lr(d),$&512&&H!==null&&o3(H,H.return),d.flags&32){var P=d.stateNode;try{Ie(P,"")}catch(re){j8(d,d.return,re)}}if($&4&&(P=d.stateNode,P!=null)){var T=d.memoizedProps,U=H!==null?H.memoizedProps:T,i0=d.type,p0=d.updateQueue;if(d.updateQueue=null,p0!==null)try{i0==="input"&&T.type==="radio"&&T.name!=null&&W0(P,T),Z2(i0,U);var B0=Z2(i0,T);for(U=0;U<p0.length;U+=2){var m1=p0[U],v1=p0[U+1];m1==="style"?de(P,v1):m1==="dangerouslySetInnerHTML"?K1(P,v1):m1==="children"?Ie(P,v1):k(P,m1,v1,B0)}switch(i0){case"input":t1(P,T);break;case"textarea":F0(P,T);break;case"select":var s1=P._wrapperState.wasMultiple;P._wrapperState.wasMultiple=!!T.multiple;var x1=T.value;x1!=null?u1(P,!!T.multiple,x1,!1):s1!==!!T.multiple&&(T.defaultValue!=null?u1(P,!!T.multiple,T.defaultValue,!0):u1(P,!!T.multiple,T.multiple?[]:"",!1))}P[G5]=T}catch(re){j8(d,d.return,re)}}break;case 6:if(Ha(f,d),lr(d),$&4){if(d.stateNode===null)throw Error(r(162));P=d.stateNode,T=d.memoizedProps;try{P.nodeValue=T}catch(re){j8(d,d.return,re)}}break;case 3:if(Ha(f,d),lr(d),$&4&&H!==null&&H.memoizedState.isDehydrated)try{za(f.containerInfo)}catch(re){j8(d,d.return,re)}break;case 4:Ha(f,d),lr(d);break;case 13:Ha(f,d),lr(d),P=d.child,P.flags&8192&&(T=P.memoizedState!==null,P.stateNode.isHidden=T,!T||P.alternate!==null&&P.alternate.memoizedState!==null||(h7=R1())),$&4&&Yo(d);break;case 22:if(m1=H!==null&&H.memoizedState!==null,d.mode&1?(yt=(B0=yt)||m1,Ha(f,d),yt=B0):Ha(f,d),lr(d),$&8192){if(B0=d.memoizedState!==null,(d.stateNode.isHidden=B0)&&!m1&&d.mode&1)for(B1=d,m1=d.child;m1!==null;){for(v1=B1=m1;B1!==null;){switch(s1=B1,x1=s1.child,s1.tag){case 0:case 11:case 14:case 15:c7(4,s1,s1.return);break;case 1:o3(s1,s1.return);var X1=s1.stateNode;if(typeof X1.componentWillUnmount=="function"){$=s1,H=s1.return;try{f=$,X1.props=f.memoizedProps,X1.state=f.memoizedState,X1.componentWillUnmount()}catch(re){j8($,H,re)}}break;case 5:o3(s1,s1.return);break;case 22:if(s1.memoizedState!==null){Qo(v1);continue}}x1!==null?(x1.return=s1,B1=x1):Qo(v1)}m1=m1.sibling}e:for(m1=null,v1=d;;){if(v1.tag===5){if(m1===null){m1=v1;try{P=v1.stateNode,B0?(T=P.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none"):(i0=v1.stateNode,p0=v1.memoizedProps.style,U=p0!=null&&p0.hasOwnProperty("display")?p0.display:null,i0.style.display=P1("display",U))}catch(re){j8(d,d.return,re)}}}else if(v1.tag===6){if(m1===null)try{v1.stateNode.nodeValue=B0?"":v1.memoizedProps}catch(re){j8(d,d.return,re)}}else if((v1.tag!==22&&v1.tag!==23||v1.memoizedState===null||v1===d)&&v1.child!==null){v1.child.return=v1,v1=v1.child;continue}if(v1===d)break e;for(;v1.sibling===null;){if(v1.return===null||v1.return===d)break e;m1===v1&&(m1=null),v1=v1.return}m1===v1&&(m1=null),v1.sibling.return=v1.return,v1=v1.sibling}}break;case 19:Ha(f,d),lr(d),$&4&&Yo(d);break;case 21:break;default:Ha(f,d),lr(d)}}function lr(d){var f=d.flags;if(f&2){try{e:{for(var H=d.return;H!==null;){if(by(H)){var $=H;break e}H=H.return}throw Error(r(160))}switch($.tag){case 5:var P=$.stateNode;$.flags&32&&(Ie(P,""),$.flags&=-33);var T=Tp(d);m7(d,T,P);break;case 3:case 4:var U=$.stateNode.containerInfo,i0=Tp(d);Ip(d,i0,U);break;default:throw Error(r(161))}}catch(p0){j8(d,d.return,p0)}d.flags&=-3}f&4096&&(d.flags&=-4097)}function wF(d,f,H){B1=d,Hy(d)}function Hy(d,f,H){for(var $=(d.mode&1)!==0;B1!==null;){var P=B1,T=P.child;if(P.tag===22&&$){var U=P.memoizedState!==null||os;if(!U){var i0=P.alternate,p0=i0!==null&&i0.memoizedState!==null||yt;i0=os;var B0=yt;if(os=U,(yt=p0)&&!B0)for(B1=P;B1!==null;)U=B1,p0=U.child,U.tag===22&&U.memoizedState!==null?Ey(P):p0!==null?(p0.return=U,B1=p0):Ey(P);for(;T!==null;)B1=T,Hy(T),T=T.sibling;B1=P,os=i0,yt=B0}Dp(d)}else P.subtreeFlags&8772&&T!==null?(T.return=P,B1=T):Dp(d)}}function Dp(d){for(;B1!==null;){var f=B1;if(f.flags&8772){var H=f.alternate;try{if(f.flags&8772)switch(f.tag){case 0:case 11:case 15:yt||s7(5,f);break;case 1:var $=f.stateNode;if(f.flags&4&&!yt)if(H===null)$.componentDidMount();else{var P=f.elementType===f.type?H.memoizedProps:Qa(f.type,H.memoizedProps);$.componentDidUpdate(P,H.memoizedState,$.__reactInternalSnapshotBeforeUpdate)}var T=f.updateQueue;T!==null&&my(f,T,$);break;case 3:var U=f.updateQueue;if(U!==null){if(H=null,f.child!==null)switch(f.child.tag){case 5:H=f.child.stateNode;break;case 1:H=f.child.stateNode}my(f,U,H)}break;case 5:var i0=f.stateNode;if(H===null&&f.flags&4){H=i0;var p0=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":p0.autoFocus&&H.focus();break;case"img":p0.src&&(H.src=p0.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var B0=f.alternate;if(B0!==null){var m1=B0.memoizedState;if(m1!==null){var v1=m1.dehydrated;v1!==null&&za(v1)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}yt||f.flags&512&&Cp(f)}catch(s1){j8(f,f.return,s1)}}if(f===d){B1=null;break}if(H=f.sibling,H!==null){H.return=f.return,B1=H;break}B1=f.return}}function Qo(d){for(;B1!==null;){var f=B1;if(f===d){B1=null;break}var H=f.sibling;if(H!==null){H.return=f.return,B1=H;break}B1=f.return}}function Ey(d){for(;B1!==null;){var f=B1;try{switch(f.tag){case 0:case 11:case 15:var H=f.return;try{s7(4,f)}catch(p0){j8(f,H,p0)}break;case 1:var $=f.stateNode;if(typeof $.componentDidMount=="function"){var P=f.return;try{$.componentDidMount()}catch(p0){j8(f,P,p0)}}var T=f.return;try{Cp(f)}catch(p0){j8(f,T,p0)}break;case 5:var U=f.return;try{Cp(f)}catch(p0){j8(f,U,p0)}}}catch(p0){j8(f,f.return,p0)}if(f===d){B1=null;break}var i0=f.sibling;if(i0!==null){i0.return=f.return,B1=i0;break}B1=f.return}}var My=Math.ceil,is=N.ReactCurrentDispatcher,Ko=N.ReactCurrentOwner,O6=N.ReactCurrentBatchConfig,b2=0,L8=null,A8=null,F8=0,Ea=0,i3=Q2(0),ut=0,u7=null,c3=0,cs=0,d7=0,p7=null,It=null,h7=0,s3=1/0,Xr=null,ss=!1,xp=null,al=null,rl=!1,or=null,nl=0,f7=0,Rp=null,v7=-1,g7=0;function Ht(){return b2&6?R1():v7!==-1?v7:v7=R1()}function L4(d){return d.mode&1?b2&2&&F8!==0?F8&-F8:bF.transition!==null?(g7===0&&(g7=xa()),g7):(d=a2,d!==0||(d=window.event,d=d===void 0?16:K8(d.type)),d):1}function a4(d,f,H,$){if(50<f7)throw f7=0,Rp=null,Error(r(185));W6(d,H,$),(!(b2&2)||d!==L8)&&(d===L8&&(!(b2&2)&&(cs|=H),ut===4&&ir(d,F8)),n8(d,$),H===1&&b2===0&&!(f.mode&1)&&(s3=R1()+500,Bn&&J4()))}function n8(d,f){var H=d.callbackNode;h6(d,f);var $=p6(d,d===L8?F8:0);if($===0)H!==null&&m0(H),d.callbackNode=null,d.callbackPriority=0;else if(f=$&-$,d.callbackPriority!==f){if(H!=null&&m0(H),f===1)d.tag===0?ly(ms.bind(null,d)):C9(ms.bind(null,d)),ry(function(){!(b2&6)&&J4()}),H=null;else{switch(ql($)){case 1:H=g2;break;case 4:H=We;break;case 16:H=ce;break;case 536870912:H=Ke;break;default:H=ce}H=Py(H,m3.bind(null,d))}d.callbackPriority=f,d.callbackNode=H}}function m3(d,f){if(v7=-1,g7=0,b2&6)throw Error(r(327));var H=d.callbackNode;if(ei()&&d.callbackNode!==H)return null;var $=p6(d,d===L8?F8:0);if($===0)return null;if($&30||$&d.expiredLanes||f)f=Jo(d,$);else{f=$;var P=b2;b2|=2;var T=Oy();(L8!==d||F8!==f)&&(Xr=null,s3=R1()+500,ll(d,f));do try{FF();break}catch(i0){Vy(d,i0)}while(!0);e4(),is.current=T,b2=P,A8!==null?f=0:(L8=null,F8=0,f=ut)}if(f!==0){if(f===2&&(P=Y8(d),P!==0&&($=P,f=A7(d,P))),f===1)throw H=u7,ll(d,0),ir(d,$),n8(d,R1()),H;if(f===6)ir(d,$);else{if(P=d.current.alternate,!($&30)&&!SF(P)&&(f=Jo(d,$),f===2&&(T=Y8(d),T!==0&&($=T,f=A7(d,T))),f===1))throw H=u7,ll(d,0),ir(d,$),n8(d,R1()),H;switch(d.finishedWork=P,d.finishedLanes=$,f){case 0:case 1:throw Error(r(345));case 2:h3(d,It,Xr);break;case 3:if(ir(d,$),($&130023424)===$&&(f=h7+500-R1(),10<f)){if(p6(d,0)!==0)break;if(P=d.suspendedLanes,(P&$)!==$){Ht(),d.pingedLanes|=d.suspendedLanes&P;break}d.timeoutHandle=B5(h3.bind(null,d,It,Xr),f);break}h3(d,It,Xr);break;case 4:if(ir(d,$),($&4194240)===$)break;for(f=d.eventTimes,P=-1;0<$;){var U=31-U2($);T=1<<U,U=f[U],U>P&&(P=U),$&=~T}if($=P,$=R1()-$,$=(120>$?120:480>$?480:1080>$?1080:1920>$?1920:3e3>$?3e3:4320>$?4320:1960*My($/1960))-$,10<$){d.timeoutHandle=B5(h3.bind(null,d,It,Xr),$);break}h3(d,It,Xr);break;case 5:h3(d,It,Xr);break;default:throw Error(r(329))}}}return n8(d,R1()),d.callbackNode===H?m3.bind(null,d):null}function A7(d,f){var H=p7;return d.current.memoizedState.isDehydrated&&(ll(d,f).flags|=256),d=Jo(d,f),d!==2&&(f=It,It=H,f!==null&&u3(f)),d}function u3(d){It===null?It=d:It.push.apply(It,d)}function SF(d){for(var f=d;;){if(f.flags&16384){var H=f.updateQueue;if(H!==null&&(H=H.stores,H!==null))for(var $=0;$<H.length;$++){var P=H[$],T=P.getSnapshot;P=P.value;try{if(!E4(T(),P))return!1}catch{return!1}}}if(H=f.child,f.subtreeFlags&16384&&H!==null)H.return=f,f=H;else{if(f===d)break;for(;f.sibling===null;){if(f.return===null||f.return===d)return!0;f=f.return}f.sibling.return=f.return,f=f.sibling}}return!0}function ir(d,f){for(f&=~d7,f&=~cs,d.suspendedLanes|=f,d.pingedLanes&=~f,d=d.expirationTimes;0<f;){var H=31-U2(f),$=1<<H;d[H]=-1,f&=~$}}function ms(d){if(b2&6)throw Error(r(327));ei();var f=p6(d,0);if(!(f&1))return n8(d,R1()),null;var H=Jo(d,f);if(d.tag!==0&&H===2){var $=Y8(d);$!==0&&(f=$,H=A7(d,$))}if(H===1)throw H=u7,ll(d,0),ir(d,f),n8(d,R1()),H;if(H===6)throw Error(r(345));return d.finishedWork=d.current.alternate,d.finishedLanes=f,h3(d,It,Xr),n8(d,R1()),null}function d3(d,f){var H=b2;b2|=1;try{return d(f)}finally{b2=H,b2===0&&(s3=R1()+500,Bn&&J4())}}function p3(d){or!==null&&or.tag===0&&!(b2&6)&&ei();var f=b2;b2|=1;var H=O6.transition,$=a2;try{if(O6.transition=null,a2=1,d)return d()}finally{a2=$,O6.transition=H,b2=f,!(b2&6)&&J4()}}function Xo(){Ea=i3.current,le(i3)}function ll(d,f){d.finishedWork=null,d.finishedLanes=0;var H=d.timeoutHandle;if(H!==-1&&(d.timeoutHandle=-1,q5(H)),A8!==null)for(H=A8.return;H!==null;){var $=H;switch(T9($),$.tag){case 1:$=$.type.childContextTypes,$!=null&&Ba();break;case 3:_o(),le(ke),le(Zt),U9();break;case 5:Ap($);break;case 4:_o();break;case 13:le(E8);break;case 19:le(E8);break;case 10:b6($.type._context);break;case 22:case 23:Xo()}H=H.return}if(L8=d,A8=d=ol(d.current,null),F8=Ea=f,ut=0,u7=null,d7=cs=c3=0,It=p7=null,t3!==null){for(f=0;f<t3.length;f++)if(H=t3[f],$=H.interleaved,$!==null){H.interleaved=null;var P=$.next,T=H.pending;if(T!==null){var U=T.next;T.next=P,$.next=U}H.pending=$}t3=null}return d}function Vy(d,f){do{var H=A8;try{if(e4(),B9.current=ar,u8){for(var $=_1.memoizedState;$!==null;){var P=$.queue;P!==null&&(P.pending=null),$=$.next}u8=!1}if(Gr=0,Se=fe=_1=null,Ya=!1,Co=0,Ko.current=null,H===null||H.return===null){ut=1,u7=f,A8=null;break}e:{var T=d,U=H.return,i0=H,p0=f;if(f=F8,i0.flags|=32768,p0!==null&&typeof p0=="object"&&typeof p0.then=="function"){var B0=p0,m1=i0,v1=m1.tag;if(!(m1.mode&1)&&(v1===0||v1===11||v1===15)){var s1=m1.alternate;s1?(m1.updateQueue=s1.updateQueue,m1.memoizedState=s1.memoizedState,m1.lanes=s1.lanes):(m1.updateQueue=null,m1.memoizedState=null)}var x1=r7(U);if(x1!==null){x1.flags&=-257,gy(x1,U,i0,T,f),x1.mode&1&&vy(T,B0,f),f=x1,p0=B0;var X1=f.updateQueue;if(X1===null){var re=new Set;re.add(p0),f.updateQueue=re}else X1.add(p0);break e}else{if(!(f&1)){vy(T,B0,f),zp();break e}p0=Error(r(426))}}else if(m8&&i0.mode&1){var D8=r7(U);if(D8!==null){!(D8.flags&65536)&&(D8.flags|=256),gy(D8,U,i0,T,f),J8(Uo(p0,i0));break e}}T=p0=Uo(p0,i0),ut!==4&&(ut=2),p7===null?p7=[T]:p7.push(T),T=U;do{switch(T.tag){case 3:T.flags|=65536,f&=-f,T.lanes|=f;var P0=wp(T,p0,f);sy(T,P0);break e;case 1:i0=p0;var E0=T.type,D0=T.stateNode;if(!(T.flags&128)&&(typeof E0.getDerivedStateFromError=="function"||D0!==null&&typeof D0.componentDidCatch=="function"&&(al===null||!al.has(D0)))){T.flags|=65536,f&=-f,T.lanes|=f;var M1=fy(T,i0,f);sy(T,M1);break e}}T=T.return}while(T!==null)}wy(H)}catch(oe){f=oe,A8===H&&H!==null&&(A8=H=H.return);continue}break}while(!0)}function Oy(){var d=is.current;return is.current=ar,d===null?ar:d}function zp(){(ut===0||ut===3||ut===2)&&(ut=4),L8===null||!(c3&268435455)&&!(cs&268435455)||ir(L8,F8)}function Jo(d,f){var H=b2;b2|=2;var $=Oy();(L8!==d||F8!==f)&&(Xr=null,ll(d,f));do try{LF();break}catch(P){Vy(d,P)}while(!0);if(e4(),b2=H,is.current=$,A8!==null)throw Error(r(261));return L8=null,F8=0,ut}function LF(){for(;A8!==null;)$y(A8)}function FF(){for(;A8!==null&&!e1();)$y(A8)}function $y(d){var f=jy(d.alternate,d,Ea);d.memoizedProps=d.pendingProps,f===null?wy(d):A8=f,Ko.current=null}function wy(d){var f=d;do{var H=f.alternate;if(d=f.return,f.flags&32768){if(H=$F(H,f),H!==null){H.flags&=32767,A8=H;return}if(d!==null)d.flags|=32768,d.subtreeFlags=0,d.deletions=null;else{ut=6,A8=null;return}}else if(H=OF(H,f,Ea),H!==null){A8=H;return}if(f=f.sibling,f!==null){A8=f;return}A8=f=d}while(f!==null);ut===0&&(ut=5)}function h3(d,f,H){var $=a2,P=O6.transition;try{O6.transition=null,a2=1,Sy(d,f,H,$)}finally{O6.transition=P,a2=$}return null}function Sy(d,f,H,$){do ei();while(or!==null);if(b2&6)throw Error(r(327));H=d.finishedWork;var P=d.finishedLanes;if(H===null)return null;if(d.finishedWork=null,d.finishedLanes=0,H===d.current)throw Error(r(177));d.callbackNode=null,d.callbackPriority=0;var T=H.lanes|H.childLanes;if(Bl(d,T),d===L8&&(A8=L8=null,F8=0),!(H.subtreeFlags&2064)&&!(H.flags&2064)||rl||(rl=!0,Py(ce,function(){return ei(),null})),T=(H.flags&15990)!==0,H.subtreeFlags&15990||T){T=O6.transition,O6.transition=null;var U=a2;a2=1;var i0=b2;b2|=4,Ko.current=null,_p(d,H),Kr(H,d),Gl(np),H0=!!rp,np=rp=null,d.current=H,wF(H),p1(),b2=i0,a2=U,O6.transition=T}else d.current=H;if(rl&&(rl=!1,or=d,nl=P),T=d.pendingLanes,T===0&&(al=null),L2(H.stateNode),n8(d,R1()),f!==null)for($=d.onRecoverableError,H=0;H<f.length;H++)P=f[H],$(P.value,{componentStack:P.stack,digest:P.digest});if(ss)throw ss=!1,d=xp,xp=null,d;return nl&1&&d.tag!==0&&ei(),T=d.pendingLanes,T&1?d===Rp?f7++:(f7=0,Rp=d):f7=0,J4(),null}function ei(){if(or!==null){var d=ql(nl),f=O6.transition,H=a2;try{if(O6.transition=null,a2=16>d?16:d,or===null)var $=!1;else{if(d=or,or=null,nl=0,b2&6)throw Error(r(331));var P=b2;for(b2|=4,B1=d.current;B1!==null;){var T=B1,U=T.child;if(B1.flags&16){var i0=T.deletions;if(i0!==null){for(var p0=0;p0<i0.length;p0++){var B0=i0[p0];for(B1=B0;B1!==null;){var m1=B1;switch(m1.tag){case 0:case 11:case 15:c7(8,m1,T)}var v1=m1.child;if(v1!==null)v1.return=m1,B1=v1;else for(;B1!==null;){m1=B1;var s1=m1.sibling,x1=m1.return;if(Np(m1),m1===B0){B1=null;break}if(s1!==null){s1.return=x1,B1=s1;break}B1=x1}}}var X1=T.alternate;if(X1!==null){var re=X1.child;if(re!==null){X1.child=null;do{var D8=re.sibling;re.sibling=null,re=D8}while(re!==null)}}B1=T}}if(T.subtreeFlags&2064&&U!==null)U.return=T,B1=U;else e:for(;B1!==null;){if(T=B1,T.flags&2048)switch(T.tag){case 0:case 11:case 15:c7(9,T,T.return)}var P0=T.sibling;if(P0!==null){P0.return=T.return,B1=P0;break e}B1=T.return}}var E0=d.current;for(B1=E0;B1!==null;){U=B1;var D0=U.child;if(U.subtreeFlags&2064&&D0!==null)D0.return=U,B1=D0;else e:for(U=E0;B1!==null;){if(i0=B1,i0.flags&2048)try{switch(i0.tag){case 0:case 11:case 15:s7(9,i0)}}catch(oe){j8(i0,i0.return,oe)}if(i0===U){B1=null;break e}var M1=i0.sibling;if(M1!==null){M1.return=i0.return,B1=M1;break e}B1=i0.return}}if(b2=P,J4(),H8&&typeof H8.onPostCommitFiberRoot=="function")try{H8.onPostCommitFiberRoot(N8,d)}catch{}$=!0}return $}finally{a2=H,O6.transition=f}}return!1}function Ly(d,f,H){f=Uo(H,f),f=wp(d,f,1),d=E6(d,f,1),f=Ht(),d!==null&&(W6(d,1,f),n8(d,f))}function j8(d,f,H){if(d.tag===3)Ly(d,d,H);else for(;f!==null;){if(f.tag===3){Ly(f,d,H);break}else if(f.tag===1){var $=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof $.componentDidCatch=="function"&&(al===null||!al.has($))){d=Uo(H,d),d=fy(f,d,1),f=E6(f,d,1),d=Ht(),f!==null&&(W6(f,1,d),n8(f,d));break}}f=f.return}}function jF(d,f,H){var $=d.pingCache;$!==null&&$.delete(f),f=Ht(),d.pingedLanes|=d.suspendedLanes&H,L8===d&&(F8&H)===H&&(ut===4||ut===3&&(F8&130023424)===F8&&500>R1()-h7?ll(d,0):d7|=H),n8(d,f)}function Fy(d,f){f===0&&(d.mode&1?(f=_r,_r<<=1,!(_r&130023424)&&(_r=4194304)):f=1);var H=Ht();d=Wr(d,f),d!==null&&(W6(d,f,H),n8(d,H))}function PF(d){var f=d.memoizedState,H=0;f!==null&&(H=f.retryLane),Fy(d,H)}function Up(d,f){var H=0;switch(d.tag){case 13:var $=d.stateNode,P=d.memoizedState;P!==null&&(H=P.retryLane);break;case 19:$=d.stateNode;break;default:throw Error(r(314))}$!==null&&$.delete(f),Fy(d,H)}var jy;jy=function(d,f,H){if(d!==null)if(d.memoizedProps!==f.pendingProps||ke.current)Aa=!0;else{if(!(d.lanes&H)&&!(f.flags&128))return Aa=!1,V6(d,f,H);Aa=!!(d.flags&131072)}else Aa=!1,m8&&f.flags&1048576&&Wn(f,Jl,f.index);switch(f.lanes=0,f.tag){case 2:var $=f.type;o7(d,f),d=f.pendingProps;var P=A6(f,Zt.current);jo(f,H),P=K5(null,f,$,d,P,H);var T=i1();return f.flags|=1,typeof P=="object"&&P!==null&&typeof P.render=="function"&&P.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,X8($)?(T=!0,Xl(f)):T=!1,f.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,fp(f),P.updater=Xn,f.stateNode=P,P._reactInternals=f,Vp(f,$,d,H),f=qo(null,f,$,!0,T,H)):(f.tag=0,m8&&T&&N9(f),Za(null,f,P,H),f=f.child),f;case 16:$=f.elementType;e:{switch(o7(d,f),d=f.pendingProps,P=$._init,$=P($._payload),f.type=$,P=f.tag=_F($),d=Qa($,d),P){case 0:f=tl(null,f,$,d,H);break e;case 1:f=xe(null,f,$,d,H);break e;case 11:f=Jn(null,f,$,d,H);break e;case 14:f=Bo(null,f,$,Qa($.type,d),H);break e}throw Error(r(306,$,""))}return f;case 0:return $=f.type,P=f.pendingProps,P=f.elementType===$?P:Qa($,P),tl(d,f,$,P,H);case 1:return $=f.type,P=f.pendingProps,P=f.elementType===$?P:Qa($,P),xe(d,f,$,P,H);case 3:e:{if(Sp(f),d===null)throw Error(r(387));$=f.pendingProps,T=f.memoizedState,P=T.element,vp(d,f),z9(f,$,null,H);var U=f.memoizedState;if($=U.element,T.isDehydrated)if(T={element:$,isDehydrated:!1,cache:U.cache,pendingSuspenseBoundaries:U.pendingSuspenseBoundaries,transitions:U.transitions},f.updateQueue.baseState=T,f.memoizedState=T,f.flags&256){P=Uo(Error(r(423)),f),f=MF(d,f,$,H,P);break e}else if($!==P){P=Uo(Error(r(424)),f),f=MF(d,f,$,H,P);break e}else for(y6=g6(f.stateNode.containerInfo.firstChild),Z6=f,m8=!0,J6=null,H=cy(f,null,$,H),f.child=H;H;)H.flags=H.flags&-3|4096,H=H.sibling;else{if(Lo(),$===P){f=rr(d,f,H);break e}Za(d,f,$,H)}f=f.child}return f;case 5:return uy(f),d===null&&I9(f),$=f.type,P=f.pendingProps,T=d!==null?d.memoizedProps:null,U=P.children,Kl($,P)?U=null:T!==null&&Kl($,T)&&(f.flags|=32),Ka(d,f),Za(d,f,U,H),f.child;case 6:return d===null&&I9(f),null;case 13:return Wo(d,f,H);case 4:return gp(f,f.stateNode.containerInfo),$=f.pendingProps,d===null?f.child=Qn(f,null,$,H):Za(d,f,$,H),f.child;case 11:return $=f.type,P=f.pendingProps,P=f.elementType===$?P:Qa($,P),Jn(d,f,$,P,H);case 7:return Za(d,f,f.pendingProps,H),f.child;case 8:return Za(d,f,f.pendingProps.children,H),f.child;case 12:return Za(d,f,f.pendingProps.children,H),f.child;case 10:e:{if($=f.type._context,P=f.pendingProps,T=f.memoizedProps,U=P.value,M2(x9,$._currentValue),$._currentValue=U,T!==null)if(E4(T.value,U)){if(T.children===P.children&&!ke.current){f=rr(d,f,H);break e}}else for(T=f.child,T!==null&&(T.return=f);T!==null;){var i0=T.dependencies;if(i0!==null){U=T.child;for(var p0=i0.firstContext;p0!==null;){if(p0.context===$){if(T.tag===1){p0=H6(-1,H&-H),p0.tag=2;var B0=T.updateQueue;if(B0!==null){B0=B0.shared;var m1=B0.pending;m1===null?p0.next=p0:(p0.next=m1.next,m1.next=p0),B0.pending=p0}}T.lanes|=H,p0=T.alternate,p0!==null&&(p0.lanes|=H),pp(T.return,H,f),i0.lanes|=H;break}p0=p0.next}}else if(T.tag===10)U=T.type===f.type?null:T.child;else if(T.tag===18){if(U=T.return,U===null)throw Error(r(341));U.lanes|=H,i0=U.alternate,i0!==null&&(i0.lanes|=H),pp(U,H,f),U=T.sibling}else U=T.child;if(U!==null)U.return=T;else for(U=T;U!==null;){if(U===f){U=null;break}if(T=U.sibling,T!==null){T.return=U.return,U=T;break}U=U.return}T=U}Za(d,f,P.children,H),f=f.child}return f;case 9:return P=f.type,$=f.pendingProps.children,jo(f,H),P=t4(P),$=$(P),f.flags|=1,Za(d,f,$,H),f.child;case 14:return $=f.type,P=Qa($,f.pendingProps),P=Qa($.type,P),Bo(d,f,$,P,H);case 15:return el(d,f,f.type,f.pendingProps,H);case 17:return $=f.type,P=f.pendingProps,P=f.elementType===$?P:Qa($,P),o7(d,f),f.tag=1,X8($)?(d=!0,Xl(f)):d=!1,jo(f,H),py(f,$,P),Vp(f,$,P,H),qo(null,f,$,!0,d,H);case 19:return Pp(d,f,H);case 22:return ns(d,f,H)}throw Error(r(156,f.tag))};function Py(d,f){return b1(d,f)}function kF(d,f,H,$){this.tag=d,this.key=H,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=$,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $6(d,f,H,$){return new kF(d,f,H,$)}function Bp(d){return d=d.prototype,!(!d||!d.isReactComponent)}function _F(d){if(typeof d=="function")return Bp(d)?1:0;if(d!=null){if(d=d.$$typeof,d===a0)return 11;if(d===e0)return 14}return 2}function ol(d,f){var H=d.alternate;return H===null?(H=$6(d.tag,f,d.key,d.mode),H.elementType=d.elementType,H.type=d.type,H.stateNode=d.stateNode,H.alternate=d,d.alternate=H):(H.pendingProps=f,H.type=d.type,H.flags=0,H.subtreeFlags=0,H.deletions=null),H.flags=d.flags&14680064,H.childLanes=d.childLanes,H.lanes=d.lanes,H.child=d.child,H.memoizedProps=d.memoizedProps,H.memoizedState=d.memoizedState,H.updateQueue=d.updateQueue,f=d.dependencies,H.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},H.sibling=d.sibling,H.index=d.index,H.ref=d.ref,H}function us(d,f,H,$,P,T){var U=2;if($=d,typeof d=="function")Bp(d)&&(U=1);else if(typeof d=="string")U=5;else e:switch(d){case z:return f3(H.children,P,T,f);case q:U=8,P|=8;break;case K:return d=$6(12,H,f,P|2),d.elementType=K,d.lanes=T,d;case t0:return d=$6(13,H,f,P),d.elementType=t0,d.lanes=T,d;case l0:return d=$6(19,H,f,P),d.elementType=l0,d.lanes=T,d;case y0:return ds(H,P,T,f);default:if(typeof d=="object"&&d!==null)switch(d.$$typeof){case Y:U=10;break e;case o0:U=9;break e;case a0:U=11;break e;case e0:U=14;break e;case G0:U=16,$=null;break e}throw Error(r(130,d==null?d:typeof d,""))}return f=$6(U,H,f,P),f.elementType=d,f.type=$,f.lanes=T,f}function f3(d,f,H,$){return d=$6(7,d,$,f),d.lanes=H,d}function ds(d,f,H,$){return d=$6(22,d,$,f),d.elementType=y0,d.lanes=H,d.stateNode={isHidden:!1},d}function qp(d,f,H){return d=$6(6,d,null,f),d.lanes=H,d}function ps(d,f,H){return f=$6(4,d.children!==null?d.children:[],d.key,f),f.lanes=H,f.stateNode={containerInfo:d.containerInfo,pendingChildren:null,implementation:d.implementation},f}function Wp(d,f,H,$,P){this.tag=f,this.containerInfo=d,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=y4(0),this.expirationTimes=y4(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=y4(0),this.identifierPrefix=$,this.onRecoverableError=P,this.mutableSourceEagerHydrationData=null}function v3(d,f,H,$,P,T,U,i0,p0){return d=new Wp(d,f,H,i0,p0),f===1?(f=1,T===!0&&(f|=8)):f=0,T=$6(3,null,null,f),d.current=T,T.stateNode=d,T.memoizedState={element:$,isDehydrated:H,cache:null,transitions:null,pendingSuspenseBoundaries:null},fp(T),d}function CF(d,f,H){var $=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:I,key:$==null?null:""+$,children:d,containerInfo:f,implementation:H}}function Gp(d){if(!d)return Q6;d=d._reactInternals;e:{if(J0(d)!==d||d.tag!==1)throw Error(r(170));var f=d;do{switch(f.tag){case 3:f=f.stateNode.context;break e;case 1:if(X8(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(d.tag===1){var H=d.type;if(X8(H))return Un(d,H,f)}return f}function Yp(d,f,H,$,P,T,U,i0,p0){return d=v3(H,$,!0,d,P,T,U,i0,p0),d.context=Gp(null),H=d.current,$=Ht(),P=L4(H),T=H6($,P),T.callback=f??null,E6(H,T,P),d.current.lanes=P,W6(d,P,$),n8(d,$),d}function Z7(d,f,H,$){var P=f.current,T=Ht(),U=L4(P);return H=Gp(H),f.context===null?f.context=H:f.pendingContext=H,f=H6(T,U),f.payload={element:d},$=$===void 0?null:$,$!==null&&(f.callback=$),d=E6(P,f,U),d!==null&&(a4(d,P,U,T),R9(d,P,U)),U}function hs(d){if(d=d.current,!d.child)return null;switch(d.child.tag){case 5:return d.child.stateNode;default:return d.child.stateNode}}function Qp(d,f){if(d=d.memoizedState,d!==null&&d.dehydrated!==null){var H=d.retryLane;d.retryLane=H!==0&&H<f?H:f}}function Kp(d,f){Qp(d,f),(d=d.alternate)&&Qp(d,f)}function NF(){return null}var ky=typeof reportError=="function"?reportError:function(d){console.error(d)};function fs(d){this._internalRoot=d}y7.prototype.render=fs.prototype.render=function(d){var f=this._internalRoot;if(f===null)throw Error(r(409));Z7(d,f,null,null)},y7.prototype.unmount=fs.prototype.unmount=function(){var d=this._internalRoot;if(d!==null){this._internalRoot=null;var f=d.containerInfo;p3(function(){Z7(null,d,null,null)}),f[M4]=null}};function y7(d){this._internalRoot=d}y7.prototype.unstable_scheduleHydration=function(d){if(d){var f=Xe();d={blockedOn:null,target:d,priority:f};for(var H=0;H<F2.length&&f!==0&&f<F2[H].priority;H++);F2.splice(H,0,d),H===0&&T8(d)}};function vs(d){return!(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)}function Jr(d){return!(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11&&(d.nodeType!==8||d.nodeValue!==" react-mount-point-unstable "))}function _y(){}function TF(d,f,H,$,P){if(P){if(typeof $=="function"){var T=$;$=function(){var B0=hs(U);T.call(B0)}}var U=Yp(f,$,d,0,null,!1,!1,"",_y);return d._reactRootContainer=U,d[M4]=U.current,Q4(d.nodeType===8?d.parentNode:d),p3(),U}for(;P=d.lastChild;)d.removeChild(P);if(typeof $=="function"){var i0=$;$=function(){var B0=hs(p0);i0.call(B0)}}var p0=v3(d,0,!1,null,null,!1,!1,"",_y);return d._reactRootContainer=p0,d[M4]=p0.current,Q4(d.nodeType===8?d.parentNode:d),p3(function(){Z7(f,p0,H,$)}),p0}function gs(d,f,H,$,P){var T=H._reactRootContainer;if(T){var U=T;if(typeof P=="function"){var i0=P;P=function(){var p0=hs(U);i0.call(p0)}}Z7(f,U,d,P)}else U=TF(H,f,d,P,$);return hs(U)}c8=function(d){switch(d.tag){case 3:var f=d.stateNode;if(f.current.memoizedState.isDehydrated){var H=d6(f.pendingLanes);H!==0&&(b4(f,H|1),n8(f,R1()),!(b2&6)&&(s3=R1()+500,J4()))}break;case 13:p3(function(){var $=Wr(d,1);if($!==null){var P=Ht();a4($,d,1,P)}}),Kp(d,1)}},va=function(d){if(d.tag===13){var f=Wr(d,134217728);if(f!==null){var H=Ht();a4(f,d,134217728,H)}Kp(d,134217728)}},Wl=function(d){if(d.tag===13){var f=L4(d),H=Wr(d,f);if(H!==null){var $=Ht();a4(H,d,f,$)}Kp(d,f)}},Xe=function(){return a2},q4=function(d,f){var H=a2;try{return a2=d,f()}finally{a2=H}},Be=function(d,f,H){switch(f){case"input":if(t1(d,H),f=H.name,H.type==="radio"&&f!=null){for(H=d;H.parentNode;)H=H.parentNode;for(H=H.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<H.length;f++){var $=H[f];if($!==d&&$.form===d.form){var P=_9($);if(!P)throw Error(r(90));v0($),t1($,P)}}}break;case"textarea":F0(d,H);break;case"select":f=H.value,f!=null&&u1(d,!!H.multiple,f,!1)}},Ft=d3,jt=p3;var IF={usingClientEntryPoint:!1,Events:[K4,So,_9,v2,f8,d3]},b7={findFiberByHostInstance:Ur,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},DF={bundleType:b7.bundleType,version:b7.version,rendererPackageName:b7.rendererPackageName,rendererConfig:b7.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(d){return d=y1(d),d===null?null:d.stateNode},findFiberByHostInstance:b7.findFiberByHostInstance||NF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var H7=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!H7.isDisabled&&H7.supportsFiber)try{N8=H7.inject(DF),H8=H7}catch{}}return P6.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=IF,P6.createPortal=function(d,f){var H=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vs(f))throw Error(r(200));return CF(d,f,null,H)},P6.createRoot=function(d,f){if(!vs(d))throw Error(r(299));var H=!1,$="",P=ky;return f!=null&&(f.unstable_strictMode===!0&&(H=!0),f.identifierPrefix!==void 0&&($=f.identifierPrefix),f.onRecoverableError!==void 0&&(P=f.onRecoverableError)),f=v3(d,1,!1,null,null,H,!1,$,P),d[M4]=f.current,Q4(d.nodeType===8?d.parentNode:d),new fs(f)},P6.findDOMNode=function(d){if(d==null)return null;if(d.nodeType===1)return d;var f=d._reactInternals;if(f===void 0)throw typeof d.render=="function"?Error(r(188)):(d=Object.keys(d).join(","),Error(r(268,d)));return d=y1(f),d=d===null?null:d.stateNode,d},P6.flushSync=function(d){return p3(d)},P6.hydrate=function(d,f,H){if(!Jr(f))throw Error(r(200));return gs(null,d,f,!0,H)},P6.hydrateRoot=function(d,f,H){if(!vs(d))throw Error(r(405));var $=H!=null&&H.hydratedSources||null,P=!1,T="",U=ky;if(H!=null&&(H.unstable_strictMode===!0&&(P=!0),H.identifierPrefix!==void 0&&(T=H.identifierPrefix),H.onRecoverableError!==void 0&&(U=H.onRecoverableError)),f=Yp(f,null,d,1,H??null,P,!1,T,U),d[M4]=f.current,Q4(d),$)for(d=0;d<$.length;d++)H=$[d],P=H._getVersion,P=P(H._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[H,P]:f.mutableSourceEagerHydrationData.push(H,P);return new y7(f)},P6.render=function(d,f,H){if(!Jr(f))throw Error(r(200));return gs(null,d,f,!1,H)},P6.unmountComponentAtNode=function(d){if(!Jr(d))throw Error(r(40));return d._reactRootContainer?(p3(function(){gs(null,null,d,!1,function(){d._reactRootContainer=null,d[M4]=null})}),!0):!1},P6.unstable_batchedUpdates=d3,P6.unstable_renderSubtreeIntoContainer=function(d,f,H,$){if(!Jr(H))throw Error(r(200));if(d==null||d._reactInternals===void 0)throw Error(r(38));return gs(d,f,H,!1,$)},P6.version="18.3.1-next-f1338f8080-20240426",P6}var k6={},Dk;function mp1(){if(Dk)return k6;Dk=1;var a={};/**
95
95
  * @license React
96
96
  * react-dom.development.js
97
97
  *
@@ -105,9 +105,9 @@ Error generating stack: `+T.message+`
105
105
  `),W=D.length-1,J=x.length-1;W>=1&&J>=0&&D[W]!==x[J];)J--;for(;W>=1&&J>=0;W--,J--)if(D[W]!==x[J]){if(W!==1||J!==1)do if(W--,J--,J<0||D[W]!==x[J]){var M0=`
106
106
  `+D[W].replace(" at new "," at ");return i.displayName&&M0.includes("<anonymous>")&&(M0=M0.replace("<anonymous>",i.displayName)),typeof i=="function"&&Y8.set(i,M0),M0}while(W>=1&&J>=0);break}}}finally{h6=!1,d6.current=L,_r(),Error.prepareStackTrace=V}var b0=i?i.displayName||i.name:"",U0=b0?kt(b0):"";return typeof i=="function"&&Y8.set(i,U0),U0}function W6(i,s,v){return y4(i,!0)}function Bl(i,s,v){return y4(i,!1)}function b4(i){var s=i.prototype;return!!(s&&s.isReactComponent)}function a2(i,s,v){if(i==null)return"";if(typeof i=="function")return y4(i,b4(i));if(typeof i=="string")return kt(i);switch(i){case h1:return kt("Suspense");case ae:return kt("SuspenseList")}if(typeof i=="object")switch(i.$$typeof){case J0:return Bl(i.render);case k1:return a2(i.type,s,v);case y1:{var Z=i,V=Z._payload,L=Z._init;try{return a2(L(V),s,v)}catch{}}}return""}function ql(i){switch(i._debugOwner&&i._debugOwner.type,i._debugSource,i.tag){case M:return kt(i.type);case K:return kt("Lazy");case I:return kt("Suspense");case a0:return kt("SuspenseList");case h:case A:case q:return Bl(i.type);case N:return Bl(i.type.render);case g:return W6(i.type);default:return""}}function c8(i){try{var s="",v=i;do s+=ql(v),v=v.return;while(v);return s}catch(Z){return`
107
107
  Error generating stack: `+Z.message+`
108
- `+Z.stack}}function va(i,s,v){var Z=i.displayName;if(Z)return Z;var V=s.displayName||s.name||"";return V!==""?v+"("+V+")":v}function Wl(i){return i.displayName||"Context"}function Xe(i){if(i==null)return null;if(typeof i.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case Y1:return"Fragment";case V1:return"Portal";case Q:return"Profiler";case F1:return"StrictMode";case h1:return"Suspense";case ae:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case I0:var s=i;return Wl(s)+".Consumer";case w0:var v=i;return Wl(v._context)+".Provider";case J0:return va(i,i.render,"ForwardRef");case k1:var Z=i.displayName||null;return Z!==null?Z:Xe(i.type)||"Memo";case y1:{var V=i,L=V._payload,_=V._init;try{return Xe(_(L))}catch{return null}}}return null}function q4(i,s,v){var Z=s.displayName||s.name||"";return i.displayName||(Z!==""?v+"("+Z+")":v)}function W4(i){return i.displayName||"Context"}function Ee(i){var s=i.tag,v=i.type;switch(s){case G0:return"Cache";case j:var Z=v;return W4(Z)+".Consumer";case k:var V=v;return W4(V._context)+".Provider";case o0:return"DehydratedFragment";case N:return q4(v,v.render,"ForwardRef");case S:return"Fragment";case M:return v;case E:return"Portal";case y:return"Root";case O:return"Text";case K:return Xe(v);case F:return v===F1?"StrictMode":"Mode";case l0:return"Offscreen";case C:return"Profiler";case t0:return"Scope";case I:return"Suspense";case a0:return"SuspenseList";case y0:return"TracingMarker";case g:case h:case Y:case A:case z:case q:if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;break}return null}var f6=n.ReactDebugCurrentFrame,e8=null,_t=!1;function Ra(){{if(e8===null)return null;var i=e8._debugOwner;if(i!==null&&typeof i<"u")return Ee(i)}return null}function ct(){return e8===null?"":c8(e8)}function F2(){f6.getCurrentStack=null,e8=null,_t=!1}function t8(i){f6.getCurrentStack=i===null?null:ct,e8=i,_t=!1}function In(){return e8}function Q8(i){_t=i}function Ct(i){return""+i}function T8(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return F0(i),i;default:return""}}var Cr={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function G4(i,s){Cr[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||m("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`."),s.onChange||s.readOnly||s.disabled||s.checked==null||m("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 Y4(i){var s=i.type,v=i.nodeName;return v&&v.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function H4(i){return i._valueTracker}function za(i){i._valueTracker=null}function G1(i){var s="";return i&&(Y4(i)?s=i.checked?"true":"false":s=i.value),s}function H0(i){var s=Y4(i)?"checked":"value",v=Object.getOwnPropertyDescriptor(i.constructor.prototype,s);F0(i[s]);var Z=""+i[s];if(!(i.hasOwnProperty(s)||typeof v>"u"||typeof v.get!="function"||typeof v.set!="function")){var V=v.get,L=v.set;Object.defineProperty(i,s,{configurable:!0,get:function(){return V.call(this)},set:function(D){F0(D),Z=""+D,L.call(this,D)}}),Object.defineProperty(i,s,{enumerable:v.enumerable});var _={getValue:function(){return Z},setValue:function(D){F0(D),Z=""+D},stopTracking:function(){za(i),delete i[s]}};return _}}function f1(i){H4(i)||(i._valueTracker=H0(i))}function W1(i){if(!i)return!1;var s=H4(i);if(!s)return!0;var v=s.getValue(),Z=G1(i);return Z!==v?(s.setValue(Z),!0):!1}function r2(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var a8=!1,g8=!1,K8=!1,w8=!1;function G6(i){var s=i.type==="checkbox"||i.type==="radio";return s?i.checked!=null:i.value!=null}function R(i,s){var v=i,Z=s.checked,V=ce({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:Z??v._wrapperState.initialChecked});return V}function s0(i,s){G4("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!g8&&(m("%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",Ra()||"A component",s.type),g8=!0),s.value!==void 0&&s.defaultValue!==void 0&&!a8&&(m("%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",Ra()||"A component",s.type),a8=!0);var v=i,Z=s.defaultValue==null?"":s.defaultValue;v._wrapperState={initialChecked:s.checked!=null?s.checked:s.defaultChecked,initialValue:T8(s.value!=null?s.value:Z),controlled:G6(s)}}function R0(i,s){var v=i,Z=s.checked;Z!=null&&a1(v,"checked",Z,!1)}function Y0(i,s){var v=i;{var Z=G6(s);!v._wrapperState.controlled&&Z&&!w8&&(m("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"),w8=!0),v._wrapperState.controlled&&!Z&&!K8&&(m("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"),K8=!0)}R0(i,s);var V=T8(s.value),L=s.type;if(V!=null)L==="number"?(V===0&&v.value===""||v.value!=V)&&(v.value=Ct(V)):v.value!==Ct(V)&&(v.value=Ct(V));else if(L==="submit"||L==="reset"){v.removeAttribute("value");return}s.hasOwnProperty("value")?Me(v,s.type,V):s.hasOwnProperty("defaultValue")&&Me(v,s.type,T8(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(v.defaultChecked=!!s.defaultChecked)}function E1(i,s,v){var Z=i;if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var V=s.type,L=V==="submit"||V==="reset";if(L&&(s.value===void 0||s.value===null))return;var _=Ct(Z._wrapperState.initialValue);v||_!==Z.value&&(Z.value=_),Z.defaultValue=_}var D=Z.name;D!==""&&(Z.name=""),Z.defaultChecked=!Z.defaultChecked,Z.defaultChecked=!!Z._wrapperState.initialChecked,D!==""&&(Z.name=D)}function ee(i,s){var v=i;Y0(v,s),U1(v,s)}function U1(i,s){var v=s.name;if(s.type==="radio"&&v!=null){for(var Z=i;Z.parentNode;)Z=Z.parentNode;T1(v,"name");for(var V=Z.querySelectorAll("input[name="+JSON.stringify(""+v)+'][type="radio"]'),L=0;L<V.length;L++){var _=V[L];if(!(_===i||_.form!==i.form)){var D=Jy(_);if(!D)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");W1(_),Y0(_,D)}}}}function Me(i,s,v){(s!=="number"||r2(i.ownerDocument)!==i)&&(v==null?i.defaultValue=Ct(i._wrapperState.initialValue):i.defaultValue!==Ct(v)&&(i.defaultValue=Ct(v)))}var Ue=!1,j2=!1,C2=!1;function N2(i,s){s.value==null&&(typeof s.children=="object"&&s.children!==null?e.Children.forEach(s.children,function(v){v!=null&&(typeof v=="string"||typeof v=="number"||j2||(j2=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):s.dangerouslySetInnerHTML!=null&&(C2||(C2=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),s.selected!=null&&!Ue&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ue=!0)}function T2(i,s){s.value!=null&&i.setAttribute("value",Ct(T8(s.value)))}var s8=Array.isArray;function A2(i){return s8(i)}var Dn;Dn=!1;function Mo(){var i=Ra();return i?`
108
+ `+Z.stack}}function va(i,s,v){var Z=i.displayName;if(Z)return Z;var V=s.displayName||s.name||"";return V!==""?v+"("+V+")":v}function Wl(i){return i.displayName||"Context"}function Xe(i){if(i==null)return null;if(typeof i.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case Y1:return"Fragment";case V1:return"Portal";case Q:return"Profiler";case F1:return"StrictMode";case h1:return"Suspense";case ae:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case I0:var s=i;return Wl(s)+".Consumer";case w0:var v=i;return Wl(v._context)+".Provider";case J0:return va(i,i.render,"ForwardRef");case k1:var Z=i.displayName||null;return Z!==null?Z:Xe(i.type)||"Memo";case y1:{var V=i,L=V._payload,_=V._init;try{return Xe(_(L))}catch{return null}}}return null}function q4(i,s,v){var Z=s.displayName||s.name||"";return i.displayName||(Z!==""?v+"("+Z+")":v)}function W4(i){return i.displayName||"Context"}function Ee(i){var s=i.tag,v=i.type;switch(s){case G0:return"Cache";case j:var Z=v;return W4(Z)+".Consumer";case k:var V=v;return W4(V._context)+".Provider";case o0:return"DehydratedFragment";case N:return q4(v,v.render,"ForwardRef");case S:return"Fragment";case M:return v;case E:return"Portal";case y:return"Root";case O:return"Text";case K:return Xe(v);case F:return v===F1?"StrictMode":"Mode";case l0:return"Offscreen";case C:return"Profiler";case t0:return"Scope";case I:return"Suspense";case a0:return"SuspenseList";case y0:return"TracingMarker";case g:case h:case Y:case A:case z:case q:if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;break}return null}var f6=n.ReactDebugCurrentFrame,e8=null,_t=!1;function Ra(){{if(e8===null)return null;var i=e8._debugOwner;if(i!==null&&typeof i<"u")return Ee(i)}return null}function st(){return e8===null?"":c8(e8)}function F2(){f6.getCurrentStack=null,e8=null,_t=!1}function t8(i){f6.getCurrentStack=i===null?null:st,e8=i,_t=!1}function In(){return e8}function Q8(i){_t=i}function Ct(i){return""+i}function T8(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return F0(i),i;default:return""}}var Cr={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function G4(i,s){Cr[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||m("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`."),s.onChange||s.readOnly||s.disabled||s.checked==null||m("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 Y4(i){var s=i.type,v=i.nodeName;return v&&v.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function H4(i){return i._valueTracker}function za(i){i._valueTracker=null}function G1(i){var s="";return i&&(Y4(i)?s=i.checked?"true":"false":s=i.value),s}function H0(i){var s=Y4(i)?"checked":"value",v=Object.getOwnPropertyDescriptor(i.constructor.prototype,s);F0(i[s]);var Z=""+i[s];if(!(i.hasOwnProperty(s)||typeof v>"u"||typeof v.get!="function"||typeof v.set!="function")){var V=v.get,L=v.set;Object.defineProperty(i,s,{configurable:!0,get:function(){return V.call(this)},set:function(D){F0(D),Z=""+D,L.call(this,D)}}),Object.defineProperty(i,s,{enumerable:v.enumerable});var _={getValue:function(){return Z},setValue:function(D){F0(D),Z=""+D},stopTracking:function(){za(i),delete i[s]}};return _}}function f1(i){H4(i)||(i._valueTracker=H0(i))}function W1(i){if(!i)return!1;var s=H4(i);if(!s)return!0;var v=s.getValue(),Z=G1(i);return Z!==v?(s.setValue(Z),!0):!1}function r2(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var a8=!1,g8=!1,K8=!1,w8=!1;function G6(i){var s=i.type==="checkbox"||i.type==="radio";return s?i.checked!=null:i.value!=null}function R(i,s){var v=i,Z=s.checked,V=ce({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:Z??v._wrapperState.initialChecked});return V}function s0(i,s){G4("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!g8&&(m("%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",Ra()||"A component",s.type),g8=!0),s.value!==void 0&&s.defaultValue!==void 0&&!a8&&(m("%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",Ra()||"A component",s.type),a8=!0);var v=i,Z=s.defaultValue==null?"":s.defaultValue;v._wrapperState={initialChecked:s.checked!=null?s.checked:s.defaultChecked,initialValue:T8(s.value!=null?s.value:Z),controlled:G6(s)}}function R0(i,s){var v=i,Z=s.checked;Z!=null&&a1(v,"checked",Z,!1)}function Y0(i,s){var v=i;{var Z=G6(s);!v._wrapperState.controlled&&Z&&!w8&&(m("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"),w8=!0),v._wrapperState.controlled&&!Z&&!K8&&(m("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"),K8=!0)}R0(i,s);var V=T8(s.value),L=s.type;if(V!=null)L==="number"?(V===0&&v.value===""||v.value!=V)&&(v.value=Ct(V)):v.value!==Ct(V)&&(v.value=Ct(V));else if(L==="submit"||L==="reset"){v.removeAttribute("value");return}s.hasOwnProperty("value")?Me(v,s.type,V):s.hasOwnProperty("defaultValue")&&Me(v,s.type,T8(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(v.defaultChecked=!!s.defaultChecked)}function E1(i,s,v){var Z=i;if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var V=s.type,L=V==="submit"||V==="reset";if(L&&(s.value===void 0||s.value===null))return;var _=Ct(Z._wrapperState.initialValue);v||_!==Z.value&&(Z.value=_),Z.defaultValue=_}var D=Z.name;D!==""&&(Z.name=""),Z.defaultChecked=!Z.defaultChecked,Z.defaultChecked=!!Z._wrapperState.initialChecked,D!==""&&(Z.name=D)}function ee(i,s){var v=i;Y0(v,s),U1(v,s)}function U1(i,s){var v=s.name;if(s.type==="radio"&&v!=null){for(var Z=i;Z.parentNode;)Z=Z.parentNode;T1(v,"name");for(var V=Z.querySelectorAll("input[name="+JSON.stringify(""+v)+'][type="radio"]'),L=0;L<V.length;L++){var _=V[L];if(!(_===i||_.form!==i.form)){var D=Jy(_);if(!D)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");W1(_),Y0(_,D)}}}}function Me(i,s,v){(s!=="number"||r2(i.ownerDocument)!==i)&&(v==null?i.defaultValue=Ct(i._wrapperState.initialValue):i.defaultValue!==Ct(v)&&(i.defaultValue=Ct(v)))}var Ue=!1,j2=!1,C2=!1;function N2(i,s){s.value==null&&(typeof s.children=="object"&&s.children!==null?e.Children.forEach(s.children,function(v){v!=null&&(typeof v=="string"||typeof v=="number"||j2||(j2=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):s.dangerouslySetInnerHTML!=null&&(C2||(C2=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),s.selected!=null&&!Ue&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ue=!0)}function T2(i,s){s.value!=null&&i.setAttribute("value",Ct(T8(s.value)))}var s8=Array.isArray;function A2(i){return s8(i)}var Dn;Dn=!1;function Mo(){var i=Ra();return i?`
109
109
 
110
- Check the render method of \``+i+"`.":""}var F5=["value","defaultValue"];function j5(i){{G4("select",i);for(var s=0;s<F5.length;s++){var v=F5[s];if(i[v]!=null){var Z=A2(i[v]);i.multiple&&!Z?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",v,Mo()):!i.multiple&&Z&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",v,Mo())}}}}function Nr(i,s,v,Z){var V=i.options;if(s){for(var L=v,_={},D=0;D<L.length;D++)_["$"+L[D]]=!0;for(var x=0;x<V.length;x++){var W=_.hasOwnProperty("$"+V[x].value);V[x].selected!==W&&(V[x].selected=W),W&&Z&&(V[x].defaultSelected=!0)}}else{for(var J=Ct(T8(v)),M0=null,b0=0;b0<V.length;b0++){if(V[b0].value===J){V[b0].selected=!0,Z&&(V[b0].defaultSelected=!0);return}M0===null&&!V[b0].disabled&&(M0=V[b0])}M0!==null&&(M0.selected=!0)}}function P5(i,s){return ce({},s,{value:void 0})}function k5(i,s){var v=i;j5(s),v._wrapperState={wasMultiple:!!s.multiple},s.value!==void 0&&s.defaultValue!==void 0&&!Dn&&(m("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"),Dn=!0)}function Rd(i,s){var v=i;v.multiple=!!s.multiple;var Z=s.value;Z!=null?Nr(v,!!s.multiple,Z,!1):s.defaultValue!=null&&Nr(v,!!s.multiple,s.defaultValue,!0)}function oF(i,s){var v=i,Z=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!s.multiple;var V=s.value;V!=null?Nr(v,!!s.multiple,V,!1):Z!==!!s.multiple&&(s.defaultValue!=null?Nr(v,!!s.multiple,s.defaultValue,!0):Nr(v,!!s.multiple,s.multiple?[]:"",!1))}function SZ(i,s){var v=i,Z=s.value;Z!=null&&Nr(v,!!s.multiple,Z,!1)}var LZ=!1;function zd(i,s){var v=i;if(s.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var Z=ce({},s,{value:void 0,defaultValue:void 0,children:Ct(v._wrapperState.initialValue)});return Z}function FZ(i,s){var v=i;G4("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!LZ&&(m("%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",Ra()||"A component"),LZ=!0);var Z=s.value;if(Z==null){var V=s.children,L=s.defaultValue;if(V!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(L!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(A2(V)){if(V.length>1)throw new Error("<textarea> can only have at most one child.");V=V[0]}L=V}}L==null&&(L=""),Z=L}v._wrapperState={initialValue:T8(Z)}}function jZ(i,s){var v=i,Z=T8(s.value),V=T8(s.defaultValue);if(Z!=null){var L=Ct(Z);L!==v.value&&(v.value=L),s.defaultValue==null&&v.defaultValue!==L&&(v.defaultValue=L)}V!=null&&(v.defaultValue=Ct(V))}function V9(i,s){var v=i,Z=v.textContent;Z===v._wrapperState.initialValue&&Z!==""&&Z!==null&&(v.value=Z)}function iF(i,s){jZ(i,s)}var Tr="http://www.w3.org/1999/xhtml",cF="http://www.w3.org/1998/Math/MathML",O9="http://www.w3.org/2000/svg";function Ud(i){switch(i){case"svg":return O9;case"math":return cF;default:return Tr}}function Bd(i,s){return i==null||i===Tr?Ud(s):i===O9&&s==="foreignObject"?Tr:i}var sF=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,v,Z,V){MSApp.execUnsafeLocalFunction(function(){return i(s,v,Z,V)})}:i},$9,PZ=sF(function(i,s){if(i.namespaceURI===O9&&!("innerHTML"in i)){$9=$9||document.createElement("div"),$9.innerHTML="<svg>"+s.valueOf().toString()+"</svg>";for(var v=$9.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;v.firstChild;)i.appendChild(v.firstChild);return}i.innerHTML=s}),Ua=1,Ir=3,S8=8,v6=9,qd=11,_5=function(i,s){if(s){var v=i.firstChild;if(v&&v===i.lastChild&&v.nodeType===Ir){v.nodeValue=s;return}}i.textContent=s},kZ={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 _Z(i,s){return i+s.charAt(0).toUpperCase()+s.substring(1)}var CZ=["Webkit","ms","Moz","O"];Object.keys(Vo).forEach(function(i){CZ.forEach(function(s){Vo[_Z(s,i)]=Vo[i]})});function xn(i,s,v){var Z=s==null||typeof s=="boolean"||s==="";return Z?"":!v&&typeof s=="number"&&s!==0&&!(Vo.hasOwnProperty(i)&&Vo[i])?s+"px":($0(s,i),(""+s).trim())}var mF=/([A-Z])/g,uF=/^ms-/;function dF(i){return i.replace(mF,"-$1").toLowerCase().replace(uF,"-ms-")}var Wd=function(){};{var NZ=/^(?:webkit|moz|o)[A-Z]/,C5=/^-ms-/,N5=/-(.)/g,TZ=/;\s*$/,Dr={},Gd={},Yd=!1,w9=!1,Qd=function(i){return i.replace(N5,function(s,v){return v.toUpperCase()})},IZ=function(i){Dr.hasOwnProperty(i)&&Dr[i]||(Dr[i]=!0,m("Unsupported style property %s. Did you mean %s?",i,Qd(i.replace(C5,"ms-"))))},DZ=function(i){Dr.hasOwnProperty(i)&&Dr[i]||(Dr[i]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",i,i.charAt(0).toUpperCase()+i.slice(1)))},xZ=function(i,s){Gd.hasOwnProperty(s)&&Gd[s]||(Gd[s]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,i,s.replace(TZ,"")))},pF=function(i,s){Yd||(Yd=!0,m("`NaN` is an invalid value for the `%s` css style property.",i))},hF=function(i,s){w9||(w9=!0,m("`Infinity` is an invalid value for the `%s` css style property.",i))};Wd=function(i,s){i.indexOf("-")>-1?IZ(i):NZ.test(i)?DZ(i):TZ.test(s)&&xZ(i,s),typeof s=="number"&&(isNaN(s)?pF(i,s):isFinite(s)||hF(i,s))}}var fF=Wd;function vF(i){{var s="",v="";for(var Z in i)if(i.hasOwnProperty(Z)){var V=i[Z];if(V!=null){var L=Z.indexOf("--")===0;s+=v+(L?Z:dF(Z))+":",s+=xn(Z,V,L),v=";"}}return s||null}}function RZ(i,s){var v=i.style;for(var Z in s)if(s.hasOwnProperty(Z)){var V=Z.indexOf("--")===0;V||fF(Z,s[Z]);var L=xn(Z,s[Z],V);Z==="float"&&(Z="cssFloat"),V?v.setProperty(Z,L):v[Z]=L}}function E4(i){return i==null||typeof i=="boolean"||i===""}function Oo(i){var s={};for(var v in i)for(var Z=kZ[v]||[v],V=0;V<Z.length;V++)s[Z[V]]=v;return s}function zZ(i,s){{if(!s)return;var v=Oo(i),Z=Oo(s),V={};for(var L in v){var _=v[L],D=Z[L];if(D&&_!==D){var x=_+","+D;if(V[x])continue;V[x]=!0,m("%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.",E4(i[_])?"Removing":"Updating",_,D)}}}}var UZ={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},BZ=ce({menuitem:!0},UZ),qZ="__html";function T5(i,s){if(s){if(BZ[i]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw new Error(i+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof s.dangerouslySetInnerHTML!="object"||!(qZ in s.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(!s.suppressContentEditableWarning&&s.contentEditable&&s.children!=null&&m("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."),s.style!=null&&typeof s.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 Gl(i,s){if(i.indexOf("-")===-1)return typeof s.is=="string";switch(i){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 S9={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"},Yl={"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},Rn={},I5=new RegExp("^(aria)-["+P1+"]*$"),Kd=new RegExp("^(aria)[A-Z]["+P1+"]*$");function WZ(i,s){{if(k0.call(Rn,s)&&Rn[s])return!0;if(Kd.test(s)){var v="aria-"+s.slice(4).toLowerCase(),Z=Yl.hasOwnProperty(v)?v:null;if(Z==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),Rn[s]=!0,!0;if(s!==Z)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,Z),Rn[s]=!0,!0}if(I5.test(s)){var V=s.toLowerCase(),L=Yl.hasOwnProperty(V)?V:null;if(L==null)return Rn[s]=!0,!1;if(s!==L)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,L),Rn[s]=!0,!0}}return!0}function L9(i,s){{var v=[];for(var Z in s){var V=WZ(i,Z);V||v.push(Z)}var L=v.map(function(_){return"`"+_+"`"}).join(", ");v.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,i):v.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,i)}}function $o(i,s){Gl(i,s)||L9(i,s)}var F9=!1;function GZ(i,s){{if(i!=="input"&&i!=="textarea"&&i!=="select")return;s!=null&&s.value===null&&!F9&&(F9=!0,i==="select"&&s.multiple?m("`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.",i):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",i))}}var D5=function(){};{var aa={},Xd=/^on./,YZ=/^on[^A-Z]/,QZ=new RegExp("^(aria)-["+P1+"]*$"),KZ=new RegExp("^(aria)[A-Z]["+P1+"]*$");D5=function(i,s,v,Z){if(k0.call(aa,s)&&aa[s])return!0;var V=s.toLowerCase();if(V==="onfocusin"||V==="onfocusout")return m("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."),aa[s]=!0,!0;if(Z!=null){var L=Z.registrationNameDependencies,_=Z.possibleRegistrationNames;if(L.hasOwnProperty(s))return!0;var D=_.hasOwnProperty(V)?_[V]:null;if(D!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",s,D),aa[s]=!0,!0;if(Xd.test(s))return m("Unknown event handler property `%s`. It will be ignored.",s),aa[s]=!0,!0}else if(Xd.test(s))return YZ.test(s)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),aa[s]=!0,!0;if(QZ.test(s)||KZ.test(s))return!0;if(V==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),aa[s]=!0,!0;if(V==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),aa[s]=!0,!0;if(V==="is"&&v!==null&&v!==void 0&&typeof v!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof v),aa[s]=!0,!0;if(typeof v=="number"&&isNaN(v))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),aa[s]=!0,!0;var x=Pe(s),W=x!==null&&x.type===Q0;if(S9.hasOwnProperty(V)){var J=S9[V];if(J!==s)return m("Invalid DOM property `%s`. Did you mean `%s`?",s,J),aa[s]=!0,!0}else if(!W&&s!==V)return m("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.",s,V),aa[s]=!0,!0;return typeof v=="boolean"&&i8(s,v,x,!1)?(v?m('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()}.',v,s,s,v,s):m('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.',v,s,s,v,s,s,s),aa[s]=!0,!0):W?!0:i8(s,v,x,!1)?(aa[s]=!0,!1):((v==="false"||v==="true")&&x!==null&&x.type===Z1&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",v,s,v==="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".',s,v),aa[s]=!0),!0)}}var XZ=function(i,s,v){{var Z=[];for(var V in s){var L=D5(i,V,s[V],v);L||Z.push(V)}var _=Z.map(function(D){return"`"+D+"`"}).join(", ");Z.length===1?m("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 ",_,i):Z.length>1&&m("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 ",_,i)}};function zn(i,s,v){Gl(i,s)||XZ(i,s,v)}var j9=1,x5=2,R5=4,gF=j9|x5|R5,xr=null;function AF(i){xr!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),xr=i}function JZ(){xr===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),xr=null}function ey(i){return i===xr}function Y2(i){var s=i.target||i.srcElement||window;return s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===Ir?s.parentNode:s}var z5=null,Rr=null,Q4=null;function Jd(i){var s=ri(i);if(s){if(typeof z5!="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 v=s.stateNode;if(v){var Z=Jy(v);z5(s.stateNode,s.type,Z)}}}function ep(i){z5=i}function wo(i){Rr?Q4?Q4.push(i):Q4=[i]:Rr=i}function P9(){return Rr!==null||Q4!==null}function Ql(){if(Rr){var i=Rr,s=Q4;if(Rr=null,Q4=null,Jd(i),s)for(var v=0;v<s.length;v++)Jd(s[v])}}var tp=function(i,s){return i(s)},ty=function(){},ap=!1;function ay(){var i=P9();i&&(ty(),Ql())}function U5(i,s,v){if(ap)return i(s,v);ap=!0;try{return tp(i,s,v)}finally{ap=!1,ay()}}function k9(i,s,v){tp=i,ty=v}function rp(i){return i==="button"||i==="input"||i==="select"||i==="textarea"}function np(i,s,v){switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(v.disabled&&rp(s));default:return!1}}function Kl(i,s){var v=i.stateNode;if(v===null)return null;var Z=Jy(v);if(Z===null)return null;var V=Z[s];if(np(s,i.type,Z))return null;if(V&&typeof V!="function")throw new Error("Expected `"+s+"` listener to be a function, instead got a value of `"+typeof V+"` type.");return V}var B5=!1;if(x0)try{var q5={};Object.defineProperty(q5,"passive",{get:function(){B5=!0}}),window.addEventListener("test",q5,q5),window.removeEventListener("test",q5,q5)}catch{B5=!1}function lp(i,s,v,Z,V,L,_,D,x){var W=Array.prototype.slice.call(arguments,3);try{s.apply(v,W)}catch(J){this.onError(J)}}var ry=lp;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var op=document.createElement("react");ry=function(s,v,Z,V,L,_,D,x,W){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 J=document.createEvent("Event"),M0=!1,b0=!0,U0=window.event,q0=Object.getOwnPropertyDescriptor(window,"event");function K0(){op.removeEventListener(X0,ge,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=U0)}var N1=Array.prototype.slice.call(arguments,3);function ge(){M0=!0,K0(),v.apply(Z,N1),b0=!1}var ue,d2=!1,n2=!1;function _0(C0){if(ue=C0.error,d2=!0,ue===null&&C0.colno===0&&C0.lineno===0&&(n2=!0),C0.defaultPrevented&&ue!=null&&typeof ue=="object")try{ue._suppressLogging=!0}catch{}}var X0="react-"+(s||"invokeguardedcallback");if(window.addEventListener("error",_0),op.addEventListener(X0,ge,!1),J.initEvent(X0,!1,!1),op.dispatchEvent(J),q0&&Object.defineProperty(window,"event",q0),M0&&b0&&(d2?n2&&(ue=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.")):ue=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(ue)),window.removeEventListener("error",_0),!M0)return K0(),lp.apply(this,arguments)}}var ip=ry,g6=!1,W5=null,zr=!1,Y6=null,G5={onError:function(i){g6=!0,W5=i}};function M4(i,s,v,Z,V,L,_,D,x){g6=!1,W5=null,ip.apply(G5,arguments)}function cp(i,s,v,Z,V,L,_,D,x){if(M4.apply(this,arguments),g6){var W=Ur();zr||(zr=!0,Y6=W)}}function ZF(){if(zr){var i=Y6;throw zr=!1,Y6=null,i}}function yF(){return g6}function Ur(){if(g6){var i=W5;return g6=!1,W5=null,i}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 K4(i){return i._reactInternals}function So(i){return i._reactInternals!==void 0}function _9(i,s){i._reactInternals=s}var ve=0,V4=1,Q2=2,le=4,M2=16,Q6=32,Zt=64,ke=128,ga=256,A6=512,X8=1024,Ba=2048,X4=4096,Un=8192,Xl=16384,ny=Ba|le|Zt|A6|X8|Xl,Br=32767,Bn=32768,Nt=65536,C9=131072,ly=1048576,J4=2097152,K6=4194304,qn=8388608,X6=16777216,Jl=33554432,qa=le|X8|0,Wa=Q2|le|M2|Q6|A6|X4|Un,O4=le|Zt|A6|Un,Ga=Ba|M2,Tt=K6|qn|J4,e3=n.ReactCurrentOwner;function Wn(i){var s=i,v=i;if(i.alternate)for(;s.return;)s=s.return;else{var Z=s;do s=Z,(s.flags&(Q2|X4))!==ve&&(v=s.return),Z=s.return;while(Z)}return s.tag===y?v:null}function N9(i){if(i.tag===I){var s=i.memoizedState;if(s===null){var v=i.alternate;v!==null&&(s=v.memoizedState)}if(s!==null)return s.dehydrated}return null}function T9(i){return i.tag===y?i.stateNode.containerInfo:null}function Z6(i){return Wn(i)===i}function y6(i){{var s=e3.current;if(s!==null&&s.tag===g){var v=s,Z=v.stateNode;Z._warnedAboutRefsInRender||m("%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.",Ee(v)||"A component"),Z._warnedAboutRefsInRender=!0}}var V=K4(i);return V?Wn(V)===V:!1}function m8(i){if(Wn(i)!==i)throw new Error("Unable to find node on an unmounted component.")}function J6(i){var s=i.alternate;if(!s){var v=Wn(i);if(v===null)throw new Error("Unable to find node on an unmounted component.");return v!==i?null:i}for(var Z=i,V=s;;){var L=Z.return;if(L===null)break;var _=L.alternate;if(_===null){var D=L.return;if(D!==null){Z=V=D;continue}break}if(L.child===_.child){for(var x=L.child;x;){if(x===Z)return m8(L),i;if(x===V)return m8(L),s;x=x.sibling}throw new Error("Unable to find node on an unmounted component.")}if(Z.return!==V.return)Z=L,V=_;else{for(var W=!1,J=L.child;J;){if(J===Z){W=!0,Z=L,V=_;break}if(J===V){W=!0,V=L,Z=_;break}J=J.sibling}if(!W){for(J=_.child;J;){if(J===Z){W=!0,Z=_,V=L;break}if(J===V){W=!0,V=_,Z=L;break}J=J.sibling}if(!W)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(Z.alternate!==V)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(Z.tag!==y)throw new Error("Unable to find node on an unmounted component.");return Z.stateNode.current===Z?i:s}function sp(i){var s=J6(i);return s!==null?mp(s):null}function mp(i){if(i.tag===M||i.tag===O)return i;for(var s=i.child;s!==null;){var v=mp(s);if(v!==null)return v;s=s.sibling}return null}function up(i){var s=J6(i);return s!==null?I9(s):null}function I9(i){if(i.tag===M||i.tag===O)return i;for(var s=i.child;s!==null;){if(s.tag!==E){var v=I9(s);if(v!==null)return v}s=s.sibling}return null}var dp=r.unstable_scheduleCallback,D9=r.unstable_cancelCallback,oy=r.unstable_shouldYield,Lo=r.unstable_requestPaint,J8=r.unstable_now,bF=r.unstable_getCurrentPriorityLevel,Gn=r.unstable_ImmediatePriority,Fo=r.unstable_UserBlockingPriority,Yn=r.unstable_NormalPriority,iy=r.unstable_LowPriority,Qn=r.unstable_IdlePriority,cy=r.unstable_yieldValue,x9=r.unstable_setDisableYieldValue,qr=null,I8=null,C1=null,e4=!1,b6=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function pp(i){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var s=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(s.isDisabled)return!0;if(!s.supportsFiber)return m("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{c0&&(i=ce({},i,{getLaneLabelMap:Kn,injectProfilingHooks:Wr})),qr=s.inject(i),I8=s}catch(v){m("React instrumentation encountered an error: %s.",v)}return!!s.checkDCE}function jo(i,s){if(I8&&typeof I8.onScheduleFiberRoot=="function")try{I8.onScheduleFiberRoot(qr,i,s)}catch(v){e4||(e4=!0,m("React instrumentation encountered an error: %s",v))}}function t4(i,s){if(I8&&typeof I8.onCommitFiberRoot=="function")try{var v=(i.current.flags&ke)===ke;if(z0){var Z;switch(s){case V6:Z=Gn;break;case nr:Z=Fo;break;case S4:Z=Yn;break;case i7:Z=Qn;break;default:Z=Yn;break}I8.onCommitFiberRoot(qr,i,Z,v)}}catch(V){e4||(e4=!0,m("React instrumentation encountered an error: %s",V))}}function t3(i){if(I8&&typeof I8.onPostCommitFiberRoot=="function")try{I8.onPostCommitFiberRoot(qr,i)}catch(s){e4||(e4=!0,m("React instrumentation encountered an error: %s",s))}}function hp(i){if(I8&&typeof I8.onCommitFiberUnmount=="function")try{I8.onCommitFiberUnmount(qr,i)}catch(s){e4||(e4=!0,m("React instrumentation encountered an error: %s",s))}}function st(i){if(typeof cy=="function"&&(x9(i),o(i)),I8&&typeof I8.setStrictMode=="function")try{I8.setStrictMode(qr,i)}catch(s){e4||(e4=!0,m("React instrumentation encountered an error: %s",s))}}function Wr(i){C1=i}function Kn(){{for(var i=new Map,s=1,v=0;v<K5;v++){var Z=EF(s);i.set(s,Z),s*=2}return i}}function fp(i){C1!==null&&typeof C1.markCommitStarted=="function"&&C1.markCommitStarted(i)}function vp(){C1!==null&&typeof C1.markCommitStopped=="function"&&C1.markCommitStopped()}function H6(i){C1!==null&&typeof C1.markComponentRenderStarted=="function"&&C1.markComponentRenderStarted(i)}function E6(){C1!==null&&typeof C1.markComponentRenderStopped=="function"&&C1.markComponentRenderStopped()}function R9(i){C1!==null&&typeof C1.markComponentPassiveEffectMountStarted=="function"&&C1.markComponentPassiveEffectMountStarted(i)}function sy(){C1!==null&&typeof C1.markComponentPassiveEffectMountStopped=="function"&&C1.markComponentPassiveEffectMountStopped()}function z9(i){C1!==null&&typeof C1.markComponentPassiveEffectUnmountStarted=="function"&&C1.markComponentPassiveEffectUnmountStarted(i)}function my(){C1!==null&&typeof C1.markComponentPassiveEffectUnmountStopped=="function"&&C1.markComponentPassiveEffectUnmountStopped()}function Y5(i){C1!==null&&typeof C1.markComponentLayoutEffectMountStarted=="function"&&C1.markComponentLayoutEffectMountStarted(i)}function er(){C1!==null&&typeof C1.markComponentLayoutEffectMountStopped=="function"&&C1.markComponentLayoutEffectMountStopped()}function Po(i){C1!==null&&typeof C1.markComponentLayoutEffectUnmountStarted=="function"&&C1.markComponentLayoutEffectUnmountStarted(i)}function ko(){C1!==null&&typeof C1.markComponentLayoutEffectUnmountStopped=="function"&&C1.markComponentLayoutEffectUnmountStopped()}function a3(i,s,v){C1!==null&&typeof C1.markComponentErrored=="function"&&C1.markComponentErrored(i,s,v)}function gp(i,s,v){C1!==null&&typeof C1.markComponentSuspended=="function"&&C1.markComponentSuspended(i,s,v)}function _o(i){C1!==null&&typeof C1.markLayoutEffectsStarted=="function"&&C1.markLayoutEffectsStarted(i)}function uy(){C1!==null&&typeof C1.markLayoutEffectsStopped=="function"&&C1.markLayoutEffectsStopped()}function Ap(i){C1!==null&&typeof C1.markPassiveEffectsStarted=="function"&&C1.markPassiveEffectsStarted(i)}function E8(){C1!==null&&typeof C1.markPassiveEffectsStopped=="function"&&C1.markPassiveEffectsStopped()}function Q5(i){C1!==null&&typeof C1.markRenderStarted=="function"&&C1.markRenderStarted(i)}function Zp(){C1!==null&&typeof C1.markRenderYielded=="function"&&C1.markRenderYielded()}function U9(){C1!==null&&typeof C1.markRenderStopped=="function"&&C1.markRenderStopped()}function B9(i){C1!==null&&typeof C1.markRenderScheduled=="function"&&C1.markRenderScheduled(i)}function yp(i,s){C1!==null&&typeof C1.markForceUpdateScheduled=="function"&&C1.markForceUpdateScheduled(i,s)}function Gr(i,s){C1!==null&&typeof C1.markStateUpdateScheduled=="function"&&C1.markStateUpdateScheduled(i,s)}var _1=0,fe=1,Se=2,u8=8,Ya=16,Co=Math.clz32?Math.clz32:bp,HF=Math.log,ra=Math.LN2;function bp(i){var s=i>>>0;return s===0?32:31-(HF(s)/ra|0)|0}var K5=31,i1=0,K2=0,se=1,tr=2,$4=4,Yr=8,w4=16,No=32,r3=4194240,To=64,q9=128,W9=256,G9=512,Y9=1024,n3=2048,Q9=4096,Io=8192,Do=16384,K9=32768,X5=65536,X9=131072,J9=262144,es=524288,ts=1048576,J5=2097152,e7=130023424,l3=4194304,as=8388608,Hp=16777216,rs=33554432,Ep=67108864,dy=l3,xo=134217728,Mp=268435455,Ro=268435456,ar=536870912,M6=1073741824;function EF(i){{if(i&se)return"Sync";if(i&tr)return"InputContinuousHydration";if(i&$4)return"InputContinuous";if(i&Yr)return"DefaultHydration";if(i&w4)return"Default";if(i&No)return"TransitionHydration";if(i&r3)return"Transition";if(i&e7)return"Retry";if(i&xo)return"SelectiveHydration";if(i&Ro)return"IdleHydration";if(i&ar)return"Idle";if(i&M6)return"Offscreen"}}var r8=-1,Qa=To,zo=l3;function Xn(i){switch(Jn(i)){case se:return se;case tr:return tr;case $4:return $4;case Yr:return Yr;case w4:return w4;case No:return No;case To:case q9:case W9:case G9:case Y9:case n3:case Q9:case Io:case Do:case K9:case X5:case X9:case J9:case es:case ts:case J5:return i&r3;case l3:case as:case Hp:case rs:case Ep:return i&e7;case xo:return xo;case Ro:return Ro;case ar:return ar;case M6:return M6;default:return m("Should have found matching lanes. This is a bug in React."),i}}function t7(i,s){var v=i.pendingLanes;if(v===i1)return i1;var Z=i1,V=i.suspendedLanes,L=i.pingedLanes,_=v&Mp;if(_!==i1){var D=_&~V;if(D!==i1)Z=Xn(D);else{var x=_&L;x!==i1&&(Z=Xn(x))}}else{var W=v&~V;W!==i1?Z=Xn(W):L!==i1&&(Z=Xn(L))}if(Z===i1)return i1;if(s!==i1&&s!==Z&&(s&V)===i1){var J=Jn(Z),M0=Jn(s);if(J>=M0||J===w4&&(M0&r3)!==i1)return s}(Z&$4)!==i1&&(Z|=v&w4);var b0=i.entangledLanes;if(b0!==i1)for(var U0=i.entanglements,q0=Z&b0;q0>0;){var K0=el(q0),N1=1<<K0;Z|=U0[K0],q0&=~N1}return Z}function py(i,s){for(var v=i.eventTimes,Z=r8;s>0;){var V=el(s),L=1<<V,_=v[V];_>Z&&(Z=_),s&=~L}return Z}function hy(i,s){switch(i){case se:case tr:case $4:return s+250;case Yr:case w4:case No:case To:case q9:case W9:case G9:case Y9:case n3:case Q9:case Io:case Do:case K9:case X5:case X9:case J9:case es:case ts:case J5:return s+5e3;case l3:case as:case Hp:case rs:case Ep:return r8;case xo:case Ro:case ar:case M6:return r8;default:return m("Should have found matching lanes. This is a bug in React."),r8}}function Vp(i,s){for(var v=i.pendingLanes,Z=i.suspendedLanes,V=i.pingedLanes,L=i.expirationTimes,_=v;_>0;){var D=el(_),x=1<<D,W=L[D];W===r8?((x&Z)===i1||(x&V)!==i1)&&(L[D]=hy(x,s)):W<=s&&(i.expiredLanes|=x),_&=~x}}function Uo(i){return Xn(i.pendingLanes)}function a7(i){var s=i.pendingLanes&~M6;return s!==i1?s:s&M6?M6:i1}function Op(i){return(i&se)!==i1}function $p(i){return(i&Mp)!==i1}function wp(i){return(i&e7)===i}function fy(i){var s=se|$4|w4;return(i&s)===i1}function vy(i){return(i&r3)===i}function r7(i,s){var v=tr|$4|Yr|w4;return(s&v)!==i1}function gy(i,s){return(s&i.expiredLanes)!==i1}function Ay(i){return(i&r3)!==i1}function Aa(){var i=Qa;return Qa<<=1,(Qa&r3)===i1&&(Qa=To),i}function Za(){var i=zo;return zo<<=1,(zo&e7)===i1&&(zo=l3),i}function Jn(i){return i&-i}function Bo(i){return Jn(i)}function el(i){return 31-Co(i)}function ns(i){return el(i)}function Ka(i,s){return(i&s)!==i1}function tl(i,s){return(i&s)===s}function xe(i,s){return i|s}function qo(i,s){return i&~s}function Sp(i,s){return i&s}function MF(i){return i}function Lp(i,s){return i!==K2&&i<s?i:s}function n7(i){for(var s=[],v=0;v<K5;v++)s.push(i);return s}function Wo(i,s,v){i.pendingLanes|=s,s!==ar&&(i.suspendedLanes=i1,i.pingedLanes=i1);var Z=i.eventTimes,V=ns(s);Z[V]=v}function Fp(i,s){i.suspendedLanes|=s,i.pingedLanes&=~s;for(var v=i.expirationTimes,Z=s;Z>0;){var V=el(Z),L=1<<V;v[V]=r8,Z&=~L}}function l7(i,s,v){i.pingedLanes|=i.suspendedLanes&s}function VF(i,s){var v=i.pendingLanes&~s;i.pendingLanes=s,i.suspendedLanes=i1,i.pingedLanes=i1,i.expiredLanes&=s,i.mutableReadLanes&=s,i.entangledLanes&=s;for(var Z=i.entanglements,V=i.eventTimes,L=i.expirationTimes,_=v;_>0;){var D=el(_),x=1<<D;Z[D]=i1,V[D]=r8,L[D]=r8,_&=~x}}function ls(i,s){for(var v=i.entangledLanes|=s,Z=i.entanglements,V=v;V;){var L=el(V),_=1<<L;_&s|Z[L]&s&&(Z[L]|=s),V&=~_}}function jp(i,s){var v=Jn(s),Z;switch(v){case $4:Z=tr;break;case w4:Z=Yr;break;case To:case q9:case W9:case G9:case Y9:case n3:case Q9:case Io:case Do:case K9:case X5:case X9:case J9:case es:case ts:case J5:case l3:case as:case Hp:case rs:case Ep:Z=No;break;case ar:Z=Ro;break;default:Z=K2;break}return(Z&(i.suspendedLanes|s))!==K2?K2:Z}function Pp(i,s,v){if(b6)for(var Z=i.pendingUpdatersLaneMap;v>0;){var V=ns(v),L=1<<V,_=Z[V];_.add(s),v&=~L}}function o7(i,s){if(b6)for(var v=i.pendingUpdatersLaneMap,Z=i.memoizedUpdaters;s>0;){var V=ns(s),L=1<<V,_=v[V];_.size>0&&(_.forEach(function(D){var x=D.alternate;(x===null||!Z.has(x))&&Z.add(D)}),_.clear()),s&=~L}}function rr(i,s){return null}var V6=se,nr=$4,S4=w4,i7=ar,Go=K2;function ya(){return Go}function y2(i){Go=i}function OF(i,s){var v=Go;try{return Go=i,s()}finally{Go=v}}function $F(i,s){return i!==0&&i<s?i:s}function os(i,s){return i>s?i:s}function yt(i,s){return i!==0&&i<s}function Zy(i){var s=Jn(i);return yt(V6,s)?yt(nr,s)?$p(s)?S4:i7:nr:V6}function B1(i){var s=i.current.memoizedState;return s.isDehydrated}var o3;function kp(i){o3=i}function yy(i){o3(i)}var _p;function c7(i){_p=i}var s7;function Cp(i){s7=i}var Np;function by(i){Np=i}var Tp;function Ip(i){Tp=i}var m7=!1,et=[],bt=null,ba=null,Qr=null,Yo=new Map,Ha=new Map,Kr=[],lr=["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 wF(i){return lr.indexOf(i)>-1}function Hy(i,s,v,Z,V){return{blockedOn:i,domEventName:s,eventSystemFlags:v,nativeEvent:V,targetContainers:[Z]}}function Dp(i,s){switch(i){case"focusin":case"focusout":bt=null;break;case"dragenter":case"dragleave":ba=null;break;case"mouseover":case"mouseout":Qr=null;break;case"pointerover":case"pointerout":{var v=s.pointerId;Yo.delete(v);break}case"gotpointercapture":case"lostpointercapture":{var Z=s.pointerId;Ha.delete(Z);break}}}function Qo(i,s,v,Z,V,L){if(i===null||i.nativeEvent!==L){var _=Hy(s,v,Z,V,L);if(s!==null){var D=ri(s);D!==null&&_p(D)}return _}i.eventSystemFlags|=Z;var x=i.targetContainers;return V!==null&&x.indexOf(V)===-1&&x.push(V),i}function Ey(i,s,v,Z,V){switch(s){case"focusin":{var L=V;return bt=Qo(bt,i,s,v,Z,L),!0}case"dragenter":{var _=V;return ba=Qo(ba,i,s,v,Z,_),!0}case"mouseover":{var D=V;return Qr=Qo(Qr,i,s,v,Z,D),!0}case"pointerover":{var x=V,W=x.pointerId;return Yo.set(W,Qo(Yo.get(W)||null,i,s,v,Z,x)),!0}case"gotpointercapture":{var J=V,M0=J.pointerId;return Ha.set(M0,Qo(Ha.get(M0)||null,i,s,v,Z,J)),!0}}return!1}function My(i){var s=V7(i.target);if(s!==null){var v=Wn(s);if(v!==null){var Z=v.tag;if(Z===I){var V=N9(v);if(V!==null){i.blockedOn=V,Tp(i.priority,function(){s7(v)});return}}else if(Z===y){var L=v.stateNode;if(B1(L)){i.blockedOn=T9(v);return}}}}i.blockedOn=null}function is(i){for(var s=Np(),v={blockedOn:null,target:i,priority:s},Z=0;Z<Kr.length&&yt(s,Kr[Z].priority);Z++);Kr.splice(Z,0,v),Z===0&&My(v)}function Ko(i){if(i.blockedOn!==null)return!1;for(var s=i.targetContainers;s.length>0;){var v=s[0],Z=h7(i.domEventName,i.eventSystemFlags,v,i.nativeEvent);if(Z===null){var V=i.nativeEvent,L=new V.constructor(V.type,V);AF(L),V.target.dispatchEvent(L),JZ()}else{var _=ri(Z);return _!==null&&_p(_),i.blockedOn=Z,!1}s.shift()}return!0}function O6(i,s,v){Ko(i)&&v.delete(s)}function b2(){m7=!1,bt!==null&&Ko(bt)&&(bt=null),ba!==null&&Ko(ba)&&(ba=null),Qr!==null&&Ko(Qr)&&(Qr=null),Yo.forEach(O6),Ha.forEach(O6)}function L8(i,s){i.blockedOn===s&&(i.blockedOn=null,m7||(m7=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,b2)))}function A8(i){if(et.length>0){L8(et[0],i);for(var s=1;s<et.length;s++){var v=et[s];v.blockedOn===i&&(v.blockedOn=null)}}bt!==null&&L8(bt,i),ba!==null&&L8(ba,i),Qr!==null&&L8(Qr,i);var Z=function(D){return L8(D,i)};Yo.forEach(Z),Ha.forEach(Z);for(var V=0;V<Kr.length;V++){var L=Kr[V];L.blockedOn===i&&(L.blockedOn=null)}for(;Kr.length>0;){var _=Kr[0];if(_.blockedOn!==null)break;My(_),_.blockedOn===null&&Kr.shift()}}var F8=n.ReactCurrentBatchConfig,Ea=!0;function i3(i){Ea=!!i}function mt(){return Ea}function u7(i,s,v){var Z=s3(s),V;switch(Z){case V6:V=c3;break;case nr:V=cs;break;case S4:default:V=d7;break}return V.bind(null,s,v,i)}function c3(i,s,v,Z){var V=ya(),L=F8.transition;F8.transition=null;try{y2(V6),d7(i,s,v,Z)}finally{y2(V),F8.transition=L}}function cs(i,s,v,Z){var V=ya(),L=F8.transition;F8.transition=null;try{y2(nr),d7(i,s,v,Z)}finally{y2(V),F8.transition=L}}function d7(i,s,v,Z){Ea&&p7(i,s,v,Z)}function p7(i,s,v,Z){var V=h7(i,s,v,Z);if(V===null){WF(i,s,Z,It,v),Dp(i,Z);return}if(Ey(V,i,s,v,Z)){Z.stopPropagation();return}if(Dp(i,Z),s&R5&&wF(i)){for(;V!==null;){var L=ri(V);L!==null&&yy(L);var _=h7(i,s,v,Z);if(_===null&&WF(i,s,Z,It,v),_===V)break;V=_}V!==null&&Z.stopPropagation();return}WF(i,s,Z,null,v)}var It=null;function h7(i,s,v,Z){It=null;var V=Y2(Z),L=V7(V);if(L!==null){var _=Wn(L);if(_===null)L=null;else{var D=_.tag;if(D===I){var x=N9(_);if(x!==null)return x;L=null}else if(D===y){var W=_.stateNode;if(B1(W))return T9(_);L=null}else _!==L&&(L=null)}}return It=L,null}function s3(i){switch(i){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 V6;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 nr;case"message":{var s=bF();switch(s){case Gn:return V6;case Fo:return nr;case Yn:case iy:return S4;case Qn:return i7;default:return S4}}default:return S4}}function Xr(i,s,v){return i.addEventListener(s,v,!1),v}function ss(i,s,v){return i.addEventListener(s,v,!0),v}function xp(i,s,v,Z){return i.addEventListener(s,v,{capture:!0,passive:Z}),v}function al(i,s,v,Z){return i.addEventListener(s,v,{passive:Z}),v}var rl=null,or=null,nl=null;function f7(i){return rl=i,or=g7(),!0}function Rp(){rl=null,or=null,nl=null}function v7(){if(nl)return nl;var i,s=or,v=s.length,Z,V=g7(),L=V.length;for(i=0;i<v&&s[i]===V[i];i++);var _=v-i;for(Z=1;Z<=_&&s[v-Z]===V[L-Z];Z++);var D=Z>1?1-Z:void 0;return nl=V.slice(i,D),nl}function g7(){return"value"in rl?rl.value:rl.textContent}function Ht(i){var s,v=i.keyCode;return"charCode"in i?(s=i.charCode,s===0&&v===13&&(s=13)):s=v,s===10&&(s=13),s>=32||s===13?s:0}function L4(){return!0}function a4(){return!1}function n8(i){function s(v,Z,V,L,_){this._reactName=v,this._targetInst=V,this.type=Z,this.nativeEvent=L,this.target=_,this.currentTarget=null;for(var D in i)if(i.hasOwnProperty(D)){var x=i[D];x?this[D]=x(L):this[D]=L[D]}var W=L.defaultPrevented!=null?L.defaultPrevented:L.returnValue===!1;return W?this.isDefaultPrevented=L4:this.isDefaultPrevented=a4,this.isPropagationStopped=a4,this}return ce(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=L4)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=L4)},persist:function(){},isPersistent:L4}),s}var m3={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},A7=n8(m3),u3=ce({},m3,{view:0,detail:0}),SF=n8(u3),ir,ms,d3;function p3(i){i!==d3&&(d3&&i.type==="mousemove"?(ir=i.screenX-d3.screenX,ms=i.screenY-d3.screenY):(ir=0,ms=0),d3=i)}var Xo=ce({},u3,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Up,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(p3(i),ir)},movementY:function(i){return"movementY"in i?i.movementY:ms}}),ll=n8(Xo),Vy=ce({},Xo,{dataTransfer:0}),Oy=n8(Vy),zp=ce({},u3,{relatedTarget:0}),Jo=n8(zp),LF=ce({},m3,{animationName:0,elapsedTime:0,pseudoElement:0}),FF=n8(LF),$y=ce({},m3,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),wy=n8($y),h3=ce({},m3,{data:0}),Sy=n8(h3),ei=Sy,Ly={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j8={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 jF(i){if(i.key){var s=Ly[i.key]||i.key;if(s!=="Unidentified")return s}if(i.type==="keypress"){var v=Ht(i);return v===13?"Enter":String.fromCharCode(v)}return i.type==="keydown"||i.type==="keyup"?j8[i.keyCode]||"Unidentified":""}var Fy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function PF(i){var s=this,v=s.nativeEvent;if(v.getModifierState)return v.getModifierState(i);var Z=Fy[i];return Z?!!v[Z]:!1}function Up(i){return PF}var jy=ce({},u3,{key:jF,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Up,charCode:function(i){return i.type==="keypress"?Ht(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Ht(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),Py=n8(jy),kF=ce({},Xo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$6=n8(kF),Bp=ce({},u3,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Up}),_F=n8(Bp),ol=ce({},m3,{propertyName:0,elapsedTime:0,pseudoElement:0}),us=n8(ol),f3=ce({},Xo,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),ds=n8(f3),qp=[9,13,27,32],ps=229,Wp=x0&&"CompositionEvent"in window,v3=null;x0&&"documentMode"in document&&(v3=document.documentMode);var CF=x0&&"TextEvent"in window&&!v3,Gp=x0&&(!Wp||v3&&v3>8&&v3<=11),Yp=32,Z7=String.fromCharCode(Yp);function hs(){v0("onBeforeInput",["compositionend","keypress","textInput","paste"]),v0("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),v0("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),v0("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Qp=!1;function Kp(i){return(i.ctrlKey||i.altKey||i.metaKey)&&!(i.ctrlKey&&i.altKey)}function NF(i){switch(i){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function ky(i,s){return i==="keydown"&&s.keyCode===ps}function fs(i,s){switch(i){case"keyup":return qp.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==ps;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function y7(i){var s=i.detail;return typeof s=="object"&&"data"in s?s.data:null}function vs(i){return i.locale==="ko"}var Jr=!1;function _y(i,s,v,Z,V){var L,_;if(Wp?L=NF(s):Jr?fs(s,Z)&&(L="onCompositionEnd"):ky(s,Z)&&(L="onCompositionStart"),!L)return null;Gp&&!vs(Z)&&(!Jr&&L==="onCompositionStart"?Jr=f7(V):L==="onCompositionEnd"&&Jr&&(_=v7()));var D=Dy(v,L);if(D.length>0){var x=new Sy(L,s,null,Z,V);if(i.push({event:x,listeners:D}),_)x.data=_;else{var W=y7(Z);W!==null&&(x.data=W)}}}function TF(i,s){switch(i){case"compositionend":return y7(s);case"keypress":var v=s.which;return v!==Yp?null:(Qp=!0,Z7);case"textInput":var Z=s.data;return Z===Z7&&Qp?null:Z;default:return null}}function gs(i,s){if(Jr){if(i==="compositionend"||!Wp&&fs(i,s)){var v=v7();return Rp(),Jr=!1,v}return null}switch(i){case"paste":return null;case"keypress":if(!Kp(s)){if(s.char&&s.char.length>1)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Gp&&!vs(s)?null:s.data;default:return null}}function IF(i,s,v,Z,V){var L;if(CF?L=TF(s,Z):L=gs(s,Z),!L)return null;var _=Dy(v,"onBeforeInput");if(_.length>0){var D=new ei("onBeforeInput","beforeinput",null,Z,V);i.push({event:D,listeners:_}),D.data=L}}function b7(i,s,v,Z,V,L,_){_y(i,s,v,Z,V),IF(i,s,v,Z,V)}var DF={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 H7(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s==="input"?!!DF[i.type]:s==="textarea"}/**
110
+ Check the render method of \``+i+"`.":""}var F5=["value","defaultValue"];function j5(i){{G4("select",i);for(var s=0;s<F5.length;s++){var v=F5[s];if(i[v]!=null){var Z=A2(i[v]);i.multiple&&!Z?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",v,Mo()):!i.multiple&&Z&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",v,Mo())}}}}function Nr(i,s,v,Z){var V=i.options;if(s){for(var L=v,_={},D=0;D<L.length;D++)_["$"+L[D]]=!0;for(var x=0;x<V.length;x++){var W=_.hasOwnProperty("$"+V[x].value);V[x].selected!==W&&(V[x].selected=W),W&&Z&&(V[x].defaultSelected=!0)}}else{for(var J=Ct(T8(v)),M0=null,b0=0;b0<V.length;b0++){if(V[b0].value===J){V[b0].selected=!0,Z&&(V[b0].defaultSelected=!0);return}M0===null&&!V[b0].disabled&&(M0=V[b0])}M0!==null&&(M0.selected=!0)}}function P5(i,s){return ce({},s,{value:void 0})}function k5(i,s){var v=i;j5(s),v._wrapperState={wasMultiple:!!s.multiple},s.value!==void 0&&s.defaultValue!==void 0&&!Dn&&(m("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"),Dn=!0)}function Rd(i,s){var v=i;v.multiple=!!s.multiple;var Z=s.value;Z!=null?Nr(v,!!s.multiple,Z,!1):s.defaultValue!=null&&Nr(v,!!s.multiple,s.defaultValue,!0)}function oF(i,s){var v=i,Z=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!s.multiple;var V=s.value;V!=null?Nr(v,!!s.multiple,V,!1):Z!==!!s.multiple&&(s.defaultValue!=null?Nr(v,!!s.multiple,s.defaultValue,!0):Nr(v,!!s.multiple,s.multiple?[]:"",!1))}function SZ(i,s){var v=i,Z=s.value;Z!=null&&Nr(v,!!s.multiple,Z,!1)}var LZ=!1;function zd(i,s){var v=i;if(s.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var Z=ce({},s,{value:void 0,defaultValue:void 0,children:Ct(v._wrapperState.initialValue)});return Z}function FZ(i,s){var v=i;G4("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!LZ&&(m("%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",Ra()||"A component"),LZ=!0);var Z=s.value;if(Z==null){var V=s.children,L=s.defaultValue;if(V!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(L!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(A2(V)){if(V.length>1)throw new Error("<textarea> can only have at most one child.");V=V[0]}L=V}}L==null&&(L=""),Z=L}v._wrapperState={initialValue:T8(Z)}}function jZ(i,s){var v=i,Z=T8(s.value),V=T8(s.defaultValue);if(Z!=null){var L=Ct(Z);L!==v.value&&(v.value=L),s.defaultValue==null&&v.defaultValue!==L&&(v.defaultValue=L)}V!=null&&(v.defaultValue=Ct(V))}function V9(i,s){var v=i,Z=v.textContent;Z===v._wrapperState.initialValue&&Z!==""&&Z!==null&&(v.value=Z)}function iF(i,s){jZ(i,s)}var Tr="http://www.w3.org/1999/xhtml",cF="http://www.w3.org/1998/Math/MathML",O9="http://www.w3.org/2000/svg";function Ud(i){switch(i){case"svg":return O9;case"math":return cF;default:return Tr}}function Bd(i,s){return i==null||i===Tr?Ud(s):i===O9&&s==="foreignObject"?Tr:i}var sF=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,v,Z,V){MSApp.execUnsafeLocalFunction(function(){return i(s,v,Z,V)})}:i},$9,PZ=sF(function(i,s){if(i.namespaceURI===O9&&!("innerHTML"in i)){$9=$9||document.createElement("div"),$9.innerHTML="<svg>"+s.valueOf().toString()+"</svg>";for(var v=$9.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;v.firstChild;)i.appendChild(v.firstChild);return}i.innerHTML=s}),Ua=1,Ir=3,S8=8,v6=9,qd=11,_5=function(i,s){if(s){var v=i.firstChild;if(v&&v===i.lastChild&&v.nodeType===Ir){v.nodeValue=s;return}}i.textContent=s},kZ={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 _Z(i,s){return i+s.charAt(0).toUpperCase()+s.substring(1)}var CZ=["Webkit","ms","Moz","O"];Object.keys(Vo).forEach(function(i){CZ.forEach(function(s){Vo[_Z(s,i)]=Vo[i]})});function xn(i,s,v){var Z=s==null||typeof s=="boolean"||s==="";return Z?"":!v&&typeof s=="number"&&s!==0&&!(Vo.hasOwnProperty(i)&&Vo[i])?s+"px":($0(s,i),(""+s).trim())}var mF=/([A-Z])/g,uF=/^ms-/;function dF(i){return i.replace(mF,"-$1").toLowerCase().replace(uF,"-ms-")}var Wd=function(){};{var NZ=/^(?:webkit|moz|o)[A-Z]/,C5=/^-ms-/,N5=/-(.)/g,TZ=/;\s*$/,Dr={},Gd={},Yd=!1,w9=!1,Qd=function(i){return i.replace(N5,function(s,v){return v.toUpperCase()})},IZ=function(i){Dr.hasOwnProperty(i)&&Dr[i]||(Dr[i]=!0,m("Unsupported style property %s. Did you mean %s?",i,Qd(i.replace(C5,"ms-"))))},DZ=function(i){Dr.hasOwnProperty(i)&&Dr[i]||(Dr[i]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",i,i.charAt(0).toUpperCase()+i.slice(1)))},xZ=function(i,s){Gd.hasOwnProperty(s)&&Gd[s]||(Gd[s]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,i,s.replace(TZ,"")))},pF=function(i,s){Yd||(Yd=!0,m("`NaN` is an invalid value for the `%s` css style property.",i))},hF=function(i,s){w9||(w9=!0,m("`Infinity` is an invalid value for the `%s` css style property.",i))};Wd=function(i,s){i.indexOf("-")>-1?IZ(i):NZ.test(i)?DZ(i):TZ.test(s)&&xZ(i,s),typeof s=="number"&&(isNaN(s)?pF(i,s):isFinite(s)||hF(i,s))}}var fF=Wd;function vF(i){{var s="",v="";for(var Z in i)if(i.hasOwnProperty(Z)){var V=i[Z];if(V!=null){var L=Z.indexOf("--")===0;s+=v+(L?Z:dF(Z))+":",s+=xn(Z,V,L),v=";"}}return s||null}}function RZ(i,s){var v=i.style;for(var Z in s)if(s.hasOwnProperty(Z)){var V=Z.indexOf("--")===0;V||fF(Z,s[Z]);var L=xn(Z,s[Z],V);Z==="float"&&(Z="cssFloat"),V?v.setProperty(Z,L):v[Z]=L}}function E4(i){return i==null||typeof i=="boolean"||i===""}function Oo(i){var s={};for(var v in i)for(var Z=kZ[v]||[v],V=0;V<Z.length;V++)s[Z[V]]=v;return s}function zZ(i,s){{if(!s)return;var v=Oo(i),Z=Oo(s),V={};for(var L in v){var _=v[L],D=Z[L];if(D&&_!==D){var x=_+","+D;if(V[x])continue;V[x]=!0,m("%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.",E4(i[_])?"Removing":"Updating",_,D)}}}}var UZ={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},BZ=ce({menuitem:!0},UZ),qZ="__html";function T5(i,s){if(s){if(BZ[i]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw new Error(i+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof s.dangerouslySetInnerHTML!="object"||!(qZ in s.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(!s.suppressContentEditableWarning&&s.contentEditable&&s.children!=null&&m("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."),s.style!=null&&typeof s.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 Gl(i,s){if(i.indexOf("-")===-1)return typeof s.is=="string";switch(i){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 S9={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"},Yl={"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},Rn={},I5=new RegExp("^(aria)-["+P1+"]*$"),Kd=new RegExp("^(aria)[A-Z]["+P1+"]*$");function WZ(i,s){{if(k0.call(Rn,s)&&Rn[s])return!0;if(Kd.test(s)){var v="aria-"+s.slice(4).toLowerCase(),Z=Yl.hasOwnProperty(v)?v:null;if(Z==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),Rn[s]=!0,!0;if(s!==Z)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,Z),Rn[s]=!0,!0}if(I5.test(s)){var V=s.toLowerCase(),L=Yl.hasOwnProperty(V)?V:null;if(L==null)return Rn[s]=!0,!1;if(s!==L)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,L),Rn[s]=!0,!0}}return!0}function L9(i,s){{var v=[];for(var Z in s){var V=WZ(i,Z);V||v.push(Z)}var L=v.map(function(_){return"`"+_+"`"}).join(", ");v.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,i):v.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",L,i)}}function $o(i,s){Gl(i,s)||L9(i,s)}var F9=!1;function GZ(i,s){{if(i!=="input"&&i!=="textarea"&&i!=="select")return;s!=null&&s.value===null&&!F9&&(F9=!0,i==="select"&&s.multiple?m("`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.",i):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",i))}}var D5=function(){};{var aa={},Xd=/^on./,YZ=/^on[^A-Z]/,QZ=new RegExp("^(aria)-["+P1+"]*$"),KZ=new RegExp("^(aria)[A-Z]["+P1+"]*$");D5=function(i,s,v,Z){if(k0.call(aa,s)&&aa[s])return!0;var V=s.toLowerCase();if(V==="onfocusin"||V==="onfocusout")return m("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."),aa[s]=!0,!0;if(Z!=null){var L=Z.registrationNameDependencies,_=Z.possibleRegistrationNames;if(L.hasOwnProperty(s))return!0;var D=_.hasOwnProperty(V)?_[V]:null;if(D!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",s,D),aa[s]=!0,!0;if(Xd.test(s))return m("Unknown event handler property `%s`. It will be ignored.",s),aa[s]=!0,!0}else if(Xd.test(s))return YZ.test(s)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),aa[s]=!0,!0;if(QZ.test(s)||KZ.test(s))return!0;if(V==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),aa[s]=!0,!0;if(V==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),aa[s]=!0,!0;if(V==="is"&&v!==null&&v!==void 0&&typeof v!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof v),aa[s]=!0,!0;if(typeof v=="number"&&isNaN(v))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),aa[s]=!0,!0;var x=Pe(s),W=x!==null&&x.type===Q0;if(S9.hasOwnProperty(V)){var J=S9[V];if(J!==s)return m("Invalid DOM property `%s`. Did you mean `%s`?",s,J),aa[s]=!0,!0}else if(!W&&s!==V)return m("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.",s,V),aa[s]=!0,!0;return typeof v=="boolean"&&i8(s,v,x,!1)?(v?m('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()}.',v,s,s,v,s):m('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.',v,s,s,v,s,s,s),aa[s]=!0,!0):W?!0:i8(s,v,x,!1)?(aa[s]=!0,!1):((v==="false"||v==="true")&&x!==null&&x.type===Z1&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",v,s,v==="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".',s,v),aa[s]=!0),!0)}}var XZ=function(i,s,v){{var Z=[];for(var V in s){var L=D5(i,V,s[V],v);L||Z.push(V)}var _=Z.map(function(D){return"`"+D+"`"}).join(", ");Z.length===1?m("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 ",_,i):Z.length>1&&m("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 ",_,i)}};function zn(i,s,v){Gl(i,s)||XZ(i,s,v)}var j9=1,x5=2,R5=4,gF=j9|x5|R5,xr=null;function AF(i){xr!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),xr=i}function JZ(){xr===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),xr=null}function ey(i){return i===xr}function Y2(i){var s=i.target||i.srcElement||window;return s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===Ir?s.parentNode:s}var z5=null,Rr=null,Q4=null;function Jd(i){var s=ri(i);if(s){if(typeof z5!="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 v=s.stateNode;if(v){var Z=Jy(v);z5(s.stateNode,s.type,Z)}}}function ep(i){z5=i}function wo(i){Rr?Q4?Q4.push(i):Q4=[i]:Rr=i}function P9(){return Rr!==null||Q4!==null}function Ql(){if(Rr){var i=Rr,s=Q4;if(Rr=null,Q4=null,Jd(i),s)for(var v=0;v<s.length;v++)Jd(s[v])}}var tp=function(i,s){return i(s)},ty=function(){},ap=!1;function ay(){var i=P9();i&&(ty(),Ql())}function U5(i,s,v){if(ap)return i(s,v);ap=!0;try{return tp(i,s,v)}finally{ap=!1,ay()}}function k9(i,s,v){tp=i,ty=v}function rp(i){return i==="button"||i==="input"||i==="select"||i==="textarea"}function np(i,s,v){switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(v.disabled&&rp(s));default:return!1}}function Kl(i,s){var v=i.stateNode;if(v===null)return null;var Z=Jy(v);if(Z===null)return null;var V=Z[s];if(np(s,i.type,Z))return null;if(V&&typeof V!="function")throw new Error("Expected `"+s+"` listener to be a function, instead got a value of `"+typeof V+"` type.");return V}var B5=!1;if(x0)try{var q5={};Object.defineProperty(q5,"passive",{get:function(){B5=!0}}),window.addEventListener("test",q5,q5),window.removeEventListener("test",q5,q5)}catch{B5=!1}function lp(i,s,v,Z,V,L,_,D,x){var W=Array.prototype.slice.call(arguments,3);try{s.apply(v,W)}catch(J){this.onError(J)}}var ry=lp;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var op=document.createElement("react");ry=function(s,v,Z,V,L,_,D,x,W){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 J=document.createEvent("Event"),M0=!1,b0=!0,U0=window.event,q0=Object.getOwnPropertyDescriptor(window,"event");function K0(){op.removeEventListener(X0,ge,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=U0)}var N1=Array.prototype.slice.call(arguments,3);function ge(){M0=!0,K0(),v.apply(Z,N1),b0=!1}var ue,d2=!1,n2=!1;function _0(C0){if(ue=C0.error,d2=!0,ue===null&&C0.colno===0&&C0.lineno===0&&(n2=!0),C0.defaultPrevented&&ue!=null&&typeof ue=="object")try{ue._suppressLogging=!0}catch{}}var X0="react-"+(s||"invokeguardedcallback");if(window.addEventListener("error",_0),op.addEventListener(X0,ge,!1),J.initEvent(X0,!1,!1),op.dispatchEvent(J),q0&&Object.defineProperty(window,"event",q0),M0&&b0&&(d2?n2&&(ue=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.")):ue=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(ue)),window.removeEventListener("error",_0),!M0)return K0(),lp.apply(this,arguments)}}var ip=ry,g6=!1,W5=null,zr=!1,Y6=null,G5={onError:function(i){g6=!0,W5=i}};function M4(i,s,v,Z,V,L,_,D,x){g6=!1,W5=null,ip.apply(G5,arguments)}function cp(i,s,v,Z,V,L,_,D,x){if(M4.apply(this,arguments),g6){var W=Ur();zr||(zr=!0,Y6=W)}}function ZF(){if(zr){var i=Y6;throw zr=!1,Y6=null,i}}function yF(){return g6}function Ur(){if(g6){var i=W5;return g6=!1,W5=null,i}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 K4(i){return i._reactInternals}function So(i){return i._reactInternals!==void 0}function _9(i,s){i._reactInternals=s}var ve=0,V4=1,Q2=2,le=4,M2=16,Q6=32,Zt=64,ke=128,ga=256,A6=512,X8=1024,Ba=2048,X4=4096,Un=8192,Xl=16384,ny=Ba|le|Zt|A6|X8|Xl,Br=32767,Bn=32768,Nt=65536,C9=131072,ly=1048576,J4=2097152,K6=4194304,qn=8388608,X6=16777216,Jl=33554432,qa=le|X8|0,Wa=Q2|le|M2|Q6|A6|X4|Un,O4=le|Zt|A6|Un,Ga=Ba|M2,Tt=K6|qn|J4,e3=n.ReactCurrentOwner;function Wn(i){var s=i,v=i;if(i.alternate)for(;s.return;)s=s.return;else{var Z=s;do s=Z,(s.flags&(Q2|X4))!==ve&&(v=s.return),Z=s.return;while(Z)}return s.tag===y?v:null}function N9(i){if(i.tag===I){var s=i.memoizedState;if(s===null){var v=i.alternate;v!==null&&(s=v.memoizedState)}if(s!==null)return s.dehydrated}return null}function T9(i){return i.tag===y?i.stateNode.containerInfo:null}function Z6(i){return Wn(i)===i}function y6(i){{var s=e3.current;if(s!==null&&s.tag===g){var v=s,Z=v.stateNode;Z._warnedAboutRefsInRender||m("%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.",Ee(v)||"A component"),Z._warnedAboutRefsInRender=!0}}var V=K4(i);return V?Wn(V)===V:!1}function m8(i){if(Wn(i)!==i)throw new Error("Unable to find node on an unmounted component.")}function J6(i){var s=i.alternate;if(!s){var v=Wn(i);if(v===null)throw new Error("Unable to find node on an unmounted component.");return v!==i?null:i}for(var Z=i,V=s;;){var L=Z.return;if(L===null)break;var _=L.alternate;if(_===null){var D=L.return;if(D!==null){Z=V=D;continue}break}if(L.child===_.child){for(var x=L.child;x;){if(x===Z)return m8(L),i;if(x===V)return m8(L),s;x=x.sibling}throw new Error("Unable to find node on an unmounted component.")}if(Z.return!==V.return)Z=L,V=_;else{for(var W=!1,J=L.child;J;){if(J===Z){W=!0,Z=L,V=_;break}if(J===V){W=!0,V=L,Z=_;break}J=J.sibling}if(!W){for(J=_.child;J;){if(J===Z){W=!0,Z=_,V=L;break}if(J===V){W=!0,V=_,Z=L;break}J=J.sibling}if(!W)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(Z.alternate!==V)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(Z.tag!==y)throw new Error("Unable to find node on an unmounted component.");return Z.stateNode.current===Z?i:s}function sp(i){var s=J6(i);return s!==null?mp(s):null}function mp(i){if(i.tag===M||i.tag===O)return i;for(var s=i.child;s!==null;){var v=mp(s);if(v!==null)return v;s=s.sibling}return null}function up(i){var s=J6(i);return s!==null?I9(s):null}function I9(i){if(i.tag===M||i.tag===O)return i;for(var s=i.child;s!==null;){if(s.tag!==E){var v=I9(s);if(v!==null)return v}s=s.sibling}return null}var dp=r.unstable_scheduleCallback,D9=r.unstable_cancelCallback,oy=r.unstable_shouldYield,Lo=r.unstable_requestPaint,J8=r.unstable_now,bF=r.unstable_getCurrentPriorityLevel,Gn=r.unstable_ImmediatePriority,Fo=r.unstable_UserBlockingPriority,Yn=r.unstable_NormalPriority,iy=r.unstable_LowPriority,Qn=r.unstable_IdlePriority,cy=r.unstable_yieldValue,x9=r.unstable_setDisableYieldValue,qr=null,I8=null,C1=null,e4=!1,b6=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function pp(i){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var s=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(s.isDisabled)return!0;if(!s.supportsFiber)return m("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{c0&&(i=ce({},i,{getLaneLabelMap:Kn,injectProfilingHooks:Wr})),qr=s.inject(i),I8=s}catch(v){m("React instrumentation encountered an error: %s.",v)}return!!s.checkDCE}function jo(i,s){if(I8&&typeof I8.onScheduleFiberRoot=="function")try{I8.onScheduleFiberRoot(qr,i,s)}catch(v){e4||(e4=!0,m("React instrumentation encountered an error: %s",v))}}function t4(i,s){if(I8&&typeof I8.onCommitFiberRoot=="function")try{var v=(i.current.flags&ke)===ke;if(z0){var Z;switch(s){case V6:Z=Gn;break;case nr:Z=Fo;break;case S4:Z=Yn;break;case i7:Z=Qn;break;default:Z=Yn;break}I8.onCommitFiberRoot(qr,i,Z,v)}}catch(V){e4||(e4=!0,m("React instrumentation encountered an error: %s",V))}}function t3(i){if(I8&&typeof I8.onPostCommitFiberRoot=="function")try{I8.onPostCommitFiberRoot(qr,i)}catch(s){e4||(e4=!0,m("React instrumentation encountered an error: %s",s))}}function hp(i){if(I8&&typeof I8.onCommitFiberUnmount=="function")try{I8.onCommitFiberUnmount(qr,i)}catch(s){e4||(e4=!0,m("React instrumentation encountered an error: %s",s))}}function mt(i){if(typeof cy=="function"&&(x9(i),o(i)),I8&&typeof I8.setStrictMode=="function")try{I8.setStrictMode(qr,i)}catch(s){e4||(e4=!0,m("React instrumentation encountered an error: %s",s))}}function Wr(i){C1=i}function Kn(){{for(var i=new Map,s=1,v=0;v<K5;v++){var Z=EF(s);i.set(s,Z),s*=2}return i}}function fp(i){C1!==null&&typeof C1.markCommitStarted=="function"&&C1.markCommitStarted(i)}function vp(){C1!==null&&typeof C1.markCommitStopped=="function"&&C1.markCommitStopped()}function H6(i){C1!==null&&typeof C1.markComponentRenderStarted=="function"&&C1.markComponentRenderStarted(i)}function E6(){C1!==null&&typeof C1.markComponentRenderStopped=="function"&&C1.markComponentRenderStopped()}function R9(i){C1!==null&&typeof C1.markComponentPassiveEffectMountStarted=="function"&&C1.markComponentPassiveEffectMountStarted(i)}function sy(){C1!==null&&typeof C1.markComponentPassiveEffectMountStopped=="function"&&C1.markComponentPassiveEffectMountStopped()}function z9(i){C1!==null&&typeof C1.markComponentPassiveEffectUnmountStarted=="function"&&C1.markComponentPassiveEffectUnmountStarted(i)}function my(){C1!==null&&typeof C1.markComponentPassiveEffectUnmountStopped=="function"&&C1.markComponentPassiveEffectUnmountStopped()}function Y5(i){C1!==null&&typeof C1.markComponentLayoutEffectMountStarted=="function"&&C1.markComponentLayoutEffectMountStarted(i)}function er(){C1!==null&&typeof C1.markComponentLayoutEffectMountStopped=="function"&&C1.markComponentLayoutEffectMountStopped()}function Po(i){C1!==null&&typeof C1.markComponentLayoutEffectUnmountStarted=="function"&&C1.markComponentLayoutEffectUnmountStarted(i)}function ko(){C1!==null&&typeof C1.markComponentLayoutEffectUnmountStopped=="function"&&C1.markComponentLayoutEffectUnmountStopped()}function a3(i,s,v){C1!==null&&typeof C1.markComponentErrored=="function"&&C1.markComponentErrored(i,s,v)}function gp(i,s,v){C1!==null&&typeof C1.markComponentSuspended=="function"&&C1.markComponentSuspended(i,s,v)}function _o(i){C1!==null&&typeof C1.markLayoutEffectsStarted=="function"&&C1.markLayoutEffectsStarted(i)}function uy(){C1!==null&&typeof C1.markLayoutEffectsStopped=="function"&&C1.markLayoutEffectsStopped()}function Ap(i){C1!==null&&typeof C1.markPassiveEffectsStarted=="function"&&C1.markPassiveEffectsStarted(i)}function E8(){C1!==null&&typeof C1.markPassiveEffectsStopped=="function"&&C1.markPassiveEffectsStopped()}function Q5(i){C1!==null&&typeof C1.markRenderStarted=="function"&&C1.markRenderStarted(i)}function Zp(){C1!==null&&typeof C1.markRenderYielded=="function"&&C1.markRenderYielded()}function U9(){C1!==null&&typeof C1.markRenderStopped=="function"&&C1.markRenderStopped()}function B9(i){C1!==null&&typeof C1.markRenderScheduled=="function"&&C1.markRenderScheduled(i)}function yp(i,s){C1!==null&&typeof C1.markForceUpdateScheduled=="function"&&C1.markForceUpdateScheduled(i,s)}function Gr(i,s){C1!==null&&typeof C1.markStateUpdateScheduled=="function"&&C1.markStateUpdateScheduled(i,s)}var _1=0,fe=1,Se=2,u8=8,Ya=16,Co=Math.clz32?Math.clz32:bp,HF=Math.log,ra=Math.LN2;function bp(i){var s=i>>>0;return s===0?32:31-(HF(s)/ra|0)|0}var K5=31,i1=0,K2=0,se=1,tr=2,$4=4,Yr=8,w4=16,No=32,r3=4194240,To=64,q9=128,W9=256,G9=512,Y9=1024,n3=2048,Q9=4096,Io=8192,Do=16384,K9=32768,X5=65536,X9=131072,J9=262144,es=524288,ts=1048576,J5=2097152,e7=130023424,l3=4194304,as=8388608,Hp=16777216,rs=33554432,Ep=67108864,dy=l3,xo=134217728,Mp=268435455,Ro=268435456,ar=536870912,M6=1073741824;function EF(i){{if(i&se)return"Sync";if(i&tr)return"InputContinuousHydration";if(i&$4)return"InputContinuous";if(i&Yr)return"DefaultHydration";if(i&w4)return"Default";if(i&No)return"TransitionHydration";if(i&r3)return"Transition";if(i&e7)return"Retry";if(i&xo)return"SelectiveHydration";if(i&Ro)return"IdleHydration";if(i&ar)return"Idle";if(i&M6)return"Offscreen"}}var r8=-1,Qa=To,zo=l3;function Xn(i){switch(Jn(i)){case se:return se;case tr:return tr;case $4:return $4;case Yr:return Yr;case w4:return w4;case No:return No;case To:case q9:case W9:case G9:case Y9:case n3:case Q9:case Io:case Do:case K9:case X5:case X9:case J9:case es:case ts:case J5:return i&r3;case l3:case as:case Hp:case rs:case Ep:return i&e7;case xo:return xo;case Ro:return Ro;case ar:return ar;case M6:return M6;default:return m("Should have found matching lanes. This is a bug in React."),i}}function t7(i,s){var v=i.pendingLanes;if(v===i1)return i1;var Z=i1,V=i.suspendedLanes,L=i.pingedLanes,_=v&Mp;if(_!==i1){var D=_&~V;if(D!==i1)Z=Xn(D);else{var x=_&L;x!==i1&&(Z=Xn(x))}}else{var W=v&~V;W!==i1?Z=Xn(W):L!==i1&&(Z=Xn(L))}if(Z===i1)return i1;if(s!==i1&&s!==Z&&(s&V)===i1){var J=Jn(Z),M0=Jn(s);if(J>=M0||J===w4&&(M0&r3)!==i1)return s}(Z&$4)!==i1&&(Z|=v&w4);var b0=i.entangledLanes;if(b0!==i1)for(var U0=i.entanglements,q0=Z&b0;q0>0;){var K0=el(q0),N1=1<<K0;Z|=U0[K0],q0&=~N1}return Z}function py(i,s){for(var v=i.eventTimes,Z=r8;s>0;){var V=el(s),L=1<<V,_=v[V];_>Z&&(Z=_),s&=~L}return Z}function hy(i,s){switch(i){case se:case tr:case $4:return s+250;case Yr:case w4:case No:case To:case q9:case W9:case G9:case Y9:case n3:case Q9:case Io:case Do:case K9:case X5:case X9:case J9:case es:case ts:case J5:return s+5e3;case l3:case as:case Hp:case rs:case Ep:return r8;case xo:case Ro:case ar:case M6:return r8;default:return m("Should have found matching lanes. This is a bug in React."),r8}}function Vp(i,s){for(var v=i.pendingLanes,Z=i.suspendedLanes,V=i.pingedLanes,L=i.expirationTimes,_=v;_>0;){var D=el(_),x=1<<D,W=L[D];W===r8?((x&Z)===i1||(x&V)!==i1)&&(L[D]=hy(x,s)):W<=s&&(i.expiredLanes|=x),_&=~x}}function Uo(i){return Xn(i.pendingLanes)}function a7(i){var s=i.pendingLanes&~M6;return s!==i1?s:s&M6?M6:i1}function Op(i){return(i&se)!==i1}function $p(i){return(i&Mp)!==i1}function wp(i){return(i&e7)===i}function fy(i){var s=se|$4|w4;return(i&s)===i1}function vy(i){return(i&r3)===i}function r7(i,s){var v=tr|$4|Yr|w4;return(s&v)!==i1}function gy(i,s){return(s&i.expiredLanes)!==i1}function Ay(i){return(i&r3)!==i1}function Aa(){var i=Qa;return Qa<<=1,(Qa&r3)===i1&&(Qa=To),i}function Za(){var i=zo;return zo<<=1,(zo&e7)===i1&&(zo=l3),i}function Jn(i){return i&-i}function Bo(i){return Jn(i)}function el(i){return 31-Co(i)}function ns(i){return el(i)}function Ka(i,s){return(i&s)!==i1}function tl(i,s){return(i&s)===s}function xe(i,s){return i|s}function qo(i,s){return i&~s}function Sp(i,s){return i&s}function MF(i){return i}function Lp(i,s){return i!==K2&&i<s?i:s}function n7(i){for(var s=[],v=0;v<K5;v++)s.push(i);return s}function Wo(i,s,v){i.pendingLanes|=s,s!==ar&&(i.suspendedLanes=i1,i.pingedLanes=i1);var Z=i.eventTimes,V=ns(s);Z[V]=v}function Fp(i,s){i.suspendedLanes|=s,i.pingedLanes&=~s;for(var v=i.expirationTimes,Z=s;Z>0;){var V=el(Z),L=1<<V;v[V]=r8,Z&=~L}}function l7(i,s,v){i.pingedLanes|=i.suspendedLanes&s}function VF(i,s){var v=i.pendingLanes&~s;i.pendingLanes=s,i.suspendedLanes=i1,i.pingedLanes=i1,i.expiredLanes&=s,i.mutableReadLanes&=s,i.entangledLanes&=s;for(var Z=i.entanglements,V=i.eventTimes,L=i.expirationTimes,_=v;_>0;){var D=el(_),x=1<<D;Z[D]=i1,V[D]=r8,L[D]=r8,_&=~x}}function ls(i,s){for(var v=i.entangledLanes|=s,Z=i.entanglements,V=v;V;){var L=el(V),_=1<<L;_&s|Z[L]&s&&(Z[L]|=s),V&=~_}}function jp(i,s){var v=Jn(s),Z;switch(v){case $4:Z=tr;break;case w4:Z=Yr;break;case To:case q9:case W9:case G9:case Y9:case n3:case Q9:case Io:case Do:case K9:case X5:case X9:case J9:case es:case ts:case J5:case l3:case as:case Hp:case rs:case Ep:Z=No;break;case ar:Z=Ro;break;default:Z=K2;break}return(Z&(i.suspendedLanes|s))!==K2?K2:Z}function Pp(i,s,v){if(b6)for(var Z=i.pendingUpdatersLaneMap;v>0;){var V=ns(v),L=1<<V,_=Z[V];_.add(s),v&=~L}}function o7(i,s){if(b6)for(var v=i.pendingUpdatersLaneMap,Z=i.memoizedUpdaters;s>0;){var V=ns(s),L=1<<V,_=v[V];_.size>0&&(_.forEach(function(D){var x=D.alternate;(x===null||!Z.has(x))&&Z.add(D)}),_.clear()),s&=~L}}function rr(i,s){return null}var V6=se,nr=$4,S4=w4,i7=ar,Go=K2;function ya(){return Go}function y2(i){Go=i}function OF(i,s){var v=Go;try{return Go=i,s()}finally{Go=v}}function $F(i,s){return i!==0&&i<s?i:s}function os(i,s){return i>s?i:s}function yt(i,s){return i!==0&&i<s}function Zy(i){var s=Jn(i);return yt(V6,s)?yt(nr,s)?$p(s)?S4:i7:nr:V6}function B1(i){var s=i.current.memoizedState;return s.isDehydrated}var o3;function kp(i){o3=i}function yy(i){o3(i)}var _p;function c7(i){_p=i}var s7;function Cp(i){s7=i}var Np;function by(i){Np=i}var Tp;function Ip(i){Tp=i}var m7=!1,et=[],bt=null,ba=null,Qr=null,Yo=new Map,Ha=new Map,Kr=[],lr=["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 wF(i){return lr.indexOf(i)>-1}function Hy(i,s,v,Z,V){return{blockedOn:i,domEventName:s,eventSystemFlags:v,nativeEvent:V,targetContainers:[Z]}}function Dp(i,s){switch(i){case"focusin":case"focusout":bt=null;break;case"dragenter":case"dragleave":ba=null;break;case"mouseover":case"mouseout":Qr=null;break;case"pointerover":case"pointerout":{var v=s.pointerId;Yo.delete(v);break}case"gotpointercapture":case"lostpointercapture":{var Z=s.pointerId;Ha.delete(Z);break}}}function Qo(i,s,v,Z,V,L){if(i===null||i.nativeEvent!==L){var _=Hy(s,v,Z,V,L);if(s!==null){var D=ri(s);D!==null&&_p(D)}return _}i.eventSystemFlags|=Z;var x=i.targetContainers;return V!==null&&x.indexOf(V)===-1&&x.push(V),i}function Ey(i,s,v,Z,V){switch(s){case"focusin":{var L=V;return bt=Qo(bt,i,s,v,Z,L),!0}case"dragenter":{var _=V;return ba=Qo(ba,i,s,v,Z,_),!0}case"mouseover":{var D=V;return Qr=Qo(Qr,i,s,v,Z,D),!0}case"pointerover":{var x=V,W=x.pointerId;return Yo.set(W,Qo(Yo.get(W)||null,i,s,v,Z,x)),!0}case"gotpointercapture":{var J=V,M0=J.pointerId;return Ha.set(M0,Qo(Ha.get(M0)||null,i,s,v,Z,J)),!0}}return!1}function My(i){var s=V7(i.target);if(s!==null){var v=Wn(s);if(v!==null){var Z=v.tag;if(Z===I){var V=N9(v);if(V!==null){i.blockedOn=V,Tp(i.priority,function(){s7(v)});return}}else if(Z===y){var L=v.stateNode;if(B1(L)){i.blockedOn=T9(v);return}}}}i.blockedOn=null}function is(i){for(var s=Np(),v={blockedOn:null,target:i,priority:s},Z=0;Z<Kr.length&&yt(s,Kr[Z].priority);Z++);Kr.splice(Z,0,v),Z===0&&My(v)}function Ko(i){if(i.blockedOn!==null)return!1;for(var s=i.targetContainers;s.length>0;){var v=s[0],Z=h7(i.domEventName,i.eventSystemFlags,v,i.nativeEvent);if(Z===null){var V=i.nativeEvent,L=new V.constructor(V.type,V);AF(L),V.target.dispatchEvent(L),JZ()}else{var _=ri(Z);return _!==null&&_p(_),i.blockedOn=Z,!1}s.shift()}return!0}function O6(i,s,v){Ko(i)&&v.delete(s)}function b2(){m7=!1,bt!==null&&Ko(bt)&&(bt=null),ba!==null&&Ko(ba)&&(ba=null),Qr!==null&&Ko(Qr)&&(Qr=null),Yo.forEach(O6),Ha.forEach(O6)}function L8(i,s){i.blockedOn===s&&(i.blockedOn=null,m7||(m7=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,b2)))}function A8(i){if(et.length>0){L8(et[0],i);for(var s=1;s<et.length;s++){var v=et[s];v.blockedOn===i&&(v.blockedOn=null)}}bt!==null&&L8(bt,i),ba!==null&&L8(ba,i),Qr!==null&&L8(Qr,i);var Z=function(D){return L8(D,i)};Yo.forEach(Z),Ha.forEach(Z);for(var V=0;V<Kr.length;V++){var L=Kr[V];L.blockedOn===i&&(L.blockedOn=null)}for(;Kr.length>0;){var _=Kr[0];if(_.blockedOn!==null)break;My(_),_.blockedOn===null&&Kr.shift()}}var F8=n.ReactCurrentBatchConfig,Ea=!0;function i3(i){Ea=!!i}function ut(){return Ea}function u7(i,s,v){var Z=s3(s),V;switch(Z){case V6:V=c3;break;case nr:V=cs;break;case S4:default:V=d7;break}return V.bind(null,s,v,i)}function c3(i,s,v,Z){var V=ya(),L=F8.transition;F8.transition=null;try{y2(V6),d7(i,s,v,Z)}finally{y2(V),F8.transition=L}}function cs(i,s,v,Z){var V=ya(),L=F8.transition;F8.transition=null;try{y2(nr),d7(i,s,v,Z)}finally{y2(V),F8.transition=L}}function d7(i,s,v,Z){Ea&&p7(i,s,v,Z)}function p7(i,s,v,Z){var V=h7(i,s,v,Z);if(V===null){WF(i,s,Z,It,v),Dp(i,Z);return}if(Ey(V,i,s,v,Z)){Z.stopPropagation();return}if(Dp(i,Z),s&R5&&wF(i)){for(;V!==null;){var L=ri(V);L!==null&&yy(L);var _=h7(i,s,v,Z);if(_===null&&WF(i,s,Z,It,v),_===V)break;V=_}V!==null&&Z.stopPropagation();return}WF(i,s,Z,null,v)}var It=null;function h7(i,s,v,Z){It=null;var V=Y2(Z),L=V7(V);if(L!==null){var _=Wn(L);if(_===null)L=null;else{var D=_.tag;if(D===I){var x=N9(_);if(x!==null)return x;L=null}else if(D===y){var W=_.stateNode;if(B1(W))return T9(_);L=null}else _!==L&&(L=null)}}return It=L,null}function s3(i){switch(i){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 V6;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 nr;case"message":{var s=bF();switch(s){case Gn:return V6;case Fo:return nr;case Yn:case iy:return S4;case Qn:return i7;default:return S4}}default:return S4}}function Xr(i,s,v){return i.addEventListener(s,v,!1),v}function ss(i,s,v){return i.addEventListener(s,v,!0),v}function xp(i,s,v,Z){return i.addEventListener(s,v,{capture:!0,passive:Z}),v}function al(i,s,v,Z){return i.addEventListener(s,v,{passive:Z}),v}var rl=null,or=null,nl=null;function f7(i){return rl=i,or=g7(),!0}function Rp(){rl=null,or=null,nl=null}function v7(){if(nl)return nl;var i,s=or,v=s.length,Z,V=g7(),L=V.length;for(i=0;i<v&&s[i]===V[i];i++);var _=v-i;for(Z=1;Z<=_&&s[v-Z]===V[L-Z];Z++);var D=Z>1?1-Z:void 0;return nl=V.slice(i,D),nl}function g7(){return"value"in rl?rl.value:rl.textContent}function Ht(i){var s,v=i.keyCode;return"charCode"in i?(s=i.charCode,s===0&&v===13&&(s=13)):s=v,s===10&&(s=13),s>=32||s===13?s:0}function L4(){return!0}function a4(){return!1}function n8(i){function s(v,Z,V,L,_){this._reactName=v,this._targetInst=V,this.type=Z,this.nativeEvent=L,this.target=_,this.currentTarget=null;for(var D in i)if(i.hasOwnProperty(D)){var x=i[D];x?this[D]=x(L):this[D]=L[D]}var W=L.defaultPrevented!=null?L.defaultPrevented:L.returnValue===!1;return W?this.isDefaultPrevented=L4:this.isDefaultPrevented=a4,this.isPropagationStopped=a4,this}return ce(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=L4)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=L4)},persist:function(){},isPersistent:L4}),s}var m3={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},A7=n8(m3),u3=ce({},m3,{view:0,detail:0}),SF=n8(u3),ir,ms,d3;function p3(i){i!==d3&&(d3&&i.type==="mousemove"?(ir=i.screenX-d3.screenX,ms=i.screenY-d3.screenY):(ir=0,ms=0),d3=i)}var Xo=ce({},u3,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Up,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(p3(i),ir)},movementY:function(i){return"movementY"in i?i.movementY:ms}}),ll=n8(Xo),Vy=ce({},Xo,{dataTransfer:0}),Oy=n8(Vy),zp=ce({},u3,{relatedTarget:0}),Jo=n8(zp),LF=ce({},m3,{animationName:0,elapsedTime:0,pseudoElement:0}),FF=n8(LF),$y=ce({},m3,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),wy=n8($y),h3=ce({},m3,{data:0}),Sy=n8(h3),ei=Sy,Ly={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j8={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 jF(i){if(i.key){var s=Ly[i.key]||i.key;if(s!=="Unidentified")return s}if(i.type==="keypress"){var v=Ht(i);return v===13?"Enter":String.fromCharCode(v)}return i.type==="keydown"||i.type==="keyup"?j8[i.keyCode]||"Unidentified":""}var Fy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function PF(i){var s=this,v=s.nativeEvent;if(v.getModifierState)return v.getModifierState(i);var Z=Fy[i];return Z?!!v[Z]:!1}function Up(i){return PF}var jy=ce({},u3,{key:jF,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Up,charCode:function(i){return i.type==="keypress"?Ht(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Ht(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),Py=n8(jy),kF=ce({},Xo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$6=n8(kF),Bp=ce({},u3,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Up}),_F=n8(Bp),ol=ce({},m3,{propertyName:0,elapsedTime:0,pseudoElement:0}),us=n8(ol),f3=ce({},Xo,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),ds=n8(f3),qp=[9,13,27,32],ps=229,Wp=x0&&"CompositionEvent"in window,v3=null;x0&&"documentMode"in document&&(v3=document.documentMode);var CF=x0&&"TextEvent"in window&&!v3,Gp=x0&&(!Wp||v3&&v3>8&&v3<=11),Yp=32,Z7=String.fromCharCode(Yp);function hs(){v0("onBeforeInput",["compositionend","keypress","textInput","paste"]),v0("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),v0("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),v0("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Qp=!1;function Kp(i){return(i.ctrlKey||i.altKey||i.metaKey)&&!(i.ctrlKey&&i.altKey)}function NF(i){switch(i){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function ky(i,s){return i==="keydown"&&s.keyCode===ps}function fs(i,s){switch(i){case"keyup":return qp.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==ps;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function y7(i){var s=i.detail;return typeof s=="object"&&"data"in s?s.data:null}function vs(i){return i.locale==="ko"}var Jr=!1;function _y(i,s,v,Z,V){var L,_;if(Wp?L=NF(s):Jr?fs(s,Z)&&(L="onCompositionEnd"):ky(s,Z)&&(L="onCompositionStart"),!L)return null;Gp&&!vs(Z)&&(!Jr&&L==="onCompositionStart"?Jr=f7(V):L==="onCompositionEnd"&&Jr&&(_=v7()));var D=Dy(v,L);if(D.length>0){var x=new Sy(L,s,null,Z,V);if(i.push({event:x,listeners:D}),_)x.data=_;else{var W=y7(Z);W!==null&&(x.data=W)}}}function TF(i,s){switch(i){case"compositionend":return y7(s);case"keypress":var v=s.which;return v!==Yp?null:(Qp=!0,Z7);case"textInput":var Z=s.data;return Z===Z7&&Qp?null:Z;default:return null}}function gs(i,s){if(Jr){if(i==="compositionend"||!Wp&&fs(i,s)){var v=v7();return Rp(),Jr=!1,v}return null}switch(i){case"paste":return null;case"keypress":if(!Kp(s)){if(s.char&&s.char.length>1)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Gp&&!vs(s)?null:s.data;default:return null}}function IF(i,s,v,Z,V){var L;if(CF?L=TF(s,Z):L=gs(s,Z),!L)return null;var _=Dy(v,"onBeforeInput");if(_.length>0){var D=new ei("onBeforeInput","beforeinput",null,Z,V);i.push({event:D,listeners:_}),D.data=L}}function b7(i,s,v,Z,V,L,_){_y(i,s,v,Z,V),IF(i,s,v,Z,V)}var DF={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 H7(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s==="input"?!!DF[i.type]:s==="textarea"}/**
111
111
  * Checks if an event is supported in the current execution environment.
112
112
  *
113
113
  * NOTE: This will not work correctly for non-generic events such as `change`,
@@ -120,7 +120,7 @@ Check the render method of \``+i+"`.":""}var F5=["value","defaultValue"];functio
120
120
  * @internal
121
121
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
122
122
  */function d(i){if(!x0)return!1;var s="on"+i,v=s in document;if(!v){var Z=document.createElement("div");Z.setAttribute(s,"return;"),v=typeof Z[s]=="function"}return v}function f(){v0("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function H(i,s,v,Z){wo(Z);var V=Dy(s,"onChange");if(V.length>0){var L=new A7("onChange","change",null,v,Z);i.push({event:L,listeners:V})}}var $=null,P=null;function T(i){var s=i.nodeName&&i.nodeName.toLowerCase();return s==="select"||s==="input"&&i.type==="file"}function U(i){var s=[];H(s,P,i,Y2(i)),U5(i0,s)}function i0(i){Fs1(i,0)}function p0(i){var s=Es(i);if(W1(s))return i}function B0(i,s){if(i==="change")return s}var m1=!1;x0&&(m1=d("input")&&(!document.documentMode||document.documentMode>9));function v1(i,s){$=i,P=s,$.attachEvent("onpropertychange",x1)}function s1(){$&&($.detachEvent("onpropertychange",x1),$=null,P=null)}function x1(i){i.propertyName==="value"&&p0(P)&&U(i)}function X1(i,s,v){i==="focusin"?(s1(),v1(s,v)):i==="focusout"&&s1()}function re(i,s){if(i==="selectionchange"||i==="keyup"||i==="keydown")return p0(P)}function D8(i){var s=i.nodeName;return s&&s.toLowerCase()==="input"&&(i.type==="checkbox"||i.type==="radio")}function P0(i,s){if(i==="click")return p0(s)}function E0(i,s){if(i==="input"||i==="change")return p0(s)}function D0(i){var s=i._wrapperState;!s||!s.controlled||i.type!=="number"||Me(i,"number",i.value)}function M1(i,s,v,Z,V,L,_){var D=v?Es(v):window,x,W;if(T(D)?x=B0:H7(D)?m1?x=E0:(x=re,W=X1):D8(D)&&(x=P0),x){var J=x(s,v);if(J){H(i,J,Z,V);return}}W&&W(s,D,v),s==="focusout"&&D0(D)}function oe(){A0("onMouseEnter",["mouseout","mouseover"]),A0("onMouseLeave",["mouseout","mouseover"]),A0("onPointerEnter",["pointerout","pointerover"]),A0("onPointerLeave",["pointerout","pointerover"])}function ye(i,s,v,Z,V,L,_){var D=s==="mouseover"||s==="pointerover",x=s==="mouseout"||s==="pointerout";if(D&&!ey(Z)){var W=Z.relatedTarget||Z.fromElement;if(W&&(V7(W)||uh(W)))return}if(!(!x&&!D)){var J;if(V.window===V)J=V;else{var M0=V.ownerDocument;M0?J=M0.defaultView||M0.parentWindow:J=window}var b0,U0;if(x){var q0=Z.relatedTarget||Z.toElement;if(b0=v,U0=q0?V7(q0):null,U0!==null){var K0=Wn(U0);(U0!==K0||U0.tag!==M&&U0.tag!==O)&&(U0=null)}}else b0=null,U0=v;if(b0!==U0){var N1=ll,ge="onMouseLeave",ue="onMouseEnter",d2="mouse";(s==="pointerout"||s==="pointerover")&&(N1=$6,ge="onPointerLeave",ue="onPointerEnter",d2="pointer");var n2=b0==null?J:Es(b0),_0=U0==null?J:Es(U0),X0=new N1(ge,d2+"leave",b0,Z,V);X0.target=n2,X0.relatedTarget=_0;var C0=null,g1=V7(V);if(g1===v){var q1=new N1(ue,d2+"enter",U0,Z,V);q1.target=_0,q1.relatedTarget=n2,C0=q1}W2a(i,X0,C0,b0,U0)}}}function be(i,s){return i===s&&(i!==0||1/i===1/s)||i!==i&&s!==s}var me=typeof Object.is=="function"?Object.is:be;function P8(i,s){if(me(i,s))return!0;if(typeof i!="object"||i===null||typeof s!="object"||s===null)return!1;var v=Object.keys(i),Z=Object.keys(s);if(v.length!==Z.length)return!1;for(var V=0;V<v.length;V++){var L=v[V];if(!k0.call(s,L)||!me(i[L],s[L]))return!1}return!0}function H2(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function il(i){for(;i;){if(i.nextSibling)return i.nextSibling;i=i.parentNode}}function Cy(i,s){for(var v=H2(i),Z=0,V=0;v;){if(v.nodeType===Ir){if(V=Z+v.textContent.length,Z<=s&&V>=s)return{node:v,offset:s-Z};Z=V}v=H2(il(v))}}function O2a(i){var s=i.ownerDocument,v=s&&s.defaultView||window,Z=v.getSelection&&v.getSelection();if(!Z||Z.rangeCount===0)return null;var V=Z.anchorNode,L=Z.anchorOffset,_=Z.focusNode,D=Z.focusOffset;try{V.nodeType,_.nodeType}catch{return null}return $2a(i,V,L,_,D)}function $2a(i,s,v,Z,V){var L=0,_=-1,D=-1,x=0,W=0,J=i,M0=null;e:for(;;){for(var b0=null;J===s&&(v===0||J.nodeType===Ir)&&(_=L+v),J===Z&&(V===0||J.nodeType===Ir)&&(D=L+V),J.nodeType===Ir&&(L+=J.nodeValue.length),(b0=J.firstChild)!==null;)M0=J,J=b0;for(;;){if(J===i)break e;if(M0===s&&++x===v&&(_=L),M0===Z&&++W===V&&(D=L),(b0=J.nextSibling)!==null)break;J=M0,M0=J.parentNode}J=b0}return _===-1||D===-1?null:{start:_,end:D}}function w2a(i,s){var v=i.ownerDocument||document,Z=v&&v.defaultView||window;if(Z.getSelection){var V=Z.getSelection(),L=i.textContent.length,_=Math.min(s.start,L),D=s.end===void 0?_:Math.min(s.end,L);if(!V.extend&&_>D){var x=D;D=_,_=x}var W=Cy(i,_),J=Cy(i,D);if(W&&J){if(V.rangeCount===1&&V.anchorNode===W.node&&V.anchorOffset===W.offset&&V.focusNode===J.node&&V.focusOffset===J.offset)return;var M0=v.createRange();M0.setStart(W.node,W.offset),V.removeAllRanges(),_>D?(V.addRange(M0),V.extend(J.node,J.offset)):(M0.setEnd(J.node,J.offset),V.addRange(M0))}}}function Zs1(i){return i&&i.nodeType===Ir}function ys1(i,s){return!i||!s?!1:i===s?!0:Zs1(i)?!1:Zs1(s)?ys1(i,s.parentNode):"contains"in i?i.contains(s):i.compareDocumentPosition?!!(i.compareDocumentPosition(s)&16):!1}function S2a(i){return i&&i.ownerDocument&&ys1(i.ownerDocument.documentElement,i)}function L2a(i){try{return typeof i.contentWindow.location.href=="string"}catch{return!1}}function bs1(){for(var i=window,s=r2();s instanceof i.HTMLIFrameElement;){if(L2a(s))i=s.contentWindow;else return s;s=r2(i.document)}return s}function xF(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s&&(s==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||s==="textarea"||i.contentEditable==="true")}function F2a(){var i=bs1();return{focusedElem:i,selectionRange:xF(i)?P2a(i):null}}function j2a(i){var s=bs1(),v=i.focusedElem,Z=i.selectionRange;if(s!==v&&S2a(v)){Z!==null&&xF(v)&&k2a(v,Z);for(var V=[],L=v;L=L.parentNode;)L.nodeType===Ua&&V.push({element:L,left:L.scrollLeft,top:L.scrollTop});typeof v.focus=="function"&&v.focus();for(var _=0;_<V.length;_++){var D=V[_];D.element.scrollLeft=D.left,D.element.scrollTop=D.top}}}function P2a(i){var s;return"selectionStart"in i?s={start:i.selectionStart,end:i.selectionEnd}:s=O2a(i),s||{start:0,end:0}}function k2a(i,s){var v=s.start,Z=s.end;Z===void 0&&(Z=v),"selectionStart"in i?(i.selectionStart=v,i.selectionEnd=Math.min(Z,i.value.length)):w2a(i,s)}var _2a=x0&&"documentMode"in document&&document.documentMode<=11;function C2a(){v0("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var As=null,RF=null,Xp=null,zF=!1;function N2a(i){if("selectionStart"in i&&xF(i))return{start:i.selectionStart,end:i.selectionEnd};var s=i.ownerDocument&&i.ownerDocument.defaultView||window,v=s.getSelection();return{anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}}function T2a(i){return i.window===i?i.document:i.nodeType===v6?i:i.ownerDocument}function Hs1(i,s,v){var Z=T2a(v);if(!(zF||As==null||As!==r2(Z))){var V=N2a(As);if(!Xp||!P8(Xp,V)){Xp=V;var L=Dy(RF,"onSelect");if(L.length>0){var _=new A7("onSelect","select",null,s,v);i.push({event:_,listeners:L}),_.target=As}}}}function I2a(i,s,v,Z,V,L,_){var D=v?Es(v):window;switch(s){case"focusin":(H7(D)||D.contentEditable==="true")&&(As=D,RF=v,Xp=null);break;case"focusout":As=null,RF=null,Xp=null;break;case"mousedown":zF=!0;break;case"contextmenu":case"mouseup":case"dragend":zF=!1,Hs1(i,Z,V);break;case"selectionchange":if(_2a)break;case"keydown":case"keyup":Hs1(i,Z,V)}}function Ny(i,s){var v={};return v[i.toLowerCase()]=s.toLowerCase(),v["Webkit"+i]="webkit"+s,v["Moz"+i]="moz"+s,v}var Zs={animationend:Ny("Animation","AnimationEnd"),animationiteration:Ny("Animation","AnimationIteration"),animationstart:Ny("Animation","AnimationStart"),transitionend:Ny("Transition","TransitionEnd")},UF={},Es1={};x0&&(Es1=document.createElement("div").style,"AnimationEvent"in window||(delete Zs.animationend.animation,delete Zs.animationiteration.animation,delete Zs.animationstart.animation),"TransitionEvent"in window||delete Zs.transitionend.transition);function Ty(i){if(UF[i])return UF[i];if(!Zs[i])return i;var s=Zs[i];for(var v in s)if(s.hasOwnProperty(v)&&v in Es1)return UF[i]=s[v];return i}var Ms1=Ty("animationend"),Vs1=Ty("animationiteration"),Os1=Ty("animationstart"),$s1=Ty("transitionend"),ws1=new Map,Ss1=["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 ti(i,s){ws1.set(i,s),v0(s,[i])}function D2a(){for(var i=0;i<Ss1.length;i++){var s=Ss1[i],v=s.toLowerCase(),Z=s[0].toUpperCase()+s.slice(1);ti(v,"on"+Z)}ti(Ms1,"onAnimationEnd"),ti(Vs1,"onAnimationIteration"),ti(Os1,"onAnimationStart"),ti("dblclick","onDoubleClick"),ti("focusin","onFocus"),ti("focusout","onBlur"),ti($s1,"onTransitionEnd")}function x2a(i,s,v,Z,V,L,_){var D=ws1.get(s);if(D!==void 0){var x=A7,W=s;switch(s){case"keypress":if(Ht(Z)===0)return;case"keydown":case"keyup":x=Py;break;case"focusin":W="focus",x=Jo;break;case"focusout":W="blur",x=Jo;break;case"beforeblur":case"afterblur":x=Jo;break;case"click":if(Z.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=ll;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Oy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=_F;break;case Ms1:case Vs1:case Os1:x=FF;break;case $s1:x=us;break;case"scroll":x=SF;break;case"wheel":x=ds;break;case"copy":case"cut":case"paste":x=wy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=$6;break}var J=(L&R5)!==0;{var M0=!J&&s==="scroll",b0=B2a(v,D,Z.type,J,M0);if(b0.length>0){var U0=new x(D,W,null,Z,V);i.push({event:U0,listeners:b0})}}}}D2a(),oe(),f(),C2a(),hs();function R2a(i,s,v,Z,V,L,_){x2a(i,s,v,Z,V,L);var D=(L&gF)===0;D&&(ye(i,s,v,Z,V),M1(i,s,v,Z,V),I2a(i,s,v,Z,V),b7(i,s,v,Z,V))}var Jp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],BF=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Jp));function Ls1(i,s,v){var Z=i.type||"unknown-event";i.currentTarget=v,cp(Z,s,void 0,i),i.currentTarget=null}function z2a(i,s,v){var Z;if(v)for(var V=s.length-1;V>=0;V--){var L=s[V],_=L.instance,D=L.currentTarget,x=L.listener;if(_!==Z&&i.isPropagationStopped())return;Ls1(i,x,D),Z=_}else for(var W=0;W<s.length;W++){var J=s[W],M0=J.instance,b0=J.currentTarget,U0=J.listener;if(M0!==Z&&i.isPropagationStopped())return;Ls1(i,U0,b0),Z=M0}}function Fs1(i,s){for(var v=(s&R5)!==0,Z=0;Z<i.length;Z++){var V=i[Z],L=V.event,_=V.listeners;z2a(L,_,v)}ZF()}function U2a(i,s,v,Z,V){var L=Y2(v),_=[];R2a(_,i,Z,v,L,s),Fs1(_,s)}function M8(i,s){BF.has(i)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',i);var v=!1,Z=yta(s),V=G2a(i);Z.has(V)||(js1(s,i,x5,v),Z.add(V))}function qF(i,s,v){BF.has(i)&&!s&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',i);var Z=0;s&&(Z|=R5),js1(v,i,Z,s)}var Iy="_reactListening"+Math.random().toString(36).slice(2);function eh(i){if(!i[Iy]){i[Iy]=!0,h0.forEach(function(v){v!=="selectionchange"&&(BF.has(v)||qF(v,!1,i),qF(v,!0,i))});var s=i.nodeType===v6?i:i.ownerDocument;s!==null&&(s[Iy]||(s[Iy]=!0,qF("selectionchange",!1,s)))}}function js1(i,s,v,Z,V){var L=u7(i,s,v),_=void 0;B5&&(s==="touchstart"||s==="touchmove"||s==="wheel")&&(_=!0),i=i,Z?_!==void 0?xp(i,s,L,_):ss(i,s,L):_!==void 0?al(i,s,L,_):Xr(i,s,L)}function Ps1(i,s){return i===s||i.nodeType===S8&&i.parentNode===s}function WF(i,s,v,Z,V){var L=Z;if(!(s&j9)&&!(s&x5)){var _=V;if(Z!==null){var D=Z;e:for(;;){if(D===null)return;var x=D.tag;if(x===y||x===E){var W=D.stateNode.containerInfo;if(Ps1(W,_))break;if(x===E)for(var J=D.return;J!==null;){var M0=J.tag;if(M0===y||M0===E){var b0=J.stateNode.containerInfo;if(Ps1(b0,_))return}J=J.return}for(;W!==null;){var U0=V7(W);if(U0===null)return;var q0=U0.tag;if(q0===M||q0===O){D=L=U0;continue e}W=W.parentNode}}D=D.return}}}U5(function(){return U2a(i,s,v,L)})}function th(i,s,v){return{instance:i,listener:s,currentTarget:v}}function B2a(i,s,v,Z,V,L){for(var _=s!==null?s+"Capture":null,D=Z?_:s,x=[],W=i,J=null;W!==null;){var M0=W,b0=M0.stateNode,U0=M0.tag;if(U0===M&&b0!==null&&(J=b0,D!==null)){var q0=Kl(W,D);q0!=null&&x.push(th(W,q0,J))}if(V)break;W=W.return}return x}function Dy(i,s){for(var v=s+"Capture",Z=[],V=i;V!==null;){var L=V,_=L.stateNode,D=L.tag;if(D===M&&_!==null){var x=_,W=Kl(V,v);W!=null&&Z.unshift(th(V,W,x));var J=Kl(V,s);J!=null&&Z.push(th(V,J,x))}V=V.return}return Z}function ys(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==M);return i||null}function q2a(i,s){for(var v=i,Z=s,V=0,L=v;L;L=ys(L))V++;for(var _=0,D=Z;D;D=ys(D))_++;for(;V-_>0;)v=ys(v),V--;for(;_-V>0;)Z=ys(Z),_--;for(var x=V;x--;){if(v===Z||Z!==null&&v===Z.alternate)return v;v=ys(v),Z=ys(Z)}return null}function ks1(i,s,v,Z,V){for(var L=s._reactName,_=[],D=v;D!==null&&D!==Z;){var x=D,W=x.alternate,J=x.stateNode,M0=x.tag;if(W!==null&&W===Z)break;if(M0===M&&J!==null){var b0=J;if(V){var U0=Kl(D,L);U0!=null&&_.unshift(th(D,U0,b0))}else if(!V){var q0=Kl(D,L);q0!=null&&_.push(th(D,q0,b0))}}D=D.return}_.length!==0&&i.push({event:s,listeners:_})}function W2a(i,s,v,Z,V){var L=Z&&V?q2a(Z,V):null;Z!==null&&ks1(i,s,Z,L,!1),V!==null&&v!==null&&ks1(i,v,V,L,!0)}function G2a(i,s){return i+"__bubble"}var r4=!1,ah="dangerouslySetInnerHTML",xy="suppressContentEditableWarning",ai="suppressHydrationWarning",_s1="autoFocus",E7="children",M7="style",Ry="__html",GF,zy,rh,Cs1,Uy,Ns1,Ts1;GF={dialog:!0,webview:!0},zy=function(i,s){$o(i,s),GZ(i,s),zn(i,s,{registrationNameDependencies:f0,possibleRegistrationNames:Z0})},Ns1=x0&&!document.documentMode,rh=function(i,s,v){if(!r4){var Z=By(v),V=By(s);V!==Z&&(r4=!0,m("Prop `%s` did not match. Server: %s Client: %s",i,JSON.stringify(V),JSON.stringify(Z)))}},Cs1=function(i){if(!r4){r4=!0;var s=[];i.forEach(function(v){s.push(v)}),m("Extra attributes from the server: %s",s)}},Uy=function(i,s){s===!1?m("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.",i,i,i):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",i,typeof s)},Ts1=function(i,s){var v=i.namespaceURI===Tr?i.ownerDocument.createElement(i.tagName):i.ownerDocument.createElementNS(i.namespaceURI,i.tagName);return v.innerHTML=s,v.innerHTML};var Y2a=/\r\n?/g,Q2a=/\u0000|\uFFFD/g;function By(i){N0(i);var s=typeof i=="string"?i:""+i;return s.replace(Y2a,`
123
- `).replace(Q2a,"")}function qy(i,s,v,Z){var V=By(s),L=By(i);if(L!==V&&(Z&&(r4||(r4=!0,m('Text content did not match. Server: "%s" Client: "%s"',L,V))),v&&g0))throw new Error("Text content does not match server-rendered HTML.")}function Is1(i){return i.nodeType===v6?i:i.ownerDocument}function K2a(){}function Wy(i){i.onclick=K2a}function X2a(i,s,v,Z,V){for(var L in Z)if(Z.hasOwnProperty(L)){var _=Z[L];if(L===M7)_&&Object.freeze(_),RZ(s,_);else if(L===ah){var D=_?_[Ry]:void 0;D!=null&&PZ(s,D)}else if(L===E7)if(typeof _=="string"){var x=i!=="textarea"||_!=="";x&&_5(s,_)}else typeof _=="number"&&_5(s,""+_);else L===xy||L===ai||L===_s1||(f0.hasOwnProperty(L)?_!=null&&(typeof _!="function"&&Uy(L,_),L==="onScroll"&&M8("scroll",s)):_!=null&&a1(s,L,_,V))}}function J2a(i,s,v,Z){for(var V=0;V<s.length;V+=2){var L=s[V],_=s[V+1];L===M7?RZ(i,_):L===ah?PZ(i,_):L===E7?_5(i,_):a1(i,L,_,Z)}}function e8a(i,s,v,Z){var V,L=Is1(v),_,D=Z;if(D===Tr&&(D=Ud(i)),D===Tr){if(V=Gl(i,s),!V&&i!==i.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",i),i==="script"){var x=L.createElement("div");x.innerHTML="<script><\/script>";var W=x.firstChild;_=x.removeChild(W)}else if(typeof s.is=="string")_=L.createElement(i,{is:s.is});else if(_=L.createElement(i),i==="select"){var J=_;s.multiple?J.multiple=!0:s.size&&(J.size=s.size)}}else _=L.createElementNS(D,i);return D===Tr&&!V&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!k0.call(GF,i)&&(GF[i]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",i)),_}function t8a(i,s){return Is1(s).createTextNode(i)}function a8a(i,s,v,Z){var V=Gl(s,v);zy(s,v);var L;switch(s){case"dialog":M8("cancel",i),M8("close",i),L=v;break;case"iframe":case"object":case"embed":M8("load",i),L=v;break;case"video":case"audio":for(var _=0;_<Jp.length;_++)M8(Jp[_],i);L=v;break;case"source":M8("error",i),L=v;break;case"img":case"image":case"link":M8("error",i),M8("load",i),L=v;break;case"details":M8("toggle",i),L=v;break;case"input":s0(i,v),L=R(i,v),M8("invalid",i);break;case"option":N2(i,v),L=v;break;case"select":k5(i,v),L=P5(i,v),M8("invalid",i);break;case"textarea":FZ(i,v),L=zd(i,v),M8("invalid",i);break;default:L=v}switch(T5(s,L),X2a(s,i,Z,L,V),s){case"input":f1(i),E1(i,v,!1);break;case"textarea":f1(i),V9(i);break;case"option":T2(i,v);break;case"select":Rd(i,v);break;default:typeof L.onClick=="function"&&Wy(i);break}}function r8a(i,s,v,Z,V){zy(s,Z);var L=null,_,D;switch(s){case"input":_=R(i,v),D=R(i,Z),L=[];break;case"select":_=P5(i,v),D=P5(i,Z),L=[];break;case"textarea":_=zd(i,v),D=zd(i,Z),L=[];break;default:_=v,D=Z,typeof _.onClick!="function"&&typeof D.onClick=="function"&&Wy(i);break}T5(s,D);var x,W,J=null;for(x in _)if(!(D.hasOwnProperty(x)||!_.hasOwnProperty(x)||_[x]==null))if(x===M7){var M0=_[x];for(W in M0)M0.hasOwnProperty(W)&&(J||(J={}),J[W]="")}else x===ah||x===E7||x===xy||x===ai||x===_s1||(f0.hasOwnProperty(x)?L||(L=[]):(L=L||[]).push(x,null));for(x in D){var b0=D[x],U0=_!=null?_[x]:void 0;if(!(!D.hasOwnProperty(x)||b0===U0||b0==null&&U0==null))if(x===M7)if(b0&&Object.freeze(b0),U0){for(W in U0)U0.hasOwnProperty(W)&&(!b0||!b0.hasOwnProperty(W))&&(J||(J={}),J[W]="");for(W in b0)b0.hasOwnProperty(W)&&U0[W]!==b0[W]&&(J||(J={}),J[W]=b0[W])}else J||(L||(L=[]),L.push(x,J)),J=b0;else if(x===ah){var q0=b0?b0[Ry]:void 0,K0=U0?U0[Ry]:void 0;q0!=null&&K0!==q0&&(L=L||[]).push(x,q0)}else x===E7?(typeof b0=="string"||typeof b0=="number")&&(L=L||[]).push(x,""+b0):x===xy||x===ai||(f0.hasOwnProperty(x)?(b0!=null&&(typeof b0!="function"&&Uy(x,b0),x==="onScroll"&&M8("scroll",i)),!L&&U0!==b0&&(L=[])):(L=L||[]).push(x,b0))}return J&&(zZ(J,D[M7]),(L=L||[]).push(M7,J)),L}function n8a(i,s,v,Z,V){v==="input"&&V.type==="radio"&&V.name!=null&&R0(i,V);var L=Gl(v,Z),_=Gl(v,V);switch(J2a(i,s,L,_),v){case"input":Y0(i,V);break;case"textarea":jZ(i,V);break;case"select":oF(i,V);break}}function l8a(i){{var s=i.toLowerCase();return S9.hasOwnProperty(s)&&S9[s]||null}}function o8a(i,s,v,Z,V,L,_){var D,x;switch(D=Gl(s,v),zy(s,v),s){case"dialog":M8("cancel",i),M8("close",i);break;case"iframe":case"object":case"embed":M8("load",i);break;case"video":case"audio":for(var W=0;W<Jp.length;W++)M8(Jp[W],i);break;case"source":M8("error",i);break;case"img":case"image":case"link":M8("error",i),M8("load",i);break;case"details":M8("toggle",i);break;case"input":s0(i,v),M8("invalid",i);break;case"option":N2(i,v);break;case"select":k5(i,v),M8("invalid",i);break;case"textarea":FZ(i,v),M8("invalid",i);break}T5(s,v);{x=new Set;for(var J=i.attributes,M0=0;M0<J.length;M0++){var b0=J[M0].name.toLowerCase();switch(b0){case"value":break;case"checked":break;case"selected":break;default:x.add(J[M0].name)}}}var U0=null;for(var q0 in v)if(v.hasOwnProperty(q0)){var K0=v[q0];if(q0===E7)typeof K0=="string"?i.textContent!==K0&&(v[ai]!==!0&&qy(i.textContent,K0,L,_),U0=[E7,K0]):typeof K0=="number"&&i.textContent!==""+K0&&(v[ai]!==!0&&qy(i.textContent,K0,L,_),U0=[E7,""+K0]);else if(f0.hasOwnProperty(q0))K0!=null&&(typeof K0!="function"&&Uy(q0,K0),q0==="onScroll"&&M8("scroll",i));else if(_&&typeof D=="boolean"){var N1=void 0,ge=D&&O0?null:Pe(q0);if(v[ai]!==!0){if(!(q0===xy||q0===ai||q0==="value"||q0==="checked"||q0==="selected")){if(q0===ah){var ue=i.innerHTML,d2=K0?K0[Ry]:void 0;if(d2!=null){var n2=Ts1(i,d2);n2!==ue&&rh(q0,ue,n2)}}else if(q0===M7){if(x.delete(q0),Ns1){var _0=vF(K0);N1=i.getAttribute("style"),_0!==N1&&rh(q0,N1,_0)}}else if(D&&!O0)x.delete(q0.toLowerCase()),N1=T0(i,q0,K0),K0!==N1&&rh(q0,N1,K0);else if(!f2(q0,ge,D)&&!Be(q0,K0,ge,D)){var X0=!1;if(ge!==null)x.delete(ge.attributeName),N1=V0(i,q0,K0,ge);else{var C0=Z;if(C0===Tr&&(C0=Ud(s)),C0===Tr)x.delete(q0.toLowerCase());else{var g1=l8a(q0);g1!==null&&g1!==q0&&(X0=!0,x.delete(g1)),x.delete(q0)}N1=T0(i,q0,K0)}var q1=O0;!q1&&K0!==N1&&!X0&&rh(q0,N1,K0)}}}}}switch(_&&x.size>0&&v[ai]!==!0&&Cs1(x),s){case"input":f1(i),E1(i,v,!0);break;case"textarea":f1(i),V9(i);break;case"select":case"option":break;default:typeof v.onClick=="function"&&Wy(i);break}return U0}function i8a(i,s,v){var Z=i.nodeValue!==s;return Z}function YF(i,s){{if(r4)return;r4=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",s.nodeName.toLowerCase(),i.nodeName.toLowerCase())}}function QF(i,s){{if(r4)return;r4=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',s.nodeValue,i.nodeName.toLowerCase())}}function KF(i,s,v){{if(r4)return;r4=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",s,i.nodeName.toLowerCase())}}function XF(i,s){{if(s===""||r4)return;r4=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',s,i.nodeName.toLowerCase())}}function c8a(i,s,v){switch(s){case"input":ee(i,v);return;case"textarea":iF(i,v);return;case"select":SZ(i,v);return}}var nh=function(){},lh=function(){};{var s8a=["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"],Ds1=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],m8a=Ds1.concat(["button"]),u8a=["dd","dt","li","option","optgroup","p","rp","rt"],xs1={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};lh=function(i,s){var v=ce({},i||xs1),Z={tag:s};return Ds1.indexOf(s)!==-1&&(v.aTagInScope=null,v.buttonTagInScope=null,v.nobrTagInScope=null),m8a.indexOf(s)!==-1&&(v.pTagInButtonScope=null),s8a.indexOf(s)!==-1&&s!=="address"&&s!=="div"&&s!=="p"&&(v.listItemTagAutoclosing=null,v.dlItemTagAutoclosing=null),v.current=Z,s==="form"&&(v.formTag=Z),s==="a"&&(v.aTagInScope=Z),s==="button"&&(v.buttonTagInScope=Z),s==="nobr"&&(v.nobrTagInScope=Z),s==="p"&&(v.pTagInButtonScope=Z),s==="li"&&(v.listItemTagAutoclosing=Z),(s==="dd"||s==="dt")&&(v.dlItemTagAutoclosing=Z),v};var d8a=function(i,s){switch(s){case"select":return i==="option"||i==="optgroup"||i==="#text";case"optgroup":return i==="option"||i==="#text";case"option":return i==="#text";case"tr":return i==="th"||i==="td"||i==="style"||i==="script"||i==="template";case"tbody":case"thead":case"tfoot":return i==="tr"||i==="style"||i==="script"||i==="template";case"colgroup":return i==="col"||i==="template";case"table":return i==="caption"||i==="colgroup"||i==="tbody"||i==="tfoot"||i==="thead"||i==="style"||i==="script"||i==="template";case"head":return i==="base"||i==="basefont"||i==="bgsound"||i==="link"||i==="meta"||i==="title"||i==="noscript"||i==="noframes"||i==="style"||i==="script"||i==="template";case"html":return i==="head"||i==="body"||i==="frameset";case"frameset":return i==="frame";case"#document":return i==="html"}switch(i){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return s!=="h1"&&s!=="h2"&&s!=="h3"&&s!=="h4"&&s!=="h5"&&s!=="h6";case"rp":case"rt":return u8a.indexOf(s)===-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 s==null}return!0},p8a=function(i,s){switch(i){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 s.pTagInButtonScope;case"form":return s.formTag||s.pTagInButtonScope;case"li":return s.listItemTagAutoclosing;case"dd":case"dt":return s.dlItemTagAutoclosing;case"button":return s.buttonTagInScope;case"a":return s.aTagInScope;case"nobr":return s.nobrTagInScope}return null},Rs1={};nh=function(i,s,v){v=v||xs1;var Z=v.current,V=Z&&Z.tag;s!=null&&(i!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),i="#text");var L=d8a(i,V)?null:Z,_=L?null:p8a(i,v),D=L||_;if(D){var x=D.tag,W=!!L+"|"+i+"|"+x;if(!Rs1[W]){Rs1[W]=!0;var J=i,M0="";if(i==="#text"?/\S/.test(s)?J="Text nodes":(J="Whitespace text nodes",M0=" Make sure you don't have any extra whitespace between tags on each line of your source code."):J="<"+i+">",L){var b0="";x==="table"&&i==="tr"&&(b0+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",J,x,M0,b0)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",J,x)}}}}var Gy="suppressHydrationWarning",Yy="$",Qy="/$",oh="$?",ih="$!",h8a="style",JF=null,ej=null;function f8a(i){var s,v,Z=i.nodeType;switch(Z){case v6:case qd:{s=Z===v6?"#document":"#fragment";var V=i.documentElement;v=V?V.namespaceURI:Bd(null,"");break}default:{var L=Z===S8?i.parentNode:i,_=L.namespaceURI||null;s=L.tagName,v=Bd(_,s);break}}{var D=s.toLowerCase(),x=lh(null,D);return{namespace:v,ancestorInfo:x}}}function v8a(i,s,v){{var Z=i,V=Bd(Z.namespace,s),L=lh(Z.ancestorInfo,s);return{namespace:V,ancestorInfo:L}}}function c3a(i){return i}function g8a(i){JF=mt(),ej=F2a();var s=null;return i3(!1),s}function A8a(i){j2a(ej),i3(JF),JF=null,ej=null}function Z8a(i,s,v,Z,V){var L;{var _=Z;if(nh(i,null,_.ancestorInfo),typeof s.children=="string"||typeof s.children=="number"){var D=""+s.children,x=lh(_.ancestorInfo,i);nh(null,D,x)}L=_.namespace}var W=e8a(i,s,v,L);return mh(V,W),cj(W,s),W}function y8a(i,s){i.appendChild(s)}function b8a(i,s,v,Z,V){switch(a8a(i,s,v,Z),s){case"button":case"input":case"select":case"textarea":return!!v.autoFocus;case"img":return!0;default:return!1}}function H8a(i,s,v,Z,V,L){{var _=L;if(typeof Z.children!=typeof v.children&&(typeof Z.children=="string"||typeof Z.children=="number")){var D=""+Z.children,x=lh(_.ancestorInfo,s);nh(null,D,x)}}return r8a(i,s,v,Z)}function tj(i,s){return i==="textarea"||i==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}function E8a(i,s,v,Z){{var V=v;nh(null,i,V.ancestorInfo)}var L=t8a(i,s);return mh(Z,L),L}function M8a(){var i=window.event;return i===void 0?S4:s3(i.type)}var aj=typeof setTimeout=="function"?setTimeout:void 0,V8a=typeof clearTimeout=="function"?clearTimeout:void 0,rj=-1,zs1=typeof Promise=="function"?Promise:void 0,O8a=typeof queueMicrotask=="function"?queueMicrotask:typeof zs1<"u"?function(i){return zs1.resolve(null).then(i).catch($8a)}:aj;function $8a(i){setTimeout(function(){throw i})}function w8a(i,s,v,Z){switch(s){case"button":case"input":case"select":case"textarea":v.autoFocus&&i.focus();return;case"img":{v.src&&(i.src=v.src);return}}}function S8a(i,s,v,Z,V,L){n8a(i,s,v,Z,V),cj(i,V)}function Us1(i){_5(i,"")}function L8a(i,s,v){i.nodeValue=v}function F8a(i,s){i.appendChild(s)}function j8a(i,s){var v;i.nodeType===S8?(v=i.parentNode,v.insertBefore(s,i)):(v=i,v.appendChild(s));var Z=i._reactRootContainer;Z==null&&v.onclick===null&&Wy(v)}function P8a(i,s,v){i.insertBefore(s,v)}function k8a(i,s,v){i.nodeType===S8?i.parentNode.insertBefore(s,v):i.insertBefore(s,v)}function _8a(i,s){i.removeChild(s)}function C8a(i,s){i.nodeType===S8?i.parentNode.removeChild(s):i.removeChild(s)}function nj(i,s){var v=s,Z=0;do{var V=v.nextSibling;if(i.removeChild(v),V&&V.nodeType===S8){var L=V.data;if(L===Qy)if(Z===0){i.removeChild(V),A8(s);return}else Z--;else(L===Yy||L===oh||L===ih)&&Z++}v=V}while(v);A8(s)}function N8a(i,s){i.nodeType===S8?nj(i.parentNode,s):i.nodeType===Ua&&nj(i,s),A8(i)}function T8a(i){i=i;var s=i.style;typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"}function I8a(i){i.nodeValue=""}function D8a(i,s){i=i;var v=s[h8a],Z=v!=null&&v.hasOwnProperty("display")?v.display:null;i.style.display=xn("display",Z)}function x8a(i,s){i.nodeValue=s}function R8a(i){i.nodeType===Ua?i.textContent="":i.nodeType===v6&&i.documentElement&&i.removeChild(i.documentElement)}function z8a(i,s,v){return i.nodeType!==Ua||s.toLowerCase()!==i.nodeName.toLowerCase()?null:i}function U8a(i,s){return s===""||i.nodeType!==Ir?null:i}function B8a(i){return i.nodeType!==S8?null:i}function Bs1(i){return i.data===oh}function lj(i){return i.data===ih}function q8a(i){var s=i.nextSibling&&i.nextSibling.dataset,v,Z,V;return s&&(v=s.dgst,Z=s.msg,V=s.stck),{message:Z,digest:v,stack:V}}function W8a(i,s){i._reactRetry=s}function Ky(i){for(;i!=null;i=i.nextSibling){var s=i.nodeType;if(s===Ua||s===Ir)break;if(s===S8){var v=i.data;if(v===Yy||v===ih||v===oh)break;if(v===Qy)return null}}return i}function ch(i){return Ky(i.nextSibling)}function G8a(i){return Ky(i.firstChild)}function Y8a(i){return Ky(i.firstChild)}function Q8a(i){return Ky(i.nextSibling)}function K8a(i,s,v,Z,V,L,_){mh(L,i),cj(i,v);var D;{var x=V;D=x.namespace}var W=(L.mode&fe)!==_1;return o8a(i,s,v,D,Z,W,_)}function X8a(i,s,v,Z){return mh(v,i),v.mode&fe,i8a(i,s)}function J8a(i,s){mh(s,i)}function eta(i){for(var s=i.nextSibling,v=0;s;){if(s.nodeType===S8){var Z=s.data;if(Z===Qy){if(v===0)return ch(s);v--}else(Z===Yy||Z===ih||Z===oh)&&v++}s=s.nextSibling}return null}function qs1(i){for(var s=i.previousSibling,v=0;s;){if(s.nodeType===S8){var Z=s.data;if(Z===Yy||Z===ih||Z===oh){if(v===0)return s;v--}else Z===Qy&&v++}s=s.previousSibling}return null}function tta(i){A8(i)}function ata(i){A8(i)}function rta(i){return i!=="head"&&i!=="body"}function nta(i,s,v,Z){var V=!0;qy(s.nodeValue,v,Z,V)}function lta(i,s,v,Z,V,L){if(s[Gy]!==!0){var _=!0;qy(Z.nodeValue,V,L,_)}}function ota(i,s){s.nodeType===Ua?YF(i,s):s.nodeType===S8||QF(i,s)}function ita(i,s){{var v=i.parentNode;v!==null&&(s.nodeType===Ua?YF(v,s):s.nodeType===S8||QF(v,s))}}function cta(i,s,v,Z,V){(V||s[Gy]!==!0)&&(Z.nodeType===Ua?YF(v,Z):Z.nodeType===S8||QF(v,Z))}function sta(i,s,v){KF(i,s)}function mta(i,s){XF(i,s)}function uta(i,s,v){{var Z=i.parentNode;Z!==null&&KF(Z,s)}}function dta(i,s){{var v=i.parentNode;v!==null&&XF(v,s)}}function pta(i,s,v,Z,V,L){(L||s[Gy]!==!0)&&KF(v,Z)}function hta(i,s,v,Z,V){(V||s[Gy]!==!0)&&XF(v,Z)}function fta(i){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",i.nodeName.toLowerCase())}function vta(i){eh(i)}var bs=Math.random().toString(36).slice(2),Hs="__reactFiber$"+bs,oj="__reactProps$"+bs,sh="__reactContainer$"+bs,ij="__reactEvents$"+bs,gta="__reactListeners$"+bs,Ata="__reactHandles$"+bs;function Zta(i){delete i[Hs],delete i[oj],delete i[ij],delete i[gta],delete i[Ata]}function mh(i,s){s[Hs]=i}function Xy(i,s){s[sh]=i}function Ws1(i){i[sh]=null}function uh(i){return!!i[sh]}function V7(i){var s=i[Hs];if(s)return s;for(var v=i.parentNode;v;){if(s=v[sh]||v[Hs],s){var Z=s.alternate;if(s.child!==null||Z!==null&&Z.child!==null)for(var V=qs1(i);V!==null;){var L=V[Hs];if(L)return L;V=qs1(V)}return s}i=v,v=i.parentNode}return null}function ri(i){var s=i[Hs]||i[sh];return s&&(s.tag===M||s.tag===O||s.tag===I||s.tag===y)?s:null}function Es(i){if(i.tag===M||i.tag===O)return i.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Jy(i){return i[oj]||null}function cj(i,s){i[oj]=s}function yta(i){var s=i[ij];return s===void 0&&(s=i[ij]=new Set),s}var Gs1={},Ys1=n.ReactDebugCurrentFrame;function eb(i){if(i){var s=i._owner,v=a2(i.type,i._source,s?s.type:null);Ys1.setExtraStackFrame(v)}else Ys1.setExtraStackFrame(null)}function en(i,s,v,Z,V){{var L=Function.call.bind(k0);for(var _ in i)if(L(i,_)){var D=void 0;try{if(typeof i[_]!="function"){var x=Error((Z||"React class")+": "+v+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}D=i[_](s,_,Z,v,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(W){D=W}D&&!(D instanceof Error)&&(eb(V),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Z||"React class",v,_,typeof D),eb(null)),D instanceof Error&&!(D.message in Gs1)&&(Gs1[D.message]=!0,eb(V),m("Failed %s type: %s",v,D.message),eb(null))}}}var sj=[],tb;tb=[];var g3=-1;function ni(i){return{current:i}}function Xa(i,s){if(g3<0){m("Unexpected pop.");return}s!==tb[g3]&&m("Unexpected Fiber popped."),i.current=sj[g3],sj[g3]=null,tb[g3]=null,g3--}function Ja(i,s,v){g3++,sj[g3]=i.current,tb[g3]=v,i.current=s}var mj;mj={};var F4={};Object.freeze(F4);var A3=ni(F4),cl=ni(!1),uj=F4;function Ms(i,s,v){return v&&sl(s)?uj:A3.current}function Qs1(i,s,v){{var Z=i.stateNode;Z.__reactInternalMemoizedUnmaskedChildContext=s,Z.__reactInternalMemoizedMaskedChildContext=v}}function Vs(i,s){{var v=i.type,Z=v.contextTypes;if(!Z)return F4;var V=i.stateNode;if(V&&V.__reactInternalMemoizedUnmaskedChildContext===s)return V.__reactInternalMemoizedMaskedChildContext;var L={};for(var _ in Z)L[_]=s[_];{var D=Ee(i)||"Unknown";en(Z,L,"context",D)}return V&&Qs1(i,s,L),L}}function ab(){return cl.current}function sl(i){{var s=i.childContextTypes;return s!=null}}function rb(i){Xa(cl,i),Xa(A3,i)}function dj(i){Xa(cl,i),Xa(A3,i)}function Ks1(i,s,v){{if(A3.current!==F4)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ja(A3,s,i),Ja(cl,v,i)}}function Xs1(i,s,v){{var Z=i.stateNode,V=s.childContextTypes;if(typeof Z.getChildContext!="function"){{var L=Ee(i)||"Unknown";mj[L]||(mj[L]=!0,m("%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.",L,L))}return v}var _=Z.getChildContext();for(var D in _)if(!(D in V))throw new Error((Ee(i)||"Unknown")+'.getChildContext(): key "'+D+'" is not defined in childContextTypes.');{var x=Ee(i)||"Unknown";en(V,_,"child context",x)}return ce({},v,_)}}function nb(i){{var s=i.stateNode,v=s&&s.__reactInternalMemoizedMergedChildContext||F4;return uj=A3.current,Ja(A3,v,i),Ja(cl,cl.current,i),!0}}function Js1(i,s,v){{var Z=i.stateNode;if(!Z)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(v){var V=Xs1(i,s,uj);Z.__reactInternalMemoizedMergedChildContext=V,Xa(cl,i),Xa(A3,i),Ja(A3,V,i),Ja(cl,v,i)}else Xa(cl,i),Ja(cl,v,i)}}function bta(i){{if(!Z6(i)||i.tag!==g)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 s=i;do{switch(s.tag){case y:return s.stateNode.context;case g:{var v=s.type;if(sl(v))return s.stateNode.__reactInternalMemoizedMergedChildContext;break}}s=s.return}while(s!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var li=0,lb=1,Z3=null,pj=!1,hj=!1;function em1(i){Z3===null?Z3=[i]:Z3.push(i)}function Hta(i){pj=!0,em1(i)}function tm1(){pj&&oi()}function oi(){if(!hj&&Z3!==null){hj=!0;var i=0,s=ya();try{var v=!0,Z=Z3;for(y2(V6);i<Z.length;i++){var V=Z[i];do V=V(v);while(V!==null)}Z3=null,pj=!1}catch(L){throw Z3!==null&&(Z3=Z3.slice(i+1)),dp(Gn,oi),L}finally{y2(s),hj=!1}}return null}var Os=[],$s=0,ob=null,ib=0,cr=[],sr=0,O7=null,y3=1,b3="";function Eta(i){return w7(),(i.flags&ly)!==ve}function Mta(i){return w7(),ib}function Vta(){var i=b3,s=y3,v=s&~Ota(s);return v.toString(32)+i}function $7(i,s){w7(),Os[$s++]=ib,Os[$s++]=ob,ob=i,ib=s}function am1(i,s,v){w7(),cr[sr++]=y3,cr[sr++]=b3,cr[sr++]=O7,O7=i;var Z=y3,V=b3,L=cb(Z)-1,_=Z&~(1<<L),D=v+1,x=cb(s)+L;if(x>30){var W=L-L%5,J=(1<<W)-1,M0=(_&J).toString(32),b0=_>>W,U0=L-W,q0=cb(s)+U0,K0=D<<U0,N1=K0|b0,ge=M0+V;y3=1<<q0|N1,b3=ge}else{var ue=D<<L,d2=ue|_,n2=V;y3=1<<x|d2,b3=n2}}function fj(i){w7();var s=i.return;if(s!==null){var v=1,Z=0;$7(i,v),am1(i,v,Z)}}function cb(i){return 32-Co(i)}function Ota(i){return 1<<cb(i)-1}function vj(i){for(;i===ob;)ob=Os[--$s],Os[$s]=null,ib=Os[--$s],Os[$s]=null;for(;i===O7;)O7=cr[--sr],cr[sr]=null,b3=cr[--sr],cr[sr]=null,y3=cr[--sr],cr[sr]=null}function $ta(){return w7(),O7!==null?{id:y3,overflow:b3}:null}function wta(i,s){w7(),cr[sr++]=y3,cr[sr++]=b3,cr[sr++]=O7,y3=s.id,b3=s.overflow,O7=i}function w7(){Va()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Ma=null,mr=null,tn=!1,S7=!1,ii=null;function Sta(){tn&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rm1(){S7=!0}function Lta(){return S7}function Fta(i){var s=i.stateNode.containerInfo;return mr=Y8a(s),Ma=i,tn=!0,ii=null,S7=!1,!0}function jta(i,s,v){return mr=Q8a(s),Ma=i,tn=!0,ii=null,S7=!1,v!==null&&wta(i,v),!0}function nm1(i,s){switch(i.tag){case y:{ota(i.stateNode.containerInfo,s);break}case M:{var v=(i.mode&fe)!==_1;cta(i.type,i.memoizedProps,i.stateNode,s,v);break}case I:{var Z=i.memoizedState;Z.dehydrated!==null&&ita(Z.dehydrated,s);break}}}function lm1(i,s){nm1(i,s);var v=C4a();v.stateNode=s,v.return=i;var Z=i.deletions;Z===null?(i.deletions=[v],i.flags|=M2):Z.push(v)}function gj(i,s){{if(S7)return;switch(i.tag){case y:{var v=i.stateNode.containerInfo;switch(s.tag){case M:var Z=s.type;s.pendingProps,sta(v,Z);break;case O:var V=s.pendingProps;mta(v,V);break}break}case M:{var L=i.type,_=i.memoizedProps,D=i.stateNode;switch(s.tag){case M:{var x=s.type,W=s.pendingProps,J=(i.mode&fe)!==_1;pta(L,_,D,x,W,J);break}case O:{var M0=s.pendingProps,b0=(i.mode&fe)!==_1;hta(L,_,D,M0,b0);break}}break}case I:{var U0=i.memoizedState,q0=U0.dehydrated;if(q0!==null)switch(s.tag){case M:var K0=s.type;s.pendingProps,uta(q0,K0);break;case O:var N1=s.pendingProps;dta(q0,N1);break}break}default:return}}}function om1(i,s){s.flags=s.flags&~X4|Q2,gj(i,s)}function im1(i,s){switch(i.tag){case M:{var v=i.type;i.pendingProps;var Z=z8a(s,v);return Z!==null?(i.stateNode=Z,Ma=i,mr=G8a(Z),!0):!1}case O:{var V=i.pendingProps,L=U8a(s,V);return L!==null?(i.stateNode=L,Ma=i,mr=null,!0):!1}case I:{var _=B8a(s);if(_!==null){var D={dehydrated:_,treeContext:$ta(),retryLane:M6};i.memoizedState=D;var x=N4a(_);return x.return=i,i.child=x,Ma=i,mr=null,!0}return!1}default:return!1}}function Aj(i){return(i.mode&fe)!==_1&&(i.flags&ke)===ve}function Zj(i){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function yj(i){if(tn){var s=mr;if(!s){Aj(i)&&(gj(Ma,i),Zj()),om1(Ma,i),tn=!1,Ma=i;return}var v=s;if(!im1(i,s)){Aj(i)&&(gj(Ma,i),Zj()),s=ch(v);var Z=Ma;if(!s||!im1(i,s)){om1(Ma,i),tn=!1,Ma=i;return}lm1(Z,v)}}}function Pta(i,s,v){var Z=i.stateNode,V=!S7,L=K8a(Z,i.type,i.memoizedProps,s,v,i,V);return i.updateQueue=L,L!==null}function kta(i){var s=i.stateNode,v=i.memoizedProps,Z=X8a(s,v,i);if(Z){var V=Ma;if(V!==null)switch(V.tag){case y:{var L=V.stateNode.containerInfo,_=(V.mode&fe)!==_1;nta(L,s,v,_);break}case M:{var D=V.type,x=V.memoizedProps,W=V.stateNode,J=(V.mode&fe)!==_1;lta(D,x,W,s,v,J);break}}}return Z}function _ta(i){var s=i.memoizedState,v=s!==null?s.dehydrated:null;if(!v)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");J8a(v,i)}function Cta(i){var s=i.memoizedState,v=s!==null?s.dehydrated:null;if(!v)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 eta(v)}function cm1(i){for(var s=i.return;s!==null&&s.tag!==M&&s.tag!==y&&s.tag!==I;)s=s.return;Ma=s}function sb(i){if(i!==Ma)return!1;if(!tn)return cm1(i),tn=!0,!1;if(i.tag!==y&&(i.tag!==M||rta(i.type)&&!tj(i.type,i.memoizedProps))){var s=mr;if(s)if(Aj(i))sm1(i),Zj();else for(;s;)lm1(i,s),s=ch(s)}return cm1(i),i.tag===I?mr=Cta(i):mr=Ma?ch(i.stateNode):null,!0}function Nta(){return tn&&mr!==null}function sm1(i){for(var s=mr;s;)nm1(i,s),s=ch(s)}function ws(){Ma=null,mr=null,tn=!1,S7=!1}function mm1(){ii!==null&&(rd1(ii),ii=null)}function Va(){return tn}function bj(i){ii===null?ii=[i]:ii.push(i)}var Tta=n.ReactCurrentBatchConfig,Ita=null;function Dta(){return Tta.transition}var an={recordUnsafeLifecycleWarnings:function(i,s){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(i,s){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var xta=function(i){for(var s=null,v=i;v!==null;)v.mode&u8&&(s=v),v=v.return;return s},L7=function(i){var s=[];return i.forEach(function(v){s.push(v)}),s.sort().join(", ")},dh=[],ph=[],hh=[],fh=[],vh=[],gh=[],F7=new Set;an.recordUnsafeLifecycleWarnings=function(i,s){F7.has(i.type)||(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0&&dh.push(i),i.mode&u8&&typeof s.UNSAFE_componentWillMount=="function"&&ph.push(i),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&hh.push(i),i.mode&u8&&typeof s.UNSAFE_componentWillReceiveProps=="function"&&fh.push(i),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0&&vh.push(i),i.mode&u8&&typeof s.UNSAFE_componentWillUpdate=="function"&&gh.push(i))},an.flushPendingUnsafeLifecycleWarnings=function(){var i=new Set;dh.length>0&&(dh.forEach(function(b0){i.add(Ee(b0)||"Component"),F7.add(b0.type)}),dh=[]);var s=new Set;ph.length>0&&(ph.forEach(function(b0){s.add(Ee(b0)||"Component"),F7.add(b0.type)}),ph=[]);var v=new Set;hh.length>0&&(hh.forEach(function(b0){v.add(Ee(b0)||"Component"),F7.add(b0.type)}),hh=[]);var Z=new Set;fh.length>0&&(fh.forEach(function(b0){Z.add(Ee(b0)||"Component"),F7.add(b0.type)}),fh=[]);var V=new Set;vh.length>0&&(vh.forEach(function(b0){V.add(Ee(b0)||"Component"),F7.add(b0.type)}),vh=[]);var L=new Set;if(gh.length>0&&(gh.forEach(function(b0){L.add(Ee(b0)||"Component"),F7.add(b0.type)}),gh=[]),s.size>0){var _=L7(s);m(`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.
123
+ `).replace(Q2a,"")}function qy(i,s,v,Z){var V=By(s),L=By(i);if(L!==V&&(Z&&(r4||(r4=!0,m('Text content did not match. Server: "%s" Client: "%s"',L,V))),v&&g0))throw new Error("Text content does not match server-rendered HTML.")}function Is1(i){return i.nodeType===v6?i:i.ownerDocument}function K2a(){}function Wy(i){i.onclick=K2a}function X2a(i,s,v,Z,V){for(var L in Z)if(Z.hasOwnProperty(L)){var _=Z[L];if(L===M7)_&&Object.freeze(_),RZ(s,_);else if(L===ah){var D=_?_[Ry]:void 0;D!=null&&PZ(s,D)}else if(L===E7)if(typeof _=="string"){var x=i!=="textarea"||_!=="";x&&_5(s,_)}else typeof _=="number"&&_5(s,""+_);else L===xy||L===ai||L===_s1||(f0.hasOwnProperty(L)?_!=null&&(typeof _!="function"&&Uy(L,_),L==="onScroll"&&M8("scroll",s)):_!=null&&a1(s,L,_,V))}}function J2a(i,s,v,Z){for(var V=0;V<s.length;V+=2){var L=s[V],_=s[V+1];L===M7?RZ(i,_):L===ah?PZ(i,_):L===E7?_5(i,_):a1(i,L,_,Z)}}function e8a(i,s,v,Z){var V,L=Is1(v),_,D=Z;if(D===Tr&&(D=Ud(i)),D===Tr){if(V=Gl(i,s),!V&&i!==i.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",i),i==="script"){var x=L.createElement("div");x.innerHTML="<script><\/script>";var W=x.firstChild;_=x.removeChild(W)}else if(typeof s.is=="string")_=L.createElement(i,{is:s.is});else if(_=L.createElement(i),i==="select"){var J=_;s.multiple?J.multiple=!0:s.size&&(J.size=s.size)}}else _=L.createElementNS(D,i);return D===Tr&&!V&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!k0.call(GF,i)&&(GF[i]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",i)),_}function t8a(i,s){return Is1(s).createTextNode(i)}function a8a(i,s,v,Z){var V=Gl(s,v);zy(s,v);var L;switch(s){case"dialog":M8("cancel",i),M8("close",i),L=v;break;case"iframe":case"object":case"embed":M8("load",i),L=v;break;case"video":case"audio":for(var _=0;_<Jp.length;_++)M8(Jp[_],i);L=v;break;case"source":M8("error",i),L=v;break;case"img":case"image":case"link":M8("error",i),M8("load",i),L=v;break;case"details":M8("toggle",i),L=v;break;case"input":s0(i,v),L=R(i,v),M8("invalid",i);break;case"option":N2(i,v),L=v;break;case"select":k5(i,v),L=P5(i,v),M8("invalid",i);break;case"textarea":FZ(i,v),L=zd(i,v),M8("invalid",i);break;default:L=v}switch(T5(s,L),X2a(s,i,Z,L,V),s){case"input":f1(i),E1(i,v,!1);break;case"textarea":f1(i),V9(i);break;case"option":T2(i,v);break;case"select":Rd(i,v);break;default:typeof L.onClick=="function"&&Wy(i);break}}function r8a(i,s,v,Z,V){zy(s,Z);var L=null,_,D;switch(s){case"input":_=R(i,v),D=R(i,Z),L=[];break;case"select":_=P5(i,v),D=P5(i,Z),L=[];break;case"textarea":_=zd(i,v),D=zd(i,Z),L=[];break;default:_=v,D=Z,typeof _.onClick!="function"&&typeof D.onClick=="function"&&Wy(i);break}T5(s,D);var x,W,J=null;for(x in _)if(!(D.hasOwnProperty(x)||!_.hasOwnProperty(x)||_[x]==null))if(x===M7){var M0=_[x];for(W in M0)M0.hasOwnProperty(W)&&(J||(J={}),J[W]="")}else x===ah||x===E7||x===xy||x===ai||x===_s1||(f0.hasOwnProperty(x)?L||(L=[]):(L=L||[]).push(x,null));for(x in D){var b0=D[x],U0=_!=null?_[x]:void 0;if(!(!D.hasOwnProperty(x)||b0===U0||b0==null&&U0==null))if(x===M7)if(b0&&Object.freeze(b0),U0){for(W in U0)U0.hasOwnProperty(W)&&(!b0||!b0.hasOwnProperty(W))&&(J||(J={}),J[W]="");for(W in b0)b0.hasOwnProperty(W)&&U0[W]!==b0[W]&&(J||(J={}),J[W]=b0[W])}else J||(L||(L=[]),L.push(x,J)),J=b0;else if(x===ah){var q0=b0?b0[Ry]:void 0,K0=U0?U0[Ry]:void 0;q0!=null&&K0!==q0&&(L=L||[]).push(x,q0)}else x===E7?(typeof b0=="string"||typeof b0=="number")&&(L=L||[]).push(x,""+b0):x===xy||x===ai||(f0.hasOwnProperty(x)?(b0!=null&&(typeof b0!="function"&&Uy(x,b0),x==="onScroll"&&M8("scroll",i)),!L&&U0!==b0&&(L=[])):(L=L||[]).push(x,b0))}return J&&(zZ(J,D[M7]),(L=L||[]).push(M7,J)),L}function n8a(i,s,v,Z,V){v==="input"&&V.type==="radio"&&V.name!=null&&R0(i,V);var L=Gl(v,Z),_=Gl(v,V);switch(J2a(i,s,L,_),v){case"input":Y0(i,V);break;case"textarea":jZ(i,V);break;case"select":oF(i,V);break}}function l8a(i){{var s=i.toLowerCase();return S9.hasOwnProperty(s)&&S9[s]||null}}function o8a(i,s,v,Z,V,L,_){var D,x;switch(D=Gl(s,v),zy(s,v),s){case"dialog":M8("cancel",i),M8("close",i);break;case"iframe":case"object":case"embed":M8("load",i);break;case"video":case"audio":for(var W=0;W<Jp.length;W++)M8(Jp[W],i);break;case"source":M8("error",i);break;case"img":case"image":case"link":M8("error",i),M8("load",i);break;case"details":M8("toggle",i);break;case"input":s0(i,v),M8("invalid",i);break;case"option":N2(i,v);break;case"select":k5(i,v),M8("invalid",i);break;case"textarea":FZ(i,v),M8("invalid",i);break}T5(s,v);{x=new Set;for(var J=i.attributes,M0=0;M0<J.length;M0++){var b0=J[M0].name.toLowerCase();switch(b0){case"value":break;case"checked":break;case"selected":break;default:x.add(J[M0].name)}}}var U0=null;for(var q0 in v)if(v.hasOwnProperty(q0)){var K0=v[q0];if(q0===E7)typeof K0=="string"?i.textContent!==K0&&(v[ai]!==!0&&qy(i.textContent,K0,L,_),U0=[E7,K0]):typeof K0=="number"&&i.textContent!==""+K0&&(v[ai]!==!0&&qy(i.textContent,K0,L,_),U0=[E7,""+K0]);else if(f0.hasOwnProperty(q0))K0!=null&&(typeof K0!="function"&&Uy(q0,K0),q0==="onScroll"&&M8("scroll",i));else if(_&&typeof D=="boolean"){var N1=void 0,ge=D&&O0?null:Pe(q0);if(v[ai]!==!0){if(!(q0===xy||q0===ai||q0==="value"||q0==="checked"||q0==="selected")){if(q0===ah){var ue=i.innerHTML,d2=K0?K0[Ry]:void 0;if(d2!=null){var n2=Ts1(i,d2);n2!==ue&&rh(q0,ue,n2)}}else if(q0===M7){if(x.delete(q0),Ns1){var _0=vF(K0);N1=i.getAttribute("style"),_0!==N1&&rh(q0,N1,_0)}}else if(D&&!O0)x.delete(q0.toLowerCase()),N1=T0(i,q0,K0),K0!==N1&&rh(q0,N1,K0);else if(!f2(q0,ge,D)&&!Be(q0,K0,ge,D)){var X0=!1;if(ge!==null)x.delete(ge.attributeName),N1=V0(i,q0,K0,ge);else{var C0=Z;if(C0===Tr&&(C0=Ud(s)),C0===Tr)x.delete(q0.toLowerCase());else{var g1=l8a(q0);g1!==null&&g1!==q0&&(X0=!0,x.delete(g1)),x.delete(q0)}N1=T0(i,q0,K0)}var q1=O0;!q1&&K0!==N1&&!X0&&rh(q0,N1,K0)}}}}}switch(_&&x.size>0&&v[ai]!==!0&&Cs1(x),s){case"input":f1(i),E1(i,v,!0);break;case"textarea":f1(i),V9(i);break;case"select":case"option":break;default:typeof v.onClick=="function"&&Wy(i);break}return U0}function i8a(i,s,v){var Z=i.nodeValue!==s;return Z}function YF(i,s){{if(r4)return;r4=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",s.nodeName.toLowerCase(),i.nodeName.toLowerCase())}}function QF(i,s){{if(r4)return;r4=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',s.nodeValue,i.nodeName.toLowerCase())}}function KF(i,s,v){{if(r4)return;r4=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",s,i.nodeName.toLowerCase())}}function XF(i,s){{if(s===""||r4)return;r4=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',s,i.nodeName.toLowerCase())}}function c8a(i,s,v){switch(s){case"input":ee(i,v);return;case"textarea":iF(i,v);return;case"select":SZ(i,v);return}}var nh=function(){},lh=function(){};{var s8a=["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"],Ds1=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],m8a=Ds1.concat(["button"]),u8a=["dd","dt","li","option","optgroup","p","rp","rt"],xs1={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};lh=function(i,s){var v=ce({},i||xs1),Z={tag:s};return Ds1.indexOf(s)!==-1&&(v.aTagInScope=null,v.buttonTagInScope=null,v.nobrTagInScope=null),m8a.indexOf(s)!==-1&&(v.pTagInButtonScope=null),s8a.indexOf(s)!==-1&&s!=="address"&&s!=="div"&&s!=="p"&&(v.listItemTagAutoclosing=null,v.dlItemTagAutoclosing=null),v.current=Z,s==="form"&&(v.formTag=Z),s==="a"&&(v.aTagInScope=Z),s==="button"&&(v.buttonTagInScope=Z),s==="nobr"&&(v.nobrTagInScope=Z),s==="p"&&(v.pTagInButtonScope=Z),s==="li"&&(v.listItemTagAutoclosing=Z),(s==="dd"||s==="dt")&&(v.dlItemTagAutoclosing=Z),v};var d8a=function(i,s){switch(s){case"select":return i==="option"||i==="optgroup"||i==="#text";case"optgroup":return i==="option"||i==="#text";case"option":return i==="#text";case"tr":return i==="th"||i==="td"||i==="style"||i==="script"||i==="template";case"tbody":case"thead":case"tfoot":return i==="tr"||i==="style"||i==="script"||i==="template";case"colgroup":return i==="col"||i==="template";case"table":return i==="caption"||i==="colgroup"||i==="tbody"||i==="tfoot"||i==="thead"||i==="style"||i==="script"||i==="template";case"head":return i==="base"||i==="basefont"||i==="bgsound"||i==="link"||i==="meta"||i==="title"||i==="noscript"||i==="noframes"||i==="style"||i==="script"||i==="template";case"html":return i==="head"||i==="body"||i==="frameset";case"frameset":return i==="frame";case"#document":return i==="html"}switch(i){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return s!=="h1"&&s!=="h2"&&s!=="h3"&&s!=="h4"&&s!=="h5"&&s!=="h6";case"rp":case"rt":return u8a.indexOf(s)===-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 s==null}return!0},p8a=function(i,s){switch(i){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 s.pTagInButtonScope;case"form":return s.formTag||s.pTagInButtonScope;case"li":return s.listItemTagAutoclosing;case"dd":case"dt":return s.dlItemTagAutoclosing;case"button":return s.buttonTagInScope;case"a":return s.aTagInScope;case"nobr":return s.nobrTagInScope}return null},Rs1={};nh=function(i,s,v){v=v||xs1;var Z=v.current,V=Z&&Z.tag;s!=null&&(i!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),i="#text");var L=d8a(i,V)?null:Z,_=L?null:p8a(i,v),D=L||_;if(D){var x=D.tag,W=!!L+"|"+i+"|"+x;if(!Rs1[W]){Rs1[W]=!0;var J=i,M0="";if(i==="#text"?/\S/.test(s)?J="Text nodes":(J="Whitespace text nodes",M0=" Make sure you don't have any extra whitespace between tags on each line of your source code."):J="<"+i+">",L){var b0="";x==="table"&&i==="tr"&&(b0+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",J,x,M0,b0)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",J,x)}}}}var Gy="suppressHydrationWarning",Yy="$",Qy="/$",oh="$?",ih="$!",h8a="style",JF=null,ej=null;function f8a(i){var s,v,Z=i.nodeType;switch(Z){case v6:case qd:{s=Z===v6?"#document":"#fragment";var V=i.documentElement;v=V?V.namespaceURI:Bd(null,"");break}default:{var L=Z===S8?i.parentNode:i,_=L.namespaceURI||null;s=L.tagName,v=Bd(_,s);break}}{var D=s.toLowerCase(),x=lh(null,D);return{namespace:v,ancestorInfo:x}}}function v8a(i,s,v){{var Z=i,V=Bd(Z.namespace,s),L=lh(Z.ancestorInfo,s);return{namespace:V,ancestorInfo:L}}}function c3a(i){return i}function g8a(i){JF=ut(),ej=F2a();var s=null;return i3(!1),s}function A8a(i){j2a(ej),i3(JF),JF=null,ej=null}function Z8a(i,s,v,Z,V){var L;{var _=Z;if(nh(i,null,_.ancestorInfo),typeof s.children=="string"||typeof s.children=="number"){var D=""+s.children,x=lh(_.ancestorInfo,i);nh(null,D,x)}L=_.namespace}var W=e8a(i,s,v,L);return mh(V,W),cj(W,s),W}function y8a(i,s){i.appendChild(s)}function b8a(i,s,v,Z,V){switch(a8a(i,s,v,Z),s){case"button":case"input":case"select":case"textarea":return!!v.autoFocus;case"img":return!0;default:return!1}}function H8a(i,s,v,Z,V,L){{var _=L;if(typeof Z.children!=typeof v.children&&(typeof Z.children=="string"||typeof Z.children=="number")){var D=""+Z.children,x=lh(_.ancestorInfo,s);nh(null,D,x)}}return r8a(i,s,v,Z)}function tj(i,s){return i==="textarea"||i==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}function E8a(i,s,v,Z){{var V=v;nh(null,i,V.ancestorInfo)}var L=t8a(i,s);return mh(Z,L),L}function M8a(){var i=window.event;return i===void 0?S4:s3(i.type)}var aj=typeof setTimeout=="function"?setTimeout:void 0,V8a=typeof clearTimeout=="function"?clearTimeout:void 0,rj=-1,zs1=typeof Promise=="function"?Promise:void 0,O8a=typeof queueMicrotask=="function"?queueMicrotask:typeof zs1<"u"?function(i){return zs1.resolve(null).then(i).catch($8a)}:aj;function $8a(i){setTimeout(function(){throw i})}function w8a(i,s,v,Z){switch(s){case"button":case"input":case"select":case"textarea":v.autoFocus&&i.focus();return;case"img":{v.src&&(i.src=v.src);return}}}function S8a(i,s,v,Z,V,L){n8a(i,s,v,Z,V),cj(i,V)}function Us1(i){_5(i,"")}function L8a(i,s,v){i.nodeValue=v}function F8a(i,s){i.appendChild(s)}function j8a(i,s){var v;i.nodeType===S8?(v=i.parentNode,v.insertBefore(s,i)):(v=i,v.appendChild(s));var Z=i._reactRootContainer;Z==null&&v.onclick===null&&Wy(v)}function P8a(i,s,v){i.insertBefore(s,v)}function k8a(i,s,v){i.nodeType===S8?i.parentNode.insertBefore(s,v):i.insertBefore(s,v)}function _8a(i,s){i.removeChild(s)}function C8a(i,s){i.nodeType===S8?i.parentNode.removeChild(s):i.removeChild(s)}function nj(i,s){var v=s,Z=0;do{var V=v.nextSibling;if(i.removeChild(v),V&&V.nodeType===S8){var L=V.data;if(L===Qy)if(Z===0){i.removeChild(V),A8(s);return}else Z--;else(L===Yy||L===oh||L===ih)&&Z++}v=V}while(v);A8(s)}function N8a(i,s){i.nodeType===S8?nj(i.parentNode,s):i.nodeType===Ua&&nj(i,s),A8(i)}function T8a(i){i=i;var s=i.style;typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"}function I8a(i){i.nodeValue=""}function D8a(i,s){i=i;var v=s[h8a],Z=v!=null&&v.hasOwnProperty("display")?v.display:null;i.style.display=xn("display",Z)}function x8a(i,s){i.nodeValue=s}function R8a(i){i.nodeType===Ua?i.textContent="":i.nodeType===v6&&i.documentElement&&i.removeChild(i.documentElement)}function z8a(i,s,v){return i.nodeType!==Ua||s.toLowerCase()!==i.nodeName.toLowerCase()?null:i}function U8a(i,s){return s===""||i.nodeType!==Ir?null:i}function B8a(i){return i.nodeType!==S8?null:i}function Bs1(i){return i.data===oh}function lj(i){return i.data===ih}function q8a(i){var s=i.nextSibling&&i.nextSibling.dataset,v,Z,V;return s&&(v=s.dgst,Z=s.msg,V=s.stck),{message:Z,digest:v,stack:V}}function W8a(i,s){i._reactRetry=s}function Ky(i){for(;i!=null;i=i.nextSibling){var s=i.nodeType;if(s===Ua||s===Ir)break;if(s===S8){var v=i.data;if(v===Yy||v===ih||v===oh)break;if(v===Qy)return null}}return i}function ch(i){return Ky(i.nextSibling)}function G8a(i){return Ky(i.firstChild)}function Y8a(i){return Ky(i.firstChild)}function Q8a(i){return Ky(i.nextSibling)}function K8a(i,s,v,Z,V,L,_){mh(L,i),cj(i,v);var D;{var x=V;D=x.namespace}var W=(L.mode&fe)!==_1;return o8a(i,s,v,D,Z,W,_)}function X8a(i,s,v,Z){return mh(v,i),v.mode&fe,i8a(i,s)}function J8a(i,s){mh(s,i)}function eta(i){for(var s=i.nextSibling,v=0;s;){if(s.nodeType===S8){var Z=s.data;if(Z===Qy){if(v===0)return ch(s);v--}else(Z===Yy||Z===ih||Z===oh)&&v++}s=s.nextSibling}return null}function qs1(i){for(var s=i.previousSibling,v=0;s;){if(s.nodeType===S8){var Z=s.data;if(Z===Yy||Z===ih||Z===oh){if(v===0)return s;v--}else Z===Qy&&v++}s=s.previousSibling}return null}function tta(i){A8(i)}function ata(i){A8(i)}function rta(i){return i!=="head"&&i!=="body"}function nta(i,s,v,Z){var V=!0;qy(s.nodeValue,v,Z,V)}function lta(i,s,v,Z,V,L){if(s[Gy]!==!0){var _=!0;qy(Z.nodeValue,V,L,_)}}function ota(i,s){s.nodeType===Ua?YF(i,s):s.nodeType===S8||QF(i,s)}function ita(i,s){{var v=i.parentNode;v!==null&&(s.nodeType===Ua?YF(v,s):s.nodeType===S8||QF(v,s))}}function cta(i,s,v,Z,V){(V||s[Gy]!==!0)&&(Z.nodeType===Ua?YF(v,Z):Z.nodeType===S8||QF(v,Z))}function sta(i,s,v){KF(i,s)}function mta(i,s){XF(i,s)}function uta(i,s,v){{var Z=i.parentNode;Z!==null&&KF(Z,s)}}function dta(i,s){{var v=i.parentNode;v!==null&&XF(v,s)}}function pta(i,s,v,Z,V,L){(L||s[Gy]!==!0)&&KF(v,Z)}function hta(i,s,v,Z,V){(V||s[Gy]!==!0)&&XF(v,Z)}function fta(i){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",i.nodeName.toLowerCase())}function vta(i){eh(i)}var bs=Math.random().toString(36).slice(2),Hs="__reactFiber$"+bs,oj="__reactProps$"+bs,sh="__reactContainer$"+bs,ij="__reactEvents$"+bs,gta="__reactListeners$"+bs,Ata="__reactHandles$"+bs;function Zta(i){delete i[Hs],delete i[oj],delete i[ij],delete i[gta],delete i[Ata]}function mh(i,s){s[Hs]=i}function Xy(i,s){s[sh]=i}function Ws1(i){i[sh]=null}function uh(i){return!!i[sh]}function V7(i){var s=i[Hs];if(s)return s;for(var v=i.parentNode;v;){if(s=v[sh]||v[Hs],s){var Z=s.alternate;if(s.child!==null||Z!==null&&Z.child!==null)for(var V=qs1(i);V!==null;){var L=V[Hs];if(L)return L;V=qs1(V)}return s}i=v,v=i.parentNode}return null}function ri(i){var s=i[Hs]||i[sh];return s&&(s.tag===M||s.tag===O||s.tag===I||s.tag===y)?s:null}function Es(i){if(i.tag===M||i.tag===O)return i.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Jy(i){return i[oj]||null}function cj(i,s){i[oj]=s}function yta(i){var s=i[ij];return s===void 0&&(s=i[ij]=new Set),s}var Gs1={},Ys1=n.ReactDebugCurrentFrame;function eb(i){if(i){var s=i._owner,v=a2(i.type,i._source,s?s.type:null);Ys1.setExtraStackFrame(v)}else Ys1.setExtraStackFrame(null)}function en(i,s,v,Z,V){{var L=Function.call.bind(k0);for(var _ in i)if(L(i,_)){var D=void 0;try{if(typeof i[_]!="function"){var x=Error((Z||"React class")+": "+v+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}D=i[_](s,_,Z,v,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(W){D=W}D&&!(D instanceof Error)&&(eb(V),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Z||"React class",v,_,typeof D),eb(null)),D instanceof Error&&!(D.message in Gs1)&&(Gs1[D.message]=!0,eb(V),m("Failed %s type: %s",v,D.message),eb(null))}}}var sj=[],tb;tb=[];var g3=-1;function ni(i){return{current:i}}function Xa(i,s){if(g3<0){m("Unexpected pop.");return}s!==tb[g3]&&m("Unexpected Fiber popped."),i.current=sj[g3],sj[g3]=null,tb[g3]=null,g3--}function Ja(i,s,v){g3++,sj[g3]=i.current,tb[g3]=v,i.current=s}var mj;mj={};var F4={};Object.freeze(F4);var A3=ni(F4),cl=ni(!1),uj=F4;function Ms(i,s,v){return v&&sl(s)?uj:A3.current}function Qs1(i,s,v){{var Z=i.stateNode;Z.__reactInternalMemoizedUnmaskedChildContext=s,Z.__reactInternalMemoizedMaskedChildContext=v}}function Vs(i,s){{var v=i.type,Z=v.contextTypes;if(!Z)return F4;var V=i.stateNode;if(V&&V.__reactInternalMemoizedUnmaskedChildContext===s)return V.__reactInternalMemoizedMaskedChildContext;var L={};for(var _ in Z)L[_]=s[_];{var D=Ee(i)||"Unknown";en(Z,L,"context",D)}return V&&Qs1(i,s,L),L}}function ab(){return cl.current}function sl(i){{var s=i.childContextTypes;return s!=null}}function rb(i){Xa(cl,i),Xa(A3,i)}function dj(i){Xa(cl,i),Xa(A3,i)}function Ks1(i,s,v){{if(A3.current!==F4)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ja(A3,s,i),Ja(cl,v,i)}}function Xs1(i,s,v){{var Z=i.stateNode,V=s.childContextTypes;if(typeof Z.getChildContext!="function"){{var L=Ee(i)||"Unknown";mj[L]||(mj[L]=!0,m("%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.",L,L))}return v}var _=Z.getChildContext();for(var D in _)if(!(D in V))throw new Error((Ee(i)||"Unknown")+'.getChildContext(): key "'+D+'" is not defined in childContextTypes.');{var x=Ee(i)||"Unknown";en(V,_,"child context",x)}return ce({},v,_)}}function nb(i){{var s=i.stateNode,v=s&&s.__reactInternalMemoizedMergedChildContext||F4;return uj=A3.current,Ja(A3,v,i),Ja(cl,cl.current,i),!0}}function Js1(i,s,v){{var Z=i.stateNode;if(!Z)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(v){var V=Xs1(i,s,uj);Z.__reactInternalMemoizedMergedChildContext=V,Xa(cl,i),Xa(A3,i),Ja(A3,V,i),Ja(cl,v,i)}else Xa(cl,i),Ja(cl,v,i)}}function bta(i){{if(!Z6(i)||i.tag!==g)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 s=i;do{switch(s.tag){case y:return s.stateNode.context;case g:{var v=s.type;if(sl(v))return s.stateNode.__reactInternalMemoizedMergedChildContext;break}}s=s.return}while(s!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var li=0,lb=1,Z3=null,pj=!1,hj=!1;function em1(i){Z3===null?Z3=[i]:Z3.push(i)}function Hta(i){pj=!0,em1(i)}function tm1(){pj&&oi()}function oi(){if(!hj&&Z3!==null){hj=!0;var i=0,s=ya();try{var v=!0,Z=Z3;for(y2(V6);i<Z.length;i++){var V=Z[i];do V=V(v);while(V!==null)}Z3=null,pj=!1}catch(L){throw Z3!==null&&(Z3=Z3.slice(i+1)),dp(Gn,oi),L}finally{y2(s),hj=!1}}return null}var Os=[],$s=0,ob=null,ib=0,cr=[],sr=0,O7=null,y3=1,b3="";function Eta(i){return w7(),(i.flags&ly)!==ve}function Mta(i){return w7(),ib}function Vta(){var i=b3,s=y3,v=s&~Ota(s);return v.toString(32)+i}function $7(i,s){w7(),Os[$s++]=ib,Os[$s++]=ob,ob=i,ib=s}function am1(i,s,v){w7(),cr[sr++]=y3,cr[sr++]=b3,cr[sr++]=O7,O7=i;var Z=y3,V=b3,L=cb(Z)-1,_=Z&~(1<<L),D=v+1,x=cb(s)+L;if(x>30){var W=L-L%5,J=(1<<W)-1,M0=(_&J).toString(32),b0=_>>W,U0=L-W,q0=cb(s)+U0,K0=D<<U0,N1=K0|b0,ge=M0+V;y3=1<<q0|N1,b3=ge}else{var ue=D<<L,d2=ue|_,n2=V;y3=1<<x|d2,b3=n2}}function fj(i){w7();var s=i.return;if(s!==null){var v=1,Z=0;$7(i,v),am1(i,v,Z)}}function cb(i){return 32-Co(i)}function Ota(i){return 1<<cb(i)-1}function vj(i){for(;i===ob;)ob=Os[--$s],Os[$s]=null,ib=Os[--$s],Os[$s]=null;for(;i===O7;)O7=cr[--sr],cr[sr]=null,b3=cr[--sr],cr[sr]=null,y3=cr[--sr],cr[sr]=null}function $ta(){return w7(),O7!==null?{id:y3,overflow:b3}:null}function wta(i,s){w7(),cr[sr++]=y3,cr[sr++]=b3,cr[sr++]=O7,y3=s.id,b3=s.overflow,O7=i}function w7(){Va()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Ma=null,mr=null,tn=!1,S7=!1,ii=null;function Sta(){tn&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rm1(){S7=!0}function Lta(){return S7}function Fta(i){var s=i.stateNode.containerInfo;return mr=Y8a(s),Ma=i,tn=!0,ii=null,S7=!1,!0}function jta(i,s,v){return mr=Q8a(s),Ma=i,tn=!0,ii=null,S7=!1,v!==null&&wta(i,v),!0}function nm1(i,s){switch(i.tag){case y:{ota(i.stateNode.containerInfo,s);break}case M:{var v=(i.mode&fe)!==_1;cta(i.type,i.memoizedProps,i.stateNode,s,v);break}case I:{var Z=i.memoizedState;Z.dehydrated!==null&&ita(Z.dehydrated,s);break}}}function lm1(i,s){nm1(i,s);var v=C4a();v.stateNode=s,v.return=i;var Z=i.deletions;Z===null?(i.deletions=[v],i.flags|=M2):Z.push(v)}function gj(i,s){{if(S7)return;switch(i.tag){case y:{var v=i.stateNode.containerInfo;switch(s.tag){case M:var Z=s.type;s.pendingProps,sta(v,Z);break;case O:var V=s.pendingProps;mta(v,V);break}break}case M:{var L=i.type,_=i.memoizedProps,D=i.stateNode;switch(s.tag){case M:{var x=s.type,W=s.pendingProps,J=(i.mode&fe)!==_1;pta(L,_,D,x,W,J);break}case O:{var M0=s.pendingProps,b0=(i.mode&fe)!==_1;hta(L,_,D,M0,b0);break}}break}case I:{var U0=i.memoizedState,q0=U0.dehydrated;if(q0!==null)switch(s.tag){case M:var K0=s.type;s.pendingProps,uta(q0,K0);break;case O:var N1=s.pendingProps;dta(q0,N1);break}break}default:return}}}function om1(i,s){s.flags=s.flags&~X4|Q2,gj(i,s)}function im1(i,s){switch(i.tag){case M:{var v=i.type;i.pendingProps;var Z=z8a(s,v);return Z!==null?(i.stateNode=Z,Ma=i,mr=G8a(Z),!0):!1}case O:{var V=i.pendingProps,L=U8a(s,V);return L!==null?(i.stateNode=L,Ma=i,mr=null,!0):!1}case I:{var _=B8a(s);if(_!==null){var D={dehydrated:_,treeContext:$ta(),retryLane:M6};i.memoizedState=D;var x=N4a(_);return x.return=i,i.child=x,Ma=i,mr=null,!0}return!1}default:return!1}}function Aj(i){return(i.mode&fe)!==_1&&(i.flags&ke)===ve}function Zj(i){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function yj(i){if(tn){var s=mr;if(!s){Aj(i)&&(gj(Ma,i),Zj()),om1(Ma,i),tn=!1,Ma=i;return}var v=s;if(!im1(i,s)){Aj(i)&&(gj(Ma,i),Zj()),s=ch(v);var Z=Ma;if(!s||!im1(i,s)){om1(Ma,i),tn=!1,Ma=i;return}lm1(Z,v)}}}function Pta(i,s,v){var Z=i.stateNode,V=!S7,L=K8a(Z,i.type,i.memoizedProps,s,v,i,V);return i.updateQueue=L,L!==null}function kta(i){var s=i.stateNode,v=i.memoizedProps,Z=X8a(s,v,i);if(Z){var V=Ma;if(V!==null)switch(V.tag){case y:{var L=V.stateNode.containerInfo,_=(V.mode&fe)!==_1;nta(L,s,v,_);break}case M:{var D=V.type,x=V.memoizedProps,W=V.stateNode,J=(V.mode&fe)!==_1;lta(D,x,W,s,v,J);break}}}return Z}function _ta(i){var s=i.memoizedState,v=s!==null?s.dehydrated:null;if(!v)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");J8a(v,i)}function Cta(i){var s=i.memoizedState,v=s!==null?s.dehydrated:null;if(!v)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 eta(v)}function cm1(i){for(var s=i.return;s!==null&&s.tag!==M&&s.tag!==y&&s.tag!==I;)s=s.return;Ma=s}function sb(i){if(i!==Ma)return!1;if(!tn)return cm1(i),tn=!0,!1;if(i.tag!==y&&(i.tag!==M||rta(i.type)&&!tj(i.type,i.memoizedProps))){var s=mr;if(s)if(Aj(i))sm1(i),Zj();else for(;s;)lm1(i,s),s=ch(s)}return cm1(i),i.tag===I?mr=Cta(i):mr=Ma?ch(i.stateNode):null,!0}function Nta(){return tn&&mr!==null}function sm1(i){for(var s=mr;s;)nm1(i,s),s=ch(s)}function ws(){Ma=null,mr=null,tn=!1,S7=!1}function mm1(){ii!==null&&(rd1(ii),ii=null)}function Va(){return tn}function bj(i){ii===null?ii=[i]:ii.push(i)}var Tta=n.ReactCurrentBatchConfig,Ita=null;function Dta(){return Tta.transition}var an={recordUnsafeLifecycleWarnings:function(i,s){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(i,s){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var xta=function(i){for(var s=null,v=i;v!==null;)v.mode&u8&&(s=v),v=v.return;return s},L7=function(i){var s=[];return i.forEach(function(v){s.push(v)}),s.sort().join(", ")},dh=[],ph=[],hh=[],fh=[],vh=[],gh=[],F7=new Set;an.recordUnsafeLifecycleWarnings=function(i,s){F7.has(i.type)||(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0&&dh.push(i),i.mode&u8&&typeof s.UNSAFE_componentWillMount=="function"&&ph.push(i),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&hh.push(i),i.mode&u8&&typeof s.UNSAFE_componentWillReceiveProps=="function"&&fh.push(i),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0&&vh.push(i),i.mode&u8&&typeof s.UNSAFE_componentWillUpdate=="function"&&gh.push(i))},an.flushPendingUnsafeLifecycleWarnings=function(){var i=new Set;dh.length>0&&(dh.forEach(function(b0){i.add(Ee(b0)||"Component"),F7.add(b0.type)}),dh=[]);var s=new Set;ph.length>0&&(ph.forEach(function(b0){s.add(Ee(b0)||"Component"),F7.add(b0.type)}),ph=[]);var v=new Set;hh.length>0&&(hh.forEach(function(b0){v.add(Ee(b0)||"Component"),F7.add(b0.type)}),hh=[]);var Z=new Set;fh.length>0&&(fh.forEach(function(b0){Z.add(Ee(b0)||"Component"),F7.add(b0.type)}),fh=[]);var V=new Set;vh.length>0&&(vh.forEach(function(b0){V.add(Ee(b0)||"Component"),F7.add(b0.type)}),vh=[]);var L=new Set;if(gh.length>0&&(gh.forEach(function(b0){L.add(Ee(b0)||"Component"),F7.add(b0.type)}),gh=[]),s.size>0){var _=L7(s);m(`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.
124
124
 
125
125
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
126
126
 
@@ -159,7 +159,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`,V)}
159
159
  1. You may be adding a ref to a function component
160
160
  2. You may be adding a ref to a component that was not created inside a component's render method
161
161
  3. You have multiple copies of React loaded
162
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return Z}function ub(i,s){var v=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(v==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":v)+"). If you meant to render a collection of children, use an array instead.")}function db(i){{var s=Ee(i)||"Component";if(Oj[s])return;Oj[s]=!0,m("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 pm1(i){var s=i._payload,v=i._init;return v(s)}function hm1(i){function s(_0,X0){if(i){var C0=_0.deletions;C0===null?(_0.deletions=[X0],_0.flags|=M2):C0.push(X0)}}function v(_0,X0){if(!i)return null;for(var C0=X0;C0!==null;)s(_0,C0),C0=C0.sibling;return null}function Z(_0,X0){for(var C0=new Map,g1=X0;g1!==null;)g1.key!==null?C0.set(g1.key,g1):C0.set(g1.index,g1),g1=g1.sibling;return C0}function V(_0,X0){var C0=D7(_0,X0);return C0.index=0,C0.sibling=null,C0}function L(_0,X0,C0){if(_0.index=C0,!i)return _0.flags|=ly,X0;var g1=_0.alternate;if(g1!==null){var q1=g1.index;return q1<X0?(_0.flags|=Q2,X0):q1}else return _0.flags|=Q2,X0}function _(_0){return i&&_0.alternate===null&&(_0.flags|=Q2),_0}function D(_0,X0,C0,g1){if(X0===null||X0.tag!==O){var q1=bk(C0,_0.mode,g1);return q1.return=_0,q1}else{var D1=V(X0,C0);return D1.return=_0,D1}}function x(_0,X0,C0,g1){var q1=C0.type;if(q1===Y1)return J(_0,X0,C0.props.children,g1,C0.key);if(X0!==null&&(X0.elementType===q1||Zd1(X0,C0)||typeof q1=="object"&&q1!==null&&q1.$$typeof===y1&&pm1(q1)===X0.type)){var D1=V(X0,C0.props);return D1.ref=Ah(_0,X0,C0),D1.return=_0,D1._debugSource=C0._source,D1._debugOwner=C0._owner,D1}var Oe=yk(C0,_0.mode,g1);return Oe.ref=Ah(_0,X0,C0),Oe.return=_0,Oe}function W(_0,X0,C0,g1){if(X0===null||X0.tag!==E||X0.stateNode.containerInfo!==C0.containerInfo||X0.stateNode.implementation!==C0.implementation){var q1=Hk(C0,_0.mode,g1);return q1.return=_0,q1}else{var D1=V(X0,C0.children||[]);return D1.return=_0,D1}}function J(_0,X0,C0,g1,q1){if(X0===null||X0.tag!==S){var D1=Ai(C0,_0.mode,g1,q1);return D1.return=_0,D1}else{var Oe=V(X0,C0);return Oe.return=_0,Oe}}function M0(_0,X0,C0){if(typeof X0=="string"&&X0!==""||typeof X0=="number"){var g1=bk(""+X0,_0.mode,C0);return g1.return=_0,g1}if(typeof X0=="object"&&X0!==null){switch(X0.$$typeof){case O1:{var q1=yk(X0,_0.mode,C0);return q1.ref=Ah(_0,null,X0),q1.return=_0,q1}case V1:{var D1=Hk(X0,_0.mode,C0);return D1.return=_0,D1}case y1:{var Oe=X0._payload,Ne=X0._init;return M0(_0,Ne(Oe),C0)}}if(A2(X0)||We(X0)){var q2=Ai(X0,_0.mode,C0,null);return q2.return=_0,q2}ub(_0,X0)}return typeof X0=="function"&&db(_0),null}function b0(_0,X0,C0,g1){var q1=X0!==null?X0.key:null;if(typeof C0=="string"&&C0!==""||typeof C0=="number")return q1!==null?null:D(_0,X0,""+C0,g1);if(typeof C0=="object"&&C0!==null){switch(C0.$$typeof){case O1:return C0.key===q1?x(_0,X0,C0,g1):null;case V1:return C0.key===q1?W(_0,X0,C0,g1):null;case y1:{var D1=C0._payload,Oe=C0._init;return b0(_0,X0,Oe(D1),g1)}}if(A2(C0)||We(C0))return q1!==null?null:J(_0,X0,C0,g1,null);ub(_0,C0)}return typeof C0=="function"&&db(_0),null}function U0(_0,X0,C0,g1,q1){if(typeof g1=="string"&&g1!==""||typeof g1=="number"){var D1=_0.get(C0)||null;return D(X0,D1,""+g1,q1)}if(typeof g1=="object"&&g1!==null){switch(g1.$$typeof){case O1:{var Oe=_0.get(g1.key===null?C0:g1.key)||null;return x(X0,Oe,g1,q1)}case V1:{var Ne=_0.get(g1.key===null?C0:g1.key)||null;return W(X0,Ne,g1,q1)}case y1:var q2=g1._payload,V2=g1._init;return U0(_0,X0,C0,V2(q2),q1)}if(A2(g1)||We(g1)){var ut=_0.get(C0)||null;return J(X0,ut,g1,q1,null)}ub(X0,g1)}return typeof g1=="function"&&db(X0),null}function q0(_0,X0,C0){{if(typeof _0!="object"||_0===null)return X0;switch(_0.$$typeof){case O1:case V1:dm1(_0,C0);var g1=_0.key;if(typeof g1!="string")break;if(X0===null){X0=new Set,X0.add(g1);break}if(!X0.has(g1)){X0.add(g1);break}m("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.",g1);break;case y1:var q1=_0._payload,D1=_0._init;q0(D1(q1),X0,C0);break}}return X0}function K0(_0,X0,C0,g1){for(var q1=null,D1=0;D1<C0.length;D1++){var Oe=C0[D1];q1=q0(Oe,q1,_0)}for(var Ne=null,q2=null,V2=X0,ut=0,O2=0,tt=null;V2!==null&&O2<C0.length;O2++){V2.index>O2?(tt=V2,V2=null):tt=V2.sibling;var t6=b0(_0,V2,C0[O2],g1);if(t6===null){V2===null&&(V2=tt);break}i&&V2&&t6.alternate===null&&s(_0,V2),ut=L(t6,ut,O2),q2===null?Ne=t6:q2.sibling=t6,q2=t6,V2=tt}if(O2===C0.length){if(v(_0,V2),Va()){var ja=O2;$7(_0,ja)}return Ne}if(V2===null){for(;O2<C0.length;O2++){var P4=M0(_0,C0[O2],g1);P4!==null&&(ut=L(P4,ut,O2),q2===null?Ne=P4:q2.sibling=P4,q2=P4)}if(Va()){var F6=O2;$7(_0,F6)}return Ne}for(var j6=Z(_0,V2);O2<C0.length;O2++){var a6=U0(j6,_0,O2,C0[O2],g1);a6!==null&&(i&&a6.alternate!==null&&j6.delete(a6.key===null?O2:a6.key),ut=L(a6,ut,O2),q2===null?Ne=a6:q2.sibling=a6,q2=a6)}if(i&&j6.forEach(function(Ws){return s(_0,Ws)}),Va()){var w3=O2;$7(_0,w3)}return Ne}function N1(_0,X0,C0,g1){var q1=We(C0);if(typeof q1!="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"&&C0[Symbol.toStringTag]==="Generator"&&(Ej||m("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."),Ej=!0),C0.entries===q1&&(Hj||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Hj=!0);var D1=q1.call(C0);if(D1)for(var Oe=null,Ne=D1.next();!Ne.done;Ne=D1.next()){var q2=Ne.value;Oe=q0(q2,Oe,_0)}}var V2=q1.call(C0);if(V2==null)throw new Error("An iterable object provided no iterator.");for(var ut=null,O2=null,tt=X0,t6=0,ja=0,P4=null,F6=V2.next();tt!==null&&!F6.done;ja++,F6=V2.next()){tt.index>ja?(P4=tt,tt=null):P4=tt.sibling;var j6=b0(_0,tt,F6.value,g1);if(j6===null){tt===null&&(tt=P4);break}i&&tt&&j6.alternate===null&&s(_0,tt),t6=L(j6,t6,ja),O2===null?ut=j6:O2.sibling=j6,O2=j6,tt=P4}if(F6.done){if(v(_0,tt),Va()){var a6=ja;$7(_0,a6)}return ut}if(tt===null){for(;!F6.done;ja++,F6=V2.next()){var w3=M0(_0,F6.value,g1);w3!==null&&(t6=L(w3,t6,ja),O2===null?ut=w3:O2.sibling=w3,O2=w3)}if(Va()){var Ws=ja;$7(_0,Ws)}return ut}for(var Qh=Z(_0,tt);!F6.done;ja++,F6=V2.next()){var gl=U0(Qh,_0,ja,F6.value,g1);gl!==null&&(i&&gl.alternate!==null&&Qh.delete(gl.key===null?ja:gl.key),t6=L(gl,t6,ja),O2===null?ut=gl:O2.sibling=gl,O2=gl)}if(i&&Qh.forEach(function(hra){return s(_0,hra)}),Va()){var pra=ja;$7(_0,pra)}return ut}function ge(_0,X0,C0,g1){if(X0!==null&&X0.tag===O){v(_0,X0.sibling);var q1=V(X0,C0);return q1.return=_0,q1}v(_0,X0);var D1=bk(C0,_0.mode,g1);return D1.return=_0,D1}function ue(_0,X0,C0,g1){for(var q1=C0.key,D1=X0;D1!==null;){if(D1.key===q1){var Oe=C0.type;if(Oe===Y1){if(D1.tag===S){v(_0,D1.sibling);var Ne=V(D1,C0.props.children);return Ne.return=_0,Ne._debugSource=C0._source,Ne._debugOwner=C0._owner,Ne}}else if(D1.elementType===Oe||Zd1(D1,C0)||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===y1&&pm1(Oe)===D1.type){v(_0,D1.sibling);var q2=V(D1,C0.props);return q2.ref=Ah(_0,D1,C0),q2.return=_0,q2._debugSource=C0._source,q2._debugOwner=C0._owner,q2}v(_0,D1);break}else s(_0,D1);D1=D1.sibling}if(C0.type===Y1){var V2=Ai(C0.props.children,_0.mode,g1,C0.key);return V2.return=_0,V2}else{var ut=yk(C0,_0.mode,g1);return ut.ref=Ah(_0,X0,C0),ut.return=_0,ut}}function d2(_0,X0,C0,g1){for(var q1=C0.key,D1=X0;D1!==null;){if(D1.key===q1)if(D1.tag===E&&D1.stateNode.containerInfo===C0.containerInfo&&D1.stateNode.implementation===C0.implementation){v(_0,D1.sibling);var Oe=V(D1,C0.children||[]);return Oe.return=_0,Oe}else{v(_0,D1);break}else s(_0,D1);D1=D1.sibling}var Ne=Hk(C0,_0.mode,g1);return Ne.return=_0,Ne}function n2(_0,X0,C0,g1){var q1=typeof C0=="object"&&C0!==null&&C0.type===Y1&&C0.key===null;if(q1&&(C0=C0.props.children),typeof C0=="object"&&C0!==null){switch(C0.$$typeof){case O1:return _(ue(_0,X0,C0,g1));case V1:return _(d2(_0,X0,C0,g1));case y1:var D1=C0._payload,Oe=C0._init;return n2(_0,X0,Oe(D1),g1)}if(A2(C0))return K0(_0,X0,C0,g1);if(We(C0))return N1(_0,X0,C0,g1);ub(_0,C0)}return typeof C0=="string"&&C0!==""||typeof C0=="number"?_(ge(_0,X0,""+C0,g1)):(typeof C0=="function"&&db(_0),v(_0,X0))}return n2}var Ss=hm1(!0),fm1=hm1(!1);function zta(i,s){if(i!==null&&s.child!==i.child)throw new Error("Resuming work not yet implemented.");if(s.child!==null){var v=s.child,Z=D7(v,v.pendingProps);for(s.child=Z,Z.return=s;v.sibling!==null;)v=v.sibling,Z=Z.sibling=D7(v,v.pendingProps),Z.return=s;Z.sibling=null}}function Uta(i,s){for(var v=i.child;v!==null;)F4a(v,s),v=v.sibling}var $j=ni(null),wj;wj={};var pb=null,Ls=null,Sj=null,hb=!1;function fb(){pb=null,Ls=null,Sj=null,hb=!1}function vm1(){hb=!0}function gm1(){hb=!1}function Am1(i,s,v){Ja($j,s._currentValue,i),s._currentValue=v,s._currentRenderer!==void 0&&s._currentRenderer!==null&&s._currentRenderer!==wj&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer=wj}function Lj(i,s){var v=$j.current;Xa($j,s),i._currentValue=v}function Fj(i,s,v){for(var Z=i;Z!==null;){var V=Z.alternate;if(tl(Z.childLanes,s)?V!==null&&!tl(V.childLanes,s)&&(V.childLanes=xe(V.childLanes,s)):(Z.childLanes=xe(Z.childLanes,s),V!==null&&(V.childLanes=xe(V.childLanes,s))),Z===v)break;Z=Z.return}Z!==v&&m("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 Bta(i,s,v){qta(i,s,v)}function qta(i,s,v){var Z=i.child;for(Z!==null&&(Z.return=i);Z!==null;){var V=void 0,L=Z.dependencies;if(L!==null){V=Z.child;for(var _=L.firstContext;_!==null;){if(_.context===s){if(Z.tag===g){var D=Bo(v),x=H3(r8,D);x.tag=gb;var W=Z.updateQueue;if(W!==null){var J=W.shared,M0=J.pending;M0===null?x.next=x:(x.next=M0.next,M0.next=x),J.pending=x}}Z.lanes=xe(Z.lanes,v);var b0=Z.alternate;b0!==null&&(b0.lanes=xe(b0.lanes,v)),Fj(Z.return,v,i),L.lanes=xe(L.lanes,v);break}_=_.next}}else if(Z.tag===k)V=Z.type===i.type?null:Z.child;else if(Z.tag===o0){var U0=Z.return;if(U0===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");U0.lanes=xe(U0.lanes,v);var q0=U0.alternate;q0!==null&&(q0.lanes=xe(q0.lanes,v)),Fj(U0,v,i),V=Z.sibling}else V=Z.child;if(V!==null)V.return=Z;else for(V=Z;V!==null;){if(V===i){V=null;break}var K0=V.sibling;if(K0!==null){K0.return=V.return,V=K0;break}V=V.return}Z=V}}function Fs(i,s){pb=i,Ls=null,Sj=null;var v=i.dependencies;if(v!==null){var Z=v.firstContext;Z!==null&&(Ka(v.lanes,s)&&Ph(),v.firstContext=null)}}function Et(i){hb&&m("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 s=i._currentValue;if(Sj!==i){var v={context:i,memoizedValue:s,next:null};if(Ls===null){if(pb===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().");Ls=v,pb.dependencies={lanes:i1,firstContext:v}}else Ls=Ls.next=v}return s}var j7=null;function jj(i){j7===null?j7=[i]:j7.push(i)}function Wta(){if(j7!==null){for(var i=0;i<j7.length;i++){var s=j7[i],v=s.interleaved;if(v!==null){s.interleaved=null;var Z=v.next,V=s.pending;if(V!==null){var L=V.next;V.next=Z,v.next=L}s.pending=v}}j7=null}}function Zm1(i,s,v,Z){var V=s.interleaved;return V===null?(v.next=v,jj(s)):(v.next=V.next,V.next=v),s.interleaved=v,vb(i,Z)}function Gta(i,s,v,Z){var V=s.interleaved;V===null?(v.next=v,jj(s)):(v.next=V.next,V.next=v),s.interleaved=v}function Yta(i,s,v,Z){var V=s.interleaved;return V===null?(v.next=v,jj(s)):(v.next=V.next,V.next=v),s.interleaved=v,vb(i,Z)}function n4(i,s){return vb(i,s)}var Qta=vb;function vb(i,s){i.lanes=xe(i.lanes,s);var v=i.alternate;v!==null&&(v.lanes=xe(v.lanes,s)),v===null&&(i.flags&(Q2|X4))!==ve&&fd1(i);for(var Z=i,V=i.return;V!==null;)V.childLanes=xe(V.childLanes,s),v=V.alternate,v!==null?v.childLanes=xe(v.childLanes,s):(V.flags&(Q2|X4))!==ve&&fd1(i),Z=V,V=V.return;if(Z.tag===y){var L=Z.stateNode;return L}else return null}var ym1=0,bm1=1,gb=2,Pj=3,Ab=!1,kj,Zb;kj=!1,Zb=null;function _j(i){var s={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:i1},effects:null};i.updateQueue=s}function Hm1(i,s){var v=s.updateQueue,Z=i.updateQueue;if(v===Z){var V={baseState:Z.baseState,firstBaseUpdate:Z.firstBaseUpdate,lastBaseUpdate:Z.lastBaseUpdate,shared:Z.shared,effects:Z.effects};s.updateQueue=V}}function H3(i,s){var v={eventTime:i,lane:s,tag:ym1,payload:null,callback:null,next:null};return v}function ci(i,s,v){var Z=i.updateQueue;if(Z===null)return null;var V=Z.shared;if(Zb===V&&!kj&&(m("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."),kj=!0),G6a()){var L=V.pending;return L===null?s.next=s:(s.next=L.next,L.next=s),V.pending=s,Qta(i,v)}else return Yta(i,V,s,v)}function yb(i,s,v){var Z=s.updateQueue;if(Z!==null){var V=Z.shared;if(Ay(v)){var L=V.lanes;L=Sp(L,i.pendingLanes);var _=xe(L,v);V.lanes=_,ls(i,_)}}}function Cj(i,s){var v=i.updateQueue,Z=i.alternate;if(Z!==null){var V=Z.updateQueue;if(v===V){var L=null,_=null,D=v.firstBaseUpdate;if(D!==null){var x=D;do{var W={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};_===null?L=_=W:(_.next=W,_=W),x=x.next}while(x!==null);_===null?L=_=s:(_.next=s,_=s)}else L=_=s;v={baseState:V.baseState,firstBaseUpdate:L,lastBaseUpdate:_,shared:V.shared,effects:V.effects},i.updateQueue=v;return}}var J=v.lastBaseUpdate;J===null?v.firstBaseUpdate=s:J.next=s,v.lastBaseUpdate=s}function Kta(i,s,v,Z,V,L){switch(v.tag){case bm1:{var _=v.payload;if(typeof _=="function"){vm1();var D=_.call(L,Z,V);{if(i.mode&u8){st(!0);try{_.call(L,Z,V)}finally{st(!1)}}gm1()}return D}return _}case Pj:i.flags=i.flags&~Nt|ke;case ym1:{var x=v.payload,W;if(typeof x=="function"){vm1(),W=x.call(L,Z,V);{if(i.mode&u8){st(!0);try{x.call(L,Z,V)}finally{st(!1)}}gm1()}}else W=x;return W==null?Z:ce({},Z,W)}case gb:return Ab=!0,Z}return Z}function bb(i,s,v,Z){var V=i.updateQueue;Ab=!1,Zb=V.shared;var L=V.firstBaseUpdate,_=V.lastBaseUpdate,D=V.shared.pending;if(D!==null){V.shared.pending=null;var x=D,W=x.next;x.next=null,_===null?L=W:_.next=W,_=x;var J=i.alternate;if(J!==null){var M0=J.updateQueue,b0=M0.lastBaseUpdate;b0!==_&&(b0===null?M0.firstBaseUpdate=W:b0.next=W,M0.lastBaseUpdate=x)}}if(L!==null){var U0=V.baseState,q0=i1,K0=null,N1=null,ge=null,ue=L;do{var d2=ue.lane,n2=ue.eventTime;if(tl(Z,d2)){if(ge!==null){var X0={eventTime:n2,lane:K2,tag:ue.tag,payload:ue.payload,callback:ue.callback,next:null};ge=ge.next=X0}U0=Kta(i,V,ue,U0,s,v);var C0=ue.callback;if(C0!==null&&ue.lane!==K2){i.flags|=Zt;var g1=V.effects;g1===null?V.effects=[ue]:g1.push(ue)}}else{var _0={eventTime:n2,lane:d2,tag:ue.tag,payload:ue.payload,callback:ue.callback,next:null};ge===null?(N1=ge=_0,K0=U0):ge=ge.next=_0,q0=xe(q0,d2)}if(ue=ue.next,ue===null){if(D=V.shared.pending,D===null)break;var q1=D,D1=q1.next;q1.next=null,ue=D1,V.lastBaseUpdate=q1,V.shared.pending=null}}while(!0);ge===null&&(K0=U0),V.baseState=K0,V.firstBaseUpdate=N1,V.lastBaseUpdate=ge;var Oe=V.shared.interleaved;if(Oe!==null){var Ne=Oe;do q0=xe(q0,Ne.lane),Ne=Ne.next;while(Ne!==Oe)}else L===null&&(V.shared.lanes=i1);Bh(q0),i.lanes=q0,i.memoizedState=U0}Zb=null}function Xta(i,s){if(typeof i!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+i));i.call(s)}function Em1(){Ab=!1}function Hb(){return Ab}function Mm1(i,s,v){var Z=s.effects;if(s.effects=null,Z!==null)for(var V=0;V<Z.length;V++){var L=Z[V],_=L.callback;_!==null&&(L.callback=null,Xta(_,v))}}var Zh={},si=ni(Zh),yh=ni(Zh),Eb=ni(Zh);function Mb(i){if(i===Zh)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return i}function Vm1(){var i=Mb(Eb.current);return i}function Nj(i,s){Ja(Eb,s,i),Ja(yh,i,i),Ja(si,Zh,i);var v=f8a(s);Xa(si,i),Ja(si,v,i)}function js(i){Xa(si,i),Xa(yh,i),Xa(Eb,i)}function Tj(){var i=Mb(si.current);return i}function Om1(i){Mb(Eb.current);var s=Mb(si.current),v=v8a(s,i.type);s!==v&&(Ja(yh,i,i),Ja(si,v,i))}function Ij(i){yh.current===i&&(Xa(si,i),Xa(yh,i))}var Jta=0,$m1=1,wm1=1,bh=2,rn=ni(Jta);function Dj(i,s){return(i&s)!==0}function Ps(i){return i&$m1}function xj(i,s){return i&$m1|s}function eaa(i,s){return i|s}function mi(i,s){Ja(rn,s,i)}function ks(i){Xa(rn,i)}function taa(i,s){var v=i.memoizedState;return v!==null?v.dehydrated!==null:(i.memoizedProps,!0)}function Vb(i){for(var s=i;s!==null;){if(s.tag===I){var v=s.memoizedState;if(v!==null){var Z=v.dehydrated;if(Z===null||Bs1(Z)||lj(Z))return s}}else if(s.tag===a0&&s.memoizedProps.revealOrder!==void 0){var V=(s.flags&ke)!==ve;if(V)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)return null;for(;s.sibling===null;){if(s.return===null||s.return===i)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var l4=0,Dt=1,ml=2,xt=4,Oa=8,Rj=[];function zj(){for(var i=0;i<Rj.length;i++){var s=Rj[i];s._workInProgressVersionPrimary=null}Rj.length=0}function aaa(i,s){var v=s._getVersion,Z=v(s._source);i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[s,Z]:i.mutableSourceEagerHydrationData.push(s,Z)}var z1=n.ReactCurrentDispatcher,Hh=n.ReactCurrentBatchConfig,Uj,_s;Uj=new Set;var P7=i1,B2=null,Rt=null,zt=null,Ob=!1,Eh=!1,Mh=0,raa=0,naa=25,r1=null,ur=null,ui=-1,Bj=!1;function P2(){{var i=r1;ur===null?ur=[i]:ur.push(i)}}function j1(){{var i=r1;ur!==null&&(ui++,ur[ui]!==i&&laa(i))}}function Cs(i){i!=null&&!A2(i)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",r1,typeof i)}function laa(i){{var s=Ee(B2);if(!Uj.has(s)&&(Uj.add(s),ur!==null)){for(var v="",Z=30,V=0;V<=ui;V++){for(var L=ur[V],_=V===ui?i:L,D=V+1+". "+L;D.length<Z;)D+=" ";D+=_+`
162
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return Z}function ub(i,s){var v=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(v==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":v)+"). If you meant to render a collection of children, use an array instead.")}function db(i){{var s=Ee(i)||"Component";if(Oj[s])return;Oj[s]=!0,m("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 pm1(i){var s=i._payload,v=i._init;return v(s)}function hm1(i){function s(_0,X0){if(i){var C0=_0.deletions;C0===null?(_0.deletions=[X0],_0.flags|=M2):C0.push(X0)}}function v(_0,X0){if(!i)return null;for(var C0=X0;C0!==null;)s(_0,C0),C0=C0.sibling;return null}function Z(_0,X0){for(var C0=new Map,g1=X0;g1!==null;)g1.key!==null?C0.set(g1.key,g1):C0.set(g1.index,g1),g1=g1.sibling;return C0}function V(_0,X0){var C0=D7(_0,X0);return C0.index=0,C0.sibling=null,C0}function L(_0,X0,C0){if(_0.index=C0,!i)return _0.flags|=ly,X0;var g1=_0.alternate;if(g1!==null){var q1=g1.index;return q1<X0?(_0.flags|=Q2,X0):q1}else return _0.flags|=Q2,X0}function _(_0){return i&&_0.alternate===null&&(_0.flags|=Q2),_0}function D(_0,X0,C0,g1){if(X0===null||X0.tag!==O){var q1=bk(C0,_0.mode,g1);return q1.return=_0,q1}else{var D1=V(X0,C0);return D1.return=_0,D1}}function x(_0,X0,C0,g1){var q1=C0.type;if(q1===Y1)return J(_0,X0,C0.props.children,g1,C0.key);if(X0!==null&&(X0.elementType===q1||Zd1(X0,C0)||typeof q1=="object"&&q1!==null&&q1.$$typeof===y1&&pm1(q1)===X0.type)){var D1=V(X0,C0.props);return D1.ref=Ah(_0,X0,C0),D1.return=_0,D1._debugSource=C0._source,D1._debugOwner=C0._owner,D1}var Oe=yk(C0,_0.mode,g1);return Oe.ref=Ah(_0,X0,C0),Oe.return=_0,Oe}function W(_0,X0,C0,g1){if(X0===null||X0.tag!==E||X0.stateNode.containerInfo!==C0.containerInfo||X0.stateNode.implementation!==C0.implementation){var q1=Hk(C0,_0.mode,g1);return q1.return=_0,q1}else{var D1=V(X0,C0.children||[]);return D1.return=_0,D1}}function J(_0,X0,C0,g1,q1){if(X0===null||X0.tag!==S){var D1=Ai(C0,_0.mode,g1,q1);return D1.return=_0,D1}else{var Oe=V(X0,C0);return Oe.return=_0,Oe}}function M0(_0,X0,C0){if(typeof X0=="string"&&X0!==""||typeof X0=="number"){var g1=bk(""+X0,_0.mode,C0);return g1.return=_0,g1}if(typeof X0=="object"&&X0!==null){switch(X0.$$typeof){case O1:{var q1=yk(X0,_0.mode,C0);return q1.ref=Ah(_0,null,X0),q1.return=_0,q1}case V1:{var D1=Hk(X0,_0.mode,C0);return D1.return=_0,D1}case y1:{var Oe=X0._payload,Ne=X0._init;return M0(_0,Ne(Oe),C0)}}if(A2(X0)||We(X0)){var q2=Ai(X0,_0.mode,C0,null);return q2.return=_0,q2}ub(_0,X0)}return typeof X0=="function"&&db(_0),null}function b0(_0,X0,C0,g1){var q1=X0!==null?X0.key:null;if(typeof C0=="string"&&C0!==""||typeof C0=="number")return q1!==null?null:D(_0,X0,""+C0,g1);if(typeof C0=="object"&&C0!==null){switch(C0.$$typeof){case O1:return C0.key===q1?x(_0,X0,C0,g1):null;case V1:return C0.key===q1?W(_0,X0,C0,g1):null;case y1:{var D1=C0._payload,Oe=C0._init;return b0(_0,X0,Oe(D1),g1)}}if(A2(C0)||We(C0))return q1!==null?null:J(_0,X0,C0,g1,null);ub(_0,C0)}return typeof C0=="function"&&db(_0),null}function U0(_0,X0,C0,g1,q1){if(typeof g1=="string"&&g1!==""||typeof g1=="number"){var D1=_0.get(C0)||null;return D(X0,D1,""+g1,q1)}if(typeof g1=="object"&&g1!==null){switch(g1.$$typeof){case O1:{var Oe=_0.get(g1.key===null?C0:g1.key)||null;return x(X0,Oe,g1,q1)}case V1:{var Ne=_0.get(g1.key===null?C0:g1.key)||null;return W(X0,Ne,g1,q1)}case y1:var q2=g1._payload,V2=g1._init;return U0(_0,X0,C0,V2(q2),q1)}if(A2(g1)||We(g1)){var dt=_0.get(C0)||null;return J(X0,dt,g1,q1,null)}ub(X0,g1)}return typeof g1=="function"&&db(X0),null}function q0(_0,X0,C0){{if(typeof _0!="object"||_0===null)return X0;switch(_0.$$typeof){case O1:case V1:dm1(_0,C0);var g1=_0.key;if(typeof g1!="string")break;if(X0===null){X0=new Set,X0.add(g1);break}if(!X0.has(g1)){X0.add(g1);break}m("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.",g1);break;case y1:var q1=_0._payload,D1=_0._init;q0(D1(q1),X0,C0);break}}return X0}function K0(_0,X0,C0,g1){for(var q1=null,D1=0;D1<C0.length;D1++){var Oe=C0[D1];q1=q0(Oe,q1,_0)}for(var Ne=null,q2=null,V2=X0,dt=0,O2=0,tt=null;V2!==null&&O2<C0.length;O2++){V2.index>O2?(tt=V2,V2=null):tt=V2.sibling;var t6=b0(_0,V2,C0[O2],g1);if(t6===null){V2===null&&(V2=tt);break}i&&V2&&t6.alternate===null&&s(_0,V2),dt=L(t6,dt,O2),q2===null?Ne=t6:q2.sibling=t6,q2=t6,V2=tt}if(O2===C0.length){if(v(_0,V2),Va()){var ja=O2;$7(_0,ja)}return Ne}if(V2===null){for(;O2<C0.length;O2++){var P4=M0(_0,C0[O2],g1);P4!==null&&(dt=L(P4,dt,O2),q2===null?Ne=P4:q2.sibling=P4,q2=P4)}if(Va()){var F6=O2;$7(_0,F6)}return Ne}for(var j6=Z(_0,V2);O2<C0.length;O2++){var a6=U0(j6,_0,O2,C0[O2],g1);a6!==null&&(i&&a6.alternate!==null&&j6.delete(a6.key===null?O2:a6.key),dt=L(a6,dt,O2),q2===null?Ne=a6:q2.sibling=a6,q2=a6)}if(i&&j6.forEach(function(Ws){return s(_0,Ws)}),Va()){var w3=O2;$7(_0,w3)}return Ne}function N1(_0,X0,C0,g1){var q1=We(C0);if(typeof q1!="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"&&C0[Symbol.toStringTag]==="Generator"&&(Ej||m("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."),Ej=!0),C0.entries===q1&&(Hj||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Hj=!0);var D1=q1.call(C0);if(D1)for(var Oe=null,Ne=D1.next();!Ne.done;Ne=D1.next()){var q2=Ne.value;Oe=q0(q2,Oe,_0)}}var V2=q1.call(C0);if(V2==null)throw new Error("An iterable object provided no iterator.");for(var dt=null,O2=null,tt=X0,t6=0,ja=0,P4=null,F6=V2.next();tt!==null&&!F6.done;ja++,F6=V2.next()){tt.index>ja?(P4=tt,tt=null):P4=tt.sibling;var j6=b0(_0,tt,F6.value,g1);if(j6===null){tt===null&&(tt=P4);break}i&&tt&&j6.alternate===null&&s(_0,tt),t6=L(j6,t6,ja),O2===null?dt=j6:O2.sibling=j6,O2=j6,tt=P4}if(F6.done){if(v(_0,tt),Va()){var a6=ja;$7(_0,a6)}return dt}if(tt===null){for(;!F6.done;ja++,F6=V2.next()){var w3=M0(_0,F6.value,g1);w3!==null&&(t6=L(w3,t6,ja),O2===null?dt=w3:O2.sibling=w3,O2=w3)}if(Va()){var Ws=ja;$7(_0,Ws)}return dt}for(var Qh=Z(_0,tt);!F6.done;ja++,F6=V2.next()){var gl=U0(Qh,_0,ja,F6.value,g1);gl!==null&&(i&&gl.alternate!==null&&Qh.delete(gl.key===null?ja:gl.key),t6=L(gl,t6,ja),O2===null?dt=gl:O2.sibling=gl,O2=gl)}if(i&&Qh.forEach(function(hra){return s(_0,hra)}),Va()){var pra=ja;$7(_0,pra)}return dt}function ge(_0,X0,C0,g1){if(X0!==null&&X0.tag===O){v(_0,X0.sibling);var q1=V(X0,C0);return q1.return=_0,q1}v(_0,X0);var D1=bk(C0,_0.mode,g1);return D1.return=_0,D1}function ue(_0,X0,C0,g1){for(var q1=C0.key,D1=X0;D1!==null;){if(D1.key===q1){var Oe=C0.type;if(Oe===Y1){if(D1.tag===S){v(_0,D1.sibling);var Ne=V(D1,C0.props.children);return Ne.return=_0,Ne._debugSource=C0._source,Ne._debugOwner=C0._owner,Ne}}else if(D1.elementType===Oe||Zd1(D1,C0)||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===y1&&pm1(Oe)===D1.type){v(_0,D1.sibling);var q2=V(D1,C0.props);return q2.ref=Ah(_0,D1,C0),q2.return=_0,q2._debugSource=C0._source,q2._debugOwner=C0._owner,q2}v(_0,D1);break}else s(_0,D1);D1=D1.sibling}if(C0.type===Y1){var V2=Ai(C0.props.children,_0.mode,g1,C0.key);return V2.return=_0,V2}else{var dt=yk(C0,_0.mode,g1);return dt.ref=Ah(_0,X0,C0),dt.return=_0,dt}}function d2(_0,X0,C0,g1){for(var q1=C0.key,D1=X0;D1!==null;){if(D1.key===q1)if(D1.tag===E&&D1.stateNode.containerInfo===C0.containerInfo&&D1.stateNode.implementation===C0.implementation){v(_0,D1.sibling);var Oe=V(D1,C0.children||[]);return Oe.return=_0,Oe}else{v(_0,D1);break}else s(_0,D1);D1=D1.sibling}var Ne=Hk(C0,_0.mode,g1);return Ne.return=_0,Ne}function n2(_0,X0,C0,g1){var q1=typeof C0=="object"&&C0!==null&&C0.type===Y1&&C0.key===null;if(q1&&(C0=C0.props.children),typeof C0=="object"&&C0!==null){switch(C0.$$typeof){case O1:return _(ue(_0,X0,C0,g1));case V1:return _(d2(_0,X0,C0,g1));case y1:var D1=C0._payload,Oe=C0._init;return n2(_0,X0,Oe(D1),g1)}if(A2(C0))return K0(_0,X0,C0,g1);if(We(C0))return N1(_0,X0,C0,g1);ub(_0,C0)}return typeof C0=="string"&&C0!==""||typeof C0=="number"?_(ge(_0,X0,""+C0,g1)):(typeof C0=="function"&&db(_0),v(_0,X0))}return n2}var Ss=hm1(!0),fm1=hm1(!1);function zta(i,s){if(i!==null&&s.child!==i.child)throw new Error("Resuming work not yet implemented.");if(s.child!==null){var v=s.child,Z=D7(v,v.pendingProps);for(s.child=Z,Z.return=s;v.sibling!==null;)v=v.sibling,Z=Z.sibling=D7(v,v.pendingProps),Z.return=s;Z.sibling=null}}function Uta(i,s){for(var v=i.child;v!==null;)F4a(v,s),v=v.sibling}var $j=ni(null),wj;wj={};var pb=null,Ls=null,Sj=null,hb=!1;function fb(){pb=null,Ls=null,Sj=null,hb=!1}function vm1(){hb=!0}function gm1(){hb=!1}function Am1(i,s,v){Ja($j,s._currentValue,i),s._currentValue=v,s._currentRenderer!==void 0&&s._currentRenderer!==null&&s._currentRenderer!==wj&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer=wj}function Lj(i,s){var v=$j.current;Xa($j,s),i._currentValue=v}function Fj(i,s,v){for(var Z=i;Z!==null;){var V=Z.alternate;if(tl(Z.childLanes,s)?V!==null&&!tl(V.childLanes,s)&&(V.childLanes=xe(V.childLanes,s)):(Z.childLanes=xe(Z.childLanes,s),V!==null&&(V.childLanes=xe(V.childLanes,s))),Z===v)break;Z=Z.return}Z!==v&&m("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 Bta(i,s,v){qta(i,s,v)}function qta(i,s,v){var Z=i.child;for(Z!==null&&(Z.return=i);Z!==null;){var V=void 0,L=Z.dependencies;if(L!==null){V=Z.child;for(var _=L.firstContext;_!==null;){if(_.context===s){if(Z.tag===g){var D=Bo(v),x=H3(r8,D);x.tag=gb;var W=Z.updateQueue;if(W!==null){var J=W.shared,M0=J.pending;M0===null?x.next=x:(x.next=M0.next,M0.next=x),J.pending=x}}Z.lanes=xe(Z.lanes,v);var b0=Z.alternate;b0!==null&&(b0.lanes=xe(b0.lanes,v)),Fj(Z.return,v,i),L.lanes=xe(L.lanes,v);break}_=_.next}}else if(Z.tag===k)V=Z.type===i.type?null:Z.child;else if(Z.tag===o0){var U0=Z.return;if(U0===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");U0.lanes=xe(U0.lanes,v);var q0=U0.alternate;q0!==null&&(q0.lanes=xe(q0.lanes,v)),Fj(U0,v,i),V=Z.sibling}else V=Z.child;if(V!==null)V.return=Z;else for(V=Z;V!==null;){if(V===i){V=null;break}var K0=V.sibling;if(K0!==null){K0.return=V.return,V=K0;break}V=V.return}Z=V}}function Fs(i,s){pb=i,Ls=null,Sj=null;var v=i.dependencies;if(v!==null){var Z=v.firstContext;Z!==null&&(Ka(v.lanes,s)&&Ph(),v.firstContext=null)}}function Et(i){hb&&m("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 s=i._currentValue;if(Sj!==i){var v={context:i,memoizedValue:s,next:null};if(Ls===null){if(pb===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().");Ls=v,pb.dependencies={lanes:i1,firstContext:v}}else Ls=Ls.next=v}return s}var j7=null;function jj(i){j7===null?j7=[i]:j7.push(i)}function Wta(){if(j7!==null){for(var i=0;i<j7.length;i++){var s=j7[i],v=s.interleaved;if(v!==null){s.interleaved=null;var Z=v.next,V=s.pending;if(V!==null){var L=V.next;V.next=Z,v.next=L}s.pending=v}}j7=null}}function Zm1(i,s,v,Z){var V=s.interleaved;return V===null?(v.next=v,jj(s)):(v.next=V.next,V.next=v),s.interleaved=v,vb(i,Z)}function Gta(i,s,v,Z){var V=s.interleaved;V===null?(v.next=v,jj(s)):(v.next=V.next,V.next=v),s.interleaved=v}function Yta(i,s,v,Z){var V=s.interleaved;return V===null?(v.next=v,jj(s)):(v.next=V.next,V.next=v),s.interleaved=v,vb(i,Z)}function n4(i,s){return vb(i,s)}var Qta=vb;function vb(i,s){i.lanes=xe(i.lanes,s);var v=i.alternate;v!==null&&(v.lanes=xe(v.lanes,s)),v===null&&(i.flags&(Q2|X4))!==ve&&fd1(i);for(var Z=i,V=i.return;V!==null;)V.childLanes=xe(V.childLanes,s),v=V.alternate,v!==null?v.childLanes=xe(v.childLanes,s):(V.flags&(Q2|X4))!==ve&&fd1(i),Z=V,V=V.return;if(Z.tag===y){var L=Z.stateNode;return L}else return null}var ym1=0,bm1=1,gb=2,Pj=3,Ab=!1,kj,Zb;kj=!1,Zb=null;function _j(i){var s={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:i1},effects:null};i.updateQueue=s}function Hm1(i,s){var v=s.updateQueue,Z=i.updateQueue;if(v===Z){var V={baseState:Z.baseState,firstBaseUpdate:Z.firstBaseUpdate,lastBaseUpdate:Z.lastBaseUpdate,shared:Z.shared,effects:Z.effects};s.updateQueue=V}}function H3(i,s){var v={eventTime:i,lane:s,tag:ym1,payload:null,callback:null,next:null};return v}function ci(i,s,v){var Z=i.updateQueue;if(Z===null)return null;var V=Z.shared;if(Zb===V&&!kj&&(m("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."),kj=!0),G6a()){var L=V.pending;return L===null?s.next=s:(s.next=L.next,L.next=s),V.pending=s,Qta(i,v)}else return Yta(i,V,s,v)}function yb(i,s,v){var Z=s.updateQueue;if(Z!==null){var V=Z.shared;if(Ay(v)){var L=V.lanes;L=Sp(L,i.pendingLanes);var _=xe(L,v);V.lanes=_,ls(i,_)}}}function Cj(i,s){var v=i.updateQueue,Z=i.alternate;if(Z!==null){var V=Z.updateQueue;if(v===V){var L=null,_=null,D=v.firstBaseUpdate;if(D!==null){var x=D;do{var W={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};_===null?L=_=W:(_.next=W,_=W),x=x.next}while(x!==null);_===null?L=_=s:(_.next=s,_=s)}else L=_=s;v={baseState:V.baseState,firstBaseUpdate:L,lastBaseUpdate:_,shared:V.shared,effects:V.effects},i.updateQueue=v;return}}var J=v.lastBaseUpdate;J===null?v.firstBaseUpdate=s:J.next=s,v.lastBaseUpdate=s}function Kta(i,s,v,Z,V,L){switch(v.tag){case bm1:{var _=v.payload;if(typeof _=="function"){vm1();var D=_.call(L,Z,V);{if(i.mode&u8){mt(!0);try{_.call(L,Z,V)}finally{mt(!1)}}gm1()}return D}return _}case Pj:i.flags=i.flags&~Nt|ke;case ym1:{var x=v.payload,W;if(typeof x=="function"){vm1(),W=x.call(L,Z,V);{if(i.mode&u8){mt(!0);try{x.call(L,Z,V)}finally{mt(!1)}}gm1()}}else W=x;return W==null?Z:ce({},Z,W)}case gb:return Ab=!0,Z}return Z}function bb(i,s,v,Z){var V=i.updateQueue;Ab=!1,Zb=V.shared;var L=V.firstBaseUpdate,_=V.lastBaseUpdate,D=V.shared.pending;if(D!==null){V.shared.pending=null;var x=D,W=x.next;x.next=null,_===null?L=W:_.next=W,_=x;var J=i.alternate;if(J!==null){var M0=J.updateQueue,b0=M0.lastBaseUpdate;b0!==_&&(b0===null?M0.firstBaseUpdate=W:b0.next=W,M0.lastBaseUpdate=x)}}if(L!==null){var U0=V.baseState,q0=i1,K0=null,N1=null,ge=null,ue=L;do{var d2=ue.lane,n2=ue.eventTime;if(tl(Z,d2)){if(ge!==null){var X0={eventTime:n2,lane:K2,tag:ue.tag,payload:ue.payload,callback:ue.callback,next:null};ge=ge.next=X0}U0=Kta(i,V,ue,U0,s,v);var C0=ue.callback;if(C0!==null&&ue.lane!==K2){i.flags|=Zt;var g1=V.effects;g1===null?V.effects=[ue]:g1.push(ue)}}else{var _0={eventTime:n2,lane:d2,tag:ue.tag,payload:ue.payload,callback:ue.callback,next:null};ge===null?(N1=ge=_0,K0=U0):ge=ge.next=_0,q0=xe(q0,d2)}if(ue=ue.next,ue===null){if(D=V.shared.pending,D===null)break;var q1=D,D1=q1.next;q1.next=null,ue=D1,V.lastBaseUpdate=q1,V.shared.pending=null}}while(!0);ge===null&&(K0=U0),V.baseState=K0,V.firstBaseUpdate=N1,V.lastBaseUpdate=ge;var Oe=V.shared.interleaved;if(Oe!==null){var Ne=Oe;do q0=xe(q0,Ne.lane),Ne=Ne.next;while(Ne!==Oe)}else L===null&&(V.shared.lanes=i1);Bh(q0),i.lanes=q0,i.memoizedState=U0}Zb=null}function Xta(i,s){if(typeof i!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+i));i.call(s)}function Em1(){Ab=!1}function Hb(){return Ab}function Mm1(i,s,v){var Z=s.effects;if(s.effects=null,Z!==null)for(var V=0;V<Z.length;V++){var L=Z[V],_=L.callback;_!==null&&(L.callback=null,Xta(_,v))}}var Zh={},si=ni(Zh),yh=ni(Zh),Eb=ni(Zh);function Mb(i){if(i===Zh)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return i}function Vm1(){var i=Mb(Eb.current);return i}function Nj(i,s){Ja(Eb,s,i),Ja(yh,i,i),Ja(si,Zh,i);var v=f8a(s);Xa(si,i),Ja(si,v,i)}function js(i){Xa(si,i),Xa(yh,i),Xa(Eb,i)}function Tj(){var i=Mb(si.current);return i}function Om1(i){Mb(Eb.current);var s=Mb(si.current),v=v8a(s,i.type);s!==v&&(Ja(yh,i,i),Ja(si,v,i))}function Ij(i){yh.current===i&&(Xa(si,i),Xa(yh,i))}var Jta=0,$m1=1,wm1=1,bh=2,rn=ni(Jta);function Dj(i,s){return(i&s)!==0}function Ps(i){return i&$m1}function xj(i,s){return i&$m1|s}function eaa(i,s){return i|s}function mi(i,s){Ja(rn,s,i)}function ks(i){Xa(rn,i)}function taa(i,s){var v=i.memoizedState;return v!==null?v.dehydrated!==null:(i.memoizedProps,!0)}function Vb(i){for(var s=i;s!==null;){if(s.tag===I){var v=s.memoizedState;if(v!==null){var Z=v.dehydrated;if(Z===null||Bs1(Z)||lj(Z))return s}}else if(s.tag===a0&&s.memoizedProps.revealOrder!==void 0){var V=(s.flags&ke)!==ve;if(V)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)return null;for(;s.sibling===null;){if(s.return===null||s.return===i)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var l4=0,Dt=1,ml=2,xt=4,Oa=8,Rj=[];function zj(){for(var i=0;i<Rj.length;i++){var s=Rj[i];s._workInProgressVersionPrimary=null}Rj.length=0}function aaa(i,s){var v=s._getVersion,Z=v(s._source);i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[s,Z]:i.mutableSourceEagerHydrationData.push(s,Z)}var z1=n.ReactCurrentDispatcher,Hh=n.ReactCurrentBatchConfig,Uj,_s;Uj=new Set;var P7=i1,B2=null,Rt=null,zt=null,Ob=!1,Eh=!1,Mh=0,raa=0,naa=25,r1=null,ur=null,ui=-1,Bj=!1;function P2(){{var i=r1;ur===null?ur=[i]:ur.push(i)}}function j1(){{var i=r1;ur!==null&&(ui++,ur[ui]!==i&&laa(i))}}function Cs(i){i!=null&&!A2(i)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",r1,typeof i)}function laa(i){{var s=Ee(B2);if(!Uj.has(s)&&(Uj.add(s),ur!==null)){for(var v="",Z=30,V=0;V<=ui;V++){for(var L=ur[V],_=V===ui?i:L,D=V+1+". "+L;D.length<Z;)D+=" ";D+=_+`
163
163
  `,v+=D}m(`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
164
164
 
165
165
  Previous render Next render
@@ -172,11 +172,11 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
172
172
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function qj(i,s){if(Bj)return!1;if(s===null)return m("%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.",r1),!1;i.length!==s.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
173
173
 
174
174
  Previous: %s
175
- Incoming: %s`,r1,"["+s.join(", ")+"]","["+i.join(", ")+"]");for(var v=0;v<s.length&&v<i.length;v++)if(!me(i[v],s[v]))return!1;return!0}function Ns(i,s,v,Z,V,L){P7=L,B2=s,ur=i!==null?i._debugHookTypes:null,ui=-1,Bj=i!==null&&i.type!==s.type,s.memoizedState=null,s.updateQueue=null,s.lanes=i1,i!==null&&i.memoizedState!==null?z1.current=Qm1:ur!==null?z1.current=Ym1:z1.current=Gm1;var _=v(Z,V);if(Eh){var D=0;do{if(Eh=!1,Mh=0,D>=naa)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");D+=1,Bj=!1,Rt=null,zt=null,s.updateQueue=null,ui=-1,z1.current=Km1,_=v(Z,V)}while(Eh)}z1.current=Ib,s._debugHookTypes=ur;var x=Rt!==null&&Rt.next!==null;if(P7=i1,B2=null,Rt=null,zt=null,r1=null,ur=null,ui=-1,i!==null&&(i.flags&Tt)!==(s.flags&Tt)&&(i.mode&fe)!==_1&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Ob=!1,x)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return _}function Ts(){var i=Mh!==0;return Mh=0,i}function Sm1(i,s,v){s.updateQueue=i.updateQueue,(s.mode&Ya)!==_1?s.flags&=~(Jl|X6|Ba|le):s.flags&=~(Ba|le),i.lanes=qo(i.lanes,v)}function Lm1(){if(z1.current=Ib,Ob){for(var i=B2.memoizedState;i!==null;){var s=i.queue;s!==null&&(s.pending=null),i=i.next}Ob=!1}P7=i1,B2=null,Rt=null,zt=null,ur=null,ui=-1,r1=null,zm1=!1,Eh=!1,Mh=0}function ul(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?B2.memoizedState=zt=i:zt=zt.next=i,zt}function dr(){var i;if(Rt===null){var s=B2.alternate;s!==null?i=s.memoizedState:i=null}else i=Rt.next;var v;if(zt===null?v=B2.memoizedState:v=zt.next,v!==null)zt=v,v=zt.next,Rt=i;else{if(i===null)throw new Error("Rendered more hooks than during the previous render.");Rt=i;var Z={memoizedState:Rt.memoizedState,baseState:Rt.baseState,baseQueue:Rt.baseQueue,queue:Rt.queue,next:null};zt===null?B2.memoizedState=zt=Z:zt=zt.next=Z}return zt}function Fm1(){return{lastEffect:null,stores:null}}function Wj(i,s){return typeof s=="function"?s(i):s}function Gj(i,s,v){var Z=ul(),V;v!==void 0?V=v(s):V=s,Z.memoizedState=Z.baseState=V;var L={pending:null,interleaved:null,lanes:i1,dispatch:null,lastRenderedReducer:i,lastRenderedState:V};Z.queue=L;var _=L.dispatch=saa.bind(null,B2,L);return[Z.memoizedState,_]}function Yj(i,s,v){var Z=dr(),V=Z.queue;if(V===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");V.lastRenderedReducer=i;var L=Rt,_=L.baseQueue,D=V.pending;if(D!==null){if(_!==null){var x=_.next,W=D.next;_.next=W,D.next=x}L.baseQueue!==_&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),L.baseQueue=_=D,V.pending=null}if(_!==null){var J=_.next,M0=L.baseState,b0=null,U0=null,q0=null,K0=J;do{var N1=K0.lane;if(tl(P7,N1)){if(q0!==null){var ue={lane:K2,action:K0.action,hasEagerState:K0.hasEagerState,eagerState:K0.eagerState,next:null};q0=q0.next=ue}if(K0.hasEagerState)M0=K0.eagerState;else{var d2=K0.action;M0=i(M0,d2)}}else{var ge={lane:N1,action:K0.action,hasEagerState:K0.hasEagerState,eagerState:K0.eagerState,next:null};q0===null?(U0=q0=ge,b0=M0):q0=q0.next=ge,B2.lanes=xe(B2.lanes,N1),Bh(N1)}K0=K0.next}while(K0!==null&&K0!==J);q0===null?b0=M0:q0.next=U0,me(M0,Z.memoizedState)||Ph(),Z.memoizedState=M0,Z.baseState=b0,Z.baseQueue=q0,V.lastRenderedState=M0}var n2=V.interleaved;if(n2!==null){var _0=n2;do{var X0=_0.lane;B2.lanes=xe(B2.lanes,X0),Bh(X0),_0=_0.next}while(_0!==n2)}else _===null&&(V.lanes=i1);var C0=V.dispatch;return[Z.memoizedState,C0]}function Qj(i,s,v){var Z=dr(),V=Z.queue;if(V===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");V.lastRenderedReducer=i;var L=V.dispatch,_=V.pending,D=Z.memoizedState;if(_!==null){V.pending=null;var x=_.next,W=x;do{var J=W.action;D=i(D,J),W=W.next}while(W!==x);me(D,Z.memoizedState)||Ph(),Z.memoizedState=D,Z.baseQueue===null&&(Z.baseState=D),V.lastRenderedState=D}return[D,L]}function s3a(i,s,v){}function m3a(i,s,v){}function Kj(i,s,v){var Z=B2,V=ul(),L,_=Va();if(_){if(v===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");L=v(),_s||L!==v()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),_s=!0)}else{if(L=s(),!_s){var D=s();me(L,D)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),_s=!0)}var x=nH();if(x===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");r7(x,P7)||jm1(Z,s,L)}V.memoizedState=L;var W={value:L,getSnapshot:s};return V.queue=W,Fb(km1.bind(null,Z,W,i),[i]),Z.flags|=Ba,Vh(Dt|Oa,Pm1.bind(null,Z,W,L,s),void 0,null),L}function $b(i,s,v){var Z=B2,V=dr(),L=s();if(!_s){var _=s();me(L,_)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),_s=!0)}var D=V.memoizedState,x=!me(D,L);x&&(V.memoizedState=L,Ph());var W=V.queue;if($h(km1.bind(null,Z,W,i),[i]),W.getSnapshot!==s||x||zt!==null&&zt.memoizedState.tag&Dt){Z.flags|=Ba,Vh(Dt|Oa,Pm1.bind(null,Z,W,L,s),void 0,null);var J=nH();if(J===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");r7(J,P7)||jm1(Z,s,L)}return L}function jm1(i,s,v){i.flags|=Xl;var Z={getSnapshot:s,value:v},V=B2.updateQueue;if(V===null)V=Fm1(),B2.updateQueue=V,V.stores=[Z];else{var L=V.stores;L===null?V.stores=[Z]:L.push(Z)}}function Pm1(i,s,v,Z){s.value=v,s.getSnapshot=Z,_m1(s)&&Cm1(i)}function km1(i,s,v){var Z=function(){_m1(s)&&Cm1(i)};return v(Z)}function _m1(i){var s=i.getSnapshot,v=i.value;try{var Z=s();return!me(v,Z)}catch{return!0}}function Cm1(i){var s=n4(i,se);s!==null&&Wt(s,i,se,r8)}function wb(i){var s=ul();typeof i=="function"&&(i=i()),s.memoizedState=s.baseState=i;var v={pending:null,interleaved:null,lanes:i1,dispatch:null,lastRenderedReducer:Wj,lastRenderedState:i};s.queue=v;var Z=v.dispatch=maa.bind(null,B2,v);return[s.memoizedState,Z]}function Xj(i){return Yj(Wj)}function Jj(i){return Qj(Wj)}function Vh(i,s,v,Z){var V={tag:i,create:s,destroy:v,deps:Z,next:null},L=B2.updateQueue;if(L===null)L=Fm1(),B2.updateQueue=L,L.lastEffect=V.next=V;else{var _=L.lastEffect;if(_===null)L.lastEffect=V.next=V;else{var D=_.next;_.next=V,V.next=D,L.lastEffect=V}}return V}function eP(i){var s=ul();{var v={current:i};return s.memoizedState=v,v}}function Sb(i){var s=dr();return s.memoizedState}function Oh(i,s,v,Z){var V=ul(),L=Z===void 0?null:Z;B2.flags|=i,V.memoizedState=Vh(Dt|s,v,void 0,L)}function Lb(i,s,v,Z){var V=dr(),L=Z===void 0?null:Z,_=void 0;if(Rt!==null){var D=Rt.memoizedState;if(_=D.destroy,L!==null){var x=D.deps;if(qj(L,x)){V.memoizedState=Vh(s,v,_,L);return}}}B2.flags|=i,V.memoizedState=Vh(Dt|s,v,_,L)}function Fb(i,s){return(B2.mode&Ya)!==_1?Oh(Jl|Ba|qn,Oa,i,s):Oh(Ba|qn,Oa,i,s)}function $h(i,s){return Lb(Ba,Oa,i,s)}function tP(i,s){return Oh(le,ml,i,s)}function jb(i,s){return Lb(le,ml,i,s)}function aP(i,s){var v=le;return v|=K6,(B2.mode&Ya)!==_1&&(v|=X6),Oh(v,xt,i,s)}function Pb(i,s){return Lb(le,xt,i,s)}function Nm1(i,s){if(typeof s=="function"){var v=s,Z=i();return v(Z),function(){v(null)}}else if(s!=null){var V=s;V.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(V).join(", ")+"}");var L=i();return V.current=L,function(){V.current=null}}}function rP(i,s,v){typeof s!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",s!==null?typeof s:"null");var Z=v!=null?v.concat([i]):null,V=le;return V|=K6,(B2.mode&Ya)!==_1&&(V|=X6),Oh(V,xt,Nm1.bind(null,s,i),Z)}function kb(i,s,v){typeof s!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",s!==null?typeof s:"null");var Z=v!=null?v.concat([i]):null;return Lb(le,xt,Nm1.bind(null,s,i),Z)}function oaa(i,s){}var _b=oaa;function nP(i,s){var v=ul(),Z=s===void 0?null:s;return v.memoizedState=[i,Z],i}function Cb(i,s){var v=dr(),Z=s===void 0?null:s,V=v.memoizedState;if(V!==null&&Z!==null){var L=V[1];if(qj(Z,L))return V[0]}return v.memoizedState=[i,Z],i}function lP(i,s){var v=ul(),Z=s===void 0?null:s,V=i();return v.memoizedState=[V,Z],V}function Nb(i,s){var v=dr(),Z=s===void 0?null:s,V=v.memoizedState;if(V!==null&&Z!==null){var L=V[1];if(qj(Z,L))return V[0]}var _=i();return v.memoizedState=[_,Z],_}function oP(i){var s=ul();return s.memoizedState=i,i}function Tm1(i){var s=dr(),v=Rt,Z=v.memoizedState;return Dm1(s,Z,i)}function Im1(i){var s=dr();if(Rt===null)return s.memoizedState=i,i;var v=Rt.memoizedState;return Dm1(s,v,i)}function Dm1(i,s,v){var Z=!fy(P7);if(Z){if(!me(v,s)){var V=Aa();B2.lanes=xe(B2.lanes,V),Bh(V),i.baseState=!0}return s}else return i.baseState&&(i.baseState=!1,Ph()),i.memoizedState=v,v}function iaa(i,s,v){var Z=ya();y2($F(Z,nr)),i(!0);var V=Hh.transition;Hh.transition={};var L=Hh.transition;Hh.transition._updatedFibers=new Set;try{i(!1),s()}finally{if(y2(Z),Hh.transition=V,V===null&&L._updatedFibers){var _=L._updatedFibers.size;_>10&&c("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."),L._updatedFibers.clear()}}}function iP(){var i=wb(!1),s=i[0],v=i[1],Z=iaa.bind(null,v),V=ul();return V.memoizedState=Z,[s,Z]}function xm1(){var i=Xj(),s=i[0],v=dr(),Z=v.memoizedState;return[s,Z]}function Rm1(){var i=Jj(),s=i[0],v=dr(),Z=v.memoizedState;return[s,Z]}var zm1=!1;function caa(){return zm1}function cP(){var i=ul(),s=nH(),v=s.identifierPrefix,Z;if(Va()){var V=Vta();Z=":"+v+"R"+V;var L=Mh++;L>0&&(Z+="H"+L.toString(32)),Z+=":"}else{var _=raa++;Z=":"+v+"r"+_.toString(32)+":"}return i.memoizedState=Z,Z}function Tb(){var i=dr(),s=i.memoizedState;return s}function saa(i,s,v){typeof arguments[3]=="function"&&m("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 Z=vi(i),V={lane:Z,action:v,hasEagerState:!1,eagerState:null,next:null};if(Um1(i))Bm1(s,V);else{var L=Zm1(i,s,V,Z);if(L!==null){var _=L6();Wt(L,i,Z,_),qm1(L,s,Z)}}Wm1(i,Z)}function maa(i,s,v){typeof arguments[3]=="function"&&m("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 Z=vi(i),V={lane:Z,action:v,hasEagerState:!1,eagerState:null,next:null};if(Um1(i))Bm1(s,V);else{var L=i.alternate;if(i.lanes===i1&&(L===null||L.lanes===i1)){var _=s.lastRenderedReducer;if(_!==null){var D;D=z1.current,z1.current=nn;try{var x=s.lastRenderedState,W=_(x,v);if(V.hasEagerState=!0,V.eagerState=W,me(W,x)){Gta(i,s,V,Z);return}}catch{}finally{z1.current=D}}}var J=Zm1(i,s,V,Z);if(J!==null){var M0=L6();Wt(J,i,Z,M0),qm1(J,s,Z)}}Wm1(i,Z)}function Um1(i){var s=i.alternate;return i===B2||s!==null&&s===B2}function Bm1(i,s){Eh=Ob=!0;var v=i.pending;v===null?s.next=s:(s.next=v.next,v.next=s),i.pending=s}function qm1(i,s,v){if(Ay(v)){var Z=s.lanes;Z=Sp(Z,i.pendingLanes);var V=xe(Z,v);s.lanes=V,ls(i,V)}}function Wm1(i,s,v){Gr(i,s)}var Ib={readContext:Et,useCallback:e6,useContext:e6,useEffect:e6,useImperativeHandle:e6,useInsertionEffect:e6,useLayoutEffect:e6,useMemo:e6,useReducer:e6,useRef:e6,useState:e6,useDebugValue:e6,useDeferredValue:e6,useTransition:e6,useMutableSource:e6,useSyncExternalStore:e6,useId:e6,unstable_isNewReconciler:L0},Gm1=null,Ym1=null,Qm1=null,Km1=null,dl=null,nn=null,Db=null;{var sP=function(){m("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().")},_e=function(){m("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")};Gm1={readContext:function(i){return Et(i)},useCallback:function(i,s){return r1="useCallback",P2(),Cs(s),nP(i,s)},useContext:function(i){return r1="useContext",P2(),Et(i)},useEffect:function(i,s){return r1="useEffect",P2(),Cs(s),Fb(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",P2(),Cs(v),rP(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",P2(),Cs(s),tP(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",P2(),Cs(s),aP(i,s)},useMemo:function(i,s){r1="useMemo",P2(),Cs(s);var v=z1.current;z1.current=dl;try{return lP(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",P2();var Z=z1.current;z1.current=dl;try{return Gj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",P2(),eP(i)},useState:function(i){r1="useState",P2();var s=z1.current;z1.current=dl;try{return wb(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",P2(),void 0},useDeferredValue:function(i){return r1="useDeferredValue",P2(),oP(i)},useTransition:function(){return r1="useTransition",P2(),iP()},useMutableSource:function(i,s,v){return r1="useMutableSource",P2(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",P2(),Kj(i,s,v)},useId:function(){return r1="useId",P2(),cP()},unstable_isNewReconciler:L0},Ym1={readContext:function(i){return Et(i)},useCallback:function(i,s){return r1="useCallback",j1(),nP(i,s)},useContext:function(i){return r1="useContext",j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",j1(),Fb(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",j1(),rP(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",j1(),tP(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",j1(),aP(i,s)},useMemo:function(i,s){r1="useMemo",j1();var v=z1.current;z1.current=dl;try{return lP(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",j1();var Z=z1.current;z1.current=dl;try{return Gj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",j1(),eP(i)},useState:function(i){r1="useState",j1();var s=z1.current;z1.current=dl;try{return wb(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",j1(),void 0},useDeferredValue:function(i){return r1="useDeferredValue",j1(),oP(i)},useTransition:function(){return r1="useTransition",j1(),iP()},useMutableSource:function(i,s,v){return r1="useMutableSource",j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",j1(),Kj(i,s,v)},useId:function(){return r1="useId",j1(),cP()},unstable_isNewReconciler:L0},Qm1={readContext:function(i){return Et(i)},useCallback:function(i,s){return r1="useCallback",j1(),Cb(i,s)},useContext:function(i){return r1="useContext",j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",j1(),$h(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",j1(),kb(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",j1(),jb(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",j1(),Pb(i,s)},useMemo:function(i,s){r1="useMemo",j1();var v=z1.current;z1.current=nn;try{return Nb(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",j1();var Z=z1.current;z1.current=nn;try{return Yj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",j1(),Sb()},useState:function(i){r1="useState",j1();var s=z1.current;z1.current=nn;try{return Xj(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",j1(),_b()},useDeferredValue:function(i){return r1="useDeferredValue",j1(),Tm1(i)},useTransition:function(){return r1="useTransition",j1(),xm1()},useMutableSource:function(i,s,v){return r1="useMutableSource",j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",j1(),$b(i,s)},useId:function(){return r1="useId",j1(),Tb()},unstable_isNewReconciler:L0},Km1={readContext:function(i){return Et(i)},useCallback:function(i,s){return r1="useCallback",j1(),Cb(i,s)},useContext:function(i){return r1="useContext",j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",j1(),$h(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",j1(),kb(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",j1(),jb(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",j1(),Pb(i,s)},useMemo:function(i,s){r1="useMemo",j1();var v=z1.current;z1.current=Db;try{return Nb(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",j1();var Z=z1.current;z1.current=Db;try{return Qj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",j1(),Sb()},useState:function(i){r1="useState",j1();var s=z1.current;z1.current=Db;try{return Jj(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",j1(),_b()},useDeferredValue:function(i){return r1="useDeferredValue",j1(),Im1(i)},useTransition:function(){return r1="useTransition",j1(),Rm1()},useMutableSource:function(i,s,v){return r1="useMutableSource",j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",j1(),$b(i,s)},useId:function(){return r1="useId",j1(),Tb()},unstable_isNewReconciler:L0},dl={readContext:function(i){return sP(),Et(i)},useCallback:function(i,s){return r1="useCallback",_e(),P2(),nP(i,s)},useContext:function(i){return r1="useContext",_e(),P2(),Et(i)},useEffect:function(i,s){return r1="useEffect",_e(),P2(),Fb(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",_e(),P2(),rP(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",_e(),P2(),tP(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",_e(),P2(),aP(i,s)},useMemo:function(i,s){r1="useMemo",_e(),P2();var v=z1.current;z1.current=dl;try{return lP(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",_e(),P2();var Z=z1.current;z1.current=dl;try{return Gj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",_e(),P2(),eP(i)},useState:function(i){r1="useState",_e(),P2();var s=z1.current;z1.current=dl;try{return wb(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",_e(),P2(),void 0},useDeferredValue:function(i){return r1="useDeferredValue",_e(),P2(),oP(i)},useTransition:function(){return r1="useTransition",_e(),P2(),iP()},useMutableSource:function(i,s,v){return r1="useMutableSource",_e(),P2(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",_e(),P2(),Kj(i,s,v)},useId:function(){return r1="useId",_e(),P2(),cP()},unstable_isNewReconciler:L0},nn={readContext:function(i){return sP(),Et(i)},useCallback:function(i,s){return r1="useCallback",_e(),j1(),Cb(i,s)},useContext:function(i){return r1="useContext",_e(),j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",_e(),j1(),$h(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",_e(),j1(),kb(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",_e(),j1(),jb(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",_e(),j1(),Pb(i,s)},useMemo:function(i,s){r1="useMemo",_e(),j1();var v=z1.current;z1.current=nn;try{return Nb(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",_e(),j1();var Z=z1.current;z1.current=nn;try{return Yj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",_e(),j1(),Sb()},useState:function(i){r1="useState",_e(),j1();var s=z1.current;z1.current=nn;try{return Xj(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",_e(),j1(),_b()},useDeferredValue:function(i){return r1="useDeferredValue",_e(),j1(),Tm1(i)},useTransition:function(){return r1="useTransition",_e(),j1(),xm1()},useMutableSource:function(i,s,v){return r1="useMutableSource",_e(),j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",_e(),j1(),$b(i,s)},useId:function(){return r1="useId",_e(),j1(),Tb()},unstable_isNewReconciler:L0},Db={readContext:function(i){return sP(),Et(i)},useCallback:function(i,s){return r1="useCallback",_e(),j1(),Cb(i,s)},useContext:function(i){return r1="useContext",_e(),j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",_e(),j1(),$h(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",_e(),j1(),kb(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",_e(),j1(),jb(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",_e(),j1(),Pb(i,s)},useMemo:function(i,s){r1="useMemo",_e(),j1();var v=z1.current;z1.current=nn;try{return Nb(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",_e(),j1();var Z=z1.current;z1.current=nn;try{return Qj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",_e(),j1(),Sb()},useState:function(i){r1="useState",_e(),j1();var s=z1.current;z1.current=nn;try{return Jj(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",_e(),j1(),_b()},useDeferredValue:function(i){return r1="useDeferredValue",_e(),j1(),Im1(i)},useTransition:function(){return r1="useTransition",_e(),j1(),Rm1()},useMutableSource:function(i,s,v){return r1="useMutableSource",_e(),j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",_e(),j1(),$b(i,s)},useId:function(){return r1="useId",_e(),j1(),Tb()},unstable_isNewReconciler:L0}}var di=r.unstable_now,Xm1=0,xb=-1,wh=-1,Rb=-1,mP=!1,zb=!1;function Jm1(){return mP}function uaa(){zb=!0}function daa(){mP=!1,zb=!1}function paa(){mP=zb,zb=!1}function eu1(){return Xm1}function tu1(){Xm1=di()}function uP(i){wh=di(),i.actualStartTime<0&&(i.actualStartTime=di())}function au1(i){wh=-1}function Ub(i,s){if(wh>=0){var v=di()-wh;i.actualDuration+=v,s&&(i.selfBaseDuration=v),wh=-1}}function pl(i){if(xb>=0){var s=di()-xb;xb=-1;for(var v=i.return;v!==null;){switch(v.tag){case y:var Z=v.stateNode;Z.effectDuration+=s;return;case C:var V=v.stateNode;V.effectDuration+=s;return}v=v.return}}}function dP(i){if(Rb>=0){var s=di()-Rb;Rb=-1;for(var v=i.return;v!==null;){switch(v.tag){case y:var Z=v.stateNode;Z!==null&&(Z.passiveEffectDuration+=s);return;case C:var V=v.stateNode;V!==null&&(V.passiveEffectDuration+=s);return}v=v.return}}}function hl(){xb=di()}function pP(){Rb=di()}function hP(i){for(var s=i.child;s;)i.actualDuration+=s.actualDuration,s=s.sibling}function ln(i,s){if(i&&i.defaultProps){var v=ce({},s),Z=i.defaultProps;for(var V in Z)v[V]===void 0&&(v[V]=Z[V]);return v}return s}var fP={},vP,gP,AP,ZP,yP,ru1,Bb,bP,HP,EP,Sh;{vP=new Set,gP=new Set,AP=new Set,ZP=new Set,bP=new Set,yP=new Set,HP=new Set,EP=new Set,Sh=new Set;var nu1=new Set;Bb=function(i,s){if(!(i===null||typeof i=="function")){var v=s+"_"+i;nu1.has(v)||(nu1.add(v),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s,i))}},ru1=function(i,s){if(s===void 0){var v=Xe(i)||"Component";yP.has(v)||(yP.add(v),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",v))}},Object.defineProperty(fP,"_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(fP)}function MP(i,s,v,Z){var V=i.memoizedState,L=v(Z,V);{if(i.mode&u8){st(!0);try{L=v(Z,V)}finally{st(!1)}}ru1(s,L)}var _=L==null?V:ce({},V,L);if(i.memoizedState=_,i.lanes===i1){var D=i.updateQueue;D.baseState=_}}var VP={isMounted:y6,enqueueSetState:function(i,s,v){var Z=K4(i),V=L6(),L=vi(Z),_=H3(V,L);_.payload=s,v!=null&&(Bb(v,"setState"),_.callback=v);var D=ci(Z,_,L);D!==null&&(Wt(D,Z,L,V),yb(D,Z,L)),Gr(Z,L)},enqueueReplaceState:function(i,s,v){var Z=K4(i),V=L6(),L=vi(Z),_=H3(V,L);_.tag=bm1,_.payload=s,v!=null&&(Bb(v,"replaceState"),_.callback=v);var D=ci(Z,_,L);D!==null&&(Wt(D,Z,L,V),yb(D,Z,L)),Gr(Z,L)},enqueueForceUpdate:function(i,s){var v=K4(i),Z=L6(),V=vi(v),L=H3(Z,V);L.tag=gb,s!=null&&(Bb(s,"forceUpdate"),L.callback=s);var _=ci(v,L,V);_!==null&&(Wt(_,v,V,Z),yb(_,v,V)),yp(v,V)}};function lu1(i,s,v,Z,V,L,_){var D=i.stateNode;if(typeof D.shouldComponentUpdate=="function"){var x=D.shouldComponentUpdate(Z,L,_);{if(i.mode&u8){st(!0);try{x=D.shouldComponentUpdate(Z,L,_)}finally{st(!1)}}x===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Xe(s)||"Component")}return x}return s.prototype&&s.prototype.isPureReactComponent?!P8(v,Z)||!P8(V,L):!0}function haa(i,s,v){var Z=i.stateNode;{var V=Xe(s)||"Component",L=Z.render;L||(s.prototype&&typeof s.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",V):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",V)),Z.getInitialState&&!Z.getInitialState.isReactClassApproved&&!Z.state&&m("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?",V),Z.getDefaultProps&&!Z.getDefaultProps.isReactClassApproved&&m("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.",V),Z.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",V),Z.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",V),s.childContextTypes&&!Sh.has(s)&&(i.mode&u8)===_1&&(Sh.add(s),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
175
+ Incoming: %s`,r1,"["+s.join(", ")+"]","["+i.join(", ")+"]");for(var v=0;v<s.length&&v<i.length;v++)if(!me(i[v],s[v]))return!1;return!0}function Ns(i,s,v,Z,V,L){P7=L,B2=s,ur=i!==null?i._debugHookTypes:null,ui=-1,Bj=i!==null&&i.type!==s.type,s.memoizedState=null,s.updateQueue=null,s.lanes=i1,i!==null&&i.memoizedState!==null?z1.current=Qm1:ur!==null?z1.current=Ym1:z1.current=Gm1;var _=v(Z,V);if(Eh){var D=0;do{if(Eh=!1,Mh=0,D>=naa)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");D+=1,Bj=!1,Rt=null,zt=null,s.updateQueue=null,ui=-1,z1.current=Km1,_=v(Z,V)}while(Eh)}z1.current=Ib,s._debugHookTypes=ur;var x=Rt!==null&&Rt.next!==null;if(P7=i1,B2=null,Rt=null,zt=null,r1=null,ur=null,ui=-1,i!==null&&(i.flags&Tt)!==(s.flags&Tt)&&(i.mode&fe)!==_1&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Ob=!1,x)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return _}function Ts(){var i=Mh!==0;return Mh=0,i}function Sm1(i,s,v){s.updateQueue=i.updateQueue,(s.mode&Ya)!==_1?s.flags&=~(Jl|X6|Ba|le):s.flags&=~(Ba|le),i.lanes=qo(i.lanes,v)}function Lm1(){if(z1.current=Ib,Ob){for(var i=B2.memoizedState;i!==null;){var s=i.queue;s!==null&&(s.pending=null),i=i.next}Ob=!1}P7=i1,B2=null,Rt=null,zt=null,ur=null,ui=-1,r1=null,zm1=!1,Eh=!1,Mh=0}function ul(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?B2.memoizedState=zt=i:zt=zt.next=i,zt}function dr(){var i;if(Rt===null){var s=B2.alternate;s!==null?i=s.memoizedState:i=null}else i=Rt.next;var v;if(zt===null?v=B2.memoizedState:v=zt.next,v!==null)zt=v,v=zt.next,Rt=i;else{if(i===null)throw new Error("Rendered more hooks than during the previous render.");Rt=i;var Z={memoizedState:Rt.memoizedState,baseState:Rt.baseState,baseQueue:Rt.baseQueue,queue:Rt.queue,next:null};zt===null?B2.memoizedState=zt=Z:zt=zt.next=Z}return zt}function Fm1(){return{lastEffect:null,stores:null}}function Wj(i,s){return typeof s=="function"?s(i):s}function Gj(i,s,v){var Z=ul(),V;v!==void 0?V=v(s):V=s,Z.memoizedState=Z.baseState=V;var L={pending:null,interleaved:null,lanes:i1,dispatch:null,lastRenderedReducer:i,lastRenderedState:V};Z.queue=L;var _=L.dispatch=saa.bind(null,B2,L);return[Z.memoizedState,_]}function Yj(i,s,v){var Z=dr(),V=Z.queue;if(V===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");V.lastRenderedReducer=i;var L=Rt,_=L.baseQueue,D=V.pending;if(D!==null){if(_!==null){var x=_.next,W=D.next;_.next=W,D.next=x}L.baseQueue!==_&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),L.baseQueue=_=D,V.pending=null}if(_!==null){var J=_.next,M0=L.baseState,b0=null,U0=null,q0=null,K0=J;do{var N1=K0.lane;if(tl(P7,N1)){if(q0!==null){var ue={lane:K2,action:K0.action,hasEagerState:K0.hasEagerState,eagerState:K0.eagerState,next:null};q0=q0.next=ue}if(K0.hasEagerState)M0=K0.eagerState;else{var d2=K0.action;M0=i(M0,d2)}}else{var ge={lane:N1,action:K0.action,hasEagerState:K0.hasEagerState,eagerState:K0.eagerState,next:null};q0===null?(U0=q0=ge,b0=M0):q0=q0.next=ge,B2.lanes=xe(B2.lanes,N1),Bh(N1)}K0=K0.next}while(K0!==null&&K0!==J);q0===null?b0=M0:q0.next=U0,me(M0,Z.memoizedState)||Ph(),Z.memoizedState=M0,Z.baseState=b0,Z.baseQueue=q0,V.lastRenderedState=M0}var n2=V.interleaved;if(n2!==null){var _0=n2;do{var X0=_0.lane;B2.lanes=xe(B2.lanes,X0),Bh(X0),_0=_0.next}while(_0!==n2)}else _===null&&(V.lanes=i1);var C0=V.dispatch;return[Z.memoizedState,C0]}function Qj(i,s,v){var Z=dr(),V=Z.queue;if(V===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");V.lastRenderedReducer=i;var L=V.dispatch,_=V.pending,D=Z.memoizedState;if(_!==null){V.pending=null;var x=_.next,W=x;do{var J=W.action;D=i(D,J),W=W.next}while(W!==x);me(D,Z.memoizedState)||Ph(),Z.memoizedState=D,Z.baseQueue===null&&(Z.baseState=D),V.lastRenderedState=D}return[D,L]}function s3a(i,s,v){}function m3a(i,s,v){}function Kj(i,s,v){var Z=B2,V=ul(),L,_=Va();if(_){if(v===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");L=v(),_s||L!==v()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),_s=!0)}else{if(L=s(),!_s){var D=s();me(L,D)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),_s=!0)}var x=nH();if(x===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");r7(x,P7)||jm1(Z,s,L)}V.memoizedState=L;var W={value:L,getSnapshot:s};return V.queue=W,Fb(km1.bind(null,Z,W,i),[i]),Z.flags|=Ba,Vh(Dt|Oa,Pm1.bind(null,Z,W,L,s),void 0,null),L}function $b(i,s,v){var Z=B2,V=dr(),L=s();if(!_s){var _=s();me(L,_)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),_s=!0)}var D=V.memoizedState,x=!me(D,L);x&&(V.memoizedState=L,Ph());var W=V.queue;if($h(km1.bind(null,Z,W,i),[i]),W.getSnapshot!==s||x||zt!==null&&zt.memoizedState.tag&Dt){Z.flags|=Ba,Vh(Dt|Oa,Pm1.bind(null,Z,W,L,s),void 0,null);var J=nH();if(J===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");r7(J,P7)||jm1(Z,s,L)}return L}function jm1(i,s,v){i.flags|=Xl;var Z={getSnapshot:s,value:v},V=B2.updateQueue;if(V===null)V=Fm1(),B2.updateQueue=V,V.stores=[Z];else{var L=V.stores;L===null?V.stores=[Z]:L.push(Z)}}function Pm1(i,s,v,Z){s.value=v,s.getSnapshot=Z,_m1(s)&&Cm1(i)}function km1(i,s,v){var Z=function(){_m1(s)&&Cm1(i)};return v(Z)}function _m1(i){var s=i.getSnapshot,v=i.value;try{var Z=s();return!me(v,Z)}catch{return!0}}function Cm1(i){var s=n4(i,se);s!==null&&Wt(s,i,se,r8)}function wb(i){var s=ul();typeof i=="function"&&(i=i()),s.memoizedState=s.baseState=i;var v={pending:null,interleaved:null,lanes:i1,dispatch:null,lastRenderedReducer:Wj,lastRenderedState:i};s.queue=v;var Z=v.dispatch=maa.bind(null,B2,v);return[s.memoizedState,Z]}function Xj(i){return Yj(Wj)}function Jj(i){return Qj(Wj)}function Vh(i,s,v,Z){var V={tag:i,create:s,destroy:v,deps:Z,next:null},L=B2.updateQueue;if(L===null)L=Fm1(),B2.updateQueue=L,L.lastEffect=V.next=V;else{var _=L.lastEffect;if(_===null)L.lastEffect=V.next=V;else{var D=_.next;_.next=V,V.next=D,L.lastEffect=V}}return V}function eP(i){var s=ul();{var v={current:i};return s.memoizedState=v,v}}function Sb(i){var s=dr();return s.memoizedState}function Oh(i,s,v,Z){var V=ul(),L=Z===void 0?null:Z;B2.flags|=i,V.memoizedState=Vh(Dt|s,v,void 0,L)}function Lb(i,s,v,Z){var V=dr(),L=Z===void 0?null:Z,_=void 0;if(Rt!==null){var D=Rt.memoizedState;if(_=D.destroy,L!==null){var x=D.deps;if(qj(L,x)){V.memoizedState=Vh(s,v,_,L);return}}}B2.flags|=i,V.memoizedState=Vh(Dt|s,v,_,L)}function Fb(i,s){return(B2.mode&Ya)!==_1?Oh(Jl|Ba|qn,Oa,i,s):Oh(Ba|qn,Oa,i,s)}function $h(i,s){return Lb(Ba,Oa,i,s)}function tP(i,s){return Oh(le,ml,i,s)}function jb(i,s){return Lb(le,ml,i,s)}function aP(i,s){var v=le;return v|=K6,(B2.mode&Ya)!==_1&&(v|=X6),Oh(v,xt,i,s)}function Pb(i,s){return Lb(le,xt,i,s)}function Nm1(i,s){if(typeof s=="function"){var v=s,Z=i();return v(Z),function(){v(null)}}else if(s!=null){var V=s;V.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(V).join(", ")+"}");var L=i();return V.current=L,function(){V.current=null}}}function rP(i,s,v){typeof s!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",s!==null?typeof s:"null");var Z=v!=null?v.concat([i]):null,V=le;return V|=K6,(B2.mode&Ya)!==_1&&(V|=X6),Oh(V,xt,Nm1.bind(null,s,i),Z)}function kb(i,s,v){typeof s!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",s!==null?typeof s:"null");var Z=v!=null?v.concat([i]):null;return Lb(le,xt,Nm1.bind(null,s,i),Z)}function oaa(i,s){}var _b=oaa;function nP(i,s){var v=ul(),Z=s===void 0?null:s;return v.memoizedState=[i,Z],i}function Cb(i,s){var v=dr(),Z=s===void 0?null:s,V=v.memoizedState;if(V!==null&&Z!==null){var L=V[1];if(qj(Z,L))return V[0]}return v.memoizedState=[i,Z],i}function lP(i,s){var v=ul(),Z=s===void 0?null:s,V=i();return v.memoizedState=[V,Z],V}function Nb(i,s){var v=dr(),Z=s===void 0?null:s,V=v.memoizedState;if(V!==null&&Z!==null){var L=V[1];if(qj(Z,L))return V[0]}var _=i();return v.memoizedState=[_,Z],_}function oP(i){var s=ul();return s.memoizedState=i,i}function Tm1(i){var s=dr(),v=Rt,Z=v.memoizedState;return Dm1(s,Z,i)}function Im1(i){var s=dr();if(Rt===null)return s.memoizedState=i,i;var v=Rt.memoizedState;return Dm1(s,v,i)}function Dm1(i,s,v){var Z=!fy(P7);if(Z){if(!me(v,s)){var V=Aa();B2.lanes=xe(B2.lanes,V),Bh(V),i.baseState=!0}return s}else return i.baseState&&(i.baseState=!1,Ph()),i.memoizedState=v,v}function iaa(i,s,v){var Z=ya();y2($F(Z,nr)),i(!0);var V=Hh.transition;Hh.transition={};var L=Hh.transition;Hh.transition._updatedFibers=new Set;try{i(!1),s()}finally{if(y2(Z),Hh.transition=V,V===null&&L._updatedFibers){var _=L._updatedFibers.size;_>10&&c("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."),L._updatedFibers.clear()}}}function iP(){var i=wb(!1),s=i[0],v=i[1],Z=iaa.bind(null,v),V=ul();return V.memoizedState=Z,[s,Z]}function xm1(){var i=Xj(),s=i[0],v=dr(),Z=v.memoizedState;return[s,Z]}function Rm1(){var i=Jj(),s=i[0],v=dr(),Z=v.memoizedState;return[s,Z]}var zm1=!1;function caa(){return zm1}function cP(){var i=ul(),s=nH(),v=s.identifierPrefix,Z;if(Va()){var V=Vta();Z=":"+v+"R"+V;var L=Mh++;L>0&&(Z+="H"+L.toString(32)),Z+=":"}else{var _=raa++;Z=":"+v+"r"+_.toString(32)+":"}return i.memoizedState=Z,Z}function Tb(){var i=dr(),s=i.memoizedState;return s}function saa(i,s,v){typeof arguments[3]=="function"&&m("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 Z=vi(i),V={lane:Z,action:v,hasEagerState:!1,eagerState:null,next:null};if(Um1(i))Bm1(s,V);else{var L=Zm1(i,s,V,Z);if(L!==null){var _=L6();Wt(L,i,Z,_),qm1(L,s,Z)}}Wm1(i,Z)}function maa(i,s,v){typeof arguments[3]=="function"&&m("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 Z=vi(i),V={lane:Z,action:v,hasEagerState:!1,eagerState:null,next:null};if(Um1(i))Bm1(s,V);else{var L=i.alternate;if(i.lanes===i1&&(L===null||L.lanes===i1)){var _=s.lastRenderedReducer;if(_!==null){var D;D=z1.current,z1.current=nn;try{var x=s.lastRenderedState,W=_(x,v);if(V.hasEagerState=!0,V.eagerState=W,me(W,x)){Gta(i,s,V,Z);return}}catch{}finally{z1.current=D}}}var J=Zm1(i,s,V,Z);if(J!==null){var M0=L6();Wt(J,i,Z,M0),qm1(J,s,Z)}}Wm1(i,Z)}function Um1(i){var s=i.alternate;return i===B2||s!==null&&s===B2}function Bm1(i,s){Eh=Ob=!0;var v=i.pending;v===null?s.next=s:(s.next=v.next,v.next=s),i.pending=s}function qm1(i,s,v){if(Ay(v)){var Z=s.lanes;Z=Sp(Z,i.pendingLanes);var V=xe(Z,v);s.lanes=V,ls(i,V)}}function Wm1(i,s,v){Gr(i,s)}var Ib={readContext:Et,useCallback:e6,useContext:e6,useEffect:e6,useImperativeHandle:e6,useInsertionEffect:e6,useLayoutEffect:e6,useMemo:e6,useReducer:e6,useRef:e6,useState:e6,useDebugValue:e6,useDeferredValue:e6,useTransition:e6,useMutableSource:e6,useSyncExternalStore:e6,useId:e6,unstable_isNewReconciler:L0},Gm1=null,Ym1=null,Qm1=null,Km1=null,dl=null,nn=null,Db=null;{var sP=function(){m("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().")},_e=function(){m("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")};Gm1={readContext:function(i){return Et(i)},useCallback:function(i,s){return r1="useCallback",P2(),Cs(s),nP(i,s)},useContext:function(i){return r1="useContext",P2(),Et(i)},useEffect:function(i,s){return r1="useEffect",P2(),Cs(s),Fb(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",P2(),Cs(v),rP(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",P2(),Cs(s),tP(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",P2(),Cs(s),aP(i,s)},useMemo:function(i,s){r1="useMemo",P2(),Cs(s);var v=z1.current;z1.current=dl;try{return lP(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",P2();var Z=z1.current;z1.current=dl;try{return Gj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",P2(),eP(i)},useState:function(i){r1="useState",P2();var s=z1.current;z1.current=dl;try{return wb(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",P2(),void 0},useDeferredValue:function(i){return r1="useDeferredValue",P2(),oP(i)},useTransition:function(){return r1="useTransition",P2(),iP()},useMutableSource:function(i,s,v){return r1="useMutableSource",P2(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",P2(),Kj(i,s,v)},useId:function(){return r1="useId",P2(),cP()},unstable_isNewReconciler:L0},Ym1={readContext:function(i){return Et(i)},useCallback:function(i,s){return r1="useCallback",j1(),nP(i,s)},useContext:function(i){return r1="useContext",j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",j1(),Fb(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",j1(),rP(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",j1(),tP(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",j1(),aP(i,s)},useMemo:function(i,s){r1="useMemo",j1();var v=z1.current;z1.current=dl;try{return lP(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",j1();var Z=z1.current;z1.current=dl;try{return Gj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",j1(),eP(i)},useState:function(i){r1="useState",j1();var s=z1.current;z1.current=dl;try{return wb(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",j1(),void 0},useDeferredValue:function(i){return r1="useDeferredValue",j1(),oP(i)},useTransition:function(){return r1="useTransition",j1(),iP()},useMutableSource:function(i,s,v){return r1="useMutableSource",j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",j1(),Kj(i,s,v)},useId:function(){return r1="useId",j1(),cP()},unstable_isNewReconciler:L0},Qm1={readContext:function(i){return Et(i)},useCallback:function(i,s){return r1="useCallback",j1(),Cb(i,s)},useContext:function(i){return r1="useContext",j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",j1(),$h(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",j1(),kb(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",j1(),jb(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",j1(),Pb(i,s)},useMemo:function(i,s){r1="useMemo",j1();var v=z1.current;z1.current=nn;try{return Nb(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",j1();var Z=z1.current;z1.current=nn;try{return Yj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",j1(),Sb()},useState:function(i){r1="useState",j1();var s=z1.current;z1.current=nn;try{return Xj(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",j1(),_b()},useDeferredValue:function(i){return r1="useDeferredValue",j1(),Tm1(i)},useTransition:function(){return r1="useTransition",j1(),xm1()},useMutableSource:function(i,s,v){return r1="useMutableSource",j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",j1(),$b(i,s)},useId:function(){return r1="useId",j1(),Tb()},unstable_isNewReconciler:L0},Km1={readContext:function(i){return Et(i)},useCallback:function(i,s){return r1="useCallback",j1(),Cb(i,s)},useContext:function(i){return r1="useContext",j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",j1(),$h(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",j1(),kb(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",j1(),jb(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",j1(),Pb(i,s)},useMemo:function(i,s){r1="useMemo",j1();var v=z1.current;z1.current=Db;try{return Nb(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",j1();var Z=z1.current;z1.current=Db;try{return Qj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",j1(),Sb()},useState:function(i){r1="useState",j1();var s=z1.current;z1.current=Db;try{return Jj(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",j1(),_b()},useDeferredValue:function(i){return r1="useDeferredValue",j1(),Im1(i)},useTransition:function(){return r1="useTransition",j1(),Rm1()},useMutableSource:function(i,s,v){return r1="useMutableSource",j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",j1(),$b(i,s)},useId:function(){return r1="useId",j1(),Tb()},unstable_isNewReconciler:L0},dl={readContext:function(i){return sP(),Et(i)},useCallback:function(i,s){return r1="useCallback",_e(),P2(),nP(i,s)},useContext:function(i){return r1="useContext",_e(),P2(),Et(i)},useEffect:function(i,s){return r1="useEffect",_e(),P2(),Fb(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",_e(),P2(),rP(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",_e(),P2(),tP(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",_e(),P2(),aP(i,s)},useMemo:function(i,s){r1="useMemo",_e(),P2();var v=z1.current;z1.current=dl;try{return lP(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",_e(),P2();var Z=z1.current;z1.current=dl;try{return Gj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",_e(),P2(),eP(i)},useState:function(i){r1="useState",_e(),P2();var s=z1.current;z1.current=dl;try{return wb(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",_e(),P2(),void 0},useDeferredValue:function(i){return r1="useDeferredValue",_e(),P2(),oP(i)},useTransition:function(){return r1="useTransition",_e(),P2(),iP()},useMutableSource:function(i,s,v){return r1="useMutableSource",_e(),P2(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",_e(),P2(),Kj(i,s,v)},useId:function(){return r1="useId",_e(),P2(),cP()},unstable_isNewReconciler:L0},nn={readContext:function(i){return sP(),Et(i)},useCallback:function(i,s){return r1="useCallback",_e(),j1(),Cb(i,s)},useContext:function(i){return r1="useContext",_e(),j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",_e(),j1(),$h(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",_e(),j1(),kb(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",_e(),j1(),jb(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",_e(),j1(),Pb(i,s)},useMemo:function(i,s){r1="useMemo",_e(),j1();var v=z1.current;z1.current=nn;try{return Nb(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",_e(),j1();var Z=z1.current;z1.current=nn;try{return Yj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",_e(),j1(),Sb()},useState:function(i){r1="useState",_e(),j1();var s=z1.current;z1.current=nn;try{return Xj(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",_e(),j1(),_b()},useDeferredValue:function(i){return r1="useDeferredValue",_e(),j1(),Tm1(i)},useTransition:function(){return r1="useTransition",_e(),j1(),xm1()},useMutableSource:function(i,s,v){return r1="useMutableSource",_e(),j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",_e(),j1(),$b(i,s)},useId:function(){return r1="useId",_e(),j1(),Tb()},unstable_isNewReconciler:L0},Db={readContext:function(i){return sP(),Et(i)},useCallback:function(i,s){return r1="useCallback",_e(),j1(),Cb(i,s)},useContext:function(i){return r1="useContext",_e(),j1(),Et(i)},useEffect:function(i,s){return r1="useEffect",_e(),j1(),$h(i,s)},useImperativeHandle:function(i,s,v){return r1="useImperativeHandle",_e(),j1(),kb(i,s,v)},useInsertionEffect:function(i,s){return r1="useInsertionEffect",_e(),j1(),jb(i,s)},useLayoutEffect:function(i,s){return r1="useLayoutEffect",_e(),j1(),Pb(i,s)},useMemo:function(i,s){r1="useMemo",_e(),j1();var v=z1.current;z1.current=nn;try{return Nb(i,s)}finally{z1.current=v}},useReducer:function(i,s,v){r1="useReducer",_e(),j1();var Z=z1.current;z1.current=nn;try{return Qj(i,s,v)}finally{z1.current=Z}},useRef:function(i){return r1="useRef",_e(),j1(),Sb()},useState:function(i){r1="useState",_e(),j1();var s=z1.current;z1.current=nn;try{return Jj(i)}finally{z1.current=s}},useDebugValue:function(i,s){return r1="useDebugValue",_e(),j1(),_b()},useDeferredValue:function(i){return r1="useDeferredValue",_e(),j1(),Im1(i)},useTransition:function(){return r1="useTransition",_e(),j1(),Rm1()},useMutableSource:function(i,s,v){return r1="useMutableSource",_e(),j1(),void 0},useSyncExternalStore:function(i,s,v){return r1="useSyncExternalStore",_e(),j1(),$b(i,s)},useId:function(){return r1="useId",_e(),j1(),Tb()},unstable_isNewReconciler:L0}}var di=r.unstable_now,Xm1=0,xb=-1,wh=-1,Rb=-1,mP=!1,zb=!1;function Jm1(){return mP}function uaa(){zb=!0}function daa(){mP=!1,zb=!1}function paa(){mP=zb,zb=!1}function eu1(){return Xm1}function tu1(){Xm1=di()}function uP(i){wh=di(),i.actualStartTime<0&&(i.actualStartTime=di())}function au1(i){wh=-1}function Ub(i,s){if(wh>=0){var v=di()-wh;i.actualDuration+=v,s&&(i.selfBaseDuration=v),wh=-1}}function pl(i){if(xb>=0){var s=di()-xb;xb=-1;for(var v=i.return;v!==null;){switch(v.tag){case y:var Z=v.stateNode;Z.effectDuration+=s;return;case C:var V=v.stateNode;V.effectDuration+=s;return}v=v.return}}}function dP(i){if(Rb>=0){var s=di()-Rb;Rb=-1;for(var v=i.return;v!==null;){switch(v.tag){case y:var Z=v.stateNode;Z!==null&&(Z.passiveEffectDuration+=s);return;case C:var V=v.stateNode;V!==null&&(V.passiveEffectDuration+=s);return}v=v.return}}}function hl(){xb=di()}function pP(){Rb=di()}function hP(i){for(var s=i.child;s;)i.actualDuration+=s.actualDuration,s=s.sibling}function ln(i,s){if(i&&i.defaultProps){var v=ce({},s),Z=i.defaultProps;for(var V in Z)v[V]===void 0&&(v[V]=Z[V]);return v}return s}var fP={},vP,gP,AP,ZP,yP,ru1,Bb,bP,HP,EP,Sh;{vP=new Set,gP=new Set,AP=new Set,ZP=new Set,bP=new Set,yP=new Set,HP=new Set,EP=new Set,Sh=new Set;var nu1=new Set;Bb=function(i,s){if(!(i===null||typeof i=="function")){var v=s+"_"+i;nu1.has(v)||(nu1.add(v),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s,i))}},ru1=function(i,s){if(s===void 0){var v=Xe(i)||"Component";yP.has(v)||(yP.add(v),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",v))}},Object.defineProperty(fP,"_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(fP)}function MP(i,s,v,Z){var V=i.memoizedState,L=v(Z,V);{if(i.mode&u8){mt(!0);try{L=v(Z,V)}finally{mt(!1)}}ru1(s,L)}var _=L==null?V:ce({},V,L);if(i.memoizedState=_,i.lanes===i1){var D=i.updateQueue;D.baseState=_}}var VP={isMounted:y6,enqueueSetState:function(i,s,v){var Z=K4(i),V=L6(),L=vi(Z),_=H3(V,L);_.payload=s,v!=null&&(Bb(v,"setState"),_.callback=v);var D=ci(Z,_,L);D!==null&&(Wt(D,Z,L,V),yb(D,Z,L)),Gr(Z,L)},enqueueReplaceState:function(i,s,v){var Z=K4(i),V=L6(),L=vi(Z),_=H3(V,L);_.tag=bm1,_.payload=s,v!=null&&(Bb(v,"replaceState"),_.callback=v);var D=ci(Z,_,L);D!==null&&(Wt(D,Z,L,V),yb(D,Z,L)),Gr(Z,L)},enqueueForceUpdate:function(i,s){var v=K4(i),Z=L6(),V=vi(v),L=H3(Z,V);L.tag=gb,s!=null&&(Bb(s,"forceUpdate"),L.callback=s);var _=ci(v,L,V);_!==null&&(Wt(_,v,V,Z),yb(_,v,V)),yp(v,V)}};function lu1(i,s,v,Z,V,L,_){var D=i.stateNode;if(typeof D.shouldComponentUpdate=="function"){var x=D.shouldComponentUpdate(Z,L,_);{if(i.mode&u8){mt(!0);try{x=D.shouldComponentUpdate(Z,L,_)}finally{mt(!1)}}x===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Xe(s)||"Component")}return x}return s.prototype&&s.prototype.isPureReactComponent?!P8(v,Z)||!P8(V,L):!0}function haa(i,s,v){var Z=i.stateNode;{var V=Xe(s)||"Component",L=Z.render;L||(s.prototype&&typeof s.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",V):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",V)),Z.getInitialState&&!Z.getInitialState.isReactClassApproved&&!Z.state&&m("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?",V),Z.getDefaultProps&&!Z.getDefaultProps.isReactClassApproved&&m("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.",V),Z.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",V),Z.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",V),s.childContextTypes&&!Sh.has(s)&&(i.mode&u8)===_1&&(Sh.add(s),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
176
176
 
177
177
  .Learn more about this warning here: https://reactjs.org/link/legacy-context`,V)),s.contextTypes&&!Sh.has(s)&&(i.mode&u8)===_1&&(Sh.add(s),m(`%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.
178
178
 
179
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,V)),Z.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",V),s.contextType&&s.contextTypes&&!HP.has(s)&&(HP.add(s),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",V)),typeof Z.componentShouldUpdate=="function"&&m("%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.",V),s.prototype&&s.prototype.isPureReactComponent&&typeof Z.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Xe(s)||"A pure component"),typeof Z.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",V),typeof Z.componentDidReceiveProps=="function"&&m("%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().",V),typeof Z.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",V),typeof Z.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",V);var _=Z.props!==v;Z.props!==void 0&&_&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",V,V),Z.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",V,V),typeof Z.getSnapshotBeforeUpdate=="function"&&typeof Z.componentDidUpdate!="function"&&!AP.has(s)&&(AP.add(s),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Xe(s))),typeof Z.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",V),typeof Z.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",V),typeof s.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",V);var D=Z.state;D&&(typeof D!="object"||A2(D))&&m("%s.state: must be set to an object or null",V),typeof Z.getChildContext=="function"&&typeof s.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",V)}}function ou1(i,s){s.updater=VP,i.stateNode=s,_9(s,i),s._reactInternalInstance=fP}function iu1(i,s,v){var Z=!1,V=F4,L=F4,_=s.contextType;if("contextType"in s){var D=_===null||_!==void 0&&_.$$typeof===I0&&_._context===void 0;if(!D&&!EP.has(s)){EP.add(s);var x="";_===void 0?x=" 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 _!="object"?x=" However, it is set to a "+typeof _+".":_.$$typeof===w0?x=" Did you accidentally pass the Context.Provider instead?":_._context!==void 0?x=" Did you accidentally pass the Context.Consumer instead?":x=" However, it is set to an object with keys {"+Object.keys(_).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Xe(s)||"Component",x)}}if(typeof _=="object"&&_!==null)L=Et(_);else{V=Ms(i,s,!0);var W=s.contextTypes;Z=W!=null,L=Z?Vs(i,V):F4}var J=new s(v,L);if(i.mode&u8){st(!0);try{J=new s(v,L)}finally{st(!1)}}var M0=i.memoizedState=J.state!==null&&J.state!==void 0?J.state:null;ou1(i,J);{if(typeof s.getDerivedStateFromProps=="function"&&M0===null){var b0=Xe(s)||"Component";gP.has(b0)||(gP.add(b0),m("`%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.",b0,J.state===null?"null":"undefined",b0))}if(typeof s.getDerivedStateFromProps=="function"||typeof J.getSnapshotBeforeUpdate=="function"){var U0=null,q0=null,K0=null;if(typeof J.componentWillMount=="function"&&J.componentWillMount.__suppressDeprecationWarning!==!0?U0="componentWillMount":typeof J.UNSAFE_componentWillMount=="function"&&(U0="UNSAFE_componentWillMount"),typeof J.componentWillReceiveProps=="function"&&J.componentWillReceiveProps.__suppressDeprecationWarning!==!0?q0="componentWillReceiveProps":typeof J.UNSAFE_componentWillReceiveProps=="function"&&(q0="UNSAFE_componentWillReceiveProps"),typeof J.componentWillUpdate=="function"&&J.componentWillUpdate.__suppressDeprecationWarning!==!0?K0="componentWillUpdate":typeof J.UNSAFE_componentWillUpdate=="function"&&(K0="UNSAFE_componentWillUpdate"),U0!==null||q0!==null||K0!==null){var N1=Xe(s)||"Component",ge=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ZP.has(N1)||(ZP.add(N1),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
179
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,V)),Z.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",V),s.contextType&&s.contextTypes&&!HP.has(s)&&(HP.add(s),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",V)),typeof Z.componentShouldUpdate=="function"&&m("%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.",V),s.prototype&&s.prototype.isPureReactComponent&&typeof Z.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Xe(s)||"A pure component"),typeof Z.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",V),typeof Z.componentDidReceiveProps=="function"&&m("%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().",V),typeof Z.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",V),typeof Z.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",V);var _=Z.props!==v;Z.props!==void 0&&_&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",V,V),Z.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",V,V),typeof Z.getSnapshotBeforeUpdate=="function"&&typeof Z.componentDidUpdate!="function"&&!AP.has(s)&&(AP.add(s),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Xe(s))),typeof Z.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",V),typeof Z.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",V),typeof s.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",V);var D=Z.state;D&&(typeof D!="object"||A2(D))&&m("%s.state: must be set to an object or null",V),typeof Z.getChildContext=="function"&&typeof s.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",V)}}function ou1(i,s){s.updater=VP,i.stateNode=s,_9(s,i),s._reactInternalInstance=fP}function iu1(i,s,v){var Z=!1,V=F4,L=F4,_=s.contextType;if("contextType"in s){var D=_===null||_!==void 0&&_.$$typeof===I0&&_._context===void 0;if(!D&&!EP.has(s)){EP.add(s);var x="";_===void 0?x=" 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 _!="object"?x=" However, it is set to a "+typeof _+".":_.$$typeof===w0?x=" Did you accidentally pass the Context.Provider instead?":_._context!==void 0?x=" Did you accidentally pass the Context.Consumer instead?":x=" However, it is set to an object with keys {"+Object.keys(_).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Xe(s)||"Component",x)}}if(typeof _=="object"&&_!==null)L=Et(_);else{V=Ms(i,s,!0);var W=s.contextTypes;Z=W!=null,L=Z?Vs(i,V):F4}var J=new s(v,L);if(i.mode&u8){mt(!0);try{J=new s(v,L)}finally{mt(!1)}}var M0=i.memoizedState=J.state!==null&&J.state!==void 0?J.state:null;ou1(i,J);{if(typeof s.getDerivedStateFromProps=="function"&&M0===null){var b0=Xe(s)||"Component";gP.has(b0)||(gP.add(b0),m("`%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.",b0,J.state===null?"null":"undefined",b0))}if(typeof s.getDerivedStateFromProps=="function"||typeof J.getSnapshotBeforeUpdate=="function"){var U0=null,q0=null,K0=null;if(typeof J.componentWillMount=="function"&&J.componentWillMount.__suppressDeprecationWarning!==!0?U0="componentWillMount":typeof J.UNSAFE_componentWillMount=="function"&&(U0="UNSAFE_componentWillMount"),typeof J.componentWillReceiveProps=="function"&&J.componentWillReceiveProps.__suppressDeprecationWarning!==!0?q0="componentWillReceiveProps":typeof J.UNSAFE_componentWillReceiveProps=="function"&&(q0="UNSAFE_componentWillReceiveProps"),typeof J.componentWillUpdate=="function"&&J.componentWillUpdate.__suppressDeprecationWarning!==!0?K0="componentWillUpdate":typeof J.UNSAFE_componentWillUpdate=="function"&&(K0="UNSAFE_componentWillUpdate"),U0!==null||q0!==null||K0!==null){var N1=Xe(s)||"Component",ge=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ZP.has(N1)||(ZP.add(N1),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
180
180
 
181
181
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
182
182
 
@@ -188,9 +188,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`,N1,ge,U0!==null?`
188
188
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var J=Ee(i)||"Anonymous";W="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+J+".")}var M0=x+`
189
189
  `+_+`
190
190
 
191
- `+(""+W);console.error(M0)}catch(b0){setTimeout(function(){throw b0})}}var Zaa=typeof WeakMap=="function"?WeakMap:Map;function su1(i,s,v){var Z=H3(r8,v);Z.tag=Pj,Z.payload={element:null};var V=s.value;return Z.callback=function(){u4a(V),wP(i,s)},Z}function SP(i,s,v){var Z=H3(r8,v);Z.tag=Pj;var V=i.type.getDerivedStateFromError;if(typeof V=="function"){var L=s.value;Z.payload=function(){return V(L)},Z.callback=function(){yd1(i),wP(i,s)}}var _=i.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(Z.callback=function(){yd1(i),wP(i,s),typeof V!="function"&&s4a(this);var x=s.value,W=s.stack;this.componentDidCatch(x,{componentStack:W!==null?W:""}),typeof V!="function"&&(Ka(i.lanes,se)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ee(i)||"Unknown"))}),Z}function mu1(i,s,v){var Z=i.pingCache,V;if(Z===null?(Z=i.pingCache=new Zaa,V=new Set,Z.set(s,V)):(V=Z.get(s),V===void 0&&(V=new Set,Z.set(s,V))),!V.has(v)){V.add(v);var L=d4a.bind(null,i,s,v);b6&&qh(i,v),s.then(L,L)}}function yaa(i,s,v,Z){var V=i.updateQueue;if(V===null){var L=new Set;L.add(v),i.updateQueue=L}else V.add(v)}function baa(i,s){var v=i.tag;if((i.mode&fe)===_1&&(v===h||v===N||v===q)){var Z=i.alternate;Z?(i.updateQueue=Z.updateQueue,i.memoizedState=Z.memoizedState,i.lanes=Z.lanes):(i.updateQueue=null,i.memoizedState=null)}}function uu1(i){var s=i;do{if(s.tag===I&&taa(s))return s;s=s.return}while(s!==null);return null}function du1(i,s,v,Z,V){if((i.mode&fe)===_1){if(i===s)i.flags|=Nt;else{if(i.flags|=ke,v.flags|=C9,v.flags&=~(ny|Bn),v.tag===g){var L=v.alternate;if(L===null)v.tag=Y;else{var _=H3(r8,se);_.tag=gb,ci(v,_,se)}}v.lanes=xe(v.lanes,se)}return i}return i.flags|=Nt,i.lanes=V,i}function Haa(i,s,v,Z,V){if(v.flags|=Bn,b6&&qh(i,V),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var L=Z;baa(v),Va()&&v.mode&fe&&rm1();var _=uu1(s);if(_!==null){_.flags&=~ga,du1(_,s,v,i,V),_.mode&fe&&mu1(i,L,V),yaa(_,i,L);return}else{if(!Op(V)){mu1(i,L,V),ck();return}var D=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.");Z=D}}else if(Va()&&v.mode&fe){rm1();var x=uu1(s);if(x!==null){(x.flags&Nt)===ve&&(x.flags|=ga),du1(x,s,v,i,V),bj(k7(Z,v));return}}Z=k7(Z,v),t4a(Z);var W=s;do{switch(W.tag){case y:{var J=Z;W.flags|=Nt;var M0=Bo(V);W.lanes=xe(W.lanes,M0);var b0=su1(W,J,M0);Cj(W,b0);return}case g:var U0=Z,q0=W.type,K0=W.stateNode;if((W.flags&ke)===ve&&(typeof q0.getDerivedStateFromError=="function"||K0!==null&&typeof K0.componentDidCatch=="function"&&!ud1(K0))){W.flags|=Nt;var N1=Bo(V);W.lanes=xe(W.lanes,N1);var ge=SP(W,U0,N1);Cj(W,ge);return}break}W=W.return}while(W!==null)}function Eaa(){return null}var Lh=n.ReactCurrentOwner,on=!1,LP,Fh,FP,jP,PP,_7,kP,qb,jh;LP={},Fh={},FP={},jP={},PP={},_7=!1,kP={},qb={},jh={};function w6(i,s,v,Z){i===null?s.child=fm1(s,null,v,Z):s.child=Ss(s,i.child,v,Z)}function Maa(i,s,v,Z){s.child=Ss(s,i.child,null,Z),s.child=Ss(s,null,v,Z)}function pu1(i,s,v,Z,V){if(s.type!==s.elementType){var L=v.propTypes;L&&en(L,Z,"prop",Xe(v))}var _=v.render,D=s.ref,x,W;Fs(s,V),H6(s);{if(Lh.current=s,Q8(!0),x=Ns(i,s,_,Z,D,V),W=Ts(),s.mode&u8){st(!0);try{x=Ns(i,s,_,Z,D,V),W=Ts()}finally{st(!1)}}Q8(!1)}return E6(),i!==null&&!on?(Sm1(i,s,V),E3(i,s,V)):(Va()&&W&&fj(s),s.flags|=V4,w6(i,s,x,V),s.child)}function hu1(i,s,v,Z,V){if(i===null){var L=v.type;if(S4a(L)&&v.compare===null&&v.defaultProps===void 0){var _=L;return _=qs(L),s.tag=q,s.type=_,NP(s,L),fu1(i,s,_,Z,V)}{var D=L.propTypes;if(D&&en(D,Z,"prop",Xe(L)),v.defaultProps!==void 0){var x=Xe(L)||"Unknown";jh[x]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",x),jh[x]=!0)}}var W=Zk(v.type,null,Z,s,s.mode,V);return W.ref=s.ref,W.return=s,s.child=W,W}{var J=v.type,M0=J.propTypes;M0&&en(M0,Z,"prop",Xe(J))}var b0=i.child,U0=zP(i,V);if(!U0){var q0=b0.memoizedProps,K0=v.compare;if(K0=K0!==null?K0:P8,K0(q0,Z)&&i.ref===s.ref)return E3(i,s,V)}s.flags|=V4;var N1=D7(b0,Z);return N1.ref=s.ref,N1.return=s,s.child=N1,N1}function fu1(i,s,v,Z,V){if(s.type!==s.elementType){var L=s.elementType;if(L.$$typeof===y1){var _=L,D=_._payload,x=_._init;try{L=x(D)}catch{L=null}var W=L&&L.propTypes;W&&en(W,Z,"prop",Xe(L))}}if(i!==null){var J=i.memoizedProps;if(P8(J,Z)&&i.ref===s.ref&&s.type===i.type)if(on=!1,s.pendingProps=Z=J,zP(i,V))(i.flags&C9)!==ve&&(on=!0);else return s.lanes=i.lanes,E3(i,s,V)}return _P(i,s,v,Z,V)}function vu1(i,s,v){var Z=s.pendingProps,V=Z.children,L=i!==null?i.memoizedState:null;if(Z.mode==="hidden"||G)if((s.mode&fe)===_1){var _={baseLanes:i1,cachePool:null,transitions:null};s.memoizedState=_,lH(s,v)}else if(Ka(v,M6)){var M0={baseLanes:i1,cachePool:null,transitions:null};s.memoizedState=M0;var b0=L!==null?L.baseLanes:v;lH(s,b0)}else{var D=null,x;if(L!==null){var W=L.baseLanes;x=xe(W,v)}else x=v;s.lanes=s.childLanes=M6;var J={baseLanes:x,cachePool:D,transitions:null};return s.memoizedState=J,s.updateQueue=null,lH(s,x),null}else{var U0;L!==null?(U0=xe(L.baseLanes,v),s.memoizedState=null):U0=v,lH(s,U0)}return w6(i,s,V,v),s.child}function Vaa(i,s,v){var Z=s.pendingProps;return w6(i,s,Z,v),s.child}function Oaa(i,s,v){var Z=s.pendingProps.children;return w6(i,s,Z,v),s.child}function $aa(i,s,v){{s.flags|=le;{var Z=s.stateNode;Z.effectDuration=0,Z.passiveEffectDuration=0}}var V=s.pendingProps,L=V.children;return w6(i,s,L,v),s.child}function gu1(i,s){var v=s.ref;(i===null&&v!==null||i!==null&&i.ref!==v)&&(s.flags|=A6,s.flags|=J4)}function _P(i,s,v,Z,V){if(s.type!==s.elementType){var L=v.propTypes;L&&en(L,Z,"prop",Xe(v))}var _;{var D=Ms(s,v,!0);_=Vs(s,D)}var x,W;Fs(s,V),H6(s);{if(Lh.current=s,Q8(!0),x=Ns(i,s,v,Z,_,V),W=Ts(),s.mode&u8){st(!0);try{x=Ns(i,s,v,Z,_,V),W=Ts()}finally{st(!1)}}Q8(!1)}return E6(),i!==null&&!on?(Sm1(i,s,V),E3(i,s,V)):(Va()&&W&&fj(s),s.flags|=V4,w6(i,s,x,V),s.child)}function Au1(i,s,v,Z,V){{switch(U4a(s)){case!1:{var L=s.stateNode,_=s.type,D=new _(s.memoizedProps,L.context),x=D.state;L.updater.enqueueSetState(L,x,null);break}case!0:{s.flags|=ke,s.flags|=Nt;var W=new Error("Simulated error coming from DevTools"),J=Bo(V);s.lanes=xe(s.lanes,J);var M0=SP(s,k7(W,s),J);Cj(s,M0);break}}if(s.type!==s.elementType){var b0=v.propTypes;b0&&en(b0,Z,"prop",Xe(v))}}var U0;sl(v)?(U0=!0,nb(s)):U0=!1,Fs(s,V);var q0=s.stateNode,K0;q0===null?(Gb(i,s),iu1(s,v,Z),OP(s,v,Z,V),K0=!0):i===null?K0=vaa(s,v,Z,V):K0=gaa(i,s,v,Z,V);var N1=CP(i,s,v,K0,U0,V);{var ge=s.stateNode;K0&&ge.props!==Z&&(_7||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ee(s)||"a component"),_7=!0)}return N1}function CP(i,s,v,Z,V,L){gu1(i,s);var _=(s.flags&ke)!==ve;if(!Z&&!_)return V&&Js1(s,v,!1),E3(i,s,L);var D=s.stateNode;Lh.current=s;var x;if(_&&typeof v.getDerivedStateFromError!="function")x=null,au1();else{H6(s);{if(Q8(!0),x=D.render(),s.mode&u8){st(!0);try{D.render()}finally{st(!1)}}Q8(!1)}E6()}return s.flags|=V4,i!==null&&_?Maa(i,s,x,L):w6(i,s,x,L),s.memoizedState=D.state,V&&Js1(s,v,!0),s.child}function Zu1(i){var s=i.stateNode;s.pendingContext?Ks1(i,s.pendingContext,s.pendingContext!==s.context):s.context&&Ks1(i,s.context,!1),Nj(i,s.containerInfo)}function waa(i,s,v){if(Zu1(s),i===null)throw new Error("Should have a current fiber. This is a bug in React.");var Z=s.pendingProps,V=s.memoizedState,L=V.element;Hm1(i,s),bb(s,Z,null,v);var _=s.memoizedState;s.stateNode;var D=_.element;if(V.isDehydrated){var x={element:D,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},W=s.updateQueue;if(W.baseState=x,s.memoizedState=x,s.flags&ga){var J=k7(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."),s);return yu1(i,s,D,v,J)}else if(D!==L){var M0=k7(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),s);return yu1(i,s,D,v,M0)}else{Fta(s);var b0=fm1(s,null,D,v);s.child=b0;for(var U0=b0;U0;)U0.flags=U0.flags&~Q2|X4,U0=U0.sibling}}else{if(ws(),D===L)return E3(i,s,v);w6(i,s,D,v)}return s.child}function yu1(i,s,v,Z,V){return ws(),bj(V),s.flags|=ga,w6(i,s,v,Z),s.child}function Saa(i,s,v){Om1(s),i===null&&yj(s);var Z=s.type,V=s.pendingProps,L=i!==null?i.memoizedProps:null,_=V.children,D=tj(Z,V);return D?_=null:L!==null&&tj(Z,L)&&(s.flags|=Q6),gu1(i,s),w6(i,s,_,v),s.child}function Laa(i,s){return i===null&&yj(s),null}function Faa(i,s,v,Z){Gb(i,s);var V=s.pendingProps,L=v,_=L._payload,D=L._init,x=D(_);s.type=x;var W=s.tag=L4a(x),J=ln(x,V),M0;switch(W){case h:return NP(s,x),s.type=x=qs(x),M0=_P(null,s,x,J,Z),M0;case g:return s.type=x=pk(x),M0=Au1(null,s,x,J,Z),M0;case N:return s.type=x=hk(x),M0=pu1(null,s,x,J,Z),M0;case z:{if(s.type!==s.elementType){var b0=x.propTypes;b0&&en(b0,J,"prop",Xe(x))}return M0=hu1(null,s,x,ln(x.type,J),Z),M0}}var U0="";throw x!==null&&typeof x=="object"&&x.$$typeof===y1&&(U0=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+x+". "+("Lazy element type must resolve to a class or function."+U0))}function jaa(i,s,v,Z,V){Gb(i,s),s.tag=g;var L;return sl(v)?(L=!0,nb(s)):L=!1,Fs(s,V),iu1(s,v,Z),OP(s,v,Z,V),CP(null,s,v,!0,L,V)}function Paa(i,s,v,Z){Gb(i,s);var V=s.pendingProps,L;{var _=Ms(s,v,!1);L=Vs(s,_)}Fs(s,Z);var D,x;H6(s);{if(v.prototype&&typeof v.prototype.render=="function"){var W=Xe(v)||"Unknown";LP[W]||(m("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.",W,W),LP[W]=!0)}s.mode&u8&&an.recordLegacyContextWarning(s,null),Q8(!0),Lh.current=s,D=Ns(null,s,v,V,L,Z),x=Ts(),Q8(!1)}if(E6(),s.flags|=V4,typeof D=="object"&&D!==null&&typeof D.render=="function"&&D.$$typeof===void 0){var J=Xe(v)||"Unknown";Fh[J]||(m("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.",J,J,J),Fh[J]=!0)}if(typeof D=="object"&&D!==null&&typeof D.render=="function"&&D.$$typeof===void 0){{var M0=Xe(v)||"Unknown";Fh[M0]||(m("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.",M0,M0,M0),Fh[M0]=!0)}s.tag=g,s.memoizedState=null,s.updateQueue=null;var b0=!1;return sl(v)?(b0=!0,nb(s)):b0=!1,s.memoizedState=D.state!==null&&D.state!==void 0?D.state:null,_j(s),ou1(s,D),OP(s,v,V,Z),CP(null,s,v,!0,b0,Z)}else{if(s.tag=h,s.mode&u8){st(!0);try{D=Ns(null,s,v,V,L,Z),x=Ts()}finally{st(!1)}}return Va()&&x&&fj(s),w6(null,s,D,Z),NP(s,v),s.child}}function NP(i,s){{if(s&&s.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),i.ref!==null){var v="",Z=Ra();Z&&(v+=`
191
+ `+(""+W);console.error(M0)}catch(b0){setTimeout(function(){throw b0})}}var Zaa=typeof WeakMap=="function"?WeakMap:Map;function su1(i,s,v){var Z=H3(r8,v);Z.tag=Pj,Z.payload={element:null};var V=s.value;return Z.callback=function(){u4a(V),wP(i,s)},Z}function SP(i,s,v){var Z=H3(r8,v);Z.tag=Pj;var V=i.type.getDerivedStateFromError;if(typeof V=="function"){var L=s.value;Z.payload=function(){return V(L)},Z.callback=function(){yd1(i),wP(i,s)}}var _=i.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(Z.callback=function(){yd1(i),wP(i,s),typeof V!="function"&&s4a(this);var x=s.value,W=s.stack;this.componentDidCatch(x,{componentStack:W!==null?W:""}),typeof V!="function"&&(Ka(i.lanes,se)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ee(i)||"Unknown"))}),Z}function mu1(i,s,v){var Z=i.pingCache,V;if(Z===null?(Z=i.pingCache=new Zaa,V=new Set,Z.set(s,V)):(V=Z.get(s),V===void 0&&(V=new Set,Z.set(s,V))),!V.has(v)){V.add(v);var L=d4a.bind(null,i,s,v);b6&&qh(i,v),s.then(L,L)}}function yaa(i,s,v,Z){var V=i.updateQueue;if(V===null){var L=new Set;L.add(v),i.updateQueue=L}else V.add(v)}function baa(i,s){var v=i.tag;if((i.mode&fe)===_1&&(v===h||v===N||v===q)){var Z=i.alternate;Z?(i.updateQueue=Z.updateQueue,i.memoizedState=Z.memoizedState,i.lanes=Z.lanes):(i.updateQueue=null,i.memoizedState=null)}}function uu1(i){var s=i;do{if(s.tag===I&&taa(s))return s;s=s.return}while(s!==null);return null}function du1(i,s,v,Z,V){if((i.mode&fe)===_1){if(i===s)i.flags|=Nt;else{if(i.flags|=ke,v.flags|=C9,v.flags&=~(ny|Bn),v.tag===g){var L=v.alternate;if(L===null)v.tag=Y;else{var _=H3(r8,se);_.tag=gb,ci(v,_,se)}}v.lanes=xe(v.lanes,se)}return i}return i.flags|=Nt,i.lanes=V,i}function Haa(i,s,v,Z,V){if(v.flags|=Bn,b6&&qh(i,V),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var L=Z;baa(v),Va()&&v.mode&fe&&rm1();var _=uu1(s);if(_!==null){_.flags&=~ga,du1(_,s,v,i,V),_.mode&fe&&mu1(i,L,V),yaa(_,i,L);return}else{if(!Op(V)){mu1(i,L,V),ck();return}var D=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.");Z=D}}else if(Va()&&v.mode&fe){rm1();var x=uu1(s);if(x!==null){(x.flags&Nt)===ve&&(x.flags|=ga),du1(x,s,v,i,V),bj(k7(Z,v));return}}Z=k7(Z,v),t4a(Z);var W=s;do{switch(W.tag){case y:{var J=Z;W.flags|=Nt;var M0=Bo(V);W.lanes=xe(W.lanes,M0);var b0=su1(W,J,M0);Cj(W,b0);return}case g:var U0=Z,q0=W.type,K0=W.stateNode;if((W.flags&ke)===ve&&(typeof q0.getDerivedStateFromError=="function"||K0!==null&&typeof K0.componentDidCatch=="function"&&!ud1(K0))){W.flags|=Nt;var N1=Bo(V);W.lanes=xe(W.lanes,N1);var ge=SP(W,U0,N1);Cj(W,ge);return}break}W=W.return}while(W!==null)}function Eaa(){return null}var Lh=n.ReactCurrentOwner,on=!1,LP,Fh,FP,jP,PP,_7,kP,qb,jh;LP={},Fh={},FP={},jP={},PP={},_7=!1,kP={},qb={},jh={};function w6(i,s,v,Z){i===null?s.child=fm1(s,null,v,Z):s.child=Ss(s,i.child,v,Z)}function Maa(i,s,v,Z){s.child=Ss(s,i.child,null,Z),s.child=Ss(s,null,v,Z)}function pu1(i,s,v,Z,V){if(s.type!==s.elementType){var L=v.propTypes;L&&en(L,Z,"prop",Xe(v))}var _=v.render,D=s.ref,x,W;Fs(s,V),H6(s);{if(Lh.current=s,Q8(!0),x=Ns(i,s,_,Z,D,V),W=Ts(),s.mode&u8){mt(!0);try{x=Ns(i,s,_,Z,D,V),W=Ts()}finally{mt(!1)}}Q8(!1)}return E6(),i!==null&&!on?(Sm1(i,s,V),E3(i,s,V)):(Va()&&W&&fj(s),s.flags|=V4,w6(i,s,x,V),s.child)}function hu1(i,s,v,Z,V){if(i===null){var L=v.type;if(S4a(L)&&v.compare===null&&v.defaultProps===void 0){var _=L;return _=qs(L),s.tag=q,s.type=_,NP(s,L),fu1(i,s,_,Z,V)}{var D=L.propTypes;if(D&&en(D,Z,"prop",Xe(L)),v.defaultProps!==void 0){var x=Xe(L)||"Unknown";jh[x]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",x),jh[x]=!0)}}var W=Zk(v.type,null,Z,s,s.mode,V);return W.ref=s.ref,W.return=s,s.child=W,W}{var J=v.type,M0=J.propTypes;M0&&en(M0,Z,"prop",Xe(J))}var b0=i.child,U0=zP(i,V);if(!U0){var q0=b0.memoizedProps,K0=v.compare;if(K0=K0!==null?K0:P8,K0(q0,Z)&&i.ref===s.ref)return E3(i,s,V)}s.flags|=V4;var N1=D7(b0,Z);return N1.ref=s.ref,N1.return=s,s.child=N1,N1}function fu1(i,s,v,Z,V){if(s.type!==s.elementType){var L=s.elementType;if(L.$$typeof===y1){var _=L,D=_._payload,x=_._init;try{L=x(D)}catch{L=null}var W=L&&L.propTypes;W&&en(W,Z,"prop",Xe(L))}}if(i!==null){var J=i.memoizedProps;if(P8(J,Z)&&i.ref===s.ref&&s.type===i.type)if(on=!1,s.pendingProps=Z=J,zP(i,V))(i.flags&C9)!==ve&&(on=!0);else return s.lanes=i.lanes,E3(i,s,V)}return _P(i,s,v,Z,V)}function vu1(i,s,v){var Z=s.pendingProps,V=Z.children,L=i!==null?i.memoizedState:null;if(Z.mode==="hidden"||G)if((s.mode&fe)===_1){var _={baseLanes:i1,cachePool:null,transitions:null};s.memoizedState=_,lH(s,v)}else if(Ka(v,M6)){var M0={baseLanes:i1,cachePool:null,transitions:null};s.memoizedState=M0;var b0=L!==null?L.baseLanes:v;lH(s,b0)}else{var D=null,x;if(L!==null){var W=L.baseLanes;x=xe(W,v)}else x=v;s.lanes=s.childLanes=M6;var J={baseLanes:x,cachePool:D,transitions:null};return s.memoizedState=J,s.updateQueue=null,lH(s,x),null}else{var U0;L!==null?(U0=xe(L.baseLanes,v),s.memoizedState=null):U0=v,lH(s,U0)}return w6(i,s,V,v),s.child}function Vaa(i,s,v){var Z=s.pendingProps;return w6(i,s,Z,v),s.child}function Oaa(i,s,v){var Z=s.pendingProps.children;return w6(i,s,Z,v),s.child}function $aa(i,s,v){{s.flags|=le;{var Z=s.stateNode;Z.effectDuration=0,Z.passiveEffectDuration=0}}var V=s.pendingProps,L=V.children;return w6(i,s,L,v),s.child}function gu1(i,s){var v=s.ref;(i===null&&v!==null||i!==null&&i.ref!==v)&&(s.flags|=A6,s.flags|=J4)}function _P(i,s,v,Z,V){if(s.type!==s.elementType){var L=v.propTypes;L&&en(L,Z,"prop",Xe(v))}var _;{var D=Ms(s,v,!0);_=Vs(s,D)}var x,W;Fs(s,V),H6(s);{if(Lh.current=s,Q8(!0),x=Ns(i,s,v,Z,_,V),W=Ts(),s.mode&u8){mt(!0);try{x=Ns(i,s,v,Z,_,V),W=Ts()}finally{mt(!1)}}Q8(!1)}return E6(),i!==null&&!on?(Sm1(i,s,V),E3(i,s,V)):(Va()&&W&&fj(s),s.flags|=V4,w6(i,s,x,V),s.child)}function Au1(i,s,v,Z,V){{switch(U4a(s)){case!1:{var L=s.stateNode,_=s.type,D=new _(s.memoizedProps,L.context),x=D.state;L.updater.enqueueSetState(L,x,null);break}case!0:{s.flags|=ke,s.flags|=Nt;var W=new Error("Simulated error coming from DevTools"),J=Bo(V);s.lanes=xe(s.lanes,J);var M0=SP(s,k7(W,s),J);Cj(s,M0);break}}if(s.type!==s.elementType){var b0=v.propTypes;b0&&en(b0,Z,"prop",Xe(v))}}var U0;sl(v)?(U0=!0,nb(s)):U0=!1,Fs(s,V);var q0=s.stateNode,K0;q0===null?(Gb(i,s),iu1(s,v,Z),OP(s,v,Z,V),K0=!0):i===null?K0=vaa(s,v,Z,V):K0=gaa(i,s,v,Z,V);var N1=CP(i,s,v,K0,U0,V);{var ge=s.stateNode;K0&&ge.props!==Z&&(_7||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ee(s)||"a component"),_7=!0)}return N1}function CP(i,s,v,Z,V,L){gu1(i,s);var _=(s.flags&ke)!==ve;if(!Z&&!_)return V&&Js1(s,v,!1),E3(i,s,L);var D=s.stateNode;Lh.current=s;var x;if(_&&typeof v.getDerivedStateFromError!="function")x=null,au1();else{H6(s);{if(Q8(!0),x=D.render(),s.mode&u8){mt(!0);try{D.render()}finally{mt(!1)}}Q8(!1)}E6()}return s.flags|=V4,i!==null&&_?Maa(i,s,x,L):w6(i,s,x,L),s.memoizedState=D.state,V&&Js1(s,v,!0),s.child}function Zu1(i){var s=i.stateNode;s.pendingContext?Ks1(i,s.pendingContext,s.pendingContext!==s.context):s.context&&Ks1(i,s.context,!1),Nj(i,s.containerInfo)}function waa(i,s,v){if(Zu1(s),i===null)throw new Error("Should have a current fiber. This is a bug in React.");var Z=s.pendingProps,V=s.memoizedState,L=V.element;Hm1(i,s),bb(s,Z,null,v);var _=s.memoizedState;s.stateNode;var D=_.element;if(V.isDehydrated){var x={element:D,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},W=s.updateQueue;if(W.baseState=x,s.memoizedState=x,s.flags&ga){var J=k7(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."),s);return yu1(i,s,D,v,J)}else if(D!==L){var M0=k7(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),s);return yu1(i,s,D,v,M0)}else{Fta(s);var b0=fm1(s,null,D,v);s.child=b0;for(var U0=b0;U0;)U0.flags=U0.flags&~Q2|X4,U0=U0.sibling}}else{if(ws(),D===L)return E3(i,s,v);w6(i,s,D,v)}return s.child}function yu1(i,s,v,Z,V){return ws(),bj(V),s.flags|=ga,w6(i,s,v,Z),s.child}function Saa(i,s,v){Om1(s),i===null&&yj(s);var Z=s.type,V=s.pendingProps,L=i!==null?i.memoizedProps:null,_=V.children,D=tj(Z,V);return D?_=null:L!==null&&tj(Z,L)&&(s.flags|=Q6),gu1(i,s),w6(i,s,_,v),s.child}function Laa(i,s){return i===null&&yj(s),null}function Faa(i,s,v,Z){Gb(i,s);var V=s.pendingProps,L=v,_=L._payload,D=L._init,x=D(_);s.type=x;var W=s.tag=L4a(x),J=ln(x,V),M0;switch(W){case h:return NP(s,x),s.type=x=qs(x),M0=_P(null,s,x,J,Z),M0;case g:return s.type=x=pk(x),M0=Au1(null,s,x,J,Z),M0;case N:return s.type=x=hk(x),M0=pu1(null,s,x,J,Z),M0;case z:{if(s.type!==s.elementType){var b0=x.propTypes;b0&&en(b0,J,"prop",Xe(x))}return M0=hu1(null,s,x,ln(x.type,J),Z),M0}}var U0="";throw x!==null&&typeof x=="object"&&x.$$typeof===y1&&(U0=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+x+". "+("Lazy element type must resolve to a class or function."+U0))}function jaa(i,s,v,Z,V){Gb(i,s),s.tag=g;var L;return sl(v)?(L=!0,nb(s)):L=!1,Fs(s,V),iu1(s,v,Z),OP(s,v,Z,V),CP(null,s,v,!0,L,V)}function Paa(i,s,v,Z){Gb(i,s);var V=s.pendingProps,L;{var _=Ms(s,v,!1);L=Vs(s,_)}Fs(s,Z);var D,x;H6(s);{if(v.prototype&&typeof v.prototype.render=="function"){var W=Xe(v)||"Unknown";LP[W]||(m("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.",W,W),LP[W]=!0)}s.mode&u8&&an.recordLegacyContextWarning(s,null),Q8(!0),Lh.current=s,D=Ns(null,s,v,V,L,Z),x=Ts(),Q8(!1)}if(E6(),s.flags|=V4,typeof D=="object"&&D!==null&&typeof D.render=="function"&&D.$$typeof===void 0){var J=Xe(v)||"Unknown";Fh[J]||(m("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.",J,J,J),Fh[J]=!0)}if(typeof D=="object"&&D!==null&&typeof D.render=="function"&&D.$$typeof===void 0){{var M0=Xe(v)||"Unknown";Fh[M0]||(m("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.",M0,M0,M0),Fh[M0]=!0)}s.tag=g,s.memoizedState=null,s.updateQueue=null;var b0=!1;return sl(v)?(b0=!0,nb(s)):b0=!1,s.memoizedState=D.state!==null&&D.state!==void 0?D.state:null,_j(s),ou1(s,D),OP(s,v,V,Z),CP(null,s,v,!0,b0,Z)}else{if(s.tag=h,s.mode&u8){mt(!0);try{D=Ns(null,s,v,V,L,Z),x=Ts()}finally{mt(!1)}}return Va()&&x&&fj(s),w6(null,s,D,Z),NP(s,v),s.child}}function NP(i,s){{if(s&&s.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),i.ref!==null){var v="",Z=Ra();Z&&(v+=`
192
192
 
193
- Check the render method of \``+Z+"`.");var V=Z||"",L=i._debugSource;L&&(V=L.fileName+":"+L.lineNumber),PP[V]||(PP[V]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",v))}if(s.defaultProps!==void 0){var _=Xe(s)||"Unknown";jh[_]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",_),jh[_]=!0)}if(typeof s.getDerivedStateFromProps=="function"){var D=Xe(s)||"Unknown";jP[D]||(m("%s: Function components do not support getDerivedStateFromProps.",D),jP[D]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var x=Xe(s)||"Unknown";FP[x]||(m("%s: Function components do not support contextType.",x),FP[x]=!0)}}}var TP={dehydrated:null,treeContext:null,retryLane:K2};function IP(i){return{baseLanes:i,cachePool:Eaa(),transitions:null}}function kaa(i,s){var v=null;return{baseLanes:xe(i.baseLanes,s),cachePool:v,transitions:i.transitions}}function _aa(i,s,v,Z){if(s!==null){var V=s.memoizedState;if(V===null)return!1}return Dj(i,bh)}function Caa(i,s){return qo(i.childLanes,s)}function bu1(i,s,v){var Z=s.pendingProps;B4a(s)&&(s.flags|=ke);var V=rn.current,L=!1,_=(s.flags&ke)!==ve;if(_||_aa(V,i)?(L=!0,s.flags&=~ke):(i===null||i.memoizedState!==null)&&(V=eaa(V,wm1)),V=Ps(V),mi(s,V),i===null){yj(s);var D=s.memoizedState;if(D!==null){var x=D.dehydrated;if(x!==null)return xaa(s,x)}var W=Z.children,J=Z.fallback;if(L){var M0=Naa(s,W,J,v),b0=s.child;return b0.memoizedState=IP(v),s.memoizedState=TP,M0}else return DP(s,W)}else{var U0=i.memoizedState;if(U0!==null){var q0=U0.dehydrated;if(q0!==null)return Raa(i,s,_,Z,q0,U0,v)}if(L){var K0=Z.fallback,N1=Z.children,ge=Iaa(i,s,N1,K0,v),ue=s.child,d2=i.child.memoizedState;return ue.memoizedState=d2===null?IP(v):kaa(d2,v),ue.childLanes=Caa(i,v),s.memoizedState=TP,ge}else{var n2=Z.children,_0=Taa(i,s,n2,v);return s.memoizedState=null,_0}}}function DP(i,s,v){var Z=i.mode,V={mode:"visible",children:s},L=xP(V,Z);return L.return=i,i.child=L,L}function Naa(i,s,v,Z){var V=i.mode,L=i.child,_={mode:"hidden",children:s},D,x;return(V&fe)===_1&&L!==null?(D=L,D.childLanes=i1,D.pendingProps=_,i.mode&Se&&(D.actualDuration=0,D.actualStartTime=-1,D.selfBaseDuration=0,D.treeBaseDuration=0),x=Ai(v,V,Z,null)):(D=xP(_,V),x=Ai(v,V,Z,null)),D.return=i,x.return=i,D.sibling=x,i.child=D,x}function xP(i,s,v){return Hd1(i,s,i1,null)}function Hu1(i,s){return D7(i,s)}function Taa(i,s,v,Z){var V=i.child,L=V.sibling,_=Hu1(V,{mode:"visible",children:v});if((s.mode&fe)===_1&&(_.lanes=Z),_.return=s,_.sibling=null,L!==null){var D=s.deletions;D===null?(s.deletions=[L],s.flags|=M2):D.push(L)}return s.child=_,_}function Iaa(i,s,v,Z,V){var L=s.mode,_=i.child,D=_.sibling,x={mode:"hidden",children:v},W;if((L&fe)===_1&&s.child!==_){var J=s.child;W=J,W.childLanes=i1,W.pendingProps=x,s.mode&Se&&(W.actualDuration=0,W.actualStartTime=-1,W.selfBaseDuration=_.selfBaseDuration,W.treeBaseDuration=_.treeBaseDuration),s.deletions=null}else W=Hu1(_,x),W.subtreeFlags=_.subtreeFlags&Tt;var M0;return D!==null?M0=D7(D,Z):(M0=Ai(Z,L,V,null),M0.flags|=Q2),M0.return=s,W.return=s,W.sibling=M0,s.child=W,M0}function Wb(i,s,v,Z){Z!==null&&bj(Z),Ss(s,i.child,null,v);var V=s.pendingProps,L=V.children,_=DP(s,L);return _.flags|=Q2,s.memoizedState=null,_}function Daa(i,s,v,Z,V){var L=s.mode,_={mode:"visible",children:v},D=xP(_,L),x=Ai(Z,L,V,null);return x.flags|=Q2,D.return=s,x.return=s,D.sibling=x,s.child=D,(s.mode&fe)!==_1&&Ss(s,i.child,null,V),x}function xaa(i,s,v){return(i.mode&fe)===_1?(m("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."),i.lanes=se):lj(s)?i.lanes=Yr:i.lanes=M6,null}function Raa(i,s,v,Z,V,L,_){if(v)if(s.flags&ga){s.flags&=~ga;var _0=$P(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Wb(i,s,_,_0)}else{if(s.memoizedState!==null)return s.child=i.child,s.flags|=ke,null;var X0=Z.children,C0=Z.fallback,g1=Daa(i,s,X0,C0,_),q1=s.child;return q1.memoizedState=IP(_),s.memoizedState=TP,g1}else{if(Sta(),(s.mode&fe)===_1)return Wb(i,s,_,null);if(lj(V)){var D,x,W;{var J=q8a(V);D=J.digest,x=J.message,W=J.stack}var M0;x?M0=new Error(x):M0=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var b0=$P(M0,D,W);return Wb(i,s,_,b0)}var U0=Ka(_,i.childLanes);if(on||U0){var q0=nH();if(q0!==null){var K0=jp(q0,_);if(K0!==K2&&K0!==L.retryLane){L.retryLane=K0;var N1=r8;n4(i,K0),Wt(q0,i,K0,N1)}}ck();var ge=$P(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 Wb(i,s,_,ge)}else if(Bs1(V)){s.flags|=ke,s.child=i.child;var ue=p4a.bind(null,i);return W8a(V,ue),null}else{jta(s,V,L.treeContext);var d2=Z.children,n2=DP(s,d2);return n2.flags|=X4,n2}}}function Eu1(i,s,v){i.lanes=xe(i.lanes,s);var Z=i.alternate;Z!==null&&(Z.lanes=xe(Z.lanes,s)),Fj(i.return,s,v)}function zaa(i,s,v){for(var Z=s;Z!==null;){if(Z.tag===I){var V=Z.memoizedState;V!==null&&Eu1(Z,v,i)}else if(Z.tag===a0)Eu1(Z,v,i);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===i)return;for(;Z.sibling===null;){if(Z.return===null||Z.return===i)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}function Uaa(i){for(var s=i,v=null;s!==null;){var Z=s.alternate;Z!==null&&Vb(Z)===null&&(v=s),s=s.sibling}return v}function Baa(i){if(i!==void 0&&i!=="forwards"&&i!=="backwards"&&i!=="together"&&!kP[i])if(kP[i]=!0,typeof i=="string")switch(i.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',i,i.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',i,i.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i)}function qaa(i,s){i!==void 0&&!qb[i]&&(i!=="collapsed"&&i!=="hidden"?(qb[i]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',i)):s!=="forwards"&&s!=="backwards"&&(qb[i]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)))}function Mu1(i,s){{var v=A2(i),Z=!v&&typeof We(i)=="function";if(v||Z){var V=v?"array":"iterable";return m("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>",V,s,V),!1}}return!0}function Waa(i,s){if((s==="forwards"||s==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(A2(i)){for(var v=0;v<i.length;v++)if(!Mu1(i[v],v))return}else{var Z=We(i);if(typeof Z=="function"){var V=Z.call(i);if(V)for(var L=V.next(),_=0;!L.done;L=V.next()){if(!Mu1(L.value,_))return;_++}}else m('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?',s)}}function RP(i,s,v,Z,V){var L=i.memoizedState;L===null?i.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:Z,tail:v,tailMode:V}:(L.isBackwards=s,L.rendering=null,L.renderingStartTime=0,L.last=Z,L.tail=v,L.tailMode=V)}function Vu1(i,s,v){var Z=s.pendingProps,V=Z.revealOrder,L=Z.tail,_=Z.children;Baa(V),qaa(L,V),Waa(_,V),w6(i,s,_,v);var D=rn.current,x=Dj(D,bh);if(x)D=xj(D,bh),s.flags|=ke;else{var W=i!==null&&(i.flags&ke)!==ve;W&&zaa(s,s.child,v),D=Ps(D)}if(mi(s,D),(s.mode&fe)===_1)s.memoizedState=null;else switch(V){case"forwards":{var J=Uaa(s.child),M0;J===null?(M0=s.child,s.child=null):(M0=J.sibling,J.sibling=null),RP(s,!1,M0,J,L);break}case"backwards":{var b0=null,U0=s.child;for(s.child=null;U0!==null;){var q0=U0.alternate;if(q0!==null&&Vb(q0)===null){s.child=U0;break}var K0=U0.sibling;U0.sibling=b0,b0=U0,U0=K0}RP(s,!0,b0,null,L);break}case"together":{RP(s,!1,null,null,void 0);break}default:s.memoizedState=null}return s.child}function Gaa(i,s,v){Nj(s,s.stateNode.containerInfo);var Z=s.pendingProps;return i===null?s.child=Ss(s,null,Z,v):w6(i,s,Z,v),s.child}var Ou1=!1;function Yaa(i,s,v){var Z=s.type,V=Z._context,L=s.pendingProps,_=s.memoizedProps,D=L.value;{"value"in L||Ou1||(Ou1=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var x=s.type.propTypes;x&&en(x,L,"prop","Context.Provider")}if(Am1(s,V,D),_!==null){var W=_.value;if(me(W,D)){if(_.children===L.children&&!ab())return E3(i,s,v)}else Bta(s,V,v)}var J=L.children;return w6(i,s,J,v),s.child}var $u1=!1;function Qaa(i,s,v){var Z=s.type;Z._context===void 0?Z!==Z.Consumer&&($u1||($u1=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):Z=Z._context;var V=s.pendingProps,L=V.children;typeof L!="function"&&m("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."),Fs(s,v);var _=Et(Z);H6(s);var D;return Lh.current=s,Q8(!0),D=L(_),Q8(!1),E6(),s.flags|=V4,w6(i,s,D,v),s.child}function Ph(){on=!0}function Gb(i,s){(s.mode&fe)===_1&&i!==null&&(i.alternate=null,s.alternate=null,s.flags|=Q2)}function E3(i,s,v){return i!==null&&(s.dependencies=i.dependencies),au1(),Bh(s.lanes),Ka(v,s.childLanes)?(zta(i,s),s.child):null}function Kaa(i,s,v){{var Z=s.return;if(Z===null)throw new Error("Cannot swap the root fiber.");if(i.alternate=null,s.alternate=null,v.index=s.index,v.sibling=s.sibling,v.return=s.return,v.ref=s.ref,s===Z.child)Z.child=v;else{var V=Z.child;if(V===null)throw new Error("Expected parent to have a child.");for(;V.sibling!==s;)if(V=V.sibling,V===null)throw new Error("Expected to find the previous sibling.");V.sibling=v}var L=Z.deletions;return L===null?(Z.deletions=[i],Z.flags|=M2):L.push(i),v.flags|=Q2,v}}function zP(i,s){var v=i.lanes;return!!Ka(v,s)}function Xaa(i,s,v){switch(s.tag){case y:Zu1(s),s.stateNode,ws();break;case M:Om1(s);break;case g:{var Z=s.type;sl(Z)&&nb(s);break}case E:Nj(s,s.stateNode.containerInfo);break;case k:{var V=s.memoizedProps.value,L=s.type._context;Am1(s,L,V);break}case C:{var _=Ka(v,s.childLanes);_&&(s.flags|=le);{var D=s.stateNode;D.effectDuration=0,D.passiveEffectDuration=0}}break;case I:{var x=s.memoizedState;if(x!==null){if(x.dehydrated!==null)return mi(s,Ps(rn.current)),s.flags|=ke,null;var W=s.child,J=W.childLanes;if(Ka(v,J))return bu1(i,s,v);mi(s,Ps(rn.current));var M0=E3(i,s,v);return M0!==null?M0.sibling:null}else mi(s,Ps(rn.current));break}case a0:{var b0=(i.flags&ke)!==ve,U0=Ka(v,s.childLanes);if(b0){if(U0)return Vu1(i,s,v);s.flags|=ke}var q0=s.memoizedState;if(q0!==null&&(q0.rendering=null,q0.tail=null,q0.lastEffect=null),mi(s,rn.current),U0)break;return null}case l0:case e0:return s.lanes=i1,vu1(i,s,v)}return E3(i,s,v)}function wu1(i,s,v){if(s._debugNeedsRemount&&i!==null)return Kaa(i,s,Zk(s.type,s.key,s.pendingProps,s._debugOwner||null,s.mode,s.lanes));if(i!==null){var Z=i.memoizedProps,V=s.pendingProps;if(Z!==V||ab()||s.type!==i.type)on=!0;else{var L=zP(i,v);if(!L&&(s.flags&ke)===ve)return on=!1,Xaa(i,s,v);(i.flags&C9)!==ve?on=!0:on=!1}}else if(on=!1,Va()&&Eta(s)){var _=s.index,D=Mta();am1(s,D,_)}switch(s.lanes=i1,s.tag){case A:return Paa(i,s,s.type,v);case K:{var x=s.elementType;return Faa(i,s,x,v)}case h:{var W=s.type,J=s.pendingProps,M0=s.elementType===W?J:ln(W,J);return _P(i,s,W,M0,v)}case g:{var b0=s.type,U0=s.pendingProps,q0=s.elementType===b0?U0:ln(b0,U0);return Au1(i,s,b0,q0,v)}case y:return waa(i,s,v);case M:return Saa(i,s,v);case O:return Laa(i,s);case I:return bu1(i,s,v);case E:return Gaa(i,s,v);case N:{var K0=s.type,N1=s.pendingProps,ge=s.elementType===K0?N1:ln(K0,N1);return pu1(i,s,K0,ge,v)}case S:return Vaa(i,s,v);case F:return Oaa(i,s,v);case C:return $aa(i,s,v);case k:return Yaa(i,s,v);case j:return Qaa(i,s,v);case z:{var ue=s.type,d2=s.pendingProps,n2=ln(ue,d2);if(s.type!==s.elementType){var _0=ue.propTypes;_0&&en(_0,n2,"prop",Xe(ue))}return n2=ln(ue.type,n2),hu1(i,s,ue,n2,v)}case q:return fu1(i,s,s.type,s.pendingProps,v);case Y:{var X0=s.type,C0=s.pendingProps,g1=s.elementType===X0?C0:ln(X0,C0);return jaa(i,s,X0,g1,v)}case a0:return Vu1(i,s,v);case t0:break;case l0:return vu1(i,s,v)}throw new Error("Unknown unit of work tag ("+s.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Is(i){i.flags|=le}function Su1(i){i.flags|=A6,i.flags|=J4}var Lu1,UP,Fu1,ju1;Lu1=function(i,s,v,Z){for(var V=s.child;V!==null;){if(V.tag===M||V.tag===O)y8a(i,V.stateNode);else if(V.tag!==E){if(V.child!==null){V.child.return=V,V=V.child;continue}}if(V===s)return;for(;V.sibling===null;){if(V.return===null||V.return===s)return;V=V.return}V.sibling.return=V.return,V=V.sibling}},UP=function(i,s){},Fu1=function(i,s,v,Z,V){var L=i.memoizedProps;if(L!==Z){var _=s.stateNode,D=Tj(),x=H8a(_,v,L,Z,V,D);s.updateQueue=x,x&&Is(s)}},ju1=function(i,s,v,Z){v!==Z&&Is(s)};function kh(i,s){if(!Va())switch(i.tailMode){case"hidden":{for(var v=i.tail,Z=null;v!==null;)v.alternate!==null&&(Z=v),v=v.sibling;Z===null?i.tail=null:Z.sibling=null;break}case"collapsed":{for(var V=i.tail,L=null;V!==null;)V.alternate!==null&&(L=V),V=V.sibling;L===null?!s&&i.tail!==null?i.tail.sibling=null:i.tail=null:L.sibling=null;break}}}function $a(i){var s=i.alternate!==null&&i.alternate.child===i.child,v=i1,Z=ve;if(s){if((i.mode&Se)!==_1){for(var x=i.selfBaseDuration,W=i.child;W!==null;)v=xe(v,xe(W.lanes,W.childLanes)),Z|=W.subtreeFlags&Tt,Z|=W.flags&Tt,x+=W.treeBaseDuration,W=W.sibling;i.treeBaseDuration=x}else for(var J=i.child;J!==null;)v=xe(v,xe(J.lanes,J.childLanes)),Z|=J.subtreeFlags&Tt,Z|=J.flags&Tt,J.return=i,J=J.sibling;i.subtreeFlags|=Z}else{if((i.mode&Se)!==_1){for(var V=i.actualDuration,L=i.selfBaseDuration,_=i.child;_!==null;)v=xe(v,xe(_.lanes,_.childLanes)),Z|=_.subtreeFlags,Z|=_.flags,V+=_.actualDuration,L+=_.treeBaseDuration,_=_.sibling;i.actualDuration=V,i.treeBaseDuration=L}else for(var D=i.child;D!==null;)v=xe(v,xe(D.lanes,D.childLanes)),Z|=D.subtreeFlags,Z|=D.flags,D.return=i,D=D.sibling;i.subtreeFlags|=Z}return i.childLanes=v,s}function Jaa(i,s,v){if(Nta()&&(s.mode&fe)!==_1&&(s.flags&ke)===ve)return sm1(s),ws(),s.flags|=ga|Bn|Nt,!1;var Z=sb(s);if(v!==null&&v.dehydrated!==null)if(i===null){if(!Z)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(_ta(s),$a(s),(s.mode&Se)!==_1){var V=v!==null;if(V){var L=s.child;L!==null&&(s.treeBaseDuration-=L.treeBaseDuration)}}return!1}else{if(ws(),(s.flags&ke)===ve&&(s.memoizedState=null),s.flags|=le,$a(s),(s.mode&Se)!==_1){var _=v!==null;if(_){var D=s.child;D!==null&&(s.treeBaseDuration-=D.treeBaseDuration)}}return!1}else return mm1(),!0}function Pu1(i,s,v){var Z=s.pendingProps;switch(vj(s),s.tag){case A:case K:case q:case h:case N:case S:case F:case C:case j:case z:return $a(s),null;case g:{var V=s.type;return sl(V)&&rb(s),$a(s),null}case y:{var L=s.stateNode;if(js(s),dj(s),zj(),L.pendingContext&&(L.context=L.pendingContext,L.pendingContext=null),i===null||i.child===null){var _=sb(s);if(_)Is(s);else if(i!==null){var D=i.memoizedState;(!D.isDehydrated||(s.flags&ga)!==ve)&&(s.flags|=X8,mm1())}}return UP(i,s),$a(s),null}case M:{Ij(s);var x=Vm1(),W=s.type;if(i!==null&&s.stateNode!=null)Fu1(i,s,W,Z,x),i.ref!==s.ref&&Su1(s);else{if(!Z){if(s.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 $a(s),null}var J=Tj(),M0=sb(s);if(M0)Pta(s,x,J)&&Is(s);else{var b0=Z8a(W,Z,x,J,s);Lu1(b0,s,!1,!1),s.stateNode=b0,b8a(b0,W,Z,x)&&Is(s)}s.ref!==null&&Su1(s)}return $a(s),null}case O:{var U0=Z;if(i&&s.stateNode!=null){var q0=i.memoizedProps;ju1(i,s,q0,U0)}else{if(typeof U0!="string"&&s.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 K0=Vm1(),N1=Tj(),ge=sb(s);ge?kta(s)&&Is(s):s.stateNode=E8a(U0,K0,N1,s)}return $a(s),null}case I:{ks(s);var ue=s.memoizedState;if(i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){var d2=Jaa(i,s,ue);if(!d2)return s.flags&Nt?s:null}if((s.flags&ke)!==ve)return s.lanes=v,(s.mode&Se)!==_1&&hP(s),s;var n2=ue!==null,_0=i!==null&&i.memoizedState!==null;if(n2!==_0&&n2){var X0=s.child;if(X0.flags|=Un,(s.mode&fe)!==_1){var C0=i===null&&(s.memoizedProps.unstable_avoidThisFallback!==!0||!n0);C0||Dj(rn.current,wm1)?e4a():ck()}}var g1=s.updateQueue;if(g1!==null&&(s.flags|=le),$a(s),(s.mode&Se)!==_1&&n2){var q1=s.child;q1!==null&&(s.treeBaseDuration-=q1.treeBaseDuration)}return null}case E:return js(s),UP(i,s),i===null&&vta(s.stateNode.containerInfo),$a(s),null;case k:var D1=s.type._context;return Lj(D1,s),$a(s),null;case Y:{var Oe=s.type;return sl(Oe)&&rb(s),$a(s),null}case a0:{ks(s);var Ne=s.memoizedState;if(Ne===null)return $a(s),null;var q2=(s.flags&ke)!==ve,V2=Ne.rendering;if(V2===null)if(q2)kh(Ne,!1);else{var ut=a4a()&&(i===null||(i.flags&ke)===ve);if(!ut)for(var O2=s.child;O2!==null;){var tt=Vb(O2);if(tt!==null){q2=!0,s.flags|=ke,kh(Ne,!1);var t6=tt.updateQueue;return t6!==null&&(s.updateQueue=t6,s.flags|=le),s.subtreeFlags=ve,Uta(s,v),mi(s,xj(rn.current,bh)),s.child}O2=O2.sibling}Ne.tail!==null&&J8()>ed1()&&(s.flags|=ke,q2=!0,kh(Ne,!1),s.lanes=dy)}else{if(!q2){var ja=Vb(V2);if(ja!==null){s.flags|=ke,q2=!0;var P4=ja.updateQueue;if(P4!==null&&(s.updateQueue=P4,s.flags|=le),kh(Ne,!0),Ne.tail===null&&Ne.tailMode==="hidden"&&!V2.alternate&&!Va())return $a(s),null}else J8()*2-Ne.renderingStartTime>ed1()&&v!==M6&&(s.flags|=ke,q2=!0,kh(Ne,!1),s.lanes=dy)}if(Ne.isBackwards)V2.sibling=s.child,s.child=V2;else{var F6=Ne.last;F6!==null?F6.sibling=V2:s.child=V2,Ne.last=V2}}if(Ne.tail!==null){var j6=Ne.tail;Ne.rendering=j6,Ne.tail=j6.sibling,Ne.renderingStartTime=J8(),j6.sibling=null;var a6=rn.current;return q2?a6=xj(a6,bh):a6=Ps(a6),mi(s,a6),j6}return $a(s),null}case t0:break;case l0:case e0:{ik(s);var w3=s.memoizedState,Ws=w3!==null;if(i!==null){var Qh=i.memoizedState,gl=Qh!==null;gl!==Ws&&!G&&(s.flags|=Un)}return!Ws||(s.mode&fe)===_1?$a(s):Ka(vl,M6)&&($a(s),s.subtreeFlags&(Q2|le)&&(s.flags|=Un)),null}case G0:return null;case y0:return null}throw new Error("Unknown unit of work tag ("+s.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function e6a(i,s,v){switch(vj(s),s.tag){case g:{var Z=s.type;sl(Z)&&rb(s);var V=s.flags;return V&Nt?(s.flags=V&~Nt|ke,(s.mode&Se)!==_1&&hP(s),s):null}case y:{s.stateNode,js(s),dj(s),zj();var L=s.flags;return(L&Nt)!==ve&&(L&ke)===ve?(s.flags=L&~Nt|ke,s):null}case M:return Ij(s),null;case I:{ks(s);var _=s.memoizedState;if(_!==null&&_.dehydrated!==null){if(s.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ws()}var D=s.flags;return D&Nt?(s.flags=D&~Nt|ke,(s.mode&Se)!==_1&&hP(s),s):null}case a0:return ks(s),null;case E:return js(s),null;case k:var x=s.type._context;return Lj(x,s),null;case l0:case e0:return ik(s),null;case G0:return null;default:return null}}function ku1(i,s,v){switch(vj(s),s.tag){case g:{var Z=s.type.childContextTypes;Z!=null&&rb(s);break}case y:{s.stateNode,js(s),dj(s),zj();break}case M:{Ij(s);break}case E:js(s);break;case I:ks(s);break;case a0:ks(s);break;case k:var V=s.type._context;Lj(V,s);break;case l0:case e0:ik(s);break}}var _u1=null;_u1=new Set;var Yb=!1,wa=!1,t6a=typeof WeakSet=="function"?WeakSet:Set,J1=null,Ds=null,xs=null;function a6a(i){M4(null,function(){throw i}),Ur()}var r6a=function(i,s){if(s.props=i.memoizedProps,s.state=i.memoizedState,i.mode&Se)try{hl(),s.componentWillUnmount()}finally{pl(i)}else s.componentWillUnmount()};function Cu1(i,s){try{pi(xt,i)}catch(v){d8(i,s,v)}}function BP(i,s,v){try{r6a(i,v)}catch(Z){d8(i,s,Z)}}function n6a(i,s,v){try{v.componentDidMount()}catch(Z){d8(i,s,Z)}}function Nu1(i,s){try{Iu1(i)}catch(v){d8(i,s,v)}}function Rs(i,s){var v=i.ref;if(v!==null)if(typeof v=="function"){var Z;try{if(z0&&X&&i.mode&Se)try{hl(),Z=v(null)}finally{pl(i)}else Z=v(null)}catch(V){d8(i,s,V)}typeof Z=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ee(i))}else v.current=null}function Qb(i,s,v){try{v()}catch(Z){d8(i,s,Z)}}var Tu1=!1;function l6a(i,s){g8a(i.containerInfo),J1=s,o6a();var v=Tu1;return Tu1=!1,v}function o6a(){for(;J1!==null;){var i=J1,s=i.child;(i.subtreeFlags&qa)!==ve&&s!==null?(s.return=i,J1=s):i6a()}}function i6a(){for(;J1!==null;){var i=J1;t8(i);try{c6a(i)}catch(v){d8(i,i.return,v)}F2();var s=i.sibling;if(s!==null){s.return=i.return,J1=s;return}J1=i.return}}function c6a(i){var s=i.alternate,v=i.flags;if((v&X8)!==ve){switch(t8(i),i.tag){case h:case N:case q:break;case g:{if(s!==null){var Z=s.memoizedProps,V=s.memoizedState,L=i.stateNode;i.type===i.elementType&&!_7&&(L.props!==i.memoizedProps&&m("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.",Ee(i)||"instance"),L.state!==i.memoizedState&&m("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.",Ee(i)||"instance"));var _=L.getSnapshotBeforeUpdate(i.elementType===i.type?Z:ln(i.type,Z),V);{var D=_u1;_===void 0&&!D.has(i.type)&&(D.add(i.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ee(i)))}L.__reactInternalSnapshotBeforeUpdate=_}break}case y:{{var x=i.stateNode;R8a(x.containerInfo)}break}case M:case O:case E:case Y: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.")}F2()}}function cn(i,s,v){var Z=s.updateQueue,V=Z!==null?Z.lastEffect:null;if(V!==null){var L=V.next,_=L;do{if((_.tag&i)===i){var D=_.destroy;_.destroy=void 0,D!==void 0&&((i&Oa)!==l4?z9(s):(i&xt)!==l4&&Po(s),(i&ml)!==l4&&Wh(!0),Qb(s,v,D),(i&ml)!==l4&&Wh(!1),(i&Oa)!==l4?my():(i&xt)!==l4&&ko())}_=_.next}while(_!==L)}}function pi(i,s){var v=s.updateQueue,Z=v!==null?v.lastEffect:null;if(Z!==null){var V=Z.next,L=V;do{if((L.tag&i)===i){(i&Oa)!==l4?R9(s):(i&xt)!==l4&&Y5(s);var _=L.create;(i&ml)!==l4&&Wh(!0),L.destroy=_(),(i&ml)!==l4&&Wh(!1),(i&Oa)!==l4?sy():(i&xt)!==l4&&er();{var D=L.destroy;if(D!==void 0&&typeof D!="function"){var x=void 0;(L.tag&xt)!==ve?x="useLayoutEffect":(L.tag&ml)!==ve?x="useInsertionEffect":x="useEffect";var W=void 0;D===null?W=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof D.then=="function"?W=`
193
+ Check the render method of \``+Z+"`.");var V=Z||"",L=i._debugSource;L&&(V=L.fileName+":"+L.lineNumber),PP[V]||(PP[V]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",v))}if(s.defaultProps!==void 0){var _=Xe(s)||"Unknown";jh[_]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",_),jh[_]=!0)}if(typeof s.getDerivedStateFromProps=="function"){var D=Xe(s)||"Unknown";jP[D]||(m("%s: Function components do not support getDerivedStateFromProps.",D),jP[D]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var x=Xe(s)||"Unknown";FP[x]||(m("%s: Function components do not support contextType.",x),FP[x]=!0)}}}var TP={dehydrated:null,treeContext:null,retryLane:K2};function IP(i){return{baseLanes:i,cachePool:Eaa(),transitions:null}}function kaa(i,s){var v=null;return{baseLanes:xe(i.baseLanes,s),cachePool:v,transitions:i.transitions}}function _aa(i,s,v,Z){if(s!==null){var V=s.memoizedState;if(V===null)return!1}return Dj(i,bh)}function Caa(i,s){return qo(i.childLanes,s)}function bu1(i,s,v){var Z=s.pendingProps;B4a(s)&&(s.flags|=ke);var V=rn.current,L=!1,_=(s.flags&ke)!==ve;if(_||_aa(V,i)?(L=!0,s.flags&=~ke):(i===null||i.memoizedState!==null)&&(V=eaa(V,wm1)),V=Ps(V),mi(s,V),i===null){yj(s);var D=s.memoizedState;if(D!==null){var x=D.dehydrated;if(x!==null)return xaa(s,x)}var W=Z.children,J=Z.fallback;if(L){var M0=Naa(s,W,J,v),b0=s.child;return b0.memoizedState=IP(v),s.memoizedState=TP,M0}else return DP(s,W)}else{var U0=i.memoizedState;if(U0!==null){var q0=U0.dehydrated;if(q0!==null)return Raa(i,s,_,Z,q0,U0,v)}if(L){var K0=Z.fallback,N1=Z.children,ge=Iaa(i,s,N1,K0,v),ue=s.child,d2=i.child.memoizedState;return ue.memoizedState=d2===null?IP(v):kaa(d2,v),ue.childLanes=Caa(i,v),s.memoizedState=TP,ge}else{var n2=Z.children,_0=Taa(i,s,n2,v);return s.memoizedState=null,_0}}}function DP(i,s,v){var Z=i.mode,V={mode:"visible",children:s},L=xP(V,Z);return L.return=i,i.child=L,L}function Naa(i,s,v,Z){var V=i.mode,L=i.child,_={mode:"hidden",children:s},D,x;return(V&fe)===_1&&L!==null?(D=L,D.childLanes=i1,D.pendingProps=_,i.mode&Se&&(D.actualDuration=0,D.actualStartTime=-1,D.selfBaseDuration=0,D.treeBaseDuration=0),x=Ai(v,V,Z,null)):(D=xP(_,V),x=Ai(v,V,Z,null)),D.return=i,x.return=i,D.sibling=x,i.child=D,x}function xP(i,s,v){return Hd1(i,s,i1,null)}function Hu1(i,s){return D7(i,s)}function Taa(i,s,v,Z){var V=i.child,L=V.sibling,_=Hu1(V,{mode:"visible",children:v});if((s.mode&fe)===_1&&(_.lanes=Z),_.return=s,_.sibling=null,L!==null){var D=s.deletions;D===null?(s.deletions=[L],s.flags|=M2):D.push(L)}return s.child=_,_}function Iaa(i,s,v,Z,V){var L=s.mode,_=i.child,D=_.sibling,x={mode:"hidden",children:v},W;if((L&fe)===_1&&s.child!==_){var J=s.child;W=J,W.childLanes=i1,W.pendingProps=x,s.mode&Se&&(W.actualDuration=0,W.actualStartTime=-1,W.selfBaseDuration=_.selfBaseDuration,W.treeBaseDuration=_.treeBaseDuration),s.deletions=null}else W=Hu1(_,x),W.subtreeFlags=_.subtreeFlags&Tt;var M0;return D!==null?M0=D7(D,Z):(M0=Ai(Z,L,V,null),M0.flags|=Q2),M0.return=s,W.return=s,W.sibling=M0,s.child=W,M0}function Wb(i,s,v,Z){Z!==null&&bj(Z),Ss(s,i.child,null,v);var V=s.pendingProps,L=V.children,_=DP(s,L);return _.flags|=Q2,s.memoizedState=null,_}function Daa(i,s,v,Z,V){var L=s.mode,_={mode:"visible",children:v},D=xP(_,L),x=Ai(Z,L,V,null);return x.flags|=Q2,D.return=s,x.return=s,D.sibling=x,s.child=D,(s.mode&fe)!==_1&&Ss(s,i.child,null,V),x}function xaa(i,s,v){return(i.mode&fe)===_1?(m("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."),i.lanes=se):lj(s)?i.lanes=Yr:i.lanes=M6,null}function Raa(i,s,v,Z,V,L,_){if(v)if(s.flags&ga){s.flags&=~ga;var _0=$P(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Wb(i,s,_,_0)}else{if(s.memoizedState!==null)return s.child=i.child,s.flags|=ke,null;var X0=Z.children,C0=Z.fallback,g1=Daa(i,s,X0,C0,_),q1=s.child;return q1.memoizedState=IP(_),s.memoizedState=TP,g1}else{if(Sta(),(s.mode&fe)===_1)return Wb(i,s,_,null);if(lj(V)){var D,x,W;{var J=q8a(V);D=J.digest,x=J.message,W=J.stack}var M0;x?M0=new Error(x):M0=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var b0=$P(M0,D,W);return Wb(i,s,_,b0)}var U0=Ka(_,i.childLanes);if(on||U0){var q0=nH();if(q0!==null){var K0=jp(q0,_);if(K0!==K2&&K0!==L.retryLane){L.retryLane=K0;var N1=r8;n4(i,K0),Wt(q0,i,K0,N1)}}ck();var ge=$P(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 Wb(i,s,_,ge)}else if(Bs1(V)){s.flags|=ke,s.child=i.child;var ue=p4a.bind(null,i);return W8a(V,ue),null}else{jta(s,V,L.treeContext);var d2=Z.children,n2=DP(s,d2);return n2.flags|=X4,n2}}}function Eu1(i,s,v){i.lanes=xe(i.lanes,s);var Z=i.alternate;Z!==null&&(Z.lanes=xe(Z.lanes,s)),Fj(i.return,s,v)}function zaa(i,s,v){for(var Z=s;Z!==null;){if(Z.tag===I){var V=Z.memoizedState;V!==null&&Eu1(Z,v,i)}else if(Z.tag===a0)Eu1(Z,v,i);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===i)return;for(;Z.sibling===null;){if(Z.return===null||Z.return===i)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}function Uaa(i){for(var s=i,v=null;s!==null;){var Z=s.alternate;Z!==null&&Vb(Z)===null&&(v=s),s=s.sibling}return v}function Baa(i){if(i!==void 0&&i!=="forwards"&&i!=="backwards"&&i!=="together"&&!kP[i])if(kP[i]=!0,typeof i=="string")switch(i.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',i,i.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',i,i.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i)}function qaa(i,s){i!==void 0&&!qb[i]&&(i!=="collapsed"&&i!=="hidden"?(qb[i]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',i)):s!=="forwards"&&s!=="backwards"&&(qb[i]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)))}function Mu1(i,s){{var v=A2(i),Z=!v&&typeof We(i)=="function";if(v||Z){var V=v?"array":"iterable";return m("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>",V,s,V),!1}}return!0}function Waa(i,s){if((s==="forwards"||s==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(A2(i)){for(var v=0;v<i.length;v++)if(!Mu1(i[v],v))return}else{var Z=We(i);if(typeof Z=="function"){var V=Z.call(i);if(V)for(var L=V.next(),_=0;!L.done;L=V.next()){if(!Mu1(L.value,_))return;_++}}else m('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?',s)}}function RP(i,s,v,Z,V){var L=i.memoizedState;L===null?i.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:Z,tail:v,tailMode:V}:(L.isBackwards=s,L.rendering=null,L.renderingStartTime=0,L.last=Z,L.tail=v,L.tailMode=V)}function Vu1(i,s,v){var Z=s.pendingProps,V=Z.revealOrder,L=Z.tail,_=Z.children;Baa(V),qaa(L,V),Waa(_,V),w6(i,s,_,v);var D=rn.current,x=Dj(D,bh);if(x)D=xj(D,bh),s.flags|=ke;else{var W=i!==null&&(i.flags&ke)!==ve;W&&zaa(s,s.child,v),D=Ps(D)}if(mi(s,D),(s.mode&fe)===_1)s.memoizedState=null;else switch(V){case"forwards":{var J=Uaa(s.child),M0;J===null?(M0=s.child,s.child=null):(M0=J.sibling,J.sibling=null),RP(s,!1,M0,J,L);break}case"backwards":{var b0=null,U0=s.child;for(s.child=null;U0!==null;){var q0=U0.alternate;if(q0!==null&&Vb(q0)===null){s.child=U0;break}var K0=U0.sibling;U0.sibling=b0,b0=U0,U0=K0}RP(s,!0,b0,null,L);break}case"together":{RP(s,!1,null,null,void 0);break}default:s.memoizedState=null}return s.child}function Gaa(i,s,v){Nj(s,s.stateNode.containerInfo);var Z=s.pendingProps;return i===null?s.child=Ss(s,null,Z,v):w6(i,s,Z,v),s.child}var Ou1=!1;function Yaa(i,s,v){var Z=s.type,V=Z._context,L=s.pendingProps,_=s.memoizedProps,D=L.value;{"value"in L||Ou1||(Ou1=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var x=s.type.propTypes;x&&en(x,L,"prop","Context.Provider")}if(Am1(s,V,D),_!==null){var W=_.value;if(me(W,D)){if(_.children===L.children&&!ab())return E3(i,s,v)}else Bta(s,V,v)}var J=L.children;return w6(i,s,J,v),s.child}var $u1=!1;function Qaa(i,s,v){var Z=s.type;Z._context===void 0?Z!==Z.Consumer&&($u1||($u1=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):Z=Z._context;var V=s.pendingProps,L=V.children;typeof L!="function"&&m("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."),Fs(s,v);var _=Et(Z);H6(s);var D;return Lh.current=s,Q8(!0),D=L(_),Q8(!1),E6(),s.flags|=V4,w6(i,s,D,v),s.child}function Ph(){on=!0}function Gb(i,s){(s.mode&fe)===_1&&i!==null&&(i.alternate=null,s.alternate=null,s.flags|=Q2)}function E3(i,s,v){return i!==null&&(s.dependencies=i.dependencies),au1(),Bh(s.lanes),Ka(v,s.childLanes)?(zta(i,s),s.child):null}function Kaa(i,s,v){{var Z=s.return;if(Z===null)throw new Error("Cannot swap the root fiber.");if(i.alternate=null,s.alternate=null,v.index=s.index,v.sibling=s.sibling,v.return=s.return,v.ref=s.ref,s===Z.child)Z.child=v;else{var V=Z.child;if(V===null)throw new Error("Expected parent to have a child.");for(;V.sibling!==s;)if(V=V.sibling,V===null)throw new Error("Expected to find the previous sibling.");V.sibling=v}var L=Z.deletions;return L===null?(Z.deletions=[i],Z.flags|=M2):L.push(i),v.flags|=Q2,v}}function zP(i,s){var v=i.lanes;return!!Ka(v,s)}function Xaa(i,s,v){switch(s.tag){case y:Zu1(s),s.stateNode,ws();break;case M:Om1(s);break;case g:{var Z=s.type;sl(Z)&&nb(s);break}case E:Nj(s,s.stateNode.containerInfo);break;case k:{var V=s.memoizedProps.value,L=s.type._context;Am1(s,L,V);break}case C:{var _=Ka(v,s.childLanes);_&&(s.flags|=le);{var D=s.stateNode;D.effectDuration=0,D.passiveEffectDuration=0}}break;case I:{var x=s.memoizedState;if(x!==null){if(x.dehydrated!==null)return mi(s,Ps(rn.current)),s.flags|=ke,null;var W=s.child,J=W.childLanes;if(Ka(v,J))return bu1(i,s,v);mi(s,Ps(rn.current));var M0=E3(i,s,v);return M0!==null?M0.sibling:null}else mi(s,Ps(rn.current));break}case a0:{var b0=(i.flags&ke)!==ve,U0=Ka(v,s.childLanes);if(b0){if(U0)return Vu1(i,s,v);s.flags|=ke}var q0=s.memoizedState;if(q0!==null&&(q0.rendering=null,q0.tail=null,q0.lastEffect=null),mi(s,rn.current),U0)break;return null}case l0:case e0:return s.lanes=i1,vu1(i,s,v)}return E3(i,s,v)}function wu1(i,s,v){if(s._debugNeedsRemount&&i!==null)return Kaa(i,s,Zk(s.type,s.key,s.pendingProps,s._debugOwner||null,s.mode,s.lanes));if(i!==null){var Z=i.memoizedProps,V=s.pendingProps;if(Z!==V||ab()||s.type!==i.type)on=!0;else{var L=zP(i,v);if(!L&&(s.flags&ke)===ve)return on=!1,Xaa(i,s,v);(i.flags&C9)!==ve?on=!0:on=!1}}else if(on=!1,Va()&&Eta(s)){var _=s.index,D=Mta();am1(s,D,_)}switch(s.lanes=i1,s.tag){case A:return Paa(i,s,s.type,v);case K:{var x=s.elementType;return Faa(i,s,x,v)}case h:{var W=s.type,J=s.pendingProps,M0=s.elementType===W?J:ln(W,J);return _P(i,s,W,M0,v)}case g:{var b0=s.type,U0=s.pendingProps,q0=s.elementType===b0?U0:ln(b0,U0);return Au1(i,s,b0,q0,v)}case y:return waa(i,s,v);case M:return Saa(i,s,v);case O:return Laa(i,s);case I:return bu1(i,s,v);case E:return Gaa(i,s,v);case N:{var K0=s.type,N1=s.pendingProps,ge=s.elementType===K0?N1:ln(K0,N1);return pu1(i,s,K0,ge,v)}case S:return Vaa(i,s,v);case F:return Oaa(i,s,v);case C:return $aa(i,s,v);case k:return Yaa(i,s,v);case j:return Qaa(i,s,v);case z:{var ue=s.type,d2=s.pendingProps,n2=ln(ue,d2);if(s.type!==s.elementType){var _0=ue.propTypes;_0&&en(_0,n2,"prop",Xe(ue))}return n2=ln(ue.type,n2),hu1(i,s,ue,n2,v)}case q:return fu1(i,s,s.type,s.pendingProps,v);case Y:{var X0=s.type,C0=s.pendingProps,g1=s.elementType===X0?C0:ln(X0,C0);return jaa(i,s,X0,g1,v)}case a0:return Vu1(i,s,v);case t0:break;case l0:return vu1(i,s,v)}throw new Error("Unknown unit of work tag ("+s.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Is(i){i.flags|=le}function Su1(i){i.flags|=A6,i.flags|=J4}var Lu1,UP,Fu1,ju1;Lu1=function(i,s,v,Z){for(var V=s.child;V!==null;){if(V.tag===M||V.tag===O)y8a(i,V.stateNode);else if(V.tag!==E){if(V.child!==null){V.child.return=V,V=V.child;continue}}if(V===s)return;for(;V.sibling===null;){if(V.return===null||V.return===s)return;V=V.return}V.sibling.return=V.return,V=V.sibling}},UP=function(i,s){},Fu1=function(i,s,v,Z,V){var L=i.memoizedProps;if(L!==Z){var _=s.stateNode,D=Tj(),x=H8a(_,v,L,Z,V,D);s.updateQueue=x,x&&Is(s)}},ju1=function(i,s,v,Z){v!==Z&&Is(s)};function kh(i,s){if(!Va())switch(i.tailMode){case"hidden":{for(var v=i.tail,Z=null;v!==null;)v.alternate!==null&&(Z=v),v=v.sibling;Z===null?i.tail=null:Z.sibling=null;break}case"collapsed":{for(var V=i.tail,L=null;V!==null;)V.alternate!==null&&(L=V),V=V.sibling;L===null?!s&&i.tail!==null?i.tail.sibling=null:i.tail=null:L.sibling=null;break}}}function $a(i){var s=i.alternate!==null&&i.alternate.child===i.child,v=i1,Z=ve;if(s){if((i.mode&Se)!==_1){for(var x=i.selfBaseDuration,W=i.child;W!==null;)v=xe(v,xe(W.lanes,W.childLanes)),Z|=W.subtreeFlags&Tt,Z|=W.flags&Tt,x+=W.treeBaseDuration,W=W.sibling;i.treeBaseDuration=x}else for(var J=i.child;J!==null;)v=xe(v,xe(J.lanes,J.childLanes)),Z|=J.subtreeFlags&Tt,Z|=J.flags&Tt,J.return=i,J=J.sibling;i.subtreeFlags|=Z}else{if((i.mode&Se)!==_1){for(var V=i.actualDuration,L=i.selfBaseDuration,_=i.child;_!==null;)v=xe(v,xe(_.lanes,_.childLanes)),Z|=_.subtreeFlags,Z|=_.flags,V+=_.actualDuration,L+=_.treeBaseDuration,_=_.sibling;i.actualDuration=V,i.treeBaseDuration=L}else for(var D=i.child;D!==null;)v=xe(v,xe(D.lanes,D.childLanes)),Z|=D.subtreeFlags,Z|=D.flags,D.return=i,D=D.sibling;i.subtreeFlags|=Z}return i.childLanes=v,s}function Jaa(i,s,v){if(Nta()&&(s.mode&fe)!==_1&&(s.flags&ke)===ve)return sm1(s),ws(),s.flags|=ga|Bn|Nt,!1;var Z=sb(s);if(v!==null&&v.dehydrated!==null)if(i===null){if(!Z)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(_ta(s),$a(s),(s.mode&Se)!==_1){var V=v!==null;if(V){var L=s.child;L!==null&&(s.treeBaseDuration-=L.treeBaseDuration)}}return!1}else{if(ws(),(s.flags&ke)===ve&&(s.memoizedState=null),s.flags|=le,$a(s),(s.mode&Se)!==_1){var _=v!==null;if(_){var D=s.child;D!==null&&(s.treeBaseDuration-=D.treeBaseDuration)}}return!1}else return mm1(),!0}function Pu1(i,s,v){var Z=s.pendingProps;switch(vj(s),s.tag){case A:case K:case q:case h:case N:case S:case F:case C:case j:case z:return $a(s),null;case g:{var V=s.type;return sl(V)&&rb(s),$a(s),null}case y:{var L=s.stateNode;if(js(s),dj(s),zj(),L.pendingContext&&(L.context=L.pendingContext,L.pendingContext=null),i===null||i.child===null){var _=sb(s);if(_)Is(s);else if(i!==null){var D=i.memoizedState;(!D.isDehydrated||(s.flags&ga)!==ve)&&(s.flags|=X8,mm1())}}return UP(i,s),$a(s),null}case M:{Ij(s);var x=Vm1(),W=s.type;if(i!==null&&s.stateNode!=null)Fu1(i,s,W,Z,x),i.ref!==s.ref&&Su1(s);else{if(!Z){if(s.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 $a(s),null}var J=Tj(),M0=sb(s);if(M0)Pta(s,x,J)&&Is(s);else{var b0=Z8a(W,Z,x,J,s);Lu1(b0,s,!1,!1),s.stateNode=b0,b8a(b0,W,Z,x)&&Is(s)}s.ref!==null&&Su1(s)}return $a(s),null}case O:{var U0=Z;if(i&&s.stateNode!=null){var q0=i.memoizedProps;ju1(i,s,q0,U0)}else{if(typeof U0!="string"&&s.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 K0=Vm1(),N1=Tj(),ge=sb(s);ge?kta(s)&&Is(s):s.stateNode=E8a(U0,K0,N1,s)}return $a(s),null}case I:{ks(s);var ue=s.memoizedState;if(i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){var d2=Jaa(i,s,ue);if(!d2)return s.flags&Nt?s:null}if((s.flags&ke)!==ve)return s.lanes=v,(s.mode&Se)!==_1&&hP(s),s;var n2=ue!==null,_0=i!==null&&i.memoizedState!==null;if(n2!==_0&&n2){var X0=s.child;if(X0.flags|=Un,(s.mode&fe)!==_1){var C0=i===null&&(s.memoizedProps.unstable_avoidThisFallback!==!0||!n0);C0||Dj(rn.current,wm1)?e4a():ck()}}var g1=s.updateQueue;if(g1!==null&&(s.flags|=le),$a(s),(s.mode&Se)!==_1&&n2){var q1=s.child;q1!==null&&(s.treeBaseDuration-=q1.treeBaseDuration)}return null}case E:return js(s),UP(i,s),i===null&&vta(s.stateNode.containerInfo),$a(s),null;case k:var D1=s.type._context;return Lj(D1,s),$a(s),null;case Y:{var Oe=s.type;return sl(Oe)&&rb(s),$a(s),null}case a0:{ks(s);var Ne=s.memoizedState;if(Ne===null)return $a(s),null;var q2=(s.flags&ke)!==ve,V2=Ne.rendering;if(V2===null)if(q2)kh(Ne,!1);else{var dt=a4a()&&(i===null||(i.flags&ke)===ve);if(!dt)for(var O2=s.child;O2!==null;){var tt=Vb(O2);if(tt!==null){q2=!0,s.flags|=ke,kh(Ne,!1);var t6=tt.updateQueue;return t6!==null&&(s.updateQueue=t6,s.flags|=le),s.subtreeFlags=ve,Uta(s,v),mi(s,xj(rn.current,bh)),s.child}O2=O2.sibling}Ne.tail!==null&&J8()>ed1()&&(s.flags|=ke,q2=!0,kh(Ne,!1),s.lanes=dy)}else{if(!q2){var ja=Vb(V2);if(ja!==null){s.flags|=ke,q2=!0;var P4=ja.updateQueue;if(P4!==null&&(s.updateQueue=P4,s.flags|=le),kh(Ne,!0),Ne.tail===null&&Ne.tailMode==="hidden"&&!V2.alternate&&!Va())return $a(s),null}else J8()*2-Ne.renderingStartTime>ed1()&&v!==M6&&(s.flags|=ke,q2=!0,kh(Ne,!1),s.lanes=dy)}if(Ne.isBackwards)V2.sibling=s.child,s.child=V2;else{var F6=Ne.last;F6!==null?F6.sibling=V2:s.child=V2,Ne.last=V2}}if(Ne.tail!==null){var j6=Ne.tail;Ne.rendering=j6,Ne.tail=j6.sibling,Ne.renderingStartTime=J8(),j6.sibling=null;var a6=rn.current;return q2?a6=xj(a6,bh):a6=Ps(a6),mi(s,a6),j6}return $a(s),null}case t0:break;case l0:case e0:{ik(s);var w3=s.memoizedState,Ws=w3!==null;if(i!==null){var Qh=i.memoizedState,gl=Qh!==null;gl!==Ws&&!G&&(s.flags|=Un)}return!Ws||(s.mode&fe)===_1?$a(s):Ka(vl,M6)&&($a(s),s.subtreeFlags&(Q2|le)&&(s.flags|=Un)),null}case G0:return null;case y0:return null}throw new Error("Unknown unit of work tag ("+s.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function e6a(i,s,v){switch(vj(s),s.tag){case g:{var Z=s.type;sl(Z)&&rb(s);var V=s.flags;return V&Nt?(s.flags=V&~Nt|ke,(s.mode&Se)!==_1&&hP(s),s):null}case y:{s.stateNode,js(s),dj(s),zj();var L=s.flags;return(L&Nt)!==ve&&(L&ke)===ve?(s.flags=L&~Nt|ke,s):null}case M:return Ij(s),null;case I:{ks(s);var _=s.memoizedState;if(_!==null&&_.dehydrated!==null){if(s.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ws()}var D=s.flags;return D&Nt?(s.flags=D&~Nt|ke,(s.mode&Se)!==_1&&hP(s),s):null}case a0:return ks(s),null;case E:return js(s),null;case k:var x=s.type._context;return Lj(x,s),null;case l0:case e0:return ik(s),null;case G0:return null;default:return null}}function ku1(i,s,v){switch(vj(s),s.tag){case g:{var Z=s.type.childContextTypes;Z!=null&&rb(s);break}case y:{s.stateNode,js(s),dj(s),zj();break}case M:{Ij(s);break}case E:js(s);break;case I:ks(s);break;case a0:ks(s);break;case k:var V=s.type._context;Lj(V,s);break;case l0:case e0:ik(s);break}}var _u1=null;_u1=new Set;var Yb=!1,wa=!1,t6a=typeof WeakSet=="function"?WeakSet:Set,J1=null,Ds=null,xs=null;function a6a(i){M4(null,function(){throw i}),Ur()}var r6a=function(i,s){if(s.props=i.memoizedProps,s.state=i.memoizedState,i.mode&Se)try{hl(),s.componentWillUnmount()}finally{pl(i)}else s.componentWillUnmount()};function Cu1(i,s){try{pi(xt,i)}catch(v){d8(i,s,v)}}function BP(i,s,v){try{r6a(i,v)}catch(Z){d8(i,s,Z)}}function n6a(i,s,v){try{v.componentDidMount()}catch(Z){d8(i,s,Z)}}function Nu1(i,s){try{Iu1(i)}catch(v){d8(i,s,v)}}function Rs(i,s){var v=i.ref;if(v!==null)if(typeof v=="function"){var Z;try{if(z0&&X&&i.mode&Se)try{hl(),Z=v(null)}finally{pl(i)}else Z=v(null)}catch(V){d8(i,s,V)}typeof Z=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ee(i))}else v.current=null}function Qb(i,s,v){try{v()}catch(Z){d8(i,s,Z)}}var Tu1=!1;function l6a(i,s){g8a(i.containerInfo),J1=s,o6a();var v=Tu1;return Tu1=!1,v}function o6a(){for(;J1!==null;){var i=J1,s=i.child;(i.subtreeFlags&qa)!==ve&&s!==null?(s.return=i,J1=s):i6a()}}function i6a(){for(;J1!==null;){var i=J1;t8(i);try{c6a(i)}catch(v){d8(i,i.return,v)}F2();var s=i.sibling;if(s!==null){s.return=i.return,J1=s;return}J1=i.return}}function c6a(i){var s=i.alternate,v=i.flags;if((v&X8)!==ve){switch(t8(i),i.tag){case h:case N:case q:break;case g:{if(s!==null){var Z=s.memoizedProps,V=s.memoizedState,L=i.stateNode;i.type===i.elementType&&!_7&&(L.props!==i.memoizedProps&&m("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.",Ee(i)||"instance"),L.state!==i.memoizedState&&m("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.",Ee(i)||"instance"));var _=L.getSnapshotBeforeUpdate(i.elementType===i.type?Z:ln(i.type,Z),V);{var D=_u1;_===void 0&&!D.has(i.type)&&(D.add(i.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ee(i)))}L.__reactInternalSnapshotBeforeUpdate=_}break}case y:{{var x=i.stateNode;R8a(x.containerInfo)}break}case M:case O:case E:case Y: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.")}F2()}}function cn(i,s,v){var Z=s.updateQueue,V=Z!==null?Z.lastEffect:null;if(V!==null){var L=V.next,_=L;do{if((_.tag&i)===i){var D=_.destroy;_.destroy=void 0,D!==void 0&&((i&Oa)!==l4?z9(s):(i&xt)!==l4&&Po(s),(i&ml)!==l4&&Wh(!0),Qb(s,v,D),(i&ml)!==l4&&Wh(!1),(i&Oa)!==l4?my():(i&xt)!==l4&&ko())}_=_.next}while(_!==L)}}function pi(i,s){var v=s.updateQueue,Z=v!==null?v.lastEffect:null;if(Z!==null){var V=Z.next,L=V;do{if((L.tag&i)===i){(i&Oa)!==l4?R9(s):(i&xt)!==l4&&Y5(s);var _=L.create;(i&ml)!==l4&&Wh(!0),L.destroy=_(),(i&ml)!==l4&&Wh(!1),(i&Oa)!==l4?sy():(i&xt)!==l4&&er();{var D=L.destroy;if(D!==void 0&&typeof D!="function"){var x=void 0;(L.tag&xt)!==ve?x="useLayoutEffect":(L.tag&ml)!==ve?x="useInsertionEffect":x="useEffect";var W=void 0;D===null?W=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof D.then=="function"?W=`
194
194
 
195
195
  It looks like you wrote `+x+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
196
196
 
@@ -274,10 +274,10 @@ Url: ${ff(a)}`),!0)}function Vf1(a,e){return a.type||!e||!e.length?!1:Sf1(a).som
274
274
  * LICENSE.md file in the root directory of this source tree.
275
275
  *
276
276
  * @license MIT
277
- */function V8(){return V8=Object.assign?Object.assign.bind():function(a){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(a[n]=r[n])}return a},V8.apply(this,arguments)}var dt;(function(a){a.Pop="POP",a.Push="PUSH",a.Replace="REPLACE"})(dt||(dt={}));const FC="popstate";function zv1(a){a===void 0&&(a={});function e(n,l){let{pathname:o,search:c,hash:m}=n.location;return dm("",{pathname:o,search:c,hash:m},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function r(n,l){return typeof l=="string"?l:k3(l)}return Bv1(e,r,null,a)}function He(a,e){if(a===!1||a===null||typeof a>"u")throw new Error(e)}function Mt(a,e){if(!a){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Uv1(){return Math.random().toString(36).substr(2,8)}function jC(a,e){return{usr:a.state,key:a.key,idx:e}}function dm(a,e,r,n){return r===void 0&&(r=null),V8({pathname:typeof a=="string"?a:a.pathname,search:"",hash:""},typeof e=="string"?_3(e):e,{state:r,key:e&&e.key||n||Uv1()})}function k3(a){let{pathname:e="/",search:r="",hash:n=""}=a;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function _3(a){let e={};if(a){let r=a.indexOf("#");r>=0&&(e.hash=a.substr(r),a=a.substr(0,r));let n=a.indexOf("?");n>=0&&(e.search=a.substr(n),a=a.substr(0,n)),a&&(e.pathname=a)}return e}function Bv1(a,e,r,n){n===void 0&&(n={});let{window:l=document.defaultView,v5Compat:o=!1}=n,c=l.history,m=dt.Pop,u=null,h=g();h==null&&(h=0,c.replaceState(V8({},c.state,{idx:h}),""));function g(){return(c.state||{idx:null}).idx}function A(){m=dt.Pop;let S=g(),F=S==null?null:S-h;h=S,u&&u({action:m,location:O.location,delta:F})}function y(S,F){m=dt.Push;let j=dm(O.location,S,F);h=g()+1;let k=jC(j,h),N=O.createHref(j);try{c.pushState(k,"",N)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(N)}o&&u&&u({action:m,location:O.location,delta:1})}function E(S,F){m=dt.Replace;let j=dm(O.location,S,F);h=g();let k=jC(j,h),N=O.createHref(j);c.replaceState(k,"",N),o&&u&&u({action:m,location:O.location,delta:0})}function M(S){let F=l.location.origin!=="null"?l.location.origin:l.location.href,j=typeof S=="string"?S:k3(S);return j=j.replace(/ $/,"%20"),He(F,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,F)}let O={get action(){return m},get location(){return a(l,c)},listen(S){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(FC,A),u=S,()=>{l.removeEventListener(FC,A),u=null}},createHref(S){return e(l,S)},createURL:M,encodeLocation(S){let F=M(S);return{pathname:F.pathname,search:F.search,hash:F.hash}},push:y,replace:E,go(S){return c.go(S)}};return O}var X2;(function(a){a.data="data",a.deferred="deferred",a.redirect="redirect",a.error="error"})(X2||(X2={}));const qv1=new Set(["lazy","caseSensitive","path","id","index","children"]);function Wv1(a){return a.index===!0}function Af(a,e,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),a.map((l,o)=>{let c=[...r,String(o)],m=typeof l.id=="string"?l.id:c.join("-");if(He(l.index!==!0||!l.children,"Cannot specify children on an index route"),He(!n[m],'Found a route id collision on id "'+m+`". Route id's must be globally unique within Data Router usages`),Wv1(l)){let u=V8({},l,e(l),{id:m});return n[m]=u,u}else{let u=V8({},l,e(l),{id:m,children:void 0});return n[m]=u,l.children&&(u.children=Af(l.children,e,c,n)),u}})}function Mi(a,e,r){return r===void 0&&(r="/"),Zf(a,e,r,!1)}function Zf(a,e,r,n){let l=typeof e=="string"?_3(e):e,o=vr(l.pathname||"/",r);if(o==null)return null;let c=PC(a);Yv1(c);let m=null;for(let u=0;m==null&&u<c.length;++u){let h=og1(o);m=ng1(c[u],h,n)}return m}function Gv1(a,e){let{route:r,pathname:n,params:l}=a;return{id:r.id,pathname:n,params:l,data:e[r.id],handle:r.handle}}function PC(a,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let l=(o,c,m)=>{let u={relativePath:m===void 0?o.path||"":m,caseSensitive:o.caseSensitive===!0,childrenIndex:c,route:o};u.relativePath.startsWith("/")&&(He(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let h=hn([n,u.relativePath]),g=r.concat(u);o.children&&o.children.length>0&&(He(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),PC(o.children,e,g,h)),!(o.path==null&&!o.index)&&e.push({path:h,score:ag1(h,o.index),routesMeta:g})};return a.forEach((o,c)=>{var m;if(o.path===""||!((m=o.path)!=null&&m.includes("?")))l(o,c);else for(let u of kC(o.path))l(o,c,u)}),e}function kC(a){let e=a.split("/");if(e.length===0)return[];let[r,...n]=e,l=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return l?[o,""]:[o];let c=kC(n.join("/")),m=[];return m.push(...c.map(u=>u===""?o:[o,u].join("/"))),l&&m.push(...c),m.map(u=>a.startsWith("/")&&u===""?"/":u)}function Yv1(a){a.sort((e,r)=>e.score!==r.score?r.score-e.score:rg1(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Qv1=/^:[\w-]+$/,Kv1=3,Xv1=2,Jv1=1,eg1=10,tg1=-2,_C=a=>a==="*";function ag1(a,e){let r=a.split("/"),n=r.length;return r.some(_C)&&(n+=tg1),e&&(n+=Xv1),r.filter(l=>!_C(l)).reduce((l,o)=>l+(Qv1.test(o)?Kv1:o===""?Jv1:eg1),n)}function rg1(a,e){return a.length===e.length&&a.slice(0,-1).every((n,l)=>n===e[l])?a[a.length-1]-e[e.length-1]:0}function ng1(a,e,r){r===void 0&&(r=!1);let{routesMeta:n}=a,l={},o="/",c=[];for(let m=0;m<n.length;++m){let u=n[m],h=m===n.length-1,g=o==="/"?e:e.slice(o.length)||"/",A=yf({path:u.relativePath,caseSensitive:u.caseSensitive,end:h},g),y=u.route;if(!A&&h&&r&&!n[n.length-1].route.index&&(A=yf({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},g)),!A)return null;Object.assign(l,A.params),c.push({params:l,pathname:hn([o,A.pathname]),pathnameBase:sg1(hn([o,A.pathnameBase])),route:y}),A.pathnameBase!=="/"&&(o=hn([o,A.pathnameBase]))}return c}function yf(a,e){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[r,n]=lg1(a.path,a.caseSensitive,a.end),l=e.match(r);if(!l)return null;let o=l[0],c=o.replace(/(.)\/+$/,"$1"),m=l.slice(1);return{params:n.reduce((h,g,A)=>{let{paramName:y,isOptional:E}=g;if(y==="*"){let O=m[A]||"";c=o.slice(0,o.length-O.length).replace(/(.)\/+$/,"$1")}const M=m[A];return E&&!M?h[y]=void 0:h[y]=(M||"").replace(/%2F/g,"/"),h},{}),pathname:o,pathnameBase:c,pattern:a}}function lg1(a,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),Mt(a==="*"||!a.endsWith("*")||a.endsWith("/*"),'Route path "'+a+'" will be treated as if it were '+('"'+a.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+a.replace(/\*$/,"/*")+'".'));let n=[],l="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,m,u)=>(n.push({paramName:m,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(n.push({paramName:"*"}),l+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?l+="\\/*$":a!==""&&a!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,e?void 0:"i"),n]}function og1(a){try{return a.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Mt(!1,'The URL path "'+a+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),a}}function vr(a,e){if(e==="/")return a;if(!a.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=a.charAt(r);return n&&n!=="/"?null:a.slice(r)||"/"}function ig1(a,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:l=""}=typeof a=="string"?_3(a):a;return{pathname:r?r.startsWith("/")?r:cg1(r,e):e,search:mg1(n),hash:ug1(l)}}function cg1(a,e){let r=e.replace(/\/+$/,"").split("/");return a.split("/").forEach(l=>{l===".."?r.length>1&&r.pop():l!=="."&&r.push(l)}),r.length>1?r.join("/"):"/"}function XH(a,e,r,n){return"Cannot include a '"+a+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function CC(a){return a.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function JH(a,e){let r=CC(a);return e?r.map((n,l)=>l===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function eE(a,e,r,n){n===void 0&&(n=!1);let l;typeof a=="string"?l=_3(a):(l=V8({},a),He(!l.pathname||!l.pathname.includes("?"),XH("?","pathname","search",l)),He(!l.pathname||!l.pathname.includes("#"),XH("#","pathname","hash",l)),He(!l.search||!l.search.includes("#"),XH("#","search","hash",l)));let o=a===""||l.pathname==="",c=o?"/":l.pathname,m;if(c==null)m=r;else{let A=e.length-1;if(!n&&c.startsWith("..")){let y=c.split("/");for(;y[0]==="..";)y.shift(),A-=1;l.pathname=y.join("/")}m=A>=0?e[A]:"/"}let u=ig1(l,m),h=c&&c!=="/"&&c.endsWith("/"),g=(o||c===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(h||g)&&(u.pathname+="/"),u}const hn=a=>a.join("/").replace(/\/\/+/g,"/"),sg1=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),mg1=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,ug1=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;class bf{constructor(e,r,n,l){l===void 0&&(l=!1),this.status=e,this.statusText=r||"",this.internal=l,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Hf(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}const NC=["post","put","patch","delete"],dg1=new Set(NC),pg1=["get",...NC],hg1=new Set(pg1),fg1=new Set([301,302,303,307,308]),vg1=new Set([307,308]),tE={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gg1={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},pm={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},aE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ag1=a=>({hasErrorBoundary:!!a.hasErrorBoundary}),TC="remix-router-transitions";function Zg1(a){const e=a.window?a.window:typeof window<"u"?window:void 0,r=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u",n=!r;He(a.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(a.mapRouteProperties)l=a.mapRouteProperties;else if(a.detectErrorBoundary){let u0=a.detectErrorBoundary;l=V0=>({hasErrorBoundary:u0(V0)})}else l=Ag1;let o={},c=Af(a.routes,l,void 0,o),m,u=a.basename||"/",h=a.dataStrategy||Eg1,g=a.patchRoutesOnNavigation,A=V8({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},a.future),y=null,E=new Set,M=null,O=null,S=null,F=a.hydrationData!=null,j=Mi(c,a.history.location,u),k=null;if(j==null&&!g){let u0=C6(404,{pathname:a.history.location.pathname}),{matches:V0,route:T0}=KC(c);j=V0,k={[T0.id]:u0}}j&&!a.hydrationData&&Ft(j,c,a.history.location.pathname).active&&(j=null);let N;if(j)if(j.some(u0=>u0.route.lazy))N=!1;else if(!j.some(u0=>u0.route.loader))N=!0;else if(A.v7_partialHydration){let u0=a.hydrationData?a.hydrationData.loaderData:null,V0=a.hydrationData?a.hydrationData.errors:null;if(V0){let T0=j.findIndex(a1=>V0[a1.route.id]!==void 0);N=j.slice(0,T0+1).every(a1=>!nE(a1.route,u0,V0))}else N=j.every(T0=>!nE(T0.route,u0,V0))}else N=a.hydrationData!=null;else if(N=!1,j=[],A.v7_partialHydration){let u0=Ft(null,c,a.history.location.pathname);u0.active&&u0.matches&&(j=u0.matches)}let C,I={historyAction:a.history.action,location:a.history.location,matches:j,initialized:N,navigation:tE,restoreScrollPosition:a.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:a.hydrationData&&a.hydrationData.loaderData||{},actionData:a.hydrationData&&a.hydrationData.actionData||null,errors:a.hydrationData&&a.hydrationData.errors||k,fetchers:new Map,blockers:new Map},z=dt.Pop,q=!1,K,Y=!1,o0=new Map,a0=null,t0=!1,l0=!1,e0=[],G0=new Set,y0=new Map,g0=0,L0=-1,B=new Map,G=new Set,n0=new Map,d0=new Map,O0=new Set,S0=new Map,c0=new Map,z0;function X(){if(y=a.history.listen(u0=>{let{action:V0,location:T0,delta:a1}=u0;if(z0){z0(),z0=void 0;return}Mt(c0.size===0||a1!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let O1=i8({currentLocation:I.location,nextLocation:T0,historyAction:V0});if(O1&&a1!=null){let V1=new Promise(Y1=>{z0=Y1});a.history.go(a1*-1),f2(O1,{state:"blocked",location:T0,proceed(){f2(O1,{state:"proceeding",proceed:void 0,reset:void 0,location:T0}),V1.then(()=>a.history.go(a1))},reset(){let Y1=new Map(I.blockers);Y1.set(O1,pm),Z0({blockers:Y1})}});return}return k0(V0,T0)}),r){Ng1(e,o0);let u0=()=>Tg1(e,o0);e.addEventListener("pagehide",u0),a0=()=>e.removeEventListener("pagehide",u0)}return I.initialized||k0(dt.Pop,I.location,{initialHydration:!0}),C}function h0(){y&&y(),a0&&a0(),E.clear(),K&&K.abort(),I.fetchers.forEach((u0,V0)=>Ie(V0)),I.blockers.forEach((u0,V0)=>Z2(V0))}function f0(u0){return E.add(u0),()=>E.delete(u0)}function Z0(u0,V0){V0===void 0&&(V0={}),I=V8({},I,u0);let T0=[],a1=[];A.v7_fetcherPersist&&I.fetchers.forEach((O1,V1)=>{O1.state==="idle"&&(O0.has(V1)?a1.push(V1):T0.push(V1))}),[...E].forEach(O1=>O1(I,{deletedFetchers:a1,viewTransitionOpts:V0.viewTransitionOpts,flushSync:V0.flushSync===!0})),A.v7_fetcherPersist&&(T0.forEach(O1=>I.fetchers.delete(O1)),a1.forEach(O1=>Ie(O1)))}function v0(u0,V0,T0){var a1,O1;let{flushSync:V1}=T0===void 0?{}:T0,Y1=I.actionData!=null&&I.navigation.formMethod!=null&&gr(I.navigation.formMethod)&&I.navigation.state==="loading"&&((a1=u0.state)==null?void 0:a1._isRedirect)!==!0,F1;V0.actionData?Object.keys(V0.actionData).length>0?F1=V0.actionData:F1=null:Y1?F1=I.actionData:F1=null;let Q=V0.loaderData?YC(I.loaderData,V0.loaderData,V0.matches||[],V0.errors):I.loaderData,w0=I.blockers;w0.size>0&&(w0=new Map(w0),w0.forEach((h1,ae)=>w0.set(ae,pm)));let I0=q===!0||I.navigation.formMethod!=null&&gr(I.navigation.formMethod)&&((O1=u0.state)==null?void 0:O1._isRedirect)!==!0;m&&(c=m,m=void 0),t0||z===dt.Pop||(z===dt.Push?a.history.push(u0,u0.state):z===dt.Replace&&a.history.replace(u0,u0.state));let J0;if(z===dt.Pop){let h1=o0.get(I.location.pathname);h1&&h1.has(u0.pathname)?J0={currentLocation:I.location,nextLocation:u0}:o0.has(u0.pathname)&&(J0={currentLocation:u0,nextLocation:I.location})}else if(Y){let h1=o0.get(I.location.pathname);h1?h1.add(u0.pathname):(h1=new Set([u0.pathname]),o0.set(I.location.pathname,h1)),J0={currentLocation:I.location,nextLocation:u0}}Z0(V8({},V0,{actionData:F1,loaderData:Q,historyAction:z,location:u0,initialized:!0,navigation:tE,revalidation:"idle",restoreScrollPosition:f8(u0,V0.matches||I.matches),preventScrollReset:I0,blockers:w0}),{viewTransitionOpts:J0,flushSync:V1===!0}),z=dt.Pop,q=!1,Y=!1,t0=!1,l0=!1,e0=[]}async function A0(u0,V0){if(typeof u0=="number"){a.history.go(u0);return}let T0=rE(I.location,I.matches,u,A.v7_prependBasename,u0,A.v7_relativeSplatPath,V0==null?void 0:V0.fromRouteId,V0==null?void 0:V0.relative),{path:a1,submission:O1,error:V1}=IC(A.v7_normalizeFormMethod,!1,T0,V0),Y1=I.location,F1=dm(I.location,a1,V0&&V0.state);F1=V8({},F1,a.history.encodeLocation(F1));let Q=V0&&V0.replace!=null?V0.replace:void 0,w0=dt.Push;Q===!0?w0=dt.Replace:Q===!1||O1!=null&&gr(O1.formMethod)&&O1.formAction===I.location.pathname+I.location.search&&(w0=dt.Replace);let I0=V0&&"preventScrollReset"in V0?V0.preventScrollReset===!0:void 0,J0=(V0&&V0.flushSync)===!0,h1=i8({currentLocation:Y1,nextLocation:F1,historyAction:w0});if(h1){f2(h1,{state:"blocked",location:F1,proceed(){f2(h1,{state:"proceeding",proceed:void 0,reset:void 0,location:F1}),A0(u0,V0)},reset(){let ae=new Map(I.blockers);ae.set(h1,pm),Z0({blockers:ae})}});return}return await k0(w0,F1,{submission:O1,pendingError:V1,preventScrollReset:I0,replace:V0&&V0.replace,enableViewTransition:V0&&V0.viewTransition,flushSync:J0})}function x0(){if(w1(),Z0({revalidation:"loading"}),I.navigation.state!=="submitting"){if(I.navigation.state==="idle"){k0(I.historyAction,I.location,{startUninterruptedRevalidation:!0});return}k0(z||I.historyAction,I.navigation.location,{overrideNavigation:I.navigation,enableViewTransition:Y===!0})}}async function k0(u0,V0,T0){K&&K.abort(),K=null,z=u0,t0=(T0&&T0.startUninterruptedRevalidation)===!0,v2(I.location,I.matches),q=(T0&&T0.preventScrollReset)===!0,Y=(T0&&T0.enableViewTransition)===!0;let a1=m||c,O1=T0&&T0.overrideNavigation,V1=Mi(a1,V0,u),Y1=(T0&&T0.flushSync)===!0,F1=Ft(V1,a1,V0.pathname);if(F1.active&&F1.matches&&(V1=F1.matches),!V1){let{error:k1,notFoundMatches:y1,route:Ve}=Be(V0.pathname);v0(V0,{matches:y1,loaderData:{},errors:{[Ve.id]:k1}},{flushSync:Y1});return}if(I.initialized&&!l0&&Sg1(I.location,V0)&&!(T0&&T0.submission&&gr(T0.submission.formMethod))){v0(V0,{matches:V1},{flushSync:Y1});return}K=new AbortController;let Q=Y7(a.history,V0,K.signal,T0&&T0.submission),w0;if(T0&&T0.pendingError)w0=[Vi(V1).route.id,{type:X2.error,error:T0.pendingError}];else if(T0&&T0.submission&&gr(T0.submission.formMethod)){let k1=await W0(Q,V0,T0.submission,V1,F1.active,{replace:T0.replace,flushSync:Y1});if(k1.shortCircuited)return;if(k1.pendingActionResult){let[y1,Ve]=k1.pendingActionResult;if(s4(Ve)&&Hf(Ve.error)&&Ve.error.status===404){K=null,v0(V0,{matches:k1.matches,loaderData:{},errors:{[y1]:Ve.error}});return}}V1=k1.matches||V1,w0=k1.pendingActionResult,O1=cE(V0,T0.submission),Y1=!1,F1.active=!1,Q=Y7(a.history,Q.url,Q.signal)}let{shortCircuited:I0,matches:J0,loaderData:h1,errors:ae}=await t1(Q,V0,V1,F1.active,O1,T0&&T0.submission,T0&&T0.fetcherSubmission,T0&&T0.replace,T0&&T0.initialHydration===!0,Y1,w0);I0||(K=null,v0(V0,V8({matches:J0||V1},QC(w0),{loaderData:h1,errors:ae})))}async function W0(u0,V0,T0,a1,O1,V1){V1===void 0&&(V1={}),w1();let Y1=_g1(V0,T0);if(Z0({navigation:Y1},{flushSync:V1.flushSync===!0}),O1){let w0=await jt(a1,V0.pathname,u0.signal);if(w0.type==="aborted")return{shortCircuited:!0};if(w0.type==="error"){let I0=Vi(w0.partialMatches).route.id;return{matches:w0.partialMatches,pendingActionResult:[I0,{type:X2.error,error:w0.error}]}}else if(w0.matches)a1=w0.matches;else{let{notFoundMatches:I0,error:J0,route:h1}=Be(V0.pathname);return{matches:I0,pendingActionResult:[h1.id,{type:X2.error,error:J0}]}}}let F1,Q=hm(a1,V0);if(!Q.route.action&&!Q.route.lazy)F1={type:X2.error,error:C6(405,{method:u0.method,pathname:V0.pathname,routeId:Q.route.id})};else if(F1=(await F0("action",I,u0,[Q],a1,null))[Q.route.id],u0.signal.aborted)return{shortCircuited:!0};if(Oi(F1)){let w0;return V1&&V1.replace!=null?w0=V1.replace:w0=qC(F1.response.headers.get("Location"),new URL(u0.url),u)===I.location.pathname+I.location.search,await N0(u0,F1,!0,{submission:T0,replace:w0}),{shortCircuited:!0}}if(C3(F1))throw C6(400,{type:"defer-action"});if(s4(F1)){let w0=Vi(a1,Q.route.id);return(V1&&V1.replace)!==!0&&(z=dt.Push),{matches:a1,pendingActionResult:[w0.route.id,F1]}}return{matches:a1,pendingActionResult:[Q.route.id,F1]}}async function t1(u0,V0,T0,a1,O1,V1,Y1,F1,Q,w0,I0){let J0=O1||cE(V0,V1),h1=V1||Y1||tN(J0),ae=!t0&&(!A.v7_partialHydration||!Q);if(a1){if(ae){let Ke=A1(I0);Z0(V8({navigation:J0},Ke!==void 0?{actionData:Ke}:{}),{flushSync:w0})}let Q1=await jt(T0,V0.pathname,u0.signal);if(Q1.type==="aborted")return{shortCircuited:!0};if(Q1.type==="error"){let Ke=Vi(Q1.partialMatches).route.id;return{matches:Q1.partialMatches,loaderData:{},errors:{[Ke]:Q1.error}}}else if(Q1.matches)T0=Q1.matches;else{let{error:Ke,notFoundMatches:N8,route:H8}=Be(V0.pathname);return{matches:N8,loaderData:{},errors:{[H8.id]:Ke}}}}let k1=m||c,[y1,Ve]=xC(a.history,I,T0,h1,V0,A.v7_partialHydration&&Q===!0,A.v7_skipActionErrorRevalidation,l0,e0,G0,O0,n0,G,k1,u,I0);if(Pe(Q1=>!(T0&&T0.some(Ke=>Ke.route.id===Q1))||y1&&y1.some(Ke=>Ke.route.id===Q1)),L0=++g0,y1.length===0&&Ve.length===0){let Q1=de();return v0(V0,V8({matches:T0,loaderData:{},errors:I0&&s4(I0[1])?{[I0[0]]:I0[1].error}:null},QC(I0),Q1?{fetchers:new Map(I.fetchers)}:{}),{flushSync:w0}),{shortCircuited:!0}}if(ae){let Q1={};if(!a1){Q1.navigation=J0;let Ke=A1(I0);Ke!==void 0&&(Q1.actionData=Ke)}Ve.length>0&&(Q1.fetchers=T1(Ve)),Z0(Q1,{flushSync:w0})}Ve.forEach(Q1=>{c1(Q1.key),Q1.controller&&y0.set(Q1.key,Q1.controller)});let b1=()=>Ve.forEach(Q1=>c1(Q1.key));K&&K.signal.addEventListener("abort",b1);let{loaderResults:m0,fetcherResults:e1}=await Q0(I,T0,y1,Ve,u0);if(u0.signal.aborted)return{shortCircuited:!0};K&&K.signal.removeEventListener("abort",b1),Ve.forEach(Q1=>y0.delete(Q1.key));let p1=Ef(m0);if(p1)return await N0(u0,p1.result,!0,{replace:F1}),{shortCircuited:!0};if(p1=Ef(e1),p1)return G.add(p1.key),await N0(u0,p1.result,!0,{replace:F1}),{shortCircuited:!0};let{loaderData:R1,errors:Qe}=GC(I,T0,m0,I0,Ve,e1,S0);S0.forEach((Q1,Ke)=>{Q1.subscribe(N8=>{(N8||Q1.done)&&S0.delete(Ke)})}),A.v7_partialHydration&&Q&&I.errors&&(Qe=V8({},I.errors,Qe));let g2=de(),We=Fe(L0),ce=g2||We||Ve.length>0;return V8({matches:T0,loaderData:R1,errors:Qe},ce?{fetchers:new Map(I.fetchers)}:{})}function A1(u0){if(u0&&!s4(u0[1]))return{[u0[0]]:u0[1].data};if(I.actionData)return Object.keys(I.actionData).length===0?null:I.actionData}function T1(u0){return u0.forEach(V0=>{let T0=I.fetchers.get(V0.key),a1=fm(void 0,T0?T0.data:void 0);I.fetchers.set(V0.key,a1)}),new Map(I.fetchers)}function H1(u0,V0,T0,a1){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");c1(u0);let O1=(a1&&a1.flushSync)===!0,V1=m||c,Y1=rE(I.location,I.matches,u,A.v7_prependBasename,T0,A.v7_relativeSplatPath,V0,a1==null?void 0:a1.relative),F1=Mi(V1,Y1,u),Q=Ft(F1,V1,Y1);if(Q.active&&Q.matches&&(F1=Q.matches),!F1){Z1(u0,V0,C6(404,{pathname:Y1}),{flushSync:O1});return}let{path:w0,submission:I0,error:J0}=IC(A.v7_normalizeFormMethod,!0,Y1,a1);if(J0){Z1(u0,V0,J0,{flushSync:O1});return}let h1=hm(F1,w0),ae=(a1&&a1.preventScrollReset)===!0;if(I0&&gr(I0.formMethod)){u1(u0,V0,w0,h1,F1,Q.active,O1,ae,I0);return}n0.set(u0,{routeId:V0,path:w0}),$0(u0,V0,w0,h1,F1,Q.active,O1,ae,I0)}async function u1(u0,V0,T0,a1,O1,V1,Y1,F1,Q){w1(),n0.delete(u0);function w0(L2){if(!L2.route.action&&!L2.route.lazy){let U2=C6(405,{method:Q.formMethod,pathname:T0,routeId:V0});return Z1(u0,V0,U2,{flushSync:Y1}),!0}return!1}if(!V1&&w0(a1))return;let I0=I.fetchers.get(u0);o1(u0,Cg1(Q,I0),{flushSync:Y1});let J0=new AbortController,h1=Y7(a.history,T0,J0.signal,Q);if(V1){let L2=await jt(O1,T0,h1.signal);if(L2.type==="aborted")return;if(L2.type==="error"){Z1(u0,V0,L2.error,{flushSync:Y1});return}else if(L2.matches){if(O1=L2.matches,a1=hm(O1,T0),w0(a1))return}else{Z1(u0,V0,C6(404,{pathname:T0}),{flushSync:Y1});return}}y0.set(u0,J0);let ae=g0,y1=(await F0("action",I,h1,[a1],O1,u0))[a1.route.id];if(h1.signal.aborted){y0.get(u0)===J0&&y0.delete(u0);return}if(A.v7_fetcherPersist&&O0.has(u0)){if(Oi(y1)||s4(y1)){o1(u0,N3(void 0));return}}else{if(Oi(y1))if(y0.delete(u0),L0>ae){o1(u0,N3(void 0));return}else return G.add(u0),o1(u0,fm(Q)),N0(h1,y1,!1,{fetcherSubmission:Q,preventScrollReset:F1});if(s4(y1)){Z1(u0,V0,y1.error);return}}if(C3(y1))throw C6(400,{type:"defer-action"});let Ve=I.navigation.location||I.location,b1=Y7(a.history,Ve,J0.signal),m0=m||c,e1=I.navigation.state!=="idle"?Mi(m0,I.navigation.location,u):I.matches;He(e1,"Didn't find any matches after fetcher action");let p1=++g0;B.set(u0,p1);let R1=fm(Q,y1.data);I.fetchers.set(u0,R1);let[Qe,g2]=xC(a.history,I,e1,Q,Ve,!1,A.v7_skipActionErrorRevalidation,l0,e0,G0,O0,n0,G,m0,u,[a1.route.id,y1]);g2.filter(L2=>L2.key!==u0).forEach(L2=>{let U2=L2.key,fa=I.fetchers.get(U2),Da=fm(void 0,fa?fa.data:void 0);I.fetchers.set(U2,Da),c1(U2),L2.controller&&y0.set(U2,L2.controller)}),Z0({fetchers:new Map(I.fetchers)});let We=()=>g2.forEach(L2=>c1(L2.key));J0.signal.addEventListener("abort",We);let{loaderResults:ce,fetcherResults:Q1}=await Q0(I,e1,Qe,g2,b1);if(J0.signal.aborted)return;J0.signal.removeEventListener("abort",We),B.delete(u0),y0.delete(u0),g2.forEach(L2=>y0.delete(L2.key));let Ke=Ef(ce);if(Ke)return N0(b1,Ke.result,!1,{preventScrollReset:F1});if(Ke=Ef(Q1),Ke)return G.add(Ke.key),N0(b1,Ke.result,!1,{preventScrollReset:F1});let{loaderData:N8,errors:H8}=GC(I,e1,ce,void 0,g2,Q1,S0);if(I.fetchers.has(u0)){let L2=N3(y1.data);I.fetchers.set(u0,L2)}Fe(p1),I.navigation.state==="loading"&&p1>L0?(He(z,"Expected pending action"),K&&K.abort(),v0(I.navigation.location,{matches:e1,loaderData:N8,errors:H8,fetchers:new Map(I.fetchers)})):(Z0({errors:H8,loaderData:YC(I.loaderData,N8,e1,H8),fetchers:new Map(I.fetchers)}),l0=!1)}async function $0(u0,V0,T0,a1,O1,V1,Y1,F1,Q){let w0=I.fetchers.get(u0);o1(u0,fm(Q,w0?w0.data:void 0),{flushSync:Y1});let I0=new AbortController,J0=Y7(a.history,T0,I0.signal);if(V1){let y1=await jt(O1,T0,J0.signal);if(y1.type==="aborted")return;if(y1.type==="error"){Z1(u0,V0,y1.error,{flushSync:Y1});return}else if(y1.matches)O1=y1.matches,a1=hm(O1,T0);else{Z1(u0,V0,C6(404,{pathname:T0}),{flushSync:Y1});return}}y0.set(u0,I0);let h1=g0,k1=(await F0("loader",I,J0,[a1],O1,u0))[a1.route.id];if(C3(k1)&&(k1=await oE(k1,J0.signal,!0)||k1),y0.get(u0)===I0&&y0.delete(u0),!J0.signal.aborted){if(O0.has(u0)){o1(u0,N3(void 0));return}if(Oi(k1))if(L0>h1){o1(u0,N3(void 0));return}else{G.add(u0),await N0(J0,k1,!1,{preventScrollReset:F1});return}if(s4(k1)){Z1(u0,V0,k1.error);return}He(!C3(k1),"Unhandled fetcher deferred data"),o1(u0,N3(k1.data))}}async function N0(u0,V0,T0,a1){let{submission:O1,fetcherSubmission:V1,preventScrollReset:Y1,replace:F1}=a1===void 0?{}:a1;V0.response.headers.has("X-Remix-Revalidate")&&(l0=!0);let Q=V0.response.headers.get("Location");He(Q,"Expected a Location header on the redirect Response"),Q=qC(Q,new URL(u0.url),u);let w0=dm(I.location,Q,{_isRedirect:!0});if(r){let y1=!1;if(V0.response.headers.has("X-Remix-Reload-Document"))y1=!0;else if(aE.test(Q)){const Ve=a.history.createURL(Q);y1=Ve.origin!==e.location.origin||vr(Ve.pathname,u)==null}if(y1){F1?e.location.replace(Q):e.location.assign(Q);return}}K=null;let I0=F1===!0||V0.response.headers.has("X-Remix-Replace")?dt.Replace:dt.Push,{formMethod:J0,formAction:h1,formEncType:ae}=I.navigation;!O1&&!V1&&J0&&h1&&ae&&(O1=tN(I.navigation));let k1=O1||V1;if(vg1.has(V0.response.status)&&k1&&gr(k1.formMethod))await k0(I0,w0,{submission:V8({},k1,{formAction:Q}),preventScrollReset:Y1||q,enableViewTransition:T0?Y:void 0});else{let y1=cE(w0,O1);await k0(I0,w0,{overrideNavigation:y1,fetcherSubmission:V1,preventScrollReset:Y1||q,enableViewTransition:T0?Y:void 0})}}async function F0(u0,V0,T0,a1,O1,V1){let Y1,F1={};try{Y1=await Mg1(h,u0,V0,T0,a1,O1,V1,o,l)}catch(Q){return a1.forEach(w0=>{F1[w0.route.id]={type:X2.error,error:Q}}),F1}for(let[Q,w0]of Object.entries(Y1))if(Lg1(w0)){let I0=w0.result;F1[Q]={type:X2.redirect,response:$g1(I0,T0,Q,O1,u,A.v7_relativeSplatPath)}}else F1[Q]=await Og1(w0);return F1}async function Q0(u0,V0,T0,a1,O1){let V1=u0.matches,Y1=F0("loader",u0,O1,T0,V0,null),F1=Promise.all(a1.map(async I0=>{if(I0.matches&&I0.match&&I0.controller){let h1=(await F0("loader",u0,Y7(a.history,I0.path,I0.controller.signal),[I0.match],I0.matches,I0.key))[I0.match.route.id];return{[I0.key]:h1}}else return Promise.resolve({[I0.key]:{type:X2.error,error:C6(404,{pathname:I0.path})}})})),Q=await Y1,w0=(await F1).reduce((I0,J0)=>Object.assign(I0,J0),{});return await Promise.all([Pg1(V0,Q,O1.signal,V1,u0.loaderData),kg1(V0,w0,a1)]),{loaderResults:Q,fetcherResults:w0}}function w1(){l0=!0,e0.push(...Pe()),n0.forEach((u0,V0)=>{y0.has(V0)&&G0.add(V0),c1(V0)})}function o1(u0,V0,T0){T0===void 0&&(T0={}),I.fetchers.set(u0,V0),Z0({fetchers:new Map(I.fetchers)},{flushSync:(T0&&T0.flushSync)===!0})}function Z1(u0,V0,T0,a1){a1===void 0&&(a1={});let O1=Vi(I.matches,V0);Ie(u0),Z0({errors:{[O1.route.id]:T0},fetchers:new Map(I.fetchers)},{flushSync:(a1&&a1.flushSync)===!0})}function K1(u0){return A.v7_fetcherPersist&&(d0.set(u0,(d0.get(u0)||0)+1),O0.has(u0)&&O0.delete(u0)),I.fetchers.get(u0)||gg1}function Ie(u0){let V0=I.fetchers.get(u0);y0.has(u0)&&!(V0&&V0.state==="loading"&&B.has(u0))&&c1(u0),n0.delete(u0),B.delete(u0),G.delete(u0),O0.delete(u0),G0.delete(u0),I.fetchers.delete(u0)}function Le(u0){if(A.v7_fetcherPersist){let V0=(d0.get(u0)||0)-1;V0<=0?(d0.delete(u0),O0.add(u0)):d0.set(u0,V0)}else Ie(u0);Z0({fetchers:new Map(I.fetchers)})}function c1(u0){let V0=y0.get(u0);V0&&(V0.abort(),y0.delete(u0))}function P1(u0){for(let V0 of u0){let T0=K1(V0),a1=N3(T0.data);I.fetchers.set(V0,a1)}}function de(){let u0=[],V0=!1;for(let T0 of G){let a1=I.fetchers.get(T0);He(a1,"Expected fetcher: "+T0),a1.state==="loading"&&(G.delete(T0),u0.push(T0),V0=!0)}return P1(u0),V0}function Fe(u0){let V0=[];for(let[T0,a1]of B)if(a1<u0){let O1=I.fetchers.get(T0);He(O1,"Expected fetcher: "+T0),O1.state==="loading"&&(c1(T0),B.delete(T0),V0.push(T0))}return P1(V0),V0.length>0}function je(u0,V0){let T0=I.blockers.get(u0)||pm;return c0.get(u0)!==V0&&c0.set(u0,V0),T0}function Z2(u0){I.blockers.delete(u0),c0.delete(u0)}function f2(u0,V0){let T0=I.blockers.get(u0)||pm;He(T0.state==="unblocked"&&V0.state==="blocked"||T0.state==="blocked"&&V0.state==="blocked"||T0.state==="blocked"&&V0.state==="proceeding"||T0.state==="blocked"&&V0.state==="unblocked"||T0.state==="proceeding"&&V0.state==="unblocked","Invalid blocker state transition: "+T0.state+" -> "+V0.state);let a1=new Map(I.blockers);a1.set(u0,V0),Z0({blockers:a1})}function i8(u0){let{currentLocation:V0,nextLocation:T0,historyAction:a1}=u0;if(c0.size===0)return;c0.size>1&&Mt(!1,"A router only supports one blocker at a time");let O1=Array.from(c0.entries()),[V1,Y1]=O1[O1.length-1],F1=I.blockers.get(V1);if(!(F1&&F1.state==="proceeding")&&Y1({currentLocation:V0,nextLocation:T0,historyAction:a1}))return V1}function Be(u0){let V0=C6(404,{pathname:u0}),T0=m||c,{matches:a1,route:O1}=KC(T0);return Pe(),{notFoundMatches:a1,route:O1,error:V0}}function Pe(u0){let V0=[];return S0.forEach((T0,a1)=>{(!u0||u0(a1))&&(T0.cancel(),V0.push(a1),S0.delete(a1))}),V0}function qe(u0,V0,T0){if(M=u0,S=V0,O=T0||null,!F&&I.navigation===tE){F=!0;let a1=f8(I.location,I.matches);a1!=null&&Z0({restoreScrollPosition:a1})}return()=>{M=null,S=null,O=null}}function m2(u0,V0){return O&&O(u0,V0.map(a1=>Gv1(a1,I.loaderData)))||u0.key}function v2(u0,V0){if(M&&S){let T0=m2(u0,V0);M[T0]=S()}}function f8(u0,V0){if(M){let T0=m2(u0,V0),a1=M[T0];if(typeof a1=="number")return a1}return null}function Ft(u0,V0,T0){if(g)if(u0){if(Object.keys(u0[0].params).length>0)return{active:!0,matches:Zf(V0,T0,u,!0)}}else return{active:!0,matches:Zf(V0,T0,u,!0)||[]};return{active:!1,matches:null}}async function jt(u0,V0,T0){if(!g)return{type:"success",matches:u0};let a1=u0;for(;;){let O1=m==null,V1=m||c,Y1=o;try{await g({path:V0,matches:a1,patch:(w0,I0)=>{T0.aborted||UC(w0,I0,V1,Y1,l)}})}catch(w0){return{type:"error",error:w0,partialMatches:a1}}finally{O1&&!T0.aborted&&(c=[...c])}if(T0.aborted)return{type:"aborted"};let F1=Mi(V1,V0,u);if(F1)return{type:"success",matches:F1};let Q=Zf(V1,V0,u,!0);if(!Q||a1.length===Q.length&&a1.every((w0,I0)=>w0.route.id===Q[I0].route.id))return{type:"success",matches:null};a1=Q}}function v8(u0){o={},m=Af(u0,l,void 0,o)}function Pt(u0,V0){let T0=m==null;UC(u0,V0,m||c,o,l),T0&&(c=[...c],Z0({}))}return C={get basename(){return u},get future(){return A},get state(){return I},get routes(){return c},get window(){return e},initialize:X,subscribe:f0,enableScrollRestoration:qe,navigate:A0,fetch:H1,revalidate:x0,createHref:u0=>a.history.createHref(u0),encodeLocation:u0=>a.history.encodeLocation(u0),getFetcher:K1,deleteFetcher:Le,dispose:h0,getBlocker:je,deleteBlocker:Z2,patchRoutes:Pt,_internalFetchControllers:y0,_internalActiveDeferreds:S0,_internalSetRoutes:v8},C}function yg1(a){return a!=null&&("formData"in a&&a.formData!=null||"body"in a&&a.body!==void 0)}function rE(a,e,r,n,l,o,c,m){let u,h;if(c){u=[];for(let A of e)if(u.push(A),A.route.id===c){h=A;break}}else u=e,h=e[e.length-1];let g=eE(l||".",JH(u,o),vr(a.pathname,r)||a.pathname,m==="path");if(l==null&&(g.search=a.search,g.hash=a.hash),(l==null||l===""||l===".")&&h){let A=iE(g.search);if(h.route.index&&!A)g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&A){let y=new URLSearchParams(g.search),E=y.getAll("index");y.delete("index"),E.filter(O=>O).forEach(O=>y.append("index",O));let M=y.toString();g.search=M?"?"+M:""}}return n&&r!=="/"&&(g.pathname=g.pathname==="/"?r:hn([r,g.pathname])),k3(g)}function IC(a,e,r,n){if(!n||!yg1(n))return{path:r};if(n.formMethod&&!jg1(n.formMethod))return{path:r,error:C6(405,{method:n.formMethod})};let l=()=>({path:r,error:C6(400,{type:"invalid-body"})}),o=n.formMethod||"get",c=a?o.toUpperCase():o.toLowerCase(),m=XC(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!gr(c))return l();let y=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((E,M)=>{let[O,S]=M;return""+E+O+"="+S+`
277
+ */function V8(){return V8=Object.assign?Object.assign.bind():function(a){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(a[n]=r[n])}return a},V8.apply(this,arguments)}var pt;(function(a){a.Pop="POP",a.Push="PUSH",a.Replace="REPLACE"})(pt||(pt={}));const FC="popstate";function zv1(a){a===void 0&&(a={});function e(n,l){let{pathname:o,search:c,hash:m}=n.location;return dm("",{pathname:o,search:c,hash:m},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function r(n,l){return typeof l=="string"?l:k3(l)}return Bv1(e,r,null,a)}function He(a,e){if(a===!1||a===null||typeof a>"u")throw new Error(e)}function Mt(a,e){if(!a){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Uv1(){return Math.random().toString(36).substr(2,8)}function jC(a,e){return{usr:a.state,key:a.key,idx:e}}function dm(a,e,r,n){return r===void 0&&(r=null),V8({pathname:typeof a=="string"?a:a.pathname,search:"",hash:""},typeof e=="string"?_3(e):e,{state:r,key:e&&e.key||n||Uv1()})}function k3(a){let{pathname:e="/",search:r="",hash:n=""}=a;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function _3(a){let e={};if(a){let r=a.indexOf("#");r>=0&&(e.hash=a.substr(r),a=a.substr(0,r));let n=a.indexOf("?");n>=0&&(e.search=a.substr(n),a=a.substr(0,n)),a&&(e.pathname=a)}return e}function Bv1(a,e,r,n){n===void 0&&(n={});let{window:l=document.defaultView,v5Compat:o=!1}=n,c=l.history,m=pt.Pop,u=null,h=g();h==null&&(h=0,c.replaceState(V8({},c.state,{idx:h}),""));function g(){return(c.state||{idx:null}).idx}function A(){m=pt.Pop;let S=g(),F=S==null?null:S-h;h=S,u&&u({action:m,location:O.location,delta:F})}function y(S,F){m=pt.Push;let j=dm(O.location,S,F);h=g()+1;let k=jC(j,h),N=O.createHref(j);try{c.pushState(k,"",N)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(N)}o&&u&&u({action:m,location:O.location,delta:1})}function E(S,F){m=pt.Replace;let j=dm(O.location,S,F);h=g();let k=jC(j,h),N=O.createHref(j);c.replaceState(k,"",N),o&&u&&u({action:m,location:O.location,delta:0})}function M(S){let F=l.location.origin!=="null"?l.location.origin:l.location.href,j=typeof S=="string"?S:k3(S);return j=j.replace(/ $/,"%20"),He(F,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,F)}let O={get action(){return m},get location(){return a(l,c)},listen(S){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(FC,A),u=S,()=>{l.removeEventListener(FC,A),u=null}},createHref(S){return e(l,S)},createURL:M,encodeLocation(S){let F=M(S);return{pathname:F.pathname,search:F.search,hash:F.hash}},push:y,replace:E,go(S){return c.go(S)}};return O}var X2;(function(a){a.data="data",a.deferred="deferred",a.redirect="redirect",a.error="error"})(X2||(X2={}));const qv1=new Set(["lazy","caseSensitive","path","id","index","children"]);function Wv1(a){return a.index===!0}function Af(a,e,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),a.map((l,o)=>{let c=[...r,String(o)],m=typeof l.id=="string"?l.id:c.join("-");if(He(l.index!==!0||!l.children,"Cannot specify children on an index route"),He(!n[m],'Found a route id collision on id "'+m+`". Route id's must be globally unique within Data Router usages`),Wv1(l)){let u=V8({},l,e(l),{id:m});return n[m]=u,u}else{let u=V8({},l,e(l),{id:m,children:void 0});return n[m]=u,l.children&&(u.children=Af(l.children,e,c,n)),u}})}function Mi(a,e,r){return r===void 0&&(r="/"),Zf(a,e,r,!1)}function Zf(a,e,r,n){let l=typeof e=="string"?_3(e):e,o=vr(l.pathname||"/",r);if(o==null)return null;let c=PC(a);Yv1(c);let m=null;for(let u=0;m==null&&u<c.length;++u){let h=og1(o);m=ng1(c[u],h,n)}return m}function Gv1(a,e){let{route:r,pathname:n,params:l}=a;return{id:r.id,pathname:n,params:l,data:e[r.id],handle:r.handle}}function PC(a,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let l=(o,c,m)=>{let u={relativePath:m===void 0?o.path||"":m,caseSensitive:o.caseSensitive===!0,childrenIndex:c,route:o};u.relativePath.startsWith("/")&&(He(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let h=hn([n,u.relativePath]),g=r.concat(u);o.children&&o.children.length>0&&(He(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),PC(o.children,e,g,h)),!(o.path==null&&!o.index)&&e.push({path:h,score:ag1(h,o.index),routesMeta:g})};return a.forEach((o,c)=>{var m;if(o.path===""||!((m=o.path)!=null&&m.includes("?")))l(o,c);else for(let u of kC(o.path))l(o,c,u)}),e}function kC(a){let e=a.split("/");if(e.length===0)return[];let[r,...n]=e,l=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return l?[o,""]:[o];let c=kC(n.join("/")),m=[];return m.push(...c.map(u=>u===""?o:[o,u].join("/"))),l&&m.push(...c),m.map(u=>a.startsWith("/")&&u===""?"/":u)}function Yv1(a){a.sort((e,r)=>e.score!==r.score?r.score-e.score:rg1(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Qv1=/^:[\w-]+$/,Kv1=3,Xv1=2,Jv1=1,eg1=10,tg1=-2,_C=a=>a==="*";function ag1(a,e){let r=a.split("/"),n=r.length;return r.some(_C)&&(n+=tg1),e&&(n+=Xv1),r.filter(l=>!_C(l)).reduce((l,o)=>l+(Qv1.test(o)?Kv1:o===""?Jv1:eg1),n)}function rg1(a,e){return a.length===e.length&&a.slice(0,-1).every((n,l)=>n===e[l])?a[a.length-1]-e[e.length-1]:0}function ng1(a,e,r){r===void 0&&(r=!1);let{routesMeta:n}=a,l={},o="/",c=[];for(let m=0;m<n.length;++m){let u=n[m],h=m===n.length-1,g=o==="/"?e:e.slice(o.length)||"/",A=yf({path:u.relativePath,caseSensitive:u.caseSensitive,end:h},g),y=u.route;if(!A&&h&&r&&!n[n.length-1].route.index&&(A=yf({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},g)),!A)return null;Object.assign(l,A.params),c.push({params:l,pathname:hn([o,A.pathname]),pathnameBase:sg1(hn([o,A.pathnameBase])),route:y}),A.pathnameBase!=="/"&&(o=hn([o,A.pathnameBase]))}return c}function yf(a,e){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[r,n]=lg1(a.path,a.caseSensitive,a.end),l=e.match(r);if(!l)return null;let o=l[0],c=o.replace(/(.)\/+$/,"$1"),m=l.slice(1);return{params:n.reduce((h,g,A)=>{let{paramName:y,isOptional:E}=g;if(y==="*"){let O=m[A]||"";c=o.slice(0,o.length-O.length).replace(/(.)\/+$/,"$1")}const M=m[A];return E&&!M?h[y]=void 0:h[y]=(M||"").replace(/%2F/g,"/"),h},{}),pathname:o,pathnameBase:c,pattern:a}}function lg1(a,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),Mt(a==="*"||!a.endsWith("*")||a.endsWith("/*"),'Route path "'+a+'" will be treated as if it were '+('"'+a.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+a.replace(/\*$/,"/*")+'".'));let n=[],l="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,m,u)=>(n.push({paramName:m,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(n.push({paramName:"*"}),l+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?l+="\\/*$":a!==""&&a!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,e?void 0:"i"),n]}function og1(a){try{return a.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Mt(!1,'The URL path "'+a+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),a}}function vr(a,e){if(e==="/")return a;if(!a.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=a.charAt(r);return n&&n!=="/"?null:a.slice(r)||"/"}function ig1(a,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:l=""}=typeof a=="string"?_3(a):a;return{pathname:r?r.startsWith("/")?r:cg1(r,e):e,search:mg1(n),hash:ug1(l)}}function cg1(a,e){let r=e.replace(/\/+$/,"").split("/");return a.split("/").forEach(l=>{l===".."?r.length>1&&r.pop():l!=="."&&r.push(l)}),r.length>1?r.join("/"):"/"}function XH(a,e,r,n){return"Cannot include a '"+a+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function CC(a){return a.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function JH(a,e){let r=CC(a);return e?r.map((n,l)=>l===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function eE(a,e,r,n){n===void 0&&(n=!1);let l;typeof a=="string"?l=_3(a):(l=V8({},a),He(!l.pathname||!l.pathname.includes("?"),XH("?","pathname","search",l)),He(!l.pathname||!l.pathname.includes("#"),XH("#","pathname","hash",l)),He(!l.search||!l.search.includes("#"),XH("#","search","hash",l)));let o=a===""||l.pathname==="",c=o?"/":l.pathname,m;if(c==null)m=r;else{let A=e.length-1;if(!n&&c.startsWith("..")){let y=c.split("/");for(;y[0]==="..";)y.shift(),A-=1;l.pathname=y.join("/")}m=A>=0?e[A]:"/"}let u=ig1(l,m),h=c&&c!=="/"&&c.endsWith("/"),g=(o||c===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(h||g)&&(u.pathname+="/"),u}const hn=a=>a.join("/").replace(/\/\/+/g,"/"),sg1=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),mg1=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,ug1=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;class bf{constructor(e,r,n,l){l===void 0&&(l=!1),this.status=e,this.statusText=r||"",this.internal=l,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Hf(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}const NC=["post","put","patch","delete"],dg1=new Set(NC),pg1=["get",...NC],hg1=new Set(pg1),fg1=new Set([301,302,303,307,308]),vg1=new Set([307,308]),tE={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gg1={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},pm={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},aE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ag1=a=>({hasErrorBoundary:!!a.hasErrorBoundary}),TC="remix-router-transitions";function Zg1(a){const e=a.window?a.window:typeof window<"u"?window:void 0,r=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u",n=!r;He(a.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(a.mapRouteProperties)l=a.mapRouteProperties;else if(a.detectErrorBoundary){let u0=a.detectErrorBoundary;l=V0=>({hasErrorBoundary:u0(V0)})}else l=Ag1;let o={},c=Af(a.routes,l,void 0,o),m,u=a.basename||"/",h=a.dataStrategy||Eg1,g=a.patchRoutesOnNavigation,A=V8({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},a.future),y=null,E=new Set,M=null,O=null,S=null,F=a.hydrationData!=null,j=Mi(c,a.history.location,u),k=null;if(j==null&&!g){let u0=C6(404,{pathname:a.history.location.pathname}),{matches:V0,route:T0}=KC(c);j=V0,k={[T0.id]:u0}}j&&!a.hydrationData&&Ft(j,c,a.history.location.pathname).active&&(j=null);let N;if(j)if(j.some(u0=>u0.route.lazy))N=!1;else if(!j.some(u0=>u0.route.loader))N=!0;else if(A.v7_partialHydration){let u0=a.hydrationData?a.hydrationData.loaderData:null,V0=a.hydrationData?a.hydrationData.errors:null;if(V0){let T0=j.findIndex(a1=>V0[a1.route.id]!==void 0);N=j.slice(0,T0+1).every(a1=>!nE(a1.route,u0,V0))}else N=j.every(T0=>!nE(T0.route,u0,V0))}else N=a.hydrationData!=null;else if(N=!1,j=[],A.v7_partialHydration){let u0=Ft(null,c,a.history.location.pathname);u0.active&&u0.matches&&(j=u0.matches)}let C,I={historyAction:a.history.action,location:a.history.location,matches:j,initialized:N,navigation:tE,restoreScrollPosition:a.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:a.hydrationData&&a.hydrationData.loaderData||{},actionData:a.hydrationData&&a.hydrationData.actionData||null,errors:a.hydrationData&&a.hydrationData.errors||k,fetchers:new Map,blockers:new Map},z=pt.Pop,q=!1,K,Y=!1,o0=new Map,a0=null,t0=!1,l0=!1,e0=[],G0=new Set,y0=new Map,g0=0,L0=-1,B=new Map,G=new Set,n0=new Map,d0=new Map,O0=new Set,S0=new Map,c0=new Map,z0;function X(){if(y=a.history.listen(u0=>{let{action:V0,location:T0,delta:a1}=u0;if(z0){z0(),z0=void 0;return}Mt(c0.size===0||a1!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let O1=i8({currentLocation:I.location,nextLocation:T0,historyAction:V0});if(O1&&a1!=null){let V1=new Promise(Y1=>{z0=Y1});a.history.go(a1*-1),f2(O1,{state:"blocked",location:T0,proceed(){f2(O1,{state:"proceeding",proceed:void 0,reset:void 0,location:T0}),V1.then(()=>a.history.go(a1))},reset(){let Y1=new Map(I.blockers);Y1.set(O1,pm),Z0({blockers:Y1})}});return}return k0(V0,T0)}),r){Ng1(e,o0);let u0=()=>Tg1(e,o0);e.addEventListener("pagehide",u0),a0=()=>e.removeEventListener("pagehide",u0)}return I.initialized||k0(pt.Pop,I.location,{initialHydration:!0}),C}function h0(){y&&y(),a0&&a0(),E.clear(),K&&K.abort(),I.fetchers.forEach((u0,V0)=>Ie(V0)),I.blockers.forEach((u0,V0)=>Z2(V0))}function f0(u0){return E.add(u0),()=>E.delete(u0)}function Z0(u0,V0){V0===void 0&&(V0={}),I=V8({},I,u0);let T0=[],a1=[];A.v7_fetcherPersist&&I.fetchers.forEach((O1,V1)=>{O1.state==="idle"&&(O0.has(V1)?a1.push(V1):T0.push(V1))}),[...E].forEach(O1=>O1(I,{deletedFetchers:a1,viewTransitionOpts:V0.viewTransitionOpts,flushSync:V0.flushSync===!0})),A.v7_fetcherPersist&&(T0.forEach(O1=>I.fetchers.delete(O1)),a1.forEach(O1=>Ie(O1)))}function v0(u0,V0,T0){var a1,O1;let{flushSync:V1}=T0===void 0?{}:T0,Y1=I.actionData!=null&&I.navigation.formMethod!=null&&gr(I.navigation.formMethod)&&I.navigation.state==="loading"&&((a1=u0.state)==null?void 0:a1._isRedirect)!==!0,F1;V0.actionData?Object.keys(V0.actionData).length>0?F1=V0.actionData:F1=null:Y1?F1=I.actionData:F1=null;let Q=V0.loaderData?YC(I.loaderData,V0.loaderData,V0.matches||[],V0.errors):I.loaderData,w0=I.blockers;w0.size>0&&(w0=new Map(w0),w0.forEach((h1,ae)=>w0.set(ae,pm)));let I0=q===!0||I.navigation.formMethod!=null&&gr(I.navigation.formMethod)&&((O1=u0.state)==null?void 0:O1._isRedirect)!==!0;m&&(c=m,m=void 0),t0||z===pt.Pop||(z===pt.Push?a.history.push(u0,u0.state):z===pt.Replace&&a.history.replace(u0,u0.state));let J0;if(z===pt.Pop){let h1=o0.get(I.location.pathname);h1&&h1.has(u0.pathname)?J0={currentLocation:I.location,nextLocation:u0}:o0.has(u0.pathname)&&(J0={currentLocation:u0,nextLocation:I.location})}else if(Y){let h1=o0.get(I.location.pathname);h1?h1.add(u0.pathname):(h1=new Set([u0.pathname]),o0.set(I.location.pathname,h1)),J0={currentLocation:I.location,nextLocation:u0}}Z0(V8({},V0,{actionData:F1,loaderData:Q,historyAction:z,location:u0,initialized:!0,navigation:tE,revalidation:"idle",restoreScrollPosition:f8(u0,V0.matches||I.matches),preventScrollReset:I0,blockers:w0}),{viewTransitionOpts:J0,flushSync:V1===!0}),z=pt.Pop,q=!1,Y=!1,t0=!1,l0=!1,e0=[]}async function A0(u0,V0){if(typeof u0=="number"){a.history.go(u0);return}let T0=rE(I.location,I.matches,u,A.v7_prependBasename,u0,A.v7_relativeSplatPath,V0==null?void 0:V0.fromRouteId,V0==null?void 0:V0.relative),{path:a1,submission:O1,error:V1}=IC(A.v7_normalizeFormMethod,!1,T0,V0),Y1=I.location,F1=dm(I.location,a1,V0&&V0.state);F1=V8({},F1,a.history.encodeLocation(F1));let Q=V0&&V0.replace!=null?V0.replace:void 0,w0=pt.Push;Q===!0?w0=pt.Replace:Q===!1||O1!=null&&gr(O1.formMethod)&&O1.formAction===I.location.pathname+I.location.search&&(w0=pt.Replace);let I0=V0&&"preventScrollReset"in V0?V0.preventScrollReset===!0:void 0,J0=(V0&&V0.flushSync)===!0,h1=i8({currentLocation:Y1,nextLocation:F1,historyAction:w0});if(h1){f2(h1,{state:"blocked",location:F1,proceed(){f2(h1,{state:"proceeding",proceed:void 0,reset:void 0,location:F1}),A0(u0,V0)},reset(){let ae=new Map(I.blockers);ae.set(h1,pm),Z0({blockers:ae})}});return}return await k0(w0,F1,{submission:O1,pendingError:V1,preventScrollReset:I0,replace:V0&&V0.replace,enableViewTransition:V0&&V0.viewTransition,flushSync:J0})}function x0(){if(w1(),Z0({revalidation:"loading"}),I.navigation.state!=="submitting"){if(I.navigation.state==="idle"){k0(I.historyAction,I.location,{startUninterruptedRevalidation:!0});return}k0(z||I.historyAction,I.navigation.location,{overrideNavigation:I.navigation,enableViewTransition:Y===!0})}}async function k0(u0,V0,T0){K&&K.abort(),K=null,z=u0,t0=(T0&&T0.startUninterruptedRevalidation)===!0,v2(I.location,I.matches),q=(T0&&T0.preventScrollReset)===!0,Y=(T0&&T0.enableViewTransition)===!0;let a1=m||c,O1=T0&&T0.overrideNavigation,V1=Mi(a1,V0,u),Y1=(T0&&T0.flushSync)===!0,F1=Ft(V1,a1,V0.pathname);if(F1.active&&F1.matches&&(V1=F1.matches),!V1){let{error:k1,notFoundMatches:y1,route:Ve}=Be(V0.pathname);v0(V0,{matches:y1,loaderData:{},errors:{[Ve.id]:k1}},{flushSync:Y1});return}if(I.initialized&&!l0&&Sg1(I.location,V0)&&!(T0&&T0.submission&&gr(T0.submission.formMethod))){v0(V0,{matches:V1},{flushSync:Y1});return}K=new AbortController;let Q=Y7(a.history,V0,K.signal,T0&&T0.submission),w0;if(T0&&T0.pendingError)w0=[Vi(V1).route.id,{type:X2.error,error:T0.pendingError}];else if(T0&&T0.submission&&gr(T0.submission.formMethod)){let k1=await W0(Q,V0,T0.submission,V1,F1.active,{replace:T0.replace,flushSync:Y1});if(k1.shortCircuited)return;if(k1.pendingActionResult){let[y1,Ve]=k1.pendingActionResult;if(s4(Ve)&&Hf(Ve.error)&&Ve.error.status===404){K=null,v0(V0,{matches:k1.matches,loaderData:{},errors:{[y1]:Ve.error}});return}}V1=k1.matches||V1,w0=k1.pendingActionResult,O1=cE(V0,T0.submission),Y1=!1,F1.active=!1,Q=Y7(a.history,Q.url,Q.signal)}let{shortCircuited:I0,matches:J0,loaderData:h1,errors:ae}=await t1(Q,V0,V1,F1.active,O1,T0&&T0.submission,T0&&T0.fetcherSubmission,T0&&T0.replace,T0&&T0.initialHydration===!0,Y1,w0);I0||(K=null,v0(V0,V8({matches:J0||V1},QC(w0),{loaderData:h1,errors:ae})))}async function W0(u0,V0,T0,a1,O1,V1){V1===void 0&&(V1={}),w1();let Y1=_g1(V0,T0);if(Z0({navigation:Y1},{flushSync:V1.flushSync===!0}),O1){let w0=await jt(a1,V0.pathname,u0.signal);if(w0.type==="aborted")return{shortCircuited:!0};if(w0.type==="error"){let I0=Vi(w0.partialMatches).route.id;return{matches:w0.partialMatches,pendingActionResult:[I0,{type:X2.error,error:w0.error}]}}else if(w0.matches)a1=w0.matches;else{let{notFoundMatches:I0,error:J0,route:h1}=Be(V0.pathname);return{matches:I0,pendingActionResult:[h1.id,{type:X2.error,error:J0}]}}}let F1,Q=hm(a1,V0);if(!Q.route.action&&!Q.route.lazy)F1={type:X2.error,error:C6(405,{method:u0.method,pathname:V0.pathname,routeId:Q.route.id})};else if(F1=(await F0("action",I,u0,[Q],a1,null))[Q.route.id],u0.signal.aborted)return{shortCircuited:!0};if(Oi(F1)){let w0;return V1&&V1.replace!=null?w0=V1.replace:w0=qC(F1.response.headers.get("Location"),new URL(u0.url),u)===I.location.pathname+I.location.search,await N0(u0,F1,!0,{submission:T0,replace:w0}),{shortCircuited:!0}}if(C3(F1))throw C6(400,{type:"defer-action"});if(s4(F1)){let w0=Vi(a1,Q.route.id);return(V1&&V1.replace)!==!0&&(z=pt.Push),{matches:a1,pendingActionResult:[w0.route.id,F1]}}return{matches:a1,pendingActionResult:[Q.route.id,F1]}}async function t1(u0,V0,T0,a1,O1,V1,Y1,F1,Q,w0,I0){let J0=O1||cE(V0,V1),h1=V1||Y1||tN(J0),ae=!t0&&(!A.v7_partialHydration||!Q);if(a1){if(ae){let Ke=A1(I0);Z0(V8({navigation:J0},Ke!==void 0?{actionData:Ke}:{}),{flushSync:w0})}let Q1=await jt(T0,V0.pathname,u0.signal);if(Q1.type==="aborted")return{shortCircuited:!0};if(Q1.type==="error"){let Ke=Vi(Q1.partialMatches).route.id;return{matches:Q1.partialMatches,loaderData:{},errors:{[Ke]:Q1.error}}}else if(Q1.matches)T0=Q1.matches;else{let{error:Ke,notFoundMatches:N8,route:H8}=Be(V0.pathname);return{matches:N8,loaderData:{},errors:{[H8.id]:Ke}}}}let k1=m||c,[y1,Ve]=xC(a.history,I,T0,h1,V0,A.v7_partialHydration&&Q===!0,A.v7_skipActionErrorRevalidation,l0,e0,G0,O0,n0,G,k1,u,I0);if(Pe(Q1=>!(T0&&T0.some(Ke=>Ke.route.id===Q1))||y1&&y1.some(Ke=>Ke.route.id===Q1)),L0=++g0,y1.length===0&&Ve.length===0){let Q1=de();return v0(V0,V8({matches:T0,loaderData:{},errors:I0&&s4(I0[1])?{[I0[0]]:I0[1].error}:null},QC(I0),Q1?{fetchers:new Map(I.fetchers)}:{}),{flushSync:w0}),{shortCircuited:!0}}if(ae){let Q1={};if(!a1){Q1.navigation=J0;let Ke=A1(I0);Ke!==void 0&&(Q1.actionData=Ke)}Ve.length>0&&(Q1.fetchers=T1(Ve)),Z0(Q1,{flushSync:w0})}Ve.forEach(Q1=>{c1(Q1.key),Q1.controller&&y0.set(Q1.key,Q1.controller)});let b1=()=>Ve.forEach(Q1=>c1(Q1.key));K&&K.signal.addEventListener("abort",b1);let{loaderResults:m0,fetcherResults:e1}=await Q0(I,T0,y1,Ve,u0);if(u0.signal.aborted)return{shortCircuited:!0};K&&K.signal.removeEventListener("abort",b1),Ve.forEach(Q1=>y0.delete(Q1.key));let p1=Ef(m0);if(p1)return await N0(u0,p1.result,!0,{replace:F1}),{shortCircuited:!0};if(p1=Ef(e1),p1)return G.add(p1.key),await N0(u0,p1.result,!0,{replace:F1}),{shortCircuited:!0};let{loaderData:R1,errors:Qe}=GC(I,T0,m0,I0,Ve,e1,S0);S0.forEach((Q1,Ke)=>{Q1.subscribe(N8=>{(N8||Q1.done)&&S0.delete(Ke)})}),A.v7_partialHydration&&Q&&I.errors&&(Qe=V8({},I.errors,Qe));let g2=de(),We=Fe(L0),ce=g2||We||Ve.length>0;return V8({matches:T0,loaderData:R1,errors:Qe},ce?{fetchers:new Map(I.fetchers)}:{})}function A1(u0){if(u0&&!s4(u0[1]))return{[u0[0]]:u0[1].data};if(I.actionData)return Object.keys(I.actionData).length===0?null:I.actionData}function T1(u0){return u0.forEach(V0=>{let T0=I.fetchers.get(V0.key),a1=fm(void 0,T0?T0.data:void 0);I.fetchers.set(V0.key,a1)}),new Map(I.fetchers)}function H1(u0,V0,T0,a1){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");c1(u0);let O1=(a1&&a1.flushSync)===!0,V1=m||c,Y1=rE(I.location,I.matches,u,A.v7_prependBasename,T0,A.v7_relativeSplatPath,V0,a1==null?void 0:a1.relative),F1=Mi(V1,Y1,u),Q=Ft(F1,V1,Y1);if(Q.active&&Q.matches&&(F1=Q.matches),!F1){Z1(u0,V0,C6(404,{pathname:Y1}),{flushSync:O1});return}let{path:w0,submission:I0,error:J0}=IC(A.v7_normalizeFormMethod,!0,Y1,a1);if(J0){Z1(u0,V0,J0,{flushSync:O1});return}let h1=hm(F1,w0),ae=(a1&&a1.preventScrollReset)===!0;if(I0&&gr(I0.formMethod)){u1(u0,V0,w0,h1,F1,Q.active,O1,ae,I0);return}n0.set(u0,{routeId:V0,path:w0}),$0(u0,V0,w0,h1,F1,Q.active,O1,ae,I0)}async function u1(u0,V0,T0,a1,O1,V1,Y1,F1,Q){w1(),n0.delete(u0);function w0(L2){if(!L2.route.action&&!L2.route.lazy){let U2=C6(405,{method:Q.formMethod,pathname:T0,routeId:V0});return Z1(u0,V0,U2,{flushSync:Y1}),!0}return!1}if(!V1&&w0(a1))return;let I0=I.fetchers.get(u0);o1(u0,Cg1(Q,I0),{flushSync:Y1});let J0=new AbortController,h1=Y7(a.history,T0,J0.signal,Q);if(V1){let L2=await jt(O1,T0,h1.signal);if(L2.type==="aborted")return;if(L2.type==="error"){Z1(u0,V0,L2.error,{flushSync:Y1});return}else if(L2.matches){if(O1=L2.matches,a1=hm(O1,T0),w0(a1))return}else{Z1(u0,V0,C6(404,{pathname:T0}),{flushSync:Y1});return}}y0.set(u0,J0);let ae=g0,y1=(await F0("action",I,h1,[a1],O1,u0))[a1.route.id];if(h1.signal.aborted){y0.get(u0)===J0&&y0.delete(u0);return}if(A.v7_fetcherPersist&&O0.has(u0)){if(Oi(y1)||s4(y1)){o1(u0,N3(void 0));return}}else{if(Oi(y1))if(y0.delete(u0),L0>ae){o1(u0,N3(void 0));return}else return G.add(u0),o1(u0,fm(Q)),N0(h1,y1,!1,{fetcherSubmission:Q,preventScrollReset:F1});if(s4(y1)){Z1(u0,V0,y1.error);return}}if(C3(y1))throw C6(400,{type:"defer-action"});let Ve=I.navigation.location||I.location,b1=Y7(a.history,Ve,J0.signal),m0=m||c,e1=I.navigation.state!=="idle"?Mi(m0,I.navigation.location,u):I.matches;He(e1,"Didn't find any matches after fetcher action");let p1=++g0;B.set(u0,p1);let R1=fm(Q,y1.data);I.fetchers.set(u0,R1);let[Qe,g2]=xC(a.history,I,e1,Q,Ve,!1,A.v7_skipActionErrorRevalidation,l0,e0,G0,O0,n0,G,m0,u,[a1.route.id,y1]);g2.filter(L2=>L2.key!==u0).forEach(L2=>{let U2=L2.key,fa=I.fetchers.get(U2),Da=fm(void 0,fa?fa.data:void 0);I.fetchers.set(U2,Da),c1(U2),L2.controller&&y0.set(U2,L2.controller)}),Z0({fetchers:new Map(I.fetchers)});let We=()=>g2.forEach(L2=>c1(L2.key));J0.signal.addEventListener("abort",We);let{loaderResults:ce,fetcherResults:Q1}=await Q0(I,e1,Qe,g2,b1);if(J0.signal.aborted)return;J0.signal.removeEventListener("abort",We),B.delete(u0),y0.delete(u0),g2.forEach(L2=>y0.delete(L2.key));let Ke=Ef(ce);if(Ke)return N0(b1,Ke.result,!1,{preventScrollReset:F1});if(Ke=Ef(Q1),Ke)return G.add(Ke.key),N0(b1,Ke.result,!1,{preventScrollReset:F1});let{loaderData:N8,errors:H8}=GC(I,e1,ce,void 0,g2,Q1,S0);if(I.fetchers.has(u0)){let L2=N3(y1.data);I.fetchers.set(u0,L2)}Fe(p1),I.navigation.state==="loading"&&p1>L0?(He(z,"Expected pending action"),K&&K.abort(),v0(I.navigation.location,{matches:e1,loaderData:N8,errors:H8,fetchers:new Map(I.fetchers)})):(Z0({errors:H8,loaderData:YC(I.loaderData,N8,e1,H8),fetchers:new Map(I.fetchers)}),l0=!1)}async function $0(u0,V0,T0,a1,O1,V1,Y1,F1,Q){let w0=I.fetchers.get(u0);o1(u0,fm(Q,w0?w0.data:void 0),{flushSync:Y1});let I0=new AbortController,J0=Y7(a.history,T0,I0.signal);if(V1){let y1=await jt(O1,T0,J0.signal);if(y1.type==="aborted")return;if(y1.type==="error"){Z1(u0,V0,y1.error,{flushSync:Y1});return}else if(y1.matches)O1=y1.matches,a1=hm(O1,T0);else{Z1(u0,V0,C6(404,{pathname:T0}),{flushSync:Y1});return}}y0.set(u0,I0);let h1=g0,k1=(await F0("loader",I,J0,[a1],O1,u0))[a1.route.id];if(C3(k1)&&(k1=await oE(k1,J0.signal,!0)||k1),y0.get(u0)===I0&&y0.delete(u0),!J0.signal.aborted){if(O0.has(u0)){o1(u0,N3(void 0));return}if(Oi(k1))if(L0>h1){o1(u0,N3(void 0));return}else{G.add(u0),await N0(J0,k1,!1,{preventScrollReset:F1});return}if(s4(k1)){Z1(u0,V0,k1.error);return}He(!C3(k1),"Unhandled fetcher deferred data"),o1(u0,N3(k1.data))}}async function N0(u0,V0,T0,a1){let{submission:O1,fetcherSubmission:V1,preventScrollReset:Y1,replace:F1}=a1===void 0?{}:a1;V0.response.headers.has("X-Remix-Revalidate")&&(l0=!0);let Q=V0.response.headers.get("Location");He(Q,"Expected a Location header on the redirect Response"),Q=qC(Q,new URL(u0.url),u);let w0=dm(I.location,Q,{_isRedirect:!0});if(r){let y1=!1;if(V0.response.headers.has("X-Remix-Reload-Document"))y1=!0;else if(aE.test(Q)){const Ve=a.history.createURL(Q);y1=Ve.origin!==e.location.origin||vr(Ve.pathname,u)==null}if(y1){F1?e.location.replace(Q):e.location.assign(Q);return}}K=null;let I0=F1===!0||V0.response.headers.has("X-Remix-Replace")?pt.Replace:pt.Push,{formMethod:J0,formAction:h1,formEncType:ae}=I.navigation;!O1&&!V1&&J0&&h1&&ae&&(O1=tN(I.navigation));let k1=O1||V1;if(vg1.has(V0.response.status)&&k1&&gr(k1.formMethod))await k0(I0,w0,{submission:V8({},k1,{formAction:Q}),preventScrollReset:Y1||q,enableViewTransition:T0?Y:void 0});else{let y1=cE(w0,O1);await k0(I0,w0,{overrideNavigation:y1,fetcherSubmission:V1,preventScrollReset:Y1||q,enableViewTransition:T0?Y:void 0})}}async function F0(u0,V0,T0,a1,O1,V1){let Y1,F1={};try{Y1=await Mg1(h,u0,V0,T0,a1,O1,V1,o,l)}catch(Q){return a1.forEach(w0=>{F1[w0.route.id]={type:X2.error,error:Q}}),F1}for(let[Q,w0]of Object.entries(Y1))if(Lg1(w0)){let I0=w0.result;F1[Q]={type:X2.redirect,response:$g1(I0,T0,Q,O1,u,A.v7_relativeSplatPath)}}else F1[Q]=await Og1(w0);return F1}async function Q0(u0,V0,T0,a1,O1){let V1=u0.matches,Y1=F0("loader",u0,O1,T0,V0,null),F1=Promise.all(a1.map(async I0=>{if(I0.matches&&I0.match&&I0.controller){let h1=(await F0("loader",u0,Y7(a.history,I0.path,I0.controller.signal),[I0.match],I0.matches,I0.key))[I0.match.route.id];return{[I0.key]:h1}}else return Promise.resolve({[I0.key]:{type:X2.error,error:C6(404,{pathname:I0.path})}})})),Q=await Y1,w0=(await F1).reduce((I0,J0)=>Object.assign(I0,J0),{});return await Promise.all([Pg1(V0,Q,O1.signal,V1,u0.loaderData),kg1(V0,w0,a1)]),{loaderResults:Q,fetcherResults:w0}}function w1(){l0=!0,e0.push(...Pe()),n0.forEach((u0,V0)=>{y0.has(V0)&&G0.add(V0),c1(V0)})}function o1(u0,V0,T0){T0===void 0&&(T0={}),I.fetchers.set(u0,V0),Z0({fetchers:new Map(I.fetchers)},{flushSync:(T0&&T0.flushSync)===!0})}function Z1(u0,V0,T0,a1){a1===void 0&&(a1={});let O1=Vi(I.matches,V0);Ie(u0),Z0({errors:{[O1.route.id]:T0},fetchers:new Map(I.fetchers)},{flushSync:(a1&&a1.flushSync)===!0})}function K1(u0){return A.v7_fetcherPersist&&(d0.set(u0,(d0.get(u0)||0)+1),O0.has(u0)&&O0.delete(u0)),I.fetchers.get(u0)||gg1}function Ie(u0){let V0=I.fetchers.get(u0);y0.has(u0)&&!(V0&&V0.state==="loading"&&B.has(u0))&&c1(u0),n0.delete(u0),B.delete(u0),G.delete(u0),O0.delete(u0),G0.delete(u0),I.fetchers.delete(u0)}function Le(u0){if(A.v7_fetcherPersist){let V0=(d0.get(u0)||0)-1;V0<=0?(d0.delete(u0),O0.add(u0)):d0.set(u0,V0)}else Ie(u0);Z0({fetchers:new Map(I.fetchers)})}function c1(u0){let V0=y0.get(u0);V0&&(V0.abort(),y0.delete(u0))}function P1(u0){for(let V0 of u0){let T0=K1(V0),a1=N3(T0.data);I.fetchers.set(V0,a1)}}function de(){let u0=[],V0=!1;for(let T0 of G){let a1=I.fetchers.get(T0);He(a1,"Expected fetcher: "+T0),a1.state==="loading"&&(G.delete(T0),u0.push(T0),V0=!0)}return P1(u0),V0}function Fe(u0){let V0=[];for(let[T0,a1]of B)if(a1<u0){let O1=I.fetchers.get(T0);He(O1,"Expected fetcher: "+T0),O1.state==="loading"&&(c1(T0),B.delete(T0),V0.push(T0))}return P1(V0),V0.length>0}function je(u0,V0){let T0=I.blockers.get(u0)||pm;return c0.get(u0)!==V0&&c0.set(u0,V0),T0}function Z2(u0){I.blockers.delete(u0),c0.delete(u0)}function f2(u0,V0){let T0=I.blockers.get(u0)||pm;He(T0.state==="unblocked"&&V0.state==="blocked"||T0.state==="blocked"&&V0.state==="blocked"||T0.state==="blocked"&&V0.state==="proceeding"||T0.state==="blocked"&&V0.state==="unblocked"||T0.state==="proceeding"&&V0.state==="unblocked","Invalid blocker state transition: "+T0.state+" -> "+V0.state);let a1=new Map(I.blockers);a1.set(u0,V0),Z0({blockers:a1})}function i8(u0){let{currentLocation:V0,nextLocation:T0,historyAction:a1}=u0;if(c0.size===0)return;c0.size>1&&Mt(!1,"A router only supports one blocker at a time");let O1=Array.from(c0.entries()),[V1,Y1]=O1[O1.length-1],F1=I.blockers.get(V1);if(!(F1&&F1.state==="proceeding")&&Y1({currentLocation:V0,nextLocation:T0,historyAction:a1}))return V1}function Be(u0){let V0=C6(404,{pathname:u0}),T0=m||c,{matches:a1,route:O1}=KC(T0);return Pe(),{notFoundMatches:a1,route:O1,error:V0}}function Pe(u0){let V0=[];return S0.forEach((T0,a1)=>{(!u0||u0(a1))&&(T0.cancel(),V0.push(a1),S0.delete(a1))}),V0}function qe(u0,V0,T0){if(M=u0,S=V0,O=T0||null,!F&&I.navigation===tE){F=!0;let a1=f8(I.location,I.matches);a1!=null&&Z0({restoreScrollPosition:a1})}return()=>{M=null,S=null,O=null}}function m2(u0,V0){return O&&O(u0,V0.map(a1=>Gv1(a1,I.loaderData)))||u0.key}function v2(u0,V0){if(M&&S){let T0=m2(u0,V0);M[T0]=S()}}function f8(u0,V0){if(M){let T0=m2(u0,V0),a1=M[T0];if(typeof a1=="number")return a1}return null}function Ft(u0,V0,T0){if(g)if(u0){if(Object.keys(u0[0].params).length>0)return{active:!0,matches:Zf(V0,T0,u,!0)}}else return{active:!0,matches:Zf(V0,T0,u,!0)||[]};return{active:!1,matches:null}}async function jt(u0,V0,T0){if(!g)return{type:"success",matches:u0};let a1=u0;for(;;){let O1=m==null,V1=m||c,Y1=o;try{await g({path:V0,matches:a1,patch:(w0,I0)=>{T0.aborted||UC(w0,I0,V1,Y1,l)}})}catch(w0){return{type:"error",error:w0,partialMatches:a1}}finally{O1&&!T0.aborted&&(c=[...c])}if(T0.aborted)return{type:"aborted"};let F1=Mi(V1,V0,u);if(F1)return{type:"success",matches:F1};let Q=Zf(V1,V0,u,!0);if(!Q||a1.length===Q.length&&a1.every((w0,I0)=>w0.route.id===Q[I0].route.id))return{type:"success",matches:null};a1=Q}}function v8(u0){o={},m=Af(u0,l,void 0,o)}function Pt(u0,V0){let T0=m==null;UC(u0,V0,m||c,o,l),T0&&(c=[...c],Z0({}))}return C={get basename(){return u},get future(){return A},get state(){return I},get routes(){return c},get window(){return e},initialize:X,subscribe:f0,enableScrollRestoration:qe,navigate:A0,fetch:H1,revalidate:x0,createHref:u0=>a.history.createHref(u0),encodeLocation:u0=>a.history.encodeLocation(u0),getFetcher:K1,deleteFetcher:Le,dispose:h0,getBlocker:je,deleteBlocker:Z2,patchRoutes:Pt,_internalFetchControllers:y0,_internalActiveDeferreds:S0,_internalSetRoutes:v8},C}function yg1(a){return a!=null&&("formData"in a&&a.formData!=null||"body"in a&&a.body!==void 0)}function rE(a,e,r,n,l,o,c,m){let u,h;if(c){u=[];for(let A of e)if(u.push(A),A.route.id===c){h=A;break}}else u=e,h=e[e.length-1];let g=eE(l||".",JH(u,o),vr(a.pathname,r)||a.pathname,m==="path");if(l==null&&(g.search=a.search,g.hash=a.hash),(l==null||l===""||l===".")&&h){let A=iE(g.search);if(h.route.index&&!A)g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&A){let y=new URLSearchParams(g.search),E=y.getAll("index");y.delete("index"),E.filter(O=>O).forEach(O=>y.append("index",O));let M=y.toString();g.search=M?"?"+M:""}}return n&&r!=="/"&&(g.pathname=g.pathname==="/"?r:hn([r,g.pathname])),k3(g)}function IC(a,e,r,n){if(!n||!yg1(n))return{path:r};if(n.formMethod&&!jg1(n.formMethod))return{path:r,error:C6(405,{method:n.formMethod})};let l=()=>({path:r,error:C6(400,{type:"invalid-body"})}),o=n.formMethod||"get",c=a?o.toUpperCase():o.toLowerCase(),m=XC(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!gr(c))return l();let y=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((E,M)=>{let[O,S]=M;return""+E+O+"="+S+`
278
278
  `},""):String(n.body);return{path:r,submission:{formMethod:c,formAction:m,formEncType:n.formEncType,formData:void 0,json:void 0,text:y}}}else if(n.formEncType==="application/json"){if(!gr(c))return l();try{let y=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:c,formAction:m,formEncType:n.formEncType,formData:void 0,json:y,text:void 0}}}catch{return l()}}}He(typeof FormData=="function","FormData is not available in this environment");let u,h;if(n.formData)u=lE(n.formData),h=n.formData;else if(n.body instanceof FormData)u=lE(n.body),h=n.body;else if(n.body instanceof URLSearchParams)u=n.body,h=WC(u);else if(n.body==null)u=new URLSearchParams,h=new FormData;else try{u=new URLSearchParams(n.body),h=WC(u)}catch{return l()}let g={formMethod:c,formAction:m,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if(gr(g.formMethod))return{path:r,submission:g};let A=_3(r);return e&&A.search&&iE(A.search)&&u.append("index",""),A.search="?"+u,{path:k3(A),submission:g}}function DC(a,e,r){r===void 0&&(r=!1);let n=a.findIndex(l=>l.route.id===e);return n>=0?a.slice(0,r?n+1:n):a}function xC(a,e,r,n,l,o,c,m,u,h,g,A,y,E,M,O){let S=O?s4(O[1])?O[1].error:O[1].data:void 0,F=a.createURL(e.location),j=a.createURL(l),k=r;o&&e.errors?k=DC(r,Object.keys(e.errors)[0],!0):O&&s4(O[1])&&(k=DC(r,O[0]));let N=O?O[1].statusCode:void 0,C=c&&N&&N>=400,I=k.filter((q,K)=>{let{route:Y}=q;if(Y.lazy)return!0;if(Y.loader==null)return!1;if(o)return nE(Y,e.loaderData,e.errors);if(bg1(e.loaderData,e.matches[K],q)||u.some(t0=>t0===q.route.id))return!0;let o0=e.matches[K],a0=q;return zC(q,V8({currentUrl:F,currentParams:o0.params,nextUrl:j,nextParams:a0.params},n,{actionResult:S,actionStatus:N,defaultShouldRevalidate:C?!1:m||F.pathname+F.search===j.pathname+j.search||F.search!==j.search||RC(o0,a0)}))}),z=[];return A.forEach((q,K)=>{if(o||!r.some(l0=>l0.route.id===q.routeId)||g.has(K))return;let Y=Mi(E,q.path,M);if(!Y){z.push({key:K,routeId:q.routeId,path:q.path,matches:null,match:null,controller:null});return}let o0=e.fetchers.get(K),a0=hm(Y,q.path),t0=!1;y.has(K)?t0=!1:h.has(K)?(h.delete(K),t0=!0):o0&&o0.state!=="idle"&&o0.data===void 0?t0=m:t0=zC(a0,V8({currentUrl:F,currentParams:e.matches[e.matches.length-1].params,nextUrl:j,nextParams:r[r.length-1].params},n,{actionResult:S,actionStatus:N,defaultShouldRevalidate:C?!1:m})),t0&&z.push({key:K,routeId:q.routeId,path:q.path,matches:Y,match:a0,controller:new AbortController})}),[I,z]}function nE(a,e,r){if(a.lazy)return!0;if(!a.loader)return!1;let n=e!=null&&e[a.id]!==void 0,l=r!=null&&r[a.id]!==void 0;return!n&&l?!1:typeof a.loader=="function"&&a.loader.hydrate===!0?!0:!n&&!l}function bg1(a,e,r){let n=!e||r.route.id!==e.route.id,l=a[r.route.id]===void 0;return n||l}function RC(a,e){let r=a.route.path;return a.pathname!==e.pathname||r!=null&&r.endsWith("*")&&a.params["*"]!==e.params["*"]}function zC(a,e){if(a.route.shouldRevalidate){let r=a.route.shouldRevalidate(e);if(typeof r=="boolean")return r}return e.defaultShouldRevalidate}function UC(a,e,r,n,l){var o;let c;if(a){let h=n[a];He(h,"No route found to patch children into: routeId = "+a),h.children||(h.children=[]),c=h.children}else c=r;let m=e.filter(h=>!c.some(g=>BC(h,g))),u=Af(m,l,[a||"_","patch",String(((o=c)==null?void 0:o.length)||"0")],n);c.push(...u)}function BC(a,e){return"id"in a&&"id"in e&&a.id===e.id?!0:a.index===e.index&&a.path===e.path&&a.caseSensitive===e.caseSensitive?(!a.children||a.children.length===0)&&(!e.children||e.children.length===0)?!0:a.children.every((r,n)=>{var l;return(l=e.children)==null?void 0:l.some(o=>BC(r,o))}):!1}async function Hg1(a,e,r){if(!a.lazy)return;let n=await a.lazy();if(!a.lazy)return;let l=r[a.id];He(l,"No route found in manifest");let o={};for(let c in n){let u=l[c]!==void 0&&c!=="hasErrorBoundary";Mt(!u,'Route "'+l.id+'" has a static property "'+c+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+c+'" will be ignored.')),!u&&!qv1.has(c)&&(o[c]=n[c])}Object.assign(l,o),Object.assign(l,V8({},e(l),{lazy:void 0}))}async function Eg1(a){let{matches:e}=a,r=e.filter(l=>l.shouldLoad);return(await Promise.all(r.map(l=>l.resolve()))).reduce((l,o,c)=>Object.assign(l,{[r[c].route.id]:o}),{})}async function Mg1(a,e,r,n,l,o,c,m,u,h){let g=o.map(E=>E.route.lazy?Hg1(E.route,u,m):void 0),A=o.map((E,M)=>{let O=g[M],S=l.some(j=>j.route.id===E.route.id);return V8({},E,{shouldLoad:S,resolve:async j=>(j&&n.method==="GET"&&(E.route.lazy||E.route.loader)&&(S=!0),S?Vg1(e,n,E,O,j,h):Promise.resolve({type:X2.data,result:void 0}))})}),y=await a({matches:A,request:n,params:o[0].params,fetcherKey:c,context:h});try{await Promise.all(g)}catch{}return y}async function Vg1(a,e,r,n,l,o){let c,m,u=h=>{let g,A=new Promise((M,O)=>g=O);m=()=>g(),e.signal.addEventListener("abort",m);let y=M=>typeof h!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+a+'" [routeId: '+r.route.id+"]"))):h({request:e,params:r.params,context:o},...M!==void 0?[M]:[]),E=(async()=>{try{return{type:"data",result:await(l?l(O=>y(O)):y())}}catch(M){return{type:"error",result:M}}})();return Promise.race([E,A])};try{let h=r.route[a];if(n)if(h){let g,[A]=await Promise.all([u(h).catch(y=>{g=y}),n]);if(g!==void 0)throw g;c=A}else if(await n,h=r.route[a],h)c=await u(h);else if(a==="action"){let g=new URL(e.url),A=g.pathname+g.search;throw C6(405,{method:e.method,pathname:A,routeId:r.route.id})}else return{type:X2.data,result:void 0};else if(h)c=await u(h);else{let g=new URL(e.url),A=g.pathname+g.search;throw C6(404,{pathname:A})}He(c.result!==void 0,"You defined "+(a==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+a+"` ")+"function. Please return a value or `null`.")}catch(h){return{type:X2.error,result:h}}finally{m&&e.signal.removeEventListener("abort",m)}return c}async function Og1(a){let{result:e,type:r}=a;if(eN(e)){let h;try{let g=e.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?e.body==null?h=null:h=await e.json():h=await e.text()}catch(g){return{type:X2.error,error:g}}return r===X2.error?{type:X2.error,error:new bf(e.status,e.statusText,h),statusCode:e.status,headers:e.headers}:{type:X2.data,data:h,statusCode:e.status,headers:e.headers}}if(r===X2.error){if(JC(e)){var n;if(e.data instanceof Error){var l;return{type:X2.error,error:e.data,statusCode:(l=e.init)==null?void 0:l.status}}e=new bf(((n=e.init)==null?void 0:n.status)||500,void 0,e.data)}return{type:X2.error,error:e,statusCode:Hf(e)?e.status:void 0}}if(Fg1(e)){var o,c;return{type:X2.deferred,deferredData:e,statusCode:(o=e.init)==null?void 0:o.status,headers:((c=e.init)==null?void 0:c.headers)&&new Headers(e.init.headers)}}if(JC(e)){var m,u;return{type:X2.data,data:e.data,statusCode:(m=e.init)==null?void 0:m.status,headers:(u=e.init)!=null&&u.headers?new Headers(e.init.headers):void 0}}return{type:X2.data,data:e}}function $g1(a,e,r,n,l,o){let c=a.headers.get("Location");if(He(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!aE.test(c)){let m=n.slice(0,n.findIndex(u=>u.route.id===r)+1);c=rE(new URL(e.url),m,l,!0,c,o),a.headers.set("Location",c)}return a}function qC(a,e,r){if(aE.test(a)){let n=a,l=n.startsWith("//")?new URL(e.protocol+n):new URL(n),o=vr(l.pathname,r)!=null;if(l.origin===e.origin&&o)return l.pathname+l.search+l.hash}return a}function Y7(a,e,r,n){let l=a.createURL(XC(e)).toString(),o={signal:r};if(n&&gr(n.formMethod)){let{formMethod:c,formEncType:m}=n;o.method=c.toUpperCase(),m==="application/json"?(o.headers=new Headers({"Content-Type":m}),o.body=JSON.stringify(n.json)):m==="text/plain"?o.body=n.text:m==="application/x-www-form-urlencoded"&&n.formData?o.body=lE(n.formData):o.body=n.formData}return new Request(l,o)}function lE(a){let e=new URLSearchParams;for(let[r,n]of a.entries())e.append(r,typeof n=="string"?n:n.name);return e}function WC(a){let e=new FormData;for(let[r,n]of a.entries())e.append(r,n);return e}function wg1(a,e,r,n,l){let o={},c=null,m,u=!1,h={},g=r&&s4(r[1])?r[1].error:void 0;return a.forEach(A=>{if(!(A.route.id in e))return;let y=A.route.id,E=e[y];if(He(!Oi(E),"Cannot handle redirect results in processLoaderData"),s4(E)){let M=E.error;g!==void 0&&(M=g,g=void 0),c=c||{};{let O=Vi(a,y);c[O.route.id]==null&&(c[O.route.id]=M)}o[y]=void 0,u||(u=!0,m=Hf(E.error)?E.error.status:500),E.headers&&(h[y]=E.headers)}else C3(E)?(n.set(y,E.deferredData),o[y]=E.deferredData.data,E.statusCode!=null&&E.statusCode!==200&&!u&&(m=E.statusCode),E.headers&&(h[y]=E.headers)):(o[y]=E.data,E.statusCode&&E.statusCode!==200&&!u&&(m=E.statusCode),E.headers&&(h[y]=E.headers))}),g!==void 0&&r&&(c={[r[0]]:g},o[r[0]]=void 0),{loaderData:o,errors:c,statusCode:m||200,loaderHeaders:h}}function GC(a,e,r,n,l,o,c){let{loaderData:m,errors:u}=wg1(e,r,n,c);return l.forEach(h=>{let{key:g,match:A,controller:y}=h,E=o[g];if(He(E,"Did not find corresponding fetcher result"),!(y&&y.signal.aborted))if(s4(E)){let M=Vi(a.matches,A==null?void 0:A.route.id);u&&u[M.route.id]||(u=V8({},u,{[M.route.id]:E.error})),a.fetchers.delete(g)}else if(Oi(E))He(!1,"Unhandled fetcher revalidation redirect");else if(C3(E))He(!1,"Unhandled fetcher deferred data");else{let M=N3(E.data);a.fetchers.set(g,M)}}),{loaderData:m,errors:u}}function YC(a,e,r,n){let l=V8({},e);for(let o of r){let c=o.route.id;if(e.hasOwnProperty(c)?e[c]!==void 0&&(l[c]=e[c]):a[c]!==void 0&&o.route.loader&&(l[c]=a[c]),n&&n.hasOwnProperty(c))break}return l}function QC(a){return a?s4(a[1])?{actionData:{}}:{actionData:{[a[0]]:a[1].data}}:{}}function Vi(a,e){return(e?a.slice(0,a.findIndex(n=>n.route.id===e)+1):[...a]).reverse().find(n=>n.route.hasErrorBoundary===!0)||a[0]}function KC(a){let e=a.length===1?a[0]:a.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function C6(a,e){let{pathname:r,routeId:n,method:l,type:o,message:c}=e===void 0?{}:e,m="Unknown Server Error",u="Unknown @remix-run/router error";return a===400?(m="Bad Request",l&&r&&n?u="You made a "+l+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?u="defer() is not supported in actions":o==="invalid-body"&&(u="Unable to encode submission body")):a===403?(m="Forbidden",u='Route "'+n+'" does not match URL "'+r+'"'):a===404?(m="Not Found",u='No route matches URL "'+r+'"'):a===405&&(m="Method Not Allowed",l&&r&&n?u="You made a "+l.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":l&&(u='Invalid request method "'+l.toUpperCase()+'"')),new bf(a||500,m,new Error(u),!0)}function Ef(a){let e=Object.entries(a);for(let r=e.length-1;r>=0;r--){let[n,l]=e[r];if(Oi(l))return{key:n,result:l}}}function XC(a){let e=typeof a=="string"?_3(a):a;return k3(V8({},e,{hash:""}))}function Sg1(a,e){return a.pathname!==e.pathname||a.search!==e.search?!1:a.hash===""?e.hash!=="":a.hash===e.hash?!0:e.hash!==""}function Lg1(a){return eN(a.result)&&fg1.has(a.result.status)}function C3(a){return a.type===X2.deferred}function s4(a){return a.type===X2.error}function Oi(a){return(a&&a.type)===X2.redirect}function JC(a){return typeof a=="object"&&a!=null&&"type"in a&&"data"in a&&"init"in a&&a.type==="DataWithResponseInit"}function Fg1(a){let e=a;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function eN(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.headers=="object"&&typeof a.body<"u"}function jg1(a){return hg1.has(a.toLowerCase())}function gr(a){return dg1.has(a.toLowerCase())}async function Pg1(a,e,r,n,l){let o=Object.entries(e);for(let c=0;c<o.length;c++){let[m,u]=o[c],h=a.find(y=>(y==null?void 0:y.route.id)===m);if(!h)continue;let g=n.find(y=>y.route.id===h.route.id),A=g!=null&&!RC(g,h)&&(l&&l[h.route.id])!==void 0;C3(u)&&A&&await oE(u,r,!1).then(y=>{y&&(e[m]=y)})}}async function kg1(a,e,r){for(let n=0;n<r.length;n++){let{key:l,routeId:o,controller:c}=r[n],m=e[l];a.find(h=>(h==null?void 0:h.route.id)===o)&&C3(m)&&(He(c,"Expected an AbortController for revalidating fetcher deferred result"),await oE(m,c.signal,!0).then(h=>{h&&(e[l]=h)}))}}async function oE(a,e,r){if(r===void 0&&(r=!1),!await a.deferredData.resolveData(e)){if(r)try{return{type:X2.data,data:a.deferredData.unwrappedData}}catch(l){return{type:X2.error,error:l}}return{type:X2.data,data:a.deferredData.data}}}function iE(a){return new URLSearchParams(a).getAll("index").some(e=>e==="")}function hm(a,e){let r=typeof e=="string"?_3(e).search:e.search;if(a[a.length-1].route.index&&iE(r||""))return a[a.length-1];let n=CC(a);return n[n.length-1]}function tN(a){let{formMethod:e,formAction:r,formEncType:n,text:l,formData:o,json:c}=a;if(!(!e||!r||!n)){if(l!=null)return{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:void 0,text:l};if(o!=null)return{formMethod:e,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(c!==void 0)return{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:c,text:void 0}}}function cE(a,e){return e?{state:"loading",location:a,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:a,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function _g1(a,e){return{state:"submitting",location:a,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function fm(a,e){return a?{state:"loading",formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Cg1(a,e){return{state:"submitting",formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text,data:e?e.data:void 0}}function N3(a){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function Ng1(a,e){try{let r=a.sessionStorage.getItem(TC);if(r){let n=JSON.parse(r);for(let[l,o]of Object.entries(n||{}))o&&Array.isArray(o)&&e.set(l,new Set(o||[]))}}catch{}}function Tg1(a,e){if(e.size>0){let r={};for(let[n,l]of e)r[n]=[...l];try{a.sessionStorage.setItem(TC,JSON.stringify(r))}catch(n){Mt(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}var w2={};function Mf(){return Mf=Object.assign?Object.assign.bind():function(a){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(a[n]=r[n])}return a},Mf.apply(this,arguments)}const Q7=p.createContext(null);w2.NODE_ENV!=="production"&&(Q7.displayName="DataRouter");const Vf=p.createContext(null);w2.NODE_ENV!=="production"&&(Vf.displayName="DataRouterState");const Ig1=p.createContext(null);w2.NODE_ENV!=="production"&&(Ig1.displayName="Await");const Ar=p.createContext(null);w2.NODE_ENV!=="production"&&(Ar.displayName="Navigation");const Of=p.createContext(null);w2.NODE_ENV!=="production"&&(Of.displayName="Location");const fn=p.createContext({outlet:null,matches:[],isDataRoute:!1});w2.NODE_ENV!=="production"&&(fn.displayName="Route");const sE=p.createContext(null);w2.NODE_ENV!=="production"&&(sE.displayName="RouteError");function Dg1(a,e){let{relative:r}=e===void 0?{}:e;vm()||(w2.NODE_ENV!=="production"?He(!1,"useHref() may be used only in the context of a <Router> component."):He(!1));let{basename:n,navigator:l}=p.useContext(Ar),{hash:o,pathname:c,search:m}=gm(a,{relative:r}),u=c;return n!=="/"&&(u=c==="/"?n:hn([n,c])),l.createHref({pathname:u,search:m,hash:o})}function vm(){return p.useContext(Of)!=null}function $i(){return vm()||(w2.NODE_ENV!=="production"?He(!1,"useLocation() may be used only in the context of a <Router> component."):He(!1)),p.useContext(Of).location}const aN="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function rN(a){p.useContext(Ar).static||p.useLayoutEffect(a)}function $f(){let{isDataRoute:a}=p.useContext(fn);return a?Jg1():xg1()}function xg1(){vm()||(w2.NODE_ENV!=="production"?He(!1,"useNavigate() may be used only in the context of a <Router> component."):He(!1));let a=p.useContext(Q7),{basename:e,future:r,navigator:n}=p.useContext(Ar),{matches:l}=p.useContext(fn),{pathname:o}=$i(),c=JSON.stringify(JH(l,r.v7_relativeSplatPath)),m=p.useRef(!1);return rN(()=>{m.current=!0}),p.useCallback(function(h,g){if(g===void 0&&(g={}),w2.NODE_ENV!=="production"&&Mt(m.current,aN),!m.current)return;if(typeof h=="number"){n.go(h);return}let A=eE(h,JSON.parse(c),o,g.relative==="path");a==null&&e!=="/"&&(A.pathname=A.pathname==="/"?e:hn([e,A.pathname])),(g.replace?n.replace:n.push)(A,g.state,g)},[e,n,c,o,a])}function Rg1(){let{matches:a}=p.useContext(fn),e=a[a.length-1];return e?e.params:{}}function gm(a,e){let{relative:r}=e===void 0?{}:e,{future:n}=p.useContext(Ar),{matches:l}=p.useContext(fn),{pathname:o}=$i(),c=JSON.stringify(JH(l,n.v7_relativeSplatPath));return p.useMemo(()=>eE(a,JSON.parse(c),o,r==="path"),[a,c,o,r])}function zg1(a,e,r,n){vm()||(w2.NODE_ENV!=="production"?He(!1,"useRoutes() may be used only in the context of a <Router> component."):He(!1));let{navigator:l}=p.useContext(Ar),{matches:o}=p.useContext(fn),c=o[o.length-1],m=c?c.params:{},u=c?c.pathname:"/",h=c?c.pathnameBase:"/",g=c&&c.route;if(w2.NODE_ENV!=="production"){let F=g&&g.path||"";iN(u,!g||F.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+u+'" (under <Route path="'+F+'">) 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.
279
279
 
280
- `+('Please change the parent <Route path="'+F+'"> to <Route ')+('path="'+(F==="/"?"*":F+"/*")+'">.'))}let A=$i(),y;y=A;let E=y.pathname||"/",M=E;if(h!=="/"){let F=h.replace(/^\//,"").split("/");M="/"+E.replace(/^\//,"").split("/").slice(F.length).join("/")}let O=Mi(a,{pathname:M});return w2.NODE_ENV!=="production"&&(w2.NODE_ENV!=="production"&&Mt(g||O!=null,'No routes matched location "'+y.pathname+y.search+y.hash+'" '),w2.NODE_ENV!=="production"&&Mt(O==null||O[O.length-1].route.element!==void 0||O[O.length-1].route.Component!==void 0||O[O.length-1].route.lazy!==void 0,'Matched leaf route at location "'+y.pathname+y.search+y.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.')),Gg1(O&&O.map(F=>Object.assign({},F,{params:Object.assign({},m,F.params),pathname:hn([h,l.encodeLocation?l.encodeLocation(F.pathname).pathname:F.pathname]),pathnameBase:F.pathnameBase==="/"?h:hn([h,l.encodeLocation?l.encodeLocation(F.pathnameBase).pathname:F.pathnameBase])})),o,r,n)}function Ug1(){let a=lN(),e=Hf(a)?a.status+" "+a.statusText:a instanceof Error?a.message:JSON.stringify(a),r=a instanceof Error?a.stack:null,n="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:n},o={padding:"2px 4px",backgroundColor:n},c=null;return w2.NODE_ENV!=="production"&&(console.error("Error handled by React Router default ErrorBoundary:",a),c=p.createElement(p.Fragment,null,p.createElement("p",null,"💿 Hey developer 👋"),p.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",p.createElement("code",{style:o},"ErrorBoundary")," or"," ",p.createElement("code",{style:o},"errorElement")," prop on your route."))),p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},e),r?p.createElement("pre",{style:l},r):null,c)}const Bg1=p.createElement(Ug1,null);class qg1 extends p.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?p.createElement(fn.Provider,{value:this.props.routeContext},p.createElement(sE.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Wg1(a){let{routeContext:e,match:r,children:n}=a,l=p.useContext(Q7);return l&&l.static&&l.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(fn.Provider,{value:e},n)}function Gg1(a,e,r,n){var l;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),a==null){var o;if(!r)return null;if(r.errors)a=r.matches;else if((o=n)!=null&&o.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)a=r.matches;else return null}let c=a,m=(l=r)==null?void 0:l.errors;if(m!=null){let g=c.findIndex(A=>A.route.id&&(m==null?void 0:m[A.route.id])!==void 0);g>=0||(w2.NODE_ENV!=="production"?He(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(m).join(",")):He(!1)),c=c.slice(0,Math.min(c.length,g+1))}let u=!1,h=-1;if(r&&n&&n.v7_partialHydration)for(let g=0;g<c.length;g++){let A=c[g];if((A.route.HydrateFallback||A.route.hydrateFallbackElement)&&(h=g),A.route.id){let{loaderData:y,errors:E}=r,M=A.route.loader&&y[A.route.id]===void 0&&(!E||E[A.route.id]===void 0);if(A.route.lazy||M){u=!0,h>=0?c=c.slice(0,h+1):c=[c[0]];break}}}return c.reduceRight((g,A,y)=>{let E,M=!1,O=null,S=null;r&&(E=m&&A.route.id?m[A.route.id]:void 0,O=A.route.errorElement||Bg1,u&&(h<0&&y===0?(iN("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,S=null):h===y&&(M=!0,S=A.route.hydrateFallbackElement||null)));let F=e.concat(c.slice(0,y+1)),j=()=>{let k;return E?k=O:M?k=S:A.route.Component?k=p.createElement(A.route.Component,null):A.route.element?k=A.route.element:k=g,p.createElement(Wg1,{match:A,routeContext:{outlet:g,matches:F,isDataRoute:r!=null},children:k})};return r&&(A.route.ErrorBoundary||A.route.errorElement||y===0)?p.createElement(qg1,{location:r.location,revalidation:r.revalidation,component:O,error:E,children:j(),routeContext:{outlet:null,matches:F,isDataRoute:!0}}):j()},null)}var nN=function(a){return a.UseBlocker="useBlocker",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a}(nN||{}),Am=function(a){return a.UseBlocker="useBlocker",a.UseLoaderData="useLoaderData",a.UseActionData="useActionData",a.UseRouteError="useRouteError",a.UseNavigation="useNavigation",a.UseRouteLoaderData="useRouteLoaderData",a.UseMatches="useMatches",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a.UseRouteId="useRouteId",a}(Am||{});function mE(a){return a+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function Yg1(a){let e=p.useContext(Q7);return e||(w2.NODE_ENV!=="production"?He(!1,mE(a)):He(!1)),e}function Qg1(a){let e=p.useContext(Vf);return e||(w2.NODE_ENV!=="production"?He(!1,mE(a)):He(!1)),e}function Kg1(a){let e=p.useContext(fn);return e||(w2.NODE_ENV!=="production"?He(!1,mE(a)):He(!1)),e}function uE(a){let e=Kg1(a),r=e.matches[e.matches.length-1];return r.route.id||(w2.NODE_ENV!=="production"?He(!1,a+' can only be used on routes that contain a unique "id"'):He(!1)),r.route.id}function Xg1(){return uE(Am.UseRouteId)}function lN(){var a;let e=p.useContext(sE),r=Qg1(Am.UseRouteError),n=uE(Am.UseRouteError);return e!==void 0?e:(a=r.errors)==null?void 0:a[n]}function Jg1(){let{router:a}=Yg1(nN.UseNavigateStable),e=uE(Am.UseNavigateStable),r=p.useRef(!1);return rN(()=>{r.current=!0}),p.useCallback(function(l,o){o===void 0&&(o={}),w2.NODE_ENV!=="production"&&Mt(r.current,aN),r.current&&(typeof l=="number"?a.navigate(l):a.navigate(l,Mf({fromRouteId:e},o)))},[a,e])}const oN={};function iN(a,e,r){!e&&!oN[a]&&(oN[a]=!0,w2.NODE_ENV!=="production"&&Mt(!1,r))}const cN={};function eA1(a,e){cN[e]||(cN[e]=!0,console.warn(e))}const K7=(a,e,r)=>eA1(a,"⚠️ React Router Future Flag Warning: "+e+". "+("You can use the `"+a+"` future flag to opt-in early. ")+("For more information, see "+r+"."));function tA1(a,e){a!=null&&a.v7_startTransition||K7("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(a!=null&&a.v7_relativeSplatPath)&&(!e||!e.v7_relativeSplatPath)&&K7("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),e&&(e.v7_fetcherPersist||K7("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),e.v7_normalizeFormMethod||K7("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),e.v7_partialHydration||K7("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),e.v7_skipActionErrorRevalidation||K7("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}function aA1(a){let{basename:e="/",children:r=null,location:n,navigationType:l=dt.Pop,navigator:o,static:c=!1,future:m}=a;vm()&&(w2.NODE_ENV!=="production"?He(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app."):He(!1));let u=e.replace(/^\/*/,"/"),h=p.useMemo(()=>({basename:u,navigator:o,static:c,future:Mf({v7_relativeSplatPath:!1},m)}),[u,m,o,c]);typeof n=="string"&&(n=_3(n));let{pathname:g="/",search:A="",hash:y="",state:E=null,key:M="default"}=n,O=p.useMemo(()=>{let S=vr(g,u);return S==null?null:{location:{pathname:S,search:A,hash:y,state:E,key:M},navigationType:l}},[u,g,A,y,E,M,l]);return w2.NODE_ENV!=="production"&&Mt(O!=null,'<Router basename="'+u+'"> is not able to match the URL '+('"'+g+A+y+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),O==null?null:p.createElement(Ar.Provider,{value:h},p.createElement(Of.Provider,{children:r,value:O}))}new Promise(()=>{});function rA1(a){let e={hasErrorBoundary:a.ErrorBoundary!=null||a.errorElement!=null};return a.Component&&(w2.NODE_ENV!=="production"&&a.element&&w2.NODE_ENV!=="production"&&Mt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(e,{element:p.createElement(a.Component),Component:void 0})),a.HydrateFallback&&(w2.NODE_ENV!=="production"&&a.hydrateFallbackElement&&w2.NODE_ENV!=="production"&&Mt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(e,{hydrateFallbackElement:p.createElement(a.HydrateFallback),HydrateFallback:void 0})),a.ErrorBoundary&&(w2.NODE_ENV!=="production"&&a.errorElement&&w2.NODE_ENV!=="production"&&Mt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(e,{errorElement:p.createElement(a.ErrorBoundary),ErrorBoundary:void 0})),e}var _4={};function T3(){return T3=Object.assign?Object.assign.bind():function(a){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(a[n]=r[n])}return a},T3.apply(this,arguments)}function dE(a,e){if(a==null)return{};var r={},n=Object.keys(a),l,o;for(o=0;o<n.length;o++)l=n[o],!(e.indexOf(l)>=0)&&(r[l]=a[l]);return r}const wf="get",Sf="application/x-www-form-urlencoded";function Lf(a){return a!=null&&typeof a.tagName=="string"}function nA1(a){return Lf(a)&&a.tagName.toLowerCase()==="button"}function lA1(a){return Lf(a)&&a.tagName.toLowerCase()==="form"}function oA1(a){return Lf(a)&&a.tagName.toLowerCase()==="input"}function iA1(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function cA1(a,e){return a.button===0&&(!e||e==="_self")&&!iA1(a)}function pE(a){return a===void 0&&(a=""),new URLSearchParams(typeof a=="string"||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce((e,r)=>{let n=a[r];return e.concat(Array.isArray(n)?n.map(l=>[r,l]):[[r,n]])},[]))}function sA1(a,e){let r=pE(a);return e&&e.forEach((n,l)=>{r.has(l)||e.getAll(l).forEach(o=>{r.append(l,o)})}),r}let Ff=null;function mA1(){if(Ff===null)try{new FormData(document.createElement("form"),0),Ff=!1}catch{Ff=!0}return Ff}const uA1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function hE(a){return a!=null&&!uA1.has(a)?(_4.NODE_ENV!=="production"&&Mt(!1,'"'+a+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Sf+'"')),null):a}function dA1(a,e){let r,n,l,o,c;if(lA1(a)){let m=a.getAttribute("action");n=m?vr(m,e):null,r=a.getAttribute("method")||wf,l=hE(a.getAttribute("enctype"))||Sf,o=new FormData(a)}else if(nA1(a)||oA1(a)&&(a.type==="submit"||a.type==="image")){let m=a.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=a.getAttribute("formaction")||m.getAttribute("action");if(n=u?vr(u,e):null,r=a.getAttribute("formmethod")||m.getAttribute("method")||wf,l=hE(a.getAttribute("formenctype"))||hE(m.getAttribute("enctype"))||Sf,o=new FormData(m,a),!mA1()){let{name:h,type:g,value:A}=a;if(g==="image"){let y=h?h+".":"";o.append(y+"x","0"),o.append(y+"y","0")}else h&&o.append(h,A)}}else{if(Lf(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=wf,n=null,l=Sf,c=a}return o&&l==="text/plain"&&(c=o,o=void 0),{action:n,method:r.toLowerCase(),encType:l,formData:o,body:c}}const pA1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],hA1=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],fA1=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],vA1="6";try{window.__reactRouterVersion=vA1}catch{}function gA1(a,e){return Zg1({basename:void 0,future:T3({},void 0,{v7_prependBasename:!0}),history:zv1({window:void 0}),hydrationData:AA1(),routes:a,mapRouteProperties:rA1,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function AA1(){var a;let e=(a=window)==null?void 0:a.__staticRouterHydrationData;return e&&e.errors&&(e=T3({},e,{errors:ZA1(e.errors)})),e}function ZA1(a){if(!a)return null;let e=Object.entries(a),r={};for(let[n,l]of e)if(l&&l.__type==="RouteErrorResponse")r[n]=new bf(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let o=window[l.__subType];if(typeof o=="function")try{let c=new o(l.message);c.stack="",r[n]=c}catch{}}if(r[n]==null){let o=new Error(l.message);o.stack="",r[n]=o}}else r[n]=l;return r}const fE=p.createContext({isTransitioning:!1});_4.NODE_ENV!=="production"&&(fE.displayName="ViewTransition");const sN=p.createContext(new Map);_4.NODE_ENV!=="production"&&(sN.displayName="Fetchers");const mN=Qs["startTransition"],uN=up1["flushSync"];function yA1(a){mN?mN(a):a()}function Zm(a){uN?uN(a):a()}class bA1{constructor(){this.status="pending",this.promise=new Promise((e,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function HA1(a){let{fallbackElement:e,router:r,future:n}=a,[l,o]=p.useState(r.state),[c,m]=p.useState(),[u,h]=p.useState({isTransitioning:!1}),[g,A]=p.useState(),[y,E]=p.useState(),[M,O]=p.useState(),S=p.useRef(new Map),{v7_startTransition:F}=n||{},j=p.useCallback(q=>{F?yA1(q):q()},[F]),k=p.useCallback((q,K)=>{let{deletedFetchers:Y,flushSync:o0,viewTransitionOpts:a0}=K;Y.forEach(l0=>S.current.delete(l0)),q.fetchers.forEach((l0,e0)=>{l0.data!==void 0&&S.current.set(e0,l0.data)});let t0=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!a0||t0){o0?Zm(()=>o(q)):j(()=>o(q));return}if(o0){Zm(()=>{y&&(g&&g.resolve(),y.skipTransition()),h({isTransitioning:!0,flushSync:!0,currentLocation:a0.currentLocation,nextLocation:a0.nextLocation})});let l0=r.window.document.startViewTransition(()=>{Zm(()=>o(q))});l0.finished.finally(()=>{Zm(()=>{A(void 0),E(void 0),m(void 0),h({isTransitioning:!1})})}),Zm(()=>E(l0));return}y?(g&&g.resolve(),y.skipTransition(),O({state:q,currentLocation:a0.currentLocation,nextLocation:a0.nextLocation})):(m(q),h({isTransitioning:!0,flushSync:!1,currentLocation:a0.currentLocation,nextLocation:a0.nextLocation}))},[r.window,y,g,S,j]);p.useLayoutEffect(()=>r.subscribe(k),[r,k]),p.useEffect(()=>{u.isTransitioning&&!u.flushSync&&A(new bA1)},[u]),p.useEffect(()=>{if(g&&c&&r.window){let q=c,K=g.promise,Y=r.window.document.startViewTransition(async()=>{j(()=>o(q)),await K});Y.finished.finally(()=>{A(void 0),E(void 0),m(void 0),h({isTransitioning:!1})}),E(Y)}},[j,c,g,r.window]),p.useEffect(()=>{g&&c&&l.location.key===c.location.key&&g.resolve()},[g,y,l.location,c]),p.useEffect(()=>{!u.isTransitioning&&M&&(m(M.state),h({isTransitioning:!0,flushSync:!1,currentLocation:M.currentLocation,nextLocation:M.nextLocation}),O(void 0))},[u.isTransitioning,M]),p.useEffect(()=>{_4.NODE_ENV!=="production"&&Mt(e==null||!r.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let N=p.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:q=>r.navigate(q),push:(q,K,Y)=>r.navigate(q,{state:K,preventScrollReset:Y==null?void 0:Y.preventScrollReset}),replace:(q,K,Y)=>r.navigate(q,{replace:!0,state:K,preventScrollReset:Y==null?void 0:Y.preventScrollReset})}),[r]),C=r.basename||"/",I=p.useMemo(()=>({router:r,navigator:N,static:!1,basename:C}),[r,N,C]),z=p.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return p.useEffect(()=>tA1(n,r.future),[n,r.future]),p.createElement(p.Fragment,null,p.createElement(Q7.Provider,{value:I},p.createElement(Vf.Provider,{value:l},p.createElement(sN.Provider,{value:S.current},p.createElement(fE.Provider,{value:u},p.createElement(aA1,{basename:C,location:l.location,navigationType:l.historyAction,navigator:N,future:z},l.initialized||r.future.v7_partialHydration?p.createElement(EA1,{routes:r.routes,future:r.future,state:l}):e))))),null)}const EA1=p.memo(MA1);function MA1(a){let{routes:e,future:r,state:n}=a;return zg1(e,void 0,n,r)}const VA1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",OA1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dN=p.forwardRef(function(e,r){let{onClick:n,relative:l,reloadDocument:o,replace:c,state:m,target:u,to:h,preventScrollReset:g,viewTransition:A}=e,y=dE(e,pA1),{basename:E}=p.useContext(Ar),M,O=!1;if(typeof h=="string"&&OA1.test(h)&&(M=h,VA1))try{let k=new URL(window.location.href),N=h.startsWith("//")?new URL(k.protocol+h):new URL(h),C=vr(N.pathname,E);N.origin===k.origin&&C!=null?h=C+N.search+N.hash:O=!0}catch{_4.NODE_ENV!=="production"&&Mt(!1,'<Link to="'+h+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let S=Dg1(h,{relative:l}),F=LA1(h,{replace:c,state:m,target:u,preventScrollReset:g,relative:l,viewTransition:A});function j(k){n&&n(k),k.defaultPrevented||F(k)}return p.createElement("a",T3({},y,{href:M||S,onClick:O||o?n:j,ref:r,target:u}))});_4.NODE_ENV!=="production"&&(dN.displayName="Link");const $A1=p.forwardRef(function(e,r){let{"aria-current":n="page",caseSensitive:l=!1,className:o="",end:c=!1,style:m,to:u,viewTransition:h,children:g}=e,A=dE(e,hA1),y=gm(u,{relative:A.relative}),E=$i(),M=p.useContext(Vf),{navigator:O,basename:S}=p.useContext(Ar),F=M!=null&&NA1(y)&&h===!0,j=O.encodeLocation?O.encodeLocation(y).pathname:y.pathname,k=E.pathname,N=M&&M.navigation&&M.navigation.location?M.navigation.location.pathname:null;l||(k=k.toLowerCase(),N=N?N.toLowerCase():null,j=j.toLowerCase()),N&&S&&(N=vr(N,S)||N);const C=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let I=k===j||!c&&k.startsWith(j)&&k.charAt(C)==="/",z=N!=null&&(N===j||!c&&N.startsWith(j)&&N.charAt(j.length)==="/"),q={isActive:I,isPending:z,isTransitioning:F},K=I?n:void 0,Y;typeof o=="function"?Y=o(q):Y=[o,I?"active":null,z?"pending":null,F?"transitioning":null].filter(Boolean).join(" ");let o0=typeof m=="function"?m(q):m;return p.createElement(dN,T3({},A,{"aria-current":K,className:Y,ref:r,style:o0,to:u,viewTransition:h}),typeof g=="function"?g(q):g)});_4.NODE_ENV!=="production"&&($A1.displayName="NavLink");const wA1=p.forwardRef((a,e)=>{let{fetcherKey:r,navigate:n,reloadDocument:l,replace:o,state:c,method:m=wf,action:u,onSubmit:h,relative:g,preventScrollReset:A,viewTransition:y}=a,E=dE(a,fA1),M=_A1(),O=CA1(u,{relative:g}),S=m.toLowerCase()==="get"?"get":"post",F=j=>{if(h&&h(j),j.defaultPrevented)return;j.preventDefault();let k=j.nativeEvent.submitter,N=(k==null?void 0:k.getAttribute("formmethod"))||m;M(k||j.currentTarget,{fetcherKey:r,method:N,navigate:n,replace:o,state:c,relative:g,preventScrollReset:A,viewTransition:y})};return p.createElement("form",T3({ref:e,method:S,action:O,onSubmit:l?h:F},E))});_4.NODE_ENV!=="production"&&(wA1.displayName="Form");var jf;(function(a){a.UseScrollRestoration="useScrollRestoration",a.UseSubmit="useSubmit",a.UseSubmitFetcher="useSubmitFetcher",a.UseFetcher="useFetcher",a.useViewTransitionState="useViewTransitionState"})(jf||(jf={}));var pN;(function(a){a.UseFetcher="useFetcher",a.UseFetchers="useFetchers",a.UseScrollRestoration="useScrollRestoration"})(pN||(pN={}));function SA1(a){return a+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function hN(a){let e=p.useContext(Q7);return e||(_4.NODE_ENV!=="production"?He(!1,SA1(a)):He(!1)),e}function LA1(a,e){let{target:r,replace:n,state:l,preventScrollReset:o,relative:c,viewTransition:m}=e===void 0?{}:e,u=$f(),h=$i(),g=gm(a,{relative:c});return p.useCallback(A=>{if(cA1(A,r)){A.preventDefault();let y=n!==void 0?n:k3(h)===k3(g);u(a,{replace:y,state:l,preventScrollReset:o,relative:c,viewTransition:m})}},[h,u,g,n,l,r,a,o,c,m])}function FA1(a){_4.NODE_ENV!=="production"&&Mt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let e=p.useRef(pE(a)),r=p.useRef(!1),n=$i(),l=p.useMemo(()=>sA1(n.search,r.current?null:e.current),[n.search]),o=$f(),c=p.useCallback((m,u)=>{const h=pE(typeof m=="function"?m(l):m);r.current=!0,o("?"+h,u)},[o,l]);return[l,c]}function jA1(){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 PA1=0,kA1=()=>"__"+String(++PA1)+"__";function _A1(){let{router:a}=hN(jf.UseSubmit),{basename:e}=p.useContext(Ar),r=Xg1();return p.useCallback(function(n,l){l===void 0&&(l={}),jA1();let{action:o,method:c,encType:m,formData:u,body:h}=dA1(n,e);if(l.navigate===!1){let g=l.fetcherKey||kA1();a.fetch(g,r,l.action||o,{preventScrollReset:l.preventScrollReset,formData:u,body:h,formMethod:l.method||c,formEncType:l.encType||m,flushSync:l.flushSync})}else a.navigate(l.action||o,{preventScrollReset:l.preventScrollReset,formData:u,body:h,formMethod:l.method||c,formEncType:l.encType||m,replace:l.replace,state:l.state,fromRouteId:r,flushSync:l.flushSync,viewTransition:l.viewTransition})},[a,e,r])}function CA1(a,e){let{relative:r}=e===void 0?{}:e,{basename:n}=p.useContext(Ar),l=p.useContext(fn);l||(_4.NODE_ENV!=="production"?He(!1,"useFormAction must be used inside a RouteContext"):He(!1));let[o]=l.matches.slice(-1),c=T3({},gm(a||".",{relative:r})),m=$i();if(a==null){c.search=m.search;let u=new URLSearchParams(c.search),h=u.getAll("index");if(h.some(A=>A==="")){u.delete("index"),h.filter(y=>y).forEach(y=>u.append("index",y));let A=u.toString();c.search=A?"?"+A:""}}return(!a||a===".")&&o.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(c.pathname=c.pathname==="/"?n:hn([n,c.pathname])),k3(c)}function NA1(a,e){e===void 0&&(e={});let r=p.useContext(fE);r==null&&(_4.NODE_ENV!=="production"?He(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):He(!1));let{basename:n}=hN(jf.useViewTransitionState),l=gm(a,{relative:e.relative});if(!r.isTransitioning)return!1;let o=vr(r.currentLocation.pathname,n)||r.currentLocation.pathname,c=vr(r.nextLocation.pathname,n)||r.nextLocation.pathname;return yf(l.pathname,c)!=null||yf(l.pathname,o)!=null}/*
280
+ `+('Please change the parent <Route path="'+F+'"> to <Route ')+('path="'+(F==="/"?"*":F+"/*")+'">.'))}let A=$i(),y;y=A;let E=y.pathname||"/",M=E;if(h!=="/"){let F=h.replace(/^\//,"").split("/");M="/"+E.replace(/^\//,"").split("/").slice(F.length).join("/")}let O=Mi(a,{pathname:M});return w2.NODE_ENV!=="production"&&(w2.NODE_ENV!=="production"&&Mt(g||O!=null,'No routes matched location "'+y.pathname+y.search+y.hash+'" '),w2.NODE_ENV!=="production"&&Mt(O==null||O[O.length-1].route.element!==void 0||O[O.length-1].route.Component!==void 0||O[O.length-1].route.lazy!==void 0,'Matched leaf route at location "'+y.pathname+y.search+y.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.')),Gg1(O&&O.map(F=>Object.assign({},F,{params:Object.assign({},m,F.params),pathname:hn([h,l.encodeLocation?l.encodeLocation(F.pathname).pathname:F.pathname]),pathnameBase:F.pathnameBase==="/"?h:hn([h,l.encodeLocation?l.encodeLocation(F.pathnameBase).pathname:F.pathnameBase])})),o,r,n)}function Ug1(){let a=lN(),e=Hf(a)?a.status+" "+a.statusText:a instanceof Error?a.message:JSON.stringify(a),r=a instanceof Error?a.stack:null,n="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:n},o={padding:"2px 4px",backgroundColor:n},c=null;return w2.NODE_ENV!=="production"&&(console.error("Error handled by React Router default ErrorBoundary:",a),c=p.createElement(p.Fragment,null,p.createElement("p",null,"💿 Hey developer 👋"),p.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",p.createElement("code",{style:o},"ErrorBoundary")," or"," ",p.createElement("code",{style:o},"errorElement")," prop on your route."))),p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},e),r?p.createElement("pre",{style:l},r):null,c)}const Bg1=p.createElement(Ug1,null);class qg1 extends p.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?p.createElement(fn.Provider,{value:this.props.routeContext},p.createElement(sE.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Wg1(a){let{routeContext:e,match:r,children:n}=a,l=p.useContext(Q7);return l&&l.static&&l.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(fn.Provider,{value:e},n)}function Gg1(a,e,r,n){var l;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),a==null){var o;if(!r)return null;if(r.errors)a=r.matches;else if((o=n)!=null&&o.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)a=r.matches;else return null}let c=a,m=(l=r)==null?void 0:l.errors;if(m!=null){let g=c.findIndex(A=>A.route.id&&(m==null?void 0:m[A.route.id])!==void 0);g>=0||(w2.NODE_ENV!=="production"?He(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(m).join(",")):He(!1)),c=c.slice(0,Math.min(c.length,g+1))}let u=!1,h=-1;if(r&&n&&n.v7_partialHydration)for(let g=0;g<c.length;g++){let A=c[g];if((A.route.HydrateFallback||A.route.hydrateFallbackElement)&&(h=g),A.route.id){let{loaderData:y,errors:E}=r,M=A.route.loader&&y[A.route.id]===void 0&&(!E||E[A.route.id]===void 0);if(A.route.lazy||M){u=!0,h>=0?c=c.slice(0,h+1):c=[c[0]];break}}}return c.reduceRight((g,A,y)=>{let E,M=!1,O=null,S=null;r&&(E=m&&A.route.id?m[A.route.id]:void 0,O=A.route.errorElement||Bg1,u&&(h<0&&y===0?(iN("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,S=null):h===y&&(M=!0,S=A.route.hydrateFallbackElement||null)));let F=e.concat(c.slice(0,y+1)),j=()=>{let k;return E?k=O:M?k=S:A.route.Component?k=p.createElement(A.route.Component,null):A.route.element?k=A.route.element:k=g,p.createElement(Wg1,{match:A,routeContext:{outlet:g,matches:F,isDataRoute:r!=null},children:k})};return r&&(A.route.ErrorBoundary||A.route.errorElement||y===0)?p.createElement(qg1,{location:r.location,revalidation:r.revalidation,component:O,error:E,children:j(),routeContext:{outlet:null,matches:F,isDataRoute:!0}}):j()},null)}var nN=function(a){return a.UseBlocker="useBlocker",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a}(nN||{}),Am=function(a){return a.UseBlocker="useBlocker",a.UseLoaderData="useLoaderData",a.UseActionData="useActionData",a.UseRouteError="useRouteError",a.UseNavigation="useNavigation",a.UseRouteLoaderData="useRouteLoaderData",a.UseMatches="useMatches",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a.UseRouteId="useRouteId",a}(Am||{});function mE(a){return a+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function Yg1(a){let e=p.useContext(Q7);return e||(w2.NODE_ENV!=="production"?He(!1,mE(a)):He(!1)),e}function Qg1(a){let e=p.useContext(Vf);return e||(w2.NODE_ENV!=="production"?He(!1,mE(a)):He(!1)),e}function Kg1(a){let e=p.useContext(fn);return e||(w2.NODE_ENV!=="production"?He(!1,mE(a)):He(!1)),e}function uE(a){let e=Kg1(a),r=e.matches[e.matches.length-1];return r.route.id||(w2.NODE_ENV!=="production"?He(!1,a+' can only be used on routes that contain a unique "id"'):He(!1)),r.route.id}function Xg1(){return uE(Am.UseRouteId)}function lN(){var a;let e=p.useContext(sE),r=Qg1(Am.UseRouteError),n=uE(Am.UseRouteError);return e!==void 0?e:(a=r.errors)==null?void 0:a[n]}function Jg1(){let{router:a}=Yg1(nN.UseNavigateStable),e=uE(Am.UseNavigateStable),r=p.useRef(!1);return rN(()=>{r.current=!0}),p.useCallback(function(l,o){o===void 0&&(o={}),w2.NODE_ENV!=="production"&&Mt(r.current,aN),r.current&&(typeof l=="number"?a.navigate(l):a.navigate(l,Mf({fromRouteId:e},o)))},[a,e])}const oN={};function iN(a,e,r){!e&&!oN[a]&&(oN[a]=!0,w2.NODE_ENV!=="production"&&Mt(!1,r))}const cN={};function eA1(a,e){cN[e]||(cN[e]=!0,console.warn(e))}const K7=(a,e,r)=>eA1(a,"⚠️ React Router Future Flag Warning: "+e+". "+("You can use the `"+a+"` future flag to opt-in early. ")+("For more information, see "+r+"."));function tA1(a,e){a!=null&&a.v7_startTransition||K7("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(a!=null&&a.v7_relativeSplatPath)&&(!e||!e.v7_relativeSplatPath)&&K7("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),e&&(e.v7_fetcherPersist||K7("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),e.v7_normalizeFormMethod||K7("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),e.v7_partialHydration||K7("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),e.v7_skipActionErrorRevalidation||K7("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}function aA1(a){let{basename:e="/",children:r=null,location:n,navigationType:l=pt.Pop,navigator:o,static:c=!1,future:m}=a;vm()&&(w2.NODE_ENV!=="production"?He(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app."):He(!1));let u=e.replace(/^\/*/,"/"),h=p.useMemo(()=>({basename:u,navigator:o,static:c,future:Mf({v7_relativeSplatPath:!1},m)}),[u,m,o,c]);typeof n=="string"&&(n=_3(n));let{pathname:g="/",search:A="",hash:y="",state:E=null,key:M="default"}=n,O=p.useMemo(()=>{let S=vr(g,u);return S==null?null:{location:{pathname:S,search:A,hash:y,state:E,key:M},navigationType:l}},[u,g,A,y,E,M,l]);return w2.NODE_ENV!=="production"&&Mt(O!=null,'<Router basename="'+u+'"> is not able to match the URL '+('"'+g+A+y+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),O==null?null:p.createElement(Ar.Provider,{value:h},p.createElement(Of.Provider,{children:r,value:O}))}new Promise(()=>{});function rA1(a){let e={hasErrorBoundary:a.ErrorBoundary!=null||a.errorElement!=null};return a.Component&&(w2.NODE_ENV!=="production"&&a.element&&w2.NODE_ENV!=="production"&&Mt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(e,{element:p.createElement(a.Component),Component:void 0})),a.HydrateFallback&&(w2.NODE_ENV!=="production"&&a.hydrateFallbackElement&&w2.NODE_ENV!=="production"&&Mt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(e,{hydrateFallbackElement:p.createElement(a.HydrateFallback),HydrateFallback:void 0})),a.ErrorBoundary&&(w2.NODE_ENV!=="production"&&a.errorElement&&w2.NODE_ENV!=="production"&&Mt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(e,{errorElement:p.createElement(a.ErrorBoundary),ErrorBoundary:void 0})),e}var _4={};function T3(){return T3=Object.assign?Object.assign.bind():function(a){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(a[n]=r[n])}return a},T3.apply(this,arguments)}function dE(a,e){if(a==null)return{};var r={},n=Object.keys(a),l,o;for(o=0;o<n.length;o++)l=n[o],!(e.indexOf(l)>=0)&&(r[l]=a[l]);return r}const wf="get",Sf="application/x-www-form-urlencoded";function Lf(a){return a!=null&&typeof a.tagName=="string"}function nA1(a){return Lf(a)&&a.tagName.toLowerCase()==="button"}function lA1(a){return Lf(a)&&a.tagName.toLowerCase()==="form"}function oA1(a){return Lf(a)&&a.tagName.toLowerCase()==="input"}function iA1(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function cA1(a,e){return a.button===0&&(!e||e==="_self")&&!iA1(a)}function pE(a){return a===void 0&&(a=""),new URLSearchParams(typeof a=="string"||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce((e,r)=>{let n=a[r];return e.concat(Array.isArray(n)?n.map(l=>[r,l]):[[r,n]])},[]))}function sA1(a,e){let r=pE(a);return e&&e.forEach((n,l)=>{r.has(l)||e.getAll(l).forEach(o=>{r.append(l,o)})}),r}let Ff=null;function mA1(){if(Ff===null)try{new FormData(document.createElement("form"),0),Ff=!1}catch{Ff=!0}return Ff}const uA1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function hE(a){return a!=null&&!uA1.has(a)?(_4.NODE_ENV!=="production"&&Mt(!1,'"'+a+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Sf+'"')),null):a}function dA1(a,e){let r,n,l,o,c;if(lA1(a)){let m=a.getAttribute("action");n=m?vr(m,e):null,r=a.getAttribute("method")||wf,l=hE(a.getAttribute("enctype"))||Sf,o=new FormData(a)}else if(nA1(a)||oA1(a)&&(a.type==="submit"||a.type==="image")){let m=a.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=a.getAttribute("formaction")||m.getAttribute("action");if(n=u?vr(u,e):null,r=a.getAttribute("formmethod")||m.getAttribute("method")||wf,l=hE(a.getAttribute("formenctype"))||hE(m.getAttribute("enctype"))||Sf,o=new FormData(m,a),!mA1()){let{name:h,type:g,value:A}=a;if(g==="image"){let y=h?h+".":"";o.append(y+"x","0"),o.append(y+"y","0")}else h&&o.append(h,A)}}else{if(Lf(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=wf,n=null,l=Sf,c=a}return o&&l==="text/plain"&&(c=o,o=void 0),{action:n,method:r.toLowerCase(),encType:l,formData:o,body:c}}const pA1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],hA1=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],fA1=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],vA1="6";try{window.__reactRouterVersion=vA1}catch{}function gA1(a,e){return Zg1({basename:void 0,future:T3({},void 0,{v7_prependBasename:!0}),history:zv1({window:void 0}),hydrationData:AA1(),routes:a,mapRouteProperties:rA1,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function AA1(){var a;let e=(a=window)==null?void 0:a.__staticRouterHydrationData;return e&&e.errors&&(e=T3({},e,{errors:ZA1(e.errors)})),e}function ZA1(a){if(!a)return null;let e=Object.entries(a),r={};for(let[n,l]of e)if(l&&l.__type==="RouteErrorResponse")r[n]=new bf(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let o=window[l.__subType];if(typeof o=="function")try{let c=new o(l.message);c.stack="",r[n]=c}catch{}}if(r[n]==null){let o=new Error(l.message);o.stack="",r[n]=o}}else r[n]=l;return r}const fE=p.createContext({isTransitioning:!1});_4.NODE_ENV!=="production"&&(fE.displayName="ViewTransition");const sN=p.createContext(new Map);_4.NODE_ENV!=="production"&&(sN.displayName="Fetchers");const mN=Qs["startTransition"],uN=up1["flushSync"];function yA1(a){mN?mN(a):a()}function Zm(a){uN?uN(a):a()}class bA1{constructor(){this.status="pending",this.promise=new Promise((e,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function HA1(a){let{fallbackElement:e,router:r,future:n}=a,[l,o]=p.useState(r.state),[c,m]=p.useState(),[u,h]=p.useState({isTransitioning:!1}),[g,A]=p.useState(),[y,E]=p.useState(),[M,O]=p.useState(),S=p.useRef(new Map),{v7_startTransition:F}=n||{},j=p.useCallback(q=>{F?yA1(q):q()},[F]),k=p.useCallback((q,K)=>{let{deletedFetchers:Y,flushSync:o0,viewTransitionOpts:a0}=K;Y.forEach(l0=>S.current.delete(l0)),q.fetchers.forEach((l0,e0)=>{l0.data!==void 0&&S.current.set(e0,l0.data)});let t0=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!a0||t0){o0?Zm(()=>o(q)):j(()=>o(q));return}if(o0){Zm(()=>{y&&(g&&g.resolve(),y.skipTransition()),h({isTransitioning:!0,flushSync:!0,currentLocation:a0.currentLocation,nextLocation:a0.nextLocation})});let l0=r.window.document.startViewTransition(()=>{Zm(()=>o(q))});l0.finished.finally(()=>{Zm(()=>{A(void 0),E(void 0),m(void 0),h({isTransitioning:!1})})}),Zm(()=>E(l0));return}y?(g&&g.resolve(),y.skipTransition(),O({state:q,currentLocation:a0.currentLocation,nextLocation:a0.nextLocation})):(m(q),h({isTransitioning:!0,flushSync:!1,currentLocation:a0.currentLocation,nextLocation:a0.nextLocation}))},[r.window,y,g,S,j]);p.useLayoutEffect(()=>r.subscribe(k),[r,k]),p.useEffect(()=>{u.isTransitioning&&!u.flushSync&&A(new bA1)},[u]),p.useEffect(()=>{if(g&&c&&r.window){let q=c,K=g.promise,Y=r.window.document.startViewTransition(async()=>{j(()=>o(q)),await K});Y.finished.finally(()=>{A(void 0),E(void 0),m(void 0),h({isTransitioning:!1})}),E(Y)}},[j,c,g,r.window]),p.useEffect(()=>{g&&c&&l.location.key===c.location.key&&g.resolve()},[g,y,l.location,c]),p.useEffect(()=>{!u.isTransitioning&&M&&(m(M.state),h({isTransitioning:!0,flushSync:!1,currentLocation:M.currentLocation,nextLocation:M.nextLocation}),O(void 0))},[u.isTransitioning,M]),p.useEffect(()=>{_4.NODE_ENV!=="production"&&Mt(e==null||!r.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let N=p.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:q=>r.navigate(q),push:(q,K,Y)=>r.navigate(q,{state:K,preventScrollReset:Y==null?void 0:Y.preventScrollReset}),replace:(q,K,Y)=>r.navigate(q,{replace:!0,state:K,preventScrollReset:Y==null?void 0:Y.preventScrollReset})}),[r]),C=r.basename||"/",I=p.useMemo(()=>({router:r,navigator:N,static:!1,basename:C}),[r,N,C]),z=p.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return p.useEffect(()=>tA1(n,r.future),[n,r.future]),p.createElement(p.Fragment,null,p.createElement(Q7.Provider,{value:I},p.createElement(Vf.Provider,{value:l},p.createElement(sN.Provider,{value:S.current},p.createElement(fE.Provider,{value:u},p.createElement(aA1,{basename:C,location:l.location,navigationType:l.historyAction,navigator:N,future:z},l.initialized||r.future.v7_partialHydration?p.createElement(EA1,{routes:r.routes,future:r.future,state:l}):e))))),null)}const EA1=p.memo(MA1);function MA1(a){let{routes:e,future:r,state:n}=a;return zg1(e,void 0,n,r)}const VA1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",OA1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dN=p.forwardRef(function(e,r){let{onClick:n,relative:l,reloadDocument:o,replace:c,state:m,target:u,to:h,preventScrollReset:g,viewTransition:A}=e,y=dE(e,pA1),{basename:E}=p.useContext(Ar),M,O=!1;if(typeof h=="string"&&OA1.test(h)&&(M=h,VA1))try{let k=new URL(window.location.href),N=h.startsWith("//")?new URL(k.protocol+h):new URL(h),C=vr(N.pathname,E);N.origin===k.origin&&C!=null?h=C+N.search+N.hash:O=!0}catch{_4.NODE_ENV!=="production"&&Mt(!1,'<Link to="'+h+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let S=Dg1(h,{relative:l}),F=LA1(h,{replace:c,state:m,target:u,preventScrollReset:g,relative:l,viewTransition:A});function j(k){n&&n(k),k.defaultPrevented||F(k)}return p.createElement("a",T3({},y,{href:M||S,onClick:O||o?n:j,ref:r,target:u}))});_4.NODE_ENV!=="production"&&(dN.displayName="Link");const $A1=p.forwardRef(function(e,r){let{"aria-current":n="page",caseSensitive:l=!1,className:o="",end:c=!1,style:m,to:u,viewTransition:h,children:g}=e,A=dE(e,hA1),y=gm(u,{relative:A.relative}),E=$i(),M=p.useContext(Vf),{navigator:O,basename:S}=p.useContext(Ar),F=M!=null&&NA1(y)&&h===!0,j=O.encodeLocation?O.encodeLocation(y).pathname:y.pathname,k=E.pathname,N=M&&M.navigation&&M.navigation.location?M.navigation.location.pathname:null;l||(k=k.toLowerCase(),N=N?N.toLowerCase():null,j=j.toLowerCase()),N&&S&&(N=vr(N,S)||N);const C=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let I=k===j||!c&&k.startsWith(j)&&k.charAt(C)==="/",z=N!=null&&(N===j||!c&&N.startsWith(j)&&N.charAt(j.length)==="/"),q={isActive:I,isPending:z,isTransitioning:F},K=I?n:void 0,Y;typeof o=="function"?Y=o(q):Y=[o,I?"active":null,z?"pending":null,F?"transitioning":null].filter(Boolean).join(" ");let o0=typeof m=="function"?m(q):m;return p.createElement(dN,T3({},A,{"aria-current":K,className:Y,ref:r,style:o0,to:u,viewTransition:h}),typeof g=="function"?g(q):g)});_4.NODE_ENV!=="production"&&($A1.displayName="NavLink");const wA1=p.forwardRef((a,e)=>{let{fetcherKey:r,navigate:n,reloadDocument:l,replace:o,state:c,method:m=wf,action:u,onSubmit:h,relative:g,preventScrollReset:A,viewTransition:y}=a,E=dE(a,fA1),M=_A1(),O=CA1(u,{relative:g}),S=m.toLowerCase()==="get"?"get":"post",F=j=>{if(h&&h(j),j.defaultPrevented)return;j.preventDefault();let k=j.nativeEvent.submitter,N=(k==null?void 0:k.getAttribute("formmethod"))||m;M(k||j.currentTarget,{fetcherKey:r,method:N,navigate:n,replace:o,state:c,relative:g,preventScrollReset:A,viewTransition:y})};return p.createElement("form",T3({ref:e,method:S,action:O,onSubmit:l?h:F},E))});_4.NODE_ENV!=="production"&&(wA1.displayName="Form");var jf;(function(a){a.UseScrollRestoration="useScrollRestoration",a.UseSubmit="useSubmit",a.UseSubmitFetcher="useSubmitFetcher",a.UseFetcher="useFetcher",a.useViewTransitionState="useViewTransitionState"})(jf||(jf={}));var pN;(function(a){a.UseFetcher="useFetcher",a.UseFetchers="useFetchers",a.UseScrollRestoration="useScrollRestoration"})(pN||(pN={}));function SA1(a){return a+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function hN(a){let e=p.useContext(Q7);return e||(_4.NODE_ENV!=="production"?He(!1,SA1(a)):He(!1)),e}function LA1(a,e){let{target:r,replace:n,state:l,preventScrollReset:o,relative:c,viewTransition:m}=e===void 0?{}:e,u=$f(),h=$i(),g=gm(a,{relative:c});return p.useCallback(A=>{if(cA1(A,r)){A.preventDefault();let y=n!==void 0?n:k3(h)===k3(g);u(a,{replace:y,state:l,preventScrollReset:o,relative:c,viewTransition:m})}},[h,u,g,n,l,r,a,o,c,m])}function FA1(a){_4.NODE_ENV!=="production"&&Mt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let e=p.useRef(pE(a)),r=p.useRef(!1),n=$i(),l=p.useMemo(()=>sA1(n.search,r.current?null:e.current),[n.search]),o=$f(),c=p.useCallback((m,u)=>{const h=pE(typeof m=="function"?m(l):m);r.current=!0,o("?"+h,u)},[o,l]);return[l,c]}function jA1(){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 PA1=0,kA1=()=>"__"+String(++PA1)+"__";function _A1(){let{router:a}=hN(jf.UseSubmit),{basename:e}=p.useContext(Ar),r=Xg1();return p.useCallback(function(n,l){l===void 0&&(l={}),jA1();let{action:o,method:c,encType:m,formData:u,body:h}=dA1(n,e);if(l.navigate===!1){let g=l.fetcherKey||kA1();a.fetch(g,r,l.action||o,{preventScrollReset:l.preventScrollReset,formData:u,body:h,formMethod:l.method||c,formEncType:l.encType||m,flushSync:l.flushSync})}else a.navigate(l.action||o,{preventScrollReset:l.preventScrollReset,formData:u,body:h,formMethod:l.method||c,formEncType:l.encType||m,replace:l.replace,state:l.state,fromRouteId:r,flushSync:l.flushSync,viewTransition:l.viewTransition})},[a,e,r])}function CA1(a,e){let{relative:r}=e===void 0?{}:e,{basename:n}=p.useContext(Ar),l=p.useContext(fn);l||(_4.NODE_ENV!=="production"?He(!1,"useFormAction must be used inside a RouteContext"):He(!1));let[o]=l.matches.slice(-1),c=T3({},gm(a||".",{relative:r})),m=$i();if(a==null){c.search=m.search;let u=new URLSearchParams(c.search),h=u.getAll("index");if(h.some(A=>A==="")){u.delete("index"),h.filter(y=>y).forEach(y=>u.append("index",y));let A=u.toString();c.search=A?"?"+A:""}}return(!a||a===".")&&o.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(c.pathname=c.pathname==="/"?n:hn([n,c.pathname])),k3(c)}function NA1(a,e){e===void 0&&(e={});let r=p.useContext(fE);r==null&&(_4.NODE_ENV!=="production"?He(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):He(!1));let{basename:n}=hN(jf.useViewTransitionState),l=gm(a,{relative:e.relative});if(!r.isTransitioning)return!1;let o=vr(r.currentLocation.pathname,n)||r.currentLocation.pathname,c=vr(r.nextLocation.pathname,n)||r.nextLocation.pathname;return yf(l.pathname,c)!=null||yf(l.pathname,o)!=null}/*
281
281
  object-assign
282
282
  (c) Sindre Sorhus
283
283
  @license MIT
@@ -289,9 +289,9 @@ object-assign
289
289
 
290
290
  `+_T(this.source,r);return e}toJSON(){const e={message:this.message};return this.locations!=null&&(e.locations=this.locations),this.path!=null&&(e.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function NT(a){return a===void 0||a.length===0?void 0:a}function Gt(a,e,r){return new LE(`Syntax Error: ${r}`,{source:a,positions:[e]})}class VZ1{constructor(e,r,n){this.start=e.start,this.end=r.end,this.startToken=e,this.endToken=r,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class TT{constructor(e,r,n,l,o,c){this.kind=e,this.start=r,this.end=n,this.line=l,this.column=o,this.value=c,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const IT={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},OZ1=new Set(Object.keys(IT));function DT(a){const e=a==null?void 0:a.kind;return typeof e=="string"&&OZ1.has(e)}var J7;(function(a){a.QUERY="query",a.MUTATION="mutation",a.SUBSCRIPTION="subscription"})(J7||(J7={}));var FE;(function(a){a.QUERY="QUERY",a.MUTATION="MUTATION",a.SUBSCRIPTION="SUBSCRIPTION",a.FIELD="FIELD",a.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",a.FRAGMENT_SPREAD="FRAGMENT_SPREAD",a.INLINE_FRAGMENT="INLINE_FRAGMENT",a.VARIABLE_DEFINITION="VARIABLE_DEFINITION",a.SCHEMA="SCHEMA",a.SCALAR="SCALAR",a.OBJECT="OBJECT",a.FIELD_DEFINITION="FIELD_DEFINITION",a.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",a.INTERFACE="INTERFACE",a.UNION="UNION",a.ENUM="ENUM",a.ENUM_VALUE="ENUM_VALUE",a.INPUT_OBJECT="INPUT_OBJECT",a.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(FE||(FE={}));var te;(function(a){a.NAME="Name",a.DOCUMENT="Document",a.OPERATION_DEFINITION="OperationDefinition",a.VARIABLE_DEFINITION="VariableDefinition",a.SELECTION_SET="SelectionSet",a.FIELD="Field",a.ARGUMENT="Argument",a.FRAGMENT_SPREAD="FragmentSpread",a.INLINE_FRAGMENT="InlineFragment",a.FRAGMENT_DEFINITION="FragmentDefinition",a.VARIABLE="Variable",a.INT="IntValue",a.FLOAT="FloatValue",a.STRING="StringValue",a.BOOLEAN="BooleanValue",a.NULL="NullValue",a.ENUM="EnumValue",a.LIST="ListValue",a.OBJECT="ObjectValue",a.OBJECT_FIELD="ObjectField",a.DIRECTIVE="Directive",a.NAMED_TYPE="NamedType",a.LIST_TYPE="ListType",a.NON_NULL_TYPE="NonNullType",a.SCHEMA_DEFINITION="SchemaDefinition",a.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",a.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",a.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",a.FIELD_DEFINITION="FieldDefinition",a.INPUT_VALUE_DEFINITION="InputValueDefinition",a.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",a.UNION_TYPE_DEFINITION="UnionTypeDefinition",a.ENUM_TYPE_DEFINITION="EnumTypeDefinition",a.ENUM_VALUE_DEFINITION="EnumValueDefinition",a.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",a.DIRECTIVE_DEFINITION="DirectiveDefinition",a.SCHEMA_EXTENSION="SchemaExtension",a.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",a.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",a.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",a.UNION_TYPE_EXTENSION="UnionTypeExtension",a.ENUM_TYPE_EXTENSION="EnumTypeExtension",a.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(te||(te={}));function jE(a){return a===9||a===32}function bm(a){return a>=48&&a<=57}function xT(a){return a>=97&&a<=122||a>=65&&a<=90}function RT(a){return xT(a)||a===95}function $Z1(a){return xT(a)||bm(a)||a===95}function wZ1(a){var e;let r=Number.MAX_SAFE_INTEGER,n=null,l=-1;for(let c=0;c<a.length;++c){var o;const m=a[c],u=SZ1(m);u!==m.length&&(n=(o=n)!==null&&o!==void 0?o:c,l=c,c!==0&&u<r&&(r=u))}return a.map((c,m)=>m===0?c:c.slice(r)).slice((e=n)!==null&&e!==void 0?e:0,l+1)}function SZ1(a){let e=0;for(;e<a.length&&jE(a.charCodeAt(e));)++e;return e}function LZ1(a,e){const r=a.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),l=n.length===1,o=n.length>1&&n.slice(1).every(E=>E.length===0||jE(E.charCodeAt(0))),c=r.endsWith('\\"""'),m=a.endsWith('"')&&!c,u=a.endsWith("\\"),h=m||u,g=!l||a.length>70||h||o||c;let A="";const y=l&&jE(a.charCodeAt(0));return(g&&!y||o)&&(A+=`
291
291
  `),A+=r,(g||h)&&(A+=`
292
- `),'"""'+A+'"""'}var l1;(function(a){a.SOF="<SOF>",a.EOF="<EOF>",a.BANG="!",a.DOLLAR="$",a.AMP="&",a.PAREN_L="(",a.PAREN_R=")",a.SPREAD="...",a.COLON=":",a.EQUALS="=",a.AT="@",a.BRACKET_L="[",a.BRACKET_R="]",a.BRACE_L="{",a.PIPE="|",a.BRACE_R="}",a.NAME="Name",a.INT="Int",a.FLOAT="Float",a.STRING="String",a.BLOCK_STRING="BlockString",a.COMMENT="Comment"})(l1||(l1={}));class FZ1{constructor(e){const r=new TT(l1.SOF,0,0,0,0);this.source=e,this.lastToken=r,this.token=r,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==l1.EOF)do if(e.next)e=e.next;else{const r=PZ1(this,e.end);e.next=r,r.prev=e,e=r}while(e.kind===l1.COMMENT);return e}}function jZ1(a){return a===l1.BANG||a===l1.DOLLAR||a===l1.AMP||a===l1.PAREN_L||a===l1.PAREN_R||a===l1.SPREAD||a===l1.COLON||a===l1.EQUALS||a===l1.AT||a===l1.BRACKET_L||a===l1.BRACKET_R||a===l1.BRACE_L||a===l1.PIPE||a===l1.BRACE_R}function ec(a){return a>=0&&a<=55295||a>=57344&&a<=1114111}function xf(a,e){return zT(a.charCodeAt(e))&&UT(a.charCodeAt(e+1))}function zT(a){return a>=55296&&a<=56319}function UT(a){return a>=56320&&a<=57343}function ji(a,e){const r=a.source.body.codePointAt(e);if(r===void 0)return l1.EOF;if(r>=32&&r<=126){const n=String.fromCodePoint(r);return n==='"'?`'"'`:`"${n}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function pt(a,e,r,n,l){const o=a.line,c=1+r-a.lineStart;return new TT(e,r,n,o,c,l)}function PZ1(a,e){const r=a.source.body,n=r.length;let l=e;for(;l<n;){const o=r.charCodeAt(l);switch(o){case 65279:case 9:case 32:case 44:++l;continue;case 10:++l,++a.line,a.lineStart=l;continue;case 13:r.charCodeAt(l+1)===10?l+=2:++l,++a.line,a.lineStart=l;continue;case 35:return kZ1(a,l);case 33:return pt(a,l1.BANG,l,l+1);case 36:return pt(a,l1.DOLLAR,l,l+1);case 38:return pt(a,l1.AMP,l,l+1);case 40:return pt(a,l1.PAREN_L,l,l+1);case 41:return pt(a,l1.PAREN_R,l,l+1);case 46:if(r.charCodeAt(l+1)===46&&r.charCodeAt(l+2)===46)return pt(a,l1.SPREAD,l,l+3);break;case 58:return pt(a,l1.COLON,l,l+1);case 61:return pt(a,l1.EQUALS,l,l+1);case 64:return pt(a,l1.AT,l,l+1);case 91:return pt(a,l1.BRACKET_L,l,l+1);case 93:return pt(a,l1.BRACKET_R,l,l+1);case 123:return pt(a,l1.BRACE_L,l,l+1);case 124:return pt(a,l1.PIPE,l,l+1);case 125:return pt(a,l1.BRACE_R,l,l+1);case 34:return r.charCodeAt(l+1)===34&&r.charCodeAt(l+2)===34?DZ1(a,l):CZ1(a,l)}if(bm(o)||o===45)return _Z1(a,l,o);if(RT(o))return xZ1(a,l);throw Gt(a.source,l,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:ec(o)||xf(r,l)?`Unexpected character: ${ji(a,l)}.`:`Invalid character: ${ji(a,l)}.`)}return pt(a,l1.EOF,n,n)}function kZ1(a,e){const r=a.source.body,n=r.length;let l=e+1;for(;l<n;){const o=r.charCodeAt(l);if(o===10||o===13)break;if(ec(o))++l;else if(xf(r,l))l+=2;else break}return pt(a,l1.COMMENT,e,l,r.slice(e+1,l))}function _Z1(a,e,r){const n=a.source.body;let l=e,o=r,c=!1;if(o===45&&(o=n.charCodeAt(++l)),o===48){if(o=n.charCodeAt(++l),bm(o))throw Gt(a.source,l,`Invalid number, unexpected digit after 0: ${ji(a,l)}.`)}else l=PE(a,l,o),o=n.charCodeAt(l);if(o===46&&(c=!0,o=n.charCodeAt(++l),l=PE(a,l,o),o=n.charCodeAt(l)),(o===69||o===101)&&(c=!0,o=n.charCodeAt(++l),(o===43||o===45)&&(o=n.charCodeAt(++l)),l=PE(a,l,o),o=n.charCodeAt(l)),o===46||RT(o))throw Gt(a.source,l,`Invalid number, expected digit but got: ${ji(a,l)}.`);return pt(a,c?l1.FLOAT:l1.INT,e,l,n.slice(e,l))}function PE(a,e,r){if(!bm(r))throw Gt(a.source,e,`Invalid number, expected digit but got: ${ji(a,e)}.`);const n=a.source.body;let l=e+1;for(;bm(n.charCodeAt(l));)++l;return l}function CZ1(a,e){const r=a.source.body,n=r.length;let l=e+1,o=l,c="";for(;l<n;){const m=r.charCodeAt(l);if(m===34)return c+=r.slice(o,l),pt(a,l1.STRING,e,l+1,c);if(m===92){c+=r.slice(o,l);const u=r.charCodeAt(l+1)===117?r.charCodeAt(l+2)===123?NZ1(a,l):TZ1(a,l):IZ1(a,l);c+=u.value,l+=u.size,o=l;continue}if(m===10||m===13)break;if(ec(m))++l;else if(xf(r,l))l+=2;else throw Gt(a.source,l,`Invalid character within String: ${ji(a,l)}.`)}throw Gt(a.source,l,"Unterminated string.")}function NZ1(a,e){const r=a.source.body;let n=0,l=3;for(;l<12;){const o=r.charCodeAt(e+l++);if(o===125){if(l<5||!ec(n))break;return{value:String.fromCodePoint(n),size:l}}if(n=n<<4|Hm(o),n<0)break}throw Gt(a.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+l)}".`)}function TZ1(a,e){const r=a.source.body,n=BT(r,e+2);if(ec(n))return{value:String.fromCodePoint(n),size:6};if(zT(n)&&r.charCodeAt(e+6)===92&&r.charCodeAt(e+7)===117){const l=BT(r,e+8);if(UT(l))return{value:String.fromCodePoint(n,l),size:12}}throw Gt(a.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+6)}".`)}function BT(a,e){return Hm(a.charCodeAt(e))<<12|Hm(a.charCodeAt(e+1))<<8|Hm(a.charCodeAt(e+2))<<4|Hm(a.charCodeAt(e+3))}function Hm(a){return a>=48&&a<=57?a-48:a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:-1}function IZ1(a,e){const r=a.source.body;switch(r.charCodeAt(e+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
293
- `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw Gt(a.source,e,`Invalid character escape sequence: "${r.slice(e,e+2)}".`)}function DZ1(a,e){const r=a.source.body,n=r.length;let l=a.lineStart,o=e+3,c=o,m="";const u=[];for(;o<n;){const h=r.charCodeAt(o);if(h===34&&r.charCodeAt(o+1)===34&&r.charCodeAt(o+2)===34){m+=r.slice(c,o),u.push(m);const g=pt(a,l1.BLOCK_STRING,e,o+3,wZ1(u).join(`
294
- `));return a.line+=u.length-1,a.lineStart=l,g}if(h===92&&r.charCodeAt(o+1)===34&&r.charCodeAt(o+2)===34&&r.charCodeAt(o+3)===34){m+=r.slice(c,o),c=o+1,o+=4;continue}if(h===10||h===13){m+=r.slice(c,o),u.push(m),h===13&&r.charCodeAt(o+1)===10?o+=2:++o,m="",c=o,l=o;continue}if(ec(h))++o;else if(xf(r,o))o+=2;else throw Gt(a.source,o,`Invalid character within String: ${ji(a,o)}.`)}throw Gt(a.source,o,"Unterminated string.")}function xZ1(a,e){const r=a.source.body,n=r.length;let l=e+1;for(;l<n;){const o=r.charCodeAt(l);if($Z1(o))++l;else break}return pt(a,l1.NAME,e,l,r.slice(e,l))}const RZ1=10,qT=2;function kE(a){return Rf(a,[])}function Rf(a,e){switch(typeof a){case"string":return JSON.stringify(a);case"function":return a.name?`[function ${a.name}]`:"[function]";case"object":return zZ1(a,e);default:return String(a)}}function zZ1(a,e){if(a===null)return"null";if(e.includes(a))return"[Circular]";const r=[...e,a];if(UZ1(a)){const n=a.toJSON();if(n!==a)return typeof n=="string"?n:Rf(n,r)}else if(Array.isArray(a))return qZ1(a,r);return BZ1(a,r)}function UZ1(a){return typeof a.toJSON=="function"}function BZ1(a,e){const r=Object.entries(a);return r.length===0?"{}":e.length>qT?"["+WZ1(a)+"]":"{ "+r.map(([l,o])=>l+": "+Rf(o,e)).join(", ")+" }"}function qZ1(a,e){if(a.length===0)return"[]";if(e.length>qT)return"[Array]";const r=Math.min(RZ1,a.length),n=a.length-r,l=[];for(let o=0;o<r;++o)l.push(Rf(a[o],e));return n===1?l.push("... 1 more item"):n>1&&l.push(`... ${n} more items`),"["+l.join(", ")+"]"}function WZ1(a){const e=Object.prototype.toString.call(a).replace(/^\[object /,"").replace(/]$/,"");if(e==="Object"&&typeof a.constructor=="function"){const r=a.constructor.name;if(typeof r=="string"&&r!=="")return r}return e}var GZ1={};const YZ1=globalThis.process&&GZ1.NODE_ENV==="production"?function(e,r){return e instanceof r}:function(e,r){if(e instanceof r)return!0;if(typeof e=="object"&&e!==null){var n;const l=r.prototype[Symbol.toStringTag],o=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(l===o){const c=kE(e);throw new Error(`Cannot use ${l} "${c}" from another module or realm.
292
+ `),'"""'+A+'"""'}var l1;(function(a){a.SOF="<SOF>",a.EOF="<EOF>",a.BANG="!",a.DOLLAR="$",a.AMP="&",a.PAREN_L="(",a.PAREN_R=")",a.SPREAD="...",a.COLON=":",a.EQUALS="=",a.AT="@",a.BRACKET_L="[",a.BRACKET_R="]",a.BRACE_L="{",a.PIPE="|",a.BRACE_R="}",a.NAME="Name",a.INT="Int",a.FLOAT="Float",a.STRING="String",a.BLOCK_STRING="BlockString",a.COMMENT="Comment"})(l1||(l1={}));class FZ1{constructor(e){const r=new TT(l1.SOF,0,0,0,0);this.source=e,this.lastToken=r,this.token=r,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==l1.EOF)do if(e.next)e=e.next;else{const r=PZ1(this,e.end);e.next=r,r.prev=e,e=r}while(e.kind===l1.COMMENT);return e}}function jZ1(a){return a===l1.BANG||a===l1.DOLLAR||a===l1.AMP||a===l1.PAREN_L||a===l1.PAREN_R||a===l1.SPREAD||a===l1.COLON||a===l1.EQUALS||a===l1.AT||a===l1.BRACKET_L||a===l1.BRACKET_R||a===l1.BRACE_L||a===l1.PIPE||a===l1.BRACE_R}function ec(a){return a>=0&&a<=55295||a>=57344&&a<=1114111}function xf(a,e){return zT(a.charCodeAt(e))&&UT(a.charCodeAt(e+1))}function zT(a){return a>=55296&&a<=56319}function UT(a){return a>=56320&&a<=57343}function ji(a,e){const r=a.source.body.codePointAt(e);if(r===void 0)return l1.EOF;if(r>=32&&r<=126){const n=String.fromCodePoint(r);return n==='"'?`'"'`:`"${n}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function ht(a,e,r,n,l){const o=a.line,c=1+r-a.lineStart;return new TT(e,r,n,o,c,l)}function PZ1(a,e){const r=a.source.body,n=r.length;let l=e;for(;l<n;){const o=r.charCodeAt(l);switch(o){case 65279:case 9:case 32:case 44:++l;continue;case 10:++l,++a.line,a.lineStart=l;continue;case 13:r.charCodeAt(l+1)===10?l+=2:++l,++a.line,a.lineStart=l;continue;case 35:return kZ1(a,l);case 33:return ht(a,l1.BANG,l,l+1);case 36:return ht(a,l1.DOLLAR,l,l+1);case 38:return ht(a,l1.AMP,l,l+1);case 40:return ht(a,l1.PAREN_L,l,l+1);case 41:return ht(a,l1.PAREN_R,l,l+1);case 46:if(r.charCodeAt(l+1)===46&&r.charCodeAt(l+2)===46)return ht(a,l1.SPREAD,l,l+3);break;case 58:return ht(a,l1.COLON,l,l+1);case 61:return ht(a,l1.EQUALS,l,l+1);case 64:return ht(a,l1.AT,l,l+1);case 91:return ht(a,l1.BRACKET_L,l,l+1);case 93:return ht(a,l1.BRACKET_R,l,l+1);case 123:return ht(a,l1.BRACE_L,l,l+1);case 124:return ht(a,l1.PIPE,l,l+1);case 125:return ht(a,l1.BRACE_R,l,l+1);case 34:return r.charCodeAt(l+1)===34&&r.charCodeAt(l+2)===34?DZ1(a,l):CZ1(a,l)}if(bm(o)||o===45)return _Z1(a,l,o);if(RT(o))return xZ1(a,l);throw Gt(a.source,l,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:ec(o)||xf(r,l)?`Unexpected character: ${ji(a,l)}.`:`Invalid character: ${ji(a,l)}.`)}return ht(a,l1.EOF,n,n)}function kZ1(a,e){const r=a.source.body,n=r.length;let l=e+1;for(;l<n;){const o=r.charCodeAt(l);if(o===10||o===13)break;if(ec(o))++l;else if(xf(r,l))l+=2;else break}return ht(a,l1.COMMENT,e,l,r.slice(e+1,l))}function _Z1(a,e,r){const n=a.source.body;let l=e,o=r,c=!1;if(o===45&&(o=n.charCodeAt(++l)),o===48){if(o=n.charCodeAt(++l),bm(o))throw Gt(a.source,l,`Invalid number, unexpected digit after 0: ${ji(a,l)}.`)}else l=PE(a,l,o),o=n.charCodeAt(l);if(o===46&&(c=!0,o=n.charCodeAt(++l),l=PE(a,l,o),o=n.charCodeAt(l)),(o===69||o===101)&&(c=!0,o=n.charCodeAt(++l),(o===43||o===45)&&(o=n.charCodeAt(++l)),l=PE(a,l,o),o=n.charCodeAt(l)),o===46||RT(o))throw Gt(a.source,l,`Invalid number, expected digit but got: ${ji(a,l)}.`);return ht(a,c?l1.FLOAT:l1.INT,e,l,n.slice(e,l))}function PE(a,e,r){if(!bm(r))throw Gt(a.source,e,`Invalid number, expected digit but got: ${ji(a,e)}.`);const n=a.source.body;let l=e+1;for(;bm(n.charCodeAt(l));)++l;return l}function CZ1(a,e){const r=a.source.body,n=r.length;let l=e+1,o=l,c="";for(;l<n;){const m=r.charCodeAt(l);if(m===34)return c+=r.slice(o,l),ht(a,l1.STRING,e,l+1,c);if(m===92){c+=r.slice(o,l);const u=r.charCodeAt(l+1)===117?r.charCodeAt(l+2)===123?NZ1(a,l):TZ1(a,l):IZ1(a,l);c+=u.value,l+=u.size,o=l;continue}if(m===10||m===13)break;if(ec(m))++l;else if(xf(r,l))l+=2;else throw Gt(a.source,l,`Invalid character within String: ${ji(a,l)}.`)}throw Gt(a.source,l,"Unterminated string.")}function NZ1(a,e){const r=a.source.body;let n=0,l=3;for(;l<12;){const o=r.charCodeAt(e+l++);if(o===125){if(l<5||!ec(n))break;return{value:String.fromCodePoint(n),size:l}}if(n=n<<4|Hm(o),n<0)break}throw Gt(a.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+l)}".`)}function TZ1(a,e){const r=a.source.body,n=BT(r,e+2);if(ec(n))return{value:String.fromCodePoint(n),size:6};if(zT(n)&&r.charCodeAt(e+6)===92&&r.charCodeAt(e+7)===117){const l=BT(r,e+8);if(UT(l))return{value:String.fromCodePoint(n,l),size:12}}throw Gt(a.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+6)}".`)}function BT(a,e){return Hm(a.charCodeAt(e))<<12|Hm(a.charCodeAt(e+1))<<8|Hm(a.charCodeAt(e+2))<<4|Hm(a.charCodeAt(e+3))}function Hm(a){return a>=48&&a<=57?a-48:a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:-1}function IZ1(a,e){const r=a.source.body;switch(r.charCodeAt(e+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
293
+ `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw Gt(a.source,e,`Invalid character escape sequence: "${r.slice(e,e+2)}".`)}function DZ1(a,e){const r=a.source.body,n=r.length;let l=a.lineStart,o=e+3,c=o,m="";const u=[];for(;o<n;){const h=r.charCodeAt(o);if(h===34&&r.charCodeAt(o+1)===34&&r.charCodeAt(o+2)===34){m+=r.slice(c,o),u.push(m);const g=ht(a,l1.BLOCK_STRING,e,o+3,wZ1(u).join(`
294
+ `));return a.line+=u.length-1,a.lineStart=l,g}if(h===92&&r.charCodeAt(o+1)===34&&r.charCodeAt(o+2)===34&&r.charCodeAt(o+3)===34){m+=r.slice(c,o),c=o+1,o+=4;continue}if(h===10||h===13){m+=r.slice(c,o),u.push(m),h===13&&r.charCodeAt(o+1)===10?o+=2:++o,m="",c=o,l=o;continue}if(ec(h))++o;else if(xf(r,o))o+=2;else throw Gt(a.source,o,`Invalid character within String: ${ji(a,o)}.`)}throw Gt(a.source,o,"Unterminated string.")}function xZ1(a,e){const r=a.source.body,n=r.length;let l=e+1;for(;l<n;){const o=r.charCodeAt(l);if($Z1(o))++l;else break}return ht(a,l1.NAME,e,l,r.slice(e,l))}const RZ1=10,qT=2;function kE(a){return Rf(a,[])}function Rf(a,e){switch(typeof a){case"string":return JSON.stringify(a);case"function":return a.name?`[function ${a.name}]`:"[function]";case"object":return zZ1(a,e);default:return String(a)}}function zZ1(a,e){if(a===null)return"null";if(e.includes(a))return"[Circular]";const r=[...e,a];if(UZ1(a)){const n=a.toJSON();if(n!==a)return typeof n=="string"?n:Rf(n,r)}else if(Array.isArray(a))return qZ1(a,r);return BZ1(a,r)}function UZ1(a){return typeof a.toJSON=="function"}function BZ1(a,e){const r=Object.entries(a);return r.length===0?"{}":e.length>qT?"["+WZ1(a)+"]":"{ "+r.map(([l,o])=>l+": "+Rf(o,e)).join(", ")+" }"}function qZ1(a,e){if(a.length===0)return"[]";if(e.length>qT)return"[Array]";const r=Math.min(RZ1,a.length),n=a.length-r,l=[];for(let o=0;o<r;++o)l.push(Rf(a[o],e));return n===1?l.push("... 1 more item"):n>1&&l.push(`... ${n} more items`),"["+l.join(", ")+"]"}function WZ1(a){const e=Object.prototype.toString.call(a).replace(/^\[object /,"").replace(/]$/,"");if(e==="Object"&&typeof a.constructor=="function"){const r=a.constructor.name;if(typeof r=="string"&&r!=="")return r}return e}var GZ1={};const YZ1=globalThis.process&&GZ1.NODE_ENV==="production"?function(e,r){return e instanceof r}:function(e,r){if(e instanceof r)return!0;if(typeof e=="object"&&e!==null){var n;const l=r.prototype[Symbol.toStringTag],o=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(l===o){const c=kE(e);throw new Error(`Cannot use ${l} "${c}" from another module or realm.
295
295
 
296
296
  Ensure that there is only one instance of "graphql" in the node_modules
297
297
  directory. If different versions of "graphql" are the dependencies of other
@@ -430,7 +430,7 @@ Valid keys: `+JSON.stringify(Object.keys(G),null," "));var A0=v0(X,Z0,S0,c0,z0+
430
430
  }
431
431
  }
432
432
  `);var zO={},UO={},BO={};Object.defineProperty(BO,"__esModule",{value:!0}),BO.default=y_1;var AB="html",ZB="head",Eg="body",g_1=/<([a-zA-Z]+[0-9]?)/,yB=/<head[^]*>/i,bB=/<body[^]*>/i,Mg=function(a,e){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},qO=function(a,e){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},HB=typeof window=="object"&&window.DOMParser;if(typeof HB=="function"){var A_1=new HB,Z_1="text/html";qO=function(a,e){return e&&(a="<".concat(e,">").concat(a,"</").concat(e,">")),A_1.parseFromString(a,Z_1)},Mg=qO}if(typeof document=="object"&&document.implementation){var Vg=document.implementation.createHTMLDocument();Mg=function(a,e){if(e){var r=Vg.documentElement.querySelector(e);return r&&(r.innerHTML=a),Vg}return Vg.documentElement.innerHTML=a,Vg}}var Og=typeof document=="object"&&document.createElement("template"),WO;Og&&Og.content&&(WO=function(a){return Og.innerHTML=a,Og.content.childNodes});function y_1(a){var e,r,n=a.match(g_1),l=n&&n[1]?n[1].toLowerCase():"";switch(l){case AB:{var o=qO(a);if(!yB.test(a)){var c=o.querySelector(ZB);(e=c==null?void 0:c.parentNode)===null||e===void 0||e.removeChild(c)}if(!bB.test(a)){var c=o.querySelector(Eg);(r=c==null?void 0:c.parentNode)===null||r===void 0||r.removeChild(c)}return o.querySelectorAll(AB)}case ZB:case Eg:{var m=Mg(a).querySelectorAll(l);return bB.test(a)&&yB.test(a)?m[0].parentNode.childNodes:m}default:{if(WO)return WO(a);var c=Mg(a,Eg).querySelector(Eg);return c.childNodes}}}var $g={},GO={},YO={};(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a.Doctype=a.CDATA=a.Tag=a.Style=a.Script=a.Comment=a.Directive=a.Text=a.Root=a.isTag=a.ElementType=void 0;var e;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(e=a.ElementType||(a.ElementType={}));function r(n){return n.type===e.Tag||n.type===e.Script||n.type===e.Style}a.isTag=r,a.Root=e.Root,a.Text=e.Text,a.Directive=e.Directive,a.Comment=e.Comment,a.Script=e.Script,a.Style=e.Style,a.Tag=e.Tag,a.CDATA=e.CDATA,a.Doctype=e.Doctype})(YO);var s2={},oo=he&&he.__extends||function(){var a=function(e,r){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(n[o]=l[o])},a(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");a(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Eu=he&&he.__assign||function(){return Eu=Object.assign||function(a){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(a[l]=e[l])}return a},Eu.apply(this,arguments)};Object.defineProperty(s2,"__esModule",{value:!0}),s2.cloneNode=s2.hasChildren=s2.isDocument=s2.isDirective=s2.isComment=s2.isText=s2.isCDATA=s2.isTag=s2.Element=s2.Document=s2.CDATA=s2.NodeWithChildren=s2.ProcessingInstruction=s2.Comment=s2.Text=s2.DataNode=s2.Node=void 0;var I6=YO,QO=function(){function a(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(a.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),a.prototype.cloneNode=function(e){return e===void 0&&(e=!1),KO(this,e)},a}();s2.Node=QO;var wg=function(a){oo(e,a);function e(r){var n=a.call(this)||this;return n.data=r,n}return Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),e}(QO);s2.DataNode=wg;var EB=function(a){oo(e,a);function e(){var r=a!==null&&a.apply(this,arguments)||this;return r.type=I6.ElementType.Text,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),e}(wg);s2.Text=EB;var MB=function(a){oo(e,a);function e(){var r=a!==null&&a.apply(this,arguments)||this;return r.type=I6.ElementType.Comment,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),e}(wg);s2.Comment=MB;var VB=function(a){oo(e,a);function e(r,n){var l=a.call(this,n)||this;return l.name=r,l.type=I6.ElementType.Directive,l}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),e}(wg);s2.ProcessingInstruction=VB;var Sg=function(a){oo(e,a);function e(r){var n=a.call(this)||this;return n.children=r,n}return Object.defineProperty(e.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),e}(QO);s2.NodeWithChildren=Sg;var OB=function(a){oo(e,a);function e(){var r=a!==null&&a.apply(this,arguments)||this;return r.type=I6.ElementType.CDATA,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(Sg);s2.CDATA=OB;var $B=function(a){oo(e,a);function e(){var r=a!==null&&a.apply(this,arguments)||this;return r.type=I6.ElementType.Root,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(Sg);s2.Document=$B;var wB=function(a){oo(e,a);function e(r,n,l,o){l===void 0&&(l=[]),o===void 0&&(o=r==="script"?I6.ElementType.Script:r==="style"?I6.ElementType.Style:I6.ElementType.Tag);var c=a.call(this,l)||this;return c.name=r,c.attribs=n,c.type=o,c}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var l,o;return{name:n,value:r.attribs[n],namespace:(l=r["x-attribsNamespace"])===null||l===void 0?void 0:l[n],prefix:(o=r["x-attribsPrefix"])===null||o===void 0?void 0:o[n]}})},enumerable:!1,configurable:!0}),e}(Sg);s2.Element=wB;function SB(a){return(0,I6.isTag)(a)}s2.isTag=SB;function LB(a){return a.type===I6.ElementType.CDATA}s2.isCDATA=LB;function FB(a){return a.type===I6.ElementType.Text}s2.isText=FB;function jB(a){return a.type===I6.ElementType.Comment}s2.isComment=jB;function PB(a){return a.type===I6.ElementType.Directive}s2.isDirective=PB;function kB(a){return a.type===I6.ElementType.Root}s2.isDocument=kB;function b_1(a){return Object.prototype.hasOwnProperty.call(a,"children")}s2.hasChildren=b_1;function KO(a,e){e===void 0&&(e=!1);var r;if(FB(a))r=new EB(a.data);else if(jB(a))r=new MB(a.data);else if(SB(a)){var n=e?XO(a.children):[],l=new wB(a.name,Eu({},a.attribs),n);n.forEach(function(u){return u.parent=l}),a.namespace!=null&&(l.namespace=a.namespace),a["x-attribsNamespace"]&&(l["x-attribsNamespace"]=Eu({},a["x-attribsNamespace"])),a["x-attribsPrefix"]&&(l["x-attribsPrefix"]=Eu({},a["x-attribsPrefix"])),r=l}else if(LB(a)){var n=e?XO(a.children):[],o=new OB(n);n.forEach(function(h){return h.parent=o}),r=o}else if(kB(a)){var n=e?XO(a.children):[],c=new $B(n);n.forEach(function(h){return h.parent=c}),a["x-mode"]&&(c["x-mode"]=a["x-mode"]),r=c}else if(PB(a)){var m=new VB(a.name,a.data);a["x-name"]!=null&&(m["x-name"]=a["x-name"],m["x-publicId"]=a["x-publicId"],m["x-systemId"]=a["x-systemId"]),r=m}else throw new Error("Not implemented yet: ".concat(a.type));return r.startIndex=a.startIndex,r.endIndex=a.endIndex,a.sourceCodeLocation!=null&&(r.sourceCodeLocation=a.sourceCodeLocation),r}s2.cloneNode=KO;function XO(a){for(var e=a.map(function(n){return KO(n,!0)}),r=1;r<e.length;r++)e[r].prev=e[r-1],e[r-1].next=e[r];return e}(function(a){var e=he&&he.__createBinding||(Object.create?function(m,u,h,g){g===void 0&&(g=h);var A=Object.getOwnPropertyDescriptor(u,h);(!A||("get"in A?!u.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return u[h]}}),Object.defineProperty(m,g,A)}:function(m,u,h,g){g===void 0&&(g=h),m[g]=u[h]}),r=he&&he.__exportStar||function(m,u){for(var h in m)h!=="default"&&!Object.prototype.hasOwnProperty.call(u,h)&&e(u,m,h)};Object.defineProperty(a,"__esModule",{value:!0}),a.DomHandler=void 0;var n=YO,l=s2;r(s2,a);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function m(u,h,g){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof h=="function"&&(g=h,h=o),typeof u=="object"&&(h=u,u=void 0),this.callback=u??null,this.options=h??o,this.elementCB=g??null}return m.prototype.onparserinit=function(u){this.parser=u},m.prototype.onreset=function(){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},m.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},m.prototype.onerror=function(u){this.handleCallback(u)},m.prototype.onclosetag=function(){this.lastNode=null;var u=this.tagStack.pop();this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(u)},m.prototype.onopentag=function(u,h){var g=this.options.xmlMode?n.ElementType.Tag:void 0,A=new l.Element(u,h,void 0,g);this.addNode(A),this.tagStack.push(A)},m.prototype.ontext=function(u){var h=this.lastNode;if(h&&h.type===n.ElementType.Text)h.data+=u,this.options.withEndIndices&&(h.endIndex=this.parser.endIndex);else{var g=new l.Text(u);this.addNode(g),this.lastNode=g}},m.prototype.oncomment=function(u){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=u;return}var h=new l.Comment(u);this.addNode(h),this.lastNode=h},m.prototype.oncommentend=function(){this.lastNode=null},m.prototype.oncdatastart=function(){var u=new l.Text(""),h=new l.CDATA([u]);this.addNode(h),u.parent=h,this.lastNode=u},m.prototype.oncdataend=function(){this.lastNode=null},m.prototype.onprocessinginstruction=function(u,h){var g=new l.ProcessingInstruction(u,h);this.addNode(g)},m.prototype.handleCallback=function(u){if(typeof this.callback=="function")this.callback(u,this.dom);else if(u)throw u},m.prototype.addNode=function(u){var h=this.tagStack[this.tagStack.length-1],g=h.children[h.children.length-1];this.options.withStartIndices&&(u.startIndex=this.parser.startIndex),this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),h.children.push(u),g&&(u.prev=g,g.next=u),u.parent=h,this.lastNode=null},m}();a.DomHandler=c,a.default=c})(GO);var _B={};(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a.CASE_SENSITIVE_TAG_NAMES_MAP=a.CASE_SENSITIVE_TAG_NAMES=void 0,a.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],a.CASE_SENSITIVE_TAG_NAMES_MAP=a.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,r){return e[r.toLowerCase()]=r,e},{})})(_B),Object.defineProperty($g,"__esModule",{value:!0}),$g.formatAttributes=CB,$g.formatDOM=NB;var Lg=GO,H_1=_B;function E_1(a){return H_1.CASE_SENSITIVE_TAG_NAMES_MAP[a]}function CB(a){for(var e={},r=0,n=a.length;r<n;r++){var l=a[r];e[l.name]=l.value}return e}function M_1(a){a=a.toLowerCase();var e=E_1(a);return e||a}function NB(a,e,r){e===void 0&&(e=null);for(var n=[],l,o=0,c=a.length;o<c;o++){var m=a[o];switch(m.nodeType){case 1:{var u=M_1(m.nodeName);l=new Lg.Element(u,CB(m.attributes)),l.children=NB(u==="template"?m.content.childNodes:m.childNodes,l);break}case 3:l=new Lg.Text(m.nodeValue);break;case 8:l=new Lg.Comment(m.nodeValue);break;default:continue}var h=n[o-1]||null;h&&(h.next=l),l.parent=e,l.prev=h,l.next=null,n.push(l)}return r&&(l=new Lg.ProcessingInstruction(r.substring(0,r.indexOf(" ")).toLowerCase(),r),l.next=n[0]||null,l.parent=e,n.unshift(l),n[1]&&(n[1].prev=n[0])),n}var V_1=he&&he.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(UO,"__esModule",{value:!0}),UO.default=S_1;var O_1=V_1(BO),$_1=$g,w_1=/<(![a-zA-Z\s]+)>/;function S_1(a){if(typeof a!="string")throw new TypeError("First argument must be a string");if(!a)return[];var e=a.match(w_1),r=e?e[1]:void 0;return(0,$_1.formatDOM)((0,O_1.default)(a),null,r)}var Fg={},Or={},jg={},L_1=0;jg.SAME=L_1;var F_1=1;jg.CAMELCASE=F_1,jg.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1};const TB=0,io=1,Pg=2,kg=3,JO=4,IB=5,DB=6;function j_1(a){return sa.hasOwnProperty(a)?sa[a]:null}function o6(a,e,r,n,l,o,c){this.acceptsBooleans=e===Pg||e===kg||e===JO,this.attributeName=n,this.attributeNamespace=l,this.mustUseProperty=r,this.propertyName=a,this.type=e,this.sanitizeURL=o,this.removeEmptyString=c}const sa={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(a=>{sa[a]=new o6(a,TB,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([a,e])=>{sa[a]=new o6(a,io,!1,e,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(a=>{sa[a]=new o6(a,Pg,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(a=>{sa[a]=new o6(a,Pg,!1,a,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(a=>{sa[a]=new o6(a,kg,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(a=>{sa[a]=new o6(a,kg,!0,a,null,!1,!1)}),["capture","download"].forEach(a=>{sa[a]=new o6(a,JO,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(a=>{sa[a]=new o6(a,DB,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(a=>{sa[a]=new o6(a,IB,!1,a.toLowerCase(),null,!1,!1)});const e$=/[\-\:]([a-z])/g,t$=a=>a[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(a=>{const e=a.replace(e$,t$);sa[e]=new o6(e,io,!1,a,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(a=>{const e=a.replace(e$,t$);sa[e]=new o6(e,io,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(a=>{const e=a.replace(e$,t$);sa[e]=new o6(e,io,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(a=>{sa[a]=new o6(a,io,!1,a.toLowerCase(),null,!1,!1)});const P_1="xlinkHref";sa[P_1]=new o6("xlinkHref",io,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(a=>{sa[a]=new o6(a,io,!1,a.toLowerCase(),null,!0,!0)});const{CAMELCASE:k_1,SAME:__1,possibleStandardNames:xB}=jg,C_1=":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"+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",N_1=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+C_1+"]*$")),T_1=Object.keys(xB).reduce((a,e)=>{const r=xB[e];return r===__1?a[e]=e:r===k_1?a[e.toLowerCase()]=e:a[e]=r,a},{});Or.BOOLEAN=kg,Or.BOOLEANISH_STRING=Pg,Or.NUMERIC=IB,Or.OVERLOADED_BOOLEAN=JO,Or.POSITIVE_NUMERIC=DB,Or.RESERVED=TB,Or.STRING=io,Or.getPropertyInfo=j_1,Or.isCustomAttribute=N_1,Or.possibleStandardNames=T_1;var a$={},r$={},RB=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,I_1=/\n/g,D_1=/^\s*/,x_1=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,R_1=/^:\s*/,z_1=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,U_1=/^[;\s]*/,B_1=/^\s+|\s+$/g,q_1=`
433
- `,zB="/",UB="*",t5="",W_1="comment",G_1="declaration",Y_1=function(a,e){if(typeof a!="string")throw new TypeError("First argument must be a string");if(!a)return[];e=e||{};var r=1,n=1;function l(M){var O=M.match(I_1);O&&(r+=O.length);var S=M.lastIndexOf(q_1);n=~S?M.length-S:n+M.length}function o(){var M={line:r,column:n};return function(O){return O.position=new c(M),h(),O}}function c(M){this.start=M,this.end={line:r,column:n},this.source=e.source}c.prototype.content=a;function m(M){var O=new Error(e.source+":"+r+":"+n+": "+M);if(O.reason=M,O.filename=e.source,O.line=r,O.column=n,O.source=a,!e.silent)throw O}function u(M){var O=M.exec(a);if(O){var S=O[0];return l(S),a=a.slice(S.length),O}}function h(){u(D_1)}function g(M){var O;for(M=M||[];O=A();)O!==!1&&M.push(O);return M}function A(){var M=o();if(!(zB!=a.charAt(0)||UB!=a.charAt(1))){for(var O=2;t5!=a.charAt(O)&&(UB!=a.charAt(O)||zB!=a.charAt(O+1));)++O;if(O+=2,t5===a.charAt(O-1))return m("End of comment missing");var S=a.slice(2,O-2);return n+=2,l(S),a=a.slice(O),n+=2,M({type:W_1,comment:S})}}function y(){var M=o(),O=u(x_1);if(O){if(A(),!u(R_1))return m("property missing ':'");var S=u(z_1),F=M({type:G_1,property:BB(O[0].replace(RB,t5)),value:S?BB(S[0].replace(RB,t5)):t5});return u(U_1),F}}function E(){var M=[];g(M);for(var O;O=y();)O!==!1&&(M.push(O),g(M));return M}return h(),E()};function BB(a){return a?a.replace(B_1,t5):t5}var Q_1=he&&he.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(r$,"__esModule",{value:!0});var K_1=Q_1(Y_1);function X_1(a,e){var r=null;if(!a||typeof a!="string")return r;var n=(0,K_1.default)(a),l=typeof e=="function";return n.forEach(function(o){if(o.type==="declaration"){var c=o.property,m=o.value;l?e(c,m,o):m&&(r=r||{},r[c]=m)}}),r}r$.default=X_1;var _g={};Object.defineProperty(_g,"__esModule",{value:!0}),_g.camelCase=void 0;var J_1=/^--[a-zA-Z0-9-]+$/,eC1=/-([a-z])/g,tC1=/^[^-]+$/,aC1=/^-(webkit|moz|ms|o|khtml)-/,rC1=/^-(ms)-/,nC1=function(a){return!a||tC1.test(a)||J_1.test(a)},lC1=function(a,e){return e.toUpperCase()},qB=function(a,e){return"".concat(e,"-")},oC1=function(a,e){return e===void 0&&(e={}),nC1(a)?a:(a=a.toLowerCase(),e.reactCompat?a=a.replace(rC1,qB):a=a.replace(aC1,qB),a.replace(eC1,lC1))};_g.camelCase=oC1;var iC1=he&&he.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},cC1=iC1(r$),sC1=_g;function n$(a,e){var r={};return!a||typeof a!="string"||(0,cC1.default)(a,function(n,l){n&&l&&(r[(0,sC1.camelCase)(n,e)]=l)}),r}n$.default=n$;var mC1=n$;(function(a){var e=he&&he.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(a,"__esModule",{value:!0}),a.returnFirstArg=a.canTextBeChildOfNode=a.ELEMENTS_WITH_NO_TEXT_CHILDREN=a.PRESERVE_CUSTOM_ATTRIBUTES=void 0,a.isCustomComponent=o,a.setStyleProp=m;var r=p,n=e(mC1),l=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function o(g,A){return g.includes("-")?!l.has(g):!!(A&&typeof A.is=="string")}var c={reactCompat:!0};function m(g,A){if(typeof g=="string"){if(!g.trim()){A.style={};return}try{A.style=(0,n.default)(g,c)}catch{A.style={}}}}a.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(".")[0])>=16,a.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var u=function(g){return!a.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(g.name)};a.canTextBeChildOfNode=u;var h=function(g){return g};a.returnFirstArg=h})(a$),Object.defineProperty(Fg,"__esModule",{value:!0}),Fg.default=hC1;var Mu=Or,WB=a$,uC1=["checked","value"],dC1=["input","select","textarea"],pC1={reset:!0,submit:!0};function hC1(a,e){a===void 0&&(a={});var r={},n=!!(a.type&&pC1[a.type]);for(var l in a){var o=a[l];if((0,Mu.isCustomAttribute)(l)){r[l]=o;continue}var c=l.toLowerCase(),m=GB(c);if(m){var u=(0,Mu.getPropertyInfo)(m);switch(uC1.includes(m)&&dC1.includes(e)&&!n&&(m=GB("default"+c)),r[m]=o,u&&u.type){case Mu.BOOLEAN:r[m]=!0;break;case Mu.OVERLOADED_BOOLEAN:o===""&&(r[m]=!0);break}continue}WB.PRESERVE_CUSTOM_ATTRIBUTES&&(r[l]=o)}return(0,WB.setStyleProp)(a.style,r),r}function GB(a){return Mu.possibleStandardNames[a]}var l$={},fC1=he&&he.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(l$,"__esModule",{value:!0}),l$.default=YB;var o$=p,vC1=fC1(Fg),Vu=a$,gC1={cloneElement:o$.cloneElement,createElement:o$.createElement,isValidElement:o$.isValidElement};function YB(a,e){e===void 0&&(e={});for(var r=[],n=typeof e.replace=="function",l=e.transform||Vu.returnFirstArg,o=e.library||gC1,c=o.cloneElement,m=o.createElement,u=o.isValidElement,h=a.length,g=0;g<h;g++){var A=a[g];if(n){var y=e.replace(A,g);if(u(y)){h>1&&(y=c(y,{key:y.key||g})),r.push(l(y,A,g));continue}}if(A.type==="text"){var E=!A.data.trim().length;if(E&&A.parent&&!(0,Vu.canTextBeChildOfNode)(A.parent)||e.trim&&E)continue;r.push(l(A.data,A,g));continue}var M=A,O={};AC1(M)?((0,Vu.setStyleProp)(M.attribs.style,M.attribs),O=M.attribs):M.attribs&&(O=(0,vC1.default)(M.attribs,M.name));var S=void 0;switch(A.type){case"script":case"style":A.children[0]&&(O.dangerouslySetInnerHTML={__html:A.children[0].data});break;case"tag":A.name==="textarea"&&A.children[0]?O.defaultValue=A.children[0].data:A.children&&A.children.length&&(S=YB(A.children,e));break;default:continue}h>1&&(O.key=g),r.push(l(m(A.name,O,S),A,g))}return r.length===1?r[0]:r}function AC1(a){return Vu.PRESERVE_CUSTOM_ATTRIBUTES&&a.type==="tag"&&(0,Vu.isCustomComponent)(a.name,a.attribs)}(function(a){var e=he&&he.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(a,"__esModule",{value:!0}),a.htmlToDOM=a.domToReact=a.attributesToProps=a.Text=a.ProcessingInstruction=a.Element=a.Comment=void 0,a.default=m;var r=e(UO);a.htmlToDOM=r.default;var n=e(Fg);a.attributesToProps=n.default;var l=e(l$);a.domToReact=l.default;var o=GO;Object.defineProperty(a,"Comment",{enumerable:!0,get:function(){return o.Comment}}),Object.defineProperty(a,"Element",{enumerable:!0,get:function(){return o.Element}}),Object.defineProperty(a,"ProcessingInstruction",{enumerable:!0,get:function(){return o.ProcessingInstruction}}),Object.defineProperty(a,"Text",{enumerable:!0,get:function(){return o.Text}});var c={lowerCaseAttributeNames:!1};function m(u,h){if(typeof u!="string")throw new TypeError("First argument must be a string");return u?(0,l.default)((0,r.default)(u,(h==null?void 0:h.htmlparser2)||c),h):[]}})(zO);const QB=$2(zO),ZC1=QB.default||QB;var i$={exports:{}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */var KB;function XB(){return KB||(KB=1,function(a,e){(function(r,n){a.exports=n()})(he,function(){const{entries:r,setPrototypeOf:n,isFrozen:l,getPrototypeOf:o,getOwnPropertyDescriptor:c}=Object;let{freeze:m,seal:u,create:h}=Object,{apply:g,construct:A}=typeof Reflect<"u"&&Reflect;m||(m=function($0){return $0}),u||(u=function($0){return $0}),g||(g=function($0,N0,F0){return $0.apply(N0,F0)}),A||(A=function($0,N0){return new $0(...N0)});const y=q(Array.prototype.forEach),E=q(Array.prototype.pop),M=q(Array.prototype.push),O=q(String.prototype.toLowerCase),S=q(String.prototype.toString),F=q(String.prototype.match),j=q(String.prototype.replace),k=q(String.prototype.indexOf),N=q(String.prototype.trim),C=q(Object.prototype.hasOwnProperty),I=q(RegExp.prototype.test),z=K(TypeError);function q(u1){return function($0){for(var N0=arguments.length,F0=new Array(N0>1?N0-1:0),Q0=1;Q0<N0;Q0++)F0[Q0-1]=arguments[Q0];return g(u1,$0,F0)}}function K(u1){return function(){for(var $0=arguments.length,N0=new Array($0),F0=0;F0<$0;F0++)N0[F0]=arguments[F0];return A(u1,N0)}}function Y(u1,$0){let N0=arguments.length>2&&arguments[2]!==void 0?arguments[2]:O;n&&n(u1,null);let F0=$0.length;for(;F0--;){let Q0=$0[F0];if(typeof Q0=="string"){const w1=N0(Q0);w1!==Q0&&(l($0)||($0[F0]=w1),Q0=w1)}u1[Q0]=!0}return u1}function o0(u1){for(let $0=0;$0<u1.length;$0++)C(u1,$0)||(u1[$0]=null);return u1}function a0(u1){const $0=h(null);for(const[N0,F0]of r(u1))C(u1,N0)&&(Array.isArray(F0)?$0[N0]=o0(F0):F0&&typeof F0=="object"&&F0.constructor===Object?$0[N0]=a0(F0):$0[N0]=F0);return $0}function t0(u1,$0){for(;u1!==null;){const F0=c(u1,$0);if(F0){if(F0.get)return q(F0.get);if(typeof F0.value=="function")return q(F0.value)}u1=o(u1)}function N0(){return null}return N0}const l0=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),e0=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),G0=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),y0=m(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),g0=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L0=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),B=m(["#text"]),G=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),n0=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),d0=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),O0=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),S0=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),c0=u(/<%[\w\W]*|[\w\W]*%>/gm),z0=u(/\${[\w\W]*}/gm),X=u(/^data-[\-\w.\u00B7-\uFFFF]/),h0=u(/^aria-[\-\w]+$/),f0=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z0=u(/^(?:\w+script|data):/i),v0=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),A0=u(/^html$/i),x0=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var k0=Object.freeze({__proto__:null,MUSTACHE_EXPR:S0,ERB_EXPR:c0,TMPLIT_EXPR:z0,DATA_ATTR:X,ARIA_ATTR:h0,IS_ALLOWED_URI:f0,IS_SCRIPT_OR_DATA:Z0,ATTR_WHITESPACE:v0,DOCTYPE_NAME:A0,CUSTOM_ELEMENT:x0});const W0={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},t1=function(){return typeof window>"u"?null:window},A1=function($0,N0){if(typeof $0!="object"||typeof $0.createPolicy!="function")return null;let F0=null;const Q0="data-tt-policy-suffix";N0&&N0.hasAttribute(Q0)&&(F0=N0.getAttribute(Q0));const w1="dompurify"+(F0?"#"+F0:"");try{return $0.createPolicy(w1,{createHTML(o1){return o1},createScriptURL(o1){return o1}})}catch{return console.warn("TrustedTypes policy "+w1+" could not be created."),null}};function T1(){let u1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t1();const $0=G1=>T1(G1);if($0.version="3.1.6",$0.removed=[],!u1||!u1.document||u1.document.nodeType!==W0.document)return $0.isSupported=!1,$0;let{document:N0}=u1;const F0=N0,Q0=F0.currentScript,{DocumentFragment:w1,HTMLTemplateElement:o1,Node:Z1,Element:K1,NodeFilter:Ie,NamedNodeMap:Le=u1.NamedNodeMap||u1.MozNamedAttrMap,HTMLFormElement:c1,DOMParser:P1,trustedTypes:de}=u1,Fe=K1.prototype,je=t0(Fe,"cloneNode"),Z2=t0(Fe,"remove"),f2=t0(Fe,"nextSibling"),i8=t0(Fe,"childNodes"),Be=t0(Fe,"parentNode");if(typeof o1=="function"){const G1=N0.createElement("template");G1.content&&G1.content.ownerDocument&&(N0=G1.content.ownerDocument)}let Pe,qe="";const{implementation:m2,createNodeIterator:v2,createDocumentFragment:f8,getElementsByTagName:Ft}=N0,{importNode:jt}=F0;let v8={};$0.isSupported=typeof r=="function"&&typeof Be=="function"&&m2&&m2.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Pt,ERB_EXPR:u0,TMPLIT_EXPR:V0,DATA_ATTR:T0,ARIA_ATTR:a1,IS_SCRIPT_OR_DATA:O1,ATTR_WHITESPACE:V1,CUSTOM_ELEMENT:Y1}=k0;let{IS_ALLOWED_URI:F1}=k0,Q=null;const w0=Y({},[...l0,...e0,...G0,...g0,...B]);let I0=null;const J0=Y({},[...G,...n0,...d0,...O0]);let h1=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ae=null,k1=null,y1=!0,Ve=!0,b1=!1,m0=!0,e1=!1,p1=!0,R1=!1,Qe=!1,g2=!1,We=!1,ce=!1,Q1=!1,Ke=!0,N8=!1;const H8="user-content-";let L2=!0,U2=!1,fa={},Da=null;const Tn=Y({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let B4=null;const _r=Y({},["audio","video","img","source","image","track"]);let d6=null;const p6=Y({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),kt="http://www.w3.org/1998/Math/MathML",h6="http://www.w3.org/2000/svg",Y8="http://www.w3.org/1999/xhtml";let xa=Y8,y4=!1,W6=null;const Bl=Y({},[kt,h6,Y8],S);let b4=null;const a2=["application/xhtml+xml","text/html"],ql="text/html";let c8=null,va=null;const Wl=N0.createElement("form"),Xe=function(H0){return H0 instanceof RegExp||H0 instanceof Function},q4=function(){let H0=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(va&&va===H0)){if((!H0||typeof H0!="object")&&(H0={}),H0=a0(H0),b4=a2.indexOf(H0.PARSER_MEDIA_TYPE)===-1?ql:H0.PARSER_MEDIA_TYPE,c8=b4==="application/xhtml+xml"?S:O,Q=C(H0,"ALLOWED_TAGS")?Y({},H0.ALLOWED_TAGS,c8):w0,I0=C(H0,"ALLOWED_ATTR")?Y({},H0.ALLOWED_ATTR,c8):J0,W6=C(H0,"ALLOWED_NAMESPACES")?Y({},H0.ALLOWED_NAMESPACES,S):Bl,d6=C(H0,"ADD_URI_SAFE_ATTR")?Y(a0(p6),H0.ADD_URI_SAFE_ATTR,c8):p6,B4=C(H0,"ADD_DATA_URI_TAGS")?Y(a0(_r),H0.ADD_DATA_URI_TAGS,c8):_r,Da=C(H0,"FORBID_CONTENTS")?Y({},H0.FORBID_CONTENTS,c8):Tn,ae=C(H0,"FORBID_TAGS")?Y({},H0.FORBID_TAGS,c8):{},k1=C(H0,"FORBID_ATTR")?Y({},H0.FORBID_ATTR,c8):{},fa=C(H0,"USE_PROFILES")?H0.USE_PROFILES:!1,y1=H0.ALLOW_ARIA_ATTR!==!1,Ve=H0.ALLOW_DATA_ATTR!==!1,b1=H0.ALLOW_UNKNOWN_PROTOCOLS||!1,m0=H0.ALLOW_SELF_CLOSE_IN_ATTR!==!1,e1=H0.SAFE_FOR_TEMPLATES||!1,p1=H0.SAFE_FOR_XML!==!1,R1=H0.WHOLE_DOCUMENT||!1,We=H0.RETURN_DOM||!1,ce=H0.RETURN_DOM_FRAGMENT||!1,Q1=H0.RETURN_TRUSTED_TYPE||!1,g2=H0.FORCE_BODY||!1,Ke=H0.SANITIZE_DOM!==!1,N8=H0.SANITIZE_NAMED_PROPS||!1,L2=H0.KEEP_CONTENT!==!1,U2=H0.IN_PLACE||!1,F1=H0.ALLOWED_URI_REGEXP||f0,xa=H0.NAMESPACE||Y8,h1=H0.CUSTOM_ELEMENT_HANDLING||{},H0.CUSTOM_ELEMENT_HANDLING&&Xe(H0.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(h1.tagNameCheck=H0.CUSTOM_ELEMENT_HANDLING.tagNameCheck),H0.CUSTOM_ELEMENT_HANDLING&&Xe(H0.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(h1.attributeNameCheck=H0.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),H0.CUSTOM_ELEMENT_HANDLING&&typeof H0.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(h1.allowCustomizedBuiltInElements=H0.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),e1&&(Ve=!1),ce&&(We=!0),fa&&(Q=Y({},B),I0=[],fa.html===!0&&(Y(Q,l0),Y(I0,G)),fa.svg===!0&&(Y(Q,e0),Y(I0,n0),Y(I0,O0)),fa.svgFilters===!0&&(Y(Q,G0),Y(I0,n0),Y(I0,O0)),fa.mathMl===!0&&(Y(Q,g0),Y(I0,d0),Y(I0,O0))),H0.ADD_TAGS&&(Q===w0&&(Q=a0(Q)),Y(Q,H0.ADD_TAGS,c8)),H0.ADD_ATTR&&(I0===J0&&(I0=a0(I0)),Y(I0,H0.ADD_ATTR,c8)),H0.ADD_URI_SAFE_ATTR&&Y(d6,H0.ADD_URI_SAFE_ATTR,c8),H0.FORBID_CONTENTS&&(Da===Tn&&(Da=a0(Da)),Y(Da,H0.FORBID_CONTENTS,c8)),L2&&(Q["#text"]=!0),R1&&Y(Q,["html","head","body"]),Q.table&&(Y(Q,["tbody"]),delete ae.tbody),H0.TRUSTED_TYPES_POLICY){if(typeof H0.TRUSTED_TYPES_POLICY.createHTML!="function")throw z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof H0.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Pe=H0.TRUSTED_TYPES_POLICY,qe=Pe.createHTML("")}else Pe===void 0&&(Pe=A1(de,Q0)),Pe!==null&&typeof qe=="string"&&(qe=Pe.createHTML(""));m&&m(H0),va=H0}},W4=Y({},["mi","mo","mn","ms","mtext"]),Ee=Y({},["foreignobject","annotation-xml"]),f6=Y({},["title","style","font","a","script"]),e8=Y({},[...e0,...G0,...y0]),_t=Y({},[...g0,...L0]),Ra=function(H0){let f1=Be(H0);(!f1||!f1.tagName)&&(f1={namespaceURI:xa,tagName:"template"});const W1=O(H0.tagName),r2=O(f1.tagName);return W6[H0.namespaceURI]?H0.namespaceURI===h6?f1.namespaceURI===Y8?W1==="svg":f1.namespaceURI===kt?W1==="svg"&&(r2==="annotation-xml"||W4[r2]):!!e8[W1]:H0.namespaceURI===kt?f1.namespaceURI===Y8?W1==="math":f1.namespaceURI===h6?W1==="math"&&Ee[r2]:!!_t[W1]:H0.namespaceURI===Y8?f1.namespaceURI===h6&&!Ee[r2]||f1.namespaceURI===kt&&!W4[r2]?!1:!_t[W1]&&(f6[W1]||!e8[W1]):!!(b4==="application/xhtml+xml"&&W6[H0.namespaceURI]):!1},ct=function(H0){M($0.removed,{element:H0});try{Be(H0).removeChild(H0)}catch{Z2(H0)}},F2=function(H0,f1){try{M($0.removed,{attribute:f1.getAttributeNode(H0),from:f1})}catch{M($0.removed,{attribute:null,from:f1})}if(f1.removeAttribute(H0),H0==="is"&&!I0[H0])if(We||ce)try{ct(f1)}catch{}else try{f1.setAttribute(H0,"")}catch{}},t8=function(H0){let f1=null,W1=null;if(g2)H0="<remove></remove>"+H0;else{const g8=F(H0,/^[\r\n\t ]+/);W1=g8&&g8[0]}b4==="application/xhtml+xml"&&xa===Y8&&(H0='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+H0+"</body></html>");const r2=Pe?Pe.createHTML(H0):H0;if(xa===Y8)try{f1=new P1().parseFromString(r2,b4)}catch{}if(!f1||!f1.documentElement){f1=m2.createDocument(xa,"template",null);try{f1.documentElement.innerHTML=y4?qe:r2}catch{}}const a8=f1.body||f1.documentElement;return H0&&W1&&a8.insertBefore(N0.createTextNode(W1),a8.childNodes[0]||null),xa===Y8?Ft.call(f1,R1?"html":"body")[0]:R1?f1.documentElement:a8},In=function(H0){return v2.call(H0.ownerDocument||H0,H0,Ie.SHOW_ELEMENT|Ie.SHOW_COMMENT|Ie.SHOW_TEXT|Ie.SHOW_PROCESSING_INSTRUCTION|Ie.SHOW_CDATA_SECTION,null)},Q8=function(H0){return H0 instanceof c1&&(typeof H0.nodeName!="string"||typeof H0.textContent!="string"||typeof H0.removeChild!="function"||!(H0.attributes instanceof Le)||typeof H0.removeAttribute!="function"||typeof H0.setAttribute!="function"||typeof H0.namespaceURI!="string"||typeof H0.insertBefore!="function"||typeof H0.hasChildNodes!="function")},Ct=function(H0){return typeof Z1=="function"&&H0 instanceof Z1},T8=function(H0,f1,W1){v8[H0]&&y(v8[H0],r2=>{r2.call($0,f1,W1,va)})},Cr=function(H0){let f1=null;if(T8("beforeSanitizeElements",H0,null),Q8(H0))return ct(H0),!0;const W1=c8(H0.nodeName);if(T8("uponSanitizeElement",H0,{tagName:W1,allowedTags:Q}),H0.hasChildNodes()&&!Ct(H0.firstElementChild)&&I(/<[/\w]/g,H0.innerHTML)&&I(/<[/\w]/g,H0.textContent)||H0.nodeType===W0.progressingInstruction||p1&&H0.nodeType===W0.comment&&I(/<[/\w]/g,H0.data))return ct(H0),!0;if(!Q[W1]||ae[W1]){if(!ae[W1]&&Y4(W1)&&(h1.tagNameCheck instanceof RegExp&&I(h1.tagNameCheck,W1)||h1.tagNameCheck instanceof Function&&h1.tagNameCheck(W1)))return!1;if(L2&&!Da[W1]){const r2=Be(H0)||H0.parentNode,a8=i8(H0)||H0.childNodes;if(a8&&r2){const g8=a8.length;for(let K8=g8-1;K8>=0;--K8){const w8=je(a8[K8],!0);w8.__removalCount=(H0.__removalCount||0)+1,r2.insertBefore(w8,f2(H0))}}}return ct(H0),!0}return H0 instanceof K1&&!Ra(H0)||(W1==="noscript"||W1==="noembed"||W1==="noframes")&&I(/<\/no(script|embed|frames)/i,H0.innerHTML)?(ct(H0),!0):(e1&&H0.nodeType===W0.text&&(f1=H0.textContent,y([Pt,u0,V0],r2=>{f1=j(f1,r2," ")}),H0.textContent!==f1&&(M($0.removed,{element:H0.cloneNode()}),H0.textContent=f1)),T8("afterSanitizeElements",H0,null),!1)},G4=function(H0,f1,W1){if(Ke&&(f1==="id"||f1==="name")&&(W1 in N0||W1 in Wl))return!1;if(!(Ve&&!k1[f1]&&I(T0,f1))){if(!(y1&&I(a1,f1))){if(!I0[f1]||k1[f1]){if(!(Y4(H0)&&(h1.tagNameCheck instanceof RegExp&&I(h1.tagNameCheck,H0)||h1.tagNameCheck instanceof Function&&h1.tagNameCheck(H0))&&(h1.attributeNameCheck instanceof RegExp&&I(h1.attributeNameCheck,f1)||h1.attributeNameCheck instanceof Function&&h1.attributeNameCheck(f1))||f1==="is"&&h1.allowCustomizedBuiltInElements&&(h1.tagNameCheck instanceof RegExp&&I(h1.tagNameCheck,W1)||h1.tagNameCheck instanceof Function&&h1.tagNameCheck(W1))))return!1}else if(!d6[f1]){if(!I(F1,j(W1,V1,""))){if(!((f1==="src"||f1==="xlink:href"||f1==="href")&&H0!=="script"&&k(W1,"data:")===0&&B4[H0])){if(!(b1&&!I(O1,j(W1,V1,"")))){if(W1)return!1}}}}}}return!0},Y4=function(H0){return H0!=="annotation-xml"&&F(H0,Y1)},H4=function(H0){T8("beforeSanitizeAttributes",H0,null);const{attributes:f1}=H0;if(!f1)return;const W1={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:I0};let r2=f1.length;for(;r2--;){const a8=f1[r2],{name:g8,namespaceURI:K8,value:w8}=a8,G6=c8(g8);let R=g8==="value"?w8:N(w8);if(W1.attrName=G6,W1.attrValue=R,W1.keepAttr=!0,W1.forceKeepAttr=void 0,T8("uponSanitizeAttribute",H0,W1),R=W1.attrValue,p1&&I(/((--!?|])>)|<\/(style|title)/i,R)){F2(g8,H0);continue}if(W1.forceKeepAttr||(F2(g8,H0),!W1.keepAttr))continue;if(!m0&&I(/\/>/i,R)){F2(g8,H0);continue}e1&&y([Pt,u0,V0],R0=>{R=j(R,R0," ")});const s0=c8(H0.nodeName);if(G4(s0,G6,R)){if(N8&&(G6==="id"||G6==="name")&&(F2(g8,H0),R=H8+R),Pe&&typeof de=="object"&&typeof de.getAttributeType=="function"&&!K8)switch(de.getAttributeType(s0,G6)){case"TrustedHTML":{R=Pe.createHTML(R);break}case"TrustedScriptURL":{R=Pe.createScriptURL(R);break}}try{K8?H0.setAttributeNS(K8,g8,R):H0.setAttribute(g8,R),Q8(H0)?ct(H0):E($0.removed)}catch{}}}T8("afterSanitizeAttributes",H0,null)},za=function G1(H0){let f1=null;const W1=In(H0);for(T8("beforeSanitizeShadowDOM",H0,null);f1=W1.nextNode();)T8("uponSanitizeShadowNode",f1,null),!Cr(f1)&&(f1.content instanceof w1&&G1(f1.content),H4(f1));T8("afterSanitizeShadowDOM",H0,null)};return $0.sanitize=function(G1){let H0=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f1=null,W1=null,r2=null,a8=null;if(y4=!G1,y4&&(G1="<!-->"),typeof G1!="string"&&!Ct(G1))if(typeof G1.toString=="function"){if(G1=G1.toString(),typeof G1!="string")throw z("dirty is not a string, aborting")}else throw z("toString is not a function");if(!$0.isSupported)return G1;if(Qe||q4(H0),$0.removed=[],typeof G1=="string"&&(U2=!1),U2){if(G1.nodeName){const w8=c8(G1.nodeName);if(!Q[w8]||ae[w8])throw z("root node is forbidden and cannot be sanitized in-place")}}else if(G1 instanceof Z1)f1=t8("<!---->"),W1=f1.ownerDocument.importNode(G1,!0),W1.nodeType===W0.element&&W1.nodeName==="BODY"||W1.nodeName==="HTML"?f1=W1:f1.appendChild(W1);else{if(!We&&!e1&&!R1&&G1.indexOf("<")===-1)return Pe&&Q1?Pe.createHTML(G1):G1;if(f1=t8(G1),!f1)return We?null:Q1?qe:""}f1&&g2&&ct(f1.firstChild);const g8=In(U2?G1:f1);for(;r2=g8.nextNode();)Cr(r2)||(r2.content instanceof w1&&za(r2.content),H4(r2));if(U2)return G1;if(We){if(ce)for(a8=f8.call(f1.ownerDocument);f1.firstChild;)a8.appendChild(f1.firstChild);else a8=f1;return(I0.shadowroot||I0.shadowrootmode)&&(a8=jt.call(F0,a8,!0)),a8}let K8=R1?f1.outerHTML:f1.innerHTML;return R1&&Q["!doctype"]&&f1.ownerDocument&&f1.ownerDocument.doctype&&f1.ownerDocument.doctype.name&&I(A0,f1.ownerDocument.doctype.name)&&(K8="<!DOCTYPE "+f1.ownerDocument.doctype.name+`>
433
+ `,zB="/",UB="*",t5="",W_1="comment",G_1="declaration",Y_1=function(a,e){if(typeof a!="string")throw new TypeError("First argument must be a string");if(!a)return[];e=e||{};var r=1,n=1;function l(M){var O=M.match(I_1);O&&(r+=O.length);var S=M.lastIndexOf(q_1);n=~S?M.length-S:n+M.length}function o(){var M={line:r,column:n};return function(O){return O.position=new c(M),h(),O}}function c(M){this.start=M,this.end={line:r,column:n},this.source=e.source}c.prototype.content=a;function m(M){var O=new Error(e.source+":"+r+":"+n+": "+M);if(O.reason=M,O.filename=e.source,O.line=r,O.column=n,O.source=a,!e.silent)throw O}function u(M){var O=M.exec(a);if(O){var S=O[0];return l(S),a=a.slice(S.length),O}}function h(){u(D_1)}function g(M){var O;for(M=M||[];O=A();)O!==!1&&M.push(O);return M}function A(){var M=o();if(!(zB!=a.charAt(0)||UB!=a.charAt(1))){for(var O=2;t5!=a.charAt(O)&&(UB!=a.charAt(O)||zB!=a.charAt(O+1));)++O;if(O+=2,t5===a.charAt(O-1))return m("End of comment missing");var S=a.slice(2,O-2);return n+=2,l(S),a=a.slice(O),n+=2,M({type:W_1,comment:S})}}function y(){var M=o(),O=u(x_1);if(O){if(A(),!u(R_1))return m("property missing ':'");var S=u(z_1),F=M({type:G_1,property:BB(O[0].replace(RB,t5)),value:S?BB(S[0].replace(RB,t5)):t5});return u(U_1),F}}function E(){var M=[];g(M);for(var O;O=y();)O!==!1&&(M.push(O),g(M));return M}return h(),E()};function BB(a){return a?a.replace(B_1,t5):t5}var Q_1=he&&he.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(r$,"__esModule",{value:!0});var K_1=Q_1(Y_1);function X_1(a,e){var r=null;if(!a||typeof a!="string")return r;var n=(0,K_1.default)(a),l=typeof e=="function";return n.forEach(function(o){if(o.type==="declaration"){var c=o.property,m=o.value;l?e(c,m,o):m&&(r=r||{},r[c]=m)}}),r}r$.default=X_1;var _g={};Object.defineProperty(_g,"__esModule",{value:!0}),_g.camelCase=void 0;var J_1=/^--[a-zA-Z0-9-]+$/,eC1=/-([a-z])/g,tC1=/^[^-]+$/,aC1=/^-(webkit|moz|ms|o|khtml)-/,rC1=/^-(ms)-/,nC1=function(a){return!a||tC1.test(a)||J_1.test(a)},lC1=function(a,e){return e.toUpperCase()},qB=function(a,e){return"".concat(e,"-")},oC1=function(a,e){return e===void 0&&(e={}),nC1(a)?a:(a=a.toLowerCase(),e.reactCompat?a=a.replace(rC1,qB):a=a.replace(aC1,qB),a.replace(eC1,lC1))};_g.camelCase=oC1;var iC1=he&&he.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},cC1=iC1(r$),sC1=_g;function n$(a,e){var r={};return!a||typeof a!="string"||(0,cC1.default)(a,function(n,l){n&&l&&(r[(0,sC1.camelCase)(n,e)]=l)}),r}n$.default=n$;var mC1=n$;(function(a){var e=he&&he.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(a,"__esModule",{value:!0}),a.returnFirstArg=a.canTextBeChildOfNode=a.ELEMENTS_WITH_NO_TEXT_CHILDREN=a.PRESERVE_CUSTOM_ATTRIBUTES=void 0,a.isCustomComponent=o,a.setStyleProp=m;var r=p,n=e(mC1),l=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function o(g,A){return g.includes("-")?!l.has(g):!!(A&&typeof A.is=="string")}var c={reactCompat:!0};function m(g,A){if(typeof g=="string"){if(!g.trim()){A.style={};return}try{A.style=(0,n.default)(g,c)}catch{A.style={}}}}a.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(".")[0])>=16,a.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var u=function(g){return!a.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(g.name)};a.canTextBeChildOfNode=u;var h=function(g){return g};a.returnFirstArg=h})(a$),Object.defineProperty(Fg,"__esModule",{value:!0}),Fg.default=hC1;var Mu=Or,WB=a$,uC1=["checked","value"],dC1=["input","select","textarea"],pC1={reset:!0,submit:!0};function hC1(a,e){a===void 0&&(a={});var r={},n=!!(a.type&&pC1[a.type]);for(var l in a){var o=a[l];if((0,Mu.isCustomAttribute)(l)){r[l]=o;continue}var c=l.toLowerCase(),m=GB(c);if(m){var u=(0,Mu.getPropertyInfo)(m);switch(uC1.includes(m)&&dC1.includes(e)&&!n&&(m=GB("default"+c)),r[m]=o,u&&u.type){case Mu.BOOLEAN:r[m]=!0;break;case Mu.OVERLOADED_BOOLEAN:o===""&&(r[m]=!0);break}continue}WB.PRESERVE_CUSTOM_ATTRIBUTES&&(r[l]=o)}return(0,WB.setStyleProp)(a.style,r),r}function GB(a){return Mu.possibleStandardNames[a]}var l$={},fC1=he&&he.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(l$,"__esModule",{value:!0}),l$.default=YB;var o$=p,vC1=fC1(Fg),Vu=a$,gC1={cloneElement:o$.cloneElement,createElement:o$.createElement,isValidElement:o$.isValidElement};function YB(a,e){e===void 0&&(e={});for(var r=[],n=typeof e.replace=="function",l=e.transform||Vu.returnFirstArg,o=e.library||gC1,c=o.cloneElement,m=o.createElement,u=o.isValidElement,h=a.length,g=0;g<h;g++){var A=a[g];if(n){var y=e.replace(A,g);if(u(y)){h>1&&(y=c(y,{key:y.key||g})),r.push(l(y,A,g));continue}}if(A.type==="text"){var E=!A.data.trim().length;if(E&&A.parent&&!(0,Vu.canTextBeChildOfNode)(A.parent)||e.trim&&E)continue;r.push(l(A.data,A,g));continue}var M=A,O={};AC1(M)?((0,Vu.setStyleProp)(M.attribs.style,M.attribs),O=M.attribs):M.attribs&&(O=(0,vC1.default)(M.attribs,M.name));var S=void 0;switch(A.type){case"script":case"style":A.children[0]&&(O.dangerouslySetInnerHTML={__html:A.children[0].data});break;case"tag":A.name==="textarea"&&A.children[0]?O.defaultValue=A.children[0].data:A.children&&A.children.length&&(S=YB(A.children,e));break;default:continue}h>1&&(O.key=g),r.push(l(m(A.name,O,S),A,g))}return r.length===1?r[0]:r}function AC1(a){return Vu.PRESERVE_CUSTOM_ATTRIBUTES&&a.type==="tag"&&(0,Vu.isCustomComponent)(a.name,a.attribs)}(function(a){var e=he&&he.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(a,"__esModule",{value:!0}),a.htmlToDOM=a.domToReact=a.attributesToProps=a.Text=a.ProcessingInstruction=a.Element=a.Comment=void 0,a.default=m;var r=e(UO);a.htmlToDOM=r.default;var n=e(Fg);a.attributesToProps=n.default;var l=e(l$);a.domToReact=l.default;var o=GO;Object.defineProperty(a,"Comment",{enumerable:!0,get:function(){return o.Comment}}),Object.defineProperty(a,"Element",{enumerable:!0,get:function(){return o.Element}}),Object.defineProperty(a,"ProcessingInstruction",{enumerable:!0,get:function(){return o.ProcessingInstruction}}),Object.defineProperty(a,"Text",{enumerable:!0,get:function(){return o.Text}});var c={lowerCaseAttributeNames:!1};function m(u,h){if(typeof u!="string")throw new TypeError("First argument must be a string");return u?(0,l.default)((0,r.default)(u,(h==null?void 0:h.htmlparser2)||c),h):[]}})(zO);const QB=$2(zO),ZC1=QB.default||QB;var i$={exports:{}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */var KB;function XB(){return KB||(KB=1,function(a,e){(function(r,n){a.exports=n()})(he,function(){const{entries:r,setPrototypeOf:n,isFrozen:l,getPrototypeOf:o,getOwnPropertyDescriptor:c}=Object;let{freeze:m,seal:u,create:h}=Object,{apply:g,construct:A}=typeof Reflect<"u"&&Reflect;m||(m=function($0){return $0}),u||(u=function($0){return $0}),g||(g=function($0,N0,F0){return $0.apply(N0,F0)}),A||(A=function($0,N0){return new $0(...N0)});const y=q(Array.prototype.forEach),E=q(Array.prototype.pop),M=q(Array.prototype.push),O=q(String.prototype.toLowerCase),S=q(String.prototype.toString),F=q(String.prototype.match),j=q(String.prototype.replace),k=q(String.prototype.indexOf),N=q(String.prototype.trim),C=q(Object.prototype.hasOwnProperty),I=q(RegExp.prototype.test),z=K(TypeError);function q(u1){return function($0){for(var N0=arguments.length,F0=new Array(N0>1?N0-1:0),Q0=1;Q0<N0;Q0++)F0[Q0-1]=arguments[Q0];return g(u1,$0,F0)}}function K(u1){return function(){for(var $0=arguments.length,N0=new Array($0),F0=0;F0<$0;F0++)N0[F0]=arguments[F0];return A(u1,N0)}}function Y(u1,$0){let N0=arguments.length>2&&arguments[2]!==void 0?arguments[2]:O;n&&n(u1,null);let F0=$0.length;for(;F0--;){let Q0=$0[F0];if(typeof Q0=="string"){const w1=N0(Q0);w1!==Q0&&(l($0)||($0[F0]=w1),Q0=w1)}u1[Q0]=!0}return u1}function o0(u1){for(let $0=0;$0<u1.length;$0++)C(u1,$0)||(u1[$0]=null);return u1}function a0(u1){const $0=h(null);for(const[N0,F0]of r(u1))C(u1,N0)&&(Array.isArray(F0)?$0[N0]=o0(F0):F0&&typeof F0=="object"&&F0.constructor===Object?$0[N0]=a0(F0):$0[N0]=F0);return $0}function t0(u1,$0){for(;u1!==null;){const F0=c(u1,$0);if(F0){if(F0.get)return q(F0.get);if(typeof F0.value=="function")return q(F0.value)}u1=o(u1)}function N0(){return null}return N0}const l0=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),e0=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),G0=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),y0=m(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),g0=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L0=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),B=m(["#text"]),G=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),n0=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),d0=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),O0=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),S0=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),c0=u(/<%[\w\W]*|[\w\W]*%>/gm),z0=u(/\${[\w\W]*}/gm),X=u(/^data-[\-\w.\u00B7-\uFFFF]/),h0=u(/^aria-[\-\w]+$/),f0=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z0=u(/^(?:\w+script|data):/i),v0=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),A0=u(/^html$/i),x0=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var k0=Object.freeze({__proto__:null,MUSTACHE_EXPR:S0,ERB_EXPR:c0,TMPLIT_EXPR:z0,DATA_ATTR:X,ARIA_ATTR:h0,IS_ALLOWED_URI:f0,IS_SCRIPT_OR_DATA:Z0,ATTR_WHITESPACE:v0,DOCTYPE_NAME:A0,CUSTOM_ELEMENT:x0});const W0={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},t1=function(){return typeof window>"u"?null:window},A1=function($0,N0){if(typeof $0!="object"||typeof $0.createPolicy!="function")return null;let F0=null;const Q0="data-tt-policy-suffix";N0&&N0.hasAttribute(Q0)&&(F0=N0.getAttribute(Q0));const w1="dompurify"+(F0?"#"+F0:"");try{return $0.createPolicy(w1,{createHTML(o1){return o1},createScriptURL(o1){return o1}})}catch{return console.warn("TrustedTypes policy "+w1+" could not be created."),null}};function T1(){let u1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t1();const $0=G1=>T1(G1);if($0.version="3.1.6",$0.removed=[],!u1||!u1.document||u1.document.nodeType!==W0.document)return $0.isSupported=!1,$0;let{document:N0}=u1;const F0=N0,Q0=F0.currentScript,{DocumentFragment:w1,HTMLTemplateElement:o1,Node:Z1,Element:K1,NodeFilter:Ie,NamedNodeMap:Le=u1.NamedNodeMap||u1.MozNamedAttrMap,HTMLFormElement:c1,DOMParser:P1,trustedTypes:de}=u1,Fe=K1.prototype,je=t0(Fe,"cloneNode"),Z2=t0(Fe,"remove"),f2=t0(Fe,"nextSibling"),i8=t0(Fe,"childNodes"),Be=t0(Fe,"parentNode");if(typeof o1=="function"){const G1=N0.createElement("template");G1.content&&G1.content.ownerDocument&&(N0=G1.content.ownerDocument)}let Pe,qe="";const{implementation:m2,createNodeIterator:v2,createDocumentFragment:f8,getElementsByTagName:Ft}=N0,{importNode:jt}=F0;let v8={};$0.isSupported=typeof r=="function"&&typeof Be=="function"&&m2&&m2.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Pt,ERB_EXPR:u0,TMPLIT_EXPR:V0,DATA_ATTR:T0,ARIA_ATTR:a1,IS_SCRIPT_OR_DATA:O1,ATTR_WHITESPACE:V1,CUSTOM_ELEMENT:Y1}=k0;let{IS_ALLOWED_URI:F1}=k0,Q=null;const w0=Y({},[...l0,...e0,...G0,...g0,...B]);let I0=null;const J0=Y({},[...G,...n0,...d0,...O0]);let h1=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ae=null,k1=null,y1=!0,Ve=!0,b1=!1,m0=!0,e1=!1,p1=!0,R1=!1,Qe=!1,g2=!1,We=!1,ce=!1,Q1=!1,Ke=!0,N8=!1;const H8="user-content-";let L2=!0,U2=!1,fa={},Da=null;const Tn=Y({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let B4=null;const _r=Y({},["audio","video","img","source","image","track"]);let d6=null;const p6=Y({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),kt="http://www.w3.org/1998/Math/MathML",h6="http://www.w3.org/2000/svg",Y8="http://www.w3.org/1999/xhtml";let xa=Y8,y4=!1,W6=null;const Bl=Y({},[kt,h6,Y8],S);let b4=null;const a2=["application/xhtml+xml","text/html"],ql="text/html";let c8=null,va=null;const Wl=N0.createElement("form"),Xe=function(H0){return H0 instanceof RegExp||H0 instanceof Function},q4=function(){let H0=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(va&&va===H0)){if((!H0||typeof H0!="object")&&(H0={}),H0=a0(H0),b4=a2.indexOf(H0.PARSER_MEDIA_TYPE)===-1?ql:H0.PARSER_MEDIA_TYPE,c8=b4==="application/xhtml+xml"?S:O,Q=C(H0,"ALLOWED_TAGS")?Y({},H0.ALLOWED_TAGS,c8):w0,I0=C(H0,"ALLOWED_ATTR")?Y({},H0.ALLOWED_ATTR,c8):J0,W6=C(H0,"ALLOWED_NAMESPACES")?Y({},H0.ALLOWED_NAMESPACES,S):Bl,d6=C(H0,"ADD_URI_SAFE_ATTR")?Y(a0(p6),H0.ADD_URI_SAFE_ATTR,c8):p6,B4=C(H0,"ADD_DATA_URI_TAGS")?Y(a0(_r),H0.ADD_DATA_URI_TAGS,c8):_r,Da=C(H0,"FORBID_CONTENTS")?Y({},H0.FORBID_CONTENTS,c8):Tn,ae=C(H0,"FORBID_TAGS")?Y({},H0.FORBID_TAGS,c8):{},k1=C(H0,"FORBID_ATTR")?Y({},H0.FORBID_ATTR,c8):{},fa=C(H0,"USE_PROFILES")?H0.USE_PROFILES:!1,y1=H0.ALLOW_ARIA_ATTR!==!1,Ve=H0.ALLOW_DATA_ATTR!==!1,b1=H0.ALLOW_UNKNOWN_PROTOCOLS||!1,m0=H0.ALLOW_SELF_CLOSE_IN_ATTR!==!1,e1=H0.SAFE_FOR_TEMPLATES||!1,p1=H0.SAFE_FOR_XML!==!1,R1=H0.WHOLE_DOCUMENT||!1,We=H0.RETURN_DOM||!1,ce=H0.RETURN_DOM_FRAGMENT||!1,Q1=H0.RETURN_TRUSTED_TYPE||!1,g2=H0.FORCE_BODY||!1,Ke=H0.SANITIZE_DOM!==!1,N8=H0.SANITIZE_NAMED_PROPS||!1,L2=H0.KEEP_CONTENT!==!1,U2=H0.IN_PLACE||!1,F1=H0.ALLOWED_URI_REGEXP||f0,xa=H0.NAMESPACE||Y8,h1=H0.CUSTOM_ELEMENT_HANDLING||{},H0.CUSTOM_ELEMENT_HANDLING&&Xe(H0.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(h1.tagNameCheck=H0.CUSTOM_ELEMENT_HANDLING.tagNameCheck),H0.CUSTOM_ELEMENT_HANDLING&&Xe(H0.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(h1.attributeNameCheck=H0.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),H0.CUSTOM_ELEMENT_HANDLING&&typeof H0.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(h1.allowCustomizedBuiltInElements=H0.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),e1&&(Ve=!1),ce&&(We=!0),fa&&(Q=Y({},B),I0=[],fa.html===!0&&(Y(Q,l0),Y(I0,G)),fa.svg===!0&&(Y(Q,e0),Y(I0,n0),Y(I0,O0)),fa.svgFilters===!0&&(Y(Q,G0),Y(I0,n0),Y(I0,O0)),fa.mathMl===!0&&(Y(Q,g0),Y(I0,d0),Y(I0,O0))),H0.ADD_TAGS&&(Q===w0&&(Q=a0(Q)),Y(Q,H0.ADD_TAGS,c8)),H0.ADD_ATTR&&(I0===J0&&(I0=a0(I0)),Y(I0,H0.ADD_ATTR,c8)),H0.ADD_URI_SAFE_ATTR&&Y(d6,H0.ADD_URI_SAFE_ATTR,c8),H0.FORBID_CONTENTS&&(Da===Tn&&(Da=a0(Da)),Y(Da,H0.FORBID_CONTENTS,c8)),L2&&(Q["#text"]=!0),R1&&Y(Q,["html","head","body"]),Q.table&&(Y(Q,["tbody"]),delete ae.tbody),H0.TRUSTED_TYPES_POLICY){if(typeof H0.TRUSTED_TYPES_POLICY.createHTML!="function")throw z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof H0.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Pe=H0.TRUSTED_TYPES_POLICY,qe=Pe.createHTML("")}else Pe===void 0&&(Pe=A1(de,Q0)),Pe!==null&&typeof qe=="string"&&(qe=Pe.createHTML(""));m&&m(H0),va=H0}},W4=Y({},["mi","mo","mn","ms","mtext"]),Ee=Y({},["foreignobject","annotation-xml"]),f6=Y({},["title","style","font","a","script"]),e8=Y({},[...e0,...G0,...y0]),_t=Y({},[...g0,...L0]),Ra=function(H0){let f1=Be(H0);(!f1||!f1.tagName)&&(f1={namespaceURI:xa,tagName:"template"});const W1=O(H0.tagName),r2=O(f1.tagName);return W6[H0.namespaceURI]?H0.namespaceURI===h6?f1.namespaceURI===Y8?W1==="svg":f1.namespaceURI===kt?W1==="svg"&&(r2==="annotation-xml"||W4[r2]):!!e8[W1]:H0.namespaceURI===kt?f1.namespaceURI===Y8?W1==="math":f1.namespaceURI===h6?W1==="math"&&Ee[r2]:!!_t[W1]:H0.namespaceURI===Y8?f1.namespaceURI===h6&&!Ee[r2]||f1.namespaceURI===kt&&!W4[r2]?!1:!_t[W1]&&(f6[W1]||!e8[W1]):!!(b4==="application/xhtml+xml"&&W6[H0.namespaceURI]):!1},st=function(H0){M($0.removed,{element:H0});try{Be(H0).removeChild(H0)}catch{Z2(H0)}},F2=function(H0,f1){try{M($0.removed,{attribute:f1.getAttributeNode(H0),from:f1})}catch{M($0.removed,{attribute:null,from:f1})}if(f1.removeAttribute(H0),H0==="is"&&!I0[H0])if(We||ce)try{st(f1)}catch{}else try{f1.setAttribute(H0,"")}catch{}},t8=function(H0){let f1=null,W1=null;if(g2)H0="<remove></remove>"+H0;else{const g8=F(H0,/^[\r\n\t ]+/);W1=g8&&g8[0]}b4==="application/xhtml+xml"&&xa===Y8&&(H0='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+H0+"</body></html>");const r2=Pe?Pe.createHTML(H0):H0;if(xa===Y8)try{f1=new P1().parseFromString(r2,b4)}catch{}if(!f1||!f1.documentElement){f1=m2.createDocument(xa,"template",null);try{f1.documentElement.innerHTML=y4?qe:r2}catch{}}const a8=f1.body||f1.documentElement;return H0&&W1&&a8.insertBefore(N0.createTextNode(W1),a8.childNodes[0]||null),xa===Y8?Ft.call(f1,R1?"html":"body")[0]:R1?f1.documentElement:a8},In=function(H0){return v2.call(H0.ownerDocument||H0,H0,Ie.SHOW_ELEMENT|Ie.SHOW_COMMENT|Ie.SHOW_TEXT|Ie.SHOW_PROCESSING_INSTRUCTION|Ie.SHOW_CDATA_SECTION,null)},Q8=function(H0){return H0 instanceof c1&&(typeof H0.nodeName!="string"||typeof H0.textContent!="string"||typeof H0.removeChild!="function"||!(H0.attributes instanceof Le)||typeof H0.removeAttribute!="function"||typeof H0.setAttribute!="function"||typeof H0.namespaceURI!="string"||typeof H0.insertBefore!="function"||typeof H0.hasChildNodes!="function")},Ct=function(H0){return typeof Z1=="function"&&H0 instanceof Z1},T8=function(H0,f1,W1){v8[H0]&&y(v8[H0],r2=>{r2.call($0,f1,W1,va)})},Cr=function(H0){let f1=null;if(T8("beforeSanitizeElements",H0,null),Q8(H0))return st(H0),!0;const W1=c8(H0.nodeName);if(T8("uponSanitizeElement",H0,{tagName:W1,allowedTags:Q}),H0.hasChildNodes()&&!Ct(H0.firstElementChild)&&I(/<[/\w]/g,H0.innerHTML)&&I(/<[/\w]/g,H0.textContent)||H0.nodeType===W0.progressingInstruction||p1&&H0.nodeType===W0.comment&&I(/<[/\w]/g,H0.data))return st(H0),!0;if(!Q[W1]||ae[W1]){if(!ae[W1]&&Y4(W1)&&(h1.tagNameCheck instanceof RegExp&&I(h1.tagNameCheck,W1)||h1.tagNameCheck instanceof Function&&h1.tagNameCheck(W1)))return!1;if(L2&&!Da[W1]){const r2=Be(H0)||H0.parentNode,a8=i8(H0)||H0.childNodes;if(a8&&r2){const g8=a8.length;for(let K8=g8-1;K8>=0;--K8){const w8=je(a8[K8],!0);w8.__removalCount=(H0.__removalCount||0)+1,r2.insertBefore(w8,f2(H0))}}}return st(H0),!0}return H0 instanceof K1&&!Ra(H0)||(W1==="noscript"||W1==="noembed"||W1==="noframes")&&I(/<\/no(script|embed|frames)/i,H0.innerHTML)?(st(H0),!0):(e1&&H0.nodeType===W0.text&&(f1=H0.textContent,y([Pt,u0,V0],r2=>{f1=j(f1,r2," ")}),H0.textContent!==f1&&(M($0.removed,{element:H0.cloneNode()}),H0.textContent=f1)),T8("afterSanitizeElements",H0,null),!1)},G4=function(H0,f1,W1){if(Ke&&(f1==="id"||f1==="name")&&(W1 in N0||W1 in Wl))return!1;if(!(Ve&&!k1[f1]&&I(T0,f1))){if(!(y1&&I(a1,f1))){if(!I0[f1]||k1[f1]){if(!(Y4(H0)&&(h1.tagNameCheck instanceof RegExp&&I(h1.tagNameCheck,H0)||h1.tagNameCheck instanceof Function&&h1.tagNameCheck(H0))&&(h1.attributeNameCheck instanceof RegExp&&I(h1.attributeNameCheck,f1)||h1.attributeNameCheck instanceof Function&&h1.attributeNameCheck(f1))||f1==="is"&&h1.allowCustomizedBuiltInElements&&(h1.tagNameCheck instanceof RegExp&&I(h1.tagNameCheck,W1)||h1.tagNameCheck instanceof Function&&h1.tagNameCheck(W1))))return!1}else if(!d6[f1]){if(!I(F1,j(W1,V1,""))){if(!((f1==="src"||f1==="xlink:href"||f1==="href")&&H0!=="script"&&k(W1,"data:")===0&&B4[H0])){if(!(b1&&!I(O1,j(W1,V1,"")))){if(W1)return!1}}}}}}return!0},Y4=function(H0){return H0!=="annotation-xml"&&F(H0,Y1)},H4=function(H0){T8("beforeSanitizeAttributes",H0,null);const{attributes:f1}=H0;if(!f1)return;const W1={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:I0};let r2=f1.length;for(;r2--;){const a8=f1[r2],{name:g8,namespaceURI:K8,value:w8}=a8,G6=c8(g8);let R=g8==="value"?w8:N(w8);if(W1.attrName=G6,W1.attrValue=R,W1.keepAttr=!0,W1.forceKeepAttr=void 0,T8("uponSanitizeAttribute",H0,W1),R=W1.attrValue,p1&&I(/((--!?|])>)|<\/(style|title)/i,R)){F2(g8,H0);continue}if(W1.forceKeepAttr||(F2(g8,H0),!W1.keepAttr))continue;if(!m0&&I(/\/>/i,R)){F2(g8,H0);continue}e1&&y([Pt,u0,V0],R0=>{R=j(R,R0," ")});const s0=c8(H0.nodeName);if(G4(s0,G6,R)){if(N8&&(G6==="id"||G6==="name")&&(F2(g8,H0),R=H8+R),Pe&&typeof de=="object"&&typeof de.getAttributeType=="function"&&!K8)switch(de.getAttributeType(s0,G6)){case"TrustedHTML":{R=Pe.createHTML(R);break}case"TrustedScriptURL":{R=Pe.createScriptURL(R);break}}try{K8?H0.setAttributeNS(K8,g8,R):H0.setAttribute(g8,R),Q8(H0)?st(H0):E($0.removed)}catch{}}}T8("afterSanitizeAttributes",H0,null)},za=function G1(H0){let f1=null;const W1=In(H0);for(T8("beforeSanitizeShadowDOM",H0,null);f1=W1.nextNode();)T8("uponSanitizeShadowNode",f1,null),!Cr(f1)&&(f1.content instanceof w1&&G1(f1.content),H4(f1));T8("afterSanitizeShadowDOM",H0,null)};return $0.sanitize=function(G1){let H0=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f1=null,W1=null,r2=null,a8=null;if(y4=!G1,y4&&(G1="<!-->"),typeof G1!="string"&&!Ct(G1))if(typeof G1.toString=="function"){if(G1=G1.toString(),typeof G1!="string")throw z("dirty is not a string, aborting")}else throw z("toString is not a function");if(!$0.isSupported)return G1;if(Qe||q4(H0),$0.removed=[],typeof G1=="string"&&(U2=!1),U2){if(G1.nodeName){const w8=c8(G1.nodeName);if(!Q[w8]||ae[w8])throw z("root node is forbidden and cannot be sanitized in-place")}}else if(G1 instanceof Z1)f1=t8("<!---->"),W1=f1.ownerDocument.importNode(G1,!0),W1.nodeType===W0.element&&W1.nodeName==="BODY"||W1.nodeName==="HTML"?f1=W1:f1.appendChild(W1);else{if(!We&&!e1&&!R1&&G1.indexOf("<")===-1)return Pe&&Q1?Pe.createHTML(G1):G1;if(f1=t8(G1),!f1)return We?null:Q1?qe:""}f1&&g2&&st(f1.firstChild);const g8=In(U2?G1:f1);for(;r2=g8.nextNode();)Cr(r2)||(r2.content instanceof w1&&za(r2.content),H4(r2));if(U2)return G1;if(We){if(ce)for(a8=f8.call(f1.ownerDocument);f1.firstChild;)a8.appendChild(f1.firstChild);else a8=f1;return(I0.shadowroot||I0.shadowrootmode)&&(a8=jt.call(F0,a8,!0)),a8}let K8=R1?f1.outerHTML:f1.innerHTML;return R1&&Q["!doctype"]&&f1.ownerDocument&&f1.ownerDocument.doctype&&f1.ownerDocument.doctype.name&&I(A0,f1.ownerDocument.doctype.name)&&(K8="<!DOCTYPE "+f1.ownerDocument.doctype.name+`>
434
434
  `+K8),e1&&y([Pt,u0,V0],w8=>{K8=j(K8,w8," ")}),Pe&&Q1?Pe.createHTML(K8):K8},$0.setConfig=function(){let G1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};q4(G1),Qe=!0},$0.clearConfig=function(){va=null,Qe=!1},$0.isValidAttribute=function(G1,H0,f1){va||q4({});const W1=c8(G1),r2=c8(H0);return G4(W1,r2,f1)},$0.addHook=function(G1,H0){typeof H0=="function"&&(v8[G1]=v8[G1]||[],M(v8[G1],H0))},$0.removeHook=function(G1){if(v8[G1])return E(v8[G1])},$0.removeHooks=function(G1){v8[G1]&&(v8[G1]=[])},$0.removeAllHooks=function(){v8={}},$0}var H1=T1();return H1})}(i$)),i$.exports}var yC1=window.DOMPurify||(window.DOMPurify=XB().default||XB());const bC1=$2(yC1),Cg={main:["bg-transparent px-1 py-0.5 border-b-2 border-action text-decoration-none","transition-colors duration-200 ease-in-out"],hidden:["cursor-pointer","content-visibility-hidden","user-select-none","text-transparent"],visible:["text-fg-primary","user-select-text","dark:text-gray-300"],editable:["text-fg-secondary","cursor-text"]},HC1=({children:a,editable:e,className:r,...n})=>{const[l,o]=p.useState(!e);return w.jsx("mark",{...n,className:Ze(r,Cg.main,l?Cg.hidden:e?Cg.editable:Cg.visible),onClick:()=>o(!1),children:a})};function EC1(a){return a.type==="tag"}const JB={replace(a){if(EC1(a)&&a.name==="mark"&&a.attribs["data-type"]==="fill-in-the-blank")return w.jsx(HC1,{children:zO.domToReact(a.children,JB)})}},c$=({html:a,prose:e=!0,className:r,...n})=>{const l=p.useMemo(()=>{if(!a)return null;const o=bC1.sanitize(a.trim());return ZC1(o,JB)},[a]);return l?w.jsx("div",{className:Ze(e&&"prose dark:prose-invert",r),...n,children:l}):null},eq=({feature:a})=>w.jsx(c$,{html:(a==null?void 0:a.content)??void 0});h2(`
435
435
  fragment HtmlFeatureFragment on HtmlFeature {
436
436
  content
@@ -513,7 +513,7 @@ Valid keys: `+JSON.stringify(Object.keys(G),null," "));var A0=v0(X,Z0,S0,c0,z0+
513
513
  ...FeatureActionButtonFragment
514
514
  }
515
515
  }
516
- `);const $u=({text:a="Open the app",url:e=""})=>w.jsx(ze,{to:e,target:"_blank",surface:"solid",children:a}),EN1=({src:a,srcDark:e,alt:r})=>w.jsx("div",{className:"flex space-x-2 items-center",children:a?w.jsxs(w.Fragment,{children:[w.jsx("img",{src:a,alt:r,className:"h-6 w-auto dark:hidden"}),w.jsx("img",{src:e,alt:r,className:"h-6 w-auto hidden dark:block"})]}):w.jsx(Je,{as:"h3",children:r})}),MN1=({church:a,url:e=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(EN1,{src:a.wordmarkLightUrl,srcDark:a.wordmarkDarkUrl}),w.jsx("div",{children:"Continue this experience in the app"}),w.jsx($u,{url:e})]}),w.jsx("div",{className:"flex shrink"})]}),VN1=({hasComments:a=!1,url:e=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(xO,{size:40,className:"text-action"}),a?w.jsx("div",{children:"Join the conversation in the app"}):w.jsx("div",{children:"Be the first to comment"}),w.jsx($u,{url:e})]}),w.jsx("div",{className:"flex shrink"})]}),ON1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm92-52A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM128,64c-24.26,0-44,17.94-44,40v4a12,12,0,0,0,24,0v-4c0-8.82,9-16,20-16s20,7.18,20,16-9,16-20,16a12,12,0,0,0-12,12v8a12,12,0,0,0,23.73,2.56C158.31,137.88,172,122.37,172,104,172,81.94,152.26,64,128,64Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180ZM128,74c-21,0-38,15.25-38,34v4a6,6,0,0,0,12,0v-4c0-12.13,11.66-22,26-22s26,9.87,26,22-11.66,22-26,22a6,6,0,0,0-6,6v8a6,6,0,0,0,12,0v-2.42c18.11-2.58,32-16.66,32-33.58C166,89.25,149,74,128,74Zm102,54A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180ZM128,76c-19.85,0-36,14.36-36,32v4a4,4,0,0,0,8,0v-4c0-13.23,12.56-24,28-24s28,10.77,28,24-12.56,24-28,24a4,4,0,0,0-4,4v8a4,4,0,0,0,8,0v-4.2c18-1.77,32-15.36,32-31.8C164,90.36,147.85,76,128,76Zm100,52A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var $N1=Object.defineProperty,wN1=Object.defineProperties,SN1=Object.getOwnPropertyDescriptors,hq=Object.getOwnPropertySymbols,LN1=Object.prototype.hasOwnProperty,FN1=Object.prototype.propertyIsEnumerable,fq=(a,e,r)=>e in a?$N1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,jN1=(a,e)=>{for(var r in e||(e={}))LN1.call(e,r)&&fq(a,r,e[r]);if(hq)for(var r of hq(e))FN1.call(e,r)&&fq(a,r,e[r]);return a},PN1=(a,e)=>wN1(a,SN1(e));const Tg=p.forwardRef((a,e)=>t.createElement(b,PN1(jN1({ref:e},a),{weights:ON1})));Tg.displayName="Question";const kN1=Object.freeze(Object.defineProperty({__proto__:null,Question:Tg},Symbol.toStringTag,{value:"Module"})),_N1=({url:a=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(Tg,{size:40,className:"text-action"}),w.jsx("div",{children:"Answer this question in the app"}),w.jsx($u,{url:a})]}),w.jsx("div",{className:"flex shrink"})]}),CN1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H128a12,12,0,0,1,0-24h88A12,12,0,0,1,228,128ZM128,76h88a12,12,0,0,0,0-24H128a12,12,0,0,0,0,24Zm88,104H128a12,12,0,0,0,0,24h88a12,12,0,0,0,0-24ZM79.51,39.51,56,63l-7.51-7.52a12,12,0,0,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,127l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,191l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,64V192H128V64Z",opacity:"0.2"}),t.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM117.66,149.66l-32,32a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,11.32-11.32L80,164.69l26.34-26.35a8,8,0,0,1,11.32,11.32Zm0-64-32,32a8,8,0,0,1-11.32,0l-16-16A8,8,0,0,1,69.66,90.34L80,100.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM192,168H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm0-64H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H128a6,6,0,0,1,0-12h88A6,6,0,0,1,222,128ZM128,70h88a6,6,0,0,0,0-12H128a6,6,0,0,0,0,12Zm88,116H128a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12ZM83.76,43.76,56,71.51,44.24,59.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,135.51,44.24,123.76a6,6,0,1,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,199.51,44.24,187.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H128a4,4,0,0,1,0-8h88A4,4,0,0,1,220,128ZM128,68h88a4,4,0,0,0,0-8H128a4,4,0,0,0,0,8Zm88,120H128a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8ZM85.17,45.17,56,74.34,42.83,61.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,138.34,42.83,125.17a4,4,0,1,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,202.34,42.83,189.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Z"}))]]);var NN1=Object.defineProperty,TN1=Object.defineProperties,IN1=Object.getOwnPropertyDescriptors,vq=Object.getOwnPropertySymbols,DN1=Object.prototype.hasOwnProperty,xN1=Object.prototype.propertyIsEnumerable,gq=(a,e,r)=>e in a?NN1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,RN1=(a,e)=>{for(var r in e||(e={}))DN1.call(e,r)&&gq(a,r,e[r]);if(vq)for(var r of vq(e))xN1.call(e,r)&&gq(a,r,e[r]);return a},zN1=(a,e)=>TN1(a,IN1(e));const h$=p.forwardRef((a,e)=>t.createElement(b,zN1(RN1({ref:e},a),{weights:CN1})));h$.displayName="ListChecks";const UN1=Object.freeze(Object.defineProperty({__proto__:null,ListChecks:h$},Symbol.toStringTag,{value:"Module"})),BN1=({url:a=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(h$,{size:40,className:"text-action"}),w.jsx("div",{children:"Vote or view results in the app"}),w.jsx($u,{url:a})]}),w.jsx("div",{className:"flex shrink"})]});var ht=(a=>(a[a.Comment=0]="Comment",a[a.Default=1]="Default",a[a.Like=2]="Like",a[a.OTP=3]="OTP",a[a.Question=4]="Question",a[a.SignupDetails=5]="SignupDetails",a[a.Success=6]="Success",a[a.Vote=7]="Vote",a))(ht||{});const qN1=({hasLikes:a=!1,url:e=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(Hu,{size:40,className:"text-action"}),a?w.jsx("div",{children:"Like this in the app"}):w.jsx("div",{children:"Be the first to like"}),w.jsx($u,{url:e})]}),w.jsx("div",{className:"flex shrink"})]}),WN1=a=>/^https?:\/\/(localhost)(:\d+)?|(localhost)(:\d+)?|^https?:\/\/(192.\d.\d.\d)(:\d+)?|(192.\d.\d.\d)(:\d+)?/.test(a),GN1=({url:a="",preFilledIdentity:e="",setIsOpen:r,tagIds:n=[],onSuccess:l})=>{const[o,c]=p.useState(e?"otp":"input"),[m,u]=p.useState(e),[h,g]=p.useState(""),[A,y]=p.useState(!1),[E,M]=p.useState(""),[O,S]=p.useState(e?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e):!0),F=cB(),j=Gk1(),k=async()=>{if(!m.trim()){M("Please enter a valid email or phone number");return}y(!0),M("");try{const q=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m)?"email":"phone";if(F){const K=await F({identity:m,type:q});K.success?(M(""),c("otp")):M(K.message||"Failed to send OTP")}else await new Promise(K=>setTimeout(K,1e3)),M(""),c("otp")}catch{M("Failed to send code. Please try again.")}finally{y(!1)}},N=async()=>{if(!h.trim()||h.length!==6){M("Please enter the 6-digit code");return}y(!0),M("");try{const q=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m)?"email":"phone";if(j){const K=await j({identity:m,otp:h,type:q,tagIds:n&&n.length>0?n:void 0});K.success?(M(""),console.log("OTP: Verification successful! Tags will be associated server-side.",{tagIds:n,tagIdsLength:n==null?void 0:n.length}),K.needsProfileUpdate&&K.userInfo?l&&l(K.userInfo):l?l():(r(!1),window.location.reload())):M(K.message||"Invalid code")}else await new Promise(K=>setTimeout(K,1e3)),M(""),l?l():(r(!1),window.location.reload())}catch{M("Invalid code. Please try again.")}finally{y(!1)}},C=z=>{const q=z.target.value;u(q),S(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(q)),M("")},I=()=>{c("input"),u(""),g(""),M(""),y(!1)};return o==="otp"?w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"text-2xl font-semibold mb-2",children:"Enter Verification Code"}),w.jsxs("div",{className:"text-fg-secondary dark:text-fg-secondary-dark",children:["We sent a 6-digit code to ",O?"your email":"your phone"]}),w.jsx("div",{className:"text-sm text-fg-secondary dark:text-fg-secondary-dark mt-1",children:m})]}),w.jsx("div",{className:"w-full max-w-xs",children:w.jsx(KV,{value:h,onChange:g,maxLength:6,disabled:A,children:w.jsx(XV,{children:Array.from({length:6},(z,q)=>w.jsx(JV,{index:q},q))})})}),E&&w.jsx(Je,{className:"text-red-500 text-sm text-center",children:E}),w.jsxs("div",{className:"flex flex-col gap-3 w-full max-w-xs",children:[w.jsx(ze,{onClick:N,surface:"solid",className:"w-full",disabled:A||h.length!==6,children:A?"Verifying...":"Verify Code"}),w.jsx(ze,{onClick:I,surface:"tinted",className:"w-full",disabled:A,children:"Back to Input"})]})]}),w.jsx("div",{className:"flex shrink"})]}):w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"text-2xl font-semibold mb-2",children:"Connect with Community"}),w.jsx("div",{className:"text-fg-secondary dark:text-fg-secondary-dark",children:"Enter your email or phone number to get started"})]}),w.jsx("div",{className:"w-full max-w-xs",children:w.jsxs("div",{className:"flex items-center",children:[w.jsx("input",{type:O?"email":"tel",placeholder:O?"Enter your email":"Enter your phone number",value:m,onChange:C,className:"flex-1 rounded-l-lg rounded-r-none border border-system-thin border-r-0 px-4 py-[calc(theme(spacing[2.5])-1px)] text-base text-fg-primary placeholder:text-fg-secondary dark:placeholder:text-fg-secondary-dark dark:text-fg-primary-dark bg-transparent dark:bg-white/5 focus:outline-none focus:border-system-thick dark:focus:border-system-thin-dark dark:border-system-regular-dark"}),w.jsx(ze,{onClick:k,surface:"solid",className:"rounded-r-lg rounded-l-none border-l-0",disabled:A,children:A?"...":"Send"})]})}),E&&w.jsx(Je,{className:"text-red-500 text-sm text-center",children:E}),w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"text-sm text-fg-secondary dark:text-fg-secondary-dark mb-2",children:"We'll send you a verification code to continue"}),w.jsx("div",{className:"text-xs text-fg-tertiary dark:text-fg-tertiary-dark",children:"By continuing, you agree to our terms of service and privacy policy"})]})]}),w.jsx("div",{className:"flex shrink"})]})},YN1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var QN1=Object.defineProperty,KN1=Object.defineProperties,XN1=Object.getOwnPropertyDescriptors,Aq=Object.getOwnPropertySymbols,JN1=Object.prototype.hasOwnProperty,eT1=Object.prototype.propertyIsEnumerable,Zq=(a,e,r)=>e in a?QN1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,tT1=(a,e)=>{for(var r in e||(e={}))JN1.call(e,r)&&Zq(a,r,e[r]);if(Aq)for(var r of Aq(e))eT1.call(e,r)&&Zq(a,r,e[r]);return a},aT1=(a,e)=>KN1(a,XN1(e));const f$=p.forwardRef((a,e)=>t.createElement(b,aT1(tT1({ref:e},a),{weights:YN1})));f$.displayName="CheckCircle";const rT1=Object.freeze(Object.defineProperty({__proto__:null,CheckCircle:f$},Symbol.toStringTag,{value:"Module"})),nT1=({onClose:a,message:e})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(f$,{size:40,className:"text-action"}),w.jsx("div",{className:"text-center",children:w.jsx(Je,{as:"h1",className:"text-2xl font-semibold mb-2",children:"Success!"})}),w.jsx("div",{className:"text-center max-w-sm",children:w.jsx(Je,{className:"text-fg-secondary dark:text-fg-secondary-dark",children:e})}),w.jsx(ze,{onClick:a,surface:"solid",className:"w-full max-w-xs",children:"Close"})]}),w.jsx("div",{className:"flex shrink"})]}),lT1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M256,136a12,12,0,0,1-12,12h-8v8a12,12,0,0,1-24,0v-8h-8a12,12,0,0,1,0-24h8v-8a12,12,0,0,1,24,0v8h8A12,12,0,0,1,256,136Zm-54.81,56.28a12,12,0,1,1-18.38,15.44C169.12,191.42,145,172,108,172c-28.89,0-55.46,12.68-74.81,35.72a12,12,0,0,1-18.38-15.44A124.08,124.08,0,0,1,63.5,156.53a72,72,0,1,1,89,0A124,124,0,0,1,201.19,192.28ZM108,148a48,48,0,1,0-48-48A48.05,48.05,0,0,0,108,148Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M168,100a60,60,0,1,1-60-60A60,60,0,0,1,168,100Z",opacity:"0.2"}),t.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-57.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136ZM144,157.68a68,68,0,1,0-71.9,0c-20.65,6.76-39.23,19.39-54.17,37.17A8,8,0,0,0,24,208H192a8,8,0,0,0,6.13-13.15C183.18,177.07,164.6,164.44,144,157.68Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M254,136a6,6,0,0,1-6,6H230v18a6,6,0,0,1-12,0V142H200a6,6,0,0,1,0-12h18V112a6,6,0,0,1,12,0v18h18A6,6,0,0,1,254,136Zm-57.41,60.14a6,6,0,1,1-9.18,7.72C166.9,179.45,138.69,166,108,166s-58.89,13.45-79.41,37.86a6,6,0,0,1-9.18-7.72C35.14,177.41,55,164.48,77,158.25a66,66,0,1,1,62,0C161,164.48,180.86,177.41,196.59,196.14ZM108,154a54,54,0,1,0-54-54A54.06,54.06,0,0,0,108,154Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-57.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M252,136a4,4,0,0,1-4,4H228v20a4,4,0,0,1-8,0V140H200a4,4,0,0,1,0-8h20V112a4,4,0,0,1,8,0v20h20A4,4,0,0,1,252,136Zm-56.94,61.43a4,4,0,0,1-6.12,5.14C168,177.7,139.3,164,108,164s-60,13.7-80.94,38.57a4,4,0,1,1-6.12-5.14c16.71-19.9,38.13-33.13,61.89-38.59a64,64,0,1,1,50.34,0C156.93,164.3,178.35,177.53,195.06,197.43ZM108,156a56,56,0,1,0-56-56A56.06,56.06,0,0,0,108,156Z"}))]]);var oT1=Object.defineProperty,iT1=Object.defineProperties,cT1=Object.getOwnPropertyDescriptors,yq=Object.getOwnPropertySymbols,sT1=Object.prototype.hasOwnProperty,mT1=Object.prototype.propertyIsEnumerable,bq=(a,e,r)=>e in a?oT1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,uT1=(a,e)=>{for(var r in e||(e={}))sT1.call(e,r)&&bq(a,r,e[r]);if(yq)for(var r of yq(e))mT1.call(e,r)&&bq(a,r,e[r]);return a},dT1=(a,e)=>iT1(a,cT1(e));const v$=p.forwardRef((a,e)=>t.createElement(b,dT1(uT1({ref:e},a),{weights:lT1})));v$.displayName="UserPlus";const pT1=Object.freeze(Object.defineProperty({__proto__:null,UserPlus:v$},Symbol.toStringTag,{value:"Module"})),hT1=({onUpdateAccount:a,onSkip:e,userInfo:r={}})=>{const[n,l]=p.useState(r.firstName||""),[o,c]=p.useState(r.lastName||""),[m,u]=p.useState(!1),h=!r.firstName,g=!r.lastName,A=h||g,y=async()=>{u(!0);try{a({firstName:h?n:void 0,lastName:g?o:void 0})}catch(E){console.error("Error updating profile:",E),a({firstName:h?n:void 0,lastName:g?o:void 0})}finally{u(!1)}};return w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(v$,{size:40,className:"text-action"}),w.jsxs("div",{className:"text-center",children:[w.jsx(Je,{as:"h1",className:"text-2xl font-semibold mb-2",children:"Thanks for signing up!"}),w.jsx(Je,{className:"text-fg-secondary dark:text-fg-secondary-dark",children:"Would you like to give us some more details?"})]}),A&&w.jsxs("div",{className:"w-full max-w-sm space-y-6",children:[h&&w.jsxs("div",{className:"space-y-1",children:[w.jsx("label",{className:"block text-sm font-medium text-fg-primary dark:text-fg-primary-dark",children:"First Name"}),w.jsx("input",{type:"text",value:n,onChange:E=>l(E.target.value),placeholder:"Enter your first name",className:"w-full px-0 py-2 text-base bg-transparent border-0 border-b-2 border-system-thin dark:border-system-regular-dark focus:border-action focus:outline-none transition-colors placeholder:text-fg-secondary dark:placeholder:text-fg-secondary-dark text-fg-primary dark:text-fg-primary-dark"})]}),g&&w.jsxs("div",{className:"space-y-1",children:[w.jsx("label",{className:"block text-sm font-medium text-fg-primary dark:text-fg-primary-dark",children:"Last Name"}),w.jsx("input",{type:"text",value:o,onChange:E=>c(E.target.value),placeholder:"Enter your last name",className:"w-full px-0 py-2 text-base bg-transparent border-0 border-b-2 border-system-thin dark:border-system-regular-dark focus:border-action focus:outline-none transition-colors placeholder:text-fg-secondary dark:placeholder:text-fg-secondary-dark text-fg-primary dark:text-fg-primary-dark"})]})]}),w.jsxs("div",{className:"flex flex-col gap-3 w-full max-w-xs",children:[A&&w.jsx(ze,{onClick:y,surface:"solid",className:"w-full",disabled:m,children:m?"Updating...":"Update Account"}),w.jsx(ze,{onClick:e,surface:"tinted",className:"w-full",disabled:m,children:A?"Skip for now":"Continue"})]})]}),w.jsx("div",{className:"flex shrink"})]})},fT1=({church:a,currentPageParams:e,url:r})=>{if(!Fl(r))return r;if(!a||!a.universalLinkHost)return"";let n=a==null?void 0:a.universalLinkHost;return n.startsWith("http")||(n=WN1(n)?`http://${n}`:`https://${n}`),Fl(e.contentId)?Fl(e.eventId)?Fl(e.feedId)?"":`${n}/app-link/f/${e.feedId.replace("Feed-","Feed:")}`:`${n}/app-link/e/${e.eventId.replace("Event-","Event:")}`:`${n}/app-link/content/${e.contentId.replace("Item-","Item:")}`},wu=({church:a,currentPageParams:e,hasComments:r=!1,hasLikes:n=!1,isOpen:l=!1,setIsOpen:o=gu,type:c=ht.Default,url:m="",preFilledIdentity:u="",tagIds:h,onTypeChange:g,message:A})=>{const[y,E]=p.useState(null),M=Yk1();let O=null;const S=fT1({church:a,currentPageParams:e,url:m});switch(c){case ht.Comment:O=w.jsx(VN1,{hasComments:r,url:S});break;case ht.Like:O=w.jsx(qN1,{hasLikes:n,url:S});break;case ht.OTP:O=w.jsx(GN1,{url:S,preFilledIdentity:u,setIsOpen:o,tagIds:h,onSuccess:async F=>{F?(E(F),g&&g(ht.SignupDetails)):g&&g(ht.Success)}});break;case ht.Question:O=w.jsx(_N1,{url:S});break;case ht.Success:O=w.jsx(nT1,{onClose:()=>o(!1),message:A});break;case ht.SignupDetails:O=w.jsx(hT1,{userInfo:y||void 0,onUpdateAccount:async({firstName:F,lastName:j})=>{try{M&&await M({firstName:F,lastName:j})}finally{g&&g(ht.Success)}},onSkip:()=>{g&&g(ht.Success)}});break;case ht.Vote:O=w.jsx(BN1,{url:S});break;case ht.Default:default:O=w.jsx(MN1,{church:a,url:S});break}return w.jsx(Jj1,{isOpen:l,setIsOpen:o,children:O})};/**
516
+ `);const $u=({text:a="Open the app",url:e=""})=>w.jsx(ze,{to:e,target:"_blank",surface:"solid",children:a}),EN1=({src:a,srcDark:e,alt:r})=>w.jsx("div",{className:"flex space-x-2 items-center",children:a?w.jsxs(w.Fragment,{children:[w.jsx("img",{src:a,alt:r,className:"h-6 w-auto dark:hidden"}),w.jsx("img",{src:e,alt:r,className:"h-6 w-auto hidden dark:block"})]}):w.jsx(Je,{as:"h3",children:r})}),MN1=({church:a,url:e=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(EN1,{src:a.wordmarkLightUrl,srcDark:a.wordmarkDarkUrl}),w.jsx("div",{children:"Continue this experience in the app"}),w.jsx($u,{url:e})]}),w.jsx("div",{className:"flex shrink"})]}),VN1=({hasComments:a=!1,url:e=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(xO,{size:40,className:"text-action"}),a?w.jsx("div",{children:"Join the conversation in the app"}):w.jsx("div",{children:"Be the first to comment"}),w.jsx($u,{url:e})]}),w.jsx("div",{className:"flex shrink"})]}),ON1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm92-52A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM128,64c-24.26,0-44,17.94-44,40v4a12,12,0,0,0,24,0v-4c0-8.82,9-16,20-16s20,7.18,20,16-9,16-20,16a12,12,0,0,0-12,12v8a12,12,0,0,0,23.73,2.56C158.31,137.88,172,122.37,172,104,172,81.94,152.26,64,128,64Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180ZM128,74c-21,0-38,15.25-38,34v4a6,6,0,0,0,12,0v-4c0-12.13,11.66-22,26-22s26,9.87,26,22-11.66,22-26,22a6,6,0,0,0-6,6v8a6,6,0,0,0,12,0v-2.42c18.11-2.58,32-16.66,32-33.58C166,89.25,149,74,128,74Zm102,54A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180ZM128,76c-19.85,0-36,14.36-36,32v4a4,4,0,0,0,8,0v-4c0-13.23,12.56-24,28-24s28,10.77,28,24-12.56,24-28,24a4,4,0,0,0-4,4v8a4,4,0,0,0,8,0v-4.2c18-1.77,32-15.36,32-31.8C164,90.36,147.85,76,128,76Zm100,52A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var $N1=Object.defineProperty,wN1=Object.defineProperties,SN1=Object.getOwnPropertyDescriptors,hq=Object.getOwnPropertySymbols,LN1=Object.prototype.hasOwnProperty,FN1=Object.prototype.propertyIsEnumerable,fq=(a,e,r)=>e in a?$N1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,jN1=(a,e)=>{for(var r in e||(e={}))LN1.call(e,r)&&fq(a,r,e[r]);if(hq)for(var r of hq(e))FN1.call(e,r)&&fq(a,r,e[r]);return a},PN1=(a,e)=>wN1(a,SN1(e));const Tg=p.forwardRef((a,e)=>t.createElement(b,PN1(jN1({ref:e},a),{weights:ON1})));Tg.displayName="Question";const kN1=Object.freeze(Object.defineProperty({__proto__:null,Question:Tg},Symbol.toStringTag,{value:"Module"})),_N1=({url:a=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(Tg,{size:40,className:"text-action"}),w.jsx("div",{children:"Answer this question in the app"}),w.jsx($u,{url:a})]}),w.jsx("div",{className:"flex shrink"})]}),CN1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H128a12,12,0,0,1,0-24h88A12,12,0,0,1,228,128ZM128,76h88a12,12,0,0,0,0-24H128a12,12,0,0,0,0,24Zm88,104H128a12,12,0,0,0,0,24h88a12,12,0,0,0,0-24ZM79.51,39.51,56,63l-7.51-7.52a12,12,0,0,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,127l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,191l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,64V192H128V64Z",opacity:"0.2"}),t.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM117.66,149.66l-32,32a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,11.32-11.32L80,164.69l26.34-26.35a8,8,0,0,1,11.32,11.32Zm0-64-32,32a8,8,0,0,1-11.32,0l-16-16A8,8,0,0,1,69.66,90.34L80,100.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM192,168H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm0-64H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H128a6,6,0,0,1,0-12h88A6,6,0,0,1,222,128ZM128,70h88a6,6,0,0,0,0-12H128a6,6,0,0,0,0,12Zm88,116H128a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12ZM83.76,43.76,56,71.51,44.24,59.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,135.51,44.24,123.76a6,6,0,1,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,199.51,44.24,187.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H128a4,4,0,0,1,0-8h88A4,4,0,0,1,220,128ZM128,68h88a4,4,0,0,0,0-8H128a4,4,0,0,0,0,8Zm88,120H128a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8ZM85.17,45.17,56,74.34,42.83,61.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,138.34,42.83,125.17a4,4,0,1,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,202.34,42.83,189.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Z"}))]]);var NN1=Object.defineProperty,TN1=Object.defineProperties,IN1=Object.getOwnPropertyDescriptors,vq=Object.getOwnPropertySymbols,DN1=Object.prototype.hasOwnProperty,xN1=Object.prototype.propertyIsEnumerable,gq=(a,e,r)=>e in a?NN1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,RN1=(a,e)=>{for(var r in e||(e={}))DN1.call(e,r)&&gq(a,r,e[r]);if(vq)for(var r of vq(e))xN1.call(e,r)&&gq(a,r,e[r]);return a},zN1=(a,e)=>TN1(a,IN1(e));const h$=p.forwardRef((a,e)=>t.createElement(b,zN1(RN1({ref:e},a),{weights:CN1})));h$.displayName="ListChecks";const UN1=Object.freeze(Object.defineProperty({__proto__:null,ListChecks:h$},Symbol.toStringTag,{value:"Module"})),BN1=({url:a=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(h$,{size:40,className:"text-action"}),w.jsx("div",{children:"Vote or view results in the app"}),w.jsx($u,{url:a})]}),w.jsx("div",{className:"flex shrink"})]});var nt=(a=>(a[a.Comment=0]="Comment",a[a.Default=1]="Default",a[a.Like=2]="Like",a[a.OTP=3]="OTP",a[a.Question=4]="Question",a[a.SignupDetails=5]="SignupDetails",a[a.Success=6]="Success",a[a.Vote=7]="Vote",a))(nt||{});const qN1=({hasLikes:a=!1,url:e=""})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(Hu,{size:40,className:"text-action"}),a?w.jsx("div",{children:"Like this in the app"}):w.jsx("div",{children:"Be the first to like"}),w.jsx($u,{url:e})]}),w.jsx("div",{className:"flex shrink"})]}),WN1=a=>/^https?:\/\/(localhost)(:\d+)?|(localhost)(:\d+)?|^https?:\/\/(192.\d.\d.\d)(:\d+)?|(192.\d.\d.\d)(:\d+)?/.test(a),GN1=({url:a="",preFilledIdentity:e="",setIsOpen:r,tagIds:n=[],onSuccess:l})=>{const[o,c]=p.useState(e?"otp":"input"),[m,u]=p.useState(e),[h,g]=p.useState(""),[A,y]=p.useState(!1),[E,M]=p.useState(""),[O,S]=p.useState(e?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e):!0),F=cB(),j=Gk1(),k=async()=>{if(!m.trim()){M("Please enter a valid email or phone number");return}y(!0),M("");try{const q=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m)?"email":"phone";if(F){const K=await F({identity:m,type:q});K.success?(M(""),c("otp")):M(K.message||"Failed to send OTP")}else await new Promise(K=>setTimeout(K,1e3)),M(""),c("otp")}catch{M("Failed to send code. Please try again.")}finally{y(!1)}},N=async()=>{if(!h.trim()||h.length!==6){M("Please enter the 6-digit code");return}y(!0),M("");try{const q=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m)?"email":"phone";if(j){const K=await j({identity:m,otp:h,type:q,tagIds:n&&n.length>0?n:void 0});K.success?(M(""),console.log("OTP: Verification successful! Tags will be associated server-side.",{tagIds:n,tagIdsLength:n==null?void 0:n.length}),K.needsProfileUpdate&&K.userInfo?l&&l(K.userInfo):l?l():(r(!1),window.location.reload())):M(K.message||"Invalid code")}else await new Promise(K=>setTimeout(K,1e3)),M(""),l?l():(r(!1),window.location.reload())}catch{M("Invalid code. Please try again.")}finally{y(!1)}},C=z=>{const q=z.target.value;u(q),S(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(q)),M("")},I=()=>{c("input"),u(""),g(""),M(""),y(!1)};return o==="otp"?w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"text-2xl font-semibold mb-2",children:"Enter Verification Code"}),w.jsxs("div",{className:"text-fg-secondary dark:text-fg-secondary-dark",children:["We sent a 6-digit code to ",O?"your email":"your phone"]}),w.jsx("div",{className:"text-sm text-fg-secondary dark:text-fg-secondary-dark mt-1",children:m})]}),w.jsx("div",{className:"w-full max-w-xs",children:w.jsx(KV,{value:h,onChange:g,maxLength:6,disabled:A,children:w.jsx(XV,{children:Array.from({length:6},(z,q)=>w.jsx(JV,{index:q},q))})})}),E&&w.jsx(Je,{className:"text-red-500 text-sm text-center",children:E}),w.jsxs("div",{className:"flex flex-col gap-3 w-full max-w-xs",children:[w.jsx(ze,{onClick:N,surface:"solid",className:"w-full",disabled:A||h.length!==6,children:A?"Verifying...":"Verify Code"}),w.jsx(ze,{onClick:I,surface:"tinted",className:"w-full",disabled:A,children:"Back to Input"})]})]}),w.jsx("div",{className:"flex shrink"})]}):w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"text-2xl font-semibold mb-2",children:"Connect with Community"}),w.jsx("div",{className:"text-fg-secondary dark:text-fg-secondary-dark",children:"Enter your email or phone number to get started"})]}),w.jsx("div",{className:"w-full max-w-xs",children:w.jsxs("div",{className:"flex items-center",children:[w.jsx("input",{type:O?"email":"tel",placeholder:O?"Enter your email":"Enter your phone number",value:m,onChange:C,className:"flex-1 rounded-l-lg rounded-r-none border border-system-thin border-r-0 px-4 py-[calc(theme(spacing[2.5])-1px)] text-base text-fg-primary placeholder:text-fg-secondary dark:placeholder:text-fg-secondary-dark dark:text-fg-primary-dark bg-transparent dark:bg-white/5 focus:outline-none focus:border-system-thick dark:focus:border-system-thin-dark dark:border-system-regular-dark"}),w.jsx(ze,{onClick:k,surface:"solid",className:"rounded-r-lg rounded-l-none border-l-0",disabled:A,children:A?"...":"Send"})]})}),E&&w.jsx(Je,{className:"text-red-500 text-sm text-center",children:E}),w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"text-sm text-fg-secondary dark:text-fg-secondary-dark mb-2",children:"We'll send you a verification code to continue"}),w.jsx("div",{className:"text-xs text-fg-tertiary dark:text-fg-tertiary-dark",children:"By continuing, you agree to our terms of service and privacy policy"})]})]}),w.jsx("div",{className:"flex shrink"})]})},YN1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var QN1=Object.defineProperty,KN1=Object.defineProperties,XN1=Object.getOwnPropertyDescriptors,Aq=Object.getOwnPropertySymbols,JN1=Object.prototype.hasOwnProperty,eT1=Object.prototype.propertyIsEnumerable,Zq=(a,e,r)=>e in a?QN1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,tT1=(a,e)=>{for(var r in e||(e={}))JN1.call(e,r)&&Zq(a,r,e[r]);if(Aq)for(var r of Aq(e))eT1.call(e,r)&&Zq(a,r,e[r]);return a},aT1=(a,e)=>KN1(a,XN1(e));const f$=p.forwardRef((a,e)=>t.createElement(b,aT1(tT1({ref:e},a),{weights:YN1})));f$.displayName="CheckCircle";const rT1=Object.freeze(Object.defineProperty({__proto__:null,CheckCircle:f$},Symbol.toStringTag,{value:"Module"})),nT1=({onClose:a,message:e})=>w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(f$,{size:40,className:"text-action"}),w.jsx("div",{className:"text-center",children:w.jsx(Je,{as:"h1",className:"text-2xl font-semibold mb-2",children:"Success!"})}),w.jsx("div",{className:"text-center max-w-sm",children:w.jsx(Je,{className:"text-fg-secondary dark:text-fg-secondary-dark",children:e})}),w.jsx(ze,{onClick:a,surface:"solid",className:"w-full max-w-xs",children:"Close"})]}),w.jsx("div",{className:"flex shrink"})]}),lT1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M256,136a12,12,0,0,1-12,12h-8v8a12,12,0,0,1-24,0v-8h-8a12,12,0,0,1,0-24h8v-8a12,12,0,0,1,24,0v8h8A12,12,0,0,1,256,136Zm-54.81,56.28a12,12,0,1,1-18.38,15.44C169.12,191.42,145,172,108,172c-28.89,0-55.46,12.68-74.81,35.72a12,12,0,0,1-18.38-15.44A124.08,124.08,0,0,1,63.5,156.53a72,72,0,1,1,89,0A124,124,0,0,1,201.19,192.28ZM108,148a48,48,0,1,0-48-48A48.05,48.05,0,0,0,108,148Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M168,100a60,60,0,1,1-60-60A60,60,0,0,1,168,100Z",opacity:"0.2"}),t.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-57.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136ZM144,157.68a68,68,0,1,0-71.9,0c-20.65,6.76-39.23,19.39-54.17,37.17A8,8,0,0,0,24,208H192a8,8,0,0,0,6.13-13.15C183.18,177.07,164.6,164.44,144,157.68Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M254,136a6,6,0,0,1-6,6H230v18a6,6,0,0,1-12,0V142H200a6,6,0,0,1,0-12h18V112a6,6,0,0,1,12,0v18h18A6,6,0,0,1,254,136Zm-57.41,60.14a6,6,0,1,1-9.18,7.72C166.9,179.45,138.69,166,108,166s-58.89,13.45-79.41,37.86a6,6,0,0,1-9.18-7.72C35.14,177.41,55,164.48,77,158.25a66,66,0,1,1,62,0C161,164.48,180.86,177.41,196.59,196.14ZM108,154a54,54,0,1,0-54-54A54.06,54.06,0,0,0,108,154Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-57.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M252,136a4,4,0,0,1-4,4H228v20a4,4,0,0,1-8,0V140H200a4,4,0,0,1,0-8h20V112a4,4,0,0,1,8,0v20h20A4,4,0,0,1,252,136Zm-56.94,61.43a4,4,0,0,1-6.12,5.14C168,177.7,139.3,164,108,164s-60,13.7-80.94,38.57a4,4,0,1,1-6.12-5.14c16.71-19.9,38.13-33.13,61.89-38.59a64,64,0,1,1,50.34,0C156.93,164.3,178.35,177.53,195.06,197.43ZM108,156a56,56,0,1,0-56-56A56.06,56.06,0,0,0,108,156Z"}))]]);var oT1=Object.defineProperty,iT1=Object.defineProperties,cT1=Object.getOwnPropertyDescriptors,yq=Object.getOwnPropertySymbols,sT1=Object.prototype.hasOwnProperty,mT1=Object.prototype.propertyIsEnumerable,bq=(a,e,r)=>e in a?oT1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,uT1=(a,e)=>{for(var r in e||(e={}))sT1.call(e,r)&&bq(a,r,e[r]);if(yq)for(var r of yq(e))mT1.call(e,r)&&bq(a,r,e[r]);return a},dT1=(a,e)=>iT1(a,cT1(e));const v$=p.forwardRef((a,e)=>t.createElement(b,dT1(uT1({ref:e},a),{weights:lT1})));v$.displayName="UserPlus";const pT1=Object.freeze(Object.defineProperty({__proto__:null,UserPlus:v$},Symbol.toStringTag,{value:"Module"})),hT1=({onUpdateAccount:a,onSkip:e,userInfo:r={}})=>{const[n,l]=p.useState(r.firstName||""),[o,c]=p.useState(r.lastName||""),[m,u]=p.useState(!1),h=!r.firstName,g=!r.lastName,A=h||g,y=async()=>{u(!0);try{a({firstName:h?n:void 0,lastName:g?o:void 0})}catch(E){console.error("Error updating profile:",E),a({firstName:h?n:void 0,lastName:g?o:void 0})}finally{u(!1)}};return w.jsxs("div",{className:"flex flex-col justify-between h-full items-center -mt-8",children:[w.jsx("div",{className:"flex shrink"}),w.jsxs("div",{className:"flex flex-col justify-between items-center gap-y-8",children:[w.jsx(v$,{size:40,className:"text-action"}),w.jsxs("div",{className:"text-center",children:[w.jsx(Je,{as:"h1",className:"text-2xl font-semibold mb-2",children:"Thanks for signing up!"}),w.jsx(Je,{className:"text-fg-secondary dark:text-fg-secondary-dark",children:"Would you like to give us some more details?"})]}),A&&w.jsxs("div",{className:"w-full max-w-sm space-y-6",children:[h&&w.jsxs("div",{className:"space-y-1",children:[w.jsx("label",{className:"block text-sm font-medium text-fg-primary dark:text-fg-primary-dark",children:"First Name"}),w.jsx("input",{type:"text",value:n,onChange:E=>l(E.target.value),placeholder:"Enter your first name",className:"w-full px-0 py-2 text-base bg-transparent border-0 border-b-2 border-system-thin dark:border-system-regular-dark focus:border-action focus:outline-none transition-colors placeholder:text-fg-secondary dark:placeholder:text-fg-secondary-dark text-fg-primary dark:text-fg-primary-dark"})]}),g&&w.jsxs("div",{className:"space-y-1",children:[w.jsx("label",{className:"block text-sm font-medium text-fg-primary dark:text-fg-primary-dark",children:"Last Name"}),w.jsx("input",{type:"text",value:o,onChange:E=>c(E.target.value),placeholder:"Enter your last name",className:"w-full px-0 py-2 text-base bg-transparent border-0 border-b-2 border-system-thin dark:border-system-regular-dark focus:border-action focus:outline-none transition-colors placeholder:text-fg-secondary dark:placeholder:text-fg-secondary-dark text-fg-primary dark:text-fg-primary-dark"})]})]}),w.jsxs("div",{className:"flex flex-col gap-3 w-full max-w-xs",children:[A&&w.jsx(ze,{onClick:y,surface:"solid",className:"w-full",disabled:m,children:m?"Updating...":"Update Account"}),w.jsx(ze,{onClick:e,surface:"tinted",className:"w-full",disabled:m,children:A?"Skip for now":"Continue"})]})]}),w.jsx("div",{className:"flex shrink"})]})},fT1=({church:a,currentPageParams:e,url:r})=>{if(!Fl(r))return r;if(!a||!a.universalLinkHost)return"";let n=a==null?void 0:a.universalLinkHost;return n.startsWith("http")||(n=WN1(n)?`http://${n}`:`https://${n}`),Fl(e.contentId)?Fl(e.eventId)?Fl(e.feedId)?"":`${n}/app-link/f/${e.feedId.replace("Feed-","Feed:")}`:`${n}/app-link/e/${e.eventId.replace("Event-","Event:")}`:`${n}/app-link/content/${e.contentId.replace("Item-","Item:")}`},wu=({church:a,currentPageParams:e,hasComments:r=!1,hasLikes:n=!1,isOpen:l=!1,setIsOpen:o=gu,type:c=nt.Default,url:m="",preFilledIdentity:u="",tagIds:h,onTypeChange:g,message:A})=>{const[y,E]=p.useState(null),M=Yk1();let O=null;const S=fT1({church:a,currentPageParams:e,url:m});switch(c){case nt.Comment:O=w.jsx(VN1,{hasComments:r,url:S});break;case nt.Like:O=w.jsx(qN1,{hasLikes:n,url:S});break;case nt.OTP:O=w.jsx(GN1,{url:S,preFilledIdentity:u,setIsOpen:o,tagIds:h,onSuccess:async F=>{F?(E(F),g&&g(nt.SignupDetails)):g&&g(nt.Success)}});break;case nt.Question:O=w.jsx(_N1,{url:S});break;case nt.Success:O=w.jsx(nT1,{onClose:()=>o(!1),message:A});break;case nt.SignupDetails:O=w.jsx(hT1,{userInfo:y||void 0,onUpdateAccount:async({firstName:F,lastName:j})=>{try{M&&await M({firstName:F,lastName:j})}finally{g&&g(nt.Success)}},onSkip:()=>{g&&g(nt.Success)}});break;case nt.Vote:O=w.jsx(BN1,{url:S});break;case nt.Default:default:O=w.jsx(MN1,{church:a,url:S});break}return w.jsx(Jj1,{isOpen:l,setIsOpen:o,children:O})};/**
517
517
  * @remix-run/router v1.23.0
518
518
  *
519
519
  * Copyright (c) Remix Software Inc.
@@ -567,7 +567,7 @@ Valid keys: `+JSON.stringify(Object.keys(G),null," "));var A0=v0(X,Z0,S0,c0,z0+
567
567
  * LICENSE.md file in the root directory of this source tree.
568
568
  *
569
569
  * @license MIT
570
- */function yI1(a){let e=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return e.pathname==="/"?e.pathname="_root.data":e.pathname=`${e.pathname.replace(/\/$/,"")}.data`,e}function bI1(){let a=p.useContext(Su);return L$(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function HI1(){let a=p.useContext(b$);return L$(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}const Uq=p.createContext(void 0);Uq.displayName="Remix";function Bq(){let a=p.useContext(Uq);return L$(a,"You must render this element inside a <Remix> element"),a}function qq(a,e){let[r,n]=p.useState(!1),[l,o]=p.useState(!1),{onFocus:c,onBlur:m,onMouseEnter:u,onMouseLeave:h,onTouchStart:g}=e,A=p.useRef(null);p.useEffect(()=>{if(a==="render"&&o(!0),a==="viewport"){let M=S=>{S.forEach(F=>{o(F.isIntersecting)})},O=new IntersectionObserver(M,{threshold:.5});return A.current&&O.observe(A.current),()=>{O.disconnect()}}},[a]);let y=()=>{a==="intent"&&n(!0)},E=()=>{a==="intent"&&(n(!1),o(!1))};return p.useEffect(()=>{if(r){let M=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(M)}}},[r]),[l,A,{onFocus:Fu(c,y),onBlur:Fu(m,E),onMouseEnter:Fu(u,y),onMouseLeave:Fu(h,E),onTouchStart:Fu(g,y)}]}const F$=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function j$(a,e,r){return a==="render"&&!e&&!r?"true":void 0}let EI1=p.forwardRef(({to:a,prefetch:e="none",discover:r="render",...n},l)=>{let o=typeof a=="string"&&F$.test(a),c=E$(a),[m,u,h]=qq(e,n);return p.createElement(p.Fragment,null,p.createElement(Cq,Pl({},n,h,{ref:Yq(l,u),to:a,"data-discover":j$(r,o,n.reloadDocument)})),m&&!o?p.createElement(Gq,{page:c}):null)});EI1.displayName="NavLink";let Wq=p.forwardRef(({to:a,prefetch:e="none",discover:r="render",...n},l)=>{let o=typeof a=="string"&&F$.test(a),c=E$(a),[m,u,h]=qq(e,n);return p.createElement(p.Fragment,null,p.createElement(S$,Pl({},n,h,{ref:Yq(l,u),to:a,"data-discover":j$(r,o,n.reloadDocument)})),m&&!o?p.createElement(Gq,{page:c}):null)});Wq.displayName="Link";let MI1=p.forwardRef(({discover:a="render",...e},r)=>{let n=typeof e.action=="string"&&F$.test(e.action);return p.createElement(Nq,Pl({},e,{ref:r,"data-discover":j$(a,n,e.reloadDocument)}))});MI1.displayName="Form";function Fu(a,e){return r=>{a&&a(r),r.defaultPrevented||e(r)}}function Gq({page:a,...e}){let{router:r}=bI1(),n=p.useMemo(()=>vT1(r.routes,a,r.basename),[r.routes,a,r.basename]);return n?p.createElement(OI1,Pl({page:a,matches:n},e)):(console.warn(`Tried to prefetch ${a} but no routes matched.`),null)}function VI1(a){let{manifest:e,routeModules:r}=Bq(),[n,l]=p.useState([]);return p.useEffect(()=>{let o=!1;return fI1(a,e,r).then(c=>{o||l(c)}),()=>{o=!0}},[a,e,r]),n}function OI1({page:a,matches:e,...r}){let n=Pc(),{future:l,manifest:o,routeModules:c}=Bq(),{loaderData:m,matches:u}=HI1(),h=p.useMemo(()=>xq(a,e,u,o,n,l,"data"),[a,e,u,o,n,l]),g=p.useMemo(()=>{if(!l.v3_singleFetch)return vI1(a,h,o);if(a===n.pathname+n.search+n.hash)return[];let M=new Set,O=!1;if(e.forEach(F=>{var j;o.routes[F.route.id].hasLoader&&(!h.some(k=>k.route.id===F.route.id)&&F.route.id in m&&(j=c[F.route.id])!==null&&j!==void 0&&j.shouldRevalidate||o.routes[F.route.id].hasClientLoader?O=!0:M.add(F.route.id))}),M.size===0)return[];let S=yI1(a);return O&&M.size>0&&S.searchParams.set("_routes",e.filter(F=>M.has(F.route.id)).map(F=>F.route.id).join(",")),[S.pathname+S.search]},[l.v3_singleFetch,m,n,o,h,e,a,c]),A=p.useMemo(()=>xq(a,e,u,o,n,l,"assets"),[a,e,u,o,n,l]),y=p.useMemo(()=>gI1(A,o),[A,o]),E=VI1(A);return p.createElement(p.Fragment,null,g.map(M=>p.createElement("link",Pl({key:M,rel:"prefetch",as:"fetch",href:M},r))),y.map(M=>p.createElement("link",Pl({key:M,rel:"modulepreload",href:M},r))),E.map(({key:M,link:O})=>p.createElement("link",Pl({key:M},O))))}function Yq(...a){return e=>{a.forEach(r=>{typeof r=="function"?r(e):r!=null&&(r.current=e)})}}const $I1=({feature:a,currentChurch:e,userProfile:r})=>{var j,k;const n=qk1(),[l,o]=p.useState(!1),[c,m]=p.useState(""),[u,h]=p.useState(!1),[g,A]=p.useState(""),[y,E]=p.useState(!1),[M,O]=p.useState(ht.OTP),S=cB(),F=Dq();try{if(!a)return console.error("ConnectButtonFeature: No feature data provided"),w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsx("div",{className:"text-red-500",children:"Error: No feature data"})});const N=a.title||"Register",C=a.confirmationMessage||"",I=Array.isArray(a.tags)?a.tags.filter(K=>K!=null):[];if(!N&&!C)return console.warn("ConnectButtonFeature: Missing required fields",a),w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsx("div",{className:"text-gray-500",children:"Connect Button (Configuration needed)"})});const z=()=>{F({_action:"connectButton"},{method:"POST"}),o(!0),!Fl(r==null?void 0:r.id)&&!Fl(I)&&(n==null||n({personId:r.id,tagIds:I}))},q=async()=>{if(!c.trim()){A("Please enter a valid email or phone number");return}h(!0),A("");try{const Y=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(c)?"email":"phone";if(S){const o0=await S({identity:c,type:Y});o0.success?(A(""),E(!0)):A(o0.message||"Failed to send OTP")}else console.log("Sending OTP to:",c),await new Promise(o0=>setTimeout(o0,1e3)),A(""),E(!0)}catch{A("Failed to send code. Please try again.")}finally{h(!1)}};return l?w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsxs("div",{className:"max-w-md mx-auto",children:[w.jsxs("div",{className:"flex items-center",children:[w.jsx("input",{type:"text",placeholder:"Enter email or phone number",value:c,onChange:K=>m(K.target.value),className:"flex-1 rounded-l-lg rounded-r-none border border-system-thin border-r-0 px-4 py-[calc(theme(spacing[2.5])-1px)] text-base text-fg-primary placeholder:text-fg-secondary dark:placeholder:text-fg-secondary-dark dark:text-fg-primary-dark bg-transparent dark:bg-white/5 focus:outline-none focus:border-system-thick dark:focus:border-system-thin-dark dark:border-system-regular-dark"}),w.jsx(ze,{onClick:q,surface:"solid",className:"rounded-r-lg rounded-l-none border-l-0",disabled:u,children:u?"...":"Send"})]}),g&&w.jsx("div",{className:"mt-2",children:w.jsx(Je,{className:"text-red-500 text-sm",children:g})})]})}),w.jsx(wu,{type:M,currentPageParams:{},isOpen:y,setIsOpen:E,church:e,preFilledIdentity:c,tagIds:((k=a.tags)==null?void 0:k.filter(K=>K!==null))||[],onTypeChange:O,message:C})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsx("div",{className:"max-w-md mx-auto",children:w.jsx(ze,{surface:"solid",className:"w-full",onClick:z,children:N})})}),w.jsx(wu,{type:M,currentPageParams:{},isOpen:y,setIsOpen:E,church:e,preFilledIdentity:c,tagIds:((j=a.tags)==null?void 0:j.filter(K=>K!==null))||[],onTypeChange:O,message:C})]})}catch(N){return console.error("Error rendering ConnectButtonFeature:",N),w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsx("div",{className:"text-red-500",children:"Error rendering Connect Button"})})}};h2(`
570
+ */function yI1(a){let e=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return e.pathname==="/"?e.pathname="_root.data":e.pathname=`${e.pathname.replace(/\/$/,"")}.data`,e}function bI1(){let a=p.useContext(Su);return L$(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function HI1(){let a=p.useContext(b$);return L$(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}const Uq=p.createContext(void 0);Uq.displayName="Remix";function Bq(){let a=p.useContext(Uq);return L$(a,"You must render this element inside a <Remix> element"),a}function qq(a,e){let[r,n]=p.useState(!1),[l,o]=p.useState(!1),{onFocus:c,onBlur:m,onMouseEnter:u,onMouseLeave:h,onTouchStart:g}=e,A=p.useRef(null);p.useEffect(()=>{if(a==="render"&&o(!0),a==="viewport"){let M=S=>{S.forEach(F=>{o(F.isIntersecting)})},O=new IntersectionObserver(M,{threshold:.5});return A.current&&O.observe(A.current),()=>{O.disconnect()}}},[a]);let y=()=>{a==="intent"&&n(!0)},E=()=>{a==="intent"&&(n(!1),o(!1))};return p.useEffect(()=>{if(r){let M=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(M)}}},[r]),[l,A,{onFocus:Fu(c,y),onBlur:Fu(m,E),onMouseEnter:Fu(u,y),onMouseLeave:Fu(h,E),onTouchStart:Fu(g,y)}]}const F$=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function j$(a,e,r){return a==="render"&&!e&&!r?"true":void 0}let EI1=p.forwardRef(({to:a,prefetch:e="none",discover:r="render",...n},l)=>{let o=typeof a=="string"&&F$.test(a),c=E$(a),[m,u,h]=qq(e,n);return p.createElement(p.Fragment,null,p.createElement(Cq,Pl({},n,h,{ref:Yq(l,u),to:a,"data-discover":j$(r,o,n.reloadDocument)})),m&&!o?p.createElement(Gq,{page:c}):null)});EI1.displayName="NavLink";let Wq=p.forwardRef(({to:a,prefetch:e="none",discover:r="render",...n},l)=>{let o=typeof a=="string"&&F$.test(a),c=E$(a),[m,u,h]=qq(e,n);return p.createElement(p.Fragment,null,p.createElement(S$,Pl({},n,h,{ref:Yq(l,u),to:a,"data-discover":j$(r,o,n.reloadDocument)})),m&&!o?p.createElement(Gq,{page:c}):null)});Wq.displayName="Link";let MI1=p.forwardRef(({discover:a="render",...e},r)=>{let n=typeof e.action=="string"&&F$.test(e.action);return p.createElement(Nq,Pl({},e,{ref:r,"data-discover":j$(a,n,e.reloadDocument)}))});MI1.displayName="Form";function Fu(a,e){return r=>{a&&a(r),r.defaultPrevented||e(r)}}function Gq({page:a,...e}){let{router:r}=bI1(),n=p.useMemo(()=>vT1(r.routes,a,r.basename),[r.routes,a,r.basename]);return n?p.createElement(OI1,Pl({page:a,matches:n},e)):(console.warn(`Tried to prefetch ${a} but no routes matched.`),null)}function VI1(a){let{manifest:e,routeModules:r}=Bq(),[n,l]=p.useState([]);return p.useEffect(()=>{let o=!1;return fI1(a,e,r).then(c=>{o||l(c)}),()=>{o=!0}},[a,e,r]),n}function OI1({page:a,matches:e,...r}){let n=Pc(),{future:l,manifest:o,routeModules:c}=Bq(),{loaderData:m,matches:u}=HI1(),h=p.useMemo(()=>xq(a,e,u,o,n,l,"data"),[a,e,u,o,n,l]),g=p.useMemo(()=>{if(!l.v3_singleFetch)return vI1(a,h,o);if(a===n.pathname+n.search+n.hash)return[];let M=new Set,O=!1;if(e.forEach(F=>{var j;o.routes[F.route.id].hasLoader&&(!h.some(k=>k.route.id===F.route.id)&&F.route.id in m&&(j=c[F.route.id])!==null&&j!==void 0&&j.shouldRevalidate||o.routes[F.route.id].hasClientLoader?O=!0:M.add(F.route.id))}),M.size===0)return[];let S=yI1(a);return O&&M.size>0&&S.searchParams.set("_routes",e.filter(F=>M.has(F.route.id)).map(F=>F.route.id).join(",")),[S.pathname+S.search]},[l.v3_singleFetch,m,n,o,h,e,a,c]),A=p.useMemo(()=>xq(a,e,u,o,n,l,"assets"),[a,e,u,o,n,l]),y=p.useMemo(()=>gI1(A,o),[A,o]),E=VI1(A);return p.createElement(p.Fragment,null,g.map(M=>p.createElement("link",Pl({key:M,rel:"prefetch",as:"fetch",href:M},r))),y.map(M=>p.createElement("link",Pl({key:M,rel:"modulepreload",href:M},r))),E.map(({key:M,link:O})=>p.createElement("link",Pl({key:M},O))))}function Yq(...a){return e=>{a.forEach(r=>{typeof r=="function"?r(e):r!=null&&(r.current=e)})}}const $I1=({feature:a,currentChurch:e,userProfile:r})=>{var j,k;const n=qk1(),[l,o]=p.useState(!1),[c,m]=p.useState(""),[u,h]=p.useState(!1),[g,A]=p.useState(""),[y,E]=p.useState(!1),[M,O]=p.useState(nt.OTP),S=cB(),F=Dq();try{if(!a)return console.error("ConnectButtonFeature: No feature data provided"),w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsx("div",{className:"text-red-500",children:"Error: No feature data"})});const N=a.title||"Register",C=a.confirmationMessage||"",I=Array.isArray(a.tags)?a.tags.filter(K=>K!=null):[];if(!N&&!C)return console.warn("ConnectButtonFeature: Missing required fields",a),w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsx("div",{className:"text-gray-500",children:"Connect Button (Configuration needed)"})});const z=()=>{F({_action:"connectButton"},{method:"POST"}),Fl(r==null?void 0:r.id)?o(!0):(O(nt.Success),E(!0),Fl(I)||n==null||n({personId:r.id,tagIds:I}))},q=async()=>{if(!c.trim()){A("Please enter a valid email or phone number");return}h(!0),A("");try{const Y=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(c)?"email":"phone";if(S){const o0=await S({identity:c,type:Y});o0.success?(A(""),E(!0)):A(o0.message||"Failed to send OTP")}else console.log("Sending OTP to:",c),await new Promise(o0=>setTimeout(o0,1e3)),A(""),E(!0)}catch{A("Failed to send code. Please try again.")}finally{h(!1)}};return l?w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsxs("div",{className:"max-w-md mx-auto",children:[w.jsxs("div",{className:"flex items-center",children:[w.jsx("input",{type:"text",placeholder:"Enter email or phone number",value:c,onChange:K=>m(K.target.value),className:"flex-1 rounded-l-lg rounded-r-none border border-system-thin border-r-0 px-4 py-[calc(theme(spacing[2.5])-1px)] text-base text-fg-primary placeholder:text-fg-secondary dark:placeholder:text-fg-secondary-dark dark:text-fg-primary-dark bg-transparent dark:bg-white/5 focus:outline-none focus:border-system-thick dark:focus:border-system-thin-dark dark:border-system-regular-dark"}),w.jsx(ze,{onClick:q,surface:"solid",className:"rounded-r-lg rounded-l-none border-l-0",disabled:u,children:u?"...":"Send"})]}),g&&w.jsx("div",{className:"mt-2",children:w.jsx(Je,{className:"text-red-500 text-sm",children:g})})]})}),w.jsx(wu,{type:M,currentPageParams:{},isOpen:y,setIsOpen:E,church:e,preFilledIdentity:c,tagIds:((k=a.tags)==null?void 0:k.filter(K=>K!==null))||[],onTypeChange:O,message:C})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsx("div",{className:"max-w-md mx-auto",children:w.jsx(ze,{surface:"solid",className:"w-full",onClick:z,children:N})})}),w.jsx(wu,{type:M,currentPageParams:{},isOpen:y,setIsOpen:E,church:e,preFilledIdentity:c,tagIds:((j=a.tags)==null?void 0:j.filter(K=>K!==null))||[],onTypeChange:O,message:C})]})}catch(N){return console.error("Error rendering ConnectButtonFeature:",N),w.jsx("div",{className:"connect-button-container text-center mt-8 mb-10",children:w.jsx("div",{className:"text-red-500",children:"Error rendering Connect Button"})})}};h2(`
571
571
  fragment ConnectButtonFeatureFragment on ConnectButtonFeature {
572
572
  id
573
573
  title
@@ -660,7 +660,7 @@ Valid keys: `+JSON.stringify(Object.keys(G),null," "));var A0=v0(X,Z0,S0,c0,z0+
660
660
  ...FeatureActionButtonFragment
661
661
  }
662
662
  }
663
- `);const UI1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M144,128a16,16,0,1,1-16-16A16,16,0,0,1,144,128ZM60,112a16,16,0,1,0,16,16A16,16,0,0,0,60,112Zm136,0a16,16,0,1,0,16,16A16,16,0,0,0,196,112Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M240,96v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V96A16,16,0,0,1,32,80H224A16,16,0,0,1,240,96Z",opacity:"0.2"}),t.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V96A16,16,0,0,0,224,80ZM60,140a12,12,0,1,1,12-12A12,12,0,0,1,60,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,196,140Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM60,118a10,10,0,1,0,10,10A10,10,0,0,0,60,118Zm136,0a10,10,0,1,0,10,10A10,10,0,0,0,196,118Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-76-8a8,8,0,1,0,8,8A8,8,0,0,0,60,120Zm136,0a8,8,0,1,0,8,8A8,8,0,0,0,196,120Z"}))]]);var BI1=Object.defineProperty,qI1=Object.defineProperties,WI1=Object.getOwnPropertyDescriptors,Xq=Object.getOwnPropertySymbols,GI1=Object.prototype.hasOwnProperty,YI1=Object.prototype.propertyIsEnumerable,Jq=(a,e,r)=>e in a?BI1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,QI1=(a,e)=>{for(var r in e||(e={}))GI1.call(e,r)&&Jq(a,r,e[r]);if(Xq)for(var r of Xq(e))YI1.call(e,r)&&Jq(a,r,e[r]);return a},KI1=(a,e)=>qI1(a,WI1(e));const _$=p.forwardRef((a,e)=>t.createElement(b,KI1(QI1({ref:e},a),{weights:UI1})));_$.displayName="DotsThree";const XI1=Object.freeze(Object.defineProperty({__proto__:null,DotsThree:_$},Symbol.toStringTag,{value:"Module"})),JI1=30,eD1=1,tD1=({items:a=[],size:e=JI1,ellipses:r=!0,maxDisplay:n=eD1})=>{const l=a.length&&a.length<n?a.length:n,o=a.length?a.slice(0,l):[];return o!=null&&o.length?w.jsxs("div",{className:"flex items-center","data-testid":"avatar-list",children:[o.map((c,m)=>{var u,h,g;return c!=null&&c.id?w.jsx("div",{className:"relative",style:{width:e,height:e,marginLeft:m>0?e*-.3:0,zIndex:m+1},children:w.jsx(ou,{src:(u=c.photo)==null?void 0:u.uri,initials:`${((h=c.firstName)==null?void 0:h.charAt(0))||""}${((g=c.lastName)==null?void 0:g.charAt(0))||""}`,className:"w-full h-full relative",style:{fontSize:e*.25}})},`${c.id}-${m}`):null}),r&&a.length>n&&w.jsx("div",{className:"flex items-center justify-center rounded-full border-2 bg-gray-300 dark:bg-gray-600 backdrop-blur-md border-system-chrome dark:border-material-opaque",style:{width:e,height:e,marginLeft:e*-.3,zIndex:o.length+1},"data-testid":"avatar-list-ellipsis",children:w.jsx(_$,{className:"text-fg-secondary dark:text-fg-secondary-dark",size:24,weight:"bold"})})]}):null},aD1=({children:a,church:e,enableCTA:r,engagementData:n})=>{var u,h;const l=V$(),[o,c]=p.useState(!1),m=((h=(u=n==null?void 0:n.comments)==null?void 0:u.filter((g,A,y)=>y.findIndex(E=>{var M,O,S,F;return((M=E==null?void 0:E.person)==null?void 0:M.firstName)===((O=g==null?void 0:g.person)==null?void 0:O.firstName)&&((S=E==null?void 0:E.person)==null?void 0:S.lastName)===((F=g==null?void 0:g.person)==null?void 0:F.lastName)})===A))==null?void 0:h.map(g=>{var A,y,E;return{id:g.id,firstName:(A=g==null?void 0:g.person)==null?void 0:A.firstName,lastName:(y=g==null?void 0:g.person)==null?void 0:y.lastName,photo:(E=g==null?void 0:g.person)==null?void 0:E.photo}}))||[];return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:`bg-system-chrome shadow-lg dark:bg-material-regular-dark rounded-xl backdrop-blur-md p-4 mb-4 ${r?"hover:cursor-pointer":""} flex flex-col gap-y-6`,onClick:()=>r?c(!0):gu,children:[w.jsx(Tg,{weight:"fill",size:32,className:"text-fg-tertiary dark:text-fg-tertiary-dark"}),w.jsx("div",{children:a}),((n==null?void 0:n.commentCount)||m.length>0)&&w.jsx("div",{className:"flex items-center justify-between mt-2",children:w.jsxs("div",{className:"flex items-center gap-4",children:[m.length>0&&w.jsx(tD1,{items:m,maxDisplay:3}),(n==null?void 0:n.commentCount)&&w.jsxs(Je,{as:"small",fg:"secondary",children:[n.commentCount," response",n.commentCount!==1?"s":""]})]})})]}),w.jsx(wu,{type:ht.Question,currentPageParams:l,isOpen:o,setIsOpen:c,church:e})]})},rD1=({church:a,feature:e,enableCTA:r=!1})=>{var l;const n={commentCount:e.commentCount,comments:((l=e.comments)==null?void 0:l.map(o=>({id:o.id,person:o==null?void 0:o.person})))||[]};return w.jsx(aD1,{church:a,engagementData:n,enableCTA:r,children:w.jsx(c$,{html:(e==null?void 0:e.content)??void 0})})};h2(`
663
+ `);const UI1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M144,128a16,16,0,1,1-16-16A16,16,0,0,1,144,128ZM60,112a16,16,0,1,0,16,16A16,16,0,0,0,60,112Zm136,0a16,16,0,1,0,16,16A16,16,0,0,0,196,112Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M240,96v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V96A16,16,0,0,1,32,80H224A16,16,0,0,1,240,96Z",opacity:"0.2"}),t.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V96A16,16,0,0,0,224,80ZM60,140a12,12,0,1,1,12-12A12,12,0,0,1,60,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,196,140Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM60,118a10,10,0,1,0,10,10A10,10,0,0,0,60,118Zm136,0a10,10,0,1,0,10,10A10,10,0,0,0,196,118Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-76-8a8,8,0,1,0,8,8A8,8,0,0,0,60,120Zm136,0a8,8,0,1,0,8,8A8,8,0,0,0,196,120Z"}))]]);var BI1=Object.defineProperty,qI1=Object.defineProperties,WI1=Object.getOwnPropertyDescriptors,Xq=Object.getOwnPropertySymbols,GI1=Object.prototype.hasOwnProperty,YI1=Object.prototype.propertyIsEnumerable,Jq=(a,e,r)=>e in a?BI1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,QI1=(a,e)=>{for(var r in e||(e={}))GI1.call(e,r)&&Jq(a,r,e[r]);if(Xq)for(var r of Xq(e))YI1.call(e,r)&&Jq(a,r,e[r]);return a},KI1=(a,e)=>qI1(a,WI1(e));const _$=p.forwardRef((a,e)=>t.createElement(b,KI1(QI1({ref:e},a),{weights:UI1})));_$.displayName="DotsThree";const XI1=Object.freeze(Object.defineProperty({__proto__:null,DotsThree:_$},Symbol.toStringTag,{value:"Module"})),JI1=30,eD1=1,tD1=({items:a=[],size:e=JI1,ellipses:r=!0,maxDisplay:n=eD1})=>{const l=a.length&&a.length<n?a.length:n,o=a.length?a.slice(0,l):[];return o!=null&&o.length?w.jsxs("div",{className:"flex items-center","data-testid":"avatar-list",children:[o.map((c,m)=>{var u,h,g;return c!=null&&c.id?w.jsx("div",{className:"relative",style:{width:e,height:e,marginLeft:m>0?e*-.3:0,zIndex:m+1},children:w.jsx(ou,{src:(u=c.photo)==null?void 0:u.uri,initials:`${((h=c.firstName)==null?void 0:h.charAt(0))||""}${((g=c.lastName)==null?void 0:g.charAt(0))||""}`,className:"w-full h-full relative",style:{fontSize:e*.25}})},`${c.id}-${m}`):null}),r&&a.length>n&&w.jsx("div",{className:"flex items-center justify-center rounded-full border-2 bg-gray-300 dark:bg-gray-600 backdrop-blur-md border-system-chrome dark:border-material-opaque",style:{width:e,height:e,marginLeft:e*-.3,zIndex:o.length+1},"data-testid":"avatar-list-ellipsis",children:w.jsx(_$,{className:"text-fg-secondary dark:text-fg-secondary-dark",size:24,weight:"bold"})})]}):null},aD1=({children:a,church:e,enableCTA:r,engagementData:n})=>{var u,h;const l=V$(),[o,c]=p.useState(!1),m=((h=(u=n==null?void 0:n.comments)==null?void 0:u.filter((g,A,y)=>y.findIndex(E=>{var M,O,S,F;return((M=E==null?void 0:E.person)==null?void 0:M.firstName)===((O=g==null?void 0:g.person)==null?void 0:O.firstName)&&((S=E==null?void 0:E.person)==null?void 0:S.lastName)===((F=g==null?void 0:g.person)==null?void 0:F.lastName)})===A))==null?void 0:h.map(g=>{var A,y,E;return{id:g.id,firstName:(A=g==null?void 0:g.person)==null?void 0:A.firstName,lastName:(y=g==null?void 0:g.person)==null?void 0:y.lastName,photo:(E=g==null?void 0:g.person)==null?void 0:E.photo}}))||[];return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:`bg-system-chrome shadow-lg dark:bg-material-regular-dark rounded-xl backdrop-blur-md p-4 mb-4 ${r?"hover:cursor-pointer":""} flex flex-col gap-y-6`,onClick:()=>r?c(!0):gu,children:[w.jsx(Tg,{weight:"fill",size:32,className:"text-fg-tertiary dark:text-fg-tertiary-dark"}),w.jsx("div",{children:a}),((n==null?void 0:n.commentCount)||m.length>0)&&w.jsx("div",{className:"flex items-center justify-between mt-2",children:w.jsxs("div",{className:"flex items-center gap-4",children:[m.length>0&&w.jsx(tD1,{items:m,maxDisplay:3}),(n==null?void 0:n.commentCount)&&w.jsxs(Je,{as:"small",fg:"secondary",children:[n.commentCount," response",n.commentCount!==1?"s":""]})]})})]}),w.jsx(wu,{type:nt.Question,currentPageParams:l,isOpen:o,setIsOpen:c,church:e})]})},rD1=({church:a,feature:e,enableCTA:r=!1})=>{var l;const n={commentCount:e.commentCount,comments:((l=e.comments)==null?void 0:l.map(o=>({id:o.id,person:o==null?void 0:o.person})))||[]};return w.jsx(aD1,{church:a,engagementData:n,enableCTA:r,children:w.jsx(c$,{html:(e==null?void 0:e.content)??void 0})})};h2(`
664
664
  fragment QuestionBlockFeatureFragment on QuestionBlockFeature {
665
665
  content
666
666
  # Engagement fields for non-authenticated access
@@ -692,7 +692,7 @@ Valid keys: `+JSON.stringify(Object.keys(G),null," "));var A0=v0(X,Z0,S0,c0,z0+
692
692
  }
693
693
  }
694
694
  }
695
- `);const nD1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M232,128A104,104,0,1,1,128,24,104.13,104.13,0,0,1,232,128Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Z"}))]]);var lD1=Object.defineProperty,oD1=Object.defineProperties,iD1=Object.getOwnPropertyDescriptors,eW=Object.getOwnPropertySymbols,cD1=Object.prototype.hasOwnProperty,sD1=Object.prototype.propertyIsEnumerable,tW=(a,e,r)=>e in a?lD1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,mD1=(a,e)=>{for(var r in e||(e={}))cD1.call(e,r)&&tW(a,r,e[r]);if(eW)for(var r of eW(e))sD1.call(e,r)&&tW(a,r,e[r]);return a},uD1=(a,e)=>oD1(a,iD1(e));const C$=p.forwardRef((a,e)=>t.createElement(b,uD1(mD1({ref:e},a),{weights:nD1})));C$.displayName="Circle";const dD1=Object.freeze(Object.defineProperty({__proto__:null,Circle:C$},Symbol.toStringTag,{value:"Module"})),pD1=({poll:a,church:e})=>{var m;const r=V$(),[n,l]=p.useState(!1),o=()=>{l(!0)},c=(a==null?void 0:a.totalOptionVotes)||0;return a?w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"bg-system-chrome shadow-sm dark:bg-material-regular-dark rounded-xl backdrop-blur-md p-4 my-4 dark:border-white/5 dark:border",children:[w.jsx("div",{className:"mt-0 flex flex-row gap-4 items-center justify-between",children:w.jsx("div",{className:"font-semibold text-2xl flex-1",children:a==null?void 0:a.title})}),w.jsx("div",{className:"mt-5 flex flex-col gap-3",children:(m=a==null?void 0:a.options)==null?void 0:m.map((u,h)=>w.jsxs("div",{className:"flex flex-row gap-2 items-center text-fg-secondary dark:text-fg-primary-dark cursor-pointer border rounded-3xl p-2",onClick:o,children:[w.jsx(C$,{weight:"thin",size:24}),w.jsx("span",{className:"flex-1",children:u==null?void 0:u.value})]},`option-${(u==null?void 0:u.id)||h}`))}),w.jsx("div",{className:"mt-3 flex flex-row gap-4 items-center justify-between px-1",children:w.jsxs("div",{className:"text-fg-secondary dark:text-fg-secondary-dark text-sm text-action",children:[c," ",c===1?"response":"responses"]})})]}),w.jsx(wu,{type:ht.Vote,currentPageParams:r,isOpen:n,setIsOpen:l,church:e})]}):void 0},hD1=({feature:a,church:e})=>{var r;return(r=a.poll)!=null&&r.status&&a.poll.status!=="Inactive"?w.jsx(pD1,{poll:a.poll,church:e}):null};h2(`
695
+ `);const nD1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M232,128A104,104,0,1,1,128,24,104.13,104.13,0,0,1,232,128Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Z"}))]]);var lD1=Object.defineProperty,oD1=Object.defineProperties,iD1=Object.getOwnPropertyDescriptors,eW=Object.getOwnPropertySymbols,cD1=Object.prototype.hasOwnProperty,sD1=Object.prototype.propertyIsEnumerable,tW=(a,e,r)=>e in a?lD1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,mD1=(a,e)=>{for(var r in e||(e={}))cD1.call(e,r)&&tW(a,r,e[r]);if(eW)for(var r of eW(e))sD1.call(e,r)&&tW(a,r,e[r]);return a},uD1=(a,e)=>oD1(a,iD1(e));const C$=p.forwardRef((a,e)=>t.createElement(b,uD1(mD1({ref:e},a),{weights:nD1})));C$.displayName="Circle";const dD1=Object.freeze(Object.defineProperty({__proto__:null,Circle:C$},Symbol.toStringTag,{value:"Module"})),pD1=({poll:a,church:e})=>{var m;const r=V$(),[n,l]=p.useState(!1),o=()=>{l(!0)},c=(a==null?void 0:a.totalOptionVotes)||0;return a?w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"bg-system-chrome shadow-sm dark:bg-material-regular-dark rounded-xl backdrop-blur-md p-4 my-4 dark:border-white/5 dark:border",children:[w.jsx("div",{className:"mt-0 flex flex-row gap-4 items-center justify-between",children:w.jsx("div",{className:"font-semibold text-2xl flex-1",children:a==null?void 0:a.title})}),w.jsx("div",{className:"mt-5 flex flex-col gap-3",children:(m=a==null?void 0:a.options)==null?void 0:m.map((u,h)=>w.jsxs("div",{className:"flex flex-row gap-2 items-center text-fg-secondary dark:text-fg-primary-dark cursor-pointer border rounded-3xl p-2",onClick:o,children:[w.jsx(C$,{weight:"thin",size:24}),w.jsx("span",{className:"flex-1",children:u==null?void 0:u.value})]},`option-${(u==null?void 0:u.id)||h}`))}),w.jsx("div",{className:"mt-3 flex flex-row gap-4 items-center justify-between px-1",children:w.jsxs("div",{className:"text-fg-secondary dark:text-fg-secondary-dark text-sm text-action",children:[c," ",c===1?"response":"responses"]})})]}),w.jsx(wu,{type:nt.Vote,currentPageParams:r,isOpen:n,setIsOpen:l,church:e})]}):void 0},hD1=({feature:a,church:e})=>{var r;return(r=a.poll)!=null&&r.status&&a.poll.status!=="Inactive"?w.jsx(pD1,{poll:a.poll,church:e}):null};h2(`
696
696
  fragment PollFeatureFragment on PollFeature {
697
697
  poll {
698
698
  id
@@ -787,7 +787,7 @@ Valid keys: `+JSON.stringify(Object.keys(G),null," "));var A0=v0(X,Z0,S0,c0,z0+
787
787
  title
788
788
  url
789
789
  }
790
- `);var Hx1=function(e,r,n){var l=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");typeof r=="function"&&(n=r,r={}),r=r||{},n=n||function(){},o.type=r.type||"text/javascript",o.charset=r.charset||"utf8",o.async="async"in r?!!r.async:!0,o.src=e,r.attrs&&Ex1(o,r.attrs),r.text&&(o.text=""+r.text);var c="onload"in o?mW:Mx1;c(o,n),o.onload||mW(o,n),l.appendChild(o)};function Ex1(a,e){for(var r in e)a.setAttribute(r,e[r])}function mW(a,e){a.onload=function(){this.onerror=this.onload=null,e(null,a)},a.onerror=function(){this.onerror=this.onload=null,e(new Error("Failed to load "+this.src),a)}}function Mx1(a,e){a.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,e(null,a))}}var Vx1=function(e){return Ox1(e)&&!$x1(e)};function Ox1(a){return!!a&&typeof a=="object"}function $x1(a){var e=Object.prototype.toString.call(a);return e==="[object RegExp]"||e==="[object Date]"||Lx1(a)}var wx1=typeof Symbol=="function"&&Symbol.for,Sx1=wx1?Symbol.for("react.element"):60103;function Lx1(a){return a.$$typeof===Sx1}function Fx1(a){return Array.isArray(a)?[]:{}}function ju(a,e){return e.clone!==!1&&e.isMergeableObject(a)?_c(Fx1(a),a,e):a}function jx1(a,e,r){return a.concat(e).map(function(n){return ju(n,r)})}function Px1(a,e){if(!e.customMerge)return _c;var r=e.customMerge(a);return typeof r=="function"?r:_c}function kx1(a){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(a).filter(function(e){return Object.propertyIsEnumerable.call(a,e)}):[]}function uW(a){return Object.keys(a).concat(kx1(a))}function dW(a,e){try{return e in a}catch{return!1}}function _x1(a,e){return dW(a,e)&&!(Object.hasOwnProperty.call(a,e)&&Object.propertyIsEnumerable.call(a,e))}function Cx1(a,e,r){var n={};return r.isMergeableObject(a)&&uW(a).forEach(function(l){n[l]=ju(a[l],r)}),uW(e).forEach(function(l){_x1(a,l)||(dW(a,l)&&r.isMergeableObject(e[l])?n[l]=Px1(l,r)(a[l],e[l],r):n[l]=ju(e[l],r))}),n}function _c(a,e,r){r=r||{},r.arrayMerge=r.arrayMerge||jx1,r.isMergeableObject=r.isMergeableObject||Vx1,r.cloneUnlessOtherwiseSpecified=ju;var n=Array.isArray(e),l=Array.isArray(a),o=n===l;return o?n?r.arrayMerge(a,e,r):Cx1(a,e,r):ju(e,r)}_c.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,l){return _c(n,l,r)},{})};var Nx1=_c,pW=Nx1,Tx1=Object.create,Wg=Object.defineProperty,Ix1=Object.getOwnPropertyDescriptor,Dx1=Object.getOwnPropertyNames,xx1=Object.getPrototypeOf,Rx1=Object.prototype.hasOwnProperty,zx1=(a,e)=>{for(var r in e)Wg(a,r,{get:e[r],enumerable:!0})},hW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of Dx1(e))!Rx1.call(a,l)&&l!==r&&Wg(a,l,{get:()=>e[l],enumerable:!(n=Ix1(e,l))||n.enumerable});return a},x$=(a,e,r)=>(r=a!=null?Tx1(xx1(a)):{},hW(!a||!a.__esModule?Wg(r,"default",{value:a,enumerable:!0}):r,a)),Ux1=a=>hW(Wg({},"__esModule",{value:!0}),a),fW={};zx1(fW,{callPlayer:()=>oR1,getConfig:()=>nR1,getSDK:()=>rR1,isBlobUrl:()=>cR1,isMediaStream:()=>iR1,lazy:()=>Gx1,omit:()=>lR1,parseEndTime:()=>eR1,parseStartTime:()=>Jx1,queryString:()=>aR1,randomString:()=>tR1,supportsWebKitPresentationMode:()=>sR1});var Na=Ux1(fW),Bx1=x$(p),qx1=x$(Hx1),Wx1=x$(pW);const Gx1=a=>Bx1.default.lazy(async()=>{const e=await a();return typeof e.default=="function"?e:e.default}),Yx1=/[?&#](?:start|t)=([0-9hms]+)/,Qx1=/[?&#]end=([0-9hms]+)/,R$=/(\d+)(h|m|s)/g,Kx1=/^\d+$/;function vW(a,e){if(a instanceof Array)return;const r=a.match(e);if(r){const n=r[1];if(n.match(R$))return Xx1(n);if(Kx1.test(n))return parseInt(n)}}function Xx1(a){let e=0,r=R$.exec(a);for(;r!==null;){const[,n,l]=r;l==="h"&&(e+=parseInt(n,10)*60*60),l==="m"&&(e+=parseInt(n,10)*60),l==="s"&&(e+=parseInt(n,10)),r=R$.exec(a)}return e}function Jx1(a){return vW(a,Yx1)}function eR1(a){return vW(a,Qx1)}function tR1(){return Math.random().toString(36).substr(2,5)}function aR1(a){return Object.keys(a).map(e=>`${e}=${a[e]}`).join("&")}function z$(a){return window[a]?window[a]:window.exports&&window.exports[a]?window.exports[a]:window.module&&window.module.exports&&window.module.exports[a]?window.module.exports[a]:null}const Cc={},rR1=function(e,r,n=null,l=()=>!0,o=qx1.default){const c=z$(r);return c&&l(c)?Promise.resolve(c):new Promise((m,u)=>{if(Cc[e]){Cc[e].push({resolve:m,reject:u});return}Cc[e]=[{resolve:m,reject:u}];const h=g=>{Cc[e].forEach(A=>A.resolve(g))};if(n){const g=window[n];window[n]=function(){g&&g(),h(z$(r))}}o(e,g=>{g?(Cc[e].forEach(A=>A.reject(g)),Cc[e]=null):n||h(z$(r))})})};function nR1(a,e){return(0,Wx1.default)(e.config,a.config)}function lR1(a,...e){const r=[].concat(...e),n={},l=Object.keys(a);for(const o of l)r.indexOf(o)===-1&&(n[o]=a[o]);return n}function oR1(a,...e){if(!this.player||!this.player[a]){let r=`ReactPlayer: ${this.constructor.displayName} player could not call %c${a}%c – `;return this.player?this.player[a]||(r+="The method was not available"):r+="The player was not available",console.warn(r,"font-weight: bold",""),null}return this.player[a](...e)}function iR1(a){return typeof window<"u"&&typeof window.MediaStream<"u"&&a instanceof window.MediaStream}function cR1(a){return/^blob:/.test(a)}function sR1(a=document.createElement("video")){const e=/iPhone|iPod/.test(navigator.userAgent)===!1;return a.webkitSupportsPresentationMode&&typeof a.webkitSetPresentationMode=="function"&&e}function Ola(a){return a}var U$=Object.defineProperty,mR1=Object.getOwnPropertyDescriptor,uR1=Object.getOwnPropertyNames,dR1=Object.prototype.hasOwnProperty,pR1=(a,e)=>{for(var r in e)U$(a,r,{get:e[r],enumerable:!0})},hR1=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of uR1(e))!dR1.call(a,l)&&l!==r&&U$(a,l,{get:()=>e[l],enumerable:!(n=mR1(e,l))||n.enumerable});return a},fR1=a=>hR1(U$({},"__esModule",{value:!0}),a),gW={};pR1(gW,{AUDIO_EXTENSIONS:()=>q$,DASH_EXTENSIONS:()=>jW,FLV_EXTENSIONS:()=>PW,HLS_EXTENSIONS:()=>G$,MATCH_URL_DAILYMOTION:()=>wW,MATCH_URL_FACEBOOK:()=>HW,MATCH_URL_FACEBOOK_WATCH:()=>EW,MATCH_URL_KALTURA:()=>FW,MATCH_URL_MIXCLOUD:()=>SW,MATCH_URL_MUX:()=>bW,MATCH_URL_SOUNDCLOUD:()=>ZW,MATCH_URL_STREAMABLE:()=>MW,MATCH_URL_TWITCH_CHANNEL:()=>$W,MATCH_URL_TWITCH_VIDEO:()=>OW,MATCH_URL_VIDYARD:()=>LW,MATCH_URL_VIMEO:()=>yW,MATCH_URL_WISTIA:()=>VW,MATCH_URL_YOUTUBE:()=>B$,VIDEO_EXTENSIONS:()=>W$,canPlay:()=>vR1});var x6=fR1(gW),AW=Na;const B$=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ZW=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,yW=/vimeo\.com\/(?!progressive_redirect).+/,bW=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,HW=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,EW=/^https?:\/\/fb\.watch\/.+$/,MW=/streamable\.com\/([a-z0-9]+)$/,VW=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,OW=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,$W=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,wW=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,SW=/mixcloud\.com\/([^/]+\/[^/]+)/,LW=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,FW=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/,q$=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,W$=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,G$=/\.(m3u8)($|\?)/i,jW=/\.(mpd)($|\?)/i,PW=/\.(flv)($|\?)/i,Y$=a=>{if(a instanceof Array){for(const e of a)if(typeof e=="string"&&Y$(e)||Y$(e.src))return!0;return!1}return(0,AW.isMediaStream)(a)||(0,AW.isBlobUrl)(a)?!0:q$.test(a)||W$.test(a)||G$.test(a)||jW.test(a)||PW.test(a)},vR1={youtube:a=>a instanceof Array?a.every(e=>B$.test(e)):B$.test(a),soundcloud:a=>ZW.test(a)&&!q$.test(a),vimeo:a=>yW.test(a)&&!W$.test(a)&&!G$.test(a),mux:a=>bW.test(a),facebook:a=>HW.test(a)||EW.test(a),streamable:a=>MW.test(a),wistia:a=>VW.test(a),twitch:a=>OW.test(a)||$W.test(a),dailymotion:a=>wW.test(a),mixcloud:a=>SW.test(a),vidyard:a=>LW.test(a),kaltura:a=>FW.test(a),file:Y$};var Q$=Object.defineProperty,gR1=Object.getOwnPropertyDescriptor,AR1=Object.getOwnPropertyNames,ZR1=Object.prototype.hasOwnProperty,yR1=(a,e)=>{for(var r in e)Q$(a,r,{get:e[r],enumerable:!0})},bR1=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of AR1(e))!ZR1.call(a,l)&&l!==r&&Q$(a,l,{get:()=>e[l],enumerable:!(n=gR1(e,l))||n.enumerable});return a},HR1=a=>bR1(Q$({},"__esModule",{value:!0}),a),kW={};yR1(kW,{default:()=>MR1});var ER1=HR1(kW),R6=Na,c6=x6,MR1=[{key:"youtube",name:"YouTube",canPlay:c6.canPlay.youtube,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>UJt))},{key:"soundcloud",name:"SoundCloud",canPlay:c6.canPlay.soundcloud,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>r0a))},{key:"vimeo",name:"Vimeo",canPlay:c6.canPlay.vimeo,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>g0a))},{key:"mux",name:"Mux",canPlay:c6.canPlay.mux,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>w0a))},{key:"facebook",name:"Facebook",canPlay:c6.canPlay.facebook,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>D0a))},{key:"streamable",name:"Streamable",canPlay:c6.canPlay.streamable,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>X0a))},{key:"wistia",name:"Wistia",canPlay:c6.canPlay.wistia,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>u1a))},{key:"twitch",name:"Twitch",canPlay:c6.canPlay.twitch,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>M1a))},{key:"dailymotion",name:"DailyMotion",canPlay:c6.canPlay.dailymotion,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>N1a))},{key:"mixcloud",name:"Mixcloud",canPlay:c6.canPlay.mixcloud,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>Y1a))},{key:"vidyard",name:"Vidyard",canPlay:c6.canPlay.vidyard,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>cea))},{key:"kaltura",name:"Kaltura",canPlay:c6.canPlay.kaltura,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>bea))},{key:"file",name:"FilePlayer",canPlay:c6.canPlay.file,canEnablePIP:a=>c6.canPlay.file(a)&&(document.pictureInPictureEnabled||(0,R6.supportsWebKitPresentationMode)())&&!c6.AUDIO_EXTENSIONS.test(a),lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>xea))}],_W=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function VR1(a,e){return!!(a===e||_W(a)&&_W(e))}function OR1(a,e){if(a.length!==e.length)return!1;for(var r=0;r<a.length;r++)if(!VR1(a[r],e[r]))return!1;return!0}function $R1(a,e){e===void 0&&(e=OR1);var r,n=[],l,o=!1;function c(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];return o&&r===this&&e(m,n)||(l=a.apply(this,m),o=!0,r=this,n=m),l}return c}const wR1=pH(Object.freeze(Object.defineProperty({__proto__:null,default:$R1},Symbol.toStringTag,{value:"Module"})));var SR1=typeof Element<"u",LR1=typeof Map=="function",FR1=typeof Set=="function",jR1=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Gg(a,e){if(a===e)return!0;if(a&&e&&typeof a=="object"&&typeof e=="object"){if(a.constructor!==e.constructor)return!1;var r,n,l;if(Array.isArray(a)){if(r=a.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Gg(a[n],e[n]))return!1;return!0}var o;if(LR1&&a instanceof Map&&e instanceof Map){if(a.size!==e.size)return!1;for(o=a.entries();!(n=o.next()).done;)if(!e.has(n.value[0]))return!1;for(o=a.entries();!(n=o.next()).done;)if(!Gg(n.value[1],e.get(n.value[0])))return!1;return!0}if(FR1&&a instanceof Set&&e instanceof Set){if(a.size!==e.size)return!1;for(o=a.entries();!(n=o.next()).done;)if(!e.has(n.value[0]))return!1;return!0}if(jR1&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(e)){if(r=a.length,r!=e.length)return!1;for(n=r;n--!==0;)if(a[n]!==e[n])return!1;return!0}if(a.constructor===RegExp)return a.source===e.source&&a.flags===e.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof e.valueOf=="function")return a.valueOf()===e.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof e.toString=="function")return a.toString()===e.toString();if(l=Object.keys(a),r=l.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,l[n]))return!1;if(SR1&&a instanceof Element)return!1;for(n=r;n--!==0;)if(!((l[n]==="_owner"||l[n]==="__v"||l[n]==="__o")&&a.$$typeof)&&!Gg(a[l[n]],e[l[n]]))return!1;return!0}return a!==a&&e!==e}var CW=function(e,r){try{return Gg(e,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},PR1=Object.create,Yg=Object.defineProperty,kR1=Object.getOwnPropertyDescriptor,_R1=Object.getOwnPropertyNames,CR1=Object.getPrototypeOf,NR1=Object.prototype.hasOwnProperty,TR1=(a,e)=>{for(var r in e)Yg(a,r,{get:e[r],enumerable:!0})},NW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of _R1(e))!NR1.call(a,l)&&l!==r&&Yg(a,l,{get:()=>e[l],enumerable:!(n=kR1(e,l))||n.enumerable});return a},IR1=(a,e,r)=>(r=a!=null?PR1(CR1(a)):{},NW(!a||!a.__esModule?Yg(r,"default",{value:a,enumerable:!0}):r,a)),DR1=a=>NW(Yg({},"__esModule",{value:!0}),a),TW={};TR1(TW,{defaultProps:()=>zR1,propTypes:()=>RR1});var IW=DR1(TW),xR1=IR1(cx);const{string:ma,bool:s6,number:Nc,array:K$,oneOfType:Pu,shape:v4,object:Ta,func:wt,node:DW}=xR1.default,RR1={url:Pu([ma,K$,Ta]),playing:s6,loop:s6,controls:s6,volume:Nc,muted:s6,playbackRate:Nc,width:Pu([ma,Nc]),height:Pu([ma,Nc]),style:Ta,progressInterval:Nc,playsinline:s6,pip:s6,stopOnUnmount:s6,light:Pu([s6,ma,Ta]),playIcon:DW,previewTabIndex:Nc,previewAriaLabel:ma,fallback:DW,oEmbedUrl:ma,wrapper:Pu([ma,wt,v4({render:wt.isRequired})]),config:v4({soundcloud:v4({options:Ta}),youtube:v4({playerVars:Ta,embedOptions:Ta,onUnstarted:wt}),facebook:v4({appId:ma,version:ma,playerId:ma,attributes:Ta}),dailymotion:v4({params:Ta}),vimeo:v4({playerOptions:Ta,title:ma}),mux:v4({attributes:Ta,version:ma}),file:v4({attributes:Ta,tracks:K$,forceVideo:s6,forceAudio:s6,forceHLS:s6,forceSafariHLS:s6,forceDisableHls:s6,forceDASH:s6,forceFLV:s6,hlsOptions:Ta,hlsVersion:ma,dashVersion:ma,flvVersion:ma}),wistia:v4({options:Ta,playerId:ma,customControls:K$}),mixcloud:v4({options:Ta}),twitch:v4({options:Ta,playerId:ma}),vidyard:v4({options:Ta})}),onReady:wt,onStart:wt,onPlay:wt,onPause:wt,onBuffer:wt,onBufferEnd:wt,onEnded:wt,onError:wt,onDuration:wt,onSeek:wt,onPlaybackRateChange:wt,onPlaybackQualityChange:wt,onProgress:wt,onClickPreview:wt,onEnablePIP:wt,onDisablePIP:wt},ua=()=>{},zR1={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:ua},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:ua,onStart:ua,onPlay:ua,onPause:ua,onBuffer:ua,onBufferEnd:ua,onEnded:ua,onError:ua,onDuration:ua,onSeek:ua,onPlaybackRateChange:ua,onPlaybackQualityChange:ua,onProgress:ua,onClickPreview:ua,onEnablePIP:ua,onDisablePIP:ua};var UR1=Object.create,ku=Object.defineProperty,BR1=Object.getOwnPropertyDescriptor,qR1=Object.getOwnPropertyNames,WR1=Object.getPrototypeOf,GR1=Object.prototype.hasOwnProperty,YR1=(a,e,r)=>e in a?ku(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,QR1=(a,e)=>{for(var r in e)ku(a,r,{get:e[r],enumerable:!0})},xW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of qR1(e))!GR1.call(a,l)&&l!==r&&ku(a,l,{get:()=>e[l],enumerable:!(n=BR1(e,l))||n.enumerable});return a},RW=(a,e,r)=>(r=a!=null?UR1(WR1(a)):{},xW(!a||!a.__esModule?ku(r,"default",{value:a,enumerable:!0}):r,a)),KR1=a=>xW(ku({},"__esModule",{value:!0}),a),nt=(a,e,r)=>(YR1(a,typeof e!="symbol"?e+"":e,r),r),zW={};QR1(zW,{default:()=>Qg});var XR1=KR1(zW),UW=RW(p),JR1=RW(CW),BW=IW,ez1=Na;const tz1=5e3;class Qg extends UW.Component{constructor(){super(...arguments),nt(this,"mounted",!1),nt(this,"isReady",!1),nt(this,"isPlaying",!1),nt(this,"isLoading",!0),nt(this,"loadOnReady",null),nt(this,"startOnPlay",!0),nt(this,"seekOnPlay",null),nt(this,"onDurationCalled",!1),nt(this,"handlePlayerMount",e=>{if(this.player){this.progress();return}this.player=e,this.player.load(this.props.url),this.progress()}),nt(this,"getInternalPlayer",e=>this.player?this.player[e]:null),nt(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){const e=this.getCurrentTime()||0,r=this.getSecondsLoaded(),n=this.getDuration();if(n){const l={playedSeconds:e,played:e/n};r!==null&&(l.loadedSeconds=r,l.loaded=r/n),(l.playedSeconds!==this.prevPlayed||l.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(l),this.prevPlayed=l.playedSeconds,this.prevLoaded=l.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),nt(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;const{onReady:e,playing:r,volume:n,muted:l}=this.props;e(),!l&&n!==null&&this.player.setVolume(n),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):r&&this.player.play(),this.handleDurationCheck()}),nt(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;const{onStart:e,onPlay:r,playbackRate:n}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&n!==1&&this.player.setPlaybackRate(n),e(),this.startOnPlay=!1),r(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),nt(this,"handlePause",e=>{this.isPlaying=!1,this.isLoading||this.props.onPause(e)}),nt(this,"handleEnded",()=>{const{activePlayer:e,loop:r,onEnded:n}=this.props;e.loopOnEnded&&r&&this.seekTo(0),r||(this.isPlaying=!1,n())}),nt(this,"handleError",(...e)=>{this.isLoading=!1,this.props.onError(...e)}),nt(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);const e=this.getDuration();e?this.onDurationCalled||(this.props.onDuration(e),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),nt(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}componentDidUpdate(e){if(!this.player)return;const{url:r,playing:n,volume:l,muted:o,playbackRate:c,pip:m,loop:u,activePlayer:h,disableDeferredLoading:g}=this.props;if(!(0,JR1.default)(e.url,r)){if(this.isLoading&&!h.forceLoad&&!g&&!(0,ez1.isMediaStream)(r)){console.warn(`ReactPlayer: the attempt to load ${r} is being deferred until the player has loaded`),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}!e.playing&&n&&!this.isPlaying&&this.player.play(),e.playing&&!n&&this.isPlaying&&this.player.pause(),!e.pip&&m&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!m&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==l&&l!==null&&this.player.setVolume(l),e.muted!==o&&(o?this.player.mute():(this.player.unmute(),l!==null&&setTimeout(()=>this.player.setVolume(l)))),e.playbackRate!==c&&this.player.setPlaybackRate&&this.player.setPlaybackRate(c),e.loop!==u&&this.player.setLoop&&this.player.setLoop(u)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(e,r,n){if(!this.isReady){e!==0&&(this.seekOnPlay=e,setTimeout(()=>{this.seekOnPlay=null},tz1));return}if(r?r==="fraction":e>0&&e<1){const o=this.player.getDuration();if(!o){console.warn("ReactPlayer: could not seek using fraction – duration not yet available");return}this.player.seekTo(o*e,n);return}this.player.seekTo(e,n)}render(){const e=this.props.activePlayer;return e?UW.default.createElement(e,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}nt(Qg,"displayName","Player"),nt(Qg,"propTypes",BW.propTypes),nt(Qg,"defaultProps",BW.defaultProps);var az1=Object.create,_u=Object.defineProperty,rz1=Object.getOwnPropertyDescriptor,nz1=Object.getOwnPropertyNames,lz1=Object.getPrototypeOf,oz1=Object.prototype.hasOwnProperty,iz1=(a,e,r)=>e in a?_u(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,cz1=(a,e)=>{for(var r in e)_u(a,r,{get:e[r],enumerable:!0})},qW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of nz1(e))!oz1.call(a,l)&&l!==r&&_u(a,l,{get:()=>e[l],enumerable:!(n=rz1(e,l))||n.enumerable});return a},Cu=(a,e,r)=>(r=a!=null?az1(lz1(a)):{},qW(!a||!a.__esModule?_u(r,"default",{value:a,enumerable:!0}):r,a)),sz1=a=>qW(_u({},"__esModule",{value:!0}),a),lt=(a,e,r)=>(iz1(a,typeof e!="symbol"?e+"":e,r),r),WW={};cz1(WW,{createReactPlayer:()=>Az1});var mz1=sz1(WW),Tc=Cu(p),uz1=Cu(pW),X$=Cu(wR1),GW=Cu(CW),Nu=IW,YW=Na,dz1=Cu(XR1);const pz1=(0,YW.lazy)(()=>Promise.resolve().then(()=>Xea)),hz1=typeof window<"u"&&window.document&&typeof document<"u",fz1=typeof he<"u"&&he.window&&he.window.document,vz1=Object.keys(Nu.propTypes),gz1=hz1||fz1?Tc.Suspense:()=>null,Tu=[],Az1=(a,e)=>{var r;return r=class extends Tc.Component{constructor(){super(...arguments),lt(this,"state",{showPreview:!!this.props.light}),lt(this,"references",{wrapper:n=>{this.wrapper=n},player:n=>{this.player=n}}),lt(this,"handleClickPreview",n=>{this.setState({showPreview:!1}),this.props.onClickPreview(n)}),lt(this,"showPreview",()=>{this.setState({showPreview:!0})}),lt(this,"getDuration",()=>this.player?this.player.getDuration():null),lt(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),lt(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),lt(this,"getInternalPlayer",(n="player")=>this.player?this.player.getInternalPlayer(n):null),lt(this,"seekTo",(n,l,o)=>{if(!this.player)return null;this.player.seekTo(n,l,o)}),lt(this,"handleReady",()=>{this.props.onReady(this)}),lt(this,"getActivePlayer",(0,X$.default)(n=>{for(const l of[...Tu,...a])if(l.canPlay(n))return l;return e||null})),lt(this,"getConfig",(0,X$.default)((n,l)=>{const{config:o}=this.props;return uz1.default.all([Nu.defaultProps.config,Nu.defaultProps.config[l]||{},o,o[l]||{}])})),lt(this,"getAttributes",(0,X$.default)(n=>(0,YW.omit)(this.props,vz1))),lt(this,"renderActivePlayer",n=>{if(!n)return null;const l=this.getActivePlayer(n);if(!l)return null;const o=this.getConfig(n,l.key);return Tc.default.createElement(dz1.default,{...this.props,key:l.key,ref:this.references.player,config:o,activePlayer:l.lazyPlayer||l,onReady:this.handleReady})})}shouldComponentUpdate(n,l){return!(0,GW.default)(this.props,n)||!(0,GW.default)(this.state,l)}componentDidUpdate(n){const{light:l}=this.props;!n.light&&l&&this.setState({showPreview:!0}),n.light&&!l&&this.setState({showPreview:!1})}renderPreview(n){if(!n)return null;const{light:l,playIcon:o,previewTabIndex:c,oEmbedUrl:m,previewAriaLabel:u}=this.props;return Tc.default.createElement(pz1,{url:n,light:l,playIcon:o,previewTabIndex:c,previewAriaLabel:u,oEmbedUrl:m,onClick:this.handleClickPreview})}render(){const{url:n,style:l,width:o,height:c,fallback:m,wrapper:u}=this.props,{showPreview:h}=this.state,g=this.getAttributes(n),A=typeof u=="string"?this.references.wrapper:void 0;return Tc.default.createElement(u,{ref:A,style:{...l,width:o,height:c},...g},Tc.default.createElement(gz1,{fallback:m},h?this.renderPreview(n):this.renderActivePlayer(n)))}},lt(r,"displayName","ReactPlayer"),lt(r,"propTypes",Nu.propTypes),lt(r,"defaultProps",Nu.defaultProps),lt(r,"addCustomPlayer",n=>{Tu.push(n)}),lt(r,"removeCustomPlayers",()=>{Tu.length=0}),lt(r,"canPlay",n=>{for(const l of[...Tu,...a])if(l.canPlay(n))return!0;return!1}),lt(r,"canEnablePIP",n=>{for(const l of[...Tu,...a])if(l.canEnablePIP&&l.canEnablePIP(n))return!0;return!1}),r};var Zz1=Object.create,Kg=Object.defineProperty,yz1=Object.getOwnPropertyDescriptor,bz1=Object.getOwnPropertyNames,Hz1=Object.getPrototypeOf,Ez1=Object.prototype.hasOwnProperty,Mz1=(a,e)=>{for(var r in e)Kg(a,r,{get:e[r],enumerable:!0})},QW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of bz1(e))!Ez1.call(a,l)&&l!==r&&Kg(a,l,{get:()=>e[l],enumerable:!(n=yz1(e,l))||n.enumerable});return a},Vz1=(a,e,r)=>(r=a!=null?Zz1(Hz1(a)):{},QW(!a||!a.__esModule?Kg(r,"default",{value:a,enumerable:!0}):r,a)),Oz1=a=>QW(Kg({},"__esModule",{value:!0}),a),KW={};Mz1(KW,{default:()=>Lz1});var $z1=Oz1(KW),J$=Vz1(ER1),wz1=mz1;const Sz1=J$.default[J$.default.length-1];var Lz1=(0,wz1.createReactPlayer)(J$.default,Sz1);const Fz1=$2($z1),jz1=({media:a,shouldSendInteractions:e})=>{const r=Wk1();return p.useCallback((n,l)=>{if(!(!(a!=null&&a.id)||!e||!r))return r({media:a,action:n,data:l})},[a,e,r])},Pz1=({media:a,livestream:e,content:r,playerRef:n})=>{const l=vB(),o=p.useRef(new Date().getTime());return p.useCallback((c,m)=>{var h,g;const u=new Date;return l.track(c,{sessionId:o.current,contentAssetId:r==null?void 0:r.id,parentOriginId:r==null?void 0:r.originId,originId:a==null?void 0:a.originId,originSource:a==null?void 0:a.originType,videoPlayer:"Apollos Web",livestream:!1,timestamp:u.toUTCString(),title:r==null?void 0:r.title,totalLength:(a==null?void 0:a.duration)||((h=n.current)==null?void 0:h.getDuration()),position:(g=n.current)==null?void 0:g.getCurrentTime(),publishedAt:r!=null&&r.publishDate?new Date(parseInt(r==null?void 0:r.publishDate,10)):null,...e?{contentAssetId:`livestream_${u.getFullYear()}_${u.getMonth()+1}_${u.getDate()}`,livestream:!0,publishedAt:new Date(e.start||u)}:{},...m})},[a,e,r,l,n])},Xg={wrapper:"rounded-xl w-full overflow-hidden",video:"aspect-video"},kz1=10,_z1=({media:a,coverImage:e,livestream:r,content:n,shouldSendInteractions:l,...o})=>{var K,Y,o0,a0,t0,l0;const c=p.useRef(null),m=p.useRef(0),u=Pz1({media:a,livestream:r,content:n,playerRef:c}),h=jz1({media:a,shouldSendInteractions:l}),[g,A]=p.useState(!0),y=p.useRef(!1),E=p.useRef(0);p.useEffect(()=>()=>{y.current&&u("VideoPlaybackExited")},[]);const M=async()=>{var e0,G0;if(r)I();else{const y0=((e0=a==null?void 0:a.userProgress)==null?void 0:e0.playhead)||0;y0>0&&g&&E.current!==y0&&(E.current=y0,(G0=c.current)==null||G0.seekTo(y0))}},O=async()=>{u("VideoPlaybackCompleted"),h("COMPLETE")},S=()=>{g?(A(!1),u("VideoPlaybackResumed")):u("VideoPlaybackStarted"),y.current||(y.current=!0)},F=()=>{var e0;g||(A(!0),u("VideoPlaybackPaused"),h("VIEW",{progress:(e0=c.current)==null?void 0:e0.getCurrentTime()}))},j=e0=>{e0.playbackRate===0?F():S()},k=()=>{u("VideoPlaybackSeekCompleted")},N=({played:e0})=>{var y0;const G0=((y0=c.current)==null?void 0:y0.getCurrentTime())||0;e0&&Math.abs(G0-m.current)>=kz1&&(m.current=G0,h("VIEW",{progress:G0}))},C=(e0,...G0)=>{console.error("Video error",e0,G0),u("VideoPlaybackInterrupted")};if(a!=null&&a.embedHtml)return w.jsx("div",{className:Ze(Xg.wrapper),dangerouslySetInnerHTML:{__html:a.embedHtml}});if(!((Y=(K=a==null?void 0:a.sources)==null?void 0:K[0])!=null&&Y.uri)||typeof document>"u")return w.jsx(pB,{image:e??void 0,className:Ze(Xg.wrapper)});const I=()=>{var L0;if(!(r!=null&&r.start)||!c.current)return;const e0=new Date(r.start),g0=(new Date().getTime()-e0.getTime())/1e3;(L0=c.current)==null||L0.seekTo(g0)},z=(a0=(o0=e==null?void 0:e.sources)==null?void 0:o0[0])==null?void 0:a0.uri,q={file:{attributes:{autoPlay:!!r,...z?{poster:z}:{}},hlsVersion:"1.5.19"}};return w.jsx("div",{className:Ze(Xg.wrapper,Xg.video),children:w.jsx(Fz1,{ref:c,url:(l0=(t0=a==null?void 0:a.sources)==null?void 0:t0[0])==null?void 0:l0.uri,controls:!0,config:q,playing:r?!0:o.playing,playsinline:!0,width:"100%",height:"100%",onReady:M,onEnded:O,onPlay:S,onPause:F,onSeeked:k,onProgress:N,onError:C,onPlaybackRateChange:j,light:z||!0,...o})})},Cz1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M240.49,103.52l-80-80A12,12,0,0,0,140,32V68.74c-25.76,3.12-53.66,15.89-76.75,35.47-29.16,24.74-47.32,56.69-51.14,90A16,16,0,0,0,39.67,207h0c10.46-11.14,47-45.74,100.33-50.42V192a12,12,0,0,0,20.48,8.48l80-80A12,12,0,0,0,240.49,103.52ZM164,163V144a12,12,0,0,0-12-12c-49,0-86.57,21.56-109.79,40.11,7.13-18.16,19.63-35.22,36.57-49.59C101.3,103.41,128.67,92,152,92a12,12,0,0,0,12-12V61l51,51Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M152,192V144c-61.4,0-104.61,37.19-121.07,54.72a4,4,0,0,1-6.9-3.18C31.51,130.45,99.19,80,152,80V32l80,80Z",opacity:"0.2"}),t.createElement("path",{d:"M237.66,106.35l-80-80A8,8,0,0,0,144,32V72.35c-25.94,2.22-54.59,14.92-78.16,34.91-28.38,24.08-46.05,55.11-49.76,87.37a12,12,0,0,0,20.68,9.58h0c11-11.71,50.14-48.74,107.24-52V192a8,8,0,0,0,13.66,5.65l80-80A8,8,0,0,0,237.66,106.35ZM160,172.69V144a8,8,0,0,0-8-8c-28.08,0-55.43,7.33-81.29,21.8a196.17,196.17,0,0,0-36.57,26.52c5.8-23.84,20.42-46.51,42.05-64.86C99.41,99.77,127.75,88,152,88a8,8,0,0,0,8-8V51.32L220.69,112Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M237.66,117.66l-80,80A8,8,0,0,1,144,192V152.23c-57.1,3.24-96.25,40.27-107.24,52h0a12,12,0,0,1-20.68-9.58c3.71-32.26,21.38-63.29,49.76-87.37,23.57-20,52.22-32.69,78.16-34.91V32a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,237.66,117.66Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M236.24,107.76l-80-80A6,6,0,0,0,146,32V74.2c-54.48,3.59-120.39,55-127.93,120.66a10,10,0,0,0,17.23,8h0C46.56,190.85,87,152.6,146,150.13V192a6,6,0,0,0,10.24,4.24l80-80A6,6,0,0,0,236.24,107.76ZM158,177.52V144a6,6,0,0,0-6-6c-27.73,0-54.76,7.25-80.32,21.55a193.38,193.38,0,0,0-40.81,30.65c4.7-26.56,20.16-52,44-72.27C98.47,97.94,127.29,86,152,86a6,6,0,0,0,6-6V46.49L223.51,112Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M237.66,106.35l-80-80A8,8,0,0,0,144,32V72.35c-25.94,2.22-54.59,14.92-78.16,34.91-28.38,24.08-46.05,55.11-49.76,87.37a12,12,0,0,0,20.68,9.58h0c11-11.71,50.14-48.74,107.24-52V192a8,8,0,0,0,13.66,5.65l80-80A8,8,0,0,0,237.66,106.35ZM160,172.69V144a8,8,0,0,0-8-8c-28.08,0-55.43,7.33-81.29,21.8a196.17,196.17,0,0,0-36.57,26.52c5.8-23.84,20.42-46.51,42.05-64.86C99.41,99.77,127.75,88,152,88a8,8,0,0,0,8-8V51.32L220.69,112Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M234.83,109.17l-80-80A4,4,0,0,0,148,32V76.09c-54,2.44-120.43,53.55-127.94,119a7.87,7.87,0,0,0,4.58,8.16,8,8,0,0,0,3.41.77,7.9,7.9,0,0,0,5.79-2.55h0c11.53-12.27,53.29-51.73,114.16-53.4V192a4,4,0,0,0,6.83,2.83l80-80A4,4,0,0,0,234.83,109.17ZM156,182.33V144a4,4,0,0,0-4-4c-27.39,0-54.08,7.17-79.34,21.3A189.91,189.91,0,0,0,28,196l2.92,2.74L28,196c3.36-29.21,19.55-57.48,45.6-79.57C97.53,96.11,126.83,84,152,84a4,4,0,0,0,4-4V41.66L226.34,112Z"}))]]);var Nz1=Object.defineProperty,Tz1=Object.defineProperties,Iz1=Object.getOwnPropertyDescriptors,XW=Object.getOwnPropertySymbols,Dz1=Object.prototype.hasOwnProperty,xz1=Object.prototype.propertyIsEnumerable,JW=(a,e,r)=>e in a?Nz1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,Rz1=(a,e)=>{for(var r in e||(e={}))Dz1.call(e,r)&&JW(a,r,e[r]);if(XW)for(var r of XW(e))xz1.call(e,r)&&JW(a,r,e[r]);return a},zz1=(a,e)=>Tz1(a,Iz1(e));const Jg=p.forwardRef((a,e)=>t.createElement(b,zz1(Rz1({ref:e},a),{weights:Cz1})));Jg.displayName="ShareFat";const Uz1=Object.freeze(Object.defineProperty({__proto__:null,ShareFat:Jg},Symbol.toStringTag,{value:"Module"})),Bz1=(a=[])=>(a==null?void 0:a.filter(e=>((e==null?void 0:e.features)||[]).some(r=>r&&Object.keys(r).some(n=>!["id","__typename"].includes(n)))))||[],qz1=({content:a,setIsCTAOpen:e,setInteractionType:r})=>{var n,l;return w.jsx("div",{className:"flex justify-end",children:w.jsxs("div",{className:"fixed right-0 bottom-0 mr-4 [@media(width>=56rem)]:mr-8 [@media(width>=80rem)]:-mr-72 [@media(width>=80rem)]:right-auto mt-4 mb-8 py-1 flex flex-col justify-between items-center",children:[w.jsx("div",{className:"mb-4",children:w.jsx(ze,{onClick:()=>{e(!0),r(ht.Like)},circular:!0,children:w.jsxs("div",{className:"flex flex-col px-1.5 items-center",children:[w.jsx(Hu,{weight:a!=null&&a.isLiked?"fill":"regular",size:20,className:`md:hidden ${a!=null&&a.isLiked?"fill-action":""}`}),w.jsx(Hu,{weight:a!=null&&a.isLiked?"fill":"regular",size:28,className:`hidden md:flex ${a!=null&&a.isLiked?"fill-action":""}`}),a.likedCount?w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"absolute -bottom-2.5 bg-white dark:bg-brand px-2 rounded-full text-xs z-9",children:w.jsx(Je,{fg:"secondary",className:"text-sm text-white dark:text-brand",children:a.likedCount})}),w.jsx("span",{className:"absolute -bottom-2.5 bg-accent/20 dark:bg-brand px-2 rounded-full text-xs z-10",children:w.jsx(Je,{fg:"secondary",className:"text-sm text-accent/100",children:a.likedCount})})]}):null]})})}),a.commentsEnabled?w.jsx("div",{className:"mb-4",children:w.jsx(ze,{onClick:()=>{e(!0),r(ht.Comment)},circular:!0,children:w.jsxs("div",{className:"flex flex-col px-1.5 items-center",children:[w.jsx(bg,{weight:"fill",size:20,className:"md:hidden"}),w.jsx(bg,{weight:"fill",size:28,className:"hidden md:flex"}),Fl(a.comments)?null:w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"absolute -bottom-2.5 bg-white dark:bg-brand px-2 rounded-full text-xs z-9",children:w.jsx(Je,{fg:"secondary",className:"text-sm text-white dark:text-brand",children:((n=a.comments)==null?void 0:n.length)??0})}),w.jsx("span",{className:"absolute -bottom-2.5 bg-accent/20 dark:bg-brand px-2 rounded-full text-xs z-10",children:w.jsx(Je,{fg:"secondary",className:"text-sm text-accent/100",children:((l=a.comments)==null?void 0:l.length)??0})})]})]})})}):null,a.sharing?w.jsxs(bx1,{circular:!0,sharable:a.sharing,children:[w.jsx(Jg,{weight:"fill",size:20,className:"mx-1.5 text-fg-secondary dark:text-fg-secondary-dark md:hidden"}),w.jsx(Jg,{weight:"fill",size:28,className:"mx-2 text-fg-secondary dark:text-fg-secondary-dark hidden md:flex"})]}):w.jsx("div",{})]})})},Wz1=({content:a,currentChurch:e,isInteractionEnabled:r=!1,userCanComment:n,userProfile:l})=>{var S,F,j,k;const o=V$(),[c,m]=p.useState(!1),[u,h]=p.useState(ht.Default),g=p.useMemo(()=>Bz1(a.pages),[a.pages]);if(!a)return null;const A=(S=a==null?void 0:a.videos)==null?void 0:S.find(N=>N&&N.sources&&N.sources.length>0),y=((F=a==null?void 0:a.childContentItemsConnection)==null?void 0:F.edges)??[],E=((j=a==null?void 0:a.siblingContentItemsConnection)==null?void 0:j.edges)??[],M="md:border md:border-system-regular md:rounded-3xl py-6 md:p-6 mb-8 border-b border-b-system-regular",O=(g==null?void 0:g.length)&&(g==null?void 0:g.length)>1;return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:O?M:"",children:[w.jsx(_z1,{media:A??void 0,coverImage:(a==null?void 0:a.coverImage)??void 0,content:a??void 0,shouldSendInteractions:!!n}),w.jsxs("div",{className:"mt-6 md:mt-12 mb-4 mx-auto [&>*]:mx-auto [&>*]:max-w-[65ch]",children:[w.jsx("div",{className:"prose dark:prose-invert",children:w.jsx(Je,{as:"h1",children:a.title})}),w.jsx("div",{className:"h-px bg-system-thin my-8"}),a.htmlContent?w.jsx(eq,{feature:{content:a.htmlContent}}):null,g!=null&&g.length?w.jsx("div",{className:"flex flex-col gap-4",children:w.jsx(N$,{features:((k=g[0])==null?void 0:k.features)??[],church:e,userProfile:l,isInteractionEnabled:r})}):null]})]}),g==null?void 0:g.slice(1).map(N=>{var C;return N&&((C=N.features)==null?void 0:C.length)&&N.features.length>0&&w.jsx("div",{className:M,children:w.jsx("div",{className:"flex flex-col gap-4",children:w.jsx(N$,{features:N.features??[],church:e,userProfile:l})})},N.id)}),w.jsxs("div",{className:"mx-auto [&>*]:mx-auto [&>*]:max-w-[65ch]",children:[r?w.jsx(qz1,{content:a,setIsCTAOpen:m,setInteractionType:h}):null,y.length?w.jsx(rg,{className:"mt-10",children:y.map(N=>{var I,z,q,K,Y,o0,a0;const C=(q=(((z=(I=N==null?void 0:N.node)==null?void 0:I.coverImage)==null?void 0:z.sources)??[])[0])==null?void 0:q.uri;return w.jsx(su,{as:BV,to:{contentId:(K=N==null?void 0:N.node)==null?void 0:K.id},title:((Y=N==null?void 0:N.node)==null?void 0:Y.title)??void 0,subtitle:(o0=N==null?void 0:N.node)==null?void 0:o0.summary,leadingAccessory:w.jsx(mu,{src:C??void 0}),trailingAccessory:w.jsx(yu,{})},(a0=N==null?void 0:N.node)==null?void 0:a0.id)})}):null,a!=null&&a.parentItem?w.jsxs("div",{className:"mt-12",children:[w.jsx(Je,{as:"h3",className:"mb-4",children:"This series"}),w.jsx(fB,{content:a==null?void 0:a.parentItem})]}):null,E.length?w.jsxs("div",{className:"mt-10",children:[w.jsx(Je,{as:"h3",children:"In this series"}),w.jsx(DO,{children:E.map(N=>{var C;return w.jsx(fB,{content:(N==null?void 0:N.node)??void 0,horizontal:!0},(C=N==null?void 0:N.node)==null?void 0:C.id)})})]}):null]}),w.jsx(wu,{type:u,currentPageParams:o,isOpen:c,setIsOpen:m,church:e,hasComments:!Fl(a.comments),hasLikes:!!((a==null?void 0:a.likedCount)??0)})]})};h2(`
790
+ `);var Hx1=function(e,r,n){var l=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");typeof r=="function"&&(n=r,r={}),r=r||{},n=n||function(){},o.type=r.type||"text/javascript",o.charset=r.charset||"utf8",o.async="async"in r?!!r.async:!0,o.src=e,r.attrs&&Ex1(o,r.attrs),r.text&&(o.text=""+r.text);var c="onload"in o?mW:Mx1;c(o,n),o.onload||mW(o,n),l.appendChild(o)};function Ex1(a,e){for(var r in e)a.setAttribute(r,e[r])}function mW(a,e){a.onload=function(){this.onerror=this.onload=null,e(null,a)},a.onerror=function(){this.onerror=this.onload=null,e(new Error("Failed to load "+this.src),a)}}function Mx1(a,e){a.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,e(null,a))}}var Vx1=function(e){return Ox1(e)&&!$x1(e)};function Ox1(a){return!!a&&typeof a=="object"}function $x1(a){var e=Object.prototype.toString.call(a);return e==="[object RegExp]"||e==="[object Date]"||Lx1(a)}var wx1=typeof Symbol=="function"&&Symbol.for,Sx1=wx1?Symbol.for("react.element"):60103;function Lx1(a){return a.$$typeof===Sx1}function Fx1(a){return Array.isArray(a)?[]:{}}function ju(a,e){return e.clone!==!1&&e.isMergeableObject(a)?_c(Fx1(a),a,e):a}function jx1(a,e,r){return a.concat(e).map(function(n){return ju(n,r)})}function Px1(a,e){if(!e.customMerge)return _c;var r=e.customMerge(a);return typeof r=="function"?r:_c}function kx1(a){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(a).filter(function(e){return Object.propertyIsEnumerable.call(a,e)}):[]}function uW(a){return Object.keys(a).concat(kx1(a))}function dW(a,e){try{return e in a}catch{return!1}}function _x1(a,e){return dW(a,e)&&!(Object.hasOwnProperty.call(a,e)&&Object.propertyIsEnumerable.call(a,e))}function Cx1(a,e,r){var n={};return r.isMergeableObject(a)&&uW(a).forEach(function(l){n[l]=ju(a[l],r)}),uW(e).forEach(function(l){_x1(a,l)||(dW(a,l)&&r.isMergeableObject(e[l])?n[l]=Px1(l,r)(a[l],e[l],r):n[l]=ju(e[l],r))}),n}function _c(a,e,r){r=r||{},r.arrayMerge=r.arrayMerge||jx1,r.isMergeableObject=r.isMergeableObject||Vx1,r.cloneUnlessOtherwiseSpecified=ju;var n=Array.isArray(e),l=Array.isArray(a),o=n===l;return o?n?r.arrayMerge(a,e,r):Cx1(a,e,r):ju(e,r)}_c.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,l){return _c(n,l,r)},{})};var Nx1=_c,pW=Nx1,Tx1=Object.create,Wg=Object.defineProperty,Ix1=Object.getOwnPropertyDescriptor,Dx1=Object.getOwnPropertyNames,xx1=Object.getPrototypeOf,Rx1=Object.prototype.hasOwnProperty,zx1=(a,e)=>{for(var r in e)Wg(a,r,{get:e[r],enumerable:!0})},hW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of Dx1(e))!Rx1.call(a,l)&&l!==r&&Wg(a,l,{get:()=>e[l],enumerable:!(n=Ix1(e,l))||n.enumerable});return a},x$=(a,e,r)=>(r=a!=null?Tx1(xx1(a)):{},hW(!a||!a.__esModule?Wg(r,"default",{value:a,enumerable:!0}):r,a)),Ux1=a=>hW(Wg({},"__esModule",{value:!0}),a),fW={};zx1(fW,{callPlayer:()=>oR1,getConfig:()=>nR1,getSDK:()=>rR1,isBlobUrl:()=>cR1,isMediaStream:()=>iR1,lazy:()=>Gx1,omit:()=>lR1,parseEndTime:()=>eR1,parseStartTime:()=>Jx1,queryString:()=>aR1,randomString:()=>tR1,supportsWebKitPresentationMode:()=>sR1});var Na=Ux1(fW),Bx1=x$(p),qx1=x$(Hx1),Wx1=x$(pW);const Gx1=a=>Bx1.default.lazy(async()=>{const e=await a();return typeof e.default=="function"?e:e.default}),Yx1=/[?&#](?:start|t)=([0-9hms]+)/,Qx1=/[?&#]end=([0-9hms]+)/,R$=/(\d+)(h|m|s)/g,Kx1=/^\d+$/;function vW(a,e){if(a instanceof Array)return;const r=a.match(e);if(r){const n=r[1];if(n.match(R$))return Xx1(n);if(Kx1.test(n))return parseInt(n)}}function Xx1(a){let e=0,r=R$.exec(a);for(;r!==null;){const[,n,l]=r;l==="h"&&(e+=parseInt(n,10)*60*60),l==="m"&&(e+=parseInt(n,10)*60),l==="s"&&(e+=parseInt(n,10)),r=R$.exec(a)}return e}function Jx1(a){return vW(a,Yx1)}function eR1(a){return vW(a,Qx1)}function tR1(){return Math.random().toString(36).substr(2,5)}function aR1(a){return Object.keys(a).map(e=>`${e}=${a[e]}`).join("&")}function z$(a){return window[a]?window[a]:window.exports&&window.exports[a]?window.exports[a]:window.module&&window.module.exports&&window.module.exports[a]?window.module.exports[a]:null}const Cc={},rR1=function(e,r,n=null,l=()=>!0,o=qx1.default){const c=z$(r);return c&&l(c)?Promise.resolve(c):new Promise((m,u)=>{if(Cc[e]){Cc[e].push({resolve:m,reject:u});return}Cc[e]=[{resolve:m,reject:u}];const h=g=>{Cc[e].forEach(A=>A.resolve(g))};if(n){const g=window[n];window[n]=function(){g&&g(),h(z$(r))}}o(e,g=>{g?(Cc[e].forEach(A=>A.reject(g)),Cc[e]=null):n||h(z$(r))})})};function nR1(a,e){return(0,Wx1.default)(e.config,a.config)}function lR1(a,...e){const r=[].concat(...e),n={},l=Object.keys(a);for(const o of l)r.indexOf(o)===-1&&(n[o]=a[o]);return n}function oR1(a,...e){if(!this.player||!this.player[a]){let r=`ReactPlayer: ${this.constructor.displayName} player could not call %c${a}%c – `;return this.player?this.player[a]||(r+="The method was not available"):r+="The player was not available",console.warn(r,"font-weight: bold",""),null}return this.player[a](...e)}function iR1(a){return typeof window<"u"&&typeof window.MediaStream<"u"&&a instanceof window.MediaStream}function cR1(a){return/^blob:/.test(a)}function sR1(a=document.createElement("video")){const e=/iPhone|iPod/.test(navigator.userAgent)===!1;return a.webkitSupportsPresentationMode&&typeof a.webkitSetPresentationMode=="function"&&e}function Ola(a){return a}var U$=Object.defineProperty,mR1=Object.getOwnPropertyDescriptor,uR1=Object.getOwnPropertyNames,dR1=Object.prototype.hasOwnProperty,pR1=(a,e)=>{for(var r in e)U$(a,r,{get:e[r],enumerable:!0})},hR1=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of uR1(e))!dR1.call(a,l)&&l!==r&&U$(a,l,{get:()=>e[l],enumerable:!(n=mR1(e,l))||n.enumerable});return a},fR1=a=>hR1(U$({},"__esModule",{value:!0}),a),gW={};pR1(gW,{AUDIO_EXTENSIONS:()=>q$,DASH_EXTENSIONS:()=>jW,FLV_EXTENSIONS:()=>PW,HLS_EXTENSIONS:()=>G$,MATCH_URL_DAILYMOTION:()=>wW,MATCH_URL_FACEBOOK:()=>HW,MATCH_URL_FACEBOOK_WATCH:()=>EW,MATCH_URL_KALTURA:()=>FW,MATCH_URL_MIXCLOUD:()=>SW,MATCH_URL_MUX:()=>bW,MATCH_URL_SOUNDCLOUD:()=>ZW,MATCH_URL_STREAMABLE:()=>MW,MATCH_URL_TWITCH_CHANNEL:()=>$W,MATCH_URL_TWITCH_VIDEO:()=>OW,MATCH_URL_VIDYARD:()=>LW,MATCH_URL_VIMEO:()=>yW,MATCH_URL_WISTIA:()=>VW,MATCH_URL_YOUTUBE:()=>B$,VIDEO_EXTENSIONS:()=>W$,canPlay:()=>vR1});var x6=fR1(gW),AW=Na;const B$=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ZW=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,yW=/vimeo\.com\/(?!progressive_redirect).+/,bW=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,HW=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,EW=/^https?:\/\/fb\.watch\/.+$/,MW=/streamable\.com\/([a-z0-9]+)$/,VW=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,OW=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,$W=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,wW=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,SW=/mixcloud\.com\/([^/]+\/[^/]+)/,LW=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,FW=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/,q$=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,W$=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,G$=/\.(m3u8)($|\?)/i,jW=/\.(mpd)($|\?)/i,PW=/\.(flv)($|\?)/i,Y$=a=>{if(a instanceof Array){for(const e of a)if(typeof e=="string"&&Y$(e)||Y$(e.src))return!0;return!1}return(0,AW.isMediaStream)(a)||(0,AW.isBlobUrl)(a)?!0:q$.test(a)||W$.test(a)||G$.test(a)||jW.test(a)||PW.test(a)},vR1={youtube:a=>a instanceof Array?a.every(e=>B$.test(e)):B$.test(a),soundcloud:a=>ZW.test(a)&&!q$.test(a),vimeo:a=>yW.test(a)&&!W$.test(a)&&!G$.test(a),mux:a=>bW.test(a),facebook:a=>HW.test(a)||EW.test(a),streamable:a=>MW.test(a),wistia:a=>VW.test(a),twitch:a=>OW.test(a)||$W.test(a),dailymotion:a=>wW.test(a),mixcloud:a=>SW.test(a),vidyard:a=>LW.test(a),kaltura:a=>FW.test(a),file:Y$};var Q$=Object.defineProperty,gR1=Object.getOwnPropertyDescriptor,AR1=Object.getOwnPropertyNames,ZR1=Object.prototype.hasOwnProperty,yR1=(a,e)=>{for(var r in e)Q$(a,r,{get:e[r],enumerable:!0})},bR1=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of AR1(e))!ZR1.call(a,l)&&l!==r&&Q$(a,l,{get:()=>e[l],enumerable:!(n=gR1(e,l))||n.enumerable});return a},HR1=a=>bR1(Q$({},"__esModule",{value:!0}),a),kW={};yR1(kW,{default:()=>MR1});var ER1=HR1(kW),R6=Na,c6=x6,MR1=[{key:"youtube",name:"YouTube",canPlay:c6.canPlay.youtube,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>UJt))},{key:"soundcloud",name:"SoundCloud",canPlay:c6.canPlay.soundcloud,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>r0a))},{key:"vimeo",name:"Vimeo",canPlay:c6.canPlay.vimeo,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>g0a))},{key:"mux",name:"Mux",canPlay:c6.canPlay.mux,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>w0a))},{key:"facebook",name:"Facebook",canPlay:c6.canPlay.facebook,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>D0a))},{key:"streamable",name:"Streamable",canPlay:c6.canPlay.streamable,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>X0a))},{key:"wistia",name:"Wistia",canPlay:c6.canPlay.wistia,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>u1a))},{key:"twitch",name:"Twitch",canPlay:c6.canPlay.twitch,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>M1a))},{key:"dailymotion",name:"DailyMotion",canPlay:c6.canPlay.dailymotion,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>N1a))},{key:"mixcloud",name:"Mixcloud",canPlay:c6.canPlay.mixcloud,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>Y1a))},{key:"vidyard",name:"Vidyard",canPlay:c6.canPlay.vidyard,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>cea))},{key:"kaltura",name:"Kaltura",canPlay:c6.canPlay.kaltura,lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>bea))},{key:"file",name:"FilePlayer",canPlay:c6.canPlay.file,canEnablePIP:a=>c6.canPlay.file(a)&&(document.pictureInPictureEnabled||(0,R6.supportsWebKitPresentationMode)())&&!c6.AUDIO_EXTENSIONS.test(a),lazyPlayer:(0,R6.lazy)(()=>Promise.resolve().then(()=>xea))}],_W=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function VR1(a,e){return!!(a===e||_W(a)&&_W(e))}function OR1(a,e){if(a.length!==e.length)return!1;for(var r=0;r<a.length;r++)if(!VR1(a[r],e[r]))return!1;return!0}function $R1(a,e){e===void 0&&(e=OR1);var r,n=[],l,o=!1;function c(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];return o&&r===this&&e(m,n)||(l=a.apply(this,m),o=!0,r=this,n=m),l}return c}const wR1=pH(Object.freeze(Object.defineProperty({__proto__:null,default:$R1},Symbol.toStringTag,{value:"Module"})));var SR1=typeof Element<"u",LR1=typeof Map=="function",FR1=typeof Set=="function",jR1=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Gg(a,e){if(a===e)return!0;if(a&&e&&typeof a=="object"&&typeof e=="object"){if(a.constructor!==e.constructor)return!1;var r,n,l;if(Array.isArray(a)){if(r=a.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Gg(a[n],e[n]))return!1;return!0}var o;if(LR1&&a instanceof Map&&e instanceof Map){if(a.size!==e.size)return!1;for(o=a.entries();!(n=o.next()).done;)if(!e.has(n.value[0]))return!1;for(o=a.entries();!(n=o.next()).done;)if(!Gg(n.value[1],e.get(n.value[0])))return!1;return!0}if(FR1&&a instanceof Set&&e instanceof Set){if(a.size!==e.size)return!1;for(o=a.entries();!(n=o.next()).done;)if(!e.has(n.value[0]))return!1;return!0}if(jR1&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(e)){if(r=a.length,r!=e.length)return!1;for(n=r;n--!==0;)if(a[n]!==e[n])return!1;return!0}if(a.constructor===RegExp)return a.source===e.source&&a.flags===e.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof e.valueOf=="function")return a.valueOf()===e.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof e.toString=="function")return a.toString()===e.toString();if(l=Object.keys(a),r=l.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,l[n]))return!1;if(SR1&&a instanceof Element)return!1;for(n=r;n--!==0;)if(!((l[n]==="_owner"||l[n]==="__v"||l[n]==="__o")&&a.$$typeof)&&!Gg(a[l[n]],e[l[n]]))return!1;return!0}return a!==a&&e!==e}var CW=function(e,r){try{return Gg(e,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},PR1=Object.create,Yg=Object.defineProperty,kR1=Object.getOwnPropertyDescriptor,_R1=Object.getOwnPropertyNames,CR1=Object.getPrototypeOf,NR1=Object.prototype.hasOwnProperty,TR1=(a,e)=>{for(var r in e)Yg(a,r,{get:e[r],enumerable:!0})},NW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of _R1(e))!NR1.call(a,l)&&l!==r&&Yg(a,l,{get:()=>e[l],enumerable:!(n=kR1(e,l))||n.enumerable});return a},IR1=(a,e,r)=>(r=a!=null?PR1(CR1(a)):{},NW(!a||!a.__esModule?Yg(r,"default",{value:a,enumerable:!0}):r,a)),DR1=a=>NW(Yg({},"__esModule",{value:!0}),a),TW={};TR1(TW,{defaultProps:()=>zR1,propTypes:()=>RR1});var IW=DR1(TW),xR1=IR1(cx);const{string:ma,bool:s6,number:Nc,array:K$,oneOfType:Pu,shape:v4,object:Ta,func:wt,node:DW}=xR1.default,RR1={url:Pu([ma,K$,Ta]),playing:s6,loop:s6,controls:s6,volume:Nc,muted:s6,playbackRate:Nc,width:Pu([ma,Nc]),height:Pu([ma,Nc]),style:Ta,progressInterval:Nc,playsinline:s6,pip:s6,stopOnUnmount:s6,light:Pu([s6,ma,Ta]),playIcon:DW,previewTabIndex:Nc,previewAriaLabel:ma,fallback:DW,oEmbedUrl:ma,wrapper:Pu([ma,wt,v4({render:wt.isRequired})]),config:v4({soundcloud:v4({options:Ta}),youtube:v4({playerVars:Ta,embedOptions:Ta,onUnstarted:wt}),facebook:v4({appId:ma,version:ma,playerId:ma,attributes:Ta}),dailymotion:v4({params:Ta}),vimeo:v4({playerOptions:Ta,title:ma}),mux:v4({attributes:Ta,version:ma}),file:v4({attributes:Ta,tracks:K$,forceVideo:s6,forceAudio:s6,forceHLS:s6,forceSafariHLS:s6,forceDisableHls:s6,forceDASH:s6,forceFLV:s6,hlsOptions:Ta,hlsVersion:ma,dashVersion:ma,flvVersion:ma}),wistia:v4({options:Ta,playerId:ma,customControls:K$}),mixcloud:v4({options:Ta}),twitch:v4({options:Ta,playerId:ma}),vidyard:v4({options:Ta})}),onReady:wt,onStart:wt,onPlay:wt,onPause:wt,onBuffer:wt,onBufferEnd:wt,onEnded:wt,onError:wt,onDuration:wt,onSeek:wt,onPlaybackRateChange:wt,onPlaybackQualityChange:wt,onProgress:wt,onClickPreview:wt,onEnablePIP:wt,onDisablePIP:wt},ua=()=>{},zR1={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:ua},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:ua,onStart:ua,onPlay:ua,onPause:ua,onBuffer:ua,onBufferEnd:ua,onEnded:ua,onError:ua,onDuration:ua,onSeek:ua,onPlaybackRateChange:ua,onPlaybackQualityChange:ua,onProgress:ua,onClickPreview:ua,onEnablePIP:ua,onDisablePIP:ua};var UR1=Object.create,ku=Object.defineProperty,BR1=Object.getOwnPropertyDescriptor,qR1=Object.getOwnPropertyNames,WR1=Object.getPrototypeOf,GR1=Object.prototype.hasOwnProperty,YR1=(a,e,r)=>e in a?ku(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,QR1=(a,e)=>{for(var r in e)ku(a,r,{get:e[r],enumerable:!0})},xW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of qR1(e))!GR1.call(a,l)&&l!==r&&ku(a,l,{get:()=>e[l],enumerable:!(n=BR1(e,l))||n.enumerable});return a},RW=(a,e,r)=>(r=a!=null?UR1(WR1(a)):{},xW(!a||!a.__esModule?ku(r,"default",{value:a,enumerable:!0}):r,a)),KR1=a=>xW(ku({},"__esModule",{value:!0}),a),lt=(a,e,r)=>(YR1(a,typeof e!="symbol"?e+"":e,r),r),zW={};QR1(zW,{default:()=>Qg});var XR1=KR1(zW),UW=RW(p),JR1=RW(CW),BW=IW,ez1=Na;const tz1=5e3;class Qg extends UW.Component{constructor(){super(...arguments),lt(this,"mounted",!1),lt(this,"isReady",!1),lt(this,"isPlaying",!1),lt(this,"isLoading",!0),lt(this,"loadOnReady",null),lt(this,"startOnPlay",!0),lt(this,"seekOnPlay",null),lt(this,"onDurationCalled",!1),lt(this,"handlePlayerMount",e=>{if(this.player){this.progress();return}this.player=e,this.player.load(this.props.url),this.progress()}),lt(this,"getInternalPlayer",e=>this.player?this.player[e]:null),lt(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){const e=this.getCurrentTime()||0,r=this.getSecondsLoaded(),n=this.getDuration();if(n){const l={playedSeconds:e,played:e/n};r!==null&&(l.loadedSeconds=r,l.loaded=r/n),(l.playedSeconds!==this.prevPlayed||l.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(l),this.prevPlayed=l.playedSeconds,this.prevLoaded=l.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),lt(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;const{onReady:e,playing:r,volume:n,muted:l}=this.props;e(),!l&&n!==null&&this.player.setVolume(n),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):r&&this.player.play(),this.handleDurationCheck()}),lt(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;const{onStart:e,onPlay:r,playbackRate:n}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&n!==1&&this.player.setPlaybackRate(n),e(),this.startOnPlay=!1),r(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),lt(this,"handlePause",e=>{this.isPlaying=!1,this.isLoading||this.props.onPause(e)}),lt(this,"handleEnded",()=>{const{activePlayer:e,loop:r,onEnded:n}=this.props;e.loopOnEnded&&r&&this.seekTo(0),r||(this.isPlaying=!1,n())}),lt(this,"handleError",(...e)=>{this.isLoading=!1,this.props.onError(...e)}),lt(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);const e=this.getDuration();e?this.onDurationCalled||(this.props.onDuration(e),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),lt(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}componentDidUpdate(e){if(!this.player)return;const{url:r,playing:n,volume:l,muted:o,playbackRate:c,pip:m,loop:u,activePlayer:h,disableDeferredLoading:g}=this.props;if(!(0,JR1.default)(e.url,r)){if(this.isLoading&&!h.forceLoad&&!g&&!(0,ez1.isMediaStream)(r)){console.warn(`ReactPlayer: the attempt to load ${r} is being deferred until the player has loaded`),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}!e.playing&&n&&!this.isPlaying&&this.player.play(),e.playing&&!n&&this.isPlaying&&this.player.pause(),!e.pip&&m&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!m&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==l&&l!==null&&this.player.setVolume(l),e.muted!==o&&(o?this.player.mute():(this.player.unmute(),l!==null&&setTimeout(()=>this.player.setVolume(l)))),e.playbackRate!==c&&this.player.setPlaybackRate&&this.player.setPlaybackRate(c),e.loop!==u&&this.player.setLoop&&this.player.setLoop(u)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(e,r,n){if(!this.isReady){e!==0&&(this.seekOnPlay=e,setTimeout(()=>{this.seekOnPlay=null},tz1));return}if(r?r==="fraction":e>0&&e<1){const o=this.player.getDuration();if(!o){console.warn("ReactPlayer: could not seek using fraction – duration not yet available");return}this.player.seekTo(o*e,n);return}this.player.seekTo(e,n)}render(){const e=this.props.activePlayer;return e?UW.default.createElement(e,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}lt(Qg,"displayName","Player"),lt(Qg,"propTypes",BW.propTypes),lt(Qg,"defaultProps",BW.defaultProps);var az1=Object.create,_u=Object.defineProperty,rz1=Object.getOwnPropertyDescriptor,nz1=Object.getOwnPropertyNames,lz1=Object.getPrototypeOf,oz1=Object.prototype.hasOwnProperty,iz1=(a,e,r)=>e in a?_u(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,cz1=(a,e)=>{for(var r in e)_u(a,r,{get:e[r],enumerable:!0})},qW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of nz1(e))!oz1.call(a,l)&&l!==r&&_u(a,l,{get:()=>e[l],enumerable:!(n=rz1(e,l))||n.enumerable});return a},Cu=(a,e,r)=>(r=a!=null?az1(lz1(a)):{},qW(!a||!a.__esModule?_u(r,"default",{value:a,enumerable:!0}):r,a)),sz1=a=>qW(_u({},"__esModule",{value:!0}),a),ot=(a,e,r)=>(iz1(a,typeof e!="symbol"?e+"":e,r),r),WW={};cz1(WW,{createReactPlayer:()=>Az1});var mz1=sz1(WW),Tc=Cu(p),uz1=Cu(pW),X$=Cu(wR1),GW=Cu(CW),Nu=IW,YW=Na,dz1=Cu(XR1);const pz1=(0,YW.lazy)(()=>Promise.resolve().then(()=>Xea)),hz1=typeof window<"u"&&window.document&&typeof document<"u",fz1=typeof he<"u"&&he.window&&he.window.document,vz1=Object.keys(Nu.propTypes),gz1=hz1||fz1?Tc.Suspense:()=>null,Tu=[],Az1=(a,e)=>{var r;return r=class extends Tc.Component{constructor(){super(...arguments),ot(this,"state",{showPreview:!!this.props.light}),ot(this,"references",{wrapper:n=>{this.wrapper=n},player:n=>{this.player=n}}),ot(this,"handleClickPreview",n=>{this.setState({showPreview:!1}),this.props.onClickPreview(n)}),ot(this,"showPreview",()=>{this.setState({showPreview:!0})}),ot(this,"getDuration",()=>this.player?this.player.getDuration():null),ot(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),ot(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),ot(this,"getInternalPlayer",(n="player")=>this.player?this.player.getInternalPlayer(n):null),ot(this,"seekTo",(n,l,o)=>{if(!this.player)return null;this.player.seekTo(n,l,o)}),ot(this,"handleReady",()=>{this.props.onReady(this)}),ot(this,"getActivePlayer",(0,X$.default)(n=>{for(const l of[...Tu,...a])if(l.canPlay(n))return l;return e||null})),ot(this,"getConfig",(0,X$.default)((n,l)=>{const{config:o}=this.props;return uz1.default.all([Nu.defaultProps.config,Nu.defaultProps.config[l]||{},o,o[l]||{}])})),ot(this,"getAttributes",(0,X$.default)(n=>(0,YW.omit)(this.props,vz1))),ot(this,"renderActivePlayer",n=>{if(!n)return null;const l=this.getActivePlayer(n);if(!l)return null;const o=this.getConfig(n,l.key);return Tc.default.createElement(dz1.default,{...this.props,key:l.key,ref:this.references.player,config:o,activePlayer:l.lazyPlayer||l,onReady:this.handleReady})})}shouldComponentUpdate(n,l){return!(0,GW.default)(this.props,n)||!(0,GW.default)(this.state,l)}componentDidUpdate(n){const{light:l}=this.props;!n.light&&l&&this.setState({showPreview:!0}),n.light&&!l&&this.setState({showPreview:!1})}renderPreview(n){if(!n)return null;const{light:l,playIcon:o,previewTabIndex:c,oEmbedUrl:m,previewAriaLabel:u}=this.props;return Tc.default.createElement(pz1,{url:n,light:l,playIcon:o,previewTabIndex:c,previewAriaLabel:u,oEmbedUrl:m,onClick:this.handleClickPreview})}render(){const{url:n,style:l,width:o,height:c,fallback:m,wrapper:u}=this.props,{showPreview:h}=this.state,g=this.getAttributes(n),A=typeof u=="string"?this.references.wrapper:void 0;return Tc.default.createElement(u,{ref:A,style:{...l,width:o,height:c},...g},Tc.default.createElement(gz1,{fallback:m},h?this.renderPreview(n):this.renderActivePlayer(n)))}},ot(r,"displayName","ReactPlayer"),ot(r,"propTypes",Nu.propTypes),ot(r,"defaultProps",Nu.defaultProps),ot(r,"addCustomPlayer",n=>{Tu.push(n)}),ot(r,"removeCustomPlayers",()=>{Tu.length=0}),ot(r,"canPlay",n=>{for(const l of[...Tu,...a])if(l.canPlay(n))return!0;return!1}),ot(r,"canEnablePIP",n=>{for(const l of[...Tu,...a])if(l.canEnablePIP&&l.canEnablePIP(n))return!0;return!1}),r};var Zz1=Object.create,Kg=Object.defineProperty,yz1=Object.getOwnPropertyDescriptor,bz1=Object.getOwnPropertyNames,Hz1=Object.getPrototypeOf,Ez1=Object.prototype.hasOwnProperty,Mz1=(a,e)=>{for(var r in e)Kg(a,r,{get:e[r],enumerable:!0})},QW=(a,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of bz1(e))!Ez1.call(a,l)&&l!==r&&Kg(a,l,{get:()=>e[l],enumerable:!(n=yz1(e,l))||n.enumerable});return a},Vz1=(a,e,r)=>(r=a!=null?Zz1(Hz1(a)):{},QW(!a||!a.__esModule?Kg(r,"default",{value:a,enumerable:!0}):r,a)),Oz1=a=>QW(Kg({},"__esModule",{value:!0}),a),KW={};Mz1(KW,{default:()=>Lz1});var $z1=Oz1(KW),J$=Vz1(ER1),wz1=mz1;const Sz1=J$.default[J$.default.length-1];var Lz1=(0,wz1.createReactPlayer)(J$.default,Sz1);const Fz1=$2($z1),jz1=({media:a,shouldSendInteractions:e})=>{const r=Wk1();return p.useCallback((n,l)=>{if(!(!(a!=null&&a.id)||!e||!r))return r({media:a,action:n,data:l})},[a,e,r])},Pz1=({media:a,livestream:e,content:r,playerRef:n})=>{const l=vB(),o=p.useRef(new Date().getTime());return p.useCallback((c,m)=>{var h,g;const u=new Date;return l.track(c,{sessionId:o.current,contentAssetId:r==null?void 0:r.id,parentOriginId:r==null?void 0:r.originId,originId:a==null?void 0:a.originId,originSource:a==null?void 0:a.originType,videoPlayer:"Apollos Web",livestream:!1,timestamp:u.toUTCString(),title:r==null?void 0:r.title,totalLength:(a==null?void 0:a.duration)||((h=n.current)==null?void 0:h.getDuration()),position:(g=n.current)==null?void 0:g.getCurrentTime(),publishedAt:r!=null&&r.publishDate?new Date(parseInt(r==null?void 0:r.publishDate,10)):null,...e?{contentAssetId:`livestream_${u.getFullYear()}_${u.getMonth()+1}_${u.getDate()}`,livestream:!0,publishedAt:new Date(e.start||u)}:{},...m})},[a,e,r,l,n])},Xg={wrapper:"rounded-xl w-full overflow-hidden",video:"aspect-video"},kz1=10,_z1=({media:a,coverImage:e,livestream:r,content:n,shouldSendInteractions:l,...o})=>{var K,Y,o0,a0,t0,l0;const c=p.useRef(null),m=p.useRef(0),u=Pz1({media:a,livestream:r,content:n,playerRef:c}),h=jz1({media:a,shouldSendInteractions:l}),[g,A]=p.useState(!0),y=p.useRef(!1),E=p.useRef(0);p.useEffect(()=>()=>{y.current&&u("VideoPlaybackExited")},[]);const M=async()=>{var e0,G0;if(r)I();else{const y0=((e0=a==null?void 0:a.userProgress)==null?void 0:e0.playhead)||0;y0>0&&g&&E.current!==y0&&(E.current=y0,(G0=c.current)==null||G0.seekTo(y0))}},O=async()=>{u("VideoPlaybackCompleted"),h("COMPLETE")},S=()=>{g?(A(!1),u("VideoPlaybackResumed")):u("VideoPlaybackStarted"),y.current||(y.current=!0)},F=()=>{var e0;g||(A(!0),u("VideoPlaybackPaused"),h("VIEW",{progress:(e0=c.current)==null?void 0:e0.getCurrentTime()}))},j=e0=>{e0.playbackRate===0?F():S()},k=()=>{u("VideoPlaybackSeekCompleted")},N=({played:e0})=>{var y0;const G0=((y0=c.current)==null?void 0:y0.getCurrentTime())||0;e0&&Math.abs(G0-m.current)>=kz1&&(m.current=G0,h("VIEW",{progress:G0}))},C=(e0,...G0)=>{console.error("Video error",e0,G0),u("VideoPlaybackInterrupted")};if(a!=null&&a.embedHtml)return w.jsx("div",{className:Ze(Xg.wrapper),dangerouslySetInnerHTML:{__html:a.embedHtml}});if(!((Y=(K=a==null?void 0:a.sources)==null?void 0:K[0])!=null&&Y.uri)||typeof document>"u")return w.jsx(pB,{image:e??void 0,className:Ze(Xg.wrapper)});const I=()=>{var L0;if(!(r!=null&&r.start)||!c.current)return;const e0=new Date(r.start),g0=(new Date().getTime()-e0.getTime())/1e3;(L0=c.current)==null||L0.seekTo(g0)},z=(a0=(o0=e==null?void 0:e.sources)==null?void 0:o0[0])==null?void 0:a0.uri,q={file:{attributes:{autoPlay:!!r,...z?{poster:z}:{}},hlsVersion:"1.5.19"}};return w.jsx("div",{className:Ze(Xg.wrapper,Xg.video),children:w.jsx(Fz1,{ref:c,url:(l0=(t0=a==null?void 0:a.sources)==null?void 0:t0[0])==null?void 0:l0.uri,controls:!0,config:q,playing:r?!0:o.playing,playsinline:!0,width:"100%",height:"100%",onReady:M,onEnded:O,onPlay:S,onPause:F,onSeeked:k,onProgress:N,onError:C,onPlaybackRateChange:j,light:z||!0,...o})})},Cz1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M240.49,103.52l-80-80A12,12,0,0,0,140,32V68.74c-25.76,3.12-53.66,15.89-76.75,35.47-29.16,24.74-47.32,56.69-51.14,90A16,16,0,0,0,39.67,207h0c10.46-11.14,47-45.74,100.33-50.42V192a12,12,0,0,0,20.48,8.48l80-80A12,12,0,0,0,240.49,103.52ZM164,163V144a12,12,0,0,0-12-12c-49,0-86.57,21.56-109.79,40.11,7.13-18.16,19.63-35.22,36.57-49.59C101.3,103.41,128.67,92,152,92a12,12,0,0,0,12-12V61l51,51Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M152,192V144c-61.4,0-104.61,37.19-121.07,54.72a4,4,0,0,1-6.9-3.18C31.51,130.45,99.19,80,152,80V32l80,80Z",opacity:"0.2"}),t.createElement("path",{d:"M237.66,106.35l-80-80A8,8,0,0,0,144,32V72.35c-25.94,2.22-54.59,14.92-78.16,34.91-28.38,24.08-46.05,55.11-49.76,87.37a12,12,0,0,0,20.68,9.58h0c11-11.71,50.14-48.74,107.24-52V192a8,8,0,0,0,13.66,5.65l80-80A8,8,0,0,0,237.66,106.35ZM160,172.69V144a8,8,0,0,0-8-8c-28.08,0-55.43,7.33-81.29,21.8a196.17,196.17,0,0,0-36.57,26.52c5.8-23.84,20.42-46.51,42.05-64.86C99.41,99.77,127.75,88,152,88a8,8,0,0,0,8-8V51.32L220.69,112Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M237.66,117.66l-80,80A8,8,0,0,1,144,192V152.23c-57.1,3.24-96.25,40.27-107.24,52h0a12,12,0,0,1-20.68-9.58c3.71-32.26,21.38-63.29,49.76-87.37,23.57-20,52.22-32.69,78.16-34.91V32a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,237.66,117.66Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M236.24,107.76l-80-80A6,6,0,0,0,146,32V74.2c-54.48,3.59-120.39,55-127.93,120.66a10,10,0,0,0,17.23,8h0C46.56,190.85,87,152.6,146,150.13V192a6,6,0,0,0,10.24,4.24l80-80A6,6,0,0,0,236.24,107.76ZM158,177.52V144a6,6,0,0,0-6-6c-27.73,0-54.76,7.25-80.32,21.55a193.38,193.38,0,0,0-40.81,30.65c4.7-26.56,20.16-52,44-72.27C98.47,97.94,127.29,86,152,86a6,6,0,0,0,6-6V46.49L223.51,112Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M237.66,106.35l-80-80A8,8,0,0,0,144,32V72.35c-25.94,2.22-54.59,14.92-78.16,34.91-28.38,24.08-46.05,55.11-49.76,87.37a12,12,0,0,0,20.68,9.58h0c11-11.71,50.14-48.74,107.24-52V192a8,8,0,0,0,13.66,5.65l80-80A8,8,0,0,0,237.66,106.35ZM160,172.69V144a8,8,0,0,0-8-8c-28.08,0-55.43,7.33-81.29,21.8a196.17,196.17,0,0,0-36.57,26.52c5.8-23.84,20.42-46.51,42.05-64.86C99.41,99.77,127.75,88,152,88a8,8,0,0,0,8-8V51.32L220.69,112Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M234.83,109.17l-80-80A4,4,0,0,0,148,32V76.09c-54,2.44-120.43,53.55-127.94,119a7.87,7.87,0,0,0,4.58,8.16,8,8,0,0,0,3.41.77,7.9,7.9,0,0,0,5.79-2.55h0c11.53-12.27,53.29-51.73,114.16-53.4V192a4,4,0,0,0,6.83,2.83l80-80A4,4,0,0,0,234.83,109.17ZM156,182.33V144a4,4,0,0,0-4-4c-27.39,0-54.08,7.17-79.34,21.3A189.91,189.91,0,0,0,28,196l2.92,2.74L28,196c3.36-29.21,19.55-57.48,45.6-79.57C97.53,96.11,126.83,84,152,84a4,4,0,0,0,4-4V41.66L226.34,112Z"}))]]);var Nz1=Object.defineProperty,Tz1=Object.defineProperties,Iz1=Object.getOwnPropertyDescriptors,XW=Object.getOwnPropertySymbols,Dz1=Object.prototype.hasOwnProperty,xz1=Object.prototype.propertyIsEnumerable,JW=(a,e,r)=>e in a?Nz1(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,Rz1=(a,e)=>{for(var r in e||(e={}))Dz1.call(e,r)&&JW(a,r,e[r]);if(XW)for(var r of XW(e))xz1.call(e,r)&&JW(a,r,e[r]);return a},zz1=(a,e)=>Tz1(a,Iz1(e));const Jg=p.forwardRef((a,e)=>t.createElement(b,zz1(Rz1({ref:e},a),{weights:Cz1})));Jg.displayName="ShareFat";const Uz1=Object.freeze(Object.defineProperty({__proto__:null,ShareFat:Jg},Symbol.toStringTag,{value:"Module"})),Bz1=(a=[])=>(a==null?void 0:a.filter(e=>((e==null?void 0:e.features)||[]).some(r=>r&&Object.keys(r).some(n=>!["id","__typename"].includes(n)))))||[],qz1=({content:a,setIsCTAOpen:e,setInteractionType:r})=>{var n,l;return w.jsx("div",{className:"flex justify-end",children:w.jsxs("div",{className:"fixed right-0 bottom-0 mr-4 [@media(width>=56rem)]:mr-8 [@media(width>=80rem)]:-mr-72 [@media(width>=80rem)]:right-auto mt-4 mb-8 py-1 flex flex-col justify-between items-center",children:[w.jsx("div",{className:"mb-4",children:w.jsx(ze,{onClick:()=>{e(!0),r(nt.Like)},circular:!0,children:w.jsxs("div",{className:"flex flex-col px-1.5 items-center",children:[w.jsx(Hu,{weight:a!=null&&a.isLiked?"fill":"regular",size:20,className:`md:hidden ${a!=null&&a.isLiked?"fill-action":""}`}),w.jsx(Hu,{weight:a!=null&&a.isLiked?"fill":"regular",size:28,className:`hidden md:flex ${a!=null&&a.isLiked?"fill-action":""}`}),a.likedCount?w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"absolute -bottom-2.5 bg-white dark:bg-brand px-2 rounded-full text-xs z-9",children:w.jsx(Je,{fg:"secondary",className:"text-sm text-white dark:text-brand",children:a.likedCount})}),w.jsx("span",{className:"absolute -bottom-2.5 bg-accent/20 dark:bg-brand px-2 rounded-full text-xs z-10",children:w.jsx(Je,{fg:"secondary",className:"text-sm text-accent/100",children:a.likedCount})})]}):null]})})}),a.commentsEnabled?w.jsx("div",{className:"mb-4",children:w.jsx(ze,{onClick:()=>{e(!0),r(nt.Comment)},circular:!0,children:w.jsxs("div",{className:"flex flex-col px-1.5 items-center",children:[w.jsx(bg,{weight:"fill",size:20,className:"md:hidden"}),w.jsx(bg,{weight:"fill",size:28,className:"hidden md:flex"}),Fl(a.comments)?null:w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"absolute -bottom-2.5 bg-white dark:bg-brand px-2 rounded-full text-xs z-9",children:w.jsx(Je,{fg:"secondary",className:"text-sm text-white dark:text-brand",children:((n=a.comments)==null?void 0:n.length)??0})}),w.jsx("span",{className:"absolute -bottom-2.5 bg-accent/20 dark:bg-brand px-2 rounded-full text-xs z-10",children:w.jsx(Je,{fg:"secondary",className:"text-sm text-accent/100",children:((l=a.comments)==null?void 0:l.length)??0})})]})]})})}):null,a.sharing?w.jsxs(bx1,{circular:!0,sharable:a.sharing,children:[w.jsx(Jg,{weight:"fill",size:20,className:"mx-1.5 text-fg-secondary dark:text-fg-secondary-dark md:hidden"}),w.jsx(Jg,{weight:"fill",size:28,className:"mx-2 text-fg-secondary dark:text-fg-secondary-dark hidden md:flex"})]}):w.jsx("div",{})]})})},Wz1=({content:a,currentChurch:e,isInteractionEnabled:r=!1,userCanComment:n,userProfile:l})=>{var S,F,j,k;const o=V$(),[c,m]=p.useState(!1),[u,h]=p.useState(nt.Default),g=p.useMemo(()=>Bz1(a.pages),[a.pages]);if(!a)return null;const A=(S=a==null?void 0:a.videos)==null?void 0:S.find(N=>N&&N.sources&&N.sources.length>0),y=((F=a==null?void 0:a.childContentItemsConnection)==null?void 0:F.edges)??[],E=((j=a==null?void 0:a.siblingContentItemsConnection)==null?void 0:j.edges)??[],M="md:border md:border-system-regular md:rounded-3xl py-6 md:p-6 mb-8 border-b border-b-system-regular",O=(g==null?void 0:g.length)&&(g==null?void 0:g.length)>1;return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:O?M:"",children:[w.jsx(_z1,{media:A??void 0,coverImage:(a==null?void 0:a.coverImage)??void 0,content:a??void 0,shouldSendInteractions:!!n}),w.jsxs("div",{className:"mt-6 md:mt-12 mb-4 mx-auto [&>*]:mx-auto [&>*]:max-w-[65ch]",children:[w.jsx("div",{className:"prose dark:prose-invert",children:w.jsx(Je,{as:"h1",children:a.title})}),w.jsx("div",{className:"h-px bg-system-thin my-8"}),a.htmlContent?w.jsx(eq,{feature:{content:a.htmlContent}}):null,g!=null&&g.length?w.jsx("div",{className:"flex flex-col gap-4",children:w.jsx(N$,{features:((k=g[0])==null?void 0:k.features)??[],church:e,userProfile:l,isInteractionEnabled:r})}):null]})]}),g==null?void 0:g.slice(1).map(N=>{var C;return N&&((C=N.features)==null?void 0:C.length)&&N.features.length>0&&w.jsx("div",{className:M,children:w.jsx("div",{className:"flex flex-col gap-4",children:w.jsx(N$,{features:N.features??[],church:e,userProfile:l})})},N.id)}),w.jsxs("div",{className:"mx-auto [&>*]:mx-auto [&>*]:max-w-[65ch]",children:[r?w.jsx(qz1,{content:a,setIsCTAOpen:m,setInteractionType:h}):null,y.length?w.jsx(rg,{className:"mt-10",children:y.map(N=>{var I,z,q,K,Y,o0,a0;const C=(q=(((z=(I=N==null?void 0:N.node)==null?void 0:I.coverImage)==null?void 0:z.sources)??[])[0])==null?void 0:q.uri;return w.jsx(su,{as:BV,to:{contentId:(K=N==null?void 0:N.node)==null?void 0:K.id},title:((Y=N==null?void 0:N.node)==null?void 0:Y.title)??void 0,subtitle:(o0=N==null?void 0:N.node)==null?void 0:o0.summary,leadingAccessory:w.jsx(mu,{src:C??void 0}),trailingAccessory:w.jsx(yu,{})},(a0=N==null?void 0:N.node)==null?void 0:a0.id)})}):null,a!=null&&a.parentItem?w.jsxs("div",{className:"mt-12",children:[w.jsx(Je,{as:"h3",className:"mb-4",children:"This series"}),w.jsx(fB,{content:a==null?void 0:a.parentItem})]}):null,E.length?w.jsxs("div",{className:"mt-10",children:[w.jsx(Je,{as:"h3",children:"In this series"}),w.jsx(DO,{children:E.map(N=>{var C;return w.jsx(fB,{content:(N==null?void 0:N.node)??void 0,horizontal:!0},(C=N==null?void 0:N.node)==null?void 0:C.id)})})]}):null]}),w.jsx(wu,{type:u,currentPageParams:o,isOpen:c,setIsOpen:m,church:e,hasComments:!Fl(a.comments),hasLikes:!!((a==null?void 0:a.likedCount)??0)})]})};h2(`
791
791
  fragment ContentItemFragment on ContentItem {
792
792
  id
793
793
  title
@@ -1061,7 +1061,7 @@ Has styled-components' style tag been unmounted or altered by another script?
1061
1061
  `}:{};function cJ1(){for(var a=arguments.length<=0?void 0:arguments[0],e=[],r=1,n=arguments.length;r<n;r+=1)e.push(r<0||arguments.length<=r?void 0:arguments[r]);return e.forEach(function(l){a=a.replace(/%[a-z]/,l)}),a}function Il(a){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];throw _2.NODE_ENV==="production"?new Error("An error occurred. See https://git.io/JUIaE#"+a+" for more information."+(r.length>0?" Args: "+r.join(", "):"")):new Error(cJ1.apply(void 0,[iJ1[a]].concat(r)).trim())}var sJ1=function(){function a(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}var e=a.prototype;return e.indexOfGroup=function(r){for(var n=0,l=0;l<r;l++)n+=this.groupSizes[l];return n},e.insertRules=function(r,n){if(r>=this.groupSizes.length){for(var l=this.groupSizes,o=l.length,c=o;r>=c;)(c<<=1)<0&&Il(16,""+r);this.groupSizes=new Uint32Array(c),this.groupSizes.set(l),this.length=c;for(var m=o;m<c;m++)this.groupSizes[m]=0}for(var u=this.indexOfGroup(r+1),h=0,g=n.length;h<g;h++)this.tag.insertRule(u,n[h])&&(this.groupSizes[r]++,u++)},e.clearGroup=function(r){if(r<this.length){var n=this.groupSizes[r],l=this.indexOfGroup(r),o=l+n;this.groupSizes[r]=0;for(var c=l;c<o;c++)this.tag.deleteRule(l)}},e.getGroup=function(r){var n="";if(r>=this.length||this.groupSizes[r]===0)return n;for(var l=this.groupSizes[r],o=this.indexOfGroup(r),c=o+l,m=o;m<c;m++)n+=this.tag.getRule(m)+`/*!sc*/
1062
1062
  `;return n},a}(),xA=new Map,RA=new Map,Ku=1,zA=function(a){if(xA.has(a))return xA.get(a);for(;RA.has(Ku);)Ku++;var e=Ku++;return _2.NODE_ENV!=="production"&&((0|e)<0||e>1<<30)&&Il(16,""+e),xA.set(a,e),RA.set(e,a),e},mJ1=function(a){return RA.get(a)},uJ1=function(a,e){e>=Ku&&(Ku=e+1),xA.set(a,e),RA.set(e,a)},dJ1="style["+n9+'][data-styled-version="5.3.11"]',pJ1=new RegExp("^"+n9+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),hJ1=function(a,e,r){for(var n,l=r.split(","),o=0,c=l.length;o<c;o++)(n=l[o])&&a.registerName(e,n)},fJ1=function(a,e){for(var r=(e.textContent||"").split(`/*!sc*/
1063
1063
  `),n=[],l=0,o=r.length;l<o;l++){var c=r[l].trim();if(c){var m=c.match(pJ1);if(m){var u=0|parseInt(m[1],10),h=m[2];u!==0&&(uJ1(h,u),hJ1(a,h,m[3]),a.getTag().insertRules(u,n)),n.length=0}else n.push(c)}}},vJ1=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},HQ=function(a){var e=document.head,r=a||e,n=document.createElement("style"),l=function(m){for(var u=m.childNodes,h=u.length;h>=0;h--){var g=u[h];if(g&&g.nodeType===1&&g.hasAttribute(n9))return g}}(r),o=l!==void 0?l.nextSibling:null;n.setAttribute(n9,"active"),n.setAttribute("data-styled-version","5.3.11");var c=vJ1();return c&&n.setAttribute("nonce",c),r.insertBefore(n,o),n},gJ1=function(){function a(r){var n=this.element=HQ(r);n.appendChild(document.createTextNode("")),this.sheet=function(l){if(l.sheet)return l.sheet;for(var o=document.styleSheets,c=0,m=o.length;c<m;c++){var u=o[c];if(u.ownerNode===l)return u}Il(17)}(n),this.length=0}var e=a.prototype;return e.insertRule=function(r,n){try{return this.sheet.insertRule(n,r),this.length++,!0}catch{return!1}},e.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},e.getRule=function(r){var n=this.sheet.cssRules[r];return n!==void 0&&typeof n.cssText=="string"?n.cssText:""},a}(),AJ1=function(){function a(r){var n=this.element=HQ(r);this.nodes=n.childNodes,this.length=0}var e=a.prototype;return e.insertRule=function(r,n){if(r<=this.length&&r>=0){var l=document.createTextNode(n),o=this.nodes[r];return this.element.insertBefore(l,o||null),this.length++,!0}return!1},e.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},e.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},a}(),ZJ1=function(){function a(r){this.rules=[],this.length=0}var e=a.prototype;return e.insertRule=function(r,n){return r<=this.length&&(this.rules.splice(r,0,n),this.length++,!0)},e.deleteRule=function(r){this.rules.splice(r,1),this.length--},e.getRule=function(r){return r<this.length?this.rules[r]:""},a}(),EQ=IS,yJ1={isServer:!IS,useCSSOMInjection:!oJ1},MQ=function(){function a(r,n,l){r===void 0&&(r=Ao),n===void 0&&(n={}),this.options=Pr({},yJ1,{},r),this.gs=n,this.names=new Map(l),this.server=!!r.isServer,!this.server&&IS&&EQ&&(EQ=!1,function(o){for(var c=document.querySelectorAll(dJ1),m=0,u=c.length;m<u;m++){var h=c[m];h&&h.getAttribute(n9)!=="active"&&(fJ1(o,h),h.parentNode&&h.parentNode.removeChild(h))}}(this))}a.registerId=function(r){return zA(r)};var e=a.prototype;return e.reconstructWithOptions=function(r,n){return n===void 0&&(n=!0),new a(Pr({},this.options,{},r),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},e.getTag=function(){return this.tag||(this.tag=(l=(n=this.options).isServer,o=n.useCSSOMInjection,c=n.target,r=l?new ZJ1(c):o?new gJ1(c):new AJ1(c),new sJ1(r)));var r,n,l,o,c},e.hasNameForId=function(r,n){return this.names.has(r)&&this.names.get(r).has(n)},e.registerName=function(r,n){if(zA(r),this.names.has(r))this.names.get(r).add(n);else{var l=new Set;l.add(n),this.names.set(r,l)}},e.insertRules=function(r,n,l){this.registerName(r,n),this.getTag().insertRules(zA(r),l)},e.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},e.clearRules=function(r){this.getTag().clearGroup(zA(r)),this.clearNames(r)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(r){for(var n=r.getTag(),l=n.length,o="",c=0;c<l;c++){var m=mJ1(c);if(m!==void 0){var u=r.names.get(m),h=n.getGroup(c);if(u&&h&&u.size){var g=n9+".g"+c+'[id="'+m+'"]',A="";u!==void 0&&u.forEach(function(y){y.length>0&&(A+=y+",")}),o+=""+h+g+'{content:"'+A+`"}/*!sc*/
1064
- `}}}return o}(this)},a}(),bJ1=/(a)(d)/gi,VQ=function(a){return String.fromCharCode(a+(a>25?39:97))};function DS(a){var e,r="";for(e=Math.abs(a);e>52;e=e/52|0)r=VQ(e%52)+r;return(VQ(e%52)+r).replace(bJ1,"$1-$2")}var Z5=function(a,e){for(var r=e.length;r;)a=33*a^e.charCodeAt(--r);return a},OQ=function(a){return Z5(5381,a)};function HJ1(a){for(var e=0;e<a.length;e+=1){var r=a[e];if(r9(r)&&!TS(r))return!1}return!0}var EJ1=OQ("5.3.11"),MJ1=function(){function a(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=_2.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&HJ1(e),this.componentId=r,this.baseHash=Z5(EJ1,r),this.baseStyle=n,MQ.registerId(r)}return a.prototype.generateAndInjectStyles=function(e,r,n){var l=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,r,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(l,this.staticRulesId))o.push(this.staticRulesId);else{var c=l9(this.rules,e,r,n).join(""),m=DS(Z5(this.baseHash,c)>>>0);if(!r.hasNameForId(l,m)){var u=n(c,"."+m,void 0,l);r.insertRules(l,m,u)}o.push(m),this.staticRulesId=m}else{for(var h=this.rules.length,g=Z5(this.baseHash,n.hash),A="",y=0;y<h;y++){var E=this.rules[y];if(typeof E=="string")A+=E,_2.NODE_ENV!=="production"&&(g=Z5(g,E+y));else if(E){var M=l9(E,e,r,n),O=Array.isArray(M)?M.join(""):M;g=Z5(g,O+y),A+=O}}if(A){var S=DS(g>>>0);if(!r.hasNameForId(l,S)){var F=n(A,"."+S,void 0,l);r.insertRules(l,S,F)}o.push(S)}}return o.join(" ")},a}(),VJ1=/^\s*\/\/.*$/gm,OJ1=[":","[",".","#"];function $J1(a){var e,r,n,l,o=Ao,c=o.options,m=c===void 0?Ao:c,u=o.plugins,h=u===void 0?DA:u,g=new aJ1(m),A=[],y=function(O){function S(F){if(F)try{O(F+"}")}catch{}}return function(F,j,k,N,C,I,z,q,K,Y){switch(F){case 1:if(K===0&&j.charCodeAt(0)===64)return O(j+";"),"";break;case 2:if(q===0)return j+"/*|*/";break;case 3:switch(q){case 102:case 112:return O(k[0]+j),"";default:return j+(Y===0?"/*|*/":"")}case-2:j.split("/*|*/}").forEach(S)}}}(function(O){A.push(O)}),E=function(O,S,F){return S===0&&OJ1.indexOf(F[r.length])!==-1||F.match(l)?O:"."+e};function M(O,S,F,j){j===void 0&&(j="&");var k=O.replace(VJ1,""),N=S&&F?F+" "+S+" { "+k+" }":k;return e=j,r=S,n=new RegExp("\\"+r+"\\b","g"),l=new RegExp("(\\"+r+"\\b){2,}"),g(F||!S?"":S,N)}return g.use([].concat(h,[function(O,S,F){O===2&&F.length&&F[0].lastIndexOf(r)>0&&(F[0]=F[0].replace(n,E))},y,function(O){if(O===-2){var S=A;return A=[],S}}])),M.hash=h.length?h.reduce(function(O,S){return S.name||Il(15),Z5(O,S.name)},5381).toString():"",M}var $Q=t.createContext();$Q.Consumer;var wQ=t.createContext(),wJ1=(wQ.Consumer,new MQ),xS=$J1();function SJ1(){return p.useContext($Q)||wJ1}function LJ1(){return p.useContext(wQ)||xS}var SQ=function(){function a(e,r){var n=this;this.inject=function(l,o){o===void 0&&(o=xS);var c=n.name+o.hash;l.hasNameForId(n.id,c)||l.insertRules(n.id,c,o(n.rules,c,"@keyframes"))},this.toString=function(){return Il(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=r}return a.prototype.getName=function(e){return e===void 0&&(e=xS),this.name+e.hash},a}(),FJ1=/([A-Z])/,jJ1=/([A-Z])/g,PJ1=/^ms-/,kJ1=function(a){return"-"+a.toLowerCase()};function LQ(a){return FJ1.test(a)?a.replace(jJ1,kJ1).replace(PJ1,"-ms-"):a}var FQ=function(a){return a==null||a===!1||a===""};function l9(a,e,r,n){if(Array.isArray(a)){for(var l,o=[],c=0,m=a.length;c<m;c+=1)(l=l9(a[c],e,r,n))!==""&&(Array.isArray(l)?o.push.apply(o,l):o.push(l));return o}if(FQ(a))return"";if(TS(a))return"."+a.styledComponentId;if(r9(a)){if(typeof(h=a)!="function"||h.prototype&&h.prototype.isReactComponent||!e)return a;var u=a(e);return _2.NODE_ENV!=="production"&&G7.isElement(u)&&console.warn(Qu(a)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),l9(u,e,r,n)}var h;return a instanceof SQ?r?(a.inject(r,n),a.getName(n)):a:NS(a)?function g(A,y){var E,M,O=[];for(var S in A)A.hasOwnProperty(S)&&!FQ(A[S])&&(Array.isArray(A[S])&&A[S].isCss||r9(A[S])?O.push(LQ(S)+":",A[S],";"):NS(A[S])?O.push.apply(O,g(A[S],S)):O.push(LQ(S)+": "+(E=S,(M=A[S])==null||typeof M=="boolean"||M===""?"":typeof M!="number"||M===0||E in rJ1||E.startsWith("--")?String(M).trim():M+"px")+";"));return y?[y+" {"].concat(O,["}"]):O}(a):a.toString()}var jQ=function(a){return Array.isArray(a)&&(a.isCss=!0),a};function ot(a){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r9(a)||NS(a)?jQ(l9(bQ(DA,[a].concat(r)))):r.length===0&&a.length===1&&typeof a[0]=="string"?a:jQ(l9(bQ(a,r)))}var PQ=/invalid hook call/i,UA=new Set,_J1=function(a,e){if(_2.NODE_ENV!=="production"){var r="The component "+a+(e?' with the id of "'+e+'"':"")+` has been created dynamically.
1064
+ `}}}return o}(this)},a}(),bJ1=/(a)(d)/gi,VQ=function(a){return String.fromCharCode(a+(a>25?39:97))};function DS(a){var e,r="";for(e=Math.abs(a);e>52;e=e/52|0)r=VQ(e%52)+r;return(VQ(e%52)+r).replace(bJ1,"$1-$2")}var Z5=function(a,e){for(var r=e.length;r;)a=33*a^e.charCodeAt(--r);return a},OQ=function(a){return Z5(5381,a)};function HJ1(a){for(var e=0;e<a.length;e+=1){var r=a[e];if(r9(r)&&!TS(r))return!1}return!0}var EJ1=OQ("5.3.11"),MJ1=function(){function a(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=_2.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&HJ1(e),this.componentId=r,this.baseHash=Z5(EJ1,r),this.baseStyle=n,MQ.registerId(r)}return a.prototype.generateAndInjectStyles=function(e,r,n){var l=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,r,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(l,this.staticRulesId))o.push(this.staticRulesId);else{var c=l9(this.rules,e,r,n).join(""),m=DS(Z5(this.baseHash,c)>>>0);if(!r.hasNameForId(l,m)){var u=n(c,"."+m,void 0,l);r.insertRules(l,m,u)}o.push(m),this.staticRulesId=m}else{for(var h=this.rules.length,g=Z5(this.baseHash,n.hash),A="",y=0;y<h;y++){var E=this.rules[y];if(typeof E=="string")A+=E,_2.NODE_ENV!=="production"&&(g=Z5(g,E+y));else if(E){var M=l9(E,e,r,n),O=Array.isArray(M)?M.join(""):M;g=Z5(g,O+y),A+=O}}if(A){var S=DS(g>>>0);if(!r.hasNameForId(l,S)){var F=n(A,"."+S,void 0,l);r.insertRules(l,S,F)}o.push(S)}}return o.join(" ")},a}(),VJ1=/^\s*\/\/.*$/gm,OJ1=[":","[",".","#"];function $J1(a){var e,r,n,l,o=Ao,c=o.options,m=c===void 0?Ao:c,u=o.plugins,h=u===void 0?DA:u,g=new aJ1(m),A=[],y=function(O){function S(F){if(F)try{O(F+"}")}catch{}}return function(F,j,k,N,C,I,z,q,K,Y){switch(F){case 1:if(K===0&&j.charCodeAt(0)===64)return O(j+";"),"";break;case 2:if(q===0)return j+"/*|*/";break;case 3:switch(q){case 102:case 112:return O(k[0]+j),"";default:return j+(Y===0?"/*|*/":"")}case-2:j.split("/*|*/}").forEach(S)}}}(function(O){A.push(O)}),E=function(O,S,F){return S===0&&OJ1.indexOf(F[r.length])!==-1||F.match(l)?O:"."+e};function M(O,S,F,j){j===void 0&&(j="&");var k=O.replace(VJ1,""),N=S&&F?F+" "+S+" { "+k+" }":k;return e=j,r=S,n=new RegExp("\\"+r+"\\b","g"),l=new RegExp("(\\"+r+"\\b){2,}"),g(F||!S?"":S,N)}return g.use([].concat(h,[function(O,S,F){O===2&&F.length&&F[0].lastIndexOf(r)>0&&(F[0]=F[0].replace(n,E))},y,function(O){if(O===-2){var S=A;return A=[],S}}])),M.hash=h.length?h.reduce(function(O,S){return S.name||Il(15),Z5(O,S.name)},5381).toString():"",M}var $Q=t.createContext();$Q.Consumer;var wQ=t.createContext(),wJ1=(wQ.Consumer,new MQ),xS=$J1();function SJ1(){return p.useContext($Q)||wJ1}function LJ1(){return p.useContext(wQ)||xS}var SQ=function(){function a(e,r){var n=this;this.inject=function(l,o){o===void 0&&(o=xS);var c=n.name+o.hash;l.hasNameForId(n.id,c)||l.insertRules(n.id,c,o(n.rules,c,"@keyframes"))},this.toString=function(){return Il(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=r}return a.prototype.getName=function(e){return e===void 0&&(e=xS),this.name+e.hash},a}(),FJ1=/([A-Z])/,jJ1=/([A-Z])/g,PJ1=/^ms-/,kJ1=function(a){return"-"+a.toLowerCase()};function LQ(a){return FJ1.test(a)?a.replace(jJ1,kJ1).replace(PJ1,"-ms-"):a}var FQ=function(a){return a==null||a===!1||a===""};function l9(a,e,r,n){if(Array.isArray(a)){for(var l,o=[],c=0,m=a.length;c<m;c+=1)(l=l9(a[c],e,r,n))!==""&&(Array.isArray(l)?o.push.apply(o,l):o.push(l));return o}if(FQ(a))return"";if(TS(a))return"."+a.styledComponentId;if(r9(a)){if(typeof(h=a)!="function"||h.prototype&&h.prototype.isReactComponent||!e)return a;var u=a(e);return _2.NODE_ENV!=="production"&&G7.isElement(u)&&console.warn(Qu(a)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),l9(u,e,r,n)}var h;return a instanceof SQ?r?(a.inject(r,n),a.getName(n)):a:NS(a)?function g(A,y){var E,M,O=[];for(var S in A)A.hasOwnProperty(S)&&!FQ(A[S])&&(Array.isArray(A[S])&&A[S].isCss||r9(A[S])?O.push(LQ(S)+":",A[S],";"):NS(A[S])?O.push.apply(O,g(A[S],S)):O.push(LQ(S)+": "+(E=S,(M=A[S])==null||typeof M=="boolean"||M===""?"":typeof M!="number"||M===0||E in rJ1||E.startsWith("--")?String(M).trim():M+"px")+";"));return y?[y+" {"].concat(O,["}"]):O}(a):a.toString()}var jQ=function(a){return Array.isArray(a)&&(a.isCss=!0),a};function it(a){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r9(a)||NS(a)?jQ(l9(bQ(DA,[a].concat(r)))):r.length===0&&a.length===1&&typeof a[0]=="string"?a:jQ(l9(bQ(a,r)))}var PQ=/invalid hook call/i,UA=new Set,_J1=function(a,e){if(_2.NODE_ENV!=="production"){var r="The component "+a+(e?' with the id of "'+e+'"':"")+` has been created dynamically.
1065
1065
  You may see this warning because you've called styled inside another component.
1066
1066
  To resolve this only create new StyledComponents outside of any render method and function component.`,n=console.error;try{var l=!0;console.error=function(o){if(PQ.test(o))l=!1,UA.delete(r);else{for(var c=arguments.length,m=new Array(c>1?c-1:0),u=1;u<c;u++)m[u-1]=arguments[u];n.apply(void 0,[o].concat(m))}},p.useRef(),l&&!UA.has(r)&&(console.warn(r),UA.add(r))}catch(o){PQ.test(o.message)&&UA.delete(r)}finally{console.error=n}}},kQ=function(a,e,r){return r===void 0&&(r=Ao),a.theme!==r.theme&&a.theme||e||r.theme},CJ1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,NJ1=/(^-|-$)/g;function RS(a){return a.replace(CJ1,"-").replace(NJ1,"")}var _Q=function(a){return DS(OQ(a)>>>0)};function BA(a){return typeof a=="string"&&(_2.NODE_ENV==="production"||a.charAt(0)===a.charAt(0).toLowerCase())}var zS=function(a){return typeof a=="function"||typeof a=="object"&&a!==null&&!Array.isArray(a)},TJ1=function(a){return a!=="__proto__"&&a!=="constructor"&&a!=="prototype"};function IJ1(a,e,r){var n=a[r];zS(e)&&zS(n)?CQ(n,e):a[r]=e}function CQ(a){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var l=0,o=r;l<o.length;l++){var c=o[l];if(zS(c))for(var m in c)TJ1(m)&&IJ1(a,c[m],m)}return a}var Xu=t.createContext();Xu.Consumer;function DJ1(a){var e=p.useContext(Xu),r=p.useMemo(function(){return function(n,l){if(!n)return Il(14);if(r9(n)){var o=n(l);return _2.NODE_ENV==="production"||o!==null&&!Array.isArray(o)&&typeof o=="object"?o:Il(7)}return Array.isArray(n)||typeof n!="object"?Il(8):l?Pr({},l,{},n):n}(a.theme,e)},[a.theme,e]);return a.children?t.createElement(Xu.Provider,{value:r},a.children):null}var US={};function NQ(a,e,r){var n=TS(a),l=!BA(a),o=e.attrs,c=o===void 0?DA:o,m=e.componentId,u=m===void 0?function(j,k){var N=typeof j!="string"?"sc":RS(j);US[N]=(US[N]||0)+1;var C=N+"-"+_Q("5.3.11"+N+US[N]);return k?k+"-"+C:C}(e.displayName,e.parentComponentId):m,h=e.displayName,g=h===void 0?function(j){return BA(j)?"styled."+j:"Styled("+Qu(j)+")"}(a):h,A=e.displayName&&e.componentId?RS(e.displayName)+"-"+e.componentId:e.componentId||u,y=n&&a.attrs?Array.prototype.concat(a.attrs,c).filter(Boolean):c,E=e.shouldForwardProp;n&&a.shouldForwardProp&&(E=e.shouldForwardProp?function(j,k,N){return a.shouldForwardProp(j,k,N)&&e.shouldForwardProp(j,k,N)}:a.shouldForwardProp);var M,O=new MJ1(r,A,n?a.componentStyle:void 0),S=O.isStatic&&c.length===0,F=function(j,k){return function(N,C,I,z){var q=N.attrs,K=N.componentStyle,Y=N.defaultProps,o0=N.foldedComponentIds,a0=N.shouldForwardProp,t0=N.styledComponentId,l0=N.target,e0=function(S0,c0,z0){S0===void 0&&(S0=Ao);var X=Pr({},c0,{theme:S0}),h0={};return z0.forEach(function(f0){var Z0,v0,A0,x0=f0;for(Z0 in r9(x0)&&(x0=x0(X)),x0)X[Z0]=h0[Z0]=Z0==="className"?(v0=h0[Z0],A0=x0[Z0],v0&&A0?v0+" "+A0:v0||A0):x0[Z0]}),[X,h0]}(kQ(C,p.useContext(Xu),Y)||Ao,C,q),G0=e0[0],y0=e0[1],g0=function(S0,c0,z0,X){var h0=SJ1(),f0=LJ1(),Z0=c0?S0.generateAndInjectStyles(Ao,h0,f0):S0.generateAndInjectStyles(z0,h0,f0);return _2.NODE_ENV!=="production"&&!c0&&X&&X(Z0),Z0}(K,z,G0,_2.NODE_ENV!=="production"?N.warnTooManyClasses:void 0),L0=I,B=y0.$as||C.$as||y0.as||C.as||l0,G=BA(B),n0=y0!==C?Pr({},C,{},y0):C,d0={};for(var O0 in n0)O0[0]!=="$"&&O0!=="as"&&(O0==="forwardedAs"?d0.as=n0[O0]:(a0?a0(O0,yQ,B):!G||yQ(O0))&&(d0[O0]=n0[O0]));return C.style&&y0.style!==C.style&&(d0.style=Pr({},C.style,{},y0.style)),d0.className=Array.prototype.concat(o0,t0,g0!==t0?g0:null,C.className,y0.className).filter(Boolean).join(" "),d0.ref=L0,p.createElement(B,d0)}(M,j,k,S)};return F.displayName=g,(M=t.forwardRef(F)).attrs=y,M.componentStyle=O,M.displayName=g,M.shouldForwardProp=E,M.foldedComponentIds=n?Array.prototype.concat(a.foldedComponentIds,a.styledComponentId):DA,M.styledComponentId=A,M.target=n?a.target:a,M.withComponent=function(j){var k=e.componentId,N=function(I,z){if(I==null)return{};var q,K,Y={},o0=Object.keys(I);for(K=0;K<o0.length;K++)q=o0[K],z.indexOf(q)>=0||(Y[q]=I[q]);return Y}(e,["componentId"]),C=k&&k+"-"+(BA(j)?j:RS(Qu(j)));return NQ(j,Pr({},N,{attrs:y,componentId:C}),r)},Object.defineProperty(M,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(j){this._foldedDefaultProps=n?CQ({},a.defaultProps,j):j}}),_2.NODE_ENV!=="production"&&(_J1(g,A),M.warnTooManyClasses=function(j,k){var N={},C=!1;return function(I){if(!C&&(N[I]=!0,Object.keys(N).length>=200)){var z=k?' with the id of "'+k+'"':"";console.warn("Over 200 classes were generated for component "+j+z+`.
1067
1067
  Consider using the attrs method, together with a style object for frequently changed styles.
@@ -1072,11 +1072,11 @@ Example:
1072
1072
  },
1073
1073
  }))\`width: 100%;\`
1074
1074
 
1075
- <Component />`),C=!0,N={}}}}(g,A)),Object.defineProperty(M,"toString",{value:function(){return"."+M.styledComponentId}}),l&&LC(M,a,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),M}var De=function(a){return function e(r,n,l){if(l===void 0&&(l=Ao),!G7.isValidElementType(n))return Il(1,String(n));var o=function(){return r(n,l,ot.apply(void 0,arguments))};return o.withConfig=function(c){return e(r,n,Pr({},l,{},c))},o.attrs=function(c){return e(r,n,Pr({},l,{attrs:Array.prototype.concat(l.attrs,c).filter(Boolean)}))},o}(NQ,a)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(a){De[a]=De(a)});function TQ(a){_2.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var l=ot.apply(void 0,[a].concat(r)).join(""),o=_Q(l);return new SQ(o,l)}var Te=function(a){var e=t.forwardRef(function(r,n){var l=p.useContext(Xu),o=a.defaultProps,c=kQ(r,l,o);return _2.NODE_ENV!=="production"&&c===void 0&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class "'+Qu(a)+'"'),t.createElement(a,Pr({},r,{theme:c,ref:n}))});return LC(e,a),e.displayName="WithTheme("+Qu(a)+")",e};_2.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
1075
+ <Component />`),C=!0,N={}}}}(g,A)),Object.defineProperty(M,"toString",{value:function(){return"."+M.styledComponentId}}),l&&LC(M,a,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),M}var De=function(a){return function e(r,n,l){if(l===void 0&&(l=Ao),!G7.isValidElementType(n))return Il(1,String(n));var o=function(){return r(n,l,it.apply(void 0,arguments))};return o.withConfig=function(c){return e(r,n,Pr({},l,{},c))},o.attrs=function(c){return e(r,n,Pr({},l,{attrs:Array.prototype.concat(l.attrs,c).filter(Boolean)}))},o}(NQ,a)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(a){De[a]=De(a)});function TQ(a){_2.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var l=it.apply(void 0,[a].concat(r)).join(""),o=_Q(l);return new SQ(o,l)}var Te=function(a){var e=t.forwardRef(function(r,n){var l=p.useContext(Xu),o=a.defaultProps,c=kQ(r,l,o);return _2.NODE_ENV!=="production"&&c===void 0&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class "'+Qu(a)+'"'),t.createElement(a,Pr({},r,{theme:c,ref:n}))});return LC(e,a),e.displayName="WithTheme("+Qu(a)+")",e};_2.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
1076
1076
  Perhaps you're looking to import 'styled-components/native'?
1077
1077
  Read more about this at https://www.styled-components.com/docs/basics#react-native`),_2.NODE_ENV!=="production"&&_2.NODE_ENV!=="test"&&typeof window<"u"&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,window["__styled-components-init__"]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
1078
1078
 
1079
- See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);function it(a,e=16){return`${a.split("px")[0]/e}rem`}const xJ1={dark:{base:{primary:"#00676D",secondary:"#17B582",tertiary:"#6EC5B8",gray:"#8E8E93",black:"#000000",white:"#FFFFFF",alert:"#C64F55",warning:"#F4B740",success:"#17B569",wordOfChrist:"#8B0000",live:"#cb1114"},neutral:{gray:"#8E8E93",gray2:"#636366",gray3:"#48484A",gray4:"#3A3A3C",gray5:"#2C2C2E",gray6:"#1C1C1E"},fill:{paper:"#1C1C1E",paperTransparent:"#1C1C1E00",screen:"#000000",system:"rgba(99, 99, 102, 0.36)",system2:"rgba(99, 99, 102, 0.32)",system3:"rgba(99, 99, 102, 0.24)",system4:"rgba(99, 99, 102, 0.18)"},material:{thick:"rgba(28, 28, 30, 0.90)",regular:"rgba(28, 28, 30, 0.70)",thin:"rgba(28, 28, 30, 0.50)",ultrathin:"rgba(28, 28, 30, 0.40)",chrome:"rgba(28, 28, 30, 0.95)"},text:{primary:"#F4F7F8",secondary:"rgba(244, 247, 248, 0.6)",tertiary:"rgba(244, 247, 248, 0.33)",quaternary:"rgba(244, 247, 248, 0.18)",placeholder:"rgba(244, 247, 248, 0.3)",action:"#17B582"}},light:{base:{primary:"#00676D",secondary:"#17B582",tertiary:"#6EC5B8",gray:"#8E8E93",black:"#000000",white:"#FFFFFF",alert:"#C64F55",warning:"#F4B740",success:"#17B569",wordOfChrist:"#8B0000",live:"#cb1114"},neutral:{gray:"#8E8E93",gray2:"#AFAFB3",gray3:"#C7C7CC",gray4:"#D1D1D6",gray5:"#E5E5EA",gray6:"#F2F2F7"},fill:{paper:"#FFFFFF",screen:"#F9F9FB",system:"rgba(142, 142, 147, 0.2)",system2:"rgba(142, 142, 147, 0.16)",system3:"rgba(142, 142, 147, 0.12)",system4:"rgba(142, 142, 147, 0.08)"},material:{thick:"rgba(28, 28, 30, 0.90)",regular:"rgba(28, 28, 30, 0.70)",thin:"rgba(28, 28, 30, 0.50)",ultrathin:"rgba(28, 28, 30, 0.40)",chrome:"rgba(28, 28, 30, 0.95)"},text:{primary:"#27272E",secondary:"rgba(39, 39, 46, 0.6)",tertiary:"rgba(39, 39, 46, 0.3)",quaternary:"rgba(39, 39, 46, 0.18)",placeholder:"rgba(229, 229, 234, 0.3)",action:"#17B582"},shadow:{low:"0px 2px 8px rgba(0, 0, 0, 0.04)",medium:"0px 5px 24px rgba(0, 0, 0, 0.05)",high:"0px 20px 48px rgba(0, 0, 0, 0.09)"}}},Ye={breakpoints:{sm:it("428px"),md:it("800px"),lg:it("1280px"),xl:it("1440px"),xxl:it("2048px")},colors:xJ1,radii:{xs:it("2px"),s:it("4px"),base:it("6px"),l:it("10px"),xl:it("16px"),xxl:it("30px"),round:it("999px")},shadows:{low:"0px 3px 6px rgba(0, 0, 0, 0.25);",medium:"0px 20px 48px rgba(0, 0, 0, 0.09);",mediumBottom:"0px 60px 48px rgba(0, 0, 0, 0.09);",high:"0px 16px 38px rgba(0, 0, 0, 0.22);"},space:{xxxs:it("4px"),xxs:it("6px"),xs:it("14px"),s:it("18px"),base:it("24px"),l:it("36px"),xl:it("48px"),xxl:it("66px"),xxxl:it("108px")},timing:{base:"0.132s",l:"0.2s",xl:"0.3s"}},IQ=p.createContext("light"),DQ=p.createContext(null),xQ=()=>{const a=p.useContext(IQ);if(a===void 0)throw new Error("useColorScheme must be used within a ThemeProvider");return a},RJ1=()=>{const a=p.useContext(DQ);if(a===void 0)throw new Error("useTheme must be used within a ThemeProvider");return a},BS=a=>{if(!a)return null;const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return e?`${parseInt(e[1],16)} ${parseInt(e[2],16)} ${parseInt(e[3],16)}`:null},RQ=()=>typeof window>"u"?"light":document.documentElement.classList.contains("dark")||window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";function zQ({theme:a=Ye,...e}){const[r,n]=p.useState(RQ),[l,o]=p.useState({...Ye,colors:{...Ye.colors[r],base:{...Ye.colors[r].base,primary:Ye.colors[r].base.primary,secondary:Ye.colors[r].base.secondary,tertiary:Ye.colors[r].base.tertiary},text:{...Ye.colors[r].text,action:Ye.colors[r].text.action}}}),{currentChurch:c,loading:m,error:u}=Dc(),[h,g]=tJ1();return p.useEffect(()=>{if(typeof window>"u")return;const A=()=>{const O=RQ();O!==r&&n(O)},y=new MutationObserver(A);y.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]});const E=window.matchMedia("(prefers-color-scheme: dark)"),M=O=>{document.documentElement.classList.contains("dark")||n(O.matches?"dark":"light")};return E.addEventListener("change",M),()=>{y.disconnect(),E.removeEventListener("change",M)}},[r]),p.useEffect(()=>{o({...Ye,colors:{...Ye.colors[r],base:{...Ye.colors[r].base,primary:Ye.colors[r].base.primary,secondary:Ye.colors[r].base.secondary,tertiary:Ye.colors[r].base.tertiary},text:{...Ye.colors[r].text,action:Ye.colors[r].text.action}}})},[r]),p.useEffect(()=>{g(XX1({loading:m}))},[m]),p.useEffect(()=>{var A,y,E,M,O,S,F;if(c&&c.theme)try{const j=JSON.parse(c==null?void 0:c.theme);o({...Ye,colors:{...Ye.colors[r],base:{...Ye.colors[r].base,primary:((A=j==null?void 0:j.colors)==null?void 0:A.primary)||Ye.colors[r].base.primary,secondary:((y=j==null?void 0:j.colors)==null?void 0:y.secondary)||Ye.colors[r].base.secondary,tertiary:((E=j==null?void 0:j.colors)==null?void 0:E.tertiary)||Ye.colors[r].base.tertiary},text:{...Ye.colors[r].text,action:((M=j==null?void 0:j.colors)==null?void 0:M.secondary)||Ye.colors[r].text.action}}});const k=document.documentElement;if((O=j==null?void 0:j.colors)!=null&&O.primary){const N=BS(j.colors.primary);N&&k.style.setProperty("--color-brand-primary",N)}if((S=j==null?void 0:j.colors)!=null&&S.secondary){const N=BS(j.colors.secondary);N&&k.style.setProperty("--color-brand-secondary",N)}if((F=j==null?void 0:j.colors)!=null&&F.tertiary){const N=BS(j.colors.tertiary);N&&k.style.setProperty("--color-brand-tertiary",N)}}catch(j){console.error("ThemeProvider - Error parsing church theme:",j),console.error("ThemeProvider - Raw theme string:",c.theme)}},[c,r]),w.jsx(DJ1,{theme:l,children:w.jsx(IQ.Provider,{value:r,children:w.jsx(DQ.Provider,{value:l,children:e.children})})})}zQ.propTypes={children:j0.node.isRequired,theme:j0.object};const o9=p.createContext({useApollosIdParam:!1,shouldUsePathRouter:!1,shouldUseModal:!1,apollosPageRoute:null,churchSlug:"apollos_global"}),UQ=()=>p.useContext(o9).useApollosIdParam,BQ=()=>p.useContext(o9).shouldUsePathRouter,qS=()=>p.useContext(o9).shouldUseModal,qQ=()=>p.useContext(o9).apollosPageRoute,zJ1=()=>p.useContext(o9).churchSlug;function WQ(a={}){const[e,r]=p.useState(null),[n,l]=p.useState(a.church||"apollos_global");return p.useEffect(()=>{(async()=>{const c=await BX1(n);r(c)})()},[n]),p.useEffect(()=>{const o=document.querySelector(".apollos-widget[data-church]"),c=o==null?void 0:o.getAttribute("data-church");c&&l(c)},[]),p.useEffect(()=>{a.church&&a.church!==n&&l(a.church)},[a.church,n]),e?w.jsx(Qz1,{church:n,children:w.jsx(o9.Provider,{value:{useApollosIdParam:a.useApollosIdParam,shouldUsePathRouter:a.shouldUsePathRouter,shouldUseModal:a.shouldUseModal,apollosPageRoute:a.apollosPageRoute,churchSlug:n},children:w.jsx(PH1,{client:e,...a,children:w.jsx(px,{children:w.jsx(tX1,{church:n,children:w.jsx(ZQ,{church:n,searchFeed:a.searchFeed,searchProfileSize:a.searchProfileSize,hideApollosAuth:a.hideApollosAuth,customPlaceholder:a.customPlaceholder,children:w.jsx(vQ,{children:w.jsx(zQ,{children:a.children})})})})})})})}):null}WQ.propTypes={children:j0.oneOfType([j0.node,j0.func,j0.object]),client:j0.shape({}),customTheme:j0.shape({}),church:j0.string};function GQ({Component:a,options:e,...r}){const{loading:n,error:l,content:o,fetchMore:c}=rW1(e);return w.jsx(a,{data:o,loading:n,error:l,fetchMore:c,...r})}GQ.propTypes={Component:j0.oneOfType([j0.node,j0.func,j0.object]),options:j0.shape({})};const YQ=p.createContext({id:null,navigate:()=>gu}),UJ1=(a={})=>{const[e]=FA1(),{apollosId:r,contentId:n,feedId:l}=Rg1(),o=BQ(),c=qS(),m=$f(),u=qQ(),h=UQ(),g=h?r||n||l||e.get("apollosId"):n||l||e.get("id");let A=()=>gu;return o&&c?A=({id:y}={})=>{const E=y!=null&&y.includes("FeatureFeed")?"feed":"content";m(y?{pathname:`/${E==="content"?"ac":"af"}/${y}`}:{pathname:"/"})}:A=({id:y}={})=>{y?window.location.pathname!==u&&!c&&!o?window.location.href=`${u}?${h?"apollosId":"id"}=${y}`:m({search:`?${h?"apollosId":"id"}=${y}`,...c?{}:{pathname:u}}):m({pathname:"/"})},w.jsx(YQ.Provider,{value:{id:g,navigate:A},children:a.children})},qA=()=>p.useContext(YQ),BJ1=/^[A-Z](\w)+\-/,qJ1=a=>{if(!a)return null;if(BJ1.test(a)){const[r,n]=(a==null?void 0:a.split(/-(.*)/s))??[];if(r&&n)return{type:r,randomId:n}}else{const r=a.split("-").at(-1),n=atob(r),[l,o]=(n==null?void 0:n.split(/-(.*)/s))??[];if(l&&o)return{type:l,randomId:o}}},WJ1=({id:a})=>{const{item:e}=lW1({variables:{id:a}});return w.jsx(Wz1,{content:e})};function GJ1({type:a,id:e}){switch(a){case"MediaContentItem":case"WeekendContentItem":case"Event":case"UniversalContentItem":case"ContentSeriesContentItem":case"Livestream":return w.jsx(WJ1,{id:`${a}:${e}`});case"ContentChannel":{const r={variables:{id:`${a}:${e}`}};return w.jsx(GQ,{Component:sA,options:r})}case"Url":return w.jsx("h1",{children:"External Url"});case"FeatureFeed":return w.jsx(sA,{id:`${a}:${e}`});default:return null}}function YJ1(a){const{type:e,randomId:r}=qJ1(a)??{};return GJ1({type:e,id:r})}var QQ=ew,KQ=QQ?QQ.prototype:void 0;KQ&&KQ.toString;var QJ1=kl;QJ1.isFinite;function KJ1(a){if(!a)return null;const e="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;",r="aaaaaeeeeeiiiiooooouuuunc------";return Array.from(a).map(l=>{const o=[...e].indexOf(l);return o>-1?l.replace(new RegExp(e.charAt(o),"g"),r.charAt(o)):l}).join("").toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/&/g,"").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-")}function WA(a){var n;const[e,r]=(n=a==null?void 0:a.id)==null?void 0:n.split(":");switch(e){case"Event":case"MediaContentItem":case"WeekendContentItem":case"UniversalContentItem":case"ContentChannel":case"FeatureFeed":case"Livestream":case"ContentSeriesContentItem":return a.title?`${KJ1(a.title)}-${btoa(`${e}-${r}`)}`:`${e}-${r}`;case"Url":return a.url;default:return console.warn(`Routing for node type ${e} not set up. Please add it to getURLFromType.js`),"/"}}function XQ(a){return typeof a!="string"||!a.length?!1:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(a).toLowerCase())}function JQ(a){if(typeof a!="string"||!a.length)return!1;const e=a.match(/^[0-9]{10,10}$/);return e?e.length===1:!1}function XJ1(a){return a?a.toLowerCase().replace(/[^a-z0-9\s]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,""):""}function JJ1(a,e){if(!a||!e)return!1;const r=XJ1(e);return a===r||a===r.replace(/-/g,"_")||a===r.replace(/_/g,"-")}U8`
1079
+ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);function ct(a,e=16){return`${a.split("px")[0]/e}rem`}const xJ1={dark:{base:{primary:"#00676D",secondary:"#17B582",tertiary:"#6EC5B8",gray:"#8E8E93",black:"#000000",white:"#FFFFFF",alert:"#C64F55",warning:"#F4B740",success:"#17B569",wordOfChrist:"#8B0000",live:"#cb1114"},neutral:{gray:"#8E8E93",gray2:"#636366",gray3:"#48484A",gray4:"#3A3A3C",gray5:"#2C2C2E",gray6:"#1C1C1E"},fill:{paper:"#1C1C1E",paperTransparent:"#1C1C1E00",screen:"#000000",system:"rgba(99, 99, 102, 0.36)",system2:"rgba(99, 99, 102, 0.32)",system3:"rgba(99, 99, 102, 0.24)",system4:"rgba(99, 99, 102, 0.18)"},material:{thick:"rgba(28, 28, 30, 0.90)",regular:"rgba(28, 28, 30, 0.70)",thin:"rgba(28, 28, 30, 0.50)",ultrathin:"rgba(28, 28, 30, 0.40)",chrome:"rgba(28, 28, 30, 0.95)"},text:{primary:"#F4F7F8",secondary:"rgba(244, 247, 248, 0.6)",tertiary:"rgba(244, 247, 248, 0.33)",quaternary:"rgba(244, 247, 248, 0.18)",placeholder:"rgba(244, 247, 248, 0.3)",action:"#17B582"}},light:{base:{primary:"#00676D",secondary:"#17B582",tertiary:"#6EC5B8",gray:"#8E8E93",black:"#000000",white:"#FFFFFF",alert:"#C64F55",warning:"#F4B740",success:"#17B569",wordOfChrist:"#8B0000",live:"#cb1114"},neutral:{gray:"#8E8E93",gray2:"#AFAFB3",gray3:"#C7C7CC",gray4:"#D1D1D6",gray5:"#E5E5EA",gray6:"#F2F2F7"},fill:{paper:"#FFFFFF",screen:"#F9F9FB",system:"rgba(142, 142, 147, 0.2)",system2:"rgba(142, 142, 147, 0.16)",system3:"rgba(142, 142, 147, 0.12)",system4:"rgba(142, 142, 147, 0.08)"},material:{thick:"rgba(28, 28, 30, 0.90)",regular:"rgba(28, 28, 30, 0.70)",thin:"rgba(28, 28, 30, 0.50)",ultrathin:"rgba(28, 28, 30, 0.40)",chrome:"rgba(28, 28, 30, 0.95)"},text:{primary:"#27272E",secondary:"rgba(39, 39, 46, 0.6)",tertiary:"rgba(39, 39, 46, 0.3)",quaternary:"rgba(39, 39, 46, 0.18)",placeholder:"rgba(229, 229, 234, 0.3)",action:"#17B582"},shadow:{low:"0px 2px 8px rgba(0, 0, 0, 0.04)",medium:"0px 5px 24px rgba(0, 0, 0, 0.05)",high:"0px 20px 48px rgba(0, 0, 0, 0.09)"}}},Ye={breakpoints:{sm:ct("428px"),md:ct("800px"),lg:ct("1280px"),xl:ct("1440px"),xxl:ct("2048px")},colors:xJ1,radii:{xs:ct("2px"),s:ct("4px"),base:ct("6px"),l:ct("10px"),xl:ct("16px"),xxl:ct("30px"),round:ct("999px")},shadows:{low:"0px 3px 6px rgba(0, 0, 0, 0.25);",medium:"0px 20px 48px rgba(0, 0, 0, 0.09);",mediumBottom:"0px 60px 48px rgba(0, 0, 0, 0.09);",high:"0px 16px 38px rgba(0, 0, 0, 0.22);"},space:{xxxs:ct("4px"),xxs:ct("6px"),xs:ct("14px"),s:ct("18px"),base:ct("24px"),l:ct("36px"),xl:ct("48px"),xxl:ct("66px"),xxxl:ct("108px")},timing:{base:"0.132s",l:"0.2s",xl:"0.3s"}},IQ=p.createContext("light"),DQ=p.createContext(null),xQ=()=>{const a=p.useContext(IQ);if(a===void 0)throw new Error("useColorScheme must be used within a ThemeProvider");return a},RJ1=()=>{const a=p.useContext(DQ);if(a===void 0)throw new Error("useTheme must be used within a ThemeProvider");return a},BS=a=>{if(!a)return null;const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return e?`${parseInt(e[1],16)} ${parseInt(e[2],16)} ${parseInt(e[3],16)}`:null},RQ=()=>typeof window>"u"?"light":document.documentElement.classList.contains("dark")||window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";function zQ({theme:a=Ye,...e}){const[r,n]=p.useState(RQ),[l,o]=p.useState({...Ye,colors:{...Ye.colors[r],base:{...Ye.colors[r].base,primary:Ye.colors[r].base.primary,secondary:Ye.colors[r].base.secondary,tertiary:Ye.colors[r].base.tertiary},text:{...Ye.colors[r].text,action:Ye.colors[r].text.action}}}),{currentChurch:c,loading:m,error:u}=Dc(),[h,g]=tJ1();return p.useEffect(()=>{if(typeof window>"u")return;const A=()=>{const O=RQ();O!==r&&n(O)},y=new MutationObserver(A);y.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]});const E=window.matchMedia("(prefers-color-scheme: dark)"),M=O=>{document.documentElement.classList.contains("dark")||n(O.matches?"dark":"light")};return E.addEventListener("change",M),()=>{y.disconnect(),E.removeEventListener("change",M)}},[r]),p.useEffect(()=>{o({...Ye,colors:{...Ye.colors[r],base:{...Ye.colors[r].base,primary:Ye.colors[r].base.primary,secondary:Ye.colors[r].base.secondary,tertiary:Ye.colors[r].base.tertiary},text:{...Ye.colors[r].text,action:Ye.colors[r].text.action}}})},[r]),p.useEffect(()=>{g(XX1({loading:m}))},[m]),p.useEffect(()=>{var A,y,E,M,O,S,F;if(c&&c.theme)try{const j=JSON.parse(c==null?void 0:c.theme);o({...Ye,colors:{...Ye.colors[r],base:{...Ye.colors[r].base,primary:((A=j==null?void 0:j.colors)==null?void 0:A.primary)||Ye.colors[r].base.primary,secondary:((y=j==null?void 0:j.colors)==null?void 0:y.secondary)||Ye.colors[r].base.secondary,tertiary:((E=j==null?void 0:j.colors)==null?void 0:E.tertiary)||Ye.colors[r].base.tertiary},text:{...Ye.colors[r].text,action:((M=j==null?void 0:j.colors)==null?void 0:M.secondary)||Ye.colors[r].text.action}}});const k=document.documentElement;if((O=j==null?void 0:j.colors)!=null&&O.primary){const N=BS(j.colors.primary);N&&k.style.setProperty("--color-brand-primary",N)}if((S=j==null?void 0:j.colors)!=null&&S.secondary){const N=BS(j.colors.secondary);N&&k.style.setProperty("--color-brand-secondary",N)}if((F=j==null?void 0:j.colors)!=null&&F.tertiary){const N=BS(j.colors.tertiary);N&&k.style.setProperty("--color-brand-tertiary",N)}}catch(j){console.error("ThemeProvider - Error parsing church theme:",j),console.error("ThemeProvider - Raw theme string:",c.theme)}},[c,r]),w.jsx(DJ1,{theme:l,children:w.jsx(IQ.Provider,{value:r,children:w.jsx(DQ.Provider,{value:l,children:e.children})})})}zQ.propTypes={children:j0.node.isRequired,theme:j0.object};const o9=p.createContext({useApollosIdParam:!1,shouldUsePathRouter:!1,shouldUseModal:!1,apollosPageRoute:null,churchSlug:"apollos_global"}),UQ=()=>p.useContext(o9).useApollosIdParam,BQ=()=>p.useContext(o9).shouldUsePathRouter,qS=()=>p.useContext(o9).shouldUseModal,qQ=()=>p.useContext(o9).apollosPageRoute,zJ1=()=>p.useContext(o9).churchSlug;function WQ(a={}){const[e,r]=p.useState(null),[n,l]=p.useState(a.church||"apollos_global");return p.useEffect(()=>{(async()=>{const c=await BX1(n);r(c)})()},[n]),p.useEffect(()=>{const o=document.querySelector(".apollos-widget[data-church]"),c=o==null?void 0:o.getAttribute("data-church");c&&l(c)},[]),p.useEffect(()=>{a.church&&a.church!==n&&l(a.church)},[a.church,n]),e?w.jsx(Qz1,{church:n,children:w.jsx(o9.Provider,{value:{useApollosIdParam:a.useApollosIdParam,shouldUsePathRouter:a.shouldUsePathRouter,shouldUseModal:a.shouldUseModal,apollosPageRoute:a.apollosPageRoute,churchSlug:n},children:w.jsx(PH1,{client:e,...a,children:w.jsx(px,{children:w.jsx(tX1,{church:n,children:w.jsx(ZQ,{church:n,searchFeed:a.searchFeed,searchProfileSize:a.searchProfileSize,hideApollosAuth:a.hideApollosAuth,customPlaceholder:a.customPlaceholder,children:w.jsx(vQ,{children:w.jsx(zQ,{children:a.children})})})})})})})}):null}WQ.propTypes={children:j0.oneOfType([j0.node,j0.func,j0.object]),client:j0.shape({}),customTheme:j0.shape({}),church:j0.string};function GQ({Component:a,options:e,...r}){const{loading:n,error:l,content:o,fetchMore:c}=rW1(e);return w.jsx(a,{data:o,loading:n,error:l,fetchMore:c,...r})}GQ.propTypes={Component:j0.oneOfType([j0.node,j0.func,j0.object]),options:j0.shape({})};const YQ=p.createContext({id:null,navigate:()=>gu}),UJ1=(a={})=>{const[e]=FA1(),{apollosId:r,contentId:n,feedId:l}=Rg1(),o=BQ(),c=qS(),m=$f(),u=qQ(),h=UQ(),g=h?r||n||l||e.get("apollosId"):n||l||e.get("id");let A=()=>gu;return o&&c?A=({id:y}={})=>{const E=y!=null&&y.includes("FeatureFeed")?"feed":"content";m(y?{pathname:`/${E==="content"?"ac":"af"}/${y}`}:{pathname:"/"})}:A=({id:y}={})=>{y?window.location.pathname!==u&&!c&&!o?window.location.href=`${u}?${h?"apollosId":"id"}=${y}`:m({search:`?${h?"apollosId":"id"}=${y}`,...c?{}:{pathname:u}}):m({pathname:"/"})},w.jsx(YQ.Provider,{value:{id:g,navigate:A},children:a.children})},qA=()=>p.useContext(YQ),BJ1=/^[A-Z](\w)+\-/,qJ1=a=>{if(!a)return null;if(BJ1.test(a)){const[r,n]=(a==null?void 0:a.split(/-(.*)/s))??[];if(r&&n)return{type:r,randomId:n}}else{const r=a.split("-").at(-1),n=atob(r),[l,o]=(n==null?void 0:n.split(/-(.*)/s))??[];if(l&&o)return{type:l,randomId:o}}},WJ1=({id:a})=>{const{item:e}=lW1({variables:{id:a}});return w.jsx(Wz1,{content:e})};function GJ1({type:a,id:e}){switch(a){case"MediaContentItem":case"WeekendContentItem":case"Event":case"UniversalContentItem":case"ContentSeriesContentItem":case"Livestream":return w.jsx(WJ1,{id:`${a}:${e}`});case"ContentChannel":{const r={variables:{id:`${a}:${e}`}};return w.jsx(GQ,{Component:sA,options:r})}case"Url":return w.jsx("h1",{children:"External Url"});case"FeatureFeed":return w.jsx(sA,{id:`${a}:${e}`});default:return null}}function YJ1(a){const{type:e,randomId:r}=qJ1(a)??{};return GJ1({type:e,id:r})}var QQ=ew,KQ=QQ?QQ.prototype:void 0;KQ&&KQ.toString;var QJ1=kl;QJ1.isFinite;function KJ1(a){if(!a)return null;const e="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;",r="aaaaaeeeeeiiiiooooouuuunc------";return Array.from(a).map(l=>{const o=[...e].indexOf(l);return o>-1?l.replace(new RegExp(e.charAt(o),"g"),r.charAt(o)):l}).join("").toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/&/g,"").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-")}function WA(a){var n;const[e,r]=(n=a==null?void 0:a.id)==null?void 0:n.split(":");switch(e){case"Event":case"MediaContentItem":case"WeekendContentItem":case"UniversalContentItem":case"ContentChannel":case"FeatureFeed":case"Livestream":case"ContentSeriesContentItem":return a.title?`${KJ1(a.title)}-${btoa(`${e}-${r}`)}`:`${e}-${r}`;case"Url":return a.url;default:return console.warn(`Routing for node type ${e} not set up. Please add it to getURLFromType.js`),"/"}}function XQ(a){return typeof a!="string"||!a.length?!1:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(a).toLowerCase())}function JQ(a){if(typeof a!="string"||!a.length)return!1;const e=a.match(/^[0-9]{10,10}$/);return e?e.length===1:!1}function XJ1(a){return a?a.toLowerCase().replace(/[^a-z0-9\s]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,""):""}function JJ1(a,e){if(!a||!e)return!1;const r=XJ1(e);return a===r||a===r.replace(/-/g,"_")||a===r.replace(/_/g,"-")}U8`
1080
1080
  mutation interactWithNodeEmbeds(
1081
1081
  $nodeId: ID!
1082
1082
  $action: InteractionAction!
@@ -1349,7 +1349,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1349
1349
  overflow: hidden;
1350
1350
  text-overflow: ellipsis;
1351
1351
  ${l2};
1352
- `),Dl={ListItem:x2e,LeadingIcon:R2e,TailingIcon:z2e,Wrapper:U2e,Heading:B2e,Title:q2e,Subtitle:W2e,Ellipse:G2e};function tL({title:a,subtitle:e,leadingIcon:r,tailingIcon:n,node:l,onClick:o,...c}){const m=$f(),u=()=>{m({id:WA(l)})},h=w.jsx("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:w.jsx("path",{d:"M1 1.5L8.5 9L1 16.5",stroke:"#AFAFB3",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),g=w.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("path",{d:"M12.8412 4.35693L12.8413 4.35678C13.2869 3.90825 13.8168 3.55228 14.4004 3.30937C14.9841 3.06646 15.6101 2.94141 16.2423 2.94141C16.8745 2.94141 17.5005 3.06646 18.0842 3.30937C18.6679 3.55228 19.1977 3.90825 19.6433 4.35678L19.6436 4.35707C20.0921 4.80262 20.4481 5.33249 20.691 5.91618C20.9339 6.49986 21.0589 7.12583 21.0589 7.75804C21.0589 8.39026 20.9339 9.01623 20.691 9.59991C20.4481 10.1836 20.0921 10.7135 19.6436 11.159L19.6434 11.1592L16.9903 13.8123C16.088 14.7137 14.8647 15.22 13.5892 15.22C12.3137 15.22 11.0904 14.7137 10.188 13.8123L10.1881 13.8122L10.1858 13.8102C10.1168 13.7476 10.0612 13.6717 10.0224 13.5871C9.98365 13.5024 9.96246 13.4107 9.96017 13.3176C9.95788 13.2245 9.97453 13.1319 10.0091 13.0454C10.0437 12.959 10.0955 12.8804 10.1613 12.8146C10.2272 12.7487 10.3057 12.6969 10.3922 12.6623C10.4787 12.6278 10.5713 12.6111 10.6644 12.6134C10.7575 12.6157 10.8492 12.6369 10.9338 12.6757C11.0185 12.7145 11.0944 12.7701 11.1569 12.8391L11.1569 12.8391L11.1592 12.8414C11.805 13.4834 12.6786 13.8437 13.5892 13.8437C14.4998 13.8437 15.3734 13.4834 16.0192 12.8414L16.0193 12.8413L18.6723 10.1883C18.6724 10.1883 18.6724 10.1882 18.6724 10.1882C18.9926 9.86966 19.2466 9.491 19.42 9.07398C19.5934 8.65692 19.6826 8.20971 19.6826 7.75804C19.6826 7.30638 19.5934 6.85917 19.42 6.44211C19.2466 6.02505 18.9925 5.64636 18.6723 5.3278L18.6723 5.32778C18.0265 4.68583 17.1529 4.3255 16.2423 4.3255C15.3317 4.3255 14.4581 4.68583 13.8123 5.32778L13.8122 5.32791L11.957 7.18305C11.8264 7.3009 11.6555 7.36419 11.4796 7.35986C11.3032 7.35552 11.1352 7.2835 11.0104 7.15871C10.8856 7.03392 10.8136 6.86592 10.8092 6.68949C10.8049 6.51357 10.8682 6.3427 10.9861 6.21207L12.8412 4.35693Z",fill:"#AFAFB3",stroke:"#AFAFB3",strokeWidth:"0.125"}),w.jsx("path",{d:"M12.0001 16.7719L10.1438 18.6282C9.50654 19.2387 8.65542 19.5754 7.77289 19.5659C6.89035 19.5564 6.04664 19.2017 5.42256 18.5776C4.79848 17.9535 4.44369 17.1098 4.43424 16.2273C4.42478 15.3447 4.76141 14.4936 5.37197 13.8563L8.0251 11.2032C8.6592 10.5729 9.51696 10.2191 10.411 10.2191C11.3051 10.2191 12.1629 10.5729 12.797 11.2032C12.9396 11.3324 13.1266 11.4019 13.319 11.3972C13.5115 11.3924 13.6948 11.3138 13.8309 11.1777C13.967 11.0416 14.0456 10.8583 14.0503 10.6658C14.0551 10.4734 13.9856 10.2865 13.8563 10.1438C12.9423 9.23068 11.7031 8.71777 10.411 8.71777C9.119 8.71777 7.87981 9.23068 6.96572 10.1438L4.3126 12.7969C3.83563 13.2438 3.45338 13.7819 3.18857 14.3795C2.92376 14.977 2.78181 15.6217 2.77116 16.2751C2.7605 16.9286 2.88135 17.5776 3.12653 18.1834C3.37172 18.7893 3.73622 19.3396 4.19836 19.8018C4.66051 20.2639 5.21087 20.6284 5.81671 20.8736C6.42255 21.1188 7.07151 21.2396 7.725 21.229C8.37849 21.2183 9.02316 21.0764 9.62069 20.8116C10.2182 20.5468 10.7564 20.1645 11.2032 19.6875L13.0595 17.8313C13.1887 17.6886 13.2582 17.5017 13.2535 17.3092C13.2487 17.1168 13.1702 16.9335 13.034 16.7974C12.8979 16.6612 12.7146 16.5827 12.5221 16.5779C12.3297 16.5732 12.1428 16.6427 12.0001 16.7719V16.7719Z",fill:"#AFAFB3"})]}),A=r!=null&&r.sources?w.jsx(Dl.LeadingIcon,{children:w.jsx(d1,{width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center",backgroundImage:`url(${r!=null&&r.sources[0].uri?r.sources[0].uri:null})`})}):r||g;return w.jsxs(Dl.ListItem,{cursor:l||o?"pointer":"default",onClick:o||l&&u,children:[w.jsx(d1,{display:"flex",justifyContent:"center",alignItems:"center",children:A}),w.jsxs(Dl.Wrapper,{children:[w.jsxs(Dl.Heading,{children:[w.jsx(Dl.Title,{children:w.jsx(Dl.Ellipse,{children:a})}),w.jsx(Dl.Subtitle,{children:w.jsx(Dl.Ellipse,{children:e})})]}),w.jsx(Dl.TailingIcon,{children:n||h})]})]})}tL.propTypes={...Vt};const Y2e="80px",Q2e="white",K2e=({size:a,fill:e,theme:r})=>{const n=a||Y2e,o=we(`colors.${e}`)({theme:r})||e||Q2e;return ot`
1352
+ `),Dl={ListItem:x2e,LeadingIcon:R2e,TailingIcon:z2e,Wrapper:U2e,Heading:B2e,Title:q2e,Subtitle:W2e,Ellipse:G2e};function tL({title:a,subtitle:e,leadingIcon:r,tailingIcon:n,node:l,onClick:o,...c}){const m=$f(),u=()=>{m({id:WA(l)})},h=w.jsx("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:w.jsx("path",{d:"M1 1.5L8.5 9L1 16.5",stroke:"#AFAFB3",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),g=w.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("path",{d:"M12.8412 4.35693L12.8413 4.35678C13.2869 3.90825 13.8168 3.55228 14.4004 3.30937C14.9841 3.06646 15.6101 2.94141 16.2423 2.94141C16.8745 2.94141 17.5005 3.06646 18.0842 3.30937C18.6679 3.55228 19.1977 3.90825 19.6433 4.35678L19.6436 4.35707C20.0921 4.80262 20.4481 5.33249 20.691 5.91618C20.9339 6.49986 21.0589 7.12583 21.0589 7.75804C21.0589 8.39026 20.9339 9.01623 20.691 9.59991C20.4481 10.1836 20.0921 10.7135 19.6436 11.159L19.6434 11.1592L16.9903 13.8123C16.088 14.7137 14.8647 15.22 13.5892 15.22C12.3137 15.22 11.0904 14.7137 10.188 13.8123L10.1881 13.8122L10.1858 13.8102C10.1168 13.7476 10.0612 13.6717 10.0224 13.5871C9.98365 13.5024 9.96246 13.4107 9.96017 13.3176C9.95788 13.2245 9.97453 13.1319 10.0091 13.0454C10.0437 12.959 10.0955 12.8804 10.1613 12.8146C10.2272 12.7487 10.3057 12.6969 10.3922 12.6623C10.4787 12.6278 10.5713 12.6111 10.6644 12.6134C10.7575 12.6157 10.8492 12.6369 10.9338 12.6757C11.0185 12.7145 11.0944 12.7701 11.1569 12.8391L11.1569 12.8391L11.1592 12.8414C11.805 13.4834 12.6786 13.8437 13.5892 13.8437C14.4998 13.8437 15.3734 13.4834 16.0192 12.8414L16.0193 12.8413L18.6723 10.1883C18.6724 10.1883 18.6724 10.1882 18.6724 10.1882C18.9926 9.86966 19.2466 9.491 19.42 9.07398C19.5934 8.65692 19.6826 8.20971 19.6826 7.75804C19.6826 7.30638 19.5934 6.85917 19.42 6.44211C19.2466 6.02505 18.9925 5.64636 18.6723 5.3278L18.6723 5.32778C18.0265 4.68583 17.1529 4.3255 16.2423 4.3255C15.3317 4.3255 14.4581 4.68583 13.8123 5.32778L13.8122 5.32791L11.957 7.18305C11.8264 7.3009 11.6555 7.36419 11.4796 7.35986C11.3032 7.35552 11.1352 7.2835 11.0104 7.15871C10.8856 7.03392 10.8136 6.86592 10.8092 6.68949C10.8049 6.51357 10.8682 6.3427 10.9861 6.21207L12.8412 4.35693Z",fill:"#AFAFB3",stroke:"#AFAFB3",strokeWidth:"0.125"}),w.jsx("path",{d:"M12.0001 16.7719L10.1438 18.6282C9.50654 19.2387 8.65542 19.5754 7.77289 19.5659C6.89035 19.5564 6.04664 19.2017 5.42256 18.5776C4.79848 17.9535 4.44369 17.1098 4.43424 16.2273C4.42478 15.3447 4.76141 14.4936 5.37197 13.8563L8.0251 11.2032C8.6592 10.5729 9.51696 10.2191 10.411 10.2191C11.3051 10.2191 12.1629 10.5729 12.797 11.2032C12.9396 11.3324 13.1266 11.4019 13.319 11.3972C13.5115 11.3924 13.6948 11.3138 13.8309 11.1777C13.967 11.0416 14.0456 10.8583 14.0503 10.6658C14.0551 10.4734 13.9856 10.2865 13.8563 10.1438C12.9423 9.23068 11.7031 8.71777 10.411 8.71777C9.119 8.71777 7.87981 9.23068 6.96572 10.1438L4.3126 12.7969C3.83563 13.2438 3.45338 13.7819 3.18857 14.3795C2.92376 14.977 2.78181 15.6217 2.77116 16.2751C2.7605 16.9286 2.88135 17.5776 3.12653 18.1834C3.37172 18.7893 3.73622 19.3396 4.19836 19.8018C4.66051 20.2639 5.21087 20.6284 5.81671 20.8736C6.42255 21.1188 7.07151 21.2396 7.725 21.229C8.37849 21.2183 9.02316 21.0764 9.62069 20.8116C10.2182 20.5468 10.7564 20.1645 11.2032 19.6875L13.0595 17.8313C13.1887 17.6886 13.2582 17.5017 13.2535 17.3092C13.2487 17.1168 13.1702 16.9335 13.034 16.7974C12.8979 16.6612 12.7146 16.5827 12.5221 16.5779C12.3297 16.5732 12.1428 16.6427 12.0001 16.7719V16.7719Z",fill:"#AFAFB3"})]}),A=r!=null&&r.sources?w.jsx(Dl.LeadingIcon,{children:w.jsx(d1,{width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center",backgroundImage:`url(${r!=null&&r.sources[0].uri?r.sources[0].uri:null})`})}):r||g;return w.jsxs(Dl.ListItem,{cursor:l||o?"pointer":"default",onClick:o||l&&u,children:[w.jsx(d1,{display:"flex",justifyContent:"center",alignItems:"center",children:A}),w.jsxs(Dl.Wrapper,{children:[w.jsxs(Dl.Heading,{children:[w.jsx(Dl.Title,{children:w.jsx(Dl.Ellipse,{children:a})}),w.jsx(Dl.Subtitle,{children:w.jsx(Dl.Ellipse,{children:e})})]}),w.jsx(Dl.TailingIcon,{children:n||h})]})]})}tL.propTypes={...Vt};const Y2e="80px",Q2e="white",K2e=({size:a,fill:e,theme:r})=>{const n=a||Y2e,o=we(`colors.${e}`)({theme:r})||e||Q2e;return it`
1353
1353
  width: ${n};
1354
1354
  height: ${n};
1355
1355
  tintcolor: ${o};
@@ -1357,7 +1357,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1357
1357
  resizemode: "contain";
1358
1358
  ${K2e};
1359
1359
  ${l2};
1360
- `)};function FX({fill:a,size:e,padding:r,theme:n,source:l,...o}){var c;return w.jsx(d1,{backgroundColor:((c=n==null?void 0:n.colors)==null?void 0:c.primary)??"",...o,children:w.jsx(X2e.Image,{src:l||"./icon.png",alt:"Logo",size:e,fill:a})})}FX.propTypes={...Vt,fill:j0.string,size:j0.number,source:j0.string};const J2e=Te(FX),e8e="80px",jX=({size:a})=>ot`
1360
+ `)};function FX({fill:a,size:e,padding:r,theme:n,source:l,...o}){var c;return w.jsx(d1,{backgroundColor:((c=n==null?void 0:n.colors)==null?void 0:c.primary)??"",...o,children:w.jsx(X2e.Image,{src:l||"./icon.png",alt:"Logo",size:e,fill:a})})}FX.propTypes={...Vt,fill:j0.string,size:j0.number,source:j0.string};const J2e=Te(FX),e8e="80px",jX=({size:a})=>it`
1361
1361
  max-height: ${a||e8e};
1362
1362
  `,t8e=Te(De.img`
1363
1363
  resizemode: "contain";
@@ -1523,7 +1523,7 @@ See https://www.algolia.com/doc/api-reference/api-parameters/attributesToHighlig
1523
1523
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p6e(a,e){if(a){if(typeof a=="string")return dL(a,e);var r=Object.prototype.toString.call(a).slice(8,-1);if(r==="Object"&&a.constructor&&(r=a.constructor.name),r==="Map"||r==="Set")return Array.from(a);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dL(a,e)}}function h6e(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function f6e(a){if(Array.isArray(a))return dL(a)}function dL(a,e){(e==null||e>a.length)&&(e=a.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=a[r];return n}function LJ(a){var e=a.searchClient,r=a.queries,n=a.userAgents,l=n===void 0?[]:n;if(typeof e.addAlgoliaAgent=="function"){var o=[].concat(SJ(qX),SJ(l));o.forEach(function(h){var g=h.segment,A=h.version;e.addAlgoliaAgent(g,A)})}var c=l6e(e),m=c.appId,u=c.apiKey;return bo(!!m,"The Algolia `appId` was not accessible from the searchClient passed."),bo(!!u,"The Algolia `apiKey` was not accessible from the searchClient passed."),e.search(r.map(function(h){var g=h.params,A=m6e(h,o6e);return V5(V5({},A),{},{params:V5({hitsPerPage:5,highlightPreTag:EJ,highlightPostTag:MJ},g)})})).then(function(h){return h.results.map(function(g,A){var y;return V5(V5({},g),{},{hits:(y=g.hits)===null||y===void 0?void 0:y.map(function(E){return V5(V5({},E),{},{__autocomplete_indexName:g.index||r[A].indexName,__autocomplete_queryID:g.queryID,__autocomplete_algoliaCredentials:{appId:m,apiKey:u}})})})})})}var v6e=$J(LJ,"algolia");function pL(a){"@babel/helpers - typeof";return pL=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pL(a)}function FJ(a){bo(pL(a.searchClient)==="object","The `searchClient` parameter is required for getAlgoliaResults({ searchClient }).");var e=v6e({transformResponse:function(n){return n.hits}});return e(a)}var g6e=[{segment:"autocomplete-js",version:BX}];function Zd(a){"@babel/helpers - typeof";return Zd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zd(a)}function jJ(a,e){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,n)}return r}function PJ(a){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jJ(Object(r),!0).forEach(function(n){A6e(a,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):jJ(Object(r)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(r,n))})}return a}function A6e(a,e,r){return e=Z6e(e),e in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function Z6e(a){var e=y6e(a,"string");return Zd(e)==="symbol"?e:String(e)}function y6e(a,e){if(Zd(a)!=="object"||a===null)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var n=r.call(a,e||"default");if(Zd(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}var b6e=$J(function(a){return LJ(PJ(PJ({},a),{},{userAgents:g6e}))},"algolia"),H6e=b6e({transformResponse:function(e){return e.hits}});function E6e(a){var e=a.onTapAhead;return{item:function(n){var l=n.item,o=n.createElement,c=n.components;return l.__autocomplete_qsCategory?o("div",{className:"aa-ItemWrapper"},o("div",{className:"aa-ItemContent aa-ItemContent--indented"},o("div",{className:"aa-ItemContentSubtitle aa-ItemContentSubtitle--standalone"},o("span",{className:"aa-ItemContentSubtitleIcon"}),o("span",null,"in"," ",o("span",{className:"aa-ItemContentSubtitleCategory"},l.__autocomplete_qsCategory))))):o("div",{className:"aa-ItemWrapper"},o("div",{className:"aa-ItemContent"},o("div",{className:"aa-ItemIcon aa-ItemIcon--noBorder"},o("svg",{viewBox:"0 0 24 24",fill:"currentColor"},o("path",{d:"M16.041 15.856c-0.034 0.026-0.067 0.055-0.099 0.087s-0.060 0.064-0.087 0.099c-1.258 1.213-2.969 1.958-4.855 1.958-1.933 0-3.682-0.782-4.95-2.050s-2.050-3.017-2.050-4.95 0.782-3.682 2.050-4.95 3.017-2.050 4.95-2.050 3.682 0.782 4.95 2.050 2.050 3.017 2.050 4.95c0 1.886-0.745 3.597-1.959 4.856zM21.707 20.293l-3.675-3.675c1.231-1.54 1.968-3.493 1.968-5.618 0-2.485-1.008-4.736-2.636-6.364s-3.879-2.636-6.364-2.636-4.736 1.008-6.364 2.636-2.636 3.879-2.636 6.364 1.008 4.736 2.636 6.364 3.879 2.636 6.364 2.636c2.125 0 4.078-0.737 5.618-1.968l3.675 3.675c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414z"}))),o("div",{className:"aa-ItemContentBody"},o("div",{className:"aa-ItemContentTitle"},o(c.ReverseHighlight,{hit:l,attribute:"query"})))),o("div",{className:"aa-ItemActions"},o("button",{className:"aa-ItemActionButton",title:'Fill query with "'.concat(l.query,'"'),onClick:function(u){u.preventDefault(),u.stopPropagation(),e(l)}},o("svg",{viewBox:"0 0 24 24",fill:"currentColor"},o("path",{d:"M8 17v-7.586l8.293 8.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-8.293-8.293h7.586c0.552 0 1-0.448 1-1s-0.448-1-1-1h-10c-0.552 0-1 0.448-1 1v10c0 0.552 0.448 1 1 1s1-0.448 1-1z"})))))}}}function yd(a){"@babel/helpers - typeof";return yd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yd(a)}function kJ(a,e){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,n)}return r}function _J(a){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kJ(Object(r),!0).forEach(function(n){M6e(a,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):kJ(Object(r)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(r,n))})}return a}function M6e(a,e,r){return e=V6e(e),e in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function V6e(a){var e=O6e(a,"string");return yd(e)==="symbol"?e:String(e)}function O6e(a,e){if(yd(a)!=="object"||a===null)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var n=r.call(a,e||"default");if(yd(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function $6e(a,e){var r=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!r){if(Array.isArray(a)||(r=w6e(a))||e){r&&(a=r);var n=0,l=function(){};return{s:l,n:function(){return n>=a.length?{done:!0}:{done:!1,value:a[n++]}},e:function(h){throw h},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1524
1524
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,c=!1,m;return{s:function(){r=r.call(a)},n:function(){var h=r.next();return o=h.done,h},e:function(h){c=!0,m=h},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(c)throw m}}}}function w6e(a,e){if(a){if(typeof a=="string")return CJ(a,e);var r=Object.prototype.toString.call(a).slice(8,-1);if(r==="Object"&&a.constructor&&(r=a.constructor.name),r==="Map"||r==="Set")return Array.from(a);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return CJ(a,e)}}function CJ(a,e){(e==null||e>a.length)&&(e=a.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=a[r];return n}function S6e(a){var e=L6e(a),r=e.searchClient,n=e.indexName,l=e.getSearchParams,o=e.transformSource,c=e.categoryAttribute,m=e.itemsWithCategories,u=e.categoriesPerItem;return{name:"aa.querySuggestionsPlugin",getSources:function(g){var A=g.query,y=g.setQuery,E=g.refresh,M=g.state;function O(S){y("".concat(S.query," ")),E()}return[o({source:{sourceId:"querySuggestionsPlugin",getItemInputValue:function(F){var j=F.item;return j.query},getItems:function(){return H6e({searchClient:r,queries:[{indexName:n,query:A,params:l({state:M})}],transformResponse:function(j){var k=j.hits,N=k[0];if(!A||!c)return N;var C=0;return N.reduce(function(I,z){var q=[z];if(C<m){var K=(nL(z,Array.isArray(c)?c:[c])||[]).map(function(t0){return t0.value}).slice(0,u);K.length>0&&C++;var Y=$6e(K),o0;try{for(Y.s();!(o0=Y.n()).done;){var a0=o0.value;q.push(_J({__autocomplete_qsCategory:a0},z))}}catch(t0){Y.e(t0)}finally{Y.f()}}return I.push.apply(I,q),I},[])}})},templates:E6e({onTapAhead:O})},onTapAhead:O,state:M})]},__autocomplete_pluginOptions:a}}function L6e(a){return _J({getSearchParams:function(){return{}},transformSource:function(r){var n=r.source;return n},itemsWithCategories:1,categoriesPerItem:1},a)}function bd(a){"@babel/helpers - typeof";return bd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bd(a)}function NJ(a,e){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,n)}return r}function TJ(a){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?NJ(Object(r),!0).forEach(function(n){F6e(a,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):NJ(Object(r)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(r,n))})}return a}function F6e(a,e,r){return e=j6e(e),e in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function j6e(a){var e=P6e(a,"string");return bd(e)==="symbol"?e:String(e)}function P6e(a,e){if(bd(a)!=="object"||a===null)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var n=r.call(a,e||"default");if(bd(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function IJ(a){var e=a.item,r=a.query;return TJ(TJ({},e),{},{_highlightResult:{label:{value:r?e.label.replace(new RegExp(r.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"gi"),function(n){return"__aa-highlight__".concat(n,"__/aa-highlight__")}):e.label}}})}var k6e="AUTOCOMPLETE_RECENT_SEARCHES",DJ="__AUTOCOMPLETE_RECENT_SEARCHES_PLUGIN_TEST_KEY__";function _6e(){try{return localStorage.setItem(DJ,""),localStorage.removeItem(DJ),!0}catch{return!1}}function C6e(a){var e=a.key;return _6e()?{setItem:function(n){return window.localStorage.setItem(e,JSON.stringify(n))},getItem:function(){var n=window.localStorage.getItem(e);return n?JSON.parse(n):[]}}:{setItem:function(){},getItem:function(){return[]}}}function N6e(a){return x6e(a)||D6e(a)||I6e(a)||T6e()}function T6e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1525
1525
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I6e(a,e){if(a){if(typeof a=="string")return hL(a,e);var r=Object.prototype.toString.call(a).slice(8,-1);if(r==="Object"&&a.constructor&&(r=a.constructor.name),r==="Map"||r==="Set")return Array.from(a);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hL(a,e)}}function D6e(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function x6e(a){if(Array.isArray(a))return hL(a)}function hL(a,e){(e==null||e>a.length)&&(e=a.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=a[r];return n}function R6e(a){var e=a.key,r=a.limit,n=a.search,l=C6e({key:e});return{onAdd:function(c){l.setItem([c].concat(N6e(l.getItem())))},onRemove:function(c){l.setItem(l.getItem().filter(function(m){return m.id!==c}))},getAll:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n({query:c,items:l.getItem(),limit:r}).slice(0,r)}}}function z6e(a){return{addItem:function(r){a.onRemove(r.id),a.onAdd(r)},removeItem:function(r){a.onRemove(r)},getAll:function(r){return a.getAll(r)}}}function U6e(a){var e=a.onRemove,r=a.onTapAhead;return{item:function(l){var o=l.item,c=l.createElement,m=l.components;return c("div",{className:"aa-ItemWrapper"},c("div",{className:"aa-ItemContent"},c("div",{className:"aa-ItemIcon aa-ItemIcon--noBorder"},c("svg",{viewBox:"0 0 24 24",fill:"currentColor"},c("path",{d:"M12.516 6.984v5.25l4.5 2.672-0.75 1.266-5.25-3.188v-6h1.5zM12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648-5.648-2.367-5.648 2.367-2.367 5.648 2.367 5.648 5.648 2.367zM12 2.016q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055-7.055 2.93-7.055-2.93-2.93-7.055 2.93-7.055 7.055-2.93z"}))),c("div",{className:"aa-ItemContentBody"},c("div",{className:"aa-ItemContentTitle"},c(m.ReverseHighlight,{hit:o,attribute:"label"}),o.category&&c("span",{className:"aa-ItemContentSubtitle aa-ItemContentSubtitle--inline"},c("span",{className:"aa-ItemContentSubtitleIcon"})," in"," ",c("span",{className:"aa-ItemContentSubtitleCategory"},o.category))))),c("div",{className:"aa-ItemActions"},c("button",{className:"aa-ItemActionButton",title:"Remove this search",onClick:function(h){h.preventDefault(),h.stopPropagation(),e(o.id)}},c("svg",{viewBox:"0 0 24 24",fill:"currentColor"},c("path",{d:"M18 7v13c0 0.276-0.111 0.525-0.293 0.707s-0.431 0.293-0.707 0.293h-10c-0.276 0-0.525-0.111-0.707-0.293s-0.293-0.431-0.293-0.707v-13zM17 5v-1c0-0.828-0.337-1.58-0.879-2.121s-1.293-0.879-2.121-0.879h-4c-0.828 0-1.58 0.337-2.121 0.879s-0.879 1.293-0.879 2.121v1h-4c-0.552 0-1 0.448-1 1s0.448 1 1 1h1v13c0 0.828 0.337 1.58 0.879 2.121s1.293 0.879 2.121 0.879h10c0.828 0 1.58-0.337 2.121-0.879s0.879-1.293 0.879-2.121v-13h1c0.552 0 1-0.448 1-1s-0.448-1-1-1zM9 5v-1c0-0.276 0.111-0.525 0.293-0.707s0.431-0.293 0.707-0.293h4c0.276 0 0.525 0.111 0.707 0.293s0.293 0.431 0.293 0.707v1zM9 11v6c0 0.552 0.448 1 1 1s1-0.448 1-1v-6c0-0.552-0.448-1-1-1s-1 0.448-1 1zM13 11v6c0 0.552 0.448 1 1 1s1-0.448 1-1v-6c0-0.552-0.448-1-1-1s-1 0.448-1 1z"}))),c("button",{className:"aa-ItemActionButton",title:'Fill query with "'.concat(o.label,'"'),onClick:function(h){h.preventDefault(),h.stopPropagation(),r(o)}},c("svg",{viewBox:"0 0 24 24",fill:"currentColor"},c("path",{d:"M8 17v-7.586l8.293 8.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-8.293-8.293h7.586c0.552 0 1-0.448 1-1s-0.448-1-1-1h-10c-0.552 0-1 0.448-1 1v10c0 0.552 0.448 1 1 1s1-0.448 1-1z"})))))}}}var B6e={};function Hd(a){"@babel/helpers - typeof";return Hd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hd(a)}function xJ(a){return Y6e(a)||G6e(a)||W6e(a)||q6e()}function q6e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1526
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W6e(a,e){if(a){if(typeof a=="string")return fL(a,e);var r=Object.prototype.toString.call(a).slice(8,-1);if(r==="Object"&&a.constructor&&(r=a.constructor.name),r==="Map"||r==="Set")return Array.from(a);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fL(a,e)}}function G6e(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Y6e(a){if(Array.isArray(a))return fL(a)}function fL(a,e){(e==null||e>a.length)&&(e=a.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=a[r];return n}function RJ(a,e){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,n)}return r}function Ed(a){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?RJ(Object(r),!0).forEach(function(n){Q6e(a,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):RJ(Object(r)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(r,n))})}return a}function Q6e(a,e,r){return e=K6e(e),e in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function K6e(a){var e=X6e(a,"string");return Hd(e)==="symbol"?e:String(e)}function X6e(a,e){if(Hd(a)!=="object"||a===null)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var n=r.call(a,e||"default");if(Hd(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function J6e(a){return function(r){var n=r.onSelect;n(function(l){var o=l.item,c=l.state,m=l.source,u=m.getItemInputValue({item:o,state:c});if(m.sourceId==="querySuggestionsPlugin"&&u){var h={id:u,label:u,category:o.__autocomplete_qsCategory};a.addItem(h)}})}}function e4e(a){var e=t4e(a),r=e.storage,n=e.transformSource,l=e.subscribe,o=z6e(r),c=DX([]);return{name:"aa.recentSearchesPlugin",subscribe:l??J6e(o),onSubmit:function(u){var h=u.state,g=h.query;if(g){var A={id:g,label:g};o.addItem(A)}},getSources:function(u){var h=u.query,g=u.setQuery,A=u.refresh,y=u.state;c.current=o.getAll(h);function E(O){o.removeItem(O),A()}function M(O){g(O.label),A()}return Promise.resolve(c.current).then(function(O){return O.length===0?[]:[n({source:{sourceId:"recentSearchesPlugin",getItemInputValue:function(F){var j=F.item;return j.label},getItems:function(){return O},templates:U6e({onRemove:E,onTapAhead:M})},onRemove:E,onTapAhead:M,state:y})]})},data:Ed(Ed({},o),{},{getAlgoliaSearchParams:function(){var u,h,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Array.isArray(c.current)?Ed(Ed({},g),{},{facetFilters:[].concat(xJ((u=g.facetFilters)!==null&&u!==void 0?u:[]),xJ(c.current.map(function(A){return["objectID:-".concat(A.label)]}))),hitsPerPage:Math.max(1,((h=g.hitsPerPage)!==null&&h!==void 0?h:10)-c.current.length)}):(B6e.NODE_ENV!=="production"&&oL(!1,"The `getAlgoliaSearchParams` function is not supported with storages that return promises in `getAll`."),g)}}),__autocomplete_pluginOptions:a}}function t4e(a){return Ed({transformSource:function(r){var n=r.source;return n}},a)}function a4e(a){var e=a.query,r=a.items,n=a.limit;return e?r.filter(function(l){return l.label.toLowerCase().includes(e.toLowerCase())}).slice(0,n).map(function(l){return IJ({item:l,query:e})}):r.slice(0,n).map(function(l){return IJ({item:l,query:e})})}function Md(a){"@babel/helpers - typeof";return Md=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Md(a)}function zJ(a,e){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,n)}return r}function vL(a){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zJ(Object(r),!0).forEach(function(n){r4e(a,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):zJ(Object(r)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(r,n))})}return a}function r4e(a,e,r){return e=n4e(e),e in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function n4e(a){var e=l4e(a,"string");return Md(e)==="symbol"?e:String(e)}function l4e(a,e){if(Md(a)!=="object"||a===null)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var n=r.call(a,e||"default");if(Md(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function o4e(a){var e=i4e(a),r=e.key,n=e.limit,l=e.transformSource,o=e.search,c=e.subscribe,m=R6e({key:[k6e,r].join(":"),limit:n,search:o}),u=e4e({transformSource:l,storage:m,subscribe:c});return vL(vL({},u),{},{name:"aa.localStorageRecentSearchesPlugin",__autocomplete_pluginOptions:a})}function i4e(a){return vL({limit:5,search:a4e,transformSource:function(r){var n=r.source;return n}},a)}var UJ={exports:{}};/*! algoliasearch-lite.umd.js | 4.24.0 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */(function(a,e){(function(r,n){a.exports=n()})(he,function(){function r(X,h0,f0){return h0 in X?Object.defineProperty(X,h0,{value:f0,enumerable:!0,configurable:!0,writable:!0}):X[h0]=f0,X}function n(X,h0){var f0=Object.keys(X);if(Object.getOwnPropertySymbols){var Z0=Object.getOwnPropertySymbols(X);h0&&(Z0=Z0.filter(function(v0){return Object.getOwnPropertyDescriptor(X,v0).enumerable})),f0.push.apply(f0,Z0)}return f0}function l(X){for(var h0=1;h0<arguments.length;h0++){var f0=arguments[h0]!=null?arguments[h0]:{};h0%2?n(Object(f0),!0).forEach(function(Z0){r(X,Z0,f0[Z0])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(f0)):n(Object(f0)).forEach(function(Z0){Object.defineProperty(X,Z0,Object.getOwnPropertyDescriptor(f0,Z0))})}return X}function o(X,h0){if(X==null)return{};var f0,Z0,v0=function(x0,k0){if(x0==null)return{};var W0,t1,A1={},T1=Object.keys(x0);for(t1=0;t1<T1.length;t1++)W0=T1[t1],k0.indexOf(W0)>=0||(A1[W0]=x0[W0]);return A1}(X,h0);if(Object.getOwnPropertySymbols){var A0=Object.getOwnPropertySymbols(X);for(Z0=0;Z0<A0.length;Z0++)f0=A0[Z0],h0.indexOf(f0)>=0||Object.prototype.propertyIsEnumerable.call(X,f0)&&(v0[f0]=X[f0])}return v0}function c(X,h0){return function(f0){if(Array.isArray(f0))return f0}(X)||function(f0,Z0){if(Symbol.iterator in Object(f0)||Object.prototype.toString.call(f0)==="[object Arguments]"){var v0=[],A0=!0,x0=!1,k0=void 0;try{for(var W0,t1=f0[Symbol.iterator]();!(A0=(W0=t1.next()).done)&&(v0.push(W0.value),!Z0||v0.length!==Z0);A0=!0);}catch(A1){x0=!0,k0=A1}finally{try{A0||t1.return==null||t1.return()}finally{if(x0)throw k0}}return v0}}(X,h0)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function m(X){return function(h0){if(Array.isArray(h0)){for(var f0=0,Z0=new Array(h0.length);f0<h0.length;f0++)Z0[f0]=h0[f0];return Z0}}(X)||function(h0){if(Symbol.iterator in Object(h0)||Object.prototype.toString.call(h0)==="[object Arguments]")return Array.from(h0)}(X)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(X){var h0,f0="algoliasearch-client-js-".concat(X.key),Z0=function(){return h0===void 0&&(h0=X.localStorage||window.localStorage),h0},v0=function(){return JSON.parse(Z0().getItem(f0)||"{}")},A0=function(k0){Z0().setItem(f0,JSON.stringify(k0))},x0=function(){var k0=X.timeToLive?1e3*X.timeToLive:null,W0=v0(),t1=Object.fromEntries(Object.entries(W0).filter(function(T1){return c(T1,2)[1].timestamp!==void 0}));if(A0(t1),k0){var A1=Object.fromEntries(Object.entries(t1).filter(function(T1){var H1=c(T1,2)[1],u1=new Date().getTime();return!(H1.timestamp+k0<u1)}));A0(A1)}};return{get:function(k0,W0){var t1=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){x0();var A1=JSON.stringify(k0);return v0()[A1]}).then(function(A1){return Promise.all([A1?A1.value:W0(),A1!==void 0])}).then(function(A1){var T1=c(A1,2),H1=T1[0],u1=T1[1];return Promise.all([H1,u1||t1.miss(H1)])}).then(function(A1){return c(A1,1)[0]})},set:function(k0,W0){return Promise.resolve().then(function(){var t1=v0();return t1[JSON.stringify(k0)]={timestamp:new Date().getTime(),value:W0},Z0().setItem(f0,JSON.stringify(t1)),W0})},delete:function(k0){return Promise.resolve().then(function(){var W0=v0();delete W0[JSON.stringify(k0)],Z0().setItem(f0,JSON.stringify(W0))})},clear:function(){return Promise.resolve().then(function(){Z0().removeItem(f0)})}}}function h(X){var h0=m(X.caches),f0=h0.shift();return f0===void 0?{get:function(Z0,v0){var A0=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},x0=v0();return x0.then(function(k0){return Promise.all([k0,A0.miss(k0)])}).then(function(k0){return c(k0,1)[0]})},set:function(Z0,v0){return Promise.resolve(v0)},delete:function(Z0){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(Z0,v0){var A0=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return f0.get(Z0,v0,A0).catch(function(){return h({caches:h0}).get(Z0,v0,A0)})},set:function(Z0,v0){return f0.set(Z0,v0).catch(function(){return h({caches:h0}).set(Z0,v0)})},delete:function(Z0){return f0.delete(Z0).catch(function(){return h({caches:h0}).delete(Z0)})},clear:function(){return f0.clear().catch(function(){return h({caches:h0}).clear()})}}}function g(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},h0={};return{get:function(f0,Z0){var v0=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},A0=JSON.stringify(f0);if(A0 in h0)return Promise.resolve(X.serializable?JSON.parse(h0[A0]):h0[A0]);var x0=Z0(),k0=v0&&v0.miss||function(){return Promise.resolve()};return x0.then(function(W0){return k0(W0)}).then(function(){return x0})},set:function(f0,Z0){return h0[JSON.stringify(f0)]=X.serializable?JSON.stringify(Z0):Z0,Promise.resolve(Z0)},delete:function(f0){return delete h0[JSON.stringify(f0)],Promise.resolve()},clear:function(){return h0={},Promise.resolve()}}}function A(X){for(var h0=X.length-1;h0>0;h0--){var f0=Math.floor(Math.random()*(h0+1)),Z0=X[h0];X[h0]=X[f0],X[f0]=Z0}return X}function y(X,h0){return h0&&Object.keys(h0).forEach(function(f0){X[f0]=h0[f0](X)}),X}function E(X){for(var h0=arguments.length,f0=new Array(h0>1?h0-1:0),Z0=1;Z0<h0;Z0++)f0[Z0-1]=arguments[Z0];var v0=0;return X.replace(/%s/g,function(){return encodeURIComponent(f0[v0++])})}var M={WithinQueryParameters:0,WithinHeaders:1};function O(X,h0){var f0=X||{},Z0=f0.data||{};return Object.keys(f0).forEach(function(v0){["timeout","headers","queryParameters","data","cacheable"].indexOf(v0)===-1&&(Z0[v0]=f0[v0])}),{data:Object.entries(Z0).length>0?Z0:void 0,timeout:f0.timeout||h0,headers:f0.headers||{},queryParameters:f0.queryParameters||{},cacheable:f0.cacheable}}var S={Read:1,Write:2,Any:3},F=1,j=2,k=3;function N(X){var h0=arguments.length>1&&arguments[1]!==void 0?arguments[1]:F;return l(l({},X),{},{status:h0,lastUpdate:Date.now()})}function C(X){return typeof X=="string"?{protocol:"https",url:X,accept:S.Any}:{protocol:X.protocol||"https",url:X.url,accept:X.accept||S.Any}}var I="GET",z="POST";function q(X,h0){return Promise.all(h0.map(function(f0){return X.get(f0,function(){return Promise.resolve(N(f0))})})).then(function(f0){var Z0=f0.filter(function(x0){return function(k0){return k0.status===F||Date.now()-k0.lastUpdate>12e4}(x0)}),v0=f0.filter(function(x0){return function(k0){return k0.status===k&&Date.now()-k0.lastUpdate<=12e4}(x0)}),A0=[].concat(m(Z0),m(v0));return{getTimeout:function(x0,k0){return(v0.length===0&&x0===0?1:v0.length+3+x0)*k0},statelessHosts:A0.length>0?A0.map(function(x0){return C(x0)}):h0}})}function K(X,h0,f0,Z0){var v0=[],A0=function(H1,u1){if(!(H1.method===I||H1.data===void 0&&u1.data===void 0)){var $0=Array.isArray(H1.data)?H1.data:l(l({},H1.data),u1.data);return JSON.stringify($0)}}(f0,Z0),x0=function(H1,u1){var $0=l(l({},H1.headers),u1.headers),N0={};return Object.keys($0).forEach(function(F0){var Q0=$0[F0];N0[F0.toLowerCase()]=Q0}),N0}(X,Z0),k0=f0.method,W0=f0.method!==I?{}:l(l({},f0.data),Z0.data),t1=l(l(l({"x-algolia-agent":X.userAgent.value},X.queryParameters),W0),Z0.queryParameters),A1=0,T1=function H1(u1,$0){var N0=u1.pop();if(N0===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support .",transporterStackTrace:t0(v0)};var F0={data:A0,headers:x0,method:k0,url:o0(N0,f0.path,t1),connectTimeout:$0(A1,X.timeouts.connect),responseTimeout:$0(A1,Z0.timeout)},Q0=function(o1){var Z1={request:F0,response:o1,host:N0,triesLeft:u1.length};return v0.push(Z1),Z1},w1={onSuccess:function(o1){return function(Z1){try{return JSON.parse(Z1.content)}catch(K1){throw function(Ie,Le){return{name:"DeserializationError",message:Ie,response:Le}}(K1.message,Z1)}}(o1)},onRetry:function(o1){var Z1=Q0(o1);return o1.isTimedOut&&A1++,Promise.all([X.logger.info("Retryable failure",l0(Z1)),X.hostsCache.set(N0,N(N0,o1.isTimedOut?k:j))]).then(function(){return H1(u1,$0)})},onFail:function(o1){throw Q0(o1),function(Z1,K1){var Ie=Z1.content,Le=Z1.status,c1=Ie;try{c1=JSON.parse(Ie).message}catch{}return function(P1,de,Fe){return{name:"ApiError",message:P1,status:de,transporterStackTrace:Fe}}(c1,Le,K1)}(o1,t0(v0))}};return X.requester.send(F0).then(function(o1){return function(Z1,K1){return function(Ie){var Le=Ie.status;return Ie.isTimedOut||function(c1){var P1=c1.isTimedOut,de=c1.status;return!P1&&~~de==0}(Ie)||~~(Le/100)!=2&&~~(Le/100)!=4}(Z1)?K1.onRetry(Z1):~~(Z1.status/100)==2?K1.onSuccess(Z1):K1.onFail(Z1)}(o1,w1)})};return q(X.hostsCache,h0).then(function(H1){return T1(m(H1.statelessHosts).reverse(),H1.getTimeout)})}function Y(X){var h0={value:"Algolia for JavaScript (".concat(X,")"),add:function(f0){var Z0="; ".concat(f0.segment).concat(f0.version!==void 0?" (".concat(f0.version,")"):"");return h0.value.indexOf(Z0)===-1&&(h0.value="".concat(h0.value).concat(Z0)),h0}};return h0}function o0(X,h0,f0){var Z0=a0(f0),v0="".concat(X.protocol,"://").concat(X.url,"/").concat(h0.charAt(0)==="/"?h0.substr(1):h0);return Z0.length&&(v0+="?".concat(Z0)),v0}function a0(X){return Object.keys(X).map(function(h0){return E("%s=%s",h0,(f0=X[h0],Object.prototype.toString.call(f0)==="[object Object]"||Object.prototype.toString.call(f0)==="[object Array]"?JSON.stringify(X[h0]):X[h0]));var f0}).join("&")}function t0(X){return X.map(function(h0){return l0(h0)})}function l0(X){var h0=X.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return l(l({},X),{},{request:l(l({},X.request),{},{headers:l(l({},X.request.headers),h0)})})}var e0=function(X){var h0=X.appId,f0=function(v0,A0,x0){var k0={"x-algolia-api-key":x0,"x-algolia-application-id":A0};return{headers:function(){return v0===M.WithinHeaders?k0:{}},queryParameters:function(){return v0===M.WithinQueryParameters?k0:{}}}}(X.authMode!==void 0?X.authMode:M.WithinHeaders,h0,X.apiKey),Z0=function(v0){var A0=v0.hostsCache,x0=v0.logger,k0=v0.requester,W0=v0.requestsCache,t1=v0.responsesCache,A1=v0.timeouts,T1=v0.userAgent,H1=v0.hosts,u1=v0.queryParameters,$0={hostsCache:A0,logger:x0,requester:k0,requestsCache:W0,responsesCache:t1,timeouts:A1,userAgent:T1,headers:v0.headers,queryParameters:u1,hosts:H1.map(function(N0){return C(N0)}),read:function(N0,F0){var Q0=O(F0,$0.timeouts.read),w1=function(){return K($0,$0.hosts.filter(function(Z1){return(Z1.accept&S.Read)!=0}),N0,Q0)};if((Q0.cacheable!==void 0?Q0.cacheable:N0.cacheable)!==!0)return w1();var o1={request:N0,mappedRequestOptions:Q0,transporter:{queryParameters:$0.queryParameters,headers:$0.headers}};return $0.responsesCache.get(o1,function(){return $0.requestsCache.get(o1,function(){return $0.requestsCache.set(o1,w1()).then(function(Z1){return Promise.all([$0.requestsCache.delete(o1),Z1])},function(Z1){return Promise.all([$0.requestsCache.delete(o1),Promise.reject(Z1)])}).then(function(Z1){var K1=c(Z1,2);return K1[0],K1[1]})})},{miss:function(Z1){return $0.responsesCache.set(o1,Z1)}})},write:function(N0,F0){return K($0,$0.hosts.filter(function(Q0){return(Q0.accept&S.Write)!=0}),N0,O(F0,$0.timeouts.write))}};return $0}(l(l({hosts:[{url:"".concat(h0,"-dsn.algolia.net"),accept:S.Read},{url:"".concat(h0,".algolia.net"),accept:S.Write}].concat(A([{url:"".concat(h0,"-1.algolianet.com")},{url:"".concat(h0,"-2.algolianet.com")},{url:"".concat(h0,"-3.algolianet.com")}]))},X),{},{headers:l(l(l({},f0.headers()),{"content-type":"application/x-www-form-urlencoded"}),X.headers),queryParameters:l(l({},f0.queryParameters()),X.queryParameters)}));return y({transporter:Z0,appId:h0,addAlgoliaAgent:function(v0,A0){Z0.userAgent.add({segment:v0,version:A0})},clearCache:function(){return Promise.all([Z0.requestsCache.clear(),Z0.responsesCache.clear()]).then(function(){})}},X.methods)},G0=function(X){return function(h0,f0){return h0.method===I?X.transporter.read(h0,f0):X.transporter.write(h0,f0)}},y0=function(X){return function(h0){var f0=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z0={transporter:X.transporter,appId:X.appId,indexName:h0};return y(Z0,f0.methods)}},g0=function(X){return function(h0,f0){var Z0=h0.map(function(v0){return l(l({},v0),{},{params:a0(v0.params||{})})});return X.transporter.read({method:z,path:"1/indexes/*/queries",data:{requests:Z0},cacheable:!0},f0)}},L0=function(X){return function(h0,f0){return Promise.all(h0.map(function(Z0){var v0=Z0.params,A0=v0.facetName,x0=v0.facetQuery,k0=o(v0,["facetName","facetQuery"]);return y0(X)(Z0.indexName,{methods:{searchForFacetValues:n0}}).searchForFacetValues(A0,x0,l(l({},f0),k0))}))}},B=function(X){return function(h0,f0,Z0){return X.transporter.read({method:z,path:E("1/answers/%s/prediction",X.indexName),data:{query:h0,queryLanguages:f0},cacheable:!0},Z0)}},G=function(X){return function(h0,f0){return X.transporter.read({method:z,path:E("1/indexes/%s/query",X.indexName),data:{query:h0},cacheable:!0},f0)}},n0=function(X){return function(h0,f0,Z0){return X.transporter.read({method:z,path:E("1/indexes/%s/facets/%s/query",X.indexName,h0),data:{facetQuery:f0},cacheable:!0},Z0)}},d0=1,O0=2,S0=3,c0=function(X){return function(h0,f0){var Z0=h0.map(function(v0){return l(l({},v0),{},{threshold:v0.threshold||0})});return X.transporter.read({method:z,path:"1/indexes/*/recommendations",data:{requests:Z0},cacheable:!0},f0)}};function z0(X,h0,f0){var Z0,v0={appId:X,apiKey:h0,timeouts:{connect:1,read:2,write:30},requester:{send:function(A0){return new Promise(function(x0){var k0=new XMLHttpRequest;k0.open(A0.method,A0.url,!0),Object.keys(A0.headers).forEach(function(T1){return k0.setRequestHeader(T1,A0.headers[T1])});var W0,t1=function(T1,H1){return setTimeout(function(){k0.abort(),x0({status:0,content:H1,isTimedOut:!0})},1e3*T1)},A1=t1(A0.connectTimeout,"Connection timeout");k0.onreadystatechange=function(){k0.readyState>k0.OPENED&&W0===void 0&&(clearTimeout(A1),W0=t1(A0.responseTimeout,"Socket timeout"))},k0.onerror=function(){k0.status===0&&(clearTimeout(A1),clearTimeout(W0),x0({content:k0.responseText||"Network request failed",status:k0.status,isTimedOut:!1}))},k0.onload=function(){clearTimeout(A1),clearTimeout(W0),x0({content:k0.responseText,status:k0.status,isTimedOut:!1})},k0.send(A0.data)})}},logger:(Z0=S0,{debug:function(A0,x0){return d0>=Z0&&console.debug(A0,x0),Promise.resolve()},info:function(A0,x0){return O0>=Z0&&console.info(A0,x0),Promise.resolve()},error:function(A0,x0){return console.error(A0,x0),Promise.resolve()}}),responsesCache:g(),requestsCache:g({serializable:!1}),hostsCache:h({caches:[u({key:"".concat("4.24.0","-").concat(X)}),g()]}),userAgent:Y("4.24.0").add({segment:"Browser",version:"lite"}),authMode:M.WithinQueryParameters};return e0(l(l(l({},v0),f0),{},{methods:{search:g0,searchForFacetValues:L0,multipleQueries:g0,multipleSearchForFacetValues:L0,customRequest:G0,initIndex:function(A0){return function(x0){return y0(A0)(x0,{methods:{search:G,searchForFacetValues:n0,findAnswers:B}})}},getRecommendations:c0}}))}return z0.version="4.24.0",z0})})(UJ);var c4e=UJ.exports;const s4e=$2(c4e),m4e=({dropdown:a})=>a?ot`
1526
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W6e(a,e){if(a){if(typeof a=="string")return fL(a,e);var r=Object.prototype.toString.call(a).slice(8,-1);if(r==="Object"&&a.constructor&&(r=a.constructor.name),r==="Map"||r==="Set")return Array.from(a);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fL(a,e)}}function G6e(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Y6e(a){if(Array.isArray(a))return fL(a)}function fL(a,e){(e==null||e>a.length)&&(e=a.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=a[r];return n}function RJ(a,e){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,n)}return r}function Ed(a){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?RJ(Object(r),!0).forEach(function(n){Q6e(a,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):RJ(Object(r)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(r,n))})}return a}function Q6e(a,e,r){return e=K6e(e),e in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function K6e(a){var e=X6e(a,"string");return Hd(e)==="symbol"?e:String(e)}function X6e(a,e){if(Hd(a)!=="object"||a===null)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var n=r.call(a,e||"default");if(Hd(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function J6e(a){return function(r){var n=r.onSelect;n(function(l){var o=l.item,c=l.state,m=l.source,u=m.getItemInputValue({item:o,state:c});if(m.sourceId==="querySuggestionsPlugin"&&u){var h={id:u,label:u,category:o.__autocomplete_qsCategory};a.addItem(h)}})}}function e4e(a){var e=t4e(a),r=e.storage,n=e.transformSource,l=e.subscribe,o=z6e(r),c=DX([]);return{name:"aa.recentSearchesPlugin",subscribe:l??J6e(o),onSubmit:function(u){var h=u.state,g=h.query;if(g){var A={id:g,label:g};o.addItem(A)}},getSources:function(u){var h=u.query,g=u.setQuery,A=u.refresh,y=u.state;c.current=o.getAll(h);function E(O){o.removeItem(O),A()}function M(O){g(O.label),A()}return Promise.resolve(c.current).then(function(O){return O.length===0?[]:[n({source:{sourceId:"recentSearchesPlugin",getItemInputValue:function(F){var j=F.item;return j.label},getItems:function(){return O},templates:U6e({onRemove:E,onTapAhead:M})},onRemove:E,onTapAhead:M,state:y})]})},data:Ed(Ed({},o),{},{getAlgoliaSearchParams:function(){var u,h,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Array.isArray(c.current)?Ed(Ed({},g),{},{facetFilters:[].concat(xJ((u=g.facetFilters)!==null&&u!==void 0?u:[]),xJ(c.current.map(function(A){return["objectID:-".concat(A.label)]}))),hitsPerPage:Math.max(1,((h=g.hitsPerPage)!==null&&h!==void 0?h:10)-c.current.length)}):(B6e.NODE_ENV!=="production"&&oL(!1,"The `getAlgoliaSearchParams` function is not supported with storages that return promises in `getAll`."),g)}}),__autocomplete_pluginOptions:a}}function t4e(a){return Ed({transformSource:function(r){var n=r.source;return n}},a)}function a4e(a){var e=a.query,r=a.items,n=a.limit;return e?r.filter(function(l){return l.label.toLowerCase().includes(e.toLowerCase())}).slice(0,n).map(function(l){return IJ({item:l,query:e})}):r.slice(0,n).map(function(l){return IJ({item:l,query:e})})}function Md(a){"@babel/helpers - typeof";return Md=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Md(a)}function zJ(a,e){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),r.push.apply(r,n)}return r}function vL(a){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zJ(Object(r),!0).forEach(function(n){r4e(a,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):zJ(Object(r)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(r,n))})}return a}function r4e(a,e,r){return e=n4e(e),e in a?Object.defineProperty(a,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[e]=r,a}function n4e(a){var e=l4e(a,"string");return Md(e)==="symbol"?e:String(e)}function l4e(a,e){if(Md(a)!=="object"||a===null)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var n=r.call(a,e||"default");if(Md(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function o4e(a){var e=i4e(a),r=e.key,n=e.limit,l=e.transformSource,o=e.search,c=e.subscribe,m=R6e({key:[k6e,r].join(":"),limit:n,search:o}),u=e4e({transformSource:l,storage:m,subscribe:c});return vL(vL({},u),{},{name:"aa.localStorageRecentSearchesPlugin",__autocomplete_pluginOptions:a})}function i4e(a){return vL({limit:5,search:a4e,transformSource:function(r){var n=r.source;return n}},a)}var UJ={exports:{}};/*! algoliasearch-lite.umd.js | 4.24.0 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */(function(a,e){(function(r,n){a.exports=n()})(he,function(){function r(X,h0,f0){return h0 in X?Object.defineProperty(X,h0,{value:f0,enumerable:!0,configurable:!0,writable:!0}):X[h0]=f0,X}function n(X,h0){var f0=Object.keys(X);if(Object.getOwnPropertySymbols){var Z0=Object.getOwnPropertySymbols(X);h0&&(Z0=Z0.filter(function(v0){return Object.getOwnPropertyDescriptor(X,v0).enumerable})),f0.push.apply(f0,Z0)}return f0}function l(X){for(var h0=1;h0<arguments.length;h0++){var f0=arguments[h0]!=null?arguments[h0]:{};h0%2?n(Object(f0),!0).forEach(function(Z0){r(X,Z0,f0[Z0])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(f0)):n(Object(f0)).forEach(function(Z0){Object.defineProperty(X,Z0,Object.getOwnPropertyDescriptor(f0,Z0))})}return X}function o(X,h0){if(X==null)return{};var f0,Z0,v0=function(x0,k0){if(x0==null)return{};var W0,t1,A1={},T1=Object.keys(x0);for(t1=0;t1<T1.length;t1++)W0=T1[t1],k0.indexOf(W0)>=0||(A1[W0]=x0[W0]);return A1}(X,h0);if(Object.getOwnPropertySymbols){var A0=Object.getOwnPropertySymbols(X);for(Z0=0;Z0<A0.length;Z0++)f0=A0[Z0],h0.indexOf(f0)>=0||Object.prototype.propertyIsEnumerable.call(X,f0)&&(v0[f0]=X[f0])}return v0}function c(X,h0){return function(f0){if(Array.isArray(f0))return f0}(X)||function(f0,Z0){if(Symbol.iterator in Object(f0)||Object.prototype.toString.call(f0)==="[object Arguments]"){var v0=[],A0=!0,x0=!1,k0=void 0;try{for(var W0,t1=f0[Symbol.iterator]();!(A0=(W0=t1.next()).done)&&(v0.push(W0.value),!Z0||v0.length!==Z0);A0=!0);}catch(A1){x0=!0,k0=A1}finally{try{A0||t1.return==null||t1.return()}finally{if(x0)throw k0}}return v0}}(X,h0)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function m(X){return function(h0){if(Array.isArray(h0)){for(var f0=0,Z0=new Array(h0.length);f0<h0.length;f0++)Z0[f0]=h0[f0];return Z0}}(X)||function(h0){if(Symbol.iterator in Object(h0)||Object.prototype.toString.call(h0)==="[object Arguments]")return Array.from(h0)}(X)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(X){var h0,f0="algoliasearch-client-js-".concat(X.key),Z0=function(){return h0===void 0&&(h0=X.localStorage||window.localStorage),h0},v0=function(){return JSON.parse(Z0().getItem(f0)||"{}")},A0=function(k0){Z0().setItem(f0,JSON.stringify(k0))},x0=function(){var k0=X.timeToLive?1e3*X.timeToLive:null,W0=v0(),t1=Object.fromEntries(Object.entries(W0).filter(function(T1){return c(T1,2)[1].timestamp!==void 0}));if(A0(t1),k0){var A1=Object.fromEntries(Object.entries(t1).filter(function(T1){var H1=c(T1,2)[1],u1=new Date().getTime();return!(H1.timestamp+k0<u1)}));A0(A1)}};return{get:function(k0,W0){var t1=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){x0();var A1=JSON.stringify(k0);return v0()[A1]}).then(function(A1){return Promise.all([A1?A1.value:W0(),A1!==void 0])}).then(function(A1){var T1=c(A1,2),H1=T1[0],u1=T1[1];return Promise.all([H1,u1||t1.miss(H1)])}).then(function(A1){return c(A1,1)[0]})},set:function(k0,W0){return Promise.resolve().then(function(){var t1=v0();return t1[JSON.stringify(k0)]={timestamp:new Date().getTime(),value:W0},Z0().setItem(f0,JSON.stringify(t1)),W0})},delete:function(k0){return Promise.resolve().then(function(){var W0=v0();delete W0[JSON.stringify(k0)],Z0().setItem(f0,JSON.stringify(W0))})},clear:function(){return Promise.resolve().then(function(){Z0().removeItem(f0)})}}}function h(X){var h0=m(X.caches),f0=h0.shift();return f0===void 0?{get:function(Z0,v0){var A0=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},x0=v0();return x0.then(function(k0){return Promise.all([k0,A0.miss(k0)])}).then(function(k0){return c(k0,1)[0]})},set:function(Z0,v0){return Promise.resolve(v0)},delete:function(Z0){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(Z0,v0){var A0=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return f0.get(Z0,v0,A0).catch(function(){return h({caches:h0}).get(Z0,v0,A0)})},set:function(Z0,v0){return f0.set(Z0,v0).catch(function(){return h({caches:h0}).set(Z0,v0)})},delete:function(Z0){return f0.delete(Z0).catch(function(){return h({caches:h0}).delete(Z0)})},clear:function(){return f0.clear().catch(function(){return h({caches:h0}).clear()})}}}function g(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},h0={};return{get:function(f0,Z0){var v0=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},A0=JSON.stringify(f0);if(A0 in h0)return Promise.resolve(X.serializable?JSON.parse(h0[A0]):h0[A0]);var x0=Z0(),k0=v0&&v0.miss||function(){return Promise.resolve()};return x0.then(function(W0){return k0(W0)}).then(function(){return x0})},set:function(f0,Z0){return h0[JSON.stringify(f0)]=X.serializable?JSON.stringify(Z0):Z0,Promise.resolve(Z0)},delete:function(f0){return delete h0[JSON.stringify(f0)],Promise.resolve()},clear:function(){return h0={},Promise.resolve()}}}function A(X){for(var h0=X.length-1;h0>0;h0--){var f0=Math.floor(Math.random()*(h0+1)),Z0=X[h0];X[h0]=X[f0],X[f0]=Z0}return X}function y(X,h0){return h0&&Object.keys(h0).forEach(function(f0){X[f0]=h0[f0](X)}),X}function E(X){for(var h0=arguments.length,f0=new Array(h0>1?h0-1:0),Z0=1;Z0<h0;Z0++)f0[Z0-1]=arguments[Z0];var v0=0;return X.replace(/%s/g,function(){return encodeURIComponent(f0[v0++])})}var M={WithinQueryParameters:0,WithinHeaders:1};function O(X,h0){var f0=X||{},Z0=f0.data||{};return Object.keys(f0).forEach(function(v0){["timeout","headers","queryParameters","data","cacheable"].indexOf(v0)===-1&&(Z0[v0]=f0[v0])}),{data:Object.entries(Z0).length>0?Z0:void 0,timeout:f0.timeout||h0,headers:f0.headers||{},queryParameters:f0.queryParameters||{},cacheable:f0.cacheable}}var S={Read:1,Write:2,Any:3},F=1,j=2,k=3;function N(X){var h0=arguments.length>1&&arguments[1]!==void 0?arguments[1]:F;return l(l({},X),{},{status:h0,lastUpdate:Date.now()})}function C(X){return typeof X=="string"?{protocol:"https",url:X,accept:S.Any}:{protocol:X.protocol||"https",url:X.url,accept:X.accept||S.Any}}var I="GET",z="POST";function q(X,h0){return Promise.all(h0.map(function(f0){return X.get(f0,function(){return Promise.resolve(N(f0))})})).then(function(f0){var Z0=f0.filter(function(x0){return function(k0){return k0.status===F||Date.now()-k0.lastUpdate>12e4}(x0)}),v0=f0.filter(function(x0){return function(k0){return k0.status===k&&Date.now()-k0.lastUpdate<=12e4}(x0)}),A0=[].concat(m(Z0),m(v0));return{getTimeout:function(x0,k0){return(v0.length===0&&x0===0?1:v0.length+3+x0)*k0},statelessHosts:A0.length>0?A0.map(function(x0){return C(x0)}):h0}})}function K(X,h0,f0,Z0){var v0=[],A0=function(H1,u1){if(!(H1.method===I||H1.data===void 0&&u1.data===void 0)){var $0=Array.isArray(H1.data)?H1.data:l(l({},H1.data),u1.data);return JSON.stringify($0)}}(f0,Z0),x0=function(H1,u1){var $0=l(l({},H1.headers),u1.headers),N0={};return Object.keys($0).forEach(function(F0){var Q0=$0[F0];N0[F0.toLowerCase()]=Q0}),N0}(X,Z0),k0=f0.method,W0=f0.method!==I?{}:l(l({},f0.data),Z0.data),t1=l(l(l({"x-algolia-agent":X.userAgent.value},X.queryParameters),W0),Z0.queryParameters),A1=0,T1=function H1(u1,$0){var N0=u1.pop();if(N0===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support .",transporterStackTrace:t0(v0)};var F0={data:A0,headers:x0,method:k0,url:o0(N0,f0.path,t1),connectTimeout:$0(A1,X.timeouts.connect),responseTimeout:$0(A1,Z0.timeout)},Q0=function(o1){var Z1={request:F0,response:o1,host:N0,triesLeft:u1.length};return v0.push(Z1),Z1},w1={onSuccess:function(o1){return function(Z1){try{return JSON.parse(Z1.content)}catch(K1){throw function(Ie,Le){return{name:"DeserializationError",message:Ie,response:Le}}(K1.message,Z1)}}(o1)},onRetry:function(o1){var Z1=Q0(o1);return o1.isTimedOut&&A1++,Promise.all([X.logger.info("Retryable failure",l0(Z1)),X.hostsCache.set(N0,N(N0,o1.isTimedOut?k:j))]).then(function(){return H1(u1,$0)})},onFail:function(o1){throw Q0(o1),function(Z1,K1){var Ie=Z1.content,Le=Z1.status,c1=Ie;try{c1=JSON.parse(Ie).message}catch{}return function(P1,de,Fe){return{name:"ApiError",message:P1,status:de,transporterStackTrace:Fe}}(c1,Le,K1)}(o1,t0(v0))}};return X.requester.send(F0).then(function(o1){return function(Z1,K1){return function(Ie){var Le=Ie.status;return Ie.isTimedOut||function(c1){var P1=c1.isTimedOut,de=c1.status;return!P1&&~~de==0}(Ie)||~~(Le/100)!=2&&~~(Le/100)!=4}(Z1)?K1.onRetry(Z1):~~(Z1.status/100)==2?K1.onSuccess(Z1):K1.onFail(Z1)}(o1,w1)})};return q(X.hostsCache,h0).then(function(H1){return T1(m(H1.statelessHosts).reverse(),H1.getTimeout)})}function Y(X){var h0={value:"Algolia for JavaScript (".concat(X,")"),add:function(f0){var Z0="; ".concat(f0.segment).concat(f0.version!==void 0?" (".concat(f0.version,")"):"");return h0.value.indexOf(Z0)===-1&&(h0.value="".concat(h0.value).concat(Z0)),h0}};return h0}function o0(X,h0,f0){var Z0=a0(f0),v0="".concat(X.protocol,"://").concat(X.url,"/").concat(h0.charAt(0)==="/"?h0.substr(1):h0);return Z0.length&&(v0+="?".concat(Z0)),v0}function a0(X){return Object.keys(X).map(function(h0){return E("%s=%s",h0,(f0=X[h0],Object.prototype.toString.call(f0)==="[object Object]"||Object.prototype.toString.call(f0)==="[object Array]"?JSON.stringify(X[h0]):X[h0]));var f0}).join("&")}function t0(X){return X.map(function(h0){return l0(h0)})}function l0(X){var h0=X.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return l(l({},X),{},{request:l(l({},X.request),{},{headers:l(l({},X.request.headers),h0)})})}var e0=function(X){var h0=X.appId,f0=function(v0,A0,x0){var k0={"x-algolia-api-key":x0,"x-algolia-application-id":A0};return{headers:function(){return v0===M.WithinHeaders?k0:{}},queryParameters:function(){return v0===M.WithinQueryParameters?k0:{}}}}(X.authMode!==void 0?X.authMode:M.WithinHeaders,h0,X.apiKey),Z0=function(v0){var A0=v0.hostsCache,x0=v0.logger,k0=v0.requester,W0=v0.requestsCache,t1=v0.responsesCache,A1=v0.timeouts,T1=v0.userAgent,H1=v0.hosts,u1=v0.queryParameters,$0={hostsCache:A0,logger:x0,requester:k0,requestsCache:W0,responsesCache:t1,timeouts:A1,userAgent:T1,headers:v0.headers,queryParameters:u1,hosts:H1.map(function(N0){return C(N0)}),read:function(N0,F0){var Q0=O(F0,$0.timeouts.read),w1=function(){return K($0,$0.hosts.filter(function(Z1){return(Z1.accept&S.Read)!=0}),N0,Q0)};if((Q0.cacheable!==void 0?Q0.cacheable:N0.cacheable)!==!0)return w1();var o1={request:N0,mappedRequestOptions:Q0,transporter:{queryParameters:$0.queryParameters,headers:$0.headers}};return $0.responsesCache.get(o1,function(){return $0.requestsCache.get(o1,function(){return $0.requestsCache.set(o1,w1()).then(function(Z1){return Promise.all([$0.requestsCache.delete(o1),Z1])},function(Z1){return Promise.all([$0.requestsCache.delete(o1),Promise.reject(Z1)])}).then(function(Z1){var K1=c(Z1,2);return K1[0],K1[1]})})},{miss:function(Z1){return $0.responsesCache.set(o1,Z1)}})},write:function(N0,F0){return K($0,$0.hosts.filter(function(Q0){return(Q0.accept&S.Write)!=0}),N0,O(F0,$0.timeouts.write))}};return $0}(l(l({hosts:[{url:"".concat(h0,"-dsn.algolia.net"),accept:S.Read},{url:"".concat(h0,".algolia.net"),accept:S.Write}].concat(A([{url:"".concat(h0,"-1.algolianet.com")},{url:"".concat(h0,"-2.algolianet.com")},{url:"".concat(h0,"-3.algolianet.com")}]))},X),{},{headers:l(l(l({},f0.headers()),{"content-type":"application/x-www-form-urlencoded"}),X.headers),queryParameters:l(l({},f0.queryParameters()),X.queryParameters)}));return y({transporter:Z0,appId:h0,addAlgoliaAgent:function(v0,A0){Z0.userAgent.add({segment:v0,version:A0})},clearCache:function(){return Promise.all([Z0.requestsCache.clear(),Z0.responsesCache.clear()]).then(function(){})}},X.methods)},G0=function(X){return function(h0,f0){return h0.method===I?X.transporter.read(h0,f0):X.transporter.write(h0,f0)}},y0=function(X){return function(h0){var f0=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z0={transporter:X.transporter,appId:X.appId,indexName:h0};return y(Z0,f0.methods)}},g0=function(X){return function(h0,f0){var Z0=h0.map(function(v0){return l(l({},v0),{},{params:a0(v0.params||{})})});return X.transporter.read({method:z,path:"1/indexes/*/queries",data:{requests:Z0},cacheable:!0},f0)}},L0=function(X){return function(h0,f0){return Promise.all(h0.map(function(Z0){var v0=Z0.params,A0=v0.facetName,x0=v0.facetQuery,k0=o(v0,["facetName","facetQuery"]);return y0(X)(Z0.indexName,{methods:{searchForFacetValues:n0}}).searchForFacetValues(A0,x0,l(l({},f0),k0))}))}},B=function(X){return function(h0,f0,Z0){return X.transporter.read({method:z,path:E("1/answers/%s/prediction",X.indexName),data:{query:h0,queryLanguages:f0},cacheable:!0},Z0)}},G=function(X){return function(h0,f0){return X.transporter.read({method:z,path:E("1/indexes/%s/query",X.indexName),data:{query:h0},cacheable:!0},f0)}},n0=function(X){return function(h0,f0,Z0){return X.transporter.read({method:z,path:E("1/indexes/%s/facets/%s/query",X.indexName,h0),data:{facetQuery:f0},cacheable:!0},Z0)}},d0=1,O0=2,S0=3,c0=function(X){return function(h0,f0){var Z0=h0.map(function(v0){return l(l({},v0),{},{threshold:v0.threshold||0})});return X.transporter.read({method:z,path:"1/indexes/*/recommendations",data:{requests:Z0},cacheable:!0},f0)}};function z0(X,h0,f0){var Z0,v0={appId:X,apiKey:h0,timeouts:{connect:1,read:2,write:30},requester:{send:function(A0){return new Promise(function(x0){var k0=new XMLHttpRequest;k0.open(A0.method,A0.url,!0),Object.keys(A0.headers).forEach(function(T1){return k0.setRequestHeader(T1,A0.headers[T1])});var W0,t1=function(T1,H1){return setTimeout(function(){k0.abort(),x0({status:0,content:H1,isTimedOut:!0})},1e3*T1)},A1=t1(A0.connectTimeout,"Connection timeout");k0.onreadystatechange=function(){k0.readyState>k0.OPENED&&W0===void 0&&(clearTimeout(A1),W0=t1(A0.responseTimeout,"Socket timeout"))},k0.onerror=function(){k0.status===0&&(clearTimeout(A1),clearTimeout(W0),x0({content:k0.responseText||"Network request failed",status:k0.status,isTimedOut:!1}))},k0.onload=function(){clearTimeout(A1),clearTimeout(W0),x0({content:k0.responseText,status:k0.status,isTimedOut:!1})},k0.send(A0.data)})}},logger:(Z0=S0,{debug:function(A0,x0){return d0>=Z0&&console.debug(A0,x0),Promise.resolve()},info:function(A0,x0){return O0>=Z0&&console.info(A0,x0),Promise.resolve()},error:function(A0,x0){return console.error(A0,x0),Promise.resolve()}}),responsesCache:g(),requestsCache:g({serializable:!1}),hostsCache:h({caches:[u({key:"".concat("4.24.0","-").concat(X)}),g()]}),userAgent:Y("4.24.0").add({segment:"Browser",version:"lite"}),authMode:M.WithinQueryParameters};return e0(l(l(l({},v0),f0),{},{methods:{search:g0,searchForFacetValues:L0,multipleQueries:g0,multipleSearchForFacetValues:L0,customRequest:G0,initIndex:function(A0){return function(x0){return y0(A0)(x0,{methods:{search:G,searchForFacetValues:n0,findAnswers:B}})}},getRecommendations:c0}}))}return z0.version="4.24.0",z0})})(UJ);var c4e=UJ.exports;const s4e=$2(c4e),m4e=({dropdown:a})=>a?it`
1527
1527
  border-radius: ${we("radii.xxl")} ${we("radii.xxl")} 0px 0px;
1528
1528
  @media screen and (max-width: ${we("breakpoints.sm")}) {
1529
1529
  border-radius: 0px;
@@ -1534,9 +1534,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1534
1534
  left: 0;
1535
1535
  z-index: 1000;
1536
1536
  }
1537
- `:ot`
1537
+ `:it`
1538
1538
  border-radius: ${we("radii.xxl")};
1539
- `,u4e=({dropdown:a})=>a?ot`
1539
+ `,u4e=({dropdown:a})=>a?it`
1540
1540
  opacity: 1;
1541
1541
  transform: translateY(0);
1542
1542
  transition:
@@ -1552,7 +1552,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1552
1552
  z-index: 1000;
1553
1553
  padding-bottom: 15px;
1554
1554
  }
1555
- `:ot`
1555
+ `:it`
1556
1556
  opacity: 0;
1557
1557
  transform: translateY(-10px);
1558
1558
  transition:
@@ -1680,18 +1680,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1680
1680
  .aa-Panel button {
1681
1681
  all: unset; /* Reset styles for buttons leaking from .aa-Panel */
1682
1682
  }
1683
- `;function E4e({hit:a}){return a==null?void 0:a.title}function M4e({hit:a,attribute:e,tagName:r="mark"}){return p.createElement(p.Fragment,{},t6e({hit:a,attribute:e}).map(({value:n,isHighlighted:l},o)=>l?p.createElement(r,{key:o},n):n))}function V4e({item:a,autocomplete:e,handleActionPress:r}){return w.jsxs(d1,{className:"aa-ItemWrapper",px:"xs",children:[w.jsxs("div",{className:"aa-ItemContent",children:[w.jsx("div",{className:"aa-ItemIcon aa-ItemIcon--noBorder",children:w.jsx(YS,{size:24,weight:"bold"})}),w.jsx("div",{className:"aa-ItemContentBody",children:w.jsx("div",{className:"aa-ItemContentTitle",children:w.jsx(E4e,{hit:a})})})]}),w.jsx("div",{className:"aa-ItemActions",children:w.jsx("button",{className:"aa-ItemActionButton",title:`Fill query with "${a.title}"`,onClick:n=>{n.preventDefault(),n.stopPropagation(),e.setQuery(a.title),e.refresh()},children:w.jsx(YA,{size:24,weight:"bold"})})})]})}function O4e({item:a,autocomplete:e}){function r(l){e.refresh()}function n(l){e.setQuery(l.label),e.setIsOpen(!0),e.refresh()}return w.jsxs(d1,{className:"aa-ItemWrapper",px:"xs",children:[w.jsxs("div",{className:"aa-ItemContent",children:[w.jsx("div",{className:"aa-ItemIcon aa-ItemIcon--noBorder",children:w.jsx(CK,{size:24,weight:"bold"})}),w.jsx("div",{className:"aa-ItemContentBody",children:w.jsx("div",{className:"aa-ItemContentTitle",children:w.jsx(M4e,{hit:a,attribute:"label"})})})]}),w.jsxs("div",{className:"aa-ItemActions",children:[w.jsx("button",{className:"aa-ItemActionButton",title:"Remove this search",onClick:l=>{l.preventDefault(),l.stopPropagation(),r(a.id)},children:w.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:w.jsx("path",{d:"M18 7v13c0 0.276-0.111 0.525-0.293 0.707s-0.431 0.293-0.707 0.293h-10c-0.276 0-0.525-0.111-0.707-0.293s-0.293-0.431-0.293-0.707v-13zM17 5v-1c0-0.828-0.337-1.58-0.879-2.121s-1.293-0.879-2.121-0.879h-4c-0.828 0-1.58 0.337-2.121 0.879s-0.879 1.293-0.879 2.121v1h-4c-0.552 0-1 0.448-1 1s0.448 1 1 1h1v13c0 0.828 0.337 1.58 0.879 2.121s1.293 0.879 2.121 0.879h10c0.828 0 1.58-0.337 2.121-0.879s0.879-1.293 0.879-2.121v-13h1c0.552 0 1-0.448 1-1s-0.448-1-1-1zM9 5v-1c0-0.276 0.111-0.525 0.293-0.707s0.431-0.293 0.707-0.293h4c0.276 0 0.525 0.111 0.707 0.293s0.293 0.431 0.293 0.707v1zM9 11v6c0 0.552 0.448 1 1 1s1-0.448 1-1v-6c0-0.552-0.448-1-1-1s-1 0.448-1 1zM13 11v6c0 0.552 0.448 1 1 1s1-0.448 1-1v-6c0-0.552-0.448-1-1-1s-1 0.448-1 1z"})})}),w.jsx("button",{className:"aa-ItemActionButton",title:`Fill query with "${a.label}"`,onClick:l=>{l.preventDefault(),l.stopPropagation(),n(a)},children:w.jsx(YA,{size:24,weight:"bold"})})]})]})}const $4e=({autocompleteState:a,autocomplete:e})=>{const r=Yu(),[n,l]=CS(),{navigate:o}=qA(),[c,m]=p.useState(!1);p.useEffect(()=>{var E,M;const A=((E=a.collections.find(O=>O.source.sourceId==="pages"))==null?void 0:E.items)||[],y=((M=a.collections.find(O=>O.source.sourceId==="content"))==null?void 0:M.items)||[];m(A.length===0&&y.length===0)},[a.collections]);const u=A=>{if(o({id:WA(A)}),n.modal){const y=WA(A);l(_S(y)),l(PS())}};if(!a||!e)return null;const h=e.getInputProps({}),g=[];return a.collections.filter(A=>["pages","content"].includes(A.source.sourceId)).forEach(A=>{g.push(...A.items.map(y=>({...y,source:A.source})))}),g.sort((A,y)=>A._rankingInfo.nbExactWords>y._rankingInfo.nbExactWords?-1:A._rankingInfo.nbExactWords<y._rankingInfo.nbExactWords?1:A._rankingInfo.proximityDistance<y._rankingInfo.proximityDistance?-1:A._rankingInfo.proximityDistance>y._rankingInfo.proximityDistance?1:A._rankingInfo.userScore>y._rankingInfo.userScore?-1:A._rankingInfo.userScore<y._rankingInfo.userScore?1:0),w.jsxs(d1,{id:"panel",className:"aa-Panel",dropdown:a.isOpen,...e.getPanelProps({}),children:[a.isOpen?w.jsx("div",{id:"panel-top"}):null,c&&a.collections.some(A=>["pages","content"].includes(A.source.sourceId))?w.jsx(d1,{padding:"xs",fontWeight:"500",color:"base.gray",textAlign:"center",fontStyle:"italic",children:"No results found"}):null,a.isOpen?a.collections.map((A,y)=>{const{source:E,items:M}=A;if(["querySuggestionsPlugin"].includes(A.source.sourceId))return w.jsxs("div",{className:"aa-Source",children:[A.source.sourceId==="querySuggestionsPlugin"&&!h.value?w.jsx(d1,{padding:"xs",fontWeight:"600",color:"base.gray",children:"Trending Searches"}):null,A.source.sourceId==="recentSearchesPlugin"&&!h.value?w.jsx(d1,{padding:"xs",fontWeight:"600",color:"base.gray",children:"Search History"}):null,w.jsx("ul",{className:"aa-List",...e.getListProps(),children:M.map((O,S)=>{if(A.source.sourceId==="querySuggestionsPlugin"&&!h.value)return w.jsx("li",{className:"aa-Item",...e.getItemProps({item:O,source:E}),children:w.jsx(V4e,{item:O,autocomplete:e,handleActionPress:u,...e.getItemProps({item:O,source:E})})},`${O.objectID?O.objectID:S}-${A.source.sourceId}`);if(A.source.sourceId==="recentSearchesPlugin"&&!h.value)return w.jsx("li",{className:"aa-Item",...e.getItemProps({item:O,source:E}),children:w.jsx(O4e,{item:O,autocomplete:e,...e.getItemProps({item:O,source:E})})},`${O.objectID?O.objectID:S}-${A.source.sourceId}`)})})]},`source-${y}`)}):null,a.query!==""?w.jsx("div",{className:"aa-Source",children:w.jsx("ul",{className:"aa-List",...e.getListProps(),children:g.map(A=>{var y,E,M,O;return w.jsx(d1,{as:"li",padding:"4px",...e.getItemProps({item:A,source:A.source}),children:w.jsx(su,{as:e5,action:(y=A==null?void 0:A.id)!=null&&y.includes(":")?"OPEN_NODE":A!=null&&A.url?"OPEN_URL":void 0,relatedNode:A,title:(A==null?void 0:A.title)??void 0,subtitle:A==null?void 0:A.summary,leadingAccessory:w.jsx(mu,{src:((O=(M=(E=A==null?void 0:A.coverImage)==null?void 0:E.sources)==null?void 0:M.at(0))==null?void 0:O.uri)??void 0}),trailingAccessory:w.jsx(YA,{})})},A.objectID)})})}):null,a.isOpen&&a.query===""&&r.searchFeed?w.jsx(H4e,{children:w.jsx(d1,{className:"empty-feed m-4",children:w.jsx(sA,{id:r.searchFeed})})}):null]})},w4e=428,dZ=(a={})=>{var N;const e=Yu(),[r,n]=p.useState(!0),[l,o]=p.useState(null),[c,m]=p.useState({activeItemId:null,collections:[],completion:null,context:{},isOpen:!1,query:"",status:"idle"}),{currentUser:u}=xc(),h=!!u,g=((N=u==null?void 0:u.profile)==null?void 0:N.firstName)||"",[A,y]=p.useState(!1),[E,M]=p.useState(0),O=w.jsxs("strong",{style:{marginRight:"0.35ch"},children:["Hey",g!==""?` ${g}`:"","!"]}),S=A?{width:"400px"}:{width:"225px"},F=e.customPlaceholder?w.jsx(O5.TextPrompt,{children:w.jsx(d1,{as:"span",style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",...S},children:e.customPlaceholder})}):w.jsxs(O5.TextPrompt,{children:[A?null:O,w.jsx(d1,{as:"span",style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",...S},children:"What are you looking for?"})]});p.useEffect(()=>{function C(){y(window.innerWidth<w4e)}return C(),window.addEventListener("resize",C),()=>{window.removeEventListener("resize",C)}},[]),p.useEffect(()=>{c.isOpen&&n(!1)},[c.isOpen]),p.useEffect(()=>(A&&c.isOpen?(M(window.scrollY),document.body.style.position="fixed"):document.body.style.position="",()=>{document.body.style.position=""}),[c.isOpen,E,A]);const j=C=>{o(C)},k=()=>{A&&c.isOpen&&(l.setIsOpen(!1),l.setQuery(""),n(!0))};return w.jsx(d1,{position:"relative",alignItems:"center",display:"flex",flexDirection:"column",id:"search",...a,children:w.jsxs(O5.Wrapper,{dropdown:c.isOpen,children:[w.jsxs(d1,{display:"flex",flexDirection:"row",h:"60px",w:"100%",children:[w.jsx(O5.Interface,{children:w.jsxs(O5.InterfaceWrapper,{children:[w.jsx(d1,{padding:"12px",onClick:k,children:w.jsx(O5.SearchIcon,{children:A&&c.isOpen?w.jsx(GS,{size:18,weight:"bold",color:h?"white":null}):w.jsx(YS,{size:18,weight:"bold",color:h?"white":null})})}),w.jsxs(d1,{width:"100%",children:[w.jsx(b4e,{autocompleteState:c,setAutocompleteState:m,setShowTextPrompt:n,getAutocompleteInstance:j}),r?F:null]})]})}),w.jsx(d1,{p:16,children:e.hideApollosAuth?null:w.jsx($8e,{popupSize:e.searchProfileSize})})]}),w.jsx($4e,{autocompleteState:c,autocomplete:l})]})})};dZ.propTypes={...Vt,dropdown:j0.bool};const z4=ot`
1683
+ `;function E4e({hit:a}){return a==null?void 0:a.title}function M4e({hit:a,attribute:e,tagName:r="mark"}){return p.createElement(p.Fragment,{},t6e({hit:a,attribute:e}).map(({value:n,isHighlighted:l},o)=>l?p.createElement(r,{key:o},n):n))}function V4e({item:a,autocomplete:e,handleActionPress:r}){return w.jsxs(d1,{className:"aa-ItemWrapper",px:"xs",children:[w.jsxs("div",{className:"aa-ItemContent",children:[w.jsx("div",{className:"aa-ItemIcon aa-ItemIcon--noBorder",children:w.jsx(YS,{size:24,weight:"bold"})}),w.jsx("div",{className:"aa-ItemContentBody",children:w.jsx("div",{className:"aa-ItemContentTitle",children:w.jsx(E4e,{hit:a})})})]}),w.jsx("div",{className:"aa-ItemActions",children:w.jsx("button",{className:"aa-ItemActionButton",title:`Fill query with "${a.title}"`,onClick:n=>{n.preventDefault(),n.stopPropagation(),e.setQuery(a.title),e.refresh()},children:w.jsx(YA,{size:24,weight:"bold"})})})]})}function O4e({item:a,autocomplete:e}){function r(l){e.refresh()}function n(l){e.setQuery(l.label),e.setIsOpen(!0),e.refresh()}return w.jsxs(d1,{className:"aa-ItemWrapper",px:"xs",children:[w.jsxs("div",{className:"aa-ItemContent",children:[w.jsx("div",{className:"aa-ItemIcon aa-ItemIcon--noBorder",children:w.jsx(CK,{size:24,weight:"bold"})}),w.jsx("div",{className:"aa-ItemContentBody",children:w.jsx("div",{className:"aa-ItemContentTitle",children:w.jsx(M4e,{hit:a,attribute:"label"})})})]}),w.jsxs("div",{className:"aa-ItemActions",children:[w.jsx("button",{className:"aa-ItemActionButton",title:"Remove this search",onClick:l=>{l.preventDefault(),l.stopPropagation(),r(a.id)},children:w.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:w.jsx("path",{d:"M18 7v13c0 0.276-0.111 0.525-0.293 0.707s-0.431 0.293-0.707 0.293h-10c-0.276 0-0.525-0.111-0.707-0.293s-0.293-0.431-0.293-0.707v-13zM17 5v-1c0-0.828-0.337-1.58-0.879-2.121s-1.293-0.879-2.121-0.879h-4c-0.828 0-1.58 0.337-2.121 0.879s-0.879 1.293-0.879 2.121v1h-4c-0.552 0-1 0.448-1 1s0.448 1 1 1h1v13c0 0.828 0.337 1.58 0.879 2.121s1.293 0.879 2.121 0.879h10c0.828 0 1.58-0.337 2.121-0.879s0.879-1.293 0.879-2.121v-13h1c0.552 0 1-0.448 1-1s-0.448-1-1-1zM9 5v-1c0-0.276 0.111-0.525 0.293-0.707s0.431-0.293 0.707-0.293h4c0.276 0 0.525 0.111 0.707 0.293s0.293 0.431 0.293 0.707v1zM9 11v6c0 0.552 0.448 1 1 1s1-0.448 1-1v-6c0-0.552-0.448-1-1-1s-1 0.448-1 1zM13 11v6c0 0.552 0.448 1 1 1s1-0.448 1-1v-6c0-0.552-0.448-1-1-1s-1 0.448-1 1z"})})}),w.jsx("button",{className:"aa-ItemActionButton",title:`Fill query with "${a.label}"`,onClick:l=>{l.preventDefault(),l.stopPropagation(),n(a)},children:w.jsx(YA,{size:24,weight:"bold"})})]})]})}const $4e=({autocompleteState:a,autocomplete:e})=>{const r=Yu(),[n,l]=CS(),{navigate:o}=qA(),[c,m]=p.useState(!1);p.useEffect(()=>{var E,M;const A=((E=a.collections.find(O=>O.source.sourceId==="pages"))==null?void 0:E.items)||[],y=((M=a.collections.find(O=>O.source.sourceId==="content"))==null?void 0:M.items)||[];m(A.length===0&&y.length===0)},[a.collections]);const u=A=>{if(o({id:WA(A)}),n.modal){const y=WA(A);l(_S(y)),l(PS())}};if(!a||!e)return null;const h=e.getInputProps({}),g=[];return a.collections.filter(A=>["pages","content"].includes(A.source.sourceId)).forEach(A=>{g.push(...A.items.map(y=>({...y,source:A.source})))}),g.sort((A,y)=>A._rankingInfo.nbExactWords>y._rankingInfo.nbExactWords?-1:A._rankingInfo.nbExactWords<y._rankingInfo.nbExactWords?1:A._rankingInfo.proximityDistance<y._rankingInfo.proximityDistance?-1:A._rankingInfo.proximityDistance>y._rankingInfo.proximityDistance?1:A._rankingInfo.userScore>y._rankingInfo.userScore?-1:A._rankingInfo.userScore<y._rankingInfo.userScore?1:0),w.jsxs(d1,{id:"panel",className:"aa-Panel",dropdown:a.isOpen,...e.getPanelProps({}),children:[a.isOpen?w.jsx("div",{id:"panel-top"}):null,c&&a.collections.some(A=>["pages","content"].includes(A.source.sourceId))?w.jsx(d1,{padding:"xs",fontWeight:"500",color:"base.gray",textAlign:"center",fontStyle:"italic",children:"No results found"}):null,a.isOpen?a.collections.map((A,y)=>{const{source:E,items:M}=A;if(["querySuggestionsPlugin"].includes(A.source.sourceId))return w.jsxs("div",{className:"aa-Source",children:[A.source.sourceId==="querySuggestionsPlugin"&&!h.value?w.jsx(d1,{padding:"xs",fontWeight:"600",color:"base.gray",children:"Trending Searches"}):null,A.source.sourceId==="recentSearchesPlugin"&&!h.value?w.jsx(d1,{padding:"xs",fontWeight:"600",color:"base.gray",children:"Search History"}):null,w.jsx("ul",{className:"aa-List",...e.getListProps(),children:M.map((O,S)=>{if(A.source.sourceId==="querySuggestionsPlugin"&&!h.value)return w.jsx("li",{className:"aa-Item",...e.getItemProps({item:O,source:E}),children:w.jsx(V4e,{item:O,autocomplete:e,handleActionPress:u,...e.getItemProps({item:O,source:E})})},`${O.objectID?O.objectID:S}-${A.source.sourceId}`);if(A.source.sourceId==="recentSearchesPlugin"&&!h.value)return w.jsx("li",{className:"aa-Item",...e.getItemProps({item:O,source:E}),children:w.jsx(O4e,{item:O,autocomplete:e,...e.getItemProps({item:O,source:E})})},`${O.objectID?O.objectID:S}-${A.source.sourceId}`)})})]},`source-${y}`)}):null,a.query!==""?w.jsx("div",{className:"aa-Source",children:w.jsx("ul",{className:"aa-List",...e.getListProps(),children:g.map(A=>{var y,E,M,O;return w.jsx(d1,{as:"li",padding:"4px",...e.getItemProps({item:A,source:A.source}),children:w.jsx(su,{as:e5,action:(y=A==null?void 0:A.id)!=null&&y.includes(":")?"OPEN_NODE":A!=null&&A.url?"OPEN_URL":void 0,relatedNode:A,title:(A==null?void 0:A.title)??void 0,subtitle:A==null?void 0:A.summary,leadingAccessory:w.jsx(mu,{src:((O=(M=(E=A==null?void 0:A.coverImage)==null?void 0:E.sources)==null?void 0:M.at(0))==null?void 0:O.uri)??void 0}),trailingAccessory:w.jsx(YA,{})})},A.objectID)})})}):null,a.isOpen&&a.query===""&&r.searchFeed?w.jsx(H4e,{children:w.jsx(d1,{className:"empty-feed m-4",children:w.jsx(sA,{id:r.searchFeed})})}):null]})},w4e=428,dZ=(a={})=>{var N;const e=Yu(),[r,n]=p.useState(!0),[l,o]=p.useState(null),[c,m]=p.useState({activeItemId:null,collections:[],completion:null,context:{},isOpen:!1,query:"",status:"idle"}),{currentUser:u}=xc(),h=!!u,g=((N=u==null?void 0:u.profile)==null?void 0:N.firstName)||"",[A,y]=p.useState(!1),[E,M]=p.useState(0),O=w.jsxs("strong",{style:{marginRight:"0.35ch"},children:["Hey",g!==""?` ${g}`:"","!"]}),S=A?{width:"400px"}:{width:"225px"},F=e.customPlaceholder?w.jsx(O5.TextPrompt,{children:w.jsx(d1,{as:"span",style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",...S},children:e.customPlaceholder})}):w.jsxs(O5.TextPrompt,{children:[A?null:O,w.jsx(d1,{as:"span",style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",...S},children:"What are you looking for?"})]});p.useEffect(()=>{function C(){y(window.innerWidth<w4e)}return C(),window.addEventListener("resize",C),()=>{window.removeEventListener("resize",C)}},[]),p.useEffect(()=>{c.isOpen&&n(!1)},[c.isOpen]),p.useEffect(()=>(A&&c.isOpen?(M(window.scrollY),document.body.style.position="fixed"):document.body.style.position="",()=>{document.body.style.position=""}),[c.isOpen,E,A]);const j=C=>{o(C)},k=()=>{A&&c.isOpen&&(l.setIsOpen(!1),l.setQuery(""),n(!0))};return w.jsx(d1,{position:"relative",alignItems:"center",display:"flex",flexDirection:"column",id:"search",...a,children:w.jsxs(O5.Wrapper,{dropdown:c.isOpen,children:[w.jsxs(d1,{display:"flex",flexDirection:"row",h:"60px",w:"100%",children:[w.jsx(O5.Interface,{children:w.jsxs(O5.InterfaceWrapper,{children:[w.jsx(d1,{padding:"12px",onClick:k,children:w.jsx(O5.SearchIcon,{children:A&&c.isOpen?w.jsx(GS,{size:18,weight:"bold",color:h?"white":null}):w.jsx(YS,{size:18,weight:"bold",color:h?"white":null})})}),w.jsxs(d1,{width:"100%",children:[w.jsx(b4e,{autocompleteState:c,setAutocompleteState:m,setShowTextPrompt:n,getAutocompleteInstance:j}),r?F:null]})]})}),w.jsx(d1,{p:16,children:e.hideApollosAuth?null:w.jsx($8e,{popupSize:e.searchProfileSize})})]}),w.jsx($4e,{autocompleteState:c,autocomplete:l})]})})};dZ.propTypes={...Vt,dropdown:j0.bool};const z4=it`
1684
1684
  color: ${we("colors.text.primary")};
1685
1685
  transition: all ${we("timing.base")};
1686
1686
  margin: 0;
1687
1687
  padding: 0;
1688
- `,Pn={BodyText:()=>ot`
1688
+ `,Pn={BodyText:()=>it`
1689
1689
  ${z4}
1690
1690
 
1691
1691
  font-size: ${$e("16px")};
1692
1692
  line-height: ${$e("24px")};
1693
1693
  font-weight: 400;
1694
- `,H1:()=>ot`
1694
+ `,H1:()=>it`
1695
1695
  ${z4}
1696
1696
 
1697
1697
  font-size: ${$e("48px")};
@@ -1710,7 +1710,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1710
1710
  font-size: ${$e("30px")};
1711
1711
  line-height: ${$e("45px")};
1712
1712
  }
1713
- `,H2:()=>ot`
1713
+ `,H2:()=>it`
1714
1714
  ${z4}
1715
1715
 
1716
1716
  font-size: ${$e("48px")};
@@ -1729,7 +1729,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1729
1729
  font-size: ${$e("24px")};
1730
1730
  line-height: ${$e("36px")};
1731
1731
  }
1732
- `,H3:()=>ot`
1732
+ `,H3:()=>it`
1733
1733
  ${z4}
1734
1734
 
1735
1735
  font-size: ${$e("30px")};
@@ -1748,7 +1748,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1748
1748
  font-size: ${$e("18px")};
1749
1749
  line-height: ${$e("27px")};
1750
1750
  }
1751
- `,H4:()=>ot`
1751
+ `,H4:()=>it`
1752
1752
  ${z4}
1753
1753
 
1754
1754
  font-size: ${$e("20px")};
@@ -1767,44 +1767,44 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1767
1767
  font-size: ${$e("16px")};
1768
1768
  line-height: ${$e("24px")};
1769
1769
  }
1770
- `,H5:()=>ot`
1770
+ `,H5:()=>it`
1771
1771
  ${z4}
1772
1772
 
1773
1773
  font-size: ${$e("16px")};
1774
1774
  line-height: ${$e("24px")};
1775
1775
  font-weight: 500;
1776
- `,H6:()=>ot`
1776
+ `,H6:()=>it`
1777
1777
  ${z4}
1778
1778
 
1779
1779
  font-size: ${$e("14px")};
1780
1780
  line-height: ${$e("21px")};
1781
1781
  font-weight: 600;
1782
- `,LargeSystemText:()=>ot`
1782
+ `,LargeSystemText:()=>it`
1783
1783
  ${z4}
1784
1784
 
1785
1785
  font-size: ${$e("18px")};
1786
1786
  line-height: ${$e("24px")};
1787
1787
  letter-spacing: ${$e("-0.25px")};
1788
1788
  font-weight: 400;
1789
- `,SmallBodyText:()=>ot`
1789
+ `,SmallBodyText:()=>it`
1790
1790
  ${z4}
1791
1791
 
1792
1792
  font-size: ${$e("14px")};
1793
1793
  line-height: ${$e("21px")};
1794
1794
  font-weight: 400;
1795
- `,LargeBodyText:()=>ot`
1795
+ `,LargeBodyText:()=>it`
1796
1796
  ${z4}
1797
1797
 
1798
1798
  font-size: ${$e("19px")};
1799
1799
  line-height: ${$e("28px")};
1800
1800
  font-weight: 400;
1801
- `,SmallSystemText:()=>ot`
1801
+ `,SmallSystemText:()=>it`
1802
1802
  ${z4}
1803
1803
 
1804
1804
  font-size: ${$e("14px")};
1805
1805
  line-height: ${$e("21px")};
1806
1806
  font-weight: 400;
1807
- `,SystemText:()=>ot`
1807
+ `,SystemText:()=>it`
1808
1808
  ${z4}
1809
1809
 
1810
1810
  font-size: ${$e("16px")};