try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6ac84c46-42cc-4f65-89fa-1bce76f4ab4b",e._sentryDebugIdIdentifier="sentry-dbid-6ac84c46-42cc-4f65-89fa-1bce76f4ab4b")}catch(e){}{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:anthropic-apps":!0})}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39411],{0x1381f2bb:(e,t,o)=>{o.d(t,{O:()=>n});var a=o(0x22102fd88),r=o(0x1a1f6dda6);let n=e=>{let{size:t=20,borderRadius:o=.27*t,className:n,children:l}=e;return(0,a.jsx)("div",{style:{width:t,height:t,borderRadius:o},className:(0,r.A)("shrink-0 bg-bg-000 border-border-300 border-0.5 shadow-sm flex items-center justify-center",n),children:l})}},0x1b813d90:(e,t,o)=>{o.d(t,{I5:()=>n,sb:()=>r,v8:()=>a,xj:()=>l});var a=function(e){return e.GITHUB="github",e.GDRIVE="gdrive",e.OUTLINE="outlin",e.SALESFORCE="sfdc",e.GMAIL="gmail",e.GCAL="gcal",e.SLACK="slack",e.ASANA="asana",e.CANVAS="canvas",e.FIDDLEHEAD="fiddlehead",e.CUTTLEFISH="cuttlefish",e.MCP_RESOURCES="mcpres",e}({});let r={github:"GitHub",gdrive:"Google Drive",outlin:"Outline",sfdc:"Salesforce",gmail:"Gmail",gcal:"Google Calendar",slack:"Slack",asana:"Asana",canvas:"Canvas",fiddlehead:"Fiddlehead",cuttlefish:"Cuttlefish",mcpres:"MCP Resources"};var n=function(e){return e.CREATED="created",e.PENDING="pending",e.FAILED="failed",e.UPDATING="updating",e.UPDATE_FAILED="update_failed",e.READY="ready",e.UNAUTHENTICATED="unauthenticated",e.ACCESS_DENIED="access_denied",e.DISABLED="disabled",e}({});let l=["access_denied","failed","unauthenticated","update_failed"]},0x303b360c:(e,t,o)=>{o.d(t,{B:()=>n,p:()=>l});var a=o(0x22102fd88),r=o(0x1a1f6dda6);let n=e=>{var t,o;let{letter:n,size:l=16,fontSize:s=l>20?.85*l:.65*l,borderRadius:i=.3*l,hideBorder:c,className:d,isStacked:u=!1}=e,m=null!=(o=null==(t=n.trim().at(0))?void 0:t.toUpperCase())?o:"";return(0,a.jsx)("div",{style:{width:l,height:l,fontSize:s,borderRadius:i},className:(0,r.A)("shrink-0 flex items-center justify-center bg-bg-000 text-text-300",l<=24?"font-medium":"font-bold",!c&&"border-0.5 border-border-300",!c&&!u&&"shadow-[0_0.8px_1.6px_0_hsl(var(--always-black)/5%)]",d),children:(0,a.jsx)("p",{className:"font-ui shrink-0 leading-tight",children:m})})},l=e=>{let{letter:t,size:o=16,borderRadius:l=.3*o,className:s,...i}=e,c=(0,a.jsx)("div",{className:"w-[2px] shrink-0",children:(0,a.jsx)("div",{style:{width:o,height:o,borderRadius:l},className:(0,r.A)("border-0.5 border-border-300 ",s)})});return(0,a.jsxs)("div",{className:"flex items-center justify-center shadow-[0_0.8px_1.6px_0_hsl(var(--always-black)/5%)]",style:{width:o},children:[c,c,(0,a.jsx)(n,{letter:t,size:o,className:s,borderRadius:l,isStacked:!0,...i})]})}},0x3797c34f:(e,t,o)=>{o.d(t,{Bv:()=>n,CG:()=>r});var a=o(0x11e50e4d6);o(0x10e01d04d),o(0xc975f685),o(0x1c9d93a5f);let r="ui/resourceUri";function n(e){var t,o;let a=null==(t=e._meta)?void 0:t.ui,n=null==a?void 0:a.resourceUri;if(void 0===n&&(n=null==(o=e._meta)?void 0:o[r]),"string"==typeof n&&n.startsWith("ui://"))return n;if(void 0!==n)throw Error("Invalid UI resource URI: ".concat(JSON.stringify(n)))}a.Zs},0x4d9fc74e:(e,t,o)=>{o.d(t,{DO:()=>d,N7:()=>i,QD:()=>m,hV:()=>u,sg:()=>c});var a=o(0xf32c56dd),r=o(0x14de19ae8),n=o(0x1bd175d8c),l=o(0x4d348f95),s=o(0x21fe74567);let i="mcp-auth-complete",c="mcp-auth-channel";function d(e,t){if("undefined"!=typeof BroadcastChannel)try{let o=new BroadcastChannel(c);o.postMessage({type:i,serverId:e,step:t}),o.close()}catch(e){}}function u(){var e;let{activeOrganization:t}=(0,r.YL)(),o=null!=(e=null==t?void 0:t.uuid)?e:"";return(e,t)=>"/api/organizations/".concat(o,"/mcp/start-auth/").concat(e,"?redirect_url=").concat(encodeURIComponent(t),"&open_in_browser=1")}let m=function(){let{pathname:e,queryString:t="",source:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,l.usePathname)(),i=(0,l.useSearchParams)(),c=(0,n.V)(),{track:d}=(0,a.st)(),m=u(),p="".concat((0,s.d)({pathname:e||r,searchParams:i,queryString:t,shouldOpenInClaudeApp:c}));return e=>{let{uuid:t,url:a}=e;d({event_key:"claudeai.mcp.auth.init",uuid:t,url:a,source:o}),window.location.href=m(t,p)}}},0x6f6d4bd7:(e,t,o)=>{o.d(t,{HQ:()=>w,Li:()=>p,PY:()=>S,Tz:()=>j,U2:()=>f,UT:()=>h,_c:()=>x,lU:()=>v,qO:()=>C});var a=o(0x18e5c6e75),r=o(0x253a5c787),n=o(0x15b8dbfeb),l=o.n(n),s=o(0x156c4e43b),i=o(0x1dafb1ccf),c=o(0xbb751ecb);let d=e=>e.replace(/_/g," ").replace(/^\w/,e=>e.toUpperCase()),u=s.YO(s.k5(["model","app"])),m=s.Ik({resourceUri:s.Yj().optional(),visibility:u.optional()});function p(e){let t=[],o=[];for(let a of e)!function(e){var t;let o=null==(t=e._meta)?void 0:t.ui;if(!o)return!0;let a=m.safeParse(o);return!a.success||!a.data.visibility||a.data.visibility.includes("model")}(a)?o.push(a):t.push(a);return{modelVisible:t,appOnly:o}}async function C(e,t,o){try{return(await t.listTools({},{timeout:5e3})).tools.map(e=>o?(0,a.M)(e):e).map(t=>{var o,a,r;return{...t,displayName:d(t.title||(null==(o=t.annotations)?void 0:o.title)||t.name),enabledKey:(a=e,r=t.name,"".concat(a,":").concat(r)),alwaysApprovedKey:""}}).map(e=>({...e,alwaysApprovedKey:function(e){let t=e.enabledKey,o=e.description||"",a=function(e){var t;let o=Object.entries((null==(t=e.inputSchema)?void 0:t.properties)||{}),a=[];for(let[e,t]of o){let{data:o}=g.safeParse(t),r=(null==o?void 0:o.description)||"";a.push([e,r])}return a.sort((e,t)=>e[0].localeCompare(t[0])).flat().join(",")}(e),r=l().createHash("md5").update("".concat(o,":").concat(a)).digest("hex");return"".concat(t,"-").concat(r)}(e)}))}catch(t){return(0,r.Cp)(t,{tags:{action:"listTools",serverUuid:e}}),[]}}async function h(e,t){try{var o;if(!(null==(o=t.getServerCapabilities())?void 0:o.prompts))return[];return(await t.listPrompts({},{timeout:5e3})).prompts.map(e=>({...e,displayName:d(e.title||e.name)}))}catch(t){return(0,r.Cp)(t,{tags:{action:"listPrompts",serverUuid:e}}),[]}}async function f(e,t){try{var o;let e;if(!(null==(o=t.getServerCapabilities())?void 0:o.resources))return[];let a=[];do{let o=await t.listResources({cursor:e},{timeout:5e3});a.push(...o.resources.map(e=>({...e,displayName:d(e.title||e.name)}))),e=o.nextCursor}while(e);return a}catch(t){return(0,r.Cp)(t,{tags:{action:"listResources",serverUuid:e}}),[]}}let g=s.Ik({description:s.Yj().optional(),type:s.Yj().optional(),title:s.Yj().optional()}).optional();function x(e,t){if(e.url){var o;return e.url.replace(/\/$/,"")===(null!=(o=null==t?void 0:t.replace(/\/$/,""))?o:"")}if(e.urlRegex){let o=new RegExp(e.urlRegex);return!!t&&o.test(t)}return!1}function v(e,t){if(e.startsWith("local:")){let o=e.slice(6),a=t.dxts[o];return!a||(0,c.Z)(a.id)}return!t.remoteDirectories[e]}let b=["7d4b2f9a-3c8e-4a5f-b6d1-8e7c4a9f2b3d",i.eG],y=["elicitationServer","exampleServer"];function w(e,t,o,a){return"remote"===t?e.formatMessage({defaultMessage:"CUSTOM",id:"Jg/zGahNtM"}):(null==a?void 0:a.startsWith("local.unpacked."))?e.formatMessage({defaultMessage:"LOCAL UNPACKED",id:"ThUmMxykCs"}):(null==a?void 0:a.startsWith("local.dxt"))?e.formatMessage({defaultMessage:"LOCAL MCPB",id:"YcedjKsPiF"}):a?e.formatMessage({defaultMessage:"DESKTOP",id:"PSrLJoAtCY"}):b.includes(o)?e.formatMessage({defaultMessage:"INCLUDED",id:"OAfuZpKlBY"}):y.includes(o)?e.formatMessage({defaultMessage:"DEMO",id:"rFjCvt98HU"}):e.formatMessage({defaultMessage:"LOCAL DEV",id:"S14UXqQo+W"})}let S={[i.cN]:"/images/crochet/browser.png",[i.oS]:"/images/crochet/browser.png"},L=new Set(Object.values(S)),j=e=>!!(e&&L.has(e))},0x8475f78a:(e,t,o)=>{o.d(t,{Ds:()=>d,Ic:()=>n,RK:()=>l,U6:()=>c});var a=o(0xac309a83),r=o(0x156c4e43b);let n=e=>"".concat(e,"-wrapped"),l=r.Ik({isConnected:r.zM(),hasPromptsOrResources:r.zM().optional(),expiration:r.ai()}),s="mcp-remote-connectors-state";function i(e,t){var o,r,n;if(!(null==(o=(0,a.Je)())?void 0:o.checkGate("claudeai_mcp_local_cache")))return;let i=Date.now();try{let o=localStorage.getItem(s),a=o?JSON.parse(o):{},c="object"==typeof a&&null!==a?{...a}:{},d=l.safeParse(c[e]);c[e]={isConnected:null!=(r=t.isConnected)?r:!!d.success&&d.data.isConnected,hasPromptsOrResources:null!=(n=t.hasPromptsOrResources)?n:d.success?d.data.hasPromptsOrResources:void 0,expiration:i+864e5},localStorage.setItem(s,JSON.stringify(c))}catch(e){}}function c(){var e;if(!(null==(e=(0,a.Je)())?void 0:e.checkGate("claudeai_mcp_local_cache")))return{};try{let e=localStorage.getItem(s);if(!e)return{};let t=JSON.parse(e),o={},a=Date.now();if("object"==typeof t&&null!==t)for(let[e,r]of Object.entries(t)){let t=l.safeParse(r);t.success&&t.data.expiration>a&&(o[e]=t.data)}return o}catch(e){return{}}}let d=e=>({remoteServers:{},remoteConnectionStates:{},remoteClients:{},remoteTools:{},remoteAppOnlyTools:{},remotePrompts:{},remoteResources:{},remoteDirectories:{},remoteIsLoading:!1,remoteHasBootstrapped:!1,addRemoteServer:t=>e(e=>({remoteServers:{...e.remoteServers,[t.uuid]:t},remoteConnectionStates:{...e.remoteConnectionStates,[t.uuid]:{isConnected:!1,isConnecting:!0,usedAuthentication:!1}}})),setRemoteServerConnected:(t,o)=>e(e=>(i(t,{isConnected:!0}),{...e,remoteConnectionStates:{...e.remoteConnectionStates,[t]:{isConnected:!0,isConnecting:!1,usedAuthentication:o}}})),setRemoteClient:(t,o)=>e(e=>({remoteClients:{...e.remoteClients,[t]:o}})),disconnectRemoteServer:t=>e(e=>{let{[t]:o,[n(t)]:a,...r}=e.remoteClients;i(t,{isConnected:!1});let{[t]:l,...s}=e.remoteTools,{[t]:c,...d}=e.remoteAppOnlyTools,{[t]:u,...m}=e.remotePrompts,{[t]:p,...C}=e.remoteResources;return{...e,remoteConnectionStates:{...e.remoteConnectionStates,[t]:{isConnected:!1,isConnecting:!1,usedAuthentication:!1}},remoteClients:r,remoteTools:s,remoteAppOnlyTools:d,remotePrompts:m,remoteResources:C}}),removeRemoteServer:t=>e(e=>{let{[t]:o,...a}=e.remoteServers,{[t]:r,...l}=e.remoteConnectionStates,{[t]:s,[n(t)]:i,...c}=e.remoteClients,{[t]:d,...u}=e.remoteTools,{[t]:m,...p}=e.remoteAppOnlyTools,{[t]:C,...h}=e.remotePrompts,{[t]:f,...g}=e.remoteResources,{[t]:x,...v}=e.remoteDirectories;return{...e,remoteServers:a,remoteConnectionStates:l,remoteClients:c,remoteTools:u,remoteAppOnlyTools:p,remotePrompts:h,remoteResources:g,remoteDirectories:v}}),setRemoteTools:(t,o,a)=>e(e=>({remoteTools:{...e.remoteTools,[t]:o},remoteAppOnlyTools:{...e.remoteAppOnlyTools,[t]:a}})),setRemotePrompts:(t,o)=>e(e=>{var a;let r=null!=(a=e.remoteResources[t])?a:[];return i(t,{hasPromptsOrResources:o.length>0||r.length>0}),{remotePrompts:{...e.remotePrompts,[t]:o}}}),setRemoteResources:(t,o)=>e(e=>{var a;let r=(null!=(a=e.remotePrompts[t])?a:[]).length>0||o.length>0;return i(t,{hasPromptsOrResources:r}),{remoteResources:{...e.remoteResources,[t]:o}}}),setRemoteDirectory:(t,o)=>e(e=>({remoteDirectories:o?{...e.remoteDirectories,[t]:o}:e.remoteDirectories})),setRemoteIsLoading:t=>e({remoteIsLoading:t}),setRemoteHasBootstrapped:t=>e({remoteHasBootstrapped:t}),setRequiresWebSocket:(t,o)=>e(e=>{let a=e.remoteConnectionStates[t];return a?{...e,remoteConnectionStates:{...e.remoteConnectionStates,[t]:{...a,requiresWebSocket:o}}}:e})})},0xbb751ecb:(e,t,o)=>{o.d(t,{Z:()=>a});function a(e){return e.startsWith("local.dxt")||e.startsWith("local.unpacked")}},0xc975f685:(e,t,o)=>{o.d(t,{$i:()=>S,A_:()=>b,DF:()=>M,Es:()=>H,FF:()=>k,Je:()=>I,Ji:()=>m,Jj:()=>E,O$:()=>v,PU:()=>V,UK:()=>h,Y2:()=>f,Z1:()=>p,aE:()=>n,e:()=>g,ne:()=>T,pG:()=>x,u$:()=>C,w_:()=>w});var a=o(0x10e01d04d),r=o(0x156c4e43b);let n="2025-11-21",l=r.k5(["light","dark"]),s=r.k5(["inline","fullscreen","pip"]),i=r.k5(["--color-background-primary","--color-background-secondary","--color-background-tertiary","--color-background-inverse","--color-background-ghost","--color-background-info","--color-background-danger","--color-background-success","--color-background-warning","--color-background-disabled","--color-text-primary","--color-text-secondary","--color-text-tertiary","--color-text-inverse","--color-text-info","--color-text-danger","--color-text-success","--color-text-warning","--color-text-disabled","--color-text-ghost","--color-border-primary","--color-border-secondary","--color-border-tertiary","--color-border-inverse","--color-border-ghost","--color-border-info","--color-border-danger","--color-border-success","--color-border-warning","--color-border-disabled","--color-ring-primary","--color-ring-secondary","--color-ring-inverse","--color-ring-info","--color-ring-danger","--color-ring-success","--color-ring-warning","--font-sans","--font-mono","--font-weight-normal","--font-weight-medium","--font-weight-semibold","--font-weight-bold","--font-text-xs-size","--font-text-sm-size","--font-text-md-size","--font-text-lg-size","--font-heading-xs-size","--font-heading-sm-size","--font-heading-md-size","--font-heading-lg-size","--font-heading-xl-size","--font-heading-2xl-size","--font-heading-3xl-size","--font-text-xs-line-height","--font-text-sm-line-height","--font-text-md-line-height","--font-text-lg-line-height","--font-heading-xs-line-height","--font-heading-sm-line-height","--font-heading-md-line-height","--font-heading-lg-line-height","--font-heading-xl-line-height","--font-heading-2xl-line-height","--font-heading-3xl-line-height","--border-radius-xs","--border-radius-sm","--border-radius-md","--border-radius-lg","--border-radius-xl","--border-radius-full","--border-width-regular","--shadow-hairline","--shadow-sm","--shadow-md","--shadow-lg"]),c=r.g1(i,r.Yj()),d=r.Ik({fonts:r.Yj().optional()}),u=r.Ik({variables:c.optional(),css:d.optional()}),m=a.F0.extend({method:r.eu("ui/open-link"),params:r.Ik({url:r.Yj().url()})}),p=r.Ik({isError:r.zM().optional()}),C=a.F0.extend({method:r.eu("ui/message"),params:r.Ik({role:r.eu("user"),content:r.YO(a.WK)})}),h=r.Ik({isError:r.zM().optional()}),f=r.Ik({method:r.eu("ui/notifications/sandbox-proxy-ready"),params:r.Ik({})});r.Ik({method:r.eu("ui/notifications/sandbox-resource-ready"),params:r.Ik({html:r.Yj(),sandbox:r.Yj().optional(),csp:r.Ik({connectDomains:r.YO(r.Yj()).optional(),resourceDomains:r.YO(r.Yj()).optional()}).optional(),permissions:r.Ik({camera:r.Ik({}).optional(),microphone:r.Ik({}).optional(),geolocation:r.Ik({}).optional(),clipboardWrite:r.Ik({}).optional()}).optional()})});let g=r.Ik({method:r.eu("ui/notifications/size-changed"),params:r.Ik({width:r.ai().optional(),height:r.ai().optional()})}),x=r.Ik({method:r.eu("ui/notifications/tool-input"),params:r.Ik({arguments:r.g1(r.Yj(),r.L5()).optional()})}),v=r.Ik({method:r.eu("ui/notifications/tool-input-partial"),params:r.Ik({arguments:r.g1(r.Yj(),r.L5()).optional()})}),b=r.Ik({method:r.eu("ui/notifications/tool-result"),params:a.TF}),y=r.Ik({toolInfo:r.Ik({id:a.UJ.optional(),tool:a.Dn}).optional(),theme:l.optional(),styles:u.optional(),displayMode:s.optional(),availableDisplayModes:r.YO(s).optional(),containerDimensions:r.E$(r.KC([r.Ik({height:r.ai()}),r.Ik({maxHeight:r.ai().optional()})]),r.KC([r.Ik({width:r.ai()}),r.Ik({maxWidth:r.ai().optional()})])).optional(),locale:r.Yj().optional(),timeZone:r.Yj().optional(),userAgent:r.Yj().optional(),platform:r.k5(["web","desktop","mobile"]).optional(),deviceCapabilities:r.Ik({touch:r.zM().optional(),hover:r.zM().optional()}).optional(),safeAreaInsets:r.Ik({top:r.ai(),right:r.ai(),bottom:r.ai(),left:r.ai()}).optional()}),w=r.Ik({method:r.eu("ui/notifications/host-context-changed"),params:y});a.F0.extend({method:r.eu("ui/resource-teardown"),params:r.Ik({})});let S=a.wR,L=r.Ik({experimental:r.Ik({}).optional(),openLinks:r.Ik({}).optional(),serverTools:r.Ik({listChanged:r.zM().optional()}).optional(),serverResources:r.Ik({listChanged:r.zM().optional()}).optional(),logging:r.Ik({}).optional()}),j=r.Ik({experimental:r.Ik({}).optional(),tools:r.Ik({listChanged:r.zM().optional()}).optional(),availableDisplayModes:r.YO(s).optional()}),k=a.F0.extend({method:r.eu("ui/initialize"),params:r.Ik({appInfo:a.a8,appCapabilities:j,protocolVersion:r.Yj()})}),I=r.Ik({protocolVersion:r.Yj(),hostInfo:a.a8,hostCapabilities:L,hostContext:y}),M=r.Ik({method:r.eu("ui/notifications/initialized"),params:r.Ik({}).optional()}),A=r.Ik({connectDomains:r.YO(r.Yj()).optional(),resourceDomains:r.YO(r.Yj()).optional()}),_=r.Ik({camera:r.Ik({}).optional(),microphone:r.Ik({}).optional(),geolocation:r.Ik({}).optional(),clipboardWrite:r.Ik({}).optional()}),T=r.Ik({csp:A.optional(),permissions:_.optional(),domain:r.Yj().optional(),prefersBorder:r.zM().optional()}),E=a.F0.extend({method:r.eu("ui/request-display-mode"),params:r.Ik({mode:s})});r.Ik({mode:s});let R=r.Ik({type:r.eu("text"),text:r.Yj()}),O=r.Ik({type:r.eu("image"),data:r.Yj(),mimeType:r.Yj()}),D=r.gM("type",[R,O]),H=a.F0.extend({method:r.eu("ui/update-model-context"),params:r.Ik({content:r.YO(D)})}),V=r.Ik({isError:r.zM().optional()})},0xda192b6c:(e,t,o)=>{o.d(t,{A9:()=>w,HI:()=>C,UF:()=>c,ft:()=>d,fx:()=>m,kw:()=>p});var a=o(0x22102fd88),r=o(0x7dbd6363),n=o(0x1b813d90),l=o(0x10a2d47e3),s=o(0x1a1f6dda6),i=o(0xcaa21d58),c=function(e){return e.DOCS="docs",e.SHEETS="sheets",e.SLIDES="slides",e}({});let d=e=>{let{size:t,className:o,variant:r}=e;return"docs"===r?(0,a.jsx)(u,{size:t,className:o}):(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:o,children:[(0,a.jsx)("path",{d:"M1.84624 12.6235L2.48571 13.728C2.61858 13.9605 2.80959 14.1432 3.03382 14.2761L5.31765 10.3231H0.75C0.75 10.5805 0.816439 10.8379 0.949316 11.0705L1.84624 12.6235Z",fill:"#0066DA"}),(0,a.jsx)("path",{d:"M8.00011 5.67238L5.71628 1.71931C5.49205 1.85219 5.30104 2.0349 5.16816 2.26743L0.949316 9.57562C0.818882 9.80314 0.750174 10.0608 0.75 10.3231H5.31765L8.00011 5.67238Z",fill:"#00AC47"}),(0,a.jsx)("path",{d:"M12.9663 14.2761C13.1905 14.1432 13.3815 13.9605 13.5144 13.728L13.7802 13.2712L15.0508 11.0705C15.1837 10.8379 15.2501 10.5805 15.2501 10.3231H10.6821L11.6541 12.2331L12.9663 14.2761Z",fill:"#EA4335"}),(0,a.jsx)("path",{d:"M8.00013 5.67238L10.284 1.71931C10.0597 1.58643 9.80228 1.52 9.53652 1.52H6.46374C6.19799 1.52 5.94054 1.59474 5.71631 1.71931L8.00013 5.67238Z",fill:"#00832D"}),(0,a.jsx)("path",{d:"M10.6824 10.3231H5.31752L3.03369 14.2761C3.25792 14.409 3.51537 14.4754 3.78112 14.4754H12.2188C12.4846 14.4754 12.742 14.4007 12.9663 14.2761L10.6824 10.3231Z",fill:"#2684FC"}),(0,a.jsx)("path",{d:"M12.9414 5.92153L10.8319 2.26743C10.6991 2.0349 10.5081 1.85219 10.2838 1.71931L8 5.67238L10.6825 10.3231H15.2418C15.2418 10.0656 15.1754 9.80816 15.0425 9.57562L12.9414 5.92153Z",fill:"#FFBA00"})]})},u=e=>{let{size:t}=e;return(0,a.jsxs)("svg",{width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:[(0,a.jsx)("path",{d:"M12.0625 15H3.9375C3.42188 15 3 14.5705 3 14.0455V1.95455C3 1.42955 3.42188 1 3.9375 1H9.5625L13 4.5V14.0455C13 14.5705 12.5781 15 12.0625 15Z",fill:"#3086F6"}),(0,a.jsx)("path",{d:"M9.5625 1L13 4.5H9.5625V1Z",fill:"#0C67D6"}),(0,a.jsx)("path",{d:"M10.8125 7.20454H5.1875V6.40909H10.8125V7.20454ZM10.8125 8.31818H5.1875V9.11363H10.8125V8.31818ZM9.25 10.2273H5.1875V11.0227H9.25V10.2273Z",fill:"#FDFFFF"})]})},m=e=>{let{color:t="currentColor",size:o,className:r}=e;return(0,a.jsx)("svg",{className:(0,s.A)("text-text-100",r),width:o,height:o,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fill:t,fillRule:"evenodd",clipRule:"evenodd",d:"M8.00536 1.4C4.35271 1.4 1.3999 4.42499 1.3999 8.16731C1.3999 11.1587 3.29187 13.6909 5.91653 14.5872C6.24468 14.6545 6.36488 14.4415 6.36488 14.2624C6.36488 14.1055 6.35407 13.5677 6.35407 13.0074C4.51659 13.4109 4.13395 12.2007 4.13395 12.2007C3.83865 11.4164 3.40112 11.2148 3.40112 11.2148C2.79971 10.8003 3.44493 10.8003 3.44493 10.8003C4.11204 10.8451 4.4621 11.4949 4.4621 11.4949C5.05255 12.5256 6.00401 12.2344 6.38679 12.0551C6.44141 11.6181 6.61651 11.3156 6.80242 11.1476C5.33689 10.9907 3.79498 10.4081 3.79498 7.80871C3.79498 7.06924 4.05728 6.46424 4.47291 5.99372C4.40734 5.8257 4.17762 5.13091 4.53863 4.201C4.53863 4.201 5.09636 4.0217 6.35393 4.89565C6.89234 4.74752 7.4476 4.67216 8.00536 4.67153C8.5631 4.67153 9.13165 4.75004 9.65666 4.89565C10.9144 4.0217 11.4721 4.201 11.4721 4.201C11.8331 5.13091 11.6033 5.8257 11.5377 5.99372C11.9643 6.46424 12.2157 7.06924 12.2157 7.80871C12.2157 10.4081 10.6738 10.9794 9.19736 11.1476C9.43803 11.3605 9.64571 11.7637 9.64571 12.4024C9.64571 13.3099 9.63489 14.0383 9.63489 14.2622C9.63489 14.4415 9.75523 14.6545 10.0832 14.5873C12.7079 13.6908 14.5999 11.1587 14.5999 8.16731C14.6107 4.42499 11.6471 1.4 8.00536 1.4Z"})})},p=e=>{let{size:t,className:o}=e;return(0,a.jsxs)("svg",{className:(0,s.A)("text-text-100",o),width:t,height:t,viewBox:"0 0 16 16",children:[(0,a.jsx)("path",{d:"M1.95455 13.2527H4.18182V7.84362L1 5.45725V12.2982C1 12.8263 1.42795 13.2527 1.95455 13.2527Z",fill:"#4285F4"}),(0,a.jsx)("path",{d:"M11.8184 13.2527H14.0456C14.5738 13.2527 15.0002 12.8248 15.0002 12.2982V5.45725L11.8184 7.84362",fill:"#34A853"}),(0,a.jsx)("path",{d:"M11.8184 3.70725V7.84362L15.0002 5.45725V4.18453C15.0002 3.00407 13.6527 2.33112 12.7093 3.03907",fill:"#FBBC04"}),(0,a.jsx)("path",{d:"M4.18164 7.84362V3.70725L7.99982 6.57089L11.818 3.70725V7.84362L7.99982 10.7073",fill:"#EA4335"}),(0,a.jsx)("path",{d:"M1 4.18453V5.45725L4.18182 7.84362V3.70725L3.29091 3.03907C2.34591 2.33112 1 3.00407 1 4.18453Z",fill:"#C5221F"})]})},C=e=>{let{size:t,className:o}=e;return(0,a.jsxs)("svg",{className:(0,s.A)("text-text-100",o),width:t,height:t,viewBox:"0 0 16 16",enableBackground:"new 0 0 200 200",children:[(0,a.jsx)("path",{d:"M11.4211 4.57892L8.34215 4.23682L4.57898 4.57892L4.23682 8L4.57891 11.4211L7.99999 11.8487L11.4211 11.4211L11.7632 7.91452L11.4211 4.57892Z",fill:"white"}),(0,a.jsx)("path",{d:"M5.98255 9.88669C5.72684 9.71392 5.54978 9.46166 5.45312 9.12808L6.0467 8.88348C6.10059 9.08875 6.19464 9.24781 6.32893 9.36071C6.46238 9.47362 6.62488 9.52919 6.81474 9.52919C7.0089 9.52919 7.17569 9.47017 7.31505 9.35213C7.45441 9.23409 7.52461 9.08355 7.52461 8.90142C7.52461 8.715 7.45103 8.56271 7.30393 8.44473C7.15684 8.32676 6.97211 8.26767 6.75143 8.26767H6.40849V7.68014H6.71633C6.9062 7.68014 7.06617 7.62885 7.19617 7.52622C7.32617 7.42358 7.39117 7.28331 7.39117 7.10456C7.39117 6.94551 7.33299 6.81889 7.2167 6.72399C7.10042 6.62909 6.95326 6.58118 6.77451 6.58118C6.60005 6.58118 6.46147 6.6274 6.35883 6.72061C6.2562 6.81382 6.18177 6.92841 6.13478 7.06355L5.54724 6.81895C5.62505 6.59828 5.76792 6.40328 5.97742 6.2348C6.18698 6.06632 6.45464 5.98162 6.77964 5.98162C7.01995 5.98162 7.23633 6.02784 7.42795 6.12105C7.61951 6.21426 7.77005 6.34341 7.87867 6.5076C7.98728 6.67264 8.04117 6.85743 8.04117 7.06264C8.04117 7.2722 7.99072 7.44919 7.88978 7.5946C7.78883 7.74 7.66481 7.85115 7.51772 7.92902V7.96406C7.71187 8.04531 7.87008 8.16933 7.99495 8.33612C8.11897 8.50291 8.18137 8.7022 8.18137 8.93483C8.18137 9.16747 8.12235 9.37527 8.00431 9.55747C7.88627 9.73966 7.72292 9.88331 7.51596 9.98764C7.30816 10.092 7.07468 10.145 6.81552 10.145C6.51535 10.1458 6.23826 10.0595 5.98255 9.88669Z",fill:"#1A73E8"}),(0,a.jsx)("path",{d:"M9.62503 6.94121L8.97672 7.41246L8.65088 6.91814L9.82003 6.07483H10.2682V10.0526H9.62503V6.94121Z",fill:"#1A73E8"}),(0,a.jsx)("path",{d:"M11.421 14.5L14.4999 11.4211L12.9605 10.7369L11.421 11.4211L10.7368 12.9605L11.421 14.5Z",fill:"#EA4335"}),(0,a.jsx)("path",{d:"M3.89453 12.9605L4.57872 14.5H11.4208V11.4211H4.57872L3.89453 12.9605Z",fill:"#34A853"}),(0,a.jsx)("path",{d:"M2.52628 1.5C1.95929 1.5 1.5 1.95929 1.5 2.52628V11.421L3.03946 12.1052L4.57892 11.421V4.57892H11.421L12.1052 3.03946L11.4211 1.5H2.52628Z",fill:"#4285F4"}),(0,a.jsx)("path",{d:"M1.5 11.4211V13.4737C1.5 14.0408 1.95929 14.5 2.52628 14.5H4.57892V11.4211H1.5Z",fill:"#188038"}),(0,a.jsx)("path",{d:"M11.4209 4.57892V11.421H14.4998V4.57892L12.9604 3.89473L11.4209 4.57892Z",fill:"#FBBC04"}),(0,a.jsx)("path",{d:"M14.4998 4.57892V2.52628C14.4998 1.95922 14.0405 1.5 13.4735 1.5H11.4209V4.57892H14.4998Z",fill:"#1967D2"})]})},h=e=>{let{size:t,className:o}=e;return(0,a.jsxs)("svg",{className:(0,s.A)("text-text-100",o),width:t,height:t,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3.95113 9.85032C3.95113 10.664 3.294 11.3217 2.48094 11.3217C1.66788 11.3217 1.01074 10.664 1.01074 9.85032C1.01074 9.03663 1.66788 8.37898 2.48094 8.37898H3.95113V9.85032ZM4.68623 9.85032C4.68623 9.03663 5.34337 8.37898 6.15643 8.37898C6.96949 8.37898 7.62663 9.03663 7.62663 9.85032V13.5287C7.62663 14.3424 6.96949 15 6.15643 15C5.34337 15 4.68623 14.3424 4.68623 13.5287V9.85032Z",fill:"#E01E5A"}),(0,a.jsx)("path",{d:"M6.15682 3.94267C5.34376 3.94267 4.68663 3.28503 4.68663 2.47134C4.68663 1.65764 5.34376 1 6.15682 1C6.96989 1 7.62702 1.65764 7.62702 2.47134V3.94267H6.15682ZM6.15682 4.68949C6.96989 4.68949 7.62702 5.34713 7.62702 6.16083C7.62702 6.97452 6.96989 7.63216 6.15682 7.63216H2.4702C1.65713 7.63216 1 6.97452 1 6.16083C1 5.34713 1.65713 4.68949 2.4702 4.68949H6.15682Z",fill:"#36C5F0"}),(0,a.jsx)("path",{d:"M12.0485 6.16083C12.0485 5.34713 12.7057 4.68949 13.5187 4.68949C14.3318 4.68949 14.9889 5.34713 14.9889 6.16083C14.9889 6.97452 14.3318 7.63216 13.5187 7.63216H12.0485V6.16083ZM11.3134 6.16083C11.3134 6.97452 10.6563 7.63216 9.84324 7.63216C9.03018 7.63216 8.37305 6.97452 8.37305 6.16083V2.47134C8.37305 1.65764 9.03018 1 9.84324 1C10.6563 1 11.3134 1.65764 11.3134 2.47134V6.16083Z",fill:"#2EB67D"}),(0,a.jsx)("path",{d:"M9.84324 12.0573C10.6563 12.0573 11.3134 12.715 11.3134 13.5287C11.3134 14.3424 10.6563 15 9.84324 15C9.03018 15 8.37305 14.3424 8.37305 13.5287V12.0573H9.84324ZM9.84324 11.3217C9.03018 11.3217 8.37305 10.664 8.37305 9.85032C8.37305 9.03663 9.03018 8.37898 9.84324 8.37898H13.5299C14.3429 8.37898 15.0001 9.03663 15.0001 9.85032C15.0001 10.664 14.3429 11.3217 13.5299 11.3217H9.84324Z",fill:"#ECB22E"})]})},f=e=>{let{size:t,className:o}=e,r=(0,l.wc)()[l.Fc];return r?(0,a.jsx)("svg",{className:(0,s.A)("text-text-100",o),width:t,height:t,viewBox:"0 0 127 127",xmlns:"http://www.w3.org/2000/svg",children:r.map((e,t)=>(0,a.jsx)("path",{d:e.d,fill:e.fill},t))}):null},g=e=>{let{size:t,className:o}=e;return(0,a.jsxs)("svg",{version:"1.1",className:(0,s.A)("text-text-100",o),width:t,height:t,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.74367 3.96413C7.22777 3.46892 7.90154 3.16226 8.64589 3.16226C9.63835 3.16226 10.4985 3.70407 10.9616 4.51135C11.3727 4.33076 11.818 4.23752 12.2684 4.23774C14.0548 4.23774 15.5049 5.67352 15.5049 7.44522C15.5049 9.21692 14.0548 10.6527 12.2684 10.6527C12.05 10.6527 11.8372 10.6311 11.6288 10.5904C11.2235 11.3002 10.4489 11.7824 9.56667 11.7824C9.2075 11.7831 8.85293 11.703 8.5301 11.5483C8.11933 12.4965 7.16271 13.1629 6.04895 13.1629C4.88557 13.1629 3.89862 12.4423 3.51818 11.4291C3.34885 11.4642 3.17626 11.4819 3.0032 11.4818C1.61927 11.4818 0.5 10.3657 0.5 8.99489C0.5 8.07382 1.00395 7.27195 1.7516 6.83851C1.59299 6.47946 1.51134 6.09215 1.51176 5.70072C1.51176 4.11865 2.8185 2.84 4.42849 2.84C5.37132 2.84 6.21491 3.28157 6.74422 3.96695",fill:"#00A1E0"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.68554 8.19019C2.67611 8.21435 2.6889 8.21939 2.69193 8.22367C2.72011 8.24372 2.74873 8.25824 2.7774 8.27455C2.93068 8.35419 3.07513 8.37749 3.22621 8.37749C3.53387 8.37749 3.7252 8.21658 3.7252 7.95759V7.9525C3.7252 7.71302 3.50906 7.62579 3.30726 7.56348L3.28085 7.55509C3.12812 7.50643 2.99634 7.46406 2.99634 7.36546V7.36042C2.99634 7.27589 3.07354 7.21359 3.19263 7.21359C3.32496 7.21359 3.48265 7.25688 3.58355 7.31165C3.58355 7.31165 3.61343 7.33062 3.6243 7.30228C3.63019 7.28695 3.68164 7.15166 3.68715 7.13649C3.693 7.12061 3.68274 7.10864 3.67221 7.10246C3.55642 7.03311 3.39653 6.98598 3.23112 6.98598L3.2004 6.98608C2.91866 6.98608 2.72182 7.1535 2.72182 7.39298V7.39813C2.72182 7.65061 2.93906 7.73296 3.14196 7.78985L3.1746 7.79982C3.32237 7.84446 3.45028 7.88326 3.45028 7.98512V7.99021C3.45028 8.08394 3.36703 8.15383 3.2336 8.15383C3.18171 8.15383 3.01636 8.15297 2.83716 8.04168C2.8155 8.02927 2.80315 8.02033 2.78644 8.01031C2.77762 8.00505 2.75556 7.99557 2.74597 8.02396L2.68532 8.18976M7.18998 8.18976C7.18055 8.21392 7.19334 8.21896 7.19649 8.22324C7.22455 8.24329 7.25328 8.25781 7.28195 8.27411C7.43523 8.35376 7.57969 8.37706 7.73076 8.37706C8.03842 8.37706 8.22975 8.21614 8.22975 7.95716V7.95207C8.22975 7.71259 8.01416 7.62536 7.81181 7.56305L7.7854 7.55465C7.63267 7.506 7.5009 7.46363 7.5009 7.36502V7.35998C7.5009 7.27546 7.57809 7.21315 7.69718 7.21315C7.82951 7.21315 7.98665 7.25644 8.0881 7.31122C8.0881 7.31122 8.11799 7.33018 8.1289 7.30185C8.13475 7.28651 8.18625 7.15123 8.19121 7.13606C8.19711 7.12018 8.1868 7.10821 8.17632 7.10203C8.06053 7.03268 7.90064 6.98554 7.73523 6.98554L7.70446 6.98565C7.42271 6.98565 7.22588 7.15307 7.22588 7.39255V7.39769C7.22588 7.65017 7.44311 7.73253 7.64602 7.78942L7.6786 7.79939C7.82692 7.84403 7.95428 7.88282 7.95428 7.98468V7.98978C7.95428 8.08351 7.87103 8.1534 7.7376 8.1534C7.6856 8.1534 7.51981 8.15253 7.34117 8.04125C7.3195 8.02884 7.30682 8.02028 7.29038 8.00988C7.28482 8.00641 7.25885 7.99644 7.24997 8.02353L7.18932 8.18932M10.2659 7.68219C10.2659 7.82848 10.2382 7.94389 10.1838 8.0257C10.1295 8.10643 10.0476 8.14598 9.93347 8.14598C9.81934 8.14598 9.73773 8.10675 9.68425 8.02624C9.63038 7.94497 9.6032 7.82902 9.6032 7.68274C9.6032 7.53645 9.63055 7.42159 9.68425 7.34086C9.73762 7.26067 9.81879 7.2222 9.93347 7.2222C10.0482 7.2222 10.1298 7.26105 10.1838 7.34086C10.2385 7.42159 10.2659 7.53645 10.2659 7.68274M10.5229 7.41129C10.4976 7.32731 10.4584 7.25363 10.406 7.19186C10.3536 7.1301 10.2874 7.08025 10.2086 7.04449C10.1303 7.00846 10.0377 6.99031 9.93292 6.99031C9.82816 6.99031 9.73608 7.00857 9.65723 7.04449C9.57894 7.08047 9.51223 7.1301 9.45985 7.19186C9.40758 7.25363 9.36832 7.32731 9.34296 7.41129C9.31787 7.49473 9.30513 7.58575 9.30513 7.68274C9.30513 7.77972 9.31787 7.87074 9.34296 7.95418C9.36815 8.03816 9.40747 8.11184 9.45985 8.17361C9.51228 8.23538 9.57894 8.28468 9.65723 8.3199C9.73608 8.35501 9.82871 8.37289 9.93292 8.37289C10.0371 8.37289 10.1298 8.35501 10.2081 8.3199C10.2863 8.28479 10.3531 8.23538 10.4054 8.17361C10.4578 8.11184 10.497 8.03816 10.5223 7.95418C10.5474 7.87074 10.5601 7.77972 10.5601 7.68274C10.5601 7.58629 10.5474 7.49473 10.5223 7.41129M12.6341 8.1048C12.6256 8.08026 12.6013 8.08952 12.6013 8.08952C12.5639 8.10355 12.5241 8.11656 12.4816 8.12306C12.4388 8.12967 12.3912 8.13297 12.341 8.13297C12.217 8.13297 12.1177 8.09662 12.0471 8.02461C11.976 7.95255 11.9363 7.83661 11.9369 7.67948C11.9372 7.53645 11.9724 7.42917 12.0356 7.34682C12.0979 7.26555 12.1938 7.22329 12.3206 7.22329C12.4265 7.22329 12.5075 7.23537 12.5924 7.26148C12.5924 7.26148 12.6126 7.2701 12.6222 7.24404C12.6448 7.18281 12.6614 7.13893 12.6856 7.07174C12.6925 7.05251 12.6757 7.04438 12.6696 7.04205C12.6363 7.02927 12.5576 7.0083 12.4981 6.99947C12.4424 6.99112 12.3779 6.98679 12.3051 6.98679C12.197 6.98679 12.1011 7.00494 12.019 7.04091C11.9368 7.07684 11.8673 7.12652 11.8122 7.18829C11.7571 7.25005 11.7152 7.32374 11.687 7.40772C11.6592 7.49115 11.6451 7.58272 11.6451 7.6797C11.6451 7.88884 11.7025 8.05842 11.8161 8.1825C11.9296 8.30711 12.1006 8.36996 12.3233 8.36996C12.4551 8.36996 12.5902 8.34379 12.6872 8.30603C12.6872 8.30603 12.7057 8.29725 12.6977 8.27601L12.6343 8.1048M13.0836 7.54132C13.0959 7.46005 13.1186 7.39233 13.1542 7.33977C13.2075 7.25959 13.2888 7.2157 13.4029 7.2157C13.517 7.2157 13.5926 7.2598 13.6466 7.33977C13.6824 7.3926 13.6981 7.46276 13.7039 7.54132L13.0809 7.54122L13.0836 7.54132ZM13.9493 7.36253C13.9274 7.2818 13.8732 7.19999 13.8379 7.1626C13.7817 7.10355 13.7271 7.06183 13.6725 7.03907C13.5937 7.00614 13.5089 6.98924 13.4233 6.98939C13.3147 6.98939 13.216 7.00743 13.136 7.04411C13.0561 7.08106 12.9888 7.13134 12.9359 7.19419C12.883 7.25704 12.8433 7.33127 12.8179 7.41633C12.7925 7.50031 12.7797 7.59242 12.7797 7.68886C12.7797 7.78747 12.793 7.87903 12.8192 7.96193C12.8456 8.04536 12.8881 8.11851 12.9454 8.17919C13.0028 8.24041 13.0761 8.28809 13.1643 8.32168C13.252 8.35501 13.3584 8.37229 13.4802 8.37191C13.7317 8.3711 13.864 8.3161 13.918 8.28631C13.9277 8.281 13.9368 8.27184 13.9254 8.24545L13.8686 8.08887C13.8599 8.06552 13.8359 8.07397 13.8359 8.07397C13.7736 8.09684 13.6854 8.1379 13.4786 8.13736C13.3435 8.13715 13.2437 8.09797 13.1809 8.03659C13.1169 7.97374 13.0849 7.88217 13.08 7.75214L13.9511 7.75279C13.9511 7.75279 13.974 7.75257 13.9764 7.73058C13.9774 7.72147 14.0062 7.55503 13.9504 7.36269L13.9493 7.36253ZM6.11989 7.54132C6.13219 7.46005 6.1549 7.39233 6.19046 7.33977C6.24384 7.25959 6.325 7.2157 6.43913 7.2157C6.55326 7.2157 6.6288 7.2598 6.68283 7.33977C6.71862 7.3926 6.73428 7.46276 6.74018 7.54132L6.11713 7.54122L6.11989 7.54132ZM6.98553 7.36253C6.9637 7.2818 6.90945 7.19999 6.87416 7.1626C6.81792 7.10355 6.76333 7.06183 6.70875 7.03907C6.62994 7.00614 6.54517 6.98924 6.45953 6.98939C6.35091 6.98939 6.25222 7.00743 6.17227 7.04411C6.09232 7.08106 6.02505 7.13134 5.97212 7.19419C5.91936 7.25704 5.87949 7.33127 5.85413 7.41633C5.82882 7.50031 5.81609 7.59242 5.81609 7.68886C5.81609 7.78747 5.82926 7.87903 5.85556 7.96193C5.88192 8.04536 5.92449 8.11851 5.98128 8.17919C6.03862 8.24041 6.11195 8.28809 6.20017 8.32168C6.28784 8.35501 6.3937 8.37229 6.5161 8.37191C6.76752 8.3711 6.89985 8.3161 6.95389 8.28631C6.96348 8.281 6.97263 8.27184 6.96122 8.24545L6.90443 8.08887C6.89566 8.06552 6.87162 8.07397 6.87162 8.07397C6.80932 8.09684 6.7211 8.1379 6.51434 8.13736C6.3798 8.13715 6.27945 8.09797 6.2166 8.03659C6.15264 7.97374 6.12066 7.88217 6.1157 7.75214L6.98686 7.75279C6.98686 7.75279 7.00979 7.75257 7.01217 7.73058C7.0131 7.72147 7.04199 7.55503 6.98614 7.36269L6.98553 7.36253ZM4.23973 8.09938C4.2056 8.07262 4.20086 8.06606 4.18956 8.04867C4.1723 8.0225 4.16348 7.98528 4.16348 7.9376C4.16348 7.86283 4.18884 7.80865 4.24122 7.77235C4.24067 7.77246 4.3162 7.70842 4.49374 7.71058C4.57277 7.71197 4.65161 7.71858 4.72973 7.73036V8.11883H4.72984C4.72984 8.11883 4.61957 8.14219 4.49496 8.14955C4.31797 8.16001 4.23968 8.09949 4.24023 8.09965L4.23973 8.09938ZM4.58599 7.49798C4.5507 7.49543 4.50494 7.49419 4.45035 7.49419C4.37592 7.49419 4.30369 7.50329 4.23642 7.52117C4.1686 7.53916 4.1074 7.56701 4.05502 7.60407C4.0025 7.64089 3.9593 7.68909 3.92876 7.74493C3.89794 7.80128 3.88222 7.86738 3.88222 7.94215C3.88222 8.018 3.89562 8.08356 3.92209 8.1372C3.94802 8.1904 3.98706 8.2364 4.03567 8.27103C4.08402 8.30559 4.14374 8.33117 4.21266 8.34634C4.28103 8.36167 4.35822 8.36942 4.44313 8.36942C4.53245 8.36942 4.62122 8.36205 4.70723 8.3478C4.78049 8.33538 4.85347 8.32144 4.92613 8.30597C4.95513 8.29942 4.98733 8.2908 4.98733 8.2908C5.00883 8.28544 5.00718 8.26285 5.00718 8.26285L5.00668 7.48265C5.00668 7.31144 4.96015 7.18411 4.86829 7.10555C4.77676 7.02699 4.64278 6.98744 4.4691 6.98744C4.40404 6.98744 4.29873 6.99611 4.23587 7.00851C4.23587 7.00851 4.0462 7.04471 3.96791 7.10496C3.96791 7.10496 3.9507 7.11536 3.96008 7.13893L4.02183 7.30147C4.02949 7.32254 4.05039 7.31534 4.05039 7.31534C4.05039 7.31534 4.05695 7.31279 4.06467 7.30829C4.23174 7.2189 4.44346 7.22161 4.44346 7.22161C4.53719 7.22161 4.60997 7.2403 4.65849 7.27687C4.70597 7.31268 4.73017 7.36681 4.73017 7.48059V7.51673C4.65574 7.50611 4.58682 7.49998 4.58682 7.49998L4.58599 7.49798ZM11.5883 7.05749C11.5896 7.05464 11.5903 7.05156 11.5903 7.04845C11.5903 7.04534 11.5897 7.04225 11.5884 7.03938C11.5872 7.03651 11.5854 7.03391 11.5832 7.03173C11.5809 7.02956 11.5782 7.02785 11.5753 7.02672C11.5604 7.02119 11.4865 7.00586 11.4297 7.00239C11.3205 6.99567 11.2599 7.01377 11.2053 7.03783C11.1514 7.06172 11.0917 7.10013 11.0586 7.14456L11.0585 7.04054C11.0585 7.02623 11.0482 7.01469 11.0336 7.01469H10.8108C10.7964 7.01469 10.7859 7.02623 10.7859 7.04054V8.31377C10.7859 8.32065 10.7887 8.32725 10.7936 8.33211C10.7986 8.33697 10.8053 8.33971 10.8123 8.33973H11.0406C11.0476 8.33971 11.0543 8.33697 11.0592 8.33211C11.0641 8.32724 11.0669 8.32065 11.0669 8.31377V7.67445C11.0669 7.58884 11.0765 7.50378 11.0956 7.45014C11.1145 7.3971 11.1401 7.35478 11.1717 7.32444C11.2019 7.29514 11.2387 7.27339 11.2792 7.26105C11.3172 7.25033 11.3566 7.2449 11.3961 7.2449C11.4416 7.2449 11.4915 7.25639 11.4915 7.25639C11.5083 7.25823 11.5176 7.24815 11.5233 7.23331C11.5382 7.19425 11.5806 7.07727 11.5889 7.05397",fill:"#FFFFFE"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.45627 6.46986C9.42806 6.46148 9.39935 6.45479 9.37032 6.44981C9.33126 6.44341 9.2917 6.4404 9.2521 6.44082C9.0948 6.44082 8.9708 6.48449 8.88373 6.57074C8.79728 6.65635 8.73845 6.78676 8.70895 6.95835L8.69831 7.01627H8.50087C8.50087 7.01627 8.47677 7.01529 8.4717 7.04114L8.43928 7.21885C8.43702 7.23586 8.44446 7.24648 8.46762 7.24637H8.65982L8.46481 8.31606C8.44953 8.4022 8.43206 8.47307 8.4127 8.52677C8.39363 8.57975 8.37499 8.61947 8.35205 8.64829C8.32983 8.67619 8.30877 8.69673 8.27243 8.7087C8.24244 8.71862 8.20792 8.72317 8.1701 8.72317C8.14904 8.72317 8.12103 8.7197 8.10035 8.71564C8.07968 8.71163 8.06893 8.70708 8.05343 8.70068C8.05343 8.70068 8.03088 8.69223 8.022 8.71445C8.01478 8.7326 7.96356 8.87103 7.95749 8.88815C7.95132 8.90505 7.95998 8.91838 7.97089 8.92223C7.99648 8.93122 8.0155 8.93696 8.05034 8.94504C8.09875 8.95625 8.13956 8.95696 8.17777 8.95696C8.25782 8.95696 8.33077 8.9459 8.39125 8.92445C8.45212 8.90283 8.50511 8.86518 8.55198 8.81419C8.60265 8.7592 8.63452 8.70161 8.66501 8.62304C8.69517 8.54519 8.72086 8.44853 8.74143 8.33589L8.93738 7.24637H9.22387C9.22387 7.24637 9.24802 7.24724 9.25304 7.2215L9.28546 7.04379C9.28772 7.02678 9.28033 7.01616 9.25706 7.01627H8.97901C8.98039 7.01009 8.99302 6.91398 9.02494 6.8235C9.03856 6.78486 9.0642 6.75371 9.08592 6.73231C9.1062 6.71193 9.13119 6.69665 9.15876 6.68777C9.18898 6.67859 9.22047 6.67413 9.2521 6.67455C9.27829 6.67455 9.30399 6.67764 9.32356 6.68165C9.35052 6.68729 9.361 6.69027 9.36805 6.69232C9.3964 6.70083 9.4002 6.6926 9.40577 6.67911L9.47226 6.49966C9.4791 6.48037 9.46245 6.47224 9.45627 6.46986ZM5.57057 8.31833C5.57057 8.33264 5.56021 8.34429 5.54565 8.34429H5.31502C5.3004 8.34429 5.29004 8.33264 5.29004 8.31833V6.49419C5.29004 6.47994 5.3004 6.4684 5.31502 6.4684H5.54565C5.56021 6.4684 5.57057 6.47994 5.57057 6.49419V8.31833Z",fill:"#FFFFFE"})]})},x=e=>{let{size:t,className:o}=e;return(0,a.jsx)("svg",{className:(0,s.A)("text-text-100",o),width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M10.9996 4.55896C10.9996 6.24764 9.64275 7.61791 7.96932 7.61791C6.29483 7.61791 4.93799 6.24871 4.93799 4.55896C4.93799 2.86921 6.29483 1.5 7.96932 1.5C9.64275 1.5 10.9996 2.86921 10.9996 4.55896ZM4.03132 8.38212C2.35789 8.38212 1 9.75133 1 11.4401C1 13.1287 2.35683 14.499 4.03132 14.499C5.70581 14.499 7.06265 13.1298 7.06265 11.4401C7.06265 9.75133 5.70581 8.38212 4.03132 8.38212ZM11.9063 8.38212C10.2317 8.38212 8.87493 9.75133 8.87493 11.4411C8.87493 13.1308 10.2317 14.5 11.9063 14.5C13.5797 14.5 14.9376 13.1308 14.9376 11.4411C14.9376 9.75133 13.5808 8.38212 11.9063 8.38212Z",fill:"#FF584A"})})},v=e=>{let{size:t,className:o}=e;return(0,a.jsx)(i.default,{src:"/images/integrations/xcode.png",alt:"Xcode",className:o,width:t,height:t,style:{objectFit:"contain"}})},b=e=>{let{size:t,className:o}=e;return(0,a.jsx)("svg",{className:(0,s.A)("text-text-100",o),width:t,height:t,viewBox:"0 0 127.17 127.21",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{fill:"#e72429",d:"M18.45,63.47A18.4,18.4,0,0,0,2.31,45.23a73.13,73.13,0,0,0,0,36.47A18.38,18.38,0,0,0,18.45,63.47"}),(0,a.jsx)("path",{fill:"#e72429",d:"M29.13,57.7a5.77,5.77,0,1,0,5.77,5.77,5.77,5.77,0,0,0-5.77-5.77"}),(0,a.jsx)("path",{fill:"#e72429",d:"M108.72,63.47A18.38,18.38,0,0,0,124.86,81.7a73.13,73.13,0,0,0,0-36.47,18.4,18.4,0,0,0-16.14,18.24"}),(0,a.jsx)("path",{fill:"#e72429",d:"M98,57.7a5.77,5.77,0,1,0,5.76,5.77A5.77,5.77,0,0,0,98,57.7"}),(0,a.jsx)("path",{fill:"#e72429",d:"M63.46,108.77A18.39,18.39,0,0,0,45.23,124.9a73.13,73.13,0,0,0,36.47,0,18.38,18.38,0,0,0-18.24-16.13"}),(0,a.jsx)("path",{fill:"#e72429",d:"M63.47,92.31a5.77,5.77,0,1,0,5.76,5.77,5.77,5.77,0,0,0-5.76-5.77"}),(0,a.jsx)("path",{fill:"#e72429",d:"M63.47,18.44A18.37,18.37,0,0,0,81.7,2.31a73.13,73.13,0,0,0-36.47,0A18.39,18.39,0,0,0,63.47,18.44"}),(0,a.jsx)("path",{fill:"#e72429",d:"M63.47,23.37a5.77,5.77,0,1,0,5.76,5.76,5.76,5.76,0,0,0-5.76-5.76"}),(0,a.jsx)("path",{fill:"#e72429",d:"M95.44,95.44a18.4,18.4,0,0,0-1.5,24.29,73,73,0,0,0,25.78-25.79,18.39,18.39,0,0,0-24.28,1.5"}),(0,a.jsx)("path",{fill:"#e72429",d:"M83.8,83.8a5.77,5.77,0,1,0,8.16,0,5.78,5.78,0,0,0-8.16,0"}),(0,a.jsx)("path",{fill:"#e72429",d:"M31.59,31.59a18.36,18.36,0,0,0,1.5-24.28A72.93,72.93,0,0,0,7.31,33.09a18.36,18.36,0,0,0,24.28-1.5"}),(0,a.jsx)("path",{fill:"#e72429",d:"M35.07,35.08a5.77,5.77,0,1,0,8.16,0,5.78,5.78,0,0,0-8.16,0"}),(0,a.jsx)("path",{fill:"#e72429",d:"M95.4,31.53A18.39,18.39,0,0,0,119.69,33,72.88,72.88,0,0,0,93.9,7.25a18.39,18.39,0,0,0,1.5,24.28"}),(0,a.jsx)("path",{fill:"#e72429",d:"M91.92,43.17a5.76,5.76,0,1,0-8.15,0,5.76,5.76,0,0,0,8.15,0"}),(0,a.jsx)("path",{fill:"#e72429",d:"M31.56,95.37a18.39,18.39,0,0,0-24.28-1.5,73,73,0,0,0,25.78,25.79,18.38,18.38,0,0,0-1.5-24.29"}),(0,a.jsx)("path",{fill:"#e72429",d:"M35,83.73a5.77,5.77,0,1,0,8.16,0,5.79,5.79,0,0,0-8.16,0"})]})})},y=e=>{let{size:t,className:o}=e;return(0,a.jsxs)("svg",{className:(0,s.A)("text-text-100",o),width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"2",y:"2",width:"12",height:"12",rx:"2",fill:"currentColor",fillOpacity:"0.1",stroke:"currentColor",strokeWidth:"1.2"}),(0,a.jsx)("circle",{cx:"6",cy:"6",r:"1.5",fill:"currentColor"}),(0,a.jsx)("circle",{cx:"10",cy:"6",r:"1.5",fill:"currentColor"}),(0,a.jsx)("circle",{cx:"8",cy:"10",r:"1.5",fill:"currentColor"}),(0,a.jsx)("path",{d:"M6 6L10 6M10 6L8 10M8 10L6 6",stroke:"currentColor",strokeWidth:"0.8",strokeLinecap:"round"})]})};function w(e){let t,{type:o,size:l,className:s,variant:i,isError:c=!1}=e,u={size:l,className:s,variant:i};switch(o){case n.v8.GITHUB:t=(0,a.jsx)(m,{...u});break;case n.v8.GDRIVE:t=(0,a.jsx)(d,{...u});break;case n.v8.SLACK:t=(0,a.jsx)(h,{...u});break;case n.v8.FIDDLEHEAD:t=(0,a.jsx)(f,{...u});break;case n.v8.SALESFORCE:t=(0,a.jsx)(g,{...u});break;case n.v8.GMAIL:t=(0,a.jsx)(p,{...u});break;case n.v8.GCAL:t=(0,a.jsx)(C,{...u});break;case n.v8.ASANA:t=(0,a.jsx)(x,{...u});break;case n.v8.CANVAS:t=(0,a.jsx)(b,{...u});break;case n.v8.CUTTLEFISH:t=(0,a.jsx)(v,{...u});break;case n.v8.OUTLINE:throw Error("Unknown sync source type");case n.v8.MCP_RESOURCES:t=(0,a.jsx)(y,{...u});break;default:t=(0,a.jsx)(r.Help,{size:l,className:s})}return(0,a.jsxs)(a.Fragment,{children:[t,c&&(0,a.jsx)("div",{className:"absolute bottom-0 left-0 border-0.5 border-border-300 rounded-md m-0.5 p-0.5 bg-danger-900 text-danger-000",children:(0,a.jsx)(r.Warning,{size:16})})]})}},0xe824fb1c:(e,t,o)=>{o.d(t,{rD:()=>S,nd:()=>x,s$:()=>v,eZ:()=>h,Ug:()=>k,pK:()=>q,KU:()=>$,_b:()=>X,OT:()=>y,dY:()=>H,Jy:()=>w,et:()=>f,HQ:()=>m.HQ,i7:()=>ee,xk:()=>g,lU:()=>m.lU,pH:()=>j,zi:()=>J,H:()=>N,eg:()=>I,jh:()=>V,yt:()=>P,kU:()=>F,BG:()=>W,zC:()=>Z,fR:()=>U,kc:()=>A,I3:()=>D,IT:()=>T,pZ:()=>_,k$:()=>R,aF:()=>O,n3:()=>L,MR:()=>E,QO:()=>M,HG:()=>b,qT:()=>Q,Ak:()=>K,Uz:()=>B,Q1:()=>G});var a=o(0x3797c34f),r=o(0x134b9be24),n=o(0xfc89b4a4),l=o(0x394ef833),s=o(0x16784b660),i=o(0x107838ca5),c=o(0x1dafb1ccf),d=o(0x1c9feff0c),u=o(0x8475f78a),m=o(0x6f6d4bd7);let p=new Set(["mcp-registry"]);function C(e,t){return(null==t?void 0:t.manifest.icon)?(0,d.C)(t.manifest.icon,t.path):m.PY[e]}let h=(0,l.v)()((0,s.eh)(function(){for(var e=arguments.length,t=Array(e),o=0;o({localClients:{},localTools:{},localAppOnlyTools:{},localPrompts:{},localResources:{},dxts:{},localIsLoading:!1,setLocalClient:(t,o,a)=>e(e=>({localClients:{...e.localClients,[t]:{uuid:null!=a?a:t,client:o}}})),removeLocalServer:t=>e(e=>{let{[t]:o,...a}=e.localClients,{[t]:r,...n}=e.localTools,{[t]:l,...s}=e.localAppOnlyTools,{[t]:i,...c}=e.localPrompts,{[t]:d,...u}=e.localResources,{[t]:m,...p}=e.dxts;return{localClients:a,localTools:n,localAppOnlyTools:s,localPrompts:c,localResources:u,dxts:p}}),setLocalTools:(t,o,a)=>e(e=>({localTools:{...e.localTools,[t]:o},localAppOnlyTools:{...e.localAppOnlyTools,[t]:a}})),setLocalPrompts:(t,o)=>e(e=>({localPrompts:{...e.localPrompts,[t]:o}})),setLocalResources:(t,o)=>e(e=>({localResources:{...e.localResources,[t]:o}})),setDxt:(t,o)=>e(e=>({dxts:{...e.dxts,[t]:o}})),setLocalIsLoading:t=>e({localIsLoading:t})}))(...t),...(0,u.Ds)(...t)}})),f=e=>h.getState().remoteServers[e],g=async e=>h.getState().remoteClients[(0,u.Ic)(e)],x=e=>void 0===h.getState().remoteServers[e],v=e=>void 0===h.getState().remoteConnectionStates[e],b=(e,t)=>{let o=h.getState();return!t||(0,u.Ic)(e)in o.remoteClients},y=e=>{let t=h.getState();for(let[d,u]of Object.entries(t.remoteServers)){let m=t.remoteDirectories[d];if((null==m?void 0:m.uuid)===e){var o,a,r,n,l,s,i,c;let e=t.remoteConnectionStates[d];return{name:u.name,uuid:u.uuid,type:"remote",url:u.url,custom_oauth_client_id:u.custom_oauth_client_id,custom_oauth_client_secret:u.custom_oauth_client_secret,iconType:"favicon",iconSrc:null!=(o=null==m?void 0:m.iconUrl)?o:u.url,isConnected:null!=(a=null==e?void 0:e.isConnected)&&a,isConnecting:null!=(r=null==e?void 0:e.isConnecting)&&r,usedAuthentication:null!=(n=null==e?void 0:e.usedAuthentication)&&n,tools:null!=(l=t.remoteTools[d])?l:[],appOnlyTools:null!=(s=t.remoteAppOnlyTools[d])?s:[],prompts:null!=(i=t.remotePrompts[d])?i:[],resources:null!=(c=t.remoteResources[d])?c:[],directoryMetadata:m}}}};function w(e){let t=h.getState(),o=[];for(let[r,n]of Object.entries(t.remoteServers)){var a;if(!n)continue;let l=t.remoteConnectionStates[r];if((null==l?void 0:l.isConnected)!==!0)continue;let s=null!=(a=t.remoteTools[r])?a:[];if(0===s.length)continue;let i=s.filter(t=>(null==e?void 0:e[t.enabledKey])!==!1);0!==i.length&&o.push({uuid:r,name:n.name,tools:i.map(e=>{var t;return{name:e.name,description:e.description,inputSchema:null!=(t=e.inputSchema)?t:{},_meta:e._meta}})})}return o}let S=e=>h.getState().addRemoteServer(e),L=(e,t)=>h.getState().setRemoteServerConnected(e,t),j=e=>{var t;return(null==(t=h.getState().remoteConnectionStates[e])?void 0:t.isConnected)===!0},k=e=>h.getState().disconnectRemoteServer(e),I=e=>h.getState().removeRemoteServer(e),M=(e,t)=>h.getState().setRequiresWebSocket(e,t),A=(e,t)=>h.getState().setRemoteClient(e,t),_=e=>h.getState().setRemoteIsLoading(e),T=e=>h.getState().setRemoteHasBootstrapped(e),E=async(e,t,o)=>{let a=await (0,m.qO)(e,t,o),{modelVisible:r,appOnly:n}=(0,m.Li)(a);return h.getState().setRemoteTools(e,r,n),a},R=async(e,t)=>{let o=await (0,m.UT)(e,t);return h.getState().setRemotePrompts(e,o),o},O=async(e,t)=>{let o=await (0,m.U2)(e,t);return h.getState().setRemoteResources(e,o),o},D=(e,t,o)=>{h.getState().setRemoteDirectory(e,o.find(e=>(0,m._c)(e,t)))},H=e=>{for(let[,{uuid:t,client:o}]of Object.entries(h.getState().localClients))if(t===e)return o},V=(e,t,o)=>h.getState().setLocalClient(e,t,o),F=e=>h.getState().setLocalIsLoading(e),N=e=>h.getState().removeLocalServer(e),P=(e,t)=>h.getState().setDxt(e,t),z=e=>"local:".concat(e),U=async(e,t,o)=>{let a=await (0,m.qO)(z(e),t,o),{modelVisible:r,appOnly:n}=(0,m.Li)(a);return h.getState().setLocalTools(e,r,n),a},W=async(e,t)=>{let o=await (0,m.UT)(z(e),t);return h.getState().setLocalPrompts(e,o),o},Z=async(e,t)=>{let o=await (0,m.U2)(z(e),t);return h.getState().setLocalResources(e,o),o};function Y(e,t){for(let[i,c]of Object.entries(t)){var o,a,r,n,l,s;if(void 0!==c){if("hasTools"===i){if(((null==(o=e.tools)?void 0:o.length)||0)>0!==c)return!1}else if("hasPrompts"===i){if(((null==(a=e.prompts)?void 0:a.length)||0)>0!==c)return!1}else if("hasResources"===i){if(((null==(r=e.resources)?void 0:r.length)||0)>0!==c)return!1}else if("hasPromptsOrResources"===i){let t=((null==(n=e.prompts)?void 0:n.length)||0)>0,o=((null==(l=e.resources)?void 0:l.length)||0)>0;if((t||o)!==c)return!1}else if("directoryUuid"===i){if((null==(s=e.directoryMetadata)?void 0:s.uuid)!==c)return!1}else if(e[i]!==c)return!1}}return!0}let B=e=>{let t=h((0,i.k)(e=>({remoteServers:e.remoteServers,remoteConnectionStates:e.remoteConnectionStates,remoteTools:e.remoteTools,remoteAppOnlyTools:e.remoteAppOnlyTools,remotePrompts:e.remotePrompts,remoteResources:e.remoteResources,remoteDirectories:e.remoteDirectories,localClients:e.localClients,localTools:e.localTools,localAppOnlyTools:e.localAppOnlyTools,localPrompts:e.localPrompts,localResources:e.localResources,dxts:e.dxts})));return(0,n.useMemo)(()=>{var o,a,r,n,l,s,i,c,d;let u=[];for(let[s,i]of Object.entries(t.remoteServers)){if(!i)continue;let c=t.remoteDirectories[s],d={...i,uuid:s,type:"remote",iconType:"favicon",iconSrc:null!=(o=null==c?void 0:c.iconUrl)?o:i.url,directoryMetadata:c,...t.remoteConnectionStates[s],tools:null!=(a=t.remoteTools[s])?a:[],appOnlyTools:null!=(r=t.remoteAppOnlyTools[s])?r:[],prompts:null!=(n=t.remotePrompts[s])?n:[],resources:null!=(l=t.remoteResources[s])?l:[],version:void 0};(!e||Y(d,e))&&u.push(d)}u.sort((e,t)=>e.name.localeCompare(t.name));let m=[];for(let[o,a]of Object.entries(t.localClients)){if(!a||p.has(o))continue;let r=t.dxts[o],n={name:o,uuid:a.uuid,type:"local",iconType:"external",iconSrc:C(o,r),isConnected:!0,isConnecting:!1,usedAuthentication:!1,tools:null!=(s=t.localTools[o])?s:[],appOnlyTools:null!=(i=t.localAppOnlyTools[o])?i:[],prompts:null!=(c=t.localPrompts[o])?c:[],resources:null!=(d=t.localResources[o])?d:[],localId:null==r?void 0:r.id};(!e||Y(n,e))&&m.push(n)}return m.sort((e,t)=>e.name.localeCompare(t.name)),[...u,...m]},[t,e])},G=()=>h(e=>e.remoteIsLoading||e.localIsLoading||!e.remoteHasBootstrapped),K=()=>{let e=h(e=>e.remoteClients),t=h(e=>e.remoteServers),o=h(e=>e.localClients),a=h(e=>e.dxts);return(0,n.useMemo)(()=>{let n=[],l=new Map;return Object.entries(e).forEach(e=>{let[o,a]=e;if(a instanceof r.K){var s;n.push(a);let e=t[o];l.set(a,{name:null!=(s=null==e?void 0:e.name)?s:o,iconType:"favicon",iconSrc:null==e?void 0:e.url})}}),Object.entries(o).forEach(e=>{let[t,o]=e;n.push(o.client);let r=a[t];l.set(o.client,{name:t,iconType:"external",iconSrc:C(t,r)})}),{clients:n,clientMetadata:l}},[e,t,o,a])},$=e=>{let t=h.getState(),o=H(e),a=t.remoteClients[e],r=o||a;if(!r)throw Error("Client not found for connector ".concat(e));if(r instanceof Promise)throw Error("Client for connector ".concat(e," is still connecting"));return r};async function J(e,t,o){let a=h.getState();for(let r of t){let t=r.tools.map(e=>{var t;return{name:e.name,description:e.description,inputSchema:null!=(t=e.inputSchema)?t:{type:"object"},displayName:e.name,enabledKey:"".concat(r.name,":").concat(e.name),alwaysApprovedKey:"".concat(r.name,":").concat(e.name),_meta:e._meta}});a.setLocalTools(r.name,t,[]);let n=await o(e,r.name);a.setLocalClient(r.name,n,r.name)}}let q=e=>{var t,o;let a=h.getState();for(let[o,r]of Object.entries(a.remoteServers)){let n=null==(t=a.remoteTools[o])?void 0:t.find(t=>"".concat(r.name,":").concat(t.name)===e||"mcp__".concat(r.uuid,"__").concat(t.name)===e);if(n)return{tool:n,server:{uuid:o,name:r.name,url:r.url,type:"remote",iconType:"favicon",iconSrc:r.url}}}for(let[t,r]of Object.entries(a.localTools)){let n=t.replace(/ /g,"_"),l=r.find(o=>"".concat(t,":").concat(o.name)===e||"mcp__local_".concat(n,"__").concat(o.name)===e||"mcp__internal_".concat(n,"__").concat(o.name)===e||"mcp__".concat(n,"__").concat(o.name)===e);if(l){let e=a.localClients[t],r=a.dxts[t],n=C(t,r);return{tool:l,server:{uuid:null!=(o=null==e?void 0:e.uuid)?o:t,name:t,type:"local",iconType:"external",iconSrc:n}}}}},Q=e=>Object.values(h.getState().remoteTools).flat().find(t=>t.name===e)||Object.values(h.getState().localTools).flat().find(t=>t.name===e),X=(e,t,o,a)=>{let r=h.getState(),n=[];for(let[a,l]of Object.entries(r.remoteTools)){let s=r.remoteServers[a];s&&l.filter(e=>(null==t?void 0:t[e.enabledKey])!==!1).forEach(t=>{var r,l;let i;o&&(i=o(s,t).approvalRequired),n.push({name:t.name,description:null!=(l=t.description)?l:"",input_schema:t.inputSchema,integration_name:s.name,mcp_server_uuid:s.uuid,mcp_server_url:s.url,needs_approval:i,backend_execution:!b(a,e),read_only_hint:null==(r=t.annotations)?void 0:r.readOnlyHint,is_mcp_app:et(t)})})}for(let[e,o]of Object.entries(r.localTools)){let r=(0,c.Xf)({name:e},a);r.isDisabled||o.filter(e=>(0,c.GE)(e.enabledKey,t,r.isChromeExt)).forEach(t=>{var o;n.push({name:t.name,description:null!=(o=t.description)?o:t.name,input_schema:t.inputSchema,integration_name:e,is_mcp_app:et(t)})})}return n},ee=(e,t)=>{let o=h.getState(),a=[];for(let[r,n]of Object.entries(o.remoteTools)){let l=o.remoteServers[r];l&&n.forEach(o=>{var r,n;let s;s=(null==e?void 0:e[o.enabledKey])===!1?"always_deny":t(l,o).approvalRequired?void 0:"always_allow",a.push({name:o.name,description:null!=(n=o.description)?n:"",input_schema:o.inputSchema,integration_name:l.name,mcp_server_uuid:l.uuid,mcp_server_url:l.url,permission_policy:s,read_only_hint:null==(r=o.annotations)?void 0:r.readOnlyHint,is_mcp_app:et(o)})})}return a};function et(e){return void 0!==(0,a.Bv)(e)}},0x1037073d3:(e,t,o)=>{o.d(t,{z:()=>m});var a=o(0x22102fd88),r=o(0x6f6d4bd7),n=o(0x1381f2bb),l=o(0x303b360c),s=o(0x1fec22234),i=o(0x1d0c32e96),c=o(0x22459cb4e),d=o(0x1a1f6dda6),u=o(0xcaa21d58);let m=e=>{let{size:t,imageSize:o,name:m="",className:p,fallbackToGlobe:C,type:h,src:f}=e,g=!o,x=null!=o?o:t,v=C?void 0:(0,a.jsx)(l.B,{letter:m||"?",size:x,hideBorder:!g}),b=e=>(0,a.jsx)(n.O,{size:t,className:(0,d.A)(p,g&&"!border-0 !shadow-none !bg-transparent"),children:e});switch(h){case"favicon":return b((0,a.jsx)(s.d,{fadeInOnLoad:!0,url:f,size:x,fallbackSvg:v}));case"external":if(f&&(0,r.Tz)(f))return(0,a.jsx)(n.O,{size:t,className:p,children:(0,a.jsx)(u.default,{src:f,alt:"".concat(m," icon"),width:t,height:t,className:"object-cover rounded-[27%]"})});return b((0,a.jsx)(c.u,{style:{maxWidth:x,maxHeight:x},className:"object-contain",width:x,height:x,src:f||"",alt:"".concat(m," icon"),fallbackSvg:v,fadeInOnLoad:!0}));case"syncSource":return b((0,a.jsx)(i.A9,{type:f,size:x}));case"icon":return b((0,a.jsx)(c.o,{style:{maxWidth:x,maxHeight:x},className:"object-contain",width:x,height:x,src:f||"",alt:"".concat(m," icon"),fallbackSvg:v,fadeInOnLoad:!0}));default:return b(v)}}},0x1b58b00f5:(e,t,o)=>{o.d(t,{G:()=>s,g:()=>i});var a=o(0x12c9046cd),r=o(0x14de19ae8),n=o(0x49fac030),l=o(0xc1dd9efc);function s(){let{account:e,activeOrganization:t}=(0,r.YL)(),o=null==t?void 0:t.uuid,s=(0,r.mV)(),i=(0,l.yI)(e,t,l.Nt.OrganizationManage);return(0,a.Sk)("/api/organizations/".concat(o,"/browser_extension_settings"),{queryKey:[n.En,o],enabled:!!o&&s&&i})}function i(){var e;let{activeOrganization:t}=(0,r.YL)(),o=null==t?void 0:t.uuid,l=(0,r.mV)(),{data:s,isLoading:i}=(0,a.Sk)("/api/organizations/".concat(o,"/browser_extension_settings"),{queryKey:[n.En,o],enabled:!!o&&l});return!l||!i&&!!s&&null!=(e=s.enabled)&&e}},0x1c9d93a5f:(e,t,o)=>{o.d(t,{h:()=>r});var a=o(0x10e01d04d);class r{async start(){window.addEventListener("message",this.messageListener)}async send(e,t){console.info("[host] Sending message",e),this.eventTarget.postMessage(e,"*")}async close(){var e;window.removeEventListener("message",this.messageListener),null==(e=this.onclose)||e.call(this)}constructor(e=window.parent,t){this.eventTarget=e,this.eventSource=t,this.messageListener=e=>{var o,r;if(t&&e.source!==this.eventSource)return void console.debug("Ignoring message from unknown source",e);let n=a.OR.safeParse(e.data);n.success?(console.info("[host] Parsed message",n.data),null==(o=this.onmessage)||o.call(this,n.data)):(console.error("Failed to parse message",n.error.message,e),null==(r=this.onerror)||r.call(this,Error("Invalid JSON-RPC message received: "+n.error.message)))}}}},0x1c9feff0c:(e,t,o)=>{o.d(t,{B:()=>l,C:()=>s});var a=o(0x22102fd88),r=o(0x1037073d3);let n=e=>{let{icon:t,name:o,path:n,size:l=60,imageSize:i=.5*l,...c}=e,d=t?s(t,n):"";return(0,a.jsx)(r.z,{size:l,imageSize:i,type:"external",src:d,name:o,...c})},l=e=>{var t;let{extension:o,...r}=e;return(0,a.jsx)(n,{icon:o.manifest.icon,name:null!=(t=o.manifest.display_name)?t:o.manifest.name,path:o.path,...r})};function s(e,t){if(!e)return"";if(e.startsWith("data:"))return e;if(e.startsWith("https://"))return e.replace("https://","".concat("claude-image","://"));if(e.includes("://")||!t)return"";let o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/"),r="".concat(o,"/").concat(a);return"file://".concat(r)}},0x1d0c32e96:(e,t,o)=>{o.d(t,{A9:()=>a.A9,HI:()=>a.HI,UF:()=>a.UF,ft:()=>a.ft,fx:()=>a.fx,kw:()=>a.kw});var a=o(0xda192b6c)},0x1dafb1ccf:(e,t,o)=>{o.d(t,{Ev:()=>b,GE:()=>x,IV:()=>w,LF:()=>y,Ns:()=>C,Qb:()=>p,VY:()=>f,Xf:()=>g,cN:()=>u,eG:()=>d,oS:()=>m,sw:()=>v});var a=o(0x1b58b00f5),r=o(0x239a8e4b4),n=o(0x14de19ae8),l=o(0x2252bfeb8),s=o(0xac309a83),i=o(0x78b33fbd),c=o(0xfc89b4a4);let d="a8f3c7e2-4b9d-4f1a-8c3e-9d2a5b7f8e1c",u="Claude in Chrome",m="Claude for Chrome",p="https://claude.com/chrome?open_in_browser=1",C=e=>{let{uuid:t,name:o}=e;return t?t===d:!!o&&(o===u||o===m)},h=["claude-haiku-4-5","claude-sonnet-4-5","claude-opus-4-5"],f=()=>{let{value:e}=(0,i.useDynamicConfig)("chrome_ext_models"),t=null==e?void 0:e.options;return(0,c.useMemo)(()=>{if(Array.isArray(t)){let e=t.map(e=>"string"==typeof e?e:e.model).filter(Boolean);if(e.length>0)return e}return h},[t])},g=function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h;if(!C(e))return{isChromeExt:!1,disabledDueToModel:!1,disabledDueToSettings:!1,isDisabled:!1};let n=!!t&&!a.some(e=>t.startsWith(e)),l=!(null!=o?o:(0,r.DI)());return{isChromeExt:!0,disabledDueToModel:n,disabledDueToSettings:l,isDisabled:n||l}},x=(e,t,o)=>(!o||!!(0,r.DI)())&&(!t||!1!==t[e]),v=(e,t,o)=>e.some(e=>x(e,t,o)),b=()=>{let e=(0,s.fS)("chrome_ext_mcp_integration"),t=(0,n.h0)(),o=(0,n.mV)(),r=(0,a.g)();return(!o||!0===r)&&e&&t},y=()=>{let[e,t]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{var e,o;let a=e=>{t("chromeExtensionEnabled"in e)},r=null===l.W$||void 0===l.W$||null==(e=l.W$.getPreferences)?void 0:e.call(l.W$);return r&&r.then(a),null===l.W$||void 0===l.W$||null==(o=l.W$.onPreferencesChanged)?void 0:o.call(l.W$,a)},[]),e},w=(e,t,o,a)=>{if(!t||o.some(e=>t.startsWith(e))||0===a.length)return e;let r={...e};for(let e of a)r["local:".concat(u,":").concat(e)]=!1;return r}},0x1fec22234:(e,t,o)=>{o.d(t,{d:()=>p});var a=o(0x22102fd88),r=o(0xda192b6c),n=o(0x22459cb4e),l=o(0x1df256501),s=o(0x1b813d90),i=o(0x138249603),c=o(0x1a1f6dda6),d=o(0xfc89b4a4);let u={"https://slack.mcp.ant.dev/sse":s.v8.SLACK,"https://mcp-server-gcal-586545259222.us-central1.run.app/sse":s.v8.GCAL,"https://mcp-server-gcal-586545259222.us-central1.run.app/mcp":s.v8.GCAL,"https://gcal.mcp.claude.com/mcp":s.v8.GCAL,"https://gcal.mcp.staging.ant.dev/mcp":s.v8.GCAL,"https://mcp-server-gmail-110131437935.us-central1.run.app/sse":s.v8.GMAIL,"https://mcp-server-gmail-110131437935.us-central1.run.app/mcp":s.v8.GMAIL,"https://gmail.mcp.claude.com/mcp":s.v8.GMAIL,"https://gmail.mcp.staging.ant.dev/mcp":s.v8.GMAIL,"https://api.anthropic.com/mcp/gdrive/sse":s.v8.GDRIVE,"https://api.anthropic.com/mcp/gdrive/mcp":s.v8.GDRIVE,"https://mcp-server-gdrive-532483229523.us-central1.run.app/sse":s.v8.GDRIVE},m={"https://microsoft365.mcp.claude.com/mcp":"https://www.microsoft.com/microsoft-365"},p=e=>{let t,{url:o,fadeInOnLoad:s,shouldFillBackground:p,size:f=12,fallbackSvg:g,...x}=e,[v,b]=(0,d.useState)(""),y=g||(0,a.jsx)(i.q,{size:f+2,className:"text-text-500"});if(!o)return y;let w=u[o];if(w)return(0,a.jsx)(r.A9,{size:f,type:w});if(!(t=o.startsWith("https://www.google.com/s2/favicons")||o.startsWith("https://www.gstatic.com")||o.startsWith("https://t0.gstatic.com")?o:(0,l.lh)(m[o]||o,f)))return y;let S=(0,a.jsx)(n.o,{...x,style:{maxWidth:f,maxHeight:f},className:"object-contain",width:f,height:f,src:t,alt:"favicon",fallbackSvg:y,fadeInOnLoad:s,onLoad:p?e=>b(function(e){try{if(C&&h||((C=document.createElement("canvas")).width=1,C.height=1,h=C.getContext("2d")),!h)return"";h.clearRect(0,0,1,1),h.drawImage(e,0,0,1,1,0,0,1,1);let t=h.getImageData(0,0,1,1).data;if(t[3]<10)return"transparent";return"rgb(".concat(t[0],", ").concat(t[1],", ").concat(t[2],")")}catch(e){return"transparent"}}(e.currentTarget)):void 0});return p?(0,a.jsx)("div",{className:(0,c.A)(p&&"flex items-center justify-center w-full h-full transition-colors"),style:{backgroundColor:v},children:S}):S},C=null,h=null},0x21fe74567:(e,t,o)=>{o.d(t,{d:()=>a});let a=e=>{let{pathname:t,searchParams:o,queryString:a,shouldOpenInClaudeApp:r}=e,n="".concat(t,"?").concat(a),l=o.get("origin");if(l)n=l;else if(r){let e=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i,o=t.startsWith("/project/")&&e.test(t.slice(9)),r=t.startsWith("/chat/")&&e.test(t.slice(6)),l=t.startsWith("/code"),s=t.startsWith("/claude-code-desktop"),i=t.startsWith("/settings"),c=t.startsWith("/customize"),d=o||r||l||s||i||c||"/new"===t?t:"/new";n="claude://claude.ai".concat(d,"?").concat(a)}return n}},0x22459cb4e:(e,t,o)=>{o.d(t,{o:()=>s,u:()=>i});var a=o(0x22102fd88),r=o(0x1a1f6dda6),n=o(0xcaa21d58),l=o(0xfc89b4a4);let s=e=>{let{src:t,fallbackSrc:o,fallbackSvg:s,fadeInOnLoad:i=!1,onLoad:c,alt:d,...u}=e,[m,p]=(0,l.useState)(!1),[C,h]=(0,l.useState)(t),[f,g]=(0,l.useState)(!1);return f&&s?s:(0,a.jsx)(n.default,{...u,alt:d,src:C,onError:()=>{o?h(o):s&&g(!0)},onLoad:e=>{p(!0),c&&c(e)},className:(0,r.A)("transition duration-500",!i||m?"opacity-1":i&&"opacity-0 blur-sm")})},i=(0,l.memo)(e=>{let{src:t,fallbackSrc:o,fallbackSvg:n,fadeInOnLoad:s=!1,alt:i,...c}=e,[d,u]=(0,l.useState)(!1),[m,p]=(0,l.useState)(t),[C,h]=(0,l.useState)(!1);if(C&&n||!m)return n;let f=m;try{let e=new URL(f);"claude.ai"===e.hostname&&location.hostname.endsWith(".claude.ai")&&(e.hostname=location.hostname,f=e.pathname)}catch(e){}return(0,a.jsx)("img",{...c,alt:i,src:f,onError:()=>{o?p(o):n&&h(!0)},onLoad:()=>{u(!0)},className:(0,r.A)("transition duration-500",!s||d?"opacity-1":s&&"opacity-0 blur-sm")})});i.displayName="UnsafeRemoteImageWithFallback"},0x239a8e4b4:(e,t,o)=>{let a;o.d(t,{$m:()=>d,DI:()=>c,yM:()=>i});var r=o(0x2252bfeb8);let n=(0,o(0x394ef833).v)(e=>({isEnabled:!1,isInitialized:!1,_setEnabled:t=>e({isEnabled:t}),_setInitialized:()=>e({isInitialized:!0})})),l=e=>{let{_setEnabled:t,_setInitialized:o}=n.getState();t(!0===e.chromeExtensionEnabled),o()},s=()=>{var e,t;let o=n.getState();if(o.isInitialized)return;let s=null===r.W$||void 0===r.W$||null==(e=r.W$.getPreferences)?void 0:e.call(r.W$);s?s.then(l):o._setInitialized(),a||(a=null===r.W$||void 0===r.W$||null==(t=r.W$.onPreferencesChanged)?void 0:t.call(r.W$,l))},i=()=>(s(),n(e=>e.isEnabled)),c=()=>(s(),n.getState().isEnabled),d=e=>{n.getState()._setEnabled(e)}}}]);