@mcpjam/inspector 3.27.0 → 3.27.2
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/{CaniuseCapabilityPage-CXmikV_v.js → CaniuseCapabilityPage-BGCx_CV1.js} +4 -4
- package/dist/client/assets/{CaniuseLoadingScreen-CISUL_K4.js → CaniuseLoadingScreen-CnLJTk-6.js} +2 -2
- package/dist/client/assets/{PosthogUtils-E_cG1Twh.js → PosthogUtils-BnkWsJl1.js} +1 -1
- package/dist/client/assets/{PosthogUtils-DE_PkwDN.js → PosthogUtils-CreNC30F.js} +2 -2
- package/dist/client/assets/{access-link-C0MWhbv8.js → access-link-CiqZlBT_.js} +2 -2
- package/dist/client/assets/{app-bootstrap-DfSpCiag.js → app-bootstrap-Dihy9pBm.js} +328 -328
- package/dist/client/assets/{app-navigation-BQGUR9cb.js → app-navigation-BzZWduTQ.js} +2 -2
- package/dist/client/assets/{bundle-mjs-DKP7sq7T.js → bundle-mjs-C4gHyVze.js} +2 -2
- package/dist/client/assets/{caniuse-bootstrap-D6d1Susz.js → caniuse-bootstrap-DClGA--s.js} +3 -3
- package/dist/client/assets/{chunk-D32TOXHM-D2CUPCH8.js → chunk-D32TOXHM-BM6p8aoA.js} +5 -5
- package/dist/client/assets/{dead-clicks-autocapture-DvbdThCp.js → dead-clicks-autocapture-DMIvXYDI.js} +2 -2
- package/dist/client/assets/{error-reporting-B_hxqtsN.js → error-reporting-BufzMdax.js} +1 -1
- package/dist/client/assets/{error-reporting-CJClTLWK.js → error-reporting-C3V1rL02.js} +2 -2
- package/dist/client/assets/{exception-autocapture-CkcPU7XW.js → exception-autocapture-D42Ql1CZ.js} +2 -2
- package/dist/client/assets/{feature-flags-BUIQpHKT.js → feature-flags-9Kzm95Iy.js} +3 -3
- package/dist/client/assets/{first-run-oauth-return-l9GCZrqg.js → first-run-oauth-return-DBF8M446.js} +2 -2
- package/dist/client/assets/{highlighted-body-KQOG7T2V-uT92T9zL.js → highlighted-body-KQOG7T2V-BDDk3j-o.js} +2 -2
- package/dist/client/assets/{index-ByP2kceG.js → index-CB2B0gyI.js} +3 -3
- package/dist/client/assets/{jszip.min-C5LLiUXa.js → jszip.min-D0H-wysy.js} +2 -2
- package/dist/client/assets/{mcp-init-BIoRq6yl.js → mcp-init-D384t3us.js} +3 -3
- package/dist/client/assets/{mermaid-MCJ5UELQ-BCP5Oj92.js → mermaid-MCJ5UELQ-DXZIWzsB.js} +1 -1
- package/dist/client/assets/{module-Wq_OenZL.js → module-BHBrpZ4U.js} +2 -2
- package/dist/client/assets/{module-D3s7YCoh.js → module-CmXaunIz.js} +1 -1
- package/dist/client/assets/posthog-bundled-extensions-CrY82kI1.js +3 -0
- package/dist/client/assets/{posthog-bundled-extensions-BIjySVP-.js → posthog-bundled-extensions-DUscOFM-.js} +1 -1
- package/dist/client/assets/{posthog-recorder-DTh3r-Ko.js → posthog-recorder-PnXQoK1P.js} +2 -2
- package/dist/client/assets/{preload-helper-BN6vHXe1.js → preload-helper-Dk-R02bM.js} +1 -1
- package/dist/client/assets/{project-route-CjZmQY5n.js → project-route-CwOywjoT.js} +2 -2
- package/dist/client/assets/{react-dom-DtL8G3gn.js → react-dom-s4nupq_N.js} +2 -2
- package/dist/client/assets/{rolldown-runtime-KtSMB9jY.js → rolldown-runtime-Df2-koJ7.js} +1 -1
- package/dist/client/assets/{server-feature-flags-wgvQSqd5.js → server-feature-flags-ByZjY7fi.js} +2 -2
- package/dist/client/assets/{server-feature-flags-BBH-SYjw.js → server-feature-flags-CqB4sk67.js} +1 -1
- package/dist/client/assets/{session-revoked-HpzxsCkX.js → session-revoked-B_iZLaTD.js} +2 -2
- package/dist/client/assets/{surveys-BYfLymeD.js → surveys-B4xlE-Cz.js} +2 -2
- package/dist/client/assets/telemetry-files-620cc3a6060f3829.js +1 -0
- package/dist/client/assets/{trace-timeline-BFtz0cI8.js → trace-timeline-BEzP_FzL.js} +1 -1
- package/dist/client/assets/{trace-timeline-CRxEZYCU.js → trace-timeline-BWWuYM0j.js} +2 -2
- package/dist/client/assets/{web-vitals-C1IvwuFq.js → web-vitals-jdhe8VpD.js} +2 -2
- package/dist/client/index.html +12 -12
- package/dist/server/harness-install-cli.js +3 -3
- package/dist/server/index.js +2 -2
- package/package.json +2 -2
- package/dist/client/assets/posthog-bundled-extensions-CQjB_Dfr.js +0 -3
- package/dist/client/assets/telemetry-files-5758eea65e761de9.js +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.0"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="960691dd-f1ad-4224-a2ce-be97be41fdac",e._sentryDebugIdIdentifier="sentry-dbid-960691dd-f1ad-4224-a2ce-be97be41fdac")}catch{}})();var H=()=>"strict";function xe(e){H=e}function Ce(){return H()}var G=new Set(["caniuse.dev","www.caniuse.dev"]),te=new Set(["score.mcpjam.com","www.score.mcpjam.com"]),Le=new Set([...G,...te]),je="https://app.mcpjam.com";function M(e){return G.has(e.toLowerCase())}function Ue(e,t){if(!M(e))return!1;const n=t.length>1?t.replace(/\/+$/,""):t;return n==="/"||/^\/capabilities(\/[^/]+)?$/.test(n)}function De(e=typeof window>"u"?void 0:window.location.hostname,t=typeof window>"u"?"":window.location.pathname){return t.replace(/\/+$/,"")==="/redeem"?!0:!!e&&M(e)}var z=[{id:"score-results",pattern:"/results/:runToken",secretParam:"runToken",secretIn:"path",scope:"page",ttl:"permanent",note:"Score run result link (app and score.mcpjam.com). The token is the only access control."},{id:"bench-results",pattern:"/bench/results/:secret",secretParam:"secret",secretIn:"path",scope:"page",ttl:"permanent",note:"Connector Bench result link. A hex secret that would otherwise pass for an id."},{id:"conformance-shared",pattern:"/conformance/shared/:token",secretParam:"token",secretIn:"path",scope:"page",ttl:"permanent",note:"Shared conformance report (HMAC token)."},{id:"evals-shared",pattern:"/evals/shared/:token",secretParam:"token",secretIn:"path",scope:"page",ttl:"permanent",note:"Shared eval report."},{id:"tester-link",pattern:"/user-testing/:slug/:token",secretParam:"token",secretIn:"path",scope:"page",ttl:"permanent",reserved:["edit"],note:"Published study's tester link. `/user-testing/<id>/edit` is the editor, not a link."},{id:"tester-link-legacy",pattern:"/chatbox/:slug/:token",secretParam:"token",secretIn:"path",scope:"page",ttl:"permanent",note:"Pre-rename tester link shape. No longer minted, still in old emails and histories."},{id:"server-connection-claim",pattern:"/connect/server/:handoffToken",secretParam:"handoffToken",secretIn:"path",scope:"page",ttl:"single_use",reserved:["request"],note:"Server-connection handoff. Traded for a cookie, then replaced by /connect/server/request/<id>."},{id:"mcp-oauth-callback",pattern:"/oauth/callback*",secretParam:"code",secretIn:"query",scope:"page",ttl:"one_time_code",note:"MCP server OAuth callback (and its debugger variants): `code` and `state`."},{id:"github-install-callback",pattern:"/settings/integrations/github/callback",secretParam:"code",secretIn:"query",scope:"page",ttl:"one_time_code",note:"GitHub App install callback: `code` and `state`."},{id:"workos-callback",pattern:"/callback",secretParam:"code",secretIn:"query",scope:"page",ttl:"one_time_code",note:"WorkOS AuthKit sign-in callback. authkit-js consumes the code; the URL is scrubbed everywhere."},{id:"local-access-link",pattern:"/*",secretParam:"token",secretIn:"fragment",scope:"page",ttl:"permanent",note:"Local Inspector access link `#token=`. Consumed from the fragment before telemetry starts."},{id:"api-score-run",pattern:"/api/web/score/runs/:token",secretParam:"token",secretIn:"path",scope:"api",ttl:"permanent",note:"Score result read behind /results/<token>."},{id:"api-bench-results",pattern:"/api/web/bench/results/:secret",secretParam:"secret",secretIn:"path",scope:"api",ttl:"permanent",note:"Bench result read behind /bench/results/<secret>."},{id:"api-conformance-shared",pattern:"/api/web/conformance-shared/:token",secretParam:"token",secretIn:"path",scope:"api",ttl:"permanent",note:"Legacy conformance share read behind /conformance/shared/<token>."},{id:"api-local-web-connector",pattern:"/api/web-clients/local-connectors/:connectorId",secretParam:"connectorId",secretIn:"path",scope:"api",ttl:"permanent",note:"A local Inspector's capability connector for Claude web or ChatGPT web, in its turn and remove routes. The id is the connector's only credential."},{id:"web-connector",pattern:"/mcp/:connectorId",secretParam:"connectorId",secretIn:"path",scope:"api",ttl:"permanent",rootOnly:!0,note:"The forwarding endpoint Claude web and ChatGPT web connect to, the URL a tunnel exposes. A capability connector's id is its only credential."},{id:"web-connector-metadata",pattern:"/.well-known/oauth-protected-resource/mcp/:connectorId",secretParam:"connectorId",secretIn:"path",scope:"api",ttl:"permanent",note:"The forwarding endpoint's protected-resource metadata, which its sign-in challenge names. Carries the same connector id."},{id:"app-view-local",pattern:"/api/apps/mcp-apps/sandbox-proxy",secretParam:"view_token",secretIn:"query",scope:"api",ttl:"session",note:"Opaque local App document capability, valid only for its live admitted view."},{id:"app-view-hosted",pattern:"/api/web/apps/mcp-apps/sandbox-proxy",secretParam:"view_token",secretIn:"query",scope:"api",ttl:"expiring",note:"Opaque hosted App document capability, checked against its renewable lease."},{id:"api-session-token-query",pattern:"/api/*",secretParam:"_token",secretIn:"query",scope:"api",ttl:"session",note:"Session token on SSE routes (EventSource cannot send headers)."},{id:"signed-artifact-link",pattern:"/*",secretParam:"t",secretIn:"query",scope:"api",ttl:"expiring",note:"Signed artifact/media link `?t=` minted by the backend."}],m="[redacted]",re=/%5Bredacted%5D/gi,B=new Set(["code","state","access_token","refresh_token","id_token","client_secret","code_verifier","assertion","client_assertion","token","_token","view_token","t","k","api_key","apikey","key","password","jwt","auth","authorization","otp","signature","sig","ticket","samlresponse","samlrequest","relaystate"]),ne=/^(?:x-amz-|x-goog-)|(?:token|secret|password|signature|apikey|api_key|credential)$/i;function R(e){const t=e.trim().toLowerCase();return B.has(t)||ne.test(t)}var se="((?!:)[^/?#]+)";function ae(e){return e.replace(/[.*+?^${}()|[\]\\/-]/g,"\\$&")}function oe(e){return`%${e.charCodeAt(0).toString(16).padStart(2,"0")}`}function K(e){return[...e].map(t=>{const n=new Set([t.toLowerCase(),t.toUpperCase()].map(oe));return`(?:${[ae(t),...n].join("|")})`}).join("")}function ce(e){const t=e.pattern.endsWith("*"),n=t?e.pattern.slice(0,-1):e.pattern,r=[],s=n.split("/").map(c=>c.startsWith(":")?(r.push(c.slice(1)),se):K(c)).join("/"),o=t?"":"(?=/|$)",a=n.indexOf(":");return{route:e,anchored:new RegExp(`^${s}${o}`,"i"),segmentGroup:e.secretIn==="path"?r.indexOf(e.secretParam)+1:0,staticPrefix:a===-1?n:n.slice(0,a),paramNames:r}}var V=z.map(ce),x=V.filter(e=>e.route.secretIn==="path"),Y=V.filter(e=>e.route.secretIn==="query"&&e.route.scope==="page"&&e.route.pattern!=="/*");function f(e){try{return decodeURIComponent(e)}catch{return e}}function b(e){for(const t of x){const n=t.anchored.exec(e);if(!n)continue;const r=n[t.segmentGroup];if(r===void 0||t.route.reserved?.includes(f(r).toLowerCase())||f(r)==="[redacted]")continue;const s={};t.paramNames.forEach((a,c)=>{s[a]=f(n[c+1]??"")});const o=n[0].length;return{route:t.route,params:s,segment:r,segmentStart:o-r.length,segmentEnd:o}}return null}function N(e){for(const t of Y)if(t.anchored.test(e))return t.route;return null}function Ne(e){const t=z.find(n=>n.id===e);if(!t)throw new Error(`unknown credential route ${e}`);return t}function qe(e){const t=b(e);return t?t.route.pattern:null}function k(e){const t=e.replace(/^[?#]/,"");return t?t.split(/[&;]/).some(n=>{const r=n.indexOf("="),s=f(r===-1?n:n.slice(0,r));return s!==""&&R(s)}):!1}function A(e){return e.split(/([&;])/).map((t,n)=>{if(n%2===1)return t;const r=t.indexOf("=");if(r===-1)return t;const s=t.slice(0,r),o=t.slice(r+1);if(R(f(s.replace(/\+/g," "))))return o===""?t:`${s}=${m}`;const a=f(o.replace(/\+/g," ")),c=y(a);return c===a?t:`${s}=${encodeURIComponent(c).replace(re,m)}`}).join("")}function Q(e){const t=b(e);return!t||t.segmentStart===void 0?e:`${e.slice(0,t.segmentStart)}${m}${e.slice(t.segmentEnd)}`}function ie(e){if(e.startsWith("/")){const t=e.search(/[?#]/),n=t===-1?e:e.slice(0,t),r=t===-1?"":e.slice(t),s=r.startsWith("?")||r.startsWith("#")?`${r[0]}${A(r.slice(1))}`:r;return`${Q(n)}${s}`}return e.includes("=")?A(e):e}var C=/^([a-z][a-z0-9+.-]*:)?\/\//i;function X(e){let t=e,n="";const r=C.exec(t);if(r){const d=r[0].length,p=t.slice(d).search(/[/?#]/),l=p===-1?t.length:d+p;n=t.slice(0,l),t=t.slice(l)}const s=t.indexOf("#"),o=s===-1?"":t.slice(s+1);s!==-1&&(t=t.slice(0,s));const a=t.indexOf("?"),c=a===-1?"":t.slice(a+1),i=a===-1?t:t.slice(0,a);return{authority:n,path:i,query:c,fragment:o,hasQuery:a!==-1,hasFragment:s!==-1}}function le(e){const t=C.exec(e)?.[0]??"",n=e.slice(t.length),r=n.lastIndexOf("@");return r===-1?e:`${t}${n.slice(r+1)}`}function ue(e){return C.test(e)||e.startsWith("/")||e.startsWith("?")||e.startsWith("#")}function v(e){const t=X(e);return`${le(t.authority)}${Q(t.path)}${t.hasQuery?`?${A(t.query)}`:""}${t.hasFragment?`#${ie(t.fragment)}`:""}`}function Fe(e){if(typeof e!="string"||e==="")return e;try{if(!ue(e))return y(e);const t=v(e);return t===e?e:t}catch{return fe(e)}}function fe(e){try{return y(e)}catch{return m}}var q="(?:/|%2[Ff])",pe="((?!:|%5[Bb])(?:(?!%2[Ff]|%3[Ff]|%23)[^/?#\\s\"'<>\\\\()[\\]`|,;])+)",de="(?:^|[\\s\"'<>()[\\]`|,;=]|(?://|%2[Ff]%2[Ff])(?:[^/?#\\s\"'<>()[\\]`%]|%(?!2[Ff]|3[Ff]|23)[0-9A-Fa-f]{2})*)";function he(e){const t=e.route.pattern.split("/").filter(Boolean).map(r=>r.startsWith(":")?pe:K(r)).join(q),n=e.route.rootOnly?de:"";return{regex:new RegExp(`${n}${q}${t}`,"gi"),reserved:e.route.reserved??[]}}var me=x.map(e=>({...he(e),compiled:e})),ye=/\b[a-z][a-z0-9+.-]*:\/\/(?:\[[0-9A-Fa-f:.]+\])?[^\s"'<>()[\]`]*/gi,J=/[.,;:!?]+$/,ge=/^(?:[A-Z][A-Z0-9_]*|\d{1,4})[.,;:!?)]*$/,_e=/((?:^|[?&#;]|%3[Ff]|%26|%23)\s*)((?:[A-Za-z0-9_.\-[\]]|%(?!3[Ff]|26|23|3[Dd])[0-9A-Fa-f]{2})+)((?:=|%3[Dd]))((?:(?!%26|%23)[^&#;\s"'<>\\`])*)/g,$e=/(^|[\s"'(<=,[])\/\/[^\s/?#@"'<>()[\]`]+@(?=[^\s/?#@])/g,be=/^[/?#]\S*$/;function Pe(e){let t=e;for(const n of me){const{segmentGroup:r,paramNames:s}=n.compiled;t=t.replace(n.regex,(o,...a)=>{const c=a.slice(0,s.length)[r-1];return typeof c!="string"||n.reserved.includes(f(c).toLowerCase())?o:`${o.slice(0,o.length-c.length)}${m}`})}return t}function Z(e,t=0){return e.replace(_e,(n,r,s,o,a)=>{if(a===""||a.startsWith("[redacted]")||/^%5Bredacted%5D/i.test(a))return n;const c=f(f(s));if(!(r===""&&t===0&&!e.includes("&")&&c.trim().toLowerCase()==="code"&&ge.test(a))&&R(c)){const d=J.exec(a)?.[0]??"";return`${r}${s}${o}${m}${d}`}if(t>=4)return n;const i=Z(a,t+1);return i===a?n:`${r}${s}${o}${i}`})}function y(e){if(typeof e!="string"||e===""||!we.test(e))return e;try{let t=be.test(e)?v(e):e;return t=t.replace(ye,n=>{const r=J.exec(n)?.[0]??"";return`${v(r?n.slice(0,-r.length):n)}${r}`}),t=t.replace($e,"$1//"),t=Pe(t),t=Z(t),t}catch{return m}}var we=/[/=%:]/;function We(e){return y(e)!==e}function Ee(e){try{const t=e.pathname??"";if(b(t)||N(t)||e.search&&k(e.search))return!0;const n=`${e.search??""}${e.hash??""}`;if(n&&y(n)!==n)return!0;const r=e.hash??"";if(r.length>1){const s=r.slice(1);if(s.startsWith("/")){const o=s.search(/[?#]/),a=o===-1?s:s.slice(0,o);if(b(a)||N(a)||o!==-1&&k(s.slice(o)))return!0}else if(s.includes("=")&&k(s))return!0}return!1}catch{return!0}}function ke(e){return e.replace(/[^A-Za-z0-9_\-/.?=#;:]/g,t=>`\\${t.charCodeAt(0).toString(16)} `)}function He(e=["href","src","srcset","action","data"]){const t=new Set;for(const r of x)r.staticPrefix.length>1&&t.add(r.staticPrefix);for(const r of Y){const s=r.route.pattern.replace(/\*$/,"");t.add(`${s}?`)}for(const r of B)for(const s of["?","&","#",";"])t.add(`${s}${r}=`);for(const r of["x-amz-","x-goog-"])for(const s of["?","&"])t.add(`${s}${r}`);const n=[];for(const r of e)for(const s of t)n.push(`[${r}*="${ke(s)}" i]`);return n}function Ge(e){try{const{path:t,query:n,fragment:r}=X(e);return Ee({pathname:t||"/",search:n?`?${n}`:"",hash:r?`#${r}`:""})}catch{return!0}}var Se=64,Te=2e5,S=class extends Error{constructor(e){super(`telemetry scrub failed: ${e}`),this.name="TelemetryScrubError"}};function F(e,t={}){const n=new Set(t.preserveTopLevelKeys??[]),r=new Set;let s=0;const o=(a,c)=>{if(++s>Te)throw new S("too large");if(typeof a=="string")return y(a);if(a===null||typeof a!="object")return a;if(c>Se)throw new S("too deep");if(r.has(a))throw new S("cycle");r.add(a);try{if(Array.isArray(a)){let l=!1;const _=a.map(u=>{const h=o(u,c+1);return h!==u&&(l=!0),h});return l?_:a}const i=Object.getPrototypeOf(a);if(i!==Object.prototype&&i!==null)return a;let d=!1;const p={};for(const[l,_]of Object.entries(a)){const u=y(l),h=c===0&&n.has(l)?_:o(_,c+1);(u!==l||h!==_)&&(d=!0);let j=u,U=h;if(Object.prototype.hasOwnProperty.call(p,u)){const D=p[u];if(Array.isArray(D)&&Array.isArray(h))U=[...D,...h];else{let E=2;for(;Object.prototype.hasOwnProperty.call(p,`${u}#${E}`);)E++;j=`${u}#${E}`}}Object.defineProperty(p,j,{value:U,enumerable:!0,writable:!0,configurable:!0})}return d?p:a}finally{r.delete(a)}};return o(e,0)}var Ae=["$current_url","$referrer","$pathname","$external_click_url","$session_entry_url","$session_entry_pathname","$session_entry_referrer","$initial_current_url","$initial_pathname","$initial_referrer","$prev_pageview_url","$prev_pageview_pathname"],W=[...Ae,"$referring_domain","$host","$elements_chain","$elements","$exception_list","$heatmap_data","$$heatmap","$web_vitals_LCP_event","$web_vitals_CLS_event","$web_vitals_FCP_event","$web_vitals_INP_event","$snapshot_data","failed_request","request","breadcrumbs","transaction","spans","exception","message","logentry","urls","url","contexts","extra"];function Me(e,t={}){try{return F(e,t)}catch(n){t.onFallback?.(n instanceof Error?n.message:"unknown")}try{return F(ve(e),t)}catch{return null}}function ve(e){const t={...e};for(const n of W)delete t[n];for(const[n,r]of Object.entries(t))if(r&&typeof r=="object"&&!Array.isArray(r)){const s={...r};for(const o of W)delete s[o];t[n]=s}return t}var T="/home",Ie=/^[a-z0-9]{16,64}$/,Oe=new Set(["none","local"]);function L(e){return typeof e!="string"||Oe.has(e)?!1:Ie.test(e)}function $(e){const t=e.indexOf("#"),n=e.indexOf("?");let r=-1;return n>=0&&(t<0||n<t)?r=n:t>=0&&(r=t),r<0?{path:e,suffix:""}:{path:e.slice(0,r),suffix:e.slice(r)}}function I(e){if(typeof e!="string")return!1;const t=e.trim();return!(!t||t.startsWith("//")||/^[a-z][a-z0-9+.-]*:/i.test(t)||t.includes("\\"))}function g(e){try{return decodeURIComponent(e)}catch{return e}}function P(e){return e?e.startsWith("/")?e.replace(/^\/+/,"/"):`/${e}`:"/"}function w(e){if(typeof e!="string"||!e)return null;const{path:t}=$(e),n=P(t),r=/^\/p\/([^/]+)(\/.*)?$/.exec(n);if(!r)return null;const s=g(r[1]);return L(s)?{projectId:s,relativePath:r[2]||"/"}:null}function ze(e){if(typeof e!="string"||!e)return null;const{path:t}=$(e),n=/^\/p\/([^/]+)(\/.*)?$/.exec(P(t));return n?g(n[1]):null}function Be(e){return w(e)!==null}function O(e,t){const n=typeof t=="string"&&t.trim()?t.trim():"/";if(!L(e))return I(n)?P(n):"/";const r=`/p/${encodeURIComponent(e)}`;if(!I(n))return`${r}${T}`;const s=w(n);if(s){const{suffix:i}=$(n);return`${r}${s.relativePath==="/"?T:s.relativePath}${i}`}const{path:o,suffix:a}=$(n),c=P(o);return c==="/"?`${r}${T}${a}`:`${r}${c}${a}`}function Ke(e,t){return O(t,e)}function Ve(e){if(typeof e!="string"||!e)return e;const t=w(e);if(!t)return e;const{suffix:n}=$(e);return`${t.relativePath}${n}`}var ee="project";function Re(e){if(!e)return"";const t=e.startsWith("?")?e.slice(1):e;if(!t)return"";const n=t.split("&").filter(r=>{if(!r)return!1;const s=r.indexOf("=");return g(s===-1?r:r.slice(0,s))!==ee}).join("&");return n?`?${n}`:""}function Ye(e){if(!e)return null;const t=e.startsWith("?")?e.slice(1):e;for(const n of t.split("&")){if(!n)continue;const r=n.indexOf("=");if(g(r===-1?n:n.slice(0,r))!=="project")continue;const s=r===-1?"":g(n.slice(r+1));if(L(s))return s}return null}function Qe(e){return e?(e.startsWith("?")?e.slice(1):e).split("&").some(t=>{if(!t)return!1;const n=t.indexOf("=");return g(n===-1?t:t.slice(0,n))===ee}):!1}function Xe(e){const{logicalTarget:t,projectId:n}=e,r=typeof t=="string"&&t?t:"/";if(!I(r))return O(n,"/");const s=r.indexOf("#"),o=s>=0?r.slice(s):"",a=s>=0?r.slice(0,s):r,c=a.indexOf("?"),i=`${c>=0?a.slice(0,c):a}${Re(c>=0?a.slice(c):"")}${o}`;return w(i)?i:O(n,i)}export{M as A,Ne as C,z as D,m as E,De as M,Ce as N,je as O,xe as P,y as S,ae as T,He as _,I as a,We as b,w as c,Ke as d,Re as f,F as g,Me as h,Qe as i,Ue as j,Le as k,Ye as l,W as m,O as n,L as o,Ve as p,Xe as r,Be as s,T as t,ze as u,Ee as v,qe as w,Fe as x,Ge as y};
|
|
1
|
+
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.2"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="960691dd-f1ad-4224-a2ce-be97be41fdac",e._sentryDebugIdIdentifier="sentry-dbid-960691dd-f1ad-4224-a2ce-be97be41fdac")}catch{}})();var H=()=>"strict";function xe(e){H=e}function Ce(){return H()}var G=new Set(["caniuse.dev","www.caniuse.dev"]),te=new Set(["score.mcpjam.com","www.score.mcpjam.com"]),Le=new Set([...G,...te]),je="https://app.mcpjam.com";function M(e){return G.has(e.toLowerCase())}function Ue(e,t){if(!M(e))return!1;const n=t.length>1?t.replace(/\/+$/,""):t;return n==="/"||/^\/capabilities(\/[^/]+)?$/.test(n)}function De(e=typeof window>"u"?void 0:window.location.hostname,t=typeof window>"u"?"":window.location.pathname){return t.replace(/\/+$/,"")==="/redeem"?!0:!!e&&M(e)}var z=[{id:"score-results",pattern:"/results/:runToken",secretParam:"runToken",secretIn:"path",scope:"page",ttl:"permanent",note:"Score run result link (app and score.mcpjam.com). The token is the only access control."},{id:"bench-results",pattern:"/bench/results/:secret",secretParam:"secret",secretIn:"path",scope:"page",ttl:"permanent",note:"Connector Bench result link. A hex secret that would otherwise pass for an id."},{id:"conformance-shared",pattern:"/conformance/shared/:token",secretParam:"token",secretIn:"path",scope:"page",ttl:"permanent",note:"Shared conformance report (HMAC token)."},{id:"evals-shared",pattern:"/evals/shared/:token",secretParam:"token",secretIn:"path",scope:"page",ttl:"permanent",note:"Shared eval report."},{id:"tester-link",pattern:"/user-testing/:slug/:token",secretParam:"token",secretIn:"path",scope:"page",ttl:"permanent",reserved:["edit"],note:"Published study's tester link. `/user-testing/<id>/edit` is the editor, not a link."},{id:"tester-link-legacy",pattern:"/chatbox/:slug/:token",secretParam:"token",secretIn:"path",scope:"page",ttl:"permanent",note:"Pre-rename tester link shape. No longer minted, still in old emails and histories."},{id:"server-connection-claim",pattern:"/connect/server/:handoffToken",secretParam:"handoffToken",secretIn:"path",scope:"page",ttl:"single_use",reserved:["request"],note:"Server-connection handoff. Traded for a cookie, then replaced by /connect/server/request/<id>."},{id:"mcp-oauth-callback",pattern:"/oauth/callback*",secretParam:"code",secretIn:"query",scope:"page",ttl:"one_time_code",note:"MCP server OAuth callback (and its debugger variants): `code` and `state`."},{id:"github-install-callback",pattern:"/settings/integrations/github/callback",secretParam:"code",secretIn:"query",scope:"page",ttl:"one_time_code",note:"GitHub App install callback: `code` and `state`."},{id:"workos-callback",pattern:"/callback",secretParam:"code",secretIn:"query",scope:"page",ttl:"one_time_code",note:"WorkOS AuthKit sign-in callback. authkit-js consumes the code; the URL is scrubbed everywhere."},{id:"local-access-link",pattern:"/*",secretParam:"token",secretIn:"fragment",scope:"page",ttl:"permanent",note:"Local Inspector access link `#token=`. Consumed from the fragment before telemetry starts."},{id:"api-score-run",pattern:"/api/web/score/runs/:token",secretParam:"token",secretIn:"path",scope:"api",ttl:"permanent",note:"Score result read behind /results/<token>."},{id:"api-bench-results",pattern:"/api/web/bench/results/:secret",secretParam:"secret",secretIn:"path",scope:"api",ttl:"permanent",note:"Bench result read behind /bench/results/<secret>."},{id:"api-conformance-shared",pattern:"/api/web/conformance-shared/:token",secretParam:"token",secretIn:"path",scope:"api",ttl:"permanent",note:"Legacy conformance share read behind /conformance/shared/<token>."},{id:"api-local-web-connector",pattern:"/api/web-clients/local-connectors/:connectorId",secretParam:"connectorId",secretIn:"path",scope:"api",ttl:"permanent",note:"A local Inspector's capability connector for Claude web or ChatGPT web, in its turn and remove routes. The id is the connector's only credential."},{id:"web-connector",pattern:"/mcp/:connectorId",secretParam:"connectorId",secretIn:"path",scope:"api",ttl:"permanent",rootOnly:!0,note:"The forwarding endpoint Claude web and ChatGPT web connect to, the URL a tunnel exposes. A capability connector's id is its only credential."},{id:"web-connector-metadata",pattern:"/.well-known/oauth-protected-resource/mcp/:connectorId",secretParam:"connectorId",secretIn:"path",scope:"api",ttl:"permanent",note:"The forwarding endpoint's protected-resource metadata, which its sign-in challenge names. Carries the same connector id."},{id:"app-view-local",pattern:"/api/apps/mcp-apps/sandbox-proxy",secretParam:"view_token",secretIn:"query",scope:"api",ttl:"session",note:"Opaque local App document capability, valid only for its live admitted view."},{id:"app-view-hosted",pattern:"/api/web/apps/mcp-apps/sandbox-proxy",secretParam:"view_token",secretIn:"query",scope:"api",ttl:"expiring",note:"Opaque hosted App document capability, checked against its renewable lease."},{id:"api-session-token-query",pattern:"/api/*",secretParam:"_token",secretIn:"query",scope:"api",ttl:"session",note:"Session token on SSE routes (EventSource cannot send headers)."},{id:"signed-artifact-link",pattern:"/*",secretParam:"t",secretIn:"query",scope:"api",ttl:"expiring",note:"Signed artifact/media link `?t=` minted by the backend."}],m="[redacted]",re=/%5Bredacted%5D/gi,B=new Set(["code","state","access_token","refresh_token","id_token","client_secret","code_verifier","assertion","client_assertion","token","_token","view_token","t","k","api_key","apikey","key","password","jwt","auth","authorization","otp","signature","sig","ticket","samlresponse","samlrequest","relaystate"]),ne=/^(?:x-amz-|x-goog-)|(?:token|secret|password|signature|apikey|api_key|credential)$/i;function R(e){const t=e.trim().toLowerCase();return B.has(t)||ne.test(t)}var se="((?!:)[^/?#]+)";function ae(e){return e.replace(/[.*+?^${}()|[\]\\/-]/g,"\\$&")}function oe(e){return`%${e.charCodeAt(0).toString(16).padStart(2,"0")}`}function K(e){return[...e].map(t=>{const n=new Set([t.toLowerCase(),t.toUpperCase()].map(oe));return`(?:${[ae(t),...n].join("|")})`}).join("")}function ce(e){const t=e.pattern.endsWith("*"),n=t?e.pattern.slice(0,-1):e.pattern,r=[],s=n.split("/").map(c=>c.startsWith(":")?(r.push(c.slice(1)),se):K(c)).join("/"),o=t?"":"(?=/|$)",a=n.indexOf(":");return{route:e,anchored:new RegExp(`^${s}${o}`,"i"),segmentGroup:e.secretIn==="path"?r.indexOf(e.secretParam)+1:0,staticPrefix:a===-1?n:n.slice(0,a),paramNames:r}}var V=z.map(ce),x=V.filter(e=>e.route.secretIn==="path"),Y=V.filter(e=>e.route.secretIn==="query"&&e.route.scope==="page"&&e.route.pattern!=="/*");function f(e){try{return decodeURIComponent(e)}catch{return e}}function b(e){for(const t of x){const n=t.anchored.exec(e);if(!n)continue;const r=n[t.segmentGroup];if(r===void 0||t.route.reserved?.includes(f(r).toLowerCase())||f(r)==="[redacted]")continue;const s={};t.paramNames.forEach((a,c)=>{s[a]=f(n[c+1]??"")});const o=n[0].length;return{route:t.route,params:s,segment:r,segmentStart:o-r.length,segmentEnd:o}}return null}function N(e){for(const t of Y)if(t.anchored.test(e))return t.route;return null}function Ne(e){const t=z.find(n=>n.id===e);if(!t)throw new Error(`unknown credential route ${e}`);return t}function qe(e){const t=b(e);return t?t.route.pattern:null}function k(e){const t=e.replace(/^[?#]/,"");return t?t.split(/[&;]/).some(n=>{const r=n.indexOf("="),s=f(r===-1?n:n.slice(0,r));return s!==""&&R(s)}):!1}function A(e){return e.split(/([&;])/).map((t,n)=>{if(n%2===1)return t;const r=t.indexOf("=");if(r===-1)return t;const s=t.slice(0,r),o=t.slice(r+1);if(R(f(s.replace(/\+/g," "))))return o===""?t:`${s}=${m}`;const a=f(o.replace(/\+/g," ")),c=y(a);return c===a?t:`${s}=${encodeURIComponent(c).replace(re,m)}`}).join("")}function Q(e){const t=b(e);return!t||t.segmentStart===void 0?e:`${e.slice(0,t.segmentStart)}${m}${e.slice(t.segmentEnd)}`}function ie(e){if(e.startsWith("/")){const t=e.search(/[?#]/),n=t===-1?e:e.slice(0,t),r=t===-1?"":e.slice(t),s=r.startsWith("?")||r.startsWith("#")?`${r[0]}${A(r.slice(1))}`:r;return`${Q(n)}${s}`}return e.includes("=")?A(e):e}var C=/^([a-z][a-z0-9+.-]*:)?\/\//i;function X(e){let t=e,n="";const r=C.exec(t);if(r){const d=r[0].length,p=t.slice(d).search(/[/?#]/),l=p===-1?t.length:d+p;n=t.slice(0,l),t=t.slice(l)}const s=t.indexOf("#"),o=s===-1?"":t.slice(s+1);s!==-1&&(t=t.slice(0,s));const a=t.indexOf("?"),c=a===-1?"":t.slice(a+1),i=a===-1?t:t.slice(0,a);return{authority:n,path:i,query:c,fragment:o,hasQuery:a!==-1,hasFragment:s!==-1}}function le(e){const t=C.exec(e)?.[0]??"",n=e.slice(t.length),r=n.lastIndexOf("@");return r===-1?e:`${t}${n.slice(r+1)}`}function ue(e){return C.test(e)||e.startsWith("/")||e.startsWith("?")||e.startsWith("#")}function v(e){const t=X(e);return`${le(t.authority)}${Q(t.path)}${t.hasQuery?`?${A(t.query)}`:""}${t.hasFragment?`#${ie(t.fragment)}`:""}`}function Fe(e){if(typeof e!="string"||e==="")return e;try{if(!ue(e))return y(e);const t=v(e);return t===e?e:t}catch{return fe(e)}}function fe(e){try{return y(e)}catch{return m}}var q="(?:/|%2[Ff])",pe="((?!:|%5[Bb])(?:(?!%2[Ff]|%3[Ff]|%23)[^/?#\\s\"'<>\\\\()[\\]`|,;])+)",de="(?:^|[\\s\"'<>()[\\]`|,;=]|(?://|%2[Ff]%2[Ff])(?:[^/?#\\s\"'<>()[\\]`%]|%(?!2[Ff]|3[Ff]|23)[0-9A-Fa-f]{2})*)";function he(e){const t=e.route.pattern.split("/").filter(Boolean).map(r=>r.startsWith(":")?pe:K(r)).join(q),n=e.route.rootOnly?de:"";return{regex:new RegExp(`${n}${q}${t}`,"gi"),reserved:e.route.reserved??[]}}var me=x.map(e=>({...he(e),compiled:e})),ye=/\b[a-z][a-z0-9+.-]*:\/\/(?:\[[0-9A-Fa-f:.]+\])?[^\s"'<>()[\]`]*/gi,J=/[.,;:!?]+$/,ge=/^(?:[A-Z][A-Z0-9_]*|\d{1,4})[.,;:!?)]*$/,_e=/((?:^|[?&#;]|%3[Ff]|%26|%23)\s*)((?:[A-Za-z0-9_.\-[\]]|%(?!3[Ff]|26|23|3[Dd])[0-9A-Fa-f]{2})+)((?:=|%3[Dd]))((?:(?!%26|%23)[^&#;\s"'<>\\`])*)/g,$e=/(^|[\s"'(<=,[])\/\/[^\s/?#@"'<>()[\]`]+@(?=[^\s/?#@])/g,be=/^[/?#]\S*$/;function Pe(e){let t=e;for(const n of me){const{segmentGroup:r,paramNames:s}=n.compiled;t=t.replace(n.regex,(o,...a)=>{const c=a.slice(0,s.length)[r-1];return typeof c!="string"||n.reserved.includes(f(c).toLowerCase())?o:`${o.slice(0,o.length-c.length)}${m}`})}return t}function Z(e,t=0){return e.replace(_e,(n,r,s,o,a)=>{if(a===""||a.startsWith("[redacted]")||/^%5Bredacted%5D/i.test(a))return n;const c=f(f(s));if(!(r===""&&t===0&&!e.includes("&")&&c.trim().toLowerCase()==="code"&&ge.test(a))&&R(c)){const d=J.exec(a)?.[0]??"";return`${r}${s}${o}${m}${d}`}if(t>=4)return n;const i=Z(a,t+1);return i===a?n:`${r}${s}${o}${i}`})}function y(e){if(typeof e!="string"||e===""||!we.test(e))return e;try{let t=be.test(e)?v(e):e;return t=t.replace(ye,n=>{const r=J.exec(n)?.[0]??"";return`${v(r?n.slice(0,-r.length):n)}${r}`}),t=t.replace($e,"$1//"),t=Pe(t),t=Z(t),t}catch{return m}}var we=/[/=%:]/;function We(e){return y(e)!==e}function Ee(e){try{const t=e.pathname??"";if(b(t)||N(t)||e.search&&k(e.search))return!0;const n=`${e.search??""}${e.hash??""}`;if(n&&y(n)!==n)return!0;const r=e.hash??"";if(r.length>1){const s=r.slice(1);if(s.startsWith("/")){const o=s.search(/[?#]/),a=o===-1?s:s.slice(0,o);if(b(a)||N(a)||o!==-1&&k(s.slice(o)))return!0}else if(s.includes("=")&&k(s))return!0}return!1}catch{return!0}}function ke(e){return e.replace(/[^A-Za-z0-9_\-/.?=#;:]/g,t=>`\\${t.charCodeAt(0).toString(16)} `)}function He(e=["href","src","srcset","action","data"]){const t=new Set;for(const r of x)r.staticPrefix.length>1&&t.add(r.staticPrefix);for(const r of Y){const s=r.route.pattern.replace(/\*$/,"");t.add(`${s}?`)}for(const r of B)for(const s of["?","&","#",";"])t.add(`${s}${r}=`);for(const r of["x-amz-","x-goog-"])for(const s of["?","&"])t.add(`${s}${r}`);const n=[];for(const r of e)for(const s of t)n.push(`[${r}*="${ke(s)}" i]`);return n}function Ge(e){try{const{path:t,query:n,fragment:r}=X(e);return Ee({pathname:t||"/",search:n?`?${n}`:"",hash:r?`#${r}`:""})}catch{return!0}}var Se=64,Te=2e5,S=class extends Error{constructor(e){super(`telemetry scrub failed: ${e}`),this.name="TelemetryScrubError"}};function F(e,t={}){const n=new Set(t.preserveTopLevelKeys??[]),r=new Set;let s=0;const o=(a,c)=>{if(++s>Te)throw new S("too large");if(typeof a=="string")return y(a);if(a===null||typeof a!="object")return a;if(c>Se)throw new S("too deep");if(r.has(a))throw new S("cycle");r.add(a);try{if(Array.isArray(a)){let l=!1;const _=a.map(u=>{const h=o(u,c+1);return h!==u&&(l=!0),h});return l?_:a}const i=Object.getPrototypeOf(a);if(i!==Object.prototype&&i!==null)return a;let d=!1;const p={};for(const[l,_]of Object.entries(a)){const u=y(l),h=c===0&&n.has(l)?_:o(_,c+1);(u!==l||h!==_)&&(d=!0);let j=u,U=h;if(Object.prototype.hasOwnProperty.call(p,u)){const D=p[u];if(Array.isArray(D)&&Array.isArray(h))U=[...D,...h];else{let E=2;for(;Object.prototype.hasOwnProperty.call(p,`${u}#${E}`);)E++;j=`${u}#${E}`}}Object.defineProperty(p,j,{value:U,enumerable:!0,writable:!0,configurable:!0})}return d?p:a}finally{r.delete(a)}};return o(e,0)}var Ae=["$current_url","$referrer","$pathname","$external_click_url","$session_entry_url","$session_entry_pathname","$session_entry_referrer","$initial_current_url","$initial_pathname","$initial_referrer","$prev_pageview_url","$prev_pageview_pathname"],W=[...Ae,"$referring_domain","$host","$elements_chain","$elements","$exception_list","$heatmap_data","$$heatmap","$web_vitals_LCP_event","$web_vitals_CLS_event","$web_vitals_FCP_event","$web_vitals_INP_event","$snapshot_data","failed_request","request","breadcrumbs","transaction","spans","exception","message","logentry","urls","url","contexts","extra"];function Me(e,t={}){try{return F(e,t)}catch(n){t.onFallback?.(n instanceof Error?n.message:"unknown")}try{return F(ve(e),t)}catch{return null}}function ve(e){const t={...e};for(const n of W)delete t[n];for(const[n,r]of Object.entries(t))if(r&&typeof r=="object"&&!Array.isArray(r)){const s={...r};for(const o of W)delete s[o];t[n]=s}return t}var T="/home",Ie=/^[a-z0-9]{16,64}$/,Oe=new Set(["none","local"]);function L(e){return typeof e!="string"||Oe.has(e)?!1:Ie.test(e)}function $(e){const t=e.indexOf("#"),n=e.indexOf("?");let r=-1;return n>=0&&(t<0||n<t)?r=n:t>=0&&(r=t),r<0?{path:e,suffix:""}:{path:e.slice(0,r),suffix:e.slice(r)}}function I(e){if(typeof e!="string")return!1;const t=e.trim();return!(!t||t.startsWith("//")||/^[a-z][a-z0-9+.-]*:/i.test(t)||t.includes("\\"))}function g(e){try{return decodeURIComponent(e)}catch{return e}}function P(e){return e?e.startsWith("/")?e.replace(/^\/+/,"/"):`/${e}`:"/"}function w(e){if(typeof e!="string"||!e)return null;const{path:t}=$(e),n=P(t),r=/^\/p\/([^/]+)(\/.*)?$/.exec(n);if(!r)return null;const s=g(r[1]);return L(s)?{projectId:s,relativePath:r[2]||"/"}:null}function ze(e){if(typeof e!="string"||!e)return null;const{path:t}=$(e),n=/^\/p\/([^/]+)(\/.*)?$/.exec(P(t));return n?g(n[1]):null}function Be(e){return w(e)!==null}function O(e,t){const n=typeof t=="string"&&t.trim()?t.trim():"/";if(!L(e))return I(n)?P(n):"/";const r=`/p/${encodeURIComponent(e)}`;if(!I(n))return`${r}${T}`;const s=w(n);if(s){const{suffix:i}=$(n);return`${r}${s.relativePath==="/"?T:s.relativePath}${i}`}const{path:o,suffix:a}=$(n),c=P(o);return c==="/"?`${r}${T}${a}`:`${r}${c}${a}`}function Ke(e,t){return O(t,e)}function Ve(e){if(typeof e!="string"||!e)return e;const t=w(e);if(!t)return e;const{suffix:n}=$(e);return`${t.relativePath}${n}`}var ee="project";function Re(e){if(!e)return"";const t=e.startsWith("?")?e.slice(1):e;if(!t)return"";const n=t.split("&").filter(r=>{if(!r)return!1;const s=r.indexOf("=");return g(s===-1?r:r.slice(0,s))!==ee}).join("&");return n?`?${n}`:""}function Ye(e){if(!e)return null;const t=e.startsWith("?")?e.slice(1):e;for(const n of t.split("&")){if(!n)continue;const r=n.indexOf("=");if(g(r===-1?n:n.slice(0,r))!=="project")continue;const s=r===-1?"":g(n.slice(r+1));if(L(s))return s}return null}function Qe(e){return e?(e.startsWith("?")?e.slice(1):e).split("&").some(t=>{if(!t)return!1;const n=t.indexOf("=");return g(n===-1?t:t.slice(0,n))===ee}):!1}function Xe(e){const{logicalTarget:t,projectId:n}=e,r=typeof t=="string"&&t?t:"/";if(!I(r))return O(n,"/");const s=r.indexOf("#"),o=s>=0?r.slice(s):"",a=s>=0?r.slice(0,s):r,c=a.indexOf("?"),i=`${c>=0?a.slice(0,c):a}${Re(c>=0?a.slice(c):"")}${o}`;return w(i)?i:O(n,i)}export{M as A,Ne as C,z as D,m as E,De as M,Ce as N,je as O,xe as P,y as S,ae as T,He as _,I as a,We as b,w as c,Ke as d,Re as f,F as g,Me as h,Qe as i,Ue as j,Le as k,Ye as l,W as m,O as n,L as o,Ve as p,Xe as r,Be as s,T as t,ze as u,Ee as v,qe as w,Fe as x,Ge as y};
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=project-route-
|
|
3
|
+
//# sourceMappingURL=project-route-CwOywjoT.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{t as h}from"./rolldown-runtime-KtSMB9jY.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.27.0"};var v=new n.Error().stack;v&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[v]="4bcb45bd-af41-4476-98ef-b96ded4d0154",n._sentryDebugIdIdentifier="sentry-dbid-4bcb45bd-af41-4476-98ef-b96ded4d0154")}catch{}})();var F=h((n=>{var v=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),O=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),R=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),t=Symbol.for("react.activity"),y=Symbol.for("react.view_transition"),E=Symbol.iterator;function A(e){return e===null||typeof e!="object"?null:(e=E&&e[E]||e["@@iterator"],typeof e=="function"?e:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,$={};function S(e,r,u){this.props=e,this.context=r,this.refs=$,this.updater=u||C}S.prototype.isReactComponent={},S.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")},S.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function U(){}U.prototype=S.prototype;function H(e,r,u){this.props=e,this.context=r,this.refs=$,this.updater=u||C}var L=H.prototype=new U;L.constructor=H,Y(L,S.prototype),L.isPureReactComponent=!0;var k=Array.isArray;function b(){}var s={H:null,A:null,T:null,S:null},q=Object.prototype.hasOwnProperty;function D(e,r,u){var i=u.ref;return{$$typeof:v,type:e,key:r,ref:i!==void 0?i:null,props:u}}function W(e,r){return D(e.type,r,e.props)}function M(e){return typeof e=="object"&&e!==null&&e.$$typeof===v}function V(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(u){return r[u]})}var G=/\/+/g;function j(e,r){return typeof e=="object"&&e!==null&&e.key!=null?V(""+e.key):r.toString(36)}function X(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(b,b):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function p(e,r,u,i,f){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(c){case"bigint":case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case v:case T:a=!0;break;case o:return a=e._init,p(a(e._payload),r,u,i,f)}}if(a)return f=f(e),a=i===""?"."+j(e,0):i,k(f)?(u="",a!=null&&(u=a.replace(G,"$&/")+"/"),p(f,r,u,"",function(Z){return Z})):f!=null&&(M(f)&&(f=W(f,u+(f.key==null||e&&e.key===f.key?"":(""+f.key).replace(G,"$&/")+"/")+a)),r.push(f)),1;a=0;var g=i===""?".":i+":";if(k(e))for(var _=0;_<e.length;_++)i=e[_],c=g+j(i,_),a+=p(i,r,u,c,f);else if(_=A(e),typeof _=="function")for(e=_.call(e),_=0;!(i=e.next()).done;)i=i.value,c=g+j(i,_++),a+=p(i,r,u,c,f);else if(c==="object"){if(typeof e.then=="function")return p(X(e),r,u,i,f);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return a}function P(e,r,u){if(e==null)return e;var i=[],f=0;return p(e,i,"","",function(c){return r.call(u,c,f++)}),i}function J(e){if(e._status===-1){var r=e._result,u=r();u.then(function(i){(e._status===0||e._status===-1)&&(e._status=1,e._result=i,u.status===void 0&&(u.status="fulfilled",u.value=i))},function(i){(e._status===0||e._status===-1)&&(e._status=2,e._result=i,u.status===void 0&&(u.status="rejected",u.reason=i))}),e._status===-1&&(e._status=0,e._result=u)}if(e._status===1)return e._result.default;throw e._result}var z=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=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(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function K(e){var r=s.T,u={};u.types=r!==null?r.types:null,s.T=u;try{var i=e(),f=s.S;f!==null&&f(u,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(b,z)}catch(c){z(c)}finally{r!==null&&u.types!==null&&(r.types=u.types),s.T=r}}function B(e){var r=s.T;if(r!==null){var u=r.types;u===null?r.types=[e]:u.indexOf(e)===-1&&u.push(e)}else K(B.bind(null,e))}var Q={map:P,forEach:function(e,r,u){P(e,function(){r.apply(this,arguments)},u)},count:function(e){var r=0;return P(e,function(){r++}),r},toArray:function(e){return P(e,function(r){return r})||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};n.Activity=t,n.Children=Q,n.Component=S,n.Fragment=d,n.Profiler=w,n.PureComponent=H,n.StrictMode=l,n.Suspense=m,n.ViewTransition=y,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,n.__COMPILER_RUNTIME={__proto__:null,c:function(e){return s.H.useMemoCache(e)}},n.addTransitionType=B,n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cacheSignal=function(){return null},n.cloneElement=function(e,r,u){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=Y({},e.props),f=e.key;if(r!=null)for(c in r.key!==void 0&&(f=""+r.key),r)!q.call(r,c)||c==="key"||c==="__self"||c==="__source"||c==="ref"&&r.ref===void 0||(i[c]=r[c]);var c=arguments.length-2;if(c===1)i.children=u;else if(1<c){for(var a=Array(c),g=0;g<c;g++)a[g]=arguments[g+2];i.children=a}return D(e.type,f,i)},n.createContext=function(e){return e={$$typeof:O,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:N,_context:e},e},n.createElement=function(e,r,u){var i,f={},c=null;if(r!=null)for(i in r.key!==void 0&&(c=""+r.key),r)q.call(r,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(f[i]=r[i]);var a=arguments.length-2;if(a===1)f.children=u;else if(1<a){for(var g=Array(a),_=0;_<a;_++)g[_]=arguments[_+2];f.children=g}if(e&&e.defaultProps)for(i in a=e.defaultProps,a)f[i]===void 0&&(f[i]=a[i]);return D(e,c,f)},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:I,render:e}},n.isValidElement=M,n.lazy=function(e){return{$$typeof:o,_payload:{_status:-1,_result:e},_init:J}},n.memo=function(e,r){return{$$typeof:R,type:e,compare:r===void 0?null:r}},n.startTransition=K,n.unstable_useCacheRefresh=function(){return s.H.useCacheRefresh()},n.use=function(e){return s.H.use(e)},n.useActionState=function(e,r,u){return s.H.useActionState(e,r,u)},n.useCallback=function(e,r){return s.H.useCallback(e,r)},n.useContext=function(e){return s.H.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e,r){return s.H.useDeferredValue(e,r)},n.useEffect=function(e,r){return s.H.useEffect(e,r)},n.useEffectEvent=function(e){return s.H.useEffectEvent(e)},n.useId=function(){return s.H.useId()},n.useImperativeHandle=function(e,r,u){return s.H.useImperativeHandle(e,r,u)},n.useInsertionEffect=function(e,r){return s.H.useInsertionEffect(e,r)},n.useLayoutEffect=function(e,r){return s.H.useLayoutEffect(e,r)},n.useMemo=function(e,r){return s.H.useMemo(e,r)},n.useOptimistic=function(e,r){return s.H.useOptimistic(e,r)},n.useReducer=function(e,r,u){return s.H.useReducer(e,r,u)},n.useRef=function(e){return s.H.useRef(e)},n.useState=function(e){return s.H.useState(e)},n.useSyncExternalStore=function(e,r,u){return s.H.useSyncExternalStore(e,r,u)},n.useTransition=function(){return s.H.useTransition()},n.version="19.3.0"})),x=h(((n,v)=>{v.exports=F()})),ee=h((n=>{var v=x();function T(o){var t="https://react.dev/errors/"+o;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)t+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+o+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(){}var l={d:{f:d,r:function(){throw Error(T(522))},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},w=Symbol.for("react.portal"),N=Symbol.for("react.recoverable"),O=Symbol.for("react.optimistic_key");function I(o,t,y){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:w,key:E==null?null:E===O?O:""+E,children:o,containerInfo:t,implementation:y}}var m=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function R(o,t){if(o==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,n.browser=function(o){return{$$typeof:N,_reason:o}},n.createPortal=function(o,t){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(T(299));return I(o,t,null,y)},n.flushSync=function(o){var t=m.T,y=l.p;try{if(m.T=null,l.p=2,o)return o()}finally{m.T=t,l.p=y,l.d.f()}},n.preconnect=function(o,t){typeof o=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,l.d.C(o,t))},n.prefetchDNS=function(o){typeof o=="string"&&l.d.D(o)},n.preinit=function(o,t){if(typeof o=="string"&&t&&typeof t.as=="string"){var y=t.as,E=R(y,t.crossOrigin),A=typeof t.integrity=="string"?t.integrity:void 0,C=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;y==="style"?l.d.S(o,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:E,integrity:A,fetchPriority:C}):y==="script"&&l.d.X(o,{crossOrigin:E,integrity:A,fetchPriority:C,nonce:typeof t.nonce=="string"?t.nonce:void 0})}},n.preinitModule=function(o,t){if(typeof o=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var y=R(t.as,t.crossOrigin);l.d.M(o,{crossOrigin:y,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}}else t??l.d.M(o)},n.preload=function(o,t){if(typeof o=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var y=t.as,E=R(y,t.crossOrigin);l.d.L(o,y,{crossOrigin:E,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}},n.preloadModule=function(o,t){if(typeof o=="string")if(t){var y=R(t.as,t.crossOrigin);l.d.m(o,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:y,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}else l.d.m(o)},n.requestFormReset=function(o){l.d.r(o)},n.unstable_batchedUpdates=function(o,t){return o(t)},n.useFormState=function(o,t,y){return m.H.useFormState(o,t,y)},n.useFormStatus=function(){return m.H.useHostTransitionStatus()},n.version="19.3.0"})),re=h(((n,v)=>{function T(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(T)}catch(d){console.error(d)}}T(),v.exports=ee()}));export{x as n,re as t};
|
|
1
|
+
import{t as h}from"./rolldown-runtime-Df2-koJ7.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.27.2"};var v=new n.Error().stack;v&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[v]="4bcb45bd-af41-4476-98ef-b96ded4d0154",n._sentryDebugIdIdentifier="sentry-dbid-4bcb45bd-af41-4476-98ef-b96ded4d0154")}catch{}})();var F=h((n=>{var v=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),O=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),R=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),t=Symbol.for("react.activity"),y=Symbol.for("react.view_transition"),E=Symbol.iterator;function A(e){return e===null||typeof e!="object"?null:(e=E&&e[E]||e["@@iterator"],typeof e=="function"?e:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,$={};function S(e,r,u){this.props=e,this.context=r,this.refs=$,this.updater=u||C}S.prototype.isReactComponent={},S.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")},S.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function U(){}U.prototype=S.prototype;function H(e,r,u){this.props=e,this.context=r,this.refs=$,this.updater=u||C}var L=H.prototype=new U;L.constructor=H,Y(L,S.prototype),L.isPureReactComponent=!0;var k=Array.isArray;function b(){}var s={H:null,A:null,T:null,S:null},q=Object.prototype.hasOwnProperty;function D(e,r,u){var i=u.ref;return{$$typeof:v,type:e,key:r,ref:i!==void 0?i:null,props:u}}function W(e,r){return D(e.type,r,e.props)}function M(e){return typeof e=="object"&&e!==null&&e.$$typeof===v}function V(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(u){return r[u]})}var G=/\/+/g;function j(e,r){return typeof e=="object"&&e!==null&&e.key!=null?V(""+e.key):r.toString(36)}function X(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(b,b):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function p(e,r,u,i,f){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(c){case"bigint":case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case v:case T:a=!0;break;case o:return a=e._init,p(a(e._payload),r,u,i,f)}}if(a)return f=f(e),a=i===""?"."+j(e,0):i,k(f)?(u="",a!=null&&(u=a.replace(G,"$&/")+"/"),p(f,r,u,"",function(Z){return Z})):f!=null&&(M(f)&&(f=W(f,u+(f.key==null||e&&e.key===f.key?"":(""+f.key).replace(G,"$&/")+"/")+a)),r.push(f)),1;a=0;var g=i===""?".":i+":";if(k(e))for(var _=0;_<e.length;_++)i=e[_],c=g+j(i,_),a+=p(i,r,u,c,f);else if(_=A(e),typeof _=="function")for(e=_.call(e),_=0;!(i=e.next()).done;)i=i.value,c=g+j(i,_++),a+=p(i,r,u,c,f);else if(c==="object"){if(typeof e.then=="function")return p(X(e),r,u,i,f);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return a}function P(e,r,u){if(e==null)return e;var i=[],f=0;return p(e,i,"","",function(c){return r.call(u,c,f++)}),i}function J(e){if(e._status===-1){var r=e._result,u=r();u.then(function(i){(e._status===0||e._status===-1)&&(e._status=1,e._result=i,u.status===void 0&&(u.status="fulfilled",u.value=i))},function(i){(e._status===0||e._status===-1)&&(e._status=2,e._result=i,u.status===void 0&&(u.status="rejected",u.reason=i))}),e._status===-1&&(e._status=0,e._result=u)}if(e._status===1)return e._result.default;throw e._result}var z=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=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(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function K(e){var r=s.T,u={};u.types=r!==null?r.types:null,s.T=u;try{var i=e(),f=s.S;f!==null&&f(u,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(b,z)}catch(c){z(c)}finally{r!==null&&u.types!==null&&(r.types=u.types),s.T=r}}function B(e){var r=s.T;if(r!==null){var u=r.types;u===null?r.types=[e]:u.indexOf(e)===-1&&u.push(e)}else K(B.bind(null,e))}var Q={map:P,forEach:function(e,r,u){P(e,function(){r.apply(this,arguments)},u)},count:function(e){var r=0;return P(e,function(){r++}),r},toArray:function(e){return P(e,function(r){return r})||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};n.Activity=t,n.Children=Q,n.Component=S,n.Fragment=d,n.Profiler=w,n.PureComponent=H,n.StrictMode=l,n.Suspense=m,n.ViewTransition=y,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,n.__COMPILER_RUNTIME={__proto__:null,c:function(e){return s.H.useMemoCache(e)}},n.addTransitionType=B,n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cacheSignal=function(){return null},n.cloneElement=function(e,r,u){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=Y({},e.props),f=e.key;if(r!=null)for(c in r.key!==void 0&&(f=""+r.key),r)!q.call(r,c)||c==="key"||c==="__self"||c==="__source"||c==="ref"&&r.ref===void 0||(i[c]=r[c]);var c=arguments.length-2;if(c===1)i.children=u;else if(1<c){for(var a=Array(c),g=0;g<c;g++)a[g]=arguments[g+2];i.children=a}return D(e.type,f,i)},n.createContext=function(e){return e={$$typeof:O,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:N,_context:e},e},n.createElement=function(e,r,u){var i,f={},c=null;if(r!=null)for(i in r.key!==void 0&&(c=""+r.key),r)q.call(r,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(f[i]=r[i]);var a=arguments.length-2;if(a===1)f.children=u;else if(1<a){for(var g=Array(a),_=0;_<a;_++)g[_]=arguments[_+2];f.children=g}if(e&&e.defaultProps)for(i in a=e.defaultProps,a)f[i]===void 0&&(f[i]=a[i]);return D(e,c,f)},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:I,render:e}},n.isValidElement=M,n.lazy=function(e){return{$$typeof:o,_payload:{_status:-1,_result:e},_init:J}},n.memo=function(e,r){return{$$typeof:R,type:e,compare:r===void 0?null:r}},n.startTransition=K,n.unstable_useCacheRefresh=function(){return s.H.useCacheRefresh()},n.use=function(e){return s.H.use(e)},n.useActionState=function(e,r,u){return s.H.useActionState(e,r,u)},n.useCallback=function(e,r){return s.H.useCallback(e,r)},n.useContext=function(e){return s.H.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e,r){return s.H.useDeferredValue(e,r)},n.useEffect=function(e,r){return s.H.useEffect(e,r)},n.useEffectEvent=function(e){return s.H.useEffectEvent(e)},n.useId=function(){return s.H.useId()},n.useImperativeHandle=function(e,r,u){return s.H.useImperativeHandle(e,r,u)},n.useInsertionEffect=function(e,r){return s.H.useInsertionEffect(e,r)},n.useLayoutEffect=function(e,r){return s.H.useLayoutEffect(e,r)},n.useMemo=function(e,r){return s.H.useMemo(e,r)},n.useOptimistic=function(e,r){return s.H.useOptimistic(e,r)},n.useReducer=function(e,r,u){return s.H.useReducer(e,r,u)},n.useRef=function(e){return s.H.useRef(e)},n.useState=function(e){return s.H.useState(e)},n.useSyncExternalStore=function(e,r,u){return s.H.useSyncExternalStore(e,r,u)},n.useTransition=function(){return s.H.useTransition()},n.version="19.3.0"})),x=h(((n,v)=>{v.exports=F()})),ee=h((n=>{var v=x();function T(o){var t="https://react.dev/errors/"+o;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)t+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+o+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(){}var l={d:{f:d,r:function(){throw Error(T(522))},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},w=Symbol.for("react.portal"),N=Symbol.for("react.recoverable"),O=Symbol.for("react.optimistic_key");function I(o,t,y){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:w,key:E==null?null:E===O?O:""+E,children:o,containerInfo:t,implementation:y}}var m=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function R(o,t){if(o==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,n.browser=function(o){return{$$typeof:N,_reason:o}},n.createPortal=function(o,t){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(T(299));return I(o,t,null,y)},n.flushSync=function(o){var t=m.T,y=l.p;try{if(m.T=null,l.p=2,o)return o()}finally{m.T=t,l.p=y,l.d.f()}},n.preconnect=function(o,t){typeof o=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,l.d.C(o,t))},n.prefetchDNS=function(o){typeof o=="string"&&l.d.D(o)},n.preinit=function(o,t){if(typeof o=="string"&&t&&typeof t.as=="string"){var y=t.as,E=R(y,t.crossOrigin),A=typeof t.integrity=="string"?t.integrity:void 0,C=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;y==="style"?l.d.S(o,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:E,integrity:A,fetchPriority:C}):y==="script"&&l.d.X(o,{crossOrigin:E,integrity:A,fetchPriority:C,nonce:typeof t.nonce=="string"?t.nonce:void 0})}},n.preinitModule=function(o,t){if(typeof o=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var y=R(t.as,t.crossOrigin);l.d.M(o,{crossOrigin:y,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}}else t??l.d.M(o)},n.preload=function(o,t){if(typeof o=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var y=t.as,E=R(y,t.crossOrigin);l.d.L(o,y,{crossOrigin:E,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}},n.preloadModule=function(o,t){if(typeof o=="string")if(t){var y=R(t.as,t.crossOrigin);l.d.m(o,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:y,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}else l.d.m(o)},n.requestFormReset=function(o){l.d.r(o)},n.unstable_batchedUpdates=function(o,t){return o(t)},n.useFormState=function(o,t,y){return m.H.useFormState(o,t,y)},n.useFormStatus=function(){return m.H.useHostTransitionStatus()},n.version="19.3.0"})),re=h(((n,v)=>{function T(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(T)}catch(d){console.error(d)}}T(),v.exports=ee()}));export{x as n,re as t};
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=react-dom-
|
|
3
|
+
//# sourceMappingURL=react-dom-s4nupq_N.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.
|
|
1
|
+
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.2"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4f43b258-7237-480f-b989-9560a0956155",e._sentryDebugIdIdentifier="sentry-dbid-4f43b258-7237-480f-b989-9560a0956155")}catch{}})();var _=Object.create,a=Object.defineProperty,d=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,c=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,g=(e,r,t)=>()=>{if(t)throw t[0];try{return e&&(r=e(e=0)),r}catch(n){throw t=[n],n}},y=(e,r)=>()=>(r||(e((r={exports:{}}).exports,r,r.exports),e=null),r.exports),v=(e,r)=>{let t={};for(var n in e)a(t,n,{get:e[n],enumerable:!0});return r||a(t,Symbol.toStringTag,{value:"Module"}),t},s=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(var l=b(r),u=0,f=l.length,o;u<f;u++)o=l[u],!i.call(e,o)&&o!==t&&a(e,o,{get:(p=>r[p]).bind(null,o),enumerable:!(n=d(r,o))||n.enumerable});return e},w=(e,r,t)=>(t=e!=null?_(c(e)):{},s(r||!e||!e.__esModule||!i.call(e,"default")?a(t,"default",{value:e,enumerable:!0}):t,e)),h=e=>i.call(e,"module.exports")?e["module.exports"]:s(a({},"__esModule",{value:!0}),e),O=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(r,t)=>(typeof require<"u"?require:r)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});export{h as a,O as i,g as n,w as o,v as r,y as t};
|
package/dist/client/assets/{server-feature-flags-wgvQSqd5.js → server-feature-flags-ByZjY7fi.js}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{X as l,m as c,r as d}from"./PosthogUtils-
|
|
1
|
+
import{X as l,m as c,r as d}from"./PosthogUtils-CreNC30F.js";import{n as u,t as b}from"./session-revoked-B_iZLaTD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.2"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="21015613-43d6-4954-a76d-3e6663b06aff",e._sentryDebugIdIdentifier="sentry-dbid-21015613-43d6-4954-a76d-3e6663b06aff")}catch{}})();var f=["browser-workspace-enabled","claude-code-host-enabled","client-agent-loop","codex-host-enabled","conformance-tasks-update-check","copilot-cli-harness","credit-estimate-enabled","cursor-host-enabled","description-experiments-enabled","discord-agent","eval-account-selection-enabled","eval-code-evaluators","eval-recorded-cases","eval-run-stage-analytics","eval-setup-cleanup-scripts","eval-suite-results-page","eval-suite-settings-tabs","eval-test-case-steps-editor","evaluate-observe-first","evaluate-run-result-pages","evaluator-library","evals-start-recording","guest-credit-wall-copy","harness-box-preparation-enabled","home-setup-checklist","hosted-browser-enabled","integrations-tab","learn-more-enabled","local-codex-enabled","local-computer-enabled","local-copilot-cli-enabled","local-cursor-enabled","local-harness-enabled","local-opencode-enabled","mcp-events-enabled","mcp-tasks","mcpjam-compatibility","mcpjam-directory-readiness","mcpjam-learning","mock-servers-enabled","opencode-host-enabled","org-model-gateways","platform-post-launch","playground-multi-model-sessions","plugin-extensions-enabled","plugins-enabled","pricing-feature-signin-required","project-environments-enabled","registry-enabled","run-disclosure-enabled","sandbox-images-enabled","scheduled-evals-enabled","server-canvas","shared-slack-channel-enabled","sidebar-pro-upgrade-card","skills-enabled","slack-agent-org-settings","synthetic-monitors","tool-quality-enabled","trace-cost","trace-destinations","unified-sessions-enabled","unified-share-evals","web-clients-enabled"],g=new Set(f);function p(e){return g.has(e)}function y(e){const t={};if(!e||typeof e!="object"||Array.isArray(e))return t;for(const[n,a]of Object.entries(e))p(n)&&(typeof a=="boolean"||typeof a=="string")&&(t[n]=a);return t}var m="/api/web/flags",h=1500,v=1e4;async function i(e={}){const t=new AbortController,n=setTimeout(()=>t.abort(),e.timeoutMs??v);try{const a=new URLSearchParams({platform:d()});e.distinctId&&a.set("distinct_id",e.distinctId);const s=await fetch(`${m}?${a.toString()}`,{headers:e.bearer?{Authorization:`Bearer ${e.bearer}`}:void 0,signal:t.signal});if(!s.ok)return await b(s)&&u(),null;const r=await s.json();return y(r?.flags)}catch{return null}finally{clearTimeout(n)}}function w(){try{const e=window.sessionStorage.getItem(c),t=e?JSON.parse(e)?.distinct_id:null;return typeof t=="string"&&t?t:null}catch{return null}}function _(){return typeof window>"u"?null:w()??l()?.guestId??null}async function k(){try{const e=_();if(!e)return null;const t=l(),n=await i({distinctId:e,bearer:t?.guestId===e?t.token:null,timeoutMs:h});return n&&Object.keys(n).length>0?n:null}catch{return null}}var o=0;async function A(e,t){const n=++o;let a=null;try{let s=null;if(t.isAuthedActor){if(s=t.getAccessToken?await t.getAccessToken().catch(()=>null)??null:null,!s)return}else{const r=l();s=r?.guestId===t.actorKey?r.token:null}a=await i({distinctId:t.actorKey,bearer:s})}catch{}finally{n===o&&e.updateFlags?.(a??{})}}export{A as a,k as i,i as n,_ as r,h as t};
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=server-feature-flags-
|
|
3
|
+
//# sourceMappingURL=server-feature-flags-ByZjY7fi.js.map
|
package/dist/client/assets/{server-feature-flags-BBH-SYjw.js → server-feature-flags-CqB4sk67.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,i as s,n as o,r as n,t as f}from"./server-feature-flags-
|
|
1
|
+
import{a,i as s,n as o,r as n,t as f}from"./server-feature-flags-ByZjY7fi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.2"};var d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4d92c826-0789-46f9-9487-27a03eadd0dd",e._sentryDebugIdIdentifier="sentry-dbid-4d92c826-0789-46f9-9487-27a03eadd0dd")}catch{}})();export{f as BOOTSTRAP_FLAGS_TIMEOUT_MS,o as fetchServerFeatureFlags,n as getBootstrapDistinctId,s as loadBootstrapFeatureFlags,a as refreshServerFeatureFlagsForActor};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.
|
|
1
|
+
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.2"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="66b14a62-20db-411b-96b0-5612bbbbe837",e._sentryDebugIdIdentifier="sentry-dbid-66b14a62-20db-411b-96b0-5612bbbbe837")}catch{}})();function o(e){if(typeof e!="object"||e===null)return!1;const{code:n,details:r}=e;return n==="SESSION_REVOKED"?!0:n==="UNAUTHORIZED"&&typeof r=="object"&&r!==null&&r.reason==="SESSION_REVOKED"}async function a(e){if(e.status!==401)return!1;try{return typeof e.clone!="function"?!1:o(await e.clone().json())}catch{return!1}}var t=null,i=!1,s=!1;function f(e){try{e()}catch{}}function u(){i||(i=!0,t?f(t):s=!0)}function l(e){return t=e,s&&(s=!1,f(e)),()=>{t===e&&(t=null)}}export{u as n,l as r,a as t};
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=session-revoked-
|
|
3
|
+
//# sourceMappingURL=session-revoked-B_iZLaTD.js.map
|