@xenon-device-management/xenon 1.1.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/README.md +446 -0
- package/lib/package.json +207 -0
- package/lib/public/assets/Layouts-7IT8aFLI.js +11 -0
- package/lib/public/assets/Layouts-DPMls9vh.css +1 -0
- package/lib/public/assets/ai-settings-BbnfgdEx.js +11 -0
- package/lib/public/assets/apps-CRMrI4_p.js +16 -0
- package/lib/public/assets/apps-CcM77dgg.css +1 -0
- package/lib/public/assets/badge-B1nKs8zj.css +1 -0
- package/lib/public/assets/badge-CSvl5xIU.js +11 -0
- package/lib/public/assets/button-CJlKn4PZ.css +1 -0
- package/lib/public/assets/button-CvLaGFYj.js +26 -0
- package/lib/public/assets/calendar-6w-D6Oaw.js +6 -0
- package/lib/public/assets/clock-DcdeWBPr.js +6 -0
- package/lib/public/assets/cpu-DiSoXT9n.js +6 -0
- package/lib/public/assets/device-explorer-CajM63OJ.js +193 -0
- package/lib/public/assets/device-explorer-CxdUAoTL.css +1 -0
- package/lib/public/assets/index-ByQwMN5T.js +174 -0
- package/lib/public/assets/index-C1DBaoSh.js +1 -0
- package/lib/public/assets/index-qzCez_kk.css +1 -0
- package/lib/public/assets/lock-B23ibZmo.js +6 -0
- package/lib/public/assets/maintenance-settings-CirzA6yG.js +6 -0
- package/lib/public/assets/mouse-pointer-2-Cz76SHFb.js +6 -0
- package/lib/public/assets/plus-BBwlIevt.js +6 -0
- package/lib/public/assets/session-dashboard-C2k7FFv_.css +1 -0
- package/lib/public/assets/session-dashboard-HPDtwPOZ.js +62 -0
- package/lib/public/assets/settings-DrZsZwdc.js +1 -0
- package/lib/public/assets/trash-2-DQpvzJec.js +6 -0
- package/lib/public/assets/useSocket-Dxsqae2a.js +16 -0
- package/lib/public/assets/webhook-settings-CDPgsgkb.css +1 -0
- package/lib/public/assets/webhook-settings-Cp-B4Nrw.js +1 -0
- package/lib/public/assets/zap-DovP6iow.js +6 -0
- package/lib/public/favicon.ico +0 -0
- package/lib/public/favicon.png +0 -0
- package/lib/public/favicon.svg +9 -0
- package/lib/public/index.html +46 -0
- package/lib/public/logo.svg +17 -0
- package/lib/public/logo192.png +0 -0
- package/lib/public/logo512.png +0 -0
- package/lib/public/manifest.json +25 -0
- package/lib/public/robots.txt +3 -0
- package/lib/schema.json +348 -0
- package/lib/src/InternalHttpClient.js +212 -0
- package/lib/src/PluginContext.js +29 -0
- package/lib/src/XenonCapabilityManager.js +199 -0
- package/lib/src/app/index.js +167 -0
- package/lib/src/app/routers/apps.js +79 -0
- package/lib/src/app/routers/config.js +131 -0
- package/lib/src/app/routers/control.js +835 -0
- package/lib/src/app/routers/dashboard.js +301 -0
- package/lib/src/app/routers/grid.js +352 -0
- package/lib/src/app/routers/reservation.js +190 -0
- package/lib/src/app/routers/webhook.js +83 -0
- package/lib/src/app/swagger-docs.js +203 -0
- package/lib/src/app/swagger.js +366 -0
- package/lib/src/chromeUtils.js +148 -0
- package/lib/src/commands/handle.js +19 -0
- package/lib/src/commands/index.js +8 -0
- package/lib/src/config.js +73 -0
- package/lib/src/dashboard/asset-manager.js +84 -0
- package/lib/src/dashboard/commands.js +284 -0
- package/lib/src/dashboard/event-manager.js +699 -0
- package/lib/src/dashboard/services/app-service.js +134 -0
- package/lib/src/dashboard/services/failure-analysis-service.js +173 -0
- package/lib/src/dashboard/services/session-service.js +113 -0
- package/lib/src/data-service/CircuitBreaker.js +83 -0
- package/lib/src/data-service/config-service.js +155 -0
- package/lib/src/data-service/db.js +122 -0
- package/lib/src/data-service/device-service.js +320 -0
- package/lib/src/data-service/device-store.interface.js +2 -0
- package/lib/src/data-service/device-store.js +345 -0
- package/lib/src/data-service/pending-sessions-service.js +25 -0
- package/lib/src/data-service/pluginArgs.js +25 -0
- package/lib/src/data-service/prisma-service.js +31 -0
- package/lib/src/data-service/prisma-store.js +385 -0
- package/lib/src/data-service/queue-service.js +150 -0
- package/lib/src/data-service/web-config-service.js +130 -0
- package/lib/src/device-managers/AndroidDeviceManager.js +1155 -0
- package/lib/src/device-managers/ChromeDriverManager.js +68 -0
- package/lib/src/device-managers/HealthMonitorService.js +325 -0
- package/lib/src/device-managers/IOSDeviceManager.js +351 -0
- package/lib/src/device-managers/NodeDevices.js +82 -0
- package/lib/src/device-managers/android/AndroidStreamService.js +370 -0
- package/lib/src/device-managers/android/DeviceLockManager.js +45 -0
- package/lib/src/device-managers/cloud/CapabilityManager.js +26 -0
- package/lib/src/device-managers/cloud/Devices.js +86 -0
- package/lib/src/device-managers/iOSTracker.js +44 -0
- package/lib/src/device-managers/index.js +89 -0
- package/lib/src/device-managers/ios/IOSDiscoveryService.js +268 -0
- package/lib/src/device-managers/ios/IOSStreamService.js +893 -0
- package/lib/src/device-managers/ios/WDAClient.js +866 -0
- package/lib/src/device-utils.js +663 -0
- package/lib/src/enums/Capabilities.js +8 -0
- package/lib/src/enums/Cloud.js +11 -0
- package/lib/src/enums/Platform.js +9 -0
- package/lib/src/enums/SessionType.js +9 -0
- package/lib/src/enums/SocketEvents.js +15 -0
- package/lib/src/helpers/UniversalMjpegProxy.js +273 -0
- package/lib/src/helpers/index.js +229 -0
- package/lib/src/index.js +95 -0
- package/lib/src/interceptors/CommandInterceptor.js +524 -0
- package/lib/src/interfaces/ICloudManager.js +2 -0
- package/lib/src/interfaces/IDevice.js +2 -0
- package/lib/src/interfaces/IDeviceFilterOptions.js +2 -0
- package/lib/src/interfaces/IDeviceManager.js +2 -0
- package/lib/src/interfaces/IOptions.js +2 -0
- package/lib/src/interfaces/IPluginArgs.js +55 -0
- package/lib/src/interfaces/ISessionCapability.js +2 -0
- package/lib/src/logger.js +225 -0
- package/lib/src/plugin.js +244 -0
- package/lib/src/prisma.js +12 -0
- package/lib/src/profiling/AndroidAppProfiler.js +213 -0
- package/lib/src/proxy/wd-command-proxy.js +221 -0
- package/lib/src/scripts/generate-database-migration.js +59 -0
- package/lib/src/scripts/initialize-database.js +55 -0
- package/lib/src/scripts/install-go-ios.js +66 -0
- package/lib/src/scripts/prepare-prisma.js +89 -0
- package/lib/src/services/AICommandService.js +143 -0
- package/lib/src/services/AIService.js +466 -0
- package/lib/src/services/CleanupService.js +141 -0
- package/lib/src/services/EventBus.js +74 -0
- package/lib/src/services/InspectorService.js +395 -0
- package/lib/src/services/MetricsService.js +134 -0
- package/lib/src/services/NetworkConditioningService.js +173 -0
- package/lib/src/services/NotificationService.js +163 -0
- package/lib/src/services/RequestLogService.js +252 -0
- package/lib/src/services/ResourceIsolationService.js +122 -0
- package/lib/src/services/SecurityService.js +120 -0
- package/lib/src/services/ServerManager.js +284 -0
- package/lib/src/services/SessionHeartbeatService.js +158 -0
- package/lib/src/services/SessionLifecycleService.js +572 -0
- package/lib/src/services/SocketClient.js +71 -0
- package/lib/src/services/SocketServer.js +87 -0
- package/lib/src/services/TracingService.js +132 -0
- package/lib/src/services/VideoPipelineService.js +220 -0
- package/lib/src/services/healing/FuzzyXmlHealingProvider.js +333 -0
- package/lib/src/services/healing/HealEtalonService.js +98 -0
- package/lib/src/services/healing/HealedLocatorGenerator.js +132 -0
- package/lib/src/services/healing/HealingOrchestrator.js +165 -0
- package/lib/src/services/healing/LlmHealingProvider.js +77 -0
- package/lib/src/services/healing/OcrHealingProvider.js +119 -0
- package/lib/src/services/healing/ResilioTreeHealingProvider.js +100 -0
- package/lib/src/services/healing/VisualAiHealingProvider.js +90 -0
- package/lib/src/services/healing/types.js +12 -0
- package/lib/src/services/omni-vision/OmniVisionService.js +718 -0
- package/lib/src/services/omni-vision/VisionAssertionService.js +68 -0
- package/lib/src/sessions/CloudSession.js +42 -0
- package/lib/src/sessions/LocalSession.js +313 -0
- package/lib/src/sessions/RemoteSession.js +287 -0
- package/lib/src/sessions/SessionManager.js +238 -0
- package/lib/src/sessions/XenonSession.js +44 -0
- package/lib/src/types/CLIArgs.js +2 -0
- package/lib/src/types/CloudArgs.js +2 -0
- package/lib/src/types/CloudSchema.js +131 -0
- package/lib/src/types/DeviceType.js +2 -0
- package/lib/src/types/DeviceUpdate.js +2 -0
- package/lib/src/types/IOSDevice.js +2 -0
- package/lib/src/types/Platform.js +2 -0
- package/lib/src/types/SessionStatus.js +11 -0
- package/lib/src/validators/CapabilityValidator.js +93 -0
- package/lib/test/e2e/android/conf.spec.js +43 -0
- package/lib/test/e2e/android/conf2.spec.js +44 -0
- package/lib/test/e2e/android/conf3.spec.js +44 -0
- package/lib/test/e2e/e2ehelper.js +113 -0
- package/lib/test/e2e/hubnode/forward-request.spec.js +224 -0
- package/lib/test/e2e/hubnode/hubnode.spec.js +214 -0
- package/lib/test/e2e/ios/conf1.spec.js +39 -0
- package/lib/test/e2e/ios/conf2.spec.js +39 -0
- package/lib/test/e2e/plugin-harness.js +236 -0
- package/lib/test/e2e/plugin.spec.js +97 -0
- package/lib/test/e2e/telemetry_verification.spec.js +83 -0
- package/lib/test/e2e/video-recording-test.spec.js +63 -0
- package/lib/test/helpers/test-container.js +112 -0
- package/lib/test/integration/androidDevices.spec.js +137 -0
- package/lib/test/integration/cliArgs.js +73 -0
- package/lib/test/integration/ios/01iOSSimulator.spec.js +291 -0
- package/lib/test/integration/ios/02iOSDevices.spec.js +75 -0
- package/lib/test/integration/testHelpers.js +74 -0
- package/lib/test/unit/AndroidDeviceManager.spec.js +178 -0
- package/lib/test/unit/ChromeDriverManager.spec.js +26 -0
- package/lib/test/unit/CleanupService.spec.js +21 -0
- package/lib/test/unit/DeviceModel.spec.js +157 -0
- package/lib/test/unit/FuzzyXmlHealingProvider.test.js +294 -0
- package/lib/test/unit/GetAdbOriginal.js +42 -0
- package/lib/test/unit/HealingCascade.test.js +128 -0
- package/lib/test/unit/IOSDeviceManager.spec.js +261 -0
- package/lib/test/unit/RemoteIOs.spec.js +78 -0
- package/lib/test/unit/ResilioTreeHealingProvider.test.js +96 -0
- package/lib/test/unit/commands.spec.js +27 -0
- package/lib/test/unit/config.spec.js +27 -0
- package/lib/test/unit/device-service.spec.js +307 -0
- package/lib/test/unit/device-utils.spec.js +313 -0
- package/lib/test/unit/fixtures/device.config.js +4 -0
- package/lib/test/unit/fixtures/devices.js +89 -0
- package/lib/test/unit/helpers.spec.js +62 -0
- package/lib/test/unit/omni-vision.spec.js +100 -0
- package/lib/test/unit/plugin.spec.js +133 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/package.json +207 -0
- package/prisma/data.db +0 -0
- package/prisma/dev.db +0 -0
- package/prisma/dev.db-journal +0 -0
- package/prisma/migrations/20231011074725_initial_tables/migration.sql +47 -0
- package/prisma/migrations/20231226115334_update_session_log/migration.sql +2 -0
- package/prisma/migrations/20251204113710_add_video_recording_enabled/migration.sql +29 -0
- package/prisma/migrations/20251204132449_add_log_table/migration.sql +11 -0
- package/prisma/migrations/20251205050111_add_profiling_support/migration.sql +47 -0
- package/prisma/migrations/20251205050947_add_is_error_field/migration.sql +24 -0
- package/prisma/migrations/20260126201337_add_app_model/migration.sql +18 -0
- package/prisma/migrations/20260130115722_add_performance_trace_and_xenon_sync/migration.sql +2 -0
- package/prisma/migrations/20260130135114_add_device_models/migration.sql +57 -0
- package/prisma/migrations/20260130140655_make_systemport_optional/migration.sql +45 -0
- package/prisma/migrations/20260130140932_make_device_fields_optional/migration.sql +45 -0
- package/prisma/migrations/20260130141040_final_schema_fix/migration.sql +45 -0
- package/prisma/migrations/20260130143234_add_device_health_fields/migration.sql +4 -0
- package/prisma/migrations/20260130144921_add_failure_category/migration.sql +2 -0
- package/prisma/migrations/20260131151456_add_webhook_config/migration.sql +10 -0
- package/prisma/migrations/20260201094507_add_device_tags/migration.sql +11 -0
- package/prisma/migrations/20260201103410_add_managed_process/migration.sql +15 -0
- package/prisma/migrations/20260201140637_add_web_config/migration.sql +22 -0
- package/prisma/migrations/20260201162232_add_session_progress/migration.sql +2 -0
- package/prisma/migrations/20260201174231_add_total_healed_count/migration.sql +2 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema.prisma +210 -0
- package/schema.json +348 -0
- package/scripts/build-xenon.sh +32 -0
- package/scripts/dev/debug-gemini.ts +44 -0
- package/scripts/generate-types-from-schema.js +86 -0
- package/scripts/install-compatible-driver.js +39 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/device-explorer-CajM63OJ.js","assets/useSocket-Dxsqae2a.js","assets/index-C1DBaoSh.js","assets/clock-DcdeWBPr.js","assets/plus-BBwlIevt.js","assets/button-CvLaGFYj.js","assets/badge-CSvl5xIU.js","assets/badge-B1nKs8zj.css","assets/button-CJlKn4PZ.css","assets/mouse-pointer-2-Cz76SHFb.js","assets/zap-DovP6iow.js","assets/lock-B23ibZmo.js","assets/trash-2-DQpvzJec.js","assets/device-explorer-CxdUAoTL.css","assets/session-dashboard-HPDtwPOZ.js","assets/cpu-DiSoXT9n.js","assets/session-dashboard-C2k7FFv_.css","assets/apps-CRMrI4_p.js","assets/apps-CcM77dgg.css","assets/webhook-settings-Cp-B4Nrw.js","assets/webhook-settings-CDPgsgkb.css","assets/settings-DrZsZwdc.js","assets/Layouts-7IT8aFLI.js","assets/Layouts-DPMls9vh.css","assets/calendar-6w-D6Oaw.js","assets/ai-settings-BbnfgdEx.js","assets/maintenance-settings-CirzA6yG.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
function Ec(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const o=Object.getOwnPropertyDescriptor(r,l);o&&Object.defineProperty(e,l,o.get?o:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function kc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ss={exports:{}},Zn={};/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/var Ri=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable;function Cc(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Nc(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(r.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(o){l[o]=o}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var as=Nc()?Object.assign:function(e,t){for(var n,r=Cc(e),l,o=1;o<arguments.length;o++){n=Object(arguments[o]);for(var i in n)Sc.call(n,i)&&(r[i]=n[i]);if(Ri){l=Ri(n);for(var u=0;u<l.length;u++)_c.call(n,l[u])&&(r[l[u]]=n[l[u]])}}return r},cs={exports:{}},z={};/** @license React v17.0.2
|
|
7
|
+
* react.production.min.js
|
|
8
|
+
*
|
|
9
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/var Oo=as,Xt=60103,fs=60106;z.Fragment=60107;z.StrictMode=60108;z.Profiler=60114;var ds=60109,ps=60110,hs=60112;z.Suspense=60113;var ms=60115,vs=60116;if(typeof Symbol=="function"&&Symbol.for){var we=Symbol.for;Xt=we("react.element"),fs=we("react.portal"),z.Fragment=we("react.fragment"),z.StrictMode=we("react.strict_mode"),z.Profiler=we("react.profiler"),ds=we("react.provider"),ps=we("react.context"),hs=we("react.forward_ref"),z.Suspense=we("react.suspense"),ms=we("react.memo"),vs=we("react.lazy")}var Oi=typeof Symbol=="function"&&Symbol.iterator;function Pc(e){return e===null||typeof e!="object"?null:(e=Oi&&e[Oi]||e["@@iterator"],typeof e=="function"?e:null)}function Jn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}var ys={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gs={};function Kt(e,t,n){this.props=e,this.context=t,this.refs=gs,this.updater=n||ys}Kt.prototype.isReactComponent={};Kt.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Jn(85));this.updater.enqueueSetState(this,e,t,"setState")};Kt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ws(){}ws.prototype=Kt.prototype;function Mo(e,t,n){this.props=e,this.context=t,this.refs=gs,this.updater=n||ys}var zo=Mo.prototype=new ws;zo.constructor=Mo;Oo(zo,Kt.prototype);zo.isPureReactComponent=!0;var Io={current:null},xs=Object.prototype.hasOwnProperty,Es={key:!0,ref:!0,__self:!0,__source:!0};function ks(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)xs.call(t,r)&&!Es.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1<u){for(var s=Array(u),f=0;f<u;f++)s[f]=arguments[f+2];l.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)l[r]===void 0&&(l[r]=u[r]);return{$$typeof:Xt,type:e,key:o,ref:i,props:l,_owner:Io.current}}function jc(e,t){return{$$typeof:Xt,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Do(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xt}function Lc(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Mi=/\/+/g;function gl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Lc(""+e.key):t.toString(36)}function wr(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Xt:case fs:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+gl(i,0):r,Array.isArray(l)?(n="",e!=null&&(n=e.replace(Mi,"$&/")+"/"),wr(l,t,n,"",function(f){return f})):l!=null&&(Do(l)&&(l=jc(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(Mi,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){o=e[u];var s=r+gl(o,u);i+=wr(o,t,n,s,l)}else if(s=Pc(e),typeof s=="function")for(e=s.call(e),u=0;!(o=e.next()).done;)o=o.value,s=r+gl(o,u++),i+=wr(o,t,n,s,l);else if(o==="object")throw t=""+e,Error(Jn(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return i}function ur(e,t,n){if(e==null)return e;var r=[],l=0;return wr(e,r,"","",function(o){return t.call(n,o,l++)}),r}function Tc(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(n){e._status===0&&(n=n.default,e._status=1,e._result=n)},function(n){e._status===0&&(e._status=2,e._result=n)})}if(e._status===1)return e._result;throw e._result}var Ss={current:null};function Ie(){var e=Ss.current;if(e===null)throw Error(Jn(321));return e}var Rc={ReactCurrentDispatcher:Ss,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:Io,IsSomeRendererActing:{current:!1},assign:Oo};z.Children={map:ur,forEach:function(e,t,n){ur(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ur(e,function(){t++}),t},toArray:function(e){return ur(e,function(t){return t})||[]},only:function(e){if(!Do(e))throw Error(Jn(143));return e}};z.Component=Kt;z.PureComponent=Mo;z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rc;z.cloneElement=function(e,t,n){if(e==null)throw Error(Jn(267,e));var r=Oo({},e.props),l=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=Io.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)xs.call(t,s)&&!Es.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&u!==void 0?u[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){u=Array(s);for(var f=0;f<s;f++)u[f]=arguments[f+2];r.children=u}return{$$typeof:Xt,type:e.type,key:l,ref:o,props:r,_owner:i}};z.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:ps,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:ds,_context:e},e.Consumer=e};z.createElement=ks;z.createFactory=function(e){var t=ks.bind(null,e);return t.type=e,t};z.createRef=function(){return{current:null}};z.forwardRef=function(e){return{$$typeof:hs,render:e}};z.isValidElement=Do;z.lazy=function(e){return{$$typeof:vs,_payload:{_status:-1,_result:e},_init:Tc}};z.memo=function(e,t){return{$$typeof:ms,type:e,compare:t===void 0?null:t}};z.useCallback=function(e,t){return Ie().useCallback(e,t)};z.useContext=function(e,t){return Ie().useContext(e,t)};z.useDebugValue=function(){};z.useEffect=function(e,t){return Ie().useEffect(e,t)};z.useImperativeHandle=function(e,t,n){return Ie().useImperativeHandle(e,t,n)};z.useLayoutEffect=function(e,t){return Ie().useLayoutEffect(e,t)};z.useMemo=function(e,t){return Ie().useMemo(e,t)};z.useReducer=function(e,t,n){return Ie().useReducer(e,t,n)};z.useRef=function(e){return Ie().useRef(e)};z.useState=function(e){return Ie().useState(e)};z.version="17.0.2";cs.exports=z;var x=cs.exports;const Oc=kc(x),Mc=Ec({__proto__:null,default:Oc},[x]);/** @license React v17.0.2
|
|
14
|
+
* react-jsx-runtime.production.min.js
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/var zc=x,_s=60103;Zn.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var zi=Symbol.for;_s=zi("react.element"),Zn.Fragment=zi("react.fragment")}var Ic=zc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Dc=Object.prototype.hasOwnProperty,Fc={key:!0,ref:!0,__self:!0,__source:!0};function Cs(e,t,n){var r,l={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Dc.call(t,r)&&!Fc.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:_s,type:e,key:o,ref:i,props:l,_owner:Ic.current}}Zn.jsx=Cs;Zn.jsxs=Cs;ss.exports=Zn;var v=ss.exports,Ns={exports:{}},ge={},Ps={exports:{}},js={};/** @license React v0.20.2
|
|
21
|
+
* scheduler.production.min.js
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/(function(e){var t,n,r,l;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}if(typeof window>"u"||typeof MessageChannel!="function"){var s=null,f=null,m=function(){if(s!==null)try{var _=e.unstable_now();s(!0,_),s=null}catch(R){throw setTimeout(m,0),R}};t=function(_){s!==null?setTimeout(t,0,_):(s=_,setTimeout(m,0))},n=function(_,R){f=setTimeout(_,R)},r=function(){clearTimeout(f)},e.unstable_shouldYield=function(){return!1},l=e.unstable_forceFrameRate=function(){}}else{var g=window.setTimeout,p=window.clearTimeout;if(typeof console<"u"){var E=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof E!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var C=!1,k=null,c=-1,a=5,d=0;e.unstable_shouldYield=function(){return e.unstable_now()>=d},l=function(){},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):a=0<_?Math.floor(1e3/_):5};var h=new MessageChannel,y=h.port2;h.port1.onmessage=function(){if(k!==null){var _=e.unstable_now();d=_+a;try{k(!0,_)?y.postMessage(null):(C=!1,k=null)}catch(R){throw y.postMessage(null),R}}else C=!1},t=function(_){k=_,C||(C=!0,y.postMessage(null))},n=function(_,R){c=g(function(){_(e.unstable_now())},R)},r=function(){p(c),c=-1}}function j(_,R){var M=_.length;_.push(R);e:for(;;){var $=M-1>>>1,K=_[$];if(K!==void 0&&0<O(K,R))_[$]=R,_[M]=K,M=$;else break e}}function S(_){return _=_[0],_===void 0?null:_}function L(_){var R=_[0];if(R!==void 0){var M=_.pop();if(M!==R){_[0]=M;e:for(var $=0,K=_.length;$<K;){var ot=2*($+1)-1,it=_[ot],nn=ot+1,St=_[nn];if(it!==void 0&&0>O(it,M))St!==void 0&&0>O(St,it)?(_[$]=St,_[nn]=M,$=nn):(_[$]=it,_[ot]=M,$=ot);else if(St!==void 0&&0>O(St,M))_[$]=St,_[nn]=M,$=nn;else break e}}return R}return null}function O(_,R){var M=_.sortIndex-R.sortIndex;return M!==0?M:_.id-R.id}var P=[],X=[],hl=1,de=null,b=3,ir=!1,lt=!1,tn=!1;function ml(_){for(var R=S(X);R!==null;){if(R.callback===null)L(X);else if(R.startTime<=_)L(X),R.sortIndex=R.expirationTime,j(P,R);else break;R=S(X)}}function vl(_){if(tn=!1,ml(_),!lt)if(S(P)!==null)lt=!0,t(yl);else{var R=S(X);R!==null&&n(vl,R.startTime-_)}}function yl(_,R){lt=!1,tn&&(tn=!1,r()),ir=!0;var M=b;try{for(ml(R),de=S(P);de!==null&&(!(de.expirationTime>R)||_&&!e.unstable_shouldYield());){var $=de.callback;if(typeof $=="function"){de.callback=null,b=de.priorityLevel;var K=$(de.expirationTime<=R);R=e.unstable_now(),typeof K=="function"?de.callback=K:de===S(P)&&L(P),ml(R)}else L(P);de=S(P)}if(de!==null)var ot=!0;else{var it=S(X);it!==null&&n(vl,it.startTime-R),ot=!1}return ot}finally{de=null,b=M,ir=!1}}var xc=l;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(_){_.callback=null},e.unstable_continueExecution=function(){lt||ir||(lt=!0,t(yl))},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_getFirstCallbackNode=function(){return S(P)},e.unstable_next=function(_){switch(b){case 1:case 2:case 3:var R=3;break;default:R=b}var M=b;b=R;try{return _()}finally{b=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=xc,e.unstable_runWithPriority=function(_,R){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var M=b;b=_;try{return R()}finally{b=M}},e.unstable_scheduleCallback=function(_,R,M){var $=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?$+M:$):M=$,_){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=M+K,_={id:hl++,callback:R,priorityLevel:_,startTime:M,expirationTime:K,sortIndex:-1},M>$?(_.sortIndex=M,j(X,_),S(P)===null&&_===S(X)&&(tn?r():tn=!0,n(vl,M-$))):(_.sortIndex=K,j(P,_),lt||ir||(lt=!0,t(yl))),_},e.unstable_wrapCallback=function(_){var R=b;return function(){var M=b;b=R;try{return _.apply(this,arguments)}finally{b=M}}}})(js);Ps.exports=js;var Uc=Ps.exports;/** @license React v17.0.2
|
|
28
|
+
* react-dom.production.min.js
|
|
29
|
+
*
|
|
30
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the MIT license found in the
|
|
33
|
+
* LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/var br=x,U=as,Y=Uc;function w(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}if(!br)throw Error(w(227));var Ls=new Set,zn={};function gt(e,t){Wt(e,t),Wt(e+"Capture",t)}function Wt(e,t){for(zn[e]=t,e=0;e<t.length;e++)Ls.add(t[e])}var ze=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ac=/^[: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]*$/,Ii=Object.prototype.hasOwnProperty,Di={},Fi={};function Bc(e){return Ii.call(Fi,e)?!0:Ii.call(Di,e)?!1:Ac.test(e)?Fi[e]=!0:(Di[e]=!0,!1)}function $c(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Vc(e,t,n,r){if(t===null||typeof t>"u"||$c(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function oe(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var J={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){J[e]=new oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];J[t]=new oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){J[e]=new oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){J[e]=new oe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){J[e]=new oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){J[e]=new oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){J[e]=new oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){J[e]=new oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){J[e]=new oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fo=/[\-:]([a-z])/g;function Uo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Fo,Uo);J[t]=new oe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Fo,Uo);J[t]=new oe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Fo,Uo);J[t]=new oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){J[e]=new oe(e,1,!1,e.toLowerCase(),null,!1,!1)});J.xlinkHref=new oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){J[e]=new oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ao(e,t,n,r){var l=J.hasOwnProperty(t)?J[t]:null,o=l!==null?l.type===0:r?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");o||(Vc(t,n,l,r)&&(n=null),r||l===null?Bc(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var wt=br.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,yn=60103,st=60106,Fe=60107,Bo=60108,kn=60114,$o=60109,Vo=60110,el=60112,Sn=60113,Tr=60120,tl=60115,Wo=60116,Ho=60121,Qo=60128,Ts=60129,Yo=60130,Wl=60131;if(typeof Symbol=="function"&&Symbol.for){var Q=Symbol.for;yn=Q("react.element"),st=Q("react.portal"),Fe=Q("react.fragment"),Bo=Q("react.strict_mode"),kn=Q("react.profiler"),$o=Q("react.provider"),Vo=Q("react.context"),el=Q("react.forward_ref"),Sn=Q("react.suspense"),Tr=Q("react.suspense_list"),tl=Q("react.memo"),Wo=Q("react.lazy"),Ho=Q("react.block"),Q("react.scope"),Qo=Q("react.opaque.id"),Ts=Q("react.debug_trace_mode"),Yo=Q("react.offscreen"),Wl=Q("react.legacy_hidden")}var Ui=typeof Symbol=="function"&&Symbol.iterator;function rn(e){return e===null||typeof e!="object"?null:(e=Ui&&e[Ui]||e["@@iterator"],typeof e=="function"?e:null)}var wl;function gn(e){if(wl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);wl=t&&t[1]||""}return`
|
|
35
|
+
`+wl+e}var xl=!1;function sr(e,t){if(!e||xl)return"";xl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var l=s.stack.split(`
|
|
36
|
+
`),o=r.stack.split(`
|
|
37
|
+
`),i=l.length-1,u=o.length-1;1<=i&&0<=u&&l[i]!==o[u];)u--;for(;1<=i&&0<=u;i--,u--)if(l[i]!==o[u]){if(i!==1||u!==1)do if(i--,u--,0>u||l[i]!==o[u])return`
|
|
38
|
+
`+l[i].replace(" at new "," at ");while(1<=i&&0<=u);break}}}finally{xl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?gn(e):""}function Wc(e){switch(e.tag){case 5:return gn(e.type);case 16:return gn("Lazy");case 13:return gn("Suspense");case 19:return gn("SuspenseList");case 0:case 2:case 15:return e=sr(e.type,!1),e;case 11:return e=sr(e.type.render,!1),e;case 22:return e=sr(e.type._render,!1),e;case 1:return e=sr(e.type,!0),e;default:return""}}function Mt(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fe:return"Fragment";case st:return"Portal";case kn:return"Profiler";case Bo:return"StrictMode";case Sn:return"Suspense";case Tr:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Vo:return(e.displayName||"Context")+".Consumer";case $o:return(e._context.displayName||"Context")+".Provider";case el:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case tl:return Mt(e.type);case Ho:return Mt(e._render);case Wo:t=e._payload,e=e._init;try{return Mt(e(t))}catch{}}return null}function Ze(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Rs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hc(e){var t=Rs(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ar(e){e._valueTracker||(e._valueTracker=Hc(e))}function Os(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Rs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Rr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Hl(e,t){var n=t.checked;return U({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ai(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ze(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ms(e,t){t=t.checked,t!=null&&Ao(e,"checked",t,!1)}function Ql(e,t){Ms(e,t);var n=Ze(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Yl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yl(e,t.type,Ze(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Bi(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Yl(e,t,n){(t!=="number"||Rr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Qc(e){var t="";return br.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function Xl(e,t){return e=U({children:void 0},t),(t=Qc(t.children))&&(e.children=t),e}function zt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ze(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Kl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(w(91));return U({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function $i(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(w(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(w(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ze(n)}}function zs(e,t){var n=Ze(t.value),r=Ze(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Vi(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Gl={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function Is(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Zl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Is(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var cr,Ds=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!==Gl.svg||"innerHTML"in e)e.innerHTML=t;else{for(cr=cr||document.createElement("div"),cr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=cr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function In(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var _n={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Yc=["Webkit","ms","Moz","O"];Object.keys(_n).forEach(function(e){Yc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_n[t]=_n[e]})});function Fs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||_n.hasOwnProperty(e)&&_n[e]?(""+t).trim():t+"px"}function Us(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Fs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Xc=U({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jl(e,t){if(t){if(Xc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function ql(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Xo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var bl=null,It=null,Dt=null;function Wi(e){if(e=bn(e)){if(typeof bl!="function")throw Error(w(280));var t=e.stateNode;t&&(t=ul(t),bl(e.stateNode,e.type,t))}}function As(e){It?Dt?Dt.push(e):Dt=[e]:It=e}function Bs(){if(It){var e=It,t=Dt;if(Dt=It=null,Wi(e),t)for(e=0;e<t.length;e++)Wi(t[e])}}function Ko(e,t){return e(t)}function $s(e,t,n,r,l){return e(t,n,r,l)}function Go(){}var Vs=Ko,at=!1,El=!1;function Zo(){(It!==null||Dt!==null)&&(Go(),Bs())}function Kc(e,t,n){if(El)return e(t,n);El=!0;try{return Vs(e,t,n)}finally{El=!1,Zo()}}function Dn(e,t){var n=e.stateNode;if(n===null)return null;var r=ul(n);if(r===null)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)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(w(231,t,typeof n));return n}var eo=!1;if(ze)try{var ln={};Object.defineProperty(ln,"passive",{get:function(){eo=!0}}),window.addEventListener("test",ln,ln),window.removeEventListener("test",ln,ln)}catch{eo=!1}function Gc(e,t,n,r,l,o,i,u,s){var f=Array.prototype.slice.call(arguments,3);try{t.apply(n,f)}catch(m){this.onError(m)}}var Cn=!1,Or=null,Mr=!1,to=null,Zc={onError:function(e){Cn=!0,Or=e}};function Jc(e,t,n,r,l,o,i,u,s){Cn=!1,Or=null,Gc.apply(Zc,arguments)}function qc(e,t,n,r,l,o,i,u,s){if(Jc.apply(this,arguments),Cn){if(Cn){var f=Or;Cn=!1,Or=null}else throw Error(w(198));Mr||(Mr=!0,to=f)}}function xt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&1026&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ws(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Hi(e){if(xt(e)!==e)throw Error(w(188))}function bc(e){var t=e.alternate;if(!t){if(t=xt(e),t===null)throw Error(w(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===n)return Hi(l),e;if(o===r)return Hi(l),t;o=o.sibling}throw Error(w(188))}if(n.return!==r.return)n=l,r=o;else{for(var i=!1,u=l.child;u;){if(u===n){i=!0,n=l,r=o;break}if(u===r){i=!0,r=l,n=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===n){i=!0,n=o,r=l;break}if(u===r){i=!0,r=o,n=l;break}u=u.sibling}if(!i)throw Error(w(189))}}if(n.alternate!==r)throw Error(w(190))}if(n.tag!==3)throw Error(w(188));return n.stateNode.current===n?e:t}function Hs(e){if(e=bc(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Qi(e,t){for(var n=e.alternate;t!==null;){if(t===e||t===n)return!0;t=t.return}return!1}var Qs,Jo,Ys,Xs,no=!1,Se=[],Ve=null,We=null,He=null,Fn=new Map,Un=new Map,on=[],Yi="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ro(e,t,n,r,l){return{blockedOn:e,domEventName:t,eventSystemFlags:n|16,nativeEvent:l,targetContainers:[r]}}function Xi(e,t){switch(e){case"focusin":case"focusout":Ve=null;break;case"dragenter":case"dragleave":We=null;break;case"mouseover":case"mouseout":He=null;break;case"pointerover":case"pointerout":Fn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Un.delete(t.pointerId)}}function un(e,t,n,r,l,o){return e===null||e.nativeEvent!==o?(e=ro(t,n,r,l,o),t!==null&&(t=bn(t),t!==null&&Jo(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function ef(e,t,n,r,l){switch(t){case"focusin":return Ve=un(Ve,e,t,n,r,l),!0;case"dragenter":return We=un(We,e,t,n,r,l),!0;case"mouseover":return He=un(He,e,t,n,r,l),!0;case"pointerover":var o=l.pointerId;return Fn.set(o,un(Fn.get(o)||null,e,t,n,r,l)),!0;case"gotpointercapture":return o=l.pointerId,Un.set(o,un(Un.get(o)||null,e,t,n,r,l)),!0}return!1}function tf(e){var t=ct(e.target);if(t!==null){var n=xt(t);if(n!==null){if(t=n.tag,t===13){if(t=Ws(n),t!==null){e.blockedOn=t,Xs(e.lanePriority,function(){Y.unstable_runWithPriority(e.priority,function(){Ys(n)})});return}}else if(t===3&&n.stateNode.hydrate){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ti(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null)return t=bn(n),t!==null&&Jo(t),e.blockedOn=n,!1;t.shift()}return!0}function Ki(e,t,n){xr(e)&&n.delete(t)}function nf(){for(no=!1;0<Se.length;){var e=Se[0];if(e.blockedOn!==null){e=bn(e.blockedOn),e!==null&&Qs(e);break}for(var t=e.targetContainers;0<t.length;){var n=ti(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null){e.blockedOn=n;break}t.shift()}e.blockedOn===null&&Se.shift()}Ve!==null&&xr(Ve)&&(Ve=null),We!==null&&xr(We)&&(We=null),He!==null&&xr(He)&&(He=null),Fn.forEach(Ki),Un.forEach(Ki)}function sn(e,t){e.blockedOn===t&&(e.blockedOn=null,no||(no=!0,Y.unstable_scheduleCallback(Y.unstable_NormalPriority,nf)))}function Ks(e){function t(l){return sn(l,e)}if(0<Se.length){sn(Se[0],e);for(var n=1;n<Se.length;n++){var r=Se[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ve!==null&&sn(Ve,e),We!==null&&sn(We,e),He!==null&&sn(He,e),Fn.forEach(t),Un.forEach(t),n=0;n<on.length;n++)r=on[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<on.length&&(n=on[0],n.blockedOn===null);)tf(n),n.blockedOn===null&&on.shift()}function fr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pt={animationend:fr("Animation","AnimationEnd"),animationiteration:fr("Animation","AnimationIteration"),animationstart:fr("Animation","AnimationStart"),transitionend:fr("Transition","TransitionEnd")},kl={},Gs={};ze&&(Gs=document.createElement("div").style,"AnimationEvent"in window||(delete Pt.animationend.animation,delete Pt.animationiteration.animation,delete Pt.animationstart.animation),"TransitionEvent"in window||delete Pt.transitionend.transition);function nl(e){if(kl[e])return kl[e];if(!Pt[e])return e;var t=Pt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Gs)return kl[e]=t[n];return e}var Zs=nl("animationend"),Js=nl("animationiteration"),qs=nl("animationstart"),bs=nl("transitionend"),ea=new Map,qo=new Map,rf=["abort","abort",Zs,"animationEnd",Js,"animationIteration",qs,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",bs,"transitionEnd","waiting","waiting"];function bo(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],l=e[n+1];l="on"+(l[0].toUpperCase()+l.slice(1)),qo.set(r,t),ea.set(r,l),gt(l,[r])}}var lf=Y.unstable_now;lf();var I=8;function Ct(e){if(1&e)return I=15,1;if(2&e)return I=14,2;if(4&e)return I=13,4;var t=24&e;return t!==0?(I=12,t):e&32?(I=11,32):(t=192&e,t!==0?(I=10,t):e&256?(I=9,256):(t=3584&e,t!==0?(I=8,t):e&4096?(I=7,4096):(t=4186112&e,t!==0?(I=6,t):(t=62914560&e,t!==0?(I=5,t):e&67108864?(I=4,67108864):e&134217728?(I=3,134217728):(t=805306368&e,t!==0?(I=2,t):1073741824&e?(I=1,1073741824):(I=8,e))))))}function of(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function uf(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(w(358,e))}}function An(e,t){var n=e.pendingLanes;if(n===0)return I=0;var r=0,l=0,o=e.expiredLanes,i=e.suspendedLanes,u=e.pingedLanes;if(o!==0)r=o,l=I=15;else if(o=n&134217727,o!==0){var s=o&~i;s!==0?(r=Ct(s),l=I):(u&=o,u!==0&&(r=Ct(u),l=I))}else o=n&~i,o!==0?(r=Ct(o),l=I):u!==0&&(r=Ct(u),l=I);if(r===0)return 0;if(r=31-Je(r),r=n&((0>r?0:1<<r)<<1)-1,t!==0&&t!==r&&!(t&i)){if(Ct(t),l<=I)return t;I=l}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Je(t),l=1<<n,r|=e[n],t&=~l;return r}function ta(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zr(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Nt(24&~t),e===0?zr(10,t):e;case 10:return e=Nt(192&~t),e===0?zr(8,t):e;case 8:return e=Nt(3584&~t),e===0&&(e=Nt(4186112&~t),e===0&&(e=512)),e;case 2:return t=Nt(805306368&~t),t===0&&(t=268435456),t}throw Error(w(358,e))}function Nt(e){return e&-e}function Sl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function rl(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-Je(t),e[t]=n}var Je=Math.clz32?Math.clz32:cf,sf=Math.log,af=Math.LN2;function cf(e){return e===0?32:31-(sf(e)/af|0)|0}var ff=Y.unstable_UserBlockingPriority,df=Y.unstable_runWithPriority,Er=!0;function pf(e,t,n,r){at||Go();var l=ei,o=at;at=!0;try{$s(l,e,t,n,r)}finally{(at=o)||Zo()}}function hf(e,t,n,r){df(ff,ei.bind(null,e,t,n,r))}function ei(e,t,n,r){if(Er){var l;if((l=(t&4)===0)&&0<Se.length&&-1<Yi.indexOf(e))e=ro(null,e,t,n,r),Se.push(e);else{var o=ti(e,t,n,r);if(o===null)l&&Xi(e,r);else{if(l){if(-1<Yi.indexOf(e)){e=ro(o,e,t,n,r),Se.push(e);return}if(ef(o,e,t,n,r))return;Xi(e,r)}pa(e,t,r,null,n)}}}}function ti(e,t,n,r){var l=Xo(r);if(l=ct(l),l!==null){var o=xt(l);if(o===null)l=null;else{var i=o.tag;if(i===13){if(l=Ws(o),l!==null)return l;l=null}else if(i===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;l=null}else o!==l&&(l=null)}}return pa(e,t,r,l,n),null}var Ue=null,ni=null,kr=null;function na(){if(kr)return kr;var e,t=ni,n=t.length,r,l="value"in Ue?Ue.value:Ue.textContent,o=l.length;for(e=0;e<n&&t[e]===l[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===l[o-r];r++);return kr=l.slice(e,1<r?1-r:void 0)}function Sr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function dr(){return!0}function Gi(){return!1}function fe(e){function t(n,r,l,o,i){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(o):o[u]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?dr:Gi,this.isPropagationStopped=Gi,this}return U(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=dr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=dr)},persist:function(){},isPersistent:dr}),t}var Gt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ri=fe(Gt),qn=U({},Gt,{view:0,detail:0}),mf=fe(qn),_l,Cl,an,ll=U({},qn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:li,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==an&&(an&&e.type==="mousemove"?(_l=e.screenX-an.screenX,Cl=e.screenY-an.screenY):Cl=_l=0,an=e),_l)},movementY:function(e){return"movementY"in e?e.movementY:Cl}}),Zi=fe(ll),vf=U({},ll,{dataTransfer:0}),yf=fe(vf),gf=U({},qn,{relatedTarget:0}),Nl=fe(gf),wf=U({},Gt,{animationName:0,elapsedTime:0,pseudoElement:0}),xf=fe(wf),Ef=U({},Gt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kf=fe(Ef),Sf=U({},Gt,{data:0}),Ji=fe(Sf),_f={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cf={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"},Nf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Nf[e])?!!t[e]:!1}function li(){return Pf}var jf=U({},qn,{key:function(e){if(e.key){var t=_f[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Sr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Cf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:li,charCode:function(e){return e.type==="keypress"?Sr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Sr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Lf=fe(jf),Tf=U({},ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qi=fe(Tf),Rf=U({},qn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:li}),Of=fe(Rf),Mf=U({},Gt,{propertyName:0,elapsedTime:0,pseudoElement:0}),zf=fe(Mf),If=U({},ll,{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}),Df=fe(If),Ff=[9,13,27,32],oi=ze&&"CompositionEvent"in window,Nn=null;ze&&"documentMode"in document&&(Nn=document.documentMode);var Uf=ze&&"TextEvent"in window&&!Nn,ra=ze&&(!oi||Nn&&8<Nn&&11>=Nn),bi=" ",eu=!1;function la(e,t){switch(e){case"keyup":return Ff.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jt=!1;function Af(e,t){switch(e){case"compositionend":return oa(t);case"keypress":return t.which!==32?null:(eu=!0,bi);case"textInput":return e=t.data,e===bi&&eu?null:e;default:return null}}function Bf(e,t){if(jt)return e==="compositionend"||!oi&&la(e,t)?(e=na(),kr=ni=Ue=null,jt=!1,e):null;switch(e){case"paste":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 ra&&t.locale!=="ko"?null:t.data;default:return null}}var $f={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 tu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$f[e.type]:t==="textarea"}function ia(e,t,n,r){As(r),t=Ir(t,"onChange"),0<t.length&&(n=new ri("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Pn=null,Bn=null;function Vf(e){ca(e,0)}function ol(e){var t=Tt(e);if(Os(t))return e}function Wf(e,t){if(e==="change")return t}var ua=!1;if(ze){var Pl;if(ze){var jl="oninput"in document;if(!jl){var nu=document.createElement("div");nu.setAttribute("oninput","return;"),jl=typeof nu.oninput=="function"}Pl=jl}else Pl=!1;ua=Pl&&(!document.documentMode||9<document.documentMode)}function ru(){Pn&&(Pn.detachEvent("onpropertychange",sa),Bn=Pn=null)}function sa(e){if(e.propertyName==="value"&&ol(Bn)){var t=[];if(ia(t,Bn,e,Xo(e)),e=Vf,at)e(t);else{at=!0;try{Ko(e,t)}finally{at=!1,Zo()}}}}function Hf(e,t,n){e==="focusin"?(ru(),Pn=t,Bn=n,Pn.attachEvent("onpropertychange",sa)):e==="focusout"&&ru()}function Qf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ol(Bn)}function Yf(e,t){if(e==="click")return ol(t)}function Xf(e,t){if(e==="input"||e==="change")return ol(t)}function Kf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var pe=typeof Object.is=="function"?Object.is:Kf,Gf=Object.prototype.hasOwnProperty;function $n(e,t){if(pe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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++)if(!Gf.call(t,n[r])||!pe(e[n[r]],t[n[r]]))return!1;return!0}function lu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ou(e,t){var n=lu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=lu(n)}}function aa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?aa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function iu(){for(var e=window,t=Rr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Rr(e.document)}return t}function lo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Zf=ze&&"documentMode"in document&&11>=document.documentMode,Lt=null,oo=null,jn=null,io=!1;function uu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;io||Lt==null||Lt!==Rr(r)||(r=Lt,"selectionStart"in r&&lo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),jn&&$n(jn,r)||(jn=r,r=Ir(oo,"onSelect"),0<r.length&&(t=new ri("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Lt)))}bo("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);bo("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);bo(rf,2);for(var su="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ll=0;Ll<su.length;Ll++)qo.set(su[Ll],0);Wt("onMouseEnter",["mouseout","mouseover"]);Wt("onMouseLeave",["mouseout","mouseover"]);Wt("onPointerEnter",["pointerout","pointerover"]);Wt("onPointerLeave",["pointerout","pointerover"]);gt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));gt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));gt("onBeforeInput",["compositionend","keypress","textInput","paste"]);gt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));gt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));gt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Jf=new Set("cancel close invalid load scroll toggle".split(" ").concat(wn));function au(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,qc(r,t,void 0,e),e.currentTarget=null}function ca(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var u=r[i],s=u.instance,f=u.currentTarget;if(u=u.listener,s!==o&&l.isPropagationStopped())break e;au(l,u,f),o=s}else for(i=0;i<r.length;i++){if(u=r[i],s=u.instance,f=u.currentTarget,u=u.listener,s!==o&&l.isPropagationStopped())break e;au(l,u,f),o=s}}}if(Mr)throw e=to,Mr=!1,to=null,e}function D(e,t){var n=ma(t),r=e+"__bubble";n.has(r)||(da(t,e,2,!1),n.add(r))}var cu="_reactListening"+Math.random().toString(36).slice(2);function fa(e){e[cu]||(e[cu]=!0,Ls.forEach(function(t){Jf.has(t)||fu(t,!1,e,null),fu(t,!0,e,null)}))}function fu(e,t,n,r){var l=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=n;e==="selectionchange"&&n.nodeType!==9&&(o=n.ownerDocument);var i=ma(o),u=e+"__"+(t?"capture":"bubble");i.has(u)||(t&&(l|=4),da(o,e,l,t),i.add(u))}function da(e,t,n,r){var l=qo.get(t);switch(l===void 0?2:l){case 0:l=pf;break;case 1:l=hf;break;default:l=ei}n=l.bind(null,t,n,e),l=void 0,!eo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function pa(e,t,n,r,l){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&(s=i.stateNode.containerInfo,s===l||s.nodeType===8&&s.parentNode===l))return;i=i.return}for(;u!==null;){if(i=ct(u),i===null)return;if(s=i.tag,s===5||s===6){r=o=i;continue e}u=u.parentNode}}r=r.return}Kc(function(){var f=o,m=Xo(n),g=[];e:{var p=ea.get(e);if(p!==void 0){var E=ri,C=e;switch(e){case"keypress":if(Sr(n)===0)break e;case"keydown":case"keyup":E=Lf;break;case"focusin":C="focus",E=Nl;break;case"focusout":C="blur",E=Nl;break;case"beforeblur":case"afterblur":E=Nl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":E=Zi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":E=yf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":E=Of;break;case Zs:case Js:case qs:E=xf;break;case bs:E=zf;break;case"scroll":E=mf;break;case"wheel":E=Df;break;case"copy":case"cut":case"paste":E=kf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":E=qi}var k=(t&4)!==0,c=!k&&e==="scroll",a=k?p!==null?p+"Capture":null:p;k=[];for(var d=f,h;d!==null;){h=d;var y=h.stateNode;if(h.tag===5&&y!==null&&(h=y,a!==null&&(y=Dn(d,a),y!=null&&k.push(Vn(d,y,h)))),c)break;d=d.return}0<k.length&&(p=new E(p,C,null,n,m),g.push({event:p,listeners:k}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",E=e==="mouseout"||e==="pointerout",p&&!(t&16)&&(C=n.relatedTarget||n.fromElement)&&(ct(C)||C[Zt]))break e;if((E||p)&&(p=m.window===m?m:(p=m.ownerDocument)?p.defaultView||p.parentWindow:window,E?(C=n.relatedTarget||n.toElement,E=f,C=C?ct(C):null,C!==null&&(c=xt(C),C!==c||C.tag!==5&&C.tag!==6)&&(C=null)):(E=null,C=f),E!==C)){if(k=Zi,y="onMouseLeave",a="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(k=qi,y="onPointerLeave",a="onPointerEnter",d="pointer"),c=E==null?p:Tt(E),h=C==null?p:Tt(C),p=new k(y,d+"leave",E,n,m),p.target=c,p.relatedTarget=h,y=null,ct(m)===f&&(k=new k(a,d+"enter",C,n,m),k.target=h,k.relatedTarget=c,y=k),c=y,E&&C)t:{for(k=E,a=C,d=0,h=k;h;h=_t(h))d++;for(h=0,y=a;y;y=_t(y))h++;for(;0<d-h;)k=_t(k),d--;for(;0<h-d;)a=_t(a),h--;for(;d--;){if(k===a||a!==null&&k===a.alternate)break t;k=_t(k),a=_t(a)}k=null}else k=null;E!==null&&du(g,p,E,k,!1),C!==null&&c!==null&&du(g,c,C,k,!0)}}e:{if(p=f?Tt(f):window,E=p.nodeName&&p.nodeName.toLowerCase(),E==="select"||E==="input"&&p.type==="file")var j=Wf;else if(tu(p))if(ua)j=Xf;else{j=Qf;var S=Hf}else(E=p.nodeName)&&E.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(j=Yf);if(j&&(j=j(e,f))){ia(g,j,n,m);break e}S&&S(e,p,f),e==="focusout"&&(S=p._wrapperState)&&S.controlled&&p.type==="number"&&Yl(p,"number",p.value)}switch(S=f?Tt(f):window,e){case"focusin":(tu(S)||S.contentEditable==="true")&&(Lt=S,oo=f,jn=null);break;case"focusout":jn=oo=Lt=null;break;case"mousedown":io=!0;break;case"contextmenu":case"mouseup":case"dragend":io=!1,uu(g,n,m);break;case"selectionchange":if(Zf)break;case"keydown":case"keyup":uu(g,n,m)}var L;if(oi)e:{switch(e){case"compositionstart":var O="onCompositionStart";break e;case"compositionend":O="onCompositionEnd";break e;case"compositionupdate":O="onCompositionUpdate";break e}O=void 0}else jt?la(e,n)&&(O="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(O="onCompositionStart");O&&(ra&&n.locale!=="ko"&&(jt||O!=="onCompositionStart"?O==="onCompositionEnd"&&jt&&(L=na()):(Ue=m,ni="value"in Ue?Ue.value:Ue.textContent,jt=!0)),S=Ir(f,O),0<S.length&&(O=new Ji(O,e,null,n,m),g.push({event:O,listeners:S}),L?O.data=L:(L=oa(n),L!==null&&(O.data=L)))),(L=Uf?Af(e,n):Bf(e,n))&&(f=Ir(f,"onBeforeInput"),0<f.length&&(m=new Ji("onBeforeInput","beforeinput",null,n,m),g.push({event:m,listeners:f}),m.data=L))}ca(g,t)})}function Vn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ir(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=Dn(e,n),o!=null&&r.unshift(Vn(e,o,l)),o=Dn(e,t),o!=null&&r.push(Vn(e,o,l))),e=e.return}return r}function _t(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function du(e,t,n,r,l){for(var o=t._reactName,i=[];n!==null&&n!==r;){var u=n,s=u.alternate,f=u.stateNode;if(s!==null&&s===r)break;u.tag===5&&f!==null&&(u=f,l?(s=Dn(n,o),s!=null&&i.unshift(Vn(n,s,u))):l||(s=Dn(n,o),s!=null&&i.push(Vn(n,s,u)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}function Dr(){}var Tl=null,Rl=null;function ha(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function uo(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var pu=typeof setTimeout=="function"?setTimeout:void 0,qf=typeof clearTimeout=="function"?clearTimeout:void 0;function ii(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Ft(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function hu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ol=0;function bf(e){return{$$typeof:Qo,toString:e,valueOf:e}}var il=Math.random().toString(36).slice(2),Ae="__reactFiber$"+il,Fr="__reactProps$"+il,Zt="__reactContainer$"+il,mu="__reactEvents$"+il;function ct(e){var t=e[Ae];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zt]||n[Ae]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=hu(e);e!==null;){if(n=e[Ae])return n;e=hu(e)}return t}e=n,n=e.parentNode}return null}function bn(e){return e=e[Ae]||e[Zt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Tt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(w(33))}function ul(e){return e[Fr]||null}function ma(e){var t=e[mu];return t===void 0&&(t=e[mu]=new Set),t}var so=[],Rt=-1;function tt(e){return{current:e}}function F(e){0>Rt||(e.current=so[Rt],so[Rt]=null,Rt--)}function B(e,t){Rt++,so[Rt]=e.current,e.current=t}var qe={},re=tt(qe),se=tt(!1),mt=qe;function Ht(e,t){var n=e.type.contextTypes;if(!n)return qe;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Ur(){F(se),F(re)}function vu(e,t,n){if(re.current!==qe)throw Error(w(168));B(re,t),B(se,n)}function va(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in e))throw Error(w(108,Mt(t)||"Unknown",l));return U({},n,r)}function _r(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||qe,mt=re.current,B(re,e),B(se,se.current),!0}function yu(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=va(e,t,mt),r.__reactInternalMemoizedMergedChildContext=e,F(se),F(re),B(re,e)):F(se),B(se,n)}var ui=null,pt=null,ed=Y.unstable_runWithPriority,si=Y.unstable_scheduleCallback,ao=Y.unstable_cancelCallback,td=Y.unstable_shouldYield,gu=Y.unstable_requestPaint,co=Y.unstable_now,nd=Y.unstable_getCurrentPriorityLevel,sl=Y.unstable_ImmediatePriority,ya=Y.unstable_UserBlockingPriority,ga=Y.unstable_NormalPriority,wa=Y.unstable_LowPriority,xa=Y.unstable_IdlePriority,Ml={},rd=gu!==void 0?gu:function(){},Le=null,Cr=null,zl=!1,wu=co(),te=1e4>wu?co:function(){return co()-wu};function Qt(){switch(nd()){case sl:return 99;case ya:return 98;case ga:return 97;case wa:return 96;case xa:return 95;default:throw Error(w(332))}}function Ea(e){switch(e){case 99:return sl;case 98:return ya;case 97:return ga;case 96:return wa;case 95:return xa;default:throw Error(w(332))}}function vt(e,t){return e=Ea(e),ed(e,t)}function Wn(e,t,n){return e=Ea(e),si(e,t,n)}function je(){if(Cr!==null){var e=Cr;Cr=null,ao(e)}ka()}function ka(){if(!zl&&Le!==null){zl=!0;var e=0;try{var t=Le;vt(99,function(){for(;e<t.length;e++){var n=t[e];do n=n(!0);while(n!==null)}}),Le=null}catch(n){throw Le!==null&&(Le=Le.slice(e+1)),si(sl,je),n}finally{zl=!1}}}var ld=wt.ReactCurrentBatchConfig;function Ee(e,t){if(e&&e.defaultProps){t=U({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Ar=tt(null),Br=null,Ot=null,$r=null;function ai(){$r=Ot=Br=null}function ci(e){var t=Ar.current;F(Ar),e.type._context._currentValue=t}function Sa(e,t){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)===t){if(n===null||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,n!==null&&(n.childLanes|=t);e=e.return}}function Ut(e,t){Br=e,$r=Ot=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ke=!0),e.firstContext=null)}function ve(e,t){if($r!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&($r=e,t=1073741823),t={context:e,observedBits:t,next:null},Ot===null){if(Br===null)throw Error(w(308));Ot=t,Br.dependencies={lanes:0,firstContext:t,responders:null}}else Ot=Ot.next=t;return e._currentValue}var De=!1;function fi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function _a(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ye(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function xu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Hn(e,t,n,r){var l=e.updateQueue;De=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,f=s.next;s.next=null,i===null?o=f:i.next=f,i=s;var m=e.alternate;if(m!==null){m=m.updateQueue;var g=m.lastBaseUpdate;g!==i&&(g===null?m.firstBaseUpdate=f:g.next=f,m.lastBaseUpdate=s)}}if(o!==null){g=l.baseState,i=0,m=f=s=null;do{u=o.lane;var p=o.eventTime;if((r&u)===u){m!==null&&(m=m.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var E=e,C=o;switch(u=t,p=n,C.tag){case 1:if(E=C.payload,typeof E=="function"){g=E.call(p,g,u);break e}g=E;break e;case 3:E.flags=E.flags&-4097|64;case 0:if(E=C.payload,u=typeof E=="function"?E.call(p,g,u):E,u==null)break e;g=U({},g,u);break e;case 2:De=!0}}o.callback!==null&&(e.flags|=32,u=l.effects,u===null?l.effects=[o]:u.push(o))}else p={eventTime:p,lane:u,tag:o.tag,payload:o.payload,callback:o.callback,next:null},m===null?(f=m=p,s=g):m=m.next=p,i|=u;if(o=o.next,o===null){if(u=l.shared.pending,u===null)break;o=u.next,u.next=null,l.lastBaseUpdate=u,l.shared.pending=null}}while(!0);m===null&&(s=g),l.baseState=s,l.firstBaseUpdate=f,l.lastBaseUpdate=m,tr|=i,e.lanes=i,e.memoizedState=g}}function Eu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(w(191,l));l.call(r)}}}var Ca=new br.Component().refs;function Vr(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:U({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var al={isMounted:function(e){return(e=e._reactInternals)?xt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ce(),l=Xe(e),o=Qe(r,l);o.payload=t,n!=null&&(o.callback=n),Ye(e,o),Ke(e,l,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ce(),l=Xe(e),o=Qe(r,l);o.tag=1,o.payload=t,n!=null&&(o.callback=n),Ye(e,o),Ke(e,l,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ce(),r=Xe(e),l=Qe(n,r);l.tag=2,t!=null&&(l.callback=t),Ye(e,l),Ke(e,r,n)}};function ku(e,t,n,r,l,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):t.prototype&&t.prototype.isPureReactComponent?!$n(n,r)||!$n(l,o):!0}function Na(e,t,n){var r=!1,l=qe,o=t.contextType;return typeof o=="object"&&o!==null?o=ve(o):(l=ae(t)?mt:re.current,r=t.contextTypes,o=(r=r!=null)?Ht(e,l):qe),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=al,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function Su(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&al.enqueueReplaceState(t,t.state,null)}function fo(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs=Ca,fi(e);var o=t.contextType;typeof o=="object"&&o!==null?l.context=ve(o):(o=ae(t)?mt:re.current,l.context=Ht(e,o)),Hn(e,n,l,r),l.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Vr(e,t,o,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&al.enqueueReplaceState(l,l.state,null),Hn(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4)}var pr=Array.isArray;function cn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(w(309));var r=n.stateNode}if(!r)throw Error(w(147,e));var l=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===l?t.ref:(t=function(o){var i=r.refs;i===Ca&&(i=r.refs={}),o===null?delete i[l]:i[l]=o},t._stringRef=l,t)}if(typeof e!="string")throw Error(w(284));if(!n._owner)throw Error(w(290,e))}return e}function hr(e,t){if(e.type!=="textarea")throw Error(w(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Pa(e){function t(c,a){if(e){var d=c.lastEffect;d!==null?(d.nextEffect=a,c.lastEffect=a):c.firstEffect=c.lastEffect=a,a.nextEffect=null,a.flags=8}}function n(c,a){if(!e)return null;for(;a!==null;)t(c,a),a=a.sibling;return null}function r(c,a){for(c=new Map;a!==null;)a.key!==null?c.set(a.key,a):c.set(a.index,a),a=a.sibling;return c}function l(c,a){return c=et(c,a),c.index=0,c.sibling=null,c}function o(c,a,d){return c.index=d,e?(d=c.alternate,d!==null?(d=d.index,d<a?(c.flags=2,a):d):(c.flags=2,a)):a}function i(c){return e&&c.alternate===null&&(c.flags=2),c}function u(c,a,d,h){return a===null||a.tag!==6?(a=Al(d,c.mode,h),a.return=c,a):(a=l(a,d),a.return=c,a)}function s(c,a,d,h){return a!==null&&a.elementType===d.type?(h=l(a,d.props),h.ref=cn(c,a,d),h.return=c,h):(h=Lr(d.type,d.key,d.props,null,c.mode,h),h.ref=cn(c,a,d),h.return=c,h)}function f(c,a,d,h){return a===null||a.tag!==4||a.stateNode.containerInfo!==d.containerInfo||a.stateNode.implementation!==d.implementation?(a=Bl(d,c.mode,h),a.return=c,a):(a=l(a,d.children||[]),a.return=c,a)}function m(c,a,d,h,y){return a===null||a.tag!==7?(a=Vt(d,c.mode,h,y),a.return=c,a):(a=l(a,d),a.return=c,a)}function g(c,a,d){if(typeof a=="string"||typeof a=="number")return a=Al(""+a,c.mode,d),a.return=c,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case yn:return d=Lr(a.type,a.key,a.props,null,c.mode,d),d.ref=cn(c,null,a),d.return=c,d;case st:return a=Bl(a,c.mode,d),a.return=c,a}if(pr(a)||rn(a))return a=Vt(a,c.mode,d,null),a.return=c,a;hr(c,a)}return null}function p(c,a,d,h){var y=a!==null?a.key:null;if(typeof d=="string"||typeof d=="number")return y!==null?null:u(c,a,""+d,h);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case yn:return d.key===y?d.type===Fe?m(c,a,d.props.children,h,y):s(c,a,d,h):null;case st:return d.key===y?f(c,a,d,h):null}if(pr(d)||rn(d))return y!==null?null:m(c,a,d,h,null);hr(c,d)}return null}function E(c,a,d,h,y){if(typeof h=="string"||typeof h=="number")return c=c.get(d)||null,u(a,c,""+h,y);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case yn:return c=c.get(h.key===null?d:h.key)||null,h.type===Fe?m(a,c,h.props.children,y,h.key):s(a,c,h,y);case st:return c=c.get(h.key===null?d:h.key)||null,f(a,c,h,y)}if(pr(h)||rn(h))return c=c.get(d)||null,m(a,c,h,y,null);hr(a,h)}return null}function C(c,a,d,h){for(var y=null,j=null,S=a,L=a=0,O=null;S!==null&&L<d.length;L++){S.index>L?(O=S,S=null):O=S.sibling;var P=p(c,S,d[L],h);if(P===null){S===null&&(S=O);break}e&&S&&P.alternate===null&&t(c,S),a=o(P,a,L),j===null?y=P:j.sibling=P,j=P,S=O}if(L===d.length)return n(c,S),y;if(S===null){for(;L<d.length;L++)S=g(c,d[L],h),S!==null&&(a=o(S,a,L),j===null?y=S:j.sibling=S,j=S);return y}for(S=r(c,S);L<d.length;L++)O=E(S,c,L,d[L],h),O!==null&&(e&&O.alternate!==null&&S.delete(O.key===null?L:O.key),a=o(O,a,L),j===null?y=O:j.sibling=O,j=O);return e&&S.forEach(function(X){return t(c,X)}),y}function k(c,a,d,h){var y=rn(d);if(typeof y!="function")throw Error(w(150));if(d=y.call(d),d==null)throw Error(w(151));for(var j=y=null,S=a,L=a=0,O=null,P=d.next();S!==null&&!P.done;L++,P=d.next()){S.index>L?(O=S,S=null):O=S.sibling;var X=p(c,S,P.value,h);if(X===null){S===null&&(S=O);break}e&&S&&X.alternate===null&&t(c,S),a=o(X,a,L),j===null?y=X:j.sibling=X,j=X,S=O}if(P.done)return n(c,S),y;if(S===null){for(;!P.done;L++,P=d.next())P=g(c,P.value,h),P!==null&&(a=o(P,a,L),j===null?y=P:j.sibling=P,j=P);return y}for(S=r(c,S);!P.done;L++,P=d.next())P=E(S,c,L,P.value,h),P!==null&&(e&&P.alternate!==null&&S.delete(P.key===null?L:P.key),a=o(P,a,L),j===null?y=P:j.sibling=P,j=P);return e&&S.forEach(function(hl){return t(c,hl)}),y}return function(c,a,d,h){var y=typeof d=="object"&&d!==null&&d.type===Fe&&d.key===null;y&&(d=d.props.children);var j=typeof d=="object"&&d!==null;if(j)switch(d.$$typeof){case yn:e:{for(j=d.key,y=a;y!==null;){if(y.key===j){switch(y.tag){case 7:if(d.type===Fe){n(c,y.sibling),a=l(y,d.props.children),a.return=c,c=a;break e}break;default:if(y.elementType===d.type){n(c,y.sibling),a=l(y,d.props),a.ref=cn(c,y,d),a.return=c,c=a;break e}}n(c,y);break}else t(c,y);y=y.sibling}d.type===Fe?(a=Vt(d.props.children,c.mode,h,d.key),a.return=c,c=a):(h=Lr(d.type,d.key,d.props,null,c.mode,h),h.ref=cn(c,a,d),h.return=c,c=h)}return i(c);case st:e:{for(y=d.key;a!==null;){if(a.key===y)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(c,a.sibling),a=l(a,d.children||[]),a.return=c,c=a;break e}else{n(c,a);break}else t(c,a);a=a.sibling}a=Bl(d,c.mode,h),a.return=c,c=a}return i(c)}if(typeof d=="string"||typeof d=="number")return d=""+d,a!==null&&a.tag===6?(n(c,a.sibling),a=l(a,d),a.return=c,c=a):(n(c,a),a=Al(d,c.mode,h),a.return=c,c=a),i(c);if(pr(d))return C(c,a,d,h);if(rn(d))return k(c,a,d,h);if(j&&hr(c,d),typeof d>"u"&&!y)switch(c.tag){case 1:case 22:case 0:case 11:case 15:throw Error(w(152,Mt(c.type)||"Component"))}return n(c,a)}}var Wr=Pa(!0),ja=Pa(!1),er={},Ne=tt(er),Qn=tt(er),Yn=tt(er);function ft(e){if(e===er)throw Error(w(174));return e}function po(e,t){switch(B(Yn,t),B(Qn,e),B(Ne,er),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zl(t,e)}F(Ne),B(Ne,t)}function Yt(){F(Ne),F(Qn),F(Yn)}function _u(e){ft(Yn.current);var t=ft(Ne.current),n=Zl(t,e.type);t!==n&&(B(Qn,e),B(Ne,n))}function di(e){Qn.current===e&&(F(Ne),F(Qn))}var A=tt(0);function Hr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&64)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Re=null,Be=null,Pe=!1;function La(e,t){var n=he(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Cu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function ho(e){if(Pe){var t=Be;if(t){var n=t;if(!Cu(e,t)){if(t=Ft(n.nextSibling),!t||!Cu(e,t)){e.flags=e.flags&-1025|2,Pe=!1,Re=e;return}La(Re,n)}Re=e,Be=Ft(t.firstChild)}else e.flags=e.flags&-1025|2,Pe=!1,Re=e}}function Nu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Re=e}function mr(e){if(e!==Re)return!1;if(!Pe)return Nu(e),Pe=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!uo(t,e.memoizedProps))for(t=Be;t;)La(e,t),t=Ft(t.nextSibling);if(Nu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(w(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Be=Ft(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Be=null}}else Be=Re?Ft(e.stateNode.nextSibling):null;return!0}function Il(){Be=Re=null,Pe=!1}var At=[];function pi(){for(var e=0;e<At.length;e++)At[e]._workInProgressVersionPrimary=null;At.length=0}var Ln=wt.ReactCurrentDispatcher,me=wt.ReactCurrentBatchConfig,Xn=0,V=null,ee=null,G=null,Qr=!1,Tn=!1;function ie(){throw Error(w(321))}function hi(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!pe(e[n],t[n]))return!1;return!0}function mi(e,t,n,r,l,o){if(Xn=o,V=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ln.current=e===null||e.memoizedState===null?id:ud,e=n(r,l),Tn){o=0;do{if(Tn=!1,!(25>o))throw Error(w(301));o+=1,G=ee=null,t.updateQueue=null,Ln.current=sd,e=n(r,l)}while(Tn)}if(Ln.current=Gr,t=ee!==null&&ee.next!==null,Xn=0,G=ee=V=null,Qr=!1,t)throw Error(w(300));return e}function dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return G===null?V.memoizedState=G=e:G=G.next=e,G}function Et(){if(ee===null){var e=V.alternate;e=e!==null?e.memoizedState:null}else e=ee.next;var t=G===null?V.memoizedState:G.next;if(t!==null)G=t,ee=e;else{if(e===null)throw Error(w(310));ee=e,e={memoizedState:ee.memoizedState,baseState:ee.baseState,baseQueue:ee.baseQueue,queue:ee.queue,next:null},G===null?V.memoizedState=G=e:G=G.next=e}return G}function _e(e,t){return typeof t=="function"?t(e):t}function fn(e){var t=Et(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=ee,l=r.baseQueue,o=n.pending;if(o!==null){if(l!==null){var i=l.next;l.next=o.next,o.next=i}r.baseQueue=l=o,n.pending=null}if(l!==null){l=l.next,r=r.baseState;var u=i=o=null,s=l;do{var f=s.lane;if((Xn&f)===f)u!==null&&(u=u.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var m={lane:f,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};u===null?(i=u=m,o=r):u=u.next=m,V.lanes|=f,tr|=f}s=s.next}while(s!==null&&s!==l);u===null?o=r:u.next=i,pe(r,t.memoizedState)||(ke=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function dn(e){var t=Et(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,o=t.memoizedState;if(l!==null){n.pending=null;var i=l=l.next;do o=e(o,i.action),i=i.next;while(i!==l);pe(o,t.memoizedState)||(ke=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Pu(e,t,n){var r=t._getVersion;r=r(t._source);var l=t._workInProgressVersionPrimary;if(l!==null?e=l===r:(e=e.mutableReadLanes,(e=(Xn&e)===e)&&(t._workInProgressVersionPrimary=r,At.push(t))),e)return n(t._source);throw At.push(t),Error(w(350))}function Ta(e,t,n,r){var l=le;if(l===null)throw Error(w(349));var o=t._getVersion,i=o(t._source),u=Ln.current,s=u.useState(function(){return Pu(l,t,n)}),f=s[1],m=s[0];s=G;var g=e.memoizedState,p=g.refs,E=p.getSnapshot,C=g.source;g=g.subscribe;var k=V;return e.memoizedState={refs:p,source:t,subscribe:r},u.useEffect(function(){p.getSnapshot=n,p.setSnapshot=f;var c=o(t._source);if(!pe(i,c)){c=n(t._source),pe(m,c)||(f(c),c=Xe(k),l.mutableReadLanes|=c&l.pendingLanes),c=l.mutableReadLanes,l.entangledLanes|=c;for(var a=l.entanglements,d=c;0<d;){var h=31-Je(d),y=1<<h;a[h]|=c,d&=~y}}},[n,t,r]),u.useEffect(function(){return r(t._source,function(){var c=p.getSnapshot,a=p.setSnapshot;try{a(c(t._source));var d=Xe(k);l.mutableReadLanes|=d&l.pendingLanes}catch(h){a(function(){throw h})}})},[t,r]),pe(E,n)&&pe(C,t)&&pe(g,r)||(e={pending:null,dispatch:null,lastRenderedReducer:_e,lastRenderedState:m},e.dispatch=f=gi.bind(null,V,e),s.queue=e,s.baseQueue=null,m=Pu(l,t,n),s.memoizedState=s.baseState=m),m}function Ra(e,t,n){var r=Et();return Ta(r,e,t,n)}function pn(e){var t=dt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:_e,lastRenderedState:e},e=e.dispatch=gi.bind(null,V,e),[t.memoizedState,e]}function Yr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=V.updateQueue,t===null?(t={lastEffect:null},V.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ju(e){var t=dt();return e={current:e},t.memoizedState=e}function Xr(){return Et().memoizedState}function mo(e,t,n,r){var l=dt();V.flags|=e,l.memoizedState=Yr(1|t,n,void 0,r===void 0?null:r)}function vi(e,t,n,r){var l=Et();r=r===void 0?null:r;var o=void 0;if(ee!==null){var i=ee.memoizedState;if(o=i.destroy,r!==null&&hi(r,i.deps)){Yr(t,n,o,r);return}}V.flags|=e,l.memoizedState=Yr(1|t,n,o,r)}function Lu(e,t){return mo(516,4,e,t)}function Kr(e,t){return vi(516,4,e,t)}function Oa(e,t){return vi(4,2,e,t)}function Ma(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function za(e,t,n){return n=n!=null?n.concat([e]):null,vi(4,2,Ma.bind(null,t,e),n)}function yi(){}function Ia(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&hi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Da(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&hi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function od(e,t){var n=Qt();vt(98>n?98:n,function(){e(!0)}),vt(97<n?97:n,function(){var r=me.transition;me.transition=1;try{e(!1),t()}finally{me.transition=r}})}function gi(e,t,n){var r=ce(),l=Xe(e),o={lane:l,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(i===null?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===V||i!==null&&i===V)Tn=Qr=!0;else{if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var u=t.lastRenderedState,s=i(u,n);if(o.eagerReducer=i,o.eagerState=s,pe(s,u))return}catch{}finally{}Ke(e,l,r)}}var Gr={readContext:ve,useCallback:ie,useContext:ie,useEffect:ie,useImperativeHandle:ie,useLayoutEffect:ie,useMemo:ie,useReducer:ie,useRef:ie,useState:ie,useDebugValue:ie,useDeferredValue:ie,useTransition:ie,useMutableSource:ie,useOpaqueIdentifier:ie,unstable_isNewReconciler:!1},id={readContext:ve,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:ve,useEffect:Lu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,mo(4,2,Ma.bind(null,t,e),n)},useLayoutEffect:function(e,t){return mo(4,2,e,t)},useMemo:function(e,t){var n=dt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=dt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=gi.bind(null,V,e),[r.memoizedState,e]},useRef:ju,useState:pn,useDebugValue:yi,useDeferredValue:function(e){var t=pn(e),n=t[0],r=t[1];return Lu(function(){var l=me.transition;me.transition=1;try{r(e)}finally{me.transition=l}},[e]),n},useTransition:function(){var e=pn(!1),t=e[0];return e=od.bind(null,e[1]),ju(e),[e,t]},useMutableSource:function(e,t,n){var r=dt();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Ta(r,e,t,n)},useOpaqueIdentifier:function(){if(Pe){var e=!1,t=bf(function(){throw e||(e=!0,n("r:"+(Ol++).toString(36))),Error(w(355))}),n=pn(t)[1];return!(V.mode&2)&&(V.flags|=516,Yr(5,function(){n("r:"+(Ol++).toString(36))},void 0,null)),t}return t="r:"+(Ol++).toString(36),pn(t),t},unstable_isNewReconciler:!1},ud={readContext:ve,useCallback:Ia,useContext:ve,useEffect:Kr,useImperativeHandle:za,useLayoutEffect:Oa,useMemo:Da,useReducer:fn,useRef:Xr,useState:function(){return fn(_e)},useDebugValue:yi,useDeferredValue:function(e){var t=fn(_e),n=t[0],r=t[1];return Kr(function(){var l=me.transition;me.transition=1;try{r(e)}finally{me.transition=l}},[e]),n},useTransition:function(){var e=fn(_e)[0];return[Xr().current,e]},useMutableSource:Ra,useOpaqueIdentifier:function(){return fn(_e)[0]},unstable_isNewReconciler:!1},sd={readContext:ve,useCallback:Ia,useContext:ve,useEffect:Kr,useImperativeHandle:za,useLayoutEffect:Oa,useMemo:Da,useReducer:dn,useRef:Xr,useState:function(){return dn(_e)},useDebugValue:yi,useDeferredValue:function(e){var t=dn(_e),n=t[0],r=t[1];return Kr(function(){var l=me.transition;me.transition=1;try{r(e)}finally{me.transition=l}},[e]),n},useTransition:function(){var e=dn(_e)[0];return[Xr().current,e]},useMutableSource:Ra,useOpaqueIdentifier:function(){return dn(_e)[0]},unstable_isNewReconciler:!1},ad=wt.ReactCurrentOwner,ke=!1;function ue(e,t,n,r){t.child=e===null?ja(t,null,n,r):Wr(t,e.child,n,r)}function Tu(e,t,n,r,l){n=n.render;var o=t.ref;return Ut(t,l),r=mi(e,t,n,r,o,l),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~l,Oe(e,t,l)):(t.flags|=1,ue(e,t,r,l),t.child)}function Ru(e,t,n,r,l,o){if(e===null){var i=n.type;return typeof i=="function"&&!_i(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Fa(e,t,i,r,l,o)):(e=Lr(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return i=e.child,!(l&o)&&(l=i.memoizedProps,n=n.compare,n=n!==null?n:$n,n(l,r)&&e.ref===t.ref)?Oe(e,t,o):(t.flags|=1,e=et(i,r),e.ref=t.ref,e.return=t,t.child=e)}function Fa(e,t,n,r,l,o){if(e!==null&&$n(e.memoizedProps,r)&&e.ref===t.ref)if(ke=!1,(o&l)!==0)e.flags&16384&&(ke=!0);else return t.lanes=e.lanes,Oe(e,t,o);return vo(e,t,n,r,o)}function Dl(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden"||r.mode==="unstable-defer-without-hiding")if(!(t.mode&4))t.memoizedState={baseLanes:0},yr(t,n);else if(n&1073741824)t.memoizedState={baseLanes:0},yr(t,o!==null?o.baseLanes:n);else return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},yr(t,e),null;else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,yr(t,r);return ue(e,t,l,n),t.child}function Ua(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=128)}function vo(e,t,n,r,l){var o=ae(n)?mt:re.current;return o=Ht(t,o),Ut(t,l),n=mi(e,t,n,r,o,l),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~l,Oe(e,t,l)):(t.flags|=1,ue(e,t,n,l),t.child)}function Ou(e,t,n,r,l){if(ae(n)){var o=!0;_r(t)}else o=!1;if(Ut(t,l),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Na(t,n,r),fo(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,u=t.memoizedProps;i.props=u;var s=i.context,f=n.contextType;typeof f=="object"&&f!==null?f=ve(f):(f=ae(n)?mt:re.current,f=Ht(t,f));var m=n.getDerivedStateFromProps,g=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function";g||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==r||s!==f)&&Su(t,i,r,f),De=!1;var p=t.memoizedState;i.state=p,Hn(t,r,i,l),s=t.memoizedState,u!==r||p!==s||se.current||De?(typeof m=="function"&&(Vr(t,n,m,r),s=t.memoizedState),(u=De||ku(t,n,u,r,p,s,f))?(g||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4)):(typeof i.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=f,r=u):(typeof i.componentDidMount=="function"&&(t.flags|=4),r=!1)}else{i=t.stateNode,_a(e,t),u=t.memoizedProps,f=t.type===t.elementType?u:Ee(t.type,u),i.props=f,g=t.pendingProps,p=i.context,s=n.contextType,typeof s=="object"&&s!==null?s=ve(s):(s=ae(n)?mt:re.current,s=Ht(t,s));var E=n.getDerivedStateFromProps;(m=typeof E=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==g||p!==s)&&Su(t,i,r,s),De=!1,p=t.memoizedState,i.state=p,Hn(t,r,i,l);var C=t.memoizedState;u!==g||p!==C||se.current||De?(typeof E=="function"&&(Vr(t,n,E,r),C=t.memoizedState),(f=De||ku(t,n,f,r,p,C,s))?(m||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,C,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,C,s)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=C),i.props=r,i.state=C,i.context=s,r=f):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return yo(e,t,n,r,o,l)}function yo(e,t,n,r,l,o){Ua(e,t);var i=(t.flags&64)!==0;if(!r&&!i)return l&&yu(t,n,!1),Oe(e,t,o);r=t.stateNode,ad.current=t;var u=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Wr(t,e.child,null,o),t.child=Wr(t,null,u,o)):ue(e,t,u,o),t.memoizedState=r.state,l&&yu(t,n,!0),t.child}function Mu(e){var t=e.stateNode;t.pendingContext?vu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&vu(e,t.context,!1),po(e,t.containerInfo)}var vr={dehydrated:null,retryLane:0};function zu(e,t,n){var r=t.pendingProps,l=A.current,o=!1,i;return(i=(t.flags&64)!==0)||(i=e!==null&&e.memoizedState===null?!1:(l&2)!==0),i?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||r.fallback===void 0||r.unstable_avoidThisFallback===!0||(l|=1),B(A,l&1),e===null?(r.fallback!==void 0&&ho(t),e=r.children,l=r.fallback,o?(e=Iu(t,e,l,n),t.child.memoizedState={baseLanes:n},t.memoizedState=vr,e):typeof r.unstable_expectedLoadTime=="number"?(e=Iu(t,e,l,n),t.child.memoizedState={baseLanes:n},t.memoizedState=vr,t.lanes=33554432,e):(n=Ci({mode:"visible",children:e},t.mode,n,null),n.return=t,t.child=n)):e.memoizedState!==null?o?(r=Fu(e,t,r.children,r.fallback,n),o=t.child,l=e.child.memoizedState,o.memoizedState=l===null?{baseLanes:n}:{baseLanes:l.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=vr,r):(n=Du(e,t,r.children,n),t.memoizedState=null,n):o?(r=Fu(e,t,r.children,r.fallback,n),o=t.child,l=e.child.memoizedState,o.memoizedState=l===null?{baseLanes:n}:{baseLanes:l.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=vr,r):(n=Du(e,t,r.children,n),t.memoizedState=null,n)}function Iu(e,t,n,r){var l=e.mode,o=e.child;return t={mode:"hidden",children:t},!(l&2)&&o!==null?(o.childLanes=0,o.pendingProps=t):o=Ci(t,l,0,null),n=Vt(n,l,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Du(e,t,n,r){var l=e.child;return e=l.sibling,n=et(l,{mode:"visible",children:n}),!(t.mode&2)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Fu(e,t,n,r,l){var o=t.mode,i=e.child;e=i.sibling;var u={mode:"hidden",children:n};return!(o&2)&&t.child!==i?(n=t.child,n.childLanes=0,n.pendingProps=u,i=n.lastEffect,i!==null?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=et(i,u),e!==null?r=et(e,r):(r=Vt(r,o,l,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Uu(e,t){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Sa(e.return,t)}function Fl(e,t,n,r,l,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l,i.lastEffect=o)}function Au(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(ue(e,t,r.children,n),r=A.current,r&2)r=r&1|2,t.flags|=64;else{if(e!==null&&e.flags&64)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Uu(e,n);else if(e.tag===19)Uu(e,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(B(A,r),!(t.mode&2))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Hr(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Fl(t,!1,l,n,o,t.lastEffect);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Hr(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Fl(t,!0,n,null,o,t.lastEffect);break;case"together":Fl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Oe(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),tr|=t.lanes,n&t.childLanes){if(e!==null&&t.child!==e.child)throw Error(w(153));if(t.child!==null){for(e=t.child,n=et(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=et(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}return null}var Aa,go,Ba,$a;Aa=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};go=function(){};Ba=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,ft(Ne.current);var o=null;switch(n){case"input":l=Hl(e,l),r=Hl(e,r),o=[];break;case"option":l=Xl(e,l),r=Xl(e,r),o=[];break;case"select":l=U({},l,{value:void 0}),r=U({},r,{value:void 0}),o=[];break;case"textarea":l=Kl(e,l),r=Kl(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Dr)}Jl(n,r);var i;n=null;for(f in l)if(!r.hasOwnProperty(f)&&l.hasOwnProperty(f)&&l[f]!=null)if(f==="style"){var u=l[f];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(zn.hasOwnProperty(f)?o||(o=[]):(o=o||[]).push(f,null));for(f in r){var s=r[f];if(u=l!=null?l[f]:void 0,r.hasOwnProperty(f)&&s!==u&&(s!=null||u!=null))if(f==="style")if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(o||(o=[]),o.push(f,n)),n=s;else f==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(o=o||[]).push(f,s)):f==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(f,""+s):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(zn.hasOwnProperty(f)?(s!=null&&f==="onScroll"&&D("scroll",e),o||u===s||(o=[])):typeof s=="object"&&s!==null&&s.$$typeof===Qo?s.toString():(o=o||[]).push(f,s))}n&&(o=o||[]).push("style",n);var f=o;(t.updateQueue=f)&&(t.flags|=4)}};$a=function(e,t,n,r){n!==r&&(t.flags|=4)};function hn(e,t){if(!Pe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function cd(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ae(t.type)&&Ur(),null;case 3:return Yt(),F(se),F(re),pi(),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(mr(t)?t.flags|=4:r.hydrate||(t.flags|=256)),go(t),null;case 5:di(t);var l=ft(Yn.current);if(n=t.type,e!==null&&t.stateNode!=null)Ba(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(t.stateNode===null)throw Error(w(166));return null}if(e=ft(Ne.current),mr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ae]=t,r[Fr]=o,n){case"dialog":D("cancel",r),D("close",r);break;case"iframe":case"object":case"embed":D("load",r);break;case"video":case"audio":for(e=0;e<wn.length;e++)D(wn[e],r);break;case"source":D("error",r);break;case"img":case"image":case"link":D("error",r),D("load",r);break;case"details":D("toggle",r);break;case"input":Ai(r,o),D("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},D("invalid",r);break;case"textarea":$i(r,o),D("invalid",r)}Jl(n,o),e=null;for(var i in o)o.hasOwnProperty(i)&&(l=o[i],i==="children"?typeof l=="string"?r.textContent!==l&&(e=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(e=["children",""+l]):zn.hasOwnProperty(i)&&l!=null&&i==="onScroll"&&D("scroll",r));switch(n){case"input":ar(r),Bi(r,o,!0);break;case"textarea":ar(r),Vi(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Dr)}r=e,t.updateQueue=r,r!==null&&(t.flags|=4)}else{switch(i=l.nodeType===9?l:l.ownerDocument,e===Gl.html&&(e=Is(n)),e===Gl.html?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ae]=t,e[Fr]=r,Aa(e,t,!1,!1),t.stateNode=e,i=ql(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;l<wn.length;l++)D(wn[l],e);l=r;break;case"source":D("error",e),l=r;break;case"img":case"image":case"link":D("error",e),D("load",e),l=r;break;case"details":D("toggle",e),l=r;break;case"input":Ai(e,r),l=Hl(e,r),D("invalid",e);break;case"option":l=Xl(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=U({},r,{value:void 0}),D("invalid",e);break;case"textarea":$i(e,r),l=Kl(e,r),D("invalid",e);break;default:l=r}Jl(n,l);var u=l;for(o in u)if(u.hasOwnProperty(o)){var s=u[o];o==="style"?Us(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Ds(e,s)):o==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&In(e,s):typeof s=="number"&&In(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(zn.hasOwnProperty(o)?s!=null&&o==="onScroll"&&D("scroll",e):s!=null&&Ao(e,o,s,i))}switch(n){case"input":ar(e),Bi(e,r,!1);break;case"textarea":ar(e),Vi(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ze(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?zt(e,!!r.multiple,o,!1):r.defaultValue!=null&&zt(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Dr)}ha(n,r)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)$a(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(w(166));n=ft(Yn.current),ft(Ne.current),mr(t)?(r=t.stateNode,n=t.memoizedProps,r[Ae]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ae]=t,t.stateNode=r)}return null;case 13:return F(A),r=t.memoizedState,t.flags&64?(t.lanes=n,t):(r=r!==null,n=!1,e===null?t.memoizedProps.fallback!==void 0&&mr(t):n=e.memoizedState!==null,r&&!n&&t.mode&2&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||A.current&1?Z===0&&(Z=3):((Z===0||Z===3)&&(Z=4),le===null||!(tr&134217727)&&!(qt&134217727)||Bt(le,ne))),(r||n)&&(t.flags|=4),null);case 4:return Yt(),go(t),e===null&&fa(t.stateNode.containerInfo),null;case 10:return ci(t),null;case 17:return ae(t.type)&&Ur(),null;case 19:if(F(A),r=t.memoizedState,r===null)return null;if(o=(t.flags&64)!==0,i=r.rendering,i===null)if(o)hn(r,!1);else{if(Z!==0||e!==null&&e.flags&64)for(e=t.child;e!==null;){if(i=Hr(e),i!==null){for(t.flags|=64,hn(r,!1),o=i.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),r.lastEffect===null&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return B(A,A.current&1|2),t.child}e=e.sibling}r.tail!==null&&te()>_o&&(t.flags|=64,o=!0,hn(r,!1),t.lanes=33554432)}else{if(!o)if(e=Hr(i),e!==null){if(t.flags|=64,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hn(r,!0),r.tail===null&&r.tailMode==="hidden"&&!i.alternate&&!Pe)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*te()-r.renderingStartTime>_o&&n!==1073741824&&(t.flags|=64,o=!0,hn(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(n=r.last,n!==null?n.sibling=i:t.child=i,r.last=i)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=te(),n.sibling=null,t=A.current,B(A,o?t&1|2:t&1),n):null;case 23:case 24:return Si(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(w(156,t.tag))}function fd(e){switch(e.tag){case 1:ae(e.type)&&Ur();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Yt(),F(se),F(re),pi(),t=e.flags,t&64)throw Error(w(285));return e.flags=t&-4097|64,e;case 5:return di(e),null;case 13:return F(A),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return F(A),null;case 4:return Yt(),null;case 10:return ci(e),null;case 23:case 24:return Si(),null;default:return null}}function wi(e,t){try{var n="",r=t;do n+=Wc(r),r=r.return;while(r);var l=n}catch(o){l=`
|
|
39
|
+
Error generating stack: `+o.message+`
|
|
40
|
+
`+o.stack}return{value:e,source:t,stack:l}}function wo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dd=typeof WeakMap=="function"?WeakMap:Map;function Va(e,t,n){n=Qe(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Jr||(Jr=!0,Co=r),wo(e,t)},n}function Wa(e,t,n){n=Qe(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return wo(e,t),r(l)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(Ce===null?Ce=new Set([this]):Ce.add(this),wo(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}var pd=typeof WeakSet=="function"?WeakSet:Set;function Bu(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){Ge(e,n)}else t.current=null}function hd(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:Ee(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&ii(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(w(163))}function md(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var l=e;r=l.next,l=l.tag,l&4&&l&1&&(qa(n,e),Sd(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ee(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&Eu(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}Eu(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&ha(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&Ks(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(w(163))}function $u(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var l=n.memoizedProps.style;l=l!=null&&l.hasOwnProperty("display")?l.display:null,r.style.display=Fs("display",l)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Vu(e,t){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(ui,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,l=r.destroy;if(r=r.tag,l!==void 0)if(r&4)qa(t,n);else{r=t;try{l()}catch(o){Ge(r,o)}}n=n.next}while(n!==e)}break;case 1:if(Bu(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Ge(t,o)}break;case 5:Bu(t);break;case 4:Ha(e,t)}}function Wu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Hu(e){return e.tag===5||e.tag===3||e.tag===4}function Qu(e){e:{for(var t=e.return;t!==null;){if(Hu(t))break e;t=t.return}throw Error(w(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(w(161))}n.flags&16&&(In(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||Hu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?xo(e,n,t):Eo(e,n,t)}function xo(e,t,n){var r=e.tag,l=r===5||r===6;if(l)e=l?e.stateNode:e.stateNode.instance,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Dr));else if(r!==4&&(e=e.child,e!==null))for(xo(e,t,n),e=e.sibling;e!==null;)xo(e,t,n),e=e.sibling}function Eo(e,t,n){var r=e.tag,l=r===5||r===6;if(l)e=l?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Eo(e,t,n),e=e.sibling;e!==null;)Eo(e,t,n),e=e.sibling}function Ha(e,t){for(var n=t,r=!1,l,o;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(w(160));switch(l=r.stateNode,r.tag){case 5:o=!1;break e;case 3:l=l.containerInfo,o=!0;break e;case 4:l=l.containerInfo,o=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var i=e,u=n,s=u;;)if(Vu(i,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===u)break e;for(;s.sibling===null;){if(s.return===null||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(i=l,u=n.stateNode,i.nodeType===8?i.parentNode.removeChild(u):i.removeChild(u)):l.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){l=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(Vu(e,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Ul(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)===3&&(e=r.destroy,r.destroy=void 0,e!==void 0&&e()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,n!=null){r=t.memoizedProps;var l=e!==null?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(n[Fr]=r,e==="input"&&r.type==="radio"&&r.name!=null&&Ms(n,r),ql(e,l),t=ql(e,r),l=0;l<o.length;l+=2){var i=o[l],u=o[l+1];i==="style"?Us(n,u):i==="dangerouslySetInnerHTML"?Ds(n,u):i==="children"?In(n,u):Ao(n,i,u,t)}switch(e){case"input":Ql(n,r);break;case"textarea":zs(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,o=r.value,o!=null?zt(n,!!r.multiple,o,!1):e!==!!r.multiple&&(r.defaultValue!=null?zt(n,!!r.multiple,r.defaultValue,!0):zt(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(w(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:n=t.stateNode,n.hydrate&&(n.hydrate=!1,Ks(n.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(ki=te(),$u(t.child,!0)),Yu(t);return;case 19:Yu(t);return;case 17:return;case 23:case 24:$u(t,t.memoizedState!==null);return}throw Error(w(163))}function Yu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new pd),t.forEach(function(r){var l=Nd.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function vd(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var yd=Math.ceil,Zr=wt.ReactCurrentDispatcher,xi=wt.ReactCurrentOwner,T=0,le=null,H=null,ne=0,yt=0,ko=tt(0),Z=0,cl=null,Jt=0,tr=0,qt=0,Ei=0,So=null,ki=0,_o=1/0;function bt(){_o=te()+500}var N=null,Jr=!1,Co=null,Ce=null,be=!1,Rn=null,xn=90,No=[],Po=[],Me=null,On=0,jo=null,Nr=-1,Te=0,Pr=0,Mn=null,jr=!1;function ce(){return T&48?te():Nr!==-1?Nr:Nr=te()}function Xe(e){if(e=e.mode,!(e&2))return 1;if(!(e&4))return Qt()===99?1:2;if(Te===0&&(Te=Jt),ld.transition!==0){Pr!==0&&(Pr=So!==null?So.pendingLanes:0),e=Te;var t=4186112&~Pr;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Qt(),T&4&&e===98?e=zr(12,Te):(e=of(e),e=zr(e,Te)),e}function Ke(e,t,n){if(50<On)throw On=0,jo=null,Error(w(185));if(e=fl(e,t),e===null)return null;rl(e,t,n),e===le&&(qt|=t,Z===4&&Bt(e,ne));var r=Qt();t===1?T&8&&!(T&48)?Lo(e):(ye(e,n),T===0&&(bt(),je())):(!(T&4)||r!==98&&r!==99||(Me===null?Me=new Set([e]):Me.add(e)),ye(e,n)),So=e}function fl(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}function ye(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,l=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var u=31-Je(i),s=1<<u,f=o[u];if(f===-1){if(!(s&r)||s&l){f=t,Ct(s);var m=I;o[u]=10<=m?f+250:6<=m?f+5e3:-1}}else f<=t&&(e.expiredLanes|=s);i&=~s}if(r=An(e,e===le?ne:0),t=I,r===0)n!==null&&(n!==Ml&&ao(n),e.callbackNode=null,e.callbackPriority=0);else{if(n!==null){if(e.callbackPriority===t)return;n!==Ml&&ao(n)}t===15?(n=Lo.bind(null,e),Le===null?(Le=[n],Cr=si(sl,ka)):Le.push(n),n=Ml):t===14?n=Wn(99,Lo.bind(null,e)):(n=uf(t),n=Wn(n,Qa.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function Qa(e){if(Nr=-1,Pr=Te=0,T&48)throw Error(w(327));var t=e.callbackNode;if(nt()&&e.callbackNode!==t)return null;var n=An(e,e===le?ne:0);if(n===0)return null;var r=n,l=T;T|=16;var o=Ga();(le!==e||ne!==r)&&(bt(),$t(e,r));do try{xd();break}catch(u){Ka(e,u)}while(!0);if(ai(),Zr.current=o,T=l,H!==null?r=0:(le=null,ne=0,r=Z),Jt&qt)$t(e,0);else if(r!==0){if(r===2&&(T|=64,e.hydrate&&(e.hydrate=!1,ii(e.containerInfo)),n=ta(e),n!==0&&(r=En(e,n))),r===1)throw t=cl,$t(e,0),Bt(e,n),ye(e,te()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(w(345));case 2:ut(e);break;case 3:if(Bt(e,n),(n&62914560)===n&&(r=ki+500-te(),10<r)){if(An(e,0)!==0)break;if(l=e.suspendedLanes,(l&n)!==n){ce(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=pu(ut.bind(null,e),r);break}ut(e);break;case 4:if(Bt(e,n),(n&4186112)===n)break;for(r=e.eventTimes,l=-1;0<n;){var i=31-Je(n);o=1<<i,i=r[i],i>l&&(l=i),n&=~o}if(n=l,n=te()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*yd(n/1960))-n,10<n){e.timeoutHandle=pu(ut.bind(null,e),n);break}ut(e);break;case 5:ut(e);break;default:throw Error(w(329))}}return ye(e,te()),e.callbackNode===t?Qa.bind(null,e):null}function Bt(e,t){for(t&=~Ei,t&=~qt,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Je(t),r=1<<n;e[n]=-1,t&=~r}}function Lo(e){if(T&48)throw Error(w(327));if(nt(),e===le&&e.expiredLanes&ne){var t=ne,n=En(e,t);Jt&qt&&(t=An(e,t),n=En(e,t))}else t=An(e,0),n=En(e,t);if(e.tag!==0&&n===2&&(T|=64,e.hydrate&&(e.hydrate=!1,ii(e.containerInfo)),t=ta(e),t!==0&&(n=En(e,t))),n===1)throw n=cl,$t(e,0),Bt(e,t),ye(e,te()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,ut(e),ye(e,te()),null}function gd(){if(Me!==null){var e=Me;Me=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,ye(t,te())})}je()}function Ya(e,t){var n=T;T|=1;try{return e(t)}finally{T=n,T===0&&(bt(),je())}}function Xa(e,t){var n=T;T&=-2,T|=8;try{return e(t)}finally{T=n,T===0&&(bt(),je())}}function yr(e,t){B(ko,yt),yt|=t,Jt|=t}function Si(){yt=ko.current,F(ko)}function $t(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,qf(n)),H!==null)for(n=H.return;n!==null;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ur();break;case 3:Yt(),F(se),F(re),pi();break;case 5:di(r);break;case 4:Yt();break;case 13:F(A);break;case 19:F(A);break;case 10:ci(r);break;case 23:case 24:Si()}n=n.return}le=e,H=et(e.current,null),ne=yt=Jt=t,Z=0,cl=null,Ei=qt=tr=0}function Ka(e,t){do{var n=H;try{if(ai(),Ln.current=Gr,Qr){for(var r=V.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Qr=!1}if(Xn=0,G=ee=V=null,Tn=!1,xi.current=null,n===null||n.return===null){Z=1,cl=t,H=null;break}e:{var o=e,i=n.return,u=n,s=t;if(t=ne,u.flags|=2048,u.firstEffect=u.lastEffect=null,s!==null&&typeof s=="object"&&typeof s.then=="function"){var f=s;if(!(u.mode&2)){var m=u.alternate;m?(u.updateQueue=m.updateQueue,u.memoizedState=m.memoizedState,u.lanes=m.lanes):(u.updateQueue=null,u.memoizedState=null)}var g=(A.current&1)!==0,p=i;do{var E;if(E=p.tag===13){var C=p.memoizedState;if(C!==null)E=C.dehydrated!==null;else{var k=p.memoizedProps;E=k.fallback===void 0?!1:k.unstable_avoidThisFallback!==!0?!0:!g}}if(E){var c=p.updateQueue;if(c===null){var a=new Set;a.add(f),p.updateQueue=a}else c.add(f);if(!(p.mode&2)){if(p.flags|=64,u.flags|=16384,u.flags&=-2981,u.tag===1)if(u.alternate===null)u.tag=17;else{var d=Qe(-1,1);d.tag=2,Ye(u,d)}u.lanes|=1;break e}s=void 0,u=t;var h=o.pingCache;if(h===null?(h=o.pingCache=new dd,s=new Set,h.set(f,s)):(s=h.get(f),s===void 0&&(s=new Set,h.set(f,s))),!s.has(u)){s.add(u);var y=Cd.bind(null,o,f,u);f.then(y,y)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(p!==null);s=Error((Mt(u.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
41
|
+
|
|
42
|
+
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Z!==5&&(Z=2),s=wi(s,u),p=i;do{switch(p.tag){case 3:o=s,p.flags|=4096,t&=-t,p.lanes|=t;var j=Va(p,o,t);xu(p,j);break e;case 1:o=s;var S=p.type,L=p.stateNode;if(!(p.flags&64)&&(typeof S.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(Ce===null||!Ce.has(L)))){p.flags|=4096,t&=-t,p.lanes|=t;var O=Wa(p,o,t);xu(p,O);break e}}p=p.return}while(p!==null)}Ja(n)}catch(P){t=P,H===n&&n!==null&&(H=n=n.return);continue}break}while(!0)}function Ga(){var e=Zr.current;return Zr.current=Gr,e===null?Gr:e}function En(e,t){var n=T;T|=16;var r=Ga();le===e&&ne===t||$t(e,t);do try{wd();break}catch(l){Ka(e,l)}while(!0);if(ai(),T=n,Zr.current=r,H!==null)throw Error(w(261));return le=null,ne=0,Z}function wd(){for(;H!==null;)Za(H)}function xd(){for(;H!==null&&!td();)Za(H)}function Za(e){var t=ba(e.alternate,e,yt);e.memoizedProps=e.pendingProps,t===null?Ja(e):H=t,xi.current=null}function Ja(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&2048){if(n=fd(t),n!==null){n.flags&=2047,H=n;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(n=cd(n,t,yt),n!==null){H=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||yt&1073741824||!(n.mode&4)){for(var r=0,l=n.child;l!==null;)r|=l.lanes|l.childLanes,l=l.sibling;n.childLanes=r}e!==null&&!(e.flags&2048)&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(t=t.sibling,t!==null){H=t;return}H=t=e}while(t!==null);Z===0&&(Z=5)}function ut(e){var t=Qt();return vt(99,Ed.bind(null,e,t)),null}function Ed(e,t){do nt();while(Rn!==null);if(T&48)throw Error(w(327));var n=e.finishedWork;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(w(177));e.callbackNode=null;var r=n.lanes|n.childLanes,l=r,o=e.pendingLanes&~l;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=l,e.mutableReadLanes&=l,e.entangledLanes&=l,l=e.entanglements;for(var i=e.eventTimes,u=e.expirationTimes;0<o;){var s=31-Je(o),f=1<<s;l[s]=0,i[s]=-1,u[s]=-1,o&=~f}if(Me!==null&&!(r&24)&&Me.has(e)&&Me.delete(e),e===le&&(H=le=null,ne=0),1<n.flags?n.lastEffect!==null?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,r!==null){if(l=T,T|=32,xi.current=null,Tl=Er,i=iu(),lo(i)){if("selectionStart"in i)u={start:i.selectionStart,end:i.selectionEnd};else e:if(u=(u=i.ownerDocument)&&u.defaultView||window,(f=u.getSelection&&u.getSelection())&&f.rangeCount!==0){u=f.anchorNode,o=f.anchorOffset,s=f.focusNode,f=f.focusOffset;try{u.nodeType,s.nodeType}catch{u=null;break e}var m=0,g=-1,p=-1,E=0,C=0,k=i,c=null;t:for(;;){for(var a;k!==u||o!==0&&k.nodeType!==3||(g=m+o),k!==s||f!==0&&k.nodeType!==3||(p=m+f),k.nodeType===3&&(m+=k.nodeValue.length),(a=k.firstChild)!==null;)c=k,k=a;for(;;){if(k===i)break t;if(c===u&&++E===o&&(g=m),c===s&&++C===f&&(p=m),(a=k.nextSibling)!==null)break;k=c,c=k.parentNode}k=a}u=g===-1||p===-1?null:{start:g,end:p}}else u=null;u=u||{start:0,end:0}}else u=null;Rl={focusedElem:i,selectionRange:u},Er=!1,Mn=null,jr=!1,N=r;do try{kd()}catch(P){if(N===null)throw Error(w(330));Ge(N,P),N=N.nextEffect}while(N!==null);Mn=null,N=r;do try{for(i=e;N!==null;){var d=N.flags;if(d&16&&In(N.stateNode,""),d&128){var h=N.alternate;if(h!==null){var y=h.ref;y!==null&&(typeof y=="function"?y(null):y.current=null)}}switch(d&1038){case 2:Qu(N),N.flags&=-3;break;case 6:Qu(N),N.flags&=-3,Ul(N.alternate,N);break;case 1024:N.flags&=-1025;break;case 1028:N.flags&=-1025,Ul(N.alternate,N);break;case 4:Ul(N.alternate,N);break;case 8:u=N,Ha(i,u);var j=u.alternate;Wu(u),j!==null&&Wu(j)}N=N.nextEffect}}catch(P){if(N===null)throw Error(w(330));Ge(N,P),N=N.nextEffect}while(N!==null);if(y=Rl,h=iu(),d=y.focusedElem,i=y.selectionRange,h!==d&&d&&d.ownerDocument&&aa(d.ownerDocument.documentElement,d)){for(i!==null&&lo(d)&&(h=i.start,y=i.end,y===void 0&&(y=h),"selectionStart"in d?(d.selectionStart=h,d.selectionEnd=Math.min(y,d.value.length)):(y=(h=d.ownerDocument||document)&&h.defaultView||window,y.getSelection&&(y=y.getSelection(),u=d.textContent.length,j=Math.min(i.start,u),i=i.end===void 0?j:Math.min(i.end,u),!y.extend&&j>i&&(u=i,i=j,j=u),u=ou(d,j),o=ou(d,i),u&&o&&(y.rangeCount!==1||y.anchorNode!==u.node||y.anchorOffset!==u.offset||y.focusNode!==o.node||y.focusOffset!==o.offset)&&(h=h.createRange(),h.setStart(u.node,u.offset),y.removeAllRanges(),j>i?(y.addRange(h),y.extend(o.node,o.offset)):(h.setEnd(o.node,o.offset),y.addRange(h)))))),h=[],y=d;y=y.parentNode;)y.nodeType===1&&h.push({element:y,left:y.scrollLeft,top:y.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<h.length;d++)y=h[d],y.element.scrollLeft=y.left,y.element.scrollTop=y.top}Er=!!Tl,Rl=Tl=null,e.current=n,N=r;do try{for(d=e;N!==null;){var S=N.flags;if(S&36&&md(d,N.alternate,N),S&128){h=void 0;var L=N.ref;if(L!==null){var O=N.stateNode;switch(N.tag){case 5:h=O;break;default:h=O}typeof L=="function"?L(h):L.current=h}}N=N.nextEffect}}catch(P){if(N===null)throw Error(w(330));Ge(N,P),N=N.nextEffect}while(N!==null);N=null,rd(),T=l}else e.current=n;if(be)be=!1,Rn=e,xn=t;else for(N=r;N!==null;)t=N.nextEffect,N.nextEffect=null,N.flags&8&&(S=N,S.sibling=null,S.stateNode=null),N=t;if(r=e.pendingLanes,r===0&&(Ce=null),r===1?e===jo?On++:(On=0,jo=e):On=0,n=n.stateNode,pt&&typeof pt.onCommitFiberRoot=="function")try{pt.onCommitFiberRoot(ui,n,void 0,(n.current.flags&64)===64)}catch{}if(ye(e,te()),Jr)throw Jr=!1,e=Co,Co=null,e;return T&8||je(),null}function kd(){for(;N!==null;){var e=N.alternate;jr||Mn===null||(N.flags&8?Qi(N,Mn)&&(jr=!0):N.tag===13&&vd(e,N)&&Qi(N,Mn)&&(jr=!0));var t=N.flags;t&256&&hd(e,N),!(t&512)||be||(be=!0,Wn(97,function(){return nt(),null})),N=N.nextEffect}}function nt(){if(xn!==90){var e=97<xn?97:xn;return xn=90,vt(e,_d)}return!1}function Sd(e,t){No.push(t,e),be||(be=!0,Wn(97,function(){return nt(),null}))}function qa(e,t){Po.push(t,e),be||(be=!0,Wn(97,function(){return nt(),null}))}function _d(){if(Rn===null)return!1;var e=Rn;if(Rn=null,T&48)throw Error(w(331));var t=T;T|=32;var n=Po;Po=[];for(var r=0;r<n.length;r+=2){var l=n[r],o=n[r+1],i=l.destroy;if(l.destroy=void 0,typeof i=="function")try{i()}catch(s){if(o===null)throw Error(w(330));Ge(o,s)}}for(n=No,No=[],r=0;r<n.length;r+=2){l=n[r],o=n[r+1];try{var u=l.create;l.destroy=u()}catch(s){if(o===null)throw Error(w(330));Ge(o,s)}}for(u=e.current.firstEffect;u!==null;)e=u.nextEffect,u.nextEffect=null,u.flags&8&&(u.sibling=null,u.stateNode=null),u=e;return T=t,je(),!0}function Xu(e,t,n){t=wi(n,t),t=Va(e,t,1),Ye(e,t),t=ce(),e=fl(e,1),e!==null&&(rl(e,1,t),ye(e,t))}function Ge(e,t){if(e.tag===3)Xu(e,e,t);else for(var n=e.return;n!==null;){if(n.tag===3){Xu(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ce===null||!Ce.has(r))){e=wi(t,e);var l=Wa(n,e,1);if(Ye(n,l),l=ce(),n=fl(n,1),n!==null)rl(n,1,l),ye(n,l);else if(typeof r.componentDidCatch=="function"&&(Ce===null||!Ce.has(r)))try{r.componentDidCatch(t,e)}catch{}break}}n=n.return}}function Cd(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ce(),e.pingedLanes|=e.suspendedLanes&n,le===e&&(ne&n)===n&&(Z===4||Z===3&&(ne&62914560)===ne&&500>te()-ki?$t(e,0):Ei|=n),ye(e,t)}function Nd(e,t){var n=e.stateNode;n!==null&&n.delete(t),t=0,t===0&&(t=e.mode,t&2?t&4?(Te===0&&(Te=Jt),t=Nt(62914560&~Te),t===0&&(t=4194304)):t=Qt()===99?1:2:t=1),n=ce(),e=fl(e,t),e!==null&&(rl(e,t,n),ye(e,n))}var ba;ba=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||se.current)ke=!0;else if(n&r)ke=!!(e.flags&16384);else{switch(ke=!1,t.tag){case 3:Mu(t),Il();break;case 5:_u(t);break;case 1:ae(t.type)&&_r(t);break;case 4:po(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var l=t.type._context;B(Ar,l._currentValue),l._currentValue=r;break;case 13:if(t.memoizedState!==null)return n&t.child.childLanes?zu(e,t,n):(B(A,A.current&1),t=Oe(e,t,n),t!==null?t.sibling:null);B(A,A.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&64){if(r)return Au(e,t,n);t.flags|=64}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),B(A,A.current),r)break;return null;case 23:case 24:return t.lanes=0,Dl(e,t,n)}return Oe(e,t,n)}else ke=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,l=Ht(t,re.current),Ut(t,n),l=mi(null,t,r,e,l,n),t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ae(r)){var o=!0;_r(t)}else o=!1;t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,fi(t);var i=r.getDerivedStateFromProps;typeof i=="function"&&Vr(t,r,i,e),l.updater=al,t.stateNode=l,l._reactInternals=t,fo(t,r,e,n),t=yo(null,t,r,!0,o,n)}else t.tag=0,ue(null,t,l,n),t=t.child;return t;case 16:l=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=l._init,l=o(l._payload),t.type=l,o=t.tag=jd(l),e=Ee(l,e),o){case 0:t=vo(null,t,l,e,n);break e;case 1:t=Ou(null,t,l,e,n);break e;case 11:t=Tu(null,t,l,e,n);break e;case 14:t=Ru(null,t,l,Ee(l.type,e),r,n);break e}throw Error(w(306,l,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ee(r,l),vo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ee(r,l),Ou(e,t,r,l,n);case 3:if(Mu(t),r=t.updateQueue,e===null||r===null)throw Error(w(282));if(r=t.pendingProps,l=t.memoizedState,l=l!==null?l.element:null,_a(e,t),Hn(t,r,null,n),r=t.memoizedState.element,r===l)Il(),t=Oe(e,t,n);else{if(l=t.stateNode,(o=l.hydrate)&&(Be=Ft(t.stateNode.containerInfo.firstChild),Re=t,o=Pe=!0),o){if(e=l.mutableSourceEagerHydrationData,e!=null)for(l=0;l<e.length;l+=2)o=e[l],o._workInProgressVersionPrimary=e[l+1],At.push(o);for(n=ja(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|1024,n=n.sibling}else ue(e,t,r,n),Il();t=t.child}return t;case 5:return _u(t),e===null&&ho(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,uo(r,l)?i=null:o!==null&&uo(r,o)&&(t.flags|=16),Ua(e,t),ue(e,t,i,n),t.child;case 6:return e===null&&ho(t),null;case 13:return zu(e,t,n);case 4:return po(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Wr(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ee(r,l),Tu(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value;var u=t.type._context;if(B(Ar,u._currentValue),u._currentValue=o,i!==null)if(u=i.value,o=pe(u,o)?0:(typeof r._calculateChangedBits=="function"?r._calculateChangedBits(u,o):1073741823)|0,o===0){if(i.children===l.children&&!se.current){t=Oe(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var s=u.dependencies;if(s!==null){i=u.child;for(var f=s.firstContext;f!==null;){if(f.context===r&&f.observedBits&o){u.tag===1&&(f=Qe(-1,n&-n),f.tag=2,Ye(u,f)),u.lanes|=n,f=u.alternate,f!==null&&(f.lanes|=n),Sa(u.return,n),s.lanes|=n;break}f=f.next}}else i=u.tag===10&&u.type===t.type?null:u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===t){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,o=t.pendingProps,r=o.children,Ut(t,n),l=ve(l,o.unstable_observedBits),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return l=t.type,o=Ee(l,t.pendingProps),o=Ee(l.type,o),Ru(e,t,l,o,r,n);case 15:return Fa(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ee(r,l),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ae(r)?(e=!0,_r(t)):e=!1,Ut(t,n),Na(t,r,l),fo(t,r,l,n),yo(null,t,r,!0,e,n);case 19:return Au(e,t,n);case 23:return Dl(e,t,n);case 24:return Dl(e,t,n)}throw Error(w(156,t.tag))};function Pd(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.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function he(e,t,n,r){return new Pd(e,t,n,r)}function _i(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jd(e){if(typeof e=="function")return _i(e)?1:0;if(e!=null){if(e=e.$$typeof,e===el)return 11;if(e===tl)return 14}return 2}function et(e,t){var n=e.alternate;return n===null?(n=he(e.tag,t,e.key,e.mode),n.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.nextEffect=null,n.firstEffect=null,n.lastEffect=null),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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")_i(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Fe:return Vt(n.children,l,o,t);case Ts:i=8,l|=16;break;case Bo:i=8,l|=1;break;case kn:return e=he(12,n,t,l|8),e.elementType=kn,e.type=kn,e.lanes=o,e;case Sn:return e=he(13,n,t,l),e.type=Sn,e.elementType=Sn,e.lanes=o,e;case Tr:return e=he(19,n,t,l),e.elementType=Tr,e.lanes=o,e;case Yo:return Ci(n,l,o,t);case Wl:return e=he(24,n,t,l),e.elementType=Wl,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $o:i=10;break e;case Vo:i=9;break e;case el:i=11;break e;case tl:i=14;break e;case Wo:i=16,r=null;break e;case Ho:i=22;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=he(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Vt(e,t,n,r){return e=he(7,e,r,t),e.lanes=n,e}function Ci(e,t,n,r){return e=he(23,e,r,t),e.elementType=Yo,e.lanes=n,e}function Al(e,t,n){return e=he(6,e,null,t),e.lanes=n,e}function Bl(e,t,n){return t=he(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ld(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Sl(0),this.expirationTimes=Sl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Sl(0),this.mutableSourceEagerHydrationData=null}function Td(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:st,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function qr(e,t,n,r){var l=t.current,o=ce(),i=Xe(l);e:if(n){n=n._reactInternals;t:{if(xt(n)!==n||n.tag!==1)throw Error(w(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(ae(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(u!==null);throw Error(w(171))}if(n.tag===1){var s=n.type;if(ae(s)){n=va(n,s,u);break e}}n=u}else n=qe;return t.context===null?t.context=n:t.pendingContext=n,t=Qe(o,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),Ye(l,t),Ke(l,i,o),i}function $l(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ku(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ni(e,t){Ku(e,t),(e=e.alternate)&&Ku(e,t)}function Rd(){return null}function Pi(e,t,n){var r=n!=null&&n.hydrationOptions!=null&&n.hydrationOptions.mutableSources||null;if(n=new Ld(e,t,n!=null&&n.hydrate===!0),t=he(3,null,null,t===2?7:t===1?3:0),n.current=t,t.stateNode=n,fi(t),e[Zt]=n.current,fa(e.nodeType===8?e.parentNode:e),r)for(e=0;e<r.length;e++){t=r[e];var l=t._getVersion;l=l(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l)}this._internalRoot=n}Pi.prototype.render=function(e){qr(e,this._internalRoot,null,null)};Pi.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;qr(null,e,null,function(){t[Zt]=null})};function nr(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Od(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Pi(e,0,t?{hydrate:!0}:void 0)}function dl(e,t,n,r,l){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if(typeof l=="function"){var u=l;l=function(){var f=$l(i);u.call(f)}}qr(t,i,e,l)}else{if(o=n._reactRootContainer=Od(n,r),i=o._internalRoot,typeof l=="function"){var s=l;l=function(){var f=$l(i);s.call(f)}}Xa(function(){qr(t,i,e,l)})}return $l(i)}Qs=function(e){if(e.tag===13){var t=ce();Ke(e,4,t),Ni(e,4)}};Jo=function(e){if(e.tag===13){var t=ce();Ke(e,67108864,t),Ni(e,67108864)}};Ys=function(e){if(e.tag===13){var t=ce(),n=Xe(e);Ke(e,n,t),Ni(e,n)}};Xs=function(e,t){return t()};bl=function(e,t,n){switch(t){case"input":if(Ql(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=ul(r);if(!l)throw Error(w(90));Os(r),Ql(r,l)}}}break;case"textarea":zs(e,n);break;case"select":t=n.value,t!=null&&zt(e,!!n.multiple,t,!1)}};Ko=Ya;$s=function(e,t,n,r,l){var o=T;T|=4;try{return vt(98,e.bind(null,t,n,r,l))}finally{T=o,T===0&&(bt(),je())}};Go=function(){!(T&49)&&(gd(),nt())};Vs=function(e,t){var n=T;T|=2;try{return e(t)}finally{T=n,T===0&&(bt(),je())}};function ec(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!nr(t))throw Error(w(200));return Td(e,t,null,n)}var Md={Events:[bn,Tt,ul,As,Bs,nt,{current:!1}]},mn={findFiberByHostInstance:ct,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},zd={bundleType:mn.bundleType,version:mn.version,rendererPackageName:mn.rendererPackageName,rendererConfig:mn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Hs(e),e===null?null:e.stateNode},findFiberByHostInstance:mn.findFiberByHostInstance||Rd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gr.isDisabled&&gr.supportsFiber)try{ui=gr.inject(zd),pt=gr}catch{}}ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Md;ge.createPortal=ec;ge.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(w(188)):Error(w(268,Object.keys(e)));return e=Hs(t),e=e===null?null:e.stateNode,e};ge.flushSync=function(e,t){var n=T;if(n&48)return e(t);T|=1;try{if(e)return vt(99,e.bind(null,t))}finally{T=n,je()}};ge.hydrate=function(e,t,n){if(!nr(t))throw Error(w(200));return dl(null,e,t,!0,n)};ge.render=function(e,t,n){if(!nr(t))throw Error(w(200));return dl(null,e,t,!1,n)};ge.unmountComponentAtNode=function(e){if(!nr(e))throw Error(w(40));return e._reactRootContainer?(Xa(function(){dl(null,null,e,!1,function(){e._reactRootContainer=null,e[Zt]=null})}),!0):!1};ge.unstable_batchedUpdates=Ya;ge.unstable_createPortal=function(e,t){return ec(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};ge.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nr(n))throw Error(w(200));if(e==null||e._reactInternals===void 0)throw Error(w(38));return dl(e,t,n,!1,r)};ge.version="17.0.2";function tc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),Ns.exports=ge;var Id=Ns.exports;/**
|
|
43
|
+
* @remix-run/router v1.23.1
|
|
44
|
+
*
|
|
45
|
+
* Copyright (c) Remix Software Inc.
|
|
46
|
+
*
|
|
47
|
+
* This source code is licensed under the MIT license found in the
|
|
48
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
49
|
+
*
|
|
50
|
+
* @license MIT
|
|
51
|
+
*/function Kn(){return Kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kn.apply(this,arguments)}var $e;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})($e||($e={}));const Gu="popstate";function Dd(e){e===void 0&&(e={});function t(r,l){let{pathname:o,search:i,hash:u}=r.location;return To("",{pathname:o,search:i,hash:u},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(r,l){return typeof l=="string"?l:nc(l)}return Ud(t,n,null,e)}function W(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ji(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Fd(){return Math.random().toString(36).substr(2,8)}function Zu(e,t){return{usr:e.state,key:e.key,idx:t}}function To(e,t,n,r){return n===void 0&&(n=null),Kn({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?en(t):t,{state:n,key:t&&t.key||r||Fd()})}function nc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function en(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Ud(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u=$e.Pop,s=null,f=m();f==null&&(f=0,i.replaceState(Kn({},i.state,{idx:f}),""));function m(){return(i.state||{idx:null}).idx}function g(){u=$e.Pop;let c=m(),a=c==null?null:c-f;f=c,s&&s({action:u,location:k.location,delta:a})}function p(c,a){u=$e.Push;let d=To(k.location,c,a);f=m()+1;let h=Zu(d,f),y=k.createHref(d);try{i.pushState(h,"",y)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;l.location.assign(y)}o&&s&&s({action:u,location:k.location,delta:1})}function E(c,a){u=$e.Replace;let d=To(k.location,c,a);f=m();let h=Zu(d,f),y=k.createHref(d);i.replaceState(h,"",y),o&&s&&s({action:u,location:k.location,delta:0})}function C(c){let a=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof c=="string"?c:nc(c);return d=d.replace(/ $/,"%20"),W(a,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,a)}let k={get action(){return u},get location(){return e(l,i)},listen(c){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(Gu,g),s=c,()=>{l.removeEventListener(Gu,g),s=null}},createHref(c){return t(l,c)},createURL:C,encodeLocation(c){let a=C(c);return{pathname:a.pathname,search:a.search,hash:a.hash}},push:p,replace:E,go(c){return i.go(c)}};return k}var Ju;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ju||(Ju={}));function Ad(e,t,n){return n===void 0&&(n="/"),Bd(e,t,n)}function Bd(e,t,n,r){let l=typeof t=="string"?en(t):t,o=oc(l.pathname||"/",n);if(o==null)return null;let i=rc(e);$d(i);let u=null;for(let s=0;u==null&&s<i.length;++s){let f=bd(o);u=Zd(i[s],f)}return u}function rc(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let l=(o,i,u)=>{let s={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(W(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 f=ht([r,s.relativePath]),m=n.concat(s);o.children&&o.children.length>0&&(W(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+f+'".')),rc(o.children,t,m,f)),!(o.path==null&&!o.index)&&t.push({path:f,score:Kd(f,o.index),routesMeta:m})};return e.forEach((o,i)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))l(o,i);else for(let s of lc(o.path))l(o,i,s)}),t}function lc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=lc(r.join("/")),u=[];return u.push(...i.map(s=>s===""?o:[o,s].join("/"))),l&&u.push(...i),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function $d(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Gd(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Vd=/^:[\w-]+$/,Wd=3,Hd=2,Qd=1,Yd=10,Xd=-2,qu=e=>e==="*";function Kd(e,t){let n=e.split("/"),r=n.length;return n.some(qu)&&(r+=Xd),t&&(r+=Hd),n.filter(l=>!qu(l)).reduce((l,o)=>l+(Vd.test(o)?Wd:o===""?Qd:Yd),r)}function Gd(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Zd(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let u=0;u<r.length;++u){let s=r[u],f=u===r.length-1,m=o==="/"?t:t.slice(o.length)||"/",g=Jd({path:s.relativePath,caseSensitive:s.caseSensitive,end:f},m),p=s.route;if(!g)return null;Object.assign(l,g.params),i.push({params:l,pathname:ht([o,g.pathname]),pathnameBase:lp(ht([o,g.pathnameBase])),route:p}),g.pathnameBase!=="/"&&(o=ht([o,g.pathnameBase]))}return i}function Jd(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=qd(e.path,e.caseSensitive,e.end),l=t.match(n);if(!l)return null;let o=l[0],i=o.replace(/(.)\/+$/,"$1"),u=l.slice(1);return{params:r.reduce((f,m,g)=>{let{paramName:p,isOptional:E}=m;if(p==="*"){let k=u[g]||"";i=o.slice(0,o.length-k.length).replace(/(.)\/+$/,"$1")}const C=u[g];return E&&!C?f[p]=void 0:f[p]=(C||"").replace(/%2F/g,"/"),f},{}),pathname:o,pathnameBase:i,pattern:e}}function qd(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ji(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=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function bd(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ji(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function oc(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)||"/"}const ep=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,tp=e=>ep.test(e);function np(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?en(e):e,o;if(n)if(tp(n))o=n;else{if(n.includes("//")){let i=n;n=n.replace(/\/\/+/g,"/"),ji(!1,"Pathnames cannot have embedded double slashes - normalizing "+(i+" -> "+n))}n.startsWith("/")?o=bu(n.substring(1),"/"):o=bu(n,t)}else o=t;return{pathname:o,search:op(r),hash:ip(l)}}function bu(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function Vl(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 rp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ic(e,t){let n=rp(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function uc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=en(e):(l=Kn({},e),W(!l.pathname||!l.pathname.includes("?"),Vl("?","pathname","search",l)),W(!l.pathname||!l.pathname.includes("#"),Vl("#","pathname","hash",l)),W(!l.search||!l.search.includes("#"),Vl("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(i==null)u=n;else{let g=t.length-1;if(!r&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),g-=1;l.pathname=p.join("/")}u=g>=0?t[g]:"/"}let s=np(l,u),f=i&&i!=="/"&&i.endsWith("/"),m=(o||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(f||m)&&(s.pathname+="/"),s}const ht=e=>e.join("/").replace(/\/\/+/g,"/"),lp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),op=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ip=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function up(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const sc=["post","put","patch","delete"];new Set(sc);const sp=["get",...sc];new Set(sp);/**
|
|
52
|
+
* React Router v6.30.2
|
|
53
|
+
*
|
|
54
|
+
* Copyright (c) Remix Software Inc.
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the MIT license found in the
|
|
57
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
58
|
+
*
|
|
59
|
+
* @license MIT
|
|
60
|
+
*/function Gn(){return Gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gn.apply(this,arguments)}const Li=x.createContext(null),ap=x.createContext(null),rr=x.createContext(null),pl=x.createContext(null),rt=x.createContext({outlet:null,matches:[],isDataRoute:!1}),ac=x.createContext(null);function lr(){return x.useContext(pl)!=null}function or(){return lr()||W(!1),x.useContext(pl).location}function cc(e){x.useContext(rr).static||x.useLayoutEffect(e)}function Ti(){let{isDataRoute:e}=x.useContext(rt);return e?kp():cp()}function cp(){lr()||W(!1);let e=x.useContext(Li),{basename:t,future:n,navigator:r}=x.useContext(rr),{matches:l}=x.useContext(rt),{pathname:o}=or(),i=JSON.stringify(ic(l,n.v7_relativeSplatPath)),u=x.useRef(!1);return cc(()=>{u.current=!0}),x.useCallback(function(f,m){if(m===void 0&&(m={}),!u.current)return;if(typeof f=="number"){r.go(f);return}let g=uc(f,JSON.parse(i),o,m.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:ht([t,g.pathname])),(m.replace?r.replace:r.push)(g,m.state,m)},[t,r,i,o,e])}function jh(){let{matches:e}=x.useContext(rt),t=e[e.length-1];return t?t.params:{}}function fp(e,t){return dp(e,t)}function dp(e,t,n,r){lr()||W(!1);let{navigator:l}=x.useContext(rr),{matches:o}=x.useContext(rt),i=o[o.length-1],u=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let f=or(),m;if(t){var g;let c=typeof t=="string"?en(t):t;s==="/"||(g=c.pathname)!=null&&g.startsWith(s)||W(!1),m=c}else m=f;let p=m.pathname||"/",E=p;if(s!=="/"){let c=s.replace(/^\//,"").split("/");E="/"+p.replace(/^\//,"").split("/").slice(c.length).join("/")}let C=Ad(e,{pathname:E}),k=yp(C&&C.map(c=>Object.assign({},c,{params:Object.assign({},u,c.params),pathname:ht([s,l.encodeLocation?l.encodeLocation(c.pathname).pathname:c.pathname]),pathnameBase:c.pathnameBase==="/"?s:ht([s,l.encodeLocation?l.encodeLocation(c.pathnameBase).pathname:c.pathnameBase])})),o,n,r);return t&&k?x.createElement(pl.Provider,{value:{location:Gn({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:$e.Pop}},k):k}function pp(){let e=Ep(),t=up(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:l},n):null,null)}const hp=x.createElement(pp,null);class mp extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(rt.Provider,{value:this.props.routeContext},x.createElement(ac.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vp(e){let{routeContext:t,match:n,children:r}=e,l=x.useContext(Li);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(rt.Provider,{value:t},r)}function yp(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let m=i.findIndex(g=>g.route.id&&(u==null?void 0:u[g.route.id])!==void 0);m>=0||W(!1),i=i.slice(0,Math.min(i.length,m+1))}let s=!1,f=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m<i.length;m++){let g=i[m];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(f=m),g.route.id){let{loaderData:p,errors:E}=n,C=g.route.loader&&p[g.route.id]===void 0&&(!E||E[g.route.id]===void 0);if(g.route.lazy||C){s=!0,f>=0?i=i.slice(0,f+1):i=[i[0]];break}}}return i.reduceRight((m,g,p)=>{let E,C=!1,k=null,c=null;n&&(E=u&&g.route.id?u[g.route.id]:void 0,k=g.route.errorElement||hp,s&&(f<0&&p===0?(Sp("route-fallback"),C=!0,c=null):f===p&&(C=!0,c=g.route.hydrateFallbackElement||null)));let a=t.concat(i.slice(0,p+1)),d=()=>{let h;return E?h=k:C?h=c:g.route.Component?h=x.createElement(g.route.Component,null):g.route.element?h=g.route.element:h=m,x.createElement(vp,{match:g,routeContext:{outlet:m,matches:a,isDataRoute:n!=null},children:h})};return n&&(g.route.ErrorBoundary||g.route.errorElement||p===0)?x.createElement(mp,{location:n.location,revalidation:n.revalidation,component:k,error:E,children:d(),routeContext:{outlet:null,matches:a,isDataRoute:!0}}):d()},null)}var fc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(fc||{}),dc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(dc||{});function gp(e){let t=x.useContext(Li);return t||W(!1),t}function wp(e){let t=x.useContext(ap);return t||W(!1),t}function xp(e){let t=x.useContext(rt);return t||W(!1),t}function pc(e){let t=xp(),n=t.matches[t.matches.length-1];return n.route.id||W(!1),n.route.id}function Ep(){var e;let t=x.useContext(ac),n=wp(),r=pc();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function kp(){let{router:e}=gp(fc.UseNavigateStable),t=pc(dc.UseNavigateStable),n=x.useRef(!1);return cc(()=>{n.current=!0}),x.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Gn({fromRouteId:t},o)))},[e,t])}const es={};function Sp(e,t,n){es[e]||(es[e]=!0)}function _p(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function ts(e){let{to:t,replace:n,state:r,relative:l}=e;lr()||W(!1);let{future:o,static:i}=x.useContext(rr),{matches:u}=x.useContext(rt),{pathname:s}=or(),f=Ti(),m=uc(t,ic(u,o.v7_relativeSplatPath),s,l==="path"),g=JSON.stringify(m);return x.useEffect(()=>f(JSON.parse(g),{replace:n,state:r,relative:l}),[f,g,l,n,r]),null}function xe(e){W(!1)}function Cp(e){let{basename:t="/",children:n=null,location:r,navigationType:l=$e.Pop,navigator:o,static:i=!1,future:u}=e;lr()&&W(!1);let s=t.replace(/^\/*/,"/"),f=x.useMemo(()=>({basename:s,navigator:o,static:i,future:Gn({v7_relativeSplatPath:!1},u)}),[s,u,o,i]);typeof r=="string"&&(r=en(r));let{pathname:m="/",search:g="",hash:p="",state:E=null,key:C="default"}=r,k=x.useMemo(()=>{let c=oc(m,s);return c==null?null:{location:{pathname:c,search:g,hash:p,state:E,key:C},navigationType:l}},[s,m,g,p,E,C,l]);return k==null?null:x.createElement(rr.Provider,{value:f},x.createElement(pl.Provider,{children:n,value:k}))}function Np(e){let{children:t,location:n}=e;return fp(Ro(t),n)}new Promise(()=>{});function Ro(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,l)=>{if(!x.isValidElement(r))return;let o=[...t,l];if(r.type===x.Fragment){n.push.apply(n,Ro(r.props.children,o));return}r.type!==xe&&W(!1),!r.props.index||!r.props.children||W(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=Ro(r.props.children,o)),n.push(i)}),n}/**
|
|
61
|
+
* React Router DOM v6.30.2
|
|
62
|
+
*
|
|
63
|
+
* Copyright (c) Remix Software Inc.
|
|
64
|
+
*
|
|
65
|
+
* This source code is licensed under the MIT license found in the
|
|
66
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
67
|
+
*
|
|
68
|
+
* @license MIT
|
|
69
|
+
*/const Pp="6";try{window.__reactRouterVersion=Pp}catch{}const jp="startTransition",ns=Mc[jp];function Lp(e){let{basename:t,children:n,future:r,window:l}=e,o=x.useRef();o.current==null&&(o.current=Dd({window:l,v5Compat:!0}));let i=o.current,[u,s]=x.useState({action:i.action,location:i.location}),{v7_startTransition:f}=r||{},m=x.useCallback(g=>{f&&ns?ns(()=>s(g)):s(g)},[s,f]);return x.useLayoutEffect(()=>i.listen(m),[i,m]),x.useEffect(()=>_p(r),[r]),x.createElement(Cp,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}var rs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(rs||(rs={}));var ls;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ls||(ls={}));/**
|
|
70
|
+
* @license lucide-react v0.555.0 - ISC
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the ISC license.
|
|
73
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/const Tp=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Rp=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),os=e=>{const t=Rp(e);return t.charAt(0).toUpperCase()+t.slice(1)},hc=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),Op=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
|
|
75
|
+
* @license lucide-react v0.555.0 - ISC
|
|
76
|
+
*
|
|
77
|
+
* This source code is licensed under the ISC license.
|
|
78
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
79
|
+
*/var Mp={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
80
|
+
* @license lucide-react v0.555.0 - ISC
|
|
81
|
+
*
|
|
82
|
+
* This source code is licensed under the ISC license.
|
|
83
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
84
|
+
*/const zp=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:l="",children:o,iconNode:i,...u},s)=>x.createElement("svg",{ref:s,...Mp,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:hc("lucide",l),...!o&&!Op(u)&&{"aria-hidden":"true"},...u},[...i.map(([f,m])=>x.createElement(f,m)),...Array.isArray(o)?o:[o]]));/**
|
|
85
|
+
* @license lucide-react v0.555.0 - ISC
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the ISC license.
|
|
88
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
89
|
+
*/const q=(e,t)=>{const n=x.forwardRef(({className:r,...l},o)=>x.createElement(zp,{ref:o,iconNode:t,className:hc(`lucide-${Tp(os(e))}`,`lucide-${e}`,r),...l}));return n.displayName=os(e),n};/**
|
|
90
|
+
* @license lucide-react v0.555.0 - ISC
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the ISC license.
|
|
93
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/const Ip=[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]],Dp=q("app-window",Ip);/**
|
|
95
|
+
* @license lucide-react v0.555.0 - ISC
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the ISC license.
|
|
98
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/const Fp=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],Up=q("bell",Fp);/**
|
|
100
|
+
* @license lucide-react v0.555.0 - ISC
|
|
101
|
+
*
|
|
102
|
+
* This source code is licensed under the ISC license.
|
|
103
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
104
|
+
*/const Ap=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Bp=q("book-open",Ap);/**
|
|
105
|
+
* @license lucide-react v0.555.0 - ISC
|
|
106
|
+
*
|
|
107
|
+
* This source code is licensed under the ISC license.
|
|
108
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
109
|
+
*/const $p=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],Vp=q("brain",$p);/**
|
|
110
|
+
* @license lucide-react v0.555.0 - ISC
|
|
111
|
+
*
|
|
112
|
+
* This source code is licensed under the ISC license.
|
|
113
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
114
|
+
*/const Wp=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Hp=q("chevron-down",Wp);/**
|
|
115
|
+
* @license lucide-react v0.555.0 - ISC
|
|
116
|
+
*
|
|
117
|
+
* This source code is licensed under the ISC license.
|
|
118
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
119
|
+
*/const Qp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Yp=q("circle-alert",Qp);/**
|
|
120
|
+
* @license lucide-react v0.555.0 - ISC
|
|
121
|
+
*
|
|
122
|
+
* This source code is licensed under the ISC license.
|
|
123
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
124
|
+
*/const Xp=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Kp=q("circle-check-big",Xp);/**
|
|
125
|
+
* @license lucide-react v0.555.0 - ISC
|
|
126
|
+
*
|
|
127
|
+
* This source code is licensed under the ISC license.
|
|
128
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
129
|
+
*/const Gp=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],Zp=q("hammer",Gp);/**
|
|
130
|
+
* @license lucide-react v0.555.0 - ISC
|
|
131
|
+
*
|
|
132
|
+
* This source code is licensed under the ISC license.
|
|
133
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
134
|
+
*/const Jp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],mc=q("info",Jp);/**
|
|
135
|
+
* @license lucide-react v0.555.0 - ISC
|
|
136
|
+
*
|
|
137
|
+
* This source code is licensed under the ISC license.
|
|
138
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
139
|
+
*/const qp=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],bp=q("loader-circle",qp);/**
|
|
140
|
+
* @license lucide-react v0.555.0 - ISC
|
|
141
|
+
*
|
|
142
|
+
* This source code is licensed under the ISC license.
|
|
143
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
144
|
+
*/const eh=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],vc=q("refresh-cw",eh);/**
|
|
145
|
+
* @license lucide-react v0.555.0 - ISC
|
|
146
|
+
*
|
|
147
|
+
* This source code is licensed under the ISC license.
|
|
148
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
149
|
+
*/const th=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],yc=q("settings",th);/**
|
|
150
|
+
* @license lucide-react v0.555.0 - ISC
|
|
151
|
+
*
|
|
152
|
+
* This source code is licensed under the ISC license.
|
|
153
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
154
|
+
*/const nh=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],rh=q("shield-check",nh);/**
|
|
155
|
+
* @license lucide-react v0.555.0 - ISC
|
|
156
|
+
*
|
|
157
|
+
* This source code is licensed under the ISC license.
|
|
158
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
159
|
+
*/const lh=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],oh=q("shield",lh);/**
|
|
160
|
+
* @license lucide-react v0.555.0 - ISC
|
|
161
|
+
*
|
|
162
|
+
* This source code is licensed under the ISC license.
|
|
163
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
164
|
+
*/const ih=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],uh=q("smartphone",ih);/**
|
|
165
|
+
* @license lucide-react v0.555.0 - ISC
|
|
166
|
+
*
|
|
167
|
+
* This source code is licensed under the ISC license.
|
|
168
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
169
|
+
*/const sh=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],ah=q("triangle-alert",sh);/**
|
|
170
|
+
* @license lucide-react v0.555.0 - ISC
|
|
171
|
+
*
|
|
172
|
+
* This source code is licensed under the ISC license.
|
|
173
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
+
*/const ch=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],fh=q("x",ch),dh=[{id:"devices",label:"Devices",icon:v.jsx(uh,{size:18,color:"currentColor"}),path:"/devices",enabled:!0},{id:"builds",label:"Builds",icon:v.jsx(Zp,{size:18,color:"currentColor"}),path:"/builds",enabled:!0},{id:"apps",label:"Apps",icon:v.jsx(Dp,{size:18,color:"currentColor"}),path:"/apps",enabled:!0},{id:"notifications",label:"Notifications",icon:v.jsx(Up,{size:18,color:"currentColor"}),path:"/notifications",enabled:!0},{id:"settings",label:"Settings",icon:v.jsx(yc,{size:18,color:"currentColor"}),path:"/settings",enabled:!1}],gc=()=>dh.filter(e=>e.enabled),ph=()=>{const e=Ti();or(),gc();const[t,n]=x.useState(!1),r=x.useRef(null);return x.useEffect(()=>{const l=o=>{r.current&&!r.current.contains(o.target)&&n(!1)};return document.addEventListener("mousedown",l),()=>document.removeEventListener("mousedown",l)},[]),v.jsxs("div",{className:"header-container",children:[v.jsx("div",{className:"header-left",children:v.jsx("div",{className:"header-logo-container",onClick:()=>e("/"),children:v.jsx("img",{src:"logo.svg",alt:"Xenon Logo",className:"header-logo-image"})})}),v.jsxs("div",{className:"header-right",children:[v.jsx("div",{className:"header-actions",children:v.jsxs("div",{className:"header-status-pill",children:[v.jsx("div",{className:"status-dot"}),v.jsx("span",{children:"System Online"})]})}),v.jsxs("div",{className:"profile-dropdown-container",ref:r,children:[v.jsxs("button",{className:`profile-trigger ${t?"open":""}`,onClick:()=>n(!t),children:[v.jsx("div",{className:"avatar-preview",children:v.jsx(oh,{size:16})}),v.jsxs("div",{className:"profile-info-compact",children:[v.jsx("span",{className:"profile-name",children:"Administrator"}),v.jsx("span",{className:"profile-role",children:"Root Node"})]}),v.jsx(Hp,{size:14,className:`chevron-icon ${t?"rotate":""}`})]}),t&&v.jsxs("div",{className:"profile-dropdown animate-slide-up",children:[v.jsxs("div",{className:"dropdown-group",children:[v.jsxs("div",{className:"dropdown-section-header",children:[v.jsx(mc,{size:12}),v.jsx("span",{children:"Workspace Context"})]}),v.jsxs("div",{className:"dropdown-context-item",children:[v.jsx("p",{className:"context-label",children:"Current Registry"}),v.jsx("p",{className:"context-value",children:"Xenon Default Registry"})]}),v.jsxs("div",{className:"dropdown-context-item",children:[v.jsx("p",{className:"context-label",children:"Active Node"}),v.jsx("p",{className:"context-value",children:"Root Node • Primary"})]})]}),v.jsx("div",{className:"dropdown-divider"}),v.jsxs("div",{className:"dropdown-system-info",children:[v.jsxs("div",{className:"status-indicator",children:[v.jsx("div",{className:"status-dot online"}),v.jsx("span",{children:"Node: Stable"})]}),v.jsx("span",{className:"version-label",children:"v1.2.4-stable"})]})]})]})]})]})},hh="modulepreload",mh=function(e){return"/xenon/"+e},is={},kt=function(t,n,r){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),u=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.allSettled(n.map(s=>{if(s=mh(s),s in is)return;is[s]=!0;const f=s.endsWith(".css"),m=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${m}`))return;const g=document.createElement("link");if(g.rel=f?"stylesheet":hh,f||(g.as="script"),g.crossOrigin="",g.href=s,u&&g.setAttribute("nonce",u),document.head.appendChild(g),f)return new Promise((p,E)=>{g.addEventListener("load",p),g.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${s}`)))})}))}function o(i){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=i,window.dispatchEvent(u),!u.defaultPrevented)throw i}return l.then(i=>{for(const u of i||[])u.status==="rejected"&&o(u.reason);return t().catch(o)})};class vh extends x.Component{constructor(){super(...arguments),this.state={hasError:!1},this.handleReset=()=>{this.setState({hasError:!1}),window.location.reload()}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("Uncaught error:",t,n)}render(){return this.state.hasError?this.props.fallback||v.jsxs("div",{className:"error-boundary-container",style:{padding:"4rem 2rem",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",gap:"1.5rem",color:"var(--text-main)",background:"var(--bg-main)",minHeight:"100vh"},children:[v.jsx("div",{style:{color:"var(--accent-red)",filter:"drop-shadow(0 0 10px rgba(239, 68, 68, 0.3))"},children:v.jsx(ah,{size:64})}),v.jsx("h2",{style:{fontSize:"2rem",fontWeight:700,margin:0},children:"Component Exception Detected"}),v.jsx("p",{style:{color:"var(--text-muted)",maxWidth:"500px",lineHeight:1.6},children:"An unexpected error occurred while rendering this section. Xenon's isolation engine has contained the fault to prevent a total system crash."}),this.state.error&&v.jsx("pre",{style:{background:"rgba(0,0,0,0.3)",padding:"1rem",borderRadius:"8px",fontSize:"0.8rem",color:"var(--accent-red)",maxWidth:"80%",overflowX:"auto"},children:this.state.error.message}),v.jsxs("button",{onClick:this.handleReset,style:{background:"var(--primary)",color:"var(--secondary)",border:"none",padding:"0.75rem 2rem",borderRadius:"8px",fontWeight:700,cursor:"pointer",display:"flex",alignItems:"center",gap:"0.5rem",transition:"all 0.2s"},onMouseOver:t=>t.currentTarget.style.transform="translateY(-2px)",onMouseOut:t=>t.currentTarget.style.transform="translateY(0)",children:[v.jsx(vc,{size:18}),"Reload Application"]})]}):this.props.children}}const us=x.lazy(()=>kt(()=>import("./device-explorer-CajM63OJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]))),yh=x.lazy(()=>kt(()=>import("./session-dashboard-HPDtwPOZ.js"),__vite__mapDeps([14,1,2,6,7,3,15,16]))),gh=x.lazy(()=>kt(()=>import("./apps-CRMrI4_p.js"),__vite__mapDeps([17,2,6,7,5,8,10,12,18]))),wh=x.lazy(()=>kt(()=>import("./webhook-settings-Cp-B4Nrw.js"),__vite__mapDeps([19,2,12,10,4,20])).then(e=>({default:e.WebhookSettings}))),xh=x.lazy(()=>kt(()=>import("./settings-DrZsZwdc.js"),__vite__mapDeps([21,2,22,23,3,24,9])).then(e=>({default:e.Settings}))),Eh=x.lazy(()=>kt(()=>import("./ai-settings-BbnfgdEx.js"),__vite__mapDeps([25,2,22,23,15,11])).then(e=>({default:e.AISettings}))),kh=x.lazy(()=>kt(()=>import("./maintenance-settings-CirzA6yG.js"),__vite__mapDeps([26,2,22,23,12,24])).then(e=>({default:e.MaintenanceSettings}))),Sh=()=>v.jsxs("div",{className:"settings-loading",style:{height:"calc(100vh - 72px)"},children:[v.jsx(vc,{className:"animate-spin",size:32}),v.jsx("span",{children:"Hydrating View..."})]}),_h=()=>v.jsx(vh,{children:v.jsx(x.Suspense,{fallback:v.jsx(Sh,{}),children:v.jsxs(Np,{children:[v.jsx(xe,{path:"/",element:v.jsx(ts,{to:"/devices",replace:!0})}),v.jsx(xe,{path:"/devices",element:v.jsx("div",{className:"app-body-container devices-view",children:v.jsx(us,{})})}),v.jsx(xe,{path:"/devices/:udid/control/:tab?",element:v.jsx("div",{className:"app-body-container devices-view",children:v.jsx(us,{})})}),v.jsx(xe,{path:"/apps",element:v.jsx("div",{className:"app-body-container apps-view",children:v.jsx(gh,{})})}),v.jsx(xe,{path:"/builds",element:v.jsx("div",{className:"app-body-container sessions-view",children:v.jsx(yh,{})})}),v.jsx(xe,{path:"/notifications",element:v.jsx("div",{className:"app-body-container settings-view",style:{height:"calc(100vh - 72px)",overflow:"hidden",display:"flex",flexDirection:"column"},children:v.jsx(wh,{})})}),v.jsx(xe,{path:"/settings",element:v.jsx("div",{className:"app-body-container settings-view",children:v.jsx(xh,{})})}),v.jsx(xe,{path:"/ai-settings",element:v.jsx("div",{className:"app-body-container settings-view",children:v.jsx(Eh,{})})}),v.jsx(xe,{path:"/maintenance",element:v.jsx("div",{className:"app-body-container settings-view",children:v.jsx(kh,{})})}),v.jsx(xe,{path:"*",element:v.jsx(ts,{to:"/devices",replace:!0})})]})})}),wc=x.createContext(void 0),Lh=()=>{const e=x.useContext(wc);if(!e)throw new Error("useToast must be used within a ToastProvider");return e},Ch=({children:e})=>{const[t,n]=x.useState([]),r=x.useCallback(o=>{n(i=>i.filter(u=>u.id!==o))},[]),l=x.useCallback((o,i="info",u=4e3)=>{const s=Math.random().toString(36).substring(2,9);return n(f=>[...f,{id:s,message:o,type:i,duration:u}]),i!=="loading"&&u>0&&setTimeout(()=>{r(s)},u),s},[r]);return v.jsxs(wc.Provider,{value:{toast:l,removeToast:r},children:[e,v.jsx("div",{className:"toast-container","aria-live":"polite","aria-atomic":"true",role:"status",children:t.map(o=>v.jsxs("div",{className:`toast-item toast-${o.type} animate-slide-in`,children:[v.jsxs("div",{className:"toast-icon",children:[o.type==="success"&&v.jsx(Kp,{size:18}),o.type==="error"&&v.jsx(Yp,{size:18}),o.type==="info"&&v.jsx(mc,{size:18}),o.type==="loading"&&v.jsx(bp,{size:18,className:"animate-spin"})]}),v.jsx("div",{className:"toast-message",children:o.message}),v.jsx("button",{className:"toast-close",onClick:()=>r(o.id),"aria-label":`Close ${o.type} notification`,children:v.jsx(fh,{size:14})})]},o.id))})]})},vn=({icon:e,label:t,path:n,active:r,onClick:l})=>v.jsxs("div",{className:"sidebar-item-wrapper group",onClick:l,children:[r&&v.jsx("div",{className:"sidebar-active-indicator"}),v.jsx("div",{className:`sidebar-icon-container ${r?"active":""}`,children:e}),v.jsx("div",{className:"sidebar-tooltip",children:t})]}),Nh=()=>{const e=Ti(),t=or(),n=gc(),r=l=>t.pathname===l;return v.jsxs("aside",{className:"app-sidebar",children:[v.jsx("div",{className:"sidebar-nav",children:n.map(l=>v.jsx(vn,{icon:l.icon,label:l.label,path:l.path,active:r(l.path),onClick:()=>e(l.path)},l.id))}),v.jsxs("div",{className:"sidebar-footer",children:[v.jsx(vn,{icon:v.jsx(yc,{size:18}),label:"Settings",path:"/settings",active:r("/settings"),onClick:()=>e("/settings")}),v.jsx(vn,{icon:v.jsx(Vp,{size:18}),label:"AI Engine",path:"/ai-settings",active:r("/ai-settings"),onClick:()=>e("/ai-settings")}),v.jsx(vn,{icon:v.jsx(rh,{size:18}),label:"Maintenance",path:"/maintenance",active:r("/maintenance"),onClick:()=>e("/maintenance")}),v.jsx(vn,{icon:v.jsx(Bp,{size:18}),label:"API Docs",path:"/xenon/api-docs",active:!1,onClick:()=>window.open(window.location.origin+"/xenon/api-docs","_blank")})]})]})};function Ph(){return v.jsx(Ch,{children:v.jsx(Lp,{basename:"/xenon",children:v.jsxs("div",{className:"app-layout",children:[v.jsx(ph,{}),v.jsxs("div",{className:"app-main-container",children:[v.jsx(Nh,{}),v.jsx("main",{className:"app-content",children:v.jsx(_h,{})})]})]})})})}Id.render(v.jsx(x.StrictMode,{children:v.jsx(Ph,{})}),document.getElementById("root"));export{Vp as B,Yp as C,mc as I,bp as L,Oc as R,uh as S,ah as T,fh as X,Id as a,Ti as b,q as c,rh as d,Hp as e,jh as f,vc as g,kc as h,Kp as i,v as j,Up as k,oh as l,x as r,Lh as u};
|