@mcpjam/inspector 3.24.0 → 3.24.1
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/dist/client/assets/{app-bootstrap-WlJZYODU.js → app-bootstrap-ClSQQo_e.js} +322 -322
- package/dist/client/assets/{chunk-D32TOXHM-DOJMWdqJ.js → chunk-D32TOXHM-jRtwwVuB.js} +5 -5
- package/dist/client/assets/{dead-clicks-autocapture-xZ8VOqF8.js → dead-clicks-autocapture-BqGJPJYA.js} +2 -2
- package/dist/client/assets/{error-reporting-Cnv0EJ00.js → error-reporting-CMJx3DSN.js} +1 -1
- package/dist/client/assets/error-reporting-CurPZeHi.js +65 -0
- package/dist/client/assets/{exception-autocapture-72pfc-lU.js → exception-autocapture-DDriz7RU.js} +2 -2
- package/dist/client/assets/{first-run-oauth-return-DUQTl-KY.js → first-run-oauth-return-apQ_CEb0.js} +15 -15
- package/dist/client/assets/first-run-oauth-return-ssVP6ljy.css +2 -0
- package/dist/client/assets/{highlighted-body-KQOG7T2V-B2kThXeQ.js → highlighted-body-KQOG7T2V-W9otU88_.js} +2 -2
- package/dist/client/assets/{index-ksLzfLYD.js → index-ByG7bi1F.js} +3 -3
- package/dist/client/assets/{jszip.min-BIV2YZa8.js → jszip.min-BZncoXx3.js} +2 -2
- package/dist/client/assets/{mermaid-MCJ5UELQ-BcUGpcfu.js → mermaid-MCJ5UELQ-CyXXddBc.js} +1 -1
- package/dist/client/assets/{posthog-recorder-CI-imkE8.js → posthog-recorder-yHE4z3QE.js} +2 -2
- package/dist/client/assets/{preload-helper-BFvUZI9f.js → preload-helper-hMqm2cFr.js} +2 -2
- package/dist/client/assets/{project-route-B7kCqybC.js → project-route-DseXxV_W.js} +3 -3
- package/dist/client/assets/{react-dom-BI-goU63.js → react-dom-C0xqZMkb.js} +2 -2
- package/dist/client/assets/{rolldown-runtime-DWUlh9bP.js → rolldown-runtime-BOqoCXSu.js} +1 -1
- package/dist/client/assets/{surveys-BYP0BB0U.js → surveys-DhCSAOVD.js} +2 -2
- package/dist/client/assets/telemetry-files-d99937353b524002.js +1 -0
- package/dist/client/assets/{trace-timeline-oz6gZWxx.js → trace-timeline-BZXpue8Z.js} +1 -1
- package/dist/client/assets/{trace-timeline-C6U_g8zw.js → trace-timeline-CuGCSSeE.js} +2 -2
- package/dist/client/assets/{use-reduced-motion-CV1Zqpv-.js → use-reduced-motion-DXYfL08L.js} +2 -2
- package/dist/client/assets/{web-vitals-BuMia74J.js → web-vitals-BycgZCTB.js} +2 -2
- package/dist/client/index.html +9 -9
- package/dist/server/harness-install-cli.js +13 -3
- package/dist/server/index.js +2 -2
- package/package.json +7 -2
- package/dist/client/assets/error-reporting-BlEnwHvB.js +0 -65
- package/dist/client/assets/first-run-oauth-return-Bhr0xXTj.css +0 -2
- package/dist/client/assets/telemetry-files-14fc11a7a8d7565e.js +0 -1
package/dist/client/assets/{first-run-oauth-return-DUQTl-KY.js → first-run-oauth-return-apQ_CEb0.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{o as q5,t as Zs}from"./rolldown-runtime-DWUlh9bP.js";import{$ as G5,Bt as F5,D as Y5,Dt as W,It as ca,Kt as Nn,Lt as ke,M as X5,Nt as yg,O as K5,S as Z5,T as xg,Tt as Ft,Ut as q,Vt as qt,W as Q5,X as J5,a as Sg,bt as Vn,c as Fu,dt as lo,ft as W5,ht as $5,jt as eb,n as Bn,nn as tb,o as ob,p as Ag,q as ab,ut as co,w as Tg}from"./project-route-B7kCqybC.js";import{D as We,p as Qr,t as nb}from"./use-reduced-motion-CV1Zqpv-.js";import{n as Cg,t as rb}from"./react-dom-BI-goU63.js";import{i as ib}from"./preload-helper-BFvUZI9f.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"3.24.0"};var s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="3162fb32-c687-4866-83d4-5cd2287c7182",n._sentryDebugIdIdentifier="sentry-dbid-3162fb32-c687-4866-83d4-5cd2287c7182")}catch{}})();function c6(n,s,l,u,p){return{level:n,code:s,title:l.slice(0,160),description:u.slice(0,1e3),...p?{details:p}:{}}}var Yu={SIGN_IN_EXPIRED:"Your sign-in expired before this finished, so it wasn't sent. Retry once your session reconnects, or sign in again.",UNAUTHORIZED:"Your sign-in expired before this finished, so it wasn't sent. Retry once your session reconnects, or sign in again.",RESOURCE_DENIED:"The App asked for a file it wasn't given, or its access to that file has ended. Apps can only read and write the file they were opened with.",RESOURCE_INVALID:"The App's file request was malformed (for example a bad URI, both text and blob in one write, or invalid base64).",RESOURCE_NOT_TEXT:`This file isn't text. Request representation: "blob" or handle both text and blob.`,RESOURCE_OUTCOME_UNKNOWN:"The file write may or may not have been saved (the connection dropped mid-write). Read the file again before retrying.",RESOURCE_READ_REQUIRED:"MCPJam gave this App access to its file again (the server restarted, or its hold on the file lapsed), so this save was refused. The App's unsaved changes are still in the viewer: read the file again (resources/read), then save against the ETag it returns.",RESOURCE_TOO_LARGE:"The file is larger than the host allows for Apps.",RESOURCE_UNSUPPORTED:"This file source doesn't support that operation.",RESOURCE_WRITE_UNAVAILABLE:"This Computer can't save the file safely. Copy your changes, then reconnect the Computer before trying again.",PLUGIN_FILE_TARGETS_NOT_DECLARED:`This client lists no files for this server. Add them under the client's mcpProfile.extensions["mcpjam/plugin-file-targets"] (a root folder and each file's relative path).`,PLUGIN_LOCAL_FILES_NOT_CONFIGURED:"Opening local files is off on this MCPJam install. Set MCPJAM_PLUGIN_LOCAL_FILE_ROOTS to a JSON list of allowed folders, each {actorId, projectId, serverId, root}, then restart MCPJam.",PLUGIN_LOCAL_FILE_ROOTS_INVALID:"MCPJAM_PLUGIN_LOCAL_FILE_ROOTS isn't valid JSON. It must be a list of {actorId, projectId, serverId, root} entries.",PLUGIN_LOCAL_FILE_ROOT_NOT_ALLOWED:"This server's file folder isn't allowed for you. Add an entry with your actor ID, this project, this server and the folder to MCPJAM_PLUGIN_LOCAL_FILE_ROOTS, then restart MCPJam.",PLUGIN_FILES_COMPUTER_REQUIRED:"On the cloud, plugin files live on the project's Computer. Attach the Computer to this client and run the server there to open or save its files.",PLUGIN_COMPUTER_FILE_ROOT_INVALID:`On the Computer, file target roots must be absolute folders under /home/user. Fix the root in the client's "mcpjam/plugin-file-targets".`,PLUGIN_FILES_REMOTE_SERVER:"This server runs remotely over HTTP, so it shares no disk with MCPJam or your Computer. Its local file paths can't be opened or saved here.",PLUGIN_COMPUTER_UNAVAILABLE:"The project's Computer is asleep or unreachable, so its files can't be opened or saved right now. Send a message in chat to wake it, then try again.",PLUGIN_FILE_READ_ONLY:`This file is read-only. Only files listed in the client's "mcpjam/plugin-file-targets" (in an allowed local folder, or on the project's Computer on the cloud) can be saved.`,PLUGIN_LOCAL_FILE_NOT_LISTED:`That path isn't one of the files listed for this server in the client's "mcpjam/plugin-file-targets".`,INSTANCE_UNAVAILABLE:"This App session has ended (it was closed, expired or the server restarted). Reopen the App.",INSTANCE_DENIED:"This App isn't allowed to do that here. It may belong to another chat, client or user, or the request doesn't match how the App was opened.",INSTANCE_LIMIT:"Too many Apps are open. Close some Apps and try again.",INSTANCE_STORE_UNAVAILABLE:"Apps can't be opened because the App session store isn't available on this MCPJam server.",INSTANCE_RENEWAL_UNAVAILABLE:"This MCPJam server can't extend App sessions yet. The App keeps working until its session expires; reopen it afterwards.",INSTANCE_HOST_CHANGED:"The client's settings changed after this App opened. Reopen the App to use the new settings.",INSTANCE_SERVER_CHANGED:"The server's saved setup changed after this App opened. Reopen the App.",INSTANCE_CONNECTION_CHANGED:"The server's connection or credentials changed after this App opened. Reopen the App.",INSTANCE_TOOL_UNAVAILABLE:"The server no longer lists the tool this App needs.",INSTANCE_UI_UNAVAILABLE:"The server didn't return a usable App UI (missing ui:// resource, wrong MIME type, or larger than 5 MB).",INSTANCE_CONTEXT_UNAVAILABLE:"Model context isn't available for this App (the client has it turned off, or the App has closed).",INSTANCE_CONTEXT_SEQUENCE_DENIED:"A model-context update arrived out of order and was ignored. Send updates one at a time.",INSTANCE_CONTEXT_REMOVAL_INVALID:"That context removal didn't match this App's current context, so nothing was removed. Remove it again from the composer.",INSTANCE_CONTEXT_TOO_LARGE:"The App's context is too large to keep, so its last accepted context stays. Send less context.",INVALID_INSTANCE_CONTEXT:"MCPJam couldn't store the App's context, so its last accepted context stays. Send less context and try again.",INSTANCE_CONTEXT_RATE_LIMITED:"The App updated its context too often, so this update wasn't kept and its last accepted context stays. Send updates less often.",PLUGIN_CONTEXT_TOO_LARGE:"This context update is over this client's App context budget (its modelContextPolicy), so the App's last accepted context stays. Send less context.",PLUGIN_CONTEXT_TURN_TOO_LARGE:"The Apps in this chat hold more context than this client's modelContextPolicy sends in one turn. Remove an App's context from the composer, then send again.",PLUGIN_CONTEXT_MEMORY_LIMIT:"MCPJam is holding as much App context for you as it can, so this update wasn't kept. Close Apps you no longer need or remove their context, then try again.",INSTANCE_CONTEXT_HELD:"You removed this App's context from the chat, so context the App sends on its own isn't attached. Use the App (for example its attach button) to attach it again.",INSTANCE_MESSAGE_UNAVAILABLE:"This App can't send chat messages (the client has messages turned off).",INSTANCE_REQUEST_BUSY:"The App is already running another request. Wait for it to finish.",ACTIVATION_SCHEMA_INVALID:"The entrypoint tool's input schema doesn't accept the arguments the host must send to open it.",PLUGIN_ENTRYPOINT_UNOPENABLE:"This client can't open an entry point whose tool name has two underscores or two dots in a row, or a dot next to an underscore. Rename the tool.",ACTIVATION_BINDING_CHANGED:"This App was opened with different settings before. Close it and open it again.",INVOCATION_OUTCOME_UNKNOWN:"MCPJam couldn't confirm the tool call's outcome. It may have run, so it won't be retried automatically. Check the server before trying again.",INVOCATION_DENIED:"The tool call isn't allowed for this App.",INVOCATION_ID_REUSED:"The App reused a request ID for a different tool call.",INVOCATION_LIMIT:"This App made too many tool calls in its session. Reopen the App.",INVOCATION_FAILED:"The tool call failed before it reached the server.",INVOCATION_RESULT_EXPIRED:"This tool call already ran, but its result is no longer held in memory, so it can't be returned again. The call is not repeated.",TOOL_CALL_FAILED:"The server returned an error for this tool call. See the server's message for details.",APPROVAL_DENIED:"The tool call wasn't approved.",APPROVAL_UNAVAILABLE:"Tool approval isn't available right now.",AUTHORIZATION_CHANGED:"Access changed while the tool call was running, so it was stopped.",TOOL_VISIBILITY_DENIED:`This tool isn't visible to Apps. Add "app" to its _meta.ui.visibility.`,TOOL_POLICY_DENIED:"The client's tool policy blocks this tool.",TOOL_MENTION_DECLARATION_DENIED:`This tool isn't declared as a mention search tool (_meta["openai/extensions"]["mentions/search"]).`,PLUGIN_EXTENSION_DISABLED:"This client has that OpenAI plugin extension turned off. Turn it on in the client's Apps settings (OpenAI plugin extensions).",PLUGIN_WORKSPACE_DENIED:"Plugin extensions aren't available for this project or account.",PLUGIN_WORKSPACE_CANCELLED:"The request was cancelled.",PLUGIN_WORKSPACE_UNREACHABLE:"MCPJam couldn't reach its backend to check plugin access (a network problem or timeout). Check your connection and try again.",PLUGIN_WORKSPACE_SIGN_IN_EXPIRED:"Your sign-in lapsed while MCPJam was checking plugin access. Retry once your session reconnects, or sign in again.",PLUGIN_INSTANCE_CANCELLED:"The request was cancelled.",INVALID_PLUGIN_INSTANCE_REQUEST:"The request was malformed.",PLUGIN_DEEP_LINK_INVALID:"This isn't a valid plugin link. Plugin links look like chatgpt://plugins/<plugin>/app/<tool>?path=/page (the path must start with / and have no #fragment).",PLUGIN_DEEP_LINK_SCHEME_UNSUPPORTED:"This client doesn't open links with that scheme. The Codex client uses codex://; the ChatGPT client uses chatgpt:// or https://chatgpt.com.",PLUGIN_DEEP_LINK_PLUGIN_UNKNOWN:"No enabled plugin or server matches the link's plugin ID. Use the plugin's manifest name, its installation ID, or server-<saved server ID> for a plain server.",PLUGIN_DEEP_LINK_MARKETPLACE_MISMATCH:"The link's @marketplace doesn't match the marketplace this plugin was installed from.",PLUGIN_DEEP_LINK_AMBIGUOUS:"More than one installed plugin matches this link. Add @<marketplace> to the plugin ID, or use the installation ID.",PLUGIN_DEEP_LINK_TOOL_UNAVAILABLE:"The plugin has no global App entrypoint with the link's tool name.",PLUGIN_DEEP_LINK_NAMESPACE_UNAVAILABLE:"Deep links can only open a plugin's global App.",PLUGIN_FORM_UNSUPPORTED:"This form uses a schema feature the client doesn't support.",PLUGIN_FORM_UNAVAILABLE:"The form couldn't be loaded.",PLUGIN_FORM_SCHEMA_MISSING:`This form keeps its fields in _meta["openai/elicitation"].requestedSchema, but that schema is missing or isn't an object schema, so MCPJam refused the form rather than show it empty. Send the full form schema there (OpenAI's requestFormInput does).`,PLUGIN_FORM_TOO_LARGE:"The form is too large (too many fields, options or bytes).",PLUGIN_FORM_PATTERN_UNSUPPORTED:"A field's pattern isn't a supported regular expression.",PLUGIN_FORM_WEB_UPLOAD_UNSUPPORTED:"Forms opened from an App can only ask for file uploads when the client's File resources extension is on. Turn it on in the client's plugin extensions, or remove upload options.",PLUGIN_FORM_RESOURCE_SERVICE_UNAVAILABLE:"This form asks for file or folder uploads, which this MCPJam server can't provide (configure a local folder, or use a local install).",PLUGIN_FORM_PREVIEW_SERVICE_UNAVAILABLE:"This client can't render that kind of preview.",PLUGIN_FORM_PREVIEW_INVALID:`An option's _meta["openai/preview"] has no valid target.`,PLUGIN_FORMS_DISABLED:"This client has Forms turned off, so the form takes no answers or uploads. A form that was already open ends as cancelled when it's submitted, and its answer isn't sent to the server. Turn Forms on in the client's OpenAI plugin extensions to answer forms.",FORM_SOURCE_UNAVAILABLE:"This form has expired or was already answered.",FORM_PREVIEW_UNAVAILABLE:"That preview isn't available for this form.",PLUGIN_FORM_PREVIEW_TIMEOUT:"The preview didn't open within 30 seconds, so MCPJam stopped waiting. The form and its answers are unchanged. Try again; if it keeps happening, check that the server answers the preview's resource read or preview tool promptly.",PLUGIN_FORM_PREVIEW_FAILED:"The preview couldn't be opened. The form and its answers are unchanged; try again.",PLUGIN_FORM_SUBMIT_TIMEOUT:"MCPJam didn't confirm the answer within 30 seconds, so it stopped waiting. The answers are still in the form; send them again. A repeat of an answer that did arrive is ignored.",PLUGIN_FORM_SUBMIT_FAILED:"The answer couldn't be sent. The answers are still in the form; send them again.",PLUGIN_FORM_DESTINATION_TIMEOUT:"MCPJam couldn't confirm where this form's files would be uploaded within 30 seconds, so it stopped waiting. Nothing was uploaded and the request is still open. Retry, or cancel the request; if it keeps happening, check that the server is still connected and that you're still signed in.",PLUGIN_FORM_DESTINATION_FAILED:"MCPJam couldn't check where this form's files would be uploaded. Nothing was uploaded and the request is still open; retry, or cancel the request.",PLUGIN_SETTINGS_TOOL_UNAVAILABLE:"The server's openai/settings capability names a read or update tool that tools/list doesn't include.",PLUGIN_SETTINGS_OUTPUT_SCHEMA_REQUIRED:"Both settings tools must declare an outputSchema.",PLUGIN_SETTINGS_READ_ARGUMENTS_INVALID:"The settings read tool must accept an empty arguments object ({}).",PLUGIN_SETTINGS_UNSUPPORTED_SCHEMA:"A settings field uses an unsupported type. Settings support boolean, string (with optional enum), number and integer.",PLUGIN_SETTINGS_INVALID_RESULT:"The settings read tool returned a result that doesn't match its outputSchema, or a field has no value.",PLUGIN_SETTINGS_TOOL_SCHEMA_INVALID:"A settings tool's schema couldn't be parsed.",PLUGIN_SETTINGS_INVALID_CAPABILITY:"The server's openai/settings capability is malformed.",PLUGIN_SETTINGS_AMBIGUOUS_CAPABILITY:"The server declares openai/settings in more than one place with different values.",PLUGIN_SETTINGS_SAVE_FAILED:"The server couldn't save the settings.",PLUGIN_SETTINGS_SCHEMA_CHANGED:"The server's settings changed. Reload settings and try again.",PLUGIN_SETTINGS_REFRESH_REQUIRED:"Settings changed on the server. Reload settings.",PLUGIN_SETTINGS_READ_NOT_READ_ONLY:"The settings read tool should be marked read-only (annotations.readOnlyHint: true).",SETTINGS_UNAVAILABLE:"Settings aren't available for this server right now.",PLUGIN_MENTION_SEARCH_FAILED:"The server's mention search tool returned an error.",PLUGIN_MENTION_RESULT_TOO_LARGE:"The mention search result is too large.",PLUGIN_FILE_READ_TIMEOUT:"The file didn't load within 12 seconds, so MCPJam stopped waiting. Reload the file in the viewer (or reopen it) to try again. If it keeps happening, check that the server answers resources/read promptly, and close Apps you no longer need: each open file viewer keeps a connection to MCPJam.",PLUGIN_FILE_WATCH_TIMEOUT:"MCPJam couldn't start watching this file for changes within 12 seconds, so it stopped waiting. The file can still be read; changes made elsewhere won't refresh the viewer until it subscribes again or the file is reopened.",MODEL_APP_UNAVAILABLE:"This App from the chat is no longer available.",MODEL_FORM_UNAVAILABLE:"This form is no longer available, so your answer wasn't sent. Ask the model to run the tool again.",FORM_NOT_SAVED:"MCPJam couldn't save this form, so it wasn't shown and the tool call ended. Ask the model to run the tool again.",FORM_STORE_UNAVAILABLE:"MCPJam couldn't load this form's saved state, so nothing was sent. Try again in a moment.",CONTINUATION_EXPIRED:"This form expired before it was answered, so the tool call did not finish. Run it again.",CONTINUATION_FAILED:"This form is closed and cannot be submitted. Start the tool call again.",CONTINUATION_CANCELLED:"This form was cancelled, so the tool call did not finish.",CONTINUATION_CONNECTION_UNAVAILABLE:"The server disconnected before the answer could be sent. Reconnect and send it again.",CONTINUATION_DENIED:"This form answer doesn't match the server's current request.",CONTINUATION_PROTOCOL_DENIED:"The server's MCP version doesn't support this form request."},sb=[["PLUGIN_DEEP_LINK_","This plugin link couldn't be opened."],["PLUGIN_SETTINGS_","The server's settings couldn't be used."],["PLUGIN_FORM_","This form couldn't be shown."],["RESOURCE_","The App's file request couldn't be completed."],["INSTANCE_CONTEXT_","The App's model context couldn't be updated."],["INSTANCE_","This App session couldn't complete the request. Reopen the App."],["INVOCATION_","The tool call couldn't be completed."],["CONTINUATION_","The form answer couldn't be delivered to the server."]];function u6(n){if(typeof n=="string")return Object.hasOwn(Yu,n)?Yu[n]:sb.find(([s])=>n.startsWith(s))?.[1]}var lb={location:["host_workspace"],operation:["form_response","settings_save","app_message"],host_profile:["chatgpt","codex","unknown"],outcome:["success","failure","declined","cancelled"],deployment:["hosted","self_hosted"],source:["client"]},cb=["none","refused","other",...Object.keys(Yu)],V0="x-mcpjam-telemetry-policy",d6={extension_launch_completed:{location:["host_workspace"],launch_kind:["thread","global","file","quick-action","settings"],host_profile:["chatgpt","codex"],outcome:["success","failure"],failure_stage:["none","execution","rendering","timeout","unknown"],deployment:["hosted","self_hosted"],source:["client"]},extension_operation_completed:{...lb,error_code:cb},app_launched:{location:["app"],is_authenticated:"boolean",platform:["web","npm","docker","mac","win","electron"],deployment:["hosted","self_hosted"],launch_trigger:["immediate","grant","timeout","hidden"],policy_wait_ms:"count"},send_message:{location:["chat_tab","ui_playground"],multi_model_enabled:"boolean",multi_model_count:"count"},edit_message:{location:["chat_tab","ui_playground"]},execute_tool:{location:["parameters_panel","tools_sidebar"],as_task:"boolean"},eval_suite_run_started:{location:["ci_evals_tab"],num_test_cases:"count",num_tests:"count",num_models:"count",replay:"boolean"},conformance_run_triggered:{location:["conformance_tab","score_runner","compat_page","compat_detail_modal"],run_source:["ui"]},$pageview:{},$pageleave:{}},Br;function ub(){if(Br)return Br;const n=I=>{let E;try{E=new URL(I,window.location.href)}catch{return!1}return E.origin===window.location.origin&&/^\/(tlm|relay)(\/|$)/.test(E.pathname)},s=tb,l=window.fetch,u=globalThis.fetch,p=(I,E)=>{const _=I instanceof Request?I.url:String(I);if(!n(_))return l.call(window,I,E);const D=new Headers(E?.headers??(I instanceof Request?I.headers:void 0));return D.set(V0,s()),l.call(window,I,{...E,headers:D})};window.fetch=p,globalThis.fetch=p;const f=XMLHttpRequest.prototype,A=f.open,T=f.send,M=f.setRequestHeader,w=new WeakMap;return f.open=function(I,E,_=!0,D,j){return w.set(this,n(String(E))),Reflect.apply(A,this,arguments)},f.setRequestHeader=function(I,E){if(!(w.get(this)&&I.toLowerCase()==="x-mcpjam-telemetry-policy"))return M.call(this,I,E)},f.send=function(I){return w.get(this)&&M.call(this,V0,s()),T.call(this,I)},Br=()=>{window.fetch=l,globalThis.fetch=u,f.open=A,f.send=T,f.setRequestHeader=M,Br=void 0},Br}ub();var Qs="mcpjam_promo_intent",db=18e5,Gt,pb=/^[a-z0-9-]{1,80}$/;function Js(n){return typeof n=="string"&&pb.test(n)?n:null}function wg(n=window.location.search){return Js(new URLSearchParams(n).get("campaign"))??"agntcon-2026"}function Xu(){Gt=null;try{return sessionStorage.removeItem(Qs),!0}catch{return console.debug("Promo intent storage unavailable"),!1}}function fb(n,s=Date.now(),l=wg()){Gt={code:n,storedAt:s,campaign:l};try{return sessionStorage.setItem(Qs,JSON.stringify(Gt)),!0}catch{return console.debug("Promo intent storage unavailable"),!1}}function gb(n=Date.now(),s=wg()){try{if(Gt===void 0){const l=JSON.parse(sessionStorage.getItem(Qs)??"null");l&&typeof l=="object"&&"code"in l&&"storedAt"in l&&typeof l.code=="string"&&l.code.length<=64&&typeof l.storedAt=="number"&&(Gt={code:l.code,storedAt:l.storedAt,campaign:"campaign"in l&&Js(l.campaign)||"agntcon-2026"})}}catch{console.debug("Promo intent storage unavailable")}return!Gt||n<Gt.storedAt||n-Gt.storedAt>=db?(Xu(),""):Gt.campaign===s?Gt.code:""}function Ku(n,s=!1){const l=new URLSearchParams;s&&l.set("manual","1"),n&&n!=="agntcon-2026"&&l.set("campaign",n);const u=l.toString();return u?`/redeem?${u}`:"/redeem"}function p6(n){const s=gb(Date.now(),n);let l=!1;try{l=sessionStorage.getItem(Qs)===JSON.stringify(Gt)}catch{console.debug("Promo intent storage unavailable")}return{promoReturn:!0,promoManualEntry:!s||!l,promoCampaign:n}}function f6(n){return n?.promoReturn!==!0?null:Ku(Js(n.promoCampaign),n.promoManualEntry===!0)}function hb(){if(window.location.pathname.replace(/\/+$/,"")!=="/redeem")return;const n=new URL(window.location.href),s=Js(n.searchParams.get("campaign"));if(n.searchParams.get("manual")==="1"){Xu()&&window.history.replaceState(window.history.state,"",Ku(s));return}const l=n.searchParams.get("code")??new URLSearchParams(n.hash.slice(1)).get("code");l!==null&&(l.length<=64?fb(l,Date.now(),s??"agntcon-2026"):Xu(),window.history.replaceState(window.history.state,"",Ku(s)))}function g6(){const n=()=>{hb(),window.dispatchEvent(new Event("promo-intent-changed"))};window.addEventListener("hashchange",n),window.addEventListener("popstate",n)}var Jr="oauth_pending";var mb="invalid_request",bb="The authorization response was no longer available after the page reloaded. Start the connection again.",Xt=null,B0=0;function Zu(){return B0+=1,`inbox:${B0}`}function od(n){return n==="/oauth/callback"||n.startsWith("/oauth/callback/")}function _g(n){try{return new URLSearchParams(n).get(Jr)==="1"}catch{return!1}}function Eg(n){return`${n}?${Jr}=1`}var vb=/token|secret|code|key|sig|cred|pass|state|session|auth|ticket|assertion/i,yb=/^[A-Za-z][\w-]{0,63}$/;function xb(n){const s=n.startsWith("#")?n.slice(1):n;return s?s.includes("=")?s.split("&").every(l=>{const u=l.split("=",1)[0]??"";try{const p=decodeURIComponent(u);return p!==""&&!vb.test(p)}catch{return!1}}):yb.test(s):!1}function h6(){if(typeof window>"u")return!1;const{pathname:n,search:s,hash:l}=window.location;if(!od(n))return!1;const u=new URLSearchParams(s),p=u.get(Jr)==="1";if(u.delete(Jr),[...u.keys()].length>0)Xt={pathname:n,params:u.toString(),attempt:Zu()};else if(p){if(Xt?.pathname===n)return!0;Xt={attempt:Zu(),pathname:n,params:new URLSearchParams({error:mb,error_description:bb}).toString()}}else return!1;const f=l&&xb(l)?l:"";try{history.replaceState(history.state,"",`${Eg(n)}${f}`)}catch{}return!0}function m6(n,s="/oauth/callback"){const l=new URLSearchParams(n);return l.delete(Jr),Xt={pathname:s,params:l.toString(),attempt:Zu()},Eg(s)}function Ws(){if(typeof window>"u")return null;const{pathname:n,search:s}=window.location;if(!od(n))return null;if(_g(s))return Xt&&Xt.pathname===n?new URLSearchParams(Xt.params):null;const l=new URLSearchParams(s);return[...l.keys()].length>0?l:null}function Sb(){if(typeof window>"u")return null;const{pathname:n,search:s}=window.location;return od(n)?_g(s)?Xt&&Xt.pathname===n?Xt.attempt:null:s&&s!=="?"?`url:${s}`:null:null}function b6(){const n=Ws();return!!(n&&(n.has("code")||n.has("error")))}function v6(n){if(n!==void 0&&n!==Sb())return null;const s=Ws();return Xt=null,s}var Ab=Zs((n=>{function s(z,K){var F=z.length;z.push(K);e:for(;0<F;){var Se=F-1>>>1,we=z[Se];if(0<p(we,K))z[Se]=K,z[F]=we,F=Se;else break e}}function l(z){return z.length===0?null:z[0]}function u(z){if(z.length===0)return null;var K=z[0],F=z.pop();if(F!==K){z[0]=F;e:for(var Se=0,we=z.length,ft=we>>>1;Se<ft;){var Do=2*(Se+1)-1,Gn=z[Do],fo=Do+1,Oo=z[fo];if(0>p(Gn,F))fo<we&&0>p(Oo,Gn)?(z[Se]=Oo,z[fo]=F,Se=fo):(z[Se]=Gn,z[Do]=F,Se=Do);else if(fo<we&&0>p(Oo,F))z[Se]=Oo,z[fo]=F,Se=fo;else break e}}return K}function p(z,K){var F=z.sortIndex-K.sortIndex;return F!==0?F:z.id-K.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var A=Date,T=A.now();n.unstable_now=function(){return A.now()-T}}var M=[],w=[],I=1,E=null,_=3,D=!1,j=!1,ae=!1,Q=!1,V=typeof setTimeout=="function"?setTimeout:null,be=typeof clearTimeout=="function"?clearTimeout:null,$e=typeof setImmediate<"u"?setImmediate:null;function Be(z){for(var K=l(w);K!==null;){if(K.callback===null)u(w);else if(K.startTime<=z)u(w),K.sortIndex=K.expirationTime,s(M,K);else break;K=l(w)}}function Zt(z){if(ae=!1,Be(z),!j)if(l(M)!==null)j=!0,ze||(ze=!0,et());else{var K=l(w);K!==null&&Ga(Zt,K.startTime-z)}}var ze=!1,Ne=-1,G=5,Io=-1;function it(){return Q?!0:!(n.unstable_now()-Io<G)}function He(){if(Q=!1,ze){var z=n.unstable_now();Io=z;var K=!0;try{e:{j=!1,ae&&(ae=!1,be(Ne),Ne=-1),D=!0;var F=_;try{t:{for(Be(z),E=l(M);E!==null&&!(E.expirationTime>z&&it());){var Se=E.callback;if(typeof Se=="function"){E.callback=null,_=E.priorityLevel;var we=Se(E.expirationTime<=z);if(z=n.unstable_now(),typeof we=="function"){E.callback=we,Be(z),K=!0;break t}E===l(M)&&u(M),Be(z)}else u(M);E=l(M)}if(E!==null)K=!0;else{var ft=l(w);ft!==null&&Ga(Zt,ft.startTime-z),K=!1}}break e}finally{E=null,_=F,D=!1}K=void 0}}finally{K?et():ze=!1}}}var et;if(typeof $e=="function")et=function(){$e(He)};else if(typeof MessageChannel<"u"){var pa=new MessageChannel,qn=pa.port2;pa.port1.onmessage=He,et=function(){qn.postMessage(null)}}else et=function(){V(He,0)};function Ga(z,K){Ne=V(function(){z(n.unstable_now())},K)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(z){z.callback=null},n.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<z?Math.floor(1e3/z):5},n.unstable_getCurrentPriorityLevel=function(){return _},n.unstable_next=function(z){switch(_){case 1:case 2:case 3:var K=3;break;default:K=_}var F=_;_=K;try{return z()}finally{_=F}},n.unstable_requestPaint=function(){Q=!0},n.unstable_runWithPriority=function(z,K){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var F=_;_=z;try{return K()}finally{_=F}},n.unstable_scheduleCallback=function(z,K,F){var Se=n.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?Se+F:Se):F=Se,z){case 1:var we=-1;break;case 2:we=250;break;case 5:we=1073741823;break;case 4:we=1e4;break;default:we=5e3}return we=F+we,z={id:I++,callback:K,priorityLevel:z,startTime:F,expirationTime:we,sortIndex:-1},F>Se?(z.sortIndex=F,s(w,z),l(M)===null&&z===l(w)&&(ae?(be(Ne),Ne=-1):ae=!0,Ga(Zt,F-Se))):(z.sortIndex=we,s(M,z),j||D||(j=!0,ze||(ze=!0,et()))),z},n.unstable_shouldYield=it,n.unstable_wrapCallback=function(z){var K=_;return function(){var F=_;_=K;try{return z.apply(this,arguments)}finally{_=F}}}})),Tb=Zs(((n,s)=>{s.exports=Ab()})),Cb=Zs((n=>{var s=Tb(),l=Cg(),u=rb();function p(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function A(e){for(var t=e,o=t;o&&!o.alternate;)t=o,(t.flags&4098)!==0&&(e=t.return),o=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function T(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 M(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function w(e){if(A(e)!==e)throw Error(p(188))}function I(e){var t=e.alternate;if(!t){if(t=A(e),t===null)throw Error(p(188));return t!==e?null:e}for(var o=e,a=t;;){var r=o.return;if(r===null)break;var i=r.alternate;if(i===null){if(a=r.return,a!==null){o=a;continue}break}if(r.child===i.child){for(i=r.child;i;){if(i===o)return w(r),e;if(i===a)return w(r),t;i=i.sibling}throw Error(p(188))}if(o.return!==a.return)o=r,a=i;else{for(var c=!1,d=r.child;d;){if(d===o){c=!0,o=r,a=i;break}if(d===a){c=!0,a=r,o=i;break}d=d.sibling}if(!c){for(d=i.child;d;){if(d===o){c=!0,o=i,a=r;break}if(d===a){c=!0,a=i,o=r;break}d=d.sibling}if(!c)throw Error(p(189))}}if(o.alternate!==a)throw Error(p(190))}if(o.tag!==3)throw Error(p(188));return o.stateNode.current===o?e:t}function E(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=E(e),t!==null)return t;e=e.sibling}return null}function _(e,t,o,a,r,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&o(e,a,r,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&_(e.child,t,o,a,r,i))return!0;e=e.sibling}return!1}function D(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function j(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function ae(e){var t=[null,null],o=D(e);return o===null||Q(t,e,o.child,{foundSelf:!1}),t}function Q(e,t,o,a){for(;o!==null;){if(o===t)a.foundSelf=!0;else if(o.tag===5||o.tag===27||o.tag===6){if(a.foundSelf)return e[1]=o,!0;e[0]=o}else if((o.tag!==22||o.memoizedState===null)&&Q(e,t,o.child,a))return!0;o=o.sibling}return!1}function V(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(p(559))}}var be=null,$e=null;function Be(e,t,o){return e===o?!0:e===t?(be=e,!0):!1}function Zt(e,t,o){return e===o?($e=e,!1):e===t?($e!==null&&(be=e),!0):!1}function ze(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function Ne(e,t,o){for(var a=0,r=e;r;r=o(r))a++;r=0;for(var i=t;i;i=o(i))r++;for(;0<a-r;)e=o(e),a--;for(;0<r-a;)t=o(t),r--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=o(e),t=o(t)}return null}var G=Object.assign,Io=Symbol.for("react.element"),it=Symbol.for("react.transitional.element"),He=Symbol.for("react.portal"),et=Symbol.for("react.fragment"),pa=Symbol.for("react.strict_mode"),qn=Symbol.for("react.profiler"),Ga=Symbol.for("react.consumer"),z=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),ft=Symbol.for("react.lazy"),Do=Symbol.for("react.activity"),Gn=Symbol.for("react.legacy_hidden"),fo=Symbol.for("react.memo_cache_sentinel"),Oo=Symbol.for("react.view_transition"),$2=Symbol.for("react.recoverable"),bd=Symbol.iterator;function Fn(e){return e===null||typeof e!="object"?null:(e=bd&&e[bd]||e["@@iterator"],typeof e=="function"?e:null)}var eh=Symbol.for("react.client.reference");function rl(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===eh?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case et:return"Fragment";case qn:return"Profiler";case pa:return"StrictMode";case F:return"Suspense";case Se:return"SuspenseList";case Do:return"Activity";case Oo:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case He:return"Portal";case z:return e.displayName||"Context";case Ga:return(e._context.displayName||"Context")+".Consumer";case K:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case we:return t=e.displayName||null,t!==null?t:rl(e.type)||"Memo";case ft:t=e._payload,e=e._init;try{return rl(e(t))}catch{}}return null}var Yn=Array.isArray,H=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fa={pending:!1,data:null,method:null,action:null},il=[],Fa=-1;function Qt(e){return{current:e}}function qe(e){0>Fa||(e.current=il[Fa],il[Fa]=null,Fa--)}function ve(e,t){Fa++,il[Fa]=e.current,e.current=t}var Jt=Qt(null),Xn=Qt(null),zo=Qt(null),li=Qt(null);function ci(e,t){switch(ve(zo,t),ve(Xn,e),ve(Jt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Jf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Jf(t),e=Wf(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}qe(Jt),ve(Jt,e)}function Ya(){qe(Jt),qe(Xn),qe(zo)}function sl(e){var t=e.memoizedState;t!==null&&(On._currentValue=t.memoizedState,ve(li,e)),t=Jt.current;var o=Wf(t,e.type);t!==o&&(ve(Xn,e),ve(Jt,o))}function ui(e){Xn.current===e&&(qe(Jt),qe(Xn)),li.current===e&&(qe(li),On._currentValue=fa)}var ll,vd;function Uo(e){if(ll===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);ll=t&&t[1]||"",vd=-1<o.stack.indexOf(`
|
|
1
|
+
import{o as G5,t as Zs}from"./rolldown-runtime-BOqoCXSu.js";import{$ as F5,Bt as Y5,D as X5,Dt as W,It as ca,Kt as Nn,Lt as ke,M as K5,Nt as xg,O as Z5,S as Q5,T as Sg,Tt as Ft,Ut as q,Vt as qt,W as J5,X as W5,a as Ag,bt as Vn,c as Yu,dt as lo,ft as $5,ht as eb,jt as tb,n as Bn,nn as ob,o as ab,p as Tg,q as nb,ut as co,w as Cg}from"./project-route-DseXxV_W.js";import{D as We,p as Qr,t as rb}from"./use-reduced-motion-DXYfL08L.js";import{n as _g,t as ib}from"./react-dom-C0xqZMkb.js";import{i as sb}from"./preload-helper-hMqm2cFr.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"3.24.1"};var s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="d3ed39a6-fef2-4069-8282-1d5744ffb67c",n._sentryDebugIdIdentifier="sentry-dbid-d3ed39a6-fef2-4069-8282-1d5744ffb67c")}catch{}})();function u6(n,s,l,u,p){return{level:n,code:s,title:l.slice(0,160),description:u.slice(0,1e3),...p?{details:p}:{}}}var Xu={SIGN_IN_EXPIRED:"Your sign-in expired before this finished, so it wasn't sent. Retry once your session reconnects, or sign in again.",UNAUTHORIZED:"Your sign-in expired before this finished, so it wasn't sent. Retry once your session reconnects, or sign in again.",RESOURCE_DENIED:"The App asked for a file it wasn't given, or its access to that file has ended. Apps can only read and write the file they were opened with.",RESOURCE_INVALID:"The App's file request was malformed (for example a bad URI, both text and blob in one write, or invalid base64).",RESOURCE_NOT_TEXT:`This file isn't text. Request representation: "blob" or handle both text and blob.`,RESOURCE_OUTCOME_UNKNOWN:"The file write may or may not have been saved (the connection dropped mid-write). Read the file again before retrying.",RESOURCE_READ_REQUIRED:"MCPJam gave this App access to its file again (the server restarted, or its hold on the file lapsed), so this save was refused. The App's unsaved changes are still in the viewer: read the file again (resources/read), then save against the ETag it returns.",RESOURCE_TOO_LARGE:"The file is larger than the host allows for Apps.",RESOURCE_UNSUPPORTED:"This file source doesn't support that operation.",RESOURCE_WRITE_UNAVAILABLE:"This Computer can't save the file safely. Copy your changes, then reconnect the Computer before trying again.",PLUGIN_FILE_TARGETS_NOT_DECLARED:`This client lists no files for this server. Add them under the client's mcpProfile.extensions["mcpjam/plugin-file-targets"] (a root folder and each file's relative path).`,PLUGIN_LOCAL_FILES_NOT_CONFIGURED:"Opening local files is off on this MCPJam install. Set MCPJAM_PLUGIN_LOCAL_FILE_ROOTS to a JSON list of allowed folders, each {actorId, projectId, serverId, root}, then restart MCPJam.",PLUGIN_LOCAL_FILE_ROOTS_INVALID:"MCPJAM_PLUGIN_LOCAL_FILE_ROOTS isn't valid JSON. It must be a list of {actorId, projectId, serverId, root} entries.",PLUGIN_LOCAL_FILE_ROOT_NOT_ALLOWED:"This server's file folder isn't allowed for you. Add an entry with your actor ID, this project, this server and the folder to MCPJAM_PLUGIN_LOCAL_FILE_ROOTS, then restart MCPJam.",PLUGIN_FILES_COMPUTER_REQUIRED:"On the cloud, plugin files live on the project's Computer. Attach the Computer to this client and run the server there to open or save its files.",PLUGIN_COMPUTER_FILE_ROOT_INVALID:`On the Computer, file target roots must be absolute folders under /home/user. Fix the root in the client's "mcpjam/plugin-file-targets".`,PLUGIN_FILES_REMOTE_SERVER:"This server runs remotely over HTTP, so it shares no disk with MCPJam or your Computer. Its local file paths can't be opened or saved here.",PLUGIN_COMPUTER_UNAVAILABLE:"The project's Computer is asleep or unreachable, so its files can't be opened or saved right now. Send a message in chat to wake it, then try again.",PLUGIN_FILE_READ_ONLY:`This file is read-only. Only files listed in the client's "mcpjam/plugin-file-targets" (in an allowed local folder, or on the project's Computer on the cloud) can be saved.`,PLUGIN_LOCAL_FILE_NOT_LISTED:`That path isn't one of the files listed for this server in the client's "mcpjam/plugin-file-targets".`,INSTANCE_UNAVAILABLE:"This App session has ended (it was closed, expired or the server restarted). Reopen the App.",INSTANCE_DENIED:"This App isn't allowed to do that here. It may belong to another chat, client or user, or the request doesn't match how the App was opened.",INSTANCE_LIMIT:"Too many Apps are open. Close some Apps and try again.",INSTANCE_STORE_UNAVAILABLE:"Apps can't be opened because the App session store isn't available on this MCPJam server.",INSTANCE_RENEWAL_UNAVAILABLE:"This MCPJam server can't extend App sessions yet. The App keeps working until its session expires; reopen it afterwards.",INSTANCE_HOST_CHANGED:"The client's settings changed after this App opened. Reopen the App to use the new settings.",INSTANCE_SERVER_CHANGED:"The server's saved setup changed after this App opened. Reopen the App.",INSTANCE_CONNECTION_CHANGED:"The server's connection or credentials changed after this App opened. Reopen the App.",INSTANCE_TOOL_UNAVAILABLE:"The server no longer lists the tool this App needs.",INSTANCE_UI_UNAVAILABLE:"The server didn't return a usable App UI (missing ui:// resource, wrong MIME type, or larger than 5 MB).",INSTANCE_CONTEXT_UNAVAILABLE:"Model context isn't available for this App (the client has it turned off, or the App has closed).",INSTANCE_CONTEXT_SEQUENCE_DENIED:"A model-context update arrived out of order and was ignored. Send updates one at a time.",INSTANCE_CONTEXT_REMOVAL_INVALID:"That context removal didn't match this App's current context, so nothing was removed. Remove it again from the composer.",INSTANCE_CONTEXT_TOO_LARGE:"The App's context is too large to keep, so its last accepted context stays. Send less context.",INVALID_INSTANCE_CONTEXT:"MCPJam couldn't store the App's context, so its last accepted context stays. Send less context and try again.",INSTANCE_CONTEXT_RATE_LIMITED:"The App updated its context too often, so this update wasn't kept and its last accepted context stays. Send updates less often.",PLUGIN_CONTEXT_TOO_LARGE:"This context update is over this client's App context budget (its modelContextPolicy), so the App's last accepted context stays. Send less context.",PLUGIN_CONTEXT_TURN_TOO_LARGE:"The Apps in this chat hold more context than this client's modelContextPolicy sends in one turn. Remove an App's context from the composer, then send again.",PLUGIN_CONTEXT_MEMORY_LIMIT:"MCPJam is holding as much App context for you as it can, so this update wasn't kept. Close Apps you no longer need or remove their context, then try again.",INSTANCE_CONTEXT_HELD:"You removed this App's context from the chat, so context the App sends on its own isn't attached. Use the App (for example its attach button) to attach it again.",INSTANCE_MESSAGE_UNAVAILABLE:"This App can't send chat messages (the client has messages turned off).",INSTANCE_REQUEST_BUSY:"The App is already running another request. Wait for it to finish.",ACTIVATION_SCHEMA_INVALID:"The entrypoint tool's input schema doesn't accept the arguments the host must send to open it.",PLUGIN_ENTRYPOINT_UNOPENABLE:"This client can't open an entry point whose tool name has two underscores or two dots in a row, or a dot next to an underscore. Rename the tool.",ACTIVATION_BINDING_CHANGED:"This App was opened with different settings before. Close it and open it again.",INVOCATION_OUTCOME_UNKNOWN:"MCPJam couldn't confirm the tool call's outcome. It may have run, so it won't be retried automatically. Check the server before trying again.",INVOCATION_DENIED:"The tool call isn't allowed for this App.",INVOCATION_ID_REUSED:"The App reused a request ID for a different tool call.",INVOCATION_LIMIT:"This App made too many tool calls in its session. Reopen the App.",INVOCATION_FAILED:"The tool call failed before it reached the server.",INVOCATION_RESULT_EXPIRED:"This tool call already ran, but its result is no longer held in memory, so it can't be returned again. The call is not repeated.",TOOL_CALL_FAILED:"The server returned an error for this tool call. See the server's message for details.",APPROVAL_DENIED:"The tool call wasn't approved.",APPROVAL_UNAVAILABLE:"Tool approval isn't available right now.",AUTHORIZATION_CHANGED:"Access changed while the tool call was running, so it was stopped.",TOOL_VISIBILITY_DENIED:`This tool isn't visible to Apps. Add "app" to its _meta.ui.visibility.`,TOOL_POLICY_DENIED:"The client's tool policy blocks this tool.",TOOL_MENTION_DECLARATION_DENIED:`This tool isn't declared as a mention search tool (_meta["openai/extensions"]["mentions/search"]).`,PLUGIN_EXTENSION_DISABLED:"This client has that OpenAI plugin extension turned off. Turn it on in the client's Apps settings (OpenAI plugin extensions).",PLUGIN_WORKSPACE_DENIED:"Plugin extensions aren't available for this project or account.",PLUGIN_WORKSPACE_CANCELLED:"The request was cancelled.",PLUGIN_WORKSPACE_UNREACHABLE:"MCPJam couldn't reach its backend to check plugin access (a network problem or timeout). Check your connection and try again.",PLUGIN_WORKSPACE_SIGN_IN_EXPIRED:"Your sign-in lapsed while MCPJam was checking plugin access. Retry once your session reconnects, or sign in again.",PLUGIN_INSTANCE_CANCELLED:"The request was cancelled.",INVALID_PLUGIN_INSTANCE_REQUEST:"The request was malformed.",PLUGIN_DEEP_LINK_INVALID:"This isn't a valid plugin link. Plugin links look like chatgpt://plugins/<plugin>/app/<tool>?path=/page (the path must start with / and have no #fragment).",PLUGIN_DEEP_LINK_SCHEME_UNSUPPORTED:"This client doesn't open links with that scheme. The Codex client uses codex://; the ChatGPT client uses chatgpt:// or https://chatgpt.com.",PLUGIN_DEEP_LINK_PLUGIN_UNKNOWN:"No enabled plugin or server matches the link's plugin ID. Use the plugin's manifest name, its installation ID, or server-<saved server ID> for a plain server.",PLUGIN_DEEP_LINK_MARKETPLACE_MISMATCH:"The link's @marketplace doesn't match the marketplace this plugin was installed from.",PLUGIN_DEEP_LINK_AMBIGUOUS:"More than one installed plugin matches this link. Add @<marketplace> to the plugin ID, or use the installation ID.",PLUGIN_DEEP_LINK_TOOL_UNAVAILABLE:"The plugin has no global App entrypoint with the link's tool name.",PLUGIN_DEEP_LINK_NAMESPACE_UNAVAILABLE:"Deep links can only open a plugin's global App.",PLUGIN_FORM_UNSUPPORTED:"This form uses a schema feature the client doesn't support.",PLUGIN_FORM_UNAVAILABLE:"The form couldn't be loaded.",PLUGIN_FORM_SCHEMA_MISSING:`This form keeps its fields in _meta["openai/elicitation"].requestedSchema, but that schema is missing or isn't an object schema, so MCPJam refused the form rather than show it empty. Send the full form schema there (OpenAI's requestFormInput does).`,PLUGIN_FORM_TOO_LARGE:"The form is too large (too many fields, options or bytes).",PLUGIN_FORM_PATTERN_UNSUPPORTED:"A field's pattern isn't a supported regular expression.",PLUGIN_FORM_WEB_UPLOAD_UNSUPPORTED:"Forms opened from an App can only ask for file uploads when the client's File resources extension is on. Turn it on in the client's plugin extensions, or remove upload options.",PLUGIN_FORM_RESOURCE_SERVICE_UNAVAILABLE:"This form asks for file or folder uploads, which this MCPJam server can't provide (configure a local folder, or use a local install).",PLUGIN_FORM_PREVIEW_SERVICE_UNAVAILABLE:"This client can't render that kind of preview.",PLUGIN_FORM_PREVIEW_INVALID:`An option's _meta["openai/preview"] has no valid target.`,PLUGIN_FORMS_DISABLED:"This client has Forms turned off, so the form takes no answers or uploads. A form that was already open ends as cancelled when it's submitted, and its answer isn't sent to the server. Turn Forms on in the client's OpenAI plugin extensions to answer forms.",FORM_SOURCE_UNAVAILABLE:"This form has expired or was already answered.",FORM_PREVIEW_UNAVAILABLE:"That preview isn't available for this form.",PLUGIN_FORM_PREVIEW_TIMEOUT:"The preview didn't open within 30 seconds, so MCPJam stopped waiting. The form and its answers are unchanged. Try again; if it keeps happening, check that the server answers the preview's resource read or preview tool promptly.",PLUGIN_FORM_PREVIEW_FAILED:"The preview couldn't be opened. The form and its answers are unchanged; try again.",PLUGIN_FORM_SUBMIT_TIMEOUT:"MCPJam didn't confirm the answer within 30 seconds, so it stopped waiting. The answers are still in the form; send them again. A repeat of an answer that did arrive is ignored.",PLUGIN_FORM_SUBMIT_FAILED:"The answer couldn't be sent. The answers are still in the form; send them again.",PLUGIN_FORM_DESTINATION_TIMEOUT:"MCPJam couldn't confirm where this form's files would be uploaded within 30 seconds, so it stopped waiting. Nothing was uploaded and the request is still open. Retry, or cancel the request; if it keeps happening, check that the server is still connected and that you're still signed in.",PLUGIN_FORM_DESTINATION_FAILED:"MCPJam couldn't check where this form's files would be uploaded. Nothing was uploaded and the request is still open; retry, or cancel the request.",PLUGIN_SETTINGS_TOOL_UNAVAILABLE:"The server's openai/settings capability names a read or update tool that tools/list doesn't include.",PLUGIN_SETTINGS_OUTPUT_SCHEMA_REQUIRED:"Both settings tools must declare an outputSchema.",PLUGIN_SETTINGS_READ_ARGUMENTS_INVALID:"The settings read tool must accept an empty arguments object ({}).",PLUGIN_SETTINGS_UNSUPPORTED_SCHEMA:"A settings field uses an unsupported type. Settings support boolean, string (with optional enum), number and integer.",PLUGIN_SETTINGS_INVALID_RESULT:"The settings read tool returned a result that doesn't match its outputSchema, or a field has no value.",PLUGIN_SETTINGS_TOOL_SCHEMA_INVALID:"A settings tool's schema couldn't be parsed.",PLUGIN_SETTINGS_INVALID_CAPABILITY:"The server's openai/settings capability is malformed.",PLUGIN_SETTINGS_AMBIGUOUS_CAPABILITY:"The server declares openai/settings in more than one place with different values.",PLUGIN_SETTINGS_SAVE_FAILED:"The server couldn't save the settings.",PLUGIN_SETTINGS_SCHEMA_CHANGED:"The server's settings changed. Reload settings and try again.",PLUGIN_SETTINGS_REFRESH_REQUIRED:"Settings changed on the server. Reload settings.",PLUGIN_SETTINGS_READ_NOT_READ_ONLY:"The settings read tool should be marked read-only (annotations.readOnlyHint: true).",SETTINGS_UNAVAILABLE:"Settings aren't available for this server right now.",PLUGIN_MENTION_SEARCH_FAILED:"The server's mention search tool returned an error.",PLUGIN_MENTION_RESULT_TOO_LARGE:"The mention search result is too large.",PLUGIN_FILE_READ_TIMEOUT:"The file didn't load within 12 seconds, so MCPJam stopped waiting. Reload the file in the viewer (or reopen it) to try again. If it keeps happening, check that the server answers resources/read promptly, and close Apps you no longer need: each open file viewer keeps a connection to MCPJam.",PLUGIN_FILE_WATCH_TIMEOUT:"MCPJam couldn't start watching this file for changes within 12 seconds, so it stopped waiting. The file can still be read; changes made elsewhere won't refresh the viewer until it subscribes again or the file is reopened.",MODEL_APP_UNAVAILABLE:"This App from the chat is no longer available.",MODEL_FORM_UNAVAILABLE:"This form is no longer available, so your answer wasn't sent. Ask the model to run the tool again.",FORM_NOT_SAVED:"MCPJam couldn't save this form, so it wasn't shown and the tool call ended. Ask the model to run the tool again.",FORM_STORE_UNAVAILABLE:"MCPJam couldn't load this form's saved state, so nothing was sent. Try again in a moment.",CONTINUATION_EXPIRED:"This form expired before it was answered, so the tool call did not finish. Run it again.",CONTINUATION_FAILED:"This form is closed and cannot be submitted. Start the tool call again.",CONTINUATION_CANCELLED:"This form was cancelled, so the tool call did not finish.",CONTINUATION_CONNECTION_UNAVAILABLE:"The server disconnected before the answer could be sent. Reconnect and send it again.",CONTINUATION_DENIED:"This form answer doesn't match the server's current request.",CONTINUATION_PROTOCOL_DENIED:"The server's MCP version doesn't support this form request."},lb=[["PLUGIN_DEEP_LINK_","This plugin link couldn't be opened."],["PLUGIN_SETTINGS_","The server's settings couldn't be used."],["PLUGIN_FORM_","This form couldn't be shown."],["RESOURCE_","The App's file request couldn't be completed."],["INSTANCE_CONTEXT_","The App's model context couldn't be updated."],["INSTANCE_","This App session couldn't complete the request. Reopen the App."],["INVOCATION_","The tool call couldn't be completed."],["CONTINUATION_","The form answer couldn't be delivered to the server."]];function d6(n){if(typeof n=="string")return Object.hasOwn(Xu,n)?Xu[n]:lb.find(([s])=>n.startsWith(s))?.[1]}var cb={location:["host_workspace"],operation:["form_response","settings_save","app_message"],host_profile:["chatgpt","codex","unknown"],outcome:["success","failure","declined","cancelled"],deployment:["hosted","self_hosted"],source:["client"]},ub=["none","refused","other",...Object.keys(Xu)],B0="x-mcpjam-telemetry-policy",Vu={location:["header"],trigger:["conformance","oauth","xaa"],reason:["completed","return_visit"],has_advice:"boolean"},p6={extension_launch_completed:{location:["host_workspace"],launch_kind:["thread","global","file","quick-action","settings"],host_profile:["chatgpt","codex"],outcome:["success","failure"],failure_stage:["none","execution","rendering","timeout","unknown"],deployment:["hosted","self_hosted"],source:["client"]},extension_operation_completed:{...cb,error_code:ub},app_launched:{location:["app"],is_authenticated:"boolean",platform:["web","npm","docker","mac","win","electron"],deployment:["hosted","self_hosted"],launch_trigger:["immediate","grant","timeout","hidden"],policy_wait_ms:"count"},send_message:{location:["chat_tab","ui_playground"],multi_model_enabled:"boolean",multi_model_count:"count"},edit_message:{location:["chat_tab","ui_playground"]},execute_tool:{location:["parameters_panel","tools_sidebar"],as_task:"boolean"},eval_suite_run_started:{location:["ci_evals_tab"],num_test_cases:"count",num_tests:"count",num_models:"count",replay:"boolean"},conformance_run_triggered:{location:["conformance_tab","score_runner","compat_page","compat_detail_modal"],run_source:["ui"]},conformance_tab_viewed:{location:["conformance_tab"]},conformance_run_completed:{location:["conformance_tab"],run_source:["ui"],outcome:["passed","failed","incomplete"],has_advice:"boolean",scored:"boolean"},github_star_prompt_shown:Vu,github_star_prompt_clicked:{...Vu,cta:["primary","star_button"]},github_star_prompt_dismissed:{...Vu,close_reason:["not_now","dismiss"]},github_star_button_clicked:{location:["header","settings"]},$pageview:{},$pageleave:{}},Br;function db(){if(Br)return Br;const n=I=>{let E;try{E=new URL(I,window.location.href)}catch{return!1}return E.origin===window.location.origin&&/^\/(tlm|relay)(\/|$)/.test(E.pathname)},s=ob,l=window.fetch,u=globalThis.fetch,p=(I,E)=>{const w=I instanceof Request?I.url:String(I);if(!n(w))return l.call(window,I,E);const D=new Headers(E?.headers??(I instanceof Request?I.headers:void 0));return D.set(B0,s()),l.call(window,I,{...E,headers:D})};window.fetch=p,globalThis.fetch=p;const f=XMLHttpRequest.prototype,A=f.open,T=f.send,M=f.setRequestHeader,_=new WeakMap;return f.open=function(I,E,w=!0,D,j){return _.set(this,n(String(E))),Reflect.apply(A,this,arguments)},f.setRequestHeader=function(I,E){if(!(_.get(this)&&I.toLowerCase()==="x-mcpjam-telemetry-policy"))return M.call(this,I,E)},f.send=function(I){return _.get(this)&&M.call(this,B0,s()),T.call(this,I)},Br=()=>{window.fetch=l,globalThis.fetch=u,f.open=A,f.send=T,f.setRequestHeader=M,Br=void 0},Br}db();var Qs="mcpjam_promo_intent",pb=18e5,Gt,fb=/^[a-z0-9-]{1,80}$/;function Js(n){return typeof n=="string"&&fb.test(n)?n:null}function wg(n=window.location.search){return Js(new URLSearchParams(n).get("campaign"))??"agntcon-2026"}function Ku(){Gt=null;try{return sessionStorage.removeItem(Qs),!0}catch{return console.debug("Promo intent storage unavailable"),!1}}function gb(n,s=Date.now(),l=wg()){Gt={code:n,storedAt:s,campaign:l};try{return sessionStorage.setItem(Qs,JSON.stringify(Gt)),!0}catch{return console.debug("Promo intent storage unavailable"),!1}}function hb(n=Date.now(),s=wg()){try{if(Gt===void 0){const l=JSON.parse(sessionStorage.getItem(Qs)??"null");l&&typeof l=="object"&&"code"in l&&"storedAt"in l&&typeof l.code=="string"&&l.code.length<=64&&typeof l.storedAt=="number"&&(Gt={code:l.code,storedAt:l.storedAt,campaign:"campaign"in l&&Js(l.campaign)||"agntcon-2026"})}}catch{console.debug("Promo intent storage unavailable")}return!Gt||n<Gt.storedAt||n-Gt.storedAt>=pb?(Ku(),""):Gt.campaign===s?Gt.code:""}function Zu(n,s=!1){const l=new URLSearchParams;s&&l.set("manual","1"),n&&n!=="agntcon-2026"&&l.set("campaign",n);const u=l.toString();return u?`/redeem?${u}`:"/redeem"}function f6(n){const s=hb(Date.now(),n);let l=!1;try{l=sessionStorage.getItem(Qs)===JSON.stringify(Gt)}catch{console.debug("Promo intent storage unavailable")}return{promoReturn:!0,promoManualEntry:!s||!l,promoCampaign:n}}function g6(n){return n?.promoReturn!==!0?null:Zu(Js(n.promoCampaign),n.promoManualEntry===!0)}function mb(){if(window.location.pathname.replace(/\/+$/,"")!=="/redeem")return;const n=new URL(window.location.href),s=Js(n.searchParams.get("campaign"));if(n.searchParams.get("manual")==="1"){Ku()&&window.history.replaceState(window.history.state,"",Zu(s));return}const l=n.searchParams.get("code")??new URLSearchParams(n.hash.slice(1)).get("code");l!==null&&(l.length<=64?gb(l,Date.now(),s??"agntcon-2026"):Ku(),window.history.replaceState(window.history.state,"",Zu(s)))}function h6(){const n=()=>{mb(),window.dispatchEvent(new Event("promo-intent-changed"))};window.addEventListener("hashchange",n),window.addEventListener("popstate",n)}var Jr="oauth_pending";var bb="invalid_request",vb="The authorization response was no longer available after the page reloaded. Start the connection again.",Xt=null,H0=0;function Qu(){return H0+=1,`inbox:${H0}`}function ad(n){return n==="/oauth/callback"||n.startsWith("/oauth/callback/")}function Eg(n){try{return new URLSearchParams(n).get(Jr)==="1"}catch{return!1}}function kg(n){return`${n}?${Jr}=1`}var yb=/token|secret|code|key|sig|cred|pass|state|session|auth|ticket|assertion/i,xb=/^[A-Za-z][\w-]{0,63}$/;function Sb(n){const s=n.startsWith("#")?n.slice(1):n;return s?s.includes("=")?s.split("&").every(l=>{const u=l.split("=",1)[0]??"";try{const p=decodeURIComponent(u);return p!==""&&!yb.test(p)}catch{return!1}}):xb.test(s):!1}function m6(){if(typeof window>"u")return!1;const{pathname:n,search:s,hash:l}=window.location;if(!ad(n))return!1;const u=new URLSearchParams(s),p=u.get(Jr)==="1";if(u.delete(Jr),[...u.keys()].length>0)Xt={pathname:n,params:u.toString(),attempt:Qu()};else if(p){if(Xt?.pathname===n)return!0;Xt={attempt:Qu(),pathname:n,params:new URLSearchParams({error:bb,error_description:vb}).toString()}}else return!1;const f=l&&Sb(l)?l:"";try{history.replaceState(history.state,"",`${kg(n)}${f}`)}catch{}return!0}function b6(n,s="/oauth/callback"){const l=new URLSearchParams(n);return l.delete(Jr),Xt={pathname:s,params:l.toString(),attempt:Qu()},kg(s)}function Ws(){if(typeof window>"u")return null;const{pathname:n,search:s}=window.location;if(!ad(n))return null;if(Eg(s))return Xt&&Xt.pathname===n?new URLSearchParams(Xt.params):null;const l=new URLSearchParams(s);return[...l.keys()].length>0?l:null}function Ab(){if(typeof window>"u")return null;const{pathname:n,search:s}=window.location;return ad(n)?Eg(s)?Xt&&Xt.pathname===n?Xt.attempt:null:s&&s!=="?"?`url:${s}`:null:null}function v6(){const n=Ws();return!!(n&&(n.has("code")||n.has("error")))}function y6(n){if(n!==void 0&&n!==Ab())return null;const s=Ws();return Xt=null,s}var Tb=Zs((n=>{function s(z,K){var F=z.length;z.push(K);e:for(;0<F;){var Se=F-1>>>1,_e=z[Se];if(0<p(_e,K))z[Se]=K,z[F]=_e,F=Se;else break e}}function l(z){return z.length===0?null:z[0]}function u(z){if(z.length===0)return null;var K=z[0],F=z.pop();if(F!==K){z[0]=F;e:for(var Se=0,_e=z.length,ft=_e>>>1;Se<ft;){var Do=2*(Se+1)-1,Gn=z[Do],fo=Do+1,Oo=z[fo];if(0>p(Gn,F))fo<_e&&0>p(Oo,Gn)?(z[Se]=Oo,z[fo]=F,Se=fo):(z[Se]=Gn,z[Do]=F,Se=Do);else if(fo<_e&&0>p(Oo,F))z[Se]=Oo,z[fo]=F,Se=fo;else break e}}return K}function p(z,K){var F=z.sortIndex-K.sortIndex;return F!==0?F:z.id-K.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var A=Date,T=A.now();n.unstable_now=function(){return A.now()-T}}var M=[],_=[],I=1,E=null,w=3,D=!1,j=!1,ae=!1,Q=!1,V=typeof setTimeout=="function"?setTimeout:null,be=typeof clearTimeout=="function"?clearTimeout:null,$e=typeof setImmediate<"u"?setImmediate:null;function Be(z){for(var K=l(_);K!==null;){if(K.callback===null)u(_);else if(K.startTime<=z)u(_),K.sortIndex=K.expirationTime,s(M,K);else break;K=l(_)}}function Zt(z){if(ae=!1,Be(z),!j)if(l(M)!==null)j=!0,ze||(ze=!0,et());else{var K=l(_);K!==null&&Ga(Zt,K.startTime-z)}}var ze=!1,Ne=-1,G=5,Io=-1;function it(){return Q?!0:!(n.unstable_now()-Io<G)}function He(){if(Q=!1,ze){var z=n.unstable_now();Io=z;var K=!0;try{e:{j=!1,ae&&(ae=!1,be(Ne),Ne=-1),D=!0;var F=w;try{t:{for(Be(z),E=l(M);E!==null&&!(E.expirationTime>z&&it());){var Se=E.callback;if(typeof Se=="function"){E.callback=null,w=E.priorityLevel;var _e=Se(E.expirationTime<=z);if(z=n.unstable_now(),typeof _e=="function"){E.callback=_e,Be(z),K=!0;break t}E===l(M)&&u(M),Be(z)}else u(M);E=l(M)}if(E!==null)K=!0;else{var ft=l(_);ft!==null&&Ga(Zt,ft.startTime-z),K=!1}}break e}finally{E=null,w=F,D=!1}K=void 0}}finally{K?et():ze=!1}}}var et;if(typeof $e=="function")et=function(){$e(He)};else if(typeof MessageChannel<"u"){var pa=new MessageChannel,qn=pa.port2;pa.port1.onmessage=He,et=function(){qn.postMessage(null)}}else et=function(){V(He,0)};function Ga(z,K){Ne=V(function(){z(n.unstable_now())},K)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(z){z.callback=null},n.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<z?Math.floor(1e3/z):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_next=function(z){switch(w){case 1:case 2:case 3:var K=3;break;default:K=w}var F=w;w=K;try{return z()}finally{w=F}},n.unstable_requestPaint=function(){Q=!0},n.unstable_runWithPriority=function(z,K){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var F=w;w=z;try{return K()}finally{w=F}},n.unstable_scheduleCallback=function(z,K,F){var Se=n.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?Se+F:Se):F=Se,z){case 1:var _e=-1;break;case 2:_e=250;break;case 5:_e=1073741823;break;case 4:_e=1e4;break;default:_e=5e3}return _e=F+_e,z={id:I++,callback:K,priorityLevel:z,startTime:F,expirationTime:_e,sortIndex:-1},F>Se?(z.sortIndex=F,s(_,z),l(M)===null&&z===l(_)&&(ae?(be(Ne),Ne=-1):ae=!0,Ga(Zt,F-Se))):(z.sortIndex=_e,s(M,z),j||D||(j=!0,ze||(ze=!0,et()))),z},n.unstable_shouldYield=it,n.unstable_wrapCallback=function(z){var K=w;return function(){var F=w;w=K;try{return z.apply(this,arguments)}finally{w=F}}}})),Cb=Zs(((n,s)=>{s.exports=Tb()})),_b=Zs((n=>{var s=Cb(),l=_g(),u=ib();function p(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function A(e){for(var t=e,o=t;o&&!o.alternate;)t=o,(t.flags&4098)!==0&&(e=t.return),o=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function T(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 M(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function _(e){if(A(e)!==e)throw Error(p(188))}function I(e){var t=e.alternate;if(!t){if(t=A(e),t===null)throw Error(p(188));return t!==e?null:e}for(var o=e,a=t;;){var r=o.return;if(r===null)break;var i=r.alternate;if(i===null){if(a=r.return,a!==null){o=a;continue}break}if(r.child===i.child){for(i=r.child;i;){if(i===o)return _(r),e;if(i===a)return _(r),t;i=i.sibling}throw Error(p(188))}if(o.return!==a.return)o=r,a=i;else{for(var c=!1,d=r.child;d;){if(d===o){c=!0,o=r,a=i;break}if(d===a){c=!0,a=r,o=i;break}d=d.sibling}if(!c){for(d=i.child;d;){if(d===o){c=!0,o=i,a=r;break}if(d===a){c=!0,a=i,o=r;break}d=d.sibling}if(!c)throw Error(p(189))}}if(o.alternate!==a)throw Error(p(190))}if(o.tag!==3)throw Error(p(188));return o.stateNode.current===o?e:t}function E(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=E(e),t!==null)return t;e=e.sibling}return null}function w(e,t,o,a,r,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&o(e,a,r,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&w(e.child,t,o,a,r,i))return!0;e=e.sibling}return!1}function D(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function j(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function ae(e){var t=[null,null],o=D(e);return o===null||Q(t,e,o.child,{foundSelf:!1}),t}function Q(e,t,o,a){for(;o!==null;){if(o===t)a.foundSelf=!0;else if(o.tag===5||o.tag===27||o.tag===6){if(a.foundSelf)return e[1]=o,!0;e[0]=o}else if((o.tag!==22||o.memoizedState===null)&&Q(e,t,o.child,a))return!0;o=o.sibling}return!1}function V(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(p(559))}}var be=null,$e=null;function Be(e,t,o){return e===o?!0:e===t?(be=e,!0):!1}function Zt(e,t,o){return e===o?($e=e,!1):e===t?($e!==null&&(be=e),!0):!1}function ze(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function Ne(e,t,o){for(var a=0,r=e;r;r=o(r))a++;r=0;for(var i=t;i;i=o(i))r++;for(;0<a-r;)e=o(e),a--;for(;0<r-a;)t=o(t),r--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=o(e),t=o(t)}return null}var G=Object.assign,Io=Symbol.for("react.element"),it=Symbol.for("react.transitional.element"),He=Symbol.for("react.portal"),et=Symbol.for("react.fragment"),pa=Symbol.for("react.strict_mode"),qn=Symbol.for("react.profiler"),Ga=Symbol.for("react.consumer"),z=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),ft=Symbol.for("react.lazy"),Do=Symbol.for("react.activity"),Gn=Symbol.for("react.legacy_hidden"),fo=Symbol.for("react.memo_cache_sentinel"),Oo=Symbol.for("react.view_transition"),eh=Symbol.for("react.recoverable"),vd=Symbol.iterator;function Fn(e){return e===null||typeof e!="object"?null:(e=vd&&e[vd]||e["@@iterator"],typeof e=="function"?e:null)}var th=Symbol.for("react.client.reference");function rl(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===th?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case et:return"Fragment";case qn:return"Profiler";case pa:return"StrictMode";case F:return"Suspense";case Se:return"SuspenseList";case Do:return"Activity";case Oo:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case He:return"Portal";case z:return e.displayName||"Context";case Ga:return(e._context.displayName||"Context")+".Consumer";case K:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _e:return t=e.displayName||null,t!==null?t:rl(e.type)||"Memo";case ft:t=e._payload,e=e._init;try{return rl(e(t))}catch{}}return null}var Yn=Array.isArray,H=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fa={pending:!1,data:null,method:null,action:null},il=[],Fa=-1;function Qt(e){return{current:e}}function qe(e){0>Fa||(e.current=il[Fa],il[Fa]=null,Fa--)}function ve(e,t){Fa++,il[Fa]=e.current,e.current=t}var Jt=Qt(null),Xn=Qt(null),zo=Qt(null),li=Qt(null);function ci(e,t){switch(ve(zo,t),ve(Xn,e),ve(Jt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Wf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Wf(t),e=$f(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}qe(Jt),ve(Jt,e)}function Ya(){qe(Jt),qe(Xn),qe(zo)}function sl(e){var t=e.memoizedState;t!==null&&(On._currentValue=t.memoizedState,ve(li,e)),t=Jt.current;var o=$f(t,e.type);t!==o&&(ve(Xn,e),ve(Jt,o))}function ui(e){Xn.current===e&&(qe(Jt),qe(Xn)),li.current===e&&(qe(li),On._currentValue=fa)}var ll,yd;function Uo(e){if(ll===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);ll=t&&t[1]||"",yd=-1<o.stack.indexOf(`
|
|
2
2
|
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+ll+e+
|
|
3
|
+
`+ll+e+yd}var cl=!1;function ul(e,t){if(!e||cl)return"";cl=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(O){var m=O}Reflect.construct(e,[],R)}else{try{R.call()}catch(O){m=O}R=!1;try{var x=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),R=!0,new e}finally{R&&(x!==void 0?Object.defineProperty(e.prototype,"props",x):delete e.prototype.props)}}}else{try{throw Error()}catch(O){m=O}(R=e())&&typeof R.catch=="function"&&R.catch(function(){})}}catch(O){if(O&&m&&typeof O.stack=="string")return[O.stack,m.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=a.DetermineComponentFrameRoot(),c=i[0],d=i[1];if(c&&d){var g=c.split(`
|
|
4
4
|
`),v=d.split(`
|
|
5
5
|
`);for(r=a=0;a<g.length&&!g[a].includes("DetermineComponentFrameRoot");)a++;for(;r<v.length&&!v[r].includes("DetermineComponentFrameRoot");)r++;if(a===g.length||r===v.length)for(a=g.length-1,r=v.length-1;1<=a&&0<=r&&g[a]!==v[r];)r--;for(;1<=a&&0<=r;a--,r--)if(g[a]!==v[r]){if(a!==1||r!==1)do if(a--,r--,0>r||g[a]!==v[r]){var S=`
|
|
6
|
-
`+g[a].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),S}while(1<=a&&0<=r);break}}}finally{cl=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?Uo(o):""}function
|
|
6
|
+
`+g[a].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),S}while(1<=a&&0<=r);break}}}finally{cl=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?Uo(o):""}function oh(e,t){switch(e.tag){case 26:case 27:case 5:return Uo(e.type);case 16:return Uo("Lazy");case 13:return e.child!==t&&t!==null?Uo("Suspense Fallback"):Uo("Suspense");case 19:return Uo("SuspenseList");case 0:case 15:return ul(e.type,!1);case 11:return ul(e.type.render,!1);case 1:return ul(e.type,!0);case 31:return Uo("Activity");case 30:return Uo("ViewTransition");default:return""}}function xd(e){try{var t="",o=null;do t+=oh(e,o),o=e,e=e.return;while(e);return t}catch(a){return`
|
|
7
7
|
Error generating stack: `+a.message+`
|
|
8
|
-
`+a.stack}}var dl=Object.prototype.hasOwnProperty,pl=s.unstable_scheduleCallback,fl=s.unstable_cancelCallback,oh=s.unstable_shouldYield,ah=s.unstable_requestPaint,gt=s.unstable_now,nh=s.unstable_getCurrentPriorityLevel,xd=s.unstable_ImmediatePriority,Sd=s.unstable_UserBlockingPriority,di=s.unstable_NormalPriority,rh=s.unstable_LowPriority,Ad=s.unstable_IdlePriority,ih=s.log,sh=s.unstable_setDisableYieldValue,Kn=null,ht=null;function No(e){if(typeof ih=="function"&&sh(e),ht&&typeof ht.setStrictMode=="function")try{ht.setStrictMode(Kn,e)}catch{}}var mt=Math.clz32?Math.clz32:uh,lh=Math.log,ch=Math.LN2;function uh(e){return e>>>=0,e===0?32:31-(lh(e)/ch|0)|0}var pi=256,fi=262144,gi=4194304;function ga(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function hi(e,t,o){var a=e.pendingLanes;if(a===0)return 0;var r=0,i=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~i,a!==0?r=ga(a):(c&=d,c!==0?r=ga(c):o||(o=d&~e,o!==0&&(r=ga(o))))):(d=a&~i,d!==0?r=ga(d):c!==0?r=ga(c):o||(o=a&~e,o!==0&&(r=ga(o)))),r===0?0:t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===32&&(o&4194048)!==0)?t:r}function Zn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Td(e,t){(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var a=31-mt(o),r=1<<a;t|=e[a],o&=~r}return t}function dh(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Cd(){var e=gi;return gi<<=1,(gi&62914560)===0&&(gi=4194304),e}function gl(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function mi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ph(e,t,o,a,r,i){var c=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var d=e.entanglements,g=e.expirationTimes,v=e.hiddenUpdates;for(o=c&~o;0<o;){var S=31-mt(o),R=1<<S;d[S]=0,g[S]=-1;var m=v[S];if(m!==null)for(v[S]=null,S=0;S<m.length;S++){var x=m[S];x!==null&&(x.lane&=-536870913)}o&=~R}a!==0&&wd(e,a,0),i!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=i&~(c&~t))}function wd(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-mt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|o&261930}function _d(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var a=31-mt(o),r=1<<a;r&t|e[a]&t&&(e[a]|=t),o&=~r}}function Ed(e,t){var o=t&-t;return o=(o&42)!==0?1:kd(o),(o&(e.suspendedLanes|t))!==0?0:o}function kd(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function hl(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Md(){var e=ie.p;return e!==0?e:(e=window.event,e===void 0?32:z0(e.type))}function Rd(e,t){var o=ie.p;try{return ie.p=e,t()}finally{ie.p=o}}var go=Math.random().toString(36).slice(2),Ge="__reactFiber$"+go,st="__reactProps$"+go,Qn="__reactContainer$"+go,Id="__reactEvents$"+go,fh="__reactListeners$"+go,gh="__reactHandles$"+go,Dd="__reactResources$"+go,Jn="__reactMarker$"+go,bi="__reactLoad$"+go;function vi(e){delete e[Ge],delete e[st],delete e[fh],delete e[gh]}function ha(e){var t;if(t=e[Ge])return t;for(var o=e.parentNode;o;){if(t=o[Qn]||o[Ge]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=m0(e);e!==null;){if(o=e[Ge])return o;e=m0(e)}return t}e=o,o=e.parentNode}return null}function Xa(e){if(e=e[Ge]||e[Qn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Wn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(p(33))}function Ka(e){var t=e[Dd];return t||(t=e[Dd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Le(e){e[Jn]=!0}function Od(e){e[bi]=void 0}var zd=new Set,Ud={};function ma(e,t){Za(e,t),Za(e+"Capture",t)}function Za(e,t){for(Ud[e]=t,e=0;e<t.length;e++)zd.add(t[e])}var hh=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Nd={},Ld={};function mh(e){return dl.call(Ld,e)?!0:dl.call(Nd,e)?!1:hh.test(e)?Ld[e]=!0:(Nd[e]=!0,!1)}var re=!1;function Pd(){var e=re;return re=!1,e}function yi(e,t,o){if(mh(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,o)}}function xi(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,o)}}function ho(e,t,o,a){if(a===null)e.removeAttribute(o);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,a)}}function bt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bh(e,t,o){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var r=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(c){o=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return o},setValue:function(c){o=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ml(e){if(!e._valueTracker){var t=jd(e)?"checked":"value";e._valueTracker=bh(e,t,""+e[t])}}function Vd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),a="";return e&&(a=jd(e)?e.checked?"true":"false":e.value),e=a,e!==o?(t.setValue(e),!0):!1}var vh=/[\n"\\]/g;function Ct(e){return e.replace(vh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function bl(e,t,o,a,r,i,c,d){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+bt(t)):e.value!==""+bt(t)&&(e.value=""+bt(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?c==="number"&&e.value==t?vl(e,bt(e.value)):vl(e,bt(t)):o!=null?vl(e,bt(o)):a!=null&&e.removeAttribute("value"),r==null&&i!=null&&(e.defaultChecked=!!i),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+bt(d):e.removeAttribute("name")}function Bd(e,t,o,a,r,i,c,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||o!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){ml(e);return}o=o!=null?""+bt(o):"",t=t!=null?""+bt(t):o,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c),ml(e)}function vl(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Qa(e,t,o,a){if(e=e.options,t){t={};for(var r=0;r<o.length;r++)t["$"+o[r]]=!0;for(o=0;o<e.length;o++)r=t.hasOwnProperty("$"+e[o].value),e[o].selected!==r&&(e[o].selected=r),r&&a&&(e[o].defaultSelected=!0)}else{for(o=""+bt(o),t=null,r=0;r<e.length;r++){if(e[r].value===o){e[r].selected=!0,a&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Hd(e,t,o){if(t!=null&&(t=""+bt(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+bt(o):""}function qd(e,t,o,a){if(t==null){if(a!=null){if(o!=null)throw Error(p(92));if(Yn(a)){if(1<a.length)throw Error(p(93));a=a[0]}o=a}o??="",t=o}o=bt(t),e.defaultValue=o,a=e.textContent,a===o&&a!==""&&a!==null&&(e.value=a),ml(e)}function Ja(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var yh=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Gd(e,t,o){var a=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,o):typeof o!="number"||o===0||yh.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function Fd(e,t,o){if(t!=null&&typeof t!="object")throw Error(p(62));if(e=e.style,o!=null){for(var a in o)!o.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="",re=!0);for(var r in t)a=t[r],t.hasOwnProperty(r)&&o[r]!==a&&(Gd(e,r,a),re=!0)}else for(var i in t)t.hasOwnProperty(i)&&Gd(e,i,t[i])}function yl(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xh=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Sh=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Si(e){return Sh.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Wt(){}var xl=null;function Sl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wa=null,$a=null;function Yd(e){var t=Xa(e);if(t&&(e=t.stateNode)){var o=e[st]||null;e:switch(e=t.stateNode,t.type){case"input":if(bl(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Ct(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var a=o[t];if(a!==e&&a.form===e.form){var r=a[st]||null;if(!r)throw Error(p(90));bl(a,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<o.length;t++)a=o[t],a.form===e.form&&Vd(a)}break e;case"textarea":Hd(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Qa(e,!!o.multiple,t,!1)}}}var Al=!1;function Xd(e,t,o){if(Al)return e(t,o);Al=!0;try{return e(t)}finally{if(Al=!1,(Wa!==null||$a!==null)&&(Ss(),Wa&&(t=Wa,e=$a,$a=Wa=null,Yd(t),e)))for(t=0;t<e.length;t++)Yd(e[t])}}function $n(e,t){var o=e.stateNode;if(o===null)return null;var a=o[st]||null;if(a===null)return null;o=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(p(231,t,typeof o));return o}var mo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tl=!1;if(mo)try{var er={};Object.defineProperty(er,"passive",{get:function(){Tl=!0}}),window.addEventListener("test",er,er),window.removeEventListener("test",er,er)}catch{Tl=!1}var Lo=null,Cl=null,Ai=null;function Kd(){if(Ai)return Ai;var e,t=Cl,o=t.length,a,r="value"in Lo?Lo.value:Lo.textContent,i=r.length;for(e=0;e<o&&t[e]===r[e];e++);var c=o-e;for(a=1;a<=c&&t[o-a]===r[i-a];a++);return Ai=r.slice(e,1<a?1-a:void 0)}function Ti(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 Ci(){return!0}function Zd(){return!1}function tt(e){function t(o,a,r,i,c){this._reactName=o,this._targetInst=r,this.type=a,this.nativeEvent=i,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(o=e[d],this[d]=o?o(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ci:Zd,this.isPropagationStopped=Zd,this}return G(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Ci)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Ci)},persist:function(){},isPersistent:Ci}),t}var Po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wi=tt(Po),tr=G({},Po,{view:0,detail:0}),Ah=tt(tr),wl,_l,or,_i=G({},tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kl,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!==or&&(or&&e.type==="mousemove"?(wl=e.screenX-or.screenX,_l=e.screenY-or.screenY):_l=wl=0,or=e),wl)},movementY:function(e){return"movementY"in e?e.movementY:_l}}),Qd=tt(_i),Th=tt(G({},_i,{dataTransfer:0})),El=tt(G({},tr,{relatedTarget:0})),Ch=tt(G({},Po,{animationName:0,elapsedTime:0,pseudoElement:0})),wh=tt(G({},Po,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Jd=tt(G({},Po,{data:0})),_h={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Eh={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"},kh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=kh[e])?!!t[e]:!1}function kl(){return Mh}var Rh=tt(G({},tr,{key:function(e){if(e.key){var t=_h[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ti(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Eh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kl,charCode:function(e){return e.type==="keypress"?Ti(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ti(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}})),Wd=tt(G({},_i,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ih=tt(G({},Po,{submitter:0})),Dh=tt(G({},tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kl})),Oh=tt(G({},Po,{propertyName:0,elapsedTime:0,pseudoElement:0})),zh=tt(G({},_i,{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})),Uh=tt(G({},Po,{newState:0,oldState:0,source:0})),Nh=[9,13,27,32],Ml=mo&&"CompositionEvent"in window,ar=null;mo&&"documentMode"in document&&(ar=document.documentMode);var Lh=mo&&"TextEvent"in window&&!ar,$d=mo&&(!Ml||ar&&8<ar&&11>=ar),ep=" ",tp=!1;function op(e,t){switch(e){case"keyup":return Nh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ap(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var en=!1;function Ph(e,t){switch(e){case"compositionend":return ap(t);case"keypress":return t.which!==32?null:(tp=!0,ep);case"textInput":return e=t.data,e===ep&&tp?null:e;default:return null}}function jh(e,t){if(en)return e==="compositionend"||!Ml&&op(e,t)?(e=Kd(),Ai=Cl=Lo=null,en=!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 $d&&t.locale!=="ko"?null:t.data;default:return null}}var Vh={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 np(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Vh[e.type]:t==="textarea"}function rp(e,t,o,a){Wa?$a?$a.push(a):$a=[a]:Wa=a,t=Es(t,"onChange"),0<t.length&&(o=new wi("onChange","change",null,o,a),e.push({event:o,listeners:t}))}var nr=null,rr=null;function Bh(e){Gf(e,0)}function Ei(e){if(Vd(Wn(e)))return e}function ip(e,t){if(e==="change")return t}var sp=!1;if(mo){var Rl;if(mo){var Il="oninput"in document;if(!Il){var lp=document.createElement("div");lp.setAttribute("oninput","return;"),Il=typeof lp.oninput=="function"}Rl=Il}else Rl=!1;sp=Rl&&(!document.documentMode||9<document.documentMode)}function cp(){nr&&(nr.detachEvent("onpropertychange",up),rr=nr=null)}function up(e){if(e.propertyName==="value"&&Ei(rr)){var t=[];rp(t,rr,e,Sl(e)),Xd(Bh,t)}}function Hh(e,t,o){e==="focusin"?(cp(),nr=t,rr=o,nr.attachEvent("onpropertychange",up)):e==="focusout"&&cp()}function qh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ei(rr)}function Gh(e,t){if(e==="click")return Ei(t)}function Fh(e,t){if(e==="input"||e==="change")return Ei(t)}function Yh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:Yh;function ir(e,t){if(vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var r=o[a];if(!dl.call(t,r)||!vt(e[r],t[r]))return!1}return!0}function Dl(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 dp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pp(e,t){var o=dp(e);e=0;for(var a;o;){if(o.nodeType===3){if(a=e+o.textContent.length,e<=t&&a>=t)return{node:o,offset:t-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=dp(o)}}function fp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Dl(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Dl(e.document)}return t}function Ol(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 Xh=mo&&"documentMode"in document&&11>=document.documentMode,tn=null,zl=null,sr=null,Ul=!1;function hp(e,t,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Ul||tn==null||tn!==Dl(a)||(a=tn,"selectionStart"in a&&Ol(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),sr&&ir(sr,a)||(sr=a,a=Es(zl,"onSelect"),0<a.length&&(t=new wi("onSelect","select",null,t,o),e.push({event:t,listeners:a}),t.target=tn)))}function ba(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var on={animationend:ba("Animation","AnimationEnd"),animationiteration:ba("Animation","AnimationIteration"),animationstart:ba("Animation","AnimationStart"),transitionrun:ba("Transition","TransitionRun"),transitionstart:ba("Transition","TransitionStart"),transitioncancel:ba("Transition","TransitionCancel"),transitionend:ba("Transition","TransitionEnd")},Nl={},mp={};mo&&(mp=document.createElement("div").style,"AnimationEvent"in window||(delete on.animationend.animation,delete on.animationiteration.animation,delete on.animationstart.animation),"TransitionEvent"in window||delete on.transitionend.transition);function va(e){if(Nl[e])return Nl[e];if(!on[e])return e;var t=on[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in mp)return Nl[e]=t[o];return e}var bp=va("animationend"),vp=va("animationiteration"),yp=va("animationstart"),Kh=va("transitionrun"),Zh=va("transitionstart"),Qh=va("transitioncancel"),xp=va("transitionend"),Sp=new Map,Ll="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Ll.push("scrollEnd");function Nt(e,t){Sp.set(e,t),ma(t,[e])}var Jh=0;function bo(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=Vt.identifierPrefix;var o=Jh++;return e="_"+e+"t_"+o.toString(32)+"_",t.autoName=e}function Ap(e){if(e==null||typeof e=="string")return e;var t=null,o=Tn;if(o!==null)for(var a=0;a<o.length;a++){var r=e[o[a]];if(r!=null){if(r==="none")return"none";t=t==null?r:t+(" "+r)}}return t??e.default}function vo(e,t){return e=Ap(e),t=Ap(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var ki=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},wt=[],an=0,Pl=0;function Mi(){for(var e=an,t=Pl=an=0;t<e;){var o=wt[t];wt[t++]=null;var a=wt[t];wt[t++]=null;var r=wt[t];wt[t++]=null;var i=wt[t];if(wt[t++]=null,a!==null&&r!==null){var c=a.pending;c===null?r.next=r:(r.next=c.next,c.next=r),a.pending=r}i!==0&&Tp(o,r,i)}}function Ri(e,t,o,a){wt[an++]=e,wt[an++]=t,wt[an++]=o,wt[an++]=a,Pl|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function jl(e,t,o,a){return Ri(e,t,o,a),Ii(e)}function ya(e,t){return Ri(e,null,null,t),Ii(e)}function Tp(e,t,o){e.lanes|=o;var a=e.alternate;a!==null&&(a.lanes|=o);for(var r=!1,i=e.return;i!==null;)i.childLanes|=o,a=i.alternate,a!==null&&(a.childLanes|=o),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(r=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,r&&t!==null&&(r=31-mt(o),e=i.hiddenUpdates,a=e[r],a===null?e[r]=[t]:a.push(t),t.lane=o|536870912),i):null}function Ii(e){if(50<Mr)throw Mr=0,xs=null,Error(p(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var nn={};function Wh(e,t,o,a){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,o,a){return new Wh(e,t,o,a)}function Vl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yo(e,t){var o=e.alternate;return o===null?(o=lt(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&1206910976,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function Cp(e,t){e.flags&=1206910978;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Di(e,t,o,a,r,i){var c=0;if(a=e,typeof a=="function")Vl(a)&&(c=1);else if(typeof a=="string")c=E5(e,o,Jt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(a){case Do:return e=lt(31,o,t,r),e.elementType=Do,e.lanes=i,e;case et:return xa(o.children,r,i,t);case pa:c=8,r|=24;break;case qn:return e=lt(12,o,t,r|2),e.elementType=qn,e.lanes=i,e;case F:return e=lt(13,o,t,r),e.elementType=F,e.lanes=i,e;case Se:return e=lt(19,o,t,r),e.elementType=Se,e.lanes=i,e;case Gn:case Oo:return e=r|32,e=lt(30,o,t,e),e.elementType=Oo,e.lanes=i,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case z:c=10;break e;case Ga:c=9;break e;case K:c=11;break e;case we:c=14;break e;case ft:c=16,a=null;break e}c=29,o=Error(p(130,e===null?"null":typeof e,"")),a=null}return t=lt(c,o,t,r),t.elementType=e,t.type=a,t.lanes=i,t}function xa(e,t,o,a){return e=lt(7,e,a,t),e.lanes=o,e}function Bl(e,t,o){return e=lt(6,e,null,t),e.lanes=o,e}function wp(e){var t=lt(18,null,null,0);return t.stateNode=e,t}function Hl(e,t,o){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var _p=new WeakMap;function _t(e,t){if(typeof e=="object"&&e!==null){var o=_p.get(e);return o!==void 0?o:(t={value:e,source:t,stack:yd(t)},_p.set(e,t),t)}return{value:e,source:t,stack:yd(t)}}var rn=[],sn=0,Oi=null,lr=0,Et=[],kt=0,jo=null,$t=1,eo="";function xo(e,t){rn[sn++]=lr,rn[sn++]=Oi,Oi=e,lr=t}function Ep(e,t,o){Et[kt++]=$t,Et[kt++]=eo,Et[kt++]=jo,jo=e;var a=$t;e=eo;var r=32-mt(a)-1;a&=~(1<<r),o+=1;var i=32-mt(t)+r;if(30<i){var c=r-r%5;i=(a&(1<<c)-1).toString(32),a>>=c,r-=c,$t=1<<32-mt(t)+r|o<<r|a,eo=i+e}else $t=1<<i|o<<r|a,eo=e}function zi(e){e.return!==null&&(xo(e,1),Ep(e,1,0))}function ql(e){for(;e===Oi;)Oi=rn[--sn],rn[sn]=null,lr=rn[--sn],rn[sn]=null;for(;e===jo;)jo=Et[--kt],Et[kt]=null,eo=Et[--kt],Et[kt]=null,$t=Et[--kt],Et[kt]=null}function kp(e,t){Et[kt++]=$t,Et[kt++]=eo,Et[kt++]=jo,$t=t.id,eo=t.overflow,jo=e}var Pe=null,ye=null,J=!1,Vo=null,Mt=!1,Gl=Error(p(519));function Bo(e){throw cr(_t(Error(p(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML","")),e)),Gl}function Mp(e){var t=e.stateNode,o=e.type,a=e.memoizedProps;switch(t[Ge]=e,t[st]=a,o){case"dialog":ee("cancel",t),ee("close",t);break;case"iframe":case"object":case"embed":ee("load",t);break;case"video":case"audio":for(o=0;o<Ir.length;o++)ee(Ir[o],t);break;case"source":ee("error",t);break;case"img":case"image":case"link":ee("error",t),ee("load",t);break;case"details":ee("toggle",t);break;case"input":ee("invalid",t),Bd(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ee("invalid",t);break;case"textarea":ee("invalid",t),qd(t,a.value,a.defaultValue,a.children)}o=a.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||a.suppressHydrationWarning===!0||Zf(t.textContent,o)?(a.popover!=null&&(ee("beforetoggle",t),ee("toggle",t)),a.onScroll!=null&&ee("scroll",t),a.onScrollEnd!=null&&ee("scrollend",t),a.onClick!=null&&(t.onclick=Wt),t=!0):t=!1,t||Bo(e,!0)}function Ui(e){for(Pe=e.return;Pe;)switch(Pe.tag){case 5:case 31:case 13:Mt=!1;return;case 27:case 3:Mt=!0;return;default:Pe=Pe.return}}function ln(e){if(e!==Pe)return!1;if(!J)return Ui(e),J=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||yu(e.type,e.memoizedProps)),o=!o),o&&ye&&Bo(e),Ui(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(p(317));ye=h0(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(p(317));ye=h0(e)}else t===27?(t=ye,ta(e.type)?(e=ku,ku=null,ye=e):ye=t):ye=Pe?Dt(e.stateNode.nextSibling):null;return!0}function Sa(){ye=Pe=null,J=!1}function Fl(){var e=Vo;return e!==null&&(dt===null?dt=e:dt.push.apply(dt,e),Vo=null),e}function cr(e){Vo===null?Vo=[e]:Vo.push(e)}var Yl=Qt(null),Aa=null,So=null;function Ho(e,t,o){ve(Yl,t._currentValue),t._currentValue=o}function Ao(e){e._currentValue=Yl.current,qe(Yl)}function Ni(e,t,o){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===o)break;e=e.return}}function Xl(e,t,o,a){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var i=r.dependencies;if(i!==null){var c=r.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=r;for(var g=0;g<t.length;g++)if(d.context===t[g]){i.lanes|=o,d=i.alternate,d!==null&&(d.lanes|=o),Ni(i.return,o,e),a||(c=null);break e}i=d.next}}else if(r.tag===18){if(c=r.return,c===null)throw Error(p(341));c.lanes|=o,i=c.alternate,i!==null&&(i.lanes|=o),Ni(c,o,e),c=null}else r.tag===13&&r.memoizedState!==null&&r.memoizedState.dehydrated===null?(r.lanes|=o,c=r.alternate,c!==null&&(c.lanes|=o),Ni(r.return,o,e),c=r.child,c=c!==null?c.sibling:null):c=r.child;if(c!==null)c.return=r;else for(c=r;c!==null;){if(c===e){c=null;break}if(r=c.sibling,r!==null){r.return=c.return,c=r;break}c=c.return}r=c}}function Ta(e,t,o,a){e=null;for(var r=t,i=!1;r!==null;){if(!i){if((r.flags&524288)!==0)i=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var c=r.alternate;if(c===null)throw Error(p(387));if(c=c.memoizedProps,c!==null){var d=r.type;vt(r.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(r===li.current){if(c=r.alternate,c===null)throw Error(p(387));c.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(On):e=[On])}r=r.return}return e!==null&&Xl(t,e,o,a),t.flags|=262144,e!==null}function Li(e){for(e=e.firstContext;e!==null;){if(!vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ca(e){Aa=e,So=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Fe(e){return Rp(Aa,e)}function Pi(e,t){return Aa===null&&Ca(e),Rp(e,t)}function Rp(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},So===null){if(e===null)throw Error(p(308));So=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else So=So.next=t;return o}var $h=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},em=s.unstable_scheduleCallback,tm=s.unstable_NormalPriority,Re={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Kl(){return{controller:new $h,data:new Map,refCount:0}}function ur(e){e.refCount--,e.refCount===0&&em(tm,function(){e.controller.abort()})}function Ip(e,t){if((e.pendingLanes&4194048)!==0){var o=e.transitionTypes;for(o===null&&(o=e.transitionTypes=[]),e=0;e<t.length;e++){var a=t[e];o.indexOf(a)===-1&&o.push(a)}}}var dr=null;function om(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var pr=null,Zl=0,wa=0,cn=null;function am(e,t){if(pr===null){var o=pr=[];Zl=0,wa=du(),cn={status:"pending",value:void 0,then:function(a){o.push(a)}}}return Zl++,t.then(Dp,Dp),t}function Dp(){if(--Zl===0&&(dr=null,pr!==null)){cn!==null&&(cn.status="fulfilled");var e=pr;pr=null,wa=0,cn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function nm(e,t){var o=[],a={status:"pending",value:null,reason:null,then:function(r){o.push(r)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var r=0;r<o.length;r++)(0,o[r])(t)},function(r){for(a.status="rejected",a.reason=r,r=0;r<o.length;r++)(0,o[r])(void 0)}),a}var Op=H.S;H.S=function(e,t){if(Tf=gt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&am(e,t),dr!==null)for(var o=En;o!==null;)Ip(o,dr),o=o.next;if(o=e.types,o!==null){for(var a=En;a!==null;)Ip(a,o),a=a.next;if(wa!==0){a=dr,a===null&&(a=dr=[]);for(var r=0;r<o.length;r++){var i=o[r];a.indexOf(i)===-1&&a.push(i)}}}Op!==null&&Op(e,t)};var _a=Qt(null);function Ql(){var e=_a.current;return e!==null?e:me.pooledCache}function ji(e,t){t===null?ve(_a,_a.current):ve(_a,t.pool)}function zp(){var e=Ql();return e===null?null:{parent:Re._currentValue,pool:e}}var un=Error(p(460)),Jl=Error(p(474)),Vi=Error(p(542)),Bi={then:function(){}};function Up(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Np(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(Wt,Wt),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Pp(e),e===void 0&&!("reason"in t)?Error(p(600)):e;default:if(typeof t.status=="string")t.then(Wt,Wt);else{if(e=me,e!==null&&100<e.shellSuspendCounter)throw Error(p(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=a}},function(a){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Pp(e),e}throw ka=t,un}}function Ea(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(ka=o,un):o}}var ka=null;function Lp(){if(ka===null)throw Error(p(459));var e=ka;return ka=null,e}function Pp(e){if(e===un||e===Vi)throw Error(p(483))}var dn=null,fr=0;function Hi(e){var t=fr;return fr+=1,dn===null&&(dn=[]),Np(dn,e,t)}function qo(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function qi(e,t){throw t.$$typeof===Io?Error(p(525)):(e=Object.prototype.toString.call(t),Error(p(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function jp(e){function t(b,h){if(e){var y=b.deletions;y===null?(b.deletions=[h],b.flags|=16):y.push(h)}}function o(b,h){if(!e)return null;for(;h!==null;)t(b,h),h=h.sibling;return null}function a(b){for(var h=new Map;b!==null;)b.key===null?h.set(b.index,b):h.set(b.key,b),b=b.sibling;return h}function r(b,h){return b=yo(b,h),b.index=0,b.sibling=null,b}function i(b,h,y){return b.index=y,e?(y=b.alternate,y!==null?(y=y.index,y<h?(b.flags|=2,h):y):(b.flags|=134217730,h)):(b.flags|=1048576,h)}function c(b){return e&&b.alternate===null&&(b.flags|=134217730),b}function d(b,h,y,k){return h===null||h.tag!==6?(h=Bl(y,b.mode,k),h.return=b,h):(h=r(h,y),h.return=b,h)}function g(b,h,y,k){var N=y.type;return N===et?(b=S(b,h,y.props.children,k,y.key),qo(b,y),b):h!==null&&(h.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===ft&&Ea(N)===h.type)?(h=r(h,y.props),qo(h,y),h.return=b,h):(h=Di(y.type,y.key,y.props,null,b.mode,k),qo(h,y),h.return=b,h)}function v(b,h,y,k){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=Hl(y,b.mode,k),h.return=b,h):(h=r(h,y.children||[]),h.return=b,h)}function S(b,h,y,k,N){return h===null||h.tag!==7?(h=xa(y,b.mode,k,N),h.return=b,h):(h=r(h,y),h.return=b,h)}function R(b,h,y){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=Bl(""+h,b.mode,y),h.return=b,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case it:return y=Di(h.type,h.key,h.props,null,b.mode,y),qo(y,h),y.return=b,y;case He:return h=Hl(h,b.mode,y),h.return=b,h;case ft:return h=Ea(h),R(b,h,y)}if(Yn(h)||Fn(h))return h=xa(h,b.mode,y,null),h.return=b,h;if(typeof h.then=="function")return R(b,Hi(h),y);if(h.$$typeof===z)return R(b,Pi(b,h),y);qi(b,h)}return null}function m(b,h,y,k){var N=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return N!==null?null:d(b,h,""+y,k);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case it:return y.key===N?g(b,h,y,k):null;case He:return y.key===N?v(b,h,y,k):null;case ft:return y=Ea(y),m(b,h,y,k)}if(Yn(y)||Fn(y))return N!==null?null:S(b,h,y,k,null);if(typeof y.then=="function")return m(b,h,Hi(y),k);if(y.$$typeof===z)return m(b,h,Pi(b,y),k);qi(b,y)}return null}function x(b,h,y,k,N){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return b=b.get(y)||null,d(h,b,""+k,N);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case it:return b=b.get(k.key===null?y:k.key)||null,g(h,b,k,N);case He:return b=b.get(k.key===null?y:k.key)||null,v(h,b,k,N);case ft:return k=Ea(k),x(b,h,y,k,N)}if(Yn(k)||Fn(k))return b=b.get(y)||null,S(h,b,k,N,null);if(typeof k.then=="function")return x(b,h,y,Hi(k),N);if(k.$$typeof===z)return x(b,h,y,Pi(h,k),N);qi(h,k)}return null}function O(b,h,y,k){for(var N=null,oe=null,P=h,B=h=0,Oe=null;P!==null&&B<y.length;B++){P.index>B?(Oe=P,P=null):Oe=P.sibling;var ne=m(b,P,y[B],k);if(ne===null){P===null&&(P=Oe);break}e&&P&&ne.alternate===null&&t(b,P),h=i(ne,h,B),oe===null?N=ne:oe.sibling=ne,oe=ne,P=Oe}if(B===y.length)return o(b,P),J&&xo(b,B),N;if(P===null){for(;B<y.length;B++)P=R(b,y[B],k),P!==null&&(h=i(P,h,B),oe===null?N=P:oe.sibling=P,oe=P);return J&&xo(b,B),N}for(P=a(P);B<y.length;B++)Oe=x(P,b,B,y[B],k),Oe!==null&&(e&&(ne=Oe.alternate,ne!==null&&P.delete(ne.key===null?B:ne.key)),h=i(Oe,h,B),oe===null?N=Oe:oe.sibling=Oe,oe=Oe);return e&&P.forEach(function(ia){return t(b,ia)}),J&&xo(b,B),N}function L(b,h,y,k){if(y==null)throw Error(p(151));for(var N=null,oe=null,P=h,B=h=0,Oe=null,ne=y.next();P!==null&&!ne.done;B++,ne=y.next()){P.index>B?(Oe=P,P=null):Oe=P.sibling;var ia=m(b,P,ne.value,k);if(ia===null){P===null&&(P=Oe);break}e&&P&&ia.alternate===null&&t(b,P),h=i(ia,h,B),oe===null?N=ia:oe.sibling=ia,oe=ia,P=Oe}if(ne.done)return o(b,P),J&&xo(b,B),N;if(P===null){for(;!ne.done;B++,ne=y.next())ne=R(b,ne.value,k),ne!==null&&(h=i(ne,h,B),oe===null?N=ne:oe.sibling=ne,oe=ne);return J&&xo(b,B),N}for(P=a(P);!ne.done;B++,ne=y.next())ne=x(P,b,B,ne.value,k),ne!==null&&(e&&(Oe=ne.alternate,Oe!==null&&P.delete(Oe.key===null?B:Oe.key)),h=i(ne,h,B),oe===null?N=ne:oe.sibling=ne,oe=ne);return e&&P.forEach(function(H5){return t(b,H5)}),J&&xo(b,B),N}function X(b,h,y,k){if(typeof y=="object"&&y!==null&&y.type===et&&y.key===null&&y.props.ref===void 0&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case it:e:{for(var N=y.key;h!==null;){if(h.key===N){if(N=y.type,N===et){if(h.tag===7){o(b,h.sibling),k=r(h,y.props.children),qo(k,y),k.return=b,b=k;break e}}else if(h.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===ft&&Ea(N)===h.type){o(b,h.sibling),k=r(h,y.props),qo(k,y),k.return=b,b=k;break e}o(b,h);break}else t(b,h);h=h.sibling}y.type===et?(k=xa(y.props.children,b.mode,k,y.key),qo(k,y),k.return=b,b=k):(k=Di(y.type,y.key,y.props,null,b.mode,k),qo(k,y),k.return=b,b=k)}return c(b);case He:e:{for(N=y.key;h!==null;){if(h.key===N)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){o(b,h.sibling),k=r(h,y.children||[]),k.return=b,b=k;break e}else{o(b,h);break}else t(b,h);h=h.sibling}k=Hl(y,b.mode,k),k.return=b,b=k}return c(b);case ft:return y=Ea(y),X(b,h,y,k)}if(Yn(y))return O(b,h,y,k);if(Fn(y)){if(N=Fn(y),typeof N!="function")throw Error(p(150));return y=N.call(y),L(b,h,y,k)}if(typeof y.then=="function")return X(b,h,Hi(y),k);if(y.$$typeof===z)return X(b,h,Pi(b,y),k);qi(b,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,h!==null&&h.tag===6?(o(b,h.sibling),k=r(h,y),k.return=b,b=k):(o(b,h),k=Bl(y,b.mode,k),k.return=b,b=k),c(b)):o(b,h)}return function(b,h,y,k){try{fr=0;var N=X(b,h,y,k);return dn=null,N}catch(P){if(P===un||P===Vi)throw P;var oe=lt(29,P,null,b.mode);return oe.lanes=k,oe.return=b,oe}}}var Ma=jp(!0),Vp=jp(!1),Go=!1;function Wl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $l(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ra(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(se&2)!==0){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=Ii(e),Tp(e,null,o),t}return Ri(e,a,t,o),Ii(e)}function gr(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,_d(e,o)}}function ec(e,t){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var r=null,i=null;if(o=o.firstBaseUpdate,o!==null){do{var c={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};i===null?r=i=c:i=i.next=c,o=o.next}while(o!==null);i===null?r=i=t:i=i.next=t}else r=i=t;o={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var tc=!1;function hr(){if(tc){var e=cn;if(e!==null)throw e}}function mr(e,t,o,a){tc=!1;var r=e.updateQueue;Go=!1;var i=r.firstBaseUpdate,c=r.lastBaseUpdate,d=r.shared.pending;if(d!==null){r.shared.pending=null;var g=d,v=g.next;g.next=null,c===null?i=v:c.next=v,c=g;var S=e.alternate;S!==null&&(S=S.updateQueue,d=S.lastBaseUpdate,d!==c&&(d===null?S.firstBaseUpdate=v:d.next=v,S.lastBaseUpdate=g))}if(i!==null){var R=r.baseState;c=0,S=v=g=null,d=i;do{var m=d.lane&-536870913,x=m!==d.lane;if(x?(te&m)===m:(a&m)===m){m!==0&&m===wa&&(tc=!0),S!==null&&(S=S.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var O=e,L=d;m=t;var X=o;switch(L.tag){case 1:if(O=L.payload,typeof O=="function"){R=O.call(X,R,m);break e}R=O;break e;case 3:O.flags=O.flags&-65537|128;case 0:if(O=L.payload,m=typeof O=="function"?O.call(X,R,m):O,m==null)break e;R=G({},R,m);break e;case 2:Go=!0}}m=d.callback,m!==null&&(e.flags|=64,x&&(e.flags|=8192),x=r.callbacks,x===null?r.callbacks=[m]:x.push(m))}else x={lane:m,tag:d.tag,payload:d.payload,callback:d.callback,next:null},S===null?(v=S=x,g=R):S=S.next=x,c|=m;if(d=d.next,d===null){if(d=r.shared.pending,d===null)break;x=d,d=x.next,x.next=null,r.lastBaseUpdate=x,r.shared.pending=null}}while(!0);S===null&&(g=R),r.baseState=g,r.firstBaseUpdate=v,r.lastBaseUpdate=S,i===null&&(r.shared.lanes=0),Jo|=c,e.lanes=c,e.memoizedState=R}}function Bp(e,t){if(typeof e!="function")throw Error(p(191,e));e.call(t)}function Hp(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)Bp(o[e],t)}var Fo=Qt(null),Gi=Qt(0);function qp(e,t){e=Eo,ve(Gi,e),ve(Fo,t),Eo=e|t.baseLanes}function oc(){ve(Gi,Eo),ve(Fo,Fo.current)}function ac(){Eo=Gi.current,qe(Fo),qe(Gi)}var Ye=Qt(null),Je=null;function Yo(e){var t=e.alternate;ve(Xe,Xe.current&1),ve(Ye,e),Je===null&&(t===null||Fo.current!==null||t.memoizedState!==null)&&(Je=e)}function nc(e){ve(Xe,Xe.current),ve(Ye,e),Je===null&&(Je=e)}function Gp(e){e.tag===22?(ve(Xe,Xe.current),ve(Ye,e),Je===null&&(Je=e)):Xo()}function Xo(){ve(Xe,Xe.current),ve(Ye,Ye.current)}function yt(e){qe(Ye),Je===e&&(Je=null),qe(Xe)}var Xe=Qt(0);function br(e,t){ve(Ye,Ye.current),ve(Xe,t)}function rc(e){qe(Xe),qe(Ye),Je===e&&(Je=null)}function Fi(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||_u(o)||Eu(o)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)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 To=0,Y=null,he=null,Ie=null,Yi=!1,pn=!1,Da=!1,Xi=0,vr=0,fn=null,rm=0;function _e(){throw Error(p(321))}function ic(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!vt(e[o],t[o]))return!1;return!0}function sc(e,t,o,a,r,i){return To=i,Y=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,H.H=e===null||e.memoizedState===null?E1:k1,Da=!1,i=o(a,r),Da=!1,pn&&(i=Yp(t,o,a,r)),Fp(e),i}function Fp(e){H.H=es;var t=he!==null&&he.next!==null;if(To=0,Ie=he=Y=null,Yi=!1,vr=0,fn=null,t)throw Error(p(300));e===null||De||(e=e.dependencies,e!==null&&Li(e)&&(De=!0))}function Yp(e,t,o,a){Y=e;var r=0;do{if(pn&&(fn=null),vr=0,pn=!1,25<=r)throw Error(p(301));if(r+=1,Ie=he=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}H.H=fm,i=t(o,a)}while(pn);return i}function im(){var e=H.H,t=e.useState()[0];return t=typeof t.then=="function"?yr(t):t,e=e.useState()[0],(he!==null?he.memoizedState:null)!==e&&(Y.flags|=1024),t}function lc(){var e=Xi!==0;return Xi=0,e}function cc(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function uc(e){if(Yi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Yi=!1}To=0,Ie=he=Y=null,pn=!1,vr=Xi=0,fn=null}function ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ie===null?Y.memoizedState=Ie=e:Ie=Ie.next=e,Ie}function Me(){if(he===null){var e=Y.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var t=Ie===null?Y.memoizedState:Ie.next;if(t!==null)Ie=t,he=e;else{if(e===null)throw Y.alternate===null?Error(p(467)):Error(p(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},Ie===null?Y.memoizedState=Ie=e:Ie=Ie.next=e}return Ie}function Ki(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function yr(e){var t=vr;return vr+=1,fn===null&&(fn=[]),e=Np(fn,e,t),t=Y,(Ie===null?t.memoizedState:Ie.next)===null&&(t=t.alternate,H.H=t===null||t.memoizedState===null?E1:k1),e}function Zi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return yr(e);if(e.$$typeof===$2)return;if(e.$$typeof===z)return Fe(e)}throw Error(p(438,String(e)))}function dc(e){var t=null,o=Y.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var a=Y.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(r){return r.slice()}),index:0})))}if(t??={data:[],index:0},o===null&&(o=Ki(),Y.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),a=0;a<e;a++)o[a]=fo;return t.index++,o}function Co(e,t){return typeof t=="function"?t(e):t}function Qi(e){return pc(Me(),he,e)}function pc(e,t,o){var a=e.queue;if(a===null)throw Error(p(311));a.lastRenderedReducer=o;var r=e.baseQueue,i=a.pending;if(i!==null){if(r!==null){var c=r.next;r.next=i.next,i.next=c}t.baseQueue=r=i,a.pending=null}if(i=e.baseState,r===null)e.memoizedState=i;else{t=r.next;var d=c=null,g=null,v=t,S=!1;do{var R=v.lane&-536870913;if(R!==v.lane?(te&R)===R:(To&R)===R){var m=v.revertLane;if(m===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),R===wa&&(S=!0);else if((To&m)===m){v=v.next,m===wa&&(S=!0);continue}else R={lane:0,revertLane:v.revertLane,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},g===null?(d=g=R,c=i):g=g.next=R,Y.lanes|=m,Jo|=m;R=v.action,Da&&o(i,R),i=v.hasEagerState?v.eagerState:o(i,R)}else m={lane:R,revertLane:v.revertLane,gesture:v.gesture,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},g===null?(d=g=m,c=i):g=g.next=m,Y.lanes|=R,Jo|=R;v=v.next}while(v!==null&&v!==t);if(g===null?c=i:g.next=d,!vt(i,e.memoizedState)&&(De=!0,S&&(o=cn,o!==null)))throw o;e.memoizedState=i,e.baseState=c,e.baseQueue=g,a.lastRenderedState=i}return r===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function fc(e){var t=Me(),o=t.queue;if(o===null)throw Error(p(311));o.lastRenderedReducer=e;var a=o.dispatch,r=o.pending,i=t.memoizedState;if(r!==null){o.pending=null;var c=r=r.next;do i=e(i,c.action),c=c.next;while(c!==r);vt(i,t.memoizedState)||(De=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),o.lastRenderedState=i}return[i,a]}function Xp(e,t,o){var a=Y,r=Me(),i=J;if(i){if(o===void 0)throw Error(p(407));o=o()}else o=t();var c=!vt((he||r).memoizedState,o);if(c&&(r.memoizedState=o,De=!0),r=r.queue,mc(Qp.bind(null,a,r,e),[e]),e=r.getSnapshot!==t||c||Ie!==null&&(Ie.memoizedState.tag&1)!==0,gn(e?9:8,{destroy:void 0},Zp.bind(null,a,r,o,t),null),e){if(a.flags|=2048,me===null)throw Error(p(349));i||(To&127)!==0||Kp(a,t,o)}return o}function Kp(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Y.updateQueue,t===null?(t=Ki(),Y.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Zp(e,t,o,a){t.value=o,t.getSnapshot=a,Jp(t)&&Wp(e)}function Qp(e,t,o){return o(function(){Jp(t)&&Wp(e)})}function Jp(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!vt(e,o)}catch{return!0}}function Wp(e){var t=ya(e,2);t!==null&&pt(t,e,2)}function gc(e){var t=ot();if(typeof e=="function"){var o=e;if(e=o(),Da){No(!0);try{o()}finally{No(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:e},t}function $p(e,t,o,a){return e.baseState=o,pc(e,he,typeof a=="function"?a:Co)}function sm(e,t,o,a,r){if($i(e))throw Error(p(485));if(e=t.action,e!==null){var i={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};H.T!==null?o(!0):i.isTransition=!1,a(i),o=t.pending,o===null?(i.next=t.pending=i,e1(t,i)):(i.next=o.next,t.pending=o.next=i)}}function e1(e,t){var o=t.action,a=t.payload,r=e.state;if(t.isTransition){var i=H.T,c={};c.types=i!==null?i.types:null,H.T=c;try{var d=o(r,a),g=H.S;g!==null&&g(c,d),t1(e,t,d)}catch(v){hc(e,t,v)}finally{i!==null&&c.types!==null&&(i.types=c.types),H.T=i}}else try{i=o(r,a),t1(e,t,i)}catch(v){hc(e,t,v)}}function t1(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(a){o1(e,t,a)},function(a){return hc(e,t,a)}):o1(e,t,o)}function o1(e,t,o){t.status="fulfilled",t.value=o,a1(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,e1(e,o)))}function hc(e,t,o){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=o,a1(t),t=t.next;while(t!==a)}e.action=null}function a1(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function n1(e,t){return t}function r1(e,t){if(J){var o=me.formState;if(o!==null){e:{var a=Y;if(J){if(ye){t:{for(var r=ye,i=Mt;r.nodeType!==8;){if(!i){r=null;break t}if(r=Dt(r.nextSibling),r===null){r=null;break t}}i=r.data,r=i==="F!"||i==="F"?r:null}if(r){ye=Dt(r.nextSibling),a=r.data==="F!";break e}}Bo(a)}a=!1}a&&(t=o[0])}}return o=ot(),o.memoizedState=o.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n1,lastRenderedState:t},o.queue=a,o=C1.bind(null,Y,a),a.dispatch=o,a=gc(!1),i=Sc.bind(null,Y,!1,a.queue),a=ot(),r={state:t,dispatch:null,action:e,pending:null},a.queue=r,o=sm.bind(null,Y,r,i,o),r.dispatch=o,a.memoizedState=e,[t,o,!1]}function i1(e){return s1(Me(),he,e)}function s1(e,t,o){if(t=pc(e,t,n1)[0],e=Qi(Co)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=yr(t)}catch(c){throw c===un?Vi:c}else a=t;t=Me();var r=t.queue,i=r.dispatch;return o!==t.memoizedState&&(Y.flags|=2048,gn(9,{destroy:void 0},lm.bind(null,r,o),null)),[a,i,e]}function lm(e,t){e.action=t}function l1(e){var t=Me(),o=he;if(o!==null)return s1(t,o,e);Me(),t=t.memoizedState,o=Me();var a=o.queue.dispatch;return o.memoizedState=e,[t,a,!1]}function gn(e,t,o,a){return e={tag:e,create:o,deps:a,inst:t,next:null},t=Y.updateQueue,t===null&&(t=Ki(),Y.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(a=o.next,o.next=e,e.next=a,t.lastEffect=e),e}function c1(){return Me().memoizedState}function Ji(e,t,o,a){var r=ot();Y.flags|=e,r.memoizedState=gn(1|t,{destroy:void 0},o,a===void 0?null:a)}function Wi(e,t,o,a){var r=Me();a=a===void 0?null:a;var i=r.memoizedState.inst;he!==null&&a!==null&&ic(a,he.memoizedState.deps)?r.memoizedState=gn(t,i,o,a):(Y.flags|=e,r.memoizedState=gn(1|t,i,o,a))}function u1(e,t){Ji(8390656,8,e,t)}function mc(e,t){Wi(2048,8,e,t)}function cm(e){Y.flags|=4;var t=Y.updateQueue;if(t===null)t=Ki(),Y.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function d1(e){var t=Me().memoizedState;return cm({ref:t,nextImpl:e}),function(){if((se&2)!==0)throw Error(p(440));return t.impl.apply(void 0,arguments)}}function p1(e,t){return Wi(4,2,e,t)}function f1(e,t){return Wi(4,4,e,t)}function g1(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function h1(e,t,o){o=o!=null?o.concat([e]):null,Wi(4,4,g1.bind(null,t,e),o)}function bc(){}function m1(e,t){var o=Me();t=t===void 0?null:t;var a=o.memoizedState;return t!==null&&ic(t,a[1])?a[0]:(o.memoizedState=[e,t],e)}function b1(e,t){var o=Me();t=t===void 0?null:t;var a=o.memoizedState;if(t!==null&&ic(t,a[1]))return a[0];if(a=e(),Da){No(!0);try{e()}finally{No(!1)}}return o.memoizedState=[a,t],a}function vc(e,t,o){return o===void 0||(To&1073741824)!==0&&(te&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=wf(),Y.lanes|=e,Jo|=e,o)}function v1(e,t,o,a){return vt(o,t)?o:Fo.current!==null?(e=vc(e,o,a),vt(e,t)||(De=!0),e):(To&106)===0||(To&1073741824)!==0&&(te&261930)===0?(De=!0,e.memoizedState=o):(e=wf(),Y.lanes|=e,Jo|=e,t)}function y1(e,t,o,a,r){var i=ie.p;ie.p=i!==0&&8>i?i:8;var c=H.T,d={};d.types=c!==null?c.types:null,H.T=d,Sc(e,!1,t,o);try{var g=r(),v=H.S;v!==null&&v(d,g),g!==null&&typeof g=="object"&&typeof g.then=="function"?xr(e,t,nm(g,a),It(e)):xr(e,t,a,It(e))}catch(S){xr(e,t,{then:function(){},status:"rejected",reason:S},It())}finally{ie.p=i,c!==null&&d.types!==null&&(c.types=d.types),H.T=c}}function um(){}function yc(e,t,o,a){if(e.tag!==5)throw Error(p(476));var r=x1(e).queue;y1(e,r,t,fa,o===null?um:function(){return S1(e),o(a)})}function x1(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:fa,baseState:fa,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:fa},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function S1(e){var t=x1(e);t.next===null&&(t=e.alternate.memoizedState),xr(e,t.next.queue,{},It())}function xc(){return Fe(On)}function A1(){return Me().memoizedState}function T1(){return Me().memoizedState}function dm(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=It();e=Ra(o);var a=Ia(t,e,o);a!==null&&(pt(a,t,o),gr(a,t,o)),t={cache:Kl()},e.payload=t;return}t=t.return}}function pm(e,t,o){var a=It();o={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},$i(e)?w1(t,o):(o=jl(e,t,o,a),o!==null&&(pt(o,e,a),_1(o,t,a)))}function C1(e,t,o){xr(e,t,o,It())}function xr(e,t,o,a){var r={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if($i(e))w1(t,r);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var c=t.lastRenderedState,d=i(c,o);if(r.hasEagerState=!0,r.eagerState=d,vt(d,c))return Ri(e,t,r,0),me===null&&Mi(),!1}catch{}if(o=jl(e,t,r,a),o!==null)return pt(o,e,a),_1(o,t,a),!0}return!1}function Sc(e,t,o,a){if(a={lane:2,revertLane:du(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},$i(e)){if(t)throw Error(p(479))}else t=jl(e,o,a,2),t!==null&&pt(t,e,2)}function $i(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function w1(e,t){pn=Yi=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function _1(e,t,o){if((o&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,_d(e,o)}}var es={readContext:Fe,use:Zi,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useLayoutEffect:_e,useInsertionEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useSyncExternalStore:_e,useId:_e,useHostTransitionStatus:_e,useFormState:_e,useActionState:_e,useOptimistic:_e,useMemoCache:_e,useCacheRefresh:_e,useEffectEvent:_e},E1={readContext:Fe,use:Zi,useCallback:function(e,t){return ot().memoizedState=[e,t===void 0?null:t],e},useContext:Fe,useEffect:u1,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,Ji(4194308,4,g1.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Ji(4194308,4,e,t)},useInsertionEffect:function(e,t){Ji(4,2,e,t)},useMemo:function(e,t){var o=ot();t=t===void 0?null:t;var a=e();if(Da){No(!0);try{e()}finally{No(!1)}}return o.memoizedState=[a,t],a},useReducer:function(e,t,o){var a=ot();if(o!==void 0){var r=o(t);if(Da){No(!0);try{o(t)}finally{No(!1)}}}else r=t;return a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=pm.bind(null,Y,e),[a.memoizedState,e]},useRef:function(e){var t=ot();return e={current:e},t.memoizedState=e},useState:function(e){e=gc(e);var t=e.queue,o=C1.bind(null,Y,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:bc,useDeferredValue:function(e,t){return vc(ot(),e,t)},useTransition:function(){var e=gc(!1);return e=y1.bind(null,Y,e.queue,!0,!1),ot().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var a=Y,r=ot();if(J){if(o===void 0)throw Error(p(407));o=o()}else{if(o=t(),me===null)throw Error(p(349));(te&127)!==0||Kp(a,t,o)}r.memoizedState=o;var i={value:o,getSnapshot:t};return r.queue=i,u1(Qp.bind(null,a,i,e),[e]),a.flags|=2048,gn(9,{destroy:void 0},Zp.bind(null,a,i,o,t),null),o},useId:function(){var e=ot(),t=me.identifierPrefix;if(J){var o=eo,a=$t;o=(a&~(1<<32-mt(a)-1)).toString(32)+o,t="_"+t+"R_"+o,o=Xi++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=rm++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:xc,useFormState:r1,useActionState:r1,useOptimistic:function(e){var t=ot();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=Sc.bind(null,Y,!0,o),o.dispatch=t,[e,t]},useMemoCache:dc,useCacheRefresh:function(){return ot().memoizedState=dm.bind(null,Y)},useEffectEvent:function(e){var t=ot(),o={impl:e};return t.memoizedState=o,function(){if((se&2)!==0)throw Error(p(440));return o.impl.apply(void 0,arguments)}}},k1={readContext:Fe,use:Zi,useCallback:m1,useContext:Fe,useEffect:mc,useImperativeHandle:h1,useInsertionEffect:p1,useLayoutEffect:f1,useMemo:b1,useReducer:Qi,useRef:c1,useState:function(){return Qi(Co)},useDebugValue:bc,useDeferredValue:function(e,t){return v1(Me(),he.memoizedState,e,t)},useTransition:function(){var e=Qi(Co)[0],t=Me().memoizedState;return[typeof e=="boolean"?e:yr(e),t]},useSyncExternalStore:Xp,useId:A1,useHostTransitionStatus:xc,useFormState:i1,useActionState:i1,useOptimistic:function(e,t){return $p(Me(),he,e,t)},useMemoCache:dc,useCacheRefresh:T1,useEffectEvent:d1},fm={readContext:Fe,use:Zi,useCallback:m1,useContext:Fe,useEffect:mc,useImperativeHandle:h1,useInsertionEffect:p1,useLayoutEffect:f1,useMemo:b1,useReducer:fc,useRef:c1,useState:function(){return fc(Co)},useDebugValue:bc,useDeferredValue:function(e,t){var o=Me();return he===null?vc(o,e,t):v1(o,he.memoizedState,e,t)},useTransition:function(){var e=fc(Co)[0],t=Me().memoizedState;return[typeof e=="boolean"?e:yr(e),t]},useSyncExternalStore:Xp,useId:A1,useHostTransitionStatus:xc,useFormState:l1,useActionState:l1,useOptimistic:function(e,t){var o=Me();return he!==null?$p(o,he,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:dc,useCacheRefresh:T1,useEffectEvent:d1};function Ac(e,t,o,a){t=e.memoizedState,o=o(a,t),o=o==null?t:G({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Tc={enqueueSetState:function(e,t,o){e=e._reactInternals;var a=It(),r=Ra(a);r.payload=t,o!=null&&(r.callback=o),t=Ia(e,r,a),t!==null&&(pt(t,e,a),gr(t,e,a))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var a=It(),r=Ra(a);r.tag=1,r.payload=t,o!=null&&(r.callback=o),t=Ia(e,r,a),t!==null&&(pt(t,e,a),gr(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=It(),a=Ra(o);a.tag=2,t!=null&&(a.callback=t),t=Ia(e,a,o),t!==null&&(pt(t,e,o),gr(t,e,o))}};function M1(e,t,o,a,r,i,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,i,c):t.prototype&&t.prototype.isPureReactComponent?!ir(o,a)||!ir(r,i):!0}function R1(e,t,o,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,a),t.state!==e&&Tc.enqueueReplaceState(t,t.state,null)}function Oa(e,t){var o=t;if("ref"in t){o={};for(var a in t)a!=="ref"&&(o[a]=t[a])}if(e=e.defaultProps){o===t&&(o=G({},o));for(var r in e)o[r]===void 0&&(o[r]=e[r])}return o}function gm(e){ki(e)}function hm(e){console.error(e)}function mm(e){ki(e)}function ts(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function I1(e,t,o){try{var a=e.onCaughtError;a(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Cc(e,t,o){return o=Ra(o),o.tag=3,o.payload={element:null},o.callback=function(){ts(e,t)},o}function D1(e){return e=Ra(e),e.tag=3,e}function O1(e,t,o,a){var r=o.type.getDerivedStateFromError;if(typeof r=="function"){var i=a.value;e.payload=function(){return r(i)},e.callback=function(){I1(t,o,a)}}var c=o.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){I1(t,o,a),typeof r!="function"&&(Wo===null?Wo=new Set([this]):Wo.add(this));var d=a.stack;this.componentDidCatch(a.value,{componentStack:d!==null?d:""})})}function bm(e,t,o,a,r){if(o.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=o.alternate,t!==null&&Ta(t,o,r,!0),o=Ye.current,o!==null){switch(o.tag){case 31:case 13:case 19:return Je===null?As():o.alternate===null&&Ee===0&&(Ee=3),o.flags&=-257,o.flags|=65536,o.lanes=r,a===Bi?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([a]):t.add(a),lu(e,a,r)),!1;case 22:return o.flags|=65536,a===Bi?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([a]):o.add(a)),lu(e,a,r)),!1}throw Error(p(435,o.tag))}return lu(e,a,r),As(),!1}if(J)return t=Ye.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,a!==Gl&&(e=Error(p(422),{cause:a}),cr(_t(e,o)))):(a!==Gl&&(t=Error(p(423),{cause:a}),cr(_t(t,o))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,a=_t(a,o),r=Cc(e.stateNode,a,r),ec(e,r),Ee!==4&&(Ee=2)),!1;var i=Error(p(520),{cause:a});if(i=_t(i,o),kr===null?kr=[i]:kr.push(i),Ee!==4&&(Ee=2),t===null)return!0;a=_t(a,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=r&-r,o.lanes|=e,e=Cc(o.stateNode,a,e),ec(o,e),!1;case 1:if(t=o.type,i=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Wo===null||!Wo.has(i))))return o.flags|=65536,r&=-r,o.lanes|=r,r=D1(r),O1(r,e,o,a),ec(o,r),!1;break;case 22:if(o.memoizedState!==null)return o.flags|=65536,!1}o=o.return}while(o!==null);return!1}var wc=Error(p(461)),De=!1;function Ue(e,t,o,a){t.child=e===null?Vp(t,null,o,a):Ma(t,e.child,o,a)}function z1(e,t,o,a,r){o=o.render;var i=t.ref;if("ref"in a){var c={};for(var d in a)d!=="ref"&&(c[d]=a[d])}else c=a;return Ca(t),a=sc(e,t,o,c,i,r),d=lc(),e!==null&&!De?(cc(e,t,r),wo(e,t,r)):(J&&d&&zi(t),t.flags|=1,Ue(e,t,a,r),t.child)}function U1(e,t,o,a,r){if(e===null){var i=o.type;return typeof i=="function"&&!Vl(i)&&i.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=i,N1(e,t,i,a,r)):(e=Di(o.type,null,a,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Oc(e,r)){var c=i.memoizedProps;if(o=o.compare,o=o!==null?o:ir,o(c,a)&&e.ref===t.ref)return wo(e,t,r)}return t.flags|=1,e=yo(i,a),e.ref=t.ref,e.return=t,t.child=e}function N1(e,t,o,a,r){if(e!==null){var i=e.memoizedProps;if(ir(i,a)&&e.ref===t.ref)if(De=!1,t.pendingProps=a=i,Oc(e,r))(e.flags&131072)!==0&&(De=!0);else return t.lanes=e.lanes,wo(e,t,r)}return _c(e,t,o,a,r)}function L1(e,t,o,a){var r=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|o:o,e!==null){for(a=t.child=e.child,r=0;a!==null;)r=r|a.lanes|a.childLanes,a=a.sibling;a=r&~i}else a=0,t.child=null;return P1(e,t,i,o,a)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ji(t,i!==null?i.cachePool:null),i!==null?qp(t,i):oc(),Gp(t);else return a=t.lanes=536870912,P1(e,t,i!==null?i.baseLanes|o:o,o,a)}else i!==null?(ji(t,i.cachePool),qp(t,i),Xo(),t.memoizedState=null):(e!==null&&ji(t,null),oc(),Xo());return Ue(e,t,r,o),t.child}function Sr(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function P1(e,t,o,a,r){var i=Ql();return i=i===null?null:{parent:Re._currentValue,pool:i},t.memoizedState={baseLanes:o,cachePool:i},e!==null&&ji(t,null),oc(),Gp(t),e!==null&&Ta(e,t,a,!0),t.childLanes=r,null}function os(e,t){return t=as({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function j1(e,t,o){return Ma(t,e.child,null,o),e=os(t,t.pendingProps),e.flags|=2,yt(t),t.memoizedState=null,e}function vm(e,t,o){var a=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(J){if(a.mode==="hidden")return e=os(t,a),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Sr(null,e);if(nc(t),(e=ye)?(e=g0(e,Mt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:jo!==null?{id:$t,overflow:eo}:null,retryLane:536870912,hydrationErrors:null},o=wp(e),o.return=t,t.child=o,Pe=t,ye=null)):e=null,e===null)throw Bo(t);return t.lanes=536870912,null}return os(t,a)}var i=e.memoizedState;if(i!==null){var c=i.dehydrated;if(nc(t),r)if(t.flags&256)t.flags&=-257,t=j1(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(p(558));else if(De||Ta(e,t,o,!1),r=(o&e.childLanes)!==0,De||r){if(Fo.current===null){if(a=me,a!==null&&(c=Ed(a,o),c!==0&&c!==i.retryLane))throw i.retryLane=c,ya(e,c),pt(a,e,c),wc;As()}t=j1(e,t,o)}else e=i.treeContext,ye=Dt(c.nextSibling),Pe=t,J=!0,Vo=null,Mt=!1,e!==null&&kp(t,e),t=os(t,a),t.flags|=134221824;return t}return e=yo(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function hn(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(p(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function _c(e,t,o,a,r){return Ca(t),o=sc(e,t,o,a,void 0,r),a=lc(),e!==null&&!De?(cc(e,t,r),wo(e,t,r)):(J&&a&&zi(t),t.flags|=1,Ue(e,t,o,r),t.child)}function V1(e,t,o,a,r,i){return Ca(t),t.updateQueue=null,o=Yp(t,a,o,r),Fp(e),a=lc(),e!==null&&!De?(cc(e,t,i),wo(e,t,i)):(J&&a&&zi(t),t.flags|=1,Ue(e,t,o,i),t.child)}function B1(e,t,o,a,r){if(Ca(t),t.stateNode===null){var i=nn,c=o.contextType;typeof c=="object"&&c!==null&&(i=Fe(c)),i=new o(a,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Tc,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},Wl(t),c=o.contextType,i.context=typeof c=="object"&&c!==null?Fe(c):nn,i.state=t.memoizedState,c=o.getDerivedStateFromProps,typeof c=="function"&&(Ac(t,o,c,a),i.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&Tc.enqueueReplaceState(i,i.state,null),mr(t,a,i,r),hr(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){i=t.stateNode;var d=t.memoizedProps,g=Oa(o,d);i.props=g;var v=i.context,S=o.contextType;c=nn,typeof S=="object"&&S!==null&&(c=Fe(S));var R=o.getDerivedStateFromProps;S=typeof R=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,S||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||v!==c)&&R1(t,i,a,c),Go=!1;var m=t.memoizedState;i.state=m,mr(t,a,i,r),hr(),v=t.memoizedState,d||m!==v||Go?(typeof R=="function"&&(Ac(t,o,R,a),v=t.memoizedState),(g=Go||M1(t,o,g,a,m,v,c))?(S||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|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=v),i.props=a,i.state=v,i.context=c,a=g):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,$l(e,t),c=t.memoizedProps,S=Oa(o,c),i.props=S,R=t.pendingProps,m=i.context,v=o.contextType,g=nn,typeof v=="object"&&v!==null&&(g=Fe(v)),d=o.getDerivedStateFromProps,(v=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==R||m!==g)&&R1(t,i,a,g),Go=!1,m=t.memoizedState,i.state=m,mr(t,a,i,r),hr();var x=t.memoizedState;c!==R||m!==x||Go||e!==null&&e.dependencies!==null&&Li(e.dependencies)?(typeof d=="function"&&(Ac(t,o,d,a),x=t.memoizedState),(S=Go||M1(t,o,S,a,m,x,g)||e!==null&&e.dependencies!==null&&Li(e.dependencies))?(v||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,x,g),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,x,g)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=x),i.props=a,i.state=x,i.context=g,a=S):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),a=!1)}return i=a,hn(e,t),a=(t.flags&128)!==0,i||a?(i=t.stateNode,o=a&&typeof o.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&a?(t.child=Ma(t,e.child,null,r),t.child=Ma(t,null,o,r)):Ue(e,t,o,r),t.memoizedState=i.state,e=t.child):e=wo(e,t,r),e}function H1(e,t,o,a){return Sa(),t.flags|=256,Ue(e,t,o,a),t.child}var Ec={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function kc(e){return{baseLanes:e,cachePool:zp()}}function Mc(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=At),e}function q1(e,t,o){var a=t.pendingProps,r=!1,i=(t.flags&128)!==0,c;if((c=i)||(c=e!==null&&e.memoizedState===null?!1:(Xe.current&2)!==0),c&&(r=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(J){if(r?Yo(t):Xo(),(e=ye)?(e=g0(e,Mt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:jo!==null?{id:$t,overflow:eo}:null,retryLane:536870912,hydrationErrors:null},o=wp(e),o.return=t,t.child=o,Pe=t,ye=null)):e=null,e===null)throw Bo(t);return Eu(e)?t.lanes=32:t.lanes=536870912,null}return i=a.children,a=a.fallback,r?(Xo(),r=t.mode,i=as({mode:"hidden",children:i},r),a=xa(a,r,o,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=kc(o),a.childLanes=Mc(e,c,o),t.memoizedState=Ec,Sr(null,a)):(Yo(t),Rc(t,i))}var d=e.memoizedState;if(d!==null){var g=d.dehydrated;if(g!==null)return ym(e,t,i,c,a,g,d,o)}return r?(Xo(),r=a.fallback,i=t.mode,d=e.child,g=d.sibling,a=yo(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&1206910976,g!==null?r=yo(g,r):(r=xa(r,i,o,null),r.flags|=2),r.return=t,a.return=t,a.sibling=r,t.child=a,Sr(null,a),a=t.child,r=e.child.memoizedState,r===null?r=kc(o):(i=r.cachePool,i!==null?(d=Re._currentValue,i=i.parent!==d?{parent:d,pool:d}:i):i=zp(),r={baseLanes:r.baseLanes|o,cachePool:i}),a.memoizedState=r,a.childLanes=Mc(e,c,o),t.memoizedState=Ec,Sr(e.child,a)):(Yo(t),o=e.child,e=o.sibling,o=yo(o,{mode:"visible",children:a.children}),o.return=t,o.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=o,t.memoizedState=null,o)}function Rc(e,t){return t=as({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function as(e,t){return e=lt(22,e,null,t),e.lanes=0,e}function ns(e,t,o){return Ma(t,e.child,null,o),e=Rc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ym(e,t,o,a,r,i,c,d){if(o)return t.flags&256?(Yo(t),t.flags&=-257,ns(e,t,d)):t.memoizedState!==null?(Xo(),t.child=e.child,t.flags|=128,null):(Xo(),i=r.fallback,c=t.mode,r=as({mode:"visible",children:r.children},c),i=xa(i,c,d,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,Ma(t,e.child,null,d),r=t.child,r.memoizedState=kc(d),r.childLanes=Mc(e,a,d),t.memoizedState=Ec,Sr(null,r));if(Yo(t),Eu(i)){if(a=i.nextSibling&&i.nextSibling.dataset,a)var g=a.dgst;return a=g,a!==""&&(r=Error(p(419)),r.stack="",r.digest=a,cr({value:r,source:null,stack:null})),ns(e,t,d)}if(De||Ta(e,t,d,!1),a=(d&e.childLanes)!==0,De||a){if(Fo.current!==null)return ns(e,t,d);if(a=me,a!==null&&(r=Ed(a,d),r!==0&&r!==c.retryLane))throw c.retryLane=r,ya(e,r),pt(a,e,r),wc;return _u(i)||As(),ns(e,t,d)}return _u(i)?(t.flags|=192,t.child=e.child,null):(e=c.treeContext,ye=Dt(i.nextSibling),Pe=t,J=!0,Vo=null,Mt=!1,e!==null&&kp(t,e),t=Rc(t,r.children),t.flags|=134221824,t)}function G1(e,t,o){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Ni(e.return,t,o)}function F1(e){for(var t=null;e!==null;){var o=e.alternate;o!==null&&Fi(o)===null&&(t=e),e=e.sibling}return t}function rs(e,t,o,a,r,i){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:r,treeForkCount:i}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=o,c.tailMode=r,c.treeForkCount=i)}function Ic(e){var t=e.child;for(e.child=null;t!==null;){var o=t.sibling;t.sibling=e.child,e.child=t,t=o}}function Dc(e,t,o){var a=t.pendingProps,r=a.revealOrder,i=a.tail;a=a.children;var c=Xe.current;if(t.flags&128)return br(t,c),null;var d=(c&2)!==0;if(d?(c=c&1|2,t.flags|=128):c&=1,br(t,c),r==="backwards"&&e!==null?(Ic(e),Ue(e,t,a,o),Ic(e)):Ue(e,t,a,o),a=J?lr:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&G1(e,o,t);else if(e.tag===19)G1(e,o,t);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}switch(r){case"backwards":o=F1(t.child),o===null?(r=t.child,t.child=null):(r=o.sibling,o.sibling=null,Ic(t)),rs(t,!0,r,null,i,a);break;case"unstable_legacy-backwards":for(o=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Fi(e)===null){t.child=r;break}e=r.sibling,r.sibling=o,o=r,r=e}rs(t,!0,o,null,i,a);break;case"together":rs(t,!1,null,null,void 0,a);break;case"independent":t.memoizedState=null;break;default:o=F1(t.child),o===null?(r=t.child,t.child=null):(r=o.sibling,o.sibling=null),rs(t,!1,r,o,i,a)}return t.child}function Y1(e,t,o){var a=t.pendingProps;return Ho(t,t.type,a.value),Ue(e,t,a.children,o),t.child}function wo(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Jo|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Ta(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(p(153));if(t.child!==null){for(e=t.child,o=yo(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=yo(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Oc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Li(e)))}function xm(e,t,o){switch(t.tag){case 3:ci(t,t.stateNode.containerInfo),Ho(t,Re,e.memoizedState.cache),Sa();break;case 27:case 5:sl(t);break;case 4:ci(t,t.stateNode.containerInfo);break;case 10:Ho(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,nc(t),null;break;case 13:var a=t.memoizedState;if(a!==null){if(a.dehydrated!==null)return Yo(t),t.flags|=128,null;a=Ta(e,t,o,!1);var r=t.child.childLanes;return a||(o&r)!==0?q1(e,t,o):(Yo(t),e=wo(e,t,o),e!==null?e.sibling:null)}Yo(t);break;case 19:if(t.flags&128)return Dc(e,t,o);if(r=(e.flags&128)!==0,a=(o&t.childLanes)!==0,a||(Ta(e,t,o,!1),a=(o&t.childLanes)!==0),r){if(a)return Dc(e,t,o);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),br(t,Xe.current),a)break;return null;case 22:return t.lanes=0,L1(e,t,o,t.pendingProps);case 24:Ho(t,Re,e.memoizedState.cache)}return wo(e,t,o)}function X1(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)De=!0;else{if(!Oc(e,o)&&(t.flags&128)===0)return De=!1,xm(e,t,o);De=(e.flags&131072)!==0}else De=!1,J&&(t.flags&1048576)!==0&&Ep(t,lr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Ea(t.elementType),t.type=e,typeof e=="function")Vl(e)?(a=Oa(e,a),t.tag=1,t=B1(null,t,e,a,o)):(t.tag=0,t=_c(null,t,e,a,o));else{if(e!=null){var r=e.$$typeof;if(r===K){t.tag=11,t=z1(null,t,e,a,o);break e}else if(r===we){t.tag=14,t=U1(null,t,e,a,o);break e}else if(r===z){t.tag=10,t.type=e,t=Y1(null,t,o);break e}}throw t=rl(e)||e,Error(p(306,t,""))}}return t;case 0:return _c(e,t,t.type,t.pendingProps,o);case 1:return a=t.type,r=Oa(a,t.pendingProps),B1(e,t,a,r,o);case 3:e:{if(ci(t,t.stateNode.containerInfo),e===null)throw Error(p(387));a=t.pendingProps;var i=t.memoizedState;r=i.element,$l(e,t),mr(t,a,null,o);var c=t.memoizedState;if(a=c.cache,Ho(t,Re,a),a!==i.cache&&Xl(t,[Re],o,!0),hr(),a=c.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=H1(e,t,a,o);break e}else if(a!==r){r=_t(Error(p(424)),t),cr(r),t=H1(e,t,a,o);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,ye=Dt(e.firstChild),Pe=t,J=!0,Vo=null,Mt=!0,o=Vp(t,null,a,o),t.child=o;o;)o.flags=o.flags&-3|134221824,o=o.sibling;else{if(Sa(),a===r){t=wo(e,t,o);break e}Ue(e,t,a,o)}t=t.child}return t;case 26:return hn(e,t),e===null?(o=S0(t.type,null,t.pendingProps,null))?t.memoizedState=o:J||(t.stateNode=$f(t.type,t.pendingProps,zo.current,t)):t.memoizedState=S0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return sl(t),e===null&&J&&(a=t.stateNode=b0(t.type,t.pendingProps,zo.current),Pe=t,Mt=!0,r=ye,ta(t.type)?(ku=r,ye=Dt(a.firstChild)):ye=r),Ue(e,t,t.pendingProps.children,o),hn(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&J&&((r=a=ye)&&(a=p5(a,t.type,t.pendingProps,Mt),a!==null?(t.stateNode=a,Pe=t,ye=Dt(a.firstChild),Mt=!1,r=!0):r=!1),r||Bo(t)),sl(t),r=t.type,i=t.pendingProps,c=e!==null?e.memoizedProps:null,a=i.children,yu(r,i)?a=null:c!==null&&yu(r,c)&&(t.flags|=32),t.memoizedState!==null&&(r=sc(e,t,im,null,null,o),On._currentValue=r),hn(e,t),Ue(e,t,a,o),t.child;case 6:return e===null&&J&&((e=o=ye)&&(o=f5(o,t.pendingProps,Mt),o!==null?(t.stateNode=o,Pe=t,ye=null,e=!0):e=!1),e||Bo(t)),null;case 13:return q1(e,t,o);case 4:return ci(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ma(t,null,a,o):Ue(e,t,a,o),t.child;case 11:return z1(e,t,t.type,t.pendingProps,o);case 7:return a=t.pendingProps,hn(e,t),Ue(e,t,a,o),t.child;case 8:return Ue(e,t,t.pendingProps.children,o),t.child;case 12:return Ue(e,t,t.pendingProps.children,o),t.child;case 10:return Y1(e,t,o);case 9:return r=t.type._context,a=t.pendingProps.children,Ca(t),r=Fe(r),a=a(r),t.flags|=1,Ue(e,t,a,o),t.child;case 14:return U1(e,t,t.type,t.pendingProps,o);case 15:return N1(e,t,t.type,t.pendingProps,o);case 19:return Dc(e,t,o);case 31:return vm(e,t,o);case 22:return L1(e,t,o,t.pendingProps);case 24:return Ca(t),a=Fe(Re),e===null?(r=Ql(),r===null&&(r=me,i=Kl(),r.pooledCache=i,i.refCount++,i!==null&&(r.pooledCacheLanes|=o),r=i),t.memoizedState={parent:a,cache:r},Wl(t),Ho(t,Re,r)):((e.lanes&o)!==0&&($l(e,t),mr(t,null,null,o),hr()),r=e.memoizedState,i=t.memoizedState,r.parent!==a?(r={parent:a,cache:a},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Ho(t,Re,a)):(a=i.cache,Ho(t,Re,a),a!==r.cache&&Xl(t,[Re],o,!0))),Ue(e,t,t.pendingProps.children,o),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=e===null?18882560:18874368:J&&zi(t),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:hn(e,t),Ue(e,t,a.children,o),t.child;case 29:throw t.pendingProps}throw Error(p(156,t.tag))}function _o(e){e.flags|=4}function zc(e,t,o,a,r){var i;if((i=(e.mode&32)!==0)&&(i=o===null?w0(t,a):w0(t,a)&&(a.src!==o.src||a.srcSet!==o.srcSet)),i){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(Mf())e.flags|=8192;else throw ka=Bi,Jl}else e.flags&=-16777217}function K1(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!_0(t))if(Mf())e.flags|=8192;else throw ka=Bi,Jl}function is(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Cd():536870912,e.lanes|=t,xn|=t)}function Ar(e,t){if(!J)switch(e.tailMode){case"visible":break;case"collapsed":for(var o=e.tail,a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:for(t=e.tail,o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null}}function xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,a=0;if(t)for(var r=e.child;r!==null;)o|=r.lanes|r.childLanes,a|=r.subtreeFlags&1206910976,a|=r.flags&1206910976,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)o|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=o,t}function Sm(e,t,o){var a=t.pendingProps;switch(ql(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xe(t),null;case 1:return xe(t),null;case 3:return o=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ao(Re),Ya(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(ln(t)?_o(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Fl())),xe(t),null;case 26:var r=t.type,i=t.memoizedState;return e===null?(_o(t),i!==null?(xe(t),K1(t,i)):(xe(t),zc(t,r,null,a,o))):i?i!==e.memoizedState?(_o(t),xe(t),K1(t,i)):(xe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&_o(t),xe(t),zc(t,r,e,a,o)),null;case 27:if(ui(t),o=zo.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&_o(t);else{if(!a){if(t.stateNode===null)throw Error(p(166));return xe(t),t.subtreeFlags&=-33554433,null}e=Jt.current,ln(t)?Mp(t,e):(e=b0(r,a,o),t.stateNode=e,_o(t))}return xe(t),t.subtreeFlags&=-33554433,null;case 5:if(ui(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&_o(t);else{if(!a){if(t.stateNode===null)throw Error(p(166));return xe(t),t.subtreeFlags&=-33554433,null}if(i=Jt.current,ln(t))Mp(t,i);else{var c=Or(zo.current);switch(i){case 1:i=c.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:i=c.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":i=c.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":i=c.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":i=c.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?c.createElement(r,{is:a.is}):c.createElement(r)}}i[Ge]=t,i[st]=a;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=i;e:switch(Ze(i,r,a),r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&_o(t)}}return xe(t),t.subtreeFlags&=-33554433,zc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&_o(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(p(166));if(e=zo.current,ln(t)){if(e=t.stateNode,o=t.memoizedProps,a=null,r=Pe,r!==null)switch(r.tag){case 27:case 5:a=r.memoizedProps}e[Ge]=t,e=!!(e.nodeValue===o||a!==null&&a.suppressHydrationWarning===!0||Zf(e.nodeValue,o)),e||Bo(t,!0)}else e=Or(e).createTextNode(a),e[Ge]=t,t.stateNode=e}return xe(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(a=ln(t),o!==null){if(e===null){if(!a)throw Error(p(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(p(557));e[Ge]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;xe(t),e=!1}else o=Fl(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(yt(t),t):(yt(t),null);if((t.flags&128)!==0)throw Error(p(558))}return xe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=ln(t),a!==null&&a.dehydrated!==null){if(e===null){if(!r)throw Error(p(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(p(317));r[Ge]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;xe(t),r=!1}else r=Fl(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(yt(t),t):(yt(t),null)}return yt(t),(t.flags&128)!==0?(t.lanes=o,t):(o=a!==null,e=e!==null&&e.memoizedState!==null,o&&(a=t.child,r=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(r=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==r&&(a.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),is(t,t.updateQueue),xe(t),null);case 4:return Ya(),e===null&&Ff(t.stateNode.containerInfo),t.flags|=67108864,xe(t),null;case 10:return Ao(t.type),xe(t),null;case 19:if(rc(t),a=t.memoizedState,a===null)return xe(t),null;if(r=(t.flags&128)!==0,i=a.rendering,i===null)if(r)Ar(a,!1);else{if(Ee!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Fi(e),i!==null){for(t.flags|=128,Ar(a,!1),e=i.updateQueue,t.updateQueue=e,is(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)Cp(o,e),o=o.sibling;return br(t,Xe.current&1|2),J&&xo(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&>()>vs&&(t.flags|=128,r=!0,Ar(a,!1),t.lanes=4194304)}else{if(!r)if(e=Fi(i),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,is(t,e),Ar(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!i.alternate&&!J)return xe(t),null}else 2*gt()-a.renderingStartTime>vs&&o!==536870912&&(t.flags|=128,r=!0,Ar(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}if(a.tail!==null){e=a.tail;e:{for(o=e;o!==null;){if(o.alternate!==null){o=!1;break e}o=o.sibling}o=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=gt(),e.sibling=null,i=Xe.current,i=r?i&1|2:i&1,a.tailMode==="visible"||a.tailMode==="collapsed"||!o||J?br(t,i):(o=i,ve(Ye,t),ve(Xe,o),Je===null&&(Je=t)),J&&xo(t,a.treeForkCount),e}return xe(t),null;case 22:case 23:return yt(t),ac(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(o&536870912)!==0&&(t.flags&128)===0&&(xe(t),t.subtreeFlags&6&&(t.flags|=8192)):xe(t),o=t.updateQueue,o!==null&&is(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==o&&(t.flags|=2048),e!==null&&qe(_a),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ao(Re),xe(t),null;case 25:return null;case 30:return t.flags|=33554432,xe(t),null}throw Error(p(156,t.tag))}function Am(e,t){switch(ql(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ao(Re),Ya(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ui(t),null;case 31:if(t.memoizedState!==null){if(yt(t),t.alternate===null)throw Error(p(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(yt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(p(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return rc(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Ya(),null;case 10:return Ao(t.type),null;case 22:case 23:return yt(t),ac(),e!==null&&qe(_a),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ao(Re),null;case 25:return null;default:return null}}function Z1(e,t){switch(ql(t),t.tag){case 3:Ao(Re),Ya();break;case 26:case 27:case 5:ui(t);break;case 4:Ya();break;case 31:t.memoizedState!==null&&yt(t);break;case 13:yt(t);break;case 19:rc(t);break;case 10:Ao(t.type);break;case 22:case 23:yt(t),ac(),e!==null&&qe(_a);break;case 24:Ao(Re)}}function Tr(e,t){try{var o=t.updateQueue,a=o!==null?o.lastEffect:null;if(a!==null){var r=a.next;o=r;do{if((o.tag&e)===e){a=void 0;var i=o.create,c=o.inst;a=i(),c.destroy=a}o=o.next}while(o!==r)}}catch(d){ue(t,t.return,d)}}function Ko(e,t,o){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var i=r.next;a=i;do{if((a.tag&e)===e){var c=a.inst,d=c.destroy;if(d!==void 0){c.destroy=void 0,r=t;var g=o,v=d;try{v()}catch(S){ue(r,g,S)}}}a=a.next}while(a!==i)}}catch(S){ue(t,t.return,S)}}function Q1(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{Hp(t,o)}catch(a){ue(e,e.return,a)}}}function J1(e,t,o){o.props=Oa(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(a){ue(e,t,a)}}function to(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:var r=e.stateNode,i=bo(e.memoizedProps,r);(r.ref===null||r.ref.name!==i)&&(r.ref=s0(i)),a=r.ref;break;case 7:if(e.stateNode===null){var c=new Tt(e);_(e.child,!1,u5,c,void 0,void 0),e.stateNode=c}a=e.stateNode;break;default:a=e.stateNode}typeof o=="function"?e.refCleanup=o(a):o.current=a}}catch(d){ue(e,t,d)}}function Ke(e,t){var o=e.ref,a=e.refCleanup;if(o!==null)if(typeof a=="function")try{a()}catch(r){ue(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(r){ue(e,t,r)}else o.current=null}function ss(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var o=0;o<t.length;o++)f0(e.stateNode,t[o])}function W1(e){for(var t=e.return;t!==null&&(Nc(t)&&f0(e.stateNode,t.stateNode),!Uc(t));)t=t.return}function Cr(e){for(var t=e.return;t!==null&&(Nc(t)&&d5(e.stateNode,t.stateNode),!Uc(t));)t=t.return}function Uc(e){return e.tag===5||e.tag===3||e.tag===27}function Nc(e){return e&&e.tag===7&&e.stateNode!==null}function Lc(e){var t=e.type,o=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&a.focus();break e;case"img":o.src?a.src=o.src:o.srcSet&&(a.srcset=o.srcSet)}}catch(r){ue(e,e.return,r)}}function Pc(e,t,o){try{var a=e.stateNode;Ym(a,e.type,o,t),a[st]=t}catch(r){ue(e,e.return,r)}}function $1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ta(e.type)||e.tag===4}function jc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ta(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vc(e,t,o,a){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(r,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(r),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Wt)),ss(e,a),re=!0;else if(r!==4&&(r===27&&(ss(e,a),a=null,ta(e.type)&&(o=e.stateNode,t=null)),e=e.child,e!==null))for(Vc(e,t,o,a),e=e.sibling;e!==null;)Vc(e,t,o,a),e=e.sibling}function ls(e,t,o,a){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?o.insertBefore(r,t):o.appendChild(r),ss(e,a),re=!0;else if(r!==4&&(r===27&&(ss(e,a),a=null,ta(e.type)&&(o=e.stateNode)),e=e.child,e!==null))for(ls(e,t,o,a),e=e.sibling;e!==null;)ls(e,t,o,a),e=e.sibling}function ef(e){var t=e.stateNode,o=e.memoizedProps;try{for(var a=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Ze(t,a,o),t[Ge]=e,t[st]=o}catch(i){ue(e,e.return,i)}}var cs=!1,xt=null;function tf(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(cs=!0)}var oo=null;function of(){var e=oo;return oo=null,e}var ct=0;function mn(e,t,o,a,r){return ct=0,af(e.child,t,o,a,r)}function af(e,t,o,a,r){for(var i=!1;e!==null;){if(e.tag===5){var c=e.stateNode;if(a!==null){var d=Au(c);a.push(d),d.view&&(i=!0)}else i||Au(c).view&&(i=!0);cs=!0,n0(c,ct===0?t:t+"_"+ct,o),ct++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&r||af(e.child,t,o,a,r)&&(i=!0));e=e.sibling}return i}function ao(e,t){for(;e!==null;)e.tag===5?r0(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||ao(e.child,t)),e=e.sibling}function us(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(us(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(p(544));var o=t.name;t=vo(t.default,t.share),t!=="none"&&(mn(e,o,t,null,!1)||ao(e.child,!1))}e=e.sibling}}function Bc(e,t){if(e.tag===30){var o=e.stateNode,a=e.memoizedProps,r=bo(a,o),i=vo(a.default,o.paired?a.share:a.enter);i!=="none"?mn(e,r,i,null,!1)?(us(e),o.paired||t||Cn(e,a.onEnter)):ao(e.child,!1):us(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Bc(e,t),e=e.sibling;else us(e)}function Hc(e){if(xt!==null&&xt.size!==0){var t=xt;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var o=e.memoizedProps,a=o.name;if(a!=null&&a!=="auto"){var r=t.get(a);if(r!==void 0){var i=vo(o.default,o.share);if(i!=="none"&&(mn(e,a,i,null,!1)?(i=e.stateNode,r.paired=i,i.paired=r,Cn(e,o.onShare)):ao(e.child,!1)),t.delete(a),t.size===0)break}}}Hc(e)}e=e.sibling}}}function qc(e){if(e.tag===30){var t=e.memoizedProps,o=bo(t,e.stateNode),a=xt!==null?xt.get(o):void 0,r=vo(t.default,a!==void 0?t.share:t.exit);r!=="none"&&(mn(e,o,r,null,!1)?a!==void 0?(r=e.stateNode,a.paired=r,r.paired=a,xt.delete(o),Cn(e,t.onShare)):Cn(e,t.onExit):ao(e.child,!1)),xt!==null&&Hc(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)qc(e),e=e.sibling;else xt!==null&&Hc(e)}function nf(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,o=bo(t,e.stateNode);t=vo(t.default,t.update),e.flags&=-5,t!=="none"&&mn(e,o,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&nf(e);e=e.sibling}}function Gc(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,ao(e.child,!1))}Gc(e)}e=e.sibling}}function ds(e){if(e.tag===30)e.stateNode.paired=null,ao(e.child,!1),Gc(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)ds(e),e=e.sibling;else Gc(e)}function rf(e){for(e=e.child;e!==null;)e.tag===30?ao(e.child,!1):(e.subtreeFlags&33554432)!==0&&rf(e),e=e.sibling}function Fc(e,t,o,a,r,i,c){for(var d=!1;t!==null;){if(t.tag===5){var g=t.stateNode;if(i!==null&&ct<i.length){var v=i[ct],S=Au(g);(v.view||S.view)&&(d=!0);var R;if(R=(e.flags&4)===0)if(S.clip)R=!0;else{R=v.rect;var m=S.rect;R=R.y!==m.y||R.x!==m.x||R.height!==m.height||R.width!==m.width}R&&(e.flags|=4),S.abs?S=!v.abs:(v=v.rect,S=S.rect,S=v.height!==S.height||v.width!==S.width),S&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&n0(g,ct===0?o:o+"_"+ct,r),d&&(e.flags&4)!==0||(oo===null&&(oo=[]),oo.push(g,ct===0?a:a+"_"+ct,t.memoizedProps)),ct++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&c?e.flags|=t.flags&32:Fc(e,t.child,o,a,r,i,c)&&(d=!0));t=t.sibling}return d}function sf(e,t){for(e=e.child;e!==null;){if(e.tag===30){var o=e.memoizedProps,a=e.stateNode,r=bo(o,a),i=vo(o.default,o.update);if(t){a=a.clones;var c=a===null?null:a.map(Wm)}else c=e.memoizedState,e.memoizedState=null;a=e;var d=e.child;ct=0,r=Fc(a,d,r,r,i,c,!1),(e.flags&4)!==0&&r&&(t||Cn(e,o.onUpdate))}else(e.subtreeFlags&33554432)!==0&&sf(e,t);e=e.sibling}}var je=!1,le=!1,no=!1,Yc=!1,lf=typeof WeakSet=="function"?WeakSet:Set,Ve=null,ro=!1,wr=!1,ps=!1,Xc=!1;function Tm(e,t,o){if(e=e.containerInfo,bu=zn,e=gp(e),Ol(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var r=a.getSelection&&a.getSelection();if(r&&r.rangeCount!==0){a=r.anchorNode;var i=r.anchorOffset,c=r.focusNode;r=r.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break e}var d=0,g=-1,v=-1,S=0,R=0,m=e,x=null;t:for(;;){for(var O;m!==a||i!==0&&m.nodeType!==3||(g=d+i),m!==c||r!==0&&m.nodeType!==3||(v=d+r),m.nodeType===3&&(d+=m.nodeValue.length),(O=m.firstChild)!==null;)x=m,m=O;for(;;){if(m===e)break t;if(x===a&&++S===i&&(g=d),x===c&&++R===r&&(v=d),(O=m.nextSibling)!==null)break;m=x,x=m.parentNode}m=O}a=g===-1||v===-1?null:{start:g,end:v}}else a=null}a=a||{start:0,end:0}}else a=null;for(vu={focusedElem:e,selectionRange:a},zn=!1,o=(o&335544064)===o,Ve=t,t=o?9270:1024;Ve!==null;){if(e=Ve,o&&(a=e.deletions,a!==null))for(i=0;i<a.length;i++)o&&qc(a[i]);if(e.alternate===null&&(e.flags&2)!==0)o&&tf(e),fs(o);else{if(e.tag===22){if(a=e.alternate,e.memoizedState!==null){a!==null&&a.memoizedState===null&&o&&qc(a),fs(o);continue}else if(a!==null&&a.memoizedState!==null){o&&tf(e),fs(o);continue}}a=e.child,(e.subtreeFlags&t)!==0&&a!==null?(a.return=e,Ve=a):(o&&nf(e),fs(o))}}xt=null}function fs(e){for(;Ve!==null;){var t=Ve,o=e,a=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((r&1024)!==0&&a!==null){o=void 0,r=a.memoizedProps,a=a.memoizedState;var i=t.stateNode;try{var c=Oa(t.type,r);o=i.getSnapshotBeforeUpdate(c,a),i.__reactInternalSnapshotBeforeUpdate=o}catch(d){ue(t,t.return,d)}}break;case 3:if((r&1024)!==0){if(a=t.stateNode.containerInfo,o=a.nodeType,o===9)wu(a);else if(o===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":wu(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:o&&a!==null&&(o=bo(a.memoizedProps,a.stateNode),r=t.memoizedProps,r=vo(r.default,r.update),r!=="none"&&mn(a,o,r,a.memoizedState=[],!0));break;default:if((r&1024)!==0)throw Error(p(163))}if(a=t.sibling,a!==null){a.return=t.return,Ve=a;break}Ve=t.return}}function cf(e,t,o){var a=o.flags;switch(o.tag){case 0:case 11:case 15:io(e,o),a&4&&Tr(5,o);break;case 1:if(io(e,o),a&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(c){ue(o,o.return,c)}else{var r=Oa(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(c){ue(o,o.return,c)}}a&64&&Q1(o),a&512&&to(o,o.return);break;case 3:if(io(e,o),a&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{Hp(e,t)}catch(c){ue(o,o.return,c)}}break;case 27:t===null&&a&4&&ef(o);case 26:case 5:io(e,o),t===null&&a&4&&Lc(o),a&512&&to(o,o.return);break;case 12:io(e,o);break;case 31:io(e,o),a&4&&ff(e,o);break;case 13:io(e,o),a&4&&gf(e,o),a&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=Um.bind(null,o),g5(e,o))));break;case 22:if(a=o.memoizedState!==null||je,!a){var i=t!==null&&t.memoizedState!==null||le;t=je,r=le,je=a,(le=i)&&!r?(a=2,(o.subtreeFlags&8772)!==0&&(a|=1),jt(e,o,a)):io(e,o),je=t,le=r}break;case 30:io(e,o),a&512&&to(o,o.return);break;case 7:a&512&&to(o,o.return);default:io(e,o)}}function Kc(e,t){for(e=e.child;e!==null;)uf(e,t),e=e.sibling}function uf(e,t){switch(e.tag){case 5:case 26:try{var o=e.stateNode;if(t){var a=o.style;typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}else{var r=e.stateNode,i=e.memoizedProps.style,c=i!=null&&i.hasOwnProperty("display")?i.display:null;r.style.display=c==null||typeof c=="boolean"?"":(""+c).trim()}}catch(g){ue(e,e.return,g)}Zc(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,re=!0}catch(g){ue(e,e.return,g)}break;case 18:try{var d=e.stateNode;t?a0(d,!0):a0(e.stateNode,!1)}catch(g){ue(e,e.return,g)}break;case 22:case 23:e.memoizedState===null&&Kc(e,t);break;default:Kc(e,t)}}function Zc(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var o=e,a=t;switch(o.tag){case 4:uf(o,a);break e;case 22:o.memoizedState===null&&Zc(o,a);break e;default:Zc(o,a)}}e=e.sibling}}function df(e){var t=e.alternate;t!==null&&(e.alternate=null,df(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&vi(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ae=null,ut=!1;function Lt(e,t,o){for(o=o.child;o!==null;)pf(e,t,o),o=o.sibling}function pf(e,t,o){if(ht&&typeof ht.onCommitFiberUnmount=="function")try{ht.onCommitFiberUnmount(Kn,o)}catch{}switch(o.tag){case 26:le||Ke(o,t),Lt(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&!le&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:le||Ke(o,t),Cr(o);var a=Ae,r=ut;ta(o.type)&&(Ae=o.stateNode,ut=!1),Lt(e,t,o),v0(o.stateNode,o.type,o.memoizedProps),Ae=a,ut=r;break;case 5:le||Ke(o,t),Cr(o);case 6:if(o.tag===6&&Cr(o),a=Ae,r=ut,Ae=null,Lt(e,t,o),Ae=a,ut=r,Ae!==null)if(ut)try{(Ae.nodeType===9?Ae.body:Ae.nodeName==="HTML"?Ae.ownerDocument.body:Ae).removeChild(o.stateNode),re=!0}catch(i){ue(o,t,i)}else try{Ae.removeChild(o.stateNode),re=!0}catch(i){ue(o,t,i)}break;case 18:Ae!==null&&(ut?(e=Ae,o0(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),Un(e)):o0(Ae,o.stateNode));break;case 4:a=Ae,r=ut,Ae=o.stateNode.containerInfo,ut=!0,Lt(e,t,o),Ae=a,ut=r;break;case 0:case 11:case 14:case 15:Ko(2,o,t),le||Ko(4,o,t),Lt(e,t,o);break;case 1:le||(Ke(o,t),a=o.stateNode,typeof a.componentWillUnmount=="function"&&J1(o,t,a)),Lt(e,t,o);break;case 21:Lt(e,t,o);break;case 22:le=(a=le)||o.memoizedState!==null,Lt(e,t,o),le=a;break;case 30:Ke(o,t),Lt(e,t,o);break;case 7:le||Ke(o,t),Lt(e,t,o);break;default:Lt(e,t,o)}}function ff(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Un(e)}catch(o){ue(t,t.return,o)}}}function gf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Un(e)}catch(o){ue(t,t.return,o)}}function Cm(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new lf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new lf),t;default:throw Error(p(435,e.tag))}}function gs(e,t){var o=Cm(e);t.forEach(function(a){if(!o.has(a)){o.add(a);var r=Nm.bind(null,e,a);a.then(r,r)}})}function at(e,t,o){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r],c=e,d=t,g=d;e:for(;g!==null;){switch(g.tag){case 27:if(ta(g.type)){Ae=g.stateNode,ut=!1;break e}break;case 5:Ae=g.stateNode,ut=!1;break e;case 3:case 4:Ae=g.stateNode.containerInfo,ut=!0;break e}g=g.return}if(Ae===null)throw Error(p(160));pf(c,d,i),Ae=null,ut=!1,c=i.alternate,c!==null&&(c.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)hf(t,e,o),t=t.sibling}var Pt=null;function hf(e,t,o){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(r&4&&(a=e.updateQueue,a=a!==null?a.events:null,a!==null))for(var i=0;i<a.length;i++){var c=a[i];c.ref.impl=c.nextImpl}at(t,e,o),nt(e),r&4&&(Ko(3,e,e.return),Tr(3,e),Ko(5,e,e.return));break;case 1:at(t,e,o),nt(e),r&512&&(le||a===null||Ke(a,a.return)),r&64&&je&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?t:o.concat(t))));break;case 26:if(i=Pt,at(t,e,o),nt(e),r&512&&(le||a===null||Ke(a,a.return)),r&4)if(r=a!==null?a.memoizedState:null,o=e.memoizedState,a===null)if(o===null)if(e.stateNode===null)if(je)e.stateNode=$f(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,o=e.memoizedProps,r=i.ownerDocument||i;t:switch(t){case"title":a=r.getElementsByTagName("title")[0],(!a||a[Jn]||a[Ge]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=r.createElement(t),r.head.insertBefore(a,r.querySelector("head > title"))),Ze(a,t,o),a[Ge]=e,Le(a),t=a;break e;case"link":if(i=C0("link","href",r).get(t+(o.href||""))){for(c=0;c<i.length;c++)if(a=i[c],a.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&a.getAttribute("rel")===(o.rel==null?null:o.rel)&&a.getAttribute("title")===(o.title==null?null:o.title)&&a.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){i.splice(c,1);break t}}a=r.createElement(t),Ze(a,t,o),r.head.appendChild(a);break;case"meta":if(i=C0("meta","content",r).get(t+(o.content||""))){for(c=0;c<i.length;c++)if(a=i[c],a.getAttribute("content")===(o.content==null?null:""+o.content)&&a.getAttribute("name")===(o.name==null?null:o.name)&&a.getAttribute("property")===(o.property==null?null:o.property)&&a.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&a.getAttribute("charset")===(o.charSet==null?null:o.charSet)){i.splice(c,1);break t}}a=r.createElement(t),Ze(a,t,o),r.head.appendChild(a);break;default:throw Error(p(468,t))}a[Ge]=e,Le(a),t=a}e.stateNode=t}else je||Du(i,e.type,e.stateNode);else e.stateNode=T0(i,o,e.memoizedProps);else r!==o?(r===null?(t=a.stateNode,t===null||le||t.parentNode.removeChild(t)):r.count--,o===null?je||Du(i,e.type,e.stateNode):T0(i,o,e.memoizedProps)):o===null&&e.stateNode!==null&&Pc(e,e.memoizedProps,a.memoizedProps);break;case 27:at(t,e,o),nt(e),r&512&&(le||a===null||Ke(a,a.return)),a!==null&&r&4&&Pc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(i=no,no=!1,at(t,e,o),no=i,nt(e),r&512&&(le||a===null||Ke(a,a.return)),e.flags&32){t=e.stateNode;try{Ja(t,""),re=!0}catch(S){ue(e,e.return,S)}}r&4&&e.stateNode!=null&&(t=e.memoizedProps,Pc(e,t,a!==null?a.memoizedProps:t)),r&1024&&(Yc=!0);break;case 6:if(at(t,e,o),nt(e),r&4){if(e.stateNode===null)throw Error(p(162));t=e.memoizedProps,o=e.stateNode;try{o.nodeValue=t,re=!0}catch(S){ue(e,e.return,S)}}break;case 3:if(re=!1,Ms=null,i=Pt,Pt=zr(t.containerInfo),at(t,e,o),Pt=i,nt(e),r&4&&a!==null&&a.memoizedState.isDehydrated)try{Un(t.containerInfo)}catch(S){ue(e,e.return,S)}Yc&&(Yc=!1,mf(e)),re=!1;break;case 4:r=no,no=je,a=Pd(),i=Pt,Pt=zr(e.stateNode.containerInfo),at(t,e,o),nt(e),Pt=i,re&&wr&&(ps=!0),re=a,no=r;break;case 12:at(t,e,o),nt(e);break;case 31:at(t,e,o),nt(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,gs(e,t)));break;case 13:at(t,e,o),nt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(bs=gt()),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,gs(e,t)));break;case 22:i=e.memoizedState!==null,c=a!==null&&a.memoizedState!==null;var d=je,g=le,v=no;je=d||i,no=v||i,le=g||c,at(t,e,o),le=g,no=v,je=d,nt(e),r&8192&&(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,!i||a===null||c||je||le||(t=c||le,o=je,a=le,je=i||je,le=t,Zo(e,2),je=o,le=a),!i&&no||Kc(e,i)),r&4&&(t=e.updateQueue,t!==null&&(o=t.retryQueue,o!==null&&(t.retryQueue=null,gs(e,o))));break;case 19:at(t,e,o),nt(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,gs(e,t)));break;case 30:r&512&&(le||a===null||Ke(a,a.return)),r=Pd(),i=wr,c=(o&335544064)===o,d=e.memoizedProps,wr=c&&vo(d.default,d.update)!=="none",at(t,e,o),nt(e),c&&a!==null&&re&&(e.flags|=4),wr=i,re=r;break;case 21:break;case 7:r&512&&(le||a===null||Ke(a,a.return)),a&&a.stateNode!==null&&(a.stateNode._fragmentFiber=e);default:at(t,e,o),nt(e)}}function nt(e){var t=e.flags;if(t&2){try{for(var o,a=e.return;a!==null;){if($1(a)){o=a;break}a=a.return}a=null;for(var r=e.return;r!==null;){if(Nc(r)){var i=r.stateNode;a===null?a=[i]:a.push(i)}if(Uc(r))break;r=r.return}var c=a;if(o==null)throw Error(p(160));switch(o.tag){case 27:var d=o.stateNode;ls(e,jc(e),d,c);break;case 5:var g=o.stateNode;o.flags&32&&(Ja(g,""),o.flags&=-33),ls(e,jc(e),g,c);break;case 3:case 4:var v=o.stateNode.containerInfo;Vc(e,jc(e),v,c);break;default:throw Error(p(161))}}catch(S){ue(e,e.return,S)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function mf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;mf(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,zn=!0,t.reset(),zn=!1),e=e.sibling}}function bn(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)bf(t,e),t=t.sibling;else sf(t,!1)}function bf(e,t){var o=e.alternate;if(o===null)Bc(e,!1);else switch(e.tag){case 3:if(Xc=ro=!1,of(),bn(t,e),!ro&&!ps){if(e=oo,e!==null)for(var a=0;a<e.length;a+=3){o=e[a];var r=e[a+1];r0(o,e[a+2]),o=o.ownerDocument.documentElement,o!==null&&o.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+r+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Xc=!0}oo=null;break;case 5:bn(t,e);break;case 4:a=ro,ro=!1,bn(t,e),ro&&(ps=!0),ro=a;break;case 22:e.memoizedState===null&&(o.memoizedState!==null?Bc(e,!1):bn(t,e));break;case 30:a=ro,r=of(),ro=!1,bn(t,e),ro&&(e.flags|=4);var i=e.memoizedProps,c=e.stateNode;t=bo(i,c),c=bo(o.memoizedProps,c);var d=vo(i.default,i.update);d==="none"?t=!1:(i=o.memoizedState,o.memoizedState=null,o=e.child,ct=0,t=Fc(e,o,t,c,d,i,!0),ct!==(i===null?0:i.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(Cn(e,e.memoizedProps.onUpdate),oo=r):r!==null&&(r.push.apply(r,oo),oo=r),ro=(e.flags&32)!==0?!0:a;break;default:bn(t,e)}}function io(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)cf(e,t.alternate,t),t=t.sibling}function Zo(e,t){for(e=e.child;e!==null;){var o=e,a=t;switch(o.tag){case 0:case 11:case 14:case 15:Ko(4,o,o.return),Zo(o,a);break;case 1:Ke(o,o.return);var r=o.stateNode;typeof r.componentWillUnmount=="function"&&J1(o,o.return,r),Zo(o,a);break;case 27:(a&2)!==0&&v0(o.stateNode,o.type,o.memoizedProps);case 5:Ke(o,o.return),o.tag!==5&&o.tag!==27||Cr(o),Zo(o,a);break;case 6:Cr(o);break;case 26:Ke(o,o.return),r=o.stateNode,o.memoizedState!==null||r===null||le||r.parentNode.removeChild(r),Zo(o,a);break;case 22:o.memoizedState===null&&Zo(o,a);break;case 30:Ke(o,o.return),Zo(o,a);break;case 7:Ke(o,o.return);default:Zo(o,a)}e=e.sibling}}function jt(e,t,o){for(o=(t.subtreeFlags&8772)!==0?o:o&-2,t=t.child;t!==null;){var a=t.alternate,r=e,i=t,c=i.flags,d=(o&1)!==0;switch(i.tag){case 0:case 11:case 15:jt(r,i,o),Tr(4,i);break;case 1:if(jt(r,i,o),a=i,r=a.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(S){ue(a,a.return,S)}if(a=i,r=a.updateQueue,r!==null){var g=a.stateNode;try{var v=r.shared.hiddenCallbacks;if(v!==null)for(r.shared.hiddenCallbacks=null,r=0;r<v.length;r++)Bp(v[r],g)}catch(S){ue(a,a.return,S)}}d&&c&64&&Q1(i),to(i,i.return);break;case 27:(o&2)!==0&&ef(i);case 5:i.tag!==5&&i.tag!==27||W1(i),jt(r,i,o),d&&a===null&&c&4&&Lc(i),to(i,i.return);break;case 6:W1(i);break;case 26:g=i.stateNode,i.memoizedState!==null||g===null||je||Du(zr(g.ownerDocument),i.type,g),jt(r,i,o),d&&a===null&&c&4&&Lc(i),to(i,i.return);break;case 12:jt(r,i,o);break;case 31:jt(r,i,o),d&&c&4&&ff(r,i);break;case 13:jt(r,i,o),d&&c&4&&gf(r,i);break;case 22:i.memoizedState===null&&jt(r,i,o),to(i,i.return);break;case 30:jt(r,i,o),to(i,i.return);break;case 7:to(i,i.return);default:jt(r,i,o)}t=t.sibling}}function Qc(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&ur(o))}function Jc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ur(e))}function Rt(e,t,o,a){var r=(o&335544064)===o;if(t.subtreeFlags&(r?10262:10256))for(t=t.child;t!==null;)vf(e,t,o,a),t=t.sibling;else r&&rf(t)}function vf(e,t,o,a){var r=(o&335544064)===o;r&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&ds(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:Rt(e,t,o,a),i&2048&&Tr(9,t);break;case 1:Rt(e,t,o,a);break;case 3:Rt(e,t,o,a),r&&Xc&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),i&2048&&(i=null,t.alternate!==null&&(i=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==i&&(t.refCount++,i!=null&&ur(i)));break;case 12:if(i&2048){Rt(e,t,o,a),i=t.stateNode;try{var c=t.memoizedProps,d=c.id,g=c.onPostCommit;typeof g=="function"&&g(d,t.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(v){ue(t,t.return,v)}}else Rt(e,t,o,a);break;case 31:Rt(e,t,o,a);break;case 13:Rt(e,t,o,a);break;case 23:break;case 22:c=t.stateNode,d=t.alternate,t.memoizedState!==null?(r&&d!==null&&d.memoizedState===null&&ds(d),c._visibility&2?Rt(e,t,o,a):_r(e,t)):(r&&d!==null&&d.memoizedState!==null&&ds(t),c._visibility&2?Rt(e,t,o,a):(c._visibility|=2,vn(e,t,o,a,(t.subtreeFlags&10256)!==0||!1))),i&2048&&Qc(d,t);break;case 24:Rt(e,t,o,a),i&2048&&Jc(t.alternate,t);break;case 30:r&&(i=t.alternate,i!==null&&(ao(i.child,!0),ao(t.child,!0))),Rt(e,t,o,a);break;default:Rt(e,t,o,a)}}function vn(e,t,o,a,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,c=t,d=o,g=a,v=c.flags;switch(c.tag){case 0:case 11:case 15:vn(i,c,d,g,r),Tr(8,c);break;case 23:break;case 22:var S=c.stateNode;c.memoizedState!==null?S._visibility&2?vn(i,c,d,g,r):_r(i,c):(S._visibility|=2,vn(i,c,d,g,r)),r&&v&2048&&Qc(c.alternate,c);break;case 24:vn(i,c,d,g,r),r&&v&2048&&Jc(c.alternate,c);break;default:vn(i,c,d,g,r)}t=t.sibling}}function _r(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,a=t,r=a.flags;switch(a.tag){case 22:_r(o,a),r&2048&&Qc(a.alternate,a);break;case 24:_r(o,a),r&2048&&Jc(a.alternate,a);break;default:_r(o,a)}t=t.sibling}}var za=8192;function Ua(e,t,o){if(e.subtreeFlags&za)for(e=e.child;e!==null;)yf(e,t,o),e=e.sibling}function yf(e,t,o){switch(e.tag){case 26:Ua(e,t,o),e.flags&za&&(e.memoizedState!==null?k5(o,Pt,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&k0(o,e)));break;case 5:Ua(e,t,o),e.flags&za&&(e=e.stateNode,(t&335544128)===t&&k0(o,e));break;case 3:case 4:var a=Pt;Pt=zr(e.stateNode.containerInfo),Ua(e,t,o),Pt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=za,za=16777216,Ua(e,t,o),za=a):Ua(e,t,o));break;case 30:if((e.flags&za)!==0&&(a=e.memoizedProps.name,a!=null&&a!=="auto")){var r=e.stateNode;r.paired=null,xt===null&&(xt=new Map),xt.set(a,r)}Ua(e,t,o);break;default:Ua(e,t,o)}}function xf(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Er(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var a=t[o];Ve=a,Af(a,e)}xf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Sf(e),e=e.sibling}function Sf(e){switch(e.tag){case 0:case 11:case 15:Er(e),e.flags&2048&&Ko(9,e,e.return);break;case 3:Er(e);break;case 12:Er(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,hs(e)):Er(e);break;default:Er(e)}}function hs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var a=t[o];Ve=a,Af(a,e)}xf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ko(8,t,t.return),hs(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,hs(t));break;default:hs(t)}e=e.sibling}}function Af(e,t){for(;Ve!==null;){var o=Ve;switch(o.tag){case 0:case 11:case 15:Ko(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var a=o.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:ur(o.memoizedState.cache)}if(a=o.child,a!==null)a.return=o,Ve=a;else e:for(o=e;Ve!==null;){a=Ve;var r=a.sibling,i=a.return;if(df(a),a===o){Ve=null;break e}if(r!==null){r.return=i,Ve=r;break e}Ve=i}}}var wm={getCacheForType:function(e){var t=Fe(Re),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return Fe(Re).controller.signal}},_m=typeof WeakMap=="function"?WeakMap:Map,se=0,me=null,$=null,te=0,ce=0,St=null,Qo=!1,yn=!1,Wc=!1,Eo=0,Ee=0,Jo=0,Na=0,ms=0,At=0,xn=0,kr=null,dt=null,$c=!1,bs=0,Tf=0,vs=1/0,ys=null,Wo=null,Ce=0,Vt=null,La=null,so=0,eu=0,tu=null,Cf=null,Sn=null,An=null,Tn=null,Mr=0,xs=null;function It(){return(se&2)!==0&&te!==0?te&-te:H.T!==null?du():Md()}function wf(){if(At===0)if((te&536870912)===0||J){var e=fi;fi<<=1,(fi&3932160)===0&&(fi=262144),At=e}else At=536870912;return e=Ye.current,e!==null&&(e.flags|=32),At}function Cn(e,t){if(t!=null){var o=e.stateNode,a=o.ref;a===null&&(a=o.ref=s0(bo(e.memoizedProps,o))),An===null&&(An=[]),An.push(t.bind(null,a))}}function pt(e,t,o){(e===me&&(ce===2||ce===9)||e.cancelPendingCommit!==null)&&(wn(e,0),$o(e,te,At,!1)),mi(e,o),((se&2)===0||e!==me)&&(e===me&&((se&2)===0&&(Na|=o),Ee===4&&$o(e,te,At,!1)),ko(e))}function _f(e,t,o){if((se&6)!==0)throw Error(p(327));var a=!o&&(t&127)===0&&(t&e.expiredLanes)===0||Zn(e,t),r=a?Mm(e,t):au(e,t,!0),i=a;do{if(r===0){yn&&!a&&$o(e,t,0,!1);break}else{if(o=e.current.alternate,i&&!Em(o)){r=au(e,t,!1),i=!1;continue}if(r===2){if(i=t,e.errorRecoveryDisabledLanes&i)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;e:{var d=e;r=kr;var g=d.current.memoizedState.isDehydrated;if(g&&(wn(d,c).flags|=256),c=au(d,c,!1),c!==2&&c!==6){if(Wc&&!g){d.errorRecoveryDisabledLanes|=i,Na|=i,r=4;break e}i=dt,dt=r,i!==null&&(dt===null?dt=i:dt.push.apply(dt,i))}r=c}if(i=!1,r!==2)continue}}if(r===1){wn(e,0),$o(e,t,0,!0);break}e:{switch(a=e,i=r,i){case 0:case 1:throw Error(p(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:$o(a,t,At,!Qo);break e;case 2:dt=null;break;case 3:case 5:break;default:throw Error(p(329))}if((t&62914560)===t&&(r=bs+300-gt(),10<r)){if($o(a,t,At,!Qo),hi(a,0,!0)!==0)break e;so=t,a.timeoutHandle=Su(Ef.bind(null,a,o,dt,ys,$c,t,At,Na,xn,Qo,i,"Throttled",-0,0),r);break e}Ef(a,o,dt,ys,$c,t,At,Na,xn,Qo,i,null,-0,0)}}break}while(!0);ko(e)}function Ef(e,t,o,a,r,i,c,d,g,v,S,R,m,x){e.timeoutHandle=-1;var O=t.subtreeFlags,L=(i&335544064)===i;if(R=null,(L||O&8192||(O&16785408)===16785408)&&(R={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Wt},xt=null,yf(t,i,R),L&&(O=R,L=e.containerInfo,L=(L.nodeType===9?L:L.ownerDocument).__reactViewTransition,L!=null&&(O.count++,O.waitingForViewTransition=!0,O=Lr.bind(O),L.finished.then(O,O))),O=(i&62914560)===i?bs-gt():(i&4194048)===i?Tf-gt():0,O=M5(R,O),O!==null)){so=i,e.cancelPendingCommit=O(Uf.bind(null,e,t,i,o,a,r,c,d,g,v,S,R,null,m,x)),$o(e,i,c,!v);return}Uf(e,t,i,o,a,r,c,d,g,v,S,R)}function Em(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var a=0;a<o.length;a++){var r=o[a],i=r.getSnapshot;r=r.value;try{if(!vt(i(),r))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function $o(e,t,o,a){t=Td(e,t),t&=~ms,t&=~Na,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var r=t;0<r;){var i=31-mt(r),c=1<<i;a[i]=-1,r&=~c}o!==0&&wd(e,o,t)}function Ss(){return(se&6)===0?(Rr(0,!1),!1):!0}function ou(){if($!==null){if(ce===0)var e=$.return;else e=$,So=Aa=null,uc(e),dn=null,fr=0,e=$;for(;e!==null;)Z1(e.alternate,e),e=e.return;$=null}}function wn(e,t){var o=e.timeoutHandle;return o!==-1&&(e.timeoutHandle=-1,Zm(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),so=0,ou(),me=e,$=o=yo(e.current,null),te=t,ce=0,St=null,Qo=!1,yn=Zn(e,t),Wc=!1,xn=At=ms=Na=Jo=Ee=0,dt=kr=null,$c=!1,Eo=Td(e,t),Mi(),o}function kf(e,t){Y=null,H.H=es,t===un||t===Vi?(t=Lp(),ce=3):t===Jl?(t=Lp(),ce=4):ce=t===wc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,St=t,$===null&&(Ee=1,ts(e,_t(t,e.current)))}function Mf(){var e=Ye.current;return e===null?!0:(te&4194048)===te?Je===null:(te&62914560)===te||(te&536870912)!==0?e===Je:!1}function Rf(){var e=H.H;return H.H=es,e===null?es:e}function If(){var e=H.A;return H.A=wm,e}function As(){Ee=4,Qo||(te&4194048)!==te&&Ye.current!==null||(yn=!0),(Jo&134217727)===0&&(Na&134217727)===0||me===null||$o(me,te,At,!1)}function au(e,t,o){var a=se;se|=2;var r=Rf(),i=If();(me!==e||te!==t)&&(ys=null,wn(e,t)),t=!1;var c=Ee;e:do try{if(ce!==0&&$!==null){var d=$,g=St;switch(ce){case 8:ou(),c=6;break e;case 3:case 2:case 9:case 6:Ye.current===null&&(t=!0);var v=ce;if(ce=0,St=null,_n(e,d,g,v),o&&yn){c=0;break e}break;default:v=ce,ce=0,St=null,_n(e,d,g,v)}}km(),c=Ee;break}catch(S){kf(e,S)}while(!0);return t&&e.shellSuspendCounter++,So=Aa=null,se=a,H.H=r,H.A=i,$===null&&(me=null,te=0,Mi()),c}function km(){for(;$!==null;)Df($)}function Mm(e,t){var o=se;se|=2;var a=Rf(),r=If();me!==e||te!==t?(ys=null,vs=gt()+500,wn(e,t)):yn=Zn(e,t);e:do try{if(ce!==0&&$!==null){t=$;var i=St;t:switch(ce){case 1:ce=0,St=null,_n(e,t,i,1);break;case 2:case 9:if(Up(i)){ce=0,St=null,Of(t);break}t=function(){ce!==2&&ce!==9||me!==e||(ce=7),ko(e)},i.then(t,t);break e;case 3:ce=7;break e;case 4:ce=5;break e;case 7:Up(i)?(ce=0,St=null,Of(t)):(ce=0,St=null,_n(e,t,i,7));break;case 5:var c=null;switch($.tag){case 26:c=$.memoizedState;case 5:case 27:var d=$;if(c?_0(c):d.stateNode.complete){ce=0,St=null;var g=d.sibling;if(g!==null)$=g;else{var v=d.return;v!==null?($=v,Ts(v)):$=null}break t}}ce=0,St=null,_n(e,t,i,5);break;case 6:ce=0,St=null,_n(e,t,i,6);break;case 8:ou(),Ee=6;break e;default:throw Error(p(462))}}Rm();break}catch(S){kf(e,S)}while(!0);return So=Aa=null,H.H=a,H.A=r,se=o,$!==null?0:(me=null,te=0,Mi(),Ee)}function Rm(){for(;$!==null&&!oh();)Df($)}function Df(e){var t=X1(e.alternate,e,Eo);e.memoizedProps=e.pendingProps,t===null?Ts(e):$=t}function Of(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=V1(o,t,t.pendingProps,t.type,void 0,te);break;case 11:t=V1(o,t,t.pendingProps,t.type.render,t.ref,te);break;case 5:uc(t);var a=t;a===Pe&&(J?(Ui(a),a.tag===5&&a.stateNode!=null&&(ye=a.stateNode)):(Ui(a),J=!0));default:Z1(o,t),t=$=Cp(t,Eo),t=X1(o,t,Eo)}e.memoizedProps=e.pendingProps,t===null?Ts(e):$=t}function _n(e,t,o,a){So=Aa=null,uc(t),dn=null,fr=0;var r=t.return;try{if(bm(e,r,t,o,te)){Ee=1,ts(e,_t(o,e.current)),$=null;return}}catch(i){if(r!==null)throw $=r,i;Ee=1,ts(e,_t(o,e.current)),$=null;return}t.flags&32768?(J||a===1?e=!0:yn||(te&536870912)!==0?e=!1:(Qo=e=!0,(a===2||a===9||a===3||a===6)&&(a=Ye.current,a!==null&&a.tag===13&&(a.flags|=16384))),zf(t,e)):Ts(t)}function Ts(e){var t=e;do{if((t.flags&32768)!==0){zf(t,Qo);return}e=t.return;var o=Sm(t.alternate,t,Eo);if(o!==null){$=o;return}if(t=t.sibling,t!==null){$=t;return}$=t=e}while(t!==null);Ee===0&&(Ee=5)}function zf(e,t){do{var o=Am(e.alternate,e);if(o!==null){o.flags&=32767,$=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){$=e;return}$=e=o}while(e!==null);Ee=6,$=null}function Uf(e,t,o,a,r,i,c,d,g,v,S,R){e.cancelPendingCommit=null;do Cs();while(Ce!==0);if((se&6)!==0)throw Error(p(327));if(t!==null){if(t===e.current)throw Error(p(177));e===me&&($=me=null,te=0),La=t,Vt=e,so=o,tu=r,Cf=a,Im(e,t,o,c,d,g,R)}}function Im(e,t,o,a,r,i,c){var d=t.lanes|t.childLanes;if(eu=d,d|=Pl,ph(e,o,d,a,r,i),An=null,(o&335544064)===o?(Tn=om(e),a=10262):(Tn=null,a=10256),(t.subtreeFlags&a)!==0||(t.flags&a)!==0?(e.callbackNode=null,e.callbackPriority=0,Lm(di,function(){return su(),null})):(e.callbackNode=null,e.callbackPriority=0),cs=!1,a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=H.T,H.T=null,r=ie.p,ie.p=2,i=se,se|=4;try{Tm(e,t,o)}finally{se=i,ie.p=r,H.T=a}}Ce=1,cs?Sn=t5(c,e.containerInfo,Tn,nu,ru,Om,iu,su,Dm,null,null):(nu(),ru(),iu())}function Dm(e){if(Ce!==0){var t=Vt.onRecoverableError;t(e,{componentStack:null})}}function Om(){Ce===3&&(Ce=0,bf(La,Vt),Ce=4)}function nu(){if(Ce===1){Ce=0;var e=Vt,t=La,o=so,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=H.T,H.T=null;var r=ie.p;ie.p=2;var i=se;se|=4;try{wr=ps=!1,hf(t,e,o),o=vu;var c=gp(e.containerInfo),d=o.focusedElem,g=o.selectionRange;if(c!==d&&d&&d.ownerDocument&&fp(d.ownerDocument.documentElement,d)){if(g!==null&&Ol(d)){var v=g.start,S=g.end;if(S===void 0&&(S=v),"selectionStart"in d)d.selectionStart=v,d.selectionEnd=Math.min(S,d.value.length);else{var R=d.ownerDocument||document,m=R&&R.defaultView||window;if(m.getSelection){var x=m.getSelection(),O=d.textContent.length,L=Math.min(g.start,O),X=g.end===void 0?L:Math.min(g.end,O);!x.extend&&L>X&&(c=X,X=L,L=c);var b=pp(d,L),h=pp(d,X);if(b&&h&&(x.rangeCount!==1||x.anchorNode!==b.node||x.anchorOffset!==b.offset||x.focusNode!==h.node||x.focusOffset!==h.offset)){var y=R.createRange();y.setStart(b.node,b.offset),x.removeAllRanges(),L>X?(x.addRange(y),x.extend(h.node,h.offset)):(y.setEnd(h.node,h.offset),x.addRange(y))}}}}for(R=[],x=d;x=x.parentNode;)x.nodeType===1&&R.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<R.length;d++){var k=R[d];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}zn=!!bu,vu=bu=null}finally{se=i,ie.p=r,H.T=a}}e.current=t,Ce=2}}function ru(){if(Ce===2){Ce=0;var e=Vt,t=La,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=H.T,H.T=null;var a=ie.p;ie.p=2;var r=se;se|=4;try{cf(e,t.alternate,t)}finally{se=r,ie.p=a,H.T=o}}Ce=3}}function iu(){if(Ce===4||Ce===3){Ce=0;var e=Sn;Sn=null,ah();var t=Vt,o=La,a=so,r=Cf,i=(a&335544064)===a?10262:10256;if((o.subtreeFlags&i)!==0||(o.flags&i)!==0?Ce=5:(Ce=0,La=Vt=null,Nf(t,t.pendingLanes)),i=t.pendingLanes,i===0&&(Wo=null),hl(a),o=o.stateNode,ht&&typeof ht.onCommitFiberRoot=="function")try{ht.onCommitFiberRoot(Kn,o,void 0,(o.current.flags&128)===128)}catch{}if(r!==null){o=H.T,i=ie.p,ie.p=2,H.T=null;try{for(var c=t.onRecoverableError,d=0;d<r.length;d++){var g=r[d];c(g.value,{componentStack:g.stack})}}finally{H.T=o,ie.p=i}}if(r=An,c=Tn,Tn=null,r!==null&&(An=null,c===null&&(c=[]),e!==null))for(g=0;g<r.length;g++)o=(0,r[g])(c),o!==void 0&&e.finished.finally(o);(so&3)!==0&&Cs(),ko(t),i=t.pendingLanes,(a&261930)!==0&&(i&42)!==0?t===xs?Mr++:(Mr=0,xs=t):(Mr=0,xs=null),Rr(0,!1)}}function Nf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ur(t)))}function Cs(){return Sn!==null&&(Sn.skipTransition(),Sn=null),nu(),ru(),iu(),su()}function su(){if(Ce!==5)return!1;var e=Vt,t=eu;eu=0;var o=hl(so),a=H.T,r=ie.p;try{ie.p=32>o?32:o,H.T=null,o=tu,tu=null;var i=Vt,c=so;if(Ce=0,La=Vt=null,so=0,(se&6)!==0)throw Error(p(331));var d=se;if(se|=4,Sf(i.current),vf(i,i.current,c,o),se=d,Rr(0,!1),ht&&typeof ht.onPostCommitFiberRoot=="function")try{ht.onPostCommitFiberRoot(Kn,i)}catch{}return!0}finally{ie.p=r,H.T=a,Nf(e,t)}}function Lf(e,t,o){t=_t(o,t),t=Cc(e.stateNode,t,2),e=Ia(e,t,2),e!==null&&(mi(e,2),ko(e))}function ue(e,t,o){if(e.tag===3)Lf(e,e,o);else for(;t!==null;){if(t.tag===3){Lf(t,e,o);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Wo===null||!Wo.has(a))){e=_t(o,e),o=D1(2),a=Ia(t,o,2),a!==null&&(O1(o,a,t,e),mi(a,2),ko(a));break}}t=t.return}}function lu(e,t,o){var a=e.pingCache;if(a===null){a=e.pingCache=new _m;var r=new Set;a.set(t,r)}else r=a.get(t),r===void 0&&(r=new Set,a.set(t,r));r.has(o)||(Wc=!0,r.add(o),e=zm.bind(null,e,t,o),t.then(e,e))}function zm(e,t,o){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,me===e&&(te&o)===o&&((Ee===4||Ee===3&&(te&62914560)===te&&300>gt()-bs)&&(se&2)===0?wn(e,0):ms|=o,xn===te&&(xn=0)),ko(e)}function Pf(e,t){t===0&&(t=Cd()),e=ya(e,t),e!==null&&(mi(e,t),ko(e))}function Um(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),Pf(e,o)}function Nm(e,t){var o=0;switch(e.tag){case 31:case 13:var a=e.stateNode,r=e.memoizedState;r!==null&&(o=r.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(p(314))}a!==null&&a.delete(t),Pf(e,o)}function Lm(e,t){return pl(e,t)}var En=null,kn=null,cu=!1,ws=!1,uu=!1,ea=0;function ko(e){e!==kn&&e.next===null&&(kn===null?En=kn=e:kn=kn.next=e),ws=!0,cu||(cu=!0,jm())}function Rr(e,t){if(!uu&&ws){uu=!0;do for(var o=!1,a=En;a!==null;){if(!t)if(e!==0){var r=a.pendingLanes;if(r===0)var i=0;else{var c=a.suspendedLanes,d=a.pingedLanes;i=(1<<31-mt(42|e)+1)-1,i&=r&~(c&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(o=!0,Hf(a,i))}else i=te,i=hi(a,a===me?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Zn(a,i)||(o=!0,Hf(a,i));a=a.next}while(o);uu=!1}}function Pm(){jf()}function jf(){ws=cu=!1;var e=0;ea!==0&&Km()&&(e=ea);for(var t=gt(),o=null,a=En;a!==null;){var r=a.next,i=Vf(a,t);i===0?(a.next=null,o===null?En=r:o.next=r,r===null&&(kn=o)):(o=a,(e!==0||(i&3)!==0)&&(ws=!0)),a=r}Ce!==0&&Ce!==5||Rr(e,!1),ea!==0&&(ea=0)}function Vf(e,t){for(var o=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var c=31-mt(i),d=1<<c,g=r[c];g===-1?((d&o)===0||(d&a)!==0)&&(r[c]=dh(d,t)):g<=t&&(e.expiredLanes|=d),i&=~d}if(t=me,o=te,o=hi(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,o===0||e===t&&(ce===2||ce===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&fl(a),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||Zn(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(a!==null&&fl(a),hl(o)){case 2:case 8:o=Sd;break;case 32:o=di;break;case 268435456:o=Ad;break;default:o=di}return a=Bf.bind(null,e),o=pl(o,a),e.callbackPriority=t,e.callbackNode=o,t}return a!==null&&a!==null&&fl(a),e.callbackPriority=2,e.callbackNode=null,2}function Bf(e,t){if(Ce!==0&&Ce!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Cs()&&e.callbackNode!==o)return null;var a=te;return a=hi(e,e===me?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(_f(e,a,t),Vf(e,gt()),e.callbackNode!=null&&e.callbackNode===o?Bf.bind(null,e):null)}function Hf(e,t){if(Cs())return null;_f(e,t,!0)}function jm(){Qm(function(){(se&6)!==0?pl(xd,Pm):jf()})}function du(){if(ea===0){var e=wa;e===0&&(e=pi,pi<<=1,(pi&261888)===0&&(pi=256)),ea=e}return ea}function qf(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Si(e)}function Vm(e,t,o,a,r){if(t==="submit"&&o&&o.stateNode===r){var i=qf((r[st]||null).action),c=a.submitter;c&&(t=(t=c[st]||null)?qf(t.formAction):c.getAttribute("formAction"),t!==null&&(i=t,c=null));var d=new wi("action","action",null,a,r);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ea!==0){var g=new FormData(r,c);yc(o,{pending:!0,data:g,method:r.method,action:i},null,g)}}else typeof i=="function"&&(d.preventDefault(),g=new FormData(r,c),yc(o,{pending:!0,data:g,method:r.method,action:i},i,g))},currentTarget:r}]})}}for(var pu=0;pu<Ll.length;pu++){var fu=Ll[pu];Nt(fu.toLowerCase(),"on"+(fu[0].toUpperCase()+fu.slice(1)))}Nt(bp,"onAnimationEnd"),Nt(vp,"onAnimationIteration"),Nt(yp,"onAnimationStart"),Nt("dblclick","onDoubleClick"),Nt("focusin","onFocus"),Nt("focusout","onBlur"),Nt(Kh,"onTransitionRun"),Nt(Zh,"onTransitionStart"),Nt(Qh,"onTransitionCancel"),Nt(xp,"onTransitionEnd"),Za("onMouseEnter",["mouseout","mouseover"]),Za("onMouseLeave",["mouseout","mouseover"]),Za("onPointerEnter",["pointerout","pointerover"]),Za("onPointerLeave",["pointerout","pointerover"]),ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Bm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ir));function Gf(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var a=e[o],r=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var c=a.length-1;0<=c;c--){var d=a[c],g=d.instance,v=d.currentTarget;if(d=d.listener,g!==i&&r.isPropagationStopped())break e;i=d,r.currentTarget=v;try{i(r)}catch(S){ki(S)}r.currentTarget=null,i=g}else for(c=0;c<a.length;c++){if(d=a[c],g=d.instance,v=d.currentTarget,d=d.listener,g!==i&&r.isPropagationStopped())break e;i=d,r.currentTarget=v;try{i(r)}catch(S){ki(S)}r.currentTarget=null,i=g}}}}function ee(e,t){var o=t[Id];o===void 0&&(o=t[Id]=new Set);var a=e+"__bubble";o.has(a)||(Yf(t,e,2,!1),o.add(a))}function gu(e,t,o){var a=0;t&&(a|=4),Yf(o,e,a,t)}var _s="_reactListening"+Math.random().toString(36).slice(2);function Ff(e){if(!e[_s]){e[_s]=!0,zd.forEach(function(o){o!=="selectionchange"&&(Bm.has(o)||gu(o,!1,e),gu(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_s]||(t[_s]=!0,gu("selectionchange",!1,t))}}function Yf(e,t,o,a){switch(z0(t)){case 2:var r=U5;break;case 8:r=N5;break;default:r=zu}o=r.bind(null,t,o,e),r=void 0,!Tl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),a?r!==void 0?e.addEventListener(t,o,{capture:!0,passive:r}):e.addEventListener(t,o,!0):r!==void 0?e.addEventListener(t,o,{passive:r}):e.addEventListener(t,o,!1)}function hu(e,t,o,a,r){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var d=a.stateNode.containerInfo;if(d===r)break;if(c===4)for(c=a.return;c!==null;){var g=c.tag;if((g===3||g===4)&&c.stateNode.containerInfo===r)return;c=c.return}for(;d!==null;){if(c=ha(d),c===null)return;if(g=c.tag,g===5||g===6||g===26||g===27){a=i=c;continue e}d=d.parentNode}}a=a.return}Xd(function(){var v=i,S=Sl(o),R=[];e:{var m=Sp.get(e);if(m!==void 0){var x=wi,O=e;switch(e){case"keypress":if(Ti(o)===0)break e;case"keydown":case"keyup":x=Rh;break;case"focusin":O="focus",x=El;break;case"focusout":O="blur",x=El;break;case"beforeblur":case"afterblur":x=El;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Qd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Th;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Dh;break;case bp:case vp:case yp:x=Ch;break;case xp:x=Oh;break;case"scroll":case"scrollend":x=Ah;break;case"wheel":x=zh;break;case"copy":case"cut":case"paste":x=wh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Wd;break;case"submit":x=Ih;break;case"toggle":case"beforetoggle":x=Uh}var L=(t&4)!==0,X=!L&&(e==="scroll"||e==="scrollend"),b=L?m!==null?m+"Capture":null:m;L=[];for(var h=v,y;h!==null;){var k=h;if(y=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||y===null||b===null||(k=$n(h,b),k!=null&&L.push(Dr(h,k,y))),X)break;h=h.return}0<L.length&&(m=new x(m,O,null,o,S),R.push({event:m,listeners:L}))}}if((t&7)===0){e:{if(x=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",x&&o!==xl&&(O=o.relatedTarget||o.fromElement)&&(ha(O)||O[Qn]))break e;(m||x)&&(O=S.window===S?S:(x=S.ownerDocument)?x.defaultView||x.parentWindow:window,m?(x=o.relatedTarget||o.toElement,m=v,x=x?ha(x):null,x!==null&&(X=A(x),L=x.tag,x!==X||L!==5&&L!==27&&L!==6)&&(x=null)):(m=null,x=v),m!==x&&(L=Qd,k="onMouseLeave",b="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(L=Wd,k="onPointerLeave",b="onPointerEnter",h="pointer"),X=m==null?O:Wn(m),y=x==null?O:Wn(x),O=new L(k,h+"leave",m,o,S),O.target=X,O.relatedTarget=y,k=null,ha(S)===v&&(L=new L(b,h+"enter",x,o,S),L.target=y,L.relatedTarget=X,k=L),X=k,L=m&&x?Ne(m,x,Hm):null,m!==null&&Xf(R,O,m,L,!1),x!==null&&X!==null&&Xf(R,X,x,L,!0)))}e:{if(m=v?Wn(v):window,x=m.nodeName&&m.nodeName.toLowerCase(),x==="select"||x==="input"&&m.type==="file")var N=ip;else if(np(m))if(sp)N=Fh;else{N=qh;var oe=Hh}else x=m.nodeName,!x||x.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?v&&yl(v.elementType)&&(N=ip):N=Gh;if(N&&(N=N(e,v))){rp(R,N,o,S);break e}oe&&oe(e,m,v)}switch(oe=v?Wn(v):window,e){case"focusin":(np(oe)||oe.contentEditable==="true")&&(tn=oe,zl=v,sr=null);break;case"focusout":sr=zl=tn=null;break;case"mousedown":Ul=!0;break;case"contextmenu":case"mouseup":case"dragend":Ul=!1,hp(R,o,S);break;case"selectionchange":if(Xh)break;case"keydown":case"keyup":hp(R,o,S)}var P;if(Ml)e:{switch(e){case"compositionstart":var B="onCompositionStart";break e;case"compositionend":B="onCompositionEnd";break e;case"compositionupdate":B="onCompositionUpdate";break e}B=void 0}else en?op(e,o)&&(B="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(B="onCompositionStart");B&&($d&&o.locale!=="ko"&&(en||B!=="onCompositionStart"?B==="onCompositionEnd"&&en&&(P=Kd()):(Lo=S,Cl="value"in Lo?Lo.value:Lo.textContent,en=!0)),oe=Es(v,B),0<oe.length&&(B=new Jd(B,e,null,o,S),R.push({event:B,listeners:oe}),P?B.data=P:(P=ap(o),P!==null&&(B.data=P)))),(P=Lh?Ph(e,o):jh(e,o))&&(B=Es(v,"onBeforeInput"),0<B.length&&(oe=new Jd("onBeforeInput","beforeinput",null,o,S),R.push({event:oe,listeners:B}),oe.data=P)),Vm(R,e,v,o,S)}Gf(R,t)})}function Dr(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Es(e,t){for(var o=t+"Capture",a=[];e!==null;){var r=e,i=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||i===null||(r=$n(e,o),r!=null&&a.unshift(Dr(e,r,i)),r=$n(e,t),r!=null&&a.push(Dr(e,r,i))),e.tag===3)return a;e=e.return}return[]}function Hm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Xf(e,t,o,a,r){for(var i=t._reactName,c=[];o!==null&&o!==a;){var d=o,g=d.alternate,v=d.stateNode;if(d=d.tag,g!==null&&g===a)break;d!==5&&d!==26&&d!==27||v===null||(g=v,r?(v=$n(o,i),v!=null&&c.unshift(Dr(o,v,g))):r||(v=$n(o,i),v!=null&&c.push(Dr(o,v,g)))),o=o.return}c.length!==0&&e.push({event:t,listeners:c})}var qm=/\r\n?/g,Gm=/\u0000|\uFFFD/g;function Kf(e){return(typeof e=="string"?e:""+e).replace(qm,`
|
|
9
|
-
`).replace(Gm,"")}function Zf(e,t){return t=Kf(t),Kf(e)===t}function de(e,t,o,a,r,i){switch(o){case"children":if(typeof a=="string")t==="body"||t==="textarea"&&a===""||Ja(e,a);else if(typeof a=="number"||typeof a=="bigint")t!=="body"&&Ja(e,""+a);else return;break;case"className":xi(e,"class",a);break;case"tabIndex":xi(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":xi(e,o,a);break;case"style":Fd(e,a,i);return;case"data":if(t!=="object"){xi(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(o);break}a=Si(a),e.setAttribute(o,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(o==="formAction"?(t!=="input"&&de(e,t,"name",r.name,r,null),de(e,t,"formEncType",r.formEncType,r,null),de(e,t,"formMethod",r.formMethod,r,null),de(e,t,"formTarget",r.formTarget,r,null)):(de(e,t,"encType",r.encType,r,null),de(e,t,"method",r.method,r,null),de(e,t,"target",r.target,r,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(o);break}a=Si(a),e.setAttribute(o,a);break;case"onClick":a!=null&&(e.onclick=Wt);return;case"onScroll":a!=null&&ee("scroll",e);return;case"onScrollEnd":a!=null&&ee("scrollend",e);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(p(61));if(o=a.__html,o!=null){if(r.children!=null)throw Error(p(60));i?.__html!==o&&(e.innerHTML=o)}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}o=Si(a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,a):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":a===!0?e.setAttribute(o,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,a):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(o,a):e.removeAttribute(o);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(o):e.setAttribute(o,a);break;case"popover":ee("beforetoggle",e),ee("toggle",e),yi(e,"popover",a);break;case"xlinkActuate":ho(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ho(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ho(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ho(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ho(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ho(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ho(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ho(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ho(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":yi(e,"is",a);break;case"innerText":case"textContent":return;default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")o=xh.get(o)||o,yi(e,o,a);else return}re=!0}function mu(e,t,o,a,r,i){switch(o){case"style":Fd(e,a,i);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(p(61));if(o=a.__html,o!=null){if(r.children!=null)throw Error(p(60));i?.__html!==o&&(e.innerHTML=o)}}break;case"children":if(typeof a=="string")Ja(e,a);else if(typeof a=="number"||typeof a=="bigint")Ja(e,""+a);else return;break;case"onScroll":a!=null&&ee("scroll",e);return;case"onScrollEnd":a!=null&&ee("scrollend",e);return;case"onClick":a!=null&&(e.onclick=Wt);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Ud.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(r=o.endsWith("Capture"),i=o.slice(2,r?o.length-7:void 0),t=e[st]||null,t=t!=null?t[o]:null,typeof t=="function"&&e.removeEventListener(i,t,r),typeof a=="function")){typeof t!="function"&&t!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(i,a,r);break e}re=!0,o in e?e[o]=a:a===!0?e.setAttribute(o,""):yi(e,o,a)}return}re=!0}function Ze(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ee("error",e),ee("load",e);var a=!1,r=!1,i;for(i in o)if(o.hasOwnProperty(i)){var c=o[i];if(c!=null)switch(i){case"src":a=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(p(137,t));default:de(e,t,i,c,o,null)}}r&&de(e,t,"srcSet",o.srcSet,o,null),a&&de(e,t,"src",o.src,o,null);return;case"input":ee("invalid",e);var d=i=c=r=null,g=null,v=null;for(a in o)if(o.hasOwnProperty(a)){var S=o[a];if(S!=null)switch(a){case"name":r=S;break;case"type":c=S;break;case"checked":g=S;break;case"defaultChecked":v=S;break;case"value":i=S;break;case"defaultValue":d=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(p(137,t));break;default:de(e,t,a,S,o,null)}}Bd(e,i,d,g,v,c,r,!1);return;case"select":ee("invalid",e),a=c=i=null;for(r in o)if(o.hasOwnProperty(r)&&(d=o[r],d!=null))switch(r){case"value":i=d;break;case"defaultValue":c=d;break;case"multiple":a=d;default:de(e,t,r,d,o,null)}t=i,o=c,e.multiple=!!a,t!=null?Qa(e,!!a,t,!1):o!=null&&Qa(e,!!a,o,!0);return;case"textarea":ee("invalid",e),i=r=a=null;for(c in o)if(o.hasOwnProperty(c)&&(d=o[c],d!=null))switch(c){case"value":a=d;break;case"defaultValue":r=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(p(91));break;default:de(e,t,c,d,o,null)}qd(e,a,r,i);return;case"option":for(g in o)o.hasOwnProperty(g)&&(a=o[g],a!=null)&&(g==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":de(e,t,g,a,o,null));return;case"dialog":ee("beforetoggle",e),ee("toggle",e),ee("cancel",e),ee("close",e);break;case"iframe":case"object":ee("load",e);break;case"video":case"audio":for(a=0;a<Ir.length;a++)ee(Ir[a],e);break;case"image":ee("error",e),ee("load",e);break;case"details":ee("toggle",e);break;case"embed":case"source":case"link":ee("error",e),ee("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(v in o)if(o.hasOwnProperty(v)&&(a=o[v],a!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(p(137,t));default:de(e,t,v,a,o,null)}return;default:if(yl(t)){for(S in o)o.hasOwnProperty(S)&&(a=o[S],a!==void 0&&mu(e,t,S,a,o,void 0));return}}for(d in o)o.hasOwnProperty(d)&&(a=o[d],a!=null&&de(e,t,d,a,o,null))}var Fm={};function Ym(e,t,o,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,i=null,c=null,d=null,g=null,v=null,S=null;for(x in o){var R=o[x];if(o.hasOwnProperty(x)&&R!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":g=R;default:a.hasOwnProperty(x)||de(e,t,x,null,a,R)}}for(var m in a){var x=a[m];if(R=o[m],a.hasOwnProperty(m)&&(x!=null||R!=null))switch(m){case"type":x!==R&&(re=!0),i=x;break;case"name":x!==R&&(re=!0),r=x;break;case"checked":x!==R&&(re=!0),v=x;break;case"defaultChecked":x!==R&&(re=!0),S=x;break;case"value":x!==R&&(re=!0),c=x;break;case"defaultValue":x!==R&&(re=!0),d=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(p(137,t));break;default:x!==R&&de(e,t,m,x,a,R)}}bl(e,c,d,g,v,S,i,r);return;case"select":x=c=d=m=null;for(i in o)if(g=o[i],o.hasOwnProperty(i)&&g!=null)switch(i){case"value":break;case"multiple":x=g;default:a.hasOwnProperty(i)||de(e,t,i,null,a,g)}for(r in a)if(i=a[r],g=o[r],a.hasOwnProperty(r)&&(i!=null||g!=null))switch(r){case"value":i!==g&&(re=!0),m=i;break;case"defaultValue":i!==g&&(re=!0),d=i;break;case"multiple":i!==g&&(re=!0),c=i;default:i!==g&&de(e,t,r,i,a,g)}t=d,o=c,a=x,m!=null?Qa(e,!!o,m,!1):!!a!=!!o&&(t!=null?Qa(e,!!o,t,!0):Qa(e,!!o,o?[]:"",!1));return;case"textarea":x=m=null;for(d in o)if(r=o[d],o.hasOwnProperty(d)&&r!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:de(e,t,d,null,a,r)}for(c in a)if(r=a[c],i=o[c],a.hasOwnProperty(c)&&(r!=null||i!=null))switch(c){case"value":r!==i&&(re=!0),m=r;break;case"defaultValue":r!==i&&(re=!0),x=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(p(91));break;default:r!==i&&de(e,t,c,r,a,i)}Hd(e,m,x);return;case"option":for(var O in o)m=o[O],o.hasOwnProperty(O)&&m!=null&&!a.hasOwnProperty(O)&&(O==="selected"?e.selected=!1:de(e,t,O,null,a,m));for(g in a)m=a[g],x=o[g],a.hasOwnProperty(g)&&m!==x&&(m!=null||x!=null)&&(g==="selected"?(m!==x&&(re=!0),e.selected=m&&typeof m!="function"&&typeof m!="symbol"):de(e,t,g,m,a,x));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var L in o)m=o[L],o.hasOwnProperty(L)&&m!=null&&!a.hasOwnProperty(L)&&de(e,t,L,null,a,m);for(v in a)if(m=a[v],x=o[v],a.hasOwnProperty(v)&&m!==x&&(m!=null||x!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(p(137,t));break;default:de(e,t,v,m,a,x)}return;default:if(yl(t)){for(var X in o)m=o[X],o.hasOwnProperty(X)&&m!==void 0&&!a.hasOwnProperty(X)&&mu(e,t,X,void 0,a,m);for(S in a)m=a[S],x=o[S],!a.hasOwnProperty(S)||m===x||m===void 0&&x===void 0||mu(e,t,S,m,a,x);return}}for(var b in o)m=o[b],o.hasOwnProperty(b)&&m!=null&&!a.hasOwnProperty(b)&&de(e,t,b,null,a,m);for(R in a)m=a[R],x=o[R],!a.hasOwnProperty(R)||m===x||m==null&&x==null||de(e,t,R,m,a,x)}function Qf(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Xm(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),a=0;a<o.length;a++){var r=o[a],i=r.transferSize,c=r.initiatorType,d=r.duration;if(i&&d&&Qf(c)){for(c=0,d=r.responseEnd,a+=1;a<o.length;a++){var g=o[a],v=g.startTime;if(v>d)break;var S=g.transferSize,R=g.initiatorType;S&&Qf(R)&&(g=g.responseEnd,c+=S*(g<d?1:(d-v)/(g-v)))}if(--a,t+=8*(i+c)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var bu=null,vu=null;function Or(e){return e.nodeType===9?e:e.ownerDocument}function Jf(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Wf(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function $f(e,t,o,a){return o=Or(o).createElement(e),o[Ge]=a,o[st]=t,Ze(o,e,t),Le(o),o}function yu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xu=null;function Km(){var e=window.event;return e&&e.type==="popstate"?e===xu?!1:(xu=e,!0):(xu=null,!1)}var Su=typeof setTimeout=="function"?setTimeout:void 0,Zm=typeof clearTimeout=="function"?clearTimeout:void 0,e0=typeof Promise=="function"?Promise:void 0,t0=typeof requestAnimationFrame=="function"?requestAnimationFrame:Su,Qm=typeof queueMicrotask=="function"?queueMicrotask:typeof e0<"u"?function(e){return e0.resolve(null).then(e).catch(Jm)}:Su;function Jm(e){setTimeout(function(){throw e})}function ta(e){return e==="head"}function o0(e,t){var o=t,a=0;do{var r=o.nextSibling;if(e.removeChild(o),r&&r.nodeType===8)if(o=r.data,o==="/$"||o==="/&"){if(a===0){e.removeChild(r),Un(t);return}a--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")a++;else if(o==="html")Mu(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Mu(o);for(var i=o.firstChild;i;){var c=i.nextSibling,d=i.nodeName;i[Jn]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||o.removeChild(i),i=c}}else o==="body"&&Mu(e.ownerDocument.body);o=r}while(o);Un(t)}function a0(e,t){var o=e;e=0;do{var a=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),a&&a.nodeType===8)if(o=a.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=a}while(o)}function n0(e,t,o){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,o!=null&&(e.style.viewTransitionClass=o),o=getComputedStyle(e),o.display==="inline"){if(t=e.getClientRects(),t.length===1)var a=1;else for(var r=a=0;r<t.length;r++){var i=t[r];0<i.width&&0<i.height&&a++}a===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+o.paddingTop,e.marginBottom="-"+o.paddingBottom)}}function r0(e,t){e=e.style,t=t.style;var o=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=o==null||typeof o=="boolean"?"":(""+o).trim(),o=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=o==null||typeof o=="boolean"?"":(""+o).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(o=t.display,e.display=o==null||typeof o=="boolean"?"":o,o=t.margin,o!=null?e.margin=o:(o=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=o==null||typeof o=="boolean"?"":o,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function i0(e,t,o){return o=o.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=o.innerHeight&&e.left<=o.innerWidth}}function Au(e){return i0(e.getBoundingClientRect(),getComputedStyle(e),e)}function Wm(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var o=getComputedStyle(e);return i0(t,o,e)}function $m(e){return e.documentElement.clientHeight}function e5(e){this.addEventListener("load",e),this.addEventListener("error",e)}function t5(e,t,o,a,r,i,c,d,g){var v=t.nodeType===9?t:t.ownerDocument;try{var S=v.startViewTransition({update:function(){var m=v.defaultView,x=m.navigation&&m.navigation.transition,O=v.fonts.status;a();var L=[];if(O==="loaded"&&($m(v),v.fonts.status==="loading"&&L.push(v.fonts.ready)),O=L.length,e!==null)for(var X=e.suspenseyImages,b=0,h=0;h<X.length;h++){var y=X[h];if(!y.complete){var k=y.getBoundingClientRect();if(0<k.bottom&&0<k.right&&k.top<m.innerHeight&&k.left<m.innerWidth){if(b+=E0(y),b>Rs){L.length=O;break}y=new Promise(e5.bind(y)),L.push(y)}}}if(0<L.length)return m=Promise.race([Promise.all(L),new Promise(function(N){return setTimeout(N,500)})]).then(r,r),(x?Promise.allSettled([x.finished,m]):m).then(i,i);if(r(),x)return x.finished.then(i,i);i()},types:o});v.__reactViewTransition=S;var R=[];return S.ready.then(function(){for(var m=v.documentElement.getAnimations({subtree:!0}),x=0;x<m.length;x++){var O=m[x],L=O.effect,X=L.pseudoElement;if(X!=null&&X.startsWith("::view-transition")){R.push(O),O=L.getKeyframes();for(var b=X=void 0,h=!0,y=0;y<O.length;y++){var k=O[y],N=k.width;if(X===void 0)X=N;else if(X!==N){h=!1;break}if(N=k.height,b===void 0)b=N;else if(b!==N){h=!1;break}delete k.width,delete k.height,k.transform==="none"&&delete k.transform}h&&X!==void 0&&b!==void 0&&(L.setKeyframes(O),h=getComputedStyle(L.target,L.pseudoElement),h.width!==X||h.height!==b)&&(h=O[0],h.width=X,h.height=b,h=O[O.length-1],h.width=X,h.height=b,L.setKeyframes(O))}}c()},function(m){v.__reactViewTransition===S&&(v.__reactViewTransition=null);try{typeof m=="object"&&m!==null&&m.name==="InvalidStateError"&&(m.message==="View transition was skipped because document visibility state is hidden."||m.message==="Skipping view transition because document visibility state has become hidden."||m.message==="Skipping view transition because viewport size changed."||m.message==="Transition was aborted because of invalid state")&&(m=null),m!==null&&g(m)}finally{a(),r(),c()}}),S.finished.finally(function(){for(var m=0;m<R.length;m++)R[m].cancel();v.__reactViewTransition===S&&(v.__reactViewTransition=null),d()}),S}catch{return a(),r(),c(),null}}function Pa(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}Pa.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:G({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Pa.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,o=e.getAnimations({subtree:!0}),a=[],r=0;r<o.length;r++){var i=o[r].effect;i!==null&&i.target===e&&i.pseudoElement===t&&a.push(o[r])}return a},Pa.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function s0(e){return{name:e,group:new Pa("group",e),imagePair:new Pa("image-pair",e),old:new Pa("old",e),new:new Pa("new",e)}}function Tt(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Tt.prototype.addEventListener=function(e,t,o){var a=null,r=null;if(!(o!=null&&typeof o!="boolean"&&(a=o.signal||null,a!==null&&a.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(c0(i,e,t,o)===-1){var c=this,d=t;o!=null&&typeof o!="boolean"&&o.once===!0&&(d=function(g){c.removeEventListener(e,t,o),typeof t=="function"?t.call(this,g):t.handleEvent(g)}),a!==null&&(r=c.removeEventListener.bind(c,e,t,o),a.addEventListener("abort",r,{once:!0}),r=a.removeEventListener.bind(a,"abort",r)),a=Mn(o),i.push({type:e,listener:t,optionsOrUseCapture:o,attachedListener:d,cleanup:r}),_(this._fragmentFiber.child,!1,o5,e,d,a)}this._eventListeners=i}};function o5(e,t,o,a){return V(e).addEventListener(t,o,a),!1}Tt.prototype.removeEventListener=function(e,t,o){var a=this._eventListeners;if(a!==null&&(t=c0(a,e,t,o),t!==-1)){var r=a[t];o=r.attachedListener;var i=r.cleanup;r=Mn(r.optionsOrUseCapture),_(this._fragmentFiber.child,!1,a5,e,o,r),a.splice(t,1),i!==null&&i()}};function a5(e,t,o,a){return V(e).removeEventListener(t,o,a),!1}function Mn(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function l0(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function c0(e,t,o,a){if(e.length===0)return-1;a=l0(a);for(var r=0;r<e.length;r++){var i=e[r];if(i.type===t&&i.listener===o&&l0(i.optionsOrUseCapture)===a)return r}return-1}Tt.prototype.dispatchEvent=function(e){var t=D(this._fragmentFiber);if(t===null)return!0;t=V(t);var o=this._eventListeners;if(o!==null&&0<o.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(o)for(var r=0;r<o.length;r++){var i=o[r];a.addEventListener(i.type,i.attachedListener,Mn(i.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),o)for(r=0;r<o.length;r++)i=o[r],a.removeEventListener(i.type,i.attachedListener,Mn(i.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)},Tt.prototype.focus=function(e){_(this._fragmentFiber.child,!0,u0,e,void 0,void 0)};function u0(e,t){return e.tag===6?!1:(e=V(e),h5(e,t))}Tt.prototype.focusLast=function(e){var t=[];_(this._fragmentFiber.child,!0,Tu,t,void 0,void 0);for(var o=t.length-1;0<=o&&!u0(t[o],e);o--);};function Tu(e,t){return t.push(e),!1}Tt.prototype.blur=function(){var e=D(this._fragmentFiber);e!==null&&(e=V(e),e=Or(e).activeElement,e!==null&&_(this._fragmentFiber.child,!1,n5,e,void 0,void 0))};function n5(e,t){return e.tag===6?!1:(e=V(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Tt.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),_(this._fragmentFiber.child,!1,r5,e,void 0,void 0)};function r5(e,t){return e.tag===6||(e=V(e),t.observe(e)),!1}Tt.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),_(this._fragmentFiber.child,!1,i5,e,void 0,void 0);for(var o=t=0;o<Bt.length;o++){var a=Bt[o];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):Bt[t++]=a}Bt.length=t}};function i5(e,t){return e.tag===6||(e=V(e),t.unobserve(e)),!1}var Bt=[],Cu=!1;function s5(e,t,o){Bt.push({fragmentInstance:e,observer:t,instance:o}),Cu||(Cu=!0,m5(function(){Cu=!1;var a=Bt;Bt=[];for(var r=0;r<a.length;r++){var i=a[r];i.observer.unobserve(i.instance)}}))}Tt.prototype.getClientRects=function(){var e=[];return _(this._fragmentFiber.child,!1,l5,e,void 0,void 0),e};function l5(e,t){if(e.tag===6){e=e.stateNode;var o=e.ownerDocument.createRange();o.selectNodeContents(e),t.push.apply(t,o.getClientRects())}else e=V(e),t.push.apply(t,e.getClientRects());return!1}Tt.prototype.getRootNode=function(e){var t=D(this._fragmentFiber);return t===null?this:V(t).getRootNode(e)},Tt.prototype.compareDocumentPosition=function(e){var t=D(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var o=[];_(this._fragmentFiber.child,!1,Tu,o,void 0,void 0);var a=V(t);if(o.length===0){if(o=a,j(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(o=t)}t=this._fragmentFiber;var r=a=o.compareDocumentPosition(e);return o===e?r=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(o=ae(t)[1],o===null?r=Node.DOCUMENT_POSITION_PRECEDING:(e=V(o).compareDocumentPosition(e),r=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),r|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=V(o[0]),r=V(o[o.length-1]);var i=j(this._fragmentFiber)?t.parentElement:a;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY;var c=t.compareDocumentPosition(e),d=r.compareDocumentPosition(e),g=c&Node.DOCUMENT_POSITION_CONTAINED_BY||d&Node.DOCUMENT_POSITION_CONTAINED_BY;return d=a&&i&&c&Node.DOCUMENT_POSITION_FOLLOWING&&d&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||i&&r===e||g||d?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!i&&r===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:c,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||c5(t,this._fragmentFiber,o[0],o[o.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function c5(e,t,o,a,r){var i=ha(r);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(o=!!i)e:{for(;i!==null;){if(i.tag===7&&(i===t||i.alternate===t)){o=!0;break e}i=i.return}o=!1}return o}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(i===null)return i=r.ownerDocument,r===i||r===i.documentElement||r===i.body;e:{for(i=t,t=D(t);i!==null;){if(!(i.tag!==5&&i.tag!==3&&i.tag!==27||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===o)&&(t=Ne(o,i,ze),t===null?t=!1:(_(t,!0,Be,i,o),i=be,be=null,t=i!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!i)&&!(t=i===a)&&(t=Ne(a,i,ze),t===null?t=!1:(_(t,!0,Zt,i,a),i=be,$e=be=null,t=i!==null)),t):!1}function d0(e,t){var o=e.ownerDocument.createRange();o.selectNodeContents(e),e=o.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Tt.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(p(566));var t=[];_(this._fragmentFiber.child,!1,Tu,t,void 0,void 0);var o=e!==!1;if(t.length===0){var a=ae(this._fragmentFiber);if(a=o?a[1]||a[0]||D(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=V(a),d0(e,o);return}if(a=V(a),a.nodeType!==9){if(a.nodeType===11){o="host"in a?a.host:null,o!==null&&o.scrollIntoView(e);return}a.scrollIntoView(e)}}for(a=o?t.length-1:0;a!==(o?-1:t.length);){var r=t[a];r.tag===6?(r=V(r),d0(r,o)):V(r).scrollIntoView(e),a+=o?-1:1}};function u5(e,t){return e=V(e),p0(e,t),!1}function p0(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function f0(e,t){var o=t._eventListeners;if(o!==null)for(var a=0;a<o.length;a++){var r=o[a];e.addEventListener(r.type,r.attachedListener,Mn(r.optionsOrUseCapture))}e.nodeType!==3&&(o=t._observers,o!==null&&o.forEach(function(i){for(var c=0,d=0;d<Bt.length;d++){var g=Bt[d];(g.fragmentInstance!==t||g.observer!==i||g.instance!==e)&&(Bt[c++]=g)}Bt.length=c,i.observe(e)}),p0(e,t))}function d5(e,t){var o=t._eventListeners;if(o!==null)for(var a=0;a<o.length;a++){var r=o[a];e.removeEventListener(r.type,r.attachedListener,Mn(r.optionsOrUseCapture))}e.nodeType!==3&&(o=t._observers,o!==null&&o.forEach(function(i){typeof i.rootMargin=="string"?s5(t,i,e):i.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function wu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":wu(o),vi(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function p5(e,t,o,a){for(;e.nodeType===1;){var r=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Jn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Dt(e.nextSibling),e===null)break}return null}function f5(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Dt(e.nextSibling),e===null))return null;return e}function g0(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Dt(e.nextSibling),e===null))return null;return e}function _u(e){return e.data==="$?"||e.data==="$~"}function Eu(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function g5(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var a=function(){t(),o.removeEventListener("DOMContentLoaded",a)};o.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Dt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var ku=null;function h0(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Dt(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function m0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function h5(e,t){function o(){a=!0}if(e.ownerDocument.activeElement===e)return!0;var a=!1;try{e.ownerDocument.addEventListener("focus",o,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",o,!0)}return a}function m5(e){t0(function(){t0(function(t){return e(t)})})}function b0(e,t,o){switch(t=Or(o),e){case"html":if(e=t.documentElement,!e)throw Error(p(452));return e;case"head":if(e=t.head,!e)throw Error(p(453));return e;case"body":if(e=t.body,!e)throw Error(p(454));return e;default:throw Error(p(451))}}function v0(e,t,o){for(var a in o){var r=o[a];o.hasOwnProperty(a)&&r!=null&&de(e,t,a,null,Fm,r)}o.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===Wt&&(e.onclick=null),vi(e)}function Mu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);vi(e)}var Ot=new Map,y0=new Set;function zr(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Mo=ie.d;ie.d={f:b5,r:v5,D:y5,C:x5,L:S5,m:A5,X:C5,S:T5,M:w5};function b5(){var e=Mo.f(),t=Ss();return e||t}function v5(e){var t=Xa(e);t!==null&&t.tag===5&&t.type==="form"?S1(t):Mo.r(e)}var Rn=typeof document>"u"?null:document;function x0(e,t,o){var a=Rn;if(a&&typeof t=="string"&&t){var r=Ct(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof o=="string"&&(r+='[crossorigin="'+o+'"]'),y0.has(r)||(y0.add(r),e={rel:e,crossOrigin:o,href:t},a.querySelector(r)===null&&(t=a.createElement("link"),Ze(t,"link",e),Le(t),a.head.appendChild(t)))}}function y5(e){Mo.D(e),x0("dns-prefetch",e,null)}function x5(e,t){Mo.C(e,t),x0("preconnect",e,t)}function S5(e,t,o){Mo.L(e,t,o);var a=Rn;if(a&&e&&t){var r='link[rel="preload"][as="'+Ct(t)+'"]';t==="image"&&o&&o.imageSrcSet?(r+='[imagesrcset="'+Ct(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(r+='[imagesizes="'+Ct(o.imageSizes)+'"]')):r+='[href="'+Ct(e)+'"]';var i=r;switch(t){case"style":i=In(e);break;case"script":i=Dn(e)}if(!(Ot.has(i)||(e=G({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Ot.set(i,e),a.querySelector(r)!==null||t==="style"&&a.querySelector(Ur(i))||t==="script"&&a.querySelector(Nr(i))))){var c=a.createElement("link");Ze(c,"link",e),t==="style"&&(c[bi]=!0,c.onload=c.onerror=function(){Od(c)}),Le(c),a.head.appendChild(c)}}}function A5(e,t){Mo.m(e,t);var o=Rn;if(o&&e){var a=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Ct(a)+'"][href="'+Ct(e)+'"]',i=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Dn(e)}if(!Ot.has(i)&&(e=G({rel:"modulepreload",href:e},t),Ot.set(i,e),o.querySelector(r)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Nr(i)))return}a=o.createElement("link"),Ze(a,"link",e),Le(a),o.head.appendChild(a)}}}function T5(e,t,o){Mo.S(e,t,o);var a=Rn;if(a&&e){var r=Ka(a).hoistableStyles,i=In(e);t=t||"default";var c=r.get(i);if(!c){var d={loading:0,preload:null};if(c=a.querySelector(Ur(i)))d.loading=5;else{e=G({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Ot.get(i))&&Ru(e,o);var g=c=a.createElement("link");Le(g),Ze(g,"link",e),g._p=new Promise(function(v,S){g.onload=v,g.onerror=S}),g.addEventListener("load",function(){d.loading|=1}),g.addEventListener("error",function(){d.loading|=2}),d.loading|=4,ks(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:d},r.set(i,c)}}}function C5(e,t){Mo.X(e,t);var o=Rn;if(o&&e){var a=Ka(o).hoistableScripts,r=Dn(e),i=a.get(r);i||(i=o.querySelector(Nr(r)),i||(e=G({src:e,async:!0},t),(t=Ot.get(r))&&Iu(e,t),i=o.createElement("script"),Le(i),Ze(i,"link",e),o.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(r,i))}}function w5(e,t){Mo.M(e,t);var o=Rn;if(o&&e){var a=Ka(o).hoistableScripts,r=Dn(e),i=a.get(r);i||(i=o.querySelector(Nr(r)),i||(e=G({src:e,async:!0,type:"module"},t),(t=Ot.get(r))&&Iu(e,t),i=o.createElement("script"),Le(i),Ze(i,"link",e),o.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(r,i))}}function S0(e,t,o,a){var r=(r=zo.current)?zr(r):null;if(!r)throw Error(p(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(o=In(o.href),t=Ka(r).hoistableStyles,a=t.get(o),a||(a={type:"style",instance:null,count:0,state:null},t.set(o,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=In(o.href);var i=Ka(r).hoistableStyles,c=i.get(e);if(c||(r=r.ownerDocument||r,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,c),(i=r.querySelector(Ur(e)))?i._p||(c.instance=i,c.state.loading=5):(i=Ot.get(e),i||(i={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Ot.set(e,i)),_5(r,e,i,c.state))),t&&a===null)throw Error(p(528,""));return c}if(t&&a!==null)throw Error(p(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(o=Dn(o),t=Ka(r).hoistableScripts,a=t.get(o),a||(a={type:"script",instance:null,count:0,state:null},t.set(o,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(p(444,e))}}function In(e){return'href="'+Ct(e)+'"'}function Ur(e){return'link[rel="stylesheet"]['+e+"]"}function A0(e){return G({},e,{"data-precedence":e.precedence,precedence:null})}function _5(e,t,o,a){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[bi]!==!0){a.loading=1;return}}else t=e.createElement("link"),t[bi]=!0,t.onload=t.onerror=Od.bind(null,t),Ze(t,"link",o),Le(t),e.head.appendChild(t);a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2})}function Dn(e){return'[src="'+Ct(e)+'"]'}function Nr(e){return"script[async]"+e}function T0(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ct(o.href)+'"]');if(a)return t.instance=a,Le(a),a;var r=G({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Le(a),Ze(a,"style",r),ks(a,o.precedence,e),t.instance=a;case"stylesheet":r=In(o.href);var i=e.querySelector(Ur(r));if(i)return t.state.loading|=4,t.instance=i,Le(i),i;a=A0(o),(r=Ot.get(r))&&Ru(a,r),i=(e.ownerDocument||e).createElement("link"),Le(i);var c=i;return c._p=new Promise(function(d,g){c.onload=d,c.onerror=g}),Ze(i,"link",a),t.state.loading|=4,ks(i,o.precedence,e),t.instance=i;case"script":return i=Dn(o.src),(r=e.querySelector(Nr(i)))?(t.instance=r,Le(r),r):(a=o,(r=Ot.get(i))&&(a=G({},o),Iu(a,r)),e=e.ownerDocument||e,r=e.createElement("script"),Le(r),Ze(r,"link",a),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(p(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,ks(a,o.precedence,e));return t.instance}function ks(e,t,o){for(var a=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,i=r,c=0;c<a.length;c++){var d=a[c];if(d.dataset.precedence===t)i=d;else if(i!==r)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function Ru(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Iu(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Ms=null;function C0(e,t,o){if(Ms===null){var a=new Map,r=Ms=new Map;r.set(o,a)}else r=Ms,a=r.get(o),a||(a=new Map,r.set(o,a));if(a.has(e))return a;for(a.set(e,null),o=o.getElementsByTagName(e),r=0;r<o.length;r++){var i=o[r];if(!(i[Jn]||i[Ge]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var c=i.getAttribute(t)||"";c=e+c;var d=a.get(c);d?d.push(i):a.set(c,[i])}}return a}function Du(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function E5(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function w0(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function _0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function E0(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function k0(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=E0(t),e.suspenseyImages.push(t)),e=R5.bind(e),t.decode().then(e,e))}function k5(e,t,o,a){if(o.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var r=In(a.href),i=t.querySelector(Ur(r));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Lr.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=i,Le(i);return}i=t.ownerDocument||t,a=A0(a),(r=Ot.get(r))&&Ru(a,r),i=i.createElement("link"),Le(i);var c=i;c._p=new Promise(function(d,g){c.onload=d,c.onerror=g}),Ze(i,"link",a),o.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Lr.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var Rs=0;function M5(e,t){return e.stylesheets&&e.count===0&&Ds(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var a=setTimeout(function(){if(e.stylesheets&&Ds(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Rs===0&&(Rs=62500*Xm());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ds(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Rs?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(r)}}:null}function M0(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Ds(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Lr(){this.count--,M0(this)}function R5(){this.imgCount--,M0(this)}var Is=null;function Ds(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Is=new Map,t.forEach(I5,e),Is=null,Lr.call(e))}function I5(e,t){if(!(t.state.loading&4)){var o=Is.get(e);if(o)var a=o.get(null);else{o=new Map,Is.set(e,o);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<r.length;i++){var c=r[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(o.set(c.dataset.precedence,c),a=c)}a&&o.set(null,a)}r=t.instance,c=r.getAttribute("data-precedence"),i=o.get(c)||a,i===a&&o.set(null,r),o.set(c,r),this.count++,a=Lr.bind(this),r.addEventListener("load",a),r.addEventListener("error",a),i?i.parentNode.insertBefore(r,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var On={$$typeof:z,Provider:null,Consumer:null,_currentValue:fa,_currentValue2:fa,_threadCount:0};function D5(e,t,o,a,r,i,c,d,g){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gl(0),this.hiddenUpdates=gl(null),this.identifierPrefix=a,this.onUncaughtError=r,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.transitionTypes=null,this.incompleteTransitions=new Map}function O5(e,t,o,a,r,i,c,d,g,v,S,R){return e=new D5(e,t,o,c,g,v,S,R,d),t=1,i===!0&&(t|=24),i=lt(3,null,null,t),e.current=i,i.stateNode=e,t=Kl(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:a,isDehydrated:o,cache:t},Wl(i),e}function z5(e){return e?(e=nn,e):nn}function R0(e,t,o,a,r,i){r=z5(r),a.context===null?a.context=r:a.pendingContext=r,a=Ra(t),a.payload={element:o},i=i===void 0?null:i,i!==null&&(a.callback=i),o=Ia(e,a,t),o!==null&&(pt(o,e,t),gr(o,e,t))}function I0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Ou(e,t){I0(e,t),(e=e.alternate)&&I0(e,t)}function D0(e){if(e.tag===13||e.tag===31){var t=ya(e,67108864);t!==null&&pt(t,e,67108864),Ou(e,67108864)}}function O0(e){if(e.tag===13||e.tag===31){var t=It();t=kd(t);var o=ya(e,t);o!==null&&pt(o,e,t),Ou(e,t)}}var zn=!0;function U5(e,t,o,a){var r=H.T;H.T=null;var i=ie.p;try{ie.p=2,zu(e,t,o,a)}finally{ie.p=i,H.T=r}}function N5(e,t,o,a){var r=H.T;H.T=null;var i=ie.p;try{ie.p=8,zu(e,t,o,a)}finally{ie.p=i,H.T=r}}function zu(e,t,o,a){if(zn){var r=Uu(a);if(r===null)hu(e,t,a,Os,o),U0(e,a);else if(P5(r,e,t,o,a))a.stopPropagation();else if(U0(e,a),t&4&&-1<L5.indexOf(e)){for(;r!==null;){var i=Xa(r);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=ga(i.pendingLanes);if(c!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;c;){var g=1<<31-mt(c);d.entanglements[1]|=g,c&=~g}ko(i),(se&6)===0&&(vs=gt()+500,Rr(0,!1))}}break;case 31:case 13:d=ya(i,2),d!==null&&pt(d,i,2),Ss(),Ou(i,2)}if(i=Uu(a),i===null&&hu(e,t,a,Os,o),i===r)break;r=i}r!==null&&a.stopPropagation()}else hu(e,t,a,null,o)}}function Uu(e){return e=Sl(e),Nu(e)}var Os=null;function Nu(e){if(Os=null,e=ha(e),e!==null){var t=A(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=T(t),e!==null)return e;e=null}else if(o===31){if(e=M(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Os=e,null}function z0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(nh()){case xd:return 2;case Sd:return 8;case di:case rh:return 32;case Ad:return 268435456;default:return 32}default:return 32}}var Lu=!1,oa=null,aa=null,na=null,Pr=new Map,jr=new Map,ra=[],L5="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function U0(e,t){switch(e){case"focusin":case"focusout":oa=null;break;case"dragenter":case"dragleave":aa=null;break;case"mouseover":case"mouseout":na=null;break;case"pointerover":case"pointerout":Pr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":jr.delete(t.pointerId)}}function Vr(e,t,o,a,r,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:o,eventSystemFlags:a,nativeEvent:i,targetContainers:[r]},t!==null&&(t=Xa(t),t!==null&&D0(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function P5(e,t,o,a,r){switch(t){case"focusin":return oa=Vr(oa,e,t,o,a,r),!0;case"dragenter":return aa=Vr(aa,e,t,o,a,r),!0;case"mouseover":return na=Vr(na,e,t,o,a,r),!0;case"pointerover":var i=r.pointerId;return Pr.set(i,Vr(Pr.get(i)||null,e,t,o,a,r)),!0;case"gotpointercapture":return i=r.pointerId,jr.set(i,Vr(jr.get(i)||null,e,t,o,a,r)),!0}return!1}function N0(e){var t=ha(e.target);if(t!==null){var o=A(t);if(o!==null){if(t=o.tag,t===13){if(t=T(o),t!==null){e.blockedOn=t,Rd(e.priority,function(){O0(o)});return}}else if(t===31){if(t=M(o),t!==null){e.blockedOn=t,Rd(e.priority,function(){O0(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=Uu(e.nativeEvent);if(o===null){o=e.nativeEvent;var a=new o.constructor(o.type,o);xl=a,o.target.dispatchEvent(a),xl=null}else return t=Xa(o),t!==null&&D0(t),e.blockedOn=o,!1;t.shift()}return!0}function L0(e,t,o){zs(e)&&o.delete(t)}function j5(){Lu=!1,oa!==null&&zs(oa)&&(oa=null),aa!==null&&zs(aa)&&(aa=null),na!==null&&zs(na)&&(na=null),Pr.forEach(L0),jr.forEach(L0)}function Us(e,t){e.blockedOn===t&&(e.blockedOn=null,Lu||(Lu=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,j5)))}var Ns=null;function P0(e){Ns!==e&&(Ns=e,s.unstable_scheduleCallback(s.unstable_NormalPriority,function(){Ns===e&&(Ns=null);for(var t=0;t<e.length;t+=3){var o=e[t],a=e[t+1],r=e[t+2];if(typeof a!="function"){if(Nu(a||o)===null)continue;break}var i=Xa(o);i!==null&&(e.splice(t,3),t-=3,yc(i,{pending:!0,data:r,method:o.method,action:a},a,r))}}))}function Un(e){function t(g){return Us(g,e)}oa!==null&&Us(oa,e),aa!==null&&Us(aa,e),na!==null&&Us(na,e),Pr.forEach(t),jr.forEach(t);for(var o=0;o<ra.length;o++){var a=ra[o];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ra.length&&(o=ra[0],o.blockedOn===null);)N0(o),o.blockedOn===null&&ra.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(a=0;a<o.length;a+=3){var r=o[a],i=o[a+1],c=r[st]||null;if(typeof i=="function")c||P0(o);else if(c){var d=null;if(i&&i.hasAttribute("formAction")){if(r=i,c=i[st]||null)d=c.formAction;else if(Nu(r)!==null)continue}else d=c.action;typeof d=="function"?o[a+1]=d:(o.splice(a,3),a-=3),P0(o)}}}function V5(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return r=c})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),a||setTimeout(o,20)}function o(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function Pu(e){this._internalRoot=e}ju.prototype.render=Pu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(p(409));var o=t.current;R0(o,It(),e,t,null,null)},ju.prototype.unmount=Pu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;R0(e.current,2,null,e,null,null),Ss(),t[Qn]=null}};function ju(e){this._internalRoot=e}ju.prototype.unstable_scheduleHydration=function(e){if(e){var t=Md();e={blockedOn:null,target:e,priority:t};for(var o=0;o<ra.length&&t!==0&&t<ra[o].priority;o++);ra.splice(o,0,e),o===0&&N0(e)}};var j0=l.version;if(j0!=="19.3.0")throw Error(p(527,j0,"19.3.0"));ie.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(p(188)):(e=Object.keys(e).join(","),Error(p(268,e)));return e=I(t),e=e!==null?E(e):null,e=e===null?null:e.stateNode,e};var B5={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ls=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ls.isDisabled&&Ls.supportsFiber)try{Kn=Ls.inject(B5),ht=Ls}catch{}}n.createRoot=function(e,t){if(!f(e))throw Error(p(299));var o=!1,a="",r=gm,i=hm,c=mm;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=O5(e,1,!1,null,null,o,a,null,r,i,c,V5),e[Qn]=t.current,Ff(e),new Pu(t)}})),wb=Zs(((n,s)=>{function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}l(),s.exports=Cb()})),_b=wb(),y6=(0,_b.createRoot)(document.getElementById("root")),U=q5(Cg(),1),C=ib(),Eb=1e3;function kb(){return`-${(typeof performance<"u"&&typeof performance.now=="function"?performance.now():Date.now())%Eb}ms`}function x6({message:n}){const s=(0,U.useRef)(kb());return(0,C.jsx)("div",{className:"min-h-screen bg-background flex items-center justify-center",children:(0,C.jsxs)("div",{className:"flex flex-col items-center gap-6 text-center",children:[(0,C.jsx)("img",{src:"/mcp_jam.svg",alt:"MCPJam",draggable:!1,className:"h-16 w-16"}),(0,C.jsxs)("div",{className:"flex flex-col items-center gap-6",role:"status","aria-live":"polite","aria-atomic":"true",children:[(0,C.jsx)("div",{"aria-hidden":"true",className:"animate-spin rounded-full h-12 w-12 border-4 border-gray-200 border-t-primary",style:{animationDelay:s.current}}),n?(0,C.jsx)("p",{className:"text-sm text-muted-foreground",children:n}):(0,C.jsx)("span",{className:"sr-only",children:"Loading"})]})]})})}function S6(){if(window.isElectron||window.location.pathname!=="/oauth/callback")return null;const n=Ws();if(!n||!n.get("code")&&!n.get("error")||!n.get("state")?.startsWith("electron_mcp:"))return null;const s=new URL("mcpjam://oauth/callback");s.searchParams.set("flow","mcp");for(const[l,u]of n.entries())s.searchParams.append(l,u);return s.toString()}var H0=new Set;function Mb(n,s=window.location){window.isElectron||s.replace(n)}var Rb={redirect:Mb};function A6({returnToElectronUrl:n}){return(0,U.useEffect)(()=>{H0.has(n)||(H0.add(n),Rb.redirect(n))},[n]),(0,C.jsx)("div",{className:"flex min-h-screen items-center justify-center p-4",children:(0,C.jsxs)("div",{className:"w-full max-w-md rounded-md border bg-secondary p-4",children:[(0,C.jsx)("p",{className:"text-sm font-medium",children:"Continue in MCPJam Desktop"}),(0,C.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:"MCPJam Desktop should open automatically. If you are back in the browser, please close this page and continue in MCPJam Desktop."}),(0,C.jsxs)("p",{className:"mt-3 text-xs text-muted-foreground",children:["If nothing happened,"," ",(0,C.jsx)("a",{className:"underline",href:n,children:"click here"}),"."]})]})})}function kg(n){return n==="scenario"||n==="project"||n==="score"}var Ib="Authorization was cancelled. Try again.",ad="mcp-hosted-oauth-resume",Db=6e4;function T6(n){try{localStorage.setItem(ad,JSON.stringify({...n,serverUrl:n.serverUrl??null,errorMessage:n.errorMessage??null,completedAt:Date.now()}))}catch{}}function C6(n){try{const s=localStorage.getItem(ad);if(!s)return null;const l=JSON.parse(s);return!l||typeof l!="object"||!kg(l.surface)||typeof l.serverName!="string"||typeof l.completedAt!="number"||Date.now()-l.completedAt>Db?(Vu(),null):n&&l.surface!==n?null:{surface:l.surface,serverName:l.serverName,serverUrl:typeof l.serverUrl=="string"?l.serverUrl:null,completedAt:l.completedAt,errorMessage:typeof l.errorMessage=="string"?l.errorMessage:null}}catch{return Vu(),null}}function Vu(){localStorage.removeItem(ad)}function w6(n){return n==="launching"||n==="resuming"||n==="verifying"}function _6(n,s){const l=(typeof n=="string"?n:n instanceof Error?n.message:s).replace(/\s+/g," ").trim();if(!l)return s;const u=l.replace(/^Uncaught Error:\s*/i,"").replace(/\s+at\s+(?:async\s+)?[A-Za-z0-9_$./<>-]+(?:\s+\(|$).*/s,"").trim();return u?/\b(cancelled|canceled)\b|user denied|denied the request|access_denied/i.test(u)?Ib:/missing its oauth url/i.test(u)?"This server needs additional setup before it can be authorized. Try again or contact the owner.":/could not find the access token/i.test(u)?"We couldn't finish connecting this account. Authorize again.":/could not verify access/i.test(u)?"We couldn't confirm access to this account. Authorize again.":/\b(401|403)\b|unauthorized|forbidden|authentication failed|invalid[_\s-]?token|expired token|token expired|non-200 status code|access denied/i.test(u)?"Your authorization expired or was rejected. Authorize again to continue.":/sse error|failed to fetch|network ?error|timeout|timed out|socket hang up|econn/i.test(u)?"We couldn't reach the authorization service. Try again.":/\boauth\b/i.test(u)&&/\b(error|failed|unable|could not)\b/i.test(u)?"Authorization could not be completed. Try again.":u:s}var Mg="/claude_logo.png",Rg="/claude-desktop-logo.png",Ob="/claude_code_logo.png",Ig="/openai_logo.png",zb="/mistral_logo.png",Ub="/goose_logo_dark.png",q0="/goose_logo_light.png",Dg="/cursor_logo.png",Nb="/copilot_logo.png",Lb="/github_copilot_logo_dark.png",G0="/github_copilot_logo_light.png",Og="/codex-logo.svg",Pb="/vscode_logo.svg",jb="/bedrock_logo.svg",Vb="/n8n_logo.svg",Bb="/perplexity_logo.svg",Hb="/cline_logo_dark.svg",F0="/cline_logo_light.svg",qb="/notion_logo.png",Gb="/slack_logo.png",Fb="/mcp_jam.svg",Yb="/google_logo.png",Xb=Object.defineProperty,zg=n=>{throw TypeError(n)},Kb=(n,s,l)=>s in n?Xb(n,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[s]=l,Ln=(n,s,l)=>Kb(n,typeof s!="symbol"?s+"":s,l),nd=(n,s,l)=>s.has(n)||zg("Cannot "+l),Te=(n,s,l)=>(nd(n,s,"read from private field"),l?l.call(n):s.get(n)),Yt=(n,s,l)=>s.has(n)?zg("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(n):s.set(n,l),Qu=(n,s,l,u)=>(nd(n,s,"write to private field"),u?u.call(n,l):s.set(n,l),l),Qe=(n,s,l)=>(nd(n,s,"access private method"),l),Y0={PREFERRED_FRAME_SIZE:"preferred-frame-size",INITIAL_RENDER_DATA:"initial-render-data"},Zb="mcpui.dev/ui-";function Qb(n){let s;try{s=new URL(n)}catch(l){return console.error("Error parsing URL:",l),!1}return s.protocol==="http:"||s.protocol==="https:"}function Jb(n,s){if(n.mimeType!=="text/html"&&n.mimeType!=="text/uri-list")return{error:"Resource must be of type text/html (for HTML content) or text/uri-list (for URL content)."};if(n.mimeType==="text/uri-list"){let l="";if("text"in n&&typeof n.text=="string"&&n.text.trim()!=="")l=n.text;else if("blob"in n&&typeof n.blob=="string")try{l=new TextDecoder().decode(Uint8Array.from(atob(n.blob),f=>f.charCodeAt(0)))}catch(f){return console.error("Error decoding base64 blob for URL content:",f),{error:"Error decoding URL from blob."}}else return{error:"URL resource expects a non-empty text or blob field containing the URL."};if(l.trim()==="")return{error:"URL content is empty."};const u=l.split(`
|
|
10
|
-
`).map(f=>f.trim()).filter(f=>f&&!f.startsWith("#")&&Qb(f));if(u.length===0)return{error:"No valid URLs found in uri-list content."};u.length>1&&console.warn(`Multiple URLs found in uri-list content. Using the first URL: "${u[0]}". Other URLs ignored:`,u.slice(1));const p=u[0];if(s&&s.trim()!=="")try{const f=new URL(s);if(typeof window<"u"&&f.host===window.location.host)console.error("For security, the proxy origin must not be the same as the host origin. Using original URL instead.");else return f.searchParams.set("url",p),{iframeSrc:f.toString(),iframeRenderMode:"src"}}catch(f){console.error(`Invalid proxy URL provided: "${s}". Falling back to direct URL.`,f instanceof Error?f.message:String(f))}return{iframeSrc:p,iframeRenderMode:"src"}}else if(n.mimeType==="text/html"){let l="";if("text"in n&&typeof n.text=="string")l=n.text;else if("blob"in n&&typeof n.blob=="string")try{l=new TextDecoder().decode(Uint8Array.from(atob(n.blob),u=>u.charCodeAt(0)))}catch(u){return console.error("Error decoding base64 blob for HTML content:",u),{error:"Error decoding HTML content from blob."}}else return{error:"HTML resource requires text or blob content."};if(s&&s.trim()!=="")try{const u=new URL(s);if(typeof window<"u"&&u.host===window.location.host)console.error("For security, the proxy origin must not be the same as the host origin. Using srcDoc rendering instead.");else return u.searchParams.set("contentType","rawhtml"),{iframeSrc:u.toString(),iframeRenderMode:"src",htmlString:l}}catch(u){console.error(`Invalid proxy URL provided: "${s}". Falling back to srcDoc rendering.`,u instanceof Error?u.message:String(u))}return{htmlString:l,iframeRenderMode:"srcDoc"}}else return{error:"Unsupported mimeType. Expected text/html or text/uri-list."}}function Wb(n){if("text"in n&&typeof n.text=="string"&&n.text.trim()!=="")return{code:n.text};if("blob"in n&&typeof n.blob=="string")try{return{code:new TextDecoder().decode(Uint8Array.from(atob(n.blob),s=>s.charCodeAt(0)))}}catch(s){return console.error("Error decoding base64 blob for remote DOM content:",s),{error:"Error decoding remote DOM content from blob."}}return{error:"Remote DOM resource requires non-empty text or blob content."}}function $b(n){return n._meta??{}}function ev(n){const s=$b(n),l={};return Object.entries(s).forEach(([u,p])=>{u.startsWith(Zb)&&(l[u.slice(13)]=p)}),l}var Ht={UI_MESSAGE_RECEIVED:"ui-message-received",UI_MESSAGE_RESPONSE:"ui-message-response",UI_SIZE_CHANGE:"ui-size-change",UI_LIFECYCLE_IFRAME_READY:"ui-lifecycle-iframe-ready",UI_LIFECYCLE_IFRAME_RENDER_DATA:"ui-lifecycle-iframe-render-data",UI_REQUEST_RENDER_DATA:"ui-request-render-data",UI_PROXY_IFRAME_READY:"ui-proxy-iframe-ready",UI_HTML_CONTENT:"ui-html-content"},tv={WAIT_FOR_RENDER_DATA:"waitForRenderData"},Ug=({resource:n,onUIAction:s,style:l,proxy:u,iframeRenderData:p,autoResizeIframe:f,sandboxPermissions:A,iframeProps:T})=>{const M=(0,U.useRef)(null);(0,U.useImperativeHandle)(T?.ref,()=>M.current);const{error:w,iframeSrc:I,iframeRenderMode:E,htmlString:_}=(0,U.useMemo)(()=>Jb(n,u),[n,u]),D=(0,U.useMemo)(()=>ev(n),[n]),j=D[Y0.PREFERRED_FRAME_SIZE]??["100%","100%"],ae=D[Y0.INITIAL_RENDER_DATA]??void 0,Q=(0,U.useMemo)(()=>{if(!(!p&&!ae))return{...ae,...p}},[p,ae]),V=(0,U.useMemo)(()=>{if(I&&Q){const Be=new URL(I);return Be.searchParams.set(tv.WAIT_FOR_RENDER_DATA,"true"),Be.toString()}return I},[I,Q]),be=(0,U.useCallback)(Be=>{var Zt;if(Q){const ze=Be.currentTarget.contentWindow,Ne=V?new URL(V).origin:"*";ja(Ht.UI_LIFECYCLE_IFRAME_RENDER_DATA,ze,Ne,void 0,{renderData:Q})}(Zt=T?.onLoad)==null||Zt.call(T,Be)},[Q,V,T?.onLoad]),$e=(0,U.useMemo)(()=>E==="srcDoc"?X0(A??"","allow-scripts"):X0(A??"","allow-scripts allow-same-origin"),[A,E]);return(0,U.useEffect)(()=>{async function Be(Zt){const{source:ze,origin:Ne,data:G}=Zt;if(M.current&&ze===M.current.contentWindow){if(G?.type===Ht.UI_PROXY_IFRAME_READY){E==="src"&&_&&V!=null&&V.includes("contentType=rawhtml")&&ja(Ht.UI_HTML_CONTENT,ze,Ne,void 0,{html:_});return}if(G?.type===Ht.UI_LIFECYCLE_IFRAME_READY){Q&&ja(Ht.UI_LIFECYCLE_IFRAME_RENDER_DATA,ze,Ne,void 0,{renderData:Q});return}if(G?.type===Ht.UI_REQUEST_RENDER_DATA){ja(Ht.UI_LIFECYCLE_IFRAME_RENDER_DATA,ze,Ne,G.messageId,{renderData:Q});return}if(G?.type===Ht.UI_SIZE_CHANGE){const{width:it,height:He}=G.payload;if(f&&M.current){const et=(typeof f=="boolean"||f.height)&&He,pa=(typeof f=="boolean"||f.width)&⁢et&&(M.current.style.height=`${He}px`),pa&&(M.current.style.width=`${it}px`)}return}const Io=G;if(!Io)return;if(s){const it=Io.messageId;ja(Ht.UI_MESSAGE_RECEIVED,ze,Ne,it);try{const He=await s(Io);ja(Ht.UI_MESSAGE_RESPONSE,ze,Ne,it,{response:He})}catch(He){console.error("Error handling UI action result in HTMLResourceRenderer:",He),ja(Ht.UI_MESSAGE_RESPONSE,ze,Ne,it,{error:He})}}}}return window.addEventListener("message",Be),()=>window.removeEventListener("message",Be)},[s,Q,E,_,V]),w?(0,C.jsx)("p",{className:"text-red-500",children:w}):E==="srcDoc"?_==null?w?null:(0,C.jsx)("p",{className:"text-orange-500",children:"No HTML content to display."}):(0,C.jsx)("iframe",{srcDoc:_,sandbox:$e,style:{width:j[0],height:j[1],...l},title:"MCP HTML Resource (Embedded Content)",...T,ref:M,onLoad:be}):E==="src"?V==null?w?null:(0,C.jsx)("p",{className:"text-orange-500",children:"No URL provided for HTML resource."}):(0,C.jsx)("iframe",{src:V,sandbox:$e,style:{width:j[0],height:j[1],...l},title:"MCP HTML Resource (URL)",...T,ref:M,onLoad:be}):(0,C.jsx)("p",{className:"text-gray-500",children:"Initializing HTML resource display..."})};Ug.displayName="HTMLResourceRenderer";function ja(n,s,l,u,p){const f=l&&l!=="null"?l:"*";s?.postMessage({type:n,messageId:u??void 0,payload:p},f)}function X0(n,s){return[...new Set([...n.split(" "),...s.split(" ")])].filter(Boolean).map(l=>l.trim()).join(" ")}var Ng=1,Lg=3,Pg=8,ov=9,av=0,nv=1,rv=2,iv=3,Wr=1,rd=2,id=3,Yr="~";function jg({call:n,insertChild:s,removeChild:l,updateText:u,updateProperty:p}){const f={[av]:s,[nv]:l,[rv]:u,[iv]:p};return{call:n,mutate(A){for(const[T,...M]of A)f[T](...M)}}}var sv=class{constructor({retain:n,release:s,methods:l}={}){Ln(this,"root",{id:Yr,type:ov,children:[],version:0,properties:{},attributes:{},eventListeners:{}}),Ln(this,"attached",new Map([[Yr,this.root]])),Ln(this,"subscribers",new Map),Ln(this,"parents",new Map),Ln(this,"implementations",new Map);const{attached:u,parents:p,subscribers:f}=this;this.connection=jg({call:(w,I,...E)=>{const _=this.implementations.get(w),D=_?.[I];if(typeof D!="function")throw new Error(`Node ${w} does not implement the ${I}() method`);return D(...E)},insertChild:(w,I,E)=>{const _=u.get(w),{children:D}=_,j=T(I,_);E===D.length?D.push(j):D.splice(E,0,j),_.version+=1,this.parents.set(I.id,_.id),A(_)},removeChild:(w,I)=>{const E=u.get(w),{children:_}=E,[D]=_.splice(I,1);D&&(E.version+=1,A(E),M(D))},updateProperty:(w,I,E,_=Wr)=>{const D=u.get(w);n?.(E);let j;switch(_){case Wr:j=D.properties;break;case rd:j=D.attributes;break;case id:j=D.eventListeners}const ae=j[I];j[I]=E,D.version+=1;let Q;if(I==="slot"){const V=this.parents.get(w);Q=V==null?V:u.get(V),Q&&(Q.version+=1)}A(D),Q&&A(Q),s?.(ae)},updateText:(w,I)=>{const E=u.get(w);E.data=I,E.version+=1,A(E)}}),l&&this.implement(this.root,l);function A(w){const I=f.get(w.id);if(I)for(const E of I)E(w)}function T(w,I){let E;switch(w.type){case Lg:case Pg:{const{id:_,type:D,data:j}=w;E={id:_,type:D,data:j,version:0};break}case Ng:{const{id:_,type:D,element:j,children:ae,properties:Q,attributes:V,eventListeners:be}=w;n?.(Q),n?.(be);const $e=[];E={id:_,type:D,element:j,version:0,children:$e,properties:{...Q},attributes:{...V},eventListeners:{...be}};for(const Be of ae)$e.push(T(Be,E));break}default:throw new Error(`Unknown node type: ${JSON.stringify(w)}`)}return u.set(E.id,E),p.set(E.id,I.id),E}function M(w){if(u.delete(w.id),p.delete(w.id),s&&("properties"in w&&s(w.properties),"eventListeners"in w&&s(w.eventListeners)),"children"in w)for(const I of w.children)M(I)}}get({id:n}){return this.attached.get(n)}implement({id:n},s){s==null?this.implementations.delete(n):this.implementations.set(n,s)}subscribe({id:n},s,{signal:l}={}){let u=this.subscribers.get(n);u??(u=new Set,this.subscribers.set(n,u)),u.add(s),l?.addEventListener("abort",()=>{u.delete(s),u.size===0&&this.subscribers.delete(n)})}},K0=new WeakMap,Ps=new WeakMap,Vg=new WeakMap,lv=class{constructor({root:n,retain:s,release:l,call:u,cache:p}={}){Ln(this,"attached",new Map),this.root=n??document.createDocumentFragment();const{attached:f}=this,A=new Map;this.connection=jg({call:(w,I,...E)=>{const _=w===Yr&&this.root.nodeType!==11?this.root:f.get(w);return u?u(_,I,...E):_[I](...E)},insertChild:(w,I,E)=>{const _=w===Yr?this.root:f.get(w),D=A.get(w);D&&clearTimeout(D),_.insertBefore(T(I),_.childNodes[E]||null)},removeChild:(w,I)=>{const E=(w===Yr?this.root:f.get(w)).childNodes[I];if(E.remove(),p!=null&&p.maxAge){const _=A.get(w);_&&clearTimeout(_);const D=setTimeout(()=>{M(E)},p.maxAge);A.set(w,D)}else M(E)},updateProperty:(w,I,E,_=Wr)=>{const D=f.get(w);s?.(E);const j=Ps.get(D),ae=j[I];j[I]=E,js(D,I,E,_),l?.(ae)},updateText:(w,I)=>{const E=f.get(w);E.data=I}});function T(w){const I=f.get(w.id);if(I)return I;let E;switch(w.type){case Ng:if(E=document.createElement(w.element),w.properties){Ps.set(E,w.properties);for(const _ of Object.keys(w.properties)){const D=w.properties[_];s?.(D),js(E,_,D,Wr)}}else Ps.set(E,{});if(w.attributes)for(const _ of Object.keys(w.attributes)){const D=w.attributes[_];s?.(D),js(E,_,D,rd)}if(Vg.set(E,{}),w.eventListeners)for(const _ of Object.keys(w.eventListeners)){const D=w.eventListeners[_];s?.(D),js(E,_,D,id)}for(const _ of w.children)E.appendChild(T(_));break;case Lg:E=document.createTextNode(w.data);break;case Pg:E=document.createComment(w.data);break;default:throw new Error(`Unknown node type: ${JSON.stringify(w)}`)}return K0.set(E,w.id),f.set(w.id,E),E}function M(w){const I=K0.get(w);I&&f.delete(I);const E=Ps.get(w);if(E&&l&&l(E),w instanceof Element)for(const _ of w.childNodes)M(_)}}connect(n){const s=this.root;this.root=n,s.childNodes.forEach(l=>{n.appendChild(l)})}disconnect(){if(this.root.nodeType===11)return this.root;const n=this.root,s=new DocumentFragment;return this.root=s,n.childNodes.forEach(l=>{s.appendChild(l)}),s}};function js(n,s,l,u){switch(u){case Wr:n[s]=l;break;case rd:l==null?n.removeAttribute(s):n.setAttribute(s,l);break;case id:{const p=Vg.get(n),f=p?.[s];if(f&&n.removeEventListener(s,f),l!=null){const A=T=>{var M;if(T.target!==n)return;const w=l(T.detail);(M=T.resolve)==null||M.call(T,w)};p&&(p[s]=A),n.addEventListener(s,A)}break}}}function sd(n,s){const[l,u]=(0,U.useState)(()=>{const f=s.get(n);return{id:n.id,version:f?.version,value:f,receiver:s}});let p=l.value;if(l.receiver!==s||l.id!==n.id){const f=s.get(n);p=f,u({receiver:s,id:n.id,version:f?.version,value:p})}return(0,U.useDebugValue)(p),(0,U.useEffect)(()=>{const f=new AbortController,A=()=>{f.signal.aborted||u(T=>{const{id:M,version:w,receiver:I}=T,{id:E}=n;if(I!==s||M!==E)return T;const _=s.get(n),D=_?.version;return w===D?T:{receiver:s,value:_,id:E,version:D}})};return s.subscribe(n,A,{signal:f.signal}),A(),()=>{f.abort()}},[s,n.id]),p}function cv({remote:n,receiver:s}){const l=sd(n,s);return l?(0,C.jsx)(C.Fragment,{children:l.data}):null}function Ju(n,{receiver:s,components:l}){switch(n.type){case 1:{const u=l.get(n.element);if(u==null)throw new Error(`No component found for remote element: ${n.element}`);return(0,C.jsx)(u,{element:n,receiver:s,components:l},n.id)}case 3:return(0,C.jsx)(cv,{remote:n,receiver:s},n.id);case 8:return null;default:throw new Error(`Unknown remote node type: ${String(n)}`)}}function uv(n,s){if(!n)return;const{children:l,properties:u,attributes:p,eventListeners:f}=n,A=[],T={...u,...p,children:A};if(s.eventProps)for(const[M,w]of Object.entries(s.eventProps)){const I=w?.event;if(I==null)continue;const E=f[I];E&&(T[M]=Z0(E))}else for(const[M,w]of Object.entries(f))T[`on${M[0].toUpperCase()}${M.slice(1)}`]=Z0(w);for(const M of l)if(M.type===1&&typeof M.attributes.slot=="string"){const w=M.attributes.slot,I=Ju(M,s);T[w]=T[w]?(0,C.jsxs)(C.Fragment,{children:[T[w],I]}):I}else A.push(Ju(M,s));return T}function Z0(n){return function(...s){if(s.length===1&&s[0]instanceof Event){const l=s[0];return l.target!==l.currentTarget?void 0:"detail"in l?n(l.detail):n()}return n(...s)}}var dv=Symbol.for("remote-dom.element"),pv=Symbol.for("remote-dom.element.attached");function fv(n,{name:s,eventProps:l}={}){const u=(0,U.memo)(function({element:p,receiver:f,components:A}){const T=(0,U.useRef)(),M=sd(p,f),w=M??p,I=w.id,E=uv(w,{receiver:f,components:A,eventProps:l});if(E[dv]=w,E[pv]=M!=null,T.current==null){const _={id:I,receiver:f};_.instanceRef=gv(_),T.current=_}return T.current.id=I,T.current.receiver=f,(0,U.useEffect)(()=>{var _;const D={id:I};return f.implement(D,(_=T.current)==null?void 0:_.instanceRef.current),()=>{f.implement(D,null)}},[I,f]),(0,C.jsx)(n,{ref:T.current.instanceRef,...E})});return u.displayName=s??`RemoteComponentRenderer(${n.displayName??n.name??"Component"})`,u}function gv(n){let s=null;return{get current(){return s},set current(l){s=l,n.receiver.implement(n,l)}}}function hv(n){const{receiver:s}=n,{children:l}=sd(s.root,s);return(0,C.jsx)(C.Fragment,{children:l.map(u=>Ju(u,n))})}var mv=`<!DOCTYPE html>
|
|
8
|
+
`+a.stack}}var dl=Object.prototype.hasOwnProperty,pl=s.unstable_scheduleCallback,fl=s.unstable_cancelCallback,ah=s.unstable_shouldYield,nh=s.unstable_requestPaint,gt=s.unstable_now,rh=s.unstable_getCurrentPriorityLevel,Sd=s.unstable_ImmediatePriority,Ad=s.unstable_UserBlockingPriority,di=s.unstable_NormalPriority,ih=s.unstable_LowPriority,Td=s.unstable_IdlePriority,sh=s.log,lh=s.unstable_setDisableYieldValue,Kn=null,ht=null;function No(e){if(typeof sh=="function"&&lh(e),ht&&typeof ht.setStrictMode=="function")try{ht.setStrictMode(Kn,e)}catch{}}var mt=Math.clz32?Math.clz32:dh,ch=Math.log,uh=Math.LN2;function dh(e){return e>>>=0,e===0?32:31-(ch(e)/uh|0)|0}var pi=256,fi=262144,gi=4194304;function ga(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function hi(e,t,o){var a=e.pendingLanes;if(a===0)return 0;var r=0,i=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~i,a!==0?r=ga(a):(c&=d,c!==0?r=ga(c):o||(o=d&~e,o!==0&&(r=ga(o))))):(d=a&~i,d!==0?r=ga(d):c!==0?r=ga(c):o||(o=a&~e,o!==0&&(r=ga(o)))),r===0?0:t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===32&&(o&4194048)!==0)?t:r}function Zn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Cd(e,t){(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var a=31-mt(o),r=1<<a;t|=e[a],o&=~r}return t}function ph(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _d(){var e=gi;return gi<<=1,(gi&62914560)===0&&(gi=4194304),e}function gl(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function mi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function fh(e,t,o,a,r,i){var c=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var d=e.entanglements,g=e.expirationTimes,v=e.hiddenUpdates;for(o=c&~o;0<o;){var S=31-mt(o),R=1<<S;d[S]=0,g[S]=-1;var m=v[S];if(m!==null)for(v[S]=null,S=0;S<m.length;S++){var x=m[S];x!==null&&(x.lane&=-536870913)}o&=~R}a!==0&&wd(e,a,0),i!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=i&~(c&~t))}function wd(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-mt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|o&261930}function Ed(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var a=31-mt(o),r=1<<a;r&t|e[a]&t&&(e[a]|=t),o&=~r}}function kd(e,t){var o=t&-t;return o=(o&42)!==0?1:Md(o),(o&(e.suspendedLanes|t))!==0?0:o}function Md(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function hl(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Rd(){var e=ie.p;return e!==0?e:(e=window.event,e===void 0?32:U0(e.type))}function Id(e,t){var o=ie.p;try{return ie.p=e,t()}finally{ie.p=o}}var go=Math.random().toString(36).slice(2),Ge="__reactFiber$"+go,st="__reactProps$"+go,Qn="__reactContainer$"+go,Dd="__reactEvents$"+go,gh="__reactListeners$"+go,hh="__reactHandles$"+go,Od="__reactResources$"+go,Jn="__reactMarker$"+go,bi="__reactLoad$"+go;function vi(e){delete e[Ge],delete e[st],delete e[gh],delete e[hh]}function ha(e){var t;if(t=e[Ge])return t;for(var o=e.parentNode;o;){if(t=o[Qn]||o[Ge]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=b0(e);e!==null;){if(o=e[Ge])return o;e=b0(e)}return t}e=o,o=e.parentNode}return null}function Xa(e){if(e=e[Ge]||e[Qn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Wn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(p(33))}function Ka(e){var t=e[Od];return t||(t=e[Od]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Le(e){e[Jn]=!0}function zd(e){e[bi]=void 0}var Ud=new Set,Nd={};function ma(e,t){Za(e,t),Za(e+"Capture",t)}function Za(e,t){for(Nd[e]=t,e=0;e<t.length;e++)Ud.add(t[e])}var mh=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ld={},Pd={};function bh(e){return dl.call(Pd,e)?!0:dl.call(Ld,e)?!1:mh.test(e)?Pd[e]=!0:(Ld[e]=!0,!1)}var re=!1;function jd(){var e=re;return re=!1,e}function yi(e,t,o){if(bh(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,o)}}function xi(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,o)}}function ho(e,t,o,a){if(a===null)e.removeAttribute(o);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,a)}}function bt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vh(e,t,o){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var r=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(c){o=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return o},setValue:function(c){o=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ml(e){if(!e._valueTracker){var t=Vd(e)?"checked":"value";e._valueTracker=vh(e,t,""+e[t])}}function Bd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),a="";return e&&(a=Vd(e)?e.checked?"true":"false":e.value),e=a,e!==o?(t.setValue(e),!0):!1}var yh=/[\n"\\]/g;function Ct(e){return e.replace(yh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function bl(e,t,o,a,r,i,c,d){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+bt(t)):e.value!==""+bt(t)&&(e.value=""+bt(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?c==="number"&&e.value==t?vl(e,bt(e.value)):vl(e,bt(t)):o!=null?vl(e,bt(o)):a!=null&&e.removeAttribute("value"),r==null&&i!=null&&(e.defaultChecked=!!i),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+bt(d):e.removeAttribute("name")}function Hd(e,t,o,a,r,i,c,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||o!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){ml(e);return}o=o!=null?""+bt(o):"",t=t!=null?""+bt(t):o,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c),ml(e)}function vl(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Qa(e,t,o,a){if(e=e.options,t){t={};for(var r=0;r<o.length;r++)t["$"+o[r]]=!0;for(o=0;o<e.length;o++)r=t.hasOwnProperty("$"+e[o].value),e[o].selected!==r&&(e[o].selected=r),r&&a&&(e[o].defaultSelected=!0)}else{for(o=""+bt(o),t=null,r=0;r<e.length;r++){if(e[r].value===o){e[r].selected=!0,a&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function qd(e,t,o){if(t!=null&&(t=""+bt(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+bt(o):""}function Gd(e,t,o,a){if(t==null){if(a!=null){if(o!=null)throw Error(p(92));if(Yn(a)){if(1<a.length)throw Error(p(93));a=a[0]}o=a}o??="",t=o}o=bt(t),e.defaultValue=o,a=e.textContent,a===o&&a!==""&&a!==null&&(e.value=a),ml(e)}function Ja(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var xh=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Fd(e,t,o){var a=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,o):typeof o!="number"||o===0||xh.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function Yd(e,t,o){if(t!=null&&typeof t!="object")throw Error(p(62));if(e=e.style,o!=null){for(var a in o)!o.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="",re=!0);for(var r in t)a=t[r],t.hasOwnProperty(r)&&o[r]!==a&&(Fd(e,r,a),re=!0)}else for(var i in t)t.hasOwnProperty(i)&&Fd(e,i,t[i])}function yl(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Sh=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ah=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Si(e){return Ah.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Wt(){}var xl=null;function Sl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wa=null,$a=null;function Xd(e){var t=Xa(e);if(t&&(e=t.stateNode)){var o=e[st]||null;e:switch(e=t.stateNode,t.type){case"input":if(bl(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Ct(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var a=o[t];if(a!==e&&a.form===e.form){var r=a[st]||null;if(!r)throw Error(p(90));bl(a,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<o.length;t++)a=o[t],a.form===e.form&&Bd(a)}break e;case"textarea":qd(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Qa(e,!!o.multiple,t,!1)}}}var Al=!1;function Kd(e,t,o){if(Al)return e(t,o);Al=!0;try{return e(t)}finally{if(Al=!1,(Wa!==null||$a!==null)&&(Ss(),Wa&&(t=Wa,e=$a,$a=Wa=null,Xd(t),e)))for(t=0;t<e.length;t++)Xd(e[t])}}function $n(e,t){var o=e.stateNode;if(o===null)return null;var a=o[st]||null;if(a===null)return null;o=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(p(231,t,typeof o));return o}var mo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tl=!1;if(mo)try{var er={};Object.defineProperty(er,"passive",{get:function(){Tl=!0}}),window.addEventListener("test",er,er),window.removeEventListener("test",er,er)}catch{Tl=!1}var Lo=null,Cl=null,Ai=null;function Zd(){if(Ai)return Ai;var e,t=Cl,o=t.length,a,r="value"in Lo?Lo.value:Lo.textContent,i=r.length;for(e=0;e<o&&t[e]===r[e];e++);var c=o-e;for(a=1;a<=c&&t[o-a]===r[i-a];a++);return Ai=r.slice(e,1<a?1-a:void 0)}function Ti(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 Ci(){return!0}function Qd(){return!1}function tt(e){function t(o,a,r,i,c){this._reactName=o,this._targetInst=r,this.type=a,this.nativeEvent=i,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(o=e[d],this[d]=o?o(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ci:Qd,this.isPropagationStopped=Qd,this}return G(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Ci)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Ci)},persist:function(){},isPersistent:Ci}),t}var Po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_i=tt(Po),tr=G({},Po,{view:0,detail:0}),Th=tt(tr),_l,wl,or,wi=G({},tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kl,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!==or&&(or&&e.type==="mousemove"?(_l=e.screenX-or.screenX,wl=e.screenY-or.screenY):wl=_l=0,or=e),_l)},movementY:function(e){return"movementY"in e?e.movementY:wl}}),Jd=tt(wi),Ch=tt(G({},wi,{dataTransfer:0})),El=tt(G({},tr,{relatedTarget:0})),_h=tt(G({},Po,{animationName:0,elapsedTime:0,pseudoElement:0})),wh=tt(G({},Po,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Wd=tt(G({},Po,{data:0})),Eh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kh={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"},Mh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Mh[e])?!!t[e]:!1}function kl(){return Rh}var Ih=tt(G({},tr,{key:function(e){if(e.key){var t=Eh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ti(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kl,charCode:function(e){return e.type==="keypress"?Ti(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ti(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}})),$d=tt(G({},wi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Dh=tt(G({},Po,{submitter:0})),Oh=tt(G({},tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kl})),zh=tt(G({},Po,{propertyName:0,elapsedTime:0,pseudoElement:0})),Uh=tt(G({},wi,{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})),Nh=tt(G({},Po,{newState:0,oldState:0,source:0})),Lh=[9,13,27,32],Ml=mo&&"CompositionEvent"in window,ar=null;mo&&"documentMode"in document&&(ar=document.documentMode);var Ph=mo&&"TextEvent"in window&&!ar,ep=mo&&(!Ml||ar&&8<ar&&11>=ar),tp=" ",op=!1;function ap(e,t){switch(e){case"keyup":return Lh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function np(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var en=!1;function jh(e,t){switch(e){case"compositionend":return np(t);case"keypress":return t.which!==32?null:(op=!0,tp);case"textInput":return e=t.data,e===tp&&op?null:e;default:return null}}function Vh(e,t){if(en)return e==="compositionend"||!Ml&&ap(e,t)?(e=Zd(),Ai=Cl=Lo=null,en=!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 ep&&t.locale!=="ko"?null:t.data;default:return null}}var Bh={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 rp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Bh[e.type]:t==="textarea"}function ip(e,t,o,a){Wa?$a?$a.push(a):$a=[a]:Wa=a,t=Es(t,"onChange"),0<t.length&&(o=new _i("onChange","change",null,o,a),e.push({event:o,listeners:t}))}var nr=null,rr=null;function Hh(e){Ff(e,0)}function Ei(e){if(Bd(Wn(e)))return e}function sp(e,t){if(e==="change")return t}var lp=!1;if(mo){var Rl;if(mo){var Il="oninput"in document;if(!Il){var cp=document.createElement("div");cp.setAttribute("oninput","return;"),Il=typeof cp.oninput=="function"}Rl=Il}else Rl=!1;lp=Rl&&(!document.documentMode||9<document.documentMode)}function up(){nr&&(nr.detachEvent("onpropertychange",dp),rr=nr=null)}function dp(e){if(e.propertyName==="value"&&Ei(rr)){var t=[];ip(t,rr,e,Sl(e)),Kd(Hh,t)}}function qh(e,t,o){e==="focusin"?(up(),nr=t,rr=o,nr.attachEvent("onpropertychange",dp)):e==="focusout"&&up()}function Gh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ei(rr)}function Fh(e,t){if(e==="click")return Ei(t)}function Yh(e,t){if(e==="input"||e==="change")return Ei(t)}function Xh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:Xh;function ir(e,t){if(vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var r=o[a];if(!dl.call(t,r)||!vt(e[r],t[r]))return!1}return!0}function Dl(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 pp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fp(e,t){var o=pp(e);e=0;for(var a;o;){if(o.nodeType===3){if(a=e+o.textContent.length,e<=t&&a>=t)return{node:o,offset:t-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=pp(o)}}function gp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?gp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Dl(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Dl(e.document)}return t}function Ol(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 Kh=mo&&"documentMode"in document&&11>=document.documentMode,tn=null,zl=null,sr=null,Ul=!1;function mp(e,t,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Ul||tn==null||tn!==Dl(a)||(a=tn,"selectionStart"in a&&Ol(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),sr&&ir(sr,a)||(sr=a,a=Es(zl,"onSelect"),0<a.length&&(t=new _i("onSelect","select",null,t,o),e.push({event:t,listeners:a}),t.target=tn)))}function ba(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var on={animationend:ba("Animation","AnimationEnd"),animationiteration:ba("Animation","AnimationIteration"),animationstart:ba("Animation","AnimationStart"),transitionrun:ba("Transition","TransitionRun"),transitionstart:ba("Transition","TransitionStart"),transitioncancel:ba("Transition","TransitionCancel"),transitionend:ba("Transition","TransitionEnd")},Nl={},bp={};mo&&(bp=document.createElement("div").style,"AnimationEvent"in window||(delete on.animationend.animation,delete on.animationiteration.animation,delete on.animationstart.animation),"TransitionEvent"in window||delete on.transitionend.transition);function va(e){if(Nl[e])return Nl[e];if(!on[e])return e;var t=on[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in bp)return Nl[e]=t[o];return e}var vp=va("animationend"),yp=va("animationiteration"),xp=va("animationstart"),Zh=va("transitionrun"),Qh=va("transitionstart"),Jh=va("transitioncancel"),Sp=va("transitionend"),Ap=new Map,Ll="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Ll.push("scrollEnd");function Nt(e,t){Ap.set(e,t),ma(t,[e])}var Wh=0;function bo(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=Vt.identifierPrefix;var o=Wh++;return e="_"+e+"t_"+o.toString(32)+"_",t.autoName=e}function Tp(e){if(e==null||typeof e=="string")return e;var t=null,o=Tn;if(o!==null)for(var a=0;a<o.length;a++){var r=e[o[a]];if(r!=null){if(r==="none")return"none";t=t==null?r:t+(" "+r)}}return t??e.default}function vo(e,t){return e=Tp(e),t=Tp(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var ki=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},_t=[],an=0,Pl=0;function Mi(){for(var e=an,t=Pl=an=0;t<e;){var o=_t[t];_t[t++]=null;var a=_t[t];_t[t++]=null;var r=_t[t];_t[t++]=null;var i=_t[t];if(_t[t++]=null,a!==null&&r!==null){var c=a.pending;c===null?r.next=r:(r.next=c.next,c.next=r),a.pending=r}i!==0&&Cp(o,r,i)}}function Ri(e,t,o,a){_t[an++]=e,_t[an++]=t,_t[an++]=o,_t[an++]=a,Pl|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function jl(e,t,o,a){return Ri(e,t,o,a),Ii(e)}function ya(e,t){return Ri(e,null,null,t),Ii(e)}function Cp(e,t,o){e.lanes|=o;var a=e.alternate;a!==null&&(a.lanes|=o);for(var r=!1,i=e.return;i!==null;)i.childLanes|=o,a=i.alternate,a!==null&&(a.childLanes|=o),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(r=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,r&&t!==null&&(r=31-mt(o),e=i.hiddenUpdates,a=e[r],a===null?e[r]=[t]:a.push(t),t.lane=o|536870912),i):null}function Ii(e){if(50<Mr)throw Mr=0,xs=null,Error(p(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var nn={};function $h(e,t,o,a){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,o,a){return new $h(e,t,o,a)}function Vl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yo(e,t){var o=e.alternate;return o===null?(o=lt(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&1206910976,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function _p(e,t){e.flags&=1206910978;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Di(e,t,o,a,r,i){var c=0;if(a=e,typeof a=="function")Vl(a)&&(c=1);else if(typeof a=="string")c=k5(e,o,Jt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(a){case Do:return e=lt(31,o,t,r),e.elementType=Do,e.lanes=i,e;case et:return xa(o.children,r,i,t);case pa:c=8,r|=24;break;case qn:return e=lt(12,o,t,r|2),e.elementType=qn,e.lanes=i,e;case F:return e=lt(13,o,t,r),e.elementType=F,e.lanes=i,e;case Se:return e=lt(19,o,t,r),e.elementType=Se,e.lanes=i,e;case Gn:case Oo:return e=r|32,e=lt(30,o,t,e),e.elementType=Oo,e.lanes=i,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case z:c=10;break e;case Ga:c=9;break e;case K:c=11;break e;case _e:c=14;break e;case ft:c=16,a=null;break e}c=29,o=Error(p(130,e===null?"null":typeof e,"")),a=null}return t=lt(c,o,t,r),t.elementType=e,t.type=a,t.lanes=i,t}function xa(e,t,o,a){return e=lt(7,e,a,t),e.lanes=o,e}function Bl(e,t,o){return e=lt(6,e,null,t),e.lanes=o,e}function wp(e){var t=lt(18,null,null,0);return t.stateNode=e,t}function Hl(e,t,o){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ep=new WeakMap;function wt(e,t){if(typeof e=="object"&&e!==null){var o=Ep.get(e);return o!==void 0?o:(t={value:e,source:t,stack:xd(t)},Ep.set(e,t),t)}return{value:e,source:t,stack:xd(t)}}var rn=[],sn=0,Oi=null,lr=0,Et=[],kt=0,jo=null,$t=1,eo="";function xo(e,t){rn[sn++]=lr,rn[sn++]=Oi,Oi=e,lr=t}function kp(e,t,o){Et[kt++]=$t,Et[kt++]=eo,Et[kt++]=jo,jo=e;var a=$t;e=eo;var r=32-mt(a)-1;a&=~(1<<r),o+=1;var i=32-mt(t)+r;if(30<i){var c=r-r%5;i=(a&(1<<c)-1).toString(32),a>>=c,r-=c,$t=1<<32-mt(t)+r|o<<r|a,eo=i+e}else $t=1<<i|o<<r|a,eo=e}function zi(e){e.return!==null&&(xo(e,1),kp(e,1,0))}function ql(e){for(;e===Oi;)Oi=rn[--sn],rn[sn]=null,lr=rn[--sn],rn[sn]=null;for(;e===jo;)jo=Et[--kt],Et[kt]=null,eo=Et[--kt],Et[kt]=null,$t=Et[--kt],Et[kt]=null}function Mp(e,t){Et[kt++]=$t,Et[kt++]=eo,Et[kt++]=jo,$t=t.id,eo=t.overflow,jo=e}var Pe=null,ye=null,J=!1,Vo=null,Mt=!1,Gl=Error(p(519));function Bo(e){throw cr(wt(Error(p(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML","")),e)),Gl}function Rp(e){var t=e.stateNode,o=e.type,a=e.memoizedProps;switch(t[Ge]=e,t[st]=a,o){case"dialog":ee("cancel",t),ee("close",t);break;case"iframe":case"object":case"embed":ee("load",t);break;case"video":case"audio":for(o=0;o<Ir.length;o++)ee(Ir[o],t);break;case"source":ee("error",t);break;case"img":case"image":case"link":ee("error",t),ee("load",t);break;case"details":ee("toggle",t);break;case"input":ee("invalid",t),Hd(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ee("invalid",t);break;case"textarea":ee("invalid",t),Gd(t,a.value,a.defaultValue,a.children)}o=a.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||a.suppressHydrationWarning===!0||Qf(t.textContent,o)?(a.popover!=null&&(ee("beforetoggle",t),ee("toggle",t)),a.onScroll!=null&&ee("scroll",t),a.onScrollEnd!=null&&ee("scrollend",t),a.onClick!=null&&(t.onclick=Wt),t=!0):t=!1,t||Bo(e,!0)}function Ui(e){for(Pe=e.return;Pe;)switch(Pe.tag){case 5:case 31:case 13:Mt=!1;return;case 27:case 3:Mt=!0;return;default:Pe=Pe.return}}function ln(e){if(e!==Pe)return!1;if(!J)return Ui(e),J=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||yu(e.type,e.memoizedProps)),o=!o),o&&ye&&Bo(e),Ui(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(p(317));ye=m0(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(p(317));ye=m0(e)}else t===27?(t=ye,ta(e.type)?(e=ku,ku=null,ye=e):ye=t):ye=Pe?Dt(e.stateNode.nextSibling):null;return!0}function Sa(){ye=Pe=null,J=!1}function Fl(){var e=Vo;return e!==null&&(dt===null?dt=e:dt.push.apply(dt,e),Vo=null),e}function cr(e){Vo===null?Vo=[e]:Vo.push(e)}var Yl=Qt(null),Aa=null,So=null;function Ho(e,t,o){ve(Yl,t._currentValue),t._currentValue=o}function Ao(e){e._currentValue=Yl.current,qe(Yl)}function Ni(e,t,o){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===o)break;e=e.return}}function Xl(e,t,o,a){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var i=r.dependencies;if(i!==null){var c=r.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=r;for(var g=0;g<t.length;g++)if(d.context===t[g]){i.lanes|=o,d=i.alternate,d!==null&&(d.lanes|=o),Ni(i.return,o,e),a||(c=null);break e}i=d.next}}else if(r.tag===18){if(c=r.return,c===null)throw Error(p(341));c.lanes|=o,i=c.alternate,i!==null&&(i.lanes|=o),Ni(c,o,e),c=null}else r.tag===13&&r.memoizedState!==null&&r.memoizedState.dehydrated===null?(r.lanes|=o,c=r.alternate,c!==null&&(c.lanes|=o),Ni(r.return,o,e),c=r.child,c=c!==null?c.sibling:null):c=r.child;if(c!==null)c.return=r;else for(c=r;c!==null;){if(c===e){c=null;break}if(r=c.sibling,r!==null){r.return=c.return,c=r;break}c=c.return}r=c}}function Ta(e,t,o,a){e=null;for(var r=t,i=!1;r!==null;){if(!i){if((r.flags&524288)!==0)i=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var c=r.alternate;if(c===null)throw Error(p(387));if(c=c.memoizedProps,c!==null){var d=r.type;vt(r.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(r===li.current){if(c=r.alternate,c===null)throw Error(p(387));c.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(On):e=[On])}r=r.return}return e!==null&&Xl(t,e,o,a),t.flags|=262144,e!==null}function Li(e){for(e=e.firstContext;e!==null;){if(!vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ca(e){Aa=e,So=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Fe(e){return Ip(Aa,e)}function Pi(e,t){return Aa===null&&Ca(e),Ip(e,t)}function Ip(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},So===null){if(e===null)throw Error(p(308));So=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else So=So.next=t;return o}var em=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},tm=s.unstable_scheduleCallback,om=s.unstable_NormalPriority,Re={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Kl(){return{controller:new em,data:new Map,refCount:0}}function ur(e){e.refCount--,e.refCount===0&&tm(om,function(){e.controller.abort()})}function Dp(e,t){if((e.pendingLanes&4194048)!==0){var o=e.transitionTypes;for(o===null&&(o=e.transitionTypes=[]),e=0;e<t.length;e++){var a=t[e];o.indexOf(a)===-1&&o.push(a)}}}var dr=null;function am(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var pr=null,Zl=0,_a=0,cn=null;function nm(e,t){if(pr===null){var o=pr=[];Zl=0,_a=du(),cn={status:"pending",value:void 0,then:function(a){o.push(a)}}}return Zl++,t.then(Op,Op),t}function Op(){if(--Zl===0&&(dr=null,pr!==null)){cn!==null&&(cn.status="fulfilled");var e=pr;pr=null,_a=0,cn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function rm(e,t){var o=[],a={status:"pending",value:null,reason:null,then:function(r){o.push(r)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var r=0;r<o.length;r++)(0,o[r])(t)},function(r){for(a.status="rejected",a.reason=r,r=0;r<o.length;r++)(0,o[r])(void 0)}),a}var zp=H.S;H.S=function(e,t){if(Cf=gt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&nm(e,t),dr!==null)for(var o=En;o!==null;)Dp(o,dr),o=o.next;if(o=e.types,o!==null){for(var a=En;a!==null;)Dp(a,o),a=a.next;if(_a!==0){a=dr,a===null&&(a=dr=[]);for(var r=0;r<o.length;r++){var i=o[r];a.indexOf(i)===-1&&a.push(i)}}}zp!==null&&zp(e,t)};var wa=Qt(null);function Ql(){var e=wa.current;return e!==null?e:me.pooledCache}function ji(e,t){t===null?ve(wa,wa.current):ve(wa,t.pool)}function Up(){var e=Ql();return e===null?null:{parent:Re._currentValue,pool:e}}var un=Error(p(460)),Jl=Error(p(474)),Vi=Error(p(542)),Bi={then:function(){}};function Np(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Lp(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(Wt,Wt),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,jp(e),e===void 0&&!("reason"in t)?Error(p(600)):e;default:if(typeof t.status=="string")t.then(Wt,Wt);else{if(e=me,e!==null&&100<e.shellSuspendCounter)throw Error(p(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=a}},function(a){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,jp(e),e}throw ka=t,un}}function Ea(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(ka=o,un):o}}var ka=null;function Pp(){if(ka===null)throw Error(p(459));var e=ka;return ka=null,e}function jp(e){if(e===un||e===Vi)throw Error(p(483))}var dn=null,fr=0;function Hi(e){var t=fr;return fr+=1,dn===null&&(dn=[]),Lp(dn,e,t)}function qo(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function qi(e,t){throw t.$$typeof===Io?Error(p(525)):(e=Object.prototype.toString.call(t),Error(p(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Vp(e){function t(b,h){if(e){var y=b.deletions;y===null?(b.deletions=[h],b.flags|=16):y.push(h)}}function o(b,h){if(!e)return null;for(;h!==null;)t(b,h),h=h.sibling;return null}function a(b){for(var h=new Map;b!==null;)b.key===null?h.set(b.index,b):h.set(b.key,b),b=b.sibling;return h}function r(b,h){return b=yo(b,h),b.index=0,b.sibling=null,b}function i(b,h,y){return b.index=y,e?(y=b.alternate,y!==null?(y=y.index,y<h?(b.flags|=2,h):y):(b.flags|=134217730,h)):(b.flags|=1048576,h)}function c(b){return e&&b.alternate===null&&(b.flags|=134217730),b}function d(b,h,y,k){return h===null||h.tag!==6?(h=Bl(y,b.mode,k),h.return=b,h):(h=r(h,y),h.return=b,h)}function g(b,h,y,k){var N=y.type;return N===et?(b=S(b,h,y.props.children,k,y.key),qo(b,y),b):h!==null&&(h.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===ft&&Ea(N)===h.type)?(h=r(h,y.props),qo(h,y),h.return=b,h):(h=Di(y.type,y.key,y.props,null,b.mode,k),qo(h,y),h.return=b,h)}function v(b,h,y,k){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=Hl(y,b.mode,k),h.return=b,h):(h=r(h,y.children||[]),h.return=b,h)}function S(b,h,y,k,N){return h===null||h.tag!==7?(h=xa(y,b.mode,k,N),h.return=b,h):(h=r(h,y),h.return=b,h)}function R(b,h,y){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=Bl(""+h,b.mode,y),h.return=b,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case it:return y=Di(h.type,h.key,h.props,null,b.mode,y),qo(y,h),y.return=b,y;case He:return h=Hl(h,b.mode,y),h.return=b,h;case ft:return h=Ea(h),R(b,h,y)}if(Yn(h)||Fn(h))return h=xa(h,b.mode,y,null),h.return=b,h;if(typeof h.then=="function")return R(b,Hi(h),y);if(h.$$typeof===z)return R(b,Pi(b,h),y);qi(b,h)}return null}function m(b,h,y,k){var N=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return N!==null?null:d(b,h,""+y,k);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case it:return y.key===N?g(b,h,y,k):null;case He:return y.key===N?v(b,h,y,k):null;case ft:return y=Ea(y),m(b,h,y,k)}if(Yn(y)||Fn(y))return N!==null?null:S(b,h,y,k,null);if(typeof y.then=="function")return m(b,h,Hi(y),k);if(y.$$typeof===z)return m(b,h,Pi(b,y),k);qi(b,y)}return null}function x(b,h,y,k,N){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return b=b.get(y)||null,d(h,b,""+k,N);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case it:return b=b.get(k.key===null?y:k.key)||null,g(h,b,k,N);case He:return b=b.get(k.key===null?y:k.key)||null,v(h,b,k,N);case ft:return k=Ea(k),x(b,h,y,k,N)}if(Yn(k)||Fn(k))return b=b.get(y)||null,S(h,b,k,N,null);if(typeof k.then=="function")return x(b,h,y,Hi(k),N);if(k.$$typeof===z)return x(b,h,y,Pi(h,k),N);qi(h,k)}return null}function O(b,h,y,k){for(var N=null,oe=null,P=h,B=h=0,Oe=null;P!==null&&B<y.length;B++){P.index>B?(Oe=P,P=null):Oe=P.sibling;var ne=m(b,P,y[B],k);if(ne===null){P===null&&(P=Oe);break}e&&P&&ne.alternate===null&&t(b,P),h=i(ne,h,B),oe===null?N=ne:oe.sibling=ne,oe=ne,P=Oe}if(B===y.length)return o(b,P),J&&xo(b,B),N;if(P===null){for(;B<y.length;B++)P=R(b,y[B],k),P!==null&&(h=i(P,h,B),oe===null?N=P:oe.sibling=P,oe=P);return J&&xo(b,B),N}for(P=a(P);B<y.length;B++)Oe=x(P,b,B,y[B],k),Oe!==null&&(e&&(ne=Oe.alternate,ne!==null&&P.delete(ne.key===null?B:ne.key)),h=i(Oe,h,B),oe===null?N=Oe:oe.sibling=Oe,oe=Oe);return e&&P.forEach(function(ia){return t(b,ia)}),J&&xo(b,B),N}function L(b,h,y,k){if(y==null)throw Error(p(151));for(var N=null,oe=null,P=h,B=h=0,Oe=null,ne=y.next();P!==null&&!ne.done;B++,ne=y.next()){P.index>B?(Oe=P,P=null):Oe=P.sibling;var ia=m(b,P,ne.value,k);if(ia===null){P===null&&(P=Oe);break}e&&P&&ia.alternate===null&&t(b,P),h=i(ia,h,B),oe===null?N=ia:oe.sibling=ia,oe=ia,P=Oe}if(ne.done)return o(b,P),J&&xo(b,B),N;if(P===null){for(;!ne.done;B++,ne=y.next())ne=R(b,ne.value,k),ne!==null&&(h=i(ne,h,B),oe===null?N=ne:oe.sibling=ne,oe=ne);return J&&xo(b,B),N}for(P=a(P);!ne.done;B++,ne=y.next())ne=x(P,b,B,ne.value,k),ne!==null&&(e&&(Oe=ne.alternate,Oe!==null&&P.delete(Oe.key===null?B:Oe.key)),h=i(ne,h,B),oe===null?N=ne:oe.sibling=ne,oe=ne);return e&&P.forEach(function(q5){return t(b,q5)}),J&&xo(b,B),N}function X(b,h,y,k){if(typeof y=="object"&&y!==null&&y.type===et&&y.key===null&&y.props.ref===void 0&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case it:e:{for(var N=y.key;h!==null;){if(h.key===N){if(N=y.type,N===et){if(h.tag===7){o(b,h.sibling),k=r(h,y.props.children),qo(k,y),k.return=b,b=k;break e}}else if(h.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===ft&&Ea(N)===h.type){o(b,h.sibling),k=r(h,y.props),qo(k,y),k.return=b,b=k;break e}o(b,h);break}else t(b,h);h=h.sibling}y.type===et?(k=xa(y.props.children,b.mode,k,y.key),qo(k,y),k.return=b,b=k):(k=Di(y.type,y.key,y.props,null,b.mode,k),qo(k,y),k.return=b,b=k)}return c(b);case He:e:{for(N=y.key;h!==null;){if(h.key===N)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){o(b,h.sibling),k=r(h,y.children||[]),k.return=b,b=k;break e}else{o(b,h);break}else t(b,h);h=h.sibling}k=Hl(y,b.mode,k),k.return=b,b=k}return c(b);case ft:return y=Ea(y),X(b,h,y,k)}if(Yn(y))return O(b,h,y,k);if(Fn(y)){if(N=Fn(y),typeof N!="function")throw Error(p(150));return y=N.call(y),L(b,h,y,k)}if(typeof y.then=="function")return X(b,h,Hi(y),k);if(y.$$typeof===z)return X(b,h,Pi(b,y),k);qi(b,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,h!==null&&h.tag===6?(o(b,h.sibling),k=r(h,y),k.return=b,b=k):(o(b,h),k=Bl(y,b.mode,k),k.return=b,b=k),c(b)):o(b,h)}return function(b,h,y,k){try{fr=0;var N=X(b,h,y,k);return dn=null,N}catch(P){if(P===un||P===Vi)throw P;var oe=lt(29,P,null,b.mode);return oe.lanes=k,oe.return=b,oe}}}var Ma=Vp(!0),Bp=Vp(!1),Go=!1;function Wl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $l(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ra(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(se&2)!==0){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=Ii(e),Cp(e,null,o),t}return Ri(e,a,t,o),Ii(e)}function gr(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Ed(e,o)}}function ec(e,t){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var r=null,i=null;if(o=o.firstBaseUpdate,o!==null){do{var c={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};i===null?r=i=c:i=i.next=c,o=o.next}while(o!==null);i===null?r=i=t:i=i.next=t}else r=i=t;o={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var tc=!1;function hr(){if(tc){var e=cn;if(e!==null)throw e}}function mr(e,t,o,a){tc=!1;var r=e.updateQueue;Go=!1;var i=r.firstBaseUpdate,c=r.lastBaseUpdate,d=r.shared.pending;if(d!==null){r.shared.pending=null;var g=d,v=g.next;g.next=null,c===null?i=v:c.next=v,c=g;var S=e.alternate;S!==null&&(S=S.updateQueue,d=S.lastBaseUpdate,d!==c&&(d===null?S.firstBaseUpdate=v:d.next=v,S.lastBaseUpdate=g))}if(i!==null){var R=r.baseState;c=0,S=v=g=null,d=i;do{var m=d.lane&-536870913,x=m!==d.lane;if(x?(te&m)===m:(a&m)===m){m!==0&&m===_a&&(tc=!0),S!==null&&(S=S.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var O=e,L=d;m=t;var X=o;switch(L.tag){case 1:if(O=L.payload,typeof O=="function"){R=O.call(X,R,m);break e}R=O;break e;case 3:O.flags=O.flags&-65537|128;case 0:if(O=L.payload,m=typeof O=="function"?O.call(X,R,m):O,m==null)break e;R=G({},R,m);break e;case 2:Go=!0}}m=d.callback,m!==null&&(e.flags|=64,x&&(e.flags|=8192),x=r.callbacks,x===null?r.callbacks=[m]:x.push(m))}else x={lane:m,tag:d.tag,payload:d.payload,callback:d.callback,next:null},S===null?(v=S=x,g=R):S=S.next=x,c|=m;if(d=d.next,d===null){if(d=r.shared.pending,d===null)break;x=d,d=x.next,x.next=null,r.lastBaseUpdate=x,r.shared.pending=null}}while(!0);S===null&&(g=R),r.baseState=g,r.firstBaseUpdate=v,r.lastBaseUpdate=S,i===null&&(r.shared.lanes=0),Jo|=c,e.lanes=c,e.memoizedState=R}}function Hp(e,t){if(typeof e!="function")throw Error(p(191,e));e.call(t)}function qp(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)Hp(o[e],t)}var Fo=Qt(null),Gi=Qt(0);function Gp(e,t){e=Eo,ve(Gi,e),ve(Fo,t),Eo=e|t.baseLanes}function oc(){ve(Gi,Eo),ve(Fo,Fo.current)}function ac(){Eo=Gi.current,qe(Fo),qe(Gi)}var Ye=Qt(null),Je=null;function Yo(e){var t=e.alternate;ve(Xe,Xe.current&1),ve(Ye,e),Je===null&&(t===null||Fo.current!==null||t.memoizedState!==null)&&(Je=e)}function nc(e){ve(Xe,Xe.current),ve(Ye,e),Je===null&&(Je=e)}function Fp(e){e.tag===22?(ve(Xe,Xe.current),ve(Ye,e),Je===null&&(Je=e)):Xo()}function Xo(){ve(Xe,Xe.current),ve(Ye,Ye.current)}function yt(e){qe(Ye),Je===e&&(Je=null),qe(Xe)}var Xe=Qt(0);function br(e,t){ve(Ye,Ye.current),ve(Xe,t)}function rc(e){qe(Xe),qe(Ye),Je===e&&(Je=null)}function Fi(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||wu(o)||Eu(o)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)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 To=0,Y=null,he=null,Ie=null,Yi=!1,pn=!1,Da=!1,Xi=0,vr=0,fn=null,im=0;function we(){throw Error(p(321))}function ic(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!vt(e[o],t[o]))return!1;return!0}function sc(e,t,o,a,r,i){return To=i,Y=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,H.H=e===null||e.memoizedState===null?k1:M1,Da=!1,i=o(a,r),Da=!1,pn&&(i=Xp(t,o,a,r)),Yp(e),i}function Yp(e){H.H=es;var t=he!==null&&he.next!==null;if(To=0,Ie=he=Y=null,Yi=!1,vr=0,fn=null,t)throw Error(p(300));e===null||De||(e=e.dependencies,e!==null&&Li(e)&&(De=!0))}function Xp(e,t,o,a){Y=e;var r=0;do{if(pn&&(fn=null),vr=0,pn=!1,25<=r)throw Error(p(301));if(r+=1,Ie=he=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}H.H=gm,i=t(o,a)}while(pn);return i}function sm(){var e=H.H,t=e.useState()[0];return t=typeof t.then=="function"?yr(t):t,e=e.useState()[0],(he!==null?he.memoizedState:null)!==e&&(Y.flags|=1024),t}function lc(){var e=Xi!==0;return Xi=0,e}function cc(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function uc(e){if(Yi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Yi=!1}To=0,Ie=he=Y=null,pn=!1,vr=Xi=0,fn=null}function ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ie===null?Y.memoizedState=Ie=e:Ie=Ie.next=e,Ie}function Me(){if(he===null){var e=Y.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var t=Ie===null?Y.memoizedState:Ie.next;if(t!==null)Ie=t,he=e;else{if(e===null)throw Y.alternate===null?Error(p(467)):Error(p(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},Ie===null?Y.memoizedState=Ie=e:Ie=Ie.next=e}return Ie}function Ki(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function yr(e){var t=vr;return vr+=1,fn===null&&(fn=[]),e=Lp(fn,e,t),t=Y,(Ie===null?t.memoizedState:Ie.next)===null&&(t=t.alternate,H.H=t===null||t.memoizedState===null?k1:M1),e}function Zi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return yr(e);if(e.$$typeof===eh)return;if(e.$$typeof===z)return Fe(e)}throw Error(p(438,String(e)))}function dc(e){var t=null,o=Y.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var a=Y.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(r){return r.slice()}),index:0})))}if(t??={data:[],index:0},o===null&&(o=Ki(),Y.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),a=0;a<e;a++)o[a]=fo;return t.index++,o}function Co(e,t){return typeof t=="function"?t(e):t}function Qi(e){return pc(Me(),he,e)}function pc(e,t,o){var a=e.queue;if(a===null)throw Error(p(311));a.lastRenderedReducer=o;var r=e.baseQueue,i=a.pending;if(i!==null){if(r!==null){var c=r.next;r.next=i.next,i.next=c}t.baseQueue=r=i,a.pending=null}if(i=e.baseState,r===null)e.memoizedState=i;else{t=r.next;var d=c=null,g=null,v=t,S=!1;do{var R=v.lane&-536870913;if(R!==v.lane?(te&R)===R:(To&R)===R){var m=v.revertLane;if(m===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),R===_a&&(S=!0);else if((To&m)===m){v=v.next,m===_a&&(S=!0);continue}else R={lane:0,revertLane:v.revertLane,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},g===null?(d=g=R,c=i):g=g.next=R,Y.lanes|=m,Jo|=m;R=v.action,Da&&o(i,R),i=v.hasEagerState?v.eagerState:o(i,R)}else m={lane:R,revertLane:v.revertLane,gesture:v.gesture,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},g===null?(d=g=m,c=i):g=g.next=m,Y.lanes|=R,Jo|=R;v=v.next}while(v!==null&&v!==t);if(g===null?c=i:g.next=d,!vt(i,e.memoizedState)&&(De=!0,S&&(o=cn,o!==null)))throw o;e.memoizedState=i,e.baseState=c,e.baseQueue=g,a.lastRenderedState=i}return r===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function fc(e){var t=Me(),o=t.queue;if(o===null)throw Error(p(311));o.lastRenderedReducer=e;var a=o.dispatch,r=o.pending,i=t.memoizedState;if(r!==null){o.pending=null;var c=r=r.next;do i=e(i,c.action),c=c.next;while(c!==r);vt(i,t.memoizedState)||(De=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),o.lastRenderedState=i}return[i,a]}function Kp(e,t,o){var a=Y,r=Me(),i=J;if(i){if(o===void 0)throw Error(p(407));o=o()}else o=t();var c=!vt((he||r).memoizedState,o);if(c&&(r.memoizedState=o,De=!0),r=r.queue,mc(Jp.bind(null,a,r,e),[e]),e=r.getSnapshot!==t||c||Ie!==null&&(Ie.memoizedState.tag&1)!==0,gn(e?9:8,{destroy:void 0},Qp.bind(null,a,r,o,t),null),e){if(a.flags|=2048,me===null)throw Error(p(349));i||(To&127)!==0||Zp(a,t,o)}return o}function Zp(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Y.updateQueue,t===null?(t=Ki(),Y.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Qp(e,t,o,a){t.value=o,t.getSnapshot=a,Wp(t)&&$p(e)}function Jp(e,t,o){return o(function(){Wp(t)&&$p(e)})}function Wp(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!vt(e,o)}catch{return!0}}function $p(e){var t=ya(e,2);t!==null&&pt(t,e,2)}function gc(e){var t=ot();if(typeof e=="function"){var o=e;if(e=o(),Da){No(!0);try{o()}finally{No(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:e},t}function e1(e,t,o,a){return e.baseState=o,pc(e,he,typeof a=="function"?a:Co)}function lm(e,t,o,a,r){if($i(e))throw Error(p(485));if(e=t.action,e!==null){var i={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};H.T!==null?o(!0):i.isTransition=!1,a(i),o=t.pending,o===null?(i.next=t.pending=i,t1(t,i)):(i.next=o.next,t.pending=o.next=i)}}function t1(e,t){var o=t.action,a=t.payload,r=e.state;if(t.isTransition){var i=H.T,c={};c.types=i!==null?i.types:null,H.T=c;try{var d=o(r,a),g=H.S;g!==null&&g(c,d),o1(e,t,d)}catch(v){hc(e,t,v)}finally{i!==null&&c.types!==null&&(i.types=c.types),H.T=i}}else try{i=o(r,a),o1(e,t,i)}catch(v){hc(e,t,v)}}function o1(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(a){a1(e,t,a)},function(a){return hc(e,t,a)}):a1(e,t,o)}function a1(e,t,o){t.status="fulfilled",t.value=o,n1(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,t1(e,o)))}function hc(e,t,o){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=o,n1(t),t=t.next;while(t!==a)}e.action=null}function n1(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function r1(e,t){return t}function i1(e,t){if(J){var o=me.formState;if(o!==null){e:{var a=Y;if(J){if(ye){t:{for(var r=ye,i=Mt;r.nodeType!==8;){if(!i){r=null;break t}if(r=Dt(r.nextSibling),r===null){r=null;break t}}i=r.data,r=i==="F!"||i==="F"?r:null}if(r){ye=Dt(r.nextSibling),a=r.data==="F!";break e}}Bo(a)}a=!1}a&&(t=o[0])}}return o=ot(),o.memoizedState=o.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r1,lastRenderedState:t},o.queue=a,o=_1.bind(null,Y,a),a.dispatch=o,a=gc(!1),i=Sc.bind(null,Y,!1,a.queue),a=ot(),r={state:t,dispatch:null,action:e,pending:null},a.queue=r,o=lm.bind(null,Y,r,i,o),r.dispatch=o,a.memoizedState=e,[t,o,!1]}function s1(e){return l1(Me(),he,e)}function l1(e,t,o){if(t=pc(e,t,r1)[0],e=Qi(Co)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=yr(t)}catch(c){throw c===un?Vi:c}else a=t;t=Me();var r=t.queue,i=r.dispatch;return o!==t.memoizedState&&(Y.flags|=2048,gn(9,{destroy:void 0},cm.bind(null,r,o),null)),[a,i,e]}function cm(e,t){e.action=t}function c1(e){var t=Me(),o=he;if(o!==null)return l1(t,o,e);Me(),t=t.memoizedState,o=Me();var a=o.queue.dispatch;return o.memoizedState=e,[t,a,!1]}function gn(e,t,o,a){return e={tag:e,create:o,deps:a,inst:t,next:null},t=Y.updateQueue,t===null&&(t=Ki(),Y.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(a=o.next,o.next=e,e.next=a,t.lastEffect=e),e}function u1(){return Me().memoizedState}function Ji(e,t,o,a){var r=ot();Y.flags|=e,r.memoizedState=gn(1|t,{destroy:void 0},o,a===void 0?null:a)}function Wi(e,t,o,a){var r=Me();a=a===void 0?null:a;var i=r.memoizedState.inst;he!==null&&a!==null&&ic(a,he.memoizedState.deps)?r.memoizedState=gn(t,i,o,a):(Y.flags|=e,r.memoizedState=gn(1|t,i,o,a))}function d1(e,t){Ji(8390656,8,e,t)}function mc(e,t){Wi(2048,8,e,t)}function um(e){Y.flags|=4;var t=Y.updateQueue;if(t===null)t=Ki(),Y.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function p1(e){var t=Me().memoizedState;return um({ref:t,nextImpl:e}),function(){if((se&2)!==0)throw Error(p(440));return t.impl.apply(void 0,arguments)}}function f1(e,t){return Wi(4,2,e,t)}function g1(e,t){return Wi(4,4,e,t)}function h1(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function m1(e,t,o){o=o!=null?o.concat([e]):null,Wi(4,4,h1.bind(null,t,e),o)}function bc(){}function b1(e,t){var o=Me();t=t===void 0?null:t;var a=o.memoizedState;return t!==null&&ic(t,a[1])?a[0]:(o.memoizedState=[e,t],e)}function v1(e,t){var o=Me();t=t===void 0?null:t;var a=o.memoizedState;if(t!==null&&ic(t,a[1]))return a[0];if(a=e(),Da){No(!0);try{e()}finally{No(!1)}}return o.memoizedState=[a,t],a}function vc(e,t,o){return o===void 0||(To&1073741824)!==0&&(te&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=wf(),Y.lanes|=e,Jo|=e,o)}function y1(e,t,o,a){return vt(o,t)?o:Fo.current!==null?(e=vc(e,o,a),vt(e,t)||(De=!0),e):(To&106)===0||(To&1073741824)!==0&&(te&261930)===0?(De=!0,e.memoizedState=o):(e=wf(),Y.lanes|=e,Jo|=e,t)}function x1(e,t,o,a,r){var i=ie.p;ie.p=i!==0&&8>i?i:8;var c=H.T,d={};d.types=c!==null?c.types:null,H.T=d,Sc(e,!1,t,o);try{var g=r(),v=H.S;v!==null&&v(d,g),g!==null&&typeof g=="object"&&typeof g.then=="function"?xr(e,t,rm(g,a),It(e)):xr(e,t,a,It(e))}catch(S){xr(e,t,{then:function(){},status:"rejected",reason:S},It())}finally{ie.p=i,c!==null&&d.types!==null&&(c.types=d.types),H.T=c}}function dm(){}function yc(e,t,o,a){if(e.tag!==5)throw Error(p(476));var r=S1(e).queue;x1(e,r,t,fa,o===null?dm:function(){return A1(e),o(a)})}function S1(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:fa,baseState:fa,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:fa},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function A1(e){var t=S1(e);t.next===null&&(t=e.alternate.memoizedState),xr(e,t.next.queue,{},It())}function xc(){return Fe(On)}function T1(){return Me().memoizedState}function C1(){return Me().memoizedState}function pm(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=It();e=Ra(o);var a=Ia(t,e,o);a!==null&&(pt(a,t,o),gr(a,t,o)),t={cache:Kl()},e.payload=t;return}t=t.return}}function fm(e,t,o){var a=It();o={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},$i(e)?w1(t,o):(o=jl(e,t,o,a),o!==null&&(pt(o,e,a),E1(o,t,a)))}function _1(e,t,o){xr(e,t,o,It())}function xr(e,t,o,a){var r={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if($i(e))w1(t,r);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var c=t.lastRenderedState,d=i(c,o);if(r.hasEagerState=!0,r.eagerState=d,vt(d,c))return Ri(e,t,r,0),me===null&&Mi(),!1}catch{}if(o=jl(e,t,r,a),o!==null)return pt(o,e,a),E1(o,t,a),!0}return!1}function Sc(e,t,o,a){if(a={lane:2,revertLane:du(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},$i(e)){if(t)throw Error(p(479))}else t=jl(e,o,a,2),t!==null&&pt(t,e,2)}function $i(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function w1(e,t){pn=Yi=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function E1(e,t,o){if((o&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Ed(e,o)}}var es={readContext:Fe,use:Zi,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useLayoutEffect:we,useInsertionEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useSyncExternalStore:we,useId:we,useHostTransitionStatus:we,useFormState:we,useActionState:we,useOptimistic:we,useMemoCache:we,useCacheRefresh:we,useEffectEvent:we},k1={readContext:Fe,use:Zi,useCallback:function(e,t){return ot().memoizedState=[e,t===void 0?null:t],e},useContext:Fe,useEffect:d1,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,Ji(4194308,4,h1.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Ji(4194308,4,e,t)},useInsertionEffect:function(e,t){Ji(4,2,e,t)},useMemo:function(e,t){var o=ot();t=t===void 0?null:t;var a=e();if(Da){No(!0);try{e()}finally{No(!1)}}return o.memoizedState=[a,t],a},useReducer:function(e,t,o){var a=ot();if(o!==void 0){var r=o(t);if(Da){No(!0);try{o(t)}finally{No(!1)}}}else r=t;return a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=fm.bind(null,Y,e),[a.memoizedState,e]},useRef:function(e){var t=ot();return e={current:e},t.memoizedState=e},useState:function(e){e=gc(e);var t=e.queue,o=_1.bind(null,Y,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:bc,useDeferredValue:function(e,t){return vc(ot(),e,t)},useTransition:function(){var e=gc(!1);return e=x1.bind(null,Y,e.queue,!0,!1),ot().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var a=Y,r=ot();if(J){if(o===void 0)throw Error(p(407));o=o()}else{if(o=t(),me===null)throw Error(p(349));(te&127)!==0||Zp(a,t,o)}r.memoizedState=o;var i={value:o,getSnapshot:t};return r.queue=i,d1(Jp.bind(null,a,i,e),[e]),a.flags|=2048,gn(9,{destroy:void 0},Qp.bind(null,a,i,o,t),null),o},useId:function(){var e=ot(),t=me.identifierPrefix;if(J){var o=eo,a=$t;o=(a&~(1<<32-mt(a)-1)).toString(32)+o,t="_"+t+"R_"+o,o=Xi++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=im++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:xc,useFormState:i1,useActionState:i1,useOptimistic:function(e){var t=ot();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=Sc.bind(null,Y,!0,o),o.dispatch=t,[e,t]},useMemoCache:dc,useCacheRefresh:function(){return ot().memoizedState=pm.bind(null,Y)},useEffectEvent:function(e){var t=ot(),o={impl:e};return t.memoizedState=o,function(){if((se&2)!==0)throw Error(p(440));return o.impl.apply(void 0,arguments)}}},M1={readContext:Fe,use:Zi,useCallback:b1,useContext:Fe,useEffect:mc,useImperativeHandle:m1,useInsertionEffect:f1,useLayoutEffect:g1,useMemo:v1,useReducer:Qi,useRef:u1,useState:function(){return Qi(Co)},useDebugValue:bc,useDeferredValue:function(e,t){return y1(Me(),he.memoizedState,e,t)},useTransition:function(){var e=Qi(Co)[0],t=Me().memoizedState;return[typeof e=="boolean"?e:yr(e),t]},useSyncExternalStore:Kp,useId:T1,useHostTransitionStatus:xc,useFormState:s1,useActionState:s1,useOptimistic:function(e,t){return e1(Me(),he,e,t)},useMemoCache:dc,useCacheRefresh:C1,useEffectEvent:p1},gm={readContext:Fe,use:Zi,useCallback:b1,useContext:Fe,useEffect:mc,useImperativeHandle:m1,useInsertionEffect:f1,useLayoutEffect:g1,useMemo:v1,useReducer:fc,useRef:u1,useState:function(){return fc(Co)},useDebugValue:bc,useDeferredValue:function(e,t){var o=Me();return he===null?vc(o,e,t):y1(o,he.memoizedState,e,t)},useTransition:function(){var e=fc(Co)[0],t=Me().memoizedState;return[typeof e=="boolean"?e:yr(e),t]},useSyncExternalStore:Kp,useId:T1,useHostTransitionStatus:xc,useFormState:c1,useActionState:c1,useOptimistic:function(e,t){var o=Me();return he!==null?e1(o,he,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:dc,useCacheRefresh:C1,useEffectEvent:p1};function Ac(e,t,o,a){t=e.memoizedState,o=o(a,t),o=o==null?t:G({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Tc={enqueueSetState:function(e,t,o){e=e._reactInternals;var a=It(),r=Ra(a);r.payload=t,o!=null&&(r.callback=o),t=Ia(e,r,a),t!==null&&(pt(t,e,a),gr(t,e,a))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var a=It(),r=Ra(a);r.tag=1,r.payload=t,o!=null&&(r.callback=o),t=Ia(e,r,a),t!==null&&(pt(t,e,a),gr(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=It(),a=Ra(o);a.tag=2,t!=null&&(a.callback=t),t=Ia(e,a,o),t!==null&&(pt(t,e,o),gr(t,e,o))}};function R1(e,t,o,a,r,i,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,i,c):t.prototype&&t.prototype.isPureReactComponent?!ir(o,a)||!ir(r,i):!0}function I1(e,t,o,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,a),t.state!==e&&Tc.enqueueReplaceState(t,t.state,null)}function Oa(e,t){var o=t;if("ref"in t){o={};for(var a in t)a!=="ref"&&(o[a]=t[a])}if(e=e.defaultProps){o===t&&(o=G({},o));for(var r in e)o[r]===void 0&&(o[r]=e[r])}return o}function hm(e){ki(e)}function mm(e){console.error(e)}function bm(e){ki(e)}function ts(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function D1(e,t,o){try{var a=e.onCaughtError;a(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Cc(e,t,o){return o=Ra(o),o.tag=3,o.payload={element:null},o.callback=function(){ts(e,t)},o}function O1(e){return e=Ra(e),e.tag=3,e}function z1(e,t,o,a){var r=o.type.getDerivedStateFromError;if(typeof r=="function"){var i=a.value;e.payload=function(){return r(i)},e.callback=function(){D1(t,o,a)}}var c=o.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){D1(t,o,a),typeof r!="function"&&(Wo===null?Wo=new Set([this]):Wo.add(this));var d=a.stack;this.componentDidCatch(a.value,{componentStack:d!==null?d:""})})}function vm(e,t,o,a,r){if(o.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=o.alternate,t!==null&&Ta(t,o,r,!0),o=Ye.current,o!==null){switch(o.tag){case 31:case 13:case 19:return Je===null?As():o.alternate===null&&Ee===0&&(Ee=3),o.flags&=-257,o.flags|=65536,o.lanes=r,a===Bi?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([a]):t.add(a),lu(e,a,r)),!1;case 22:return o.flags|=65536,a===Bi?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([a]):o.add(a)),lu(e,a,r)),!1}throw Error(p(435,o.tag))}return lu(e,a,r),As(),!1}if(J)return t=Ye.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,a!==Gl&&(e=Error(p(422),{cause:a}),cr(wt(e,o)))):(a!==Gl&&(t=Error(p(423),{cause:a}),cr(wt(t,o))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,a=wt(a,o),r=Cc(e.stateNode,a,r),ec(e,r),Ee!==4&&(Ee=2)),!1;var i=Error(p(520),{cause:a});if(i=wt(i,o),kr===null?kr=[i]:kr.push(i),Ee!==4&&(Ee=2),t===null)return!0;a=wt(a,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=r&-r,o.lanes|=e,e=Cc(o.stateNode,a,e),ec(o,e),!1;case 1:if(t=o.type,i=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Wo===null||!Wo.has(i))))return o.flags|=65536,r&=-r,o.lanes|=r,r=O1(r),z1(r,e,o,a),ec(o,r),!1;break;case 22:if(o.memoizedState!==null)return o.flags|=65536,!1}o=o.return}while(o!==null);return!1}var _c=Error(p(461)),De=!1;function Ue(e,t,o,a){t.child=e===null?Bp(t,null,o,a):Ma(t,e.child,o,a)}function U1(e,t,o,a,r){o=o.render;var i=t.ref;if("ref"in a){var c={};for(var d in a)d!=="ref"&&(c[d]=a[d])}else c=a;return Ca(t),a=sc(e,t,o,c,i,r),d=lc(),e!==null&&!De?(cc(e,t,r),_o(e,t,r)):(J&&d&&zi(t),t.flags|=1,Ue(e,t,a,r),t.child)}function N1(e,t,o,a,r){if(e===null){var i=o.type;return typeof i=="function"&&!Vl(i)&&i.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=i,L1(e,t,i,a,r)):(e=Di(o.type,null,a,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Oc(e,r)){var c=i.memoizedProps;if(o=o.compare,o=o!==null?o:ir,o(c,a)&&e.ref===t.ref)return _o(e,t,r)}return t.flags|=1,e=yo(i,a),e.ref=t.ref,e.return=t,t.child=e}function L1(e,t,o,a,r){if(e!==null){var i=e.memoizedProps;if(ir(i,a)&&e.ref===t.ref)if(De=!1,t.pendingProps=a=i,Oc(e,r))(e.flags&131072)!==0&&(De=!0);else return t.lanes=e.lanes,_o(e,t,r)}return wc(e,t,o,a,r)}function P1(e,t,o,a){var r=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|o:o,e!==null){for(a=t.child=e.child,r=0;a!==null;)r=r|a.lanes|a.childLanes,a=a.sibling;a=r&~i}else a=0,t.child=null;return j1(e,t,i,o,a)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ji(t,i!==null?i.cachePool:null),i!==null?Gp(t,i):oc(),Fp(t);else return a=t.lanes=536870912,j1(e,t,i!==null?i.baseLanes|o:o,o,a)}else i!==null?(ji(t,i.cachePool),Gp(t,i),Xo(),t.memoizedState=null):(e!==null&&ji(t,null),oc(),Xo());return Ue(e,t,r,o),t.child}function Sr(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function j1(e,t,o,a,r){var i=Ql();return i=i===null?null:{parent:Re._currentValue,pool:i},t.memoizedState={baseLanes:o,cachePool:i},e!==null&&ji(t,null),oc(),Fp(t),e!==null&&Ta(e,t,a,!0),t.childLanes=r,null}function os(e,t){return t=as({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function V1(e,t,o){return Ma(t,e.child,null,o),e=os(t,t.pendingProps),e.flags|=2,yt(t),t.memoizedState=null,e}function ym(e,t,o){var a=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(J){if(a.mode==="hidden")return e=os(t,a),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Sr(null,e);if(nc(t),(e=ye)?(e=h0(e,Mt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:jo!==null?{id:$t,overflow:eo}:null,retryLane:536870912,hydrationErrors:null},o=wp(e),o.return=t,t.child=o,Pe=t,ye=null)):e=null,e===null)throw Bo(t);return t.lanes=536870912,null}return os(t,a)}var i=e.memoizedState;if(i!==null){var c=i.dehydrated;if(nc(t),r)if(t.flags&256)t.flags&=-257,t=V1(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(p(558));else if(De||Ta(e,t,o,!1),r=(o&e.childLanes)!==0,De||r){if(Fo.current===null){if(a=me,a!==null&&(c=kd(a,o),c!==0&&c!==i.retryLane))throw i.retryLane=c,ya(e,c),pt(a,e,c),_c;As()}t=V1(e,t,o)}else e=i.treeContext,ye=Dt(c.nextSibling),Pe=t,J=!0,Vo=null,Mt=!1,e!==null&&Mp(t,e),t=os(t,a),t.flags|=134221824;return t}return e=yo(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function hn(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(p(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function wc(e,t,o,a,r){return Ca(t),o=sc(e,t,o,a,void 0,r),a=lc(),e!==null&&!De?(cc(e,t,r),_o(e,t,r)):(J&&a&&zi(t),t.flags|=1,Ue(e,t,o,r),t.child)}function B1(e,t,o,a,r,i){return Ca(t),t.updateQueue=null,o=Xp(t,a,o,r),Yp(e),a=lc(),e!==null&&!De?(cc(e,t,i),_o(e,t,i)):(J&&a&&zi(t),t.flags|=1,Ue(e,t,o,i),t.child)}function H1(e,t,o,a,r){if(Ca(t),t.stateNode===null){var i=nn,c=o.contextType;typeof c=="object"&&c!==null&&(i=Fe(c)),i=new o(a,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Tc,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},Wl(t),c=o.contextType,i.context=typeof c=="object"&&c!==null?Fe(c):nn,i.state=t.memoizedState,c=o.getDerivedStateFromProps,typeof c=="function"&&(Ac(t,o,c,a),i.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&Tc.enqueueReplaceState(i,i.state,null),mr(t,a,i,r),hr(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){i=t.stateNode;var d=t.memoizedProps,g=Oa(o,d);i.props=g;var v=i.context,S=o.contextType;c=nn,typeof S=="object"&&S!==null&&(c=Fe(S));var R=o.getDerivedStateFromProps;S=typeof R=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,S||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||v!==c)&&I1(t,i,a,c),Go=!1;var m=t.memoizedState;i.state=m,mr(t,a,i,r),hr(),v=t.memoizedState,d||m!==v||Go?(typeof R=="function"&&(Ac(t,o,R,a),v=t.memoizedState),(g=Go||R1(t,o,g,a,m,v,c))?(S||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|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=v),i.props=a,i.state=v,i.context=c,a=g):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,$l(e,t),c=t.memoizedProps,S=Oa(o,c),i.props=S,R=t.pendingProps,m=i.context,v=o.contextType,g=nn,typeof v=="object"&&v!==null&&(g=Fe(v)),d=o.getDerivedStateFromProps,(v=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==R||m!==g)&&I1(t,i,a,g),Go=!1,m=t.memoizedState,i.state=m,mr(t,a,i,r),hr();var x=t.memoizedState;c!==R||m!==x||Go||e!==null&&e.dependencies!==null&&Li(e.dependencies)?(typeof d=="function"&&(Ac(t,o,d,a),x=t.memoizedState),(S=Go||R1(t,o,S,a,m,x,g)||e!==null&&e.dependencies!==null&&Li(e.dependencies))?(v||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,x,g),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,x,g)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=x),i.props=a,i.state=x,i.context=g,a=S):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),a=!1)}return i=a,hn(e,t),a=(t.flags&128)!==0,i||a?(i=t.stateNode,o=a&&typeof o.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&a?(t.child=Ma(t,e.child,null,r),t.child=Ma(t,null,o,r)):Ue(e,t,o,r),t.memoizedState=i.state,e=t.child):e=_o(e,t,r),e}function q1(e,t,o,a){return Sa(),t.flags|=256,Ue(e,t,o,a),t.child}var Ec={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function kc(e){return{baseLanes:e,cachePool:Up()}}function Mc(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=At),e}function G1(e,t,o){var a=t.pendingProps,r=!1,i=(t.flags&128)!==0,c;if((c=i)||(c=e!==null&&e.memoizedState===null?!1:(Xe.current&2)!==0),c&&(r=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(J){if(r?Yo(t):Xo(),(e=ye)?(e=h0(e,Mt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:jo!==null?{id:$t,overflow:eo}:null,retryLane:536870912,hydrationErrors:null},o=wp(e),o.return=t,t.child=o,Pe=t,ye=null)):e=null,e===null)throw Bo(t);return Eu(e)?t.lanes=32:t.lanes=536870912,null}return i=a.children,a=a.fallback,r?(Xo(),r=t.mode,i=as({mode:"hidden",children:i},r),a=xa(a,r,o,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=kc(o),a.childLanes=Mc(e,c,o),t.memoizedState=Ec,Sr(null,a)):(Yo(t),Rc(t,i))}var d=e.memoizedState;if(d!==null){var g=d.dehydrated;if(g!==null)return xm(e,t,i,c,a,g,d,o)}return r?(Xo(),r=a.fallback,i=t.mode,d=e.child,g=d.sibling,a=yo(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&1206910976,g!==null?r=yo(g,r):(r=xa(r,i,o,null),r.flags|=2),r.return=t,a.return=t,a.sibling=r,t.child=a,Sr(null,a),a=t.child,r=e.child.memoizedState,r===null?r=kc(o):(i=r.cachePool,i!==null?(d=Re._currentValue,i=i.parent!==d?{parent:d,pool:d}:i):i=Up(),r={baseLanes:r.baseLanes|o,cachePool:i}),a.memoizedState=r,a.childLanes=Mc(e,c,o),t.memoizedState=Ec,Sr(e.child,a)):(Yo(t),o=e.child,e=o.sibling,o=yo(o,{mode:"visible",children:a.children}),o.return=t,o.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=o,t.memoizedState=null,o)}function Rc(e,t){return t=as({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function as(e,t){return e=lt(22,e,null,t),e.lanes=0,e}function ns(e,t,o){return Ma(t,e.child,null,o),e=Rc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function xm(e,t,o,a,r,i,c,d){if(o)return t.flags&256?(Yo(t),t.flags&=-257,ns(e,t,d)):t.memoizedState!==null?(Xo(),t.child=e.child,t.flags|=128,null):(Xo(),i=r.fallback,c=t.mode,r=as({mode:"visible",children:r.children},c),i=xa(i,c,d,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,Ma(t,e.child,null,d),r=t.child,r.memoizedState=kc(d),r.childLanes=Mc(e,a,d),t.memoizedState=Ec,Sr(null,r));if(Yo(t),Eu(i)){if(a=i.nextSibling&&i.nextSibling.dataset,a)var g=a.dgst;return a=g,a!==""&&(r=Error(p(419)),r.stack="",r.digest=a,cr({value:r,source:null,stack:null})),ns(e,t,d)}if(De||Ta(e,t,d,!1),a=(d&e.childLanes)!==0,De||a){if(Fo.current!==null)return ns(e,t,d);if(a=me,a!==null&&(r=kd(a,d),r!==0&&r!==c.retryLane))throw c.retryLane=r,ya(e,r),pt(a,e,r),_c;return wu(i)||As(),ns(e,t,d)}return wu(i)?(t.flags|=192,t.child=e.child,null):(e=c.treeContext,ye=Dt(i.nextSibling),Pe=t,J=!0,Vo=null,Mt=!1,e!==null&&Mp(t,e),t=Rc(t,r.children),t.flags|=134221824,t)}function F1(e,t,o){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Ni(e.return,t,o)}function Y1(e){for(var t=null;e!==null;){var o=e.alternate;o!==null&&Fi(o)===null&&(t=e),e=e.sibling}return t}function rs(e,t,o,a,r,i){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:r,treeForkCount:i}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=o,c.tailMode=r,c.treeForkCount=i)}function Ic(e){var t=e.child;for(e.child=null;t!==null;){var o=t.sibling;t.sibling=e.child,e.child=t,t=o}}function Dc(e,t,o){var a=t.pendingProps,r=a.revealOrder,i=a.tail;a=a.children;var c=Xe.current;if(t.flags&128)return br(t,c),null;var d=(c&2)!==0;if(d?(c=c&1|2,t.flags|=128):c&=1,br(t,c),r==="backwards"&&e!==null?(Ic(e),Ue(e,t,a,o),Ic(e)):Ue(e,t,a,o),a=J?lr:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&F1(e,o,t);else if(e.tag===19)F1(e,o,t);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}switch(r){case"backwards":o=Y1(t.child),o===null?(r=t.child,t.child=null):(r=o.sibling,o.sibling=null,Ic(t)),rs(t,!0,r,null,i,a);break;case"unstable_legacy-backwards":for(o=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Fi(e)===null){t.child=r;break}e=r.sibling,r.sibling=o,o=r,r=e}rs(t,!0,o,null,i,a);break;case"together":rs(t,!1,null,null,void 0,a);break;case"independent":t.memoizedState=null;break;default:o=Y1(t.child),o===null?(r=t.child,t.child=null):(r=o.sibling,o.sibling=null),rs(t,!1,r,o,i,a)}return t.child}function X1(e,t,o){var a=t.pendingProps;return Ho(t,t.type,a.value),Ue(e,t,a.children,o),t.child}function _o(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Jo|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Ta(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(p(153));if(t.child!==null){for(e=t.child,o=yo(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=yo(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Oc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Li(e)))}function Sm(e,t,o){switch(t.tag){case 3:ci(t,t.stateNode.containerInfo),Ho(t,Re,e.memoizedState.cache),Sa();break;case 27:case 5:sl(t);break;case 4:ci(t,t.stateNode.containerInfo);break;case 10:Ho(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,nc(t),null;break;case 13:var a=t.memoizedState;if(a!==null){if(a.dehydrated!==null)return Yo(t),t.flags|=128,null;a=Ta(e,t,o,!1);var r=t.child.childLanes;return a||(o&r)!==0?G1(e,t,o):(Yo(t),e=_o(e,t,o),e!==null?e.sibling:null)}Yo(t);break;case 19:if(t.flags&128)return Dc(e,t,o);if(r=(e.flags&128)!==0,a=(o&t.childLanes)!==0,a||(Ta(e,t,o,!1),a=(o&t.childLanes)!==0),r){if(a)return Dc(e,t,o);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),br(t,Xe.current),a)break;return null;case 22:return t.lanes=0,P1(e,t,o,t.pendingProps);case 24:Ho(t,Re,e.memoizedState.cache)}return _o(e,t,o)}function K1(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)De=!0;else{if(!Oc(e,o)&&(t.flags&128)===0)return De=!1,Sm(e,t,o);De=(e.flags&131072)!==0}else De=!1,J&&(t.flags&1048576)!==0&&kp(t,lr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Ea(t.elementType),t.type=e,typeof e=="function")Vl(e)?(a=Oa(e,a),t.tag=1,t=H1(null,t,e,a,o)):(t.tag=0,t=wc(null,t,e,a,o));else{if(e!=null){var r=e.$$typeof;if(r===K){t.tag=11,t=U1(null,t,e,a,o);break e}else if(r===_e){t.tag=14,t=N1(null,t,e,a,o);break e}else if(r===z){t.tag=10,t.type=e,t=X1(null,t,o);break e}}throw t=rl(e)||e,Error(p(306,t,""))}}return t;case 0:return wc(e,t,t.type,t.pendingProps,o);case 1:return a=t.type,r=Oa(a,t.pendingProps),H1(e,t,a,r,o);case 3:e:{if(ci(t,t.stateNode.containerInfo),e===null)throw Error(p(387));a=t.pendingProps;var i=t.memoizedState;r=i.element,$l(e,t),mr(t,a,null,o);var c=t.memoizedState;if(a=c.cache,Ho(t,Re,a),a!==i.cache&&Xl(t,[Re],o,!0),hr(),a=c.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=q1(e,t,a,o);break e}else if(a!==r){r=wt(Error(p(424)),t),cr(r),t=q1(e,t,a,o);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,ye=Dt(e.firstChild),Pe=t,J=!0,Vo=null,Mt=!0,o=Bp(t,null,a,o),t.child=o;o;)o.flags=o.flags&-3|134221824,o=o.sibling;else{if(Sa(),a===r){t=_o(e,t,o);break e}Ue(e,t,a,o)}t=t.child}return t;case 26:return hn(e,t),e===null?(o=A0(t.type,null,t.pendingProps,null))?t.memoizedState=o:J||(t.stateNode=e0(t.type,t.pendingProps,zo.current,t)):t.memoizedState=A0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return sl(t),e===null&&J&&(a=t.stateNode=v0(t.type,t.pendingProps,zo.current),Pe=t,Mt=!0,r=ye,ta(t.type)?(ku=r,ye=Dt(a.firstChild)):ye=r),Ue(e,t,t.pendingProps.children,o),hn(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&J&&((r=a=ye)&&(a=f5(a,t.type,t.pendingProps,Mt),a!==null?(t.stateNode=a,Pe=t,ye=Dt(a.firstChild),Mt=!1,r=!0):r=!1),r||Bo(t)),sl(t),r=t.type,i=t.pendingProps,c=e!==null?e.memoizedProps:null,a=i.children,yu(r,i)?a=null:c!==null&&yu(r,c)&&(t.flags|=32),t.memoizedState!==null&&(r=sc(e,t,sm,null,null,o),On._currentValue=r),hn(e,t),Ue(e,t,a,o),t.child;case 6:return e===null&&J&&((e=o=ye)&&(o=g5(o,t.pendingProps,Mt),o!==null?(t.stateNode=o,Pe=t,ye=null,e=!0):e=!1),e||Bo(t)),null;case 13:return G1(e,t,o);case 4:return ci(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ma(t,null,a,o):Ue(e,t,a,o),t.child;case 11:return U1(e,t,t.type,t.pendingProps,o);case 7:return a=t.pendingProps,hn(e,t),Ue(e,t,a,o),t.child;case 8:return Ue(e,t,t.pendingProps.children,o),t.child;case 12:return Ue(e,t,t.pendingProps.children,o),t.child;case 10:return X1(e,t,o);case 9:return r=t.type._context,a=t.pendingProps.children,Ca(t),r=Fe(r),a=a(r),t.flags|=1,Ue(e,t,a,o),t.child;case 14:return N1(e,t,t.type,t.pendingProps,o);case 15:return L1(e,t,t.type,t.pendingProps,o);case 19:return Dc(e,t,o);case 31:return ym(e,t,o);case 22:return P1(e,t,o,t.pendingProps);case 24:return Ca(t),a=Fe(Re),e===null?(r=Ql(),r===null&&(r=me,i=Kl(),r.pooledCache=i,i.refCount++,i!==null&&(r.pooledCacheLanes|=o),r=i),t.memoizedState={parent:a,cache:r},Wl(t),Ho(t,Re,r)):((e.lanes&o)!==0&&($l(e,t),mr(t,null,null,o),hr()),r=e.memoizedState,i=t.memoizedState,r.parent!==a?(r={parent:a,cache:a},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Ho(t,Re,a)):(a=i.cache,Ho(t,Re,a),a!==r.cache&&Xl(t,[Re],o,!0))),Ue(e,t,t.pendingProps.children,o),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=e===null?18882560:18874368:J&&zi(t),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:hn(e,t),Ue(e,t,a.children,o),t.child;case 29:throw t.pendingProps}throw Error(p(156,t.tag))}function wo(e){e.flags|=4}function zc(e,t,o,a,r){var i;if((i=(e.mode&32)!==0)&&(i=o===null?w0(t,a):w0(t,a)&&(a.src!==o.src||a.srcSet!==o.srcSet)),i){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(Rf())e.flags|=8192;else throw ka=Bi,Jl}else e.flags&=-16777217}function Z1(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!E0(t))if(Rf())e.flags|=8192;else throw ka=Bi,Jl}function is(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?_d():536870912,e.lanes|=t,xn|=t)}function Ar(e,t){if(!J)switch(e.tailMode){case"visible":break;case"collapsed":for(var o=e.tail,a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:for(t=e.tail,o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null}}function xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,a=0;if(t)for(var r=e.child;r!==null;)o|=r.lanes|r.childLanes,a|=r.subtreeFlags&1206910976,a|=r.flags&1206910976,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)o|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=o,t}function Am(e,t,o){var a=t.pendingProps;switch(ql(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xe(t),null;case 1:return xe(t),null;case 3:return o=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ao(Re),Ya(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(ln(t)?wo(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Fl())),xe(t),null;case 26:var r=t.type,i=t.memoizedState;return e===null?(wo(t),i!==null?(xe(t),Z1(t,i)):(xe(t),zc(t,r,null,a,o))):i?i!==e.memoizedState?(wo(t),xe(t),Z1(t,i)):(xe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&wo(t),xe(t),zc(t,r,e,a,o)),null;case 27:if(ui(t),o=zo.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&wo(t);else{if(!a){if(t.stateNode===null)throw Error(p(166));return xe(t),t.subtreeFlags&=-33554433,null}e=Jt.current,ln(t)?Rp(t,e):(e=v0(r,a,o),t.stateNode=e,wo(t))}return xe(t),t.subtreeFlags&=-33554433,null;case 5:if(ui(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&wo(t);else{if(!a){if(t.stateNode===null)throw Error(p(166));return xe(t),t.subtreeFlags&=-33554433,null}if(i=Jt.current,ln(t))Rp(t,i);else{var c=Or(zo.current);switch(i){case 1:i=c.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:i=c.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":i=c.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":i=c.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":i=c.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?c.createElement(r,{is:a.is}):c.createElement(r)}}i[Ge]=t,i[st]=a;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=i;e:switch(Ze(i,r,a),r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&wo(t)}}return xe(t),t.subtreeFlags&=-33554433,zc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&wo(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(p(166));if(e=zo.current,ln(t)){if(e=t.stateNode,o=t.memoizedProps,a=null,r=Pe,r!==null)switch(r.tag){case 27:case 5:a=r.memoizedProps}e[Ge]=t,e=!!(e.nodeValue===o||a!==null&&a.suppressHydrationWarning===!0||Qf(e.nodeValue,o)),e||Bo(t,!0)}else e=Or(e).createTextNode(a),e[Ge]=t,t.stateNode=e}return xe(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(a=ln(t),o!==null){if(e===null){if(!a)throw Error(p(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(p(557));e[Ge]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;xe(t),e=!1}else o=Fl(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(yt(t),t):(yt(t),null);if((t.flags&128)!==0)throw Error(p(558))}return xe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=ln(t),a!==null&&a.dehydrated!==null){if(e===null){if(!r)throw Error(p(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(p(317));r[Ge]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;xe(t),r=!1}else r=Fl(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(yt(t),t):(yt(t),null)}return yt(t),(t.flags&128)!==0?(t.lanes=o,t):(o=a!==null,e=e!==null&&e.memoizedState!==null,o&&(a=t.child,r=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(r=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==r&&(a.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),is(t,t.updateQueue),xe(t),null);case 4:return Ya(),e===null&&Yf(t.stateNode.containerInfo),t.flags|=67108864,xe(t),null;case 10:return Ao(t.type),xe(t),null;case 19:if(rc(t),a=t.memoizedState,a===null)return xe(t),null;if(r=(t.flags&128)!==0,i=a.rendering,i===null)if(r)Ar(a,!1);else{if(Ee!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Fi(e),i!==null){for(t.flags|=128,Ar(a,!1),e=i.updateQueue,t.updateQueue=e,is(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)_p(o,e),o=o.sibling;return br(t,Xe.current&1|2),J&&xo(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&>()>vs&&(t.flags|=128,r=!0,Ar(a,!1),t.lanes=4194304)}else{if(!r)if(e=Fi(i),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,is(t,e),Ar(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!i.alternate&&!J)return xe(t),null}else 2*gt()-a.renderingStartTime>vs&&o!==536870912&&(t.flags|=128,r=!0,Ar(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}if(a.tail!==null){e=a.tail;e:{for(o=e;o!==null;){if(o.alternate!==null){o=!1;break e}o=o.sibling}o=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=gt(),e.sibling=null,i=Xe.current,i=r?i&1|2:i&1,a.tailMode==="visible"||a.tailMode==="collapsed"||!o||J?br(t,i):(o=i,ve(Ye,t),ve(Xe,o),Je===null&&(Je=t)),J&&xo(t,a.treeForkCount),e}return xe(t),null;case 22:case 23:return yt(t),ac(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(o&536870912)!==0&&(t.flags&128)===0&&(xe(t),t.subtreeFlags&6&&(t.flags|=8192)):xe(t),o=t.updateQueue,o!==null&&is(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==o&&(t.flags|=2048),e!==null&&qe(wa),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ao(Re),xe(t),null;case 25:return null;case 30:return t.flags|=33554432,xe(t),null}throw Error(p(156,t.tag))}function Tm(e,t){switch(ql(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ao(Re),Ya(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ui(t),null;case 31:if(t.memoizedState!==null){if(yt(t),t.alternate===null)throw Error(p(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(yt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(p(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return rc(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Ya(),null;case 10:return Ao(t.type),null;case 22:case 23:return yt(t),ac(),e!==null&&qe(wa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ao(Re),null;case 25:return null;default:return null}}function Q1(e,t){switch(ql(t),t.tag){case 3:Ao(Re),Ya();break;case 26:case 27:case 5:ui(t);break;case 4:Ya();break;case 31:t.memoizedState!==null&&yt(t);break;case 13:yt(t);break;case 19:rc(t);break;case 10:Ao(t.type);break;case 22:case 23:yt(t),ac(),e!==null&&qe(wa);break;case 24:Ao(Re)}}function Tr(e,t){try{var o=t.updateQueue,a=o!==null?o.lastEffect:null;if(a!==null){var r=a.next;o=r;do{if((o.tag&e)===e){a=void 0;var i=o.create,c=o.inst;a=i(),c.destroy=a}o=o.next}while(o!==r)}}catch(d){ue(t,t.return,d)}}function Ko(e,t,o){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var i=r.next;a=i;do{if((a.tag&e)===e){var c=a.inst,d=c.destroy;if(d!==void 0){c.destroy=void 0,r=t;var g=o,v=d;try{v()}catch(S){ue(r,g,S)}}}a=a.next}while(a!==i)}}catch(S){ue(t,t.return,S)}}function J1(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{qp(t,o)}catch(a){ue(e,e.return,a)}}}function W1(e,t,o){o.props=Oa(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(a){ue(e,t,a)}}function to(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:var r=e.stateNode,i=bo(e.memoizedProps,r);(r.ref===null||r.ref.name!==i)&&(r.ref=l0(i)),a=r.ref;break;case 7:if(e.stateNode===null){var c=new Tt(e);w(e.child,!1,d5,c,void 0,void 0),e.stateNode=c}a=e.stateNode;break;default:a=e.stateNode}typeof o=="function"?e.refCleanup=o(a):o.current=a}}catch(d){ue(e,t,d)}}function Ke(e,t){var o=e.ref,a=e.refCleanup;if(o!==null)if(typeof a=="function")try{a()}catch(r){ue(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(r){ue(e,t,r)}else o.current=null}function ss(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var o=0;o<t.length;o++)g0(e.stateNode,t[o])}function $1(e){for(var t=e.return;t!==null&&(Nc(t)&&g0(e.stateNode,t.stateNode),!Uc(t));)t=t.return}function Cr(e){for(var t=e.return;t!==null&&(Nc(t)&&p5(e.stateNode,t.stateNode),!Uc(t));)t=t.return}function Uc(e){return e.tag===5||e.tag===3||e.tag===27}function Nc(e){return e&&e.tag===7&&e.stateNode!==null}function Lc(e){var t=e.type,o=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&a.focus();break e;case"img":o.src?a.src=o.src:o.srcSet&&(a.srcset=o.srcSet)}}catch(r){ue(e,e.return,r)}}function Pc(e,t,o){try{var a=e.stateNode;Xm(a,e.type,o,t),a[st]=t}catch(r){ue(e,e.return,r)}}function ef(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ta(e.type)||e.tag===4}function jc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ef(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ta(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vc(e,t,o,a){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(r,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(r),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Wt)),ss(e,a),re=!0;else if(r!==4&&(r===27&&(ss(e,a),a=null,ta(e.type)&&(o=e.stateNode,t=null)),e=e.child,e!==null))for(Vc(e,t,o,a),e=e.sibling;e!==null;)Vc(e,t,o,a),e=e.sibling}function ls(e,t,o,a){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?o.insertBefore(r,t):o.appendChild(r),ss(e,a),re=!0;else if(r!==4&&(r===27&&(ss(e,a),a=null,ta(e.type)&&(o=e.stateNode)),e=e.child,e!==null))for(ls(e,t,o,a),e=e.sibling;e!==null;)ls(e,t,o,a),e=e.sibling}function tf(e){var t=e.stateNode,o=e.memoizedProps;try{for(var a=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Ze(t,a,o),t[Ge]=e,t[st]=o}catch(i){ue(e,e.return,i)}}var cs=!1,xt=null;function of(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(cs=!0)}var oo=null;function af(){var e=oo;return oo=null,e}var ct=0;function mn(e,t,o,a,r){return ct=0,nf(e.child,t,o,a,r)}function nf(e,t,o,a,r){for(var i=!1;e!==null;){if(e.tag===5){var c=e.stateNode;if(a!==null){var d=Au(c);a.push(d),d.view&&(i=!0)}else i||Au(c).view&&(i=!0);cs=!0,r0(c,ct===0?t:t+"_"+ct,o),ct++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&r||nf(e.child,t,o,a,r)&&(i=!0));e=e.sibling}return i}function ao(e,t){for(;e!==null;)e.tag===5?i0(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||ao(e.child,t)),e=e.sibling}function us(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(us(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(p(544));var o=t.name;t=vo(t.default,t.share),t!=="none"&&(mn(e,o,t,null,!1)||ao(e.child,!1))}e=e.sibling}}function Bc(e,t){if(e.tag===30){var o=e.stateNode,a=e.memoizedProps,r=bo(a,o),i=vo(a.default,o.paired?a.share:a.enter);i!=="none"?mn(e,r,i,null,!1)?(us(e),o.paired||t||Cn(e,a.onEnter)):ao(e.child,!1):us(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Bc(e,t),e=e.sibling;else us(e)}function Hc(e){if(xt!==null&&xt.size!==0){var t=xt;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var o=e.memoizedProps,a=o.name;if(a!=null&&a!=="auto"){var r=t.get(a);if(r!==void 0){var i=vo(o.default,o.share);if(i!=="none"&&(mn(e,a,i,null,!1)?(i=e.stateNode,r.paired=i,i.paired=r,Cn(e,o.onShare)):ao(e.child,!1)),t.delete(a),t.size===0)break}}}Hc(e)}e=e.sibling}}}function qc(e){if(e.tag===30){var t=e.memoizedProps,o=bo(t,e.stateNode),a=xt!==null?xt.get(o):void 0,r=vo(t.default,a!==void 0?t.share:t.exit);r!=="none"&&(mn(e,o,r,null,!1)?a!==void 0?(r=e.stateNode,a.paired=r,r.paired=a,xt.delete(o),Cn(e,t.onShare)):Cn(e,t.onExit):ao(e.child,!1)),xt!==null&&Hc(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)qc(e),e=e.sibling;else xt!==null&&Hc(e)}function rf(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,o=bo(t,e.stateNode);t=vo(t.default,t.update),e.flags&=-5,t!=="none"&&mn(e,o,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&rf(e);e=e.sibling}}function Gc(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,ao(e.child,!1))}Gc(e)}e=e.sibling}}function ds(e){if(e.tag===30)e.stateNode.paired=null,ao(e.child,!1),Gc(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)ds(e),e=e.sibling;else Gc(e)}function sf(e){for(e=e.child;e!==null;)e.tag===30?ao(e.child,!1):(e.subtreeFlags&33554432)!==0&&sf(e),e=e.sibling}function Fc(e,t,o,a,r,i,c){for(var d=!1;t!==null;){if(t.tag===5){var g=t.stateNode;if(i!==null&&ct<i.length){var v=i[ct],S=Au(g);(v.view||S.view)&&(d=!0);var R;if(R=(e.flags&4)===0)if(S.clip)R=!0;else{R=v.rect;var m=S.rect;R=R.y!==m.y||R.x!==m.x||R.height!==m.height||R.width!==m.width}R&&(e.flags|=4),S.abs?S=!v.abs:(v=v.rect,S=S.rect,S=v.height!==S.height||v.width!==S.width),S&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&r0(g,ct===0?o:o+"_"+ct,r),d&&(e.flags&4)!==0||(oo===null&&(oo=[]),oo.push(g,ct===0?a:a+"_"+ct,t.memoizedProps)),ct++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&c?e.flags|=t.flags&32:Fc(e,t.child,o,a,r,i,c)&&(d=!0));t=t.sibling}return d}function lf(e,t){for(e=e.child;e!==null;){if(e.tag===30){var o=e.memoizedProps,a=e.stateNode,r=bo(o,a),i=vo(o.default,o.update);if(t){a=a.clones;var c=a===null?null:a.map($m)}else c=e.memoizedState,e.memoizedState=null;a=e;var d=e.child;ct=0,r=Fc(a,d,r,r,i,c,!1),(e.flags&4)!==0&&r&&(t||Cn(e,o.onUpdate))}else(e.subtreeFlags&33554432)!==0&&lf(e,t);e=e.sibling}}var je=!1,le=!1,no=!1,Yc=!1,cf=typeof WeakSet=="function"?WeakSet:Set,Ve=null,ro=!1,_r=!1,ps=!1,Xc=!1;function Cm(e,t,o){if(e=e.containerInfo,bu=zn,e=hp(e),Ol(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var r=a.getSelection&&a.getSelection();if(r&&r.rangeCount!==0){a=r.anchorNode;var i=r.anchorOffset,c=r.focusNode;r=r.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break e}var d=0,g=-1,v=-1,S=0,R=0,m=e,x=null;t:for(;;){for(var O;m!==a||i!==0&&m.nodeType!==3||(g=d+i),m!==c||r!==0&&m.nodeType!==3||(v=d+r),m.nodeType===3&&(d+=m.nodeValue.length),(O=m.firstChild)!==null;)x=m,m=O;for(;;){if(m===e)break t;if(x===a&&++S===i&&(g=d),x===c&&++R===r&&(v=d),(O=m.nextSibling)!==null)break;m=x,x=m.parentNode}m=O}a=g===-1||v===-1?null:{start:g,end:v}}else a=null}a=a||{start:0,end:0}}else a=null;for(vu={focusedElem:e,selectionRange:a},zn=!1,o=(o&335544064)===o,Ve=t,t=o?9270:1024;Ve!==null;){if(e=Ve,o&&(a=e.deletions,a!==null))for(i=0;i<a.length;i++)o&&qc(a[i]);if(e.alternate===null&&(e.flags&2)!==0)o&&of(e),fs(o);else{if(e.tag===22){if(a=e.alternate,e.memoizedState!==null){a!==null&&a.memoizedState===null&&o&&qc(a),fs(o);continue}else if(a!==null&&a.memoizedState!==null){o&&of(e),fs(o);continue}}a=e.child,(e.subtreeFlags&t)!==0&&a!==null?(a.return=e,Ve=a):(o&&rf(e),fs(o))}}xt=null}function fs(e){for(;Ve!==null;){var t=Ve,o=e,a=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((r&1024)!==0&&a!==null){o=void 0,r=a.memoizedProps,a=a.memoizedState;var i=t.stateNode;try{var c=Oa(t.type,r);o=i.getSnapshotBeforeUpdate(c,a),i.__reactInternalSnapshotBeforeUpdate=o}catch(d){ue(t,t.return,d)}}break;case 3:if((r&1024)!==0){if(a=t.stateNode.containerInfo,o=a.nodeType,o===9)_u(a);else if(o===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":_u(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:o&&a!==null&&(o=bo(a.memoizedProps,a.stateNode),r=t.memoizedProps,r=vo(r.default,r.update),r!=="none"&&mn(a,o,r,a.memoizedState=[],!0));break;default:if((r&1024)!==0)throw Error(p(163))}if(a=t.sibling,a!==null){a.return=t.return,Ve=a;break}Ve=t.return}}function uf(e,t,o){var a=o.flags;switch(o.tag){case 0:case 11:case 15:io(e,o),a&4&&Tr(5,o);break;case 1:if(io(e,o),a&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(c){ue(o,o.return,c)}else{var r=Oa(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(c){ue(o,o.return,c)}}a&64&&J1(o),a&512&&to(o,o.return);break;case 3:if(io(e,o),a&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{qp(e,t)}catch(c){ue(o,o.return,c)}}break;case 27:t===null&&a&4&&tf(o);case 26:case 5:io(e,o),t===null&&a&4&&Lc(o),a&512&&to(o,o.return);break;case 12:io(e,o);break;case 31:io(e,o),a&4&&gf(e,o);break;case 13:io(e,o),a&4&&hf(e,o),a&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=Nm.bind(null,o),h5(e,o))));break;case 22:if(a=o.memoizedState!==null||je,!a){var i=t!==null&&t.memoizedState!==null||le;t=je,r=le,je=a,(le=i)&&!r?(a=2,(o.subtreeFlags&8772)!==0&&(a|=1),jt(e,o,a)):io(e,o),je=t,le=r}break;case 30:io(e,o),a&512&&to(o,o.return);break;case 7:a&512&&to(o,o.return);default:io(e,o)}}function Kc(e,t){for(e=e.child;e!==null;)df(e,t),e=e.sibling}function df(e,t){switch(e.tag){case 5:case 26:try{var o=e.stateNode;if(t){var a=o.style;typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}else{var r=e.stateNode,i=e.memoizedProps.style,c=i!=null&&i.hasOwnProperty("display")?i.display:null;r.style.display=c==null||typeof c=="boolean"?"":(""+c).trim()}}catch(g){ue(e,e.return,g)}Zc(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,re=!0}catch(g){ue(e,e.return,g)}break;case 18:try{var d=e.stateNode;t?n0(d,!0):n0(e.stateNode,!1)}catch(g){ue(e,e.return,g)}break;case 22:case 23:e.memoizedState===null&&Kc(e,t);break;default:Kc(e,t)}}function Zc(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var o=e,a=t;switch(o.tag){case 4:df(o,a);break e;case 22:o.memoizedState===null&&Zc(o,a);break e;default:Zc(o,a)}}e=e.sibling}}function pf(e){var t=e.alternate;t!==null&&(e.alternate=null,pf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&vi(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ae=null,ut=!1;function Lt(e,t,o){for(o=o.child;o!==null;)ff(e,t,o),o=o.sibling}function ff(e,t,o){if(ht&&typeof ht.onCommitFiberUnmount=="function")try{ht.onCommitFiberUnmount(Kn,o)}catch{}switch(o.tag){case 26:le||Ke(o,t),Lt(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&!le&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:le||Ke(o,t),Cr(o);var a=Ae,r=ut;ta(o.type)&&(Ae=o.stateNode,ut=!1),Lt(e,t,o),y0(o.stateNode,o.type,o.memoizedProps),Ae=a,ut=r;break;case 5:le||Ke(o,t),Cr(o);case 6:if(o.tag===6&&Cr(o),a=Ae,r=ut,Ae=null,Lt(e,t,o),Ae=a,ut=r,Ae!==null)if(ut)try{(Ae.nodeType===9?Ae.body:Ae.nodeName==="HTML"?Ae.ownerDocument.body:Ae).removeChild(o.stateNode),re=!0}catch(i){ue(o,t,i)}else try{Ae.removeChild(o.stateNode),re=!0}catch(i){ue(o,t,i)}break;case 18:Ae!==null&&(ut?(e=Ae,a0(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),Un(e)):a0(Ae,o.stateNode));break;case 4:a=Ae,r=ut,Ae=o.stateNode.containerInfo,ut=!0,Lt(e,t,o),Ae=a,ut=r;break;case 0:case 11:case 14:case 15:Ko(2,o,t),le||Ko(4,o,t),Lt(e,t,o);break;case 1:le||(Ke(o,t),a=o.stateNode,typeof a.componentWillUnmount=="function"&&W1(o,t,a)),Lt(e,t,o);break;case 21:Lt(e,t,o);break;case 22:le=(a=le)||o.memoizedState!==null,Lt(e,t,o),le=a;break;case 30:Ke(o,t),Lt(e,t,o);break;case 7:le||Ke(o,t),Lt(e,t,o);break;default:Lt(e,t,o)}}function gf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Un(e)}catch(o){ue(t,t.return,o)}}}function hf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Un(e)}catch(o){ue(t,t.return,o)}}function _m(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new cf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new cf),t;default:throw Error(p(435,e.tag))}}function gs(e,t){var o=_m(e);t.forEach(function(a){if(!o.has(a)){o.add(a);var r=Lm.bind(null,e,a);a.then(r,r)}})}function at(e,t,o){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r],c=e,d=t,g=d;e:for(;g!==null;){switch(g.tag){case 27:if(ta(g.type)){Ae=g.stateNode,ut=!1;break e}break;case 5:Ae=g.stateNode,ut=!1;break e;case 3:case 4:Ae=g.stateNode.containerInfo,ut=!0;break e}g=g.return}if(Ae===null)throw Error(p(160));ff(c,d,i),Ae=null,ut=!1,c=i.alternate,c!==null&&(c.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)mf(t,e,o),t=t.sibling}var Pt=null;function mf(e,t,o){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(r&4&&(a=e.updateQueue,a=a!==null?a.events:null,a!==null))for(var i=0;i<a.length;i++){var c=a[i];c.ref.impl=c.nextImpl}at(t,e,o),nt(e),r&4&&(Ko(3,e,e.return),Tr(3,e),Ko(5,e,e.return));break;case 1:at(t,e,o),nt(e),r&512&&(le||a===null||Ke(a,a.return)),r&64&&je&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?t:o.concat(t))));break;case 26:if(i=Pt,at(t,e,o),nt(e),r&512&&(le||a===null||Ke(a,a.return)),r&4)if(r=a!==null?a.memoizedState:null,o=e.memoizedState,a===null)if(o===null)if(e.stateNode===null)if(je)e.stateNode=e0(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,o=e.memoizedProps,r=i.ownerDocument||i;t:switch(t){case"title":a=r.getElementsByTagName("title")[0],(!a||a[Jn]||a[Ge]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=r.createElement(t),r.head.insertBefore(a,r.querySelector("head > title"))),Ze(a,t,o),a[Ge]=e,Le(a),t=a;break e;case"link":if(i=_0("link","href",r).get(t+(o.href||""))){for(c=0;c<i.length;c++)if(a=i[c],a.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&a.getAttribute("rel")===(o.rel==null?null:o.rel)&&a.getAttribute("title")===(o.title==null?null:o.title)&&a.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){i.splice(c,1);break t}}a=r.createElement(t),Ze(a,t,o),r.head.appendChild(a);break;case"meta":if(i=_0("meta","content",r).get(t+(o.content||""))){for(c=0;c<i.length;c++)if(a=i[c],a.getAttribute("content")===(o.content==null?null:""+o.content)&&a.getAttribute("name")===(o.name==null?null:o.name)&&a.getAttribute("property")===(o.property==null?null:o.property)&&a.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&a.getAttribute("charset")===(o.charSet==null?null:o.charSet)){i.splice(c,1);break t}}a=r.createElement(t),Ze(a,t,o),r.head.appendChild(a);break;default:throw Error(p(468,t))}a[Ge]=e,Le(a),t=a}e.stateNode=t}else je||Du(i,e.type,e.stateNode);else e.stateNode=C0(i,o,e.memoizedProps);else r!==o?(r===null?(t=a.stateNode,t===null||le||t.parentNode.removeChild(t)):r.count--,o===null?je||Du(i,e.type,e.stateNode):C0(i,o,e.memoizedProps)):o===null&&e.stateNode!==null&&Pc(e,e.memoizedProps,a.memoizedProps);break;case 27:at(t,e,o),nt(e),r&512&&(le||a===null||Ke(a,a.return)),a!==null&&r&4&&Pc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(i=no,no=!1,at(t,e,o),no=i,nt(e),r&512&&(le||a===null||Ke(a,a.return)),e.flags&32){t=e.stateNode;try{Ja(t,""),re=!0}catch(S){ue(e,e.return,S)}}r&4&&e.stateNode!=null&&(t=e.memoizedProps,Pc(e,t,a!==null?a.memoizedProps:t)),r&1024&&(Yc=!0);break;case 6:if(at(t,e,o),nt(e),r&4){if(e.stateNode===null)throw Error(p(162));t=e.memoizedProps,o=e.stateNode;try{o.nodeValue=t,re=!0}catch(S){ue(e,e.return,S)}}break;case 3:if(re=!1,Ms=null,i=Pt,Pt=zr(t.containerInfo),at(t,e,o),Pt=i,nt(e),r&4&&a!==null&&a.memoizedState.isDehydrated)try{Un(t.containerInfo)}catch(S){ue(e,e.return,S)}Yc&&(Yc=!1,bf(e)),re=!1;break;case 4:r=no,no=je,a=jd(),i=Pt,Pt=zr(e.stateNode.containerInfo),at(t,e,o),nt(e),Pt=i,re&&_r&&(ps=!0),re=a,no=r;break;case 12:at(t,e,o),nt(e);break;case 31:at(t,e,o),nt(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,gs(e,t)));break;case 13:at(t,e,o),nt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(bs=gt()),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,gs(e,t)));break;case 22:i=e.memoizedState!==null,c=a!==null&&a.memoizedState!==null;var d=je,g=le,v=no;je=d||i,no=v||i,le=g||c,at(t,e,o),le=g,no=v,je=d,nt(e),r&8192&&(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,!i||a===null||c||je||le||(t=c||le,o=je,a=le,je=i||je,le=t,Zo(e,2),je=o,le=a),!i&&no||Kc(e,i)),r&4&&(t=e.updateQueue,t!==null&&(o=t.retryQueue,o!==null&&(t.retryQueue=null,gs(e,o))));break;case 19:at(t,e,o),nt(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,gs(e,t)));break;case 30:r&512&&(le||a===null||Ke(a,a.return)),r=jd(),i=_r,c=(o&335544064)===o,d=e.memoizedProps,_r=c&&vo(d.default,d.update)!=="none",at(t,e,o),nt(e),c&&a!==null&&re&&(e.flags|=4),_r=i,re=r;break;case 21:break;case 7:r&512&&(le||a===null||Ke(a,a.return)),a&&a.stateNode!==null&&(a.stateNode._fragmentFiber=e);default:at(t,e,o),nt(e)}}function nt(e){var t=e.flags;if(t&2){try{for(var o,a=e.return;a!==null;){if(ef(a)){o=a;break}a=a.return}a=null;for(var r=e.return;r!==null;){if(Nc(r)){var i=r.stateNode;a===null?a=[i]:a.push(i)}if(Uc(r))break;r=r.return}var c=a;if(o==null)throw Error(p(160));switch(o.tag){case 27:var d=o.stateNode;ls(e,jc(e),d,c);break;case 5:var g=o.stateNode;o.flags&32&&(Ja(g,""),o.flags&=-33),ls(e,jc(e),g,c);break;case 3:case 4:var v=o.stateNode.containerInfo;Vc(e,jc(e),v,c);break;default:throw Error(p(161))}}catch(S){ue(e,e.return,S)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bf(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,zn=!0,t.reset(),zn=!1),e=e.sibling}}function bn(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)vf(t,e),t=t.sibling;else lf(t,!1)}function vf(e,t){var o=e.alternate;if(o===null)Bc(e,!1);else switch(e.tag){case 3:if(Xc=ro=!1,af(),bn(t,e),!ro&&!ps){if(e=oo,e!==null)for(var a=0;a<e.length;a+=3){o=e[a];var r=e[a+1];i0(o,e[a+2]),o=o.ownerDocument.documentElement,o!==null&&o.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+r+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Xc=!0}oo=null;break;case 5:bn(t,e);break;case 4:a=ro,ro=!1,bn(t,e),ro&&(ps=!0),ro=a;break;case 22:e.memoizedState===null&&(o.memoizedState!==null?Bc(e,!1):bn(t,e));break;case 30:a=ro,r=af(),ro=!1,bn(t,e),ro&&(e.flags|=4);var i=e.memoizedProps,c=e.stateNode;t=bo(i,c),c=bo(o.memoizedProps,c);var d=vo(i.default,i.update);d==="none"?t=!1:(i=o.memoizedState,o.memoizedState=null,o=e.child,ct=0,t=Fc(e,o,t,c,d,i,!0),ct!==(i===null?0:i.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(Cn(e,e.memoizedProps.onUpdate),oo=r):r!==null&&(r.push.apply(r,oo),oo=r),ro=(e.flags&32)!==0?!0:a;break;default:bn(t,e)}}function io(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)uf(e,t.alternate,t),t=t.sibling}function Zo(e,t){for(e=e.child;e!==null;){var o=e,a=t;switch(o.tag){case 0:case 11:case 14:case 15:Ko(4,o,o.return),Zo(o,a);break;case 1:Ke(o,o.return);var r=o.stateNode;typeof r.componentWillUnmount=="function"&&W1(o,o.return,r),Zo(o,a);break;case 27:(a&2)!==0&&y0(o.stateNode,o.type,o.memoizedProps);case 5:Ke(o,o.return),o.tag!==5&&o.tag!==27||Cr(o),Zo(o,a);break;case 6:Cr(o);break;case 26:Ke(o,o.return),r=o.stateNode,o.memoizedState!==null||r===null||le||r.parentNode.removeChild(r),Zo(o,a);break;case 22:o.memoizedState===null&&Zo(o,a);break;case 30:Ke(o,o.return),Zo(o,a);break;case 7:Ke(o,o.return);default:Zo(o,a)}e=e.sibling}}function jt(e,t,o){for(o=(t.subtreeFlags&8772)!==0?o:o&-2,t=t.child;t!==null;){var a=t.alternate,r=e,i=t,c=i.flags,d=(o&1)!==0;switch(i.tag){case 0:case 11:case 15:jt(r,i,o),Tr(4,i);break;case 1:if(jt(r,i,o),a=i,r=a.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(S){ue(a,a.return,S)}if(a=i,r=a.updateQueue,r!==null){var g=a.stateNode;try{var v=r.shared.hiddenCallbacks;if(v!==null)for(r.shared.hiddenCallbacks=null,r=0;r<v.length;r++)Hp(v[r],g)}catch(S){ue(a,a.return,S)}}d&&c&64&&J1(i),to(i,i.return);break;case 27:(o&2)!==0&&tf(i);case 5:i.tag!==5&&i.tag!==27||$1(i),jt(r,i,o),d&&a===null&&c&4&&Lc(i),to(i,i.return);break;case 6:$1(i);break;case 26:g=i.stateNode,i.memoizedState!==null||g===null||je||Du(zr(g.ownerDocument),i.type,g),jt(r,i,o),d&&a===null&&c&4&&Lc(i),to(i,i.return);break;case 12:jt(r,i,o);break;case 31:jt(r,i,o),d&&c&4&&gf(r,i);break;case 13:jt(r,i,o),d&&c&4&&hf(r,i);break;case 22:i.memoizedState===null&&jt(r,i,o),to(i,i.return);break;case 30:jt(r,i,o),to(i,i.return);break;case 7:to(i,i.return);default:jt(r,i,o)}t=t.sibling}}function Qc(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&ur(o))}function Jc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ur(e))}function Rt(e,t,o,a){var r=(o&335544064)===o;if(t.subtreeFlags&(r?10262:10256))for(t=t.child;t!==null;)yf(e,t,o,a),t=t.sibling;else r&&sf(t)}function yf(e,t,o,a){var r=(o&335544064)===o;r&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&ds(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:Rt(e,t,o,a),i&2048&&Tr(9,t);break;case 1:Rt(e,t,o,a);break;case 3:Rt(e,t,o,a),r&&Xc&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),i&2048&&(i=null,t.alternate!==null&&(i=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==i&&(t.refCount++,i!=null&&ur(i)));break;case 12:if(i&2048){Rt(e,t,o,a),i=t.stateNode;try{var c=t.memoizedProps,d=c.id,g=c.onPostCommit;typeof g=="function"&&g(d,t.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(v){ue(t,t.return,v)}}else Rt(e,t,o,a);break;case 31:Rt(e,t,o,a);break;case 13:Rt(e,t,o,a);break;case 23:break;case 22:c=t.stateNode,d=t.alternate,t.memoizedState!==null?(r&&d!==null&&d.memoizedState===null&&ds(d),c._visibility&2?Rt(e,t,o,a):wr(e,t)):(r&&d!==null&&d.memoizedState!==null&&ds(t),c._visibility&2?Rt(e,t,o,a):(c._visibility|=2,vn(e,t,o,a,(t.subtreeFlags&10256)!==0||!1))),i&2048&&Qc(d,t);break;case 24:Rt(e,t,o,a),i&2048&&Jc(t.alternate,t);break;case 30:r&&(i=t.alternate,i!==null&&(ao(i.child,!0),ao(t.child,!0))),Rt(e,t,o,a);break;default:Rt(e,t,o,a)}}function vn(e,t,o,a,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,c=t,d=o,g=a,v=c.flags;switch(c.tag){case 0:case 11:case 15:vn(i,c,d,g,r),Tr(8,c);break;case 23:break;case 22:var S=c.stateNode;c.memoizedState!==null?S._visibility&2?vn(i,c,d,g,r):wr(i,c):(S._visibility|=2,vn(i,c,d,g,r)),r&&v&2048&&Qc(c.alternate,c);break;case 24:vn(i,c,d,g,r),r&&v&2048&&Jc(c.alternate,c);break;default:vn(i,c,d,g,r)}t=t.sibling}}function wr(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,a=t,r=a.flags;switch(a.tag){case 22:wr(o,a),r&2048&&Qc(a.alternate,a);break;case 24:wr(o,a),r&2048&&Jc(a.alternate,a);break;default:wr(o,a)}t=t.sibling}}var za=8192;function Ua(e,t,o){if(e.subtreeFlags&za)for(e=e.child;e!==null;)xf(e,t,o),e=e.sibling}function xf(e,t,o){switch(e.tag){case 26:Ua(e,t,o),e.flags&za&&(e.memoizedState!==null?M5(o,Pt,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&M0(o,e)));break;case 5:Ua(e,t,o),e.flags&za&&(e=e.stateNode,(t&335544128)===t&&M0(o,e));break;case 3:case 4:var a=Pt;Pt=zr(e.stateNode.containerInfo),Ua(e,t,o),Pt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=za,za=16777216,Ua(e,t,o),za=a):Ua(e,t,o));break;case 30:if((e.flags&za)!==0&&(a=e.memoizedProps.name,a!=null&&a!=="auto")){var r=e.stateNode;r.paired=null,xt===null&&(xt=new Map),xt.set(a,r)}Ua(e,t,o);break;default:Ua(e,t,o)}}function Sf(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Er(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var a=t[o];Ve=a,Tf(a,e)}Sf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Af(e),e=e.sibling}function Af(e){switch(e.tag){case 0:case 11:case 15:Er(e),e.flags&2048&&Ko(9,e,e.return);break;case 3:Er(e);break;case 12:Er(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,hs(e)):Er(e);break;default:Er(e)}}function hs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var a=t[o];Ve=a,Tf(a,e)}Sf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ko(8,t,t.return),hs(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,hs(t));break;default:hs(t)}e=e.sibling}}function Tf(e,t){for(;Ve!==null;){var o=Ve;switch(o.tag){case 0:case 11:case 15:Ko(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var a=o.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:ur(o.memoizedState.cache)}if(a=o.child,a!==null)a.return=o,Ve=a;else e:for(o=e;Ve!==null;){a=Ve;var r=a.sibling,i=a.return;if(pf(a),a===o){Ve=null;break e}if(r!==null){r.return=i,Ve=r;break e}Ve=i}}}var wm={getCacheForType:function(e){var t=Fe(Re),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return Fe(Re).controller.signal}},Em=typeof WeakMap=="function"?WeakMap:Map,se=0,me=null,$=null,te=0,ce=0,St=null,Qo=!1,yn=!1,Wc=!1,Eo=0,Ee=0,Jo=0,Na=0,ms=0,At=0,xn=0,kr=null,dt=null,$c=!1,bs=0,Cf=0,vs=1/0,ys=null,Wo=null,Ce=0,Vt=null,La=null,so=0,eu=0,tu=null,_f=null,Sn=null,An=null,Tn=null,Mr=0,xs=null;function It(){return(se&2)!==0&&te!==0?te&-te:H.T!==null?du():Rd()}function wf(){if(At===0)if((te&536870912)===0||J){var e=fi;fi<<=1,(fi&3932160)===0&&(fi=262144),At=e}else At=536870912;return e=Ye.current,e!==null&&(e.flags|=32),At}function Cn(e,t){if(t!=null){var o=e.stateNode,a=o.ref;a===null&&(a=o.ref=l0(bo(e.memoizedProps,o))),An===null&&(An=[]),An.push(t.bind(null,a))}}function pt(e,t,o){(e===me&&(ce===2||ce===9)||e.cancelPendingCommit!==null)&&(_n(e,0),$o(e,te,At,!1)),mi(e,o),((se&2)===0||e!==me)&&(e===me&&((se&2)===0&&(Na|=o),Ee===4&&$o(e,te,At,!1)),ko(e))}function Ef(e,t,o){if((se&6)!==0)throw Error(p(327));var a=!o&&(t&127)===0&&(t&e.expiredLanes)===0||Zn(e,t),r=a?Rm(e,t):au(e,t,!0),i=a;do{if(r===0){yn&&!a&&$o(e,t,0,!1);break}else{if(o=e.current.alternate,i&&!km(o)){r=au(e,t,!1),i=!1;continue}if(r===2){if(i=t,e.errorRecoveryDisabledLanes&i)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;e:{var d=e;r=kr;var g=d.current.memoizedState.isDehydrated;if(g&&(_n(d,c).flags|=256),c=au(d,c,!1),c!==2&&c!==6){if(Wc&&!g){d.errorRecoveryDisabledLanes|=i,Na|=i,r=4;break e}i=dt,dt=r,i!==null&&(dt===null?dt=i:dt.push.apply(dt,i))}r=c}if(i=!1,r!==2)continue}}if(r===1){_n(e,0),$o(e,t,0,!0);break}e:{switch(a=e,i=r,i){case 0:case 1:throw Error(p(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:$o(a,t,At,!Qo);break e;case 2:dt=null;break;case 3:case 5:break;default:throw Error(p(329))}if((t&62914560)===t&&(r=bs+300-gt(),10<r)){if($o(a,t,At,!Qo),hi(a,0,!0)!==0)break e;so=t,a.timeoutHandle=Su(kf.bind(null,a,o,dt,ys,$c,t,At,Na,xn,Qo,i,"Throttled",-0,0),r);break e}kf(a,o,dt,ys,$c,t,At,Na,xn,Qo,i,null,-0,0)}}break}while(!0);ko(e)}function kf(e,t,o,a,r,i,c,d,g,v,S,R,m,x){e.timeoutHandle=-1;var O=t.subtreeFlags,L=(i&335544064)===i;if(R=null,(L||O&8192||(O&16785408)===16785408)&&(R={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Wt},xt=null,xf(t,i,R),L&&(O=R,L=e.containerInfo,L=(L.nodeType===9?L:L.ownerDocument).__reactViewTransition,L!=null&&(O.count++,O.waitingForViewTransition=!0,O=Lr.bind(O),L.finished.then(O,O))),O=(i&62914560)===i?bs-gt():(i&4194048)===i?Cf-gt():0,O=R5(R,O),O!==null)){so=i,e.cancelPendingCommit=O(Nf.bind(null,e,t,i,o,a,r,c,d,g,v,S,R,null,m,x)),$o(e,i,c,!v);return}Nf(e,t,i,o,a,r,c,d,g,v,S,R)}function km(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var a=0;a<o.length;a++){var r=o[a],i=r.getSnapshot;r=r.value;try{if(!vt(i(),r))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function $o(e,t,o,a){t=Cd(e,t),t&=~ms,t&=~Na,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var r=t;0<r;){var i=31-mt(r),c=1<<i;a[i]=-1,r&=~c}o!==0&&wd(e,o,t)}function Ss(){return(se&6)===0?(Rr(0,!1),!1):!0}function ou(){if($!==null){if(ce===0)var e=$.return;else e=$,So=Aa=null,uc(e),dn=null,fr=0,e=$;for(;e!==null;)Q1(e.alternate,e),e=e.return;$=null}}function _n(e,t){var o=e.timeoutHandle;return o!==-1&&(e.timeoutHandle=-1,Qm(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),so=0,ou(),me=e,$=o=yo(e.current,null),te=t,ce=0,St=null,Qo=!1,yn=Zn(e,t),Wc=!1,xn=At=ms=Na=Jo=Ee=0,dt=kr=null,$c=!1,Eo=Cd(e,t),Mi(),o}function Mf(e,t){Y=null,H.H=es,t===un||t===Vi?(t=Pp(),ce=3):t===Jl?(t=Pp(),ce=4):ce=t===_c?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,St=t,$===null&&(Ee=1,ts(e,wt(t,e.current)))}function Rf(){var e=Ye.current;return e===null?!0:(te&4194048)===te?Je===null:(te&62914560)===te||(te&536870912)!==0?e===Je:!1}function If(){var e=H.H;return H.H=es,e===null?es:e}function Df(){var e=H.A;return H.A=wm,e}function As(){Ee=4,Qo||(te&4194048)!==te&&Ye.current!==null||(yn=!0),(Jo&134217727)===0&&(Na&134217727)===0||me===null||$o(me,te,At,!1)}function au(e,t,o){var a=se;se|=2;var r=If(),i=Df();(me!==e||te!==t)&&(ys=null,_n(e,t)),t=!1;var c=Ee;e:do try{if(ce!==0&&$!==null){var d=$,g=St;switch(ce){case 8:ou(),c=6;break e;case 3:case 2:case 9:case 6:Ye.current===null&&(t=!0);var v=ce;if(ce=0,St=null,wn(e,d,g,v),o&&yn){c=0;break e}break;default:v=ce,ce=0,St=null,wn(e,d,g,v)}}Mm(),c=Ee;break}catch(S){Mf(e,S)}while(!0);return t&&e.shellSuspendCounter++,So=Aa=null,se=a,H.H=r,H.A=i,$===null&&(me=null,te=0,Mi()),c}function Mm(){for(;$!==null;)Of($)}function Rm(e,t){var o=se;se|=2;var a=If(),r=Df();me!==e||te!==t?(ys=null,vs=gt()+500,_n(e,t)):yn=Zn(e,t);e:do try{if(ce!==0&&$!==null){t=$;var i=St;t:switch(ce){case 1:ce=0,St=null,wn(e,t,i,1);break;case 2:case 9:if(Np(i)){ce=0,St=null,zf(t);break}t=function(){ce!==2&&ce!==9||me!==e||(ce=7),ko(e)},i.then(t,t);break e;case 3:ce=7;break e;case 4:ce=5;break e;case 7:Np(i)?(ce=0,St=null,zf(t)):(ce=0,St=null,wn(e,t,i,7));break;case 5:var c=null;switch($.tag){case 26:c=$.memoizedState;case 5:case 27:var d=$;if(c?E0(c):d.stateNode.complete){ce=0,St=null;var g=d.sibling;if(g!==null)$=g;else{var v=d.return;v!==null?($=v,Ts(v)):$=null}break t}}ce=0,St=null,wn(e,t,i,5);break;case 6:ce=0,St=null,wn(e,t,i,6);break;case 8:ou(),Ee=6;break e;default:throw Error(p(462))}}Im();break}catch(S){Mf(e,S)}while(!0);return So=Aa=null,H.H=a,H.A=r,se=o,$!==null?0:(me=null,te=0,Mi(),Ee)}function Im(){for(;$!==null&&!ah();)Of($)}function Of(e){var t=K1(e.alternate,e,Eo);e.memoizedProps=e.pendingProps,t===null?Ts(e):$=t}function zf(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=B1(o,t,t.pendingProps,t.type,void 0,te);break;case 11:t=B1(o,t,t.pendingProps,t.type.render,t.ref,te);break;case 5:uc(t);var a=t;a===Pe&&(J?(Ui(a),a.tag===5&&a.stateNode!=null&&(ye=a.stateNode)):(Ui(a),J=!0));default:Q1(o,t),t=$=_p(t,Eo),t=K1(o,t,Eo)}e.memoizedProps=e.pendingProps,t===null?Ts(e):$=t}function wn(e,t,o,a){So=Aa=null,uc(t),dn=null,fr=0;var r=t.return;try{if(vm(e,r,t,o,te)){Ee=1,ts(e,wt(o,e.current)),$=null;return}}catch(i){if(r!==null)throw $=r,i;Ee=1,ts(e,wt(o,e.current)),$=null;return}t.flags&32768?(J||a===1?e=!0:yn||(te&536870912)!==0?e=!1:(Qo=e=!0,(a===2||a===9||a===3||a===6)&&(a=Ye.current,a!==null&&a.tag===13&&(a.flags|=16384))),Uf(t,e)):Ts(t)}function Ts(e){var t=e;do{if((t.flags&32768)!==0){Uf(t,Qo);return}e=t.return;var o=Am(t.alternate,t,Eo);if(o!==null){$=o;return}if(t=t.sibling,t!==null){$=t;return}$=t=e}while(t!==null);Ee===0&&(Ee=5)}function Uf(e,t){do{var o=Tm(e.alternate,e);if(o!==null){o.flags&=32767,$=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){$=e;return}$=e=o}while(e!==null);Ee=6,$=null}function Nf(e,t,o,a,r,i,c,d,g,v,S,R){e.cancelPendingCommit=null;do Cs();while(Ce!==0);if((se&6)!==0)throw Error(p(327));if(t!==null){if(t===e.current)throw Error(p(177));e===me&&($=me=null,te=0),La=t,Vt=e,so=o,tu=r,_f=a,Dm(e,t,o,c,d,g,R)}}function Dm(e,t,o,a,r,i,c){var d=t.lanes|t.childLanes;if(eu=d,d|=Pl,fh(e,o,d,a,r,i),An=null,(o&335544064)===o?(Tn=am(e),a=10262):(Tn=null,a=10256),(t.subtreeFlags&a)!==0||(t.flags&a)!==0?(e.callbackNode=null,e.callbackPriority=0,Pm(di,function(){return su(),null})):(e.callbackNode=null,e.callbackPriority=0),cs=!1,a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=H.T,H.T=null,r=ie.p,ie.p=2,i=se,se|=4;try{Cm(e,t,o)}finally{se=i,ie.p=r,H.T=a}}Ce=1,cs?Sn=o5(c,e.containerInfo,Tn,nu,ru,zm,iu,su,Om,null,null):(nu(),ru(),iu())}function Om(e){if(Ce!==0){var t=Vt.onRecoverableError;t(e,{componentStack:null})}}function zm(){Ce===3&&(Ce=0,vf(La,Vt),Ce=4)}function nu(){if(Ce===1){Ce=0;var e=Vt,t=La,o=so,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=H.T,H.T=null;var r=ie.p;ie.p=2;var i=se;se|=4;try{_r=ps=!1,mf(t,e,o),o=vu;var c=hp(e.containerInfo),d=o.focusedElem,g=o.selectionRange;if(c!==d&&d&&d.ownerDocument&&gp(d.ownerDocument.documentElement,d)){if(g!==null&&Ol(d)){var v=g.start,S=g.end;if(S===void 0&&(S=v),"selectionStart"in d)d.selectionStart=v,d.selectionEnd=Math.min(S,d.value.length);else{var R=d.ownerDocument||document,m=R&&R.defaultView||window;if(m.getSelection){var x=m.getSelection(),O=d.textContent.length,L=Math.min(g.start,O),X=g.end===void 0?L:Math.min(g.end,O);!x.extend&&L>X&&(c=X,X=L,L=c);var b=fp(d,L),h=fp(d,X);if(b&&h&&(x.rangeCount!==1||x.anchorNode!==b.node||x.anchorOffset!==b.offset||x.focusNode!==h.node||x.focusOffset!==h.offset)){var y=R.createRange();y.setStart(b.node,b.offset),x.removeAllRanges(),L>X?(x.addRange(y),x.extend(h.node,h.offset)):(y.setEnd(h.node,h.offset),x.addRange(y))}}}}for(R=[],x=d;x=x.parentNode;)x.nodeType===1&&R.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<R.length;d++){var k=R[d];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}zn=!!bu,vu=bu=null}finally{se=i,ie.p=r,H.T=a}}e.current=t,Ce=2}}function ru(){if(Ce===2){Ce=0;var e=Vt,t=La,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=H.T,H.T=null;var a=ie.p;ie.p=2;var r=se;se|=4;try{uf(e,t.alternate,t)}finally{se=r,ie.p=a,H.T=o}}Ce=3}}function iu(){if(Ce===4||Ce===3){Ce=0;var e=Sn;Sn=null,nh();var t=Vt,o=La,a=so,r=_f,i=(a&335544064)===a?10262:10256;if((o.subtreeFlags&i)!==0||(o.flags&i)!==0?Ce=5:(Ce=0,La=Vt=null,Lf(t,t.pendingLanes)),i=t.pendingLanes,i===0&&(Wo=null),hl(a),o=o.stateNode,ht&&typeof ht.onCommitFiberRoot=="function")try{ht.onCommitFiberRoot(Kn,o,void 0,(o.current.flags&128)===128)}catch{}if(r!==null){o=H.T,i=ie.p,ie.p=2,H.T=null;try{for(var c=t.onRecoverableError,d=0;d<r.length;d++){var g=r[d];c(g.value,{componentStack:g.stack})}}finally{H.T=o,ie.p=i}}if(r=An,c=Tn,Tn=null,r!==null&&(An=null,c===null&&(c=[]),e!==null))for(g=0;g<r.length;g++)o=(0,r[g])(c),o!==void 0&&e.finished.finally(o);(so&3)!==0&&Cs(),ko(t),i=t.pendingLanes,(a&261930)!==0&&(i&42)!==0?t===xs?Mr++:(Mr=0,xs=t):(Mr=0,xs=null),Rr(0,!1)}}function Lf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ur(t)))}function Cs(){return Sn!==null&&(Sn.skipTransition(),Sn=null),nu(),ru(),iu(),su()}function su(){if(Ce!==5)return!1;var e=Vt,t=eu;eu=0;var o=hl(so),a=H.T,r=ie.p;try{ie.p=32>o?32:o,H.T=null,o=tu,tu=null;var i=Vt,c=so;if(Ce=0,La=Vt=null,so=0,(se&6)!==0)throw Error(p(331));var d=se;if(se|=4,Af(i.current),yf(i,i.current,c,o),se=d,Rr(0,!1),ht&&typeof ht.onPostCommitFiberRoot=="function")try{ht.onPostCommitFiberRoot(Kn,i)}catch{}return!0}finally{ie.p=r,H.T=a,Lf(e,t)}}function Pf(e,t,o){t=wt(o,t),t=Cc(e.stateNode,t,2),e=Ia(e,t,2),e!==null&&(mi(e,2),ko(e))}function ue(e,t,o){if(e.tag===3)Pf(e,e,o);else for(;t!==null;){if(t.tag===3){Pf(t,e,o);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Wo===null||!Wo.has(a))){e=wt(o,e),o=O1(2),a=Ia(t,o,2),a!==null&&(z1(o,a,t,e),mi(a,2),ko(a));break}}t=t.return}}function lu(e,t,o){var a=e.pingCache;if(a===null){a=e.pingCache=new Em;var r=new Set;a.set(t,r)}else r=a.get(t),r===void 0&&(r=new Set,a.set(t,r));r.has(o)||(Wc=!0,r.add(o),e=Um.bind(null,e,t,o),t.then(e,e))}function Um(e,t,o){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,me===e&&(te&o)===o&&((Ee===4||Ee===3&&(te&62914560)===te&&300>gt()-bs)&&(se&2)===0?_n(e,0):ms|=o,xn===te&&(xn=0)),ko(e)}function jf(e,t){t===0&&(t=_d()),e=ya(e,t),e!==null&&(mi(e,t),ko(e))}function Nm(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),jf(e,o)}function Lm(e,t){var o=0;switch(e.tag){case 31:case 13:var a=e.stateNode,r=e.memoizedState;r!==null&&(o=r.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(p(314))}a!==null&&a.delete(t),jf(e,o)}function Pm(e,t){return pl(e,t)}var En=null,kn=null,cu=!1,_s=!1,uu=!1,ea=0;function ko(e){e!==kn&&e.next===null&&(kn===null?En=kn=e:kn=kn.next=e),_s=!0,cu||(cu=!0,Vm())}function Rr(e,t){if(!uu&&_s){uu=!0;do for(var o=!1,a=En;a!==null;){if(!t)if(e!==0){var r=a.pendingLanes;if(r===0)var i=0;else{var c=a.suspendedLanes,d=a.pingedLanes;i=(1<<31-mt(42|e)+1)-1,i&=r&~(c&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(o=!0,qf(a,i))}else i=te,i=hi(a,a===me?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Zn(a,i)||(o=!0,qf(a,i));a=a.next}while(o);uu=!1}}function jm(){Vf()}function Vf(){_s=cu=!1;var e=0;ea!==0&&Zm()&&(e=ea);for(var t=gt(),o=null,a=En;a!==null;){var r=a.next,i=Bf(a,t);i===0?(a.next=null,o===null?En=r:o.next=r,r===null&&(kn=o)):(o=a,(e!==0||(i&3)!==0)&&(_s=!0)),a=r}Ce!==0&&Ce!==5||Rr(e,!1),ea!==0&&(ea=0)}function Bf(e,t){for(var o=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var c=31-mt(i),d=1<<c,g=r[c];g===-1?((d&o)===0||(d&a)!==0)&&(r[c]=ph(d,t)):g<=t&&(e.expiredLanes|=d),i&=~d}if(t=me,o=te,o=hi(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,o===0||e===t&&(ce===2||ce===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&fl(a),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||Zn(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(a!==null&&fl(a),hl(o)){case 2:case 8:o=Ad;break;case 32:o=di;break;case 268435456:o=Td;break;default:o=di}return a=Hf.bind(null,e),o=pl(o,a),e.callbackPriority=t,e.callbackNode=o,t}return a!==null&&a!==null&&fl(a),e.callbackPriority=2,e.callbackNode=null,2}function Hf(e,t){if(Ce!==0&&Ce!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Cs()&&e.callbackNode!==o)return null;var a=te;return a=hi(e,e===me?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Ef(e,a,t),Bf(e,gt()),e.callbackNode!=null&&e.callbackNode===o?Hf.bind(null,e):null)}function qf(e,t){if(Cs())return null;Ef(e,t,!0)}function Vm(){Jm(function(){(se&6)!==0?pl(Sd,jm):Vf()})}function du(){if(ea===0){var e=_a;e===0&&(e=pi,pi<<=1,(pi&261888)===0&&(pi=256)),ea=e}return ea}function Gf(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Si(e)}function Bm(e,t,o,a,r){if(t==="submit"&&o&&o.stateNode===r){var i=Gf((r[st]||null).action),c=a.submitter;c&&(t=(t=c[st]||null)?Gf(t.formAction):c.getAttribute("formAction"),t!==null&&(i=t,c=null));var d=new _i("action","action",null,a,r);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ea!==0){var g=new FormData(r,c);yc(o,{pending:!0,data:g,method:r.method,action:i},null,g)}}else typeof i=="function"&&(d.preventDefault(),g=new FormData(r,c),yc(o,{pending:!0,data:g,method:r.method,action:i},i,g))},currentTarget:r}]})}}for(var pu=0;pu<Ll.length;pu++){var fu=Ll[pu];Nt(fu.toLowerCase(),"on"+(fu[0].toUpperCase()+fu.slice(1)))}Nt(vp,"onAnimationEnd"),Nt(yp,"onAnimationIteration"),Nt(xp,"onAnimationStart"),Nt("dblclick","onDoubleClick"),Nt("focusin","onFocus"),Nt("focusout","onBlur"),Nt(Zh,"onTransitionRun"),Nt(Qh,"onTransitionStart"),Nt(Jh,"onTransitionCancel"),Nt(Sp,"onTransitionEnd"),Za("onMouseEnter",["mouseout","mouseover"]),Za("onMouseLeave",["mouseout","mouseover"]),Za("onPointerEnter",["pointerout","pointerover"]),Za("onPointerLeave",["pointerout","pointerover"]),ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Hm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ir));function Ff(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var a=e[o],r=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var c=a.length-1;0<=c;c--){var d=a[c],g=d.instance,v=d.currentTarget;if(d=d.listener,g!==i&&r.isPropagationStopped())break e;i=d,r.currentTarget=v;try{i(r)}catch(S){ki(S)}r.currentTarget=null,i=g}else for(c=0;c<a.length;c++){if(d=a[c],g=d.instance,v=d.currentTarget,d=d.listener,g!==i&&r.isPropagationStopped())break e;i=d,r.currentTarget=v;try{i(r)}catch(S){ki(S)}r.currentTarget=null,i=g}}}}function ee(e,t){var o=t[Dd];o===void 0&&(o=t[Dd]=new Set);var a=e+"__bubble";o.has(a)||(Xf(t,e,2,!1),o.add(a))}function gu(e,t,o){var a=0;t&&(a|=4),Xf(o,e,a,t)}var ws="_reactListening"+Math.random().toString(36).slice(2);function Yf(e){if(!e[ws]){e[ws]=!0,Ud.forEach(function(o){o!=="selectionchange"&&(Hm.has(o)||gu(o,!1,e),gu(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ws]||(t[ws]=!0,gu("selectionchange",!1,t))}}function Xf(e,t,o,a){switch(U0(t)){case 2:var r=N5;break;case 8:r=L5;break;default:r=zu}o=r.bind(null,t,o,e),r=void 0,!Tl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),a?r!==void 0?e.addEventListener(t,o,{capture:!0,passive:r}):e.addEventListener(t,o,!0):r!==void 0?e.addEventListener(t,o,{passive:r}):e.addEventListener(t,o,!1)}function hu(e,t,o,a,r){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var d=a.stateNode.containerInfo;if(d===r)break;if(c===4)for(c=a.return;c!==null;){var g=c.tag;if((g===3||g===4)&&c.stateNode.containerInfo===r)return;c=c.return}for(;d!==null;){if(c=ha(d),c===null)return;if(g=c.tag,g===5||g===6||g===26||g===27){a=i=c;continue e}d=d.parentNode}}a=a.return}Kd(function(){var v=i,S=Sl(o),R=[];e:{var m=Ap.get(e);if(m!==void 0){var x=_i,O=e;switch(e){case"keypress":if(Ti(o)===0)break e;case"keydown":case"keyup":x=Ih;break;case"focusin":O="focus",x=El;break;case"focusout":O="blur",x=El;break;case"beforeblur":case"afterblur":x=El;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Jd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Ch;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Oh;break;case vp:case yp:case xp:x=_h;break;case Sp:x=zh;break;case"scroll":case"scrollend":x=Th;break;case"wheel":x=Uh;break;case"copy":case"cut":case"paste":x=wh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=$d;break;case"submit":x=Dh;break;case"toggle":case"beforetoggle":x=Nh}var L=(t&4)!==0,X=!L&&(e==="scroll"||e==="scrollend"),b=L?m!==null?m+"Capture":null:m;L=[];for(var h=v,y;h!==null;){var k=h;if(y=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||y===null||b===null||(k=$n(h,b),k!=null&&L.push(Dr(h,k,y))),X)break;h=h.return}0<L.length&&(m=new x(m,O,null,o,S),R.push({event:m,listeners:L}))}}if((t&7)===0){e:{if(x=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",x&&o!==xl&&(O=o.relatedTarget||o.fromElement)&&(ha(O)||O[Qn]))break e;(m||x)&&(O=S.window===S?S:(x=S.ownerDocument)?x.defaultView||x.parentWindow:window,m?(x=o.relatedTarget||o.toElement,m=v,x=x?ha(x):null,x!==null&&(X=A(x),L=x.tag,x!==X||L!==5&&L!==27&&L!==6)&&(x=null)):(m=null,x=v),m!==x&&(L=Jd,k="onMouseLeave",b="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(L=$d,k="onPointerLeave",b="onPointerEnter",h="pointer"),X=m==null?O:Wn(m),y=x==null?O:Wn(x),O=new L(k,h+"leave",m,o,S),O.target=X,O.relatedTarget=y,k=null,ha(S)===v&&(L=new L(b,h+"enter",x,o,S),L.target=y,L.relatedTarget=X,k=L),X=k,L=m&&x?Ne(m,x,qm):null,m!==null&&Kf(R,O,m,L,!1),x!==null&&X!==null&&Kf(R,X,x,L,!0)))}e:{if(m=v?Wn(v):window,x=m.nodeName&&m.nodeName.toLowerCase(),x==="select"||x==="input"&&m.type==="file")var N=sp;else if(rp(m))if(lp)N=Yh;else{N=Gh;var oe=qh}else x=m.nodeName,!x||x.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?v&&yl(v.elementType)&&(N=sp):N=Fh;if(N&&(N=N(e,v))){ip(R,N,o,S);break e}oe&&oe(e,m,v)}switch(oe=v?Wn(v):window,e){case"focusin":(rp(oe)||oe.contentEditable==="true")&&(tn=oe,zl=v,sr=null);break;case"focusout":sr=zl=tn=null;break;case"mousedown":Ul=!0;break;case"contextmenu":case"mouseup":case"dragend":Ul=!1,mp(R,o,S);break;case"selectionchange":if(Kh)break;case"keydown":case"keyup":mp(R,o,S)}var P;if(Ml)e:{switch(e){case"compositionstart":var B="onCompositionStart";break e;case"compositionend":B="onCompositionEnd";break e;case"compositionupdate":B="onCompositionUpdate";break e}B=void 0}else en?ap(e,o)&&(B="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(B="onCompositionStart");B&&(ep&&o.locale!=="ko"&&(en||B!=="onCompositionStart"?B==="onCompositionEnd"&&en&&(P=Zd()):(Lo=S,Cl="value"in Lo?Lo.value:Lo.textContent,en=!0)),oe=Es(v,B),0<oe.length&&(B=new Wd(B,e,null,o,S),R.push({event:B,listeners:oe}),P?B.data=P:(P=np(o),P!==null&&(B.data=P)))),(P=Ph?jh(e,o):Vh(e,o))&&(B=Es(v,"onBeforeInput"),0<B.length&&(oe=new Wd("onBeforeInput","beforeinput",null,o,S),R.push({event:oe,listeners:B}),oe.data=P)),Bm(R,e,v,o,S)}Ff(R,t)})}function Dr(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Es(e,t){for(var o=t+"Capture",a=[];e!==null;){var r=e,i=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||i===null||(r=$n(e,o),r!=null&&a.unshift(Dr(e,r,i)),r=$n(e,t),r!=null&&a.push(Dr(e,r,i))),e.tag===3)return a;e=e.return}return[]}function qm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Kf(e,t,o,a,r){for(var i=t._reactName,c=[];o!==null&&o!==a;){var d=o,g=d.alternate,v=d.stateNode;if(d=d.tag,g!==null&&g===a)break;d!==5&&d!==26&&d!==27||v===null||(g=v,r?(v=$n(o,i),v!=null&&c.unshift(Dr(o,v,g))):r||(v=$n(o,i),v!=null&&c.push(Dr(o,v,g)))),o=o.return}c.length!==0&&e.push({event:t,listeners:c})}var Gm=/\r\n?/g,Fm=/\u0000|\uFFFD/g;function Zf(e){return(typeof e=="string"?e:""+e).replace(Gm,`
|
|
9
|
+
`).replace(Fm,"")}function Qf(e,t){return t=Zf(t),Zf(e)===t}function de(e,t,o,a,r,i){switch(o){case"children":if(typeof a=="string")t==="body"||t==="textarea"&&a===""||Ja(e,a);else if(typeof a=="number"||typeof a=="bigint")t!=="body"&&Ja(e,""+a);else return;break;case"className":xi(e,"class",a);break;case"tabIndex":xi(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":xi(e,o,a);break;case"style":Yd(e,a,i);return;case"data":if(t!=="object"){xi(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(o);break}a=Si(a),e.setAttribute(o,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(o==="formAction"?(t!=="input"&&de(e,t,"name",r.name,r,null),de(e,t,"formEncType",r.formEncType,r,null),de(e,t,"formMethod",r.formMethod,r,null),de(e,t,"formTarget",r.formTarget,r,null)):(de(e,t,"encType",r.encType,r,null),de(e,t,"method",r.method,r,null),de(e,t,"target",r.target,r,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(o);break}a=Si(a),e.setAttribute(o,a);break;case"onClick":a!=null&&(e.onclick=Wt);return;case"onScroll":a!=null&&ee("scroll",e);return;case"onScrollEnd":a!=null&&ee("scrollend",e);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(p(61));if(o=a.__html,o!=null){if(r.children!=null)throw Error(p(60));i?.__html!==o&&(e.innerHTML=o)}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}o=Si(a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,a):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":a===!0?e.setAttribute(o,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,a):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(o,a):e.removeAttribute(o);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(o):e.setAttribute(o,a);break;case"popover":ee("beforetoggle",e),ee("toggle",e),yi(e,"popover",a);break;case"xlinkActuate":ho(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ho(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ho(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ho(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ho(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ho(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ho(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ho(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ho(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":yi(e,"is",a);break;case"innerText":case"textContent":return;default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")o=Sh.get(o)||o,yi(e,o,a);else return}re=!0}function mu(e,t,o,a,r,i){switch(o){case"style":Yd(e,a,i);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(p(61));if(o=a.__html,o!=null){if(r.children!=null)throw Error(p(60));i?.__html!==o&&(e.innerHTML=o)}}break;case"children":if(typeof a=="string")Ja(e,a);else if(typeof a=="number"||typeof a=="bigint")Ja(e,""+a);else return;break;case"onScroll":a!=null&&ee("scroll",e);return;case"onScrollEnd":a!=null&&ee("scrollend",e);return;case"onClick":a!=null&&(e.onclick=Wt);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Nd.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(r=o.endsWith("Capture"),i=o.slice(2,r?o.length-7:void 0),t=e[st]||null,t=t!=null?t[o]:null,typeof t=="function"&&e.removeEventListener(i,t,r),typeof a=="function")){typeof t!="function"&&t!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(i,a,r);break e}re=!0,o in e?e[o]=a:a===!0?e.setAttribute(o,""):yi(e,o,a)}return}re=!0}function Ze(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ee("error",e),ee("load",e);var a=!1,r=!1,i;for(i in o)if(o.hasOwnProperty(i)){var c=o[i];if(c!=null)switch(i){case"src":a=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(p(137,t));default:de(e,t,i,c,o,null)}}r&&de(e,t,"srcSet",o.srcSet,o,null),a&&de(e,t,"src",o.src,o,null);return;case"input":ee("invalid",e);var d=i=c=r=null,g=null,v=null;for(a in o)if(o.hasOwnProperty(a)){var S=o[a];if(S!=null)switch(a){case"name":r=S;break;case"type":c=S;break;case"checked":g=S;break;case"defaultChecked":v=S;break;case"value":i=S;break;case"defaultValue":d=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(p(137,t));break;default:de(e,t,a,S,o,null)}}Hd(e,i,d,g,v,c,r,!1);return;case"select":ee("invalid",e),a=c=i=null;for(r in o)if(o.hasOwnProperty(r)&&(d=o[r],d!=null))switch(r){case"value":i=d;break;case"defaultValue":c=d;break;case"multiple":a=d;default:de(e,t,r,d,o,null)}t=i,o=c,e.multiple=!!a,t!=null?Qa(e,!!a,t,!1):o!=null&&Qa(e,!!a,o,!0);return;case"textarea":ee("invalid",e),i=r=a=null;for(c in o)if(o.hasOwnProperty(c)&&(d=o[c],d!=null))switch(c){case"value":a=d;break;case"defaultValue":r=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(p(91));break;default:de(e,t,c,d,o,null)}Gd(e,a,r,i);return;case"option":for(g in o)o.hasOwnProperty(g)&&(a=o[g],a!=null)&&(g==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":de(e,t,g,a,o,null));return;case"dialog":ee("beforetoggle",e),ee("toggle",e),ee("cancel",e),ee("close",e);break;case"iframe":case"object":ee("load",e);break;case"video":case"audio":for(a=0;a<Ir.length;a++)ee(Ir[a],e);break;case"image":ee("error",e),ee("load",e);break;case"details":ee("toggle",e);break;case"embed":case"source":case"link":ee("error",e),ee("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(v in o)if(o.hasOwnProperty(v)&&(a=o[v],a!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(p(137,t));default:de(e,t,v,a,o,null)}return;default:if(yl(t)){for(S in o)o.hasOwnProperty(S)&&(a=o[S],a!==void 0&&mu(e,t,S,a,o,void 0));return}}for(d in o)o.hasOwnProperty(d)&&(a=o[d],a!=null&&de(e,t,d,a,o,null))}var Ym={};function Xm(e,t,o,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,i=null,c=null,d=null,g=null,v=null,S=null;for(x in o){var R=o[x];if(o.hasOwnProperty(x)&&R!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":g=R;default:a.hasOwnProperty(x)||de(e,t,x,null,a,R)}}for(var m in a){var x=a[m];if(R=o[m],a.hasOwnProperty(m)&&(x!=null||R!=null))switch(m){case"type":x!==R&&(re=!0),i=x;break;case"name":x!==R&&(re=!0),r=x;break;case"checked":x!==R&&(re=!0),v=x;break;case"defaultChecked":x!==R&&(re=!0),S=x;break;case"value":x!==R&&(re=!0),c=x;break;case"defaultValue":x!==R&&(re=!0),d=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(p(137,t));break;default:x!==R&&de(e,t,m,x,a,R)}}bl(e,c,d,g,v,S,i,r);return;case"select":x=c=d=m=null;for(i in o)if(g=o[i],o.hasOwnProperty(i)&&g!=null)switch(i){case"value":break;case"multiple":x=g;default:a.hasOwnProperty(i)||de(e,t,i,null,a,g)}for(r in a)if(i=a[r],g=o[r],a.hasOwnProperty(r)&&(i!=null||g!=null))switch(r){case"value":i!==g&&(re=!0),m=i;break;case"defaultValue":i!==g&&(re=!0),d=i;break;case"multiple":i!==g&&(re=!0),c=i;default:i!==g&&de(e,t,r,i,a,g)}t=d,o=c,a=x,m!=null?Qa(e,!!o,m,!1):!!a!=!!o&&(t!=null?Qa(e,!!o,t,!0):Qa(e,!!o,o?[]:"",!1));return;case"textarea":x=m=null;for(d in o)if(r=o[d],o.hasOwnProperty(d)&&r!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:de(e,t,d,null,a,r)}for(c in a)if(r=a[c],i=o[c],a.hasOwnProperty(c)&&(r!=null||i!=null))switch(c){case"value":r!==i&&(re=!0),m=r;break;case"defaultValue":r!==i&&(re=!0),x=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(p(91));break;default:r!==i&&de(e,t,c,r,a,i)}qd(e,m,x);return;case"option":for(var O in o)m=o[O],o.hasOwnProperty(O)&&m!=null&&!a.hasOwnProperty(O)&&(O==="selected"?e.selected=!1:de(e,t,O,null,a,m));for(g in a)m=a[g],x=o[g],a.hasOwnProperty(g)&&m!==x&&(m!=null||x!=null)&&(g==="selected"?(m!==x&&(re=!0),e.selected=m&&typeof m!="function"&&typeof m!="symbol"):de(e,t,g,m,a,x));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var L in o)m=o[L],o.hasOwnProperty(L)&&m!=null&&!a.hasOwnProperty(L)&&de(e,t,L,null,a,m);for(v in a)if(m=a[v],x=o[v],a.hasOwnProperty(v)&&m!==x&&(m!=null||x!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(p(137,t));break;default:de(e,t,v,m,a,x)}return;default:if(yl(t)){for(var X in o)m=o[X],o.hasOwnProperty(X)&&m!==void 0&&!a.hasOwnProperty(X)&&mu(e,t,X,void 0,a,m);for(S in a)m=a[S],x=o[S],!a.hasOwnProperty(S)||m===x||m===void 0&&x===void 0||mu(e,t,S,m,a,x);return}}for(var b in o)m=o[b],o.hasOwnProperty(b)&&m!=null&&!a.hasOwnProperty(b)&&de(e,t,b,null,a,m);for(R in a)m=a[R],x=o[R],!a.hasOwnProperty(R)||m===x||m==null&&x==null||de(e,t,R,m,a,x)}function Jf(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Km(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),a=0;a<o.length;a++){var r=o[a],i=r.transferSize,c=r.initiatorType,d=r.duration;if(i&&d&&Jf(c)){for(c=0,d=r.responseEnd,a+=1;a<o.length;a++){var g=o[a],v=g.startTime;if(v>d)break;var S=g.transferSize,R=g.initiatorType;S&&Jf(R)&&(g=g.responseEnd,c+=S*(g<d?1:(d-v)/(g-v)))}if(--a,t+=8*(i+c)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var bu=null,vu=null;function Or(e){return e.nodeType===9?e:e.ownerDocument}function Wf(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function $f(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function e0(e,t,o,a){return o=Or(o).createElement(e),o[Ge]=a,o[st]=t,Ze(o,e,t),Le(o),o}function yu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xu=null;function Zm(){var e=window.event;return e&&e.type==="popstate"?e===xu?!1:(xu=e,!0):(xu=null,!1)}var Su=typeof setTimeout=="function"?setTimeout:void 0,Qm=typeof clearTimeout=="function"?clearTimeout:void 0,t0=typeof Promise=="function"?Promise:void 0,o0=typeof requestAnimationFrame=="function"?requestAnimationFrame:Su,Jm=typeof queueMicrotask=="function"?queueMicrotask:typeof t0<"u"?function(e){return t0.resolve(null).then(e).catch(Wm)}:Su;function Wm(e){setTimeout(function(){throw e})}function ta(e){return e==="head"}function a0(e,t){var o=t,a=0;do{var r=o.nextSibling;if(e.removeChild(o),r&&r.nodeType===8)if(o=r.data,o==="/$"||o==="/&"){if(a===0){e.removeChild(r),Un(t);return}a--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")a++;else if(o==="html")Mu(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Mu(o);for(var i=o.firstChild;i;){var c=i.nextSibling,d=i.nodeName;i[Jn]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||o.removeChild(i),i=c}}else o==="body"&&Mu(e.ownerDocument.body);o=r}while(o);Un(t)}function n0(e,t){var o=e;e=0;do{var a=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),a&&a.nodeType===8)if(o=a.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=a}while(o)}function r0(e,t,o){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,o!=null&&(e.style.viewTransitionClass=o),o=getComputedStyle(e),o.display==="inline"){if(t=e.getClientRects(),t.length===1)var a=1;else for(var r=a=0;r<t.length;r++){var i=t[r];0<i.width&&0<i.height&&a++}a===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+o.paddingTop,e.marginBottom="-"+o.paddingBottom)}}function i0(e,t){e=e.style,t=t.style;var o=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=o==null||typeof o=="boolean"?"":(""+o).trim(),o=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=o==null||typeof o=="boolean"?"":(""+o).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(o=t.display,e.display=o==null||typeof o=="boolean"?"":o,o=t.margin,o!=null?e.margin=o:(o=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=o==null||typeof o=="boolean"?"":o,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function s0(e,t,o){return o=o.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=o.innerHeight&&e.left<=o.innerWidth}}function Au(e){return s0(e.getBoundingClientRect(),getComputedStyle(e),e)}function $m(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var o=getComputedStyle(e);return s0(t,o,e)}function e5(e){return e.documentElement.clientHeight}function t5(e){this.addEventListener("load",e),this.addEventListener("error",e)}function o5(e,t,o,a,r,i,c,d,g){var v=t.nodeType===9?t:t.ownerDocument;try{var S=v.startViewTransition({update:function(){var m=v.defaultView,x=m.navigation&&m.navigation.transition,O=v.fonts.status;a();var L=[];if(O==="loaded"&&(e5(v),v.fonts.status==="loading"&&L.push(v.fonts.ready)),O=L.length,e!==null)for(var X=e.suspenseyImages,b=0,h=0;h<X.length;h++){var y=X[h];if(!y.complete){var k=y.getBoundingClientRect();if(0<k.bottom&&0<k.right&&k.top<m.innerHeight&&k.left<m.innerWidth){if(b+=k0(y),b>Rs){L.length=O;break}y=new Promise(t5.bind(y)),L.push(y)}}}if(0<L.length)return m=Promise.race([Promise.all(L),new Promise(function(N){return setTimeout(N,500)})]).then(r,r),(x?Promise.allSettled([x.finished,m]):m).then(i,i);if(r(),x)return x.finished.then(i,i);i()},types:o});v.__reactViewTransition=S;var R=[];return S.ready.then(function(){for(var m=v.documentElement.getAnimations({subtree:!0}),x=0;x<m.length;x++){var O=m[x],L=O.effect,X=L.pseudoElement;if(X!=null&&X.startsWith("::view-transition")){R.push(O),O=L.getKeyframes();for(var b=X=void 0,h=!0,y=0;y<O.length;y++){var k=O[y],N=k.width;if(X===void 0)X=N;else if(X!==N){h=!1;break}if(N=k.height,b===void 0)b=N;else if(b!==N){h=!1;break}delete k.width,delete k.height,k.transform==="none"&&delete k.transform}h&&X!==void 0&&b!==void 0&&(L.setKeyframes(O),h=getComputedStyle(L.target,L.pseudoElement),h.width!==X||h.height!==b)&&(h=O[0],h.width=X,h.height=b,h=O[O.length-1],h.width=X,h.height=b,L.setKeyframes(O))}}c()},function(m){v.__reactViewTransition===S&&(v.__reactViewTransition=null);try{typeof m=="object"&&m!==null&&m.name==="InvalidStateError"&&(m.message==="View transition was skipped because document visibility state is hidden."||m.message==="Skipping view transition because document visibility state has become hidden."||m.message==="Skipping view transition because viewport size changed."||m.message==="Transition was aborted because of invalid state")&&(m=null),m!==null&&g(m)}finally{a(),r(),c()}}),S.finished.finally(function(){for(var m=0;m<R.length;m++)R[m].cancel();v.__reactViewTransition===S&&(v.__reactViewTransition=null),d()}),S}catch{return a(),r(),c(),null}}function Pa(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}Pa.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:G({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Pa.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,o=e.getAnimations({subtree:!0}),a=[],r=0;r<o.length;r++){var i=o[r].effect;i!==null&&i.target===e&&i.pseudoElement===t&&a.push(o[r])}return a},Pa.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function l0(e){return{name:e,group:new Pa("group",e),imagePair:new Pa("image-pair",e),old:new Pa("old",e),new:new Pa("new",e)}}function Tt(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Tt.prototype.addEventListener=function(e,t,o){var a=null,r=null;if(!(o!=null&&typeof o!="boolean"&&(a=o.signal||null,a!==null&&a.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(u0(i,e,t,o)===-1){var c=this,d=t;o!=null&&typeof o!="boolean"&&o.once===!0&&(d=function(g){c.removeEventListener(e,t,o),typeof t=="function"?t.call(this,g):t.handleEvent(g)}),a!==null&&(r=c.removeEventListener.bind(c,e,t,o),a.addEventListener("abort",r,{once:!0}),r=a.removeEventListener.bind(a,"abort",r)),a=Mn(o),i.push({type:e,listener:t,optionsOrUseCapture:o,attachedListener:d,cleanup:r}),w(this._fragmentFiber.child,!1,a5,e,d,a)}this._eventListeners=i}};function a5(e,t,o,a){return V(e).addEventListener(t,o,a),!1}Tt.prototype.removeEventListener=function(e,t,o){var a=this._eventListeners;if(a!==null&&(t=u0(a,e,t,o),t!==-1)){var r=a[t];o=r.attachedListener;var i=r.cleanup;r=Mn(r.optionsOrUseCapture),w(this._fragmentFiber.child,!1,n5,e,o,r),a.splice(t,1),i!==null&&i()}};function n5(e,t,o,a){return V(e).removeEventListener(t,o,a),!1}function Mn(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function c0(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function u0(e,t,o,a){if(e.length===0)return-1;a=c0(a);for(var r=0;r<e.length;r++){var i=e[r];if(i.type===t&&i.listener===o&&c0(i.optionsOrUseCapture)===a)return r}return-1}Tt.prototype.dispatchEvent=function(e){var t=D(this._fragmentFiber);if(t===null)return!0;t=V(t);var o=this._eventListeners;if(o!==null&&0<o.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(o)for(var r=0;r<o.length;r++){var i=o[r];a.addEventListener(i.type,i.attachedListener,Mn(i.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),o)for(r=0;r<o.length;r++)i=o[r],a.removeEventListener(i.type,i.attachedListener,Mn(i.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)},Tt.prototype.focus=function(e){w(this._fragmentFiber.child,!0,d0,e,void 0,void 0)};function d0(e,t){return e.tag===6?!1:(e=V(e),m5(e,t))}Tt.prototype.focusLast=function(e){var t=[];w(this._fragmentFiber.child,!0,Tu,t,void 0,void 0);for(var o=t.length-1;0<=o&&!d0(t[o],e);o--);};function Tu(e,t){return t.push(e),!1}Tt.prototype.blur=function(){var e=D(this._fragmentFiber);e!==null&&(e=V(e),e=Or(e).activeElement,e!==null&&w(this._fragmentFiber.child,!1,r5,e,void 0,void 0))};function r5(e,t){return e.tag===6?!1:(e=V(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Tt.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),w(this._fragmentFiber.child,!1,i5,e,void 0,void 0)};function i5(e,t){return e.tag===6||(e=V(e),t.observe(e)),!1}Tt.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),w(this._fragmentFiber.child,!1,s5,e,void 0,void 0);for(var o=t=0;o<Bt.length;o++){var a=Bt[o];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):Bt[t++]=a}Bt.length=t}};function s5(e,t){return e.tag===6||(e=V(e),t.unobserve(e)),!1}var Bt=[],Cu=!1;function l5(e,t,o){Bt.push({fragmentInstance:e,observer:t,instance:o}),Cu||(Cu=!0,b5(function(){Cu=!1;var a=Bt;Bt=[];for(var r=0;r<a.length;r++){var i=a[r];i.observer.unobserve(i.instance)}}))}Tt.prototype.getClientRects=function(){var e=[];return w(this._fragmentFiber.child,!1,c5,e,void 0,void 0),e};function c5(e,t){if(e.tag===6){e=e.stateNode;var o=e.ownerDocument.createRange();o.selectNodeContents(e),t.push.apply(t,o.getClientRects())}else e=V(e),t.push.apply(t,e.getClientRects());return!1}Tt.prototype.getRootNode=function(e){var t=D(this._fragmentFiber);return t===null?this:V(t).getRootNode(e)},Tt.prototype.compareDocumentPosition=function(e){var t=D(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var o=[];w(this._fragmentFiber.child,!1,Tu,o,void 0,void 0);var a=V(t);if(o.length===0){if(o=a,j(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(o=t)}t=this._fragmentFiber;var r=a=o.compareDocumentPosition(e);return o===e?r=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(o=ae(t)[1],o===null?r=Node.DOCUMENT_POSITION_PRECEDING:(e=V(o).compareDocumentPosition(e),r=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),r|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=V(o[0]),r=V(o[o.length-1]);var i=j(this._fragmentFiber)?t.parentElement:a;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY;var c=t.compareDocumentPosition(e),d=r.compareDocumentPosition(e),g=c&Node.DOCUMENT_POSITION_CONTAINED_BY||d&Node.DOCUMENT_POSITION_CONTAINED_BY;return d=a&&i&&c&Node.DOCUMENT_POSITION_FOLLOWING&&d&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||i&&r===e||g||d?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!i&&r===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:c,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||u5(t,this._fragmentFiber,o[0],o[o.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function u5(e,t,o,a,r){var i=ha(r);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(o=!!i)e:{for(;i!==null;){if(i.tag===7&&(i===t||i.alternate===t)){o=!0;break e}i=i.return}o=!1}return o}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(i===null)return i=r.ownerDocument,r===i||r===i.documentElement||r===i.body;e:{for(i=t,t=D(t);i!==null;){if(!(i.tag!==5&&i.tag!==3&&i.tag!==27||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===o)&&(t=Ne(o,i,ze),t===null?t=!1:(w(t,!0,Be,i,o),i=be,be=null,t=i!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!i)&&!(t=i===a)&&(t=Ne(a,i,ze),t===null?t=!1:(w(t,!0,Zt,i,a),i=be,$e=be=null,t=i!==null)),t):!1}function p0(e,t){var o=e.ownerDocument.createRange();o.selectNodeContents(e),e=o.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Tt.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(p(566));var t=[];w(this._fragmentFiber.child,!1,Tu,t,void 0,void 0);var o=e!==!1;if(t.length===0){var a=ae(this._fragmentFiber);if(a=o?a[1]||a[0]||D(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=V(a),p0(e,o);return}if(a=V(a),a.nodeType!==9){if(a.nodeType===11){o="host"in a?a.host:null,o!==null&&o.scrollIntoView(e);return}a.scrollIntoView(e)}}for(a=o?t.length-1:0;a!==(o?-1:t.length);){var r=t[a];r.tag===6?(r=V(r),p0(r,o)):V(r).scrollIntoView(e),a+=o?-1:1}};function d5(e,t){return e=V(e),f0(e,t),!1}function f0(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function g0(e,t){var o=t._eventListeners;if(o!==null)for(var a=0;a<o.length;a++){var r=o[a];e.addEventListener(r.type,r.attachedListener,Mn(r.optionsOrUseCapture))}e.nodeType!==3&&(o=t._observers,o!==null&&o.forEach(function(i){for(var c=0,d=0;d<Bt.length;d++){var g=Bt[d];(g.fragmentInstance!==t||g.observer!==i||g.instance!==e)&&(Bt[c++]=g)}Bt.length=c,i.observe(e)}),f0(e,t))}function p5(e,t){var o=t._eventListeners;if(o!==null)for(var a=0;a<o.length;a++){var r=o[a];e.removeEventListener(r.type,r.attachedListener,Mn(r.optionsOrUseCapture))}e.nodeType!==3&&(o=t._observers,o!==null&&o.forEach(function(i){typeof i.rootMargin=="string"?l5(t,i,e):i.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function _u(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":_u(o),vi(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function f5(e,t,o,a){for(;e.nodeType===1;){var r=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Jn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Dt(e.nextSibling),e===null)break}return null}function g5(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Dt(e.nextSibling),e===null))return null;return e}function h0(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Dt(e.nextSibling),e===null))return null;return e}function wu(e){return e.data==="$?"||e.data==="$~"}function Eu(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function h5(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var a=function(){t(),o.removeEventListener("DOMContentLoaded",a)};o.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Dt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var ku=null;function m0(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Dt(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function b0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function m5(e,t){function o(){a=!0}if(e.ownerDocument.activeElement===e)return!0;var a=!1;try{e.ownerDocument.addEventListener("focus",o,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",o,!0)}return a}function b5(e){o0(function(){o0(function(t){return e(t)})})}function v0(e,t,o){switch(t=Or(o),e){case"html":if(e=t.documentElement,!e)throw Error(p(452));return e;case"head":if(e=t.head,!e)throw Error(p(453));return e;case"body":if(e=t.body,!e)throw Error(p(454));return e;default:throw Error(p(451))}}function y0(e,t,o){for(var a in o){var r=o[a];o.hasOwnProperty(a)&&r!=null&&de(e,t,a,null,Ym,r)}o.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===Wt&&(e.onclick=null),vi(e)}function Mu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);vi(e)}var Ot=new Map,x0=new Set;function zr(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Mo=ie.d;ie.d={f:v5,r:y5,D:x5,C:S5,L:A5,m:T5,X:_5,S:C5,M:w5};function v5(){var e=Mo.f(),t=Ss();return e||t}function y5(e){var t=Xa(e);t!==null&&t.tag===5&&t.type==="form"?A1(t):Mo.r(e)}var Rn=typeof document>"u"?null:document;function S0(e,t,o){var a=Rn;if(a&&typeof t=="string"&&t){var r=Ct(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof o=="string"&&(r+='[crossorigin="'+o+'"]'),x0.has(r)||(x0.add(r),e={rel:e,crossOrigin:o,href:t},a.querySelector(r)===null&&(t=a.createElement("link"),Ze(t,"link",e),Le(t),a.head.appendChild(t)))}}function x5(e){Mo.D(e),S0("dns-prefetch",e,null)}function S5(e,t){Mo.C(e,t),S0("preconnect",e,t)}function A5(e,t,o){Mo.L(e,t,o);var a=Rn;if(a&&e&&t){var r='link[rel="preload"][as="'+Ct(t)+'"]';t==="image"&&o&&o.imageSrcSet?(r+='[imagesrcset="'+Ct(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(r+='[imagesizes="'+Ct(o.imageSizes)+'"]')):r+='[href="'+Ct(e)+'"]';var i=r;switch(t){case"style":i=In(e);break;case"script":i=Dn(e)}if(!(Ot.has(i)||(e=G({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Ot.set(i,e),a.querySelector(r)!==null||t==="style"&&a.querySelector(Ur(i))||t==="script"&&a.querySelector(Nr(i))))){var c=a.createElement("link");Ze(c,"link",e),t==="style"&&(c[bi]=!0,c.onload=c.onerror=function(){zd(c)}),Le(c),a.head.appendChild(c)}}}function T5(e,t){Mo.m(e,t);var o=Rn;if(o&&e){var a=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Ct(a)+'"][href="'+Ct(e)+'"]',i=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Dn(e)}if(!Ot.has(i)&&(e=G({rel:"modulepreload",href:e},t),Ot.set(i,e),o.querySelector(r)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Nr(i)))return}a=o.createElement("link"),Ze(a,"link",e),Le(a),o.head.appendChild(a)}}}function C5(e,t,o){Mo.S(e,t,o);var a=Rn;if(a&&e){var r=Ka(a).hoistableStyles,i=In(e);t=t||"default";var c=r.get(i);if(!c){var d={loading:0,preload:null};if(c=a.querySelector(Ur(i)))d.loading=5;else{e=G({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Ot.get(i))&&Ru(e,o);var g=c=a.createElement("link");Le(g),Ze(g,"link",e),g._p=new Promise(function(v,S){g.onload=v,g.onerror=S}),g.addEventListener("load",function(){d.loading|=1}),g.addEventListener("error",function(){d.loading|=2}),d.loading|=4,ks(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:d},r.set(i,c)}}}function _5(e,t){Mo.X(e,t);var o=Rn;if(o&&e){var a=Ka(o).hoistableScripts,r=Dn(e),i=a.get(r);i||(i=o.querySelector(Nr(r)),i||(e=G({src:e,async:!0},t),(t=Ot.get(r))&&Iu(e,t),i=o.createElement("script"),Le(i),Ze(i,"link",e),o.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(r,i))}}function w5(e,t){Mo.M(e,t);var o=Rn;if(o&&e){var a=Ka(o).hoistableScripts,r=Dn(e),i=a.get(r);i||(i=o.querySelector(Nr(r)),i||(e=G({src:e,async:!0,type:"module"},t),(t=Ot.get(r))&&Iu(e,t),i=o.createElement("script"),Le(i),Ze(i,"link",e),o.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(r,i))}}function A0(e,t,o,a){var r=(r=zo.current)?zr(r):null;if(!r)throw Error(p(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(o=In(o.href),t=Ka(r).hoistableStyles,a=t.get(o),a||(a={type:"style",instance:null,count:0,state:null},t.set(o,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=In(o.href);var i=Ka(r).hoistableStyles,c=i.get(e);if(c||(r=r.ownerDocument||r,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,c),(i=r.querySelector(Ur(e)))?i._p||(c.instance=i,c.state.loading=5):(i=Ot.get(e),i||(i={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Ot.set(e,i)),E5(r,e,i,c.state))),t&&a===null)throw Error(p(528,""));return c}if(t&&a!==null)throw Error(p(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(o=Dn(o),t=Ka(r).hoistableScripts,a=t.get(o),a||(a={type:"script",instance:null,count:0,state:null},t.set(o,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(p(444,e))}}function In(e){return'href="'+Ct(e)+'"'}function Ur(e){return'link[rel="stylesheet"]['+e+"]"}function T0(e){return G({},e,{"data-precedence":e.precedence,precedence:null})}function E5(e,t,o,a){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[bi]!==!0){a.loading=1;return}}else t=e.createElement("link"),t[bi]=!0,t.onload=t.onerror=zd.bind(null,t),Ze(t,"link",o),Le(t),e.head.appendChild(t);a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2})}function Dn(e){return'[src="'+Ct(e)+'"]'}function Nr(e){return"script[async]"+e}function C0(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ct(o.href)+'"]');if(a)return t.instance=a,Le(a),a;var r=G({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Le(a),Ze(a,"style",r),ks(a,o.precedence,e),t.instance=a;case"stylesheet":r=In(o.href);var i=e.querySelector(Ur(r));if(i)return t.state.loading|=4,t.instance=i,Le(i),i;a=T0(o),(r=Ot.get(r))&&Ru(a,r),i=(e.ownerDocument||e).createElement("link"),Le(i);var c=i;return c._p=new Promise(function(d,g){c.onload=d,c.onerror=g}),Ze(i,"link",a),t.state.loading|=4,ks(i,o.precedence,e),t.instance=i;case"script":return i=Dn(o.src),(r=e.querySelector(Nr(i)))?(t.instance=r,Le(r),r):(a=o,(r=Ot.get(i))&&(a=G({},o),Iu(a,r)),e=e.ownerDocument||e,r=e.createElement("script"),Le(r),Ze(r,"link",a),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(p(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,ks(a,o.precedence,e));return t.instance}function ks(e,t,o){for(var a=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,i=r,c=0;c<a.length;c++){var d=a[c];if(d.dataset.precedence===t)i=d;else if(i!==r)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function Ru(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Iu(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Ms=null;function _0(e,t,o){if(Ms===null){var a=new Map,r=Ms=new Map;r.set(o,a)}else r=Ms,a=r.get(o),a||(a=new Map,r.set(o,a));if(a.has(e))return a;for(a.set(e,null),o=o.getElementsByTagName(e),r=0;r<o.length;r++){var i=o[r];if(!(i[Jn]||i[Ge]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var c=i.getAttribute(t)||"";c=e+c;var d=a.get(c);d?d.push(i):a.set(c,[i])}}return a}function Du(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function k5(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function w0(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function E0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function k0(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function M0(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=k0(t),e.suspenseyImages.push(t)),e=I5.bind(e),t.decode().then(e,e))}function M5(e,t,o,a){if(o.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var r=In(a.href),i=t.querySelector(Ur(r));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Lr.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=i,Le(i);return}i=t.ownerDocument||t,a=T0(a),(r=Ot.get(r))&&Ru(a,r),i=i.createElement("link"),Le(i);var c=i;c._p=new Promise(function(d,g){c.onload=d,c.onerror=g}),Ze(i,"link",a),o.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Lr.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var Rs=0;function R5(e,t){return e.stylesheets&&e.count===0&&Ds(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var a=setTimeout(function(){if(e.stylesheets&&Ds(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Rs===0&&(Rs=62500*Km());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ds(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Rs?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(r)}}:null}function R0(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Ds(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Lr(){this.count--,R0(this)}function I5(){this.imgCount--,R0(this)}var Is=null;function Ds(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Is=new Map,t.forEach(D5,e),Is=null,Lr.call(e))}function D5(e,t){if(!(t.state.loading&4)){var o=Is.get(e);if(o)var a=o.get(null);else{o=new Map,Is.set(e,o);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<r.length;i++){var c=r[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(o.set(c.dataset.precedence,c),a=c)}a&&o.set(null,a)}r=t.instance,c=r.getAttribute("data-precedence"),i=o.get(c)||a,i===a&&o.set(null,r),o.set(c,r),this.count++,a=Lr.bind(this),r.addEventListener("load",a),r.addEventListener("error",a),i?i.parentNode.insertBefore(r,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var On={$$typeof:z,Provider:null,Consumer:null,_currentValue:fa,_currentValue2:fa,_threadCount:0};function O5(e,t,o,a,r,i,c,d,g){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gl(0),this.hiddenUpdates=gl(null),this.identifierPrefix=a,this.onUncaughtError=r,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.transitionTypes=null,this.incompleteTransitions=new Map}function z5(e,t,o,a,r,i,c,d,g,v,S,R){return e=new O5(e,t,o,c,g,v,S,R,d),t=1,i===!0&&(t|=24),i=lt(3,null,null,t),e.current=i,i.stateNode=e,t=Kl(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:a,isDehydrated:o,cache:t},Wl(i),e}function U5(e){return e?(e=nn,e):nn}function I0(e,t,o,a,r,i){r=U5(r),a.context===null?a.context=r:a.pendingContext=r,a=Ra(t),a.payload={element:o},i=i===void 0?null:i,i!==null&&(a.callback=i),o=Ia(e,a,t),o!==null&&(pt(o,e,t),gr(o,e,t))}function D0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Ou(e,t){D0(e,t),(e=e.alternate)&&D0(e,t)}function O0(e){if(e.tag===13||e.tag===31){var t=ya(e,67108864);t!==null&&pt(t,e,67108864),Ou(e,67108864)}}function z0(e){if(e.tag===13||e.tag===31){var t=It();t=Md(t);var o=ya(e,t);o!==null&&pt(o,e,t),Ou(e,t)}}var zn=!0;function N5(e,t,o,a){var r=H.T;H.T=null;var i=ie.p;try{ie.p=2,zu(e,t,o,a)}finally{ie.p=i,H.T=r}}function L5(e,t,o,a){var r=H.T;H.T=null;var i=ie.p;try{ie.p=8,zu(e,t,o,a)}finally{ie.p=i,H.T=r}}function zu(e,t,o,a){if(zn){var r=Uu(a);if(r===null)hu(e,t,a,Os,o),N0(e,a);else if(j5(r,e,t,o,a))a.stopPropagation();else if(N0(e,a),t&4&&-1<P5.indexOf(e)){for(;r!==null;){var i=Xa(r);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=ga(i.pendingLanes);if(c!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;c;){var g=1<<31-mt(c);d.entanglements[1]|=g,c&=~g}ko(i),(se&6)===0&&(vs=gt()+500,Rr(0,!1))}}break;case 31:case 13:d=ya(i,2),d!==null&&pt(d,i,2),Ss(),Ou(i,2)}if(i=Uu(a),i===null&&hu(e,t,a,Os,o),i===r)break;r=i}r!==null&&a.stopPropagation()}else hu(e,t,a,null,o)}}function Uu(e){return e=Sl(e),Nu(e)}var Os=null;function Nu(e){if(Os=null,e=ha(e),e!==null){var t=A(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=T(t),e!==null)return e;e=null}else if(o===31){if(e=M(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Os=e,null}function U0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(rh()){case Sd:return 2;case Ad:return 8;case di:case ih:return 32;case Td:return 268435456;default:return 32}default:return 32}}var Lu=!1,oa=null,aa=null,na=null,Pr=new Map,jr=new Map,ra=[],P5="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function N0(e,t){switch(e){case"focusin":case"focusout":oa=null;break;case"dragenter":case"dragleave":aa=null;break;case"mouseover":case"mouseout":na=null;break;case"pointerover":case"pointerout":Pr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":jr.delete(t.pointerId)}}function Vr(e,t,o,a,r,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:o,eventSystemFlags:a,nativeEvent:i,targetContainers:[r]},t!==null&&(t=Xa(t),t!==null&&O0(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function j5(e,t,o,a,r){switch(t){case"focusin":return oa=Vr(oa,e,t,o,a,r),!0;case"dragenter":return aa=Vr(aa,e,t,o,a,r),!0;case"mouseover":return na=Vr(na,e,t,o,a,r),!0;case"pointerover":var i=r.pointerId;return Pr.set(i,Vr(Pr.get(i)||null,e,t,o,a,r)),!0;case"gotpointercapture":return i=r.pointerId,jr.set(i,Vr(jr.get(i)||null,e,t,o,a,r)),!0}return!1}function L0(e){var t=ha(e.target);if(t!==null){var o=A(t);if(o!==null){if(t=o.tag,t===13){if(t=T(o),t!==null){e.blockedOn=t,Id(e.priority,function(){z0(o)});return}}else if(t===31){if(t=M(o),t!==null){e.blockedOn=t,Id(e.priority,function(){z0(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=Uu(e.nativeEvent);if(o===null){o=e.nativeEvent;var a=new o.constructor(o.type,o);xl=a,o.target.dispatchEvent(a),xl=null}else return t=Xa(o),t!==null&&O0(t),e.blockedOn=o,!1;t.shift()}return!0}function P0(e,t,o){zs(e)&&o.delete(t)}function V5(){Lu=!1,oa!==null&&zs(oa)&&(oa=null),aa!==null&&zs(aa)&&(aa=null),na!==null&&zs(na)&&(na=null),Pr.forEach(P0),jr.forEach(P0)}function Us(e,t){e.blockedOn===t&&(e.blockedOn=null,Lu||(Lu=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,V5)))}var Ns=null;function j0(e){Ns!==e&&(Ns=e,s.unstable_scheduleCallback(s.unstable_NormalPriority,function(){Ns===e&&(Ns=null);for(var t=0;t<e.length;t+=3){var o=e[t],a=e[t+1],r=e[t+2];if(typeof a!="function"){if(Nu(a||o)===null)continue;break}var i=Xa(o);i!==null&&(e.splice(t,3),t-=3,yc(i,{pending:!0,data:r,method:o.method,action:a},a,r))}}))}function Un(e){function t(g){return Us(g,e)}oa!==null&&Us(oa,e),aa!==null&&Us(aa,e),na!==null&&Us(na,e),Pr.forEach(t),jr.forEach(t);for(var o=0;o<ra.length;o++){var a=ra[o];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ra.length&&(o=ra[0],o.blockedOn===null);)L0(o),o.blockedOn===null&&ra.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(a=0;a<o.length;a+=3){var r=o[a],i=o[a+1],c=r[st]||null;if(typeof i=="function")c||j0(o);else if(c){var d=null;if(i&&i.hasAttribute("formAction")){if(r=i,c=i[st]||null)d=c.formAction;else if(Nu(r)!==null)continue}else d=c.action;typeof d=="function"?o[a+1]=d:(o.splice(a,3),a-=3),j0(o)}}}function B5(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return r=c})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),a||setTimeout(o,20)}function o(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function Pu(e){this._internalRoot=e}ju.prototype.render=Pu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(p(409));var o=t.current;I0(o,It(),e,t,null,null)},ju.prototype.unmount=Pu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;I0(e.current,2,null,e,null,null),Ss(),t[Qn]=null}};function ju(e){this._internalRoot=e}ju.prototype.unstable_scheduleHydration=function(e){if(e){var t=Rd();e={blockedOn:null,target:e,priority:t};for(var o=0;o<ra.length&&t!==0&&t<ra[o].priority;o++);ra.splice(o,0,e),o===0&&L0(e)}};var V0=l.version;if(V0!=="19.3.0")throw Error(p(527,V0,"19.3.0"));ie.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(p(188)):(e=Object.keys(e).join(","),Error(p(268,e)));return e=I(t),e=e!==null?E(e):null,e=e===null?null:e.stateNode,e};var H5={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ls=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ls.isDisabled&&Ls.supportsFiber)try{Kn=Ls.inject(H5),ht=Ls}catch{}}n.createRoot=function(e,t){if(!f(e))throw Error(p(299));var o=!1,a="",r=hm,i=mm,c=bm;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=z5(e,1,!1,null,null,o,a,null,r,i,c,B5),e[Qn]=t.current,Yf(e),new Pu(t)}})),wb=Zs(((n,s)=>{function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}l(),s.exports=_b()})),Eb=wb(),x6=(0,Eb.createRoot)(document.getElementById("root")),U=G5(_g(),1),C=sb(),kb=1e3;function Mb(){return`-${(typeof performance<"u"&&typeof performance.now=="function"?performance.now():Date.now())%kb}ms`}function S6({message:n}){const s=(0,U.useRef)(Mb());return(0,C.jsx)("div",{className:"min-h-screen bg-background flex items-center justify-center",children:(0,C.jsxs)("div",{className:"flex flex-col items-center gap-6 text-center",children:[(0,C.jsx)("img",{src:"/mcp_jam.svg",alt:"MCPJam",draggable:!1,className:"h-16 w-16"}),(0,C.jsxs)("div",{className:"flex flex-col items-center gap-6",role:"status","aria-live":"polite","aria-atomic":"true",children:[(0,C.jsx)("div",{"aria-hidden":"true",className:"animate-spin rounded-full h-12 w-12 border-4 border-gray-200 border-t-primary",style:{animationDelay:s.current}}),n?(0,C.jsx)("p",{className:"text-sm text-muted-foreground",children:n}):(0,C.jsx)("span",{className:"sr-only",children:"Loading"})]})]})})}function A6(){if(window.isElectron||window.location.pathname!=="/oauth/callback")return null;const n=Ws();if(!n||!n.get("code")&&!n.get("error")||!n.get("state")?.startsWith("electron_mcp:"))return null;const s=new URL("mcpjam://oauth/callback");s.searchParams.set("flow","mcp");for(const[l,u]of n.entries())s.searchParams.append(l,u);return s.toString()}var q0=new Set;function Rb(n,s=window.location){window.isElectron||s.replace(n)}var Ib={redirect:Rb};function T6({returnToElectronUrl:n}){return(0,U.useEffect)(()=>{q0.has(n)||(q0.add(n),Ib.redirect(n))},[n]),(0,C.jsx)("div",{className:"flex min-h-screen items-center justify-center p-4",children:(0,C.jsxs)("div",{className:"w-full max-w-md rounded-md border bg-secondary p-4",children:[(0,C.jsx)("p",{className:"text-sm font-medium",children:"Continue in MCPJam Desktop"}),(0,C.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:"MCPJam Desktop should open automatically. If you are back in the browser, please close this page and continue in MCPJam Desktop."}),(0,C.jsxs)("p",{className:"mt-3 text-xs text-muted-foreground",children:["If nothing happened,"," ",(0,C.jsx)("a",{className:"underline",href:n,children:"click here"}),"."]})]})})}function Mg(n){return n==="scenario"||n==="project"||n==="score"}var Db="Authorization was cancelled. Try again.",nd="mcp-hosted-oauth-resume",Ob=6e4;function C6(n){try{localStorage.setItem(nd,JSON.stringify({...n,serverUrl:n.serverUrl??null,errorMessage:n.errorMessage??null,completedAt:Date.now()}))}catch{}}function _6(n){try{const s=localStorage.getItem(nd);if(!s)return null;const l=JSON.parse(s);return!l||typeof l!="object"||!Mg(l.surface)||typeof l.serverName!="string"||typeof l.completedAt!="number"||Date.now()-l.completedAt>Ob?(Bu(),null):n&&l.surface!==n?null:{surface:l.surface,serverName:l.serverName,serverUrl:typeof l.serverUrl=="string"?l.serverUrl:null,completedAt:l.completedAt,errorMessage:typeof l.errorMessage=="string"?l.errorMessage:null}}catch{return Bu(),null}}function Bu(){localStorage.removeItem(nd)}function w6(n){return n==="launching"||n==="resuming"||n==="verifying"}function E6(n,s){const l=(typeof n=="string"?n:n instanceof Error?n.message:s).replace(/\s+/g," ").trim();if(!l)return s;const u=l.replace(/^Uncaught Error:\s*/i,"").replace(/\s+at\s+(?:async\s+)?[A-Za-z0-9_$./<>-]+(?:\s+\(|$).*/s,"").trim();return u?/\b(cancelled|canceled)\b|user denied|denied the request|access_denied/i.test(u)?Db:/missing its oauth url/i.test(u)?"This server needs additional setup before it can be authorized. Try again or contact the owner.":/could not find the access token/i.test(u)?"We couldn't finish connecting this account. Authorize again.":/could not verify access/i.test(u)?"We couldn't confirm access to this account. Authorize again.":/\b(401|403)\b|unauthorized|forbidden|authentication failed|invalid[_\s-]?token|expired token|token expired|non-200 status code|access denied/i.test(u)?"Your authorization expired or was rejected. Authorize again to continue.":/sse error|failed to fetch|network ?error|timeout|timed out|socket hang up|econn/i.test(u)?"We couldn't reach the authorization service. Try again.":/\boauth\b/i.test(u)&&/\b(error|failed|unable|could not)\b/i.test(u)?"Authorization could not be completed. Try again.":u:s}var Rg="/claude_logo.png",Ig="/claude-desktop-logo.png",zb="/claude_code_logo.png",Dg="/openai_logo.png",Ub="/mistral_logo.png",Nb="/goose_logo_dark.png",G0="/goose_logo_light.png",Og="/cursor_logo.png",Lb="/copilot_logo.png",Pb="/github_copilot_logo_dark.png",F0="/github_copilot_logo_light.png",zg="/codex-logo.svg",jb="/vscode_logo.svg",Vb="/bedrock_logo.svg",Bb="/n8n_logo.svg",Hb="/perplexity_logo.svg",qb="/cline_logo_dark.svg",Y0="/cline_logo_light.svg",Gb="/notion_logo.png",Fb="/slack_logo.png",Yb="/mcp_jam.svg",Xb="/google_logo.png",Kb=Object.defineProperty,Ug=n=>{throw TypeError(n)},Zb=(n,s,l)=>s in n?Kb(n,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[s]=l,Ln=(n,s,l)=>Zb(n,typeof s!="symbol"?s+"":s,l),rd=(n,s,l)=>s.has(n)||Ug("Cannot "+l),Te=(n,s,l)=>(rd(n,s,"read from private field"),l?l.call(n):s.get(n)),Yt=(n,s,l)=>s.has(n)?Ug("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(n):s.set(n,l),Ju=(n,s,l,u)=>(rd(n,s,"write to private field"),u?u.call(n,l):s.set(n,l),l),Qe=(n,s,l)=>(rd(n,s,"access private method"),l),X0={PREFERRED_FRAME_SIZE:"preferred-frame-size",INITIAL_RENDER_DATA:"initial-render-data"},Qb="mcpui.dev/ui-";function Jb(n){let s;try{s=new URL(n)}catch(l){return console.error("Error parsing URL:",l),!1}return s.protocol==="http:"||s.protocol==="https:"}function Wb(n,s){if(n.mimeType!=="text/html"&&n.mimeType!=="text/uri-list")return{error:"Resource must be of type text/html (for HTML content) or text/uri-list (for URL content)."};if(n.mimeType==="text/uri-list"){let l="";if("text"in n&&typeof n.text=="string"&&n.text.trim()!=="")l=n.text;else if("blob"in n&&typeof n.blob=="string")try{l=new TextDecoder().decode(Uint8Array.from(atob(n.blob),f=>f.charCodeAt(0)))}catch(f){return console.error("Error decoding base64 blob for URL content:",f),{error:"Error decoding URL from blob."}}else return{error:"URL resource expects a non-empty text or blob field containing the URL."};if(l.trim()==="")return{error:"URL content is empty."};const u=l.split(`
|
|
10
|
+
`).map(f=>f.trim()).filter(f=>f&&!f.startsWith("#")&&Jb(f));if(u.length===0)return{error:"No valid URLs found in uri-list content."};u.length>1&&console.warn(`Multiple URLs found in uri-list content. Using the first URL: "${u[0]}". Other URLs ignored:`,u.slice(1));const p=u[0];if(s&&s.trim()!=="")try{const f=new URL(s);if(typeof window<"u"&&f.host===window.location.host)console.error("For security, the proxy origin must not be the same as the host origin. Using original URL instead.");else return f.searchParams.set("url",p),{iframeSrc:f.toString(),iframeRenderMode:"src"}}catch(f){console.error(`Invalid proxy URL provided: "${s}". Falling back to direct URL.`,f instanceof Error?f.message:String(f))}return{iframeSrc:p,iframeRenderMode:"src"}}else if(n.mimeType==="text/html"){let l="";if("text"in n&&typeof n.text=="string")l=n.text;else if("blob"in n&&typeof n.blob=="string")try{l=new TextDecoder().decode(Uint8Array.from(atob(n.blob),u=>u.charCodeAt(0)))}catch(u){return console.error("Error decoding base64 blob for HTML content:",u),{error:"Error decoding HTML content from blob."}}else return{error:"HTML resource requires text or blob content."};if(s&&s.trim()!=="")try{const u=new URL(s);if(typeof window<"u"&&u.host===window.location.host)console.error("For security, the proxy origin must not be the same as the host origin. Using srcDoc rendering instead.");else return u.searchParams.set("contentType","rawhtml"),{iframeSrc:u.toString(),iframeRenderMode:"src",htmlString:l}}catch(u){console.error(`Invalid proxy URL provided: "${s}". Falling back to srcDoc rendering.`,u instanceof Error?u.message:String(u))}return{htmlString:l,iframeRenderMode:"srcDoc"}}else return{error:"Unsupported mimeType. Expected text/html or text/uri-list."}}function $b(n){if("text"in n&&typeof n.text=="string"&&n.text.trim()!=="")return{code:n.text};if("blob"in n&&typeof n.blob=="string")try{return{code:new TextDecoder().decode(Uint8Array.from(atob(n.blob),s=>s.charCodeAt(0)))}}catch(s){return console.error("Error decoding base64 blob for remote DOM content:",s),{error:"Error decoding remote DOM content from blob."}}return{error:"Remote DOM resource requires non-empty text or blob content."}}function ev(n){return n._meta??{}}function tv(n){const s=ev(n),l={};return Object.entries(s).forEach(([u,p])=>{u.startsWith(Qb)&&(l[u.slice(13)]=p)}),l}var Ht={UI_MESSAGE_RECEIVED:"ui-message-received",UI_MESSAGE_RESPONSE:"ui-message-response",UI_SIZE_CHANGE:"ui-size-change",UI_LIFECYCLE_IFRAME_READY:"ui-lifecycle-iframe-ready",UI_LIFECYCLE_IFRAME_RENDER_DATA:"ui-lifecycle-iframe-render-data",UI_REQUEST_RENDER_DATA:"ui-request-render-data",UI_PROXY_IFRAME_READY:"ui-proxy-iframe-ready",UI_HTML_CONTENT:"ui-html-content"},ov={WAIT_FOR_RENDER_DATA:"waitForRenderData"},Ng=({resource:n,onUIAction:s,style:l,proxy:u,iframeRenderData:p,autoResizeIframe:f,sandboxPermissions:A,iframeProps:T})=>{const M=(0,U.useRef)(null);(0,U.useImperativeHandle)(T?.ref,()=>M.current);const{error:_,iframeSrc:I,iframeRenderMode:E,htmlString:w}=(0,U.useMemo)(()=>Wb(n,u),[n,u]),D=(0,U.useMemo)(()=>tv(n),[n]),j=D[X0.PREFERRED_FRAME_SIZE]??["100%","100%"],ae=D[X0.INITIAL_RENDER_DATA]??void 0,Q=(0,U.useMemo)(()=>{if(!(!p&&!ae))return{...ae,...p}},[p,ae]),V=(0,U.useMemo)(()=>{if(I&&Q){const Be=new URL(I);return Be.searchParams.set(ov.WAIT_FOR_RENDER_DATA,"true"),Be.toString()}return I},[I,Q]),be=(0,U.useCallback)(Be=>{var Zt;if(Q){const ze=Be.currentTarget.contentWindow,Ne=V?new URL(V).origin:"*";ja(Ht.UI_LIFECYCLE_IFRAME_RENDER_DATA,ze,Ne,void 0,{renderData:Q})}(Zt=T?.onLoad)==null||Zt.call(T,Be)},[Q,V,T?.onLoad]),$e=(0,U.useMemo)(()=>E==="srcDoc"?K0(A??"","allow-scripts"):K0(A??"","allow-scripts allow-same-origin"),[A,E]);return(0,U.useEffect)(()=>{async function Be(Zt){const{source:ze,origin:Ne,data:G}=Zt;if(M.current&&ze===M.current.contentWindow){if(G?.type===Ht.UI_PROXY_IFRAME_READY){E==="src"&&w&&V!=null&&V.includes("contentType=rawhtml")&&ja(Ht.UI_HTML_CONTENT,ze,Ne,void 0,{html:w});return}if(G?.type===Ht.UI_LIFECYCLE_IFRAME_READY){Q&&ja(Ht.UI_LIFECYCLE_IFRAME_RENDER_DATA,ze,Ne,void 0,{renderData:Q});return}if(G?.type===Ht.UI_REQUEST_RENDER_DATA){ja(Ht.UI_LIFECYCLE_IFRAME_RENDER_DATA,ze,Ne,G.messageId,{renderData:Q});return}if(G?.type===Ht.UI_SIZE_CHANGE){const{width:it,height:He}=G.payload;if(f&&M.current){const et=(typeof f=="boolean"||f.height)&&He,pa=(typeof f=="boolean"||f.width)&⁢et&&(M.current.style.height=`${He}px`),pa&&(M.current.style.width=`${it}px`)}return}const Io=G;if(!Io)return;if(s){const it=Io.messageId;ja(Ht.UI_MESSAGE_RECEIVED,ze,Ne,it);try{const He=await s(Io);ja(Ht.UI_MESSAGE_RESPONSE,ze,Ne,it,{response:He})}catch(He){console.error("Error handling UI action result in HTMLResourceRenderer:",He),ja(Ht.UI_MESSAGE_RESPONSE,ze,Ne,it,{error:He})}}}}return window.addEventListener("message",Be),()=>window.removeEventListener("message",Be)},[s,Q,E,w,V]),_?(0,C.jsx)("p",{className:"text-red-500",children:_}):E==="srcDoc"?w==null?_?null:(0,C.jsx)("p",{className:"text-orange-500",children:"No HTML content to display."}):(0,C.jsx)("iframe",{srcDoc:w,sandbox:$e,style:{width:j[0],height:j[1],...l},title:"MCP HTML Resource (Embedded Content)",...T,ref:M,onLoad:be}):E==="src"?V==null?_?null:(0,C.jsx)("p",{className:"text-orange-500",children:"No URL provided for HTML resource."}):(0,C.jsx)("iframe",{src:V,sandbox:$e,style:{width:j[0],height:j[1],...l},title:"MCP HTML Resource (URL)",...T,ref:M,onLoad:be}):(0,C.jsx)("p",{className:"text-gray-500",children:"Initializing HTML resource display..."})};Ng.displayName="HTMLResourceRenderer";function ja(n,s,l,u,p){const f=l&&l!=="null"?l:"*";s?.postMessage({type:n,messageId:u??void 0,payload:p},f)}function K0(n,s){return[...new Set([...n.split(" "),...s.split(" ")])].filter(Boolean).map(l=>l.trim()).join(" ")}var Lg=1,Pg=3,jg=8,av=9,nv=0,rv=1,iv=2,sv=3,Wr=1,id=2,sd=3,Yr="~";function Vg({call:n,insertChild:s,removeChild:l,updateText:u,updateProperty:p}){const f={[nv]:s,[rv]:l,[iv]:u,[sv]:p};return{call:n,mutate(A){for(const[T,...M]of A)f[T](...M)}}}var lv=class{constructor({retain:n,release:s,methods:l}={}){Ln(this,"root",{id:Yr,type:av,children:[],version:0,properties:{},attributes:{},eventListeners:{}}),Ln(this,"attached",new Map([[Yr,this.root]])),Ln(this,"subscribers",new Map),Ln(this,"parents",new Map),Ln(this,"implementations",new Map);const{attached:u,parents:p,subscribers:f}=this;this.connection=Vg({call:(_,I,...E)=>{const w=this.implementations.get(_),D=w?.[I];if(typeof D!="function")throw new Error(`Node ${_} does not implement the ${I}() method`);return D(...E)},insertChild:(_,I,E)=>{const w=u.get(_),{children:D}=w,j=T(I,w);E===D.length?D.push(j):D.splice(E,0,j),w.version+=1,this.parents.set(I.id,w.id),A(w)},removeChild:(_,I)=>{const E=u.get(_),{children:w}=E,[D]=w.splice(I,1);D&&(E.version+=1,A(E),M(D))},updateProperty:(_,I,E,w=Wr)=>{const D=u.get(_);n?.(E);let j;switch(w){case Wr:j=D.properties;break;case id:j=D.attributes;break;case sd:j=D.eventListeners}const ae=j[I];j[I]=E,D.version+=1;let Q;if(I==="slot"){const V=this.parents.get(_);Q=V==null?V:u.get(V),Q&&(Q.version+=1)}A(D),Q&&A(Q),s?.(ae)},updateText:(_,I)=>{const E=u.get(_);E.data=I,E.version+=1,A(E)}}),l&&this.implement(this.root,l);function A(_){const I=f.get(_.id);if(I)for(const E of I)E(_)}function T(_,I){let E;switch(_.type){case Pg:case jg:{const{id:w,type:D,data:j}=_;E={id:w,type:D,data:j,version:0};break}case Lg:{const{id:w,type:D,element:j,children:ae,properties:Q,attributes:V,eventListeners:be}=_;n?.(Q),n?.(be);const $e=[];E={id:w,type:D,element:j,version:0,children:$e,properties:{...Q},attributes:{...V},eventListeners:{...be}};for(const Be of ae)$e.push(T(Be,E));break}default:throw new Error(`Unknown node type: ${JSON.stringify(_)}`)}return u.set(E.id,E),p.set(E.id,I.id),E}function M(_){if(u.delete(_.id),p.delete(_.id),s&&("properties"in _&&s(_.properties),"eventListeners"in _&&s(_.eventListeners)),"children"in _)for(const I of _.children)M(I)}}get({id:n}){return this.attached.get(n)}implement({id:n},s){s==null?this.implementations.delete(n):this.implementations.set(n,s)}subscribe({id:n},s,{signal:l}={}){let u=this.subscribers.get(n);u??(u=new Set,this.subscribers.set(n,u)),u.add(s),l?.addEventListener("abort",()=>{u.delete(s),u.size===0&&this.subscribers.delete(n)})}},Z0=new WeakMap,Ps=new WeakMap,Bg=new WeakMap,cv=class{constructor({root:n,retain:s,release:l,call:u,cache:p}={}){Ln(this,"attached",new Map),this.root=n??document.createDocumentFragment();const{attached:f}=this,A=new Map;this.connection=Vg({call:(_,I,...E)=>{const w=_===Yr&&this.root.nodeType!==11?this.root:f.get(_);return u?u(w,I,...E):w[I](...E)},insertChild:(_,I,E)=>{const w=_===Yr?this.root:f.get(_),D=A.get(_);D&&clearTimeout(D),w.insertBefore(T(I),w.childNodes[E]||null)},removeChild:(_,I)=>{const E=(_===Yr?this.root:f.get(_)).childNodes[I];if(E.remove(),p!=null&&p.maxAge){const w=A.get(_);w&&clearTimeout(w);const D=setTimeout(()=>{M(E)},p.maxAge);A.set(_,D)}else M(E)},updateProperty:(_,I,E,w=Wr)=>{const D=f.get(_);s?.(E);const j=Ps.get(D),ae=j[I];j[I]=E,js(D,I,E,w),l?.(ae)},updateText:(_,I)=>{const E=f.get(_);E.data=I}});function T(_){const I=f.get(_.id);if(I)return I;let E;switch(_.type){case Lg:if(E=document.createElement(_.element),_.properties){Ps.set(E,_.properties);for(const w of Object.keys(_.properties)){const D=_.properties[w];s?.(D),js(E,w,D,Wr)}}else Ps.set(E,{});if(_.attributes)for(const w of Object.keys(_.attributes)){const D=_.attributes[w];s?.(D),js(E,w,D,id)}if(Bg.set(E,{}),_.eventListeners)for(const w of Object.keys(_.eventListeners)){const D=_.eventListeners[w];s?.(D),js(E,w,D,sd)}for(const w of _.children)E.appendChild(T(w));break;case Pg:E=document.createTextNode(_.data);break;case jg:E=document.createComment(_.data);break;default:throw new Error(`Unknown node type: ${JSON.stringify(_)}`)}return Z0.set(E,_.id),f.set(_.id,E),E}function M(_){const I=Z0.get(_);I&&f.delete(I);const E=Ps.get(_);if(E&&l&&l(E),_ instanceof Element)for(const w of _.childNodes)M(w)}}connect(n){const s=this.root;this.root=n,s.childNodes.forEach(l=>{n.appendChild(l)})}disconnect(){if(this.root.nodeType===11)return this.root;const n=this.root,s=new DocumentFragment;return this.root=s,n.childNodes.forEach(l=>{s.appendChild(l)}),s}};function js(n,s,l,u){switch(u){case Wr:n[s]=l;break;case id:l==null?n.removeAttribute(s):n.setAttribute(s,l);break;case sd:{const p=Bg.get(n),f=p?.[s];if(f&&n.removeEventListener(s,f),l!=null){const A=T=>{var M;if(T.target!==n)return;const _=l(T.detail);(M=T.resolve)==null||M.call(T,_)};p&&(p[s]=A),n.addEventListener(s,A)}break}}}function ld(n,s){const[l,u]=(0,U.useState)(()=>{const f=s.get(n);return{id:n.id,version:f?.version,value:f,receiver:s}});let p=l.value;if(l.receiver!==s||l.id!==n.id){const f=s.get(n);p=f,u({receiver:s,id:n.id,version:f?.version,value:p})}return(0,U.useDebugValue)(p),(0,U.useEffect)(()=>{const f=new AbortController,A=()=>{f.signal.aborted||u(T=>{const{id:M,version:_,receiver:I}=T,{id:E}=n;if(I!==s||M!==E)return T;const w=s.get(n),D=w?.version;return _===D?T:{receiver:s,value:w,id:E,version:D}})};return s.subscribe(n,A,{signal:f.signal}),A(),()=>{f.abort()}},[s,n.id]),p}function uv({remote:n,receiver:s}){const l=ld(n,s);return l?(0,C.jsx)(C.Fragment,{children:l.data}):null}function Wu(n,{receiver:s,components:l}){switch(n.type){case 1:{const u=l.get(n.element);if(u==null)throw new Error(`No component found for remote element: ${n.element}`);return(0,C.jsx)(u,{element:n,receiver:s,components:l},n.id)}case 3:return(0,C.jsx)(uv,{remote:n,receiver:s},n.id);case 8:return null;default:throw new Error(`Unknown remote node type: ${String(n)}`)}}function dv(n,s){if(!n)return;const{children:l,properties:u,attributes:p,eventListeners:f}=n,A=[],T={...u,...p,children:A};if(s.eventProps)for(const[M,_]of Object.entries(s.eventProps)){const I=_?.event;if(I==null)continue;const E=f[I];E&&(T[M]=Q0(E))}else for(const[M,_]of Object.entries(f))T[`on${M[0].toUpperCase()}${M.slice(1)}`]=Q0(_);for(const M of l)if(M.type===1&&typeof M.attributes.slot=="string"){const _=M.attributes.slot,I=Wu(M,s);T[_]=T[_]?(0,C.jsxs)(C.Fragment,{children:[T[_],I]}):I}else A.push(Wu(M,s));return T}function Q0(n){return function(...s){if(s.length===1&&s[0]instanceof Event){const l=s[0];return l.target!==l.currentTarget?void 0:"detail"in l?n(l.detail):n()}return n(...s)}}var pv=Symbol.for("remote-dom.element"),fv=Symbol.for("remote-dom.element.attached");function gv(n,{name:s,eventProps:l}={}){const u=(0,U.memo)(function({element:p,receiver:f,components:A}){const T=(0,U.useRef)(),M=ld(p,f),_=M??p,I=_.id,E=dv(_,{receiver:f,components:A,eventProps:l});if(E[pv]=_,E[fv]=M!=null,T.current==null){const w={id:I,receiver:f};w.instanceRef=hv(w),T.current=w}return T.current.id=I,T.current.receiver=f,(0,U.useEffect)(()=>{var w;const D={id:I};return f.implement(D,(w=T.current)==null?void 0:w.instanceRef.current),()=>{f.implement(D,null)}},[I,f]),(0,C.jsx)(n,{ref:T.current.instanceRef,...E})});return u.displayName=s??`RemoteComponentRenderer(${n.displayName??n.name??"Component"})`,u}function hv(n){let s=null;return{get current(){return s},set current(l){s=l,n.receiver.implement(n,l)}}}function mv(n){const{receiver:s}=n,{children:l}=ld(s.root,s);return(0,C.jsx)(C.Fragment,{children:l.map(u=>Wu(u,n))})}var bv=`<!DOCTYPE html>
|
|
11
11
|
<html>
|
|
12
12
|
<head>
|
|
13
13
|
<meta charset="utf-8">
|
|
@@ -1327,7 +1327,7 @@ Error generating stack: `+a.message+`
|
|
|
1327
1327
|
|
|
1328
1328
|
<\/script>
|
|
1329
1329
|
</body>
|
|
1330
|
-
</html>`,Bg=1,Q0=2,Hg=3,J0=4,qg=5,W0=Symbol.for("quilt.threads.serialize"),bv=Symbol.for("quilt.threads.transferable"),vv=class extends AbortController{constructor(...n){super();const s=n.find(l=>l.aborted);if(s)this.abort(s.reason);else{const l=p=>this.abort(p.target.reason),u={signal:this.signal};for(const p of n)p.addEventListener("abort",l,u)}}},$0=class extends Error{constructor(){super("You attempted to call a function on a closed thread.")}},yv="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function Gg(n=21){let s="",l=crypto.getRandomValues(new Uint8Array(n));for(let u=0;u<n;u++)s+=yv[63&l[u]];return s}var qr,Pn,Gr,Fs,Wu,Fg,xv=class{constructor(){Yt(this,Wu),Yt(this,qr,new Map),Yt(this,Pn,new Map),Yt(this,Gr,new Map),Yt(this,Fs,new WeakMap)}get(n){return Te(this,Pn).get(n)}release(n){const s=Te(this,Pn).get(n);return s&&(Te(this,Pn).delete(n),Te(this,qr).delete(s)),!!s}serialize(n){let s=Te(this,qr).get(n);return s??(s=Gg(),Te(this,qr).set(n,s),Te(this,Pn).set(s,n)),s}deserialize(n,s){var l,u;let p=(l=Te(this,Gr).get(n))==null?void 0:l.deref();return p||(p=(...f)=>{if(!Te(this,Gr).has(n))throw new Error("You attempted to call a function that was already revoked.");return s.call((A,T,M)=>{s.messages.send([Hg,A,n,T],M)},f)},(u=Qe(this,Wu,Fg).call(this,s))==null||u.register(p,n),Te(this,Gr).set(n,new WeakRef(p)),p)}};qr=new WeakMap,Pn=new WeakMap,Gr=new WeakMap,Fs=new WeakMap,Wu=new WeakSet,Fg=function(n){let s=Te(this,Fs).get(n);if(!(typeof FinalizationRegistry>"u"))return s||(s=new FinalizationRegistry(l=>{n.messages.send([qg,l])}),Te(this,Fs).set(n,s)),s};function Sv(n){return n!=null&&(Symbol.asyncIterator in n||Symbol.iterator in n)&&typeof n.next=="function"}function eg(n){if(n==null||typeof n!="object")return!1;const s=Object.getPrototypeOf(n);return s==null||s===Object.prototype}var Bu="_@f",tg="_@i",Xr,Kr,Ut,Ys,sa,Av=class{constructor(n){Yt(this,Ut),Yt(this,Xr),Yt(this,Kr),Qu(this,Xr,n?.serialize),Qu(this,Kr,n?.deserialize)}serialize(n,s,l){return Qe(this,Ut,Ys).call(this,n,s,l)}deserialize(n,s){return Qe(this,Ut,sa).call(this,n,s)}};Xr=new WeakMap,Kr=new WeakMap,Ut=new WeakSet,Ys=function(n,s,l,u=new Map,p=!1){if(n==null)return n;if(u.has(n))return u.get(n);if(u.set(n,void 0),typeof n=="object"){if(Te(this,Xr)&&!p){const T=Te(this,Xr).call(this,n,M=>Qe(this,Ut,Ys).call(this,M,s,l,u,!0),s,l);if(T!==void 0)return u.set(n,T),T}if(n[bv])return l?.push(n),u.set(n,n),n;const f=T=>Qe(this,Ut,Ys).call(this,T,s,l,u);if(typeof n[W0]=="function"){const T=n[W0]({serialize:f});return u.set(n,T),T}if(Array.isArray(n)){const T=n.map(M=>f(M));return u.set(n,T),T}if(n instanceof Map){const T=[...n.entries()].map(([w,I])=>[f(w),f(I)]),M=new Map(T);return u.set(n,M),M}if(n instanceof Set){const T=[...n].map(w=>f(w)),M=new Set(T);return u.set(n,M),M}const A=Sv(n);if(eg(n)||A){const T={};for(const M of Object.keys(n))T[M]=f(n[M]);return A&&(T.next??(T.next=f(n.next.bind(n))),T.return??(T.return=f(n.return.bind(n))),T.throw??(T.throw=f(n.throw.bind(n))),T[tg]=!0),u.set(n,T),T}}if(typeof n=="function"){const f=s.functions.serialize(n,s,l),A={[Bu]:f};return u.set(n,A),A}return u.set(n,n),n},sa=function(n,s,l=!1){if(n==null)return n;if(typeof n=="object"){if(Te(this,Kr)&&!l){const p=Te(this,Kr).call(this,n,f=>Qe(this,Ut,sa).call(this,f,s,!0),s);if(p!==void 0)return p}if(n==null)return n;if(Array.isArray(n))return n.map(p=>Qe(this,Ut,sa).call(this,p,s));if(n instanceof Map)return new Map([...n].map(([p,f])=>[Qe(this,Ut,sa).call(this,p,s),Qe(this,Ut,sa).call(this,f,s)]));if(n instanceof Set)return new Set([...n].map(p=>Qe(this,Ut,sa).call(this,p,s)));if(Bu in n)return s.functions.deserialize(n[Bu],s);if(!eg(n))return n;const u={};for(const p of Object.keys(n))p===tg?u[Symbol.asyncIterator]=()=>u:u[p]=Qe(this,Ut,sa).call(this,n[p],s);return u}return n};var jn,Ba,la,$u,Yg,ed,Xg,Tv=class{constructor(n,{imports:s,exports:l,functions:u=new xv,serialization:p=new Av,signal:f}={}){Yt(this,la),Yt(this,jn),Yt(this,Ba,new Map);var A,T,M,w;this.messages=n,Qu(this,jn,f?new vv(f):new AbortController),this.exports=l??{},this.imports=Cv(Qe(this,la,Yg).bind(this),s),this.functions=u,this.serialization=p,(T=(A=this.functions).start)==null||T.call(A,this),(w=(M=this.serialization).start)==null||w.call(M,this),this.signal.addEventListener("abort",()=>{for(const I of Te(this,Ba).keys())Qe(this,la,ed).call(this,I,void 0,new $0);Te(this,Ba).clear()},{once:!0}),n.listen(async I=>{if(!(Array.isArray(I)&&typeof I[0]=="number"))return;const E=I;switch(E[0]){case Bg:{const[,_,D,j]=E,ae=this.exports[D]??(()=>{throw new Error(`No '${D}' method is exported from this thread`)});await Qe(this,la,$u).call(this,ae,j,(Q,V,be)=>{this.messages.send([Q0,_,Q,V],be)});break}case Hg:{const[,_,D,j]=E,ae=this.functions.get(D,this)??wv;await Qe(this,la,$u).call(this,ae,j,(Q,V,be)=>{this.messages.send([J0,_,Q,V],be)});break}case Q0:case J0:Qe(this,la,ed).call(this,...E.slice(1));break;case qg:{const _=E[1];this.functions.release(_,this);break}}},{signal:this.signal})}get signal(){return Te(this,jn).signal}get closed(){return Te(this,jn).signal.aborted}close(){Te(this,jn).abort()}call(n,s){if(this.closed)return Promise.reject(new $0);const l=[],u=this.serialization.serialize(s,this,l),p=Gg(),f=Qe(this,la,Xg).call(this,p);return n(p,u,l),f}};jn=new WeakMap,Ba=new WeakMap,la=new WeakSet,$u=async function(n,s,l){try{const u=this.functions.call?await this.functions.call(n,s,this):await n(...this.serialization.deserialize(s,this)),p=[];l(this.serialization.serialize(u,this,p),void 0,p)}catch(u){l(void 0,this.serialization.serialize(u,this))}},Yg=function(n){return(...s)=>{try{if(typeof n!="string"&&typeof n!="number")throw new Error(`Can’t call a symbol method on a thread: ${n.toString()}`);return this.call((l,u,p)=>{this.messages.send([Bg,l,n,u],p)},s)}catch(l){return Promise.reject(l)}}},ed=function(...n){const s=n[0],l=Te(this,Ba).get(s);l&&(l(...n),Te(this,Ba).delete(s))},Xg=function(n){const s=new Promise((l,u)=>{Te(this,Ba).set(n,(p,f,A)=>{A==null?l(this.serialization.deserialize(f,this)):u(this.serialization.deserialize(A,this))})});return Object.defineProperty(s,Symbol.asyncIterator,{async*value(){const l=await s;Object.defineProperty(l,Symbol.asyncIterator,{value:()=>l}),yield*l}}),s};function Cv(n,s){let l;if(s==null){if(typeof Proxy!="function")throw new Error("You must pass an array of callable methods in environments without Proxies.");const u=new Map;l=new Proxy({},{get(p,f){if(u.has(f))return u.get(f);const A=n(f);return u.set(f,A),A}})}else{l={};for(const u of s)Object.defineProperty(l,u,{value:n(u),writable:!1,configurable:!0,enumerable:!0})}return l}function wv(){throw new Error("You attempted to call a function that is not stored. It may have already been released.")}var _v="quilt.threads.ping",og="quilt.threads.pong";function Ev(n,{targetOrigin:s="*"}={}){let l=!1;const u=function(f,A){n.postMessage(f,s,A)},p=new Promise(f=>{const A=new AbortController;globalThis.window.addEventListener("message",T=>{T.source===n&&T.data===og&&(l=!0,A.abort(),f())},{signal:A.signal}),A.signal.addEventListener("abort",()=>f(),{once:!0}),u(_v)});return{send(f,A){return l?u(f,A):p.then(()=>{if(l)return u(f,A)})},listen(f,{signal:A}){self.addEventListener("message",T=>{T.source===n&&T.data!==og&&f(T.data)},{signal:A})}}}var kv=class extends Tv{constructor(n,{targetOrigin:s="*",...l}={}){super(Ev(n.contentWindow,{targetOrigin:s}),l),this.iframe=n}},Kg=U.forwardRef(({content:n,children:s,...l},u)=>(0,C.jsx)("span",{ref:u,...l,children:n||s}));Kg.displayName="UIText";var Zg=U.forwardRef(({label:n,onPress:s,onClick:l,children:u,...p},f)=>(0,C.jsx)("button",{ref:f,onClick:A=>{s&&s(),l&&l(A)},style:{padding:"8px 16px",backgroundColor:"#007bff",color:"white",border:"none",borderRadius:"4px",cursor:"pointer"},...p,children:n||u}));Zg.displayName="UIButton";var Qg=U.forwardRef(({direction:n="vertical",spacing:s="8",align:l="stretch",justify:u="flex-start",children:p,...f},A)=>(0,C.jsx)("div",{ref:A,style:{display:"flex",flexDirection:n==="horizontal"?"row":"column",gap:`${s}px`,alignItems:l,justifyContent:u},...f,children:p}));Qg.displayName="UIStack";var Jg=U.forwardRef(({src:n,alt:s,width:l,height:u,children:p,...f},A)=>(0,C.jsx)("img",{ref:A,src:n,alt:s,width:l,height:u,style:{maxWidth:"100%",height:"auto",borderRadius:"8px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)"},...f}));Jg.displayName="UIImage";var Wg={name:"basic",elements:[{tagName:"ui-text",component:Kg,propMapping:{content:"content"},eventMapping:{}},{tagName:"ui-button",component:Zg,propMapping:{label:"label"},eventMapping:{press:"onPress"}},{tagName:"ui-stack",component:Qg,propMapping:{direction:"direction",spacing:"spacing",align:"align",justify:"justify"},eventMapping:{}},{tagName:"ui-image",component:Jg,propMapping:{src:"src",alt:"alt",width:"width",height:"height"},eventMapping:{}}]},Mv=({receiver:n})=>{const s=(0,U.useRef)(null);return(0,U.useEffect)(()=>{if(s.current)return n.connect(s.current),()=>{n.disconnect()}},[n]),(0,C.jsx)("div",{ref:s,"data-testid":"standard-dom-renderer-container"})},Rv=({resource:n,library:s,remoteElements:l=[],onUIAction:u})=>{const p=(0,U.useRef)(null),f=(0,U.useRef)(null),[A,T]=(0,U.useState)(null),M=(0,U.useMemo)(()=>(n.mimeType||"").includes("framework=react")?"react":"webcomponents",[n.mimeType]),w=`${s?.name}-${M}`,{receiver:I,components:E}=(0,U.useMemo)(()=>{if(M==="react"){const D=new sv,j=s||Wg,ae=new Map;return j&&j.elements.forEach(Q=>{const V=fv(Q.component);ae.set(Q.tagName,V)}),{receiver:D,components:ae}}else return{receiver:new lv,components:null}},[n,s,l]);(0,U.useEffect)(()=>{function D(j){var ae;if(p.current&&j.source===p.current.contentWindow){const Q=j.data;if(!Q)return;(ae=u?.(Q))==null||ae.catch(V=>{console.error("Error handling UI action result in RemoteDOMResourceRenderer:",V)})}}return window.addEventListener("message",D),()=>window.removeEventListener("message",D)},[u]),(0,U.useEffect)(()=>{const D=f.current;return f.current=null,()=>{D?.close()}},[w]);const _=()=>{const D=p.current;if(!D||f.current)return;const j=new kv(D);f.current=j;const{code:ae,error:Q}=Wb(n);if(Q){T(Q);return}if(ae&&I!=null&&I.connection){const V={code:ae,remoteElements:l,useReactRenderer:M==="react",componentLibrary:s?.name};j.imports.render(V,I.connection).catch(be=>console.error("Error calling remote render:",be))}};return A?(0,C.jsx)("p",{className:"text-red-500",children:A}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("iframe",{ref:p,srcDoc:mv,sandbox:"allow-scripts",style:{display:"none"},title:"Remote DOM Sandbox",onLoad:_},w),M==="react"&&E?(0,C.jsx)(hv,{receiver:I,components:E}):(0,C.jsx)(Mv,{receiver:I})]})};function Iv(n){var s;if(n.contentType)return n.contentType;if(n.mimeType==="text/html")return"rawHtml";if(n.mimeType==="text/uri-list")return"externalUrl";if((s=n.mimeType)!=null&&s.startsWith("application/vnd.mcp-ui.remote-dom"))return"remoteDom"}var Dv=n=>{const{resource:s,onUIAction:l,supportedContentTypes:u,htmlProps:p,remoteDomProps:f}=n,A=Iv(s);if(u&&A&&!u.includes(A))return(0,C.jsxs)("p",{className:"text-red-500",children:["Unsupported content type: ",A,"."]});switch(A){case"rawHtml":case"externalUrl":return(0,C.jsx)(Ug,{resource:s,onUIAction:l,...p});case"remoteDom":return(0,C.jsx)(Rv,{resource:s,onUIAction:l,library:f?.library||Wg,...f});default:return(0,C.jsx)("p",{className:"text-red-500",children:"Unsupported resource type."})}};Dv.displayName="UIResourceRenderer";function Ov(n){var s,l;return(n.type==="resource"&&((l=(s=n.resource)==null?void 0:s.uri)==null?void 0:l.startsWith("ui://")))??!1}var fe=(function(n){return n.MCP_APPS="mcp-apps",n.OPENAI_SDK="openai-sdk",n.OPENAI_SDK_AND_MCP_APPS="openai-sdk-and-mcp-apps",n.MCP_UI="mcp-ui",n})({});function E6(n){const s=n._meta;return s?zv(s,void 0):null}function zv(n,s){if(n?.["openai/outputTemplate"]&&Qr(n))return"openai-sdk-and-mcp-apps";if(n?.["openai/outputTemplate"])return"openai-sdk";if(Qr(n))return"mcp-apps";if(s?.resource?.uri?.startsWith("ui://"))return"mcp-ui";const l=s?.content;if(Array.isArray(l)){for(const u of l)if(Ov(u))return"mcp-ui"}return null}function k6(n,s){switch(n){case"mcp-apps":case"openai-sdk-and-mcp-apps":return Qr(s);case"openai-sdk":return s?.["openai/outputTemplate"]??null;default:return null}}var M6=.7;function R6(n,s){return n!==void 0?n:s==="auto"?void 0:s}function Uv(n){if(!n)return!1;const s=n.ui?.visibility;return Array.isArray(s)?s.length===1&&s[0]==="app":!1}var Nv={"--color-background-primary":["rgba(255, 255, 255, 1)","rgba(33, 33, 33, 1)"],"--color-background-secondary":["rgba(249, 249, 249, 1)","rgba(24, 24, 24, 1)"],"--color-background-tertiary":["rgba(243, 243, 243, 1)","rgba(19, 19, 19, 1)"],"--color-background-inverse":["rgba(13, 13, 13, 1)","rgba(255, 255, 255, 1)"],"--color-background-ghost":["rgba(255, 255, 255, 0)","rgba(33, 33, 33, 0)"],"--color-background-info":["rgba(229, 243, 255, 1)","rgba(1, 53, 102, 1)"],"--color-background-danger":["rgba(255, 217, 217, 1)","rgba(110, 22, 21, 1)"],"--color-background-success":["rgba(217, 244, 228, 1)","rgba(0, 79, 31, 1)"],"--color-background-warning":["rgba(255, 231, 217, 1)","rgba(109, 46, 15, 1)"],"--color-background-disabled":["rgba(13, 13, 13, 0.05)","rgba(255, 255, 255, 0.05)"],"--color-text-primary":["rgba(13, 13, 13, 1)","rgba(255, 255, 255, 1)"],"--color-text-secondary":["rgba(93, 93, 93, 1)","rgba(175, 175, 175, 1)"],"--color-text-tertiary":["rgba(143, 143, 143, 1)","rgba(143, 143, 143, 1)"],"--color-text-inverse":["rgba(255, 255, 255, 1)","rgba(13, 13, 13, 1)"],"--color-text-ghost":["rgba(143, 143, 143, 0.5)","rgba(143, 143, 143, 0.5)"],"--color-text-info":["rgba(1, 105, 204, 1)","rgba(102, 181, 255, 1)"],"--color-text-danger":["rgba(145, 30, 27, 1)","rgba(224, 46, 42, 1)"],"--color-text-success":["rgba(0, 105, 42, 1)","rgba(4, 184, 76, 1)"],"--color-text-warning":["rgba(146, 59, 15, 1)","rgba(226, 85, 7, 1)"],"--color-text-disabled":["rgba(143, 143, 143, 1)","rgba(93, 93, 93, 1)"],"--color-border-primary":["rgba(0, 0, 0, 0.15)","rgba(255, 255, 255, 0.20)"],"--color-border-secondary":["rgba(0, 0, 0, 0.10)","rgba(255, 255, 255, 0.12)"],"--color-border-tertiary":["rgba(0, 0, 0, 0.05)","rgba(255, 255, 255, 0.06)"],"--color-border-inverse":["rgba(255, 255, 255, 0.15)","rgba(0, 0, 0, 0.10)"],"--color-border-ghost":["rgba(0, 0, 0, 0)","rgba(255, 255, 255, 0)"],"--color-border-info":["rgba(1, 105, 204, 1)","rgba(2, 133, 255, 1)"],"--color-border-danger":["rgba(224, 46, 42, 1)","rgba(250, 66, 62, 1)"],"--color-border-success":["rgba(0, 162, 64, 1)","rgba(4, 184, 76, 1)"],"--color-border-warning":["rgba(226, 85, 7, 1)","rgba(251, 106, 34, 1)"],"--color-border-disabled":["rgba(0, 0, 0, 0.06)","rgba(255, 255, 255, 0.06)"],"--color-ring-primary":["rgba(13, 13, 13, 0.7)","rgba(255, 255, 255, 0.7)"],"--color-ring-secondary":["rgba(93, 93, 93, 0.7)","rgba(175, 175, 175, 0.7)"],"--color-ring-inverse":["rgba(255, 255, 255, 0.7)","rgba(13, 13, 13, 0.7)"],"--color-ring-info":["rgba(1, 105, 204, 0.5)","rgba(2, 133, 255, 0.5)"],"--color-ring-danger":["rgba(224, 46, 42, 0.5)","rgba(250, 66, 62, 0.5)"],"--color-ring-success":["rgba(0, 162, 64, 0.5)","rgba(4, 184, 76, 0.5)"],"--color-ring-warning":["rgba(226, 85, 7, 0.5)","rgba(251, 106, 34, 0.5)"]},Lv={"--font-sans":'ui-sans-serif, -apple-system, system-ui, "Segoe UI", "Noto Sans", "Helvetica", "Arial", sans-serif',"--font-mono":'ui-monospace, "SFMono-Regular", "SF Mono", "Menlo", "Monaco", "Consolas", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"18px","--font-heading-xs-size":"16px","--font-heading-sm-size":"18px","--font-heading-md-size":"20px","--font-heading-lg-size":"24px","--font-heading-xl-size":"32px","--font-heading-2xl-size":"36px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.5","--font-text-sm-line-height":"1.43","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.61","--font-heading-xs-line-height":"1.5","--font-heading-sm-line-height":"1.44","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.17","--font-heading-xl-line-height":"1.19","--font-heading-2xl-line-height":"1.17","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.08)","--shadow-sm":"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow-md":"0 2px 4px -1px rgba(0, 0, 0, 0.08)","--shadow-lg":"0 4px 8px -2px rgba(0, 0, 0, 0.1)"};function Ro(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(Nv))l[u]=s===0?p:f;return{...l,...Lv}}var Ha={light:"rgba(255, 255, 255, 1)",dark:"rgba(33, 33, 33, 1)"},$s="desktop",Pv={"--color-background-primary":["rgba(255, 255, 255, 1)","rgba(48, 48, 46, 1)"],"--color-background-secondary":["rgba(245, 244, 237, 1)","rgba(38, 38, 36, 1)"],"--color-background-tertiary":["rgba(250, 249, 245, 1)","rgba(20, 20, 19, 1)"],"--color-background-inverse":["rgba(20, 20, 19, 1)","rgba(250, 249, 245, 1)"],"--color-background-ghost":["rgba(255, 255, 255, 0)","rgba(48, 48, 46, 0)"],"--color-background-info":["rgba(214, 228, 246, 1)","rgba(37, 62, 95, 1)"],"--color-background-danger":["rgba(247, 236, 236, 1)","rgba(96, 42, 40, 1)"],"--color-background-success":["rgba(233, 241, 220, 1)","rgba(27, 70, 20, 1)"],"--color-background-warning":["rgba(246, 238, 223, 1)","rgba(72, 58, 15, 1)"],"--color-background-disabled":["rgba(255, 255, 255, 0.5)","rgba(48, 48, 46, 0.5)"],"--color-text-primary":["rgba(20, 20, 19, 1)","rgba(250, 249, 245, 1)"],"--color-text-secondary":["rgba(61, 61, 58, 1)","rgba(194, 192, 182, 1)"],"--color-text-tertiary":["rgba(115, 114, 108, 1)","rgba(156, 154, 146, 1)"],"--color-text-inverse":["rgba(255, 255, 255, 1)","rgba(20, 20, 19, 1)"],"--color-text-ghost":["rgba(115, 114, 108, 0.5)","rgba(156, 154, 146, 0.5)"],"--color-text-info":["rgba(50, 102, 173, 1)","rgba(128, 170, 221, 1)"],"--color-text-danger":["rgba(127, 44, 40, 1)","rgba(238, 136, 132, 1)"],"--color-text-success":["rgba(38, 91, 25, 1)","rgba(122, 185, 72, 1)"],"--color-text-warning":["rgba(90, 72, 21, 1)","rgba(209, 160, 65, 1)"],"--color-text-disabled":["rgba(20, 20, 19, 0.5)","rgba(250, 249, 245, 0.5)"],"--color-border-primary":["rgba(31, 30, 29, 0.4)","rgba(222, 220, 209, 0.4)"],"--color-border-secondary":["rgba(31, 30, 29, 0.3)","rgba(222, 220, 209, 0.3)"],"--color-border-tertiary":["rgba(31, 30, 29, 0.15)","rgba(222, 220, 209, 0.15)"],"--color-border-inverse":["rgba(255, 255, 255, 0.3)","rgba(20, 20, 19, 0.15)"],"--color-border-ghost":["rgba(31, 30, 29, 0)","rgba(222, 220, 209, 0)"],"--color-border-info":["rgba(70, 130, 213, 1)","rgba(70, 130, 213, 1)"],"--color-border-danger":["rgba(167, 61, 57, 1)","rgba(205, 92, 88, 1)"],"--color-border-success":["rgba(67, 116, 38, 1)","rgba(89, 145, 48, 1)"],"--color-border-warning":["rgba(128, 92, 31, 1)","rgba(168, 120, 41, 1)"],"--color-border-disabled":["rgba(31, 30, 29, 0.1)","rgba(222, 220, 209, 0.1)"],"--color-ring-primary":["rgba(20, 20, 19, 0.7)","rgba(250, 249, 245, 0.7)"],"--color-ring-secondary":["rgba(61, 61, 58, 0.7)","rgba(194, 192, 182, 0.7)"],"--color-ring-inverse":["rgba(255, 255, 255, 0.7)","rgba(20, 20, 19, 0.7)"],"--color-ring-info":["rgba(50, 102, 173, 0.5)","rgba(128, 170, 221, 0.5)"],"--color-ring-danger":["rgba(167, 61, 57, 0.5)","rgba(205, 92, 88, 0.5)"],"--color-ring-success":["rgba(67, 116, 38, 0.5)","rgba(89, 145, 48, 0.5)"],"--color-ring-warning":["rgba(128, 92, 31, 0.5)","rgba(168, 120, 41, 0.5)"]},jv={"--font-sans":"Anthropic Sans, sans-serif","--font-mono":"ui-monospace, monospace","--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"};function ti(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(Pv))l[u]=s===0?p:f;return{...l,...jv}}var oi={light:"rgba(249, 247, 243, 1)",dark:"rgba(38, 38, 36, 1)"},$g="desktop",e2={light:"rgba(255, 255, 255, 1)",dark:"rgba(31, 31, 31, 1)"};function t2(n){return Ro(n)}function $r(n){if(Array.isArray(n))return n.map($r);if(n&&typeof n=="object"){const s={};for(const[l,u]of Object.entries(n))s[l]=$r(u);return s}return n}function Vs(n){return $r(n)}function pe(n={}){return{hostStyle:n.hostStyle??"mcpjam",modelId:n.modelId??"",systemPrompt:n.systemPrompt??"",temperature:n.temperature??.7,requireToolApproval:n.requireToolApproval??!1,...n.requireNativeToolDiscovery!==void 0?{requireNativeToolDiscovery:n.requireNativeToolDiscovery}:{},respectToolVisibility:n.respectToolVisibility??!0,progressiveToolDiscovery:n.progressiveToolDiscovery??!1,serverIds:n.serverIds?[...n.serverIds]:[],optionalServerIds:n.optionalServerIds?[...n.optionalServerIds]:[],builtInToolIds:n.builtInToolIds?[...n.builtInToolIds]:[],...n.skillSelection!==void 0?{skillSelection:n.skillSelection.mode==="explicit"?{mode:"explicit",skillIds:[...n.skillSelection.skillIds]}:{mode:"all-visible"}}:{},...n.modelVisibleMcpToolResults!==void 0?{modelVisibleMcpToolResults:n.modelVisibleMcpToolResults}:{},...n.mcpToolResultImageRendering!==void 0?{mcpToolResultImageRendering:n.mcpToolResultImageRendering}:{},computer:n.computer?{kind:"personal",...n.computer.workdir?{workdir:n.computer.workdir}:{}}:void 0,browserProfileId:n.browserProfileId,harness:n.harness,connectionDefaults:{headers:n.connectionDefaults?.headers?{...n.connectionDefaults.headers}:{},requestTimeout:n.connectionDefaults?.requestTimeout??1e4},clientCapabilities:n.clientCapabilities?Vs(n.clientCapabilities):Vs(W5()),hostContext:n.hostContext?Vs(n.hostContext):{},hostCapabilitiesOverride:n.hostCapabilitiesOverride?Vs(n.hostCapabilitiesOverride):void 0,chatUiOverride:n.chatUiOverride?$r(n.chatUiOverride):void 0,mcpProfile:n.mcpProfile?$r(n.mcpProfile):void 0,serverConnectionOverrides:n.serverConnectionOverrides?Object.fromEntries(Object.entries(n.serverConnectionOverrides).map(([s,l])=>[s,{...l.headersOverride!==void 0?{headersOverride:{...l.headersOverride}}:{},...l.requestTimeoutOverride!==void 0?{requestTimeoutOverride:l.requestTimeoutOverride}:{},...l.mcpProtocolVersionOverride!==void 0?{mcpProtocolVersionOverride:l.mcpProtocolVersionOverride}:{}}])):void 0}}var Vv={"--color-background-primary":["oklch(0.9818 0.0054 95.0986)","oklch(0.2679 0.0036 106.6427)"],"--color-background-secondary":["oklch(0.9341 0.0153 90.239)","oklch(0.2213 0.0038 106.707)"],"--color-background-tertiary":["oklch(0.9245 0.0138 92.9892)","oklch(0.213 0.0078 95.4245)"],"--color-background-inverse":["oklch(0.2679 0.0036 106.6427)","oklch(0.9818 0.0054 95.0986)"],"--color-background-ghost":["oklch(0.9818 0.0054 95.0986 / 0)","oklch(0.2679 0.0036 106.6427 / 0)"],"--color-background-info":["oklch(0.93 0.04 259)","oklch(0.28 0.06 259)"],"--color-background-danger":["oklch(0.94 0.04 25.331)","oklch(0.32 0.08 25.331)"],"--color-background-success":["oklch(0.94 0.05 152.5)","oklch(0.3 0.07 152)"],"--color-background-warning":["oklch(0.95 0.06 85.3)","oklch(0.3 0.09 55)"],"--color-background-disabled":["oklch(0.9818 0.0054 95.0986 / 0.5)","oklch(0.2679 0.0036 106.6427 / 0.5)"],"--color-text-primary":["oklch(0.3438 0.0269 95.7226)","oklch(0.8074 0.0142 93.0137)"],"--color-text-secondary":["oklch(0.6059 0.0075 97.4233)","oklch(0.7713 0.0169 99.0657)"],"--color-text-tertiary":["oklch(0.4334 0.0177 98.6048)","oklch(0.7713 0.0169 99.0657 / 0.8)"],"--color-text-inverse":["oklch(1 0 0)","oklch(0.2679 0.0036 106.6427)"],"--color-text-ghost":["oklch(0.6059 0.0075 97.4233 / 0.5)","oklch(0.7713 0.0169 99.0657 / 0.5)"],"--color-text-info":["oklch(0.623 0.214 259)","oklch(0.7 0.18 259)"],"--color-text-danger":["oklch(0.6261 0.2077 25.2698)","oklch(0.6368 0.2078 25.3313)"],"--color-text-success":["oklch(0.696 0.17 152.5)","oklch(0.78 0.16 152)"],"--color-text-warning":["oklch(0.769 0.188 85.3)","oklch(0.83 0.17 85.3)"],"--color-text-disabled":["oklch(0.3438 0.0269 95.7226 / 0.5)","oklch(0.8074 0.0142 93.0137 / 0.5)"],"--color-border-primary":["oklch(0.7621 0.0156 98.3528)","oklch(0.4336 0.0113 100.2195)"],"--color-border-secondary":["oklch(0.8847 0.0069 97.3627)","oklch(0.3618 0.0101 106.8928)"],"--color-border-tertiary":["oklch(0.8847 0.0069 97.3627 / 0.6)","oklch(0.3618 0.0101 106.8928 / 0.6)"],"--color-border-inverse":["oklch(1 0 0 / 0.3)","oklch(0.2679 0.0036 106.6427 / 0.15)"],"--color-border-ghost":["oklch(0.8847 0.0069 97.3627 / 0)","oklch(0.3618 0.0101 106.8928 / 0)"],"--color-border-info":["oklch(0.623 0.214 259)","oklch(0.7 0.18 259)"],"--color-border-danger":["oklch(0.6261 0.2077 25.2698)","oklch(0.6368 0.2078 25.3313)"],"--color-border-success":["oklch(0.696 0.17 152.5)","oklch(0.78 0.16 152)"],"--color-border-warning":["oklch(0.6832 0.1382 38.744)","oklch(0.6724 0.1308 38.7559)"],"--color-border-disabled":["oklch(0.7621 0.0156 98.3528 / 0.4)","oklch(0.4336 0.0113 100.2195 / 0.4)"],"--color-ring-primary":["oklch(0.6171 0.1375 39.0427)","oklch(0.6724 0.1308 38.7559)"],"--color-ring-secondary":["oklch(0.6059 0.0075 97.4233 / 0.5)","oklch(0.7713 0.0169 99.0657 / 0.5)"],"--color-ring-inverse":["oklch(1 0 0 / 0.7)","oklch(0.2679 0.0036 106.6427 / 0.7)"],"--color-ring-info":["oklch(0.623 0.214 259 / 0.5)","oklch(0.7 0.18 259 / 0.5)"],"--color-ring-danger":["oklch(0.6261 0.2077 25.2698 / 0.5)","oklch(0.6368 0.2078 25.3313 / 0.5)"],"--color-ring-success":["oklch(0.696 0.17 152.5 / 0.5)","oklch(0.78 0.16 152 / 0.5)"],"--color-ring-warning":["oklch(0.769 0.188 85.3 / 0.5)","oklch(0.83 0.17 85.3 / 0.5)"]},Bv={"--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"};function o2(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(Vv))l[u]=s===0?p:f;return{...l,...Bv}}var Hv={"--color-background-primary":["#fff","#101013"],"--color-background-secondary":["#fbfbf8","#1a1a1e"],"--color-background-tertiary":["#f5f4ef","#27272b"],"--color-background-inverse":["#1a1a1e","#fff"],"--color-text-primary":["#201f1c","#fff"],"--color-text-secondary":["#615f57","#ccccd1"],"--color-text-tertiary":["#928f86","#a1a1aa"],"--color-text-inverse":["#fff","#101013"],"--color-text-info":["#0082e6","#55b3fb"],"--color-text-danger":["#e51300","#f66c60"],"--color-text-success":["#3aa475","#44ba82"],"--color-text-warning":["#de4408","#ff6529"],"--color-border-primary":["#0000001a","#ffffff1a"],"--color-border-secondary":["#00000026","#ffffff26"],"--color-border-tertiary":["#00000040","#ffffff40"]};function a2(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(Hv))l[u]=s===0?p:f;return l}var qv={"--border-radius-full":["9999px","9999px"],"--border-radius-lg":["6px","6px"],"--border-radius-md":["4px","4px"],"--border-radius-sm":["3px","3px"],"--border-radius-xl":["8px","8px"],"--border-radius-xs":["2px","2px"],"--border-width-regular":["1px","1px"],"--color-background-danger":["#fdeded","#5a1d1d"],"--color-background-disabled":["rgba(0, 105, 204, 0.1)","#3a3d41"],"--color-background-ghost":["transparent","transparent"],"--color-background-info":["#e6f2fa","#063b49"],"--color-background-inverse":["#202020","#d4d4d4"],"--color-background-primary":["#ffffff","#1e1e1e"],"--color-background-secondary":["#fafafd","#252526"],"--color-background-success":["rgba(88, 124, 12, 0.15)","rgba(156, 204, 44, 0.2)"],"--color-background-tertiary":["#fafafd","#333333"],"--color-background-warning":["#fdf6e3","#352a05"],"--color-border-danger":["#ad0707","#be1100"],"--color-border-disabled":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-border-ghost":["transparent","transparent"],"--color-border-info":["#0069cc","#007acc"],"--color-border-inverse":["#202020","#cccccc"],"--color-border-primary":["#e2e2e5","#303031"],"--color-border-secondary":["#e4e5e6","rgba(204, 204, 204, 0.2)"],"--color-border-success":["#73c991","#73c991"],"--color-border-tertiary":["#f0f1f2","rgba(128, 128, 128, 0.35)"],"--color-border-warning":["#b69500","#b89500"],"--color-ring-danger":["#ad0707","#be1100"],"--color-ring-info":["#0069cc","#007acc"],"--color-ring-inverse":["#0069cc","#007fd4"],"--color-ring-primary":["#0069cc","#007fd4"],"--color-ring-secondary":["#0069cc","#007fd4"],"--color-ring-success":["#73c991","#73c991"],"--color-ring-warning":["#b69500","#b89500"],"--color-text-danger":["#ad0707","#f48771"],"--color-text-disabled":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-text-ghost":["#606060","rgba(204, 204, 204, 0.7)"],"--color-text-info":["#0069cc","#3794ff"],"--color-text-inverse":["#ffffff","#1e1e1e"],"--color-text-primary":["#202020","#cccccc"],"--color-text-secondary":["#606060","rgba(204, 204, 204, 0.7)"],"--color-text-success":["#73c991","#73c991"],"--color-text-tertiary":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-text-warning":["#bf8803","#cca700"],"--font-heading-2xl-line-height":["1.25","1.25"],"--font-heading-2xl-size":["40px","40px"],"--font-heading-3xl-line-height":["1.25","1.25"],"--font-heading-3xl-size":["48px","48px"],"--font-heading-lg-line-height":["1.25","1.25"],"--font-heading-lg-size":["24px","24px"],"--font-heading-md-line-height":["1.25","1.25"],"--font-heading-md-size":["20px","20px"],"--font-heading-sm-line-height":["1.25","1.25"],"--font-heading-sm-size":["18px","18px"],"--font-heading-xl-line-height":["1.25","1.25"],"--font-heading-xl-size":["32px","32px"],"--font-heading-xs-line-height":["1.25","1.25"],"--font-heading-xs-size":["16px","16px"],"--font-mono":["Menlo, Monaco, 'Courier New', monospace","Menlo, Monaco, 'Courier New', monospace"],"--font-sans":["-apple-system, BlinkMacSystemFont, sans-serif","-apple-system, BlinkMacSystemFont, sans-serif"],"--font-text-lg-line-height":["1.5","1.5"],"--font-text-lg-size":["14px","14px"],"--font-text-md-line-height":["1.5","1.5"],"--font-text-md-size":["13px","13px"],"--font-text-sm-line-height":["1.5","1.5"],"--font-text-sm-size":["11px","11px"],"--font-text-xs-line-height":["1.5","1.5"],"--font-text-xs-size":["10px","10px"],"--font-weight-bold":["bold","bold"],"--font-weight-medium":["500","500"],"--font-weight-normal":["normal","normal"],"--font-weight-semibold":["600","600"],"--shadow-hairline":["0 0 0 1px rgba(0, 0, 0, 0)","0 0 0 1px rgba(0, 0, 0, 0.36)"],"--shadow-lg":["0 10px 15px -3px rgba(0, 0, 0, 0)","0 10px 15px -3px rgba(0, 0, 0, 0.36)"],"--shadow-md":["0 4px 6px -1px rgba(0, 0, 0, 0)","0 4px 6px -1px rgba(0, 0, 0, 0.36)"],"--shadow-sm":["0 1px 2px 0 rgba(0, 0, 0, 0)","0 1px 2px 0 rgba(0, 0, 0, 0.36)"]};function n2(n){const s=n==="light"?0:1;return Object.fromEntries(Object.entries(qv).map(([l,u])=>[l,u[s]]))}var r2="desktop",i2={"--color-background-primary":["#ffffff","#22252a"],"--color-background-secondary":["#f4f6f7","#3f434b"],"--color-background-tertiary":["#e3e6ea","#474e57"],"--color-background-inverse":["#000000","#cbd1d6"],"--color-background-ghost":["transparent","transparent"],"--color-background-info":["#5c98f9","#7cacff"],"--color-background-danger":["#f94b4b","#ff6b6b"],"--color-background-success":["#91cb80","#a3d795"],"--color-background-warning":["#fbcd44","#ffd966"],"--color-background-disabled":["#e3e6ea","#474e57"],"--color-text-primary":["#3f434b","#ffffff"],"--color-text-secondary":["#878787","#878787"],"--color-text-tertiary":["#a7b0b9","#606c7a"],"--color-text-inverse":["#ffffff","#000000"],"--color-text-ghost":["#878787","#878787"],"--color-text-info":["#5c98f9","#7cacff"],"--color-text-danger":["#f94b4b","#ff6b6b"],"--color-text-success":["#91cb80","#a3d795"],"--color-text-warning":["#fbcd44","#ffd966"],"--color-text-disabled":["#cbd1d6","#525b68"],"--color-border-primary":["#e3e6ea","#3f434b"],"--color-border-secondary":["#e3e6ea","#525b68"],"--color-border-tertiary":["#cbd1d6","#474e57"],"--color-border-inverse":["#000000","#ffffff"],"--color-border-ghost":["transparent","transparent"],"--color-border-info":["#5c98f9","#7cacff"],"--color-border-danger":["#f94b4b","#ff6b6b"],"--color-border-success":["#91cb80","#a3d795"],"--color-border-warning":["#fbcd44","#ffd966"],"--color-border-disabled":["#e3e6ea","#3f434b"],"--color-ring-primary":["#e3e6ea","#525b68"],"--color-ring-secondary":["#cbd1d6","#474e57"],"--color-ring-inverse":["#ffffff","#000000"],"--color-ring-info":["#5c98f9","#7cacff"],"--color-ring-danger":["#f94b4b","#ff6b6b"],"--color-ring-success":["#91cb80","#a3d795"],"--color-ring-warning":["#fbcd44","#ffd966"]},s2={"--font-sans":"'Cash Sans', sans-serif","--font-mono":"monospace","--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"0.75rem","--font-text-sm-size":"0.875rem","--font-text-md-size":"1rem","--font-text-lg-size":"1.125rem","--font-heading-xs-size":"1rem","--font-heading-sm-size":"1.125rem","--font-heading-md-size":"1.25rem","--font-heading-lg-size":"1.5rem","--font-heading-xl-size":"1.875rem","--font-heading-2xl-size":"2.25rem","--font-heading-3xl-size":"3rem","--font-text-xs-line-height":"1rem","--font-text-sm-line-height":"1.25rem","--font-text-md-line-height":"1.5rem","--font-text-lg-line-height":"1.75rem","--font-heading-xs-line-height":"1.5rem","--font-heading-sm-line-height":"1.75rem","--font-heading-md-line-height":"1.75rem","--font-heading-lg-line-height":"2rem","--font-heading-xl-line-height":"2.25rem","--font-heading-2xl-line-height":"2.5rem","--font-heading-3xl-line-height":"3.5rem","--border-radius-xs":"2px","--border-radius-sm":"4px","--border-radius-md":"8px","--border-radius-lg":"12px","--border-radius-xl":"16px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},Gv={...Object.fromEntries(Object.entries(i2).map(([n,[s,l]])=>[n,`light-dark(${s}, ${l})`])),...s2};function Fv(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(i2))l[u]=s===0?p:f;return{...l,...s2}}var l2=`
|
|
1330
|
+
</html>`,Hg=1,J0=2,qg=3,W0=4,Gg=5,$0=Symbol.for("quilt.threads.serialize"),vv=Symbol.for("quilt.threads.transferable"),yv=class extends AbortController{constructor(...n){super();const s=n.find(l=>l.aborted);if(s)this.abort(s.reason);else{const l=p=>this.abort(p.target.reason),u={signal:this.signal};for(const p of n)p.addEventListener("abort",l,u)}}},eg=class extends Error{constructor(){super("You attempted to call a function on a closed thread.")}},xv="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function Fg(n=21){let s="",l=crypto.getRandomValues(new Uint8Array(n));for(let u=0;u<n;u++)s+=xv[63&l[u]];return s}var qr,Pn,Gr,Fs,$u,Yg,Sv=class{constructor(){Yt(this,$u),Yt(this,qr,new Map),Yt(this,Pn,new Map),Yt(this,Gr,new Map),Yt(this,Fs,new WeakMap)}get(n){return Te(this,Pn).get(n)}release(n){const s=Te(this,Pn).get(n);return s&&(Te(this,Pn).delete(n),Te(this,qr).delete(s)),!!s}serialize(n){let s=Te(this,qr).get(n);return s??(s=Fg(),Te(this,qr).set(n,s),Te(this,Pn).set(s,n)),s}deserialize(n,s){var l,u;let p=(l=Te(this,Gr).get(n))==null?void 0:l.deref();return p||(p=(...f)=>{if(!Te(this,Gr).has(n))throw new Error("You attempted to call a function that was already revoked.");return s.call((A,T,M)=>{s.messages.send([qg,A,n,T],M)},f)},(u=Qe(this,$u,Yg).call(this,s))==null||u.register(p,n),Te(this,Gr).set(n,new WeakRef(p)),p)}};qr=new WeakMap,Pn=new WeakMap,Gr=new WeakMap,Fs=new WeakMap,$u=new WeakSet,Yg=function(n){let s=Te(this,Fs).get(n);if(!(typeof FinalizationRegistry>"u"))return s||(s=new FinalizationRegistry(l=>{n.messages.send([Gg,l])}),Te(this,Fs).set(n,s)),s};function Av(n){return n!=null&&(Symbol.asyncIterator in n||Symbol.iterator in n)&&typeof n.next=="function"}function tg(n){if(n==null||typeof n!="object")return!1;const s=Object.getPrototypeOf(n);return s==null||s===Object.prototype}var Hu="_@f",og="_@i",Xr,Kr,Ut,Ys,sa,Tv=class{constructor(n){Yt(this,Ut),Yt(this,Xr),Yt(this,Kr),Ju(this,Xr,n?.serialize),Ju(this,Kr,n?.deserialize)}serialize(n,s,l){return Qe(this,Ut,Ys).call(this,n,s,l)}deserialize(n,s){return Qe(this,Ut,sa).call(this,n,s)}};Xr=new WeakMap,Kr=new WeakMap,Ut=new WeakSet,Ys=function(n,s,l,u=new Map,p=!1){if(n==null)return n;if(u.has(n))return u.get(n);if(u.set(n,void 0),typeof n=="object"){if(Te(this,Xr)&&!p){const T=Te(this,Xr).call(this,n,M=>Qe(this,Ut,Ys).call(this,M,s,l,u,!0),s,l);if(T!==void 0)return u.set(n,T),T}if(n[vv])return l?.push(n),u.set(n,n),n;const f=T=>Qe(this,Ut,Ys).call(this,T,s,l,u);if(typeof n[$0]=="function"){const T=n[$0]({serialize:f});return u.set(n,T),T}if(Array.isArray(n)){const T=n.map(M=>f(M));return u.set(n,T),T}if(n instanceof Map){const T=[...n.entries()].map(([_,I])=>[f(_),f(I)]),M=new Map(T);return u.set(n,M),M}if(n instanceof Set){const T=[...n].map(_=>f(_)),M=new Set(T);return u.set(n,M),M}const A=Av(n);if(tg(n)||A){const T={};for(const M of Object.keys(n))T[M]=f(n[M]);return A&&(T.next??(T.next=f(n.next.bind(n))),T.return??(T.return=f(n.return.bind(n))),T.throw??(T.throw=f(n.throw.bind(n))),T[og]=!0),u.set(n,T),T}}if(typeof n=="function"){const f=s.functions.serialize(n,s,l),A={[Hu]:f};return u.set(n,A),A}return u.set(n,n),n},sa=function(n,s,l=!1){if(n==null)return n;if(typeof n=="object"){if(Te(this,Kr)&&!l){const p=Te(this,Kr).call(this,n,f=>Qe(this,Ut,sa).call(this,f,s,!0),s);if(p!==void 0)return p}if(n==null)return n;if(Array.isArray(n))return n.map(p=>Qe(this,Ut,sa).call(this,p,s));if(n instanceof Map)return new Map([...n].map(([p,f])=>[Qe(this,Ut,sa).call(this,p,s),Qe(this,Ut,sa).call(this,f,s)]));if(n instanceof Set)return new Set([...n].map(p=>Qe(this,Ut,sa).call(this,p,s)));if(Hu in n)return s.functions.deserialize(n[Hu],s);if(!tg(n))return n;const u={};for(const p of Object.keys(n))p===og?u[Symbol.asyncIterator]=()=>u:u[p]=Qe(this,Ut,sa).call(this,n[p],s);return u}return n};var jn,Ba,la,ed,Xg,td,Kg,Cv=class{constructor(n,{imports:s,exports:l,functions:u=new Sv,serialization:p=new Tv,signal:f}={}){Yt(this,la),Yt(this,jn),Yt(this,Ba,new Map);var A,T,M,_;this.messages=n,Ju(this,jn,f?new yv(f):new AbortController),this.exports=l??{},this.imports=_v(Qe(this,la,Xg).bind(this),s),this.functions=u,this.serialization=p,(T=(A=this.functions).start)==null||T.call(A,this),(_=(M=this.serialization).start)==null||_.call(M,this),this.signal.addEventListener("abort",()=>{for(const I of Te(this,Ba).keys())Qe(this,la,td).call(this,I,void 0,new eg);Te(this,Ba).clear()},{once:!0}),n.listen(async I=>{if(!(Array.isArray(I)&&typeof I[0]=="number"))return;const E=I;switch(E[0]){case Hg:{const[,w,D,j]=E,ae=this.exports[D]??(()=>{throw new Error(`No '${D}' method is exported from this thread`)});await Qe(this,la,ed).call(this,ae,j,(Q,V,be)=>{this.messages.send([J0,w,Q,V],be)});break}case qg:{const[,w,D,j]=E,ae=this.functions.get(D,this)??wv;await Qe(this,la,ed).call(this,ae,j,(Q,V,be)=>{this.messages.send([W0,w,Q,V],be)});break}case J0:case W0:Qe(this,la,td).call(this,...E.slice(1));break;case Gg:{const w=E[1];this.functions.release(w,this);break}}},{signal:this.signal})}get signal(){return Te(this,jn).signal}get closed(){return Te(this,jn).signal.aborted}close(){Te(this,jn).abort()}call(n,s){if(this.closed)return Promise.reject(new eg);const l=[],u=this.serialization.serialize(s,this,l),p=Fg(),f=Qe(this,la,Kg).call(this,p);return n(p,u,l),f}};jn=new WeakMap,Ba=new WeakMap,la=new WeakSet,ed=async function(n,s,l){try{const u=this.functions.call?await this.functions.call(n,s,this):await n(...this.serialization.deserialize(s,this)),p=[];l(this.serialization.serialize(u,this,p),void 0,p)}catch(u){l(void 0,this.serialization.serialize(u,this))}},Xg=function(n){return(...s)=>{try{if(typeof n!="string"&&typeof n!="number")throw new Error(`Can’t call a symbol method on a thread: ${n.toString()}`);return this.call((l,u,p)=>{this.messages.send([Hg,l,n,u],p)},s)}catch(l){return Promise.reject(l)}}},td=function(...n){const s=n[0],l=Te(this,Ba).get(s);l&&(l(...n),Te(this,Ba).delete(s))},Kg=function(n){const s=new Promise((l,u)=>{Te(this,Ba).set(n,(p,f,A)=>{A==null?l(this.serialization.deserialize(f,this)):u(this.serialization.deserialize(A,this))})});return Object.defineProperty(s,Symbol.asyncIterator,{async*value(){const l=await s;Object.defineProperty(l,Symbol.asyncIterator,{value:()=>l}),yield*l}}),s};function _v(n,s){let l;if(s==null){if(typeof Proxy!="function")throw new Error("You must pass an array of callable methods in environments without Proxies.");const u=new Map;l=new Proxy({},{get(p,f){if(u.has(f))return u.get(f);const A=n(f);return u.set(f,A),A}})}else{l={};for(const u of s)Object.defineProperty(l,u,{value:n(u),writable:!1,configurable:!0,enumerable:!0})}return l}function wv(){throw new Error("You attempted to call a function that is not stored. It may have already been released.")}var Ev="quilt.threads.ping",ag="quilt.threads.pong";function kv(n,{targetOrigin:s="*"}={}){let l=!1;const u=function(f,A){n.postMessage(f,s,A)},p=new Promise(f=>{const A=new AbortController;globalThis.window.addEventListener("message",T=>{T.source===n&&T.data===ag&&(l=!0,A.abort(),f())},{signal:A.signal}),A.signal.addEventListener("abort",()=>f(),{once:!0}),u(Ev)});return{send(f,A){return l?u(f,A):p.then(()=>{if(l)return u(f,A)})},listen(f,{signal:A}){self.addEventListener("message",T=>{T.source===n&&T.data!==ag&&f(T.data)},{signal:A})}}}var Mv=class extends Cv{constructor(n,{targetOrigin:s="*",...l}={}){super(kv(n.contentWindow,{targetOrigin:s}),l),this.iframe=n}},Zg=U.forwardRef(({content:n,children:s,...l},u)=>(0,C.jsx)("span",{ref:u,...l,children:n||s}));Zg.displayName="UIText";var Qg=U.forwardRef(({label:n,onPress:s,onClick:l,children:u,...p},f)=>(0,C.jsx)("button",{ref:f,onClick:A=>{s&&s(),l&&l(A)},style:{padding:"8px 16px",backgroundColor:"#007bff",color:"white",border:"none",borderRadius:"4px",cursor:"pointer"},...p,children:n||u}));Qg.displayName="UIButton";var Jg=U.forwardRef(({direction:n="vertical",spacing:s="8",align:l="stretch",justify:u="flex-start",children:p,...f},A)=>(0,C.jsx)("div",{ref:A,style:{display:"flex",flexDirection:n==="horizontal"?"row":"column",gap:`${s}px`,alignItems:l,justifyContent:u},...f,children:p}));Jg.displayName="UIStack";var Wg=U.forwardRef(({src:n,alt:s,width:l,height:u,children:p,...f},A)=>(0,C.jsx)("img",{ref:A,src:n,alt:s,width:l,height:u,style:{maxWidth:"100%",height:"auto",borderRadius:"8px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)"},...f}));Wg.displayName="UIImage";var $g={name:"basic",elements:[{tagName:"ui-text",component:Zg,propMapping:{content:"content"},eventMapping:{}},{tagName:"ui-button",component:Qg,propMapping:{label:"label"},eventMapping:{press:"onPress"}},{tagName:"ui-stack",component:Jg,propMapping:{direction:"direction",spacing:"spacing",align:"align",justify:"justify"},eventMapping:{}},{tagName:"ui-image",component:Wg,propMapping:{src:"src",alt:"alt",width:"width",height:"height"},eventMapping:{}}]},Rv=({receiver:n})=>{const s=(0,U.useRef)(null);return(0,U.useEffect)(()=>{if(s.current)return n.connect(s.current),()=>{n.disconnect()}},[n]),(0,C.jsx)("div",{ref:s,"data-testid":"standard-dom-renderer-container"})},Iv=({resource:n,library:s,remoteElements:l=[],onUIAction:u})=>{const p=(0,U.useRef)(null),f=(0,U.useRef)(null),[A,T]=(0,U.useState)(null),M=(0,U.useMemo)(()=>(n.mimeType||"").includes("framework=react")?"react":"webcomponents",[n.mimeType]),_=`${s?.name}-${M}`,{receiver:I,components:E}=(0,U.useMemo)(()=>{if(M==="react"){const D=new lv,j=s||$g,ae=new Map;return j&&j.elements.forEach(Q=>{const V=gv(Q.component);ae.set(Q.tagName,V)}),{receiver:D,components:ae}}else return{receiver:new cv,components:null}},[n,s,l]);(0,U.useEffect)(()=>{function D(j){var ae;if(p.current&&j.source===p.current.contentWindow){const Q=j.data;if(!Q)return;(ae=u?.(Q))==null||ae.catch(V=>{console.error("Error handling UI action result in RemoteDOMResourceRenderer:",V)})}}return window.addEventListener("message",D),()=>window.removeEventListener("message",D)},[u]),(0,U.useEffect)(()=>{const D=f.current;return f.current=null,()=>{D?.close()}},[_]);const w=()=>{const D=p.current;if(!D||f.current)return;const j=new Mv(D);f.current=j;const{code:ae,error:Q}=$b(n);if(Q){T(Q);return}if(ae&&I!=null&&I.connection){const V={code:ae,remoteElements:l,useReactRenderer:M==="react",componentLibrary:s?.name};j.imports.render(V,I.connection).catch(be=>console.error("Error calling remote render:",be))}};return A?(0,C.jsx)("p",{className:"text-red-500",children:A}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("iframe",{ref:p,srcDoc:bv,sandbox:"allow-scripts",style:{display:"none"},title:"Remote DOM Sandbox",onLoad:w},_),M==="react"&&E?(0,C.jsx)(mv,{receiver:I,components:E}):(0,C.jsx)(Rv,{receiver:I})]})};function Dv(n){var s;if(n.contentType)return n.contentType;if(n.mimeType==="text/html")return"rawHtml";if(n.mimeType==="text/uri-list")return"externalUrl";if((s=n.mimeType)!=null&&s.startsWith("application/vnd.mcp-ui.remote-dom"))return"remoteDom"}var Ov=n=>{const{resource:s,onUIAction:l,supportedContentTypes:u,htmlProps:p,remoteDomProps:f}=n,A=Dv(s);if(u&&A&&!u.includes(A))return(0,C.jsxs)("p",{className:"text-red-500",children:["Unsupported content type: ",A,"."]});switch(A){case"rawHtml":case"externalUrl":return(0,C.jsx)(Ng,{resource:s,onUIAction:l,...p});case"remoteDom":return(0,C.jsx)(Iv,{resource:s,onUIAction:l,library:f?.library||$g,...f});default:return(0,C.jsx)("p",{className:"text-red-500",children:"Unsupported resource type."})}};Ov.displayName="UIResourceRenderer";function zv(n){var s,l;return(n.type==="resource"&&((l=(s=n.resource)==null?void 0:s.uri)==null?void 0:l.startsWith("ui://")))??!1}var fe=(function(n){return n.MCP_APPS="mcp-apps",n.OPENAI_SDK="openai-sdk",n.OPENAI_SDK_AND_MCP_APPS="openai-sdk-and-mcp-apps",n.MCP_UI="mcp-ui",n})({});function k6(n){const s=n._meta;return s?Uv(s,void 0):null}function Uv(n,s){if(n?.["openai/outputTemplate"]&&Qr(n))return"openai-sdk-and-mcp-apps";if(n?.["openai/outputTemplate"])return"openai-sdk";if(Qr(n))return"mcp-apps";if(s?.resource?.uri?.startsWith("ui://"))return"mcp-ui";const l=s?.content;if(Array.isArray(l)){for(const u of l)if(zv(u))return"mcp-ui"}return null}function M6(n,s){switch(n){case"mcp-apps":case"openai-sdk-and-mcp-apps":return Qr(s);case"openai-sdk":return s?.["openai/outputTemplate"]??null;default:return null}}var R6=.7;function I6(n,s){return n!==void 0?n:s==="auto"?void 0:s}function Nv(n){if(!n)return!1;const s=n.ui?.visibility;return Array.isArray(s)?s.length===1&&s[0]==="app":!1}var Lv={"--color-background-primary":["rgba(255, 255, 255, 1)","rgba(33, 33, 33, 1)"],"--color-background-secondary":["rgba(249, 249, 249, 1)","rgba(24, 24, 24, 1)"],"--color-background-tertiary":["rgba(243, 243, 243, 1)","rgba(19, 19, 19, 1)"],"--color-background-inverse":["rgba(13, 13, 13, 1)","rgba(255, 255, 255, 1)"],"--color-background-ghost":["rgba(255, 255, 255, 0)","rgba(33, 33, 33, 0)"],"--color-background-info":["rgba(229, 243, 255, 1)","rgba(1, 53, 102, 1)"],"--color-background-danger":["rgba(255, 217, 217, 1)","rgba(110, 22, 21, 1)"],"--color-background-success":["rgba(217, 244, 228, 1)","rgba(0, 79, 31, 1)"],"--color-background-warning":["rgba(255, 231, 217, 1)","rgba(109, 46, 15, 1)"],"--color-background-disabled":["rgba(13, 13, 13, 0.05)","rgba(255, 255, 255, 0.05)"],"--color-text-primary":["rgba(13, 13, 13, 1)","rgba(255, 255, 255, 1)"],"--color-text-secondary":["rgba(93, 93, 93, 1)","rgba(175, 175, 175, 1)"],"--color-text-tertiary":["rgba(143, 143, 143, 1)","rgba(143, 143, 143, 1)"],"--color-text-inverse":["rgba(255, 255, 255, 1)","rgba(13, 13, 13, 1)"],"--color-text-ghost":["rgba(143, 143, 143, 0.5)","rgba(143, 143, 143, 0.5)"],"--color-text-info":["rgba(1, 105, 204, 1)","rgba(102, 181, 255, 1)"],"--color-text-danger":["rgba(145, 30, 27, 1)","rgba(224, 46, 42, 1)"],"--color-text-success":["rgba(0, 105, 42, 1)","rgba(4, 184, 76, 1)"],"--color-text-warning":["rgba(146, 59, 15, 1)","rgba(226, 85, 7, 1)"],"--color-text-disabled":["rgba(143, 143, 143, 1)","rgba(93, 93, 93, 1)"],"--color-border-primary":["rgba(0, 0, 0, 0.15)","rgba(255, 255, 255, 0.20)"],"--color-border-secondary":["rgba(0, 0, 0, 0.10)","rgba(255, 255, 255, 0.12)"],"--color-border-tertiary":["rgba(0, 0, 0, 0.05)","rgba(255, 255, 255, 0.06)"],"--color-border-inverse":["rgba(255, 255, 255, 0.15)","rgba(0, 0, 0, 0.10)"],"--color-border-ghost":["rgba(0, 0, 0, 0)","rgba(255, 255, 255, 0)"],"--color-border-info":["rgba(1, 105, 204, 1)","rgba(2, 133, 255, 1)"],"--color-border-danger":["rgba(224, 46, 42, 1)","rgba(250, 66, 62, 1)"],"--color-border-success":["rgba(0, 162, 64, 1)","rgba(4, 184, 76, 1)"],"--color-border-warning":["rgba(226, 85, 7, 1)","rgba(251, 106, 34, 1)"],"--color-border-disabled":["rgba(0, 0, 0, 0.06)","rgba(255, 255, 255, 0.06)"],"--color-ring-primary":["rgba(13, 13, 13, 0.7)","rgba(255, 255, 255, 0.7)"],"--color-ring-secondary":["rgba(93, 93, 93, 0.7)","rgba(175, 175, 175, 0.7)"],"--color-ring-inverse":["rgba(255, 255, 255, 0.7)","rgba(13, 13, 13, 0.7)"],"--color-ring-info":["rgba(1, 105, 204, 0.5)","rgba(2, 133, 255, 0.5)"],"--color-ring-danger":["rgba(224, 46, 42, 0.5)","rgba(250, 66, 62, 0.5)"],"--color-ring-success":["rgba(0, 162, 64, 0.5)","rgba(4, 184, 76, 0.5)"],"--color-ring-warning":["rgba(226, 85, 7, 0.5)","rgba(251, 106, 34, 0.5)"]},Pv={"--font-sans":'ui-sans-serif, -apple-system, system-ui, "Segoe UI", "Noto Sans", "Helvetica", "Arial", sans-serif',"--font-mono":'ui-monospace, "SFMono-Regular", "SF Mono", "Menlo", "Monaco", "Consolas", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"18px","--font-heading-xs-size":"16px","--font-heading-sm-size":"18px","--font-heading-md-size":"20px","--font-heading-lg-size":"24px","--font-heading-xl-size":"32px","--font-heading-2xl-size":"36px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.5","--font-text-sm-line-height":"1.43","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.61","--font-heading-xs-line-height":"1.5","--font-heading-sm-line-height":"1.44","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.17","--font-heading-xl-line-height":"1.19","--font-heading-2xl-line-height":"1.17","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.08)","--shadow-sm":"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow-md":"0 2px 4px -1px rgba(0, 0, 0, 0.08)","--shadow-lg":"0 4px 8px -2px rgba(0, 0, 0, 0.1)"};function Ro(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(Lv))l[u]=s===0?p:f;return{...l,...Pv}}var Ha={light:"rgba(255, 255, 255, 1)",dark:"rgba(33, 33, 33, 1)"},$s="desktop",jv={"--color-background-primary":["rgba(255, 255, 255, 1)","rgba(48, 48, 46, 1)"],"--color-background-secondary":["rgba(245, 244, 237, 1)","rgba(38, 38, 36, 1)"],"--color-background-tertiary":["rgba(250, 249, 245, 1)","rgba(20, 20, 19, 1)"],"--color-background-inverse":["rgba(20, 20, 19, 1)","rgba(250, 249, 245, 1)"],"--color-background-ghost":["rgba(255, 255, 255, 0)","rgba(48, 48, 46, 0)"],"--color-background-info":["rgba(214, 228, 246, 1)","rgba(37, 62, 95, 1)"],"--color-background-danger":["rgba(247, 236, 236, 1)","rgba(96, 42, 40, 1)"],"--color-background-success":["rgba(233, 241, 220, 1)","rgba(27, 70, 20, 1)"],"--color-background-warning":["rgba(246, 238, 223, 1)","rgba(72, 58, 15, 1)"],"--color-background-disabled":["rgba(255, 255, 255, 0.5)","rgba(48, 48, 46, 0.5)"],"--color-text-primary":["rgba(20, 20, 19, 1)","rgba(250, 249, 245, 1)"],"--color-text-secondary":["rgba(61, 61, 58, 1)","rgba(194, 192, 182, 1)"],"--color-text-tertiary":["rgba(115, 114, 108, 1)","rgba(156, 154, 146, 1)"],"--color-text-inverse":["rgba(255, 255, 255, 1)","rgba(20, 20, 19, 1)"],"--color-text-ghost":["rgba(115, 114, 108, 0.5)","rgba(156, 154, 146, 0.5)"],"--color-text-info":["rgba(50, 102, 173, 1)","rgba(128, 170, 221, 1)"],"--color-text-danger":["rgba(127, 44, 40, 1)","rgba(238, 136, 132, 1)"],"--color-text-success":["rgba(38, 91, 25, 1)","rgba(122, 185, 72, 1)"],"--color-text-warning":["rgba(90, 72, 21, 1)","rgba(209, 160, 65, 1)"],"--color-text-disabled":["rgba(20, 20, 19, 0.5)","rgba(250, 249, 245, 0.5)"],"--color-border-primary":["rgba(31, 30, 29, 0.4)","rgba(222, 220, 209, 0.4)"],"--color-border-secondary":["rgba(31, 30, 29, 0.3)","rgba(222, 220, 209, 0.3)"],"--color-border-tertiary":["rgba(31, 30, 29, 0.15)","rgba(222, 220, 209, 0.15)"],"--color-border-inverse":["rgba(255, 255, 255, 0.3)","rgba(20, 20, 19, 0.15)"],"--color-border-ghost":["rgba(31, 30, 29, 0)","rgba(222, 220, 209, 0)"],"--color-border-info":["rgba(70, 130, 213, 1)","rgba(70, 130, 213, 1)"],"--color-border-danger":["rgba(167, 61, 57, 1)","rgba(205, 92, 88, 1)"],"--color-border-success":["rgba(67, 116, 38, 1)","rgba(89, 145, 48, 1)"],"--color-border-warning":["rgba(128, 92, 31, 1)","rgba(168, 120, 41, 1)"],"--color-border-disabled":["rgba(31, 30, 29, 0.1)","rgba(222, 220, 209, 0.1)"],"--color-ring-primary":["rgba(20, 20, 19, 0.7)","rgba(250, 249, 245, 0.7)"],"--color-ring-secondary":["rgba(61, 61, 58, 0.7)","rgba(194, 192, 182, 0.7)"],"--color-ring-inverse":["rgba(255, 255, 255, 0.7)","rgba(20, 20, 19, 0.7)"],"--color-ring-info":["rgba(50, 102, 173, 0.5)","rgba(128, 170, 221, 0.5)"],"--color-ring-danger":["rgba(167, 61, 57, 0.5)","rgba(205, 92, 88, 0.5)"],"--color-ring-success":["rgba(67, 116, 38, 0.5)","rgba(89, 145, 48, 0.5)"],"--color-ring-warning":["rgba(128, 92, 31, 0.5)","rgba(168, 120, 41, 0.5)"]},Vv={"--font-sans":"Anthropic Sans, sans-serif","--font-mono":"ui-monospace, monospace","--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"};function ti(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(jv))l[u]=s===0?p:f;return{...l,...Vv}}var oi={light:"rgba(249, 247, 243, 1)",dark:"rgba(38, 38, 36, 1)"},e2="desktop",t2={light:"rgba(255, 255, 255, 1)",dark:"rgba(31, 31, 31, 1)"};function o2(n){return Ro(n)}function $r(n){if(Array.isArray(n))return n.map($r);if(n&&typeof n=="object"){const s={};for(const[l,u]of Object.entries(n))s[l]=$r(u);return s}return n}function Vs(n){return $r(n)}function pe(n={}){return{hostStyle:n.hostStyle??"mcpjam",modelId:n.modelId??"",systemPrompt:n.systemPrompt??"",temperature:n.temperature??.7,requireToolApproval:n.requireToolApproval??!1,...n.requireNativeToolDiscovery!==void 0?{requireNativeToolDiscovery:n.requireNativeToolDiscovery}:{},respectToolVisibility:n.respectToolVisibility??!0,progressiveToolDiscovery:n.progressiveToolDiscovery??!1,serverIds:n.serverIds?[...n.serverIds]:[],optionalServerIds:n.optionalServerIds?[...n.optionalServerIds]:[],builtInToolIds:n.builtInToolIds?[...n.builtInToolIds]:[],...n.skillSelection!==void 0?{skillSelection:n.skillSelection.mode==="explicit"?{mode:"explicit",skillIds:[...n.skillSelection.skillIds]}:{mode:"all-visible"}}:{},...n.modelVisibleMcpToolResults!==void 0?{modelVisibleMcpToolResults:n.modelVisibleMcpToolResults}:{},...n.mcpToolResultImageRendering!==void 0?{mcpToolResultImageRendering:n.mcpToolResultImageRendering}:{},computer:n.computer?{kind:"personal",...n.computer.workdir?{workdir:n.computer.workdir}:{}}:void 0,browserProfileId:n.browserProfileId,harness:n.harness,connectionDefaults:{headers:n.connectionDefaults?.headers?{...n.connectionDefaults.headers}:{},requestTimeout:n.connectionDefaults?.requestTimeout??1e4},clientCapabilities:n.clientCapabilities?Vs(n.clientCapabilities):Vs($5()),hostContext:n.hostContext?Vs(n.hostContext):{},hostCapabilitiesOverride:n.hostCapabilitiesOverride?Vs(n.hostCapabilitiesOverride):void 0,chatUiOverride:n.chatUiOverride?$r(n.chatUiOverride):void 0,mcpProfile:n.mcpProfile?$r(n.mcpProfile):void 0,serverConnectionOverrides:n.serverConnectionOverrides?Object.fromEntries(Object.entries(n.serverConnectionOverrides).map(([s,l])=>[s,{...l.headersOverride!==void 0?{headersOverride:{...l.headersOverride}}:{},...l.requestTimeoutOverride!==void 0?{requestTimeoutOverride:l.requestTimeoutOverride}:{},...l.mcpProtocolVersionOverride!==void 0?{mcpProtocolVersionOverride:l.mcpProtocolVersionOverride}:{}}])):void 0}}var Bv={"--color-background-primary":["oklch(0.9818 0.0054 95.0986)","oklch(0.2679 0.0036 106.6427)"],"--color-background-secondary":["oklch(0.9341 0.0153 90.239)","oklch(0.2213 0.0038 106.707)"],"--color-background-tertiary":["oklch(0.9245 0.0138 92.9892)","oklch(0.213 0.0078 95.4245)"],"--color-background-inverse":["oklch(0.2679 0.0036 106.6427)","oklch(0.9818 0.0054 95.0986)"],"--color-background-ghost":["oklch(0.9818 0.0054 95.0986 / 0)","oklch(0.2679 0.0036 106.6427 / 0)"],"--color-background-info":["oklch(0.93 0.04 259)","oklch(0.28 0.06 259)"],"--color-background-danger":["oklch(0.94 0.04 25.331)","oklch(0.32 0.08 25.331)"],"--color-background-success":["oklch(0.94 0.05 152.5)","oklch(0.3 0.07 152)"],"--color-background-warning":["oklch(0.95 0.06 85.3)","oklch(0.3 0.09 55)"],"--color-background-disabled":["oklch(0.9818 0.0054 95.0986 / 0.5)","oklch(0.2679 0.0036 106.6427 / 0.5)"],"--color-text-primary":["oklch(0.3438 0.0269 95.7226)","oklch(0.8074 0.0142 93.0137)"],"--color-text-secondary":["oklch(0.6059 0.0075 97.4233)","oklch(0.7713 0.0169 99.0657)"],"--color-text-tertiary":["oklch(0.4334 0.0177 98.6048)","oklch(0.7713 0.0169 99.0657 / 0.8)"],"--color-text-inverse":["oklch(1 0 0)","oklch(0.2679 0.0036 106.6427)"],"--color-text-ghost":["oklch(0.6059 0.0075 97.4233 / 0.5)","oklch(0.7713 0.0169 99.0657 / 0.5)"],"--color-text-info":["oklch(0.623 0.214 259)","oklch(0.7 0.18 259)"],"--color-text-danger":["oklch(0.6261 0.2077 25.2698)","oklch(0.6368 0.2078 25.3313)"],"--color-text-success":["oklch(0.696 0.17 152.5)","oklch(0.78 0.16 152)"],"--color-text-warning":["oklch(0.769 0.188 85.3)","oklch(0.83 0.17 85.3)"],"--color-text-disabled":["oklch(0.3438 0.0269 95.7226 / 0.5)","oklch(0.8074 0.0142 93.0137 / 0.5)"],"--color-border-primary":["oklch(0.7621 0.0156 98.3528)","oklch(0.4336 0.0113 100.2195)"],"--color-border-secondary":["oklch(0.8847 0.0069 97.3627)","oklch(0.3618 0.0101 106.8928)"],"--color-border-tertiary":["oklch(0.8847 0.0069 97.3627 / 0.6)","oklch(0.3618 0.0101 106.8928 / 0.6)"],"--color-border-inverse":["oklch(1 0 0 / 0.3)","oklch(0.2679 0.0036 106.6427 / 0.15)"],"--color-border-ghost":["oklch(0.8847 0.0069 97.3627 / 0)","oklch(0.3618 0.0101 106.8928 / 0)"],"--color-border-info":["oklch(0.623 0.214 259)","oklch(0.7 0.18 259)"],"--color-border-danger":["oklch(0.6261 0.2077 25.2698)","oklch(0.6368 0.2078 25.3313)"],"--color-border-success":["oklch(0.696 0.17 152.5)","oklch(0.78 0.16 152)"],"--color-border-warning":["oklch(0.6832 0.1382 38.744)","oklch(0.6724 0.1308 38.7559)"],"--color-border-disabled":["oklch(0.7621 0.0156 98.3528 / 0.4)","oklch(0.4336 0.0113 100.2195 / 0.4)"],"--color-ring-primary":["oklch(0.6171 0.1375 39.0427)","oklch(0.6724 0.1308 38.7559)"],"--color-ring-secondary":["oklch(0.6059 0.0075 97.4233 / 0.5)","oklch(0.7713 0.0169 99.0657 / 0.5)"],"--color-ring-inverse":["oklch(1 0 0 / 0.7)","oklch(0.2679 0.0036 106.6427 / 0.7)"],"--color-ring-info":["oklch(0.623 0.214 259 / 0.5)","oklch(0.7 0.18 259 / 0.5)"],"--color-ring-danger":["oklch(0.6261 0.2077 25.2698 / 0.5)","oklch(0.6368 0.2078 25.3313 / 0.5)"],"--color-ring-success":["oklch(0.696 0.17 152.5 / 0.5)","oklch(0.78 0.16 152 / 0.5)"],"--color-ring-warning":["oklch(0.769 0.188 85.3 / 0.5)","oklch(0.83 0.17 85.3 / 0.5)"]},Hv={"--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"};function a2(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(Bv))l[u]=s===0?p:f;return{...l,...Hv}}var qv={"--color-background-primary":["#fff","#101013"],"--color-background-secondary":["#fbfbf8","#1a1a1e"],"--color-background-tertiary":["#f5f4ef","#27272b"],"--color-background-inverse":["#1a1a1e","#fff"],"--color-text-primary":["#201f1c","#fff"],"--color-text-secondary":["#615f57","#ccccd1"],"--color-text-tertiary":["#928f86","#a1a1aa"],"--color-text-inverse":["#fff","#101013"],"--color-text-info":["#0082e6","#55b3fb"],"--color-text-danger":["#e51300","#f66c60"],"--color-text-success":["#3aa475","#44ba82"],"--color-text-warning":["#de4408","#ff6529"],"--color-border-primary":["#0000001a","#ffffff1a"],"--color-border-secondary":["#00000026","#ffffff26"],"--color-border-tertiary":["#00000040","#ffffff40"]};function n2(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(qv))l[u]=s===0?p:f;return l}var Gv={"--border-radius-full":["9999px","9999px"],"--border-radius-lg":["6px","6px"],"--border-radius-md":["4px","4px"],"--border-radius-sm":["3px","3px"],"--border-radius-xl":["8px","8px"],"--border-radius-xs":["2px","2px"],"--border-width-regular":["1px","1px"],"--color-background-danger":["#fdeded","#5a1d1d"],"--color-background-disabled":["rgba(0, 105, 204, 0.1)","#3a3d41"],"--color-background-ghost":["transparent","transparent"],"--color-background-info":["#e6f2fa","#063b49"],"--color-background-inverse":["#202020","#d4d4d4"],"--color-background-primary":["#ffffff","#1e1e1e"],"--color-background-secondary":["#fafafd","#252526"],"--color-background-success":["rgba(88, 124, 12, 0.15)","rgba(156, 204, 44, 0.2)"],"--color-background-tertiary":["#fafafd","#333333"],"--color-background-warning":["#fdf6e3","#352a05"],"--color-border-danger":["#ad0707","#be1100"],"--color-border-disabled":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-border-ghost":["transparent","transparent"],"--color-border-info":["#0069cc","#007acc"],"--color-border-inverse":["#202020","#cccccc"],"--color-border-primary":["#e2e2e5","#303031"],"--color-border-secondary":["#e4e5e6","rgba(204, 204, 204, 0.2)"],"--color-border-success":["#73c991","#73c991"],"--color-border-tertiary":["#f0f1f2","rgba(128, 128, 128, 0.35)"],"--color-border-warning":["#b69500","#b89500"],"--color-ring-danger":["#ad0707","#be1100"],"--color-ring-info":["#0069cc","#007acc"],"--color-ring-inverse":["#0069cc","#007fd4"],"--color-ring-primary":["#0069cc","#007fd4"],"--color-ring-secondary":["#0069cc","#007fd4"],"--color-ring-success":["#73c991","#73c991"],"--color-ring-warning":["#b69500","#b89500"],"--color-text-danger":["#ad0707","#f48771"],"--color-text-disabled":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-text-ghost":["#606060","rgba(204, 204, 204, 0.7)"],"--color-text-info":["#0069cc","#3794ff"],"--color-text-inverse":["#ffffff","#1e1e1e"],"--color-text-primary":["#202020","#cccccc"],"--color-text-secondary":["#606060","rgba(204, 204, 204, 0.7)"],"--color-text-success":["#73c991","#73c991"],"--color-text-tertiary":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-text-warning":["#bf8803","#cca700"],"--font-heading-2xl-line-height":["1.25","1.25"],"--font-heading-2xl-size":["40px","40px"],"--font-heading-3xl-line-height":["1.25","1.25"],"--font-heading-3xl-size":["48px","48px"],"--font-heading-lg-line-height":["1.25","1.25"],"--font-heading-lg-size":["24px","24px"],"--font-heading-md-line-height":["1.25","1.25"],"--font-heading-md-size":["20px","20px"],"--font-heading-sm-line-height":["1.25","1.25"],"--font-heading-sm-size":["18px","18px"],"--font-heading-xl-line-height":["1.25","1.25"],"--font-heading-xl-size":["32px","32px"],"--font-heading-xs-line-height":["1.25","1.25"],"--font-heading-xs-size":["16px","16px"],"--font-mono":["Menlo, Monaco, 'Courier New', monospace","Menlo, Monaco, 'Courier New', monospace"],"--font-sans":["-apple-system, BlinkMacSystemFont, sans-serif","-apple-system, BlinkMacSystemFont, sans-serif"],"--font-text-lg-line-height":["1.5","1.5"],"--font-text-lg-size":["14px","14px"],"--font-text-md-line-height":["1.5","1.5"],"--font-text-md-size":["13px","13px"],"--font-text-sm-line-height":["1.5","1.5"],"--font-text-sm-size":["11px","11px"],"--font-text-xs-line-height":["1.5","1.5"],"--font-text-xs-size":["10px","10px"],"--font-weight-bold":["bold","bold"],"--font-weight-medium":["500","500"],"--font-weight-normal":["normal","normal"],"--font-weight-semibold":["600","600"],"--shadow-hairline":["0 0 0 1px rgba(0, 0, 0, 0)","0 0 0 1px rgba(0, 0, 0, 0.36)"],"--shadow-lg":["0 10px 15px -3px rgba(0, 0, 0, 0)","0 10px 15px -3px rgba(0, 0, 0, 0.36)"],"--shadow-md":["0 4px 6px -1px rgba(0, 0, 0, 0)","0 4px 6px -1px rgba(0, 0, 0, 0.36)"],"--shadow-sm":["0 1px 2px 0 rgba(0, 0, 0, 0)","0 1px 2px 0 rgba(0, 0, 0, 0.36)"]};function r2(n){const s=n==="light"?0:1;return Object.fromEntries(Object.entries(Gv).map(([l,u])=>[l,u[s]]))}var i2="desktop",s2={"--color-background-primary":["#ffffff","#22252a"],"--color-background-secondary":["#f4f6f7","#3f434b"],"--color-background-tertiary":["#e3e6ea","#474e57"],"--color-background-inverse":["#000000","#cbd1d6"],"--color-background-ghost":["transparent","transparent"],"--color-background-info":["#5c98f9","#7cacff"],"--color-background-danger":["#f94b4b","#ff6b6b"],"--color-background-success":["#91cb80","#a3d795"],"--color-background-warning":["#fbcd44","#ffd966"],"--color-background-disabled":["#e3e6ea","#474e57"],"--color-text-primary":["#3f434b","#ffffff"],"--color-text-secondary":["#878787","#878787"],"--color-text-tertiary":["#a7b0b9","#606c7a"],"--color-text-inverse":["#ffffff","#000000"],"--color-text-ghost":["#878787","#878787"],"--color-text-info":["#5c98f9","#7cacff"],"--color-text-danger":["#f94b4b","#ff6b6b"],"--color-text-success":["#91cb80","#a3d795"],"--color-text-warning":["#fbcd44","#ffd966"],"--color-text-disabled":["#cbd1d6","#525b68"],"--color-border-primary":["#e3e6ea","#3f434b"],"--color-border-secondary":["#e3e6ea","#525b68"],"--color-border-tertiary":["#cbd1d6","#474e57"],"--color-border-inverse":["#000000","#ffffff"],"--color-border-ghost":["transparent","transparent"],"--color-border-info":["#5c98f9","#7cacff"],"--color-border-danger":["#f94b4b","#ff6b6b"],"--color-border-success":["#91cb80","#a3d795"],"--color-border-warning":["#fbcd44","#ffd966"],"--color-border-disabled":["#e3e6ea","#3f434b"],"--color-ring-primary":["#e3e6ea","#525b68"],"--color-ring-secondary":["#cbd1d6","#474e57"],"--color-ring-inverse":["#ffffff","#000000"],"--color-ring-info":["#5c98f9","#7cacff"],"--color-ring-danger":["#f94b4b","#ff6b6b"],"--color-ring-success":["#91cb80","#a3d795"],"--color-ring-warning":["#fbcd44","#ffd966"]},l2={"--font-sans":"'Cash Sans', sans-serif","--font-mono":"monospace","--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"0.75rem","--font-text-sm-size":"0.875rem","--font-text-md-size":"1rem","--font-text-lg-size":"1.125rem","--font-heading-xs-size":"1rem","--font-heading-sm-size":"1.125rem","--font-heading-md-size":"1.25rem","--font-heading-lg-size":"1.5rem","--font-heading-xl-size":"1.875rem","--font-heading-2xl-size":"2.25rem","--font-heading-3xl-size":"3rem","--font-text-xs-line-height":"1rem","--font-text-sm-line-height":"1.25rem","--font-text-md-line-height":"1.5rem","--font-text-lg-line-height":"1.75rem","--font-heading-xs-line-height":"1.5rem","--font-heading-sm-line-height":"1.75rem","--font-heading-md-line-height":"1.75rem","--font-heading-lg-line-height":"2rem","--font-heading-xl-line-height":"2.25rem","--font-heading-2xl-line-height":"2.5rem","--font-heading-3xl-line-height":"3.5rem","--border-radius-xs":"2px","--border-radius-sm":"4px","--border-radius-md":"8px","--border-radius-lg":"12px","--border-radius-xl":"16px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},Fv={...Object.fromEntries(Object.entries(s2).map(([n,[s,l]])=>[n,`light-dark(${s}, ${l})`])),...l2};function Yv(n){const s=n==="light"?0:1,l={};for(const[u,[p,f]]of Object.entries(s2))l[u]=s===0?p:f;return{...l,...l2}}var c2=`
|
|
1331
1331
|
@font-face {
|
|
1332
1332
|
font-family: 'Cash Sans';
|
|
1333
1333
|
src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Light.woff2) format('woff2'),
|
|
@@ -1356,7 +1356,7 @@ Error generating stack: `+a.message+`
|
|
|
1356
1356
|
font-weight: 700;
|
|
1357
1357
|
font-style: normal;
|
|
1358
1358
|
}
|
|
1359
|
-
`;function Kt(n){return Array.isArray(n.availableDisplayModes)&&Object.freeze(n.availableDisplayModes),n.cspConnectDomains&&Object.freeze(n.cspConnectDomains),n.cspResourceDomains&&Object.freeze(n.cspResourceDomains),Object.freeze(n)}var ai=Kt({availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),Yv=Kt({...ai,availableDisplayModes:["inline","fullscreen"],cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},requestTeardown:!1,safeAreaInsets:!0}),Xv=Kt({...ai,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},downloadFile:!0,requestTeardown:!1,safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"]}),I6=Kt({...ai,availableDisplayModes:["inline","fullscreen"],toolCancelled:!1,resourceTeardown:!1,toolInfo:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1}),Kv=Kt({...ai,availableDisplayModes:["inline"],updateModelContext:!1,message:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1}),Zv=Kt({availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!1,xhr:!1,websocket:!1},cspResourceDomains:{script:!1,stylesheet:!1,image:!1,font:!1,media:!1},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),Qv=Kt({availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!1,logging:!1,updateModelContext:!0,message:!0,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),D6=Kt({availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),O6=Kt({availableDisplayModes:["inline","fullscreen","pip"],toolInfo:!0,openLinks:!0,logging:!0,message:!0,serverResources:!0,serverTools:!1,updateModelContext:!1,downloadFile:!1,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!1,resourcePrefersBorder:!0,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),Jv=Kt({availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),Zr=Kt({availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),c2={"--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"},Wv={"--color-background-primary":"#fff","--color-background-secondary":"#f8f8f8","--color-background-tertiary":"#eaeaea","--color-background-inverse":"#1d1c1d","--color-background-info":"#e3f8ff","--color-background-danger":"#ffe8ef","--color-background-success":"#e3fff3","--color-background-warning":"#fffae0","--color-background-disabled":"#1d1c1d0f","--color-text-primary":"#1d1c1d","--color-text-secondary":"#454447","--color-text-tertiary":"#5e5d60","--color-text-inverse":"#fff","--color-text-info":"#1264a3","--color-text-danger":"#c01343","--color-text-success":"#007a5a","--color-text-warning":"#6b5000","--color-text-disabled":"#5e5d60","--color-border-primary":"#7c7a7f","--color-border-secondary":"#5e5d6073","--color-border-tertiary":"#5e5d6021","--color-border-inverse":"#f8f8f8d9","--color-border-info":"#1264a3","--color-border-danger":"#e01e5a","--color-border-success":"#007a5a","--color-border-warning":"#c79600","--color-border-disabled":"#5e5d6021","--color-ring-primary":"#7c7a7f","--color-ring-secondary":"#5e5d6073","--color-ring-inverse":"#f8f8f8d9","--color-ring-info":"#1264a3","--color-ring-danger":"#e01e5a","--color-ring-success":"#007a5a","--color-ring-warning":"#c79600",...c2},$v={"--color-background-primary":"#1a1d21","--color-background-secondary":"#1a1d21","--color-background-tertiary":"#212428","--color-background-inverse":"#212428","--color-background-info":"#001a2d","--color-background-danger":"#300005","--color-background-success":"#05241b","--color-background-warning":"#2f1e00","--color-background-disabled":"#f8f8f80f","--color-text-primary":"#f8f8f8","--color-text-secondary":"#b9babd","--color-text-tertiary":"#9a9b9e","--color-text-inverse":"#f8f8f8","--color-text-info":"#2ba5ce","--color-text-danger":"#de678a","--color-text-success":"#3daa7c","--color-text-warning":"#dea700","--color-text-disabled":"#9a9b9e","--color-border-primary":"#797c81","--color-border-secondary":"#797c8180","--color-border-tertiary":"#797c814d","--color-border-inverse":"#797c81","--color-border-info":"#2ba5ce","--color-border-danger":"#d94c75","--color-border-success":"#259b69","--color-border-warning":"#d29c00","--color-border-disabled":"#797c814d","--color-ring-primary":"#797c81","--color-ring-secondary":"#797c8180","--color-ring-inverse":"#797c81","--color-ring-info":"#2ba5ce","--color-ring-danger":"#d94c75","--color-ring-success":"#259b69","--color-ring-warning":"#d29c00",...c2};function u2(n){return{...n==="light"?Wv:$v}}var d2='body { font-family: "Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif; }',ag={maxBlocks:256,turnMaxBytes:8388608,updateMaxBytes:2548e3},e4={id:"opencode",label:"OpenCode",description:"The OpenCode coding agent in a terminal. No widget rendering.",seed:()=>{const n=pe({hostStyle:"opencode",modelId:"anthropic/claude-haiku-4.5",temperature:1,requireToolApproval:!0,progressiveToolDiscovery:!0,harness:"opencode",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1},n}},ng="0.0.0",Bs={"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":"Anthropic Sans, sans-serif","--font-mono":"ui-monospace, monospace","--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},Hs=`
|
|
1359
|
+
`;function Kt(n){return Array.isArray(n.availableDisplayModes)&&Object.freeze(n.availableDisplayModes),n.cspConnectDomains&&Object.freeze(n.cspConnectDomains),n.cspResourceDomains&&Object.freeze(n.cspResourceDomains),Object.freeze(n)}var ai=Kt({availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),Xv=Kt({...ai,availableDisplayModes:["inline","fullscreen"],cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},requestTeardown:!1,safeAreaInsets:!0}),Kv=Kt({...ai,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},downloadFile:!0,requestTeardown:!1,safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"]}),D6=Kt({...ai,availableDisplayModes:["inline","fullscreen"],toolCancelled:!1,resourceTeardown:!1,toolInfo:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1}),Zv=Kt({...ai,availableDisplayModes:["inline"],updateModelContext:!1,message:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1}),Qv=Kt({availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!1,xhr:!1,websocket:!1},cspResourceDomains:{script:!1,stylesheet:!1,image:!1,font:!1,media:!1},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),Jv=Kt({availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!1,logging:!1,updateModelContext:!0,message:!0,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),O6=Kt({availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),z6=Kt({availableDisplayModes:["inline","fullscreen","pip"],toolInfo:!0,openLinks:!0,logging:!0,message:!0,serverResources:!0,serverTools:!1,updateModelContext:!1,downloadFile:!1,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!1,resourcePrefersBorder:!0,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),Wv=Kt({availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),Zr=Kt({availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),u2={"--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"},$v={"--color-background-primary":"#fff","--color-background-secondary":"#f8f8f8","--color-background-tertiary":"#eaeaea","--color-background-inverse":"#1d1c1d","--color-background-info":"#e3f8ff","--color-background-danger":"#ffe8ef","--color-background-success":"#e3fff3","--color-background-warning":"#fffae0","--color-background-disabled":"#1d1c1d0f","--color-text-primary":"#1d1c1d","--color-text-secondary":"#454447","--color-text-tertiary":"#5e5d60","--color-text-inverse":"#fff","--color-text-info":"#1264a3","--color-text-danger":"#c01343","--color-text-success":"#007a5a","--color-text-warning":"#6b5000","--color-text-disabled":"#5e5d60","--color-border-primary":"#7c7a7f","--color-border-secondary":"#5e5d6073","--color-border-tertiary":"#5e5d6021","--color-border-inverse":"#f8f8f8d9","--color-border-info":"#1264a3","--color-border-danger":"#e01e5a","--color-border-success":"#007a5a","--color-border-warning":"#c79600","--color-border-disabled":"#5e5d6021","--color-ring-primary":"#7c7a7f","--color-ring-secondary":"#5e5d6073","--color-ring-inverse":"#f8f8f8d9","--color-ring-info":"#1264a3","--color-ring-danger":"#e01e5a","--color-ring-success":"#007a5a","--color-ring-warning":"#c79600",...u2},e4={"--color-background-primary":"#1a1d21","--color-background-secondary":"#1a1d21","--color-background-tertiary":"#212428","--color-background-inverse":"#212428","--color-background-info":"#001a2d","--color-background-danger":"#300005","--color-background-success":"#05241b","--color-background-warning":"#2f1e00","--color-background-disabled":"#f8f8f80f","--color-text-primary":"#f8f8f8","--color-text-secondary":"#b9babd","--color-text-tertiary":"#9a9b9e","--color-text-inverse":"#f8f8f8","--color-text-info":"#2ba5ce","--color-text-danger":"#de678a","--color-text-success":"#3daa7c","--color-text-warning":"#dea700","--color-text-disabled":"#9a9b9e","--color-border-primary":"#797c81","--color-border-secondary":"#797c8180","--color-border-tertiary":"#797c814d","--color-border-inverse":"#797c81","--color-border-info":"#2ba5ce","--color-border-danger":"#d94c75","--color-border-success":"#259b69","--color-border-warning":"#d29c00","--color-border-disabled":"#797c814d","--color-ring-primary":"#797c81","--color-ring-secondary":"#797c8180","--color-ring-inverse":"#797c81","--color-ring-info":"#2ba5ce","--color-ring-danger":"#d94c75","--color-ring-success":"#259b69","--color-ring-warning":"#d29c00",...u2};function d2(n){return{...n==="light"?$v:e4}}var p2='body { font-family: "Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif; }',ng={maxBlocks:256,turnMaxBytes:8388608,updateMaxBytes:2548e3},t4={id:"opencode",label:"OpenCode",description:"The OpenCode coding agent in a terminal. No widget rendering.",seed:()=>{const n=pe({hostStyle:"opencode",modelId:"anthropic/claude-haiku-4.5",temperature:1,requireToolApproval:!0,progressiveToolDiscovery:!0,harness:"opencode",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1},n}},rg="0.0.0",Bs={"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":"Anthropic Sans, sans-serif","--font-mono":"ui-monospace, monospace","--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},Hs=`
|
|
1360
1360
|
@font-face {
|
|
1361
1361
|
font-family: "Anthropic Sans";
|
|
1362
1362
|
src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
|
|
@@ -1413,16 +1413,16 @@ Error generating stack: `+a.message+`
|
|
|
1413
1413
|
font-style: italic;
|
|
1414
1414
|
font-display: swap;
|
|
1415
1415
|
}
|
|
1416
|
-
`,z6=["mcpjam","claude","claude-desktop","claude-code","claude-code-desktop","claude-code-web","chatgpt","chatgpt-desktop","chatgpt-work","chatgpt-work-desktop","mistral","goose","slack","cursor","copilot-cli","cursor-cli","codex","codex-cli","opencode","copilot","vscode","agentcore","n8n","gemini","perplexity","cline","notion","muse","grokbot"],rt="dark",t4="anthropic/claude-haiku-5.5",rg=[{id:"mcpjam",label:"MCPJam",description:"SDK defaults with hosted Claude Haiku.",seed:n=>{const s=pe({hostStyle:"mcpjam",modelId:t4}),l=n?.theme??rt;return s.hostCapabilitiesOverride={experimental:{},openLinks:{},downloadFile:{},serverTools:{},serverResources:{},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.clientCapabilities={...s.clientCapabilities,elicitation:{form:{},url:{}},extensions:{...s.clientCapabilities.extensions,[K5]:{},[$5]:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"mcpjam-inspector",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:o2(l)}},s.mcpProfile={profileVersion:1,initialize:{clientInfo:{name:"mcpjam-inspector",version:n?.appVersion??ng}},apps:{uiInitialize:{hostInfo:{name:"MCPJam",version:n?.appVersion??ng}},compatRuntime:{openaiApps:!0},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{camera:!0,microphone:!0,geolocation:!0,clipboardWrite:!0}}}}},s}},{id:"claude",label:"Claude",description:"Anthropic-style host.",seed:n=>{const s=pe({hostStyle:"claude",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});delete s.progressiveToolDiscovery;const l=n?.theme??rt;return s.hostCapabilitiesOverride={openLinks:{},downloadFile:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:Bs,css:{fonts:Hs}}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",mrtrModes:{requestState:!1,elicitation:!1},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},resourceCacheTtl:!0,toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}},s}},{id:"claude-desktop",label:"Claude Desktop",description:"Anthropic-style host, Electron desktop app.",seed:n=>{const s=pe({hostStyle:"claude-desktop",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});delete s.progressiveToolDiscovery;const l=n?.theme??rt;return s.hostCapabilitiesOverride={openLinks:{},downloadFile:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/5.1231.2 Chrome/156.0.8078.75 Electron/45.2.1 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:Bs,css:{fonts:Hs}}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",mrtrModes:{requestState:!1,elicitation:!1},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},resourceCacheTtl:!0,toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}},s}},{id:"claude-code",label:"Claude Code",description:"Anthropic's coding CLI. Roots + form elicitation, no widget rendering.",seed:()=>{const n=pe({hostStyle:"claude-code",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!0,harness:"claude-code",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return n.clientCapabilities={elicitation:{form:{}},roots:{listChanged:!0}},n.progressiveToolDiscovery=!0,n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},unauthorizedChallenge:"notify",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-code",title:"Claude Code",version:"2.1.290",description:"Anthropic's agentic coding tool",websiteUrl:"https://claude.com/claude-code"}}},n}},{id:"claude-code-desktop",label:"Claude Code Desktop",description:"Claude Code in the Claude desktop app. Claude Desktop's widget host.",seed:n=>{const s=pe({hostStyle:"claude-code-desktop",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1,progressiveToolDiscovery:!0}),l=n?.theme??rt;return s.clientCapabilities={elicitation:{form:{},url:{}},extensions:{[co]:{mimeTypes:[lo]}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/3.6556.2 Chrome/152.0.7977.167 Electron/44.9.3 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:Bs,css:{fonts:Hs}}},s.mcpProfile={profileVersion:1,unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1}}},s}},{id:"claude-code-web",label:"Claude Code Web",description:"Claude Code on the web. claude.ai's widget host, inline only.",seed:n=>{const s=pe({hostStyle:"claude-code-web",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1,progressiveToolDiscovery:!0}),l=n?.theme??rt;return s.clientCapabilities={elicitation:{form:{},url:{}},extensions:{[co]:{mimeTypes:[lo]}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:Bs,css:{fonts:Hs}}},s.mcpProfile={profileVersion:1,unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline"],toolInputPartial:!0,hostContextChanged:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1}}},s}},{id:"chatgpt",label:"ChatGPT",description:"OpenAI-style host with ChatGPT protocol.",seed:n=>{const s=pe({hostStyle:"chatgpt",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={...s.clientCapabilities,experimental:{"openai/visibility":{enabled:!0}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,mcpProtocolVersion:"auto",paginationTraversal:"full",toolListChanged:{listens:!0},toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp",version:"1.0.0"}},apps:{pluginExtensions:{capabilities:{fileResources:!1,fileViewers:!1,localFiles:!1,mentions:!1},enabled:!0},modelContextPolicy:{...ag},uiInitialize:{hostInfo:{name:"chatgpt",version:"unknown"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{microphone:!0,clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},s}},{id:"chatgpt-desktop",label:"ChatGPT Desktop",description:"The ChatGPT desktop app's widget host.",seed:n=>{const s=pe({hostStyle:"chatgpt-desktop",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={...s.clientCapabilities,experimental:{"openai/visibility":{enabled:!0}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp",version:"1.0.0"}},apps:{pluginExtensions:{enabled:!0},uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1103.60933"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},s}},{id:"chatgpt-work",label:"ChatGPT Work",description:"ChatGPT's work mode on the web: the Codex connector, ChatGPT's widget host.",seed:n=>{const s=pe({hostStyle:"chatgpt-work",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{[co]:{mimeTypes:[lo,"text/html+skybridge"]},"openai/elicitation":{form:{}}},experimental:{"openai/visibility":{enabled:!0}},elicitation:{form:{}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{pluginExtensions:{capabilities:{fileResources:!1,fileViewers:!1,localFiles:!1,mentions:!1},enabled:!0},modelContextPolicy:{...ag},uiInitialize:{hostInfo:{name:"chatgpt",version:"unknown"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!0},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{microphone:!0,clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},s}},{id:"chatgpt-work-desktop",label:"ChatGPT Work Desktop",description:"ChatGPT's work mode in the desktop app: the Codex connector, the desktop widget host.",seed:n=>{const s=pe({hostStyle:"chatgpt-work-desktop",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{[co]:{mimeTypes:[lo,"text/html+skybridge"]},"openai/elicitation":{form:{}}},experimental:{"openai/visibility":{enabled:!0}},elicitation:{form:{}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{pluginExtensions:{enabled:!0},uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1106.51428"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},s}},{id:"mistral",label:"Mistral",description:"Mistral web host. MCP Apps, no OpenAI shim.",seed:n=>{const s=pe({hostStyle:"mistral",modelId:"mistralai/mistral-small-2603",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{[co]:{mimeTypes:[lo]}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},updateModelContext:{text:{}},message:{text:{},image:{}}},s.hostContext={theme:l,displayMode:"fullscreen",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:1130.5},locale:"en",timeZone:"America/Los_Angeles",userAgent:"Le Chat/1.0.0",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:a2(l)}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"mcp",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Le Chat",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,toolCancelled:!1,hostContextChanged:!0,resourceTeardown:!1,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}}}},s}},{id:"goose",label:"Goose",description:"Goose Desktop. MCP Apps rendering, no OpenAI compatibility shim.",seed:n=>{const s=pe({hostStyle:"goose",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{[co]:{mimeTypes:[lo]}},roots:{},sampling:{},elicitation:{}},s.progressiveToolDiscovery=!0,s.hostCapabilitiesOverride={openLinks:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:1274},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Goose/1.38.0 Chrome/146.0.7680.65 Electron/41.0.0 Safari/537.36",platform:r2,deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:Gv,css:{fonts:l2}}},s.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-03-26"],clientInfo:{name:"goose-desktop",version:"1.38.0"}},apps:{uiInitialize:{hostInfo:{name:"MCP-UI Host",version:"1.0.0"}},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!1,xhr:!1},cspResourceDomains:{script:!1,stylesheet:!1,image:!1,font:!1,media:!1},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared",cspDirectives:{"font-src":["https://cash-f.squarecdn.com"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"]}}},s}},{id:"slack",label:"Slackbot",description:"Slackbot MCP host. MCP Apps rendering, no OpenAI compatibility shim.",seed:n=>{const s=pe({hostStyle:"slack",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{"io.slack/block-kit":{mimeTypes:["application/vnd.slack.blocks+json"]},[co]:{mimeTypes:[lo]}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxWidth:598},locale:"en-US",timeZone:"America/Los_Angeles",platform:"web",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:u2(l),css:{fonts:d2}}},s.mcpProfile={profileVersion:1,paginationTraversal:"firstPageOnly",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Slackbot MCP Client",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Slackbot",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!0,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!1},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}},s}},{id:"cursor",label:"Cursor",description:"Cursor IDE chat panel. MCP UI extension on, no message/updateModelContext.",seed:n=>{const s=pe({hostStyle:"cursor",progressiveToolDiscovery:!0,modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1}),l=n?.theme??rt;return s.clientCapabilities={...s.clientCapabilities,elicitation:{form:{}},roots:{listChanged:!1}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!1},serverResources:{listChanged:!1},logging:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:649,maxHeight:800},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"cursor",platform:"desktop"},s.mcpProfile={profileVersion:1,paginationTraversal:"firstPageOnly",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"cursor-vscode",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Cursor",version:"3.29.9"}},mcpAppsOverrides:{safeAreaInsets:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},downloadFile:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}},s}},{id:"codex",label:"Codex",description:"OpenAI Codex host with MCP Apps support.",seed:()=>{const n=pe({hostStyle:"codex",progressiveToolDiscovery:!0,modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1,harness:"codex",computer:{kind:"personal"}});return n.clientCapabilities={extensions:{[co]:{mimeTypes:[lo,"text/html+skybridge"]},"openai/elicitation":{form:{}},"openai/form":{}},elicitation:{form:{}}},n.hostContext={theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},n.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1103.60933"}},pluginExtensions:{enabled:!0},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"],"base-uri":["'none'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,toolInfo:!1,downloadFile:!1,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,toolCancelled:!1,resourceTeardown:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}}}},n}},{id:"codex-cli",label:"Codex CLI",description:"OpenAI Codex in a terminal. Form and URL elicitation, no widget rendering.",seed:()=>{const n=pe({hostStyle:"codex-cli",progressiveToolDiscovery:!0,modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!0,harness:"codex",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return n.clientCapabilities={elicitation:{form:{},url:{}}},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0},mcpProtocolVersion:"2025-06-18",initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"codex-mcp-client",title:"Codex",version:"0.163.0"}},apps:{pluginExtensions:{enabled:!1},mcpAppsOverrides:Zr}},n}},{id:"copilot-cli",label:"GitHub Copilot CLI",description:"Run GitHub Copilot CLI with your selected MCP tools in a hosted sandbox.",seed:()=>({...pe({hostStyle:"copilot-cli",modelId:"openai/gpt-5.5",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,harness:"copilot-cli",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}}),progressiveToolDiscovery:void 0,clientCapabilities:{sampling:{}},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1,initialize:{clientInfo:{name:"copilot-cli",version:"1.0.92"}},paginationTraversal:"full",toolListChanged:{listens:!0},apps:{mcpAppsOverrides:Zr}}})},{id:"cursor-cli",label:"Cursor CLI",description:"Cursor's coding CLI (cursor-agent, over ACP). Runs on your own Cursor account; no widget rendering.",seed:()=>{const n=pe({hostStyle:"cursor-cli",modelId:"cursor/auto",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,harness:"cursor",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return n.clientCapabilities={elicitation:{form:{}}},n.progressiveToolDiscovery=!1,n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,versionNegotiation:"legacy-first",initialize:{clientInfo:{name:"Cursor",version:"1.0.0"}}},n}},e4,{id:"copilot",label:"Copilot",description:"Microsoft 365 Copilot host. OpenAI-shaped Apps SDK.",seed:n=>{const s=pe({hostStyle:"copilot",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={...s.clientCapabilities,experimental:{"microsoft/copilot":{enabled:!0}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},downloadFile:{},message:{text:{}},updateModelContext:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxHeight:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"ms-copilot",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2024-11-05","2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Sydney",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"M365Copilot",version:"1.0.0"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"fullscreen-only",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!1,uploadFile:!1,getFileDownloadUrl:!1}},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}},s}},{id:"vscode",label:"VS Code",description:"Visual Studio Code 1.130 chat panel. Inline MCP Apps with tasks, model-context updates, downloads, and a VS Code webview sandbox.",seed:n=>{const s=pe({hostStyle:"vscode",progressiveToolDiscovery:!0,modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1}),l=n?.theme??rt;return s.clientCapabilities={roots:{listChanged:!0},sampling:{},elicitation:{form:{},url:{}},tasks:{list:{},cancel:{},requests:{sampling:{createMessage:{}},elicitation:{create:{}}}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]},"io.modelcontextprotocol/skills":{}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}},downloadFile:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:494,maxHeight:720},locale:"en-us",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:n2(l)}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Visual Studio Code",version:"1.136.1"}},apps:{uiInitialize:{hostInfo:{name:"Visual Studio Code",version:"1.143.1"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-pointer-lock","allow-downloads","allow-forms"],allowFeatures:{"cross-origin-isolated":"'src'",autoplay:"'src'","local-network-access":"'src'","clipboard-read":"'src'"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,widgetDisplayModeRequests:"accept"}}},s}},{id:"agentcore",label:"AgentCore",description:"AWS Bedrock AgentCore runtime. Text MCP servers only, no widget rendering.",seed:()=>{const n=pe({hostStyle:"agentcore",modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1});return n.clientCapabilities={elicitation:{}},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"bedrock-agentcore",title:"AgentCore",version:"1.0.0",description:"AWS Bedrock AgentCore agent runtime",websiteUrl:"https://aws.amazon.com/bedrock/agentcore/"}}},n}},{id:"n8n",label:"n8n",description:"n8n MCP Client Tool. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"n8n",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"@n8n/n8n-nodes-langchain.mcpClientTool",version:"1.3"}}},n}},{id:"gemini",label:"Gemini",description:"Gemini. Renders MCP Apps views, but advertises no sandbox capability.",seed:()=>{const n=pe({hostStyle:"gemini",modelId:"google/gemini-3.8-flash",temperature:.7,requireToolApproval:!1});return n.clientCapabilities={extensions:{[co]:{mimeTypes:[lo]}}},n.hostContext={theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{maxHeight:600}},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"google-adk",version:"2.14.0"}},apps:{uiInitialize:{hostInfo:{name:"UCS Widget",version:"1.0"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups"],sameOriginAppIframe:!0},mcpAppsOverrides:{openLinks:!0,logging:!0,message:!0,serverResources:!0,serverTools:!1,updateModelContext:!1,downloadFile:!1,sandboxPermissions:!1,toolInfo:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},cspFrameDomains:!0,cspBaseUriDomains:!1,toolResult:{structuredContent:!0},resourcePrefersBorder:!0,availableDisplayModes:["inline","fullscreen","pip"],safeAreaInsets:!1}}},n}},{id:"perplexity",label:"Perplexity",description:"Perplexity MCP client. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"perplexity",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"mcp",version:"0.1.0"}}},n}},{id:"cline",label:"Cline",description:"Cline coding-agent MCP client. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"cline",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cline",version:"3.89.2"}}},n}},{id:"notion",label:"Notion",description:"Notion AI agent MCP client. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"notion",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"notion",version:"1.0.0"}}},n}},{id:"muse",label:"Muse",description:"Muse MCP client. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"muse",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"muse-custom-connector",version:"1"}},apps:{mcpAppsOverrides:Zr}},n}},{id:"grokbot",label:"Grokbot",description:"Grokbot MCP client. Form elicitation and MCP Apps widgets.",seed:()=>{const n=pe({hostStyle:"grokbot",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return n.clientCapabilities={elicitation:{form:{}},extensions:{[co]:{mimeTypes:[lo]}}},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,toolListChanged:{listens:!0},initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{}}},n}}];function U6(n,s){return(rg.find(l=>l.id===n)??rg[0]).seed(s)}var o4=n2,a4="desktop",n4={light:"#ffffff",dark:"#1e1e1e"},uo=o2,po={light:"oklch(0.9818 0.0054 95.0986)",dark:"oklch(0.2679 0.0036 106.6427)"},r4=a2,i4={light:"#fff",dark:"#111115"},s4=Fv,l4={light:"#ffffff",dark:"#22252a"},c4=u2,u4={light:"#fff",dark:"#1a1d21"},d4="m19.6 66.5 19.7-11 .3-1-.3-.5h-1l-3.3-.2-11.2-.3L14 53l-9.5-.5-2.4-.5L0 49l.2-1.5 2-1.3 2.9.2 6.3.5 9.5.6 6.9.4L38 49.1h1.6l.2-.7-.5-.4-.4-.4L29 41l-10.6-7-5.6-4.1-3-2-1.5-2-.6-4.2 2.7-3 3.7.3.9.2 3.7 2.9 8 6.1L37 36l1.5 1.2.6-.4.1-.3-.7-1.1L33 25l-6-10.4-2.7-4.3-.7-2.6c-.3-1-.4-2-.4-3l3-4.2L28 0l4.2.6L33.8 2l2.6 6 4.1 9.3L47 29.9l2 3.8 1 3.4.3 1h.7v-.5l.5-7.2 1-8.7 1-11.2.3-3.2 1.6-3.8 3-2L61 2.6l2 2.9-.3 1.8-1.1 7.7L59 27.1l-1.5 8.2h.9l1-1.1 4.1-5.4 6.9-8.6 3-3.5L77 13l2.3-1.8h4.3l3.1 4.7-1.4 4.9-4.4 5.6-3.7 4.7-5.3 7.1-3.2 5.7.3.4h.7l12-2.6 6.4-1.1 7.6-1.3 3.5 1.6.4 1.6-1.4 3.4-8.2 2-9.6 2-14.3 3.3-.2.1.2.3 6.4.6 2.8.2h6.8l12.6 1 3.3 2 1.9 2.7-.3 2-5.1 2.6-6.8-1.6-16-3.8-5.4-1.3h-.8v.4l4.6 4.5 8.3 7.5L89 80.1l.5 2.4-1.3 2-1.4-.2-9.2-7-3.6-3-8-6.8h-.5v.7l1.8 2.7 9.8 14.7.5 4.5-.7 1.4-2.6 1-2.7-.6-5.8-8-6-9-4.7-8.2-.5.4-2.9 30.2-1.3 1.5-3 1.2-2.5-2-1.4-3 1.4-6.2 1.6-8 1.3-6.4 1.2-7.9.7-2.6v-.2H49L43 72l-9 12.3-7.2 7.6-1.7.7-3-1.5.3-2.8L24 86l10-12.8 6-7.9 4-4.6-.1-.5h-.3L17.2 77.4l-4.7.6-2-2 .2-3 1-1 8-5.5Z",p4=`
|
|
1416
|
+
`,U6=["mcpjam","claude","claude-desktop","claude-code","claude-code-desktop","claude-code-web","chatgpt","chatgpt-desktop","chatgpt-work","chatgpt-work-desktop","mistral","goose","slack","cursor","copilot-cli","cursor-cli","codex","codex-cli","opencode","copilot","vscode","agentcore","n8n","gemini","perplexity","cline","notion","muse","grokbot"],rt="dark",o4="anthropic/claude-haiku-5.5",ig=[{id:"mcpjam",label:"MCPJam",description:"SDK defaults with hosted Claude Haiku.",seed:n=>{const s=pe({hostStyle:"mcpjam",modelId:o4}),l=n?.theme??rt;return s.hostCapabilitiesOverride={experimental:{},openLinks:{},downloadFile:{},serverTools:{},serverResources:{},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.clientCapabilities={...s.clientCapabilities,elicitation:{form:{},url:{}},extensions:{...s.clientCapabilities.extensions,[Z5]:{},[eb]:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"mcpjam-inspector",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:a2(l)}},s.mcpProfile={profileVersion:1,initialize:{clientInfo:{name:"mcpjam-inspector",version:n?.appVersion??rg}},apps:{uiInitialize:{hostInfo:{name:"MCPJam",version:n?.appVersion??rg}},compatRuntime:{openaiApps:!0},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{camera:!0,microphone:!0,geolocation:!0,clipboardWrite:!0}}}}},s}},{id:"claude",label:"Claude",description:"Anthropic-style host.",seed:n=>{const s=pe({hostStyle:"claude",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});delete s.progressiveToolDiscovery;const l=n?.theme??rt;return s.hostCapabilitiesOverride={openLinks:{},downloadFile:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:Bs,css:{fonts:Hs}}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",mrtrModes:{requestState:!1,elicitation:!1},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},resourceCacheTtl:!0,toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}},s}},{id:"claude-desktop",label:"Claude Desktop",description:"Anthropic-style host, Electron desktop app.",seed:n=>{const s=pe({hostStyle:"claude-desktop",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});delete s.progressiveToolDiscovery;const l=n?.theme??rt;return s.hostCapabilitiesOverride={openLinks:{},downloadFile:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/5.1231.2 Chrome/156.0.8078.75 Electron/45.2.1 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:Bs,css:{fonts:Hs}}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",mrtrModes:{requestState:!1,elicitation:!1},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},resourceCacheTtl:!0,toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}},s}},{id:"claude-code",label:"Claude Code",description:"Anthropic's coding CLI. Roots + form elicitation, no widget rendering.",seed:()=>{const n=pe({hostStyle:"claude-code",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!0,harness:"claude-code",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return n.clientCapabilities={elicitation:{form:{}},roots:{listChanged:!0}},n.progressiveToolDiscovery=!0,n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},unauthorizedChallenge:"notify",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-code",title:"Claude Code",version:"2.1.290",description:"Anthropic's agentic coding tool",websiteUrl:"https://claude.com/claude-code"}}},n}},{id:"claude-code-desktop",label:"Claude Code Desktop",description:"Claude Code in the Claude desktop app. Claude Desktop's widget host.",seed:n=>{const s=pe({hostStyle:"claude-code-desktop",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1,progressiveToolDiscovery:!0}),l=n?.theme??rt;return s.clientCapabilities={elicitation:{form:{},url:{}},extensions:{[co]:{mimeTypes:[lo]}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/3.6556.2 Chrome/152.0.7977.167 Electron/44.9.3 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:Bs,css:{fonts:Hs}}},s.mcpProfile={profileVersion:1,unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1}}},s}},{id:"claude-code-web",label:"Claude Code Web",description:"Claude Code on the web. claude.ai's widget host, inline only.",seed:n=>{const s=pe({hostStyle:"claude-code-web",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1,progressiveToolDiscovery:!0}),l=n?.theme??rt;return s.clientCapabilities={elicitation:{form:{},url:{}},extensions:{[co]:{mimeTypes:[lo]}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:Bs,css:{fonts:Hs}}},s.mcpProfile={profileVersion:1,unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline"],toolInputPartial:!0,hostContextChanged:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1}}},s}},{id:"chatgpt",label:"ChatGPT",description:"OpenAI-style host with ChatGPT protocol.",seed:n=>{const s=pe({hostStyle:"chatgpt",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={...s.clientCapabilities,experimental:{"openai/visibility":{enabled:!0}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,mcpProtocolVersion:"auto",paginationTraversal:"full",toolListChanged:{listens:!0},toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp",version:"1.0.0"}},apps:{pluginExtensions:{capabilities:{fileResources:!1,fileViewers:!1,localFiles:!1,mentions:!1},enabled:!0},modelContextPolicy:{...ng},uiInitialize:{hostInfo:{name:"chatgpt",version:"unknown"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{microphone:!0,clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},s}},{id:"chatgpt-desktop",label:"ChatGPT Desktop",description:"The ChatGPT desktop app's widget host.",seed:n=>{const s=pe({hostStyle:"chatgpt-desktop",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={...s.clientCapabilities,experimental:{"openai/visibility":{enabled:!0}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp",version:"1.0.0"}},apps:{pluginExtensions:{enabled:!0},uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1103.60933"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},s}},{id:"chatgpt-work",label:"ChatGPT Work",description:"ChatGPT's work mode on the web: the Codex connector, ChatGPT's widget host.",seed:n=>{const s=pe({hostStyle:"chatgpt-work",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{[co]:{mimeTypes:[lo,"text/html+skybridge"]},"openai/elicitation":{form:{}}},experimental:{"openai/visibility":{enabled:!0}},elicitation:{form:{}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{pluginExtensions:{capabilities:{fileResources:!1,fileViewers:!1,localFiles:!1,mentions:!1},enabled:!0},modelContextPolicy:{...ng},uiInitialize:{hostInfo:{name:"chatgpt",version:"unknown"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!0},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{microphone:!0,clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},s}},{id:"chatgpt-work-desktop",label:"ChatGPT Work Desktop",description:"ChatGPT's work mode in the desktop app: the Codex connector, the desktop widget host.",seed:n=>{const s=pe({hostStyle:"chatgpt-work-desktop",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{[co]:{mimeTypes:[lo,"text/html+skybridge"]},"openai/elicitation":{form:{}}},experimental:{"openai/visibility":{enabled:!0}},elicitation:{form:{}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{pluginExtensions:{enabled:!0},uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1106.51428"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},s}},{id:"mistral",label:"Mistral",description:"Mistral web host. MCP Apps, no OpenAI shim.",seed:n=>{const s=pe({hostStyle:"mistral",modelId:"mistralai/mistral-small-2603",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{[co]:{mimeTypes:[lo]}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},updateModelContext:{text:{}},message:{text:{},image:{}}},s.hostContext={theme:l,displayMode:"fullscreen",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:1130.5},locale:"en",timeZone:"America/Los_Angeles",userAgent:"Le Chat/1.0.0",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:n2(l)}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"mcp",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Le Chat",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,toolCancelled:!1,hostContextChanged:!0,resourceTeardown:!1,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}}}},s}},{id:"goose",label:"Goose",description:"Goose Desktop. MCP Apps rendering, no OpenAI compatibility shim.",seed:n=>{const s=pe({hostStyle:"goose",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{[co]:{mimeTypes:[lo]}},roots:{},sampling:{},elicitation:{}},s.progressiveToolDiscovery=!0,s.hostCapabilitiesOverride={openLinks:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:1274},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Goose/1.38.0 Chrome/146.0.7680.65 Electron/41.0.0 Safari/537.36",platform:i2,deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:Fv,css:{fonts:c2}}},s.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-03-26"],clientInfo:{name:"goose-desktop",version:"1.38.0"}},apps:{uiInitialize:{hostInfo:{name:"MCP-UI Host",version:"1.0.0"}},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!1,xhr:!1},cspResourceDomains:{script:!1,stylesheet:!1,image:!1,font:!1,media:!1},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared",cspDirectives:{"font-src":["https://cash-f.squarecdn.com"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"]}}},s}},{id:"slack",label:"Slackbot",description:"Slackbot MCP host. MCP Apps rendering, no OpenAI compatibility shim.",seed:n=>{const s=pe({hostStyle:"slack",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={extensions:{"io.slack/block-kit":{mimeTypes:["application/vnd.slack.blocks+json"]},[co]:{mimeTypes:[lo]}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxWidth:598},locale:"en-US",timeZone:"America/Los_Angeles",platform:"web",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:d2(l),css:{fonts:p2}}},s.mcpProfile={profileVersion:1,paginationTraversal:"firstPageOnly",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Slackbot MCP Client",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Slackbot",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!0,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!1},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}},s}},{id:"cursor",label:"Cursor",description:"Cursor IDE chat panel. MCP UI extension on, no message/updateModelContext.",seed:n=>{const s=pe({hostStyle:"cursor",progressiveToolDiscovery:!0,modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1}),l=n?.theme??rt;return s.clientCapabilities={...s.clientCapabilities,elicitation:{form:{}},roots:{listChanged:!1}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!1},serverResources:{listChanged:!1},logging:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:649,maxHeight:800},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"cursor",platform:"desktop"},s.mcpProfile={profileVersion:1,paginationTraversal:"firstPageOnly",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"cursor-vscode",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Cursor",version:"3.29.9"}},mcpAppsOverrides:{safeAreaInsets:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},downloadFile:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}},s}},{id:"codex",label:"Codex",description:"OpenAI Codex host with MCP Apps support.",seed:()=>{const n=pe({hostStyle:"codex",progressiveToolDiscovery:!0,modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1,harness:"codex",computer:{kind:"personal"}});return n.clientCapabilities={extensions:{[co]:{mimeTypes:[lo,"text/html+skybridge"]},"openai/elicitation":{form:{}},"openai/form":{}},elicitation:{form:{}}},n.hostContext={theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},n.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1103.60933"}},pluginExtensions:{enabled:!0},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"],"base-uri":["'none'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,toolInfo:!1,downloadFile:!1,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,toolCancelled:!1,resourceTeardown:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}}}},n}},{id:"codex-cli",label:"Codex CLI",description:"OpenAI Codex in a terminal. Form and URL elicitation, no widget rendering.",seed:()=>{const n=pe({hostStyle:"codex-cli",progressiveToolDiscovery:!0,modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!0,harness:"codex",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return n.clientCapabilities={elicitation:{form:{},url:{}}},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0},mcpProtocolVersion:"2025-06-18",initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"codex-mcp-client",title:"Codex",version:"0.163.0"}},apps:{pluginExtensions:{enabled:!1},mcpAppsOverrides:Zr}},n}},{id:"copilot-cli",label:"GitHub Copilot CLI",description:"Run GitHub Copilot CLI with your selected MCP tools in a hosted sandbox.",seed:()=>({...pe({hostStyle:"copilot-cli",modelId:"openai/gpt-5.5",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,harness:"copilot-cli",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}}),progressiveToolDiscovery:void 0,clientCapabilities:{sampling:{}},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1,initialize:{clientInfo:{name:"copilot-cli",version:"1.0.92"}},paginationTraversal:"full",toolListChanged:{listens:!0},apps:{mcpAppsOverrides:Zr}}})},{id:"cursor-cli",label:"Cursor CLI",description:"Cursor's coding CLI (cursor-agent, over ACP). Runs on your own Cursor account; no widget rendering.",seed:()=>{const n=pe({hostStyle:"cursor-cli",modelId:"cursor/auto",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,harness:"cursor",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return n.clientCapabilities={elicitation:{form:{}}},n.progressiveToolDiscovery=!1,n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,versionNegotiation:"legacy-first",initialize:{clientInfo:{name:"Cursor",version:"1.0.0"}}},n}},t4,{id:"copilot",label:"Copilot",description:"Microsoft 365 Copilot host. OpenAI-shaped Apps SDK.",seed:n=>{const s=pe({hostStyle:"copilot",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),l=n?.theme??rt;return s.clientCapabilities={...s.clientCapabilities,experimental:{"microsoft/copilot":{enabled:!0}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},downloadFile:{},message:{text:{}},updateModelContext:{text:{}}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxHeight:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"ms-copilot",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2024-11-05","2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Sydney",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"M365Copilot",version:"1.0.0"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"fullscreen-only",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!1,uploadFile:!1,getFileDownloadUrl:!1}},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}},s}},{id:"vscode",label:"VS Code",description:"Visual Studio Code 1.130 chat panel. Inline MCP Apps with tasks, model-context updates, downloads, and a VS Code webview sandbox.",seed:n=>{const s=pe({hostStyle:"vscode",progressiveToolDiscovery:!0,modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1}),l=n?.theme??rt;return s.clientCapabilities={roots:{listChanged:!0},sampling:{},elicitation:{form:{},url:{}},tasks:{list:{},cancel:{},requests:{sampling:{createMessage:{}},elicitation:{create:{}}}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]},"io.modelcontextprotocol/skills":{}}},s.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}},downloadFile:{}},s.hostContext={theme:l,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:494,maxHeight:720},locale:"en-us",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:r2(l)}},s.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Visual Studio Code",version:"1.136.1"}},apps:{uiInitialize:{hostInfo:{name:"Visual Studio Code",version:"1.143.1"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-pointer-lock","allow-downloads","allow-forms"],allowFeatures:{"cross-origin-isolated":"'src'",autoplay:"'src'","local-network-access":"'src'","clipboard-read":"'src'"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,widgetDisplayModeRequests:"accept"}}},s}},{id:"agentcore",label:"AgentCore",description:"AWS Bedrock AgentCore runtime. Text MCP servers only, no widget rendering.",seed:()=>{const n=pe({hostStyle:"agentcore",modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1});return n.clientCapabilities={elicitation:{}},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"bedrock-agentcore",title:"AgentCore",version:"1.0.0",description:"AWS Bedrock AgentCore agent runtime",websiteUrl:"https://aws.amazon.com/bedrock/agentcore/"}}},n}},{id:"n8n",label:"n8n",description:"n8n MCP Client Tool. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"n8n",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"@n8n/n8n-nodes-langchain.mcpClientTool",version:"1.3"}}},n}},{id:"gemini",label:"Gemini",description:"Gemini. Renders MCP Apps views, but advertises no sandbox capability.",seed:()=>{const n=pe({hostStyle:"gemini",modelId:"google/gemini-3.8-flash",temperature:.7,requireToolApproval:!1});return n.clientCapabilities={extensions:{[co]:{mimeTypes:[lo]}}},n.hostContext={theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{maxHeight:600}},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"google-adk",version:"2.14.0"}},apps:{uiInitialize:{hostInfo:{name:"UCS Widget",version:"1.0"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups"],sameOriginAppIframe:!0},mcpAppsOverrides:{openLinks:!0,logging:!0,message:!0,serverResources:!0,serverTools:!1,updateModelContext:!1,downloadFile:!1,sandboxPermissions:!1,toolInfo:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},cspFrameDomains:!0,cspBaseUriDomains:!1,toolResult:{structuredContent:!0},resourcePrefersBorder:!0,availableDisplayModes:["inline","fullscreen","pip"],safeAreaInsets:!1}}},n}},{id:"perplexity",label:"Perplexity",description:"Perplexity MCP client. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"perplexity",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"mcp",version:"0.1.0"}}},n}},{id:"cline",label:"Cline",description:"Cline coding-agent MCP client. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"cline",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cline",version:"3.89.2"}}},n}},{id:"notion",label:"Notion",description:"Notion AI agent MCP client. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"notion",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"notion",version:"1.0.0"}}},n}},{id:"muse",label:"Muse",description:"Muse MCP client. Tools-only client, no widget rendering.",seed:()=>{const n=pe({hostStyle:"muse",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return n.clientCapabilities={},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"muse-custom-connector",version:"1"}},apps:{mcpAppsOverrides:Zr}},n}},{id:"grokbot",label:"Grokbot",description:"Grokbot MCP client. Form elicitation and MCP Apps widgets.",seed:()=>{const n=pe({hostStyle:"grokbot",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return n.clientCapabilities={elicitation:{form:{}},extensions:{[co]:{mimeTypes:[lo]}}},n.hostCapabilitiesOverride={},n.mcpProfile={profileVersion:1,toolListChanged:{listens:!0},initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{}}},n}}];function N6(n,s){return(ig.find(l=>l.id===n)??ig[0]).seed(s)}var a4=r2,n4="desktop",r4={light:"#ffffff",dark:"#1e1e1e"},uo=a2,po={light:"oklch(0.9818 0.0054 95.0986)",dark:"oklch(0.2679 0.0036 106.6427)"},i4=n2,s4={light:"#fff",dark:"#111115"},l4=Yv,c4={light:"#ffffff",dark:"#22252a"},u4=d2,d4={light:"#fff",dark:"#1a1d21"},p4="m19.6 66.5 19.7-11 .3-1-.3-.5h-1l-3.3-.2-11.2-.3L14 53l-9.5-.5-2.4-.5L0 49l.2-1.5 2-1.3 2.9.2 6.3.5 9.5.6 6.9.4L38 49.1h1.6l.2-.7-.5-.4-.4-.4L29 41l-10.6-7-5.6-4.1-3-2-1.5-2-.6-4.2 2.7-3 3.7.3.9.2 3.7 2.9 8 6.1L37 36l1.5 1.2.6-.4.1-.3-.7-1.1L33 25l-6-10.4-2.7-4.3-.7-2.6c-.3-1-.4-2-.4-3l3-4.2L28 0l4.2.6L33.8 2l2.6 6 4.1 9.3L47 29.9l2 3.8 1 3.4.3 1h.7v-.5l.5-7.2 1-8.7 1-11.2.3-3.2 1.6-3.8 3-2L61 2.6l2 2.9-.3 1.8-1.1 7.7L59 27.1l-1.5 8.2h.9l1-1.1 4.1-5.4 6.9-8.6 3-3.5L77 13l2.3-1.8h4.3l3.1 4.7-1.4 4.9-4.4 5.6-3.7 4.7-5.3 7.1-3.2 5.7.3.4h.7l12-2.6 6.4-1.1 7.6-1.3 3.5 1.6.4 1.6-1.4 3.4-8.2 2-9.6 2-14.3 3.3-.2.1.2.3 6.4.6 2.8.2h6.8l12.6 1 3.3 2 1.9 2.7-.3 2-5.1 2.6-6.8-1.6-16-3.8-5.4-1.3h-.8v.4l4.6 4.5 8.3 7.5L89 80.1l.5 2.4-1.3 2-1.4-.2-9.2-7-3.6-3-8-6.8h-.5v.7l1.8 2.7 9.8 14.7.5 4.5-.7 1.4-2.6 1-2.7-.6-5.8-8-6-9-4.7-8.2-.5.4-2.9 30.2-1.3 1.5-3 1.2-2.5-2-1.4-3 1.4-6.2 1.6-8 1.3-6.4 1.2-7.9.7-2.6v-.2H49L43 72l-9 12.3-7.2 7.6-1.7.7-3-1.5.3-2.8L24 86l10-12.8 6-7.9 4-4.6-.1-.5h-.3L17.2 77.4l-4.7.6-2-2 .2-3 1-1 8-5.5Z",f4=`
|
|
1417
1417
|
m44.724 38.665 8.894-3.265 8.894 1.352 5.588 7.745-1.956 11.57-6.147 5.833h-14.11l-4.423-4.06-1.164-5.83 1.164-7.512z
|
|
1418
1418
|
M48.35 133c.36.48 2.65 3.434 3.75 4.85v-14.7l1.45-3.55 2.75-.6h1.25l.75.6c.167.767.5 2.34.5 2.5s.3 2.067.45 3l-.65 3.9-1.35 6.9-.5 3.75 2.5-3.3 4.65-6.65 2.25-2.4 2.4.2 1.9.25.55 2.45.3 3c-.267.817-.84 2.47-1 2.55s-1.767 3.667-2.55 5.45l-1.8 3.25-.85 2.1 2.95-.55 4.25-1.55 2.4-.65 3.8 1.3 1.55 1.45.25 2.1-.4 1.05-3.95 2-4 .8-2.6.5-1.3.6 3.9.2h3.65l3.15.95 1.15 1.05.55 1.45-.55 1.9-1.15.95-1.6.35-1.2-.35-5.65-1.25-4.35-.95-1.65-.15-.25.4 1.05 1 2.25 2.4 3.35 3.1 2.4 1.75.4 1.5-.2 1.85-.7.4h-1.45l-2.8-2.25-2.65-2.05-2.6-1.95-1.7-.95 1.15 1.7 3.55 5.1.35 2.3-.9 2.3-1.05 1.05-3.1.45-2-2.85-2.1-3.05-2.8-4.65-.85 2.95-1.05 4.6c-.45 1.534-1.37 4.62-1.45 4.7s-.933.834-1.35 1.2l-2.35.3-1.75-1.3-.5-1c.25-.883.75-2.67.75-2.75s.767-3.2 1.15-4.75l1.1-4.2h-.35l-3 3.5L41.3 173l-1.4 1.35-2.45-.7-.8-1.05-.2-1.15 1.3-2.2 1.55-1.8 1.6-2.15 2.15-3.25.65-1.05-3.8 1.45-3.25 1.35-3.55 1.95-2.25.55-1.5-.55-1.7-.9-.15-1.05.3-.8c.667-1 2.02-3.01 2.1-3.05s2.067-1.55 3.05-2.3l2.55-1.5 3.95-1.9.85-.45-.4-.3-3.25-.2c-1.533-.183-4.65-.55-4.85-.55s-2.583-.1-3.75-.15l-2.7-.4-1.75-.5-.6-1.65.35-.9 1.4-.5 1.85-.6c.717-.066 2.17-.2 2.25-.2.1 0 3.8.25 4.25.35.36.08 2.217.034 3.1 0l2.95-.35v-.4l-1.1-.9-.85-1.05-2.9-2.25-6.9-5.4-1.1-.8-.45-1.75.35-.9 2-1.55 1.25-.2 3.1 1.4 4.65 2.2 1.95.9.95.45.45-.45v-.75l-.8-1.6-1.7-3.8-1.4-3.75.2-1.55.9-1.35 3.4-.7 2.5 1.55.6 1.45c1.217 1.917 3.74 5.87 4.1 6.35
|
|
1419
1419
|
M27.5 227.7l9.85 5.85-4.1-9.3-2.35-5.8-.4-3.5 1.45-2.1 3-1.55 2.4 2.05 2.7 3.85 1.95 4.15 4.5 10.2 2.95 5.3 2.05-3.3V222.2l.35-8 .5-2.6 1-2.35 2.35-1.35 2.1-.5.9 2.6 1.1 3.35-1.1 6.3v13.05l1.45 2.85 5.05-7.25 6-9 1.45-.85 2.45-.55 2.45 1.4 1.55 1.35-2.6 6.7-4.95 9.5-4.2 7.15.5.5 5.65-1.2 10.35-2.65 2.75-.5 2 .5 2 .95.55 2.4-.95 1.8-5.75 3.7-5.35 1.2-4.55 1.25L71.4 253l3.15.85 8.15 1.1 4.75.45 2.05 2 .95 2.1-.95 1.75-2.9 2-3.9-1.15-6.2-1.55-4.7-1.05h-5.55l3 3.3 3.4 3.25 4.9 4.65 3.75 3.05.65 1.45v1.95l-1.25 1.05-2.45 1.45-4.75-4.45-5.25-5.45-4.45-3.7.7 1.85 6.15 10.3.9 1.8.25 3.15-.6 1.55-1.95 1.25-4.05-5.25-6.1-8.15-4.75-5.7-1.25 13.45-1.4 6.1-3.25 2.45-1.95-.6-1-2.3 1-8.8.3-5.55-.3-4.75-2.35 2.9-5.6 7.4-3.75 5.25-3.25 1.75-2.75-1-1.3-1.3 4.5-7.2 2.2-3.3 4.35-8.55v-.7l-3.75 1.55-2.25 1.5-4.5 2.4-5.8 3.45-3.4.75-2.1-1.05-.75-1.4.75-2.8.75-1.35 6.8-3.45 12.3-7.2.75-1.2H36.2l-8.15.55-10.55-.55-4.3.55-1.95-.55-1.65-2.25v-1.55l2.2-1.7 6.25-.55 10-.6 5.5-.7 2.1-.65-6.85-3.45-5.5-2.95-8.85-4.5-1.25-2.85v-4.9l.6-1 5.05-1.2 3.35.7zm-7.878 138.799 19.675-11.033.325-.966-.325-.539h-.973l-3.297-.2-11.243-.301-9.73-.401-9.46-.502-2.378-.501L0 349.097l.216-1.455 2-1.354 2.865.251 6.324.451 9.514.652 6.865.402L38 349.097h1.622l.216-.652-.54-.401-.433-.402-9.838-6.67-10.649-7.021-5.567-4.062-2.973-2.056-1.514-1.906-.648-4.212 2.702-3.009 3.676.25.919.251 3.73 2.859 7.946 6.168 10.378 7.623 1.514 1.254.609-.411.093-.291-.703-1.154-5.621-10.18-6-10.381-2.703-4.313-.703-2.558c-.272-1.073-.432-1.961-.432-3.059l3.081-4.213 1.73-.551 4.162.551 1.73 1.505 2.594 5.917 4.163 9.278 6.486 12.638 1.892 3.761 1.027 3.461.378 1.053h.649v-.602l.54-7.121.974-8.726.972-11.234.325-3.16 1.567-3.811 3.136-2.056 2.432 1.153 2 2.859-.27 1.855-1.19 7.724-2.324 12.086-1.513 8.124h.864l1.028-1.053 4.108-5.416 6.865-8.626 3.026-3.41 3.568-3.762 2.27-1.805h4.325l3.135 4.714-1.406 4.865-4.432 5.617-3.676 4.764-5.27 7.061-3.27 5.677.293.469.788-.068 11.892-2.557 6.432-1.154 7.676-1.304 3.46 1.605.378 1.655-1.352 3.36-8.216 2.006-9.621 1.956-14.328 3.373-.159.128.187.277 6.462.585 2.756.151h6.757l12.595.952 3.297 2.157L100 360.13l-.324 2.056-5.081 2.558-6.811-1.605-15.946-3.812-5.46-1.354h-.756v.452l4.54 4.463 8.379 7.523 10.432 9.729.54 2.407-1.35 1.906-1.406-.201-9.19-6.92-3.567-3.11-8-6.77h-.54v.702l1.837 2.708 9.784 14.694.487 4.514-.703 1.454-2.54.903-2.757-.502-5.784-8.074-5.892-9.027-4.757-8.124-.574.362-2.831 30.229-1.298 1.555L47.405 400l-2.54-1.906-1.352-3.11 1.352-6.168 1.621-8.024 1.298-6.369 1.189-7.924.726-2.647-.064-.177-.58.097-5.974 8.193L34 384.252l-7.19 7.673-1.729.702-2.973-1.554.27-2.759 1.676-2.457L34 373.219l6-7.873 3.95-4.646-.1-.45-.234-.096-26.427 17.228-4.703.601-2.054-1.905.27-3.11.974-1.003zm0 100 19.675-11.033.325-.966-.325-.539h-.973l-3.297-.2-11.243-.301-9.73-.401-9.46-.502-2.378-.501L0 449.097l.216-1.455 2-1.354 2.865.251 6.324.451 9.514.652 6.865.402L38 449.097h1.622l.216-.652-.54-.401-.433-.402-9.838-6.67-10.649-7.021-5.567-4.062-2.973-2.056-1.514-1.906-.648-4.212 2.702-3.009 3.676.25.919.251 3.73 2.859 7.946 6.168 10.378 7.623 1.514 1.254.609-.411.093-.291-.703-1.154-5.621-10.18-6-10.381-2.703-4.313-.703-2.558c-.272-1.073-.432-1.961-.432-3.059l3.081-4.213 1.73-.551 4.162.551 1.73 1.505 2.594 5.917 4.163 9.278 6.486 12.638 1.892 3.761 1.027 3.461.378 1.053h.649v-.602l.54-7.121.974-8.726.972-11.234.325-3.16 1.567-3.811 3.136-2.056 2.432 1.153 2 2.859-.27 1.855-1.19 7.724-2.324 12.086-1.513 8.124h.864l1.028-1.053 4.108-5.416 6.865-8.626 3.026-3.41 3.568-3.762 2.27-1.805h4.325l3.135 4.714-1.406 4.865-4.432 5.617-3.676 4.764-5.27 7.061-3.27 5.677.293.469.788-.068 11.892-2.557 6.432-1.154 7.676-1.304 3.46 1.605.378 1.655-1.352 3.36-8.216 2.006-9.621 1.956-14.328 3.373-.159.128.187.277 6.462.585 2.756.151h6.757l12.595.952 3.297 2.157L100 460.13l-.324 2.056-5.081 2.558-6.811-1.605-15.946-3.812-5.46-1.354h-.756v.452l4.54 4.463 8.379 7.523 10.432 9.729.54 2.407-1.35 1.906-1.406-.201-9.19-6.92-3.567-3.11-8-6.77h-.54v.702l1.837 2.708 9.784 14.694.487 4.514-.703 1.454-2.54.903-2.757-.502-5.784-8.074-5.892-9.027-4.757-8.124-.574.362-2.831 30.229-1.298 1.555L47.405 500l-2.54-1.906-1.352-3.11 1.352-6.168 1.621-8.024 1.298-6.369 1.189-7.924.726-2.647-.064-.177-.58.097-5.974 8.193L34 484.252l-7.19 7.673-1.729.702-2.973-1.554.27-2.759 1.676-2.457L34 473.219l6-7.873 3.95-4.646-.1-.45-.234-.096-26.427 17.228-4.703.601-2.054-1.905.27-3.11.974-1.003z
|
|
1420
1420
|
M30.25 529.6l7.2 3.799-1.7-4.049-5.3-11.451-.2-1.6.2-2.9 4.45-2 2.55 2.25 4.2 7.1 3.75 7.501 2.1 5.049 2.05 3.35 1.9-2.85V521.95l.45-8.951 1.4-3.5 1.75-1.5 2.4-.45.65.9 1.4 4.55c-.117 1.967-.4 5.97-.6 6.25s-.283 7.184-.3 10.601l.3 2.65 1.05 2.899h.4l4.1-6.049 3.85-5.451 3.25-5 2.45-.9h1.7l1.15.6 2.05 1.9L77.45 526l-5.55 10.149-3.6 6.351-.8 1.599.8.351 3.95-.75 7.35-1.95 4.95-1.3 2.2-.351 1.85.351 1.7.75.7 2.05v1.5l-1.2 1.299-5.55 3.451-5 1.349c-1.9.484-5.73 1.461-5.85 1.5-.12.04-1.383.417-2 .601l3.7.7 9.65 1.25 2 .25 1.85 1.199 1.45 1.95.45 1-1.45 2.401-2.8 1.399-4.05-.699-9.05-2.25-2-.351c-1.05-.166-3.17-.5-3.25-.5h-1.8l1.4 1.601 1.95 1.949 5.25 5.051c1.85 1.6 5.56 4.81 5.6 4.85.04.039.883.983 1.3 1.45l.25 1.65-.65 2.35-2.2 1.199-.95-.1-2-1.599-2.2-2.1c-1.05-1.017-3.15-3.07-3.15-3.15s-.933-.934-1.4-1.351l-3.55-3.3-2.2-1.849 1.15 2.5 3.05 4.75 2.95 5.099c.233.684.7 2.091.7 2.25 0 .161.2 1.767.3 2.551l-.4 1.65-1.8 1.25-1.85-2.05-3.3-4.551-6.1-8.1-3.05-4.099h-.85l-.9 9.449-1.65 10.101-3.6 2.399-1.8-.85-.6-2.299.9-9.351v-5.35l-.3-4.099-4.25 4.949-4.35 6.351-2.55 3.45-3.1 2-2.6-.85-1.85-1.15 1.85-3.151 4.15-6.65 2.95-6.249 1.8-3.65-4.4 1.549-4.5 2.601-7.05 4.6-2.95.75-2.2-.75-1.2-1.5 1.2-4.3 17.35-9.45 2.75-2.151H11.7L9.6 550.9l-.4-1.2 2.5-1.7 6.1-.85 9.35-.5 6.05-.551 3.05-.649-3.05-1.351-6.05-3.05-11-5.65-2.75-1.5-.55-2.049v-4.551L13.4 526l5.7-1.801 4.2 1z
|
|
1421
1421
|
M46.9 632.149c.783 1.184 2.35 3.68 2.35 4.2l2.5-2.85v-20.3l.9-2.85 1.45-1.95 3.5-1 1.8 5.15v2.35l-1 9.9v6.9l1.5 4.2 2.95-4.2 7.15-10.5 1.9-2.25 2.95-1 1.9.6 2.25 1.85-1.15 3.7-1.1 3.5-4.85 8.3-4.05 8.25H70l7.85-1.75 6.8-1.75 3.1-.5 2.75 1.15.55 2.2-.55 1.45-3.65 2.9-2.6 1.4-2.6 1.05-5.7 1.6-4.7 1.4 6.85.75 8.75 1.1 2 1.55 1.65 2.7-1.15 2.25-3.5 1.2-9.9-2.1-4.7-.85-5.2-.5 1.1 1.35 4.75 4.45 7.1 6.5 2.65 2.65v2.9l-1.5 1.55-2.05.5-2.8-2.05-4.05-4.1-4.55-4.7-3.05-2.35.65 1.4 5.05 7.95 1.9 3.85.65 3.65-1.1 1.85-1.45.85-1.5-1.9-5.4-6.5-5.75-7.95-2.15-2.25-.95 9.25-1.85 10.45-3.4 2.15-1.75-.45-.85-2.15.35-5.05.5-10.7-.1-3.5-3.45 3.85-6.05 8.4-2 3.1-3 1.35-2.5-.8-1.7-1.15 5.25-9.25 3.95-7.35 1.8-3.05-3.25 1.15-12.95 7.6-3.25.8-2.2-.35-1.25-2.05 1.25-4.1 1.9-.8 11.15-6 4.4-2.6 3.1-1.75-2.15-.75h-15.9l-6.15.75-3.05-2.15-1.05-2.25 2.95-1.8 8.4-.8 9.45-.7 6.15-.8-6.85-3.4-11.35-5.8-4.65-2.85-1.15-5.3 1.15-2.75 5.55-1.35 5.6 1.35 7.8 5.1 4.55 2.95-3.4-8.05-3.4-7.5v-3.05l.8-1.7 3.6-1.95 2.4 1.95 2.85 3.95 3.65 7.65zm.95 100.1 4.1 5.15v-3.8l.25-9.4v-1.6l1.35-2.95 3.15-.7 1.05.15.85 1.15.55 4.9-.3 2.05-1.6 9-.6 3.6 2.95-4.1 5.55-7.1 1-1.2 3.35.25 1.2.45.55 5.25-.4 1.5-2.7 5.7-3 6 1.2-.4 4.9-1.3 2.55-.75h1.75l3 1 1.5 1.45v2.1l-.35 1.05-3.85 2.2-4 .65-3.9 1.1 3.3.4h4.3l3.4.65.75.85.35 2.5-.35 1.4-2.7.95-5.75-1.3-4.75-1.15-2.1-.3-.3.4 1.7 1.85 4.7 4.65 2.7 1.95.25 1.65-.25 1.9h-2.1l-1.3-1.05-3.15-2.5-3.25-2.25-2-1.35 1.45 2.45 2.95 4.2.55 1.3v2l-1 1.95-1.6.6-2.6.3-2.25-3.2-3.1-5.2-1.35-1.95-.45.9-1.05 5.9-1.7 5.2-.9 1.2-2.55.45-2.45-1.65.35-2.55 1.65-6.3.65-3.8-.65.85-3.55 4.5-3.4 4.05h-1.45l-1.8-.7-.45-1.65.45-1.7 2.45-3 2.9-3.95 1.05-1.7v-.35l-1.25.35-3.5 1.5-2.8 1.1-4.7 2.25h-.85l-2.7-1.4-.3-.85.3-1.35 1.75-2.35 3.25-2.45 2.45-1.65 5.2-2.55-4.1-.5-7.45-.35-2.05-.4-2.35-.3-.95-.4-.55-1.8.55-.85 2.5-.9 1.25-.15 4.3.15h5.15l2.5-.25.2-.3-2.25-1.7-5.35-4.45-4.7-3.8-.9-1.65v-1.25l1.25-1.25 1.2-.8 1.8.35 2.7 1.4 4 1.55 2.5 1.4.75-.6-.25-1.1-3-6.75-.45-1.8.95-2.85 3.7-.5 2.15 1.1 2.45 4.6zm1.05 101.1 5.5 2.85 1.05-1.95 1.55-.9 1.95.35 1.45 1.5 1.15 1.85.5 2.1 1.45-1.2 1.05-.55h1.95l1.6 2.8.6 1.25-.6 3.05-1.6 3 .2.9 2.4 1.2 2.05 2v.5l-1.85 3.4-2.8 2 3.1 3.65-.9 1.65-2.9 1.9-3.1-.4-.65.4-.15 2.7-3.75 1.35-2.4-1.35-3.25 2.65-1.6-.55-2-3.6-1.15 1.5-2.15 1.65-2.3-.55-.75-2.6.75-4.35-4.4.9-3.95-2v-1.8l3.1-3.45-2.05-.65-2.2-2.95v-2.4l3.45-3-2.3-4.35 1.05-3 1.25-.9 5.3 1.5.75-3.7 2.3-2.4z
|
|
1422
|
-
`.trim(),
|
|
1422
|
+
`.trim(),g4=`
|
|
1423
1423
|
m19.622 66.499 19.675-11.033.325-.967-.325-.538h-.973l-3.297-.2-11.243-.301-9.73-.401-9.46-.502-2.378-.501L0 49.096l.216-1.454 2-1.354 2.865.251 6.324.451 9.514.652 6.865.402L38 49.097h1.622l.216-.652-.54-.401-.433-.402-9.838-6.67-10.649-7.02-5.567-4.063-2.973-2.056-1.514-1.906-.648-4.212 2.702-3.01 3.676.251.919.251 3.73 2.859 7.946 6.168 10.378 7.623 1.514 1.254.609-.411.093-.291-.703-1.154-5.621-10.18-6-10.381-2.703-4.313-.703-2.558c-.272-1.073-.432-1.961-.432-3.06L26.162.552 27.892 0l4.162.551 1.73 1.505 2.594 5.917 4.163 9.278 6.486 12.638 1.892 3.762 1.027 3.46.378 1.053h.649v-.602l.54-7.121.974-8.726.972-11.234.325-3.16L55.35 3.51l3.136-2.056 2.432 1.153 2 2.859-.27 1.855-1.19 7.724-2.324 12.086-1.513 8.124h.864l1.028-1.053 4.108-5.416 4.139-5.116 3.027-3.41 3.567-3.761 2.27-1.805h4.325l3.135 4.714-1.405 4.864-4.433 5.617-.95 1.254-5.27 7.06-3.27 5.678.293.468.788-.067 2.189-.4 6.433-1.154 7.675-1.304 3.46 1.605.378 1.655-1.351 3.36-8.217 2.006-9.621 1.956-4.625 1.216-.159.127.187.278 6.462.585 2.756.15h3.055l1.945.137 3.784.816 1.561 2.658-.55 2.181-3.75.995-3.882-.45-5.73-1.371-5.46-1.355h-.756v.452l4.54 4.463 4.193 4.174 1.595 2.688-.65 1.325-1.35 1.525-2.112-.635-1.388-.865L66 67.452h-.54v.702l1.837 2.708.753 1.388.49 2.45-1.49 1.8-3.1.882-2.3-.483-.9-.8-3.4-6.05-2.215-3.35-.574.363-2.831 30.23-1.298 1.554L47.405 100l-2.54-1.905-1.352-3.11 1.352-6.168 1.621-8.024 1.298-6.37 1.189-7.923.726-2.647-.064-.177-.58.097-5.974 8.193L34 84.252l-7.19 7.673-1.729.702-2.973-1.554.27-2.758 1.676-2.458L34 73.22l6-7.873 3.95-4.647-.1-.45-.234-.095-26.427 17.228-4.703.602-2.054-1.906.27-3.11.974-1.003zm21.192 52.148 8.753 16.491.408-.05 2.035-10.626 1.018-5.815 2.036-14.987 1.883-2.106 1.323-.351 2.85 1.905.305 1.203-.56 9.324-.865 7.568c-.288 3.793-.916 11.449-1.12 11.73-.203.281-.084 2.155 0 3.057l.866.452 1.374-1.354 2.9-4.461 5.751-7.769 7.888-11.228 3.97-1.053 2.544 1.654.458 1.905L80 123.158l-9.618 18.045-2.036 3.509.305.351 2.494-.351 6.514-1.403 5.649-1.705 4.987-1.253 4.682-1.153H94.5l2.548 1.153.502 1.999-1.2 3.4-2.406 1.017-5.649 1.705-9.974 2.506-8.55 2.306-.509.3 1.12.301 7.939.652h4.987l6.742.451 2.927.412 1.523 1.8-1.523 4.054-2.927.746h-3.2l-6.341-.746-13.079-2.156-2.29-.25-.458.25.458.351 3.817 3.359 6.158 4.26L77.659 169l3.541 3.15v3.15l-2.55 1.893h-2.1l-3.65-2.843-2.518-2.47-4.377-4.16-2.392-2.356-.254.15 4.071 7.469 2.162 3.871v3.996l-3.342 1.669-2.891-1.015-.79-1.341-6.488-9.987-.56-.301-.915.752-.329 3.85-.827 3.773-1.1 2.75-1.65 1.15h-3L46.2 181l-.276-1.898 1.76-12.585-.203-.752-1.425-.15-.458.3-1.653 2.284-.545.451-1.95 2.1-2.1 2.4-1.45 1.6-1.7.85-1.4.29-2.2-1.14v-2l.571-1.79 2.35-3.29 1.07-1.454-.306-.451-.407-.15-.509.15-1.476.752-4.53 2.456-3.765 2.406-6.361 4.21-4.02 2.356h-3.97l-1.476-1.203v-.852l1.018-2.155s1.187-1.103 1.73-1.604l2.29-2.206 1.578-1.554 1.628-1.002 4.53-2.857 7.786-4.562 9.211-5.413.305-.251v-.25l-.305-.151h-7.176l-11.145.151-11.959.25H5.7l-4.224-1.002L0 149.925v-1.704l.916-2.055 2.799-1.053 4.326.401 4.58.301 16.946 2.005 2.036.251 7.074.401v-.401l-.967-.702-14.402-10.025-8.397-6.015-6.565-4.261-1.323-3.709.305-2.306 1.323-1.353 1.527-1.253 1.629-.301 3.104 1.554 7.328 4.712 7.786 5.213 10.331 7.167.458-.2-5.496-8.471-4.427-7.77-5.09-7.719-3.358-6.466v-1.955L25.038 100l4.631.602 2.087 3.008zm-7.743 115.21c2.135 1.197 6.446 3.623 6.614 3.745l-4.147-8.857-2.152-4.908-5.46-9.009-4.986-7.135v-2.227c.453-.855 1.033-1.539 1.612-2.225.569-.671 1.138-1.343 1.59-2.178L27.927 200l4.724 1.873 3.517 4.555 2.1 4.605 3.045 9.362 6.561 14.12 1.313 2.631c.14-.455.44-1.488.525-1.973.083-.486.7-6.141.997-8.907l.787-12.045.683-6.528 2.52-4.049c.404-.318 3.989-1.113 3.989-1.113l2.572 2.131.84 2.474v9.616l-.84 4.149-2.205 10.729-.367 2.126v1.417l.367.607h.63l.893-.607 3.622-5.112 4.304-5.567 5.145-6.933 4.251-6.174 2.625-1.417 3.517-.202 2.31.506 1.522 2.682-1.784 3.796-9.45 14.119-7.558 12.601-.42.759.262.304h.263l2.1-.557 10.236-2.378 9.553-2.278 2.205-.607h4.567l1.26 2.379-1.26 3.137-.945.911-9.029 2.581-13.123 2.935-5.564 2.176-.263.102-.262.202.262.304h1.732l6.3.303h7.979l8.924.608 2.414.354 2.572.962 1.155 2.884-1.417 2.834-2.94 2.075-7.086-1.265-8.767-1.468-7.244-.607h-4.042v.304l.42.607 10.289 9.008 4.882 4.504 2.73 2.429.472 2.278s-1.465 1.601-2.047 2.125l-1.68.354-2.782-1.417-10.919-9.008-4.777-3.745-1.102-.86v.253l1.68 2.53 3.254 4.504 6.8 8.907.917 2.48-.393 1.872-2.82.503-3.479-.503-2.94-3.694-2.81-3.998-5.511-6.781-3.465-4.251-.315-.456-.525-.152c-.07.085-.23.274-.315.355s-.21 1.113-.262 1.619l-.577 10.577-.49 6.255-1.489 1.029-3.15.45-2.4-1.2-1.45-2.55v-1.64l.002-.016 1.05-11.134v-1.012l-.63-.405h-.577l-.63.152-5.932 6.326-.347.434-.336.295-2.4 1.65h-1.6l-1.8-1.65v-1.5l1.88-2.902 5.548-7.056.735-1.417v-1.771l-.473-.253h-.787l-4.567 2.682-4.042 2.025-1.614.972-.23.02h-2.35l-1.05-1.05-.9-2.1v-2l1.14-1.208 10.306-5.97.735-.253.157-.254-.367-.202h-.945l-2.745-.132-3.68-.431-3.35-.5-2.2-.55-1.5-1.3-.3-.85v-2.1l.9-1.7 3.6-1.5 2.995-.402 5.44-.403-9.291-6.984-17.218-11.336L3.99 225l-.315-1.973 1.89-3.188 3.36-1.62 3.254 1.215 10.236 6.427z
|
|
1424
1424
|
M38.268 335.9l-4.456-2.448-3.204-2.117-.508-.235h-2.45l-1.6.95-1.55 2.5v1.9l1.6 2.083 6.425 4.659 3.614 2.906-.594.408H19.9l-.992.012-1.259 1.632v2.05l.95 2.3 2 1 7.076 1.115h.84c.197 0 2.97.05 3.217.152.198.082 2.36.102 3.416.102l.396.204v.204l-.396.357-2.327 1.938-1.832 1.173-2.97 2.142-4.06 2.754-1.98 1.325-1.683 1.02-.444.323L19 368.3v1.9l1.05 1.65 2 .35 3.25-.35.626-.219 1.649-1.106 2.128-1.173 1.09-.765 2.277-1.122 2.079-1.071.99-.408 1.436-1.02 1.04-.408 1.138-.459h.198v.102l-.149.204-2.376 2.805-1.535 1.785-2.821 3.111-1.337 1.529-2.03 2.091-2.673 3.621-.122.171-.258 2.132.35 1.9 1.3 1.3 3 .7 2.46-1.41.844-1.071 2.97-3.722 4.209-5.151 2.277-2.855.346-.459.396-.357.446.204.198.153-.198 1.479-.297 5.303-.743 7.853-.495 2.754-.198 2.652v1.784l1.776 2.754 2.828.204 1.832-.867s.759-1.479 1.04-2.091l.594-3.773.841-2.601 1.287-6.986 1.04-6.578.148-2.55.149-.867.346-.153.941.459.248.561 3.811 5.456 2.624 3.672 2.08 3.059 2.772 3.621 2.92 4.437 1.634.917h.792l1.832-.509.94-1.938-1.287-2.601-4.059-6.986-1.881-3.672-2.327-4.793-1.337-2.907 1.337.765 1.93 1.275.743.51 1.238.816 1.535 1.428 3.465 2.6 6.04 5.1c.577.427 1.164.845 1.751 1.265 1.379.984 2.76 1.97 4.04 3.069l1.436-.306c.764-.541 1.213-1.054 1.733-1.836l-.792-2.804-.495-1.071-5.644-4.437-3.168-3.008-4.456-3.825-2.722-2.244-4.703-4.283-1.931-1.683v-.357l1.782.357 9.555.867 7.03.816 6.188.816 5.693.204c.445-.17 1.366-.52 1.485-.561.489-.168.843-.571 1.173-.947l.064-.073.594-3.009-2.128-1.989-3.515-.866-9.258-.714-9.01-.561-5.445-.714-1.188-.255.445-.408 2.525-.561c.957-.374 2.92-1.122 3.119-1.122.198 0 2.624-.612 3.812-.918l6.485-1.632 3.218-.561 2.822-.612 4.802-1.427 1.732-2.142.99-3.621v-1.428l-2.277-1.326-4.109.204-2.376.714-5.1 1.071-6.187 1.326-1.584.408-5.891 1.275-1.98.306h-.298v-.561l.495-.714L75 332.585l3.466-6.272 4.406-7.548 1.633-2.855.545-2.091c0-1.007-.545-2.907-.545-2.907l-2.722-.969-4.01 1.479-4.258 4.233-1.188 1.53-5.05 6.017-2.87 3.723-4.01 4.844-3.812 4.029-.397.204-.148-.816.148-1.938.397-4.743 1.98-13.411.742-6.119.495-4.029v-2.142l-2.227-2.295L55.05 300l-2.673 3.314-.396 2.907-.396 5.609-.149 6.171-.693 6.731-.446 4.079-.396 1.632-.445 3.315-.347 3.212-.247.255-.297-.255-.495-1.529-1.139-3.162-1.04-2.04-2.128-4.079-.545-1.173-.643-1.275-7.327-12.851-5-8.567-2.97-1.173-1.882.867-1.98 5.712.248 2.957.89 1.632 4.704 7.7 2.772 4.743 1.139 1.938 2.425 3.773 1.733 3.009.693 1.326.248.663zm-3.027 97.937-2.39-5.488-.45-3.7 1.15-1.4 4.15-1.4h2l2.1 1.4 2.15 2.2 1.773 2.97 2.107 3.985 3.048 4.799.878-3.87.723-2.941.517-5.16.878-8.566.31-4.283.774-5.676 1.24-2.58 3.822-.98.827.98c.19.998.568 3.035.568 3.2v2.012l-.362 4.18-.62 4.076-.723 3.818-.93 6.399-.67 6.501 1.91-1.909 2.944-4.025 5.476-6.192 4.08-5.521 1.653-2.477 1.24-1.238 3.254-1.135 4.132 1.135 1.24 1.961v2.683l-2.944 6.14-2.118 3.509-4.029 5.624-2.84 3.922-5.476 7.946v.465l.775.155 3.874-.62 6.56-1.238 10.588-2.374 3.513-.825 3.822-.619 3.822 1.444.414.981-.672 3.251-3.564 2.064-2.79.98-6.972 2.27-5.527 1.497-7.438 1.806 1.911.412 2.893.568 3.667.361 9.659 1.548 3.46.516 1.654.361 2.17 1.961 1.135 3.199-1.136 2.477-2.686 1.032-2.48.207-6.87-.826-8.935-1.909-4.907-.981-6.25-.825 3.719 2.838 5.372 5.005 2.84 2.425 10.641 10.114 1.085 3.405-1.55 1.497h-1.394l-4.08-1.497-8.42-6.553-3.978-2.838-7.593-6.553.724 1.909 1.653 2.89 2.066 2.786 1.808 2.477 2.789 3.715 3.409 4.076.878 3.096-.878 3.354-.878.31-3.978-.31-2.22-3.354-2.015-3.508-2.066-3.148-2.325-3.509-2.53-4.231-1.292-1.754-2.118-3.612-1.652-2.632-.465-.309-.362.309-.568 3.87v2.064l-.878 4.489-.465 2.632-.775 5.521-1.653 10.836-.361 1.135-3.048.98H44.37l-1.756-2.631-.568-1.961 1.705-16.976 2.014-10.733.31-1.083-.568-.207-1.136 1.29-1.189 1.29-1.6 2.116-3.1 3.921-1.498 1.909-2.066 2.374-3.512 4.438-3.151 5.005-2.015 1.698-3.409-.202-1.394-2.477.464-.928 2.428-3.974 1.911-3.044 2.015-2.632 2.066-2.786 1.601-2.064 3.358-4.179 3.667-4.799 1.86-2.58-3.565 2.115-4.545 2.477-2.376 1.6-5.165 3.302c-.637.482-1.912 1.466-1.912 1.548 0 .045-.098.103-.53.357-.359.211-.947.556-1.897 1.14l-4.287 2.631-2.118.464-1.756-1.702-.362-2.787.362-.619 4.958-3.147 10.692-6.812 10.176-6.037h-2.79l-5.371-.361-7.541-.671-.126.005-8.903-.388-1.9-1.25-.75-1.9.75-2.55 3.25-1.45h3.862l4.281.258 7.955.413h1.86l1.033-.413-5.527-4.489-3.395-2.544-1.17-1.075-2.9-3.5v-2.7l1.15-1.65 1.75-.85h2.95l2.97 1.825 6.806 4.921.258-.155zm27 93.578 2.41-2.215 3.35-.4 2.45 1 2.25 2.1.45 2.9-1.05 3.35-1.65 4.1-.58 2.027-.07.189v.718c.305.086.968.257 1.184.257s2.493-.513 3.606-.77l3.283-.205 4.844-.924 7.965-1.54c1.5-.468 2.981-.808 4.495-1.154l.565-.13 1.668.976 2.584 2.053v.719l-.377.975-1.292 1.54-2.26.873-1.13.359-1.777.513-11.195 3.08-5.812 1.284-6.782 1.694c.072.085.258.277.43.359.173.082.862.137 1.185.154l1.937.36 1.238.256 1.992.257h.86l2.853.616 3.983.616 8.88 1.54 1.992.308 1.023.205 2.045 1.335v1.437L97.034 561l-1.291.924s-1.768.66-2.584.821h-1.453l-2.853-.308-2.045-.205c-.753-.086-2.4-.267-2.96-.308a174 174 0 0 1-2.745-.257l-5.49-.667-3.283-.308-4.09-.617h-1.453l.484.411.969 1.181 2.745 2.567c.646.684 2.002 2.074 2.26 2.156.259.082 2.045 1.642 2.907 2.412l1.291 1.181 2.745 2.361 5.275 3.953 1.184.976.915 2.104-.215 1.13-.539.616h-2.26c-1.47-.673-6.674-2.978-6.674-2.978s-.61-.53-.861-.718l-2.045-1.848-3.983-2.978-1.615-1.027-5.544-4.312-.484-.308h-.7v.565l.27.77 1.291 2.053.7 1.027.861 1.232 1.507 2.31 3.445 4.466 4.897 6.777.431 1.642-.43 2.516-2.692 1.54-2.206-.77s-1.683-2.017-2.476-3.08l-.969-1.181-2.368-3.132-2.26-2.772-2.046-3.234-.968-1.642-1.4-1.797-3.767-5.236-.377-.719h-.538l-.7.308v1.745l-.538 4.107-.323 2.978-1.13 8.727-.216 1.848-.807 9.548c-.072.325-.226.985-.269 1.027-.148.14-.264.338-.383.54-.112.19-.226.384-.37.538l-1.077.308-4.144-1.9-1.13-1.899v-1.797l.376-6.006.27-4.158.484-3.696 1.022-6.263.377-3.902v-1.334h-.377l-1.022.975-.485.616-.645.77-1.4 1.694-3.121 3.491c-.61.77-1.852 2.341-1.938 2.464s-.682.804-.969 1.129l-2.53 3.08-4.52 5.442c-.904 1.245-1.7 2.281-2.96 3.183-.582.415-1.169.413-1.835.411h-.008l-.06-.001h-.089l-2.045-.41-1.669-.976-.43-2.823.915-1.591.807-1.181.969-1.592 1.453-2.772.646-.77 1.56-2.104 1.077-1.489 1.346-1.643 1.614-1.848 2.046-2.721 1.83-2.053 1.237-1.335 3.068-3.336 1.83-2.567.485-.308.16-.257-.322-.103-.915.36-.861.565-1.13.718-1.615.719-1.076.873-1.938 1.129-2.422 1.437-1.991 1.335-3.122 2.002-6.512 4.312-2.368 1.592-2.96 1.54h-2.261l-1.292-1.797-.43-1.437.43-2.516.538-.873 1.561-1.078 4.413-3.08 2.584-1.95 2.153-1.489 2.637-1.489 1.238-.873 2.045-1.334 7.427-4.877.27-.205-.27-.308H21.415l-3.39.308-6.459.205-4.682-.205H5.323L3.6 551.195l.215-2.054 1.13-1.643 1.669-.718h6.512l3.39.308 4.63.41 3.605.411 6.136 1.078 4.682.616h4.79l-1.184-1.694-1.722-2.002-1.884-1.797-8.826-4.363-8.289-3.953-4.379-2.766-.282-.215-.75-2.3 1.4-2.9h2.1l2.75.35 4.06 1.516 1.775 1.079 5.328 3.593 4.199 1.643-1.238-1.643-1.992-3.593-.272-.475a291 291 0 0 0-2.51-5.52v-4.15l2.85-1.55h4.25l2 1.55 2.996 2.662 7.909 14.157 2.045 2.515v-9.548l-.45-7.356v-1.78l.95-2.75h2.1l2.25.75.6 2v6.9l.417 3.416c.143.189.452.586.538.668s.323.445.43.616l3.876-4.312zm3.813 99.929-2.211 2.764-.827 1.235c-.292.223-.898.72-.98.926-.084.206-1.034 1.39-1.499 1.956l-.723 1.029-.878.824h-.413v-3.242c0-6.68.204-8.63.828-14.593l.153-1.465-.206-1.904-.982-1.596-1.704-.566-1.602.257-1.188 1.699-.775 3.963a752 752 0 0 1-.968 8.164c-.154 1.248-.332 2.695-.581 4.754v3.088l-.103.566-.259.154h-.206l-.103-.103c-.083-.288-4.684-6.879-6.974-10.139l-5.423-8.8-2.738-4.221-3.202-1.955h-.775l-2.273 1.029-1.446 2.162.516 2.985 1.24 1.647 4.08 6.124 6.612 10.808 1.705 2.779.775 1.647-.207.824-.568.36h-.465l-2.325-1.801-7.024-5.456-4.597-3.705-4.236-3.243-3.616-2.882-3.615-2.573a9 9 0 0 1-.41-.223c-.459-.257-.978-.549-1.45-.549-.984 0-1.872.128-2.84.309l-.672.669v2.933c0 1.456 1.653 4.323 1.653 4.323l1.136 1.39 2.583 1.853 5.733 3.963 5.062 3.191c.258.103.827.37 1.033.617.207.247 2.428 1.544 3.513 2.162l2.014 1.338 2.376 1.544 1.188.875v.618l-.206.72-.569.206h-3.409l-7.696-.206h-6.818l-6.199-.412-6.146-.308H.517L0 647.606l1.085 2.78 1.136 1.132s4.79.645 6.922.772c2.13.127 5.423 0 5.423 0h8.058c.33 0 2.927-.137 4.184-.206.74.069 2.262.206 2.427.206s2.136-.137 3.1-.206h5.217l.516.206.362.566v.618l-.62.463-5.734 3.603-3.099 2.058-11.777 7.978-4.493 3.293-2.79 1.956.982 2.831 1.808.926h1.033l3.977-2.11s6.026-3.757 8.884-5.61l1.911-1.081 3.1-2.418 1.394-.978 3.977-2.316 2.635-1.956c.327-.172 1.033-.515 1.24-.515.206 0 .637-.309.826-.463h.465l.206.463-.361.361-3.203 4.168c-.602.721-1.807 2.203-1.807 2.368s-3.1 4.289-4.65 6.33l-2.169 2.831-1.653 2.522c-1.532 2.024-4.803 6.485-4.803 6.485l-1.343 2.161.258 3.14.361.772 1.912.617h1.91l2.428-.617c1.594-2.381 3.323-4.769 5.061-7.168 1.813-2.502 3.635-5.017 5.322-7.552 1.102-1.99 3.337-6.001 3.46-6.124.124-.124 2.841-4.615 4.184-6.845l1.705-2.471.981-1.184h.362v.567l-.362 2.11-1.394 4.426-.93 2.161-.362 1.853-2.117 11.735c-.448 2.127-1.385 6.495-1.55 6.948-.207.566-1.24 6.021-1.24 6.227 0 .165-.24 1.03-.361 1.441l1.601 1.956.672.772 2.272.412h2.015l2.17-1.905.619-.926.981-5.816.569-5.713c.24-1.921.754-5.805.878-5.97.124-.164.43-3.774.568-5.558.183-1.61.31-4.787.31-4.787l.568-3.448.465-.823.361.309.569.823 4.545 7.926 1.653 3.139 5.992 11.529s1.903 1.671 2.582 2.573c.248.33 1.068.995 1.447 1.287l2.014.412 2.376-.824q.123-.465.24-.925c.179-.705.356-1.404.587-2.111v-1.853l-4.288-6.794-2.84-4.529-2.428-4.117-1.447-2.265 1.343 1.03 1.912 1.492 4.235 3.86 4.649 3.912 2.582 2.316 4.236 3.396 2.17 1.081 1.343-.206 1.342-1.132s-.189-2.161-.258-3.139l-2.118-2.316-3.977-4.272-5.01-5.147-5.734-6.124-1.394-1.338-2.066-1.596-.569-.875v-.617c.018-.121.104-.361.31-.361s1.12.24 1.55.361l13.326 2.11 10.228.978h1.653l1.962-.978 1.24-2.471v-.875l-.981-1.441-1.602-.875-4.648-.566-5.217-.514-2.635-.206-9.349-1.184-5.268-.463h-.982l-.258-.618.258-.309 1.601-.257 6.882-1.842 1.499-1.499.75-1.95v-1.9l-.75-1.8-1.7-.85h-2.858l-1.24.371h-2.84l-.93-.823c-.07-.155-.207-.505-.207-.669v-1.184l.153-.225-.028-.02 1.7-3.85 1.8-3.4.7-3v-2.2l-2.5-2.15H68.2zm4.076 98.536a398 398 0 0 1 2.87-2.681l3.1-.9 2.95.9 1.2 2.8v2.6l-1.2 3.1-.573 1.069a73 73 0 0 0-1.463 1.974l-5.439 8.299-1.488 1.701c0 .138.072.485.36.774.287.288.598.12.718 0 .427.017 1.282.041 1.282 0 0-.042 2.634-.533 3.951-.774l4.183-.469 2.469.776.55 2-.55 2.8-1.1 1.35-1.7.95-2.28.797-2.752.508c-1.454.292-4.443.897-4.772.979-.328.083-.889.241-1.128.309l.77.258 2.821.413 3.49.618.763.044.638.174 2.1.9.65 1v.95l-1.8 1.85-2 .9-3.35-.35-3.854-.46-.228-.059-2.514-.31h-.873v.31l1.18.927 1.386 1.289 2.103 2.114 1.847 1.752.578.47.375 1.017-.25 1.6-2.35 2.55h-2l-2.682-1.399-.187-.114c-.256-.275-.852-.876-1.18-1.083s-.376.086-.359.258l.77 1.547.77 1.237.871 2.062.873.979 3.9 5.928 2.257 3.35 1.385 2.423 1.898 2.99v1.546l-.359.825-1.077.773-3.233-.464s-3.167-3.321-4.771-5.103l-1.745-2.629c-1.248-1.529-3.827-4.67-4.156-5s-.923-1.374-1.18-1.855c-.718-.877-2.216-2.66-2.463-2.784s-2.36-2.904-3.386-4.278l-.667-.722-.462-.361-.308 1.083-.256 2.371-.667 2.577c-.394 2.698-1.18 8.145-1.18 8.351v2.68l-1.642 10.825c-.795.399-2.668 1.083-2.668 1.083l-2.976-.464-1.54-2.629v-1.289c.155-1.306.452-4.041.411-4.536-.04-.495.496-2.646.77-3.66l1.334-5.103 2-9.227.924-3.608-.41-.722h-.872c-.137 0-.462.062-.667.309l-.02.025c-.285.342-1.22 1.47-1.52 1.47-.246 0-1.402 2.131-1.95 3.196-.41.481-1.303 1.485-1.59 1.65s-.94 1.168-1.231 1.649l-1.54 2.114-1.693 1.855-2.155 2.938c-.342.361-1.026 1.104-1.026 1.186s-2.257 2.887-3.386 4.278l-1.386 1.65-3.437 2.68h-3.13l-.956-1.708-.275-2.622 5.849-7.113 2.565-3.144 6.465-8.145 1.437-1.546 1.129-1.856.513-.361-.514-.464h-.461l-1.232.464c-.906.498-2.811 1.495-3.18 1.495-.27 0-1.1.563-1.837 1.062-.523.355-.999.678-1.191.742-.37.124-5.285 2.663-7.696 3.918l-6.927 4.02-1.744.413-2.412-.413-.41-2.628 1.231-2.114 6.362-5 8.158-5.361 7.953-5.155.36-.36v-.464l-1.13-.31h-2.616c-2.121-.189-6.475-.567-6.927-.567s-1.864-.206-2.514-.309l-9.954-1.495c-2.172-.257-6.772-.773-6.772-.773l-2.617-.773-2.053-2.474-.41-1.031 1.642-2.114 2.104-1.031h1.077l5.336.619 6.568.412H19.6l4.31.619 14.11 1.082h1.539v-1.082c-.171-.155-.565-.495-.77-.619-.205-.123-.599-.532-.77-.721l-2.565-1.908-1.847-1.34c-.428-.464-1.344-1.474-1.59-1.804-.247-.33-1.061-.962-1.437-1.237l-1.232-.773-15.238-12.423c-1.904-1.363-5.49-4.279-5.49-4.279v-2.835s.678-.914 1.026-1.237h4.464l3.95 2.887 1.54 1.443 7.388 4.846 7.286 5.103 2.052 1.649h.565l.308-.412-.308-1.237-.565-1.598-1.334-3.093-3.745-7.268-2.617-5.619-2.411-4.33v-5.258l1.539-.824h1.847l2.052.824 1.899.928c.24.447.728 1.402.77 1.65.04.247.769 1.546 1.128 2.165l1.437 2.062 3.9 6.082 5.746 9.588 4.669 7.577.256.361.513.567.821-.309V730c.253-3.301.694-6.585 1.135-9.876.332-2.474.664-4.952.918-7.444l1.18-4.175 2.822-1.65h2.822l1.744 2.835-.41 6.083c-1.013 4.859-1.653 9.803-2.292 14.736a572 572 0 0 1-.684 5.161l.308.309.872-.876 2.822-2.526 2.77-2.99z
|
|
1425
|
-
`.trim();function Hu({viewBox:n,pathData:s,className:l,preserveAspectRatio:u,style:p,testId:f,hidden:A=!1}){return(0,C.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:n,className:l,preserveAspectRatio:u,style:p,"data-testid":f,...A?{hidden:!0}:{},children:(0,C.jsx)("path",{d:s})})}function p2({className:n}){const s=nb()??!1;return(0,C.jsxs)("span",{className:We("claude-loading-indicator inline-flex min-h-8 items-center",s&&"claude-loading-indicator--reduced",n),children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-claude",className:"inline-flex h-8 w-8 items-center justify-center",children:(0,C.jsx)("span",{className:"p-1 -translate-x-px",children:(0,C.jsx)("span",{"aria-hidden":"true",children:(0,C.jsx)("span",{className:"inline-block w-8 select-none overflow-hidden text-[#d97757]","data-state":"closed",style:{aspectRatio:"1 / 1"},children:(0,C.jsxs)("span",{"data-testid":"loading-indicator-claude-stage",className:"claude-loading-indicator__stage relative block h-full w-full [&>svg]:block [&>svg]:w-full",children:[(0,C.jsx)(Hu,{viewBox:"0 0 100 100",pathData:d4,className:"claude-loading-indicator__static absolute inset-0",testId:"loading-indicator-claude-static",hidden:!s}),(0,C.jsx)(Hu,{viewBox:"0 0 100 900",pathData:p4,className:"claude-loading-indicator__strip claude-loading-indicator__strip--900",preserveAspectRatio:"xMidYMin meet",style:{aspectRatio:"1 / 9"},testId:"loading-indicator-claude-strip-900",hidden:s}),(0,C.jsx)(Hu,{viewBox:"0 0 100 800",pathData:f4,className:"claude-loading-indicator__strip claude-loading-indicator__strip--800",preserveAspectRatio:"xMidYMin meet",style:{aspectRatio:"1 / 8"},testId:"loading-indicator-claude-strip-800",hidden:s})]})})})})})]})}function ld({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-claude-code-cli",className:"claude-code-cli-indicator font-mono text-sm text-primary",children:[(0,C.jsx)("span",{className:"claude-code-cli-indicator__spinner"}),(0,C.jsx)("span",{className:"claude-code-cli-indicator__label",children:"Thinking"})]})]})}function el({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-dot",className:"inline-block h-3 w-3 rounded-full bg-foreground animate-thinking-dot-pulse"})]})}function g4({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-2",n),"aria-live":"polite","data-testid":"loading-indicator-goose",children:[(0,C.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",fill:"none",className:"goose-icon-indicator block size-4 shrink-0","data-testid":"loading-indicator-goose-mark",children:[(0,C.jsx)("g",{clipPath:"url(#goose-indicator-clip)",children:(0,C.jsx)("path",{fill:"currentColor",d:"M20.9093 19.3861L19.5185 18.2413C18.7624 17.619 18.1189 16.8713 17.6157 16.0313C16.9205 14.8706 15.9599 13.8912 14.8133 13.1735L14.2533 12.8475C14.0614 12.7141 13.9276 12.5062 13.9086 12.2716C13.8963 12.1204 13.9326 11.9852 14.0171 11.8662C14.3087 11.4553 15.896 9.74698 16.1722 9.51845C16.528 9.22442 16.9243 8.97987 17.2921 8.69986C17.3443 8.66 17.3968 8.62035 17.4485 8.57989C17.4503 8.57808 17.4529 8.57668 17.4545 8.57508C17.5725 8.48195 17.6838 8.383 17.7724 8.26563C18.2036 7.76631 18.195 7.3443 18.195 7.3443C18.195 7.3443 18.1954 7.3439 18.1956 7.3437C18.1497 7.23133 17.9847 6.88163 17.6492 6.71759C17.9458 6.71178 18.2805 6.82294 18.4323 6.97156C18.6148 6.68534 18.7328 6.49967 18.9162 6.18762C18.9599 6.11352 18.9831 5.97652 18.8996 5.89981C18.8996 5.89981 18.8992 5.89981 18.8988 5.89981C18.8988 5.89981 18.8988 5.8994 18.8988 5.899C18.8972 5.8974 18.8952 5.8962 18.8936 5.8946C18.892 5.893 18.891 5.89119 18.8892 5.88939C18.8892 5.88939 18.8888 5.88939 18.8884 5.88939C18.8884 5.88939 18.8884 5.88899 18.8884 5.88859C18.885 5.88518 18.8812 5.88258 18.8776 5.87938C18.8754 5.87717 18.8736 5.87457 18.8716 5.87217C18.8692 5.87016 18.8665 5.86836 18.8643 5.86616C18.8609 5.86275 18.8587 5.85855 18.8551 5.85534C18.8551 5.85534 18.8545 5.85514 18.8543 5.85534C18.8543 5.85534 18.8543 5.85494 18.8543 5.85454C18.8527 5.85294 18.8507 5.85174 18.8491 5.85013C18.8475 5.84853 18.8463 5.84653 18.8447 5.84493C18.8447 5.84493 18.8441 5.84473 18.8439 5.84493C18.8439 5.84493 18.8439 5.84453 18.8439 5.84413C18.7672 5.7606 18.6302 5.78384 18.5561 5.8275C18.1503 6.06625 17.7555 6.32322 17.3996 6.54855C17.3996 6.54855 16.9778 6.53973 16.4783 6.97116C16.3607 7.05989 16.2618 7.17125 16.1688 7.28902C16.167 7.29082 16.1654 7.29322 16.164 7.29503C16.1234 7.3465 16.0837 7.39898 16.0441 7.45145C15.7639 7.81939 15.5195 8.21556 15.2255 8.57128C14.9971 8.84768 13.2887 10.4348 12.8777 10.7264C12.7587 10.8109 12.6237 10.8474 12.4723 10.835C12.2379 10.8161 12.0298 10.6821 11.8965 10.4903L11.5704 9.93024C10.8527 8.78318 9.87332 7.82299 8.71264 7.12778C7.87262 6.62466 7.12514 5.98092 6.50264 5.22503L5.35778 3.83421C5.3013 3.76571 5.19314 3.77693 5.15268 3.85585C5.02249 4.10941 4.77393 4.64479 4.58346 5.36483C4.57885 5.38186 4.58286 5.39988 4.59407 5.4135C4.83082 5.69952 5.37901 6.32983 6.03196 6.863C6.07742 6.90005 6.04017 6.97336 5.98369 6.95774C5.42047 6.80432 4.87288 6.55796 4.46308 6.34805C4.42964 6.33103 4.38918 6.35226 4.38437 6.38951C4.32068 6.89985 4.30425 7.46027 4.37155 8.05112C4.37355 8.07035 4.38577 8.08697 4.4036 8.09479C4.87088 8.29808 5.61816 8.59311 6.40269 8.78078C6.45958 8.7944 6.45777 8.87632 6.40029 8.88733C5.78941 9.0023 5.14968 9.02794 4.62973 9.02113C4.59327 9.02073 4.56643 9.05518 4.57625 9.09023C4.6806 9.45896 4.822 9.8339 5.00847 10.2115C5.08559 10.3811 5.16951 10.5475 5.25944 10.7104C5.27486 10.7382 5.3047 10.7548 5.33655 10.7534C5.76577 10.7324 6.28452 10.6871 6.80608 10.595C6.89501 10.5794 6.94268 10.6964 6.86757 10.7466C6.51345 10.9834 6.13571 11.1873 5.7844 11.3551C5.73733 11.3777 5.72211 11.4378 5.75315 11.4797C5.96186 11.7625 6.19139 12.0301 6.44075 12.2794C6.44075 12.2794 7.66853 13.5441 7.70198 13.6432C8.41841 12.9096 9.59612 12.0964 10.8966 11.3864C9.15488 12.8036 8.18387 13.8499 7.69517 14.4444L7.35447 14.9225C7.17742 15.1708 7.02379 15.4346 6.89541 15.7112C6.46579 16.6356 5.75756 18.5051 5.75756 18.5051C5.70328 18.6515 5.74754 18.7959 5.84168 18.89C5.84388 18.8922 5.84609 18.8944 5.84849 18.8964C5.85069 18.8986 5.8527 18.901 5.8549 18.9032C5.94924 18.9976 6.09345 19.0416 6.23986 18.9874C6.23986 18.9874 8.10897 18.2791 9.03371 17.8495C9.31031 17.7211 9.57429 17.5673 9.82245 17.3905L10.349 17.0153C10.6278 16.8166 11.0096 16.8483 11.2517 17.0904L12.4655 18.3042C12.7148 18.5535 12.9824 18.7831 13.2652 18.9918C13.3073 19.0226 13.3672 19.0076 13.3898 18.9605C13.5579 18.6094 13.7618 18.2313 13.9983 17.8774C14.0486 17.8022 14.1657 17.8501 14.1499 17.9388C14.0576 18.4606 14.0127 18.9794 13.9915 19.4084C13.9899 19.44 14.0067 19.4701 14.0345 19.4855C14.1972 19.5756 14.3636 19.6595 14.5335 19.7364C14.911 19.9229 15.2862 20.0645 15.6547 20.1687C15.6897 20.1785 15.7242 20.1516 15.7238 20.1152C15.7168 19.595 15.7424 18.9553 15.8576 18.3446C15.8684 18.2869 15.9503 18.2851 15.9641 18.3422C16.1516 19.127 16.4466 19.8742 16.6501 20.3413C16.6579 20.3591 16.6744 20.3712 16.6938 20.3734C17.2847 20.4407 17.8451 20.4242 18.3554 20.3606C18.3929 20.3559 18.4141 20.3155 18.3969 20.2818C18.187 19.872 17.9406 19.3241 17.7872 18.7612C17.7718 18.7046 17.8449 18.6675 17.8819 18.713C18.4151 19.3659 19.0454 19.9141 19.3314 20.1508C19.345 20.1621 19.3633 20.1659 19.3801 20.1615C20.1003 19.9712 20.6357 19.7226 20.8891 19.5922C20.968 19.5518 20.9792 19.4436 20.9107 19.3871L20.9093 19.3861Z"})}),(0,C.jsx)("defs",{children:(0,C.jsx)("clipPath",{id:"goose-indicator-clip",children:(0,C.jsx)("rect",{width:"24",height:"24",fill:"#fff"})})})]}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-goose-label",className:"text-sm leading-5 font-medium text-muted-foreground/80",children:"Thinking"}),(0,C.jsx)("span",{className:"sr-only",children:"Thinking"})]})}var f2=(0,U.createContext)(null),g2=(0,U.createContext)(null),h2=(0,U.createContext)(void 0),N6=f2.Provider,L6=g2.Provider,P6=h2.Provider;function j6(){return(0,U.useContext)(f2)}function ni(){return(0,U.useContext)(g2)}function V6(){return(0,U.useContext)(h2)}function cd({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-cursor-shine","data-theme":s,className:"cursor-shine-indicator text-sm",children:"Planning next moves"}),(0,C.jsx)("span",{className:"sr-only",children:"Planning next moves"})]})}function h4({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-copilot-pulse",className:"copilot-pulse-indicator",children:[(0,C.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-1",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--1"}),(0,C.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-2",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--2"}),(0,C.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-3",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--3"})]})]})}function tl({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-codex-shine","data-theme":s,className:"codex-shine-indicator text-sm",children:"Thinking"}),(0,C.jsx)("span",{className:"sr-only",children:"Thinking"})]})}function ri({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-mcpjam",className:"mcpjam-mark-indicator",children:[(0,C.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--1 bg-primary"}),(0,C.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--2 bg-primary"}),(0,C.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--3 bg-primary"})]})]})}function m4({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-n8n",className:"n8n-mark-indicator",children:[(0,C.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--1"}),(0,C.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--2"}),(0,C.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--3"})]})]})}var b4="M12 7.714 5.388 1.96v5.33M12 7.714H2.694v8.571h2.238M12 7.715l-6.612 5.754v8.571L12 16.286m0-8.572 6.612 5.755v8.571L12 16.286m0-8.572V23.51m0-15.796h9.306v8.571h-2.238M12 7.715l6.612-5.756v5.33M12 7.714V.49m0 7.224v8.572m24-8.572-6.604-5.76v5.33m6.604.43-9.305-.009v8.571l2.23.002M36 7.714l-6.618 5.748v8.571l6.608-5.739m.01-8.58-.01 6.98v8.816l.01-7.224m0-8.572 6.604 5.76v8.571L36 16.286m0-8.572 9.305.01v8.57l-2.246-.002m-7.06-8.578 6.619-5.748v5.33M36 7.714 36.01.49v5.667M36 7.714v8.572m24-8.572-6.578-5.776V7.27M60 7.714l-9.302-.036v8.571l2.206.01M60 7.713l-6.638 5.726v8.571l6.597-5.69m.04-8.607-.041 6.98v8.814L60 16.286m0-8.572 6.578 5.776v8.571L60 16.286m0-8.572 9.302.036v8.571l-2.27-.009M60 7.714l6.638-5.725v5.332M60 7.714 60.042.49v5.667M60 7.714v8.572m24-8.572L77.466 1.91v5.333M84 7.714l-9.296-.083v8.571l2.163.02M84 7.713l-6.67 5.687v8.571l6.575-5.606M84 7.714l-.098 6.98v8.811l.098-7.22m0-8.57 6.534 5.803v8.571L84 16.285m0-8.57 9.296.082v8.571l-2.31-.02M84 7.713l6.67-5.687v5.335M84 7.714 84.097.49v5.667M84 7.714v8.571m24-8.57-6.469-5.845v5.336m6.469.508-9.288-.152v8.571l2.101.034M108 7.714l-6.719 5.63v8.571l6.544-5.484M108 7.714l-.178 6.98v8.807l.178-7.215m0-8.572 6.469 5.844v8.571L108 16.286m0-8.572 9.288.152v8.571l-2.369-.039M108 7.714l6.719-5.63v5.34m-6.719.29.179-7.224v5.667M108 7.714v8.572m24-8.572-6.383-5.898v5.34m6.383.558-9.277-.244v8.571l2.019.053M132 7.714l-6.784 5.554v8.571l6.5-5.322M132 7.714l-.287 6.98v8.802l.287-7.21m0-8.572 6.383 5.898v8.571L132 16.286m0-8.572 9.277.244v8.571l-2.448-.064M132 7.715l6.784-5.555v5.345m-6.784.21.287-7.225v5.668M132 7.714v8.572m24-8.572-6.272-5.967V7.09m6.272.624-9.264-.36v8.57l1.914.075M156 7.714l-6.867 5.458v8.571l6.441-5.119m.426-8.91-.425 6.98v8.795l.425-7.203m0-8.572 6.272 5.968v8.571L156 16.286m0-8.572 9.264.361v8.571l-2.549-.099M156 7.714l6.867-5.458V7.61M156 7.714l.425-7.224v5.668M156 7.714v8.572m24-8.572-6.135-6.053v5.35m6.135.703-9.246-.507v8.571l1.785.098M180 7.714l-6.97 5.338v8.571l6.364-4.873M180 7.714l-.596 6.98v8.787l.596-7.195m0-8.572 6.135 6.053v8.571L180 16.286m0-8.572 9.246.507v8.571l-2.674-.147M180 7.715l6.97-5.339V7.74M180 7.714l.596-7.224v5.67M180 7.714v8.572m24-8.572-5.969-6.157v5.357m5.969.8-9.226-.683v8.571l1.63.121M204 7.714l-7.095 5.192v8.571l6.263-4.584M204 7.714l-.804 6.98v8.776l.804-7.184m0-8.572 5.969 6.157v8.571L204 16.286m0-8.572 9.226.683v8.571l-2.826-.208M204 7.714l7.095-5.192v5.375M204 7.714l.804-7.224v5.672M204 7.714v8.572m24-8.572-5.771-6.28V6.8m5.771.914-9.201-.894v8.571l1.447.141M228 7.714l-7.243 5.02v8.57l6.134-4.25M228 7.713l-1.051 6.98v8.764L228 16.286m0-8.572 5.771 6.281v8.571L228 16.286m0-8.572 9.201.894v8.571l-3.008-.292M228 7.714l7.243-5.019v5.39M228 7.715 229.051.49v5.676M228 7.714v8.572m24-8.572-5.538-6.426v5.377M252 7.715l-9.172-1.142v8.571l1.234.154M252 7.714l-7.418 4.815V21.1l5.969-3.874M252 7.714l-1.343 6.98v8.75L252 16.285m0-8.572 5.538 6.427v8.571L252 16.286m0-8.572 9.172 1.142v8.571l-3.222-.4M252 7.713l7.418-4.815v5.408M252 7.714 253.343.49V6.5M252 7.714v8.572m24-8.572-5.265-6.597v5.391M276 7.714l-9.138-1.43v8.57l.989.155M276 7.714l-7.623 4.576v8.571l5.758-3.457M276 7.714l-1.684 6.98v8.732l1.684-7.14m0-8.572 5.265 6.597v8.571L276 16.286m0-8.572 9.138 1.431v8.571l-3.472-.544M276 7.714l7.623-4.576v5.43M276 7.714 277.684.49V6.5M276 7.714v8.572m24-8.572L295.052.92v5.41M300 7.713l-9.098-1.768v8.571l.71.138M300 7.715l-7.861 4.298v8.571l5.491-3.003M300 7.714l-2.081 6.98v8.712l2.081-7.12m0-8.572 4.948 6.795v8.571L300 16.286m0-8.572 9.098 1.768v8.571l-3.762-.73M300 7.713l7.861-4.299v5.458M300 7.714 302.081.49v5.702M300 7.714v8.572m24-8.572L319.428.726v5.432M324 7.714l-9.025-2.154v8.571l.322.077M324 7.714l-8.118 3.968v8.571l5.184-2.534M324 7.714l-2.53 6.98v8.69l2.53-7.098m0-8.572 4.572 6.99v8.57L324 16.286m0-8.572 9.025 2.154v8.571l-4.08-.974M324 7.715l8.118-3.969V9.36M324 7.714 326.53.5v5.704M324 7.714v8.572m24-8.572-4.095-7.04V6.14M348 7.714l-8.813-2.577v8.113M348 7.714l-8.33 3.545v8.571l4.949-2.106M348 7.714l-3.007 6.98v8.663l3.007-7.07m0-8.573 4.095 7.042v8.571L348 16.287m0-8.573 8.813 2.578v8.571l-4.359-1.275M348 7.714l8.33-3.545V10M348 7.714l3.007-7.162v5.641M348 7.714v8.572m24-8.572L368.454.612V6.12M372 7.714l-8.569-3.065v7.223M372 7.714l-8.574 3.057v8.571l4.66-1.662M372 7.714l-3.556 6.98v8.632l3.556-7.04m0-8.572 3.546 7.103v8.571L372 16.286m0-8.572 8.569 3.066v8.571l-4.666-1.669M372 7.714l8.574-3.057v7.24M372 7.713l3.556-7.1v5.568M372 7.714v8.572m24-8.572L393.086.541v5.56M396 7.713l-8.288-3.627V10M396 7.714l-8.854 2.496v8.571l4.306-1.213M396 7.714l-4.188 6.98v8.597L396 16.286m0-8.572 2.914 7.173v8.571L396 16.286m0-8.572 8.288 3.627v8.571l-4.996-2.186M396 7.714l8.854-2.495v8.265M396 7.714l4.188-7.03V6.17M396 7.714v8.572m24-8.572L417.841.49V6.5M420 7.714l-7.907-4.244v5.463M420 7.714l-9.09 1.835v8.571l3.819-.77M420 7.713l-4.885 6.835v8.571L420 16.286m0-8.572 2.159 7.215v8.581L420 16.286m0-8.572 7.908 4.244v8.571l-5.436-2.917M420 7.714l9.09-1.835v8.571l-.656.132M420 7.714 424.885.88v5.412M420 7.714v8.572m24-8.572L442.768.49V6.5M444 7.714l-7.351-4.893v5.401M444 7.714l-9.183 1.047v8.571l3.14-.358M444 7.714l-5.627 6.371v8.571l5.627-6.37m0-8.572 1.232 7.184v8.612L444 16.286m0-8.572 7.351 4.893v8.571l-6.033-4.016M444 7.714l9.183-1.047v8.571l-1.315.15M444 7.714l5.627-6.37v5.372M444 7.714v8.572m24-8.572L467.832.49l.145 6.224m.023 1-6.713-5.637v5.34m6.713.297-9.289.143v8.571l2.361-.036M468 7.714l-6.478 5.84v8.57L468 16.286m0-8.572.168 7.148v8.647L468 16.286m0-8.572 6.713 5.637v8.571l-6.548-5.499M468 7.714l9.289-.143v8.571l-2.109.032M468 7.714l6.478-5.839V7.21M468 7.714v8.572m24-8.572L493.046.49V6.5M492 7.714l-5.775-6.278v5.311m5.775.967-9.202-.889v8.571l1.508.146M492 7.714l-7.24 5.023v8.571l6.137-4.258M492 7.714l-1.046 7.108v8.636L492 16.286m0-8.572 5.775 6.278v8.571L492 16.286m0-8.572 9.202.89v8.57l-3.004-.29M492 7.714l7.24-5.023v5.39M492 7.713v8.572m24-8.572L518.42.49v5.597M516 7.714 511.324.75v5.3M516 7.714l-9.064-2.057v8.571l.607.138M516 7.714l-8.064 4.061v8.571l5.244-2.64M516 7.713l-2.42 7.062v8.613l2.42-7.103m0-8.572 4.676 6.965v8.571L516 16.286m0-8.572 9.064 2.057v8.571l-4.01-.91M516 7.714l8.064-4.06v5.481M516 7.715v8.571m24-8.572L543.801.64v5.414M540 7.714 536.699.585v5.481M540 7.714l-8.46-3.283v6.07M540 7.713l-8.682 2.84v8.57l4.526-1.48M540 7.714l-3.8 7.011v8.587l3.8-7.026m0-8.572 3.302 7.13v8.571L540 16.286m0-8.572 8.461 3.283v8.571l-4.797-1.86M540 7.713l8.682-2.839v7.633M540 7.714v8.572m24-8.572 5.224-6.623v5.303M564 7.714 562.264.49v5.904M564 7.714l-7.654-4.54v5.434M564 7.714l-9.132 1.476v8.571l3.51-.567M564 7.714l-5.224 6.623v8.571L564 16.286m0-8.572 1.736 7.201v8.595L564 16.286m0-8.572 7.654 4.54v8.571l-5.725-3.396M564 7.714l9.133-1.475v8.571l-.952.154M564 7.714v8.572m24-8.572 6.612-5.755v5.33M588 7.714V.49m0 7.224-6.612-5.755v5.33m6.612.425h-9.306v8.571h2.238M588 7.715l-6.612 5.754v8.571L588 16.286m0-8.572 6.612 5.755v8.571L588 16.286m0-8.572V23.51m0-15.796h9.306v8.571h-2.238M588 7.715v8.571m24-8.572 7.654-4.54v5.434M612 7.714 613.736.49v5.995M612 7.715l-5.224-6.624v5.394M612 7.715l-9.132-1.476v8.571l.952.154m8.18-7.25-7.654 4.54v8.571l5.725-3.396M612 7.714l-1.736 7.085v8.624L612 16.286m0-8.572 5.224 6.623v8.571L612 16.286m0-8.572 9.133 1.475v8.571l-3.51-.567M612 7.714v8.572m24-8.572 8.461-3.283v6.07M636 7.713l3.302-7.13v5.527M636 7.714 632.2.64v5.49m3.8 1.584-8.682-2.839v7.633M636 7.714l-8.46 3.283v8.571l4.797-1.86M636 7.713l-3.302 7.03v8.596L636 16.286m0-8.572 3.801 7.074v8.571L636 16.286m0-8.572 8.682 2.84v8.57l-4.526-1.48M636 7.714v8.572m24-8.572 9.064-2.057v8.571l-.476.108M660 7.714 664.676.75v5.425M660 7.714 657.58.49v5.597M660 7.714l-8.064-4.06v5.481M660 7.715l-9.064 2.056v8.571l4.01-.91M660 7.714l-4.676 6.966v8.571L660 16.286m0-8.572 2.42 7.224v8.572L660 16.286m0-8.572 8.064 4.061v8.571l-5.244-2.64M660 7.713v8.572m24-8.572 9.202-.889v8.571l-1.451.14M684 7.714l5.775-6.278v5.366M684 7.714 682.954.49V6.5M684 7.714l-7.24-5.023v5.39m7.24-.367-9.202.89v8.57l3.004-.29M684 7.714l-5.775 6.278v8.571L684 16.286m0-8.572 1.046 7.178v8.618L684 16.286m0-8.572 7.24 5.023v8.571l-6.137-4.258M684 7.714v8.572m24-8.572 9.289.143v8.571l-2.361-.036M708 7.714l6.713-5.637v5.34M708 7.713l.168-7.224V6.5M708 7.714l-6.478-5.839V7.21m6.478.504-9.289-.143v8.571l2.109.032m7.18-8.46-6.713 5.637v8.571l6.548-5.499M708 7.714l-.168 7.137v8.65l.168-7.215m0-8.572 6.478 5.84v8.57L708 16.286m0-8.572v8.572m24-8.572 9.183 1.047v8.571l-3.14-.358M732 7.714l7.351-4.893v5.401M732 7.714 733.232.49v6.177M732 7.714l-5.627-6.37v5.372m5.627.998-9.183-1.047v8.571l1.315.15M732 7.714l-7.351 4.893v8.571l6.033-4.016M732 7.714l-1.232 7.102v8.633L732 16.286m0-8.572 5.627 6.371v8.571L732 16.286m0-8.572v8.572m24-8.572 9.09 1.835v8.571l-3.819-.77M756 7.713l7.908-4.244v5.463M756 7.714 758.159.49v5.6M756 7.714 751.115.88v5.412M756 7.714l-9.09-1.835v8.571l.656.132M756 7.714l-7.908 4.244v8.571l5.436-2.917M756 7.714l-2.159 7.071v8.617L756 16.286m0-8.572 4.885 6.835v8.571L756 16.286m0-8.572v8.572m24-8.572 8.854 2.495v8.571l-4.306-1.213M780 7.714l8.288-3.627V10M780 7.714l2.914-7.173v5.56M780 7.713l-4.188-7.03v5.46M780 7.714l-8.854-2.495v8.265M780 7.714l-8.288 3.627v8.571l4.996-2.186M780 7.714l-2.914 7.044v8.604L780 16.286m0-8.572 4.188 7.031v8.571L780 16.286m0-8.572v8.572m24-8.572 8.574 3.057v8.571l-4.66-1.662M804 7.714l8.569-3.066v7.223M804 7.714l3.546-7.102V6.12M804 7.714l-3.556-7.1V6.12M804 7.714l-8.574-3.056v7.24M804 7.713l-8.569 3.066v8.571l4.666-1.669M804 7.714l-3.546 7.021v8.592l3.546-7.04m0-8.573 3.556 7.101v8.571l-3.556-7.1m0-8.572v8.572m24-8.572 8.33 3.545v8.571l-4.949-2.106M828 7.714l8.813-2.578v8.113M828 7.714l4.095-7.04V6.14M828 7.714 824.993.552v5.551M828 7.714l-8.33-3.544V10M828 7.714l-8.813 2.578v8.571l4.359-1.275M828 7.714l-4.095 7v8.582l4.095-7.01m0-8.572 3.007 7.162v8.571L828 16.287m0-8.573v8.572m24-8.572 8.118 3.968v8.571l-5.184-2.534M852 7.714l9.025-2.154v8.571l-.322.077M852 7.714l4.572-6.988v5.432M852 7.714 849.47.5v5.59M852 7.713l-8.118-3.968V9.36M852 7.714l-9.025 2.154v8.571l4.08-.974M852 7.715l-4.572 6.982v8.573L852 16.286m0-8.572 2.53 7.215V23.5L852 16.286m0-8.572v8.572m24-8.572 7.861 4.3v8.57l-5.491-3.003M876 7.714l9.098-1.768v8.571l-.71.138M876 7.715l4.948-6.796v5.41M876 7.713 873.919.49v5.602M876 7.714l-7.861-4.298v5.458M876 7.714l-9.098 1.77v8.57l3.762-.73M876 7.713l-4.948 6.796v8.571L876 16.286m0-8.572 2.081 7.212v8.584L876 16.286m0-8.572v8.572m24-8.572 7.623 4.576v8.571l-5.758-3.457M900 7.714l9.138-1.43v8.57l-.989.155M900 7.714l5.265-6.597v5.391M900 7.714 898.316.49v6.018M900 7.714l-7.623-4.576v5.43M900 7.714l-9.138 1.432v8.571l3.472-.544M900 7.714l-5.265 6.597v8.571L900 16.286m0-8.572 1.684 7.2v8.596L900 16.286m0-8.572v8.572m24-8.572 7.418 4.815V21.1l-5.969-3.874M924 7.714l9.172-1.142v8.571l-1.234.154M924 7.714l5.538-6.427v5.377M924 7.714 922.657.49V6.5M924 7.714 916.582 2.9v5.408M924 7.714l-9.172 1.142v8.571l3.222-.4M924 7.713l-5.538 6.427v8.571L924 16.286m0-8.572 1.343 7.188v8.608L924 16.286m0-8.572v8.572m24-8.572 7.243 5.02v8.57l-6.134-4.25M948 7.713l9.201-.894v8.571l-1.447.141M948 7.714l5.771-6.28V6.8M948 7.714 946.949.49V6.5M948 7.714l-7.243-5.019v5.39m7.243-.37-9.201.893v8.571l3.008-.292M948 7.714l-5.771 6.281v8.571l5.771-6.28m0-8.572 1.051 7.178v8.618L948 16.286m0-8.572v8.572m24-8.572 7.095 5.192v8.571l-6.263-4.584M972 7.714l9.226-.683v8.571l-1.63.121M972 7.714l5.969-6.157v5.357m-5.969.8L971.196.49v5.634m.804 1.59-7.095-5.192v5.375M972 7.714l-9.226.683v8.571l2.826-.209m6.4-9.045-5.969 6.157v8.571L972 16.286m0-8.572.804 7.17v8.626L972 16.286m0-8.572v8.572m24-8.572 6.97 5.338v8.571l-6.364-4.873M996 7.714l9.25-.507v8.571l-1.79.098M996 7.714l6.13-6.053v5.35m-6.13.703L995.404.49v5.642M996 7.714l-6.97-5.337V7.74m6.97-.026-9.246.507v8.571l2.674-.147M996 7.715l-6.135 6.052v8.571L996 16.286m0-8.572.596 7.163v8.633L996 16.286m0-8.572v8.572m24-8.572 6.87 5.457v8.571l-6.44-5.119m-.43-8.909 9.26-.36v8.57l-1.91.075M1020 7.714l6.27-5.968V7.09m-6.27.624-.42-7.224v5.648m.42 1.576-6.87-5.457V7.61m6.87.104-9.26.361v8.571l2.55-.099m6.71-8.833-6.27 5.968v8.571l6.27-5.967m0-8.572.43 7.157v8.64l-.43-7.225m0-8.572v8.572m24-8.572 6.78 5.554v8.571l-6.5-5.322m-.28-8.803 9.28-.244v8.571l-2.02.053m-7.26-8.38 6.38-5.898v5.34m-6.38.558-.29-7.224v5.654m.29 1.57-6.78-5.554v5.345m6.78.21-9.28.243v8.571l2.45-.064m6.83-8.75-6.38 5.897v8.571l6.38-5.897m0-8.572.29 7.152v8.644l-.29-7.224m0-8.572v8.572m24-8.572 6.72 5.63v8.571l-6.55-5.484m-.17-8.717 9.29-.152v8.571l-2.1.034M1068 7.714l6.47-5.844v5.336m-6.47.508-.18-7.224v5.66m.18 1.564-6.72-5.63v5.34m6.72.29-9.29.152v8.571l2.37-.039m6.92-8.684-6.47 5.844v8.571l6.47-5.843m0-8.572.18 7.15v8.646l-.18-7.224m0-8.572v8.572m24-8.572 6.67 5.687v8.571l-6.57-5.606m-.1-8.652 9.3-.083v8.571l-2.17.02M1092 7.713l6.53-5.804v5.333m-6.53.471-.1-7.224v5.662m.1 1.562-6.67-5.686v5.335m6.67.351-9.3.083v8.571l2.31-.02m6.99-8.634-6.53 5.804v8.571l6.53-5.803m0-8.572.1 7.146v8.65l-.1-7.224m0-8.572v8.572m24-8.572 6.64 5.725v8.571l-6.6-5.69m-.04-8.606 9.3-.036v8.571l-2.2.01m-7.1-8.545 6.58-5.776V7.27m-6.58.445-.04-7.224v5.665m.04 1.56-6.64-5.726v5.332m6.64.393-9.3.036v8.571l2.27-.009m7.03-8.598-6.58 5.776v8.571l6.58-5.775m0-8.572.04 7.144v8.652l-.04-7.224m0-8.572v8.572m24-8.572 6.62 5.748v8.571l-6.61-5.739m-.01-8.58 9.31-.009v8.571l-2.23.002M1140 7.714l6.6-5.76v5.33m-6.6.43-.01-7.224v5.666m.01 1.558-6.62-5.748v5.33m6.62.418-9.3.01v8.57l2.24-.002m7.06-8.578-6.6 5.76v8.571l6.6-5.759m0-8.572.01 7.143v8.653l-.01-7.224m0-8.572v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572";function v4({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{"data-testid":"loading-indicator-perplexity","data-theme":s,"aria-live":"polite",className:We("inline-flex min-h-6 items-center",n),style:{color:s==="light"?"#0e7c8c":"#1fb8cd"},children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-perplexity-mark",className:"block size-5 shrink-0 overflow-hidden",children:(0,C.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1248 24",stroke:"currentColor",fill:"none",className:"perplexity-indicator__strip block transform-gpu",children:(0,C.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:b4})})})]})}function y4({className:n}){const s=`cline-indicator-eyes-${(0,U.useId)().replace(/:/g,"")}`;return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-2",n),"aria-live":"polite","data-testid":"loading-indicator-cline",children:[(0,C.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 200 200",className:"cline-mark-indicator block size-4 shrink-0","data-testid":"loading-indicator-cline-mark",children:[(0,C.jsxs)("mask",{id:s,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",children:[(0,C.jsx)("rect",{width:"200",height:"200",fill:"#fff"}),(0,C.jsx)("rect",{x:"64",y:"92",width:"28",height:"72",rx:"14",fill:"#000"}),(0,C.jsx)("rect",{x:"108",y:"92",width:"28",height:"72",rx:"14",fill:"#000"})]}),(0,C.jsxs)("g",{fill:"currentColor",mask:`url(#${s})`,children:[(0,C.jsx)("circle",{cx:"100",cy:"25",r:"22"}),(0,C.jsx)("path",{d:"M 52 46 L 148 46 A 37 37 0 0 1 185 83 Q 206 120 185 157 A 37 37 0 0 1 148 194 L 52 194 A 37 37 0 0 1 15 157 Q -6 120 15 83 A 37 37 0 0 1 52 46 Z"})]})]}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-cline-label",className:"text-sm leading-5 font-medium text-muted-foreground/80",children:"Thinking"}),(0,C.jsx)("span",{className:"sr-only",children:"Thinking"})]})}function x4({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-1.5",n),"aria-live":"polite",children:[(0,C.jsx)("span",{"aria-hidden":"true","data-theme":s,className:"notion-loader-icon"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-notion-shimmer","data-theme":s,className:"nds-shimmer-text text-sm",children:"Working"}),(0,C.jsx)("span",{className:"sr-only",children:"Working"})]})}function S4({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-2",n),"aria-live":"polite","data-testid":"loading-indicator-mistral",children:[(0,C.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 200 200",className:"block size-4 shrink-0 overflow-hidden","data-testid":"loading-indicator-mistral-loader",children:[(0,C.jsxs)("g",{transform:"translate(180 179.997)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.14 0.12 0.86;0.88 0.14 0.12 0.86;0 0 1 1",values:"180 179.997;20 180.003;180 179.997;180 179.997"}),(0,C.jsx)("rect",{fill:"#fa500f",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,C.jsxs)("g",{transform:"translate(20 140.003)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.139 0.12 0.861;0.88 0.139 0.12 1;0 0 1 1",values:"20 140.003;140.613 140.003;20 140.003;20 140.003"}),(0,C.jsx)("rect",{fill:"#ff8205",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,C.jsxs)("g",{transform:"translate(100 100.003)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.306;0.661;0.968;1",keySplines:"0.167 0.167 0.12 0.86;0.88 0.14 0.12 0.86;0.88 0.14 0.833 0.833;0 0 1 1",values:"100 100.003;20 100.003;180 100.003;100 100.003;100 100.003"}),(0,C.jsx)("rect",{fill:"#ffaf01",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,C.jsxs)("g",{transform:"translate(180 60.003)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.42 0 0.58 1;0.42 0 0.58 1;0 0 1 1",values:"180 60.003;20 60.003;180 60.003;180 60.003"}),(0,C.jsx)("rect",{fill:"#ff8205",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,C.jsxs)("g",{transform:"translate(20 20.003)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.14 0.12 0.86;0.88 0.14 0.12 0.86;0 0 1 1",values:"20 20.003;180 20.003;20 20.003;20 20.003"}),(0,C.jsx)("rect",{fill:"#fa500f",x:"-20",y:"-20.003",width:"40",height:"40.006"})]})]}),(0,C.jsx)("span",{"aria-hidden":"true","data-theme":s,"data-testid":"loading-indicator-mistral-label",className:"mistral-shimmer-text text-sm leading-5 font-medium",children:"Thinking"}),(0,C.jsx)("span",{className:"sr-only",children:"Thinking"})]})}var qu=(function(n){return n.MCP_APPS="mcp-apps",n.OPENAI_SDK="openai-sdk",n.OPENAI_SDK_AND_MCP_APPS="openai-sdk-and-mcp-apps",n})({});function A4(n){const s=n?.["openai/outputTemplate"],l=typeof s=="string"&&s.length>0,u=!!Qr(n);return l&&u?"openai-sdk-and-mcp-apps":l?"openai-sdk":u?"mcp-apps":null}function T4(n,s,l){const u=[];if(!n?.tools)return u.push("widget usage (tools metadata not loaded)"),{widgets:{mcpAppsOnly:[],openaiAppsOnly:[],dual:[]},appOnlyWidgets:[],hasWidgets:!1,widgetUsage:s,connectionFacts:l,unknownDimensions:u};const p=[],f=[],A=[],T=[];for(const w of n.tools){const I=n.toolsMetadata?.[w.name]??w._meta;let E=!0;switch(A4(I)){case qu.MCP_APPS:p.push(w.name);break;case qu.OPENAI_SDK:f.push(w.name);break;case qu.OPENAI_SDK_AND_MCP_APPS:A.push(w.name);break;default:E=!1}E&&Uv(I)&&T.push(w.name)}const M=p.length+f.length+A.length>0;return M&&!s&&u.push("widget capabilities (widget HTML not analyzed)"),{widgets:{mcpAppsOnly:p,openaiAppsOnly:f,dual:A},appOnlyWidgets:T,hasWidgets:M,widgetUsage:s,connectionFacts:l,unknownDimensions:u}}var ig=n=>{const s=n.slice(0,3).map(u=>`\`${u}\``),l=n.length-s.length;return l>0?`${s.join(", ")} +${l} more`:s.join(", ")},C4={camera:"Camera",microphone:"Microphone",geolocation:"Location",clipboardWrite:"Clipboard"},m2=n=>`${C4[n]??n} access`,b2=n=>{const s=m2(n);return`${s.slice(0,1).toLowerCase()}${s.slice(1)}`},w4=n=>{const s=n.map(b2);return s.length<=1?s[0]??"sandbox access":s.length===2?`${s[0]} and ${s[1]}`:`${s.slice(0,-1).join(", ")}, and ${s[s.length-1]}`};function _4(n,s){const l=n.widgetUsage?.sandboxPermissionNames;if(l?.length){if(s.capabilities?.sandboxPermissions===!1)return l;if(s.sandboxPermissionAllow)return l.filter(u=>s.sandboxPermissionAllow?.[u]!==!0)}}var E4=[{key:"serverTools",severity:"degraded",subject:"Interactive tool calls",request:"uses interactive tool calls",unsupportedObject:"them"},{key:"serverResources",severity:"degraded",subject:"Resource reads",request:"reads additional resources",unsupportedObject:"resource reads"},{key:"message",severity:"degraded",subject:"Follow-up messages",request:"sends follow-up messages",unsupportedObject:"them"},{key:"updateModelContext",severity:"degraded",subject:"Model context updates",request:"updates the model context",unsupportedObject:"model context updates"},{key:"openLinks",severity:"degraded",subject:"External links",request:"opens external links",unsupportedObject:"them"},{key:"downloadFile",severity:"degraded",subject:"File downloads",request:"downloads files",unsupportedObject:"file downloads"},{key:"sandboxPermissions",severity:"degraded",subject:"Widget sandbox permissions",request:"uses sandbox permissions",unsupportedObject:"them"},{key:"cspFrameDomains",severity:"degraded",subject:"Embedded content",request:"loads nested iframes",unsupportedObject:"nested iframes"},{key:"logging",severity:"info",subject:"Widget logs",request:"sends logs",unsupportedObject:"them"}],sg={works:0,unknown:1,degraded:2,blocked:3},lg={assumed:0,probe:1,"vendor-doc":2,observed:3};function v2(n,s){return n.reduce((l,u)=>lg[u.provenance]<lg[l]?u.provenance:l,s)}function cg(n,s,l,u){const p=n.filter(T=>T.lane===s),f=p.some(T=>T.severity==="blocker"),A=p.some(T=>T.severity==="degraded");return{verdict:f?"blocked":A?"degraded":l?"unknown":"works",provenance:v2(p,u)}}function k4(n,s){const l=[];if(n.hasWidgets){const M=[...s.rendersMcpApps?[]:n.widgets.mcpAppsOnly,...s.rendersOpenAiApps?[]:n.widgets.openaiAppsOnly,...s.rendersMcpApps||s.rendersOpenAiApps?[]:n.widgets.dual],w=s.rendersMcpApps&&!s.rendersOpenAiApps?"Declare an MCP Apps template (`_meta.ui.resourceUri`) alongside the OpenAI one.":!s.rendersMcpApps&&s.rendersOpenAiApps?"Declare an OpenAI Apps template (`openai/outputTemplate`) alongside the MCP Apps one.":void 0,I=M.filter(_=>n.appOnlyWidgets.includes(_)),E=M.filter(_=>!n.appOnlyWidgets.includes(_));if(I.length>0){const _=I.length;l.push({lane:"apps",severity:"blocker",code:"app_only_unrenderable",tools:I,title:`${_===1?"Interactive tool":`${_} interactive tools`} unavailable`,detail:`${ig(I)} only ${_===1?"works":"work"} inside a widget. ${s.label} does not render ${_===1?"it":"them"}.`,remediation:w,provenance:s.provenance})}if(E.length>0){const _=E.length;l.push({lane:"apps",severity:"degraded",code:"widget_text_fallback",tools:E,title:`${_===1?"Interactive view":`${_} interactive views`} unavailable`,detail:`${ig(E)} provide${_===1?"s":""} an interactive view. ${s.label} shows the plain-text result instead.`,remediation:w,provenance:s.provenance})}if(s.capabilities&&n.widgetUsage)for(const _ of E4){const D=_.key==="sandboxPermissions"?n.widgetUsage.sandboxPermissionNames:void 0,j=_.key==="sandboxPermissions"?_4(n,s):void 0,ae=_.key==="sandboxPermissions"&&D!==void 0&&(j!==void 0||s.capabilities[_.key]===!1),Q=ae?(j?.length??0)>0:s.capabilities[_.key]!==!0,V=_.key==="sandboxPermissions"&&j!==void 0&&n.widgetUsage.sandboxPermissionTools?Array.from(new Set(j.flatMap(be=>n.widgetUsage?.sandboxPermissionTools?.[be]??[]))):n.widgetUsage[_.key];if(V&&V.length>0&&Q){const be=ae||s.capabilities[_.key]===!1?"unsupported":"not verified",$e=_.key==="sandboxPermissions"&&j?.length?{title:j.length===1?`${m2(j[0])} unavailable`:"Widget sandbox permissions unsupported",detail:j.length===1?`This widget requests ${b2(j[0])}. ${s.label} does not support it.`:`This widget requests ${w4(j)}. ${s.label} does not support them.`}:void 0;l.push({lane:"apps",severity:_.severity,code:"capability_unsupported",capability:_.key,tools:[...V],title:$e?.title??`${_.subject} ${be==="unsupported"?"unavailable":"not confirmed"}`,detail:$e?.detail??(be==="unsupported"?`This widget ${_.request}. ${s.label} does not support ${_.unsupportedObject}.`:`This widget ${_.request}. Support is not confirmed for ${s.label}.`),provenance:s.provenance})}}}const u=n.connectionFacts?.protocolVersion,p=s.supportedProtocolVersions;u&&p&&p.length>0&&!p.includes(u)&&l.push({lane:"server",severity:"info",code:"protocol_version_mismatch",title:"Protocol version differs",detail:`This server uses MCP \`${u}\`. ${s.label} supports ${p.map(M=>`\`${M}\``).join(", ")}. The connection works only if both support a shared version.`,remediation:`Check that the server supports ${p.length===1?"this version":"one of these versions"}.`,provenance:s.provenance});const f=cg(l,"apps",n.unknownDimensions.length>0,s.provenance),A=cg(l,"server",l.some(M=>M.lane==="server"),s.provenance),T=sg[f.verdict]>=sg[A.verdict]?f.verdict:A.verdict;return{hostId:s.id,hostLabel:s.label,verifiedAt:s.verifiedAt,verdict:T,provenance:s.provenance,lanes:{apps:f,server:A},findings:l}}function M4(n,s,l){const u=T4(n,l?.widgetUsage,l?.connectionFacts);return l?.toolsTruncated&&u.unknownDimensions.push("tool list incomplete — pagination truncated, later tools/widgets not evaluated"),{requirements:u,reports:s.map(p=>{const f=k4(u,p);return!l?.toolsTruncated||f.verdict!=="works"?f:{...f,verdict:"unknown",lanes:{...f.lanes,apps:{...f.lanes.apps,verdict:"unknown"}}}})}}var R4={hostsById:{mcpjam:{id:"mcpjam",label:"MCPJam",provenance:"assumed",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--color-background-primary":"oklch(0.9818 0.0054 95.0986)","--color-background-secondary":"oklch(0.9341 0.0153 90.239)","--color-background-tertiary":"oklch(0.9245 0.0138 92.9892)","--color-background-inverse":"oklch(0.2679 0.0036 106.6427)","--color-background-ghost":"oklch(0.9818 0.0054 95.0986 / 0)","--color-background-info":"oklch(0.93 0.04 259)","--color-background-danger":"oklch(0.94 0.04 25.331)","--color-background-success":"oklch(0.94 0.05 152.5)","--color-background-warning":"oklch(0.95 0.06 85.3)","--color-background-disabled":"oklch(0.9818 0.0054 95.0986 / 0.5)","--color-text-primary":"oklch(0.3438 0.0269 95.7226)","--color-text-secondary":"oklch(0.6059 0.0075 97.4233)","--color-text-tertiary":"oklch(0.4334 0.0177 98.6048)","--color-text-inverse":"oklch(1 0 0)","--color-text-ghost":"oklch(0.6059 0.0075 97.4233 / 0.5)","--color-text-info":"oklch(0.623 0.214 259)","--color-text-danger":"oklch(0.627 0.208 25.331)","--color-text-success":"oklch(0.696 0.17 152.5)","--color-text-warning":"oklch(0.769 0.188 85.3)","--color-text-disabled":"oklch(0.3438 0.0269 95.7226 / 0.5)","--color-border-primary":"oklch(0.7621 0.0156 98.3528)","--color-border-secondary":"oklch(0.8847 0.0069 97.3627)","--color-border-tertiary":"oklch(0.8847 0.0069 97.3627 / 0.6)","--color-border-inverse":"oklch(1 0 0 / 0.3)","--color-border-ghost":"oklch(0.8847 0.0069 97.3627 / 0)","--color-border-info":"oklch(0.623 0.214 259)","--color-border-danger":"oklch(0.627 0.208 25.331)","--color-border-success":"oklch(0.696 0.17 152.5)","--color-border-warning":"oklch(0.6832 0.1382 38.744)","--color-border-disabled":"oklch(0.7621 0.0156 98.3528 / 0.4)","--color-ring-primary":"oklch(0.6171 0.1375 39.0427)","--color-ring-secondary":"oklch(0.6059 0.0075 97.4233 / 0.5)","--color-ring-inverse":"oklch(1 0 0 / 0.7)","--color-ring-info":"oklch(0.623 0.214 259 / 0.5)","--color-ring-danger":"oklch(0.627 0.208 25.331 / 0.5)","--color-ring-success":"oklch(0.696 0.17 152.5 / 0.5)","--color-ring-warning":"oklch(0.769 0.188 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"},dark:{"--color-background-primary":"oklch(0.2679 0.0036 106.6427)","--color-background-secondary":"oklch(0.2213 0.0038 106.707)","--color-background-tertiary":"oklch(0.213 0.0078 95.4245)","--color-background-inverse":"oklch(0.9818 0.0054 95.0986)","--color-background-ghost":"oklch(0.2679 0.0036 106.6427 / 0)","--color-background-info":"oklch(0.28 0.06 259)","--color-background-danger":"oklch(0.32 0.08 25.331)","--color-background-success":"oklch(0.3 0.07 152)","--color-background-warning":"oklch(0.3 0.09 55)","--color-background-disabled":"oklch(0.2679 0.0036 106.6427 / 0.5)","--color-text-primary":"oklch(0.8074 0.0142 93.0137)","--color-text-secondary":"oklch(0.7713 0.0169 99.0657)","--color-text-tertiary":"oklch(0.7713 0.0169 99.0657 / 0.8)","--color-text-inverse":"oklch(0.2679 0.0036 106.6427)","--color-text-ghost":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-text-info":"oklch(0.7 0.18 259)","--color-text-danger":"oklch(0.74 0.18 25.331)","--color-text-success":"oklch(0.78 0.16 152)","--color-text-warning":"oklch(0.83 0.17 85.3)","--color-text-disabled":"oklch(0.8074 0.0142 93.0137 / 0.5)","--color-border-primary":"oklch(0.4336 0.0113 100.2195)","--color-border-secondary":"oklch(0.3618 0.0101 106.8928)","--color-border-tertiary":"oklch(0.3618 0.0101 106.8928 / 0.6)","--color-border-inverse":"oklch(0.2679 0.0036 106.6427 / 0.15)","--color-border-ghost":"oklch(0.3618 0.0101 106.8928 / 0)","--color-border-info":"oklch(0.7 0.18 259)","--color-border-danger":"oklch(0.74 0.18 25.331)","--color-border-success":"oklch(0.78 0.16 152)","--color-border-warning":"oklch(0.6724 0.1308 38.7559)","--color-border-disabled":"oklch(0.4336 0.0113 100.2195 / 0.4)","--color-ring-primary":"oklch(0.6724 0.1308 38.7559)","--color-ring-secondary":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-ring-inverse":"oklch(0.2679 0.0036 106.6427 / 0.7)","--color-ring-info":"oklch(0.7 0.18 259 / 0.5)","--color-ring-danger":"oklch(0.74 0.18 25.331 / 0.5)","--color-ring-success":"oklch(0.78 0.16 152 / 0.5)","--color-ring-warning":"oklch(0.83 0.17 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"}},verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},hostStyle:"mcpjam",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{},url:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]},"io.modelcontextprotocol/enterprise-managed-authorization":{},"io.modelcontextprotocol/skills":{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"mcpjam-inspector",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"oklch(0.2679 0.0036 106.6427)","--color-background-secondary":"oklch(0.2213 0.0038 106.707)","--color-background-tertiary":"oklch(0.213 0.0078 95.4245)","--color-background-inverse":"oklch(0.9818 0.0054 95.0986)","--color-background-ghost":"oklch(0.2679 0.0036 106.6427 / 0)","--color-background-info":"oklch(0.28 0.06 259)","--color-background-danger":"oklch(0.32 0.08 25.331)","--color-background-success":"oklch(0.3 0.07 152)","--color-background-warning":"oklch(0.3 0.09 55)","--color-background-disabled":"oklch(0.2679 0.0036 106.6427 / 0.5)","--color-text-primary":"oklch(0.8074 0.0142 93.0137)","--color-text-secondary":"oklch(0.7713 0.0169 99.0657)","--color-text-tertiary":"oklch(0.7713 0.0169 99.0657 / 0.8)","--color-text-inverse":"oklch(0.2679 0.0036 106.6427)","--color-text-ghost":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-text-info":"oklch(0.7 0.18 259)","--color-text-danger":"oklch(0.74 0.18 25.331)","--color-text-success":"oklch(0.78 0.16 152)","--color-text-warning":"oklch(0.83 0.17 85.3)","--color-text-disabled":"oklch(0.8074 0.0142 93.0137 / 0.5)","--color-border-primary":"oklch(0.4336 0.0113 100.2195)","--color-border-secondary":"oklch(0.3618 0.0101 106.8928)","--color-border-tertiary":"oklch(0.3618 0.0101 106.8928 / 0.6)","--color-border-inverse":"oklch(0.2679 0.0036 106.6427 / 0.15)","--color-border-ghost":"oklch(0.3618 0.0101 106.8928 / 0)","--color-border-info":"oklch(0.7 0.18 259)","--color-border-danger":"oklch(0.74 0.18 25.331)","--color-border-success":"oklch(0.78 0.16 152)","--color-border-warning":"oklch(0.6724 0.1308 38.7559)","--color-border-disabled":"oklch(0.4336 0.0113 100.2195 / 0.4)","--color-ring-primary":"oklch(0.6724 0.1308 38.7559)","--color-ring-secondary":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-ring-inverse":"oklch(0.2679 0.0036 106.6427 / 0.7)","--color-ring-info":"oklch(0.7 0.18 259 / 0.5)","--color-ring-danger":"oklch(0.74 0.18 25.331 / 0.5)","--color-ring-success":"oklch(0.78 0.16 152 / 0.5)","--color-ring-warning":"oklch(0.83 0.17 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"}}},mcpProfile:{profileVersion:1,extensions:{"com.mcpjam/events":{poll:!0,push:!0,webhook:!0}},initialize:{clientInfo:{name:"mcpjam-inspector",version:"0.0.0"}},apps:{uiInitialize:{hostInfo:{name:"MCPJam",version:"0.0.0"}},compatRuntime:{openaiApps:!0},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{camera:!0,microphone:!0,geolocation:!0,clipboardWrite:!0}}}}}},claude:{id:"claude",label:"Claude",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},hostStyle:"claude",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'"anthropic-sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
|
|
1425
|
+
`.trim();function qu({viewBox:n,pathData:s,className:l,preserveAspectRatio:u,style:p,testId:f,hidden:A=!1}){return(0,C.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:n,className:l,preserveAspectRatio:u,style:p,"data-testid":f,...A?{hidden:!0}:{},children:(0,C.jsx)("path",{d:s})})}function f2({className:n}){const s=rb()??!1;return(0,C.jsxs)("span",{className:We("claude-loading-indicator inline-flex min-h-8 items-center",s&&"claude-loading-indicator--reduced",n),children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-claude",className:"inline-flex h-8 w-8 items-center justify-center",children:(0,C.jsx)("span",{className:"p-1 -translate-x-px",children:(0,C.jsx)("span",{"aria-hidden":"true",children:(0,C.jsx)("span",{className:"inline-block w-8 select-none overflow-hidden text-[#d97757]","data-state":"closed",style:{aspectRatio:"1 / 1"},children:(0,C.jsxs)("span",{"data-testid":"loading-indicator-claude-stage",className:"claude-loading-indicator__stage relative block h-full w-full [&>svg]:block [&>svg]:w-full",children:[(0,C.jsx)(qu,{viewBox:"0 0 100 100",pathData:p4,className:"claude-loading-indicator__static absolute inset-0",testId:"loading-indicator-claude-static",hidden:!s}),(0,C.jsx)(qu,{viewBox:"0 0 100 900",pathData:f4,className:"claude-loading-indicator__strip claude-loading-indicator__strip--900",preserveAspectRatio:"xMidYMin meet",style:{aspectRatio:"1 / 9"},testId:"loading-indicator-claude-strip-900",hidden:s}),(0,C.jsx)(qu,{viewBox:"0 0 100 800",pathData:g4,className:"claude-loading-indicator__strip claude-loading-indicator__strip--800",preserveAspectRatio:"xMidYMin meet",style:{aspectRatio:"1 / 8"},testId:"loading-indicator-claude-strip-800",hidden:s})]})})})})})]})}function cd({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-claude-code-cli",className:"claude-code-cli-indicator font-mono text-sm text-primary",children:[(0,C.jsx)("span",{className:"claude-code-cli-indicator__spinner"}),(0,C.jsx)("span",{className:"claude-code-cli-indicator__label",children:"Thinking"})]})]})}function el({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-dot",className:"inline-block h-3 w-3 rounded-full bg-foreground animate-thinking-dot-pulse"})]})}function h4({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-2",n),"aria-live":"polite","data-testid":"loading-indicator-goose",children:[(0,C.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",fill:"none",className:"goose-icon-indicator block size-4 shrink-0","data-testid":"loading-indicator-goose-mark",children:[(0,C.jsx)("g",{clipPath:"url(#goose-indicator-clip)",children:(0,C.jsx)("path",{fill:"currentColor",d:"M20.9093 19.3861L19.5185 18.2413C18.7624 17.619 18.1189 16.8713 17.6157 16.0313C16.9205 14.8706 15.9599 13.8912 14.8133 13.1735L14.2533 12.8475C14.0614 12.7141 13.9276 12.5062 13.9086 12.2716C13.8963 12.1204 13.9326 11.9852 14.0171 11.8662C14.3087 11.4553 15.896 9.74698 16.1722 9.51845C16.528 9.22442 16.9243 8.97987 17.2921 8.69986C17.3443 8.66 17.3968 8.62035 17.4485 8.57989C17.4503 8.57808 17.4529 8.57668 17.4545 8.57508C17.5725 8.48195 17.6838 8.383 17.7724 8.26563C18.2036 7.76631 18.195 7.3443 18.195 7.3443C18.195 7.3443 18.1954 7.3439 18.1956 7.3437C18.1497 7.23133 17.9847 6.88163 17.6492 6.71759C17.9458 6.71178 18.2805 6.82294 18.4323 6.97156C18.6148 6.68534 18.7328 6.49967 18.9162 6.18762C18.9599 6.11352 18.9831 5.97652 18.8996 5.89981C18.8996 5.89981 18.8992 5.89981 18.8988 5.89981C18.8988 5.89981 18.8988 5.8994 18.8988 5.899C18.8972 5.8974 18.8952 5.8962 18.8936 5.8946C18.892 5.893 18.891 5.89119 18.8892 5.88939C18.8892 5.88939 18.8888 5.88939 18.8884 5.88939C18.8884 5.88939 18.8884 5.88899 18.8884 5.88859C18.885 5.88518 18.8812 5.88258 18.8776 5.87938C18.8754 5.87717 18.8736 5.87457 18.8716 5.87217C18.8692 5.87016 18.8665 5.86836 18.8643 5.86616C18.8609 5.86275 18.8587 5.85855 18.8551 5.85534C18.8551 5.85534 18.8545 5.85514 18.8543 5.85534C18.8543 5.85534 18.8543 5.85494 18.8543 5.85454C18.8527 5.85294 18.8507 5.85174 18.8491 5.85013C18.8475 5.84853 18.8463 5.84653 18.8447 5.84493C18.8447 5.84493 18.8441 5.84473 18.8439 5.84493C18.8439 5.84493 18.8439 5.84453 18.8439 5.84413C18.7672 5.7606 18.6302 5.78384 18.5561 5.8275C18.1503 6.06625 17.7555 6.32322 17.3996 6.54855C17.3996 6.54855 16.9778 6.53973 16.4783 6.97116C16.3607 7.05989 16.2618 7.17125 16.1688 7.28902C16.167 7.29082 16.1654 7.29322 16.164 7.29503C16.1234 7.3465 16.0837 7.39898 16.0441 7.45145C15.7639 7.81939 15.5195 8.21556 15.2255 8.57128C14.9971 8.84768 13.2887 10.4348 12.8777 10.7264C12.7587 10.8109 12.6237 10.8474 12.4723 10.835C12.2379 10.8161 12.0298 10.6821 11.8965 10.4903L11.5704 9.93024C10.8527 8.78318 9.87332 7.82299 8.71264 7.12778C7.87262 6.62466 7.12514 5.98092 6.50264 5.22503L5.35778 3.83421C5.3013 3.76571 5.19314 3.77693 5.15268 3.85585C5.02249 4.10941 4.77393 4.64479 4.58346 5.36483C4.57885 5.38186 4.58286 5.39988 4.59407 5.4135C4.83082 5.69952 5.37901 6.32983 6.03196 6.863C6.07742 6.90005 6.04017 6.97336 5.98369 6.95774C5.42047 6.80432 4.87288 6.55796 4.46308 6.34805C4.42964 6.33103 4.38918 6.35226 4.38437 6.38951C4.32068 6.89985 4.30425 7.46027 4.37155 8.05112C4.37355 8.07035 4.38577 8.08697 4.4036 8.09479C4.87088 8.29808 5.61816 8.59311 6.40269 8.78078C6.45958 8.7944 6.45777 8.87632 6.40029 8.88733C5.78941 9.0023 5.14968 9.02794 4.62973 9.02113C4.59327 9.02073 4.56643 9.05518 4.57625 9.09023C4.6806 9.45896 4.822 9.8339 5.00847 10.2115C5.08559 10.3811 5.16951 10.5475 5.25944 10.7104C5.27486 10.7382 5.3047 10.7548 5.33655 10.7534C5.76577 10.7324 6.28452 10.6871 6.80608 10.595C6.89501 10.5794 6.94268 10.6964 6.86757 10.7466C6.51345 10.9834 6.13571 11.1873 5.7844 11.3551C5.73733 11.3777 5.72211 11.4378 5.75315 11.4797C5.96186 11.7625 6.19139 12.0301 6.44075 12.2794C6.44075 12.2794 7.66853 13.5441 7.70198 13.6432C8.41841 12.9096 9.59612 12.0964 10.8966 11.3864C9.15488 12.8036 8.18387 13.8499 7.69517 14.4444L7.35447 14.9225C7.17742 15.1708 7.02379 15.4346 6.89541 15.7112C6.46579 16.6356 5.75756 18.5051 5.75756 18.5051C5.70328 18.6515 5.74754 18.7959 5.84168 18.89C5.84388 18.8922 5.84609 18.8944 5.84849 18.8964C5.85069 18.8986 5.8527 18.901 5.8549 18.9032C5.94924 18.9976 6.09345 19.0416 6.23986 18.9874C6.23986 18.9874 8.10897 18.2791 9.03371 17.8495C9.31031 17.7211 9.57429 17.5673 9.82245 17.3905L10.349 17.0153C10.6278 16.8166 11.0096 16.8483 11.2517 17.0904L12.4655 18.3042C12.7148 18.5535 12.9824 18.7831 13.2652 18.9918C13.3073 19.0226 13.3672 19.0076 13.3898 18.9605C13.5579 18.6094 13.7618 18.2313 13.9983 17.8774C14.0486 17.8022 14.1657 17.8501 14.1499 17.9388C14.0576 18.4606 14.0127 18.9794 13.9915 19.4084C13.9899 19.44 14.0067 19.4701 14.0345 19.4855C14.1972 19.5756 14.3636 19.6595 14.5335 19.7364C14.911 19.9229 15.2862 20.0645 15.6547 20.1687C15.6897 20.1785 15.7242 20.1516 15.7238 20.1152C15.7168 19.595 15.7424 18.9553 15.8576 18.3446C15.8684 18.2869 15.9503 18.2851 15.9641 18.3422C16.1516 19.127 16.4466 19.8742 16.6501 20.3413C16.6579 20.3591 16.6744 20.3712 16.6938 20.3734C17.2847 20.4407 17.8451 20.4242 18.3554 20.3606C18.3929 20.3559 18.4141 20.3155 18.3969 20.2818C18.187 19.872 17.9406 19.3241 17.7872 18.7612C17.7718 18.7046 17.8449 18.6675 17.8819 18.713C18.4151 19.3659 19.0454 19.9141 19.3314 20.1508C19.345 20.1621 19.3633 20.1659 19.3801 20.1615C20.1003 19.9712 20.6357 19.7226 20.8891 19.5922C20.968 19.5518 20.9792 19.4436 20.9107 19.3871L20.9093 19.3861Z"})}),(0,C.jsx)("defs",{children:(0,C.jsx)("clipPath",{id:"goose-indicator-clip",children:(0,C.jsx)("rect",{width:"24",height:"24",fill:"#fff"})})})]}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-goose-label",className:"text-sm leading-5 font-medium text-muted-foreground/80",children:"Thinking"}),(0,C.jsx)("span",{className:"sr-only",children:"Thinking"})]})}var g2=(0,U.createContext)(null),h2=(0,U.createContext)(null),m2=(0,U.createContext)(void 0),L6=g2.Provider,P6=h2.Provider,j6=m2.Provider;function V6(){return(0,U.useContext)(g2)}function ni(){return(0,U.useContext)(h2)}function B6(){return(0,U.useContext)(m2)}function ud({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-cursor-shine","data-theme":s,className:"cursor-shine-indicator text-sm",children:"Planning next moves"}),(0,C.jsx)("span",{className:"sr-only",children:"Planning next moves"})]})}function m4({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-copilot-pulse",className:"copilot-pulse-indicator",children:[(0,C.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-1",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--1"}),(0,C.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-2",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--2"}),(0,C.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-3",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--3"})]})]})}function tl({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-codex-shine","data-theme":s,className:"codex-shine-indicator text-sm",children:"Thinking"}),(0,C.jsx)("span",{className:"sr-only",children:"Thinking"})]})}function ri({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-mcpjam",className:"mcpjam-mark-indicator",children:[(0,C.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--1 bg-primary"}),(0,C.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--2 bg-primary"}),(0,C.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--3 bg-primary"})]})]})}function b4({className:n}){return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",n),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-n8n",className:"n8n-mark-indicator",children:[(0,C.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--1"}),(0,C.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--2"}),(0,C.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--3"})]})]})}var v4="M12 7.714 5.388 1.96v5.33M12 7.714H2.694v8.571h2.238M12 7.715l-6.612 5.754v8.571L12 16.286m0-8.572 6.612 5.755v8.571L12 16.286m0-8.572V23.51m0-15.796h9.306v8.571h-2.238M12 7.715l6.612-5.756v5.33M12 7.714V.49m0 7.224v8.572m24-8.572-6.604-5.76v5.33m6.604.43-9.305-.009v8.571l2.23.002M36 7.714l-6.618 5.748v8.571l6.608-5.739m.01-8.58-.01 6.98v8.816l.01-7.224m0-8.572 6.604 5.76v8.571L36 16.286m0-8.572 9.305.01v8.57l-2.246-.002m-7.06-8.578 6.619-5.748v5.33M36 7.714 36.01.49v5.667M36 7.714v8.572m24-8.572-6.578-5.776V7.27M60 7.714l-9.302-.036v8.571l2.206.01M60 7.713l-6.638 5.726v8.571l6.597-5.69m.04-8.607-.041 6.98v8.814L60 16.286m0-8.572 6.578 5.776v8.571L60 16.286m0-8.572 9.302.036v8.571l-2.27-.009M60 7.714l6.638-5.725v5.332M60 7.714 60.042.49v5.667M60 7.714v8.572m24-8.572L77.466 1.91v5.333M84 7.714l-9.296-.083v8.571l2.163.02M84 7.713l-6.67 5.687v8.571l6.575-5.606M84 7.714l-.098 6.98v8.811l.098-7.22m0-8.57 6.534 5.803v8.571L84 16.285m0-8.57 9.296.082v8.571l-2.31-.02M84 7.713l6.67-5.687v5.335M84 7.714 84.097.49v5.667M84 7.714v8.571m24-8.57-6.469-5.845v5.336m6.469.508-9.288-.152v8.571l2.101.034M108 7.714l-6.719 5.63v8.571l6.544-5.484M108 7.714l-.178 6.98v8.807l.178-7.215m0-8.572 6.469 5.844v8.571L108 16.286m0-8.572 9.288.152v8.571l-2.369-.039M108 7.714l6.719-5.63v5.34m-6.719.29.179-7.224v5.667M108 7.714v8.572m24-8.572-6.383-5.898v5.34m6.383.558-9.277-.244v8.571l2.019.053M132 7.714l-6.784 5.554v8.571l6.5-5.322M132 7.714l-.287 6.98v8.802l.287-7.21m0-8.572 6.383 5.898v8.571L132 16.286m0-8.572 9.277.244v8.571l-2.448-.064M132 7.715l6.784-5.555v5.345m-6.784.21.287-7.225v5.668M132 7.714v8.572m24-8.572-6.272-5.967V7.09m6.272.624-9.264-.36v8.57l1.914.075M156 7.714l-6.867 5.458v8.571l6.441-5.119m.426-8.91-.425 6.98v8.795l.425-7.203m0-8.572 6.272 5.968v8.571L156 16.286m0-8.572 9.264.361v8.571l-2.549-.099M156 7.714l6.867-5.458V7.61M156 7.714l.425-7.224v5.668M156 7.714v8.572m24-8.572-6.135-6.053v5.35m6.135.703-9.246-.507v8.571l1.785.098M180 7.714l-6.97 5.338v8.571l6.364-4.873M180 7.714l-.596 6.98v8.787l.596-7.195m0-8.572 6.135 6.053v8.571L180 16.286m0-8.572 9.246.507v8.571l-2.674-.147M180 7.715l6.97-5.339V7.74M180 7.714l.596-7.224v5.67M180 7.714v8.572m24-8.572-5.969-6.157v5.357m5.969.8-9.226-.683v8.571l1.63.121M204 7.714l-7.095 5.192v8.571l6.263-4.584M204 7.714l-.804 6.98v8.776l.804-7.184m0-8.572 5.969 6.157v8.571L204 16.286m0-8.572 9.226.683v8.571l-2.826-.208M204 7.714l7.095-5.192v5.375M204 7.714l.804-7.224v5.672M204 7.714v8.572m24-8.572-5.771-6.28V6.8m5.771.914-9.201-.894v8.571l1.447.141M228 7.714l-7.243 5.02v8.57l6.134-4.25M228 7.713l-1.051 6.98v8.764L228 16.286m0-8.572 5.771 6.281v8.571L228 16.286m0-8.572 9.201.894v8.571l-3.008-.292M228 7.714l7.243-5.019v5.39M228 7.715 229.051.49v5.676M228 7.714v8.572m24-8.572-5.538-6.426v5.377M252 7.715l-9.172-1.142v8.571l1.234.154M252 7.714l-7.418 4.815V21.1l5.969-3.874M252 7.714l-1.343 6.98v8.75L252 16.285m0-8.572 5.538 6.427v8.571L252 16.286m0-8.572 9.172 1.142v8.571l-3.222-.4M252 7.713l7.418-4.815v5.408M252 7.714 253.343.49V6.5M252 7.714v8.572m24-8.572-5.265-6.597v5.391M276 7.714l-9.138-1.43v8.57l.989.155M276 7.714l-7.623 4.576v8.571l5.758-3.457M276 7.714l-1.684 6.98v8.732l1.684-7.14m0-8.572 5.265 6.597v8.571L276 16.286m0-8.572 9.138 1.431v8.571l-3.472-.544M276 7.714l7.623-4.576v5.43M276 7.714 277.684.49V6.5M276 7.714v8.572m24-8.572L295.052.92v5.41M300 7.713l-9.098-1.768v8.571l.71.138M300 7.715l-7.861 4.298v8.571l5.491-3.003M300 7.714l-2.081 6.98v8.712l2.081-7.12m0-8.572 4.948 6.795v8.571L300 16.286m0-8.572 9.098 1.768v8.571l-3.762-.73M300 7.713l7.861-4.299v5.458M300 7.714 302.081.49v5.702M300 7.714v8.572m24-8.572L319.428.726v5.432M324 7.714l-9.025-2.154v8.571l.322.077M324 7.714l-8.118 3.968v8.571l5.184-2.534M324 7.714l-2.53 6.98v8.69l2.53-7.098m0-8.572 4.572 6.99v8.57L324 16.286m0-8.572 9.025 2.154v8.571l-4.08-.974M324 7.715l8.118-3.969V9.36M324 7.714 326.53.5v5.704M324 7.714v8.572m24-8.572-4.095-7.04V6.14M348 7.714l-8.813-2.577v8.113M348 7.714l-8.33 3.545v8.571l4.949-2.106M348 7.714l-3.007 6.98v8.663l3.007-7.07m0-8.573 4.095 7.042v8.571L348 16.287m0-8.573 8.813 2.578v8.571l-4.359-1.275M348 7.714l8.33-3.545V10M348 7.714l3.007-7.162v5.641M348 7.714v8.572m24-8.572L368.454.612V6.12M372 7.714l-8.569-3.065v7.223M372 7.714l-8.574 3.057v8.571l4.66-1.662M372 7.714l-3.556 6.98v8.632l3.556-7.04m0-8.572 3.546 7.103v8.571L372 16.286m0-8.572 8.569 3.066v8.571l-4.666-1.669M372 7.714l8.574-3.057v7.24M372 7.713l3.556-7.1v5.568M372 7.714v8.572m24-8.572L393.086.541v5.56M396 7.713l-8.288-3.627V10M396 7.714l-8.854 2.496v8.571l4.306-1.213M396 7.714l-4.188 6.98v8.597L396 16.286m0-8.572 2.914 7.173v8.571L396 16.286m0-8.572 8.288 3.627v8.571l-4.996-2.186M396 7.714l8.854-2.495v8.265M396 7.714l4.188-7.03V6.17M396 7.714v8.572m24-8.572L417.841.49V6.5M420 7.714l-7.907-4.244v5.463M420 7.714l-9.09 1.835v8.571l3.819-.77M420 7.713l-4.885 6.835v8.571L420 16.286m0-8.572 2.159 7.215v8.581L420 16.286m0-8.572 7.908 4.244v8.571l-5.436-2.917M420 7.714l9.09-1.835v8.571l-.656.132M420 7.714 424.885.88v5.412M420 7.714v8.572m24-8.572L442.768.49V6.5M444 7.714l-7.351-4.893v5.401M444 7.714l-9.183 1.047v8.571l3.14-.358M444 7.714l-5.627 6.371v8.571l5.627-6.37m0-8.572 1.232 7.184v8.612L444 16.286m0-8.572 7.351 4.893v8.571l-6.033-4.016M444 7.714l9.183-1.047v8.571l-1.315.15M444 7.714l5.627-6.37v5.372M444 7.714v8.572m24-8.572L467.832.49l.145 6.224m.023 1-6.713-5.637v5.34m6.713.297-9.289.143v8.571l2.361-.036M468 7.714l-6.478 5.84v8.57L468 16.286m0-8.572.168 7.148v8.647L468 16.286m0-8.572 6.713 5.637v8.571l-6.548-5.499M468 7.714l9.289-.143v8.571l-2.109.032M468 7.714l6.478-5.839V7.21M468 7.714v8.572m24-8.572L493.046.49V6.5M492 7.714l-5.775-6.278v5.311m5.775.967-9.202-.889v8.571l1.508.146M492 7.714l-7.24 5.023v8.571l6.137-4.258M492 7.714l-1.046 7.108v8.636L492 16.286m0-8.572 5.775 6.278v8.571L492 16.286m0-8.572 9.202.89v8.57l-3.004-.29M492 7.714l7.24-5.023v5.39M492 7.713v8.572m24-8.572L518.42.49v5.597M516 7.714 511.324.75v5.3M516 7.714l-9.064-2.057v8.571l.607.138M516 7.714l-8.064 4.061v8.571l5.244-2.64M516 7.713l-2.42 7.062v8.613l2.42-7.103m0-8.572 4.676 6.965v8.571L516 16.286m0-8.572 9.064 2.057v8.571l-4.01-.91M516 7.714l8.064-4.06v5.481M516 7.715v8.571m24-8.572L543.801.64v5.414M540 7.714 536.699.585v5.481M540 7.714l-8.46-3.283v6.07M540 7.713l-8.682 2.84v8.57l4.526-1.48M540 7.714l-3.8 7.011v8.587l3.8-7.026m0-8.572 3.302 7.13v8.571L540 16.286m0-8.572 8.461 3.283v8.571l-4.797-1.86M540 7.713l8.682-2.839v7.633M540 7.714v8.572m24-8.572 5.224-6.623v5.303M564 7.714 562.264.49v5.904M564 7.714l-7.654-4.54v5.434M564 7.714l-9.132 1.476v8.571l3.51-.567M564 7.714l-5.224 6.623v8.571L564 16.286m0-8.572 1.736 7.201v8.595L564 16.286m0-8.572 7.654 4.54v8.571l-5.725-3.396M564 7.714l9.133-1.475v8.571l-.952.154M564 7.714v8.572m24-8.572 6.612-5.755v5.33M588 7.714V.49m0 7.224-6.612-5.755v5.33m6.612.425h-9.306v8.571h2.238M588 7.715l-6.612 5.754v8.571L588 16.286m0-8.572 6.612 5.755v8.571L588 16.286m0-8.572V23.51m0-15.796h9.306v8.571h-2.238M588 7.715v8.571m24-8.572 7.654-4.54v5.434M612 7.714 613.736.49v5.995M612 7.715l-5.224-6.624v5.394M612 7.715l-9.132-1.476v8.571l.952.154m8.18-7.25-7.654 4.54v8.571l5.725-3.396M612 7.714l-1.736 7.085v8.624L612 16.286m0-8.572 5.224 6.623v8.571L612 16.286m0-8.572 9.133 1.475v8.571l-3.51-.567M612 7.714v8.572m24-8.572 8.461-3.283v6.07M636 7.713l3.302-7.13v5.527M636 7.714 632.2.64v5.49m3.8 1.584-8.682-2.839v7.633M636 7.714l-8.46 3.283v8.571l4.797-1.86M636 7.713l-3.302 7.03v8.596L636 16.286m0-8.572 3.801 7.074v8.571L636 16.286m0-8.572 8.682 2.84v8.57l-4.526-1.48M636 7.714v8.572m24-8.572 9.064-2.057v8.571l-.476.108M660 7.714 664.676.75v5.425M660 7.714 657.58.49v5.597M660 7.714l-8.064-4.06v5.481M660 7.715l-9.064 2.056v8.571l4.01-.91M660 7.714l-4.676 6.966v8.571L660 16.286m0-8.572 2.42 7.224v8.572L660 16.286m0-8.572 8.064 4.061v8.571l-5.244-2.64M660 7.713v8.572m24-8.572 9.202-.889v8.571l-1.451.14M684 7.714l5.775-6.278v5.366M684 7.714 682.954.49V6.5M684 7.714l-7.24-5.023v5.39m7.24-.367-9.202.89v8.57l3.004-.29M684 7.714l-5.775 6.278v8.571L684 16.286m0-8.572 1.046 7.178v8.618L684 16.286m0-8.572 7.24 5.023v8.571l-6.137-4.258M684 7.714v8.572m24-8.572 9.289.143v8.571l-2.361-.036M708 7.714l6.713-5.637v5.34M708 7.713l.168-7.224V6.5M708 7.714l-6.478-5.839V7.21m6.478.504-9.289-.143v8.571l2.109.032m7.18-8.46-6.713 5.637v8.571l6.548-5.499M708 7.714l-.168 7.137v8.65l.168-7.215m0-8.572 6.478 5.84v8.57L708 16.286m0-8.572v8.572m24-8.572 9.183 1.047v8.571l-3.14-.358M732 7.714l7.351-4.893v5.401M732 7.714 733.232.49v6.177M732 7.714l-5.627-6.37v5.372m5.627.998-9.183-1.047v8.571l1.315.15M732 7.714l-7.351 4.893v8.571l6.033-4.016M732 7.714l-1.232 7.102v8.633L732 16.286m0-8.572 5.627 6.371v8.571L732 16.286m0-8.572v8.572m24-8.572 9.09 1.835v8.571l-3.819-.77M756 7.713l7.908-4.244v5.463M756 7.714 758.159.49v5.6M756 7.714 751.115.88v5.412M756 7.714l-9.09-1.835v8.571l.656.132M756 7.714l-7.908 4.244v8.571l5.436-2.917M756 7.714l-2.159 7.071v8.617L756 16.286m0-8.572 4.885 6.835v8.571L756 16.286m0-8.572v8.572m24-8.572 8.854 2.495v8.571l-4.306-1.213M780 7.714l8.288-3.627V10M780 7.714l2.914-7.173v5.56M780 7.713l-4.188-7.03v5.46M780 7.714l-8.854-2.495v8.265M780 7.714l-8.288 3.627v8.571l4.996-2.186M780 7.714l-2.914 7.044v8.604L780 16.286m0-8.572 4.188 7.031v8.571L780 16.286m0-8.572v8.572m24-8.572 8.574 3.057v8.571l-4.66-1.662M804 7.714l8.569-3.066v7.223M804 7.714l3.546-7.102V6.12M804 7.714l-3.556-7.1V6.12M804 7.714l-8.574-3.056v7.24M804 7.713l-8.569 3.066v8.571l4.666-1.669M804 7.714l-3.546 7.021v8.592l3.546-7.04m0-8.573 3.556 7.101v8.571l-3.556-7.1m0-8.572v8.572m24-8.572 8.33 3.545v8.571l-4.949-2.106M828 7.714l8.813-2.578v8.113M828 7.714l4.095-7.04V6.14M828 7.714 824.993.552v5.551M828 7.714l-8.33-3.544V10M828 7.714l-8.813 2.578v8.571l4.359-1.275M828 7.714l-4.095 7v8.582l4.095-7.01m0-8.572 3.007 7.162v8.571L828 16.287m0-8.573v8.572m24-8.572 8.118 3.968v8.571l-5.184-2.534M852 7.714l9.025-2.154v8.571l-.322.077M852 7.714l4.572-6.988v5.432M852 7.714 849.47.5v5.59M852 7.713l-8.118-3.968V9.36M852 7.714l-9.025 2.154v8.571l4.08-.974M852 7.715l-4.572 6.982v8.573L852 16.286m0-8.572 2.53 7.215V23.5L852 16.286m0-8.572v8.572m24-8.572 7.861 4.3v8.57l-5.491-3.003M876 7.714l9.098-1.768v8.571l-.71.138M876 7.715l4.948-6.796v5.41M876 7.713 873.919.49v5.602M876 7.714l-7.861-4.298v5.458M876 7.714l-9.098 1.77v8.57l3.762-.73M876 7.713l-4.948 6.796v8.571L876 16.286m0-8.572 2.081 7.212v8.584L876 16.286m0-8.572v8.572m24-8.572 7.623 4.576v8.571l-5.758-3.457M900 7.714l9.138-1.43v8.57l-.989.155M900 7.714l5.265-6.597v5.391M900 7.714 898.316.49v6.018M900 7.714l-7.623-4.576v5.43M900 7.714l-9.138 1.432v8.571l3.472-.544M900 7.714l-5.265 6.597v8.571L900 16.286m0-8.572 1.684 7.2v8.596L900 16.286m0-8.572v8.572m24-8.572 7.418 4.815V21.1l-5.969-3.874M924 7.714l9.172-1.142v8.571l-1.234.154M924 7.714l5.538-6.427v5.377M924 7.714 922.657.49V6.5M924 7.714 916.582 2.9v5.408M924 7.714l-9.172 1.142v8.571l3.222-.4M924 7.713l-5.538 6.427v8.571L924 16.286m0-8.572 1.343 7.188v8.608L924 16.286m0-8.572v8.572m24-8.572 7.243 5.02v8.57l-6.134-4.25M948 7.713l9.201-.894v8.571l-1.447.141M948 7.714l5.771-6.28V6.8M948 7.714 946.949.49V6.5M948 7.714l-7.243-5.019v5.39m7.243-.37-9.201.893v8.571l3.008-.292M948 7.714l-5.771 6.281v8.571l5.771-6.28m0-8.572 1.051 7.178v8.618L948 16.286m0-8.572v8.572m24-8.572 7.095 5.192v8.571l-6.263-4.584M972 7.714l9.226-.683v8.571l-1.63.121M972 7.714l5.969-6.157v5.357m-5.969.8L971.196.49v5.634m.804 1.59-7.095-5.192v5.375M972 7.714l-9.226.683v8.571l2.826-.209m6.4-9.045-5.969 6.157v8.571L972 16.286m0-8.572.804 7.17v8.626L972 16.286m0-8.572v8.572m24-8.572 6.97 5.338v8.571l-6.364-4.873M996 7.714l9.25-.507v8.571l-1.79.098M996 7.714l6.13-6.053v5.35m-6.13.703L995.404.49v5.642M996 7.714l-6.97-5.337V7.74m6.97-.026-9.246.507v8.571l2.674-.147M996 7.715l-6.135 6.052v8.571L996 16.286m0-8.572.596 7.163v8.633L996 16.286m0-8.572v8.572m24-8.572 6.87 5.457v8.571l-6.44-5.119m-.43-8.909 9.26-.36v8.57l-1.91.075M1020 7.714l6.27-5.968V7.09m-6.27.624-.42-7.224v5.648m.42 1.576-6.87-5.457V7.61m6.87.104-9.26.361v8.571l2.55-.099m6.71-8.833-6.27 5.968v8.571l6.27-5.967m0-8.572.43 7.157v8.64l-.43-7.225m0-8.572v8.572m24-8.572 6.78 5.554v8.571l-6.5-5.322m-.28-8.803 9.28-.244v8.571l-2.02.053m-7.26-8.38 6.38-5.898v5.34m-6.38.558-.29-7.224v5.654m.29 1.57-6.78-5.554v5.345m6.78.21-9.28.243v8.571l2.45-.064m6.83-8.75-6.38 5.897v8.571l6.38-5.897m0-8.572.29 7.152v8.644l-.29-7.224m0-8.572v8.572m24-8.572 6.72 5.63v8.571l-6.55-5.484m-.17-8.717 9.29-.152v8.571l-2.1.034M1068 7.714l6.47-5.844v5.336m-6.47.508-.18-7.224v5.66m.18 1.564-6.72-5.63v5.34m6.72.29-9.29.152v8.571l2.37-.039m6.92-8.684-6.47 5.844v8.571l6.47-5.843m0-8.572.18 7.15v8.646l-.18-7.224m0-8.572v8.572m24-8.572 6.67 5.687v8.571l-6.57-5.606m-.1-8.652 9.3-.083v8.571l-2.17.02M1092 7.713l6.53-5.804v5.333m-6.53.471-.1-7.224v5.662m.1 1.562-6.67-5.686v5.335m6.67.351-9.3.083v8.571l2.31-.02m6.99-8.634-6.53 5.804v8.571l6.53-5.803m0-8.572.1 7.146v8.65l-.1-7.224m0-8.572v8.572m24-8.572 6.64 5.725v8.571l-6.6-5.69m-.04-8.606 9.3-.036v8.571l-2.2.01m-7.1-8.545 6.58-5.776V7.27m-6.58.445-.04-7.224v5.665m.04 1.56-6.64-5.726v5.332m6.64.393-9.3.036v8.571l2.27-.009m7.03-8.598-6.58 5.776v8.571l6.58-5.775m0-8.572.04 7.144v8.652l-.04-7.224m0-8.572v8.572m24-8.572 6.62 5.748v8.571l-6.61-5.739m-.01-8.58 9.31-.009v8.571l-2.23.002M1140 7.714l6.6-5.76v5.33m-6.6.43-.01-7.224v5.666m.01 1.558-6.62-5.748v5.33m6.62.418-9.3.01v8.57l2.24-.002m7.06-8.578-6.6 5.76v8.571l6.6-5.759m0-8.572.01 7.143v8.653l-.01-7.224m0-8.572v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572";function y4({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{"data-testid":"loading-indicator-perplexity","data-theme":s,"aria-live":"polite",className:We("inline-flex min-h-6 items-center",n),style:{color:s==="light"?"#0e7c8c":"#1fb8cd"},children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-perplexity-mark",className:"block size-5 shrink-0 overflow-hidden",children:(0,C.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1248 24",stroke:"currentColor",fill:"none",className:"perplexity-indicator__strip block transform-gpu",children:(0,C.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:v4})})})]})}function x4({className:n}){const s=`cline-indicator-eyes-${(0,U.useId)().replace(/:/g,"")}`;return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-2",n),"aria-live":"polite","data-testid":"loading-indicator-cline",children:[(0,C.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 200 200",className:"cline-mark-indicator block size-4 shrink-0","data-testid":"loading-indicator-cline-mark",children:[(0,C.jsxs)("mask",{id:s,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",children:[(0,C.jsx)("rect",{width:"200",height:"200",fill:"#fff"}),(0,C.jsx)("rect",{x:"64",y:"92",width:"28",height:"72",rx:"14",fill:"#000"}),(0,C.jsx)("rect",{x:"108",y:"92",width:"28",height:"72",rx:"14",fill:"#000"})]}),(0,C.jsxs)("g",{fill:"currentColor",mask:`url(#${s})`,children:[(0,C.jsx)("circle",{cx:"100",cy:"25",r:"22"}),(0,C.jsx)("path",{d:"M 52 46 L 148 46 A 37 37 0 0 1 185 83 Q 206 120 185 157 A 37 37 0 0 1 148 194 L 52 194 A 37 37 0 0 1 15 157 Q -6 120 15 83 A 37 37 0 0 1 52 46 Z"})]})]}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-cline-label",className:"text-sm leading-5 font-medium text-muted-foreground/80",children:"Thinking"}),(0,C.jsx)("span",{className:"sr-only",children:"Thinking"})]})}function S4({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-1.5",n),"aria-live":"polite",children:[(0,C.jsx)("span",{"aria-hidden":"true","data-theme":s,className:"notion-loader-icon"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-notion-shimmer","data-theme":s,className:"nds-shimmer-text text-sm",children:"Working"}),(0,C.jsx)("span",{className:"sr-only",children:"Working"})]})}function A4({className:n}){const s=ni()??"dark";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-2",n),"aria-live":"polite","data-testid":"loading-indicator-mistral",children:[(0,C.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 200 200",className:"block size-4 shrink-0 overflow-hidden","data-testid":"loading-indicator-mistral-loader",children:[(0,C.jsxs)("g",{transform:"translate(180 179.997)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.14 0.12 0.86;0.88 0.14 0.12 0.86;0 0 1 1",values:"180 179.997;20 180.003;180 179.997;180 179.997"}),(0,C.jsx)("rect",{fill:"#fa500f",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,C.jsxs)("g",{transform:"translate(20 140.003)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.139 0.12 0.861;0.88 0.139 0.12 1;0 0 1 1",values:"20 140.003;140.613 140.003;20 140.003;20 140.003"}),(0,C.jsx)("rect",{fill:"#ff8205",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,C.jsxs)("g",{transform:"translate(100 100.003)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.306;0.661;0.968;1",keySplines:"0.167 0.167 0.12 0.86;0.88 0.14 0.12 0.86;0.88 0.14 0.833 0.833;0 0 1 1",values:"100 100.003;20 100.003;180 100.003;100 100.003;100 100.003"}),(0,C.jsx)("rect",{fill:"#ffaf01",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,C.jsxs)("g",{transform:"translate(180 60.003)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.42 0 0.58 1;0.42 0 0.58 1;0 0 1 1",values:"180 60.003;20 60.003;180 60.003;180 60.003"}),(0,C.jsx)("rect",{fill:"#ff8205",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,C.jsxs)("g",{transform:"translate(20 20.003)",children:[(0,C.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.14 0.12 0.86;0.88 0.14 0.12 0.86;0 0 1 1",values:"20 20.003;180 20.003;20 20.003;20 20.003"}),(0,C.jsx)("rect",{fill:"#fa500f",x:"-20",y:"-20.003",width:"40",height:"40.006"})]})]}),(0,C.jsx)("span",{"aria-hidden":"true","data-theme":s,"data-testid":"loading-indicator-mistral-label",className:"mistral-shimmer-text text-sm leading-5 font-medium",children:"Thinking"}),(0,C.jsx)("span",{className:"sr-only",children:"Thinking"})]})}var Gu=(function(n){return n.MCP_APPS="mcp-apps",n.OPENAI_SDK="openai-sdk",n.OPENAI_SDK_AND_MCP_APPS="openai-sdk-and-mcp-apps",n})({});function T4(n){const s=n?.["openai/outputTemplate"],l=typeof s=="string"&&s.length>0,u=!!Qr(n);return l&&u?"openai-sdk-and-mcp-apps":l?"openai-sdk":u?"mcp-apps":null}function C4(n,s,l){const u=[];if(!n?.tools)return u.push("widget usage (tools metadata not loaded)"),{widgets:{mcpAppsOnly:[],openaiAppsOnly:[],dual:[]},appOnlyWidgets:[],hasWidgets:!1,widgetUsage:s,connectionFacts:l,unknownDimensions:u};const p=[],f=[],A=[],T=[];for(const _ of n.tools){const I=n.toolsMetadata?.[_.name]??_._meta;let E=!0;switch(T4(I)){case Gu.MCP_APPS:p.push(_.name);break;case Gu.OPENAI_SDK:f.push(_.name);break;case Gu.OPENAI_SDK_AND_MCP_APPS:A.push(_.name);break;default:E=!1}E&&Nv(I)&&T.push(_.name)}const M=p.length+f.length+A.length>0;return M&&!s&&u.push("widget capabilities (widget HTML not analyzed)"),{widgets:{mcpAppsOnly:p,openaiAppsOnly:f,dual:A},appOnlyWidgets:T,hasWidgets:M,widgetUsage:s,connectionFacts:l,unknownDimensions:u}}var sg=n=>{const s=n.slice(0,3).map(u=>`\`${u}\``),l=n.length-s.length;return l>0?`${s.join(", ")} +${l} more`:s.join(", ")},_4={camera:"Camera",microphone:"Microphone",geolocation:"Location",clipboardWrite:"Clipboard"},b2=n=>`${_4[n]??n} access`,v2=n=>{const s=b2(n);return`${s.slice(0,1).toLowerCase()}${s.slice(1)}`},w4=n=>{const s=n.map(v2);return s.length<=1?s[0]??"sandbox access":s.length===2?`${s[0]} and ${s[1]}`:`${s.slice(0,-1).join(", ")}, and ${s[s.length-1]}`};function E4(n,s){const l=n.widgetUsage?.sandboxPermissionNames;if(l?.length){if(s.capabilities?.sandboxPermissions===!1)return l;if(s.sandboxPermissionAllow)return l.filter(u=>s.sandboxPermissionAllow?.[u]!==!0)}}var k4=[{key:"serverTools",severity:"degraded",subject:"Interactive tool calls",request:"uses interactive tool calls",unsupportedObject:"them"},{key:"serverResources",severity:"degraded",subject:"Resource reads",request:"reads additional resources",unsupportedObject:"resource reads"},{key:"message",severity:"degraded",subject:"Follow-up messages",request:"sends follow-up messages",unsupportedObject:"them"},{key:"updateModelContext",severity:"degraded",subject:"Model context updates",request:"updates the model context",unsupportedObject:"model context updates"},{key:"openLinks",severity:"degraded",subject:"External links",request:"opens external links",unsupportedObject:"them"},{key:"downloadFile",severity:"degraded",subject:"File downloads",request:"downloads files",unsupportedObject:"file downloads"},{key:"sandboxPermissions",severity:"degraded",subject:"Widget sandbox permissions",request:"uses sandbox permissions",unsupportedObject:"them"},{key:"cspFrameDomains",severity:"degraded",subject:"Embedded content",request:"loads nested iframes",unsupportedObject:"nested iframes"},{key:"logging",severity:"info",subject:"Widget logs",request:"sends logs",unsupportedObject:"them"}],lg={works:0,unknown:1,degraded:2,blocked:3},cg={assumed:0,probe:1,"vendor-doc":2,observed:3};function y2(n,s){return n.reduce((l,u)=>cg[u.provenance]<cg[l]?u.provenance:l,s)}function ug(n,s,l,u){const p=n.filter(T=>T.lane===s),f=p.some(T=>T.severity==="blocker"),A=p.some(T=>T.severity==="degraded");return{verdict:f?"blocked":A?"degraded":l?"unknown":"works",provenance:y2(p,u)}}function M4(n,s){const l=[];if(n.hasWidgets){const M=[...s.rendersMcpApps?[]:n.widgets.mcpAppsOnly,...s.rendersOpenAiApps?[]:n.widgets.openaiAppsOnly,...s.rendersMcpApps||s.rendersOpenAiApps?[]:n.widgets.dual],_=s.rendersMcpApps&&!s.rendersOpenAiApps?"Declare an MCP Apps template (`_meta.ui.resourceUri`) alongside the OpenAI one.":!s.rendersMcpApps&&s.rendersOpenAiApps?"Declare an OpenAI Apps template (`openai/outputTemplate`) alongside the MCP Apps one.":void 0,I=M.filter(w=>n.appOnlyWidgets.includes(w)),E=M.filter(w=>!n.appOnlyWidgets.includes(w));if(I.length>0){const w=I.length;l.push({lane:"apps",severity:"blocker",code:"app_only_unrenderable",tools:I,title:`${w===1?"Interactive tool":`${w} interactive tools`} unavailable`,detail:`${sg(I)} only ${w===1?"works":"work"} inside a widget. ${s.label} does not render ${w===1?"it":"them"}.`,remediation:_,provenance:s.provenance})}if(E.length>0){const w=E.length;l.push({lane:"apps",severity:"degraded",code:"widget_text_fallback",tools:E,title:`${w===1?"Interactive view":`${w} interactive views`} unavailable`,detail:`${sg(E)} provide${w===1?"s":""} an interactive view. ${s.label} shows the plain-text result instead.`,remediation:_,provenance:s.provenance})}if(s.capabilities&&n.widgetUsage)for(const w of k4){const D=w.key==="sandboxPermissions"?n.widgetUsage.sandboxPermissionNames:void 0,j=w.key==="sandboxPermissions"?E4(n,s):void 0,ae=w.key==="sandboxPermissions"&&D!==void 0&&(j!==void 0||s.capabilities[w.key]===!1),Q=ae?(j?.length??0)>0:s.capabilities[w.key]!==!0,V=w.key==="sandboxPermissions"&&j!==void 0&&n.widgetUsage.sandboxPermissionTools?Array.from(new Set(j.flatMap(be=>n.widgetUsage?.sandboxPermissionTools?.[be]??[]))):n.widgetUsage[w.key];if(V&&V.length>0&&Q){const be=ae||s.capabilities[w.key]===!1?"unsupported":"not verified",$e=w.key==="sandboxPermissions"&&j?.length?{title:j.length===1?`${b2(j[0])} unavailable`:"Widget sandbox permissions unsupported",detail:j.length===1?`This widget requests ${v2(j[0])}. ${s.label} does not support it.`:`This widget requests ${w4(j)}. ${s.label} does not support them.`}:void 0;l.push({lane:"apps",severity:w.severity,code:"capability_unsupported",capability:w.key,tools:[...V],title:$e?.title??`${w.subject} ${be==="unsupported"?"unavailable":"not confirmed"}`,detail:$e?.detail??(be==="unsupported"?`This widget ${w.request}. ${s.label} does not support ${w.unsupportedObject}.`:`This widget ${w.request}. Support is not confirmed for ${s.label}.`),provenance:s.provenance})}}}const u=n.connectionFacts?.protocolVersion,p=s.supportedProtocolVersions;u&&p&&p.length>0&&!p.includes(u)&&l.push({lane:"server",severity:"info",code:"protocol_version_mismatch",title:"Protocol version differs",detail:`This server uses MCP \`${u}\`. ${s.label} supports ${p.map(M=>`\`${M}\``).join(", ")}. The connection works only if both support a shared version.`,remediation:`Check that the server supports ${p.length===1?"this version":"one of these versions"}.`,provenance:s.provenance});const f=ug(l,"apps",n.unknownDimensions.length>0,s.provenance),A=ug(l,"server",l.some(M=>M.lane==="server"),s.provenance),T=lg[f.verdict]>=lg[A.verdict]?f.verdict:A.verdict;return{hostId:s.id,hostLabel:s.label,verifiedAt:s.verifiedAt,verdict:T,provenance:s.provenance,lanes:{apps:f,server:A},findings:l}}function R4(n,s,l){const u=C4(n,l?.widgetUsage,l?.connectionFacts);return l?.toolsTruncated&&u.unknownDimensions.push("tool list incomplete — pagination truncated, later tools/widgets not evaluated"),{requirements:u,reports:s.map(p=>{const f=M4(u,p);return!l?.toolsTruncated||f.verdict!=="works"?f:{...f,verdict:"unknown",lanes:{...f.lanes,apps:{...f.lanes.apps,verdict:"unknown"}}}})}}var I4={hostsById:{mcpjam:{id:"mcpjam",label:"MCPJam",provenance:"assumed",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--color-background-primary":"oklch(0.9818 0.0054 95.0986)","--color-background-secondary":"oklch(0.9341 0.0153 90.239)","--color-background-tertiary":"oklch(0.9245 0.0138 92.9892)","--color-background-inverse":"oklch(0.2679 0.0036 106.6427)","--color-background-ghost":"oklch(0.9818 0.0054 95.0986 / 0)","--color-background-info":"oklch(0.93 0.04 259)","--color-background-danger":"oklch(0.94 0.04 25.331)","--color-background-success":"oklch(0.94 0.05 152.5)","--color-background-warning":"oklch(0.95 0.06 85.3)","--color-background-disabled":"oklch(0.9818 0.0054 95.0986 / 0.5)","--color-text-primary":"oklch(0.3438 0.0269 95.7226)","--color-text-secondary":"oklch(0.6059 0.0075 97.4233)","--color-text-tertiary":"oklch(0.4334 0.0177 98.6048)","--color-text-inverse":"oklch(1 0 0)","--color-text-ghost":"oklch(0.6059 0.0075 97.4233 / 0.5)","--color-text-info":"oklch(0.623 0.214 259)","--color-text-danger":"oklch(0.627 0.208 25.331)","--color-text-success":"oklch(0.696 0.17 152.5)","--color-text-warning":"oklch(0.769 0.188 85.3)","--color-text-disabled":"oklch(0.3438 0.0269 95.7226 / 0.5)","--color-border-primary":"oklch(0.7621 0.0156 98.3528)","--color-border-secondary":"oklch(0.8847 0.0069 97.3627)","--color-border-tertiary":"oklch(0.8847 0.0069 97.3627 / 0.6)","--color-border-inverse":"oklch(1 0 0 / 0.3)","--color-border-ghost":"oklch(0.8847 0.0069 97.3627 / 0)","--color-border-info":"oklch(0.623 0.214 259)","--color-border-danger":"oklch(0.627 0.208 25.331)","--color-border-success":"oklch(0.696 0.17 152.5)","--color-border-warning":"oklch(0.6832 0.1382 38.744)","--color-border-disabled":"oklch(0.7621 0.0156 98.3528 / 0.4)","--color-ring-primary":"oklch(0.6171 0.1375 39.0427)","--color-ring-secondary":"oklch(0.6059 0.0075 97.4233 / 0.5)","--color-ring-inverse":"oklch(1 0 0 / 0.7)","--color-ring-info":"oklch(0.623 0.214 259 / 0.5)","--color-ring-danger":"oklch(0.627 0.208 25.331 / 0.5)","--color-ring-success":"oklch(0.696 0.17 152.5 / 0.5)","--color-ring-warning":"oklch(0.769 0.188 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"},dark:{"--color-background-primary":"oklch(0.2679 0.0036 106.6427)","--color-background-secondary":"oklch(0.2213 0.0038 106.707)","--color-background-tertiary":"oklch(0.213 0.0078 95.4245)","--color-background-inverse":"oklch(0.9818 0.0054 95.0986)","--color-background-ghost":"oklch(0.2679 0.0036 106.6427 / 0)","--color-background-info":"oklch(0.28 0.06 259)","--color-background-danger":"oklch(0.32 0.08 25.331)","--color-background-success":"oklch(0.3 0.07 152)","--color-background-warning":"oklch(0.3 0.09 55)","--color-background-disabled":"oklch(0.2679 0.0036 106.6427 / 0.5)","--color-text-primary":"oklch(0.8074 0.0142 93.0137)","--color-text-secondary":"oklch(0.7713 0.0169 99.0657)","--color-text-tertiary":"oklch(0.7713 0.0169 99.0657 / 0.8)","--color-text-inverse":"oklch(0.2679 0.0036 106.6427)","--color-text-ghost":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-text-info":"oklch(0.7 0.18 259)","--color-text-danger":"oklch(0.74 0.18 25.331)","--color-text-success":"oklch(0.78 0.16 152)","--color-text-warning":"oklch(0.83 0.17 85.3)","--color-text-disabled":"oklch(0.8074 0.0142 93.0137 / 0.5)","--color-border-primary":"oklch(0.4336 0.0113 100.2195)","--color-border-secondary":"oklch(0.3618 0.0101 106.8928)","--color-border-tertiary":"oklch(0.3618 0.0101 106.8928 / 0.6)","--color-border-inverse":"oklch(0.2679 0.0036 106.6427 / 0.15)","--color-border-ghost":"oklch(0.3618 0.0101 106.8928 / 0)","--color-border-info":"oklch(0.7 0.18 259)","--color-border-danger":"oklch(0.74 0.18 25.331)","--color-border-success":"oklch(0.78 0.16 152)","--color-border-warning":"oklch(0.6724 0.1308 38.7559)","--color-border-disabled":"oklch(0.4336 0.0113 100.2195 / 0.4)","--color-ring-primary":"oklch(0.6724 0.1308 38.7559)","--color-ring-secondary":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-ring-inverse":"oklch(0.2679 0.0036 106.6427 / 0.7)","--color-ring-info":"oklch(0.7 0.18 259 / 0.5)","--color-ring-danger":"oklch(0.74 0.18 25.331 / 0.5)","--color-ring-success":"oklch(0.78 0.16 152 / 0.5)","--color-ring-warning":"oklch(0.83 0.17 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"}},verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},hostStyle:"mcpjam",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{},url:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]},"io.modelcontextprotocol/enterprise-managed-authorization":{},"io.modelcontextprotocol/skills":{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"mcpjam-inspector",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"oklch(0.2679 0.0036 106.6427)","--color-background-secondary":"oklch(0.2213 0.0038 106.707)","--color-background-tertiary":"oklch(0.213 0.0078 95.4245)","--color-background-inverse":"oklch(0.9818 0.0054 95.0986)","--color-background-ghost":"oklch(0.2679 0.0036 106.6427 / 0)","--color-background-info":"oklch(0.28 0.06 259)","--color-background-danger":"oklch(0.32 0.08 25.331)","--color-background-success":"oklch(0.3 0.07 152)","--color-background-warning":"oklch(0.3 0.09 55)","--color-background-disabled":"oklch(0.2679 0.0036 106.6427 / 0.5)","--color-text-primary":"oklch(0.8074 0.0142 93.0137)","--color-text-secondary":"oklch(0.7713 0.0169 99.0657)","--color-text-tertiary":"oklch(0.7713 0.0169 99.0657 / 0.8)","--color-text-inverse":"oklch(0.2679 0.0036 106.6427)","--color-text-ghost":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-text-info":"oklch(0.7 0.18 259)","--color-text-danger":"oklch(0.74 0.18 25.331)","--color-text-success":"oklch(0.78 0.16 152)","--color-text-warning":"oklch(0.83 0.17 85.3)","--color-text-disabled":"oklch(0.8074 0.0142 93.0137 / 0.5)","--color-border-primary":"oklch(0.4336 0.0113 100.2195)","--color-border-secondary":"oklch(0.3618 0.0101 106.8928)","--color-border-tertiary":"oklch(0.3618 0.0101 106.8928 / 0.6)","--color-border-inverse":"oklch(0.2679 0.0036 106.6427 / 0.15)","--color-border-ghost":"oklch(0.3618 0.0101 106.8928 / 0)","--color-border-info":"oklch(0.7 0.18 259)","--color-border-danger":"oklch(0.74 0.18 25.331)","--color-border-success":"oklch(0.78 0.16 152)","--color-border-warning":"oklch(0.6724 0.1308 38.7559)","--color-border-disabled":"oklch(0.4336 0.0113 100.2195 / 0.4)","--color-ring-primary":"oklch(0.6724 0.1308 38.7559)","--color-ring-secondary":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-ring-inverse":"oklch(0.2679 0.0036 106.6427 / 0.7)","--color-ring-info":"oklch(0.7 0.18 259 / 0.5)","--color-ring-danger":"oklch(0.74 0.18 25.331 / 0.5)","--color-ring-success":"oklch(0.78 0.16 152 / 0.5)","--color-ring-warning":"oklch(0.83 0.17 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"}}},mcpProfile:{profileVersion:1,extensions:{"com.mcpjam/events":{poll:!0,push:!0,webhook:!0}},initialize:{clientInfo:{name:"mcpjam-inspector",version:"0.0.0"}},apps:{uiInitialize:{hostInfo:{name:"MCPJam",version:"0.0.0"}},compatRuntime:{openaiApps:!0},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{camera:!0,microphone:!0,geolocation:!0,clipboardWrite:!0}}}}}},claude:{id:"claude",label:"Claude",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},hostStyle:"claude",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'"anthropic-sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
|
|
1426
1426
|
@font-face {
|
|
1427
1427
|
font-family: "anthropic-sans";
|
|
1428
1428
|
src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
|
|
@@ -1526,7 +1526,7 @@ M38.268 335.9l-4.456-2.448-3.204-2.117-.508-.235h-2.45l-1.6.95-1.55 2.5v1.9l1.6
|
|
|
1526
1526
|
font-style: italic;
|
|
1527
1527
|
font-display: swap;
|
|
1528
1528
|
font-feature-settings: "dlig" 0;
|
|
1529
|
-
}`}}},mcpProfile:{profileVersion:1,mcpProtocolVersion:"auto",paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},"claude-desktop":{id:"claude-desktop",label:"Claude Desktop",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},hostStyle:"claude-desktop",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/5.1231.2 Chrome/156.0.8078.75 Electron/45.2.1 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
|
|
1529
|
+
}`}}},mcpProfile:{profileVersion:1,mcpProtocolVersion:"auto",paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},"claude-desktop":{id:"claude-desktop",label:"Claude Desktop",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}},structuredContent:"fallback"},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},hostStyle:"claude-desktop",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/5.1231.2 Chrome/156.0.8078.75 Electron/45.2.1 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
|
|
1530
1530
|
@font-face {
|
|
1531
1531
|
font-family: "anthropic-sans";
|
|
1532
1532
|
src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
|
|
@@ -1630,7 +1630,7 @@ M38.268 335.9l-4.456-2.448-3.204-2.117-.508-.235h-2.45l-1.6.95-1.55 2.5v1.9l1.6
|
|
|
1630
1630
|
font-style: italic;
|
|
1631
1631
|
font-display: swap;
|
|
1632
1632
|
font-feature-settings: "dlig" 0;
|
|
1633
|
-
}`}}},mcpProfile:{profileVersion:1,mcpProtocolVersion:"auto",paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},"claude-code":{id:"claude-code",label:"Claude Code",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"claude-code",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"claude-code",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{roots:{listChanged:!0},elicitation:{form:{}}},hostContext:{},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},unauthorizedChallenge:"notify",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-code",title:"Claude Code",version:"2.1.290",description:"Anthropic's agentic coding tool",websiteUrl:"https://claude.com/claude-code"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},"claude-code-desktop":{id:"claude-code-desktop",label:"Claude Code Desktop",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"claude-code-desktop",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{},url:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/3.6556.2 Chrome/152.0.7977.167 Electron/44.9.3 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
|
|
1633
|
+
}`}}},mcpProfile:{profileVersion:1,mcpProtocolVersion:"auto",paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},"claude-code":{id:"claude-code",label:"Claude Code",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}},structuredContent:"preferred"},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"claude-code",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"claude-code",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{roots:{listChanged:!0},elicitation:{form:{}}},hostContext:{},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},unauthorizedChallenge:"notify",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-code",title:"Claude Code",version:"2.1.290",description:"Anthropic's agentic coding tool",websiteUrl:"https://claude.com/claude-code"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},"claude-code-desktop":{id:"claude-code-desktop",label:"Claude Code Desktop",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"claude-code-desktop",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{},url:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/3.6556.2 Chrome/152.0.7977.167 Electron/44.9.3 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
|
|
1634
1634
|
@font-face {
|
|
1635
1635
|
font-family: "anthropic-sans";
|
|
1636
1636
|
src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
|
|
@@ -1867,6 +1867,6 @@ M38.268 335.9l-4.456-2.448-3.204-2.117-.508-.235h-2.45l-1.6.95-1.55 2.5v1.9l1.6
|
|
|
1867
1867
|
font-weight: 700;
|
|
1868
1868
|
font-style: normal;
|
|
1869
1869
|
}
|
|
1870
|
-
`}}},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-03-26"],clientInfo:{name:"goose-desktop",version:"1.38.0"}},apps:{uiInitialize:{hostInfo:{name:"MCP-UI Host",version:"1.0.0"}},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!1,xhr:!1,websocket:!1},cspResourceDomains:{script:!1,stylesheet:!1,image:!1,font:!1,media:!1},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared",cspDirectives:{"font-src":["https://cash-f.squarecdn.com"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"]}}}},slack:{id:"slack",label:"Slackbot",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--color-background-primary":"#fff","--color-background-secondary":"#f8f8f8","--color-background-tertiary":"#eaeaea","--color-background-inverse":"#1d1c1d","--color-background-info":"#e3f8ff","--color-background-danger":"#ffe8ef","--color-background-success":"#e3fff3","--color-background-warning":"#fffae0","--color-background-disabled":"#1d1c1d0f","--color-text-primary":"#1d1c1d","--color-text-secondary":"#454447","--color-text-tertiary":"#5e5d60","--color-text-inverse":"#fff","--color-text-info":"#1264a3","--color-text-danger":"#c01343","--color-text-success":"#007a5a","--color-text-warning":"#6b5000","--color-text-disabled":"#5e5d60","--color-border-primary":"#7c7a7f","--color-border-secondary":"#5e5d6073","--color-border-tertiary":"#5e5d6021","--color-border-inverse":"#f8f8f8d9","--color-border-info":"#1264a3","--color-border-danger":"#e01e5a","--color-border-success":"#007a5a","--color-border-warning":"#c79600","--color-border-disabled":"#5e5d6021","--color-ring-primary":"#7c7a7f","--color-ring-secondary":"#5e5d6073","--color-ring-inverse":"#f8f8f8d9","--color-ring-info":"#1264a3","--color-ring-danger":"#e01e5a","--color-ring-success":"#007a5a","--color-ring-warning":"#c79600","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"},dark:{"--color-background-primary":"#1a1d21","--color-background-secondary":"#1a1d21","--color-background-tertiary":"#212428","--color-background-inverse":"#212428","--color-background-info":"#001a2d","--color-background-danger":"#300005","--color-background-success":"#05241b","--color-background-warning":"#2f1e00","--color-background-disabled":"#f8f8f80f","--color-text-primary":"#f8f8f8","--color-text-secondary":"#b9babd","--color-text-tertiary":"#9a9b9e","--color-text-inverse":"#f8f8f8","--color-text-info":"#2ba5ce","--color-text-danger":"#de678a","--color-text-success":"#3daa7c","--color-text-warning":"#dea700","--color-text-disabled":"#9a9b9e","--color-border-primary":"#797c81","--color-border-secondary":"#797c8180","--color-border-tertiary":"#797c814d","--color-border-inverse":"#797c81","--color-border-info":"#2ba5ce","--color-border-danger":"#d94c75","--color-border-success":"#259b69","--color-border-warning":"#d29c00","--color-border-disabled":"#797c814d","--color-ring-primary":"#797c81","--color-ring-secondary":"#797c8180","--color-ring-inverse":"#797c81","--color-ring-info":"#2ba5ce","--color-ring-danger":"#d94c75","--color-ring-success":"#259b69","--color-ring-warning":"#d29c00","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"slack",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.slack/block-kit":{mimeTypes:["application/vnd.slack.blocks+json"]},"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxWidth:598},locale:"en-US",timeZone:"America/Los_Angeles",platform:"web",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:{"--color-background-primary":"#1a1d21","--color-background-secondary":"#1a1d21","--color-background-tertiary":"#212428","--color-background-inverse":"#212428","--color-background-info":"#001a2d","--color-background-danger":"#300005","--color-background-success":"#05241b","--color-background-warning":"#2f1e00","--color-background-disabled":"#f8f8f80f","--color-text-primary":"#f8f8f8","--color-text-secondary":"#b9babd","--color-text-tertiary":"#9a9b9e","--color-text-inverse":"#f8f8f8","--color-text-info":"#2ba5ce","--color-text-danger":"#de678a","--color-text-success":"#3daa7c","--color-text-warning":"#dea700","--color-text-disabled":"#9a9b9e","--color-border-primary":"#797c81","--color-border-secondary":"#797c8180","--color-border-tertiary":"#797c814d","--color-border-inverse":"#797c81","--color-border-info":"#2ba5ce","--color-border-danger":"#d94c75","--color-border-success":"#259b69","--color-border-warning":"#d29c00","--color-border-disabled":"#797c814d","--color-ring-primary":"#797c81","--color-ring-secondary":"#797c8180","--color-ring-inverse":"#797c81","--color-ring-info":"#2ba5ce","--color-ring-danger":"#d94c75","--color-ring-success":"#259b69","--color-ring-warning":"#d29c00","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"},css:{fonts:'body { font-family: "Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif; }'}}},mcpProfile:{profileVersion:1,paginationTraversal:"firstPageOnly",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Slackbot MCP Client",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Slackbot",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!0,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!1},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}}},cursor:{id:"cursor",label:"Cursor",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cursor",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}},elicitation:{form:{}},roots:{listChanged:!1}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:649,maxHeight:800},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"cursor",platform:"desktop"},mcpProfile:{profileVersion:1,paginationTraversal:"firstPageOnly",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"cursor-vscode",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Cursor",version:"3.29.9"}},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},"copilot-cli":{id:"copilot-cli",label:"GitHub Copilot CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25","2026-07-28"],verifiedAt:1794528e6,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"copilot-cli",modelId:"openai/gpt-5.5",systemPrompt:"",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"copilot-cli",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{sampling:{}},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1,initialize:{clientInfo:{name:"copilot-cli",version:"1.0.92"}},paginationTraversal:"full",toolListChanged:{listens:!0},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},"cursor-cli":{id:"cursor-cli",label:"Cursor CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25","2026-07-28"],verifiedAt:1794096e6,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cursor-cli",modelId:"cursor/auto",systemPrompt:"",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"cursor",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{elicitation:{form:{}}},hostContext:{},mcpProfile:{profileVersion:1,versionNegotiation:"legacy-first",initialize:{clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},codex:{id:"codex",label:"Codex",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,styleVariablesByTheme:{light:{"--color-background-primary":"rgb(255, 255, 255)","--color-background-secondary":"rgba(255, 255, 255, 0.96)","--color-background-tertiary":"rgb(245, 245, 245)","--color-background-inverse":"rgb(13, 13, 13)","--color-background-ghost":"transparent","--color-background-info":"rgb(222, 236, 248)","--color-background-danger":"rgb(255, 240, 240)","--color-background-success":"color-mix(in srgb, rgb(0, 162, 64) 12%, rgb(255, 255, 255))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 12%, rgb(255, 255, 255))","--color-background-disabled":"rgba(13, 13, 13, 0.047)","--color-text-primary":"rgb(13, 13, 13)","--color-text-secondary":"rgba(13, 13, 13, 0.494)","--color-text-tertiary":"rgba(13, 13, 13, 0.494)","--color-text-inverse":"rgb(255, 255, 255)","--color-text-ghost":"rgba(13, 13, 13, 0.494)","--color-text-info":"rgb(1, 105, 204)","--color-text-danger":"rgb(224, 46, 42)","--color-text-success":"rgb(0, 162, 64)","--color-text-warning":"rgb(226, 85, 7)","--color-text-disabled":"rgba(13, 13, 13, 0.494)","--color-border-primary":"rgba(13, 13, 13, 0.118)","--color-border-secondary":"rgba(13, 13, 13, 0.08)","--color-border-tertiary":"rgba(13, 13, 13, 0.08)","--color-border-inverse":"rgb(13, 13, 13)","--color-border-ghost":"transparent","--color-border-info":"rgb(1, 105, 204)","--color-border-danger":"rgb(224, 46, 42)","--color-border-success":"rgb(0, 162, 64)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(13, 13, 13, 0.118)","--color-ring-primary":"rgb(1, 105, 204)","--color-ring-secondary":"rgb(1, 105, 204)","--color-ring-inverse":"rgb(1, 105, 204)","--color-ring-info":"rgb(1, 105, 204)","--color-ring-danger":"rgb(224, 46, 42)","--color-ring-success":"rgb(0, 162, 64)","--color-ring-warning":"rgb(226, 85, 7)","--font-sans":'Inter, -apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"},dark:{"--color-background-primary":"rgb(24, 24, 24)","--color-background-secondary":"rgba(54, 54, 54, 0.96)","--color-background-tertiary":"rgb(20, 20, 20)","--color-background-inverse":"rgb(255, 255, 255)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"rgb(40, 11, 10)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(40, 40, 40))","--color-background-warning":"color-mix(in srgb, rgb(255, 133, 73) 12%, rgb(40, 40, 40))","--color-background-disabled":"rgba(255, 255, 255, 0.05)","--color-text-primary":"rgb(255, 255, 255)","--color-text-secondary":"color(srgb 1 1 1 / 0.65)","--color-text-tertiary":"rgba(255, 255, 255, 0.498)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgba(255, 255, 255, 0.498)","--color-text-info":"rgb(44, 103, 197)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(255, 133, 73)","--color-text-disabled":"rgba(255, 255, 255, 0.498)","--color-border-primary":"rgba(255, 255, 255, 0.157)","--color-border-secondary":"rgba(255, 255, 255, 0.082)","--color-border-tertiary":"rgba(255, 255, 255, 0.082)","--color-border-inverse":"rgb(255, 255, 255)","--color-border-ghost":"transparent","--color-border-info":"rgb(58, 131, 247)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(255, 133, 73)","--color-border-disabled":"rgba(255, 255, 255, 0.157)","--color-ring-primary":"rgb(58, 131, 247)","--color-ring-secondary":"rgb(58, 131, 247)","--color-ring-inverse":"rgb(58, 131, 247)","--color-ring-info":"rgb(58, 131, 247)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(255, 133, 73)","--font-sans":'-apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", menlo, consolas, "Liberation Mono", monospace',"--font-weight-normal":"430","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"}},modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"collapsed",directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"codex",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"codex",connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app","text/html+skybridge"]},"openai/elicitation":{form:{}},"openai/form":{}},elicitation:{form:{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"rgb(24, 24, 24)","--color-background-secondary":"rgba(54, 54, 54, 0.96)","--color-background-tertiary":"rgb(20, 20, 20)","--color-background-inverse":"rgb(255, 255, 255)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"rgb(40, 11, 10)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(40, 40, 40))","--color-background-warning":"color-mix(in srgb, rgb(255, 133, 73) 12%, rgb(40, 40, 40))","--color-background-disabled":"rgba(255, 255, 255, 0.05)","--color-text-primary":"rgb(255, 255, 255)","--color-text-secondary":"color(srgb 1 1 1 / 0.65)","--color-text-tertiary":"rgba(255, 255, 255, 0.498)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgba(255, 255, 255, 0.498)","--color-text-info":"rgb(44, 103, 197)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(255, 133, 73)","--color-text-disabled":"rgba(255, 255, 255, 0.498)","--color-border-primary":"rgba(255, 255, 255, 0.157)","--color-border-secondary":"rgba(255, 255, 255, 0.082)","--color-border-tertiary":"rgba(255, 255, 255, 0.082)","--color-border-inverse":"rgb(255, 255, 255)","--color-border-ghost":"transparent","--color-border-info":"rgb(58, 131, 247)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(255, 133, 73)","--color-border-disabled":"rgba(255, 255, 255, 0.157)","--color-ring-primary":"rgb(58, 131, 247)","--color-ring-secondary":"rgb(58, 131, 247)","--color-ring-inverse":"rgb(58, 131, 247)","--color-ring-info":"rgb(58, 131, 247)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(255, 133, 73)","--font-sans":'-apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", menlo, consolas, "Liberation Mono", monospace',"--font-weight-normal":"430","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"}}},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1103.60933"}},pluginExtensions:{enabled:!0},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"],"base-uri":["'none'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,toolInfo:!1,downloadFile:!1,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,toolCancelled:!1,resourceTeardown:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}}}}},"codex-cli":{id:"codex-cli",label:"Codex CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:1794528e6,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"codex-cli",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"codex",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{elicitation:{form:{},url:{}}},hostContext:{},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0},mcpProtocolVersion:"2025-06-18",initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"codex-mcp-client",title:"Codex",version:"0.163.0"}},apps:{pluginExtensions:{enabled:!1},mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},opencode:{id:"opencode",label:"OpenCode",provenance:"assumed",rendersMcpApps:!1,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"opencode",modelId:"anthropic/claude-haiku-4.5",systemPrompt:"",temperature:1,requireToolApproval:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"opencode",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1}},copilot:{id:"copilot",label:"Copilot",provenance:"vendor-doc",rendersMcpApps:!0,supportedProtocolVersions:["2024-11-05","2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,compatibilityEvidence:{profileLabel:"Copilot",sourceUrl:"https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/plugin-mcp-apps",sourceUpdatedAt:178416e7,componentBridge:{"window.openai.toolInput":{status:"supported",mcpAppsEquivalent:"app.ontoolinput"},"window.openai.toolOutput":{status:"supported",mcpAppsEquivalent:"app.ontoolresult"},"window.openai.toolResponseMetadata":{status:"supported",mcpAppsEquivalent:"app.ontoolresult params._meta"},"window.openai.widgetState":{status:"supported"},"window.openai.setWidgetState":{status:"supported",note:"No direct MCP Apps equivalent; Microsoft recommends alternatives including app.updateModelContext()."},"window.openai.callTool":{status:"supported",mcpAppsEquivalent:"app.callServerTool"},"window.openai.sendFollowUpMessage":{status:"supported",mcpAppsEquivalent:"app.sendMessage"},"window.openai.uploadFile":{status:"unsupported"},"window.openai.getFileDownloadUrl":{status:"unsupported"},"window.openai.requestDisplayMode":{status:"limited",mcpAppsEquivalent:"app.requestDisplayMode",note:"Fullscreen requests only."},"window.openai.requestModal":{status:"unsupported"},"window.openai.notifyIntrinsicHeight":{status:"supported",mcpAppsEquivalent:"app.sendSizeChanged"},"window.openai.openExternal":{status:"supported",mcpAppsEquivalent:"app.openLink"},"window.openai.setOpenInAppUrl":{status:"supported"},"window.openai.theme":{status:"supported",mcpAppsEquivalent:"app.getHostContext().theme"},"window.openai.displayMode":{status:"supported",mcpAppsEquivalent:"app.getHostContext().displayMode"},"window.openai.maxHeight":{status:"supported",mcpAppsEquivalent:"app.getHostContext().viewport.maxHeight"},"window.openai.safeArea":{status:"supported",mcpAppsEquivalent:"app.getHostContext().safeAreaInsets"},"window.openai.view":{status:"supported"},"window.openai.userAgent":{status:"supported",mcpAppsEquivalent:"app.getHostContext().userAgent"},"window.openai.locale":{status:"supported",mcpAppsEquivalent:"app.getHostContext().locale"},"app.ontoolinputpartial":{status:"unsupported"},"app.ontoolcancelled":{status:"unsupported"},"app.getHostContext().availableDisplayModes":{status:"unsupported"},"app.getHostContext().toolInfo":{status:"unsupported"},"app.onhostcontextchanged":{status:"unsupported"},"app.onteardown":{status:"unsupported"},"app.sendLog":{status:"unsupported"},"app.getHostVersion":{status:"unsupported"},"app.getHostCapabilities":{status:"supported"}},toolDescriptorMeta:{"openai/outputTemplate":{status:"supported",mcpAppsEquivalent:"_meta.ui.resourceUri"},"openai/widgetAccessible":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.visibility"},"openai/visibility":{status:"supported",mcpAppsEquivalent:"_meta.ui.visibility"},"openai/toolInvocation/invoking":{status:"unsupported"},"openai/toolInvocation/invoked":{status:"unsupported"},"openai/fileParams":{status:"unsupported"},securitySchemes:{status:"unsupported"}},toolAnnotations:{readOnlyHint:{status:"supported",mcpAppsEquivalent:"readOnlyHint"},destructiveHint:{status:"unsupported",mcpAppsEquivalent:"destructiveHint"},openWorldHint:{status:"unsupported",mcpAppsEquivalent:"openWorldHint"},idempotentHint:{status:"unsupported",mcpAppsEquivalent:"idempotentHint"}},componentResourceMeta:{"openai/widgetDescription":{status:"unsupported"},"openai/widgetPrefersBorder":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.prefersBorder"},"openai/widgetCSP":{status:"supported",mcpAppsEquivalent:"_meta.ui.csp"},"openai/widgetDomain":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.domain"},"_meta.ui.permissions":{status:"unsupported"}},cspProperties:{connect_domains:{status:"supported",mcpAppsEquivalent:"connectDomains"},resource_domains:{status:"supported",mcpAppsEquivalent:"resourceDomains"},frame_domains:{status:"unsupported",mcpAppsEquivalent:"frameDomains"},redirect_domains:{status:"unsupported"},baseUriDomains:{status:"unsupported",mcpAppsEquivalent:"baseUriDomains"}},hostProvidedToolResultMeta:{"openai/widgetSessionId":{status:"unsupported"}},clientProvidedMeta:{"openai/locale":{status:"supported",mcpAppsEquivalent:'_meta["openai/locale"]'},"openai/userAgent":{status:"supported",mcpAppsEquivalent:'_meta["openai/userAgent"]'},"openai/userLocation":{status:"supported",mcpAppsEquivalent:'_meta["openai/userLocation"]'},"openai/subject":{status:"unsupported"}},deployment:{supportedUiStandards:["MCP Apps","OpenAI Apps SDK"],productionAuthentication:["OAuth 2.1","Microsoft Entra SSO"],developmentAuthentication:["None (anonymous)"],widgetHostPattern:"{sha256-mcp-domain}.widget-renderer.usercontent.microsoft.com",oauthRedirectUris:[{surface:"Microsoft 365 Copilot",uri:"https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect"},{surface:"Visual Studio Code Agents Toolkit",uri:"https://vscode.dev/redirect"}],entraSsoRedirectUris:[{surface:"Microsoft 365 Copilot",uri:"https://teams.microsoft.com/api/platform/v1.0/oAuthConsentRedirect"}],minimumAgentsToolkitVersion:"6.12.0",defaultToolDiscovery:"dynamic",notes:["A remote MCP server is required.","Visual Studio Code does not currently support SSO while fetching tools.","Production deployments should configure authentication; anonymous access is for development."]}},modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"copilot",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}},experimental:{"microsoft/copilot":{enabled:!0}}},hostCapabilitiesOverride:{openLinks:{},serverTools:{},serverResources:{},logging:{},downloadFile:{},message:{text:{}},updateModelContext:{text:{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxHeight:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"ms-copilot",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2024-11-05","2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Sydney",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"M365Copilot",version:"1.0.0"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"fullscreen-only",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!1,uploadFile:!1,getFileDownloadUrl:!1}},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!0,resourceTeardown:!1,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},resourcePrefersBorder:!1,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},vscode:{id:"vscode",label:"VS Code",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#fdeded","--color-background-disabled":"rgba(0, 105, 204, 0.1)","--color-background-ghost":"transparent","--color-background-info":"#e6f2fa","--color-background-inverse":"#202020","--color-background-primary":"#ffffff","--color-background-secondary":"#fafafd","--color-background-success":"rgba(88, 124, 12, 0.15)","--color-background-tertiary":"#fafafd","--color-background-warning":"#fdf6e3","--color-border-danger":"#ad0707","--color-border-disabled":"#bbbbbb","--color-border-ghost":"transparent","--color-border-info":"#0069cc","--color-border-inverse":"#202020","--color-border-primary":"#e2e2e5","--color-border-secondary":"#e4e5e6","--color-border-success":"#73c991","--color-border-tertiary":"#f0f1f2","--color-border-warning":"#b69500","--color-ring-danger":"#ad0707","--color-ring-info":"#0069cc","--color-ring-inverse":"#0069cc","--color-ring-primary":"#0069cc","--color-ring-secondary":"#0069cc","--color-ring-success":"#73c991","--color-ring-warning":"#b69500","--color-text-danger":"#ad0707","--color-text-disabled":"#bbbbbb","--color-text-ghost":"#606060","--color-text-info":"#0069cc","--color-text-inverse":"#ffffff","--color-text-primary":"#202020","--color-text-secondary":"#606060","--color-text-success":"#73c991","--color-text-tertiary":"#bbbbbb","--color-text-warning":"#bf8803","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0)"},dark:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#5a1d1d","--color-background-disabled":"#3a3d41","--color-background-ghost":"transparent","--color-background-info":"#063b49","--color-background-inverse":"#d4d4d4","--color-background-primary":"#1e1e1e","--color-background-secondary":"#252526","--color-background-success":"rgba(156, 204, 44, 0.2)","--color-background-tertiary":"#333333","--color-background-warning":"#352a05","--color-border-danger":"#be1100","--color-border-disabled":"rgba(204, 204, 204, 0.5)","--color-border-ghost":"transparent","--color-border-info":"#007acc","--color-border-inverse":"#cccccc","--color-border-primary":"#303031","--color-border-secondary":"rgba(204, 204, 204, 0.2)","--color-border-success":"#73c991","--color-border-tertiary":"rgba(128, 128, 128, 0.35)","--color-border-warning":"#b89500","--color-ring-danger":"#be1100","--color-ring-info":"#007acc","--color-ring-inverse":"#007fd4","--color-ring-primary":"#007fd4","--color-ring-secondary":"#007fd4","--color-ring-success":"#73c991","--color-ring-warning":"#b89500","--color-text-danger":"#f48771","--color-text-disabled":"rgba(204, 204, 204, 0.5)","--color-text-ghost":"rgba(204, 204, 204, 0.7)","--color-text-info":"#3794ff","--color-text-inverse":"#1e1e1e","--color-text-primary":"#cccccc","--color-text-secondary":"rgba(204, 204, 204, 0.7)","--color-text-success":"#73c991","--color-text-tertiary":"rgba(204, 204, 204, 0.5)","--color-text-warning":"#cca700","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.36)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.36)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.36)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.36)"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17944416e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},hostStyle:"vscode",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{roots:{listChanged:!0},sampling:{},elicitation:{form:{},url:{}},tasks:{list:{},cancel:{},requests:{sampling:{createMessage:{}},elicitation:{create:{}}}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]},"io.modelcontextprotocol/skills":{}}},hostCapabilitiesOverride:{openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}},downloadFile:{}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:494,maxHeight:720},locale:"en-us",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#5a1d1d","--color-background-disabled":"#3a3d41","--color-background-ghost":"transparent","--color-background-info":"#063b49","--color-background-inverse":"#d4d4d4","--color-background-primary":"#1e1e1e","--color-background-secondary":"#252526","--color-background-success":"rgba(156, 204, 44, 0.2)","--color-background-tertiary":"#333333","--color-background-warning":"#352a05","--color-border-danger":"#be1100","--color-border-disabled":"rgba(204, 204, 204, 0.5)","--color-border-ghost":"transparent","--color-border-info":"#007acc","--color-border-inverse":"#cccccc","--color-border-primary":"#303031","--color-border-secondary":"rgba(204, 204, 204, 0.2)","--color-border-success":"#73c991","--color-border-tertiary":"rgba(128, 128, 128, 0.35)","--color-border-warning":"#b89500","--color-ring-danger":"#be1100","--color-ring-info":"#007acc","--color-ring-inverse":"#007fd4","--color-ring-primary":"#007fd4","--color-ring-secondary":"#007fd4","--color-ring-success":"#73c991","--color-ring-warning":"#b89500","--color-text-danger":"#f48771","--color-text-disabled":"rgba(204, 204, 204, 0.5)","--color-text-ghost":"rgba(204, 204, 204, 0.7)","--color-text-info":"#3794ff","--color-text-inverse":"#1e1e1e","--color-text-primary":"#cccccc","--color-text-secondary":"rgba(204, 204, 204, 0.7)","--color-text-success":"#73c991","--color-text-tertiary":"rgba(204, 204, 204, 0.5)","--color-text-warning":"#cca700","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.36)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.36)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.36)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.36)"}}},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Visual Studio Code",version:"1.136.1"}},apps:{uiInitialize:{hostInfo:{name:"Visual Studio Code",version:"1.143.1"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-pointer-lock","allow-downloads","allow-forms"],allowFeatures:{"cross-origin-isolated":"'src'",autoplay:"'src'","local-network-access":"'src'","clipboard-read":"'src'"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,widgetDisplayModeRequests:"accept"}}}},agentcore:{id:"agentcore",label:"AgentCore",provenance:"vendor-doc",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"agentcore",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{}},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"bedrock-agentcore",title:"AgentCore",version:"1.0.0",description:"AWS Bedrock AgentCore agent runtime",websiteUrl:"https://aws.amazon.com/bedrock/agentcore/"}}}},n8n:{id:"n8n",label:"n8n",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"n8n",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"@n8n/n8n-nodes-langchain.mcpClientTool",version:"1.4"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},gemini:{id:"gemini",label:"Gemini",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"gemini",modelId:"google/gemini-3.8-flash",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{maxHeight:600}},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"google-adk",version:"2.14.0"}},apps:{uiInitialize:{hostInfo:{name:"UCS Widget",version:"1.0"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups"],sameOriginAppIframe:!0},mcpAppsOverrides:{openLinks:!0,logging:!0,message:!0,serverResources:!0,serverTools:!1,updateModelContext:!1,downloadFile:!1,sandboxPermissions:!1,toolInfo:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},cspFrameDomains:!0,cspBaseUriDomains:!1,toolResult:{structuredContent:!0},resourcePrefersBorder:!0,availableDisplayModes:["inline","fullscreen","pip"],safeAreaInsets:!1}}}},perplexity:{id:"perplexity",label:"Perplexity",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"perplexity",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"mcp",version:"0.1.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},cline:{id:"cline",label:"Cline",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cline",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cline",version:"4.0.10"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},notion:{id:"notion",label:"Notion",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"collapsed",directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"notion",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"notion",version:"1.0.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},muse:{id:"muse",label:"Muse",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17942688e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"muse",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"muse-custom-connector",version:"1"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},grokbot:{id:"grokbot",label:"Grokbot",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"grokbot",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{},mcpProfile:{profileVersion:1,toolListChanged:{listens:!0},initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{}}}}}};function I4(n){const s=n.modelVisibleMcpToolResults,l=n.mcpToolResultImageRendering;if(!(!s&&!l))return{toolImageContent:{model:s?.directContent?.image===!0,ui:l?.directContent?.image===!0},embeddedResourceImages:{model:s?.embeddedResources?.blob?.image===!0,ui:l?.embeddedResources?.blob?.image===!0},resourceLinkImages:{model:s?.linkedResources?.blob?.image===!0,ui:l?.linkedResources?.blob?.image===!0},placement:l?.placement??"none"}}function D4(n,s){const l=ab(s.mcpProfile);if((l?.toolResultAuthChallenge??Q5.toolResultAuthChallenge)!=="passthrough")return[];const u=n.filter(p=>J5(G5({declaration:{securitySchemes:p.securitySchemes,_meta:p._meta}}))).map(p=>p.name).sort();return u.length===0?[]:[{lane:"server",severity:"info",code:"tool_result_auth_challenge_ignored",title:"Sign-in challenges in tool results are shown as errors",detail:`${s.hostLabel} shows a tool result carrying _meta["mcp/www_authenticate"] as an ordinary error and does not start sign-in from it. These tools declare an oauth2 security scheme, the pattern that asks for sign-in that way: ${u.join(", ")}.`,remediation:'To ask for sign-in in the way the MCP spec defines, refuse the unauthenticated call with HTTP 401 and a `WWW-Authenticate: Bearer resource_metadata="…"` header; hosts that read the _meta challenge can be served it alongside.',tools:u,provenance:l?.toolResultAuthChallenge!==void 0?s.provenance:"assumed"}]}function O4(n,s,l){return n.map(u=>{const p=Object.hasOwn(l.hostsById,u.hostId)?l.hostsById[u.hostId]:void 0,f=D4(s,{hostLabel:u.hostLabel,provenance:u.provenance,mcpProfile:p?.mcpProfile});return f.length===0?u:{...u,findings:[...u.findings,...f],...u.lanes?{lanes:{...u.lanes,server:{...u.lanes.server,provenance:v2(f,u.lanes.server.provenance)}}}:{}}})}function y2(n){return JSON.parse(JSON.stringify(n))}function x2(n){if(n!==null&&typeof n=="object"){Object.isFrozen(n)||Object.freeze(n);for(const s of Object.keys(n))x2(n[s])}return n}var ug=null;function S2(){return ug??=x2(A2(y2(R4))),ug}function A2(n){return{hostsById:Object.fromEntries(Object.entries(n.hostsById).map(([s,l])=>[s,ud(l)]))}}function ud(n){const s=I4(n)??n.imageSupport;return{...n,...s?{imageSupport:s}:void 0}}function z4(n,s){return T2(n,s)?.mcpProfile?.apps?.mcpAppsOverrides}function T2(n,s){const l=Object.hasOwn(n.hostsById,s)?n.hostsById[s]:void 0;return l?ud(l):void 0}function B6(n,s){const l=T2(n,s);if(l)return y2(U4(l))}function H6(n){return Object.values(n.hostsById).map(ud)}function U4(n){const{id:s,label:l,provenance:u,rendersMcpApps:p,supportedProtocolVersions:f,verifiedAt:A,imageSupport:T,compatibilityEvidence:M,styleVariablesByTheme:w,...I}=n;return I}function N4(n){return n?.mcpProfile?.apps?.compatRuntime?.openaiApps===!0}function L4(n){const s=n?.mcpProfile?.apps?.sandbox?.permissions?.allow;if(!s||typeof s!="object"||Array.isArray(s))return;const l=Object.entries(s).filter(([,u])=>typeof u=="boolean");return Object.fromEntries(l)}function C2(n){return{...n,verifiedAt:n.verifiedAt,supportedProtocolVersions:n.supportedProtocolVersions?[...n.supportedProtocolVersions]:void 0,capabilities:n.capabilities?{...n.capabilities,availableDisplayModes:n.capabilities.availableDisplayModes?[...n.capabilities.availableDisplayModes]:void 0,cspConnectDomains:n.capabilities.cspConnectDomains?{...n.capabilities.cspConnectDomains}:void 0,cspResourceDomains:n.capabilities.cspResourceDomains?{...n.capabilities.cspResourceDomains}:void 0}:void 0,sandboxPermissionAllow:n.sandboxPermissionAllow?{...n.sandboxPermissionAllow}:void 0,imageSupport:n.imageSupport?{toolImageContent:{...n.imageSupport.toolImageContent},embeddedResourceImages:{...n.imageSupport.embeddedResourceImages},resourceLinkImages:{...n.imageSupport.resourceLinkImages},placement:n.imageSupport.placement}:void 0}}function w2(n){return Object.entries(n.hostsById).map(([s,l])=>{const u=N4(l),p=l.rendersMcpApps||u,f=z4(n,s),A=p?f??Zr:void 0;return{id:l.id,label:l.label,provenance:l.provenance,verifiedAt:l.verifiedAt,rendersMcpApps:l.rendersMcpApps,rendersOpenAiApps:u,supportedProtocolVersions:l.supportedProtocolVersions,capabilities:A,sandboxPermissionAllow:L4(l),imageSupport:l.imageSupport}}).map(C2)}var dg=null;function P4(){return dg??=w2(S2()),dg.map(C2)}function q6(n,s){const{catalog:l,...u}=s??{},p=l?w2(l):P4(),f=M4(n,p,u),A=(n?.tools??[]).map(T=>{const M=n?.toolsMetadata?.[T.name];return M?{...T,_meta:M}:T});return{...f,reports:O4(f.reports,A,l??S2())}}var pg=["inline","fullscreen","pip"],j4=F5(n=>Array.isArray(n)?n.filter(s=>pg.includes(s)):n,Ft(Vn(pg)).optional()),V4=ke({availableDisplayModes:j4,toolInputPartial:W().optional(),toolCancelled:W().optional(),hostContextChanged:W().optional(),resourceTeardown:W().optional(),toolInfo:W().optional(),openLinks:W().optional(),serverTools:W().optional(),serverResources:W().optional(),logging:W().optional(),updateModelContext:W().optional(),message:W().optional(),sandboxPermissions:W().optional(),cspFrameDomains:W().optional(),cspBaseUriDomains:W().optional(),cspConnectDomains:ke({fetch:W().optional(),xhr:W().optional(),websocket:W().optional()}).optional(),cspResourceDomains:ke({script:W().optional(),stylesheet:W().optional(),image:W().optional(),font:W().optional(),media:W().optional()}).optional(),resourceCacheTtl:W().optional(),toolResult:ke({structuredContent:W().optional(),content:ke({text:W().optional(),image:W().optional(),audio:W().optional(),resource:W().optional(),resourceLink:W().optional()}).optional()}).optional(),resourcePrefersBorder:W().optional(),downloadFile:W().optional(),requestTeardown:W().optional(),safeAreaInsets:W().optional(),widgetDisplayModeRequests:Vn(["accept","user-initiated-only","decline"]).optional().catch(void 0)}),Gu=ke({model:W(),ui:W()}),B4=ke({toolImageContent:Gu,embeddedResourceImages:Gu,resourceLinkImages:Gu,placement:Vn(["none","collapsed","inline"]).catch("none")}),H4=ke({status:Vn(["supported","unsupported","limited"]),mcpAppsEquivalent:q().optional(),note:q().optional()}),Va=qt(q(),H4),q4=ke({profileLabel:q().min(1),sourceUrl:q().min(1),sourceUpdatedAt:ca(),componentBridge:Va,toolDescriptorMeta:Va,toolAnnotations:Va,componentResourceMeta:Va,cspProperties:Va,hostProvidedToolResultMeta:Va,clientProvidedMeta:Va,deployment:ke({supportedUiStandards:Ft(q()),productionAuthentication:Ft(q()),developmentAuthentication:Ft(q()),widgetHostPattern:q(),oauthRedirectUris:Ft(ke({surface:q(),uri:q()})),entraSsoRedirectUris:Ft(ke({surface:q(),uri:q()})),minimumAgentsToolkitVersion:q(),defaultToolDiscovery:q(),notes:Ft(q())})}),G4=ke({id:q().min(1),label:q().min(1),provenance:Vn(["observed","probe","vendor-doc","assumed"]).catch("assumed"),rendersMcpApps:W(),supportedProtocolVersions:Ft(q()).optional(),verifiedAt:ca().optional(),imageSupport:B4.optional(),compatibilityEvidence:q4.optional(),styleVariablesByTheme:ke({light:qt(q(),q()).optional(),dark:qt(q(),q()).optional()}).optional()}),F4=ke({profileVersion:ca().optional(),apps:ke({mcpAppsOverrides:V4.optional()}).passthrough().optional()}).passthrough(),Y4=ke({hostStyle:q().min(1),modelId:q(),systemPrompt:q(),temperature:ca(),requireToolApproval:W(),respectToolVisibility:W(),progressiveToolDiscovery:W().optional(),serverIds:Ft(q()),optionalServerIds:Ft(q()),builtInToolIds:Ft(q()),modelVisibleMcpToolResults:Nn().optional(),mcpToolResultImageRendering:Nn().optional(),computer:ke({kind:yg("personal"),workdir:q().optional()}).optional(),harness:Vn(X5).optional(),connectionDefaults:ke({headers:qt(q(),q()),requestTimeout:ca()}),clientCapabilities:qt(q(),Nn()),hostContext:qt(q(),Nn()),hostCapabilitiesOverride:qt(q(),Nn()).optional(),chatUiOverride:qt(q(),Nn()).optional(),mcpProfile:F4.optional(),serverConnectionOverrides:qt(q(),ke({headersOverride:qt(q(),q()).optional(),requestTimeoutOverride:ca().optional(),mcpProtocolVersionOverride:q().optional()})).optional()}),X4=eb(G4,Y4),K4=ke({hostsById:qt(q(),X4)}),Z4=ke({schemaVersion:yg(2),version:ca(),contentHash:q(),publishedAt:ca(),catalog:K4,source:q().optional()}),_2="https://app.mcpjam.com",E2=`${_2}/api/v1`,G6=Object.freeze({apiUrl:E2,baseUrl:_2}),Q4=E2,F6=`mcpjam-sdk/${Y5()}`;function J4(n){const s=n!==null&&typeof n=="object"&&!Array.isArray(n)?n.schemaVersion:void 0;console.warn("[host-catalog] rejected live catalog envelope",{reason:typeof s=="number"&&s!==2?"schema_version_mismatch":"invalid_envelope",schemaVersion:s,expectedSchemaVersion:2})}async function Y6(n){const s=(n?.baseUrl??Q4).replace(/\/+$/,""),l=n?.timeoutMs??3e3,u=n?.fetchImpl??globalThis.fetch?.bind(globalThis);if(typeof u!="function")return{ok:!1,reason:"network"};const p=new AbortController,f=setTimeout(()=>p.abort(),l);try{const A=await u(`${s}/host-catalog`,{method:"GET",headers:{accept:"application/json"},signal:p.signal});if(!A.ok)return{ok:!1,reason:"unavailable"};let T;try{T=await A.json()}catch{return p.signal.aborted?{ok:!1,reason:"timeout"}:{ok:!1,reason:"invalid"}}const M=Z4.safeParse(T);return M.success?{ok:!0,catalog:A2(M.data.catalog),version:M.data.version,contentHash:M.data.contentHash,publishedAt:M.data.publishedAt,source:M.data.source??"live"}:(J4(T),{ok:!1,reason:"invalid"})}catch{return{ok:!1,reason:p.signal.aborted?"timeout":"network"}}finally{clearTimeout(f)}}var W4=[{key:"serverTools",patterns:[/tools\/call/,/\bcallTool\b/,/\bcallServerTool\b/]},{key:"serverResources",patterns:[/resources\/read/,/\breadResource\b/]},{key:"message",patterns:[/ui\/message/,/\bsendFollowUpMessage\b/i]},{key:"updateModelContext",patterns:[/ui\/update-model-context/,/\bsetWidgetState\b/]},{key:"openLinks",patterns:[/ui\/open-link/,/\bopenExternal\b/]},{key:"downloadFile",patterns:[/ui\/download-file/,/\bgetFileDownloadUrl\b/,/\buploadFile\b/]},{key:"logging",patterns:[/notifications\/message/]}];function $4(n){const s=new Set;for(const{key:l,patterns:u}of W4)u.some(p=>p.test(n))&&s.add(l);return s}function e3(n){const s=new Set,l=n?.ui,u=l?.csp?.frameDomains;Array.isArray(u)&&u.length>0&&s.add("cspFrameDomains");const p=l?.permissions;return p&&typeof p=="object"&&Object.keys(p).length>0&&s.add("sandboxPermissions"),s}function t3(n){const s=n?.ui?.permissions;return!s||typeof s!="object"||Array.isArray(s)?new Set:new Set(Object.keys(s).filter(l=>l.length>0))}function o3(n){const s=Qr(n);if(s)return s;const l=n?.["openai/outputTemplate"];return typeof l=="string"&&l.length>0?l:void 0}function a3(n){if(typeof n.text=="string")return n.text;if(typeof n.blob=="string")try{return atob(n.blob)}catch{return""}return""}async function X6(n,s){if(!n?.tools)return;const l=new Map;for(const A of n.tools){const T=o3(n.toolsMetadata?.[A.name]??A._meta);T&&l.set(T,[...l.get(T)??[],A.name])}if(l.size===0)return{};const u={},p=(A,T)=>{u[A]=Array.from(new Set([...u[A]??[],...T]))},f=(A,T)=>{if(A.size===0)return;const M=u.sandboxPermissionTools??{};for(const w of A)M[w]=Array.from(new Set([...M[w]??[],...T])).sort();u.sandboxPermissionTools=M,u.sandboxPermissionNames=Object.keys(M).sort()};return(await Promise.all(Array.from(l.entries()).map(async([A,T])=>{try{const M=(await s(A))?.contents?.[0];if(!M)return!1;const w=new Set([...$4(a3(M)),...e3(M._meta)]);f(t3(M._meta),T);for(const I of w)p(I,T);return!0}catch{return!1}}))).every(Boolean)?u:void 0}var Fr=ai,qs=Yv,Gs=Xv,n3=Kv,zt=Zr,r3=Qv,i3=Zv,s3={availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"},l3={availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!0,logging:!0,updateModelContext:!1,message:!0,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!1,resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"},Hr={updateModelContext:{text:{},image:{},resourceLink:{},resource:{},structuredContent:{}},message:{text:{},image:{},resourceLink:{},resource:{}}},ge={claude:{mcpAppsCapabilities:qs},"claude-desktop":{mcpAppsCapabilities:qs},"claude-code":{mcpAppsCapabilities:Fr},"claude-code-desktop":{mcpAppsCapabilities:qs},"claude-code-web":{mcpAppsCapabilities:qs},chatgpt:{mcpAppsCapabilities:Gs,hostCapabilitiesReplacement:Hr},"chatgpt-desktop":{mcpAppsCapabilities:Gs,hostCapabilitiesReplacement:Hr},"chatgpt-work":{mcpAppsCapabilities:Gs,hostCapabilitiesReplacement:Hr},"chatgpt-work-desktop":{mcpAppsCapabilities:Gs,hostCapabilitiesReplacement:Hr},mistral:{mcpAppsCapabilities:{...Fr,availableDisplayModes:["inline","fullscreen"],toolCancelled:!1,resourceTeardown:!1,toolInfo:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},hostCapabilitiesAugment:{message:{image:{}}}},goose:{mcpAppsCapabilities:i3},slack:{mcpAppsCapabilities:s3},gemini:{mcpAppsCapabilities:l3},cursor:{mcpAppsCapabilities:n3,hostCapabilitiesAugment:{serverTools:{listChanged:!1},serverResources:{listChanged:!1}}},"copilot-cli":{mcpAppsCapabilities:zt},"cursor-cli":{mcpAppsCapabilities:zt},"codex-cli":{mcpAppsCapabilities:zt},opencode:{mcpAppsCapabilities:zt},copilot:{mcpAppsCapabilities:r3},codex:{mcpAppsCapabilities:{...Fr,serverResources:!1,logging:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0}},hostCapabilitiesReplacement:Hr},vscode:{mcpAppsCapabilities:Jv,hostCapabilitiesAugment:{serverTools:{listChanged:!0},serverResources:{listChanged:!0}},hostCapabilitiesReplacement:{updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}}}},agentcore:{mcpAppsCapabilities:zt},n8n:{mcpAppsCapabilities:zt},perplexity:{mcpAppsCapabilities:zt},cline:{mcpAppsCapabilities:zt},notion:{mcpAppsCapabilities:zt},muse:{mcpAppsCapabilities:zt},grokbot:{mcpAppsCapabilities:zt},mcpjam:{mcpAppsCapabilities:Fr}},k2={};function td(n,s,l){const u={};if(n.openLinks&&(u.openLinks={}),n.serverTools&&(u.serverTools={}),n.serverResources&&(u.serverResources={}),n.logging&&(u.logging={}),n.updateModelContext&&(u.updateModelContext={text:{}}),n.message&&(u.message={text:{}}),n.downloadFile&&(u.downloadFile={}),s)for(const[p,f]of Object.entries(s))u[p]!==void 0&&(u[p]={...u[p],...f});if(l)for(const[p,f]of Object.entries(l))u[p]!==void 0&&(u[p]=f);return u}function c3(n,s){if(!s)return n;const l=s.availableDisplayModes,u=l!==void 0?l.length>0?l:["inline"]:n.availableDisplayModes,p=n.cspConnectDomains||s.cspConnectDomains?{...n.cspConnectDomains,...s.cspConnectDomains}:void 0,f=n.cspResourceDomains||s.cspResourceDomains?{...n.cspResourceDomains,...s.cspResourceDomains}:void 0,A=n.toolResult||s.toolResult?{...n.toolResult,...s.toolResult,...n.toolResult?.content||s.toolResult?.content?{content:{...n.toolResult?.content,...s.toolResult?.content}}:{}}:void 0;return{availableDisplayModes:u,toolInputPartial:s.toolInputPartial??n.toolInputPartial,toolCancelled:s.toolCancelled??n.toolCancelled,hostContextChanged:s.hostContextChanged??n.hostContextChanged,resourceTeardown:s.resourceTeardown??n.resourceTeardown,toolInfo:s.toolInfo??n.toolInfo,openLinks:s.openLinks??n.openLinks,serverTools:s.serverTools??n.serverTools,serverResources:s.serverResources??n.serverResources,logging:s.logging??n.logging,updateModelContext:s.updateModelContext??n.updateModelContext,message:s.message??n.message,sandboxPermissions:s.sandboxPermissions??n.sandboxPermissions,cspFrameDomains:s.cspFrameDomains??n.cspFrameDomains,cspBaseUriDomains:s.cspBaseUriDomains??n.cspBaseUriDomains,cspConnectDomains:p,cspResourceDomains:f,toolResult:A,resourcePrefersBorder:s.resourcePrefersBorder??n.resourcePrefersBorder,downloadFile:s.downloadFile??n.downloadFile,requestTeardown:s.requestTeardown??n.requestTeardown,safeAreaInsets:s.safeAreaInsets??n.safeAreaInsets,widgetDisplayModeRequests:s.widgetDisplayModeRequests??n.widgetDisplayModeRequests}}function u3(n,s){const l=s(n.hostStyle)?.mcpAppsCapabilities,u=n.profile?.apps?.mcpAppsOverrides;return c3(l??(u!==void 0?zt:Fr),u)}function K6(n,s){if(n.profile?.apps?.mcpAppsOverrides!==void 0){const u=u3({profile:n.profile,hostStyle:n.hostStyle},s),p=s(n.hostStyle);return td(u,p?.hostCapabilitiesAugment,p?.hostCapabilitiesReplacement)}if(n.hostCapabilitiesOverride!==void 0){const{sandbox:u,...p}=n.hostCapabilitiesOverride;return p}const l=s(n.hostStyle);return l?td(l.mcpAppsCapabilities,l.hostCapabilitiesAugment,l.hostCapabilitiesReplacement):k2}var ii={callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"all",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!0,uploadFile:!0,selectFiles:!0,getFileDownloadUrl:!0,requestCheckout:!0,requestClose:!0},d3={callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"fullscreen-only",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!1,uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,requestClose:!0},M2={...ii,notifyIntrinsicHeight:!1,setOpenInAppUrl:!1,uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1},R2="/chatgpt_desktop_logo.png",p3="/muse_logo.png",f3="/grokbot_logo.png",fg="/opencode-logo-light.svg",g3="/opencode-logo-dark.svg",h3={id:"claude-code-desktop",mcp:{protocolOverride:fe.MCP_APPS,platform:$s,fontCss:"",...ge["claude-code-desktop"],resolveStyleVariables:ti},chatUi:{label:"Claude Code Desktop",shortLabel:"Claude Code Desktop-style host",pickerDescription:"Claude Code in the Claude desktop app",logoSrc:Rg,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:ld}},m3={id:"claude-code-web",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge["claude-code-web"],resolveStyleVariables:ti},chatUi:{label:"Claude Code Web",shortLabel:"Claude Code Web-style host",pickerDescription:"Claude Code Web in the browser",logoSrc:Mg,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:ld}},b3={id:"chatgpt-desktop",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"desktop",fontCss:"",...ge["chatgpt-desktop"],resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:M2}},chatUi:{label:"ChatGPT Desktop",shortLabel:"ChatGPT Desktop-style host",pickerDescription:"ChatGPT desktop app chrome",logoSrc:R2,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},v3={id:"chatgpt-work",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"web",fontCss:"",...ge["chatgpt-work"],resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ii}},chatUi:{label:"ChatGPT Work",shortLabel:"ChatGPT Work-style host",pickerDescription:"ChatGPT Work in the browser",logoSrc:Ig,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},y3={id:"chatgpt-work-desktop",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"desktop",fontCss:"",...ge["chatgpt-work-desktop"],resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:M2}},chatUi:{label:"ChatGPT Work Desktop",shortLabel:"ChatGPT Work Desktop-style host",pickerDescription:"ChatGPT work mode in the desktop app",logoSrc:R2,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},x3={id:"codex-cli",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge["codex-cli"],resolveStyleVariables:Ro},chatUi:{label:"Codex CLI",shortLabel:"Codex CLI-style host",pickerDescription:"OpenAI Codex in a terminal",logoSrc:Og,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:tl}},S3={id:"opencode",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.opencode,resolveStyleVariables:uo},chatUi:{label:"OpenCode",shortLabel:"OpenCode-style host",pickerDescription:"The OpenCode coding agent in a terminal",logoSrc:fg,logoSrcByTheme:{light:fg,dark:g3},family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:ri}},A3={id:"muse",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.muse,resolveStyleVariables:uo},chatUi:{label:"Muse",shortLabel:"Muse-style host",pickerDescription:"Muse MCP client (tools-only)",logoSrc:p3,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:ri}},T3={id:"grokbot",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.grokbot,resolveStyleVariables:uo},chatUi:{label:"Grokbot",shortLabel:"Grokbot-style host",pickerDescription:"Grokbot MCP client (tools-only)",logoSrc:f3,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:ri}},Z6={light:"border border-[#DFDFDB] bg-white shadow-[0_1px_2px_rgba(0,0,0,0.05),0_4px_20px_rgba(110,110,110,0.08)]",dark:"border-[#4b463d] bg-[#30302E] shadow-[0_1px_2px_rgba(0,0,0,0.28),0_4px_22px_rgba(120,120,120,0.12)]"},Q6={light:"border border-neutral-200/90 bg-white shadow-[0_1px_2px_rgba(0,0,0,0.04),0_4px_22px_rgba(100,100,100,0.08)]",dark:"border border-white/10 bg-[#303030] shadow-[0_1px_2px_rgba(0,0,0,0.28),0_4px_24px_rgba(130,130,130,0.14)]"},C3={id:"claude",mcp:{protocolOverride:fe.MCP_APPS,platform:$s,fontCss:"",...ge.claude,resolveStyleVariables:ti},chatUi:{label:"Claude",shortLabel:"Claude-style host",pickerDescription:"Claude-style swarm chrome",logoSrc:Mg,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:p2}},w3={id:"claude-desktop",mcp:{protocolOverride:fe.MCP_APPS,platform:$s,fontCss:"",...ge["claude-desktop"],resolveStyleVariables:ti},chatUi:{label:"Claude Desktop",shortLabel:"Claude Desktop-style host",pickerDescription:"Claude desktop app chrome",logoSrc:Rg,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:p2}},_3={id:"claude-code",mcp:{protocolOverride:fe.MCP_APPS,platform:$s,fontCss:"",...ge["claude-code"],resolveStyleVariables:ti},chatUi:{label:"Claude Code",shortLabel:"Claude Code-style host",pickerDescription:"Anthropic Claude Code CLI chrome",logoSrc:Ob,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:ld}},E3={id:"chatgpt",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"web",fontCss:"",...ge.chatgpt,resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ii}},chatUi:{label:"ChatGPT",shortLabel:"ChatGPT-style host",pickerDescription:"OpenAI-style swarm chrome",logoSrc:Ig,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},k3={id:"mistral",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.mistral,resolveStyleVariables:r4},chatUi:{label:"Mistral",shortLabel:"Mistral-style host",pickerDescription:"Mistral web host",logoSrc:zb,family:"chatgpt",resolveChatBackground:n=>i4[n],loadingIndicator:S4}},M3={id:"goose",mcp:{protocolOverride:fe.MCP_APPS,platform:r2,fontCss:l2,...ge.goose,resolveStyleVariables:s4},chatUi:{label:"Goose",shortLabel:"Goose-style host",pickerDescription:"Goose Desktop host",logoSrc:q0,logoSrcByTheme:{light:q0,dark:Ub},family:"chatgpt",resolveChatBackground:n=>l4[n],loadingIndicator:g4}},R3={id:"slack",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:d2,...ge.slack,resolveStyleVariables:c4},chatUi:{label:"Slackbot",shortLabel:"Slackbot-style host",pickerDescription:"Slackbot MCP host",logoSrc:Gb,family:"chatgpt",resolveChatBackground:n=>u4[n],loadingIndicator:tl}},I3={id:"cursor",mcp:{protocolOverride:fe.MCP_APPS,platform:$g,fontCss:"",...ge.cursor,resolveStyleVariables:t2},chatUi:{label:"Cursor",shortLabel:"Cursor-style host",pickerDescription:"Cursor IDE chat panel chrome",logoSrc:Dg,family:"chatgpt",resolveChatBackground:n=>e2[n],loadingIndicator:cd}},D3={id:"cursor-cli",mcp:{protocolOverride:fe.MCP_APPS,platform:$g,fontCss:"",...ge["cursor-cli"],resolveStyleVariables:t2},chatUi:{label:"Cursor CLI",shortLabel:"Cursor CLI-style host",pickerDescription:"Cursor coding CLI chrome",logoSrc:Dg,family:"chatgpt",resolveChatBackground:n=>e2[n],loadingIndicator:cd}},gg={id:"copilot",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"web",fontCss:"",...ge.copilot,resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:d3}},chatUi:{label:"Copilot",shortLabel:"Copilot-style host",pickerDescription:"Microsoft 365 Copilot chrome",logoSrc:Nb,family:"chatgpt",resolveChatBackground:n=>n==="dark"?"rgba(48, 48, 48, 1)":Ha.light,loadingIndicator:h4}},O3={id:"codex",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"web",fontCss:"",...ge.codex,resolveStyleVariables:Ro},chatUi:{label:"Codex",shortLabel:"Codex-style host",pickerDescription:"OpenAI Codex CLI-style chrome",logoSrc:Og,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:tl}},z3={id:"vscode",mcp:{protocolOverride:fe.MCP_APPS,platform:a4,fontCss:"",...ge.vscode,resolveStyleVariables:o4},chatUi:{label:"VS Code",shortLabel:"VS Code-style host",pickerDescription:"Visual Studio Code chat panel chrome",logoSrc:Pb,family:"chatgpt",resolveChatBackground:n=>n4[n],loadingIndicator:cd}},U3={id:"agentcore",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.agentcore,resolveStyleVariables:uo},chatUi:{label:"AgentCore",shortLabel:"AgentCore-style host",pickerDescription:"AWS Bedrock AgentCore runtime (text servers only)",logoSrc:jb,family:"claude",resolveChatBackground:n=>po[n],loadingIndicator:tl}},N3={id:"n8n",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.n8n,resolveStyleVariables:uo},chatUi:{label:"n8n",shortLabel:"n8n-style host",pickerDescription:"n8n MCP Client Tool (tools-only)",logoSrc:Vb,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:m4}},L3={id:"gemini",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.gemini,resolveStyleVariables:uo},chatUi:{label:"Gemini",shortLabel:"Gemini-style host",pickerDescription:"Gemini (MCP Apps, no sandbox capability)",logoSrc:Yb,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:ri}},P3={id:"perplexity",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.perplexity,resolveStyleVariables:uo},chatUi:{label:"Perplexity",shortLabel:"Perplexity-style host",pickerDescription:"Perplexity MCP client (tools-only)",logoSrc:Bb,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:v4}},j3={id:"cline",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.cline,resolveStyleVariables:uo},chatUi:{label:"Cline",shortLabel:"Cline-style host",pickerDescription:"Cline MCP client (tools-only)",logoSrc:F0,logoSrcByTheme:{light:F0,dark:Hb},family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:y4}},V3={id:"notion",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.notion,resolveStyleVariables:uo},chatUi:{label:"Notion",shortLabel:"Notion-style host",pickerDescription:"Notion AI agent (tools-only)",logoSrc:qb,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:x4}},I2={id:"mcpjam",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.mcpjam,resolveStyleVariables:uo,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ii}},chatUi:{label:"MCPJam",shortLabel:"MCPJam-style host",pickerDescription:"Inspector's house chrome",logoSrc:Fb,family:"claude",resolveChatBackground:n=>po[n],loadingIndicator:ri}},B3=[I2,C3,E3,b3,v3,y3,k3,M3,R3,I3,D3,{id:"copilot-cli",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge["copilot-cli"],resolveStyleVariables:Ro},chatUi:{...gg.chatUi,label:"GitHub Copilot CLI",shortLabel:"GitHub Copilot CLI",pickerDescription:"GitHub Copilot CLI in a hosted sandbox",logoSrc:G0,logoSrcByTheme:{light:G0,dark:Lb}}},gg,O3,x3,S3,_3,h3,m3,w3,z3,U3,N3,L3,P3,j3,V3,A3,T3],H3="#F2735B",q3={1:[0],2:[0,150],3:[0,150,300]};function G3({def:n,className:s}){if(n.kind==="dots"){const u=n.color??H3,p=n.count===1||n.count===2||n.count===3?n.count:3,f=q3[p];return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-1",s),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-dispatch-dots","data-dot-count":p,className:"inline-flex items-center gap-1",children:f.map((A,T)=>(0,C.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full animate-thinking-dot-pulse",style:{backgroundColor:u,animationDelay:`${A}ms`}},T))})]})}const l=n.animation==="spin"?"animate-spin":n.animation==="none"?"":"animate-pulse";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",s),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("img",{src:n.src,alt:"","aria-hidden":"true","data-testid":"loading-indicator-dispatch-image","data-animation":n.animation??"pulse",className:We("h-5 w-5 object-contain",l)})]})}var ol=new Map;for(const n of B3)ol.set(n.id,n);var D2=I2;function dd(n){if(n)return ol.get(n)}function F3(n){return dd(n)??D2}function J6(n){const s=dd(n);return s?td(s.mcp.mcpAppsCapabilities,s.mcp.hostCapabilitiesAugment,s.mcp.hostCapabilitiesReplacement):k2}function W6(n){const s=dd(n)?.mcp.compatRuntime;return s?.openaiApps?{injected:!0,capabilities:s.openaiAppsCapabilities??ii}:{injected:!1}}function $6(n,s){return Hn({hostStyle:n,chatUiOverride:s}).chatUi.loadingIndicator}function e8(n){return typeof n=="string"&&ol.has(n)}function Y3(){return Array.from(ol.values())}function Hn(n){const s=F3(n.hostStyle),l=n.chatUiOverride;if(!l)return s;const u=l.family??s.chatUi.family,p=l.chatBackground,f=p?E=>p[E]:s.chatUi.resolveChatBackground,A=l.indicator!==void 0?X3(l.indicator):s.chatUi.loadingIndicator,T={label:l.label??s.chatUi.label,shortLabel:l.shortLabel??s.chatUi.shortLabel,pickerDescription:l.pickerDescription??s.chatUi.pickerDescription,logoSrc:l.logoSrc??s.chatUi.logoSrc,logoSrcByTheme:l.logoSrc!==void 0?void 0:s.chatUi.logoSrcByTheme,family:u,resolveChatBackground:f,loadingIndicator:A},M=l.styleVariables,w=M?E=>M[E]:s.mcp.resolveStyleVariables,I={...s.mcp,fontCss:l.fontCss??s.mcp.fontCss,resolveStyleVariables:w};return{id:s.id,chatUi:T,mcp:I}}function X3(n){function s({className:l}){return(0,U.createElement)(G3,{def:n,className:l})}return s.displayName=`CustomHostIndicator(${n.kind})`,s}function K3(n){if(typeof n!="string")return null;const s=n.trim();return s.length>0?s:null}function t8(n,s){return Hn({hostStyle:n,chatUiOverride:s}).chatUi.label}function Z3(n,s,l){return Q3(Hn({hostStyle:n,chatUiOverride:s}).chatUi,l)}function Q3(n,s){return s?n.logoSrcByTheme?.[s]??n.logoSrc:n.logoSrc}function J3(n){const s=n.trim().toLowerCase().replace(/\s+/g,"");if(!s)return null;for(const l of Y3()){const u=l.id.toLowerCase(),p=l.chatUi.label.toLowerCase().replace(/\s+/g,""),f=l.chatUi.shortLabel.toLowerCase().replace(/\s+/g,"");if(s===u||s===p||s===f)return l.id}return null}function o8(n,s){const l=J3(n);return l?Z3(l,void 0,s):null}function a8(n,s){return n?Hn({hostStyle:n,chatUiOverride:s}).chatUi.family:null}function n8(n,s,l){if(n)return Hn({hostStyle:n,chatUiOverride:l}).chatUi.resolveChatBackground(s)}function r8(n,s,l){const u=Hn({hostStyle:n,chatUiOverride:l}),p=u.mcp.resolveStyleVariables(s),f=u.chatUi.resolveChatBackground(s),A=p,T=(M,w)=>A[M]??w;return{"--background":f,"--foreground":T("--color-text-primary",f),"--card":T("--color-background-primary",f),"--card-foreground":T("--color-text-primary",f),"--popover":T("--color-background-primary",f),"--popover-foreground":T("--color-text-primary",f),"--secondary":T("--color-background-secondary",f),"--secondary-foreground":T("--color-text-primary",f),"--muted":T("--color-background-secondary",f),"--muted-foreground":T("--color-text-secondary",f),"--accent":T("--color-background-tertiary",f),"--accent-foreground":T("--color-text-primary",f),"--border":T("--color-border-secondary",f),"--input":T("--color-border-primary",f),"--ring":T("--color-ring-primary",f),"--font-sans":T("--font-sans","ui-sans-serif, sans-serif"),"--shadow-sm":A["--shadow-sm"]??"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow":A["--shadow"]??A["--shadow-sm"]??"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow-md":A["--shadow-md"]??"0 2px 4px -1px rgba(0, 0, 0, 0.08)","--shadow-lg":A["--shadow-lg"]??"0 4px 8px -2px rgba(0, 0, 0, 0.1)"}}var O2=Z5("tester-link"),z2=O2.pattern.split("/")[1]??"user-testing",W3=O2.reserved?.[0]??"edit",U2=Tg(z2),N2=Tg(W3),i8=new RegExp(`^/${U2}/[^/]+/(?!${N2}/?$)[^/]+/?$`),L2=new RegExp(`^/${U2}/[^/?#]+/(?!${N2}(?:[/?#]|$))([^/?#]+)`);function s8(n){return n===xg}function l8(n){const s=L2.exec(n);if(!s||!s[1])return null;const l=s.index+s[0].length,u=l-s[1].length;return`${n.slice(0,u)}${xg}${n.slice(l)}`}function $3(n){const s=n.match(L2);if(!s||!s[1])return null;try{return decodeURIComponent(s[1]).trim()||null}catch{return s[1].trim()||null}}var hg="https://app.mcpjam.com";function P2(n){return n.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_]+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")||"server"}function e7(){return typeof window>"u"?hg:window.location.protocol==="http:"||window.location.protocol==="https:"?window.location.origin:hg}var pd="mcpjam_scenario_session_v2",t7="mcp-oauth-scenario-pending",fd="mcpjam_scenario_signin_return_path_v1";function c8(n){return`scenario-enabled-optional:${n}`}function o7(n){return!!n&&typeof n=="object"&&!Array.isArray(n)&&Object.values(n).every(s=>typeof s=="string")}function a7(n){if(!n||typeof n!="object")return;const s=n.surfaces;if(!s||typeof s!="object")return;const l=s.welcome,u=l&&typeof l=="object"&&typeof l.enabled=="boolean"?{enabled:l.enabled,body:typeof l.body=="string"?l.body:""}:void 0,p=s.perTurnFeedback,f=p&&typeof p=="object"&&typeof p.enabled=="boolean"?{enabled:p.enabled,...p.style==="thumbs"?{style:"thumbs"}:{},...Xs(p,"prompt"),...Xs(p,"commentPlaceholder"),...Xs(p,"thanksMessage")}:void 0,A=s.tasks,T=A&&typeof A=="object"?A.items:void 0,M=Array.isArray(T)?{items:n7(T)}:void 0;if(!(!u&&!f&&!M))return{surfaces:{...u?{welcome:u}:{},...f?{perTurnFeedback:f}:{},...M?{tasks:M}:{}}}}function n7(n){const s=new Set,l=[];for(const u of n){if(!u||typeof u!="object")continue;const p=u.id,f=u.title;typeof p!="string"||p.length===0||typeof f!="string"||f.trim().length===0||s.has(p)||(s.add(p),l.push({id:p,title:f,...Xs(u,"hint")}))}return l}function Xs(n,s){const l=n[s];return typeof l=="string"?{[s]:l}:{}}function r7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function i7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function s7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function l7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function c7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function u7(n){return n==="project_members"?"project_members":n==="anyone_with_link"||n==="any_signed_in_with_link"?"anyone_with_link":"invited_only"}function d7(n){return $3(n)}function p7(n){if(!n||typeof n!="object")return null;const s=typeof n.scenarioId=="string"?n.scenarioId.trim():"",l=typeof n.accessVersion=="number"&&Number.isFinite(n.accessVersion)?n.accessVersion:null,u=n.payload,p=K3(u?.hostStyle)??(u?.hostStyle==null?D2.id:null);return!s||l===null||!u||typeof u.projectId!="string"||typeof u.scenarioId!="string"||typeof u.name!="string"||p===null||typeof u.modelId!="string"||typeof u.systemPrompt!="string"||typeof u.temperature!="number"||typeof u.requireToolApproval!="boolean"||typeof u.allowGuestAccess!="boolean"||typeof u.viewerIsProjectMember!="boolean"||!Array.isArray(u.servers)?null:{scenarioId:s,accessVersion:l,payload:{projectId:u.projectId,scenarioId:u.scenarioId,name:u.name,description:typeof u.description=="string"?u.description:void 0,hostStyle:p,mode:u7(u.mode),...u.requiresSignIn!==void 0?{requiresSignIn:u.requiresSignIn===!0}:{},allowGuestAccess:u.requiresSignIn?!1:u.allowGuestAccess,viewerIsProjectMember:u.viewerIsProjectMember,systemPrompt:u.systemPrompt,modelId:u.modelId,modelReadiness:u.modelReadiness,temperature:u.temperature,requireToolApproval:u.requireToolApproval,modelVisibleMcpToolResults:i7(u.modelVisibleMcpToolResults),mcpToolResultImageRendering:s7(u.mcpToolResultImageRendering),servers:u.servers.filter(f=>!!f&&typeof f=="object"&&typeof f.serverId=="string"&&typeof f.serverName=="string").map(f=>({serverId:f.serverId,serverName:f.serverName,useOAuth:!!f.useOAuth,serverUrl:typeof f.serverUrl=="string"?f.serverUrl:null,clientId:typeof f.clientId=="string"?f.clientId:null,oauthScopes:Array.isArray(f.oauthScopes)?f.oauthScopes:null,...typeof f.oauthProtocolMode=="string"?{oauthProtocolMode:f.oauthProtocolMode}:{},...typeof f.oauthProtocolVersion=="string"?{oauthProtocolVersion:f.oauthProtocolVersion}:{},...typeof f.wireProtocolVersion=="string"?{wireProtocolVersion:f.wireProtocolVersion}:{},...typeof f.oauthResourceUrl=="string"?{oauthResourceUrl:f.oauthResourceUrl}:{},...typeof f.hasClientSecret=="boolean"?{hasClientSecret:f.hasClientSecret}:{},...o7(f.oauthCustomHeaders)?{oauthCustomHeaders:f.oauthCustomHeaders}:{},...typeof f.oauthAllowPathScopedIssuer=="boolean"?{oauthAllowPathScopedIssuer:f.oauthAllowPathScopedIssuer}:{},...typeof f.registrationMode=="string"?{registrationMode:f.registrationMode}:{},optional:!!f.optional})),chatUi:a7(u.chatUi),hostCapabilitiesOverride:r7(u.hostCapabilitiesOverride),chatUiOverride:l7(u.chatUiOverride),mcpProfile:c7(u.mcpProfile)},...typeof n.authenticatedUserId=="string"?{authenticatedUserId:n.authenticatedUserId}:{},surface:n.surface==="preview"?"preview":"share_link",shareToken:typeof n.shareToken=="string"&&n.shareToken.trim()?n.shareToken.trim():void 0}}function f7(n){try{const s=sessionStorage.getItem(n);return s?p7(JSON.parse(s)):null}catch{return null}}function j2(){return f7(pd)}function g7(n,s){sessionStorage.setItem(n,JSON.stringify(s))}function u8(n){g7(pd,n)}function d8(n){try{const s=new URL(n,window.location.href);return s.searchParams.set("surface","preview"),s.toString()}catch{return n}}function p8(n){try{return new URLSearchParams(n).get("surface")==="preview"?"preview":"share_link"}catch{return"share_link"}}function f8(){sessionStorage.removeItem(pd)}function V2(n){const s=n.trim();if(!s.startsWith("/")||s.startsWith("//")||s.includes("\\"))return null;try{const l=new URL(s,window.location.origin);return l.origin!==window.location.origin||!d7(l.pathname)?null:l.pathname+(l.searchParams.get("surface")==="preview"?"?surface=preview":"")}catch{return null}}function g8(n){const s=V2(n);if(s)try{localStorage.setItem(fd,s)}catch{}}function h8(){try{const n=localStorage.getItem(fd);if(!n)return null;const s=V2(n);return s||null}catch{return null}}function m8(){localStorage.removeItem(fd)}function b8(n,s){return`${e7()}/${z2}/${P2(s)}/${encodeURIComponent(n)}`}var h7=U.createContext(null);h7.displayName="DataRouter";var m7=U.createContext(null);m7.displayName="DataRouterState";var b7=U.createContext(null);b7.displayName="DataRouterData";var v7=U.createContext(null);v7.displayName="DataRouterNavigation";var y7=U.createContext(!1);function v8(){return U.useContext(y7)}var x7=U.createContext({isTransitioning:!1});x7.displayName="ViewTransition";var S7=U.createContext(null);S7.displayName="Fetchers";var A7=U.createContext(null);A7.displayName="Await";var B2=U.createContext(null);B2.displayName="Navigation";var ua=U.createContext(null);ua.displayName="Location";var T7=U.createContext({outlet:null,matches:[],isDataRoute:!1});T7.displayName="Route";var C7=U.createContext(!1);C7.displayName="IsDataRoute";var w7=U.createContext(void 0);w7.displayName="RouteId";var _7=U.createContext(null);_7.displayName="RouteError";var H2=null;function q2(){return H2}function y8(n){H2=n}var G2=[{id:"home",scope:"project",canonicalPath:"/home",routePatterns:["/","home"],navSegments:["home"],title:"Home",purpose:"The landing screen: a chat box plus an overview of the workspace and what changed recently.",userActivities:["See workspace counts (teammates, projects, servers, eval suites, recent tool executions)","Start a chat with this assistant","Read What's New updates","Connect a recommended MCP server or create a recommended host"],agentTools:{kind:"none",reason:"Overview screen; the primary agent entry is the chat itself — no workflow mutations to drive here."},showInAtlas:!0},{id:"servers",scope:"project",canonicalPath:"/servers",routePatterns:["servers","servers/plugins/:pluginId","servers/:serverId"],navSegments:["servers","client-config"],title:"Connect",purpose:"Connect and manage the MCP servers in the current project. The starting point for most work — most other screens act on a server connected here.",userActivities:["Add an MCP server by URL (HTTP) or command (STDIO)","Connect, disconnect, reconnect, or remove a server","Authorize a server that requires OAuth","Edit a server's transport, headers, environment variables, or auth method","Inspect a connection's status and configuration"],agentTools:{kind:"global"},showInAtlas:!0},{id:"hosts",scope:"project",canonicalPath:"/hosts",routePatterns:["hosts","hosts/:hostId"],navSegments:["clients"],title:"Hosts",purpose:"Model an MCP client/host (Claude, ChatGPT, Cursor, …) and configure how it behaves — its model, tools, and capabilities.",userActivities:["Create a host from a client template","Open a host's editor to set its model, system prompt, and behavior (tool approval, tool discovery)","Attach or detach the project's servers on a host","Duplicate or delete a host","Deep-link to a specific host's canvas"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"host-compare",scope:"global",canonicalPath:"/host-compare",routePatterns:["host-compare","capabilities/:capabilitySlug"],navSegments:["host-compare"],title:"Compare",purpose:"Compare MCP feature support across hosts — which clients implement which parts of the protocol.",userActivities:["Compare capability support across several hosts","Open a single capability's support page"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only comparison matrix; nothing to operate, but snapshot-only for observability so the agent can see which hosts and capabilities are being compared."},showInAtlas:!0},{id:"computer",scope:"project",canonicalPath:"/computer",routePatterns:["computer"],navSegments:["computer"],title:"Computer",purpose:"A project's cloud sandbox — the environment that runs STDIO servers, skills, and agent harnesses.",userActivities:["Start or hibernate the project's computer","Reset or delete the computer","Open a terminal (human-only)"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"registry",scope:"project",canonicalPath:"/registry",routePatterns:["registry"],navSegments:["registry"],title:"Registry",purpose:"Browse organization-shared MCP servers and mirrors of the Claude and ChatGPT connector directories, and install them into the current project.",userActivities:["Share a server with the organization","Search a mirrored connector directory (Claude or ChatGPT) by name, description, tool or skill name","Switch between the Claude and ChatGPT directories","Install a directory or organization server into the project","Choose which endpoint a multi-region connector uses, or enter their own instance URL"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"playground",scope:"project",canonicalPath:"/playground",routePatterns:["playground"],navSegments:["playground","chat"],title:"Playground",purpose:"Test a connected MCP server against a real model, and preview MCP Apps / ChatGPT apps UI. This is where tool calls are actually run and their results rendered.",userActivities:["Chat with a model that has the selected servers' tools","Select a tool and fill in its parameters","Execute a tool and inspect the result","Emulate app context: theme, device, display mode, locale, time zone"],hasSnapshotProvider:!0,agentTools:{kind:"global"},showInAtlas:!0},{id:"triggers",scope:"project",canonicalPath:"/triggers",routePatterns:["triggers"],navSegments:["triggers"],title:"Triggers",purpose:"Run an agent unattended on MCPJam's hosted runner whenever a subscribed MCP event arrives, and review each run.",userActivities:["Create a trigger on an event subscription with instructions, a model and budgets","Enable, disable, edit or delete a trigger","Browse a trigger's run history and a run's tool calls, result and parked reason"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:"Triggers spend money and act unattended on a member's credentials; configuring them stays a deliberate human action."},showInAtlas:!0},{id:"scenarios",scope:"project",canonicalPath:"/user-testing",routePatterns:["user-testing","user-testing/new","user-testing/:scenarioId/edit","user-testing/:scenarioId"],navSegments:["scenarios"],title:"User Testing",purpose:"Share a scenario — one client, one server — with real people, then review the sessions they had with it.",userActivities:["Create a scenario (pick a server, a client, and who can open it)","Browse the project's user-testing scenarios and how many testers each has had","Open a scenario to copy its share link or invite testers by email","Review a scenario's tester sessions (trace, chat, raw)","Review the feedback clusters across one scenario's sessions","Delete a scenario (unpublish it; the client stays in Connect)"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"swarms",scope:"project",canonicalPath:"/swarms",routePatterns:["swarms","swarms/new","swarms/:swarmId"],navSegments:["swarms"],title:"Swarms",purpose:"Run many simulated agent sessions against your hosts at scale: define a persona, give it a goal across one or more hosts, launch a run, and review how each session did.",userActivities:["Create a persona (a simulated user with a role and personality)","Set up a goal a persona pursues across one or more hosts","Launch a goal run that fans out many sessions and spends quota","Open a Swarm Run detail to review score, insights, and sessions","Review each run's sessions, readiness, and goal-completion scores","Promote a strong session into an eval test case"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"project-environments",scope:"project",canonicalPath:"/environments",routePatterns:["environments","environments/:environmentId"],navSegments:["environments"],title:"Environments",purpose:"Manage the project's environments — named bundles of one client, an optional server group, and optional pinned skills that eval suites and goals run against.",userActivities:["Create or edit an environment (name, client, server group, skills)","Archive or restore an environment","Review which client and server group an environment resolves to"],agentTools:{kind:"none",reason:"Admin-flavored configuration surface behind a rollout flag; no agent automation until the feature is generally available."},showInAtlas:!1},{id:"sessions",scope:"project",canonicalPath:"/sessions",routePatterns:["sessions"],navSegments:["sessions"],title:"Sessions",purpose:"Browse every conversation in the project in one feed — Playground chats, User Testing sessions, eval iterations, and swarm runs — filter by source, and search by title.",userActivities:["Browse the project's sessions across all surfaces, newest first","Filter sessions by source (Playground, User Testing, Eval, Swarm) or status","Search sessions by title","Open a session to review its transcript"],agentTools:{kind:"none",reason:"Read-only browse surface behind a rollout flag; no agent automation until the unified feed is generally available."},showInAtlas:!1},{id:"evals",scope:"project",canonicalPath:"/evals",routePatterns:["evals","evals/create","evals/suite/:suiteId","evals/suite/:suiteId/settings","evals/suite/:suiteId/settings/evaluators","evals/suite/:suiteId/runs/:runId","evals/suite/:suiteId/test/:testId","evals/suite/:suiteId/test/:testId/edit","evals/runs","evals/runs/create","evals/runs/commit/:commitSha","evals/runs/suite/:suiteId","evals/runs/suite/:suiteId/settings","evals/runs/suite/:suiteId/settings/evaluators","evals/runs/suite/:suiteId/runs/:runId","evals/runs/suite/:suiteId/test/:testId","evals/runs/suite/:suiteId/test/:testId/edit"],navSegments:["evals"],title:"Legacy eval links",purpose:"Compatibility routes for saved eval links that redirect to Evaluate.",userActivities:["Open a saved suite or run link in Evaluate"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!1},{id:"evaluate",scope:"project",canonicalPath:"/evaluate",routePatterns:["evaluate","evaluate/create","evaluate/eval-server/:serverId","evaluate/suite/:suiteId","evaluate/suite/:suiteId/settings","evaluate/suite/:suiteId/settings/evaluators","evaluate/suite/:suiteId/runs/:runId","evaluate/suite/:suiteId/runs/:runId/compare","evaluate/suite/:suiteId/runs/:runId/cases/:caseId","evaluate/suite/:suiteId/runs/:runId/cases/:caseId/iterations/:iterationId","evaluate/suite/:suiteId/test/:testId","evaluate/suite/:suiteId/test/:testId/edit"],navSegments:["evaluate"],title:"Evaluate",purpose:"Create and run eval suites, configure grading in Suite Settings, and review run history, case results, and comparisons.",userActivities:["Browse eval suites from the landing table","Start a first-run preview from a connected server","Create a suite on the full-page create flow","Open a suite's overview to see its run history and cases","Open a run to inspect each step, tool call, and score"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:'Uses the snapshot and tool group registered under surfaceId "evals".'},showInAtlas:!0},{id:"tools",scope:"project",canonicalPath:"/tools",routePatterns:["tools"],navSegments:["tools"],title:"Tools",purpose:"List and invoke the tools a connected MCP server exposes, without a model in the loop.",userActivities:["Browse a server's tools","Invoke a tool directly"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Snapshot-only: tool EXECUTION is already covered by the global ui_execute_tool, so a screen tool would duplicate it — this surface only exposes state (its tools, selection, last result) via ui_snapshot_app."},showInAtlas:!0},{id:"resources",scope:"project",canonicalPath:"/resources",routePatterns:["resources"],navSegments:["resources"],title:"Resources",purpose:"List and read the resources a connected MCP server exposes.",userActivities:["Browse a server's resources and resource templates","Read a resource, or resolve and read a template"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"prompts",scope:"project",canonicalPath:"/prompts",routePatterns:["prompts"],navSegments:["prompts"],title:"Prompts",purpose:"List and render the prompts a connected MCP server exposes.",userActivities:["Browse a server's prompts","Render a prompt with arguments"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"tasks",scope:"project",canonicalPath:"/tasks",routePatterns:["tasks"],navSegments:["tasks"],title:"Tasks",purpose:"Inspect long-running MCP tasks a connected server exposes, and their status.",userActivities:["Browse a server's tasks","Inspect a task's status"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only view of a server's long-running tasks; nothing to operate, but snapshot-only for observability so the agent can see the tasks and their statuses."},showInAtlas:!0},{id:"events",scope:"project",canonicalPath:"/events",routePatterns:["events"],navSegments:["events"],title:"Events",purpose:"Inspect the MCP Events (draft extension) a connected server declares, subscribe to them, and watch deliveries arrive live.",userActivities:["Check whether the selected server declares capabilities.events","Browse a server's event types and their input and payload schemas","Subscribe to an event by poll, push or webhook under the draft or ChatGPT profile","Pause, resume, remove or rotate the secret of a subscription","Watch the live delivery feed and rejected deliveries","Send a simulated event to a subscription"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:"Subscriptions register webhooks and hold credentials-bound upstream state; creating or removing them stays a deliberate human action while the extension is a draft."},showInAtlas:!0},{id:"skills",scope:"project",canonicalPath:"/skills",routePatterns:["skills"],navSegments:["skills"],title:"Skills",purpose:"View, add, and manage the skills available to hosts.",userActivities:["Browse skills","Add or edit a skill"],agentTools:{kind:"none",reason:"Tool group planned (browse skills, prefill a new skill for review); tracked in the surface-tools rollout."},showInAtlas:!0},{id:"learning",scope:"project",canonicalPath:"/learning",routePatterns:["learning"],navSegments:["learning"],title:"Learning",purpose:"Learning material about MCP and the inspector.",userActivities:["Read or watch learning material"],agentTools:{kind:"none",reason:"Read-only learning material; there is nothing here for an agent to operate."},showInAtlas:!0},{id:"conformance",scope:"project",canonicalPath:"/conformance",routePatterns:["conformance","conformance/runs/:runId"],navSegments:["conformance"],title:"Conformance",purpose:"Run protocol conformance checks against a connected MCP server and review what it does and doesn't implement correctly.",userActivities:["Run a conformance scorecard against a server","Review individual check results"],agentTools:{kind:"none",reason:"Tool group planned (run a conformance scorecard against a server, read results); tracked in the surface-tools rollout."},showInAtlas:!0},{id:"compatibility",scope:"project",canonicalPath:"/compatibility",routePatterns:["compatibility"],navSegments:["compatibility"],title:"Compatibility",purpose:"Check whether a server works with specific MCP hosts, and where it falls short.",userActivities:["Review a server's host compatibility"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only review of a server's host compatibility; nothing to operate, but snapshot-only for observability so the agent can see which servers and hosts are on the matrix."},showInAtlas:!0},{id:"readiness",scope:"project",canonicalPath:"/readiness",routePatterns:["readiness"],navSegments:["readiness"],title:"Readiness",purpose:"Rehearse a directory submission for a saved server: fill a copy of the Claude connector portal and run MCPJam's checks on the answers and the server.",userActivities:["Start or open a rehearsal for a saved server","Fill the portal's fields and read check results under them","Run the readiness checks"],agentTools:{kind:"none",reason:"Agents edit and run submissions through the directory submission operations, not the page."},showInAtlas:!1},{id:"oauth-flow",scope:"project",canonicalPath:"/oauth-flow",routePatterns:["oauth-flow"],navSegments:["oauth-flow"],title:"OAuth Debugger",purpose:"Step through an MCP server's OAuth flow and see exactly what happens at each stage — discovery, registration, authorization, token exchange.",userActivities:["Run an OAuth flow against a server step by step","Inspect discovery metadata and each request/response"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"xaa-flow",scope:"project",canonicalPath:"/xaa-flow",routePatterns:["xaa-flow"],navSegments:["xaa-flow"],title:"XAA Debugger",purpose:"Debug Cross-App Access (identity assertion / ID-JAG) flows between an identity provider and a resource app.",userActivities:["Run an XAA flow and inspect each token exchange","Configure the identity provider and resource app"],agentTools:{kind:"none",reason:"Interactive auth debugger — human-in-the-loop by design; the agent must not drive token exchanges."},showInAtlas:!0},{id:"tracing",scope:"project",canonicalPath:"/tracing",routePatterns:["tracing"],navSegments:["tracing"],title:"Tracing",purpose:"Inspect traces of chat turns and tool calls.",userActivities:["Review turn traces"],hostedBlocked:!0,hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only review of chat-turn traces; nothing to operate, but snapshot-only for observability so the agent can see the recent traffic summary."},showInAtlas:!0},{id:"settings",scope:"global",canonicalPath:"/settings",routePatterns:["settings","settings/about","settings/appearance","settings/api-keys","settings/integrations","settings/integrations/github","settings/integrations/github/callback"],navSegments:["settings"],title:"Settings",purpose:"Application settings, including API keys and third-party integrations.",userActivities:["Change app settings","Manage API keys","Connect integrations (GitHub Checks, Slack)"],agentTools:{kind:"none",reason:"Admin surface holding API keys; the agent must not automate credential management."},showInAtlas:!0},{id:"project-settings",scope:"project",canonicalPath:"/project-settings",routePatterns:["project-settings","project-settings/members","project-settings/secrets"],navSegments:["project-settings"],title:"Project settings",purpose:"Settings for the current project, including its members and configuration.",userActivities:["Change project settings","Manage project members"],agentTools:{kind:"none",reason:"Admin surface (project members and configuration); the agent must not automate membership changes."},showInAtlas:!0},{id:"organizations",scope:"global",canonicalPath:"/organizations",routePatterns:["organizations","organizations/:orgId","organizations/:orgId/integrations","organizations/:orgId/members","organizations/:orgId/sharing","organizations/:orgId/audit-log","organizations/:orgId/data-management","organizations/:orgId/security","organizations/:orgId/api-keys","organizations/:orgId/plans","organizations/:orgId/billing","organizations/:orgId/billing/byok","organizations/:orgId/models/usage","organizations/:orgId/billing/usage","organizations/:orgId/models","organizations/:orgId/slack","organizations/:orgId/discord","organizations/:orgId/observability"],navSegments:["organizations"],title:"Organizations",purpose:"Organization administration: members, billing, and which models the org allows.",userActivities:["Manage organization members","Review or change billing","Configure allowed models and provider keys","Turn credential export on or off"],agentTools:{kind:"none",reason:"Admin surface (members, billing, provider keys); the agent must not automate billing or access."},showInAtlas:!0},{id:"profile",scope:"global",canonicalPath:"/profile",routePatterns:["profile"],navSegments:["profile"],title:"Profile",purpose:"The signed-in user's own profile.",userActivities:["Review or edit your profile"],agentTools:{kind:"none",reason:"The user's own account details; the agent must not automate identity or profile changes."},showInAtlas:!0},{id:"support",scope:"global",canonicalPath:"/settings/support",routePatterns:["settings/support"],navSegments:["support"],title:"Support",purpose:"Get help and contact MCPJam support.",userActivities:["Contact support"],agentTools:{kind:"none",reason:"Contact-support screen; a human conversation, nothing for an agent to automate."},showInAtlas:!0},{id:"webmcp",scope:"project",canonicalPath:"/webmcp",routePatterns:["webmcp"],navSegments:["webmcp"],title:"WebMCP",purpose:"Inspect a live web page's WebMCP tools: what it registers, what they accept, and what they return when invoked.",userActivities:["Open a page in a managed browser and watch the tools it registers","Invoke a page tool with structured input and read its result","Review the activity timeline across navigations, with screenshots"],agentTools:{kind:"none",reason:"Drives a live third-party web page; the in-app agent must not operate someone's site, and page output is untrusted."},showInAtlas:!1}];function gd(){return G2}var E7=new Map(gd().map(n=>[n.id,n]));function x8(n){return typeof n=="string"&&E7.has(n)}var k7=new Map(gd().flatMap(n=>n.navSegments.map(s=>[s,n])));function S8(n){return k7.get(n)}function M7(){const n=new Set;for(const s of G2)for(const l of s.navSegments)n.add(l);return[...n]}function R7(){const n=new Set;for(const s of gd())if(s.hostedBlocked)for(const l of s.navSegments)n.add(l);return[...n]}var I7={chat:"playground","app-builder":"playground","chat-v2":"playground",connect:"clients",hosts:"clients","user-testing":"scenarios","ci-evals":"evals"},D7=R7(),O7=new Set(D7);function al(n){return I7[n]??n}function A8(n){return O7.has(al(n))}var z7=[{path:"redeem",kind:"special",scope:"public",standalone:!0,note:"Conference card confirmation outside onboarding and project chrome."},{path:"settings/appearance",kind:"screen",surfaceId:"settings",scope:"global"},{path:"organizations/:orgId/integrations",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"settings/about",kind:"screen",surfaceId:"settings",scope:"global"},{path:"organizations/:orgId/members",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/sharing",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing/byok",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing/usage",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/models/usage",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/api-keys",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/plans",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/data-management",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/security",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/audit-log",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"project-settings/members",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"project-settings/secrets",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"/",kind:"screen",surfaceId:"home",scope:"project"},{path:"home",kind:"screen",surfaceId:"home",scope:"project"},{path:"servers",kind:"screen",surfaceId:"servers",scope:"project"},{path:"servers/plugins/:pluginId",kind:"screen",surfaceId:"servers",scope:"project"},{path:"servers/:serverId",kind:"screen",surfaceId:"servers",scope:"project"},{path:"clients",kind:"redirect",note:"Legacy: the tab was renamed Client → Host; redirects to /hosts.",scope:"project"},{path:"clients/:hostId",kind:"redirect",note:"Legacy deep link; re-encoded through buildHostsPath.",scope:"project"},{path:"host-compare",kind:"screen",surfaceId:"host-compare",scope:"global"},{path:"embed/host-compare",kind:"special",note:"Chrome-less vanity surface (caniuse.dev): no sidebar, no NUX.",scope:"public"},{path:"embed/score",kind:"special",note:"Chrome-less vanity surface (score.mcpjam.com): the conformance-score runner. No sidebar, no NUX.",scope:"public"},{path:"embed/bench",kind:"special",note:"Chrome-less vanity surface (score.mcpjam.com): the Connector Bench runner. No sidebar, no NUX.",scope:"public"},{path:"embed/bench/:runId",kind:"special",note:"The same runner, resumed. The run id in the URL is the whole client state — refresh and a second tab both just re-read it.",scope:"public"},{path:"results/:runToken",kind:"special",note:"One score run's report. Public by link token — no session required to read it.",scope:"public"},{path:"bench/results/:secret",kind:"special",note:"One benchmark scorecard. Public by link secret — no session required to read it.",scope:"public"},{path:"capabilities/:capabilitySlug",kind:"screen",surfaceId:"host-compare",scope:"global"},{path:"computer",kind:"screen",surfaceId:"computer",scope:"project"},{path:"hosts",kind:"screen",surfaceId:"hosts",scope:"project"},{path:"hosts/:hostId",kind:"screen",surfaceId:"hosts",scope:"project"},{path:"registry",kind:"screen",surfaceId:"registry",scope:"project"},{path:"tools",kind:"screen",surfaceId:"tools",scope:"project"},{path:"resources",kind:"screen",surfaceId:"resources",scope:"project"},{path:"prompts",kind:"screen",surfaceId:"prompts",scope:"project"},{path:"tasks",kind:"screen",surfaceId:"tasks",scope:"project"},{path:"events",kind:"screen",surfaceId:"events",scope:"project"},{path:"skills",kind:"screen",surfaceId:"skills",scope:"project"},{path:"learning",kind:"screen",surfaceId:"learning",scope:"project"},{path:"conformance",kind:"screen",surfaceId:"conformance",scope:"project"},{path:"conformance/runs/:runId",kind:"screen",surfaceId:"conformance",scope:"project"},{path:"conformance/shared/:token",kind:"special",note:"Read-only shared conformance run. Redeem-based (guest session or WorkOS). Legacy HMAC tokens read as invalid on this page; /api/web/conformance-shared still serves them until I6.",scope:"public"},{path:"compatibility",kind:"screen",surfaceId:"compatibility",scope:"project"},{path:"readiness",kind:"screen",surfaceId:"readiness",scope:"project"},{path:"oauth-flow",kind:"screen",surfaceId:"oauth-flow",scope:"project"},{path:"xaa-flow",kind:"screen",surfaceId:"xaa-flow",scope:"project"},{path:"tracing",kind:"screen",surfaceId:"tracing",scope:"project"},{path:"webmcp",kind:"screen",surfaceId:"webmcp",scope:"project"},{path:"chat",kind:"redirect",note:"Legacy alias; redirects to /playground.",scope:"project"},{path:"chat/*",kind:"redirect",note:"Legacy deep link; redirects to /playground so old bookmarks land there rather than the catch-all.",scope:"project"},{path:"user-testing",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/new",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/:scenarioId/edit",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/:scenarioId",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"scenarios",kind:"redirect",note:"Legacy: the Scenario surface is now User Testing. Redirects to /user-testing, preserving search + hash so old ?host=&session= links keep working.",scope:"project"},{path:"swarms",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"swarms/new",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"swarms/:swarmId",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"environments",kind:"screen",surfaceId:"project-environments",scope:"project"},{path:"environments/:environmentId",kind:"screen",surfaceId:"project-environments",scope:"project"},{path:"sessions",kind:"screen",surfaceId:"sessions",scope:"project"},{path:"playground",kind:"screen",surfaceId:"playground",scope:"project"},{path:"triggers",kind:"screen",surfaceId:"triggers",scope:"project"},{path:"settings/support",kind:"screen",surfaceId:"support",scope:"global"},{path:"support",kind:"redirect",note:"Support moved to Settings",scope:"global"},{path:"settings",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/api-keys",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations/github",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations/github/callback",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/github-checks",kind:"redirect",note:"Legacy: the page moved under Integrations; redirects to /settings/integrations/github.",scope:"global"},{path:"profile",kind:"screen",surfaceId:"profile",scope:"global"},{path:"project-settings",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"client-config",kind:"redirect",note:"Legacy alias; redirects to /servers.",scope:"project"},{path:"organizations",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/models",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/slack",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/discord",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/observability",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/budget",kind:"redirect",note:"Spend budget was removed; auto-reload limits live under Billing",scope:"global"},{path:"evals/shared/:token",kind:"special",note:"Read-only shared eval run. Redeem-based (guest session or WorkOS). Chrome-less.",scope:"public"},{path:"evals",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/create",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/settings",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evals/runs",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/create",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/commit/:commitSha",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/settings",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evaluate",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/create",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/eval-server/:serverId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/settings",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/cases/:caseId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/cases/:caseId/iterations/:iterationId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/compare",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"ci-evals",kind:"redirect",note:"Legacy: redirects to public Evaluate.",scope:"project"},{path:"ci-evals/*",kind:"redirect",note:"Legacy CI links open Evaluate. Run links preserve context; commit links open the unfiltered run table.",scope:"project"},{path:"billing",kind:"special",note:"Post-checkout landing. Neutral loading screen while the billing deep-link effect hands off to the organization's billing page.",scope:"global"},{path:"login",kind:"special",note:"WorkOS Initiate Login URL for IdP-initiated SSO; starts a fresh app-originated sign-in.",scope:"public"},{path:"callback",kind:"special",note:"Auth callback landing. Renders a neutral loading screen, never a project screen: App restores the stored sign-in return path from here, and flashing another project's Servers first is exactly what the canonical URL work exists to stop.",scope:"public"},{path:"oauth/callback/*",kind:"special",note:"MCP server OAuth callback. Neutral landing; useServerState restores the exact saved route.",scope:"public"},{path:"*",kind:"special",note:"Explicit not found. It used to render Servers, which meant an unknown URL silently showed a valid-looking screen for whatever project the viewer happened to be parked on.",scope:"public"}];function U7(n,s){if(n==="*")return"splat";if(n==="/")return s.length===0?"exact":null;const l=n.split("/").filter(Boolean),u=l[l.length-1]==="*",p=u?l.slice(0,-1):l;if(u?s.length<p.length:s.length!==p.length)return null;let f=!1;for(let A=0;A<p.length;A+=1){const T=p[A];if(T.startsWith(":")){if(!s[A])return null;f=!0;continue}if(T!==s[A])return null}return u?"splat":f?"param":"exact"}function N7(n){const s=(typeof n=="string"?n.split(/[?#]/)[0]:"").split("/").filter(Boolean);let l=null,u=null;for(const p of z7){if(p.path==="*")continue;const f=U7(p.path,s);if(f==="exact")return p;f==="param"&&!l&&(l=p),f==="splat"&&!u&&(u=p)}return l??u}function L7(n){return N7(n)?.scope??null}function P7(n){return L7(n)==="project"}function j7(n){return n==="members"||n==="sharing"||n==="audit-log"||n==="data-management"||n==="security"||n==="integrations"||n==="api-keys"||n==="plans"?n:n==="billing"?"billing":n==="models"?"models":n==="slack"?"slack":n==="discord"?"discord":n==="observability"?"observability":"overview"}var Z={root:"/",home:"/home",servers:"/servers",hosts:"/hosts",hostCompare:"/host-compare",embedHostCompare:"/embed/host-compare",embedScore:"/embed/score",embedBench:"/embed/bench",scoreResults:"/results",benchResults:"/bench/results",capabilities:"/capabilities",computer:"/computer",registry:"/registry",tools:"/tools",resources:"/resources",prompts:"/prompts",tasks:"/tasks",events:"/events",auth:"/auth",skills:"/skills",learning:"/learning",conformance:"/conformance",conformanceRuns:"/conformance/runs",conformanceShared:"/conformance/shared",compatibility:"/compatibility",readiness:"/readiness",oauthFlow:"/oauth-flow",xaaFlow:"/xaa-flow",tracing:"/tracing",webmcp:"/webmcp",scenarios:"/scenarios",userTesting:"/user-testing",swarms:"/swarms",environments:"/environments",sessions:"/sessions",playground:"/playground",triggers:"/triggers",support:"/settings/support",settings:"/settings",profile:"/profile",projectSettings:"/project-settings",login:"/login",callback:"/callback",billing:"/billing",evals:"/evals",evalsRuns:"/evals/runs",evalsShared:"/evals/shared",evaluate:"/evaluate",organizations:"/organizations"};function T8(n){return n?`${Z.servers}/${encodeURIComponent(n)}`:Z.servers}function C8(n){return n?`${Z.servers}/plugins/${encodeURIComponent(n)}`:Z.servers}function w8(n){return n?`${Z.environments}/${encodeURIComponent(n)}`:Z.environments}function _8(n){return n?`${Z.hosts}/${encodeURIComponent(n)}`:Z.hosts}function E8(n){if(!n||n.length===0)return Z.hostCompare;const s=n.map(u=>u.trim()).filter(u=>u.length>0);if(s.length===0)return Z.hostCompare;const l=new URLSearchParams({hosts:s.join(",")});return`${Z.hostCompare}?${l.toString()}`}var k8=`${Z.userTesting}/new`,V7=new Set(["sessions","insights","findings"]);function M8(n){return n===0?"insights":"findings"}function R8(n,s={}){const l=`${Z.userTesting}/${encodeURIComponent(n)}`,u=new URLSearchParams,p=s.defaultTab??"findings";s.tab&&s.tab!==p&&u.set("tab",s.tab),s.session&&u.set("session",s.session),s.sel&&u.set("sel",s.sel),s.view&&s.view!=="flow"&&u.set("view",s.view);const f=u.toString();return f?`${l}?${f}`:l}function I8(n){return`${Z.userTesting}/${encodeURIComponent(n)}/edit`}function D8(n){const s=new URLSearchParams(n).get("tab");return s==="edit"||s==="share"||s==="preview"}function O8(n,s="findings"){const l=new URLSearchParams(n),u=l.get("tab");return u==="clusters"?"insights":u&&V7.has(u)?u:l.get("session")?"sessions":s}var z8=`${Z.swarms}/new`;function U8(n,s={}){const l=`${Z.swarms}/${encodeURIComponent(n)}`,u=new URLSearchParams;s.tab&&u.set("tab",s.tab),s.session&&u.set("session",s.session),s.sel&&u.set("sel",s.sel),s.finding&&u.set("finding",s.finding);const p=u.toString();return p?`${l}?${p}`:l}function N8(n){const s=new URLSearchParams(n),l=s.get("tab");return l==="run"?"run":l==="sessions"?"sessions":l==="insights"||l==="personas"||l==="overview"?"insights":l==="findings"?"findings":s.get("session")?"sessions":"findings"}function L8(n){const s=new URLSearchParams({persona:n.personaRefId,run:n.runId,host:n.hostId,session:n.threadId});return`${Z.swarms}?${s.toString()}`}function P8(n){const s=new URLSearchParams(n),l=u=>{const p=s.get(u);return p&&p.trim()?p:void 0};return{personaRefId:l("persona"),runId:l("run"),hostId:l("host"),threadId:l("session")}}function j8(n={}){const s=new URLSearchParams;n.session&&s.set("session",n.session);const l=s.toString(),u=l?`${Z.sessions}?${l}`:Z.sessions;return n.project?Bn(n.project,u):u}function B7(n,s){return s==="members"||s==="sharing"||s==="audit-log"||s==="data-management"||s==="security"||s==="integrations"?`/organizations/${n}/${s}`:s==="api-keys"||s==="plans"?`/organizations/${n}/${s}`:s==="billing"?`/organizations/${n}/billing`:s==="models"?`/organizations/${n}/models`:s==="slack"?`/organizations/${n}/slack`:s==="discord"?`/organizations/${n}/discord`:s==="observability"?`/organizations/${n}/observability`:`/organizations/${n}`}function V8(n){return H7(Z.evaluate,n)}function B8(n,s="",l=""){if(/^\/(?:evals\/runs|ci-evals)\/commit\/[^/]+\/*$/i.test(n)){const u=new URLSearchParams(s).get("project"),p=new URLSearchParams;return u&&p.set("project",u),`${Z.evaluate}${p.size?`?${p}`:""}`}return`${n.replace(/^\/(?:evals(?:\/runs)?|ci-evals)(?=\/|$)/i,Z.evaluate)}${s}${l}`}function H8(n,s="",l=""){return`${n.replace(/^\/evals(?:\/runs)?\/suite\/([^/]+)\/test\/([^/]+)(\/edit)?\/*$/i,(u,p,f,A)=>`${Z.evaluate}/suite/${p}/test/${f}${A?"/edit":""}`)}${s}${l}`}function H7(n,s){switch(s.type){case"list":return n;case"create":return`${n}/create`;case"eval-server":return n!==Z.evaluate?n:`${n}/eval-server/${encodeURIComponent(s.serverId)}`;case"suite-overview":{const l=new URLSearchParams;s.view&&s.view!=="runs"&&l.set("view",s.view),s.fromCommit&&l.set("fromCommit",s.fromCommit),s.importJob&&l.set("importJob",s.importJob);const u=l.toString();return`${n}/suite/${encodeURIComponent(s.suiteId)}${u?`?${u}`:""}`}case"run-detail":{const l=new URLSearchParams,u=s.resultPage;u?.target&&l.set("target",u.target),u?.tab&&l.set("tab",u.tab),s.iteration&&l.set("iteration",s.iteration),s.testCaseId&&l.set("case",s.testCaseId),s.insightsFocus&&l.set("insights","1"),s.compareToRunId&&l.set("compareTo",s.compareToRunId);const p=l.toString();return`${n}/suite/${encodeURIComponent(s.suiteId)}/runs/${encodeURIComponent(s.runId)}${s.comparison?"/compare":""}${u?`/cases/${encodeURIComponent(u.caseKey)}${u.iterationId?`/iterations/${encodeURIComponent(u.iterationId)}`:""}`:""}${p?`?${p}`:""}`}case"test-detail":{const l=new URLSearchParams;s.iteration&&l.set("iteration",s.iteration);const u=l.toString();return`${n}/suite/${encodeURIComponent(s.suiteId)}/test/${encodeURIComponent(s.testId)}${u?`?${u}`:""}`}case"test-edit":{const l=new URLSearchParams;s.openCompare&&l.set("compare","1"),s.checks&&l.set("checks","1"),s.iteration&&l.set("iteration",s.iteration),s.fromEvalServer&&l.set("fromEvalServer",s.fromEvalServer);const u=l.toString();return`${n}/suite/${encodeURIComponent(s.suiteId)}/test/${encodeURIComponent(s.testId)}/edit${u?`?${u}`:""}`}case"suite-edit":return`${n}/suite/${encodeURIComponent(s.suiteId)}/settings${s.tab==="evaluators"?"/evaluators":""}${s.fromCaseChecks?`?fromCaseChecks=${encodeURIComponent(s.fromCaseChecks)}`:""}`;case"commit-detail":{if(n!==Z.evalsRuns)return n;const l=new URLSearchParams;s.suite&&l.set("suite",s.suite),s.iteration&&l.set("iteration",s.iteration);const u=l.toString();return`${n}/commit/${encodeURIComponent(s.commitSha)}${u?`?${u}`:""}`}}}function q7(){const n=q2()?.state?.location?.pathname;return n||ei()}function F2(n,s){if(typeof n!="string"||!n||n.startsWith("?")||n.startsWith("#")||!Sg(n)||Fu(n))return n;const l=Fu(s??q7());if(!l)return n;const u=n.split(/[?#]/)[0];return P7(u)?Bn(l.projectId,n):n}function G7(n,s){const l=s?.unscoped?n:F2(n),u=q2();if(u){u.navigate(l,{replace:s?.replace,state:s?.state});return}if(!window.dispatchEvent(new Event("settings-before-navigation",{cancelable:!0})))return;const p=s?.state??{};s?.replace?window.history.replaceState(p,"",l):window.history.pushState(p,"",l),window.dispatchEvent(new PopStateEvent("popstate"))}function q8(){const n=(0,U.useContext)(B2),s=(0,U.useContext)(ua),l=n?.navigator,u=s?.location.pathname;return(0,U.useCallback)((p,f)=>{const A=f?.unscoped?p:F2(p,u);if(l){f?.replace?l.replace(A,f.state):l.push(A,f?.state);return}G7(A,f)},[l,u])}function G8(){const n=(0,U.useContext)(ua),[s,l]=(0,U.useState)(ei);return(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const u=()=>{l(ei())};return window.addEventListener("popstate",u),()=>{window.removeEventListener("popstate",u)}},[n]),Y7(n?.location.pathname??s)}function F8(){const n=(0,U.useContext)(ua),[s,l]=(0,U.useState)(ei);return(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const u=()=>l(ei());return window.addEventListener("popstate",u),()=>window.removeEventListener("popstate",u)},[n]),n?.location.pathname??s}function Y8(){const n=(0,U.useContext)(ua),[s,l]=(0,U.useState)(mg);(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const p=()=>l(mg());return window.addEventListener("popstate",p),()=>window.removeEventListener("popstate",p)},[n]);const u=n?.location;return u?{pathname:u.pathname||"/",search:u.search||"",hash:u.hash||""}:s}function X8(){const n=(0,U.useContext)(ua);return n?n.location.state:typeof window>"u"?void 0:window.history.state}function mg(){return typeof window>"u"?{pathname:"/",search:"",hash:""}:{pathname:window.location.pathname||"/",search:window.location.search||"",hash:window.location.hash||""}}var si=new Set(M7());function K8(n){return si.has(n)}function Z8(){return[...si]}function F7(n){return n==="/billing"||n==="/billing/"||n==="/callback"||n==="/callback/"||n.startsWith("/oauth/callback")}function Q8(n){return n==="/oauth/callback/debug"||n.startsWith("/oauth/callback/debug/")}function J8(n,s){const l=`${Z.conformanceRuns}/${encodeURIComponent(n)}`;return s?Bn(s,l):l}function W8(n){return`${Z.conformance}?${new URLSearchParams({run:n})}`}function $8(n){return`${Z.conformanceShared}/${encodeURIComponent(n)}`}function ey(n){return`${Z.evalsShared}/${encodeURIComponent(n)}`}function Y7(n){const s=Ag(n);if(F7(s))return"servers";if(s.startsWith(`${Z.capabilities}/`))return"host-compare";const l=s.replace(/^\/+/,"").split("/")[0]||"home",u=al(l);return si.has(u)?u:"servers"}function ei(){return typeof window>"u"?"/":window.location.pathname||"/"}function ty(){const n=((0,U.useContext)(ua)?.location.pathname??(typeof window>"u"?"/":window.location.pathname)).replace(/^\/+/,"").split("/");if(n[0]!=="organizations")return null;const s=n[1];if(!s)return null;const l=j7(n[2]);return{orgId:X7(s),orgSection:l}}function oy(n){const s=(0,U.useContext)(ua),[l,u]=(0,U.useState)(bg);(0,U.useLayoutEffect)(()=>{if(s||typeof window>"u")return;const f=()=>u(bg());return window.addEventListener("popstate",f),()=>{window.removeEventListener("popstate",f)}},[s]);const p=s?.location.search??l;return new URLSearchParams(p).get(n)}function bg(){return typeof window>"u"?"":window.location.search||""}function X7(n){try{return decodeURIComponent(n)}catch{return n}}function hd(n,s=Z.servers){const l=Fu(n);if(l){const{suffix:w,path:I}=(()=>{const _=Ag(n),D=_.search(/[?#]/);return D===-1?{path:_,suffix:""}:{path:_.slice(0,D),suffix:_.slice(D)}})(),E=hd(`${I}${w}`,s);return Bn(l.projectId,E)}const u=n.replace(/^#/,"").replace(/^\/+/,""),p=u.indexOf("?"),f=p===-1?u:u.slice(0,p),A=p===-1?"":u.slice(p),T=f.split("/").filter(Boolean),M=al(T[0]||"servers");return si.has(M)?`/${[M==="scenarios"?"user-testing":M,...T.slice(1)].join("/")}${A}`:s}function Y2(n){const s=n.replace(/^#\/?/,"");if(!s)return null;const l=s.split(/[/?]/)[0]||"",u=al(l);return si.has(u)?hd(u===l?s:`${u}${s.slice(l.length)}`):null}function ay(){if(typeof window>"u")return;const n=window.location.pathname||"/";if(n!=="/"&&n!=="")return;const s=Y2(window.location.hash);s&&window.history.replaceState({},"",s)}function K7(n,s=Z.servers){const l=n?.trim()??"";return!l||!Sg(l)?s:hd(l,s)}function ny(){if(typeof window>"u")return null;const n=window.location.pathname||Z.root,s=window.location.search||"",l=window.location.hash||"";return n===Z.root||n===""?null:`${n}${s}${l}`}function Z7(n){return Bn(n,Z.servers)}function ry(n){return Bn(n,Z.projectSettings)}function iy(n,s){const l=(s??[]).filter(u=>u.organizationId===n).sort((u,p)=>p.updatedAt-u.updatedAt)[0];return l&&ob(l._id)?Z7(l._id):B7(n)}function sy({routeTab:n,routeOrganizationId:s,isLoadingOrganizations:l,hasRouteOrganization:u}){return n!=="organizations"||l?null:!s||!u?Z.servers:null}var md="mcp-hosted-oauth-pending",Q7="mcp-oauth-score-pending",J7=6e5;function vg(n){return n?.trim().toLowerCase()??""}function nl(n,s){const l=n?.trim()??"";if(!l)return null;if(l.startsWith("#")){const u=Y2(l);if(u)return u;if(s==="scenario"){const p=l.replace(/^#\/?/,"");return p?`/${p}`:null}}return s==="scenario"&&l.startsWith("/")&&!l.startsWith("//")||s==="score"&&l.startsWith("/")&&!l.startsWith("//")?l:K7(l)}function W7(n,s){if(n.serverUrl&&s.serverUrl&&n.serverUrl===s.serverUrl)return!0;const l=vg(n.serverName),u=vg(s.serverName);return!!l&&!!u&&l===u}function ly(n){try{localStorage.setItem(md,JSON.stringify({...n,organizationId:n.organizationId??null,projectId:n.projectId??null,serverId:n.serverId??null,serverUrl:n.serverUrl??null,sessionId:n.sessionId??null,...n.connectionIntent?{connectionIntent:n.connectionIntent}:{},...n.pluginSignIn?{pluginSignIn:n.pluginSignIn}:{},accessScope:n.accessScope??null,scenarioId:n.scenarioId??null,returnPath:nl(n.returnPath,n.surface),startedAt:Date.now()}))}catch{}}function $7(){try{const n=localStorage.getItem(md);if(!n)return null;const s=JSON.parse(n);return!s||typeof s!="object"||!kg(s.surface)||typeof s.serverName!="string"||typeof s.startedAt!="number"||Date.now()-s.startedAt>J7?(Ks(),null):{surface:s.surface,...s.initiatingUserId===null||typeof s.initiatingUserId=="string"?{initiatingUserId:s.initiatingUserId}:{},...s.connectionIntent?.kind==="add"?{connectionIntent:{kind:"add"}}:s.connectionIntent?.kind==="replace"&&typeof s.connectionIntent.credentialId=="string"?{connectionIntent:{kind:"replace",credentialId:s.connectionIntent.credentialId}}:{},...e6(s.pluginSignIn)?{pluginSignIn:{pluginVersionId:s.pluginSignIn.pluginVersionId,componentKey:s.pluginSignIn.componentKey}}:{},organizationId:typeof s.organizationId=="string"?s.organizationId:null,projectId:typeof s.projectId=="string"?s.projectId:null,serverId:typeof s.serverId=="string"?s.serverId:null,serverName:s.serverName,...typeof s.chatAuthContinuationId=="string"?{chatAuthContinuationId:s.chatAuthContinuationId}:{},serverUrl:typeof s.serverUrl=="string"?s.serverUrl:null,sessionId:typeof s.sessionId=="string"?s.sessionId:null,accessScope:s.accessScope==="project_member"||s.accessScope==="chat_v2"?s.accessScope:void 0,scenarioId:typeof s.scenarioId=="string"?s.scenarioId:null,returnPath:nl(typeof s.returnPath=="string"?s.returnPath:typeof s.returnHash=="string"?s.returnHash:null,s.surface),suppressErrorToast:s.suppressErrorToast===!0,suppressSuccessToast:s.suppressSuccessToast===!0,startedAt:s.startedAt}}catch{return Ks(),null}}function e6(n){const s=n;return typeof s?.pluginVersionId=="string"&&s.pluginVersionId.length>0&&typeof s.componentKey=="string"&&s.componentKey.length>0}function cy(n){return!!(n?.connectionIntent||n?.pluginSignIn)}function Ks(){localStorage.removeItem(md)}function t6(){localStorage.removeItem(t7),localStorage.removeItem(Q7)}function uy(){Ks(),t6()}function o6(n,s){if(localStorage.getItem("mcp-oauth-scenario-pending"))return"scenario";const l=j2();return l&&l.payload.servers.some(u=>W7({serverName:u.serverName,serverUrl:u.serverUrl},{serverName:n,serverUrl:s}))?"scenario":null}function a6(){if(typeof window>"u")return null;const n=Ws();if(!n||!n.get("code")&&!n.get("error"))return null;const s=$7();if(s)return s;const l=localStorage.getItem("mcp-oauth-pending")?.trim()??"";if(!l)return null;const u=localStorage.getItem(`mcp-serverUrl-${l}`),p=o6(l,u);return p?{surface:p,organizationId:null,projectId:null,serverId:null,serverName:l,serverUrl:u,sessionId:null,accessScope:void 0,scenarioId:null,returnPath:nl(localStorage.getItem("mcp-oauth-return-hash"),p),startedAt:Date.now()}:null}function dy(n){if(n.returnPath)return nl(n.returnPath,n.surface)??Z.servers;if(n.surface==="scenario"){const s=j2();return s?`/${P2(s.payload.name)}`:Z.userTesting}return n.surface==="score"?Z.embedScore:Z.servers}var X2="mcp-onboarding-state",K2="mcp-first-run-server-choice-state";function Z2(n){try{const s=localStorage.getItem(n);if(!s)return null;const l=JSON.parse(s);return l.status==="started"||l.status==="seen"||l.status==="dismissed"||l.status==="completed"?{status:l.status,startedAt:typeof l.startedAt=="number"?l.startedAt:void 0,shownAt:typeof l.shownAt=="number"?l.shownAt:void 0,completedAt:typeof l.completedAt=="number"?l.completedAt:void 0,attemptedServerName:typeof l.attemptedServerName=="string"?l.attemptedServerName:void 0,connectedServerKind:l.connectedServerKind==="demo"||l.connectedServerKind==="personal"?l.connectedServerKind:void 0,connectedToolCount:typeof l.connectedToolCount=="number"||l.connectedToolCount===null?l.connectedToolCount:void 0,playgroundPromptPending:typeof l.playgroundPromptPending=="boolean"?l.playgroundPromptPending:void 0}:null}catch{return null}}function Q2(n,s){try{localStorage.setItem(n,JSON.stringify(s))}catch{}}function J2(){return Z2(X2)}function W2(n){Q2(X2,n)}function py(){const n=J2();n?.status==="completed"||n?.status==="dismissed"||n?.status==="seen"&&n.shownAt||W2({status:"started",startedAt:Date.now()})}function fy(){const n=J2();n?.status==="completed"||n?.status==="dismissed"||W2({status:"seen",shownAt:Date.now()})}function da(){return Z2(K2)}function qa(n){Q2(K2,n)}function gy(n){const s=da();s?.status==="completed"&&s.shownAt||s?.status==="dismissed"||qa({status:"started",startedAt:s?.startedAt??Date.now(),shownAt:s?.shownAt,attemptedServerName:n??s?.attemptedServerName,connectedServerKind:void 0,connectedToolCount:void 0,playgroundPromptPending:s?.playgroundPromptPending})}function hy(){const n=da();n?.status==="completed"&&n.shownAt||n?.status==="dismissed"||qa({status:"started",startedAt:n?.startedAt??Date.now(),shownAt:Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:n?.playgroundPromptPending})}function my(){const n=da();n?.status==="completed"&&n.shownAt||qa({status:"dismissed"})}function by(){const n=da();qa({status:"completed",completedAt:Date.now(),shownAt:n?.shownAt??Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:n?.playgroundPromptPending})}function vy(n,s){const l=da();qa({status:"started",startedAt:l?.startedAt??Date.now(),shownAt:l?.shownAt??Date.now(),attemptedServerName:l?.attemptedServerName,connectedServerKind:n,connectedToolCount:s,playgroundPromptPending:l?.playgroundPromptPending})}function yy(){const n=da();qa({status:"completed",completedAt:n?.completedAt??Date.now(),shownAt:n?.shownAt??Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:!0})}function xy(){const n=da();!n||n.status!=="completed"||qa({...n,playgroundPromptPending:!1})}function Sy(n,s,l,u=!1,p=!1){if(u&&!p)return!1;const[f=""]=s.replace(/^#?\/?/,"").split("?"),A=f.replace(/\/+$/,"");return A!=="servers"&&A!=="connect"&&A!=="clients"&&A!=="hosts"&&A!=="home"&&A!=="playground"&&A||l?.status==="dismissed"||l?.status==="completed"&&l.shownAt?!1:l?.status==="started"&&l.shownAt?!0:!n}var Ay="mcpjam:first-run-oauth-overlay-ready",Ty="mcpjam:first-run-oauth-cancelled";function Cy(){if(window.location.pathname!=="/oauth/callback"&&!window.location.pathname.startsWith("/oauth/callback/"))return null;const n=da();if(n?.status!=="started"||!n.attemptedServerName)return null;const s=a6();return s?.surface==="project"&&s.serverName===n.attemptedServerName?n.attemptedServerName:null}export{Z8 as $,U6 as $n,Ku as $r,P2 as $t,V8 as A,R2 as An,Vu as Ar,v7 as At,j8 as B,T2 as Bn,h6 as Br,x7 as Bt,$7 as C,Hn as Cn,Ub as Cr,S8 as Ct,W8 as D,fg as Dn,Rg as Dr,A7 as Dt,J8 as E,g3 as En,Ob as Er,y8 as Et,w8 as F,Y6 as Fn,A6 as Fr,B2 as Ft,ny as G,N6 as Gn,Sb as Gr,m8 as Gt,L8 as H,B6 as Hn,m6 as Hr,t7 as Ht,C8 as I,w2 as In,S6 as Ir,y7 as It,Q8 as J,j6 as Jn,Xu as Jr,p7 as Jt,M8 as K,L6 as Kn,Ws as Kr,d7 as Kt,T8 as L,P4 as Ln,x6 as Lr,T7 as Lt,_8 as M,K6 as Mn,C6 as Mr,S7 as Mt,B7 as N,u3 as Nn,_6 as Nr,C7 as Nt,$8 as O,f3 as On,Mg as Or,h7 as Ot,iy as P,X6 as Pn,T6 as Pr,ua as Pt,B8 as Q,z6 as Qn,gb as Qr,c8 as Qt,ry as R,S2 as Rn,y6 as Rr,_7 as Rt,cy as S,Y3 as Sn,q0 as Sr,al as St,ly as T,Z6 as Tn,Ig as Tr,q2 as Tt,I8 as U,ri as Un,_g as Ur,b8 as Ut,U8 as V,H6 as Vn,v6 as Vr,v8 as Vt,R8 as W,P6 as Wn,b6 as Wr,f8 as Wt,D8 as X,p2 as Xn,p6 as Xr,h8 as Xt,K8 as Y,ni as Yn,f6 as Yr,j2 as Yt,H8 as Z,rg as Zn,wg as Zr,p8 as Zt,md as _,W6 as _n,Og as _r,oy as _t,xy as a,l8 as an,E6 as ar,P8 as at,a6 as b,$6 as bn,Nb as br,N7 as bt,vy as c,a8 as cn,Fb as cr,Z as ct,hy as d,r8 as dn,F0 as dr,G8 as dt,g6 as ei,d8 as en,pe as er,G7 as et,fy as f,K3 as fn,Hb as fr,q8 as ft,W2 as g,dd as gn,Pb as gr,F8 as gt,J2 as h,D2 as hn,jb as hr,ty as ht,Sy as i,c6 as ii,s8 as in,zv as ir,N8 as it,E8 as j,ii as jn,w6 as jr,m7 as jt,ey as k,p3 as kn,Ib as kr,b7 as kt,my as l,t8 as ln,Gb as lr,F2 as lt,da as m,J3 as mn,Vb as mr,X8 as mt,Ay as n,Yu as ni,g8 as nn,R6 as nr,ay as nt,yy as o,Q3 as on,k6 as or,O8 as ot,py as p,o8 as pn,Bb as pr,Y8 as pt,sy as q,V6 as qn,hb as qr,e7 as qt,Cy as r,u6 as ri,i8 as rn,fe as rr,K7 as rt,by as s,n8 as sn,Yb as sr,Y7 as st,Ty as t,cb as ti,u8 as tn,M6 as tr,hd as tt,gy as u,Z3 as un,qb as ur,z8 as ut,Q7 as v,J6 as vn,G0 as vr,k8 as vt,dy as w,Q6 as wn,zb as wr,x8 as wt,W7 as x,e8 as xn,Dg as xr,A8 as xt,uy as y,F3 as yn,Lb as yr,z7 as yt,Z7 as z,q6 as zn,wb as zr,w7 as zt};
|
|
1870
|
+
`}}},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-03-26"],clientInfo:{name:"goose-desktop",version:"1.38.0"}},apps:{uiInitialize:{hostInfo:{name:"MCP-UI Host",version:"1.0.0"}},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!1,xhr:!1,websocket:!1},cspResourceDomains:{script:!1,stylesheet:!1,image:!1,font:!1,media:!1},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared",cspDirectives:{"font-src":["https://cash-f.squarecdn.com"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"]}}}},slack:{id:"slack",label:"Slackbot",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--color-background-primary":"#fff","--color-background-secondary":"#f8f8f8","--color-background-tertiary":"#eaeaea","--color-background-inverse":"#1d1c1d","--color-background-info":"#e3f8ff","--color-background-danger":"#ffe8ef","--color-background-success":"#e3fff3","--color-background-warning":"#fffae0","--color-background-disabled":"#1d1c1d0f","--color-text-primary":"#1d1c1d","--color-text-secondary":"#454447","--color-text-tertiary":"#5e5d60","--color-text-inverse":"#fff","--color-text-info":"#1264a3","--color-text-danger":"#c01343","--color-text-success":"#007a5a","--color-text-warning":"#6b5000","--color-text-disabled":"#5e5d60","--color-border-primary":"#7c7a7f","--color-border-secondary":"#5e5d6073","--color-border-tertiary":"#5e5d6021","--color-border-inverse":"#f8f8f8d9","--color-border-info":"#1264a3","--color-border-danger":"#e01e5a","--color-border-success":"#007a5a","--color-border-warning":"#c79600","--color-border-disabled":"#5e5d6021","--color-ring-primary":"#7c7a7f","--color-ring-secondary":"#5e5d6073","--color-ring-inverse":"#f8f8f8d9","--color-ring-info":"#1264a3","--color-ring-danger":"#e01e5a","--color-ring-success":"#007a5a","--color-ring-warning":"#c79600","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"},dark:{"--color-background-primary":"#1a1d21","--color-background-secondary":"#1a1d21","--color-background-tertiary":"#212428","--color-background-inverse":"#212428","--color-background-info":"#001a2d","--color-background-danger":"#300005","--color-background-success":"#05241b","--color-background-warning":"#2f1e00","--color-background-disabled":"#f8f8f80f","--color-text-primary":"#f8f8f8","--color-text-secondary":"#b9babd","--color-text-tertiary":"#9a9b9e","--color-text-inverse":"#f8f8f8","--color-text-info":"#2ba5ce","--color-text-danger":"#de678a","--color-text-success":"#3daa7c","--color-text-warning":"#dea700","--color-text-disabled":"#9a9b9e","--color-border-primary":"#797c81","--color-border-secondary":"#797c8180","--color-border-tertiary":"#797c814d","--color-border-inverse":"#797c81","--color-border-info":"#2ba5ce","--color-border-danger":"#d94c75","--color-border-success":"#259b69","--color-border-warning":"#d29c00","--color-border-disabled":"#797c814d","--color-ring-primary":"#797c81","--color-ring-secondary":"#797c8180","--color-ring-inverse":"#797c81","--color-ring-info":"#2ba5ce","--color-ring-danger":"#d94c75","--color-ring-success":"#259b69","--color-ring-warning":"#d29c00","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"slack",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.slack/block-kit":{mimeTypes:["application/vnd.slack.blocks+json"]},"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxWidth:598},locale:"en-US",timeZone:"America/Los_Angeles",platform:"web",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:{"--color-background-primary":"#1a1d21","--color-background-secondary":"#1a1d21","--color-background-tertiary":"#212428","--color-background-inverse":"#212428","--color-background-info":"#001a2d","--color-background-danger":"#300005","--color-background-success":"#05241b","--color-background-warning":"#2f1e00","--color-background-disabled":"#f8f8f80f","--color-text-primary":"#f8f8f8","--color-text-secondary":"#b9babd","--color-text-tertiary":"#9a9b9e","--color-text-inverse":"#f8f8f8","--color-text-info":"#2ba5ce","--color-text-danger":"#de678a","--color-text-success":"#3daa7c","--color-text-warning":"#dea700","--color-text-disabled":"#9a9b9e","--color-border-primary":"#797c81","--color-border-secondary":"#797c8180","--color-border-tertiary":"#797c814d","--color-border-inverse":"#797c81","--color-border-info":"#2ba5ce","--color-border-danger":"#d94c75","--color-border-success":"#259b69","--color-border-warning":"#d29c00","--color-border-disabled":"#797c814d","--color-ring-primary":"#797c81","--color-ring-secondary":"#797c8180","--color-ring-inverse":"#797c81","--color-ring-info":"#2ba5ce","--color-ring-danger":"#d94c75","--color-ring-success":"#259b69","--color-ring-warning":"#d29c00","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"},css:{fonts:'body { font-family: "Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif; }'}}},mcpProfile:{profileVersion:1,paginationTraversal:"firstPageOnly",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Slackbot MCP Client",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Slackbot",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!0,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!1},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}}},cursor:{id:"cursor",label:"Cursor",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cursor",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}},elicitation:{form:{}},roots:{listChanged:!1}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:649,maxHeight:800},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"cursor",platform:"desktop"},mcpProfile:{profileVersion:1,paginationTraversal:"firstPageOnly",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"cursor-vscode",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Cursor",version:"3.29.9"}},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},"copilot-cli":{id:"copilot-cli",label:"GitHub Copilot CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25","2026-07-28"],verifiedAt:1794528e6,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"copilot-cli",modelId:"openai/gpt-5.5",systemPrompt:"",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"copilot-cli",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{sampling:{}},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1,initialize:{clientInfo:{name:"copilot-cli",version:"1.0.92"}},paginationTraversal:"full",toolListChanged:{listens:!0},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},"cursor-cli":{id:"cursor-cli",label:"Cursor CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25","2026-07-28"],verifiedAt:1794096e6,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cursor-cli",modelId:"cursor/auto",systemPrompt:"",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"cursor",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{elicitation:{form:{}}},hostContext:{},mcpProfile:{profileVersion:1,versionNegotiation:"legacy-first",initialize:{clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},codex:{id:"codex",label:"Codex",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,styleVariablesByTheme:{light:{"--color-background-primary":"rgb(255, 255, 255)","--color-background-secondary":"rgba(255, 255, 255, 0.96)","--color-background-tertiary":"rgb(245, 245, 245)","--color-background-inverse":"rgb(13, 13, 13)","--color-background-ghost":"transparent","--color-background-info":"rgb(222, 236, 248)","--color-background-danger":"rgb(255, 240, 240)","--color-background-success":"color-mix(in srgb, rgb(0, 162, 64) 12%, rgb(255, 255, 255))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 12%, rgb(255, 255, 255))","--color-background-disabled":"rgba(13, 13, 13, 0.047)","--color-text-primary":"rgb(13, 13, 13)","--color-text-secondary":"rgba(13, 13, 13, 0.494)","--color-text-tertiary":"rgba(13, 13, 13, 0.494)","--color-text-inverse":"rgb(255, 255, 255)","--color-text-ghost":"rgba(13, 13, 13, 0.494)","--color-text-info":"rgb(1, 105, 204)","--color-text-danger":"rgb(224, 46, 42)","--color-text-success":"rgb(0, 162, 64)","--color-text-warning":"rgb(226, 85, 7)","--color-text-disabled":"rgba(13, 13, 13, 0.494)","--color-border-primary":"rgba(13, 13, 13, 0.118)","--color-border-secondary":"rgba(13, 13, 13, 0.08)","--color-border-tertiary":"rgba(13, 13, 13, 0.08)","--color-border-inverse":"rgb(13, 13, 13)","--color-border-ghost":"transparent","--color-border-info":"rgb(1, 105, 204)","--color-border-danger":"rgb(224, 46, 42)","--color-border-success":"rgb(0, 162, 64)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(13, 13, 13, 0.118)","--color-ring-primary":"rgb(1, 105, 204)","--color-ring-secondary":"rgb(1, 105, 204)","--color-ring-inverse":"rgb(1, 105, 204)","--color-ring-info":"rgb(1, 105, 204)","--color-ring-danger":"rgb(224, 46, 42)","--color-ring-success":"rgb(0, 162, 64)","--color-ring-warning":"rgb(226, 85, 7)","--font-sans":'Inter, -apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"},dark:{"--color-background-primary":"rgb(24, 24, 24)","--color-background-secondary":"rgba(54, 54, 54, 0.96)","--color-background-tertiary":"rgb(20, 20, 20)","--color-background-inverse":"rgb(255, 255, 255)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"rgb(40, 11, 10)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(40, 40, 40))","--color-background-warning":"color-mix(in srgb, rgb(255, 133, 73) 12%, rgb(40, 40, 40))","--color-background-disabled":"rgba(255, 255, 255, 0.05)","--color-text-primary":"rgb(255, 255, 255)","--color-text-secondary":"color(srgb 1 1 1 / 0.65)","--color-text-tertiary":"rgba(255, 255, 255, 0.498)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgba(255, 255, 255, 0.498)","--color-text-info":"rgb(44, 103, 197)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(255, 133, 73)","--color-text-disabled":"rgba(255, 255, 255, 0.498)","--color-border-primary":"rgba(255, 255, 255, 0.157)","--color-border-secondary":"rgba(255, 255, 255, 0.082)","--color-border-tertiary":"rgba(255, 255, 255, 0.082)","--color-border-inverse":"rgb(255, 255, 255)","--color-border-ghost":"transparent","--color-border-info":"rgb(58, 131, 247)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(255, 133, 73)","--color-border-disabled":"rgba(255, 255, 255, 0.157)","--color-ring-primary":"rgb(58, 131, 247)","--color-ring-secondary":"rgb(58, 131, 247)","--color-ring-inverse":"rgb(58, 131, 247)","--color-ring-info":"rgb(58, 131, 247)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(255, 133, 73)","--font-sans":'-apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", menlo, consolas, "Liberation Mono", monospace',"--font-weight-normal":"430","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"}},modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"collapsed",directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"codex",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"codex",connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app","text/html+skybridge"]},"openai/elicitation":{form:{}},"openai/form":{}},elicitation:{form:{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"rgb(24, 24, 24)","--color-background-secondary":"rgba(54, 54, 54, 0.96)","--color-background-tertiary":"rgb(20, 20, 20)","--color-background-inverse":"rgb(255, 255, 255)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"rgb(40, 11, 10)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(40, 40, 40))","--color-background-warning":"color-mix(in srgb, rgb(255, 133, 73) 12%, rgb(40, 40, 40))","--color-background-disabled":"rgba(255, 255, 255, 0.05)","--color-text-primary":"rgb(255, 255, 255)","--color-text-secondary":"color(srgb 1 1 1 / 0.65)","--color-text-tertiary":"rgba(255, 255, 255, 0.498)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgba(255, 255, 255, 0.498)","--color-text-info":"rgb(44, 103, 197)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(255, 133, 73)","--color-text-disabled":"rgba(255, 255, 255, 0.498)","--color-border-primary":"rgba(255, 255, 255, 0.157)","--color-border-secondary":"rgba(255, 255, 255, 0.082)","--color-border-tertiary":"rgba(255, 255, 255, 0.082)","--color-border-inverse":"rgb(255, 255, 255)","--color-border-ghost":"transparent","--color-border-info":"rgb(58, 131, 247)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(255, 133, 73)","--color-border-disabled":"rgba(255, 255, 255, 0.157)","--color-ring-primary":"rgb(58, 131, 247)","--color-ring-secondary":"rgb(58, 131, 247)","--color-ring-inverse":"rgb(58, 131, 247)","--color-ring-info":"rgb(58, 131, 247)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(255, 133, 73)","--font-sans":'-apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", menlo, consolas, "Liberation Mono", monospace',"--font-weight-normal":"430","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"}}},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1103.60933"}},pluginExtensions:{enabled:!0},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"],"base-uri":["'none'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,toolInfo:!1,downloadFile:!1,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,toolCancelled:!1,resourceTeardown:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}}}}},"codex-cli":{id:"codex-cli",label:"Codex CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:1794528e6,modelVisibleMcpToolResults:{structuredContent:"preferred"},mcpToolResultImageRendering:{},hostStyle:"codex-cli",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"codex",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{elicitation:{form:{},url:{}}},hostContext:{},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0},mcpProtocolVersion:"2025-06-18",initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"codex-mcp-client",title:"Codex",version:"0.163.0"}},apps:{pluginExtensions:{enabled:!1},mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},opencode:{id:"opencode",label:"OpenCode",provenance:"assumed",rendersMcpApps:!1,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"opencode",modelId:"anthropic/claude-haiku-4.5",systemPrompt:"",temperature:1,requireToolApproval:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"opencode",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1}},copilot:{id:"copilot",label:"Copilot",provenance:"vendor-doc",rendersMcpApps:!0,supportedProtocolVersions:["2024-11-05","2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,compatibilityEvidence:{profileLabel:"Copilot",sourceUrl:"https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/plugin-mcp-apps",sourceUpdatedAt:178416e7,componentBridge:{"window.openai.toolInput":{status:"supported",mcpAppsEquivalent:"app.ontoolinput"},"window.openai.toolOutput":{status:"supported",mcpAppsEquivalent:"app.ontoolresult"},"window.openai.toolResponseMetadata":{status:"supported",mcpAppsEquivalent:"app.ontoolresult params._meta"},"window.openai.widgetState":{status:"supported"},"window.openai.setWidgetState":{status:"supported",note:"No direct MCP Apps equivalent; Microsoft recommends alternatives including app.updateModelContext()."},"window.openai.callTool":{status:"supported",mcpAppsEquivalent:"app.callServerTool"},"window.openai.sendFollowUpMessage":{status:"supported",mcpAppsEquivalent:"app.sendMessage"},"window.openai.uploadFile":{status:"unsupported"},"window.openai.getFileDownloadUrl":{status:"unsupported"},"window.openai.requestDisplayMode":{status:"limited",mcpAppsEquivalent:"app.requestDisplayMode",note:"Fullscreen requests only."},"window.openai.requestModal":{status:"unsupported"},"window.openai.notifyIntrinsicHeight":{status:"supported",mcpAppsEquivalent:"app.sendSizeChanged"},"window.openai.openExternal":{status:"supported",mcpAppsEquivalent:"app.openLink"},"window.openai.setOpenInAppUrl":{status:"supported"},"window.openai.theme":{status:"supported",mcpAppsEquivalent:"app.getHostContext().theme"},"window.openai.displayMode":{status:"supported",mcpAppsEquivalent:"app.getHostContext().displayMode"},"window.openai.maxHeight":{status:"supported",mcpAppsEquivalent:"app.getHostContext().viewport.maxHeight"},"window.openai.safeArea":{status:"supported",mcpAppsEquivalent:"app.getHostContext().safeAreaInsets"},"window.openai.view":{status:"supported"},"window.openai.userAgent":{status:"supported",mcpAppsEquivalent:"app.getHostContext().userAgent"},"window.openai.locale":{status:"supported",mcpAppsEquivalent:"app.getHostContext().locale"},"app.ontoolinputpartial":{status:"unsupported"},"app.ontoolcancelled":{status:"unsupported"},"app.getHostContext().availableDisplayModes":{status:"unsupported"},"app.getHostContext().toolInfo":{status:"unsupported"},"app.onhostcontextchanged":{status:"unsupported"},"app.onteardown":{status:"unsupported"},"app.sendLog":{status:"unsupported"},"app.getHostVersion":{status:"unsupported"},"app.getHostCapabilities":{status:"supported"}},toolDescriptorMeta:{"openai/outputTemplate":{status:"supported",mcpAppsEquivalent:"_meta.ui.resourceUri"},"openai/widgetAccessible":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.visibility"},"openai/visibility":{status:"supported",mcpAppsEquivalent:"_meta.ui.visibility"},"openai/toolInvocation/invoking":{status:"unsupported"},"openai/toolInvocation/invoked":{status:"unsupported"},"openai/fileParams":{status:"unsupported"},securitySchemes:{status:"unsupported"}},toolAnnotations:{readOnlyHint:{status:"supported",mcpAppsEquivalent:"readOnlyHint"},destructiveHint:{status:"unsupported",mcpAppsEquivalent:"destructiveHint"},openWorldHint:{status:"unsupported",mcpAppsEquivalent:"openWorldHint"},idempotentHint:{status:"unsupported",mcpAppsEquivalent:"idempotentHint"}},componentResourceMeta:{"openai/widgetDescription":{status:"unsupported"},"openai/widgetPrefersBorder":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.prefersBorder"},"openai/widgetCSP":{status:"supported",mcpAppsEquivalent:"_meta.ui.csp"},"openai/widgetDomain":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.domain"},"_meta.ui.permissions":{status:"unsupported"}},cspProperties:{connect_domains:{status:"supported",mcpAppsEquivalent:"connectDomains"},resource_domains:{status:"supported",mcpAppsEquivalent:"resourceDomains"},frame_domains:{status:"unsupported",mcpAppsEquivalent:"frameDomains"},redirect_domains:{status:"unsupported"},baseUriDomains:{status:"unsupported",mcpAppsEquivalent:"baseUriDomains"}},hostProvidedToolResultMeta:{"openai/widgetSessionId":{status:"unsupported"}},clientProvidedMeta:{"openai/locale":{status:"supported",mcpAppsEquivalent:'_meta["openai/locale"]'},"openai/userAgent":{status:"supported",mcpAppsEquivalent:'_meta["openai/userAgent"]'},"openai/userLocation":{status:"supported",mcpAppsEquivalent:'_meta["openai/userLocation"]'},"openai/subject":{status:"unsupported"}},deployment:{supportedUiStandards:["MCP Apps","OpenAI Apps SDK"],productionAuthentication:["OAuth 2.1","Microsoft Entra SSO"],developmentAuthentication:["None (anonymous)"],widgetHostPattern:"{sha256-mcp-domain}.widget-renderer.usercontent.microsoft.com",oauthRedirectUris:[{surface:"Microsoft 365 Copilot",uri:"https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect"},{surface:"Visual Studio Code Agents Toolkit",uri:"https://vscode.dev/redirect"}],entraSsoRedirectUris:[{surface:"Microsoft 365 Copilot",uri:"https://teams.microsoft.com/api/platform/v1.0/oAuthConsentRedirect"}],minimumAgentsToolkitVersion:"6.12.0",defaultToolDiscovery:"dynamic",notes:["A remote MCP server is required.","Visual Studio Code does not currently support SSO while fetching tools.","Production deployments should configure authentication; anonymous access is for development."]}},modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"copilot",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}},experimental:{"microsoft/copilot":{enabled:!0}}},hostCapabilitiesOverride:{openLinks:{},serverTools:{},serverResources:{},logging:{},downloadFile:{},message:{text:{}},updateModelContext:{text:{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxHeight:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"ms-copilot",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2024-11-05","2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Sydney",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"M365Copilot",version:"1.0.0"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"fullscreen-only",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!1,uploadFile:!1,getFileDownloadUrl:!1}},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!0,resourceTeardown:!1,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},resourcePrefersBorder:!1,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},vscode:{id:"vscode",label:"VS Code",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#fdeded","--color-background-disabled":"rgba(0, 105, 204, 0.1)","--color-background-ghost":"transparent","--color-background-info":"#e6f2fa","--color-background-inverse":"#202020","--color-background-primary":"#ffffff","--color-background-secondary":"#fafafd","--color-background-success":"rgba(88, 124, 12, 0.15)","--color-background-tertiary":"#fafafd","--color-background-warning":"#fdf6e3","--color-border-danger":"#ad0707","--color-border-disabled":"#bbbbbb","--color-border-ghost":"transparent","--color-border-info":"#0069cc","--color-border-inverse":"#202020","--color-border-primary":"#e2e2e5","--color-border-secondary":"#e4e5e6","--color-border-success":"#73c991","--color-border-tertiary":"#f0f1f2","--color-border-warning":"#b69500","--color-ring-danger":"#ad0707","--color-ring-info":"#0069cc","--color-ring-inverse":"#0069cc","--color-ring-primary":"#0069cc","--color-ring-secondary":"#0069cc","--color-ring-success":"#73c991","--color-ring-warning":"#b69500","--color-text-danger":"#ad0707","--color-text-disabled":"#bbbbbb","--color-text-ghost":"#606060","--color-text-info":"#0069cc","--color-text-inverse":"#ffffff","--color-text-primary":"#202020","--color-text-secondary":"#606060","--color-text-success":"#73c991","--color-text-tertiary":"#bbbbbb","--color-text-warning":"#bf8803","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0)"},dark:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#5a1d1d","--color-background-disabled":"#3a3d41","--color-background-ghost":"transparent","--color-background-info":"#063b49","--color-background-inverse":"#d4d4d4","--color-background-primary":"#1e1e1e","--color-background-secondary":"#252526","--color-background-success":"rgba(156, 204, 44, 0.2)","--color-background-tertiary":"#333333","--color-background-warning":"#352a05","--color-border-danger":"#be1100","--color-border-disabled":"rgba(204, 204, 204, 0.5)","--color-border-ghost":"transparent","--color-border-info":"#007acc","--color-border-inverse":"#cccccc","--color-border-primary":"#303031","--color-border-secondary":"rgba(204, 204, 204, 0.2)","--color-border-success":"#73c991","--color-border-tertiary":"rgba(128, 128, 128, 0.35)","--color-border-warning":"#b89500","--color-ring-danger":"#be1100","--color-ring-info":"#007acc","--color-ring-inverse":"#007fd4","--color-ring-primary":"#007fd4","--color-ring-secondary":"#007fd4","--color-ring-success":"#73c991","--color-ring-warning":"#b89500","--color-text-danger":"#f48771","--color-text-disabled":"rgba(204, 204, 204, 0.5)","--color-text-ghost":"rgba(204, 204, 204, 0.7)","--color-text-info":"#3794ff","--color-text-inverse":"#1e1e1e","--color-text-primary":"#cccccc","--color-text-secondary":"rgba(204, 204, 204, 0.7)","--color-text-success":"#73c991","--color-text-tertiary":"rgba(204, 204, 204, 0.5)","--color-text-warning":"#cca700","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.36)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.36)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.36)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.36)"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17944416e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},hostStyle:"vscode",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{roots:{listChanged:!0},sampling:{},elicitation:{form:{},url:{}},tasks:{list:{},cancel:{},requests:{sampling:{createMessage:{}},elicitation:{create:{}}}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]},"io.modelcontextprotocol/skills":{}}},hostCapabilitiesOverride:{openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}},downloadFile:{}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:494,maxHeight:720},locale:"en-us",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#5a1d1d","--color-background-disabled":"#3a3d41","--color-background-ghost":"transparent","--color-background-info":"#063b49","--color-background-inverse":"#d4d4d4","--color-background-primary":"#1e1e1e","--color-background-secondary":"#252526","--color-background-success":"rgba(156, 204, 44, 0.2)","--color-background-tertiary":"#333333","--color-background-warning":"#352a05","--color-border-danger":"#be1100","--color-border-disabled":"rgba(204, 204, 204, 0.5)","--color-border-ghost":"transparent","--color-border-info":"#007acc","--color-border-inverse":"#cccccc","--color-border-primary":"#303031","--color-border-secondary":"rgba(204, 204, 204, 0.2)","--color-border-success":"#73c991","--color-border-tertiary":"rgba(128, 128, 128, 0.35)","--color-border-warning":"#b89500","--color-ring-danger":"#be1100","--color-ring-info":"#007acc","--color-ring-inverse":"#007fd4","--color-ring-primary":"#007fd4","--color-ring-secondary":"#007fd4","--color-ring-success":"#73c991","--color-ring-warning":"#b89500","--color-text-danger":"#f48771","--color-text-disabled":"rgba(204, 204, 204, 0.5)","--color-text-ghost":"rgba(204, 204, 204, 0.7)","--color-text-info":"#3794ff","--color-text-inverse":"#1e1e1e","--color-text-primary":"#cccccc","--color-text-secondary":"rgba(204, 204, 204, 0.7)","--color-text-success":"#73c991","--color-text-tertiary":"rgba(204, 204, 204, 0.5)","--color-text-warning":"#cca700","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.36)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.36)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.36)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.36)"}}},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Visual Studio Code",version:"1.136.1"}},apps:{uiInitialize:{hostInfo:{name:"Visual Studio Code",version:"1.143.1"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-pointer-lock","allow-downloads","allow-forms"],allowFeatures:{"cross-origin-isolated":"'src'",autoplay:"'src'","local-network-access":"'src'","clipboard-read":"'src'"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,widgetDisplayModeRequests:"accept"}}}},agentcore:{id:"agentcore",label:"AgentCore",provenance:"vendor-doc",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"agentcore",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{}},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"bedrock-agentcore",title:"AgentCore",version:"1.0.0",description:"AWS Bedrock AgentCore agent runtime",websiteUrl:"https://aws.amazon.com/bedrock/agentcore/"}}}},n8n:{id:"n8n",label:"n8n",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"n8n",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"@n8n/n8n-nodes-langchain.mcpClientTool",version:"1.4"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},gemini:{id:"gemini",label:"Gemini",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"gemini",modelId:"google/gemini-3.8-flash",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{maxHeight:600}},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"google-adk",version:"2.14.0"}},apps:{uiInitialize:{hostInfo:{name:"UCS Widget",version:"1.0"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups"],sameOriginAppIframe:!0},mcpAppsOverrides:{openLinks:!0,logging:!0,message:!0,serverResources:!0,serverTools:!1,updateModelContext:!1,downloadFile:!1,sandboxPermissions:!1,toolInfo:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},cspFrameDomains:!0,cspBaseUriDomains:!1,toolResult:{structuredContent:!0},resourcePrefersBorder:!0,availableDisplayModes:["inline","fullscreen","pip"],safeAreaInsets:!1}}}},perplexity:{id:"perplexity",label:"Perplexity",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"perplexity",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"mcp",version:"0.1.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},cline:{id:"cline",label:"Cline",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cline",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cline",version:"4.0.10"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},notion:{id:"notion",label:"Notion",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"collapsed",directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"notion",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"notion",version:"1.0.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},muse:{id:"muse",label:"Muse",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17942688e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"muse",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"muse-custom-connector",version:"1"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},grokbot:{id:"grokbot",label:"Grokbot",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"grokbot",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{},mcpProfile:{profileVersion:1,toolListChanged:{listens:!0},initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{}}}}}};function D4(n){const s=n.modelVisibleMcpToolResults,l=n.mcpToolResultImageRendering;if(!(!s&&!l))return{toolImageContent:{model:s?.directContent?.image===!0,ui:l?.directContent?.image===!0},embeddedResourceImages:{model:s?.embeddedResources?.blob?.image===!0,ui:l?.embeddedResources?.blob?.image===!0},resourceLinkImages:{model:s?.linkedResources?.blob?.image===!0,ui:l?.linkedResources?.blob?.image===!0},placement:l?.placement??"none"}}function O4(n,s){const l=nb(s.mcpProfile);if((l?.toolResultAuthChallenge??J5.toolResultAuthChallenge)!=="passthrough")return[];const u=n.filter(p=>W5(F5({declaration:{securitySchemes:p.securitySchemes,_meta:p._meta}}))).map(p=>p.name).sort();return u.length===0?[]:[{lane:"server",severity:"info",code:"tool_result_auth_challenge_ignored",title:"Sign-in challenges in tool results are shown as errors",detail:`${s.hostLabel} shows a tool result carrying _meta["mcp/www_authenticate"] as an ordinary error and does not start sign-in from it. These tools declare an oauth2 security scheme, the pattern that asks for sign-in that way: ${u.join(", ")}.`,remediation:'To ask for sign-in in the way the MCP spec defines, refuse the unauthenticated call with HTTP 401 and a `WWW-Authenticate: Bearer resource_metadata="…"` header; hosts that read the _meta challenge can be served it alongside.',tools:u,provenance:l?.toolResultAuthChallenge!==void 0?s.provenance:"assumed"}]}function z4(n,s,l){return n.map(u=>{const p=Object.hasOwn(l.hostsById,u.hostId)?l.hostsById[u.hostId]:void 0,f=O4(s,{hostLabel:u.hostLabel,provenance:u.provenance,mcpProfile:p?.mcpProfile});return f.length===0?u:{...u,findings:[...u.findings,...f],...u.lanes?{lanes:{...u.lanes,server:{...u.lanes.server,provenance:y2(f,u.lanes.server.provenance)}}}:{}}})}function x2(n){return JSON.parse(JSON.stringify(n))}function S2(n){if(n!==null&&typeof n=="object"){Object.isFrozen(n)||Object.freeze(n);for(const s of Object.keys(n))S2(n[s])}return n}var dg=null;function A2(){return dg??=S2(T2(x2(I4))),dg}function T2(n){return{hostsById:Object.fromEntries(Object.entries(n.hostsById).map(([s,l])=>[s,dd(l)]))}}function dd(n){const s=D4(n)??n.imageSupport;return{...n,...s?{imageSupport:s}:void 0}}function U4(n,s){return C2(n,s)?.mcpProfile?.apps?.mcpAppsOverrides}function C2(n,s){const l=Object.hasOwn(n.hostsById,s)?n.hostsById[s]:void 0;return l?dd(l):void 0}function H6(n,s){const l=C2(n,s);if(l)return x2(N4(l))}function q6(n){return Object.values(n.hostsById).map(dd)}function N4(n){const{id:s,label:l,provenance:u,rendersMcpApps:p,supportedProtocolVersions:f,verifiedAt:A,imageSupport:T,compatibilityEvidence:M,styleVariablesByTheme:_,...I}=n;return I}function L4(n){return n?.mcpProfile?.apps?.compatRuntime?.openaiApps===!0}function P4(n){const s=n?.mcpProfile?.apps?.sandbox?.permissions?.allow;if(!s||typeof s!="object"||Array.isArray(s))return;const l=Object.entries(s).filter(([,u])=>typeof u=="boolean");return Object.fromEntries(l)}function _2(n){return{...n,verifiedAt:n.verifiedAt,supportedProtocolVersions:n.supportedProtocolVersions?[...n.supportedProtocolVersions]:void 0,capabilities:n.capabilities?{...n.capabilities,availableDisplayModes:n.capabilities.availableDisplayModes?[...n.capabilities.availableDisplayModes]:void 0,cspConnectDomains:n.capabilities.cspConnectDomains?{...n.capabilities.cspConnectDomains}:void 0,cspResourceDomains:n.capabilities.cspResourceDomains?{...n.capabilities.cspResourceDomains}:void 0}:void 0,sandboxPermissionAllow:n.sandboxPermissionAllow?{...n.sandboxPermissionAllow}:void 0,imageSupport:n.imageSupport?{toolImageContent:{...n.imageSupport.toolImageContent},embeddedResourceImages:{...n.imageSupport.embeddedResourceImages},resourceLinkImages:{...n.imageSupport.resourceLinkImages},placement:n.imageSupport.placement}:void 0}}function w2(n){return Object.entries(n.hostsById).map(([s,l])=>{const u=L4(l),p=l.rendersMcpApps||u,f=U4(n,s),A=p?f??Zr:void 0;return{id:l.id,label:l.label,provenance:l.provenance,verifiedAt:l.verifiedAt,rendersMcpApps:l.rendersMcpApps,rendersOpenAiApps:u,supportedProtocolVersions:l.supportedProtocolVersions,capabilities:A,sandboxPermissionAllow:P4(l),imageSupport:l.imageSupport}}).map(_2)}var pg=null;function j4(){return pg??=w2(A2()),pg.map(_2)}function G6(n,s){const{catalog:l,...u}=s??{},p=l?w2(l):j4(),f=R4(n,p,u),A=(n?.tools??[]).map(T=>{const M=n?.toolsMetadata?.[T.name];return M?{...T,_meta:M}:T});return{...f,reports:z4(f.reports,A,l??A2())}}var fg=["inline","fullscreen","pip"],V4=Y5(n=>Array.isArray(n)?n.filter(s=>fg.includes(s)):n,Ft(Vn(fg)).optional()),B4=ke({availableDisplayModes:V4,toolInputPartial:W().optional(),toolCancelled:W().optional(),hostContextChanged:W().optional(),resourceTeardown:W().optional(),toolInfo:W().optional(),openLinks:W().optional(),serverTools:W().optional(),serverResources:W().optional(),logging:W().optional(),updateModelContext:W().optional(),message:W().optional(),sandboxPermissions:W().optional(),cspFrameDomains:W().optional(),cspBaseUriDomains:W().optional(),cspConnectDomains:ke({fetch:W().optional(),xhr:W().optional(),websocket:W().optional()}).optional(),cspResourceDomains:ke({script:W().optional(),stylesheet:W().optional(),image:W().optional(),font:W().optional(),media:W().optional()}).optional(),resourceCacheTtl:W().optional(),toolResult:ke({structuredContent:W().optional(),content:ke({text:W().optional(),image:W().optional(),audio:W().optional(),resource:W().optional(),resourceLink:W().optional()}).optional()}).optional(),resourcePrefersBorder:W().optional(),downloadFile:W().optional(),requestTeardown:W().optional(),safeAreaInsets:W().optional(),widgetDisplayModeRequests:Vn(["accept","user-initiated-only","decline"]).optional().catch(void 0)}),Fu=ke({model:W(),ui:W()}),H4=ke({toolImageContent:Fu,embeddedResourceImages:Fu,resourceLinkImages:Fu,placement:Vn(["none","collapsed","inline"]).catch("none")}),q4=ke({status:Vn(["supported","unsupported","limited"]),mcpAppsEquivalent:q().optional(),note:q().optional()}),Va=qt(q(),q4),G4=ke({profileLabel:q().min(1),sourceUrl:q().min(1),sourceUpdatedAt:ca(),componentBridge:Va,toolDescriptorMeta:Va,toolAnnotations:Va,componentResourceMeta:Va,cspProperties:Va,hostProvidedToolResultMeta:Va,clientProvidedMeta:Va,deployment:ke({supportedUiStandards:Ft(q()),productionAuthentication:Ft(q()),developmentAuthentication:Ft(q()),widgetHostPattern:q(),oauthRedirectUris:Ft(ke({surface:q(),uri:q()})),entraSsoRedirectUris:Ft(ke({surface:q(),uri:q()})),minimumAgentsToolkitVersion:q(),defaultToolDiscovery:q(),notes:Ft(q())})}),F4=ke({id:q().min(1),label:q().min(1),provenance:Vn(["observed","probe","vendor-doc","assumed"]).catch("assumed"),rendersMcpApps:W(),supportedProtocolVersions:Ft(q()).optional(),verifiedAt:ca().optional(),imageSupport:H4.optional(),compatibilityEvidence:G4.optional(),styleVariablesByTheme:ke({light:qt(q(),q()).optional(),dark:qt(q(),q()).optional()}).optional()}),Y4=ke({profileVersion:ca().optional(),apps:ke({mcpAppsOverrides:B4.optional()}).passthrough().optional()}).passthrough(),X4=ke({hostStyle:q().min(1),modelId:q(),systemPrompt:q(),temperature:ca(),requireToolApproval:W(),respectToolVisibility:W(),progressiveToolDiscovery:W().optional(),serverIds:Ft(q()),optionalServerIds:Ft(q()),builtInToolIds:Ft(q()),modelVisibleMcpToolResults:Nn().optional(),mcpToolResultImageRendering:Nn().optional(),computer:ke({kind:xg("personal"),workdir:q().optional()}).optional(),harness:Vn(K5).optional(),connectionDefaults:ke({headers:qt(q(),q()),requestTimeout:ca()}),clientCapabilities:qt(q(),Nn()),hostContext:qt(q(),Nn()),hostCapabilitiesOverride:qt(q(),Nn()).optional(),chatUiOverride:qt(q(),Nn()).optional(),mcpProfile:Y4.optional(),serverConnectionOverrides:qt(q(),ke({headersOverride:qt(q(),q()).optional(),requestTimeoutOverride:ca().optional(),mcpProtocolVersionOverride:q().optional()})).optional()}),K4=tb(F4,X4),Z4=ke({hostsById:qt(q(),K4)}),Q4=ke({schemaVersion:xg(2),version:ca(),contentHash:q(),publishedAt:ca(),catalog:Z4,source:q().optional()}),E2="https://app.mcpjam.com",k2=`${E2}/api/v1`,F6=Object.freeze({apiUrl:k2,baseUrl:E2}),J4=k2,Y6=`mcpjam-sdk/${X5()}`;function W4(n){const s=n!==null&&typeof n=="object"&&!Array.isArray(n)?n.schemaVersion:void 0;console.warn("[host-catalog] rejected live catalog envelope",{reason:typeof s=="number"&&s!==2?"schema_version_mismatch":"invalid_envelope",schemaVersion:s,expectedSchemaVersion:2})}async function X6(n){const s=(n?.baseUrl??J4).replace(/\/+$/,""),l=n?.timeoutMs??3e3,u=n?.fetchImpl??globalThis.fetch?.bind(globalThis);if(typeof u!="function")return{ok:!1,reason:"network"};const p=new AbortController,f=setTimeout(()=>p.abort(),l);try{const A=await u(`${s}/host-catalog`,{method:"GET",headers:{accept:"application/json"},signal:p.signal});if(!A.ok)return{ok:!1,reason:"unavailable"};let T;try{T=await A.json()}catch{return p.signal.aborted?{ok:!1,reason:"timeout"}:{ok:!1,reason:"invalid"}}const M=Q4.safeParse(T);return M.success?{ok:!0,catalog:T2(M.data.catalog),version:M.data.version,contentHash:M.data.contentHash,publishedAt:M.data.publishedAt,source:M.data.source??"live"}:(W4(T),{ok:!1,reason:"invalid"})}catch{return{ok:!1,reason:p.signal.aborted?"timeout":"network"}}finally{clearTimeout(f)}}var $4=[{key:"serverTools",patterns:[/tools\/call/,/\bcallTool\b/,/\bcallServerTool\b/]},{key:"serverResources",patterns:[/resources\/read/,/\breadResource\b/]},{key:"message",patterns:[/ui\/message/,/\bsendFollowUpMessage\b/i]},{key:"updateModelContext",patterns:[/ui\/update-model-context/,/\bsetWidgetState\b/]},{key:"openLinks",patterns:[/ui\/open-link/,/\bopenExternal\b/]},{key:"downloadFile",patterns:[/ui\/download-file/,/\bgetFileDownloadUrl\b/,/\buploadFile\b/]},{key:"logging",patterns:[/notifications\/message/]}];function e3(n){const s=new Set;for(const{key:l,patterns:u}of $4)u.some(p=>p.test(n))&&s.add(l);return s}function t3(n){const s=new Set,l=n?.ui,u=l?.csp?.frameDomains;Array.isArray(u)&&u.length>0&&s.add("cspFrameDomains");const p=l?.permissions;return p&&typeof p=="object"&&Object.keys(p).length>0&&s.add("sandboxPermissions"),s}function o3(n){const s=n?.ui?.permissions;return!s||typeof s!="object"||Array.isArray(s)?new Set:new Set(Object.keys(s).filter(l=>l.length>0))}function a3(n){const s=Qr(n);if(s)return s;const l=n?.["openai/outputTemplate"];return typeof l=="string"&&l.length>0?l:void 0}function n3(n){if(typeof n.text=="string")return n.text;if(typeof n.blob=="string")try{return atob(n.blob)}catch{return""}return""}async function K6(n,s){if(!n?.tools)return;const l=new Map;for(const A of n.tools){const T=a3(n.toolsMetadata?.[A.name]??A._meta);T&&l.set(T,[...l.get(T)??[],A.name])}if(l.size===0)return{};const u={},p=(A,T)=>{u[A]=Array.from(new Set([...u[A]??[],...T]))},f=(A,T)=>{if(A.size===0)return;const M=u.sandboxPermissionTools??{};for(const _ of A)M[_]=Array.from(new Set([...M[_]??[],...T])).sort();u.sandboxPermissionTools=M,u.sandboxPermissionNames=Object.keys(M).sort()};return(await Promise.all(Array.from(l.entries()).map(async([A,T])=>{try{const M=(await s(A))?.contents?.[0];if(!M)return!1;const _=new Set([...e3(n3(M)),...t3(M._meta)]);f(o3(M._meta),T);for(const I of _)p(I,T);return!0}catch{return!1}}))).every(Boolean)?u:void 0}var Fr=ai,qs=Xv,Gs=Kv,r3=Zv,zt=Zr,i3=Jv,s3=Qv,l3={availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"},c3={availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!0,logging:!0,updateModelContext:!1,message:!0,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!1,resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"},Hr={updateModelContext:{text:{},image:{},resourceLink:{},resource:{},structuredContent:{}},message:{text:{},image:{},resourceLink:{},resource:{}}},ge={claude:{mcpAppsCapabilities:qs},"claude-desktop":{mcpAppsCapabilities:qs},"claude-code":{mcpAppsCapabilities:Fr},"claude-code-desktop":{mcpAppsCapabilities:qs},"claude-code-web":{mcpAppsCapabilities:qs},chatgpt:{mcpAppsCapabilities:Gs,hostCapabilitiesReplacement:Hr},"chatgpt-desktop":{mcpAppsCapabilities:Gs,hostCapabilitiesReplacement:Hr},"chatgpt-work":{mcpAppsCapabilities:Gs,hostCapabilitiesReplacement:Hr},"chatgpt-work-desktop":{mcpAppsCapabilities:Gs,hostCapabilitiesReplacement:Hr},mistral:{mcpAppsCapabilities:{...Fr,availableDisplayModes:["inline","fullscreen"],toolCancelled:!1,resourceTeardown:!1,toolInfo:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},hostCapabilitiesAugment:{message:{image:{}}}},goose:{mcpAppsCapabilities:s3},slack:{mcpAppsCapabilities:l3},gemini:{mcpAppsCapabilities:c3},cursor:{mcpAppsCapabilities:r3,hostCapabilitiesAugment:{serverTools:{listChanged:!1},serverResources:{listChanged:!1}}},"copilot-cli":{mcpAppsCapabilities:zt},"cursor-cli":{mcpAppsCapabilities:zt},"codex-cli":{mcpAppsCapabilities:zt},opencode:{mcpAppsCapabilities:zt},copilot:{mcpAppsCapabilities:i3},codex:{mcpAppsCapabilities:{...Fr,serverResources:!1,logging:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0}},hostCapabilitiesReplacement:Hr},vscode:{mcpAppsCapabilities:Wv,hostCapabilitiesAugment:{serverTools:{listChanged:!0},serverResources:{listChanged:!0}},hostCapabilitiesReplacement:{updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}}}},agentcore:{mcpAppsCapabilities:zt},n8n:{mcpAppsCapabilities:zt},perplexity:{mcpAppsCapabilities:zt},cline:{mcpAppsCapabilities:zt},notion:{mcpAppsCapabilities:zt},muse:{mcpAppsCapabilities:zt},grokbot:{mcpAppsCapabilities:zt},mcpjam:{mcpAppsCapabilities:Fr}},M2={};function od(n,s,l){const u={};if(n.openLinks&&(u.openLinks={}),n.serverTools&&(u.serverTools={}),n.serverResources&&(u.serverResources={}),n.logging&&(u.logging={}),n.updateModelContext&&(u.updateModelContext={text:{}}),n.message&&(u.message={text:{}}),n.downloadFile&&(u.downloadFile={}),s)for(const[p,f]of Object.entries(s))u[p]!==void 0&&(u[p]={...u[p],...f});if(l)for(const[p,f]of Object.entries(l))u[p]!==void 0&&(u[p]=f);return u}function u3(n,s){if(!s)return n;const l=s.availableDisplayModes,u=l!==void 0?l.length>0?l:["inline"]:n.availableDisplayModes,p=n.cspConnectDomains||s.cspConnectDomains?{...n.cspConnectDomains,...s.cspConnectDomains}:void 0,f=n.cspResourceDomains||s.cspResourceDomains?{...n.cspResourceDomains,...s.cspResourceDomains}:void 0,A=n.toolResult||s.toolResult?{...n.toolResult,...s.toolResult,...n.toolResult?.content||s.toolResult?.content?{content:{...n.toolResult?.content,...s.toolResult?.content}}:{}}:void 0;return{availableDisplayModes:u,toolInputPartial:s.toolInputPartial??n.toolInputPartial,toolCancelled:s.toolCancelled??n.toolCancelled,hostContextChanged:s.hostContextChanged??n.hostContextChanged,resourceTeardown:s.resourceTeardown??n.resourceTeardown,toolInfo:s.toolInfo??n.toolInfo,openLinks:s.openLinks??n.openLinks,serverTools:s.serverTools??n.serverTools,serverResources:s.serverResources??n.serverResources,logging:s.logging??n.logging,updateModelContext:s.updateModelContext??n.updateModelContext,message:s.message??n.message,sandboxPermissions:s.sandboxPermissions??n.sandboxPermissions,cspFrameDomains:s.cspFrameDomains??n.cspFrameDomains,cspBaseUriDomains:s.cspBaseUriDomains??n.cspBaseUriDomains,cspConnectDomains:p,cspResourceDomains:f,toolResult:A,resourcePrefersBorder:s.resourcePrefersBorder??n.resourcePrefersBorder,downloadFile:s.downloadFile??n.downloadFile,requestTeardown:s.requestTeardown??n.requestTeardown,safeAreaInsets:s.safeAreaInsets??n.safeAreaInsets,widgetDisplayModeRequests:s.widgetDisplayModeRequests??n.widgetDisplayModeRequests}}function d3(n,s){const l=s(n.hostStyle)?.mcpAppsCapabilities,u=n.profile?.apps?.mcpAppsOverrides;return u3(l??(u!==void 0?zt:Fr),u)}function Z6(n,s){if(n.profile?.apps?.mcpAppsOverrides!==void 0){const u=d3({profile:n.profile,hostStyle:n.hostStyle},s),p=s(n.hostStyle);return od(u,p?.hostCapabilitiesAugment,p?.hostCapabilitiesReplacement)}if(n.hostCapabilitiesOverride!==void 0){const{sandbox:u,...p}=n.hostCapabilitiesOverride;return p}const l=s(n.hostStyle);return l?od(l.mcpAppsCapabilities,l.hostCapabilitiesAugment,l.hostCapabilitiesReplacement):M2}var ii={callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"all",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!0,uploadFile:!0,selectFiles:!0,getFileDownloadUrl:!0,requestCheckout:!0,requestClose:!0},p3={callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"fullscreen-only",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!1,uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,requestClose:!0},R2={...ii,notifyIntrinsicHeight:!1,setOpenInAppUrl:!1,uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1},I2="/chatgpt_desktop_logo.png",f3="/muse_logo.png",g3="/grokbot_logo.png",gg="/opencode-logo-light.svg",h3="/opencode-logo-dark.svg",m3={id:"claude-code-desktop",mcp:{protocolOverride:fe.MCP_APPS,platform:$s,fontCss:"",...ge["claude-code-desktop"],resolveStyleVariables:ti},chatUi:{label:"Claude Code Desktop",shortLabel:"Claude Code Desktop-style host",pickerDescription:"Claude Code in the Claude desktop app",logoSrc:Ig,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:cd}},b3={id:"claude-code-web",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge["claude-code-web"],resolveStyleVariables:ti},chatUi:{label:"Claude Code Web",shortLabel:"Claude Code Web-style host",pickerDescription:"Claude Code Web in the browser",logoSrc:Rg,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:cd}},v3={id:"chatgpt-desktop",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"desktop",fontCss:"",...ge["chatgpt-desktop"],resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:R2}},chatUi:{label:"ChatGPT Desktop",shortLabel:"ChatGPT Desktop-style host",pickerDescription:"ChatGPT desktop app chrome",logoSrc:I2,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},y3={id:"chatgpt-work",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"web",fontCss:"",...ge["chatgpt-work"],resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ii}},chatUi:{label:"ChatGPT Work",shortLabel:"ChatGPT Work-style host",pickerDescription:"ChatGPT Work in the browser",logoSrc:Dg,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},x3={id:"chatgpt-work-desktop",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"desktop",fontCss:"",...ge["chatgpt-work-desktop"],resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:R2}},chatUi:{label:"ChatGPT Work Desktop",shortLabel:"ChatGPT Work Desktop-style host",pickerDescription:"ChatGPT work mode in the desktop app",logoSrc:I2,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},S3={id:"codex-cli",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge["codex-cli"],resolveStyleVariables:Ro},chatUi:{label:"Codex CLI",shortLabel:"Codex CLI-style host",pickerDescription:"OpenAI Codex in a terminal",logoSrc:zg,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:tl}},A3={id:"opencode",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.opencode,resolveStyleVariables:uo},chatUi:{label:"OpenCode",shortLabel:"OpenCode-style host",pickerDescription:"The OpenCode coding agent in a terminal",logoSrc:gg,logoSrcByTheme:{light:gg,dark:h3},family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:ri}},T3={id:"muse",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.muse,resolveStyleVariables:uo},chatUi:{label:"Muse",shortLabel:"Muse-style host",pickerDescription:"Muse MCP client (tools-only)",logoSrc:f3,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:ri}},C3={id:"grokbot",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.grokbot,resolveStyleVariables:uo},chatUi:{label:"Grokbot",shortLabel:"Grokbot-style host",pickerDescription:"Grokbot MCP client (tools-only)",logoSrc:g3,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:ri}},Q6={light:"border border-[#DFDFDB] bg-white shadow-[0_1px_2px_rgba(0,0,0,0.05),0_4px_20px_rgba(110,110,110,0.08)]",dark:"border-[#4b463d] bg-[#30302E] shadow-[0_1px_2px_rgba(0,0,0,0.28),0_4px_22px_rgba(120,120,120,0.12)]"},J6={light:"border border-neutral-200/90 bg-white shadow-[0_1px_2px_rgba(0,0,0,0.04),0_4px_22px_rgba(100,100,100,0.08)]",dark:"border border-white/10 bg-[#303030] shadow-[0_1px_2px_rgba(0,0,0,0.28),0_4px_24px_rgba(130,130,130,0.14)]"},_3={id:"claude",mcp:{protocolOverride:fe.MCP_APPS,platform:$s,fontCss:"",...ge.claude,resolveStyleVariables:ti},chatUi:{label:"Claude",shortLabel:"Claude-style host",pickerDescription:"Claude-style swarm chrome",logoSrc:Rg,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:f2}},w3={id:"claude-desktop",mcp:{protocolOverride:fe.MCP_APPS,platform:$s,fontCss:"",...ge["claude-desktop"],resolveStyleVariables:ti},chatUi:{label:"Claude Desktop",shortLabel:"Claude Desktop-style host",pickerDescription:"Claude desktop app chrome",logoSrc:Ig,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:f2}},E3={id:"claude-code",mcp:{protocolOverride:fe.MCP_APPS,platform:$s,fontCss:"",...ge["claude-code"],resolveStyleVariables:ti},chatUi:{label:"Claude Code",shortLabel:"Claude Code-style host",pickerDescription:"Anthropic Claude Code CLI chrome",logoSrc:zb,family:"claude",resolveChatBackground:n=>oi[n],loadingIndicator:cd}},k3={id:"chatgpt",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"web",fontCss:"",...ge.chatgpt,resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ii}},chatUi:{label:"ChatGPT",shortLabel:"ChatGPT-style host",pickerDescription:"OpenAI-style swarm chrome",logoSrc:Dg,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},M3={id:"mistral",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.mistral,resolveStyleVariables:i4},chatUi:{label:"Mistral",shortLabel:"Mistral-style host",pickerDescription:"Mistral web host",logoSrc:Ub,family:"chatgpt",resolveChatBackground:n=>s4[n],loadingIndicator:A4}},R3={id:"goose",mcp:{protocolOverride:fe.MCP_APPS,platform:i2,fontCss:c2,...ge.goose,resolveStyleVariables:l4},chatUi:{label:"Goose",shortLabel:"Goose-style host",pickerDescription:"Goose Desktop host",logoSrc:G0,logoSrcByTheme:{light:G0,dark:Nb},family:"chatgpt",resolveChatBackground:n=>c4[n],loadingIndicator:h4}},I3={id:"slack",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:p2,...ge.slack,resolveStyleVariables:u4},chatUi:{label:"Slackbot",shortLabel:"Slackbot-style host",pickerDescription:"Slackbot MCP host",logoSrc:Fb,family:"chatgpt",resolveChatBackground:n=>d4[n],loadingIndicator:tl}},D3={id:"cursor",mcp:{protocolOverride:fe.MCP_APPS,platform:e2,fontCss:"",...ge.cursor,resolveStyleVariables:o2},chatUi:{label:"Cursor",shortLabel:"Cursor-style host",pickerDescription:"Cursor IDE chat panel chrome",logoSrc:Og,family:"chatgpt",resolveChatBackground:n=>t2[n],loadingIndicator:ud}},O3={id:"cursor-cli",mcp:{protocolOverride:fe.MCP_APPS,platform:e2,fontCss:"",...ge["cursor-cli"],resolveStyleVariables:o2},chatUi:{label:"Cursor CLI",shortLabel:"Cursor CLI-style host",pickerDescription:"Cursor coding CLI chrome",logoSrc:Og,family:"chatgpt",resolveChatBackground:n=>t2[n],loadingIndicator:ud}},hg={id:"copilot",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"web",fontCss:"",...ge.copilot,resolveStyleVariables:Ro,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:p3}},chatUi:{label:"Copilot",shortLabel:"Copilot-style host",pickerDescription:"Microsoft 365 Copilot chrome",logoSrc:Lb,family:"chatgpt",resolveChatBackground:n=>n==="dark"?"rgba(48, 48, 48, 1)":Ha.light,loadingIndicator:m4}},z3={id:"codex",mcp:{protocolOverride:fe.OPENAI_SDK,platform:"web",fontCss:"",...ge.codex,resolveStyleVariables:Ro},chatUi:{label:"Codex",shortLabel:"Codex-style host",pickerDescription:"OpenAI Codex CLI-style chrome",logoSrc:zg,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:tl}},U3={id:"vscode",mcp:{protocolOverride:fe.MCP_APPS,platform:n4,fontCss:"",...ge.vscode,resolveStyleVariables:a4},chatUi:{label:"VS Code",shortLabel:"VS Code-style host",pickerDescription:"Visual Studio Code chat panel chrome",logoSrc:jb,family:"chatgpt",resolveChatBackground:n=>r4[n],loadingIndicator:ud}},N3={id:"agentcore",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.agentcore,resolveStyleVariables:uo},chatUi:{label:"AgentCore",shortLabel:"AgentCore-style host",pickerDescription:"AWS Bedrock AgentCore runtime (text servers only)",logoSrc:Vb,family:"claude",resolveChatBackground:n=>po[n],loadingIndicator:tl}},L3={id:"n8n",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.n8n,resolveStyleVariables:uo},chatUi:{label:"n8n",shortLabel:"n8n-style host",pickerDescription:"n8n MCP Client Tool (tools-only)",logoSrc:Bb,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:b4}},P3={id:"gemini",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.gemini,resolveStyleVariables:uo},chatUi:{label:"Gemini",shortLabel:"Gemini-style host",pickerDescription:"Gemini (MCP Apps, no sandbox capability)",logoSrc:Xb,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:ri}},j3={id:"perplexity",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.perplexity,resolveStyleVariables:uo},chatUi:{label:"Perplexity",shortLabel:"Perplexity-style host",pickerDescription:"Perplexity MCP client (tools-only)",logoSrc:Hb,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:y4}},V3={id:"cline",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.cline,resolveStyleVariables:uo},chatUi:{label:"Cline",shortLabel:"Cline-style host",pickerDescription:"Cline MCP client (tools-only)",logoSrc:Y0,logoSrcByTheme:{light:Y0,dark:qb},family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:x4}},B3={id:"notion",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.notion,resolveStyleVariables:uo},chatUi:{label:"Notion",shortLabel:"Notion-style host",pickerDescription:"Notion AI agent (tools-only)",logoSrc:Gb,family:"chatgpt",resolveChatBackground:n=>po[n],loadingIndicator:S4}},D2={id:"mcpjam",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge.mcpjam,resolveStyleVariables:uo,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ii}},chatUi:{label:"MCPJam",shortLabel:"MCPJam-style host",pickerDescription:"Inspector's house chrome",logoSrc:Yb,family:"claude",resolveChatBackground:n=>po[n],loadingIndicator:ri}},H3=[D2,_3,k3,v3,y3,x3,M3,R3,I3,D3,O3,{id:"copilot-cli",mcp:{protocolOverride:fe.MCP_APPS,platform:"web",fontCss:"",...ge["copilot-cli"],resolveStyleVariables:Ro},chatUi:{...hg.chatUi,label:"GitHub Copilot CLI",shortLabel:"GitHub Copilot CLI",pickerDescription:"GitHub Copilot CLI in a hosted sandbox",logoSrc:F0,logoSrcByTheme:{light:F0,dark:Pb}}},hg,z3,S3,A3,E3,m3,b3,w3,U3,N3,L3,P3,j3,V3,B3,T3,C3],q3="#F2735B",G3={1:[0],2:[0,150],3:[0,150,300]};function F3({def:n,className:s}){if(n.kind==="dots"){const u=n.color??q3,p=n.count===1||n.count===2||n.count===3?n.count:3,f=G3[p];return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-1",s),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-dispatch-dots","data-dot-count":p,className:"inline-flex items-center gap-1",children:f.map((A,T)=>(0,C.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full animate-thinking-dot-pulse",style:{backgroundColor:u,animationDelay:`${A}ms`}},T))})]})}const l=n.animation==="spin"?"animate-spin":n.animation==="none"?"":"animate-pulse";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",s),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("img",{src:n.src,alt:"","aria-hidden":"true","data-testid":"loading-indicator-dispatch-image","data-animation":n.animation??"pulse",className:We("h-5 w-5 object-contain",l)})]})}var ol=new Map;for(const n of H3)ol.set(n.id,n);var O2=D2;function pd(n){if(n)return ol.get(n)}function Y3(n){return pd(n)??O2}function W6(n){const s=pd(n);return s?od(s.mcp.mcpAppsCapabilities,s.mcp.hostCapabilitiesAugment,s.mcp.hostCapabilitiesReplacement):M2}function $6(n){const s=pd(n)?.mcp.compatRuntime;return s?.openaiApps?{injected:!0,capabilities:s.openaiAppsCapabilities??ii}:{injected:!1}}function e8(n,s){return Hn({hostStyle:n,chatUiOverride:s}).chatUi.loadingIndicator}function t8(n){return typeof n=="string"&&ol.has(n)}function X3(){return Array.from(ol.values())}function Hn(n){const s=Y3(n.hostStyle),l=n.chatUiOverride;if(!l)return s;const u=l.family??s.chatUi.family,p=l.chatBackground,f=p?E=>p[E]:s.chatUi.resolveChatBackground,A=l.indicator!==void 0?K3(l.indicator):s.chatUi.loadingIndicator,T={label:l.label??s.chatUi.label,shortLabel:l.shortLabel??s.chatUi.shortLabel,pickerDescription:l.pickerDescription??s.chatUi.pickerDescription,logoSrc:l.logoSrc??s.chatUi.logoSrc,logoSrcByTheme:l.logoSrc!==void 0?void 0:s.chatUi.logoSrcByTheme,family:u,resolveChatBackground:f,loadingIndicator:A},M=l.styleVariables,_=M?E=>M[E]:s.mcp.resolveStyleVariables,I={...s.mcp,fontCss:l.fontCss??s.mcp.fontCss,resolveStyleVariables:_};return{id:s.id,chatUi:T,mcp:I}}function K3(n){function s({className:l}){return(0,U.createElement)(F3,{def:n,className:l})}return s.displayName=`CustomHostIndicator(${n.kind})`,s}function Z3(n){if(typeof n!="string")return null;const s=n.trim();return s.length>0?s:null}function o8(n,s){return Hn({hostStyle:n,chatUiOverride:s}).chatUi.label}function Q3(n,s,l){return J3(Hn({hostStyle:n,chatUiOverride:s}).chatUi,l)}function J3(n,s){return s?n.logoSrcByTheme?.[s]??n.logoSrc:n.logoSrc}function W3(n){const s=n.trim().toLowerCase().replace(/\s+/g,"");if(!s)return null;for(const l of X3()){const u=l.id.toLowerCase(),p=l.chatUi.label.toLowerCase().replace(/\s+/g,""),f=l.chatUi.shortLabel.toLowerCase().replace(/\s+/g,"");if(s===u||s===p||s===f)return l.id}return null}function a8(n,s){const l=W3(n);return l?Q3(l,void 0,s):null}function n8(n,s){return n?Hn({hostStyle:n,chatUiOverride:s}).chatUi.family:null}function r8(n,s,l){if(n)return Hn({hostStyle:n,chatUiOverride:l}).chatUi.resolveChatBackground(s)}function i8(n,s,l){const u=Hn({hostStyle:n,chatUiOverride:l}),p=u.mcp.resolveStyleVariables(s),f=u.chatUi.resolveChatBackground(s),A=p,T=(M,_)=>A[M]??_;return{"--background":f,"--foreground":T("--color-text-primary",f),"--card":T("--color-background-primary",f),"--card-foreground":T("--color-text-primary",f),"--popover":T("--color-background-primary",f),"--popover-foreground":T("--color-text-primary",f),"--secondary":T("--color-background-secondary",f),"--secondary-foreground":T("--color-text-primary",f),"--muted":T("--color-background-secondary",f),"--muted-foreground":T("--color-text-secondary",f),"--accent":T("--color-background-tertiary",f),"--accent-foreground":T("--color-text-primary",f),"--border":T("--color-border-secondary",f),"--input":T("--color-border-primary",f),"--ring":T("--color-ring-primary",f),"--font-sans":T("--font-sans","ui-sans-serif, sans-serif"),"--shadow-sm":A["--shadow-sm"]??"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow":A["--shadow"]??A["--shadow-sm"]??"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow-md":A["--shadow-md"]??"0 2px 4px -1px rgba(0, 0, 0, 0.08)","--shadow-lg":A["--shadow-lg"]??"0 4px 8px -2px rgba(0, 0, 0, 0.1)"}}var z2=Q5("tester-link"),U2=z2.pattern.split("/")[1]??"user-testing",$3=z2.reserved?.[0]??"edit",N2=Cg(U2),L2=Cg($3),s8=new RegExp(`^/${N2}/[^/]+/(?!${L2}/?$)[^/]+/?$`),P2=new RegExp(`^/${N2}/[^/?#]+/(?!${L2}(?:[/?#]|$))([^/?#]+)`);function l8(n){return n===Sg}function c8(n){const s=P2.exec(n);if(!s||!s[1])return null;const l=s.index+s[0].length,u=l-s[1].length;return`${n.slice(0,u)}${Sg}${n.slice(l)}`}function e7(n){const s=n.match(P2);if(!s||!s[1])return null;try{return decodeURIComponent(s[1]).trim()||null}catch{return s[1].trim()||null}}var mg="https://app.mcpjam.com";function j2(n){return n.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_]+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")||"server"}function t7(){return typeof window>"u"?mg:window.location.protocol==="http:"||window.location.protocol==="https:"?window.location.origin:mg}var fd="mcpjam_scenario_session_v2",o7="mcp-oauth-scenario-pending",gd="mcpjam_scenario_signin_return_path_v1";function u8(n){return`scenario-enabled-optional:${n}`}function a7(n){return!!n&&typeof n=="object"&&!Array.isArray(n)&&Object.values(n).every(s=>typeof s=="string")}function n7(n){if(!n||typeof n!="object")return;const s=n.surfaces;if(!s||typeof s!="object")return;const l=s.welcome,u=l&&typeof l=="object"&&typeof l.enabled=="boolean"?{enabled:l.enabled,body:typeof l.body=="string"?l.body:""}:void 0,p=s.perTurnFeedback,f=p&&typeof p=="object"&&typeof p.enabled=="boolean"?{enabled:p.enabled,...p.style==="thumbs"?{style:"thumbs"}:{},...Xs(p,"prompt"),...Xs(p,"commentPlaceholder"),...Xs(p,"thanksMessage")}:void 0,A=s.tasks,T=A&&typeof A=="object"?A.items:void 0,M=Array.isArray(T)?{items:r7(T)}:void 0;if(!(!u&&!f&&!M))return{surfaces:{...u?{welcome:u}:{},...f?{perTurnFeedback:f}:{},...M?{tasks:M}:{}}}}function r7(n){const s=new Set,l=[];for(const u of n){if(!u||typeof u!="object")continue;const p=u.id,f=u.title;typeof p!="string"||p.length===0||typeof f!="string"||f.trim().length===0||s.has(p)||(s.add(p),l.push({id:p,title:f,...Xs(u,"hint")}))}return l}function Xs(n,s){const l=n[s];return typeof l=="string"?{[s]:l}:{}}function i7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function s7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function l7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function c7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function u7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function d7(n){return n==="project_members"?"project_members":n==="anyone_with_link"||n==="any_signed_in_with_link"?"anyone_with_link":"invited_only"}function p7(n){return e7(n)}function f7(n){if(!n||typeof n!="object")return null;const s=typeof n.scenarioId=="string"?n.scenarioId.trim():"",l=typeof n.accessVersion=="number"&&Number.isFinite(n.accessVersion)?n.accessVersion:null,u=n.payload,p=Z3(u?.hostStyle)??(u?.hostStyle==null?O2.id:null);return!s||l===null||!u||typeof u.projectId!="string"||typeof u.scenarioId!="string"||typeof u.name!="string"||p===null||typeof u.modelId!="string"||typeof u.systemPrompt!="string"||typeof u.temperature!="number"||typeof u.requireToolApproval!="boolean"||typeof u.allowGuestAccess!="boolean"||typeof u.viewerIsProjectMember!="boolean"||!Array.isArray(u.servers)?null:{scenarioId:s,accessVersion:l,payload:{projectId:u.projectId,scenarioId:u.scenarioId,name:u.name,description:typeof u.description=="string"?u.description:void 0,hostStyle:p,mode:d7(u.mode),...u.requiresSignIn!==void 0?{requiresSignIn:u.requiresSignIn===!0}:{},allowGuestAccess:u.requiresSignIn?!1:u.allowGuestAccess,viewerIsProjectMember:u.viewerIsProjectMember,systemPrompt:u.systemPrompt,modelId:u.modelId,modelReadiness:u.modelReadiness,temperature:u.temperature,requireToolApproval:u.requireToolApproval,modelVisibleMcpToolResults:s7(u.modelVisibleMcpToolResults),mcpToolResultImageRendering:l7(u.mcpToolResultImageRendering),servers:u.servers.filter(f=>!!f&&typeof f=="object"&&typeof f.serverId=="string"&&typeof f.serverName=="string").map(f=>({serverId:f.serverId,serverName:f.serverName,useOAuth:!!f.useOAuth,serverUrl:typeof f.serverUrl=="string"?f.serverUrl:null,clientId:typeof f.clientId=="string"?f.clientId:null,oauthScopes:Array.isArray(f.oauthScopes)?f.oauthScopes:null,...typeof f.oauthProtocolMode=="string"?{oauthProtocolMode:f.oauthProtocolMode}:{},...typeof f.oauthProtocolVersion=="string"?{oauthProtocolVersion:f.oauthProtocolVersion}:{},...typeof f.wireProtocolVersion=="string"?{wireProtocolVersion:f.wireProtocolVersion}:{},...typeof f.oauthResourceUrl=="string"?{oauthResourceUrl:f.oauthResourceUrl}:{},...typeof f.hasClientSecret=="boolean"?{hasClientSecret:f.hasClientSecret}:{},...a7(f.oauthCustomHeaders)?{oauthCustomHeaders:f.oauthCustomHeaders}:{},...typeof f.oauthAllowPathScopedIssuer=="boolean"?{oauthAllowPathScopedIssuer:f.oauthAllowPathScopedIssuer}:{},...typeof f.registrationMode=="string"?{registrationMode:f.registrationMode}:{},optional:!!f.optional})),chatUi:n7(u.chatUi),hostCapabilitiesOverride:i7(u.hostCapabilitiesOverride),chatUiOverride:c7(u.chatUiOverride),mcpProfile:u7(u.mcpProfile)},...typeof n.authenticatedUserId=="string"?{authenticatedUserId:n.authenticatedUserId}:{},surface:n.surface==="preview"?"preview":"share_link",shareToken:typeof n.shareToken=="string"&&n.shareToken.trim()?n.shareToken.trim():void 0}}function g7(n){try{const s=sessionStorage.getItem(n);return s?f7(JSON.parse(s)):null}catch{return null}}function V2(){return g7(fd)}function h7(n,s){sessionStorage.setItem(n,JSON.stringify(s))}function d8(n){h7(fd,n)}function p8(n){try{const s=new URL(n,window.location.href);return s.searchParams.set("surface","preview"),s.toString()}catch{return n}}function f8(n){try{return new URLSearchParams(n).get("surface")==="preview"?"preview":"share_link"}catch{return"share_link"}}function g8(){sessionStorage.removeItem(fd)}function B2(n){const s=n.trim();if(!s.startsWith("/")||s.startsWith("//")||s.includes("\\"))return null;try{const l=new URL(s,window.location.origin);return l.origin!==window.location.origin||!p7(l.pathname)?null:l.pathname+(l.searchParams.get("surface")==="preview"?"?surface=preview":"")}catch{return null}}function h8(n){const s=B2(n);if(s)try{localStorage.setItem(gd,s)}catch{}}function m8(){try{const n=localStorage.getItem(gd);if(!n)return null;const s=B2(n);return s||null}catch{return null}}function b8(){localStorage.removeItem(gd)}function v8(n,s){return`${t7()}/${U2}/${j2(s)}/${encodeURIComponent(n)}`}var m7=U.createContext(null);m7.displayName="DataRouter";var b7=U.createContext(null);b7.displayName="DataRouterState";var v7=U.createContext(null);v7.displayName="DataRouterData";var y7=U.createContext(null);y7.displayName="DataRouterNavigation";var x7=U.createContext(!1);function y8(){return U.useContext(x7)}var S7=U.createContext({isTransitioning:!1});S7.displayName="ViewTransition";var A7=U.createContext(null);A7.displayName="Fetchers";var T7=U.createContext(null);T7.displayName="Await";var H2=U.createContext(null);H2.displayName="Navigation";var ua=U.createContext(null);ua.displayName="Location";var C7=U.createContext({outlet:null,matches:[],isDataRoute:!1});C7.displayName="Route";var _7=U.createContext(!1);_7.displayName="IsDataRoute";var w7=U.createContext(void 0);w7.displayName="RouteId";var E7=U.createContext(null);E7.displayName="RouteError";var q2=null;function G2(){return q2}function x8(n){q2=n}var F2=[{id:"home",scope:"project",canonicalPath:"/home",routePatterns:["/","home"],navSegments:["home"],title:"Home",purpose:"The landing screen: a chat box plus an overview of the workspace and what changed recently.",userActivities:["See workspace counts (teammates, projects, servers, eval suites, recent tool executions)","Start a chat with this assistant","Read What's New updates","Connect a recommended MCP server or create a recommended host"],agentTools:{kind:"none",reason:"Overview screen; the primary agent entry is the chat itself — no workflow mutations to drive here."},showInAtlas:!0},{id:"servers",scope:"project",canonicalPath:"/servers",routePatterns:["servers","servers/plugins/:pluginId","servers/:serverId"],navSegments:["servers","client-config"],title:"Connect",purpose:"Connect and manage the MCP servers in the current project. The starting point for most work — most other screens act on a server connected here.",userActivities:["Add an MCP server by URL (HTTP) or command (STDIO)","Connect, disconnect, reconnect, or remove a server","Authorize a server that requires OAuth","Edit a server's transport, headers, environment variables, or auth method","Inspect a connection's status and configuration"],agentTools:{kind:"global"},showInAtlas:!0},{id:"hosts",scope:"project",canonicalPath:"/hosts",routePatterns:["hosts","hosts/:hostId"],navSegments:["clients"],title:"Hosts",purpose:"Model an MCP client/host (Claude, ChatGPT, Cursor, …) and configure how it behaves — its model, tools, and capabilities.",userActivities:["Create a host from a client template","Open a host's editor to set its model, system prompt, and behavior (tool approval, tool discovery)","Attach or detach the project's servers on a host","Duplicate or delete a host","Deep-link to a specific host's canvas"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"host-compare",scope:"global",canonicalPath:"/host-compare",routePatterns:["host-compare","capabilities/:capabilitySlug"],navSegments:["host-compare"],title:"Compare",purpose:"Compare MCP feature support across hosts — which clients implement which parts of the protocol.",userActivities:["Compare capability support across several hosts","Open a single capability's support page"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only comparison matrix; nothing to operate, but snapshot-only for observability so the agent can see which hosts and capabilities are being compared."},showInAtlas:!0},{id:"computer",scope:"project",canonicalPath:"/computer",routePatterns:["computer"],navSegments:["computer"],title:"Computer",purpose:"A project's cloud sandbox — the environment that runs STDIO servers, skills, and agent harnesses.",userActivities:["Start or hibernate the project's computer","Reset or delete the computer","Open a terminal (human-only)"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"registry",scope:"project",canonicalPath:"/registry",routePatterns:["registry"],navSegments:["registry"],title:"Registry",purpose:"Browse organization-shared MCP servers and mirrors of the Claude and ChatGPT connector directories, and install them into the current project.",userActivities:["Share a server with the organization","Search a mirrored connector directory (Claude or ChatGPT) by name, description, tool or skill name","Switch between the Claude and ChatGPT directories","Install a directory or organization server into the project","Choose which endpoint a multi-region connector uses, or enter their own instance URL"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"playground",scope:"project",canonicalPath:"/playground",routePatterns:["playground"],navSegments:["playground","chat"],title:"Playground",purpose:"Test a connected MCP server against a real model, and preview MCP Apps / ChatGPT apps UI. This is where tool calls are actually run and their results rendered.",userActivities:["Chat with a model that has the selected servers' tools","Select a tool and fill in its parameters","Execute a tool and inspect the result","Emulate app context: theme, device, display mode, locale, time zone"],hasSnapshotProvider:!0,agentTools:{kind:"global"},showInAtlas:!0},{id:"triggers",scope:"project",canonicalPath:"/triggers",routePatterns:["triggers"],navSegments:["triggers"],title:"Triggers",purpose:"Run an agent unattended on MCPJam's hosted runner whenever a subscribed MCP event arrives, and review each run.",userActivities:["Create a trigger on an event subscription with instructions, a model and budgets","Enable, disable, edit or delete a trigger","Browse a trigger's run history and a run's tool calls, result and parked reason"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:"Triggers spend money and act unattended on a member's credentials; configuring them stays a deliberate human action."},showInAtlas:!0},{id:"scenarios",scope:"project",canonicalPath:"/user-testing",routePatterns:["user-testing","user-testing/new","user-testing/:scenarioId/edit","user-testing/:scenarioId"],navSegments:["scenarios"],title:"User Testing",purpose:"Share a scenario — one client, one server — with real people, then review the sessions they had with it.",userActivities:["Create a scenario (pick a server, a client, and who can open it)","Browse the project's user-testing scenarios and how many testers each has had","Open a scenario to copy its share link or invite testers by email","Review a scenario's tester sessions (trace, chat, raw)","Review the feedback clusters across one scenario's sessions","Delete a scenario (unpublish it; the client stays in Connect)"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"swarms",scope:"project",canonicalPath:"/swarms",routePatterns:["swarms","swarms/new","swarms/:swarmId"],navSegments:["swarms"],title:"Swarms",purpose:"Run many simulated agent sessions against your hosts at scale: define a persona, give it a goal across one or more hosts, launch a run, and review how each session did.",userActivities:["Create a persona (a simulated user with a role and personality)","Set up a goal a persona pursues across one or more hosts","Launch a goal run that fans out many sessions and spends quota","Open a Swarm Run detail to review score, insights, and sessions","Review each run's sessions, readiness, and goal-completion scores","Promote a strong session into an eval test case"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"project-environments",scope:"project",canonicalPath:"/environments",routePatterns:["environments","environments/:environmentId"],navSegments:["environments"],title:"Environments",purpose:"Manage the project's environments — named bundles of one client, an optional server group, and optional pinned skills that eval suites and goals run against.",userActivities:["Create or edit an environment (name, client, server group, skills)","Archive or restore an environment","Review which client and server group an environment resolves to"],agentTools:{kind:"none",reason:"Admin-flavored configuration surface behind a rollout flag; no agent automation until the feature is generally available."},showInAtlas:!1},{id:"sessions",scope:"project",canonicalPath:"/sessions",routePatterns:["sessions"],navSegments:["sessions"],title:"Sessions",purpose:"Browse every conversation in the project in one feed — Playground chats, User Testing sessions, eval iterations, and swarm runs — filter by source, and search by title.",userActivities:["Browse the project's sessions across all surfaces, newest first","Filter sessions by source (Playground, User Testing, Eval, Swarm) or status","Search sessions by title","Open a session to review its transcript"],agentTools:{kind:"none",reason:"Read-only browse surface behind a rollout flag; no agent automation until the unified feed is generally available."},showInAtlas:!1},{id:"evals",scope:"project",canonicalPath:"/evals",routePatterns:["evals","evals/create","evals/suite/:suiteId","evals/suite/:suiteId/settings","evals/suite/:suiteId/settings/evaluators","evals/suite/:suiteId/runs/:runId","evals/suite/:suiteId/test/:testId","evals/suite/:suiteId/test/:testId/edit","evals/runs","evals/runs/create","evals/runs/commit/:commitSha","evals/runs/suite/:suiteId","evals/runs/suite/:suiteId/settings","evals/runs/suite/:suiteId/settings/evaluators","evals/runs/suite/:suiteId/runs/:runId","evals/runs/suite/:suiteId/test/:testId","evals/runs/suite/:suiteId/test/:testId/edit"],navSegments:["evals"],title:"Legacy eval links",purpose:"Compatibility routes for saved eval links that redirect to Evaluate.",userActivities:["Open a saved suite or run link in Evaluate"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!1},{id:"evaluate",scope:"project",canonicalPath:"/evaluate",routePatterns:["evaluate","evaluate/create","evaluate/eval-server/:serverId","evaluate/suite/:suiteId","evaluate/suite/:suiteId/settings","evaluate/suite/:suiteId/settings/evaluators","evaluate/suite/:suiteId/runs/:runId","evaluate/suite/:suiteId/runs/:runId/compare","evaluate/suite/:suiteId/runs/:runId/cases/:caseId","evaluate/suite/:suiteId/runs/:runId/cases/:caseId/iterations/:iterationId","evaluate/suite/:suiteId/test/:testId","evaluate/suite/:suiteId/test/:testId/edit"],navSegments:["evaluate"],title:"Evaluate",purpose:"Create and run eval suites, configure grading in Suite Settings, and review run history, case results, and comparisons.",userActivities:["Browse eval suites from the landing table","Start a first-run preview from a connected server","Create a suite on the full-page create flow","Open a suite's overview to see its run history and cases","Open a run to inspect each step, tool call, and score"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:'Uses the snapshot and tool group registered under surfaceId "evals".'},showInAtlas:!0},{id:"tools",scope:"project",canonicalPath:"/tools",routePatterns:["tools"],navSegments:["tools"],title:"Tools",purpose:"List and invoke the tools a connected MCP server exposes, without a model in the loop.",userActivities:["Browse a server's tools","Invoke a tool directly"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Snapshot-only: tool EXECUTION is already covered by the global ui_execute_tool, so a screen tool would duplicate it — this surface only exposes state (its tools, selection, last result) via ui_snapshot_app."},showInAtlas:!0},{id:"resources",scope:"project",canonicalPath:"/resources",routePatterns:["resources"],navSegments:["resources"],title:"Resources",purpose:"List and read the resources a connected MCP server exposes.",userActivities:["Browse a server's resources and resource templates","Read a resource, or resolve and read a template"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"prompts",scope:"project",canonicalPath:"/prompts",routePatterns:["prompts"],navSegments:["prompts"],title:"Prompts",purpose:"List and render the prompts a connected MCP server exposes.",userActivities:["Browse a server's prompts","Render a prompt with arguments"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"tasks",scope:"project",canonicalPath:"/tasks",routePatterns:["tasks"],navSegments:["tasks"],title:"Tasks",purpose:"Inspect long-running MCP tasks a connected server exposes, and their status.",userActivities:["Browse a server's tasks","Inspect a task's status"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only view of a server's long-running tasks; nothing to operate, but snapshot-only for observability so the agent can see the tasks and their statuses."},showInAtlas:!0},{id:"events",scope:"project",canonicalPath:"/events",routePatterns:["events"],navSegments:["events"],title:"Events",purpose:"Inspect the MCP Events (draft extension) a connected server declares, subscribe to them, and watch deliveries arrive live.",userActivities:["Check whether the selected server declares capabilities.events","Browse a server's event types and their input and payload schemas","Subscribe to an event by poll, push or webhook under the draft or ChatGPT profile","Pause, resume, remove or rotate the secret of a subscription","Watch the live delivery feed and rejected deliveries","Send a simulated event to a subscription"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:"Subscriptions register webhooks and hold credentials-bound upstream state; creating or removing them stays a deliberate human action while the extension is a draft."},showInAtlas:!0},{id:"skills",scope:"project",canonicalPath:"/skills",routePatterns:["skills"],navSegments:["skills"],title:"Skills",purpose:"View, add, and manage the skills available to hosts.",userActivities:["Browse skills","Add or edit a skill"],agentTools:{kind:"none",reason:"Tool group planned (browse skills, prefill a new skill for review); tracked in the surface-tools rollout."},showInAtlas:!0},{id:"learning",scope:"project",canonicalPath:"/learning",routePatterns:["learning"],navSegments:["learning"],title:"Learning",purpose:"Learning material about MCP and the inspector.",userActivities:["Read or watch learning material"],agentTools:{kind:"none",reason:"Read-only learning material; there is nothing here for an agent to operate."},showInAtlas:!0},{id:"conformance",scope:"project",canonicalPath:"/conformance",routePatterns:["conformance","conformance/runs/:runId"],navSegments:["conformance"],title:"Conformance",purpose:"Run protocol conformance checks against a connected MCP server and review what it does and doesn't implement correctly.",userActivities:["Run a conformance scorecard against a server","Review individual check results"],agentTools:{kind:"none",reason:"Tool group planned (run a conformance scorecard against a server, read results); tracked in the surface-tools rollout."},showInAtlas:!0},{id:"compatibility",scope:"project",canonicalPath:"/compatibility",routePatterns:["compatibility"],navSegments:["compatibility"],title:"Compatibility",purpose:"Check whether a server works with specific MCP hosts, and where it falls short.",userActivities:["Review a server's host compatibility"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only review of a server's host compatibility; nothing to operate, but snapshot-only for observability so the agent can see which servers and hosts are on the matrix."},showInAtlas:!0},{id:"readiness",scope:"project",canonicalPath:"/readiness",routePatterns:["readiness"],navSegments:["readiness"],title:"Readiness",purpose:"Rehearse a directory submission for a saved server: fill a copy of the Claude connector portal and run MCPJam's checks on the answers and the server.",userActivities:["Start or open a rehearsal for a saved server","Fill the portal's fields and read check results under them","Run the readiness checks"],agentTools:{kind:"none",reason:"Agents edit and run submissions through the directory submission operations, not the page."},showInAtlas:!1},{id:"oauth-flow",scope:"project",canonicalPath:"/oauth-flow",routePatterns:["oauth-flow"],navSegments:["oauth-flow"],title:"OAuth Debugger",purpose:"Step through an MCP server's OAuth flow and see exactly what happens at each stage — discovery, registration, authorization, token exchange.",userActivities:["Run an OAuth flow against a server step by step","Inspect discovery metadata and each request/response"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"xaa-flow",scope:"project",canonicalPath:"/xaa-flow",routePatterns:["xaa-flow"],navSegments:["xaa-flow"],title:"XAA Debugger",purpose:"Debug Cross-App Access (identity assertion / ID-JAG) flows between an identity provider and a resource app.",userActivities:["Run an XAA flow and inspect each token exchange","Configure the identity provider and resource app"],agentTools:{kind:"none",reason:"Interactive auth debugger — human-in-the-loop by design; the agent must not drive token exchanges."},showInAtlas:!0},{id:"tracing",scope:"project",canonicalPath:"/tracing",routePatterns:["tracing"],navSegments:["tracing"],title:"Tracing",purpose:"Inspect traces of chat turns and tool calls.",userActivities:["Review turn traces"],hostedBlocked:!0,hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only review of chat-turn traces; nothing to operate, but snapshot-only for observability so the agent can see the recent traffic summary."},showInAtlas:!0},{id:"settings",scope:"global",canonicalPath:"/settings",routePatterns:["settings","settings/about","settings/appearance","settings/api-keys","settings/integrations","settings/integrations/github","settings/integrations/github/callback"],navSegments:["settings"],title:"Settings",purpose:"Application settings, including API keys and third-party integrations.",userActivities:["Change app settings","Manage API keys","Connect integrations (GitHub Checks, Slack)"],agentTools:{kind:"none",reason:"Admin surface holding API keys; the agent must not automate credential management."},showInAtlas:!0},{id:"project-settings",scope:"project",canonicalPath:"/project-settings",routePatterns:["project-settings","project-settings/members","project-settings/secrets"],navSegments:["project-settings"],title:"Project settings",purpose:"Settings for the current project, including its members and configuration.",userActivities:["Change project settings","Manage project members"],agentTools:{kind:"none",reason:"Admin surface (project members and configuration); the agent must not automate membership changes."},showInAtlas:!0},{id:"organizations",scope:"global",canonicalPath:"/organizations",routePatterns:["organizations","organizations/:orgId","organizations/:orgId/integrations","organizations/:orgId/members","organizations/:orgId/sharing","organizations/:orgId/audit-log","organizations/:orgId/data-management","organizations/:orgId/security","organizations/:orgId/api-keys","organizations/:orgId/plans","organizations/:orgId/billing","organizations/:orgId/billing/byok","organizations/:orgId/models/usage","organizations/:orgId/billing/usage","organizations/:orgId/models","organizations/:orgId/slack","organizations/:orgId/discord","organizations/:orgId/observability"],navSegments:["organizations"],title:"Organizations",purpose:"Organization administration: members, billing, and which models the org allows.",userActivities:["Manage organization members","Review or change billing","Configure allowed models and provider keys","Turn credential export on or off"],agentTools:{kind:"none",reason:"Admin surface (members, billing, provider keys); the agent must not automate billing or access."},showInAtlas:!0},{id:"profile",scope:"global",canonicalPath:"/profile",routePatterns:["profile"],navSegments:["profile"],title:"Profile",purpose:"The signed-in user's own profile.",userActivities:["Review or edit your profile"],agentTools:{kind:"none",reason:"The user's own account details; the agent must not automate identity or profile changes."},showInAtlas:!0},{id:"support",scope:"global",canonicalPath:"/settings/support",routePatterns:["settings/support"],navSegments:["support"],title:"Support",purpose:"Get help and contact MCPJam support.",userActivities:["Contact support"],agentTools:{kind:"none",reason:"Contact-support screen; a human conversation, nothing for an agent to automate."},showInAtlas:!0},{id:"webmcp",scope:"project",canonicalPath:"/webmcp",routePatterns:["webmcp"],navSegments:["webmcp"],title:"WebMCP",purpose:"Inspect a live web page's WebMCP tools: what it registers, what they accept, and what they return when invoked.",userActivities:["Open a page in a managed browser and watch the tools it registers","Invoke a page tool with structured input and read its result","Review the activity timeline across navigations, with screenshots"],agentTools:{kind:"none",reason:"Drives a live third-party web page; the in-app agent must not operate someone's site, and page output is untrusted."},showInAtlas:!1}];function hd(){return F2}var k7=new Map(hd().map(n=>[n.id,n]));function S8(n){return typeof n=="string"&&k7.has(n)}var M7=new Map(hd().flatMap(n=>n.navSegments.map(s=>[s,n])));function A8(n){return M7.get(n)}function R7(){const n=new Set;for(const s of F2)for(const l of s.navSegments)n.add(l);return[...n]}function I7(){const n=new Set;for(const s of hd())if(s.hostedBlocked)for(const l of s.navSegments)n.add(l);return[...n]}var D7={chat:"playground","app-builder":"playground","chat-v2":"playground",connect:"clients",hosts:"clients","user-testing":"scenarios","ci-evals":"evals"},O7=I7(),z7=new Set(O7);function al(n){return D7[n]??n}function T8(n){return z7.has(al(n))}var U7=[{path:"redeem",kind:"special",scope:"public",standalone:!0,note:"Conference card confirmation outside onboarding and project chrome."},{path:"settings/appearance",kind:"screen",surfaceId:"settings",scope:"global"},{path:"organizations/:orgId/integrations",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"settings/about",kind:"screen",surfaceId:"settings",scope:"global"},{path:"organizations/:orgId/members",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/sharing",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing/byok",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing/usage",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/models/usage",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/api-keys",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/plans",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/data-management",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/security",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/audit-log",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"project-settings/members",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"project-settings/secrets",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"/",kind:"screen",surfaceId:"home",scope:"project"},{path:"home",kind:"screen",surfaceId:"home",scope:"project"},{path:"servers",kind:"screen",surfaceId:"servers",scope:"project"},{path:"servers/plugins/:pluginId",kind:"screen",surfaceId:"servers",scope:"project"},{path:"servers/:serverId",kind:"screen",surfaceId:"servers",scope:"project"},{path:"clients",kind:"redirect",note:"Legacy: the tab was renamed Client → Host; redirects to /hosts.",scope:"project"},{path:"clients/:hostId",kind:"redirect",note:"Legacy deep link; re-encoded through buildHostsPath.",scope:"project"},{path:"host-compare",kind:"screen",surfaceId:"host-compare",scope:"global"},{path:"embed/host-compare",kind:"special",note:"Chrome-less vanity surface (caniuse.dev): no sidebar, no NUX.",scope:"public"},{path:"embed/score",kind:"special",note:"Chrome-less vanity surface (score.mcpjam.com): the conformance-score runner. No sidebar, no NUX.",scope:"public"},{path:"embed/bench",kind:"special",note:"Chrome-less vanity surface (score.mcpjam.com): the Connector Bench runner. No sidebar, no NUX.",scope:"public"},{path:"embed/bench/:runId",kind:"special",note:"The same runner, resumed. The run id in the URL is the whole client state — refresh and a second tab both just re-read it.",scope:"public"},{path:"results/:runToken",kind:"special",note:"One score run's report. Public by link token — no session required to read it.",scope:"public"},{path:"bench/results/:secret",kind:"special",note:"One benchmark scorecard. Public by link secret — no session required to read it.",scope:"public"},{path:"capabilities/:capabilitySlug",kind:"screen",surfaceId:"host-compare",scope:"global"},{path:"computer",kind:"screen",surfaceId:"computer",scope:"project"},{path:"hosts",kind:"screen",surfaceId:"hosts",scope:"project"},{path:"hosts/:hostId",kind:"screen",surfaceId:"hosts",scope:"project"},{path:"registry",kind:"screen",surfaceId:"registry",scope:"project"},{path:"tools",kind:"screen",surfaceId:"tools",scope:"project"},{path:"resources",kind:"screen",surfaceId:"resources",scope:"project"},{path:"prompts",kind:"screen",surfaceId:"prompts",scope:"project"},{path:"tasks",kind:"screen",surfaceId:"tasks",scope:"project"},{path:"events",kind:"screen",surfaceId:"events",scope:"project"},{path:"skills",kind:"screen",surfaceId:"skills",scope:"project"},{path:"learning",kind:"screen",surfaceId:"learning",scope:"project"},{path:"conformance",kind:"screen",surfaceId:"conformance",scope:"project"},{path:"conformance/runs/:runId",kind:"screen",surfaceId:"conformance",scope:"project"},{path:"conformance/shared/:token",kind:"special",note:"Read-only shared conformance run. Redeem-based (guest session or WorkOS). Legacy HMAC tokens read as invalid on this page; /api/web/conformance-shared still serves them until I6.",scope:"public"},{path:"compatibility",kind:"screen",surfaceId:"compatibility",scope:"project"},{path:"readiness",kind:"screen",surfaceId:"readiness",scope:"project"},{path:"oauth-flow",kind:"screen",surfaceId:"oauth-flow",scope:"project"},{path:"xaa-flow",kind:"screen",surfaceId:"xaa-flow",scope:"project"},{path:"tracing",kind:"screen",surfaceId:"tracing",scope:"project"},{path:"webmcp",kind:"screen",surfaceId:"webmcp",scope:"project"},{path:"chat",kind:"redirect",note:"Legacy alias; redirects to /playground.",scope:"project"},{path:"chat/*",kind:"redirect",note:"Legacy deep link; redirects to /playground so old bookmarks land there rather than the catch-all.",scope:"project"},{path:"user-testing",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/new",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/:scenarioId/edit",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/:scenarioId",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"scenarios",kind:"redirect",note:"Legacy: the Scenario surface is now User Testing. Redirects to /user-testing, preserving search + hash so old ?host=&session= links keep working.",scope:"project"},{path:"swarms",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"swarms/new",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"swarms/:swarmId",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"environments",kind:"screen",surfaceId:"project-environments",scope:"project"},{path:"environments/:environmentId",kind:"screen",surfaceId:"project-environments",scope:"project"},{path:"sessions",kind:"screen",surfaceId:"sessions",scope:"project"},{path:"playground",kind:"screen",surfaceId:"playground",scope:"project"},{path:"triggers",kind:"screen",surfaceId:"triggers",scope:"project"},{path:"settings/support",kind:"screen",surfaceId:"support",scope:"global"},{path:"support",kind:"redirect",note:"Support moved to Settings",scope:"global"},{path:"settings",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/api-keys",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations/github",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations/github/callback",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/github-checks",kind:"redirect",note:"Legacy: the page moved under Integrations; redirects to /settings/integrations/github.",scope:"global"},{path:"profile",kind:"screen",surfaceId:"profile",scope:"global"},{path:"project-settings",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"client-config",kind:"redirect",note:"Legacy alias; redirects to /servers.",scope:"project"},{path:"organizations",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/models",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/slack",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/discord",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/observability",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/budget",kind:"redirect",note:"Spend budget was removed; auto-reload limits live under Billing",scope:"global"},{path:"evals/shared/:token",kind:"special",note:"Read-only shared eval run. Redeem-based (guest session or WorkOS). Chrome-less.",scope:"public"},{path:"evals",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/create",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/settings",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evals/runs",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/create",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/commit/:commitSha",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/settings",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evaluate",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/create",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/eval-server/:serverId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/settings",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/cases/:caseId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/cases/:caseId/iterations/:iterationId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/compare",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"ci-evals",kind:"redirect",note:"Legacy: redirects to public Evaluate.",scope:"project"},{path:"ci-evals/*",kind:"redirect",note:"Legacy CI links open Evaluate. Run links preserve context; commit links open the unfiltered run table.",scope:"project"},{path:"billing",kind:"special",note:"Post-checkout landing. Neutral loading screen while the billing deep-link effect hands off to the organization's billing page.",scope:"global"},{path:"login",kind:"special",note:"WorkOS Initiate Login URL for IdP-initiated SSO; starts a fresh app-originated sign-in.",scope:"public"},{path:"callback",kind:"special",note:"Auth callback landing. Renders a neutral loading screen, never a project screen: App restores the stored sign-in return path from here, and flashing another project's Servers first is exactly what the canonical URL work exists to stop.",scope:"public"},{path:"oauth/callback/*",kind:"special",note:"MCP server OAuth callback. Neutral landing; useServerState restores the exact saved route.",scope:"public"},{path:"*",kind:"special",note:"Explicit not found. It used to render Servers, which meant an unknown URL silently showed a valid-looking screen for whatever project the viewer happened to be parked on.",scope:"public"}];function N7(n,s){if(n==="*")return"splat";if(n==="/")return s.length===0?"exact":null;const l=n.split("/").filter(Boolean),u=l[l.length-1]==="*",p=u?l.slice(0,-1):l;if(u?s.length<p.length:s.length!==p.length)return null;let f=!1;for(let A=0;A<p.length;A+=1){const T=p[A];if(T.startsWith(":")){if(!s[A])return null;f=!0;continue}if(T!==s[A])return null}return u?"splat":f?"param":"exact"}function L7(n){const s=(typeof n=="string"?n.split(/[?#]/)[0]:"").split("/").filter(Boolean);let l=null,u=null;for(const p of U7){if(p.path==="*")continue;const f=N7(p.path,s);if(f==="exact")return p;f==="param"&&!l&&(l=p),f==="splat"&&!u&&(u=p)}return l??u}function P7(n){return L7(n)?.scope??null}function j7(n){return P7(n)==="project"}function V7(n){return n==="members"||n==="sharing"||n==="audit-log"||n==="data-management"||n==="security"||n==="integrations"||n==="api-keys"||n==="plans"?n:n==="billing"?"billing":n==="models"?"models":n==="slack"?"slack":n==="discord"?"discord":n==="observability"?"observability":"overview"}var Z={root:"/",home:"/home",servers:"/servers",hosts:"/hosts",hostCompare:"/host-compare",embedHostCompare:"/embed/host-compare",embedScore:"/embed/score",embedBench:"/embed/bench",scoreResults:"/results",benchResults:"/bench/results",capabilities:"/capabilities",computer:"/computer",registry:"/registry",tools:"/tools",resources:"/resources",prompts:"/prompts",tasks:"/tasks",events:"/events",auth:"/auth",skills:"/skills",learning:"/learning",conformance:"/conformance",conformanceRuns:"/conformance/runs",conformanceShared:"/conformance/shared",compatibility:"/compatibility",readiness:"/readiness",oauthFlow:"/oauth-flow",xaaFlow:"/xaa-flow",tracing:"/tracing",webmcp:"/webmcp",scenarios:"/scenarios",userTesting:"/user-testing",swarms:"/swarms",environments:"/environments",sessions:"/sessions",playground:"/playground",triggers:"/triggers",support:"/settings/support",settings:"/settings",profile:"/profile",projectSettings:"/project-settings",login:"/login",callback:"/callback",billing:"/billing",evals:"/evals",evalsRuns:"/evals/runs",evalsShared:"/evals/shared",evaluate:"/evaluate",organizations:"/organizations"};function C8(n){return n?`${Z.servers}/${encodeURIComponent(n)}`:Z.servers}function _8(n){return n?`${Z.servers}/plugins/${encodeURIComponent(n)}`:Z.servers}function w8(n){return n?`${Z.environments}/${encodeURIComponent(n)}`:Z.environments}function E8(n){return n?`${Z.hosts}/${encodeURIComponent(n)}`:Z.hosts}function k8(n){if(!n||n.length===0)return Z.hostCompare;const s=n.map(u=>u.trim()).filter(u=>u.length>0);if(s.length===0)return Z.hostCompare;const l=new URLSearchParams({hosts:s.join(",")});return`${Z.hostCompare}?${l.toString()}`}var M8=`${Z.userTesting}/new`,B7=new Set(["sessions","insights","findings"]);function R8(n){return n===0?"insights":"findings"}function I8(n,s={}){const l=`${Z.userTesting}/${encodeURIComponent(n)}`,u=new URLSearchParams,p=s.defaultTab??"findings";s.tab&&s.tab!==p&&u.set("tab",s.tab),s.session&&u.set("session",s.session),s.sel&&u.set("sel",s.sel),s.view&&s.view!=="flow"&&u.set("view",s.view);const f=u.toString();return f?`${l}?${f}`:l}function D8(n){return`${Z.userTesting}/${encodeURIComponent(n)}/edit`}function O8(n){const s=new URLSearchParams(n).get("tab");return s==="edit"||s==="share"||s==="preview"}function z8(n,s="findings"){const l=new URLSearchParams(n),u=l.get("tab");return u==="clusters"?"insights":u&&B7.has(u)?u:l.get("session")?"sessions":s}var U8=`${Z.swarms}/new`;function N8(n,s={}){const l=`${Z.swarms}/${encodeURIComponent(n)}`,u=new URLSearchParams;s.tab&&u.set("tab",s.tab),s.session&&u.set("session",s.session),s.sel&&u.set("sel",s.sel),s.finding&&u.set("finding",s.finding);const p=u.toString();return p?`${l}?${p}`:l}function L8(n){const s=new URLSearchParams(n),l=s.get("tab");return l==="run"?"run":l==="sessions"?"sessions":l==="insights"||l==="personas"||l==="overview"?"insights":l==="findings"?"findings":s.get("session")?"sessions":"findings"}function P8(n){const s=new URLSearchParams({persona:n.personaRefId,run:n.runId,host:n.hostId,session:n.threadId});return`${Z.swarms}?${s.toString()}`}function j8(n){const s=new URLSearchParams(n),l=u=>{const p=s.get(u);return p&&p.trim()?p:void 0};return{personaRefId:l("persona"),runId:l("run"),hostId:l("host"),threadId:l("session")}}function V8(n={}){const s=new URLSearchParams;n.session&&s.set("session",n.session);const l=s.toString(),u=l?`${Z.sessions}?${l}`:Z.sessions;return n.project?Bn(n.project,u):u}function H7(n,s){return s==="members"||s==="sharing"||s==="audit-log"||s==="data-management"||s==="security"||s==="integrations"?`/organizations/${n}/${s}`:s==="api-keys"||s==="plans"?`/organizations/${n}/${s}`:s==="billing"?`/organizations/${n}/billing`:s==="models"?`/organizations/${n}/models`:s==="slack"?`/organizations/${n}/slack`:s==="discord"?`/organizations/${n}/discord`:s==="observability"?`/organizations/${n}/observability`:`/organizations/${n}`}function B8(n){return q7(Z.evaluate,n)}function H8(n,s="",l=""){if(/^\/(?:evals\/runs|ci-evals)\/commit\/[^/]+\/*$/i.test(n)){const u=new URLSearchParams(s).get("project"),p=new URLSearchParams;return u&&p.set("project",u),`${Z.evaluate}${p.size?`?${p}`:""}`}return`${n.replace(/^\/(?:evals(?:\/runs)?|ci-evals)(?=\/|$)/i,Z.evaluate)}${s}${l}`}function q8(n,s="",l=""){return`${n.replace(/^\/evals(?:\/runs)?\/suite\/([^/]+)\/test\/([^/]+)(\/edit)?\/*$/i,(u,p,f,A)=>`${Z.evaluate}/suite/${p}/test/${f}${A?"/edit":""}`)}${s}${l}`}function q7(n,s){switch(s.type){case"list":return n;case"create":return`${n}/create`;case"eval-server":return n!==Z.evaluate?n:`${n}/eval-server/${encodeURIComponent(s.serverId)}`;case"suite-overview":{const l=new URLSearchParams;s.view&&s.view!=="runs"&&l.set("view",s.view),s.fromCommit&&l.set("fromCommit",s.fromCommit),s.importJob&&l.set("importJob",s.importJob);const u=l.toString();return`${n}/suite/${encodeURIComponent(s.suiteId)}${u?`?${u}`:""}`}case"run-detail":{const l=new URLSearchParams,u=s.resultPage;u?.target&&l.set("target",u.target),u?.tab&&l.set("tab",u.tab),s.iteration&&l.set("iteration",s.iteration),s.testCaseId&&l.set("case",s.testCaseId),s.insightsFocus&&l.set("insights","1"),s.compareToRunId&&l.set("compareTo",s.compareToRunId);const p=l.toString();return`${n}/suite/${encodeURIComponent(s.suiteId)}/runs/${encodeURIComponent(s.runId)}${s.comparison?"/compare":""}${u?`/cases/${encodeURIComponent(u.caseKey)}${u.iterationId?`/iterations/${encodeURIComponent(u.iterationId)}`:""}`:""}${p?`?${p}`:""}`}case"test-detail":{const l=new URLSearchParams;s.iteration&&l.set("iteration",s.iteration);const u=l.toString();return`${n}/suite/${encodeURIComponent(s.suiteId)}/test/${encodeURIComponent(s.testId)}${u?`?${u}`:""}`}case"test-edit":{const l=new URLSearchParams;s.openCompare&&l.set("compare","1"),s.checks&&l.set("checks","1"),s.iteration&&l.set("iteration",s.iteration),s.fromEvalServer&&l.set("fromEvalServer",s.fromEvalServer);const u=l.toString();return`${n}/suite/${encodeURIComponent(s.suiteId)}/test/${encodeURIComponent(s.testId)}/edit${u?`?${u}`:""}`}case"suite-edit":return`${n}/suite/${encodeURIComponent(s.suiteId)}/settings${s.tab==="evaluators"?"/evaluators":""}${s.fromCaseChecks?`?fromCaseChecks=${encodeURIComponent(s.fromCaseChecks)}`:""}`;case"commit-detail":{if(n!==Z.evalsRuns)return n;const l=new URLSearchParams;s.suite&&l.set("suite",s.suite),s.iteration&&l.set("iteration",s.iteration);const u=l.toString();return`${n}/commit/${encodeURIComponent(s.commitSha)}${u?`?${u}`:""}`}}}function G7(){const n=G2()?.state?.location?.pathname;return n||ei()}function Y2(n,s){if(typeof n!="string"||!n||n.startsWith("?")||n.startsWith("#")||!Ag(n)||Yu(n))return n;const l=Yu(s??G7());if(!l)return n;const u=n.split(/[?#]/)[0];return j7(u)?Bn(l.projectId,n):n}function F7(n,s){const l=s?.unscoped?n:Y2(n),u=G2();if(u){u.navigate(l,{replace:s?.replace,state:s?.state});return}if(!window.dispatchEvent(new Event("settings-before-navigation",{cancelable:!0})))return;const p=s?.state??{};s?.replace?window.history.replaceState(p,"",l):window.history.pushState(p,"",l),window.dispatchEvent(new PopStateEvent("popstate"))}function G8(){const n=(0,U.useContext)(H2),s=(0,U.useContext)(ua),l=n?.navigator,u=s?.location.pathname;return(0,U.useCallback)((p,f)=>{const A=f?.unscoped?p:Y2(p,u);if(l){f?.replace?l.replace(A,f.state):l.push(A,f?.state);return}F7(A,f)},[l,u])}function F8(){const n=(0,U.useContext)(ua),[s,l]=(0,U.useState)(ei);return(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const u=()=>{l(ei())};return window.addEventListener("popstate",u),()=>{window.removeEventListener("popstate",u)}},[n]),X7(n?.location.pathname??s)}function Y8(){const n=(0,U.useContext)(ua),[s,l]=(0,U.useState)(ei);return(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const u=()=>l(ei());return window.addEventListener("popstate",u),()=>window.removeEventListener("popstate",u)},[n]),n?.location.pathname??s}function X8(){const n=(0,U.useContext)(ua),[s,l]=(0,U.useState)(bg);(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const p=()=>l(bg());return window.addEventListener("popstate",p),()=>window.removeEventListener("popstate",p)},[n]);const u=n?.location;return u?{pathname:u.pathname||"/",search:u.search||"",hash:u.hash||""}:s}function K8(){const n=(0,U.useContext)(ua);return n?n.location.state:typeof window>"u"?void 0:window.history.state}function bg(){return typeof window>"u"?{pathname:"/",search:"",hash:""}:{pathname:window.location.pathname||"/",search:window.location.search||"",hash:window.location.hash||""}}var si=new Set(R7());function Z8(n){return si.has(n)}function Q8(){return[...si]}function Y7(n){return n==="/billing"||n==="/billing/"||n==="/callback"||n==="/callback/"||n.startsWith("/oauth/callback")}function J8(n){return n==="/oauth/callback/debug"||n.startsWith("/oauth/callback/debug/")}function W8(n,s){const l=`${Z.conformanceRuns}/${encodeURIComponent(n)}`;return s?Bn(s,l):l}function $8(n){return`${Z.conformance}?${new URLSearchParams({run:n})}`}function ey(n){return`${Z.conformanceShared}/${encodeURIComponent(n)}`}function ty(n){return`${Z.evalsShared}/${encodeURIComponent(n)}`}function X7(n){const s=Tg(n);if(Y7(s))return"servers";if(s.startsWith(`${Z.capabilities}/`))return"host-compare";const l=s.replace(/^\/+/,"").split("/")[0]||"home",u=al(l);return si.has(u)?u:"servers"}function ei(){return typeof window>"u"?"/":window.location.pathname||"/"}function oy(){const n=((0,U.useContext)(ua)?.location.pathname??(typeof window>"u"?"/":window.location.pathname)).replace(/^\/+/,"").split("/");if(n[0]!=="organizations")return null;const s=n[1];if(!s)return null;const l=V7(n[2]);return{orgId:K7(s),orgSection:l}}function ay(n){const s=(0,U.useContext)(ua),[l,u]=(0,U.useState)(vg);(0,U.useLayoutEffect)(()=>{if(s||typeof window>"u")return;const f=()=>u(vg());return window.addEventListener("popstate",f),()=>{window.removeEventListener("popstate",f)}},[s]);const p=s?.location.search??l;return new URLSearchParams(p).get(n)}function vg(){return typeof window>"u"?"":window.location.search||""}function K7(n){try{return decodeURIComponent(n)}catch{return n}}function md(n,s=Z.servers){const l=Yu(n);if(l){const{suffix:_,path:I}=(()=>{const w=Tg(n),D=w.search(/[?#]/);return D===-1?{path:w,suffix:""}:{path:w.slice(0,D),suffix:w.slice(D)}})(),E=md(`${I}${_}`,s);return Bn(l.projectId,E)}const u=n.replace(/^#/,"").replace(/^\/+/,""),p=u.indexOf("?"),f=p===-1?u:u.slice(0,p),A=p===-1?"":u.slice(p),T=f.split("/").filter(Boolean),M=al(T[0]||"servers");return si.has(M)?`/${[M==="scenarios"?"user-testing":M,...T.slice(1)].join("/")}${A}`:s}function X2(n){const s=n.replace(/^#\/?/,"");if(!s)return null;const l=s.split(/[/?]/)[0]||"",u=al(l);return si.has(u)?md(u===l?s:`${u}${s.slice(l.length)}`):null}function ny(){if(typeof window>"u")return;const n=window.location.pathname||"/";if(n!=="/"&&n!=="")return;const s=X2(window.location.hash);s&&window.history.replaceState({},"",s)}function Z7(n,s=Z.servers){const l=n?.trim()??"";return!l||!Ag(l)?s:md(l,s)}function ry(){if(typeof window>"u")return null;const n=window.location.pathname||Z.root,s=window.location.search||"",l=window.location.hash||"";return n===Z.root||n===""?null:`${n}${s}${l}`}function Q7(n){return Bn(n,Z.servers)}function iy(n){return Bn(n,Z.projectSettings)}function sy(n,s){const l=(s??[]).filter(u=>u.organizationId===n).sort((u,p)=>p.updatedAt-u.updatedAt)[0];return l&&ab(l._id)?Q7(l._id):H7(n)}function ly({routeTab:n,routeOrganizationId:s,isLoadingOrganizations:l,hasRouteOrganization:u}){return n!=="organizations"||l?null:!s||!u?Z.servers:null}var bd="mcp-hosted-oauth-pending",J7="mcp-oauth-score-pending",W7=6e5;function yg(n){return n?.trim().toLowerCase()??""}function nl(n,s){const l=n?.trim()??"";if(!l)return null;if(l.startsWith("#")){const u=X2(l);if(u)return u;if(s==="scenario"){const p=l.replace(/^#\/?/,"");return p?`/${p}`:null}}return s==="scenario"&&l.startsWith("/")&&!l.startsWith("//")||s==="score"&&l.startsWith("/")&&!l.startsWith("//")?l:Z7(l)}function $7(n,s){if(n.serverUrl&&s.serverUrl&&n.serverUrl===s.serverUrl)return!0;const l=yg(n.serverName),u=yg(s.serverName);return!!l&&!!u&&l===u}function cy(n){try{localStorage.setItem(bd,JSON.stringify({...n,organizationId:n.organizationId??null,projectId:n.projectId??null,serverId:n.serverId??null,serverUrl:n.serverUrl??null,sessionId:n.sessionId??null,...n.connectionIntent?{connectionIntent:n.connectionIntent}:{},...n.pluginSignIn?{pluginSignIn:n.pluginSignIn}:{},accessScope:n.accessScope??null,scenarioId:n.scenarioId??null,returnPath:nl(n.returnPath,n.surface),startedAt:Date.now()}))}catch{}}function e6(){try{const n=localStorage.getItem(bd);if(!n)return null;const s=JSON.parse(n);return!s||typeof s!="object"||!Mg(s.surface)||typeof s.serverName!="string"||typeof s.startedAt!="number"||Date.now()-s.startedAt>W7?(Ks(),null):{surface:s.surface,...s.initiatingUserId===null||typeof s.initiatingUserId=="string"?{initiatingUserId:s.initiatingUserId}:{},...s.connectionIntent?.kind==="add"?{connectionIntent:{kind:"add"}}:s.connectionIntent?.kind==="replace"&&typeof s.connectionIntent.credentialId=="string"?{connectionIntent:{kind:"replace",credentialId:s.connectionIntent.credentialId}}:{},...t6(s.pluginSignIn)?{pluginSignIn:{pluginVersionId:s.pluginSignIn.pluginVersionId,componentKey:s.pluginSignIn.componentKey}}:{},organizationId:typeof s.organizationId=="string"?s.organizationId:null,projectId:typeof s.projectId=="string"?s.projectId:null,serverId:typeof s.serverId=="string"?s.serverId:null,serverName:s.serverName,...typeof s.chatAuthContinuationId=="string"?{chatAuthContinuationId:s.chatAuthContinuationId}:{},serverUrl:typeof s.serverUrl=="string"?s.serverUrl:null,sessionId:typeof s.sessionId=="string"?s.sessionId:null,accessScope:s.accessScope==="project_member"||s.accessScope==="chat_v2"?s.accessScope:void 0,scenarioId:typeof s.scenarioId=="string"?s.scenarioId:null,returnPath:nl(typeof s.returnPath=="string"?s.returnPath:typeof s.returnHash=="string"?s.returnHash:null,s.surface),suppressErrorToast:s.suppressErrorToast===!0,suppressSuccessToast:s.suppressSuccessToast===!0,startedAt:s.startedAt}}catch{return Ks(),null}}function t6(n){const s=n;return typeof s?.pluginVersionId=="string"&&s.pluginVersionId.length>0&&typeof s.componentKey=="string"&&s.componentKey.length>0}function uy(n){return!!(n?.connectionIntent||n?.pluginSignIn)}function Ks(){localStorage.removeItem(bd)}function o6(){localStorage.removeItem(o7),localStorage.removeItem(J7)}function dy(){Ks(),o6()}function a6(n,s){if(localStorage.getItem("mcp-oauth-scenario-pending"))return"scenario";const l=V2();return l&&l.payload.servers.some(u=>$7({serverName:u.serverName,serverUrl:u.serverUrl},{serverName:n,serverUrl:s}))?"scenario":null}function n6(){if(typeof window>"u")return null;const n=Ws();if(!n||!n.get("code")&&!n.get("error"))return null;const s=e6();if(s)return s;const l=localStorage.getItem("mcp-oauth-pending")?.trim()??"";if(!l)return null;const u=localStorage.getItem(`mcp-serverUrl-${l}`),p=a6(l,u);return p?{surface:p,organizationId:null,projectId:null,serverId:null,serverName:l,serverUrl:u,sessionId:null,accessScope:void 0,scenarioId:null,returnPath:nl(localStorage.getItem("mcp-oauth-return-hash"),p),startedAt:Date.now()}:null}function py(n){if(n.returnPath)return nl(n.returnPath,n.surface)??Z.servers;if(n.surface==="scenario"){const s=V2();return s?`/${j2(s.payload.name)}`:Z.userTesting}return n.surface==="score"?Z.embedScore:Z.servers}var K2="mcp-onboarding-state",Z2="mcp-first-run-server-choice-state";function Q2(n){try{const s=localStorage.getItem(n);if(!s)return null;const l=JSON.parse(s);return l.status==="started"||l.status==="seen"||l.status==="dismissed"||l.status==="completed"?{status:l.status,startedAt:typeof l.startedAt=="number"?l.startedAt:void 0,shownAt:typeof l.shownAt=="number"?l.shownAt:void 0,completedAt:typeof l.completedAt=="number"?l.completedAt:void 0,attemptedServerName:typeof l.attemptedServerName=="string"?l.attemptedServerName:void 0,connectedServerKind:l.connectedServerKind==="demo"||l.connectedServerKind==="personal"?l.connectedServerKind:void 0,connectedToolCount:typeof l.connectedToolCount=="number"||l.connectedToolCount===null?l.connectedToolCount:void 0,playgroundPromptPending:typeof l.playgroundPromptPending=="boolean"?l.playgroundPromptPending:void 0}:null}catch{return null}}function J2(n,s){try{localStorage.setItem(n,JSON.stringify(s))}catch{}}function W2(){return Q2(K2)}function $2(n){J2(K2,n)}function fy(){const n=W2();n?.status==="completed"||n?.status==="dismissed"||n?.status==="seen"&&n.shownAt||$2({status:"started",startedAt:Date.now()})}function gy(){const n=W2();n?.status==="completed"||n?.status==="dismissed"||$2({status:"seen",shownAt:Date.now()})}function da(){return Q2(Z2)}function qa(n){J2(Z2,n)}function hy(n){const s=da();s?.status==="completed"&&s.shownAt||s?.status==="dismissed"||qa({status:"started",startedAt:s?.startedAt??Date.now(),shownAt:s?.shownAt,attemptedServerName:n??s?.attemptedServerName,connectedServerKind:void 0,connectedToolCount:void 0,playgroundPromptPending:s?.playgroundPromptPending})}function my(){const n=da();n?.status==="completed"&&n.shownAt||n?.status==="dismissed"||qa({status:"started",startedAt:n?.startedAt??Date.now(),shownAt:Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:n?.playgroundPromptPending})}function by(){const n=da();n?.status==="completed"&&n.shownAt||qa({status:"dismissed"})}function vy(){const n=da();qa({status:"completed",completedAt:Date.now(),shownAt:n?.shownAt??Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:n?.playgroundPromptPending})}function yy(n,s){const l=da();qa({status:"started",startedAt:l?.startedAt??Date.now(),shownAt:l?.shownAt??Date.now(),attemptedServerName:l?.attemptedServerName,connectedServerKind:n,connectedToolCount:s,playgroundPromptPending:l?.playgroundPromptPending})}function xy(){const n=da();qa({status:"completed",completedAt:n?.completedAt??Date.now(),shownAt:n?.shownAt??Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:!0})}function Sy(){const n=da();!n||n.status!=="completed"||qa({...n,playgroundPromptPending:!1})}function Ay(n,s,l,u=!1,p=!1){if(u&&!p)return!1;const[f=""]=s.replace(/^#?\/?/,"").split("?"),A=f.replace(/\/+$/,"");return A!=="servers"&&A!=="connect"&&A!=="clients"&&A!=="hosts"&&A!=="home"&&A!=="playground"&&A||l?.status==="dismissed"||l?.status==="completed"&&l.shownAt?!1:l?.status==="started"&&l.shownAt?!0:!n}var Ty="mcpjam:first-run-oauth-overlay-ready",Cy="mcpjam:first-run-oauth-cancelled";function _y(){if(window.location.pathname!=="/oauth/callback"&&!window.location.pathname.startsWith("/oauth/callback/"))return null;const n=da();if(n?.status!=="started"||!n.attemptedServerName)return null;const s=n6();return s?.surface==="project"&&s.serverName===n.attemptedServerName?n.attemptedServerName:null}export{Q8 as $,N6 as $n,Zu as $r,j2 as $t,B8 as A,I2 as An,Bu as Ar,y7 as At,V8 as B,C2 as Bn,m6 as Br,S7 as Bt,e6 as C,Hn as Cn,Nb as Cr,A8 as Ct,$8 as D,gg as Dn,Ig as Dr,T7 as Dt,W8 as E,h3 as En,zb as Er,x8 as Et,w8 as F,X6 as Fn,T6 as Fr,H2 as Ft,ry as G,L6 as Gn,Ab as Gr,b8 as Gt,P8 as H,H6 as Hn,b6 as Hr,o7 as Ht,_8 as I,w2 as In,A6 as Ir,x7 as It,J8 as J,V6 as Jn,Ku as Jr,f7 as Jt,R8 as K,P6 as Kn,Ws as Kr,p7 as Kt,C8 as L,j4 as Ln,S6 as Lr,C7 as Lt,E8 as M,Z6 as Mn,_6 as Mr,A7 as Mt,H7 as N,d3 as Nn,E6 as Nr,_7 as Nt,ey as O,g3 as On,Rg as Or,m7 as Ot,sy as P,K6 as Pn,C6 as Pr,ua as Pt,H8 as Q,U6 as Qn,hb as Qr,u8 as Qt,iy as R,A2 as Rn,x6 as Rr,E7 as Rt,uy as S,X3 as Sn,G0 as Sr,al as St,cy as T,Q6 as Tn,Dg as Tr,G2 as Tt,D8 as U,ri as Un,Eg as Ur,v8 as Ut,N8 as V,q6 as Vn,y6 as Vr,y8 as Vt,I8 as W,j6 as Wn,v6 as Wr,g8 as Wt,O8 as X,f2 as Xn,f6 as Xr,m8 as Xt,Z8 as Y,ni as Yn,g6 as Yr,V2 as Yt,q8 as Z,ig as Zn,wg as Zr,f8 as Zt,bd as _,$6 as _n,zg as _r,ay as _t,Sy as a,c8 as an,k6 as ar,j8 as at,n6 as b,e8 as bn,Lb as br,L7 as bt,yy as c,n8 as cn,Yb as cr,Z as ct,my as d,i8 as dn,Y0 as dr,F8 as dt,h6 as ei,p8 as en,pe as er,F7 as et,gy as f,Z3 as fn,qb as fr,G8 as ft,$2 as g,pd as gn,jb as gr,Y8 as gt,W2 as h,O2 as hn,Vb as hr,oy as ht,Ay as i,u6 as ii,l8 as in,Uv as ir,L8 as it,k8 as j,ii as jn,w6 as jr,b7 as jt,ty as k,f3 as kn,Db as kr,v7 as kt,by as l,o8 as ln,Fb as lr,Y2 as lt,da as m,W3 as mn,Bb as mr,K8 as mt,Ty as n,Xu as ni,h8 as nn,I6 as nr,ny as nt,xy as o,J3 as on,M6 as or,z8 as ot,fy as p,a8 as pn,Hb as pr,X8 as pt,ly as q,B6 as qn,mb as qr,t7 as qt,_y as r,d6 as ri,s8 as rn,fe as rr,Z7 as rt,vy as s,r8 as sn,Xb as sr,X7 as st,Cy as t,ub as ti,d8 as tn,R6 as tr,md as tt,hy as u,Q3 as un,Gb as ur,U8 as ut,J7 as v,W6 as vn,F0 as vr,M8 as vt,py as w,J6 as wn,Ub as wr,S8 as wt,$7 as x,t8 as xn,Og as xr,T8 as xt,dy as y,Y3 as yn,Pb as yr,U7 as yt,Q7 as z,G6 as zn,wb as zr,w7 as zt};
|
|
1871
1871
|
|
|
1872
|
-
//# sourceMappingURL=first-run-oauth-return-
|
|
1872
|
+
//# sourceMappingURL=first-run-oauth-return-apQ_CEb0.js.map
|