@qratilabs/qrati-connect 2.2.3 → 2.3.0
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.
- package/CHANGELOG.md +7 -0
- package/element/{AuthLayout-smqrs4PK.js → AuthLayout-BQsxj8DA.js} +1 -1
- package/element/{ContentsPage-BALVk95k.js → ContentsPage-BswZWICC.js} +2 -2
- package/element/{CuratePage-6O-YtfaK.js → CuratePage-l_53kq1u.js} +1 -1
- package/element/{Dialog-0wEAIe3Z.js → Dialog-xRPAHU1U.js} +1 -1
- package/element/{DotLottiePlayer-q7KyZjj4.js → DotLottiePlayer-DWbmlHl0.js} +1 -1
- package/element/{EventHeaderAdminButtons-AOGt2ZR_.js → EventHeaderAdminButtons-DpqqYPmp.js} +1 -1
- package/element/{FolderBreadcrumb-DE1SuI3R.js → FolderBreadcrumb-DgOZR2JO.js} +1 -1
- package/element/{ForgotPasswordPage-B7SQUSjQ.js → ForgotPasswordPage-CIz3_X-3.js} +1 -1
- package/element/{InputField-DCqkCRI8.js → InputField-DybXE_Ab.js} +1 -1
- package/element/{LazyLoadImage-Dx2kZ_ki.js → LazyLoadImage-8X8b06AJ.js} +1 -1
- package/element/{LeaderboardPage-ZllEyvHF.js → LeaderboardPage-Bphjksy_.js} +1 -1
- package/element/{LoginPage-CT0pEqXM.js → LoginPage-CHzBIQEq.js} +1 -1
- package/element/{NCMVHL6D-BwoIucZN.js → NCMVHL6D-CBCgRwdZ.js} +1 -1
- package/element/{PublicEvents-CIrYMBEL.js → PublicEvents-RN-_fsl2.js} +1 -1
- package/element/{RegisterPage-jGyiY6Q1.js → RegisterPage-7WLryyTX.js} +1 -1
- package/element/{SocialLoginButton-CD7hRRi3.js → SocialLoginButton-DpBl7dWg.js} +1 -1
- package/element/{UploadPage-CITq8Afj.js → UploadPage-B7BieTEU.js} +1 -1
- package/element/{VideoPlayer-BnGqOvd_.js → VideoPlayer-Bk8Hao3q.js} +1 -1
- package/element/element.es.js +1 -1
- package/element/{heic2any-DYXlMp6f.js → heic2any-DLQd-wQs.js} +1 -1
- package/element/{index-D2rVaTyg.js → index-DI8B7D73.js} +1 -1
- package/element/{index-dgkxxAYh.js → index-JyoNGo8S.js} +9 -9
- package/element/index.esm-CAQX5kI5.js +1 -0
- package/element/{photoswipe-CLqAYZuN.js → photoswipe-Coj-X7bR.js} +1 -1
- package/element/{tslib.es6-Kir8qsmG.js → tslib.es6-C9bR68b3.js} +1 -1
- package/element/{useOrgAccess-CQGTKm39.js → useOrgAccess-CnN4aiYB.js} +1 -1
- package/element/web.es.js +1 -1
- package/package.json +18 -15
- package/react/-74yB4f5.js +1 -0
- package/react/{BByYodE2.js → B1neVlFZ.js} +1 -1
- package/react/{fLcJgmSx.js → BO8jvMXn.js} +1 -1
- package/react/{COmmnujB.js → BbIY3X7C.js} +1 -1
- package/react/{BfbjKTvp.js → CN2vdtYT.js} +1 -1
- package/react/{38fKKEwY.js → CXu6PHUW.js} +1 -1
- package/react/{CqFENFZB.js → CZp0lmKh.js} +1 -1
- package/react/{DCL2O5W3.js → CfZ5_7x-.js} +1 -1
- package/react/{CsN-e_l4.js → D6nR1wv_.js} +1 -1
- package/react/DBnzOELO.js +30 -0
- package/react/{Csp0JYSr.js → D_imcCpv.js} +2 -2
- package/react/{B-cnuYGK.js → DrqnWQLs.js} +1 -1
- package/react/{BKCu0fMZ.js → DvDETl8u.js} +1 -1
- package/react/{CeAGRh0t.js → DvOl03h5.js} +1 -1
- package/react/{CUXGA7St.js → Dwry3hNI.js} +1 -1
- package/react/{T91t2h6g.js → DyklTvwE.js} +1 -1
- package/react/{B_TCkLjZ.js → Gbk2zO2l.js} +1 -1
- package/react/{CwcF5rKn.js → IbMHxVCj.js} +1 -1
- package/react/{C-DBWaEg.js → Pcjql-py.js} +1 -1
- package/react/{Fz3ptOAl.js → Ply2G2qz.js} +1 -1
- package/react/{DDq_DfWj.js → Y9TU3Znq.js} +1 -1
- package/react/{B8mLtg2-.js → fuEo08KS.js} +1 -1
- package/react/index.es.js +1 -1
- package/react/{B1i756QD.js → jRrpvD0D.js} +1 -1
- package/react/{CTjUKTPO.js → rZy1FKOQ.js} +1 -1
- package/react/types/QratiConnect.d.ts +75 -0
- package/react/types/index.d.ts +1 -0
- package/umd/web.umd.js +118 -118
- package/element/index.esm-DH681Jwb.js +0 -1
- package/react/DNOLzzZH.js +0 -30
- package/react/HhCRmfOk.js +0 -1
|
@@ -36,8 +36,8 @@ function e(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&
|
|
|
36
36
|
* This source code is licensed under the MIT license found in the
|
|
37
37
|
* LICENSE file in the root directory of this source tree.
|
|
38
38
|
*/
|
|
39
|
-
return"production"!=={}.NODE_ENV&&function(){function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===E?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case h:return"Fragment";case g:return"Profiler";case m:return"StrictMode";case k:return"Suspense";case S:return"SuspenseList";case A:return"Activity"}if("object"==typeof t)switch("number"==typeof t.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case p:return"Portal";case v:return t.displayName||"Context";case y:return(t._context.displayName||"Context")+".Consumer";case w:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case x:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case C:n=t._payload,t=t._init;try{return e(t(n))}catch{}}return null}function t(e){return""+e}function n(e){try{t(e);var n=!1}catch{n=!0}if(n){var r=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),t(e)}}function r(t){if(t===h)return"<>";if("object"==typeof t&&null!==t&&t.$$typeof===C)return"<...>";try{var n=e(t);return n?"<"+n+">":"<...>"}catch{return"<...>"}}function o(){return Error("react-stack-top-frame")}function a(){var t=e(this.type);return P[t]||(P[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(t=this.props.ref)?t:null}function i(t,r,o,i,s,u){var d=r.children;if(void 0!==d)if(i)if(_(d)){for(i=0;i<d.length;i++)l(d[i]);Object.freeze&&Object.freeze(d)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(d);if(T.call(r,"key")){d=e(t);var p=Object.keys(r).filter(function(e){return"key"!==e});i=0<p.length?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}",L[d+i]||(p=0<p.length?"{"+p.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,d,p,d),L[d+i]=!0)}if(d=null,void 0!==o&&(n(o),d=""+o),function(e){if(T.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),d=""+r.key),"key"in r)for(var h in o={},r)"key"!==h&&(o[h]=r[h]);else o=r;return d&&function(e,t){function n(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,"function"==typeof t?t.displayName||t.name||"Unknown":t),function(e,t,n,r,o,i){var l=n.ref;return e={$$typeof:f,type:e,key:t,props:n,_owner:r},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(t,d,o,function(){var e=I.A;return null===e?null:e.getOwner()}(),s,u)}function l(e){u(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===C&&("fulfilled"===e._payload.status?u(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function u(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}var c,d=b(),f=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),v=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),E=Symbol.for("react.client.reference"),I=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=Object.prototype.hasOwnProperty,_=Array.isArray,R=console.createTask?console.createTask:function(){return null},P={},O=(d={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(d,o)(),N=R(r(o)),L={};s.Fragment=h,s.jsx=function(e,t,n){var o=1e4>I.recentlyCreatedOwnerStacks++;return i(e,t,n,!1,o?Error("react-stack-top-frame"):O,o?R(r(e)):N)},s.jsxs=function(e,t,n){var o=1e4>I.recentlyCreatedOwnerStacks++;return i(e,t,n,!0,o?Error("react-stack-top-frame"):O,o?R(r(e)):N)}}(),s}var w=(m||(m=1,a.exports="production"==={}.NODE_ENV?function(){if(o)return i;o=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var a in r={},n)"key"!==a&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:o,ref:void 0!==n?n:null,props:r}}return i.Fragment=t,i.jsx=n,i.jsxs=n,i}():v()),a.exports),k=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},S={},x={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},C=new class{#e=x;#t=!1;setTimeoutProvider(e){"production"!==S.NODE_ENV&&this.#t&&e!==this.#e&&console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#e,provider:e}),this.#e=e,"production"!==S.NODE_ENV&&(this.#t=!1)}setTimeout(e,t){return"production"!==S.NODE_ENV&&(this.#t=!0),this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return"production"!==S.NODE_ENV&&(this.#t=!0),this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};var A={},E=typeof window>"u"||"Deno"in globalThis;function I(){}function T(e){return"number"==typeof e&&e>=0&&e!==1/0}function _(e,t){return Math.max(e+(t||0)-Date.now(),0)}function R(e,t){return"function"==typeof e?e(t):e}function P(e,t){return"function"==typeof e?e(t):e}function O(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:a,queryKey:i,stale:l}=e;if(i)if(r){if(t.queryHash!==L(i,t.options))return!1}else if(!D(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return!("boolean"==typeof l&&t.isStale()!==l||o&&o!==t.state.fetchStatus||a&&!a(t))}function N(e,t){const{exact:n,status:r,predicate:o,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(z(t.options.mutationKey)!==z(a))return!1}else if(!D(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function L(e,t){return(t?.queryKeyHashFn||z)(e)}function z(e){return JSON.stringify(e,(e,t)=>U(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function D(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(n=>D(e[n],t[n])))}var j=Object.prototype.hasOwnProperty;function M(e,t){if(e===t)return e;const n=q(e)&&q(t);if(!(n||U(e)&&U(t)))return t;const r=(n?e:Object.keys(e)).length,o=n?t:Object.keys(t),a=o.length,i=n?new Array(a):{};let l=0;for(let s=0;s<a;s++){const a=n?s:o[s],u=e[a],c=t[a];if(u===c){i[a]=u,(n?s<r:j.call(e,a))&&l++;continue}if(null===u||null===c||"object"!=typeof u||"object"!=typeof c){i[a]=c;continue}const d=M(u,c);i[a]=d,d===u&&l++}return r===a&&l===r?e:i}function F(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function q(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function U(e){if(!H(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!(!H(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function H(e){return"[object Object]"===Object.prototype.toString.call(e)}function B(e,t,n){if("function"==typeof n.structuralSharing)return n.structuralSharing(e,t);if(!1!==n.structuralSharing){if("production"!==A.NODE_ENV)try{return M(e,t)}catch(e){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`),e}return M(e,t)}return t}function V(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function W(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var G=Symbol();function Q(e,t){return"production"!==A.NODE_ENV&&e.queryFn===G&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==G?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var Y=new class extends k{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!E&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}};function $(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}var Z=function(e){setTimeout(e,0)};var K=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=Z;const a=r=>{t?e.push(r):o(()=>{n(r)})};return{batch:a=>{let i;t++;try{i=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return i},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}(),J=new class extends k{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!E&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function X(e){return Math.min(1e3*2**e,3e4)}function ee(e){return"online"!==(e??"online")||J.isOnline()}var te=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ne(e){let t,n=!1,r=0;const o=$(),a=()=>"pending"!==o.status,i=()=>Y.isFocused()&&("always"===e.networkMode||J.isOnline())&&e.canRun(),l=()=>ee(e.networkMode)&&e.canRun(),s=e=>{a()||(t?.(),o.resolve(e))},u=e=>{a()||(t?.(),o.reject(e))},c=()=>new Promise(n=>{t=e=>{(a()||i())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,a()||e.onContinue?.()}),d=()=>{if(a())return;let t;const o=0===r?e.initialPromise:void 0;try{t=o??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(s).catch(t=>{if(a())return;const o=e.retry??(E?0:3),l=e.retryDelay??X,s="function"==typeof l?l(r,t):l,f=!0===o||"number"==typeof o&&r<o||"function"==typeof o&&o(r,t);!n&&f?(r++,e.onFail?.(r,t),function(e){return new Promise(t=>{C.setTimeout(t,e)})}(s).then(()=>i()?void 0:c()).then(()=>{n?u(t):d()})):u(t)})};return{promise:o,status:()=>o.status,cancel:t=>{if(!a()){const n=new te(t);u(n),e.onCancel?.(n)}},continue:()=>(t?.(),o),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:l,start:()=>(l()?d():c().then(d),o)}}var re=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),T(this.gcTime)&&(this.#e=C.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(E?1/0:3e5))}clearGcTimeout(){this.#e&&(C.clearTimeout(this.#e),this.#e=void 0)}},oe={},ae=class extends re{#e;#t;#n;#r;#o;#a;#i;constructor(e){super(),this.#i=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=le(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#o?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=le(this.options);void 0!==e.data&&(this.setData(e.data,{updatedAt:e.dataUpdatedAt,manual:!0}),this.#e=e)}}optionalRemove(){!this.observers.length&&"idle"===this.state.fetchStatus&&this.#n.remove(this)}setData(e,t){const n=B(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#l({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#o?.promise;return this.#o?.cancel(e),t?t.then(I).catch(I):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>!1!==P(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===G||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===R(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!_(this.state.dataUpdatedAt,e))}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#o&&(this.#i?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#o?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}"production"!==oe.NODE_ENV&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#i=!0,n.signal)})},o=()=>{const e=Q(this.options,t),n=(()=>{const e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#i=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:o};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#t=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:"fetch",meta:a.fetchOptions?.meta}),this.#o=ne({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof te&&e.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#l({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{const e=await this.#o.start();if(void 0===e)throw"production"!==oe.NODE_ENV&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof te){if(e.silent)return this.#o.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#l({type:"error",error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...ie(t.data,this.options),fetchMeta:e.meta??null};case"success":const n={...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case"error":const r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),K.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function ie(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ee(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function le(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var se=class extends k{constructor(e,t){super(),this.options=t,this.#e=e,this.#l=null,this.#i=$(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#o;#a;#i;#l;#s;#u;#c;#d;#f;#p;#h=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#t.addObserver(this),ue(this.#t,this.options)?this.#m():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ce(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ce(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#y(),this.#b(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof P(this.options.enabled,this.#t))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#v(),this.#t.setOptions(this.options),t._defaulted&&!F(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&de(this.#t,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#t!==n||P(this.options.enabled,this.#t)!==P(t.enabled,this.#t)||R(this.options.staleTime,this.#t)!==R(t.staleTime,this.#t))&&this.#w();const o=this.#k();r&&(this.#t!==n||P(this.options.enabled,this.#t)!==P(t.enabled,this.#t)||o!==this.#p)&&this.#S(o)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return function(e,t){return!F(e.getCurrentResult(),t)}(this,n)&&(this.#r=n,this.#a=this.options,this.#o=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"===n&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&"pending"===this.#i.status&&this.#i.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#h.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#m(e){this.#v();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(I)),t}#w(){this.#y();const e=R(this.options.staleTime,this.#t);if(E||this.#r.isStale||!T(e))return;const t=_(this.#r.dataUpdatedAt,e)+1;this.#d=C.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#k(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#S(e){this.#b(),this.#p=e,!E&&!1!==P(this.options.enabled,this.#t)&&T(this.#p)&&0!==this.#p&&(this.#f=C.setInterval(()=>{(this.options.refetchIntervalInBackground||Y.isFocused())&&this.#m()},this.#p))}#g(){this.#w(),this.#S(this.#k())}#y(){this.#d&&(C.clearTimeout(this.#d),this.#d=void 0)}#b(){this.#f&&(C.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){const n=this.#t,r=this.options,o=this.#r,a=this.#o,i=this.#a,l=e!==n?e.state:this.#n,{state:s}=e;let u,c={...s},d=!1;if(t._optimisticResults){const o=this.hasListeners(),a=!o&&ue(e,t),i=o&&de(e,n,t,r);(a||i)&&(c={...c,...ie(s.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:f,errorUpdatedAt:p,status:h}=c;u=c.data;let m=!1;if(void 0!==t.placeholderData&&void 0===u&&"pending"===h){let e;o?.isPlaceholderData&&t.placeholderData===i?.placeholderData?(e=o.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(h="success",u=B(o?.data,e,t),d=!0)}if(t.select&&void 0!==u&&!m)if(o&&u===a?.data&&t.select===this.#s)u=this.#u;else try{this.#s=t.select,u=t.select(u),u=B(o?.data,u,t),this.#u=u,this.#l=null}catch(e){this.#l=e}this.#l&&(f=this.#l,u=this.#u,p=Date.now(),h="error");const g="fetching"===c.fetchStatus,y="pending"===h,b="error"===h,v=y&&g,w=void 0!==u,k={status:h,fetchStatus:c.fetchStatus,isPending:y,isSuccess:"success"===h,isError:b,isInitialLoading:v,isLoading:v,data:u,dataUpdatedAt:c.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:b&&!w,isPaused:"paused"===c.fetchStatus,isPlaceholderData:d,isRefetchError:b&&w,isStale:fe(e,t),refetch:this.refetch,promise:this.#i,isEnabled:!1!==P(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===k.status?e.reject(k.error):void 0!==k.data&&e.resolve(k.data)},r=()=>{const e=this.#i=k.promise=$();t(e)},o=this.#i;switch(o.status){case"pending":e.queryHash===n.queryHash&&t(o);break;case"fulfilled":("error"===k.status||k.data!==o.value)&&r();break;case"rejected":("error"!==k.status||k.error!==o.reason)&&r()}}return k}updateResult(){const e=this.#r,t=this.createResult(this.#t,this.options);if(this.#o=this.#t.state,this.#a=this.options,void 0!==this.#o.data&&(this.#c=this.#t),F(t,e))return;this.#r=t;this.#x({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#h.size)return!0;const r=new Set(n??this.#h);return this.options.throwOnError&&r.add("error"),Object.keys(this.#r).some(t=>{const n=t;return this.#r[n]!==e[n]&&r.has(n)})})()})}#v(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#x(e){K.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function ue(e,t){return function(e,t){return!1!==P(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&ce(e,t,t.refetchOnMount)}function ce(e,t,n){if(!1!==P(t.enabled,e)&&"static"!==R(t.staleTime,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&fe(e,t)}return!1}function de(e,t,n,r){return(e!==t||!1===P(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&fe(e,n)}function fe(e,t){return!1!==P(t.enabled,e)&&e.isStaleByTime(R(t.staleTime,e))}function pe(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],i=t.state.data?.pageParams||[];let l={pages:[],pageParams:[]},s=0;const u=async()=>{let n=!1;const u=Q(t.options,t.fetchOptions),c=async(e,r,o)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const a=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:o?"backward":"forward",meta:t.options.meta};return(e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)})})(e),e})(),i=await u(a),{maxPages:l}=t.options,s=o?W:V;return{pages:s(e.pages,i,l),pageParams:s(e.pageParams,r,l)}};if(o&&a.length){const e="backward"===o,t={pages:a,pageParams:i},n=(e?me:he)(r,t);l=await c(t,n,e)}else{const t=e??a.length;do{const e=0===s?i[0]??r.initialPageParam:he(r,l);if(s>0&&null==e)break;l=await c(l,e),s++}while(s<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=u}}}function he(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function me(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function ge(e,t){return!!t&&null!=he(e,t)}function ye(e,t){return!(!t||!e.getPreviousPageParam)&&null!=me(e,t)}var be=class extends re{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#o({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=ne({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#o({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#o({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r="pending"===this.state.status,o=!this.#r.canStart();try{if(r)t();else{this.#o({type:"pending",variables:e,isPaused:o}),await(this.#n.config.onMutate?.(e,this,n));const t=await(this.options.onMutate?.(e,n));t!==this.state.context&&this.#o({type:"pending",context:t,variables:e,isPaused:o})}const a=await this.#r.start();return await(this.#n.config.onSuccess?.(a,e,this.state.context,this,n)),await(this.options.onSuccess?.(a,e,this.state.context,n)),await(this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n)),await(this.options.onSettled?.(a,null,e,this.state.context,n)),this.#o({type:"success",data:a}),a}catch(t){try{throw await(this.#n.config.onError?.(t,e,this.state.context,this,n)),await(this.options.onError?.(t,e,this.state.context,n)),await(this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)),await(this.options.onSettled?.(void 0,t,e,this.state.context,n)),t}finally{this.#o({type:"error",error:t})}}finally{this.#n.runNext(this)}}#o(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),K.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};var ve=class extends k{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const r=new be({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);const t=we(e);if("string"==typeof t){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=we(e);if("string"==typeof t){const n=this.#t.get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=we(e);if("string"==typeof t){const n=this.#t.get(t)?.find(e=>"pending"===e.state.status);return!n||n===e}return!0}runNext(e){const t=we(e);return"string"==typeof t?this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){K.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>N(t,e))}findAll(e={}){return this.getAll().filter(t=>N(e,t))}notify(e){K.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return K.batch(()=>Promise.all(e.map(e=>e.continue().catch(I))))}};function we(e){return e.options.scope?.id}var ke=class extends k{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,o=t.queryHash??L(r,t);let a=this.get(o);return a||(a=new ae({client:e,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){K.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>O(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>O(e,t)):t}notify(e){K.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){K.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){K.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Se=b();const xe=n(Se),Ce=e({__proto__:null,default:xe},[Se]);var Ae=Se.createContext(void 0),Ee=e=>{const t=Se.useContext(Ae);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Ie=({client:e,children:t})=>(Se.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),w.jsx(Ae.Provider,{value:e,children:t})),Te=Se.createContext(!1);Te.Provider;var _e=Se.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Re=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()}),Pe={};function Oe(e,t,n){if("production"!==Pe.NODE_ENV&&("object"!=typeof e||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const r=Se.useContext(Te),o=Se.useContext(_e),a=Ee(n),i=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(i),"production"!==Pe.NODE_ENV&&(i.queryFn||console.error(`[${i.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),i._optimisticResults=r?"isRestoring":"optimistic",(e=>{if(e.suspense){const t=e=>"static"===e?e:Math.max(e??1e3,1e3),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>t(n(...e)):t(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}})(i),((e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))})(i,o),(e=>{Se.useEffect(()=>{e.clearReset()},[e])})(o);const l=!a.getQueryCache().get(i.queryHash),[s]=Se.useState(()=>new t(a,i)),u=s.getOptimisticResult(i),c=!r&&!1!==e.subscribed;if(Se.useSyncExternalStore(Se.useCallback(e=>{const t=c?s.subscribe(K.batchCalls(e)):I;return s.updateResult(),t},[s,c]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),Se.useEffect(()=>{s.setOptions(i)},[i,s]),((e,t)=>e?.suspense&&t.isPending)(i,u))throw Re(i,s,o);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&void 0===e.data||function(e,t){return"function"==typeof e?e(...t):!!e}(n,[e.error,r])))({result:u,errorResetBoundary:o,throwOnError:i.throwOnError,query:a.getQueryCache().get(i.queryHash),suspense:i.suspense}))throw u.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(i,u),i.experimental_prefetchInRender&&!E&&((e,t)=>e.isLoading&&e.isFetching&&!t)(u,r)&&(l?Re(i,s,o):a.getQueryCache().get(i.queryHash)?.promise)?.catch(I).finally(()=>{s.updateResult()}),i.notifyOnChangeProps?u:s.trackResult(u)}function Ne(e,t){return Oe(e,se,t)}var Le={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return ze(this.context.count)},getNextContextId(){return ze(this.context.count++)}};function ze(e){const t=String(e),n=t.length-1;return Le.context.id+(n?String.fromCharCode(96+n):"")+t}function De(e){Le.context=e}var je=Symbol("solid-proxy"),Me="function"==typeof Proxy,Fe=Symbol("solid-track"),qe={equals:(e,t)=>e===t},Ue=At,He=1,Be=2,Ve={owned:null,cleanups:null,context:null,owner:null},We={},Ge=null,Qe=null,Ye=null,$e=null,Ze=null,Ke=0;function Je(e,t){const n=Ye,r=Ge,o=0===e.length,a=void 0===t?r:t,i=o?Ve:{owned:null,cleanups:null,context:a?a.context:null,owner:a},l=o?e:()=>e(()=>it(()=>_t(i)));Ge=i,Ye=null;try{return Ct(l,!0)}finally{Ye=n,Ge=r}}function Xe(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},qe,t):qe).equals||void 0};return[vt.bind(n),e=>("function"==typeof e&&(e=e(n.value)),wt(n,e))]}function et(e,t,n){kt(St(e,t,!0,He))}function tt(e,t,n){kt(St(e,t,!1,He))}function nt(e,t,n){Ue=Et;const r=St(e,t,!1,He);(!n||!n.render)&&(r.user=!0),Ze?Ze.push(r):kt(r)}function rt(e,t,n){n=n?Object.assign({},qe,n):qe;const r=St(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,kt(r),vt.bind(r)}function ot(e,t,n){let r,o,a;r=!0,o=e,a={};let i=null,l=We,s=null,u=!1,c="initialValue"in a,d=!1;const f=new Set,[p,h]=(a.storage||Xe)(a.initialValue),[m,g]=Xe(void 0),[y,b]=Xe(void 0,{equals:!1}),[v,w]=Xe(c?"ready":"unresolved");function k(e,t,n,r){return i===e&&(i=null,void 0!==r&&(c=!0),(e===l||t===l)&&a.onHydrated&&queueMicrotask(()=>a.onHydrated(r,{value:t})),l=We,function(e,t){Ct(()=>{void 0===t&&h(()=>e),w(void 0!==t?"errored":c?"ready":"unresolved"),g(t);for(const e of f.keys())e.decrement();f.clear()},!1)}(t,n)),t}function S(){const e=p(),t=m();if(void 0!==t&&!i)throw t;return Ye&&Ye.user,e}function x(e=!0){if(!1!==e&&u)return;u=!1;const t=d?d():r;if(null==t||!1===t)return void k(i,it(p));let n;const a=l!==We?l:it(()=>{try{return o(t,{value:p(),refetching:e})}catch(e){n=e}});if(void 0===n)return function(e){return e&&"object"==typeof e&&"then"in e}(a)?(i=a,"v"in a?(1===a.s?k(i,a.v,void 0,t):k(i,void 0,Rt(a.v),t),a):(u=!0,queueMicrotask(()=>u=!1),Ct(()=>{w(c?"refreshing":"pending"),b()},!1),a.then(e=>k(a,e,void 0,t),e=>k(a,void 0,Rt(e),t)))):(k(i,a,void 0,t),a);k(i,void 0,Rt(n),t)}Le.context&&(s=Le.getNextContextId(),"initial"===a.ssrLoadFrom?l=a.initialValue:Le.load&&Le.has(s)&&(l=Le.load(s))),Object.defineProperties(S,{state:{get:()=>v()},error:{get:()=>m()},loading:{get(){const e=v();return"pending"===e||"refreshing"===e}},latest:{get(){if(!c)return S();const e=m();if(e&&!i)throw e;return p()}}});let C=Ge;return d?et(()=>(C=Ge,x(!1))):x(!1),[S,{refetch:e=>dt(C,()=>x(e)),mutate:h}]}function at(e){return Ct(e,!1)}function it(e){if(null===Ye)return e();const t=Ye;Ye=null;try{return e()}finally{Ye=t}}function lt(e,t,n){const r=Array.isArray(e);let o,a=n&&n.defer;return n=>{let i;if(r){i=Array(e.length);for(let t=0;t<e.length;t++)i[t]=e[t]()}else i=e();if(a)return a=!1,n;const l=it(()=>t(i,o,n));return o=i,l}}function st(e){nt(()=>it(e))}function ut(e){return null===Ge||(null===Ge.cleanups?Ge.cleanups=[e]:Ge.cleanups.push(e)),e}function ct(){return Ge}function dt(e,t){const n=Ge,r=Ye;Ge=e,Ye=null;try{return Ct(t,!0)}catch(e){Pt(e)}finally{Ge=n,Ye=r}}function ft(e){const t=Ye,n=Ge;return Promise.resolve().then(()=>(Ye=t,Ge=n,Ct(e,!1),void(Ye=Ge=null)))}var[pt,ht]=Xe(!1);function mt(){return[pt,ft]}function gt(e,t){const n=Symbol("context");return{id:n,Provider:Nt(n),defaultValue:e}}function yt(e){let t;return Ge&&Ge.context&&void 0!==(t=Ge.context[e.id])?t:e.defaultValue}function bt(e){const t=rt(e),n=rt(()=>Ot(t()));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}function vt(){if(this.sources&&this.state)if(this.state===He)kt(this);else{const e=$e;$e=null,Ct(()=>It(this),!1),$e=e}if(Ye){const e=this.observers?this.observers.length:0;Ye.sources?(Ye.sources.push(this),Ye.sourceSlots.push(e)):(Ye.sources=[this],Ye.sourceSlots=[e]),this.observers?(this.observers.push(Ye),this.observerSlots.push(Ye.sources.length-1)):(this.observers=[Ye],this.observerSlots=[Ye.sources.length-1])}return this.value}function wt(e,t,n){let r=e.value;return(!e.comparator||!e.comparator(r,t))&&(e.value=t,e.observers&&e.observers.length&&Ct(()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=Qe&&Qe.running;r&&Qe.disposed.has(n),(r?!n.tState:!n.state)&&(n.pure?$e.push(n):Ze.push(n),n.observers&&Tt(n)),r||(n.state=He)}if($e.length>1e6)throw $e=[],new Error},!1)),t}function kt(e){if(!e.fn)return;_t(e);const t=Ke;!function(e,t,n){let r;const o=Ge,a=Ye;Ye=Ge=e;try{r=e.fn(t)}catch(t){return e.pure&&(e.state=He,e.owned&&e.owned.forEach(_t),e.owned=null),e.updatedAt=n+1,Pt(t)}finally{Ye=a,Ge=o}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?wt(e,r):e.value=r,e.updatedAt=n)}(e,e.value,t)}function St(e,t,n,r=He,o){const a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:Ge,context:Ge?Ge.context:null,pure:n};return null===Ge||Ge!==Ve&&(Ge.owned?Ge.owned.push(a):Ge.owned=[a]),a}function xt(e){if(0===e.state)return;if(e.state===Be)return It(e);if(e.suspense&&it(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<Ke);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if((e=t[n]).state===He)kt(e);else if(e.state===Be){const n=$e;$e=null,Ct(()=>It(e,t[0]),!1),$e=n}}function Ct(e,t){if($e)return e();let n=!1;t||($e=[]),Ze?n=!0:Ze=[],Ke++;try{const t=e();return function(e){if($e&&(At($e),$e=null),e)return;const t=Ze;Ze=null,t.length&&Ct(()=>Ue(t),!1)}(n),t}catch(e){n||(Ze=null),$e=null,Pt(e)}}function At(e){for(let t=0;t<e.length;t++)xt(e[t])}function Et(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:xt(r)}if(Le.context){if(Le.count)return Le.effects||(Le.effects=[]),void Le.effects.push(...e.slice(0,n));De()}for(Le.effects&&(Le.done||!Le.count)&&(e=[...Le.effects,...e],n+=Le.effects.length,delete Le.effects),t=0;t<n;t++)xt(e[t])}function It(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const r=e.sources[n];if(r.sources){const e=r.state;e===He?r!==t&&(!r.updatedAt||r.updatedAt<Ke)&&xt(r):e===Be&&It(r,t)}}}function Tt(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=Be,n.pure?$e.push(n):Ze.push(n),n.observers&&Tt(n))}}function _t(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)_t(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)_t(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function Rt(e){return e instanceof Error?e:new Error("string"==typeof e?e:"Unknown error",{cause:e})}function Pt(e,t=Ge){throw Rt(e)}function Ot(e){if("function"==typeof e&&!e.length)return Ot(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=Ot(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function Nt(e,t){return function(t){let n;return tt(()=>n=it(()=>(Ge.context={...Ge.context,[e]:t.value},bt(()=>t.children))),void 0),n}}var Lt=Symbol("fallback");function zt(e){for(let t=0;t<e.length;t++)e[t]()}function Dt(e,t){return it(()=>e(t||{}))}function jt(){return!0}var Mt={get:(e,t,n)=>t===je?n:e.get(t),has:(e,t)=>t===je||e.has(t),set:jt,deleteProperty:jt,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:jt,deleteProperty:jt}),ownKeys:e=>e.keys()};function Ft(e){return(e="function"==typeof e?e():e)?e:{}}function qt(){for(let e=0,t=this.length;e<t;++e){const t=this[e]();if(void 0!==t)return t}}function Ut(...e){let t=!1;for(let n=0;n<e.length;n++){const r=e[n];t=t||!!r&&je in r,e[n]="function"==typeof r?(t=!0,rt(r)):r}if(Me&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=Ft(e[n])[t];if(void 0!==r)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in Ft(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(Ft(e[n])));return[...new Set(t)]}},Mt);const n={},r=Object.create(null);for(let t=e.length-1;t>=0;t--){const o=e[t];if(!o)continue;const a=Object.getOwnPropertyNames(o);for(let e=a.length-1;e>=0;e--){const t=a[e];if("__proto__"===t||"constructor"===t)continue;const i=Object.getOwnPropertyDescriptor(o,t);if(r[t]){const e=n[t];e&&(i.get?e.push(i.get.bind(o)):void 0!==i.value&&e.push(()=>i.value))}else r[t]=i.get?{enumerable:!0,configurable:!0,get:qt.bind(n[t]=[i.get.bind(o)])}:void 0!==i.value?i:void 0}}const o={},a=Object.keys(r);for(let e=a.length-1;e>=0;e--){const t=a[e],n=r[t];n&&n.get?Object.defineProperty(o,t,n):o[t]=n?n.value:void 0}return o}function Ht(e,...t){if(Me&&je in e){const n=new Set(t.length>1?t.flat():t[0]),r=t.map(t=>new Proxy({get:n=>t.includes(n)?e[n]:void 0,has:n=>t.includes(n)&&n in e,keys:()=>t.filter(t=>t in e)},Mt));return r.push(new Proxy({get:t=>n.has(t)?void 0:e[t],has:t=>!n.has(t)&&t in e,keys:()=>Object.keys(e).filter(e=>!n.has(e))},Mt)),r}const n={},r=t.map(()=>({}));for(const o of Object.getOwnPropertyNames(e)){const a=Object.getOwnPropertyDescriptor(e,o),i=!a.get&&!a.set&&a.enumerable&&a.writable&&a.configurable;let l=!1,s=0;for(const e of t)e.includes(o)&&(l=!0,i?r[s][o]=a.value:Object.defineProperty(r[s],o,a)),++s;l||(i?n[o]=a.value:Object.defineProperty(n,o,a))}return[...r,n]}var Bt=0;function Vt(){return Le.context?Le.getNextContextId():"cl-"+Bt++}var Wt=e=>`Stale read from <${e}>.`;function Gt(e){const t="fallback"in e&&{fallback:()=>e.fallback};return rt(function(e,t,n={}){let r=[],o=[],a=[],i=0,l=t.length>1?[]:null;return ut(()=>zt(a)),()=>{let s,u,c=e()||[],d=c.length;return c[Fe],it(()=>{let e,t,p,h,m,g,y,b,v;if(0===d)0!==i&&(zt(a),a=[],r=[],o=[],i=0,l&&(l=[])),n.fallback&&(r=[Lt],o[0]=Je(e=>(a[0]=e,n.fallback())),i=1);else if(0===i){for(o=new Array(d),u=0;u<d;u++)r[u]=c[u],o[u]=Je(f);i=d}else{for(p=new Array(d),h=new Array(d),l&&(m=new Array(d)),g=0,y=Math.min(i,d);g<y&&r[g]===c[g];g++);for(y=i-1,b=d-1;y>=g&&b>=g&&r[y]===c[b];y--,b--)p[b]=o[y],h[b]=a[y],l&&(m[b]=l[y]);for(e=new Map,t=new Array(b+1),u=b;u>=g;u--)v=c[u],s=e.get(v),t[u]=void 0===s?-1:s,e.set(v,u);for(s=g;s<=y;s++)v=r[s],u=e.get(v),void 0!==u&&-1!==u?(p[u]=o[s],h[u]=a[s],l&&(m[u]=l[s]),u=t[u],e.set(v,u)):a[s]();for(u=g;u<d;u++)u in p?(o[u]=p[u],a[u]=h[u],l&&(l[u]=m[u],l[u](u))):o[u]=Je(f);o=o.slice(0,i=d),r=c.slice(0)}return o});function f(e){if(a[u]=e,l){const[e,n]=Xe(u);return l[u]=n,t(c[u],e)}return t(c[u])}}}(()=>e.each,e.children,t||void 0))}function Qt(e){const t="fallback"in e&&{fallback:()=>e.fallback};return rt(function(e,t,n={}){let r,o=[],a=[],i=[],l=[],s=0;return ut(()=>zt(i)),()=>{const u=e()||[],c=u.length;return u[Fe],it(()=>{if(0===c)return 0!==s&&(zt(i),i=[],o=[],a=[],s=0,l=[]),n.fallback&&(o=[Lt],a[0]=Je(e=>(i[0]=e,n.fallback())),s=1),a;for(o[0]===Lt&&(i[0](),i=[],o=[],a=[],s=0),r=0;r<c;r++)r<o.length&&o[r]!==u[r]?l[r](()=>u[r]):r>=o.length&&(a[r]=Je(d));for(;r<o.length;r++)i[r]();return s=l.length=i.length=c,o=u.slice(0),a=a.slice(0,s)});function d(e){i[r]=e;const[n,o]=Xe(u[r]);return l[r]=o,t(n,r)}}}(()=>e.each,e.children,t||void 0))}function Yt(e){const t=e.keyed,n=rt(()=>e.when,void 0,void 0),r=t?n:rt(n,void 0,{equals:(e,t)=>!e==!t});return rt(()=>{const o=r();if(o){const a=e.children;return"function"==typeof a&&a.length>0?it(()=>a(t?o:()=>{if(!it(r))throw Wt("Show");return n()})):a}return e.fallback},void 0,void 0)}function $t(e){const t=bt(()=>e.children),n=rt(()=>{const e=t(),n=Array.isArray(e)?e:[e];let r=()=>{};for(let e=0;e<n.length;e++){const t=e,o=n[e],a=r,i=rt(()=>a()?void 0:o.when,void 0,void 0),l=o.keyed?i:rt(i,void 0,{equals:(e,t)=>!e==!t});r=()=>a()||(l()?[t,i,o]:void 0)}return r});return rt(()=>{const t=n()();if(!t)return e.fallback;const[r,o,a]=t,i=a.children;return"function"==typeof i&&i.length>0?it(()=>i(a.keyed?o():()=>{if(it(n)()?.[0]!==r)throw Wt("Match");return o()})):i},void 0,void 0)}function Zt(e){return e}var Kt=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),Jt=new Set(["innerHTML","textContent","innerText","children"]),Xt=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),en=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});var tn=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),nn=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","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","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),rn={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},on=e=>rt(()=>e());var an="_$DX_DELEGATE";function ln(e,t,n,r){let o;const a=()=>(o||(o=(()=>{const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild})())).cloneNode(!0);return a.cloneNode=a,a}function sn(e,t=window.document){const n=t[an]||(t[an]=new Set);for(let r=0,o=e.length;r<o;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,wn))}}function un(e=window.document){if(e[an]){for(let t of e[an].keys())e.removeEventListener(t,wn);delete e[an]}}function cn(e,t,n){yn(e)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}function dn(e,t){yn(e)||(null==t?e.removeAttribute("class"):e.className=t)}function fn(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,"function"!=typeof n&&n)}function pn(e,t={},n,r){const o={};return r||tt(()=>o.children=kn(e,t.children,o.children)),tt(()=>"function"==typeof t.ref&&hn(t.ref,e)),tt(()=>function(e,t,n,r,o={},a=!1){t||(t={});for(const r in o)if(!(r in t)){if("children"===r)continue;o[r]=vn(e,r,null,o[r],n,a,t)}for(const r in t){if("children"===r)continue;const i=t[r];o[r]=vn(e,r,i,o[r],n,a,t)}}(e,t,n,0,o,!0)),o}function hn(e,t,n){return it(()=>e(t,n))}function mn(e,t,n,r){if(void 0!==n&&!r&&(r=[]),"function"!=typeof t)return kn(e,t,r,n);tt(r=>kn(e,t(),r,n),r)}function gn(e){let t,n;return yn()&&(t=Le.registry.get(n=Le.getNextContextId()))?(Le.completed&&Le.completed.add(t),Le.registry.delete(n),t):e()}function yn(e){return!!Le.context&&!Le.done&&(!e||e.isConnected)}function bn(e,t,n){const r=t.trim().split(/\s+/);for(let t=0,o=r.length;t<o;t++)e.classList.toggle(r[t],n)}function vn(e,t,n,r,o,a,i){let l,s,u,c,d;if("style"===t)return function(e,t,n){if(!t)return n?cn(e,"style"):t;const r=e.style;if("string"==typeof t)return r.cssText=t;let o,a;for(a in"string"==typeof n&&(r.cssText=n=void 0),n||(n={}),t||(t={}),n)null==t[a]&&r.removeProperty(a),delete n[a];for(a in t)o=t[a],o!==n[a]&&(r.setProperty(a,o),n[a]=o);return n}(e,n,r);if("classList"===t)return function(e,t,n={}){const r=Object.keys(t||{}),o=Object.keys(n);let a,i;for(a=0,i=o.length;a<i;a++){const r=o[a];!r||"undefined"===r||t[r]||(bn(e,r,!1),delete n[r])}for(a=0,i=r.length;a<i;a++){const o=r[a],i=!!t[o];!o||"undefined"===o||n[o]===i||!i||(bn(e,o,!0),n[o]=i)}return n}(e,n,r);if(n===r)return r;if("ref"===t)a||n(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);r&&e.removeEventListener(o,r,"function"!=typeof r&&r),n&&e.addEventListener(o,n,"function"!=typeof n&&n)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);r&&e.removeEventListener(o,r,!0),n&&e.addEventListener(o,n,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),a=tn.has(o);if(!a&&r){const t=Array.isArray(r)?r[0]:r;e.removeEventListener(o,t)}(a||n)&&(fn(e,o,n,a),a&&sn([o]))}else if("attr:"===t.slice(0,5))cn(e,t.slice(5),n);else if("bool:"===t.slice(0,5))!function(e,t,n){yn(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}(e,t.slice(5),n);else if((d="prop:"===t.slice(0,5))||(u=Jt.has(t))||!o&&((c=function(e,t){const n=en[e];return"object"==typeof n?n[t]?n.$:void 0:n}(t,e.tagName))||(s=Kt.has(t)))||(l=e.nodeName.includes("-")||"is"in i)){if(d)t=t.slice(5),s=!0;else if(yn(e))return n;"class"===t||"className"===t?dn(e,n):!l||s||u?e[c||t]=n:e[function(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}(t)]=n}else{const r=o&&t.indexOf(":")>-1&&rn[t.split(":")[0]];r?function(e,t,n,r){yn(e)||(null==r?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}(e,r,t,n):cn(e,Xt[t]||t,n)}return n}function wn(e){if(Le.registry&&Le.events&&Le.events.find(([t,n])=>n===e))return;let t=e.target;const n=`$$${e.type}`,r=e.target,o=e.currentTarget,a=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),i=()=>{const r=t[n];if(r&&!t.disabled){const o=t[`${n}Data`];if(void 0!==o?r.call(t,o,e):r.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},l=()=>{for(;i()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),Le.registry&&!Le.done&&(Le.done=_$HY.done=!0),e.composedPath){const n=e.composedPath();a(n[0]);for(let e=0;e<n.length-2&&(t=n[e],i());e++){if(t._$host){t=t._$host,l();break}if(t.parentNode===o)break}}else l();a(r)}function kn(e,t,n,r,o){const a=yn(e);if(a){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){const r=n[e];8===r.nodeType&&"!$"===r.data.slice(0,2)?r.remove():t.push(r)}n=t}for(;"function"==typeof n;)n=n();if(t===n)return n;const i=typeof t,l=void 0!==r;if(e=l&&n[0]&&n[0].parentNode||e,"string"===i||"number"===i){if(a||"number"===i&&(t=t.toString())===n)return n;if(l){let o=n[0];o&&3===o.nodeType?o.data!==t&&(o.data=t):o=document.createTextNode(t),n=Cn(e,n,r,o)}else n=""!==n&&"string"==typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===i){if(a)return n;n=Cn(e,n,r)}else{if("function"===i)return tt(()=>{let o=t();for(;"function"==typeof o;)o=o();n=kn(e,o,n,r)}),()=>n;if(Array.isArray(t)){const i=[],s=n&&Array.isArray(n);if(Sn(i,t,n,o))return tt(()=>n=kn(e,i,n,r,!0)),()=>n;if(a){if(!i.length)return n;if(void 0===r)return n=[...e.childNodes];let t=i[0];if(t.parentNode!==e)return n;const o=[t];for(;(t=t.nextSibling)!==r;)o.push(t);return n=o}if(0===i.length){if(n=Cn(e,n,r),l)return n}else s?0===n.length?xn(e,i,r):function(e,t,n){let r=n.length,o=t.length,a=r,i=0,l=0,s=t[o-1].nextSibling,u=null;for(;i<o||l<a;)if(t[i]!==n[l]){for(;t[o-1]===n[a-1];)o--,a--;if(o===i){const t=a<r?l?n[l-1].nextSibling:n[a-l]:s;for(;l<a;)e.insertBefore(n[l++],t)}else if(a===l)for(;i<o;)(!u||!u.has(t[i]))&&t[i].remove(),i++;else if(t[i]===n[a-1]&&n[l]===t[o-1]){const r=t[--o].nextSibling;e.insertBefore(n[l++],t[i++].nextSibling),e.insertBefore(n[--a],r),t[o]=n[a]}else{if(!u){u=new Map;let e=l;for(;e<a;)u.set(n[e],e++)}const r=u.get(t[i]);if(null!=r)if(l<r&&r<a){let s,c=i,d=1;for(;++c<o&&c<a&&null!=(s=u.get(t[c]))&&s===r+d;)d++;if(d>r-l){const o=t[i];for(;l<r;)e.insertBefore(n[l++],o)}else e.replaceChild(n[l++],t[i++])}else i++;else t[i++].remove()}}else i++,l++}(e,n,i):(n&&Cn(e),xn(e,i));n=i}else if(t.nodeType){if(a&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=Cn(e,n,r,t);Cn(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}}return n}function Sn(e,t,n,r){let o=!1;for(let a=0,i=t.length;a<i;a++){let i,l=t[a],s=n&&n[e.length];if(null!=l&&!0!==l&&!1!==l)if("object"==(i=typeof l)&&l.nodeType)e.push(l);else if(Array.isArray(l))o=Sn(e,l,s)||o;else if("function"===i)if(r){for(;"function"==typeof l;)l=l();o=Sn(e,Array.isArray(l)?l:[l],Array.isArray(s)?s:[s])||o}else e.push(l),o=!0;else{const t=String(l);s&&3===s.nodeType&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}return o}function xn(e,t,n=null){for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n)}function Cn(e,t,n,r){if(void 0===n)return e.textContent="";const o=r||document.createTextNode("");if(t.length){let r=!1;for(let a=t.length-1;a>=0;a--){const i=t[a];if(o!==i){const t=i.parentNode===e;r||a?t&&i.remove():t?e.replaceChild(o,i):e.insertBefore(o,n)}else r=!0}}else e.insertBefore(o,n);return[o]}function An(e,t=!1){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}function En(e){const{useShadow:t}=e,n=document.createTextNode(""),r=ct();let o,a=!!Le.context;return nt(()=>{a&&(ct().user=a=!1),o||(o=dt(r,()=>rt(()=>e.children)));const i=e.mount||document.body;if(i instanceof HTMLHeadElement){const[e,t]=Xe(!1),n=()=>t(!0);Je(t=>mn(i,()=>e()?t():o(),null)),ut(n)}else{const r=An(e.isSVG?"g":"div",e.isSVG),a=t&&r.attachShadow?r.attachShadow({mode:"open"}):r;Object.defineProperty(r,"_$host",{get:()=>n.parentNode,configurable:!0}),mn(a,o),i.appendChild(r),e.ref&&e.ref(r),ut(()=>i.removeChild(r))}},void 0,{render:!a}),n}function In(e){const[,t]=Ht(e,["component"]);return function(e,t){const n=rt(e);return rt(()=>{const e=n();switch(typeof e){case"function":return it(()=>e(t));case"string":const n=nn.has(e),r=Le.context?gn():An(e,n);return pn(r,t,n),r}})}(()=>e.component,t)}var Tn=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},_n=class{constructor(e){this.generateIdentifier=e,this.kv=new Tn}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Rn=class extends _n{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){"object"==typeof t?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};function Pn(e,t){const n=function(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}(e);if("find"in n)return n.find(t);const r=n;for(let e=0;e<r.length;e++){const n=r[e];if(t(n))return n}}function On(e,t){Object.entries(e).forEach(([e,n])=>t(n,e))}function Nn(e,t){return-1!==e.indexOf(t)}function Ln(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var zn=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return Pn(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}},Dn=e=>typeof e>"u",jn=e=>"object"==typeof e&&null!==e&&e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype),Mn=e=>jn(e)&&0===Object.keys(e).length,Fn=e=>Array.isArray(e),qn=e=>e instanceof Map,Un=e=>e instanceof Set,Hn=e=>"Symbol"===(e=>Object.prototype.toString.call(e).slice(8,-1))(e),Bn=e=>"number"==typeof e&&isNaN(e),Vn=e=>(e=>"boolean"==typeof e)(e)||(e=>null===e)(e)||Dn(e)||(e=>"number"==typeof e&&!isNaN(e))(e)||(e=>"string"==typeof e)(e)||Hn(e),Wn=e=>e.replace(/\./g,"\\."),Gn=e=>e.map(String).map(Wn).join("."),Qn=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let o=e.charAt(r);"\\"!==o||"."!==e.charAt(r+1)?"."!==o?n+=o:(t.push(n),n=""):(n+=".",r++)}const r=n;return t.push(r),t};function Yn(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var $n=[Yn(Dn,"undefined",()=>null,()=>{}),Yn(e=>"bigint"==typeof e,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):e),Yn(e=>e instanceof Date&&!isNaN(e.valueOf()),"Date",e=>e.toISOString(),e=>new Date(e)),Yn(e=>e instanceof Error,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(t=>{n[t]=e[t]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(t=>{n[t]=e[t]}),n}),Yn(e=>e instanceof RegExp,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Yn(Un,"set",e=>[...e.values()],e=>new Set(e)),Yn(qn,"map",e=>[...e.entries()],e=>new Map(e)),Yn(e=>Bn(e)||(e=>e===1/0||e===-1/0)(e),"number",e=>Bn(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Yn(e=>0===e&&1/e==-1/0,"number",()=>"-0",Number),Yn(e=>e instanceof URL,"URL",e=>e.toString(),e=>new URL(e))];function Zn(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Kn=Zn((e,t)=>!!Hn(e)&&!!t.symbolRegistry.getIdentifier(e),(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),Jn=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),Xn=Zn(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=Jn[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function er(e,t){return!!e?.constructor&&!!t.classRegistry.getIdentifier(e.constructor)}var tr=Zn(er,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(t=>{r[t]=e[t]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),nr=Zn((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),rr=[tr,Kn,nr,Xn],or=(e,t)=>{const n=Ln(rr,n=>n.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=Ln($n,n=>n.isApplicable(e,t));return r?{value:r.transform(e,t),type:r.annotation}:void 0},ar={};$n.forEach(e=>{ar[e.annotation]=e});var ir=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function lr(e){if(Nn(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Nn(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Nn(e,"constructor"))throw new Error("constructor is not allowed as a property")}var sr=(e,t,n)=>{if(lr(t),0===t.length)return n(e);let r=e;for(let e=0;e<t.length-1;e++){const n=t[e];if(Fn(r)){r=r[+n]}else if(jn(r))r=r[n];else if(Un(r)){r=ir(r,+n)}else if(qn(r)){if(e===t.length-2)break;const o=+n,a=0==+t[++e]?"key":"value",i=ir(r,o);switch(a){case"key":r=i;break;case"value":r=r.get(i)}}}const o=t[t.length-1];if(Fn(r)?r[+o]=n(r[+o]):jn(r)&&(r[o]=n(r[o])),Un(r)){const e=ir(r,+o),t=n(e);e!==t&&(r.delete(e),r.add(t))}if(qn(r)){const e=+t[t.length-2],a=ir(r,e);switch(0==+o?"key":"value"){case"key":{const e=n(a);r.set(e,r.get(a)),e!==a&&r.delete(a);break}case"value":r.set(a,n(r.get(a)))}}return e};function ur(e,t,n=[]){if(!e)return;if(!Fn(e))return void On(e,(e,r)=>ur(e,t,[...n,...Qn(r)]));const[r,o]=e;o&&On(o,(e,r)=>{ur(e,t,[...n,...Qn(r)])}),t(r,n)}function cr(e,t,n){return ur(t,(t,r)=>{e=sr(e,r,e=>((e,t,n)=>{if(!Fn(t)){const r=ar[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}switch(t[0]){case"symbol":return Kn.untransform(e,t,n);case"class":return tr.untransform(e,t,n);case"custom":return nr.untransform(e,t,n);case"typed-array":return Xn.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}})(e,t,n))}),e}function dr(e,t){function n(t,n){const r=((e,t)=>{lr(t);for(let n=0;n<t.length;n++){const r=t[n];if(Un(e))e=ir(e,+r);else if(qn(e)){const o=+r,a=0==+t[++n]?"key":"value",i=ir(e,o);switch(a){case"key":e=i;break;case"value":e=e.get(i)}}else e=e[r]}return e})(e,Qn(n));t.map(Qn).forEach(t=>{e=sr(e,t,()=>r)})}if(Fn(t)){const[r,o]=t;r.forEach(t=>{e=sr(e,Qn(t),()=>e)}),o&&On(o,n)}else On(t,n);return e}var fr=(e,t,n,r,o=[],a=[],i=new Map)=>{const l=Vn(e);if(!l){!function(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}(e,o,t);const n=i.get(e);if(n)return r?{transformedValue:null}:n}if(!((e,t)=>jn(e)||Fn(e)||qn(e)||Un(e)||er(e,t))(e,n)){const t=or(e,n),r=t?{transformedValue:t.value,annotations:[t.type]}:{transformedValue:e};return l||i.set(e,r),r}if(Nn(a,e))return{transformedValue:null};const s=or(e,n),u=s?.value??e,c=Fn(u)?[]:{},d={};On(u,(l,s)=>{if("__proto__"===s||"constructor"===s||"prototype"===s)throw new Error(`Detected property ${s}. This is a prototype pollution risk, please remove it from your object.`);const u=fr(l,t,n,r,[...o,s],[...a,e],i);c[s]=u.transformedValue,Fn(u.annotations)?d[s]=u.annotations:jn(u.annotations)&&On(u.annotations,(e,t)=>{d[Wn(s)+"."+t]=e})});const f=Mn(d)?{transformedValue:c,annotations:s?[s.type]:void 0}:{transformedValue:c,annotations:s?[s.type,d]:d};return l||i.set(e,f),f};function pr(e){return Object.prototype.toString.call(e).slice(8,-1)}function hr(e){return"Array"===pr(e)}function mr(e,t={}){if(hr(e))return e.map(e=>mr(e,t));if(!function(e){if("Object"!==pr(e))return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(e))return e;return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce((n,r)=>{if(hr(t.props)&&!t.props.includes(r))return n;return function(e,t,n,r,o){const a={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";"enumerable"===a&&(e[t]=n),o&&"nonenumerable"===a&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}(n,r,mr(e[r],t),e,t.nonenumerable),n},{})}var gr=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Rn,this.symbolRegistry=new _n(e=>e.description??""),this.customTransformerRegistry=new zn,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=fr(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=function(e,t){const n={};let r;return e.forEach(e=>{if(e.length<=1)return;t||(e=e.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));const[o,...a]=e;0===o.length?r=a.map(Gn):n[Gn(o)]=a.map(Gn)}),r?Mn(n)?[r]:[r,n]:Mn(n)?void 0:n}(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=mr(t);return n?.values&&(r=cr(r,n.values,this)),n?.referentialEqualities&&(r=dr(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};gr.defaultInstance=new gr,gr.serialize=gr.defaultInstance.serialize.bind(gr.defaultInstance),gr.deserialize=gr.defaultInstance.deserialize.bind(gr.defaultInstance),gr.stringify=gr.defaultInstance.stringify.bind(gr.defaultInstance),gr.parse=gr.defaultInstance.parse.bind(gr.defaultInstance),gr.registerClass=gr.defaultInstance.registerClass.bind(gr.defaultInstance),gr.registerSymbol=gr.defaultInstance.registerSymbol.bind(gr.defaultInstance),gr.registerCustom=gr.defaultInstance.registerCustom.bind(gr.defaultInstance),gr.allowErrorProps=gr.defaultInstance.allowErrorProps.bind(gr.defaultInstance);var yr=gr.serialize,br=gr.stringify;function vr(e){return"fetching"===e.state.fetchStatus?"fetching":e.getObserversCount()?"paused"===e.state.fetchStatus?"paused":e.isStale()?"stale":"fresh":"inactive"}function wr(e,t){return`${e}${t.charAt(0).toUpperCase()+t.slice(1)}`}function kr({queryState:e,observerCount:t,isStale:n}){return"fetching"===e.fetchStatus?"blue":t?"paused"===e.fetchStatus?"purple":n?"yellow":"green":"gray"}function Sr({status:e,isPaused:t}){return t?"purple":"error"===e?"red":"pending"===e?"yellow":"success"===e?"green":"gray"}function xr(e){return"fresh"===e?"green":"stale"===e?"yellow":"paused"===e?"purple":"inactive"===e?"gray":"blue"}var Cr=(e,t=!1)=>{const{json:n}=yr(e);return JSON.stringify(n,null,t?2:void 0)},Ar=e=>"idle"!==e.state.fetchStatus?0:e.getObserversCount()?e.isStale()?2:1:3,Er=(e,t)=>e.state.dataUpdatedAt<t.state.dataUpdatedAt?1:-1,Ir={status:(e,t)=>Ar(e)===Ar(t)?Er(e,t):Ar(e)>Ar(t)?1:-1,"query hash":(e,t)=>e.queryHash.localeCompare(t.queryHash),"last updated":Er},Tr=e=>e.state.isPaused?0:"error"===e.state.status?2:"pending"===e.state.status?1:3,_r=(e,t)=>e.state.submittedAt<t.state.submittedAt?1:-1,Rr={status:(e,t)=>Tr(e)===Tr(t)?_r(e,t):Tr(e)>Tr(t)?1:-1,"last updated":_r},Pr=e=>e*parseFloat(getComputedStyle(document.documentElement).fontSize),Or=()=>{const[e,t]=Xe("dark");return st(()=>{const e=window.matchMedia("(prefers-color-scheme: dark)");t(e.matches?"dark":"light");const n=e=>{t(e.matches?"dark":"light")};e.addEventListener("change",n),ut(()=>e.removeEventListener("change",n))}),e},Nr=(e,t,n)=>{if(0===t.length)return n;if(e instanceof Map){const r=new Map(e);if(1===t.length)return r.set(t[0],n),r;const[o,...a]=t;return r.set(o,Nr(r.get(o),a,n)),r}if(e instanceof Set){const r=Nr(Array.from(e),t,n);return new Set(r)}if(Array.isArray(e)){const r=[...e];if(1===t.length)return r[t[0]]=n,r;const[o,...a]=t;return r[o]=Nr(r[o],a,n),r}if(e instanceof Object){const r={...e};if(1===t.length)return r[t[0]]=n,r;const[o,...a]=t;return r[o]=Nr(r[o],a,n),r}return e},Lr=(e,t)=>{if(e instanceof Map){const n=new Map(e);if(1===t.length)return n.delete(t[0]),n;const[r,...o]=t;return n.set(r,Lr(n.get(r),o)),n}if(e instanceof Set){const n=Lr(Array.from(e),t);return new Set(n)}if(Array.isArray(e)){const n=[...e];if(1===t.length)return n.filter((e,n)=>n.toString()!==t[0]);const[r,...o]=t;return n[r]=Lr(n[r],o),n}if(e instanceof Object){const n={...e};if(1===t.length)return delete n[t[0]],n;const[r,...o]=t;return n[r]=Lr(n[r],o),n}return e},zr=class{#e;#t;#n;#r;#o=!1;#a;#i;#l;#s;#u;#c;#d;#f;#p;constructor(e){const{client:t,queryFlavor:n,version:r,onlineManager:o,buttonPosition:a,position:i,initialIsOpen:l,errorTypes:s,styleNonce:u,shadowDOMTarget:c,hideDisabledQueries:d}=e;this.#e=Xe(t),this.#n=n,this.#r=r,this.#t=o,this.#a=u,this.#i=c,this.#l=Xe(a),this.#s=Xe(i),this.#u=Xe(l),this.#c=Xe(s),this.#d=Xe(d)}setButtonPosition(e){this.#l[1](e)}setPosition(e){this.#s[1](e)}setInitialIsOpen(e){this.#u[1](e)}setErrorTypes(e){this.#c[1](e)}setClient(e){this.#e[1](e)}mount(e){if(this.#o)throw new Error("Devtools is already mounted");const t=function(e,t,n,r={}){let o;return Je(r=>{o=r,t===document?e():mn(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{o(),t.textContent=""}}(()=>{const e=this,[t]=this.#l,[n]=this.#s,[r]=this.#u,[o]=this.#c,[a]=this.#d,[i]=this.#e;let l;return this.#f?l=this.#f:(l=function(e){let t,n;const r=r=>{const o=Le.context;if(o){const[r,a]=Xe();Le.count||(Le.count=0),Le.count++,(n||(n=e())).then(e=>{!Le.done&&De(o),Le.count--,a(()=>e.default),De()}),t=r}else if(!t){const[r]=ot(()=>(n||(n=e())).then(e=>e.default));t=r}let a;return rt(()=>(a=t())?it(()=>{if(!o||Le.done)return a(r);const e=Le.context;De(o);const t=a(r);return De(e),t}):"")};return r.preload=()=>n||((n=e()).then(e=>t=()=>e.default),n),r}(()=>import("./NCMVHL6D-BwoIucZN.js")),this.#f=l),((e,t)=>{if(!e||document.querySelector("#_goober")||t?.querySelector("#_goober"))return;const n=document.createElement("style"),r=document.createTextNode("");n.appendChild(r),n.id="_goober",n.setAttribute("nonce",e),t?t.appendChild(n):document.head.appendChild(n)})(this.#a,this.#i),Dt(l,Ut({get queryFlavor(){return e.#n},get version(){return e.#r},get onlineManager(){return e.#t},get shadowDOMTarget(){return e.#i}},{get client(){return i()},get buttonPosition(){return t()},get position(){return n()},get initialIsOpen(){return r()},get errorTypes(){return o()},get hideDisabledQueries(){return a()}}))},e);this.#o=!0,this.#p=t}unmount(){if(!this.#o)throw new Error("Devtools is not mounted");this.#p?.(),this.#o=!1}};var Dr="development"!=={}.NODE_ENV?function(){return null}:function(e){const t=Ee(e.client),n=Se.useRef(null),{buttonPosition:r,position:o,initialIsOpen:a,errorTypes:i,styleNonce:l,shadowDOMTarget:s,hideDisabledQueries:u}=e,[c]=Se.useState(new zr({client:t,queryFlavor:"React Query",version:"5",onlineManager:J,buttonPosition:r,position:o,initialIsOpen:a,errorTypes:i,styleNonce:l,shadowDOMTarget:s,hideDisabledQueries:u}));return Se.useEffect(()=>{c.setClient(t)},[t,c]),Se.useEffect(()=>{r&&c.setButtonPosition(r)},[r,c]),Se.useEffect(()=>{o&&c.setPosition(o)},[o,c]),Se.useEffect(()=>{c.setInitialIsOpen(a||!1)},[a,c]),Se.useEffect(()=>{c.setErrorTypes(i||[])},[i,c]),Se.useEffect(()=>(n.current&&c.mount(n.current),()=>{c.unmount()}),[c]),w.jsx("div",{dir:"ltr",className:"tsqd-parent-container",ref:n})};class jr extends Error{response;request;options;constructor(e,t,n){const r=`${e.status||0===e.status?e.status:""} ${e.statusText??""}`.trim();super(`Request failed with ${r?`status code ${r}`:"an unknown error"}: ${t.method} ${t.url}`),this.name="HTTPError",this.response=e,this.request=t,this.options=n}}class Mr extends Error{name="NonError";value;constructor(e){let t="Non-error value was thrown";try{"string"==typeof e?t=e:e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message&&(t=e.message)}catch{}super(t),this.value=e}}const Fr=(()=>{let e=!1,t=!1;const n="function"==typeof globalThis.ReadableStream,r="function"==typeof globalThis.Request;if(n&&r)try{t=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type")}catch(e){if(e instanceof Error&&"unsupported BodyInit type"===e.message)return!1;throw e}return e&&!t})(),qr="function"==typeof globalThis.AbortController,Ur="function"==typeof globalThis.AbortSignal&&"function"==typeof globalThis.AbortSignal.any,Hr="function"==typeof globalThis.ReadableStream,Br="function"==typeof globalThis.FormData,Vr=["get","post","put","patch","head","delete"],Wr={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},Gr=2147483647,Qr=(new TextEncoder).encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,Yr=Symbol("stop"),$r={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},Zr={next:!0},Kr={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0},Jr=(e,t,n)=>{let r,o=0;return e.pipeThrough(new TransformStream({transform(e,a){if(a.enqueue(e),r){o+=r.byteLength;let e=0===t?0:o/t;e>=1&&(e=1-Number.EPSILON),n?.({percent:e,totalBytes:Math.max(t,o),transferredBytes:o},r)}r=e},flush(){r&&(o+=r.byteLength,n?.({percent:1,totalBytes:Math.max(t,o),transferredBytes:o},r))}}))},Xr=(e,t,n)=>{if(!e.body)return e;const r=(e=>{if(!e)return 0;if(e instanceof FormData){let t=0;for(const[n,r]of e)t+=Qr,t+=(new TextEncoder).encode(`Content-Disposition: form-data; name="${n}"`).length,t+="string"==typeof r?(new TextEncoder).encode(r).length:r.size;return t}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength;if("string"==typeof e)return(new TextEncoder).encode(e).length;if(e instanceof URLSearchParams)return(new TextEncoder).encode(e.toString()).length;if("byteLength"in e)return e.byteLength;if("object"==typeof e&&null!==e)try{const t=JSON.stringify(e);return(new TextEncoder).encode(t).length}catch{return 0}return 0})(n??e.body);return new Request(e,{duplex:"half",body:Jr(e.body,r,t)})},eo=e=>null!==e&&"object"==typeof e,to=(...e)=>{for(const t of e)if((!eo(t)||Array.isArray(t))&&void 0!==t)throw new TypeError("The `options` argument must be an object");return io({},...e)},no=(e={},t={})=>{const n=new globalThis.Headers(e),r=t instanceof globalThis.Headers,o=new globalThis.Headers(t);for(const[e,t]of o.entries())r&&"undefined"===t||void 0===t?n.delete(e):n.set(e,t);return n};function ro(e,t,n){return Object.hasOwn(t,n)&&void 0===t[n]?[]:io(e[n]??[],t[n]??[])}const oo=(e={},t={})=>({beforeRequest:ro(e,t,"beforeRequest"),beforeRetry:ro(e,t,"beforeRetry"),afterResponse:ro(e,t,"afterResponse"),beforeError:ro(e,t,"beforeError")}),ao=(e,t)=>{const n=new URLSearchParams;for(const r of[e,t])if(void 0!==r)if(r instanceof URLSearchParams)for(const[e,t]of r.entries())n.append(e,t);else if(Array.isArray(r))for(const e of r){if(!Array.isArray(e)||2!==e.length)throw new TypeError("Array search parameters must be provided in [[key, value], ...] format");n.append(String(e[0]),String(e[1]))}else if(eo(r))for(const[e,t]of Object.entries(r))void 0!==t&&n.append(e,String(t));else{const e=new URLSearchParams(r);for(const[t,r]of e.entries())n.append(t,r)}return n},io=(...e)=>{let t,n={},r={},o={};const a=[];for(const i of e)if(Array.isArray(i))Array.isArray(n)||(n=[]),n=[...n,...i];else if(eo(i)){for(let[e,r]of Object.entries(i))if("signal"===e&&r instanceof globalThis.AbortSignal)a.push(r);else if("context"!==e)"searchParams"!==e?(eo(r)&&e in n&&(r=io(n[e],r)),n={...n,[e]:r}):t=null==r?void 0:void 0===t?r:ao(t,r);else{if(null!=r&&(!eo(r)||Array.isArray(r)))throw new TypeError("The `context` option must be an object");n={...n,context:null==r?{}:{...n.context,...r}}}eo(i.hooks)&&(o=oo(o,i.hooks),n.hooks=o),eo(i.headers)&&(r=no(r,i.headers),n.headers=r)}return void 0!==t&&(n.searchParams=t),a.length>0&&(1===a.length?n.signal=a[0]:n.signal=Ur?AbortSignal.any(a):a.at(-1)),void 0===n.context&&(n.context={}),n},lo={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:[413,429,503],maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:e=>.3*2**(e-1)*1e3,jitter:void 0,retryOnTimeout:!1},so=(e={})=>{if("number"==typeof e)return{...lo,limit:e};if(e.methods&&!Array.isArray(e.methods))throw new Error("retry.methods must be an array");if(e.statusCodes&&!Array.isArray(e.statusCodes))throw new Error("retry.statusCodes must be an array");return{...lo,...e}};class uo extends Error{request;constructor(e){super(`Request timed out: ${e.method} ${e.url}`),this.name="TimeoutError",this.request=e}}class co{static create(e,t){const n=new co(e,t),r=async()=>{if("number"==typeof n.#o.timeout&&n.#o.timeout>Gr)throw new RangeError(`The \`timeout\` option cannot be greater than ${Gr}`);await Promise.resolve();let e=await n.#f();for(const t of n.#o.hooks.afterResponse){const r=await t(n.request,n.#p(),n.#c(e.clone()),{retryCount:n.#n});r instanceof globalThis.Response&&(e=r)}if(n.#c(e),!e.ok&&n.#o.throwHttpErrors){let t=new jr(e,n.request,n.#p());for(const e of n.#o.hooks.beforeError)t=await e(t,{retryCount:n.#n});throw t}if(n.#o.onDownloadProgress){if("function"!=typeof n.#o.onDownloadProgress)throw new TypeError("The `onDownloadProgress` option must be a function");if(!Hr)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return((e,t)=>{if(!e.body)return e;if(204===e.status)return new Response(null,{status:e.status,statusText:e.statusText,headers:e.headers});const n=Math.max(0,Number(e.headers.get("content-length"))||0);return new Response(Jr(e.body,n,t),{status:e.status,statusText:e.statusText,headers:e.headers})})(e.clone(),n.#o.onDownloadProgress)}return e},o=(n.#o.retry.methods.includes(n.request.method.toLowerCase())?n.#d(r):r()).finally(async()=>{const e=n.#a,t=[];e&&!e.bodyUsed&&t.push(e.body?.cancel()),n.request.bodyUsed||t.push(n.request.body?.cancel()),await Promise.all(t)});for(const[e,r]of Object.entries(Wr))"bytes"===e&&"function"!=typeof globalThis.Response?.prototype?.bytes||(o[e]=async()=>{n.request.headers.set("accept",n.request.headers.get("accept")||r);const a=await o;if("json"===e){if(204===a.status)return"";const e=await a.text();return""===e?"":t.parseJson?t.parseJson(e):JSON.parse(e)}return a[e]()});return o}static#e(e){return!e||"object"!=typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e))}request;#t;#n=0;#r;#o;#a;#i;#l;constructor(e,t={}){if(this.#r=e,this.#o={...t,headers:no(this.#r.headers,t.headers),hooks:oo({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},t.hooks),method:(n=t.method??this.#r.method??"GET",Vr.includes(n)?n.toUpperCase():n),prefixUrl:String(t.prefixUrl||""),retry:so(t.retry),throwHttpErrors:!1!==t.throwHttpErrors,timeout:t.timeout??1e4,fetch:t.fetch??globalThis.fetch.bind(globalThis),context:t.context??{}},"string"!=typeof this.#r&&!(this.#r instanceof URL||this.#r instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");var n;if(this.#o.prefixUrl&&"string"==typeof this.#r){if(this.#r.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this.#o.prefixUrl.endsWith("/")||(this.#o.prefixUrl+="/"),this.#r=this.#o.prefixUrl+this.#r}qr&&Ur&&(this.#i=this.#o.signal??this.#r.signal,this.#t=new globalThis.AbortController,this.#o.signal=this.#i?AbortSignal.any([this.#i,this.#t.signal]):this.#t.signal),Fr&&(this.#o.duplex="half"),void 0!==this.#o.json&&(this.#o.body=this.#o.stringifyJson?.(this.#o.json)??JSON.stringify(this.#o.json),this.#o.headers.set("content-type",this.#o.headers.get("content-type")??"application/json"));const r=t.headers&&new globalThis.Headers(t.headers).has("content-type");if(this.#r instanceof globalThis.Request&&(Br&&this.#o.body instanceof globalThis.FormData||this.#o.body instanceof URLSearchParams)&&!r&&this.#o.headers.delete("content-type"),this.request=new globalThis.Request(this.#r,this.#o),(e=>void 0!==e&&(Array.isArray(e)?e.length>0:e instanceof URLSearchParams?e.size>0:"object"==typeof e?Object.keys(e).length>0:"string"==typeof e?e.trim().length>0:!!e))(this.#o.searchParams)){const e="?"+("string"==typeof this.#o.searchParams?this.#o.searchParams.replace(/^\?/,""):new URLSearchParams(co.#e(this.#o.searchParams)).toString()),t=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,e);this.request=new globalThis.Request(new globalThis.Request(t,{...this.request}),this.#o)}if(this.#o.onUploadProgress){if("function"!=typeof this.#o.onUploadProgress)throw new TypeError("The `onUploadProgress` option must be a function");if(!Fr)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request.body&&(this.request=Xr(this.request,this.#o.onUploadProgress,this.#o.body))}}#s(){const e=this.#o.retry.delay(this.#n);let t=e;return!0===this.#o.retry.jitter?t=Math.random()*e:"function"==typeof this.#o.retry.jitter&&(t=this.#o.retry.jitter(e),(!Number.isFinite(t)||t<0)&&(t=e)),Math.min(this.#o.retry.backoffLimit,t)}async#u(e){if(this.#n++,this.#n>this.#o.retry.limit)throw e;const t=e instanceof Error?e:new Mr(e);if(void 0!==this.#o.retry.shouldRetry){const n=await this.#o.retry.shouldRetry({error:t,retryCount:this.#n});if(!1===n)throw e;if(!0===n)return this.#s()}if(((n=e)instanceof uo||n?.name===uo.name)&&!this.#o.retry.retryOnTimeout)throw e;var n;if(function(e){return e instanceof jr||e?.name===jr.name}(e)){if(!this.#o.retry.statusCodes.includes(e.response.status))throw e;const t=e.response.headers.get("Retry-After")??e.response.headers.get("RateLimit-Reset")??e.response.headers.get("X-RateLimit-Retry-After")??e.response.headers.get("X-RateLimit-Reset")??e.response.headers.get("X-Rate-Limit-Reset");if(t&&this.#o.retry.afterStatusCodes.includes(e.response.status)){let e=1e3*Number(t);Number.isNaN(e)?e=Date.parse(t)-Date.now():e>=Date.parse("2024-01-01")&&(e-=Date.now());const n=this.#o.retry.maxRetryAfter??e;return e<n?e:n}if(413===e.response.status)throw e}return this.#s()}#c(e){return this.#o.parseJson&&(e.json=async()=>this.#o.parseJson(await e.text())),e}async#d(e){try{return await e()}catch(t){const n=Math.min(await this.#u(t),Gr);if(this.#n<1)throw t;await async function(e,{signal:t}){return new Promise((n,r)=>{function o(){clearTimeout(a),r(t.reason)}t&&(t.throwIfAborted(),t.addEventListener("abort",o,{once:!0}));const a=setTimeout(()=>{t?.removeEventListener("abort",o),n()},e)})}(n,this.#i?{signal:this.#i}:{});for(const e of this.#o.hooks.beforeRetry){const n=await e({request:this.request,options:this.#p(),error:t,retryCount:this.#n});if(n instanceof globalThis.Request){this.request=n;break}if(n instanceof globalThis.Response)return n;if(n===Yr)return}return this.#d(e)}}async#f(){this.#t?.signal.aborted&&(this.#t=new globalThis.AbortController,this.#o.signal=this.#i?AbortSignal.any([this.#i,this.#t.signal]):this.#t.signal,this.request=new globalThis.Request(this.request,{signal:this.#o.signal}));for(const e of this.#o.hooks.beforeRequest){const t=await e(this.request,this.#p(),{retryCount:this.#n});if(t instanceof Request){this.request=t;break}if(t instanceof Response)return t}const e=((e,t)=>{const n={};for(const r in t)Object.hasOwn(t,r)&&!(r in Kr)&&!(r in $r)&&(!(r in e)||r in Zr)&&(n[r]=t[r]);return n})(this.request,this.#o);return this.#a=this.request,this.request=this.#a.clone(),!1===this.#o.timeout?this.#o.fetch(this.#a,e):async function(e,t,n,r){return new Promise((o,a)=>{const i=setTimeout(()=>{n&&n.abort(),a(new uo(e))},r.timeout);r.fetch(e,t).then(o).catch(a).then(()=>{clearTimeout(i)})})}(this.#a,e,this.#t,this.#o)}#p(){if(!this.#l){const{hooks:e,...t}=this.#o;this.#l=Object.freeze(t)}return this.#l}}
|
|
40
|
-
/*! MIT License © Sindre Sorhus */const fo=e=>{const t=(t,n)=>co.create(t,to(e,n));for(const n of Vr)t[n]=(t,r)=>co.create(t,to(e,r,{method:n}));return t.create=e=>fo(to(e)),t.extend=t=>("function"==typeof t&&(t=t(e??{})),fo(to(e,t))),t.stop=Yr,t},po=fo(),ho={PUBLIC_EVENTS:"/",FOLDER_EVENTS:e=>`/${e}`,LOGIN:"/auth/login",REGISTER:"/auth/register",FORGOT_PASSWORD:"/auth/forgot-password",RESET_PASSWORD:"/auth/reset-password",VERIFY_EMAIL:"/auth/verify-email",GALLERY:e=>`/event/${e}`,UPLOAD:e=>`/event/${e}/upload`,CURATE:e=>`/event/${e}/curate`,LEADERBOARD:e=>`/event/${e}/leaderboard`},mo={ORGANIZATION_SETTINGS:e=>`https://qrati.com/org/${e}/settings`,ORGANIZATION_SETTINGS_INTEGRATION:e=>`https://qrati.com/org/${e}/settings/integration`,ORGANIZATION_DASHBOARD:e=>`https://qrati.com/org/${e}/dashboard`,ORGANIZATION_ADMINS:e=>`https://qrati.com/org/${e}/admins`,EVENT_SETTINGS_BASIC_DETAILS:e=>`https://qrati.com/event/${e}/settings`,EVENT_REVIEW_CONTENTS:e=>`https://qrati.com/event/${e}/review-contents`,EVENT_DEEP_SEARCH:e=>`https://qrati.com/event/${e}/deep-search`,EVENT_GENERATE_ARTICLE:e=>`https://qrati.com/event/${e}/generate-article`,EVENT_ACCESS_REQUESTS:e=>`https://qrati.com/event/${e}/access-requests`,EVENT_SHOT_INSPECTOR:e=>`https://qrati.com/event/${e}/shot-inspector`,EVENT_CURATION_DETAILS:e=>`https://qrati.com/event/${e}/curation-details`},go={PRIVATE:"PRIVATE"},yo="https://qrati.com/api/connect",bo={INITIALIZE_SESSION:`${yo}/session/initialize`,REGISTER:`${yo}/auth/register`,LOGIN:`${yo}/auth/login`,LOGOUT:`${yo}/auth/logout`,UPDATE_SESSION:`${yo}/session/update`,EXTERNAL_LOGIN:`${yo}/auth/external-login`,PUBLIC_EVENTS:`${yo}/event/public-events`,FOLDER_DETAILS:`${yo}/folder/details`,NESTED_FOLDERS:`${yo}/folder/nested-folders`,GET_EVENT_POINTS:`${yo}/event/points`,ELIGIBLE_TO_CURATE:`${yo}/content/curation-eligibility`,CONTENT_FOR_CURATION:`${yo}/content/for-curation`,CURATE_CONTENT:`${yo}/content/curate`,GET_LEADERBOARD:`${yo}/event/leaderboard`,GET_UPLOAD_COUNT:`${yo}/event/upload-count`,SINGLE_UPLOAD:`${yo}/content/single-upload`,UPDATE_REACTION:`${yo}/content/update-reaction`,EVENT_DATA:`${yo}/event/details-with-ads-parameters`,UPDATE_EVENT_LAYOUT:`${yo}/event/update-layout`,GET_EVENT_STATISTICS:`${yo}/event/statistics`,GET_CONTENTS:`${yo}/content/for-gallery`,GET_CONTENTS_COUNT:`${yo}/content/count`,UPDATE_AD_ANALYTICS:`${yo}/event/update-ad-analytics`,INCREMENT_EVENT_VIEW:`${yo}/event/increment-view`,SEND_PASSWORD_RESET_CODE:`${yo}/auth/send-password-reset-code`,VERIFY_PASSWORD_RESET_CODE:`${yo}/auth/verify-password-reset-code`,RESET_PASSWORD:`${yo}/auth/reset-password`,REPORT_ERROR:`${yo}/session/report-error`},vo={OWNER:"owner",ADMIN:"admin",MODERATOR:"moderator"},wo={IMAGE:"IMAGE",VIDEO:"VIDEO",AD:"AD"},ko={ROW:"ROW",COLUMN:"COLUMN",MASONRY:"MASONRY"},So={IN_REVIEW:"IN_REVIEW",APPROVED:"APPROVED",REJECTED:"REJECTED"},xo={WAITING:"Waiting",UPLOADING:"Uploading",DONE:"Done",ERROR:"Error"},Co={CLOSED:"CLOSED",OPEN:"OPEN",UPCOMING:"UPCOMING"},Ao={WAITING:"Waiting",PROCESSING:"Processing",DONE:"Done"},Eo={TEXT:"text",IMAGE:"image",LOTTIE:"lottie"},Io={CONTEST:"CONTEST",REACTION:"REACTION"},To=3,_o={GRID:"grid",SINGLE:"single"},Ro={POPULAR:"popular",UPLOAD_TIME:"upload",CAPTURE_TIME:"capture"},Po={[Ro.POPULAR]:{label:"Popular",sortField:"score"},[Ro.UPLOAD_TIME]:{label:"Uploaded",sortField:"createdAt"},[Ro.CAPTURE_TIME]:{label:"Captured",sortField:"capturedAt"}},Oo=Ro.UPLOAD_TIME,No={ASC:"asc",DESC:"desc"},Lo={[No.ASC]:{label:"Ascending",sortOrder:""},[No.DESC]:{label:"Descending",sortOrder:"-"}},zo=No.DESC,Do={OWN:"own",CURATED:"curated",ELIGIBLE:"eligible"},jo={NONE:null,LINK:"LINK",EMAIL:"EMAIL",PHONE:"PHONE",SMS:"SMS",WHATSAPP:"WHATSAPP",MESSENGER:"MESSENGER"},Mo={[jo.LINK]:"material-symbols:open-in-new-rounded",[jo.EMAIL]:"material-symbols:alternate-email-rounded",[jo.PHONE]:"material-symbols:call-outline",[jo.SMS]:"material-symbols:sms-outline-rounded",[jo.WHATSAPP]:"logos:whatsapp-icon",[jo.MESSENGER]:"logos:messenger"},Fo={AD_IMPRESSION:"impression",AD_ENGAGEMENT:"engagement",AD_CLICK:"click"},qo={EVENT_IN_REVIEW_COUNT:e=>`in-review-count-${e}`,CONTENTS_BY_EVENT:e=>`contents-by-event-${e}`},Uo=e=>({google:"Google",apple:"Apple"}[e]||e.charAt(0).toUpperCase()+e.slice(1));function Ho(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ho(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Bo(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ho(e))&&(r&&(r+=" "),r+=t);return r}const Vo=e=>{const t=Yo(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Wo(n,t)||Qo(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},Wo=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Wo(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},Go=/^\[(.+)\]$/,Qo=e=>{if(Go.test(e)){const t=Go.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Yo=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)$o(n[e],r,e,t);return r},$o=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:Zo(t,e)).classGroupId=n)}if("function"==typeof e)return Ko(e)?void $o(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{$o(o,Zo(t,e),n,r)})})},Zo=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},Ko=e=>e.isThemeGetter,Jo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},Xo=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,a=0;for(let i=0;i<e.length;i++){let l=e[i];if(0===r&&0===o){if(":"===l){t.push(e.slice(a,i)),a=i+1;continue}if("/"===l){n=i;continue}}"["===l?r++:"]"===l?r--:"("===l?o++:")"===l&&o--}const i=0===t.length?e:e.substring(a),l=ea(i);return{modifiers:t,hasImportantModifier:l!==i,baseClassName:l,maybePostfixModifierPosition:n&&n>a?n-a:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},ea=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,ta=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},na=/\s+/;function ra(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=oa(e))&&(r&&(r+=" "),r+=t);return r}const oa=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=oa(e[r]))&&(n&&(n+=" "),n+=t);return n};function aa(e,...t){let n,r,o,a=function(l){const s=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Jo(e.cacheSize),parseClassName:Xo(e),sortModifiers:ta(e),...Vo(e)}))(s),r=n.cache.get,o=n.cache.set,a=i,i(l)};function i(e){const t=r(e);if(t)return t;const a=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],l=e.trim().split(na);let s="";for(let e=l.length-1;e>=0;e-=1){const t=l[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(u){s=t+(s.length>0?" "+s:s);continue}let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){s=t+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=t+(s.length>0?" "+s:s);continue}h=!1}const g=a(c).join(":"),y=d?g+"!":g,b=y+m;if(i.includes(b))continue;i.push(b);const v=o(m,h);for(let e=0;e<v.length;++e){const t=v[e];i.push(y+t)}s=t+(s.length>0?" "+s:s)}return s})(e,n);return o(e,a),a}return function(){return a(ra.apply(null,arguments))}}const ia=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},la=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sa=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ua=/^\d+\/\d+$/,ca=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,da=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ha=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ma=e=>ua.test(e),ga=e=>!!e&&!Number.isNaN(Number(e)),ya=e=>!!e&&Number.isInteger(Number(e)),ba=e=>e.endsWith("%")&&ga(e.slice(0,-1)),va=e=>ca.test(e),wa=()=>!0,ka=e=>da.test(e)&&!fa.test(e),Sa=()=>!1,xa=e=>pa.test(e),Ca=e=>ha.test(e),Aa=e=>!Ia(e)&&!Na(e),Ea=e=>qa(e,Va,Sa),Ia=e=>la.test(e),Ta=e=>qa(e,Wa,ka),_a=e=>qa(e,Ga,ga),Ra=e=>qa(e,Ha,Sa),Pa=e=>qa(e,Ba,Ca),Oa=e=>qa(e,Ya,xa),Na=e=>sa.test(e),La=e=>Ua(e,Wa),za=e=>Ua(e,Qa),Da=e=>Ua(e,Ha),ja=e=>Ua(e,Va),Ma=e=>Ua(e,Ba),Fa=e=>Ua(e,Ya,!0),qa=(e,t,n)=>{const r=la.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ua=(e,t,n=!1)=>{const r=sa.exec(e);return!!r&&(r[1]?t(r[1]):n)},Ha=e=>"position"===e||"percentage"===e,Ba=e=>"image"===e||"url"===e,Va=e=>"length"===e||"size"===e||"bg-size"===e,Wa=e=>"length"===e,Ga=e=>"number"===e,Qa=e=>"family-name"===e,Ya=e=>"shadow"===e,$a=()=>{const e=ia("color"),t=ia("font"),n=ia("text"),r=ia("font-weight"),o=ia("tracking"),a=ia("leading"),i=ia("breakpoint"),l=ia("container"),s=ia("spacing"),u=ia("radius"),c=ia("shadow"),d=ia("inset-shadow"),f=ia("text-shadow"),p=ia("drop-shadow"),h=ia("blur"),m=ia("perspective"),g=ia("aspect"),y=ia("ease"),b=ia("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Na,Ia],w=()=>[Na,Ia,s],k=()=>[ma,"full","auto",...w()],S=()=>[ya,"none","subgrid",Na,Ia],x=()=>["auto",{span:["full",ya,Na,Ia]},ya,Na,Ia],C=()=>[ya,"auto",Na,Ia],A=()=>["auto","min","max","fr",Na,Ia],E=()=>["auto",...w()],I=()=>[ma,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],T=()=>[e,Na,Ia],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Da,Ra,{position:[Na,Ia]}],R=()=>["auto","cover","contain",ja,Ea,{size:[Na,Ia]}],P=()=>[ba,La,Ta],O=()=>["","none","full",u,Na,Ia],N=()=>["",ga,La,Ta],L=()=>[ga,ba,Da,Ra],z=()=>["","none",h,Na,Ia],D=()=>["none",ga,Na,Ia],j=()=>["none",ga,Na,Ia],M=()=>[ga,Na,Ia],F=()=>[ma,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[va],breakpoint:[va],color:[wa],container:[va],"drop-shadow":[va],ease:["in","out","in-out"],font:[Aa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[va],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[va],shadow:[va],spacing:["px",ga],text:[va],"text-shadow":[va],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ma,Ia,Na,g]}],container:["container"],columns:[{columns:[ga,Ia,Na,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[ya,"auto",Na,Ia]}],basis:[{basis:[ma,"full","auto",l,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ga,ma,"auto","initial","none",Ia]}],grow:[{grow:["",ga,Na,Ia]}],shrink:[{shrink:["",ga,Na,Ia]}],order:[{order:[ya,"first","last","none",Na,Ia]}],"grid-cols":[{"grid-cols":S()}],"col-start-end":[{col:x()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":S()}],"row-start-end":[{row:x()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[l,"screen",...I()]}],"min-w":[{"min-w":[l,"screen","none",...I()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",n,La,Ta]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Na,_a]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ba,Ia]}],"font-family":[{font:[za,Ia,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Na,Ia]}],"line-clamp":[{"line-clamp":[ga,"none",Na,_a]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":["none",Na,Ia]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Na,Ia]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[ga,"from-font","auto",Na,Ta]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[ga,"auto",Na,Ia]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Na,Ia]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Na,Ia]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:_()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ya,Na,Ia],radial:["",Na,Ia],conic:[ya,Na,Ia]},Ma,Pa]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[ga,Na,Ia]}],"outline-w":[{outline:["",ga,La,Ta]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",c,Fa,Oa]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,Fa,Oa]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[ga,Ta]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",f,Fa,Oa]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[ga,Na,Ia]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ga]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[Na,Ia]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[ga]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:_()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Na,Ia]}],filter:[{filter:["","none",Na,Ia]}],blur:[{blur:z()}],brightness:[{brightness:[ga,Na,Ia]}],contrast:[{contrast:[ga,Na,Ia]}],"drop-shadow":[{"drop-shadow":["","none",p,Fa,Oa]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",ga,Na,Ia]}],"hue-rotate":[{"hue-rotate":[ga,Na,Ia]}],invert:[{invert:["",ga,Na,Ia]}],saturate:[{saturate:[ga,Na,Ia]}],sepia:[{sepia:["",ga,Na,Ia]}],"backdrop-filter":[{"backdrop-filter":["","none",Na,Ia]}],"backdrop-blur":[{"backdrop-blur":z()}],"backdrop-brightness":[{"backdrop-brightness":[ga,Na,Ia]}],"backdrop-contrast":[{"backdrop-contrast":[ga,Na,Ia]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ga,Na,Ia]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ga,Na,Ia]}],"backdrop-invert":[{"backdrop-invert":["",ga,Na,Ia]}],"backdrop-opacity":[{"backdrop-opacity":[ga,Na,Ia]}],"backdrop-saturate":[{"backdrop-saturate":[ga,Na,Ia]}],"backdrop-sepia":[{"backdrop-sepia":["",ga,Na,Ia]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Na,Ia]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ga,"initial",Na,Ia]}],ease:[{ease:["linear","initial",y,Na,Ia]}],delay:[{delay:[ga,Na,Ia]}],animate:[{animate:["none",b,Na,Ia]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,Na,Ia]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:M()}],"skew-x":[{"skew-x":M()}],"skew-y":[{"skew-y":M()}],transform:[{transform:[Na,Ia,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Na,Ia]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Na,Ia]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[ga,La,Ta,_a]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Za=aa($a),Ka=(...e)=>Bo(Za(...e.filter(Boolean))),Ja=e=>{const t=e.replace(/#/g,"");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"},Xa="#ffffff",ei="#252629",ti="#888888",ni="#8e949a",ri="#e9ecef",oi="#e9ecef",ai="#ff4800",ii="#ffffff",li="#252629",si="#2563eb",ui="#f59e0b",ci="#10b981",di="#ef4444",fi="10",pi="px",hi="0",mi="0",gi="0",yi="0",bi="px",vi=e=>{const t=e?.themeSettings?.colors,n=e?.themeSettings?.border,r=e?.themeSettings?.shadow;return{"--qc-background":t?.backgroundLight||Xa,"--qc-foreground":t?.foregroundLight||ei,"--qc-muted":t?.mutedLight||ti,"--qc-muted-foreground":t?.mutedForegroundLight||ni,"--qc-border":t?.light||ri,"--qc-input":t?.inputLight||oi,"--qc-primary":t?.primaryLight||ai,"--qc-primary-foreground":Ja(t?.primaryLight||ai),"--qc-popover":t?.popoverLight||ii,"--qc-popover-foreground":t?.popoverForegroundLight||li,"--qc-info":t?.infoLight||si,"--qc-warning":t?.warningLight||ui,"--qc-success":t?.successLight||ci,"--qc-destructive":t?.destructiveLight||di,"--qc-radius":`${n?.radius||fi}${n?.unit||pi}`,"--shadow-outer-horizontal-offset":`${r?.outerHorizontalOffset||hi}${r?.unit||bi}`,"--shadow-outer-vertical-offset":`${r?.outerVerticalOffset||mi}${r?.unit||bi}`,"--shadow-outer-blur":`${r?.outerBlur||gi}${r?.unit||bi}`,"--shadow-outer-spread":`${r?.outerSpread||yi}${r?.unit||bi}`}},wi=async({hardwareOnly:e=!0,debug:t=!1}={})=>{const{cookieEnabled:n,deviceMemory:r,doNotTrack:o,hardwareConcurrency:a,language:i,languages:l,maxTouchPoints:s,platform:u,userAgent:c,vendor:d}=window.navigator,f=/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent),{width:p,height:h,colorDepth:m,pixelDepth:g}=f?window.screen:{},y=(new Date).getTimezoneOffset(),b=Intl.DateTimeFormat().resolvedOptions().timeZone,v="ontouchstart"in window,w=window.devicePixelRatio,k=ki(t),S=await Ai(t),x=Ci(),C=Si(t),A=xi(),E=e?{audioInfo:x,audio:S,canvas:k,colorDepth:m,deviceMemory:r,devicePixelRatio:w,hardwareConcurrency:a,height:h,maxTouchPoints:s,pixelDepth:g,platform:u,touchSupport:v,webgl:C,webglInfo:A,width:p}:{audioInfo:x,audio:S,canvas:k,colorDepth:m,cookieEnabled:n,deviceMemory:r,devicePixelRatio:w,doNotTrack:o,hardwareConcurrency:a,height:h,language:i,languages:l,maxTouchPoints:s,pixelDepth:g,platform:u,timezone:b,timezoneOffset:y,touchSupport:v,userAgent:c,vendor:d,webgl:C,webglInfo:A,width:p};t&&console.log("Fingerprint data:",JSON.stringify(E,null,2));const I=JSON.stringify(E,null,2);return Ti(I)},ki=e=>{try{const t=document.createElement("canvas"),n=t.getContext("2d"),r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~1!2@3#4$5%6^7&8*9(0)-_=+[{]}|;:',<.>/?";n.textBaseline="top",n.font="14px 'Arial'",n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.fillText(r,2,15),n.fillStyle="rgba(102, 204, 0, 0.7)",n.fillText(r,4,17);const o=t.toDataURL();return e?document.body.appendChild(t):n.clearRect(0,0,t.width,t.height),Ti(o)}catch{return null}},Si=e=>{try{const t=document.createElement("canvas"),n=t.getContext("webgl");t.width=256,t.height=128;const r="attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}",o="precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}",a=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,a);const i=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.7321,0]);n.bufferData(n.ARRAY_BUFFER,i,n.STATIC_DRAW),a.itemSize=3,a.numItems=3;const l=n.createProgram(),s=n.createShader(n.VERTEX_SHADER);n.shaderSource(s,r),n.compileShader(s);const u=n.createShader(n.FRAGMENT_SHADER);n.shaderSource(u,o),n.compileShader(u),n.attachShader(l,s),n.attachShader(l,u),n.linkProgram(l),n.useProgram(l),l.vertexPosAttrib=n.getAttribLocation(l,"attrVertex"),l.offsetUniform=n.getUniformLocation(l,"uniformOffset"),n.enableVertexAttribArray(l.vertexPosArray),n.vertexAttribPointer(l.vertexPosAttrib,a.itemSize,n.FLOAT,!1,0,0),n.uniform2f(l.offsetUniform,1,1),n.drawArrays(n.TRIANGLE_STRIP,0,a.numItems);const c=new Uint8Array(t.width*t.height*4);n.readPixels(0,0,t.width,t.height,n.RGBA,n.UNSIGNED_BYTE,c);const d=JSON.stringify(c).replace(/,?"[0-9]+":/g,"");return e?document.body.appendChild(t):n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT|n.STENCIL_BUFFER_BIT),Ti(d)}catch{return null}},xi=()=>{try{const e=document.createElement("canvas").getContext("webgl");return{VERSION:String(e.getParameter(e.VERSION)),SHADING_LANGUAGE_VERSION:String(e.getParameter(e.SHADING_LANGUAGE_VERSION)),VENDOR:String(e.getParameter(e.VENDOR)),SUPPORTED_EXTENSIONS:String(e.getSupportedExtensions())}}catch{return null}},Ci=()=>{try{const e=window.OfflineAudioContext||window.webkitOfflineAudioContext,t=new e(1,44100,44100);return{sampleRate:t.sampleRate,channelCount:t.destination.maxChannelCount,outputLatency:t.outputLatency,state:t.state,baseLatency:t.baseLatency}}catch{return null}},Ai=async e=>{try{const t=window.OfflineAudioContext||window.webkitOfflineAudioContext,n=new t(1,44100,44100),r=n.createOscillator();r.type="sine",r.frequency.value=440,r.connect(n.destination),r.start();const o=await n.startRendering(),a=o.getChannelData(0).reduce((e,t)=>e+Math.abs(t),0).toString();if(e){const e=Ei(o),t=URL.createObjectURL(e),n=document.createElement("audio");n.controls=!0,n.src=t,document.body.appendChild(n)}return Ti(a)}catch{return null}},Ei=e=>{const t=e.numberOfChannels,n=e.length*t*2+44,r=new ArrayBuffer(n),o=new DataView(r);Ii(o,0,"RIFF"),o.setUint32(4,n-8,!0),Ii(o,8,"WAVE"),Ii(o,12,"fmt "),o.setUint32(16,16,!0),o.setUint16(20,1,!0),o.setUint16(22,t,!0),o.setUint32(24,e.sampleRate,!0),o.setUint32(28,e.sampleRate*t*2,!0),o.setUint16(32,2*t,!0),o.setUint16(34,16,!0),Ii(o,36,"data"),o.setUint32(40,n-44,!0);let a=44;for(let n=0;n<e.length;n++)for(let r=0;r<t;r++){const t=e.getChannelData(r)[n],i=32767*Math.max(-1,Math.min(1,t));o.setInt16(a,i,!0),a+=2}return new Blob([o],{type:"audio/wav"})},Ii=(e,t,n)=>{for(let r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))},Ti=e=>{const t=3&e.length,n=e.length-t,r=3432918353,o=461845907;let a,i,l;for(let t=0;t<n;t++)l=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24,++t,l=(65535&l)*r+(((l>>>16)*r&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*o+(((l>>>16)*o&65535)<<16)&4294967295,a^=l,a=a<<13|a>>>19,i=5*(65535&a)+((5*(a>>>16)&65535)<<16)&4294967295,a=27492+(65535&i)+(((i>>>16)+58964&65535)<<16);const s=n-1;switch(l=0,t){case 3:l^=(255&e.charCodeAt(s+2))<<16;break;case 2:l^=(255&e.charCodeAt(s+1))<<8;break;case 1:l^=255&e.charCodeAt(s)}return l=(65535&l)*r+(((l>>>16)*r&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*o+(((l>>>16)*o&65535)<<16)&4294967295,a^=l,a^=e.length,a^=a>>>16,a=2246822507*(65535&a)+((2246822507*(a>>>16)&65535)<<16)&4294967295,a^=a>>>13,a=3266489909*(65535&a)+((3266489909*(a>>>16)&65535)<<16)&4294967295,a^=a>>>16,a>>>0};typeof window<"u"&&(window.getBrowserFingerprint=wi);const _i=Se.createContext(),Ri=({props:e={},children:t})=>{const{organizationId:n,uid:r,fname:o,lname:a}=e,[i,l]=Se.useState(null),{isLoading:s,data:u,error:c}=Ne({queryKey:["qrati-connect-session",n],queryFn:async()=>{const e=await wi();return(await po.post(bo.INITIALIZE_SESSION,{json:{uid:r,fname:o,lname:a,browserFingerprint:e},headers:{"x-org-id":n,Authorization:r||o||a||!localStorage.getItem("qrati_token")?void 0:localStorage.getItem("qrati_token")}}).json()).data},enabled:!!n});Se.useEffect(()=>{u?.authSession?.user&&u?.authSession?.token?(l({...u?.authSession?.user,token:u?.authSession?.token}),u?.organization?.customAuth||localStorage.setItem("qrati_token",u?.authSession?.token)):l(null)},[u]);const d=async e=>{try{const t="https://qrati.com",r=await((e,t,n)=>new Promise((r,o)=>{if(!e)return void o(new Error("Provider is required"));if(!t)return void o(new Error("Organization ID is required"));const a=new URL(`${n}/qc-social-auth`);a.searchParams.set("provider",e),a.searchParams.set("organizationId",t),a.searchParams.set("origin",window.location.origin);const i=(window.screen.width-500)/2,l=(window.screen.height-600)/2,s=window.open(a.toString(),"qrati_social_auth",`width=500,height=600,left=${i},top=${l},scrollbars=yes,resizable=yes,status=yes`);if(!s)return void o(new Error("Failed to open popup window. Please allow popups and try again."));const u=()=>{clearInterval(d),clearTimeout(f),window.removeEventListener("message",c)},c=e=>{try{const t=new URL(n).origin;if(e.origin!==t)return void console.warn("Origin mismatch:",e.origin,"expected:",t)}catch{console.warn("Could not parse origin for verification")}const{type:a,data:i,error:l,organizationId:c}=e.data;if(c===t)switch(a){case"QRATI_SOCIAL_AUTH_SUCCESS":u(),s.close(),r({user:i.user,session:i.session,token:i.token});break;case"QRATI_SOCIAL_AUTH_ERROR":console.error("Authentication error:",l),u(),s.close(),o(new Error(l||"Social authentication failed"));break;case"QRATI_SOCIAL_AUTH_CANCELLED":u(),s.close(),o(new Error("Authentication was cancelled"))}else console.warn("Organization ID mismatch:",c,"expected:",t)},d=setInterval(()=>{try{s.closed&&(u(),o(new Error("Authentication was cancelled")))}catch{}},1e3);window.addEventListener("message",c);const f=setTimeout(()=>{u(),s.closed||s.close(),o(new Error("Authentication timeout. Please try again."))},3e5)}))(e,n,t);return r.user&&r.token&&l({...r.user,token:r.token}),r}catch(e){throw console.error("Social login error:",e),e}};return s?w.jsx("div",{className:"qc:h-[80vh] qc:w-full"}):c?w.jsxs("div",{className:"qc:mx-auto qc:mt-24 qc:w-fit qc:max-w-xl qc:space-y-8",children:[w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"qc:mx-auto qc:h-48",viewBox:"0 0 538.71577 579.81872",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img","aria-labelledby":"error-svg-title",children:[w.jsx("title",{children:"Error illustration"}),w.jsx("path",{d:"M506.76759,441.45795H101.83199c-7.51245-.00873-13.60031-6.09656-13.60901-13.60901V98.12604c.0087-7.51244,6.09659-13.6003,13.60901-13.60899H506.76759c7.51245,.0087,13.60028,6.09656,13.60901,13.60899V427.84894c-.00873,7.51245-6.09656,13.60028-13.60901,13.60901Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M467.42311,432.2785H111.01366c-7.51245-.00873-13.60031-6.09656-13.60901-13.60901V107.31283c.0087-7.51242,6.09659-13.6003,13.60901-13.60899H497.58809c7.51245,.0087,13.60028,6.09657,13.60901,13.60899V388.50445c-.02716,24.16443-19.60956,43.74683-43.77399,43.77405Z",fill:"#fff"}),w.jsx("path",{d:"M369.4825,164.10681H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h162.75317c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#ff4800"}),w.jsx("path",{d:"M451.87105,201.55386H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.5098s1.57135-3.50977,3.50977-3.50977h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.50977s-1.57135,3.5098-3.50977,3.5098Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,239.00091H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,276.448H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,313.89505H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.5098s1.57135-3.50977,3.50977-3.50977h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.50977s-1.57135,3.5098-3.50977,3.5098Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M440.84718,373.56909c-9.81519,0-17.77191-7.95679-17.77191-17.77197s7.95679-17.77194,17.77197-17.77191c9.81519,0,17.77191,7.95679,17.77191,17.77197h0c-.00006,9.81519-7.95679,17.77191-17.77197,17.77191Z",fill:"#ff4800"}),w.jsx("path",{d:"M450.84529,354.95294l-5.03827-7.35388c-.4646-.68201-1.39417-.85818-2.07617-.39359-.68195,.46463-.85815,1.39417-.39355,2.07617l.00446,.00647,3.25842,4.75601h-12.76538c-.9682-.00287-1.75543,.77966-1.7583,1.74786s.77966,1.75543,1.74786,1.7583h12.93616l-3.41876,4.98999c-.4635,.68274-.28571,1.612,.39703,2.0755,.67865,.46063,1.60175,.28815,2.06824-.38647l5.03827-7.35388c.33362-.59741,.33362-1.32507,0-1.92249Z",fill:"#fff"}),w.jsx("path",{d:"M536.9474,35.89259H71.6544c-.99774-.02133-1.78931-.84746-1.76797-1.84521,.02069-.96771,.80026-1.74727,1.76797-1.76796h465.293c.99774,.02133,1.78931,.84746,1.76794,1.84521-.02069,.96771-.80023,1.74727-1.76794,1.76796Z",fill:"#cacaca"}),w.jsx("path",{d:"M129.88332,392.03558c2.69046-2.25092,3.04681-6.25665,.7959-8.94714-.24002-.28687-.50488-.552-.79156-.79224l-3.85318-33.29462-12.23428,2.83279,6.79901,31.56052c-2.08167,2.84705-1.46118,6.84253,1.38586,8.92419,2.38205,1.7417,5.64722,1.62445,7.89825-.28351Z",fill:"#ffb6b6"}),w.jsx("path",{d:"M128.61916,354.4306l-14.16388,8.83612s-.86215,5.17871-1.83612-7.83612c-.10168-1.35852,.84622-3.72528,.742-5.11966-.11755-1.57309-4.62335-2.2887-4.742-3.88034-.0845-1.13293,1.21814-2.1409,1.134-3.27075-.12741-1.71158-.254-3.41367-.37827-5.08826-.104-1.401-1.6557-2.289-1.75574-3.64099-.10089-1.36349,1.25-3.19043,1.15479-4.48245-.71393-9.68848,1.75491-34.06335,1.75491-34.55923-.19077-1.24442-.71036-2.41531-1.5051-3.39169l.75601-2.26111-.49991-4.24243c-.65692-5.57474,.51501-11.21204,3.33932-16.06308h0l3.59717-2.35538,16.59769,27.91714c-6.98453,24.15781-11.54385,33.64658-4.19489,59.43823Z",fill:"#ff4800"}),w.jsx("polygon",{points:"117.56702 562.58543 126.13502 562.58543 130.21301 529.53642 117.56702 529.53642 117.56702 562.58543",fill:"#ffb6b6"}),w.jsx("path",{d:"M114.77113,556.7168l13.68857-.81702v5.86481l13.0141,8.98798c1.66492,1.14954,2.08273,3.43109,.9332,5.09601-.68396,.99066-1.811,1.58203-3.01483,1.58197h-16.29678l-2.80899-5.80115-1.09677,5.80115h-6.14453l1.72604-20.71375Z",fill:"#2f2e41"}),w.jsx("polygon",{points:"165.69602 562.58543 174.26402 562.58543 178.34102 529.53642 165.69602 529.53642 165.69602 562.58543",fill:"#ffb6b6"}),w.jsx("path",{d:"M162.8994,556.7168l13.68857-.81702v5.86481l13.0141,8.98798c1.66492,1.14954,2.08276,3.43109,.93323,5.09601-.68402,.99066-1.81104,1.58203-3.01489,1.58197h-16.29678l-2.80899-5.80115-1.09671,5.80121h-6.14453l1.72601-20.71381Z",fill:"#2f2e41"}),w.jsx("path",{d:"M113.93041,534.08581h.03333l1.64783-78.70483c-2.16583-4.17767-2.09665-9.16217,.18436-13.27814l.23593-.42706-.61169-2.83545c-.78564-3.64294-.42511-7.43976,1.0321-10.86975l1.53726-50.12524c-5.492-35.59256,20.68112-58.80466,20.68112-58.80466h39.20764l8.41745,28.92029c5.56464,54.21457,4.55493,132.01437-4.27539,183.19821l.24072,.1217c.94843,.52899,1.31409,1.70972,.83063,2.68213-.40802,1.18213-1.44147,1.89789-2.30829,1.59869l-20.70612-.72021c-.94852-.52893-1.31418-1.70972-.8306-2.68213,.40799-1.18213,1.44147-1.89783,2.30829-1.59869l1.4079,.7121-1.45267-2.95715c-1.78177-3.62714-1.43726-7.93823,.89792-11.23639h0l-.25443-6.50977h0c-2.20139-2.57782-2.93311-6.10175-1.94009-9.3429l1.39676-4.55884-1.64999-42.21698,.33322-9.47119-.68646-10.74493-3.17386-48.33057-12.01355,59.43298-12.27142,89.34686c.60062,.54187,.8642,1.36444,.69037,2.15448-.26059,1.05988-1.22098,1.79761-2.31223,1.77612h-16.65585c-1.25314-.00116-2.26804-1.01801-2.26688-2.27112,.00021-.20325,.02771-.40552,.08176-.60144,.28894-.9953,1.20868-1.67383,2.24493-1.65613Z",fill:"#2f2e41"}),w.jsx("path",{d:"M209.20992,379.09808c2.21375-2.72113,1.80243-6.72162-.9187-8.93536-.29016-.23602-.60052-.44598-.92761-.62738l-10.10931-31.95596-11.47314,5.1058,12.672,29.69373c-1.50281,3.19067-.13452,6.99554,3.05621,8.49835,2.66962,1.25739,5.85315,.52185,7.70062-1.77917h-.00006Z",fill:"#ffb6b6"}),w.jsx("path",{d:"M167.61156,277.5068s11.52975,40.80206,11.0076,44.92377c-1.07687,8.49966-54.05972,34.62692-58,23l.49393-3.82181c-1.9906-3.98123,10.15421-19.78131,10.74377-21.84821,.74908-2.64258-2.64258-11.31946-2.64258-11.31946,0,0,2.34436-7.92081,1.96979-12.82452-.38147-4.90372-1.51199-4.14771-5.6597-7.17178-4.14767-3.01712-10.93799-16.9722-10.93799-16.9722,0,0,3.01715-13.58057,3.01715-16.22314s12.3945-7.14401,13.8996-8.64914c.65521-.87424,1.20685-1.82153,1.6438-2.82288,.30518-.61035,.11099-2.02533,.43701-2.72586,.20807-.45776,.93634-.1734,1.1514-.64499,.20807-.45776,.02774-.98489,.23578-1.43576,.27051-.59647,.92249-1.11667,1.17911-1.67847,1.17911-2.58014,2.18481-4.68176,2.49692-4.68176,.74908,0,24.89999,3.39862,24.89999,3.39862,1.31448,2.03296,2.8295,3.92899,4.52225,5.6597,2.64258,2.63565,15.00931,9.05139,15.00931,9.05139l-15.46713,26.7865Z",fill:"#ff4800"}),w.jsx("path",{d:"M200.22267,346.15008c-1.88654,1.8866-11.22198,10.54852-11.60352,8.28046-.37451-2.26111-.57843-2.53137-2.09045-3.28046-1.51202-.75601-1.51202-1.13055-1.88654-3.77316-.37457-2.64258-3.77316-5.28519-3.39169-6.41574,.37454-1.13055,.0249,.30768,.0249-.82983,0-1.13055-1.13055-5.27823-2.64258-6.03427-1.5051-.75601-3.77316-1.50507-2.63565-3.39169,1.13055-1.88654-10.6467-58.48383-10.6467-58.48383l10.56345-20.74536,7.16479-.75601s2.17712,1.24573,2.85925,12.47653c.03455,.56876,.65479,1.61267,.68121,2.2338,.02191,.51627-.54865,.6015-.5329,1.1554,.0033,.11829,.00659,.23743,.00964,.35745,.01428,.5506,1.50098,.95566,1.52332,1.48715,.03986,.94949,.62384,7.0047,.68677,7.89462,.07092,1.0033,.15472,1.9697,.25128,2.89923,1.04254,10.12073,1.41583,10.97568,2.06189,14.20615,1,5,5.14539,34.20227,5.14539,34.20227,0,0,3.01709,.74908,3.01709,3.39169s3.32764,7.95386,1.82251,10.97101c-1.51202,3.02405,1.50519,2.2681-.38147,4.1546Z",fill:"#ff4800"}),w.jsx("circle",{cx:"148.8745",cy:"213.9424",r:"17.89357",fill:"#ffb8b8"}),w.jsx("path",{d:"M110.31502,251.54758c-3.78656-1.34195-7.57309-2.68634-11.35962-4.0332,.65262-1.09512,1.4838-2.07336,2.45911-2.89432,3.60519-3.01041,8.58139-3.55444,13.1586-4.57001,4.5845-1.01556,9.5607-3.09744,11.23639-7.47882,1.74091-4.55551-.78345-9.47366-2.24875-14.11618-2.16422-6.51166-1.90143-13.58618,.73993-19.91934,2.73499-6.33997,8.26752-11.04382,14.96487-12.72339,6.63007-1.47256,14.12341,.92847,18.20013,6.35446,5.43567-1.63062,11.23318,1.05328,13.50684,6.2529,1.0488,2.38864,.8869,5.13562-.43521,7.38452-1.41452,2.13992-4.43942,3.23526-6.71716,2.04562l1.32022-3.35132c-4.08401,1.38547-6.73889,8.76999-6.18765,13.04984,.54404,4.27258,3.0394,8.01559,5.57108,11.50476s5.23007,7.01456,6.31815,11.18555c1.56686,5.99899-.5513,12.55658-4.46841,17.36594s-9.43738,8.07364-15.1535,10.4747c-4.27887,1.79898-8.72549,3.16946-13.27469,4.09131,.81244-1.58136,1.61761-3.16272,2.43005-4.74408l-9.64047,5.83215c-1.86426,.18134-3.74307,.29016-5.6218,.32642-5.46945,.0943-11.0477-.47879-16.05301-2.66217-5.01242-2.1907-9.41559-6.15863-11.2291-11.31619-.58139-1.66821-.8566-3.42773-.81235-5.19379,4.43204-.95752,8.86417-1.91263,13.29636-2.86536Z",fill:"#2f2e41"}),w.jsx("path",{d:"M283.23262,578.79364h-33.18652l-.14258-.25879c-.42432-.76953-.83398-1.58502-1.2168-2.42285-3.41846-7.31836-4.86328-15.68848-6.13818-23.07324l-.96002-5.56641c-.32257-1.87054,.93225-3.64838,2.8028-3.97095,.91565-.15796,1.85626,.06165,2.60736,.60864,5.04346,3.66986,10.08887,7.33624,15.13623,10.99902,1.91113,1.39062,4.09375,3,6.18408,4.73926,.20166-.97949,.4126-1.96191,.62354-2.93066,.40363-1.85602,2.23541-3.03345,4.09143-2.62982,.90845,.19757,1.69824,.75452,2.18933,1.54388l3.88281,6.23828c2.83197,4.55566,5.33154,9.04492,4.82227,13.88672,.0025,.0589-.00195,.11792-.01318,.17578-.10187,.79529-.29083,1.57703-.56348,2.33105l-.11908,.33008Z",fill:"#f0f0f0"}),w.jsx("path",{d:"M316.54201,579.51141l-315.35751,.30731c-.65759-.00342-1.1879-.53931-1.18448-1.1969,.00342-.65271,.53174-1.18103,1.18448-1.18445l315.35751-.30731c.65759,.00342,1.18787,.53931,1.18445,1.1969-.00342,.65271-.53168,1.18103-1.18445,1.18445Z",fill:"#cacaca"}),w.jsx("ellipse",{cx:"89.88544",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"119.0992",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"148.31295",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("path",{d:"M181.62437,15.47786c-.25977,0-.51904-.10059-.71484-.30078l-5.70605-5.83301c-.38037-.38867-.38037-1.00977,0-1.39844l5.70605-5.83252c.38721-.39453,1.021-.40088,1.41406-.01562,.39502,.38623,.40186,1.01953,.01562,1.41406l-5.02197,5.1333,5.02197,5.13379c.38623,.39453,.37939,1.02783-.01562,1.41406-.19434,.19043-.44678,.28516-.69922,.28516Z",fill:"#3f3d56"}),w.jsx("path",{d:"M191.21275,15.47786c-.25244,0-.50488-.09473-.69922-.28516-.39502-.38623-.40186-1.01904-.01562-1.41406l5.02148-5.13379-5.02148-5.1333c-.38623-.39453-.37939-1.02783,.01562-1.41406,.39404-.38672,1.02783-.37939,1.41406,.01562l5.70557,5.83252c.38037,.38867,.38037,1.00977,0,1.39844l-5.70557,5.83301c-.1958,.2002-.45508,.30078-.71484,.30078Z",fill:"#3f3d56"}),w.jsx("path",{d:"M489.72257,1.0009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V13.8109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.1909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M463.72257,1.0009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V13.8109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.1909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M514.22257,1.5009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V14.3109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.6909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M354.30088,5.54088h-84.81c-1.48004,0-2.67004,1.20001-2.67004,2.67004s1.19,2.66998,2.67004,2.66998h84.81c1.46997,0,2.66998-1.20001,2.66998-2.66998s-1.20001-2.67004-2.66998-2.67004Z",fill:"#3f3d56"})]}),w.jsxs("div",{className:"qc:space-y-4",children:[w.jsx("h4",{className:"qc:text-foreground qc:text-center qc:text-lg qc:font-medium",children:401===c?.response?.status?"Page not registered":"Something went wrong"}),w.jsx("h5",{className:"qc:text-muted qc:text-center",children:c?.message}),w.jsxs("h5",{className:"qc:text-muted qc:text-center",children:["If you are an admin of this organization, please add the current page URL in Allowed URLs under"," ",w.jsx("a",{className:"qc:font-medium qc:text-blue-500",href:mo.ORGANIZATION_SETTINGS(n),target:"_blank",rel:"noreferrer",children:"Organization Settings"})," ","⇨"," ",w.jsx("a",{className:"qc:font-medium qc:text-blue-500",href:mo.ORGANIZATION_SETTINGS_INTEGRATION(n),target:"_blank",rel:"noreferrer",children:"Integration Settings"}),". For more details please contact Qrati support."]})]})]}):!u?.organization?.customAuth||r&&o&&a?w.jsx(_i.Provider,{value:{props:e,initializing:s,sessionId:u?.sessionId,organization:u?.organization,folders:u?.folders,loadingUser:s,user:i,registerUsingEmail:async(e,t,r,o)=>{try{const a=await po.post(bo.REGISTER,{json:{email:e,password:t,fname:r,lname:o},headers:{"x-org-id":n}}).json();return a.error?{error:a.error}:(l({...a.user,token:a.token}),a)}catch(e){return{error:e.message}}},loginWithGoogle:async()=>{try{return await d("google")}catch(e){throw console.error("Google login error:",e),e}},loginWithApple:async()=>{try{return await d("apple")}catch(e){throw console.error("Apple login error:",e),e}},loginUsingEmail:async(e,t)=>{try{try{const r=await po.post(bo.LOGIN,{json:{email:e,password:t},headers:{"x-org-id":n}}).json();return r.error?{error:r.error}:(l({...r.user,token:r.token}),r)}catch(e){return{error:e.message}}}catch{}},signout:async()=>{try{const e=await po.post(bo.LOGOUT,{headers:{"x-org-id":n,Authorization:`Bearer ${i?.token}`}}).json();return e.error?{error:e.error}:(localStorage.removeItem("qrati_token"),l(null),e)}catch(e){return console.error(e),{error:e.message}}},error:c},children:w.jsx("div",{id:"qrati-connect-container",style:vi(u?.organization),className:Ka("qc:relative qc:min-h-[80vh]",e?.fontClassName),children:t})}):w.jsxs("div",{className:"qc:mx-auto qc:mt-24 qc:w-fit qc:max-w-xl qc:space-y-8",children:[w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"qc:mx-auto qc:h-48",viewBox:"0 0 538.71577 579.81872",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",children:[w.jsx("title",{children:"Error illustration"}),w.jsx("path",{d:"M506.76759,441.45795H101.83199c-7.51245-.00873-13.60031-6.09656-13.60901-13.60901V98.12604c.0087-7.51244,6.09659-13.6003,13.60901-13.60899H506.76759c7.51245,.0087,13.60028,6.09656,13.60901,13.60899V427.84894c-.00873,7.51245-6.09656,13.60028-13.60901,13.60901Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M467.42311,432.2785H111.01366c-7.51245-.00873-13.60031-6.09656-13.60901-13.60901V107.31283c.0087-7.51242,6.09659-13.6003,13.60901-13.60899H497.58809c7.51245,.0087,13.60028,6.09657,13.60901,13.60899V388.50445c-.02716,24.16443-19.60956,43.74683-43.77399,43.77405Z",fill:"#fff"}),w.jsx("path",{d:"M369.4825,164.10681H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h162.75317c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#ff4800"}),w.jsx("path",{d:"M451.87105,201.55386H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.5098s1.57135-3.50977,3.50977-3.50977h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.50977s-1.57135,3.5098-3.50977,3.5098Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,239.00091H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,276.448H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,313.89505H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.5098s1.57135-3.50977,3.50977-3.50977h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.50977s-1.57135,3.5098-3.50977,3.5098Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M440.84718,373.56909c-9.81519,0-17.77191-7.95679-17.77191-17.77197s7.95679-17.77194,17.77197-17.77191c9.81519,0,17.77191,7.95679,17.77191,17.77197h0c-.00006,9.81519-7.95679,17.77191-17.77197,17.77191Z",fill:"#ff4800"}),w.jsx("path",{d:"M450.84529,354.95294l-5.03827-7.35388c-.4646-.68201-1.39417-.85818-2.07617-.39359-.68195,.46463-.85815,1.39417-.39355,2.07617l.00446,.00647,3.25842,4.75601h-12.76538c-.9682-.00287-1.75543,.77966-1.7583,1.74786s.77966,1.75543,1.74786,1.7583h12.93616l-3.41876,4.98999c-.4635,.68274-.28571,1.612,.39703,2.0755,.67865,.46063,1.60175,.28815,2.06824-.38647l5.03827-7.35388c.33362-.59741,.33362-1.32507,0-1.92249Z",fill:"#fff"}),w.jsx("path",{d:"M536.9474,35.89259H71.6544c-.99774-.02133-1.78931-.84746-1.76797-1.84521,.02069-.96771,.80026-1.74727,1.76797-1.76796h465.293c.99774,.02133,1.78931,.84746,1.76794,1.84521-.02069,.96771-.80023,1.74727-1.76794,1.76796Z",fill:"#cacaca"}),w.jsx("path",{d:"M129.88332,392.03558c2.69046-2.25092,3.04681-6.25665,.7959-8.94714-.24002-.28687-.50488-.552-.79156-.79224l-3.85318-33.29462-12.23428,2.83279,6.79901,31.56052c-2.08167,2.84705-1.46118,6.84253,1.38586,8.92419,2.38205,1.7417,5.64722,1.62445,7.89825-.28351Z",fill:"#ffb6b6"}),w.jsx("path",{d:"M128.61916,354.4306l-14.16388,8.83612s-.86215,5.17871-1.83612-7.83612c-.10168-1.35852,.84622-3.72528,.742-5.11966-.11755-1.57309-4.62335-2.2887-4.742-3.88034-.0845-1.13293,1.21814-2.1409,1.134-3.27075-.12741-1.71158-.254-3.41367-.37827-5.08826-.104-1.401-1.6557-2.289-1.75574-3.64099-.10089-1.36349,1.25-3.19043,1.15479-4.48245-.71393-9.68848,1.75491-34.06335,1.75491-34.55923-.19077-1.24442-.71036-2.41531-1.5051-3.39169l.75601-2.26111-.49991-4.24243c-.65692-5.57474,.51501-11.21204,3.33932-16.06308h0l3.59717-2.35538,16.59769,27.91714c-6.98453,24.15781-11.54385,33.64658-4.19489,59.43823Z",fill:"#ff4800"}),w.jsx("polygon",{points:"117.56702 562.58543 126.13502 562.58543 130.21301 529.53642 117.56702 529.53642 117.56702 562.58543",fill:"#ffb6b6"}),w.jsx("path",{d:"M114.77113,556.7168l13.68857-.81702v5.86481l13.0141,8.98798c1.66492,1.14954,2.08273,3.43109,.9332,5.09601-.68396,.99066-1.811,1.58203-3.01483,1.58197h-16.29678l-2.80899-5.80115-1.09677,5.80115h-6.14453l1.72604-20.71375Z",fill:"#2f2e41"}),w.jsx("polygon",{points:"165.69602 562.58543 174.26402 562.58543 178.34102 529.53642 165.69602 529.53642 165.69602 562.58543",fill:"#ffb6b6"}),w.jsx("path",{d:"M162.8994,556.7168l13.68857-.81702v5.86481l13.0141,8.98798c1.66492,1.14954,2.08276,3.43109,.93323,5.09601-.68402,.99066-1.81104,1.58203-3.01489,1.58197h-16.29678l-2.80899-5.80115-1.09671,5.80121h-6.14453l1.72601-20.71381Z",fill:"#2f2e41"}),w.jsx("path",{d:"M113.93041,534.08581h.03333l1.64783-78.70483c-2.16583-4.17767-2.09665-9.16217,.18436-13.27814l.23593-.42706-.61169-2.83545c-.78564-3.64294-.42511-7.43976,1.0321-10.86975l1.53726-50.12524c-5.492-35.59256,20.68112-58.80466,20.68112-58.80466h39.20764l8.41745,28.92029c5.56464,54.21457,4.55493,132.01437-4.27539,183.19821l.24072,.1217c.94843,.52899,1.31409,1.70972,.83063,2.68213-.40802,1.18213-1.44147,1.89789-2.30829,1.59869l-20.70612-.72021c-.94852-.52893-1.31418-1.70972-.8306-2.68213,.40799-1.18213,1.44147-1.89783,2.30829-1.59869l1.4079,.7121-1.45267-2.95715c-1.78177-3.62714-1.43726-7.93823,.89792-11.23639h0l-.25443-6.50977h0c-2.20139-2.57782-2.93311-6.10175-1.94009-9.3429l1.39676-4.55884-1.64999-42.21698,.33322-9.47119-.68646-10.74493-3.17386-48.33057-12.01355,59.43298-12.27142,89.34686c.60062,.54187,.8642,1.36444,.69037,2.15448-.26059,1.05988-1.22098,1.79761-2.31223,1.77612h-16.65585c-1.25314-.00116-2.26804-1.01801-2.26688-2.27112,.00021-.20325,.02771-.40552,.08176-.60144,.28894-.9953,1.20868-1.67383,2.24493-1.65613Z",fill:"#2f2e41"}),w.jsx("path",{d:"M209.20992,379.09808c2.21375-2.72113,1.80243-6.72162-.9187-8.93536-.29016-.23602-.60052-.44598-.92761-.62738l-10.10931-31.95596-11.47314,5.1058,12.672,29.69373c-1.50281,3.19067-.13452,6.99554,3.05621,8.49835,2.66962,1.25739,5.85315,.52185,7.70062-1.77917h-.00006Z",fill:"#ffb6b6"}),w.jsx("path",{d:"M167.61156,277.5068s11.52975,40.80206,11.0076,44.92377c-1.07687,8.49966-54.05972,34.62692-58,23l.49393-3.82181c-1.9906-3.98123,10.15421-19.78131,10.74377-21.84821,.74908-2.64258-2.64258-11.31946-2.64258-11.31946,0,0,2.34436-7.92081,1.96979-12.82452-.38147-4.90372-1.51199-4.14771-5.6597-7.17178-4.14767-3.01712-10.93799-16.9722-10.93799-16.9722,0,0,3.01715-13.58057,3.01715-16.22314s12.3945-7.14401,13.8996-8.64914c.65521-.87424,1.20685-1.82153,1.6438-2.82288,.30518-.61035,.11099-2.02533,.43701-2.72586,.20807-.45776,.93634-.1734,1.1514-.64499,.20807-.45776,.02774-.98489,.23578-1.43576,.27051-.59647,.92249-1.11667,1.17911-1.67847,1.17911-2.58014,2.18481-4.68176,2.49692-4.68176,.74908,0,24.89999,3.39862,24.89999,3.39862,1.31448,2.03296,2.8295,3.92899,4.52225,5.6597,2.64258,2.63565,15.00931,9.05139,15.00931,9.05139l-15.46713,26.7865Z",fill:"#ff4800"}),w.jsx("path",{d:"M200.22267,346.15008c-1.88654,1.8866-11.22198,10.54852-11.60352,8.28046-.37451-2.26111-.57843-2.53137-2.09045-3.28046-1.51202-.75601-1.51202-1.13055-1.88654-3.77316-.37457-2.64258-3.77316-5.28519-3.39169-6.41574,.37454-1.13055,.0249,.30768,.0249-.82983,0-1.13055-1.13055-5.27823-2.64258-6.03427-1.5051-.75601-3.77316-1.50507-2.63565-3.39169,1.13055-1.88654-10.6467-58.48383-10.6467-58.48383l10.56345-20.74536,7.16479-.75601s2.17712,1.24573,2.85925,12.47653c.03455,.56876,.65479,1.61267,.68121,2.2338,.02191,.51627-.54865,.6015-.5329,1.1554,.0033,.11829,.00659,.23743,.00964,.35745,.01428,.5506,1.50098,.95566,1.52332,1.48715,.03986,.94949,.62384,7.0047,.68677,7.89462,.07092,1.0033,.15472,1.9697,.25128,2.89923,1.04254,10.12073,1.41583,10.97568,2.06189,14.20615,1,5,5.14539,34.20227,5.14539,34.20227,0,0,3.01709,.74908,3.01709,3.39169s3.32764,7.95386,1.82251,10.97101c-1.51202,3.02405,1.50519,2.2681-.38147,4.1546Z",fill:"#ff4800"}),w.jsx("circle",{cx:"148.8745",cy:"213.9424",r:"17.89357",fill:"#ffb8b8"}),w.jsx("path",{d:"M110.31502,251.54758c-3.78656-1.34195-7.57309-2.68634-11.35962-4.0332,.65262-1.09512,1.4838-2.07336,2.45911-2.89432,3.60519-3.01041,8.58139-3.55444,13.1586-4.57001,4.5845-1.01556,9.5607-3.09744,11.23639-7.47882,1.74091-4.55551-.78345-9.47366-2.24875-14.11618-2.16422-6.51166-1.90143-13.58618,.73993-19.91934,2.73499-6.33997,8.26752-11.04382,14.96487-12.72339,6.63007-1.47256,14.12341,.92847,18.20013,6.35446,5.43567-1.63062,11.23318,1.05328,13.50684,6.2529,1.0488,2.38864,.8869,5.13562-.43521,7.38452-1.41452,2.13992-4.43942,3.23526-6.71716,2.04562l1.32022-3.35132c-4.08401,1.38547-6.73889,8.76999-6.18765,13.04984,.54404,4.27258,3.0394,8.01559,5.57108,11.50476s5.23007,7.01456,6.31815,11.18555c1.56686,5.99899-.5513,12.55658-4.46841,17.36594s-9.43738,8.07364-15.1535,10.4747c-4.27887,1.79898-8.72549,3.16946-13.27469,4.09131,.81244-1.58136,1.61761-3.16272,2.43005-4.74408l-9.64047,5.83215c-1.86426,.18134-3.74307,.29016-5.6218,.32642-5.46945,.0943-11.0477-.47879-16.05301-2.66217-5.01242-2.1907-9.41559-6.15863-11.2291-11.31619-.58139-1.66821-.8566-3.42773-.81235-5.19379,4.43204-.95752,8.86417-1.91263,13.29636-2.86536Z",fill:"#2f2e41"}),w.jsx("path",{d:"M283.23262,578.79364h-33.18652l-.14258-.25879c-.42432-.76953-.83398-1.58502-1.2168-2.42285-3.41846-7.31836-4.86328-15.68848-6.13818-23.07324l-.96002-5.56641c-.32257-1.87054,.93225-3.64838,2.8028-3.97095,.91565-.15796,1.85626,.06165,2.60736,.60864,5.04346,3.66986,10.08887,7.33624,15.13623,10.99902,1.91113,1.39062,4.09375,3,6.18408,4.73926,.20166-.97949,.4126-1.96191,.62354-2.93066,.40363-1.85602,2.23541-3.03345,4.09143-2.62982,.90845,.19757,1.69824,.75452,2.18933,1.54388l3.88281,6.23828c2.83197,4.55566,5.33154,9.04492,4.82227,13.88672,.0025,.0589-.00195,.11792-.01318,.17578-.10187,.79529-.29083,1.57703-.56348,2.33105l-.11908,.33008Z",fill:"#f0f0f0"}),w.jsx("path",{d:"M316.54201,579.51141l-315.35751,.30731c-.65759-.00342-1.1879-.53931-1.18448-1.1969,.00342-.65271,.53174-1.18103,1.18448-1.18445l315.35751-.30731c.65759,.00342,1.18787,.53931,1.18445,1.1969-.00342,.65271-.53168,1.18103-1.18445,1.18445Z",fill:"#cacaca"}),w.jsx("ellipse",{cx:"89.88544",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"119.0992",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"148.31295",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("path",{d:"M181.62437,15.47786c-.25977,0-.51904-.10059-.71484-.30078l-5.70605-5.83301c-.38037-.38867-.38037-1.00977,0-1.39844l5.70605-5.83252c.38721-.39453,1.021-.40088,1.41406-.01562,.39502,.38623,.40186,1.01953,.01562,1.41406l-5.02197,5.1333,5.02197,5.13379c.38623,.39453,.37939,1.02783-.01562,1.41406-.19434,.19043-.44678,.28516-.69922,.28516Z",fill:"#3f3d56"}),w.jsx("path",{d:"M191.21275,15.47786c-.25244,0-.50488-.09473-.69922-.28516-.39502-.38623-.40186-1.01904-.01562-1.41406l5.02148-5.13379-5.02148-5.1333c-.38623-.39453-.37939-1.02783,.01562-1.41406,.39404-.38672,1.02783-.37939,1.41406,.01562l5.70557,5.83252c.38037,.38867,.38037,1.00977,0,1.39844l-5.70557,5.83301c-.1958,.2002-.45508,.30078-.71484,.30078Z",fill:"#3f3d56"}),w.jsx("path",{d:"M489.72257,1.0009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V13.8109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.1909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M463.72257,1.0009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V13.8109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.1909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M514.22257,1.5009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V14.3109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.6909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M354.30088,5.54088h-84.81c-1.48004,0-2.67004,1.20001-2.67004,2.67004s1.19,2.66998,2.67004,2.66998h84.81c1.46997,0,2.66998-1.20001,2.66998-2.66998s-1.20001-2.67004-2.66998-2.67004Z",fill:"#3f3d56"})]}),w.jsxs("div",{className:"qc:space-y-4",children:[w.jsx("h4",{className:"qc:text-foreground qc:text-center qc:text-lg qc:font-medium",children:"Invalid input"}),w.jsx("h5",{className:"qc:text-muted qc:text-center",children:"Custom auth mode requires uid, fname, lname. For more details please contact Qrati support."})]})]})},Pi=()=>{const e=Se.useContext(_i);if(void 0===e)throw new Error("useSession must be used within SessionProvider");return e};
|
|
39
|
+
return"production"!=={}.NODE_ENV&&function(){function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===E?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case h:return"Fragment";case g:return"Profiler";case m:return"StrictMode";case k:return"Suspense";case S:return"SuspenseList";case A:return"Activity"}if("object"==typeof t)switch("number"==typeof t.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case p:return"Portal";case v:return t.displayName||"Context";case y:return(t._context.displayName||"Context")+".Consumer";case w:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case x:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case C:n=t._payload,t=t._init;try{return e(t(n))}catch{}}return null}function t(e){return""+e}function n(e){try{t(e);var n=!1}catch{n=!0}if(n){var r=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),t(e)}}function r(t){if(t===h)return"<>";if("object"==typeof t&&null!==t&&t.$$typeof===C)return"<...>";try{var n=e(t);return n?"<"+n+">":"<...>"}catch{return"<...>"}}function o(){return Error("react-stack-top-frame")}function a(){var t=e(this.type);return P[t]||(P[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(t=this.props.ref)?t:null}function i(t,r,o,i,s,u){var d=r.children;if(void 0!==d)if(i)if(_(d)){for(i=0;i<d.length;i++)l(d[i]);Object.freeze&&Object.freeze(d)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(d);if(T.call(r,"key")){d=e(t);var p=Object.keys(r).filter(function(e){return"key"!==e});i=0<p.length?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}",L[d+i]||(p=0<p.length?"{"+p.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,d,p,d),L[d+i]=!0)}if(d=null,void 0!==o&&(n(o),d=""+o),function(e){if(T.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),d=""+r.key),"key"in r)for(var h in o={},r)"key"!==h&&(o[h]=r[h]);else o=r;return d&&function(e,t){function n(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,"function"==typeof t?t.displayName||t.name||"Unknown":t),function(e,t,n,r,o,i){var l=n.ref;return e={$$typeof:f,type:e,key:t,props:n,_owner:r},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(t,d,o,function(){var e=I.A;return null===e?null:e.getOwner()}(),s,u)}function l(e){u(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===C&&("fulfilled"===e._payload.status?u(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function u(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}var c,d=b(),f=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),v=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),E=Symbol.for("react.client.reference"),I=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=Object.prototype.hasOwnProperty,_=Array.isArray,R=console.createTask?console.createTask:function(){return null},P={},O=(d={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(d,o)(),N=R(r(o)),L={};s.Fragment=h,s.jsx=function(e,t,n){var o=1e4>I.recentlyCreatedOwnerStacks++;return i(e,t,n,!1,o?Error("react-stack-top-frame"):O,o?R(r(e)):N)},s.jsxs=function(e,t,n){var o=1e4>I.recentlyCreatedOwnerStacks++;return i(e,t,n,!0,o?Error("react-stack-top-frame"):O,o?R(r(e)):N)}}(),s}var w=(m||(m=1,a.exports="production"==={}.NODE_ENV?function(){if(o)return i;o=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var a in r={},n)"key"!==a&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:o,ref:void 0!==n?n:null,props:r}}return i.Fragment=t,i.jsx=n,i.jsxs=n,i}():v()),a.exports),k=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},S={},x={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},C=new class{#e=x;#t=!1;setTimeoutProvider(e){"production"!==S.NODE_ENV&&this.#t&&e!==this.#e&&console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#e,provider:e}),this.#e=e,"production"!==S.NODE_ENV&&(this.#t=!1)}setTimeout(e,t){return"production"!==S.NODE_ENV&&(this.#t=!0),this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return"production"!==S.NODE_ENV&&(this.#t=!0),this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};var A={},E=typeof window>"u"||"Deno"in globalThis;function I(){}function T(e){return"number"==typeof e&&e>=0&&e!==1/0}function _(e,t){return Math.max(e+(t||0)-Date.now(),0)}function R(e,t){return"function"==typeof e?e(t):e}function P(e,t){return"function"==typeof e?e(t):e}function O(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:a,queryKey:i,stale:l}=e;if(i)if(r){if(t.queryHash!==L(i,t.options))return!1}else if(!D(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return!("boolean"==typeof l&&t.isStale()!==l||o&&o!==t.state.fetchStatus||a&&!a(t))}function N(e,t){const{exact:n,status:r,predicate:o,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(z(t.options.mutationKey)!==z(a))return!1}else if(!D(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function L(e,t){return(t?.queryKeyHashFn||z)(e)}function z(e){return JSON.stringify(e,(e,t)=>U(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function D(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(n=>D(e[n],t[n])))}var j=Object.prototype.hasOwnProperty;function M(e,t){if(e===t)return e;const n=q(e)&&q(t);if(!(n||U(e)&&U(t)))return t;const r=(n?e:Object.keys(e)).length,o=n?t:Object.keys(t),a=o.length,i=n?new Array(a):{};let l=0;for(let s=0;s<a;s++){const a=n?s:o[s],u=e[a],c=t[a];if(u===c){i[a]=u,(n?s<r:j.call(e,a))&&l++;continue}if(null===u||null===c||"object"!=typeof u||"object"!=typeof c){i[a]=c;continue}const d=M(u,c);i[a]=d,d===u&&l++}return r===a&&l===r?e:i}function F(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function q(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function U(e){if(!H(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!(!H(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function H(e){return"[object Object]"===Object.prototype.toString.call(e)}function B(e,t,n){if("function"==typeof n.structuralSharing)return n.structuralSharing(e,t);if(!1!==n.structuralSharing){if("production"!==A.NODE_ENV)try{return M(e,t)}catch(e){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`),e}return M(e,t)}return t}function V(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function W(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var G=Symbol();function Q(e,t){return"production"!==A.NODE_ENV&&e.queryFn===G&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==G?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var Y=new class extends k{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!E&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}};function $(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}var Z=function(e){setTimeout(e,0)};var K=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=Z;const a=r=>{t?e.push(r):o(()=>{n(r)})};return{batch:a=>{let i;t++;try{i=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return i},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}(),J=new class extends k{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!E&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function X(e){return Math.min(1e3*2**e,3e4)}function ee(e){return"online"!==(e??"online")||J.isOnline()}var te=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ne(e){let t,n=!1,r=0;const o=$(),a=()=>"pending"!==o.status,i=()=>Y.isFocused()&&("always"===e.networkMode||J.isOnline())&&e.canRun(),l=()=>ee(e.networkMode)&&e.canRun(),s=e=>{a()||(t?.(),o.resolve(e))},u=e=>{a()||(t?.(),o.reject(e))},c=()=>new Promise(n=>{t=e=>{(a()||i())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,a()||e.onContinue?.()}),d=()=>{if(a())return;let t;const o=0===r?e.initialPromise:void 0;try{t=o??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(s).catch(t=>{if(a())return;const o=e.retry??(E?0:3),l=e.retryDelay??X,s="function"==typeof l?l(r,t):l,f=!0===o||"number"==typeof o&&r<o||"function"==typeof o&&o(r,t);!n&&f?(r++,e.onFail?.(r,t),function(e){return new Promise(t=>{C.setTimeout(t,e)})}(s).then(()=>i()?void 0:c()).then(()=>{n?u(t):d()})):u(t)})};return{promise:o,status:()=>o.status,cancel:t=>{if(!a()){const n=new te(t);u(n),e.onCancel?.(n)}},continue:()=>(t?.(),o),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:l,start:()=>(l()?d():c().then(d),o)}}var re=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),T(this.gcTime)&&(this.#e=C.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(E?1/0:3e5))}clearGcTimeout(){this.#e&&(C.clearTimeout(this.#e),this.#e=void 0)}},oe={},ae=class extends re{#e;#t;#n;#r;#o;#a;#i;constructor(e){super(),this.#i=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=se(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#o?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=se(this.options);void 0!==e.data&&(this.setState(le(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&"idle"===this.state.fetchStatus&&this.#n.remove(this)}setData(e,t){const n=B(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#l({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#o?.promise;return this.#o?.cancel(e),t?t.then(I).catch(I):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>!1!==P(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===G||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===R(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!_(this.state.dataUpdatedAt,e))}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#o&&(this.#i?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#o?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}"production"!==oe.NODE_ENV&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#i=!0,n.signal)})},o=()=>{const e=Q(this.options,t),n=(()=>{const e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#i=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:o};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#t=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:"fetch",meta:a.fetchOptions?.meta}),this.#o=ne({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof te&&e.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#l({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{const e=await this.#o.start();if(void 0===e)throw"production"!==oe.NODE_ENV&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof te){if(e.silent)return this.#o.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#l({type:"error",error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...ie(t.data,this.options),fetchMeta:e.meta??null};case"success":const n={...t,...le(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case"error":const r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),K.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function ie(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ee(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function le(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function se(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var ue=class extends k{constructor(e,t){super(),this.options=t,this.#e=e,this.#l=null,this.#i=$(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#o;#a;#i;#l;#s;#u;#c;#d;#f;#p;#h=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#t.addObserver(this),ce(this.#t,this.options)?this.#m():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return de(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return de(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#y(),this.#b(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof P(this.options.enabled,this.#t))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#v(),this.#t.setOptions(this.options),t._defaulted&&!F(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&fe(this.#t,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#t!==n||P(this.options.enabled,this.#t)!==P(t.enabled,this.#t)||R(this.options.staleTime,this.#t)!==R(t.staleTime,this.#t))&&this.#w();const o=this.#k();r&&(this.#t!==n||P(this.options.enabled,this.#t)!==P(t.enabled,this.#t)||o!==this.#p)&&this.#S(o)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return function(e,t){return!F(e.getCurrentResult(),t)}(this,n)&&(this.#r=n,this.#a=this.options,this.#o=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"===n&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&"pending"===this.#i.status&&this.#i.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#h.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#m(e){this.#v();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(I)),t}#w(){this.#y();const e=R(this.options.staleTime,this.#t);if(E||this.#r.isStale||!T(e))return;const t=_(this.#r.dataUpdatedAt,e)+1;this.#d=C.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#k(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#S(e){this.#b(),this.#p=e,!E&&!1!==P(this.options.enabled,this.#t)&&T(this.#p)&&0!==this.#p&&(this.#f=C.setInterval(()=>{(this.options.refetchIntervalInBackground||Y.isFocused())&&this.#m()},this.#p))}#g(){this.#w(),this.#S(this.#k())}#y(){this.#d&&(C.clearTimeout(this.#d),this.#d=void 0)}#b(){this.#f&&(C.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){const n=this.#t,r=this.options,o=this.#r,a=this.#o,i=this.#a,l=e!==n?e.state:this.#n,{state:s}=e;let u,c={...s},d=!1;if(t._optimisticResults){const o=this.hasListeners(),a=!o&&ce(e,t),i=o&&fe(e,n,t,r);(a||i)&&(c={...c,...ie(s.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:f,errorUpdatedAt:p,status:h}=c;u=c.data;let m=!1;if(void 0!==t.placeholderData&&void 0===u&&"pending"===h){let e;o?.isPlaceholderData&&t.placeholderData===i?.placeholderData?(e=o.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(h="success",u=B(o?.data,e,t),d=!0)}if(t.select&&void 0!==u&&!m)if(o&&u===a?.data&&t.select===this.#s)u=this.#u;else try{this.#s=t.select,u=t.select(u),u=B(o?.data,u,t),this.#u=u,this.#l=null}catch(e){this.#l=e}this.#l&&(f=this.#l,u=this.#u,p=Date.now(),h="error");const g="fetching"===c.fetchStatus,y="pending"===h,b="error"===h,v=y&&g,w=void 0!==u,k={status:h,fetchStatus:c.fetchStatus,isPending:y,isSuccess:"success"===h,isError:b,isInitialLoading:v,isLoading:v,data:u,dataUpdatedAt:c.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:b&&!w,isPaused:"paused"===c.fetchStatus,isPlaceholderData:d,isRefetchError:b&&w,isStale:pe(e,t),refetch:this.refetch,promise:this.#i,isEnabled:!1!==P(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===k.status?e.reject(k.error):void 0!==k.data&&e.resolve(k.data)},r=()=>{const e=this.#i=k.promise=$();t(e)},o=this.#i;switch(o.status){case"pending":e.queryHash===n.queryHash&&t(o);break;case"fulfilled":("error"===k.status||k.data!==o.value)&&r();break;case"rejected":("error"!==k.status||k.error!==o.reason)&&r()}}return k}updateResult(){const e=this.#r,t=this.createResult(this.#t,this.options);if(this.#o=this.#t.state,this.#a=this.options,void 0!==this.#o.data&&(this.#c=this.#t),F(t,e))return;this.#r=t;this.#x({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#h.size)return!0;const r=new Set(n??this.#h);return this.options.throwOnError&&r.add("error"),Object.keys(this.#r).some(t=>{const n=t;return this.#r[n]!==e[n]&&r.has(n)})})()})}#v(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#x(e){K.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function ce(e,t){return function(e,t){return!1!==P(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&de(e,t,t.refetchOnMount)}function de(e,t,n){if(!1!==P(t.enabled,e)&&"static"!==R(t.staleTime,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&pe(e,t)}return!1}function fe(e,t,n,r){return(e!==t||!1===P(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&pe(e,n)}function pe(e,t){return!1!==P(t.enabled,e)&&e.isStaleByTime(R(t.staleTime,e))}function he(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],i=t.state.data?.pageParams||[];let l={pages:[],pageParams:[]},s=0;const u=async()=>{let n=!1;const u=Q(t.options,t.fetchOptions),c=async(e,r,o)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const a=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:o?"backward":"forward",meta:t.options.meta};return(e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)})})(e),e})(),i=await u(a),{maxPages:l}=t.options,s=o?W:V;return{pages:s(e.pages,i,l),pageParams:s(e.pageParams,r,l)}};if(o&&a.length){const e="backward"===o,t={pages:a,pageParams:i},n=(e?ge:me)(r,t);l=await c(t,n,e)}else{const t=e??a.length;do{const e=0===s?i[0]??r.initialPageParam:me(r,l);if(s>0&&null==e)break;l=await c(l,e),s++}while(s<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=u}}}function me(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function ge(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function ye(e,t){return!!t&&null!=me(e,t)}function be(e,t){return!(!t||!e.getPreviousPageParam)&&null!=ge(e,t)}var ve=class extends re{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#o({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=ne({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#o({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#o({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r="pending"===this.state.status,o=!this.#r.canStart();try{if(r)t();else{this.#o({type:"pending",variables:e,isPaused:o}),await(this.#n.config.onMutate?.(e,this,n));const t=await(this.options.onMutate?.(e,n));t!==this.state.context&&this.#o({type:"pending",context:t,variables:e,isPaused:o})}const a=await this.#r.start();return await(this.#n.config.onSuccess?.(a,e,this.state.context,this,n)),await(this.options.onSuccess?.(a,e,this.state.context,n)),await(this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n)),await(this.options.onSettled?.(a,null,e,this.state.context,n)),this.#o({type:"success",data:a}),a}catch(t){try{throw await(this.#n.config.onError?.(t,e,this.state.context,this,n)),await(this.options.onError?.(t,e,this.state.context,n)),await(this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)),await(this.options.onSettled?.(void 0,t,e,this.state.context,n)),t}finally{this.#o({type:"error",error:t})}}finally{this.#n.runNext(this)}}#o(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),K.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};var we=class extends k{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const r=new ve({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);const t=ke(e);if("string"==typeof t){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=ke(e);if("string"==typeof t){const n=this.#t.get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=ke(e);if("string"==typeof t){const n=this.#t.get(t)?.find(e=>"pending"===e.state.status);return!n||n===e}return!0}runNext(e){const t=ke(e);return"string"==typeof t?this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){K.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>N(t,e))}findAll(e={}){return this.getAll().filter(t=>N(e,t))}notify(e){K.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return K.batch(()=>Promise.all(e.map(e=>e.continue().catch(I))))}};function ke(e){return e.options.scope?.id}var Se=class extends k{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,o=t.queryHash??L(r,t);let a=this.get(o);return a||(a=new ae({client:e,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){K.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>O(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>O(e,t)):t}notify(e){K.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){K.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){K.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},xe=b();const Ce=n(xe),Ae=e({__proto__:null,default:Ce},[xe]);var Ee=xe.createContext(void 0),Ie=e=>{const t=xe.useContext(Ee);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Te=({client:e,children:t})=>(xe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),w.jsx(Ee.Provider,{value:e,children:t})),_e=xe.createContext(!1);_e.Provider;var Re=xe.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Pe=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()}),Oe={};function Ne(e,t,n){if("production"!==Oe.NODE_ENV&&("object"!=typeof e||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const r=xe.useContext(_e),o=xe.useContext(Re),a=Ie(n),i=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(i),"production"!==Oe.NODE_ENV&&(i.queryFn||console.error(`[${i.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),i._optimisticResults=r?"isRestoring":"optimistic",(e=>{if(e.suspense){const t=e=>"static"===e?e:Math.max(e??1e3,1e3),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>t(n(...e)):t(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}})(i),((e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))})(i,o),(e=>{xe.useEffect(()=>{e.clearReset()},[e])})(o);const l=!a.getQueryCache().get(i.queryHash),[s]=xe.useState(()=>new t(a,i)),u=s.getOptimisticResult(i),c=!r&&!1!==e.subscribed;if(xe.useSyncExternalStore(xe.useCallback(e=>{const t=c?s.subscribe(K.batchCalls(e)):I;return s.updateResult(),t},[s,c]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),xe.useEffect(()=>{s.setOptions(i)},[i,s]),((e,t)=>e?.suspense&&t.isPending)(i,u))throw Pe(i,s,o);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&void 0===e.data||function(e,t){return"function"==typeof e?e(...t):!!e}(n,[e.error,r])))({result:u,errorResetBoundary:o,throwOnError:i.throwOnError,query:a.getQueryCache().get(i.queryHash),suspense:i.suspense}))throw u.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(i,u),i.experimental_prefetchInRender&&!E&&((e,t)=>e.isLoading&&e.isFetching&&!t)(u,r)&&(l?Pe(i,s,o):a.getQueryCache().get(i.queryHash)?.promise)?.catch(I).finally(()=>{s.updateResult()}),i.notifyOnChangeProps?u:s.trackResult(u)}function Le(e,t){return Ne(e,ue,t)}var ze={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return De(this.context.count)},getNextContextId(){return De(this.context.count++)}};function De(e){const t=String(e),n=t.length-1;return ze.context.id+(n?String.fromCharCode(96+n):"")+t}function je(e){ze.context=e}var Me=Symbol("solid-proxy"),Fe="function"==typeof Proxy,qe=Symbol("solid-track"),Ue={equals:(e,t)=>e===t},He=Et,Be=1,Ve=2,We={owned:null,cleanups:null,context:null,owner:null},Ge={},Qe=null,Ye=null,$e=null,Ze=null,Ke=null,Je=0;function Xe(e,t){const n=$e,r=Qe,o=0===e.length,a=void 0===t?r:t,i=o?We:{owned:null,cleanups:null,context:a?a.context:null,owner:a},l=o?e:()=>e(()=>lt(()=>Rt(i)));Qe=i,$e=null;try{return At(l,!0)}finally{$e=n,Qe=r}}function et(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},Ue,t):Ue).equals||void 0};return[wt.bind(n),e=>("function"==typeof e&&(e=e(n.value)),kt(n,e))]}function tt(e,t,n){St(xt(e,t,!0,Be))}function nt(e,t,n){St(xt(e,t,!1,Be))}function rt(e,t,n){He=It;const r=xt(e,t,!1,Be);(!n||!n.render)&&(r.user=!0),Ke?Ke.push(r):St(r)}function ot(e,t,n){n=n?Object.assign({},Ue,n):Ue;const r=xt(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,St(r),wt.bind(r)}function at(e,t,n){let r,o,a;r=!0,o=e,a={};let i=null,l=Ge,s=null,u=!1,c="initialValue"in a,d=!1;const f=new Set,[p,h]=(a.storage||et)(a.initialValue),[m,g]=et(void 0),[y,b]=et(void 0,{equals:!1}),[v,w]=et(c?"ready":"unresolved");function k(e,t,n,r){return i===e&&(i=null,void 0!==r&&(c=!0),(e===l||t===l)&&a.onHydrated&&queueMicrotask(()=>a.onHydrated(r,{value:t})),l=Ge,function(e,t){At(()=>{void 0===t&&h(()=>e),w(void 0!==t?"errored":c?"ready":"unresolved"),g(t);for(const e of f.keys())e.decrement();f.clear()},!1)}(t,n)),t}function S(){const e=p(),t=m();if(void 0!==t&&!i)throw t;return $e&&$e.user,e}function x(e=!0){if(!1!==e&&u)return;u=!1;const t=d?d():r;if(null==t||!1===t)return void k(i,lt(p));let n;const a=l!==Ge?l:lt(()=>{try{return o(t,{value:p(),refetching:e})}catch(e){n=e}});if(void 0===n)return function(e){return e&&"object"==typeof e&&"then"in e}(a)?(i=a,"v"in a?(1===a.s?k(i,a.v,void 0,t):k(i,void 0,Pt(a.v),t),a):(u=!0,queueMicrotask(()=>u=!1),At(()=>{w(c?"refreshing":"pending"),b()},!1),a.then(e=>k(a,e,void 0,t),e=>k(a,void 0,Pt(e),t)))):(k(i,a,void 0,t),a);k(i,void 0,Pt(n),t)}ze.context&&(s=ze.getNextContextId(),"initial"===a.ssrLoadFrom?l=a.initialValue:ze.load&&ze.has(s)&&(l=ze.load(s))),Object.defineProperties(S,{state:{get:()=>v()},error:{get:()=>m()},loading:{get(){const e=v();return"pending"===e||"refreshing"===e}},latest:{get(){if(!c)return S();const e=m();if(e&&!i)throw e;return p()}}});let C=Qe;return d?tt(()=>(C=Qe,x(!1))):x(!1),[S,{refetch:e=>ft(C,()=>x(e)),mutate:h}]}function it(e){return At(e,!1)}function lt(e){if(null===$e)return e();const t=$e;$e=null;try{return e()}finally{$e=t}}function st(e,t,n){const r=Array.isArray(e);let o,a=n&&n.defer;return n=>{let i;if(r){i=Array(e.length);for(let t=0;t<e.length;t++)i[t]=e[t]()}else i=e();if(a)return a=!1,n;const l=lt(()=>t(i,o,n));return o=i,l}}function ut(e){rt(()=>lt(e))}function ct(e){return null===Qe||(null===Qe.cleanups?Qe.cleanups=[e]:Qe.cleanups.push(e)),e}function dt(){return Qe}function ft(e,t){const n=Qe,r=$e;Qe=e,$e=null;try{return At(t,!0)}catch(e){Ot(e)}finally{Qe=n,$e=r}}function pt(e){const t=$e,n=Qe;return Promise.resolve().then(()=>($e=t,Qe=n,At(e,!1),void($e=Qe=null)))}var[ht,mt]=et(!1);function gt(){return[ht,pt]}function yt(e,t){const n=Symbol("context");return{id:n,Provider:Lt(n),defaultValue:e}}function bt(e){let t;return Qe&&Qe.context&&void 0!==(t=Qe.context[e.id])?t:e.defaultValue}function vt(e){const t=ot(e),n=ot(()=>Nt(t()));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}function wt(){if(this.sources&&this.state)if(this.state===Be)St(this);else{const e=Ze;Ze=null,At(()=>Tt(this),!1),Ze=e}if($e){const e=this.observers?this.observers.length:0;$e.sources?($e.sources.push(this),$e.sourceSlots.push(e)):($e.sources=[this],$e.sourceSlots=[e]),this.observers?(this.observers.push($e),this.observerSlots.push($e.sources.length-1)):(this.observers=[$e],this.observerSlots=[$e.sources.length-1])}return this.value}function kt(e,t,n){let r=e.value;return(!e.comparator||!e.comparator(r,t))&&(e.value=t,e.observers&&e.observers.length&&At(()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=Ye&&Ye.running;r&&Ye.disposed.has(n),(r?!n.tState:!n.state)&&(n.pure?Ze.push(n):Ke.push(n),n.observers&&_t(n)),r||(n.state=Be)}if(Ze.length>1e6)throw Ze=[],new Error},!1)),t}function St(e){if(!e.fn)return;Rt(e);const t=Je;!function(e,t,n){let r;const o=Qe,a=$e;$e=Qe=e;try{r=e.fn(t)}catch(t){return e.pure&&(e.state=Be,e.owned&&e.owned.forEach(Rt),e.owned=null),e.updatedAt=n+1,Ot(t)}finally{$e=a,Qe=o}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?kt(e,r):e.value=r,e.updatedAt=n)}(e,e.value,t)}function xt(e,t,n,r=Be,o){const a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:Qe,context:Qe?Qe.context:null,pure:n};return null===Qe||Qe!==We&&(Qe.owned?Qe.owned.push(a):Qe.owned=[a]),a}function Ct(e){if(0===e.state)return;if(e.state===Ve)return Tt(e);if(e.suspense&<(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<Je);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if((e=t[n]).state===Be)St(e);else if(e.state===Ve){const n=Ze;Ze=null,At(()=>Tt(e,t[0]),!1),Ze=n}}function At(e,t){if(Ze)return e();let n=!1;t||(Ze=[]),Ke?n=!0:Ke=[],Je++;try{const t=e();return function(e){if(Ze&&(Et(Ze),Ze=null),e)return;const t=Ke;Ke=null,t.length&&At(()=>He(t),!1)}(n),t}catch(e){n||(Ke=null),Ze=null,Ot(e)}}function Et(e){for(let t=0;t<e.length;t++)Ct(e[t])}function It(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:Ct(r)}if(ze.context){if(ze.count)return ze.effects||(ze.effects=[]),void ze.effects.push(...e.slice(0,n));je()}for(ze.effects&&(ze.done||!ze.count)&&(e=[...ze.effects,...e],n+=ze.effects.length,delete ze.effects),t=0;t<n;t++)Ct(e[t])}function Tt(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const r=e.sources[n];if(r.sources){const e=r.state;e===Be?r!==t&&(!r.updatedAt||r.updatedAt<Je)&&Ct(r):e===Ve&&Tt(r,t)}}}function _t(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=Ve,n.pure?Ze.push(n):Ke.push(n),n.observers&&_t(n))}}function Rt(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)Rt(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)Rt(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function Pt(e){return e instanceof Error?e:new Error("string"==typeof e?e:"Unknown error",{cause:e})}function Ot(e,t=Qe){throw Pt(e)}function Nt(e){if("function"==typeof e&&!e.length)return Nt(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=Nt(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function Lt(e,t){return function(t){let n;return nt(()=>n=lt(()=>(Qe.context={...Qe.context,[e]:t.value},vt(()=>t.children))),void 0),n}}var zt=Symbol("fallback");function Dt(e){for(let t=0;t<e.length;t++)e[t]()}function jt(e,t){return lt(()=>e(t||{}))}function Mt(){return!0}var Ft={get:(e,t,n)=>t===Me?n:e.get(t),has:(e,t)=>t===Me||e.has(t),set:Mt,deleteProperty:Mt,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:Mt,deleteProperty:Mt}),ownKeys:e=>e.keys()};function qt(e){return(e="function"==typeof e?e():e)?e:{}}function Ut(){for(let e=0,t=this.length;e<t;++e){const t=this[e]();if(void 0!==t)return t}}function Ht(...e){let t=!1;for(let n=0;n<e.length;n++){const r=e[n];t=t||!!r&&Me in r,e[n]="function"==typeof r?(t=!0,ot(r)):r}if(Fe&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=qt(e[n])[t];if(void 0!==r)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in qt(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(qt(e[n])));return[...new Set(t)]}},Ft);const n={},r=Object.create(null);for(let t=e.length-1;t>=0;t--){const o=e[t];if(!o)continue;const a=Object.getOwnPropertyNames(o);for(let e=a.length-1;e>=0;e--){const t=a[e];if("__proto__"===t||"constructor"===t)continue;const i=Object.getOwnPropertyDescriptor(o,t);if(r[t]){const e=n[t];e&&(i.get?e.push(i.get.bind(o)):void 0!==i.value&&e.push(()=>i.value))}else r[t]=i.get?{enumerable:!0,configurable:!0,get:Ut.bind(n[t]=[i.get.bind(o)])}:void 0!==i.value?i:void 0}}const o={},a=Object.keys(r);for(let e=a.length-1;e>=0;e--){const t=a[e],n=r[t];n&&n.get?Object.defineProperty(o,t,n):o[t]=n?n.value:void 0}return o}function Bt(e,...t){if(Fe&&Me in e){const n=new Set(t.length>1?t.flat():t[0]),r=t.map(t=>new Proxy({get:n=>t.includes(n)?e[n]:void 0,has:n=>t.includes(n)&&n in e,keys:()=>t.filter(t=>t in e)},Ft));return r.push(new Proxy({get:t=>n.has(t)?void 0:e[t],has:t=>!n.has(t)&&t in e,keys:()=>Object.keys(e).filter(e=>!n.has(e))},Ft)),r}const n={},r=t.map(()=>({}));for(const o of Object.getOwnPropertyNames(e)){const a=Object.getOwnPropertyDescriptor(e,o),i=!a.get&&!a.set&&a.enumerable&&a.writable&&a.configurable;let l=!1,s=0;for(const e of t)e.includes(o)&&(l=!0,i?r[s][o]=a.value:Object.defineProperty(r[s],o,a)),++s;l||(i?n[o]=a.value:Object.defineProperty(n,o,a))}return[...r,n]}var Vt=0;function Wt(){return ze.context?ze.getNextContextId():"cl-"+Vt++}var Gt=e=>`Stale read from <${e}>.`;function Qt(e){const t="fallback"in e&&{fallback:()=>e.fallback};return ot(function(e,t,n={}){let r=[],o=[],a=[],i=0,l=t.length>1?[]:null;return ct(()=>Dt(a)),()=>{let s,u,c=e()||[],d=c.length;return c[qe],lt(()=>{let e,t,p,h,m,g,y,b,v;if(0===d)0!==i&&(Dt(a),a=[],r=[],o=[],i=0,l&&(l=[])),n.fallback&&(r=[zt],o[0]=Xe(e=>(a[0]=e,n.fallback())),i=1);else if(0===i){for(o=new Array(d),u=0;u<d;u++)r[u]=c[u],o[u]=Xe(f);i=d}else{for(p=new Array(d),h=new Array(d),l&&(m=new Array(d)),g=0,y=Math.min(i,d);g<y&&r[g]===c[g];g++);for(y=i-1,b=d-1;y>=g&&b>=g&&r[y]===c[b];y--,b--)p[b]=o[y],h[b]=a[y],l&&(m[b]=l[y]);for(e=new Map,t=new Array(b+1),u=b;u>=g;u--)v=c[u],s=e.get(v),t[u]=void 0===s?-1:s,e.set(v,u);for(s=g;s<=y;s++)v=r[s],u=e.get(v),void 0!==u&&-1!==u?(p[u]=o[s],h[u]=a[s],l&&(m[u]=l[s]),u=t[u],e.set(v,u)):a[s]();for(u=g;u<d;u++)u in p?(o[u]=p[u],a[u]=h[u],l&&(l[u]=m[u],l[u](u))):o[u]=Xe(f);o=o.slice(0,i=d),r=c.slice(0)}return o});function f(e){if(a[u]=e,l){const[e,n]=et(u);return l[u]=n,t(c[u],e)}return t(c[u])}}}(()=>e.each,e.children,t||void 0))}function Yt(e){const t="fallback"in e&&{fallback:()=>e.fallback};return ot(function(e,t,n={}){let r,o=[],a=[],i=[],l=[],s=0;return ct(()=>Dt(i)),()=>{const u=e()||[],c=u.length;return u[qe],lt(()=>{if(0===c)return 0!==s&&(Dt(i),i=[],o=[],a=[],s=0,l=[]),n.fallback&&(o=[zt],a[0]=Xe(e=>(i[0]=e,n.fallback())),s=1),a;for(o[0]===zt&&(i[0](),i=[],o=[],a=[],s=0),r=0;r<c;r++)r<o.length&&o[r]!==u[r]?l[r](()=>u[r]):r>=o.length&&(a[r]=Xe(d));for(;r<o.length;r++)i[r]();return s=l.length=i.length=c,o=u.slice(0),a=a.slice(0,s)});function d(e){i[r]=e;const[n,o]=et(u[r]);return l[r]=o,t(n,r)}}}(()=>e.each,e.children,t||void 0))}function $t(e){const t=e.keyed,n=ot(()=>e.when,void 0,void 0),r=t?n:ot(n,void 0,{equals:(e,t)=>!e==!t});return ot(()=>{const o=r();if(o){const a=e.children;return"function"==typeof a&&a.length>0?lt(()=>a(t?o:()=>{if(!lt(r))throw Gt("Show");return n()})):a}return e.fallback},void 0,void 0)}function Zt(e){const t=vt(()=>e.children),n=ot(()=>{const e=t(),n=Array.isArray(e)?e:[e];let r=()=>{};for(let e=0;e<n.length;e++){const t=e,o=n[e],a=r,i=ot(()=>a()?void 0:o.when,void 0,void 0),l=o.keyed?i:ot(i,void 0,{equals:(e,t)=>!e==!t});r=()=>a()||(l()?[t,i,o]:void 0)}return r});return ot(()=>{const t=n()();if(!t)return e.fallback;const[r,o,a]=t,i=a.children;return"function"==typeof i&&i.length>0?lt(()=>i(a.keyed?o():()=>{if(lt(n)()?.[0]!==r)throw Gt("Match");return o()})):i},void 0,void 0)}function Kt(e){return e}var Jt=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),Xt=new Set(["innerHTML","textContent","innerText","children"]),en=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),tn=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});var nn=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),rn=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","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","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),on={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},an=e=>ot(()=>e());var ln="_$DX_DELEGATE";function sn(e,t,n,r){let o;const a=()=>(o||(o=(()=>{const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild})())).cloneNode(!0);return a.cloneNode=a,a}function un(e,t=window.document){const n=t[ln]||(t[ln]=new Set);for(let r=0,o=e.length;r<o;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,kn))}}function cn(e=window.document){if(e[ln]){for(let t of e[ln].keys())e.removeEventListener(t,kn);delete e[ln]}}function dn(e,t,n){bn(e)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}function fn(e,t){bn(e)||(null==t?e.removeAttribute("class"):e.className=t)}function pn(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,"function"!=typeof n&&n)}function hn(e,t={},n,r){const o={};return r||nt(()=>o.children=Sn(e,t.children,o.children)),nt(()=>"function"==typeof t.ref&&mn(t.ref,e)),nt(()=>function(e,t,n,r,o={},a=!1){t||(t={});for(const r in o)if(!(r in t)){if("children"===r)continue;o[r]=wn(e,r,null,o[r],n,a,t)}for(const r in t){if("children"===r)continue;const i=t[r];o[r]=wn(e,r,i,o[r],n,a,t)}}(e,t,n,0,o,!0)),o}function mn(e,t,n){return lt(()=>e(t,n))}function gn(e,t,n,r){if(void 0!==n&&!r&&(r=[]),"function"!=typeof t)return Sn(e,t,r,n);nt(r=>Sn(e,t(),r,n),r)}function yn(e){let t,n;return bn()&&(t=ze.registry.get(n=ze.getNextContextId()))?(ze.completed&&ze.completed.add(t),ze.registry.delete(n),t):e()}function bn(e){return!!ze.context&&!ze.done&&(!e||e.isConnected)}function vn(e,t,n){const r=t.trim().split(/\s+/);for(let t=0,o=r.length;t<o;t++)e.classList.toggle(r[t],n)}function wn(e,t,n,r,o,a,i){let l,s,u,c,d;if("style"===t)return function(e,t,n){if(!t)return n?dn(e,"style"):t;const r=e.style;if("string"==typeof t)return r.cssText=t;let o,a;for(a in"string"==typeof n&&(r.cssText=n=void 0),n||(n={}),t||(t={}),n)null==t[a]&&r.removeProperty(a),delete n[a];for(a in t)o=t[a],o!==n[a]&&(r.setProperty(a,o),n[a]=o);return n}(e,n,r);if("classList"===t)return function(e,t,n={}){const r=Object.keys(t||{}),o=Object.keys(n);let a,i;for(a=0,i=o.length;a<i;a++){const r=o[a];!r||"undefined"===r||t[r]||(vn(e,r,!1),delete n[r])}for(a=0,i=r.length;a<i;a++){const o=r[a],i=!!t[o];!o||"undefined"===o||n[o]===i||!i||(vn(e,o,!0),n[o]=i)}return n}(e,n,r);if(n===r)return r;if("ref"===t)a||n(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);r&&e.removeEventListener(o,r,"function"!=typeof r&&r),n&&e.addEventListener(o,n,"function"!=typeof n&&n)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);r&&e.removeEventListener(o,r,!0),n&&e.addEventListener(o,n,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),a=nn.has(o);if(!a&&r){const t=Array.isArray(r)?r[0]:r;e.removeEventListener(o,t)}(a||n)&&(pn(e,o,n,a),a&&un([o]))}else if("attr:"===t.slice(0,5))dn(e,t.slice(5),n);else if("bool:"===t.slice(0,5))!function(e,t,n){bn(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}(e,t.slice(5),n);else if((d="prop:"===t.slice(0,5))||(u=Xt.has(t))||!o&&((c=function(e,t){const n=tn[e];return"object"==typeof n?n[t]?n.$:void 0:n}(t,e.tagName))||(s=Jt.has(t)))||(l=e.nodeName.includes("-")||"is"in i)){if(d)t=t.slice(5),s=!0;else if(bn(e))return n;"class"===t||"className"===t?fn(e,n):!l||s||u?e[c||t]=n:e[function(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}(t)]=n}else{const r=o&&t.indexOf(":")>-1&&on[t.split(":")[0]];r?function(e,t,n,r){bn(e)||(null==r?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}(e,r,t,n):dn(e,en[t]||t,n)}return n}function kn(e){if(ze.registry&&ze.events&&ze.events.find(([t,n])=>n===e))return;let t=e.target;const n=`$$${e.type}`,r=e.target,o=e.currentTarget,a=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),i=()=>{const r=t[n];if(r&&!t.disabled){const o=t[`${n}Data`];if(void 0!==o?r.call(t,o,e):r.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},l=()=>{for(;i()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),ze.registry&&!ze.done&&(ze.done=_$HY.done=!0),e.composedPath){const n=e.composedPath();a(n[0]);for(let e=0;e<n.length-2&&(t=n[e],i());e++){if(t._$host){t=t._$host,l();break}if(t.parentNode===o)break}}else l();a(r)}function Sn(e,t,n,r,o){const a=bn(e);if(a){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){const r=n[e];8===r.nodeType&&"!$"===r.data.slice(0,2)?r.remove():t.push(r)}n=t}for(;"function"==typeof n;)n=n();if(t===n)return n;const i=typeof t,l=void 0!==r;if(e=l&&n[0]&&n[0].parentNode||e,"string"===i||"number"===i){if(a||"number"===i&&(t=t.toString())===n)return n;if(l){let o=n[0];o&&3===o.nodeType?o.data!==t&&(o.data=t):o=document.createTextNode(t),n=An(e,n,r,o)}else n=""!==n&&"string"==typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===i){if(a)return n;n=An(e,n,r)}else{if("function"===i)return nt(()=>{let o=t();for(;"function"==typeof o;)o=o();n=Sn(e,o,n,r)}),()=>n;if(Array.isArray(t)){const i=[],s=n&&Array.isArray(n);if(xn(i,t,n,o))return nt(()=>n=Sn(e,i,n,r,!0)),()=>n;if(a){if(!i.length)return n;if(void 0===r)return n=[...e.childNodes];let t=i[0];if(t.parentNode!==e)return n;const o=[t];for(;(t=t.nextSibling)!==r;)o.push(t);return n=o}if(0===i.length){if(n=An(e,n,r),l)return n}else s?0===n.length?Cn(e,i,r):function(e,t,n){let r=n.length,o=t.length,a=r,i=0,l=0,s=t[o-1].nextSibling,u=null;for(;i<o||l<a;)if(t[i]!==n[l]){for(;t[o-1]===n[a-1];)o--,a--;if(o===i){const t=a<r?l?n[l-1].nextSibling:n[a-l]:s;for(;l<a;)e.insertBefore(n[l++],t)}else if(a===l)for(;i<o;)(!u||!u.has(t[i]))&&t[i].remove(),i++;else if(t[i]===n[a-1]&&n[l]===t[o-1]){const r=t[--o].nextSibling;e.insertBefore(n[l++],t[i++].nextSibling),e.insertBefore(n[--a],r),t[o]=n[a]}else{if(!u){u=new Map;let e=l;for(;e<a;)u.set(n[e],e++)}const r=u.get(t[i]);if(null!=r)if(l<r&&r<a){let s,c=i,d=1;for(;++c<o&&c<a&&null!=(s=u.get(t[c]))&&s===r+d;)d++;if(d>r-l){const o=t[i];for(;l<r;)e.insertBefore(n[l++],o)}else e.replaceChild(n[l++],t[i++])}else i++;else t[i++].remove()}}else i++,l++}(e,n,i):(n&&An(e),Cn(e,i));n=i}else if(t.nodeType){if(a&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=An(e,n,r,t);An(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}}return n}function xn(e,t,n,r){let o=!1;for(let a=0,i=t.length;a<i;a++){let i,l=t[a],s=n&&n[e.length];if(null!=l&&!0!==l&&!1!==l)if("object"==(i=typeof l)&&l.nodeType)e.push(l);else if(Array.isArray(l))o=xn(e,l,s)||o;else if("function"===i)if(r){for(;"function"==typeof l;)l=l();o=xn(e,Array.isArray(l)?l:[l],Array.isArray(s)?s:[s])||o}else e.push(l),o=!0;else{const t=String(l);s&&3===s.nodeType&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}return o}function Cn(e,t,n=null){for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n)}function An(e,t,n,r){if(void 0===n)return e.textContent="";const o=r||document.createTextNode("");if(t.length){let r=!1;for(let a=t.length-1;a>=0;a--){const i=t[a];if(o!==i){const t=i.parentNode===e;r||a?t&&i.remove():t?e.replaceChild(o,i):e.insertBefore(o,n)}else r=!0}}else e.insertBefore(o,n);return[o]}function En(e,t=!1){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}function In(e){const{useShadow:t}=e,n=document.createTextNode(""),r=dt();let o,a=!!ze.context;return rt(()=>{a&&(dt().user=a=!1),o||(o=ft(r,()=>ot(()=>e.children)));const i=e.mount||document.body;if(i instanceof HTMLHeadElement){const[e,t]=et(!1),n=()=>t(!0);Xe(t=>gn(i,()=>e()?t():o(),null)),ct(n)}else{const r=En(e.isSVG?"g":"div",e.isSVG),a=t&&r.attachShadow?r.attachShadow({mode:"open"}):r;Object.defineProperty(r,"_$host",{get:()=>n.parentNode,configurable:!0}),gn(a,o),i.appendChild(r),e.ref&&e.ref(r),ct(()=>i.removeChild(r))}},void 0,{render:!a}),n}function Tn(e){const[,t]=Bt(e,["component"]);return function(e,t){const n=ot(e);return ot(()=>{const e=n();switch(typeof e){case"function":return lt(()=>e(t));case"string":const n=rn.has(e),r=ze.context?yn():En(e,n);return hn(r,t,n),r}})}(()=>e.component,t)}var _n=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Rn=class{constructor(e){this.generateIdentifier=e,this.kv=new _n}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Pn=class extends Rn{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){"object"==typeof t?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};function On(e,t){const n=function(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}(e);if("find"in n)return n.find(t);const r=n;for(let e=0;e<r.length;e++){const n=r[e];if(t(n))return n}}function Nn(e,t){Object.entries(e).forEach(([e,n])=>t(n,e))}function Ln(e,t){return-1!==e.indexOf(t)}function zn(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var Dn=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return On(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}},jn=e=>typeof e>"u",Mn=e=>"object"==typeof e&&null!==e&&e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype),Fn=e=>Mn(e)&&0===Object.keys(e).length,qn=e=>Array.isArray(e),Un=e=>e instanceof Map,Hn=e=>e instanceof Set,Bn=e=>"Symbol"===(e=>Object.prototype.toString.call(e).slice(8,-1))(e),Vn=e=>"number"==typeof e&&isNaN(e),Wn=e=>(e=>"boolean"==typeof e)(e)||(e=>null===e)(e)||jn(e)||(e=>"number"==typeof e&&!isNaN(e))(e)||(e=>"string"==typeof e)(e)||Bn(e),Gn=e=>e.replace(/\./g,"\\."),Qn=e=>e.map(String).map(Gn).join("."),Yn=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let o=e.charAt(r);"\\"!==o||"."!==e.charAt(r+1)?"."!==o?n+=o:(t.push(n),n=""):(n+=".",r++)}const r=n;return t.push(r),t};function $n(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Zn=[$n(jn,"undefined",()=>null,()=>{}),$n(e=>"bigint"==typeof e,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):e),$n(e=>e instanceof Date&&!isNaN(e.valueOf()),"Date",e=>e.toISOString(),e=>new Date(e)),$n(e=>e instanceof Error,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(t=>{n[t]=e[t]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(t=>{n[t]=e[t]}),n}),$n(e=>e instanceof RegExp,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),$n(Hn,"set",e=>[...e.values()],e=>new Set(e)),$n(Un,"map",e=>[...e.entries()],e=>new Map(e)),$n(e=>Vn(e)||(e=>e===1/0||e===-1/0)(e),"number",e=>Vn(e)?"NaN":e>0?"Infinity":"-Infinity",Number),$n(e=>0===e&&1/e==-1/0,"number",()=>"-0",Number),$n(e=>e instanceof URL,"URL",e=>e.toString(),e=>new URL(e))];function Kn(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Jn=Kn((e,t)=>!!Bn(e)&&!!t.symbolRegistry.getIdentifier(e),(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),Xn=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),er=Kn(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=Xn[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function tr(e,t){return!!e?.constructor&&!!t.classRegistry.getIdentifier(e.constructor)}var nr=Kn(tr,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(t=>{r[t]=e[t]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),rr=Kn((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),or=[nr,Jn,rr,er],ar=(e,t)=>{const n=zn(or,n=>n.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=zn(Zn,n=>n.isApplicable(e,t));return r?{value:r.transform(e,t),type:r.annotation}:void 0},ir={};Zn.forEach(e=>{ir[e.annotation]=e});var lr=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function sr(e){if(Ln(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Ln(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Ln(e,"constructor"))throw new Error("constructor is not allowed as a property")}var ur=(e,t,n)=>{if(sr(t),0===t.length)return n(e);let r=e;for(let e=0;e<t.length-1;e++){const n=t[e];if(qn(r)){r=r[+n]}else if(Mn(r))r=r[n];else if(Hn(r)){r=lr(r,+n)}else if(Un(r)){if(e===t.length-2)break;const o=+n,a=0==+t[++e]?"key":"value",i=lr(r,o);switch(a){case"key":r=i;break;case"value":r=r.get(i)}}}const o=t[t.length-1];if(qn(r)?r[+o]=n(r[+o]):Mn(r)&&(r[o]=n(r[o])),Hn(r)){const e=lr(r,+o),t=n(e);e!==t&&(r.delete(e),r.add(t))}if(Un(r)){const e=+t[t.length-2],a=lr(r,e);switch(0==+o?"key":"value"){case"key":{const e=n(a);r.set(e,r.get(a)),e!==a&&r.delete(a);break}case"value":r.set(a,n(r.get(a)))}}return e};function cr(e,t,n=[]){if(!e)return;if(!qn(e))return void Nn(e,(e,r)=>cr(e,t,[...n,...Yn(r)]));const[r,o]=e;o&&Nn(o,(e,r)=>{cr(e,t,[...n,...Yn(r)])}),t(r,n)}function dr(e,t,n){return cr(t,(t,r)=>{e=ur(e,r,e=>((e,t,n)=>{if(!qn(t)){const r=ir[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}switch(t[0]){case"symbol":return Jn.untransform(e,t,n);case"class":return nr.untransform(e,t,n);case"custom":return rr.untransform(e,t,n);case"typed-array":return er.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}})(e,t,n))}),e}function fr(e,t){function n(t,n){const r=((e,t)=>{sr(t);for(let n=0;n<t.length;n++){const r=t[n];if(Hn(e))e=lr(e,+r);else if(Un(e)){const o=+r,a=0==+t[++n]?"key":"value",i=lr(e,o);switch(a){case"key":e=i;break;case"value":e=e.get(i)}}else e=e[r]}return e})(e,Yn(n));t.map(Yn).forEach(t=>{e=ur(e,t,()=>r)})}if(qn(t)){const[r,o]=t;r.forEach(t=>{e=ur(e,Yn(t),()=>e)}),o&&Nn(o,n)}else Nn(t,n);return e}var pr=(e,t,n,r,o=[],a=[],i=new Map)=>{const l=Wn(e);if(!l){!function(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}(e,o,t);const n=i.get(e);if(n)return r?{transformedValue:null}:n}if(!((e,t)=>Mn(e)||qn(e)||Un(e)||Hn(e)||tr(e,t))(e,n)){const t=ar(e,n),r=t?{transformedValue:t.value,annotations:[t.type]}:{transformedValue:e};return l||i.set(e,r),r}if(Ln(a,e))return{transformedValue:null};const s=ar(e,n),u=s?.value??e,c=qn(u)?[]:{},d={};Nn(u,(l,s)=>{if("__proto__"===s||"constructor"===s||"prototype"===s)throw new Error(`Detected property ${s}. This is a prototype pollution risk, please remove it from your object.`);const u=pr(l,t,n,r,[...o,s],[...a,e],i);c[s]=u.transformedValue,qn(u.annotations)?d[s]=u.annotations:Mn(u.annotations)&&Nn(u.annotations,(e,t)=>{d[Gn(s)+"."+t]=e})});const f=Fn(d)?{transformedValue:c,annotations:s?[s.type]:void 0}:{transformedValue:c,annotations:s?[s.type,d]:d};return l||i.set(e,f),f};function hr(e){return Object.prototype.toString.call(e).slice(8,-1)}function mr(e){return"Array"===hr(e)}function gr(e,t={}){if(mr(e))return e.map(e=>gr(e,t));if(!function(e){if("Object"!==hr(e))return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(e))return e;return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce((n,r)=>{if(mr(t.props)&&!t.props.includes(r))return n;return function(e,t,n,r,o){const a={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";"enumerable"===a&&(e[t]=n),o&&"nonenumerable"===a&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}(n,r,gr(e[r],t),e,t.nonenumerable),n},{})}var yr=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Pn,this.symbolRegistry=new Rn(e=>e.description??""),this.customTransformerRegistry=new Dn,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=pr(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=function(e,t){const n={};let r;return e.forEach(e=>{if(e.length<=1)return;t||(e=e.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));const[o,...a]=e;0===o.length?r=a.map(Qn):n[Qn(o)]=a.map(Qn)}),r?Fn(n)?[r]:[r,n]:Fn(n)?void 0:n}(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=gr(t);return n?.values&&(r=dr(r,n.values,this)),n?.referentialEqualities&&(r=fr(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};yr.defaultInstance=new yr,yr.serialize=yr.defaultInstance.serialize.bind(yr.defaultInstance),yr.deserialize=yr.defaultInstance.deserialize.bind(yr.defaultInstance),yr.stringify=yr.defaultInstance.stringify.bind(yr.defaultInstance),yr.parse=yr.defaultInstance.parse.bind(yr.defaultInstance),yr.registerClass=yr.defaultInstance.registerClass.bind(yr.defaultInstance),yr.registerSymbol=yr.defaultInstance.registerSymbol.bind(yr.defaultInstance),yr.registerCustom=yr.defaultInstance.registerCustom.bind(yr.defaultInstance),yr.allowErrorProps=yr.defaultInstance.allowErrorProps.bind(yr.defaultInstance);var br=yr.serialize,vr=yr.stringify;function wr(e){return"fetching"===e.state.fetchStatus?"fetching":e.getObserversCount()?"paused"===e.state.fetchStatus?"paused":e.isStale()?"stale":"fresh":"inactive"}function kr(e,t){return`${e}${t.charAt(0).toUpperCase()+t.slice(1)}`}function Sr({queryState:e,observerCount:t,isStale:n}){return"fetching"===e.fetchStatus?"blue":t?"paused"===e.fetchStatus?"purple":n?"yellow":"green":"gray"}function xr({status:e,isPaused:t}){return t?"purple":"error"===e?"red":"pending"===e?"yellow":"success"===e?"green":"gray"}function Cr(e){return"fresh"===e?"green":"stale"===e?"yellow":"paused"===e?"purple":"inactive"===e?"gray":"blue"}var Ar=(e,t=!1)=>{const{json:n}=br(e);return JSON.stringify(n,null,t?2:void 0)},Er=e=>"idle"!==e.state.fetchStatus?0:e.getObserversCount()?e.isStale()?2:1:3,Ir=(e,t)=>e.state.dataUpdatedAt<t.state.dataUpdatedAt?1:-1,Tr={status:(e,t)=>Er(e)===Er(t)?Ir(e,t):Er(e)>Er(t)?1:-1,"query hash":(e,t)=>e.queryHash.localeCompare(t.queryHash),"last updated":Ir},_r=e=>e.state.isPaused?0:"error"===e.state.status?2:"pending"===e.state.status?1:3,Rr=(e,t)=>e.state.submittedAt<t.state.submittedAt?1:-1,Pr={status:(e,t)=>_r(e)===_r(t)?Rr(e,t):_r(e)>_r(t)?1:-1,"last updated":Rr},Or=e=>e*parseFloat(getComputedStyle(document.documentElement).fontSize),Nr=()=>{const[e,t]=et("dark");return ut(()=>{const e=window.matchMedia("(prefers-color-scheme: dark)");t(e.matches?"dark":"light");const n=e=>{t(e.matches?"dark":"light")};e.addEventListener("change",n),ct(()=>e.removeEventListener("change",n))}),e},Lr=(e,t,n)=>{if(0===t.length)return n;if(e instanceof Map){const r=new Map(e);if(1===t.length)return r.set(t[0],n),r;const[o,...a]=t;return r.set(o,Lr(r.get(o),a,n)),r}if(e instanceof Set){const r=Lr(Array.from(e),t,n);return new Set(r)}if(Array.isArray(e)){const r=[...e];if(1===t.length)return r[t[0]]=n,r;const[o,...a]=t;return r[o]=Lr(r[o],a,n),r}if(e instanceof Object){const r={...e};if(1===t.length)return r[t[0]]=n,r;const[o,...a]=t;return r[o]=Lr(r[o],a,n),r}return e},zr=(e,t)=>{if(e instanceof Map){const n=new Map(e);if(1===t.length)return n.delete(t[0]),n;const[r,...o]=t;return n.set(r,zr(n.get(r),o)),n}if(e instanceof Set){const n=zr(Array.from(e),t);return new Set(n)}if(Array.isArray(e)){const n=[...e];if(1===t.length)return n.filter((e,n)=>n.toString()!==t[0]);const[r,...o]=t;return n[r]=zr(n[r],o),n}if(e instanceof Object){const n={...e};if(1===t.length)return delete n[t[0]],n;const[r,...o]=t;return n[r]=zr(n[r],o),n}return e},Dr=class{#e;#t;#n;#r;#o=!1;#a;#i;#l;#s;#u;#c;#d;#f;#p;constructor(e){const{client:t,queryFlavor:n,version:r,onlineManager:o,buttonPosition:a,position:i,initialIsOpen:l,errorTypes:s,styleNonce:u,shadowDOMTarget:c,hideDisabledQueries:d}=e;this.#e=et(t),this.#n=n,this.#r=r,this.#t=o,this.#a=u,this.#i=c,this.#l=et(a),this.#s=et(i),this.#u=et(l),this.#c=et(s),this.#d=et(d)}setButtonPosition(e){this.#l[1](e)}setPosition(e){this.#s[1](e)}setInitialIsOpen(e){this.#u[1](e)}setErrorTypes(e){this.#c[1](e)}setClient(e){this.#e[1](e)}mount(e){if(this.#o)throw new Error("Devtools is already mounted");const t=function(e,t,n,r={}){let o;return Xe(r=>{o=r,t===document?e():gn(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{o(),t.textContent=""}}(()=>{const e=this,[t]=this.#l,[n]=this.#s,[r]=this.#u,[o]=this.#c,[a]=this.#d,[i]=this.#e;let l;return this.#f?l=this.#f:(l=function(e){let t,n;const r=r=>{const o=ze.context;if(o){const[r,a]=et();ze.count||(ze.count=0),ze.count++,(n||(n=e())).then(e=>{!ze.done&&je(o),ze.count--,a(()=>e.default),je()}),t=r}else if(!t){const[r]=at(()=>(n||(n=e())).then(e=>e.default));t=r}let a;return ot(()=>(a=t())?lt(()=>{if(!o||ze.done)return a(r);const e=ze.context;je(o);const t=a(r);return je(e),t}):"")};return r.preload=()=>n||((n=e()).then(e=>t=()=>e.default),n),r}(()=>import("./NCMVHL6D-CBCgRwdZ.js")),this.#f=l),((e,t)=>{if(!e||document.querySelector("#_goober")||t?.querySelector("#_goober"))return;const n=document.createElement("style"),r=document.createTextNode("");n.appendChild(r),n.id="_goober",n.setAttribute("nonce",e),t?t.appendChild(n):document.head.appendChild(n)})(this.#a,this.#i),jt(l,Ht({get queryFlavor(){return e.#n},get version(){return e.#r},get onlineManager(){return e.#t},get shadowDOMTarget(){return e.#i}},{get client(){return i()},get buttonPosition(){return t()},get position(){return n()},get initialIsOpen(){return r()},get errorTypes(){return o()},get hideDisabledQueries(){return a()}}))},e);this.#o=!0,this.#p=t}unmount(){if(!this.#o)throw new Error("Devtools is not mounted");this.#p?.(),this.#o=!1}};var jr="development"!=={}.NODE_ENV?function(){return null}:function(e){const t=Ie(e.client),n=xe.useRef(null),{buttonPosition:r,position:o,initialIsOpen:a,errorTypes:i,styleNonce:l,shadowDOMTarget:s,hideDisabledQueries:u}=e,[c]=xe.useState(new Dr({client:t,queryFlavor:"React Query",version:"5",onlineManager:J,buttonPosition:r,position:o,initialIsOpen:a,errorTypes:i,styleNonce:l,shadowDOMTarget:s,hideDisabledQueries:u}));return xe.useEffect(()=>{c.setClient(t)},[t,c]),xe.useEffect(()=>{r&&c.setButtonPosition(r)},[r,c]),xe.useEffect(()=>{o&&c.setPosition(o)},[o,c]),xe.useEffect(()=>{c.setInitialIsOpen(a||!1)},[a,c]),xe.useEffect(()=>{c.setErrorTypes(i||[])},[i,c]),xe.useEffect(()=>(n.current&&c.mount(n.current),()=>{c.unmount()}),[c]),w.jsx("div",{dir:"ltr",className:"tsqd-parent-container",ref:n})};class Mr extends Error{response;request;options;constructor(e,t,n){const r=`${e.status||0===e.status?e.status:""} ${e.statusText??""}`.trim();super(`Request failed with ${r?`status code ${r}`:"an unknown error"}: ${t.method} ${t.url}`),this.name="HTTPError",this.response=e,this.request=t,this.options=n}}class Fr extends Error{name="NonError";value;constructor(e){let t="Non-error value was thrown";try{"string"==typeof e?t=e:e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message&&(t=e.message)}catch{}super(t),this.value=e}}const qr=(()=>{let e=!1,t=!1;const n="function"==typeof globalThis.ReadableStream,r="function"==typeof globalThis.Request;if(n&&r)try{t=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type")}catch(e){if(e instanceof Error&&"unsupported BodyInit type"===e.message)return!1;throw e}return e&&!t})(),Ur="function"==typeof globalThis.AbortController,Hr="function"==typeof globalThis.AbortSignal&&"function"==typeof globalThis.AbortSignal.any,Br="function"==typeof globalThis.ReadableStream,Vr="function"==typeof globalThis.FormData,Wr=["get","post","put","patch","head","delete"],Gr={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},Qr=2147483647,Yr=(new TextEncoder).encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,$r=Symbol("stop"),Zr={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},Kr={next:!0},Jr={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0},Xr=(e,t,n)=>{let r,o=0;return e.pipeThrough(new TransformStream({transform(e,a){if(a.enqueue(e),r){o+=r.byteLength;let e=0===t?0:o/t;e>=1&&(e=1-Number.EPSILON),n?.({percent:e,totalBytes:Math.max(t,o),transferredBytes:o},r)}r=e},flush(){r&&(o+=r.byteLength,n?.({percent:1,totalBytes:Math.max(t,o),transferredBytes:o},r))}}))},eo=(e,t,n)=>{if(!e.body)return e;const r=(e=>{if(!e)return 0;if(e instanceof FormData){let t=0;for(const[n,r]of e)t+=Yr,t+=(new TextEncoder).encode(`Content-Disposition: form-data; name="${n}"`).length,t+="string"==typeof r?(new TextEncoder).encode(r).length:r.size;return t}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength;if("string"==typeof e)return(new TextEncoder).encode(e).length;if(e instanceof URLSearchParams)return(new TextEncoder).encode(e.toString()).length;if("byteLength"in e)return e.byteLength;if("object"==typeof e&&null!==e)try{const t=JSON.stringify(e);return(new TextEncoder).encode(t).length}catch{return 0}return 0})(n??e.body);return new Request(e,{duplex:"half",body:Xr(e.body,r,t)})},to=e=>null!==e&&"object"==typeof e,no=(...e)=>{for(const t of e)if((!to(t)||Array.isArray(t))&&void 0!==t)throw new TypeError("The `options` argument must be an object");return lo({},...e)},ro=(e={},t={})=>{const n=new globalThis.Headers(e),r=t instanceof globalThis.Headers,o=new globalThis.Headers(t);for(const[e,t]of o.entries())r&&"undefined"===t||void 0===t?n.delete(e):n.set(e,t);return n};function oo(e,t,n){return Object.hasOwn(t,n)&&void 0===t[n]?[]:lo(e[n]??[],t[n]??[])}const ao=(e={},t={})=>({beforeRequest:oo(e,t,"beforeRequest"),beforeRetry:oo(e,t,"beforeRetry"),afterResponse:oo(e,t,"afterResponse"),beforeError:oo(e,t,"beforeError")}),io=(e,t)=>{const n=new URLSearchParams;for(const r of[e,t])if(void 0!==r)if(r instanceof URLSearchParams)for(const[e,t]of r.entries())n.append(e,t);else if(Array.isArray(r))for(const e of r){if(!Array.isArray(e)||2!==e.length)throw new TypeError("Array search parameters must be provided in [[key, value], ...] format");n.append(String(e[0]),String(e[1]))}else if(to(r))for(const[e,t]of Object.entries(r))void 0!==t&&n.append(e,String(t));else{const e=new URLSearchParams(r);for(const[t,r]of e.entries())n.append(t,r)}return n},lo=(...e)=>{let t,n={},r={},o={};const a=[];for(const i of e)if(Array.isArray(i))Array.isArray(n)||(n=[]),n=[...n,...i];else if(to(i)){for(let[e,r]of Object.entries(i))if("signal"===e&&r instanceof globalThis.AbortSignal)a.push(r);else if("context"!==e)"searchParams"!==e?(to(r)&&e in n&&(r=lo(n[e],r)),n={...n,[e]:r}):t=null==r?void 0:void 0===t?r:io(t,r);else{if(null!=r&&(!to(r)||Array.isArray(r)))throw new TypeError("The `context` option must be an object");n={...n,context:null==r?{}:{...n.context,...r}}}to(i.hooks)&&(o=ao(o,i.hooks),n.hooks=o),to(i.headers)&&(r=ro(r,i.headers),n.headers=r)}return void 0!==t&&(n.searchParams=t),a.length>0&&(1===a.length?n.signal=a[0]:n.signal=Hr?AbortSignal.any(a):a.at(-1)),void 0===n.context&&(n.context={}),n},so={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:[413,429,503],maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:e=>.3*2**(e-1)*1e3,jitter:void 0,retryOnTimeout:!1},uo=(e={})=>{if("number"==typeof e)return{...so,limit:e};if(e.methods&&!Array.isArray(e.methods))throw new Error("retry.methods must be an array");if(e.statusCodes&&!Array.isArray(e.statusCodes))throw new Error("retry.statusCodes must be an array");return{...so,...e}};class co extends Error{request;constructor(e){super(`Request timed out: ${e.method} ${e.url}`),this.name="TimeoutError",this.request=e}}class fo{static create(e,t){const n=new fo(e,t),r=async()=>{if("number"==typeof n.#o.timeout&&n.#o.timeout>Qr)throw new RangeError(`The \`timeout\` option cannot be greater than ${Qr}`);await Promise.resolve();let e=await n.#f();for(const t of n.#o.hooks.afterResponse){const r=await t(n.request,n.#p(),n.#c(e.clone()),{retryCount:n.#n});r instanceof globalThis.Response&&(e=r)}if(n.#c(e),!e.ok&&n.#o.throwHttpErrors){let t=new Mr(e,n.request,n.#p());for(const e of n.#o.hooks.beforeError)t=await e(t,{retryCount:n.#n});throw t}if(n.#o.onDownloadProgress){if("function"!=typeof n.#o.onDownloadProgress)throw new TypeError("The `onDownloadProgress` option must be a function");if(!Br)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return((e,t)=>{if(!e.body)return e;if(204===e.status)return new Response(null,{status:e.status,statusText:e.statusText,headers:e.headers});const n=Math.max(0,Number(e.headers.get("content-length"))||0);return new Response(Xr(e.body,n,t),{status:e.status,statusText:e.statusText,headers:e.headers})})(e.clone(),n.#o.onDownloadProgress)}return e},o=(n.#o.retry.methods.includes(n.request.method.toLowerCase())?n.#d(r):r()).finally(async()=>{const e=n.#a,t=[];e&&!e.bodyUsed&&t.push(e.body?.cancel()),n.request.bodyUsed||t.push(n.request.body?.cancel()),await Promise.all(t)});for(const[e,r]of Object.entries(Gr))"bytes"===e&&"function"!=typeof globalThis.Response?.prototype?.bytes||(o[e]=async()=>{n.request.headers.set("accept",n.request.headers.get("accept")||r);const a=await o;if("json"===e){if(204===a.status)return"";const e=await a.text();return""===e?"":t.parseJson?t.parseJson(e):JSON.parse(e)}return a[e]()});return o}static#e(e){return!e||"object"!=typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e))}request;#t;#n=0;#r;#o;#a;#i;#l;constructor(e,t={}){if(this.#r=e,this.#o={...t,headers:ro(this.#r.headers,t.headers),hooks:ao({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},t.hooks),method:(n=t.method??this.#r.method??"GET",Wr.includes(n)?n.toUpperCase():n),prefixUrl:String(t.prefixUrl||""),retry:uo(t.retry),throwHttpErrors:!1!==t.throwHttpErrors,timeout:t.timeout??1e4,fetch:t.fetch??globalThis.fetch.bind(globalThis),context:t.context??{}},"string"!=typeof this.#r&&!(this.#r instanceof URL||this.#r instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");var n;if(this.#o.prefixUrl&&"string"==typeof this.#r){if(this.#r.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this.#o.prefixUrl.endsWith("/")||(this.#o.prefixUrl+="/"),this.#r=this.#o.prefixUrl+this.#r}Ur&&Hr&&(this.#i=this.#o.signal??this.#r.signal,this.#t=new globalThis.AbortController,this.#o.signal=this.#i?AbortSignal.any([this.#i,this.#t.signal]):this.#t.signal),qr&&(this.#o.duplex="half"),void 0!==this.#o.json&&(this.#o.body=this.#o.stringifyJson?.(this.#o.json)??JSON.stringify(this.#o.json),this.#o.headers.set("content-type",this.#o.headers.get("content-type")??"application/json"));const r=t.headers&&new globalThis.Headers(t.headers).has("content-type");if(this.#r instanceof globalThis.Request&&(Vr&&this.#o.body instanceof globalThis.FormData||this.#o.body instanceof URLSearchParams)&&!r&&this.#o.headers.delete("content-type"),this.request=new globalThis.Request(this.#r,this.#o),(e=>void 0!==e&&(Array.isArray(e)?e.length>0:e instanceof URLSearchParams?e.size>0:"object"==typeof e?Object.keys(e).length>0:"string"==typeof e?e.trim().length>0:!!e))(this.#o.searchParams)){const e="?"+("string"==typeof this.#o.searchParams?this.#o.searchParams.replace(/^\?/,""):new URLSearchParams(fo.#e(this.#o.searchParams)).toString()),t=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,e);this.request=new globalThis.Request(new globalThis.Request(t,{...this.request}),this.#o)}if(this.#o.onUploadProgress){if("function"!=typeof this.#o.onUploadProgress)throw new TypeError("The `onUploadProgress` option must be a function");if(!qr)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request.body&&(this.request=eo(this.request,this.#o.onUploadProgress,this.#o.body))}}#s(){const e=this.#o.retry.delay(this.#n);let t=e;return!0===this.#o.retry.jitter?t=Math.random()*e:"function"==typeof this.#o.retry.jitter&&(t=this.#o.retry.jitter(e),(!Number.isFinite(t)||t<0)&&(t=e)),Math.min(this.#o.retry.backoffLimit,t)}async#u(e){if(this.#n++,this.#n>this.#o.retry.limit)throw e;const t=e instanceof Error?e:new Fr(e);if(void 0!==this.#o.retry.shouldRetry){const n=await this.#o.retry.shouldRetry({error:t,retryCount:this.#n});if(!1===n)throw e;if(!0===n)return this.#s()}if(((n=e)instanceof co||n?.name===co.name)&&!this.#o.retry.retryOnTimeout)throw e;var n;if(function(e){return e instanceof Mr||e?.name===Mr.name}(e)){if(!this.#o.retry.statusCodes.includes(e.response.status))throw e;const t=e.response.headers.get("Retry-After")??e.response.headers.get("RateLimit-Reset")??e.response.headers.get("X-RateLimit-Retry-After")??e.response.headers.get("X-RateLimit-Reset")??e.response.headers.get("X-Rate-Limit-Reset");if(t&&this.#o.retry.afterStatusCodes.includes(e.response.status)){let e=1e3*Number(t);Number.isNaN(e)?e=Date.parse(t)-Date.now():e>=Date.parse("2024-01-01")&&(e-=Date.now());const n=this.#o.retry.maxRetryAfter??e;return e<n?e:n}if(413===e.response.status)throw e}return this.#s()}#c(e){return this.#o.parseJson&&(e.json=async()=>this.#o.parseJson(await e.text())),e}async#d(e){try{return await e()}catch(t){const n=Math.min(await this.#u(t),Qr);if(this.#n<1)throw t;await async function(e,{signal:t}){return new Promise((n,r)=>{function o(){clearTimeout(a),r(t.reason)}t&&(t.throwIfAborted(),t.addEventListener("abort",o,{once:!0}));const a=setTimeout(()=>{t?.removeEventListener("abort",o),n()},e)})}(n,this.#i?{signal:this.#i}:{});for(const e of this.#o.hooks.beforeRetry){const n=await e({request:this.request,options:this.#p(),error:t,retryCount:this.#n});if(n instanceof globalThis.Request){this.request=n;break}if(n instanceof globalThis.Response)return n;if(n===$r)return}return this.#d(e)}}async#f(){this.#t?.signal.aborted&&(this.#t=new globalThis.AbortController,this.#o.signal=this.#i?AbortSignal.any([this.#i,this.#t.signal]):this.#t.signal,this.request=new globalThis.Request(this.request,{signal:this.#o.signal}));for(const e of this.#o.hooks.beforeRequest){const t=await e(this.request,this.#p(),{retryCount:this.#n});if(t instanceof Request){this.request=t;break}if(t instanceof Response)return t}const e=((e,t)=>{const n={};for(const r in t)Object.hasOwn(t,r)&&!(r in Jr)&&!(r in Zr)&&(!(r in e)||r in Kr)&&(n[r]=t[r]);return n})(this.request,this.#o);return this.#a=this.request,this.request=this.#a.clone(),!1===this.#o.timeout?this.#o.fetch(this.#a,e):async function(e,t,n,r){return new Promise((o,a)=>{const i=setTimeout(()=>{n&&n.abort(),a(new co(e))},r.timeout);r.fetch(e,t).then(o).catch(a).then(()=>{clearTimeout(i)})})}(this.#a,e,this.#t,this.#o)}#p(){if(!this.#l){const{hooks:e,...t}=this.#o;this.#l=Object.freeze(t)}return this.#l}}
|
|
40
|
+
/*! MIT License © Sindre Sorhus */const po=e=>{const t=(t,n)=>fo.create(t,no(e,n));for(const n of Wr)t[n]=(t,r)=>fo.create(t,no(e,r,{method:n}));return t.create=e=>po(no(e)),t.extend=t=>("function"==typeof t&&(t=t(e??{})),po(no(e,t))),t.stop=$r,t},ho=po(),mo={PUBLIC_EVENTS:"/",FOLDER_EVENTS:e=>`/${e}`,LOGIN:"/auth/login",REGISTER:"/auth/register",FORGOT_PASSWORD:"/auth/forgot-password",RESET_PASSWORD:"/auth/reset-password",VERIFY_EMAIL:"/auth/verify-email",GALLERY:e=>`/event/${e}`,UPLOAD:e=>`/event/${e}/upload`,CURATE:e=>`/event/${e}/curate`,LEADERBOARD:e=>`/event/${e}/leaderboard`},go={ORGANIZATION_SETTINGS:e=>`https://qrati.com/org/${e}/settings`,ORGANIZATION_SETTINGS_INTEGRATION:e=>`https://qrati.com/org/${e}/settings/integration`,ORGANIZATION_DASHBOARD:e=>`https://qrati.com/org/${e}/dashboard`,ORGANIZATION_ADMINS:e=>`https://qrati.com/org/${e}/admins`,EVENT_SETTINGS_BASIC_DETAILS:e=>`https://qrati.com/event/${e}/settings`,EVENT_REVIEW_CONTENTS:e=>`https://qrati.com/event/${e}/review-contents`,EVENT_DEEP_SEARCH:e=>`https://qrati.com/event/${e}/deep-search`,EVENT_GENERATE_ARTICLE:e=>`https://qrati.com/event/${e}/generate-article`,EVENT_ACCESS_REQUESTS:e=>`https://qrati.com/event/${e}/access-requests`,EVENT_SHOT_INSPECTOR:e=>`https://qrati.com/event/${e}/shot-inspector`,EVENT_CURATION_DETAILS:e=>`https://qrati.com/event/${e}/curation-details`},yo={PRIVATE:"PRIVATE"},bo="https://qrati.com/api/connect",vo={INITIALIZE_SESSION:`${bo}/session/initialize`,REGISTER:`${bo}/auth/register`,LOGIN:`${bo}/auth/login`,LOGOUT:`${bo}/auth/logout`,UPDATE_SESSION:`${bo}/session/update`,EXTERNAL_LOGIN:`${bo}/auth/external-login`,PUBLIC_EVENTS:`${bo}/event/public-events`,FOLDER_DETAILS:`${bo}/folder/details`,NESTED_FOLDERS:`${bo}/folder/nested-folders`,GET_EVENT_POINTS:`${bo}/event/points`,ELIGIBLE_TO_CURATE:`${bo}/content/curation-eligibility`,CONTENT_FOR_CURATION:`${bo}/content/for-curation`,CURATE_CONTENT:`${bo}/content/curate`,GET_LEADERBOARD:`${bo}/event/leaderboard`,GET_UPLOAD_COUNT:`${bo}/event/upload-count`,SINGLE_UPLOAD:`${bo}/content/single-upload`,UPDATE_REACTION:`${bo}/content/update-reaction`,EVENT_DATA:`${bo}/event/details-with-ads-parameters`,UPDATE_EVENT_LAYOUT:`${bo}/event/update-layout`,GET_EVENT_STATISTICS:`${bo}/event/statistics`,GET_CONTENTS:`${bo}/content/for-gallery`,GET_CONTENTS_COUNT:`${bo}/content/count`,UPDATE_AD_ANALYTICS:`${bo}/event/update-ad-analytics`,INCREMENT_EVENT_VIEW:`${bo}/event/increment-view`,SEND_PASSWORD_RESET_CODE:`${bo}/auth/send-password-reset-code`,VERIFY_PASSWORD_RESET_CODE:`${bo}/auth/verify-password-reset-code`,RESET_PASSWORD:`${bo}/auth/reset-password`,REPORT_ERROR:`${bo}/session/report-error`},wo={OWNER:"owner",ADMIN:"admin",MODERATOR:"moderator"},ko={IMAGE:"IMAGE",VIDEO:"VIDEO",AD:"AD"},So={ROW:"ROW",COLUMN:"COLUMN",MASONRY:"MASONRY"},xo={IN_REVIEW:"IN_REVIEW",APPROVED:"APPROVED",REJECTED:"REJECTED"},Co={WAITING:"Waiting",UPLOADING:"Uploading",DONE:"Done",ERROR:"Error"},Ao={CLOSED:"CLOSED",OPEN:"OPEN",UPCOMING:"UPCOMING"},Eo={WAITING:"Waiting",PROCESSING:"Processing",DONE:"Done"},Io={TEXT:"text",IMAGE:"image",LOTTIE:"lottie"},To={CONTEST:"CONTEST",REACTION:"REACTION"},_o=3,Ro={GRID:"grid",SINGLE:"single"},Po={POPULAR:"popular",UPLOAD_TIME:"upload",CAPTURE_TIME:"capture"},Oo={[Po.POPULAR]:{label:"Popular",sortField:"score"},[Po.UPLOAD_TIME]:{label:"Uploaded",sortField:"createdAt"},[Po.CAPTURE_TIME]:{label:"Captured",sortField:"capturedAt"}},No=Po.UPLOAD_TIME,Lo={ASC:"asc",DESC:"desc"},zo={[Lo.ASC]:{label:"Ascending",sortOrder:""},[Lo.DESC]:{label:"Descending",sortOrder:"-"}},Do=Lo.DESC,jo={OWN:"own",CURATED:"curated",ELIGIBLE:"eligible"},Mo={NONE:null,LINK:"LINK",EMAIL:"EMAIL",PHONE:"PHONE",SMS:"SMS",WHATSAPP:"WHATSAPP",MESSENGER:"MESSENGER"},Fo={[Mo.LINK]:"material-symbols:open-in-new-rounded",[Mo.EMAIL]:"material-symbols:alternate-email-rounded",[Mo.PHONE]:"material-symbols:call-outline",[Mo.SMS]:"material-symbols:sms-outline-rounded",[Mo.WHATSAPP]:"logos:whatsapp-icon",[Mo.MESSENGER]:"logos:messenger"},qo={AD_IMPRESSION:"impression",AD_ENGAGEMENT:"engagement",AD_CLICK:"click"},Uo={EVENT_IN_REVIEW_COUNT:e=>`in-review-count-${e}`,CONTENTS_BY_EVENT:e=>`contents-by-event-${e}`},Ho=e=>({google:"Google",apple:"Apple"}[e]||e.charAt(0).toUpperCase()+e.slice(1));function Bo(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Bo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Vo(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Bo(e))&&(r&&(r+=" "),r+=t);return r}const Wo=e=>{const t=$o(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Go(n,t)||Yo(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},Go=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Go(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},Qo=/^\[(.+)\]$/,Yo=e=>{if(Qo.test(e)){const t=Qo.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},$o=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)Zo(n[e],r,e,t);return r},Zo=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:Ko(t,e)).classGroupId=n)}if("function"==typeof e)return Jo(e)?void Zo(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{Zo(o,Ko(t,e),n,r)})})},Ko=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},Jo=e=>e.isThemeGetter,Xo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},ea=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,a=0;for(let i=0;i<e.length;i++){let l=e[i];if(0===r&&0===o){if(":"===l){t.push(e.slice(a,i)),a=i+1;continue}if("/"===l){n=i;continue}}"["===l?r++:"]"===l?r--:"("===l?o++:")"===l&&o--}const i=0===t.length?e:e.substring(a),l=ta(i);return{modifiers:t,hasImportantModifier:l!==i,baseClassName:l,maybePostfixModifierPosition:n&&n>a?n-a:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},ta=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,na=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},ra=/\s+/;function oa(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=aa(e))&&(r&&(r+=" "),r+=t);return r}const aa=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=aa(e[r]))&&(n&&(n+=" "),n+=t);return n};function ia(e,...t){let n,r,o,a=function(l){const s=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Xo(e.cacheSize),parseClassName:ea(e),sortModifiers:na(e),...Wo(e)}))(s),r=n.cache.get,o=n.cache.set,a=i,i(l)};function i(e){const t=r(e);if(t)return t;const a=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],l=e.trim().split(ra);let s="";for(let e=l.length-1;e>=0;e-=1){const t=l[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(u){s=t+(s.length>0?" "+s:s);continue}let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){s=t+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=t+(s.length>0?" "+s:s);continue}h=!1}const g=a(c).join(":"),y=d?g+"!":g,b=y+m;if(i.includes(b))continue;i.push(b);const v=o(m,h);for(let e=0;e<v.length;++e){const t=v[e];i.push(y+t)}s=t+(s.length>0?" "+s:s)}return s})(e,n);return o(e,a),a}return function(){return a(oa.apply(null,arguments))}}const la=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},sa=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ua=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ca=/^\d+\/\d+$/,da=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,pa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ha=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ma=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ga=e=>ca.test(e),ya=e=>!!e&&!Number.isNaN(Number(e)),ba=e=>!!e&&Number.isInteger(Number(e)),va=e=>e.endsWith("%")&&ya(e.slice(0,-1)),wa=e=>da.test(e),ka=()=>!0,Sa=e=>fa.test(e)&&!pa.test(e),xa=()=>!1,Ca=e=>ha.test(e),Aa=e=>ma.test(e),Ea=e=>!Ta(e)&&!La(e),Ia=e=>Ua(e,Wa,xa),Ta=e=>sa.test(e),_a=e=>Ua(e,Ga,Sa),Ra=e=>Ua(e,Qa,ya),Pa=e=>Ua(e,Ba,xa),Oa=e=>Ua(e,Va,Aa),Na=e=>Ua(e,$a,Ca),La=e=>ua.test(e),za=e=>Ha(e,Ga),Da=e=>Ha(e,Ya),ja=e=>Ha(e,Ba),Ma=e=>Ha(e,Wa),Fa=e=>Ha(e,Va),qa=e=>Ha(e,$a,!0),Ua=(e,t,n)=>{const r=sa.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ha=(e,t,n=!1)=>{const r=ua.exec(e);return!!r&&(r[1]?t(r[1]):n)},Ba=e=>"position"===e||"percentage"===e,Va=e=>"image"===e||"url"===e,Wa=e=>"length"===e||"size"===e||"bg-size"===e,Ga=e=>"length"===e,Qa=e=>"number"===e,Ya=e=>"family-name"===e,$a=e=>"shadow"===e,Za=()=>{const e=la("color"),t=la("font"),n=la("text"),r=la("font-weight"),o=la("tracking"),a=la("leading"),i=la("breakpoint"),l=la("container"),s=la("spacing"),u=la("radius"),c=la("shadow"),d=la("inset-shadow"),f=la("text-shadow"),p=la("drop-shadow"),h=la("blur"),m=la("perspective"),g=la("aspect"),y=la("ease"),b=la("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",La,Ta],w=()=>[La,Ta,s],k=()=>[ga,"full","auto",...w()],S=()=>[ba,"none","subgrid",La,Ta],x=()=>["auto",{span:["full",ba,La,Ta]},ba,La,Ta],C=()=>[ba,"auto",La,Ta],A=()=>["auto","min","max","fr",La,Ta],E=()=>["auto",...w()],I=()=>[ga,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],T=()=>[e,La,Ta],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ja,Pa,{position:[La,Ta]}],R=()=>["auto","cover","contain",Ma,Ia,{size:[La,Ta]}],P=()=>[va,za,_a],O=()=>["","none","full",u,La,Ta],N=()=>["",ya,za,_a],L=()=>[ya,va,ja,Pa],z=()=>["","none",h,La,Ta],D=()=>["none",ya,La,Ta],j=()=>["none",ya,La,Ta],M=()=>[ya,La,Ta],F=()=>[ga,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[wa],breakpoint:[wa],color:[ka],container:[wa],"drop-shadow":[wa],ease:["in","out","in-out"],font:[Ea],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[wa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[wa],shadow:[wa],spacing:["px",ya],text:[wa],"text-shadow":[wa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ga,Ta,La,g]}],container:["container"],columns:[{columns:[ya,Ta,La,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[ba,"auto",La,Ta]}],basis:[{basis:[ga,"full","auto",l,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ya,ga,"auto","initial","none",Ta]}],grow:[{grow:["",ya,La,Ta]}],shrink:[{shrink:["",ya,La,Ta]}],order:[{order:[ba,"first","last","none",La,Ta]}],"grid-cols":[{"grid-cols":S()}],"col-start-end":[{col:x()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":S()}],"row-start-end":[{row:x()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[l,"screen",...I()]}],"min-w":[{"min-w":[l,"screen","none",...I()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",n,za,_a]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,La,Ra]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",va,Ta]}],"font-family":[{font:[Da,Ta,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,La,Ta]}],"line-clamp":[{"line-clamp":[ya,"none",La,Ra]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":["none",La,Ta]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",La,Ta]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[ya,"from-font","auto",La,_a]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[ya,"auto",La,Ta]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",La,Ta]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",La,Ta]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:_()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ba,La,Ta],radial:["",La,Ta],conic:[ba,La,Ta]},Fa,Oa]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[ya,La,Ta]}],"outline-w":[{outline:["",ya,za,_a]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",c,qa,Na]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,qa,Na]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[ya,_a]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",f,qa,Na]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[ya,La,Ta]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ya]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[La,Ta]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[ya]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:_()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",La,Ta]}],filter:[{filter:["","none",La,Ta]}],blur:[{blur:z()}],brightness:[{brightness:[ya,La,Ta]}],contrast:[{contrast:[ya,La,Ta]}],"drop-shadow":[{"drop-shadow":["","none",p,qa,Na]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",ya,La,Ta]}],"hue-rotate":[{"hue-rotate":[ya,La,Ta]}],invert:[{invert:["",ya,La,Ta]}],saturate:[{saturate:[ya,La,Ta]}],sepia:[{sepia:["",ya,La,Ta]}],"backdrop-filter":[{"backdrop-filter":["","none",La,Ta]}],"backdrop-blur":[{"backdrop-blur":z()}],"backdrop-brightness":[{"backdrop-brightness":[ya,La,Ta]}],"backdrop-contrast":[{"backdrop-contrast":[ya,La,Ta]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ya,La,Ta]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ya,La,Ta]}],"backdrop-invert":[{"backdrop-invert":["",ya,La,Ta]}],"backdrop-opacity":[{"backdrop-opacity":[ya,La,Ta]}],"backdrop-saturate":[{"backdrop-saturate":[ya,La,Ta]}],"backdrop-sepia":[{"backdrop-sepia":["",ya,La,Ta]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",La,Ta]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ya,"initial",La,Ta]}],ease:[{ease:["linear","initial",y,La,Ta]}],delay:[{delay:[ya,La,Ta]}],animate:[{animate:["none",b,La,Ta]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,La,Ta]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:M()}],"skew-x":[{"skew-x":M()}],"skew-y":[{"skew-y":M()}],transform:[{transform:[La,Ta,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",La,Ta]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",La,Ta]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[ya,za,_a,Ra]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ka=ia(Za),Ja=(...e)=>Vo(Ka(...e.filter(Boolean))),Xa=e=>{const t=e.replace(/#/g,"");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"},ei="#ffffff",ti="#252629",ni="#888888",ri="#8e949a",oi="#e9ecef",ai="#e9ecef",ii="#ff4800",li="#ffffff",si="#252629",ui="#2563eb",ci="#f59e0b",di="#10b981",fi="#ef4444",pi="10",hi="px",mi="0",gi="0",yi="0",bi="0",vi="px",wi=e=>{const t=e?.themeSettings?.colors,n=e?.themeSettings?.border,r=e?.themeSettings?.shadow;return{"--qc-background":t?.backgroundLight||ei,"--qc-foreground":t?.foregroundLight||ti,"--qc-muted":t?.mutedLight||ni,"--qc-muted-foreground":t?.mutedForegroundLight||ri,"--qc-border":t?.light||oi,"--qc-input":t?.inputLight||ai,"--qc-primary":t?.primaryLight||ii,"--qc-primary-foreground":Xa(t?.primaryLight||ii),"--qc-popover":t?.popoverLight||li,"--qc-popover-foreground":t?.popoverForegroundLight||si,"--qc-info":t?.infoLight||ui,"--qc-warning":t?.warningLight||ci,"--qc-success":t?.successLight||di,"--qc-destructive":t?.destructiveLight||fi,"--qc-radius":`${n?.radius||pi}${n?.unit||hi}`,"--shadow-outer-horizontal-offset":`${r?.outerHorizontalOffset||mi}${r?.unit||vi}`,"--shadow-outer-vertical-offset":`${r?.outerVerticalOffset||gi}${r?.unit||vi}`,"--shadow-outer-blur":`${r?.outerBlur||yi}${r?.unit||vi}`,"--shadow-outer-spread":`${r?.outerSpread||bi}${r?.unit||vi}`}},ki=async({hardwareOnly:e=!0,debug:t=!1}={})=>{const{cookieEnabled:n,deviceMemory:r,doNotTrack:o,hardwareConcurrency:a,language:i,languages:l,maxTouchPoints:s,platform:u,userAgent:c,vendor:d}=window.navigator,f=/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent),{width:p,height:h,colorDepth:m,pixelDepth:g}=f?window.screen:{},y=(new Date).getTimezoneOffset(),b=Intl.DateTimeFormat().resolvedOptions().timeZone,v="ontouchstart"in window,w=window.devicePixelRatio,k=Si(t),S=await Ei(t),x=Ai(),C=xi(t),A=Ci(),E=e?{audioInfo:x,audio:S,canvas:k,colorDepth:m,deviceMemory:r,devicePixelRatio:w,hardwareConcurrency:a,height:h,maxTouchPoints:s,pixelDepth:g,platform:u,touchSupport:v,webgl:C,webglInfo:A,width:p}:{audioInfo:x,audio:S,canvas:k,colorDepth:m,cookieEnabled:n,deviceMemory:r,devicePixelRatio:w,doNotTrack:o,hardwareConcurrency:a,height:h,language:i,languages:l,maxTouchPoints:s,pixelDepth:g,platform:u,timezone:b,timezoneOffset:y,touchSupport:v,userAgent:c,vendor:d,webgl:C,webglInfo:A,width:p};t&&console.log("Fingerprint data:",JSON.stringify(E,null,2));const I=JSON.stringify(E,null,2);return _i(I)},Si=e=>{try{const t=document.createElement("canvas"),n=t.getContext("2d"),r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~1!2@3#4$5%6^7&8*9(0)-_=+[{]}|;:',<.>/?";n.textBaseline="top",n.font="14px 'Arial'",n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.fillText(r,2,15),n.fillStyle="rgba(102, 204, 0, 0.7)",n.fillText(r,4,17);const o=t.toDataURL();return e?document.body.appendChild(t):n.clearRect(0,0,t.width,t.height),_i(o)}catch{return null}},xi=e=>{try{const t=document.createElement("canvas"),n=t.getContext("webgl");t.width=256,t.height=128;const r="attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}",o="precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}",a=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,a);const i=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.7321,0]);n.bufferData(n.ARRAY_BUFFER,i,n.STATIC_DRAW),a.itemSize=3,a.numItems=3;const l=n.createProgram(),s=n.createShader(n.VERTEX_SHADER);n.shaderSource(s,r),n.compileShader(s);const u=n.createShader(n.FRAGMENT_SHADER);n.shaderSource(u,o),n.compileShader(u),n.attachShader(l,s),n.attachShader(l,u),n.linkProgram(l),n.useProgram(l),l.vertexPosAttrib=n.getAttribLocation(l,"attrVertex"),l.offsetUniform=n.getUniformLocation(l,"uniformOffset"),n.enableVertexAttribArray(l.vertexPosArray),n.vertexAttribPointer(l.vertexPosAttrib,a.itemSize,n.FLOAT,!1,0,0),n.uniform2f(l.offsetUniform,1,1),n.drawArrays(n.TRIANGLE_STRIP,0,a.numItems);const c=new Uint8Array(t.width*t.height*4);n.readPixels(0,0,t.width,t.height,n.RGBA,n.UNSIGNED_BYTE,c);const d=JSON.stringify(c).replace(/,?"[0-9]+":/g,"");return e?document.body.appendChild(t):n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT|n.STENCIL_BUFFER_BIT),_i(d)}catch{return null}},Ci=()=>{try{const e=document.createElement("canvas").getContext("webgl");return{VERSION:String(e.getParameter(e.VERSION)),SHADING_LANGUAGE_VERSION:String(e.getParameter(e.SHADING_LANGUAGE_VERSION)),VENDOR:String(e.getParameter(e.VENDOR)),SUPPORTED_EXTENSIONS:String(e.getSupportedExtensions())}}catch{return null}},Ai=()=>{try{const e=window.OfflineAudioContext||window.webkitOfflineAudioContext,t=new e(1,44100,44100);return{sampleRate:t.sampleRate,channelCount:t.destination.maxChannelCount,outputLatency:t.outputLatency,state:t.state,baseLatency:t.baseLatency}}catch{return null}},Ei=async e=>{try{const t=window.OfflineAudioContext||window.webkitOfflineAudioContext,n=new t(1,44100,44100),r=n.createOscillator();r.type="sine",r.frequency.value=440,r.connect(n.destination),r.start();const o=await n.startRendering(),a=o.getChannelData(0).reduce((e,t)=>e+Math.abs(t),0).toString();if(e){const e=Ii(o),t=URL.createObjectURL(e),n=document.createElement("audio");n.controls=!0,n.src=t,document.body.appendChild(n)}return _i(a)}catch{return null}},Ii=e=>{const t=e.numberOfChannels,n=e.length*t*2+44,r=new ArrayBuffer(n),o=new DataView(r);Ti(o,0,"RIFF"),o.setUint32(4,n-8,!0),Ti(o,8,"WAVE"),Ti(o,12,"fmt "),o.setUint32(16,16,!0),o.setUint16(20,1,!0),o.setUint16(22,t,!0),o.setUint32(24,e.sampleRate,!0),o.setUint32(28,e.sampleRate*t*2,!0),o.setUint16(32,2*t,!0),o.setUint16(34,16,!0),Ti(o,36,"data"),o.setUint32(40,n-44,!0);let a=44;for(let n=0;n<e.length;n++)for(let r=0;r<t;r++){const t=e.getChannelData(r)[n],i=32767*Math.max(-1,Math.min(1,t));o.setInt16(a,i,!0),a+=2}return new Blob([o],{type:"audio/wav"})},Ti=(e,t,n)=>{for(let r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))},_i=e=>{const t=3&e.length,n=e.length-t,r=3432918353,o=461845907;let a,i,l;for(let t=0;t<n;t++)l=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24,++t,l=(65535&l)*r+(((l>>>16)*r&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*o+(((l>>>16)*o&65535)<<16)&4294967295,a^=l,a=a<<13|a>>>19,i=5*(65535&a)+((5*(a>>>16)&65535)<<16)&4294967295,a=27492+(65535&i)+(((i>>>16)+58964&65535)<<16);const s=n-1;switch(l=0,t){case 3:l^=(255&e.charCodeAt(s+2))<<16;break;case 2:l^=(255&e.charCodeAt(s+1))<<8;break;case 1:l^=255&e.charCodeAt(s)}return l=(65535&l)*r+(((l>>>16)*r&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*o+(((l>>>16)*o&65535)<<16)&4294967295,a^=l,a^=e.length,a^=a>>>16,a=2246822507*(65535&a)+((2246822507*(a>>>16)&65535)<<16)&4294967295,a^=a>>>13,a=3266489909*(65535&a)+((3266489909*(a>>>16)&65535)<<16)&4294967295,a^=a>>>16,a>>>0};typeof window<"u"&&(window.getBrowserFingerprint=ki);const Ri=xe.createContext(),Pi=({props:e={},children:t})=>{const{organizationId:n,uid:r,fname:o,lname:a}=e,[i,l]=xe.useState(null),{isLoading:s,data:u,error:c}=Le({queryKey:["qrati-connect-session",n],queryFn:async()=>{const e=await ki();return(await ho.post(vo.INITIALIZE_SESSION,{json:{uid:r,fname:o,lname:a,browserFingerprint:e},headers:{"x-org-id":n,Authorization:r||o||a||!localStorage.getItem("qrati_token")?void 0:localStorage.getItem("qrati_token")}}).json()).data},enabled:!!n});xe.useEffect(()=>{u?.authSession?.user&&u?.authSession?.token?(l({...u?.authSession?.user,token:u?.authSession?.token}),u?.organization?.customAuth||localStorage.setItem("qrati_token",u?.authSession?.token)):l(null)},[u]);const d=async e=>{try{const t="https://qrati.com",r=await((e,t,n)=>new Promise((r,o)=>{if(!e)return void o(new Error("Provider is required"));if(!t)return void o(new Error("Organization ID is required"));const a=new URL(`${n}/qc-social-auth`);a.searchParams.set("provider",e),a.searchParams.set("organizationId",t),a.searchParams.set("origin",window.location.origin);const i=(window.screen.width-500)/2,l=(window.screen.height-600)/2,s=window.open(a.toString(),"qrati_social_auth",`width=500,height=600,left=${i},top=${l},scrollbars=yes,resizable=yes,status=yes`);if(!s)return void o(new Error("Failed to open popup window. Please allow popups and try again."));const u=()=>{clearInterval(d),clearTimeout(f),window.removeEventListener("message",c)},c=e=>{try{const t=new URL(n).origin;if(e.origin!==t)return void console.warn("Origin mismatch:",e.origin,"expected:",t)}catch{console.warn("Could not parse origin for verification")}const{type:a,data:i,error:l,organizationId:c}=e.data;if(c===t)switch(a){case"QRATI_SOCIAL_AUTH_SUCCESS":u(),s.close(),r({user:i.user,session:i.session,token:i.token});break;case"QRATI_SOCIAL_AUTH_ERROR":console.error("Authentication error:",l),u(),s.close(),o(new Error(l||"Social authentication failed"));break;case"QRATI_SOCIAL_AUTH_CANCELLED":u(),s.close(),o(new Error("Authentication was cancelled"))}else console.warn("Organization ID mismatch:",c,"expected:",t)},d=setInterval(()=>{try{s.closed&&(u(),o(new Error("Authentication was cancelled")))}catch{}},1e3);window.addEventListener("message",c);const f=setTimeout(()=>{u(),s.closed||s.close(),o(new Error("Authentication timeout. Please try again."))},3e5)}))(e,n,t);return r.user&&r.token&&l({...r.user,token:r.token}),r}catch(e){throw console.error("Social login error:",e),e}};return s?w.jsx("div",{className:"qc:h-[80vh] qc:w-full"}):c?w.jsxs("div",{className:"qc:mx-auto qc:mt-24 qc:w-fit qc:max-w-xl qc:space-y-8",children:[w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"qc:mx-auto qc:h-48",viewBox:"0 0 538.71577 579.81872",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img","aria-labelledby":"error-svg-title",children:[w.jsx("title",{children:"Error illustration"}),w.jsx("path",{d:"M506.76759,441.45795H101.83199c-7.51245-.00873-13.60031-6.09656-13.60901-13.60901V98.12604c.0087-7.51244,6.09659-13.6003,13.60901-13.60899H506.76759c7.51245,.0087,13.60028,6.09656,13.60901,13.60899V427.84894c-.00873,7.51245-6.09656,13.60028-13.60901,13.60901Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M467.42311,432.2785H111.01366c-7.51245-.00873-13.60031-6.09656-13.60901-13.60901V107.31283c.0087-7.51242,6.09659-13.6003,13.60901-13.60899H497.58809c7.51245,.0087,13.60028,6.09657,13.60901,13.60899V388.50445c-.02716,24.16443-19.60956,43.74683-43.77399,43.77405Z",fill:"#fff"}),w.jsx("path",{d:"M369.4825,164.10681H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h162.75317c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#ff4800"}),w.jsx("path",{d:"M451.87105,201.55386H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.5098s1.57135-3.50977,3.50977-3.50977h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.50977s-1.57135,3.5098-3.50977,3.5098Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,239.00091H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,276.448H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,313.89505H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.5098s1.57135-3.50977,3.50977-3.50977h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.50977s-1.57135,3.5098-3.50977,3.5098Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M440.84718,373.56909c-9.81519,0-17.77191-7.95679-17.77191-17.77197s7.95679-17.77194,17.77197-17.77191c9.81519,0,17.77191,7.95679,17.77191,17.77197h0c-.00006,9.81519-7.95679,17.77191-17.77197,17.77191Z",fill:"#ff4800"}),w.jsx("path",{d:"M450.84529,354.95294l-5.03827-7.35388c-.4646-.68201-1.39417-.85818-2.07617-.39359-.68195,.46463-.85815,1.39417-.39355,2.07617l.00446,.00647,3.25842,4.75601h-12.76538c-.9682-.00287-1.75543,.77966-1.7583,1.74786s.77966,1.75543,1.74786,1.7583h12.93616l-3.41876,4.98999c-.4635,.68274-.28571,1.612,.39703,2.0755,.67865,.46063,1.60175,.28815,2.06824-.38647l5.03827-7.35388c.33362-.59741,.33362-1.32507,0-1.92249Z",fill:"#fff"}),w.jsx("path",{d:"M536.9474,35.89259H71.6544c-.99774-.02133-1.78931-.84746-1.76797-1.84521,.02069-.96771,.80026-1.74727,1.76797-1.76796h465.293c.99774,.02133,1.78931,.84746,1.76794,1.84521-.02069,.96771-.80023,1.74727-1.76794,1.76796Z",fill:"#cacaca"}),w.jsx("path",{d:"M129.88332,392.03558c2.69046-2.25092,3.04681-6.25665,.7959-8.94714-.24002-.28687-.50488-.552-.79156-.79224l-3.85318-33.29462-12.23428,2.83279,6.79901,31.56052c-2.08167,2.84705-1.46118,6.84253,1.38586,8.92419,2.38205,1.7417,5.64722,1.62445,7.89825-.28351Z",fill:"#ffb6b6"}),w.jsx("path",{d:"M128.61916,354.4306l-14.16388,8.83612s-.86215,5.17871-1.83612-7.83612c-.10168-1.35852,.84622-3.72528,.742-5.11966-.11755-1.57309-4.62335-2.2887-4.742-3.88034-.0845-1.13293,1.21814-2.1409,1.134-3.27075-.12741-1.71158-.254-3.41367-.37827-5.08826-.104-1.401-1.6557-2.289-1.75574-3.64099-.10089-1.36349,1.25-3.19043,1.15479-4.48245-.71393-9.68848,1.75491-34.06335,1.75491-34.55923-.19077-1.24442-.71036-2.41531-1.5051-3.39169l.75601-2.26111-.49991-4.24243c-.65692-5.57474,.51501-11.21204,3.33932-16.06308h0l3.59717-2.35538,16.59769,27.91714c-6.98453,24.15781-11.54385,33.64658-4.19489,59.43823Z",fill:"#ff4800"}),w.jsx("polygon",{points:"117.56702 562.58543 126.13502 562.58543 130.21301 529.53642 117.56702 529.53642 117.56702 562.58543",fill:"#ffb6b6"}),w.jsx("path",{d:"M114.77113,556.7168l13.68857-.81702v5.86481l13.0141,8.98798c1.66492,1.14954,2.08273,3.43109,.9332,5.09601-.68396,.99066-1.811,1.58203-3.01483,1.58197h-16.29678l-2.80899-5.80115-1.09677,5.80115h-6.14453l1.72604-20.71375Z",fill:"#2f2e41"}),w.jsx("polygon",{points:"165.69602 562.58543 174.26402 562.58543 178.34102 529.53642 165.69602 529.53642 165.69602 562.58543",fill:"#ffb6b6"}),w.jsx("path",{d:"M162.8994,556.7168l13.68857-.81702v5.86481l13.0141,8.98798c1.66492,1.14954,2.08276,3.43109,.93323,5.09601-.68402,.99066-1.81104,1.58203-3.01489,1.58197h-16.29678l-2.80899-5.80115-1.09671,5.80121h-6.14453l1.72601-20.71381Z",fill:"#2f2e41"}),w.jsx("path",{d:"M113.93041,534.08581h.03333l1.64783-78.70483c-2.16583-4.17767-2.09665-9.16217,.18436-13.27814l.23593-.42706-.61169-2.83545c-.78564-3.64294-.42511-7.43976,1.0321-10.86975l1.53726-50.12524c-5.492-35.59256,20.68112-58.80466,20.68112-58.80466h39.20764l8.41745,28.92029c5.56464,54.21457,4.55493,132.01437-4.27539,183.19821l.24072,.1217c.94843,.52899,1.31409,1.70972,.83063,2.68213-.40802,1.18213-1.44147,1.89789-2.30829,1.59869l-20.70612-.72021c-.94852-.52893-1.31418-1.70972-.8306-2.68213,.40799-1.18213,1.44147-1.89783,2.30829-1.59869l1.4079,.7121-1.45267-2.95715c-1.78177-3.62714-1.43726-7.93823,.89792-11.23639h0l-.25443-6.50977h0c-2.20139-2.57782-2.93311-6.10175-1.94009-9.3429l1.39676-4.55884-1.64999-42.21698,.33322-9.47119-.68646-10.74493-3.17386-48.33057-12.01355,59.43298-12.27142,89.34686c.60062,.54187,.8642,1.36444,.69037,2.15448-.26059,1.05988-1.22098,1.79761-2.31223,1.77612h-16.65585c-1.25314-.00116-2.26804-1.01801-2.26688-2.27112,.00021-.20325,.02771-.40552,.08176-.60144,.28894-.9953,1.20868-1.67383,2.24493-1.65613Z",fill:"#2f2e41"}),w.jsx("path",{d:"M209.20992,379.09808c2.21375-2.72113,1.80243-6.72162-.9187-8.93536-.29016-.23602-.60052-.44598-.92761-.62738l-10.10931-31.95596-11.47314,5.1058,12.672,29.69373c-1.50281,3.19067-.13452,6.99554,3.05621,8.49835,2.66962,1.25739,5.85315,.52185,7.70062-1.77917h-.00006Z",fill:"#ffb6b6"}),w.jsx("path",{d:"M167.61156,277.5068s11.52975,40.80206,11.0076,44.92377c-1.07687,8.49966-54.05972,34.62692-58,23l.49393-3.82181c-1.9906-3.98123,10.15421-19.78131,10.74377-21.84821,.74908-2.64258-2.64258-11.31946-2.64258-11.31946,0,0,2.34436-7.92081,1.96979-12.82452-.38147-4.90372-1.51199-4.14771-5.6597-7.17178-4.14767-3.01712-10.93799-16.9722-10.93799-16.9722,0,0,3.01715-13.58057,3.01715-16.22314s12.3945-7.14401,13.8996-8.64914c.65521-.87424,1.20685-1.82153,1.6438-2.82288,.30518-.61035,.11099-2.02533,.43701-2.72586,.20807-.45776,.93634-.1734,1.1514-.64499,.20807-.45776,.02774-.98489,.23578-1.43576,.27051-.59647,.92249-1.11667,1.17911-1.67847,1.17911-2.58014,2.18481-4.68176,2.49692-4.68176,.74908,0,24.89999,3.39862,24.89999,3.39862,1.31448,2.03296,2.8295,3.92899,4.52225,5.6597,2.64258,2.63565,15.00931,9.05139,15.00931,9.05139l-15.46713,26.7865Z",fill:"#ff4800"}),w.jsx("path",{d:"M200.22267,346.15008c-1.88654,1.8866-11.22198,10.54852-11.60352,8.28046-.37451-2.26111-.57843-2.53137-2.09045-3.28046-1.51202-.75601-1.51202-1.13055-1.88654-3.77316-.37457-2.64258-3.77316-5.28519-3.39169-6.41574,.37454-1.13055,.0249,.30768,.0249-.82983,0-1.13055-1.13055-5.27823-2.64258-6.03427-1.5051-.75601-3.77316-1.50507-2.63565-3.39169,1.13055-1.88654-10.6467-58.48383-10.6467-58.48383l10.56345-20.74536,7.16479-.75601s2.17712,1.24573,2.85925,12.47653c.03455,.56876,.65479,1.61267,.68121,2.2338,.02191,.51627-.54865,.6015-.5329,1.1554,.0033,.11829,.00659,.23743,.00964,.35745,.01428,.5506,1.50098,.95566,1.52332,1.48715,.03986,.94949,.62384,7.0047,.68677,7.89462,.07092,1.0033,.15472,1.9697,.25128,2.89923,1.04254,10.12073,1.41583,10.97568,2.06189,14.20615,1,5,5.14539,34.20227,5.14539,34.20227,0,0,3.01709,.74908,3.01709,3.39169s3.32764,7.95386,1.82251,10.97101c-1.51202,3.02405,1.50519,2.2681-.38147,4.1546Z",fill:"#ff4800"}),w.jsx("circle",{cx:"148.8745",cy:"213.9424",r:"17.89357",fill:"#ffb8b8"}),w.jsx("path",{d:"M110.31502,251.54758c-3.78656-1.34195-7.57309-2.68634-11.35962-4.0332,.65262-1.09512,1.4838-2.07336,2.45911-2.89432,3.60519-3.01041,8.58139-3.55444,13.1586-4.57001,4.5845-1.01556,9.5607-3.09744,11.23639-7.47882,1.74091-4.55551-.78345-9.47366-2.24875-14.11618-2.16422-6.51166-1.90143-13.58618,.73993-19.91934,2.73499-6.33997,8.26752-11.04382,14.96487-12.72339,6.63007-1.47256,14.12341,.92847,18.20013,6.35446,5.43567-1.63062,11.23318,1.05328,13.50684,6.2529,1.0488,2.38864,.8869,5.13562-.43521,7.38452-1.41452,2.13992-4.43942,3.23526-6.71716,2.04562l1.32022-3.35132c-4.08401,1.38547-6.73889,8.76999-6.18765,13.04984,.54404,4.27258,3.0394,8.01559,5.57108,11.50476s5.23007,7.01456,6.31815,11.18555c1.56686,5.99899-.5513,12.55658-4.46841,17.36594s-9.43738,8.07364-15.1535,10.4747c-4.27887,1.79898-8.72549,3.16946-13.27469,4.09131,.81244-1.58136,1.61761-3.16272,2.43005-4.74408l-9.64047,5.83215c-1.86426,.18134-3.74307,.29016-5.6218,.32642-5.46945,.0943-11.0477-.47879-16.05301-2.66217-5.01242-2.1907-9.41559-6.15863-11.2291-11.31619-.58139-1.66821-.8566-3.42773-.81235-5.19379,4.43204-.95752,8.86417-1.91263,13.29636-2.86536Z",fill:"#2f2e41"}),w.jsx("path",{d:"M283.23262,578.79364h-33.18652l-.14258-.25879c-.42432-.76953-.83398-1.58502-1.2168-2.42285-3.41846-7.31836-4.86328-15.68848-6.13818-23.07324l-.96002-5.56641c-.32257-1.87054,.93225-3.64838,2.8028-3.97095,.91565-.15796,1.85626,.06165,2.60736,.60864,5.04346,3.66986,10.08887,7.33624,15.13623,10.99902,1.91113,1.39062,4.09375,3,6.18408,4.73926,.20166-.97949,.4126-1.96191,.62354-2.93066,.40363-1.85602,2.23541-3.03345,4.09143-2.62982,.90845,.19757,1.69824,.75452,2.18933,1.54388l3.88281,6.23828c2.83197,4.55566,5.33154,9.04492,4.82227,13.88672,.0025,.0589-.00195,.11792-.01318,.17578-.10187,.79529-.29083,1.57703-.56348,2.33105l-.11908,.33008Z",fill:"#f0f0f0"}),w.jsx("path",{d:"M316.54201,579.51141l-315.35751,.30731c-.65759-.00342-1.1879-.53931-1.18448-1.1969,.00342-.65271,.53174-1.18103,1.18448-1.18445l315.35751-.30731c.65759,.00342,1.18787,.53931,1.18445,1.1969-.00342,.65271-.53168,1.18103-1.18445,1.18445Z",fill:"#cacaca"}),w.jsx("ellipse",{cx:"89.88544",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"119.0992",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"148.31295",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("path",{d:"M181.62437,15.47786c-.25977,0-.51904-.10059-.71484-.30078l-5.70605-5.83301c-.38037-.38867-.38037-1.00977,0-1.39844l5.70605-5.83252c.38721-.39453,1.021-.40088,1.41406-.01562,.39502,.38623,.40186,1.01953,.01562,1.41406l-5.02197,5.1333,5.02197,5.13379c.38623,.39453,.37939,1.02783-.01562,1.41406-.19434,.19043-.44678,.28516-.69922,.28516Z",fill:"#3f3d56"}),w.jsx("path",{d:"M191.21275,15.47786c-.25244,0-.50488-.09473-.69922-.28516-.39502-.38623-.40186-1.01904-.01562-1.41406l5.02148-5.13379-5.02148-5.1333c-.38623-.39453-.37939-1.02783,.01562-1.41406,.39404-.38672,1.02783-.37939,1.41406,.01562l5.70557,5.83252c.38037,.38867,.38037,1.00977,0,1.39844l-5.70557,5.83301c-.1958,.2002-.45508,.30078-.71484,.30078Z",fill:"#3f3d56"}),w.jsx("path",{d:"M489.72257,1.0009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V13.8109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.1909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M463.72257,1.0009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V13.8109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.1909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M514.22257,1.5009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V14.3109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.6909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M354.30088,5.54088h-84.81c-1.48004,0-2.67004,1.20001-2.67004,2.67004s1.19,2.66998,2.67004,2.66998h84.81c1.46997,0,2.66998-1.20001,2.66998-2.66998s-1.20001-2.67004-2.66998-2.67004Z",fill:"#3f3d56"})]}),w.jsxs("div",{className:"qc:space-y-4",children:[w.jsx("h4",{className:"qc:text-foreground qc:text-center qc:text-lg qc:font-medium",children:401===c?.response?.status?"Page not registered":"Something went wrong"}),w.jsx("h5",{className:"qc:text-muted qc:text-center",children:c?.message}),w.jsxs("h5",{className:"qc:text-muted qc:text-center",children:["If you are an admin of this organization, please add the current page URL in Allowed URLs under"," ",w.jsx("a",{className:"qc:font-medium qc:text-blue-500",href:go.ORGANIZATION_SETTINGS(n),target:"_blank",rel:"noreferrer",children:"Organization Settings"})," ","⇨"," ",w.jsx("a",{className:"qc:font-medium qc:text-blue-500",href:go.ORGANIZATION_SETTINGS_INTEGRATION(n),target:"_blank",rel:"noreferrer",children:"Integration Settings"}),". For more details please contact Qrati support."]})]})]}):!u?.organization?.customAuth||r&&o&&a?w.jsx(Ri.Provider,{value:{props:e,initializing:s,sessionId:u?.sessionId,organization:u?.organization,folders:u?.folders,loadingUser:s,user:i,registerUsingEmail:async(e,t,r,o)=>{try{const a=await ho.post(vo.REGISTER,{json:{email:e,password:t,fname:r,lname:o},headers:{"x-org-id":n}}).json();return a.error?{error:a.error}:(l({...a.user,token:a.token}),a)}catch(e){return{error:e.message}}},loginWithGoogle:async()=>{try{return await d("google")}catch(e){throw console.error("Google login error:",e),e}},loginWithApple:async()=>{try{return await d("apple")}catch(e){throw console.error("Apple login error:",e),e}},loginUsingEmail:async(e,t)=>{try{try{const r=await ho.post(vo.LOGIN,{json:{email:e,password:t},headers:{"x-org-id":n}}).json();return r.error?{error:r.error}:(l({...r.user,token:r.token}),r)}catch(e){return{error:e.message}}}catch{}},signout:async()=>{try{const e=await ho.post(vo.LOGOUT,{headers:{"x-org-id":n,Authorization:`Bearer ${i?.token}`}}).json();return e.error?{error:e.error}:(localStorage.removeItem("qrati_token"),l(null),e)}catch(e){return console.error(e),{error:e.message}}},error:c},children:w.jsx("div",{id:"qrati-connect-container",style:wi(u?.organization),className:Ja("qc:relative qc:min-h-[80vh]",e?.fontClassName),children:t})}):w.jsxs("div",{className:"qc:mx-auto qc:mt-24 qc:w-fit qc:max-w-xl qc:space-y-8",children:[w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"qc:mx-auto qc:h-48",viewBox:"0 0 538.71577 579.81872",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",children:[w.jsx("title",{children:"Error illustration"}),w.jsx("path",{d:"M506.76759,441.45795H101.83199c-7.51245-.00873-13.60031-6.09656-13.60901-13.60901V98.12604c.0087-7.51244,6.09659-13.6003,13.60901-13.60899H506.76759c7.51245,.0087,13.60028,6.09656,13.60901,13.60899V427.84894c-.00873,7.51245-6.09656,13.60028-13.60901,13.60901Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M467.42311,432.2785H111.01366c-7.51245-.00873-13.60031-6.09656-13.60901-13.60901V107.31283c.0087-7.51242,6.09659-13.6003,13.60901-13.60899H497.58809c7.51245,.0087,13.60028,6.09657,13.60901,13.60899V388.50445c-.02716,24.16443-19.60956,43.74683-43.77399,43.77405Z",fill:"#fff"}),w.jsx("path",{d:"M369.4825,164.10681H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h162.75317c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#ff4800"}),w.jsx("path",{d:"M451.87105,201.55386H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.5098s1.57135-3.50977,3.50977-3.50977h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.50977s-1.57135,3.5098-3.50977,3.5098Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,239.00091H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,276.448H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.50977s1.57135-3.5098,3.50977-3.5098h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.5098s-1.57135,3.50977-3.50977,3.50977Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M451.87105,313.89505H206.72933c-1.93842,0-3.50977-1.57138-3.50977-3.5098s1.57135-3.50977,3.50977-3.50977h245.14172c1.93842,0,3.50977,1.57138,3.50977,3.50977s-1.57135,3.5098-3.50977,3.5098Z",fill:"#e6e6e6"}),w.jsx("path",{d:"M440.84718,373.56909c-9.81519,0-17.77191-7.95679-17.77191-17.77197s7.95679-17.77194,17.77197-17.77191c9.81519,0,17.77191,7.95679,17.77191,17.77197h0c-.00006,9.81519-7.95679,17.77191-17.77197,17.77191Z",fill:"#ff4800"}),w.jsx("path",{d:"M450.84529,354.95294l-5.03827-7.35388c-.4646-.68201-1.39417-.85818-2.07617-.39359-.68195,.46463-.85815,1.39417-.39355,2.07617l.00446,.00647,3.25842,4.75601h-12.76538c-.9682-.00287-1.75543,.77966-1.7583,1.74786s.77966,1.75543,1.74786,1.7583h12.93616l-3.41876,4.98999c-.4635,.68274-.28571,1.612,.39703,2.0755,.67865,.46063,1.60175,.28815,2.06824-.38647l5.03827-7.35388c.33362-.59741,.33362-1.32507,0-1.92249Z",fill:"#fff"}),w.jsx("path",{d:"M536.9474,35.89259H71.6544c-.99774-.02133-1.78931-.84746-1.76797-1.84521,.02069-.96771,.80026-1.74727,1.76797-1.76796h465.293c.99774,.02133,1.78931,.84746,1.76794,1.84521-.02069,.96771-.80023,1.74727-1.76794,1.76796Z",fill:"#cacaca"}),w.jsx("path",{d:"M129.88332,392.03558c2.69046-2.25092,3.04681-6.25665,.7959-8.94714-.24002-.28687-.50488-.552-.79156-.79224l-3.85318-33.29462-12.23428,2.83279,6.79901,31.56052c-2.08167,2.84705-1.46118,6.84253,1.38586,8.92419,2.38205,1.7417,5.64722,1.62445,7.89825-.28351Z",fill:"#ffb6b6"}),w.jsx("path",{d:"M128.61916,354.4306l-14.16388,8.83612s-.86215,5.17871-1.83612-7.83612c-.10168-1.35852,.84622-3.72528,.742-5.11966-.11755-1.57309-4.62335-2.2887-4.742-3.88034-.0845-1.13293,1.21814-2.1409,1.134-3.27075-.12741-1.71158-.254-3.41367-.37827-5.08826-.104-1.401-1.6557-2.289-1.75574-3.64099-.10089-1.36349,1.25-3.19043,1.15479-4.48245-.71393-9.68848,1.75491-34.06335,1.75491-34.55923-.19077-1.24442-.71036-2.41531-1.5051-3.39169l.75601-2.26111-.49991-4.24243c-.65692-5.57474,.51501-11.21204,3.33932-16.06308h0l3.59717-2.35538,16.59769,27.91714c-6.98453,24.15781-11.54385,33.64658-4.19489,59.43823Z",fill:"#ff4800"}),w.jsx("polygon",{points:"117.56702 562.58543 126.13502 562.58543 130.21301 529.53642 117.56702 529.53642 117.56702 562.58543",fill:"#ffb6b6"}),w.jsx("path",{d:"M114.77113,556.7168l13.68857-.81702v5.86481l13.0141,8.98798c1.66492,1.14954,2.08273,3.43109,.9332,5.09601-.68396,.99066-1.811,1.58203-3.01483,1.58197h-16.29678l-2.80899-5.80115-1.09677,5.80115h-6.14453l1.72604-20.71375Z",fill:"#2f2e41"}),w.jsx("polygon",{points:"165.69602 562.58543 174.26402 562.58543 178.34102 529.53642 165.69602 529.53642 165.69602 562.58543",fill:"#ffb6b6"}),w.jsx("path",{d:"M162.8994,556.7168l13.68857-.81702v5.86481l13.0141,8.98798c1.66492,1.14954,2.08276,3.43109,.93323,5.09601-.68402,.99066-1.81104,1.58203-3.01489,1.58197h-16.29678l-2.80899-5.80115-1.09671,5.80121h-6.14453l1.72601-20.71381Z",fill:"#2f2e41"}),w.jsx("path",{d:"M113.93041,534.08581h.03333l1.64783-78.70483c-2.16583-4.17767-2.09665-9.16217,.18436-13.27814l.23593-.42706-.61169-2.83545c-.78564-3.64294-.42511-7.43976,1.0321-10.86975l1.53726-50.12524c-5.492-35.59256,20.68112-58.80466,20.68112-58.80466h39.20764l8.41745,28.92029c5.56464,54.21457,4.55493,132.01437-4.27539,183.19821l.24072,.1217c.94843,.52899,1.31409,1.70972,.83063,2.68213-.40802,1.18213-1.44147,1.89789-2.30829,1.59869l-20.70612-.72021c-.94852-.52893-1.31418-1.70972-.8306-2.68213,.40799-1.18213,1.44147-1.89783,2.30829-1.59869l1.4079,.7121-1.45267-2.95715c-1.78177-3.62714-1.43726-7.93823,.89792-11.23639h0l-.25443-6.50977h0c-2.20139-2.57782-2.93311-6.10175-1.94009-9.3429l1.39676-4.55884-1.64999-42.21698,.33322-9.47119-.68646-10.74493-3.17386-48.33057-12.01355,59.43298-12.27142,89.34686c.60062,.54187,.8642,1.36444,.69037,2.15448-.26059,1.05988-1.22098,1.79761-2.31223,1.77612h-16.65585c-1.25314-.00116-2.26804-1.01801-2.26688-2.27112,.00021-.20325,.02771-.40552,.08176-.60144,.28894-.9953,1.20868-1.67383,2.24493-1.65613Z",fill:"#2f2e41"}),w.jsx("path",{d:"M209.20992,379.09808c2.21375-2.72113,1.80243-6.72162-.9187-8.93536-.29016-.23602-.60052-.44598-.92761-.62738l-10.10931-31.95596-11.47314,5.1058,12.672,29.69373c-1.50281,3.19067-.13452,6.99554,3.05621,8.49835,2.66962,1.25739,5.85315,.52185,7.70062-1.77917h-.00006Z",fill:"#ffb6b6"}),w.jsx("path",{d:"M167.61156,277.5068s11.52975,40.80206,11.0076,44.92377c-1.07687,8.49966-54.05972,34.62692-58,23l.49393-3.82181c-1.9906-3.98123,10.15421-19.78131,10.74377-21.84821,.74908-2.64258-2.64258-11.31946-2.64258-11.31946,0,0,2.34436-7.92081,1.96979-12.82452-.38147-4.90372-1.51199-4.14771-5.6597-7.17178-4.14767-3.01712-10.93799-16.9722-10.93799-16.9722,0,0,3.01715-13.58057,3.01715-16.22314s12.3945-7.14401,13.8996-8.64914c.65521-.87424,1.20685-1.82153,1.6438-2.82288,.30518-.61035,.11099-2.02533,.43701-2.72586,.20807-.45776,.93634-.1734,1.1514-.64499,.20807-.45776,.02774-.98489,.23578-1.43576,.27051-.59647,.92249-1.11667,1.17911-1.67847,1.17911-2.58014,2.18481-4.68176,2.49692-4.68176,.74908,0,24.89999,3.39862,24.89999,3.39862,1.31448,2.03296,2.8295,3.92899,4.52225,5.6597,2.64258,2.63565,15.00931,9.05139,15.00931,9.05139l-15.46713,26.7865Z",fill:"#ff4800"}),w.jsx("path",{d:"M200.22267,346.15008c-1.88654,1.8866-11.22198,10.54852-11.60352,8.28046-.37451-2.26111-.57843-2.53137-2.09045-3.28046-1.51202-.75601-1.51202-1.13055-1.88654-3.77316-.37457-2.64258-3.77316-5.28519-3.39169-6.41574,.37454-1.13055,.0249,.30768,.0249-.82983,0-1.13055-1.13055-5.27823-2.64258-6.03427-1.5051-.75601-3.77316-1.50507-2.63565-3.39169,1.13055-1.88654-10.6467-58.48383-10.6467-58.48383l10.56345-20.74536,7.16479-.75601s2.17712,1.24573,2.85925,12.47653c.03455,.56876,.65479,1.61267,.68121,2.2338,.02191,.51627-.54865,.6015-.5329,1.1554,.0033,.11829,.00659,.23743,.00964,.35745,.01428,.5506,1.50098,.95566,1.52332,1.48715,.03986,.94949,.62384,7.0047,.68677,7.89462,.07092,1.0033,.15472,1.9697,.25128,2.89923,1.04254,10.12073,1.41583,10.97568,2.06189,14.20615,1,5,5.14539,34.20227,5.14539,34.20227,0,0,3.01709,.74908,3.01709,3.39169s3.32764,7.95386,1.82251,10.97101c-1.51202,3.02405,1.50519,2.2681-.38147,4.1546Z",fill:"#ff4800"}),w.jsx("circle",{cx:"148.8745",cy:"213.9424",r:"17.89357",fill:"#ffb8b8"}),w.jsx("path",{d:"M110.31502,251.54758c-3.78656-1.34195-7.57309-2.68634-11.35962-4.0332,.65262-1.09512,1.4838-2.07336,2.45911-2.89432,3.60519-3.01041,8.58139-3.55444,13.1586-4.57001,4.5845-1.01556,9.5607-3.09744,11.23639-7.47882,1.74091-4.55551-.78345-9.47366-2.24875-14.11618-2.16422-6.51166-1.90143-13.58618,.73993-19.91934,2.73499-6.33997,8.26752-11.04382,14.96487-12.72339,6.63007-1.47256,14.12341,.92847,18.20013,6.35446,5.43567-1.63062,11.23318,1.05328,13.50684,6.2529,1.0488,2.38864,.8869,5.13562-.43521,7.38452-1.41452,2.13992-4.43942,3.23526-6.71716,2.04562l1.32022-3.35132c-4.08401,1.38547-6.73889,8.76999-6.18765,13.04984,.54404,4.27258,3.0394,8.01559,5.57108,11.50476s5.23007,7.01456,6.31815,11.18555c1.56686,5.99899-.5513,12.55658-4.46841,17.36594s-9.43738,8.07364-15.1535,10.4747c-4.27887,1.79898-8.72549,3.16946-13.27469,4.09131,.81244-1.58136,1.61761-3.16272,2.43005-4.74408l-9.64047,5.83215c-1.86426,.18134-3.74307,.29016-5.6218,.32642-5.46945,.0943-11.0477-.47879-16.05301-2.66217-5.01242-2.1907-9.41559-6.15863-11.2291-11.31619-.58139-1.66821-.8566-3.42773-.81235-5.19379,4.43204-.95752,8.86417-1.91263,13.29636-2.86536Z",fill:"#2f2e41"}),w.jsx("path",{d:"M283.23262,578.79364h-33.18652l-.14258-.25879c-.42432-.76953-.83398-1.58502-1.2168-2.42285-3.41846-7.31836-4.86328-15.68848-6.13818-23.07324l-.96002-5.56641c-.32257-1.87054,.93225-3.64838,2.8028-3.97095,.91565-.15796,1.85626,.06165,2.60736,.60864,5.04346,3.66986,10.08887,7.33624,15.13623,10.99902,1.91113,1.39062,4.09375,3,6.18408,4.73926,.20166-.97949,.4126-1.96191,.62354-2.93066,.40363-1.85602,2.23541-3.03345,4.09143-2.62982,.90845,.19757,1.69824,.75452,2.18933,1.54388l3.88281,6.23828c2.83197,4.55566,5.33154,9.04492,4.82227,13.88672,.0025,.0589-.00195,.11792-.01318,.17578-.10187,.79529-.29083,1.57703-.56348,2.33105l-.11908,.33008Z",fill:"#f0f0f0"}),w.jsx("path",{d:"M316.54201,579.51141l-315.35751,.30731c-.65759-.00342-1.1879-.53931-1.18448-1.1969,.00342-.65271,.53174-1.18103,1.18448-1.18445l315.35751-.30731c.65759,.00342,1.18787,.53931,1.18445,1.1969-.00342,.65271-.53168,1.18103-1.18445,1.18445Z",fill:"#cacaca"}),w.jsx("ellipse",{cx:"89.88544",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"119.0992",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"148.31295",cy:"8.64507",rx:"8.45661",ry:"8.64507",fill:"#3f3d56"}),w.jsx("path",{d:"M181.62437,15.47786c-.25977,0-.51904-.10059-.71484-.30078l-5.70605-5.83301c-.38037-.38867-.38037-1.00977,0-1.39844l5.70605-5.83252c.38721-.39453,1.021-.40088,1.41406-.01562,.39502,.38623,.40186,1.01953,.01562,1.41406l-5.02197,5.1333,5.02197,5.13379c.38623,.39453,.37939,1.02783-.01562,1.41406-.19434,.19043-.44678,.28516-.69922,.28516Z",fill:"#3f3d56"}),w.jsx("path",{d:"M191.21275,15.47786c-.25244,0-.50488-.09473-.69922-.28516-.39502-.38623-.40186-1.01904-.01562-1.41406l5.02148-5.13379-5.02148-5.1333c-.38623-.39453-.37939-1.02783,.01562-1.41406,.39404-.38672,1.02783-.37939,1.41406,.01562l5.70557,5.83252c.38037,.38867,.38037,1.00977,0,1.39844l-5.70557,5.83301c-.1958,.2002-.45508,.30078-.71484,.30078Z",fill:"#3f3d56"}),w.jsx("path",{d:"M489.72257,1.0009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V13.8109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.1909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M463.72257,1.0009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V13.8109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.1909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M514.22257,1.5009h-10.60999c-1.21002,0-2.19,.97998-2.19,2.19V14.3109c0,1.21002,.97998,2.19,2.19,2.19h10.60999c1.21002,0,2.20001-.97998,2.20001-2.19V3.6909c0-1.21002-.98999-2.19-2.20001-2.19Z",fill:"#3f3d56"}),w.jsx("path",{d:"M354.30088,5.54088h-84.81c-1.48004,0-2.67004,1.20001-2.67004,2.67004s1.19,2.66998,2.67004,2.66998h84.81c1.46997,0,2.66998-1.20001,2.66998-2.66998s-1.20001-2.67004-2.66998-2.67004Z",fill:"#3f3d56"})]}),w.jsxs("div",{className:"qc:space-y-4",children:[w.jsx("h4",{className:"qc:text-foreground qc:text-center qc:text-lg qc:font-medium",children:"Invalid input"}),w.jsx("h5",{className:"qc:text-muted qc:text-center",children:"Custom auth mode requires uid, fname, lname. For more details please contact Qrati support."})]})]})},Oi=()=>{const e=xe.useContext(Ri);if(void 0===e)throw new Error("useSession must be used within SessionProvider");return e};
|
|
41
41
|
/**
|
|
42
42
|
* react-router v7.9.5
|
|
43
43
|
*
|
|
@@ -47,7 +47,7 @@ return"production"!=={}.NODE_ENV&&function(){function e(t){if(null==t)return nul
|
|
|
47
47
|
* LICENSE.md file in the root directory of this source tree.
|
|
48
48
|
*
|
|
49
49
|
* @license MIT
|
|
50
|
-
*/var Oi="popstate";function Ni(e={}){return function(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,l="POP",s=null,u=c();function c(){return(i.state||{idx:null}).idx}function d(){l="POP";let e=c(),t=null==e?null:e-u;u=e,s&&s({action:l,location:m.location,delta:t})}function f(e,t){l="PUSH";let r=ji(m.location,e,t);n&&n(r,e),u=c()+1;let d=Di(r,u),f=m.createHref(r);try{i.pushState(d,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(f)}a&&s&&s({action:l,location:m.location,delta:1})}function p(e,t){l="REPLACE";let r=ji(m.location,e,t);n&&n(r,e),u=c();let o=Di(r,u),d=m.createHref(r);i.replaceState(o,"",d),a&&s&&s({action:l,location:m.location,delta:0})}function h(e){return function(e,t=!1){let n="http://localhost";typeof window<"u"&&(n="null"!==window.location.origin?window.location.origin:window.location.href),Li(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:Mi(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}(e)}null==u&&(u=0,i.replaceState({...i.state,idx:u},""));let m={get action(){return l},get location(){return e(o,i)},listen(e){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(Oi,d),s=e,()=>{o.removeEventListener(Oi,d),s=null}},createHref:e=>t(o,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go:e=>i.go(e)};return m}(function(e,t){let{pathname:n="/",search:r="",hash:o=""}=Fi(e.location.hash.substring(1));return!n.startsWith("/")&&!n.startsWith(".")&&(n="/"+n),ji("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:Mi(t))},function(e,t){zi("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)},e)}function Li(e,t){if(!1===e||null===e||typeof e>"u")throw new Error(t)}function zi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Di(e,t){return{usr:e.state,key:e.key,idx:t}}function ji(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?Fi(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function Mi({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function Fi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function qi(e,t,n="/"){return function(e,t,n,r){let o="string"==typeof t?Fi(t):t,a=el(o.pathname||"/",n);if(null==a)return null;let i=Ui(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(i);let l=null;for(let e=0;null==l&&e<i.length;++e){let t=Xi(a);l=Ki(i[e],t,r)}return l}(e,t,n,!1)}function Ui(e,t=[],n=[],r="",o=!1){let a=(e,a,i=o,l)=>{let s={relativePath:void 0===l?e.path||"":l,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(s.relativePath.startsWith("/")){if(!s.relativePath.startsWith(r)&&i)return;Li(s.relativePath.startsWith(r),`Absolute route path "${s.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(r.length)}let u=al([r,s.relativePath]),c=n.concat(s);e.children&&e.children.length>0&&(Li(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),Ui(e.children,t,c,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:Zi(u,e.index),routesMeta:c})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of Hi(e.path))a(e,t,!0,n);else a(e,t)}),t}function Hi(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return o?[a,""]:[a];let i=Hi(r.join("/")),l=[];return l.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}var Bi=/^:[\w-]+$/,Vi=3,Wi=2,Gi=1,Qi=10,Yi=-2,$i=e=>"*"===e;function Zi(e,t){let n=e.split("/"),r=n.length;return n.some($i)&&(r+=Yi),t&&(r+=Wi),n.filter(e=>!$i(e)).reduce((e,t)=>e+(Bi.test(t)?Vi:""===t?Gi:Qi),r)}function Ki(e,t,n=!1){let{routesMeta:r}=e,o={},a="/",i=[];for(let e=0;e<r.length;++e){let l=r[e],s=e===r.length-1,u="/"===a?t:t.slice(a.length)||"/",c=Ji({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u),d=l.route;if(!c&&s&&n&&!r[r.length-1].route.index&&(c=Ji({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!c)return null;Object.assign(o,c.params),i.push({params:o,pathname:al([a,c.pathname]),pathnameBase:il(al([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=al([a,c.pathnameBase]))}return i}function Ji(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){zi("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=l[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=l[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function Xi(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return zi(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function el(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function tl(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function nl(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function rl(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function ol(e,t,n,r=!1){let o;"string"==typeof e?o=Fi(e):(o={...e},Li(!o.pathname||!o.pathname.includes("?"),nl("?","pathname","search",o)),Li(!o.pathname||!o.pathname.includes("#"),nl("#","pathname","hash",o)),Li(!o.search||!o.search.includes("#"),nl("#","search","hash",o)));let a,i=""===e||""===o.pathname,l=i?"/":o.pathname;if(null==l)a=n;else{let e=t.length-1;if(!r&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let s=function(e,t="/"){let{pathname:n,search:r="",hash:o=""}="string"==typeof e?Fi(e):e;return{pathname:n?n.startsWith("/")?n:tl(n,t):t,search:ll(r),hash:sl(o)}}(o,a),u=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}var al=e=>e.join("/").replace(/\/\/+/g,"/"),il=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ll=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",sl=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ul=["POST","PUT","PATCH","DELETE"];new Set(ul);var cl=["GET",...ul];new Set(cl);var dl=Se.createContext(null);dl.displayName="DataRouter";var fl=Se.createContext(null);fl.displayName="DataRouterState",Se.createContext(!1);var pl=Se.createContext({isTransitioning:!1});pl.displayName="ViewTransition",Se.createContext(new Map).displayName="Fetchers",Se.createContext(null).displayName="Await";var hl=Se.createContext(null);hl.displayName="Navigation";var ml=Se.createContext(null);ml.displayName="Location";var gl=Se.createContext({outlet:null,matches:[],isDataRoute:!1});gl.displayName="Route";var yl=Se.createContext(null);function bl(){return null!=Se.useContext(ml)}function vl(){return Li(bl(),"useLocation() may be used only in the context of a <Router> component."),Se.useContext(ml).location}yl.displayName="RouteError";var wl="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function kl(e){Se.useContext(hl).static||Se.useLayoutEffect(e)}function Sl(){let{isDataRoute:e}=Se.useContext(gl);return e?function(){let{router:e}=function(e){let t=Se.useContext(dl);return Li(t,Pl(e)),t}("useNavigate"),t=Ol("useNavigate"),n=Se.useRef(!1);return kl(()=>{n.current=!0}),Se.useCallback(async(r,o={})=>{zi(n.current,wl),n.current&&("number"==typeof r?e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))},[e,t])}():function(){Li(bl(),"useNavigate() may be used only in the context of a <Router> component.");let e=Se.useContext(dl),{basename:t,navigator:n}=Se.useContext(hl),{matches:r}=Se.useContext(gl),{pathname:o}=vl(),a=JSON.stringify(rl(r)),i=Se.useRef(!1);return kl(()=>{i.current=!0}),Se.useCallback((r,l={})=>{if(zi(i.current,wl),!i.current)return;if("number"==typeof r)return void n.go(r);let s=ol(r,JSON.parse(a),o,"path"===l.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:al([t,s.pathname])),(l.replace?n.replace:n.push)(s,l.state,l)},[t,n,a,o,e])}()}var xl=Se.createContext(null);function Cl(){let{matches:e}=Se.useContext(gl),t=e[e.length-1];return t?t.params:{}}function Al(e,{relative:t}={}){let{matches:n}=Se.useContext(gl),{pathname:r}=vl(),o=JSON.stringify(rl(n));return Se.useMemo(()=>ol(e,JSON.parse(o),r,"path"===t),[e,o,r,t])}function El(e,t,n,r,o){Li(bl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=Se.useContext(hl),{matches:i}=Se.useContext(gl),l=i[i.length-1],s=l?l.params:{},u=l?l.pathname:"/",c=l?l.pathnameBase:"/",d=l&&l.route;{let e=d&&d.path||"";Ll(u,!d||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${e}">) 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.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let f,p=vl();if(t){let e="string"==typeof t?Fi(t):t;Li("/"===c||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),f=e}else f=p;let h=f.pathname||"/",m=h;if("/"!==c){let e=c.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let g=qi(e,{pathname:m});zi(d||null!=g,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),zi(null==g||void 0!==g[g.length-1].route.element||void 0!==g[g.length-1].route.Component||void 0!==g[g.length-1].route.lazy,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let y=function(e,t=[],n=null,r=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let o=e,a=n?.errors;if(null!=a){let e=o.findIndex(e=>e.route.id&&void 0!==a?.[e.route.id]);Li(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),o=o.slice(0,Math.min(o.length,e+1))}let i=!1,l=-1;if(n)for(let e=0;e<o.length;e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(l=e),t.route.id){let{loaderData:e,errors:r}=n,a=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!r||void 0===r[t.route.id]);if(t.route.lazy||a){i=!0,o=l>=0?o.slice(0,l+1):[o[0]];break}}}return o.reduceRight((e,s,u)=>{let c,d=!1,f=null,p=null;n&&(c=a&&s.route.id?a[s.route.id]:void 0,f=s.route.errorElement||Tl,i&&(l<0&&0===u?(Ll("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):l===u&&(d=!0,p=s.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,u+1)),m=()=>{let t;return t=c?f:d?p:s.route.Component?Se.createElement(s.route.Component,null):s.route.element?s.route.element:e,Se.createElement(Rl,{match:s,routeContext:{outlet:e,matches:h,isDataRoute:null!=n},children:t})};return n&&(s.route.ErrorBoundary||s.route.errorElement||0===u)?Se.createElement(_l,{location:n.location,revalidation:n.revalidation,component:f,error:c,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0},unstable_onError:r}):m()},null)}(g&&g.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:al([c,a.encodeLocation?a.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:al([c,a.encodeLocation?a.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),i,n,r,o);return t&&y?Se.createElement(ml.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...f},navigationType:"POP"}},y):y}function Il(){let e=function(){let e=Se.useContext(yl),t=function(e){let t=Se.useContext(fl);return Li(t,Pl(e)),t}("useRouteError"),n=Ol("useRouteError");return void 0!==e?e:t.errors?.[n]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},i=null;return console.error("Error handled by React Router default ErrorBoundary:",e),i=Se.createElement(Se.Fragment,null,Se.createElement("p",null,"💿 Hey developer 👋"),Se.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",Se.createElement("code",{style:a},"ErrorBoundary")," or"," ",Se.createElement("code",{style:a},"errorElement")," prop on your route.")),Se.createElement(Se.Fragment,null,Se.createElement("h2",null,"Unexpected Application Error!"),Se.createElement("h3",{style:{fontStyle:"italic"}},t),n?Se.createElement("pre",{style:o},n):null,i)}var Tl=Se.createElement(Il,null),_l=class extends Se.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,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return void 0!==this.state.error?Se.createElement(gl.Provider,{value:this.props.routeContext},Se.createElement(yl.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Rl({routeContext:e,match:t,children:n}){let r=Se.useContext(dl);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),Se.createElement(gl.Provider,{value:e},n)}function Pl(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ol(e){let t=function(e){let t=Se.useContext(gl);return Li(t,Pl(e)),t}(e),n=t.matches[t.matches.length-1];return Li(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var Nl={};function Ll(e,t,n){!t&&!Nl[e]&&(Nl[e]=!0,zi(!1,n))}function zl({basename:e,children:t,initialEntries:n,initialIndex:r}){let o=Se.useRef();null==o.current&&(o.current=function(e={}){let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:o=!1}=e;t=n.map((e,t)=>c(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let a=s(r??t.length-1),i="POP",l=null;function s(e){return Math.min(Math.max(e,0),t.length-1)}function u(){return t[a]}function c(e,n=null,r){let o=ji(t?u().pathname:"/",e,n,r);return zi("/"===o.pathname.charAt(0),`relative pathnames are not supported in memory history: ${JSON.stringify(e)}`),o}function d(e){return"string"==typeof e?e:Mi(e)}return{get index(){return a},get action(){return i},get location(){return u()},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?Fi(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){i="PUSH";let r=c(e,n);a+=1,t.splice(a,t.length,r),o&&l&&l({action:i,location:r,delta:1})},replace(e,n){i="REPLACE";let r=c(e,n);t[a]=r,o&&l&&l({action:i,location:r,delta:0})},go(e){i="POP";let n=s(a+e),r=t[n];a=n,l&&l({action:i,location:r,delta:e})},listen:e=>(l=e,()=>{l=null})}}({initialEntries:n,initialIndex:r,v5Compat:!0}));let a=o.current,[i,l]=Se.useState({action:a.action,location:a.location}),s=Se.useCallback(e=>{Se.startTransition(()=>l(e))},[l]);return Se.useLayoutEffect(()=>a.listen(s),[a,s]),Se.createElement(Fl,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a})}function Dl({to:e,replace:t,state:n,relative:r}){Li(bl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=Se.useContext(hl);zi(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=Se.useContext(gl),{pathname:i}=vl(),l=Sl(),s=ol(e,rl(a),i,"path"===r),u=JSON.stringify(s);return Se.useEffect(()=>{l(JSON.parse(u),{replace:t,state:n,relative:r})},[l,u,r,t,n]),null}function jl(e){return function(e){let t=Se.useContext(gl).outlet;return Se.useMemo(()=>t&&Se.createElement(xl.Provider,{value:e},t),[t,e])}(e.context)}function Ml(e){Li(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Fl({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:a=!1}){Li(!bl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let i=e.replace(/^\/*/,"/"),l=Se.useMemo(()=>({basename:i,navigator:o,static:a,future:{}}),[i,o,a]);"string"==typeof n&&(n=Fi(n));let{pathname:s="/",search:u="",hash:c="",state:d=null,key:f="default"}=n,p=Se.useMemo(()=>{let e=el(s,i);return null==e?null:{location:{pathname:e,search:u,hash:c,state:d,key:f},navigationType:r}},[i,s,u,c,d,f,r]);return zi(null!=p,`<Router basename="${i}"> is not able to match the URL "${s}${u}${c}" because it does not start with the basename, so the <Router> won't render anything.`),null==p?null:Se.createElement(hl.Provider,{value:l},Se.createElement(ml.Provider,{children:t,value:p}))}function ql({children:e,location:t}){return function(e,t){return El(e,t)}(Ul(e),t)}function Ul(e,t=[]){let n=[];return Se.Children.forEach(e,(e,r)=>{if(!Se.isValidElement(e))return;let o=[...t,r];if(e.type===Se.Fragment)return void n.push.apply(n,Ul(e.props.children,o));Li(e.type===Ml,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Li(!e.props.index||!e.props.children,"An index route cannot have child routes.");let a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Ul(e.props.children,o)),n.push(a)}),n}Se.memo(function({routes:e,future:t,state:n,unstable_onError:r}){return El(e,void 0,n,r,t)});var Hl="get",Bl="application/x-www-form-urlencoded";function Vl(e){return null!=e&&"string"==typeof e.tagName}var Wl=null;var Gl=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ql(e){return null==e||Gl.has(e)?e:(zi(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Bl}"`),null)}function Yl(e,t){let n,r,o,a,i;if(function(e){return Vl(e)&&"form"===e.tagName.toLowerCase()}(e)){let i=e.getAttribute("action");r=i?el(i,t):null,n=e.getAttribute("method")||Hl,o=Ql(e.getAttribute("enctype"))||Bl,a=new FormData(e)}else if(function(e){return Vl(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Vl(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(r=l?el(l,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||Hl,o=Ql(e.getAttribute("formenctype"))||Ql(i.getAttribute("enctype"))||Bl,a=new FormData(i,e),!function(){if(null===Wl)try{new FormData(document.createElement("form"),0),Wl=!1}catch{Wl=!0}return Wl}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,r)}}else{if(Vl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Hl,r=null,o=Bl,i=e}return a&&"text/plain"===o&&(i=a,a=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:a,body:i}}function $l(e,t){if(!1===e||null===e||typeof e>"u")throw new Error(t)}function Zl(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}async function Kl(e,t,n){let r=await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}));return function(e,t){let n=new Set;return new Set(t),e.reduce((e,t)=>{let r=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(t));return n.has(r)||(n.add(r),e.push({key:r,link:t})),e},[])}(r.flat(1).filter(Zl).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}function Jl(e,t,n,r,o,a){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,l=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>i(e,t)||l(e,t)):"data"===a?t.filter((t,a)=>{let s=r.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(i(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function Xl(e,t,{includeHydrateFallback:n}={}){return function(e){return[...new Set(e)]}(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o}).flat(1))}function es(){let e=Se.useContext(dl);return $l(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ts=Se.createContext(void 0);function ns(){let e=Se.useContext(ts);return $l(e,"You must render this element inside a <HydratedRouter> element"),e}function rs(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function os({page:e,...t}){let{router:n}=es(),r=Se.useMemo(()=>qi(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?Se.createElement(as,{page:e,matches:r,...t}):null}function as({page:e,matches:t,...n}){let r=vl(),{manifest:o,routeModules:a}=ns(),{basename:i}=es(),{loaderData:l,matches:s}=function(){let e=Se.useContext(fl);return $l(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}(),u=Se.useMemo(()=>Jl(e,t,s,o,r,"data"),[e,t,s,o,r]),c=Se.useMemo(()=>Jl(e,t,s,o,r,"assets"),[e,t,s,o,r]),d=Se.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,s=!1;if(t.forEach(e=>{let t=o.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in l&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?s=!0:n.add(e.route.id))}),0===n.size)return[];let c=function(e,t,n){let r="string"==typeof e?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return"/"===r.pathname?r.pathname=`_root.${n}`:t&&"/"===el(r.pathname,t)?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}(e,i,"data");return s&&n.size>0&&c.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[i,l,r,o,u,t,e,a]),f=Se.useMemo(()=>Xl(c,o),[c,o]),p=function(e){let{manifest:t,routeModules:n}=ns(),[r,o]=Se.useState([]);return Se.useEffect(()=>{let r=!1;return Kl(e,t,n).then(e=>{r||o(e)}),()=>{r=!0}},[e,t,n]),r}(c);return Se.createElement(Se.Fragment,null,d.map(e=>Se.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),f.map(e=>Se.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),p.map(({key:e,link:t})=>Se.createElement("link",{key:e,nonce:n.nonce,...t})))}function is(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}ts.displayName="FrameworkContext";var ls=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{ls&&(window.__reactRouterVersion="7.9.5")}catch{}function ss({basename:e,children:t,window:n}){let r=Se.useRef();null==r.current&&(r.current=Ni({window:n,v5Compat:!0}));let o=r.current,[a,i]=Se.useState({action:o.action,location:o.location}),l=Se.useCallback(e=>{Se.startTransition(()=>i(e))},[i]);return Se.useLayoutEffect(()=>o.listen(l),[o,l]),Se.createElement(Fl,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:o})}var us=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cs=Se.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:o,replace:a,state:i,target:l,to:s,preventScrollReset:u,viewTransition:c,...d},f){let p,{basename:h}=Se.useContext(hl),m="string"==typeof s&&us.test(s),g=!1;if("string"==typeof s&&m&&(p=s,ls))try{let e=new URL(window.location.href),t=s.startsWith("//")?new URL(e.protocol+s):new URL(s),n=el(t.pathname,h);t.origin===e.origin&&null!=n?s=n+t.search+t.hash:g=!0}catch{zi(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let y=function(e,{relative:t}={}){Li(bl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=Se.useContext(hl),{hash:o,pathname:a,search:i}=Al(e,{relative:t}),l=a;return"/"!==n&&(l="/"===a?n:al([n,a])),r.createHref({pathname:l,search:i,hash:o})}(s,{relative:r}),[b,v,w]=function(e,t){let n=Se.useContext(ts),[r,o]=Se.useState(!1),[a,i]=Se.useState(!1),{onFocus:l,onBlur:s,onMouseEnter:u,onMouseLeave:c,onTouchStart:d}=t,f=Se.useRef(null);Se.useEffect(()=>{if("render"===e&&i(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{i(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),Se.useEffect(()=>{if(r){let e=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{o(!0)},h=()=>{o(!1),i(!1)};return n?"intent"!==e?[a,f,{}]:[a,f,{onFocus:rs(l,p),onBlur:rs(s,h),onMouseEnter:rs(u,p),onMouseLeave:rs(c,h),onTouchStart:rs(d,p)}]:[!1,f,{}]}(n,d),k=function(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:a,viewTransition:i}={}){let l=Sl(),s=vl(),u=Al(e,{relative:a});return Se.useCallback(c=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(c,t)){c.preventDefault();let t=void 0!==n?n:Mi(s)===Mi(u);l(e,{replace:t,state:r,preventScrollReset:o,relative:a,viewTransition:i})}},[s,l,u,n,r,t,e,o,a,i])}(s,{replace:a,state:i,target:l,preventScrollReset:u,relative:r,viewTransition:c});let S=Se.createElement("a",{...d,...w,href:p||y,onClick:g||o?e:function(t){e&&e(t),t.defaultPrevented||k(t)},ref:is(f,v),target:l,"data-discover":m||"render"!==t?void 0:"true"});return b&&!m?Se.createElement(Se.Fragment,null,S,Se.createElement(os,{page:y})):S});cs.displayName="Link";var ds=Se.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:o,to:a,viewTransition:i,children:l,...s},u){let c=Al(a,{relative:s.relative}),d=vl(),f=Se.useContext(fl),{navigator:p,basename:h}=Se.useContext(hl),m=null!=f&&function(e,{relative:t}={}){let n=Se.useContext(pl);Li(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=ps("useViewTransitionState"),o=Al(e,{relative:t});if(!n.isTransitioning)return!1;let a=el(n.currentLocation.pathname,r)||n.currentLocation.pathname,i=el(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=Ji(o.pathname,i)||null!=Ji(o.pathname,a)}(c)&&!0===i,g=p.encodeLocation?p.encodeLocation(c).pathname:c.pathname,y=d.pathname,b=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(y=y.toLowerCase(),b=b?b.toLowerCase():null,g=g.toLowerCase()),b&&h&&(b=el(b,h)||b);const v="/"!==g&&g.endsWith("/")?g.length-1:g.length;let w,k=y===g||!r&&y.startsWith(g)&&"/"===y.charAt(v),S=null!=b&&(b===g||!r&&b.startsWith(g)&&"/"===b.charAt(g.length)),x={isActive:k,isPending:S,isTransitioning:m},C=k?e:void 0;w="function"==typeof n?n(x):[n,k?"active":null,S?"pending":null,m?"transitioning":null].filter(Boolean).join(" ");let A="function"==typeof o?o(x):o;return Se.createElement(cs,{...s,"aria-current":C,className:w,ref:u,style:A,to:a,viewTransition:i},"function"==typeof l?l(x):l)});ds.displayName="NavLink";var fs=Se.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:a,method:i=Hl,action:l,onSubmit:s,relative:u,preventScrollReset:c,viewTransition:d,...f},p)=>{let h=function(){let{router:e}=ps("useSubmit"),{basename:t}=Se.useContext(hl),n=Ol("useRouteId");return Se.useCallback(async(r,o={})=>{let{action:a,method:i,encType:l,formData:s,body:u}=Yl(r,t);if(!1===o.navigate){let t=o.fetcherKey||ms();await e.fetch(t,n,o.action||a,{preventScrollReset:o.preventScrollReset,formData:s,body:u,formMethod:o.method||i,formEncType:o.encType||l,flushSync:o.flushSync})}else await e.navigate(o.action||a,{preventScrollReset:o.preventScrollReset,formData:s,body:u,formMethod:o.method||i,formEncType:o.encType||l,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}(),m=function(e,{relative:t}={}){let{basename:n}=Se.useContext(hl),r=Se.useContext(gl);Li(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),a={...Al(e||".",{relative:t})},i=vl();if(null==e){a.search=i.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();a.search=n?`?${n}`:""}}return(!e||"."===e)&&o.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(a.pathname="/"===a.pathname?n:al([n,a.pathname])),Mi(a)}(l,{relative:u}),g="get"===i.toLowerCase()?"get":"post",y="string"==typeof l&&us.test(l);return Se.createElement("form",{ref:p,method:g,action:m,onSubmit:r?s:e=>{if(s&&s(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,l=r?.getAttribute("formmethod")||i;h(r||e.currentTarget,{fetcherKey:t,method:l,navigate:n,replace:o,state:a,relative:u,preventScrollReset:c,viewTransition:d})},...f,"data-discover":y||"render"!==e?void 0:"true"})});function ps(e){let t=Se.useContext(dl);return Li(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}fs.displayName="Form";var hs=0,ms=()=>`__${String(++hs)}__`;const gs=()=>{const e=vl(),{props:{organizationId:t},sessionId:n}=Pi(),r=Se.useRef([]),o=Se.useRef(null),a=Se.useRef(null),i=Se.useRef(!1),l=Se.useRef(!0),s=async e=>{if(n&&e.length)try{await po.post(bo.UPDATE_SESSION,{headers:{"x-org-id":t},json:{sessionId:n,pageViews:e}})}catch(e){console.error("Failed to send page views:",e)}},u=Se.useCallback(()=>{if(i.current)return null;i.current=!0;const e=Date.now();if(o.current&&a.current){if(e-a.current<100)return i.current=!1,null;const t={page:o.current,entryTime:a.current,exitTime:e},n=[...r.current,t];return n.length>=5?(s(n),r.current=[]):r.current=n,i.current=!1,t}return i.current=!1,null},[]),c=Se.useCallback(e=>{o.current!==e&&(u(),o.current=e,a.current=Date.now())},[u]);return Se.useEffect(()=>{if(l.current)return l.current=!1,o.current=e.pathname,void(a.current=Date.now());const t=document.getElementById("qrati-connect-container");t&&t.scrollIntoView({behavior:"smooth",block:"start"}),c(e.pathname)},[e,c]),Se.useEffect(()=>{const e=()=>{const e=u();if(e){const o=[...r.current,e];if(o.length>0)try{try{fetch(bo.UPDATE_SESSION,{method:"POST",headers:{"Content-Type":"application/json","x-org-id":t},body:JSON.stringify({sessionId:n,pageViews:o}),keepalive:!0})}catch(e){console.error("Failed to send final page views with fetch keepalive:",e),s(o)}}catch(e){console.error("Failed to send final page views:",e),s(o)}}};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e);const t=u(),n=t?[...r.current,t]:r.current;n.length>0&&s(n)}},[u,n]),null};const ys=Object.freeze({left:0,top:0,width:16,height:16}),bs=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),vs=Object.freeze({...ys,...bs}),ws=Object.freeze({...vs,body:"",hidden:!1});function ks(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}(e,t);for(const r in ws)r in bs?r in e&&!(r in n)&&(n[r]=bs[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Ss(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let a={};function i(e){a=ks(r[e]||o[e],a)}return i(t),n.forEach(i),ks(e,a)}function xs(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});const r=function(e){const t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);return Object.keys(t).concat(Object.keys(n)).forEach(function e(o){if(t[o])return r[o]=[];if(!(o in r)){r[o]=null;const t=n[o]&&n[o].parent,a=t&&e(t);a&&(r[o]=[t].concat(a))}return r[o]}),r}(e);for(const o in r){const a=r[o];a&&(t(o,Ss(e,o,a)),n.push(o))}return n}const Cs={provider:"",aliases:{},not_found:{},...ys};function As(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Es(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!As(e,Cs))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e||"string"!=typeof t.body||!As(t,ws))return null}const r=t.aliases||Object.create(null);for(const e in r){const t=r[e],o=t.parent;if(!e||"string"!=typeof o||!n[o]&&!r[o]||!As(t,ws))return null}return t}const Is=Object.create(null);function Ts(e,t){const n=Is[e]||(Is[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function _s(e,t){return Es(t)?xs(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}const Rs=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ps=(e,t,n,r="")=>{const o=e.split(":");if("@"===e.slice(0,1)){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const e=o.pop(),n=o.pop(),a={provider:o.length>0?o[0]:r,prefix:n,name:e};return t&&!Os(a)?null:a}const a=o[0],i=a.split("-");if(i.length>1){const e={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Os(e)?null:e}if(n&&""===r){const e={provider:r,prefix:"",name:a};return t&&!Os(e,n)?null:e}return null},Os=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name);let Ns=!1;function Ls(e){return"boolean"==typeof e&&(Ns=e),Ns}function zs(e){const t="string"==typeof e?Ps(e,!0,Ns):e;if(t){const e=Ts(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function Ds(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),Ns&&!t&&!e.prefix){let t=!1;return Es(e)&&(e.prefix="",xs(e,(e,n)=>{(function(e,t){const n=Ps(e,!0,Ns);if(!n)return!1;const r=Ts(n.provider,n.prefix);return t?function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch{}return!1}(r,n.name,t):(r.missing.add(n.name),!0)})(e,n)&&(t=!0)})),t}const n=e.prefix;if(!Os({prefix:n,name:"a"}))return!1;return!!_s(Ts(t,n),e)}const js=Object.freeze({width:null,height:null}),Ms=Object.freeze({...js,...bs}),Fs=/(-?[0-9.]*[0-9]+[0-9.]*)/g,qs=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Us(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const r=e.split(Fs);if(null===r||!r.length)return e;const o=[];let a=r.shift(),i=qs.test(a);for(;;){if(i){const e=parseFloat(a);isNaN(e)?o.push(a):o.push(Math.ceil(e*t*n)/n)}else o.push(a);if(a=r.shift(),void 0===a)return o.join("");i=!i}}const Hs=/\sid="(\S+)"/g,Bs="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let Vs=0;function Ws(e,t=Bs){const n=[];let r;for(;r=Hs.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(n=>{const r="function"==typeof t?t(n):t+(Vs++).toString(),a=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+r+o+"$3")}),e=e.replace(new RegExp(o,"g"),"")}const Gs=Object.create(null);function Qs(e){return Gs[e]||Gs[""]}function Ys(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const $s=Object.create(null),Zs=["https://api.simplesvg.com","https://api.unisvg.com"],Ks=[];for(;Zs.length>0;)1===Zs.length||Math.random()>.5?Ks.push(Zs.shift()):Ks.push(Zs.pop());function Js(e,t){const n=Ys(t);return null!==n&&($s[e]=n,!0)}function Xs(e){return $s[e]}$s[""]=Ys({resources:["https://api.iconify.design"].concat(Ks)});let eu=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const tu={prepare:(e,t,n)=>{const r=[],o=function(e,t){const n=Xs(e);if(!n)return 0;let r;if(n.maxURL){let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});const o=t+".json?icons=";r=n.maxURL-e-n.path.length-o.length}else r=0;return r}(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return n.forEach((n,s)=>{l+=n.length+1,l>=o&&s>0&&(r.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=n.length),i.icons.push(n)}),r.push(i),r},send:(e,t,n)=>{if(!eu)return void n("abort",424);let r=function(e){if("string"==typeof e){const t=Xs(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");r+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let o=503;eu(e+r).then(e=>{const t=e.status;if(200===t)return o=501,e.json();setTimeout(()=>{n(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{n("success",e)}):setTimeout(()=>{404===e?n("abort",e):n("next",o)})}).catch(()=>{n("next",o)})}};function nu(e,t){e.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let ru=0;const ou={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function au(e,t,n,r){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let t=e.resources.slice(0);for(i=[];t.length>1;){const e=Math.floor(Math.random()*t.length);i.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}i=i.concat(t)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let s,u="pending",c=0,d=null,f=[],p=[];function h(){d&&(clearTimeout(d),d=null)}function m(){"pending"===u&&(u="aborted"),h(),f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function g(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function y(){u="failed",p.forEach(e=>{e(void 0,s)})}function b(){f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function v(){if("pending"!==u)return;h();const r=i.shift();if(void 0===r)return f.length?void(d=setTimeout(()=>{h(),"pending"===u&&(b(),y())},e.timeout)):void y();const o={status:"pending",resource:r,callback:(t,n)=>{!function(t,n,r){const o="success"!==n;switch(f=f.filter(e=>e!==t),u){case"pending":break;case"failed":if(o||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return s=r,void y();if(o)return s=r,void(f.length||(i.length?v():y()));if(h(),b(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}u="completed",p.forEach(e=>{e(r)})}(o,t,n)}};f.push(o),c++,d=setTimeout(v,e.rotate),n(r,t,o.callback)}return"function"==typeof r&&p.push(r),setTimeout(v),function(){return{startTime:l,payload:t,status:u,queriesSent:c,queriesPending:f.length,subscribe:g,abort:m}}}function iu(e){const t={...ou,...e};let n=[];function r(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,o,a){const i=au(t,e,o,(e,t)=>{r(),a&&a(e,t)});return n.push(i),i},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function lu(){}const su=Object.create(null);function uu(e,t,n){let r,o;if("string"==typeof e){const t=Qs(e);if(!t)return n(void 0,424),lu;o=t.send;const a=function(e){if(!su[e]){const t=Xs(e);if(!t)return;const n={config:t,redundancy:iu(t)};su[e]=n}return su[e]}(e);a&&(r=a.redundancy)}else{const t=Ys(e);if(t){r=iu(t);const n=Qs(e.resources?e.resources[0]:"");n&&(o=n.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),lu)}function cu(){}function du(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(t=>{const a=t.icons,i=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==o)return!0;const i=t.name;if(e.icons[i])a.loaded.push({provider:r,prefix:o,name:i});else{if(!e.missing.has(i))return n=!0,!0;a.missing.push({provider:r,prefix:o,name:i})}return!1}),a.pending.length!==i&&(n||nu([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}(e)}))}function fu(e,t,n){function r(){const n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!_s(e,n).length)return void r()}catch(e){console.error(e)}r(),du(e)}function pu(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function hu(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const o=e.loadIcon;if(e.loadIcons&&(r.length>1||!o))return void pu(e.loadIcons(r,n,t),t=>{fu(e,r,t)});if(o)return void r.forEach(r=>{pu(o(r,n,t),t=>{fu(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});const{valid:a,invalid:i}=function(e){const t=[],n=[];return e.forEach(e=>{(e.match(Rs)?t:n).push(e)}),{valid:t,invalid:n}}(r);if(i.length&&fu(e,i,null),!a.length)return;const l=n.match(Rs)?Qs(t):null;l?l.prepare(t,n,a).forEach(n=>{uu(t,n,t=>{fu(e,n.icons,t)})}):fu(e,a,null)}))}const mu=(e,t)=>{const n=function(e,t=!0,n=!1){const r=[];return e.forEach(e=>{const o="string"==typeof e?Ps(e,t,n):e;o&&r.push(o)}),r}(e,!0,Ls()),r=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let r={provider:"",prefix:"",name:""};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const o=e.provider,a=e.prefix,i=e.name,l=n[o]||(n[o]=Object.create(null)),s=l[a]||(l[a]=Ts(o,a));let u;u=i in s.icons?t.loaded:""===a||s.missing.has(i)?t.missing:t.pending;const c={provider:o,prefix:a,name:i};u.push(c)}),t}(n);if(!r.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(r.loaded,r.missing,r.pending,cu)}),()=>{e=!1}}const o=Object.create(null),a=[];let i,l;return r.pending.forEach(e=>{const{provider:t,prefix:n}=e;if(n===l&&t===i)return;i=t,l=n,a.push(Ts(t,n));const r=o[t]||(o[t]=Object.create(null));r[n]||(r[n]=[])}),r.pending.forEach(e=>{const{provider:t,prefix:n,name:r}=e,a=Ts(t,n),i=a.pendingIcons||(a.pendingIcons=new Set);i.has(r)||(i.add(r),o[t][n].push(r))}),a.forEach(e=>{const t=o[e.provider][e.prefix];t.length&&hu(e,t)}),t?function(e,t,n){const r=ru++,o=nu.bind(null,n,r);if(!t.pending.length)return o;const a={id:r,icons:t,callback:e,abort:o};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(a)}),o}(t,r,a):cu};const gu=/[\s,]+/;function yu(e,t){t.split(gu).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function bu(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o/=t,o%1==0?r(o):0)}}return t}function vu(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let wu;function ku(e){return void 0===wu&&function(){try{wu=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{wu=null}}(),wu?wu.createHTML(e):e}const Su={...Ms,inline:!1},xu={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cu={display:"inline-block"},Au={backgroundColor:"currentColor"},Eu={backgroundColor:"transparent"},Iu={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Tu={WebkitMask:Au,mask:Au,background:Eu};for(const e in Tu){const t=Tu[e];for(const n in Iu)t[e+n]=Iu[n]}const _u={...Su,inline:!0};function Ru(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Pu=(e,t,n)=>{const r=t.inline?_u:Su,o=function(e,t){const n={...e};for(const e in t){const r=t[e],o=typeof r;e in js?(null===r||r&&("string"===o||"number"===o))&&(n[e]=r):o===typeof n[e]&&(n[e]="rotate"===e?r%4:r)}return n}(r,t),a=t.mode||"svg",i={},l=t.style||{},s={..."svg"===a?xu:{}};if(n){const e=Ps(n,!1,!0);if(e){const t=["iconify"],n=["provider","prefix"];for(const r of n)e[r]&&t.push("iconify--"+e[r]);s.className=t.join(" ")}}for(let e in t){const n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"ssr":case"fallback":break;case"_ref":s.ref=n;break;case"className":s[e]=(s[e]?s[e]+" ":"")+n;break;case"inline":case"hFlip":case"vFlip":o[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&yu(o,n);break;case"color":i.color=n;break;case"rotate":"string"==typeof n?o[e]=bu(n):"number"==typeof n&&(o[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete s["aria-hidden"];break;default:void 0===r[e]&&(s[e]=n)}}const u=function(e,t){const n={...vs,...e},r={...Ms,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(e=>{const t=[],n=e.hFlip,r=e.vFlip;let i,l=e.rotate;switch(n?r?l+=2:(t.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),t.push("scale(-1 1)"),o.top=o.left=0):r&&(t.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),t.push("scale(1 -1)"),o.top=o.left=0),l<0&&(l-=4*Math.floor(l/4)),l%=4,l){case 1:i=o.height/2+o.top,t.unshift("rotate(90 "+i.toString()+" "+i.toString()+")");break;case 2:t.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:i=o.width/2+o.left,t.unshift("rotate(-90 "+i.toString()+" "+i.toString()+")")}l%2==1&&(o.left!==o.top&&(i=o.left,o.left=o.top,o.top=i),o.width!==o.height&&(i=o.width,o.width=o.height,o.height=i)),t.length&&(a=function(e,t,n){const r=function(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),a=e.indexOf("</"+t);if(-1===o||-1===a)break;const i=e.indexOf(">",a);if(-1===i)break;n+=e.slice(o+1,a).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}(e);return function(e,t){return e?"<defs>"+e+"</defs>"+t:t}(r.defs,t+r.content+n)}(a,'<g transform="'+t.join(" ")+'">',"</g>"))});const i=r.width,l=r.height,s=o.width,u=o.height;let c,d;null===i?(d=null===l?"1em":"auto"===l?u:l,c=Us(d,s/u)):(c="auto"===i?s:i,d=null===l?Us(c,u/s):"auto"===l?u:l);const f={},p=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(f[e]=t.toString())};p("width",c),p("height",d);const h=[o.left,o.top,s,u];return f.viewBox=h.join(" "),{attributes:f,viewBox:h,body:a}}(e,o),c=u.attributes;if(o.inline&&(i.verticalAlign="-0.125em"),"svg"===a){s.style={...i,...l},Object.assign(s,c);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),s.dangerouslySetInnerHTML={__html:ku(Ws(u.body,n?()=>n+"ID"+e++:"iconifyReact"))},Se.createElement("svg",s)}const{body:d,width:f,height:p}=e,h="mask"===a||"bg"!==a&&-1!==d.indexOf("currentColor"),m=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(d,{...c,width:f+"",height:p+""});return s.style={...i,"--svg":vu(m),width:Ru(c.width),height:Ru(c.height),...Cu,...h?Au:Eu,...l},Se.createElement("span",s)};var Ou;if(Ls(!0),Ou=tu,Gs[""]=Ou,typeof document<"u"&&typeof window<"u"){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!Ds(e))&&console.error(n)}catch{console.error(n)}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;Js(e,r)||console.error(n)}catch{console.error(n)}}}}function Nu(e){const[t,n]=Se.useState(!!e.ssr),[r,o]=Se.useState({});const[a,i]=Se.useState(function(t){if(t){const t=e.icon;if("object"==typeof t)return{name:"",data:t};const n=zs(t);if(n)return{name:t,data:n}}return{name:""}}(!!e.ssr));function l(){const e=r.callback;e&&(e(),o({}))}function s(e){if(JSON.stringify(a)!==JSON.stringify(e))return l(),i(e),!0}function u(){var t;const n=e.icon;if("object"==typeof n)return void s({name:"",data:n});const r=zs(n);if(s({name:n,data:r}))if(void 0===r){const e=mu([n],u);o({callback:e})}else r&&(null===(t=e.onLoad)||void 0===t||t.call(e,n))}Se.useEffect(()=>(n(!0),l),[]),Se.useEffect(()=>{t&&u()},[e.icon,t]);const{name:c,data:d}=a;return d?Pu({...vs,...d},e,c):e.children?e.children:e.fallback?e.fallback:Se.createElement("span",{})}const Lu=Se.forwardRef((e,t)=>Nu({...e,_ref:t}));Se.forwardRef((e,t)=>Nu({inline:!0,...e,_ref:t}));const zu=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Du=Bo,ju=(e,t)=>n=>{var r;if(null==t?.variants)return Du(e,n?.class,n?.className);const{variants:o,defaultVariants:a}=t,i=Object.keys(o).map(e=>{const t=n?.[e],r=a?.[e];if(null===t)return null;const i=zu(t)||zu(r);return o[e][i]}),l=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),s=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...l}[t]):{...a,...l}[t]===n})?[...e,n,r]:e},[]);return Du(e,i,s,n?.class,n?.className)},Mu=ju("",{variants:{variant:{default:"qc:border-none",outline:"qc:rounded",solid:"qc:bg-background"},size:{sm:"qc:size-4",md:"qc:size-5",lg:"qc:size-6",xl:"qc:size-7","2xl":"qc:size-8","3xl":"qc:size-9"},color:{foreground:"qc:text-foreground",primary:"qc:text-primary",secondary:"qc:text-muted-foreground",info:"qc:text-info",warning:"qc:text-warning",success:"qc:text-success",error:"qc:text-destructive",a11y:"qc:text-primary-foreground",inherit:""}},compoundVariants:[{variant:"outline",color:"primary",class:"qc:border-primary"},{variant:"outline",color:"secondary",class:"qc:border-border"},{variant:"outline",color:"info",class:"qc:border-info"},{variant:"outline",color:"warning",class:"qc:border-warning"},{variant:"outline",color:"success",class:"qc:border-success"},{variant:"outline",color:"error",class:"qc:border-destructive"},{variant:"solid",color:"primary",class:"qc:bg-background qc:text-foreground"},{variant:"solid",color:"secondary",class:"qc:bg-background qc:text-muted"},{variant:"solid",color:"info",class:"qc:bg-info qc:text-foreground qc:text-text-primary-dark"},{variant:"solid",color:"warning",class:"qc:bg-warning qc:text-foreground qc:text-text-primary-dark"},{variant:"solid",color:"success",class:"qc:bg-success qc:text-foreground qc:text-text-primary-dark"},{variant:"solid",color:"error",class:"qc:bg-destructive qc:text-foreground qc:text-text-primary-dark"}],defaultVariants:{variant:"default",size:"md",color:"foreground"}}),Fu=({className:e,color:t="foreground",size:n="md",variant:r="default",name:o="line-md:iconify1",...a})=>w.jsx(Lu,{icon:o,className:Ka(Mu({color:t,size:n,variant:r,className:e})),...a});function qu(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Uu(...e){return t=>{let n=!1;const r=e.map(e=>{const r=qu(e,t);return!n&&"function"==typeof r&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():qu(e[t],null)}}}}function Hu(...e){return Se.useCallback(Uu(...e),e)}function Bu(e){const t=Wu(e),n=Se.forwardRef((e,n)=>{const{children:r,...o}=e,a=Se.Children.toArray(r),i=a.find(Qu);if(i){const e=i.props.children,r=a.map(t=>t===i?Se.Children.count(e)>1?Se.Children.only(null):Se.isValidElement(e)?e.props.children:null:t);return w.jsx(t,{...o,ref:n,children:Se.isValidElement(e)?Se.cloneElement(e,void 0,r):null})}return w.jsx(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var Vu=Bu("Slot");function Wu(e){const t=Se.forwardRef((e,t)=>{const{children:n,...r}=e;if(Se.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n),o=function(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==Se.Fragment&&(o.ref=t?Uu(t,e):e),Se.cloneElement(n,o)}return Se.Children.count(n)>1?Se.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Gu=Symbol("radix.slottable");function Qu(e){return Se.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Gu}const Yu=ju("qc:shadow-outer qc:inline-flex qc:size-fit qc:items-center qc:justify-center qc:rounded qc:font-medium qc:duration-500 qc:disabled:pointer-events-none qc:disabled:opacity-50",{variants:{variant:{default:"qc:hover:bg-opacity-80",outlined:"qc:bg-opacity-0 qc:hover:bg-opacity-10",ghost:"qc:border-transparent qc:bg-opacity-0 qc:shadow-none qc:hover:bg-opacity-20"},size:{sm:"qc:gap-1 qc:p-2 qc:text-xs",md:"qc:gap-2 qc:px-9 qc:py-1.5 qc:text-sm qc:sm:text-base",lg:"qc:gap-2 qc:px-4 qc:py-3 qc:text-base"}},compoundVariants:[{variant:"default",color:"primary",class:"qc:bg-primary qc:text-primary-foreground qc:border-primary qc:border"},{variant:"default",color:"secondary",class:"qc:bg-background qc:text-muted-foreground qc:border-muted-foreground qc:border"},{variant:"default",color:"info",class:"qc:bg-info qc:border-info qc:border qc:text-white"},{variant:"default",color:"warning",class:"qc:bg-warning qc:border-warning qc:border qc:text-white"},{variant:"default",color:"success",class:"qc:bg-success qc:border-success qc:border qc:text-white"},{variant:"default",color:"error",class:"qc:bg-destructive qc:border-destructive qc:border qc:text-white"},{variant:"outlined",color:"primary",class:"qc:border-primary qc:text-primary qc:bg-background qc:border"},{variant:"outlined",color:"secondary",class:"qc:border-border qc:text-muted qc:bg-background qc:border"},{variant:"outlined",color:"info",class:"qc:border-info qc:text-info qc:bg-info qc:border"},{variant:"outlined",color:"warning",class:"qc:border-warning qc:text-warning qc:bg-warning qc:border"},{variant:"outlined",color:"success",class:"qc:border-success qc:text-success qc:bg-success qc:border"},{variant:"outlined",color:"error",class:"qc:border-destructive qc:text-destructive qc:bg-destructive qc:border"},{variant:"ghost",color:"primary",class:"qc:text-primary"},{variant:"ghost",color:"secondary",class:"qc:text-muted-foreground"},{variant:"ghost",color:"info",class:"qc:text-info"},{variant:"ghost",color:"warning",class:"qc:text-warning"},{variant:"ghost",color:"success",class:"qc:text-success"},{variant:"ghost",color:"error",class:"qc:text-destructive"}],defaultVariants:{variant:"default",size:"md",color:"primary"}}),$u=ju("",{variants:{variant:{default:"",outlined:"",ghost:""},size:{sm:"qc:size-4",md:"qc:size-5",lg:"qc:size-6"},color:{primary:"qc:text-primary-foreground",secondary:"qc:text-muted",info:"qc:text-text-primary-dark",warning:"qc:text-text-primary-dark",success:"qc:text-text-primary-dark",error:"qc:text-text-primary-dark",light:"qc:text-text-primary-dark"}},compoundVariants:[{variant:"outlined",color:"primary",class:"qc:text-primary-foreground"},{variant:"outlined",color:"secondary",class:"qc:text-muted-foreground"},{variant:"outlined",color:"info",class:"qc:text-info"},{variant:"outlined",color:"warning",class:"qc:text-warning"},{variant:"outlined",color:"success",class:"qc:text-success"},{variant:"outlined",color:"error",class:"qc:text-destructive"}],defaultVariants:{size:"md",variant:"default",color:"primary"}}),Zu=Se.forwardRef(({className:e,type:t="button",disabled:n,loading:r,fullWidth:o,color:a,size:i,variant:l,iconSvg:s,icon:u,asChild:c=!1,immutable:d,...f},p)=>{const h=c?Vu:"button",{props:{textClassName:m}}=Pi();return w.jsxs(h,{ref:p,type:t,disabled:n||r,className:Ka(Yu({color:a,size:i,variant:l,className:e}),o&&"qc:w-full"),...f,children:[w.jsxs("div",{className:Ka(r?"qc:collapse":"qc:visible qc:flex qc:items-center qc:gap-2",!d&&m),children:[s&&!r&&s,u&&!r&&!s&&w.jsx(Fu,{className:Ka($u({color:a,size:i,variant:l})),name:u}),f.children]}),r&&w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:"qc:absolute",children:[w.jsx("title",{children:"Loading"}),w.jsxs("circle",{cx:"18",cy:"12",r:"0",fill:"currentColor",children:[" ",w.jsx("animate",{attributeName:"r",begin:".67",calcMode:"spline",dur:"1.5s",keySplines:"0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8",repeatCount:"indefinite",values:"0;2;0;0"})," "]})," ",w.jsx("circle",{cx:"12",cy:"12",r:"0",fill:"currentColor",children:w.jsx("animate",{attributeName:"r",begin:".33",calcMode:"spline",dur:"1.5s",keySplines:"0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8",repeatCount:"indefinite",values:"0;2;0;0"})}),w.jsx("circle",{cx:"6",cy:"12",r:"0",fill:"currentColor",children:w.jsx("animate",{attributeName:"r",begin:"0",calcMode:"spline",dur:"1.5s",keySplines:"0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8",repeatCount:"indefinite",values:"0;2;0;0"})})]})]})}),Ku={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",p:"p",blockquote:"blockquote",body1:"p",body2:"p",body3:"p",caption:"p"},Ju=ju("qc:select-none",{variants:{variant:{h1:"qc:scroll-m-20 qc:text-4xl qc:font-semibold qc:tracking-tight qc:lg:text-5xl",h2:"qc:scroll-m-20 qc:text-2xl qc:font-semibold qc:tracking-tight qc:first:mt-0 qc:sm:text-3xl qc:sm:font-semibold",h3:"qc:scroll-m-20 qc:text-xl qc:font-semibold qc:sm:text-2xl",h4:"qc:scroll-m-20 qc:text-xl qc:font-medium",h5:"qc:scroll-m-20 qc:text-base qc:font-medium",h6:"qc:scroll-m-20 qc:text-sm qc:font-medium",body1:"qc:text-lg",body2:"qc:text-base qc:sm:text-lg",body3:"qc:text-sm qc:sm:text-base",p:"qc:leading-7 qc:[&:not(:first-child)]:mt-6",blockquote:"qc:border-l-2 qc:pl-4 qc:text-sm qc:italic",caption:"qc:text-xs"},color:{foreground:"qc:text-foreground",muted:"qc:text-muted-foreground",primary:"qc:text-primary",info:"qc:text-info",warning:"qc:text-warning",success:"qc:text-success",error:"qc:text-destructive",a11y:"qc:text-primary-foreground",light:"qc:text-text-primary-light",white:"qc:text-white",black:"qc:text-black"},align:{left:"qc:text-left",right:"qc:text-right",center:"qc:text-center"}},defaultVariants:{variant:"p",color:"foreground",align:"left"}}),Xu=Se.forwardRef(({variant:e="p",color:t,align:n,transform:r,lines:o,shadow:a,className:i,immutable:l,...s},u)=>{const{props:{textClassName:c}}=Pi(),d=Ku[e];return w.jsx(d,{ref:u,className:Ka(Ju({variant:e,color:t,align:n,className:i}),r,o&&`qc:line-clamp-${o}`,a&&"qc:drop-shadow-[0_1.2px_1.2px_rgba(0,0,0,0.8)]",!l&&c),...s,children:s.children})}),ec=({title:e,description:t,iconSvg:n,className:r})=>{const{props:{emptyStateImage:o,textClassName:a},organization:i}=Pi();return w.jsxs("div",{className:Ka("qc:mx-auto qc:flex qc:w-full qc:max-w-md qc:flex-col qc:items-center qc:justify-center qc:gap-8",a,r),children:[i?.integrationSettings?.showLogo?w.jsx("img",{className:"qc:h-44 qc:w-auto",src:i?.logoUrl||"/images/qrati-logo.svg"}):o?w.jsx("img",{className:"qc:h-44 qc:w-auto",src:o,alt:e}):n?w.jsx("div",{className:"qc:text-primary qc:h-44 qc:w-auto",children:n}):null,w.jsxs("div",{className:"qc:space-y-4",children:[w.jsx(Xu,{variant:"h4",align:"center",children:e}),"string"==typeof t&&w.jsx(Xu,{variant:"h6",align:"center",className:"qc:font-normal",children:t}),"string"!=typeof t&&t]})]})},tc=({className:e,rounded:t=!1,...n})=>w.jsx("div",{className:Ka("qc:animate-pulse qc:bg-[#EAEAEA]",t?"qc:rounded-full":"qc:rounded",e),...n}),nc=()=>{const e=vl(),t=Sl(),{initializing:n,organization:r,loadingUser:o,user:a,signout:i}=Pi();return n||o?w.jsx("div",{className:"qc:my-2 qc:flex qc:justify-end",children:w.jsx(tc,{className:"qc:h-9 qc:w-64"})}):w.jsxs("div",{className:"qc:mx-auto qc:mb-4",children:[!a&&w.jsx("div",{className:"qc:flex qc:justify-end qc:gap-4",children:w.jsx(ds,{to:ho.LOGIN,state:{referrer:e.pathname},children:w.jsx(Zu,{children:"Login"})})}),a&&w.jsxs("div",{className:"qc:mt-2 qc:flex qc:items-center qc:justify-end qc:gap-4",children:[w.jsx(Xu,{variant:"h5",children:a.name}),!r.customAuth&&w.jsx("button",{onClick:async()=>{await i(),t(ho.PUBLIC_EVENTS)},children:w.jsx(Fu,{name:"material-symbols:exit-to-app-rounded",color:"error"})})]})]})},rc=({eventSlug:e})=>{const{props:{organizationId:t}}=Pi(),{isLoading:n,data:r,isError:o,error:a}=Ne({queryKey:[`event-data-${t}-${e}`],queryFn:async()=>{try{const n=await po.get(bo.EVENT_DATA,{searchParams:e?{eventSlug:e}:void 0,headers:{"x-org-id":t}}).json();if(n.error)throw new Error(n.error);return n.data}catch(e){throw new Error(e?.message||e||"Failed to fetch public events")}},enabled:!!t&&!!e});return{loading:n,event:r?.event,ads:r?.ads,parameters:r?.parameters,isError:o,error:a}},oc=()=>{const e=Sl();return w.jsx("button",{type:"button",onClick:()=>{window.history.length>1?e(-1):e(ho.PUBLIC_EVENTS,{state:{internalNavigation:!0}})},className:"qc:text-primary qc:absolute qc:left-0 qc:top-0",children:w.jsx(Fu,{name:"material-symbols:arrow-back-rounded",size:"lg"})})},ac=()=>{const{organization:e}=Pi();return e&&!e.integrationSettings?.hideQratiBranding?w.jsxs("a",{href:"https://qrati.com/powered-by-qrati",target:"_blank",className:"qc:flex qc:items-center qc:justify-center qc:gap-2 qc:pb-4",rel:"noopener noreferrer",children:[w.jsxs(Xu,{variant:"body2",align:"center",children:["Powered by"," "]}),w.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXgAAACNCAYAAAC9tWG4AAAAyXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBBDsQgCLzzin2CMKj4HLttk/3BPn+x0qRtdhKHEXREaPt+dnoNCCtprlZaKcmhTZt0F5Ym+sGc9OAD1ULxPU+2xiXxFDxibq3MyGc+LpyRu6t8NXpHYbkXmoa/PYziIYyOxEU0Qi2MILPAYdDnt1JpVq9fWLZ0h81Fg/a3tJHLy6w991p9emv2dyCygZGcAZ0NYCwQugt1FpgfZFTXDHPOOGfiA/k3pxP0A93kWphy31yAAAABhGlDQ1BJQ0MgcHJvZmlsZQAAeJx9kT1Iw0AcxV/TiqIVBzuIdMhQnSyIijiWKhbBQmkrtOpgcukXNGlIUlwcBdeCgx+LVQcXZ10dXAVB8APE1cVJ0UVK/F9SaBHjwXE/3t173L0DhGaVqWYgBqiaZaQTcTGXXxV7XxFAGAOYRERipp7MLGbhOb7u4ePrXZRneZ/7cwwqBZMBPpE4xnTDIt4gnt20dM77xCFWlhTic+IJgy5I/Mh12eU3ziWHBZ4ZMrLpeeIQsVjqYrmLWdlQiWeII4qqUb6Qc1nhvMVZrdZZ+578hcGCtpLhOs0wElhCEimIkFFHBVVYiNKqkWIiTftxD/+o40+RSyZXBYwcC6hBheT4wf/gd7dmcXrKTQrGgZ4X2/4YA3p3gVbDtr+Pbbt1AvifgSut4681gblP0hsdLXIEDG0DF9cdTd4DLneAkSddMiRH8tMUikXg/Yy+KQ8M3wL9a25v7X2cPgBZ6mr5Bjg4BMZLlL3u8e6+7t7+PdPu7wf4jHLcGJ9xcQAAFnNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDQuNC4wLUV4aXYyIj4KIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIgogICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczpHSU1QPSJodHRwOi8vd3d3LmdpbXAub3JnL3htcC8iCiAgICB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjQwMDM1Yjc1LWEzMmQtMTFlNy1hZGFhLWRlOGNjNGE5NTBiNyIKICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpjNTdlYTE0Ny03ODNiLTQwOTQtYTYxNy03MGYwOTI0OWExZGYiCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo5NTEzOGYyZS1jZTU0LTA0NDYtOGVkZC01Y2JlZTQ4NGNmOTUiCiAgIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIgogICBleGlmOlBpeGVsWERpbWVuc2lvbj0iNzg2IgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iMTc5IgogICBHSU1QOkFQST0iMi4wIgogICBHSU1QOlBsYXRmb3JtPSJXaW5kb3dzIgogICBHSU1QOlRpbWVTdGFtcD0iMTY4MjY4MjUzMDQzNTU2MSIKICAgR0lNUDpWZXJzaW9uPSIyLjEwLjM0IgogICBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIgogICBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiCiAgIHRpZmY6T3JpZW50YXRpb249IjEiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiCiAgIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiCiAgIHhtcDpDcmVhdGVEYXRlPSIyMDE3LTA2LTExVDIwOjM2OjM3LTA2OjAwIgogICB4bXA6Q3JlYXRvclRvb2w9IkdJTVAgMi4xMCIKICAgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMzowNDoyOFQxNzoxODo1MCswNTozMCIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjM6MDQ6MjhUMTc6MTg6NTArMDU6MzAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjk1MTM4ZjJlLWNlNTQtMDQ0Ni04ZWRkLTVjYmVlNDg0Y2Y5NSIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDE3LTA2LTExVDIwOjM2OjM3LTA2OjAwIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjdlMDQyYjllLTQwZTEtNzA0OS05Njk3LWYyMjIwZjY0NTYwMiIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDE3LTA2LTExVDIwOjUxOjU2LTA2OjAwIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjE3YzBjMDM1LTkyOWMtYzk0MC04ZjFhLTM3YzI2MTJkMWVlYiIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDE3LTA5LTI2VDIwOjQxOjM2LTA2OjAwIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249ImNvbnZlcnRlZCIKICAgICAgc3RFdnQ6cGFyYW1ldGVycz0iZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIgogICAgICBzdEV2dDpwYXJhbWV0ZXJzPSJjb252ZXJ0ZWQgZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDoxNjQxNjgxMy0zZGYzLWFkNGMtOGEwYy1iMzNlYzZmM2Q3M2QiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE3IChXaW5kb3dzKSIKICAgICAgc3RFdnQ6d2hlbj0iMjAxNy0wOS0yNlQyMDo0MTozNi0wNjowMCIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDplZTIzNjNiMy0xYjI2LTQ0ZjItODdmMC0wOTRjMWFlYjZmOWUiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoV2luZG93cykiCiAgICAgIHN0RXZ0OndoZW49IjIwMjMtMDQtMjhUMTc6MTc6MjYiLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6Zjc4ZmUyYWMtMWQ1Yy00OTE5LTgzYzItY2FmY2Y0YjRlNDFlIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJHaW1wIDIuMTAgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA0LTI4VDE3OjE4OjUwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICAgPHhtcE1NOkRlcml2ZWRGcm9tCiAgICBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YjkyYjQyNmMtYTJmNi0xMWU3LTgyM2UtYzlmZjJlODgxNTJjIgogICAgc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxN2MwYzAzNS05MjljLWM5NDAtOGYxYS0zN2MyNjEyZDFlZWIiCiAgICBzdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6OTUxMzhmMmUtY2U1NC0wNDQ2LThlZGQtNWNiZWU0ODRjZjk1Ii8+CiAgIDxwaG90b3Nob3A6RG9jdW1lbnRBbmNlc3RvcnM+CiAgICA8cmRmOkJhZz4KICAgICA8cmRmOmxpPmFkb2JlOmRvY2lkOnBob3Rvc2hvcDoxOGYxNzA1ZC00ZjFhLTExZTctOTM4Zi05NmE5MjY5ZWJiNjI8L3JkZjpsaT4KICAgIDwvcmRmOkJhZz4KICAgPC9waG90b3Nob3A6RG9jdW1lbnRBbmNlc3RvcnM+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz7H0zEnAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wQcCzAyMx5H7wAAIABJREFUeNrtnXm8HeP9x9/PXZKbfSGRRJAmKiFiT5XGz1YyKIqi1SrVNqW0tkMpPce9qtTvqqW0tL9StJTUvnQsoQSlSO1iiUQ22SN7crfn98f3udykWe6ZZ845M+d+36/XvBCZOTPP88xnvvOd72JQFEVREo0NqAJGA9sAXYAWYAHwmgmZtaH9jA6doihKYoW9C/BD4BhgB6AnUAlYYDUwHXgB+IMJeVkFXlEUJR3iPhK4FtgfqNjEX58HXAFcY0JshxN4G1DpnnymzXUb9yRsAZpNSLMuK0VREqBXo4DxwPA8d70K+FmrlpkyGpA+QB+gO9AXGAQMBDYDaoAeQGcn8pVtBL4ZaHKvOyuAlcAiYCbwMbAEWAYsMiErdekpilJgLdsc+AewR8RDnGNCrk6twNuAzsD2wNbAUGAXYIj7775AN6Aqhp9qAD51rz/TgbeA14DZwLsmZJ4uR0VRYta3y4ELPA6xCNjfhLxhUnTRgxFf1GhgFPLBoX+JTqfBif0rwL+BZ03IB7o0FUXx1LmhwItAP89D1ZuQ80zCL3YYsC9wGDCS/P1RxWIq8CHwd+AJEzJVl6qiKBE073jgbzEc6l/AYVUJvMBeQAAcAhyI+NErEz4vX3DbgcBMG/A0cB/wqAlp1GWrKEo7GRnTcYYDX0iMBW8D+gMnAicg7pealE/UKmAi8BfgfhOyTNeuoigb0cAK4HrgtBgO1wIEVQm4qK2AbwHjgGFlNF9dgIPd9oINuB540ISs0KWsKMoGiMtbYQBTMoF3YY2nIFlaw8t80vZ22wM24Dcm5Fldx4qirCuLwOKYjrUMWFJRkqsI+AbwAFDfAcS9LUcCz9iAq9ybi6IoipjckoE6OabDvQ9MKarA24AhNuAPSIbWPh14Ls8BQhtwlC5rRVHa8GJMVvzTJmRB0QTeBnwTeAJxySjyIflvNqDeBvTU4VAUxYRMBv7qeZh5rccoeBSNE6/zgQxSKkD5b54DTjUhb+tQKErBtKgXkvH+YZKDHVyy06NEd1//zIRcWXCBtwHDgf8FDi/xmDW32WzbByZSpa1tIbJS8TEwzoQ8rreiosSmQT2AHRGX8DFIdNtRJmRKws97LHAb+Wfr/x44w4S0FFTgbcA+wI3OFVEsViF1GJYjtWM+QoqGLQKWuj9vctfd4kS9G1KgrBewBbAlUt9mc6A3UqysWCwHzjYh/6e3pqJE1p7+SOLh4Ugm/Ch3fwN8ABxoQmak4Dr2RuLid23HX18AXGVCrmAdC7YQJ/Y14Fak8FehmcPnRcBeAt4EZgEr2tZFzvP8K524j3CDO8ptI6Hg/vIW4DwT8hu9VRWl3ffsZsDOSDjykcDuG9C3d4CxJmRmSq6rO3A28HXEZdOt7f9GyqS8BFxnQl5cd39TgBM6Grgd6FrA614EPAM8DrxsQl4twkDXAHsBuyGlFMZQ2GzbC9d9GiuKstY92Rv4MjAWKUL4lXbsliqBX0fo9wa2ctraDMxHWvZtsNChifkkjnPi3qlA1/kqEmI5wYS8UsLB7oLUaj4KOBrpk1gIPvtYoijKWvfgscB5wE7kF7yRSoGPSlWMA34U8OcCiftrwO+Ah03IJ6UeNBN+Vmdmog34nRP5HyG++zj5tQ1YbUKu01taUdZiH2e1Kxshljh4G3AYcDPyhTpOpiLhlYeYkD8mQdzXI/YfOit7f+AyiL2o2NU24ARdqoqyFot1CIog8DZgD+RLb+8Yz6sBCREKTMhVJmRO0gfShEw3IRcDX4VYQx0rgOttwIG6XBXlc+nRISiwwNuAfkgo5JAYz+ljJOnnJBPyftoG1IT8GzgC+DnSzzUO+gC/tUHBfP2KoqjAryXuFYjPffcYz+cx4GATckuaB9WErDEhlwPHIp2e4mB74CYXzaMoilJQC/5C4NAYz+VPwOFptNo3IvRPIJ2pJsZ0yLFAVpetoigFE3gbsC+Qi/E8LjMhPyjH9nYm5EMkSeGhmA6ZsQEH6dJVFCV2gbcBA5F6B9Ux/H4D8FP3cbJsMSGLgG8Cd8ZwuGrEH7+lLl9FUWITeJfCfxHiD/alETjThPy2Iwy0CVmJdLC6K4bDDYfyfigqilJ8C/4Q4mkIC/ALE3JjRxpsE7IaOB34ZwyH+46rOKcoiuIn8DagGxL6F0dy1G9MyK874oCbkIXuIfmR56G6A+fbgCpdxoqi+FrwZyDFtnwZj0TgdFhc15ZxSOliH/YDTtJlrChKZIF3H1bPiOH3XkOSmBo6+sCbkAn4RyJVABfaoChlmRVFKVML/mfAYM/fWgqc4iJKFOFy/MsaDAN+oEOpKEreAm8DhiEZmT5YJNb9Pzrka1nx1j08P/U81A81bFJRlCgW/A+BQZ6/8xhQr8O9XpF/DbjG8zDbIiWLFUVR2ifwzno/3vM3FiMhkS063BvkJuB1z2N8zxV/UxRFaZcFfyT+lSJvKGX3pZRY8XOQ7GAfdkWaICiKomxc4F3c+4mex58G3KDD3C7+DrzheYxv2KAwjdTTgg0wNqDCVTst+2vs6POtbJyNJcmMBXbxPP4VaWjWkRArfqENuAW42uMwhwEjgHc7iJhvA2wH7IyUz+iJtIysAKwNaEbqHS0GZrhxmQq8ncRQXRvQH+gPbO7+uaXb+iEN3iuASrcZt7XYgAZgDdKMfhaSRDcbmANML8cifkTvJ22g4zwUqzaw0KqQCog+vA7codKdF39GEqCi1vrpCXytnAXedZc/EjgQ6TK/Nfm1ipwDPGcDflJq48MG7AKMQnr57uL+2QfpjtbD8/CLgYXANBvwPPAe8JwJmVEmSyFquPVqYG6HMRw3sPCGI/VSBngce5wJ+aNqdt43/WVISYioPI80TVlZ4POsAS5wbwz5/FZX4B4TMj7P3+uExPt/F9jDWbFRaQHGmJB/leDhtB9wEDAS2AHYAoriTmpCuqU9D4w3IQ+XeJ33detnIOT1hmHdtgvRmg0tRqL6VsQ87r2BB03In2MYmypn6B1I+7vCGaR8yUQTct2mXDRjPMX9AzeISv7cD5wKkbNTd3GiO6nA51mDlEkYEmHfBTbg7y4PoD0Lfj/gl8CXPYW9lfl5iorPzdoVGA0chbg9B7sbsRRv68PcdrQNeBVpsjPeFcErNr2RmkzFHos+SOnuQrDaBtwWQ8RgJ+BwIIiw7yD4XOArNvD08I3GeMCETFetjvBKFfIyeEUddQMOLsKpNiPZyVFY1R5xtwFdbcDFwKPAV2IS91YLvqBhuzZgiA0YBzzsjJ0z3YO3ewKWWXdgX+AW4F4bxNqZLZ83isVldvuujCkcvDnPt+J131DYoMADW7lXyKgsB+5RqfbiXs/9DyjSeTZ7COymBLI/cDtwKfn52EuKDdjBBlwOTEDyG/YHOif0dCuREuAP2oCrbMBmxRwqj/WTVFoScKzmTQn87vhlrj5rQl5UjfbiSWCex/4jbMDQtF68i465jxRl59qAYTbgUqT/7gWQqvGvBM4B7rMBI/T2Kx/WJ/A+7pkWINRh9eYj4CWP/QcB/5NicX8IiZBJw/l2sQFnIW6YiyHVlT33AR63AXvoLViGAu8iI77icby5xNdcusPi/NMTPC2yUSkU982Av6bl3N3D6FEkd2FYmSy/rYCHbcBovRPLz4LfESlcFZXXTcg0HdZYmARe0Q07uB66aaLe08AoNjsgYY/lxhbAeBuwk96G5SXweyLJMlFoRkMj4+Q9t0VlBPCFFFnvZwMnp2yOGoFVZbr+tgGutQG99VYsH4HfgehpvKuBV3VIY2Mxfhmp/dIi8DZgV9LZxrHcK6Tuh3wwVlJKVZubzODnR5wFvK9DGg8mpNEGXuPZDf86/sUQ9wqgzj2QorKKz/vbGqCa5IYmboo1SH7BUuATpKbMfCTzcg0SXmiccdYZyQT9IpJA1c9de5z82AY8akKeLcT0651eJIFHPq74WHz/MmHHqfFQJN5pc0NHYXgKrvFYpH5OPswDJgNvIt8qFjjxaxX4roircQiwm1vbO7ZZ7zZB4mKBt5BiaK8gNZxmIwEL803I8nY8JHu5e/eLSLbsvvh9S2tLD+ASG3CQCWONW69G3EDlxOY2wLQ3Q7vYAv9F/MoTTFY9jp3XkaJKURNQdk7qC4oTpq5Iy8L28h5wF/AA8GZ7qyS6RihfAo5AyisMSoCF/woSCvsU8IJP4TMTsgRpaP8a8nF0GHACUgpgYAznuj9wHHBnjNe/FOlk1jvPh20TUiF0H6JVu10CPOjuqx4xPugrgWeSbMEPca/1Ua2QKarHsbPQvZ5HFfi+NqBroQuPebyaH4o0KmmP2+JK4OYoUVomZD7wCPCIDRjvxK+qBNe9FMnyHg+8akKvZLaNXe8U4FIbcA/wK6T6pi+n2oDxJvzMFeZ7jguAcyMvoIBzIgr8VODUBN4TBRf4QUSv9TEfSc5R4qUB+bYRNbuwB5J4k7TFvNyFcJ7cTkv3HBMyMSZhedIGPIMUdCoWM5BS0HcD78bs6tjYtb5jA74NXIbUwvFhDFLj6NGErKGob2CVzpDtcALv456Z5Z6MSrysAK+8gr7O+p+ZsOtaifjG99vE37sbODPuuu3OtVOMapLzkFaMd5rQK+TV51pXOGu3ycdiRj7qHpMgga/xEPjOHUVAKtzrTgXSOCEq8zvKE7HIN2eTs/6i0hMSGcdcg3xc3ZhL8Fbg5JR2BFsG/A44wIRcUipxb7OOWpAyCnd5HuqrCapxpBE47RF496rcD7+QunmUX2W4pDDbY9+uSPu3pLELUh99Q9zjLPc0JhE9BxxvQk43IW8nyFhYDVyEhF5GZWv823gqRbbgu7hXeZ8WYbMgno8vyn/h414xSNp50jicDYfxvQ6c7iJDkk4Ln4ewNiM1aQ4yIf9I6BvhFOAKz8Psq7dkugS+Buly4pMgMTtJsZ9lxqee+yexuuGGfKCLgBNTlE9R7e6f94EjTcg5JeqOlA+34hfSPNrF3SspEfh+SOd2n6iCeTqUBWM1fvVOeqboWi8yIW+m6Hy7IHXrDzUhj6ThhN2b0e89DjGMFGRIK58LfH8kzTmqBd+IxGsrhRN4Hyu+a0quc4IJuTFlc/M8cJJzfaSJCR5GWX/iy5JViiDwrZEWUWPgG5GoAaUwNOBXNjgNJYNXA5enbWJMyEITpnLtv4NfQ5nhelumR+B7ID74qELQBJuul6F4CbyPiyYNAn+fCb0anCj5PZgseCWODdBRTI/A90ZC6aKmbjcjCTlKYWjEL8fAJPz6VgLX6jQXndc97tsBNug4yUJpF/huQHfW35+1PbRQ/nWxS0kLfjkGSY9uesaEXu4CJRpvEj0EdwDRM0mVIgu8rwBoeGRhKefxbQbu0CkuPibkEyQsNQp9Sc/H+w4v8J3d09jocCSSJvx88Eme14+BJ3WKS8b0iPv1wi8xUimywHeF1DVo7ihU4peEluQSEs+ntNZMuTAt4n41oD74tAh8q483qitALf/Cz5GPwCfVxdMCvKjTW1Ki5q9UqUGYHvFYjXxNb/E4RoUOZWJpTOh5LQT+pdNTUhZHfMPrRHHr6SueFnyLh6VXiaRsK4Whtd5JVJKao/AxlLaMrsIKohUJ7Ez8zb2VAgl8a6ZkVIGvQj+4FJJO+EUsJFXg34VUlgMuJ+ZEtOAN6ppNBVVInZOFRC/3W00ym0qUkwXv84aU1LK7b2gF0uJiA7ZA6k4NBrZCmmlHcbXovKVI4JcS3RfXKkB9dSgLRhfwKs+6IIHX1IL28C2EgPfm88z0LZEGHUOR4mD9kLpTfdz9qj70DiLwS5wI+ITT9dehLKjAd4+47yqknWLSaIDUVWBMgoC3Fgcc5AR8ANLQpVXMt3Z/1hr63E1HTQV+LtKRqcHjOInpGpTNZYYAi+pq65eWyRz51HNfhn/DkEIwH+0hsD4Br0Q+qNe4ed8aqb8+BHGr9HPW+UD371XuDVr94coGBX4+0vfTJ5xugA2ock2iS01n4KfZXObmutr62WUwR1t67LskoQI/z9OgKBdB7+XmdwjiRtnO/fMLTuC7oQEMiqfAr0JqUvi6aBJhRdTV1r+XzWVWA49nc5lD62rrp6d8jnwEvvX7StJYTHLj8wsp6J2dgI8BvgjsCIxGv2EpBaICiYWdj1/Tji1IVvGh65zlOjGby+ycYkGoALbxtOCTGEWzqCNZ8DZgdxtwHnAv8BhwI3AuMFbFXSmowJuQZvfKPM3jOIORr/WJoK62vgE4DtgM+Ec2lzkipfPT03Ncp5kwkaWcP4VEuPMKKeo9bMCJNuBu4B/AlcChnm9kipK3BY8TAR+B74d8DEoMzv8+Dvkg9bdsLnNaCuenq3t4RuXthF5XA2UaS20DamzAmcDTwG3Ase7+UJTSCLxjrsdxKpNkwbcR+TuA+5FQw+uzuUxtNpepStH8bE70ENQmYEZCr6uJMmsSYwOMDTgceA64Bthd5UVJksDPxM8vul1Cr/EX7toqgCxwQzaX6ZOS+dmR6FnCy5DoqCSyppyyWG3AlsDNwN0q7EpSBf5D/D607m6D5H0wqqutfwuoa/NH44C7srnM0BTMz/Ye+37i5jSJlE3ctg04BHgcOJn0tLFb5d7u5qHtNjuMwE9GEp6iMpQEumkcf0KiF1o5CHgom8vskWDhqAKGexzibRN6ud2UTc/Rj4HxwA5JPD2kxtT7iNvoPuAGIAN8x90DF+DX0F1JOJ/5o03IYhswDdgp4rG6ArsCryTQim/J5jLnIvHHrenbOwCPZHOZ79fV1j+cwLkZ4MYzKloKoLDifi5QX+LTaEFyCua6bTpShnmO++/ZbpvlouXWvYYhOpMdROAdbwJHeBzrMOCPSbzQutr6t7O5zKXAFW3+uD9wbzaXObuutv6GhJ3yzkSPTGoA3tLlXTBxP6OI4r4KcbfNRWpGzUUi3j5AXCxL3Z8vNCEr8jx2d7RZT4cS+JeANUTvt7ibDRjoOrYnkXrgq25rpRqJsBkI5Opq65PSw3RPovuqZwLP6vIuiLgfi0TJFIoPgVfdG9hMJNR1JvJ9bIUJY3WpaNnfMqdiPQLvI86Dkey8ROLE+0LW34vyIuBP2VxmQAJEpOs6D6F8ed+EiQ2RTLO4jwCuJd5+pMvdw/hniF/8IOBkE3KRCfm9CXnWhHxkQubHLO5KBxT4BcB/PI5nkizwTuRfAa7awP8+Cbglm8sML/FpjkRCJKOizazjF/dKIIckzvnS4izza4EDgENMyJUm5EkTMs2ErNYRV2IXeJfR+pTnMfezQSKjCtryBySyYH0EwN+zucxeJTy/rxG9iuBq4Ald2rHzDeCbMRzndeBs4AATcpYJeVktc6VYFjzARCcSURkAHJ5wK34hcM5GrnNHJMLmyBJYil08x+8dJyJKfHPSB0mY82EV8CvgYBNynQkTUQ9fffAdUOAnA096HvcEG3g1qiiGyL/MxiMh+gD3ZXOZHxX51A7Hzz3zYIRoCmXT1vtIj/3nAEc5v7o2OlFKJ/AmZA0wwfO4OyXdindc4SzeDWGAG7O5zK+LWMPmOCSyJwoNMTyclbWt90rgux6HWAwcY8K1Eu2SQic0TLLDWfA4gfe1NE60QbJ7QtbV1q9A6nIv38RfPR+4NZvLFLQqoA3YEzjY4xDPA6/pso6V/YGoGc+NwEUm5IWEXltn4o0IUlIi8O/g/7H1YCTxKdHU1daHSAOGTXECcE82lxlVwNMZh1+LtvvVPRM7hxC9xsxTJuT3Cb62bvx3LoxS7gLv0prv9zy2Ac5Iui/e8Wval/m5D+KXP6AA1vto4GiPQ3wCPKJLOtY5qQG+FHH3pnYaDqUkMa02leJa8ADP4J/uvg/wrRRY8QuQUsLtiSoY5iz542M+jdOJXhoY4CH8mrYo/80QpHdqFN4j+d9DttYp7qACb0LmAH+N4Td+bgMGpUDk70NqereH3kiXqHNishT383wQNgF/WV9BKcWL7YjuMptA8is1bqNT3HEteIA/I3UwfK2EK1MyHhfnaQVflc1lrs/mMpEbjruyBFciEQ1RuRfNXi0EI4neTP65hPbDbV13W+DXDlJJu8A7K/53MfzOt23A8UkfjLra+jlIVE0+nA7cnc1lor7uZoDRHqe9EvidCWnU5Rw7QzzeqJJernk3teDVggdJ658aw29dYQOGJ31A6mrr70WaJefDYcCD2Vwmr/rtNuAApPiZD4+hlSMLxVYR95uLlPFNusDXdMA57VDZu5sUeBOyEOkEE4c1dKVLHEm8zpN/u7udkdry7Yqwce0NL/e8yRYBV5VTf9MEuTAqid7wfD5SmiCp19YZie/vqEZtRUe62PbwB+Lp1HQEEpKYdCt+CnBJxIfYPdlc5uR2iMfviR6C18p4E/K8ynFBqCZ6jPgqSLTLbHfgyx10XivpQLH/7RJ4E7IMSeuPw1I81wacloKxuRPpY5kvvZGSw7lc7twNje8vkZIEPsyk9C3jypkqoseIN5PsZtZfg2RnmRdY4DtM9m67X1VMyD1Ig+E4uNoGXkk9xbDiWxD/eFRf6iXAjRfWXrBWFIY9hLOQZse+1JswbzeSkp/AR32Vr06qiLiQ5RPLYH4aIu5XA3RRgV8/F0Ms1fA6A7fZgEMSLvLv4Vcm9ofAPT+5/JebAdgxnAJcHcOpPQWJToEvBxo9rPABCbaQT6Q8wiOjljTv1pHeXvISeBPyAdKsIA66AXfYIPFVJ68nYgkAK2/4gbF2/MST9/wFlpticHLNBk4zYWQLRmm/wEedra2cyCfNet8B/6itpLAm4n493aYCvwGRvwNJgIqD3k7kT0qwFd+C9MuM1Ku2qqWZmqbV+784aLe6DwZ/oYrViIc2egWQX5iQ91V/C04T0TNRK5AwxCSJe2fgUqBXmczPco+56TAlGqL6GC8inqgagO7AH2zAeTZI5tftutr6t9lwH9eNPxCx1DSvZla3Afxl+28wafAokY5oMRY3m7Dd5RQUD1wWqk8W9yEJW8+nQ7K/e+XJMo99d1KB3/jinw2cBbGVpu2EpOvf5FKok8gfidwIxdCzYRkrK2u4a7sjeGrbMeK+yU/k/wX8XKW3qEzz2HcMsGsSLsIGHIZ/y8FyseABhrs3GhX4jYj888CZxJsZdgowwWV4Js2KX1phWy401kbuV9utcSWVtoUHhhzMvcMPpaGqur2exAXAT0zIXNXcojIFIhdw64m49kot7qORciO9y2xuFrktCjsTvUpoxxB4J/J/QsrsxslIJ/JX2yBZtTIuqfvNy00VVZdU2mZMhOeaNYZOzQ10b1rJU4PH8NeRx7CsazeJB7BsyC+/EjjahLyqelt03sWvIuTXbcAJJRT3XZC+DuXoc55BdBdaf+CrKvDtE/lfOvdF3JwFhDbgx0lq/Te916Br5nTfYlKLqaDC5h9FZ42hU0sDfdcs5tV+O3HLqG8xr3e/jYn8qSZkomptSXgLmOWxfyVwrQ2Kby3agAOBf0DyS3VHZD5+30h+YAO6q8C3jzOAvxTg/EYgdXCetgHjbODVzi4Wbj/7zDUHfvTsNxd06fNhU0VVJEu+hQqqbBN91nzK+72GctNOJ/L+FkPFVlw7wuYnJuR21dnSYEIWgffDdXPgURsU78OeDTjLWe7tCdW0KZ2bFqS1qI+n4AwV+PYNdgOS1HNngc5zNNL+7BkbcKkN2Ltkr717MfSYNx/d66AZE1nSqSeNFdWRRb7SNtN39WLmdenLH3f+Ni9ts6t8eG1gFY2cZUKuV5ktOSHRY65b2da9jR5TYGHfwwb8BUmm25R1Ohepmjo/xXPzAnjlg+RswJHlvHhjC+MyIattwDhEor5biIc2EpWwK3CaDXgFeM69hn4ArDQhTTHfMFVIWvMQYF9gHwy7spJtvvbeE9Wzuw5gcp9h9FmzBGMj+OQxVNDCZqsWs6RzD+4ecQQrq7uw2/w3z+v90LIbUJLA48Dr+BeGGwjcbgP2AX5lwlgywrEBBmkjeQpwUh4umWuRloJjUzw3rzo3zdCI+9cAf3JNd+7yadBiA8Yg3zoeSFLj+1jjdE3Icifyq4AfFfC8N3MLcyxwPvAx8JINeAmpXb/AbUud9dW0vnZ27uaoQmqH1CCRBn3d8bdFqu7t5iauz2cvtF2genUTY6f9k5ndB7CqqgtdG6N9i7MYMNC7YSmrKrvw5Db78O+Bu46s26VTj+ylVy9DKbUrYLkNuD0GgccZC2cCY23AbcCjwGQT5v+GYAM2B7YHjgS+TX6Zs28jGdo7keK0fRMy3Qa85SHwrVpyK7CnDbgR+KC9rS+dfmyNFA78FeIWu7ssLfg2g74GONUGzEVq1xS69nIPYEe3fd/92RLkK/sn7hV0hQ1Y7sTeOJmuRNqx9UBC2jZHvq5vTXtqtHeGbRdOZczsl3ly6/+hhQoqPAoItlBBTfMamkwFn3bqeVqVbR6RzWW+X1dbPxWl1NwB/NgJahyMcILwc+AhG/Aa8L7blsFn+c6t92gnt04Hu32HAntHfOi0AOebkGUu5yTttdEfQMqQ+1DtHrynAHfagJeRD+xz+PzLWEsbzRgI7OIekF9v89a0OG4vQuIEvo3Q52zAR8D/Av2KfF293LZj4cwHme79Z7zAlF7bML37lvRoXEGLiV6DwAKVtoUq24zF7A88ks1lTqqrrX9ZNbakluIiG3AR0vs2TrojzdZbG65/gsR2L+XzNLjOzsru4wyQas/fvMyEPFpG0/Mwkq8wLCZjcZzblrn5+BTx8ze7se/jBD0VJR8qCnxj3AoESBZm+VEJXVeuJJj2FNW2kcbKqkihk+t12wjbA2E2lzkGpdQif597lS8kA5Hojr2A/3Hbns5Q2TIGcX8QqC2zeZlHYSL4egDbubekMcg3uL3dPZmaej4VRZiASe4VqvzK21p5B9pu/lS+PGcSSzv1wBoTKapmI/QF7szmMueilJqzkOSnNPIs8L32+pdTxm9BC/CVROCdyC8wIT9GOsm8W1Yj6NqEyg2BAAAEqklEQVQ6HPDx8wxePptPO/eKFFGzCaqB+mwuc002l+mky7Zk1uKnSKTKjJSd+ovAyS6uvxznZSEpaAVatgLfZiIeQVKELwUWls0oVkOPFcs5dOoEKmhhRXXXQog8yIegm7O5zBa6dEsmJi8jOR9zUnLKE4HvmJBy/1h/G/B/ukJLKPDuBpltQrLAwUgLwCXpv+uBKhg59z2+8sm/WVHdjaaKyrhdNa18G7gjm8uM1OVbMpF/zFnyMxN+qg8Bx5qQKR1gTpqQZiZP6QotocC3mZBJJuQ44BgkA3Z5qkeyCoyFA6c+x7ZLPmJ1VU3bj6VxcwBwTzaX2U+XcMnW7+NIffVXEnh6DUj02tEdqQKpCVkAfA/QqLNSC3ybSZlgQk4AvuFesT5J7WhWQ+/lS5fuOXfS6wBNFQXt9zAcGJ/NZY7XZVyytfsy8l3pOpJT0+U14HgTcn7SYrKLNCfTndH4ZAl+PnF1fSoSNDGPmZAfImGV5yPNNValaG29g9TdDjo1NY6tbmm4pwi/uTnwt2wuU4q648Zj/RjKBBMy14ScCRyOlM0oFZ8AlwGBCbm/wPNQkeQ5NCEz3IP31/jXEcqH3jaITVN95qatYyFxk/MG8IZLG94ZiT3dC/HZd03Y6b4CPA1MAp43j7VGV7zBT391zHm9GpZ/CWnAXGiuyOYyWwEX19XWf1pEgY86H2XXTceEPGIDngKOAk4ADivST093b77jTcjkPPetijiHnfksfiyx87EGuMAGPIF8FC/Gm+7TMVrxXeLYLxWWlKsHPwwYhSQd7OGEsw+Sxl1oWpCPwXORFObn3Kvw5I35OLO5zE+Ba4o4zrcAZ9bV1i8rwpxUAV9BannkE1tdCbxnQt4uVzeBK2u9B3CI24bGbJwsRApt3Q08aUI+jnieA915VucxhxVIV+EXXHhiGuajBklUOg44CEkai8PSbgZmA/cBfwUmxeEWc28BuyNlU5rymJcKYKYJeSm1r8o2oBJJ3e6L1IMY7sR/kBObvk74uzoxqWjzSmnWI9yWz2tNrEJSkxe7bS6SBj0FeMNZSyvbWxwqm8tUIZEMQaGGA0ltf9NtTwKP1NXWl2MySxqF3iBZj6OQrNTtnbhs6dZpF2dFr7s+rVuPzUhdmtlI45HpwEvAP4FZJvTqNtUR56PajftXgQOdkTgY2AKpP1W1HvdTqz40IT2oZ7ntA+AZJEt/vk8lykK/Zpeb5dQfqX3TC6n10aPNjVS5jrg3Ij665W5b4qyjucCnJvR/3crmMqOBJ4gvvXk1UilzElIP+3ngxbra+ia9hVOxRjs7URngDJJWY6Tt+mxEilwtRYrlTXOWWYuOYOzzsY2zlPu5uahh7ZIQjUhdmsXAPOBjE6YmB6K8BD6pOFfNtR6HWANMdm6hR4BJdbX1U3RkFUXZGFU6BEXhJiRmet889mlE4nlbX8mfLeIHVEVRygC14ItnxbfHVTMH+A/SJu5N4NW62vqlOnqKoqjAJ1/ka4HsOn/8thP1Z5DonBl1tfUrdLQURfFFXTTFpR4pMzACqS3+AlLpb2Fdbf0aHR5FUdSCT7cV/wsn8NcB/66rrbc6KoqiFIL/B3G38Ji8VyggAAAAAElFTkSuQmCC",alt:"Qrati Logo",className:"qc:h-4 qc:w-auto"})]}):null},ic=()=>{const e=Sl(),t=vl(),{user:n,organization:r,signout:o}=Pi();return w.jsxs("div",{children:[r&&!r.customAuth&&w.jsxs("div",{className:"qc:mx-auto qc:py-4",children:[!n&&w.jsxs(Xu,{variant:"h6",align:"center",children:[w.jsx(ds,{className:"qc:text-primary qc:hover:underline",to:ho.LOGIN,state:{referrer:t.pathname},children:"Login"})," ","•"," ",w.jsx(ds,{className:"qc:text-primary qc:hover:underline",to:ho.REGISTER,state:{referrer:t.pathname},children:"Register"})]}),n&&w.jsxs(Xu,{variant:"h6",align:"center",children:["Logged in as ",n.name," •"," ",w.jsx("span",{className:"qc:text-destructive qc:hover:underline",onClick:async()=>{await o(),e(ho.PUBLIC_EVENTS)},children:"Logout"})]})]}),w.jsx(ac,{})]})},lc=()=>{const e=Cl(),{organization:t,props:{organizationId:n}}=Pi(),{loading:r,event:o}=rc({eventSlug:e.eventSlug});return r?w.jsxs("div",{children:[w.jsx(tc,{className:"qc:mx-auto qc:mt-4 qc:h-8 qc:w-64"}),w.jsx(tc,{className:"qc:mx-auto qc:mt-6 qc:h-6 qc:w-72"}),w.jsx(tc,{className:"qc:mx-auto qc:mt-6 qc:h-8 qc:w-72"}),w.jsx("div",{className:"qc:mt-8 qc:grid qc:grid-cols-1 qc:gap-4 qc:sm:grid-cols-3",children:Array.from({length:8}).map((e,t)=>w.jsx(tc,{className:"qc:h-72"},t))})]}):o&&o?.organizationId===n?w.jsxs("div",{className:"qc:bg-background qc:relative qc:min-h-screen",children:[t?.navigationSettings?.enableNavbar&&w.jsx(nc,{}),w.jsx(oc,{}),w.jsx(jl,{}),w.jsx(ic,{})]}):w.jsxs("div",{className:"qc:flex qc:w-full qc:flex-col qc:items-center qc:gap-8",children:[w.jsx(ec,{className:"qc:mt-16",title:"Event not found",description:"Please check the provided link",iconSvg:w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"qc:size-full",viewBox:"0 0 997.86122 450.8081",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",children:[w.jsx("rect",{x:"871.99152",y:"181.55804",width:"30.15944",height:"104.39806",fill:"#f2f2f2"}),w.jsx("polygon",{points:"922.068 266.317 848.715 179.052 701.475 180.398 612.156 267.396 613.961 268.556 613.316 268.556 613.316 449.513 921.871 449.513 921.871 268.556 922.068 266.317",fill:"#f2f2f2"}),w.jsx("polygon",{points:"848.792 179.238 757.154 286.674 757.154 449.513 921.871 449.513 921.871 266.236 848.792 179.238",fill:"#e6e6e6"}),w.jsx("rect",{x:"823.27242",y:"359.46083",width:"33.6394",height:"29.73333",fill:"#3f3d56"}),w.jsx("rect",{x:"823.27242",y:"307.99568",width:"33.6394",height:"29.26181",fill:"#3f3d56"}),w.jsx("rect",{x:"823.27242",y:"359.46083",width:"33.6394",height:"29.73333",fill:"#fff"}),w.jsx("rect",{x:"823.27242",y:"307.99568",width:"33.6394",height:"29.26181",fill:"#fff"}),w.jsx("rect",{x:"673.77661",y:"351.57128",width:"33.6394",height:"29.73333",fill:"#fff"}),w.jsx("rect",{x:"673.77661",y:"300.10613",width:"33.6394",height:"29.26181",fill:"#fff"}),w.jsx("rect",{x:"633.99152",y:"181.55804",width:"30.15944",height:"104.39806",fill:"#f2f2f2"}),w.jsx("polygon",{points:"684.068 266.317 610.715 179.052 463.475 180.398 374.156 267.396 375.961 268.556 375.316 268.556 375.316 449.513 683.871 449.513 683.871 268.556 684.068 266.317",fill:"#f2f2f2"}),w.jsx("polygon",{points:"610.792 179.238 519.154 286.674 519.154 449.513 683.871 449.513 683.871 266.236 610.792 179.238",fill:"#e6e6e6"}),w.jsx("rect",{x:"585.27242",y:"359.46083",width:"33.6394",height:"29.73333",fill:"#3f3d56"}),w.jsx("rect",{x:"585.27242",y:"307.99568",width:"33.6394",height:"29.26181",fill:"#3f3d56"}),w.jsx("rect",{x:"585.27242",y:"359.46083",width:"33.6394",height:"29.73333",fill:"#fff"}),w.jsx("rect",{x:"585.27242",y:"307.99568",width:"33.6394",height:"29.26181",fill:"#fff"}),w.jsx("rect",{x:"435.77661",y:"351.57128",width:"33.6394",height:"29.73333",fill:"#fff"}),w.jsx("rect",{x:"435.77661",y:"300.10613",width:"33.6394",height:"29.26181",fill:"#fff"}),w.jsx("rect",{x:"380.1536",y:"91.46021",width:"40.30032",height:"139.50112",fill:"#f2f2f2"}),w.jsx("polygon",{points:"447.068 204.718 349.051 88.112 152.302 89.91 32.951 206.161 35.362 207.711 34.501 207.711 34.501 449.513 446.804 449.513 446.804 207.711 447.068 204.718",fill:"#f2f2f2"}),w.jsx("polygon",{points:"349.153 88.36 226.702 231.921 226.702 449.513 446.804 449.513 446.804 204.611 349.153 88.36",fill:"#e6e6e6"}),w.jsx("rect",{x:"315.05306",y:"329.18147",width:"44.95039",height:"39.73094",fill:"#3f3d56"}),w.jsx("rect",{x:"315.05306",y:"260.41156",width:"44.95039",height:"39.10088",fill:"#3f3d56"}),w.jsx("rect",{x:"315.05306",y:"329.18147",width:"44.95039",height:"39.73094",fill:"#fff"}),w.jsx("rect",{x:"315.05306",y:"260.41156",width:"44.95039",height:"39.10088",fill:"#fff"}),w.jsx("rect",{x:"115.29041",y:"318.63912",width:"44.95039",height:"39.73094",fill:"#fff"}),w.jsx("rect",{x:"115.29041",y:"249.8692",width:"44.95039",height:"39.10088",fill:"#fff"}),w.jsx("rect",{y:"448.61997",width:"963.95079",height:"2",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"151.87223",cy:"352.47204",rx:"29.09932",ry:"59.37437",fill:"#3f3d56"}),w.jsx("path",{d:"M255.62882,674.25425c-11.65458-69.92526-.11734-139.59789.00056-140.29293l2.267.384c-.11734.69167-11.58834,69.99825.00056,139.53164Z",transform:"translate(-101.06939 -224.59595)",fill:"currentColor"}),w.jsx("rect",{x:"251.0257",y:"571.20214",width:"29.84136",height:"2.29972",transform:"translate(-339.58156 -31.50095) rotate(-28.1416)",fill:"currentColor"}),w.jsx("rect",{x:"237.02319",y:"564.48509",width:"2.29972",height:"29.84239",transform:"translate(-486.12468 291.37147) rotate(-61.84204)",fill:"currentColor"}),w.jsx("ellipse",{cx:"81.9552",cy:"260.90342",rx:"56.91484",ry:"116.12927",fill:"currentColor"}),w.jsx("path",{d:"M189.364,675.40405c-22.76459-136.58529-.22963-272.67316.00056-274.03181l2.267.384c-.22962,1.35528-22.69834,137.0771.00057,273.27052Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("rect",{x:"179.27648",y:"475.12522",width:"58.36761",height:"2.29972",transform:"translate(-301.0624 -69.97216) rotate(-28.1416)",fill:"#3f3d56"}),w.jsx("rect",{x:"152.98936",y:"460.88882",width:"2.29972",height:"58.36761",transform:"translate(-451.74248 170.111) rotate(-61.84258)",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"216.75351",cy:"191.008",rx:"77.88347",ry:"158.91374",fill:"currentColor"}),w.jsx("path",{d:"M326.9161,675.40405c-31.1399-186.83717-.3144-372.9922.00056-374.85051l2.267.384c-.3144,1.85494-31.07366,187.64393.00056,374.08922Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("rect",{x:"312.69421",y:"401.83114",width:"79.87126",height:"2.29972",transform:"translate(-249.45002 -10.63875) rotate(-28.1416)",fill:"#3f3d56"}),w.jsx("rect",{x:"277.14586",y:"381.92603",width:"2.29972",height:"79.87126",transform:"translate(-326.03583 243.55793) rotate(-61.84329)",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"871.02934",cy:"352.47204",rx:"29.09932",ry:"59.37437",fill:"#3f3d56"}),w.jsx("path",{d:"M969.41153,674.25425c11.65459-69.92526.11734-139.59789-.00056-140.29293l-2.267.384c.11733.69167,11.58833,69.99825-.00056,139.53164Z",transform:"translate(-101.06939 -224.59595)",fill:"currentColor"}),w.jsx("rect",{x:"957.94412",y:"557.43132",width:"2.29972",height:"29.84136",transform:"translate(-99.02545 923.51928) rotate(-61.8584)",fill:"currentColor"}),w.jsx("rect",{x:"971.94611",y:"578.25643",width:"29.84239",height:"2.29972",transform:"translate(-257.69773 309.6834) rotate(-28.15796)",fill:"currentColor"}),w.jsx("ellipse",{cx:"940.94638",cy:"260.90342",rx:"56.91484",ry:"116.12927",fill:"currentColor"}),w.jsx("path",{d:"M1035.67632,675.40405c22.76459-136.58529.22962-272.67316-.00056-274.03181l-2.267.384c.22962,1.35528,22.69834,137.0771-.00056,273.27052Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("rect",{x:"1015.43021",y:"447.09128",width:"2.29972",height:"58.36761",transform:"translate(16.06635 923.44761) rotate(-61.8584)",fill:"#3f3d56"}),w.jsx("rect",{x:"1041.71733",y:"488.92276",width:"58.36761",height:"2.29972",transform:"translate(-205.59609 338.75568) rotate(-28.15742)",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"806.14806",cy:"191.008",rx:"77.88347",ry:"158.91374",fill:"currentColor"}),w.jsx("path",{d:"M898.12426,675.40405c31.1399-186.83717.31439-372.9922-.00056-374.85051l-2.267.384c.3144,1.85494,31.07365,187.64393-.00056,374.08922Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("rect",{x:"871.26065",y:"363.04537",width:"2.29972",height:"79.87126",transform:"translate(4.52428 757.59634) rotate(-61.8584)",fill:"#3f3d56"}),w.jsx("rect",{x:"906.809",y:"420.7118",width:"79.87126",height:"2.29972",transform:"translate(-188.10195 272.08136) rotate(-28.15671)",fill:"#3f3d56"}),w.jsx("path",{d:"M690.67376,326.06186l9.20569-7.3628c-7.15149-.789-10.0899,3.11127-11.29248,6.19837-5.587-2.32-11.66919.72046-11.66919.72046l18.41889,6.6867A13.93792,13.93792,0,0,0,690.67376,326.06186Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M465.67376,261.06186l9.20569-7.3628c-7.15149-.789-10.0899,3.11127-11.29248,6.19837-5.587-2.32-11.66919.72046-11.66919.72046l18.41889,6.6867A13.93792,13.93792,0,0,0,465.67376,261.06186Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M832.67376,232.06186l9.20569-7.3628c-7.15149-.789-10.0899,3.11127-11.29248,6.19837-5.587-2.32-11.66919.72046-11.66919.72046l18.41889,6.6867A13.93792,13.93792,0,0,0,832.67376,232.06186Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M851.26034,661.648a13.91772,13.91772,0,0,0-6.96955,1.86975A14.98175,14.98175,0,0,0,819.26034,674.648h45.94952A13.99045,13.99045,0,0,0,851.26034,661.648Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M384.26034,661.648a13.91772,13.91772,0,0,0-6.96955,1.86975A14.98175,14.98175,0,0,0,352.26034,674.648h45.94952A13.99045,13.99045,0,0,0,384.26034,661.648Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M623.26034,661.648a13.91772,13.91772,0,0,0-6.96955,1.86975A14.98175,14.98175,0,0,0,591.26034,674.648h45.94952A13.99045,13.99045,0,0,0,623.26034,661.648Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("polygon",{points:"471.759 404.228 339.191 404.228 339.191 408.504 359.866 408.504 359.866 449.13 364.142 449.13 364.142 408.504 444.669 408.504 444.669 449.13 448.946 449.13 448.946 408.504 471.759 408.504 471.759 404.228",fill:"#3f3d56"}),w.jsx("rect",{x:"339.45191",y:"391.43404",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("rect",{x:"339.45191",y:"380.74306",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("rect",{x:"339.45191",y:"370.05209",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("polygon",{points:"678.759 404.228 546.191 404.228 546.191 408.504 566.866 408.504 566.866 449.13 571.142 449.13 571.142 408.504 651.669 408.504 651.669 449.13 655.946 449.13 655.946 408.504 678.759 408.504 678.759 404.228",fill:"#3f3d56"}),w.jsx("rect",{x:"546.45191",y:"391.43404",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("rect",{x:"546.45191",y:"380.74306",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("rect",{x:"546.45191",y:"370.05209",width:"132.56808",height:"4.27639",fill:"#3f3d56"})]})}),w.jsx(ds,{to:ho.PUBLIC_EVENTS,state:{internalNavigation:!0},children:w.jsx(Zu,{children:"All events"})})]})},sc=Se.lazy(()=>import("./PublicEvents-CIrYMBEL.js")),uc=Se.lazy(()=>import("./ContentsPage-BALVk95k.js").then(e=>e.l)),cc=Se.lazy(()=>import("./UploadPage-CITq8Afj.js")),dc=Se.lazy(()=>import("./LeaderboardPage-ZllEyvHF.js")),fc=Se.lazy(()=>import("./CuratePage-6O-YtfaK.js")),pc=Se.lazy(()=>import("./AuthLayout-smqrs4PK.js")),hc=Se.lazy(()=>import("./LoginPage-CT0pEqXM.js")),mc=Se.lazy(()=>import("./RegisterPage-jGyiY6Q1.js")),gc=Se.lazy(()=>import("./ForgotPasswordPage-B7SQUSjQ.js")),yc=()=>w.jsx("div",{className:"qc:flex qc:h-[80vh] qc:w-full qc:items-center qc:justify-center",children:w.jsx("div",{className:"qc:text-foreground qc:text-lg"})}),bc=({router:e="memory"})=>{const t="hash"===e.toLowerCase()?ss:zl;return w.jsxs(t,{children:[w.jsx(gs,{}),w.jsx(Se.Suspense,{fallback:w.jsx(yc,{}),children:w.jsxs(ql,{children:[w.jsx(Ml,{path:"/:folderId?",element:w.jsx(sc,{})}),w.jsxs(Ml,{path:"/event/:eventSlug",element:w.jsx(lc,{}),children:[w.jsx(Ml,{path:"",element:w.jsx(uc,{})}),w.jsx(Ml,{path:"upload",element:w.jsx(cc,{})}),w.jsx(Ml,{path:"curate",element:w.jsx(fc,{})}),w.jsx(Ml,{path:"curate/:contentId",element:w.jsx(fc,{})}),w.jsx(Ml,{path:"leaderboard",element:w.jsx(dc,{})})]}),w.jsxs(Ml,{path:"/auth",element:w.jsx(pc,{}),children:[w.jsx(Ml,{path:"login",element:w.jsx(hc,{})}),w.jsx(Ml,{path:"register",element:w.jsx(mc,{})}),w.jsx(Ml,{path:"forgot-password",element:w.jsx(gc,{})})]})]})})]})};!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(':root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n');var vc=e=>"number"==typeof e&&!isNaN(e),wc=e=>"string"==typeof e,kc=e=>"function"==typeof e,Sc=e=>wc(e)||kc(e)?e:null,xc=(e,t)=>!1===e||vc(e)&&e>0?e:t,Cc=e=>Se.isValidElement(e)||wc(e)||kc(e)||vc(e);function Ac(e,t){return{content:Ec(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function Ec(e,t,n=!1){return Se.isValidElement(e)&&!wc(e.type)?Se.cloneElement(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):kc(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):e}function Ic({delay:e,isRunning:t,closeToast:n,type:r="default",hide:o,className:a,controlledProgress:i,progress:l,rtl:s,isIn:u,theme:c}){let d=o||i&&0===l,f={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};i&&(f.transform=`scaleX(${l})`);let p=Bo("Toastify__progress-bar",i?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${c}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":s}),h=kc(a)?a({rtl:s,type:r,defaultClassName:p}):Bo(p,a),m={[i&&l>=1?"onTransitionEnd":"onAnimationEnd"]:i&&l<1?null:()=>{u&&n()}};return xe.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":d},xe.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${c} Toastify__progress-bar--${r}`}),xe.createElement("div",{role:"progressbar","aria-hidden":d?"true":"false","aria-label":"notification timer",className:h,style:f,...m}))}var Tc=1,_c=()=>""+Tc++;function Rc(e,t,n){let r=1,o=0,a=[],i=[],l=t,s=new Map,u=new Set,c=()=>{i=Array.from(s.values()),u.forEach(e=>e())},d=e=>{var t,n;null==(n=null==(t=e.props)?void 0:t.onClose)||n.call(t,e.removalReason),e.isActive=!1},f=e=>{if(null==e)s.forEach(d);else{let t=s.get(e);t&&d(t)}c()},p=e=>{var t,r;let{toastId:o,updateId:a}=e.props,i=null==a;e.staleId&&s.delete(e.staleId),e.isActive=!0,s.set(o,e),c(),n(Ac(e,i?"added":"updated")),i&&(null==(r=(t=e.props).onOpen)||r.call(t))};return{id:e,props:l,observe:e=>(u.add(e),()=>u.delete(e)),toggle:(e,t)=>{s.forEach(n=>{var r;(null==t||t===n.props.toastId)&&(null==(r=n.toggle)||r.call(n,e))})},removeToast:f,toasts:s,clearQueue:()=>{o-=a.length,a=[]},buildToast:(t,i)=>{if((({containerId:t,toastId:n,updateId:r})=>{let o=t?t!==e:1!==e,a=s.has(n)&&null==r;return o||a})(i))return;let{toastId:u,updateId:d,data:h,staleId:m,delay:g}=i,y=null==d;y&&o++;let b={...l,style:l.toastStyle,key:r++,...Object.fromEntries(Object.entries(i).filter(([e,t])=>null!=t)),toastId:u,updateId:d,data:h,isIn:!1,className:Sc(i.className||l.toastClassName),progressClassName:Sc(i.progressClassName||l.progressClassName),autoClose:!i.isLoading&&xc(i.autoClose,l.autoClose),closeToast(e){s.get(u).removalReason=e,f(u)},deleteToast(){let e=s.get(u);if(null!=e){if(n(Ac(e,"removed")),s.delete(u),o--,o<0&&(o=0),a.length>0)return void p(a.shift());c()}}};b.closeButton=l.closeButton,!1===i.closeButton||Cc(i.closeButton)?b.closeButton=i.closeButton:!0===i.closeButton&&(b.closeButton=!Cc(l.closeButton)||l.closeButton);let v={content:t,props:b,staleId:m};l.limit&&l.limit>0&&o>l.limit&&y?a.push(v):vc(g)?setTimeout(()=>{p(v)},g):p(v)},setProps(e){l=e},setToggle:(e,t)=>{let n=s.get(e);n&&(n.toggle=t)},isToastActive:e=>{var t;return null==(t=s.get(e))?void 0:t.isActive},getSnapshot:()=>i}}var Pc=new Map,Oc=[],Nc=new Set,Lc=e=>Nc.forEach(t=>t(e)),zc=()=>Pc.size>0;function Dc(e,t){var n;if(t)return!(null==(n=Pc.get(t))||!n.isToastActive(e));let r=!1;return Pc.forEach(t=>{t.isToastActive(e)&&(r=!0)}),r}function jc(e){if(zc()){if(null==e||(e=>wc(e)||vc(e))(e))Pc.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=Pc.get(e.containerId);t?t.removeToast(e.id):Pc.forEach(t=>{t.removeToast(e.id)})}}else Oc=Oc.filter(t=>null!=e&&t.options.toastId!==e)}function Mc(e,t){Cc(e)&&(zc()||Oc.push({content:e,options:t}),Pc.forEach(n=>{n.buildToast(e,t)}))}function Fc(e,t){Pc.forEach(n=>{(null==t||null==t||!t.containerId||t?.containerId===n.id)&&n.toggle(e,t?.id)})}function qc(e){let t=e.containerId||1;return{subscribe(n){let r=Rc(t,e,Lc);Pc.set(t,r);let o=r.observe(n);return Oc.forEach(e=>Mc(e.content,e.options)),Oc=[],()=>{o(),Pc.delete(t)}},setProps(e){var n;null==(n=Pc.get(t))||n.setProps(e)},getSnapshot(){var e;return null==(e=Pc.get(t))?void 0:e.getSnapshot()}}}function Uc(e){return e&&(wc(e.toastId)||vc(e.toastId))?e.toastId:_c()}function Hc(e,t){return Mc(e,t),t.toastId}function Bc(e,t){return{...t,type:t&&t.type||e,toastId:Uc(t)}}function Vc(e){return(t,n)=>Hc(t,Bc(e,n))}function Wc(e,t){return Hc(e,Bc("default",t))}function Gc(e){let[t,n]=Se.useState(!1),[r,o]=Se.useState(!1),a=Se.useRef(null),i=Se.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:s,closeToast:u,onClick:c,closeOnClick:d}=e;function f(){n(!0)}function p(){n(!1)}function h(n){let r=a.current;if(i.canDrag&&r){i.didMove=!0,t&&p(),"x"===e.draggableDirection?i.delta=n.clientX-i.start:i.delta=n.clientY-i.start,i.start!==n.clientX&&(i.canCloseOnClick=!1);let o="x"===e.draggableDirection?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`;r.style.transform=`translate3d(${o},0)`,r.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance))}}function m(){document.removeEventListener("pointermove",h),document.removeEventListener("pointerup",m);let t=a.current;if(i.canDrag&&i.didMove&&t){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return o(!0),e.closeToast(!0),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}(function(e){var t;null==(t=Pc.get(e.containerId||1))||t.setToggle(e.id,e.fn)})({id:e.toastId,containerId:e.containerId,fn:n}),Se.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||p(),window.addEventListener("focus",f),window.addEventListener("blur",p),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",p)}},[e.pauseOnFocusLoss]);let g={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){i.didMove=!1,document.addEventListener("pointermove",h),document.addEventListener("pointerup",m);let n=a.current;i.canCloseOnClick=!0,i.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(i.start=t.clientX,i.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(i.start=t.clientY,i.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:n,bottom:r,left:o,right:i}=a.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=o&&t.clientX<=i&&t.clientY>=n&&t.clientY<=r?p():f()}};return l&&s&&(g.onMouseEnter=p,e.stacked||(g.onMouseLeave=f)),d&&(g.onClick=e=>{c&&c(e),i.canCloseOnClick&&u(!0)}),{playToast:f,pauseToast:p,isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:g}}Wc.loading=(e,t)=>Hc(e,Bc("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Wc.promise=function(e,{pending:t,error:n,success:r},o){let a;t&&(a=wc(t)?Wc.loading(t,o):Wc.loading(t.render,{...o,...t}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,n)=>{if(null==t)return void Wc.dismiss(a);let r={type:e,...i,...o,data:n},l=wc(t)?{render:t}:t;return a?Wc.update(a,{...r,...l}):Wc(l.render,{...r,...l}),n},s=kc(e)?e():e;return s.then(e=>l("success",r,e)).catch(e=>l("error",n,e)),s},Wc.success=Vc("success"),Wc.info=Vc("info"),Wc.error=Vc("error"),Wc.warning=Vc("warning"),Wc.warn=Wc.warning,Wc.dark=(e,t)=>Hc(e,Bc("default",{theme:"dark",...t})),Wc.dismiss=function(e){jc(e)},Wc.clearWaitingQueue=(e={})=>{Pc.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})},Wc.isActive=Dc,Wc.update=(e,t={})=>{let n=((e,{containerId:t})=>{var n;return null==(n=Pc.get(t||1))?void 0:n.toasts.get(e)})(e,t);if(n){let{props:r,content:o}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:_c()};a.toastId!==e&&(a.staleId=e);let i=a.render||o;delete a.render,Hc(i,a)}},Wc.done=e=>{Wc.update(e,{progress:1})},Wc.onChange=function(e){return Nc.add(e),()=>{Nc.delete(e)}},Wc.play=e=>Fc(!0,e),Wc.pause=e=>Fc(!1,e);var Qc=typeof window<"u"?Se.useLayoutEffect:Se.useEffect,Yc=({theme:e,type:t,isLoading:n,...r})=>xe.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":`var(--toastify-icon-color-${t})`,...r});var $c={info:function(e){return xe.createElement(Yc,{...e},xe.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return xe.createElement(Yc,{...e},xe.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return xe.createElement(Yc,{...e},xe.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return xe.createElement(Yc,{...e},xe.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return xe.createElement("div",{className:"Toastify__spinner"})}};function Zc({theme:e,type:t,isLoading:n,icon:r}){let o=null,a={theme:e,type:t};return!1===r||(kc(r)?o=r({...a,isLoading:n}):Se.isValidElement(r)?o=Se.cloneElement(r,a):n?o=$c.spinner():(e=>e in $c)(t)&&(o=$c[t](a))),o}var Kc=e=>{let{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:o,playToast:a}=Gc(e),{closeButton:i,children:l,autoClose:s,onClick:u,type:c,hideProgressBar:d,closeToast:f,transition:p,position:h,className:m,style:g,progressClassName:y,updateId:b,role:v,progress:w,rtl:k,toastId:S,deleteToast:x,isIn:C,isLoading:A,closeOnClick:E,theme:I,ariaLabel:T}=e,_=Bo("Toastify__toast",`Toastify__toast-theme--${I}`,`Toastify__toast--${c}`,{"Toastify__toast--rtl":k},{"Toastify__toast--close-on-click":E}),R=kc(m)?m({rtl:k,position:h,type:c,defaultClassName:_}):Bo(_,m),P=Zc(e),O=!!w||!s,N={closeToast:f,type:c,theme:I},L=null;return!1===i||(L=kc(i)?i(N):Se.isValidElement(i)?Se.cloneElement(i,N):function({closeToast:e,theme:t,ariaLabel:n="close"}){return xe.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:t=>{t.stopPropagation(),e(!0)},"aria-label":n},xe.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},xe.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(N)),xe.createElement(p,{isIn:C,done:x,position:h,preventExitTransition:n,nodeRef:r,playToast:a},xe.createElement("div",{id:S,tabIndex:0,onClick:u,"data-in":C,className:R,...o,style:g,ref:r,...C&&{role:v,"aria-label":T}},null!=P&&xe.createElement("div",{className:Bo("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!A})},P),Ec(l,e,!t),L,!e.customProgressBar&&xe.createElement(Ic,{...b&&!O?{key:`p-${b}`}:{},rtl:k,theme:I,delay:s,isRunning:t,isIn:C,closeToast:f,hide:d,type:c,className:y,controlledProgress:O,progress:w||0})))},Jc=function({enter:e,exit:t,appendPosition:n=!1,collapse:r=!0,collapseDuration:o=300}){return function({children:a,position:i,preventExitTransition:l,done:s,nodeRef:u,isIn:c,playToast:d}){let f=n?`${e}--${i}`:e,p=n?`${t}--${i}`:t,h=Se.useRef(0);return Se.useLayoutEffect(()=>{let e=u.current,t=f.split(" "),n=r=>{r.target===u.current&&(d(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===h.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),Se.useEffect(()=>{let e=u.current,t=()=>{e.removeEventListener("animationend",t),r?function(e,t,n=300){let{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}(e,s,o):s()};c||(l?t():(h.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))},[c]),xe.createElement(xe.Fragment,null,a)}}(((e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}))("bounce",!0)),Xc={position:"top-right",transition:Jc,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&"KeyT"===e.code};function ed(e){let t={...Xc,...e},n=e.stacked,[r,o]=Se.useState(!0),a=Se.useRef(null),{getToastToRender:i,isToastActive:l,count:s}=function(e){var t;let{subscribe:n,getSnapshot:r,setProps:o}=Se.useRef(qc(e)).current;o(e);let a=null==(t=Se.useSyncExternalStore(n,r,r))?void 0:t.slice();return{getToastToRender:function(t){if(!a)return[];let n=new Map;return e.newestOnTop&&a.reverse(),a.forEach(e=>{let{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,e=>t(e[0],e[1]))},isToastActive:Dc,count:a?.length}}(t),{className:u,style:c,rtl:d,containerId:f,hotKeys:p}=t;function h(e){let t=Bo("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return kc(u)?u({position:e,rtl:d,defaultClassName:t}):Bo(t,Sc(u))}function m(){n&&(o(!0),Wc.play())}return Qc(()=>{var e;if(n){let n=a.current.querySelectorAll('[data-in="true"]'),o=12,i=null==(e=t.position)?void 0:e.includes("top"),l=0,s=0;Array.from(n).reverse().forEach((e,t)=>{let n=e;n.classList.add("Toastify__toast--stacked"),t>0&&(n.dataset.collapsed=`${r}`),n.dataset.pos||(n.dataset.pos=i?"top":"bot");let a=l*(r?.2:1)+(r?0:o*t);n.style.setProperty("--y",`${i?a:-1*a}px`),n.style.setProperty("--g",`${o}`),n.style.setProperty("--s",""+(1-(r?s:0))),l+=n.offsetHeight,s+=.025})}},[r,s,n]),Se.useEffect(()=>{function e(e){var t;let n=a.current;p(e)&&(null==(t=n.querySelector('[tabIndex="0"]'))||t.focus(),o(!1),Wc.pause()),"Escape"===e.key&&(document.activeElement===n||null!=n&&n.contains(document.activeElement))&&(o(!0),Wc.play())}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[p]),xe.createElement("section",{ref:a,className:"Toastify",id:f,onMouseEnter:()=>{n&&(o(!1),Wc.pause())},onMouseLeave:m,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},i((e,t)=>{let r=t.length?{...c}:{...c,pointerEvents:"none"};return xe.createElement("div",{tabIndex:-1,className:h(e),"data-stacked":n,style:r,key:`c-${e}`},t.map(({content:e,props:t})=>xe.createElement(Kc,{...t,stacked:n,collapseAll:m,isIn:l(t.toastId,t.containerId),key:`t-${t.key}`},e)))}))}const td=new class{#e;#t;#n;#r;#o;#a;#i;#l;constructor(e={}){this.#e=e.queryCache||new ke,this.#t=e.mutationCache||new ve,this.#n=e.defaultOptions||{},this.#r=new Map,this.#o=new Map,this.#a=0}mount(){this.#a++,1===this.#a&&(this.#i=Y.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=J.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,0===this.#a&&(this.#i?.(),this.#i=void 0,this.#l?.(),this.#l=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(R(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=this.#e.get(r.queryHash)?.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(t,o);if(void 0!==a)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return K.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;K.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=this.#e;return K.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=K.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(I).catch(I)}invalidateQueries(e,t={}){return K.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=K.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(I)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(r).then(I)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(R(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(I).catch(I)}fetchInfiniteQuery(e){return e.behavior=pe(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(I).catch(I)}ensureInfiniteQueryData(e){return e.behavior=pe(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return J.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(z(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(t=>{D(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#o.set(z(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#o.values()],n={};return t.forEach(t=>{D(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=L(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===G&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},nd=e=>{const{organizationId:t,router:n}=e;return t?w.jsxs(Ie,{client:td,children:[w.jsxs(Ri,{props:e,children:[w.jsx(bc,{router:n}),w.jsx(ed,{position:"bottom-right",autoClose:3e3})]}),w.jsx(Dr,{initialIsOpen:!1})]}):w.jsxs("div",{className:"qc:mx-auto qc:mt-24 qc:w-fit qc:space-y-8",children:[w.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"qc:mx-auto qc:h-48",viewBox:"0 0 799.031 618.112",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img","aria-label":"Error illustration showing a computer screen with an exclamation mark",children:w.jsxs("g",{transform:"translate(-893 -197)",children:[w.jsx("path",{d:"M15.18,488.763c0,.872.478,1.573,1.073,1.573h535.1c.6,0,1.073-.7,1.073-1.573s-.478-1.573-1.073-1.573H16.253C15.658,487.191,15.18,487.891,15.18,488.763Z",transform:"translate(1007.711 324.776)",fill:"#ccc"}),w.jsx("rect",{width:"19.105",height:"3.371",transform:"translate(1198.162 808.354)",fill:"#b6b3c5"}),w.jsx("rect",{width:"19.105",height:"3.371",transform:"translate(1367.295 808.917)",fill:"#b6b3c5"}),w.jsx("path",{d:"M352.955,370.945a27.529,27.529,0,0,1-54.321,0H229.146V521.536h193.3V370.945Z",transform:"translate(966.721 287.378)",fill:"#d6d6e3"}),w.jsx("rect",{width:"193.296",height:"5.242",transform:"translate(1196.43 796.983)",fill:"#090814"}),w.jsx("path",{d:"M788.255,487.17H10.776A10.788,10.788,0,0,1,0,476.394V32.688A10.788,10.788,0,0,1,10.776,21.911H788.255a10.789,10.789,0,0,1,10.776,10.776V476.394a10.789,10.789,0,0,1-10.776,10.776Z",transform:"translate(893 175.089)",fill:"#090814"}),w.jsx("rect",{width:"760.822",height:"429.297",transform:"translate(911.104 213.968)",fill:"#fff"}),w.jsxs("g",{transform:"translate(20.477 16.308)",children:[w.jsx("path",{d:"M604.463,379.271H317.442a8.655,8.655,0,0,1-8.645-8.645V273.8a8.655,8.655,0,0,1,8.645-8.645H604.463a8.655,8.655,0,0,1,8.645,8.645v96.826a8.655,8.655,0,0,1-8.645,8.645Z",transform:"translate(811.648 85.826)",fill:"#ff4800"}),w.jsx("rect",{width:"76.078",height:"8.645",rx:"2",transform:"translate(1165.4 380.374)",fill:"#fff"}),w.jsx("ellipse",{cx:"5.187",cy:"5.187",rx:"5.187",ry:"5.187",transform:"translate(1336.576 380.374)",fill:"#090814"}),w.jsx("ellipse",{cx:"5.187",cy:"5.187",rx:"5.187",ry:"5.187",transform:"translate(1353.865 380.374)",fill:"#090814"}),w.jsx("ellipse",{cx:"5.187",cy:"5.187",rx:"5.187",ry:"5.187",transform:"translate(1371.156 380.374)",fill:"#090814"})]}),w.jsx("ellipse",{cx:"40.952",cy:"40.952",rx:"40.952",ry:"40.952",transform:"translate(1404.281 440.452)",fill:"#090814"}),w.jsx("path",{d:"M10.863-57.7l-.524-29.6h8.246l-.554,29.6Zm3.613,14.307a4.7,4.7,0,0,1-3.409-1.3,4.368,4.368,0,0,1-1.34-3.278,4.39,4.39,0,0,1,1.34-3.322,4.732,4.732,0,0,1,3.409-1.282,4.732,4.732,0,0,1,3.409,1.282,4.39,4.39,0,0,1,1.34,3.322,4.368,4.368,0,0,1-1.34,3.278A4.7,4.7,0,0,1,14.476-43.394Z",transform:"translate(1430.76 546.754)",fill:"#fff"})]})}),w.jsxs("div",{className:"qc:space-y-4",children:[w.jsx("h4",{className:"qc:text-foreground qc:text-center qc:text-lg qc:font-medium",children:"Organization ID is required"}),w.jsx("h5",{className:"qc:text-muted qc:text-center",children:"Please contact the admin for more information"})]})]})};var rd,od={exports:{}},ad={},id={exports:{}},ld={};
|
|
50
|
+
*/var Ni="popstate";function Li(e={}){return function(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,l="POP",s=null,u=c();function c(){return(i.state||{idx:null}).idx}function d(){l="POP";let e=c(),t=null==e?null:e-u;u=e,s&&s({action:l,location:m.location,delta:t})}function f(e,t){l="PUSH";let r=Mi(m.location,e,t);n&&n(r,e),u=c()+1;let d=ji(r,u),f=m.createHref(r);try{i.pushState(d,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(f)}a&&s&&s({action:l,location:m.location,delta:1})}function p(e,t){l="REPLACE";let r=Mi(m.location,e,t);n&&n(r,e),u=c();let o=ji(r,u),d=m.createHref(r);i.replaceState(o,"",d),a&&s&&s({action:l,location:m.location,delta:0})}function h(e){return function(e,t=!1){let n="http://localhost";typeof window<"u"&&(n="null"!==window.location.origin?window.location.origin:window.location.href),zi(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:Fi(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}(e)}null==u&&(u=0,i.replaceState({...i.state,idx:u},""));let m={get action(){return l},get location(){return e(o,i)},listen(e){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(Ni,d),s=e,()=>{o.removeEventListener(Ni,d),s=null}},createHref:e=>t(o,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go:e=>i.go(e)};return m}(function(e,t){let{pathname:n="/",search:r="",hash:o=""}=qi(e.location.hash.substring(1));return!n.startsWith("/")&&!n.startsWith(".")&&(n="/"+n),Mi("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:Fi(t))},function(e,t){Di("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)},e)}function zi(e,t){if(!1===e||null===e||typeof e>"u")throw new Error(t)}function Di(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ji(e,t){return{usr:e.state,key:e.key,idx:t}}function Mi(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?qi(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function Fi({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function qi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Ui(e,t,n="/"){return function(e,t,n,r){let o="string"==typeof t?qi(t):t,a=tl(o.pathname||"/",n);if(null==a)return null;let i=Hi(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(i);let l=null;for(let e=0;null==l&&e<i.length;++e){let t=el(a);l=Ji(i[e],t,r)}return l}(e,t,n,!1)}function Hi(e,t=[],n=[],r="",o=!1){let a=(e,a,i=o,l)=>{let s={relativePath:void 0===l?e.path||"":l,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(s.relativePath.startsWith("/")){if(!s.relativePath.startsWith(r)&&i)return;zi(s.relativePath.startsWith(r),`Absolute route path "${s.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(r.length)}let u=il([r,s.relativePath]),c=n.concat(s);e.children&&e.children.length>0&&(zi(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),Hi(e.children,t,c,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:Ki(u,e.index),routesMeta:c})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of Bi(e.path))a(e,t,!0,n);else a(e,t)}),t}function Bi(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return o?[a,""]:[a];let i=Bi(r.join("/")),l=[];return l.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}var Vi=/^:[\w-]+$/,Wi=3,Gi=2,Qi=1,Yi=10,$i=-2,Zi=e=>"*"===e;function Ki(e,t){let n=e.split("/"),r=n.length;return n.some(Zi)&&(r+=$i),t&&(r+=Gi),n.filter(e=>!Zi(e)).reduce((e,t)=>e+(Vi.test(t)?Wi:""===t?Qi:Yi),r)}function Ji(e,t,n=!1){let{routesMeta:r}=e,o={},a="/",i=[];for(let e=0;e<r.length;++e){let l=r[e],s=e===r.length-1,u="/"===a?t:t.slice(a.length)||"/",c=Xi({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u),d=l.route;if(!c&&s&&n&&!r[r.length-1].route.index&&(c=Xi({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!c)return null;Object.assign(o,c.params),i.push({params:o,pathname:il([a,c.pathname]),pathnameBase:ll(il([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=il([a,c.pathnameBase]))}return i}function Xi(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){Di("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=l[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=l[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function el(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return Di(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function tl(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function nl(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function rl(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function ol(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function al(e,t,n,r=!1){let o;"string"==typeof e?o=qi(e):(o={...e},zi(!o.pathname||!o.pathname.includes("?"),rl("?","pathname","search",o)),zi(!o.pathname||!o.pathname.includes("#"),rl("#","pathname","hash",o)),zi(!o.search||!o.search.includes("#"),rl("#","search","hash",o)));let a,i=""===e||""===o.pathname,l=i?"/":o.pathname;if(null==l)a=n;else{let e=t.length-1;if(!r&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let s=function(e,t="/"){let{pathname:n,search:r="",hash:o=""}="string"==typeof e?qi(e):e;return{pathname:n?n.startsWith("/")?n:nl(n,t):t,search:sl(r),hash:ul(o)}}(o,a),u=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}var il=e=>e.join("/").replace(/\/\/+/g,"/"),ll=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),sl=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",ul=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var cl=["POST","PUT","PATCH","DELETE"];new Set(cl);var dl=["GET",...cl];new Set(dl);var fl=xe.createContext(null);fl.displayName="DataRouter";var pl=xe.createContext(null);pl.displayName="DataRouterState",xe.createContext(!1);var hl=xe.createContext({isTransitioning:!1});hl.displayName="ViewTransition",xe.createContext(new Map).displayName="Fetchers",xe.createContext(null).displayName="Await";var ml=xe.createContext(null);ml.displayName="Navigation";var gl=xe.createContext(null);gl.displayName="Location";var yl=xe.createContext({outlet:null,matches:[],isDataRoute:!1});yl.displayName="Route";var bl=xe.createContext(null);function vl(){return null!=xe.useContext(gl)}function wl(){return zi(vl(),"useLocation() may be used only in the context of a <Router> component."),xe.useContext(gl).location}bl.displayName="RouteError";var kl="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Sl(e){xe.useContext(ml).static||xe.useLayoutEffect(e)}function xl(){let{isDataRoute:e}=xe.useContext(yl);return e?function(){let{router:e}=function(e){let t=xe.useContext(fl);return zi(t,Ol(e)),t}("useNavigate"),t=Nl("useNavigate"),n=xe.useRef(!1);return Sl(()=>{n.current=!0}),xe.useCallback(async(r,o={})=>{Di(n.current,kl),n.current&&("number"==typeof r?e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))},[e,t])}():function(){zi(vl(),"useNavigate() may be used only in the context of a <Router> component.");let e=xe.useContext(fl),{basename:t,navigator:n}=xe.useContext(ml),{matches:r}=xe.useContext(yl),{pathname:o}=wl(),a=JSON.stringify(ol(r)),i=xe.useRef(!1);return Sl(()=>{i.current=!0}),xe.useCallback((r,l={})=>{if(Di(i.current,kl),!i.current)return;if("number"==typeof r)return void n.go(r);let s=al(r,JSON.parse(a),o,"path"===l.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:il([t,s.pathname])),(l.replace?n.replace:n.push)(s,l.state,l)},[t,n,a,o,e])}()}var Cl=xe.createContext(null);function Al(){let{matches:e}=xe.useContext(yl),t=e[e.length-1];return t?t.params:{}}function El(e,{relative:t}={}){let{matches:n}=xe.useContext(yl),{pathname:r}=wl(),o=JSON.stringify(ol(n));return xe.useMemo(()=>al(e,JSON.parse(o),r,"path"===t),[e,o,r,t])}function Il(e,t,n,r,o){zi(vl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=xe.useContext(ml),{matches:i}=xe.useContext(yl),l=i[i.length-1],s=l?l.params:{},u=l?l.pathname:"/",c=l?l.pathnameBase:"/",d=l&&l.route;{let e=d&&d.path||"";zl(u,!d||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${e}">) 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.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let f,p=wl();if(t){let e="string"==typeof t?qi(t):t;zi("/"===c||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),f=e}else f=p;let h=f.pathname||"/",m=h;if("/"!==c){let e=c.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let g=Ui(e,{pathname:m});Di(d||null!=g,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),Di(null==g||void 0!==g[g.length-1].route.element||void 0!==g[g.length-1].route.Component||void 0!==g[g.length-1].route.lazy,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let y=function(e,t=[],n=null,r=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let o=e,a=n?.errors;if(null!=a){let e=o.findIndex(e=>e.route.id&&void 0!==a?.[e.route.id]);zi(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),o=o.slice(0,Math.min(o.length,e+1))}let i=!1,l=-1;if(n)for(let e=0;e<o.length;e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(l=e),t.route.id){let{loaderData:e,errors:r}=n,a=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!r||void 0===r[t.route.id]);if(t.route.lazy||a){i=!0,o=l>=0?o.slice(0,l+1):[o[0]];break}}}return o.reduceRight((e,s,u)=>{let c,d=!1,f=null,p=null;n&&(c=a&&s.route.id?a[s.route.id]:void 0,f=s.route.errorElement||_l,i&&(l<0&&0===u?(zl("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):l===u&&(d=!0,p=s.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,u+1)),m=()=>{let t;return t=c?f:d?p:s.route.Component?xe.createElement(s.route.Component,null):s.route.element?s.route.element:e,xe.createElement(Pl,{match:s,routeContext:{outlet:e,matches:h,isDataRoute:null!=n},children:t})};return n&&(s.route.ErrorBoundary||s.route.errorElement||0===u)?xe.createElement(Rl,{location:n.location,revalidation:n.revalidation,component:f,error:c,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0},unstable_onError:r}):m()},null)}(g&&g.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:il([c,a.encodeLocation?a.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:il([c,a.encodeLocation?a.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),i,n,r,o);return t&&y?xe.createElement(gl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...f},navigationType:"POP"}},y):y}function Tl(){let e=function(){let e=xe.useContext(bl),t=function(e){let t=xe.useContext(pl);return zi(t,Ol(e)),t}("useRouteError"),n=Nl("useRouteError");return void 0!==e?e:t.errors?.[n]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},i=null;return console.error("Error handled by React Router default ErrorBoundary:",e),i=xe.createElement(xe.Fragment,null,xe.createElement("p",null,"💿 Hey developer 👋"),xe.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",xe.createElement("code",{style:a},"ErrorBoundary")," or"," ",xe.createElement("code",{style:a},"errorElement")," prop on your route.")),xe.createElement(xe.Fragment,null,xe.createElement("h2",null,"Unexpected Application Error!"),xe.createElement("h3",{style:{fontStyle:"italic"}},t),n?xe.createElement("pre",{style:o},n):null,i)}var _l=xe.createElement(Tl,null),Rl=class extends xe.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,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return void 0!==this.state.error?xe.createElement(yl.Provider,{value:this.props.routeContext},xe.createElement(bl.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Pl({routeContext:e,match:t,children:n}){let r=xe.useContext(fl);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),xe.createElement(yl.Provider,{value:e},n)}function Ol(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nl(e){let t=function(e){let t=xe.useContext(yl);return zi(t,Ol(e)),t}(e),n=t.matches[t.matches.length-1];return zi(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var Ll={};function zl(e,t,n){!t&&!Ll[e]&&(Ll[e]=!0,Di(!1,n))}function Dl({basename:e,children:t,initialEntries:n,initialIndex:r}){let o=xe.useRef();null==o.current&&(o.current=function(e={}){let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:o=!1}=e;t=n.map((e,t)=>c(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let a=s(r??t.length-1),i="POP",l=null;function s(e){return Math.min(Math.max(e,0),t.length-1)}function u(){return t[a]}function c(e,n=null,r){let o=Mi(t?u().pathname:"/",e,n,r);return Di("/"===o.pathname.charAt(0),`relative pathnames are not supported in memory history: ${JSON.stringify(e)}`),o}function d(e){return"string"==typeof e?e:Fi(e)}return{get index(){return a},get action(){return i},get location(){return u()},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?qi(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){i="PUSH";let r=c(e,n);a+=1,t.splice(a,t.length,r),o&&l&&l({action:i,location:r,delta:1})},replace(e,n){i="REPLACE";let r=c(e,n);t[a]=r,o&&l&&l({action:i,location:r,delta:0})},go(e){i="POP";let n=s(a+e),r=t[n];a=n,l&&l({action:i,location:r,delta:e})},listen:e=>(l=e,()=>{l=null})}}({initialEntries:n,initialIndex:r,v5Compat:!0}));let a=o.current,[i,l]=xe.useState({action:a.action,location:a.location}),s=xe.useCallback(e=>{xe.startTransition(()=>l(e))},[l]);return xe.useLayoutEffect(()=>a.listen(s),[a,s]),xe.createElement(ql,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a})}function jl({to:e,replace:t,state:n,relative:r}){zi(vl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=xe.useContext(ml);Di(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=xe.useContext(yl),{pathname:i}=wl(),l=xl(),s=al(e,ol(a),i,"path"===r),u=JSON.stringify(s);return xe.useEffect(()=>{l(JSON.parse(u),{replace:t,state:n,relative:r})},[l,u,r,t,n]),null}function Ml(e){return function(e){let t=xe.useContext(yl).outlet;return xe.useMemo(()=>t&&xe.createElement(Cl.Provider,{value:e},t),[t,e])}(e.context)}function Fl(e){zi(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ql({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:a=!1}){zi(!vl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let i=e.replace(/^\/*/,"/"),l=xe.useMemo(()=>({basename:i,navigator:o,static:a,future:{}}),[i,o,a]);"string"==typeof n&&(n=qi(n));let{pathname:s="/",search:u="",hash:c="",state:d=null,key:f="default"}=n,p=xe.useMemo(()=>{let e=tl(s,i);return null==e?null:{location:{pathname:e,search:u,hash:c,state:d,key:f},navigationType:r}},[i,s,u,c,d,f,r]);return Di(null!=p,`<Router basename="${i}"> is not able to match the URL "${s}${u}${c}" because it does not start with the basename, so the <Router> won't render anything.`),null==p?null:xe.createElement(ml.Provider,{value:l},xe.createElement(gl.Provider,{children:t,value:p}))}function Ul({children:e,location:t}){return function(e,t){return Il(e,t)}(Hl(e),t)}function Hl(e,t=[]){let n=[];return xe.Children.forEach(e,(e,r)=>{if(!xe.isValidElement(e))return;let o=[...t,r];if(e.type===xe.Fragment)return void n.push.apply(n,Hl(e.props.children,o));zi(e.type===Fl,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),zi(!e.props.index||!e.props.children,"An index route cannot have child routes.");let a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Hl(e.props.children,o)),n.push(a)}),n}xe.memo(function({routes:e,future:t,state:n,unstable_onError:r}){return Il(e,void 0,n,r,t)});var Bl="get",Vl="application/x-www-form-urlencoded";function Wl(e){return null!=e&&"string"==typeof e.tagName}var Gl=null;var Ql=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Yl(e){return null==e||Ql.has(e)?e:(Di(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Vl}"`),null)}function $l(e,t){let n,r,o,a,i;if(function(e){return Wl(e)&&"form"===e.tagName.toLowerCase()}(e)){let i=e.getAttribute("action");r=i?tl(i,t):null,n=e.getAttribute("method")||Bl,o=Yl(e.getAttribute("enctype"))||Vl,a=new FormData(e)}else if(function(e){return Wl(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Wl(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(r=l?tl(l,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||Bl,o=Yl(e.getAttribute("formenctype"))||Yl(i.getAttribute("enctype"))||Vl,a=new FormData(i,e),!function(){if(null===Gl)try{new FormData(document.createElement("form"),0),Gl=!1}catch{Gl=!0}return Gl}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,r)}}else{if(Wl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Bl,r=null,o=Vl,i=e}return a&&"text/plain"===o&&(i=a,a=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:a,body:i}}function Zl(e,t){if(!1===e||null===e||typeof e>"u")throw new Error(t)}function Kl(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}async function Jl(e,t,n){let r=await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}));return function(e,t){let n=new Set;return new Set(t),e.reduce((e,t)=>{let r=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(t));return n.has(r)||(n.add(r),e.push({key:r,link:t})),e},[])}(r.flat(1).filter(Kl).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}function Xl(e,t,n,r,o,a){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,l=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>i(e,t)||l(e,t)):"data"===a?t.filter((t,a)=>{let s=r.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(i(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function es(e,t,{includeHydrateFallback:n}={}){return function(e){return[...new Set(e)]}(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o}).flat(1))}function ts(){let e=xe.useContext(fl);return Zl(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ns=xe.createContext(void 0);function rs(){let e=xe.useContext(ns);return Zl(e,"You must render this element inside a <HydratedRouter> element"),e}function os(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function as({page:e,...t}){let{router:n}=ts(),r=xe.useMemo(()=>Ui(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?xe.createElement(is,{page:e,matches:r,...t}):null}function is({page:e,matches:t,...n}){let r=wl(),{manifest:o,routeModules:a}=rs(),{basename:i}=ts(),{loaderData:l,matches:s}=function(){let e=xe.useContext(pl);return Zl(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}(),u=xe.useMemo(()=>Xl(e,t,s,o,r,"data"),[e,t,s,o,r]),c=xe.useMemo(()=>Xl(e,t,s,o,r,"assets"),[e,t,s,o,r]),d=xe.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,s=!1;if(t.forEach(e=>{let t=o.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in l&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?s=!0:n.add(e.route.id))}),0===n.size)return[];let c=function(e,t,n){let r="string"==typeof e?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return"/"===r.pathname?r.pathname=`_root.${n}`:t&&"/"===tl(r.pathname,t)?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}(e,i,"data");return s&&n.size>0&&c.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[i,l,r,o,u,t,e,a]),f=xe.useMemo(()=>es(c,o),[c,o]),p=function(e){let{manifest:t,routeModules:n}=rs(),[r,o]=xe.useState([]);return xe.useEffect(()=>{let r=!1;return Jl(e,t,n).then(e=>{r||o(e)}),()=>{r=!0}},[e,t,n]),r}(c);return xe.createElement(xe.Fragment,null,d.map(e=>xe.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),f.map(e=>xe.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),p.map(({key:e,link:t})=>xe.createElement("link",{key:e,nonce:n.nonce,...t})))}function ls(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}ns.displayName="FrameworkContext";var ss=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{ss&&(window.__reactRouterVersion="7.9.5")}catch{}function us({basename:e,children:t,window:n}){let r=xe.useRef();null==r.current&&(r.current=Li({window:n,v5Compat:!0}));let o=r.current,[a,i]=xe.useState({action:o.action,location:o.location}),l=xe.useCallback(e=>{xe.startTransition(()=>i(e))},[i]);return xe.useLayoutEffect(()=>o.listen(l),[o,l]),xe.createElement(ql,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:o})}var cs=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ds=xe.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:o,replace:a,state:i,target:l,to:s,preventScrollReset:u,viewTransition:c,...d},f){let p,{basename:h}=xe.useContext(ml),m="string"==typeof s&&cs.test(s),g=!1;if("string"==typeof s&&m&&(p=s,ss))try{let e=new URL(window.location.href),t=s.startsWith("//")?new URL(e.protocol+s):new URL(s),n=tl(t.pathname,h);t.origin===e.origin&&null!=n?s=n+t.search+t.hash:g=!0}catch{Di(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let y=function(e,{relative:t}={}){zi(vl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=xe.useContext(ml),{hash:o,pathname:a,search:i}=El(e,{relative:t}),l=a;return"/"!==n&&(l="/"===a?n:il([n,a])),r.createHref({pathname:l,search:i,hash:o})}(s,{relative:r}),[b,v,w]=function(e,t){let n=xe.useContext(ns),[r,o]=xe.useState(!1),[a,i]=xe.useState(!1),{onFocus:l,onBlur:s,onMouseEnter:u,onMouseLeave:c,onTouchStart:d}=t,f=xe.useRef(null);xe.useEffect(()=>{if("render"===e&&i(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{i(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),xe.useEffect(()=>{if(r){let e=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{o(!0)},h=()=>{o(!1),i(!1)};return n?"intent"!==e?[a,f,{}]:[a,f,{onFocus:os(l,p),onBlur:os(s,h),onMouseEnter:os(u,p),onMouseLeave:os(c,h),onTouchStart:os(d,p)}]:[!1,f,{}]}(n,d),k=function(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:a,viewTransition:i}={}){let l=xl(),s=wl(),u=El(e,{relative:a});return xe.useCallback(c=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(c,t)){c.preventDefault();let t=void 0!==n?n:Fi(s)===Fi(u);l(e,{replace:t,state:r,preventScrollReset:o,relative:a,viewTransition:i})}},[s,l,u,n,r,t,e,o,a,i])}(s,{replace:a,state:i,target:l,preventScrollReset:u,relative:r,viewTransition:c});let S=xe.createElement("a",{...d,...w,href:p||y,onClick:g||o?e:function(t){e&&e(t),t.defaultPrevented||k(t)},ref:ls(f,v),target:l,"data-discover":m||"render"!==t?void 0:"true"});return b&&!m?xe.createElement(xe.Fragment,null,S,xe.createElement(as,{page:y})):S});ds.displayName="Link";var fs=xe.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:o,to:a,viewTransition:i,children:l,...s},u){let c=El(a,{relative:s.relative}),d=wl(),f=xe.useContext(pl),{navigator:p,basename:h}=xe.useContext(ml),m=null!=f&&function(e,{relative:t}={}){let n=xe.useContext(hl);zi(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=hs("useViewTransitionState"),o=El(e,{relative:t});if(!n.isTransitioning)return!1;let a=tl(n.currentLocation.pathname,r)||n.currentLocation.pathname,i=tl(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=Xi(o.pathname,i)||null!=Xi(o.pathname,a)}(c)&&!0===i,g=p.encodeLocation?p.encodeLocation(c).pathname:c.pathname,y=d.pathname,b=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(y=y.toLowerCase(),b=b?b.toLowerCase():null,g=g.toLowerCase()),b&&h&&(b=tl(b,h)||b);const v="/"!==g&&g.endsWith("/")?g.length-1:g.length;let w,k=y===g||!r&&y.startsWith(g)&&"/"===y.charAt(v),S=null!=b&&(b===g||!r&&b.startsWith(g)&&"/"===b.charAt(g.length)),x={isActive:k,isPending:S,isTransitioning:m},C=k?e:void 0;w="function"==typeof n?n(x):[n,k?"active":null,S?"pending":null,m?"transitioning":null].filter(Boolean).join(" ");let A="function"==typeof o?o(x):o;return xe.createElement(ds,{...s,"aria-current":C,className:w,ref:u,style:A,to:a,viewTransition:i},"function"==typeof l?l(x):l)});fs.displayName="NavLink";var ps=xe.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:a,method:i=Bl,action:l,onSubmit:s,relative:u,preventScrollReset:c,viewTransition:d,...f},p)=>{let h=function(){let{router:e}=hs("useSubmit"),{basename:t}=xe.useContext(ml),n=Nl("useRouteId");return xe.useCallback(async(r,o={})=>{let{action:a,method:i,encType:l,formData:s,body:u}=$l(r,t);if(!1===o.navigate){let t=o.fetcherKey||gs();await e.fetch(t,n,o.action||a,{preventScrollReset:o.preventScrollReset,formData:s,body:u,formMethod:o.method||i,formEncType:o.encType||l,flushSync:o.flushSync})}else await e.navigate(o.action||a,{preventScrollReset:o.preventScrollReset,formData:s,body:u,formMethod:o.method||i,formEncType:o.encType||l,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}(),m=function(e,{relative:t}={}){let{basename:n}=xe.useContext(ml),r=xe.useContext(yl);zi(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),a={...El(e||".",{relative:t})},i=wl();if(null==e){a.search=i.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();a.search=n?`?${n}`:""}}return(!e||"."===e)&&o.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(a.pathname="/"===a.pathname?n:il([n,a.pathname])),Fi(a)}(l,{relative:u}),g="get"===i.toLowerCase()?"get":"post",y="string"==typeof l&&cs.test(l);return xe.createElement("form",{ref:p,method:g,action:m,onSubmit:r?s:e=>{if(s&&s(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,l=r?.getAttribute("formmethod")||i;h(r||e.currentTarget,{fetcherKey:t,method:l,navigate:n,replace:o,state:a,relative:u,preventScrollReset:c,viewTransition:d})},...f,"data-discover":y||"render"!==e?void 0:"true"})});function hs(e){let t=xe.useContext(fl);return zi(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}ps.displayName="Form";var ms=0,gs=()=>`__${String(++ms)}__`;const ys=()=>{const e=wl(),{props:{organizationId:t},sessionId:n}=Oi(),r=xe.useRef([]),o=xe.useRef(null),a=xe.useRef(null),i=xe.useRef(!1),l=xe.useRef(!0),s=async e=>{if(n&&e.length)try{await ho.post(vo.UPDATE_SESSION,{headers:{"x-org-id":t},json:{sessionId:n,pageViews:e}})}catch(e){console.error("Failed to send page views:",e)}},u=xe.useCallback(()=>{if(i.current)return null;i.current=!0;const e=Date.now();if(o.current&&a.current){if(e-a.current<100)return i.current=!1,null;const t={page:o.current,entryTime:a.current,exitTime:e},n=[...r.current,t];return n.length>=5?(s(n),r.current=[]):r.current=n,i.current=!1,t}return i.current=!1,null},[]),c=xe.useCallback(e=>{o.current!==e&&(u(),o.current=e,a.current=Date.now())},[u]);return xe.useEffect(()=>{if(l.current)return l.current=!1,o.current=e.pathname,void(a.current=Date.now());const t=document.getElementById("qrati-connect-container");t&&t.scrollIntoView({behavior:"smooth",block:"start"}),c(e.pathname)},[e,c]),xe.useEffect(()=>{const e=()=>{const e=u();if(e){const o=[...r.current,e];if(o.length>0)try{try{fetch(vo.UPDATE_SESSION,{method:"POST",headers:{"Content-Type":"application/json","x-org-id":t},body:JSON.stringify({sessionId:n,pageViews:o}),keepalive:!0})}catch(e){console.error("Failed to send final page views with fetch keepalive:",e),s(o)}}catch(e){console.error("Failed to send final page views:",e),s(o)}}};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e);const t=u(),n=t?[...r.current,t]:r.current;n.length>0&&s(n)}},[u,n]),null};const bs=Object.freeze({left:0,top:0,width:16,height:16}),vs=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ws=Object.freeze({...bs,...vs}),ks=Object.freeze({...ws,body:"",hidden:!1});function Ss(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}(e,t);for(const r in ks)r in vs?r in e&&!(r in n)&&(n[r]=vs[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function xs(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let a={};function i(e){a=Ss(r[e]||o[e],a)}return i(t),n.forEach(i),Ss(e,a)}function Cs(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});const r=function(e){const t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);return Object.keys(t).concat(Object.keys(n)).forEach(function e(o){if(t[o])return r[o]=[];if(!(o in r)){r[o]=null;const t=n[o]&&n[o].parent,a=t&&e(t);a&&(r[o]=[t].concat(a))}return r[o]}),r}(e);for(const o in r){const a=r[o];a&&(t(o,xs(e,o,a)),n.push(o))}return n}const As={provider:"",aliases:{},not_found:{},...bs};function Es(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Is(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!Es(e,As))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e||"string"!=typeof t.body||!Es(t,ks))return null}const r=t.aliases||Object.create(null);for(const e in r){const t=r[e],o=t.parent;if(!e||"string"!=typeof o||!n[o]&&!r[o]||!Es(t,ks))return null}return t}const Ts=Object.create(null);function _s(e,t){const n=Ts[e]||(Ts[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Rs(e,t){return Is(t)?Cs(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}const Ps=/^[a-z0-9]+(-[a-z0-9]+)*$/,Os=(e,t,n,r="")=>{const o=e.split(":");if("@"===e.slice(0,1)){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const e=o.pop(),n=o.pop(),a={provider:o.length>0?o[0]:r,prefix:n,name:e};return t&&!Ns(a)?null:a}const a=o[0],i=a.split("-");if(i.length>1){const e={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Ns(e)?null:e}if(n&&""===r){const e={provider:r,prefix:"",name:a};return t&&!Ns(e,n)?null:e}return null},Ns=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name);let Ls=!1;function zs(e){return"boolean"==typeof e&&(Ls=e),Ls}function Ds(e){const t="string"==typeof e?Os(e,!0,Ls):e;if(t){const e=_s(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function js(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),Ls&&!t&&!e.prefix){let t=!1;return Is(e)&&(e.prefix="",Cs(e,(e,n)=>{(function(e,t){const n=Os(e,!0,Ls);if(!n)return!1;const r=_s(n.provider,n.prefix);return t?function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch{}return!1}(r,n.name,t):(r.missing.add(n.name),!0)})(e,n)&&(t=!0)})),t}const n=e.prefix;if(!Ns({prefix:n,name:"a"}))return!1;return!!Rs(_s(t,n),e)}const Ms=Object.freeze({width:null,height:null}),Fs=Object.freeze({...Ms,...vs}),qs=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Us=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Hs(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const r=e.split(qs);if(null===r||!r.length)return e;const o=[];let a=r.shift(),i=Us.test(a);for(;;){if(i){const e=parseFloat(a);isNaN(e)?o.push(a):o.push(Math.ceil(e*t*n)/n)}else o.push(a);if(a=r.shift(),void 0===a)return o.join("");i=!i}}const Bs=/\sid="(\S+)"/g,Vs="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let Ws=0;function Gs(e,t=Vs){const n=[];let r;for(;r=Bs.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(n=>{const r="function"==typeof t?t(n):t+(Ws++).toString(),a=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+r+o+"$3")}),e=e.replace(new RegExp(o,"g"),"")}const Qs=Object.create(null);function Ys(e){return Qs[e]||Qs[""]}function $s(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Zs=Object.create(null),Ks=["https://api.simplesvg.com","https://api.unisvg.com"],Js=[];for(;Ks.length>0;)1===Ks.length||Math.random()>.5?Js.push(Ks.shift()):Js.push(Ks.pop());function Xs(e,t){const n=$s(t);return null!==n&&(Zs[e]=n,!0)}function eu(e){return Zs[e]}Zs[""]=$s({resources:["https://api.iconify.design"].concat(Js)});let tu=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const nu={prepare:(e,t,n)=>{const r=[],o=function(e,t){const n=eu(e);if(!n)return 0;let r;if(n.maxURL){let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});const o=t+".json?icons=";r=n.maxURL-e-n.path.length-o.length}else r=0;return r}(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return n.forEach((n,s)=>{l+=n.length+1,l>=o&&s>0&&(r.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=n.length),i.icons.push(n)}),r.push(i),r},send:(e,t,n)=>{if(!tu)return void n("abort",424);let r=function(e){if("string"==typeof e){const t=eu(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");r+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let o=503;tu(e+r).then(e=>{const t=e.status;if(200===t)return o=501,e.json();setTimeout(()=>{n(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{n("success",e)}):setTimeout(()=>{404===e?n("abort",e):n("next",o)})}).catch(()=>{n("next",o)})}};function ru(e,t){e.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let ou=0;const au={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function iu(e,t,n,r){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let t=e.resources.slice(0);for(i=[];t.length>1;){const e=Math.floor(Math.random()*t.length);i.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}i=i.concat(t)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let s,u="pending",c=0,d=null,f=[],p=[];function h(){d&&(clearTimeout(d),d=null)}function m(){"pending"===u&&(u="aborted"),h(),f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function g(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function y(){u="failed",p.forEach(e=>{e(void 0,s)})}function b(){f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function v(){if("pending"!==u)return;h();const r=i.shift();if(void 0===r)return f.length?void(d=setTimeout(()=>{h(),"pending"===u&&(b(),y())},e.timeout)):void y();const o={status:"pending",resource:r,callback:(t,n)=>{!function(t,n,r){const o="success"!==n;switch(f=f.filter(e=>e!==t),u){case"pending":break;case"failed":if(o||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return s=r,void y();if(o)return s=r,void(f.length||(i.length?v():y()));if(h(),b(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}u="completed",p.forEach(e=>{e(r)})}(o,t,n)}};f.push(o),c++,d=setTimeout(v,e.rotate),n(r,t,o.callback)}return"function"==typeof r&&p.push(r),setTimeout(v),function(){return{startTime:l,payload:t,status:u,queriesSent:c,queriesPending:f.length,subscribe:g,abort:m}}}function lu(e){const t={...au,...e};let n=[];function r(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,o,a){const i=iu(t,e,o,(e,t)=>{r(),a&&a(e,t)});return n.push(i),i},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function su(){}const uu=Object.create(null);function cu(e,t,n){let r,o;if("string"==typeof e){const t=Ys(e);if(!t)return n(void 0,424),su;o=t.send;const a=function(e){if(!uu[e]){const t=eu(e);if(!t)return;const n={config:t,redundancy:lu(t)};uu[e]=n}return uu[e]}(e);a&&(r=a.redundancy)}else{const t=$s(e);if(t){r=lu(t);const n=Ys(e.resources?e.resources[0]:"");n&&(o=n.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),su)}function du(){}function fu(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(t=>{const a=t.icons,i=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==o)return!0;const i=t.name;if(e.icons[i])a.loaded.push({provider:r,prefix:o,name:i});else{if(!e.missing.has(i))return n=!0,!0;a.missing.push({provider:r,prefix:o,name:i})}return!1}),a.pending.length!==i&&(n||ru([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}(e)}))}function pu(e,t,n){function r(){const n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!Rs(e,n).length)return void r()}catch(e){console.error(e)}r(),fu(e)}function hu(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function mu(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const o=e.loadIcon;if(e.loadIcons&&(r.length>1||!o))return void hu(e.loadIcons(r,n,t),t=>{pu(e,r,t)});if(o)return void r.forEach(r=>{hu(o(r,n,t),t=>{pu(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});const{valid:a,invalid:i}=function(e){const t=[],n=[];return e.forEach(e=>{(e.match(Ps)?t:n).push(e)}),{valid:t,invalid:n}}(r);if(i.length&&pu(e,i,null),!a.length)return;const l=n.match(Ps)?Ys(t):null;l?l.prepare(t,n,a).forEach(n=>{cu(t,n,t=>{pu(e,n.icons,t)})}):pu(e,a,null)}))}const gu=(e,t)=>{const n=function(e,t=!0,n=!1){const r=[];return e.forEach(e=>{const o="string"==typeof e?Os(e,t,n):e;o&&r.push(o)}),r}(e,!0,zs()),r=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let r={provider:"",prefix:"",name:""};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const o=e.provider,a=e.prefix,i=e.name,l=n[o]||(n[o]=Object.create(null)),s=l[a]||(l[a]=_s(o,a));let u;u=i in s.icons?t.loaded:""===a||s.missing.has(i)?t.missing:t.pending;const c={provider:o,prefix:a,name:i};u.push(c)}),t}(n);if(!r.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(r.loaded,r.missing,r.pending,du)}),()=>{e=!1}}const o=Object.create(null),a=[];let i,l;return r.pending.forEach(e=>{const{provider:t,prefix:n}=e;if(n===l&&t===i)return;i=t,l=n,a.push(_s(t,n));const r=o[t]||(o[t]=Object.create(null));r[n]||(r[n]=[])}),r.pending.forEach(e=>{const{provider:t,prefix:n,name:r}=e,a=_s(t,n),i=a.pendingIcons||(a.pendingIcons=new Set);i.has(r)||(i.add(r),o[t][n].push(r))}),a.forEach(e=>{const t=o[e.provider][e.prefix];t.length&&mu(e,t)}),t?function(e,t,n){const r=ou++,o=ru.bind(null,n,r);if(!t.pending.length)return o;const a={id:r,icons:t,callback:e,abort:o};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(a)}),o}(t,r,a):du};const yu=/[\s,]+/;function bu(e,t){t.split(yu).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function vu(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o/=t,o%1==0?r(o):0)}}return t}function wu(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let ku;function Su(e){return void 0===ku&&function(){try{ku=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{ku=null}}(),ku?ku.createHTML(e):e}const xu={...Fs,inline:!1},Cu={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Au={display:"inline-block"},Eu={backgroundColor:"currentColor"},Iu={backgroundColor:"transparent"},Tu={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},_u={WebkitMask:Eu,mask:Eu,background:Iu};for(const e in _u){const t=_u[e];for(const n in Tu)t[e+n]=Tu[n]}const Ru={...xu,inline:!0};function Pu(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ou=(e,t,n)=>{const r=t.inline?Ru:xu,o=function(e,t){const n={...e};for(const e in t){const r=t[e],o=typeof r;e in Ms?(null===r||r&&("string"===o||"number"===o))&&(n[e]=r):o===typeof n[e]&&(n[e]="rotate"===e?r%4:r)}return n}(r,t),a=t.mode||"svg",i={},l=t.style||{},s={..."svg"===a?Cu:{}};if(n){const e=Os(n,!1,!0);if(e){const t=["iconify"],n=["provider","prefix"];for(const r of n)e[r]&&t.push("iconify--"+e[r]);s.className=t.join(" ")}}for(let e in t){const n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"ssr":case"fallback":break;case"_ref":s.ref=n;break;case"className":s[e]=(s[e]?s[e]+" ":"")+n;break;case"inline":case"hFlip":case"vFlip":o[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&bu(o,n);break;case"color":i.color=n;break;case"rotate":"string"==typeof n?o[e]=vu(n):"number"==typeof n&&(o[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete s["aria-hidden"];break;default:void 0===r[e]&&(s[e]=n)}}const u=function(e,t){const n={...ws,...e},r={...Fs,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(e=>{const t=[],n=e.hFlip,r=e.vFlip;let i,l=e.rotate;switch(n?r?l+=2:(t.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),t.push("scale(-1 1)"),o.top=o.left=0):r&&(t.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),t.push("scale(1 -1)"),o.top=o.left=0),l<0&&(l-=4*Math.floor(l/4)),l%=4,l){case 1:i=o.height/2+o.top,t.unshift("rotate(90 "+i.toString()+" "+i.toString()+")");break;case 2:t.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:i=o.width/2+o.left,t.unshift("rotate(-90 "+i.toString()+" "+i.toString()+")")}l%2==1&&(o.left!==o.top&&(i=o.left,o.left=o.top,o.top=i),o.width!==o.height&&(i=o.width,o.width=o.height,o.height=i)),t.length&&(a=function(e,t,n){const r=function(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),a=e.indexOf("</"+t);if(-1===o||-1===a)break;const i=e.indexOf(">",a);if(-1===i)break;n+=e.slice(o+1,a).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}(e);return function(e,t){return e?"<defs>"+e+"</defs>"+t:t}(r.defs,t+r.content+n)}(a,'<g transform="'+t.join(" ")+'">',"</g>"))});const i=r.width,l=r.height,s=o.width,u=o.height;let c,d;null===i?(d=null===l?"1em":"auto"===l?u:l,c=Hs(d,s/u)):(c="auto"===i?s:i,d=null===l?Hs(c,u/s):"auto"===l?u:l);const f={},p=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(f[e]=t.toString())};p("width",c),p("height",d);const h=[o.left,o.top,s,u];return f.viewBox=h.join(" "),{attributes:f,viewBox:h,body:a}}(e,o),c=u.attributes;if(o.inline&&(i.verticalAlign="-0.125em"),"svg"===a){s.style={...i,...l},Object.assign(s,c);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),s.dangerouslySetInnerHTML={__html:Su(Gs(u.body,n?()=>n+"ID"+e++:"iconifyReact"))},xe.createElement("svg",s)}const{body:d,width:f,height:p}=e,h="mask"===a||"bg"!==a&&-1!==d.indexOf("currentColor"),m=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(d,{...c,width:f+"",height:p+""});return s.style={...i,"--svg":wu(m),width:Pu(c.width),height:Pu(c.height),...Au,...h?Eu:Iu,...l},xe.createElement("span",s)};var Nu;if(zs(!0),Nu=nu,Qs[""]=Nu,typeof document<"u"&&typeof window<"u"){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!js(e))&&console.error(n)}catch{console.error(n)}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;Xs(e,r)||console.error(n)}catch{console.error(n)}}}}function Lu(e){const[t,n]=xe.useState(!!e.ssr),[r,o]=xe.useState({});const[a,i]=xe.useState(function(t){if(t){const t=e.icon;if("object"==typeof t)return{name:"",data:t};const n=Ds(t);if(n)return{name:t,data:n}}return{name:""}}(!!e.ssr));function l(){const e=r.callback;e&&(e(),o({}))}function s(e){if(JSON.stringify(a)!==JSON.stringify(e))return l(),i(e),!0}function u(){var t;const n=e.icon;if("object"==typeof n)return void s({name:"",data:n});const r=Ds(n);if(s({name:n,data:r}))if(void 0===r){const e=gu([n],u);o({callback:e})}else r&&(null===(t=e.onLoad)||void 0===t||t.call(e,n))}xe.useEffect(()=>(n(!0),l),[]),xe.useEffect(()=>{t&&u()},[e.icon,t]);const{name:c,data:d}=a;return d?Ou({...ws,...d},e,c):e.children?e.children:e.fallback?e.fallback:xe.createElement("span",{})}const zu=xe.forwardRef((e,t)=>Lu({...e,_ref:t}));xe.forwardRef((e,t)=>Lu({inline:!0,...e,_ref:t}));const Du=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,ju=Vo,Mu=(e,t)=>n=>{var r;if(null==t?.variants)return ju(e,n?.class,n?.className);const{variants:o,defaultVariants:a}=t,i=Object.keys(o).map(e=>{const t=n?.[e],r=a?.[e];if(null===t)return null;const i=Du(t)||Du(r);return o[e][i]}),l=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),s=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...l}[t]):{...a,...l}[t]===n})?[...e,n,r]:e},[]);return ju(e,i,s,n?.class,n?.className)},Fu=Mu("",{variants:{variant:{default:"qc:border-none",outline:"qc:rounded",solid:"qc:bg-background"},size:{sm:"qc:size-4",md:"qc:size-5",lg:"qc:size-6",xl:"qc:size-7","2xl":"qc:size-8","3xl":"qc:size-9"},color:{foreground:"qc:text-foreground",primary:"qc:text-primary",secondary:"qc:text-muted-foreground",info:"qc:text-info",warning:"qc:text-warning",success:"qc:text-success",error:"qc:text-destructive",a11y:"qc:text-primary-foreground",inherit:""}},compoundVariants:[{variant:"outline",color:"primary",class:"qc:border-primary"},{variant:"outline",color:"secondary",class:"qc:border-border"},{variant:"outline",color:"info",class:"qc:border-info"},{variant:"outline",color:"warning",class:"qc:border-warning"},{variant:"outline",color:"success",class:"qc:border-success"},{variant:"outline",color:"error",class:"qc:border-destructive"},{variant:"solid",color:"primary",class:"qc:bg-background qc:text-foreground"},{variant:"solid",color:"secondary",class:"qc:bg-background qc:text-muted"},{variant:"solid",color:"info",class:"qc:bg-info qc:text-foreground qc:text-text-primary-dark"},{variant:"solid",color:"warning",class:"qc:bg-warning qc:text-foreground qc:text-text-primary-dark"},{variant:"solid",color:"success",class:"qc:bg-success qc:text-foreground qc:text-text-primary-dark"},{variant:"solid",color:"error",class:"qc:bg-destructive qc:text-foreground qc:text-text-primary-dark"}],defaultVariants:{variant:"default",size:"md",color:"foreground"}}),qu=({className:e,color:t="foreground",size:n="md",variant:r="default",name:o="line-md:iconify1",...a})=>w.jsx(zu,{icon:o,className:Ja(Fu({color:t,size:n,variant:r,className:e})),...a});function Uu(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Hu(...e){return t=>{let n=!1;const r=e.map(e=>{const r=Uu(e,t);return!n&&"function"==typeof r&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():Uu(e[t],null)}}}}function Bu(...e){return xe.useCallback(Hu(...e),e)}function Vu(e){const t=Gu(e),n=xe.forwardRef((e,n)=>{const{children:r,...o}=e,a=xe.Children.toArray(r),i=a.find(Yu);if(i){const e=i.props.children,r=a.map(t=>t===i?xe.Children.count(e)>1?xe.Children.only(null):xe.isValidElement(e)?e.props.children:null:t);return w.jsx(t,{...o,ref:n,children:xe.isValidElement(e)?xe.cloneElement(e,void 0,r):null})}return w.jsx(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var Wu=Vu("Slot");function Gu(e){const t=xe.forwardRef((e,t)=>{const{children:n,...r}=e;if(xe.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n),o=function(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==xe.Fragment&&(o.ref=t?Hu(t,e):e),xe.cloneElement(n,o)}return xe.Children.count(n)>1?xe.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Qu=Symbol("radix.slottable");function Yu(e){return xe.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Qu}const $u=Mu("qc:shadow-outer qc:inline-flex qc:size-fit qc:items-center qc:justify-center qc:rounded qc:font-medium qc:duration-500 qc:disabled:pointer-events-none qc:disabled:opacity-50",{variants:{variant:{default:"qc:hover:bg-opacity-80",outlined:"qc:bg-opacity-0 qc:hover:bg-opacity-10",ghost:"qc:border-transparent qc:bg-opacity-0 qc:shadow-none qc:hover:bg-opacity-20"},size:{sm:"qc:gap-1 qc:p-2 qc:text-xs",md:"qc:gap-2 qc:px-9 qc:py-1.5 qc:text-sm qc:sm:text-base",lg:"qc:gap-2 qc:px-4 qc:py-3 qc:text-base"}},compoundVariants:[{variant:"default",color:"primary",class:"qc:bg-primary qc:text-primary-foreground qc:border-primary qc:border"},{variant:"default",color:"secondary",class:"qc:bg-background qc:text-muted-foreground qc:border-muted-foreground qc:border"},{variant:"default",color:"info",class:"qc:bg-info qc:border-info qc:border qc:text-white"},{variant:"default",color:"warning",class:"qc:bg-warning qc:border-warning qc:border qc:text-white"},{variant:"default",color:"success",class:"qc:bg-success qc:border-success qc:border qc:text-white"},{variant:"default",color:"error",class:"qc:bg-destructive qc:border-destructive qc:border qc:text-white"},{variant:"outlined",color:"primary",class:"qc:border-primary qc:text-primary qc:bg-background qc:border"},{variant:"outlined",color:"secondary",class:"qc:border-border qc:text-muted qc:bg-background qc:border"},{variant:"outlined",color:"info",class:"qc:border-info qc:text-info qc:bg-info qc:border"},{variant:"outlined",color:"warning",class:"qc:border-warning qc:text-warning qc:bg-warning qc:border"},{variant:"outlined",color:"success",class:"qc:border-success qc:text-success qc:bg-success qc:border"},{variant:"outlined",color:"error",class:"qc:border-destructive qc:text-destructive qc:bg-destructive qc:border"},{variant:"ghost",color:"primary",class:"qc:text-primary"},{variant:"ghost",color:"secondary",class:"qc:text-muted-foreground"},{variant:"ghost",color:"info",class:"qc:text-info"},{variant:"ghost",color:"warning",class:"qc:text-warning"},{variant:"ghost",color:"success",class:"qc:text-success"},{variant:"ghost",color:"error",class:"qc:text-destructive"}],defaultVariants:{variant:"default",size:"md",color:"primary"}}),Zu=Mu("",{variants:{variant:{default:"",outlined:"",ghost:""},size:{sm:"qc:size-4",md:"qc:size-5",lg:"qc:size-6"},color:{primary:"qc:text-primary-foreground",secondary:"qc:text-muted",info:"qc:text-text-primary-dark",warning:"qc:text-text-primary-dark",success:"qc:text-text-primary-dark",error:"qc:text-text-primary-dark",light:"qc:text-text-primary-dark"}},compoundVariants:[{variant:"outlined",color:"primary",class:"qc:text-primary-foreground"},{variant:"outlined",color:"secondary",class:"qc:text-muted-foreground"},{variant:"outlined",color:"info",class:"qc:text-info"},{variant:"outlined",color:"warning",class:"qc:text-warning"},{variant:"outlined",color:"success",class:"qc:text-success"},{variant:"outlined",color:"error",class:"qc:text-destructive"}],defaultVariants:{size:"md",variant:"default",color:"primary"}}),Ku=xe.forwardRef(({className:e,type:t="button",disabled:n,loading:r,fullWidth:o,color:a,size:i,variant:l,iconSvg:s,icon:u,asChild:c=!1,immutable:d,...f},p)=>{const h=c?Wu:"button",{props:{textClassName:m}}=Oi();return w.jsxs(h,{ref:p,type:t,disabled:n||r,className:Ja($u({color:a,size:i,variant:l,className:e}),o&&"qc:w-full"),...f,children:[w.jsxs("div",{className:Ja(r?"qc:collapse":"qc:visible qc:flex qc:items-center qc:gap-2",!d&&m),children:[s&&!r&&s,u&&!r&&!s&&w.jsx(qu,{className:Ja(Zu({color:a,size:i,variant:l})),name:u}),f.children]}),r&&w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:"qc:absolute",children:[w.jsx("title",{children:"Loading"}),w.jsxs("circle",{cx:"18",cy:"12",r:"0",fill:"currentColor",children:[" ",w.jsx("animate",{attributeName:"r",begin:".67",calcMode:"spline",dur:"1.5s",keySplines:"0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8",repeatCount:"indefinite",values:"0;2;0;0"})," "]})," ",w.jsx("circle",{cx:"12",cy:"12",r:"0",fill:"currentColor",children:w.jsx("animate",{attributeName:"r",begin:".33",calcMode:"spline",dur:"1.5s",keySplines:"0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8",repeatCount:"indefinite",values:"0;2;0;0"})}),w.jsx("circle",{cx:"6",cy:"12",r:"0",fill:"currentColor",children:w.jsx("animate",{attributeName:"r",begin:"0",calcMode:"spline",dur:"1.5s",keySplines:"0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8",repeatCount:"indefinite",values:"0;2;0;0"})})]})]})}),Ju={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",p:"p",blockquote:"blockquote",body1:"p",body2:"p",body3:"p",caption:"p"},Xu=Mu("qc:select-none",{variants:{variant:{h1:"qc:scroll-m-20 qc:text-4xl qc:font-medium qc:tracking-tight qc:lg:text-5xl",h2:"qc:scroll-m-20 qc:text-2xl qc:font-medium qc:tracking-tight qc:first:mt-0 qc:sm:text-3xl qc:sm:font-semibold",h3:"qc:scroll-m-20 qc:text-xl qc:font-medium qc:sm:text-2xl",h4:"qc:scroll-m-20 qc:text-xl qc:font-medium",h5:"qc:scroll-m-20 qc:text-base qc:font-medium",h6:"qc:scroll-m-20 qc:text-sm qc:font-medium",body1:"qc:text-lg",body2:"qc:text-base qc:sm:text-lg",body3:"qc:text-sm qc:sm:text-base",p:"qc:leading-7 qc:[&:not(:first-child)]:mt-6",blockquote:"qc:border-l-2 qc:pl-4 qc:text-sm qc:italic",caption:"qc:text-xs"},color:{foreground:"qc:text-foreground",muted:"qc:text-muted-foreground",primary:"qc:text-primary",info:"qc:text-info",warning:"qc:text-warning",success:"qc:text-success",error:"qc:text-destructive",a11y:"qc:text-primary-foreground",light:"qc:text-text-primary-light",white:"qc:text-white",black:"qc:text-black"},align:{left:"qc:text-left",right:"qc:text-right",center:"qc:text-center"}},defaultVariants:{variant:"p",color:"foreground",align:"left"}}),ec=xe.forwardRef(({variant:e="p",color:t,align:n,transform:r,lines:o,shadow:a,className:i,immutable:l,...s},u)=>{const{props:{textClassName:c}}=Oi(),d=Ju[e];return w.jsx(d,{ref:u,className:Ja(Xu({variant:e,color:t,align:n,className:i}),r,o&&`qc:line-clamp-${o}`,a&&"qc:drop-shadow-[0_1.2px_1.2px_rgba(0,0,0,0.8)]",!l&&c),...s,children:s.children})}),tc=({title:e,description:t,iconSvg:n,className:r})=>{const{props:{emptyStateImage:o,textClassName:a},organization:i}=Oi();return w.jsxs("div",{className:Ja("qc:mx-auto qc:flex qc:w-full qc:max-w-md qc:flex-col qc:items-center qc:justify-center qc:gap-8",a,r),children:[i?.integrationSettings?.showLogo?w.jsx("img",{className:"qc:h-44 qc:w-auto",src:i?.logoUrl||"/images/qrati-logo.svg"}):o?w.jsx("img",{className:"qc:h-44 qc:w-auto",src:o,alt:e}):n?w.jsx("div",{className:"qc:text-primary qc:h-44 qc:w-auto",children:n}):null,w.jsxs("div",{className:"qc:space-y-4",children:[w.jsx(ec,{variant:"h4",align:"center",children:e}),"string"==typeof t&&w.jsx(ec,{variant:"h6",align:"center",className:"qc:font-normal",children:t}),"string"!=typeof t&&t]})]})},nc=({className:e,rounded:t=!1,...n})=>w.jsx("div",{className:Ja("qc:animate-pulse qc:bg-[#EAEAEA]",t?"qc:rounded-full":"qc:rounded",e),...n}),rc=()=>{const e=wl(),t=xl(),{initializing:n,organization:r,loadingUser:o,user:a,signout:i}=Oi();return n||o?w.jsx("div",{className:"qc:my-2 qc:flex qc:justify-end",children:w.jsx(nc,{className:"qc:h-9 qc:w-64"})}):w.jsxs("div",{className:"qc:mx-auto qc:mb-4",children:[!a&&w.jsx("div",{className:"qc:flex qc:justify-end qc:gap-4",children:w.jsx(fs,{to:mo.LOGIN,state:{referrer:e.pathname},children:w.jsx(Ku,{children:"Login"})})}),a&&w.jsxs("div",{className:"qc:mt-2 qc:flex qc:items-center qc:justify-end qc:gap-4",children:[w.jsx(ec,{variant:"h5",children:a.name}),!r.customAuth&&w.jsx("button",{onClick:async()=>{await i(),t(mo.PUBLIC_EVENTS)},children:w.jsx(qu,{name:"material-symbols:exit-to-app-rounded",color:"error"})})]})]})},oc=({eventSlug:e})=>{const{props:{organizationId:t}}=Oi(),{isLoading:n,data:r,isError:o,error:a}=Le({queryKey:[`event-data-${t}-${e}`],queryFn:async()=>{try{const n=await ho.get(vo.EVENT_DATA,{searchParams:e?{eventSlug:e}:void 0,headers:{"x-org-id":t}}).json();if(n.error)throw new Error(n.error);return n.data}catch(e){throw new Error(e?.message||e||"Failed to fetch public events")}},enabled:!!t&&!!e});return{loading:n,event:r?.event,ads:r?.ads,parameters:r?.parameters,isError:o,error:a}},ac=()=>{const e=xl();return w.jsx("button",{type:"button",onClick:()=>{window.history.length>1?e(-1):e(mo.PUBLIC_EVENTS,{state:{internalNavigation:!0}})},className:"qc:text-primary qc:absolute qc:left-0 qc:top-0",children:w.jsx(qu,{name:"material-symbols:arrow-back-rounded",size:"lg"})})},ic=()=>{const{organization:e}=Oi();return e&&!e.integrationSettings?.hideQratiBranding?w.jsxs("a",{href:"https://qrati.com/powered-by-qrati",target:"_blank",className:"qc:flex qc:items-center qc:justify-center qc:gap-2 qc:pb-4",rel:"noopener noreferrer",children:[w.jsxs(ec,{variant:"body2",align:"center",children:["Powered by"," "]}),w.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXgAAACNCAYAAAC9tWG4AAAAyXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBBDsQgCLzzin2CMKj4HLttk/3BPn+x0qRtdhKHEXREaPt+dnoNCCtprlZaKcmhTZt0F5Ym+sGc9OAD1ULxPU+2xiXxFDxibq3MyGc+LpyRu6t8NXpHYbkXmoa/PYziIYyOxEU0Qi2MILPAYdDnt1JpVq9fWLZ0h81Fg/a3tJHLy6w991p9emv2dyCygZGcAZ0NYCwQugt1FpgfZFTXDHPOOGfiA/k3pxP0A93kWphy31yAAAABhGlDQ1BJQ0MgcHJvZmlsZQAAeJx9kT1Iw0AcxV/TiqIVBzuIdMhQnSyIijiWKhbBQmkrtOpgcukXNGlIUlwcBdeCgx+LVQcXZ10dXAVB8APE1cVJ0UVK/F9SaBHjwXE/3t173L0DhGaVqWYgBqiaZaQTcTGXXxV7XxFAGAOYRERipp7MLGbhOb7u4ePrXZRneZ/7cwwqBZMBPpE4xnTDIt4gnt20dM77xCFWlhTic+IJgy5I/Mh12eU3ziWHBZ4ZMrLpeeIQsVjqYrmLWdlQiWeII4qqUb6Qc1nhvMVZrdZZ+578hcGCtpLhOs0wElhCEimIkFFHBVVYiNKqkWIiTftxD/+o40+RSyZXBYwcC6hBheT4wf/gd7dmcXrKTQrGgZ4X2/4YA3p3gVbDtr+Pbbt1AvifgSut4681gblP0hsdLXIEDG0DF9cdTd4DLneAkSddMiRH8tMUikXg/Yy+KQ8M3wL9a25v7X2cPgBZ6mr5Bjg4BMZLlL3u8e6+7t7+PdPu7wf4jHLcGJ9xcQAAFnNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDQuNC4wLUV4aXYyIj4KIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIgogICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczpHSU1QPSJodHRwOi8vd3d3LmdpbXAub3JnL3htcC8iCiAgICB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjQwMDM1Yjc1LWEzMmQtMTFlNy1hZGFhLWRlOGNjNGE5NTBiNyIKICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpjNTdlYTE0Ny03ODNiLTQwOTQtYTYxNy03MGYwOTI0OWExZGYiCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo5NTEzOGYyZS1jZTU0LTA0NDYtOGVkZC01Y2JlZTQ4NGNmOTUiCiAgIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIgogICBleGlmOlBpeGVsWERpbWVuc2lvbj0iNzg2IgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iMTc5IgogICBHSU1QOkFQST0iMi4wIgogICBHSU1QOlBsYXRmb3JtPSJXaW5kb3dzIgogICBHSU1QOlRpbWVTdGFtcD0iMTY4MjY4MjUzMDQzNTU2MSIKICAgR0lNUDpWZXJzaW9uPSIyLjEwLjM0IgogICBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIgogICBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiCiAgIHRpZmY6T3JpZW50YXRpb249IjEiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiCiAgIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiCiAgIHhtcDpDcmVhdGVEYXRlPSIyMDE3LTA2LTExVDIwOjM2OjM3LTA2OjAwIgogICB4bXA6Q3JlYXRvclRvb2w9IkdJTVAgMi4xMCIKICAgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMzowNDoyOFQxNzoxODo1MCswNTozMCIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjM6MDQ6MjhUMTc6MTg6NTArMDU6MzAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjk1MTM4ZjJlLWNlNTQtMDQ0Ni04ZWRkLTVjYmVlNDg0Y2Y5NSIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDE3LTA2LTExVDIwOjM2OjM3LTA2OjAwIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjdlMDQyYjllLTQwZTEtNzA0OS05Njk3LWYyMjIwZjY0NTYwMiIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDE3LTA2LTExVDIwOjUxOjU2LTA2OjAwIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjE3YzBjMDM1LTkyOWMtYzk0MC04ZjFhLTM3YzI2MTJkMWVlYiIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDE3LTA5LTI2VDIwOjQxOjM2LTA2OjAwIi8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249ImNvbnZlcnRlZCIKICAgICAgc3RFdnQ6cGFyYW1ldGVycz0iZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIgogICAgICBzdEV2dDpwYXJhbWV0ZXJzPSJjb252ZXJ0ZWQgZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDoxNjQxNjgxMy0zZGYzLWFkNGMtOGEwYy1iMzNlYzZmM2Q3M2QiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE3IChXaW5kb3dzKSIKICAgICAgc3RFdnQ6d2hlbj0iMjAxNy0wOS0yNlQyMDo0MTozNi0wNjowMCIvPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDplZTIzNjNiMy0xYjI2LTQ0ZjItODdmMC0wOTRjMWFlYjZmOWUiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoV2luZG93cykiCiAgICAgIHN0RXZ0OndoZW49IjIwMjMtMDQtMjhUMTc6MTc6MjYiLz4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6Zjc4ZmUyYWMtMWQ1Yy00OTE5LTgzYzItY2FmY2Y0YjRlNDFlIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJHaW1wIDIuMTAgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA0LTI4VDE3OjE4OjUwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICAgPHhtcE1NOkRlcml2ZWRGcm9tCiAgICBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YjkyYjQyNmMtYTJmNi0xMWU3LTgyM2UtYzlmZjJlODgxNTJjIgogICAgc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxN2MwYzAzNS05MjljLWM5NDAtOGYxYS0zN2MyNjEyZDFlZWIiCiAgICBzdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6OTUxMzhmMmUtY2U1NC0wNDQ2LThlZGQtNWNiZWU0ODRjZjk1Ii8+CiAgIDxwaG90b3Nob3A6RG9jdW1lbnRBbmNlc3RvcnM+CiAgICA8cmRmOkJhZz4KICAgICA8cmRmOmxpPmFkb2JlOmRvY2lkOnBob3Rvc2hvcDoxOGYxNzA1ZC00ZjFhLTExZTctOTM4Zi05NmE5MjY5ZWJiNjI8L3JkZjpsaT4KICAgIDwvcmRmOkJhZz4KICAgPC9waG90b3Nob3A6RG9jdW1lbnRBbmNlc3RvcnM+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz7H0zEnAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5wQcCzAyMx5H7wAAIABJREFUeNrtnXm8HeP9x9/PXZKbfSGRRJAmKiFiT5XGz1YyKIqi1SrVNqW0tkMpPce9qtTvqqW0tL9StJTUvnQsoQSlSO1iiUQ22SN7crfn98f3udykWe6ZZ845M+d+36/XvBCZOTPP88xnvvOd72JQFEVREo0NqAJGA9sAXYAWYAHwmgmZtaH9jA6doihKYoW9C/BD4BhgB6AnUAlYYDUwHXgB+IMJeVkFXlEUJR3iPhK4FtgfqNjEX58HXAFcY0JshxN4G1DpnnymzXUb9yRsAZpNSLMuK0VREqBXo4DxwPA8d70K+FmrlpkyGpA+QB+gO9AXGAQMBDYDaoAeQGcn8pVtBL4ZaHKvOyuAlcAiYCbwMbAEWAYsMiErdekpilJgLdsc+AewR8RDnGNCrk6twNuAzsD2wNbAUGAXYIj7775AN6Aqhp9qAD51rz/TgbeA14DZwLsmZJ4uR0VRYta3y4ELPA6xCNjfhLxhUnTRgxFf1GhgFPLBoX+JTqfBif0rwL+BZ03IB7o0FUXx1LmhwItAP89D1ZuQ80zCL3YYsC9wGDCS/P1RxWIq8CHwd+AJEzJVl6qiKBE073jgbzEc6l/AYVUJvMBeQAAcAhyI+NErEz4vX3DbgcBMG/A0cB/wqAlp1GWrKEo7GRnTcYYDX0iMBW8D+gMnAicg7pealE/UKmAi8BfgfhOyTNeuoigb0cAK4HrgtBgO1wIEVQm4qK2AbwHjgGFlNF9dgIPd9oINuB540ISs0KWsKMoGiMtbYQBTMoF3YY2nIFlaw8t80vZ22wM24Dcm5Fldx4qirCuLwOKYjrUMWFJRkqsI+AbwAFDfAcS9LUcCz9iAq9ybi6IoipjckoE6OabDvQ9MKarA24AhNuAPSIbWPh14Ls8BQhtwlC5rRVHa8GJMVvzTJmRB0QTeBnwTeAJxySjyIflvNqDeBvTU4VAUxYRMBv7qeZh5rccoeBSNE6/zgQxSKkD5b54DTjUhb+tQKErBtKgXkvH+YZKDHVyy06NEd1//zIRcWXCBtwHDgf8FDi/xmDW32WzbByZSpa1tIbJS8TEwzoQ8rreiosSmQT2AHRGX8DFIdNtRJmRKws97LHAb+Wfr/x44w4S0FFTgbcA+wI3OFVEsViF1GJYjtWM+QoqGLQKWuj9vctfd4kS9G1KgrBewBbAlUt9mc6A3UqysWCwHzjYh/6e3pqJE1p7+SOLh4Ugm/Ch3fwN8ABxoQmak4Dr2RuLid23HX18AXGVCrmAdC7YQJ/Y14Fak8FehmcPnRcBeAt4EZgEr2tZFzvP8K524j3CDO8ptI6Hg/vIW4DwT8hu9VRWl3ffsZsDOSDjykcDuG9C3d4CxJmRmSq6rO3A28HXEZdOt7f9GyqS8BFxnQl5cd39TgBM6Grgd6FrA614EPAM8DrxsQl4twkDXAHsBuyGlFMZQ2GzbC9d9GiuKstY92Rv4MjAWKUL4lXbsliqBX0fo9wa2ctraDMxHWvZtsNChifkkjnPi3qlA1/kqEmI5wYS8UsLB7oLUaj4KOBrpk1gIPvtYoijKWvfgscB5wE7kF7yRSoGPSlWMA34U8OcCiftrwO+Ah03IJ6UeNBN+Vmdmog34nRP5HyG++zj5tQ1YbUKu01taUdZiH2e1Kxshljh4G3AYcDPyhTpOpiLhlYeYkD8mQdzXI/YfOit7f+AyiL2o2NU24ARdqoqyFot1CIog8DZgD+RLb+8Yz6sBCREKTMhVJmRO0gfShEw3IRcDX4VYQx0rgOttwIG6XBXlc+nRISiwwNuAfkgo5JAYz+ljJOnnJBPyftoG1IT8GzgC+DnSzzUO+gC/tUHBfP2KoqjAryXuFYjPffcYz+cx4GATckuaB9WErDEhlwPHIp2e4mB74CYXzaMoilJQC/5C4NAYz+VPwOFptNo3IvRPIJ2pJsZ0yLFAVpetoigFE3gbsC+Qi/E8LjMhPyjH9nYm5EMkSeGhmA6ZsQEH6dJVFCV2gbcBA5F6B9Ux/H4D8FP3cbJsMSGLgG8Cd8ZwuGrEH7+lLl9FUWITeJfCfxHiD/alETjThPy2Iwy0CVmJdLC6K4bDDYfyfigqilJ8C/4Q4mkIC/ALE3JjRxpsE7IaOB34ZwyH+46rOKcoiuIn8DagGxL6F0dy1G9MyK874oCbkIXuIfmR56G6A+fbgCpdxoqi+FrwZyDFtnwZj0TgdFhc15ZxSOliH/YDTtJlrChKZIF3H1bPiOH3XkOSmBo6+sCbkAn4RyJVABfaoChlmRVFKVML/mfAYM/fWgqc4iJKFOFy/MsaDAN+oEOpKEreAm8DhiEZmT5YJNb9Pzrka1nx1j08P/U81A81bFJRlCgW/A+BQZ6/8xhQr8O9XpF/DbjG8zDbIiWLFUVR2ifwzno/3vM3FiMhkS063BvkJuB1z2N8zxV/UxRFaZcFfyT+lSJvKGX3pZRY8XOQ7GAfdkWaICiKomxc4F3c+4mex58G3KDD3C7+DrzheYxv2KAwjdTTgg0wNqDCVTst+2vs6POtbJyNJcmMBXbxPP4VaWjWkRArfqENuAW42uMwhwEjgHc7iJhvA2wH7IyUz+iJtIysAKwNaEbqHS0GZrhxmQq8ncRQXRvQH+gPbO7+uaXb+iEN3iuASrcZt7XYgAZgDdKMfhaSRDcbmANML8cifkTvJ22g4zwUqzaw0KqQCog+vA7codKdF39GEqCi1vrpCXytnAXedZc/EjgQ6TK/Nfm1ipwDPGcDflJq48MG7AKMQnr57uL+2QfpjtbD8/CLgYXANBvwPPAe8JwJmVEmSyFquPVqYG6HMRw3sPCGI/VSBngce5wJ+aNqdt43/WVISYioPI80TVlZ4POsAS5wbwz5/FZX4B4TMj7P3+uExPt/F9jDWbFRaQHGmJB/leDhtB9wEDAS2AHYAoriTmpCuqU9D4w3IQ+XeJ33detnIOT1hmHdtgvRmg0tRqL6VsQ87r2BB03In2MYmypn6B1I+7vCGaR8yUQTct2mXDRjPMX9AzeISv7cD5wKkbNTd3GiO6nA51mDlEkYEmHfBTbg7y4PoD0Lfj/gl8CXPYW9lfl5iorPzdoVGA0chbg9B7sbsRRv68PcdrQNeBVpsjPeFcErNr2RmkzFHos+SOnuQrDaBtwWQ8RgJ+BwIIiw7yD4XOArNvD08I3GeMCETFetjvBKFfIyeEUddQMOLsKpNiPZyVFY1R5xtwFdbcDFwKPAV2IS91YLvqBhuzZgiA0YBzzsjJ0z3YO3ewKWWXdgX+AW4F4bxNqZLZ83isVldvuujCkcvDnPt+J131DYoMADW7lXyKgsB+5RqfbiXs/9DyjSeTZ7COymBLI/cDtwKfn52EuKDdjBBlwOTEDyG/YHOif0dCuREuAP2oCrbMBmxRwqj/WTVFoScKzmTQn87vhlrj5rQl5UjfbiSWCex/4jbMDQtF68i465jxRl59qAYTbgUqT/7gWQqvGvBM4B7rMBI/T2Kx/WJ/A+7pkWINRh9eYj4CWP/QcB/5NicX8IiZBJw/l2sQFnIW6YiyHVlT33AR63AXvoLViGAu8iI77icby5xNdcusPi/NMTPC2yUSkU982Av6bl3N3D6FEkd2FYmSy/rYCHbcBovRPLz4LfESlcFZXXTcg0HdZYmARe0Q07uB66aaLe08AoNjsgYY/lxhbAeBuwk96G5SXweyLJMlFoRkMj4+Q9t0VlBPCFFFnvZwMnp2yOGoFVZbr+tgGutQG99VYsH4HfgehpvKuBV3VIY2Mxfhmp/dIi8DZgV9LZxrHcK6Tuh3wwVlJKVZubzODnR5wFvK9DGg8mpNEGXuPZDf86/sUQ9wqgzj2QorKKz/vbGqCa5IYmboo1SH7BUuATpKbMfCTzcg0SXmiccdYZyQT9IpJA1c9de5z82AY8akKeLcT0651eJIFHPq74WHz/MmHHqfFQJN5pc0NHYXgKrvFYpH5OPswDJgNvIt8qFjjxaxX4roircQiwm1vbO7ZZ7zZB4mKBt5BiaK8gNZxmIwEL803I8nY8JHu5e/eLSLbsvvh9S2tLD+ASG3CQCWONW69G3EDlxOY2wLQ3Q7vYAv9F/MoTTFY9jp3XkaJKURNQdk7qC4oTpq5Iy8L28h5wF/AA8GZ7qyS6RihfAo5AyisMSoCF/woSCvsU8IJP4TMTsgRpaP8a8nF0GHACUgpgYAznuj9wHHBnjNe/FOlk1jvPh20TUiF0H6JVu10CPOjuqx4xPugrgWeSbMEPca/1Ua2QKarHsbPQvZ5HFfi+NqBroQuPebyaH4o0KmmP2+JK4OYoUVomZD7wCPCIDRjvxK+qBNe9FMnyHg+8akKvZLaNXe8U4FIbcA/wK6T6pi+n2oDxJvzMFeZ7jguAcyMvoIBzIgr8VODUBN4TBRf4QUSv9TEfSc5R4qUB+bYRNbuwB5J4k7TFvNyFcJ7cTkv3HBMyMSZhedIGPIMUdCoWM5BS0HcD78bs6tjYtb5jA74NXIbUwvFhDFLj6NGErKGob2CVzpDtcALv456Z5Z6MSrysAK+8gr7O+p+ZsOtaifjG99vE37sbODPuuu3OtVOMapLzkFaMd5rQK+TV51pXOGu3ycdiRj7qHpMgga/xEPjOHUVAKtzrTgXSOCEq8zvKE7HIN2eTs/6i0hMSGcdcg3xc3ZhL8Fbg5JR2BFsG/A44wIRcUipxb7OOWpAyCnd5HuqrCapxpBE47RF496rcD7+QunmUX2W4pDDbY9+uSPu3pLELUh99Q9zjLPc0JhE9BxxvQk43IW8nyFhYDVyEhF5GZWv823gqRbbgu7hXeZ8WYbMgno8vyn/h414xSNp50jicDYfxvQ6c7iJDkk4Ln4ewNiM1aQ4yIf9I6BvhFOAKz8Psq7dkugS+Buly4pMgMTtJsZ9lxqee+yexuuGGfKCLgBNTlE9R7e6f94EjTcg5JeqOlA+34hfSPNrF3SspEfh+SOd2n6iCeTqUBWM1fvVOeqboWi8yIW+m6Hy7IHXrDzUhj6ThhN2b0e89DjGMFGRIK58LfH8kzTmqBd+IxGsrhRN4Hyu+a0quc4IJuTFlc/M8cJJzfaSJCR5GWX/iy5JViiDwrZEWUWPgG5GoAaUwNOBXNjgNJYNXA5enbWJMyEITpnLtv4NfQ5nhelumR+B7ID74qELQBJuul6F4CbyPiyYNAn+fCb0anCj5PZgseCWODdBRTI/A90ZC6aKmbjcjCTlKYWjEL8fAJPz6VgLX6jQXndc97tsBNug4yUJpF/huQHfW35+1PbRQ/nWxS0kLfjkGSY9uesaEXu4CJRpvEj0EdwDRM0mVIgu8rwBoeGRhKefxbQbu0CkuPibkEyQsNQp9Sc/H+w4v8J3d09jocCSSJvx88Eme14+BJ3WKS8b0iPv1wi8xUimywHeF1DVo7ihU4peEluQSEs+ntNZMuTAt4n41oD74tAh8q483qitALf/Cz5GPwCfVxdMCvKjTW1Ki5q9UqUGYHvFYjXxNb/E4RoUOZWJpTOh5LQT+pdNTUhZHfMPrRHHr6SueFnyLh6VXiaRsK4Whtd5JVJKao/AxlLaMrsIKohUJ7Ez8zb2VAgl8a6ZkVIGvQj+4FJJO+EUsJFXg34VUlgMuJ+ZEtOAN6ppNBVVInZOFRC/3W00ym0qUkwXv84aU1LK7b2gF0uJiA7ZA6k4NBrZCmmlHcbXovKVI4JcS3RfXKkB9dSgLRhfwKs+6IIHX1IL28C2EgPfm88z0LZEGHUOR4mD9kLpTfdz9qj70DiLwS5wI+ITT9dehLKjAd4+47yqknWLSaIDUVWBMgoC3Fgcc5AR8ANLQpVXMt3Z/1hr63E1HTQV+LtKRqcHjOInpGpTNZYYAi+pq65eWyRz51HNfhn/DkEIwH+0hsD4Br0Q+qNe4ed8aqb8+BHGr9HPW+UD371XuDVr94coGBX4+0vfTJ5xugA2ock2iS01n4KfZXObmutr62WUwR1t67LskoQI/z9OgKBdB7+XmdwjiRtnO/fMLTuC7oQEMiqfAr0JqUvi6aBJhRdTV1r+XzWVWA49nc5lD62rrp6d8jnwEvvX7StJYTHLj8wsp6J2dgI8BvgjsCIxGv2EpBaICiYWdj1/Tji1IVvGh65zlOjGby+ycYkGoALbxtOCTGEWzqCNZ8DZgdxtwHnAv8BhwI3AuMFbFXSmowJuQZvfKPM3jOIORr/WJoK62vgE4DtgM+Ec2lzkipfPT03Ncp5kwkaWcP4VEuPMKKeo9bMCJNuBu4B/AlcChnm9kipK3BY8TAR+B74d8DEoMzv8+Dvkg9bdsLnNaCuenq3t4RuXthF5XA2UaS20DamzAmcDTwG3Ase7+UJTSCLxjrsdxKpNkwbcR+TuA+5FQw+uzuUxtNpepStH8bE70ENQmYEZCr6uJMmsSYwOMDTgceA64Bthd5UVJksDPxM8vul1Cr/EX7toqgCxwQzaX6ZOS+dmR6FnCy5DoqCSyppyyWG3AlsDNwN0q7EpSBf5D/D607m6D5H0wqqutfwuoa/NH44C7srnM0BTMz/Ye+37i5jSJlE3ctg04BHgcOJn0tLFb5d7u5qHtNjuMwE9GEp6iMpQEumkcf0KiF1o5CHgom8vskWDhqAKGexzibRN6ud2UTc/Rj4HxwA5JPD2kxtT7iNvoPuAGIAN8x90DF+DX0F1JOJ/5o03IYhswDdgp4rG6ArsCryTQim/J5jLnIvHHrenbOwCPZHOZ79fV1j+cwLkZ4MYzKloKoLDifi5QX+LTaEFyCua6bTpShnmO++/ZbpvlouXWvYYhOpMdROAdbwJHeBzrMOCPSbzQutr6t7O5zKXAFW3+uD9wbzaXObuutv6GhJ3yzkSPTGoA3tLlXTBxP6OI4r4KcbfNRWpGzUUi3j5AXCxL3Z8vNCEr8jx2d7RZT4cS+JeANUTvt7ibDRjoOrYnkXrgq25rpRqJsBkI5Opq65PSw3RPovuqZwLP6vIuiLgfi0TJFIoPgVfdG9hMJNR1JvJ9bIUJY3WpaNnfMqdiPQLvI86Dkey8ROLE+0LW34vyIuBP2VxmQAJEpOs6D6F8ed+EiQ2RTLO4jwCuJd5+pMvdw/hniF/8IOBkE3KRCfm9CXnWhHxkQubHLO5KBxT4BcB/PI5nkizwTuRfAa7awP8+Cbglm8sML/FpjkRCJKOizazjF/dKIIckzvnS4izza4EDgENMyJUm5EkTMs2ErNYRV2IXeJfR+pTnMfezQSKjCtryBySyYH0EwN+zucxeJTy/rxG9iuBq4Ald2rHzDeCbMRzndeBs4AATcpYJeVktc6VYFjzARCcSURkAHJ5wK34hcM5GrnNHJMLmyBJYil08x+8dJyJKfHPSB0mY82EV8CvgYBNynQkTUQ9fffAdUOAnA096HvcEG3g1qiiGyL/MxiMh+gD3ZXOZHxX51A7Hzz3zYIRoCmXT1vtIj/3nAEc5v7o2OlFKJ/AmZA0wwfO4OyXdindc4SzeDWGAG7O5zK+LWMPmOCSyJwoNMTyclbWt90rgux6HWAwcY8K1Eu2SQic0TLLDWfA4gfe1NE60QbJ7QtbV1q9A6nIv38RfPR+4NZvLFLQqoA3YEzjY4xDPA6/pso6V/YGoGc+NwEUm5IWEXltn4o0IUlIi8O/g/7H1YCTxKdHU1daHSAOGTXECcE82lxlVwNMZh1+LtvvVPRM7hxC9xsxTJuT3Cb62bvx3LoxS7gLv0prv9zy2Ac5Iui/e8Wval/m5D+KXP6AA1vto4GiPQ3wCPKJLOtY5qQG+FHH3pnYaDqUkMa02leJa8ADP4J/uvg/wrRRY8QuQUsLtiSoY5iz542M+jdOJXhoY4CH8mrYo/80QpHdqFN4j+d9DttYp7qACb0LmAH+N4Td+bgMGpUDk70NqereH3kiXqHNishT383wQNgF/WV9BKcWL7YjuMptA8is1bqNT3HEteIA/I3UwfK2EK1MyHhfnaQVflc1lrs/mMpEbjruyBFciEQ1RuRfNXi0EI4neTP65hPbDbV13W+DXDlJJu8A7K/53MfzOt23A8UkfjLra+jlIVE0+nA7cnc1lor7uZoDRHqe9EvidCWnU5Rw7QzzeqJJernk3teDVggdJ658aw29dYQOGJ31A6mrr70WaJefDYcCD2Vwmr/rtNuAApPiZD4+hlSMLxVYR95uLlPFNusDXdMA57VDZu5sUeBOyEOkEE4c1dKVLHEm8zpN/u7udkdry7Yqwce0NL/e8yRYBV5VTf9MEuTAqid7wfD5SmiCp19YZie/vqEZtRUe62PbwB+Lp1HQEEpKYdCt+CnBJxIfYPdlc5uR2iMfviR6C18p4E/K8ynFBqCZ6jPgqSLTLbHfgyx10XivpQLH/7RJ4E7IMSeuPw1I81wacloKxuRPpY5kvvZGSw7lc7twNje8vkZIEPsyk9C3jypkqoseIN5PsZtZfg2RnmRdY4DtM9m67X1VMyD1Ig+E4uNoGXkk9xbDiWxD/eFRf6iXAjRfWXrBWFIY9hLOQZse+1JswbzeSkp/AR32Vr06qiLiQ5RPLYH4aIu5XA3RRgV8/F0Ms1fA6A7fZgEMSLvLv4Vcm9ofAPT+5/JebAdgxnAJcHcOpPQWJToEvBxo9rPABCbaQT6Q8wiOjljTv1pHeXvISeBPyAdKsIA66AXfYIPFVJ68nYgkAK2/4gbF2/MST9/wFlpticHLNBk4zYWQLRmm/wEedra2cyCfNet8B/6itpLAm4n493aYCvwGRvwNJgIqD3k7kT0qwFd+C9MuM1Ku2qqWZmqbV+784aLe6DwZ/oYrViIc2egWQX5iQ91V/C04T0TNRK5AwxCSJe2fgUqBXmczPco+56TAlGqL6GC8inqgagO7AH2zAeTZI5tftutr6t9lwH9eNPxCx1DSvZla3Afxl+28wafAokY5oMRY3m7Dd5RQUD1wWqk8W9yEJW8+nQ7K/e+XJMo99d1KB3/jinw2cBbGVpu2EpOvf5FKok8gfidwIxdCzYRkrK2u4a7sjeGrbMeK+yU/k/wX8XKW3qEzz2HcMsGsSLsIGHIZ/y8FyseABhrs3GhX4jYj888CZxJsZdgowwWV4Js2KX1phWy401kbuV9utcSWVtoUHhhzMvcMPpaGqur2exAXAT0zIXNXcojIFIhdw64m49kot7qORciO9y2xuFrktCjsTvUpoxxB4J/J/QsrsxslIJ/JX2yBZtTIuqfvNy00VVZdU2mZMhOeaNYZOzQ10b1rJU4PH8NeRx7CsazeJB7BsyC+/EjjahLyqelt03sWvIuTXbcAJJRT3XZC+DuXoc55BdBdaf+CrKvDtE/lfOvdF3JwFhDbgx0lq/Te916Br5nTfYlKLqaDC5h9FZ42hU0sDfdcs5tV+O3HLqG8xr3e/jYn8qSZkomptSXgLmOWxfyVwrQ2Kby3agAOBf0DyS3VHZD5+30h+YAO6q8C3jzOAvxTg/EYgdXCetgHjbODVzi4Wbj/7zDUHfvTsNxd06fNhU0VVJEu+hQqqbBN91nzK+72GctNOJ/L+FkPFVlw7wuYnJuR21dnSYEIWgffDdXPgURsU78OeDTjLWe7tCdW0KZ2bFqS1qI+n4AwV+PYNdgOS1HNngc5zNNL+7BkbcKkN2Ltkr717MfSYNx/d66AZE1nSqSeNFdWRRb7SNtN39WLmdenLH3f+Ni9ts6t8eG1gFY2cZUKuV5ktOSHRY65b2da9jR5TYGHfwwb8BUmm25R1Ohepmjo/xXPzAnjlg+RswJHlvHhjC+MyIattwDhEor5biIc2EpWwK3CaDXgFeM69hn4ArDQhTTHfMFVIWvMQYF9gHwy7spJtvvbeE9Wzuw5gcp9h9FmzBGMj+OQxVNDCZqsWs6RzD+4ecQQrq7uw2/w3z+v90LIbUJLA48Dr+BeGGwjcbgP2AX5lwlgywrEBBmkjeQpwUh4umWuRloJjUzw3rzo3zdCI+9cAf3JNd+7yadBiA8Yg3zoeSFLj+1jjdE3Icifyq4AfFfC8N3MLcyxwPvAx8JINeAmpXb/AbUud9dW0vnZ27uaoQmqH1CCRBn3d8bdFqu7t5iauz2cvtF2genUTY6f9k5ndB7CqqgtdG6N9i7MYMNC7YSmrKrvw5Db78O+Bu46s26VTj+ylVy9DKbUrYLkNuD0GgccZC2cCY23AbcCjwGQT5v+GYAM2B7YHjgS+TX6Zs28jGdo7keK0fRMy3Qa85SHwrVpyK7CnDbgR+KC9rS+dfmyNFA78FeIWu7ssLfg2g74GONUGzEVq1xS69nIPYEe3fd/92RLkK/sn7hV0hQ1Y7sTeOJmuRNqx9UBC2jZHvq5vTXtqtHeGbRdOZczsl3ly6/+hhQoqPAoItlBBTfMamkwFn3bqeVqVbR6RzWW+X1dbPxWl1NwB/NgJahyMcILwc+AhG/Aa8L7blsFn+c6t92gnt04Hu32HAntHfOi0AOebkGUu5yTttdEfQMqQ+1DtHrynAHfagJeRD+xz+PzLWEsbzRgI7OIekF9v89a0OG4vQuIEvo3Q52zAR8D/Av2KfF293LZj4cwHme79Z7zAlF7bML37lvRoXEGLiV6DwAKVtoUq24zF7A88ks1lTqqrrX9ZNbakluIiG3AR0vs2TrojzdZbG65/gsR2L+XzNLjOzsru4wyQas/fvMyEPFpG0/Mwkq8wLCZjcZzblrn5+BTx8ze7se/jBD0VJR8qCnxj3AoESBZm+VEJXVeuJJj2FNW2kcbKqkihk+t12wjbA2E2lzkGpdQif597lS8kA5Hojr2A/3Hbns5Q2TIGcX8QqC2zeZlHYSL4egDbubekMcg3uL3dPZmaej4VRZiASe4VqvzK21p5B9pu/lS+PGcSSzv1wBoTKapmI/QF7szmMueilJqzkOSnNPIs8L32+pdTxm9BC/CVROCdyC8wIT9GOsm8W1Yj6NqEyg2BAAAEqklEQVQ6HPDx8wxePptPO/eKFFGzCaqB+mwuc002l+mky7Zk1uKnSKTKjJSd+ovAyS6uvxznZSEpaAVatgLfZiIeQVKELwUWls0oVkOPFcs5dOoEKmhhRXXXQog8yIegm7O5zBa6dEsmJi8jOR9zUnLKE4HvmJBy/1h/G/B/ukJLKPDuBpltQrLAwUgLwCXpv+uBKhg59z2+8sm/WVHdjaaKyrhdNa18G7gjm8uM1OVbMpF/zFnyMxN+qg8Bx5qQKR1gTpqQZiZP6QotocC3mZBJJuQ44BgkA3Z5qkeyCoyFA6c+x7ZLPmJ1VU3bj6VxcwBwTzaX2U+XcMnW7+NIffVXEnh6DUj02tEdqQKpCVkAfA/QqLNSC3ybSZlgQk4AvuFesT5J7WhWQ+/lS5fuOXfS6wBNFQXt9zAcGJ/NZY7XZVyytfsy8l3pOpJT0+U14HgTcn7SYrKLNCfTndH4ZAl+PnF1fSoSNDGPmZAfImGV5yPNNValaG29g9TdDjo1NY6tbmm4pwi/uTnwt2wuU4q648Zj/RjKBBMy14ScCRyOlM0oFZ8AlwGBCbm/wPNQkeQ5NCEz3IP31/jXEcqH3jaITVN95qatYyFxk/MG8IZLG94ZiT3dC/HZd03Y6b4CPA1MAp43j7VGV7zBT391zHm9GpZ/CWnAXGiuyOYyWwEX19XWf1pEgY86H2XXTceEPGIDngKOAk4ADivST093b77jTcjkPPetijiHnfksfiyx87EGuMAGPIF8FC/Gm+7TMVrxXeLYLxWWlKsHPwwYhSQd7OGEsw+Sxl1oWpCPwXORFObn3Kvw5I35OLO5zE+Ba4o4zrcAZ9bV1i8rwpxUAV9BannkE1tdCbxnQt4uVzeBK2u9B3CI24bGbJwsRApt3Q08aUI+jnieA915VucxhxVIV+EXXHhiGuajBklUOg44CEkai8PSbgZmA/cBfwUmxeEWc28BuyNlU5rymJcKYKYJeSm1r8o2oBJJ3e6L1IMY7sR/kBObvk74uzoxqWjzSmnWI9yWz2tNrEJSkxe7bS6SBj0FeMNZSyvbWxwqm8tUIZEMQaGGA0ltf9NtTwKP1NXWl2MySxqF3iBZj6OQrNTtnbhs6dZpF2dFr7s+rVuPzUhdmtlI45HpwEvAP4FZJvTqNtUR56PajftXgQOdkTgY2AKpP1W1HvdTqz40IT2oZ7ntA+AZJEt/vk8lykK/Zpeb5dQfqX3TC6n10aPNjVS5jrg3Ij665W5b4qyjucCnJvR/3crmMqOBJ4gvvXk1UilzElIP+3ngxbra+ia9hVOxRjs7URngDJJWY6Tt+mxEilwtRYrlTXOWWYuOYOzzsY2zlPu5uahh7ZIQjUhdmsXAPOBjE6YmB6K8BD6pOFfNtR6HWANMdm6hR4BJdbX1U3RkFUXZGFU6BEXhJiRmet889mlE4nlbX8mfLeIHVEVRygC14ItnxbfHVTMH+A/SJu5N4NW62vqlOnqKoqjAJ1/ka4HsOn/8thP1Z5DonBl1tfUrdLQURfFFXTTFpR4pMzACqS3+AlLpb2Fdbf0aHR5FUdSCT7cV/wsn8NcB/66rrbc6KoqiFIL/B3G38Ji8VyggAAAAAElFTkSuQmCC",alt:"Qrati Logo",className:"qc:h-4 qc:w-auto"})]}):null},lc=()=>{const e=xl(),t=wl(),{user:n,organization:r,signout:o}=Oi();return w.jsxs("div",{children:[r&&!r.customAuth&&w.jsxs("div",{className:"qc:mx-auto qc:py-4",children:[!n&&w.jsxs(ec,{variant:"h6",align:"center",children:[w.jsx(fs,{className:"qc:text-primary qc:hover:underline",to:mo.LOGIN,state:{referrer:t.pathname},children:"Login"})," ","•"," ",w.jsx(fs,{className:"qc:text-primary qc:hover:underline",to:mo.REGISTER,state:{referrer:t.pathname},children:"Register"})]}),n&&w.jsxs(ec,{variant:"h6",align:"center",children:["Logged in as ",n.name," •"," ",w.jsx("span",{className:"qc:text-destructive qc:hover:underline",onClick:async()=>{await o(),e(mo.PUBLIC_EVENTS)},children:"Logout"})]})]}),w.jsx(ic,{})]})},sc=()=>{const e=Al(),{organization:t,props:{organizationId:n}}=Oi(),{loading:r,event:o}=oc({eventSlug:e.eventSlug});return r?w.jsxs("div",{children:[w.jsx(nc,{className:"qc:mx-auto qc:mt-4 qc:h-8 qc:w-64"}),w.jsx(nc,{className:"qc:mx-auto qc:mt-6 qc:h-6 qc:w-72"}),w.jsx(nc,{className:"qc:mx-auto qc:mt-6 qc:h-8 qc:w-72"}),w.jsx("div",{className:"qc:mt-8 qc:grid qc:grid-cols-1 qc:gap-4 qc:sm:grid-cols-3",children:Array.from({length:8}).map((e,t)=>w.jsx(nc,{className:"qc:h-72"},t))})]}):o&&o?.organizationId===n?w.jsxs("div",{className:"qc:bg-background qc:relative qc:min-h-screen",children:[t?.navigationSettings?.enableNavbar&&w.jsx(rc,{}),w.jsx(ac,{}),w.jsx(Ml,{}),w.jsx(lc,{})]}):w.jsxs("div",{className:"qc:flex qc:w-full qc:flex-col qc:items-center qc:gap-8",children:[w.jsx(tc,{className:"qc:mt-16",title:"Event not found",description:"Please check the provided link",iconSvg:w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"qc:size-full",viewBox:"0 0 997.86122 450.8081",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",children:[w.jsx("rect",{x:"871.99152",y:"181.55804",width:"30.15944",height:"104.39806",fill:"#f2f2f2"}),w.jsx("polygon",{points:"922.068 266.317 848.715 179.052 701.475 180.398 612.156 267.396 613.961 268.556 613.316 268.556 613.316 449.513 921.871 449.513 921.871 268.556 922.068 266.317",fill:"#f2f2f2"}),w.jsx("polygon",{points:"848.792 179.238 757.154 286.674 757.154 449.513 921.871 449.513 921.871 266.236 848.792 179.238",fill:"#e6e6e6"}),w.jsx("rect",{x:"823.27242",y:"359.46083",width:"33.6394",height:"29.73333",fill:"#3f3d56"}),w.jsx("rect",{x:"823.27242",y:"307.99568",width:"33.6394",height:"29.26181",fill:"#3f3d56"}),w.jsx("rect",{x:"823.27242",y:"359.46083",width:"33.6394",height:"29.73333",fill:"#fff"}),w.jsx("rect",{x:"823.27242",y:"307.99568",width:"33.6394",height:"29.26181",fill:"#fff"}),w.jsx("rect",{x:"673.77661",y:"351.57128",width:"33.6394",height:"29.73333",fill:"#fff"}),w.jsx("rect",{x:"673.77661",y:"300.10613",width:"33.6394",height:"29.26181",fill:"#fff"}),w.jsx("rect",{x:"633.99152",y:"181.55804",width:"30.15944",height:"104.39806",fill:"#f2f2f2"}),w.jsx("polygon",{points:"684.068 266.317 610.715 179.052 463.475 180.398 374.156 267.396 375.961 268.556 375.316 268.556 375.316 449.513 683.871 449.513 683.871 268.556 684.068 266.317",fill:"#f2f2f2"}),w.jsx("polygon",{points:"610.792 179.238 519.154 286.674 519.154 449.513 683.871 449.513 683.871 266.236 610.792 179.238",fill:"#e6e6e6"}),w.jsx("rect",{x:"585.27242",y:"359.46083",width:"33.6394",height:"29.73333",fill:"#3f3d56"}),w.jsx("rect",{x:"585.27242",y:"307.99568",width:"33.6394",height:"29.26181",fill:"#3f3d56"}),w.jsx("rect",{x:"585.27242",y:"359.46083",width:"33.6394",height:"29.73333",fill:"#fff"}),w.jsx("rect",{x:"585.27242",y:"307.99568",width:"33.6394",height:"29.26181",fill:"#fff"}),w.jsx("rect",{x:"435.77661",y:"351.57128",width:"33.6394",height:"29.73333",fill:"#fff"}),w.jsx("rect",{x:"435.77661",y:"300.10613",width:"33.6394",height:"29.26181",fill:"#fff"}),w.jsx("rect",{x:"380.1536",y:"91.46021",width:"40.30032",height:"139.50112",fill:"#f2f2f2"}),w.jsx("polygon",{points:"447.068 204.718 349.051 88.112 152.302 89.91 32.951 206.161 35.362 207.711 34.501 207.711 34.501 449.513 446.804 449.513 446.804 207.711 447.068 204.718",fill:"#f2f2f2"}),w.jsx("polygon",{points:"349.153 88.36 226.702 231.921 226.702 449.513 446.804 449.513 446.804 204.611 349.153 88.36",fill:"#e6e6e6"}),w.jsx("rect",{x:"315.05306",y:"329.18147",width:"44.95039",height:"39.73094",fill:"#3f3d56"}),w.jsx("rect",{x:"315.05306",y:"260.41156",width:"44.95039",height:"39.10088",fill:"#3f3d56"}),w.jsx("rect",{x:"315.05306",y:"329.18147",width:"44.95039",height:"39.73094",fill:"#fff"}),w.jsx("rect",{x:"315.05306",y:"260.41156",width:"44.95039",height:"39.10088",fill:"#fff"}),w.jsx("rect",{x:"115.29041",y:"318.63912",width:"44.95039",height:"39.73094",fill:"#fff"}),w.jsx("rect",{x:"115.29041",y:"249.8692",width:"44.95039",height:"39.10088",fill:"#fff"}),w.jsx("rect",{y:"448.61997",width:"963.95079",height:"2",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"151.87223",cy:"352.47204",rx:"29.09932",ry:"59.37437",fill:"#3f3d56"}),w.jsx("path",{d:"M255.62882,674.25425c-11.65458-69.92526-.11734-139.59789.00056-140.29293l2.267.384c-.11734.69167-11.58834,69.99825.00056,139.53164Z",transform:"translate(-101.06939 -224.59595)",fill:"currentColor"}),w.jsx("rect",{x:"251.0257",y:"571.20214",width:"29.84136",height:"2.29972",transform:"translate(-339.58156 -31.50095) rotate(-28.1416)",fill:"currentColor"}),w.jsx("rect",{x:"237.02319",y:"564.48509",width:"2.29972",height:"29.84239",transform:"translate(-486.12468 291.37147) rotate(-61.84204)",fill:"currentColor"}),w.jsx("ellipse",{cx:"81.9552",cy:"260.90342",rx:"56.91484",ry:"116.12927",fill:"currentColor"}),w.jsx("path",{d:"M189.364,675.40405c-22.76459-136.58529-.22963-272.67316.00056-274.03181l2.267.384c-.22962,1.35528-22.69834,137.0771.00057,273.27052Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("rect",{x:"179.27648",y:"475.12522",width:"58.36761",height:"2.29972",transform:"translate(-301.0624 -69.97216) rotate(-28.1416)",fill:"#3f3d56"}),w.jsx("rect",{x:"152.98936",y:"460.88882",width:"2.29972",height:"58.36761",transform:"translate(-451.74248 170.111) rotate(-61.84258)",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"216.75351",cy:"191.008",rx:"77.88347",ry:"158.91374",fill:"currentColor"}),w.jsx("path",{d:"M326.9161,675.40405c-31.1399-186.83717-.3144-372.9922.00056-374.85051l2.267.384c-.3144,1.85494-31.07366,187.64393.00056,374.08922Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("rect",{x:"312.69421",y:"401.83114",width:"79.87126",height:"2.29972",transform:"translate(-249.45002 -10.63875) rotate(-28.1416)",fill:"#3f3d56"}),w.jsx("rect",{x:"277.14586",y:"381.92603",width:"2.29972",height:"79.87126",transform:"translate(-326.03583 243.55793) rotate(-61.84329)",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"871.02934",cy:"352.47204",rx:"29.09932",ry:"59.37437",fill:"#3f3d56"}),w.jsx("path",{d:"M969.41153,674.25425c11.65459-69.92526.11734-139.59789-.00056-140.29293l-2.267.384c.11733.69167,11.58833,69.99825-.00056,139.53164Z",transform:"translate(-101.06939 -224.59595)",fill:"currentColor"}),w.jsx("rect",{x:"957.94412",y:"557.43132",width:"2.29972",height:"29.84136",transform:"translate(-99.02545 923.51928) rotate(-61.8584)",fill:"currentColor"}),w.jsx("rect",{x:"971.94611",y:"578.25643",width:"29.84239",height:"2.29972",transform:"translate(-257.69773 309.6834) rotate(-28.15796)",fill:"currentColor"}),w.jsx("ellipse",{cx:"940.94638",cy:"260.90342",rx:"56.91484",ry:"116.12927",fill:"currentColor"}),w.jsx("path",{d:"M1035.67632,675.40405c22.76459-136.58529.22962-272.67316-.00056-274.03181l-2.267.384c.22962,1.35528,22.69834,137.0771-.00056,273.27052Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("rect",{x:"1015.43021",y:"447.09128",width:"2.29972",height:"58.36761",transform:"translate(16.06635 923.44761) rotate(-61.8584)",fill:"#3f3d56"}),w.jsx("rect",{x:"1041.71733",y:"488.92276",width:"58.36761",height:"2.29972",transform:"translate(-205.59609 338.75568) rotate(-28.15742)",fill:"#3f3d56"}),w.jsx("ellipse",{cx:"806.14806",cy:"191.008",rx:"77.88347",ry:"158.91374",fill:"currentColor"}),w.jsx("path",{d:"M898.12426,675.40405c31.1399-186.83717.31439-372.9922-.00056-374.85051l-2.267.384c.3144,1.85494,31.07365,187.64393-.00056,374.08922Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("rect",{x:"871.26065",y:"363.04537",width:"2.29972",height:"79.87126",transform:"translate(4.52428 757.59634) rotate(-61.8584)",fill:"#3f3d56"}),w.jsx("rect",{x:"906.809",y:"420.7118",width:"79.87126",height:"2.29972",transform:"translate(-188.10195 272.08136) rotate(-28.15671)",fill:"#3f3d56"}),w.jsx("path",{d:"M690.67376,326.06186l9.20569-7.3628c-7.15149-.789-10.0899,3.11127-11.29248,6.19837-5.587-2.32-11.66919.72046-11.66919.72046l18.41889,6.6867A13.93792,13.93792,0,0,0,690.67376,326.06186Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M465.67376,261.06186l9.20569-7.3628c-7.15149-.789-10.0899,3.11127-11.29248,6.19837-5.587-2.32-11.66919.72046-11.66919.72046l18.41889,6.6867A13.93792,13.93792,0,0,0,465.67376,261.06186Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M832.67376,232.06186l9.20569-7.3628c-7.15149-.789-10.0899,3.11127-11.29248,6.19837-5.587-2.32-11.66919.72046-11.66919.72046l18.41889,6.6867A13.93792,13.93792,0,0,0,832.67376,232.06186Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M851.26034,661.648a13.91772,13.91772,0,0,0-6.96955,1.86975A14.98175,14.98175,0,0,0,819.26034,674.648h45.94952A13.99045,13.99045,0,0,0,851.26034,661.648Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M384.26034,661.648a13.91772,13.91772,0,0,0-6.96955,1.86975A14.98175,14.98175,0,0,0,352.26034,674.648h45.94952A13.99045,13.99045,0,0,0,384.26034,661.648Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("path",{d:"M623.26034,661.648a13.91772,13.91772,0,0,0-6.96955,1.86975A14.98175,14.98175,0,0,0,591.26034,674.648h45.94952A13.99045,13.99045,0,0,0,623.26034,661.648Z",transform:"translate(-101.06939 -224.59595)",fill:"#3f3d56"}),w.jsx("polygon",{points:"471.759 404.228 339.191 404.228 339.191 408.504 359.866 408.504 359.866 449.13 364.142 449.13 364.142 408.504 444.669 408.504 444.669 449.13 448.946 449.13 448.946 408.504 471.759 408.504 471.759 404.228",fill:"#3f3d56"}),w.jsx("rect",{x:"339.45191",y:"391.43404",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("rect",{x:"339.45191",y:"380.74306",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("rect",{x:"339.45191",y:"370.05209",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("polygon",{points:"678.759 404.228 546.191 404.228 546.191 408.504 566.866 408.504 566.866 449.13 571.142 449.13 571.142 408.504 651.669 408.504 651.669 449.13 655.946 449.13 655.946 408.504 678.759 408.504 678.759 404.228",fill:"#3f3d56"}),w.jsx("rect",{x:"546.45191",y:"391.43404",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("rect",{x:"546.45191",y:"380.74306",width:"132.56808",height:"4.27639",fill:"#3f3d56"}),w.jsx("rect",{x:"546.45191",y:"370.05209",width:"132.56808",height:"4.27639",fill:"#3f3d56"})]})}),w.jsx(fs,{to:mo.PUBLIC_EVENTS,state:{internalNavigation:!0},children:w.jsx(Ku,{children:"All events"})})]})},uc=xe.lazy(()=>import("./PublicEvents-RN-_fsl2.js")),cc=xe.lazy(()=>import("./ContentsPage-BswZWICC.js").then(e=>e.l)),dc=xe.lazy(()=>import("./UploadPage-B7BieTEU.js")),fc=xe.lazy(()=>import("./LeaderboardPage-Bphjksy_.js")),pc=xe.lazy(()=>import("./CuratePage-l_53kq1u.js")),hc=xe.lazy(()=>import("./AuthLayout-BQsxj8DA.js")),mc=xe.lazy(()=>import("./LoginPage-CHzBIQEq.js")),gc=xe.lazy(()=>import("./RegisterPage-7WLryyTX.js")),yc=xe.lazy(()=>import("./ForgotPasswordPage-CIz3_X-3.js")),bc=()=>w.jsx("div",{className:"qc:flex qc:h-[80vh] qc:w-full qc:items-center qc:justify-center",children:w.jsx("div",{className:"qc:text-foreground qc:text-lg"})}),vc=({router:e="memory"})=>{const t="hash"===e.toLowerCase()?us:Dl;return w.jsxs(t,{children:[w.jsx(ys,{}),w.jsx(xe.Suspense,{fallback:w.jsx(bc,{}),children:w.jsxs(Ul,{children:[w.jsx(Fl,{path:"/:folderId?",element:w.jsx(uc,{})}),w.jsxs(Fl,{path:"/event/:eventSlug",element:w.jsx(sc,{}),children:[w.jsx(Fl,{path:"",element:w.jsx(cc,{})}),w.jsx(Fl,{path:"upload",element:w.jsx(dc,{})}),w.jsx(Fl,{path:"curate",element:w.jsx(pc,{})}),w.jsx(Fl,{path:"curate/:contentId",element:w.jsx(pc,{})}),w.jsx(Fl,{path:"leaderboard",element:w.jsx(fc,{})})]}),w.jsxs(Fl,{path:"/auth",element:w.jsx(hc,{}),children:[w.jsx(Fl,{path:"login",element:w.jsx(mc,{})}),w.jsx(Fl,{path:"register",element:w.jsx(gc,{})}),w.jsx(Fl,{path:"forgot-password",element:w.jsx(yc,{})})]})]})})]})};!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(':root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n');var wc=e=>"number"==typeof e&&!isNaN(e),kc=e=>"string"==typeof e,Sc=e=>"function"==typeof e,xc=e=>kc(e)||Sc(e)?e:null,Cc=(e,t)=>!1===e||wc(e)&&e>0?e:t,Ac=e=>xe.isValidElement(e)||kc(e)||Sc(e)||wc(e);function Ec(e,t){return{content:Ic(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function Ic(e,t,n=!1){return xe.isValidElement(e)&&!kc(e.type)?xe.cloneElement(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):Sc(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):e}function Tc({delay:e,isRunning:t,closeToast:n,type:r="default",hide:o,className:a,controlledProgress:i,progress:l,rtl:s,isIn:u,theme:c}){let d=o||i&&0===l,f={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};i&&(f.transform=`scaleX(${l})`);let p=Vo("Toastify__progress-bar",i?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${c}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":s}),h=Sc(a)?a({rtl:s,type:r,defaultClassName:p}):Vo(p,a),m={[i&&l>=1?"onTransitionEnd":"onAnimationEnd"]:i&&l<1?null:()=>{u&&n()}};return Ce.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":d},Ce.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${c} Toastify__progress-bar--${r}`}),Ce.createElement("div",{role:"progressbar","aria-hidden":d?"true":"false","aria-label":"notification timer",className:h,style:f,...m}))}var _c=1,Rc=()=>""+_c++;function Pc(e,t,n){let r=1,o=0,a=[],i=[],l=t,s=new Map,u=new Set,c=()=>{i=Array.from(s.values()),u.forEach(e=>e())},d=e=>{var t,n;null==(n=null==(t=e.props)?void 0:t.onClose)||n.call(t,e.removalReason),e.isActive=!1},f=e=>{if(null==e)s.forEach(d);else{let t=s.get(e);t&&d(t)}c()},p=e=>{var t,r;let{toastId:o,updateId:a}=e.props,i=null==a;e.staleId&&s.delete(e.staleId),e.isActive=!0,s.set(o,e),c(),n(Ec(e,i?"added":"updated")),i&&(null==(r=(t=e.props).onOpen)||r.call(t))};return{id:e,props:l,observe:e=>(u.add(e),()=>u.delete(e)),toggle:(e,t)=>{s.forEach(n=>{var r;(null==t||t===n.props.toastId)&&(null==(r=n.toggle)||r.call(n,e))})},removeToast:f,toasts:s,clearQueue:()=>{o-=a.length,a=[]},buildToast:(t,i)=>{if((({containerId:t,toastId:n,updateId:r})=>{let o=t?t!==e:1!==e,a=s.has(n)&&null==r;return o||a})(i))return;let{toastId:u,updateId:d,data:h,staleId:m,delay:g}=i,y=null==d;y&&o++;let b={...l,style:l.toastStyle,key:r++,...Object.fromEntries(Object.entries(i).filter(([e,t])=>null!=t)),toastId:u,updateId:d,data:h,isIn:!1,className:xc(i.className||l.toastClassName),progressClassName:xc(i.progressClassName||l.progressClassName),autoClose:!i.isLoading&&Cc(i.autoClose,l.autoClose),closeToast(e){s.get(u).removalReason=e,f(u)},deleteToast(){let e=s.get(u);if(null!=e){if(n(Ec(e,"removed")),s.delete(u),o--,o<0&&(o=0),a.length>0)return void p(a.shift());c()}}};b.closeButton=l.closeButton,!1===i.closeButton||Ac(i.closeButton)?b.closeButton=i.closeButton:!0===i.closeButton&&(b.closeButton=!Ac(l.closeButton)||l.closeButton);let v={content:t,props:b,staleId:m};l.limit&&l.limit>0&&o>l.limit&&y?a.push(v):wc(g)?setTimeout(()=>{p(v)},g):p(v)},setProps(e){l=e},setToggle:(e,t)=>{let n=s.get(e);n&&(n.toggle=t)},isToastActive:e=>{var t;return null==(t=s.get(e))?void 0:t.isActive},getSnapshot:()=>i}}var Oc=new Map,Nc=[],Lc=new Set,zc=e=>Lc.forEach(t=>t(e)),Dc=()=>Oc.size>0;function jc(e,t){var n;if(t)return!(null==(n=Oc.get(t))||!n.isToastActive(e));let r=!1;return Oc.forEach(t=>{t.isToastActive(e)&&(r=!0)}),r}function Mc(e){if(Dc()){if(null==e||(e=>kc(e)||wc(e))(e))Oc.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=Oc.get(e.containerId);t?t.removeToast(e.id):Oc.forEach(t=>{t.removeToast(e.id)})}}else Nc=Nc.filter(t=>null!=e&&t.options.toastId!==e)}function Fc(e,t){Ac(e)&&(Dc()||Nc.push({content:e,options:t}),Oc.forEach(n=>{n.buildToast(e,t)}))}function qc(e,t){Oc.forEach(n=>{(null==t||null==t||!t.containerId||t?.containerId===n.id)&&n.toggle(e,t?.id)})}function Uc(e){let t=e.containerId||1;return{subscribe(n){let r=Pc(t,e,zc);Oc.set(t,r);let o=r.observe(n);return Nc.forEach(e=>Fc(e.content,e.options)),Nc=[],()=>{o(),Oc.delete(t)}},setProps(e){var n;null==(n=Oc.get(t))||n.setProps(e)},getSnapshot(){var e;return null==(e=Oc.get(t))?void 0:e.getSnapshot()}}}function Hc(e){return e&&(kc(e.toastId)||wc(e.toastId))?e.toastId:Rc()}function Bc(e,t){return Fc(e,t),t.toastId}function Vc(e,t){return{...t,type:t&&t.type||e,toastId:Hc(t)}}function Wc(e){return(t,n)=>Bc(t,Vc(e,n))}function Gc(e,t){return Bc(e,Vc("default",t))}function Qc(e){let[t,n]=xe.useState(!1),[r,o]=xe.useState(!1),a=xe.useRef(null),i=xe.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:s,closeToast:u,onClick:c,closeOnClick:d}=e;function f(){n(!0)}function p(){n(!1)}function h(n){let r=a.current;if(i.canDrag&&r){i.didMove=!0,t&&p(),"x"===e.draggableDirection?i.delta=n.clientX-i.start:i.delta=n.clientY-i.start,i.start!==n.clientX&&(i.canCloseOnClick=!1);let o="x"===e.draggableDirection?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`;r.style.transform=`translate3d(${o},0)`,r.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance))}}function m(){document.removeEventListener("pointermove",h),document.removeEventListener("pointerup",m);let t=a.current;if(i.canDrag&&i.didMove&&t){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return o(!0),e.closeToast(!0),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}(function(e){var t;null==(t=Oc.get(e.containerId||1))||t.setToggle(e.id,e.fn)})({id:e.toastId,containerId:e.containerId,fn:n}),xe.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||p(),window.addEventListener("focus",f),window.addEventListener("blur",p),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",p)}},[e.pauseOnFocusLoss]);let g={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){i.didMove=!1,document.addEventListener("pointermove",h),document.addEventListener("pointerup",m);let n=a.current;i.canCloseOnClick=!0,i.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(i.start=t.clientX,i.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(i.start=t.clientY,i.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:n,bottom:r,left:o,right:i}=a.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=o&&t.clientX<=i&&t.clientY>=n&&t.clientY<=r?p():f()}};return l&&s&&(g.onMouseEnter=p,e.stacked||(g.onMouseLeave=f)),d&&(g.onClick=e=>{c&&c(e),i.canCloseOnClick&&u(!0)}),{playToast:f,pauseToast:p,isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:g}}Gc.loading=(e,t)=>Bc(e,Vc("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Gc.promise=function(e,{pending:t,error:n,success:r},o){let a;t&&(a=kc(t)?Gc.loading(t,o):Gc.loading(t.render,{...o,...t}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,n)=>{if(null==t)return void Gc.dismiss(a);let r={type:e,...i,...o,data:n},l=kc(t)?{render:t}:t;return a?Gc.update(a,{...r,...l}):Gc(l.render,{...r,...l}),n},s=Sc(e)?e():e;return s.then(e=>l("success",r,e)).catch(e=>l("error",n,e)),s},Gc.success=Wc("success"),Gc.info=Wc("info"),Gc.error=Wc("error"),Gc.warning=Wc("warning"),Gc.warn=Gc.warning,Gc.dark=(e,t)=>Bc(e,Vc("default",{theme:"dark",...t})),Gc.dismiss=function(e){Mc(e)},Gc.clearWaitingQueue=(e={})=>{Oc.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})},Gc.isActive=jc,Gc.update=(e,t={})=>{let n=((e,{containerId:t})=>{var n;return null==(n=Oc.get(t||1))?void 0:n.toasts.get(e)})(e,t);if(n){let{props:r,content:o}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:Rc()};a.toastId!==e&&(a.staleId=e);let i=a.render||o;delete a.render,Bc(i,a)}},Gc.done=e=>{Gc.update(e,{progress:1})},Gc.onChange=function(e){return Lc.add(e),()=>{Lc.delete(e)}},Gc.play=e=>qc(!0,e),Gc.pause=e=>qc(!1,e);var Yc=typeof window<"u"?xe.useLayoutEffect:xe.useEffect,$c=({theme:e,type:t,isLoading:n,...r})=>Ce.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":`var(--toastify-icon-color-${t})`,...r});var Zc={info:function(e){return Ce.createElement($c,{...e},Ce.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return Ce.createElement($c,{...e},Ce.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return Ce.createElement($c,{...e},Ce.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return Ce.createElement($c,{...e},Ce.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return Ce.createElement("div",{className:"Toastify__spinner"})}};function Kc({theme:e,type:t,isLoading:n,icon:r}){let o=null,a={theme:e,type:t};return!1===r||(Sc(r)?o=r({...a,isLoading:n}):xe.isValidElement(r)?o=xe.cloneElement(r,a):n?o=Zc.spinner():(e=>e in Zc)(t)&&(o=Zc[t](a))),o}var Jc=e=>{let{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:o,playToast:a}=Qc(e),{closeButton:i,children:l,autoClose:s,onClick:u,type:c,hideProgressBar:d,closeToast:f,transition:p,position:h,className:m,style:g,progressClassName:y,updateId:b,role:v,progress:w,rtl:k,toastId:S,deleteToast:x,isIn:C,isLoading:A,closeOnClick:E,theme:I,ariaLabel:T}=e,_=Vo("Toastify__toast",`Toastify__toast-theme--${I}`,`Toastify__toast--${c}`,{"Toastify__toast--rtl":k},{"Toastify__toast--close-on-click":E}),R=Sc(m)?m({rtl:k,position:h,type:c,defaultClassName:_}):Vo(_,m),P=Kc(e),O=!!w||!s,N={closeToast:f,type:c,theme:I},L=null;return!1===i||(L=Sc(i)?i(N):xe.isValidElement(i)?xe.cloneElement(i,N):function({closeToast:e,theme:t,ariaLabel:n="close"}){return Ce.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:t=>{t.stopPropagation(),e(!0)},"aria-label":n},Ce.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},Ce.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(N)),Ce.createElement(p,{isIn:C,done:x,position:h,preventExitTransition:n,nodeRef:r,playToast:a},Ce.createElement("div",{id:S,tabIndex:0,onClick:u,"data-in":C,className:R,...o,style:g,ref:r,...C&&{role:v,"aria-label":T}},null!=P&&Ce.createElement("div",{className:Vo("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!A})},P),Ic(l,e,!t),L,!e.customProgressBar&&Ce.createElement(Tc,{...b&&!O?{key:`p-${b}`}:{},rtl:k,theme:I,delay:s,isRunning:t,isIn:C,closeToast:f,hide:d,type:c,className:y,controlledProgress:O,progress:w||0})))},Xc=function({enter:e,exit:t,appendPosition:n=!1,collapse:r=!0,collapseDuration:o=300}){return function({children:a,position:i,preventExitTransition:l,done:s,nodeRef:u,isIn:c,playToast:d}){let f=n?`${e}--${i}`:e,p=n?`${t}--${i}`:t,h=xe.useRef(0);return xe.useLayoutEffect(()=>{let e=u.current,t=f.split(" "),n=r=>{r.target===u.current&&(d(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===h.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),xe.useEffect(()=>{let e=u.current,t=()=>{e.removeEventListener("animationend",t),r?function(e,t,n=300){let{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}(e,s,o):s()};c||(l?t():(h.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))},[c]),Ce.createElement(Ce.Fragment,null,a)}}(((e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}))("bounce",!0)),ed={position:"top-right",transition:Xc,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&"KeyT"===e.code};function td(e){let t={...ed,...e},n=e.stacked,[r,o]=xe.useState(!0),a=xe.useRef(null),{getToastToRender:i,isToastActive:l,count:s}=function(e){var t;let{subscribe:n,getSnapshot:r,setProps:o}=xe.useRef(Uc(e)).current;o(e);let a=null==(t=xe.useSyncExternalStore(n,r,r))?void 0:t.slice();return{getToastToRender:function(t){if(!a)return[];let n=new Map;return e.newestOnTop&&a.reverse(),a.forEach(e=>{let{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,e=>t(e[0],e[1]))},isToastActive:jc,count:a?.length}}(t),{className:u,style:c,rtl:d,containerId:f,hotKeys:p}=t;function h(e){let t=Vo("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return Sc(u)?u({position:e,rtl:d,defaultClassName:t}):Vo(t,xc(u))}function m(){n&&(o(!0),Gc.play())}return Yc(()=>{var e;if(n){let n=a.current.querySelectorAll('[data-in="true"]'),o=12,i=null==(e=t.position)?void 0:e.includes("top"),l=0,s=0;Array.from(n).reverse().forEach((e,t)=>{let n=e;n.classList.add("Toastify__toast--stacked"),t>0&&(n.dataset.collapsed=`${r}`),n.dataset.pos||(n.dataset.pos=i?"top":"bot");let a=l*(r?.2:1)+(r?0:o*t);n.style.setProperty("--y",`${i?a:-1*a}px`),n.style.setProperty("--g",`${o}`),n.style.setProperty("--s",""+(1-(r?s:0))),l+=n.offsetHeight,s+=.025})}},[r,s,n]),xe.useEffect(()=>{function e(e){var t;let n=a.current;p(e)&&(null==(t=n.querySelector('[tabIndex="0"]'))||t.focus(),o(!1),Gc.pause()),"Escape"===e.key&&(document.activeElement===n||null!=n&&n.contains(document.activeElement))&&(o(!0),Gc.play())}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[p]),Ce.createElement("section",{ref:a,className:"Toastify",id:f,onMouseEnter:()=>{n&&(o(!1),Gc.pause())},onMouseLeave:m,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},i((e,t)=>{let r=t.length?{...c}:{...c,pointerEvents:"none"};return Ce.createElement("div",{tabIndex:-1,className:h(e),"data-stacked":n,style:r,key:`c-${e}`},t.map(({content:e,props:t})=>Ce.createElement(Jc,{...t,stacked:n,collapseAll:m,isIn:l(t.toastId,t.containerId),key:`t-${t.key}`},e)))}))}const nd=new class{#e;#t;#n;#r;#o;#a;#i;#l;constructor(e={}){this.#e=e.queryCache||new Se,this.#t=e.mutationCache||new we,this.#n=e.defaultOptions||{},this.#r=new Map,this.#o=new Map,this.#a=0}mount(){this.#a++,1===this.#a&&(this.#i=Y.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=J.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,0===this.#a&&(this.#i?.(),this.#i=void 0,this.#l?.(),this.#l=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(R(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=this.#e.get(r.queryHash)?.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(t,o);if(void 0!==a)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return K.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;K.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=this.#e;return K.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=K.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(I).catch(I)}invalidateQueries(e,t={}){return K.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=K.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(I)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(r).then(I)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(R(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(I).catch(I)}fetchInfiniteQuery(e){return e.behavior=he(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(I).catch(I)}ensureInfiniteQueryData(e){return e.behavior=he(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return J.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(z(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(t=>{D(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#o.set(z(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#o.values()],n={};return t.forEach(t=>{D(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=L(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===G&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},rd=e=>{const{organizationId:t,router:n}=e;return t?w.jsxs(Te,{client:nd,children:[w.jsxs(Pi,{props:e,children:[w.jsx(vc,{router:n}),w.jsx(td,{position:"bottom-right",autoClose:3e3})]}),w.jsx(jr,{initialIsOpen:!1})]}):w.jsxs("div",{className:"qc:mx-auto qc:mt-24 qc:w-fit qc:space-y-8",children:[w.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"qc:mx-auto qc:h-48",viewBox:"0 0 799.031 618.112",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img","aria-label":"Error illustration showing a computer screen with an exclamation mark",children:w.jsxs("g",{transform:"translate(-893 -197)",children:[w.jsx("path",{d:"M15.18,488.763c0,.872.478,1.573,1.073,1.573h535.1c.6,0,1.073-.7,1.073-1.573s-.478-1.573-1.073-1.573H16.253C15.658,487.191,15.18,487.891,15.18,488.763Z",transform:"translate(1007.711 324.776)",fill:"#ccc"}),w.jsx("rect",{width:"19.105",height:"3.371",transform:"translate(1198.162 808.354)",fill:"#b6b3c5"}),w.jsx("rect",{width:"19.105",height:"3.371",transform:"translate(1367.295 808.917)",fill:"#b6b3c5"}),w.jsx("path",{d:"M352.955,370.945a27.529,27.529,0,0,1-54.321,0H229.146V521.536h193.3V370.945Z",transform:"translate(966.721 287.378)",fill:"#d6d6e3"}),w.jsx("rect",{width:"193.296",height:"5.242",transform:"translate(1196.43 796.983)",fill:"#090814"}),w.jsx("path",{d:"M788.255,487.17H10.776A10.788,10.788,0,0,1,0,476.394V32.688A10.788,10.788,0,0,1,10.776,21.911H788.255a10.789,10.789,0,0,1,10.776,10.776V476.394a10.789,10.789,0,0,1-10.776,10.776Z",transform:"translate(893 175.089)",fill:"#090814"}),w.jsx("rect",{width:"760.822",height:"429.297",transform:"translate(911.104 213.968)",fill:"#fff"}),w.jsxs("g",{transform:"translate(20.477 16.308)",children:[w.jsx("path",{d:"M604.463,379.271H317.442a8.655,8.655,0,0,1-8.645-8.645V273.8a8.655,8.655,0,0,1,8.645-8.645H604.463a8.655,8.655,0,0,1,8.645,8.645v96.826a8.655,8.655,0,0,1-8.645,8.645Z",transform:"translate(811.648 85.826)",fill:"#ff4800"}),w.jsx("rect",{width:"76.078",height:"8.645",rx:"2",transform:"translate(1165.4 380.374)",fill:"#fff"}),w.jsx("ellipse",{cx:"5.187",cy:"5.187",rx:"5.187",ry:"5.187",transform:"translate(1336.576 380.374)",fill:"#090814"}),w.jsx("ellipse",{cx:"5.187",cy:"5.187",rx:"5.187",ry:"5.187",transform:"translate(1353.865 380.374)",fill:"#090814"}),w.jsx("ellipse",{cx:"5.187",cy:"5.187",rx:"5.187",ry:"5.187",transform:"translate(1371.156 380.374)",fill:"#090814"})]}),w.jsx("ellipse",{cx:"40.952",cy:"40.952",rx:"40.952",ry:"40.952",transform:"translate(1404.281 440.452)",fill:"#090814"}),w.jsx("path",{d:"M10.863-57.7l-.524-29.6h8.246l-.554,29.6Zm3.613,14.307a4.7,4.7,0,0,1-3.409-1.3,4.368,4.368,0,0,1-1.34-3.278,4.39,4.39,0,0,1,1.34-3.322,4.732,4.732,0,0,1,3.409-1.282,4.732,4.732,0,0,1,3.409,1.282,4.39,4.39,0,0,1,1.34,3.322,4.368,4.368,0,0,1-1.34,3.278A4.7,4.7,0,0,1,14.476-43.394Z",transform:"translate(1430.76 546.754)",fill:"#fff"})]})}),w.jsxs("div",{className:"qc:space-y-4",children:[w.jsx("h4",{className:"qc:text-foreground qc:text-center qc:text-lg qc:font-medium",children:"Organization ID is required"}),w.jsx("h5",{className:"qc:text-muted qc:text-center",children:"Please contact the admin for more information"})]})]})};var od,ad={exports:{}},id={},ld={exports:{}},sd={};
|
|
51
51
|
/**
|
|
52
52
|
* @license React
|
|
53
53
|
* scheduler.production.js
|
|
@@ -56,7 +56,7 @@ return"production"!=={}.NODE_ENV&&function(){function e(t){if(null==t)return nul
|
|
|
56
56
|
*
|
|
57
57
|
* This source code is licensed under the MIT license found in the
|
|
58
58
|
* LICENSE file in the root directory of this source tree.
|
|
59
|
-
*/var
|
|
59
|
+
*/var ud,cd,dd={};function fd(){if(cd)return ld.exports;cd=1;return ld.exports="production"==={}.NODE_ENV?(od||(od=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;function w(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function k(e){if(m=!1,w(e),!h)if(null!==n(s))h=!0,x||(x=!0,S());else{var t=n(u);null!==t&&P(k,t.startTime-e)}}var S,x=!1,C=-1,A=5,E=-1;function I(){return!(!g&&e.unstable_now()-E<A)}function T(){if(g=!1,x){var t=e.unstable_now();E=t;var o=!0;try{e:{h=!1,m&&(m=!1,b(C),C=-1),p=!0;var a=f;try{t:{for(w(t),d=n(s);null!==d&&!(d.expirationTime>t&&I());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof l){d.callback=l,w(t),o=!0;break t}d===n(s)&&r(s),w(t)}else r(s);d=n(s)}if(null!==d)o=!0;else{var c=n(u);null!==c&&P(k,c.startTime-t),o=!1}}break e}finally{d=null,f=a,p=!1}o=void 0}}finally{o?S():x=!1}}}if("function"==typeof v)S=function(){v(T)};else if(typeof MessageChannel<"u"){var _=new MessageChannel,R=_.port2;_.port1.onmessage=T,S=function(){R.postMessage(null)}}else S=function(){y(T,0)};function P(t,n){C=y(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(u,r),null===n(s)&&r===n(u)&&(m?(b(C),C=-1):m=!0,P(k,a-i))):(r.sortIndex=l,t(s,r),h||p||(h=!0,x||(x=!0,S()))),r},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(sd)),sd):(ud||(ud=1,function(e){
|
|
60
60
|
/**
|
|
61
61
|
* @license React
|
|
62
62
|
* scheduler.development.js
|
|
@@ -66,7 +66,7 @@ return"production"!=={}.NODE_ENV&&function(){function e(t){if(null==t)return nul
|
|
|
66
66
|
* This source code is licensed under the MIT license found in the
|
|
67
67
|
* LICENSE file in the root directory of this source tree.
|
|
68
68
|
*/
|
|
69
|
-
"production"!=={}.NODE_ENV&&function(){function t(){if(k=!1,A){var t=e.unstable_now();T=t;var n=!0;try{e:{v=!1,w&&(w=!1,x(E),E=-1),b=!0;var a=y;try{t:{for(i(t),g=r(p);null!==g&&!(g.expirationTime>t&&s());){var c=g.callback;if("function"==typeof c){g.callback=null,y=g.priorityLevel;var d=c(g.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof d){g.callback=d,i(t),n=!0;break t}g===r(p)&&o(p),i(t)}else o(p);g=r(p)}if(null!==g)n=!0;else{var f=r(h);null!==f&&u(l,f.startTime-t),n=!1}}break e}finally{g=null,y=a,b=!1}n=void 0}}finally{n?_():A=!1}}}function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>a(s,n))u<o&&0>a(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function i(e){for(var t=r(h);null!==t;){if(null===t.callback)o(h);else{if(!(t.startTime<=e))break;o(h),t.sortIndex=t.expirationTime,n(p,t)}t=r(h)}}function l(e){if(w=!1,i(e),!v)if(null!==r(p))v=!0,A||(A=!0,_());else{var t=r(h);null!==t&&u(l,t.startTime-e)}}function s(){return!(!k&&e.unstable_now()-T<I)}function u(t,n){E=S(function(){t(e.unstable_now())},n)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var c=performance;e.unstable_now=function(){return c.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],h=[],m=1,g=null,y=3,b=!1,v=!1,w=!1,k=!1,S="function"==typeof setTimeout?setTimeout:null,x="function"==typeof clearTimeout?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null,A=!1,E=-1,I=5,T=-1;if("function"==typeof C)var _=function(){C(t)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,P=R.port2;R.port1.onmessage=t,_=function(){P.postMessage(null)}}else _=function(){S(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(e){switch(y){case 1:case 2:case 3:var t=3;break;default:t=y}var n=y;y=t;try{return e()}finally{y=n}},e.unstable_requestPaint=function(){k=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=y;y=e;try{return t()}finally{y=n}},e.unstable_scheduleCallback=function(t,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return t={id:m++,callback:o,priorityLevel:t,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(t.sortIndex=a,n(h,t),null===r(p)&&t===r(h)&&(w?(x(E),E=-1):w=!0,u(l,a-i))):(t.sortIndex=s,n(p,t),v||b||(v=!0,A||(A=!0,_()))),t},e.unstable_shouldYield=s,e.unstable_wrapCallback=function(e){var t=y;return function(){var n=y;y=t;try{return e.apply(this,arguments)}finally{y=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(
|
|
69
|
+
"production"!=={}.NODE_ENV&&function(){function t(){if(k=!1,A){var t=e.unstable_now();T=t;var n=!0;try{e:{v=!1,w&&(w=!1,x(E),E=-1),b=!0;var a=y;try{t:{for(i(t),g=r(p);null!==g&&!(g.expirationTime>t&&s());){var c=g.callback;if("function"==typeof c){g.callback=null,y=g.priorityLevel;var d=c(g.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof d){g.callback=d,i(t),n=!0;break t}g===r(p)&&o(p),i(t)}else o(p);g=r(p)}if(null!==g)n=!0;else{var f=r(h);null!==f&&u(l,f.startTime-t),n=!1}}break e}finally{g=null,y=a,b=!1}n=void 0}}finally{n?_():A=!1}}}function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>a(s,n))u<o&&0>a(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function i(e){for(var t=r(h);null!==t;){if(null===t.callback)o(h);else{if(!(t.startTime<=e))break;o(h),t.sortIndex=t.expirationTime,n(p,t)}t=r(h)}}function l(e){if(w=!1,i(e),!v)if(null!==r(p))v=!0,A||(A=!0,_());else{var t=r(h);null!==t&&u(l,t.startTime-e)}}function s(){return!(!k&&e.unstable_now()-T<I)}function u(t,n){E=S(function(){t(e.unstable_now())},n)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var c=performance;e.unstable_now=function(){return c.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],h=[],m=1,g=null,y=3,b=!1,v=!1,w=!1,k=!1,S="function"==typeof setTimeout?setTimeout:null,x="function"==typeof clearTimeout?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null,A=!1,E=-1,I=5,T=-1;if("function"==typeof C)var _=function(){C(t)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,P=R.port2;R.port1.onmessage=t,_=function(){P.postMessage(null)}}else _=function(){S(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(e){switch(y){case 1:case 2:case 3:var t=3;break;default:t=y}var n=y;y=t;try{return e()}finally{y=n}},e.unstable_requestPaint=function(){k=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=y;y=e;try{return t()}finally{y=n}},e.unstable_scheduleCallback=function(t,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return t={id:m++,callback:o,priorityLevel:t,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(t.sortIndex=a,n(h,t),null===r(p)&&t===r(h)&&(w?(x(E),E=-1):w=!0,u(l,a-i))):(t.sortIndex=s,n(p,t),v||b||(v=!0,A||(A=!0,_()))),t},e.unstable_shouldYield=s,e.unstable_wrapCallback=function(e){var t=y;return function(){var n=y;y=t;try{return e.apply(this,arguments)}finally{y=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(dd)),dd),ld.exports}var pd,hd={exports:{}},md={};
|
|
70
70
|
/**
|
|
71
71
|
* @license React
|
|
72
72
|
* react-dom.production.js
|
|
@@ -75,7 +75,7 @@ return"production"!=={}.NODE_ENV&&function(){function e(t){if(null==t)return nul
|
|
|
75
75
|
*
|
|
76
76
|
* This source code is licensed under the MIT license found in the
|
|
77
77
|
* LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/function
|
|
78
|
+
*/function gd(){if(pd)return md;pd=1;var e=b();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");var a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function i(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return md.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,md.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:o,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,n,null,r)},md.flushSync=function(e){var t=a.T,n=r.p;try{if(a.T=null,r.p=2,e)return e()}finally{a.T=t,r.p=n,r.d.f()}},md.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,r.d.C(e,t))},md.prefetchDNS=function(e){"string"==typeof e&&r.d.D(e)},md.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,o=i(n,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,l="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?r.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:o,integrity:a,fetchPriority:l}):"script"===n&&r.d.X(e,{crossOrigin:o,integrity:a,fetchPriority:l,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},md.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=i(t.as,t.crossOrigin);r.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&r.d.M(e)},md.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,o=i(n,t.crossOrigin);r.d.L(e,n,{crossOrigin:o,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},md.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=i(t.as,t.crossOrigin);r.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else r.d.m(e)},md.requestFormReset=function(e){r.d.r(e)},md.unstable_batchedUpdates=function(e,t){return e(t)},md.useFormState=function(e,t,n){return a.H.useFormState(e,t,n)},md.useFormStatus=function(){return a.H.useHostTransitionStatus()},md.version="19.2.0",md}var yd,bd,vd,wd={};function kd(){if(yd)return wd;yd=1;
|
|
79
79
|
/**
|
|
80
80
|
* @license React
|
|
81
81
|
* react-dom.development.js
|
|
@@ -85,7 +85,7 @@ return"production"!=={}.NODE_ENV&&function(){function e(t){if(null==t)return nul
|
|
|
85
85
|
* This source code is licensed under the MIT license found in the
|
|
86
86
|
* LICENSE file in the root directory of this source tree.
|
|
87
87
|
*/
|
|
88
|
-
return"production"!=={}.NODE_ENV&&function(){function e(){}function t(e){return""+e}function n(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}function r(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":'something with type "'+typeof e+'"'}function o(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":"string"==typeof e?JSON.stringify(e):"number"==typeof e?"`"+e+"`":'something with type "'+typeof e+'"'}function a(){var e=u.H;return null===e&&console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=b(),l={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},s=Symbol.for("react.portal"),u=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),
|
|
88
|
+
return"production"!=={}.NODE_ENV&&function(){function e(){}function t(e){return""+e}function n(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}function r(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":'something with type "'+typeof e+'"'}function o(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":"string"==typeof e?JSON.stringify(e):"number"==typeof e?"`"+e+"`":'something with type "'+typeof e+'"'}function a(){var e=u.H;return null===e&&console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=b(),l={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},s=Symbol.for("react.portal"),u=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),wd.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,wd.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error("Target container is not a DOM element.");return function(e,n,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;try{t(o);var a=!1}catch{a=!0}return a&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.","function"==typeof Symbol&&Symbol.toStringTag&&o[Symbol.toStringTag]||o.constructor.name||"Object"),t(o)),{$$typeof:s,key:null==o?null:""+o,children:e,containerInfo:n,implementation:r}}(e,n,null,r)},wd.flushSync=function(e){var t=u.T,n=l.p;try{if(u.T=null,l.p=2,e)return e()}finally{u.T=t,l.p=n,l.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},wd.preconnect=function(e,t){"string"==typeof e&&e?null!=t&&"object"!=typeof t?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",o(t)):null!=t&&"string"!=typeof t.crossOrigin&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",r(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(e)),"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,l.d.C(e,t))},wd.prefetchDNS=function(e){if("string"==typeof e&&e){if(1<arguments.length){var t=arguments[1];"object"==typeof t&&t.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t))}}else console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(e));"string"==typeof e&&l.d.D(e)},wd.preinit=function(e,t){if("string"==typeof e&&e?null==t||"object"!=typeof t?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",o(t)):"style"!==t.as&&"script"!==t.as&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',o(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(e)),"string"==typeof e&&t&&"string"==typeof t.as){var a=t.as,i=n(a,t.crossOrigin),s="string"==typeof t.integrity?t.integrity:void 0,u="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===a?l.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:i,integrity:s,fetchPriority:u}):"script"===a&&l.d.X(e,{crossOrigin:i,integrity:s,fetchPriority:u,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},wd.preinitModule=function(e,t){var a="";if("string"==typeof e&&e||(a+=" The `href` argument encountered was "+r(e)+"."),void 0!==t&&"object"!=typeof t?a+=" The `options` argument encountered was "+r(t)+".":t&&"as"in t&&"script"!==t.as&&(a+=" The `as` option encountered was "+o(t.as)+"."),a)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",a);else if("script"===(a=t&&"string"==typeof t.as?t.as:"script"));else a=o(a),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',a,e);"string"==typeof e&&("object"==typeof t&&null!==t?(null==t.as||"script"===t.as)&&(a=n(t.as,t.crossOrigin),l.d.M(e,{crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})):null==t&&l.d.M(e))},wd.preload=function(e,t){var o="";if("string"==typeof e&&e||(o+=" The `href` argument encountered was "+r(e)+"."),null==t||"object"!=typeof t?o+=" The `options` argument encountered was "+r(t)+".":"string"==typeof t.as&&t.as||(o+=" The `as` option encountered was "+r(t.as)+"."),o&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',o),"string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var a=n(o=t.as,t.crossOrigin);l.d.L(e,o,{crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},wd.preloadModule=function(e,t){var o="";"string"==typeof e&&e||(o+=" The `href` argument encountered was "+r(e)+"."),void 0!==t&&"object"!=typeof t?o+=" The `options` argument encountered was "+r(t)+".":t&&"as"in t&&"string"!=typeof t.as&&(o+=" The `as` option encountered was "+r(t.as)+"."),o&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',o),"string"==typeof e&&(t?(o=n(t.as,t.crossOrigin),l.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:o,integrity:"string"==typeof t.integrity?t.integrity:void 0})):l.d.m(e))},wd.requestFormReset=function(e){l.d.r(e)},wd.unstable_batchedUpdates=function(e,t){return e(t)},wd.useFormState=function(e,t,n){return a().useFormState(e,t,n)},wd.useFormStatus=function(){return a().useHostTransitionStatus()},wd.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),wd}function Sd(){if(bd)return hd.exports;bd=1;var e={};return"production"===e.NODE_ENV?(function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)){if("production"!==e.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}(),hd.exports=gd()):hd.exports=kd(),hd.exports
|
|
89
89
|
/**
|
|
90
90
|
* @license React
|
|
91
91
|
* react-dom-client.production.js
|
|
@@ -94,7 +94,7 @@ return"production"!=={}.NODE_ENV&&function(){function e(){}function t(e){return"
|
|
|
94
94
|
*
|
|
95
95
|
* This source code is licensed under the MIT license found in the
|
|
96
96
|
* LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/}function Sd(){if(bd)return ad;bd=1;var e=dd(),t=b(),n=kd();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function a(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function i(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function l(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function s(e){if(a(e)!==e)throw Error(r(188))}function u(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=u(e)))return t;e=e.sibling}return null}var c=Object.assign,d=Symbol.for("react.element"),f=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),v=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),E=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function T(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var _=Symbol.for("react.client.reference");function R(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===_?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case g:return"Profiler";case m:return"StrictMode";case k:return"Suspense";case S:return"SuspenseList";case A:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case p:return"Portal";case v:return e.displayName||"Context";case y:return(e._context.displayName||"Context")+".Consumer";case w:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case x:return null!==(t=e.displayName||null)?t:R(e.type)||"Memo";case C:t=e._payload,e=e._init;try{return R(e(t))}catch{}}return null}var P=Array.isArray,O=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},z=[],D=-1;function j(e){return{current:e}}function M(e){0>D||(e.current=z[D],z[D]=null,D--)}function F(e,t){D++,z[D]=e.current,e.current=t}var q,U,H=j(null),B=j(null),V=j(null),W=j(null);function G(e,t){switch(F(V,t),F(B,e),F(H,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?yd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=vd(t=yd(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}M(H),F(H,e)}function Q(){M(H),M(B),M(V)}function Y(e){null!==e.memoizedState&&F(W,e);var t=H.current,n=vd(t,e.type);t!==n&&(F(B,e),F(H,n))}function $(e){B.current===e&&(M(H),M(B)),W.current===e&&(M(W),pf._currentValue=L)}function Z(e){if(void 0===q)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);q=t&&t[1]||"",U=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+q+e+U}var K=!1;function J(e,t){if(!e||K)return"";K=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),u=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===u.length)for(r=s.length-1,o=u.length-1;1<=r&&0<=o&&s[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==u[o]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{K=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Z(n):""}function X(e,t){switch(e.tag){case 26:case 27:case 5:return Z(e.type);case 16:return Z("Lazy");case 13:return e.child!==t&&null!==t?Z("Suspense Fallback"):Z("Suspense");case 19:return Z("SuspenseList");case 0:case 15:return J(e.type,!1);case 11:return J(e.type.render,!1);case 1:return J(e.type,!0);case 31:return Z("Activity");default:return""}}function ee(e){try{var t="",n=null;do{t+=X(e,n),n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var te=Object.prototype.hasOwnProperty,ne=e.unstable_scheduleCallback,re=e.unstable_cancelCallback,oe=e.unstable_shouldYield,ae=e.unstable_requestPaint,ie=e.unstable_now,le=e.unstable_getCurrentPriorityLevel,se=e.unstable_ImmediatePriority,ue=e.unstable_UserBlockingPriority,ce=e.unstable_NormalPriority,de=e.unstable_LowPriority,fe=e.unstable_IdlePriority,pe=e.log,he=e.unstable_setDisableYieldValue,me=null,ge=null;function ye(e){if("function"==typeof pe&&he(e),ge&&"function"==typeof ge.setStrictMode)try{ge.setStrictMode(me,e)}catch{}}var be=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ve(e)/we|0)|0},ve=Math.log,we=Math.LN2;var ke=256,Se=262144,xe=4194304;function Ce(e){var t=42&e;if(0!==t)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ae(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=134217727&r;return 0!==l?0!==(r=l&~a)?o=Ce(r):0!==(i&=l)?o=Ce(i):n||0!==(n=l&~e)&&(o=Ce(n)):0!==(l=r&~a)?o=Ce(l):0!==i?o=Ce(i):n||0!==(n=r&~e)&&(o=Ce(n)),0===o?0:0!==t&&t!==o&&0===(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&4194048&n)?t:o}function Ee(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Ie(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;default:return-1}}function Te(){var e=xe;return!(62914560&(xe<<=1))&&(xe=4194304),e}function _e(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Re(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Pe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-be(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Oe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-be(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Ne(e,t){var n=t&-t;return 0!==((n=42&n?1:Le(n))&(e.suspendedLanes|t))?0:n}function Le(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ze(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function De(){var e=N.p;return 0!==e?e:void 0===(e=window.event)?32:_f(e.type)}function je(e,t){var n=N.p;try{return N.p=e,t()}finally{N.p=n}}var Me=Math.random().toString(36).slice(2),Fe="__reactFiber$"+Me,qe="__reactProps$"+Me,Ue="__reactContainer$"+Me,He="__reactEvents$"+Me,Be="__reactListeners$"+Me,Ve="__reactHandles$"+Me,We="__reactResources$"+Me,Ge="__reactMarker$"+Me;function Qe(e){delete e[Fe],delete e[qe],delete e[He],delete e[Be],delete e[Ve]}function Ye(e){var t=e[Fe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ue]||n[Fe]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Md(e);null!==e;){if(n=e[Fe])return n;e=Md(e)}return t}n=(e=n).parentNode}return null}function $e(e){if(e=e[Fe]||e[Ue]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function Ze(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(r(33))}function Ke(e){var t=e[We];return t||(t=e[We]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[Ge]=!0}var Xe=new Set,et={};function tt(e,t){nt(e,t),nt(e+"Capture",t)}function nt(e,t){for(et[e]=t,e=0;e<t.length;e++)Xe.add(t[e])}var rt=RegExp("^[: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][: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]*$"),ot={},at={};function it(e,t,n){if(function(e){return!!te.call(at,e)||!te.call(ot,e)&&(rt.test(e)?at[e]=!0:(ot[e]=!0,!1))}(t))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function lt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function st(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function ut(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ct(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function dt(e){if(!e._valueTracker){var t=ct(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function ft(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ct(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function pt(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ht=/[\n"\\]/g;function mt(e){return e.replace(ht,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function gt(e,t,n,r,o,a,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ut(t)):e.value!==""+ut(t)&&(e.value=""+ut(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?bt(e,i,ut(t)):null!=n?bt(e,i,ut(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+ut(l):e.removeAttribute("name")}function yt(e,t,n,r,o,a,i,l){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return void dt(e);n=null!=n?""+ut(n):"",t=null!=t?""+ut(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=r??o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),dt(e)}function bt(e,t,n){"number"===t&&pt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function vt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ut(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function wt(e,t,n){null==t||((t=""+ut(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ut(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function kt(e,t,n,o){if(null==t){if(null!=o){if(null!=n)throw Error(r(92));if(P(o)){if(1<o.length)throw Error(r(93));o=o[0]}n=o}null==n&&(n=""),t=n}n=ut(t),e.defaultValue=n,(o=e.textContent)===n&&""!==o&&null!==o&&(e.value=o),dt(e)}function St(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var xt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ct(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||xt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function At(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(r(62));if(e=e.style,null!=n){for(var o in n)!n.hasOwnProperty(o)||null!=t&&t.hasOwnProperty(o)||(0===o.indexOf("--")?e.setProperty(o,""):"float"===o?e.cssFloat="":e[o]="");for(var a in t)o=t[a],t.hasOwnProperty(a)&&n[a]!==o&&Ct(e,a,o)}else for(var i in t)t.hasOwnProperty(i)&&Ct(e,i,t[i])}function Et(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var It=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Tt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function _t(e){return Tt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Rt(){}var Pt=null;function Ot(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Nt=null,Lt=null;function zt(e){var t=$e(e);if(t&&(e=t.stateNode)){var n=e[qe]||null;e:switch(e=t.stateNode,t.type){case"input":if(gt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+mt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var a=o[qe]||null;if(!a)throw Error(r(90));gt(o,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(o=n[t]).form===e.form&&ft(o)}break e;case"textarea":wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&vt(e,!!n.multiple,t,!1)}}}var Dt=!1;function jt(e,t,n){if(Dt)return e(t,n);Dt=!0;try{return e(t)}finally{if(Dt=!1,(null!==Nt||null!==Lt)&&(Ku(),Nt&&(t=Nt,e=Lt,Lt=Nt=null,zt(t),e)))for(t=0;t<e.length;t++)zt(e[t])}}function Mt(e,t){var n=e.stateNode;if(null===n)return null;var o=n[qe]||null;if(null===o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var Ft=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qt=!1;if(Ft)try{var Ut={};Object.defineProperty(Ut,"passive",{get:function(){qt=!0}}),window.addEventListener("test",Ut,Ut),window.removeEventListener("test",Ut,Ut)}catch{qt=!1}var Ht=null,Bt=null,Vt=null;function Wt(){if(Vt)return Vt;var e,t,n=Bt,r=n.length,o="value"in Ht?Ht.value:Ht.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Vt=o.slice(e,1<t?1-t:void 0)}function Gt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Qt(){return!0}function Yt(){return!1}function $t(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Qt:Yt,this.isPropagationStopped=Yt,this}return c(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Qt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Qt)},persist:function(){},isPersistent:Qt}),t}var Zt,Kt,Jt,Xt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},en=$t(Xt),tn=c({},Xt,{view:0,detail:0}),nn=$t(tn),rn=c({},tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jt&&(Jt&&"mousemove"===e.type?(Zt=e.screenX-Jt.screenX,Kt=e.screenY-Jt.screenY):Kt=Zt=0,Jt=e),Zt)},movementY:function(e){return"movementY"in e?e.movementY:Kt}}),on=$t(rn),an=$t(c({},rn,{dataTransfer:0})),ln=$t(c({},tn,{relatedTarget:0})),sn=$t(c({},Xt,{animationName:0,elapsedTime:0,pseudoElement:0})),un=$t(c({},Xt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),cn=$t(c({},Xt,{data:0})),dn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fn={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"},pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=pn[e])&&!!t[e]}function mn(){return hn}var gn=$t(c({},tn,{key:function(e){if(e.key){var t=dn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Gt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?fn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:function(e){return"keypress"===e.type?Gt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Gt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),yn=$t(c({},rn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bn=$t(c({},tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),vn=$t(c({},Xt,{propertyName:0,elapsedTime:0,pseudoElement:0})),wn=$t(c({},rn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),kn=$t(c({},Xt,{newState:0,oldState:0})),Sn=[9,13,27,32],xn=Ft&&"CompositionEvent"in window,Cn=null;Ft&&"documentMode"in document&&(Cn=document.documentMode);var An=Ft&&"TextEvent"in window&&!Cn,En=Ft&&(!xn||Cn&&8<Cn&&11>=Cn),In=" ",Tn=!1;function _n(e,t){switch(e){case"keyup":return-1!==Sn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Pn=!1;var On={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 Nn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!On[e.type]:"textarea"===t}function Ln(e,t,n,r){Nt?Lt?Lt.push(r):Lt=[r]:Nt=r,0<(t=td(t,"onChange")).length&&(n=new en("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var zn=null,Dn=null;function jn(e){Qc(e,0)}function Mn(e){if(ft(Ze(e)))return e}function Fn(e,t){if("change"===e)return t}var qn=!1;if(Ft){var Un;if(Ft){var Hn="oninput"in document;if(!Hn){var Bn=document.createElement("div");Bn.setAttribute("oninput","return;"),Hn="function"==typeof Bn.oninput}Un=Hn}else Un=!1;qn=Un&&(!document.documentMode||9<document.documentMode)}function Vn(){zn&&(zn.detachEvent("onpropertychange",Wn),Dn=zn=null)}function Wn(e){if("value"===e.propertyName&&Mn(Dn)){var t=[];Ln(t,Dn,e,Ot(e)),jt(jn,t)}}function Gn(e,t,n){"focusin"===e?(Vn(),Dn=n,(zn=t).attachEvent("onpropertychange",Wn)):"focusout"===e&&Vn()}function Qn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Mn(Dn)}function Yn(e,t){if("click"===e)return Mn(t)}function $n(e,t){if("input"===e||"change"===e)return Mn(t)}var Zn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Kn(e,t){if(Zn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!te.call(t,o)||!Zn(e[o],t[o]))return!1}return!0}function Jn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xn(e,t){var n,r=Jn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Jn(r)}}function er(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?er(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function tr(e){for(var t=pt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=pt((e=t.contentWindow).document)}return t}function nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rr=Ft&&"documentMode"in document&&11>=document.documentMode,or=null,ar=null,ir=null,lr=!1;function sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;lr||null==or||or!==pt(r)||("selectionStart"in(r=or)&&nr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},ir&&Kn(ir,r)||(ir=r,0<(r=td(ar,"onSelect")).length&&(t=new en("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=or)))}function ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var cr={animationend:ur("Animation","AnimationEnd"),animationiteration:ur("Animation","AnimationIteration"),animationstart:ur("Animation","AnimationStart"),transitionrun:ur("Transition","TransitionRun"),transitionstart:ur("Transition","TransitionStart"),transitioncancel:ur("Transition","TransitionCancel"),transitionend:ur("Transition","TransitionEnd")},dr={},fr={};function pr(e){if(dr[e])return dr[e];if(!cr[e])return e;var t,n=cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in fr)return dr[e]=n[t];return e}Ft&&(fr=document.createElement("div").style,"AnimationEvent"in window||(delete cr.animationend.animation,delete cr.animationiteration.animation,delete cr.animationstart.animation),"TransitionEvent"in window||delete cr.transitionend.transition);var hr=pr("animationend"),mr=pr("animationiteration"),gr=pr("animationstart"),yr=pr("transitionrun"),br=pr("transitionstart"),vr=pr("transitioncancel"),wr=pr("transitionend"),kr=new Map,Sr="abort auxClick beforeToggle 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 xr(e,t){kr.set(e,t),tt(t,[e])}Sr.push("scrollEnd");var Cr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Ar=[],Er=0,Ir=0;function Tr(){for(var e=Er,t=Ir=Er=0;t<e;){var n=Ar[t];Ar[t++]=null;var r=Ar[t];Ar[t++]=null;var o=Ar[t];Ar[t++]=null;var a=Ar[t];if(Ar[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&Or(n,o,a)}}function _r(e,t,n,r){Ar[Er++]=e,Ar[Er++]=t,Ar[Er++]=n,Ar[Er++]=r,Ir|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Rr(e,t,n,r){return _r(e,t,n,r),Nr(e)}function Pr(e,t){return _r(e,null,null,t),Nr(e)}function Or(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-be(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),a):null}function Nr(e){if(50<Hu)throw Hu=0,Bu=null,Error(r(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Lr={};function zr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dr(e,t,n,r){return new zr(e,t,n,r)}function jr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mr(e,t){var n=e.alternate;return null===n?((n=Dr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Fr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function qr(e,t,n,o,a,i){var l=0;if(o=e,"function"==typeof e)jr(e)&&(l=1);else if("string"==typeof e)l=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,H.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case A:return(e=Dr(31,n,t,a)).elementType=A,e.lanes=i,e;case h:return Ur(n.children,a,i,t);case m:l=8,a|=24;break;case g:return(e=Dr(12,n,t,2|a)).elementType=g,e.lanes=i,e;case k:return(e=Dr(13,n,t,a)).elementType=k,e.lanes=i,e;case S:return(e=Dr(19,n,t,a)).elementType=S,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case v:l=10;break e;case y:l=9;break e;case w:l=11;break e;case x:l=14;break e;case C:l=16,o=null;break e}l=29,n=Error(r(130,null===e?"null":typeof e,"")),o=null}return(t=Dr(l,n,t,a)).elementType=e,t.type=o,t.lanes=i,t}function Ur(e,t,n,r){return(e=Dr(7,e,r,t)).lanes=n,e}function Hr(e,t,n){return(e=Dr(6,e,null,t)).lanes=n,e}function Br(e){var t=Dr(18,null,null,0);return t.stateNode=e,t}function Vr(e,t,n){return(t=Dr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Wr=new WeakMap;function Gr(e,t){if("object"==typeof e&&null!==e){var n=Wr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ee(t)},Wr.set(e,t),t)}return{value:e,source:t,stack:ee(t)}}var Qr=[],Yr=0,$r=null,Zr=0,Kr=[],Jr=0,Xr=null,eo=1,to="";function no(e,t){Qr[Yr++]=Zr,Qr[Yr++]=$r,$r=e,Zr=t}function ro(e,t,n){Kr[Jr++]=eo,Kr[Jr++]=to,Kr[Jr++]=Xr,Xr=e;var r=eo;e=to;var o=32-be(r)-1;r&=~(1<<o),n+=1;var a=32-be(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,eo=1<<32-be(t)+o|n<<o|r,to=a+e}else eo=1<<a|n<<o|r,to=e}function oo(e){null!==e.return&&(no(e,1),ro(e,1,0))}function ao(e){for(;e===$r;)$r=Qr[--Yr],Qr[Yr]=null,Zr=Qr[--Yr],Qr[Yr]=null;for(;e===Xr;)Xr=Kr[--Jr],Kr[Jr]=null,to=Kr[--Jr],Kr[Jr]=null,eo=Kr[--Jr],Kr[Jr]=null}function io(e,t){Kr[Jr++]=eo,Kr[Jr++]=to,Kr[Jr++]=Xr,eo=t.id,to=t.overflow,Xr=e}var lo=null,so=null,uo=!1,co=null,fo=!1,po=Error(r(519));function ho(e){throw wo(Gr(Error(r(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),po}function mo(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Fe]=e,t[qe]=r,n){case"dialog":Yc("cancel",t),Yc("close",t);break;case"iframe":case"object":case"embed":Yc("load",t);break;case"video":case"audio":for(n=0;n<Wc.length;n++)Yc(Wc[n],t);break;case"source":Yc("error",t);break;case"img":case"image":case"link":Yc("error",t),Yc("load",t);break;case"details":Yc("toggle",t);break;case"input":Yc("invalid",t),yt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Yc("invalid",t);break;case"textarea":Yc("invalid",t),kt(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||sd(t.textContent,n)?(null!=r.popover&&(Yc("beforetoggle",t),Yc("toggle",t)),null!=r.onScroll&&Yc("scroll",t),null!=r.onScrollEnd&&Yc("scrollend",t),null!=r.onClick&&(t.onclick=Rt),t=!0):t=!1,t||ho(e,!0)}function go(e){for(lo=e.return;lo;)switch(lo.tag){case 5:case 31:case 13:return void(fo=!1);case 27:case 3:return void(fo=!0);default:lo=lo.return}}function yo(e){if(e!==lo)return!1;if(!uo)return go(e),uo=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||wd(e.type,e.memoizedProps)),t=!t),t&&so&&ho(e),go(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));so=jd(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));so=jd(e)}else 27===n?(n=so,Td(e.type)?(e=Dd,Dd=null,so=e):so=n):so=lo?zd(e.stateNode.nextSibling):null;return!0}function bo(){so=lo=null,uo=!1}function vo(){var e=co;return null!==e&&(null===Tu?Tu=e:Tu.push.apply(Tu,e),co=null),e}function wo(e){null===co?co=[e]:co.push(e)}var ko=j(null),So=null,xo=null;function Co(e,t,n){F(ko,t._currentValue),t._currentValue=n}function Ao(e){e._currentValue=ko.current,M(ko)}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Io(e,t,n,o){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var i=a.dependencies;if(null!==i){var l=a.child;i=i.firstContext;e:for(;null!==i;){var s=i;i=a;for(var u=0;u<t.length;u++)if(s.context===t[u]){i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Eo(i.return,n,e),o||(l=null);break e}i=s.next}}else if(18===a.tag){if(null===(l=a.return))throw Error(r(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),Eo(l,n,e),l=null}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===e){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}}function To(e,t,n,o){e=null;for(var a=t,i=!1;null!==a;){if(!i)if(524288&a.flags)i=!0;else if(262144&a.flags)break;if(10===a.tag){var l=a.alternate;if(null===l)throw Error(r(387));if(null!==(l=l.memoizedProps)){var s=a.type;Zn(a.pendingProps.value,l.value)||(null!==e?e.push(s):e=[s])}}else if(a===W.current){if(null===(l=a.alternate))throw Error(r(387));l.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(pf):e=[pf])}a=a.return}null!==e&&Io(t,e,n,o),t.flags|=262144}function _o(e){for(e=e.firstContext;null!==e;){if(!Zn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ro(e){So=e,xo=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Po(e){return No(So,e)}function Oo(e,t){return null===So&&Ro(e),No(e,t)}function No(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===xo){if(null===e)throw Error(r(308));xo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else xo=xo.next=t;return n}var Lo=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},zo=e.unstable_scheduleCallback,Do=e.unstable_NormalPriority,jo={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Mo(){return{controller:new Lo,data:new Map,refCount:0}}function Fo(e){e.refCount--,0===e.refCount&&zo(Do,function(){e.controller.abort()})}var qo=null,Uo=0,Ho=0,Bo=null;function Vo(){if(0===--Uo&&null!==qo){null!==Bo&&(Bo.status="fulfilled");var e=qo;qo=null,Ho=0,Bo=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Wo=O.S;O.S=function(e,t){Pu=ie(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===qo){var n=qo=[];Uo=0,Ho=qc(),Bo={status:"pending",value:void 0,then:function(e){n.push(e)}}}Uo++,t.then(Vo,Vo)}(0,t),null!==Wo&&Wo(e,t)};var Go=j(null);function Qo(){var e=Go.current;return null!==e?e:fu.pooledCache}function Yo(e,t){F(Go,null===t?Go.current:t.pool)}function $o(){var e=Qo();return null===e?null:{parent:jo._currentValue,pool:e}}var Zo=Error(r(460)),Ko=Error(r(474)),Jo=Error(r(542)),Xo={then:function(){}};function ea(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ta(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Rt,Rt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw aa(e=t.reason),e;default:if("string"==typeof t.status)t.then(Rt,Rt);else{if(null!==(e=fu)&&100<e.shellSuspendCounter)throw Error(r(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw aa(e=t.reason),e}throw ra=t,Zo}}function na(e){try{return(0,e._init)(e._payload)}catch(e){throw null!==e&&"object"==typeof e&&"function"==typeof e.then?(ra=e,Zo):e}}var ra=null;function oa(){if(null===ra)throw Error(r(459));var e=ra;return ra=null,e}function aa(e){if(e===Zo||e===Jo)throw Error(r(483))}var ia=null,la=0;function sa(e){var t=la;return la+=1,null===ia&&(ia=[]),ta(ia,e,t)}function ua(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function ca(e,t){throw t.$$typeof===d?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function da(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=Mr(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Hr(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===h?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&na(o)===t.type)?(ua(t=a(t,n.props),n),t.return=e,t):(ua(t=qr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vr(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ur(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Hr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case f:return ua(n=qr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case p:return(t=Vr(t,e.mode,n)).return=e,t;case C:return m(e,t=na(t),n)}if(P(t)||T(t))return(t=Ur(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return m(e,sa(t),n);if(t.$$typeof===v)return m(e,Oo(e,t),n);ca(e,t)}return null}function g(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case f:return n.key===o?u(e,t,n,r):null;case p:return n.key===o?c(e,t,n,r):null;case C:return g(e,t,n=na(n),r)}if(P(n)||T(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return g(e,t,sa(n),r);if(n.$$typeof===v)return g(e,t,Oo(e,n),r);ca(e,n)}return null}function y(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case f:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case p:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case C:return y(e,t,n,r=na(r),o)}if(P(r)||T(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return y(e,t,n,sa(r),o);if(r.$$typeof===v)return y(e,t,n,Oo(t,r),o);ca(t,r)}return null}function b(s,u,c,d){if("object"==typeof c&&null!==c&&c.type===h&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case f:e:{for(var w=c.key;null!==u;){if(u.key===w){if((w=c.type)===h){if(7===u.tag){n(s,u.sibling),(d=a(u,c.props.children)).return=s,s=d;break e}}else if(u.elementType===w||"object"==typeof w&&null!==w&&w.$$typeof===C&&na(w)===u.type){n(s,u.sibling),ua(d=a(u,c.props),c),d.return=s,s=d;break e}n(s,u);break}t(s,u),u=u.sibling}c.type===h?((d=Ur(c.props.children,s.mode,d,c.key)).return=s,s=d):(ua(d=qr(c.type,c.key,c.props,null,s.mode,d),c),d.return=s,s=d)}return l(s);case p:e:{for(w=c.key;null!==u;){if(u.key===w){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(s,u.sibling),(d=a(u,c.children||[])).return=s,s=d;break e}n(s,u);break}t(s,u),u=u.sibling}(d=Vr(c,s.mode,d)).return=s,s=d}return l(s);case C:return b(s,u,c=na(c),d)}if(P(c))return function(r,a,l,s){for(var u=null,c=null,d=a,f=a=0,p=null;null!==d&&f<l.length;f++){d.index>f?(p=d,d=null):p=d.sibling;var h=g(r,d,l[f],s);if(null===h){null===d&&(d=p);break}e&&d&&null===h.alternate&&t(r,d),a=i(h,a,f),null===c?u=h:c.sibling=h,c=h,d=p}if(f===l.length)return n(r,d),uo&&no(r,f),u;if(null===d){for(;f<l.length;f++)null!==(d=m(r,l[f],s))&&(a=i(d,a,f),null===c?u=d:c.sibling=d,c=d);return uo&&no(r,f),u}for(d=o(d);f<l.length;f++)null!==(p=y(d,r,f,l[f],s))&&(e&&null!==p.alternate&&d.delete(null===p.key?f:p.key),a=i(p,a,f),null===c?u=p:c.sibling=p,c=p);return e&&d.forEach(function(e){return t(r,e)}),uo&&no(r,f),u}(s,u,c,d);if(T(c)){if("function"!=typeof(w=T(c)))throw Error(r(150));return function(a,l,s,u){if(null==s)throw Error(r(151));for(var c=null,d=null,f=l,p=l=0,h=null,b=s.next();null!==f&&!b.done;p++,b=s.next()){f.index>p?(h=f,f=null):h=f.sibling;var v=g(a,f,b.value,u);if(null===v){null===f&&(f=h);break}e&&f&&null===v.alternate&&t(a,f),l=i(v,l,p),null===d?c=v:d.sibling=v,d=v,f=h}if(b.done)return n(a,f),uo&&no(a,p),c;if(null===f){for(;!b.done;p++,b=s.next())null!==(b=m(a,b.value,u))&&(l=i(b,l,p),null===d?c=b:d.sibling=b,d=b);return uo&&no(a,p),c}for(f=o(f);!b.done;p++,b=s.next())null!==(b=y(f,a,p,b.value,u))&&(e&&null!==b.alternate&&f.delete(null===b.key?p:b.key),l=i(b,l,p),null===d?c=b:d.sibling=b,d=b);return e&&f.forEach(function(e){return t(a,e)}),uo&&no(a,p),c}(s,u,c=w.call(c),d)}if("function"==typeof c.then)return b(s,u,sa(c),d);if(c.$$typeof===v)return b(s,u,Oo(s,c),d);ca(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(d=a(u,c)).return=s,s=d):(n(s,u),(d=Hr(c,s.mode,d)).return=s,s=d),l(s)):n(s,u)}return function(e,t,n,r){try{la=0;var o=b(e,t,n,r);return ia=null,o}catch(t){if(t===Zo||t===Jo)throw t;var a=Dr(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var fa=da(!0),pa=da(!1),ha=!1;function ma(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ga(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ya(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ba(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&du){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Nr(e),Or(e,null,n),t}return _r(e,r,t,n),Nr(e)}function va(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Oe(e,n)}}function wa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var ka=!1;function Sa(){if(ka){if(null!==Bo)throw Bo}}function xa(e,t,n,r){ka=!1;var o=e.updateQueue;ha=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var d=e.alternate;null!==d&&((l=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===l?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=s))}if(null!==a){var f=o.baseState;for(i=0,d=u=s=null,l=a;;){var p=-536870913&l.lane,h=p!==l.lane;if(h?(hu&p)===p:(r&p)===p){0!==p&&p===Ho&&(ka=!0),null!==d&&(d=d.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var m=e,g=l;p=t;var y=n;switch(g.tag){case 1:if("function"==typeof(m=g.payload)){f=m.call(y,f,p);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=g.payload)?m.call(y,f,p):m))break e;f=c({},f,p);break e;case 2:ha=!0}}null!==(p=l.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=o.callbacks)?o.callbacks=[p]:h.push(p))}else h={lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===d?(u=d=h,s=f):d=d.next=h,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(h=l).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}null===d&&(s=f),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=d,null===a&&(o.shared.lanes=0),Su|=i,e.lanes=i,e.memoizedState=f}}function Ca(e,t){if("function"!=typeof e)throw Error(r(191,e));e.call(t)}function Aa(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Ca(n[e],t)}var Ea=j(null),Ia=j(0);function Ta(e,t){F(Ia,e=wu),F(Ea,t),wu=e|t.baseLanes}function _a(){F(Ia,wu),F(Ea,Ea.current)}function Ra(){wu=Ia.current,M(Ea),M(Ia)}var Pa=j(null),Oa=null;function Na(e){var t=e.alternate;F(Ma,1&Ma.current),F(Pa,e),null===Oa&&(null===t||null!==Ea.current||null!==t.memoizedState)&&(Oa=e)}function La(e){F(Ma,Ma.current),F(Pa,e),null===Oa&&(Oa=e)}function za(e){22===e.tag?(F(Ma,Ma.current),F(Pa,e),null===Oa&&(Oa=e)):Da()}function Da(){F(Ma,Ma.current),F(Pa,Pa.current)}function ja(e){M(Pa),Oa===e&&(Oa=null),M(Ma)}var Ma=j(0);function Fa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Nd(n)||Ld(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qa=0,Ua=null,Ha=null,Ba=null,Va=!1,Wa=!1,Ga=!1,Qa=0,Ya=0,$a=null,Za=0;function Ka(){throw Error(r(321))}function Ja(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zn(e[n],t[n]))return!1;return!0}function Xa(e,t,n,r,o,a){return qa=a,Ua=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=null===e||null===e.memoizedState?hl:ml,Ga=!1,a=n(r,o),Ga=!1,Wa&&(a=ti(t,n,r,o)),ei(e),a}function ei(e){O.H=pl;var t=null!==Ha&&null!==Ha.next;if(qa=0,Ba=Ha=Ua=null,Va=!1,Ya=0,$a=null,t)throw Error(r(300));null===e||Pl||null!==(e=e.dependencies)&&_o(e)&&(Pl=!0)}function ti(e,t,n,o){Ua=e;var a=0;do{if(Wa&&($a=null),Ya=0,Wa=!1,25<=a)throw Error(r(301));if(a+=1,Ba=Ha=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}O.H=gl,i=t(n,o)}while(Wa);return i}function ni(){var e=O.H,t=e.useState()[0];return t="function"==typeof t.then?si(t):t,e=e.useState()[0],(null!==Ha?Ha.memoizedState:null)!==e&&(Ua.flags|=1024),t}function ri(){var e=0!==Qa;return Qa=0,e}function oi(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ai(e){if(Va){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Va=!1}qa=0,Ba=Ha=Ua=null,Wa=!1,Ya=Qa=0,$a=null}function ii(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ba?Ua.memoizedState=Ba=e:Ba=Ba.next=e,Ba}function li(){if(null===Ha){var e=Ua.alternate;e=null!==e?e.memoizedState:null}else e=Ha.next;var t=null===Ba?Ua.memoizedState:Ba.next;if(null!==t)Ba=t,Ha=e;else{if(null===e)throw null===Ua.alternate?Error(r(467)):Error(r(310));e={memoizedState:(Ha=e).memoizedState,baseState:Ha.baseState,baseQueue:Ha.baseQueue,queue:Ha.queue,next:null},null===Ba?Ua.memoizedState=Ba=e:Ba=Ba.next=e}return Ba}function si(e){var t=Ya;return Ya+=1,null===$a&&($a=[]),e=ta($a,e,t),t=Ua,null===(null===Ba?t.memoizedState:Ba.next)&&(t=t.alternate,O.H=null===t||null===t.memoizedState?hl:ml),e}function ui(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return si(e);if(e.$$typeof===v)return Po(e)}throw Error(r(438,String(e)))}function ci(e){var t=null,n=Ua.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Ua.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Ua.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=E;return t.index++,n}function di(e,t){return"function"==typeof t?t(e):t}function fi(e){return pi(li(),Ha,e)}function pi(e,t,n){var o=e.queue;if(null===o)throw Error(r(311));o.lastRenderedReducer=n;var a=e.baseQueue,i=o.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}t.baseQueue=a=i,o.pending=null}if(i=e.baseState,null===a)e.memoizedState=i;else{var s=l=null,u=null,c=t=a.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(hu&f)===f:(qa&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Ho&&(d=!0);else{if((qa&p)===p){c=c.next,p===Ho&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,l=i):u=u.next=f,Ua.lanes|=p,Su|=p}f=c.action,Ga&&n(i,f),i=c.hasEagerState?c.eagerState:n(i,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,l=i):u=u.next=p,Ua.lanes|=f,Su|=f;c=c.next}while(null!==c&&c!==t);if(null===u?l=i:u.next=s,!Zn(i,e.memoizedState)&&(Pl=!0,d&&null!==(n=Bo)))throw n;e.memoizedState=i,e.baseState=l,e.baseQueue=u,o.lastRenderedState=i}return null===a&&(o.lanes=0),[e.memoizedState,o.dispatch]}function hi(e){var t=li(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var o=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);Zn(i,t.memoizedState)||(Pl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,o]}function mi(e,t,n){var o=Ua,a=li(),i=uo;if(i){if(void 0===n)throw Error(r(407));n=n()}else n=t();var l=!Zn((Ha||a).memoizedState,n);if(l&&(a.memoizedState=n,Pl=!0),a=a.queue,qi(bi.bind(null,o,a,e),[e]),a.getSnapshot!==t||l||null!==Ba&&1&Ba.memoizedState.tag){if(o.flags|=2048,zi(9,{destroy:void 0},yi.bind(null,o,a,n,t),null),null===fu)throw Error(r(349));i||127&qa||gi(o,t,n)}return n}function gi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Ua.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Ua.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function yi(e,t,n,r){t.value=n,t.getSnapshot=r,vi(t)&&wi(e)}function bi(e,t,n){return n(function(){vi(t)&&wi(e)})}function vi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Zn(e,n)}catch{return!0}}function wi(e){var t=Pr(e,2);null!==t&&Gu(t,e,2)}function ki(e){var t=ii();if("function"==typeof e){var n=e;if(e=n(),Ga){ye(!0);try{n()}finally{ye(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:e},t}function Si(e,t,n,r){return e.baseState=n,pi(e,Ha,"function"==typeof r?r:di)}function xi(e,t,n,o,a){if(cl(e))throw Error(r(485));if(null!==(e=t.action)){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==O.T?n(!0):i.isTransition=!1,o(i),null===(n=t.pending)?(i.next=t.pending=i,Ci(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Ci(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=O.T,i={};O.T=i;try{var l=n(o,r),s=O.S;null!==s&&s(i,l),Ai(e,t,l)}catch(n){Ii(e,t,n)}finally{null!==a&&null!==i.types&&(a.types=i.types),O.T=a}}else try{Ai(e,t,a=n(o,r))}catch(n){Ii(e,t,n)}}function Ai(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){Ei(e,t,n)},function(n){return Ii(e,t,n)}):Ei(e,t,n)}function Ei(e,t,n){t.status="fulfilled",t.value=n,Ti(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Ci(e,n)))}function Ii(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,Ti(t),t=t.next}while(t!==r)}e.action=null}function Ti(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function _i(e,t){return t}function Ri(e,t){if(uo){var n=fu.formState;if(null!==n){e:{var r=Ua;if(uo){if(so){t:{for(var o=so,a=fo;8!==o.nodeType;){if(!a){o=null;break t}if(null===(o=zd(o.nextSibling))){o=null;break t}}o="F!"===(a=o.data)||"F"===a?o:null}if(o){so=zd(o.nextSibling),r="F!"===o.data;break e}}ho(r)}r=!1}r&&(t=n[0])}}return(n=ii()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:t},n.queue=r,n=ll.bind(null,Ua,r),r.dispatch=n,r=ki(!1),a=ul.bind(null,Ua,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=ii()).queue=o,n=xi.bind(null,Ua,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function Pi(e){return Oi(li(),Ha,e)}function Oi(e,t,n){if(t=pi(e,t,_i)[0],e=fi(di)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=si(t)}catch(e){throw e===Zo?Jo:e}else r=t;var o=(t=li()).queue,a=o.dispatch;return n!==t.memoizedState&&(Ua.flags|=2048,zi(9,{destroy:void 0},Ni.bind(null,o,n),null)),[r,a,e]}function Ni(e,t){e.action=t}function Li(e){var t=li(),n=Ha;if(null!==n)return Oi(t,n,e);li(),t=t.memoizedState;var r=(n=li()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function zi(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Ua.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Ua.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Di(){return li().memoizedState}function ji(e,t,n,r){var o=ii();Ua.flags|=e,o.memoizedState=zi(1|t,{destroy:void 0},n,void 0===r?null:r)}function Mi(e,t,n,r){var o=li();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==Ha&&null!==r&&Ja(r,Ha.memoizedState.deps)?o.memoizedState=zi(t,a,n,r):(Ua.flags|=e,o.memoizedState=zi(1|t,a,n,r))}function Fi(e,t){ji(8390656,8,e,t)}function qi(e,t){Mi(2048,8,e,t)}function Ui(e){var t=li().memoizedState;return function(e){Ua.flags|=4;var t=Ua.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Ua.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&du)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Hi(e,t){return Mi(4,2,e,t)}function Bi(e,t){return Mi(4,4,e,t)}function Vi(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Wi(e,t,n){n=null!=n?n.concat([e]):null,Mi(4,4,Vi.bind(null,t,e),n)}function Gi(){}function Qi(e,t){var n=li();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Ja(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=li();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Ja(t,r[1]))return r[0];if(r=e(),Ga){ye(!0);try{e()}finally{ye(!1)}}return n.memoizedState=[r,t],r}function $i(e,t,n){return void 0===n||1073741824&qa&&!(261930&hu)?e.memoizedState=t:(e.memoizedState=n,e=Wu(),Ua.lanes|=e,Su|=e,n)}function Zi(e,t,n,r){return Zn(n,t)?n:null!==Ea.current?(e=$i(e,n,r),Zn(e,t)||(Pl=!0),e):42&qa&&(!(1073741824&qa)||261930&hu)?(e=Wu(),Ua.lanes|=e,Su|=e,t):(Pl=!0,e.memoizedState=n)}function Ki(e,t,n,r,o){var a=N.p;N.p=0!==a&&8>a?a:8;var i=O.T,l={};O.T=l,ul(e,!1,t,n);try{var s=o(),u=O.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status="rejected",r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}(s,r);sl(e,t,c,Vu())}else sl(e,t,r,Vu())}catch(n){sl(e,t,{then:function(){},status:"rejected",reason:n},Vu())}finally{N.p=a,null!==i&&null!==l.types&&(i.types=l.types),O.T=i}}function Ji(){}function Xi(e,t,n,o){if(5!==e.tag)throw Error(r(476));var a=el(e).queue;Ki(e,a,t,L,null===n?Ji:function(){return tl(e),n(o)})}function el(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:L},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function tl(e){var t=el(e);null===t.next&&(t=e.alternate.memoizedState),sl(e,t.next.queue,{},Vu())}function nl(){return Po(pf)}function rl(){return li().memoizedState}function ol(){return li().memoizedState}function al(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Vu(),r=ba(t,e=ya(n),n);return null!==r&&(Gu(r,t,n),va(r,t,n)),t={cache:Mo()},void(e.payload=t)}t=t.return}}function il(e,t,n){var r=Vu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},cl(e)?dl(t,n):null!==(n=Rr(e,t,n,r))&&(Gu(n,e,r),fl(n,t,r))}function ll(e,t,n){sl(e,t,n,Vu())}function sl(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(cl(e))dl(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,Zn(l,i))return _r(e,t,o,0),null===fu&&Tr(),!1}catch{}if(null!==(n=Rr(e,t,o,r)))return Gu(n,e,r),fl(n,t,r),!0}return!1}function ul(e,t,n,o){if(o={lane:2,revertLane:qc(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},cl(e)){if(t)throw Error(r(479))}else null!==(t=Rr(e,n,o,2))&&Gu(t,e,2)}function cl(e){var t=e.alternate;return e===Ua||null!==t&&t===Ua}function dl(e,t){Wa=Va=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fl(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Oe(e,n)}}var pl={readContext:Po,use:ui,useCallback:Ka,useContext:Ka,useEffect:Ka,useImperativeHandle:Ka,useLayoutEffect:Ka,useInsertionEffect:Ka,useMemo:Ka,useReducer:Ka,useRef:Ka,useState:Ka,useDebugValue:Ka,useDeferredValue:Ka,useTransition:Ka,useSyncExternalStore:Ka,useId:Ka,useHostTransitionStatus:Ka,useFormState:Ka,useActionState:Ka,useOptimistic:Ka,useMemoCache:Ka,useCacheRefresh:Ka};pl.useEffectEvent=Ka;var hl={readContext:Po,use:ui,useCallback:function(e,t){return ii().memoizedState=[e,void 0===t?null:t],e},useContext:Po,useEffect:Fi,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,ji(4194308,4,Vi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ji(4194308,4,e,t)},useInsertionEffect:function(e,t){ji(4,2,e,t)},useMemo:function(e,t){var n=ii();t=void 0===t?null:t;var r=e();if(Ga){ye(!0);try{e()}finally{ye(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ii();if(void 0!==n){var o=n(t);if(Ga){ye(!0);try{n(t)}finally{ye(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=il.bind(null,Ua,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ii().memoizedState=e},useState:function(e){var t=(e=ki(e)).queue,n=ll.bind(null,Ua,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Gi,useDeferredValue:function(e,t){return $i(ii(),e,t)},useTransition:function(){var e=ki(!1);return e=Ki.bind(null,Ua,e.queue,!0,!1),ii().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var o=Ua,a=ii();if(uo){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===fu)throw Error(r(349));127&hu||gi(o,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Fi(bi.bind(null,o,i,e),[e]),o.flags|=2048,zi(9,{destroy:void 0},yi.bind(null,o,i,n,t),null),n},useId:function(){var e=ii(),t=fu.identifierPrefix;if(uo){var n=to;t="_"+t+"R_"+(n=(eo&~(1<<32-be(eo)-1)).toString(32)+n),0<(n=Qa++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Za++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:nl,useFormState:Ri,useActionState:Ri,useOptimistic:function(e){var t=ii();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ul.bind(null,Ua,!0,n),n.dispatch=t,[e,t]},useMemoCache:ci,useCacheRefresh:function(){return ii().memoizedState=al.bind(null,Ua)},useEffectEvent:function(e){var t=ii(),n={impl:e};return t.memoizedState=n,function(){if(2&du)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},ml={readContext:Po,use:ui,useCallback:Qi,useContext:Po,useEffect:qi,useImperativeHandle:Wi,useInsertionEffect:Hi,useLayoutEffect:Bi,useMemo:Yi,useReducer:fi,useRef:Di,useState:function(){return fi(di)},useDebugValue:Gi,useDeferredValue:function(e,t){return Zi(li(),Ha.memoizedState,e,t)},useTransition:function(){var e=fi(di)[0],t=li().memoizedState;return["boolean"==typeof e?e:si(e),t]},useSyncExternalStore:mi,useId:rl,useHostTransitionStatus:nl,useFormState:Pi,useActionState:Pi,useOptimistic:function(e,t){return Si(li(),0,e,t)},useMemoCache:ci,useCacheRefresh:ol};ml.useEffectEvent=Ui;var gl={readContext:Po,use:ui,useCallback:Qi,useContext:Po,useEffect:qi,useImperativeHandle:Wi,useInsertionEffect:Hi,useLayoutEffect:Bi,useMemo:Yi,useReducer:hi,useRef:Di,useState:function(){return hi(di)},useDebugValue:Gi,useDeferredValue:function(e,t){var n=li();return null===Ha?$i(n,e,t):Zi(n,Ha.memoizedState,e,t)},useTransition:function(){var e=hi(di)[0],t=li().memoizedState;return["boolean"==typeof e?e:si(e),t]},useSyncExternalStore:mi,useId:rl,useHostTransitionStatus:nl,useFormState:Li,useActionState:Li,useOptimistic:function(e,t){var n=li();return null!==Ha?Si(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:ci,useCacheRefresh:ol};function yl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:c({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}gl.useEffectEvent=Ui;var bl={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Vu(),o=ya(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=ba(e,o,r))&&(Gu(t,e,r),va(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Vu(),o=ya(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=ba(e,o,r))&&(Gu(t,e,r),va(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Vu(),r=ya(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=ba(e,r,n))&&(Gu(t,e,n),va(t,e,n))}};function vl(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!Kn(n,r)||!Kn(o,a))}function wl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&bl.enqueueReplaceState(t,t.state,null)}function kl(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=c({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function Sl(e){Cr(e)}function xl(e){console.error(e)}function Cl(e){Cr(e)}function Al(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function El(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Il(e,t,n){return(n=ya(n)).tag=3,n.payload={element:null},n.callback=function(){Al(e,t)},n}function Tl(e){return(e=ya(e)).tag=3,e}function _l(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){El(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){El(t,n,r),"function"!=typeof o&&(null===Lu?Lu=new Set([this]):Lu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Rl=Error(r(461)),Pl=!1;function Ol(e,t,n,r){t.child=null===e?pa(t,null,n,r):fa(t,e.child,n,r)}function Nl(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return Ro(t),r=Xa(e,t,n,i,a,o),l=ri(),null===e||Pl?(uo&&l&&oo(t),t.flags|=1,Ol(e,t,r,o),t.child):(oi(e,t,o),ns(e,t,o))}function Ll(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||jr(a)||void 0!==a.defaultProps||null!==n.compare?((e=qr(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,zl(e,t,a,r,o))}if(a=e.child,!rs(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Kn)(i,r)&&e.ref===t.ref)return ns(e,t,o)}return t.flags|=1,(e=Mr(a,r)).ref=t.ref,e.return=t,t.child=e}function zl(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Kn(a,r)&&e.ref===t.ref){if(Pl=!1,t.pendingProps=r=a,!rs(e,o))return t.lanes=e.lanes,ns(e,t,o);131072&e.flags&&(Pl=!0)}}return Hl(e,t,n,r,o)}function Dl(e,t,n,r){var o=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(a=null!==a?a.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~a}else r=0,t.child=null;return Ml(e,t,a,n,r)}if(!(536870912&n))return r=t.lanes=536870912,Ml(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Yo(0,null!==a?a.cachePool:null),null!==a?Ta(t,a):_a(),za(t)}else null!==a?(Yo(0,a.cachePool),Ta(t,a),Da(),t.memoizedState=null):(null!==e&&Yo(0,null),_a(),Da());return Ol(e,t,o,n),t.child}function jl(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ml(e,t,n,r,o){var a=Qo();return a=null===a?null:{parent:jo._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},null!==e&&Yo(0,null),_a(),za(t),null!==e&&To(e,t,r,!0),t.childLanes=o,null}function Fl(e,t){return(t=Kl({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function ql(e,t,n){return fa(t,e.child,null,n),(e=Fl(t,t.pendingProps)).flags|=2,ja(t),t.memoizedState=null,e}function Ul(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(r(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function Hl(e,t,n,r,o){return Ro(t),n=Xa(e,t,n,r,void 0,o),r=ri(),null===e||Pl?(uo&&r&&oo(t),t.flags|=1,Ol(e,t,n,o),t.child):(oi(e,t,o),ns(e,t,o))}function Bl(e,t,n,r,o,a){return Ro(t),t.updateQueue=null,n=ti(t,r,n,o),ei(e),r=ri(),null===e||Pl?(uo&&r&&oo(t),t.flags|=1,Ol(e,t,n,a),t.child):(oi(e,t,a),ns(e,t,a))}function Vl(e,t,n,r,o){if(Ro(t),null===t.stateNode){var a=Lr,i=n.contextType;"object"==typeof i&&null!==i&&(a=Po(i)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=bl,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},ma(t),i=n.contextType,a.context="object"==typeof i&&null!==i?Po(i):Lr,a.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(yl(t,n,i,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(i=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),i!==a.state&&bl.enqueueReplaceState(a,a.state,null),xa(t,r,a,o),Sa(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var l=t.memoizedProps,s=kl(n,l);a.props=s;var u=a.context,c=n.contextType;i=Lr,"object"==typeof c&&null!==c&&(i=Po(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l||u!==i)&&wl(t,a,r,i),ha=!1;var f=t.memoizedState;a.state=f,xa(t,r,a,o),Sa(),u=t.memoizedState,l||f!==u||ha?("function"==typeof d&&(yl(t,n,d,r),u=t.memoizedState),(s=ha||vl(t,n,s,r,f,u,i))?(c||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=i,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ga(e,t),c=kl(n,i=t.memoizedProps),a.props=c,d=t.pendingProps,f=a.context,u=n.contextType,s=Lr,"object"==typeof u&&null!==u&&(s=Po(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(i!==d||f!==s)&&wl(t,a,r,s),ha=!1,f=t.memoizedState,a.state=f,xa(t,r,a,o),Sa();var p=t.memoizedState;i!==d||f!==p||ha||null!==e&&null!==e.dependencies&&_o(e.dependencies)?("function"==typeof l&&(yl(t,n,l,r),p=t.memoizedState),(c=ha||vl(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&_o(e.dependencies))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Ul(e,t),r=!!(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=fa(t,e.child,null,o),t.child=fa(t,null,n,o)):Ol(e,t,n,o),t.memoizedState=a.state,e=t.child):e=ns(e,t,o),e}function Wl(e,t,n,r){return bo(),t.flags|=256,Ol(e,t,n,r),t.child}var Gl={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ql(e){return{baseLanes:e,cachePool:$o()}}function Yl(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Au),e}function $l(e,t,n){var o,a=t.pendingProps,i=!1,l=!!(128&t.flags);if((o=l)||(o=(null===e||null!==e.memoizedState)&&!!(2&Ma.current)),o&&(i=!0,t.flags&=-129),o=!!(32&t.flags),t.flags&=-33,null===e){if(uo){if(i?Na(t):Da(),(e=so)?null!==(e=null!==(e=Od(e,fo))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Xr?{id:eo,overflow:to}:null,retryLane:536870912,hydrationErrors:null},(n=Br(e)).return=t,t.child=n,lo=t,so=null):e=null,null===e)throw ho(t);return Ld(e)?t.lanes=32:t.lanes=536870912,null}var s=a.children;return a=a.fallback,i?(Da(),s=Kl({mode:"hidden",children:s},i=t.mode),a=Ur(a,i,n,null),s.return=t,a.return=t,s.sibling=a,t.child=s,(a=t.child).memoizedState=Ql(n),a.childLanes=Yl(e,o,n),t.memoizedState=Gl,jl(null,a)):(Na(t),Zl(t,s))}var u=e.memoizedState;if(null!==u&&null!==(s=u.dehydrated)){if(l)256&t.flags?(Na(t),t.flags&=-257,t=Jl(e,t,n)):null!==t.memoizedState?(Da(),t.child=e.child,t.flags|=128,t=null):(Da(),s=a.fallback,i=t.mode,a=Kl({mode:"visible",children:a.children},i),(s=Ur(s,i,n,null)).flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,fa(t,e.child,null,n),(a=t.child).memoizedState=Ql(n),a.childLanes=Yl(e,o,n),t.memoizedState=Gl,t=jl(null,a));else if(Na(t),Ld(s)){if(o=s.nextSibling&&s.nextSibling.dataset)var c=o.dgst;o=c,(a=Error(r(419))).stack="",a.digest=o,wo({value:a,source:null,stack:null}),t=Jl(e,t,n)}else if(Pl||To(e,t,n,!1),o=0!==(n&e.childLanes),Pl||o){if(null!==(o=fu)&&(0!==(a=Ne(o,n))&&a!==u.retryLane))throw u.retryLane=a,Pr(e,a),Gu(o,e,a),Rl;Nd(s)||oc(),t=Jl(e,t,n)}else Nd(s)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,so=zd(s.nextSibling),lo=t,uo=!0,co=null,fo=!1,null!==e&&io(t,e),(t=Zl(t,a.children)).flags|=4096);return t}return i?(Da(),s=a.fallback,i=t.mode,c=(u=e.child).sibling,(a=Mr(u,{mode:"hidden",children:a.children})).subtreeFlags=65011712&u.subtreeFlags,null!==c?s=Mr(c,s):(s=Ur(s,i,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,jl(null,a),a=t.child,null===(s=e.child.memoizedState)?s=Ql(n):(null!==(i=s.cachePool)?(u=jo._currentValue,i=i.parent!==u?{parent:u,pool:u}:i):i=$o(),s={baseLanes:s.baseLanes|n,cachePool:i}),a.memoizedState=s,a.childLanes=Yl(e,o,n),t.memoizedState=Gl,jl(e.child,a)):(Na(t),e=(n=e.child).sibling,(n=Mr(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(o=t.deletions)?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Zl(e,t){return(t=Kl({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Kl(e,t){return(e=Dr(22,e,null,t)).lanes=0,e}function Jl(e,t,n){return fa(t,e.child,null,n),(e=Zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Xl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function es(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.treeForkCount=a)}function ts(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;r=r.children;var i=Ma.current,l=!!(2&i);if(l?(i=1&i|2,t.flags|=128):i&=1,F(Ma,i),Ol(e,t,r,n),r=uo?Zr:0,!l&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xl(e,n,t);else if(19===e.tag)Xl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Fa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),es(t,!1,o,n,a,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Fa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}es(t,!0,n,null,a,r);break;case"together":es(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function ns(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Su|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(To(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=Mr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function rs(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!_o(e))}function os(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Pl=!0;else{if(!(rs(e,n)||128&t.flags))return Pl=!1,function(e,t,n){switch(t.tag){case 3:G(t,t.stateNode.containerInfo),Co(0,jo,e.memoizedState.cache),bo();break;case 27:case 5:Y(t);break;case 4:G(t,t.stateNode.containerInfo);break;case 10:Co(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,La(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(Na(t),t.flags|=128,null):0!==(n&t.child.childLanes)?$l(e,t,n):(Na(t),null!==(e=ns(e,t,n))?e.sibling:null);Na(t);break;case 19:var o=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(To(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return ts(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),F(Ma,Ma.current),r)break;return null;case 22:return t.lanes=0,Dl(e,t,n,t.pendingProps);case 24:Co(0,jo,e.memoizedState.cache)}return ns(e,t,n)}(e,t,n);Pl=!!(131072&e.flags)}else Pl=!1,uo&&1048576&t.flags&&ro(t,Zr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var o=t.pendingProps;if(e=na(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var a=e.$$typeof;if(a===w){t.tag=11,t=Nl(null,t,e,o,n);break e}if(a===x){t.tag=14,t=Ll(null,t,e,o,n);break e}}throw t=R(e)||e,Error(r(306,t,""))}jr(e)?(o=kl(e,o),t.tag=1,t=Vl(null,t,e,o,n)):(t.tag=0,t=Hl(null,t,e,o,n))}return t;case 0:return Hl(e,t,t.type,t.pendingProps,n);case 1:return Vl(e,t,o=t.type,a=kl(o,t.pendingProps),n);case 3:e:{if(G(t,t.stateNode.containerInfo),null===e)throw Error(r(387));o=t.pendingProps;var i=t.memoizedState;a=i.element,ga(e,t),xa(t,o,null,n);var l=t.memoizedState;if(o=l.cache,Co(0,jo,o),o!==i.cache&&Io(t,[jo],n,!0),Sa(),o=l.element,i.isDehydrated){if(i={element:o,isDehydrated:!1,cache:l.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Wl(e,t,o,n);break e}if(o!==a){wo(a=Gr(Error(r(424)),t)),t=Wl(e,t,o,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(so=zd(e.firstChild),lo=t,uo=!0,co=null,fo=!0,n=pa(t,null,o,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(bo(),o===a){t=ns(e,t,n);break e}Ol(e,t,o,n)}t=t.child}return t;case 26:return Ul(e,t),null===e?(n=Qd(t.type,null,t.pendingProps,null))?t.memoizedState=n:uo||(n=t.type,e=t.pendingProps,(o=gd(V.current).createElement(n))[Fe]=t,o[qe]=e,fd(o,n,e),Je(o),t.stateNode=o):t.memoizedState=Qd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Y(t),null===e&&uo&&(o=t.stateNode=Fd(t.type,t.pendingProps,V.current),lo=t,fo=!0,a=so,Td(t.type)?(Dd=a,so=zd(o.firstChild)):so=a),Ol(e,t,t.pendingProps.children,n),Ul(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&uo&&((a=o=so)&&(o=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Ge])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===a)return e}if(null===(e=zd(e.nextSibling)))break}return null}(o,t.type,t.pendingProps,fo),null!==o?(t.stateNode=o,lo=t,so=zd(o.firstChild),fo=!1,a=!0):a=!1),a||ho(t)),Y(t),a=t.type,i=t.pendingProps,l=null!==e?e.memoizedProps:null,o=i.children,wd(a,i)?o=null:null!==l&&wd(a,l)&&(t.flags|=32),null!==t.memoizedState&&(a=Xa(e,t,ni,null,null,n),pf._currentValue=a),Ul(e,t),Ol(e,t,o,n),t.child;case 6:return null===e&&uo&&((e=n=so)&&(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=zd(e.nextSibling)))return null;return e}(n,t.pendingProps,fo),null!==n?(t.stateNode=n,lo=t,so=null,e=!0):e=!1),e||ho(t)),null;case 13:return $l(e,t,n);case 4:return G(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=fa(t,null,o,n):Ol(e,t,o,n),t.child;case 11:return Nl(e,t,t.type,t.pendingProps,n);case 7:return Ol(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ol(e,t,t.pendingProps.children,n),t.child;case 10:return o=t.pendingProps,Co(0,t.type,o.value),Ol(e,t,o.children,n),t.child;case 9:return a=t.type._context,o=t.pendingProps.children,Ro(t),o=o(a=Po(a)),t.flags|=1,Ol(e,t,o,n),t.child;case 14:return Ll(e,t,t.type,t.pendingProps,n);case 15:return zl(e,t,t.type,t.pendingProps,n);case 19:return ts(e,t,n);case 31:return function(e,t,n){var o=t.pendingProps,a=!!(128&t.flags);if(t.flags&=-129,null===e){if(uo){if("hidden"===o.mode)return e=Fl(t,o),t.lanes=536870912,jl(null,e);if(La(t),(e=so)?null!==(e=null!==(e=Od(e,fo))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Xr?{id:eo,overflow:to}:null,retryLane:536870912,hydrationErrors:null},(n=Br(e)).return=t,t.child=n,lo=t,so=null):e=null,null===e)throw ho(t);return t.lanes=536870912,null}return Fl(t,o)}var i=e.memoizedState;if(null!==i){var l=i.dehydrated;if(La(t),a)if(256&t.flags)t.flags&=-257,t=ql(e,t,n);else{if(null===t.memoizedState)throw Error(r(558));t.child=e.child,t.flags|=128,t=null}else if(Pl||To(e,t,n,!1),a=0!==(n&e.childLanes),Pl||a){if(null!==(o=fu)&&0!==(l=Ne(o,n))&&l!==i.retryLane)throw i.retryLane=l,Pr(e,l),Gu(o,e,l),Rl;oc(),t=ql(e,t,n)}else e=i.treeContext,so=zd(l.nextSibling),lo=t,uo=!0,co=null,fo=!1,null!==e&&io(t,e),(t=Fl(t,o)).flags|=4096;return t}return(e=Mr(e.child,{mode:o.mode,children:o.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return Dl(e,t,n,t.pendingProps);case 24:return Ro(t),o=Po(jo),null===e?(null===(a=Qo())&&(a=fu,i=Mo(),a.pooledCache=i,i.refCount++,null!==i&&(a.pooledCacheLanes|=n),a=i),t.memoizedState={parent:o,cache:a},ma(t),Co(0,jo,a)):(0!==(e.lanes&n)&&(ga(e,t),xa(t,null,null,n),Sa()),a=e.memoizedState,i=t.memoizedState,a.parent!==o?(a={parent:o,cache:o},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),Co(0,jo,o)):(o=i.cache,Co(0,jo,o),o!==a.cache&&Io(t,[jo],n,!0))),Ol(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function as(e){e.flags|=4}function is(e,t,n,r,o){if((t=!!(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!tc())throw ra=Xo,Ko;e.flags|=8192}}else e.flags&=-16777217}function ls(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!lf(t)){if(!tc())throw ra=Xo,Ko;e.flags|=8192}}function ss(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Te():536870912,e.lanes|=t,Eu|=t)}function us(e,t){if(!uo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function cs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ds(e,t,n){var o=t.pendingProps;switch(ao(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return cs(t),null;case 3:return n=t.stateNode,o=null,null!==e&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ao(jo),Q(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(yo(t)?as(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,vo())),cs(t),null;case 26:var a=t.type,i=t.memoizedState;return null===e?(as(t),null!==i?(cs(t),ls(t,i)):(cs(t),is(t,a,0,0,n))):i?i!==e.memoizedState?(as(t),cs(t),ls(t,i)):(cs(t),t.flags&=-16777217):((e=e.memoizedProps)!==o&&as(t),cs(t),is(t,a,0,0,n)),null;case 27:if($(t),n=V.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==o&&as(t);else{if(!o){if(null===t.stateNode)throw Error(r(166));return cs(t),null}e=H.current,yo(t)?mo(t):(e=Fd(a,o,n),t.stateNode=e,as(t))}return cs(t),null;case 5:if($(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==o&&as(t);else{if(!o){if(null===t.stateNode)throw Error(r(166));return cs(t),null}if(i=H.current,yo(t))mo(t);else{var l=gd(V.current);switch(i){case 1:i=l.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=l.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(i=l.createElement("div")).innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i="string"==typeof o.is?l.createElement("select",{is:o.is}):l.createElement("select"),o.multiple?i.multiple=!0:o.size&&(i.size=o.size);break;default:i="string"==typeof o.is?l.createElement(a,{is:o.is}):l.createElement(a)}}i[Fe]=t,i[qe]=o;e:for(l=t.child;null!==l;){if(5===l.tag||6===l.tag)i.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;null===l.sibling;){if(null===l.return||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=i;e:switch(fd(i,a,o),a){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&as(t)}}return cs(t),is(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==o&&as(t);else{if("string"!=typeof o&&null===t.stateNode)throw Error(r(166));if(e=V.current,yo(t)){if(e=t.stateNode,n=t.memoizedProps,o=null,null!==(a=lo))switch(a.tag){case 27:case 5:o=a.memoizedProps}e[Fe]=t,(e=!!(e.nodeValue===n||null!==o&&!0===o.suppressHydrationWarning||sd(e.nodeValue,n)))||ho(t,!0)}else(e=gd(e).createTextNode(o))[Fe]=t,t.stateNode=e}return cs(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(o=yo(t),null!==n){if(null===e){if(!o)throw Error(r(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(r(557));e[Fe]=t}else bo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;cs(t),e=!1}else n=vo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(ja(t),t):(ja(t),null);if(128&t.flags)throw Error(r(558))}return cs(t),null;case 13:if(o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=yo(t),null!==o&&null!==o.dehydrated){if(null===e){if(!a)throw Error(r(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(r(317));a[Fe]=t}else bo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;cs(t),a=!1}else a=vo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return 256&t.flags?(ja(t),t):(ja(t),null)}return ja(t),128&t.flags?(t.lanes=n,t):(n=null!==o,e=null!==e&&null!==e.memoizedState,n&&(a=null,null!==(o=t.child).alternate&&null!==o.alternate.memoizedState&&null!==o.alternate.memoizedState.cachePool&&(a=o.alternate.memoizedState.cachePool.pool),i=null,null!==o.memoizedState&&null!==o.memoizedState.cachePool&&(i=o.memoizedState.cachePool.pool),i!==a&&(o.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ss(t,t.updateQueue),cs(t),null);case 4:return Q(),null===e&&Kc(t.stateNode.containerInfo),cs(t),null;case 10:return Ao(t.type),cs(t),null;case 19:if(M(Ma),null===(o=t.memoizedState))return cs(t),null;if(a=!!(128&t.flags),null===(i=o.rendering))if(a)us(o,!1);else{if(0!==ku||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=Fa(e))){for(t.flags|=128,us(o,!1),e=i.updateQueue,t.updateQueue=e,ss(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Fr(n,e),n=n.sibling;return F(Ma,1&Ma.current|2),uo&&no(t,o.treeForkCount),t.child}e=e.sibling}null!==o.tail&&ie()>Ou&&(t.flags|=128,a=!0,us(o,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=Fa(i))){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,ss(t,e),us(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!uo)return cs(t),null}else 2*ie()-o.renderingStartTime>Ou&&536870912!==n&&(t.flags|=128,a=!0,us(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=o.last)?e.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=ie(),e.sibling=null,n=Ma.current,F(Ma,a?1&n|2:1&n),uo&&no(t,o.treeForkCount),e):(cs(t),null);case 22:case 23:return ja(t),Ra(),o=null!==t.memoizedState,null!==e?null!==e.memoizedState!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?!!(536870912&n)&&!(128&t.flags)&&(cs(t),6&t.subtreeFlags&&(t.flags|=8192)):cs(t),null!==(n=t.updateQueue)&&ss(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),o=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),null!==e&&M(Go),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ao(jo),cs(t),null;case 25:case 30:return null}throw Error(r(156,t.tag))}function fs(e,t){switch(ao(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ao(jo),Q(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return $(t),null;case 31:if(null!==t.memoizedState){if(ja(t),null===t.alternate)throw Error(r(340));bo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ja(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));bo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return M(Ma),null;case 4:return Q(),null;case 10:return Ao(t.type),null;case 22:case 23:return ja(t),Ra(),null!==e&&M(Go),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Ao(jo),null;default:return null}}function ps(e,t){switch(ao(t),t.tag){case 3:Ao(jo),Q();break;case 26:case 27:case 5:$(t);break;case 4:Q();break;case 31:null!==t.memoizedState&&ja(t);break;case 13:ja(t);break;case 19:M(Ma);break;case 10:Ao(t.type);break;case 22:case 23:ja(t),Ra(),null!==e&&M(Go);break;case 24:Ao(jo)}}function hs(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var a=n.create,i=n.inst;r=a(),i.destroy=r}n=n.next}while(n!==o)}}catch(e){kc(t,t.return,e)}}function ms(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,o=t;var s=n,u=l;try{u()}catch(e){kc(o,s,e)}}}r=r.next}while(r!==a)}}catch(e){kc(t,t.return,e)}}function gs(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Aa(t,n)}catch(t){kc(e,e.return,t)}}}function ys(e,t,n){n.props=kl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){kc(e,t,n)}}function bs(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){kc(e,t,n)}}function vs(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){kc(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){kc(e,t,n)}else n.current=null}function ws(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){kc(e,e.return,t)}}function ks(e,t,n){try{var o=e.stateNode;(function(e,t,n,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,l=null,s=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:o.hasOwnProperty(h)||ud(e,t,h,null,o,f)}}for(var p in o){var h=o[p];if(f=n[p],o.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":i=h;break;case"name":a=h;break;case"checked":c=h;break;case"defaultChecked":d=h;break;case"value":l=h;break;case"defaultValue":s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(r(137,t));break;default:h!==f&&ud(e,t,p,h,o,f)}}return void gt(e,l,s,u,c,d,i,a);case"select":for(i in h=l=s=p=null,n)if(u=n[i],n.hasOwnProperty(i)&&null!=u)switch(i){case"value":break;case"multiple":h=u;default:o.hasOwnProperty(i)||ud(e,t,i,null,o,u)}for(a in o)if(i=o[a],u=n[a],o.hasOwnProperty(a)&&(null!=i||null!=u))switch(a){case"value":p=i;break;case"defaultValue":s=i;break;case"multiple":l=i;default:i!==u&&ud(e,t,a,i,o,u)}return t=s,n=l,o=h,void(null!=p?vt(e,!!n,p,!1):!!o!=!!n&&(null!=t?vt(e,!!n,t,!0):vt(e,!!n,n?[]:"",!1)));case"textarea":for(s in h=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!o.hasOwnProperty(s))switch(s){case"value":case"children":break;default:ud(e,t,s,null,o,a)}for(l in o)if(a=o[l],i=n[l],o.hasOwnProperty(l)&&(null!=a||null!=i))switch(l){case"value":p=a;break;case"defaultValue":h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(r(91));break;default:a!==i&&ud(e,t,l,a,o,i)}return void wt(e,p,h);case"option":for(var m in n)if(p=n[m],n.hasOwnProperty(m)&&null!=p&&!o.hasOwnProperty(m))if("selected"===m)e.selected=!1;else ud(e,t,m,null,o,p);for(u in o)if(p=o[u],h=n[u],o.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))if("selected"===u)e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p;else ud(e,t,u,p,o,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!o.hasOwnProperty(g)&&ud(e,t,g,null,o,p);for(c in o)if(p=o[c],h=n[c],o.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(r(137,t));break;default:ud(e,t,c,p,o,h)}return;default:if(Et(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!o.hasOwnProperty(y)&&cd(e,t,y,void 0,o,p);for(d in o)p=o[d],h=n[d],!o.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||cd(e,t,d,p,o,h);return}}for(var b in n)p=n[b],n.hasOwnProperty(b)&&null!=p&&!o.hasOwnProperty(b)&&ud(e,t,b,null,o,p);for(f in o)p=o[f],h=n[f],!o.hasOwnProperty(f)||p===h||null==p&&null==h||ud(e,t,f,p,o,h)})(o,e.type,n,t),o[qe]=t}catch(t){kc(e,e.return,t)}}function Ss(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Td(e.type)||4===e.tag}function xs(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ss(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Td(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Rt));else if(4!==r&&(27===r&&Td(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(Cs(e,t,n),e=e.sibling;null!==e;)Cs(e,t,n),e=e.sibling}function As(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&Td(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(As(e,t,n),e=e.sibling;null!==e;)As(e,t,n),e=e.sibling}function Es(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);fd(t,r,n),t[Fe]=e,t[qe]=n}catch(t){kc(e,e.return,t)}}var Is=!1,Ts=!1,_s=!1,Rs="function"==typeof WeakSet?WeakSet:Set,Ps=null;function Os(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Gs(e,n),4&r&&hs(5,n);break;case 1:if(Gs(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){kc(n,n.return,e)}else{var o=kl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){kc(n,n.return,e)}}64&r&&gs(n),512&r&&bs(n,n.return);break;case 3:if(Gs(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Aa(e,t)}catch(e){kc(n,n.return,e)}}break;case 27:null===t&&4&r&&Es(n);case 26:case 5:Gs(e,n),null===t&&4&r&&ws(n),512&r&&bs(n,n.return);break;case 12:Gs(e,n);break;case 31:Gs(e,n),4&r&&Ms(e,n);break;case 13:Gs(e,n),4&r&&Fs(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Ac.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Is)){t=null!==t&&null!==t.memoizedState||Ts,o=Is;var a=Ts;Is=r,(Ts=t)&&!a?Ys(e,n,!!(8772&n.subtreeFlags)):Gs(e,n),Is=o,Ts=a}break;case 30:break;default:Gs(e,n)}}function Ns(e){var t=e.alternate;null!==t&&(e.alternate=null,Ns(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&Qe(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ls=null,zs=!1;function Ds(e,t,n){for(n=n.child;null!==n;)js(e,t,n),n=n.sibling}function js(e,t,n){if(ge&&"function"==typeof ge.onCommitFiberUnmount)try{ge.onCommitFiberUnmount(me,n)}catch{}switch(n.tag){case 26:Ts||vs(n,t),Ds(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Ts||vs(n,t);var r=Ls,o=zs;Td(n.type)&&(Ls=n.stateNode,zs=!1),Ds(e,t,n),qd(n.stateNode),Ls=r,zs=o;break;case 5:Ts||vs(n,t);case 6:if(r=Ls,o=zs,Ls=null,Ds(e,t,n),zs=o,null!==(Ls=r))if(zs)try{(9===Ls.nodeType?Ls.body:"HTML"===Ls.nodeName?Ls.ownerDocument.body:Ls).removeChild(n.stateNode)}catch(e){kc(n,t,e)}else try{Ls.removeChild(n.stateNode)}catch(e){kc(n,t,e)}break;case 18:null!==Ls&&(zs?(_d(9===(e=Ls).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Qf(e)):_d(Ls,n.stateNode));break;case 4:r=Ls,o=zs,Ls=n.stateNode.containerInfo,zs=!0,Ds(e,t,n),Ls=r,zs=o;break;case 0:case 11:case 14:case 15:ms(2,n,t),Ts||ms(4,n,t),Ds(e,t,n);break;case 1:Ts||(vs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&ys(n,t,r)),Ds(e,t,n);break;case 21:Ds(e,t,n);break;case 22:Ts=(r=Ts)||null!==n.memoizedState,Ds(e,t,n),Ts=r;break;default:Ds(e,t,n)}}function Ms(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Qf(e)}catch(e){kc(t,t.return,e)}}}function Fs(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Qf(e)}catch(e){kc(t,t.return,e)}}function qs(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Rs),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Rs),t;default:throw Error(r(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Ec.bind(null,e,t);t.then(r,r)}})}function Us(e,t){var n=t.deletions;if(null!==n)for(var o=0;o<n.length;o++){var a=n[o],i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 27:if(Td(s.type)){Ls=s.stateNode,zs=!1;break e}break;case 5:Ls=s.stateNode,zs=!1;break e;case 3:case 4:Ls=s.stateNode.containerInfo,zs=!0;break e}s=s.return}if(null===Ls)throw Error(r(160));js(i,l,a),Ls=null,zs=!1,null!==(i=a.alternate)&&(i.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Bs(t,e),t=t.sibling}var Hs=null;function Bs(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Us(t,e),Vs(e),4&o&&(ms(3,e,e.return),hs(3,e),ms(5,e,e.return));break;case 1:Us(t,e),Vs(e),512&o&&(Ts||null===n||vs(n,n.return)),64&o&&Is&&(null!==(e=e.updateQueue)&&(null!==(o=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?o:n.concat(o))));break;case 26:var a=Hs;if(Us(t,e),Vs(e),512&o&&(Ts||null===n||vs(n,n.return)),4&o){var i=null!==n?n.memoizedState:null;if(o=e.memoizedState,null===n)if(null===o)if(null===e.stateNode){e:{o=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(o){case"title":(!(i=a.getElementsByTagName("title")[0])||i[Ge]||i[Fe]||"http://www.w3.org/2000/svg"===i.namespaceURI||i.hasAttribute("itemprop"))&&(i=a.createElement(o),a.head.insertBefore(i,a.querySelector("head > title"))),fd(i,o,n),i[Fe]=e,Je(i),o=i;break e;case"link":var l=of("link","href",a).get(o+(n.href||""));if(l)for(var s=0;s<l.length;s++)if((i=l[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&i.getAttribute("rel")===(null==n.rel?null:n.rel)&&i.getAttribute("title")===(null==n.title?null:n.title)&&i.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){l.splice(s,1);break t}fd(i=a.createElement(o),o,n),a.head.appendChild(i);break;case"meta":if(l=of("meta","content",a).get(o+(n.content||"")))for(s=0;s<l.length;s++)if((i=l[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&i.getAttribute("name")===(null==n.name?null:n.name)&&i.getAttribute("property")===(null==n.property?null:n.property)&&i.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&i.getAttribute("charset")===(null==n.charSet?null:n.charSet)){l.splice(s,1);break t}fd(i=a.createElement(o),o,n),a.head.appendChild(i);break;default:throw Error(r(468,o))}i[Fe]=e,Je(i),o=i}e.stateNode=o}else af(a,e.type,e.stateNode);else e.stateNode=Xd(a,o,e.memoizedProps);else i!==o?(null===i?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):i.count--,null===o?af(a,e.type,e.stateNode):Xd(a,o,e.memoizedProps)):null===o&&null!==e.stateNode&&ks(e,e.memoizedProps,n.memoizedProps)}break;case 27:Us(t,e),Vs(e),512&o&&(Ts||null===n||vs(n,n.return)),null!==n&&4&o&&ks(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Us(t,e),Vs(e),512&o&&(Ts||null===n||vs(n,n.return)),32&e.flags){a=e.stateNode;try{St(a,"")}catch(t){kc(e,e.return,t)}}4&o&&null!=e.stateNode&&ks(e,a=e.memoizedProps,null!==n?n.memoizedProps:a),1024&o&&(_s=!0);break;case 6:if(Us(t,e),Vs(e),4&o){if(null===e.stateNode)throw Error(r(162));o=e.memoizedProps,n=e.stateNode;try{n.nodeValue=o}catch(t){kc(e,e.return,t)}}break;case 3:if(rf=null,a=Hs,Hs=Bd(t.containerInfo),Us(t,e),Hs=a,Vs(e),4&o&&null!==n&&n.memoizedState.isDehydrated)try{Qf(t.containerInfo)}catch(t){kc(e,e.return,t)}_s&&(_s=!1,Ws(e));break;case 4:o=Hs,Hs=Bd(e.stateNode.containerInfo),Us(t,e),Vs(e),Hs=o;break;case 12:default:Us(t,e),Vs(e);break;case 31:case 19:Us(t,e),Vs(e),4&o&&(null!==(o=e.updateQueue)&&(e.updateQueue=null,qs(e,o)));break;case 13:Us(t,e),Vs(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Ru=ie()),4&o&&(null!==(o=e.updateQueue)&&(e.updateQueue=null,qs(e,o)));break;case 22:a=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=Is,d=Ts;if(Is=c||a,Ts=d||u,Us(t,e),Ts=d,Is=c,Vs(e),8192&o)e:for(t=e.stateNode,t._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||u||Is||Ts||Qs(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(i=u.stateNode,a)"function"==typeof(l=i.style).setProperty?l.setProperty("display","none","important"):l.display="none";else{s=u.stateNode;var f=u.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){kc(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(e){kc(u,u.return,e)}}}else if(18===t.tag){if(null===n){u=t;try{var h=u.stateNode;a?Rd(h,!0):Rd(u.stateNode,!1)}catch(e){kc(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&o&&(null!==(o=e.updateQueue)&&(null!==(n=o.retryQueue)&&(o.retryQueue=null,qs(e,n))));case 30:case 21:}}function Vs(e){var t=e.flags;if(2&t){try{for(var n,o=e.return;null!==o;){if(Ss(o)){n=o;break}o=o.return}if(null==n)throw Error(r(160));switch(n.tag){case 27:var a=n.stateNode;As(e,xs(e),a);break;case 5:var i=n.stateNode;32&n.flags&&(St(i,""),n.flags&=-33),As(e,xs(e),i);break;case 3:case 4:var l=n.stateNode.containerInfo;Cs(e,xs(e),l);break;default:throw Error(r(161))}}catch(t){kc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ws(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Ws(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Gs(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Os(e,t.alternate,t),t=t.sibling}function Qs(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ms(4,t,t.return),Qs(t);break;case 1:vs(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&ys(t,t.return,n),Qs(t);break;case 27:qd(t.stateNode);case 26:case 5:vs(t,t.return),Qs(t);break;case 22:null===t.memoizedState&&Qs(t);break;default:Qs(t)}e=e.sibling}}function Ys(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,o=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:Ys(o,a,n),hs(4,a);break;case 1:if(Ys(o,a,n),"function"==typeof(o=(r=a).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){kc(r,r.return,e)}if(null!==(o=(r=a).updateQueue)){var l=r.stateNode;try{var s=o.shared.hiddenCallbacks;if(null!==s)for(o.shared.hiddenCallbacks=null,o=0;o<s.length;o++)Ca(s[o],l)}catch(e){kc(r,r.return,e)}}n&&64&i&&gs(a),bs(a,a.return);break;case 27:Es(a);case 26:case 5:Ys(o,a,n),n&&null===r&&4&i&&ws(a),bs(a,a.return);break;case 12:Ys(o,a,n);break;case 31:Ys(o,a,n),n&&4&i&&Ms(o,a);break;case 13:Ys(o,a,n),n&&4&i&&Fs(o,a);break;case 22:null===a.memoizedState&&Ys(o,a,n),bs(a,a.return);break;case 30:break;default:Ys(o,a,n)}t=t.sibling}}function $s(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Fo(n))}function Zs(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Fo(e))}function Ks(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Js(e,t,n,r),t=t.sibling}function Js(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Ks(e,t,n,r),2048&o&&hs(9,t);break;case 1:case 31:case 13:default:Ks(e,t,n,r);break;case 3:Ks(e,t,n,r),2048&o&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Fo(e)));break;case 12:if(2048&o){Ks(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,l=a.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){kc(t,t.return,e)}}else Ks(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,null!==t.memoizedState?2&a._visibility?Ks(e,t,n,r):eu(e,t):2&a._visibility?Ks(e,t,n,r):(a._visibility|=2,Xs(e,t,n,r,!!(10256&t.subtreeFlags)||!1)),2048&o&&$s(i,t);break;case 24:Ks(e,t,n,r),2048&o&&Zs(t.alternate,t)}}function Xs(e,t,n,r,o){for(o=o&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var a=e,i=t,l=n,s=r,u=i.flags;switch(i.tag){case 0:case 11:case 15:Xs(a,i,l,s,o),hs(8,i);break;case 23:break;case 22:var c=i.stateNode;null!==i.memoizedState?2&c._visibility?Xs(a,i,l,s,o):eu(a,i):(c._visibility|=2,Xs(a,i,l,s,o)),o&&2048&u&&$s(i.alternate,i);break;case 24:Xs(a,i,l,s,o),o&&2048&u&&Zs(i.alternate,i);break;default:Xs(a,i,l,s,o)}t=t.sibling}}function eu(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:eu(n,r),2048&o&&$s(r.alternate,r);break;case 24:eu(n,r),2048&o&&Zs(r.alternate,r);break;default:eu(n,r)}t=t.sibling}}var tu=8192;function nu(e,t,n){if(e.subtreeFlags&tu)for(e=e.child;null!==e;)ru(e,t,n),e=e.sibling}function ru(e,t,n){switch(e.tag){case 26:nu(e,t,n),e.flags&tu&&null!==e.memoizedState&&function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var o=Yd(r.href),a=t.querySelector($d(o));if(a)return null!==(t=a._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=uf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,void Je(a);a=t.ownerDocument||t,r=Zd(r),(o=Ud.get(o))&&tf(r,o),Je(a=a.createElement("link"));var i=a;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),fd(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=uf.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Hs,e.memoizedState,e.memoizedProps);break;case 5:default:nu(e,t,n);break;case 3:case 4:var r=Hs;Hs=Bd(e.stateNode.containerInfo),nu(e,t,n),Hs=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=tu,tu=16777216,nu(e,t,n),tu=r):nu(e,t,n))}}function ou(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function au(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Ps=r,su(r,e)}ou(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)iu(e),e=e.sibling}function iu(e){switch(e.tag){case 0:case 11:case 15:au(e),2048&e.flags&&ms(9,e,e.return);break;case 3:case 12:default:au(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,lu(e)):au(e)}}function lu(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Ps=r,su(r,e)}ou(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:ms(8,t,t.return),lu(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,lu(t));break;default:lu(t)}e=e.sibling}}function su(e,t){for(;null!==Ps;){var n=Ps;switch(n.tag){case 0:case 11:case 15:ms(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Fo(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Ps=r;else e:for(n=e;null!==Ps;){var o=(r=Ps).sibling,a=r.return;if(Ns(r),r===n){Ps=null;break e}if(null!==o){o.return=a,Ps=o;break e}Ps=a}}}var uu={getCacheForType:function(e){var t=Po(jo),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Po(jo).controller.signal}},cu="function"==typeof WeakMap?WeakMap:Map,du=0,fu=null,pu=null,hu=0,mu=0,gu=null,yu=!1,bu=!1,vu=!1,wu=0,ku=0,Su=0,xu=0,Cu=0,Au=0,Eu=0,Iu=null,Tu=null,_u=!1,Ru=0,Pu=0,Ou=1/0,Nu=null,Lu=null,zu=0,Du=null,ju=null,Mu=0,Fu=0,qu=null,Uu=null,Hu=0,Bu=null;function Vu(){return 2&du&&0!==hu?hu&-hu:null!==O.T?qc():De()}function Wu(){if(0===Au)if(536870912&hu&&!uo)Au=536870912;else{var e=Se;!(3932160&(Se<<=1))&&(Se=262144),Au=e}return null!==(e=Pa.current)&&(e.flags|=32),Au}function Gu(e,t,n){(e===fu&&(2===mu||9===mu)||null!==e.cancelPendingCommit)&&(Xu(e,0),Zu(e,hu,Au,!1)),Re(e,n),(!(2&du)||e!==fu)&&(e===fu&&(!(2&du)&&(xu|=n),4===ku&&Zu(e,hu,Au,!1)),Nc(e))}function Qu(e,t,n){if(6&du)throw Error(r(327));for(var o=!n&&!(127&t)&&0===(t&e.expiredLanes)||Ee(e,t),a=o?function(e,t){var n=du;du|=2;var o=nc(),a=rc();fu!==e||hu!==t?(Nu=null,Ou=ie()+500,Xu(e,t)):bu=Ee(e,t);e:for(;;)try{if(0!==mu&&null!==pu){t=pu;var i=gu;t:switch(mu){case 1:mu=0,gu=null,cc(e,t,i,1);break;case 2:case 9:if(ea(i)){mu=0,gu=null,uc(t);break}t=function(){2!==mu&&9!==mu||fu!==e||(mu=7),Nc(e)},i.then(t,t);break e;case 3:mu=7;break e;case 4:mu=5;break e;case 7:ea(i)?(mu=0,gu=null,uc(t)):(mu=0,gu=null,cc(e,t,i,7));break;case 5:var l=null;switch(pu.tag){case 26:l=pu.memoizedState;case 5:case 27:var s=pu;if(l?lf(l):s.stateNode.complete){mu=0,gu=null;var u=s.sibling;if(null!==u)pu=u;else{var c=s.return;null!==c?(pu=c,dc(c)):pu=null}break t}}mu=0,gu=null,cc(e,t,i,5);break;case 6:mu=0,gu=null,cc(e,t,i,6);break;case 8:Ju(),ku=6;break e;default:throw Error(r(462))}}lc();break}catch(t){ec(e,t)}return xo=So=null,O.H=o,O.A=a,du=n,null!==pu?0:(fu=null,hu=0,Tr(),ku)}(e,t):ac(e,t,!0),i=o;;){if(0===a){bu&&!o&&Zu(e,t,0,!1);break}if(n=e.current.alternate,!i||$u(n)){if(2===a){if(i=t,e.errorRecoveryDisabledLanes&i)var l=0;else l=0!==(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){t=l;e:{var s=e;a=Iu;var u=s.current.memoizedState.isDehydrated;if(u&&(Xu(s,l).flags|=256),2!==(l=ac(s,l,!1))){if(vu&&!u){s.errorRecoveryDisabledLanes|=i,xu|=i,a=4;break e}i=Tu,Tu=a,null!==i&&(null===Tu?Tu=i:Tu.push.apply(Tu,i))}a=l}if(i=!1,2!==a)continue}}if(1===a){Xu(e,0),Zu(e,t,0,!0);break}e:{switch(o=e,i=a){case 0:case 1:throw Error(r(345));case 4:if((4194048&t)!==t)break;case 6:Zu(o,t,Au,!yu);break e;case 2:Tu=null;break;case 3:case 5:break;default:throw Error(r(329))}if((62914560&t)===t&&10<(a=Ru+300-ie())){if(Zu(o,t,Au,!yu),0!==Ae(o,0,!0))break e;Mu=t,o.timeoutHandle=xd(Yu.bind(null,o,n,Tu,Nu,_u,t,Au,xu,Eu,yu,i,"Throttled",-0,0),a)}else Yu(o,n,Tu,Nu,_u,t,Au,xu,Eu,yu,i,null,-0,0)}break}a=ac(e,t,!1),i=!1}Nc(e)}function Yu(e,t,n,r,o,a,i,l,s,u,c,d,f,p){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||!(16785408&~d)){ru(t,a,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Rt});var h=(62914560&a)===a?Ru-ie():(4194048&a)===a?Pu-ie():0;if(h=function(e,t){return e.stylesheets&&0===e.count&&df(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&df(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===sf&&(sf=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],a=o.transferSize,i=o.initiatorType,l=o.duration;if(a&&l&&pd(i)){for(i=0,l=o.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&pd(d)&&(i+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(a+i)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,"number"==typeof e)?e:5}());var o=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&df(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>sf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}(d,h),null!==h)return Mu=a,e.cancelPendingCommit=h(pc.bind(null,e,t,a,n,r,o,i,l,s,c,d,null,f,p)),void Zu(e,a,i,!u)}pc(e,t,a,n,r,o,i,l,s)}function $u(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!Zn(a(),o))return!1}catch{return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Zu(e,t,n,r){t&=~Cu,t&=~xu,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-be(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&Pe(e,n,t)}function Ku(){return!!(6&du)||(Lc(0),!1)}function Ju(){if(null!==pu){if(0===mu)var e=pu.return;else xo=So=null,ai(e=pu),ia=null,la=0,e=pu;for(;null!==e;)ps(e.alternate,e),e=e.return;pu=null}}function Xu(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,Cd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Mu=0,Ju(),fu=e,pu=n=Mr(e.current,null),hu=t,mu=0,gu=null,yu=!1,bu=Ee(e,t),vu=!1,Eu=Au=Cu=xu=Su=ku=0,Tu=Iu=null,_u=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-be(r),a=1<<o;t|=e[o],r&=~a}return wu=t,Tr(),n}function ec(e,t){Ua=null,O.H=pl,t===Zo||t===Jo?(t=oa(),mu=3):t===Ko?(t=oa(),mu=4):mu=t===Rl?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,gu=t,null===pu&&(ku=1,Al(e,Gr(t,e.current)))}function tc(){var e=Pa.current;return null===e||((4194048&hu)===hu?null===Oa:!!((62914560&hu)===hu||536870912&hu)&&e===Oa)}function nc(){var e=O.H;return O.H=pl,null===e?pl:e}function rc(){var e=O.A;return O.A=uu,e}function oc(){ku=4,yu||(4194048&hu)!==hu&&null!==Pa.current||(bu=!0),!(134217727&Su)&&!(134217727&xu)||null===fu||Zu(fu,hu,Au,!1)}function ac(e,t,n){var r=du;du|=2;var o=nc(),a=rc();(fu!==e||hu!==t)&&(Nu=null,Xu(e,t)),t=!1;var i=ku;e:for(;;)try{if(0!==mu&&null!==pu){var l=pu,s=gu;switch(mu){case 8:Ju(),i=6;break e;case 3:case 2:case 9:case 6:null===Pa.current&&(t=!0);var u=mu;if(mu=0,gu=null,cc(e,l,s,u),n&&bu){i=0;break e}break;default:u=mu,mu=0,gu=null,cc(e,l,s,u)}}ic(),i=ku;break}catch(t){ec(e,t)}return t&&e.shellSuspendCounter++,xo=So=null,du=r,O.H=o,O.A=a,null===pu&&(fu=null,hu=0,Tr()),i}function ic(){for(;null!==pu;)sc(pu)}function lc(){for(;null!==pu&&!oe();)sc(pu)}function sc(e){var t=os(e.alternate,e,wu);e.memoizedProps=e.pendingProps,null===t?dc(e):pu=t}function uc(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Bl(n,t,t.pendingProps,t.type,void 0,hu);break;case 11:t=Bl(n,t,t.pendingProps,t.type.render,t.ref,hu);break;case 5:ai(t);default:ps(n,t),t=os(n,t=pu=Fr(t,wu),wu)}e.memoizedProps=e.pendingProps,null===t?dc(e):pu=t}function cc(e,t,n,o){xo=So=null,ai(t),ia=null,la=0;var a=t.return;try{if(function(e,t,n,o,a){if(n.flags|=32768,null!==o&&"object"==typeof o&&"function"==typeof o.then){if(null!==(t=n.alternate)&&To(t,n,a,!0),null!==(n=Pa.current)){switch(n.tag){case 31:case 13:return null===Oa?oc():null===n.alternate&&0===ku&&(ku=3),n.flags&=-257,n.flags|=65536,n.lanes=a,o===Xo?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([o]):t.add(o),Sc(e,o,a)),!1;case 22:return n.flags|=65536,o===Xo?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([o]):n.add(o),Sc(e,o,a)),!1}throw Error(r(435,n.tag))}return Sc(e,o,a),oc(),!1}if(uo)return null!==(t=Pa.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,o!==po&&wo(Gr(e=Error(r(422),{cause:o}),n))):(o!==po&&wo(Gr(t=Error(r(423),{cause:o}),n)),(e=e.current.alternate).flags|=65536,a&=-a,e.lanes|=a,o=Gr(o,n),wa(e,a=Il(e.stateNode,o,a)),4!==ku&&(ku=2)),!1;var i=Error(r(520),{cause:o});if(i=Gr(i,n),null===Iu?Iu=[i]:Iu.push(i),4!==ku&&(ku=2),null===t)return!0;o=Gr(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,wa(n,e=Il(n.stateNode,o,e)),!1;case 1:if(t=n.type,i=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===i||"function"!=typeof i.componentDidCatch||null!==Lu&&Lu.has(i))))return n.flags|=65536,a&=-a,n.lanes|=a,_l(a=Tl(a),e,n,o),wa(n,a),!1}n=n.return}while(null!==n);return!1}(e,a,t,n,hu))return ku=1,Al(e,Gr(n,e.current)),void(pu=null)}catch(t){if(null!==a)throw pu=a,t;return ku=1,Al(e,Gr(n,e.current)),void(pu=null)}32768&t.flags?(uo||1===o?e=!0:bu||536870912&hu?e=!1:(yu=e=!0,(2===o||9===o||3===o||6===o)&&(null!==(o=Pa.current)&&13===o.tag&&(o.flags|=16384))),fc(t,e)):dc(t)}function dc(e){var t=e;do{if(32768&t.flags)return void fc(t,yu);e=t.return;var n=ds(t.alternate,t,wu);if(null!==n)return void(pu=n);if(null!==(t=t.sibling))return void(pu=t);pu=t=e}while(null!==t);0===ku&&(ku=5)}function fc(e,t){do{var n=fs(e.alternate,e);if(null!==n)return n.flags&=32767,void(pu=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(pu=e);pu=e=n}while(null!==e);ku=6,pu=null}function pc(e,t,n,o,a,i,l,s,u){e.cancelPendingCommit=null;do{bc()}while(0!==zu);if(6&du)throw Error(r(327));if(null!==t){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-be(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Pe(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,i|=Ir,l,s,u),e===fu&&(pu=fu=null,hu=0),ju=t,Du=e,Mu=n,Fu=i,qu=a,Uu=o,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,function(e,t){ne(e,t)}(ce,function(){return vc(),null})):(e.callbackNode=null,e.callbackPriority=0),o=!!(13878&t.flags),13878&t.subtreeFlags||o){o=O.T,O.T=null,a=N.p,N.p=2,l=du,du|=4;try{!function(e,t){if(e=e.containerInfo,hd=Sf,nr(e=tr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(o&&0!==o.rangeCount){n=o.anchorNode;var a=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==o&&3!==f.nodeType||(u=l+o),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===a&&(s=l),p===i&&++d===o&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(md={focusedElem:e,selectionRange:n},Sf=!1,Ps=t;null!==Ps;)if(e=(t=Ps).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ps=e;else for(;null!==Ps;){switch(i=(t=Ps).alternate,e=t.flags,t.tag){case 0:if(4&e&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(a=e[n]).ref.impl=a.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==i){e=void 0,n=t,a=i.memoizedProps,i=i.memoizedState,o=n.stateNode;try{var m=kl(n.type,a);e=o.getSnapshotBeforeUpdate(m,i),o.__reactInternalSnapshotBeforeUpdate=e}catch(e){kc(n,n.return,e)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))Pd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Pd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=t.sibling)){e.return=t.return,Ps=e;break}Ps=t.return}}(e,t)}finally{du=l,N.p=a,O.T=o}}zu=1,hc(),mc(),gc()}}function hc(){if(1===zu){zu=0;var e=Du,t=ju,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=O.T,O.T=null;var r=N.p;N.p=2;var o=du;du|=4;try{Bs(t,e);var a=md,i=tr(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&er(l.ownerDocument.documentElement,l)){if(null!==s&&nr(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(i=g,g=m,m=i);var y=Xn(l,m),b=Xn(l,g);if(y&&b&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(v),p.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),p.addRange(v))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var w=d[l];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Sf=!!hd,md=hd=null}finally{du=o,N.p=r,O.T=n}}e.current=t,zu=2}}function mc(){if(2===zu){zu=0;var e=Du,t=ju,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=O.T,O.T=null;var r=N.p;N.p=2;var o=du;du|=4;try{Os(e,t.alternate,t)}finally{du=o,N.p=r,O.T=n}}zu=3}}function gc(){if(4===zu||3===zu){zu=0,ae();var e=Du,t=ju,n=Mu,r=Uu;10256&t.subtreeFlags||10256&t.flags?zu=5:(zu=0,ju=Du=null,yc(e,e.pendingLanes));var o=e.pendingLanes;if(0===o&&(Lu=null),ze(n),t=t.stateNode,ge&&"function"==typeof ge.onCommitFiberRoot)try{ge.onCommitFiberRoot(me,t,void 0,!(128&~t.current.flags))}catch{}if(null!==r){t=O.T,o=N.p,N.p=2,O.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{O.T=t,N.p=o}}!!(3&Mu)&&bc(),Nc(e),o=e.pendingLanes,261930&n&&42&o?e===Bu?Hu++:(Hu=0,Bu=e):Hu=0,Lc(0)}}function yc(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Fo(t)))}function bc(){return hc(),mc(),gc(),vc()}function vc(){if(5!==zu)return!1;var e=Du,t=Fu;Fu=0;var n=ze(Mu),o=O.T,a=N.p;try{N.p=32>n?32:n,O.T=null,n=qu,qu=null;var i=Du,l=Mu;if(zu=0,ju=Du=null,Mu=0,6&du)throw Error(r(331));var s=du;if(du|=4,iu(i.current),Js(i,i.current,l,n),du=s,Lc(0,!1),ge&&"function"==typeof ge.onPostCommitFiberRoot)try{ge.onPostCommitFiberRoot(me,i)}catch{}return!0}finally{N.p=a,O.T=o,yc(e,t)}}function wc(e,t,n){t=Gr(n,t),null!==(e=ba(e,t=Il(e.stateNode,t,2),2))&&(Re(e,2),Nc(e))}function kc(e,t,n){if(3===e.tag)wc(e,e,n);else for(;null!==t;){if(3===t.tag){wc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Lu||!Lu.has(r))){e=Gr(n,e),null!==(r=ba(t,n=Tl(2),2))&&(_l(n,r,t,e),Re(r,2),Nc(r));break}}t=t.return}}function Sc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new cu;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(vu=!0,o.add(n),e=xc.bind(null,e,t,n),t.then(e,e))}function xc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,fu===e&&(hu&n)===n&&(4===ku||3===ku&&(62914560&hu)===hu&&300>ie()-Ru?!(2&du)&&Xu(e,0):Cu|=n,Eu===hu&&(Eu=0)),Nc(e)}function Cc(e,t){0===t&&(t=Te()),null!==(e=Pr(e,t))&&(Re(e,t),Nc(e))}function Ac(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Ec(e,t){var n=0;switch(e.tag){case 31:case 13:var o=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==o&&o.delete(t),Cc(e,n)}var Ic=null,Tc=null,_c=!1,Rc=!1,Pc=!1,Oc=0;function Nc(e){e!==Tc&&null===e.next&&(null===Tc?Ic=Tc=e:Tc=Tc.next=e),Rc=!0,_c||(_c=!0,Ed(function(){6&du?ne(se,zc):Dc()}))}function Lc(e,t){if(!Pc&&Rc){Pc=!0;do{for(var n=!1,r=Ic;null!==r;){if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-be(42|e)+1)-1,a=201326741&(a&=o&~(i&~l))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,Fc(r,a))}else a=hu,!(3&(a=Ae(r,r===fu?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Ee(r,a)||(n=!0,Fc(r,a));r=r.next}}while(n);Pc=!1}}function zc(){Dc()}function Dc(){Rc=_c=!1;var e=0;0!==Oc&&function(){var e=window.event;return e&&"popstate"===e.type?e!==Sd&&(Sd=e,!0):(Sd=null,!1)}()&&(e=Oc);for(var t=ie(),n=null,r=Ic;null!==r;){var o=r.next,a=jc(r,t);0===a?(r.next=null,null===n?Ic=o:n.next=o,null===o&&(Tc=n)):(n=r,(0!==e||!!(3&a))&&(Rc=!0)),r=o}0!==zu&&5!==zu||Lc(e),0!==Oc&&(Oc=0)}function jc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var i=31-be(a),l=1<<i,s=o[i];-1===s?(0===(l&n)||0!==(l&r))&&(o[i]=Ie(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(n=hu,n=Ae(e,e===(t=fu)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===mu||9===mu)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&re(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Ee(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&re(r),ze(n)){case 2:case 8:n=ue;break;case 32:default:n=ce;break;case 268435456:n=fe}return r=Mc.bind(null,e),n=ne(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&re(r),e.callbackPriority=2,e.callbackNode=null,2}function Mc(e,t){if(0!==zu&&5!==zu)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(bc()&&e.callbackNode!==n)return null;var r=hu;return 0===(r=Ae(e,e===fu?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Qu(e,r,t),jc(e,ie()),null!=e.callbackNode&&e.callbackNode===n?Mc.bind(null,e):null)}function Fc(e,t){if(bc())return null;Qu(e,t,!0)}function qc(){if(0===Oc){var e=Ho;0===e&&(e=ke,!(261888&(ke<<=1))&&(ke=256)),Oc=e}return Oc}function Uc(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:_t(""+e)}function Hc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Bc=0;Bc<Sr.length;Bc++){var Vc=Sr[Bc];xr(Vc.toLowerCase(),"on"+(Vc[0].toUpperCase()+Vc.slice(1)))}xr(hr,"onAnimationEnd"),xr(mr,"onAnimationIteration"),xr(gr,"onAnimationStart"),xr("dblclick","onDoubleClick"),xr("focusin","onFocus"),xr("focusout","onBlur"),xr(yr,"onTransitionRun"),xr(br,"onTransitionStart"),xr(vr,"onTransitionCancel"),xr(wr,"onTransitionEnd"),nt("onMouseEnter",["mouseout","mouseover"]),nt("onMouseLeave",["mouseout","mouseover"]),nt("onPointerEnter",["pointerout","pointerover"]),nt("onPointerLeave",["pointerout","pointerover"]),tt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tt("onBeforeInput",["compositionend","keypress","textInput","paste"]),tt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wc="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(" "),Gc=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wc));function Qc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=u;try{a(o)}catch(e){Cr(e)}o.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=u;try{a(o)}catch(e){Cr(e)}o.currentTarget=null,a=s}}}}function Yc(e,t){var n=t[He];void 0===n&&(n=t[He]=new Set);var r=e+"__bubble";n.has(r)||(Jc(t,e,2,!1),n.add(r))}function $c(e,t,n){var r=0;t&&(r|=4),Jc(n,e,r,t)}var Zc="_reactListening"+Math.random().toString(36).slice(2);function Kc(e){if(!e[Zc]){e[Zc]=!0,Xe.forEach(function(t){"selectionchange"!==t&&(Gc.has(t)||$c(t,!1,e),$c(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Zc]||(t[Zc]=!0,$c("selectionchange",!1,t))}}function Jc(e,t,n,r){switch(_f(t)){case 2:var o=xf;break;case 8:o=Cf;break;default:o=Af}n=o.bind(null,t,n,e),o=void 0,!qt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Xc(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var s=r.stateNode.containerInfo;if(s===o)break;if(4===l)for(l=r.return;null!==l;){var u=l.tag;if((3===u||4===u)&&l.stateNode.containerInfo===o)return;l=l.return}for(;null!==s;){if(null===(l=Ye(s)))return;if(5===(u=l.tag)||6===u||26===u||27===u){r=i=l;continue e}s=s.parentNode}}r=r.return}jt(function(){var r=i,o=Ot(n),l=[];e:{var s=kr.get(e);if(void 0!==s){var u=en,c=e;switch(e){case"keypress":if(0===Gt(n))break e;case"keydown":case"keyup":u=gn;break;case"focusin":c="focus",u=ln;break;case"focusout":c="blur",u=ln;break;case"beforeblur":case"afterblur":u=ln;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=on;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=an;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=bn;break;case hr:case mr:case gr:u=sn;break;case wr:u=vn;break;case"scroll":case"scrollend":u=nn;break;case"wheel":u=wn;break;case"copy":case"cut":case"paste":u=un;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=yn;break;case"toggle":case"beforetoggle":u=kn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=Mt(m,p))&&d.push(ed(m,g,h)),f)break;m=m.return}0<d.length&&(s=new u(s,c,null,n,o),l.push({event:s,listeners:d}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Pt||!(c=n.relatedTarget||n.fromElement)||!Ye(c)&&!c[Ue])&&(u||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ye(c):null)&&(f=a(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(u=null,c=r),u!==c)){if(d=on,g="onMouseLeave",p="onMouseEnter",m="mouse",("pointerout"===e||"pointerover"===e)&&(d=yn,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==u?s:Ze(u),h=null==c?s:Ze(c),(s=new d(g,m+"leave",u,n,o)).target=f,s.relatedTarget=h,g=null,Ye(o)===r&&((d=new d(p,m+"enter",c,n,o)).target=h,d.relatedTarget=f,g=d),f=g,u&&c)e:{for(d=nd,m=c,h=0,g=p=u;g;g=d(g))h++;g=0;for(var y=m;y;y=d(y))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||null!==m&&p===m.alternate){d=p;break e}p=d(p),m=d(m)}d=null}else d=null;null!==u&&rd(l,s,u,d,!1),null!==c&&null!==f&&rd(l,f,c,d,!0)}if("select"===(u=(s=r?Ze(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var b=Fn;else if(Nn(s))if(qn)b=$n;else{b=Qn;var v=Gn}else!(u=s.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Et(r.elementType)&&(b=Fn):b=Yn;switch(b&&(b=b(e,r))?Ln(l,b,n,o):(v&&v(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&bt(s,"number",s.value)),v=r?Ze(r):window,e){case"focusin":(Nn(v)||"true"===v.contentEditable)&&(or=v,ar=r,ir=null);break;case"focusout":ir=ar=or=null;break;case"mousedown":lr=!0;break;case"contextmenu":case"mouseup":case"dragend":lr=!1,sr(l,n,o);break;case"selectionchange":if(rr)break;case"keydown":case"keyup":sr(l,n,o)}var w;if(xn)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else Pn?_n(e,n)&&(k="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(k="onCompositionStart");k&&(En&&"ko"!==n.locale&&(Pn||"onCompositionStart"!==k?"onCompositionEnd"===k&&Pn&&(w=Wt()):(Bt="value"in(Ht=o)?Ht.value:Ht.textContent,Pn=!0)),0<(v=td(r,k)).length&&(k=new cn(k,e,null,n,o),l.push({event:k,listeners:v}),w?k.data=w:null!==(w=Rn(n))&&(k.data=w))),(w=An?function(e,t){switch(e){case"compositionend":return Rn(t);case"keypress":return 32!==t.which?null:(Tn=!0,In);case"textInput":return(e=t.data)===In&&Tn?null:e;default:return null}}(e,n):function(e,t){if(Pn)return"compositionend"===e||!xn&&_n(e,t)?(e=Wt(),Vt=Bt=Ht=null,Pn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return En&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(k=td(r,"onBeforeInput")).length&&(v=new cn("onBeforeInput","beforeinput",null,n,o),l.push({event:v,listeners:k}),v.data=w)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var a=Uc((o[qe]||null).action),i=r.submitter;i&&null!==(t=(t=i[qe]||null)?Uc(t.formAction):i.getAttribute("formAction"))&&(a=t,i=null);var l=new en("action","action",null,r,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Oc){var e=i?Hc(o,i):new FormData(o);Xi(n,{pending:!0,data:e,method:o.method,action:a},null,e)}}else"function"==typeof a&&(l.preventDefault(),e=i?Hc(o,i):new FormData(o),Xi(n,{pending:!0,data:e,method:o.method,action:a},a,e))},currentTarget:o}]})}}(l,e,r,n,o)}Qc(l,t)})}function ed(e,t,n){return{instance:e,listener:t,currentTarget:n}}function td(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=Mt(e,n))&&r.unshift(ed(e,o,a)),null!=(o=Mt(e,t))&&r.push(ed(e,o,a))),3===e.tag)return r;e=e.return}return[]}function nd(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function rd(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,o?null!=(u=Mt(n,a))&&i.unshift(ed(n,u,s)):o||null!=(u=Mt(n,a))&&i.push(ed(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var od=/\r\n?/g,id=/\u0000|\uFFFD/g;function ld(e){return("string"==typeof e?e:""+e).replace(od,"\n").replace(id,"")}function sd(e,t){return t=ld(t),ld(e)===t}function ud(e,t,n,o,a,i){switch(n){case"children":"string"==typeof o?"body"===t||"textarea"===t&&""===o||St(e,o):("number"==typeof o||"bigint"==typeof o)&&"body"!==t&&St(e,""+o);break;case"className":lt(e,"class",o);break;case"tabIndex":lt(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":lt(e,n,o);break;case"style":At(e,o,i);break;case"data":if("object"!==t){lt(e,"data",o);break}case"src":case"href":if(""===o&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==o||"function"==typeof o||"symbol"==typeof o||"boolean"==typeof o){e.removeAttribute(n);break}o=_t(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if("function"==typeof o){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&ud(e,t,"name",a.name,a,null),ud(e,t,"formEncType",a.formEncType,a,null),ud(e,t,"formMethod",a.formMethod,a,null),ud(e,t,"formTarget",a.formTarget,a,null)):(ud(e,t,"encType",a.encType,a,null),ud(e,t,"method",a.method,a,null),ud(e,t,"target",a.target,a,null))),null==o||"symbol"==typeof o||"boolean"==typeof o){e.removeAttribute(n);break}o=_t(""+o),e.setAttribute(n,o);break;case"onClick":null!=o&&(e.onclick=Rt);break;case"onScroll":null!=o&&Yc("scroll",e);break;case"onScrollEnd":null!=o&&Yc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=o){if("object"!=typeof o||!("__html"in o))throw Error(r(61));if(null!=(n=o.__html)){if(null!=a.children)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=o&&"function"!=typeof o&&"symbol"!=typeof o;break;case"muted":e.muted=o&&"function"!=typeof o&&"symbol"!=typeof o;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==o||"function"==typeof o||"boolean"==typeof o||"symbol"==typeof o){e.removeAttribute("xlink:href");break}n=_t(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,""+o):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===o?e.setAttribute(n,""):!1!==o&&null!=o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,o):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&!isNaN(o)&&1<=o?e.setAttribute(n,o):e.removeAttribute(n);break;case"rowSpan":case"start":null==o||"function"==typeof o||"symbol"==typeof o||isNaN(o)?e.removeAttribute(n):e.setAttribute(n,o);break;case"popover":Yc("beforetoggle",e),Yc("toggle",e),it(e,"popover",o);break;case"xlinkActuate":st(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":st(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":st(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":st(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":st(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":st(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":st(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":st(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":st(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":it(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&it(e,n=It.get(n)||n,o)}}function cd(e,t,n,o,a,i){switch(n){case"style":At(e,o,i);break;case"dangerouslySetInnerHTML":if(null!=o){if("object"!=typeof o||!("__html"in o))throw Error(r(61));if(null!=(n=o.__html)){if(null!=a.children)throw Error(r(60));e.innerHTML=n}}break;case"children":"string"==typeof o?St(e,o):("number"==typeof o||"bigint"==typeof o)&&St(e,""+o);break;case"onScroll":null!=o&&Yc("scroll",e);break;case"onScrollEnd":null!=o&&Yc("scrollend",e);break;case"onClick":null!=o&&(e.onclick=Rt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:et.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(i=null!=(i=e[qe]||null)?i[n]:null)&&e.removeEventListener(t,i,a),"function"!=typeof o)?n in e?e[n]=o:!0===o?e.setAttribute(n,""):it(e,n,o):("function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,a)))}}function fd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Yc("error",e),Yc("load",e);var o,a=!1,i=!1;for(o in n)if(n.hasOwnProperty(o)){var l=n[o];if(null!=l)switch(o){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ud(e,t,o,l,n,null)}}return i&&ud(e,t,"srcSet",n.srcSet,n,null),void(a&&ud(e,t,"src",n.src,n,null));case"input":Yc("invalid",e);var s=o=l=i=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":i=d;break;case"type":l=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":o=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(r(137,t));break;default:ud(e,t,a,d,n,null)}}return void yt(e,o,s,u,c,l,i,!1);case"select":for(i in Yc("invalid",e),a=l=o=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":o=s;break;case"defaultValue":l=s;break;case"multiple":a=s;default:ud(e,t,i,s,n,null)}return t=o,n=l,e.multiple=!!a,void(null!=t?vt(e,!!a,t,!1):null!=n&&vt(e,!!a,n,!0));case"textarea":for(l in Yc("invalid",e),o=i=a=null,n)if(n.hasOwnProperty(l)&&null!=(s=n[l]))switch(l){case"value":a=s;break;case"defaultValue":i=s;break;case"children":o=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(r(91));break;default:ud(e,t,l,s,n,null)}return void kt(e,a,i,o);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(a=n[u]))if("selected"===u)e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a;else ud(e,t,u,a,n,null);return;case"dialog":Yc("beforetoggle",e),Yc("toggle",e),Yc("cancel",e),Yc("close",e);break;case"iframe":case"object":Yc("load",e);break;case"video":case"audio":for(a=0;a<Wc.length;a++)Yc(Wc[a],e);break;case"image":Yc("error",e),Yc("load",e);break;case"details":Yc("toggle",e);break;case"embed":case"source":case"link":Yc("error",e),Yc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ud(e,t,c,a,n,null)}return;default:if(Et(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(a=n[d])&&cd(e,t,d,a,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(null!=(a=n[s])&&ud(e,t,s,a,n,null))}function pd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var hd=null,md=null;function gd(e){return 9===e.nodeType?e:e.ownerDocument}function yd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function wd(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Sd=null;var xd="function"==typeof setTimeout?setTimeout:void 0,Cd="function"==typeof clearTimeout?clearTimeout:void 0,Ad="function"==typeof Promise?Promise:void 0,Ed="function"==typeof queueMicrotask?queueMicrotask:typeof Ad<"u"?function(e){return Ad.resolve(null).then(e).catch(Id)}:xd;function Id(e){setTimeout(function(){throw e})}function Td(e){return"head"===e}function _d(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r)return e.removeChild(o),void Qf(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)qd(e.ownerDocument.documentElement);else if("head"===n){qd(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[Ge]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=i}}else"body"===n&&qd(e.ownerDocument.body);n=o}while(n);Qf(t)}function Rd(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Pd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Pd(n),Qe(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function Od(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=zd(e.nextSibling)))return null;return e}function Nd(e){return"$?"===e.data||"$~"===e.data}function Ld(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function zd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var Dd=null;function jd(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return zd(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Md(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Fd(e,t,n){switch(t=gd(n),e){case"html":if(!(e=t.documentElement))throw Error(r(452));return e;case"head":if(!(e=t.head))throw Error(r(453));return e;case"body":if(!(e=t.body))throw Error(r(454));return e;default:throw Error(r(451))}}function qd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Qe(e)}var Ud=new Map,Hd=new Set;function Bd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Vd=N.d;N.d={f:function(){var e=Vd.f(),t=Ku();return e||t},r:function(e){var t=$e(e);null!==t&&5===t.tag&&"form"===t.type?tl(t):Vd.r(e)},D:function(e){Vd.D(e),Gd("dns-prefetch",e,null)},C:function(e,t){Vd.C(e,t),Gd("preconnect",e,t)},L:function(e,t,n){Vd.L(e,t,n);var r=Wd;if(r&&e&&t){var o='link[rel="preload"][as="'+mt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+mt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+mt(n.imageSizes)+'"]')):o+='[href="'+mt(e)+'"]';var a=o;switch(t){case"style":a=Yd(e);break;case"script":a=Kd(e)}Ud.has(a)||(e=c({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Ud.set(a,e),null!==r.querySelector(o)||"style"===t&&r.querySelector($d(a))||"script"===t&&r.querySelector(Jd(a))||(fd(t=r.createElement("link"),"link",e),Je(t),r.head.appendChild(t)))}},m:function(e,t){Vd.m(e,t);var n=Wd;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+mt(r)+'"][href="'+mt(e)+'"]',a=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Kd(e)}if(!Ud.has(a)&&(e=c({rel:"modulepreload",href:e},t),Ud.set(a,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Jd(a)))return}fd(r=n.createElement("link"),"link",e),Je(r),n.head.appendChild(r)}}},X:function(e,t){Vd.X(e,t);var n=Wd;if(n&&e){var r=Ke(n).hoistableScripts,o=Kd(e),a=r.get(o);a||((a=n.querySelector(Jd(o)))||(e=c({src:e,async:!0},t),(t=Ud.get(o))&&nf(e,t),Je(a=n.createElement("script")),fd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}},S:function(e,t,n){Vd.S(e,t,n);var r=Wd;if(r&&e){var o=Ke(r).hoistableStyles,a=Yd(e);t=t||"default";var i=o.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector($d(a)))l.loading=5;else{e=c({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ud.get(a))&&tf(e,n);var s=i=r.createElement("link");Je(s),fd(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,ef(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},o.set(a,i)}}},M:function(e,t){Vd.M(e,t);var n=Wd;if(n&&e){var r=Ke(n).hoistableScripts,o=Kd(e),a=r.get(o);a||((a=n.querySelector(Jd(o)))||(e=c({src:e,async:!0,type:"module"},t),(t=Ud.get(o))&&nf(e,t),Je(a=n.createElement("script")),fd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}}};var Wd=typeof document>"u"?null:document;function Gd(e,t,n){var r=Wd;if(r&&"string"==typeof t&&t){var o=mt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),Hd.has(o)||(Hd.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(fd(t=r.createElement("link"),"link",e),Je(t),r.head.appendChild(t)))}}function Qd(e,t,n,o){var a=(a=V.current)?Bd(a):null;if(!a)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Yd(n.href),(o=(n=Ke(a).hoistableStyles).get(t))||(o={type:"style",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Yd(n.href);var i=Ke(a).hoistableStyles,l=i.get(e);if(l||(a=a.ownerDocument||a,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,l),(i=a.querySelector($d(e)))&&!i._p&&(l.instance=i,l.state.loading=5),Ud.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ud.set(e,n),i||function(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),fd(t,"link",n),Je(t),e.head.appendChild(t))}(a,e,n,l.state))),t&&null===o)throw Error(r(528,""));return l}if(t&&null!==o)throw Error(r(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Kd(n),(o=(n=Ke(a).hoistableScripts).get(t))||(o={type:"script",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Yd(e){return'href="'+mt(e)+'"'}function $d(e){return'link[rel="stylesheet"]['+e+"]"}function Zd(e){return c({},e,{"data-precedence":e.precedence,precedence:null})}function Kd(e){return'[src="'+mt(e)+'"]'}function Jd(e){return"script[async]"+e}function Xd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+mt(n.href)+'"]');if(o)return t.instance=o,Je(o),o;var a=c({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Je(o=(e.ownerDocument||e).createElement("style")),fd(o,"style",a),ef(o,n.precedence,e),t.instance=o;case"stylesheet":a=Yd(n.href);var i=e.querySelector($d(a));if(i)return t.state.loading|=4,t.instance=i,Je(i),i;o=Zd(n),(a=Ud.get(a))&&tf(o,a),Je(i=(e.ownerDocument||e).createElement("link"));var l=i;return l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),fd(i,"link",o),t.state.loading|=4,ef(i,n.precedence,e),t.instance=i;case"script":return i=Kd(n.src),(a=e.querySelector(Jd(i)))?(t.instance=a,Je(a),a):(o=n,(a=Ud.get(i))&&nf(o=c({},n),a),Je(a=(e=e.ownerDocument||e).createElement("script")),fd(a,"link",o),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(r(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(o=t.instance,t.state.loading|=4,ef(o,n.precedence,e));return t.instance}function ef(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function tf(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function nf(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var rf=null;function of(e,t,n){if(null===rf){var r=new Map,o=rf=new Map;o.set(n,r)}else(r=(o=rf).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[Ge]||a[Fe]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function af(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function lf(e){return!("stylesheet"===e.type&&!(3&e.state.loading))}var sf=0;function uf(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)df(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var cf=null;function df(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,cf=new Map,t.forEach(ff,e),cf=null,uf.call(e))}function ff(e,t){if(!(4&t.state.loading)){var n=cf.get(e);if(n)var r=n.get(null);else{n=new Map,cf.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(null,o),n.set(i,o),this.count++,r=uf.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var pf={$$typeof:v,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function hf(e,t,n,r,o,a,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=_e(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_e(0),this.hiddenUpdates=_e(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function mf(e,t,n,r,o,a,i,l,s,u,c,d){return e=new hf(e,t,n,i,s,u,c,d,l),t=1,!0===a&&(t|=24),a=Dr(3,null,null,t),e.current=a,a.stateNode=e,(t=Mo()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ma(a),e}function gf(e){return e?e=Lr:Lr}function yf(e,t,n,r,o,a){o=gf(o),null===r.context?r.context=o:r.pendingContext=o,(r=ya(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=ba(e,r,t))&&(Gu(n,0,t),va(n,e,t))}function bf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function vf(e,t){bf(e,t),(e=e.alternate)&&bf(e,t)}function wf(e){if(13===e.tag||31===e.tag){var t=Pr(e,67108864);null!==t&&Gu(t,0,67108864),vf(e,67108864)}}function kf(e){if(13===e.tag||31===e.tag){var t=Vu(),n=Pr(e,t=Le(t));null!==n&&Gu(n,0,t),vf(e,t)}}var Sf=!0;function xf(e,t,n,r){var o=O.T;O.T=null;var a=N.p;try{N.p=2,Af(e,t,n,r)}finally{N.p=a,O.T=o}}function Cf(e,t,n,r){var o=O.T;O.T=null;var a=N.p;try{N.p=8,Af(e,t,n,r)}finally{N.p=a,O.T=o}}function Af(e,t,n,r){if(Sf){var o=Ef(r);if(null===o)Xc(e,t,r,If,n),Mf(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Pf=Ff(Pf,e,t,n,r,o),!0;case"dragenter":return Of=Ff(Of,e,t,n,r,o),!0;case"mouseover":return Nf=Ff(Nf,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Lf.set(a,Ff(Lf.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,zf.set(a,Ff(zf.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Mf(e,r),4&t&&-1<jf.indexOf(e)){for(;null!==o;){var a=$e(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=Ce(a.pendingLanes);if(0!==i){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-be(i);l.entanglements[1]|=s,i&=~s}Nc(a),!(6&du)&&(Ou=ie()+500,Lc(0))}}break;case 31:case 13:null!==(l=Pr(a,2))&&Gu(l,0,2),Ku(),vf(a,2)}if(null===(a=Ef(r))&&Xc(e,t,r,If,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Xc(e,t,r,null,n)}}function Ef(e){return Tf(e=Ot(e))}var If=null;function Tf(e){if(If=null,null!==(e=Ye(e))){var t=a(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=i(t)))return e;e=null}else if(31===n){if(null!==(e=l(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return If=e,null}function _f(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(le()){case se:return 2;case ue:return 8;case ce:case de:return 32;case fe:return 268435456;default:return 32}default:return 32}}var Rf=!1,Pf=null,Of=null,Nf=null,Lf=new Map,zf=new Map,Df=[],jf="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".split(" ");function Mf(e,t){switch(e){case"focusin":case"focusout":Pf=null;break;case"dragenter":case"dragleave":Of=null;break;case"mouseover":case"mouseout":Nf=null;break;case"pointerover":case"pointerout":Lf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zf.delete(t.pointerId)}}function Ff(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=$e(t))&&wf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function qf(e){var t=Ye(e.target);if(null!==t){var n=a(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=i(n)))return e.blockedOn=t,void je(e.priority,function(){kf(n)})}else if(31===t){if(null!==(t=l(n)))return e.blockedOn=t,void je(e.priority,function(){kf(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Uf(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ef(e.nativeEvent);if(null!==n)return null!==(t=$e(n))&&wf(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Pt=r,n.target.dispatchEvent(r),Pt=null,t.shift()}return!0}function Hf(e,t,n){Uf(e)&&n.delete(t)}function Bf(){Rf=!1,null!==Pf&&Uf(Pf)&&(Pf=null),null!==Of&&Uf(Of)&&(Of=null),null!==Nf&&Uf(Nf)&&(Nf=null),Lf.forEach(Hf),zf.forEach(Hf)}function Vf(t,n){t.blockedOn===n&&(t.blockedOn=null,Rf||(Rf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Bf)))}var Wf=null;function Gf(t){Wf!==t&&(Wf=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Wf===t&&(Wf=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],o=t[e+2];if("function"!=typeof r){if(null===Tf(r||n))continue;break}var a=$e(n);null!==a&&(t.splice(e,3),e-=3,Xi(a,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function Qf(e){function t(t){return Vf(t,e)}null!==Pf&&Vf(Pf,e),null!==Of&&Vf(Of,e),null!==Nf&&Vf(Nf,e),Lf.forEach(t),zf.forEach(t);for(var n=0;n<Df.length;n++){var r=Df[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Df.length&&null===(n=Df[0]).blockedOn;)qf(n),null===n.blockedOn&&Df.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[qe]||null;if("function"==typeof a)i||Gf(n);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[qe]||null)l=i.formAction;else if(null!==Tf(o))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),Gf(n)}}}function Yf(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function $f(e){this._internalRoot=e}function Zf(e){this._internalRoot=e}Zf.prototype.render=$f.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));yf(t.current,Vu(),e,t,null,null)},Zf.prototype.unmount=$f.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;yf(e.current,2,null,e,null,null),Ku(),t[Ue]=null}},Zf.prototype.unstable_scheduleHydration=function(e){if(e){var t=De();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Df.length&&0!==t&&t<Df[n].priority;n++);Df.splice(n,0,e),0===n&&qf(e)}};var Kf=t.version;if("19.2.0"!==Kf)throw Error(r(527,Kf,"19.2.0"));N.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=function(e){var t=e.alternate;if(!t){if(null===(t=a(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,o=t;;){var i=n.return;if(null===i)break;var l=i.alternate;if(null===l){if(null!==(o=i.return)){n=o;continue}break}if(i.child===l.child){for(l=i.child;l;){if(l===n)return s(i),e;if(l===o)return s(i),t;l=l.sibling}throw Error(r(188))}if(n.return!==o.return)n=i,o=l;else{for(var u=!1,c=i.child;c;){if(c===n){u=!0,n=i,o=l;break}if(c===o){u=!0,o=i,n=l;break}c=c.sibling}if(!u){for(c=l.child;c;){if(c===n){u=!0,n=l,o=i;break}if(c===o){u=!0,o=l,n=i;break}c=c.sibling}if(!u)throw Error(r(189))}}if(n.alternate!==o)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?u(e):null)?null:e.stateNode};var Jf={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xf.isDisabled&&Xf.supportsFiber)try{me=Xf.inject(Jf),ge=Xf}catch{}}return ad.createRoot=function(e,t){if(!o(e))throw Error(r(299));var n=!1,a="",i=Sl,l=xl,s=Cl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(l=t.onCaughtError),void 0!==t.onRecoverableError&&(s=t.onRecoverableError)),t=mf(e,1,!1,null,0,n,a,null,i,l,s,Yf),e[Ue]=t.current,Kc(e),new $f(t)},ad.hydrateRoot=function(e,t,n){if(!o(e))throw Error(r(299));var a=!1,i="",l=Sl,s=xl,u=Cl,c=null;return null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(l=n.onUncaughtError),void 0!==n.onCaughtError&&(s=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.formState&&(c=n.formState)),(t=mf(e,1,!0,t,0,a,i,c,l,s,u,Yf)).context=gf(null),n=t.current,(i=ya(a=Le(a=Vu()))).callback=null,ba(n,i,a),n=a,t.current.lanes=n,Re(t,n),Nc(t),e[Ue]=t.current,Kc(e),new Zf(t)},ad.version="19.2.0",ad}var xd,Cd,Ad={};function Ed(){if(xd)return Ad;xd=1;
|
|
97
|
+
*/}function xd(){if(vd)return id;vd=1;var e=fd(),t=b(),n=Sd();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function a(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function i(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function l(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function s(e){if(a(e)!==e)throw Error(r(188))}function u(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=u(e)))return t;e=e.sibling}return null}var c=Object.assign,d=Symbol.for("react.element"),f=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),v=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),E=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function T(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var _=Symbol.for("react.client.reference");function R(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===_?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case g:return"Profiler";case m:return"StrictMode";case k:return"Suspense";case S:return"SuspenseList";case A:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case p:return"Portal";case v:return e.displayName||"Context";case y:return(e._context.displayName||"Context")+".Consumer";case w:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case x:return null!==(t=e.displayName||null)?t:R(e.type)||"Memo";case C:t=e._payload,e=e._init;try{return R(e(t))}catch{}}return null}var P=Array.isArray,O=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},z=[],D=-1;function j(e){return{current:e}}function M(e){0>D||(e.current=z[D],z[D]=null,D--)}function F(e,t){D++,z[D]=e.current,e.current=t}var q,U,H=j(null),B=j(null),V=j(null),W=j(null);function G(e,t){switch(F(V,t),F(B,e),F(H,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?yd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=bd(t=yd(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}M(H),F(H,e)}function Q(){M(H),M(B),M(V)}function Y(e){null!==e.memoizedState&&F(W,e);var t=H.current,n=bd(t,e.type);t!==n&&(F(B,e),F(H,n))}function $(e){B.current===e&&(M(H),M(B)),W.current===e&&(M(W),pf._currentValue=L)}function Z(e){if(void 0===q)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);q=t&&t[1]||"",U=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+q+e+U}var K=!1;function J(e,t){if(!e||K)return"";K=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),u=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===u.length)for(r=s.length-1,o=u.length-1;1<=r&&0<=o&&s[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==u[o]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{K=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Z(n):""}function X(e,t){switch(e.tag){case 26:case 27:case 5:return Z(e.type);case 16:return Z("Lazy");case 13:return e.child!==t&&null!==t?Z("Suspense Fallback"):Z("Suspense");case 19:return Z("SuspenseList");case 0:case 15:return J(e.type,!1);case 11:return J(e.type.render,!1);case 1:return J(e.type,!0);case 31:return Z("Activity");default:return""}}function ee(e){try{var t="",n=null;do{t+=X(e,n),n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var te=Object.prototype.hasOwnProperty,ne=e.unstable_scheduleCallback,re=e.unstable_cancelCallback,oe=e.unstable_shouldYield,ae=e.unstable_requestPaint,ie=e.unstable_now,le=e.unstable_getCurrentPriorityLevel,se=e.unstable_ImmediatePriority,ue=e.unstable_UserBlockingPriority,ce=e.unstable_NormalPriority,de=e.unstable_LowPriority,fe=e.unstable_IdlePriority,pe=e.log,he=e.unstable_setDisableYieldValue,me=null,ge=null;function ye(e){if("function"==typeof pe&&he(e),ge&&"function"==typeof ge.setStrictMode)try{ge.setStrictMode(me,e)}catch{}}var be=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ve(e)/we|0)|0},ve=Math.log,we=Math.LN2;var ke=256,Se=262144,xe=4194304;function Ce(e){var t=42&e;if(0!==t)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ae(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=134217727&r;return 0!==l?0!==(r=l&~a)?o=Ce(r):0!==(i&=l)?o=Ce(i):n||0!==(n=l&~e)&&(o=Ce(n)):0!==(l=r&~a)?o=Ce(l):0!==i?o=Ce(i):n||0!==(n=r&~e)&&(o=Ce(n)),0===o?0:0!==t&&t!==o&&0===(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&4194048&n)?t:o}function Ee(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Ie(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;default:return-1}}function Te(){var e=xe;return!(62914560&(xe<<=1))&&(xe=4194304),e}function _e(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Re(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Pe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-be(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Oe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-be(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Ne(e,t){var n=t&-t;return 0!==((n=42&n?1:Le(n))&(e.suspendedLanes|t))?0:n}function Le(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ze(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function De(){var e=N.p;return 0!==e?e:void 0===(e=window.event)?32:_f(e.type)}function je(e,t){var n=N.p;try{return N.p=e,t()}finally{N.p=n}}var Me=Math.random().toString(36).slice(2),Fe="__reactFiber$"+Me,qe="__reactProps$"+Me,Ue="__reactContainer$"+Me,He="__reactEvents$"+Me,Be="__reactListeners$"+Me,Ve="__reactHandles$"+Me,We="__reactResources$"+Me,Ge="__reactMarker$"+Me;function Qe(e){delete e[Fe],delete e[qe],delete e[He],delete e[Be],delete e[Ve]}function Ye(e){var t=e[Fe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ue]||n[Fe]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Md(e);null!==e;){if(n=e[Fe])return n;e=Md(e)}return t}n=(e=n).parentNode}return null}function $e(e){if(e=e[Fe]||e[Ue]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function Ze(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(r(33))}function Ke(e){var t=e[We];return t||(t=e[We]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[Ge]=!0}var Xe=new Set,et={};function tt(e,t){nt(e,t),nt(e+"Capture",t)}function nt(e,t){for(et[e]=t,e=0;e<t.length;e++)Xe.add(t[e])}var rt=RegExp("^[: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][: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]*$"),ot={},at={};function it(e,t,n){if(function(e){return!!te.call(at,e)||!te.call(ot,e)&&(rt.test(e)?at[e]=!0:(ot[e]=!0,!1))}(t))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function lt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function st(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function ut(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ct(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function dt(e){if(!e._valueTracker){var t=ct(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function ft(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ct(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function pt(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ht=/[\n"\\]/g;function mt(e){return e.replace(ht,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function gt(e,t,n,r,o,a,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ut(t)):e.value!==""+ut(t)&&(e.value=""+ut(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?bt(e,i,ut(t)):null!=n?bt(e,i,ut(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+ut(l):e.removeAttribute("name")}function yt(e,t,n,r,o,a,i,l){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return void dt(e);n=null!=n?""+ut(n):"",t=null!=t?""+ut(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=r??o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),dt(e)}function bt(e,t,n){"number"===t&&pt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function vt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ut(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function wt(e,t,n){null==t||((t=""+ut(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ut(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function kt(e,t,n,o){if(null==t){if(null!=o){if(null!=n)throw Error(r(92));if(P(o)){if(1<o.length)throw Error(r(93));o=o[0]}n=o}null==n&&(n=""),t=n}n=ut(t),e.defaultValue=n,(o=e.textContent)===n&&""!==o&&null!==o&&(e.value=o),dt(e)}function St(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var xt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ct(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||xt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function At(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(r(62));if(e=e.style,null!=n){for(var o in n)!n.hasOwnProperty(o)||null!=t&&t.hasOwnProperty(o)||(0===o.indexOf("--")?e.setProperty(o,""):"float"===o?e.cssFloat="":e[o]="");for(var a in t)o=t[a],t.hasOwnProperty(a)&&n[a]!==o&&Ct(e,a,o)}else for(var i in t)t.hasOwnProperty(i)&&Ct(e,i,t[i])}function Et(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var It=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Tt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function _t(e){return Tt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Rt(){}var Pt=null;function Ot(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Nt=null,Lt=null;function zt(e){var t=$e(e);if(t&&(e=t.stateNode)){var n=e[qe]||null;e:switch(e=t.stateNode,t.type){case"input":if(gt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+mt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var a=o[qe]||null;if(!a)throw Error(r(90));gt(o,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(o=n[t]).form===e.form&&ft(o)}break e;case"textarea":wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&vt(e,!!n.multiple,t,!1)}}}var Dt=!1;function jt(e,t,n){if(Dt)return e(t,n);Dt=!0;try{return e(t)}finally{if(Dt=!1,(null!==Nt||null!==Lt)&&(Ku(),Nt&&(t=Nt,e=Lt,Lt=Nt=null,zt(t),e)))for(t=0;t<e.length;t++)zt(e[t])}}function Mt(e,t){var n=e.stateNode;if(null===n)return null;var o=n[qe]||null;if(null===o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var Ft=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qt=!1;if(Ft)try{var Ut={};Object.defineProperty(Ut,"passive",{get:function(){qt=!0}}),window.addEventListener("test",Ut,Ut),window.removeEventListener("test",Ut,Ut)}catch{qt=!1}var Ht=null,Bt=null,Vt=null;function Wt(){if(Vt)return Vt;var e,t,n=Bt,r=n.length,o="value"in Ht?Ht.value:Ht.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Vt=o.slice(e,1<t?1-t:void 0)}function Gt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Qt(){return!0}function Yt(){return!1}function $t(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Qt:Yt,this.isPropagationStopped=Yt,this}return c(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Qt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Qt)},persist:function(){},isPersistent:Qt}),t}var Zt,Kt,Jt,Xt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},en=$t(Xt),tn=c({},Xt,{view:0,detail:0}),nn=$t(tn),rn=c({},tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jt&&(Jt&&"mousemove"===e.type?(Zt=e.screenX-Jt.screenX,Kt=e.screenY-Jt.screenY):Kt=Zt=0,Jt=e),Zt)},movementY:function(e){return"movementY"in e?e.movementY:Kt}}),on=$t(rn),an=$t(c({},rn,{dataTransfer:0})),ln=$t(c({},tn,{relatedTarget:0})),sn=$t(c({},Xt,{animationName:0,elapsedTime:0,pseudoElement:0})),un=$t(c({},Xt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),cn=$t(c({},Xt,{data:0})),dn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fn={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"},pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=pn[e])&&!!t[e]}function mn(){return hn}var gn=$t(c({},tn,{key:function(e){if(e.key){var t=dn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Gt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?fn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:function(e){return"keypress"===e.type?Gt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Gt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),yn=$t(c({},rn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bn=$t(c({},tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),vn=$t(c({},Xt,{propertyName:0,elapsedTime:0,pseudoElement:0})),wn=$t(c({},rn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),kn=$t(c({},Xt,{newState:0,oldState:0})),Sn=[9,13,27,32],xn=Ft&&"CompositionEvent"in window,Cn=null;Ft&&"documentMode"in document&&(Cn=document.documentMode);var An=Ft&&"TextEvent"in window&&!Cn,En=Ft&&(!xn||Cn&&8<Cn&&11>=Cn),In=" ",Tn=!1;function _n(e,t){switch(e){case"keyup":return-1!==Sn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Pn=!1;var On={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 Nn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!On[e.type]:"textarea"===t}function Ln(e,t,n,r){Nt?Lt?Lt.push(r):Lt=[r]:Nt=r,0<(t=td(t,"onChange")).length&&(n=new en("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var zn=null,Dn=null;function jn(e){Qc(e,0)}function Mn(e){if(ft(Ze(e)))return e}function Fn(e,t){if("change"===e)return t}var qn=!1;if(Ft){var Un;if(Ft){var Hn="oninput"in document;if(!Hn){var Bn=document.createElement("div");Bn.setAttribute("oninput","return;"),Hn="function"==typeof Bn.oninput}Un=Hn}else Un=!1;qn=Un&&(!document.documentMode||9<document.documentMode)}function Vn(){zn&&(zn.detachEvent("onpropertychange",Wn),Dn=zn=null)}function Wn(e){if("value"===e.propertyName&&Mn(Dn)){var t=[];Ln(t,Dn,e,Ot(e)),jt(jn,t)}}function Gn(e,t,n){"focusin"===e?(Vn(),Dn=n,(zn=t).attachEvent("onpropertychange",Wn)):"focusout"===e&&Vn()}function Qn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Mn(Dn)}function Yn(e,t){if("click"===e)return Mn(t)}function $n(e,t){if("input"===e||"change"===e)return Mn(t)}var Zn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Kn(e,t){if(Zn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!te.call(t,o)||!Zn(e[o],t[o]))return!1}return!0}function Jn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xn(e,t){var n,r=Jn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Jn(r)}}function er(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?er(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function tr(e){for(var t=pt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=pt((e=t.contentWindow).document)}return t}function nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rr=Ft&&"documentMode"in document&&11>=document.documentMode,or=null,ar=null,ir=null,lr=!1;function sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;lr||null==or||or!==pt(r)||("selectionStart"in(r=or)&&nr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},ir&&Kn(ir,r)||(ir=r,0<(r=td(ar,"onSelect")).length&&(t=new en("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=or)))}function ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var cr={animationend:ur("Animation","AnimationEnd"),animationiteration:ur("Animation","AnimationIteration"),animationstart:ur("Animation","AnimationStart"),transitionrun:ur("Transition","TransitionRun"),transitionstart:ur("Transition","TransitionStart"),transitioncancel:ur("Transition","TransitionCancel"),transitionend:ur("Transition","TransitionEnd")},dr={},fr={};function pr(e){if(dr[e])return dr[e];if(!cr[e])return e;var t,n=cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in fr)return dr[e]=n[t];return e}Ft&&(fr=document.createElement("div").style,"AnimationEvent"in window||(delete cr.animationend.animation,delete cr.animationiteration.animation,delete cr.animationstart.animation),"TransitionEvent"in window||delete cr.transitionend.transition);var hr=pr("animationend"),mr=pr("animationiteration"),gr=pr("animationstart"),yr=pr("transitionrun"),br=pr("transitionstart"),vr=pr("transitioncancel"),wr=pr("transitionend"),kr=new Map,Sr="abort auxClick beforeToggle 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 xr(e,t){kr.set(e,t),tt(t,[e])}Sr.push("scrollEnd");var Cr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Ar=[],Er=0,Ir=0;function Tr(){for(var e=Er,t=Ir=Er=0;t<e;){var n=Ar[t];Ar[t++]=null;var r=Ar[t];Ar[t++]=null;var o=Ar[t];Ar[t++]=null;var a=Ar[t];if(Ar[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&Or(n,o,a)}}function _r(e,t,n,r){Ar[Er++]=e,Ar[Er++]=t,Ar[Er++]=n,Ar[Er++]=r,Ir|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Rr(e,t,n,r){return _r(e,t,n,r),Nr(e)}function Pr(e,t){return _r(e,null,null,t),Nr(e)}function Or(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-be(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),a):null}function Nr(e){if(50<Hu)throw Hu=0,Bu=null,Error(r(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Lr={};function zr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dr(e,t,n,r){return new zr(e,t,n,r)}function jr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mr(e,t){var n=e.alternate;return null===n?((n=Dr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Fr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function qr(e,t,n,o,a,i){var l=0;if(o=e,"function"==typeof e)jr(e)&&(l=1);else if("string"==typeof e)l=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,H.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case A:return(e=Dr(31,n,t,a)).elementType=A,e.lanes=i,e;case h:return Ur(n.children,a,i,t);case m:l=8,a|=24;break;case g:return(e=Dr(12,n,t,2|a)).elementType=g,e.lanes=i,e;case k:return(e=Dr(13,n,t,a)).elementType=k,e.lanes=i,e;case S:return(e=Dr(19,n,t,a)).elementType=S,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case v:l=10;break e;case y:l=9;break e;case w:l=11;break e;case x:l=14;break e;case C:l=16,o=null;break e}l=29,n=Error(r(130,null===e?"null":typeof e,"")),o=null}return(t=Dr(l,n,t,a)).elementType=e,t.type=o,t.lanes=i,t}function Ur(e,t,n,r){return(e=Dr(7,e,r,t)).lanes=n,e}function Hr(e,t,n){return(e=Dr(6,e,null,t)).lanes=n,e}function Br(e){var t=Dr(18,null,null,0);return t.stateNode=e,t}function Vr(e,t,n){return(t=Dr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Wr=new WeakMap;function Gr(e,t){if("object"==typeof e&&null!==e){var n=Wr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ee(t)},Wr.set(e,t),t)}return{value:e,source:t,stack:ee(t)}}var Qr=[],Yr=0,$r=null,Zr=0,Kr=[],Jr=0,Xr=null,eo=1,to="";function no(e,t){Qr[Yr++]=Zr,Qr[Yr++]=$r,$r=e,Zr=t}function ro(e,t,n){Kr[Jr++]=eo,Kr[Jr++]=to,Kr[Jr++]=Xr,Xr=e;var r=eo;e=to;var o=32-be(r)-1;r&=~(1<<o),n+=1;var a=32-be(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,eo=1<<32-be(t)+o|n<<o|r,to=a+e}else eo=1<<a|n<<o|r,to=e}function oo(e){null!==e.return&&(no(e,1),ro(e,1,0))}function ao(e){for(;e===$r;)$r=Qr[--Yr],Qr[Yr]=null,Zr=Qr[--Yr],Qr[Yr]=null;for(;e===Xr;)Xr=Kr[--Jr],Kr[Jr]=null,to=Kr[--Jr],Kr[Jr]=null,eo=Kr[--Jr],Kr[Jr]=null}function io(e,t){Kr[Jr++]=eo,Kr[Jr++]=to,Kr[Jr++]=Xr,eo=t.id,to=t.overflow,Xr=e}var lo=null,so=null,uo=!1,co=null,fo=!1,po=Error(r(519));function ho(e){throw wo(Gr(Error(r(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),po}function mo(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Fe]=e,t[qe]=r,n){case"dialog":Yc("cancel",t),Yc("close",t);break;case"iframe":case"object":case"embed":Yc("load",t);break;case"video":case"audio":for(n=0;n<Wc.length;n++)Yc(Wc[n],t);break;case"source":Yc("error",t);break;case"img":case"image":case"link":Yc("error",t),Yc("load",t);break;case"details":Yc("toggle",t);break;case"input":Yc("invalid",t),yt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Yc("invalid",t);break;case"textarea":Yc("invalid",t),kt(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||sd(t.textContent,n)?(null!=r.popover&&(Yc("beforetoggle",t),Yc("toggle",t)),null!=r.onScroll&&Yc("scroll",t),null!=r.onScrollEnd&&Yc("scrollend",t),null!=r.onClick&&(t.onclick=Rt),t=!0):t=!1,t||ho(e,!0)}function go(e){for(lo=e.return;lo;)switch(lo.tag){case 5:case 31:case 13:return void(fo=!1);case 27:case 3:return void(fo=!0);default:lo=lo.return}}function yo(e){if(e!==lo)return!1;if(!uo)return go(e),uo=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||wd(e.type,e.memoizedProps)),t=!t),t&&so&&ho(e),go(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));so=jd(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));so=jd(e)}else 27===n?(n=so,Td(e.type)?(e=Dd,Dd=null,so=e):so=n):so=lo?zd(e.stateNode.nextSibling):null;return!0}function bo(){so=lo=null,uo=!1}function vo(){var e=co;return null!==e&&(null===Tu?Tu=e:Tu.push.apply(Tu,e),co=null),e}function wo(e){null===co?co=[e]:co.push(e)}var ko=j(null),So=null,xo=null;function Co(e,t,n){F(ko,t._currentValue),t._currentValue=n}function Ao(e){e._currentValue=ko.current,M(ko)}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Io(e,t,n,o){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var i=a.dependencies;if(null!==i){var l=a.child;i=i.firstContext;e:for(;null!==i;){var s=i;i=a;for(var u=0;u<t.length;u++)if(s.context===t[u]){i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Eo(i.return,n,e),o||(l=null);break e}i=s.next}}else if(18===a.tag){if(null===(l=a.return))throw Error(r(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),Eo(l,n,e),l=null}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===e){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}}function To(e,t,n,o){e=null;for(var a=t,i=!1;null!==a;){if(!i)if(524288&a.flags)i=!0;else if(262144&a.flags)break;if(10===a.tag){var l=a.alternate;if(null===l)throw Error(r(387));if(null!==(l=l.memoizedProps)){var s=a.type;Zn(a.pendingProps.value,l.value)||(null!==e?e.push(s):e=[s])}}else if(a===W.current){if(null===(l=a.alternate))throw Error(r(387));l.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(pf):e=[pf])}a=a.return}null!==e&&Io(t,e,n,o),t.flags|=262144}function _o(e){for(e=e.firstContext;null!==e;){if(!Zn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ro(e){So=e,xo=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Po(e){return No(So,e)}function Oo(e,t){return null===So&&Ro(e),No(e,t)}function No(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===xo){if(null===e)throw Error(r(308));xo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else xo=xo.next=t;return n}var Lo=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},zo=e.unstable_scheduleCallback,Do=e.unstable_NormalPriority,jo={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Mo(){return{controller:new Lo,data:new Map,refCount:0}}function Fo(e){e.refCount--,0===e.refCount&&zo(Do,function(){e.controller.abort()})}var qo=null,Uo=0,Ho=0,Bo=null;function Vo(){if(0===--Uo&&null!==qo){null!==Bo&&(Bo.status="fulfilled");var e=qo;qo=null,Ho=0,Bo=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Wo=O.S;O.S=function(e,t){Pu=ie(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===qo){var n=qo=[];Uo=0,Ho=qc(),Bo={status:"pending",value:void 0,then:function(e){n.push(e)}}}Uo++,t.then(Vo,Vo)}(0,t),null!==Wo&&Wo(e,t)};var Go=j(null);function Qo(){var e=Go.current;return null!==e?e:fu.pooledCache}function Yo(e,t){F(Go,null===t?Go.current:t.pool)}function $o(){var e=Qo();return null===e?null:{parent:jo._currentValue,pool:e}}var Zo=Error(r(460)),Ko=Error(r(474)),Jo=Error(r(542)),Xo={then:function(){}};function ea(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ta(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Rt,Rt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw aa(e=t.reason),e;default:if("string"==typeof t.status)t.then(Rt,Rt);else{if(null!==(e=fu)&&100<e.shellSuspendCounter)throw Error(r(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw aa(e=t.reason),e}throw ra=t,Zo}}function na(e){try{return(0,e._init)(e._payload)}catch(e){throw null!==e&&"object"==typeof e&&"function"==typeof e.then?(ra=e,Zo):e}}var ra=null;function oa(){if(null===ra)throw Error(r(459));var e=ra;return ra=null,e}function aa(e){if(e===Zo||e===Jo)throw Error(r(483))}var ia=null,la=0;function sa(e){var t=la;return la+=1,null===ia&&(ia=[]),ta(ia,e,t)}function ua(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function ca(e,t){throw t.$$typeof===d?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function da(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=Mr(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Hr(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===h?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&na(o)===t.type)?(ua(t=a(t,n.props),n),t.return=e,t):(ua(t=qr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vr(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ur(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Hr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case f:return ua(n=qr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case p:return(t=Vr(t,e.mode,n)).return=e,t;case C:return m(e,t=na(t),n)}if(P(t)||T(t))return(t=Ur(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return m(e,sa(t),n);if(t.$$typeof===v)return m(e,Oo(e,t),n);ca(e,t)}return null}function g(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case f:return n.key===o?u(e,t,n,r):null;case p:return n.key===o?c(e,t,n,r):null;case C:return g(e,t,n=na(n),r)}if(P(n)||T(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return g(e,t,sa(n),r);if(n.$$typeof===v)return g(e,t,Oo(e,n),r);ca(e,n)}return null}function y(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case f:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case p:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case C:return y(e,t,n,r=na(r),o)}if(P(r)||T(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return y(e,t,n,sa(r),o);if(r.$$typeof===v)return y(e,t,n,Oo(t,r),o);ca(t,r)}return null}function b(s,u,c,d){if("object"==typeof c&&null!==c&&c.type===h&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case f:e:{for(var w=c.key;null!==u;){if(u.key===w){if((w=c.type)===h){if(7===u.tag){n(s,u.sibling),(d=a(u,c.props.children)).return=s,s=d;break e}}else if(u.elementType===w||"object"==typeof w&&null!==w&&w.$$typeof===C&&na(w)===u.type){n(s,u.sibling),ua(d=a(u,c.props),c),d.return=s,s=d;break e}n(s,u);break}t(s,u),u=u.sibling}c.type===h?((d=Ur(c.props.children,s.mode,d,c.key)).return=s,s=d):(ua(d=qr(c.type,c.key,c.props,null,s.mode,d),c),d.return=s,s=d)}return l(s);case p:e:{for(w=c.key;null!==u;){if(u.key===w){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(s,u.sibling),(d=a(u,c.children||[])).return=s,s=d;break e}n(s,u);break}t(s,u),u=u.sibling}(d=Vr(c,s.mode,d)).return=s,s=d}return l(s);case C:return b(s,u,c=na(c),d)}if(P(c))return function(r,a,l,s){for(var u=null,c=null,d=a,f=a=0,p=null;null!==d&&f<l.length;f++){d.index>f?(p=d,d=null):p=d.sibling;var h=g(r,d,l[f],s);if(null===h){null===d&&(d=p);break}e&&d&&null===h.alternate&&t(r,d),a=i(h,a,f),null===c?u=h:c.sibling=h,c=h,d=p}if(f===l.length)return n(r,d),uo&&no(r,f),u;if(null===d){for(;f<l.length;f++)null!==(d=m(r,l[f],s))&&(a=i(d,a,f),null===c?u=d:c.sibling=d,c=d);return uo&&no(r,f),u}for(d=o(d);f<l.length;f++)null!==(p=y(d,r,f,l[f],s))&&(e&&null!==p.alternate&&d.delete(null===p.key?f:p.key),a=i(p,a,f),null===c?u=p:c.sibling=p,c=p);return e&&d.forEach(function(e){return t(r,e)}),uo&&no(r,f),u}(s,u,c,d);if(T(c)){if("function"!=typeof(w=T(c)))throw Error(r(150));return function(a,l,s,u){if(null==s)throw Error(r(151));for(var c=null,d=null,f=l,p=l=0,h=null,b=s.next();null!==f&&!b.done;p++,b=s.next()){f.index>p?(h=f,f=null):h=f.sibling;var v=g(a,f,b.value,u);if(null===v){null===f&&(f=h);break}e&&f&&null===v.alternate&&t(a,f),l=i(v,l,p),null===d?c=v:d.sibling=v,d=v,f=h}if(b.done)return n(a,f),uo&&no(a,p),c;if(null===f){for(;!b.done;p++,b=s.next())null!==(b=m(a,b.value,u))&&(l=i(b,l,p),null===d?c=b:d.sibling=b,d=b);return uo&&no(a,p),c}for(f=o(f);!b.done;p++,b=s.next())null!==(b=y(f,a,p,b.value,u))&&(e&&null!==b.alternate&&f.delete(null===b.key?p:b.key),l=i(b,l,p),null===d?c=b:d.sibling=b,d=b);return e&&f.forEach(function(e){return t(a,e)}),uo&&no(a,p),c}(s,u,c=w.call(c),d)}if("function"==typeof c.then)return b(s,u,sa(c),d);if(c.$$typeof===v)return b(s,u,Oo(s,c),d);ca(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(d=a(u,c)).return=s,s=d):(n(s,u),(d=Hr(c,s.mode,d)).return=s,s=d),l(s)):n(s,u)}return function(e,t,n,r){try{la=0;var o=b(e,t,n,r);return ia=null,o}catch(t){if(t===Zo||t===Jo)throw t;var a=Dr(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var fa=da(!0),pa=da(!1),ha=!1;function ma(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ga(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ya(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ba(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&du){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Nr(e),Or(e,null,n),t}return _r(e,r,t,n),Nr(e)}function va(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Oe(e,n)}}function wa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var ka=!1;function Sa(){if(ka){if(null!==Bo)throw Bo}}function xa(e,t,n,r){ka=!1;var o=e.updateQueue;ha=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var d=e.alternate;null!==d&&((l=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===l?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=s))}if(null!==a){var f=o.baseState;for(i=0,d=u=s=null,l=a;;){var p=-536870913&l.lane,h=p!==l.lane;if(h?(hu&p)===p:(r&p)===p){0!==p&&p===Ho&&(ka=!0),null!==d&&(d=d.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var m=e,g=l;p=t;var y=n;switch(g.tag){case 1:if("function"==typeof(m=g.payload)){f=m.call(y,f,p);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=g.payload)?m.call(y,f,p):m))break e;f=c({},f,p);break e;case 2:ha=!0}}null!==(p=l.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=o.callbacks)?o.callbacks=[p]:h.push(p))}else h={lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===d?(u=d=h,s=f):d=d.next=h,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(h=l).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}null===d&&(s=f),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=d,null===a&&(o.shared.lanes=0),Su|=i,e.lanes=i,e.memoizedState=f}}function Ca(e,t){if("function"!=typeof e)throw Error(r(191,e));e.call(t)}function Aa(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Ca(n[e],t)}var Ea=j(null),Ia=j(0);function Ta(e,t){F(Ia,e=wu),F(Ea,t),wu=e|t.baseLanes}function _a(){F(Ia,wu),F(Ea,Ea.current)}function Ra(){wu=Ia.current,M(Ea),M(Ia)}var Pa=j(null),Oa=null;function Na(e){var t=e.alternate;F(Ma,1&Ma.current),F(Pa,e),null===Oa&&(null===t||null!==Ea.current||null!==t.memoizedState)&&(Oa=e)}function La(e){F(Ma,Ma.current),F(Pa,e),null===Oa&&(Oa=e)}function za(e){22===e.tag?(F(Ma,Ma.current),F(Pa,e),null===Oa&&(Oa=e)):Da()}function Da(){F(Ma,Ma.current),F(Pa,Pa.current)}function ja(e){M(Pa),Oa===e&&(Oa=null),M(Ma)}var Ma=j(0);function Fa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Nd(n)||Ld(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qa=0,Ua=null,Ha=null,Ba=null,Va=!1,Wa=!1,Ga=!1,Qa=0,Ya=0,$a=null,Za=0;function Ka(){throw Error(r(321))}function Ja(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zn(e[n],t[n]))return!1;return!0}function Xa(e,t,n,r,o,a){return qa=a,Ua=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=null===e||null===e.memoizedState?hl:ml,Ga=!1,a=n(r,o),Ga=!1,Wa&&(a=ti(t,n,r,o)),ei(e),a}function ei(e){O.H=pl;var t=null!==Ha&&null!==Ha.next;if(qa=0,Ba=Ha=Ua=null,Va=!1,Ya=0,$a=null,t)throw Error(r(300));null===e||Pl||null!==(e=e.dependencies)&&_o(e)&&(Pl=!0)}function ti(e,t,n,o){Ua=e;var a=0;do{if(Wa&&($a=null),Ya=0,Wa=!1,25<=a)throw Error(r(301));if(a+=1,Ba=Ha=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}O.H=gl,i=t(n,o)}while(Wa);return i}function ni(){var e=O.H,t=e.useState()[0];return t="function"==typeof t.then?si(t):t,e=e.useState()[0],(null!==Ha?Ha.memoizedState:null)!==e&&(Ua.flags|=1024),t}function ri(){var e=0!==Qa;return Qa=0,e}function oi(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ai(e){if(Va){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Va=!1}qa=0,Ba=Ha=Ua=null,Wa=!1,Ya=Qa=0,$a=null}function ii(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ba?Ua.memoizedState=Ba=e:Ba=Ba.next=e,Ba}function li(){if(null===Ha){var e=Ua.alternate;e=null!==e?e.memoizedState:null}else e=Ha.next;var t=null===Ba?Ua.memoizedState:Ba.next;if(null!==t)Ba=t,Ha=e;else{if(null===e)throw null===Ua.alternate?Error(r(467)):Error(r(310));e={memoizedState:(Ha=e).memoizedState,baseState:Ha.baseState,baseQueue:Ha.baseQueue,queue:Ha.queue,next:null},null===Ba?Ua.memoizedState=Ba=e:Ba=Ba.next=e}return Ba}function si(e){var t=Ya;return Ya+=1,null===$a&&($a=[]),e=ta($a,e,t),t=Ua,null===(null===Ba?t.memoizedState:Ba.next)&&(t=t.alternate,O.H=null===t||null===t.memoizedState?hl:ml),e}function ui(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return si(e);if(e.$$typeof===v)return Po(e)}throw Error(r(438,String(e)))}function ci(e){var t=null,n=Ua.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Ua.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Ua.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=E;return t.index++,n}function di(e,t){return"function"==typeof t?t(e):t}function fi(e){return pi(li(),Ha,e)}function pi(e,t,n){var o=e.queue;if(null===o)throw Error(r(311));o.lastRenderedReducer=n;var a=e.baseQueue,i=o.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}t.baseQueue=a=i,o.pending=null}if(i=e.baseState,null===a)e.memoizedState=i;else{var s=l=null,u=null,c=t=a.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(hu&f)===f:(qa&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Ho&&(d=!0);else{if((qa&p)===p){c=c.next,p===Ho&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,l=i):u=u.next=f,Ua.lanes|=p,Su|=p}f=c.action,Ga&&n(i,f),i=c.hasEagerState?c.eagerState:n(i,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,l=i):u=u.next=p,Ua.lanes|=f,Su|=f;c=c.next}while(null!==c&&c!==t);if(null===u?l=i:u.next=s,!Zn(i,e.memoizedState)&&(Pl=!0,d&&null!==(n=Bo)))throw n;e.memoizedState=i,e.baseState=l,e.baseQueue=u,o.lastRenderedState=i}return null===a&&(o.lanes=0),[e.memoizedState,o.dispatch]}function hi(e){var t=li(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var o=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);Zn(i,t.memoizedState)||(Pl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,o]}function mi(e,t,n){var o=Ua,a=li(),i=uo;if(i){if(void 0===n)throw Error(r(407));n=n()}else n=t();var l=!Zn((Ha||a).memoizedState,n);if(l&&(a.memoizedState=n,Pl=!0),a=a.queue,qi(bi.bind(null,o,a,e),[e]),a.getSnapshot!==t||l||null!==Ba&&1&Ba.memoizedState.tag){if(o.flags|=2048,zi(9,{destroy:void 0},yi.bind(null,o,a,n,t),null),null===fu)throw Error(r(349));i||127&qa||gi(o,t,n)}return n}function gi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Ua.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Ua.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function yi(e,t,n,r){t.value=n,t.getSnapshot=r,vi(t)&&wi(e)}function bi(e,t,n){return n(function(){vi(t)&&wi(e)})}function vi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Zn(e,n)}catch{return!0}}function wi(e){var t=Pr(e,2);null!==t&&Gu(t,e,2)}function ki(e){var t=ii();if("function"==typeof e){var n=e;if(e=n(),Ga){ye(!0);try{n()}finally{ye(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:e},t}function Si(e,t,n,r){return e.baseState=n,pi(e,Ha,"function"==typeof r?r:di)}function xi(e,t,n,o,a){if(cl(e))throw Error(r(485));if(null!==(e=t.action)){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==O.T?n(!0):i.isTransition=!1,o(i),null===(n=t.pending)?(i.next=t.pending=i,Ci(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Ci(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=O.T,i={};O.T=i;try{var l=n(o,r),s=O.S;null!==s&&s(i,l),Ai(e,t,l)}catch(n){Ii(e,t,n)}finally{null!==a&&null!==i.types&&(a.types=i.types),O.T=a}}else try{Ai(e,t,a=n(o,r))}catch(n){Ii(e,t,n)}}function Ai(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){Ei(e,t,n)},function(n){return Ii(e,t,n)}):Ei(e,t,n)}function Ei(e,t,n){t.status="fulfilled",t.value=n,Ti(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Ci(e,n)))}function Ii(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,Ti(t),t=t.next}while(t!==r)}e.action=null}function Ti(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function _i(e,t){return t}function Ri(e,t){if(uo){var n=fu.formState;if(null!==n){e:{var r=Ua;if(uo){if(so){t:{for(var o=so,a=fo;8!==o.nodeType;){if(!a){o=null;break t}if(null===(o=zd(o.nextSibling))){o=null;break t}}o="F!"===(a=o.data)||"F"===a?o:null}if(o){so=zd(o.nextSibling),r="F!"===o.data;break e}}ho(r)}r=!1}r&&(t=n[0])}}return(n=ii()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:t},n.queue=r,n=ll.bind(null,Ua,r),r.dispatch=n,r=ki(!1),a=ul.bind(null,Ua,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=ii()).queue=o,n=xi.bind(null,Ua,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function Pi(e){return Oi(li(),Ha,e)}function Oi(e,t,n){if(t=pi(e,t,_i)[0],e=fi(di)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=si(t)}catch(e){throw e===Zo?Jo:e}else r=t;var o=(t=li()).queue,a=o.dispatch;return n!==t.memoizedState&&(Ua.flags|=2048,zi(9,{destroy:void 0},Ni.bind(null,o,n),null)),[r,a,e]}function Ni(e,t){e.action=t}function Li(e){var t=li(),n=Ha;if(null!==n)return Oi(t,n,e);li(),t=t.memoizedState;var r=(n=li()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function zi(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Ua.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Ua.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Di(){return li().memoizedState}function ji(e,t,n,r){var o=ii();Ua.flags|=e,o.memoizedState=zi(1|t,{destroy:void 0},n,void 0===r?null:r)}function Mi(e,t,n,r){var o=li();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==Ha&&null!==r&&Ja(r,Ha.memoizedState.deps)?o.memoizedState=zi(t,a,n,r):(Ua.flags|=e,o.memoizedState=zi(1|t,a,n,r))}function Fi(e,t){ji(8390656,8,e,t)}function qi(e,t){Mi(2048,8,e,t)}function Ui(e){var t=li().memoizedState;return function(e){Ua.flags|=4;var t=Ua.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Ua.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&du)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Hi(e,t){return Mi(4,2,e,t)}function Bi(e,t){return Mi(4,4,e,t)}function Vi(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Wi(e,t,n){n=null!=n?n.concat([e]):null,Mi(4,4,Vi.bind(null,t,e),n)}function Gi(){}function Qi(e,t){var n=li();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Ja(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=li();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Ja(t,r[1]))return r[0];if(r=e(),Ga){ye(!0);try{e()}finally{ye(!1)}}return n.memoizedState=[r,t],r}function $i(e,t,n){return void 0===n||1073741824&qa&&!(261930&hu)?e.memoizedState=t:(e.memoizedState=n,e=Wu(),Ua.lanes|=e,Su|=e,n)}function Zi(e,t,n,r){return Zn(n,t)?n:null!==Ea.current?(e=$i(e,n,r),Zn(e,t)||(Pl=!0),e):42&qa&&(!(1073741824&qa)||261930&hu)?(e=Wu(),Ua.lanes|=e,Su|=e,t):(Pl=!0,e.memoizedState=n)}function Ki(e,t,n,r,o){var a=N.p;N.p=0!==a&&8>a?a:8;var i=O.T,l={};O.T=l,ul(e,!1,t,n);try{var s=o(),u=O.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status="rejected",r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}(s,r);sl(e,t,c,Vu())}else sl(e,t,r,Vu())}catch(n){sl(e,t,{then:function(){},status:"rejected",reason:n},Vu())}finally{N.p=a,null!==i&&null!==l.types&&(i.types=l.types),O.T=i}}function Ji(){}function Xi(e,t,n,o){if(5!==e.tag)throw Error(r(476));var a=el(e).queue;Ki(e,a,t,L,null===n?Ji:function(){return tl(e),n(o)})}function el(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:L},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function tl(e){var t=el(e);null===t.next&&(t=e.alternate.memoizedState),sl(e,t.next.queue,{},Vu())}function nl(){return Po(pf)}function rl(){return li().memoizedState}function ol(){return li().memoizedState}function al(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Vu(),r=ba(t,e=ya(n),n);return null!==r&&(Gu(r,t,n),va(r,t,n)),t={cache:Mo()},void(e.payload=t)}t=t.return}}function il(e,t,n){var r=Vu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},cl(e)?dl(t,n):null!==(n=Rr(e,t,n,r))&&(Gu(n,e,r),fl(n,t,r))}function ll(e,t,n){sl(e,t,n,Vu())}function sl(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(cl(e))dl(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,Zn(l,i))return _r(e,t,o,0),null===fu&&Tr(),!1}catch{}if(null!==(n=Rr(e,t,o,r)))return Gu(n,e,r),fl(n,t,r),!0}return!1}function ul(e,t,n,o){if(o={lane:2,revertLane:qc(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},cl(e)){if(t)throw Error(r(479))}else null!==(t=Rr(e,n,o,2))&&Gu(t,e,2)}function cl(e){var t=e.alternate;return e===Ua||null!==t&&t===Ua}function dl(e,t){Wa=Va=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fl(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Oe(e,n)}}var pl={readContext:Po,use:ui,useCallback:Ka,useContext:Ka,useEffect:Ka,useImperativeHandle:Ka,useLayoutEffect:Ka,useInsertionEffect:Ka,useMemo:Ka,useReducer:Ka,useRef:Ka,useState:Ka,useDebugValue:Ka,useDeferredValue:Ka,useTransition:Ka,useSyncExternalStore:Ka,useId:Ka,useHostTransitionStatus:Ka,useFormState:Ka,useActionState:Ka,useOptimistic:Ka,useMemoCache:Ka,useCacheRefresh:Ka};pl.useEffectEvent=Ka;var hl={readContext:Po,use:ui,useCallback:function(e,t){return ii().memoizedState=[e,void 0===t?null:t],e},useContext:Po,useEffect:Fi,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,ji(4194308,4,Vi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ji(4194308,4,e,t)},useInsertionEffect:function(e,t){ji(4,2,e,t)},useMemo:function(e,t){var n=ii();t=void 0===t?null:t;var r=e();if(Ga){ye(!0);try{e()}finally{ye(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ii();if(void 0!==n){var o=n(t);if(Ga){ye(!0);try{n(t)}finally{ye(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=il.bind(null,Ua,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ii().memoizedState=e},useState:function(e){var t=(e=ki(e)).queue,n=ll.bind(null,Ua,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Gi,useDeferredValue:function(e,t){return $i(ii(),e,t)},useTransition:function(){var e=ki(!1);return e=Ki.bind(null,Ua,e.queue,!0,!1),ii().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var o=Ua,a=ii();if(uo){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===fu)throw Error(r(349));127&hu||gi(o,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Fi(bi.bind(null,o,i,e),[e]),o.flags|=2048,zi(9,{destroy:void 0},yi.bind(null,o,i,n,t),null),n},useId:function(){var e=ii(),t=fu.identifierPrefix;if(uo){var n=to;t="_"+t+"R_"+(n=(eo&~(1<<32-be(eo)-1)).toString(32)+n),0<(n=Qa++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Za++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:nl,useFormState:Ri,useActionState:Ri,useOptimistic:function(e){var t=ii();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ul.bind(null,Ua,!0,n),n.dispatch=t,[e,t]},useMemoCache:ci,useCacheRefresh:function(){return ii().memoizedState=al.bind(null,Ua)},useEffectEvent:function(e){var t=ii(),n={impl:e};return t.memoizedState=n,function(){if(2&du)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},ml={readContext:Po,use:ui,useCallback:Qi,useContext:Po,useEffect:qi,useImperativeHandle:Wi,useInsertionEffect:Hi,useLayoutEffect:Bi,useMemo:Yi,useReducer:fi,useRef:Di,useState:function(){return fi(di)},useDebugValue:Gi,useDeferredValue:function(e,t){return Zi(li(),Ha.memoizedState,e,t)},useTransition:function(){var e=fi(di)[0],t=li().memoizedState;return["boolean"==typeof e?e:si(e),t]},useSyncExternalStore:mi,useId:rl,useHostTransitionStatus:nl,useFormState:Pi,useActionState:Pi,useOptimistic:function(e,t){return Si(li(),0,e,t)},useMemoCache:ci,useCacheRefresh:ol};ml.useEffectEvent=Ui;var gl={readContext:Po,use:ui,useCallback:Qi,useContext:Po,useEffect:qi,useImperativeHandle:Wi,useInsertionEffect:Hi,useLayoutEffect:Bi,useMemo:Yi,useReducer:hi,useRef:Di,useState:function(){return hi(di)},useDebugValue:Gi,useDeferredValue:function(e,t){var n=li();return null===Ha?$i(n,e,t):Zi(n,Ha.memoizedState,e,t)},useTransition:function(){var e=hi(di)[0],t=li().memoizedState;return["boolean"==typeof e?e:si(e),t]},useSyncExternalStore:mi,useId:rl,useHostTransitionStatus:nl,useFormState:Li,useActionState:Li,useOptimistic:function(e,t){var n=li();return null!==Ha?Si(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:ci,useCacheRefresh:ol};function yl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:c({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}gl.useEffectEvent=Ui;var bl={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Vu(),o=ya(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=ba(e,o,r))&&(Gu(t,e,r),va(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Vu(),o=ya(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=ba(e,o,r))&&(Gu(t,e,r),va(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Vu(),r=ya(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=ba(e,r,n))&&(Gu(t,e,n),va(t,e,n))}};function vl(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!Kn(n,r)||!Kn(o,a))}function wl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&bl.enqueueReplaceState(t,t.state,null)}function kl(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=c({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function Sl(e){Cr(e)}function xl(e){console.error(e)}function Cl(e){Cr(e)}function Al(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function El(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Il(e,t,n){return(n=ya(n)).tag=3,n.payload={element:null},n.callback=function(){Al(e,t)},n}function Tl(e){return(e=ya(e)).tag=3,e}function _l(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){El(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){El(t,n,r),"function"!=typeof o&&(null===Lu?Lu=new Set([this]):Lu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Rl=Error(r(461)),Pl=!1;function Ol(e,t,n,r){t.child=null===e?pa(t,null,n,r):fa(t,e.child,n,r)}function Nl(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return Ro(t),r=Xa(e,t,n,i,a,o),l=ri(),null===e||Pl?(uo&&l&&oo(t),t.flags|=1,Ol(e,t,r,o),t.child):(oi(e,t,o),ns(e,t,o))}function Ll(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||jr(a)||void 0!==a.defaultProps||null!==n.compare?((e=qr(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,zl(e,t,a,r,o))}if(a=e.child,!rs(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Kn)(i,r)&&e.ref===t.ref)return ns(e,t,o)}return t.flags|=1,(e=Mr(a,r)).ref=t.ref,e.return=t,t.child=e}function zl(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Kn(a,r)&&e.ref===t.ref){if(Pl=!1,t.pendingProps=r=a,!rs(e,o))return t.lanes=e.lanes,ns(e,t,o);131072&e.flags&&(Pl=!0)}}return Hl(e,t,n,r,o)}function Dl(e,t,n,r){var o=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(a=null!==a?a.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~a}else r=0,t.child=null;return Ml(e,t,a,n,r)}if(!(536870912&n))return r=t.lanes=536870912,Ml(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Yo(0,null!==a?a.cachePool:null),null!==a?Ta(t,a):_a(),za(t)}else null!==a?(Yo(0,a.cachePool),Ta(t,a),Da(),t.memoizedState=null):(null!==e&&Yo(0,null),_a(),Da());return Ol(e,t,o,n),t.child}function jl(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ml(e,t,n,r,o){var a=Qo();return a=null===a?null:{parent:jo._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},null!==e&&Yo(0,null),_a(),za(t),null!==e&&To(e,t,r,!0),t.childLanes=o,null}function Fl(e,t){return(t=Kl({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function ql(e,t,n){return fa(t,e.child,null,n),(e=Fl(t,t.pendingProps)).flags|=2,ja(t),t.memoizedState=null,e}function Ul(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(r(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function Hl(e,t,n,r,o){return Ro(t),n=Xa(e,t,n,r,void 0,o),r=ri(),null===e||Pl?(uo&&r&&oo(t),t.flags|=1,Ol(e,t,n,o),t.child):(oi(e,t,o),ns(e,t,o))}function Bl(e,t,n,r,o,a){return Ro(t),t.updateQueue=null,n=ti(t,r,n,o),ei(e),r=ri(),null===e||Pl?(uo&&r&&oo(t),t.flags|=1,Ol(e,t,n,a),t.child):(oi(e,t,a),ns(e,t,a))}function Vl(e,t,n,r,o){if(Ro(t),null===t.stateNode){var a=Lr,i=n.contextType;"object"==typeof i&&null!==i&&(a=Po(i)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=bl,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},ma(t),i=n.contextType,a.context="object"==typeof i&&null!==i?Po(i):Lr,a.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(yl(t,n,i,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(i=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),i!==a.state&&bl.enqueueReplaceState(a,a.state,null),xa(t,r,a,o),Sa(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var l=t.memoizedProps,s=kl(n,l);a.props=s;var u=a.context,c=n.contextType;i=Lr,"object"==typeof c&&null!==c&&(i=Po(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l||u!==i)&&wl(t,a,r,i),ha=!1;var f=t.memoizedState;a.state=f,xa(t,r,a,o),Sa(),u=t.memoizedState,l||f!==u||ha?("function"==typeof d&&(yl(t,n,d,r),u=t.memoizedState),(s=ha||vl(t,n,s,r,f,u,i))?(c||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=i,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ga(e,t),c=kl(n,i=t.memoizedProps),a.props=c,d=t.pendingProps,f=a.context,u=n.contextType,s=Lr,"object"==typeof u&&null!==u&&(s=Po(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(i!==d||f!==s)&&wl(t,a,r,s),ha=!1,f=t.memoizedState,a.state=f,xa(t,r,a,o),Sa();var p=t.memoizedState;i!==d||f!==p||ha||null!==e&&null!==e.dependencies&&_o(e.dependencies)?("function"==typeof l&&(yl(t,n,l,r),p=t.memoizedState),(c=ha||vl(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&_o(e.dependencies))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Ul(e,t),r=!!(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=fa(t,e.child,null,o),t.child=fa(t,null,n,o)):Ol(e,t,n,o),t.memoizedState=a.state,e=t.child):e=ns(e,t,o),e}function Wl(e,t,n,r){return bo(),t.flags|=256,Ol(e,t,n,r),t.child}var Gl={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ql(e){return{baseLanes:e,cachePool:$o()}}function Yl(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Au),e}function $l(e,t,n){var o,a=t.pendingProps,i=!1,l=!!(128&t.flags);if((o=l)||(o=(null===e||null!==e.memoizedState)&&!!(2&Ma.current)),o&&(i=!0,t.flags&=-129),o=!!(32&t.flags),t.flags&=-33,null===e){if(uo){if(i?Na(t):Da(),(e=so)?null!==(e=null!==(e=Od(e,fo))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Xr?{id:eo,overflow:to}:null,retryLane:536870912,hydrationErrors:null},(n=Br(e)).return=t,t.child=n,lo=t,so=null):e=null,null===e)throw ho(t);return Ld(e)?t.lanes=32:t.lanes=536870912,null}var s=a.children;return a=a.fallback,i?(Da(),s=Kl({mode:"hidden",children:s},i=t.mode),a=Ur(a,i,n,null),s.return=t,a.return=t,s.sibling=a,t.child=s,(a=t.child).memoizedState=Ql(n),a.childLanes=Yl(e,o,n),t.memoizedState=Gl,jl(null,a)):(Na(t),Zl(t,s))}var u=e.memoizedState;if(null!==u&&null!==(s=u.dehydrated)){if(l)256&t.flags?(Na(t),t.flags&=-257,t=Jl(e,t,n)):null!==t.memoizedState?(Da(),t.child=e.child,t.flags|=128,t=null):(Da(),s=a.fallback,i=t.mode,a=Kl({mode:"visible",children:a.children},i),(s=Ur(s,i,n,null)).flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,fa(t,e.child,null,n),(a=t.child).memoizedState=Ql(n),a.childLanes=Yl(e,o,n),t.memoizedState=Gl,t=jl(null,a));else if(Na(t),Ld(s)){if(o=s.nextSibling&&s.nextSibling.dataset)var c=o.dgst;o=c,(a=Error(r(419))).stack="",a.digest=o,wo({value:a,source:null,stack:null}),t=Jl(e,t,n)}else if(Pl||To(e,t,n,!1),o=0!==(n&e.childLanes),Pl||o){if(null!==(o=fu)&&(0!==(a=Ne(o,n))&&a!==u.retryLane))throw u.retryLane=a,Pr(e,a),Gu(o,e,a),Rl;Nd(s)||oc(),t=Jl(e,t,n)}else Nd(s)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,so=zd(s.nextSibling),lo=t,uo=!0,co=null,fo=!1,null!==e&&io(t,e),(t=Zl(t,a.children)).flags|=4096);return t}return i?(Da(),s=a.fallback,i=t.mode,c=(u=e.child).sibling,(a=Mr(u,{mode:"hidden",children:a.children})).subtreeFlags=65011712&u.subtreeFlags,null!==c?s=Mr(c,s):(s=Ur(s,i,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,jl(null,a),a=t.child,null===(s=e.child.memoizedState)?s=Ql(n):(null!==(i=s.cachePool)?(u=jo._currentValue,i=i.parent!==u?{parent:u,pool:u}:i):i=$o(),s={baseLanes:s.baseLanes|n,cachePool:i}),a.memoizedState=s,a.childLanes=Yl(e,o,n),t.memoizedState=Gl,jl(e.child,a)):(Na(t),e=(n=e.child).sibling,(n=Mr(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(o=t.deletions)?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Zl(e,t){return(t=Kl({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Kl(e,t){return(e=Dr(22,e,null,t)).lanes=0,e}function Jl(e,t,n){return fa(t,e.child,null,n),(e=Zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Xl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function es(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.treeForkCount=a)}function ts(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;r=r.children;var i=Ma.current,l=!!(2&i);if(l?(i=1&i|2,t.flags|=128):i&=1,F(Ma,i),Ol(e,t,r,n),r=uo?Zr:0,!l&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xl(e,n,t);else if(19===e.tag)Xl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Fa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),es(t,!1,o,n,a,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Fa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}es(t,!0,n,null,a,r);break;case"together":es(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function ns(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Su|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(To(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=Mr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function rs(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!_o(e))}function os(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Pl=!0;else{if(!(rs(e,n)||128&t.flags))return Pl=!1,function(e,t,n){switch(t.tag){case 3:G(t,t.stateNode.containerInfo),Co(0,jo,e.memoizedState.cache),bo();break;case 27:case 5:Y(t);break;case 4:G(t,t.stateNode.containerInfo);break;case 10:Co(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,La(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(Na(t),t.flags|=128,null):0!==(n&t.child.childLanes)?$l(e,t,n):(Na(t),null!==(e=ns(e,t,n))?e.sibling:null);Na(t);break;case 19:var o=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(To(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return ts(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),F(Ma,Ma.current),r)break;return null;case 22:return t.lanes=0,Dl(e,t,n,t.pendingProps);case 24:Co(0,jo,e.memoizedState.cache)}return ns(e,t,n)}(e,t,n);Pl=!!(131072&e.flags)}else Pl=!1,uo&&1048576&t.flags&&ro(t,Zr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var o=t.pendingProps;if(e=na(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var a=e.$$typeof;if(a===w){t.tag=11,t=Nl(null,t,e,o,n);break e}if(a===x){t.tag=14,t=Ll(null,t,e,o,n);break e}}throw t=R(e)||e,Error(r(306,t,""))}jr(e)?(o=kl(e,o),t.tag=1,t=Vl(null,t,e,o,n)):(t.tag=0,t=Hl(null,t,e,o,n))}return t;case 0:return Hl(e,t,t.type,t.pendingProps,n);case 1:return Vl(e,t,o=t.type,a=kl(o,t.pendingProps),n);case 3:e:{if(G(t,t.stateNode.containerInfo),null===e)throw Error(r(387));o=t.pendingProps;var i=t.memoizedState;a=i.element,ga(e,t),xa(t,o,null,n);var l=t.memoizedState;if(o=l.cache,Co(0,jo,o),o!==i.cache&&Io(t,[jo],n,!0),Sa(),o=l.element,i.isDehydrated){if(i={element:o,isDehydrated:!1,cache:l.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Wl(e,t,o,n);break e}if(o!==a){wo(a=Gr(Error(r(424)),t)),t=Wl(e,t,o,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(so=zd(e.firstChild),lo=t,uo=!0,co=null,fo=!0,n=pa(t,null,o,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(bo(),o===a){t=ns(e,t,n);break e}Ol(e,t,o,n)}t=t.child}return t;case 26:return Ul(e,t),null===e?(n=Qd(t.type,null,t.pendingProps,null))?t.memoizedState=n:uo||(n=t.type,e=t.pendingProps,(o=gd(V.current).createElement(n))[Fe]=t,o[qe]=e,dd(o,n,e),Je(o),t.stateNode=o):t.memoizedState=Qd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Y(t),null===e&&uo&&(o=t.stateNode=Fd(t.type,t.pendingProps,V.current),lo=t,fo=!0,a=so,Td(t.type)?(Dd=a,so=zd(o.firstChild)):so=a),Ol(e,t,t.pendingProps.children,n),Ul(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&uo&&((a=o=so)&&(o=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Ge])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===a)return e}if(null===(e=zd(e.nextSibling)))break}return null}(o,t.type,t.pendingProps,fo),null!==o?(t.stateNode=o,lo=t,so=zd(o.firstChild),fo=!1,a=!0):a=!1),a||ho(t)),Y(t),a=t.type,i=t.pendingProps,l=null!==e?e.memoizedProps:null,o=i.children,wd(a,i)?o=null:null!==l&&wd(a,l)&&(t.flags|=32),null!==t.memoizedState&&(a=Xa(e,t,ni,null,null,n),pf._currentValue=a),Ul(e,t),Ol(e,t,o,n),t.child;case 6:return null===e&&uo&&((e=n=so)&&(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=zd(e.nextSibling)))return null;return e}(n,t.pendingProps,fo),null!==n?(t.stateNode=n,lo=t,so=null,e=!0):e=!1),e||ho(t)),null;case 13:return $l(e,t,n);case 4:return G(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=fa(t,null,o,n):Ol(e,t,o,n),t.child;case 11:return Nl(e,t,t.type,t.pendingProps,n);case 7:return Ol(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ol(e,t,t.pendingProps.children,n),t.child;case 10:return o=t.pendingProps,Co(0,t.type,o.value),Ol(e,t,o.children,n),t.child;case 9:return a=t.type._context,o=t.pendingProps.children,Ro(t),o=o(a=Po(a)),t.flags|=1,Ol(e,t,o,n),t.child;case 14:return Ll(e,t,t.type,t.pendingProps,n);case 15:return zl(e,t,t.type,t.pendingProps,n);case 19:return ts(e,t,n);case 31:return function(e,t,n){var o=t.pendingProps,a=!!(128&t.flags);if(t.flags&=-129,null===e){if(uo){if("hidden"===o.mode)return e=Fl(t,o),t.lanes=536870912,jl(null,e);if(La(t),(e=so)?null!==(e=null!==(e=Od(e,fo))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Xr?{id:eo,overflow:to}:null,retryLane:536870912,hydrationErrors:null},(n=Br(e)).return=t,t.child=n,lo=t,so=null):e=null,null===e)throw ho(t);return t.lanes=536870912,null}return Fl(t,o)}var i=e.memoizedState;if(null!==i){var l=i.dehydrated;if(La(t),a)if(256&t.flags)t.flags&=-257,t=ql(e,t,n);else{if(null===t.memoizedState)throw Error(r(558));t.child=e.child,t.flags|=128,t=null}else if(Pl||To(e,t,n,!1),a=0!==(n&e.childLanes),Pl||a){if(null!==(o=fu)&&0!==(l=Ne(o,n))&&l!==i.retryLane)throw i.retryLane=l,Pr(e,l),Gu(o,e,l),Rl;oc(),t=ql(e,t,n)}else e=i.treeContext,so=zd(l.nextSibling),lo=t,uo=!0,co=null,fo=!1,null!==e&&io(t,e),(t=Fl(t,o)).flags|=4096;return t}return(e=Mr(e.child,{mode:o.mode,children:o.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return Dl(e,t,n,t.pendingProps);case 24:return Ro(t),o=Po(jo),null===e?(null===(a=Qo())&&(a=fu,i=Mo(),a.pooledCache=i,i.refCount++,null!==i&&(a.pooledCacheLanes|=n),a=i),t.memoizedState={parent:o,cache:a},ma(t),Co(0,jo,a)):(0!==(e.lanes&n)&&(ga(e,t),xa(t,null,null,n),Sa()),a=e.memoizedState,i=t.memoizedState,a.parent!==o?(a={parent:o,cache:o},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),Co(0,jo,o)):(o=i.cache,Co(0,jo,o),o!==a.cache&&Io(t,[jo],n,!0))),Ol(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function as(e){e.flags|=4}function is(e,t,n,r,o){if((t=!!(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!tc())throw ra=Xo,Ko;e.flags|=8192}}else e.flags&=-16777217}function ls(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!lf(t)){if(!tc())throw ra=Xo,Ko;e.flags|=8192}}function ss(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Te():536870912,e.lanes|=t,Eu|=t)}function us(e,t){if(!uo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function cs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ds(e,t,n){var o=t.pendingProps;switch(ao(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return cs(t),null;case 3:return n=t.stateNode,o=null,null!==e&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ao(jo),Q(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(yo(t)?as(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,vo())),cs(t),null;case 26:var a=t.type,i=t.memoizedState;return null===e?(as(t),null!==i?(cs(t),ls(t,i)):(cs(t),is(t,a,0,0,n))):i?i!==e.memoizedState?(as(t),cs(t),ls(t,i)):(cs(t),t.flags&=-16777217):((e=e.memoizedProps)!==o&&as(t),cs(t),is(t,a,0,0,n)),null;case 27:if($(t),n=V.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==o&&as(t);else{if(!o){if(null===t.stateNode)throw Error(r(166));return cs(t),null}e=H.current,yo(t)?mo(t):(e=Fd(a,o,n),t.stateNode=e,as(t))}return cs(t),null;case 5:if($(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==o&&as(t);else{if(!o){if(null===t.stateNode)throw Error(r(166));return cs(t),null}if(i=H.current,yo(t))mo(t);else{var l=gd(V.current);switch(i){case 1:i=l.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=l.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(i=l.createElement("div")).innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i="string"==typeof o.is?l.createElement("select",{is:o.is}):l.createElement("select"),o.multiple?i.multiple=!0:o.size&&(i.size=o.size);break;default:i="string"==typeof o.is?l.createElement(a,{is:o.is}):l.createElement(a)}}i[Fe]=t,i[qe]=o;e:for(l=t.child;null!==l;){if(5===l.tag||6===l.tag)i.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;null===l.sibling;){if(null===l.return||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=i;e:switch(dd(i,a,o),a){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&as(t)}}return cs(t),is(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==o&&as(t);else{if("string"!=typeof o&&null===t.stateNode)throw Error(r(166));if(e=V.current,yo(t)){if(e=t.stateNode,n=t.memoizedProps,o=null,null!==(a=lo))switch(a.tag){case 27:case 5:o=a.memoizedProps}e[Fe]=t,(e=!!(e.nodeValue===n||null!==o&&!0===o.suppressHydrationWarning||sd(e.nodeValue,n)))||ho(t,!0)}else(e=gd(e).createTextNode(o))[Fe]=t,t.stateNode=e}return cs(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(o=yo(t),null!==n){if(null===e){if(!o)throw Error(r(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(r(557));e[Fe]=t}else bo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;cs(t),e=!1}else n=vo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(ja(t),t):(ja(t),null);if(128&t.flags)throw Error(r(558))}return cs(t),null;case 13:if(o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=yo(t),null!==o&&null!==o.dehydrated){if(null===e){if(!a)throw Error(r(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(r(317));a[Fe]=t}else bo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;cs(t),a=!1}else a=vo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return 256&t.flags?(ja(t),t):(ja(t),null)}return ja(t),128&t.flags?(t.lanes=n,t):(n=null!==o,e=null!==e&&null!==e.memoizedState,n&&(a=null,null!==(o=t.child).alternate&&null!==o.alternate.memoizedState&&null!==o.alternate.memoizedState.cachePool&&(a=o.alternate.memoizedState.cachePool.pool),i=null,null!==o.memoizedState&&null!==o.memoizedState.cachePool&&(i=o.memoizedState.cachePool.pool),i!==a&&(o.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ss(t,t.updateQueue),cs(t),null);case 4:return Q(),null===e&&Kc(t.stateNode.containerInfo),cs(t),null;case 10:return Ao(t.type),cs(t),null;case 19:if(M(Ma),null===(o=t.memoizedState))return cs(t),null;if(a=!!(128&t.flags),null===(i=o.rendering))if(a)us(o,!1);else{if(0!==ku||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=Fa(e))){for(t.flags|=128,us(o,!1),e=i.updateQueue,t.updateQueue=e,ss(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Fr(n,e),n=n.sibling;return F(Ma,1&Ma.current|2),uo&&no(t,o.treeForkCount),t.child}e=e.sibling}null!==o.tail&&ie()>Ou&&(t.flags|=128,a=!0,us(o,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=Fa(i))){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,ss(t,e),us(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!uo)return cs(t),null}else 2*ie()-o.renderingStartTime>Ou&&536870912!==n&&(t.flags|=128,a=!0,us(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=o.last)?e.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=ie(),e.sibling=null,n=Ma.current,F(Ma,a?1&n|2:1&n),uo&&no(t,o.treeForkCount),e):(cs(t),null);case 22:case 23:return ja(t),Ra(),o=null!==t.memoizedState,null!==e?null!==e.memoizedState!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?!!(536870912&n)&&!(128&t.flags)&&(cs(t),6&t.subtreeFlags&&(t.flags|=8192)):cs(t),null!==(n=t.updateQueue)&&ss(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),o=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),null!==e&&M(Go),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ao(jo),cs(t),null;case 25:case 30:return null}throw Error(r(156,t.tag))}function fs(e,t){switch(ao(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ao(jo),Q(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return $(t),null;case 31:if(null!==t.memoizedState){if(ja(t),null===t.alternate)throw Error(r(340));bo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ja(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));bo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return M(Ma),null;case 4:return Q(),null;case 10:return Ao(t.type),null;case 22:case 23:return ja(t),Ra(),null!==e&&M(Go),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Ao(jo),null;default:return null}}function ps(e,t){switch(ao(t),t.tag){case 3:Ao(jo),Q();break;case 26:case 27:case 5:$(t);break;case 4:Q();break;case 31:null!==t.memoizedState&&ja(t);break;case 13:ja(t);break;case 19:M(Ma);break;case 10:Ao(t.type);break;case 22:case 23:ja(t),Ra(),null!==e&&M(Go);break;case 24:Ao(jo)}}function hs(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var a=n.create,i=n.inst;r=a(),i.destroy=r}n=n.next}while(n!==o)}}catch(e){kc(t,t.return,e)}}function ms(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,o=t;var s=n,u=l;try{u()}catch(e){kc(o,s,e)}}}r=r.next}while(r!==a)}}catch(e){kc(t,t.return,e)}}function gs(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Aa(t,n)}catch(t){kc(e,e.return,t)}}}function ys(e,t,n){n.props=kl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){kc(e,t,n)}}function bs(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){kc(e,t,n)}}function vs(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){kc(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){kc(e,t,n)}else n.current=null}function ws(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){kc(e,e.return,t)}}function ks(e,t,n){try{var o=e.stateNode;(function(e,t,n,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,l=null,s=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:o.hasOwnProperty(h)||ud(e,t,h,null,o,f)}}for(var p in o){var h=o[p];if(f=n[p],o.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":i=h;break;case"name":a=h;break;case"checked":c=h;break;case"defaultChecked":d=h;break;case"value":l=h;break;case"defaultValue":s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(r(137,t));break;default:h!==f&&ud(e,t,p,h,o,f)}}return void gt(e,l,s,u,c,d,i,a);case"select":for(i in h=l=s=p=null,n)if(u=n[i],n.hasOwnProperty(i)&&null!=u)switch(i){case"value":break;case"multiple":h=u;default:o.hasOwnProperty(i)||ud(e,t,i,null,o,u)}for(a in o)if(i=o[a],u=n[a],o.hasOwnProperty(a)&&(null!=i||null!=u))switch(a){case"value":p=i;break;case"defaultValue":s=i;break;case"multiple":l=i;default:i!==u&&ud(e,t,a,i,o,u)}return t=s,n=l,o=h,void(null!=p?vt(e,!!n,p,!1):!!o!=!!n&&(null!=t?vt(e,!!n,t,!0):vt(e,!!n,n?[]:"",!1)));case"textarea":for(s in h=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!o.hasOwnProperty(s))switch(s){case"value":case"children":break;default:ud(e,t,s,null,o,a)}for(l in o)if(a=o[l],i=n[l],o.hasOwnProperty(l)&&(null!=a||null!=i))switch(l){case"value":p=a;break;case"defaultValue":h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(r(91));break;default:a!==i&&ud(e,t,l,a,o,i)}return void wt(e,p,h);case"option":for(var m in n)if(p=n[m],n.hasOwnProperty(m)&&null!=p&&!o.hasOwnProperty(m))if("selected"===m)e.selected=!1;else ud(e,t,m,null,o,p);for(u in o)if(p=o[u],h=n[u],o.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))if("selected"===u)e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p;else ud(e,t,u,p,o,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!o.hasOwnProperty(g)&&ud(e,t,g,null,o,p);for(c in o)if(p=o[c],h=n[c],o.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(r(137,t));break;default:ud(e,t,c,p,o,h)}return;default:if(Et(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!o.hasOwnProperty(y)&&cd(e,t,y,void 0,o,p);for(d in o)p=o[d],h=n[d],!o.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||cd(e,t,d,p,o,h);return}}for(var b in n)p=n[b],n.hasOwnProperty(b)&&null!=p&&!o.hasOwnProperty(b)&&ud(e,t,b,null,o,p);for(f in o)p=o[f],h=n[f],!o.hasOwnProperty(f)||p===h||null==p&&null==h||ud(e,t,f,p,o,h)})(o,e.type,n,t),o[qe]=t}catch(t){kc(e,e.return,t)}}function Ss(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Td(e.type)||4===e.tag}function xs(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ss(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Td(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Rt));else if(4!==r&&(27===r&&Td(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(Cs(e,t,n),e=e.sibling;null!==e;)Cs(e,t,n),e=e.sibling}function As(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&Td(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(As(e,t,n),e=e.sibling;null!==e;)As(e,t,n),e=e.sibling}function Es(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);dd(t,r,n),t[Fe]=e,t[qe]=n}catch(t){kc(e,e.return,t)}}var Is=!1,Ts=!1,_s=!1,Rs="function"==typeof WeakSet?WeakSet:Set,Ps=null;function Os(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Gs(e,n),4&r&&hs(5,n);break;case 1:if(Gs(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){kc(n,n.return,e)}else{var o=kl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){kc(n,n.return,e)}}64&r&&gs(n),512&r&&bs(n,n.return);break;case 3:if(Gs(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Aa(e,t)}catch(e){kc(n,n.return,e)}}break;case 27:null===t&&4&r&&Es(n);case 26:case 5:Gs(e,n),null===t&&4&r&&ws(n),512&r&&bs(n,n.return);break;case 12:Gs(e,n);break;case 31:Gs(e,n),4&r&&Ms(e,n);break;case 13:Gs(e,n),4&r&&Fs(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Ac.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Is)){t=null!==t&&null!==t.memoizedState||Ts,o=Is;var a=Ts;Is=r,(Ts=t)&&!a?Ys(e,n,!!(8772&n.subtreeFlags)):Gs(e,n),Is=o,Ts=a}break;case 30:break;default:Gs(e,n)}}function Ns(e){var t=e.alternate;null!==t&&(e.alternate=null,Ns(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&Qe(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ls=null,zs=!1;function Ds(e,t,n){for(n=n.child;null!==n;)js(e,t,n),n=n.sibling}function js(e,t,n){if(ge&&"function"==typeof ge.onCommitFiberUnmount)try{ge.onCommitFiberUnmount(me,n)}catch{}switch(n.tag){case 26:Ts||vs(n,t),Ds(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Ts||vs(n,t);var r=Ls,o=zs;Td(n.type)&&(Ls=n.stateNode,zs=!1),Ds(e,t,n),qd(n.stateNode),Ls=r,zs=o;break;case 5:Ts||vs(n,t);case 6:if(r=Ls,o=zs,Ls=null,Ds(e,t,n),zs=o,null!==(Ls=r))if(zs)try{(9===Ls.nodeType?Ls.body:"HTML"===Ls.nodeName?Ls.ownerDocument.body:Ls).removeChild(n.stateNode)}catch(e){kc(n,t,e)}else try{Ls.removeChild(n.stateNode)}catch(e){kc(n,t,e)}break;case 18:null!==Ls&&(zs?(_d(9===(e=Ls).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Qf(e)):_d(Ls,n.stateNode));break;case 4:r=Ls,o=zs,Ls=n.stateNode.containerInfo,zs=!0,Ds(e,t,n),Ls=r,zs=o;break;case 0:case 11:case 14:case 15:ms(2,n,t),Ts||ms(4,n,t),Ds(e,t,n);break;case 1:Ts||(vs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&ys(n,t,r)),Ds(e,t,n);break;case 21:Ds(e,t,n);break;case 22:Ts=(r=Ts)||null!==n.memoizedState,Ds(e,t,n),Ts=r;break;default:Ds(e,t,n)}}function Ms(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Qf(e)}catch(e){kc(t,t.return,e)}}}function Fs(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Qf(e)}catch(e){kc(t,t.return,e)}}function qs(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Rs),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Rs),t;default:throw Error(r(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Ec.bind(null,e,t);t.then(r,r)}})}function Us(e,t){var n=t.deletions;if(null!==n)for(var o=0;o<n.length;o++){var a=n[o],i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 27:if(Td(s.type)){Ls=s.stateNode,zs=!1;break e}break;case 5:Ls=s.stateNode,zs=!1;break e;case 3:case 4:Ls=s.stateNode.containerInfo,zs=!0;break e}s=s.return}if(null===Ls)throw Error(r(160));js(i,l,a),Ls=null,zs=!1,null!==(i=a.alternate)&&(i.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Bs(t,e),t=t.sibling}var Hs=null;function Bs(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Us(t,e),Vs(e),4&o&&(ms(3,e,e.return),hs(3,e),ms(5,e,e.return));break;case 1:Us(t,e),Vs(e),512&o&&(Ts||null===n||vs(n,n.return)),64&o&&Is&&(null!==(e=e.updateQueue)&&(null!==(o=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?o:n.concat(o))));break;case 26:var a=Hs;if(Us(t,e),Vs(e),512&o&&(Ts||null===n||vs(n,n.return)),4&o){var i=null!==n?n.memoizedState:null;if(o=e.memoizedState,null===n)if(null===o)if(null===e.stateNode){e:{o=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(o){case"title":(!(i=a.getElementsByTagName("title")[0])||i[Ge]||i[Fe]||"http://www.w3.org/2000/svg"===i.namespaceURI||i.hasAttribute("itemprop"))&&(i=a.createElement(o),a.head.insertBefore(i,a.querySelector("head > title"))),dd(i,o,n),i[Fe]=e,Je(i),o=i;break e;case"link":var l=of("link","href",a).get(o+(n.href||""));if(l)for(var s=0;s<l.length;s++)if((i=l[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&i.getAttribute("rel")===(null==n.rel?null:n.rel)&&i.getAttribute("title")===(null==n.title?null:n.title)&&i.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){l.splice(s,1);break t}dd(i=a.createElement(o),o,n),a.head.appendChild(i);break;case"meta":if(l=of("meta","content",a).get(o+(n.content||"")))for(s=0;s<l.length;s++)if((i=l[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&i.getAttribute("name")===(null==n.name?null:n.name)&&i.getAttribute("property")===(null==n.property?null:n.property)&&i.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&i.getAttribute("charset")===(null==n.charSet?null:n.charSet)){l.splice(s,1);break t}dd(i=a.createElement(o),o,n),a.head.appendChild(i);break;default:throw Error(r(468,o))}i[Fe]=e,Je(i),o=i}e.stateNode=o}else af(a,e.type,e.stateNode);else e.stateNode=Xd(a,o,e.memoizedProps);else i!==o?(null===i?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):i.count--,null===o?af(a,e.type,e.stateNode):Xd(a,o,e.memoizedProps)):null===o&&null!==e.stateNode&&ks(e,e.memoizedProps,n.memoizedProps)}break;case 27:Us(t,e),Vs(e),512&o&&(Ts||null===n||vs(n,n.return)),null!==n&&4&o&&ks(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Us(t,e),Vs(e),512&o&&(Ts||null===n||vs(n,n.return)),32&e.flags){a=e.stateNode;try{St(a,"")}catch(t){kc(e,e.return,t)}}4&o&&null!=e.stateNode&&ks(e,a=e.memoizedProps,null!==n?n.memoizedProps:a),1024&o&&(_s=!0);break;case 6:if(Us(t,e),Vs(e),4&o){if(null===e.stateNode)throw Error(r(162));o=e.memoizedProps,n=e.stateNode;try{n.nodeValue=o}catch(t){kc(e,e.return,t)}}break;case 3:if(rf=null,a=Hs,Hs=Bd(t.containerInfo),Us(t,e),Hs=a,Vs(e),4&o&&null!==n&&n.memoizedState.isDehydrated)try{Qf(t.containerInfo)}catch(t){kc(e,e.return,t)}_s&&(_s=!1,Ws(e));break;case 4:o=Hs,Hs=Bd(e.stateNode.containerInfo),Us(t,e),Vs(e),Hs=o;break;case 12:default:Us(t,e),Vs(e);break;case 31:case 19:Us(t,e),Vs(e),4&o&&(null!==(o=e.updateQueue)&&(e.updateQueue=null,qs(e,o)));break;case 13:Us(t,e),Vs(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Ru=ie()),4&o&&(null!==(o=e.updateQueue)&&(e.updateQueue=null,qs(e,o)));break;case 22:a=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=Is,d=Ts;if(Is=c||a,Ts=d||u,Us(t,e),Ts=d,Is=c,Vs(e),8192&o)e:for(t=e.stateNode,t._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||u||Is||Ts||Qs(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(i=u.stateNode,a)"function"==typeof(l=i.style).setProperty?l.setProperty("display","none","important"):l.display="none";else{s=u.stateNode;var f=u.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){kc(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(e){kc(u,u.return,e)}}}else if(18===t.tag){if(null===n){u=t;try{var h=u.stateNode;a?Rd(h,!0):Rd(u.stateNode,!1)}catch(e){kc(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&o&&(null!==(o=e.updateQueue)&&(null!==(n=o.retryQueue)&&(o.retryQueue=null,qs(e,n))));case 30:case 21:}}function Vs(e){var t=e.flags;if(2&t){try{for(var n,o=e.return;null!==o;){if(Ss(o)){n=o;break}o=o.return}if(null==n)throw Error(r(160));switch(n.tag){case 27:var a=n.stateNode;As(e,xs(e),a);break;case 5:var i=n.stateNode;32&n.flags&&(St(i,""),n.flags&=-33),As(e,xs(e),i);break;case 3:case 4:var l=n.stateNode.containerInfo;Cs(e,xs(e),l);break;default:throw Error(r(161))}}catch(t){kc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ws(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Ws(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Gs(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Os(e,t.alternate,t),t=t.sibling}function Qs(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ms(4,t,t.return),Qs(t);break;case 1:vs(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&ys(t,t.return,n),Qs(t);break;case 27:qd(t.stateNode);case 26:case 5:vs(t,t.return),Qs(t);break;case 22:null===t.memoizedState&&Qs(t);break;default:Qs(t)}e=e.sibling}}function Ys(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,o=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:Ys(o,a,n),hs(4,a);break;case 1:if(Ys(o,a,n),"function"==typeof(o=(r=a).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){kc(r,r.return,e)}if(null!==(o=(r=a).updateQueue)){var l=r.stateNode;try{var s=o.shared.hiddenCallbacks;if(null!==s)for(o.shared.hiddenCallbacks=null,o=0;o<s.length;o++)Ca(s[o],l)}catch(e){kc(r,r.return,e)}}n&&64&i&&gs(a),bs(a,a.return);break;case 27:Es(a);case 26:case 5:Ys(o,a,n),n&&null===r&&4&i&&ws(a),bs(a,a.return);break;case 12:Ys(o,a,n);break;case 31:Ys(o,a,n),n&&4&i&&Ms(o,a);break;case 13:Ys(o,a,n),n&&4&i&&Fs(o,a);break;case 22:null===a.memoizedState&&Ys(o,a,n),bs(a,a.return);break;case 30:break;default:Ys(o,a,n)}t=t.sibling}}function $s(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Fo(n))}function Zs(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Fo(e))}function Ks(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Js(e,t,n,r),t=t.sibling}function Js(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Ks(e,t,n,r),2048&o&&hs(9,t);break;case 1:case 31:case 13:default:Ks(e,t,n,r);break;case 3:Ks(e,t,n,r),2048&o&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Fo(e)));break;case 12:if(2048&o){Ks(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,l=a.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){kc(t,t.return,e)}}else Ks(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,null!==t.memoizedState?2&a._visibility?Ks(e,t,n,r):eu(e,t):2&a._visibility?Ks(e,t,n,r):(a._visibility|=2,Xs(e,t,n,r,!!(10256&t.subtreeFlags)||!1)),2048&o&&$s(i,t);break;case 24:Ks(e,t,n,r),2048&o&&Zs(t.alternate,t)}}function Xs(e,t,n,r,o){for(o=o&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var a=e,i=t,l=n,s=r,u=i.flags;switch(i.tag){case 0:case 11:case 15:Xs(a,i,l,s,o),hs(8,i);break;case 23:break;case 22:var c=i.stateNode;null!==i.memoizedState?2&c._visibility?Xs(a,i,l,s,o):eu(a,i):(c._visibility|=2,Xs(a,i,l,s,o)),o&&2048&u&&$s(i.alternate,i);break;case 24:Xs(a,i,l,s,o),o&&2048&u&&Zs(i.alternate,i);break;default:Xs(a,i,l,s,o)}t=t.sibling}}function eu(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:eu(n,r),2048&o&&$s(r.alternate,r);break;case 24:eu(n,r),2048&o&&Zs(r.alternate,r);break;default:eu(n,r)}t=t.sibling}}var tu=8192;function nu(e,t,n){if(e.subtreeFlags&tu)for(e=e.child;null!==e;)ru(e,t,n),e=e.sibling}function ru(e,t,n){switch(e.tag){case 26:nu(e,t,n),e.flags&tu&&null!==e.memoizedState&&function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var o=Yd(r.href),a=t.querySelector($d(o));if(a)return null!==(t=a._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=uf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,void Je(a);a=t.ownerDocument||t,r=Zd(r),(o=Ud.get(o))&&tf(r,o),Je(a=a.createElement("link"));var i=a;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),dd(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=uf.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Hs,e.memoizedState,e.memoizedProps);break;case 5:default:nu(e,t,n);break;case 3:case 4:var r=Hs;Hs=Bd(e.stateNode.containerInfo),nu(e,t,n),Hs=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=tu,tu=16777216,nu(e,t,n),tu=r):nu(e,t,n))}}function ou(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function au(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Ps=r,su(r,e)}ou(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)iu(e),e=e.sibling}function iu(e){switch(e.tag){case 0:case 11:case 15:au(e),2048&e.flags&&ms(9,e,e.return);break;case 3:case 12:default:au(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,lu(e)):au(e)}}function lu(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Ps=r,su(r,e)}ou(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:ms(8,t,t.return),lu(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,lu(t));break;default:lu(t)}e=e.sibling}}function su(e,t){for(;null!==Ps;){var n=Ps;switch(n.tag){case 0:case 11:case 15:ms(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Fo(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Ps=r;else e:for(n=e;null!==Ps;){var o=(r=Ps).sibling,a=r.return;if(Ns(r),r===n){Ps=null;break e}if(null!==o){o.return=a,Ps=o;break e}Ps=a}}}var uu={getCacheForType:function(e){var t=Po(jo),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Po(jo).controller.signal}},cu="function"==typeof WeakMap?WeakMap:Map,du=0,fu=null,pu=null,hu=0,mu=0,gu=null,yu=!1,bu=!1,vu=!1,wu=0,ku=0,Su=0,xu=0,Cu=0,Au=0,Eu=0,Iu=null,Tu=null,_u=!1,Ru=0,Pu=0,Ou=1/0,Nu=null,Lu=null,zu=0,Du=null,ju=null,Mu=0,Fu=0,qu=null,Uu=null,Hu=0,Bu=null;function Vu(){return 2&du&&0!==hu?hu&-hu:null!==O.T?qc():De()}function Wu(){if(0===Au)if(536870912&hu&&!uo)Au=536870912;else{var e=Se;!(3932160&(Se<<=1))&&(Se=262144),Au=e}return null!==(e=Pa.current)&&(e.flags|=32),Au}function Gu(e,t,n){(e===fu&&(2===mu||9===mu)||null!==e.cancelPendingCommit)&&(Xu(e,0),Zu(e,hu,Au,!1)),Re(e,n),(!(2&du)||e!==fu)&&(e===fu&&(!(2&du)&&(xu|=n),4===ku&&Zu(e,hu,Au,!1)),Nc(e))}function Qu(e,t,n){if(6&du)throw Error(r(327));for(var o=!n&&!(127&t)&&0===(t&e.expiredLanes)||Ee(e,t),a=o?function(e,t){var n=du;du|=2;var o=nc(),a=rc();fu!==e||hu!==t?(Nu=null,Ou=ie()+500,Xu(e,t)):bu=Ee(e,t);e:for(;;)try{if(0!==mu&&null!==pu){t=pu;var i=gu;t:switch(mu){case 1:mu=0,gu=null,cc(e,t,i,1);break;case 2:case 9:if(ea(i)){mu=0,gu=null,uc(t);break}t=function(){2!==mu&&9!==mu||fu!==e||(mu=7),Nc(e)},i.then(t,t);break e;case 3:mu=7;break e;case 4:mu=5;break e;case 7:ea(i)?(mu=0,gu=null,uc(t)):(mu=0,gu=null,cc(e,t,i,7));break;case 5:var l=null;switch(pu.tag){case 26:l=pu.memoizedState;case 5:case 27:var s=pu;if(l?lf(l):s.stateNode.complete){mu=0,gu=null;var u=s.sibling;if(null!==u)pu=u;else{var c=s.return;null!==c?(pu=c,dc(c)):pu=null}break t}}mu=0,gu=null,cc(e,t,i,5);break;case 6:mu=0,gu=null,cc(e,t,i,6);break;case 8:Ju(),ku=6;break e;default:throw Error(r(462))}}lc();break}catch(t){ec(e,t)}return xo=So=null,O.H=o,O.A=a,du=n,null!==pu?0:(fu=null,hu=0,Tr(),ku)}(e,t):ac(e,t,!0),i=o;;){if(0===a){bu&&!o&&Zu(e,t,0,!1);break}if(n=e.current.alternate,!i||$u(n)){if(2===a){if(i=t,e.errorRecoveryDisabledLanes&i)var l=0;else l=0!==(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){t=l;e:{var s=e;a=Iu;var u=s.current.memoizedState.isDehydrated;if(u&&(Xu(s,l).flags|=256),2!==(l=ac(s,l,!1))){if(vu&&!u){s.errorRecoveryDisabledLanes|=i,xu|=i,a=4;break e}i=Tu,Tu=a,null!==i&&(null===Tu?Tu=i:Tu.push.apply(Tu,i))}a=l}if(i=!1,2!==a)continue}}if(1===a){Xu(e,0),Zu(e,t,0,!0);break}e:{switch(o=e,i=a){case 0:case 1:throw Error(r(345));case 4:if((4194048&t)!==t)break;case 6:Zu(o,t,Au,!yu);break e;case 2:Tu=null;break;case 3:case 5:break;default:throw Error(r(329))}if((62914560&t)===t&&10<(a=Ru+300-ie())){if(Zu(o,t,Au,!yu),0!==Ae(o,0,!0))break e;Mu=t,o.timeoutHandle=xd(Yu.bind(null,o,n,Tu,Nu,_u,t,Au,xu,Eu,yu,i,"Throttled",-0,0),a)}else Yu(o,n,Tu,Nu,_u,t,Au,xu,Eu,yu,i,null,-0,0)}break}a=ac(e,t,!1),i=!1}Nc(e)}function Yu(e,t,n,r,o,a,i,l,s,u,c,d,f,p){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||!(16785408&~d)){ru(t,a,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Rt});var h=(62914560&a)===a?Ru-ie():(4194048&a)===a?Pu-ie():0;if(h=function(e,t){return e.stylesheets&&0===e.count&&df(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&df(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===sf&&(sf=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],a=o.transferSize,i=o.initiatorType,l=o.duration;if(a&&l&&pd(i)){for(i=0,l=o.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&pd(d)&&(i+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(a+i)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,"number"==typeof e)?e:5}());var o=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&df(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>sf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}(d,h),null!==h)return Mu=a,e.cancelPendingCommit=h(pc.bind(null,e,t,a,n,r,o,i,l,s,c,d,null,f,p)),void Zu(e,a,i,!u)}pc(e,t,a,n,r,o,i,l,s)}function $u(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!Zn(a(),o))return!1}catch{return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Zu(e,t,n,r){t&=~Cu,t&=~xu,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-be(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&Pe(e,n,t)}function Ku(){return!!(6&du)||(Lc(0),!1)}function Ju(){if(null!==pu){if(0===mu)var e=pu.return;else xo=So=null,ai(e=pu),ia=null,la=0,e=pu;for(;null!==e;)ps(e.alternate,e),e=e.return;pu=null}}function Xu(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,Cd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Mu=0,Ju(),fu=e,pu=n=Mr(e.current,null),hu=t,mu=0,gu=null,yu=!1,bu=Ee(e,t),vu=!1,Eu=Au=Cu=xu=Su=ku=0,Tu=Iu=null,_u=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-be(r),a=1<<o;t|=e[o],r&=~a}return wu=t,Tr(),n}function ec(e,t){Ua=null,O.H=pl,t===Zo||t===Jo?(t=oa(),mu=3):t===Ko?(t=oa(),mu=4):mu=t===Rl?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,gu=t,null===pu&&(ku=1,Al(e,Gr(t,e.current)))}function tc(){var e=Pa.current;return null===e||((4194048&hu)===hu?null===Oa:!!((62914560&hu)===hu||536870912&hu)&&e===Oa)}function nc(){var e=O.H;return O.H=pl,null===e?pl:e}function rc(){var e=O.A;return O.A=uu,e}function oc(){ku=4,yu||(4194048&hu)!==hu&&null!==Pa.current||(bu=!0),!(134217727&Su)&&!(134217727&xu)||null===fu||Zu(fu,hu,Au,!1)}function ac(e,t,n){var r=du;du|=2;var o=nc(),a=rc();(fu!==e||hu!==t)&&(Nu=null,Xu(e,t)),t=!1;var i=ku;e:for(;;)try{if(0!==mu&&null!==pu){var l=pu,s=gu;switch(mu){case 8:Ju(),i=6;break e;case 3:case 2:case 9:case 6:null===Pa.current&&(t=!0);var u=mu;if(mu=0,gu=null,cc(e,l,s,u),n&&bu){i=0;break e}break;default:u=mu,mu=0,gu=null,cc(e,l,s,u)}}ic(),i=ku;break}catch(t){ec(e,t)}return t&&e.shellSuspendCounter++,xo=So=null,du=r,O.H=o,O.A=a,null===pu&&(fu=null,hu=0,Tr()),i}function ic(){for(;null!==pu;)sc(pu)}function lc(){for(;null!==pu&&!oe();)sc(pu)}function sc(e){var t=os(e.alternate,e,wu);e.memoizedProps=e.pendingProps,null===t?dc(e):pu=t}function uc(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Bl(n,t,t.pendingProps,t.type,void 0,hu);break;case 11:t=Bl(n,t,t.pendingProps,t.type.render,t.ref,hu);break;case 5:ai(t);default:ps(n,t),t=os(n,t=pu=Fr(t,wu),wu)}e.memoizedProps=e.pendingProps,null===t?dc(e):pu=t}function cc(e,t,n,o){xo=So=null,ai(t),ia=null,la=0;var a=t.return;try{if(function(e,t,n,o,a){if(n.flags|=32768,null!==o&&"object"==typeof o&&"function"==typeof o.then){if(null!==(t=n.alternate)&&To(t,n,a,!0),null!==(n=Pa.current)){switch(n.tag){case 31:case 13:return null===Oa?oc():null===n.alternate&&0===ku&&(ku=3),n.flags&=-257,n.flags|=65536,n.lanes=a,o===Xo?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([o]):t.add(o),Sc(e,o,a)),!1;case 22:return n.flags|=65536,o===Xo?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([o]):n.add(o),Sc(e,o,a)),!1}throw Error(r(435,n.tag))}return Sc(e,o,a),oc(),!1}if(uo)return null!==(t=Pa.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,o!==po&&wo(Gr(e=Error(r(422),{cause:o}),n))):(o!==po&&wo(Gr(t=Error(r(423),{cause:o}),n)),(e=e.current.alternate).flags|=65536,a&=-a,e.lanes|=a,o=Gr(o,n),wa(e,a=Il(e.stateNode,o,a)),4!==ku&&(ku=2)),!1;var i=Error(r(520),{cause:o});if(i=Gr(i,n),null===Iu?Iu=[i]:Iu.push(i),4!==ku&&(ku=2),null===t)return!0;o=Gr(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,wa(n,e=Il(n.stateNode,o,e)),!1;case 1:if(t=n.type,i=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===i||"function"!=typeof i.componentDidCatch||null!==Lu&&Lu.has(i))))return n.flags|=65536,a&=-a,n.lanes|=a,_l(a=Tl(a),e,n,o),wa(n,a),!1}n=n.return}while(null!==n);return!1}(e,a,t,n,hu))return ku=1,Al(e,Gr(n,e.current)),void(pu=null)}catch(t){if(null!==a)throw pu=a,t;return ku=1,Al(e,Gr(n,e.current)),void(pu=null)}32768&t.flags?(uo||1===o?e=!0:bu||536870912&hu?e=!1:(yu=e=!0,(2===o||9===o||3===o||6===o)&&(null!==(o=Pa.current)&&13===o.tag&&(o.flags|=16384))),fc(t,e)):dc(t)}function dc(e){var t=e;do{if(32768&t.flags)return void fc(t,yu);e=t.return;var n=ds(t.alternate,t,wu);if(null!==n)return void(pu=n);if(null!==(t=t.sibling))return void(pu=t);pu=t=e}while(null!==t);0===ku&&(ku=5)}function fc(e,t){do{var n=fs(e.alternate,e);if(null!==n)return n.flags&=32767,void(pu=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(pu=e);pu=e=n}while(null!==e);ku=6,pu=null}function pc(e,t,n,o,a,i,l,s,u){e.cancelPendingCommit=null;do{bc()}while(0!==zu);if(6&du)throw Error(r(327));if(null!==t){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-be(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Pe(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,i|=Ir,l,s,u),e===fu&&(pu=fu=null,hu=0),ju=t,Du=e,Mu=n,Fu=i,qu=a,Uu=o,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,function(e,t){ne(e,t)}(ce,function(){return vc(),null})):(e.callbackNode=null,e.callbackPriority=0),o=!!(13878&t.flags),13878&t.subtreeFlags||o){o=O.T,O.T=null,a=N.p,N.p=2,l=du,du|=4;try{!function(e,t){if(e=e.containerInfo,hd=Sf,nr(e=tr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(o&&0!==o.rangeCount){n=o.anchorNode;var a=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==o&&3!==f.nodeType||(u=l+o),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===a&&(s=l),p===i&&++d===o&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(md={focusedElem:e,selectionRange:n},Sf=!1,Ps=t;null!==Ps;)if(e=(t=Ps).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ps=e;else for(;null!==Ps;){switch(i=(t=Ps).alternate,e=t.flags,t.tag){case 0:if(4&e&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(a=e[n]).ref.impl=a.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==i){e=void 0,n=t,a=i.memoizedProps,i=i.memoizedState,o=n.stateNode;try{var m=kl(n.type,a);e=o.getSnapshotBeforeUpdate(m,i),o.__reactInternalSnapshotBeforeUpdate=e}catch(e){kc(n,n.return,e)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))Pd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Pd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=t.sibling)){e.return=t.return,Ps=e;break}Ps=t.return}}(e,t)}finally{du=l,N.p=a,O.T=o}}zu=1,hc(),mc(),gc()}}function hc(){if(1===zu){zu=0;var e=Du,t=ju,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=O.T,O.T=null;var r=N.p;N.p=2;var o=du;du|=4;try{Bs(t,e);var a=md,i=tr(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&er(l.ownerDocument.documentElement,l)){if(null!==s&&nr(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(i=g,g=m,m=i);var y=Xn(l,m),b=Xn(l,g);if(y&&b&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(v),p.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),p.addRange(v))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var w=d[l];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Sf=!!hd,md=hd=null}finally{du=o,N.p=r,O.T=n}}e.current=t,zu=2}}function mc(){if(2===zu){zu=0;var e=Du,t=ju,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=O.T,O.T=null;var r=N.p;N.p=2;var o=du;du|=4;try{Os(e,t.alternate,t)}finally{du=o,N.p=r,O.T=n}}zu=3}}function gc(){if(4===zu||3===zu){zu=0,ae();var e=Du,t=ju,n=Mu,r=Uu;10256&t.subtreeFlags||10256&t.flags?zu=5:(zu=0,ju=Du=null,yc(e,e.pendingLanes));var o=e.pendingLanes;if(0===o&&(Lu=null),ze(n),t=t.stateNode,ge&&"function"==typeof ge.onCommitFiberRoot)try{ge.onCommitFiberRoot(me,t,void 0,!(128&~t.current.flags))}catch{}if(null!==r){t=O.T,o=N.p,N.p=2,O.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{O.T=t,N.p=o}}!!(3&Mu)&&bc(),Nc(e),o=e.pendingLanes,261930&n&&42&o?e===Bu?Hu++:(Hu=0,Bu=e):Hu=0,Lc(0)}}function yc(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Fo(t)))}function bc(){return hc(),mc(),gc(),vc()}function vc(){if(5!==zu)return!1;var e=Du,t=Fu;Fu=0;var n=ze(Mu),o=O.T,a=N.p;try{N.p=32>n?32:n,O.T=null,n=qu,qu=null;var i=Du,l=Mu;if(zu=0,ju=Du=null,Mu=0,6&du)throw Error(r(331));var s=du;if(du|=4,iu(i.current),Js(i,i.current,l,n),du=s,Lc(0,!1),ge&&"function"==typeof ge.onPostCommitFiberRoot)try{ge.onPostCommitFiberRoot(me,i)}catch{}return!0}finally{N.p=a,O.T=o,yc(e,t)}}function wc(e,t,n){t=Gr(n,t),null!==(e=ba(e,t=Il(e.stateNode,t,2),2))&&(Re(e,2),Nc(e))}function kc(e,t,n){if(3===e.tag)wc(e,e,n);else for(;null!==t;){if(3===t.tag){wc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Lu||!Lu.has(r))){e=Gr(n,e),null!==(r=ba(t,n=Tl(2),2))&&(_l(n,r,t,e),Re(r,2),Nc(r));break}}t=t.return}}function Sc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new cu;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(vu=!0,o.add(n),e=xc.bind(null,e,t,n),t.then(e,e))}function xc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,fu===e&&(hu&n)===n&&(4===ku||3===ku&&(62914560&hu)===hu&&300>ie()-Ru?!(2&du)&&Xu(e,0):Cu|=n,Eu===hu&&(Eu=0)),Nc(e)}function Cc(e,t){0===t&&(t=Te()),null!==(e=Pr(e,t))&&(Re(e,t),Nc(e))}function Ac(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Ec(e,t){var n=0;switch(e.tag){case 31:case 13:var o=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==o&&o.delete(t),Cc(e,n)}var Ic=null,Tc=null,_c=!1,Rc=!1,Pc=!1,Oc=0;function Nc(e){e!==Tc&&null===e.next&&(null===Tc?Ic=Tc=e:Tc=Tc.next=e),Rc=!0,_c||(_c=!0,Ed(function(){6&du?ne(se,zc):Dc()}))}function Lc(e,t){if(!Pc&&Rc){Pc=!0;do{for(var n=!1,r=Ic;null!==r;){if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-be(42|e)+1)-1,a=201326741&(a&=o&~(i&~l))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,Fc(r,a))}else a=hu,!(3&(a=Ae(r,r===fu?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Ee(r,a)||(n=!0,Fc(r,a));r=r.next}}while(n);Pc=!1}}function zc(){Dc()}function Dc(){Rc=_c=!1;var e=0;0!==Oc&&function(){var e=window.event;return e&&"popstate"===e.type?e!==kd&&(kd=e,!0):(kd=null,!1)}()&&(e=Oc);for(var t=ie(),n=null,r=Ic;null!==r;){var o=r.next,a=jc(r,t);0===a?(r.next=null,null===n?Ic=o:n.next=o,null===o&&(Tc=n)):(n=r,(0!==e||!!(3&a))&&(Rc=!0)),r=o}0!==zu&&5!==zu||Lc(e),0!==Oc&&(Oc=0)}function jc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var i=31-be(a),l=1<<i,s=o[i];-1===s?(0===(l&n)||0!==(l&r))&&(o[i]=Ie(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(n=hu,n=Ae(e,e===(t=fu)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===mu||9===mu)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&re(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Ee(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&re(r),ze(n)){case 2:case 8:n=ue;break;case 32:default:n=ce;break;case 268435456:n=fe}return r=Mc.bind(null,e),n=ne(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&re(r),e.callbackPriority=2,e.callbackNode=null,2}function Mc(e,t){if(0!==zu&&5!==zu)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(bc()&&e.callbackNode!==n)return null;var r=hu;return 0===(r=Ae(e,e===fu?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Qu(e,r,t),jc(e,ie()),null!=e.callbackNode&&e.callbackNode===n?Mc.bind(null,e):null)}function Fc(e,t){if(bc())return null;Qu(e,t,!0)}function qc(){if(0===Oc){var e=Ho;0===e&&(e=ke,!(261888&(ke<<=1))&&(ke=256)),Oc=e}return Oc}function Uc(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:_t(""+e)}function Hc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Bc=0;Bc<Sr.length;Bc++){var Vc=Sr[Bc];xr(Vc.toLowerCase(),"on"+(Vc[0].toUpperCase()+Vc.slice(1)))}xr(hr,"onAnimationEnd"),xr(mr,"onAnimationIteration"),xr(gr,"onAnimationStart"),xr("dblclick","onDoubleClick"),xr("focusin","onFocus"),xr("focusout","onBlur"),xr(yr,"onTransitionRun"),xr(br,"onTransitionStart"),xr(vr,"onTransitionCancel"),xr(wr,"onTransitionEnd"),nt("onMouseEnter",["mouseout","mouseover"]),nt("onMouseLeave",["mouseout","mouseover"]),nt("onPointerEnter",["pointerout","pointerover"]),nt("onPointerLeave",["pointerout","pointerover"]),tt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tt("onBeforeInput",["compositionend","keypress","textInput","paste"]),tt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wc="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(" "),Gc=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wc));function Qc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=u;try{a(o)}catch(e){Cr(e)}o.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=u;try{a(o)}catch(e){Cr(e)}o.currentTarget=null,a=s}}}}function Yc(e,t){var n=t[He];void 0===n&&(n=t[He]=new Set);var r=e+"__bubble";n.has(r)||(Jc(t,e,2,!1),n.add(r))}function $c(e,t,n){var r=0;t&&(r|=4),Jc(n,e,r,t)}var Zc="_reactListening"+Math.random().toString(36).slice(2);function Kc(e){if(!e[Zc]){e[Zc]=!0,Xe.forEach(function(t){"selectionchange"!==t&&(Gc.has(t)||$c(t,!1,e),$c(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Zc]||(t[Zc]=!0,$c("selectionchange",!1,t))}}function Jc(e,t,n,r){switch(_f(t)){case 2:var o=xf;break;case 8:o=Cf;break;default:o=Af}n=o.bind(null,t,n,e),o=void 0,!qt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Xc(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var s=r.stateNode.containerInfo;if(s===o)break;if(4===l)for(l=r.return;null!==l;){var u=l.tag;if((3===u||4===u)&&l.stateNode.containerInfo===o)return;l=l.return}for(;null!==s;){if(null===(l=Ye(s)))return;if(5===(u=l.tag)||6===u||26===u||27===u){r=i=l;continue e}s=s.parentNode}}r=r.return}jt(function(){var r=i,o=Ot(n),l=[];e:{var s=kr.get(e);if(void 0!==s){var u=en,c=e;switch(e){case"keypress":if(0===Gt(n))break e;case"keydown":case"keyup":u=gn;break;case"focusin":c="focus",u=ln;break;case"focusout":c="blur",u=ln;break;case"beforeblur":case"afterblur":u=ln;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=on;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=an;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=bn;break;case hr:case mr:case gr:u=sn;break;case wr:u=vn;break;case"scroll":case"scrollend":u=nn;break;case"wheel":u=wn;break;case"copy":case"cut":case"paste":u=un;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=yn;break;case"toggle":case"beforetoggle":u=kn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=Mt(m,p))&&d.push(ed(m,g,h)),f)break;m=m.return}0<d.length&&(s=new u(s,c,null,n,o),l.push({event:s,listeners:d}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Pt||!(c=n.relatedTarget||n.fromElement)||!Ye(c)&&!c[Ue])&&(u||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ye(c):null)&&(f=a(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(u=null,c=r),u!==c)){if(d=on,g="onMouseLeave",p="onMouseEnter",m="mouse",("pointerout"===e||"pointerover"===e)&&(d=yn,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==u?s:Ze(u),h=null==c?s:Ze(c),(s=new d(g,m+"leave",u,n,o)).target=f,s.relatedTarget=h,g=null,Ye(o)===r&&((d=new d(p,m+"enter",c,n,o)).target=h,d.relatedTarget=f,g=d),f=g,u&&c)e:{for(d=nd,m=c,h=0,g=p=u;g;g=d(g))h++;g=0;for(var y=m;y;y=d(y))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||null!==m&&p===m.alternate){d=p;break e}p=d(p),m=d(m)}d=null}else d=null;null!==u&&rd(l,s,u,d,!1),null!==c&&null!==f&&rd(l,f,c,d,!0)}if("select"===(u=(s=r?Ze(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var b=Fn;else if(Nn(s))if(qn)b=$n;else{b=Qn;var v=Gn}else!(u=s.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Et(r.elementType)&&(b=Fn):b=Yn;switch(b&&(b=b(e,r))?Ln(l,b,n,o):(v&&v(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&bt(s,"number",s.value)),v=r?Ze(r):window,e){case"focusin":(Nn(v)||"true"===v.contentEditable)&&(or=v,ar=r,ir=null);break;case"focusout":ir=ar=or=null;break;case"mousedown":lr=!0;break;case"contextmenu":case"mouseup":case"dragend":lr=!1,sr(l,n,o);break;case"selectionchange":if(rr)break;case"keydown":case"keyup":sr(l,n,o)}var w;if(xn)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else Pn?_n(e,n)&&(k="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(k="onCompositionStart");k&&(En&&"ko"!==n.locale&&(Pn||"onCompositionStart"!==k?"onCompositionEnd"===k&&Pn&&(w=Wt()):(Bt="value"in(Ht=o)?Ht.value:Ht.textContent,Pn=!0)),0<(v=td(r,k)).length&&(k=new cn(k,e,null,n,o),l.push({event:k,listeners:v}),w?k.data=w:null!==(w=Rn(n))&&(k.data=w))),(w=An?function(e,t){switch(e){case"compositionend":return Rn(t);case"keypress":return 32!==t.which?null:(Tn=!0,In);case"textInput":return(e=t.data)===In&&Tn?null:e;default:return null}}(e,n):function(e,t){if(Pn)return"compositionend"===e||!xn&&_n(e,t)?(e=Wt(),Vt=Bt=Ht=null,Pn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return En&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(k=td(r,"onBeforeInput")).length&&(v=new cn("onBeforeInput","beforeinput",null,n,o),l.push({event:v,listeners:k}),v.data=w)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var a=Uc((o[qe]||null).action),i=r.submitter;i&&null!==(t=(t=i[qe]||null)?Uc(t.formAction):i.getAttribute("formAction"))&&(a=t,i=null);var l=new en("action","action",null,r,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Oc){var e=i?Hc(o,i):new FormData(o);Xi(n,{pending:!0,data:e,method:o.method,action:a},null,e)}}else"function"==typeof a&&(l.preventDefault(),e=i?Hc(o,i):new FormData(o),Xi(n,{pending:!0,data:e,method:o.method,action:a},a,e))},currentTarget:o}]})}}(l,e,r,n,o)}Qc(l,t)})}function ed(e,t,n){return{instance:e,listener:t,currentTarget:n}}function td(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=Mt(e,n))&&r.unshift(ed(e,o,a)),null!=(o=Mt(e,t))&&r.push(ed(e,o,a))),3===e.tag)return r;e=e.return}return[]}function nd(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function rd(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,o?null!=(u=Mt(n,a))&&i.unshift(ed(n,u,s)):o||null!=(u=Mt(n,a))&&i.push(ed(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var od=/\r\n?/g,ad=/\u0000|\uFFFD/g;function ld(e){return("string"==typeof e?e:""+e).replace(od,"\n").replace(ad,"")}function sd(e,t){return t=ld(t),ld(e)===t}function ud(e,t,n,o,a,i){switch(n){case"children":"string"==typeof o?"body"===t||"textarea"===t&&""===o||St(e,o):("number"==typeof o||"bigint"==typeof o)&&"body"!==t&&St(e,""+o);break;case"className":lt(e,"class",o);break;case"tabIndex":lt(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":lt(e,n,o);break;case"style":At(e,o,i);break;case"data":if("object"!==t){lt(e,"data",o);break}case"src":case"href":if(""===o&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==o||"function"==typeof o||"symbol"==typeof o||"boolean"==typeof o){e.removeAttribute(n);break}o=_t(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if("function"==typeof o){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&ud(e,t,"name",a.name,a,null),ud(e,t,"formEncType",a.formEncType,a,null),ud(e,t,"formMethod",a.formMethod,a,null),ud(e,t,"formTarget",a.formTarget,a,null)):(ud(e,t,"encType",a.encType,a,null),ud(e,t,"method",a.method,a,null),ud(e,t,"target",a.target,a,null))),null==o||"symbol"==typeof o||"boolean"==typeof o){e.removeAttribute(n);break}o=_t(""+o),e.setAttribute(n,o);break;case"onClick":null!=o&&(e.onclick=Rt);break;case"onScroll":null!=o&&Yc("scroll",e);break;case"onScrollEnd":null!=o&&Yc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=o){if("object"!=typeof o||!("__html"in o))throw Error(r(61));if(null!=(n=o.__html)){if(null!=a.children)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=o&&"function"!=typeof o&&"symbol"!=typeof o;break;case"muted":e.muted=o&&"function"!=typeof o&&"symbol"!=typeof o;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==o||"function"==typeof o||"boolean"==typeof o||"symbol"==typeof o){e.removeAttribute("xlink:href");break}n=_t(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,""+o):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===o?e.setAttribute(n,""):!1!==o&&null!=o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,o):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&!isNaN(o)&&1<=o?e.setAttribute(n,o):e.removeAttribute(n);break;case"rowSpan":case"start":null==o||"function"==typeof o||"symbol"==typeof o||isNaN(o)?e.removeAttribute(n):e.setAttribute(n,o);break;case"popover":Yc("beforetoggle",e),Yc("toggle",e),it(e,"popover",o);break;case"xlinkActuate":st(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":st(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":st(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":st(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":st(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":st(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":st(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":st(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":st(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":it(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&it(e,n=It.get(n)||n,o)}}function cd(e,t,n,o,a,i){switch(n){case"style":At(e,o,i);break;case"dangerouslySetInnerHTML":if(null!=o){if("object"!=typeof o||!("__html"in o))throw Error(r(61));if(null!=(n=o.__html)){if(null!=a.children)throw Error(r(60));e.innerHTML=n}}break;case"children":"string"==typeof o?St(e,o):("number"==typeof o||"bigint"==typeof o)&&St(e,""+o);break;case"onScroll":null!=o&&Yc("scroll",e);break;case"onScrollEnd":null!=o&&Yc("scrollend",e);break;case"onClick":null!=o&&(e.onclick=Rt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:et.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(i=null!=(i=e[qe]||null)?i[n]:null)&&e.removeEventListener(t,i,a),"function"!=typeof o)?n in e?e[n]=o:!0===o?e.setAttribute(n,""):it(e,n,o):("function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,a)))}}function dd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Yc("error",e),Yc("load",e);var o,a=!1,i=!1;for(o in n)if(n.hasOwnProperty(o)){var l=n[o];if(null!=l)switch(o){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ud(e,t,o,l,n,null)}}return i&&ud(e,t,"srcSet",n.srcSet,n,null),void(a&&ud(e,t,"src",n.src,n,null));case"input":Yc("invalid",e);var s=o=l=i=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":i=d;break;case"type":l=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":o=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(r(137,t));break;default:ud(e,t,a,d,n,null)}}return void yt(e,o,s,u,c,l,i,!1);case"select":for(i in Yc("invalid",e),a=l=o=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":o=s;break;case"defaultValue":l=s;break;case"multiple":a=s;default:ud(e,t,i,s,n,null)}return t=o,n=l,e.multiple=!!a,void(null!=t?vt(e,!!a,t,!1):null!=n&&vt(e,!!a,n,!0));case"textarea":for(l in Yc("invalid",e),o=i=a=null,n)if(n.hasOwnProperty(l)&&null!=(s=n[l]))switch(l){case"value":a=s;break;case"defaultValue":i=s;break;case"children":o=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(r(91));break;default:ud(e,t,l,s,n,null)}return void kt(e,a,i,o);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(a=n[u]))if("selected"===u)e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a;else ud(e,t,u,a,n,null);return;case"dialog":Yc("beforetoggle",e),Yc("toggle",e),Yc("cancel",e),Yc("close",e);break;case"iframe":case"object":Yc("load",e);break;case"video":case"audio":for(a=0;a<Wc.length;a++)Yc(Wc[a],e);break;case"image":Yc("error",e),Yc("load",e);break;case"details":Yc("toggle",e);break;case"embed":case"source":case"link":Yc("error",e),Yc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ud(e,t,c,a,n,null)}return;default:if(Et(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(a=n[d])&&cd(e,t,d,a,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(null!=(a=n[s])&&ud(e,t,s,a,n,null))}function pd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var hd=null,md=null;function gd(e){return 9===e.nodeType?e:e.ownerDocument}function yd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function bd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function wd(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var kd=null;var xd="function"==typeof setTimeout?setTimeout:void 0,Cd="function"==typeof clearTimeout?clearTimeout:void 0,Ad="function"==typeof Promise?Promise:void 0,Ed="function"==typeof queueMicrotask?queueMicrotask:typeof Ad<"u"?function(e){return Ad.resolve(null).then(e).catch(Id)}:xd;function Id(e){setTimeout(function(){throw e})}function Td(e){return"head"===e}function _d(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r)return e.removeChild(o),void Qf(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)qd(e.ownerDocument.documentElement);else if("head"===n){qd(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[Ge]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=i}}else"body"===n&&qd(e.ownerDocument.body);n=o}while(n);Qf(t)}function Rd(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Pd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Pd(n),Qe(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function Od(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=zd(e.nextSibling)))return null;return e}function Nd(e){return"$?"===e.data||"$~"===e.data}function Ld(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function zd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var Dd=null;function jd(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return zd(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Md(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Fd(e,t,n){switch(t=gd(n),e){case"html":if(!(e=t.documentElement))throw Error(r(452));return e;case"head":if(!(e=t.head))throw Error(r(453));return e;case"body":if(!(e=t.body))throw Error(r(454));return e;default:throw Error(r(451))}}function qd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Qe(e)}var Ud=new Map,Hd=new Set;function Bd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Vd=N.d;N.d={f:function(){var e=Vd.f(),t=Ku();return e||t},r:function(e){var t=$e(e);null!==t&&5===t.tag&&"form"===t.type?tl(t):Vd.r(e)},D:function(e){Vd.D(e),Gd("dns-prefetch",e,null)},C:function(e,t){Vd.C(e,t),Gd("preconnect",e,t)},L:function(e,t,n){Vd.L(e,t,n);var r=Wd;if(r&&e&&t){var o='link[rel="preload"][as="'+mt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+mt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+mt(n.imageSizes)+'"]')):o+='[href="'+mt(e)+'"]';var a=o;switch(t){case"style":a=Yd(e);break;case"script":a=Kd(e)}Ud.has(a)||(e=c({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Ud.set(a,e),null!==r.querySelector(o)||"style"===t&&r.querySelector($d(a))||"script"===t&&r.querySelector(Jd(a))||(dd(t=r.createElement("link"),"link",e),Je(t),r.head.appendChild(t)))}},m:function(e,t){Vd.m(e,t);var n=Wd;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+mt(r)+'"][href="'+mt(e)+'"]',a=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Kd(e)}if(!Ud.has(a)&&(e=c({rel:"modulepreload",href:e},t),Ud.set(a,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Jd(a)))return}dd(r=n.createElement("link"),"link",e),Je(r),n.head.appendChild(r)}}},X:function(e,t){Vd.X(e,t);var n=Wd;if(n&&e){var r=Ke(n).hoistableScripts,o=Kd(e),a=r.get(o);a||((a=n.querySelector(Jd(o)))||(e=c({src:e,async:!0},t),(t=Ud.get(o))&&nf(e,t),Je(a=n.createElement("script")),dd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}},S:function(e,t,n){Vd.S(e,t,n);var r=Wd;if(r&&e){var o=Ke(r).hoistableStyles,a=Yd(e);t=t||"default";var i=o.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector($d(a)))l.loading=5;else{e=c({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ud.get(a))&&tf(e,n);var s=i=r.createElement("link");Je(s),dd(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,ef(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},o.set(a,i)}}},M:function(e,t){Vd.M(e,t);var n=Wd;if(n&&e){var r=Ke(n).hoistableScripts,o=Kd(e),a=r.get(o);a||((a=n.querySelector(Jd(o)))||(e=c({src:e,async:!0,type:"module"},t),(t=Ud.get(o))&&nf(e,t),Je(a=n.createElement("script")),dd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}}};var Wd=typeof document>"u"?null:document;function Gd(e,t,n){var r=Wd;if(r&&"string"==typeof t&&t){var o=mt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),Hd.has(o)||(Hd.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(dd(t=r.createElement("link"),"link",e),Je(t),r.head.appendChild(t)))}}function Qd(e,t,n,o){var a=(a=V.current)?Bd(a):null;if(!a)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Yd(n.href),(o=(n=Ke(a).hoistableStyles).get(t))||(o={type:"style",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Yd(n.href);var i=Ke(a).hoistableStyles,l=i.get(e);if(l||(a=a.ownerDocument||a,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,l),(i=a.querySelector($d(e)))&&!i._p&&(l.instance=i,l.state.loading=5),Ud.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ud.set(e,n),i||function(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),dd(t,"link",n),Je(t),e.head.appendChild(t))}(a,e,n,l.state))),t&&null===o)throw Error(r(528,""));return l}if(t&&null!==o)throw Error(r(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Kd(n),(o=(n=Ke(a).hoistableScripts).get(t))||(o={type:"script",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Yd(e){return'href="'+mt(e)+'"'}function $d(e){return'link[rel="stylesheet"]['+e+"]"}function Zd(e){return c({},e,{"data-precedence":e.precedence,precedence:null})}function Kd(e){return'[src="'+mt(e)+'"]'}function Jd(e){return"script[async]"+e}function Xd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+mt(n.href)+'"]');if(o)return t.instance=o,Je(o),o;var a=c({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Je(o=(e.ownerDocument||e).createElement("style")),dd(o,"style",a),ef(o,n.precedence,e),t.instance=o;case"stylesheet":a=Yd(n.href);var i=e.querySelector($d(a));if(i)return t.state.loading|=4,t.instance=i,Je(i),i;o=Zd(n),(a=Ud.get(a))&&tf(o,a),Je(i=(e.ownerDocument||e).createElement("link"));var l=i;return l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),dd(i,"link",o),t.state.loading|=4,ef(i,n.precedence,e),t.instance=i;case"script":return i=Kd(n.src),(a=e.querySelector(Jd(i)))?(t.instance=a,Je(a),a):(o=n,(a=Ud.get(i))&&nf(o=c({},n),a),Je(a=(e=e.ownerDocument||e).createElement("script")),dd(a,"link",o),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(r(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(o=t.instance,t.state.loading|=4,ef(o,n.precedence,e));return t.instance}function ef(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function tf(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function nf(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var rf=null;function of(e,t,n){if(null===rf){var r=new Map,o=rf=new Map;o.set(n,r)}else(r=(o=rf).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[Ge]||a[Fe]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function af(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function lf(e){return!("stylesheet"===e.type&&!(3&e.state.loading))}var sf=0;function uf(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)df(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var cf=null;function df(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,cf=new Map,t.forEach(ff,e),cf=null,uf.call(e))}function ff(e,t){if(!(4&t.state.loading)){var n=cf.get(e);if(n)var r=n.get(null);else{n=new Map,cf.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(null,o),n.set(i,o),this.count++,r=uf.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var pf={$$typeof:v,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function hf(e,t,n,r,o,a,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=_e(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_e(0),this.hiddenUpdates=_e(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function mf(e,t,n,r,o,a,i,l,s,u,c,d){return e=new hf(e,t,n,i,s,u,c,d,l),t=1,!0===a&&(t|=24),a=Dr(3,null,null,t),e.current=a,a.stateNode=e,(t=Mo()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ma(a),e}function gf(e){return e?e=Lr:Lr}function yf(e,t,n,r,o,a){o=gf(o),null===r.context?r.context=o:r.pendingContext=o,(r=ya(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=ba(e,r,t))&&(Gu(n,0,t),va(n,e,t))}function bf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function vf(e,t){bf(e,t),(e=e.alternate)&&bf(e,t)}function wf(e){if(13===e.tag||31===e.tag){var t=Pr(e,67108864);null!==t&&Gu(t,0,67108864),vf(e,67108864)}}function kf(e){if(13===e.tag||31===e.tag){var t=Vu(),n=Pr(e,t=Le(t));null!==n&&Gu(n,0,t),vf(e,t)}}var Sf=!0;function xf(e,t,n,r){var o=O.T;O.T=null;var a=N.p;try{N.p=2,Af(e,t,n,r)}finally{N.p=a,O.T=o}}function Cf(e,t,n,r){var o=O.T;O.T=null;var a=N.p;try{N.p=8,Af(e,t,n,r)}finally{N.p=a,O.T=o}}function Af(e,t,n,r){if(Sf){var o=Ef(r);if(null===o)Xc(e,t,r,If,n),Mf(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Pf=Ff(Pf,e,t,n,r,o),!0;case"dragenter":return Of=Ff(Of,e,t,n,r,o),!0;case"mouseover":return Nf=Ff(Nf,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Lf.set(a,Ff(Lf.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,zf.set(a,Ff(zf.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Mf(e,r),4&t&&-1<jf.indexOf(e)){for(;null!==o;){var a=$e(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=Ce(a.pendingLanes);if(0!==i){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-be(i);l.entanglements[1]|=s,i&=~s}Nc(a),!(6&du)&&(Ou=ie()+500,Lc(0))}}break;case 31:case 13:null!==(l=Pr(a,2))&&Gu(l,0,2),Ku(),vf(a,2)}if(null===(a=Ef(r))&&Xc(e,t,r,If,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Xc(e,t,r,null,n)}}function Ef(e){return Tf(e=Ot(e))}var If=null;function Tf(e){if(If=null,null!==(e=Ye(e))){var t=a(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=i(t)))return e;e=null}else if(31===n){if(null!==(e=l(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return If=e,null}function _f(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(le()){case se:return 2;case ue:return 8;case ce:case de:return 32;case fe:return 268435456;default:return 32}default:return 32}}var Rf=!1,Pf=null,Of=null,Nf=null,Lf=new Map,zf=new Map,Df=[],jf="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".split(" ");function Mf(e,t){switch(e){case"focusin":case"focusout":Pf=null;break;case"dragenter":case"dragleave":Of=null;break;case"mouseover":case"mouseout":Nf=null;break;case"pointerover":case"pointerout":Lf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zf.delete(t.pointerId)}}function Ff(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=$e(t))&&wf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function qf(e){var t=Ye(e.target);if(null!==t){var n=a(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=i(n)))return e.blockedOn=t,void je(e.priority,function(){kf(n)})}else if(31===t){if(null!==(t=l(n)))return e.blockedOn=t,void je(e.priority,function(){kf(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Uf(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ef(e.nativeEvent);if(null!==n)return null!==(t=$e(n))&&wf(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Pt=r,n.target.dispatchEvent(r),Pt=null,t.shift()}return!0}function Hf(e,t,n){Uf(e)&&n.delete(t)}function Bf(){Rf=!1,null!==Pf&&Uf(Pf)&&(Pf=null),null!==Of&&Uf(Of)&&(Of=null),null!==Nf&&Uf(Nf)&&(Nf=null),Lf.forEach(Hf),zf.forEach(Hf)}function Vf(t,n){t.blockedOn===n&&(t.blockedOn=null,Rf||(Rf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Bf)))}var Wf=null;function Gf(t){Wf!==t&&(Wf=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Wf===t&&(Wf=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],o=t[e+2];if("function"!=typeof r){if(null===Tf(r||n))continue;break}var a=$e(n);null!==a&&(t.splice(e,3),e-=3,Xi(a,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function Qf(e){function t(t){return Vf(t,e)}null!==Pf&&Vf(Pf,e),null!==Of&&Vf(Of,e),null!==Nf&&Vf(Nf,e),Lf.forEach(t),zf.forEach(t);for(var n=0;n<Df.length;n++){var r=Df[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Df.length&&null===(n=Df[0]).blockedOn;)qf(n),null===n.blockedOn&&Df.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[qe]||null;if("function"==typeof a)i||Gf(n);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[qe]||null)l=i.formAction;else if(null!==Tf(o))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),Gf(n)}}}function Yf(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function $f(e){this._internalRoot=e}function Zf(e){this._internalRoot=e}Zf.prototype.render=$f.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));yf(t.current,Vu(),e,t,null,null)},Zf.prototype.unmount=$f.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;yf(e.current,2,null,e,null,null),Ku(),t[Ue]=null}},Zf.prototype.unstable_scheduleHydration=function(e){if(e){var t=De();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Df.length&&0!==t&&t<Df[n].priority;n++);Df.splice(n,0,e),0===n&&qf(e)}};var Kf=t.version;if("19.2.0"!==Kf)throw Error(r(527,Kf,"19.2.0"));N.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=function(e){var t=e.alternate;if(!t){if(null===(t=a(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,o=t;;){var i=n.return;if(null===i)break;var l=i.alternate;if(null===l){if(null!==(o=i.return)){n=o;continue}break}if(i.child===l.child){for(l=i.child;l;){if(l===n)return s(i),e;if(l===o)return s(i),t;l=l.sibling}throw Error(r(188))}if(n.return!==o.return)n=i,o=l;else{for(var u=!1,c=i.child;c;){if(c===n){u=!0,n=i,o=l;break}if(c===o){u=!0,o=i,n=l;break}c=c.sibling}if(!u){for(c=l.child;c;){if(c===n){u=!0,n=l,o=i;break}if(c===o){u=!0,o=l,n=i;break}c=c.sibling}if(!u)throw Error(r(189))}}if(n.alternate!==o)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?u(e):null)?null:e.stateNode};var Jf={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xf.isDisabled&&Xf.supportsFiber)try{me=Xf.inject(Jf),ge=Xf}catch{}}return id.createRoot=function(e,t){if(!o(e))throw Error(r(299));var n=!1,a="",i=Sl,l=xl,s=Cl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(l=t.onCaughtError),void 0!==t.onRecoverableError&&(s=t.onRecoverableError)),t=mf(e,1,!1,null,0,n,a,null,i,l,s,Yf),e[Ue]=t.current,Kc(e),new $f(t)},id.hydrateRoot=function(e,t,n){if(!o(e))throw Error(r(299));var a=!1,i="",l=Sl,s=xl,u=Cl,c=null;return null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(l=n.onUncaughtError),void 0!==n.onCaughtError&&(s=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.formState&&(c=n.formState)),(t=mf(e,1,!0,t,0,a,i,c,l,s,u,Yf)).context=gf(null),n=t.current,(i=ya(a=Le(a=Vu()))).callback=null,ba(n,i,a),n=a,t.current.lanes=n,Re(t,n),Nc(t),e[Ue]=t.current,Kc(e),new Zf(t)},id.version="19.2.0",id}var Cd,Ad,Ed={};function Id(){if(Cd)return Ed;Cd=1;
|
|
98
98
|
/**
|
|
99
99
|
* @license React
|
|
100
100
|
* react-dom-client.development.js
|
|
@@ -104,4 +104,4 @@ return"production"!=={}.NODE_ENV&&function(){function e(){}function t(e){return"
|
|
|
104
104
|
* This source code is licensed under the MIT license found in the
|
|
105
105
|
* LICENSE file in the root directory of this source tree.
|
|
106
106
|
*/
|
|
107
|
-
return"production"!=={}.NODE_ENV&&function(){function e(e,t){for(e=e.memoizedState;null!==e&&0<t;)e=e.next,t--;return e}function t(e,n,r,o){if(r>=n.length)return o;var a=n[r],i=Wd(e)?e.slice():Id({},e);return i[a]=t(e[a],n,r+1,o),i}function n(e,t,n){if(t.length===n.length){for(var o=0;o<n.length-1;o++)if(t[o]!==n[o])return void console.warn("copyWithRename() expects paths to be the same except for the deepest key");return r(e,t,n,0)}console.warn("copyWithRename() expects paths of the same length")}function r(e,t,n,o){var a=t[o],i=Wd(e)?e.slice():Id({},e);return o+1===t.length?(i[n[o]]=i[a],Wd(i)?i.splice(a,1):delete i[a]):i[a]=r(e[a],t,n,o+1),i}function o(e,t,n){var r=t[n],a=Wd(e)?e.slice():Id({},e);return n+1===t.length?(Wd(a)?a.splice(r,1):delete a[r],a):(a[r]=o(e[r],t,n+1),a)}function a(){return!1}function i(){return null}function l(){console.error("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://react.dev/link/rules-of-hooks")}function s(){console.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().")}function u(){}function c(){}function d(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")}function f(e,t,n,r){return new _n(e,t,n,r)}function p(e,t){e.context===Om&&(Bc(e.current,2,t,e,null,null),us())}function h(e,t){if(null!==Nm){var n=t.staleFamilies;t=t.updatedFamilies,Ls(),Tn(e.current,t,n),us()}}function m(e){Nm=e}function g(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function y(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function v(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function w(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function k(e){if(y(e)!==e)throw Error("Unable to find node on an unmounted component.")}function S(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=S(e)))return t;e=e.sibling}return null}function x(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Bd&&e[Bd]||e["@@iterator"])?e:null}function C(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===Vd?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Pd:return"Fragment";case Nd:return"Profiler";case Od:return"StrictMode";case jd:return"Suspense";case Md:return"SuspenseList";case Ud:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Rd:return"Portal";case zd:return e.displayName||"Context";case Ld:return(e._context.displayName||"Context")+".Consumer";case Dd:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Fd:return null!==(t=e.displayName||null)?t:C(e.type)||"Memo";case qd:t=e._payload,e=e._init;try{return C(e(t))}catch{}}return null}function A(e){return"number"==typeof e.tag?E(e):"string"==typeof e.name?e.name:null}function E(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return C(t);case 8:return t===Od?"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 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;break;case 29:if(null!=(t=e._debugInfo))for(var n=t.length-1;0<=n;n--)if("string"==typeof t[n].name)return t[n].name;if(null!==e.return)return E(e.return)}return null}function I(e){return{current:e}}function T(e,t){0>Kd?console.error("Unexpected pop."):(t!==Zd[Kd]&&console.error("Unexpected Fiber popped."),e.current=$d[Kd],$d[Kd]=null,Zd[Kd]=null,Kd--)}function _(e,t,n){Kd++,$d[Kd]=e.current,Zd[Kd]=n,e.current=t}function R(e){return null===e&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function P(e,t){_(ef,t,e),_(Xd,e,e),_(Jd,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=9===n?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?ju(t):$k;break;default:if(n=t.tagName,t=t.namespaceURI)t=Mu(t=ju(t),n);else switch(n){case"svg":t=Zk;break;case"math":t=Kk;break;default:t=$k}}n={context:t,ancestorInfo:n=ut(null,n=n.toLowerCase())},T(Jd,e),_(Jd,n,e)}function O(e){T(Jd,e),T(Xd,e),T(ef,e)}function N(){return R(Jd.current)}function L(e){null!==e.memoizedState&&_(tf,e,e);var t=R(Jd.current),n=e.type,r=Mu(t.context,n);t!==(r={context:r,ancestorInfo:n=ut(t.ancestorInfo,n)})&&(_(Xd,e,e),_(Jd,r,e))}function z(e){Xd.current===e&&(T(Jd,e),T(Xd,e)),tf.current===e&&(T(tf,e),DS._currentValue=zS)}function D(){}function j(e){var t=Error.prepareStackTrace;return Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith("Error: react-stack-top-frame\n")&&(e=e.slice(29)),-1!==(t=e.indexOf("\n"))&&(e=e.slice(t+1)),-1!==(t=e.indexOf("react_stack_bottom_frame"))&&(t=e.lastIndexOf("\n",t)),-1===t?"":e=e.slice(0,t)}function M(e){if(void 0===rf)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);rf=t&&t[1]||"",of=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+rf+e+of}function F(e,t){if(!e||af)return"";var n=lf.get(e);if(void 0!==n)return n;af=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r;r=Gd.H,Gd.H=null,function(){if(0===nf){md=console.log,gd=console.info,yd=console.warn,bd=console.error,vd=console.group,wd=console.groupCollapsed,Sd=console.groupEnd;var e={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}nf++}();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=o.DetermineComponentFrameRoot(),l=i[0],s=i[1];if(l&&s){var u=l.split("\n"),c=s.split("\n");for(i=a=0;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(a===u.length||i===c.length)for(a=u.length-1,i=c.length-1;1<=a&&0<=i&&u[a]!==c[i];)i--;for(;1<=a&&0<=i;a--,i--)if(u[a]!==c[i]){if(1!==a||1!==i)do{if(a--,0>--i||u[a]!==c[i]){var d="\n"+u[a].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&lf.set(e,d),d}}while(1<=a&&0<=i);break}}}finally{af=!1,Gd.H=r,function(){if(0===--nf){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Id({},e,{value:md}),info:Id({},e,{value:gd}),warn:Id({},e,{value:yd}),error:Id({},e,{value:bd}),group:Id({},e,{value:vd}),groupCollapsed:Id({},e,{value:wd}),groupEnd:Id({},e,{value:Sd})})}0>nf&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=n}return u=(u=e?e.displayName||e.name:"")?M(u):"","function"==typeof e&&lf.set(e,u),u}function q(e,t){switch(e.tag){case 26:case 27:case 5:return M(e.type);case 16:return M("Lazy");case 13:return e.child!==t&&null!==t?M("Suspense Fallback"):M("Suspense");case 19:return M("SuspenseList");case 0:case 15:return F(e.type,!1);case 11:return F(e.type.render,!1);case 1:return F(e.type,!0);case 31:return M("Activity");default:return""}}function U(e){try{var t="",n=null;do{t+=q(e,n);var r=e._debugInfo;if(r)for(var o=r.length-1;0<=o;o--){var a=r[o];if("string"==typeof a.name){var i=t;e:{var l=a.name,s=a.env,u=a.debugLocation;if(null!=u){var c=j(u),d=c.lastIndexOf("\n"),f=-1===d?c:c.slice(d+1);if(-1!==f.indexOf(l)){var p="\n"+f;break e}}p=M(l+(s?" ["+s+"]":""))}t=i+p}}n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function H(e){return(e=e?e.displayName||e.name:"")?M(e):""}function B(){if(null===sf)return null;var e=sf._debugOwner;return null!=e?A(e):null}function V(){if(null===sf)return"";var e=sf;try{var t="";switch(6===e.tag&&(e=e.return),e.tag){case 26:case 27:case 5:t+=M(e.type);break;case 13:t+=M("Suspense");break;case 19:t+=M("SuspenseList");break;case 31:t+=M("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||""!==t||(t+=H(e.type));break;case 11:e._debugOwner||""!==t||(t+=H(e.type.render))}for(;e;)if("number"==typeof e.tag){var n=e;e=n._debugOwner;var r=n._debugStack;if(e&&r){var o=j(r);""!==o&&(t+="\n"+o)}}else{if(null==e.debugStack)break;var a=e.debugStack;(e=e.owner)&&a&&(t+="\n"+j(a))}var i=t}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return i}function W(e,t,n,r,o,a,i){var l=sf;G(e);try{return null!==e&&e._debugTask?e._debugTask.run(t.bind(null,n,r,o,a,i)):t(n,r,o,a,i)}finally{G(l)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function G(e){Gd.getCurrentStack=null===e?null:V,uf=!1,sf=e}function Q(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Y(e){try{return $(e),!1}catch{return!0}}function $(e){return""+e}function Z(e,t){if(Y(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Q(e)),$(e)}function K(e,t){if(Y(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Q(e)),$(e)}function J(e){if(Y(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Q(e)),$(e)}function X(e){if("function"==typeof Sf&&xf(e),Af&&"function"==typeof Af.setStrictMode)try{Af.setStrictMode(Cf,e)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}}function ee(e){var t=42&e;if(0!==t)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function te(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=134217727&r;return 0!==l?0!==(r=l&~a)?o=ee(r):0!==(i&=l)?o=ee(i):n||0!==(n=l&~e)&&(o=ee(n)):0!==(l=r&~a)?o=ee(l):0!==i?o=ee(i):n||0!==(n=r&~e)&&(o=ee(n)),0===o?0:0!==t&&t!==o&&0===(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&4194048&n)?t:o}function ne(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function re(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function oe(){var e=Nf;return!(62914560&(Nf<<=1))&&(Nf=4194304),e}function ae(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ie(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function le(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Tf(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function se(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Tf(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function ue(e,t){var n=t&-t;return 0!==((n=42&n?1:ce(n))&(e.suspendedLanes|t))?0:n}function ce(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function de(e,t,n){if(If)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-Tf(n),o=1<<r;e[r].add(t),n&=~o}}function fe(e,t){if(If)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var o=31-Tf(t);e=1<<o,0<(o=n[o]).size&&(o.forEach(function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)}),o.clear()),t&=~e}}function pe(e){return Lf<(e&=-e)?zf<e?134217727&e?Df:jf:zf:Lf}function he(){var e=Qd.p;return 0!==e?e:void 0===(e=window.event)?Df:ed(e.type)}function me(e,t){var n=Qd.p;try{return Qd.p=e,t()}finally{Qd.p=n}}function ge(e){delete e[Ff],delete e[qf],delete e[Hf],delete e[Bf],delete e[Vf]}function ye(e){var t=e[Ff];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Uf]||n[Ff]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=hc(e);null!==e;){if(n=e[Ff])return n;e=hc(e)}return t}n=(e=n).parentNode}return null}function be(e){if(e=e[Ff]||e[Uf]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function ve(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function we(e){var t=e[Wf];return t||(t=e[Wf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ke(e){e[Gf]=!0}function Se(e,t){xe(e,t),xe(e+"Capture",t)}function xe(e,t){Yf[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Yf[e]=t;var n=e.toLowerCase();for($f[n]=e,"onDoubleClick"===e&&($f.ondblclick=e),e=0;e<t.length;e++)Qf.add(t[e])}function Ce(e,t){Zf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||console.error("select"===e?"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 `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||console.error("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 Ae(e){return!!cf.call(Xf,e)||!cf.call(Jf,e)&&(Kf.test(e)?Xf[e]=!0:(Jf[e]=!0,console.error("Invalid attribute name: `%s`",e),!1))}function Ee(e,t,n){if(Ae(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":case"function":return n;case"boolean":if(!1===n)return n}return void 0===n?void 0:null}return""===(e=e.getAttribute(t))&&!0===n||(Z(n,t),e===""+n?n:e)}}function Ie(e,t,n){if(Ae(t))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}Z(n,t),e.setAttribute(t,""+n)}}function Te(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}Z(n,t),e.setAttribute(t,""+n)}}function _e(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}Z(r,n),e.setAttributeNS(t,n,""+r)}}function Re(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return J(e),e;default:return""}}function Pe(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Oe(e){if(!e._valueTracker){var t=Pe(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){J(e),n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){J(e),n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function Ne(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pe(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Le(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ze(e){return e.replace(ep,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function De(e,t){void 0===t.checked||void 0===t.defaultChecked||np||(console.error("%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://react.dev/link/controlled-components",B()||"A component",t.type),np=!0),void 0===t.value||void 0===t.defaultValue||tp||(console.error("%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://react.dev/link/controlled-components",B()||"A component",t.type),tp=!0)}function je(e,t,n,r,o,a,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?(Z(i,"type"),e.type=i):e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+Re(t)):e.value!==""+Re(t)&&(e.value=""+Re(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?Fe(e,i,Re(t)):null!=n?Fe(e,i,Re(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?(Z(l,"name"),e.name=""+Re(l)):e.removeAttribute("name")}function Me(e,t,n,r,o,a,i,l){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(Z(a,"type"),e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return void Oe(e);n=null!=n?""+Re(n):"",t=null!=t?""+Re(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=r??o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(Z(i,"name"),e.name=i),Oe(e)}function Fe(e,t,n){"number"===t&&Le(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function qe(e,t){null==t.value&&("object"==typeof t.children&&null!==t.children?Cd.Children.forEach(t.children,function(e){null==e||"string"==typeof e||"number"==typeof e||"bigint"==typeof e||op||(op=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):null==t.dangerouslySetInnerHTML||ap||(ap=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),null==t.selected||rp||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),rp=!0)}function Ue(){var e=B();return e?"\n\nCheck the render method of `"+e+"`.":""}function He(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Re(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Be(e,t){for(e=0;e<lp.length;e++){var n=lp[e];if(null!=t[n]){var r=Wd(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Ue()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Ue())}}void 0===t.value||void 0===t.defaultValue||ip||(console.error("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://react.dev/link/controlled-components"),ip=!0)}function Ve(e,t){void 0===t.value||void 0===t.defaultValue||sp||(console.error("%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://react.dev/link/controlled-components",B()||"A component"),sp=!0),null!=t.children&&null==t.value&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function We(e,t,n){null==t||((t=""+Re(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+Re(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Ge(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Wd(r)){if(1<r.length)throw Error("<textarea> can only have at most one child.");r=r[0]}n=r}null==n&&(n=""),t=n}n=Re(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),Oe(e)}function Qe(e,t){return void 0===e.serverProps&&0===e.serverTail.length&&1===e.children.length&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Qe(e.children[0],t):e}function Ye(e){return" "+" ".repeat(e)}function $e(e){return"+ "+" ".repeat(e)}function Ze(e){return"- "+" ".repeat(e)}function Ke(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:case 1:return(e=e.type).displayName||e.name||null;case 11:return(e=e.type.render).displayName||e.name||null;default:return null}}function Je(e,t){return up.test(e)?(e=JSON.stringify(e)).length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}":e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Xe(e,t,n){var r=120-2*n;if(null===t)return $e(n)+Je(e,r)+"\n";if("string"==typeof t){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>r-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),$e(n)+Je(e,r)+"\n"+Ze(n)+Je(t,r)+"\n"}return Ye(n)+Je(e,r)+"\n"}function et(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function tt(e,t){switch(typeof e){case"string":return(e=JSON.stringify(e)).length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(null===e)return"null";if(Wd(e))return"[...]";if(e.$$typeof===_d)return(t=C(e.type))?"<"+t+">":"<...>";var n=et(e);if("Object"===n){for(var r in n="",t-=2,e)if(e.hasOwnProperty(r)){var o=JSON.stringify(r);if(o!=='"'+r+'"'&&(r=o),t-=r.length-2,0>(t-=(o=tt(e[r],15>t?t:15)).length)){n+=""===n?"...":", ...";break}n+=(""===n?"":",")+r+":"+o}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function nt(e,t){return"string"!=typeof e||up.test(e)?"{"+tt(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function rt(e,t,n){var r,o=120-n.length-e.length,a=[];for(r in t)if(t.hasOwnProperty(r)&&"children"!==r){var i=nt(t[r],120-n.length-r.length-1);o-=r.length+i.length+2,a.push(r+"="+i)}return 0===a.length?n+"<"+e+">\n":0<o?n+"<"+e+" "+a.join(" ")+">\n":n+"<"+e+"\n"+n+" "+a.join("\n"+n+" ")+"\n"+n+">\n"}function ot(e,t,n){var r,o="",a=Id({},t);for(r in e)if(e.hasOwnProperty(r)){delete a[r];var i=120-2*n-r.length-2,l=tt(e[r],i);t.hasOwnProperty(r)?(i=tt(t[r],i),o+=$e(n)+r+": "+l+"\n",o+=Ze(n)+r+": "+i+"\n"):o+=$e(n)+r+": "+l+"\n"}for(var s in a)a.hasOwnProperty(s)&&(e=tt(a[s],120-2*n-s.length-2),o+=Ze(n)+s+": "+e+"\n");return o}function at(e,t){var n=Ke(e);if(null===n){for(n="",e=e.child;e;)n+=at(e,t),e=e.sibling;return n}return Ye(t)+"<"+n+">\n"}function it(e,t){var n=Qe(e,t);if(n!==e&&(1!==e.children.length||e.children[0]!==n))return Ye(t)+"...\n"+it(n,t+1);n="";var r=e.fiber._debugInfo;if(r)for(var o=0;o<r.length;o++){var a=r[o].name;"string"==typeof a&&(n+=Ye(t)+"<"+a+">\n",t++)}if(r="",o=e.fiber.pendingProps,6===e.fiber.tag)r=Xe(o,e.serverProps,t),t++;else if(null!==(a=Ke(e.fiber)))if(void 0===e.serverProps){var i=120-2*(r=t)-a.length-2,l="";for(u in o)if(o.hasOwnProperty(u)&&"children"!==u){var s=nt(o[u],15);if(0>(i-=u.length+s.length+2)){l+=" ...";break}l+=" "+u+"="+s}r=Ye(r)+"<"+a+l+">\n",t++}else null===e.serverProps?(r=rt(a,o,$e(t)),t++):"string"==typeof e.serverProps?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(r=function(e,t,n,r){var o="",a=new Map;for(u in n)n.hasOwnProperty(u)&&a.set(u.toLowerCase(),u);if(1===a.size&&a.has("children"))o+=rt(e,t,Ye(r));else{for(var i in t)if(t.hasOwnProperty(i)&&"children"!==i){var l=120-2*(r+1)-i.length-1,s=a.get(i.toLowerCase());if(void 0!==s){a.delete(i.toLowerCase());var u=t[i];s=n[s];var c=nt(u,l);l=nt(s,l),"object"==typeof u&&null!==u&&"object"==typeof s&&null!==s&&"Object"===et(u)&&"Object"===et(s)&&(2<Object.keys(u).length||2<Object.keys(s).length||-1<c.indexOf("...")||-1<l.indexOf("..."))?o+=Ye(r+1)+i+"={{\n"+ot(u,s,r+2)+Ye(r+1)+"}}\n":(o+=$e(r+1)+i+"="+c+"\n",o+=Ze(r+1)+i+"="+l+"\n")}else o+=Ye(r+1)+i+"="+nt(t[i],l)+"\n"}a.forEach(function(e){if("children"!==e){var t=120-2*(r+1)-e.length-1;o+=Ze(r+1)+e+"="+nt(n[e],t)+"\n"}}),o=""===o?Ye(r)+"<"+e+">\n":Ye(r)+"<"+e+"\n"+o+Ye(r)+">\n"}return e=n.children,t=t.children,"string"==typeof e||"number"==typeof e||"bigint"==typeof e?(a="",("string"==typeof t||"number"==typeof t||"bigint"==typeof t)&&(a=""+t),o+=Xe(a,""+e,r+1)):("string"==typeof t||"number"==typeof t||"bigint"==typeof t)&&(o=null==e?o+Xe(""+t,null,r+1):o+Xe(""+t,void 0,r+1)),o}(a,o,e.serverProps,t),t++);var u="";for(o=e.fiber.child,a=0;o&&a<e.children.length;)(i=e.children[a]).fiber===o?(u+=it(i,t),a++):u+=at(o,t),o=o.sibling;for(o&&0<e.children.length&&(u+=Ye(t)+"...\n"),o=e.serverTail,null===e.serverProps&&t--,e=0;e<o.length;e++)u="string"==typeof(a=o[e])?u+(Ze(t)+Je(a,120-2*t)+"\n"):u+rt(a.type,a.props,Ze(t));return n+r+u}function lt(e){try{return"\n\n"+it(e,0)}catch{return""}}function st(e,t,n){for(var r=t,o=null,a=0;r;)r===e&&(a=0),o={fiber:r,children:null!==o?[o]:[],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:a},a++,r=r.return;return null!==o?lt(o).replaceAll(/^[+-]/gm,">"):""}function ut(e,t){var n=Id({},e||hp),r={tag:t};return-1!==dp.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==fp.indexOf(t)&&(n.pTagInButtonScope=null),-1!==cp.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),("dd"===t||"dt"===t)&&(n.dlItemTagAutoclosing=r),"#document"===t||"html"===t?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=r),null!==e||"#document"!==t&&"html"!==t&&"body"!==t?!0===n.implicitRootScope&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function ct(e,t,n){switch(t){case"select":return"hr"===e||"option"===e||"optgroup"===e||"script"===e||"template"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":if(n)break;return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":if(!n)return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===pp.indexOf(t);case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t;case"head":return n||null===t;case"html":return n&&"#document"===t||null===t;case"body":return n&&("#document"===t||"html"===t)||null===t}return!0}function dt(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function ft(e,t){var n=(t=t||hp).current;if(t=(n=ct(e,n&&n.tag,t.implicitRootScope)?null:n)?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,t),!(t=n||t))return!0;var r=t.tag;if(t=String(!!n)+"|"+e+"|"+r,mp[t])return!1;mp[t]=!0;var o=(t=sf)?dt(t.return,r):null,a=null!==t&&null!==o?st(o,t,null):"",i="<"+e+">";return n?(n="","table"===r&&"tr"===e&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error("In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s",i,r,n,a)):console.error("In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s",i,r,a),t&&(e=t.return,null===o||null===e||o===e&&e._debugOwner===t._debugOwner||W(o,function(){console.error("<%s> cannot contain a nested %s.\nSee this log for the ancestor stack trace.",r,i)})),!1}function pt(e,t,n){if(n||ct("#text",t,!1))return!0;if(mp[n="#text|"+t])return!1;mp[n]=!0;var r=(n=sf)?dt(n,t):null;return n=null!==n&&null!==r?st(r,n,6!==n.tag?{children:null}:null):"",/\S/.test(e)?console.error("In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.%s",t,n):console.error("In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.%s",t,n),!1}function ht(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function mt(e,t,n){var r=0===t.indexOf("--");r||(-1<t.indexOf("-")?xp.hasOwnProperty(t)&&xp[t]||(xp[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,function(e){return e.replace(kp,function(e,t){return t.toUpperCase()})}(t.replace(wp,"ms-")))):vp.test(t)?xp.hasOwnProperty(t)&&xp[t]||(xp[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Sp.test(n)||Cp.hasOwnProperty(n)&&Cp[n]||(Cp[n]=!0,console.error('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',t,n.replace(Sp,""))),"number"==typeof n&&(isNaN(n)?Ap||(Ap=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Ep||(Ep=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Ip.has(t)?"float"===t?e.cssFloat=n:(K(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function gt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,null!=n){if(t){var r={};if(n)for(var o in n)if(n.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var a=gp[o]||[o],i=0;i<a.length;i++)r[a[i]]=o;for(var l in t)if(t.hasOwnProperty(l)&&(!n||n[l]!==t[l]))for(o=gp[l]||[l],a=0;a<o.length;a++)r[o[a]]=l;for(var s in l={},t)for(o=gp[s]||[s],a=0;a<o.length;a++)l[o[a]]=s;for(var u in s={},r)if(o=r[u],(a=l[u])&&o!==a&&!s[i=o+","+a]){s[i]=!0,i=console;var c=t[o];i.error.call(i,"%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.",null==c||"boolean"==typeof c||""===c?"Removing":"Updating",o,a)}}for(var d in n)!n.hasOwnProperty(d)||null!=t&&t.hasOwnProperty(d)||(0===d.indexOf("--")?e.setProperty(d,""):"float"===d?e.cssFloat="":e[d]="");for(var f in t)u=t[f],t.hasOwnProperty(f)&&n[f]!==u&&mt(e,f,u)}else for(r in t)t.hasOwnProperty(r)&&mt(e,r,t[r])}function yt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function bt(e){return Rp.get(e)||e}function vt(e,t){if(cf.call(Np,t)&&Np[t])return!0;if(zp.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),null==(e=Op.hasOwnProperty(e)?e:null))return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Np[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Np[t]=!0}if(Lp.test(t)){if(e=t.toLowerCase(),null==(e=Op.hasOwnProperty(e)?e:null))return Np[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Np[t]=!0)}return!0}function wt(e,t,n,r){if(cf.call(jp,t)&&jp[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return console.error("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."),jp[t]=!0;if("function"==typeof n&&("form"===e&&"action"===t||"input"===e&&"formAction"===t||"button"===e&&"formAction"===t))return!0;if(null!=r){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(null!=(r=e.hasOwnProperty(o)?e[o]:null))return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),jp[t]=!0;if(Mp.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),jp[t]=!0}else if(Mp.test(t))return Fp.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),jp[t]=!0;if(qp.test(t)||Up.test(t))return!0;if("innerhtml"===o)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),jp[t]=!0;if("aria"===o)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),jp[t]=!0;if("is"===o&&null!=n&&"string"!=typeof n)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),jp[t]=!0;if("number"==typeof n&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),jp[t]=!0;if(Pp.hasOwnProperty(o)){if((o=Pp[o])!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),jp[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),jp[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return"data-"===(o=t.toLowerCase().slice(0,5))||"aria-"===o||(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),jp[t]=!0)}case"function":case"symbol":return jp[t]=!0,!1;case"string":if("false"===n||"true"===n){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),jp[t]=!0}}return!0}function kt(e){return Hp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function St(){}function xt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ct(e){var t=be(e);if(t&&(e=t.stateNode)){var n=e[qf]||null;e:switch(e=t.stateNode,t.type){case"input":if(je(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(Z(t,"name"),n=n.querySelectorAll('input[name="'+ze(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[qf]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");je(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&Ne(r)}break e;case"textarea":We(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&He(e,!!n.multiple,t,!1)}}}function At(e,t,n){if(Gp)return e(t,n);Gp=!0;try{return e(t)}finally{if(Gp=!1,(null!==Vp||null!==Wp)&&(us(),Vp&&(t=Vp,e=Wp,Wp=Vp=null,Ct(t),e)))for(t=0;t<e.length;t++)Ct(e[t])}}function Et(e,t){var n=e.stateNode;if(null===n)return null;var r=n[qf]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function It(){if(th)return th;var e,t,n=eh,r=n.length,o="value"in Xp?Xp.value:Xp.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return th=o.slice(e,1<t?1-t:void 0)}function Tt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function _t(){return!0}function Rt(){return!1}function Pt(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?_t:Rt,this.isPropagationStopped=Rt,this}return Id(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=_t)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=_t)},persist:function(){},isPersistent:_t}),t}function Ot(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=yh[e])&&!!t[e]}function Nt(){return Ot}function Lt(e,t){switch(e){case"keyup":return-1!==Eh.indexOf(t.keyCode);case"keydown":return t.keyCode!==Ih;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zt(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}function Dt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Dh[e.type]:"textarea"===t}function jt(e,t,n,r){Vp?Wp?Wp.push(r):Wp=[r]:Vp=r,0<(t=hu(t,"onChange")).length&&(n=new rh("onChange","change",null,n,r),e.push({event:n,listeners:t}))}function Mt(e){lu(e,0)}function Ft(e){if(Ne(ve(e)))return e}function qt(e,t){if("change"===e)return t}function Ut(){jh&&(jh.detachEvent("onpropertychange",Ht),Mh=jh=null)}function Ht(e){if("value"===e.propertyName&&Ft(Mh)){var t=[];jt(t,Mh,e,xt(e)),At(Mt,t)}}function Bt(e,t,n){"focusin"===e?(Ut(),Mh=n,(jh=t).attachEvent("onpropertychange",Ht)):"focusout"===e&&Ut()}function Vt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ft(Mh)}function Wt(e,t){if("click"===e)return Ft(t)}function Gt(e,t){if("input"===e||"change"===e)return Ft(t)}function Qt(e,t){if(qh(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!cf.call(t,o)||!qh(e[o],t[o]))return!1}return!0}function Yt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $t(e,t){var n,r=Yt(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Yt(r)}}function Zt(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Zt(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Kt(e){for(var t=Le((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Le((e=t.contentWindow).document)}return t}function Jt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Xt(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Wh||null==Hh||Hh!==Le(r)||("selectionStart"in(r=Hh)&&Jt(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Vh&&Qt(Vh,r)||(Vh=r,0<(r=hu(Bh,"onSelect")).length&&(t=new rh("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Hh)))}function en(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function tn(e){if(Qh[e])return Qh[e];if(!Gh[e])return e;var t,n=Gh[e];for(t in n)if(n.hasOwnProperty(t)&&t in Yh)return Qh[e]=n[t];return e}function nn(e,t){nm.set(e,t),Se(t,[e])}function rn(e,t,n,r){for(var o in e)cf.call(e,o)&&"_"!==o[0]&&on(o,e[o],t,n,r)}function on(e,t,n,r,o){switch(typeof t){case"object":if(null===t){t="null";break}if(t.$$typeof===_d){var a=C(t.type)||"…",i=t.key;t=t.props;var l=Object.keys(t),s=l.length;if(null==i&&0===s){t="<"+a+" />";break}if(3>r||1===s&&"children"===l[0]&&null==i){t="<"+a+" … />";break}for(var u in n.push([o+" ".repeat(r)+e,"<"+a]),null!==i&&on("key",i,n,r+1,o),e=!1,t)"children"===u?null!=t.children&&(!Wd(t.children)||0<t.children.length)&&(e=!0):cf.call(t,u)&&"_"!==u[0]&&on(u,t[u],n,r+1,o);return void n.push(["",e?">…</"+a+">":"/>"])}if("Array"===(a=(a=Object.prototype.toString.call(t)).slice(8,a.length-1))){if(u=function(e){for(var t=cm,n=0;n<e.length;n++){var r=e[n];if("object"==typeof r&&null!==r){if(!Wd(r)||2!==r.length||"string"!=typeof r[0])return dm;if(t!==cm&&t!==pm)return dm;t=pm}else{if("function"==typeof r||"string"==typeof r&&50<r.length||t!==cm&&t!==fm)return dm;t=fm}}return t}(t),u===fm||u===cm){t=JSON.stringify(t);break}if(u===pm){for(n.push([o+" ".repeat(r)+e,""]),e=0;e<t.length;e++)on((a=t[e])[0],a[1],n,r+1,o);return}}if("Promise"===a){if("fulfilled"===t.status){if(a=n.length,on(e,t.value,n,r,o),n.length>a)return void((n=n[a])[1]="Promise<"+(n[1]||"Object")+">")}else if("rejected"===t.status&&(a=n.length,on(e,t.reason,n,r,o),n.length>a))return void((n=n[a])[1]="Rejected Promise<"+n[1]+">");return void n.push([" ".repeat(r)+e,"Promise"])}return"Object"===a&&(u=Object.getPrototypeOf(t))&&"function"==typeof u.constructor&&(a=u.constructor.name),n.push([o+" ".repeat(r)+e,"Object"===a?3>r?"":"…":a]),void(3>r&&rn(t,n,r+1,o));case"function":t=""===t.name?"() => {}":t.name+"() {}";break;case"string":t=t===um?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([o+" ".repeat(r)+e,t])}function an(e,t,n,r){var o=!0;for(i in e)i in t||(n.push([hm+" ".repeat(r)+i,"…"]),o=!1);for(var a in t)if(a in e){var i=e[a],l=t[a];if(i!==l){if(0===r&&"children"===a)o=" ".repeat(r)+a,n.push([hm+o,"…"],[mm+o,"…"]);else{if(!(3<=r))if("object"==typeof i&&"object"==typeof l&&null!==i&&null!==l&&i.$$typeof===l.$$typeof)if(l.$$typeof===_d){if(i.type===l.type&&i.key===l.key){i=C(l.type)||"…",o=" ".repeat(r)+a,i="<"+i+" … />",n.push([hm+o,i],[mm+o,i]),o=!1;continue}}else{var s=Object.prototype.toString.call(i),u=Object.prototype.toString.call(l);if(s===u&&("[object Object]"===u||"[object Array]"===u)){s=[gm+" ".repeat(r)+a,"[object Array]"===u?"Array":""],n.push(s),u=n.length,an(i,l,n,r+1)?u===n.length&&(s[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if("function"==typeof i&&"function"==typeof l&&i.name===l.name&&i.length===l.length&&(s=Function.prototype.toString.call(i))===(u=Function.prototype.toString.call(l))){i=""===l.name?"() => {}":l.name+"() {}",n.push([gm+" ".repeat(r)+a,i+" Referentially unequal function closure. Consider memoization."]);continue}on(a,i,n,r,hm),on(a,l,n,r,mm)}o=!1}}else n.push([mm+" ".repeat(r)+a,"…"]),o=!1;return o}function ln(e){wm=63&e?"Blocking":64&e?"Gesture":4194176&e?"Transition":62914560&e?"Suspense":2080374784&e?"Idle":"Other"}function sn(e,t,n,r){ym&&(xm.start=t,xm.end=n,Sm.color="warning",Sm.tooltipText=r,Sm.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,xm)):performance.measure(r,xm))}function un(e,t,n){sn(e,t,n,"Reconnect")}function cn(e,t,n,r,o){var a=E(e);if(null!==a&&ym){var i=e.alternate,l=e.actualDuration;if(null===i||i.child!==e.child)for(var s=e.child;null!==s;s=s.sibling)l-=s.actualDuration;r=.5>l?r?"tertiary-light":"primary-light":10>l?r?"tertiary":"primary":100>l?r?"tertiary-dark":"primary-dark":"error";var u=e.memoizedProps;l=e._debugTask,null!==u&&null!==i&&i.memoizedProps!==u?(s=[Cm],u=an(i.memoizedProps,u,s,0),1<s.length&&(u&&!km&&0===(i.lanes&o)&&100<e.actualDuration?(km=!0,s[0]=Em,Sm.color="warning",Sm.tooltipText=Am):(Sm.color=r,Sm.tooltipText=a),Sm.properties=s,xm.start=t,xm.end=n,null!=l?l.run(performance.measure.bind(performance,""+a,xm)):performance.measure(""+a,xm))):null!=l?l.run(console.timeStamp.bind(console,a,t,n,bm,void 0,r)):console.timeStamp(a,t,n,bm,void 0,r)}}function dn(e,t,n,r){if(ym){var o=E(e);if(null!==o){for(var a=null,i=[],l=0;l<r.length;l++){var s=r[l];null==a&&null!==s.source&&(a=s.source._debugTask),s=s.value,i.push(["Error","object"==typeof s&&null!==s&&"string"==typeof s.message?String(s.message):String(s)])}null!==e.key&&on("key",e.key,i,0,""),null!==e.memoizedProps&&rn(e.memoizedProps,i,0,""),null==a&&(a=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:bm,tooltipText:13===e.tag?"Hydration failed":"Error boundary caught an error",properties:i}}},a?a.run(performance.measure.bind(performance,""+o,e)):performance.measure(""+o,e)}}}function fn(e,t,n,r,o){if(null!==o){if(ym){var a=E(e);if(null!==a){r=[];for(var i=0;i<o.length;i++){var l=o[i].value;r.push(["Error","object"==typeof l&&null!==l&&"string"==typeof l.message?String(l.message):String(l)])}null!==e.key&&on("key",e.key,r,0,""),null!==e.memoizedProps&&rn(e.memoizedProps,r,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:bm,tooltipText:"A lifecycle or effect errored",properties:r}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+a,t)):performance.measure(""+a,t)}}}else null!==(a=E(e))&&ym&&(o=1>r?"secondary-light":100>r?"secondary":500>r?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,a,t,n,bm,void 0,o)):console.timeStamp(a,t,n,bm,void 0,o))}function pn(e,t,n,r){!ym||t<=e||(n=(738197653&n)===n?"tertiary-dark":"primary-dark",r?r.run(console.timeStamp.bind(console,"Prewarm",e,t,wm,vm,n)):console.timeStamp("Prewarm",e,t,wm,vm,n))}function hn(e,t,n,r){!ym||t<=e||(n=(738197653&n)===n?"tertiary-dark":"primary-dark",r?r.run(console.timeStamp.bind(console,"Suspended",e,t,wm,vm,n)):console.timeStamp("Suspended",e,t,wm,vm,n))}function mn(e,t,n,r){!ym||t<=e||(r?r.run(console.timeStamp.bind(console,"Errored",e,t,wm,vm,"error")):console.timeStamp("Errored",e,t,wm,vm,"error"))}function gn(e,t,n,r,o){if(ym&&!(t<=e)){for(var a=[],i=0;i<n.length;i++){var l=n[i].value;a.push(["Error","object"==typeof l&&null!==l&&"string"==typeof l.message?String(l.message):String(l)])}e={start:e,end:t,detail:{devtools:{color:"error",track:wm,trackGroup:vm,tooltipText:r?"Remaining Effects Errored":"Commit Errored",properties:a}}},o?o.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function yn(e,t,n){!ym||t<=e||console.timeStamp("Animating",e,t,wm,vm,"secondary-dark")}function bn(){for(var e=Rm,t=Pm=Rm=0;t<e;){var n=_m[t];_m[t++]=null;var r=_m[t];_m[t++]=null;var o=_m[t];_m[t++]=null;var a=_m[t];if(_m[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&Sn(n,o,a)}}function vn(e,t,n,r){_m[Rm++]=e,_m[Rm++]=t,_m[Rm++]=n,_m[Rm++]=r,Pm|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function wn(e,t,n,r){return vn(e,t,n,r),xn(e)}function kn(e,t){return vn(e,null,null,t),xn(e)}function Sn(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||e._visibility&Im||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-Tf(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),a):null}function xn(e){if(Xw>Jw)throw ok=Xw=0,ak=ek=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");ok>rk&&(ok=0,ak=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),null===e.alternate&&4098&e.flags&&Gs(e);for(var t=e,n=t.return;null!==n;)null===t.alternate&&!!(4098&t.flags)&&Gs(e),n=(t=n).return;return 3===t.tag?t.stateNode:null}function Cn(e){if(null===Nm)return e;var t=Nm(e);return void 0===t?e:t.current}function An(e){if(null===Nm)return e;var t=Nm(e);return void 0===t?null!=e&&"function"==typeof e.render&&(t=Cn(e.render),e.render!==t)?(t={$$typeof:Dd,render:t},void 0!==e.displayName&&(t.displayName=e.displayName),t):e:t.current}function En(e,t){if(null===Nm)return!1;var n=e.elementType,r=!1,o="object"==typeof(t=t.type)&&null!==t?t.$$typeof:null;switch(e.tag){case 1:"function"==typeof t&&(r=!0);break;case 0:("function"==typeof t||o===qd)&&(r=!0);break;case 11:(o===Dd||o===qd)&&(r=!0);break;case 14:case 15:(o===Fd||o===qd)&&(r=!0);break;default:return!1}return!(!r||(e=Nm(n),void 0===e||e!==Nm(t)))}function In(e){null!==Nm&&"function"==typeof WeakSet&&(null===Lm&&(Lm=new WeakSet),Lm.add(e))}function Tn(e,t,n){for(;;){var r=e,o=r.alternate,a=r.child,i=r.sibling,l=r.tag;r=r.type;var s=null;switch(l){case 0:case 15:case 1:s=r;break;case 11:s=r.render}if(null===Nm)throw Error("Expected resolveFamily to be set during hot reload.");var u=!1;if(r=!1,null!==s&&(void 0!==(s=Nm(s))&&(n.has(s)?r=!0:t.has(s)&&(1===l?r=!0:u=!0))),null!==Lm&&(Lm.has(e)||null!==o&&Lm.has(o))&&(r=!0),r&&(e._debugNeedsRemount=!0),(r||u)&&(null!==(o=kn(e,2))&&os(o,e,2)),null===a||r||Tn(a,t,n),null===i)break;e=i}}function _n(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Um||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}function Rn(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pn(e,t){var n=e.alternate;switch(null===n?((n=f(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:case 1:n.type=Cn(e.type);break;case 11:n.type=An(e.type)}return n}function On(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Nn(e,t,n,r,o,a){var i=0,l=e;if("function"==typeof e)Rn(e)&&(i=1),l=Cn(l);else if("string"==typeof e)i=function(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===Zk||null!=t.itemProp)return!r||null==t.itemProp||"meta"!==e&&"title"!==e&&"style"!==e&&"link"!==e&&"script"!==e||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError){if("stylesheet"===t.rel&&"string"==typeof t.precedence){e=t.href;var o=t.onError,a=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),o&&n.push("`onError`"),null!=a&&n.push("`disabled`"),o=function(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}(n,"and"),o+=1===n.length?" prop":" props",a=1===n.length?"an "+o:"the "+o,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,a,o)}r&&("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return"stylesheet"!==t.rel||(e=t.precedence,t=t.disabled,"string"!=typeof e&&r&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),"string"==typeof e&&null==t);case"script":if(!(e=t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async)||t.onLoad||t.onError||!t.src||"string"!=typeof t.src){r&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":r&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}(e,n,i=N())?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case Ud:return(t=f(31,n,t,o)).elementType=Ud,t.lanes=a,t;case Pd:return zn(n.children,o,a,t);case Od:i=8,o|=Mm,o|=Fm;break;case Nd:return r=o,"string"!=typeof(e=n).id&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),(t=f(12,e,t,r|jm)).elementType=Nd,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case jd:return(t=f(13,n,t,o)).elementType=jd,t.lanes=a,t;case Md:return(t=f(19,n,t,o)).elementType=Md,t.lanes=a,t;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case zd:i=10;break e;case Ld:i=9;break e;case Dd:i=11,l=An(l);break e;case Fd:i=14;break e;case qd:i=16,l=null;break e}l="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e?n="null":Wd(e)?n="array":void 0!==e&&e.$$typeof===_d?(n="<"+(C(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(i=r?A(r):null)&&(l+="\n\nCheck the render method of `"+i+"`."),i=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+n+"."+l),l=null}return(t=f(i,n,t,o)).elementType=e,t.type=l,t.lanes=a,t._debugOwner=r,t}function Ln(e,t,n){return(t=Nn(e.type,e.key,e.props,e._owner,t,n))._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function zn(e,t,n,r){return(e=f(7,e,r,t)).lanes=n,e}function Dn(e,t,n){return(e=f(6,e,null,t)).lanes=n,e}function jn(e){var t=f(18,null,null,zm);return t.stateNode=e,t}function Mn(e,t,n){return(t=f(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fn(e,t){if("object"==typeof e&&null!==e){var n=Hm.get(e);return void 0!==n?n:(t={value:e,source:t,stack:U(t)},Hm.set(e,t),t)}return{value:e,source:t,stack:U(t)}}function qn(e,t){Gn(),Bm[Vm++]=Gm,Bm[Vm++]=Wm,Wm=e,Gm=t}function Un(e,t,n){Gn(),Qm[Ym++]=Zm,Qm[Ym++]=Km,Qm[Ym++]=$m,$m=e;var r=Zm;e=Km;var o=32-Tf(r)-1;r&=~(1<<o),n+=1;var a=32-Tf(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Zm=1<<32-Tf(t)+o|n<<o|r,Km=a+e}else Zm=1<<a|n<<o|r,Km=e}function Hn(e){Gn(),null!==e.return&&(qn(e,1),Un(e,1,0))}function Bn(e){for(;e===Wm;)Wm=Bm[--Vm],Bm[Vm]=null,Gm=Bm[--Vm],Bm[Vm]=null;for(;e===$m;)$m=Qm[--Ym],Qm[Ym]=null,Km=Qm[--Ym],Qm[Ym]=null,Zm=Qm[--Ym],Qm[Ym]=null}function Vn(){return Gn(),null!==$m?{id:Zm,overflow:Km}:null}function Wn(e,t){Gn(),Qm[Ym++]=Zm,Qm[Ym++]=Km,Qm[Ym++]=$m,Zm=t.id,Km=t.overflow,$m=e}function Gn(){eg||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Qn(e,t){if(null===e.return){if(null===ng)ng={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ng.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ng.distanceFromLeaf>t&&(ng.distanceFromLeaf=t)}return ng}var n=Qn(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?((n=n[n.length-1]).distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Yn(){eg&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function $n(e,t){tg||((e=Qn(e,0)).serverProps=null,null!==t&&(t=dc(t),e.serverTail.push(t)))}function Zn(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n="",r=ng;throw null!==r&&(ng=null,n=lt(r)),nr(Fn(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch"+n),e)),ag}function Kn(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ff]=e,t[qf]=r,yu(n,r),n){case"dialog":su("cancel",t),su("close",t);break;case"iframe":case"object":case"embed":su("load",t);break;case"video":case"audio":for(n=0;n<bk.length;n++)su(bk[n],t);break;case"source":su("error",t);break;case"img":case"image":case"link":su("error",t),su("load",t);break;case"details":su("toggle",t);break;case"input":Ce("input",r),su("invalid",t),De(0,r),Me(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"option":qe(0,r);break;case"select":Ce("select",r),su("invalid",t),Be(t,r);break;case"textarea":Ce("textarea",r),su("invalid",t),Ve(0,r),Ge(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Su(t.textContent,n)?(null!=r.popover&&(su("beforetoggle",t),su("toggle",t)),null!=r.onScroll&&su("scroll",t),null!=r.onScrollEnd&&su("scrollend",t),null!=r.onClick&&(t.onclick=St),t=!0):t=!1,t||Zn(e,!0)}function Jn(e){for(Jm=e.return;Jm;)switch(Jm.tag){case 5:case 31:case 13:return void(og=!1);case 27:case 3:return void(og=!0);default:Jm=Jm.return}}function Xn(e){if(e!==Jm)return!1;if(!eg)return Jn(e),eg=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Fu(e.type,e.memoizedProps)),t=!t),t&&Xm){for(t=Xm;t;){var r=Qn(e,0),o=dc(t);r.serverTail.push(o),t="Suspense"===o.type?pc(t):cc(t.nextSibling)}Zn(e)}if(Jn(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Xm=pc(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Xm=pc(e)}else 27===n?(n=Xm,$u(e.type)?(e=sS,sS=null,Xm=e):Xm=n):Xm=Jm?cc(e.stateNode.nextSibling):null;return!0}function er(){Xm=Jm=null,tg=eg=!1}function tr(){var e=rg;return null!==e&&(null===kw?kw=e:kw.push.apply(kw,e),rg=null),e}function nr(e){null===rg?rg=[e]:rg.push(e)}function rr(){var e=ng;if(null!==e){ng=null;for(var t=lt(e);0<e.children.length;)e=e.children[0];W(e.fiber,function(){console.error("A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s","https://react.dev/link/hydration-mismatch",t)})}}function or(){cg=ug=null,dg=!1}function ar(e,t,n){_(ig,t._currentValue,e),t._currentValue=n,_(lg,t._currentRenderer,e),void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==sg&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=sg}function ir(e,t){e._currentValue=ig.current;var n=lg.current;T(lg,t),e._currentRenderer=n,T(ig,t)}function lr(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("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 sr(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var i=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var s=0;s<t.length;s++)if(l.context===t[s]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),lr(a.return,n,e),r||(i=null);break e}a=l.next}}else if(18===o.tag){if(null===(i=o.return))throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");i.lanes|=n,null!==(a=i.alternate)&&(a.lanes|=n),lr(i,n,e),i=null}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}function ur(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var i=o.alternate;if(null===i)throw Error("Should have a current fiber. This is a bug in React.");if(null!==(i=i.memoizedProps)){var l=o.type;qh(o.pendingProps.value,i.value)||(null!==e?e.push(l):e=[l])}}else if(o===tf.current){if(null===(i=o.alternate))throw Error("Should have a current fiber. This is a bug in React.");i.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(DS):e=[DS])}o=o.return}null!==e&&sr(t,e,n,r),t.flags|=262144}function cr(e){for(e=e.firstContext;null!==e;){if(!qh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function dr(e){ug=e,cg=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function fr(e){return dg&&console.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()."),hr(ug,e)}function pr(e,t){return null===ug&&dr(e),hr(e,t)}function hr(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===cg){if(null===e)throw 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().");cg=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else cg=cg.next=t;return n}function mr(){return{controller:new fg,data:new Map,refCount:0}}function gr(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function yr(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),0===e.refCount&&pg(hg,function(){e.controller.abort()})}function br(e,t,n){127&e?0>Og&&(Og=gg(),Ng=yg(t),zg=t,null!=n&&(Dg=E(n)),(Yv&(Fv|qv))!==Mv&&(Rg=!0,Lg=bg),e=Uu(),t=qu(),e!==Fg||t!==Mg?Fg=-1.1:null!==t&&(Lg=bg),jg=e,Mg=t):4194048&e&&0>Bg&&(Bg=gg(),Wg=yg(t),Gg=t,null!=n&&(Qg=E(n)),0>Hg)&&(e=Uu(),t=qu(),(e!==Zg||t!==$g)&&(Zg=-1.1),Yg=e,$g=t)}function vr(){var e=Ag;return Ag=0,e}function wr(e){var t=Ag;return Ag=e,t}function kr(e){var t=Ag;return Ag+=e,t}function Sr(){Tg=Ig=-1.1}function xr(){var e=Ig;return Ig=-1.1,e}function Cr(e){0<=e&&(Ig=e)}function Ar(){var e=Eg;return Eg=-0,e}function Er(e){0<=e&&(Eg=e)}function Ir(){var e=_g;return _g=null,e}function Tr(){var e=Rg;return Rg=!1,e}function _r(e){Cg=gg(),0>e.actualStartTime&&(e.actualStartTime=Cg)}function Rr(e){if(0<=Cg){var t=gg()-Cg;e.actualDuration+=t,e.selfBaseDuration=t,Cg=-1}}function Pr(e){if(0<=Cg){var t=gg()-Cg;e.actualDuration+=t,Cg=-1}}function Or(){if(0<=Cg){var e=gg(),t=e-Cg;Cg=-1,Ag+=t,Eg+=t,Tg=e}}function Nr(e){null===_g&&(_g=[]),_g.push(e),null===xg&&(xg=[]),xg.push(e)}function Lr(){Cg=gg(),0>Ig&&(Ig=Cg)}function zr(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Dr(){if(0===--iy&&(-1<Bg||(Hg=-1.1),null!==ay)){null!==sy&&(sy.status="fulfilled");var e=ay;ay=null,ly=0,sy=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function jr(){var e=cy.current;return null!==e?e:$v.pooledCache}function Mr(e,t){_(cy,null===t?cy.current:t.pool,e)}function Fr(){var e=jr();return null===e?null:{parent:mg._currentValue,pool:e}}function qr(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Ur(e,t,n){null!==Gd.actQueue&&(Gd.didUsePromise=!0);var r=e.thenables;if(void 0===(n=r[n])?r.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(St,St),t=n),void 0===t._debugInfo){e=performance.now();var o={name:"string"==typeof(r=t.displayName)?r:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:o}],"fulfilled"!==t.status&&"rejected"!==t.status&&(e=function(){o.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Vr(e=t.reason),e;default:if("string"==typeof t.status)t.then(St,St);else{if(null!==(e=$v)&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Vr(e=t.reason),e}throw Vy=t,Wy=!0,qy}}function Hr(e){try{return Fy(e)}catch(e){throw null!==e&&"object"==typeof e&&"function"==typeof e.then?(Vy=e,Wy=!0,qy):e}}function Br(){if(null===Vy)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Vy;return Vy=null,Wy=!1,e}function Vr(e){if(e===qy||e===Hy)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Wr(e){var t=Yy;return null!=e&&(Yy=null===t?e:t.concat(e)),t}function Gr(){var e=Yy;if(null!=e)for(var t=e.length-1;0<=t;t--)if(null!=e[t].name){var n=e[t].debugTask;if(null!=n)return n}return null}function Qr(e,t,n){for(var r=Object.keys(e.props),o=0;o<r.length;o++){var a=r[o];if("children"!==a&&"key"!==a){null===t&&((t=Ln(e,n.mode,0))._debugInfo=Yy,t.return=n),W(t,function(e){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",e)},a);break}}}function Yr(e){var t=Qy;return Qy+=1,null===Gy&&(Gy={didWarnAboutUncachedPromise:!1,thenables:[]}),Ur(Gy,e,t)}function $r(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Zr(e,t){throw t.$$typeof===Td?Error('A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.'):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Kr(e,t){var n=Gr();null!==n?n.run(Zr.bind(null,e,t)):Zr(e,t)}function Jr(e,t){var n=E(e)||"Component";Ky[n]||(Ky[n]=!0,t=t.displayName||t.name||"Component",3===e.tag?console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n root.render(%s)",t,t,t):console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n <%s>{%s}</%s>",t,t,n,t,n))}function Xr(e,t){var n=Gr();null!==n?n.run(Jr.bind(null,e,t)):Jr(e,t)}function eo(e,t){var n=E(e)||"Component";Jy[n]||(Jy[n]=!0,t=String(t),3===e.tag?console.error("Symbols are not valid as a React child.\n root.render(%s)",t):console.error("Symbols are not valid as a React child.\n <%s>%s</%s>",n,t,n))}function to(e,t){var n=Gr();null!==n?n.run(eo.bind(null,e,t)):eo(e,t)}function no(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=Pn(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Dn(n,e.mode,r)).return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Yy,t):((t=o(t,n)).return=e,t._debugInfo=Yy,t)}function s(e,t,n,r){var a=n.type;return a===Pd?(Qr(n,t=d(e,t,n.props.children,r,n.key),e),t):null!==t&&(t.elementType===a||En(t,n)||"object"==typeof a&&null!==a&&a.$$typeof===qd&&Hr(a)===t.type)?($r(t=o(t,n.props),n),t.return=e,t._debugOwner=n._owner,t._debugInfo=Yy,t):($r(t=Ln(n,e.mode,r),n),t.return=e,t._debugInfo=Yy,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Mn(n,e.mode,r)).return=e,t._debugInfo=Yy,t):((t=o(t,n.children||[])).return=e,t._debugInfo=Yy,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=zn(n,e.mode,r,a)).return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Yy,t):((t=o(t,n)).return=e,t._debugInfo=Yy,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Dn(""+t,e.mode,n)).return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Yy,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _d:return $r(n=Ln(t,e.mode,n),t),n.return=e,e=Wr(t._debugInfo),n._debugInfo=Yy,Yy=e,n;case Rd:return(t=Mn(t,e.mode,n)).return=e,t._debugInfo=Yy,t;case qd:var r=Wr(t._debugInfo);return e=p(e,t=Hr(t),n),Yy=r,e}if(Wd(t)||x(t))return(n=zn(t,e.mode,n,null)).return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=Wr(t._debugInfo),n._debugInfo=Yy,Yy=e,n;if("function"==typeof t.then)return r=Wr(t._debugInfo),e=p(e,Yr(t),n),Yy=r,e;if(t.$$typeof===zd)return p(e,pr(e,t),n);Kr(e,t)}return"function"==typeof t&&Xr(e,t),"symbol"==typeof t&&to(e,t),null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _d:return n.key===o?(o=Wr(n._debugInfo),e=s(e,t,n,r),Yy=o,e):null;case Rd:return n.key===o?u(e,t,n,r):null;case qd:return o=Wr(n._debugInfo),e=h(e,t,n=Hr(n),r),Yy=o,e}if(Wd(n)||x(n))return null!==o?null:(o=Wr(n._debugInfo),e=d(e,t,n,r,null),Yy=o,e);if("function"==typeof n.then)return o=Wr(n._debugInfo),e=h(e,t,Yr(n),r),Yy=o,e;if(n.$$typeof===zd)return h(e,t,pr(e,n),r);Kr(e,n)}return"function"==typeof n&&Xr(e,n),"symbol"==typeof n&&to(e,n),null}function m(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _d:return n=e.get(null===r.key?n:r.key)||null,e=Wr(r._debugInfo),t=s(t,n,r,o),Yy=e,t;case Rd:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case qd:var a=Wr(r._debugInfo);return t=m(e,t,n,r=Hr(r),o),Yy=a,t}if(Wd(r)||x(r))return n=e.get(n)||null,e=Wr(r._debugInfo),t=d(t,n,r,o,null),Yy=e,t;if("function"==typeof r.then)return a=Wr(r._debugInfo),t=m(e,t,n,Yr(r),o),Yy=a,t;if(r.$$typeof===zd)return m(e,t,n,pr(t,r),o);Kr(t,r)}return"function"==typeof r&&Xr(t,r),"symbol"==typeof r&&to(t,r),null}function g(e,t,n,r){if("object"!=typeof n||null===n)return r;switch(n.$$typeof){case _d:case Rd:c(e,t,n);var o=n.key;if("string"!=typeof o)break;if(null===r){(r=new Set).add(o);break}if(!r.has(o)){r.add(o);break}W(t,function(){console.error("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.",o)});break;case qd:g(e,t,n=Hr(n),r)}return r}function y(l,s,u,c){if("object"==typeof u&&null!==u&&u.type===Pd&&null===u.key&&(Qr(u,null,l),u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case _d:var d=Wr(u._debugInfo);e:{for(var f=u.key;null!==s;){if(s.key===f){if((f=u.type)===Pd){if(7===s.tag){n(l,s.sibling),(c=o(s,u.props.children)).return=l,c._debugOwner=u._owner,c._debugInfo=Yy,Qr(u,c,l),l=c;break e}}else if(s.elementType===f||En(s,u)||"object"==typeof f&&null!==f&&f.$$typeof===qd&&Hr(f)===s.type){n(l,s.sibling),$r(c=o(s,u.props),u),c.return=l,c._debugOwner=u._owner,c._debugInfo=Yy,l=c;break e}n(l,s);break}t(l,s),s=s.sibling}u.type===Pd?((c=zn(u.props.children,l.mode,c,u.key)).return=l,c._debugOwner=l,c._debugTask=l._debugTask,c._debugInfo=Yy,Qr(u,c,l),l=c):($r(c=Ln(u,l.mode,c),u),c.return=l,c._debugInfo=Yy,l=c)}return l=i(l),Yy=d,l;case Rd:e:{for(u=(d=u).key;null!==s;){if(s.key===u){if(4===s.tag&&s.stateNode.containerInfo===d.containerInfo&&s.stateNode.implementation===d.implementation){n(l,s.sibling),(c=o(s,d.children||[])).return=l,l=c;break e}n(l,s);break}t(l,s),s=s.sibling}(c=Mn(d,l.mode,c)).return=l,l=c}return i(l);case qd:return d=Wr(u._debugInfo),l=y(l,s,u=Hr(u),c),Yy=d,l}if(Wd(u))return d=Wr(u._debugInfo),l=function(o,i,l,s){for(var u=null,c=null,d=null,f=i,y=i=0,b=null;null!==f&&y<l.length;y++){f.index>y?(b=f,f=null):b=f.sibling;var v=h(o,f,l[y],s);if(null===v){null===f&&(f=b);break}u=g(o,v,l[y],u),e&&f&&null===v.alternate&&t(o,f),i=a(v,i,y),null===d?c=v:d.sibling=v,d=v,f=b}if(y===l.length)return n(o,f),eg&&qn(o,y),c;if(null===f){for(;y<l.length;y++)null!==(f=p(o,l[y],s))&&(u=g(o,f,l[y],u),i=a(f,i,y),null===d?c=f:d.sibling=f,d=f);return eg&&qn(o,y),c}for(f=r(f);y<l.length;y++)null!==(b=m(f,o,y,l[y],s))&&(u=g(o,b,l[y],u),e&&null!==b.alternate&&f.delete(null===b.key?y:b.key),i=a(b,i,y),null===d?c=b:d.sibling=b,d=b);return e&&f.forEach(function(e){return t(o,e)}),eg&&qn(o,y),c}(l,s,u,c),Yy=d,l;if(x(u)){if(d=Wr(u._debugInfo),"function"!=typeof(f=x(u)))throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var b=f.call(u);return b===u?(0!==l.tag||"[object GeneratorFunction]"!==Object.prototype.toString.call(l.type)||"[object Generator]"!==Object.prototype.toString.call(b))&&($y||console.error("Using Iterators 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. You can also use an Iterable that can iterate multiple times over the same items."),$y=!0):u.entries!==f||ky||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ky=!0),l=function(o,i,l,s){if(null==l)throw Error("An iterable object provided no iterator.");for(var u=null,c=null,d=i,f=i=0,y=null,b=null,v=l.next();null!==d&&!v.done;f++,v=l.next()){d.index>f?(y=d,d=null):y=d.sibling;var w=h(o,d,v.value,s);if(null===w){null===d&&(d=y);break}b=g(o,w,v.value,b),e&&d&&null===w.alternate&&t(o,d),i=a(w,i,f),null===c?u=w:c.sibling=w,c=w,d=y}if(v.done)return n(o,d),eg&&qn(o,f),u;if(null===d){for(;!v.done;f++,v=l.next())null!==(d=p(o,v.value,s))&&(b=g(o,d,v.value,b),i=a(d,i,f),null===c?u=d:c.sibling=d,c=d);return eg&&qn(o,f),u}for(d=r(d);!v.done;f++,v=l.next())null!==(y=m(d,o,f,v.value,s))&&(b=g(o,y,v.value,b),e&&null!==y.alternate&&d.delete(null===y.key?f:y.key),i=a(y,i,f),null===c?u=y:c.sibling=y,c=y);return e&&d.forEach(function(e){return t(o,e)}),eg&&qn(o,f),u}(l,s,b,c),Yy=d,l}if("function"==typeof u.then)return d=Wr(u._debugInfo),l=y(l,s,Yr(u),c),Yy=d,l;if(u.$$typeof===zd)return y(l,s,pr(l,u),c);Kr(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(d=""+u,null!==s&&6===s.tag?(n(l,s.sibling),(c=o(s,d)).return=l,l=c):(n(l,s),(c=Dn(d,l.mode,c)).return=l,c._debugOwner=l,c._debugTask=l._debugTask,c._debugInfo=Yy,l=c),i(l)):("function"==typeof u&&Xr(l,u),"symbol"==typeof u&&to(l,u),n(l,s))}return function(e,t,n,r){var o=Yy;Yy=null;try{Qy=0;var a=y(e,t,n,r);return Gy=null,a}catch(t){if(t===qy||t===Hy)throw t;var i=f(29,t,null,e.mode);i.lanes=r,i.return=e;var l=i._debugInfo=Yy;if(i._debugOwner=e._debugOwner,i._debugTask=e._debugTask,null!=l)for(var s=l.length-1;0<=s;s--)if("string"==typeof l[s].stack){i._debugOwner=l[s],i._debugTask=l[s].debugTask;break}return i}finally{Yy=o}}}function ro(e,t){var n=Wd(e);return e=!n&&"function"==typeof x(e),!n&&!e||(n=n?"array":"iterable",console.error("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>",n,t,n),!1)}function oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function io(e){return{lane:e,tag:nb,payload:null,callback:null,next:null}}function lo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,sb===r&&!lb){var o=E(e);console.error("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.\n\nPlease update the following component: %s",o),lb=!0}return(Yv&Fv)!==Mv?(null===(o=r.pending)?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=xn(e),Sn(e,null,n),t):(vn(e,r,t,n),xn(e))}function so(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,se(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function co(){if(ub){if(null!==sy)throw sy}}function fo(e,t,n,r){ub=!1;var o=e.updateQueue;ib=!1,sb=o.shared;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,c=u=s=null,l=a;;){var f=-536870913&l.lane,p=f!==l.lane;if(p?(Kv&f)===f:(r&f)===f){0!==f&&f===ly&&(ub=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{f=e;var h=l,m=t,g=n;switch(h.tag){case rb:if("function"==typeof(h=h.payload)){dg=!0;var y=h.call(g,d,m);if(f.mode&Mm){X(!0);try{h.call(g,d,m)}finally{X(!1)}}dg=!1,d=y;break e}d=h;break e;case ab:f.flags=-65537&f.flags|128;case nb:if("function"==typeof(y=h.payload)){if(dg=!0,h=y.call(g,d,m),f.mode&Mm){X(!0);try{y.call(g,d,m)}finally{X(!1)}}dg=!1}else h=y;if(null==h)break e;d=Id({},d,h);break e;case ob:ib=!0}}null!==(f=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=o.callbacks)?o.callbacks=[f]:p.push(f))}else p={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null===a&&(o.shared.lanes=0),mw|=i,e.lanes=i,e.memoizedState=d}sb=null}function po(e,t){if("function"!=typeof e)throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function ho(e,t){var n=e.shared.hiddenCallbacks;if(null!==n)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)po(n[e],t)}function mo(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)po(n[e],t)}function go(e,t){var n=pw;_(db,n,e),_(cb,t,e),pw=n|t.baseLanes}function yo(e){_(db,pw,e),_(cb,cb.current,e)}function bo(e){pw=db.current,T(cb,e),T(db,e)}function vo(e){var t=e.alternate;_(gb,gb.current&hb,e),_(fb,e,e),null===pb&&(null===t||null!==cb.current||null!==t.memoizedState)&&(pb=e)}function wo(e){_(gb,gb.current,e),_(fb,e,e),null===pb&&(pb=e)}function ko(e){22===e.tag?(_(gb,gb.current,e),_(fb,e,e),null===pb&&(pb=e)):So(e)}function So(e){_(gb,gb.current,e),_(fb,fb.current,e)}function xo(e){T(fb,e),pb===e&&(pb=null),T(gb,e)}function Co(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||sc(n)||uc(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ao(){var e=Mb;null===Fb?Fb=[e]:Fb.push(e)}function Eo(){var e=Mb;if(null!==Fb&&(qb++,Fb[qb]!==e)){var t=E(Ib);if(!Sb.has(t)&&(Sb.add(t),null!==Fb)){for(var n="",r=0;r<=qb;r++){var o=Fb[r],a=r===qb?e:o;for(o=r+1+". "+o;30>o.length;)o+=" ";n+=o+=a+"\n"}console.error("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://react.dev/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}}function Io(e){null==e||Wd(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Mb,typeof e)}function To(){var e=E(Ib);Ab.has(e)||(Ab.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function _o(){throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.")}function Ro(e,t){if(Ub)return!1;if(null===t)return console.error("%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.",Mb),!1;e.length!==t.length&&console.error("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Mb,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!qh(e[n],t[n]))return!1;return!0}function Po(e,t,n,r,o,a){Eb=a,Ib=t,Fb=null!==e?e._debugHookTypes:null,qb=-1,Ub=null!==e&&e.type!==t.type,("[object AsyncFunction]"===Object.prototype.toString.call(n)||"[object AsyncGeneratorFunction]"===Object.prototype.toString.call(n))&&(a=E(Ib),Cb.has(a)||(Cb.add(a),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",null===a?"An unknown Component":"<"+a+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Gd.H=null!==e&&null!==e.memoizedState?Wb:null!==Fb?Vb:Bb,Ob=a=(t.mode&Mm)!==zm;var i=xy(n,r,o);if(Ob=!1,Pb&&(i=No(t,n,r,o)),a){X(!0);try{i=No(t,n,r,o)}finally{X(!1)}}return Oo(e,t),i}function Oo(e,t){t._debugHookTypes=Fb,null===t.dependencies?null!==zb&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:zb}):t.dependencies._debugThenableState=zb,Gd.H=Hb;var n=null!==Tb&&null!==Tb.next;if(Eb=0,Fb=Mb=_b=Tb=Ib=null,qb=-1,null!==e&&(65011712&e.flags)!=(65011712&t.flags)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Rb=!1,Lb=0,zb=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");null===e||dv||null!==(e=e.dependencies)&&cr(e)&&(dv=!0),Wy?(Wy=!1,e=!0):e=!1,e&&(t=E(t)||"Unknown",xb.has(t)||Cb.has(t)||(xb.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function No(e,t,n,r){Ib=e;var o=0;do{if(Pb&&(zb=null),Lb=0,Pb=!1,o>=jb)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,Ub=!1,_b=Tb=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}qb=-1,Gd.H=Gb,a=xy(t,n,r)}while(Pb);return a}function Lo(){var e=Gd.H,t=e.useState()[0];return t="function"==typeof t.then?qo(t):t,e=e.useState()[0],(null!==Tb?Tb.memoizedState:null)!==e&&(Ib.flags|=1024),t}function zo(){var e=0!==Nb;return Nb=0,e}function Do(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Fm)!==zm?-402655237&t.flags:-2053&t.flags,e.lanes&=~n}function jo(e){if(Rb){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Rb=!1}Eb=0,Fb=_b=Tb=Ib=null,qb=-1,Mb=null,Pb=!1,Lb=Nb=0,zb=null}function Mo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===_b?Ib.memoizedState=_b=e:_b=_b.next=e,_b}function Fo(){if(null===Tb){var e=Ib.alternate;e=null!==e?e.memoizedState:null}else e=Tb.next;var t=null===_b?Ib.memoizedState:_b.next;if(null!==t)_b=t,Tb=e;else{if(null===e)throw null===Ib.alternate?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");e={memoizedState:(Tb=e).memoizedState,baseState:Tb.baseState,baseQueue:Tb.baseQueue,queue:Tb.queue,next:null},null===_b?Ib.memoizedState=_b=e:_b=_b.next=e}return _b}function qo(e){var t=Lb;return Lb+=1,null===zb&&(zb={didWarnAboutUncachedPromise:!1,thenables:[]}),e=Ur(zb,e,t),t=Ib,null===(null===_b?t.memoizedState:_b.next)&&(t=t.alternate,Gd.H=null!==t&&null!==t.memoizedState?Wb:Bb),e}function Uo(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return qo(e);if(e.$$typeof===zd)return fr(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Ho(e){var t=null,n=Ib.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Ib.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Ib.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index])||Ub)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=Hd;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function Bo(e,t){return"function"==typeof t?t(e):t}function Vo(e,t,n){var r=Mo();if(void 0!==n){var o=n(t);if(Ob){X(!0);try{n(t)}finally{X(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Ka.bind(null,Ib,e),[r.memoizedState,e]}function Wo(e){return Go(Fo(),Tb,e)}function Go(e,t,n){var r=e.queue;if(null===r)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=i=null,s=null,u=t=o.next,c=!1;do{var d=-536870913&u.lane;if(d!==u.lane?(Kv&d)===d:(Eb&d)===d){var f=u.revertLane;if(0===f)null!==s&&(s=s.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===ly&&(c=!0);else{if((Eb&f)===f){u=u.next,f===ly&&(c=!0);continue}d={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===s?(l=s=d,i=a):s=s.next=d,Ib.lanes|=f,mw|=f}d=u.action,Ob&&n(a,d),a=u.hasEagerState?u.eagerState:n(a,d)}else f={lane:d,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===s?(l=s=f,i=a):s=s.next=f,Ib.lanes|=d,mw|=d;u=u.next}while(null!==u&&u!==t);if(null===s?i=a:s.next=l,!qh(a,e.memoizedState)&&(dv=!0,c&&null!==(n=sy)))throw n;e.memoizedState=a,e.baseState=i,e.baseQueue=s,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Qo(e){var t=Fo(),n=t.queue;if(null===n)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);qh(a,t.memoizedState)||(dv=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Yo(e,t,n){var r=Ib,o=Mo();if(eg){if(void 0===n)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var a=n();Xy||a===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Xy=!0)}else{if(a=t(),Xy||(n=t(),qh(a,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Xy=!0)),null===$v)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");127&Kv||Zo(r,t,a)}return o.memoizedState=a,n={value:a,getSnapshot:t},o.queue=n,xa(Jo.bind(null,r,n,e),[e]),r.flags|=2048,va(bb|kb,{destroy:void 0},Ko.bind(null,r,n,a,t),null),a}function $o(e,t,n){var r=Ib,o=Fo(),a=eg;if(a){if(void 0===n)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Xy){var i=t();qh(n,i)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Xy=!0)}(i=!qh((Tb||o).memoizedState,n))&&(o.memoizedState=n,dv=!0),o=o.queue;var l=Jo.bind(null,r,o,e);if(Sa(2048,kb,l,[e]),o.getSnapshot!==t||i||null!==_b&&_b.memoizedState.tag&bb){if(r.flags|=2048,va(bb|kb,{destroy:void 0},Ko.bind(null,r,o,n,t),null),null===$v)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");a||127&Eb||Zo(r,t,n)}return n}function Zo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Ib.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Ib.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ko(e,t,n,r){t.value=n,t.getSnapshot=r,Xo(t)&&ea(e)}function Jo(e,t,n){return n(function(){Xo(t)&&(br(2,"updateSyncExternalStore()",e),ea(e))})}function Xo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qh(e,n)}catch{return!0}}function ea(e){var t=kn(e,2);null!==t&&os(t,e,2)}function ta(e){var t=Mo();if("function"==typeof e){var n=e;if(e=n(),Ob){X(!0);try{n()}finally{X(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:e},t}function na(e){var t=(e=ta(e)).queue,n=Ja.bind(null,Ib,t);return t.dispatch=n,[e.memoizedState,n]}function ra(e){var t=Mo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ei.bind(null,Ib,!0,n),n.dispatch=t,[e,t]}function oa(e,t){return aa(Fo(),Tb,e,t)}function aa(e,t,n,r){return e.baseState=n,Go(e,Tb,"function"==typeof r?r:Bo)}function ia(e,t){var n=Fo();return null!==Tb?aa(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])}function la(e,t,n,r,o){if(ti(e))throw Error("Cannot update form state while rendering.");if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==Gd.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,sa(t,a)):(a.next=n.next,t.pending=n.next=a)}}function sa(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=Gd.T,i={};i._updatedFibers=new Set,Gd.T=i;try{var l=n(o,r),s=Gd.S;null!==s&&s(i,l),ua(e,t,l)}catch(n){da(e,t,n)}finally{null!==a&&null!==i.types&&(null!==a.types&&a.types!==i.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),a.types=i.types),Gd.T=a,null===a&&i._updatedFibers&&(e=i._updatedFibers.size,i._updatedFibers.clear(),10<e&&console.warn("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."))}}else try{ua(e,t,i=n(o,r))}catch(n){da(e,t,n)}}function ua(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?(Gd.asyncTransitions++,n.then(Fa,Fa),n.then(function(n){ca(e,t,n)},function(n){return da(e,t,n)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):ca(e,t,n)}function ca(e,t,n){t.status="fulfilled",t.value=n,fa(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,sa(e,n)))}function da(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,fa(t),t=t.next}while(t!==r)}e.action=null}function fa(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function pa(e,t){return t}function ha(e,t){if(eg){var n=$v.formState;if(null!==n){e:{var r=Ib;if(eg){if(Xm){t:{for(var o=Xm,a=og;8!==o.nodeType;){if(!a){o=null;break t}if(null===(o=cc(o.nextSibling))){o=null;break t}}o=(a=o.data)===Wk||a===Gk?o:null}if(o){Xm=cc(o.nextSibling),r=o.data===Wk;break e}}Zn(r)}r=!1}r&&(t=n[0])}}return(n=Mo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pa,lastRenderedState:t},n.queue=r,n=Ja.bind(null,Ib,r),r.dispatch=n,r=ta(!1),a=ei.bind(null,Ib,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=Mo()).queue=o,n=la.bind(null,Ib,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function ma(e){return ga(Fo(),Tb,e)}function ga(e,t,n){if(t=Go(e,t,pa)[0],e=Wo(Bo)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=qo(t)}catch(e){throw e===qy?Hy:e}else r=t;var o=(t=Fo()).queue,a=o.dispatch;return n!==t.memoizedState&&(Ib.flags|=2048,va(bb|kb,{destroy:void 0},ya.bind(null,o,n),null)),[r,a,e]}function ya(e,t){e.action=t}function ba(e){var t=Fo(),n=Tb;if(null!==n)return ga(t,n,e);Fo(),t=t.memoizedState;var r=(n=Fo()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function va(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Ib.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Ib.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function wa(e){return e={current:e},Mo().memoizedState=e}function ka(e,t,n,r){var o=Mo();Ib.flags|=e,o.memoizedState=va(bb|t,{destroy:void 0},n,void 0===r?null:r)}function Sa(e,t,n,r){var o=Fo();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==Tb&&null!==r&&Ro(r,Tb.memoizedState.deps)?o.memoizedState=va(t,a,n,r):(Ib.flags|=e,o.memoizedState=va(bb|t,a,n,r))}function xa(e,t){(Ib.mode&Fm)!==zm?ka(276826112,kb,e,t):ka(8390656,kb,e,t)}function Ca(e){var t=Mo(),n={impl:e};return t.memoizedState=n,function(){if((Yv&Fv)!==Mv)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function Aa(e){var t=Fo().memoizedState;return function(e){Ib.flags|=4;var t=Ib.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Ib.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if((Yv&Fv)!==Mv)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Ea(e,t){var n=4194308;return(Ib.mode&Fm)!==zm&&(n|=134217728),ka(n,wb,e,t)}function Ia(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Ta(e,t,n){"function"!=typeof t&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null"),n=null!=n?n.concat([e]):null;var r=4194308;(Ib.mode&Fm)!==zm&&(r|=134217728),ka(r,wb,Ia.bind(null,t,e),n)}function _a(e,t,n){"function"!=typeof t&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null"),n=null!=n?n.concat([e]):null,Sa(4,wb,Ia.bind(null,t,e),n)}function Ra(e,t){return Mo().memoizedState=[e,void 0===t?null:t],e}function Pa(e,t){var n=Fo();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Ro(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Oa(e,t){var n=Mo();t=void 0===t?null:t;var r=e();if(Ob){X(!0);try{e()}finally{X(!1)}}return n.memoizedState=[r,t],r}function Na(e,t){var n=Fo();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Ro(t,r[1]))return r[0];if(r=e(),Ob){X(!0);try{e()}finally{X(!1)}}return n.memoizedState=[r,t],r}function La(e,t){return ja(Mo(),e,t)}function za(e,t){return Ma(Fo(),Tb.memoizedState,e,t)}function Da(e,t){var n=Fo();return null===Tb?ja(n,e,t):Ma(n,Tb.memoizedState,e,t)}function ja(e,t,n){return void 0===n||1073741824&Eb&&!(261930&Kv)?e.memoizedState=t:(e.memoizedState=n,e=rs(),Ib.lanes|=e,mw|=e,n)}function Ma(e,t,n,r){return qh(n,t)?n:null!==cb.current?(e=ja(e,n,r),qh(e,t)||(dv=!0),e):42&Eb&&(!(1073741824&Eb)||261930&Kv)?(e=rs(),Ib.lanes|=e,mw|=e,t):(dv=!0,e.memoizedState=n)}function Fa(){Gd.asyncTransitions--}function qa(e,t,n,r,o){var a=Qd.p;Qd.p=0!==a&&a<zf?a:zf;var i=Gd.T,l={};l._updatedFibers=new Set,Gd.T=l,ei(e,!1,t,n);try{var s=o(),u=Gd.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){Gd.asyncTransitions++,s.then(Fa,Fa);var c=function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status="rejected",r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}(s,r);Xa(e,t,c,ns(e))}else Xa(e,t,r,ns(e))}catch(n){Xa(e,t,{then:function(){},status:"rejected",reason:n},ns(e))}finally{Qd.p=a,null!==i&&null!==l.types&&(null!==i.types&&i.types!==l.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),i.types=l.types),Gd.T=i,null===i&&l._updatedFibers&&(e=l._updatedFibers.size,l._updatedFibers.clear(),10<e&&console.warn("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."))}}function Ua(e,t,n,r){if(5!==e.tag)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=Ha(e).queue;(function(e){if(0>Og){Og=gg(),Ng=null!=e._debugTask?e._debugTask:null,(Yv&(Fv|qv))!==Mv&&(Lg=bg);var t=Uu(),n=qu();t!==Fg||n!==Mg?Fg=-1.1:null!==n&&(Lg=bg),jg=t,Mg=n}0>Bg&&(Bg=gg(),Wg=null!=e._debugTask?e._debugTask:null,0>Hg)&&(e=Uu(),t=qu(),(e!==Zg||t!==$g)&&(Zg=-1.1),Yg=e,$g=t)})(e),qa(e,o,t,zS,null===n?u:function(){return Ba(e),n(r)})}function Ha(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:zS,baseState:zS,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:zS},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Ba(e){null===Gd.T&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Ha(e);null===t.next&&(t=e.alternate.memoizedState),Xa(e,t.next.queue,{},ns(e))}function Va(){var e=ta(!1);return e=qa.bind(null,Ib,e.queue,!0,!1),Mo().memoizedState=e,[!1,e]}function Wa(){var e=Wo(Bo)[0],t=Fo().memoizedState;return["boolean"==typeof e?e:qo(e),t]}function Ga(){var e=Qo(Bo)[0],t=Fo().memoizedState;return["boolean"==typeof e?e:qo(e),t]}function Qa(){return fr(DS)}function Ya(){var e=Mo(),t=$v.identifierPrefix;if(eg){var n=Km;t="_"+t+"R_"+(n=(Zm&~(1<<32-Tf(Zm)-1)).toString(32)+n),0<(n=Nb++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Db++).toString(32)+"_";return e.memoizedState=t}function $a(){return Mo().memoizedState=Za.bind(null,Ib)}function Za(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 24:case 3:var r=ns(n),o=io(r),a=lo(n,o,r);return null!==a&&(br(r,"refresh()",e),os(a,n,r),so(a,n,r)),e=mr(),null!=t&&null!==a&&console.error("The seed argument is not enabled outside experimental channels."),void(o.payload={cache:e})}n=n.return}}function Ka(e,t,n){var r=arguments;"function"==typeof r[3]&&console.error("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 o={lane:r=ns(e),revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};ti(e)?ni(t,o):null!==(o=wn(e,t,o,r))&&(br(r,"dispatch()",e),os(o,e,r),ri(o,t,r))}function Ja(e,t,n){var r=arguments;"function"==typeof r[3]&&console.error("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()."),Xa(e,t,n,r=ns(e))&&br(r,"setState()",e)}function Xa(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ti(e))ni(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer)){var i=Gd.H;Gd.H=Yb;try{var l=t.lastRenderedState,s=a(l,n);if(o.hasEagerState=!0,o.eagerState=s,qh(s,l))return vn(e,t,o,0),null===$v&&bn(),!1}catch{}finally{Gd.H=i}}if(null!==(n=wn(e,t,o,r)))return os(n,e,r),ri(n,t,r),!0}return!1}function ei(e,t,n,r){if(null===Gd.T&&0===ly&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),r={lane:2,revertLane:ru(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ti(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else null!==(t=wn(e,n,r,2))&&(br(2,"setOptimistic()",e),os(t,e,2))}function ti(e){var t=e.alternate;return e===Ib||null!==t&&t===Ib}function ni(e,t){Pb=Rb=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ri(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,se(e,n)}}function oi(e){if(null!==e&&"function"!=typeof e){var t=String(e);iv.has(t)||(iv.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function ai(e,t,n,r){var o=e.memoizedState,a=n(r,o);if(e.mode&Mm){X(!0);try{a=n(r,o)}finally{X(!1)}}void 0===a&&(t=C(t)||"Component",nv.has(t)||(nv.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=null==a?o:Id({},o,a),e.memoizedState=o,0===e.lanes&&(e.updateQueue.baseState=o)}function ii(e,t,n,r,o,a,i){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){if(n=l.shouldComponentUpdate(r,a,i),e.mode&Mm){X(!0);try{n=l.shouldComponentUpdate(r,a,i)}finally{X(!1)}}return void 0===n&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",C(t)||"Component"),n}return!t.prototype||!t.prototype.isPureReactComponent||(!Qt(n,r)||!Qt(o,a))}function li(e,t,n,r){var o=t.state;"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o&&(e=E(e)||"Component",Kb.has(e)||(Kb.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),lv.enqueueReplaceState(t,t.state,null))}function si(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=Id({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function ui(e){sm(e),console.warn("%s\n\n%s\n",sv?"An error occurred in the <"+sv+"> component.":"An error occurred in one of your React components.","Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries.")}function ci(e){var t=sv?"The above error occurred in the <"+sv+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+(uv||"Anonymous")+".";if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var r=e.environmentName;"string"==typeof(e=["%o\n\n%s\n\n%s\n",e,t,n].slice(0))[0]?e.splice(0,1,jS+" "+e[0],MS,qS+r+qS,FS):e.splice(0,0,jS,MS,qS+r+qS,FS),e.unshift(console),(r=US.apply(console.error,e))()}else console.error("%o\n\n%s\n\n%s\n",e,t,n)}function di(e){sm(e)}function fi(e,t){try{sv=t.source?E(t.source):null,uv=null;var n=t.value;if(null!==Gd.actQueue)Gd.thrownErrors.push(n);else(0,e.onUncaughtError)(n,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function pi(e,t,n){try{sv=n.source?E(n.source):null,uv=E(t),(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function hi(e,t,n){return(n=io(n)).tag=ab,n.payload={element:null},n.callback=function(){W(t.source,fi,e,t)},n}function mi(e){return(e=io(e)).tag=ab,e}function gi(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){In(n),W(r.source,pi,t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){In(n),W(r.source,pi,t,n,r),"function"!=typeof o&&(null===Rw?Rw=new Set([this]):Rw.add(this)),Py(this,r),"function"==typeof o||!(2&n.lanes)&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",E(n)||"Unknown")})}function yi(e,t,n,r){t.child=null===e?tb(t,null,n,r):eb(t,e.child,n,r)}function bi(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return dr(t),r=Po(e,t,n,i,a,o),l=zo(),null===e||dv?(eg&&l&&Hn(t),t.flags|=1,yi(e,t,r,o),t.child):(Do(e,t,o),Ui(e,t,o))}function vi(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Rn(a)||void 0!==a.defaultProps||null!==n.compare?((e=Nn(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(n=Cn(a),t.tag=15,t.type=n,Pi(t,a),wi(e,t,n,r,o))}if(a=e.child,!Hi(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Qt)(i,r)&&e.ref===t.ref)return Ui(e,t,o)}return t.flags|=1,(e=Pn(a,r)).ref=t.ref,e.return=t,t.child=e}function wi(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Qt(a,r)&&e.ref===t.ref&&t.type===e.type){if(dv=!1,t.pendingProps=r=a,!Hi(e,o))return t.lanes=e.lanes,Ui(e,t,o);131072&e.flags&&(dv=!0)}}return Ii(e,t,n,r,o)}function ki(e,t,n,r){var o=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:Im,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(a=null!==a?a.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~a}else r=0,t.child=null;return xi(e,t,a,n,r)}if(!(536870912&n))return r=t.lanes=536870912,xi(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Mr(t,null!==a?a.cachePool:null),null!==a?go(t,a):yo(t),ko(t)}else null!==a?(Mr(t,a.cachePool),go(t,a),So(t),t.memoizedState=null):(null!==e&&Mr(t,null),yo(t),So(t));return yi(e,t,o,n),t.child}function Si(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:Im,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function xi(e,t,n,r,o){var a=jr();return a=null===a?null:{parent:mg._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},null!==e&&Mr(t,null),yo(t),ko(t),null!==e&&ur(e,t,r,!0),t.childLanes=o,null}function Ci(e,t){var n=t.hidden;return void 0!==n&&console.error('<Activity> doesn\'t accept a hidden prop. Use mode="hidden" instead.\n- <Activity %s>\n+ <Activity %s>',!0===n?"hidden":!1===n?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),(t=Di({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function Ai(e,t,n){return eb(t,e.child,null,n),(e=Ci(t,t.pendingProps)).flags|=2,xo(t),t.memoizedState=null,e}function Ei(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(null===e||e.ref!==n)&&(t.flags|=4194816)}}function Ii(e,t,n,r,o){if(n.prototype&&"function"==typeof n.prototype.render){var a=C(n)||"Unknown";fv[a]||(console.error("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.",a,a),fv[a]=!0)}return t.mode&Mm&&dy.recordLegacyContextWarning(t,null),null===e&&(Pi(t,t.type),n.contextTypes&&(a=C(n)||"Unknown",hv[a]||(hv[a]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",a)))),dr(t),n=Po(e,t,n,r,void 0,o),r=zo(),null===e||dv?(eg&&r&&Hn(t),t.flags|=1,yi(e,t,n,o),t.child):(Do(e,t,o),Ui(e,t,o))}function Ti(e,t,n,r,o,a){return dr(t),qb=-1,Ub=null!==e&&e.type!==t.type,t.updateQueue=null,n=No(t,r,n,o),Oo(e,t),r=zo(),null===e||dv?(eg&&r&&Hn(t),t.flags|=1,yi(e,t,n,a),t.child):(Do(e,t,a),Ui(e,t,a))}function _i(e,t,n,r,o){switch(i(t)){case!1:var a=t.stateNode,l=new t.type(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,l,null);break;case!0:t.flags|=128,t.flags|=65536,a=Error("Simulated error coming from DevTools");var s=o&-o;if(t.lanes|=s,null===(l=$v))throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");gi(s=mi(s),l,t,Fn(a,t)),uo(t,s)}if(dr(t),null===t.stateNode){if(l=Om,a=n.contextType,"contextType"in n&&null!==a&&(void 0===a||a.$$typeof!==zd)&&!av.has(n)&&(av.add(n),s=void 0===a?" 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.":"object"!=typeof a?" However, it is set to a "+typeof a+".":a.$$typeof===Ld?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(a).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",C(n)||"Component",s)),"object"==typeof a&&null!==a&&(l=fr(a)),a=new n(r,l),t.mode&Mm){X(!0);try{a=new n(r,l)}finally{X(!1)}}if(l=t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=lv,t.stateNode=a,a._reactInternals=t,a._reactInternalInstance=Zb,"function"==typeof n.getDerivedStateFromProps&&null===l&&(l=C(n)||"Component",Jb.has(l)||(Jb.add(l),console.error("`%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.",l,null===a.state?"null":"undefined",l))),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate){var u=s=l=null;if("function"==typeof a.componentWillMount&&!0!==a.componentWillMount.__suppressDeprecationWarning?l="componentWillMount":"function"==typeof a.UNSAFE_componentWillMount&&(l="UNSAFE_componentWillMount"),"function"==typeof a.componentWillReceiveProps&&!0!==a.componentWillReceiveProps.__suppressDeprecationWarning?s="componentWillReceiveProps":"function"==typeof a.UNSAFE_componentWillReceiveProps&&(s="UNSAFE_componentWillReceiveProps"),"function"==typeof a.componentWillUpdate&&!0!==a.componentWillUpdate.__suppressDeprecationWarning?u="componentWillUpdate":"function"==typeof a.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==l||null!==s||null!==u){a=C(n)||"Component";var c="function"==typeof n.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ev.has(a)||(ev.add(a),console.error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles",a,c,null!==l?"\n "+l:"",null!==s?"\n "+s:"",null!==u?"\n "+u:""))}}a=t.stateNode,l=C(n)||"Component",a.render||(n.prototype&&"function"==typeof n.prototype.render?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",l):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",l)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.state||console.error("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?",l),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&console.error("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.",l),a.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",l),n.childContextTypes&&!ov.has(n)&&(ov.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",l)),n.contextTypes&&!rv.has(n)&&(rv.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",l)),"function"==typeof a.componentShouldUpdate&&console.error("%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.",l),n.prototype&&n.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",C(n)||"A pure component"),"function"==typeof a.componentDidUnmount&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",l),"function"==typeof a.componentDidReceiveProps&&console.error("%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().",l),"function"==typeof a.componentWillRecieveProps&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",l),"function"==typeof a.UNSAFE_componentWillRecieveProps&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",l),s=a.props!==r,void 0!==a.props&&s&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",l),a.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",l,l),"function"!=typeof a.getSnapshotBeforeUpdate||"function"==typeof a.componentDidUpdate||Xb.has(n)||(Xb.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",C(n))),"function"==typeof a.getDerivedStateFromProps&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",l),"function"==typeof a.getDerivedStateFromError&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",l),"function"==typeof n.getSnapshotBeforeUpdate&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",l),(s=a.state)&&("object"!=typeof s||Wd(s))&&console.error("%s.state: must be set to an object or null",l),"function"==typeof a.getChildContext&&"object"!=typeof n.childContextTypes&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",l),(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},oo(t),l=n.contextType,a.context="object"==typeof l&&null!==l?fr(l):Om,a.state===r&&(l=C(n)||"Component",tv.has(l)||(tv.add(l),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",l))),t.mode&Mm&&dy.recordLegacyContextWarning(t,a),dy.recordUnsafeLifecycleWarnings(t,a),a.state=t.memoizedState,"function"==typeof(l=n.getDerivedStateFromProps)&&(ai(t,n,l,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(l=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),l!==a.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",E(t)||"Component"),lv.enqueueReplaceState(a,a.state,null)),fo(t,r,a,o),co(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),(t.mode&Fm)!==zm&&(t.flags|=134217728),a=!0}else if(null===e){a=t.stateNode;var d=t.memoizedProps;s=si(n,d),a.props=s;var f=a.context;u=n.contextType,l=Om,"object"==typeof u&&null!==u&&(l=fr(u)),u="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate,d=t.pendingProps!==d,u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(d||f!==l)&&li(t,a,r,l),ib=!1;var p=t.memoizedState;a.state=p,fo(t,r,a,o),co(),f=t.memoizedState,d||p!==f||ib?("function"==typeof c&&(ai(t,n,c,r),f=t.memoizedState),(s=ib||ii(t,n,s,r,p,f,l))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308),(t.mode&Fm)!==zm&&(t.flags|=134217728)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),(t.mode&Fm)!==zm&&(t.flags|=134217728),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,a=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),(t.mode&Fm)!==zm&&(t.flags|=134217728),a=!1)}else{a=t.stateNode,ao(e,t),u=si(n,l=t.memoizedProps),a.props=u,c=t.pendingProps,p=a.context,f=n.contextType,s=Om,"object"==typeof f&&null!==f&&(s=fr(f)),(f="function"==typeof(d=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==c||p!==s)&&li(t,a,r,s),ib=!1,p=t.memoizedState,a.state=p,fo(t,r,a,o),co();var h=t.memoizedState;l!==c||p!==h||ib||null!==e&&null!==e.dependencies&&cr(e.dependencies)?("function"==typeof d&&(ai(t,n,d,r),h=t.memoizedState),(u=ib||ii(t,n,u,r,p,h,s)||null!==e&&null!==e.dependencies&&cr(e.dependencies))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,a=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}if(s=a,Ei(e,t),l=!!(128&t.flags),s||l){if(s=t.stateNode,G(t),l&&"function"!=typeof n.getDerivedStateFromError)n=null,Cg=-1;else if(n=Ay(s),t.mode&Mm){X(!0);try{Ay(s)}finally{X(!1)}}t.flags|=1,null!==e&&l?(t.child=eb(t,e.child,null,o),t.child=eb(t,null,n,o)):yi(e,t,n,o),t.memoizedState=s.state,e=t.child}else e=Ui(e,t,o);return o=t.stateNode,a&&o.props!==r&&(gv||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",E(t)||"a component"),gv=!0),e}function Ri(e,t,n,r){return er(),t.flags|=256,yi(e,t,n,r),t.child}function Pi(e,t){t&&t.childContextTypes&&console.error("childContextTypes cannot be defined on a function component.\n %s.childContextTypes = ...",t.displayName||t.name||"Component"),"function"==typeof t.getDerivedStateFromProps&&(e=C(t)||"Unknown",mv[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),mv[e]=!0)),"object"==typeof t.contextType&&null!==t.contextType&&(t=C(t)||"Unknown",pv[t]||(console.error("%s: Function components do not support contextType.",t),pv[t]=!0))}function Oi(e){return{baseLanes:e,cachePool:Fr()}}function Ni(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=bw),e}function Li(e,t,n){var r,o=t.pendingProps;a(t)&&(t.flags|=128);var i=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(gb.current&mb)),r&&(i=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(eg){if(i?vo(t):So(t),(e=Xm)?null!==(n=null!==(n=lc(e,og))&&n.data!==zk?n:null)&&(r={dehydrated:n,treeContext:Vn(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,(r=jn(n)).return=t,t.child=r,Jm=t,Xm=null):n=null,null===n)throw $n(t,e),Zn(t);return uc(n)?t.lanes=32:t.lanes=536870912,null}var s=o.children;if(o=o.fallback,i){So(t);var u=t.mode;return s=Di({mode:"hidden",children:s},u),o=zn(o,u,n,null),s.return=t,o.return=t,s.sibling=o,t.child=s,(o=t.child).memoizedState=Oi(n),o.childLanes=Ni(e,r,n),t.memoizedState=vv,Si(null,o)}return vo(t),zi(t,s)}var c=e.memoizedState;if(null!==c){var d=c.dehydrated;if(null!==d){if(l)256&t.flags?(vo(t),t.flags&=-257,t=ji(e,t,n)):null!==t.memoizedState?(So(t),t.child=e.child,t.flags|=128,t=null):(So(t),s=o.fallback,u=t.mode,o=Di({mode:"visible",children:o.children},u),(s=zn(s,u,n,null)).flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,eb(t,e.child,null,n),(o=t.child).memoizedState=Oi(n),o.childLanes=Ni(e,r,n),t.memoizedState=vv,t=Si(null,o));else if(vo(t),Yn(),!!(536870912&n)&&ys(t),uc(d)){if(r=d.nextSibling&&d.nextSibling.dataset){s=r.dgst;var f=r.msg;u=r.stck;var p=r.cstck}r=s,o=u,s=i=f,u=d=p,(s=Error(s||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.")).stack=o||"",s.digest=r,o={value:s,source:null,stack:r=void 0===u?null:u},"string"==typeof r&&Hm.set(s,o),nr(o),t=ji(e,t,n)}else if(dv||ur(e,t,n,!1),r=0!==(n&e.childLanes),dv||r){if(null!==(r=$v)&&(0!==(o=ue(r,n))&&o!==c.retryLane))throw c.retryLane=o,kn(e,o),os(r,e,o),cv;sc(d)||bs(),t=ji(e,t,n)}else sc(d)?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,Xm=cc(d.nextSibling),Jm=t,eg=!0,rg=null,tg=!1,ng=null,og=!1,null!==e&&Wn(t,e),(t=zi(t,o.children)).flags|=4096);return t}}return i?(So(t),s=o.fallback,u=t.mode,d=(p=e.child).sibling,(o=Pn(p,{mode:"hidden",children:o.children})).subtreeFlags=65011712&p.subtreeFlags,null!==d?s=Pn(d,s):(s=zn(s,u,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,Si(null,o),o=t.child,null===(s=e.child.memoizedState)?s=Oi(n):(null!==(u=s.cachePool)?(p=mg._currentValue,u=u.parent!==p?{parent:p,pool:p}:u):u=Fr(),s={baseLanes:s.baseLanes|n,cachePool:u}),o.memoizedState=s,o.childLanes=Ni(e,r,n),t.memoizedState=vv,Si(e.child,o)):(null!==c&&(62914560&n)===n&&0!==(n&e.lanes)&&ys(t),vo(t),e=(n=e.child).sibling,(n=Pn(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function zi(e,t){return(t=Di({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Di(e,t){return(e=f(22,e,null,t)).lanes=0,e}function ji(e,t,n){return eb(t,e.child,null,n),(e=zi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Mi(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),lr(e.return,t,n)}function Fi(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.treeForkCount=a)}function qi(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail,i=r.children,l=gb.current;if((r=0!==(l&mb))?(l=l&hb|mb,t.flags|=128):l&=hb,_(gb,l,t),l=o??"null","forwards"!==o&&"unstable_legacy-backwards"!==o&&"together"!==o&&"independent"!==o&&!yv[l])if(yv[l]=!0,null==o)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if("backwards"===o)console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if("string"==typeof o)switch(o.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);bv[l=a??"null"]||(null==a?("forwards"===o||"backwards"===o||"unstable_legacy-backwards"===o)&&(bv[l]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):"visible"!==a&&"collapsed"!==a&&"hidden"!==a?(bv[l]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',a)):"forwards"!==o&&"backwards"!==o&&"unstable_legacy-backwards"!==o&&(bv[l]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',a)));e:if(("forwards"===o||"backwards"===o||"unstable_legacy-backwards"===o)&&null!=i&&!1!==i)if(Wd(i)){for(l=0;l<i.length;l++)if(!ro(i[l],l))break e}else if(l=x(i),"function"==typeof l){if(l=l.call(i))for(var s=l.next(),u=0;!s.done;s=l.next()){if(!ro(s.value,u))break e;u++}}else console.error('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?',o);if(yi(e,t,i,n),eg?(Gn(),i=Gm):i=0,!r&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Mi(e,n,t);else if(19===e.tag)Mi(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Co(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Fi(t,!1,o,n,a,i);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Co(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Fi(t,!0,n,null,a,i);break;case"together":Fi(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Ui(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Cg=-1,mw|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(ur(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(null!==t.child){for(n=Pn(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hi(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!cr(e))}function Bi(e,t,n){if(t._debugNeedsRemount&&null!==e){(n=Nn(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes))._debugStack=t._debugStack,n._debugTask=t._debugTask;var r=t.return;if(null===r)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw Error("Expected to find the previous sibling.");o.sibling=n}return null===(t=r.deletions)?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=2,n}if(null!==e)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)dv=!0;else{if(!(Hi(e,n)||128&t.flags))return dv=!1,function(e,t,n){switch(t.tag){case 3:P(t,t.stateNode.containerInfo),ar(t,mg,e.memoizedState.cache),er();break;case 27:case 5:L(t);break;case 4:P(t,t.stateNode.containerInfo);break;case 10:ar(t,t.type,t.memoizedProps.value);break;case 12:0!==(n&t.childLanes)&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(null!==t.memoizedState)return t.flags|=128,wo(t),null;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(vo(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Li(e,t,n):(vo(t),null!==(e=Ui(e,t,n))?e.sibling:null);vo(t);break;case 19:var o=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(ur(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return qi(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_(gb,gb.current,t),r)break;return null;case 22:return t.lanes=0,ki(e,t,n,t.pendingProps);case 24:ar(t,mg,e.memoizedState.cache)}return Ui(e,t,n)}(e,t,n);dv=!!(131072&e.flags)}else dv=!1,(r=eg)&&(Gn(),r=!!(1048576&t.flags)),r&&(r=t.index,Gn(),Un(t,Gm,r));switch(t.lanes=0,t.tag){case 16:e:{if(r=t.pendingProps,e=Hr(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){if((o=e.$$typeof)===Dd){t.tag=11,t.type=e=An(e),t=bi(null,t,e,r,n);break e}if(o===Fd){t.tag=14,t=vi(null,t,e,r,n);break e}}throw t="",null!==e&&"object"==typeof e&&e.$$typeof===qd&&(t=" Did you wrap a component in React.lazy() more than once?"),n=C(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}Rn(e)?(r=si(e,r),t.tag=1,t.type=e=Cn(e),t=_i(null,t,e,r,n)):(t.tag=0,Pi(t,e),t.type=e=Cn(e),t=Ii(null,t,e,r,n))}return t;case 0:return Ii(e,t,t.type,t.pendingProps,n);case 1:return _i(e,t,r=t.type,o=si(r,t.pendingProps),n);case 3:e:{if(P(t,t.stateNode.containerInfo),null===e)throw Error("Should have a current fiber. This is a bug in React.");r=t.pendingProps;var a=t.memoizedState;o=a.element,ao(e,t),fo(t,r,null,n);var i=t.memoizedState;if(r=i.cache,ar(t,mg,r),r!==a.cache&&sr(t,[mg],n,!0),co(),r=i.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ri(e,t,r,n);break e}if(r!==o){nr(o=Fn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t)),t=Ri(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(Xm=cc(e.firstChild),Jm=t,eg=!0,rg=null,tg=!1,ng=null,og=!0,n=tb(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(er(),r===o){t=Ui(e,t,n);break e}yi(e,t,r,n)}t=t.child}return t;case 26:return Ei(e,t),null===e?(n=xc(t.type,null,t.pendingProps,null))?t.memoizedState=n:eg||(n=t.type,e=t.pendingProps,(r=Du(r=R(ef.current)).createElement(n))[Ff]=t,r[qf]=e,Au(r,n,e),ke(r),t.stateNode=r):t.memoizedState=xc(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return L(t),null===e&&eg&&(r=R(ef.current),o=N(),r=t.stateNode=bc(t.type,t.pendingProps,r,o,!1),tg||null!==(o=Lu(r,t.type,t.pendingProps,o))&&(Qn(t,0).serverProps=o),Jm=t,og=!0,o=Xm,$u(t.type)?(sS=o,Xm=cc(r.firstChild)):Xm=o),yi(e,t,t.pendingProps.children,n),Ei(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&eg&&(a=N(),r=ft(t.type,a.ancestorInfo),(i=!(o=Xm))||(i=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Gf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;Z(o.name,"name");var a=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===a)return e}if(null===(e=cc(e.nextSibling)))break}return null}(o,t.type,t.pendingProps,og),null!==i?(t.stateNode=i,tg||null!==(a=Lu(i,t.type,t.pendingProps,a))&&(Qn(t,0).serverProps=a),Jm=t,Xm=cc(i.firstChild),og=!1,a=!0):a=!1,i=!a),i&&(r&&$n(t,o),Zn(t))),L(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,r=a.children,Fu(o,a)?r=null:null!==i&&Fu(o,i)&&(t.flags|=32),null!==t.memoizedState&&(o=Po(e,t,Lo,null,null,n),DS._currentValue=o),Ei(e,t),yi(e,t,r,n),t.child;case 6:return null===e&&eg&&(n=t.pendingProps,n=null==(r=(e=N()).ancestorInfo.current)||pt(n,r.tag,e.ancestorInfo.implicitRootScope),(r=!(e=Xm))||(r=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=cc(e.nextSibling)))return null;return e}(e,t.pendingProps,og),null!==r?(t.stateNode=r,Jm=t,Xm=null,r=!0):r=!1,r=!r),r&&(n&&$n(t,e),Zn(t))),null;case 13:return Li(e,t,n);case 4:return P(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=eb(t,null,r,n):yi(e,t,r,n),t.child;case 11:return bi(e,t,t.type,t.pendingProps,n);case 7:return yi(e,t,t.pendingProps,n),t.child;case 8:return yi(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,(r=t.stateNode).effectDuration=-0,r.passiveEffectDuration=-0,yi(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.type,a=(o=t.pendingProps).value,"value"in o||wv||(wv=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),ar(t,r,a),yi(e,t,o.children,n),t.child;case 9:return o=t.type._context,"function"!=typeof(r=t.pendingProps.children)&&console.error("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."),dr(t),o=fr(o),r=xy(r,o,void 0),t.flags|=1,yi(e,t,r,n),t.child;case 14:return vi(e,t,t.type,t.pendingProps,n);case 15:return wi(e,t,t.type,t.pendingProps,n);case 19:return qi(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if(eg){if("hidden"===r.mode)return e=Ci(t,r),t.lanes=536870912,Si(null,e);if(wo(t),(e=Xm)?null!==(n=null!==(n=lc(e,og))&&n.data===zk?n:null)&&(r={dehydrated:n,treeContext:Vn(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,(r=jn(n)).return=t,t.child=r,Jm=t,Xm=null):n=null,null===n)throw $n(t,e),Zn(t);return t.lanes=536870912,null}return Ci(t,r)}var a=e.memoizedState;if(null!==a){var i=a.dehydrated;if(wo(t),o)if(256&t.flags)t.flags&=-257,t=Ai(e,t,n);else{if(null===t.memoizedState)throw Error("Client rendering an Activity suspended it again. This is a bug in React.");t.child=e.child,t.flags|=128,t=null}else if(Yn(),!!(536870912&n)&&ys(t),dv||ur(e,t,n,!1),o=0!==(n&e.childLanes),dv||o){if(null!==(r=$v)&&0!==(i=ue(r,n))&&i!==a.retryLane)throw a.retryLane=i,kn(e,i),os(r,e,i),cv;bs(),t=Ai(e,t,n)}else e=a.treeContext,Xm=cc(i.nextSibling),Jm=t,eg=!0,rg=null,tg=!1,ng=null,og=!1,null!==e&&Wn(t,e),(t=Ci(t,r)).flags|=4096;return t}return a=e.child,r={mode:r.mode,children:r.children},!!(536870912&n)&&0!==(n&e.lanes)&&ys(t),(e=Pn(a,r)).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return ki(e,t,n,t.pendingProps);case 24:return dr(t),r=fr(mg),null===e?(null===(o=jr())&&(o=$v,a=mr(),o.pooledCache=a,gr(a),null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},oo(t),ar(t,mg,o)):(0!==(e.lanes&n)&&(ao(e,t),fo(t,null,null,n),co()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),ar(t,mg,r)):(r=a.cache,ar(t,mg,r),r!==o.cache&&sr(t,[mg],n,!0))),yi(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Vi(e){e.flags|=4}function Wi(e,t,n,r,o){if((t=(e.mode&qm)!==zm)&&(t=!1),t){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!hs())throw Vy=By,Uy;e.flags|=8192}}else e.flags&=-16777217}function Gi(e,t){if("stylesheet"!==t.type||(t.state.loading&pS)!==uS)e.flags&=-16777217;else if(e.flags|=16777216,!Dc(t)){if(!hs())throw Vy=By,Uy;e.flags|=8192}}function Qi(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?oe():536870912,e.lanes|=t,vw|=t)}function Yi(e,t){if(!eg)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $i(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)if((e.mode&jm)!==zm){for(var o=e.selfBaseDuration,a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=65011712&a.subtreeFlags,r|=65011712&a.flags,o+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=o}else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else if((e.mode&jm)!==zm){o=e.actualDuration,a=e.selfBaseDuration;for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,o+=i.actualDuration,a+=i.treeBaseDuration,i=i.sibling;e.actualDuration=o,e.treeBaseDuration=a}else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Zi(e,t,n){var r=t.pendingProps;switch(Bn(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return $i(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ir(mg,t),O(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(Xn(t)?(rr(),Vi(t)):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,tr())),$i(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(Vi(t),null!==a?($i(t),Gi(t,a)):($i(t),Wi(t,o,0,0,n))):a?a!==e.memoizedState?(Vi(t),$i(t),Gi(t,a)):($i(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&Vi(t),$i(t),Wi(t,o,0,0,n)),null;case 27:if(z(t),n=R(ef.current),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Vi(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return $i(t),null}e=N(),Xn(t)?Kn(t):(e=bc(o,r,n,e,!0),t.stateNode=e,Vi(t))}return $i(t),null;case 5:if(z(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Vi(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return $i(t),null}var i=N();if(Xn(t))Kn(t);else{switch(a=R(ef.current),ft(o,i.ancestorInfo),i=i.context,a=Du(a),i){case Zk:a=a.createElementNS(_p,o);break;case Kk:a=a.createElementNS(Tp,o);break;default:switch(o){case"svg":a=a.createElementNS(_p,o);break;case"math":a=a.createElementNS(Tp,o);break;case"script":(a=a.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?a.createElement("select",{is:r.is}):a.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?a.createElement(o,{is:r.is}):a.createElement(o),-1===o.indexOf("-")&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),"[object HTMLUnknownElement]"!==Object.prototype.toString.call(a)||cf.call(eS,o)||(eS[o]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",o)))}}a[Ff]=t,a[qf]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)a.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=a;e:switch(Au(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Vi(t)}}return $i(t),Wi(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Vi(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=R(ef.current),n=N(),Xn(t)){if(e=t.stateNode,n=t.memoizedProps,o=!tg,r=null,null!==(a=Jm))switch(a.tag){case 3:o&&(null!==(o=fc(e,n,r))&&(Qn(t,0).serverProps=o));break;case 27:case 5:r=a.memoizedProps,o&&(null!==(o=fc(e,n,r))&&(Qn(t,0).serverProps=o))}e[Ff]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Su(e.nodeValue,n)))||Zn(t,!0)}else null!=(o=n.ancestorInfo.current)&&pt(r,o.tag,n.ancestorInfo.implicitRootScope),(e=Du(e).createTextNode(r))[Ff]=t,t.stateNode=e}return $i(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=Xn(t),null!==n){if(null===e){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Ff]=t,$i(t),(t.mode&jm)!==zm&&null!==n&&(null!==(e=t.child)&&(t.treeBaseDuration-=e.treeBaseDuration))}else rr(),er(),!(128&t.flags)&&(n=t.memoizedState=null),t.flags|=4,$i(t),(t.mode&jm)!==zm&&null!==n&&(null!==(e=t.child)&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=tr(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(xo(t),t):(xo(t),null);if(128&t.flags)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return $i(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=r,a=Xn(t),null!==o&&null!==o.dehydrated){if(null===e){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");a[Ff]=t,$i(t),(t.mode&jm)!==zm&&null!==o&&(null!==(o=t.child)&&(t.treeBaseDuration-=o.treeBaseDuration))}else rr(),er(),!(128&t.flags)&&(o=t.memoizedState=null),t.flags|=4,$i(t),(t.mode&jm)!==zm&&null!==o&&(null!==(o=t.child)&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=tr(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(xo(t),t):(xo(t),null)}return xo(t),128&t.flags?(t.lanes=n,(t.mode&jm)!==zm&&zr(t),t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Qi(t,t.updateQueue),$i(t),(t.mode&jm)!==zm&&n&&(null!==(e=t.child)&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return O(t),null===e&&cu(t.stateNode.containerInfo),$i(t),null;case 10:return ir(t.type,t),$i(t),null;case 19:if(T(gb,t),null===(r=t.memoizedState))return $i(t),null;if(o=!!(128&t.flags),null===(a=r.rendering))if(o)Yi(r,!1);else{if(hw!==Uv||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=Co(e))){for(t.flags|=128,Yi(r,!1),e=a.updateQueue,t.updateQueue=e,Qi(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)On(n,e),n=n.sibling;return _(gb,gb.current&hb|mb,t),eg&&qn(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&mf()>Ew&&(t.flags|=128,o=!0,Yi(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=Co(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Qi(t,e),Yi(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!eg)return $i(t),null}else 2*mf()-r.renderingStartTime>Ew&&536870912!==n&&(t.flags|=128,o=!0,Yi(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=mf(),e.sibling=null,n=gb.current,_(gb,n=o?n&hb|mb:n&hb,t),eg&&qn(t,r.treeForkCount),e):($i(t),null);case 22:case 23:return xo(t),bo(t),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&($i(t),6&t.subtreeFlags&&(t.flags|=8192)):$i(t),null!==(n=t.updateQueue)&&Qi(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&T(cy,t),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ir(mg,t),$i(t),null;case 25:case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ki(e,t){switch(Bn(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&jm)!==zm&&zr(t),t):null;case 3:return ir(mg,t),O(t),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return z(t),null;case 31:if(null!==t.memoizedState){if(xo(t),null===t.alternate)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");er()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&jm)!==zm&&zr(t),t):null;case 13:if(xo(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");er()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&jm)!==zm&&zr(t),t):null;case 19:return T(gb,t),null;case 4:return O(t),null;case 10:return ir(t.type,t),null;case 22:case 23:return xo(t),bo(t),null!==e&&T(cy,t),65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&jm)!==zm&&zr(t),t):null;case 24:return ir(mg,t),null;default:return null}}function Ji(e,t){switch(Bn(t),t.tag){case 3:ir(mg,t),O(t);break;case 26:case 27:case 5:z(t);break;case 4:O(t);break;case 31:null!==t.memoizedState&&xo(t);break;case 13:xo(t);break;case 19:T(gb,t);break;case 10:ir(t.type,t);break;case 22:case 23:xo(t),bo(t),null!==e&&T(cy,t);break;case 24:ir(mg,t)}}function Xi(e){return(e.mode&jm)!==zm}function el(e,t){Xi(e)?(Lr(),nl(t,e),Or()):nl(t,e)}function tl(e,t,n){Xi(e)?(Lr(),rl(n,e,t),Or()):rl(n,e,t)}function nl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e&&(r=void 0,(e&vb)!==yb&&(ik=!0),r=W(t,zy,n),(e&vb)!==yb&&(ik=!1),void 0!==r&&"function"!=typeof r)){var a;a=0!==(n.tag&wb)?"useLayoutEffect":0!==(n.tag&vb)?"useInsertionEffect":"useEffect";W(t,function(e,t){console.error("%s must not return anything besides a function, which is used for clean-up.%s",e,t)},a,null===r?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof r.then?"\n\nIt looks like you wrote "+a+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+a+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching":" You returned: "+r)}n=n.next}while(n!==o)}}catch(e){js(t,t.return,e)}}function rl(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;void 0!==l&&(i.destroy=void 0,(e&vb)!==yb&&(ik=!0),W(o=t,jy,o,n,l),(e&vb)!==yb&&(ik=!1))}r=r.next}while(r!==a)}}catch(e){js(t,t.return,e)}}function ol(e,t){Xi(e)?(Lr(),nl(t,e),Or()):nl(t,e)}function al(e,t,n){Xi(e)?(Lr(),rl(n,e,t),Or()):rl(n,e,t)}function il(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||gv||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",E(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",E(e)||"instance"));try{W(e,mo,t,n)}catch(t){js(e,e.return,t)}}}function ll(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function sl(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||gv||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",E(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",E(e)||"instance"));try{var o=si(e.type,n),a=W(e,ll,t,o,r);n=kv,void 0!==a||n.has(e.type)||(n.add(e.type),W(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",E(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){js(e,e.return,t)}}function ul(e,t,n){n.props=si(e.type,e.memoizedProps),n.state=e.memoizedState,Xi(e)?(Lr(),W(e,Ny,e,t,n),Or()):W(e,Ny,e,t,n)}function cl(e){var t=e.ref;if(null!==t){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;default:n=e.stateNode}if("function"==typeof t)if(Xi(e))try{Lr(),e.refCleanup=t(n)}finally{Or()}else e.refCleanup=t(n);else"string"==typeof t?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",E(e)),t.current=n}}function dl(e,t){try{W(e,cl,e)}catch(n){js(e,t,n)}}function fl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{if(Xi(e))try{Lr(),W(e,r)}finally{Or()}else W(e,r)}catch(n){js(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{if(Xi(e))try{Lr(),W(e,n,null)}finally{Or()}else W(e,n,null)}catch(n){js(e,t,n)}else n.current=null}function pl(e,t,n,r){var o=e.memoizedProps,a=o.id,i=o.onCommit;o=o.onRender,t=null===t?"mount":"update",ry&&(t="nested-update"),"function"==typeof o&&o(a,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),"function"==typeof i&&i(a,t,r,n)}function hl(e,t,n,r){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=null===t?"mount":"update",ry&&(t="nested-update"),"function"==typeof o&&o(e,t,r,n)}function ml(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{W(e,Bu,r,t,n,e)}catch(t){js(e,e.return,t)}}function gl(e,t,n){try{W(e,Wu,e.stateNode,e.type,n,t,e)}catch(t){js(e,e.return,t)}}function yl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&$u(e.type)||4===e.tag}function bl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||yl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&$u(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function vl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(Yu(n),(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t)):(Yu(n),(t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=St));else if(4!==r&&(27===r&&$u(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(vl(e,t,n),e=e.sibling;null!==e;)vl(e,t,n),e=e.sibling}function wl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&$u(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(wl(e,t,n),e=e.sibling;null!==e;)wl(e,t,n),e=e.sibling}function kl(e){for(var t,n=e.return;null!==n;){if(yl(n)){t=n;break}n=n.return}if(null==t)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,wl(e,n=bl(e),t);break;case 5:n=t.stateNode,32&t.flags&&(Gu(n),t.flags&=-33),wl(e,t=bl(e),n);break;case 3:case 4:t=t.stateNode.containerInfo,vl(e,n=bl(e),t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Sl(e){var t=e.stateNode,n=e.memoizedProps;try{W(e,vc,e.type,n,t,e)}catch(t){js(e,e.return,t)}}function xl(e,t){return 31===t.tag?(t=t.memoizedState,null!==e.memoizedState&&null===t):13===t.tag?(e=e.memoizedState,t=t.memoizedState,null!==e&&null!==e.dehydrated&&(null===t||null===t.dehydrated)):3===t.tag&&(e.memoizedState.isDehydrated&&!(256&t.flags))}function Cl(e,t,n){var r=xr(),o=Ar(),a=Ir(),i=Tr(),l=n.flags;switch(n.tag){case 0:case 11:case 15:zl(e,n),4&l&&el(n,wb|bb);break;case 1:if(zl(e,n),4&l)if(e=n.stateNode,null===t)n.type.defaultProps||"ref"in n.memoizedProps||gv||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",E(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",E(n)||"instance")),Xi(n)?(Lr(),W(n,Iy,n,e),Or()):W(n,Iy,n,e);else{var s=si(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||gv||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",E(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",E(n)||"instance")),Xi(n)?(Lr(),W(n,_y,n,e,s,t,e.__reactInternalSnapshotBeforeUpdate),Or()):W(n,_y,n,e,s,t,e.__reactInternalSnapshotBeforeUpdate)}64&l&&il(n),512&l&&dl(n,n.return);break;case 3:if(t=vr(),zl(e,n),64&l&&null!==(l=n.updateQueue)){if(s=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:s=n.child.stateNode}try{W(n,mo,l,s)}catch(e){js(n,n.return,e)}}e.effectDuration+=wr(t);break;case 27:null===t&&4&l&&Sl(n);case 26:case 5:if(zl(e,n),null===t)if(4&l)ml(n);else if(64&l){e=n.type,t=n.memoizedProps,s=n.stateNode;try{W(n,Vu,s,e,t,n)}catch(e){js(n,n.return,e)}}512&l&&dl(n,n.return);break;case 12:if(4&l){l=vr(),zl(e,n),(e=n.stateNode).effectDuration+=kr(l);try{W(n,pl,n,t,kg,e.effectDuration)}catch(e){js(n,n.return,e)}}else zl(e,n);break;case 31:zl(e,n),4&l&&Tl(e,n);break;case 13:zl(e,n),4&l&&_l(e,n),64&l&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if(e.data===qk)e._reactRetry=t;else if(e.data!==Fk||n.readyState!==Qk)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,l=Us.bind(null,n))));break;case 22:if(!(l=null!==n.memoizedState||Sv)){t=null!==t&&null!==t.memoizedState||xv,s=Sv;var u=xv;Sv=l,(xv=t)&&!u?(Fl(e,n,!!(8772&n.subtreeFlags)),(n.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&un(n,Ig,Tg)):zl(e,n),Sv=s,xv=u}break;case 30:break;default:zl(e,n)}(n.mode&jm)!==zm&&0<=Ig&&0<=Tg&&((Rg||.05<Eg)&&fn(n,Ig,Tg,Eg,_g),null===n.alternate&&null!==n.return&&null!==n.return.alternate&&.05<Tg-Ig&&(xl(n.return.alternate,n.return)||sn(n,Ig,Tg,"Mount"))),Cr(r),Er(o),_g=a,Rg=i}function Al(e){var t=e.alternate;null!==t&&(e.alternate=null,Al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&ge(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function El(e,t,n){for(n=n.child;null!==n;)Il(e,t,n),n=n.sibling}function Il(e,t,n){if(Af&&"function"==typeof Af.onCommitFiberUnmount)try{Af.onCommitFiberUnmount(Cf,n)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}var r=xr(),o=Ar(),a=Ir(),i=Tr();switch(n.tag){case 26:xv||fl(n,t),El(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode).parentNode.removeChild(e);break;case 27:xv||fl(n,t);var l=_v,s=Rv;$u(n.type)&&(_v=n.stateNode,Rv=!1),El(e,t,n),W(n,wc,n.stateNode),_v=l,Rv=s;break;case 5:xv||fl(n,t);case 6:if(l=_v,s=Rv,_v=null,El(e,t,n),Rv=s,null!==(_v=l))if(Rv)try{W(n,Ku,_v,n.stateNode)}catch(e){js(n,t,e)}else try{W(n,Zu,_v,n.stateNode)}catch(e){js(n,t,e)}break;case 18:null!==_v&&(Rv?(Ju(9===(e=_v).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),ud(e)):Ju(_v,n.stateNode));break;case 4:l=_v,s=Rv,_v=n.stateNode.containerInfo,Rv=!0,El(e,t,n),_v=l,Rv=s;break;case 0:case 11:case 14:case 15:rl(vb,n,t),xv||tl(n,t,wb),El(e,t,n);break;case 1:xv||(fl(n,t),"function"==typeof(l=n.stateNode).componentWillUnmount&&ul(n,t,l)),El(e,t,n);break;case 21:El(e,t,n);break;case 22:xv=(l=xv)||null!==n.memoizedState,El(e,t,n),xv=l;break;default:El(e,t,n)}(n.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(n,Ig,Tg,Eg,_g),Cr(r),Er(o),_g=a,Rg=i}function Tl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{W(t,gc,e)}catch(e){js(t,t.return,e)}}}function _l(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{W(t,yc,e)}catch(e){js(t,t.return,e)}}function Rl(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Av),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Av),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),If){if(null===Iv||null===Tv)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Qs(Tv,Iv)}var r=Hs.bind(null,e,t);t.then(r,r)}})}function Pl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=e,a=t,i=n[r],l=xr(),s=a;e:for(;null!==s;){switch(s.tag){case 27:if($u(s.type)){_v=s.stateNode,Rv=!1;break e}break;case 5:_v=s.stateNode,Rv=!1;break e;case 3:case 4:_v=s.stateNode.containerInfo,Rv=!0;break e}s=s.return}if(null===_v)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Il(o,a,i),_v=null,Rv=!1,(i.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(i,Ig,Tg,"Unmount"),Cr(l),null!==(a=(o=i).alternate)&&(a.return=null),o.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Ol(t,e),t=t.sibling}function Ol(e,t){var n=xr(),r=Ar(),o=Ir(),a=Tr(),i=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Pl(t,e),Nl(e),4&l&&(rl(vb|bb,e,e.return),nl(vb|bb,e),tl(e,e.return,wb|bb));break;case 1:if(Pl(t,e),Nl(e),512&l&&(xv||null===i||fl(i,i.return)),64&l&&Sv&&(null!==(l=e.updateQueue)&&null!==(i=l.callbacks))){var s=l.shared.hiddenCallbacks;l.shared.hiddenCallbacks=null===s?i:s.concat(i)}break;case 26:if(s=Pv,Pl(t,e),Nl(e),512&l&&(xv||null===i||fl(i,i.return)),4&l){var u=null!==i?i.memoizedState:null;if(l=e.memoizedState,null===i)if(null===l)if(null===e.stateNode){e:{l=e.type,i=e.memoizedProps,s=s.ownerDocument||s;t:switch(l){case"title":(!(u=s.getElementsByTagName("title")[0])||u[Gf]||u[Ff]||u.namespaceURI===_p||u.hasAttribute("itemprop"))&&(u=s.createElement(l),s.head.insertBefore(u,s.querySelector("head > title"))),Au(u,l,i),u[Ff]=e,ke(u),l=u;break e;case"link":var c=Lc("link","href",s).get(l+(i.href||""));if(c)for(var d=0;d<c.length;d++)if((u=c[d]).getAttribute("href")===(null==i.href||""===i.href?null:i.href)&&u.getAttribute("rel")===(null==i.rel?null:i.rel)&&u.getAttribute("title")===(null==i.title?null:i.title)&&u.getAttribute("crossorigin")===(null==i.crossOrigin?null:i.crossOrigin)){c.splice(d,1);break t}Au(u=s.createElement(l),l,i),s.head.appendChild(u);break;case"meta":if(c=Lc("meta","content",s).get(l+(i.content||"")))for(d=0;d<c.length;d++)if(u=c[d],Z(i.content,"content"),u.getAttribute("content")===(null==i.content?null:""+i.content)&&u.getAttribute("name")===(null==i.name?null:i.name)&&u.getAttribute("property")===(null==i.property?null:i.property)&&u.getAttribute("http-equiv")===(null==i.httpEquiv?null:i.httpEquiv)&&u.getAttribute("charset")===(null==i.charSet?null:i.charSet)){c.splice(d,1);break t}Au(u=s.createElement(l),l,i),s.head.appendChild(u);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+l+'". This is a bug in React.')}u[Ff]=e,ke(u),l=u}e.stateNode=l}else zc(s,e.type,e.stateNode);else e.stateNode=Rc(s,l,e.memoizedProps);else u!==l?(null===u?null!==i.stateNode&&(i=i.stateNode).parentNode.removeChild(i):u.count--,null===l?zc(s,e.type,e.stateNode):Rc(s,l,e.memoizedProps)):null===l&&null!==e.stateNode&&gl(e,e.memoizedProps,i.memoizedProps)}break;case 27:Pl(t,e),Nl(e),512&l&&(xv||null===i||fl(i,i.return)),null!==i&&4&l&&gl(e,e.memoizedProps,i.memoizedProps);break;case 5:if(Pl(t,e),Nl(e),512&l&&(xv||null===i||fl(i,i.return)),32&e.flags){s=e.stateNode;try{W(e,Gu,s)}catch(t){js(e,e.return,t)}}4&l&&null!=e.stateNode&&gl(e,s=e.memoizedProps,null!==i?i.memoizedProps:s),1024&l&&(Cv=!0,"form"!==e.type&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Pl(t,e),Nl(e),4&l){if(null===e.stateNode)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");l=e.memoizedProps,i=null!==i?i.memoizedProps:l,s=e.stateNode;try{W(e,Qu,s,i,l)}catch(t){js(e,e.return,t)}}break;case 3:if(s=vr(),TS=null,u=Pv,Pv=kc(t.containerInfo),Pl(t,e),Pv=u,Nl(e),4&l&&null!==i&&i.memoizedState.isDehydrated)try{W(e,mc,t.containerInfo)}catch(t){js(e,e.return,t)}Cv&&(Cv=!1,Ll(e)),t.effectDuration+=wr(s);break;case 4:l=Pv,Pv=kc(e.stateNode.containerInfo),Pl(t,e),Nl(e),Pv=l;break;case 12:l=vr(),Pl(t,e),Nl(e),e.stateNode.effectDuration+=kr(l);break;case 31:case 19:Pl(t,e),Nl(e),4&l&&(null!==(l=e.updateQueue)&&(e.updateQueue=null,Rl(e,l)));break;case 13:Pl(t,e),Nl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==i&&null!==i.memoizedState)&&(xw=mf()),4&l&&(null!==(l=e.updateQueue)&&(e.updateQueue=null,Rl(e,l)));break;case 22:s=null!==e.memoizedState;var f=null!==i&&null!==i.memoizedState,p=Sv,h=xv;if(Sv=p||s,xv=h||f,Pl(t,e),xv=h,Sv=p,f&&!s&&!p&&!h&&(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&un(e,Ig,Tg),Nl(e),8192&l)e:for(t=e.stateNode,t._visibility=s?t._visibility&~Im:t._visibility|Im,!s||null===i||f||Sv||xv||(jl(e),(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(e,Ig,Tg,"Disconnect")),i=null,t=e;;){if(5===t.tag||26===t.tag){if(null===i){f=i=t;try{u=f.stateNode,s?W(f,tc,u):W(f,oc,f.stateNode,f.memoizedProps)}catch(e){js(f,f.return,e)}}}else if(6===t.tag){if(null===i){f=t;try{c=f.stateNode,s?W(f,nc,c):W(f,ac,c,f.memoizedProps)}catch(e){js(f,f.return,e)}}}else if(18===t.tag){if(null===i){f=t;try{d=f.stateNode,s?W(f,ec,d):W(f,rc,f.stateNode)}catch(e){js(f,f.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}4&l&&(null!==(l=e.updateQueue)&&(null!==(i=l.retryQueue)&&(l.retryQueue=null,Rl(e,i))));break;case 30:case 21:break;default:Pl(t,e),Nl(e)}(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&((Rg||.05<Eg)&&fn(e,Ig,Tg,Eg,_g),null===e.alternate&&null!==e.return&&null!==e.return.alternate&&.05<Tg-Ig&&(xl(e.return.alternate,e.return)||sn(e,Ig,Tg,"Mount"))),Cr(n),Er(r),_g=o,Rg=a}function Nl(e){var t=e.flags;if(2&t){try{W(e,kl,e)}catch(t){js(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ll(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Ll(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function zl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Cl(e,t.alternate,t),t=t.sibling}function Dl(e){var t=xr(),n=Ar(),r=Ir(),o=Tr();switch(e.tag){case 0:case 11:case 14:case 15:tl(e,e.return,wb),jl(e);break;case 1:fl(e,e.return);var a=e.stateNode;"function"==typeof a.componentWillUnmount&&ul(e,e.return,a),jl(e);break;case 27:W(e,wc,e.stateNode);case 26:case 5:fl(e,e.return),jl(e);break;case 22:null===e.memoizedState&&jl(e);break;default:jl(e)}(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(e,Ig,Tg,Eg,_g),Cr(t),Er(n),_g=r,Rg=o}function jl(e){for(e=e.child;null!==e;)Dl(e),e=e.sibling}function Ml(e,t,n,r){var o=xr(),a=Ar(),i=Ir(),l=Tr(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Fl(e,n,r),el(n,wb);break;case 1:if(Fl(e,n,r),"function"==typeof(t=n.stateNode).componentDidMount&&W(n,Iy,n,t),null!==(t=n.updateQueue)){e=n.stateNode;try{W(n,ho,t,e)}catch(e){js(n,n.return,e)}}r&&64&s&&il(n),dl(n,n.return);break;case 27:Sl(n);case 26:case 5:Fl(e,n,r),r&&null===t&&4&s&&ml(n),dl(n,n.return);break;case 12:if(r&&4&s){s=vr(),Fl(e,n,r),(r=n.stateNode).effectDuration+=kr(s);try{W(n,pl,n,t,kg,r.effectDuration)}catch(e){js(n,n.return,e)}}else Fl(e,n,r);break;case 31:Fl(e,n,r),r&&4&s&&Tl(e,n);break;case 13:Fl(e,n,r),r&&4&s&&_l(e,n);break;case 22:null===n.memoizedState&&Fl(e,n,r),dl(n,n.return);break;case 30:break;default:Fl(e,n,r)}(n.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(n,Ig,Tg,Eg,_g),Cr(o),Er(a),_g=i,Rg=l}function Fl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;)Ml(e,t.alternate,t,n),t=t.sibling}function ql(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&gr(e),null!=n&&yr(n))}function Ul(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(gr(t),null!=e&&yr(e))}function Hl(e,t,n,r,o){if(10256&t.subtreeFlags||0!==t.actualDuration&&(null===t.alternate||t.alternate.child!==t.child))for(t=t.child;null!==t;){var a=t.sibling;Bl(e,t,n,r,null!==a?a.actualStartTime:o),t=a}}function Bl(e,t,n,r,o){var a=xr(),i=Ar(),l=Ir(),s=Tr(),u=km,c=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&jm)!==zm&&0<t.actualStartTime&&!!(1&t.flags)&&cn(t,t.actualStartTime,o,Ov,n),Hl(e,t,n,r,o),2048&c&&ol(t,kb|bb);break;case 1:(t.mode&jm)!==zm&&0<t.actualStartTime&&(128&t.flags?dn(t,t.actualStartTime,o,[]):!!(1&t.flags)&&cn(t,t.actualStartTime,o,Ov,n)),Hl(e,t,n,r,o);break;case 3:var d=vr(),f=Ov;Ov=null!==t.alternate&&t.alternate.memoizedState.isDehydrated&&!(256&t.flags),Hl(e,t,n,r,o),Ov=f,2048&c&&(n=null,null!==t.alternate&&(n=t.alternate.memoizedState.cache),(r=t.memoizedState.cache)!==n&&(gr(r),null!=n&&yr(n))),e.passiveEffectDuration+=wr(d);break;case 12:if(2048&c){c=vr(),Hl(e,t,n,r,o),(e=t.stateNode).passiveEffectDuration+=kr(c);try{W(t,hl,t,t.alternate,kg,e.passiveEffectDuration)}catch(e){js(t,t.return,e)}}else Hl(e,t,n,r,o);break;case 31:c=Ov,d=null!==t.alternate?t.alternate.memoizedState:null,f=t.memoizedState,null!==d&&null===f?null!==(f=t.deletions)&&0<f.length&&18===f[0].tag?(Ov=!1,null!==(d=d.hydrationErrors)&&dn(t,t.actualStartTime,o,d)):Ov=!0:Ov=!1,Hl(e,t,n,r,o),Ov=c;break;case 13:c=Ov,d=null!==t.alternate?t.alternate.memoizedState:null,f=t.memoizedState,null===d||null===d.dehydrated||null!==f&&null!==f.dehydrated?Ov=!1:null!==(f=t.deletions)&&0<f.length&&18===f[0].tag?(Ov=!1,null!==(d=d.hydrationErrors)&&dn(t,t.actualStartTime,o,d)):Ov=!0,Hl(e,t,n,r,o),Ov=c;break;case 23:break;case 22:f=t.stateNode,d=t.alternate,null!==t.memoizedState?f._visibility&Tm?Hl(e,t,n,r,o):Gl(e,t,n,r,o):f._visibility&Tm?Hl(e,t,n,r,o):(f._visibility|=Tm,Vl(e,t,n,r,!!(10256&t.subtreeFlags)||0!==t.actualDuration&&(null===t.alternate||t.alternate.child!==t.child),o),(t.mode&jm)===zm||Ov||(0<=(e=t.actualStartTime)&&.05<o-e&&un(t,e,o),0<=Ig&&0<=Tg&&.05<Tg-Ig&&un(t,Ig,Tg))),2048&c&&ql(d,t);break;case 24:Hl(e,t,n,r,o),2048&c&&Ul(t.alternate,t);break;default:Hl(e,t,n,r,o)}(t.mode&jm)!==zm&&((e=!Ov&&null===t.alternate&&null!==t.return&&null!==t.return.alternate)&&(0<=(n=t.actualStartTime)&&.05<o-n&&sn(t,n,o,"Mount")),0<=Ig&&0<=Tg&&((Rg||.05<Eg)&&fn(t,Ig,Tg,Eg,_g),e&&.05<Tg-Ig&&sn(t,Ig,Tg,"Mount"))),Cr(a),Er(i),_g=l,Rg=s,km=u}function Vl(e,t,n,r,o,a){for(o=o&&(!!(10256&t.subtreeFlags)||0!==t.actualDuration&&(null===t.alternate||t.alternate.child!==t.child)),t=t.child;null!==t;){var i=t.sibling;Wl(e,t,n,r,o,null!==i?i.actualStartTime:a),t=i}}function Wl(e,t,n,r,o,a){var i=xr(),l=Ar(),s=Ir(),u=Tr(),c=km;o&&(t.mode&jm)!==zm&&0<t.actualStartTime&&1&t.flags&&cn(t,t.actualStartTime,a,Ov,n);var d=t.flags;switch(t.tag){case 0:case 11:case 15:Vl(e,t,n,r,o,a),ol(t,kb);break;case 23:break;case 22:var f=t.stateNode;null!==t.memoizedState?f._visibility&Tm?Vl(e,t,n,r,o,a):Gl(e,t,n,r,a):(f._visibility|=Tm,Vl(e,t,n,r,o,a)),o&&2048&d&&ql(t.alternate,t);break;case 24:Vl(e,t,n,r,o,a),o&&2048&d&&Ul(t.alternate,t);break;default:Vl(e,t,n,r,o,a)}(t.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(t,Ig,Tg,Eg,_g),Cr(i),Er(l),_g=s,Rg=u,km=c}function Gl(e,t,n,r,o){if(10256&t.subtreeFlags||0!==t.actualDuration&&(null===t.alternate||t.alternate.child!==t.child))for(var a=t.child;null!==a;){var i=e,l=n,s=r,u=null!==(t=a.sibling)?t.actualStartTime:o,c=km;(a.mode&jm)!==zm&&0<a.actualStartTime&&1&a.flags&&cn(a,a.actualStartTime,u,Ov,l);var d=a.flags;switch(a.tag){case 22:Gl(i,a,l,s,u),2048&d&&ql(a.alternate,a);break;case 24:Gl(i,a,l,s,u),2048&d&&Ul(a.alternate,a);break;default:Gl(i,a,l,s,u)}km=c,a=t}}function Ql(e,t,n){if(e.subtreeFlags&Nv)for(e=e.child;null!==e;)Yl(e,t,n),e=e.sibling}function Yl(e,t,n){switch(e.tag){case 26:Ql(e,t,n),e.flags&Nv&&null!==e.memoizedState&&function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&(n.state.loading&pS)===uS){if(null===n.instance){var o=Ac(r.href),a=t.querySelector(Ec(o));if(a)return null!==(t=a._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=jc.bind(e),t.then(e,e)),n.state.loading|=pS,n.instance=a,void ke(a);a=t.ownerDocument||t,r=Ic(r),(o=hS.get(o))&&Oc(r,o),ke(a=a.createElement("link"));var i=a;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),Au(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&fS)===uS&&(e.count++,n=jc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Pv,e.memoizedState,e.memoizedProps);break;case 5:default:Ql(e,t,n);break;case 3:case 4:var r=Pv;Pv=kc(e.stateNode.containerInfo),Ql(e,t,n),Pv=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=Nv,Nv=16777216,Ql(e,t,n),Nv=r):Ql(e,t,n))}}function $l(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Zl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n],o=xr();Ev=r,es(r,e),(r.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(r,Ig,Tg,"Unmount"),Cr(o)}$l(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Kl(e),e=e.sibling}function Kl(e){var t=xr(),n=Ar(),r=Ir(),o=Tr();switch(e.tag){case 0:case 11:case 15:Zl(e),2048&e.flags&&al(e,e.return,kb|bb);break;case 3:var a=vr();Zl(e),e.stateNode.passiveEffectDuration+=wr(a);break;case 12:a=vr(),Zl(e),e.stateNode.passiveEffectDuration+=kr(a);break;case 22:a=e.stateNode,null!==e.memoizedState&&a._visibility&Tm&&(null===e.return||13!==e.return.tag)?(a._visibility&=~Tm,Jl(e),(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(e,Ig,Tg,"Disconnect")):Zl(e);break;default:Zl(e)}(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(e,Ig,Tg,Eg,_g),Cr(t),Er(n),Rg=o,_g=r}function Jl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n],o=xr();Ev=r,es(r,e),(r.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(r,Ig,Tg,"Unmount"),Cr(o)}$l(e)}for(e=e.child;null!==e;)Xl(e),e=e.sibling}function Xl(e){var t=xr(),n=Ar(),r=Ir(),o=Tr();switch(e.tag){case 0:case 11:case 15:al(e,e.return,kb),Jl(e);break;case 22:var a=e.stateNode;a._visibility&Tm&&(a._visibility&=~Tm,Jl(e));break;default:Jl(e)}(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(e,Ig,Tg,Eg,_g),Cr(t),Er(n),Rg=o,_g=r}function es(e,t){for(;null!==Ev;){var n=Ev,r=n,o=t,a=xr(),i=Ar(),l=Ir(),s=Tr();switch(r.tag){case 0:case 11:case 15:al(r,o,kb);break;case 23:case 22:null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(null!=(o=r.memoizedState.cachePool.pool)&&gr(o));break;case 24:yr(r.memoizedState.cache)}if((r.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(r,Ig,Tg,Eg,_g),Cr(a),Er(i),Rg=s,_g=l,null!==(r=n.child))r.return=n,Ev=r;else e:for(n=e;null!==Ev;){if(a=(r=Ev).sibling,i=r.return,Al(r),r===n){Ev=null;break e}if(null!==a){a.return=i,Ev=a;break e}Ev=i}}}function ts(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===Gd.actQueue||console.error("The current testing environment is not configured to support act(...)"),e}function ns(e){if((Yv&Fv)!==Mv&&0!==Kv)return Kv&-Kv;var t=Gd.T;return null!==t?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),ru()):he()}function rs(){if(0===bw)if(536870912&Kv&&!eg)bw=536870912;else{var e=Of;!(3932160&(Of<<=1))&&(Of=262144),bw=e}return null!==(e=fb.current)&&(e.flags|=32),bw}function os(e,t,n){if(ik&&console.error("useInsertionEffect must not schedule updates."),tk&&(nk=!0),(e===$v&&(sw===ew||sw===lw)||null!==e.cancelPendingCommit)&&(fs(e,0),ss(e,Kv,bw,!1)),ie(e,n),(Yv&Fv)!==Mv&&e===$v){if(uf)switch(t.tag){case 0:case 11:case 15:e=Zv&&E(Zv)||"Unknown",uk.has(e)||(uk.add(e),t=E(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:sk||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),sk=!0)}}else If&&de(e,t,n),function(e){ts()&&null===Gd.actQueue&&W(e,function(){console.error("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act",E(e))})}(t),e===$v&&((Yv&Fv)===Mv&&(gw|=n),hw===Wv&&ss(e,Kv,bw,!1)),Ys(e)}function as(e,t,n){if((Yv&(Fv|qv))!==Mv)throw Error("Should not already be working.");if(0!==Kv&&null!==Zv){var r=Zv,o=mf();switch(ty){case tw:case ew:var a=ny;ym&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,"Suspended",a,o,bm,void 0,"primary-light")):console.timeStamp("Suspended",a,o,bm,void 0,"primary-light"));break;case lw:a=ny,ym&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,"Action",a,o,bm,void 0,"primary-light")):console.timeStamp("Action",a,o,bm,void 0,"primary-light"));break;default:ym&&(3>(r=o-ny)||console.timeStamp("Blocked",ny,o,bm,void 0,5>r?"primary-light":10>r?"primary":100>r?"primary-dark":"error"))}}a=(n=!n&&!(127&t)&&0===(t&e.expiredLanes)||ne(e,t))?function(e,t){var n=Yv;Yv|=Fv;var r=ms(),o=gs();if($v!==e||Kv!==t){if(If){var a=e.memoizedUpdaters;0<a.size&&(Qs(e,Kv),a.clear()),fe(e,t)}Tw=null,Ew=mf()+Iw,fs(e,t)}else dw=ne(e,t);e:for(;;)try{if(sw!==Jv&&null!==Zv)t:switch(t=Zv,a=uw,sw){case Xv:sw=Jv,uw=null,As(e,t,a,Xv);break;case ew:case lw:if(qr(a)){sw=Jv,uw=null,xs(t);break}t=function(){sw!==ew&&sw!==lw||$v!==e||(sw=aw),Ys(e)},a.then(t,t);break e;case tw:sw=aw;break e;case nw:sw=rw;break e;case aw:qr(a)?(sw=Jv,uw=null,xs(t)):(sw=Jv,uw=null,As(e,t,a,aw));break;case rw:var i=null;switch(Zv.tag){case 26:i=Zv.memoizedState;case 5:case 27:var l=Zv;if(i?Dc(i):l.stateNode.complete){sw=Jv,uw=null;var s=l.sibling;if(null!==s)Zv=s;else{var u=l.return;null!==u?(Zv=u,Es(u)):Zv=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}sw=Jv,uw=null,As(e,t,a,rw);break;case ow:sw=Jv,uw=null,As(e,t,a,ow);break;case iw:cs(),hw=Gv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}null!==Gd.actQueue?ws():ks();break}catch(t){ps(e,t)}return or(),Gd.H=r,Gd.A=o,Yv=n,null!==Zv?Uv:($v=null,Kv=0,bn(),hw)}(e,t):vs(e,t,!0);for(var i=n;;){if(a===Uv){dw&&!n&&ss(e,t,0,!1),t=sw,ny=gg(),ty=t;break}if(r=mf(),o=e.current.alternate,!i||ls(o)){if(a===Bv){if(i=t,e.errorRecoveryDisabledLanes&i)var l=0;else l=0!==(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){ln(t),mn(wg,r,0,_w),ds(t,r),t=l;e:{a=i,i=ww;var s=(r=e).current.memoizedState.isDehydrated;if(s&&(fs(r,l).flags|=256),(l=vs(r,l,!1))!==Bv){if(fw&&!s){r.errorRecoveryDisabledLanes|=a,gw|=a,a=Wv;break e}r=kw,kw=i,null!==r&&(null===kw?kw=r:kw.push.apply(kw,r))}a=l}if(i=!1,a!==Bv)continue;r=mf()}}if(a===Hv){ln(t),mn(wg,r,0,_w),ds(t,r),fs(e,0),ss(e,t,0,!0);break}e:{switch(n=e,a){case Uv:case Hv:throw Error("Root did not complete. This is a bug in React.");case Wv:if((4194048&t)!==t)break;case Gv:ln(t),pn(wg,r,t,_w),ds(t,r),127&(o=t)?qg=r:!!(4194048&o)&&(Kg=r),ss(n,t,bw,!cw);break e;case Bv:kw=null;break;case Vv:case Qv:break;default:throw Error("Unknown root exit status.")}if(null!==Gd.actQueue)Ts(n,o,t,kw,Tw,Sw,bw,gw,vw,a,null,null,wg,r);else{if((62914560&t)===t&&10<(i=xw+Aw-mf())){if(ss(n,t,bw,!cw),0!==te(n,0,!0))break e;Vw=t,n.timeoutHandle=rS(is.bind(null,n,o,kw,Tw,Sw,t,bw,gw,vw,cw,a,"Throttled",wg,r),i);break e}is(n,o,kw,Tw,Sw,t,bw,gw,vw,cw,a,null,wg,r)}}break}ln(t),o=wg,a=r,!ym||a<=o||(_w?_w.run(console.timeStamp.bind(console,"Teared Render",o,a,wm,vm,"error")):console.timeStamp("Teared Render",o,a,wm,vm,"error")),ds(t,r),a=vs(e,t,!1),i=!1}Ys(e)}function is(e,t,n,r,o,a,i,l,s,u,c,d,f,p){e.timeoutHandle=aS;var h=t.subtreeFlags,m=null;if((8192&h||!(16785408&~h))&&(Yl(t,a,m={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:St}),h=function(e,t){return e.stylesheets&&0===e.count&&Mc(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Mc(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},_S+t);0<e.imgBytes&&0===OS&&(OS=125*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],a=o.transferSize,i=o.initiatorType,l=o.duration;if(a&&l&&zu(i)){for(i=0,l=o.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&zu(d)&&(i+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(a+i)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,"number"==typeof e)?e:5}()*PS);var o=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&Mc(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>OS?50:RS)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}(m,h=(62914560&a)===a?xw-mf():(4194048&a)===a?Cw-mf():0),null!==h))return Vw=a,e.cancelPendingCommit=h(Ts.bind(null,e,t,a,n,r,o,i,l,s,c,m,m.waitingForViewTransition?"Waiting for the previous Animation":0<m.count?0<m.imgCount?"Suspended on CSS and Images":"Suspended on CSS":1===m.imgCount?"Suspended on an Image":0<m.imgCount?"Suspended on Images":null,f,p)),void ss(e,a,i,!u);Ts(e,t,a,n,r,o,i,l,s,c,m,d,f,p)}function ls(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!qh(a(),o))return!1}catch{return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ss(e,t,n,r){t&=~yw,t&=~gw,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-Tf(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&le(e,n,t)}function us(){return(Yv&(Fv|qv))!==Mv||($s(0),!1)}function cs(){if(null!==Zv){if(sw===Jv)var e=Zv.return;else e=Zv,or(),jo(e),Gy=null,Qy=0,e=Zv;for(;null!==e;)Ji(e.alternate,e),e=e.return;Zv=null}}function ds(e,t){!!(127&e)&&(Pg=t),!!(4194048&e)&&(Ug=t),!!(62914560&e)&&(Jg=t),2080374784&e&&(Xg=t)}function fs(e,t){ym&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",vm,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",vm,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",vm,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",vm,"primary-light"));var n=wg;if(wg=gg(),0!==Kv&&0<n){if(ln(Kv),hw===Vv||hw===Wv)pn(n,wg,t,_w);else{var r=wg,o=_w;if(ym&&!(r<=n)){var a=(738197653&t)===t?"tertiary-dark":"primary-dark",i=(536870912&t)===t?"Prewarm":(201326741&t)===t?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,i,n,r,wm,vm,a)):console.timeStamp(i,n,r,wm,vm,a)}}ds(Kv,wg)}if(n=_w,_w=null,127&t){_w=Ng,o=0<=Og&&Og<Pg?Pg:Og,a=0<=(r=0<=jg&&jg<Pg?Pg:jg)?r:0<=o?o:wg,0<=qg&&(ln(2),hn(qg,a,t,n)),n=o;var l=r,s=Mg,u=0<Fg,c=Lg===bg,d=Lg===vg;if(o=wg,r=Ng,a=zg,i=Dg,ym){if(wm="Blocking",0<n?n>o&&(n=o):n=o,0<l?l>n&&(l=n):l=n,null!==s&&n>l){var f=u?"secondary-light":"warning";r?r.run(console.timeStamp.bind(console,u?"Consecutive":"Event: "+s,l,n,wm,vm,f)):console.timeStamp(u?"Consecutive":"Event: "+s,l,n,wm,vm,f)}o>n&&(l=c?"error":(738197653&t)===t?"tertiary-light":"primary-light",c=d?"Promise Resolved":c?"Cascading Update":5<o-n?"Update Blocked":"Update",d=[],null!=i&&d.push(["Component name",i]),null!=a&&d.push(["Method name",a]),n={start:n,end:o,detail:{devtools:{properties:d,track:wm,trackGroup:vm,color:l}}},r?r.run(performance.measure.bind(performance,c,n)):performance.measure(c,n))}Og=-1.1,Lg=0,Dg=zg=null,qg=-1.1,Fg=jg,jg=-1.1,Pg=gg()}if(!!(4194048&t)&&(_w=Wg,o=0<=Hg&&Hg<Ug?Ug:Hg,n=0<=Bg&&Bg<Ug?Ug:Bg,a=0<=(r=0<=Yg&&Yg<Ug?Ug:Yg)?r:0<=n?n:wg,0<=Kg&&(ln(256),hn(Kg,a,t,_w)),d=r,l=$g,s=0<Zg,u=Vg===vg,a=wg,r=Wg,i=Gg,c=Qg,ym&&(wm="Transition",0<n?n>a&&(n=a):n=a,0<o?o>n&&(o=n):o=n,0<d?d>o&&(d=o):d=o,o>d&&null!==l&&(f=s?"secondary-light":"warning",r?r.run(console.timeStamp.bind(console,s?"Consecutive":"Event: "+l,d,o,wm,vm,f)):console.timeStamp(s?"Consecutive":"Event: "+l,d,o,wm,vm,f)),n>o&&(r?r.run(console.timeStamp.bind(console,"Action",o,n,wm,vm,"primary-dark")):console.timeStamp("Action",o,n,wm,vm,"primary-dark")),a>n&&(o=u?"Promise Resolved":5<a-n?"Update Blocked":"Update",d=[],null!=c&&d.push(["Component name",c]),null!=i&&d.push(["Method name",i]),n={start:n,end:a,detail:{devtools:{properties:d,track:wm,trackGroup:vm,color:"primary-light"}}},r?r.run(performance.measure.bind(performance,o,n)):performance.measure(o,n))),Bg=Hg=-1.1,Vg=0,Kg=-1.1,Zg=Yg,Yg=-1.1,Ug=gg()),!!(62914560&t)&&!!(62914560&ey)&&(ln(4194304),yn(Jg,wg)),!!(2080374784&t)&&!!(2080374784&ey)&&(ln(268435456),yn(Xg,wg)),(n=e.timeoutHandle)!==aS&&(e.timeoutHandle=aS,oS(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Vw=0,cs(),$v=e,Zv=n=Pn(e.current,null),Kv=t,sw=Jv,uw=null,cw=!1,dw=ne(e,t),fw=!1,hw=Uv,vw=bw=yw=gw=mw=0,kw=ww=null,Sw=!1,!!(8&t)&&(t|=32&t),0!==(r=e.entangledLanes))for(e=e.entanglements,r&=t;0<r;)a=1<<(o=31-Tf(r)),t|=e[o],r&=~a;return pw=t,bn(),1e3<(e=im())-om&&(Gd.recentlyCreatedOwnerStacks=0,om=e),dy.discardPendingWarnings(),n}function ps(e,t){Ib=null,Gd.H=Hb,Gd.getCurrentStack=null,uf=!1,sf=null,t===qy||t===Hy?(t=Br(),sw=tw):t===Uy?(t=Br(),sw=nw):sw=t===cv?iw:null!==t&&"object"==typeof t&&"function"==typeof t.then?ow:Xv,uw=t;var n=Zv;null===n?(hw=Hv,fi(e,Fn(t,e.current))):n.mode&jm&&Rr(n)}function hs(){var e=fb.current;return null===e||((4194048&Kv)===Kv?null===pb:!!((62914560&Kv)===Kv||536870912&Kv)&&e===pb)}function ms(){var e=Gd.H;return Gd.H=Hb,null===e?Hb:e}function gs(){var e=Gd.A;return Gd.A=Lv,e}function ys(e){null===_w&&(_w=null==e._debugTask?null:e._debugTask)}function bs(){hw=Wv,cw||(4194048&Kv)!==Kv&&null!==fb.current||(dw=!0),!(134217727&mw)&&!(134217727&gw)||null===$v||ss($v,Kv,bw,!1)}function vs(e,t,n){var r=Yv;Yv|=Fv;var o=ms(),a=gs();if($v!==e||Kv!==t){if(If){var i=e.memoizedUpdaters;0<i.size&&(Qs(e,Kv),i.clear()),fe(e,t)}Tw=null,fs(e,t)}t=!1,i=hw;e:for(;;)try{if(sw!==Jv&&null!==Zv){var l=Zv,s=uw;switch(sw){case iw:cs(),i=Gv;break e;case tw:case ew:case lw:case ow:null===fb.current&&(t=!0);var u=sw;if(sw=Jv,uw=null,As(e,l,s,u),n&&dw){i=Uv;break e}break;default:u=sw,sw=Jv,uw=null,As(e,l,s,u)}}ws(),i=hw;break}catch(t){ps(e,t)}return t&&e.shellSuspendCounter++,or(),Yv=r,Gd.H=o,Gd.A=a,null===Zv&&($v=null,Kv=0,bn()),i}function ws(){for(;null!==Zv;)Ss(Zv)}function ks(){for(;null!==Zv&&!pf();)Ss(Zv)}function Ss(e){var t=e.alternate;(e.mode&jm)!==zm?(_r(e),t=W(e,Bi,t,e,pw),Rr(e)):t=W(e,Bi,t,e,pw),e.memoizedProps=e.pendingProps,null===t?Es(e):Zv=t}function xs(e){var t=W(e,Cs,e);e.memoizedProps=e.pendingProps,null===t?Es(e):Zv=t}function Cs(e){var t=e.alternate,n=(e.mode&jm)!==zm;switch(n&&_r(e),e.tag){case 15:case 0:t=Ti(t,e,e.pendingProps,e.type,void 0,Kv);break;case 11:t=Ti(t,e,e.pendingProps,e.type.render,e.ref,Kv);break;case 5:jo(e);default:Ji(t,e),t=Bi(t,e=Zv=On(e,pw),pw)}return n&&Rr(e),t}function As(e,t,n,r){or(),jo(t),Gy=null,Qy=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,If&&Qs(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&ur(t,n,o,!0),eg&&(tg=!0),null!==(n=fb.current)){switch(n.tag){case 31:case 13:return null===pb?bs():null===n.alternate&&hw===Uv&&(hw=Vv),n.flags&=-257,n.flags|=65536,n.lanes=o,r===By?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),Ms(e,r,o)),!1;case 22:return n.flags|=65536,r===By?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),Ms(e,r,o)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Ms(e,r,o),bs(),!1}if(eg)return tg=!0,null!==(t=fb.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==ag&&nr(Fn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:r}),n))):(r!==ag&&nr(Fn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=Fn(r,n),uo(e,o=hi(e.stateNode,r,o)),hw!==Wv&&(hw=Bv)),!1;var a=Fn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:r}),n);if(null===ww?ww=[a]:ww.push(a),hw!==Wv&&(hw=Bv),null===t)return!0;r=Fn(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,uo(n,e=hi(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Rw&&Rw.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,gi(o=mi(o),e,n,r),uo(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,Kv))return hw=Hv,fi(e,Fn(n,e.current)),void(Zv=null)}catch(t){if(null!==o)throw Zv=o,t;return hw=Hv,fi(e,Fn(n,e.current)),void(Zv=null)}32768&t.flags?(eg||r===Xv?e=!0:dw||536870912&Kv?e=!1:(cw=e=!0,(r===ew||r===lw||r===tw||r===ow)&&(null!==(r=fb.current)&&13===r.tag&&(r.flags|=16384))),Is(t,e)):Es(t)}function Es(e){var t=e;do{if(32768&t.flags)return void Is(t,cw);var n=t.alternate;if(e=t.return,_r(t),n=W(t,Zi,n,t,pw),(t.mode&jm)!==zm&&Pr(t),null!==n)return void(Zv=n);if(null!==(t=t.sibling))return void(Zv=t);Zv=t=e}while(null!==t);hw===Uv&&(hw=Qv)}function Is(e,t){do{var n=Ki(e.alternate,e);if(null!==n)return n.flags&=32767,void(Zv=n);if((e.mode&jm)!==zm){Pr(e),n=e.actualDuration;for(var r=e.child;null!==r;)n+=r.actualDuration,r=r.sibling;e.actualDuration=n}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(Zv=e);Zv=e=n}while(null!==e);hw=Gv,Zv=null}function Ts(e,t,n,r,o,a,i,l,s,u,c,d,f,p){e.cancelPendingCommit=null;do{Ls()}while(Uw!==zw);if(dy.flushLegacyContextWarning(),dy.flushPendingUnsafeLifecycleWarnings(),(Yv&(Fv|qv))!==Mv)throw Error("Should not already be working.");if(ln(n),u===Bv?mn(f,p,0,_w):null!==r?function(e,t,n,r,o,a){if(ym&&!(t<=e)){n=[];for(var i=0;i<r.length;i++){var l=r[i].value;n.push(["Recoverable Error","object"==typeof l&&null!==l&&"string"==typeof l.message?String(l.message):String(l)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:wm,trackGroup:vm,tooltipText:o?"Hydration Failed":"Recovered after Error",properties:n}}},a?a.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}(f,p,n,r,null!==t&&null!==t.alternate&&t.alternate.memoizedState.isDehydrated&&!!(256&t.flags),_w):function(e,t,n,r){if(ym&&!(t<=e)){var o=(738197653&n)===n?"tertiary-dark":"primary-dark";n=(536870912&n)===n?"Prepared":(201326741&n)===n?"Hydrated":"Render",r?r.run(console.timeStamp.bind(console,n,e,t,wm,vm,o)):console.timeStamp(n,e,t,wm,vm,o)}}(f,p,n,_w),null!==t){if(0===n&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(a=t.lanes|t.childLanes,function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-Tf(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&le(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,a|=Pm,i,l,s),e===$v&&(Zv=$v=null,Kv=0),Bw=t,Hw=e,Vw=n,Ww=a,Qw=o,Yw=r,Gw=p,$w=d,Zw=Pw,Kw=null,0!==t.actualDuration||10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,function(e,t){var n=Gd.actQueue;null!==n?n.push(t):df(e,t)}(vf,function(){return nS=window.event,Zw===Pw&&(Zw=Nw),zs(),null})):(e.callbackNode=null,e.callbackPriority=0),xg=null,kg=gg(),null!==d&&function(e,t,n,r){!ym||t<=e||(r?r.run(console.timeStamp.bind(console,n,e,t,wm,vm,"secondary-light")):console.timeStamp(n,e,t,wm,vm,"secondary-light"))}(p,kg,d,_w),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=Gd.T,Gd.T=null,o=Qd.p,Qd.p=Lf,i=Yv,Yv|=qv;try{!function(e,t){if(e=e.containerInfo,Jk=VS,Jt(e=Kt(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var i=0,l=-1,s=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||0!==o&&3!==d.nodeType||(l=i+o),d!==a||0!==r&&3!==d.nodeType||(s=i+r),3===d.nodeType&&(i+=d.nodeValue.length),null!==(p=d.firstChild);)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===o&&(l=i),f===a&&++c===r&&(s=i),null!==(p=d.nextSibling))break;f=(d=f).parentNode}d=p}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Xk={focusedElem:e,selectionRange:n},VS=!1,Ev=t;null!==Ev;)if(e=(t=Ev).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ev=e;else for(;null!==Ev;){switch(n=(e=t=Ev).alternate,o=e.flags,e.tag){case 0:if(4&o&&null!==(e=null!==(e=e.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:1024&o&&null!==n&&sl(e,n);break;case 3:if(1024&o)if(9===(n=(e=e.stateNode.containerInfo).nodeType))ic(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ic(e);break;default:e.textContent=""}break;default:if(1024&o)throw 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.")}if(null!==(e=t.sibling)){e.return=t.return,Ev=e;break}Ev=t.return}}(e,t)}finally{Yv=i,Qd.p=o,Gd.T=r}}Uw=Dw,_s(),Rs(),Ps()}}function _s(){if(Uw===Dw){Uw=zw;var e=Hw,t=Bw,n=Vw,r=!!(13878&t.flags);if(13878&t.subtreeFlags||r){r=Gd.T,Gd.T=null;var o=Qd.p;Qd.p=Lf;var a=Yv;Yv|=qv;try{Iv=n,Tv=e,Sr(),Ol(t,e),Tv=Iv=null,n=Xk;var i=Kt(e.containerInfo),l=n.focusedElem,s=n.selectionRange;if(i!==l&&l&&l.ownerDocument&&Zt(l.ownerDocument.documentElement,l)){if(null!==s&&Jt(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(i=g,g=m,m=i);var y=$t(l,m),b=$t(l,g);if(y&&b&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(v),p.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),p.addRange(v))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var w=d[l];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}VS=!!Jk,Xk=Jk=null}finally{Yv=a,Qd.p=o,Gd.T=r}}e.current=t,Uw=jw}}function Rs(){if(Uw===jw){Uw=zw;var e=Kw;if(null!==e){kg=gg();var t=Sg,n=kg;!ym||n<=t||console.timeStamp(e,t,n,wm,vm,"secondary-light")}e=Hw,n=Vw;var r=!!(8772&(t=Bw).flags);if(8772&t.subtreeFlags||r){r=Gd.T,Gd.T=null;var o=Qd.p;Qd.p=Lf;var a=Yv;Yv|=qv;try{Iv=n,Tv=e,Sr(),Cl(e,t.alternate,t),Tv=Iv=null}finally{Yv=a,Qd.p=o,Gd.T=r}}e=Gw,t=$w,Sg=gg(),e=null===t?e:kg,t=Sg,n=Zw===Ow,r=_w,null!==xg?gn(e,t,xg,!1,r):!ym||t<=e||(r?r.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,wm,vm,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,wm,vm,n?"error":"secondary-dark")),Uw=Mw}}function Ps(){if(Uw===Fw||Uw===Mw){if(Uw===Fw){var e=Sg,t=Sg=gg(),n=Zw===Ow;!ym||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,wm,vm,n?" error":"secondary-light"),Zw!==Ow&&(Zw=Lw)}Uw=zw,hf(),e=Hw;var r=Bw;t=Vw,n=Yw;var o=0!==r.actualDuration||!!(10256&r.subtreeFlags)||!!(10256&r.flags);o?Uw=qw:(Uw=zw,Bw=Hw=null,Ns(e,e.pendingLanes),ok=0,ak=null);var a=e.pendingLanes;if(0===a&&(Rw=null),o||Ws(e),a=pe(t),r=r.stateNode,Af&&"function"==typeof Af.onCommitFiberRoot)try{var i=!(128&~r.current.flags);switch(a){case Lf:var l=yf;break;case zf:l=bf;break;case Df:l=vf;break;case jf:l=kf;break;default:l=vf}Af.onCommitFiberRoot(Cf,r,l,i)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}if(If&&e.memoizedUpdaters.clear(),Dv.forEach(function(e){return e()}),null!==n){i=Gd.T,l=Qd.p,Qd.p=Lf,Gd.T=null;try{var s=e.onRecoverableError;for(r=0;r<n.length;r++){var u=n[r],c=Os(u.stack);W(u.source,s,u.value,c)}}finally{Gd.T=i,Qd.p=l}}!!(3&Vw)&&Ls(),Ys(e),a=e.pendingLanes,261930&t&&42&a?(oy=!0,e===ek?Xw++:(Xw=0,ek=e)):Xw=0,o||ds(t,Sg),$s(0)}}function Os(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Ns(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,yr(t)))}function Ls(){return _s(),Rs(),Ps(),zs()}function zs(){if(Uw!==qw)return!1;var e=Hw,t=Ww;Ww=0;var n=pe(Vw),r=Df>n?Df:n;n=Gd.T;var o=Qd.p;try{Qd.p=r,Gd.T=null;var a=Qw;Qw=null,r=Hw;var i=Vw;if(Uw=zw,Bw=Hw=null,Vw=0,(Yv&(Fv|qv))!==Mv)throw Error("Cannot flush passive effects while already rendering.");ln(i),tk=!0,nk=!1;var l;if(xg=null,l=mf(),Zw===Lw)yn(Sg,l);else{var s=Sg,u=l,c=Zw===Nw;!ym||u<=s||(_w?_w.run(console.timeStamp.bind(console,c?"Waiting for Paint":"Waiting",s,u,wm,vm,"secondary-light")):console.timeStamp(c?"Waiting for Paint":"Waiting",s,u,wm,vm,"secondary-light"))}s=Yv,Yv|=qv;var d=r.current;Sr(),Kl(d);var f=r.current;d=Gw,Sr(),Bl(r,f,i,a,d),Ws(r),Yv=s;var p=mf();if(f=l,d=_w,null!==xg?gn(f,p,xg,!0,d):!ym||p<=f||(d?d.run(console.timeStamp.bind(console,"Remaining Effects",f,p,wm,vm,"secondary-dark")):console.timeStamp("Remaining Effects",f,p,wm,vm,"secondary-dark")),ds(i,p),$s(0,!1),nk?r===ak?ok++:(ok=0,ak=r):ok=0,nk=tk=!1,Af&&"function"==typeof Af.onPostCommitFiberRoot)try{Af.onPostCommitFiberRoot(Cf,r)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}var h=r.current.stateNode;return h.effectDuration=0,h.passiveEffectDuration=0,!0}finally{Qd.p=o,Gd.T=n,Ns(e,t)}}function Ds(e,t,n){Nr(t=Fn(n,t)),null!==(e=lo(e,t=hi(e.stateNode,t,2),2))&&(ie(e,2),Ys(e))}function js(e,t,n){if(ik=!1,3===e.tag)Ds(e,e,n);else{for(;null!==t;){if(3===t.tag)return void Ds(t,e,n);if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Rw||!Rw.has(r)))return Nr(e=Fn(n,e)),void(null!==(r=lo(t,n=mi(2),2))&&(gi(n,r,t,e),ie(r,2),Ys(r)))}t=t.return}console.error("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}}function Ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new jv;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(fw=!0,o.add(n),r=Fs.bind(null,e,t,n),If&&Qs(e,n),t.then(r,r))}function Fs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,127&n?0>Og&&(Pg=Og=gg(),Ng=yg("Promise Resolved"),Lg=vg):!!(4194048&n)&&0>Bg&&(Ug=Bg=gg(),Wg=yg("Promise Resolved"),Vg=vg),ts()&&null===Gd.actQueue&&console.error("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act"),$v===e&&(Kv&n)===n&&(hw===Wv||hw===Vv&&(62914560&Kv)===Kv&&mf()-xw<Aw?(Yv&Fv)===Mv&&fs(e,0):yw|=n,vw===Kv&&(vw=0)),Ys(e)}function qs(e,t){0===t&&(t=oe()),null!==(e=kn(e,t))&&(ie(e,t),Ys(e))}function Us(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),qs(e,n)}function Hs(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==r&&r.delete(t),qs(e,n)}function Bs(e,t,n){if(67117056&t.subtreeFlags)for(t=t.child;null!==t;){var r=e,o=t,a=o.type===Od;a=n||a,22!==o.tag?67108864&o.flags?a&&W(o,Vs,r,o):Bs(r,o,a):null===o.memoizedState&&(a&&8192&o.flags?W(o,Vs,r,o):67108864&o.subtreeFlags&&W(o,Bs,r,o,a)),t=t.sibling}}function Vs(e,t){X(!0);try{Dl(t),Xl(t),Ml(e,t.alternate,t,!1),Wl(e,t,0,null,!1,0)}finally{X(!1)}}function Ws(e){var t=!0;e.current.mode&(Mm|Fm)||(t=!1),Bs(e,e.current,t)}function Gs(e){if((Yv&Fv)===Mv){var t=e.tag;if(3===t||1===t||0===t||11===t||14===t||15===t){if(t=E(e)||"ReactComponent",null!==lk){if(lk.has(t))return;lk.add(t)}else lk=new Set([t]);W(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Qs(e,t){If&&e.memoizedUpdaters.forEach(function(n){de(e,n,t)})}function Ys(e){e!==dk&&null===e.next&&(null===dk?ck=dk=e:dk=dk.next=e),hk=!0,null!==Gd.actQueue?pk||(pk=!0,nu()):fk||(fk=!0,nu())}function $s(e,t){if(!mk&&hk){mk=!0;do{for(var n=!1,r=ck;null!==r;){if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-Tf(42|e)+1)-1,a=201326741&(a&=o&~(i&~l))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,eu(r,a))}else a=Kv,!(3&(a=te(r,r===$v?a:0,null!==r.cancelPendingCommit||r.timeoutHandle!==aS)))||ne(r,a)||(n=!0,eu(r,a));r=r.next}}while(n);mk=!1}}function Zs(){nS=window.event,Ks()}function Ks(){hk=pk=fk=!1;var e=0;0!==gk&&function(){var e=window.event;return e&&"popstate"===e.type?e!==tS&&(tS=e,!0):(tS=null,!1)}()&&(e=gk);for(var t=mf(),n=null,r=ck;null!==r;){var o=r.next,a=Js(r,t);0===a?(r.next=null,null===n?ck=o:n.next=o,null===o&&(dk=n)):(n=r,(0!==e||!!(3&a))&&(hk=!0)),r=o}Uw!==zw&&Uw!==qw||$s(e),0!==gk&&(gk=0)}function Js(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var i=31-Tf(a),l=1<<i,s=o[i];-1===s?(0===(l&n)||0!==(l&r))&&(o[i]=re(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(n=Kv,n=te(e,e===(t=$v)?n:0,null!==e.cancelPendingCommit||e.timeoutHandle!==aS),r=e.callbackNode,0===n||e===t&&(sw===ew||sw===lw)||null!==e.cancelPendingCommit)return null!==r&&tu(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||ne(e,n)){if((t=n&-n)===e.callbackPriority&&(null===Gd.actQueue||r===yk))return t;switch(tu(r),pe(n)){case Lf:case zf:n=bf;break;case Df:n=vf;break;case jf:n=kf;break;default:n=vf}return r=Xs.bind(null,e),null!==Gd.actQueue?(Gd.actQueue.push(r),n=yk):n=df(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&tu(r),e.callbackPriority=2,e.callbackNode=null,2}function Xs(e,t){if(oy=ry=!1,nS=window.event,Uw!==zw&&Uw!==qw)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Zw===Pw&&(Zw=Nw),Ls()&&e.callbackNode!==n)return null;var r=Kv;return 0===(r=te(e,e===$v?r:0,null!==e.cancelPendingCommit||e.timeoutHandle!==aS))?null:(as(e,r,t),Js(e,mf()),null!=e.callbackNode&&e.callbackNode===n?Xs.bind(null,e):null)}function eu(e,t){if(Ls())return null;ry=oy,oy=!1,as(e,t,!0)}function tu(e){e!==yk&&null!==e&&ff(e)}function nu(){null!==Gd.actQueue&&Gd.actQueue.push(function(){return Ks(),null}),lS(function(){(Yv&(Fv|qv))!==Mv?df(yf,Zs):Ks()})}function ru(){if(0===gk){var e=ly;0===e&&(e=Pf,!(261888&(Pf<<=1))&&(Pf=256)),gk=e}return gk}function ou(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:(Z(e,"action"),kt(""+e))}function au(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function iu(e,t,n){e.currentTarget=n;try{t(e)}catch(e){sm(e)}e.currentTarget=null}function lu(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n];e:{var o=void 0,a=r.event;if(r=r.listeners,t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;null!==s?W(s,iu,a,l,u):iu(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;null!==s?W(s,iu,a,l,u):iu(a,l,u),o=s}}}}function su(e,t){vk.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Hf];void 0===n&&(n=t[Hf]=new Set);var r=e+"__bubble";n.has(r)||(du(t,e,2,!1),n.add(r))}function uu(e,t,n){vk.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),du(n,e,r,t)}function cu(e){if(!e[wk]){e[wk]=!0,Qf.forEach(function(t){"selectionchange"!==t&&(vk.has(t)||uu(t,!1,e),uu(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[wk]||(t[wk]=!0,uu("selectionchange",!1,t))}}function du(e,t,n,r){switch(ed(t)){case Lf:var o=$c;break;case zf:o=Zc;break;default:o=Kc}n=o.bind(null,t,n,e),o=void 0,!Yp||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function fu(e,t,n,r,o){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&i.stateNode.containerInfo===o)return;i=i.return}for(;null!==l;){if(null===(i=ye(l)))return;if(5===(s=i.tag)||6===s||26===s||27===s){r=a=i;continue e}l=l.parentNode}}r=r.return}At(function(){var r=a,o=xt(n),i=[];e:{var l=nm.get(e);if(void 0!==l){var s=rh,u=e;switch(e){case"keypress":if(0===Tt(n))break e;case"keydown":case"keyup":s=vh;break;case"focusin":u="focus",s=uh;break;case"focusout":u="blur",s=uh;break;case"beforeblur":case"afterblur":s=uh;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=lh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=sh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=kh;break;case $h:case Zh:case Kh:s=ch;break;case tm:s=Sh;break;case"scroll":case"scrollend":s=ah;break;case"wheel":s=Ch;break;case"copy":case"cut":case"paste":s=fh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=wh;break;case"toggle":case"beforetoggle":s=Ah}var c=!!(4&t),d=!c&&("scroll"===e||"scrollend"===e),f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=h;if(p=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===p||null===f||null!=(m=Et(h,f))&&c.push(pu(h,m,p)),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Bp||!(u=n.relatedTarget||n.fromElement)||!ye(u)&&!u[Uf])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ye(u):null)&&(d=y(u),c=u.tag,u!==d||5!==c&&27!==c&&6!==c)&&(u=null)):(s=null,u=r),s!==u)){if(c=lh,m="onMouseLeave",f="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=wh,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:ve(s),p=null==u?l:ve(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,ye(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(c=mu,h=u,p=0,m=f=s;m;m=c(m))p++;m=0;for(var g=h;g;g=c(g))m++;for(;0<p-m;)f=c(f),p--;for(;0<m-p;)h=c(h),m--;for(;p--;){if(f===h||null!==h&&f===h.alternate){c=f;break e}f=c(f),h=c(h)}c=null}else c=null;null!==s&&gu(i,l,s,c,!1),null!==u&&null!==d&&gu(i,d,u,c,!0)}if("select"===(s=(l=r?ve(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var b=qt;else if(Dt(l))if(Fh)b=Gt;else{b=Vt;var v=Bt}else!(s=l.nodeName)||"input"!==s.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&yt(r.elementType)&&(b=qt):b=Wt;switch(b&&(b=b(e,r))?jt(i,b,n,o):(v&&v(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&Fe(l,"number",l.value)),v=r?ve(r):window,e){case"focusin":(Dt(v)||"true"===v.contentEditable)&&(Hh=v,Bh=r,Vh=null);break;case"focusout":Vh=Bh=Hh=null;break;case"mousedown":Wh=!0;break;case"contextmenu":case"mouseup":case"dragend":Wh=!1,Xt(i,n,o);break;case"selectionchange":if(Uh)break;case"keydown":case"keyup":Xt(i,n,o)}var w;if(Th)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else zh?Lt(e,n)&&(k="onCompositionEnd"):"keydown"===e&&n.keyCode===Ih&&(k="onCompositionStart");k&&(Ph&&"ko"!==n.locale&&(zh||"onCompositionStart"!==k?"onCompositionEnd"===k&&zh&&(w=It()):(eh="value"in(Xp=o)?Xp.value:Xp.textContent,zh=!0)),0<(v=hu(r,k)).length&&(k=new ph(k,e,null,n,o),i.push({event:k,listeners:v}),w?k.data=w:null!==(w=zt(n))&&(k.data=w))),(w=Rh?function(e,t){switch(e){case"compositionend":return zt(t);case"keypress":return t.which!==Oh?null:(Lh=!0,Nh);case"textInput":return(e=t.data)===Nh&&Lh?null:e;default:return null}}(e,n):function(e,t){if(zh)return"compositionend"===e||!Th&&Lt(e,t)?(e=It(),th=eh=Xp=null,zh=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ph&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(k=hu(r,"onBeforeInput")).length&&(v=new hh("onBeforeInput","beforeinput",null,n,o),i.push({event:v,listeners:k}),v.data=w)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var a=ou((o[qf]||null).action),i=r.submitter;i&&null!==(t=(t=i[qf]||null)?ou(t.formAction):i.getAttribute("formAction"))&&(a=t,i=null);var l=new rh("action","action",null,r,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==gk){var e=i?au(o,i):new FormData(o),t={pending:!0,data:e,method:o.method,action:a};Object.freeze(t),Ua(n,t,null,e)}}else"function"==typeof a&&(l.preventDefault(),t={pending:!0,data:e=i?au(o,i):new FormData(o),method:o.method,action:a},Object.freeze(t),Ua(n,t,a,e))},currentTarget:o}]})}}(i,e,r,n,o)}lu(i,t)})}function pu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function hu(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=Et(e,n))&&r.unshift(pu(e,o,a)),null!=(o=Et(e,t))&&r.push(pu(e,o,a))),3===e.tag)return r;e=e.return}return[]}function mu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function gu(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,o?null!=(u=Et(n,a))&&i.unshift(pu(n,u,s)):o||null!=(u=Et(n,a))&&i.push(pu(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function yu(e,t){(function(e,t){var n,r=[];for(n in t)vt(e,n)||r.push(n);t=r.map(function(e){return"`"+e+"`"}).join(", "),1===r.length?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<r.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)})(e,t),"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Dp||(Dp=!0,"select"===e&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Yf,possibleRegistrationNames:$f};yt(e)||"string"==typeof t.is||function(e,t,n){var r,o=[];for(r in t)wt(e,r,t[r],n)||o.push(r);t=o.map(function(e){return"`"+e+"`"}).join(", "),1===o.length?console.error("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://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("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://react.dev/link/attribute-behavior ",t,e)}(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&null!=t.children&&console.error("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.")}function bu(e,t,n,r){t!==n&&(n=ku(n),ku(t)!==n&&(r[e]=t))}function vu(e,t){!1===t?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function wu(e,t){return(e=e.namespaceURI===Tp||e.namespaceURI===_p?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName)).innerHTML=t,e.innerHTML}function ku(e){return Y(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Q(e)),$(e)),("string"==typeof e?e:""+e).replace(_k,"\n").replace(Rk,"")}function Su(e,t){return t=ku(t),ku(e)===t}function xu(e,t,n,r,o,a){switch(n){case"children":"string"==typeof r?(pt(r,t,!1),"body"===t||"textarea"===t&&""===r||ht(e,r)):("number"==typeof r||"bigint"==typeof r)&&(pt(""+r,t,!1),"body"!==t&&ht(e,""+r));break;case"className":Te(e,"class",r);break;case"tabIndex":Te(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Te(e,n,r);break;case"style":gt(e,r,a);break;case"data":if("object"!==t){Te(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){console.error("src"===n?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}Z(r,n),r=kt(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if(null!=r&&("form"===t?"formAction"===n?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):"function"==typeof r&&(null==o.encType&&null==o.method||Ek||(Ek=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),null==o.target||Ak||(Ak=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):"input"===t||"button"===t?"action"===n?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):"input"!==t||"submit"===o.type||"image"===o.type||xk?"button"!==t||null==o.type||"submit"===o.type||xk?"function"==typeof r&&(null==o.name||Ck||(Ck=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),null==o.formEncType&&null==o.formMethod||Ek||(Ek=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),null==o.formTarget||Ak||(Ak=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(xk=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(xk=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error("action"===n?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),"function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&xu(e,t,"name",o.name,o,null),xu(e,t,"formEncType",o.formEncType,o,null),xu(e,t,"formMethod",o.formMethod,o,null),xu(e,t,"formTarget",o.formTarget,o,null)):(xu(e,t,"encType",o.encType,o,null),xu(e,t,"method",o.method,o,null),xu(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}Z(r,n),r=kt(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&("function"!=typeof r&&vu(n,r),e.onclick=St);break;case"onScroll":null!=r&&("function"!=typeof r&&vu(n,r),su("scroll",e));break;case"onScrollEnd":null!=r&&("function"!=typeof r&&vu(n,r),su("scrollend",e));break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(null!=(n=r.__html)){if(null!=o.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}Z(r,n),n=kt(""+r),e.setAttributeNS(Pk,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?(Z(r,n),e.setAttribute(n,""+r)):e.removeAttribute(n);break;case"inert":""!==r||Tk[n]||(Tk[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?(Z(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?(Z(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):(Z(r,n),e.setAttribute(n,r));break;case"popover":su("beforetoggle",e),su("toggle",e),Ie(e,"popover",r);break;case"xlinkActuate":_e(e,Pk,"xlink:actuate",r);break;case"xlinkArcrole":_e(e,Pk,"xlink:arcrole",r);break;case"xlinkRole":_e(e,Pk,"xlink:role",r);break;case"xlinkShow":_e(e,Pk,"xlink:show",r);break;case"xlinkTitle":_e(e,Pk,"xlink:title",r);break;case"xlinkType":_e(e,Pk,"xlink:type",r);break;case"xmlBase":_e(e,Ok,"xml:base",r);break;case"xmlLang":_e(e,Ok,"xml:lang",r);break;case"xmlSpace":_e(e,Ok,"xml:space",r);break;case"is":null!=a&&console.error('Cannot update the "is" prop after it has been initialized.'),Ie(e,"is",r);break;case"innerText":case"textContent":break;case"popoverTarget":Ik||null==r||"object"!=typeof r||(Ik=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]?Ie(e,n=bt(n),r):Yf.hasOwnProperty(n)&&null!=r&&"function"!=typeof r&&vu(n,r)}}function Cu(e,t,n,r,o,a){switch(n){case"style":gt(e,r,a);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(null!=(n=r.__html)){if(null!=o.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":"string"==typeof r?ht(e,r):("number"==typeof r||"bigint"==typeof r)&&ht(e,""+r);break;case"onScroll":null!=r&&("function"!=typeof r&&vu(n,r),su("scroll",e));break;case"onScrollEnd":null!=r&&("function"!=typeof r&&vu(n,r),su("scrollend",e));break;case"onClick":null!=r&&("function"!=typeof r&&vu(n,r),e.onclick=St);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Yf.hasOwnProperty(n)?null!=r&&"function"!=typeof r&&vu(n,r):"o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(a=null!=(a=e[qf]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):Ie(e,n,r):("function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,o))}}function Au(e,t,n){switch(yu(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":su("error",e),su("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:xu(e,t,r,i,n,null)}}return a&&xu(e,t,"srcSet",n.srcSet,n,null),void(o&&xu(e,t,"src",n.src,n,null));case"input":Ce("input",n),su("invalid",e);var l=r=i=a=null,s=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var c=n[o];if(null!=c)switch(o){case"name":a=c;break;case"type":i=c;break;case"checked":s=c;break;case"defaultChecked":u=c;break;case"value":r=c;break;case"defaultValue":l=c;break;case"children":case"dangerouslySetInnerHTML":if(null!=c)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:xu(e,t,o,c,n,null)}}return De(0,n),void Me(e,r,l,s,u,i,a,!1);case"select":for(a in Ce("select",n),su("invalid",e),o=i=r=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":r=l;break;case"defaultValue":i=l;break;case"multiple":o=l;default:xu(e,t,a,l,n,null)}return Be(e,n),t=r,n=i,e.multiple=!!o,void(null!=t?He(e,!!o,t,!1):null!=n&&He(e,!!o,n,!0));case"textarea":for(i in Ce("textarea",n),su("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(i)&&null!=(l=n[i]))switch(i){case"value":o=l;break;case"defaultValue":a=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:xu(e,t,i,l,n,null)}return Ve(0,n),void Ge(e,o,a,r);case"option":for(s in qe(0,n),n)if(n.hasOwnProperty(s)&&null!=(o=n[s]))if("selected"===s)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else xu(e,t,s,o,n,null);return;case"dialog":su("beforetoggle",e),su("toggle",e),su("cancel",e),su("close",e);break;case"iframe":case"object":su("load",e);break;case"video":case"audio":for(o=0;o<bk.length;o++)su(bk[o],e);break;case"image":su("error",e),su("load",e);break;case"details":su("toggle",e);break;case"embed":case"source":case"link":su("error",e),su("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:xu(e,t,u,o,n,null)}return;default:if(yt(t)){for(c in n)n.hasOwnProperty(c)&&(void 0!==(o=n[c])&&Cu(e,t,c,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&xu(e,t,l,o,n,null))}function Eu(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Iu(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var r=e[n];t[r]=e.getPropertyValue(r)}return t}function Tu(e,t,n){if(null!=t&&"object"!=typeof t)console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,o,a=r="";for(o in t)if(t.hasOwnProperty(o)){var i=t[o];null!=i&&"boolean"!=typeof i&&""!==i&&(0===o.indexOf("--")?(K(i,o),r+=a+o+":"+(""+i).trim()):"number"!=typeof i||0===i||Ip.has(o)?(K(i,o),r+=a+o.replace(yp,"-$1").toLowerCase().replace(bp,"-ms-")+":"+(""+i).trim()):r+=a+o.replace(yp,"-$1").toLowerCase().replace(bp,"-ms-")+":"+i+"px",a=";")}r=r||null,(t=e.getAttribute("style"))!==r&&(r=ku(r),ku(t)!==r&&(n.style=Iu(e)))}}function _u(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(Z(r,t),e===""+r)return}bu(t,e,r,a)}function Ru(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n))){switch(typeof r){case"function":case"symbol":return}if(!r)return}else switch(typeof r){case"function":case"symbol":break;default:if(r)return}bu(t,e,r,a)}function Pu(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":return}else if(null!=r)switch(typeof r){case"function":case"symbol":break;default:if(Z(r,n),e===""+r)return}bu(t,e,r,a)}function Ou(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(r))return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(!isNaN(r)&&(Z(r,t),e===""+r))return}bu(t,e,r,a)}function Nu(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(Z(r,t),e===(n=kt(""+r)))return}bu(t,e,r,a)}function Lu(e,t,n,r){for(var o={},a=new Set,i=e.attributes,l=0;l<i.length;l++)switch(i[l].name.toLowerCase()){case"value":case"checked":case"selected":break;default:a.add(i[l].name)}if(yt(t)){for(var s in n)if(n.hasOwnProperty(s)){var u=n[s];if(null!=u)if(Yf.hasOwnProperty(s))"function"!=typeof u&&vu(s,u);else if(!0!==n.suppressHydrationWarning)switch(s){case"children":"string"!=typeof u&&"number"!=typeof u||bu("children",e.textContent,u,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":i=e.innerHTML,null!=(u=u?u.__html:void 0)&&bu(s,i,u=wu(e,u),o);continue;case"style":a.delete(s),Tu(e,u,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":a.delete(s.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",s);continue;case"className":a.delete("class"),bu("className",i=Ee(e,"class",u),u,o);continue;default:r.context===$k&&"svg"!==t&&"math"!==t?a.delete(s.toLowerCase()):a.delete(s),bu(s,i=Ee(e,s,u),u,o)}}}else for(u in n)if(n.hasOwnProperty(u)&&null!=(s=n[u]))if(Yf.hasOwnProperty(u))"function"!=typeof s&&vu(u,s);else if(!0!==n.suppressHydrationWarning)switch(u){case"children":"string"!=typeof s&&"number"!=typeof s||bu("children",e.textContent,s,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":i=e.innerHTML,null!=(s=s?s.__html:void 0)&&(i!==(s=wu(e,s))&&(o[u]={__html:i}));continue;case"className":_u(e,u,"class",s,a,o);continue;case"tabIndex":_u(e,u,"tabindex",s,a,o);continue;case"style":a.delete(u),Tu(e,s,o);continue;case"multiple":a.delete(u),bu(u,e.multiple,s,o);continue;case"muted":a.delete(u),bu(u,e.muted,s,o);continue;case"autoFocus":a.delete("autofocus"),bu(u,e.autofocus,s,o);continue;case"data":if("object"!==t){a.delete(u),bu(u,i=e.getAttribute("data"),s,o);continue}case"src":case"href":if(!(""!==s||"a"===t&&"href"===u||"object"===t&&"data"===u)){console.error("src"===u?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',u,u);continue}Nu(e,u,u,s,a,o);continue;case"action":case"formAction":if(i=e.getAttribute(u),"function"==typeof s){a.delete(u.toLowerCase()),"formAction"===u?(a.delete("name"),a.delete("formenctype"),a.delete("formmethod"),a.delete("formtarget")):(a.delete("enctype"),a.delete("method"),a.delete("target"));continue}if(i===Nk){a.delete(u.toLowerCase()),bu(u,"function",s,o);continue}Nu(e,u,u.toLowerCase(),s,a,o);continue;case"xlinkHref":Nu(e,u,"xlink:href",s,a,o);continue;case"contentEditable":Pu(e,u,"contenteditable",s,a,o);continue;case"spellCheck":Pu(e,u,"spellcheck",s,a,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Pu(e,u,u,s,a,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Ru(e,u,u.toLowerCase(),s,a,o);continue;case"capture":case"download":e:{l=e;var c=i=u,d=o;if(a.delete(c),null===(l=l.getAttribute(c)))switch(typeof s){case"undefined":case"function":case"symbol":break e;default:if(!1===s)break e}else if(null!=s)switch(typeof s){case"function":case"symbol":break;case"boolean":if(!0===s&&""===l)break e;break;default:if(Z(s,i),l===""+s)break e}bu(i,l,s,d)}continue;case"cols":case"rows":case"size":case"span":e:{if(l=e,c=i=u,d=o,a.delete(c),null===(l=l.getAttribute(c)))switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(s)||1>s)break e}else if(null!=s)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(s)||1>s)&&(Z(s,i),l===""+s))break e}bu(i,l,s,d)}continue;case"rowSpan":Ou(e,u,"rowspan",s,a,o);continue;case"start":Ou(e,u,u,s,a,o);continue;case"xHeight":_u(e,u,"x-height",s,a,o);continue;case"xlinkActuate":_u(e,u,"xlink:actuate",s,a,o);continue;case"xlinkArcrole":_u(e,u,"xlink:arcrole",s,a,o);continue;case"xlinkRole":_u(e,u,"xlink:role",s,a,o);continue;case"xlinkShow":_u(e,u,"xlink:show",s,a,o);continue;case"xlinkTitle":_u(e,u,"xlink:title",s,a,o);continue;case"xlinkType":_u(e,u,"xlink:type",s,a,o);continue;case"xmlBase":_u(e,u,"xml:base",s,a,o);continue;case"xmlLang":_u(e,u,"xml:lang",s,a,o);continue;case"xmlSpace":_u(e,u,"xml:space",s,a,o);continue;case"inert":""!==s||Tk[u]||(Tk[u]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",u)),Ru(e,u,u,s,a,o);continue;default:if(!(2<u.length)||"o"!==u[0]&&"O"!==u[0]||"n"!==u[1]&&"N"!==u[1]){l=bt(u),i=!1,r.context===$k&&"svg"!==t&&"math"!==t?a.delete(l.toLowerCase()):(c=u.toLowerCase(),null!==(c=Pp.hasOwnProperty(c)&&Pp[c]||null)&&c!==u&&(i=!0,a.delete(c)),a.delete(l));e:if(c=e,d=l,l=s,Ae(d))if(c.hasAttribute(d))c=c.getAttribute(d),Z(l,d),l=c===""+l?l:c;else{switch(typeof l){case"function":case"symbol":break e;case"boolean":if("data-"!==(c=d.toLowerCase().slice(0,5))&&"aria-"!==c)break e}l=void 0===l?void 0:null}else l=void 0;i||bu(u,l,s,o)}}return 0<a.size&&!0!==n.suppressHydrationWarning&&function(e,t,n){t.forEach(function(t){n[Eu(t)]="style"===t?Iu(e):e.getAttribute(t)})}(e,a,o),0===Object.keys(o).length?null:o}function zu(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Du(e){return 9===e.nodeType?e:e.ownerDocument}function ju(e){switch(e){case _p:return Zk;case Tp:return Kk;default:return $k}}function Mu(e,t){if(e===$k)switch(t){case"svg":return Zk;case"math":return Kk;default:return $k}return e===Zk&&"foreignObject"===t?$k:e}function Fu(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function qu(){var e=window.event;return e&&e!==nS?e.type:null}function Uu(){var e=window.event;return e&&e!==nS?e.timeStamp:-1.1}function Hu(e){setTimeout(function(){throw e})}function Bu(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Vu(){}function Wu(e,t,n,r){(function(e,t,n,r){switch(yu(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,i=null,l=null,s=null,u=null,c=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&null!=d)switch(p){case"checked":case"value":break;case"defaultValue":s=d;default:r.hasOwnProperty(p)||xu(e,t,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(null!=p||null!=d))switch(f){case"type":a=p;break;case"name":o=p;break;case"checked":u=p;break;case"defaultChecked":c=p;break;case"value":i=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:p!==d&&xu(e,t,f,p,r,d)}}return t="checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value,r="checkbox"===r.type||"radio"===r.type?null!=r.checked:null!=r.value,t||!r||Sk||(console.error("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://react.dev/link/controlled-components"),Sk=!0),!t||r||kk||(console.error("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://react.dev/link/controlled-components"),kk=!0),void je(e,i,l,s,u,c,a,o);case"select":for(a in p=i=l=f=null,n)if(s=n[a],n.hasOwnProperty(a)&&null!=s)switch(a){case"value":break;case"multiple":p=s;default:r.hasOwnProperty(a)||xu(e,t,a,null,r,s)}for(o in r)if(a=r[o],s=n[o],r.hasOwnProperty(o)&&(null!=a||null!=s))switch(o){case"value":f=a;break;case"defaultValue":l=a;break;case"multiple":i=a;default:a!==s&&xu(e,t,o,a,r,s)}return r=l,t=i,n=p,void(null!=f?He(e,!!t,f,!1):!!n!=!!t&&(null!=r?He(e,!!t,r,!0):He(e,!!t,t?[]:"",!1)));case"textarea":for(l in p=f=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:xu(e,t,l,null,r,o)}for(i in r)if(o=r[i],a=n[i],r.hasOwnProperty(i)&&(null!=o||null!=a))switch(i){case"value":f=o;break;case"defaultValue":p=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==a&&xu(e,t,i,o,r,a)}return void We(e,f,p);case"option":for(var h in n)f=n[h],n.hasOwnProperty(h)&&null!=f&&!r.hasOwnProperty(h)&&("selected"===h?e.selected=!1:xu(e,t,h,null,r,f));for(s in r)f=r[s],p=n[s],!r.hasOwnProperty(s)||f===p||null==f&&null==p||("selected"===s?e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f:xu(e,t,s,f,r,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)f=n[m],n.hasOwnProperty(m)&&null!=f&&!r.hasOwnProperty(m)&&xu(e,t,m,null,r,f);for(u in r)if(f=r[u],p=n[u],r.hasOwnProperty(u)&&f!==p&&(null!=f||null!=p))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:xu(e,t,u,f,r,p)}return;default:if(yt(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&void 0!==f&&!r.hasOwnProperty(g)&&Cu(e,t,g,void 0,r,f);for(c in r)f=r[c],p=n[c],!r.hasOwnProperty(c)||f===p||void 0===f&&void 0===p||Cu(e,t,c,f,r,p);return}}for(var y in n)f=n[y],n.hasOwnProperty(y)&&null!=f&&!r.hasOwnProperty(y)&&xu(e,t,y,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||null==f&&null==p||xu(e,t,d,f,r,p)})(e,t,n,r),e[qf]=r}function Gu(e){ht(e,"")}function Qu(e,t,n){e.nodeValue=n}function Yu(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[qf]||null;if(null!==t){var n=be(e);null!==n&&("string"==typeof t.children||"number"==typeof t.children?(e.__reactWarnedAboutChildrenConflict=!0,W(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):null!=t.dangerouslySetInnerHTML&&(e.__reactWarnedAboutChildrenConflict=!0,W(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function $u(e){return"head"===e}function Zu(e,t){e.removeChild(t)}function Ku(e,t){(9===e.nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).removeChild(t)}function Ju(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if((n=o.data)===Mk||n===Dk){if(0===r)return e.removeChild(o),void ud(t);r--}else if(n===jk||n===Fk||n===qk||n===Uk||n===zk)r++;else if(n===Hk)wc(e.ownerDocument.documentElement);else if(n===Vk){wc(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[Gf]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=i}}else n===Bk&&wc(e.ownerDocument.body);n=o}while(n);ud(t)}function Xu(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if((n=r.data)===Mk){if(0===e)break;e--}else n!==jk&&n!==Fk&&n!==qk&&n!==Uk||e++;n=r}while(n)}function ec(e){Xu(e,!0)}function tc(e){"function"==typeof(e=e.style).setProperty?e.setProperty("display","none","important"):e.display="none"}function nc(e){e.nodeValue=""}function rc(e){Xu(e,!1)}function oc(e,t){t=null!=(t=t[Yk])&&t.hasOwnProperty("display")?t.display:null,e.style.display=null==t||"boolean"==typeof t?"":(""+t).trim()}function ac(e,t){e.nodeValue=t}function ic(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":ic(n),ge(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function lc(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=cc(e.nextSibling)))return null;return e}function sc(e){return e.data===Fk||e.data===qk}function uc(e){return e.data===Uk||e.data===Fk&&e.ownerDocument.readyState!==Qk}function cc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if((t=e.data)===jk||t===Uk||t===Fk||t===qk||t===zk||t===Wk||t===Gk)break;if(t===Mk||t===Dk)return null}}return e}function dc(e){if(1===e.nodeType){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,o=0;o<r.length;o++){var a=r[o];n[Eu(a.name)]="style"===a.name.toLowerCase()?Iu(e):a.value}return{type:t,props:n}}return 8===e.nodeType?e.data===zk?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function fc(e,t,n){return null===n||!0!==n[Lk]?(e.nodeValue===t?e=null:(t=ku(t),e=ku(e.nodeValue)===t?null:e.nodeValue),e):null}function pc(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Mk||n===Dk){if(0===t)return cc(e.nextSibling);t--}else n!==jk&&n!==Uk&&n!==Fk&&n!==qk&&n!==zk||t++}e=e.nextSibling}return null}function hc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===jk||n===Uk||n===Fk||n===qk||n===zk){if(0===t)return e;t--}else n!==Mk&&n!==Dk||t++}e=e.previousSibling}return null}function mc(e){ud(e)}function gc(e){ud(e)}function yc(e){ud(e)}function bc(e,t,n,r,o){switch(o&&ft(e,r.ancestorInfo),t=Du(n),e){case"html":if(!(e=t.documentElement))throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(!(e=t.head))throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(!(e=t.body))throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function vc(e,t,n,r){if(!n[Uf]&&be(n)){var o=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=n.attributes;o.length;)n.removeAttributeNode(o[0]);Au(n,e,t),n[Ff]=r,n[qf]=t}function wc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ge(e)}function kc(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}function Sc(e,t,n){var r=IS;if(r&&"string"==typeof t&&t){var o=ze(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),mS.has(o)||(mS.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(Au(t=r.createElement("link"),"link",e),ke(t),r.head.appendChild(t)))}}function xc(e,t,n,r){var o=(o=ef.current)?kc(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=Ac(n.href),(r=(t=we(o).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Ac(n.href);var a=we(o).hoistableStyles,i=a.get(e);if(!i&&(o=o.ownerDocument||o,i={type:"stylesheet",instance:null,count:0,state:{loading:uS,preload:null}},a.set(e,i),(a=o.querySelector(Ec(e)))&&!a._p&&(i.instance=a,i.state.loading=cS|pS),!hS.has(e))){var l={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};hS.set(e,l),a||function(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=cS:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=cS}),t.addEventListener("error",function(){return r.loading|=dS}),Au(t,"link",n),ke(t),e.head.appendChild(t))}(o,e,l,i.state)}if(t&&null===r)throw n="\n\n - "+Cc(t)+"\n + "+Cc(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return i}if(t&&null!==r)throw n="\n\n - "+Cc(t)+"\n + "+Cc(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=Tc(n),(r=(t=we(o).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Cc(e){var t=0,n="<link";return"string"==typeof e.rel?(t++,n+=' rel="'+e.rel+'"'):cf.call(e,"rel")&&(t++,n+=' rel="'+(null===e.rel?"null":"invalid type "+typeof e.rel)+'"'),"string"==typeof e.href?(t++,n+=' href="'+e.href+'"'):cf.call(e,"href")&&(t++,n+=' href="'+(null===e.href?"null":"invalid type "+typeof e.href)+'"'),"string"==typeof e.precedence?(t++,n+=' precedence="'+e.precedence+'"'):cf.call(e,"precedence")&&(t++,n+=" precedence={"+(null===e.precedence?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Ac(e){return'href="'+ze(e)+'"'}function Ec(e){return'link[rel="stylesheet"]['+e+"]"}function Ic(e){return Id({},e,{"data-precedence":e.precedence,precedence:null})}function Tc(e){return'[src="'+ze(e)+'"]'}function _c(e){return"script[async]"+e}function Rc(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ze(n.href)+'"]');if(r)return t.instance=r,ke(r),r;var o=Id({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return ke(r=(e.ownerDocument||e).createElement("style")),Au(r,"style",o),Pc(r,n.precedence,e),t.instance=r;case"stylesheet":o=Ac(n.href);var a=e.querySelector(Ec(o));if(a)return t.state.loading|=pS,t.instance=a,ke(a),a;r=Ic(n),(o=hS.get(o))&&Oc(r,o),ke(a=(e.ownerDocument||e).createElement("link"));var i=a;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),Au(a,"link",r),t.state.loading|=pS,Pc(a,n.precedence,e),t.instance=a;case"script":return a=Tc(n.src),(o=e.querySelector(_c(a)))?(t.instance=o,ke(o),o):(r=n,(o=hS.get(a))&&Nc(r=Id({},n),o),ke(o=(e=e.ownerDocument||e).createElement("script")),Au(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else"stylesheet"===t.type&&(t.state.loading&pS)===uS&&(r=t.instance,t.state.loading|=pS,Pc(r,n.precedence,e));return t.instance}function Pc(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Oc(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Nc(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}function Lc(e,t,n){if(null===TS){var r=new Map,o=TS=new Map;o.set(n,r)}else(r=(o=TS).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[Gf]||a[Ff]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&a.namespaceURI!==_p){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function zc(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Dc(e){return!("stylesheet"===e.type&&(e.state.loading&fS)===uS)}function jc(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)Mc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}function Mc(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,LS=new Map,t.forEach(Fc,e),LS=null,jc.call(e))}function Fc(e,t){if(!(t.state.loading&pS)){var n=LS.get(e);if(n)var r=n.get(NS);else{n=new Map,LS.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(NS,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(NS,o),n.set(i,o),this.count++,r=jc.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=pS}}function qc(e,t,n,r,o,a,i,l,s){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=aS,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ae(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ae(0),this.hiddenUpdates=ae(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Uc(e,t,n,r,o,a,i,l,s,u,c,d){return e=new qc(e,t,n,i,s,u,c,d,l),t=Dm,!0===a&&(t|=Mm|Fm),a=f(3,null,null,t|=jm),e.current=a,a.stateNode=e,gr(t=mr()),e.pooledCache=t,gr(t),a.memoizedState={element:r,isDehydrated:n,cache:t},oo(a),e}function Hc(e){return e?e=Om:Om}function Bc(e,t,n,r,o,a){if(Af&&"function"==typeof Af.onScheduleFiberRoot)try{Af.onScheduleFiberRoot(Cf,r,n)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}o=Hc(o),null===r.context?r.context=o:r.pendingContext=o,uf&&null!==sf&&!HS&&(HS=!0,console.error("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",E(sf)||"Unknown")),(r=io(t)).payload={element:n},null!==(a=void 0===a?null:a)&&("function"!=typeof a&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),null!==(n=lo(e,r,t))&&(br(t,"root.render()",null),os(n,e,t),so(n,e,t))}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}function Gc(e){if(13===e.tag||31===e.tag){var t=kn(e,67108864);null!==t&&os(t,e,67108864),Wc(e,67108864)}}function Qc(e){if(13===e.tag||31===e.tag){var t=ns(e),n=kn(e,t=ce(t));null!==n&&os(n,e,t),Wc(e,t)}}function Yc(){return sf}function $c(e,t,n,r){var o=Gd.T;Gd.T=null;var a=Qd.p;try{Qd.p=Lf,Kc(e,t,n,r)}finally{Qd.p=a,Gd.T=o}}function Zc(e,t,n,r){var o=Gd.T;Gd.T=null;var a=Qd.p;try{Qd.p=zf,Kc(e,t,n,r)}finally{Qd.p=a,Gd.T=o}}function Kc(e,t,n,r){if(VS){var o=Jc(r);if(null===o)fu(e,t,r,WS,n),td(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return QS=nd(QS,e,t,n,r,o),!0;case"dragenter":return YS=nd(YS,e,t,n,r,o),!0;case"mouseover":return $S=nd($S,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return ZS.set(a,nd(ZS.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,KS.set(a,nd(KS.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(td(e,r),4&t&&-1<XS.indexOf(e)){for(;null!==o;){var a=be(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=ee(a.pendingLanes);if(0!==i){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-Tf(i);l.entanglements[1]|=s,i&=~s}Ys(a),(Yv&(Fv|qv))===Mv&&(Ew=mf()+Iw,$s(0))}}break;case 31:case 13:null!==(l=kn(a,2))&&os(l,a,2),us(),Wc(a,2)}if(null===(a=Jc(r))&&fu(e,t,r,WS,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else fu(e,t,r,null,n)}}function Jc(e){return Xc(e=xt(e))}function Xc(e){if(WS=null,null!==(e=ye(e))){var t=y(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=v(t)))return e;e=null}else if(31===n){if(null!==(e=w(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return WS=e,null}function ed(e){switch(e){case"beforetoggle":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"toggle":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 Lf;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return zf;case"message":switch(gf()){case yf:return Lf;case bf:return zf;case vf:case wf:return Df;case kf:return jf;default:return Df}default:return Df}}function td(e,t){switch(e){case"focusin":case"focusout":QS=null;break;case"dragenter":case"dragleave":YS=null;break;case"mouseover":case"mouseout":$S=null;break;case"pointerover":case"pointerout":ZS.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":KS.delete(t.pointerId)}}function nd(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=be(t))&&Gc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function rd(e){var t=ye(e.target);if(null!==t){var n=y(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=v(n)))return e.blockedOn=t,void me(e.priority,function(){Qc(n)})}else if(31===t){if(null!==(t=w(n)))return e.blockedOn=t,void me(e.priority,function(){Qc(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function od(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jc(e.nativeEvent);if(null!==n)return null!==(t=be(n))&&Gc(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n),o=r;null!==Bp&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Bp=o,n.target.dispatchEvent(r),null===Bp&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Bp=null,t.shift()}return!0}function ad(e,t,n){od(e)&&n.delete(t)}function id(){GS=!1,null!==QS&&od(QS)&&(QS=null),null!==YS&&od(YS)&&(YS=null),null!==$S&&od($S)&&($S=null),ZS.forEach(ad),KS.forEach(ad)}function ld(e,t){e.blockedOn===t&&(e.blockedOn=null,GS||(GS=!0,xd.unstable_scheduleCallback(xd.unstable_NormalPriority,id)))}function sd(e){ex!==e&&(ex=e,xd.unstable_scheduleCallback(xd.unstable_NormalPriority,function(){ex===e&&(ex=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===Xc(r||n))continue;break}var a=be(n);null!==a&&(e.splice(t,3),t-=3,n={pending:!0,data:o,method:n.method,action:r},Object.freeze(n),Ua(a,n,r,o))}}))}function ud(e){function t(t){return ld(t,e)}null!==QS&&ld(QS,e),null!==YS&&ld(YS,e),null!==$S&&ld($S,e),ZS.forEach(t),KS.forEach(t);for(var n=0;n<JS.length;n++){var r=JS[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<JS.length&&null===(n=JS[0]).blockedOn;)rd(n),null===n.blockedOn&&JS.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[qf]||null;if("function"==typeof a)i||sd(n);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[qf]||null)l=i.formAction;else if(null!==Xc(o))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),sd(n)}}}function cd(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function fd(e){this._internalRoot=e}function pd(e){this._internalRoot=e}function hd(e){e[Uf]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var md,gd,yd,bd,vd,wd,Sd,xd=dd(),Cd=b(),Ed=kd(),Id=Object.assign,Td=Symbol.for("react.element"),_d=Symbol.for("react.transitional.element"),Rd=Symbol.for("react.portal"),Pd=Symbol.for("react.fragment"),Od=Symbol.for("react.strict_mode"),Nd=Symbol.for("react.profiler"),Ld=Symbol.for("react.consumer"),zd=Symbol.for("react.context"),Dd=Symbol.for("react.forward_ref"),jd=Symbol.for("react.suspense"),Md=Symbol.for("react.suspense_list"),Fd=Symbol.for("react.memo"),qd=Symbol.for("react.lazy"),Ud=Symbol.for("react.activity"),Hd=Symbol.for("react.memo_cache_sentinel"),Bd=Symbol.iterator,Vd=Symbol.for("react.client.reference"),Wd=Array.isArray,Gd=Cd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Qd=Ed.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Yd=Object.freeze({pending:!1,data:null,method:null,action:null}),$d=[],Zd=[],Kd=-1,Jd=I(null),Xd=I(null),ef=I(null),tf=I(null),nf=0;D.__reactDisabledLog=!0;var rf,of,af=!1,lf=new("function"==typeof WeakMap?WeakMap:Map),sf=null,uf=!1,cf=Object.prototype.hasOwnProperty,df=xd.unstable_scheduleCallback,ff=xd.unstable_cancelCallback,pf=xd.unstable_shouldYield,hf=xd.unstable_requestPaint,mf=xd.unstable_now,gf=xd.unstable_getCurrentPriorityLevel,yf=xd.unstable_ImmediatePriority,bf=xd.unstable_UserBlockingPriority,vf=xd.unstable_NormalPriority,wf=xd.unstable_LowPriority,kf=xd.unstable_IdlePriority,Sf=xd.log,xf=xd.unstable_setDisableYieldValue,Cf=null,Af=null,Ef=!1,If=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Tf=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(_f(e)/Rf|0)|0},_f=Math.log,Rf=Math.LN2,Pf=256,Of=262144,Nf=4194304,Lf=2,zf=8,Df=32,jf=268435456,Mf=Math.random().toString(36).slice(2),Ff="__reactFiber$"+Mf,qf="__reactProps$"+Mf,Uf="__reactContainer$"+Mf,Hf="__reactEvents$"+Mf,Bf="__reactListeners$"+Mf,Vf="__reactHandles$"+Mf,Wf="__reactResources$"+Mf,Gf="__reactMarker$"+Mf,Qf=new Set,Yf={},$f={},Zf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Kf=RegExp("^[: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][: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]*$"),Jf={},Xf={},ep=/[\n"\\]/g,tp=!1,np=!1,rp=!1,op=!1,ap=!1,ip=!1,lp=["value","defaultValue"],sp=!1,up=/["'&<>\n\t]|^\s|\s$/,cp="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".split(" "),dp="applet caption html table td th marquee object template foreignObject desc title".split(" "),fp=dp.concat(["button"]),pp="dd dt li option optgroup p rp rt".split(" "),hp={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},mp={},gp={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),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".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),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".split(" "),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"]},yp=/([A-Z])/g,bp=/^ms-/,vp=/^(?:webkit|moz|o)[A-Z]/,wp=/^-ms-/,kp=/-(.)/g,Sp=/;\s*$/,xp={},Cp={},Ap=!1,Ep=!1,Ip=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Tp="http://www.w3.org/1998/Math/MathML",_p="http://www.w3.org/2000/svg",Rp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Pp={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",fetchpriority:"fetchPriority",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",inert:"inert",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",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",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",transformorigin:"transformOrigin","transform-origin":"transformOrigin",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"},Op={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Np={},Lp=RegExp("^(aria)-[: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]*$"),zp=RegExp("^(aria)[A-Z][: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]*$"),Dp=!1,jp={},Mp=/^on./,Fp=/^on[^A-Z]/,qp=RegExp("^(aria)-[: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]*$"),Up=RegExp("^(aria)[A-Z][: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]*$"),Hp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Bp=null,Vp=null,Wp=null,Gp=!1,Qp=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yp=!1;if(Qp)try{var $p={};Object.defineProperty($p,"passive",{get:function(){Yp=!0}}),window.addEventListener("test",$p,$p),window.removeEventListener("test",$p,$p)}catch{Yp=!1}var Zp,Kp,Jp,Xp=null,eh=null,th=null,nh={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rh=Pt(nh),oh=Id({},nh,{view:0,detail:0}),ah=Pt(oh),ih=Id({},oh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nt,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jp&&(Jp&&"mousemove"===e.type?(Zp=e.screenX-Jp.screenX,Kp=e.screenY-Jp.screenY):Kp=Zp=0,Jp=e),Zp)},movementY:function(e){return"movementY"in e?e.movementY:Kp}}),lh=Pt(ih),sh=Pt(Id({},ih,{dataTransfer:0})),uh=Pt(Id({},oh,{relatedTarget:0})),ch=Pt(Id({},nh,{animationName:0,elapsedTime:0,pseudoElement:0})),dh=Id({},nh,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fh=Pt(dh),ph=Pt(Id({},nh,{data:0})),hh=ph,mh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gh={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"},yh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},bh=Id({},oh,{key:function(e){if(e.key){var t=mh[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Tt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?gh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nt,charCode:function(e){return"keypress"===e.type?Tt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Tt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),vh=Pt(bh),wh=Pt(Id({},ih,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kh=Pt(Id({},oh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nt})),Sh=Pt(Id({},nh,{propertyName:0,elapsedTime:0,pseudoElement:0})),xh=Id({},ih,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ch=Pt(xh),Ah=Pt(Id({},nh,{newState:0,oldState:0})),Eh=[9,13,27,32],Ih=229,Th=Qp&&"CompositionEvent"in window,_h=null;Qp&&"documentMode"in document&&(_h=document.documentMode);var Rh=Qp&&"TextEvent"in window&&!_h,Ph=Qp&&(!Th||_h&&8<_h&&11>=_h),Oh=32,Nh=String.fromCharCode(Oh),Lh=!1,zh=!1,Dh={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},jh=null,Mh=null,Fh=!1;Qp&&(Fh=function(e){if(!Qp)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}("input")&&(!document.documentMode||9<document.documentMode));var qh="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Uh=Qp&&"documentMode"in document&&11>=document.documentMode,Hh=null,Bh=null,Vh=null,Wh=!1,Gh={animationend:en("Animation","AnimationEnd"),animationiteration:en("Animation","AnimationIteration"),animationstart:en("Animation","AnimationStart"),transitionrun:en("Transition","TransitionRun"),transitionstart:en("Transition","TransitionStart"),transitioncancel:en("Transition","TransitionCancel"),transitionend:en("Transition","TransitionEnd")},Qh={},Yh={};Qp&&(Yh=document.createElement("div").style,"AnimationEvent"in window||(delete Gh.animationend.animation,delete Gh.animationiteration.animation,delete Gh.animationstart.animation),"TransitionEvent"in window||delete Gh.transitionend.transition);var $h=tn("animationend"),Zh=tn("animationiteration"),Kh=tn("animationstart"),Jh=tn("transitionrun"),Xh=tn("transitionstart"),em=tn("transitioncancel"),tm=tn("transitionend"),nm=new Map,rm="abort auxClick beforeToggle 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(" ");rm.push("scrollEnd");var om=0;if("object"==typeof performance&&"function"==typeof performance.now)var am=performance,im=function(){return am.now()};else{var lm=Date;im=function(){return lm.now()}}var sm="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},um="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",cm=0,dm=1,fm=2,pm=3,hm="– ",mm="+ ",gm=" ",ym=typeof console<"u"&&"function"==typeof console.timeStamp&&typeof performance<"u"&&"function"==typeof performance.measure,bm="Components ⚛",vm="Scheduler ⚛",wm="Blocking",km=!1,Sm={color:"primary",properties:null,tooltipText:"",track:bm},xm={start:-0,end:-0,detail:{devtools:Sm}},Cm=["Changed Props",""],Am="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",Em=["Changed Props",Am],Im=1,Tm=2,_m=[],Rm=0,Pm=0,Om={};Object.freeze(Om);var Nm=null,Lm=null,zm=0,Dm=1,jm=2,Mm=8,Fm=16,qm=32,Um=!1;try{Object.preventExtensions({})}catch{Um=!0}var Hm=new WeakMap,Bm=[],Vm=0,Wm=null,Gm=0,Qm=[],Ym=0,$m=null,Zm=1,Km="",Jm=null,Xm=null,eg=!1,tg=!1,ng=null,rg=null,og=!1,ag=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),ig=I(null),lg=I(null),sg={},ug=null,cg=null,dg=!1,fg=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},pg=xd.unstable_scheduleCallback,hg=xd.unstable_NormalPriority,mg={$$typeof:zd,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},gg=xd.unstable_now,yg=console.createTask?console.createTask:function(){return null},bg=1,vg=2,wg=-0,kg=-0,Sg=-0,xg=null,Cg=-1.1,Ag=-0,Eg=-0,Ig=-1.1,Tg=-1.1,_g=null,Rg=!1,Pg=-0,Og=-1.1,Ng=null,Lg=0,zg=null,Dg=null,jg=-1.1,Mg=null,Fg=-1.1,qg=-1.1,Ug=-0,Hg=-1.1,Bg=-1.1,Vg=0,Wg=null,Gg=null,Qg=null,Yg=-1.1,$g=null,Zg=-1.1,Kg=-1.1,Jg=-0,Xg=-0,ey=0,ty=0,ny=-1.1,ry=!1,oy=!1,ay=null,iy=0,ly=0,sy=null,uy=Gd.S;Gd.S=function(e,t){if(Cw=mf(),"object"==typeof t&&null!==t&&"function"==typeof t.then){if(0>Hg&&0>Bg){Hg=gg();var n=Uu(),r=qu();(n!==Zg||r!==$g)&&(Zg=-1.1),Yg=n,$g=r}!function(e,t){if(null===ay){var n=ay=[];iy=0,ly=ru(),sy={status:"pending",value:void 0,then:function(e){n.push(e)}}}iy++,t.then(Dr,Dr)}(0,t)}null!==uy&&uy(e,t)};var cy=I(null),dy={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},fy=[],py=[],hy=[],my=[],gy=[],yy=[],by=new Set;dy.recordUnsafeLifecycleWarnings=function(e,t){by.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&fy.push(e),e.mode&Mm&&"function"==typeof t.UNSAFE_componentWillMount&&py.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&hy.push(e),e.mode&Mm&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&my.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&gy.push(e),e.mode&Mm&&"function"==typeof t.UNSAFE_componentWillUpdate&&yy.push(e))},dy.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<fy.length&&(fy.forEach(function(t){e.add(E(t)||"Component"),by.add(t.type)}),fy=[]);var t=new Set;0<py.length&&(py.forEach(function(e){t.add(E(e)||"Component"),by.add(e.type)}),py=[]);var n=new Set;0<hy.length&&(hy.forEach(function(e){n.add(E(e)||"Component"),by.add(e.type)}),hy=[]);var r=new Set;0<my.length&&(my.forEach(function(e){r.add(E(e)||"Component"),by.add(e.type)}),my=[]);var o=new Set;0<gy.length&&(gy.forEach(function(e){o.add(E(e)||"Component"),by.add(e.type)}),gy=[]);var a=new Set;if(0<yy.length&&(yy.forEach(function(e){a.add(E(e)||"Component"),by.add(e.type)}),yy=[]),0<t.size){var i=d(t);console.error("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",i)}0<r.size&&(i=d(r),console.error("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n\nPlease update the following components: %s",i)),0<a.size&&(i=d(a),console.error("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",i)),0<e.size&&(i=d(e),console.warn("componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",i)),0<n.size&&(i=d(n),console.warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",i)),0<o.size&&(i=d(o),console.warn("componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",i))};var vy=new Map,wy=new Set;dy.recordLegacyContextWarning=function(e,t){for(var n=null,r=e;null!==r;)r.mode&Mm&&(n=r),r=r.return;null===n?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!wy.has(e.type)&&(r=vy.get(n),null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],vy.set(n,r)),r.push(e))},dy.flushLegacyContextWarning=function(){vy.forEach(function(e){if(0!==e.length){var t=e[0],n=new Set;e.forEach(function(e){n.add(E(e)||"Component"),wy.add(e.type)});var r=d(n);W(t,function(){console.error("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://react.dev/link/legacy-context",r)})}})},dy.discardPendingWarnings=function(){fy=[],py=[],hy=[],my=[],gy=[],yy=[],vy=new Map};var ky,Sy={react_stack_bottom_frame:function(e,t,n){var r=uf;uf=!0;try{return e(t,n)}finally{uf=r}}},xy=Sy.react_stack_bottom_frame.bind(Sy),Cy={react_stack_bottom_frame:function(e){var t=uf;uf=!0;try{return e.render()}finally{uf=t}}},Ay=Cy.react_stack_bottom_frame.bind(Cy),Ey={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(t){js(e,e.return,t)}}},Iy=Ey.react_stack_bottom_frame.bind(Ey),Ty={react_stack_bottom_frame:function(e,t,n,r,o){try{t.componentDidUpdate(n,r,o)}catch(t){js(e,e.return,t)}}},_y=Ty.react_stack_bottom_frame.bind(Ty),Ry={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:null!==n?n:""})}},Py=Ry.react_stack_bottom_frame.bind(Ry),Oy={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(n){js(e,t,n)}}},Ny=Oy.react_stack_bottom_frame.bind(Oy),Ly={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},zy=Ly.react_stack_bottom_frame.bind(Ly),Dy={react_stack_bottom_frame:function(e,t,n){try{n()}catch(n){js(e,t,n)}}},jy=Dy.react_stack_bottom_frame.bind(Dy),My={react_stack_bottom_frame:function(e){return(0,e._init)(e._payload)}},Fy=My.react_stack_bottom_frame.bind(My),qy=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Uy=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Hy=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),By={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Vy=null,Wy=!1,Gy=null,Qy=0,Yy=null,$y=ky=!1,Zy={},Ky={},Jy={};c=function(e,t,n){if(null!==n&&"object"==typeof n&&n._store&&(!n._store.validated&&null==n.key||2===n._store.validated)){if("object"!=typeof n._store)throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var r=E(e),o=r||"null";if(!Zy[o]){Zy[o]=!0,n=n._owner,e=e._debugOwner;var a="";e&&"number"==typeof e.tag&&(o=E(e))&&(a="\n\nCheck the render method of `"+o+"`."),a||r&&(a="\n\nCheck the top-level render call using <"+r+">.");var i="";null!=n&&e!==n&&(r=null,"number"==typeof n.tag?r=E(n):"string"==typeof n.name&&(r=n.name),r&&(i=" It was passed a child from "+r+".")),W(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',a,i)})}}};var Xy,eb=no(!0),tb=no(!1),nb=0,rb=1,ob=2,ab=3,ib=!1,lb=!1,sb=null,ub=!1,cb=I(null),db=I(0),fb=I(null),pb=null,hb=1,mb=2,gb=I(0),yb=0,bb=1,vb=2,wb=4,kb=8,Sb=new Set,xb=new Set,Cb=new Set,Ab=new Set,Eb=0,Ib=null,Tb=null,_b=null,Rb=!1,Pb=!1,Ob=!1,Nb=0,Lb=0,zb=null,Db=0,jb=25,Mb=null,Fb=null,qb=-1,Ub=!1,Hb={readContext:fr,use:Uo,useCallback:_o,useContext:_o,useEffect:_o,useImperativeHandle:_o,useLayoutEffect:_o,useInsertionEffect:_o,useMemo:_o,useReducer:_o,useRef:_o,useState:_o,useDebugValue:_o,useDeferredValue:_o,useTransition:_o,useSyncExternalStore:_o,useId:_o,useHostTransitionStatus:_o,useFormState:_o,useActionState:_o,useOptimistic:_o,useMemoCache:_o,useCacheRefresh:_o};Hb.useEffectEvent=_o;var Bb=null,Vb=null,Wb=null,Gb=null,Qb=null,Yb=null,$b=null;Bb={readContext:function(e){return fr(e)},use:Uo,useCallback:function(e,t){return Mb="useCallback",Ao(),Io(t),Ra(e,t)},useContext:function(e){return Mb="useContext",Ao(),fr(e)},useEffect:function(e,t){return Mb="useEffect",Ao(),Io(t),xa(e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",Ao(),Io(n),Ta(e,t,n)},useInsertionEffect:function(e,t){Mb="useInsertionEffect",Ao(),Io(t),ka(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",Ao(),Io(t),Ea(e,t)},useMemo:function(e,t){Mb="useMemo",Ao(),Io(t);var n=Gd.H;Gd.H=Qb;try{return Oa(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",Ao();var r=Gd.H;Gd.H=Qb;try{return Vo(e,t,n)}finally{Gd.H=r}},useRef:function(e){return Mb="useRef",Ao(),wa(e)},useState:function(e){Mb="useState",Ao();var t=Gd.H;Gd.H=Qb;try{return na(e)}finally{Gd.H=t}},useDebugValue:function(){Mb="useDebugValue",Ao()},useDeferredValue:function(e,t){return Mb="useDeferredValue",Ao(),La(e,t)},useTransition:function(){return Mb="useTransition",Ao(),Va()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",Ao(),Yo(e,t,n)},useId:function(){return Mb="useId",Ao(),Ya()},useFormState:function(e,t){return Mb="useFormState",Ao(),To(),ha(e,t)},useActionState:function(e,t){return Mb="useActionState",Ao(),ha(e,t)},useOptimistic:function(e){return Mb="useOptimistic",Ao(),ra(e)},useHostTransitionStatus:Qa,useMemoCache:Ho,useCacheRefresh:function(){return Mb="useCacheRefresh",Ao(),$a()},useEffectEvent:function(e){return Mb="useEffectEvent",Ao(),Ca(e)}},Vb={readContext:function(e){return fr(e)},use:Uo,useCallback:function(e,t){return Mb="useCallback",Eo(),Ra(e,t)},useContext:function(e){return Mb="useContext",Eo(),fr(e)},useEffect:function(e,t){return Mb="useEffect",Eo(),xa(e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",Eo(),Ta(e,t,n)},useInsertionEffect:function(e,t){Mb="useInsertionEffect",Eo(),ka(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",Eo(),Ea(e,t)},useMemo:function(e,t){Mb="useMemo",Eo();var n=Gd.H;Gd.H=Qb;try{return Oa(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",Eo();var r=Gd.H;Gd.H=Qb;try{return Vo(e,t,n)}finally{Gd.H=r}},useRef:function(e){return Mb="useRef",Eo(),wa(e)},useState:function(e){Mb="useState",Eo();var t=Gd.H;Gd.H=Qb;try{return na(e)}finally{Gd.H=t}},useDebugValue:function(){Mb="useDebugValue",Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",Eo(),La(e,t)},useTransition:function(){return Mb="useTransition",Eo(),Va()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",Eo(),Yo(e,t,n)},useId:function(){return Mb="useId",Eo(),Ya()},useActionState:function(e,t){return Mb="useActionState",Eo(),ha(e,t)},useFormState:function(e,t){return Mb="useFormState",Eo(),To(),ha(e,t)},useOptimistic:function(e){return Mb="useOptimistic",Eo(),ra(e)},useHostTransitionStatus:Qa,useMemoCache:Ho,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),$a()},useEffectEvent:function(e){return Mb="useEffectEvent",Eo(),Ca(e)}},Wb={readContext:function(e){return fr(e)},use:Uo,useCallback:function(e,t){return Mb="useCallback",Eo(),Pa(e,t)},useContext:function(e){return Mb="useContext",Eo(),fr(e)},useEffect:function(e,t){Mb="useEffect",Eo(),Sa(2048,kb,e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",Eo(),_a(e,t,n)},useInsertionEffect:function(e,t){return Mb="useInsertionEffect",Eo(),Sa(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",Eo(),Sa(4,wb,e,t)},useMemo:function(e,t){Mb="useMemo",Eo();var n=Gd.H;Gd.H=Yb;try{return Na(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",Eo();var r=Gd.H;Gd.H=Yb;try{return Wo(e)}finally{Gd.H=r}},useRef:function(){return Mb="useRef",Eo(),Fo().memoizedState},useState:function(){Mb="useState",Eo();var e=Gd.H;Gd.H=Yb;try{return Wo(Bo)}finally{Gd.H=e}},useDebugValue:function(){Mb="useDebugValue",Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",Eo(),za(e,t)},useTransition:function(){return Mb="useTransition",Eo(),Wa()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",Eo(),$o(e,t,n)},useId:function(){return Mb="useId",Eo(),Fo().memoizedState},useFormState:function(e){return Mb="useFormState",Eo(),To(),ma(e)},useActionState:function(e){return Mb="useActionState",Eo(),ma(e)},useOptimistic:function(e,t){return Mb="useOptimistic",Eo(),oa(e,t)},useHostTransitionStatus:Qa,useMemoCache:Ho,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),Fo().memoizedState},useEffectEvent:function(e){return Mb="useEffectEvent",Eo(),Aa(e)}},Gb={readContext:function(e){return fr(e)},use:Uo,useCallback:function(e,t){return Mb="useCallback",Eo(),Pa(e,t)},useContext:function(e){return Mb="useContext",Eo(),fr(e)},useEffect:function(e,t){Mb="useEffect",Eo(),Sa(2048,kb,e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",Eo(),_a(e,t,n)},useInsertionEffect:function(e,t){return Mb="useInsertionEffect",Eo(),Sa(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",Eo(),Sa(4,wb,e,t)},useMemo:function(e,t){Mb="useMemo",Eo();var n=Gd.H;Gd.H=$b;try{return Na(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",Eo();var r=Gd.H;Gd.H=$b;try{return Qo(e)}finally{Gd.H=r}},useRef:function(){return Mb="useRef",Eo(),Fo().memoizedState},useState:function(){Mb="useState",Eo();var e=Gd.H;Gd.H=$b;try{return Qo(Bo)}finally{Gd.H=e}},useDebugValue:function(){Mb="useDebugValue",Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",Eo(),Da(e,t)},useTransition:function(){return Mb="useTransition",Eo(),Ga()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",Eo(),$o(e,t,n)},useId:function(){return Mb="useId",Eo(),Fo().memoizedState},useFormState:function(e){return Mb="useFormState",Eo(),To(),ba(e)},useActionState:function(e){return Mb="useActionState",Eo(),ba(e)},useOptimistic:function(e,t){return Mb="useOptimistic",Eo(),ia(e,t)},useHostTransitionStatus:Qa,useMemoCache:Ho,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),Fo().memoizedState},useEffectEvent:function(e){return Mb="useEffectEvent",Eo(),Aa(e)}},Qb={readContext:function(e){return s(),fr(e)},use:function(e){return l(),Uo(e)},useCallback:function(e,t){return Mb="useCallback",l(),Ao(),Ra(e,t)},useContext:function(e){return Mb="useContext",l(),Ao(),fr(e)},useEffect:function(e,t){return Mb="useEffect",l(),Ao(),xa(e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",l(),Ao(),Ta(e,t,n)},useInsertionEffect:function(e,t){Mb="useInsertionEffect",l(),Ao(),ka(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",l(),Ao(),Ea(e,t)},useMemo:function(e,t){Mb="useMemo",l(),Ao();var n=Gd.H;Gd.H=Qb;try{return Oa(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",l(),Ao();var r=Gd.H;Gd.H=Qb;try{return Vo(e,t,n)}finally{Gd.H=r}},useRef:function(e){return Mb="useRef",l(),Ao(),wa(e)},useState:function(e){Mb="useState",l(),Ao();var t=Gd.H;Gd.H=Qb;try{return na(e)}finally{Gd.H=t}},useDebugValue:function(){Mb="useDebugValue",l(),Ao()},useDeferredValue:function(e,t){return Mb="useDeferredValue",l(),Ao(),La(e,t)},useTransition:function(){return Mb="useTransition",l(),Ao(),Va()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",l(),Ao(),Yo(e,t,n)},useId:function(){return Mb="useId",l(),Ao(),Ya()},useFormState:function(e,t){return Mb="useFormState",l(),Ao(),ha(e,t)},useActionState:function(e,t){return Mb="useActionState",l(),Ao(),ha(e,t)},useOptimistic:function(e){return Mb="useOptimistic",l(),Ao(),ra(e)},useMemoCache:function(e){return l(),Ho(e)},useHostTransitionStatus:Qa,useCacheRefresh:function(){return Mb="useCacheRefresh",Ao(),$a()},useEffectEvent:function(e){return Mb="useEffectEvent",l(),Ao(),Ca(e)}},Yb={readContext:function(e){return s(),fr(e)},use:function(e){return l(),Uo(e)},useCallback:function(e,t){return Mb="useCallback",l(),Eo(),Pa(e,t)},useContext:function(e){return Mb="useContext",l(),Eo(),fr(e)},useEffect:function(e,t){Mb="useEffect",l(),Eo(),Sa(2048,kb,e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",l(),Eo(),_a(e,t,n)},useInsertionEffect:function(e,t){return Mb="useInsertionEffect",l(),Eo(),Sa(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",l(),Eo(),Sa(4,wb,e,t)},useMemo:function(e,t){Mb="useMemo",l(),Eo();var n=Gd.H;Gd.H=Yb;try{return Na(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",l(),Eo();var r=Gd.H;Gd.H=Yb;try{return Wo(e)}finally{Gd.H=r}},useRef:function(){return Mb="useRef",l(),Eo(),Fo().memoizedState},useState:function(){Mb="useState",l(),Eo();var e=Gd.H;Gd.H=Yb;try{return Wo(Bo)}finally{Gd.H=e}},useDebugValue:function(){Mb="useDebugValue",l(),Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",l(),Eo(),za(e,t)},useTransition:function(){return Mb="useTransition",l(),Eo(),Wa()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",l(),Eo(),$o(e,t,n)},useId:function(){return Mb="useId",l(),Eo(),Fo().memoizedState},useFormState:function(e){return Mb="useFormState",l(),Eo(),ma(e)},useActionState:function(e){return Mb="useActionState",l(),Eo(),ma(e)},useOptimistic:function(e,t){return Mb="useOptimistic",l(),Eo(),oa(e,t)},useMemoCache:function(e){return l(),Ho(e)},useHostTransitionStatus:Qa,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),Fo().memoizedState},useEffectEvent:function(e){return Mb="useEffectEvent",l(),Eo(),Aa(e)}},$b={readContext:function(e){return s(),fr(e)},use:function(e){return l(),Uo(e)},useCallback:function(e,t){return Mb="useCallback",l(),Eo(),Pa(e,t)},useContext:function(e){return Mb="useContext",l(),Eo(),fr(e)},useEffect:function(e,t){Mb="useEffect",l(),Eo(),Sa(2048,kb,e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",l(),Eo(),_a(e,t,n)},useInsertionEffect:function(e,t){return Mb="useInsertionEffect",l(),Eo(),Sa(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",l(),Eo(),Sa(4,wb,e,t)},useMemo:function(e,t){Mb="useMemo",l(),Eo();var n=Gd.H;Gd.H=Yb;try{return Na(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",l(),Eo();var r=Gd.H;Gd.H=Yb;try{return Qo(e)}finally{Gd.H=r}},useRef:function(){return Mb="useRef",l(),Eo(),Fo().memoizedState},useState:function(){Mb="useState",l(),Eo();var e=Gd.H;Gd.H=Yb;try{return Qo(Bo)}finally{Gd.H=e}},useDebugValue:function(){Mb="useDebugValue",l(),Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",l(),Eo(),Da(e,t)},useTransition:function(){return Mb="useTransition",l(),Eo(),Ga()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",l(),Eo(),$o(e,t,n)},useId:function(){return Mb="useId",l(),Eo(),Fo().memoizedState},useFormState:function(e){return Mb="useFormState",l(),Eo(),ba(e)},useActionState:function(e){return Mb="useActionState",l(),Eo(),ba(e)},useOptimistic:function(e,t){return Mb="useOptimistic",l(),Eo(),ia(e,t)},useMemoCache:function(e){return l(),Ho(e)},useHostTransitionStatus:Qa,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),Fo().memoizedState},useEffectEvent:function(e){return Mb="useEffectEvent",l(),Eo(),Aa(e)}};var Zb={},Kb=new Set,Jb=new Set,Xb=new Set,ev=new Set,tv=new Set,nv=new Set,rv=new Set,ov=new Set,av=new Set,iv=new Set;Object.freeze(Zb);var lv={enqueueSetState:function(e,t,n){var r=ns(e=e._reactInternals),o=io(r);o.payload=t,null!=n&&(oi(n),o.callback=n),null!==(t=lo(e,o,r))&&(br(r,"this.setState()",e),os(t,e,r),so(t,e,r))},enqueueReplaceState:function(e,t,n){var r=ns(e=e._reactInternals),o=io(r);o.tag=rb,o.payload=t,null!=n&&(oi(n),o.callback=n),null!==(t=lo(e,o,r))&&(br(r,"this.replaceState()",e),os(t,e,r),so(t,e,r))},enqueueForceUpdate:function(e,t){var n=ns(e=e._reactInternals),r=io(n);r.tag=ob,null!=t&&(oi(t),r.callback=t),null!==(t=lo(e,r,n))&&(br(n,"this.forceUpdate()",e),os(t,e,n),so(t,e,n))}},sv=null,uv=null,cv=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),dv=!1,fv={},pv={},hv={},mv={},gv=!1,yv={},bv={},vv={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},wv=!1,kv=null;kv=new Set;var Sv=!1,xv=!1,Cv=!1,Av="function"==typeof WeakSet?WeakSet:Set,Ev=null,Iv=null,Tv=null,_v=null,Rv=!1,Pv=null,Ov=!1,Nv=8192,Lv={getCacheForType:function(e){var t=fr(mg),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return fr(mg).controller.signal},getOwner:function(){return sf}};if("function"==typeof Symbol&&Symbol.for){var zv=Symbol.for;zv("selector.component"),zv("selector.has_pseudo_class"),zv("selector.role"),zv("selector.test_id"),zv("selector.text")}var Dv=[],jv="function"==typeof WeakMap?WeakMap:Map,Mv=0,Fv=2,qv=4,Uv=0,Hv=1,Bv=2,Vv=3,Wv=4,Gv=6,Qv=5,Yv=Mv,$v=null,Zv=null,Kv=0,Jv=0,Xv=1,ew=2,tw=3,nw=4,rw=5,ow=6,aw=7,iw=8,lw=9,sw=Jv,uw=null,cw=!1,dw=!1,fw=!1,pw=0,hw=Uv,mw=0,gw=0,yw=0,bw=0,vw=0,ww=null,kw=null,Sw=!1,xw=0,Cw=0,Aw=300,Ew=1/0,Iw=500,Tw=null,_w=null,Rw=null,Pw=0,Ow=1,Nw=2,Lw=3,zw=0,Dw=1,jw=2,Mw=3,Fw=4,qw=5,Uw=0,Hw=null,Bw=null,Vw=0,Ww=0,Gw=-0,Qw=null,Yw=null,$w=null,Zw=Pw,Kw=null,Jw=50,Xw=0,ek=null,tk=!1,nk=!1,rk=50,ok=0,ak=null,ik=!1,lk=null,sk=!1,uk=new Set,ck=null,dk=null,fk=!1,pk=!1,hk=!1,mk=!1,gk=0,yk={};(function(){for(var e=0;e<rm.length;e++){var t=rm[e];nn(t.toLowerCase(),"on"+(t=t[0].toUpperCase()+t.slice(1)))}nn($h,"onAnimationEnd"),nn(Zh,"onAnimationIteration"),nn(Kh,"onAnimationStart"),nn("dblclick","onDoubleClick"),nn("focusin","onFocus"),nn("focusout","onBlur"),nn(Jh,"onTransitionRun"),nn(Xh,"onTransitionStart"),nn(em,"onTransitionCancel"),nn(tm,"onTransitionEnd")})(),xe("onMouseEnter",["mouseout","mouseover"]),xe("onMouseLeave",["mouseout","mouseover"]),xe("onPointerEnter",["pointerout","pointerover"]),xe("onPointerLeave",["pointerout","pointerover"]),Se("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Se("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Se("onBeforeInput",["compositionend","keypress","textInput","paste"]),Se("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Se("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Se("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bk="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(" "),vk=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bk)),wk="_reactListening"+Math.random().toString(36).slice(2),kk=!1,Sk=!1,xk=!1,Ck=!1,Ak=!1,Ek=!1,Ik=!1,Tk={},_k=/\r\n?/g,Rk=/\u0000|\uFFFD/g,Pk="http://www.w3.org/1999/xlink",Ok="http://www.w3.org/XML/1998/namespace",Nk="javascript:throw new Error('React form unexpectedly submitted.')",Lk="suppressHydrationWarning",zk="&",Dk="/&",jk="$",Mk="/$",Fk="$?",qk="$~",Uk="$!",Hk="html",Bk="body",Vk="head",Wk="F!",Gk="F",Qk="loading",Yk="style",$k=0,Zk=1,Kk=2,Jk=null,Xk=null,eS={dialog:!0,webview:!0},tS=null,nS=void 0,rS="function"==typeof setTimeout?setTimeout:void 0,oS="function"==typeof clearTimeout?clearTimeout:void 0,aS=-1,iS="function"==typeof Promise?Promise:void 0,lS="function"==typeof queueMicrotask?queueMicrotask:typeof iS<"u"?function(e){return iS.resolve(null).then(e).catch(Hu)}:rS,sS=null,uS=0,cS=1,dS=2,fS=3,pS=4,hS=new Map,mS=new Set,gS=Qd.d;Qd.d={f:function(){var e=gS.f(),t=us();return e||t},r:function(e){var t=be(e);null!==t&&5===t.tag&&"form"===t.type?Ba(t):gS.r(e)},D:function(e){gS.D(e),Sc("dns-prefetch",e,null)},C:function(e,t){gS.C(e,t),Sc("preconnect",e,t)},L:function(e,t,n){gS.L(e,t,n);var r=IS;if(r&&e&&t){var o='link[rel="preload"][as="'+ze(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+ze(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+ze(n.imageSizes)+'"]')):o+='[href="'+ze(e)+'"]';var a=o;switch(t){case"style":a=Ac(e);break;case"script":a=Tc(e)}hS.has(a)||(e=Id({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),hS.set(a,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Ec(a))||"script"===t&&r.querySelector(_c(a))||(Au(t=r.createElement("link"),"link",e),ke(t),r.head.appendChild(t)))}},m:function(e,t){gS.m(e,t);var n=IS;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+ze(r)+'"][href="'+ze(e)+'"]',a=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Tc(e)}if(!hS.has(a)&&(e=Id({rel:"modulepreload",href:e},t),hS.set(a,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(_c(a)))return}Au(r=n.createElement("link"),"link",e),ke(r),n.head.appendChild(r)}}},X:function(e,t){gS.X(e,t);var n=IS;if(n&&e){var r=we(n).hoistableScripts,o=Tc(e),a=r.get(o);a||((a=n.querySelector(_c(o)))||(e=Id({src:e,async:!0},t),(t=hS.get(o))&&Nc(e,t),ke(a=n.createElement("script")),Au(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}},S:function(e,t,n){gS.S(e,t,n);var r=IS;if(r&&e){var o=we(r).hoistableStyles,a=Ac(e);t=t||"default";var i=o.get(a);if(!i){var l={loading:uS,preload:null};if(i=r.querySelector(Ec(a)))l.loading=cS|pS;else{e=Id({rel:"stylesheet",href:e,"data-precedence":t},n),(n=hS.get(a))&&Oc(e,n);var s=i=r.createElement("link");ke(s),Au(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){l.loading|=cS}),s.addEventListener("error",function(){l.loading|=dS}),l.loading|=pS,Pc(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},o.set(a,i)}}},M:function(e,t){gS.M(e,t);var n=IS;if(n&&e){var r=we(n).hoistableScripts,o=Tc(e),a=r.get(o);a||((a=n.querySelector(_c(o)))||(e=Id({src:e,async:!0,type:"module"},t),(t=hS.get(o))&&Nc(e,t),ke(a=n.createElement("script")),Au(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}}};var yS,bS,vS,wS,kS,SS,xS,CS,AS,ES,IS=typeof document>"u"?null:document,TS=null,_S=6e4,RS=800,PS=500,OS=0,NS=null,LS=null,zS=Yd,DS={$$typeof:zd,Provider:null,Consumer:null,_currentValue:zS,_currentValue2:zS,_threadCount:0},jS="%c%s%c",MS="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",FS="",qS=" ",US=Function.prototype.bind,HS=!1;yS=function(n,r,o,a){null!==(r=e(n,r))&&(o=t(r.memoizedState,o,0,a),r.memoizedState=o,r.baseState=o,n.memoizedProps=Id({},n.memoizedProps),null!==(o=kn(n,2))&&os(o,n,2))},bS=function(t,n,r){null!==(n=e(t,n))&&(r=o(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,t.memoizedProps=Id({},t.memoizedProps),null!==(r=kn(t,2))&&os(r,t,2))},vS=function(t,r,o,a){null!==(r=e(t,r))&&(o=n(r.memoizedState,o,a),r.memoizedState=o,r.baseState=o,t.memoizedProps=Id({},t.memoizedProps),null!==(o=kn(t,2))&&os(o,t,2))},wS=function(e,n,r){e.pendingProps=t(e.memoizedProps,n,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(n=kn(e,2))&&os(n,e,2)},kS=function(e,t){e.pendingProps=o(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(t=kn(e,2))&&os(t,e,2)},SS=function(e,t,r){e.pendingProps=n(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(t=kn(e,2))&&os(t,e,2)},xS=function(e){var t=kn(e,2);null!==t&&os(t,e,2)},CS=function(e){var t=oe(),n=kn(e,t);null!==n&&os(n,e,t)},AS=function(e){i=e},ES=function(e){a=e};var BS,VS=!0,WS=null,GS=!1,QS=null,YS=null,$S=null,ZS=new Map,KS=new Map,JS=[],XS="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".split(" "),ex=null;if(pd.prototype.render=fd.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error("Cannot update an unmounted root.");var n=arguments;"function"==typeof n[1]?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):g(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var r=t.current;Bc(r,ns(r),n,t,null,null)},pd.prototype.unmount=fd.prototype.unmount=function(){var e=arguments;if("function"==typeof e[0]&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),null!==(e=this._internalRoot)){this._internalRoot=null;var t=e.containerInfo;(Yv&(Fv|qv))!==Mv&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Bc(e.current,2,null,e,null,null),us(),t[Uf]=null}},pd.prototype.unstable_scheduleHydration=function(e){if(e){var t=he();e={blockedOn:null,target:e,priority:t};for(var n=0;n<JS.length&&0!==t&&t<JS[n].priority;n++);JS.splice(n,0,e),0===n&&rd(e)}},function(){var e=Cd.version;if("19.2.0"!==e)throw Error('Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: '+e+"\n - react-dom: 19.2.0\nLearn more: https://react.dev/warnings/version-mismatch")}(),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Qd.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=function(e){var t=e.alternate;if(!t){if(null===(t=y(e)))throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return k(o),e;if(a===r)return k(o),t;a=a.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw 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(n.alternate!==r)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==n.tag)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?S(e):null)?null:e.stateNode},(BS={bundleType:1,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:Gd,reconcilerVersion:"19.2.0"}).overrideHookState=yS,BS.overrideHookStateDeletePath=bS,BS.overrideHookStateRenamePath=vS,BS.overrideProps=wS,BS.overridePropsDeletePath=kS,BS.overridePropsRenamePath=SS,BS.scheduleUpdate=xS,BS.scheduleRetry=CS,BS.setErrorHandler=AS,BS.setSuspenseHandler=ES,BS.scheduleRefresh=h,BS.scheduleRoot=p,BS.setRefreshHandler=m,BS.getCurrentFiber=Yc,!function(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Cf=t.inject(e),Af=t}catch(e){console.error("React instrumentation encountered an error: %o.",e)}return!!t.checkDCE}(BS)&&Qp&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Edge")||-1<navigator.userAgent.indexOf("Firefox"))){var tx=window.location.protocol;/^(https?|file):$/.test(tx)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+("file:"===tx?"\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq":""),"font-weight:bold")}Ad.createRoot=function(e,t){if(!g(e))throw Error("Target container is not a DOM element.");hd(e);var n=!1,r="",o=ui,a=ci,i=di;return null!=t&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===_d&&console.error("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(a=t.onCaughtError),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,r,null,o,a,i,cd),e[Uf]=t.current,cu(e),new fd(t)},Ad.hydrateRoot=function(e,t,n){if(!g(e))throw Error("Target container is not a DOM element.");hd(e),void 0===t&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=!1,o="",a=ui,i=ci,l=di,s=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onUncaughtError&&(a=n.onUncaughtError),void 0!==n.onCaughtError&&(i=n.onCaughtError),void 0!==n.onRecoverableError&&(l=n.onRecoverableError),void 0!==n.formState&&(s=n.formState)),(t=Uc(e,1,!0,t,0,r,o,s,a,i,l,cd)).context=Hc(null),(o=io(r=ce(r=ns(n=t.current)))).callback=null,lo(n,o,r),br(r,"hydrateRoot()",null),n=r,t.current.lanes=n,ie(t,n),Ys(t),e[Uf]=t.current,cu(e),new pd(t)},Ad.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),Ad}var Id=function(){if(Cd)return od.exports;Cd=1;var e={};return"production"===e.NODE_ENV?(function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)){if("production"!==e.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}(),od.exports=Sd()):od.exports=Ed(),od.exports}(),Td=Object.defineProperty,_d=(e,t,n)=>((e,t,n)=>t in e?Td(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);const Rd={stringify:e=>e.name,parse:(e,t,n)=>{const r=typeof window<"u"&&e in window?window[e]:typeof global<"u"&&e in global?global[e]:void 0;return"function"==typeof r?r.bind(n):void 0}},Pd={stringify:e=>JSON.stringify(e),parse:e=>JSON.parse(e)};function Od(e){return e.replace(/([a-z0-9])([A-Z])/g,(e,t,n)=>`${t}-${n.toLowerCase()}`)}function Nd(e){return e.replace(/[-:]([a-z])/g,(e,t)=>`${t.toUpperCase()}`)}const Ld={stringify:e=>e.name,parse:(e,t,n)=>{const r=(()=>{const e=Nd(t);if(typeof n<"u"&&e in n.container)return n.container[e]})();return"function"==typeof r?r.bind(n):void 0}},zd={stringify:e=>`${e}`,parse:e=>parseFloat(e)},Dd={string:{stringify:e=>e,parse:e=>e},number:zd,boolean:{stringify:e=>e?"true":"false",parse:e=>/^[ty1-9]/i.test(e)},function:Rd,method:Ld,json:Pd},jd=Symbol.for("r2wc.render"),Md=Symbol.for("r2wc.connected"),Fd=Symbol.for("r2wc.context"),qd=Symbol.for("r2wc.props");function Ud(e,t,n){const r=Id.createRoot(e),o=xe.createElement(t,n);return r.render(o),{root:r,ReactComponent:t}}function Hd({root:e,ReactComponent:t},n){const r=xe.createElement(t,n);e.render(r)}function Bd({root:e}){e.unmount()}function Vd(e,t={}){return function(e,t,n){var r,o,a;t.props||(t.props=e.propTypes?Object.keys(e.propTypes):[]),t.events||(t.events=[]);const i=Array.isArray(t.props)?t.props.slice():Object.keys(t.props),l=Array.isArray(t.events)?t.events.slice():Object.keys(t.events),s={},u={},c={},d={};for(const e of i){s[e]=Array.isArray(t.props)?"string":t.props[e];const n=Od(e);c[e]=n,d[n]=e}for(const e of l)u[e]=Array.isArray(t.events)?{}:t.events[e];class f extends HTMLElement{constructor(){super(),_d(this,a,!0),_d(this,o),_d(this,r,{}),_d(this,"container"),t.shadow?this.container=this.attachShadow({mode:t.shadow}):this.container=this,this[qd].container=this.container;for(const e of i){const t=c[e],n=this.getAttribute(t),r=s[e],o=r?Dd[r]:null;if("method"===r){const r=Nd(t);Object.defineProperty(this[qd].container,r,{enumerable:!0,configurable:!0,get(){return this[qd][r]},set(e){this[qd][r]=e,this[jd]()}}),this[qd][e]=o.parse(n,t,this)}null!=o&&o.parse&&n&&(this[qd][e]=o.parse(n,t,this))}for(const e of l)this[qd][e]=t=>{const n=e.replace(/^on/,"").toLowerCase();this.dispatchEvent(new CustomEvent(n,{detail:t,...u[e]}))}}static get observedAttributes(){return Object.keys(d)}connectedCallback(){this[Md]=!0,this[jd]()}disconnectedCallback(){this[Md]=!1,this[Fd]&&n.unmount(this[Fd]),delete this[Fd]}attributeChangedCallback(e,t,n){const r=d[e],o=s[r],a=o?Dd[o]:null;r in s&&null!=a&&a.parse&&n&&(this[qd][r]=a.parse(n,e,this),this[jd]())}[(a=Md,o=Fd,r=qd,jd)](){this[Md]&&(this[Fd]?n.update(this[Fd],this[qd]):this[Fd]=n.mount(this.container,e,this[qd]))}}for(const e of i){const t=c[e],n=s[e];Object.defineProperty(f.prototype,e,{enumerable:!0,configurable:!0,get(){return this[qd][e]},set(r){this[qd][e]=r;const o=n?Dd[n]:null;if(null!=o&&o.stringify){const e=o.stringify(r,t,this);this.getAttribute(t)!==e&&this.setAttribute(t,e)}else this[jd]()}})}return f}(e,t,{mount:Ud,update:Hd,unmount:Bd})}const Wd=()=>{const e=Vd(nd,{props:{organizationId:"string",router:"string",fontClassName:"string",textClassName:"string",curateLabel:"string",leaderboardLabel:"string",emptyStateImage:"string",uid:"string",fname:"string",lname:"string",loginUrl:"string"}});customElements.get("qrati-connect")||customElements.define("qrati-connect",e)};export{xo as $,vo as A,Io as B,Po as C,Oo as D,Co as E,ic as F,Ro as G,No as H,Fu as I,_o as J,b as K,n as L,rc as M,Dl as N,Zu as O,ho as P,se as Q,Mo as R,tc as S,Xu as T,Hu as U,Bu as V,vi as W,Ee as X,ko as Y,xe as Z,Ao as _,Se as a,t as a$,So as a0,Wc as a1,go as a2,Ce as a3,Eo as a4,Do as a5,To as a6,kd as a7,jl as a8,ac as a9,at as aA,vr as aB,Sr as aC,kr as aD,xr as aE,Cr as aF,Gt as aG,Pr as aH,it as aI,Fe as aJ,mt as aK,pn as aL,Ut as aM,Je as aN,yr as aO,Qt as aP,Nr as aQ,fn as aR,br as aS,Zt as aT,$t as aU,Lr as aV,Ht as aW,In as aX,et as aY,Or as aZ,r as a_,Uo as aa,Sl as ab,gt as ac,Xe as ad,st as ae,nt as af,rt as ag,Dt as ah,En as ai,on as aj,Yt as ak,ln as al,mn as am,tt as an,dn as ao,un as ap,sn as aq,yt as ar,ut as as,Ir as at,Rr as au,lt as av,cn as aw,wr as ax,hn as ay,Vt as az,mo as b,Ka as c,Cl as d,vl as e,Ne as f,nc as g,ds as h,ec as i,w as j,po as k,bo as l,pe as m,ye as n,ge as o,Oe as p,jo as q,Wd as r,wi as s,Fo as t,Pi as u,qo as v,zo as w,Lo as x,wo as y,ju as z};
|
|
107
|
+
return"production"!=={}.NODE_ENV&&function(){function e(e,t){for(e=e.memoizedState;null!==e&&0<t;)e=e.next,t--;return e}function t(e,n,r,o){if(r>=n.length)return o;var a=n[r],i=Wd(e)?e.slice():Id({},e);return i[a]=t(e[a],n,r+1,o),i}function n(e,t,n){if(t.length===n.length){for(var o=0;o<n.length-1;o++)if(t[o]!==n[o])return void console.warn("copyWithRename() expects paths to be the same except for the deepest key");return r(e,t,n,0)}console.warn("copyWithRename() expects paths of the same length")}function r(e,t,n,o){var a=t[o],i=Wd(e)?e.slice():Id({},e);return o+1===t.length?(i[n[o]]=i[a],Wd(i)?i.splice(a,1):delete i[a]):i[a]=r(e[a],t,n,o+1),i}function o(e,t,n){var r=t[n],a=Wd(e)?e.slice():Id({},e);return n+1===t.length?(Wd(a)?a.splice(r,1):delete a[r],a):(a[r]=o(e[r],t,n+1),a)}function a(){return!1}function i(){return null}function l(){console.error("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://react.dev/link/rules-of-hooks")}function s(){console.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().")}function u(){}function c(){}function d(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")}function f(e,t,n,r){return new _n(e,t,n,r)}function p(e,t){e.context===Om&&(Bc(e.current,2,t,e,null,null),us())}function h(e,t){if(null!==Nm){var n=t.staleFamilies;t=t.updatedFamilies,Ls(),Tn(e.current,t,n),us()}}function m(e){Nm=e}function g(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function y(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function v(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function w(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function k(e){if(y(e)!==e)throw Error("Unable to find node on an unmounted component.")}function S(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=S(e)))return t;e=e.sibling}return null}function x(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Bd&&e[Bd]||e["@@iterator"])?e:null}function C(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===Vd?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Pd:return"Fragment";case Nd:return"Profiler";case Od:return"StrictMode";case jd:return"Suspense";case Md:return"SuspenseList";case Ud:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Rd:return"Portal";case zd:return e.displayName||"Context";case Ld:return(e._context.displayName||"Context")+".Consumer";case Dd:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Fd:return null!==(t=e.displayName||null)?t:C(e.type)||"Memo";case qd:t=e._payload,e=e._init;try{return C(e(t))}catch{}}return null}function A(e){return"number"==typeof e.tag?E(e):"string"==typeof e.name?e.name:null}function E(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return C(t);case 8:return t===Od?"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 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;break;case 29:if(null!=(t=e._debugInfo))for(var n=t.length-1;0<=n;n--)if("string"==typeof t[n].name)return t[n].name;if(null!==e.return)return E(e.return)}return null}function I(e){return{current:e}}function T(e,t){0>Kd?console.error("Unexpected pop."):(t!==Zd[Kd]&&console.error("Unexpected Fiber popped."),e.current=$d[Kd],$d[Kd]=null,Zd[Kd]=null,Kd--)}function _(e,t,n){Kd++,$d[Kd]=e.current,Zd[Kd]=n,e.current=t}function R(e){return null===e&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function P(e,t){_(ef,t,e),_(Xd,e,e),_(Jd,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=9===n?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?ju(t):$k;break;default:if(n=t.tagName,t=t.namespaceURI)t=Mu(t=ju(t),n);else switch(n){case"svg":t=Zk;break;case"math":t=Kk;break;default:t=$k}}n={context:t,ancestorInfo:n=ut(null,n=n.toLowerCase())},T(Jd,e),_(Jd,n,e)}function O(e){T(Jd,e),T(Xd,e),T(ef,e)}function N(){return R(Jd.current)}function L(e){null!==e.memoizedState&&_(tf,e,e);var t=R(Jd.current),n=e.type,r=Mu(t.context,n);t!==(r={context:r,ancestorInfo:n=ut(t.ancestorInfo,n)})&&(_(Xd,e,e),_(Jd,r,e))}function z(e){Xd.current===e&&(T(Jd,e),T(Xd,e)),tf.current===e&&(T(tf,e),DS._currentValue=zS)}function D(){}function j(e){var t=Error.prepareStackTrace;return Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith("Error: react-stack-top-frame\n")&&(e=e.slice(29)),-1!==(t=e.indexOf("\n"))&&(e=e.slice(t+1)),-1!==(t=e.indexOf("react_stack_bottom_frame"))&&(t=e.lastIndexOf("\n",t)),-1===t?"":e=e.slice(0,t)}function M(e){if(void 0===rf)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);rf=t&&t[1]||"",of=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+rf+e+of}function F(e,t){if(!e||af)return"";var n=lf.get(e);if(void 0!==n)return n;af=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r;r=Gd.H,Gd.H=null,function(){if(0===nf){md=console.log,gd=console.info,yd=console.warn,bd=console.error,vd=console.group,wd=console.groupCollapsed,kd=console.groupEnd;var e={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}nf++}();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=o.DetermineComponentFrameRoot(),l=i[0],s=i[1];if(l&&s){var u=l.split("\n"),c=s.split("\n");for(i=a=0;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(a===u.length||i===c.length)for(a=u.length-1,i=c.length-1;1<=a&&0<=i&&u[a]!==c[i];)i--;for(;1<=a&&0<=i;a--,i--)if(u[a]!==c[i]){if(1!==a||1!==i)do{if(a--,0>--i||u[a]!==c[i]){var d="\n"+u[a].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&lf.set(e,d),d}}while(1<=a&&0<=i);break}}}finally{af=!1,Gd.H=r,function(){if(0===--nf){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Id({},e,{value:md}),info:Id({},e,{value:gd}),warn:Id({},e,{value:yd}),error:Id({},e,{value:bd}),group:Id({},e,{value:vd}),groupCollapsed:Id({},e,{value:wd}),groupEnd:Id({},e,{value:kd})})}0>nf&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=n}return u=(u=e?e.displayName||e.name:"")?M(u):"","function"==typeof e&&lf.set(e,u),u}function q(e,t){switch(e.tag){case 26:case 27:case 5:return M(e.type);case 16:return M("Lazy");case 13:return e.child!==t&&null!==t?M("Suspense Fallback"):M("Suspense");case 19:return M("SuspenseList");case 0:case 15:return F(e.type,!1);case 11:return F(e.type.render,!1);case 1:return F(e.type,!0);case 31:return M("Activity");default:return""}}function U(e){try{var t="",n=null;do{t+=q(e,n);var r=e._debugInfo;if(r)for(var o=r.length-1;0<=o;o--){var a=r[o];if("string"==typeof a.name){var i=t;e:{var l=a.name,s=a.env,u=a.debugLocation;if(null!=u){var c=j(u),d=c.lastIndexOf("\n"),f=-1===d?c:c.slice(d+1);if(-1!==f.indexOf(l)){var p="\n"+f;break e}}p=M(l+(s?" ["+s+"]":""))}t=i+p}}n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function H(e){return(e=e?e.displayName||e.name:"")?M(e):""}function B(){if(null===sf)return null;var e=sf._debugOwner;return null!=e?A(e):null}function V(){if(null===sf)return"";var e=sf;try{var t="";switch(6===e.tag&&(e=e.return),e.tag){case 26:case 27:case 5:t+=M(e.type);break;case 13:t+=M("Suspense");break;case 19:t+=M("SuspenseList");break;case 31:t+=M("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||""!==t||(t+=H(e.type));break;case 11:e._debugOwner||""!==t||(t+=H(e.type.render))}for(;e;)if("number"==typeof e.tag){var n=e;e=n._debugOwner;var r=n._debugStack;if(e&&r){var o=j(r);""!==o&&(t+="\n"+o)}}else{if(null==e.debugStack)break;var a=e.debugStack;(e=e.owner)&&a&&(t+="\n"+j(a))}var i=t}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return i}function W(e,t,n,r,o,a,i){var l=sf;G(e);try{return null!==e&&e._debugTask?e._debugTask.run(t.bind(null,n,r,o,a,i)):t(n,r,o,a,i)}finally{G(l)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function G(e){Gd.getCurrentStack=null===e?null:V,uf=!1,sf=e}function Q(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Y(e){try{return $(e),!1}catch{return!0}}function $(e){return""+e}function Z(e,t){if(Y(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Q(e)),$(e)}function K(e,t){if(Y(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Q(e)),$(e)}function J(e){if(Y(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Q(e)),$(e)}function X(e){if("function"==typeof Sf&&xf(e),Af&&"function"==typeof Af.setStrictMode)try{Af.setStrictMode(Cf,e)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}}function ee(e){var t=42&e;if(0!==t)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function te(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=134217727&r;return 0!==l?0!==(r=l&~a)?o=ee(r):0!==(i&=l)?o=ee(i):n||0!==(n=l&~e)&&(o=ee(n)):0!==(l=r&~a)?o=ee(l):0!==i?o=ee(i):n||0!==(n=r&~e)&&(o=ee(n)),0===o?0:0!==t&&t!==o&&0===(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&4194048&n)?t:o}function ne(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function re(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function oe(){var e=Nf;return!(62914560&(Nf<<=1))&&(Nf=4194304),e}function ae(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ie(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function le(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Tf(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function se(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Tf(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function ue(e,t){var n=t&-t;return 0!==((n=42&n?1:ce(n))&(e.suspendedLanes|t))?0:n}function ce(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function de(e,t,n){if(If)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-Tf(n),o=1<<r;e[r].add(t),n&=~o}}function fe(e,t){if(If)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var o=31-Tf(t);e=1<<o,0<(o=n[o]).size&&(o.forEach(function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)}),o.clear()),t&=~e}}function pe(e){return Lf<(e&=-e)?zf<e?134217727&e?Df:jf:zf:Lf}function he(){var e=Qd.p;return 0!==e?e:void 0===(e=window.event)?Df:ed(e.type)}function me(e,t){var n=Qd.p;try{return Qd.p=e,t()}finally{Qd.p=n}}function ge(e){delete e[Ff],delete e[qf],delete e[Hf],delete e[Bf],delete e[Vf]}function ye(e){var t=e[Ff];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Uf]||n[Ff]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=hc(e);null!==e;){if(n=e[Ff])return n;e=hc(e)}return t}n=(e=n).parentNode}return null}function be(e){if(e=e[Ff]||e[Uf]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function ve(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function we(e){var t=e[Wf];return t||(t=e[Wf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ke(e){e[Gf]=!0}function Se(e,t){xe(e,t),xe(e+"Capture",t)}function xe(e,t){Yf[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Yf[e]=t;var n=e.toLowerCase();for($f[n]=e,"onDoubleClick"===e&&($f.ondblclick=e),e=0;e<t.length;e++)Qf.add(t[e])}function Ce(e,t){Zf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||console.error("select"===e?"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 `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||console.error("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 Ae(e){return!!cf.call(Xf,e)||!cf.call(Jf,e)&&(Kf.test(e)?Xf[e]=!0:(Jf[e]=!0,console.error("Invalid attribute name: `%s`",e),!1))}function Ee(e,t,n){if(Ae(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":case"function":return n;case"boolean":if(!1===n)return n}return void 0===n?void 0:null}return""===(e=e.getAttribute(t))&&!0===n||(Z(n,t),e===""+n?n:e)}}function Ie(e,t,n){if(Ae(t))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}Z(n,t),e.setAttribute(t,""+n)}}function Te(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}Z(n,t),e.setAttribute(t,""+n)}}function _e(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}Z(r,n),e.setAttributeNS(t,n,""+r)}}function Re(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return J(e),e;default:return""}}function Pe(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Oe(e){if(!e._valueTracker){var t=Pe(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){J(e),n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){J(e),n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function Ne(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pe(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Le(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ze(e){return e.replace(ep,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function De(e,t){void 0===t.checked||void 0===t.defaultChecked||np||(console.error("%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://react.dev/link/controlled-components",B()||"A component",t.type),np=!0),void 0===t.value||void 0===t.defaultValue||tp||(console.error("%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://react.dev/link/controlled-components",B()||"A component",t.type),tp=!0)}function je(e,t,n,r,o,a,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?(Z(i,"type"),e.type=i):e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+Re(t)):e.value!==""+Re(t)&&(e.value=""+Re(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?Fe(e,i,Re(t)):null!=n?Fe(e,i,Re(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?(Z(l,"name"),e.name=""+Re(l)):e.removeAttribute("name")}function Me(e,t,n,r,o,a,i,l){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(Z(a,"type"),e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return void Oe(e);n=null!=n?""+Re(n):"",t=null!=t?""+Re(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=r??o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(Z(i,"name"),e.name=i),Oe(e)}function Fe(e,t,n){"number"===t&&Le(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function qe(e,t){null==t.value&&("object"==typeof t.children&&null!==t.children?Cd.Children.forEach(t.children,function(e){null==e||"string"==typeof e||"number"==typeof e||"bigint"==typeof e||op||(op=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):null==t.dangerouslySetInnerHTML||ap||(ap=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),null==t.selected||rp||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),rp=!0)}function Ue(){var e=B();return e?"\n\nCheck the render method of `"+e+"`.":""}function He(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Re(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Be(e,t){for(e=0;e<lp.length;e++){var n=lp[e];if(null!=t[n]){var r=Wd(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Ue()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Ue())}}void 0===t.value||void 0===t.defaultValue||ip||(console.error("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://react.dev/link/controlled-components"),ip=!0)}function Ve(e,t){void 0===t.value||void 0===t.defaultValue||sp||(console.error("%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://react.dev/link/controlled-components",B()||"A component"),sp=!0),null!=t.children&&null==t.value&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function We(e,t,n){null==t||((t=""+Re(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+Re(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Ge(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Wd(r)){if(1<r.length)throw Error("<textarea> can only have at most one child.");r=r[0]}n=r}null==n&&(n=""),t=n}n=Re(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),Oe(e)}function Qe(e,t){return void 0===e.serverProps&&0===e.serverTail.length&&1===e.children.length&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Qe(e.children[0],t):e}function Ye(e){return" "+" ".repeat(e)}function $e(e){return"+ "+" ".repeat(e)}function Ze(e){return"- "+" ".repeat(e)}function Ke(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:case 1:return(e=e.type).displayName||e.name||null;case 11:return(e=e.type.render).displayName||e.name||null;default:return null}}function Je(e,t){return up.test(e)?(e=JSON.stringify(e)).length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}":e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Xe(e,t,n){var r=120-2*n;if(null===t)return $e(n)+Je(e,r)+"\n";if("string"==typeof t){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>r-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),$e(n)+Je(e,r)+"\n"+Ze(n)+Je(t,r)+"\n"}return Ye(n)+Je(e,r)+"\n"}function et(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function tt(e,t){switch(typeof e){case"string":return(e=JSON.stringify(e)).length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(null===e)return"null";if(Wd(e))return"[...]";if(e.$$typeof===_d)return(t=C(e.type))?"<"+t+">":"<...>";var n=et(e);if("Object"===n){for(var r in n="",t-=2,e)if(e.hasOwnProperty(r)){var o=JSON.stringify(r);if(o!=='"'+r+'"'&&(r=o),t-=r.length-2,0>(t-=(o=tt(e[r],15>t?t:15)).length)){n+=""===n?"...":", ...";break}n+=(""===n?"":",")+r+":"+o}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function nt(e,t){return"string"!=typeof e||up.test(e)?"{"+tt(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function rt(e,t,n){var r,o=120-n.length-e.length,a=[];for(r in t)if(t.hasOwnProperty(r)&&"children"!==r){var i=nt(t[r],120-n.length-r.length-1);o-=r.length+i.length+2,a.push(r+"="+i)}return 0===a.length?n+"<"+e+">\n":0<o?n+"<"+e+" "+a.join(" ")+">\n":n+"<"+e+"\n"+n+" "+a.join("\n"+n+" ")+"\n"+n+">\n"}function ot(e,t,n){var r,o="",a=Id({},t);for(r in e)if(e.hasOwnProperty(r)){delete a[r];var i=120-2*n-r.length-2,l=tt(e[r],i);t.hasOwnProperty(r)?(i=tt(t[r],i),o+=$e(n)+r+": "+l+"\n",o+=Ze(n)+r+": "+i+"\n"):o+=$e(n)+r+": "+l+"\n"}for(var s in a)a.hasOwnProperty(s)&&(e=tt(a[s],120-2*n-s.length-2),o+=Ze(n)+s+": "+e+"\n");return o}function at(e,t){var n=Ke(e);if(null===n){for(n="",e=e.child;e;)n+=at(e,t),e=e.sibling;return n}return Ye(t)+"<"+n+">\n"}function it(e,t){var n=Qe(e,t);if(n!==e&&(1!==e.children.length||e.children[0]!==n))return Ye(t)+"...\n"+it(n,t+1);n="";var r=e.fiber._debugInfo;if(r)for(var o=0;o<r.length;o++){var a=r[o].name;"string"==typeof a&&(n+=Ye(t)+"<"+a+">\n",t++)}if(r="",o=e.fiber.pendingProps,6===e.fiber.tag)r=Xe(o,e.serverProps,t),t++;else if(null!==(a=Ke(e.fiber)))if(void 0===e.serverProps){var i=120-2*(r=t)-a.length-2,l="";for(u in o)if(o.hasOwnProperty(u)&&"children"!==u){var s=nt(o[u],15);if(0>(i-=u.length+s.length+2)){l+=" ...";break}l+=" "+u+"="+s}r=Ye(r)+"<"+a+l+">\n",t++}else null===e.serverProps?(r=rt(a,o,$e(t)),t++):"string"==typeof e.serverProps?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(r=function(e,t,n,r){var o="",a=new Map;for(u in n)n.hasOwnProperty(u)&&a.set(u.toLowerCase(),u);if(1===a.size&&a.has("children"))o+=rt(e,t,Ye(r));else{for(var i in t)if(t.hasOwnProperty(i)&&"children"!==i){var l=120-2*(r+1)-i.length-1,s=a.get(i.toLowerCase());if(void 0!==s){a.delete(i.toLowerCase());var u=t[i];s=n[s];var c=nt(u,l);l=nt(s,l),"object"==typeof u&&null!==u&&"object"==typeof s&&null!==s&&"Object"===et(u)&&"Object"===et(s)&&(2<Object.keys(u).length||2<Object.keys(s).length||-1<c.indexOf("...")||-1<l.indexOf("..."))?o+=Ye(r+1)+i+"={{\n"+ot(u,s,r+2)+Ye(r+1)+"}}\n":(o+=$e(r+1)+i+"="+c+"\n",o+=Ze(r+1)+i+"="+l+"\n")}else o+=Ye(r+1)+i+"="+nt(t[i],l)+"\n"}a.forEach(function(e){if("children"!==e){var t=120-2*(r+1)-e.length-1;o+=Ze(r+1)+e+"="+nt(n[e],t)+"\n"}}),o=""===o?Ye(r)+"<"+e+">\n":Ye(r)+"<"+e+"\n"+o+Ye(r)+">\n"}return e=n.children,t=t.children,"string"==typeof e||"number"==typeof e||"bigint"==typeof e?(a="",("string"==typeof t||"number"==typeof t||"bigint"==typeof t)&&(a=""+t),o+=Xe(a,""+e,r+1)):("string"==typeof t||"number"==typeof t||"bigint"==typeof t)&&(o=null==e?o+Xe(""+t,null,r+1):o+Xe(""+t,void 0,r+1)),o}(a,o,e.serverProps,t),t++);var u="";for(o=e.fiber.child,a=0;o&&a<e.children.length;)(i=e.children[a]).fiber===o?(u+=it(i,t),a++):u+=at(o,t),o=o.sibling;for(o&&0<e.children.length&&(u+=Ye(t)+"...\n"),o=e.serverTail,null===e.serverProps&&t--,e=0;e<o.length;e++)u="string"==typeof(a=o[e])?u+(Ze(t)+Je(a,120-2*t)+"\n"):u+rt(a.type,a.props,Ze(t));return n+r+u}function lt(e){try{return"\n\n"+it(e,0)}catch{return""}}function st(e,t,n){for(var r=t,o=null,a=0;r;)r===e&&(a=0),o={fiber:r,children:null!==o?[o]:[],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:a},a++,r=r.return;return null!==o?lt(o).replaceAll(/^[+-]/gm,">"):""}function ut(e,t){var n=Id({},e||hp),r={tag:t};return-1!==dp.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==fp.indexOf(t)&&(n.pTagInButtonScope=null),-1!==cp.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),("dd"===t||"dt"===t)&&(n.dlItemTagAutoclosing=r),"#document"===t||"html"===t?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=r),null!==e||"#document"!==t&&"html"!==t&&"body"!==t?!0===n.implicitRootScope&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function ct(e,t,n){switch(t){case"select":return"hr"===e||"option"===e||"optgroup"===e||"script"===e||"template"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":if(n)break;return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":if(!n)return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===pp.indexOf(t);case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t;case"head":return n||null===t;case"html":return n&&"#document"===t||null===t;case"body":return n&&("#document"===t||"html"===t)||null===t}return!0}function dt(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function ft(e,t){var n=(t=t||hp).current;if(t=(n=ct(e,n&&n.tag,t.implicitRootScope)?null:n)?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,t),!(t=n||t))return!0;var r=t.tag;if(t=String(!!n)+"|"+e+"|"+r,mp[t])return!1;mp[t]=!0;var o=(t=sf)?dt(t.return,r):null,a=null!==t&&null!==o?st(o,t,null):"",i="<"+e+">";return n?(n="","table"===r&&"tr"===e&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error("In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s",i,r,n,a)):console.error("In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s",i,r,a),t&&(e=t.return,null===o||null===e||o===e&&e._debugOwner===t._debugOwner||W(o,function(){console.error("<%s> cannot contain a nested %s.\nSee this log for the ancestor stack trace.",r,i)})),!1}function pt(e,t,n){if(n||ct("#text",t,!1))return!0;if(mp[n="#text|"+t])return!1;mp[n]=!0;var r=(n=sf)?dt(n,t):null;return n=null!==n&&null!==r?st(r,n,6!==n.tag?{children:null}:null):"",/\S/.test(e)?console.error("In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.%s",t,n):console.error("In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.%s",t,n),!1}function ht(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function mt(e,t,n){var r=0===t.indexOf("--");r||(-1<t.indexOf("-")?xp.hasOwnProperty(t)&&xp[t]||(xp[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,function(e){return e.replace(kp,function(e,t){return t.toUpperCase()})}(t.replace(wp,"ms-")))):vp.test(t)?xp.hasOwnProperty(t)&&xp[t]||(xp[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Sp.test(n)||Cp.hasOwnProperty(n)&&Cp[n]||(Cp[n]=!0,console.error('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',t,n.replace(Sp,""))),"number"==typeof n&&(isNaN(n)?Ap||(Ap=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Ep||(Ep=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Ip.has(t)?"float"===t?e.cssFloat=n:(K(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function gt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,null!=n){if(t){var r={};if(n)for(var o in n)if(n.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var a=gp[o]||[o],i=0;i<a.length;i++)r[a[i]]=o;for(var l in t)if(t.hasOwnProperty(l)&&(!n||n[l]!==t[l]))for(o=gp[l]||[l],a=0;a<o.length;a++)r[o[a]]=l;for(var s in l={},t)for(o=gp[s]||[s],a=0;a<o.length;a++)l[o[a]]=s;for(var u in s={},r)if(o=r[u],(a=l[u])&&o!==a&&!s[i=o+","+a]){s[i]=!0,i=console;var c=t[o];i.error.call(i,"%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.",null==c||"boolean"==typeof c||""===c?"Removing":"Updating",o,a)}}for(var d in n)!n.hasOwnProperty(d)||null!=t&&t.hasOwnProperty(d)||(0===d.indexOf("--")?e.setProperty(d,""):"float"===d?e.cssFloat="":e[d]="");for(var f in t)u=t[f],t.hasOwnProperty(f)&&n[f]!==u&&mt(e,f,u)}else for(r in t)t.hasOwnProperty(r)&&mt(e,r,t[r])}function yt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function bt(e){return Rp.get(e)||e}function vt(e,t){if(cf.call(Np,t)&&Np[t])return!0;if(zp.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),null==(e=Op.hasOwnProperty(e)?e:null))return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Np[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Np[t]=!0}if(Lp.test(t)){if(e=t.toLowerCase(),null==(e=Op.hasOwnProperty(e)?e:null))return Np[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Np[t]=!0)}return!0}function wt(e,t,n,r){if(cf.call(jp,t)&&jp[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return console.error("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."),jp[t]=!0;if("function"==typeof n&&("form"===e&&"action"===t||"input"===e&&"formAction"===t||"button"===e&&"formAction"===t))return!0;if(null!=r){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(null!=(r=e.hasOwnProperty(o)?e[o]:null))return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),jp[t]=!0;if(Mp.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),jp[t]=!0}else if(Mp.test(t))return Fp.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),jp[t]=!0;if(qp.test(t)||Up.test(t))return!0;if("innerhtml"===o)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),jp[t]=!0;if("aria"===o)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),jp[t]=!0;if("is"===o&&null!=n&&"string"!=typeof n)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),jp[t]=!0;if("number"==typeof n&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),jp[t]=!0;if(Pp.hasOwnProperty(o)){if((o=Pp[o])!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),jp[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),jp[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return"data-"===(o=t.toLowerCase().slice(0,5))||"aria-"===o||(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),jp[t]=!0)}case"function":case"symbol":return jp[t]=!0,!1;case"string":if("false"===n||"true"===n){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),jp[t]=!0}}return!0}function kt(e){return Hp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function St(){}function xt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ct(e){var t=be(e);if(t&&(e=t.stateNode)){var n=e[qf]||null;e:switch(e=t.stateNode,t.type){case"input":if(je(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(Z(t,"name"),n=n.querySelectorAll('input[name="'+ze(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[qf]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");je(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&Ne(r)}break e;case"textarea":We(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&He(e,!!n.multiple,t,!1)}}}function At(e,t,n){if(Gp)return e(t,n);Gp=!0;try{return e(t)}finally{if(Gp=!1,(null!==Vp||null!==Wp)&&(us(),Vp&&(t=Vp,e=Wp,Wp=Vp=null,Ct(t),e)))for(t=0;t<e.length;t++)Ct(e[t])}}function Et(e,t){var n=e.stateNode;if(null===n)return null;var r=n[qf]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function It(){if(th)return th;var e,t,n=eh,r=n.length,o="value"in Xp?Xp.value:Xp.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return th=o.slice(e,1<t?1-t:void 0)}function Tt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function _t(){return!0}function Rt(){return!1}function Pt(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?_t:Rt,this.isPropagationStopped=Rt,this}return Id(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=_t)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=_t)},persist:function(){},isPersistent:_t}),t}function Ot(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=yh[e])&&!!t[e]}function Nt(){return Ot}function Lt(e,t){switch(e){case"keyup":return-1!==Eh.indexOf(t.keyCode);case"keydown":return t.keyCode!==Ih;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zt(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}function Dt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Dh[e.type]:"textarea"===t}function jt(e,t,n,r){Vp?Wp?Wp.push(r):Wp=[r]:Vp=r,0<(t=hu(t,"onChange")).length&&(n=new rh("onChange","change",null,n,r),e.push({event:n,listeners:t}))}function Mt(e){lu(e,0)}function Ft(e){if(Ne(ve(e)))return e}function qt(e,t){if("change"===e)return t}function Ut(){jh&&(jh.detachEvent("onpropertychange",Ht),Mh=jh=null)}function Ht(e){if("value"===e.propertyName&&Ft(Mh)){var t=[];jt(t,Mh,e,xt(e)),At(Mt,t)}}function Bt(e,t,n){"focusin"===e?(Ut(),Mh=n,(jh=t).attachEvent("onpropertychange",Ht)):"focusout"===e&&Ut()}function Vt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ft(Mh)}function Wt(e,t){if("click"===e)return Ft(t)}function Gt(e,t){if("input"===e||"change"===e)return Ft(t)}function Qt(e,t){if(qh(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!cf.call(t,o)||!qh(e[o],t[o]))return!1}return!0}function Yt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $t(e,t){var n,r=Yt(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Yt(r)}}function Zt(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Zt(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Kt(e){for(var t=Le((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Le((e=t.contentWindow).document)}return t}function Jt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Xt(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Wh||null==Hh||Hh!==Le(r)||("selectionStart"in(r=Hh)&&Jt(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Vh&&Qt(Vh,r)||(Vh=r,0<(r=hu(Bh,"onSelect")).length&&(t=new rh("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Hh)))}function en(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function tn(e){if(Qh[e])return Qh[e];if(!Gh[e])return e;var t,n=Gh[e];for(t in n)if(n.hasOwnProperty(t)&&t in Yh)return Qh[e]=n[t];return e}function nn(e,t){nm.set(e,t),Se(t,[e])}function rn(e,t,n,r){for(var o in e)cf.call(e,o)&&"_"!==o[0]&&on(o,e[o],t,n,r)}function on(e,t,n,r,o){switch(typeof t){case"object":if(null===t){t="null";break}if(t.$$typeof===_d){var a=C(t.type)||"…",i=t.key;t=t.props;var l=Object.keys(t),s=l.length;if(null==i&&0===s){t="<"+a+" />";break}if(3>r||1===s&&"children"===l[0]&&null==i){t="<"+a+" … />";break}for(var u in n.push([o+" ".repeat(r)+e,"<"+a]),null!==i&&on("key",i,n,r+1,o),e=!1,t)"children"===u?null!=t.children&&(!Wd(t.children)||0<t.children.length)&&(e=!0):cf.call(t,u)&&"_"!==u[0]&&on(u,t[u],n,r+1,o);return void n.push(["",e?">…</"+a+">":"/>"])}if("Array"===(a=(a=Object.prototype.toString.call(t)).slice(8,a.length-1))){if(u=function(e){for(var t=cm,n=0;n<e.length;n++){var r=e[n];if("object"==typeof r&&null!==r){if(!Wd(r)||2!==r.length||"string"!=typeof r[0])return dm;if(t!==cm&&t!==pm)return dm;t=pm}else{if("function"==typeof r||"string"==typeof r&&50<r.length||t!==cm&&t!==fm)return dm;t=fm}}return t}(t),u===fm||u===cm){t=JSON.stringify(t);break}if(u===pm){for(n.push([o+" ".repeat(r)+e,""]),e=0;e<t.length;e++)on((a=t[e])[0],a[1],n,r+1,o);return}}if("Promise"===a){if("fulfilled"===t.status){if(a=n.length,on(e,t.value,n,r,o),n.length>a)return void((n=n[a])[1]="Promise<"+(n[1]||"Object")+">")}else if("rejected"===t.status&&(a=n.length,on(e,t.reason,n,r,o),n.length>a))return void((n=n[a])[1]="Rejected Promise<"+n[1]+">");return void n.push([" ".repeat(r)+e,"Promise"])}return"Object"===a&&(u=Object.getPrototypeOf(t))&&"function"==typeof u.constructor&&(a=u.constructor.name),n.push([o+" ".repeat(r)+e,"Object"===a?3>r?"":"…":a]),void(3>r&&rn(t,n,r+1,o));case"function":t=""===t.name?"() => {}":t.name+"() {}";break;case"string":t=t===um?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([o+" ".repeat(r)+e,t])}function an(e,t,n,r){var o=!0;for(i in e)i in t||(n.push([hm+" ".repeat(r)+i,"…"]),o=!1);for(var a in t)if(a in e){var i=e[a],l=t[a];if(i!==l){if(0===r&&"children"===a)o=" ".repeat(r)+a,n.push([hm+o,"…"],[mm+o,"…"]);else{if(!(3<=r))if("object"==typeof i&&"object"==typeof l&&null!==i&&null!==l&&i.$$typeof===l.$$typeof)if(l.$$typeof===_d){if(i.type===l.type&&i.key===l.key){i=C(l.type)||"…",o=" ".repeat(r)+a,i="<"+i+" … />",n.push([hm+o,i],[mm+o,i]),o=!1;continue}}else{var s=Object.prototype.toString.call(i),u=Object.prototype.toString.call(l);if(s===u&&("[object Object]"===u||"[object Array]"===u)){s=[gm+" ".repeat(r)+a,"[object Array]"===u?"Array":""],n.push(s),u=n.length,an(i,l,n,r+1)?u===n.length&&(s[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if("function"==typeof i&&"function"==typeof l&&i.name===l.name&&i.length===l.length&&(s=Function.prototype.toString.call(i))===(u=Function.prototype.toString.call(l))){i=""===l.name?"() => {}":l.name+"() {}",n.push([gm+" ".repeat(r)+a,i+" Referentially unequal function closure. Consider memoization."]);continue}on(a,i,n,r,hm),on(a,l,n,r,mm)}o=!1}}else n.push([mm+" ".repeat(r)+a,"…"]),o=!1;return o}function ln(e){wm=63&e?"Blocking":64&e?"Gesture":4194176&e?"Transition":62914560&e?"Suspense":2080374784&e?"Idle":"Other"}function sn(e,t,n,r){ym&&(xm.start=t,xm.end=n,Sm.color="warning",Sm.tooltipText=r,Sm.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,xm)):performance.measure(r,xm))}function un(e,t,n){sn(e,t,n,"Reconnect")}function cn(e,t,n,r,o){var a=E(e);if(null!==a&&ym){var i=e.alternate,l=e.actualDuration;if(null===i||i.child!==e.child)for(var s=e.child;null!==s;s=s.sibling)l-=s.actualDuration;r=.5>l?r?"tertiary-light":"primary-light":10>l?r?"tertiary":"primary":100>l?r?"tertiary-dark":"primary-dark":"error";var u=e.memoizedProps;l=e._debugTask,null!==u&&null!==i&&i.memoizedProps!==u?(s=[Cm],u=an(i.memoizedProps,u,s,0),1<s.length&&(u&&!km&&0===(i.lanes&o)&&100<e.actualDuration?(km=!0,s[0]=Em,Sm.color="warning",Sm.tooltipText=Am):(Sm.color=r,Sm.tooltipText=a),Sm.properties=s,xm.start=t,xm.end=n,null!=l?l.run(performance.measure.bind(performance,""+a,xm)):performance.measure(""+a,xm))):null!=l?l.run(console.timeStamp.bind(console,a,t,n,bm,void 0,r)):console.timeStamp(a,t,n,bm,void 0,r)}}function dn(e,t,n,r){if(ym){var o=E(e);if(null!==o){for(var a=null,i=[],l=0;l<r.length;l++){var s=r[l];null==a&&null!==s.source&&(a=s.source._debugTask),s=s.value,i.push(["Error","object"==typeof s&&null!==s&&"string"==typeof s.message?String(s.message):String(s)])}null!==e.key&&on("key",e.key,i,0,""),null!==e.memoizedProps&&rn(e.memoizedProps,i,0,""),null==a&&(a=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:bm,tooltipText:13===e.tag?"Hydration failed":"Error boundary caught an error",properties:i}}},a?a.run(performance.measure.bind(performance,""+o,e)):performance.measure(""+o,e)}}}function fn(e,t,n,r,o){if(null!==o){if(ym){var a=E(e);if(null!==a){r=[];for(var i=0;i<o.length;i++){var l=o[i].value;r.push(["Error","object"==typeof l&&null!==l&&"string"==typeof l.message?String(l.message):String(l)])}null!==e.key&&on("key",e.key,r,0,""),null!==e.memoizedProps&&rn(e.memoizedProps,r,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:bm,tooltipText:"A lifecycle or effect errored",properties:r}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+a,t)):performance.measure(""+a,t)}}}else null!==(a=E(e))&&ym&&(o=1>r?"secondary-light":100>r?"secondary":500>r?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,a,t,n,bm,void 0,o)):console.timeStamp(a,t,n,bm,void 0,o))}function pn(e,t,n,r){!ym||t<=e||(n=(738197653&n)===n?"tertiary-dark":"primary-dark",r?r.run(console.timeStamp.bind(console,"Prewarm",e,t,wm,vm,n)):console.timeStamp("Prewarm",e,t,wm,vm,n))}function hn(e,t,n,r){!ym||t<=e||(n=(738197653&n)===n?"tertiary-dark":"primary-dark",r?r.run(console.timeStamp.bind(console,"Suspended",e,t,wm,vm,n)):console.timeStamp("Suspended",e,t,wm,vm,n))}function mn(e,t,n,r){!ym||t<=e||(r?r.run(console.timeStamp.bind(console,"Errored",e,t,wm,vm,"error")):console.timeStamp("Errored",e,t,wm,vm,"error"))}function gn(e,t,n,r,o){if(ym&&!(t<=e)){for(var a=[],i=0;i<n.length;i++){var l=n[i].value;a.push(["Error","object"==typeof l&&null!==l&&"string"==typeof l.message?String(l.message):String(l)])}e={start:e,end:t,detail:{devtools:{color:"error",track:wm,trackGroup:vm,tooltipText:r?"Remaining Effects Errored":"Commit Errored",properties:a}}},o?o.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function yn(e,t,n){!ym||t<=e||console.timeStamp("Animating",e,t,wm,vm,"secondary-dark")}function bn(){for(var e=Rm,t=Pm=Rm=0;t<e;){var n=_m[t];_m[t++]=null;var r=_m[t];_m[t++]=null;var o=_m[t];_m[t++]=null;var a=_m[t];if(_m[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&Sn(n,o,a)}}function vn(e,t,n,r){_m[Rm++]=e,_m[Rm++]=t,_m[Rm++]=n,_m[Rm++]=r,Pm|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function wn(e,t,n,r){return vn(e,t,n,r),xn(e)}function kn(e,t){return vn(e,null,null,t),xn(e)}function Sn(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||e._visibility&Im||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-Tf(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),a):null}function xn(e){if(Xw>Jw)throw ok=Xw=0,ak=ek=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");ok>rk&&(ok=0,ak=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),null===e.alternate&&4098&e.flags&&Gs(e);for(var t=e,n=t.return;null!==n;)null===t.alternate&&!!(4098&t.flags)&&Gs(e),n=(t=n).return;return 3===t.tag?t.stateNode:null}function Cn(e){if(null===Nm)return e;var t=Nm(e);return void 0===t?e:t.current}function An(e){if(null===Nm)return e;var t=Nm(e);return void 0===t?null!=e&&"function"==typeof e.render&&(t=Cn(e.render),e.render!==t)?(t={$$typeof:Dd,render:t},void 0!==e.displayName&&(t.displayName=e.displayName),t):e:t.current}function En(e,t){if(null===Nm)return!1;var n=e.elementType,r=!1,o="object"==typeof(t=t.type)&&null!==t?t.$$typeof:null;switch(e.tag){case 1:"function"==typeof t&&(r=!0);break;case 0:("function"==typeof t||o===qd)&&(r=!0);break;case 11:(o===Dd||o===qd)&&(r=!0);break;case 14:case 15:(o===Fd||o===qd)&&(r=!0);break;default:return!1}return!(!r||(e=Nm(n),void 0===e||e!==Nm(t)))}function In(e){null!==Nm&&"function"==typeof WeakSet&&(null===Lm&&(Lm=new WeakSet),Lm.add(e))}function Tn(e,t,n){for(;;){var r=e,o=r.alternate,a=r.child,i=r.sibling,l=r.tag;r=r.type;var s=null;switch(l){case 0:case 15:case 1:s=r;break;case 11:s=r.render}if(null===Nm)throw Error("Expected resolveFamily to be set during hot reload.");var u=!1;if(r=!1,null!==s&&(void 0!==(s=Nm(s))&&(n.has(s)?r=!0:t.has(s)&&(1===l?r=!0:u=!0))),null!==Lm&&(Lm.has(e)||null!==o&&Lm.has(o))&&(r=!0),r&&(e._debugNeedsRemount=!0),(r||u)&&(null!==(o=kn(e,2))&&os(o,e,2)),null===a||r||Tn(a,t,n),null===i)break;e=i}}function _n(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Um||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}function Rn(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pn(e,t){var n=e.alternate;switch(null===n?((n=f(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:case 1:n.type=Cn(e.type);break;case 11:n.type=An(e.type)}return n}function On(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Nn(e,t,n,r,o,a){var i=0,l=e;if("function"==typeof e)Rn(e)&&(i=1),l=Cn(l);else if("string"==typeof e)i=function(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===Zk||null!=t.itemProp)return!r||null==t.itemProp||"meta"!==e&&"title"!==e&&"style"!==e&&"link"!==e&&"script"!==e||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError){if("stylesheet"===t.rel&&"string"==typeof t.precedence){e=t.href;var o=t.onError,a=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),o&&n.push("`onError`"),null!=a&&n.push("`disabled`"),o=function(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}(n,"and"),o+=1===n.length?" prop":" props",a=1===n.length?"an "+o:"the "+o,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,a,o)}r&&("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return"stylesheet"!==t.rel||(e=t.precedence,t=t.disabled,"string"!=typeof e&&r&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),"string"==typeof e&&null==t);case"script":if(!(e=t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async)||t.onLoad||t.onError||!t.src||"string"!=typeof t.src){r&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":r&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}(e,n,i=N())?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case Ud:return(t=f(31,n,t,o)).elementType=Ud,t.lanes=a,t;case Pd:return zn(n.children,o,a,t);case Od:i=8,o|=Mm,o|=Fm;break;case Nd:return r=o,"string"!=typeof(e=n).id&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),(t=f(12,e,t,r|jm)).elementType=Nd,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case jd:return(t=f(13,n,t,o)).elementType=jd,t.lanes=a,t;case Md:return(t=f(19,n,t,o)).elementType=Md,t.lanes=a,t;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case zd:i=10;break e;case Ld:i=9;break e;case Dd:i=11,l=An(l);break e;case Fd:i=14;break e;case qd:i=16,l=null;break e}l="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e?n="null":Wd(e)?n="array":void 0!==e&&e.$$typeof===_d?(n="<"+(C(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(i=r?A(r):null)&&(l+="\n\nCheck the render method of `"+i+"`."),i=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+n+"."+l),l=null}return(t=f(i,n,t,o)).elementType=e,t.type=l,t.lanes=a,t._debugOwner=r,t}function Ln(e,t,n){return(t=Nn(e.type,e.key,e.props,e._owner,t,n))._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function zn(e,t,n,r){return(e=f(7,e,r,t)).lanes=n,e}function Dn(e,t,n){return(e=f(6,e,null,t)).lanes=n,e}function jn(e){var t=f(18,null,null,zm);return t.stateNode=e,t}function Mn(e,t,n){return(t=f(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fn(e,t){if("object"==typeof e&&null!==e){var n=Hm.get(e);return void 0!==n?n:(t={value:e,source:t,stack:U(t)},Hm.set(e,t),t)}return{value:e,source:t,stack:U(t)}}function qn(e,t){Gn(),Bm[Vm++]=Gm,Bm[Vm++]=Wm,Wm=e,Gm=t}function Un(e,t,n){Gn(),Qm[Ym++]=Zm,Qm[Ym++]=Km,Qm[Ym++]=$m,$m=e;var r=Zm;e=Km;var o=32-Tf(r)-1;r&=~(1<<o),n+=1;var a=32-Tf(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Zm=1<<32-Tf(t)+o|n<<o|r,Km=a+e}else Zm=1<<a|n<<o|r,Km=e}function Hn(e){Gn(),null!==e.return&&(qn(e,1),Un(e,1,0))}function Bn(e){for(;e===Wm;)Wm=Bm[--Vm],Bm[Vm]=null,Gm=Bm[--Vm],Bm[Vm]=null;for(;e===$m;)$m=Qm[--Ym],Qm[Ym]=null,Km=Qm[--Ym],Qm[Ym]=null,Zm=Qm[--Ym],Qm[Ym]=null}function Vn(){return Gn(),null!==$m?{id:Zm,overflow:Km}:null}function Wn(e,t){Gn(),Qm[Ym++]=Zm,Qm[Ym++]=Km,Qm[Ym++]=$m,Zm=t.id,Km=t.overflow,$m=e}function Gn(){eg||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Qn(e,t){if(null===e.return){if(null===ng)ng={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ng.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ng.distanceFromLeaf>t&&(ng.distanceFromLeaf=t)}return ng}var n=Qn(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?((n=n[n.length-1]).distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Yn(){eg&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function $n(e,t){tg||((e=Qn(e,0)).serverProps=null,null!==t&&(t=dc(t),e.serverTail.push(t)))}function Zn(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n="",r=ng;throw null!==r&&(ng=null,n=lt(r)),nr(Fn(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch"+n),e)),ag}function Kn(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ff]=e,t[qf]=r,yu(n,r),n){case"dialog":su("cancel",t),su("close",t);break;case"iframe":case"object":case"embed":su("load",t);break;case"video":case"audio":for(n=0;n<bk.length;n++)su(bk[n],t);break;case"source":su("error",t);break;case"img":case"image":case"link":su("error",t),su("load",t);break;case"details":su("toggle",t);break;case"input":Ce("input",r),su("invalid",t),De(0,r),Me(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"option":qe(0,r);break;case"select":Ce("select",r),su("invalid",t),Be(t,r);break;case"textarea":Ce("textarea",r),su("invalid",t),Ve(0,r),Ge(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Su(t.textContent,n)?(null!=r.popover&&(su("beforetoggle",t),su("toggle",t)),null!=r.onScroll&&su("scroll",t),null!=r.onScrollEnd&&su("scrollend",t),null!=r.onClick&&(t.onclick=St),t=!0):t=!1,t||Zn(e,!0)}function Jn(e){for(Jm=e.return;Jm;)switch(Jm.tag){case 5:case 31:case 13:return void(og=!1);case 27:case 3:return void(og=!0);default:Jm=Jm.return}}function Xn(e){if(e!==Jm)return!1;if(!eg)return Jn(e),eg=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Fu(e.type,e.memoizedProps)),t=!t),t&&Xm){for(t=Xm;t;){var r=Qn(e,0),o=dc(t);r.serverTail.push(o),t="Suspense"===o.type?pc(t):cc(t.nextSibling)}Zn(e)}if(Jn(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Xm=pc(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Xm=pc(e)}else 27===n?(n=Xm,$u(e.type)?(e=sS,sS=null,Xm=e):Xm=n):Xm=Jm?cc(e.stateNode.nextSibling):null;return!0}function er(){Xm=Jm=null,tg=eg=!1}function tr(){var e=rg;return null!==e&&(null===kw?kw=e:kw.push.apply(kw,e),rg=null),e}function nr(e){null===rg?rg=[e]:rg.push(e)}function rr(){var e=ng;if(null!==e){ng=null;for(var t=lt(e);0<e.children.length;)e=e.children[0];W(e.fiber,function(){console.error("A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s","https://react.dev/link/hydration-mismatch",t)})}}function or(){cg=ug=null,dg=!1}function ar(e,t,n){_(ig,t._currentValue,e),t._currentValue=n,_(lg,t._currentRenderer,e),void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==sg&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=sg}function ir(e,t){e._currentValue=ig.current;var n=lg.current;T(lg,t),e._currentRenderer=n,T(ig,t)}function lr(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("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 sr(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var i=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var s=0;s<t.length;s++)if(l.context===t[s]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),lr(a.return,n,e),r||(i=null);break e}a=l.next}}else if(18===o.tag){if(null===(i=o.return))throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");i.lanes|=n,null!==(a=i.alternate)&&(a.lanes|=n),lr(i,n,e),i=null}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}function ur(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var i=o.alternate;if(null===i)throw Error("Should have a current fiber. This is a bug in React.");if(null!==(i=i.memoizedProps)){var l=o.type;qh(o.pendingProps.value,i.value)||(null!==e?e.push(l):e=[l])}}else if(o===tf.current){if(null===(i=o.alternate))throw Error("Should have a current fiber. This is a bug in React.");i.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(DS):e=[DS])}o=o.return}null!==e&&sr(t,e,n,r),t.flags|=262144}function cr(e){for(e=e.firstContext;null!==e;){if(!qh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function dr(e){ug=e,cg=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function fr(e){return dg&&console.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()."),hr(ug,e)}function pr(e,t){return null===ug&&dr(e),hr(e,t)}function hr(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===cg){if(null===e)throw 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().");cg=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else cg=cg.next=t;return n}function mr(){return{controller:new fg,data:new Map,refCount:0}}function gr(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function yr(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),0===e.refCount&&pg(hg,function(){e.controller.abort()})}function br(e,t,n){127&e?0>Og&&(Og=gg(),Ng=yg(t),zg=t,null!=n&&(Dg=E(n)),(Yv&(Fv|qv))!==Mv&&(Rg=!0,Lg=bg),e=Uu(),t=qu(),e!==Fg||t!==Mg?Fg=-1.1:null!==t&&(Lg=bg),jg=e,Mg=t):4194048&e&&0>Bg&&(Bg=gg(),Wg=yg(t),Gg=t,null!=n&&(Qg=E(n)),0>Hg)&&(e=Uu(),t=qu(),(e!==Zg||t!==$g)&&(Zg=-1.1),Yg=e,$g=t)}function vr(){var e=Ag;return Ag=0,e}function wr(e){var t=Ag;return Ag=e,t}function kr(e){var t=Ag;return Ag+=e,t}function Sr(){Tg=Ig=-1.1}function xr(){var e=Ig;return Ig=-1.1,e}function Cr(e){0<=e&&(Ig=e)}function Ar(){var e=Eg;return Eg=-0,e}function Er(e){0<=e&&(Eg=e)}function Ir(){var e=_g;return _g=null,e}function Tr(){var e=Rg;return Rg=!1,e}function _r(e){Cg=gg(),0>e.actualStartTime&&(e.actualStartTime=Cg)}function Rr(e){if(0<=Cg){var t=gg()-Cg;e.actualDuration+=t,e.selfBaseDuration=t,Cg=-1}}function Pr(e){if(0<=Cg){var t=gg()-Cg;e.actualDuration+=t,Cg=-1}}function Or(){if(0<=Cg){var e=gg(),t=e-Cg;Cg=-1,Ag+=t,Eg+=t,Tg=e}}function Nr(e){null===_g&&(_g=[]),_g.push(e),null===xg&&(xg=[]),xg.push(e)}function Lr(){Cg=gg(),0>Ig&&(Ig=Cg)}function zr(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Dr(){if(0===--iy&&(-1<Bg||(Hg=-1.1),null!==ay)){null!==sy&&(sy.status="fulfilled");var e=ay;ay=null,ly=0,sy=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function jr(){var e=cy.current;return null!==e?e:$v.pooledCache}function Mr(e,t){_(cy,null===t?cy.current:t.pool,e)}function Fr(){var e=jr();return null===e?null:{parent:mg._currentValue,pool:e}}function qr(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Ur(e,t,n){null!==Gd.actQueue&&(Gd.didUsePromise=!0);var r=e.thenables;if(void 0===(n=r[n])?r.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(St,St),t=n),void 0===t._debugInfo){e=performance.now();var o={name:"string"==typeof(r=t.displayName)?r:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:o}],"fulfilled"!==t.status&&"rejected"!==t.status&&(e=function(){o.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Vr(e=t.reason),e;default:if("string"==typeof t.status)t.then(St,St);else{if(null!==(e=$v)&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Vr(e=t.reason),e}throw Vy=t,Wy=!0,qy}}function Hr(e){try{return Fy(e)}catch(e){throw null!==e&&"object"==typeof e&&"function"==typeof e.then?(Vy=e,Wy=!0,qy):e}}function Br(){if(null===Vy)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Vy;return Vy=null,Wy=!1,e}function Vr(e){if(e===qy||e===Hy)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Wr(e){var t=Yy;return null!=e&&(Yy=null===t?e:t.concat(e)),t}function Gr(){var e=Yy;if(null!=e)for(var t=e.length-1;0<=t;t--)if(null!=e[t].name){var n=e[t].debugTask;if(null!=n)return n}return null}function Qr(e,t,n){for(var r=Object.keys(e.props),o=0;o<r.length;o++){var a=r[o];if("children"!==a&&"key"!==a){null===t&&((t=Ln(e,n.mode,0))._debugInfo=Yy,t.return=n),W(t,function(e){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",e)},a);break}}}function Yr(e){var t=Qy;return Qy+=1,null===Gy&&(Gy={didWarnAboutUncachedPromise:!1,thenables:[]}),Ur(Gy,e,t)}function $r(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Zr(e,t){throw t.$$typeof===Td?Error('A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.'):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Kr(e,t){var n=Gr();null!==n?n.run(Zr.bind(null,e,t)):Zr(e,t)}function Jr(e,t){var n=E(e)||"Component";Ky[n]||(Ky[n]=!0,t=t.displayName||t.name||"Component",3===e.tag?console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n root.render(%s)",t,t,t):console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n <%s>{%s}</%s>",t,t,n,t,n))}function Xr(e,t){var n=Gr();null!==n?n.run(Jr.bind(null,e,t)):Jr(e,t)}function eo(e,t){var n=E(e)||"Component";Jy[n]||(Jy[n]=!0,t=String(t),3===e.tag?console.error("Symbols are not valid as a React child.\n root.render(%s)",t):console.error("Symbols are not valid as a React child.\n <%s>%s</%s>",n,t,n))}function to(e,t){var n=Gr();null!==n?n.run(eo.bind(null,e,t)):eo(e,t)}function no(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=Pn(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Dn(n,e.mode,r)).return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Yy,t):((t=o(t,n)).return=e,t._debugInfo=Yy,t)}function s(e,t,n,r){var a=n.type;return a===Pd?(Qr(n,t=d(e,t,n.props.children,r,n.key),e),t):null!==t&&(t.elementType===a||En(t,n)||"object"==typeof a&&null!==a&&a.$$typeof===qd&&Hr(a)===t.type)?($r(t=o(t,n.props),n),t.return=e,t._debugOwner=n._owner,t._debugInfo=Yy,t):($r(t=Ln(n,e.mode,r),n),t.return=e,t._debugInfo=Yy,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Mn(n,e.mode,r)).return=e,t._debugInfo=Yy,t):((t=o(t,n.children||[])).return=e,t._debugInfo=Yy,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=zn(n,e.mode,r,a)).return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Yy,t):((t=o(t,n)).return=e,t._debugInfo=Yy,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Dn(""+t,e.mode,n)).return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=Yy,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _d:return $r(n=Ln(t,e.mode,n),t),n.return=e,e=Wr(t._debugInfo),n._debugInfo=Yy,Yy=e,n;case Rd:return(t=Mn(t,e.mode,n)).return=e,t._debugInfo=Yy,t;case qd:var r=Wr(t._debugInfo);return e=p(e,t=Hr(t),n),Yy=r,e}if(Wd(t)||x(t))return(n=zn(t,e.mode,n,null)).return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=Wr(t._debugInfo),n._debugInfo=Yy,Yy=e,n;if("function"==typeof t.then)return r=Wr(t._debugInfo),e=p(e,Yr(t),n),Yy=r,e;if(t.$$typeof===zd)return p(e,pr(e,t),n);Kr(e,t)}return"function"==typeof t&&Xr(e,t),"symbol"==typeof t&&to(e,t),null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _d:return n.key===o?(o=Wr(n._debugInfo),e=s(e,t,n,r),Yy=o,e):null;case Rd:return n.key===o?u(e,t,n,r):null;case qd:return o=Wr(n._debugInfo),e=h(e,t,n=Hr(n),r),Yy=o,e}if(Wd(n)||x(n))return null!==o?null:(o=Wr(n._debugInfo),e=d(e,t,n,r,null),Yy=o,e);if("function"==typeof n.then)return o=Wr(n._debugInfo),e=h(e,t,Yr(n),r),Yy=o,e;if(n.$$typeof===zd)return h(e,t,pr(e,n),r);Kr(e,n)}return"function"==typeof n&&Xr(e,n),"symbol"==typeof n&&to(e,n),null}function m(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _d:return n=e.get(null===r.key?n:r.key)||null,e=Wr(r._debugInfo),t=s(t,n,r,o),Yy=e,t;case Rd:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case qd:var a=Wr(r._debugInfo);return t=m(e,t,n,r=Hr(r),o),Yy=a,t}if(Wd(r)||x(r))return n=e.get(n)||null,e=Wr(r._debugInfo),t=d(t,n,r,o,null),Yy=e,t;if("function"==typeof r.then)return a=Wr(r._debugInfo),t=m(e,t,n,Yr(r),o),Yy=a,t;if(r.$$typeof===zd)return m(e,t,n,pr(t,r),o);Kr(t,r)}return"function"==typeof r&&Xr(t,r),"symbol"==typeof r&&to(t,r),null}function g(e,t,n,r){if("object"!=typeof n||null===n)return r;switch(n.$$typeof){case _d:case Rd:c(e,t,n);var o=n.key;if("string"!=typeof o)break;if(null===r){(r=new Set).add(o);break}if(!r.has(o)){r.add(o);break}W(t,function(){console.error("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.",o)});break;case qd:g(e,t,n=Hr(n),r)}return r}function y(l,s,u,c){if("object"==typeof u&&null!==u&&u.type===Pd&&null===u.key&&(Qr(u,null,l),u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case _d:var d=Wr(u._debugInfo);e:{for(var f=u.key;null!==s;){if(s.key===f){if((f=u.type)===Pd){if(7===s.tag){n(l,s.sibling),(c=o(s,u.props.children)).return=l,c._debugOwner=u._owner,c._debugInfo=Yy,Qr(u,c,l),l=c;break e}}else if(s.elementType===f||En(s,u)||"object"==typeof f&&null!==f&&f.$$typeof===qd&&Hr(f)===s.type){n(l,s.sibling),$r(c=o(s,u.props),u),c.return=l,c._debugOwner=u._owner,c._debugInfo=Yy,l=c;break e}n(l,s);break}t(l,s),s=s.sibling}u.type===Pd?((c=zn(u.props.children,l.mode,c,u.key)).return=l,c._debugOwner=l,c._debugTask=l._debugTask,c._debugInfo=Yy,Qr(u,c,l),l=c):($r(c=Ln(u,l.mode,c),u),c.return=l,c._debugInfo=Yy,l=c)}return l=i(l),Yy=d,l;case Rd:e:{for(u=(d=u).key;null!==s;){if(s.key===u){if(4===s.tag&&s.stateNode.containerInfo===d.containerInfo&&s.stateNode.implementation===d.implementation){n(l,s.sibling),(c=o(s,d.children||[])).return=l,l=c;break e}n(l,s);break}t(l,s),s=s.sibling}(c=Mn(d,l.mode,c)).return=l,l=c}return i(l);case qd:return d=Wr(u._debugInfo),l=y(l,s,u=Hr(u),c),Yy=d,l}if(Wd(u))return d=Wr(u._debugInfo),l=function(o,i,l,s){for(var u=null,c=null,d=null,f=i,y=i=0,b=null;null!==f&&y<l.length;y++){f.index>y?(b=f,f=null):b=f.sibling;var v=h(o,f,l[y],s);if(null===v){null===f&&(f=b);break}u=g(o,v,l[y],u),e&&f&&null===v.alternate&&t(o,f),i=a(v,i,y),null===d?c=v:d.sibling=v,d=v,f=b}if(y===l.length)return n(o,f),eg&&qn(o,y),c;if(null===f){for(;y<l.length;y++)null!==(f=p(o,l[y],s))&&(u=g(o,f,l[y],u),i=a(f,i,y),null===d?c=f:d.sibling=f,d=f);return eg&&qn(o,y),c}for(f=r(f);y<l.length;y++)null!==(b=m(f,o,y,l[y],s))&&(u=g(o,b,l[y],u),e&&null!==b.alternate&&f.delete(null===b.key?y:b.key),i=a(b,i,y),null===d?c=b:d.sibling=b,d=b);return e&&f.forEach(function(e){return t(o,e)}),eg&&qn(o,y),c}(l,s,u,c),Yy=d,l;if(x(u)){if(d=Wr(u._debugInfo),"function"!=typeof(f=x(u)))throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var b=f.call(u);return b===u?(0!==l.tag||"[object GeneratorFunction]"!==Object.prototype.toString.call(l.type)||"[object Generator]"!==Object.prototype.toString.call(b))&&($y||console.error("Using Iterators 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. You can also use an Iterable that can iterate multiple times over the same items."),$y=!0):u.entries!==f||ky||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ky=!0),l=function(o,i,l,s){if(null==l)throw Error("An iterable object provided no iterator.");for(var u=null,c=null,d=i,f=i=0,y=null,b=null,v=l.next();null!==d&&!v.done;f++,v=l.next()){d.index>f?(y=d,d=null):y=d.sibling;var w=h(o,d,v.value,s);if(null===w){null===d&&(d=y);break}b=g(o,w,v.value,b),e&&d&&null===w.alternate&&t(o,d),i=a(w,i,f),null===c?u=w:c.sibling=w,c=w,d=y}if(v.done)return n(o,d),eg&&qn(o,f),u;if(null===d){for(;!v.done;f++,v=l.next())null!==(d=p(o,v.value,s))&&(b=g(o,d,v.value,b),i=a(d,i,f),null===c?u=d:c.sibling=d,c=d);return eg&&qn(o,f),u}for(d=r(d);!v.done;f++,v=l.next())null!==(y=m(d,o,f,v.value,s))&&(b=g(o,y,v.value,b),e&&null!==y.alternate&&d.delete(null===y.key?f:y.key),i=a(y,i,f),null===c?u=y:c.sibling=y,c=y);return e&&d.forEach(function(e){return t(o,e)}),eg&&qn(o,f),u}(l,s,b,c),Yy=d,l}if("function"==typeof u.then)return d=Wr(u._debugInfo),l=y(l,s,Yr(u),c),Yy=d,l;if(u.$$typeof===zd)return y(l,s,pr(l,u),c);Kr(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(d=""+u,null!==s&&6===s.tag?(n(l,s.sibling),(c=o(s,d)).return=l,l=c):(n(l,s),(c=Dn(d,l.mode,c)).return=l,c._debugOwner=l,c._debugTask=l._debugTask,c._debugInfo=Yy,l=c),i(l)):("function"==typeof u&&Xr(l,u),"symbol"==typeof u&&to(l,u),n(l,s))}return function(e,t,n,r){var o=Yy;Yy=null;try{Qy=0;var a=y(e,t,n,r);return Gy=null,a}catch(t){if(t===qy||t===Hy)throw t;var i=f(29,t,null,e.mode);i.lanes=r,i.return=e;var l=i._debugInfo=Yy;if(i._debugOwner=e._debugOwner,i._debugTask=e._debugTask,null!=l)for(var s=l.length-1;0<=s;s--)if("string"==typeof l[s].stack){i._debugOwner=l[s],i._debugTask=l[s].debugTask;break}return i}finally{Yy=o}}}function ro(e,t){var n=Wd(e);return e=!n&&"function"==typeof x(e),!n&&!e||(n=n?"array":"iterable",console.error("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>",n,t,n),!1)}function oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function io(e){return{lane:e,tag:nb,payload:null,callback:null,next:null}}function lo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,sb===r&&!lb){var o=E(e);console.error("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.\n\nPlease update the following component: %s",o),lb=!0}return(Yv&Fv)!==Mv?(null===(o=r.pending)?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=xn(e),Sn(e,null,n),t):(vn(e,r,t,n),xn(e))}function so(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,se(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function co(){if(ub){if(null!==sy)throw sy}}function fo(e,t,n,r){ub=!1;var o=e.updateQueue;ib=!1,sb=o.shared;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,c=u=s=null,l=a;;){var f=-536870913&l.lane,p=f!==l.lane;if(p?(Kv&f)===f:(r&f)===f){0!==f&&f===ly&&(ub=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{f=e;var h=l,m=t,g=n;switch(h.tag){case rb:if("function"==typeof(h=h.payload)){dg=!0;var y=h.call(g,d,m);if(f.mode&Mm){X(!0);try{h.call(g,d,m)}finally{X(!1)}}dg=!1,d=y;break e}d=h;break e;case ab:f.flags=-65537&f.flags|128;case nb:if("function"==typeof(y=h.payload)){if(dg=!0,h=y.call(g,d,m),f.mode&Mm){X(!0);try{y.call(g,d,m)}finally{X(!1)}}dg=!1}else h=y;if(null==h)break e;d=Id({},d,h);break e;case ob:ib=!0}}null!==(f=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=o.callbacks)?o.callbacks=[f]:p.push(f))}else p={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null===a&&(o.shared.lanes=0),mw|=i,e.lanes=i,e.memoizedState=d}sb=null}function po(e,t){if("function"!=typeof e)throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function ho(e,t){var n=e.shared.hiddenCallbacks;if(null!==n)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)po(n[e],t)}function mo(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)po(n[e],t)}function go(e,t){var n=pw;_(db,n,e),_(cb,t,e),pw=n|t.baseLanes}function yo(e){_(db,pw,e),_(cb,cb.current,e)}function bo(e){pw=db.current,T(cb,e),T(db,e)}function vo(e){var t=e.alternate;_(gb,gb.current&hb,e),_(fb,e,e),null===pb&&(null===t||null!==cb.current||null!==t.memoizedState)&&(pb=e)}function wo(e){_(gb,gb.current,e),_(fb,e,e),null===pb&&(pb=e)}function ko(e){22===e.tag?(_(gb,gb.current,e),_(fb,e,e),null===pb&&(pb=e)):So(e)}function So(e){_(gb,gb.current,e),_(fb,fb.current,e)}function xo(e){T(fb,e),pb===e&&(pb=null),T(gb,e)}function Co(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||sc(n)||uc(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ao(){var e=Mb;null===Fb?Fb=[e]:Fb.push(e)}function Eo(){var e=Mb;if(null!==Fb&&(qb++,Fb[qb]!==e)){var t=E(Ib);if(!Sb.has(t)&&(Sb.add(t),null!==Fb)){for(var n="",r=0;r<=qb;r++){var o=Fb[r],a=r===qb?e:o;for(o=r+1+". "+o;30>o.length;)o+=" ";n+=o+=a+"\n"}console.error("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://react.dev/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}}function Io(e){null==e||Wd(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Mb,typeof e)}function To(){var e=E(Ib);Ab.has(e)||(Ab.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function _o(){throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.")}function Ro(e,t){if(Ub)return!1;if(null===t)return console.error("%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.",Mb),!1;e.length!==t.length&&console.error("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Mb,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!qh(e[n],t[n]))return!1;return!0}function Po(e,t,n,r,o,a){Eb=a,Ib=t,Fb=null!==e?e._debugHookTypes:null,qb=-1,Ub=null!==e&&e.type!==t.type,("[object AsyncFunction]"===Object.prototype.toString.call(n)||"[object AsyncGeneratorFunction]"===Object.prototype.toString.call(n))&&(a=E(Ib),Cb.has(a)||(Cb.add(a),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",null===a?"An unknown Component":"<"+a+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Gd.H=null!==e&&null!==e.memoizedState?Wb:null!==Fb?Vb:Bb,Ob=a=(t.mode&Mm)!==zm;var i=xy(n,r,o);if(Ob=!1,Pb&&(i=No(t,n,r,o)),a){X(!0);try{i=No(t,n,r,o)}finally{X(!1)}}return Oo(e,t),i}function Oo(e,t){t._debugHookTypes=Fb,null===t.dependencies?null!==zb&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:zb}):t.dependencies._debugThenableState=zb,Gd.H=Hb;var n=null!==Tb&&null!==Tb.next;if(Eb=0,Fb=Mb=_b=Tb=Ib=null,qb=-1,null!==e&&(65011712&e.flags)!=(65011712&t.flags)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Rb=!1,Lb=0,zb=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");null===e||dv||null!==(e=e.dependencies)&&cr(e)&&(dv=!0),Wy?(Wy=!1,e=!0):e=!1,e&&(t=E(t)||"Unknown",xb.has(t)||Cb.has(t)||(xb.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function No(e,t,n,r){Ib=e;var o=0;do{if(Pb&&(zb=null),Lb=0,Pb=!1,o>=jb)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,Ub=!1,_b=Tb=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}qb=-1,Gd.H=Gb,a=xy(t,n,r)}while(Pb);return a}function Lo(){var e=Gd.H,t=e.useState()[0];return t="function"==typeof t.then?qo(t):t,e=e.useState()[0],(null!==Tb?Tb.memoizedState:null)!==e&&(Ib.flags|=1024),t}function zo(){var e=0!==Nb;return Nb=0,e}function Do(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Fm)!==zm?-402655237&t.flags:-2053&t.flags,e.lanes&=~n}function jo(e){if(Rb){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Rb=!1}Eb=0,Fb=_b=Tb=Ib=null,qb=-1,Mb=null,Pb=!1,Lb=Nb=0,zb=null}function Mo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===_b?Ib.memoizedState=_b=e:_b=_b.next=e,_b}function Fo(){if(null===Tb){var e=Ib.alternate;e=null!==e?e.memoizedState:null}else e=Tb.next;var t=null===_b?Ib.memoizedState:_b.next;if(null!==t)_b=t,Tb=e;else{if(null===e)throw null===Ib.alternate?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");e={memoizedState:(Tb=e).memoizedState,baseState:Tb.baseState,baseQueue:Tb.baseQueue,queue:Tb.queue,next:null},null===_b?Ib.memoizedState=_b=e:_b=_b.next=e}return _b}function qo(e){var t=Lb;return Lb+=1,null===zb&&(zb={didWarnAboutUncachedPromise:!1,thenables:[]}),e=Ur(zb,e,t),t=Ib,null===(null===_b?t.memoizedState:_b.next)&&(t=t.alternate,Gd.H=null!==t&&null!==t.memoizedState?Wb:Bb),e}function Uo(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return qo(e);if(e.$$typeof===zd)return fr(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Ho(e){var t=null,n=Ib.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Ib.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Ib.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index])||Ub)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=Hd;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function Bo(e,t){return"function"==typeof t?t(e):t}function Vo(e,t,n){var r=Mo();if(void 0!==n){var o=n(t);if(Ob){X(!0);try{n(t)}finally{X(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Ka.bind(null,Ib,e),[r.memoizedState,e]}function Wo(e){return Go(Fo(),Tb,e)}function Go(e,t,n){var r=e.queue;if(null===r)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=i=null,s=null,u=t=o.next,c=!1;do{var d=-536870913&u.lane;if(d!==u.lane?(Kv&d)===d:(Eb&d)===d){var f=u.revertLane;if(0===f)null!==s&&(s=s.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===ly&&(c=!0);else{if((Eb&f)===f){u=u.next,f===ly&&(c=!0);continue}d={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===s?(l=s=d,i=a):s=s.next=d,Ib.lanes|=f,mw|=f}d=u.action,Ob&&n(a,d),a=u.hasEagerState?u.eagerState:n(a,d)}else f={lane:d,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===s?(l=s=f,i=a):s=s.next=f,Ib.lanes|=d,mw|=d;u=u.next}while(null!==u&&u!==t);if(null===s?i=a:s.next=l,!qh(a,e.memoizedState)&&(dv=!0,c&&null!==(n=sy)))throw n;e.memoizedState=a,e.baseState=i,e.baseQueue=s,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Qo(e){var t=Fo(),n=t.queue;if(null===n)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);qh(a,t.memoizedState)||(dv=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Yo(e,t,n){var r=Ib,o=Mo();if(eg){if(void 0===n)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var a=n();Xy||a===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Xy=!0)}else{if(a=t(),Xy||(n=t(),qh(a,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Xy=!0)),null===$v)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");127&Kv||Zo(r,t,a)}return o.memoizedState=a,n={value:a,getSnapshot:t},o.queue=n,xa(Jo.bind(null,r,n,e),[e]),r.flags|=2048,va(bb|kb,{destroy:void 0},Ko.bind(null,r,n,a,t),null),a}function $o(e,t,n){var r=Ib,o=Fo(),a=eg;if(a){if(void 0===n)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Xy){var i=t();qh(n,i)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Xy=!0)}(i=!qh((Tb||o).memoizedState,n))&&(o.memoizedState=n,dv=!0),o=o.queue;var l=Jo.bind(null,r,o,e);if(Sa(2048,kb,l,[e]),o.getSnapshot!==t||i||null!==_b&&_b.memoizedState.tag&bb){if(r.flags|=2048,va(bb|kb,{destroy:void 0},Ko.bind(null,r,o,n,t),null),null===$v)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");a||127&Eb||Zo(r,t,n)}return n}function Zo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Ib.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Ib.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ko(e,t,n,r){t.value=n,t.getSnapshot=r,Xo(t)&&ea(e)}function Jo(e,t,n){return n(function(){Xo(t)&&(br(2,"updateSyncExternalStore()",e),ea(e))})}function Xo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qh(e,n)}catch{return!0}}function ea(e){var t=kn(e,2);null!==t&&os(t,e,2)}function ta(e){var t=Mo();if("function"==typeof e){var n=e;if(e=n(),Ob){X(!0);try{n()}finally{X(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:e},t}function na(e){var t=(e=ta(e)).queue,n=Ja.bind(null,Ib,t);return t.dispatch=n,[e.memoizedState,n]}function ra(e){var t=Mo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ei.bind(null,Ib,!0,n),n.dispatch=t,[e,t]}function oa(e,t){return aa(Fo(),Tb,e,t)}function aa(e,t,n,r){return e.baseState=n,Go(e,Tb,"function"==typeof r?r:Bo)}function ia(e,t){var n=Fo();return null!==Tb?aa(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])}function la(e,t,n,r,o){if(ti(e))throw Error("Cannot update form state while rendering.");if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==Gd.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,sa(t,a)):(a.next=n.next,t.pending=n.next=a)}}function sa(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=Gd.T,i={};i._updatedFibers=new Set,Gd.T=i;try{var l=n(o,r),s=Gd.S;null!==s&&s(i,l),ua(e,t,l)}catch(n){da(e,t,n)}finally{null!==a&&null!==i.types&&(null!==a.types&&a.types!==i.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),a.types=i.types),Gd.T=a,null===a&&i._updatedFibers&&(e=i._updatedFibers.size,i._updatedFibers.clear(),10<e&&console.warn("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."))}}else try{ua(e,t,i=n(o,r))}catch(n){da(e,t,n)}}function ua(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?(Gd.asyncTransitions++,n.then(Fa,Fa),n.then(function(n){ca(e,t,n)},function(n){return da(e,t,n)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):ca(e,t,n)}function ca(e,t,n){t.status="fulfilled",t.value=n,fa(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,sa(e,n)))}function da(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,fa(t),t=t.next}while(t!==r)}e.action=null}function fa(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function pa(e,t){return t}function ha(e,t){if(eg){var n=$v.formState;if(null!==n){e:{var r=Ib;if(eg){if(Xm){t:{for(var o=Xm,a=og;8!==o.nodeType;){if(!a){o=null;break t}if(null===(o=cc(o.nextSibling))){o=null;break t}}o=(a=o.data)===Wk||a===Gk?o:null}if(o){Xm=cc(o.nextSibling),r=o.data===Wk;break e}}Zn(r)}r=!1}r&&(t=n[0])}}return(n=Mo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pa,lastRenderedState:t},n.queue=r,n=Ja.bind(null,Ib,r),r.dispatch=n,r=ta(!1),a=ei.bind(null,Ib,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=Mo()).queue=o,n=la.bind(null,Ib,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function ma(e){return ga(Fo(),Tb,e)}function ga(e,t,n){if(t=Go(e,t,pa)[0],e=Wo(Bo)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=qo(t)}catch(e){throw e===qy?Hy:e}else r=t;var o=(t=Fo()).queue,a=o.dispatch;return n!==t.memoizedState&&(Ib.flags|=2048,va(bb|kb,{destroy:void 0},ya.bind(null,o,n),null)),[r,a,e]}function ya(e,t){e.action=t}function ba(e){var t=Fo(),n=Tb;if(null!==n)return ga(t,n,e);Fo(),t=t.memoizedState;var r=(n=Fo()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function va(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Ib.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Ib.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function wa(e){return e={current:e},Mo().memoizedState=e}function ka(e,t,n,r){var o=Mo();Ib.flags|=e,o.memoizedState=va(bb|t,{destroy:void 0},n,void 0===r?null:r)}function Sa(e,t,n,r){var o=Fo();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==Tb&&null!==r&&Ro(r,Tb.memoizedState.deps)?o.memoizedState=va(t,a,n,r):(Ib.flags|=e,o.memoizedState=va(bb|t,a,n,r))}function xa(e,t){(Ib.mode&Fm)!==zm?ka(276826112,kb,e,t):ka(8390656,kb,e,t)}function Ca(e){var t=Mo(),n={impl:e};return t.memoizedState=n,function(){if((Yv&Fv)!==Mv)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function Aa(e){var t=Fo().memoizedState;return function(e){Ib.flags|=4;var t=Ib.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Ib.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if((Yv&Fv)!==Mv)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Ea(e,t){var n=4194308;return(Ib.mode&Fm)!==zm&&(n|=134217728),ka(n,wb,e,t)}function Ia(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Ta(e,t,n){"function"!=typeof t&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null"),n=null!=n?n.concat([e]):null;var r=4194308;(Ib.mode&Fm)!==zm&&(r|=134217728),ka(r,wb,Ia.bind(null,t,e),n)}function _a(e,t,n){"function"!=typeof t&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null"),n=null!=n?n.concat([e]):null,Sa(4,wb,Ia.bind(null,t,e),n)}function Ra(e,t){return Mo().memoizedState=[e,void 0===t?null:t],e}function Pa(e,t){var n=Fo();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Ro(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Oa(e,t){var n=Mo();t=void 0===t?null:t;var r=e();if(Ob){X(!0);try{e()}finally{X(!1)}}return n.memoizedState=[r,t],r}function Na(e,t){var n=Fo();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Ro(t,r[1]))return r[0];if(r=e(),Ob){X(!0);try{e()}finally{X(!1)}}return n.memoizedState=[r,t],r}function La(e,t){return ja(Mo(),e,t)}function za(e,t){return Ma(Fo(),Tb.memoizedState,e,t)}function Da(e,t){var n=Fo();return null===Tb?ja(n,e,t):Ma(n,Tb.memoizedState,e,t)}function ja(e,t,n){return void 0===n||1073741824&Eb&&!(261930&Kv)?e.memoizedState=t:(e.memoizedState=n,e=rs(),Ib.lanes|=e,mw|=e,n)}function Ma(e,t,n,r){return qh(n,t)?n:null!==cb.current?(e=ja(e,n,r),qh(e,t)||(dv=!0),e):42&Eb&&(!(1073741824&Eb)||261930&Kv)?(e=rs(),Ib.lanes|=e,mw|=e,t):(dv=!0,e.memoizedState=n)}function Fa(){Gd.asyncTransitions--}function qa(e,t,n,r,o){var a=Qd.p;Qd.p=0!==a&&a<zf?a:zf;var i=Gd.T,l={};l._updatedFibers=new Set,Gd.T=l,ei(e,!1,t,n);try{var s=o(),u=Gd.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){Gd.asyncTransitions++,s.then(Fa,Fa);var c=function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status="rejected",r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}(s,r);Xa(e,t,c,ns(e))}else Xa(e,t,r,ns(e))}catch(n){Xa(e,t,{then:function(){},status:"rejected",reason:n},ns(e))}finally{Qd.p=a,null!==i&&null!==l.types&&(null!==i.types&&i.types!==l.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),i.types=l.types),Gd.T=i,null===i&&l._updatedFibers&&(e=l._updatedFibers.size,l._updatedFibers.clear(),10<e&&console.warn("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."))}}function Ua(e,t,n,r){if(5!==e.tag)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=Ha(e).queue;(function(e){if(0>Og){Og=gg(),Ng=null!=e._debugTask?e._debugTask:null,(Yv&(Fv|qv))!==Mv&&(Lg=bg);var t=Uu(),n=qu();t!==Fg||n!==Mg?Fg=-1.1:null!==n&&(Lg=bg),jg=t,Mg=n}0>Bg&&(Bg=gg(),Wg=null!=e._debugTask?e._debugTask:null,0>Hg)&&(e=Uu(),t=qu(),(e!==Zg||t!==$g)&&(Zg=-1.1),Yg=e,$g=t)})(e),qa(e,o,t,zS,null===n?u:function(){return Ba(e),n(r)})}function Ha(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:zS,baseState:zS,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:zS},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Ba(e){null===Gd.T&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Ha(e);null===t.next&&(t=e.alternate.memoizedState),Xa(e,t.next.queue,{},ns(e))}function Va(){var e=ta(!1);return e=qa.bind(null,Ib,e.queue,!0,!1),Mo().memoizedState=e,[!1,e]}function Wa(){var e=Wo(Bo)[0],t=Fo().memoizedState;return["boolean"==typeof e?e:qo(e),t]}function Ga(){var e=Qo(Bo)[0],t=Fo().memoizedState;return["boolean"==typeof e?e:qo(e),t]}function Qa(){return fr(DS)}function Ya(){var e=Mo(),t=$v.identifierPrefix;if(eg){var n=Km;t="_"+t+"R_"+(n=(Zm&~(1<<32-Tf(Zm)-1)).toString(32)+n),0<(n=Nb++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Db++).toString(32)+"_";return e.memoizedState=t}function $a(){return Mo().memoizedState=Za.bind(null,Ib)}function Za(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 24:case 3:var r=ns(n),o=io(r),a=lo(n,o,r);return null!==a&&(br(r,"refresh()",e),os(a,n,r),so(a,n,r)),e=mr(),null!=t&&null!==a&&console.error("The seed argument is not enabled outside experimental channels."),void(o.payload={cache:e})}n=n.return}}function Ka(e,t,n){var r=arguments;"function"==typeof r[3]&&console.error("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 o={lane:r=ns(e),revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};ti(e)?ni(t,o):null!==(o=wn(e,t,o,r))&&(br(r,"dispatch()",e),os(o,e,r),ri(o,t,r))}function Ja(e,t,n){var r=arguments;"function"==typeof r[3]&&console.error("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()."),Xa(e,t,n,r=ns(e))&&br(r,"setState()",e)}function Xa(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ti(e))ni(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer)){var i=Gd.H;Gd.H=Yb;try{var l=t.lastRenderedState,s=a(l,n);if(o.hasEagerState=!0,o.eagerState=s,qh(s,l))return vn(e,t,o,0),null===$v&&bn(),!1}catch{}finally{Gd.H=i}}if(null!==(n=wn(e,t,o,r)))return os(n,e,r),ri(n,t,r),!0}return!1}function ei(e,t,n,r){if(null===Gd.T&&0===ly&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),r={lane:2,revertLane:ru(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ti(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else null!==(t=wn(e,n,r,2))&&(br(2,"setOptimistic()",e),os(t,e,2))}function ti(e){var t=e.alternate;return e===Ib||null!==t&&t===Ib}function ni(e,t){Pb=Rb=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ri(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,se(e,n)}}function oi(e){if(null!==e&&"function"!=typeof e){var t=String(e);iv.has(t)||(iv.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function ai(e,t,n,r){var o=e.memoizedState,a=n(r,o);if(e.mode&Mm){X(!0);try{a=n(r,o)}finally{X(!1)}}void 0===a&&(t=C(t)||"Component",nv.has(t)||(nv.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=null==a?o:Id({},o,a),e.memoizedState=o,0===e.lanes&&(e.updateQueue.baseState=o)}function ii(e,t,n,r,o,a,i){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){if(n=l.shouldComponentUpdate(r,a,i),e.mode&Mm){X(!0);try{n=l.shouldComponentUpdate(r,a,i)}finally{X(!1)}}return void 0===n&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",C(t)||"Component"),n}return!t.prototype||!t.prototype.isPureReactComponent||(!Qt(n,r)||!Qt(o,a))}function li(e,t,n,r){var o=t.state;"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o&&(e=E(e)||"Component",Kb.has(e)||(Kb.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),lv.enqueueReplaceState(t,t.state,null))}function si(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=Id({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function ui(e){sm(e),console.warn("%s\n\n%s\n",sv?"An error occurred in the <"+sv+"> component.":"An error occurred in one of your React components.","Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries.")}function ci(e){var t=sv?"The above error occurred in the <"+sv+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+(uv||"Anonymous")+".";if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var r=e.environmentName;"string"==typeof(e=["%o\n\n%s\n\n%s\n",e,t,n].slice(0))[0]?e.splice(0,1,jS+" "+e[0],MS,qS+r+qS,FS):e.splice(0,0,jS,MS,qS+r+qS,FS),e.unshift(console),(r=US.apply(console.error,e))()}else console.error("%o\n\n%s\n\n%s\n",e,t,n)}function di(e){sm(e)}function fi(e,t){try{sv=t.source?E(t.source):null,uv=null;var n=t.value;if(null!==Gd.actQueue)Gd.thrownErrors.push(n);else(0,e.onUncaughtError)(n,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function pi(e,t,n){try{sv=n.source?E(n.source):null,uv=E(t),(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function hi(e,t,n){return(n=io(n)).tag=ab,n.payload={element:null},n.callback=function(){W(t.source,fi,e,t)},n}function mi(e){return(e=io(e)).tag=ab,e}function gi(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){In(n),W(r.source,pi,t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){In(n),W(r.source,pi,t,n,r),"function"!=typeof o&&(null===Rw?Rw=new Set([this]):Rw.add(this)),Py(this,r),"function"==typeof o||!(2&n.lanes)&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",E(n)||"Unknown")})}function yi(e,t,n,r){t.child=null===e?tb(t,null,n,r):eb(t,e.child,n,r)}function bi(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return dr(t),r=Po(e,t,n,i,a,o),l=zo(),null===e||dv?(eg&&l&&Hn(t),t.flags|=1,yi(e,t,r,o),t.child):(Do(e,t,o),Ui(e,t,o))}function vi(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Rn(a)||void 0!==a.defaultProps||null!==n.compare?((e=Nn(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(n=Cn(a),t.tag=15,t.type=n,Pi(t,a),wi(e,t,n,r,o))}if(a=e.child,!Hi(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Qt)(i,r)&&e.ref===t.ref)return Ui(e,t,o)}return t.flags|=1,(e=Pn(a,r)).ref=t.ref,e.return=t,t.child=e}function wi(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Qt(a,r)&&e.ref===t.ref&&t.type===e.type){if(dv=!1,t.pendingProps=r=a,!Hi(e,o))return t.lanes=e.lanes,Ui(e,t,o);131072&e.flags&&(dv=!0)}}return Ii(e,t,n,r,o)}function ki(e,t,n,r){var o=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:Im,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(a=null!==a?a.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~a}else r=0,t.child=null;return xi(e,t,a,n,r)}if(!(536870912&n))return r=t.lanes=536870912,xi(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Mr(t,null!==a?a.cachePool:null),null!==a?go(t,a):yo(t),ko(t)}else null!==a?(Mr(t,a.cachePool),go(t,a),So(t),t.memoizedState=null):(null!==e&&Mr(t,null),yo(t),So(t));return yi(e,t,o,n),t.child}function Si(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:Im,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function xi(e,t,n,r,o){var a=jr();return a=null===a?null:{parent:mg._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},null!==e&&Mr(t,null),yo(t),ko(t),null!==e&&ur(e,t,r,!0),t.childLanes=o,null}function Ci(e,t){var n=t.hidden;return void 0!==n&&console.error('<Activity> doesn\'t accept a hidden prop. Use mode="hidden" instead.\n- <Activity %s>\n+ <Activity %s>',!0===n?"hidden":!1===n?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),(t=Di({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function Ai(e,t,n){return eb(t,e.child,null,n),(e=Ci(t,t.pendingProps)).flags|=2,xo(t),t.memoizedState=null,e}function Ei(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(null===e||e.ref!==n)&&(t.flags|=4194816)}}function Ii(e,t,n,r,o){if(n.prototype&&"function"==typeof n.prototype.render){var a=C(n)||"Unknown";fv[a]||(console.error("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.",a,a),fv[a]=!0)}return t.mode&Mm&&dy.recordLegacyContextWarning(t,null),null===e&&(Pi(t,t.type),n.contextTypes&&(a=C(n)||"Unknown",hv[a]||(hv[a]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",a)))),dr(t),n=Po(e,t,n,r,void 0,o),r=zo(),null===e||dv?(eg&&r&&Hn(t),t.flags|=1,yi(e,t,n,o),t.child):(Do(e,t,o),Ui(e,t,o))}function Ti(e,t,n,r,o,a){return dr(t),qb=-1,Ub=null!==e&&e.type!==t.type,t.updateQueue=null,n=No(t,r,n,o),Oo(e,t),r=zo(),null===e||dv?(eg&&r&&Hn(t),t.flags|=1,yi(e,t,n,a),t.child):(Do(e,t,a),Ui(e,t,a))}function _i(e,t,n,r,o){switch(i(t)){case!1:var a=t.stateNode,l=new t.type(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,l,null);break;case!0:t.flags|=128,t.flags|=65536,a=Error("Simulated error coming from DevTools");var s=o&-o;if(t.lanes|=s,null===(l=$v))throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");gi(s=mi(s),l,t,Fn(a,t)),uo(t,s)}if(dr(t),null===t.stateNode){if(l=Om,a=n.contextType,"contextType"in n&&null!==a&&(void 0===a||a.$$typeof!==zd)&&!av.has(n)&&(av.add(n),s=void 0===a?" 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.":"object"!=typeof a?" However, it is set to a "+typeof a+".":a.$$typeof===Ld?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(a).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",C(n)||"Component",s)),"object"==typeof a&&null!==a&&(l=fr(a)),a=new n(r,l),t.mode&Mm){X(!0);try{a=new n(r,l)}finally{X(!1)}}if(l=t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=lv,t.stateNode=a,a._reactInternals=t,a._reactInternalInstance=Zb,"function"==typeof n.getDerivedStateFromProps&&null===l&&(l=C(n)||"Component",Jb.has(l)||(Jb.add(l),console.error("`%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.",l,null===a.state?"null":"undefined",l))),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate){var u=s=l=null;if("function"==typeof a.componentWillMount&&!0!==a.componentWillMount.__suppressDeprecationWarning?l="componentWillMount":"function"==typeof a.UNSAFE_componentWillMount&&(l="UNSAFE_componentWillMount"),"function"==typeof a.componentWillReceiveProps&&!0!==a.componentWillReceiveProps.__suppressDeprecationWarning?s="componentWillReceiveProps":"function"==typeof a.UNSAFE_componentWillReceiveProps&&(s="UNSAFE_componentWillReceiveProps"),"function"==typeof a.componentWillUpdate&&!0!==a.componentWillUpdate.__suppressDeprecationWarning?u="componentWillUpdate":"function"==typeof a.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==l||null!==s||null!==u){a=C(n)||"Component";var c="function"==typeof n.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ev.has(a)||(ev.add(a),console.error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles",a,c,null!==l?"\n "+l:"",null!==s?"\n "+s:"",null!==u?"\n "+u:""))}}a=t.stateNode,l=C(n)||"Component",a.render||(n.prototype&&"function"==typeof n.prototype.render?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",l):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",l)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.state||console.error("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?",l),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&console.error("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.",l),a.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",l),n.childContextTypes&&!ov.has(n)&&(ov.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",l)),n.contextTypes&&!rv.has(n)&&(rv.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",l)),"function"==typeof a.componentShouldUpdate&&console.error("%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.",l),n.prototype&&n.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",C(n)||"A pure component"),"function"==typeof a.componentDidUnmount&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",l),"function"==typeof a.componentDidReceiveProps&&console.error("%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().",l),"function"==typeof a.componentWillRecieveProps&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",l),"function"==typeof a.UNSAFE_componentWillRecieveProps&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",l),s=a.props!==r,void 0!==a.props&&s&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",l),a.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",l,l),"function"!=typeof a.getSnapshotBeforeUpdate||"function"==typeof a.componentDidUpdate||Xb.has(n)||(Xb.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",C(n))),"function"==typeof a.getDerivedStateFromProps&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",l),"function"==typeof a.getDerivedStateFromError&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",l),"function"==typeof n.getSnapshotBeforeUpdate&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",l),(s=a.state)&&("object"!=typeof s||Wd(s))&&console.error("%s.state: must be set to an object or null",l),"function"==typeof a.getChildContext&&"object"!=typeof n.childContextTypes&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",l),(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},oo(t),l=n.contextType,a.context="object"==typeof l&&null!==l?fr(l):Om,a.state===r&&(l=C(n)||"Component",tv.has(l)||(tv.add(l),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",l))),t.mode&Mm&&dy.recordLegacyContextWarning(t,a),dy.recordUnsafeLifecycleWarnings(t,a),a.state=t.memoizedState,"function"==typeof(l=n.getDerivedStateFromProps)&&(ai(t,n,l,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(l=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),l!==a.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",E(t)||"Component"),lv.enqueueReplaceState(a,a.state,null)),fo(t,r,a,o),co(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),(t.mode&Fm)!==zm&&(t.flags|=134217728),a=!0}else if(null===e){a=t.stateNode;var d=t.memoizedProps;s=si(n,d),a.props=s;var f=a.context;u=n.contextType,l=Om,"object"==typeof u&&null!==u&&(l=fr(u)),u="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate,d=t.pendingProps!==d,u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(d||f!==l)&&li(t,a,r,l),ib=!1;var p=t.memoizedState;a.state=p,fo(t,r,a,o),co(),f=t.memoizedState,d||p!==f||ib?("function"==typeof c&&(ai(t,n,c,r),f=t.memoizedState),(s=ib||ii(t,n,s,r,p,f,l))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308),(t.mode&Fm)!==zm&&(t.flags|=134217728)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),(t.mode&Fm)!==zm&&(t.flags|=134217728),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,a=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),(t.mode&Fm)!==zm&&(t.flags|=134217728),a=!1)}else{a=t.stateNode,ao(e,t),u=si(n,l=t.memoizedProps),a.props=u,c=t.pendingProps,p=a.context,f=n.contextType,s=Om,"object"==typeof f&&null!==f&&(s=fr(f)),(f="function"==typeof(d=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==c||p!==s)&&li(t,a,r,s),ib=!1,p=t.memoizedState,a.state=p,fo(t,r,a,o),co();var h=t.memoizedState;l!==c||p!==h||ib||null!==e&&null!==e.dependencies&&cr(e.dependencies)?("function"==typeof d&&(ai(t,n,d,r),h=t.memoizedState),(u=ib||ii(t,n,u,r,p,h,s)||null!==e&&null!==e.dependencies&&cr(e.dependencies))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,a=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}if(s=a,Ei(e,t),l=!!(128&t.flags),s||l){if(s=t.stateNode,G(t),l&&"function"!=typeof n.getDerivedStateFromError)n=null,Cg=-1;else if(n=Ay(s),t.mode&Mm){X(!0);try{Ay(s)}finally{X(!1)}}t.flags|=1,null!==e&&l?(t.child=eb(t,e.child,null,o),t.child=eb(t,null,n,o)):yi(e,t,n,o),t.memoizedState=s.state,e=t.child}else e=Ui(e,t,o);return o=t.stateNode,a&&o.props!==r&&(gv||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",E(t)||"a component"),gv=!0),e}function Ri(e,t,n,r){return er(),t.flags|=256,yi(e,t,n,r),t.child}function Pi(e,t){t&&t.childContextTypes&&console.error("childContextTypes cannot be defined on a function component.\n %s.childContextTypes = ...",t.displayName||t.name||"Component"),"function"==typeof t.getDerivedStateFromProps&&(e=C(t)||"Unknown",mv[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),mv[e]=!0)),"object"==typeof t.contextType&&null!==t.contextType&&(t=C(t)||"Unknown",pv[t]||(console.error("%s: Function components do not support contextType.",t),pv[t]=!0))}function Oi(e){return{baseLanes:e,cachePool:Fr()}}function Ni(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=bw),e}function Li(e,t,n){var r,o=t.pendingProps;a(t)&&(t.flags|=128);var i=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(gb.current&mb)),r&&(i=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(eg){if(i?vo(t):So(t),(e=Xm)?null!==(n=null!==(n=lc(e,og))&&n.data!==zk?n:null)&&(r={dehydrated:n,treeContext:Vn(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,(r=jn(n)).return=t,t.child=r,Jm=t,Xm=null):n=null,null===n)throw $n(t,e),Zn(t);return uc(n)?t.lanes=32:t.lanes=536870912,null}var s=o.children;if(o=o.fallback,i){So(t);var u=t.mode;return s=Di({mode:"hidden",children:s},u),o=zn(o,u,n,null),s.return=t,o.return=t,s.sibling=o,t.child=s,(o=t.child).memoizedState=Oi(n),o.childLanes=Ni(e,r,n),t.memoizedState=vv,Si(null,o)}return vo(t),zi(t,s)}var c=e.memoizedState;if(null!==c){var d=c.dehydrated;if(null!==d){if(l)256&t.flags?(vo(t),t.flags&=-257,t=ji(e,t,n)):null!==t.memoizedState?(So(t),t.child=e.child,t.flags|=128,t=null):(So(t),s=o.fallback,u=t.mode,o=Di({mode:"visible",children:o.children},u),(s=zn(s,u,n,null)).flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,eb(t,e.child,null,n),(o=t.child).memoizedState=Oi(n),o.childLanes=Ni(e,r,n),t.memoizedState=vv,t=Si(null,o));else if(vo(t),Yn(),!!(536870912&n)&&ys(t),uc(d)){if(r=d.nextSibling&&d.nextSibling.dataset){s=r.dgst;var f=r.msg;u=r.stck;var p=r.cstck}r=s,o=u,s=i=f,u=d=p,(s=Error(s||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.")).stack=o||"",s.digest=r,o={value:s,source:null,stack:r=void 0===u?null:u},"string"==typeof r&&Hm.set(s,o),nr(o),t=ji(e,t,n)}else if(dv||ur(e,t,n,!1),r=0!==(n&e.childLanes),dv||r){if(null!==(r=$v)&&(0!==(o=ue(r,n))&&o!==c.retryLane))throw c.retryLane=o,kn(e,o),os(r,e,o),cv;sc(d)||bs(),t=ji(e,t,n)}else sc(d)?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,Xm=cc(d.nextSibling),Jm=t,eg=!0,rg=null,tg=!1,ng=null,og=!1,null!==e&&Wn(t,e),(t=zi(t,o.children)).flags|=4096);return t}}return i?(So(t),s=o.fallback,u=t.mode,d=(p=e.child).sibling,(o=Pn(p,{mode:"hidden",children:o.children})).subtreeFlags=65011712&p.subtreeFlags,null!==d?s=Pn(d,s):(s=zn(s,u,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,Si(null,o),o=t.child,null===(s=e.child.memoizedState)?s=Oi(n):(null!==(u=s.cachePool)?(p=mg._currentValue,u=u.parent!==p?{parent:p,pool:p}:u):u=Fr(),s={baseLanes:s.baseLanes|n,cachePool:u}),o.memoizedState=s,o.childLanes=Ni(e,r,n),t.memoizedState=vv,Si(e.child,o)):(null!==c&&(62914560&n)===n&&0!==(n&e.lanes)&&ys(t),vo(t),e=(n=e.child).sibling,(n=Pn(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function zi(e,t){return(t=Di({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Di(e,t){return(e=f(22,e,null,t)).lanes=0,e}function ji(e,t,n){return eb(t,e.child,null,n),(e=zi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Mi(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),lr(e.return,t,n)}function Fi(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.treeForkCount=a)}function qi(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail,i=r.children,l=gb.current;if((r=0!==(l&mb))?(l=l&hb|mb,t.flags|=128):l&=hb,_(gb,l,t),l=o??"null","forwards"!==o&&"unstable_legacy-backwards"!==o&&"together"!==o&&"independent"!==o&&!yv[l])if(yv[l]=!0,null==o)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if("backwards"===o)console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if("string"==typeof o)switch(o.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);bv[l=a??"null"]||(null==a?("forwards"===o||"backwards"===o||"unstable_legacy-backwards"===o)&&(bv[l]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):"visible"!==a&&"collapsed"!==a&&"hidden"!==a?(bv[l]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',a)):"forwards"!==o&&"backwards"!==o&&"unstable_legacy-backwards"!==o&&(bv[l]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',a)));e:if(("forwards"===o||"backwards"===o||"unstable_legacy-backwards"===o)&&null!=i&&!1!==i)if(Wd(i)){for(l=0;l<i.length;l++)if(!ro(i[l],l))break e}else if(l=x(i),"function"==typeof l){if(l=l.call(i))for(var s=l.next(),u=0;!s.done;s=l.next()){if(!ro(s.value,u))break e;u++}}else console.error('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?',o);if(yi(e,t,i,n),eg?(Gn(),i=Gm):i=0,!r&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Mi(e,n,t);else if(19===e.tag)Mi(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Co(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Fi(t,!1,o,n,a,i);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Co(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Fi(t,!0,n,null,a,i);break;case"together":Fi(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Ui(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Cg=-1,mw|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(ur(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(null!==t.child){for(n=Pn(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hi(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!cr(e))}function Bi(e,t,n){if(t._debugNeedsRemount&&null!==e){(n=Nn(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes))._debugStack=t._debugStack,n._debugTask=t._debugTask;var r=t.return;if(null===r)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw Error("Expected to find the previous sibling.");o.sibling=n}return null===(t=r.deletions)?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=2,n}if(null!==e)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)dv=!0;else{if(!(Hi(e,n)||128&t.flags))return dv=!1,function(e,t,n){switch(t.tag){case 3:P(t,t.stateNode.containerInfo),ar(t,mg,e.memoizedState.cache),er();break;case 27:case 5:L(t);break;case 4:P(t,t.stateNode.containerInfo);break;case 10:ar(t,t.type,t.memoizedProps.value);break;case 12:0!==(n&t.childLanes)&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(null!==t.memoizedState)return t.flags|=128,wo(t),null;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(vo(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Li(e,t,n):(vo(t),null!==(e=Ui(e,t,n))?e.sibling:null);vo(t);break;case 19:var o=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(ur(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return qi(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_(gb,gb.current,t),r)break;return null;case 22:return t.lanes=0,ki(e,t,n,t.pendingProps);case 24:ar(t,mg,e.memoizedState.cache)}return Ui(e,t,n)}(e,t,n);dv=!!(131072&e.flags)}else dv=!1,(r=eg)&&(Gn(),r=!!(1048576&t.flags)),r&&(r=t.index,Gn(),Un(t,Gm,r));switch(t.lanes=0,t.tag){case 16:e:{if(r=t.pendingProps,e=Hr(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){if((o=e.$$typeof)===Dd){t.tag=11,t.type=e=An(e),t=bi(null,t,e,r,n);break e}if(o===Fd){t.tag=14,t=vi(null,t,e,r,n);break e}}throw t="",null!==e&&"object"==typeof e&&e.$$typeof===qd&&(t=" Did you wrap a component in React.lazy() more than once?"),n=C(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}Rn(e)?(r=si(e,r),t.tag=1,t.type=e=Cn(e),t=_i(null,t,e,r,n)):(t.tag=0,Pi(t,e),t.type=e=Cn(e),t=Ii(null,t,e,r,n))}return t;case 0:return Ii(e,t,t.type,t.pendingProps,n);case 1:return _i(e,t,r=t.type,o=si(r,t.pendingProps),n);case 3:e:{if(P(t,t.stateNode.containerInfo),null===e)throw Error("Should have a current fiber. This is a bug in React.");r=t.pendingProps;var a=t.memoizedState;o=a.element,ao(e,t),fo(t,r,null,n);var i=t.memoizedState;if(r=i.cache,ar(t,mg,r),r!==a.cache&&sr(t,[mg],n,!0),co(),r=i.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ri(e,t,r,n);break e}if(r!==o){nr(o=Fn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t)),t=Ri(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(Xm=cc(e.firstChild),Jm=t,eg=!0,rg=null,tg=!1,ng=null,og=!0,n=tb(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(er(),r===o){t=Ui(e,t,n);break e}yi(e,t,r,n)}t=t.child}return t;case 26:return Ei(e,t),null===e?(n=xc(t.type,null,t.pendingProps,null))?t.memoizedState=n:eg||(n=t.type,e=t.pendingProps,(r=Du(r=R(ef.current)).createElement(n))[Ff]=t,r[qf]=e,Au(r,n,e),ke(r),t.stateNode=r):t.memoizedState=xc(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return L(t),null===e&&eg&&(r=R(ef.current),o=N(),r=t.stateNode=bc(t.type,t.pendingProps,r,o,!1),tg||null!==(o=Lu(r,t.type,t.pendingProps,o))&&(Qn(t,0).serverProps=o),Jm=t,og=!0,o=Xm,$u(t.type)?(sS=o,Xm=cc(r.firstChild)):Xm=o),yi(e,t,t.pendingProps.children,n),Ei(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&eg&&(a=N(),r=ft(t.type,a.ancestorInfo),(i=!(o=Xm))||(i=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Gf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;Z(o.name,"name");var a=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===a)return e}if(null===(e=cc(e.nextSibling)))break}return null}(o,t.type,t.pendingProps,og),null!==i?(t.stateNode=i,tg||null!==(a=Lu(i,t.type,t.pendingProps,a))&&(Qn(t,0).serverProps=a),Jm=t,Xm=cc(i.firstChild),og=!1,a=!0):a=!1,i=!a),i&&(r&&$n(t,o),Zn(t))),L(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,r=a.children,Fu(o,a)?r=null:null!==i&&Fu(o,i)&&(t.flags|=32),null!==t.memoizedState&&(o=Po(e,t,Lo,null,null,n),DS._currentValue=o),Ei(e,t),yi(e,t,r,n),t.child;case 6:return null===e&&eg&&(n=t.pendingProps,n=null==(r=(e=N()).ancestorInfo.current)||pt(n,r.tag,e.ancestorInfo.implicitRootScope),(r=!(e=Xm))||(r=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=cc(e.nextSibling)))return null;return e}(e,t.pendingProps,og),null!==r?(t.stateNode=r,Jm=t,Xm=null,r=!0):r=!1,r=!r),r&&(n&&$n(t,e),Zn(t))),null;case 13:return Li(e,t,n);case 4:return P(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=eb(t,null,r,n):yi(e,t,r,n),t.child;case 11:return bi(e,t,t.type,t.pendingProps,n);case 7:return yi(e,t,t.pendingProps,n),t.child;case 8:return yi(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,(r=t.stateNode).effectDuration=-0,r.passiveEffectDuration=-0,yi(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.type,a=(o=t.pendingProps).value,"value"in o||wv||(wv=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),ar(t,r,a),yi(e,t,o.children,n),t.child;case 9:return o=t.type._context,"function"!=typeof(r=t.pendingProps.children)&&console.error("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."),dr(t),o=fr(o),r=xy(r,o,void 0),t.flags|=1,yi(e,t,r,n),t.child;case 14:return vi(e,t,t.type,t.pendingProps,n);case 15:return wi(e,t,t.type,t.pendingProps,n);case 19:return qi(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if(eg){if("hidden"===r.mode)return e=Ci(t,r),t.lanes=536870912,Si(null,e);if(wo(t),(e=Xm)?null!==(n=null!==(n=lc(e,og))&&n.data===zk?n:null)&&(r={dehydrated:n,treeContext:Vn(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,(r=jn(n)).return=t,t.child=r,Jm=t,Xm=null):n=null,null===n)throw $n(t,e),Zn(t);return t.lanes=536870912,null}return Ci(t,r)}var a=e.memoizedState;if(null!==a){var i=a.dehydrated;if(wo(t),o)if(256&t.flags)t.flags&=-257,t=Ai(e,t,n);else{if(null===t.memoizedState)throw Error("Client rendering an Activity suspended it again. This is a bug in React.");t.child=e.child,t.flags|=128,t=null}else if(Yn(),!!(536870912&n)&&ys(t),dv||ur(e,t,n,!1),o=0!==(n&e.childLanes),dv||o){if(null!==(r=$v)&&0!==(i=ue(r,n))&&i!==a.retryLane)throw a.retryLane=i,kn(e,i),os(r,e,i),cv;bs(),t=Ai(e,t,n)}else e=a.treeContext,Xm=cc(i.nextSibling),Jm=t,eg=!0,rg=null,tg=!1,ng=null,og=!1,null!==e&&Wn(t,e),(t=Ci(t,r)).flags|=4096;return t}return a=e.child,r={mode:r.mode,children:r.children},!!(536870912&n)&&0!==(n&e.lanes)&&ys(t),(e=Pn(a,r)).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return ki(e,t,n,t.pendingProps);case 24:return dr(t),r=fr(mg),null===e?(null===(o=jr())&&(o=$v,a=mr(),o.pooledCache=a,gr(a),null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},oo(t),ar(t,mg,o)):(0!==(e.lanes&n)&&(ao(e,t),fo(t,null,null,n),co()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),ar(t,mg,r)):(r=a.cache,ar(t,mg,r),r!==o.cache&&sr(t,[mg],n,!0))),yi(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Vi(e){e.flags|=4}function Wi(e,t,n,r,o){if((t=(e.mode&qm)!==zm)&&(t=!1),t){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!hs())throw Vy=By,Uy;e.flags|=8192}}else e.flags&=-16777217}function Gi(e,t){if("stylesheet"!==t.type||(t.state.loading&pS)!==uS)e.flags&=-16777217;else if(e.flags|=16777216,!Dc(t)){if(!hs())throw Vy=By,Uy;e.flags|=8192}}function Qi(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?oe():536870912,e.lanes|=t,vw|=t)}function Yi(e,t){if(!eg)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $i(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)if((e.mode&jm)!==zm){for(var o=e.selfBaseDuration,a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=65011712&a.subtreeFlags,r|=65011712&a.flags,o+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=o}else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else if((e.mode&jm)!==zm){o=e.actualDuration,a=e.selfBaseDuration;for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,o+=i.actualDuration,a+=i.treeBaseDuration,i=i.sibling;e.actualDuration=o,e.treeBaseDuration=a}else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Zi(e,t,n){var r=t.pendingProps;switch(Bn(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return $i(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ir(mg,t),O(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(Xn(t)?(rr(),Vi(t)):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,tr())),$i(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(Vi(t),null!==a?($i(t),Gi(t,a)):($i(t),Wi(t,o,0,0,n))):a?a!==e.memoizedState?(Vi(t),$i(t),Gi(t,a)):($i(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&Vi(t),$i(t),Wi(t,o,0,0,n)),null;case 27:if(z(t),n=R(ef.current),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Vi(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return $i(t),null}e=N(),Xn(t)?Kn(t):(e=bc(o,r,n,e,!0),t.stateNode=e,Vi(t))}return $i(t),null;case 5:if(z(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Vi(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return $i(t),null}var i=N();if(Xn(t))Kn(t);else{switch(a=R(ef.current),ft(o,i.ancestorInfo),i=i.context,a=Du(a),i){case Zk:a=a.createElementNS(_p,o);break;case Kk:a=a.createElementNS(Tp,o);break;default:switch(o){case"svg":a=a.createElementNS(_p,o);break;case"math":a=a.createElementNS(Tp,o);break;case"script":(a=a.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?a.createElement("select",{is:r.is}):a.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?a.createElement(o,{is:r.is}):a.createElement(o),-1===o.indexOf("-")&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),"[object HTMLUnknownElement]"!==Object.prototype.toString.call(a)||cf.call(eS,o)||(eS[o]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",o)))}}a[Ff]=t,a[qf]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)a.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=a;e:switch(Au(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Vi(t)}}return $i(t),Wi(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Vi(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=R(ef.current),n=N(),Xn(t)){if(e=t.stateNode,n=t.memoizedProps,o=!tg,r=null,null!==(a=Jm))switch(a.tag){case 3:o&&(null!==(o=fc(e,n,r))&&(Qn(t,0).serverProps=o));break;case 27:case 5:r=a.memoizedProps,o&&(null!==(o=fc(e,n,r))&&(Qn(t,0).serverProps=o))}e[Ff]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Su(e.nodeValue,n)))||Zn(t,!0)}else null!=(o=n.ancestorInfo.current)&&pt(r,o.tag,n.ancestorInfo.implicitRootScope),(e=Du(e).createTextNode(r))[Ff]=t,t.stateNode=e}return $i(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=Xn(t),null!==n){if(null===e){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Ff]=t,$i(t),(t.mode&jm)!==zm&&null!==n&&(null!==(e=t.child)&&(t.treeBaseDuration-=e.treeBaseDuration))}else rr(),er(),!(128&t.flags)&&(n=t.memoizedState=null),t.flags|=4,$i(t),(t.mode&jm)!==zm&&null!==n&&(null!==(e=t.child)&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=tr(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(xo(t),t):(xo(t),null);if(128&t.flags)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return $i(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=r,a=Xn(t),null!==o&&null!==o.dehydrated){if(null===e){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");a[Ff]=t,$i(t),(t.mode&jm)!==zm&&null!==o&&(null!==(o=t.child)&&(t.treeBaseDuration-=o.treeBaseDuration))}else rr(),er(),!(128&t.flags)&&(o=t.memoizedState=null),t.flags|=4,$i(t),(t.mode&jm)!==zm&&null!==o&&(null!==(o=t.child)&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=tr(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(xo(t),t):(xo(t),null)}return xo(t),128&t.flags?(t.lanes=n,(t.mode&jm)!==zm&&zr(t),t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Qi(t,t.updateQueue),$i(t),(t.mode&jm)!==zm&&n&&(null!==(e=t.child)&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return O(t),null===e&&cu(t.stateNode.containerInfo),$i(t),null;case 10:return ir(t.type,t),$i(t),null;case 19:if(T(gb,t),null===(r=t.memoizedState))return $i(t),null;if(o=!!(128&t.flags),null===(a=r.rendering))if(o)Yi(r,!1);else{if(hw!==Uv||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=Co(e))){for(t.flags|=128,Yi(r,!1),e=a.updateQueue,t.updateQueue=e,Qi(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)On(n,e),n=n.sibling;return _(gb,gb.current&hb|mb,t),eg&&qn(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&mf()>Ew&&(t.flags|=128,o=!0,Yi(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=Co(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Qi(t,e),Yi(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!eg)return $i(t),null}else 2*mf()-r.renderingStartTime>Ew&&536870912!==n&&(t.flags|=128,o=!0,Yi(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=mf(),e.sibling=null,n=gb.current,_(gb,n=o?n&hb|mb:n&hb,t),eg&&qn(t,r.treeForkCount),e):($i(t),null);case 22:case 23:return xo(t),bo(t),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&($i(t),6&t.subtreeFlags&&(t.flags|=8192)):$i(t),null!==(n=t.updateQueue)&&Qi(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&T(cy,t),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ir(mg,t),$i(t),null;case 25:case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ki(e,t){switch(Bn(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&jm)!==zm&&zr(t),t):null;case 3:return ir(mg,t),O(t),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return z(t),null;case 31:if(null!==t.memoizedState){if(xo(t),null===t.alternate)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");er()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&jm)!==zm&&zr(t),t):null;case 13:if(xo(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");er()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&jm)!==zm&&zr(t),t):null;case 19:return T(gb,t),null;case 4:return O(t),null;case 10:return ir(t.type,t),null;case 22:case 23:return xo(t),bo(t),null!==e&&T(cy,t),65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&jm)!==zm&&zr(t),t):null;case 24:return ir(mg,t),null;default:return null}}function Ji(e,t){switch(Bn(t),t.tag){case 3:ir(mg,t),O(t);break;case 26:case 27:case 5:z(t);break;case 4:O(t);break;case 31:null!==t.memoizedState&&xo(t);break;case 13:xo(t);break;case 19:T(gb,t);break;case 10:ir(t.type,t);break;case 22:case 23:xo(t),bo(t),null!==e&&T(cy,t);break;case 24:ir(mg,t)}}function Xi(e){return(e.mode&jm)!==zm}function el(e,t){Xi(e)?(Lr(),nl(t,e),Or()):nl(t,e)}function tl(e,t,n){Xi(e)?(Lr(),rl(n,e,t),Or()):rl(n,e,t)}function nl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e&&(r=void 0,(e&vb)!==yb&&(ik=!0),r=W(t,zy,n),(e&vb)!==yb&&(ik=!1),void 0!==r&&"function"!=typeof r)){var a;a=0!==(n.tag&wb)?"useLayoutEffect":0!==(n.tag&vb)?"useInsertionEffect":"useEffect";W(t,function(e,t){console.error("%s must not return anything besides a function, which is used for clean-up.%s",e,t)},a,null===r?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof r.then?"\n\nIt looks like you wrote "+a+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+a+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching":" You returned: "+r)}n=n.next}while(n!==o)}}catch(e){js(t,t.return,e)}}function rl(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;void 0!==l&&(i.destroy=void 0,(e&vb)!==yb&&(ik=!0),W(o=t,jy,o,n,l),(e&vb)!==yb&&(ik=!1))}r=r.next}while(r!==a)}}catch(e){js(t,t.return,e)}}function ol(e,t){Xi(e)?(Lr(),nl(t,e),Or()):nl(t,e)}function al(e,t,n){Xi(e)?(Lr(),rl(n,e,t),Or()):rl(n,e,t)}function il(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||gv||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",E(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",E(e)||"instance"));try{W(e,mo,t,n)}catch(t){js(e,e.return,t)}}}function ll(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function sl(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||gv||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",E(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",E(e)||"instance"));try{var o=si(e.type,n),a=W(e,ll,t,o,r);n=kv,void 0!==a||n.has(e.type)||(n.add(e.type),W(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",E(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){js(e,e.return,t)}}function ul(e,t,n){n.props=si(e.type,e.memoizedProps),n.state=e.memoizedState,Xi(e)?(Lr(),W(e,Ny,e,t,n),Or()):W(e,Ny,e,t,n)}function cl(e){var t=e.ref;if(null!==t){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;default:n=e.stateNode}if("function"==typeof t)if(Xi(e))try{Lr(),e.refCleanup=t(n)}finally{Or()}else e.refCleanup=t(n);else"string"==typeof t?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",E(e)),t.current=n}}function dl(e,t){try{W(e,cl,e)}catch(n){js(e,t,n)}}function fl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{if(Xi(e))try{Lr(),W(e,r)}finally{Or()}else W(e,r)}catch(n){js(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{if(Xi(e))try{Lr(),W(e,n,null)}finally{Or()}else W(e,n,null)}catch(n){js(e,t,n)}else n.current=null}function pl(e,t,n,r){var o=e.memoizedProps,a=o.id,i=o.onCommit;o=o.onRender,t=null===t?"mount":"update",ry&&(t="nested-update"),"function"==typeof o&&o(a,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),"function"==typeof i&&i(a,t,r,n)}function hl(e,t,n,r){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=null===t?"mount":"update",ry&&(t="nested-update"),"function"==typeof o&&o(e,t,r,n)}function ml(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{W(e,Bu,r,t,n,e)}catch(t){js(e,e.return,t)}}function gl(e,t,n){try{W(e,Wu,e.stateNode,e.type,n,t,e)}catch(t){js(e,e.return,t)}}function yl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&$u(e.type)||4===e.tag}function bl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||yl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&$u(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function vl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(Yu(n),(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t)):(Yu(n),(t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=St));else if(4!==r&&(27===r&&$u(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(vl(e,t,n),e=e.sibling;null!==e;)vl(e,t,n),e=e.sibling}function wl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&$u(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(wl(e,t,n),e=e.sibling;null!==e;)wl(e,t,n),e=e.sibling}function kl(e){for(var t,n=e.return;null!==n;){if(yl(n)){t=n;break}n=n.return}if(null==t)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,wl(e,n=bl(e),t);break;case 5:n=t.stateNode,32&t.flags&&(Gu(n),t.flags&=-33),wl(e,t=bl(e),n);break;case 3:case 4:t=t.stateNode.containerInfo,vl(e,n=bl(e),t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Sl(e){var t=e.stateNode,n=e.memoizedProps;try{W(e,vc,e.type,n,t,e)}catch(t){js(e,e.return,t)}}function xl(e,t){return 31===t.tag?(t=t.memoizedState,null!==e.memoizedState&&null===t):13===t.tag?(e=e.memoizedState,t=t.memoizedState,null!==e&&null!==e.dehydrated&&(null===t||null===t.dehydrated)):3===t.tag&&(e.memoizedState.isDehydrated&&!(256&t.flags))}function Cl(e,t,n){var r=xr(),o=Ar(),a=Ir(),i=Tr(),l=n.flags;switch(n.tag){case 0:case 11:case 15:zl(e,n),4&l&&el(n,wb|bb);break;case 1:if(zl(e,n),4&l)if(e=n.stateNode,null===t)n.type.defaultProps||"ref"in n.memoizedProps||gv||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",E(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",E(n)||"instance")),Xi(n)?(Lr(),W(n,Iy,n,e),Or()):W(n,Iy,n,e);else{var s=si(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||gv||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",E(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",E(n)||"instance")),Xi(n)?(Lr(),W(n,_y,n,e,s,t,e.__reactInternalSnapshotBeforeUpdate),Or()):W(n,_y,n,e,s,t,e.__reactInternalSnapshotBeforeUpdate)}64&l&&il(n),512&l&&dl(n,n.return);break;case 3:if(t=vr(),zl(e,n),64&l&&null!==(l=n.updateQueue)){if(s=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:s=n.child.stateNode}try{W(n,mo,l,s)}catch(e){js(n,n.return,e)}}e.effectDuration+=wr(t);break;case 27:null===t&&4&l&&Sl(n);case 26:case 5:if(zl(e,n),null===t)if(4&l)ml(n);else if(64&l){e=n.type,t=n.memoizedProps,s=n.stateNode;try{W(n,Vu,s,e,t,n)}catch(e){js(n,n.return,e)}}512&l&&dl(n,n.return);break;case 12:if(4&l){l=vr(),zl(e,n),(e=n.stateNode).effectDuration+=kr(l);try{W(n,pl,n,t,kg,e.effectDuration)}catch(e){js(n,n.return,e)}}else zl(e,n);break;case 31:zl(e,n),4&l&&Tl(e,n);break;case 13:zl(e,n),4&l&&_l(e,n),64&l&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if(e.data===qk)e._reactRetry=t;else if(e.data!==Fk||n.readyState!==Qk)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,l=Us.bind(null,n))));break;case 22:if(!(l=null!==n.memoizedState||Sv)){t=null!==t&&null!==t.memoizedState||xv,s=Sv;var u=xv;Sv=l,(xv=t)&&!u?(Fl(e,n,!!(8772&n.subtreeFlags)),(n.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&un(n,Ig,Tg)):zl(e,n),Sv=s,xv=u}break;case 30:break;default:zl(e,n)}(n.mode&jm)!==zm&&0<=Ig&&0<=Tg&&((Rg||.05<Eg)&&fn(n,Ig,Tg,Eg,_g),null===n.alternate&&null!==n.return&&null!==n.return.alternate&&.05<Tg-Ig&&(xl(n.return.alternate,n.return)||sn(n,Ig,Tg,"Mount"))),Cr(r),Er(o),_g=a,Rg=i}function Al(e){var t=e.alternate;null!==t&&(e.alternate=null,Al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&ge(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function El(e,t,n){for(n=n.child;null!==n;)Il(e,t,n),n=n.sibling}function Il(e,t,n){if(Af&&"function"==typeof Af.onCommitFiberUnmount)try{Af.onCommitFiberUnmount(Cf,n)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}var r=xr(),o=Ar(),a=Ir(),i=Tr();switch(n.tag){case 26:xv||fl(n,t),El(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode).parentNode.removeChild(e);break;case 27:xv||fl(n,t);var l=_v,s=Rv;$u(n.type)&&(_v=n.stateNode,Rv=!1),El(e,t,n),W(n,wc,n.stateNode),_v=l,Rv=s;break;case 5:xv||fl(n,t);case 6:if(l=_v,s=Rv,_v=null,El(e,t,n),Rv=s,null!==(_v=l))if(Rv)try{W(n,Ku,_v,n.stateNode)}catch(e){js(n,t,e)}else try{W(n,Zu,_v,n.stateNode)}catch(e){js(n,t,e)}break;case 18:null!==_v&&(Rv?(Ju(9===(e=_v).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),ud(e)):Ju(_v,n.stateNode));break;case 4:l=_v,s=Rv,_v=n.stateNode.containerInfo,Rv=!0,El(e,t,n),_v=l,Rv=s;break;case 0:case 11:case 14:case 15:rl(vb,n,t),xv||tl(n,t,wb),El(e,t,n);break;case 1:xv||(fl(n,t),"function"==typeof(l=n.stateNode).componentWillUnmount&&ul(n,t,l)),El(e,t,n);break;case 21:El(e,t,n);break;case 22:xv=(l=xv)||null!==n.memoizedState,El(e,t,n),xv=l;break;default:El(e,t,n)}(n.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(n,Ig,Tg,Eg,_g),Cr(r),Er(o),_g=a,Rg=i}function Tl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{W(t,gc,e)}catch(e){js(t,t.return,e)}}}function _l(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{W(t,yc,e)}catch(e){js(t,t.return,e)}}function Rl(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Av),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Av),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),If){if(null===Iv||null===Tv)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Qs(Tv,Iv)}var r=Hs.bind(null,e,t);t.then(r,r)}})}function Pl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=e,a=t,i=n[r],l=xr(),s=a;e:for(;null!==s;){switch(s.tag){case 27:if($u(s.type)){_v=s.stateNode,Rv=!1;break e}break;case 5:_v=s.stateNode,Rv=!1;break e;case 3:case 4:_v=s.stateNode.containerInfo,Rv=!0;break e}s=s.return}if(null===_v)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Il(o,a,i),_v=null,Rv=!1,(i.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(i,Ig,Tg,"Unmount"),Cr(l),null!==(a=(o=i).alternate)&&(a.return=null),o.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Ol(t,e),t=t.sibling}function Ol(e,t){var n=xr(),r=Ar(),o=Ir(),a=Tr(),i=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Pl(t,e),Nl(e),4&l&&(rl(vb|bb,e,e.return),nl(vb|bb,e),tl(e,e.return,wb|bb));break;case 1:if(Pl(t,e),Nl(e),512&l&&(xv||null===i||fl(i,i.return)),64&l&&Sv&&(null!==(l=e.updateQueue)&&null!==(i=l.callbacks))){var s=l.shared.hiddenCallbacks;l.shared.hiddenCallbacks=null===s?i:s.concat(i)}break;case 26:if(s=Pv,Pl(t,e),Nl(e),512&l&&(xv||null===i||fl(i,i.return)),4&l){var u=null!==i?i.memoizedState:null;if(l=e.memoizedState,null===i)if(null===l)if(null===e.stateNode){e:{l=e.type,i=e.memoizedProps,s=s.ownerDocument||s;t:switch(l){case"title":(!(u=s.getElementsByTagName("title")[0])||u[Gf]||u[Ff]||u.namespaceURI===_p||u.hasAttribute("itemprop"))&&(u=s.createElement(l),s.head.insertBefore(u,s.querySelector("head > title"))),Au(u,l,i),u[Ff]=e,ke(u),l=u;break e;case"link":var c=Lc("link","href",s).get(l+(i.href||""));if(c)for(var d=0;d<c.length;d++)if((u=c[d]).getAttribute("href")===(null==i.href||""===i.href?null:i.href)&&u.getAttribute("rel")===(null==i.rel?null:i.rel)&&u.getAttribute("title")===(null==i.title?null:i.title)&&u.getAttribute("crossorigin")===(null==i.crossOrigin?null:i.crossOrigin)){c.splice(d,1);break t}Au(u=s.createElement(l),l,i),s.head.appendChild(u);break;case"meta":if(c=Lc("meta","content",s).get(l+(i.content||"")))for(d=0;d<c.length;d++)if(u=c[d],Z(i.content,"content"),u.getAttribute("content")===(null==i.content?null:""+i.content)&&u.getAttribute("name")===(null==i.name?null:i.name)&&u.getAttribute("property")===(null==i.property?null:i.property)&&u.getAttribute("http-equiv")===(null==i.httpEquiv?null:i.httpEquiv)&&u.getAttribute("charset")===(null==i.charSet?null:i.charSet)){c.splice(d,1);break t}Au(u=s.createElement(l),l,i),s.head.appendChild(u);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+l+'". This is a bug in React.')}u[Ff]=e,ke(u),l=u}e.stateNode=l}else zc(s,e.type,e.stateNode);else e.stateNode=Rc(s,l,e.memoizedProps);else u!==l?(null===u?null!==i.stateNode&&(i=i.stateNode).parentNode.removeChild(i):u.count--,null===l?zc(s,e.type,e.stateNode):Rc(s,l,e.memoizedProps)):null===l&&null!==e.stateNode&&gl(e,e.memoizedProps,i.memoizedProps)}break;case 27:Pl(t,e),Nl(e),512&l&&(xv||null===i||fl(i,i.return)),null!==i&&4&l&&gl(e,e.memoizedProps,i.memoizedProps);break;case 5:if(Pl(t,e),Nl(e),512&l&&(xv||null===i||fl(i,i.return)),32&e.flags){s=e.stateNode;try{W(e,Gu,s)}catch(t){js(e,e.return,t)}}4&l&&null!=e.stateNode&&gl(e,s=e.memoizedProps,null!==i?i.memoizedProps:s),1024&l&&(Cv=!0,"form"!==e.type&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Pl(t,e),Nl(e),4&l){if(null===e.stateNode)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");l=e.memoizedProps,i=null!==i?i.memoizedProps:l,s=e.stateNode;try{W(e,Qu,s,i,l)}catch(t){js(e,e.return,t)}}break;case 3:if(s=vr(),TS=null,u=Pv,Pv=kc(t.containerInfo),Pl(t,e),Pv=u,Nl(e),4&l&&null!==i&&i.memoizedState.isDehydrated)try{W(e,mc,t.containerInfo)}catch(t){js(e,e.return,t)}Cv&&(Cv=!1,Ll(e)),t.effectDuration+=wr(s);break;case 4:l=Pv,Pv=kc(e.stateNode.containerInfo),Pl(t,e),Nl(e),Pv=l;break;case 12:l=vr(),Pl(t,e),Nl(e),e.stateNode.effectDuration+=kr(l);break;case 31:case 19:Pl(t,e),Nl(e),4&l&&(null!==(l=e.updateQueue)&&(e.updateQueue=null,Rl(e,l)));break;case 13:Pl(t,e),Nl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==i&&null!==i.memoizedState)&&(xw=mf()),4&l&&(null!==(l=e.updateQueue)&&(e.updateQueue=null,Rl(e,l)));break;case 22:s=null!==e.memoizedState;var f=null!==i&&null!==i.memoizedState,p=Sv,h=xv;if(Sv=p||s,xv=h||f,Pl(t,e),xv=h,Sv=p,f&&!s&&!p&&!h&&(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&un(e,Ig,Tg),Nl(e),8192&l)e:for(t=e.stateNode,t._visibility=s?t._visibility&~Im:t._visibility|Im,!s||null===i||f||Sv||xv||(jl(e),(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(e,Ig,Tg,"Disconnect")),i=null,t=e;;){if(5===t.tag||26===t.tag){if(null===i){f=i=t;try{u=f.stateNode,s?W(f,tc,u):W(f,oc,f.stateNode,f.memoizedProps)}catch(e){js(f,f.return,e)}}}else if(6===t.tag){if(null===i){f=t;try{c=f.stateNode,s?W(f,nc,c):W(f,ac,c,f.memoizedProps)}catch(e){js(f,f.return,e)}}}else if(18===t.tag){if(null===i){f=t;try{d=f.stateNode,s?W(f,ec,d):W(f,rc,f.stateNode)}catch(e){js(f,f.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}4&l&&(null!==(l=e.updateQueue)&&(null!==(i=l.retryQueue)&&(l.retryQueue=null,Rl(e,i))));break;case 30:case 21:break;default:Pl(t,e),Nl(e)}(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&((Rg||.05<Eg)&&fn(e,Ig,Tg,Eg,_g),null===e.alternate&&null!==e.return&&null!==e.return.alternate&&.05<Tg-Ig&&(xl(e.return.alternate,e.return)||sn(e,Ig,Tg,"Mount"))),Cr(n),Er(r),_g=o,Rg=a}function Nl(e){var t=e.flags;if(2&t){try{W(e,kl,e)}catch(t){js(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ll(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Ll(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function zl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Cl(e,t.alternate,t),t=t.sibling}function Dl(e){var t=xr(),n=Ar(),r=Ir(),o=Tr();switch(e.tag){case 0:case 11:case 14:case 15:tl(e,e.return,wb),jl(e);break;case 1:fl(e,e.return);var a=e.stateNode;"function"==typeof a.componentWillUnmount&&ul(e,e.return,a),jl(e);break;case 27:W(e,wc,e.stateNode);case 26:case 5:fl(e,e.return),jl(e);break;case 22:null===e.memoizedState&&jl(e);break;default:jl(e)}(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(e,Ig,Tg,Eg,_g),Cr(t),Er(n),_g=r,Rg=o}function jl(e){for(e=e.child;null!==e;)Dl(e),e=e.sibling}function Ml(e,t,n,r){var o=xr(),a=Ar(),i=Ir(),l=Tr(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Fl(e,n,r),el(n,wb);break;case 1:if(Fl(e,n,r),"function"==typeof(t=n.stateNode).componentDidMount&&W(n,Iy,n,t),null!==(t=n.updateQueue)){e=n.stateNode;try{W(n,ho,t,e)}catch(e){js(n,n.return,e)}}r&&64&s&&il(n),dl(n,n.return);break;case 27:Sl(n);case 26:case 5:Fl(e,n,r),r&&null===t&&4&s&&ml(n),dl(n,n.return);break;case 12:if(r&&4&s){s=vr(),Fl(e,n,r),(r=n.stateNode).effectDuration+=kr(s);try{W(n,pl,n,t,kg,r.effectDuration)}catch(e){js(n,n.return,e)}}else Fl(e,n,r);break;case 31:Fl(e,n,r),r&&4&s&&Tl(e,n);break;case 13:Fl(e,n,r),r&&4&s&&_l(e,n);break;case 22:null===n.memoizedState&&Fl(e,n,r),dl(n,n.return);break;case 30:break;default:Fl(e,n,r)}(n.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(n,Ig,Tg,Eg,_g),Cr(o),Er(a),_g=i,Rg=l}function Fl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;)Ml(e,t.alternate,t,n),t=t.sibling}function ql(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&gr(e),null!=n&&yr(n))}function Ul(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(gr(t),null!=e&&yr(e))}function Hl(e,t,n,r,o){if(10256&t.subtreeFlags||0!==t.actualDuration&&(null===t.alternate||t.alternate.child!==t.child))for(t=t.child;null!==t;){var a=t.sibling;Bl(e,t,n,r,null!==a?a.actualStartTime:o),t=a}}function Bl(e,t,n,r,o){var a=xr(),i=Ar(),l=Ir(),s=Tr(),u=km,c=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&jm)!==zm&&0<t.actualStartTime&&!!(1&t.flags)&&cn(t,t.actualStartTime,o,Ov,n),Hl(e,t,n,r,o),2048&c&&ol(t,kb|bb);break;case 1:(t.mode&jm)!==zm&&0<t.actualStartTime&&(128&t.flags?dn(t,t.actualStartTime,o,[]):!!(1&t.flags)&&cn(t,t.actualStartTime,o,Ov,n)),Hl(e,t,n,r,o);break;case 3:var d=vr(),f=Ov;Ov=null!==t.alternate&&t.alternate.memoizedState.isDehydrated&&!(256&t.flags),Hl(e,t,n,r,o),Ov=f,2048&c&&(n=null,null!==t.alternate&&(n=t.alternate.memoizedState.cache),(r=t.memoizedState.cache)!==n&&(gr(r),null!=n&&yr(n))),e.passiveEffectDuration+=wr(d);break;case 12:if(2048&c){c=vr(),Hl(e,t,n,r,o),(e=t.stateNode).passiveEffectDuration+=kr(c);try{W(t,hl,t,t.alternate,kg,e.passiveEffectDuration)}catch(e){js(t,t.return,e)}}else Hl(e,t,n,r,o);break;case 31:c=Ov,d=null!==t.alternate?t.alternate.memoizedState:null,f=t.memoizedState,null!==d&&null===f?null!==(f=t.deletions)&&0<f.length&&18===f[0].tag?(Ov=!1,null!==(d=d.hydrationErrors)&&dn(t,t.actualStartTime,o,d)):Ov=!0:Ov=!1,Hl(e,t,n,r,o),Ov=c;break;case 13:c=Ov,d=null!==t.alternate?t.alternate.memoizedState:null,f=t.memoizedState,null===d||null===d.dehydrated||null!==f&&null!==f.dehydrated?Ov=!1:null!==(f=t.deletions)&&0<f.length&&18===f[0].tag?(Ov=!1,null!==(d=d.hydrationErrors)&&dn(t,t.actualStartTime,o,d)):Ov=!0,Hl(e,t,n,r,o),Ov=c;break;case 23:break;case 22:f=t.stateNode,d=t.alternate,null!==t.memoizedState?f._visibility&Tm?Hl(e,t,n,r,o):Gl(e,t,n,r,o):f._visibility&Tm?Hl(e,t,n,r,o):(f._visibility|=Tm,Vl(e,t,n,r,!!(10256&t.subtreeFlags)||0!==t.actualDuration&&(null===t.alternate||t.alternate.child!==t.child),o),(t.mode&jm)===zm||Ov||(0<=(e=t.actualStartTime)&&.05<o-e&&un(t,e,o),0<=Ig&&0<=Tg&&.05<Tg-Ig&&un(t,Ig,Tg))),2048&c&&ql(d,t);break;case 24:Hl(e,t,n,r,o),2048&c&&Ul(t.alternate,t);break;default:Hl(e,t,n,r,o)}(t.mode&jm)!==zm&&((e=!Ov&&null===t.alternate&&null!==t.return&&null!==t.return.alternate)&&(0<=(n=t.actualStartTime)&&.05<o-n&&sn(t,n,o,"Mount")),0<=Ig&&0<=Tg&&((Rg||.05<Eg)&&fn(t,Ig,Tg,Eg,_g),e&&.05<Tg-Ig&&sn(t,Ig,Tg,"Mount"))),Cr(a),Er(i),_g=l,Rg=s,km=u}function Vl(e,t,n,r,o,a){for(o=o&&(!!(10256&t.subtreeFlags)||0!==t.actualDuration&&(null===t.alternate||t.alternate.child!==t.child)),t=t.child;null!==t;){var i=t.sibling;Wl(e,t,n,r,o,null!==i?i.actualStartTime:a),t=i}}function Wl(e,t,n,r,o,a){var i=xr(),l=Ar(),s=Ir(),u=Tr(),c=km;o&&(t.mode&jm)!==zm&&0<t.actualStartTime&&1&t.flags&&cn(t,t.actualStartTime,a,Ov,n);var d=t.flags;switch(t.tag){case 0:case 11:case 15:Vl(e,t,n,r,o,a),ol(t,kb);break;case 23:break;case 22:var f=t.stateNode;null!==t.memoizedState?f._visibility&Tm?Vl(e,t,n,r,o,a):Gl(e,t,n,r,a):(f._visibility|=Tm,Vl(e,t,n,r,o,a)),o&&2048&d&&ql(t.alternate,t);break;case 24:Vl(e,t,n,r,o,a),o&&2048&d&&Ul(t.alternate,t);break;default:Vl(e,t,n,r,o,a)}(t.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(t,Ig,Tg,Eg,_g),Cr(i),Er(l),_g=s,Rg=u,km=c}function Gl(e,t,n,r,o){if(10256&t.subtreeFlags||0!==t.actualDuration&&(null===t.alternate||t.alternate.child!==t.child))for(var a=t.child;null!==a;){var i=e,l=n,s=r,u=null!==(t=a.sibling)?t.actualStartTime:o,c=km;(a.mode&jm)!==zm&&0<a.actualStartTime&&1&a.flags&&cn(a,a.actualStartTime,u,Ov,l);var d=a.flags;switch(a.tag){case 22:Gl(i,a,l,s,u),2048&d&&ql(a.alternate,a);break;case 24:Gl(i,a,l,s,u),2048&d&&Ul(a.alternate,a);break;default:Gl(i,a,l,s,u)}km=c,a=t}}function Ql(e,t,n){if(e.subtreeFlags&Nv)for(e=e.child;null!==e;)Yl(e,t,n),e=e.sibling}function Yl(e,t,n){switch(e.tag){case 26:Ql(e,t,n),e.flags&Nv&&null!==e.memoizedState&&function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&(n.state.loading&pS)===uS){if(null===n.instance){var o=Ac(r.href),a=t.querySelector(Ec(o));if(a)return null!==(t=a._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=jc.bind(e),t.then(e,e)),n.state.loading|=pS,n.instance=a,void ke(a);a=t.ownerDocument||t,r=Ic(r),(o=hS.get(o))&&Oc(r,o),ke(a=a.createElement("link"));var i=a;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),Au(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&fS)===uS&&(e.count++,n=jc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Pv,e.memoizedState,e.memoizedProps);break;case 5:default:Ql(e,t,n);break;case 3:case 4:var r=Pv;Pv=kc(e.stateNode.containerInfo),Ql(e,t,n),Pv=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=Nv,Nv=16777216,Ql(e,t,n),Nv=r):Ql(e,t,n))}}function $l(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Zl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n],o=xr();Ev=r,es(r,e),(r.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(r,Ig,Tg,"Unmount"),Cr(o)}$l(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Kl(e),e=e.sibling}function Kl(e){var t=xr(),n=Ar(),r=Ir(),o=Tr();switch(e.tag){case 0:case 11:case 15:Zl(e),2048&e.flags&&al(e,e.return,kb|bb);break;case 3:var a=vr();Zl(e),e.stateNode.passiveEffectDuration+=wr(a);break;case 12:a=vr(),Zl(e),e.stateNode.passiveEffectDuration+=kr(a);break;case 22:a=e.stateNode,null!==e.memoizedState&&a._visibility&Tm&&(null===e.return||13!==e.return.tag)?(a._visibility&=~Tm,Jl(e),(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(e,Ig,Tg,"Disconnect")):Zl(e);break;default:Zl(e)}(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(e,Ig,Tg,Eg,_g),Cr(t),Er(n),Rg=o,_g=r}function Jl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n],o=xr();Ev=r,es(r,e),(r.mode&jm)!==zm&&0<=Ig&&0<=Tg&&.05<Tg-Ig&&sn(r,Ig,Tg,"Unmount"),Cr(o)}$l(e)}for(e=e.child;null!==e;)Xl(e),e=e.sibling}function Xl(e){var t=xr(),n=Ar(),r=Ir(),o=Tr();switch(e.tag){case 0:case 11:case 15:al(e,e.return,kb),Jl(e);break;case 22:var a=e.stateNode;a._visibility&Tm&&(a._visibility&=~Tm,Jl(e));break;default:Jl(e)}(e.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(e,Ig,Tg,Eg,_g),Cr(t),Er(n),Rg=o,_g=r}function es(e,t){for(;null!==Ev;){var n=Ev,r=n,o=t,a=xr(),i=Ar(),l=Ir(),s=Tr();switch(r.tag){case 0:case 11:case 15:al(r,o,kb);break;case 23:case 22:null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(null!=(o=r.memoizedState.cachePool.pool)&&gr(o));break;case 24:yr(r.memoizedState.cache)}if((r.mode&jm)!==zm&&0<=Ig&&0<=Tg&&(Rg||.05<Eg)&&fn(r,Ig,Tg,Eg,_g),Cr(a),Er(i),Rg=s,_g=l,null!==(r=n.child))r.return=n,Ev=r;else e:for(n=e;null!==Ev;){if(a=(r=Ev).sibling,i=r.return,Al(r),r===n){Ev=null;break e}if(null!==a){a.return=i,Ev=a;break e}Ev=i}}}function ts(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===Gd.actQueue||console.error("The current testing environment is not configured to support act(...)"),e}function ns(e){if((Yv&Fv)!==Mv&&0!==Kv)return Kv&-Kv;var t=Gd.T;return null!==t?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),ru()):he()}function rs(){if(0===bw)if(536870912&Kv&&!eg)bw=536870912;else{var e=Of;!(3932160&(Of<<=1))&&(Of=262144),bw=e}return null!==(e=fb.current)&&(e.flags|=32),bw}function os(e,t,n){if(ik&&console.error("useInsertionEffect must not schedule updates."),tk&&(nk=!0),(e===$v&&(sw===ew||sw===lw)||null!==e.cancelPendingCommit)&&(fs(e,0),ss(e,Kv,bw,!1)),ie(e,n),(Yv&Fv)!==Mv&&e===$v){if(uf)switch(t.tag){case 0:case 11:case 15:e=Zv&&E(Zv)||"Unknown",uk.has(e)||(uk.add(e),t=E(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:sk||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),sk=!0)}}else If&&de(e,t,n),function(e){ts()&&null===Gd.actQueue&&W(e,function(){console.error("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act",E(e))})}(t),e===$v&&((Yv&Fv)===Mv&&(gw|=n),hw===Wv&&ss(e,Kv,bw,!1)),Ys(e)}function as(e,t,n){if((Yv&(Fv|qv))!==Mv)throw Error("Should not already be working.");if(0!==Kv&&null!==Zv){var r=Zv,o=mf();switch(ty){case tw:case ew:var a=ny;ym&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,"Suspended",a,o,bm,void 0,"primary-light")):console.timeStamp("Suspended",a,o,bm,void 0,"primary-light"));break;case lw:a=ny,ym&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,"Action",a,o,bm,void 0,"primary-light")):console.timeStamp("Action",a,o,bm,void 0,"primary-light"));break;default:ym&&(3>(r=o-ny)||console.timeStamp("Blocked",ny,o,bm,void 0,5>r?"primary-light":10>r?"primary":100>r?"primary-dark":"error"))}}a=(n=!n&&!(127&t)&&0===(t&e.expiredLanes)||ne(e,t))?function(e,t){var n=Yv;Yv|=Fv;var r=ms(),o=gs();if($v!==e||Kv!==t){if(If){var a=e.memoizedUpdaters;0<a.size&&(Qs(e,Kv),a.clear()),fe(e,t)}Tw=null,Ew=mf()+Iw,fs(e,t)}else dw=ne(e,t);e:for(;;)try{if(sw!==Jv&&null!==Zv)t:switch(t=Zv,a=uw,sw){case Xv:sw=Jv,uw=null,As(e,t,a,Xv);break;case ew:case lw:if(qr(a)){sw=Jv,uw=null,xs(t);break}t=function(){sw!==ew&&sw!==lw||$v!==e||(sw=aw),Ys(e)},a.then(t,t);break e;case tw:sw=aw;break e;case nw:sw=rw;break e;case aw:qr(a)?(sw=Jv,uw=null,xs(t)):(sw=Jv,uw=null,As(e,t,a,aw));break;case rw:var i=null;switch(Zv.tag){case 26:i=Zv.memoizedState;case 5:case 27:var l=Zv;if(i?Dc(i):l.stateNode.complete){sw=Jv,uw=null;var s=l.sibling;if(null!==s)Zv=s;else{var u=l.return;null!==u?(Zv=u,Es(u)):Zv=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}sw=Jv,uw=null,As(e,t,a,rw);break;case ow:sw=Jv,uw=null,As(e,t,a,ow);break;case iw:cs(),hw=Gv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}null!==Gd.actQueue?ws():ks();break}catch(t){ps(e,t)}return or(),Gd.H=r,Gd.A=o,Yv=n,null!==Zv?Uv:($v=null,Kv=0,bn(),hw)}(e,t):vs(e,t,!0);for(var i=n;;){if(a===Uv){dw&&!n&&ss(e,t,0,!1),t=sw,ny=gg(),ty=t;break}if(r=mf(),o=e.current.alternate,!i||ls(o)){if(a===Bv){if(i=t,e.errorRecoveryDisabledLanes&i)var l=0;else l=0!==(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){ln(t),mn(wg,r,0,_w),ds(t,r),t=l;e:{a=i,i=ww;var s=(r=e).current.memoizedState.isDehydrated;if(s&&(fs(r,l).flags|=256),(l=vs(r,l,!1))!==Bv){if(fw&&!s){r.errorRecoveryDisabledLanes|=a,gw|=a,a=Wv;break e}r=kw,kw=i,null!==r&&(null===kw?kw=r:kw.push.apply(kw,r))}a=l}if(i=!1,a!==Bv)continue;r=mf()}}if(a===Hv){ln(t),mn(wg,r,0,_w),ds(t,r),fs(e,0),ss(e,t,0,!0);break}e:{switch(n=e,a){case Uv:case Hv:throw Error("Root did not complete. This is a bug in React.");case Wv:if((4194048&t)!==t)break;case Gv:ln(t),pn(wg,r,t,_w),ds(t,r),127&(o=t)?qg=r:!!(4194048&o)&&(Kg=r),ss(n,t,bw,!cw);break e;case Bv:kw=null;break;case Vv:case Qv:break;default:throw Error("Unknown root exit status.")}if(null!==Gd.actQueue)Ts(n,o,t,kw,Tw,Sw,bw,gw,vw,a,null,null,wg,r);else{if((62914560&t)===t&&10<(i=xw+Aw-mf())){if(ss(n,t,bw,!cw),0!==te(n,0,!0))break e;Vw=t,n.timeoutHandle=rS(is.bind(null,n,o,kw,Tw,Sw,t,bw,gw,vw,cw,a,"Throttled",wg,r),i);break e}is(n,o,kw,Tw,Sw,t,bw,gw,vw,cw,a,null,wg,r)}}break}ln(t),o=wg,a=r,!ym||a<=o||(_w?_w.run(console.timeStamp.bind(console,"Teared Render",o,a,wm,vm,"error")):console.timeStamp("Teared Render",o,a,wm,vm,"error")),ds(t,r),a=vs(e,t,!1),i=!1}Ys(e)}function is(e,t,n,r,o,a,i,l,s,u,c,d,f,p){e.timeoutHandle=aS;var h=t.subtreeFlags,m=null;if((8192&h||!(16785408&~h))&&(Yl(t,a,m={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:St}),h=function(e,t){return e.stylesheets&&0===e.count&&Mc(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Mc(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},_S+t);0<e.imgBytes&&0===OS&&(OS=125*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],a=o.transferSize,i=o.initiatorType,l=o.duration;if(a&&l&&zu(i)){for(i=0,l=o.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&zu(d)&&(i+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(a+i)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,"number"==typeof e)?e:5}()*PS);var o=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&Mc(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>OS?50:RS)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}(m,h=(62914560&a)===a?xw-mf():(4194048&a)===a?Cw-mf():0),null!==h))return Vw=a,e.cancelPendingCommit=h(Ts.bind(null,e,t,a,n,r,o,i,l,s,c,m,m.waitingForViewTransition?"Waiting for the previous Animation":0<m.count?0<m.imgCount?"Suspended on CSS and Images":"Suspended on CSS":1===m.imgCount?"Suspended on an Image":0<m.imgCount?"Suspended on Images":null,f,p)),void ss(e,a,i,!u);Ts(e,t,a,n,r,o,i,l,s,c,m,d,f,p)}function ls(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!qh(a(),o))return!1}catch{return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ss(e,t,n,r){t&=~yw,t&=~gw,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-Tf(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&le(e,n,t)}function us(){return(Yv&(Fv|qv))!==Mv||($s(0),!1)}function cs(){if(null!==Zv){if(sw===Jv)var e=Zv.return;else e=Zv,or(),jo(e),Gy=null,Qy=0,e=Zv;for(;null!==e;)Ji(e.alternate,e),e=e.return;Zv=null}}function ds(e,t){!!(127&e)&&(Pg=t),!!(4194048&e)&&(Ug=t),!!(62914560&e)&&(Jg=t),2080374784&e&&(Xg=t)}function fs(e,t){ym&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",vm,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",vm,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",vm,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",vm,"primary-light"));var n=wg;if(wg=gg(),0!==Kv&&0<n){if(ln(Kv),hw===Vv||hw===Wv)pn(n,wg,t,_w);else{var r=wg,o=_w;if(ym&&!(r<=n)){var a=(738197653&t)===t?"tertiary-dark":"primary-dark",i=(536870912&t)===t?"Prewarm":(201326741&t)===t?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,i,n,r,wm,vm,a)):console.timeStamp(i,n,r,wm,vm,a)}}ds(Kv,wg)}if(n=_w,_w=null,127&t){_w=Ng,o=0<=Og&&Og<Pg?Pg:Og,a=0<=(r=0<=jg&&jg<Pg?Pg:jg)?r:0<=o?o:wg,0<=qg&&(ln(2),hn(qg,a,t,n)),n=o;var l=r,s=Mg,u=0<Fg,c=Lg===bg,d=Lg===vg;if(o=wg,r=Ng,a=zg,i=Dg,ym){if(wm="Blocking",0<n?n>o&&(n=o):n=o,0<l?l>n&&(l=n):l=n,null!==s&&n>l){var f=u?"secondary-light":"warning";r?r.run(console.timeStamp.bind(console,u?"Consecutive":"Event: "+s,l,n,wm,vm,f)):console.timeStamp(u?"Consecutive":"Event: "+s,l,n,wm,vm,f)}o>n&&(l=c?"error":(738197653&t)===t?"tertiary-light":"primary-light",c=d?"Promise Resolved":c?"Cascading Update":5<o-n?"Update Blocked":"Update",d=[],null!=i&&d.push(["Component name",i]),null!=a&&d.push(["Method name",a]),n={start:n,end:o,detail:{devtools:{properties:d,track:wm,trackGroup:vm,color:l}}},r?r.run(performance.measure.bind(performance,c,n)):performance.measure(c,n))}Og=-1.1,Lg=0,Dg=zg=null,qg=-1.1,Fg=jg,jg=-1.1,Pg=gg()}if(!!(4194048&t)&&(_w=Wg,o=0<=Hg&&Hg<Ug?Ug:Hg,n=0<=Bg&&Bg<Ug?Ug:Bg,a=0<=(r=0<=Yg&&Yg<Ug?Ug:Yg)?r:0<=n?n:wg,0<=Kg&&(ln(256),hn(Kg,a,t,_w)),d=r,l=$g,s=0<Zg,u=Vg===vg,a=wg,r=Wg,i=Gg,c=Qg,ym&&(wm="Transition",0<n?n>a&&(n=a):n=a,0<o?o>n&&(o=n):o=n,0<d?d>o&&(d=o):d=o,o>d&&null!==l&&(f=s?"secondary-light":"warning",r?r.run(console.timeStamp.bind(console,s?"Consecutive":"Event: "+l,d,o,wm,vm,f)):console.timeStamp(s?"Consecutive":"Event: "+l,d,o,wm,vm,f)),n>o&&(r?r.run(console.timeStamp.bind(console,"Action",o,n,wm,vm,"primary-dark")):console.timeStamp("Action",o,n,wm,vm,"primary-dark")),a>n&&(o=u?"Promise Resolved":5<a-n?"Update Blocked":"Update",d=[],null!=c&&d.push(["Component name",c]),null!=i&&d.push(["Method name",i]),n={start:n,end:a,detail:{devtools:{properties:d,track:wm,trackGroup:vm,color:"primary-light"}}},r?r.run(performance.measure.bind(performance,o,n)):performance.measure(o,n))),Bg=Hg=-1.1,Vg=0,Kg=-1.1,Zg=Yg,Yg=-1.1,Ug=gg()),!!(62914560&t)&&!!(62914560&ey)&&(ln(4194304),yn(Jg,wg)),!!(2080374784&t)&&!!(2080374784&ey)&&(ln(268435456),yn(Xg,wg)),(n=e.timeoutHandle)!==aS&&(e.timeoutHandle=aS,oS(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Vw=0,cs(),$v=e,Zv=n=Pn(e.current,null),Kv=t,sw=Jv,uw=null,cw=!1,dw=ne(e,t),fw=!1,hw=Uv,vw=bw=yw=gw=mw=0,kw=ww=null,Sw=!1,!!(8&t)&&(t|=32&t),0!==(r=e.entangledLanes))for(e=e.entanglements,r&=t;0<r;)a=1<<(o=31-Tf(r)),t|=e[o],r&=~a;return pw=t,bn(),1e3<(e=im())-om&&(Gd.recentlyCreatedOwnerStacks=0,om=e),dy.discardPendingWarnings(),n}function ps(e,t){Ib=null,Gd.H=Hb,Gd.getCurrentStack=null,uf=!1,sf=null,t===qy||t===Hy?(t=Br(),sw=tw):t===Uy?(t=Br(),sw=nw):sw=t===cv?iw:null!==t&&"object"==typeof t&&"function"==typeof t.then?ow:Xv,uw=t;var n=Zv;null===n?(hw=Hv,fi(e,Fn(t,e.current))):n.mode&jm&&Rr(n)}function hs(){var e=fb.current;return null===e||((4194048&Kv)===Kv?null===pb:!!((62914560&Kv)===Kv||536870912&Kv)&&e===pb)}function ms(){var e=Gd.H;return Gd.H=Hb,null===e?Hb:e}function gs(){var e=Gd.A;return Gd.A=Lv,e}function ys(e){null===_w&&(_w=null==e._debugTask?null:e._debugTask)}function bs(){hw=Wv,cw||(4194048&Kv)!==Kv&&null!==fb.current||(dw=!0),!(134217727&mw)&&!(134217727&gw)||null===$v||ss($v,Kv,bw,!1)}function vs(e,t,n){var r=Yv;Yv|=Fv;var o=ms(),a=gs();if($v!==e||Kv!==t){if(If){var i=e.memoizedUpdaters;0<i.size&&(Qs(e,Kv),i.clear()),fe(e,t)}Tw=null,fs(e,t)}t=!1,i=hw;e:for(;;)try{if(sw!==Jv&&null!==Zv){var l=Zv,s=uw;switch(sw){case iw:cs(),i=Gv;break e;case tw:case ew:case lw:case ow:null===fb.current&&(t=!0);var u=sw;if(sw=Jv,uw=null,As(e,l,s,u),n&&dw){i=Uv;break e}break;default:u=sw,sw=Jv,uw=null,As(e,l,s,u)}}ws(),i=hw;break}catch(t){ps(e,t)}return t&&e.shellSuspendCounter++,or(),Yv=r,Gd.H=o,Gd.A=a,null===Zv&&($v=null,Kv=0,bn()),i}function ws(){for(;null!==Zv;)Ss(Zv)}function ks(){for(;null!==Zv&&!pf();)Ss(Zv)}function Ss(e){var t=e.alternate;(e.mode&jm)!==zm?(_r(e),t=W(e,Bi,t,e,pw),Rr(e)):t=W(e,Bi,t,e,pw),e.memoizedProps=e.pendingProps,null===t?Es(e):Zv=t}function xs(e){var t=W(e,Cs,e);e.memoizedProps=e.pendingProps,null===t?Es(e):Zv=t}function Cs(e){var t=e.alternate,n=(e.mode&jm)!==zm;switch(n&&_r(e),e.tag){case 15:case 0:t=Ti(t,e,e.pendingProps,e.type,void 0,Kv);break;case 11:t=Ti(t,e,e.pendingProps,e.type.render,e.ref,Kv);break;case 5:jo(e);default:Ji(t,e),t=Bi(t,e=Zv=On(e,pw),pw)}return n&&Rr(e),t}function As(e,t,n,r){or(),jo(t),Gy=null,Qy=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,If&&Qs(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&ur(t,n,o,!0),eg&&(tg=!0),null!==(n=fb.current)){switch(n.tag){case 31:case 13:return null===pb?bs():null===n.alternate&&hw===Uv&&(hw=Vv),n.flags&=-257,n.flags|=65536,n.lanes=o,r===By?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),Ms(e,r,o)),!1;case 22:return n.flags|=65536,r===By?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),Ms(e,r,o)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Ms(e,r,o),bs(),!1}if(eg)return tg=!0,null!==(t=fb.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==ag&&nr(Fn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:r}),n))):(r!==ag&&nr(Fn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=Fn(r,n),uo(e,o=hi(e.stateNode,r,o)),hw!==Wv&&(hw=Bv)),!1;var a=Fn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:r}),n);if(null===ww?ww=[a]:ww.push(a),hw!==Wv&&(hw=Bv),null===t)return!0;r=Fn(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,uo(n,e=hi(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Rw&&Rw.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,gi(o=mi(o),e,n,r),uo(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,Kv))return hw=Hv,fi(e,Fn(n,e.current)),void(Zv=null)}catch(t){if(null!==o)throw Zv=o,t;return hw=Hv,fi(e,Fn(n,e.current)),void(Zv=null)}32768&t.flags?(eg||r===Xv?e=!0:dw||536870912&Kv?e=!1:(cw=e=!0,(r===ew||r===lw||r===tw||r===ow)&&(null!==(r=fb.current)&&13===r.tag&&(r.flags|=16384))),Is(t,e)):Es(t)}function Es(e){var t=e;do{if(32768&t.flags)return void Is(t,cw);var n=t.alternate;if(e=t.return,_r(t),n=W(t,Zi,n,t,pw),(t.mode&jm)!==zm&&Pr(t),null!==n)return void(Zv=n);if(null!==(t=t.sibling))return void(Zv=t);Zv=t=e}while(null!==t);hw===Uv&&(hw=Qv)}function Is(e,t){do{var n=Ki(e.alternate,e);if(null!==n)return n.flags&=32767,void(Zv=n);if((e.mode&jm)!==zm){Pr(e),n=e.actualDuration;for(var r=e.child;null!==r;)n+=r.actualDuration,r=r.sibling;e.actualDuration=n}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(Zv=e);Zv=e=n}while(null!==e);hw=Gv,Zv=null}function Ts(e,t,n,r,o,a,i,l,s,u,c,d,f,p){e.cancelPendingCommit=null;do{Ls()}while(Uw!==zw);if(dy.flushLegacyContextWarning(),dy.flushPendingUnsafeLifecycleWarnings(),(Yv&(Fv|qv))!==Mv)throw Error("Should not already be working.");if(ln(n),u===Bv?mn(f,p,0,_w):null!==r?function(e,t,n,r,o,a){if(ym&&!(t<=e)){n=[];for(var i=0;i<r.length;i++){var l=r[i].value;n.push(["Recoverable Error","object"==typeof l&&null!==l&&"string"==typeof l.message?String(l.message):String(l)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:wm,trackGroup:vm,tooltipText:o?"Hydration Failed":"Recovered after Error",properties:n}}},a?a.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}(f,p,n,r,null!==t&&null!==t.alternate&&t.alternate.memoizedState.isDehydrated&&!!(256&t.flags),_w):function(e,t,n,r){if(ym&&!(t<=e)){var o=(738197653&n)===n?"tertiary-dark":"primary-dark";n=(536870912&n)===n?"Prepared":(201326741&n)===n?"Hydrated":"Render",r?r.run(console.timeStamp.bind(console,n,e,t,wm,vm,o)):console.timeStamp(n,e,t,wm,vm,o)}}(f,p,n,_w),null!==t){if(0===n&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(a=t.lanes|t.childLanes,function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-Tf(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&le(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,a|=Pm,i,l,s),e===$v&&(Zv=$v=null,Kv=0),Bw=t,Hw=e,Vw=n,Ww=a,Qw=o,Yw=r,Gw=p,$w=d,Zw=Pw,Kw=null,0!==t.actualDuration||10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,function(e,t){var n=Gd.actQueue;null!==n?n.push(t):df(e,t)}(vf,function(){return nS=window.event,Zw===Pw&&(Zw=Nw),zs(),null})):(e.callbackNode=null,e.callbackPriority=0),xg=null,kg=gg(),null!==d&&function(e,t,n,r){!ym||t<=e||(r?r.run(console.timeStamp.bind(console,n,e,t,wm,vm,"secondary-light")):console.timeStamp(n,e,t,wm,vm,"secondary-light"))}(p,kg,d,_w),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=Gd.T,Gd.T=null,o=Qd.p,Qd.p=Lf,i=Yv,Yv|=qv;try{!function(e,t){if(e=e.containerInfo,Jk=VS,Jt(e=Kt(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var i=0,l=-1,s=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||0!==o&&3!==d.nodeType||(l=i+o),d!==a||0!==r&&3!==d.nodeType||(s=i+r),3===d.nodeType&&(i+=d.nodeValue.length),null!==(p=d.firstChild);)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===o&&(l=i),f===a&&++c===r&&(s=i),null!==(p=d.nextSibling))break;f=(d=f).parentNode}d=p}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Xk={focusedElem:e,selectionRange:n},VS=!1,Ev=t;null!==Ev;)if(e=(t=Ev).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ev=e;else for(;null!==Ev;){switch(n=(e=t=Ev).alternate,o=e.flags,e.tag){case 0:if(4&o&&null!==(e=null!==(e=e.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:1024&o&&null!==n&&sl(e,n);break;case 3:if(1024&o)if(9===(n=(e=e.stateNode.containerInfo).nodeType))ic(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ic(e);break;default:e.textContent=""}break;default:if(1024&o)throw 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.")}if(null!==(e=t.sibling)){e.return=t.return,Ev=e;break}Ev=t.return}}(e,t)}finally{Yv=i,Qd.p=o,Gd.T=r}}Uw=Dw,_s(),Rs(),Ps()}}function _s(){if(Uw===Dw){Uw=zw;var e=Hw,t=Bw,n=Vw,r=!!(13878&t.flags);if(13878&t.subtreeFlags||r){r=Gd.T,Gd.T=null;var o=Qd.p;Qd.p=Lf;var a=Yv;Yv|=qv;try{Iv=n,Tv=e,Sr(),Ol(t,e),Tv=Iv=null,n=Xk;var i=Kt(e.containerInfo),l=n.focusedElem,s=n.selectionRange;if(i!==l&&l&&l.ownerDocument&&Zt(l.ownerDocument.documentElement,l)){if(null!==s&&Jt(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(i=g,g=m,m=i);var y=$t(l,m),b=$t(l,g);if(y&&b&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(v),p.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),p.addRange(v))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var w=d[l];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}VS=!!Jk,Xk=Jk=null}finally{Yv=a,Qd.p=o,Gd.T=r}}e.current=t,Uw=jw}}function Rs(){if(Uw===jw){Uw=zw;var e=Kw;if(null!==e){kg=gg();var t=Sg,n=kg;!ym||n<=t||console.timeStamp(e,t,n,wm,vm,"secondary-light")}e=Hw,n=Vw;var r=!!(8772&(t=Bw).flags);if(8772&t.subtreeFlags||r){r=Gd.T,Gd.T=null;var o=Qd.p;Qd.p=Lf;var a=Yv;Yv|=qv;try{Iv=n,Tv=e,Sr(),Cl(e,t.alternate,t),Tv=Iv=null}finally{Yv=a,Qd.p=o,Gd.T=r}}e=Gw,t=$w,Sg=gg(),e=null===t?e:kg,t=Sg,n=Zw===Ow,r=_w,null!==xg?gn(e,t,xg,!1,r):!ym||t<=e||(r?r.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,wm,vm,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,wm,vm,n?"error":"secondary-dark")),Uw=Mw}}function Ps(){if(Uw===Fw||Uw===Mw){if(Uw===Fw){var e=Sg,t=Sg=gg(),n=Zw===Ow;!ym||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,wm,vm,n?" error":"secondary-light"),Zw!==Ow&&(Zw=Lw)}Uw=zw,hf(),e=Hw;var r=Bw;t=Vw,n=Yw;var o=0!==r.actualDuration||!!(10256&r.subtreeFlags)||!!(10256&r.flags);o?Uw=qw:(Uw=zw,Bw=Hw=null,Ns(e,e.pendingLanes),ok=0,ak=null);var a=e.pendingLanes;if(0===a&&(Rw=null),o||Ws(e),a=pe(t),r=r.stateNode,Af&&"function"==typeof Af.onCommitFiberRoot)try{var i=!(128&~r.current.flags);switch(a){case Lf:var l=yf;break;case zf:l=bf;break;case Df:l=vf;break;case jf:l=kf;break;default:l=vf}Af.onCommitFiberRoot(Cf,r,l,i)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}if(If&&e.memoizedUpdaters.clear(),Dv.forEach(function(e){return e()}),null!==n){i=Gd.T,l=Qd.p,Qd.p=Lf,Gd.T=null;try{var s=e.onRecoverableError;for(r=0;r<n.length;r++){var u=n[r],c=Os(u.stack);W(u.source,s,u.value,c)}}finally{Gd.T=i,Qd.p=l}}!!(3&Vw)&&Ls(),Ys(e),a=e.pendingLanes,261930&t&&42&a?(oy=!0,e===ek?Xw++:(Xw=0,ek=e)):Xw=0,o||ds(t,Sg),$s(0)}}function Os(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Ns(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,yr(t)))}function Ls(){return _s(),Rs(),Ps(),zs()}function zs(){if(Uw!==qw)return!1;var e=Hw,t=Ww;Ww=0;var n=pe(Vw),r=Df>n?Df:n;n=Gd.T;var o=Qd.p;try{Qd.p=r,Gd.T=null;var a=Qw;Qw=null,r=Hw;var i=Vw;if(Uw=zw,Bw=Hw=null,Vw=0,(Yv&(Fv|qv))!==Mv)throw Error("Cannot flush passive effects while already rendering.");ln(i),tk=!0,nk=!1;var l;if(xg=null,l=mf(),Zw===Lw)yn(Sg,l);else{var s=Sg,u=l,c=Zw===Nw;!ym||u<=s||(_w?_w.run(console.timeStamp.bind(console,c?"Waiting for Paint":"Waiting",s,u,wm,vm,"secondary-light")):console.timeStamp(c?"Waiting for Paint":"Waiting",s,u,wm,vm,"secondary-light"))}s=Yv,Yv|=qv;var d=r.current;Sr(),Kl(d);var f=r.current;d=Gw,Sr(),Bl(r,f,i,a,d),Ws(r),Yv=s;var p=mf();if(f=l,d=_w,null!==xg?gn(f,p,xg,!0,d):!ym||p<=f||(d?d.run(console.timeStamp.bind(console,"Remaining Effects",f,p,wm,vm,"secondary-dark")):console.timeStamp("Remaining Effects",f,p,wm,vm,"secondary-dark")),ds(i,p),$s(0,!1),nk?r===ak?ok++:(ok=0,ak=r):ok=0,nk=tk=!1,Af&&"function"==typeof Af.onPostCommitFiberRoot)try{Af.onPostCommitFiberRoot(Cf,r)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}var h=r.current.stateNode;return h.effectDuration=0,h.passiveEffectDuration=0,!0}finally{Qd.p=o,Gd.T=n,Ns(e,t)}}function Ds(e,t,n){Nr(t=Fn(n,t)),null!==(e=lo(e,t=hi(e.stateNode,t,2),2))&&(ie(e,2),Ys(e))}function js(e,t,n){if(ik=!1,3===e.tag)Ds(e,e,n);else{for(;null!==t;){if(3===t.tag)return void Ds(t,e,n);if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Rw||!Rw.has(r)))return Nr(e=Fn(n,e)),void(null!==(r=lo(t,n=mi(2),2))&&(gi(n,r,t,e),ie(r,2),Ys(r)))}t=t.return}console.error("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}}function Ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new jv;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(fw=!0,o.add(n),r=Fs.bind(null,e,t,n),If&&Qs(e,n),t.then(r,r))}function Fs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,127&n?0>Og&&(Pg=Og=gg(),Ng=yg("Promise Resolved"),Lg=vg):!!(4194048&n)&&0>Bg&&(Ug=Bg=gg(),Wg=yg("Promise Resolved"),Vg=vg),ts()&&null===Gd.actQueue&&console.error("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act"),$v===e&&(Kv&n)===n&&(hw===Wv||hw===Vv&&(62914560&Kv)===Kv&&mf()-xw<Aw?(Yv&Fv)===Mv&&fs(e,0):yw|=n,vw===Kv&&(vw=0)),Ys(e)}function qs(e,t){0===t&&(t=oe()),null!==(e=kn(e,t))&&(ie(e,t),Ys(e))}function Us(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),qs(e,n)}function Hs(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==r&&r.delete(t),qs(e,n)}function Bs(e,t,n){if(67117056&t.subtreeFlags)for(t=t.child;null!==t;){var r=e,o=t,a=o.type===Od;a=n||a,22!==o.tag?67108864&o.flags?a&&W(o,Vs,r,o):Bs(r,o,a):null===o.memoizedState&&(a&&8192&o.flags?W(o,Vs,r,o):67108864&o.subtreeFlags&&W(o,Bs,r,o,a)),t=t.sibling}}function Vs(e,t){X(!0);try{Dl(t),Xl(t),Ml(e,t.alternate,t,!1),Wl(e,t,0,null,!1,0)}finally{X(!1)}}function Ws(e){var t=!0;e.current.mode&(Mm|Fm)||(t=!1),Bs(e,e.current,t)}function Gs(e){if((Yv&Fv)===Mv){var t=e.tag;if(3===t||1===t||0===t||11===t||14===t||15===t){if(t=E(e)||"ReactComponent",null!==lk){if(lk.has(t))return;lk.add(t)}else lk=new Set([t]);W(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Qs(e,t){If&&e.memoizedUpdaters.forEach(function(n){de(e,n,t)})}function Ys(e){e!==dk&&null===e.next&&(null===dk?ck=dk=e:dk=dk.next=e),hk=!0,null!==Gd.actQueue?pk||(pk=!0,nu()):fk||(fk=!0,nu())}function $s(e,t){if(!mk&&hk){mk=!0;do{for(var n=!1,r=ck;null!==r;){if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-Tf(42|e)+1)-1,a=201326741&(a&=o&~(i&~l))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,eu(r,a))}else a=Kv,!(3&(a=te(r,r===$v?a:0,null!==r.cancelPendingCommit||r.timeoutHandle!==aS)))||ne(r,a)||(n=!0,eu(r,a));r=r.next}}while(n);mk=!1}}function Zs(){nS=window.event,Ks()}function Ks(){hk=pk=fk=!1;var e=0;0!==gk&&function(){var e=window.event;return e&&"popstate"===e.type?e!==tS&&(tS=e,!0):(tS=null,!1)}()&&(e=gk);for(var t=mf(),n=null,r=ck;null!==r;){var o=r.next,a=Js(r,t);0===a?(r.next=null,null===n?ck=o:n.next=o,null===o&&(dk=n)):(n=r,(0!==e||!!(3&a))&&(hk=!0)),r=o}Uw!==zw&&Uw!==qw||$s(e),0!==gk&&(gk=0)}function Js(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var i=31-Tf(a),l=1<<i,s=o[i];-1===s?(0===(l&n)||0!==(l&r))&&(o[i]=re(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(n=Kv,n=te(e,e===(t=$v)?n:0,null!==e.cancelPendingCommit||e.timeoutHandle!==aS),r=e.callbackNode,0===n||e===t&&(sw===ew||sw===lw)||null!==e.cancelPendingCommit)return null!==r&&tu(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||ne(e,n)){if((t=n&-n)===e.callbackPriority&&(null===Gd.actQueue||r===yk))return t;switch(tu(r),pe(n)){case Lf:case zf:n=bf;break;case Df:n=vf;break;case jf:n=kf;break;default:n=vf}return r=Xs.bind(null,e),null!==Gd.actQueue?(Gd.actQueue.push(r),n=yk):n=df(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&tu(r),e.callbackPriority=2,e.callbackNode=null,2}function Xs(e,t){if(oy=ry=!1,nS=window.event,Uw!==zw&&Uw!==qw)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Zw===Pw&&(Zw=Nw),Ls()&&e.callbackNode!==n)return null;var r=Kv;return 0===(r=te(e,e===$v?r:0,null!==e.cancelPendingCommit||e.timeoutHandle!==aS))?null:(as(e,r,t),Js(e,mf()),null!=e.callbackNode&&e.callbackNode===n?Xs.bind(null,e):null)}function eu(e,t){if(Ls())return null;ry=oy,oy=!1,as(e,t,!0)}function tu(e){e!==yk&&null!==e&&ff(e)}function nu(){null!==Gd.actQueue&&Gd.actQueue.push(function(){return Ks(),null}),lS(function(){(Yv&(Fv|qv))!==Mv?df(yf,Zs):Ks()})}function ru(){if(0===gk){var e=ly;0===e&&(e=Pf,!(261888&(Pf<<=1))&&(Pf=256)),gk=e}return gk}function ou(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:(Z(e,"action"),kt(""+e))}function au(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function iu(e,t,n){e.currentTarget=n;try{t(e)}catch(e){sm(e)}e.currentTarget=null}function lu(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n];e:{var o=void 0,a=r.event;if(r=r.listeners,t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;null!==s?W(s,iu,a,l,u):iu(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;null!==s?W(s,iu,a,l,u):iu(a,l,u),o=s}}}}function su(e,t){vk.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Hf];void 0===n&&(n=t[Hf]=new Set);var r=e+"__bubble";n.has(r)||(du(t,e,2,!1),n.add(r))}function uu(e,t,n){vk.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),du(n,e,r,t)}function cu(e){if(!e[wk]){e[wk]=!0,Qf.forEach(function(t){"selectionchange"!==t&&(vk.has(t)||uu(t,!1,e),uu(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[wk]||(t[wk]=!0,uu("selectionchange",!1,t))}}function du(e,t,n,r){switch(ed(t)){case Lf:var o=$c;break;case zf:o=Zc;break;default:o=Kc}n=o.bind(null,t,n,e),o=void 0,!Yp||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function fu(e,t,n,r,o){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&i.stateNode.containerInfo===o)return;i=i.return}for(;null!==l;){if(null===(i=ye(l)))return;if(5===(s=i.tag)||6===s||26===s||27===s){r=a=i;continue e}l=l.parentNode}}r=r.return}At(function(){var r=a,o=xt(n),i=[];e:{var l=nm.get(e);if(void 0!==l){var s=rh,u=e;switch(e){case"keypress":if(0===Tt(n))break e;case"keydown":case"keyup":s=vh;break;case"focusin":u="focus",s=uh;break;case"focusout":u="blur",s=uh;break;case"beforeblur":case"afterblur":s=uh;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=lh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=sh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=kh;break;case $h:case Zh:case Kh:s=ch;break;case tm:s=Sh;break;case"scroll":case"scrollend":s=ah;break;case"wheel":s=Ch;break;case"copy":case"cut":case"paste":s=fh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=wh;break;case"toggle":case"beforetoggle":s=Ah}var c=!!(4&t),d=!c&&("scroll"===e||"scrollend"===e),f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=h;if(p=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===p||null===f||null!=(m=Et(h,f))&&c.push(pu(h,m,p)),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Bp||!(u=n.relatedTarget||n.fromElement)||!ye(u)&&!u[Uf])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ye(u):null)&&(d=y(u),c=u.tag,u!==d||5!==c&&27!==c&&6!==c)&&(u=null)):(s=null,u=r),s!==u)){if(c=lh,m="onMouseLeave",f="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=wh,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:ve(s),p=null==u?l:ve(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,ye(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(c=mu,h=u,p=0,m=f=s;m;m=c(m))p++;m=0;for(var g=h;g;g=c(g))m++;for(;0<p-m;)f=c(f),p--;for(;0<m-p;)h=c(h),m--;for(;p--;){if(f===h||null!==h&&f===h.alternate){c=f;break e}f=c(f),h=c(h)}c=null}else c=null;null!==s&&gu(i,l,s,c,!1),null!==u&&null!==d&&gu(i,d,u,c,!0)}if("select"===(s=(l=r?ve(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var b=qt;else if(Dt(l))if(Fh)b=Gt;else{b=Vt;var v=Bt}else!(s=l.nodeName)||"input"!==s.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&yt(r.elementType)&&(b=qt):b=Wt;switch(b&&(b=b(e,r))?jt(i,b,n,o):(v&&v(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&Fe(l,"number",l.value)),v=r?ve(r):window,e){case"focusin":(Dt(v)||"true"===v.contentEditable)&&(Hh=v,Bh=r,Vh=null);break;case"focusout":Vh=Bh=Hh=null;break;case"mousedown":Wh=!0;break;case"contextmenu":case"mouseup":case"dragend":Wh=!1,Xt(i,n,o);break;case"selectionchange":if(Uh)break;case"keydown":case"keyup":Xt(i,n,o)}var w;if(Th)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else zh?Lt(e,n)&&(k="onCompositionEnd"):"keydown"===e&&n.keyCode===Ih&&(k="onCompositionStart");k&&(Ph&&"ko"!==n.locale&&(zh||"onCompositionStart"!==k?"onCompositionEnd"===k&&zh&&(w=It()):(eh="value"in(Xp=o)?Xp.value:Xp.textContent,zh=!0)),0<(v=hu(r,k)).length&&(k=new ph(k,e,null,n,o),i.push({event:k,listeners:v}),w?k.data=w:null!==(w=zt(n))&&(k.data=w))),(w=Rh?function(e,t){switch(e){case"compositionend":return zt(t);case"keypress":return t.which!==Oh?null:(Lh=!0,Nh);case"textInput":return(e=t.data)===Nh&&Lh?null:e;default:return null}}(e,n):function(e,t){if(zh)return"compositionend"===e||!Th&&Lt(e,t)?(e=It(),th=eh=Xp=null,zh=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ph&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(k=hu(r,"onBeforeInput")).length&&(v=new hh("onBeforeInput","beforeinput",null,n,o),i.push({event:v,listeners:k}),v.data=w)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var a=ou((o[qf]||null).action),i=r.submitter;i&&null!==(t=(t=i[qf]||null)?ou(t.formAction):i.getAttribute("formAction"))&&(a=t,i=null);var l=new rh("action","action",null,r,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==gk){var e=i?au(o,i):new FormData(o),t={pending:!0,data:e,method:o.method,action:a};Object.freeze(t),Ua(n,t,null,e)}}else"function"==typeof a&&(l.preventDefault(),t={pending:!0,data:e=i?au(o,i):new FormData(o),method:o.method,action:a},Object.freeze(t),Ua(n,t,a,e))},currentTarget:o}]})}}(i,e,r,n,o)}lu(i,t)})}function pu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function hu(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=Et(e,n))&&r.unshift(pu(e,o,a)),null!=(o=Et(e,t))&&r.push(pu(e,o,a))),3===e.tag)return r;e=e.return}return[]}function mu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function gu(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,o?null!=(u=Et(n,a))&&i.unshift(pu(n,u,s)):o||null!=(u=Et(n,a))&&i.push(pu(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function yu(e,t){(function(e,t){var n,r=[];for(n in t)vt(e,n)||r.push(n);t=r.map(function(e){return"`"+e+"`"}).join(", "),1===r.length?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<r.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)})(e,t),"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Dp||(Dp=!0,"select"===e&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Yf,possibleRegistrationNames:$f};yt(e)||"string"==typeof t.is||function(e,t,n){var r,o=[];for(r in t)wt(e,r,t[r],n)||o.push(r);t=o.map(function(e){return"`"+e+"`"}).join(", "),1===o.length?console.error("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://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("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://react.dev/link/attribute-behavior ",t,e)}(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&null!=t.children&&console.error("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.")}function bu(e,t,n,r){t!==n&&(n=ku(n),ku(t)!==n&&(r[e]=t))}function vu(e,t){!1===t?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function wu(e,t){return(e=e.namespaceURI===Tp||e.namespaceURI===_p?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName)).innerHTML=t,e.innerHTML}function ku(e){return Y(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Q(e)),$(e)),("string"==typeof e?e:""+e).replace(_k,"\n").replace(Rk,"")}function Su(e,t){return t=ku(t),ku(e)===t}function xu(e,t,n,r,o,a){switch(n){case"children":"string"==typeof r?(pt(r,t,!1),"body"===t||"textarea"===t&&""===r||ht(e,r)):("number"==typeof r||"bigint"==typeof r)&&(pt(""+r,t,!1),"body"!==t&&ht(e,""+r));break;case"className":Te(e,"class",r);break;case"tabIndex":Te(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Te(e,n,r);break;case"style":gt(e,r,a);break;case"data":if("object"!==t){Te(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){console.error("src"===n?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}Z(r,n),r=kt(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if(null!=r&&("form"===t?"formAction"===n?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):"function"==typeof r&&(null==o.encType&&null==o.method||Ek||(Ek=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),null==o.target||Ak||(Ak=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):"input"===t||"button"===t?"action"===n?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):"input"!==t||"submit"===o.type||"image"===o.type||xk?"button"!==t||null==o.type||"submit"===o.type||xk?"function"==typeof r&&(null==o.name||Ck||(Ck=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),null==o.formEncType&&null==o.formMethod||Ek||(Ek=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),null==o.formTarget||Ak||(Ak=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(xk=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(xk=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error("action"===n?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),"function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&xu(e,t,"name",o.name,o,null),xu(e,t,"formEncType",o.formEncType,o,null),xu(e,t,"formMethod",o.formMethod,o,null),xu(e,t,"formTarget",o.formTarget,o,null)):(xu(e,t,"encType",o.encType,o,null),xu(e,t,"method",o.method,o,null),xu(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}Z(r,n),r=kt(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&("function"!=typeof r&&vu(n,r),e.onclick=St);break;case"onScroll":null!=r&&("function"!=typeof r&&vu(n,r),su("scroll",e));break;case"onScrollEnd":null!=r&&("function"!=typeof r&&vu(n,r),su("scrollend",e));break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(null!=(n=r.__html)){if(null!=o.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}Z(r,n),n=kt(""+r),e.setAttributeNS(Pk,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?(Z(r,n),e.setAttribute(n,""+r)):e.removeAttribute(n);break;case"inert":""!==r||Tk[n]||(Tk[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?(Z(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?(Z(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):(Z(r,n),e.setAttribute(n,r));break;case"popover":su("beforetoggle",e),su("toggle",e),Ie(e,"popover",r);break;case"xlinkActuate":_e(e,Pk,"xlink:actuate",r);break;case"xlinkArcrole":_e(e,Pk,"xlink:arcrole",r);break;case"xlinkRole":_e(e,Pk,"xlink:role",r);break;case"xlinkShow":_e(e,Pk,"xlink:show",r);break;case"xlinkTitle":_e(e,Pk,"xlink:title",r);break;case"xlinkType":_e(e,Pk,"xlink:type",r);break;case"xmlBase":_e(e,Ok,"xml:base",r);break;case"xmlLang":_e(e,Ok,"xml:lang",r);break;case"xmlSpace":_e(e,Ok,"xml:space",r);break;case"is":null!=a&&console.error('Cannot update the "is" prop after it has been initialized.'),Ie(e,"is",r);break;case"innerText":case"textContent":break;case"popoverTarget":Ik||null==r||"object"!=typeof r||(Ik=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]?Ie(e,n=bt(n),r):Yf.hasOwnProperty(n)&&null!=r&&"function"!=typeof r&&vu(n,r)}}function Cu(e,t,n,r,o,a){switch(n){case"style":gt(e,r,a);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(null!=(n=r.__html)){if(null!=o.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":"string"==typeof r?ht(e,r):("number"==typeof r||"bigint"==typeof r)&&ht(e,""+r);break;case"onScroll":null!=r&&("function"!=typeof r&&vu(n,r),su("scroll",e));break;case"onScrollEnd":null!=r&&("function"!=typeof r&&vu(n,r),su("scrollend",e));break;case"onClick":null!=r&&("function"!=typeof r&&vu(n,r),e.onclick=St);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Yf.hasOwnProperty(n)?null!=r&&"function"!=typeof r&&vu(n,r):"o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(a=null!=(a=e[qf]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):Ie(e,n,r):("function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,o))}}function Au(e,t,n){switch(yu(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":su("error",e),su("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:xu(e,t,r,i,n,null)}}return a&&xu(e,t,"srcSet",n.srcSet,n,null),void(o&&xu(e,t,"src",n.src,n,null));case"input":Ce("input",n),su("invalid",e);var l=r=i=a=null,s=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var c=n[o];if(null!=c)switch(o){case"name":a=c;break;case"type":i=c;break;case"checked":s=c;break;case"defaultChecked":u=c;break;case"value":r=c;break;case"defaultValue":l=c;break;case"children":case"dangerouslySetInnerHTML":if(null!=c)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:xu(e,t,o,c,n,null)}}return De(0,n),void Me(e,r,l,s,u,i,a,!1);case"select":for(a in Ce("select",n),su("invalid",e),o=i=r=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":r=l;break;case"defaultValue":i=l;break;case"multiple":o=l;default:xu(e,t,a,l,n,null)}return Be(e,n),t=r,n=i,e.multiple=!!o,void(null!=t?He(e,!!o,t,!1):null!=n&&He(e,!!o,n,!0));case"textarea":for(i in Ce("textarea",n),su("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(i)&&null!=(l=n[i]))switch(i){case"value":o=l;break;case"defaultValue":a=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:xu(e,t,i,l,n,null)}return Ve(0,n),void Ge(e,o,a,r);case"option":for(s in qe(0,n),n)if(n.hasOwnProperty(s)&&null!=(o=n[s]))if("selected"===s)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else xu(e,t,s,o,n,null);return;case"dialog":su("beforetoggle",e),su("toggle",e),su("cancel",e),su("close",e);break;case"iframe":case"object":su("load",e);break;case"video":case"audio":for(o=0;o<bk.length;o++)su(bk[o],e);break;case"image":su("error",e),su("load",e);break;case"details":su("toggle",e);break;case"embed":case"source":case"link":su("error",e),su("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:xu(e,t,u,o,n,null)}return;default:if(yt(t)){for(c in n)n.hasOwnProperty(c)&&(void 0!==(o=n[c])&&Cu(e,t,c,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&xu(e,t,l,o,n,null))}function Eu(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Iu(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var r=e[n];t[r]=e.getPropertyValue(r)}return t}function Tu(e,t,n){if(null!=t&&"object"!=typeof t)console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,o,a=r="";for(o in t)if(t.hasOwnProperty(o)){var i=t[o];null!=i&&"boolean"!=typeof i&&""!==i&&(0===o.indexOf("--")?(K(i,o),r+=a+o+":"+(""+i).trim()):"number"!=typeof i||0===i||Ip.has(o)?(K(i,o),r+=a+o.replace(yp,"-$1").toLowerCase().replace(bp,"-ms-")+":"+(""+i).trim()):r+=a+o.replace(yp,"-$1").toLowerCase().replace(bp,"-ms-")+":"+i+"px",a=";")}r=r||null,(t=e.getAttribute("style"))!==r&&(r=ku(r),ku(t)!==r&&(n.style=Iu(e)))}}function _u(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(Z(r,t),e===""+r)return}bu(t,e,r,a)}function Ru(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n))){switch(typeof r){case"function":case"symbol":return}if(!r)return}else switch(typeof r){case"function":case"symbol":break;default:if(r)return}bu(t,e,r,a)}function Pu(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":return}else if(null!=r)switch(typeof r){case"function":case"symbol":break;default:if(Z(r,n),e===""+r)return}bu(t,e,r,a)}function Ou(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(r))return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(!isNaN(r)&&(Z(r,t),e===""+r))return}bu(t,e,r,a)}function Nu(e,t,n,r,o,a){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(Z(r,t),e===(n=kt(""+r)))return}bu(t,e,r,a)}function Lu(e,t,n,r){for(var o={},a=new Set,i=e.attributes,l=0;l<i.length;l++)switch(i[l].name.toLowerCase()){case"value":case"checked":case"selected":break;default:a.add(i[l].name)}if(yt(t)){for(var s in n)if(n.hasOwnProperty(s)){var u=n[s];if(null!=u)if(Yf.hasOwnProperty(s))"function"!=typeof u&&vu(s,u);else if(!0!==n.suppressHydrationWarning)switch(s){case"children":"string"!=typeof u&&"number"!=typeof u||bu("children",e.textContent,u,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":i=e.innerHTML,null!=(u=u?u.__html:void 0)&&bu(s,i,u=wu(e,u),o);continue;case"style":a.delete(s),Tu(e,u,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":a.delete(s.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",s);continue;case"className":a.delete("class"),bu("className",i=Ee(e,"class",u),u,o);continue;default:r.context===$k&&"svg"!==t&&"math"!==t?a.delete(s.toLowerCase()):a.delete(s),bu(s,i=Ee(e,s,u),u,o)}}}else for(u in n)if(n.hasOwnProperty(u)&&null!=(s=n[u]))if(Yf.hasOwnProperty(u))"function"!=typeof s&&vu(u,s);else if(!0!==n.suppressHydrationWarning)switch(u){case"children":"string"!=typeof s&&"number"!=typeof s||bu("children",e.textContent,s,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":i=e.innerHTML,null!=(s=s?s.__html:void 0)&&(i!==(s=wu(e,s))&&(o[u]={__html:i}));continue;case"className":_u(e,u,"class",s,a,o);continue;case"tabIndex":_u(e,u,"tabindex",s,a,o);continue;case"style":a.delete(u),Tu(e,s,o);continue;case"multiple":a.delete(u),bu(u,e.multiple,s,o);continue;case"muted":a.delete(u),bu(u,e.muted,s,o);continue;case"autoFocus":a.delete("autofocus"),bu(u,e.autofocus,s,o);continue;case"data":if("object"!==t){a.delete(u),bu(u,i=e.getAttribute("data"),s,o);continue}case"src":case"href":if(!(""!==s||"a"===t&&"href"===u||"object"===t&&"data"===u)){console.error("src"===u?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',u,u);continue}Nu(e,u,u,s,a,o);continue;case"action":case"formAction":if(i=e.getAttribute(u),"function"==typeof s){a.delete(u.toLowerCase()),"formAction"===u?(a.delete("name"),a.delete("formenctype"),a.delete("formmethod"),a.delete("formtarget")):(a.delete("enctype"),a.delete("method"),a.delete("target"));continue}if(i===Nk){a.delete(u.toLowerCase()),bu(u,"function",s,o);continue}Nu(e,u,u.toLowerCase(),s,a,o);continue;case"xlinkHref":Nu(e,u,"xlink:href",s,a,o);continue;case"contentEditable":Pu(e,u,"contenteditable",s,a,o);continue;case"spellCheck":Pu(e,u,"spellcheck",s,a,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Pu(e,u,u,s,a,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Ru(e,u,u.toLowerCase(),s,a,o);continue;case"capture":case"download":e:{l=e;var c=i=u,d=o;if(a.delete(c),null===(l=l.getAttribute(c)))switch(typeof s){case"undefined":case"function":case"symbol":break e;default:if(!1===s)break e}else if(null!=s)switch(typeof s){case"function":case"symbol":break;case"boolean":if(!0===s&&""===l)break e;break;default:if(Z(s,i),l===""+s)break e}bu(i,l,s,d)}continue;case"cols":case"rows":case"size":case"span":e:{if(l=e,c=i=u,d=o,a.delete(c),null===(l=l.getAttribute(c)))switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(s)||1>s)break e}else if(null!=s)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(s)||1>s)&&(Z(s,i),l===""+s))break e}bu(i,l,s,d)}continue;case"rowSpan":Ou(e,u,"rowspan",s,a,o);continue;case"start":Ou(e,u,u,s,a,o);continue;case"xHeight":_u(e,u,"x-height",s,a,o);continue;case"xlinkActuate":_u(e,u,"xlink:actuate",s,a,o);continue;case"xlinkArcrole":_u(e,u,"xlink:arcrole",s,a,o);continue;case"xlinkRole":_u(e,u,"xlink:role",s,a,o);continue;case"xlinkShow":_u(e,u,"xlink:show",s,a,o);continue;case"xlinkTitle":_u(e,u,"xlink:title",s,a,o);continue;case"xlinkType":_u(e,u,"xlink:type",s,a,o);continue;case"xmlBase":_u(e,u,"xml:base",s,a,o);continue;case"xmlLang":_u(e,u,"xml:lang",s,a,o);continue;case"xmlSpace":_u(e,u,"xml:space",s,a,o);continue;case"inert":""!==s||Tk[u]||(Tk[u]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",u)),Ru(e,u,u,s,a,o);continue;default:if(!(2<u.length)||"o"!==u[0]&&"O"!==u[0]||"n"!==u[1]&&"N"!==u[1]){l=bt(u),i=!1,r.context===$k&&"svg"!==t&&"math"!==t?a.delete(l.toLowerCase()):(c=u.toLowerCase(),null!==(c=Pp.hasOwnProperty(c)&&Pp[c]||null)&&c!==u&&(i=!0,a.delete(c)),a.delete(l));e:if(c=e,d=l,l=s,Ae(d))if(c.hasAttribute(d))c=c.getAttribute(d),Z(l,d),l=c===""+l?l:c;else{switch(typeof l){case"function":case"symbol":break e;case"boolean":if("data-"!==(c=d.toLowerCase().slice(0,5))&&"aria-"!==c)break e}l=void 0===l?void 0:null}else l=void 0;i||bu(u,l,s,o)}}return 0<a.size&&!0!==n.suppressHydrationWarning&&function(e,t,n){t.forEach(function(t){n[Eu(t)]="style"===t?Iu(e):e.getAttribute(t)})}(e,a,o),0===Object.keys(o).length?null:o}function zu(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Du(e){return 9===e.nodeType?e:e.ownerDocument}function ju(e){switch(e){case _p:return Zk;case Tp:return Kk;default:return $k}}function Mu(e,t){if(e===$k)switch(t){case"svg":return Zk;case"math":return Kk;default:return $k}return e===Zk&&"foreignObject"===t?$k:e}function Fu(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function qu(){var e=window.event;return e&&e!==nS?e.type:null}function Uu(){var e=window.event;return e&&e!==nS?e.timeStamp:-1.1}function Hu(e){setTimeout(function(){throw e})}function Bu(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Vu(){}function Wu(e,t,n,r){(function(e,t,n,r){switch(yu(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,i=null,l=null,s=null,u=null,c=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&null!=d)switch(p){case"checked":case"value":break;case"defaultValue":s=d;default:r.hasOwnProperty(p)||xu(e,t,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(null!=p||null!=d))switch(f){case"type":a=p;break;case"name":o=p;break;case"checked":u=p;break;case"defaultChecked":c=p;break;case"value":i=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:p!==d&&xu(e,t,f,p,r,d)}}return t="checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value,r="checkbox"===r.type||"radio"===r.type?null!=r.checked:null!=r.value,t||!r||Sk||(console.error("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://react.dev/link/controlled-components"),Sk=!0),!t||r||kk||(console.error("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://react.dev/link/controlled-components"),kk=!0),void je(e,i,l,s,u,c,a,o);case"select":for(a in p=i=l=f=null,n)if(s=n[a],n.hasOwnProperty(a)&&null!=s)switch(a){case"value":break;case"multiple":p=s;default:r.hasOwnProperty(a)||xu(e,t,a,null,r,s)}for(o in r)if(a=r[o],s=n[o],r.hasOwnProperty(o)&&(null!=a||null!=s))switch(o){case"value":f=a;break;case"defaultValue":l=a;break;case"multiple":i=a;default:a!==s&&xu(e,t,o,a,r,s)}return r=l,t=i,n=p,void(null!=f?He(e,!!t,f,!1):!!n!=!!t&&(null!=r?He(e,!!t,r,!0):He(e,!!t,t?[]:"",!1)));case"textarea":for(l in p=f=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:xu(e,t,l,null,r,o)}for(i in r)if(o=r[i],a=n[i],r.hasOwnProperty(i)&&(null!=o||null!=a))switch(i){case"value":f=o;break;case"defaultValue":p=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==a&&xu(e,t,i,o,r,a)}return void We(e,f,p);case"option":for(var h in n)f=n[h],n.hasOwnProperty(h)&&null!=f&&!r.hasOwnProperty(h)&&("selected"===h?e.selected=!1:xu(e,t,h,null,r,f));for(s in r)f=r[s],p=n[s],!r.hasOwnProperty(s)||f===p||null==f&&null==p||("selected"===s?e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f:xu(e,t,s,f,r,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)f=n[m],n.hasOwnProperty(m)&&null!=f&&!r.hasOwnProperty(m)&&xu(e,t,m,null,r,f);for(u in r)if(f=r[u],p=n[u],r.hasOwnProperty(u)&&f!==p&&(null!=f||null!=p))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:xu(e,t,u,f,r,p)}return;default:if(yt(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&void 0!==f&&!r.hasOwnProperty(g)&&Cu(e,t,g,void 0,r,f);for(c in r)f=r[c],p=n[c],!r.hasOwnProperty(c)||f===p||void 0===f&&void 0===p||Cu(e,t,c,f,r,p);return}}for(var y in n)f=n[y],n.hasOwnProperty(y)&&null!=f&&!r.hasOwnProperty(y)&&xu(e,t,y,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||null==f&&null==p||xu(e,t,d,f,r,p)})(e,t,n,r),e[qf]=r}function Gu(e){ht(e,"")}function Qu(e,t,n){e.nodeValue=n}function Yu(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[qf]||null;if(null!==t){var n=be(e);null!==n&&("string"==typeof t.children||"number"==typeof t.children?(e.__reactWarnedAboutChildrenConflict=!0,W(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):null!=t.dangerouslySetInnerHTML&&(e.__reactWarnedAboutChildrenConflict=!0,W(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function $u(e){return"head"===e}function Zu(e,t){e.removeChild(t)}function Ku(e,t){(9===e.nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).removeChild(t)}function Ju(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if((n=o.data)===Mk||n===Dk){if(0===r)return e.removeChild(o),void ud(t);r--}else if(n===jk||n===Fk||n===qk||n===Uk||n===zk)r++;else if(n===Hk)wc(e.ownerDocument.documentElement);else if(n===Vk){wc(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[Gf]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=i}}else n===Bk&&wc(e.ownerDocument.body);n=o}while(n);ud(t)}function Xu(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if((n=r.data)===Mk){if(0===e)break;e--}else n!==jk&&n!==Fk&&n!==qk&&n!==Uk||e++;n=r}while(n)}function ec(e){Xu(e,!0)}function tc(e){"function"==typeof(e=e.style).setProperty?e.setProperty("display","none","important"):e.display="none"}function nc(e){e.nodeValue=""}function rc(e){Xu(e,!1)}function oc(e,t){t=null!=(t=t[Yk])&&t.hasOwnProperty("display")?t.display:null,e.style.display=null==t||"boolean"==typeof t?"":(""+t).trim()}function ac(e,t){e.nodeValue=t}function ic(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":ic(n),ge(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function lc(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=cc(e.nextSibling)))return null;return e}function sc(e){return e.data===Fk||e.data===qk}function uc(e){return e.data===Uk||e.data===Fk&&e.ownerDocument.readyState!==Qk}function cc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if((t=e.data)===jk||t===Uk||t===Fk||t===qk||t===zk||t===Wk||t===Gk)break;if(t===Mk||t===Dk)return null}}return e}function dc(e){if(1===e.nodeType){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,o=0;o<r.length;o++){var a=r[o];n[Eu(a.name)]="style"===a.name.toLowerCase()?Iu(e):a.value}return{type:t,props:n}}return 8===e.nodeType?e.data===zk?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function fc(e,t,n){return null===n||!0!==n[Lk]?(e.nodeValue===t?e=null:(t=ku(t),e=ku(e.nodeValue)===t?null:e.nodeValue),e):null}function pc(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Mk||n===Dk){if(0===t)return cc(e.nextSibling);t--}else n!==jk&&n!==Uk&&n!==Fk&&n!==qk&&n!==zk||t++}e=e.nextSibling}return null}function hc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===jk||n===Uk||n===Fk||n===qk||n===zk){if(0===t)return e;t--}else n!==Mk&&n!==Dk||t++}e=e.previousSibling}return null}function mc(e){ud(e)}function gc(e){ud(e)}function yc(e){ud(e)}function bc(e,t,n,r,o){switch(o&&ft(e,r.ancestorInfo),t=Du(n),e){case"html":if(!(e=t.documentElement))throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(!(e=t.head))throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(!(e=t.body))throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function vc(e,t,n,r){if(!n[Uf]&&be(n)){var o=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=n.attributes;o.length;)n.removeAttributeNode(o[0]);Au(n,e,t),n[Ff]=r,n[qf]=t}function wc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ge(e)}function kc(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}function Sc(e,t,n){var r=IS;if(r&&"string"==typeof t&&t){var o=ze(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),mS.has(o)||(mS.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(Au(t=r.createElement("link"),"link",e),ke(t),r.head.appendChild(t)))}}function xc(e,t,n,r){var o=(o=ef.current)?kc(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=Ac(n.href),(r=(t=we(o).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Ac(n.href);var a=we(o).hoistableStyles,i=a.get(e);if(!i&&(o=o.ownerDocument||o,i={type:"stylesheet",instance:null,count:0,state:{loading:uS,preload:null}},a.set(e,i),(a=o.querySelector(Ec(e)))&&!a._p&&(i.instance=a,i.state.loading=cS|pS),!hS.has(e))){var l={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};hS.set(e,l),a||function(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=cS:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=cS}),t.addEventListener("error",function(){return r.loading|=dS}),Au(t,"link",n),ke(t),e.head.appendChild(t))}(o,e,l,i.state)}if(t&&null===r)throw n="\n\n - "+Cc(t)+"\n + "+Cc(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return i}if(t&&null!==r)throw n="\n\n - "+Cc(t)+"\n + "+Cc(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=Tc(n),(r=(t=we(o).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Cc(e){var t=0,n="<link";return"string"==typeof e.rel?(t++,n+=' rel="'+e.rel+'"'):cf.call(e,"rel")&&(t++,n+=' rel="'+(null===e.rel?"null":"invalid type "+typeof e.rel)+'"'),"string"==typeof e.href?(t++,n+=' href="'+e.href+'"'):cf.call(e,"href")&&(t++,n+=' href="'+(null===e.href?"null":"invalid type "+typeof e.href)+'"'),"string"==typeof e.precedence?(t++,n+=' precedence="'+e.precedence+'"'):cf.call(e,"precedence")&&(t++,n+=" precedence={"+(null===e.precedence?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Ac(e){return'href="'+ze(e)+'"'}function Ec(e){return'link[rel="stylesheet"]['+e+"]"}function Ic(e){return Id({},e,{"data-precedence":e.precedence,precedence:null})}function Tc(e){return'[src="'+ze(e)+'"]'}function _c(e){return"script[async]"+e}function Rc(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ze(n.href)+'"]');if(r)return t.instance=r,ke(r),r;var o=Id({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return ke(r=(e.ownerDocument||e).createElement("style")),Au(r,"style",o),Pc(r,n.precedence,e),t.instance=r;case"stylesheet":o=Ac(n.href);var a=e.querySelector(Ec(o));if(a)return t.state.loading|=pS,t.instance=a,ke(a),a;r=Ic(n),(o=hS.get(o))&&Oc(r,o),ke(a=(e.ownerDocument||e).createElement("link"));var i=a;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),Au(a,"link",r),t.state.loading|=pS,Pc(a,n.precedence,e),t.instance=a;case"script":return a=Tc(n.src),(o=e.querySelector(_c(a)))?(t.instance=o,ke(o),o):(r=n,(o=hS.get(a))&&Nc(r=Id({},n),o),ke(o=(e=e.ownerDocument||e).createElement("script")),Au(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else"stylesheet"===t.type&&(t.state.loading&pS)===uS&&(r=t.instance,t.state.loading|=pS,Pc(r,n.precedence,e));return t.instance}function Pc(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Oc(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Nc(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}function Lc(e,t,n){if(null===TS){var r=new Map,o=TS=new Map;o.set(n,r)}else(r=(o=TS).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[Gf]||a[Ff]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&a.namespaceURI!==_p){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function zc(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Dc(e){return!("stylesheet"===e.type&&(e.state.loading&fS)===uS)}function jc(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)Mc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}function Mc(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,LS=new Map,t.forEach(Fc,e),LS=null,jc.call(e))}function Fc(e,t){if(!(t.state.loading&pS)){var n=LS.get(e);if(n)var r=n.get(NS);else{n=new Map,LS.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(NS,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(NS,o),n.set(i,o),this.count++,r=jc.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=pS}}function qc(e,t,n,r,o,a,i,l,s){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=aS,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ae(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ae(0),this.hiddenUpdates=ae(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Uc(e,t,n,r,o,a,i,l,s,u,c,d){return e=new qc(e,t,n,i,s,u,c,d,l),t=Dm,!0===a&&(t|=Mm|Fm),a=f(3,null,null,t|=jm),e.current=a,a.stateNode=e,gr(t=mr()),e.pooledCache=t,gr(t),a.memoizedState={element:r,isDehydrated:n,cache:t},oo(a),e}function Hc(e){return e?e=Om:Om}function Bc(e,t,n,r,o,a){if(Af&&"function"==typeof Af.onScheduleFiberRoot)try{Af.onScheduleFiberRoot(Cf,r,n)}catch(e){Ef||(Ef=!0,console.error("React instrumentation encountered an error: %o",e))}o=Hc(o),null===r.context?r.context=o:r.pendingContext=o,uf&&null!==sf&&!HS&&(HS=!0,console.error("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",E(sf)||"Unknown")),(r=io(t)).payload={element:n},null!==(a=void 0===a?null:a)&&("function"!=typeof a&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),null!==(n=lo(e,r,t))&&(br(t,"root.render()",null),os(n,e,t),so(n,e,t))}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}function Gc(e){if(13===e.tag||31===e.tag){var t=kn(e,67108864);null!==t&&os(t,e,67108864),Wc(e,67108864)}}function Qc(e){if(13===e.tag||31===e.tag){var t=ns(e),n=kn(e,t=ce(t));null!==n&&os(n,e,t),Wc(e,t)}}function Yc(){return sf}function $c(e,t,n,r){var o=Gd.T;Gd.T=null;var a=Qd.p;try{Qd.p=Lf,Kc(e,t,n,r)}finally{Qd.p=a,Gd.T=o}}function Zc(e,t,n,r){var o=Gd.T;Gd.T=null;var a=Qd.p;try{Qd.p=zf,Kc(e,t,n,r)}finally{Qd.p=a,Gd.T=o}}function Kc(e,t,n,r){if(VS){var o=Jc(r);if(null===o)fu(e,t,r,WS,n),td(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return QS=nd(QS,e,t,n,r,o),!0;case"dragenter":return YS=nd(YS,e,t,n,r,o),!0;case"mouseover":return $S=nd($S,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return ZS.set(a,nd(ZS.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,KS.set(a,nd(KS.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(td(e,r),4&t&&-1<XS.indexOf(e)){for(;null!==o;){var a=be(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=ee(a.pendingLanes);if(0!==i){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-Tf(i);l.entanglements[1]|=s,i&=~s}Ys(a),(Yv&(Fv|qv))===Mv&&(Ew=mf()+Iw,$s(0))}}break;case 31:case 13:null!==(l=kn(a,2))&&os(l,a,2),us(),Wc(a,2)}if(null===(a=Jc(r))&&fu(e,t,r,WS,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else fu(e,t,r,null,n)}}function Jc(e){return Xc(e=xt(e))}function Xc(e){if(WS=null,null!==(e=ye(e))){var t=y(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=v(t)))return e;e=null}else if(31===n){if(null!==(e=w(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return WS=e,null}function ed(e){switch(e){case"beforetoggle":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"toggle":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 Lf;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return zf;case"message":switch(gf()){case yf:return Lf;case bf:return zf;case vf:case wf:return Df;case kf:return jf;default:return Df}default:return Df}}function td(e,t){switch(e){case"focusin":case"focusout":QS=null;break;case"dragenter":case"dragleave":YS=null;break;case"mouseover":case"mouseout":$S=null;break;case"pointerover":case"pointerout":ZS.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":KS.delete(t.pointerId)}}function nd(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=be(t))&&Gc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function rd(e){var t=ye(e.target);if(null!==t){var n=y(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=v(n)))return e.blockedOn=t,void me(e.priority,function(){Qc(n)})}else if(31===t){if(null!==(t=w(n)))return e.blockedOn=t,void me(e.priority,function(){Qc(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function od(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jc(e.nativeEvent);if(null!==n)return null!==(t=be(n))&&Gc(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n),o=r;null!==Bp&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Bp=o,n.target.dispatchEvent(r),null===Bp&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Bp=null,t.shift()}return!0}function ad(e,t,n){od(e)&&n.delete(t)}function id(){GS=!1,null!==QS&&od(QS)&&(QS=null),null!==YS&&od(YS)&&(YS=null),null!==$S&&od($S)&&($S=null),ZS.forEach(ad),KS.forEach(ad)}function ld(e,t){e.blockedOn===t&&(e.blockedOn=null,GS||(GS=!0,xd.unstable_scheduleCallback(xd.unstable_NormalPriority,id)))}function sd(e){ex!==e&&(ex=e,xd.unstable_scheduleCallback(xd.unstable_NormalPriority,function(){ex===e&&(ex=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===Xc(r||n))continue;break}var a=be(n);null!==a&&(e.splice(t,3),t-=3,n={pending:!0,data:o,method:n.method,action:r},Object.freeze(n),Ua(a,n,r,o))}}))}function ud(e){function t(t){return ld(t,e)}null!==QS&&ld(QS,e),null!==YS&&ld(YS,e),null!==$S&&ld($S,e),ZS.forEach(t),KS.forEach(t);for(var n=0;n<JS.length;n++){var r=JS[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<JS.length&&null===(n=JS[0]).blockedOn;)rd(n),null===n.blockedOn&&JS.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[qf]||null;if("function"==typeof a)i||sd(n);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[qf]||null)l=i.formAction;else if(null!==Xc(o))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),sd(n)}}}function cd(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function dd(e){this._internalRoot=e}function pd(e){this._internalRoot=e}function hd(e){e[Uf]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var md,gd,yd,bd,vd,wd,kd,xd=fd(),Cd=b(),Ad=Sd(),Id=Object.assign,Td=Symbol.for("react.element"),_d=Symbol.for("react.transitional.element"),Rd=Symbol.for("react.portal"),Pd=Symbol.for("react.fragment"),Od=Symbol.for("react.strict_mode"),Nd=Symbol.for("react.profiler"),Ld=Symbol.for("react.consumer"),zd=Symbol.for("react.context"),Dd=Symbol.for("react.forward_ref"),jd=Symbol.for("react.suspense"),Md=Symbol.for("react.suspense_list"),Fd=Symbol.for("react.memo"),qd=Symbol.for("react.lazy"),Ud=Symbol.for("react.activity"),Hd=Symbol.for("react.memo_cache_sentinel"),Bd=Symbol.iterator,Vd=Symbol.for("react.client.reference"),Wd=Array.isArray,Gd=Cd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Qd=Ad.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Yd=Object.freeze({pending:!1,data:null,method:null,action:null}),$d=[],Zd=[],Kd=-1,Jd=I(null),Xd=I(null),ef=I(null),tf=I(null),nf=0;D.__reactDisabledLog=!0;var rf,of,af=!1,lf=new("function"==typeof WeakMap?WeakMap:Map),sf=null,uf=!1,cf=Object.prototype.hasOwnProperty,df=xd.unstable_scheduleCallback,ff=xd.unstable_cancelCallback,pf=xd.unstable_shouldYield,hf=xd.unstable_requestPaint,mf=xd.unstable_now,gf=xd.unstable_getCurrentPriorityLevel,yf=xd.unstable_ImmediatePriority,bf=xd.unstable_UserBlockingPriority,vf=xd.unstable_NormalPriority,wf=xd.unstable_LowPriority,kf=xd.unstable_IdlePriority,Sf=xd.log,xf=xd.unstable_setDisableYieldValue,Cf=null,Af=null,Ef=!1,If=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Tf=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(_f(e)/Rf|0)|0},_f=Math.log,Rf=Math.LN2,Pf=256,Of=262144,Nf=4194304,Lf=2,zf=8,Df=32,jf=268435456,Mf=Math.random().toString(36).slice(2),Ff="__reactFiber$"+Mf,qf="__reactProps$"+Mf,Uf="__reactContainer$"+Mf,Hf="__reactEvents$"+Mf,Bf="__reactListeners$"+Mf,Vf="__reactHandles$"+Mf,Wf="__reactResources$"+Mf,Gf="__reactMarker$"+Mf,Qf=new Set,Yf={},$f={},Zf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Kf=RegExp("^[: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][: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]*$"),Jf={},Xf={},ep=/[\n"\\]/g,tp=!1,np=!1,rp=!1,op=!1,ap=!1,ip=!1,lp=["value","defaultValue"],sp=!1,up=/["'&<>\n\t]|^\s|\s$/,cp="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".split(" "),dp="applet caption html table td th marquee object template foreignObject desc title".split(" "),fp=dp.concat(["button"]),pp="dd dt li option optgroup p rp rt".split(" "),hp={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},mp={},gp={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),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".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),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".split(" "),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"]},yp=/([A-Z])/g,bp=/^ms-/,vp=/^(?:webkit|moz|o)[A-Z]/,wp=/^-ms-/,kp=/-(.)/g,Sp=/;\s*$/,xp={},Cp={},Ap=!1,Ep=!1,Ip=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Tp="http://www.w3.org/1998/Math/MathML",_p="http://www.w3.org/2000/svg",Rp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Pp={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",fetchpriority:"fetchPriority",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",inert:"inert",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",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",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",transformorigin:"transformOrigin","transform-origin":"transformOrigin",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"},Op={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Np={},Lp=RegExp("^(aria)-[: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]*$"),zp=RegExp("^(aria)[A-Z][: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]*$"),Dp=!1,jp={},Mp=/^on./,Fp=/^on[^A-Z]/,qp=RegExp("^(aria)-[: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]*$"),Up=RegExp("^(aria)[A-Z][: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]*$"),Hp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Bp=null,Vp=null,Wp=null,Gp=!1,Qp=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yp=!1;if(Qp)try{var $p={};Object.defineProperty($p,"passive",{get:function(){Yp=!0}}),window.addEventListener("test",$p,$p),window.removeEventListener("test",$p,$p)}catch{Yp=!1}var Zp,Kp,Jp,Xp=null,eh=null,th=null,nh={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rh=Pt(nh),oh=Id({},nh,{view:0,detail:0}),ah=Pt(oh),ih=Id({},oh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nt,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jp&&(Jp&&"mousemove"===e.type?(Zp=e.screenX-Jp.screenX,Kp=e.screenY-Jp.screenY):Kp=Zp=0,Jp=e),Zp)},movementY:function(e){return"movementY"in e?e.movementY:Kp}}),lh=Pt(ih),sh=Pt(Id({},ih,{dataTransfer:0})),uh=Pt(Id({},oh,{relatedTarget:0})),ch=Pt(Id({},nh,{animationName:0,elapsedTime:0,pseudoElement:0})),dh=Id({},nh,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fh=Pt(dh),ph=Pt(Id({},nh,{data:0})),hh=ph,mh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gh={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"},yh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},bh=Id({},oh,{key:function(e){if(e.key){var t=mh[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Tt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?gh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nt,charCode:function(e){return"keypress"===e.type?Tt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Tt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),vh=Pt(bh),wh=Pt(Id({},ih,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kh=Pt(Id({},oh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nt})),Sh=Pt(Id({},nh,{propertyName:0,elapsedTime:0,pseudoElement:0})),xh=Id({},ih,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ch=Pt(xh),Ah=Pt(Id({},nh,{newState:0,oldState:0})),Eh=[9,13,27,32],Ih=229,Th=Qp&&"CompositionEvent"in window,_h=null;Qp&&"documentMode"in document&&(_h=document.documentMode);var Rh=Qp&&"TextEvent"in window&&!_h,Ph=Qp&&(!Th||_h&&8<_h&&11>=_h),Oh=32,Nh=String.fromCharCode(Oh),Lh=!1,zh=!1,Dh={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},jh=null,Mh=null,Fh=!1;Qp&&(Fh=function(e){if(!Qp)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}("input")&&(!document.documentMode||9<document.documentMode));var qh="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Uh=Qp&&"documentMode"in document&&11>=document.documentMode,Hh=null,Bh=null,Vh=null,Wh=!1,Gh={animationend:en("Animation","AnimationEnd"),animationiteration:en("Animation","AnimationIteration"),animationstart:en("Animation","AnimationStart"),transitionrun:en("Transition","TransitionRun"),transitionstart:en("Transition","TransitionStart"),transitioncancel:en("Transition","TransitionCancel"),transitionend:en("Transition","TransitionEnd")},Qh={},Yh={};Qp&&(Yh=document.createElement("div").style,"AnimationEvent"in window||(delete Gh.animationend.animation,delete Gh.animationiteration.animation,delete Gh.animationstart.animation),"TransitionEvent"in window||delete Gh.transitionend.transition);var $h=tn("animationend"),Zh=tn("animationiteration"),Kh=tn("animationstart"),Jh=tn("transitionrun"),Xh=tn("transitionstart"),em=tn("transitioncancel"),tm=tn("transitionend"),nm=new Map,rm="abort auxClick beforeToggle 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(" ");rm.push("scrollEnd");var om=0;if("object"==typeof performance&&"function"==typeof performance.now)var am=performance,im=function(){return am.now()};else{var lm=Date;im=function(){return lm.now()}}var sm="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},um="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",cm=0,dm=1,fm=2,pm=3,hm="– ",mm="+ ",gm=" ",ym=typeof console<"u"&&"function"==typeof console.timeStamp&&typeof performance<"u"&&"function"==typeof performance.measure,bm="Components ⚛",vm="Scheduler ⚛",wm="Blocking",km=!1,Sm={color:"primary",properties:null,tooltipText:"",track:bm},xm={start:-0,end:-0,detail:{devtools:Sm}},Cm=["Changed Props",""],Am="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",Em=["Changed Props",Am],Im=1,Tm=2,_m=[],Rm=0,Pm=0,Om={};Object.freeze(Om);var Nm=null,Lm=null,zm=0,Dm=1,jm=2,Mm=8,Fm=16,qm=32,Um=!1;try{Object.preventExtensions({})}catch{Um=!0}var Hm=new WeakMap,Bm=[],Vm=0,Wm=null,Gm=0,Qm=[],Ym=0,$m=null,Zm=1,Km="",Jm=null,Xm=null,eg=!1,tg=!1,ng=null,rg=null,og=!1,ag=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),ig=I(null),lg=I(null),sg={},ug=null,cg=null,dg=!1,fg=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},pg=xd.unstable_scheduleCallback,hg=xd.unstable_NormalPriority,mg={$$typeof:zd,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},gg=xd.unstable_now,yg=console.createTask?console.createTask:function(){return null},bg=1,vg=2,wg=-0,kg=-0,Sg=-0,xg=null,Cg=-1.1,Ag=-0,Eg=-0,Ig=-1.1,Tg=-1.1,_g=null,Rg=!1,Pg=-0,Og=-1.1,Ng=null,Lg=0,zg=null,Dg=null,jg=-1.1,Mg=null,Fg=-1.1,qg=-1.1,Ug=-0,Hg=-1.1,Bg=-1.1,Vg=0,Wg=null,Gg=null,Qg=null,Yg=-1.1,$g=null,Zg=-1.1,Kg=-1.1,Jg=-0,Xg=-0,ey=0,ty=0,ny=-1.1,ry=!1,oy=!1,ay=null,iy=0,ly=0,sy=null,uy=Gd.S;Gd.S=function(e,t){if(Cw=mf(),"object"==typeof t&&null!==t&&"function"==typeof t.then){if(0>Hg&&0>Bg){Hg=gg();var n=Uu(),r=qu();(n!==Zg||r!==$g)&&(Zg=-1.1),Yg=n,$g=r}!function(e,t){if(null===ay){var n=ay=[];iy=0,ly=ru(),sy={status:"pending",value:void 0,then:function(e){n.push(e)}}}iy++,t.then(Dr,Dr)}(0,t)}null!==uy&&uy(e,t)};var cy=I(null),dy={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},fy=[],py=[],hy=[],my=[],gy=[],yy=[],by=new Set;dy.recordUnsafeLifecycleWarnings=function(e,t){by.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&fy.push(e),e.mode&Mm&&"function"==typeof t.UNSAFE_componentWillMount&&py.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&hy.push(e),e.mode&Mm&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&my.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&gy.push(e),e.mode&Mm&&"function"==typeof t.UNSAFE_componentWillUpdate&&yy.push(e))},dy.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<fy.length&&(fy.forEach(function(t){e.add(E(t)||"Component"),by.add(t.type)}),fy=[]);var t=new Set;0<py.length&&(py.forEach(function(e){t.add(E(e)||"Component"),by.add(e.type)}),py=[]);var n=new Set;0<hy.length&&(hy.forEach(function(e){n.add(E(e)||"Component"),by.add(e.type)}),hy=[]);var r=new Set;0<my.length&&(my.forEach(function(e){r.add(E(e)||"Component"),by.add(e.type)}),my=[]);var o=new Set;0<gy.length&&(gy.forEach(function(e){o.add(E(e)||"Component"),by.add(e.type)}),gy=[]);var a=new Set;if(0<yy.length&&(yy.forEach(function(e){a.add(E(e)||"Component"),by.add(e.type)}),yy=[]),0<t.size){var i=d(t);console.error("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",i)}0<r.size&&(i=d(r),console.error("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n\nPlease update the following components: %s",i)),0<a.size&&(i=d(a),console.error("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",i)),0<e.size&&(i=d(e),console.warn("componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",i)),0<n.size&&(i=d(n),console.warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",i)),0<o.size&&(i=d(o),console.warn("componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",i))};var vy=new Map,wy=new Set;dy.recordLegacyContextWarning=function(e,t){for(var n=null,r=e;null!==r;)r.mode&Mm&&(n=r),r=r.return;null===n?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!wy.has(e.type)&&(r=vy.get(n),null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],vy.set(n,r)),r.push(e))},dy.flushLegacyContextWarning=function(){vy.forEach(function(e){if(0!==e.length){var t=e[0],n=new Set;e.forEach(function(e){n.add(E(e)||"Component"),wy.add(e.type)});var r=d(n);W(t,function(){console.error("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://react.dev/link/legacy-context",r)})}})},dy.discardPendingWarnings=function(){fy=[],py=[],hy=[],my=[],gy=[],yy=[],vy=new Map};var ky,Sy={react_stack_bottom_frame:function(e,t,n){var r=uf;uf=!0;try{return e(t,n)}finally{uf=r}}},xy=Sy.react_stack_bottom_frame.bind(Sy),Cy={react_stack_bottom_frame:function(e){var t=uf;uf=!0;try{return e.render()}finally{uf=t}}},Ay=Cy.react_stack_bottom_frame.bind(Cy),Ey={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(t){js(e,e.return,t)}}},Iy=Ey.react_stack_bottom_frame.bind(Ey),Ty={react_stack_bottom_frame:function(e,t,n,r,o){try{t.componentDidUpdate(n,r,o)}catch(t){js(e,e.return,t)}}},_y=Ty.react_stack_bottom_frame.bind(Ty),Ry={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:null!==n?n:""})}},Py=Ry.react_stack_bottom_frame.bind(Ry),Oy={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(n){js(e,t,n)}}},Ny=Oy.react_stack_bottom_frame.bind(Oy),Ly={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},zy=Ly.react_stack_bottom_frame.bind(Ly),Dy={react_stack_bottom_frame:function(e,t,n){try{n()}catch(n){js(e,t,n)}}},jy=Dy.react_stack_bottom_frame.bind(Dy),My={react_stack_bottom_frame:function(e){return(0,e._init)(e._payload)}},Fy=My.react_stack_bottom_frame.bind(My),qy=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Uy=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Hy=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),By={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Vy=null,Wy=!1,Gy=null,Qy=0,Yy=null,$y=ky=!1,Zy={},Ky={},Jy={};c=function(e,t,n){if(null!==n&&"object"==typeof n&&n._store&&(!n._store.validated&&null==n.key||2===n._store.validated)){if("object"!=typeof n._store)throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var r=E(e),o=r||"null";if(!Zy[o]){Zy[o]=!0,n=n._owner,e=e._debugOwner;var a="";e&&"number"==typeof e.tag&&(o=E(e))&&(a="\n\nCheck the render method of `"+o+"`."),a||r&&(a="\n\nCheck the top-level render call using <"+r+">.");var i="";null!=n&&e!==n&&(r=null,"number"==typeof n.tag?r=E(n):"string"==typeof n.name&&(r=n.name),r&&(i=" It was passed a child from "+r+".")),W(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',a,i)})}}};var Xy,eb=no(!0),tb=no(!1),nb=0,rb=1,ob=2,ab=3,ib=!1,lb=!1,sb=null,ub=!1,cb=I(null),db=I(0),fb=I(null),pb=null,hb=1,mb=2,gb=I(0),yb=0,bb=1,vb=2,wb=4,kb=8,Sb=new Set,xb=new Set,Cb=new Set,Ab=new Set,Eb=0,Ib=null,Tb=null,_b=null,Rb=!1,Pb=!1,Ob=!1,Nb=0,Lb=0,zb=null,Db=0,jb=25,Mb=null,Fb=null,qb=-1,Ub=!1,Hb={readContext:fr,use:Uo,useCallback:_o,useContext:_o,useEffect:_o,useImperativeHandle:_o,useLayoutEffect:_o,useInsertionEffect:_o,useMemo:_o,useReducer:_o,useRef:_o,useState:_o,useDebugValue:_o,useDeferredValue:_o,useTransition:_o,useSyncExternalStore:_o,useId:_o,useHostTransitionStatus:_o,useFormState:_o,useActionState:_o,useOptimistic:_o,useMemoCache:_o,useCacheRefresh:_o};Hb.useEffectEvent=_o;var Bb=null,Vb=null,Wb=null,Gb=null,Qb=null,Yb=null,$b=null;Bb={readContext:function(e){return fr(e)},use:Uo,useCallback:function(e,t){return Mb="useCallback",Ao(),Io(t),Ra(e,t)},useContext:function(e){return Mb="useContext",Ao(),fr(e)},useEffect:function(e,t){return Mb="useEffect",Ao(),Io(t),xa(e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",Ao(),Io(n),Ta(e,t,n)},useInsertionEffect:function(e,t){Mb="useInsertionEffect",Ao(),Io(t),ka(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",Ao(),Io(t),Ea(e,t)},useMemo:function(e,t){Mb="useMemo",Ao(),Io(t);var n=Gd.H;Gd.H=Qb;try{return Oa(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",Ao();var r=Gd.H;Gd.H=Qb;try{return Vo(e,t,n)}finally{Gd.H=r}},useRef:function(e){return Mb="useRef",Ao(),wa(e)},useState:function(e){Mb="useState",Ao();var t=Gd.H;Gd.H=Qb;try{return na(e)}finally{Gd.H=t}},useDebugValue:function(){Mb="useDebugValue",Ao()},useDeferredValue:function(e,t){return Mb="useDeferredValue",Ao(),La(e,t)},useTransition:function(){return Mb="useTransition",Ao(),Va()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",Ao(),Yo(e,t,n)},useId:function(){return Mb="useId",Ao(),Ya()},useFormState:function(e,t){return Mb="useFormState",Ao(),To(),ha(e,t)},useActionState:function(e,t){return Mb="useActionState",Ao(),ha(e,t)},useOptimistic:function(e){return Mb="useOptimistic",Ao(),ra(e)},useHostTransitionStatus:Qa,useMemoCache:Ho,useCacheRefresh:function(){return Mb="useCacheRefresh",Ao(),$a()},useEffectEvent:function(e){return Mb="useEffectEvent",Ao(),Ca(e)}},Vb={readContext:function(e){return fr(e)},use:Uo,useCallback:function(e,t){return Mb="useCallback",Eo(),Ra(e,t)},useContext:function(e){return Mb="useContext",Eo(),fr(e)},useEffect:function(e,t){return Mb="useEffect",Eo(),xa(e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",Eo(),Ta(e,t,n)},useInsertionEffect:function(e,t){Mb="useInsertionEffect",Eo(),ka(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",Eo(),Ea(e,t)},useMemo:function(e,t){Mb="useMemo",Eo();var n=Gd.H;Gd.H=Qb;try{return Oa(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",Eo();var r=Gd.H;Gd.H=Qb;try{return Vo(e,t,n)}finally{Gd.H=r}},useRef:function(e){return Mb="useRef",Eo(),wa(e)},useState:function(e){Mb="useState",Eo();var t=Gd.H;Gd.H=Qb;try{return na(e)}finally{Gd.H=t}},useDebugValue:function(){Mb="useDebugValue",Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",Eo(),La(e,t)},useTransition:function(){return Mb="useTransition",Eo(),Va()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",Eo(),Yo(e,t,n)},useId:function(){return Mb="useId",Eo(),Ya()},useActionState:function(e,t){return Mb="useActionState",Eo(),ha(e,t)},useFormState:function(e,t){return Mb="useFormState",Eo(),To(),ha(e,t)},useOptimistic:function(e){return Mb="useOptimistic",Eo(),ra(e)},useHostTransitionStatus:Qa,useMemoCache:Ho,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),$a()},useEffectEvent:function(e){return Mb="useEffectEvent",Eo(),Ca(e)}},Wb={readContext:function(e){return fr(e)},use:Uo,useCallback:function(e,t){return Mb="useCallback",Eo(),Pa(e,t)},useContext:function(e){return Mb="useContext",Eo(),fr(e)},useEffect:function(e,t){Mb="useEffect",Eo(),Sa(2048,kb,e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",Eo(),_a(e,t,n)},useInsertionEffect:function(e,t){return Mb="useInsertionEffect",Eo(),Sa(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",Eo(),Sa(4,wb,e,t)},useMemo:function(e,t){Mb="useMemo",Eo();var n=Gd.H;Gd.H=Yb;try{return Na(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",Eo();var r=Gd.H;Gd.H=Yb;try{return Wo(e)}finally{Gd.H=r}},useRef:function(){return Mb="useRef",Eo(),Fo().memoizedState},useState:function(){Mb="useState",Eo();var e=Gd.H;Gd.H=Yb;try{return Wo(Bo)}finally{Gd.H=e}},useDebugValue:function(){Mb="useDebugValue",Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",Eo(),za(e,t)},useTransition:function(){return Mb="useTransition",Eo(),Wa()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",Eo(),$o(e,t,n)},useId:function(){return Mb="useId",Eo(),Fo().memoizedState},useFormState:function(e){return Mb="useFormState",Eo(),To(),ma(e)},useActionState:function(e){return Mb="useActionState",Eo(),ma(e)},useOptimistic:function(e,t){return Mb="useOptimistic",Eo(),oa(e,t)},useHostTransitionStatus:Qa,useMemoCache:Ho,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),Fo().memoizedState},useEffectEvent:function(e){return Mb="useEffectEvent",Eo(),Aa(e)}},Gb={readContext:function(e){return fr(e)},use:Uo,useCallback:function(e,t){return Mb="useCallback",Eo(),Pa(e,t)},useContext:function(e){return Mb="useContext",Eo(),fr(e)},useEffect:function(e,t){Mb="useEffect",Eo(),Sa(2048,kb,e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",Eo(),_a(e,t,n)},useInsertionEffect:function(e,t){return Mb="useInsertionEffect",Eo(),Sa(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",Eo(),Sa(4,wb,e,t)},useMemo:function(e,t){Mb="useMemo",Eo();var n=Gd.H;Gd.H=$b;try{return Na(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",Eo();var r=Gd.H;Gd.H=$b;try{return Qo(e)}finally{Gd.H=r}},useRef:function(){return Mb="useRef",Eo(),Fo().memoizedState},useState:function(){Mb="useState",Eo();var e=Gd.H;Gd.H=$b;try{return Qo(Bo)}finally{Gd.H=e}},useDebugValue:function(){Mb="useDebugValue",Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",Eo(),Da(e,t)},useTransition:function(){return Mb="useTransition",Eo(),Ga()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",Eo(),$o(e,t,n)},useId:function(){return Mb="useId",Eo(),Fo().memoizedState},useFormState:function(e){return Mb="useFormState",Eo(),To(),ba(e)},useActionState:function(e){return Mb="useActionState",Eo(),ba(e)},useOptimistic:function(e,t){return Mb="useOptimistic",Eo(),ia(e,t)},useHostTransitionStatus:Qa,useMemoCache:Ho,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),Fo().memoizedState},useEffectEvent:function(e){return Mb="useEffectEvent",Eo(),Aa(e)}},Qb={readContext:function(e){return s(),fr(e)},use:function(e){return l(),Uo(e)},useCallback:function(e,t){return Mb="useCallback",l(),Ao(),Ra(e,t)},useContext:function(e){return Mb="useContext",l(),Ao(),fr(e)},useEffect:function(e,t){return Mb="useEffect",l(),Ao(),xa(e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",l(),Ao(),Ta(e,t,n)},useInsertionEffect:function(e,t){Mb="useInsertionEffect",l(),Ao(),ka(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",l(),Ao(),Ea(e,t)},useMemo:function(e,t){Mb="useMemo",l(),Ao();var n=Gd.H;Gd.H=Qb;try{return Oa(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",l(),Ao();var r=Gd.H;Gd.H=Qb;try{return Vo(e,t,n)}finally{Gd.H=r}},useRef:function(e){return Mb="useRef",l(),Ao(),wa(e)},useState:function(e){Mb="useState",l(),Ao();var t=Gd.H;Gd.H=Qb;try{return na(e)}finally{Gd.H=t}},useDebugValue:function(){Mb="useDebugValue",l(),Ao()},useDeferredValue:function(e,t){return Mb="useDeferredValue",l(),Ao(),La(e,t)},useTransition:function(){return Mb="useTransition",l(),Ao(),Va()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",l(),Ao(),Yo(e,t,n)},useId:function(){return Mb="useId",l(),Ao(),Ya()},useFormState:function(e,t){return Mb="useFormState",l(),Ao(),ha(e,t)},useActionState:function(e,t){return Mb="useActionState",l(),Ao(),ha(e,t)},useOptimistic:function(e){return Mb="useOptimistic",l(),Ao(),ra(e)},useMemoCache:function(e){return l(),Ho(e)},useHostTransitionStatus:Qa,useCacheRefresh:function(){return Mb="useCacheRefresh",Ao(),$a()},useEffectEvent:function(e){return Mb="useEffectEvent",l(),Ao(),Ca(e)}},Yb={readContext:function(e){return s(),fr(e)},use:function(e){return l(),Uo(e)},useCallback:function(e,t){return Mb="useCallback",l(),Eo(),Pa(e,t)},useContext:function(e){return Mb="useContext",l(),Eo(),fr(e)},useEffect:function(e,t){Mb="useEffect",l(),Eo(),Sa(2048,kb,e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",l(),Eo(),_a(e,t,n)},useInsertionEffect:function(e,t){return Mb="useInsertionEffect",l(),Eo(),Sa(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",l(),Eo(),Sa(4,wb,e,t)},useMemo:function(e,t){Mb="useMemo",l(),Eo();var n=Gd.H;Gd.H=Yb;try{return Na(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",l(),Eo();var r=Gd.H;Gd.H=Yb;try{return Wo(e)}finally{Gd.H=r}},useRef:function(){return Mb="useRef",l(),Eo(),Fo().memoizedState},useState:function(){Mb="useState",l(),Eo();var e=Gd.H;Gd.H=Yb;try{return Wo(Bo)}finally{Gd.H=e}},useDebugValue:function(){Mb="useDebugValue",l(),Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",l(),Eo(),za(e,t)},useTransition:function(){return Mb="useTransition",l(),Eo(),Wa()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",l(),Eo(),$o(e,t,n)},useId:function(){return Mb="useId",l(),Eo(),Fo().memoizedState},useFormState:function(e){return Mb="useFormState",l(),Eo(),ma(e)},useActionState:function(e){return Mb="useActionState",l(),Eo(),ma(e)},useOptimistic:function(e,t){return Mb="useOptimistic",l(),Eo(),oa(e,t)},useMemoCache:function(e){return l(),Ho(e)},useHostTransitionStatus:Qa,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),Fo().memoizedState},useEffectEvent:function(e){return Mb="useEffectEvent",l(),Eo(),Aa(e)}},$b={readContext:function(e){return s(),fr(e)},use:function(e){return l(),Uo(e)},useCallback:function(e,t){return Mb="useCallback",l(),Eo(),Pa(e,t)},useContext:function(e){return Mb="useContext",l(),Eo(),fr(e)},useEffect:function(e,t){Mb="useEffect",l(),Eo(),Sa(2048,kb,e,t)},useImperativeHandle:function(e,t,n){return Mb="useImperativeHandle",l(),Eo(),_a(e,t,n)},useInsertionEffect:function(e,t){return Mb="useInsertionEffect",l(),Eo(),Sa(4,vb,e,t)},useLayoutEffect:function(e,t){return Mb="useLayoutEffect",l(),Eo(),Sa(4,wb,e,t)},useMemo:function(e,t){Mb="useMemo",l(),Eo();var n=Gd.H;Gd.H=Yb;try{return Na(e,t)}finally{Gd.H=n}},useReducer:function(e,t,n){Mb="useReducer",l(),Eo();var r=Gd.H;Gd.H=Yb;try{return Qo(e)}finally{Gd.H=r}},useRef:function(){return Mb="useRef",l(),Eo(),Fo().memoizedState},useState:function(){Mb="useState",l(),Eo();var e=Gd.H;Gd.H=Yb;try{return Qo(Bo)}finally{Gd.H=e}},useDebugValue:function(){Mb="useDebugValue",l(),Eo()},useDeferredValue:function(e,t){return Mb="useDeferredValue",l(),Eo(),Da(e,t)},useTransition:function(){return Mb="useTransition",l(),Eo(),Ga()},useSyncExternalStore:function(e,t,n){return Mb="useSyncExternalStore",l(),Eo(),$o(e,t,n)},useId:function(){return Mb="useId",l(),Eo(),Fo().memoizedState},useFormState:function(e){return Mb="useFormState",l(),Eo(),ba(e)},useActionState:function(e){return Mb="useActionState",l(),Eo(),ba(e)},useOptimistic:function(e,t){return Mb="useOptimistic",l(),Eo(),ia(e,t)},useMemoCache:function(e){return l(),Ho(e)},useHostTransitionStatus:Qa,useCacheRefresh:function(){return Mb="useCacheRefresh",Eo(),Fo().memoizedState},useEffectEvent:function(e){return Mb="useEffectEvent",l(),Eo(),Aa(e)}};var Zb={},Kb=new Set,Jb=new Set,Xb=new Set,ev=new Set,tv=new Set,nv=new Set,rv=new Set,ov=new Set,av=new Set,iv=new Set;Object.freeze(Zb);var lv={enqueueSetState:function(e,t,n){var r=ns(e=e._reactInternals),o=io(r);o.payload=t,null!=n&&(oi(n),o.callback=n),null!==(t=lo(e,o,r))&&(br(r,"this.setState()",e),os(t,e,r),so(t,e,r))},enqueueReplaceState:function(e,t,n){var r=ns(e=e._reactInternals),o=io(r);o.tag=rb,o.payload=t,null!=n&&(oi(n),o.callback=n),null!==(t=lo(e,o,r))&&(br(r,"this.replaceState()",e),os(t,e,r),so(t,e,r))},enqueueForceUpdate:function(e,t){var n=ns(e=e._reactInternals),r=io(n);r.tag=ob,null!=t&&(oi(t),r.callback=t),null!==(t=lo(e,r,n))&&(br(n,"this.forceUpdate()",e),os(t,e,n),so(t,e,n))}},sv=null,uv=null,cv=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),dv=!1,fv={},pv={},hv={},mv={},gv=!1,yv={},bv={},vv={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},wv=!1,kv=null;kv=new Set;var Sv=!1,xv=!1,Cv=!1,Av="function"==typeof WeakSet?WeakSet:Set,Ev=null,Iv=null,Tv=null,_v=null,Rv=!1,Pv=null,Ov=!1,Nv=8192,Lv={getCacheForType:function(e){var t=fr(mg),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return fr(mg).controller.signal},getOwner:function(){return sf}};if("function"==typeof Symbol&&Symbol.for){var zv=Symbol.for;zv("selector.component"),zv("selector.has_pseudo_class"),zv("selector.role"),zv("selector.test_id"),zv("selector.text")}var Dv=[],jv="function"==typeof WeakMap?WeakMap:Map,Mv=0,Fv=2,qv=4,Uv=0,Hv=1,Bv=2,Vv=3,Wv=4,Gv=6,Qv=5,Yv=Mv,$v=null,Zv=null,Kv=0,Jv=0,Xv=1,ew=2,tw=3,nw=4,rw=5,ow=6,aw=7,iw=8,lw=9,sw=Jv,uw=null,cw=!1,dw=!1,fw=!1,pw=0,hw=Uv,mw=0,gw=0,yw=0,bw=0,vw=0,ww=null,kw=null,Sw=!1,xw=0,Cw=0,Aw=300,Ew=1/0,Iw=500,Tw=null,_w=null,Rw=null,Pw=0,Ow=1,Nw=2,Lw=3,zw=0,Dw=1,jw=2,Mw=3,Fw=4,qw=5,Uw=0,Hw=null,Bw=null,Vw=0,Ww=0,Gw=-0,Qw=null,Yw=null,$w=null,Zw=Pw,Kw=null,Jw=50,Xw=0,ek=null,tk=!1,nk=!1,rk=50,ok=0,ak=null,ik=!1,lk=null,sk=!1,uk=new Set,ck=null,dk=null,fk=!1,pk=!1,hk=!1,mk=!1,gk=0,yk={};(function(){for(var e=0;e<rm.length;e++){var t=rm[e];nn(t.toLowerCase(),"on"+(t=t[0].toUpperCase()+t.slice(1)))}nn($h,"onAnimationEnd"),nn(Zh,"onAnimationIteration"),nn(Kh,"onAnimationStart"),nn("dblclick","onDoubleClick"),nn("focusin","onFocus"),nn("focusout","onBlur"),nn(Jh,"onTransitionRun"),nn(Xh,"onTransitionStart"),nn(em,"onTransitionCancel"),nn(tm,"onTransitionEnd")})(),xe("onMouseEnter",["mouseout","mouseover"]),xe("onMouseLeave",["mouseout","mouseover"]),xe("onPointerEnter",["pointerout","pointerover"]),xe("onPointerLeave",["pointerout","pointerover"]),Se("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Se("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Se("onBeforeInput",["compositionend","keypress","textInput","paste"]),Se("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Se("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Se("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bk="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(" "),vk=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bk)),wk="_reactListening"+Math.random().toString(36).slice(2),kk=!1,Sk=!1,xk=!1,Ck=!1,Ak=!1,Ek=!1,Ik=!1,Tk={},_k=/\r\n?/g,Rk=/\u0000|\uFFFD/g,Pk="http://www.w3.org/1999/xlink",Ok="http://www.w3.org/XML/1998/namespace",Nk="javascript:throw new Error('React form unexpectedly submitted.')",Lk="suppressHydrationWarning",zk="&",Dk="/&",jk="$",Mk="/$",Fk="$?",qk="$~",Uk="$!",Hk="html",Bk="body",Vk="head",Wk="F!",Gk="F",Qk="loading",Yk="style",$k=0,Zk=1,Kk=2,Jk=null,Xk=null,eS={dialog:!0,webview:!0},tS=null,nS=void 0,rS="function"==typeof setTimeout?setTimeout:void 0,oS="function"==typeof clearTimeout?clearTimeout:void 0,aS=-1,iS="function"==typeof Promise?Promise:void 0,lS="function"==typeof queueMicrotask?queueMicrotask:typeof iS<"u"?function(e){return iS.resolve(null).then(e).catch(Hu)}:rS,sS=null,uS=0,cS=1,dS=2,fS=3,pS=4,hS=new Map,mS=new Set,gS=Qd.d;Qd.d={f:function(){var e=gS.f(),t=us();return e||t},r:function(e){var t=be(e);null!==t&&5===t.tag&&"form"===t.type?Ba(t):gS.r(e)},D:function(e){gS.D(e),Sc("dns-prefetch",e,null)},C:function(e,t){gS.C(e,t),Sc("preconnect",e,t)},L:function(e,t,n){gS.L(e,t,n);var r=IS;if(r&&e&&t){var o='link[rel="preload"][as="'+ze(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+ze(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+ze(n.imageSizes)+'"]')):o+='[href="'+ze(e)+'"]';var a=o;switch(t){case"style":a=Ac(e);break;case"script":a=Tc(e)}hS.has(a)||(e=Id({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),hS.set(a,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Ec(a))||"script"===t&&r.querySelector(_c(a))||(Au(t=r.createElement("link"),"link",e),ke(t),r.head.appendChild(t)))}},m:function(e,t){gS.m(e,t);var n=IS;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+ze(r)+'"][href="'+ze(e)+'"]',a=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Tc(e)}if(!hS.has(a)&&(e=Id({rel:"modulepreload",href:e},t),hS.set(a,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(_c(a)))return}Au(r=n.createElement("link"),"link",e),ke(r),n.head.appendChild(r)}}},X:function(e,t){gS.X(e,t);var n=IS;if(n&&e){var r=we(n).hoistableScripts,o=Tc(e),a=r.get(o);a||((a=n.querySelector(_c(o)))||(e=Id({src:e,async:!0},t),(t=hS.get(o))&&Nc(e,t),ke(a=n.createElement("script")),Au(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}},S:function(e,t,n){gS.S(e,t,n);var r=IS;if(r&&e){var o=we(r).hoistableStyles,a=Ac(e);t=t||"default";var i=o.get(a);if(!i){var l={loading:uS,preload:null};if(i=r.querySelector(Ec(a)))l.loading=cS|pS;else{e=Id({rel:"stylesheet",href:e,"data-precedence":t},n),(n=hS.get(a))&&Oc(e,n);var s=i=r.createElement("link");ke(s),Au(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){l.loading|=cS}),s.addEventListener("error",function(){l.loading|=dS}),l.loading|=pS,Pc(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},o.set(a,i)}}},M:function(e,t){gS.M(e,t);var n=IS;if(n&&e){var r=we(n).hoistableScripts,o=Tc(e),a=r.get(o);a||((a=n.querySelector(_c(o)))||(e=Id({src:e,async:!0,type:"module"},t),(t=hS.get(o))&&Nc(e,t),ke(a=n.createElement("script")),Au(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}}};var yS,bS,vS,wS,kS,SS,xS,CS,AS,ES,IS=typeof document>"u"?null:document,TS=null,_S=6e4,RS=800,PS=500,OS=0,NS=null,LS=null,zS=Yd,DS={$$typeof:zd,Provider:null,Consumer:null,_currentValue:zS,_currentValue2:zS,_threadCount:0},jS="%c%s%c",MS="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",FS="",qS=" ",US=Function.prototype.bind,HS=!1;yS=function(n,r,o,a){null!==(r=e(n,r))&&(o=t(r.memoizedState,o,0,a),r.memoizedState=o,r.baseState=o,n.memoizedProps=Id({},n.memoizedProps),null!==(o=kn(n,2))&&os(o,n,2))},bS=function(t,n,r){null!==(n=e(t,n))&&(r=o(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,t.memoizedProps=Id({},t.memoizedProps),null!==(r=kn(t,2))&&os(r,t,2))},vS=function(t,r,o,a){null!==(r=e(t,r))&&(o=n(r.memoizedState,o,a),r.memoizedState=o,r.baseState=o,t.memoizedProps=Id({},t.memoizedProps),null!==(o=kn(t,2))&&os(o,t,2))},wS=function(e,n,r){e.pendingProps=t(e.memoizedProps,n,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(n=kn(e,2))&&os(n,e,2)},kS=function(e,t){e.pendingProps=o(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(t=kn(e,2))&&os(t,e,2)},SS=function(e,t,r){e.pendingProps=n(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(t=kn(e,2))&&os(t,e,2)},xS=function(e){var t=kn(e,2);null!==t&&os(t,e,2)},CS=function(e){var t=oe(),n=kn(e,t);null!==n&&os(n,e,t)},AS=function(e){i=e},ES=function(e){a=e};var BS,VS=!0,WS=null,GS=!1,QS=null,YS=null,$S=null,ZS=new Map,KS=new Map,JS=[],XS="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".split(" "),ex=null;if(pd.prototype.render=dd.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error("Cannot update an unmounted root.");var n=arguments;"function"==typeof n[1]?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):g(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var r=t.current;Bc(r,ns(r),n,t,null,null)},pd.prototype.unmount=dd.prototype.unmount=function(){var e=arguments;if("function"==typeof e[0]&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),null!==(e=this._internalRoot)){this._internalRoot=null;var t=e.containerInfo;(Yv&(Fv|qv))!==Mv&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Bc(e.current,2,null,e,null,null),us(),t[Uf]=null}},pd.prototype.unstable_scheduleHydration=function(e){if(e){var t=he();e={blockedOn:null,target:e,priority:t};for(var n=0;n<JS.length&&0!==t&&t<JS[n].priority;n++);JS.splice(n,0,e),0===n&&rd(e)}},function(){var e=Cd.version;if("19.2.0"!==e)throw Error('Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: '+e+"\n - react-dom: 19.2.0\nLearn more: https://react.dev/warnings/version-mismatch")}(),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Qd.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=function(e){var t=e.alternate;if(!t){if(null===(t=y(e)))throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return k(o),e;if(a===r)return k(o),t;a=a.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw 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(n.alternate!==r)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==n.tag)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?S(e):null)?null:e.stateNode},(BS={bundleType:1,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:Gd,reconcilerVersion:"19.2.0"}).overrideHookState=yS,BS.overrideHookStateDeletePath=bS,BS.overrideHookStateRenamePath=vS,BS.overrideProps=wS,BS.overridePropsDeletePath=kS,BS.overridePropsRenamePath=SS,BS.scheduleUpdate=xS,BS.scheduleRetry=CS,BS.setErrorHandler=AS,BS.setSuspenseHandler=ES,BS.scheduleRefresh=h,BS.scheduleRoot=p,BS.setRefreshHandler=m,BS.getCurrentFiber=Yc,!function(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Cf=t.inject(e),Af=t}catch(e){console.error("React instrumentation encountered an error: %o.",e)}return!!t.checkDCE}(BS)&&Qp&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Edge")||-1<navigator.userAgent.indexOf("Firefox"))){var tx=window.location.protocol;/^(https?|file):$/.test(tx)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+("file:"===tx?"\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq":""),"font-weight:bold")}Ed.createRoot=function(e,t){if(!g(e))throw Error("Target container is not a DOM element.");hd(e);var n=!1,r="",o=ui,a=ci,i=di;return null!=t&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===_d&&console.error("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(a=t.onCaughtError),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,r,null,o,a,i,cd),e[Uf]=t.current,cu(e),new dd(t)},Ed.hydrateRoot=function(e,t,n){if(!g(e))throw Error("Target container is not a DOM element.");hd(e),void 0===t&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=!1,o="",a=ui,i=ci,l=di,s=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onUncaughtError&&(a=n.onUncaughtError),void 0!==n.onCaughtError&&(i=n.onCaughtError),void 0!==n.onRecoverableError&&(l=n.onRecoverableError),void 0!==n.formState&&(s=n.formState)),(t=Uc(e,1,!0,t,0,r,o,s,a,i,l,cd)).context=Hc(null),(o=io(r=ce(r=ns(n=t.current)))).callback=null,lo(n,o,r),br(r,"hydrateRoot()",null),n=r,t.current.lanes=n,ie(t,n),Ys(t),e[Uf]=t.current,cu(e),new pd(t)},Ed.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),Ed}var Td=function(){if(Ad)return ad.exports;Ad=1;var e={};return"production"===e.NODE_ENV?(function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)){if("production"!==e.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}(),ad.exports=xd()):ad.exports=Id(),ad.exports}(),_d=Object.defineProperty,Rd=(e,t,n)=>((e,t,n)=>t in e?_d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);const Pd={stringify:e=>e.name,parse:(e,t,n)=>{const r=typeof window<"u"&&e in window?window[e]:typeof global<"u"&&e in global?global[e]:void 0;return"function"==typeof r?r.bind(n):void 0}},Od={stringify:e=>JSON.stringify(e),parse:e=>JSON.parse(e)};function Nd(e){return e.replace(/([a-z0-9])([A-Z])/g,(e,t,n)=>`${t}-${n.toLowerCase()}`)}function Ld(e){return e.replace(/[-:]([a-z])/g,(e,t)=>`${t.toUpperCase()}`)}const zd={stringify:e=>e.name,parse:(e,t,n)=>{const r=(()=>{const e=Ld(t);if(typeof n<"u"&&e in n.container)return n.container[e]})();return"function"==typeof r?r.bind(n):void 0}},Dd={stringify:e=>`${e}`,parse:e=>parseFloat(e)},jd={string:{stringify:e=>e,parse:e=>e},number:Dd,boolean:{stringify:e=>e?"true":"false",parse:e=>/^[ty1-9]/i.test(e)},function:Pd,method:zd,json:Od},Md=Symbol.for("r2wc.render"),Fd=Symbol.for("r2wc.connected"),qd=Symbol.for("r2wc.context"),Ud=Symbol.for("r2wc.props");function Hd(e,t,n){const r=Td.createRoot(e),o=Ce.createElement(t,n);return r.render(o),{root:r,ReactComponent:t}}function Bd({root:e,ReactComponent:t},n){const r=Ce.createElement(t,n);e.render(r)}function Vd({root:e}){e.unmount()}function Wd(e,t={}){return function(e,t,n){var r,o,a;t.props||(t.props=e.propTypes?Object.keys(e.propTypes):[]),t.events||(t.events=[]);const i=Array.isArray(t.props)?t.props.slice():Object.keys(t.props),l=Array.isArray(t.events)?t.events.slice():Object.keys(t.events),s={},u={},c={},d={};for(const e of i){s[e]=Array.isArray(t.props)?"string":t.props[e];const n=Nd(e);c[e]=n,d[n]=e}for(const e of l)u[e]=Array.isArray(t.events)?{}:t.events[e];class f extends HTMLElement{constructor(){super(),Rd(this,a,!0),Rd(this,o),Rd(this,r,{}),Rd(this,"container"),t.shadow?this.container=this.attachShadow({mode:t.shadow}):this.container=this,this[Ud].container=this.container;for(const e of i){const t=c[e],n=this.getAttribute(t),r=s[e],o=r?jd[r]:null;if("method"===r){const r=Ld(t);Object.defineProperty(this[Ud].container,r,{enumerable:!0,configurable:!0,get(){return this[Ud][r]},set(e){this[Ud][r]=e,this[Md]()}}),this[Ud][e]=o.parse(n,t,this)}null!=o&&o.parse&&n&&(this[Ud][e]=o.parse(n,t,this))}for(const e of l)this[Ud][e]=t=>{const n=e.replace(/^on/,"").toLowerCase();this.dispatchEvent(new CustomEvent(n,{detail:t,...u[e]}))}}static get observedAttributes(){return Object.keys(d)}connectedCallback(){this[Fd]=!0,this[Md]()}disconnectedCallback(){this[Fd]=!1,this[qd]&&n.unmount(this[qd]),delete this[qd]}attributeChangedCallback(e,t,n){const r=d[e],o=s[r],a=o?jd[o]:null;r in s&&null!=a&&a.parse&&n&&(this[Ud][r]=a.parse(n,e,this),this[Md]())}[(a=Fd,o=qd,r=Ud,Md)](){this[Fd]&&(this[qd]?n.update(this[qd],this[Ud]):this[qd]=n.mount(this.container,e,this[Ud]))}}for(const e of i){const t=c[e],n=s[e];Object.defineProperty(f.prototype,e,{enumerable:!0,configurable:!0,get(){return this[Ud][e]},set(r){this[Ud][e]=r;const o=n?jd[n]:null;if(null!=o&&o.stringify){const e=o.stringify(r,t,this);this.getAttribute(t)!==e&&this.setAttribute(t,e)}else this[Md]()}})}return f}(e,t,{mount:Hd,update:Bd,unmount:Vd})}const Gd=()=>{const e=Wd(rd,{props:{organizationId:"string",router:"string",fontClassName:"string",textClassName:"string",curateLabel:"string",leaderboardLabel:"string",emptyStateImage:"string",uid:"string",fname:"string",lname:"string",loginUrl:"string"}});customElements.get("qrati-connect")||customElements.define("qrati-connect",e)};export{Co as $,wo as A,To as B,Oo as C,No as D,Ao as E,lc as F,Po as G,Lo as H,qu as I,Ro as J,b as K,n as L,oc as M,jl as N,Ku as O,mo as P,ue as Q,Fo as R,nc as S,ec as T,Bu as U,Vu as V,wi as W,Ie as X,So as Y,Ce as Z,Eo as _,xe as a,t as a$,xo as a0,Gc as a1,yo as a2,Ae as a3,Io as a4,jo as a5,_o as a6,Sd as a7,Ml as a8,ic as a9,it as aA,wr as aB,xr as aC,Sr as aD,Cr as aE,Ar as aF,Qt as aG,Or as aH,lt as aI,qe as aJ,gt as aK,hn as aL,Ht as aM,Xe as aN,br as aO,Yt as aP,Lr as aQ,pn as aR,vr as aS,Kt as aT,Zt as aU,zr as aV,Bt as aW,Tn as aX,tt as aY,Nr as aZ,r as a_,Ho as aa,xl as ab,yt as ac,et as ad,ut as ae,rt as af,ot as ag,jt as ah,In as ai,an as aj,$t as ak,sn as al,gn as am,nt as an,fn as ao,cn as ap,un as aq,bt as ar,ct as as,Tr as at,Pr as au,st as av,dn as aw,kr as ax,mn as ay,Wt as az,go as b,Ja as c,Al as d,wl as e,Le as f,rc as g,fs as h,tc as i,w as j,ho as k,vo as l,he as m,be as n,ye as o,Ne as p,Mo as q,Gd as r,ki as s,qo as t,Oi as u,Uo as v,Do as w,zo as x,ko as y,Mu as z};
|