ryco-cli 0.1.4 → 0.1.5
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/{AzureDevOpsSourceControlProvider-BEDcpXP2.cjs → AzureDevOpsSourceControlProvider-CdgNqZ5j.cjs} +2 -2
- package/dist/{AzureDevOpsSourceControlProvider-CajSnvPV.mjs → AzureDevOpsSourceControlProvider-OsyDSESj.mjs} +2 -2
- package/dist/{BitbucketSourceControlProvider-Ca-sxPgI.cjs → BitbucketSourceControlProvider-DBTH98i4.cjs} +9 -2
- package/dist/{BitbucketSourceControlProvider-Ryxef3zA.mjs → BitbucketSourceControlProvider-SQ3gKdFs.mjs} +9 -2
- package/dist/{ClaudeDriver-oGrpXzWa.mjs → ClaudeDriver-2dTtrsFD.mjs} +2 -2
- package/dist/{ClaudeDriver-CxOmXtj3.cjs → ClaudeDriver-D9yC2F0b.cjs} +2 -2
- package/dist/{CodexDriver-C1I8AGHl.cjs → CodexDriver-BC2B-qpT.cjs} +3 -3
- package/dist/{CodexDriver-DbICyzcH.mjs → CodexDriver-CIDYevQX.mjs} +3 -3
- package/dist/{CodexTextGeneration-DV3LOkTX.mjs → CodexTextGeneration-CjknB1Xl.mjs} +2 -2
- package/dist/{CodexTextGeneration-Cr97QFv_.cjs → CodexTextGeneration-DNeO-8GE.cjs} +2 -2
- package/dist/{CopilotDriver-GUpzG61v.cjs → CopilotDriver-BGChrP5c.cjs} +3 -3
- package/dist/{CopilotDriver-Dt6azZQI.mjs → CopilotDriver-NPhlLrk2.mjs} +3 -3
- package/dist/{CursorDriver-C3gFClL-.mjs → CursorDriver-BcAVbT8D.mjs} +2 -2
- package/dist/{CursorDriver-lhvplGt8.cjs → CursorDriver-CYxn4_c1.cjs} +2 -2
- package/dist/{ForgejoSourceControlProvider-DTVWs_CM.mjs → ForgejoSourceControlProvider-BjCE3730.mjs} +2 -2
- package/dist/{ForgejoSourceControlProvider-2PTEgbVl.cjs → ForgejoSourceControlProvider-D3wP2Cav.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-BJmqP2K1.mjs → GitHubSourceControlProvider-DByZ_cnw.mjs} +2 -2
- package/dist/{GitHubSourceControlProvider-Beu-58zB.cjs → GitHubSourceControlProvider-DU_7IvMa.cjs} +2 -2
- package/dist/{GitLabSourceControlProvider-CCHBNnen.cjs → GitLabSourceControlProvider-BVJ5IqTS.cjs} +2 -2
- package/dist/{GitLabSourceControlProvider-CWnF37fR.mjs → GitLabSourceControlProvider-BdMCIjXb.mjs} +2 -2
- package/dist/{OpenCodeDriver-i2DXhUaw.cjs → OpenCodeDriver-DyR83FcY.cjs} +2 -2
- package/dist/{OpenCodeDriver-Cja8fkzJ.mjs → OpenCodeDriver-fwqXoVyH.mjs} +2 -2
- package/dist/{SourceControlProviderDiscoveryCatalog-DoDSpZoa.mjs → SourceControlProviderDiscoveryCatalog-CQiMyDCC.mjs} +2 -2
- package/dist/{SourceControlProviderDiscoveryCatalog-DyPSXqm_.cjs → SourceControlProviderDiscoveryCatalog-DqQVhwYM.cjs} +2 -2
- package/dist/bin.cjs +4672 -3686
- package/dist/bin.mjs +4672 -3686
- package/dist/client/assets/{AnimatedHeight-DCd3-Wey.js → AnimatedHeight-CYuVQOpY.js} +1 -1
- package/dist/client/assets/AppearanceSettings-BBbC8CV5.js +1 -0
- package/dist/client/assets/{BranchToolbar.logic-BUrYeNec.js → BranchToolbar.logic-Di2EkKiO.js} +1 -1
- package/dist/client/assets/ChatRightPanel-BJ_cVP66.js +188 -0
- package/dist/client/assets/{ChatThreadRouteView-C93RPP7s.js → ChatThreadRouteView-DmxD3m2U.js} +1 -1
- package/dist/client/assets/CommandPaletteDialog-CAzz6bsT.js +1 -0
- package/dist/client/assets/{CompositeRoot-C5GNdZws.js → CompositeRoot-BvXCwn2c.js} +1 -1
- package/dist/client/assets/ConnectionsSettings-Cmxm0y2u.js +1 -0
- package/dist/client/assets/{DialogHandle-C1Oxda1b.js → DialogHandle-CXNAm3QY.js} +1 -1
- package/dist/client/assets/{DialogRoot-BCS_qKVO.js → DialogRoot-DaMwpoP_.js} +1 -1
- package/dist/client/assets/{DialogTitle-R_4ZQbHx.js → DialogTitle-KXmfgzP3.js} +1 -1
- package/dist/client/assets/{DialogTrigger-ChuIKLi7.js → DialogTrigger-NHyQnW3X.js} +1 -1
- package/dist/client/assets/{DialogViewport-Dq_9hdYC.js → DialogViewport-CL0WR9a5.js} +1 -1
- package/dist/client/assets/{DraftChatThreadRouteView-BwDNEWLP.js → DraftChatThreadRouteView-C_hqauF6.js} +1 -1
- package/dist/client/assets/{JetBrainsIcons-CZi1rQn9.js → JetBrainsIcons-BcR8pCma.js} +1 -1
- package/dist/client/assets/{KeybindingsSettings-CEqFMcaP.js → KeybindingsSettings-m2AteGOl.js} +1 -1
- package/dist/client/assets/McpServersSettings-DndIDxgA.js +6 -0
- package/dist/client/assets/{NoActiveThreadState-5VSVCJBv.js → NoActiveThreadState-Bt-Wkv-C.js} +1 -1
- package/dist/client/assets/{OpinionatedPluginsSettings-BnDPa2E2.js → OpinionatedPluginsSettings-oDtdE6qx.js} +1 -1
- package/dist/client/assets/{ProjectFavicon-CtqYuFQF.js → ProjectFavicon-j9IX_7-B.js} +1 -1
- package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-Dqh8LlGG.js → ProviderUpdateLaunchNotification.logic-BFzNCo3I.js} +1 -1
- package/dist/client/assets/ProvidersSettingsPanel-CvlIBNVJ.js +1 -0
- package/dist/client/assets/{QueryClientProvider-B5z3RyQ9.js → QueryClientProvider-BZxRKpeb.js} +1 -1
- package/dist/client/assets/{RedactedSensitiveText-Ddxd4ZX9.js → RedactedSensitiveText-UnZZJnFF.js} +1 -1
- package/dist/client/assets/RootAppShell-CyHZ_F5P.js +12 -0
- package/dist/client/assets/{SettingsDialog-C-vm2P1q.js → SettingsDialog-BYJ8AhQp.js} +2 -2
- package/dist/client/assets/SourceControlSettings-7xU6VH6N.js +1 -0
- package/dist/client/assets/{ThreadStatusIndicators-6ASnD4_d.js → ThreadStatusIndicators-M9FWDEex.js} +1 -1
- package/dist/client/assets/{ThreadTerminalDrawer-BxuSy2xD.js → ThreadTerminalDrawer-BXoXAbsR.js} +3 -3
- package/dist/client/assets/{ThreadWorkspacePanel-C3S7Fjib.js → ThreadWorkspacePanel-D1J63TVD.js} +5 -5
- package/dist/client/assets/{alert-dialog-BwCq7-J2.js → alert-dialog-BJQbh5gX.js} +1 -1
- package/dist/client/assets/{chatThreadActions-DHwgLZQX.js → chatThreadActions--n7v5mnB.js} +1 -1
- package/dist/client/assets/{clamp-Bj3CMoU0.js → clamp-NYtK3f5s.js} +1 -1
- package/dist/client/assets/codexUsageLimits-BJQiZCqn.js +1 -0
- package/dist/client/assets/composerDraftStore-xu3n5gdX.js +21 -0
- package/dist/client/assets/{desktopUpdateReactQuery-DdRc1zr8.js → desktopUpdateReactQuery-YSCkifKp.js} +1 -1
- package/dist/client/assets/{download-DchCbuiJ.js → download-Bi4-cFbc.js} +1 -1
- package/dist/client/assets/{draft-input-Byd_iP54.js → draft-input-BGSRgOW7.js} +1 -1
- package/dist/client/assets/{empty-CFWSIvUd.js → empty-BTxheW4B.js} +1 -1
- package/dist/client/assets/{environmentApi-4U60qRO5.js → environmentApi-BFHi_M02.js} +1 -1
- package/dist/client/assets/{folder-open-CuS_UI1W.js → folder-open-DJmHEPv9.js} +1 -1
- package/dist/client/assets/{group-BlyMND_M.js → group-Dwm-OV-r.js} +1 -1
- package/dist/client/assets/{index-R0mA-hZk.js → index-BI5yFj9n.js} +2 -2
- package/dist/client/assets/{input-BQQgfZzY.js → input-BfUa3JUD.js} +1 -1
- package/dist/client/assets/kbd-Dd57M8OY.js +1 -0
- package/dist/client/assets/{keybindings-BIa18Wmf.js → keybindings--G1bkIjA.js} +1 -1
- package/dist/client/assets/{keyboard-BQYTddoX.js → keyboard-B87VTfPa.js} +1 -1
- package/dist/client/assets/{main-YXLWCEbb.js → main-BQf5U-fz.js} +3 -3
- package/dist/client/assets/main-DrwkwNo9.css +2 -0
- package/dist/client/assets/{mutation-B8SILYi_.js → mutation-DJZgOJRu.js} +1 -1
- package/dist/client/assets/plus-B10j9MbZ.js +1 -0
- package/dist/client/assets/providerDriverMeta-B6xuq7ij.js +1 -0
- package/dist/client/assets/providerIconUtils-Ch6hejVW.js +47 -0
- package/dist/client/assets/{refresh-cw-DFCVsvMH.js → refresh-cw-CRxaXR0E.js} +1 -1
- package/dist/client/assets/{resolveAriaLabelledBy-CdSYKkwq.js → resolveAriaLabelledBy-D4fWpj84.js} +1 -1
- package/dist/client/assets/{rightPanelRouteSearch-DweDTgju.js → rightPanelRouteSearch-CTMFCS6R.js} +1 -1
- package/dist/client/assets/{scroll-area-CZPNMSSG.js → scroll-area-BgFq7GRd.js} +1 -1
- package/dist/client/assets/{separator-ZLn_GZKy.js → separator-CB3Ctlvi.js} +1 -1
- package/dist/client/assets/{server-B7ETA5io.js → server-tdx7WxLI.js} +1 -1
- package/dist/client/assets/{session-logic-DOD1qizY.js → session-logic-CaiGe4hy.js} +1 -1
- package/dist/client/assets/{settingsDialogStore-DJNXaaZ-.js → settingsDialogStore-9vo22xKp.js} +1 -1
- package/dist/client/assets/{settingsLayout-BaSDLd6v.js → settingsLayout-B5o13iGO.js} +1 -1
- package/dist/client/assets/{sidebar-VWf4R998.js → sidebar-Bbdql7Af.js} +1 -1
- package/dist/client/assets/{skeleton-IoKKnfW9.js → skeleton-C8OZcsPq.js} +1 -1
- package/dist/client/assets/{storeSelectors-BL-4Ncd3.js → storeSelectors-DBRyhCGm.js} +1 -1
- package/dist/client/assets/{threadRoutes-a4QytG8s.js → threadRoutes-CfldSp4X.js} +1 -1
- package/dist/client/assets/{threadSelectionStore-CgsIp6vR.js → threadSelectionStore-BggKwzmQ.js} +1 -1
- package/dist/client/assets/{toast-L2eWWYjv.js → toast-DE-WwLMa.js} +1 -1
- package/dist/client/assets/{toggle-oOk0T_MY.js → toggle-BFMa0a0Y.js} +1 -1
- package/dist/client/assets/{toggle-group-D7mEwQCR.js → toggle-group-DdKXHoT3.js} +1 -1
- package/dist/client/assets/{trash-2-D0zhbiNO.js → trash-2-CZQem-sz.js} +1 -1
- package/dist/client/assets/useHandleNewThread-DOPZAFqE.js +1 -0
- package/dist/client/assets/{useLabelableId-yw8wMwvn.js → useLabelableId-BzWaBebJ.js} +1 -1
- package/dist/client/assets/{useNavigate-CvKQXZa7.js → useNavigate-B1qgM5mt.js} +1 -1
- package/dist/client/assets/{vscode-icons-C1r6bNpj.js → vscode-icons-E8NUFd62.js} +1 -1
- package/dist/client/assets/{wrench-DzrU49ry.js → wrench-DEteICtk.js} +1 -1
- package/dist/client/assets/x-b9324xm-.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/{collectUint8StreamText-CgTEDbi7.cjs → collectUint8StreamText-DbCOJom3.cjs} +295 -132
- package/dist/{collectUint8StreamText-Cgz3T1YG.mjs → collectUint8StreamText-DuFJyaQh.mjs} +290 -133
- package/dist/{makeManagedServerProvider-DRMA8nAp.cjs → makeManagedServerProvider-C3cQUDkZ.cjs} +1 -1
- package/dist/{makeManagedServerProvider-D43I_B9P.mjs → makeManagedServerProvider-wFGZ2-vd.mjs} +1 -1
- package/package.json +1 -1
- package/dist/client/assets/AppearanceSettings-pPltzbuu.js +0 -1
- package/dist/client/assets/ChatRightPanel-Cy2c02Dt.js +0 -188
- package/dist/client/assets/CommandPaletteDialog-D6t0Mkkl.js +0 -1
- package/dist/client/assets/ConnectionsSettings-qYzLbX7_.js +0 -1
- package/dist/client/assets/McpServersSettings-Co1o7_0g.js +0 -6
- package/dist/client/assets/ProvidersSettingsPanel-BwDIEOF4.js +0 -1
- package/dist/client/assets/RootAppShell-CThrOBqP.js +0 -12
- package/dist/client/assets/SourceControlSettings-oK-xLUFA.js +0 -1
- package/dist/client/assets/arrow-up-DUD3DBES.js +0 -1
- package/dist/client/assets/codexUsageLimits-Mjd2rHmE.js +0 -1
- package/dist/client/assets/composerDraftStore-DTMZbmmF.js +0 -21
- package/dist/client/assets/kbd-Dgp27U1W.js +0 -1
- package/dist/client/assets/main-Da7Z4Ig1.css +0 -2
- package/dist/client/assets/plus-F__wNuW-.js +0 -1
- package/dist/client/assets/providerDriverMeta-BIPPb2w0.js +0 -1
- package/dist/client/assets/providerIconUtils-C54pAs0t.js +0 -46
- package/dist/client/assets/useHandleNewThread-DVTiX8Lz.js +0 -1
- package/dist/client/assets/x-BQzUKGMv.js +0 -1
package/dist/client/assets/{ChatThreadRouteView-C93RPP7s.js → ChatThreadRouteView-DmxD3m2U.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-PSPkXoKo.js";import{t as n}from"./compiler-runtime-BNrXlsa1.js";import{
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{t as n}from"./compiler-runtime-BNrXlsa1.js";import{Ct as r,Gt as i,_t as a,pt as o,rt as s}from"./environmentApi-BFHi_M02.js";import{Mi as c,a as ee,n as te}from"./composerDraftStore-xu3n5gdX.js";import{a as ne,i as re,l as ie,n as ae,r as l,s as oe,t as se}from"./ChatRightPanel-BJ_cVP66.js";import{t as ce}from"./useNavigate-B1qgM5mt.js";import{n as u}from"./threadRoutes-CfldSp4X.js";import{a as le,c as ue,n as de,o as fe,s as pe,t as me}from"./rightPanelRouteSearch-CTMFCS6R.js";import{b as he,o as ge}from"./sidebar-Bbdql7Af.js";import{D as _e}from"./settingsDialogStore-9vo22xKp.js";import{r as ve}from"./storeSelectors-DBRyhCGm.js";var ye=n(),d=e(t(),1),f=c();function p(e){let t=(0,ye.c)(133),{threadRef:n,search:c}=e,l=ce(),p;t[0]===n?.environmentId?p=t[1]:(p=e=>s(e,n?.environmentId??null).bootstrapComplete,t[0]=n?.environmentId,t[1]=p);let m=a(p),h;t[2]===n?h=t[3]:(h=ve(n),t[2]=n,t[3]=h);let Ce=a(h),we;t[4]===n?we=t[5]:(we=e=>o(e,n),t[4]=n,t[5]=we);let Te=a(we),Ee;t[6]===n?.environmentId?Ee=t[7]:(Ee=e=>s(e,n?.environmentId??null),t[6]=n?.environmentId,t[7]=Ee);let g=a(Ee),De=g.threadIds.length>0,Oe;t[8]===g?Oe=t[9]:(Oe=g.threadIds.flatMap(e=>{let t=r(g,e);return t?[t]:[]}),t[8]=g,t[9]=Oe);let ke=Oe,Ae=i(Se),je;t[10]===n?je=t[11]:(je=e=>n?e.getDraftThreadByRef(n)!==null:!1,t[10]=n,t[11]=je);let Me=ee(je),Ne;t[12]===n?Ne=t[13]:(Ne=e=>n?e.getDraftThreadByRef(n):null,t[12]=n,t[13]=Ne);let Pe=ee(Ne),Fe;t[14]===n?Fe=t[15]:(Fe=e=>n?e.hasDraftThreadsInEnvironment(n.environmentId):!1,t[14]=n,t[15]=Fe);let Ie=ee(Fe),_=Te||Me,v;t[16]===Ce?v=t[17]:(v=oe(Ce),t[16]=Ce,t[17]=v);let y=v,b=De||Ie,x=c.diff===`1`,S=c.preview===`1`,Le;t[18]===c?Le=t[19]:(Le=me(c),t[18]=c,t[19]=Le);let C=Le,Re;t[20]===c?Re=t[21]:(Re=de(c),t[20]=c,t[21]=Re);let w=Re,ze=he(ie),T=n?`${n.environmentId}:${n.threadId}`:null,E;t[22]!==T||t[23]!==x||t[24]!==S||t[25]!==C?(E=()=>({threadKey:T,hasOpenedDiff:x,hasOpenedPreview:S,hasOpenedTerminal:C===`terminal`}),t[22]=T,t[23]=x,t[24]=S,t[25]=C,t[26]=E):E=t[26];let[D,Be]=(0,d.useState)(E),O=D.threadKey===T?D.hasOpenedDiff:x,k=D.threadKey===T?D.hasOpenedPreview:S,A=D.threadKey===T?D.hasOpenedTerminal:C===`terminal`,j;t[27]===C?j=t[28]:(j=()=>C??`review`,t[27]=C,t[28]=j);let[M,Ve]=(0,d.useState)(j),N;t[29]!==O||t[30]!==k||t[31]!==A||t[32]!==C?(N=[],(k||C===`files`)&&N.push(`files`),(O||C===`review`)&&N.push(`review`),(A||C===`terminal`)&&N.push(`terminal`),t[29]=O,t[30]=k,t[31]=A,t[32]=C,t[33]=N):N=t[33];let P=N,F;t[34]!==T||t[35]!==x||t[36]!==S||t[37]!==C?(F=e=>{Ve(e),Be(t=>{let n={threadKey:T,hasOpenedDiff:(t.threadKey===T?t.hasOpenedDiff:x)||e===`review`,hasOpenedPreview:(t.threadKey===T?t.hasOpenedPreview:S)||e===`files`,hasOpenedTerminal:(t.threadKey===T?t.hasOpenedTerminal:C===`terminal`)||e===`terminal`};return t.threadKey===n.threadKey&&t.hasOpenedDiff===n.hasOpenedDiff&&t.hasOpenedPreview===n.hasOpenedPreview&&t.hasOpenedTerminal===n.hasOpenedTerminal?t:n})},t[34]=T,t[35]=x,t[36]=S,t[37]=C,t[38]=F):F=t[38];let I=F,L;t[39]!==l||t[40]!==n?(L=()=>{n&&l({to:`/$environmentId/$threadId`,params:u(n),search:xe})},t[39]=l,t[40]=n,t[41]=L):L=t[41];let R=L,z;t[42]!==O||t[43]!==k||t[44]!==A||t[45]!==M||t[46]!==l||t[47]!==n?(z=()=>{n&&l({to:`/$environmentId/$threadId`,params:u(n),search:e=>M===`files`&&k?le(e):M===`review`&&O?fe(e):M===`terminal`&&A?pe(e):k?le(e):O?fe(e):A?pe(e):ue(e)})},t[42]=O,t[43]=k,t[44]=A,t[45]=M,t[46]=l,t[47]=n,t[48]=z):z=t[48];let B=z,V;t[49]!==R||t[50]!==B||t[51]!==w?(V=()=>{if(w){R();return}B()},t[49]=R,t[50]=B,t[51]=w,t[52]=V):V=t[52];let H=V,He;t[53]!==T||t[54]!==O||t[55]!==k||t[56]!==A||t[57]!==l||t[58]!==C||t[59]!==n?(He=e=>{if(!n)return;if(e.mode===`agent`){C===`agent`&&l({to:`/$environmentId/$threadId`,params:u(n),search:be});return}let t=e.mode===`review`?!1:O||C===`review`,r=e.mode===`files`?!1:k||C===`files`,i=e.mode===`terminal`?!1:A||C===`terminal`;Be(e=>{let n={threadKey:T,hasOpenedDiff:t,hasOpenedPreview:r,hasOpenedTerminal:i};return e.threadKey===n.threadKey&&e.hasOpenedDiff===n.hasOpenedDiff&&e.hasOpenedPreview===n.hasOpenedPreview&&e.hasOpenedTerminal===n.hasOpenedTerminal?e:n}),C===e.mode&&l({to:`/$environmentId/$threadId`,params:u(n),search:n=>e.mode!==`files`&&r?le(n):e.mode!==`review`&&t?fe(n):e.mode!==`terminal`&&i?pe(n):ue(n)})},t[53]=T,t[54]=O,t[55]=k,t[56]=A,t[57]=l,t[58]=C,t[59]=n,t[60]=He):He=t[60];let U=He,Ue,We;t[61]!==I||t[62]!==C?(Ue=()=>{C!==null&&(Ve(C),I(C))},We=[I,C],t[61]=I,t[62]=C,t[63]=Ue,t[64]=We):(Ue=t[63],We=t[64]),(0,d.useEffect)(Ue,We);let Ge,Ke;t[65]!==m||t[66]!==b||t[67]!==ke||t[68]!==l||t[69]!==_||t[70]!==Ae||t[71]!==n?(Ge=()=>{if(!(!n||!m)&&!_&&b){let e=_e(ke,Ae)[0];l(e?{to:`/$environmentId/$threadId`,params:u({environmentId:e.environmentId,threadId:e.id}),replace:!0}:{to:`/`,replace:!0})}},Ke=[m,b,ke,l,_,Ae,n],t[65]=m,t[66]=b,t[67]=ke,t[68]=l,t[69]=_,t[70]=Ae,t[71]=n,t[72]=Ge,t[73]=Ke):(Ge=t[72],Ke=t[73]),(0,d.useEffect)(Ge,Ke);let qe;t[74]!==Pe?.promotedTo||t[75]!==y||t[76]!==n?(qe=()=>{!n||!y||!Pe?.promotedTo||te(n)},t[74]=Pe?.promotedTo,t[75]=y,t[76]=n,t[77]=qe):qe=t[77];let Je=Pe?.promotedTo,Ye;if(t[78]!==y||t[79]!==Je||t[80]!==n?(Ye=[Je,y,n],t[78]=y,t[79]=Je,t[80]=n,t[81]=Ye):Ye=t[81],(0,d.useEffect)(qe,Ye),!n||!m||!_)return null;let W=w||C===`review`||O||C===`files`||k||C===`terminal`||A||C===`agent`,G=w?C:M;if(!ze){let e,r,i,a;t[82]===I?(e=t[83],r=t[84],i=t[85],a=t[86]):(e=()=>I(`review`),r=()=>I(`files`),i=()=>I(`terminal`),a=()=>I(`agent`),t[82]=I,t[83]=e,t[84]=r,t[85]=i,t[86]=a);let o;t[87]!==w||t[88]!==e||t[89]!==r||t[90]!==i||t[91]!==a||t[92]!==n.environmentId||t[93]!==n.threadId||t[94]!==H?(o=(0,f.jsx)(ge,{className:`h-svh min-h-0 overflow-hidden overscroll-y-none bg-background text-foreground md:h-dvh`,children:(0,f.jsx)(re,{environmentId:n.environmentId,threadId:n.threadId,onDiffPanelOpen:e,onPreviewPanelOpen:r,onTerminalPanelOpen:i,onAgentPanelOpen:a,workspacePanelOpen:w,onToggleWorkspacePanel:H,routeKind:`server`})}),t[87]=w,t[88]=e,t[89]=r,t[90]=i,t[91]=a,t[92]=n.environmentId,t[93]=n.threadId,t[94]=H,t[95]=o):o=t[95];let s;t[96]!==U||t[97]!==R||t[98]!==G||t[99]!==B||t[100]!==P||t[101]!==w||t[102]!==W?(s=(0,f.jsx)(ae,{open:w,panelMode:G,openedPanelModes:P,onClosePanelTab:U,onClose:R,onOpen:B,renderContent:W}),t[96]=U,t[97]=R,t[98]=G,t[99]=B,t[100]=P,t[101]=w,t[102]=W,t[103]=s):s=t[103];let c;return t[104]!==o||t[105]!==s?(c=(0,f.jsxs)(f.Fragment,{children:[o,s]}),t[104]=o,t[105]=s,t[106]=c):c=t[106],c}let K,q,J,Y;t[107]===I?(K=t[108],q=t[109],J=t[110],Y=t[111]):(K=()=>I(`review`),q=()=>I(`files`),J=()=>I(`terminal`),Y=()=>I(`agent`),t[107]=I,t[108]=K,t[109]=q,t[110]=J,t[111]=Y);let X;t[112]!==w||t[113]!==K||t[114]!==q||t[115]!==J||t[116]!==Y||t[117]!==n.environmentId||t[118]!==n.threadId||t[119]!==H?(X=(0,f.jsx)(ge,{className:`h-svh min-h-0 overflow-hidden overscroll-y-none bg-background text-foreground md:h-dvh`,children:(0,f.jsx)(re,{environmentId:n.environmentId,threadId:n.threadId,onDiffPanelOpen:K,onPreviewPanelOpen:q,onTerminalPanelOpen:J,onAgentPanelOpen:Y,workspacePanelOpen:w,onToggleWorkspacePanel:H,routeKind:`server`})}),t[112]=w,t[113]=K,t[114]=q,t[115]=J,t[116]=Y,t[117]=n.environmentId,t[118]=n.threadId,t[119]=H,t[120]=X):X=t[120];let Z;t[121]!==U||t[122]!==G||t[123]!==P||t[124]!==W?(Z=W?(0,f.jsx)(se,{mode:`sheet`,panelMode:G,openedPanelModes:P,onClosePanelTab:U}):null,t[121]=U,t[122]=G,t[123]=P,t[124]=W,t[125]=Z):Z=t[125];let Q;t[126]!==R||t[127]!==w||t[128]!==Z?(Q=(0,f.jsx)(ne,{open:w,onClose:R,children:Z}),t[126]=R,t[127]=w,t[128]=Z,t[129]=Q):Q=t[129];let $;return t[130]!==X||t[131]!==Q?($=(0,f.jsxs)(f.Fragment,{children:[X,Q]}),t[130]=X,t[131]=Q,t[132]=$):$=t[132],$}function be(e){return ue(e)}function xe(e){return l(e)}function Se(e){return e.sidebarThreadSortOrder}export{p as ChatThreadRouteView};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{t as n}from"./compiler-runtime-BNrXlsa1.js";import{ma as r,no as i,ro as a}from"./react-CjD7iThp.js";import{$t as o,A as s,At as c,Bt as l,C as u,D as d,E as ee,F as te,Gt as ne,M as re,N as ie,Nt as ae,O as oe,P as se,T as ce,_ as le,_t as ue,at as de,j as fe,jt as pe,k as me,n as he,ot as ge,w as _e,zt as ve}from"./environmentApi-BFHi_M02.js";import{Ci as ye,Fr as f,G as be,H as xe,Ir as Se,Lr as Ce,Mi as p,Nr as we,Oi as m,Rr as Te,U as Ee,V as De,Vr as Oe,sa as ke,ua as Ae}from"./composerDraftStore-xu3n5gdX.js";import{n as je}from"./QueryClientProvider-BZxRKpeb.js";import{An as Me,Cn as Ne,En as Pe,In as Fe,Mn as Ie,Nn as h,On as Le,Pn as Re,Qt as ze,Un as g,Yn as Be,dn as _,er as Ve,in as v,jn as He,kn as y,ln as Ue,or as We,rn as b,sn as x,vr as S,wn as Ge,xr as Ke,yr as qe}from"./providerIconUtils-Ch6hejVW.js";import{t as Je}from"./useNavigate-B1qgM5mt.js";import{n as Ye}from"./threadRoutes-CfldSp4X.js";import{C as Xe,n as C,t as w,w as Ze}from"./kbd-Dd57M8OY.js";import{a as T,i as E}from"./toast-DE-WwLMa.js";import{c as D,n as Qe,r as $e}from"./ThreadStatusIndicators-M9FWDEex.js";import{i as et,n as tt,r as nt}from"./chatThreadActions--n7v5mnB.js";import{a as rt,s as it}from"./BranchToolbar.logic-Di2EkKiO.js";import{t as O}from"./commandPaletteStore-oFMPKPmp.js";import{i as at,r as ot}from"./primary-CSkhdakK.js";import{D as st,E as ct,t as lt}from"./settingsDialogStore-9vo22xKp.js";import{t as ut}from"./useHandleNewThread-DOPZAFqE.js";import{g as k}from"./keybindings--G1bkIjA.js";import{t as dt}from"./ProjectFavicon-j9IX_7-B.js";var ft=m(`corner-left-up`,[[`path`,{d:`M14 9 9 4 4 9`,key:`1af5af`}],[`path`,{d:`M20 20h-7a4 4 0 0 1-4-4V4`,key:`1blwi3`}]]),pt=m(`folder-symlink`,[[`path`,{d:`M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7`,key:`y8kt7d`}],[`path`,{d:`m8 16 3-3-3-3`,key:`rlqrt1`}]]),A=e(t(),1),j=n(),M=`size-4 text-muted-foreground/80`,N=`size-4`;function P(e){return e.isAlias?`browse:alias:${e.name}:${e.fullPath}`:`browse:${e.fullPath}`}function mt(e){let t=e.browseFilterQuery.toLowerCase(),n=e.browseFilterQuery.startsWith(`.`),r=e.browseEntries.filter(e=>e.name.toLowerCase().startsWith(t)&&(n||!e.name.startsWith(`.`))),i=null,a=e.highlightedItemValue;a&&a.startsWith(`browse:`)&&(i=r.find(e=>P(e)===a)??null);let o=e.browseFilterQuery.length>0?r.find(t=>t.name===e.browseFilterQuery)??null:null;return{filteredEntries:r,highlightedEntry:i,exactEntry:o}}function ht(e){return e.trim().toLowerCase().replace(/\s+/g,` `)}function gt(e){return e.projects.map(t=>({kind:`action`,value:`${e.valuePrefix}:${t.environmentId}:${t.id}`,searchTerms:[t.name,t.cwd],title:t.name,description:t.cwd,icon:e.icon(t),run:async()=>{await e.runProject(t)}}))}function _t(e){let t=st(e.threads.filter(e=>e.archivedAt===null),e.sortOrder);return(e.limit===void 0?t:t.slice(0,e.limit)).map(t=>{let n=e.projectTitleById.get(t.projectId),r=[];n&&r.push(n),t.branch&&r.push(`#${t.branch}`),t.id===e.activeThreadId&&r.push(`Current thread`);let i=e.renderLeadingContent?.(t),a=e.renderTrailingContent?.(t);return Object.assign({kind:`action`,value:`thread:${t.id}`,searchTerms:[t.title,n??``,t.branch??``],title:t.title,description:r.join(` · `),timestamp:g(t.latestUserMessageAt??t.updatedAt??t.createdAt),icon:e.icon},i?{titleLeadingContent:i}:{},a?{titleTrailingContent:a}:{},{run:async()=>{await e.runThread(t)}})})}function F(e,t){let n=ht(e);return n.length===0||!n.includes(t)?-1/0:n===t?3:n.startsWith(t)?2:1}function vt(e,t){let n=e.searchTerms.filter(e=>e.length>0);if(n.length===0)return 0;for(let[e,r]of n.entries()){let n=F(r,t);if(n!==-1/0)return 1e3-e*100+n}return 0}function yt(e){let t=e.query.startsWith(`>`),n=ht(t?e.query.slice(1):e.query);if(n.length===0)return t?e.activeGroups.filter(e=>e.value===`actions`):[...e.activeGroups];let r=[...e.activeGroups];t?r=r.filter(e=>e.value===`actions`):e.isInSubmenu||(r=r.filter(e=>e.value!==`recent-threads`));let i=[...r];return!e.isInSubmenu&&!t&&(e.projectSearchItems.length>0&&i.push({value:`projects-search`,label:`Projects`,items:e.projectSearchItems}),e.threadSearchItems.length>0&&i.push({value:`threads-search`,label:`Threads`,items:e.threadSearchItems})),i.flatMap(e=>{let t=e.items.map((e,t)=>ht(e.searchTerms.join(` `)).includes(n)?{item:e,index:t,rank:vt(e,n)}:null).filter(e=>e!==null).toSorted((e,t)=>t.rank-e.rank||e.index-t.index).map(e=>e.item);return t.length===0?[]:[{value:e.value,label:e.label,items:t}]})}function bt(e){let t=[];e.canBrowseUp&&t.push({kind:`action`,value:`browse:up`,searchTerms:[e.browseQuery,`..`],title:`..`,icon:e.upIcon,keepOpen:!0,run:async()=>{e.browseUp()}});for(let n of e.browseEntries)t.push({kind:`action`,value:P(n),searchTerms:[e.browseQuery,n.fullPath,n.name],title:n.name,icon:n.isSymlink?e.symlinkIcon:e.directoryIcon,keepOpen:!0,run:async()=>{n.isAlias?e.browseToPath(n.fullPath):e.browseTo(n.name)}});return[{value:`directories`,label:`Directories`,items:t}]}function xt(e){return e.currentView?e.isBrowsing?`submenu-browse`:`submenu`:e.isBrowsing?`root-browse`:`root`}function St(e){let t=[];return e.actionItems.length>0&&t.push({value:`actions`,label:`Actions`,items:e.actionItems}),e.recentThreadItems.length>0&&t.push({value:`recent-threads`,label:`Recent Threads`,items:e.recentThreadItems}),t}function Ct(e){switch(e){case`root`:return`Search commands, projects, and threads...`;case`root-browse`:return`Enter project path (e.g. ~/projects/my-app)`;case`submenu`:return`Search...`;case`submenu-browse`:return`Enter path (e.g. ~/projects/my-app)`}}var I=p();function wt(e){let t=(0,j.c)(13);if(e.groups.length===0){let n=e.emptyStateMessage??(e.isActionsOnly?`No matching actions.`:`No matching commands, projects, or threads.`),r;return t[0]===n?r=t[1]:(r=(0,I.jsx)(`div`,{className:`py-10 text-center text-sm text-muted-foreground`,children:n}),t[0]=n,t[1]=r),r}let n;if(t[2]!==e.groups||t[3]!==e.highlightedItemValue||t[4]!==e.keybindings||t[5]!==e.onExecuteItem){let r;t[7]!==e.highlightedItemValue||t[8]!==e.keybindings||t[9]!==e.onExecuteItem?(r=t=>(0,I.jsxs)(y,{items:t.items,children:[(0,I.jsx)(Me,{children:t.label}),(0,I.jsx)(Ge,{children:t=>t.disabled?(0,I.jsx)(Tt,{item:t},t.value):(0,I.jsx)(L,{item:t,keybindings:e.keybindings,isActive:e.highlightedItemValue===t.value,onExecuteItem:e.onExecuteItem},t.value)})]},t.value),t[7]=e.highlightedItemValue,t[8]=e.keybindings,t[9]=e.onExecuteItem,t[10]=r):r=t[10],n=e.groups.map(r),t[2]=e.groups,t[3]=e.highlightedItemValue,t[4]=e.keybindings,t[5]=e.onExecuteItem,t[6]=n}else n=t[6];let r;return t[11]===n?r=t[12]:(r=(0,I.jsx)(h,{children:n}),t[11]=n,t[12]=r),r}function Tt(e){let t=(0,j.c)(8),n;t[0]!==e.item.description||t[1]!==e.item.title||t[2]!==e.item.titleLeadingContent?(n=e.item.description?(0,I.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,I.jsxs)(`span`,{className:`flex min-w-0 items-center gap-1.5 text-sm text-foreground`,children:[e.item.titleLeadingContent,(0,I.jsx)(`span`,{className:`truncate`,children:e.item.title})]}),(0,I.jsx)(`span`,{className:`truncate text-muted-foreground/70 text-xs`,children:e.item.description})]}):(0,I.jsxs)(`span`,{className:`flex min-w-0 flex-1 items-center gap-1.5 text-sm text-foreground`,children:[e.item.titleLeadingContent,(0,I.jsx)(`span`,{className:`truncate`,children:e.item.title})]}),t[0]=e.item.description,t[1]=e.item.title,t[2]=e.item.titleLeadingContent,t[3]=n):n=t[3];let r;return t[4]!==e.item.icon||t[5]!==e.item.titleTrailingContent||t[6]!==n?(r=(0,I.jsxs)(`div`,{className:`flex min-h-8 select-none items-center gap-2 rounded-sm px-2 py-1.5 text-base opacity-64 sm:min-h-7 sm:text-sm`,children:[e.item.icon,n,e.item.titleTrailingContent]}),t[4]=e.item.icon,t[5]=e.item.titleTrailingContent,t[6]=n,t[7]=r):r=t[7],r}function L(e){let t=(0,j.c)(27),n;t[0]!==e.item.shortcutCommand||t[1]!==e.keybindings?(n=e.item.shortcutCommand?k(e.keybindings,e.item.shortcutCommand):null,t[0]=e.item.shortcutCommand,t[1]=e.keybindings,t[2]=n):n=t[2];let r=n,i=e.item.value,a=e.isActive&&`bg-accent! text-accent-foreground!`,o;t[3]===a?o=t[4]:(o=f(`cursor-pointer gap-2 hover:bg-transparent hover:text-inherit data-highlighted:bg-transparent data-highlighted:text-inherit data-selected:bg-transparent data-selected:text-inherit [&[data-highlighted][data-selected]]:bg-transparent [&[data-highlighted][data-selected]]:text-inherit`,a),t[3]=a,t[4]=o);let s;t[5]===e?s=t[6]:(s=()=>{e.onExecuteItem(e.item)},t[5]=e,t[6]=s);let c;t[7]!==e.item.description||t[8]!==e.item.title||t[9]!==e.item.titleLeadingContent?(c=e.item.description?(0,I.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,I.jsxs)(`span`,{className:`flex min-w-0 items-center gap-1.5 text-sm text-foreground`,children:[e.item.titleLeadingContent,(0,I.jsx)(`span`,{className:`truncate`,children:e.item.title})]}),(0,I.jsx)(`span`,{className:`truncate text-muted-foreground/70 text-xs`,children:e.item.description})]}):(0,I.jsxs)(`span`,{className:`flex min-w-0 flex-1 items-center gap-1.5 text-sm text-foreground`,children:[e.item.titleLeadingContent,(0,I.jsx)(`span`,{className:`truncate`,children:e.item.title})]}),t[7]=e.item.description,t[8]=e.item.title,t[9]=e.item.titleLeadingContent,t[10]=c):c=t[10];let l;t[11]===e.item.timestamp?l=t[12]:(l=e.item.timestamp?(0,I.jsx)(`span`,{className:`min-w-12 shrink-0 text-right text-[10px] tabular-nums text-muted-foreground/70`,children:e.item.timestamp}):null,t[11]=e.item.timestamp,t[12]=l);let u;t[13]===r?u=t[14]:(u=r?(0,I.jsx)(Fe,{children:r}):null,t[13]=r,t[14]=u);let d;t[15]===e.item.kind?d=t[16]:(d=e.item.kind===`submenu`?(0,I.jsx)(S,{className:`ml-auto size-4 shrink-0 text-muted-foreground/50`}):null,t[15]=e.item.kind,t[16]=d);let ee;return t[17]!==e.item.icon||t[18]!==e.item.titleTrailingContent||t[19]!==e.item.value||t[20]!==o||t[21]!==s||t[22]!==c||t[23]!==l||t[24]!==u||t[25]!==d?(ee=(0,I.jsxs)(Ie,{value:i,className:o,onMouseDown:R,onClick:s,children:[e.item.icon,c,e.item.titleTrailingContent,l,u,d]}),t[17]=e.item.icon,t[18]=e.item.titleTrailingContent,t[19]=e.item.value,t[20]=o,t[21]=s,t[22]=c,t[23]=l,t[24]=u,t[25]=d,t[26]=ee):ee=t[26],ee}function R(e){e.preventDefault()}var Et=[],Dt=3e4;function Ot(e){return Se(e)?`Finder`:Ce(e)?`Explorer`:`Files`}function kt(e){return e===`windows`?`Win32`:e===`darwin`?`MacIntel`:e===`linux`?`Linux`:typeof navigator>`u`?``:navigator.platform}var At=[`url`,`github`,`gitlab`,`forgejo`,`bitbucket`,`azure-devops`],jt=[`github`,`gitlab`,`forgejo`,`bitbucket`,`azure-devops`];function Mt(e){switch(e){case`github`:return`GitHub`;case`gitlab`:return`GitLab`;case`forgejo`:return`Forgejo`;case`bitbucket`:return`Bitbucket`;case`azure-devops`:return`Azure DevOps`;case`url`:return`Git URL`}}function Nt(e){switch(e){case`github`:return`owner/repo`;case`gitlab`:return`group/project`;case`forgejo`:return`owner/repo`;case`bitbucket`:return`workspace/repository`;case`azure-devops`:return`project/repository`;case`url`:return`URL`}}function Pt(e){return e===`url`?null:e}function z(e,t){switch(e){case`github`:return(0,I.jsx)(Ue,{className:t});case`gitlab`:return(0,I.jsx)(_,{className:t});case`forgejo`:return(0,I.jsx)(x,{className:t});case`bitbucket`:return(0,I.jsx)(v,{className:t});case`azure-devops`:return(0,I.jsx)(b,{className:t});case`url`:return(0,I.jsx)(et,{className:t})}}function Ft(e){return!e||e.step===`confirm`?null:e.source===`url`?`Enter Git clone URL`:`Enter ${Mt(e.source)} repository (${Nt(e.source)})`}function It(e){return e.split(`/`).at(-1)?.trim()??e}function Lt(e){return`remote-repository:${e.provider}:${encodeURIComponent(e.nameWithOwner)}`}function Rt(e,t){return e===`bitbucket`?t.url:t.sshUrl}function zt(e){return!e.includes(`/`)&&!e.includes(`:`)}function Bt(e){return e===`url`?null:e}function Vt(e){return jt.toSorted((t,n)=>{let r=e[t].ready;return r===e[n].ready?Mt(t).localeCompare(Mt(n)):r?-1:1})}function Ht(e){let t={ready:!1,hint:`Provider status unavailable. Open Settings -> Source Control and rescan.`},n={url:{ready:!0,hint:null},github:t,gitlab:t,forgejo:t,bitbucket:t,"azure-devops":t};if(!e)return n;let i=new Map(e.sourceControlProviders.map(e=>[e.kind,e])),a={...n};for(let e of At){let n=Bt(e);if(!n)continue;let o=i.get(n);if(!o){a[e]=t;continue}if(o.status!==`available`){a[e]={ready:!1,hint:o.installHint};continue}if(o.auth.status===`unauthenticated`){a[e]={ready:!1,hint:r(o.auth.detail)??`${o.label} is not authenticated. Open Settings -> Source Control for setup guidance.`};continue}a[e]={ready:!0,hint:null}}return a}function Ut(e){return e instanceof Error&&e.message.trim().length>0?e.message:`An error occurred.`}function Wt(){let e=(0,j.c)(5),t=O(Gt),n=O(B),r,i;e[0]===n?(r=e[1],i=e[2]):(r=()=>()=>{n(!1)},i=[n],e[0]=n,e[1]=r,e[2]=i),(0,A.useEffect)(r,i);let a;return e[3]===t?a=e[4]:(a=t?(0,I.jsx)(Kt,{}):null,e[3]=t,e[4]=a),a}function B(e){return e.setOpen}function Gt(e){return e.open}function Kt(){let e=Je(),t=O(e=>e.setOpen),n=O(e=>e.openIntent),r=O(e=>e.clearOpenIntent),Ce=ze(),[p,m]=(0,A.useState)(``),Me=(0,A.useDeferredValue)(p),Fe=Me.startsWith(`>`),Ie=je(),[h,g]=(0,A.useState)(null),_=ne(),{activeDraftThread:v,activeThread:y,defaultProjectRef:Ue,handleNewThread:b}=ut(),x=ue(ye(de)),S=ue(ye(ge)),Ge=o(),[et,st]=(0,A.useState)([]),k=et.at(-1)??null,[j,P]=(0,A.useState)(0),[ht,F]=(0,A.useState)(null),[vt,Tt]=(0,A.useState)(!1),[L,R]=(0,A.useState)(null),[At,jt]=(0,A.useState)(!1),[Bt,Wt]=(0,A.useState)(!1),B=at(),Gt=ot()?.label??null,Kt=c(e=>e.byId),V=pe(e=>e.byId),qt=(0,A.useMemo)(()=>{let e=[],t=new Set;B&&(t.add(B),e.push({environmentId:B,label:rt({isPrimary:!0,environmentId:B,runtimeLabel:Gt}),isPrimary:!0}));for(let n of Object.values(Kt)){if(t.has(n.environmentId))continue;let r=V[n.environmentId];e.push({environmentId:n.environmentId,label:rt({isPrimary:!1,environmentId:n.environmentId,runtimeLabel:r?.descriptor?.label??null,savedLabel:n.label}),isPrimary:!1})}return e.sort((e,t)=>e.isPrimary===t.isPrimary?e.label.localeCompare(t.label):e.isPrimary?-1:1),e},[B,Gt,Kt,V]),Jt=qt[0]?.environmentId??null,H=ht??Jt,Yt=(0,A.useMemo)(()=>kt(H&&B&&H===B?ot()?.platform.os??null:H?V[H]?.descriptor?.platform.os??V[H]?.serverConfig?.environment.platform.os??null:null),[H,B,V]),Xt=L!==null,Zt=L?.step===`repository`,U=Zt&&L?Pt(L.source):null,W=Zt?Me.trim():``,G=Ke({queryKey:[`source-control`,`repository-search`,L?.step===`repository`?L.environmentId:null,U,W],queryFn:async()=>{if(L?.step!==`repository`||U!==`bitbucket`||L.source===`url`)throw Error(`Repository search is not available for this source.`);let e=he(L.environmentId);if(!e)throw Error(`Environment API is not available.`);return e.sourceControl.searchRepositories({provider:U,...W.length>0?{query:W}:{},limit:25})},enabled:L?.step===`repository`&&L.source!==`url`&&U===`bitbucket`,staleTime:3e4}),K=!Zt&&re(p,Yt),Qt=xt({currentView:k,isBrowsing:K}),$t=(0,A.useCallback)(e=>{let t=(e&&B&&e===B?_:e?V[e]?.serverConfig?.settings:null)?.addProjectBaseDirectory?.trim()??``;return t.length===0?`~/`:ce(t)},[B,V,_]),en=(0,A.useMemo)(()=>new Map(x.map(e=>[e.id,e.cwd])),[x]),tn=(0,A.useMemo)(()=>new Map(x.map(e=>[e.id,e.name])),[x]),nn=y?.id,rn=y?.environmentId??v?.environmentId??null,an=y?.projectId??v?.projectId??null,on=an?en.get(an)??null:null,q=H&&rn===H?on:null,J=te(p.trim())&&q===null,Y=K?d(p):``,sn=K&&!s(p)?oe(p):``,cn=(0,A.useCallback)(async e=>{if(!H)return null;let t=he(H);return t?t.filesystem.browse({partialPath:e,...q?{cwd:q}:{}}):null},[H,q]),{data:X,isPending:ln}=Ke({queryKey:[`filesystemBrowse`,H,Y,q],queryFn:()=>cn(Y),staleTime:Dt,enabled:K&&Y.length>0&&H!==null&&!J}),un=X?.entries??Et,{filteredEntries:dn,exactEntry:fn}=(0,A.useMemo)(()=>mt({browseEntries:un,browseFilterQuery:sn,highlightedItemValue:h}),[un,sn,h]),pn=(0,A.useCallback)(e=>{Ie.prefetchQuery({queryKey:[`filesystemBrowse`,H,e,q],queryFn:()=>cn(e),staleTime:Dt})},[H,q,cn,Ie]);(0,A.useEffect)(()=>{K&&_e(p)&&pn(me(p))},[K,pn,p]);let mn=(0,A.useMemo)(()=>async t=>{De.getState().setProjectExpanded(le(t,_),!0);let n=ct(S.filter(e=>e.environmentId===t.environmentId),t.id,_.sidebarThreadSortOrder);if(n){await e({to:`/$environmentId/$threadId`,params:Ye(a(n.environmentId,n.id))});return}await b(i(t.environmentId,t.id),{envMode:_.defaultThreadEnvMode})},[b,e,_,S]),hn=(0,A.useMemo)(()=>gt({projects:x,valuePrefix:`project`,icon:e=>(0,I.jsx)(dt,{environmentId:e.environmentId,cwd:e.cwd,projectId:e.id,customAvatarContentHash:e.customAvatarContentHash??null,className:M}),runProject:mn}),[mn,x]),gn=(0,A.useMemo)(()=>gt({projects:x,valuePrefix:`new-thread-in`,icon:e=>(0,I.jsx)(dt,{environmentId:e.environmentId,cwd:e.cwd,projectId:e.id,customAvatarContentHash:e.customAvatarContentHash??null,className:M}),runProject:async e=>{await nt({activeDraftThread:v,activeThread:y,defaultProjectRef:Ue,defaultThreadEnvMode:_.defaultThreadEnvMode,handleNewThread:b},i(e.environmentId,e.id))}}),[v,y,Ue,b,x,_.defaultThreadEnvMode]),_n=(0,A.useMemo)(()=>_t({threads:S,...nn?{activeThreadId:nn}:{},projectTitleById:tn,sortOrder:_.sidebarThreadSortOrder,icon:(0,I.jsx)(Ve,{className:M}),renderLeadingContent:e=>(0,I.jsx)(Qe,{thread:e}),renderTrailingContent:e=>(0,I.jsx)($e,{thread:e}),runThread:async t=>{await e({to:`/$environmentId/$threadId`,params:Ye(a(t.environmentId,t.id))})}}),[nn,e,tn,_.sidebarThreadSortOrder,S]),vn=_n.slice(0,12);function Z(e){st(t=>[...t,{addonIcon:e.addonIcon,groups:e.groups,...e.initialQuery?{initialQuery:e.initialQuery}:{}}]),g(null),m(e.initialQuery??``)}function yn(e){Z({addonIcon:e.addonIcon,groups:e.groups,...e.initialQuery?{initialQuery:e.initialQuery}:{}})}function bn(){R(null),et.length<=1&&F(null),st(e=>e.slice(0,-1)),g(null),m(``)}function xn(e){g(null),m(e),e===``&&k?.initialQuery&&bn()}let Sn=(0,A.useCallback)(e=>{F(e),R(null),Z({addonIcon:(0,I.jsx)(D,{className:N}),groups:[],initialQuery:$t(e)})},[$t]),Cn=(0,A.useCallback)((e,t)=>{F(e),R({step:`repository`,environmentId:e,source:t}),Z({addonIcon:z(t,N),groups:[],initialQuery:``})},[]),wn=lt(e=>e.openSettings),Tn=(0,A.useCallback)(()=>{t(!1),wn(`source-control`)},[wn,t]),En=(0,A.useCallback)((e,t)=>{let n=[{kind:`action`,value:`action:add-project:${e}:local`,searchTerms:[`local`,`folder`,`directory`,`browse`],title:`Local folder`,description:`Browse a folder on disk`,icon:(0,I.jsx)(D,{className:M}),keepOpen:!0,run:async()=>{Sn(e)}}],r=[`url`,...Vt(t)];for(let i of r){let r=Mt(i),a=i===`url`?`Git URL`:`${r} repository`,o=i===`url`?`Clone from a remote URL`:`Clone ${r} ${Nt(i)}`,s=t[i],c=s.hint,l=s.ready?void 0:(0,I.jsx)(`span`,{className:`ml-auto`,children:(0,I.jsxs)(xe,{children:[(0,I.jsx)(be,{render:(0,I.jsx)(we,{variant:`outline`,size:`xs`,className:`h-5 rounded-sm px-1.5 text-[10px] text-warning-foreground`,onClick:()=>{Tn()},children:`Setup Required`})}),(0,I.jsx)(Ee,{align:`end`,side:`left`,children:c??`Open Settings -> Source Control to configure this provider.`})]})});if(!s.ready){n.push({kind:`action`,value:`action:add-project:${e}:${i}:not-ready`,searchTerms:[`clone`,`remote`,`repository`,`repo`,`git`,r,`setup required`],title:a,description:o,disabled:!0,icon:z(i,M),...l?{titleTrailingContent:l}:{},run:async()=>{}});continue}n.push({kind:`action`,value:`action:add-project:${e}:${i}`,searchTerms:[`clone`,`remote`,`repository`,`repo`,`git`,r],title:a,description:o,icon:z(i,M),...l?{titleTrailingContent:l}:{},keepOpen:!0,run:async()=>{Cn(e,i)}})}return[{value:`sources:${e}`,label:`Sources`,items:n}]},[Tn,Sn,Cn]),Dn=(0,A.useCallback)(e=>{F(e),R(null);let t={environmentId:e},n=ve(t).data;Z({addonIcon:(0,I.jsx)(D,{className:N}),groups:En(e,Ht(n))}),l(t).then(t=>{st(n=>n.at(-1)?.groups[0]?.value===`sources:${e}`?[...n.slice(0,-1),{addonIcon:(0,I.jsx)(D,{className:N}),groups:En(e,Ht(t))}]:n)})},[En]),On=qt.map(e=>({kind:`action`,value:`action:add-project:environment:${e.environmentId}`,searchTerms:[e.label,e.environmentId,e.isPrimary?`this device`:``],title:e.label,description:e.isPrimary?`This device`:e.environmentId,icon:(0,I.jsx)(D,{className:M}),keepOpen:!0,run:async()=>{Dn(e.environmentId)}})),kn=(0,A.useMemo)(()=>[{value:`environments`,label:`Environments`,items:On}],[On]),An=(0,A.useCallback)(()=>{if(qt.length>1){Z({addonIcon:(0,I.jsx)(D,{className:N}),groups:kn});return}let e=Jt;if(!e){E.add(T({type:`error`,title:`Unable to browse projects`,description:`No environment is available.`}));return}Dn(e)},[kn,qt.length,Jt,Dn]);(0,A.useLayoutEffect)(()=>{n?.kind===`add-project`&&(r(),An())},[r,An,n]);let jn=[];if(x.length>0){let e=an?tn.get(an)??null:null;e&&jn.push({kind:`action`,value:`action:new-thread`,searchTerms:[`new thread`,`chat`,`create`,`draft`],title:(0,I.jsxs)(I.Fragment,{children:[`New thread in `,(0,I.jsx)(`span`,{className:`font-semibold`,children:e})]}),icon:(0,I.jsx)(it,{className:M}),shortcutCommand:`chat.new`,run:async()=>{await tt({activeDraftThread:v,activeThread:y,defaultProjectRef:Ue,defaultThreadEnvMode:_.defaultThreadEnvMode,handleNewThread:b})}}),jn.push({kind:`submenu`,value:`action:new-thread-in`,searchTerms:[`new thread`,`project`,`pick`,`choose`,`select`],title:`New thread in...`,icon:(0,I.jsx)(it,{className:M}),addonIcon:(0,I.jsx)(it,{className:N}),groups:[{value:`projects`,label:`Projects`,items:gn}]})}jn.push({kind:`action`,value:`action:add-project`,searchTerms:[`add project`,`folder`,`directory`,`browse`,`clone`,`remote`,`repository`,`repo`,`git`,`github`,`gitlab`,`forgejo`,`codeberg`,`bitbucket`,`azure`,`devops`,`url`,`environment`],title:`Add project`,icon:(0,I.jsx)(D,{className:M}),keepOpen:!0,run:async()=>{An()}}),jn.push({kind:`action`,value:`action:settings`,searchTerms:[`settings`,`preferences`,`configuration`,`keybindings`],title:`Open settings`,icon:(0,I.jsx)(Be,{className:M}),run:async()=>{t(!1),wn()}});let Mn=St({actionItems:jn,recentThreadItems:vn}),Nn=yt({activeGroups:k?k.groups:Mn,query:Me,isInSubmenu:k!==null,projectSearchItems:hn,threadSearchItems:_n}),Pn=(0,A.useCallback)(async n=>{if(!H)return;let r=he(H);if(!r)return;if(ie(n.trim(),Yt)){E.add(T({type:`error`,title:`Failed to add project`,description:`Windows-style paths are only supported on Windows.`}));return}if(te(n.trim())&&!q){E.add(T({type:`error`,title:`Failed to add project`,description:`Relative paths require an active project.`}));return}let o=se(n,q);if(o.length===0)return;let s=ee(x.filter(e=>e.environmentId===H),o);if(s){De.getState().setProjectExpanded(le(s,_),!0);let n=ct(S.filter(e=>e.environmentId===s.environmentId),s.id,_.sidebarThreadSortOrder);n?await e({to:`/$environmentId/$threadId`,params:Ye(a(n.environmentId,n.id))}):await b(i(s.environmentId,s.id),{envMode:_.defaultThreadEnvMode}).catch(()=>void 0),t(!1);return}try{let e=Oe();await r.orchestration.dispatchCommand({type:`project.create`,commandId:Te(),projectId:e,title:fe(o),workspaceRoot:o,projectMetadataDir:`.ryco`,createWorkspaceRootIfMissing:!0,defaultModelSelection:{instanceId:Ae.make(`codex`),model:ke},createdAt:new Date().toISOString()}),await b(i(H,e),{envMode:_.defaultThreadEnvMode}).catch(()=>void 0),t(!1)}catch(e){E.add(T({type:`error`,title:`Failed to add project`,description:e instanceof Error?e.message:`An error occurred.`}))}},[H,Yt,q,b,e,x,t,_,S]),Fn=(0,A.useCallback)(e=>$t(e),[$t]),Q=(0,A.useCallback)(e=>{let t=Fn(e.flow.environmentId);R({step:`confirm`,environmentId:e.flow.environmentId,source:e.flow.source,repositoryInput:e.repositoryInput,repository:e.repository,remoteUrl:e.remoteUrl}),g(null),m(t),P(e=>e+1)},[Fn]);async function In(e){if(!L)return;let t=he(L.environmentId);if(!t){E.add(T({type:`error`,title:`Unable to clone project`,description:`Environment API is not available.`}));return}if(L.step===`repository`){let e=p.trim();if(e.length===0||At)return;let n=Pt(L.source);if(!n){Q({flow:L,repositoryInput:e,repository:null,remoteUrl:e});return}let r=G.data?.repositories??[];if(zt(e)&&W===e&&r.length===1){let e=r[0];Q({flow:L,repositoryInput:e.nameWithOwner,repository:e,remoteUrl:Rt(L.source,e)});return}jt(!0);try{let r=await t.sourceControl.lookupRepository({provider:n,repository:e});Q({flow:L,repositoryInput:e,repository:r,remoteUrl:Rt(L.source,r)})}catch(e){E.add(T({type:`error`,title:`Repository lookup failed`,description:Ut(e)}))}finally{jt(!1)}return}let n=(e??p).trim();if(n.length===0||Bt)return;if(ie(n,Yt)){E.add(T({type:`error`,title:`Clone failed`,description:`Windows-style paths are only supported on Windows.`}));return}if(te(n)&&!q){E.add(T({type:`error`,title:`Clone failed`,description:`Relative paths require an active project.`}));return}let r=se(n,q);if(r.length!==0){Wt(!0);try{let e=Pt(L.source);await Pn((await t.sourceControl.cloneRepository({...e&&L.repository?{provider:e,repository:L.repository.nameWithOwner,remoteUrl:L.remoteUrl,...L.source===`bitbucket`?{protocol:`https`}:{}}:{remoteUrl:L.remoteUrl},destinationPath:r})).cwd)}catch(e){E.add(T({type:`error`,title:`Clone failed`,description:Ut(e)}))}finally{Wt(!1)}}}function Ln(e){let t=u(p,e);g(null),m(t),P(e=>e+1)}function Rn(e){let t=ce(e);g(null),m(t),P(e=>e+1)}function zn(){let e=me(p);e!==null&&(g(null),m(e),P(e=>e+1))}let Bn=s(p)?X?.parentPath??p.trim():fn?.fullPath??p.trim(),Vn=bt({browseEntries:dn,browseQuery:p,canBrowseUp:K&&!J&&_e(Y),upIcon:(0,I.jsx)(ft,{className:M}),directoryIcon:(0,I.jsx)(We,{className:M}),symlinkIcon:(0,I.jsx)(pt,{className:M}),browseUp:zn,browseTo:Ln,browseToPath:Rn}),Hn=(0,A.useMemo)(()=>Vn.map(e=>e.value===`directories`?{...e,label:`Select where to clone`}:e),[Vn]),Un=(0,A.useMemo)(()=>L?.step===`confirm`?{title:L.repository?.nameWithOwner??L.repositoryInput,description:L.repository?.url??L.remoteUrl,icon:z(L.source,M)}:null,[L]),Wn=(0,A.useMemo)(()=>{if(L?.step!==`repository`||L.source===`url`||U!==`bitbucket`)return[];let e=G.data?.repositories??[];return e.length>0?[{value:`remote-repositories:${L.environmentId}:${U}`,label:W.length>0?`Matching repositories`:`Available repositories`,items:e.map(e=>({kind:`action`,value:Lt(e),searchTerms:[e.nameWithOwner,It(e.nameWithOwner),e.url,e.sshUrl],title:e.nameWithOwner,description:e.url,icon:z(L.source,M),keepOpen:!0,run:async()=>{Q({flow:L,repositoryInput:e.nameWithOwner,repository:e,remoteUrl:Rt(L.source,e)})}}))}]:G.isFetching?[{value:`remote-repositories:${L.environmentId}:${U}:loading`,label:`Repositories`,items:[{kind:`action`,value:`remote-repositories:loading`,searchTerms:[`loading`,`repository`,`repo`],title:`Loading repositories`,description:`Reading available Bitbucket workspaces`,icon:z(L.source,M),disabled:!0,run:async()=>{}}]}]:G.isError?[{value:`remote-repositories:${L.environmentId}:${U}:error`,label:`Repositories`,items:[{kind:`action`,value:`remote-repositories:error`,searchTerms:[`error`,`repository`,`repo`],title:`Unable to load repositories`,description:Ut(G.error),icon:z(L.source,M),disabled:!0,run:async()=>{}}]}]:[]},[L,Q,U,W,G.data?.repositories,G.error,G.isError,G.isFetching]),Gn=L?.step===`repository`&&L.source===`bitbucket`?W.length===0?`No repositories found. Enter workspace/repository manually.`:`No matching repositories. Enter workspace/repository manually.`:null,Kn=Nn;L?.step===`repository`?Kn=Wn:L?.step===`confirm`?Kn=J?[]:Hn:K&&(Kn=J?[]:Vn);let qn=Ft(L)??Ct(Qt),Jn=Qt===`submenu`||Qt===`submenu-browse`,$=h?.startsWith(`browse:`)??!1,Yn=K&&!J,Xn=Yn&&!ln&&p.trim().length>0&&!$&&(s(p)?!X:fn===null),Zn=Se(navigator.platform),Qn=Zn?`⌘`:`Ctrl`,$n=L?.step===`confirm`,er=$n?Xn?`Create & Clone`:`Clone`:Xn?`Create & Add`:`Add`,tr=$?`${Qn} Enter`:`Enter`,nr=L?L.source===`url`?`Continue`:`Lookup`:null,rr=At||Bt,ir=L?.step===`repository`&&p.trim().length>0&&!rr,ar=Ot(navigator.platform),or=K&&H!==null&&B!==null&&H===B&&typeof window<`u`&&window.desktopBridge!==void 0,sr=(0,A.useMemo)(()=>{if(!or)return;let e=p.trim();if(e.length===0)return;let t=se(s(p)?X?.parentPath??e:Y||e,q);return t.length>0?t:void 0},[Y,X?.parentPath,or,q,p]);function cr(e){return Zn?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey}function lr(e){if(L?.step===`repository`&&e.key===`Enter`){e.preventDefault();let t=G.data?.repositories.find(e=>Lt(e)===h);if(t){Q({flow:L,repositoryInput:t.nameWithOwner,repository:t,remoteUrl:Rt(L.source,t)});return}In();return}if(Yn&&e.key===`Enter`&&(!$||cr(e))){e.preventDefault(),$n?In(Bn):Pn(Bn);return}e.key===`Backspace`&&p===``&&Jn&&(e.preventDefault(),bn())}function ur(e){if(!e.disabled){if(e.kind===`submenu`){yn(e);return}e.keepOpen||t(!1),e.run().catch(e=>{E.add(T({type:`error`,title:`Unable to run command`,description:e instanceof Error?e.message:`An unexpected error occurred.`}))})}}let dr=(0,A.useCallback)(async()=>{if(!or||vt)return;let e=ae();if(!e)return;Tt(!0);let t=null;try{t=await e.dialogs.pickFolder(sr?{initialPath:sr}:void 0)}catch{Tt(!1);return}Tt(!1),t&&await Pn(t)},[or,sr,Pn,vt]);return(0,I.jsx)(Pe,{"aria-label":`Command palette`,className:`project-glass-surface overflow-hidden p-0`,"data-testid":`command-palette`,surface:`glass`,finalFocus:()=>(Ce?.current?.focusAtEnd(),!1),onBackdropPointerDown:()=>{t(!1)},children:(0,I.jsxs)(Ne,{"aria-label":`Command palette`,autoHighlight:K||Xt?!1:`always`,mode:`none`,onItemHighlighted:e=>{g(typeof e==`string`?e:null)},onValueChange:xn,value:p,children:[(0,I.jsxs)(`div`,{className:`relative`,children:[(0,I.jsx)(He,{className:L?.step===`repository`?`pe-32`:K?Xn?`pe-36`:`pe-16`:void 0,placeholder:qn,wrapperClassName:Jn?`[&_[data-slot=autocomplete-start-addon]]:pointer-events-auto`:void 0,...Jn?{startAddon:(0,I.jsx)(`button`,{type:`button`,className:`flex cursor-pointer items-center`,"aria-label":`Back`,onClick:bn,children:(0,I.jsx)(qe,{})})}:K&&!Jn?{startAddon:(0,I.jsx)(D,{})}:{},onKeyDown:lr}),L?.step===`repository`?(0,I.jsxs)(we,{variant:`outline`,size:`xs`,tabIndex:-1,className:`absolute inset-e-2.5 top-1/2 gap-1.5 pe-1 ps-2 -translate-y-1/2`,"aria-label":`${nr??`Continue`} (Enter)`,disabled:!ir,onMouseDown:e=>{e.preventDefault()},onClick:()=>{In()},title:`${nr??`Continue`} (Enter)`,children:[(0,I.jsx)(`span`,{children:rr?`Working`:nr}),(0,I.jsx)(C,{className:`pointer-events-none -me-0.5 items-center gap-1`,children:(0,I.jsx)(w,{children:`Enter`})})]}):K?(0,I.jsxs)(we,{variant:`outline`,size:`xs`,tabIndex:-1,className:f(`absolute inset-e-2.5 top-1/2 pe-1 ps-2 -translate-y-1/2`,$?`gap-1`:`gap-1.5`),"aria-label":`${er} (${tr})`,disabled:J||$n&&rr,onMouseDown:e=>{e.preventDefault()},onClick:()=>{J||($n?In(Bn):Pn(Bn))},title:`${er} (${tr})`,children:[(0,I.jsx)(`span`,{children:$n&&rr?`Cloning`:er}),(0,I.jsx)(C,{className:`pointer-events-none -me-0.5 items-center gap-1`,children:(0,I.jsx)(w,{children:$?`${Qn} Enter`:`Enter`})})]}):null]}),(0,I.jsxs)(Re,{className:`max-h-[min(28rem,70vh)] bg-transparent`,children:[Un?(0,I.jsxs)(`div`,{className:`p-2 pb-0`,children:[(0,I.jsx)(`div`,{className:`px-2 py-1.5 font-medium text-muted-foreground text-xs`,children:`Repository`}),(0,I.jsxs)(`div`,{className:`flex min-h-8 items-center gap-2 rounded-sm px-2 py-1.5`,children:[Un.icon,(0,I.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,I.jsx)(`span`,{className:`truncate text-foreground text-sm`,children:Un.title}),(0,I.jsx)(`span`,{className:`truncate text-muted-foreground/70 text-xs`,children:Un.description})]})]})]}):null,(0,I.jsx)(wt,{groups:Kn,highlightedItemValue:h,isActionsOnly:Fe,keybindings:Ge,onExecuteItem:ur,...L?.step===`repository`?{emptyStateMessage:L.source===`url`?`Enter a Git clone URL and press Enter to continue.`:Gn??`Enter a repository path and press Enter to look it up.`}:L?.step===`confirm`?{emptyStateMessage:`Choose a destination path and press Enter to clone.`}:J?{emptyStateMessage:`Relative paths require an active project.`}:Xn?{emptyStateMessage:`Press Enter to create this folder and add it as a project.`}:{}})]}),(0,I.jsxs)(Le,{className:`gap-3 max-sm:flex-col max-sm:items-start`,children:[(0,I.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,I.jsxs)(C,{className:`items-center gap-1.5`,children:[(0,I.jsx)(w,{children:(0,I.jsx)(Xe,{})}),(0,I.jsx)(w,{children:(0,I.jsx)(Ze,{})}),(0,I.jsx)(`span`,{className:f(`text-muted-foreground/80`),children:`Navigate`})]}),L?.step===`repository`?(0,I.jsxs)(C,{className:`items-center gap-1.5`,children:[(0,I.jsx)(w,{children:`Enter`}),(0,I.jsx)(`span`,{className:f(`text-muted-foreground/80`),children:nr??`Continue`})]}):!Yn||$?(0,I.jsxs)(C,{className:`items-center gap-1.5`,children:[(0,I.jsx)(w,{children:`Enter`}),(0,I.jsx)(`span`,{className:f(`text-muted-foreground/80`),children:`Select`})]}):null,Jn?(0,I.jsxs)(C,{className:`items-center gap-1.5`,children:[(0,I.jsx)(w,{children:`Backspace`}),(0,I.jsx)(`span`,{className:f(`text-muted-foreground/80`),children:`Back`})]}):null,(0,I.jsxs)(C,{className:`items-center gap-1.5`,children:[(0,I.jsx)(w,{children:`Esc`}),(0,I.jsx)(`span`,{className:f(`text-muted-foreground/80`),children:`Close`})]})]}),or?(0,I.jsx)(we,{variant:`ghost`,size:`xs`,className:`h-auto px-2 text-xs text-muted-foreground/80 hover:bg-transparent hover:text-foreground`,disabled:vt,onClick:()=>{dr()},children:`Open in ${ar}`}):null]})]},`${et.length}-${j}-${K}-${L?.step??`none`}`)})}export{Wt as CommandPaletteDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-PSPkXoKo.js";import{$r as n,An as r,At as i,Cn as a,Ct as o,Dn as s,Dt as c,En as l,Et as u,Ft as d,It as f,Kr as p,Lt as m,Mi as h,Mt as g,On as _,Pt as v,Qr as y,St as b,Tn as x,Tt as S,gt as C,jn as w,jt as T,kn as E,lr as D,rr as O,ti as k,wn as A,wt as j,yt as M}from"./composerDraftStore-
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{$r as n,An as r,At as i,Cn as a,Ct as o,Dn as s,Dt as c,En as l,Et as u,Ft as d,It as f,Kr as p,Lt as m,Mi as h,Mt as g,On as _,Pt as v,Qr as y,St as b,Tn as x,Tt as S,gt as C,jn as w,jt as T,kn as E,lr as D,rr as O,ti as k,wn as A,wt as j,yt as M}from"./composerDraftStore-xu3n5gdX.js";var N=e(t());function P(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}var F=`data-composite-item-active`,I=[];function L(e){let{itemSizes:t,cols:n=1,loopFocus:p=!0,dense:h=!1,orientation:g=`both`,direction:y,highlightedIndex:C,onHighlightedIndexChange:O,rootRef:M,enableHomeAndEndKeys:F=!1,stopEventPropagation:L=!1,disabledIndices:z,modifierKeys:B=I}=e,[V,H]=N.useState(0),U=n>1,W=N.useRef(null),G=k(W,M),K=N.useRef([]),q=N.useRef(!1),J=C??V,Y=D((e,t=!1)=>{if((O??H)(e),t){let t=K.current[e];m(W.current,t,y,g)}}),X=D(e=>{if(e.size===0||q.current)return;q.current=!0;let t=Array.from(e.keys()),n=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,r=n?t.indexOf(n):-1;r!==-1&&Y(r),m(W.current,n,y,g)}),Z=N.useMemo(()=>({"aria-orientation":g===`both`?void 0:g,ref:G,onFocus(e){!W.current||!f(e.target)||e.target.setSelectionRange(0,e.target.value.length??0)},onKeyDown(e){let m=F?b:j;if(!m.has(e.key)||R(e,B)||!W.current)return;let C=y===`rtl`,D=C?S:u,O={horizontal:D,vertical:o,both:D}[g],k=C?u:S,M={horizontal:k,vertical:c,both:k}[g];if(f(e.target)&&!P(e.target)){let t=e.target.selectionStart,n=e.target.selectionEnd,r=e.target.value??``;if(t==null||e.shiftKey||t!==n||e.key!==M&&t<r.length||e.key!==O&&t>0)return}let N=J,I=E(K,z),V=_(K,z);if(U){let r=t||Array.from({length:K.current.length},()=>({width:1,height:1})),i=a(r,n,h),o=i.findIndex(e=>e!=null&&!w(K,e,z)),c=i.reduce((e,t,n)=>t!=null&&!w(K,t,z)?n:e,-1);N=i[s({current:i.map(e=>e?K.current[e]:null)},{event:e,orientation:g,loopFocus:p,cols:n,disabledIndices:l([...z||K.current.map((e,t)=>w(K,t)?t:void 0),void 0],i),minIndex:o,maxIndex:c,prevIndex:x(J>V?I:J,r,i,n,e.key===`ArrowDown`?`bl`:e.key===`ArrowRight`?`tr`:`tl`),rtl:C})]}let H={horizontal:[D],vertical:[o],both:[D,o]}[g],G={horizontal:[k],vertical:[c],both:[k,c]}[g],q=U?m:{horizontal:F?T:i,vertical:F?d:v,both:m}[g];F&&(e.key===`Home`?N=I:e.key===`End`&&(N=V)),N===J&&(H.includes(e.key)||G.includes(e.key))&&(N=p&&N===V&&H.includes(e.key)?I:p&&N===I&&G.includes(e.key)?V:A(K,{startingIndex:N,decrement:G.includes(e.key),disabledIndices:z})),N!==J&&!r(K,N)&&(L&&e.stopPropagation(),q.has(e.key)&&e.preventDefault(),Y(N,!0),queueMicrotask(()=>{K.current[N]?.focus()}))}}),[n,h,y,z,K,F,J,U,t,p,G,B,Y,g,L]);return N.useMemo(()=>({props:Z,highlightedIndex:J,onHighlightedIndexChange:Y,elementsRef:K,disabledIndices:z,onMapChange:X,relayKeyboardEvent:Z.onKeyDown}),[Z,J,Y,K,z,X])}function R(e,t){for(let n of g.values())if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}var z=h();function B(e){let{render:t,className:r,refs:i=y,props:a=y,state:o=n,stateAttributesMapping:s,highlightedIndex:c,onHighlightedIndexChange:l,orientation:u,dense:d,itemSizes:f,loopFocus:m,cols:h,enableHomeAndEndKeys:g,onMapChange:_,stopEventPropagation:v=!0,rootRef:b,disabledIndices:x,modifierKeys:S,highlightItemOnHover:w=!1,tag:T=`div`,...E}=e,{props:D,highlightedIndex:k,onHighlightedIndexChange:A,elementsRef:j,onMapChange:P,relayKeyboardEvent:F}=L({itemSizes:f,cols:h,loopFocus:m,dense:d,orientation:u,highlightedIndex:c,onHighlightedIndexChange:l,rootRef:b,stopEventPropagation:v,enableHomeAndEndKeys:g,direction:M(),disabledIndices:x,modifierKeys:S}),I=p(T,e,{state:o,ref:i,props:[D,...a,E],stateAttributesMapping:s}),R=N.useMemo(()=>({highlightedIndex:k,onHighlightedIndexChange:A,highlightItemOnHover:w,relayKeyboardEvent:F}),[k,A,w,F]);return(0,z.jsx)(O.Provider,{value:R,children:(0,z.jsx)(C,{elementsRef:j,onMapChange:e=>{_?.(e),P(e)},children:I})})}export{F as n,B as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{t as n}from"./compiler-runtime-BNrXlsa1.js";import{an as r}from"./react-CjD7iThp.js";import{At as i,Zt as a,a as o,c as s,d as c,i as l,jt as u,o as d,u as f,z as p}from"./environmentApi-BFHi_M02.js";import{$ as m,Ei as h,Fr as g,G as _,H as v,Mi as y,Nr as b,Oi as x,Q as S,U as C,V as w,Z as T,et as E,it as D,ot as O,tt as k}from"./composerDraftStore-xu3n5gdX.js";import{Bn as A,Ct as j,Dt as ee,Et as M,Jn as N,S as P,St as F,Tt as I,Vn as te,b as ne,bt as L,gt as R,rt as z,vt as B,wt as re,x as ie,xt as ae,yt as oe}from"./providerIconUtils-Ch6hejVW.js";import{a as V,i as H,o as se,s as ce}from"./toast-DE-WwLMa.js";import{t as le}from"./plus-B10j9MbZ.js";import{t as ue}from"./refresh-cw-CRxaXR0E.js";import{n as de,t as fe}from"./pairingUrl-rQM9kSGT.js";import{d as pe,f as me,h as he,o as ge,s as _e,u as ve}from"./primary-CSkhdakK.js";import{r as ye,t as be}from"./hostedPairing-DAdvNuk3.js";import{t as xe}from"./input-BfUa3JUD.js";import{t as Se}from"./scroll-area-BgFq7GRd.js";import{t as Ce}from"./AnimatedHeight-CYuVQOpY.js";import{n as we,t as Te}from"./group-Dwm-OV-r.js";import{a as Ee,i as De,n as Oe,o as ke,r as Ae,s as je,t as Me}from"./alert-dialog-BJQbh5gX.js";import{a as Ne,i as Pe,n as Fe,r as U}from"./settingsLayout-B5o13iGO.js";var Ie=x(`chevrons-left-right-ellipsis`,[[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`m17 7 5 5-5 5`,key:`1xlxn0`}],[`path`,{d:`m7 7-5 5 5 5`,key:`19njba`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}]]),Le=x(`qr-code`,[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`,key:`1tu5fj`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`,key:`1v8r4q`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`1x03jg`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`,key:`177gqh`}],[`path`,{d:`M21 21v.01`,key:`ents32`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`,key:`8crl2c`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M12 3h.01`,key:`n36tog`}],[`path`,{d:`M12 16v.01`,key:`133mhm`}],[`path`,{d:`M16 12h1`,key:`1slzba`}],[`path`,{d:`M21 12v.01`,key:`1lwtk9`}],[`path`,{d:`M12 21v-1`,key:`1880an`}]]),W=e(t(),1),G=n();function Re(e,t){let n=new URL(e);return n.pathname=`/pair`,de(n,t).toString()}function ze(e,t){return new URL(e).protocol===`https:`?be({host:e,token:t}):null}var Be=class e{static Ecc;static encodeText(t,n){let r=Y.makeSegments(t);return e.encodeSegments(r,n)}static encodeBinary(t,n){let r=Y.makeBytes(t);return e.encodeSegments([r],n)}static encodeSegments(t,n,r=1,i=40,a=-1,o=!0){if(!(e.MIN_VERSION<=r&&r<=i&&i<=e.MAX_VERSION)||a<-1||a>7)throw RangeError(`Invalid value`);let s,c;for(s=r;;s++){let r=e.getNumDataCodewords(s,n)*8,a=Y.getTotalBits(t,s);if(a<=r){c=a;break}if(s>=i)throw RangeError(`Data too long`)}for(let t of[e.Ecc.MEDIUM,e.Ecc.QUARTILE,e.Ecc.HIGH])o&&c<=e.getNumDataCodewords(s,t)*8&&(n=t);let l=[];for(let e of t){K(e.mode.modeBits,4,l),K(e.numChars,e.mode.numCharCountBits(s),l);for(let t of e.getData())l.push(t)}J(l.length==c);let u=e.getNumDataCodewords(s,n)*8;J(l.length<=u),K(0,Math.min(4,u-l.length),l),K(0,(8-l.length%8)%8,l),J(l.length%8==0);for(let e=236;l.length<u;e^=253)K(e,8,l);let d=[];for(;d.length*8<l.length;)d.push(0);return l.forEach((e,t)=>d[t>>>3]|=e<<7-(t&7)),new e(s,n,d,a)}version;errorCorrectionLevel;size;mask;modules=[];isFunction=[];constructor(t,n,r,i){if(this.version=t,this.errorCorrectionLevel=n,t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError(`Version value out of range`);if(i<-1||i>7)throw RangeError(`Mask value out of range`);this.size=t*4+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();let o=this.addEccAndInterleave(r);if(this.drawCodewords(o),i==-1){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let n=this.getPenaltyScore();n<e&&(i=t,e=n),this.applyMask(t)}}J(0<=i&&i<=7),this.mask=i,this.applyMask(i),this.drawFormatBits(i),this.isFunction=[]}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)n==0&&r==0||n==0&&r==t-1||n==t-1&&r==0||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,n=t;for(let e=0;e<10;e++)n=n<<1^(n>>>9)*1335;let r=(t<<10|n)^21522;J(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,q(r,e));this.setFunctionModule(8,7,q(r,6)),this.setFunctionModule(8,8,q(r,7)),this.setFunctionModule(7,8,q(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,q(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,q(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,q(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;J(t>>>18==0);for(let e=0;e<18;e++){let n=q(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;0<=a&&a<this.size&&0<=o&&o<this.size&&this.setFunctionModule(a,o,i!=2&&i!=4)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,Math.max(Math.abs(r),Math.abs(n))!=1)}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(t){let n=this.version,r=this.errorCorrectionLevel;if(t.length!=e.getNumDataCodewords(n,r))throw RangeError(`Invalid argument`);let i=e.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],a=e.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],o=Math.floor(e.getNumRawDataModules(n)/8),s=i-o%i,c=Math.floor(o/i),l=[],u=e.reedSolomonComputeDivisor(a);for(let n=0,r=0;n<i;n++){let i=t.slice(r,r+c-a+(n<s?0:1));r+=i.length;let o=e.reedSolomonComputeRemainder(i,u);n<s&&i.push(0),l.push(i.concat(o))}let d=[];for(let e=0;e<l[0].length;e++)l.forEach((t,n)=>{(e!=c-a||n>=s)&&d.push(t[e])});return J(d.length==o),d}drawCodewords(t){if(t.length!=Math.floor(e.getNumRawDataModules(this.version)/8))throw RangeError(`Invalid argument`);let n=0;for(let e=this.size-1;e>=1;e-=2){e==6&&(e=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){let a=e-i,o=e+1&2?r:this.size-1-r;!this.isFunction[o][a]&&n<t.length*8&&(this.modules[o][a]=q(t[n>>>3],7-(n&7)),n++)}}J(n==t.length*8)}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error(`Unreachable`)}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let t=0;for(let n=0;n<this.size;n++){let r=!1,i=0,a=[0,0,0,0,0,0,0];for(let o=0;o<this.size;o++)this.modules[n][o]===r?(i++,i==5?t+=e.PENALTY_N1:i>5&&t++):(this.finderPenaltyAddHistory(i,a),r||(t+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),r=this.modules[n][o],i=1);t+=this.finderPenaltyTerminateAndCount(r,i,a)*e.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,i=0,a=[0,0,0,0,0,0,0];for(let o=0;o<this.size;o++)this.modules[o][n]===r?(i++,i==5?t+=e.PENALTY_N1:i>5&&t++):(this.finderPenaltyAddHistory(i,a),r||(t+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),r=this.modules[o][n],i=1);t+=this.finderPenaltyTerminateAndCount(r,i,a)*e.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){let i=this.modules[n][r];i==this.modules[n][r+1]&&i==this.modules[n+1][r]&&i==this.modules[n+1][r+1]&&(t+=e.PENALTY_N2)}let n=0;for(let e of this.modules)n=e.reduce((e,t)=>e+ +!!t,n);let r=this.size*this.size,i=Math.ceil(Math.abs(n*20-r*10)/r)-1;return J(0<=i&&i<=9),t+=i*e.PENALTY_N4,J(0<=t&&t<=2568888),t}getAlignmentPatternPositions(){if(this.version==1)return[];{let e=Math.floor(this.version/7)+2,t=this.version==32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(t){if(t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError(`Version number out of range`);let n=(16*t+128)*t+64;if(t>=2){let e=Math.floor(t/7)+2;n-=(25*e-10)*e-55,t>=7&&(n-=36)}return J(208<=n&&n<=29648),n}static getNumDataCodewords(t,n){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t]}static reedSolomonComputeDivisor(t){if(t<1||t>255)throw RangeError(`Degree out of range`);let n=[];for(let e=0;e<t-1;e++)n.push(0);n.push(1);let r=1;for(let i=0;i<t;i++){for(let t=0;t<n.length;t++)n[t]=e.reedSolomonMultiply(n[t],r),t+1<n.length&&(n[t]^=n[t+1]);r=e.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(t,n){let r=n.map(e=>0);for(let i of t){let t=i^r.shift();r.push(0),n.forEach((n,i)=>r[i]^=e.reedSolomonMultiply(n,t))}return r}static reedSolomonMultiply(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return J(n>>>8==0),n}finderPenaltyCountPatterns(e){let t=e[1];J(t<=this.size*3);let n=t>0&&e[2]===t&&e[3]===t*3&&e[4]===t&&e[5]===t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]===0&&(e+=this.size),t.pop(),t.unshift(e)}static MIN_VERSION=1;static MAX_VERSION=40;static PENALTY_N1=3;static PENALTY_N2=3;static PENALTY_N3=40;static PENALTY_N4=10;static ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]];static NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]};function K(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function q(e,t){return(e>>>t&1)!=0}function J(e){if(!e)throw Error(`Assertion error`)}var Y=class e{static Mode;static makeBytes(t){let n=[];for(let e of t)K(e,8,n);return new e(e.Mode.BYTE,t.length,n)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError(`String contains non-numeric characters`);let n=[];for(let e=0;e<t.length;){let r=Math.min(t.length-e,3);K(parseInt(t.substring(e,e+r),10),r*3+1,n),e+=r}return new e(e.Mode.NUMERIC,t.length,n)}static makeAlphanumeric(t){if(!e.isAlphanumeric(t))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let n=[],r;for(r=0;r+2<=t.length;r+=2){let i=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r))*45;i+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),K(i,11,n)}return r<t.length&&K(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,n),new e(e.Mode.ALPHANUMERIC,t.length,n)}static makeSegments(t){return t==``?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let n=[];if(t<0)throw RangeError(`ECI assignment value out of range`);if(t<128)K(t,8,n);else if(t<16384)K(2,2,n),K(t,14,n);else if(t<1e6)K(6,3,n),K(t,21,n);else throw RangeError(`ECI assignment value out of range`);return new e(e.Mode.ECI,0,n)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}mode;numChars;bitData;constructor(e,t,n){if(this.mode=e,this.numChars=t,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(let r of e){let e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)e.charAt(n)==`%`?(t.push(parseInt(e.substring(n+1,n+3),16)),n+=2):t.push(e.charCodeAt(n));return t}static NUMERIC_REGEX=/^[0-9]*$/;static ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/;static ALPHANUMERIC_CHARSET=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`},Ve=class e{static LOW=new e(0,1);static MEDIUM=new e(1,0);static QUARTILE=new e(2,3);static HIGH=new e(3,2);ordinal;formatBits;constructor(e,t){this.ordinal=e,this.formatBits=t}},X=class e{static NUMERIC=new e(1,[10,12,14]);static ALPHANUMERIC=new e(2,[9,11,13]);static BYTE=new e(4,[8,16,16]);static KANJI=new e(8,[8,10,12]);static ECI=new e(7,[0,0,0]);modeBits;numBitsCharCount;constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};Be.Ecc=Ve,Y.Mode=X;var Z=y(),He={L:Be.Ecc.LOW,M:Be.Ecc.MEDIUM,Q:Be.Ecc.QUARTILE,H:Be.Ecc.HIGH};function Ue(e,t){let n=[];for(let r=0;r<e.size;r+=1){let i=-1;for(let a=0;a<=e.size;a+=1){if(a<e.size&&e.getModule(a,r)){i===-1&&(i=a);continue}i!==-1&&(n.push(`M${i+t} ${r+t}h${a-i}v1H${i+t}z`),i=-1)}}return n.join(``)}var We=(0,W.memo)(function(e){let t=(0,G.c)(38),{value:n,size:r,level:i,marginSize:a,title:o,className:s,foregroundColor:c,backgroundColor:l}=e,u=r===void 0?128:r,d=i===void 0?`L`:i,f=a===void 0?0:a,p=c===void 0?`#000`:c,m=l===void 0?`#fff`:l,h,g,_,v,y,b,x,S,C,w,T;if(t[0]!==m||t[1]!==s||t[2]!==d||t[3]!==f||t[4]!==u||t[5]!==o||t[6]!==n){let e=Be.encodeText(n,He[d]),r=e.size+f*2;C=`http://www.w3.org/2000/svg`,w=`0 0 ${r} ${r}`,T=u,h=u,g=`crispEdges`,_=o?`img`:void 0,v=o,y=s,t[18]===o?b=t[19]:(b=o?(0,Z.jsx)(`title`,{children:o}):null,t[18]=o,t[19]=b),t[20]!==m||t[21]!==r?(x=(0,Z.jsx)(`rect`,{width:r,height:r,fill:m}),t[20]=m,t[21]=r,t[22]=x):x=t[22],S=Ue(e,f),t[0]=m,t[1]=s,t[2]=d,t[3]=f,t[4]=u,t[5]=o,t[6]=n,t[7]=h,t[8]=g,t[9]=_,t[10]=v,t[11]=y,t[12]=b,t[13]=x,t[14]=S,t[15]=C,t[16]=w,t[17]=T}else h=t[7],g=t[8],_=t[9],v=t[10],y=t[11],b=t[12],x=t[13],S=t[14],C=t[15],w=t[16],T=t[17];let E;t[23]!==p||t[24]!==S?(E=(0,Z.jsx)(`path`,{d:S,fill:p}),t[23]=p,t[24]=S,t[25]=E):E=t[25];let D;return t[26]!==h||t[27]!==g||t[28]!==_||t[29]!==v||t[30]!==y||t[31]!==b||t[32]!==x||t[33]!==E||t[34]!==C||t[35]!==w||t[36]!==T?(D=(0,Z.jsxs)(`svg`,{xmlns:C,viewBox:w,width:T,height:h,shapeRendering:g,role:_,"aria-label":v,className:y,children:[b,x,E]}),t[26]=h,t[27]=g,t[28]=_,t[29]=v,t[30]=y,t[31]=b,t[32]=x,t[33]=E,t[34]=C,t[35]=w,t[36]=T,t[37]=D):D=t[37],D}),Ge=443,Ke=new Intl.DateTimeFormat(void 0,{dateStyle:`medium`,timeStyle:`short`});function qe(e){let t=new Date(e);return Number.isNaN(t.getTime())?e:Ke.format(t)}function Je(e){let t=(0,G.c)(21),{tooltipText:n,dotClassName:r,pingClassName:i}=e,a;t[0]===i?a=t[1]:(a=i?(0,Z.jsx)(`span`,{className:g(`absolute inline-flex h-full w-full animate-ping rounded-full`,i)}):null,t[0]=i,t[1]=a);let o;t[2]===r?o=t[3]:(o=g(`relative inline-flex size-2 rounded-full`,r),t[2]=r,t[3]=o);let s;t[4]===o?s=t[5]:(s=(0,Z.jsx)(`span`,{className:o}),t[4]=o,t[5]=s);let c;t[6]!==a||t[7]!==s?(c=(0,Z.jsxs)(Z.Fragment,{children:[a,s]}),t[6]=a,t[7]=s,t[8]=c):c=t[8];let l=c;if(!n){let e;return t[9]===l?e=t[10]:(e=(0,Z.jsx)(`span`,{className:`relative flex size-3 shrink-0 items-center justify-center`,children:l}),t[9]=l,t[10]=e),e}let u;t[11]!==l||t[12]!==n?(u=(0,Z.jsx)(`button`,{type:`button`,title:n,"aria-label":n,className:`relative flex size-3 shrink-0 cursor-help items-center justify-center rounded-full outline-hidden`,children:l}),t[11]=l,t[12]=n,t[13]=u):u=t[13];let d=u,f;t[14]===d?f=t[15]:(f=(0,Z.jsx)(_,{render:d}),t[14]=d,t[15]=f);let p;t[16]===n?p=t[17]:(p=(0,Z.jsx)(C,{side:`top`,className:`max-w-80 whitespace-pre-wrap leading-tight`,children:n}),t[16]=n,t[17]=p);let m;return t[18]!==f||t[19]!==p?(m=(0,Z.jsxs)(v,{children:[f,p]}),t[18]=f,t[19]=p,t[20]=m):m=t[20],m}function Ye(e,t,n){let r=e?.connectionState??`disconnected`;if(r===`connected`){let r=e?.connectedAt??t.lastConnectedAt;return r?`Connected for ${A(r,n)}`:null}return r===`connecting`?null:r===`error`?e?.lastError??`An unknown connection error occurred.`:t.lastConnectedAt?`Last connected at ${qe(t.lastConnectedAt)}`:`Not connected yet.`}function Xe(e){let t=e.username?`${e.username}@${e.hostname}`:e.hostname;return e.port?`${t}:${e.port}`:t}function Ze(e){let t=e.host.trim();if(t.length===0)throw Error(`SSH host or alias is required.`);let n=t,r=e.username.trim()||null,i=null,a=n.lastIndexOf(`@`);if(a>0){let e=n.slice(0,a).trim();n=n.slice(a+1).trim(),!r&&e.length>0&&(r=e)}let o=/^\[([^\]]+)\](?::(\d+))?$/u.exec(n);if(o)n=o[1].trim(),o[2]&&(i=Number.parseInt(o[2],10));else{let e=n.split(`:`);e.length===2&&/^\d+$/u.test(e[1]??``)&&(n=e[0].trim(),i=Number.parseInt(e[1],10))}let s=e.port.trim();if(s.length>0&&(i=Number.parseInt(s,10)),n.length===0)throw Error(`SSH host or alias is required.`);if(i!==null&&(!Number.isInteger(i)||i<=0||i>65535))throw Error(`SSH port must be between 1 and 65535.`);return{alias:n,hostname:n,username:r,port:i}}function Qe(e){let t=e.trim();if(!t)return null;try{let e=/^[a-zA-Z][a-zA-Z\d+.-]*:\/\//u.test(t)||t.startsWith(`//`)?t:`https://${t}`,n=new URL(e,window.location.origin),r=ye(n);if(r)return{host:r.host,pairingCode:r.token};let i=fe(n);return i?{host:n.origin,pairingCode:i}:null}catch{return null}}function $e(e){let t=Qe(e.host);if(t)return t;let n=e.host.trim(),r=e.pairingCode.trim();if(!n)throw Error(`Enter a backend host.`);if(!r)throw Error(`Enter a pairing code.`);return{host:n,pairingCode:r}}function et(e){let t=`Failed to connect SSH host.`;return(e instanceof Error?e.message:t).replace(/^Error invoking remote method 'desktop:ensure-ssh-environment':\s*/u,``).replace(/^Ssh[A-Za-z]+Error:\s*/u,``).trim()||t}var tt=`border-t border-border/60 px-4 py-4 first:border-t-0 sm:px-5`,nt=`border-t border-border/60 px-4 py-2.5 first:border-t-0 sm:px-5`,rt=`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`;function it(e){return tt}function at(e,t){return e===`endpoint-rail`?g(`relative border-t border-border/60 px-4 py-3 first:border-t-0 sm:px-5`,!t&&`bg-muted/20`):g(nt,!t&&`bg-muted/24`)}function ot(e){return[...e].toSorted((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime())}function st(e){return[...e].toSorted((e,t)=>e.current===t.current?e.connected===t.connected?new Date(t.issuedAt).getTime()-new Date(e.issuedAt).getTime():e.connected?-1:1:e.current?-1:1)}function ct(e){return{...e,createdAt:r(e.createdAt),expiresAt:r(e.expiresAt)}}function lt(e){return{...e,issuedAt:r(e.issuedAt),expiresAt:r(e.expiresAt),lastConnectedAt:e.lastConnectedAt===null?null:r(e.lastConnectedAt)}}function ut(e,t){let n=e.findIndex(e=>e.id===t.id);if(n===-1)return ot([...e,t]);let r=[...e];return r[n]=t,ot(r)}function dt(e,t){return e.filter(e=>e.id!==t)}function ft(e,t){let n=e.findIndex(e=>e.sessionId===t.sessionId);if(n===-1)return st([...e,t]);let r=[...e];return r[n]=t,st(r)}function pt(e,t){return e.filter(e=>e.sessionId!==t)}function mt(e,t){let n=e.filter(e=>e.status!==`unavailable`);if(t){let e=n.find(e=>gt(e)===t);if(e)return e}return n.find(e=>e.isDefault)??n.find(e=>e.reachability!==`loopback`)??n.find(e=>e.compatibility.hostedHttpsApp===`compatible`)??null}function ht(e){return e.id.startsWith(`tailscale-magicdns:`)}function gt(e){if(e.id.startsWith(`desktop-loopback:`))return`desktop-core:loopback:http`;if(e.id.startsWith(`desktop-lan:`))return`desktop-core:lan:http`;if(e.id.startsWith(`tailscale-ip:`))return`tailscale:ip:http`;if(ht(e))return`tailscale:magicdns:https`;let t=`unknown`;try{t=new URL(e.httpBaseUrl).protocol.replace(/:$/u,``)}catch{}return`${e.provider.id}:${e.reachability}:${t}:${e.label}`}function _t(e,t){return e.compatibility.hostedHttpsApp===`compatible`?ze(e.httpBaseUrl,t)??Re(e.httpBaseUrl,t):Re(e.httpBaseUrl,t)}function vt(e){return de(new URL(`/pair`,window.location.href),e).toString()}function Q(e){try{let t=new URL(e);return t.pathname===`/pair`&&t.searchParams.has(`host`)}catch{return!1}}var yt=(0,W.memo)(function(e){let t=(0,G.c)(146),{pairingLink:n,endpointUrl:r,endpoints:i,defaultEndpointKey:a,presentation:o,revokingPairingLinkId:s,onRevoke:c}=e,l=o===void 0?`current`:o,u=Ne(1e3),d;t[0]===n.expiresAt?d=t[1]:(d=new Date(n.expiresAt).getTime(),t[0]=n.expiresAt,t[1]=d);let f=d,[p,g]=(0,W.useState)(!1),_;t[2]===n.credential?_=t[3]:(_=vt(n.credential),t[2]=n.credential,t[3]=_);let v=_,y;t[4]!==r||t[5]!==n.credential?(y=r!=null&&r!==``?ze(r,n.credential):null,t[4]=r,t[5]=n.credential,t[6]=y):y=t[6];let x=y,C;if(t[7]!==a||t[8]!==i||t[9]!==n.credential){let e=mt(i,a);C=e?_t(e,n.credential):null,t[7]=a,t[8]=i,t[9]=n.credential,t[10]=C}else C=t[10];let w=C,A;if(t[11]!==i||t[12]!==n.credential){let e;t[14]===n.credential?e=t[15]:(e=e=>{let t=_t(e,n.credential);return{key:gt(e),label:e.label,url:t,detail:Q(t)?`Hosted app link`:`Backend pairing URL`}},t[14]=n.credential,t[15]=e),A=i.filter(kt).map(e),t[11]=i,t[12]=n.credential,t[13]=A}else A=t[13];let N=A,L;t[16]!==v||t[17]!==w||t[18]!==r||t[19]!==x||t[20]!==n.credential?(L=w??(r!=null&&r!==``?x??Re(r,n.credential):he(window.location.hostname)?null:v),t[16]=v,t[17]=w,t[18]=r,t[19]=x,t[20]=n.credential,t[21]=L):L=t[21];let R=L,z=R??n.credential,ce=R!==null&&Q(R),le=typeof window<`u`&&window.isSecureContext&&navigator.clipboard?.writeText!=null,ue;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(ue={onCopy:At,onError:(e,t)=>{g(!0),H.add(V({type:`error`,title:le?t===`hosted-link`?`Could not copy hosted app link`:t===`link`?`Could not copy pairing URL`:`Could not copy pairing code`:`Clipboard copy unavailable`,description:le?e.message:`Showing the full value instead.`}))}},t[22]=ue):ue=t[22];let{copyToClipboard:de}=se(ue),fe;t[23]===de?fe=t[24]:(fe=(e,t)=>{de(e,t)},t[23]=de,t[24]=fe);let pe=fe,me=jt,ge;t[25]!==pe||t[26]!==n.credential?(ge=()=>{pe(n.credential,`code`)},t[25]=pe,t[26]=n.credential,t[27]=ge):ge=t[27];let _e=ge,ve;t[28]!==pe||t[29]!==R?(ve=()=>{R&&pe(R,me(R))},t[28]=pe,t[29]=R,t[30]=ve):ve=t[30];let ye=ve,be;t[31]===n.expiresAt?be=t[32]:(be=qe(n.expiresAt),t[31]=n.expiresAt,t[32]=be);let xe=be,Se=n.role===`owner`?`Owner`:`Client`,Ce=n.label??`${Se} link`,Ee;t[33]!==a||t[34]!==N?(Ee=N.find(e=>e.key===a)??N[0]??null,t[33]=a,t[34]=N,t[35]=Ee):Ee=t[35];let De=Ee?.label??`URL`,Oe,ke,Ae,je,Me,Pe,Fe,U,Ie;if(t[36]!==pe||t[37]!==De||t[38]!==N||t[39]!==xe||t[40]!==f||t[41]!==_e||t[42]!==ye||t[43]!==p||t[44]!==u||t[45]!==n.createdAt||t[46]!==n.expiresAt||t[47]!==l||t[48]!==Ce||t[49]!==Se||t[50]!==R){Ie=Symbol.for(`react.early_return_sentinel`);bb0:{let e=N.filter(Mt),r=N.filter(Nt),i;t[60]!==pe||t[61]!==N?(i=(e,t)=>{let n=e===void 0?N:e,r=t===void 0?!0:t;return n.map(e=>(0,Z.jsx)(E,{onClick:()=>pe(e.url,me(e.url)),children:(0,Z.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,Z.jsx)(`span`,{className:`block truncate`,children:e.label}),r?(0,Z.jsx)(`span`,{className:`block truncate text-[11px] text-muted-foreground`,children:e.detail}):null]})},e.key))},t[60]=pe,t[61]=N,t[62]=i):i=t[62];let a=i,o;t[63]===_e?o=t[64]:(o=e=>(0,Z.jsx)(E,{onClick:_e,children:(0,Z.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,Z.jsx)(`span`,{className:`block truncate`,children:`Copy code`}),e===void 0||e?(0,Z.jsx)(`span`,{className:`block truncate text-[11px] text-muted-foreground`,children:`Token only`}):null]})}),t[63]=_e,t[64]=o);let s=o,c;t[65]===a?c=t[66]:(c=(e,t,n)=>t.length>0?(0,Z.jsxs)(Z.Fragment,{children:[n?(0,Z.jsx)(D,{}):null,(0,Z.jsxs)(S,{children:[(0,Z.jsx)(m,{children:e}),a(t,!1)]})]}):null,t[65]=a,t[66]=c);let d=c,_=t=>(0,Z.jsxs)(Z.Fragment,{children:[t?.codeFirst?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(S,{children:[(0,Z.jsx)(m,{children:`Pairing code`}),s(!1)]}),N.length>0?(0,Z.jsx)(D,{}):null]}):null,d(`Pairing URLs`,e,!1),d(`Hosted app link`,r,e.length>0),t?.codeFirst?null:(0,Z.jsxs)(Z.Fragment,{children:[N.length>0?(0,Z.jsx)(D,{}):null,(0,Z.jsxs)(S,{children:[(0,Z.jsx)(m,{children:`Pairing code`}),s(!1)]})]})]});if(f<=u){Ie=null;break bb0}t[67]===l?U=t[68]:(U=it(l),t[67]=l,t[68]=U),Pe=rt;let v;t[69]===n.createdAt?v=t[70]:(v=qe(n.createdAt),t[69]=n.createdAt,t[70]=v);let y=`Link created at ${v}`,x;t[71]===y?x=t[72]:(x=(0,Z.jsx)(Je,{tooltipText:y,dotClassName:`bg-amber-400`}),t[71]=y,t[72]=x);let C;t[73]===Ce?C=t[74]:(C=(0,Z.jsx)(`h3`,{className:`text-sm font-medium text-foreground`,children:Ce}),t[73]=Ce,t[74]=C);let w;t[75]===R?w=t[76]:(w=R?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(P,{openOnHover:!0,delay:250,closeDelay:100,render:(0,Z.jsx)(`button`,{type:`button`,className:`inline-flex size-4 shrink-0 items-center justify-center rounded-sm text-muted-foreground/50 outline-none hover:text-foreground`,"aria-label":`Show QR code`}),children:(0,Z.jsx)(Le,{"aria-hidden":!0,className:`size-3`})}),(0,Z.jsx)(ie,{side:`top`,align:`start`,tooltipStyle:!0,className:`w-max`,children:(0,Z.jsx)(We,{value:R,size:88,level:`M`,marginSize:2,title:`Pairing link — scan to open on another device`})})]}):null,t[75]=R,t[76]=w);let A;t[77]===w?A=t[78]:(A=(0,Z.jsx)(ne,{children:w}),t[77]=w,t[78]=A);let j;t[79]!==x||t[80]!==C||t[81]!==A?(j=(0,Z.jsxs)(`div`,{className:`flex min-h-5 items-center gap-1.5`,children:[x,C,A]}),t[79]=x,t[80]=C,t[81]=A,t[82]=j):j=t[82];let M;t[83]!==u||t[84]!==n.expiresAt?(M=te(n.expiresAt,u),t[83]=u,t[84]=n.expiresAt,t[85]=M):M=t[85];let F;t[86]!==Se||t[87]!==M?(F=[Se,M],t[86]=Se,t[87]=M,t[88]=F):F=t[88];let I=F.join(` · `),L;t[89]!==xe||t[90]!==I?(L=(0,Z.jsx)(`p`,{className:`text-xs text-muted-foreground`,title:xe,children:I}),t[89]=xe,t[90]=I,t[91]=L):L=t[91];let z;t[92]===R?z=t[93]:(z=R===null?(0,Z.jsx)(`p`,{className:`text-[11px] text-muted-foreground/70`,children:`Copy the token and pair from another client using this backend's reachable host.`}):null,t[92]=R,t[93]=z),t[94]!==j||t[95]!==L||t[96]!==z?(Fe=(0,Z.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-1`,children:[j,L,z]}),t[94]=j,t[95]=L,t[96]=z,t[97]=Fe):Fe=t[97],Me=`flex w-full shrink-0 items-center gap-2 sm:w-auto sm:justify-end`,Oe=oe,ke=p,Ae=g,je=le?(0,Z.jsx)(Z.Fragment,{children:R?(0,Z.jsxs)(Te,{"aria-label":`Copy selected endpoint`,children:[(0,Z.jsx)(b,{size:`xs`,variant:`outline`,className:`max-w-56`,title:`Copy pairing URL for: ${De}`,onClick:ye,children:(0,Z.jsxs)(`span`,{className:`truncate`,children:[`Copy pairing URL for: `,De]})}),(0,Z.jsx)(we,{}),(0,Z.jsxs)(T,{children:[(0,Z.jsx)(O,{render:(0,Z.jsx)(b,{size:`icon-xs`,variant:`outline`,"aria-label":`Choose endpoint to copy`}),children:(0,Z.jsx)(h,{className:`size-3.5`})}),(0,Z.jsx)(k,{align:`end`,className:`min-w-60`,children:_()})]})]}):(0,Z.jsx)(b,{size:`xs`,variant:`outline`,onClick:_e,children:`Copy code`})}):(0,Z.jsx)(ee,{render:(0,Z.jsx)(b,{size:`xs`,variant:`outline`}),children:R?`Show link`:`Show code`})}t[36]=pe,t[37]=De,t[38]=N,t[39]=xe,t[40]=f,t[41]=_e,t[42]=ye,t[43]=p,t[44]=u,t[45]=n.createdAt,t[46]=n.expiresAt,t[47]=l,t[48]=Ce,t[49]=Se,t[50]=R,t[51]=Oe,t[52]=ke,t[53]=Ae,t[54]=je,t[55]=Me,t[56]=Pe,t[57]=Fe,t[58]=U,t[59]=Ie}else Oe=t[51],ke=t[52],Ae=t[53],je=t[54],Me=t[55],Pe=t[56],Fe=t[57],U=t[58],Ie=t[59];if(Ie!==Symbol.for(`react.early_return_sentinel`))return Ie;let Be=R?ce?`Hosted app pairing link`:`Pairing link`:`Pairing code`,K;t[98]===Be?K=t[99]:(K=(0,Z.jsx)(M,{children:Be}),t[98]=Be,t[99]=K);let q=R?ce?`Clipboard copy is unavailable here. Open or manually copy this hosted app link on the device you want to connect.`:`Clipboard copy is unavailable here. Open or manually copy this full pairing URL on the device you want to connect.`:`Clipboard copy is unavailable here. Manually copy this code into another client.`,J;t[100]===q?J=t[101]:(J=(0,Z.jsx)(ae,{children:q}),t[100]=q,t[101]=J);let Y;t[102]!==K||t[103]!==J?(Y=(0,Z.jsxs)(j,{children:[K,J]}),t[102]=K,t[103]=J,t[104]=Y):Y=t[104];let Ve=R?4:3,X;t[105]!==z||t[106]!==Ve?(X=(0,Z.jsx)(B,{readOnly:!0,value:z,rows:Ve,className:`text-xs leading-relaxed`,onFocus:Pt,onClick:Ft}),t[105]=z,t[106]=Ve,t[107]=X):X=t[107];let He;t[108]===R?He=t[109]:(He=R?(0,Z.jsx)(`div`,{className:`flex justify-center rounded-xl border border-border/60 bg-muted/30 p-4`,children:(0,Z.jsx)(We,{value:R,size:132,level:`M`,marginSize:2,title:`Pairing link — scan to open on another device`})}):null,t[108]=R,t[109]=He);let Ue;t[110]!==X||t[111]!==He?(Ue=(0,Z.jsxs)(re,{className:`space-y-4`,children:[X,He]}),t[110]=X,t[111]=He,t[112]=Ue):Ue=t[112];let Ge;t[113]===Symbol.for(`react.memo_cache_sentinel`)?(Ge=(0,Z.jsx)(b,{variant:`outline`,onClick:()=>g(!1),children:`Done`}),t[113]=Ge):Ge=t[113];let Ke;t[114]===_e?Ke=t[115]:(Ke=le?(0,Z.jsx)(b,{variant:`outline`,size:`xs`,onClick:_e,children:`Copy code`}):null,t[114]=_e,t[115]=Ke);let Ye;t[116]===Ke?Ye=t[117]:(Ye=(0,Z.jsxs)(F,{variant:`bare`,children:[Ge,Ke]}),t[116]=Ke,t[117]=Ye);let Xe;t[118]!==Y||t[119]!==Ue||t[120]!==Ye?(Xe=(0,Z.jsxs)(I,{className:`max-w-md`,children:[Y,Ue,Ye]}),t[118]=Y,t[119]=Ue,t[120]=Ye,t[121]=Xe):Xe=t[121];let Ze;t[122]!==Oe||t[123]!==ke||t[124]!==Ae||t[125]!==je||t[126]!==Xe?(Ze=(0,Z.jsxs)(Oe,{open:ke,onOpenChange:Ae,children:[je,Xe]}),t[122]=Oe,t[123]=ke,t[124]=Ae,t[125]=je,t[126]=Xe,t[127]=Ze):Ze=t[127];let Qe=s===n.id,$e;t[128]!==c||t[129]!==n.id?($e=()=>void c(n.id),t[128]=c,t[129]=n.id,t[130]=$e):$e=t[130];let et=s===n.id?`Revoking…`:`Revoke`,tt;t[131]!==Qe||t[132]!==$e||t[133]!==et?(tt=(0,Z.jsx)(b,{size:`xs`,variant:`destructive-outline`,disabled:Qe,onClick:$e,children:et}),t[131]=Qe,t[132]=$e,t[133]=et,t[134]=tt):tt=t[134];let nt;t[135]!==Me||t[136]!==Ze||t[137]!==tt?(nt=(0,Z.jsxs)(`div`,{className:Me,children:[Ze,tt]}),t[135]=Me,t[136]=Ze,t[137]=tt,t[138]=nt):nt=t[138];let at;t[139]!==Pe||t[140]!==Fe||t[141]!==nt?(at=(0,Z.jsxs)(`div`,{className:Pe,children:[Fe,nt]}),t[139]=Pe,t[140]=Fe,t[141]=nt,t[142]=at):at=t[142];let ot;return t[143]!==U||t[144]!==at?(ot=(0,Z.jsx)(`div`,{className:U,children:at}),t[143]=U,t[144]=at,t[145]=ot):ot=t[145],ot}),bt=(0,W.memo)(function(e){let t=(0,G.c)(51),{clientSession:n,presentation:r,revokingClientSessionId:i,onRevokeSession:a}=e,o=r===void 0?`current`:r,s=Ne(1e3),c=n.current||n.connected,l=n.lastConnectedAt,u;t[0]!==c||t[1]!==l||t[2]!==s?(u=c?l?`Connected for ${A(l,s)}`:`Connected`:l?`Last connected at ${qe(l)}`:`Not connected yet.`,t[0]=c,t[1]=l,t[2]=s,t[3]=u):u=t[3];let d=u,f=n.role===`owner`?`Owner`:`Client`,p;t[4]===n.client.deviceType?p=t[5]:(p=n.client.deviceType===`unknown`?null:n.client.deviceType[0]?.toUpperCase()+n.client.deviceType.slice(1),t[4]=n.client.deviceType,t[5]=p);let m=n.client.os??null,h=n.client.browser??null,g=n.client.ipAddress??null,_;t[6]!==p||t[7]!==m||t[8]!==h||t[9]!==g?(_=[p,m,h,g].filter(It),t[6]=p,t[7]=m,t[8]=h,t[9]=g,t[10]=_):_=t[10];let v=_,y;t[11]!==n.client.browser||t[12]!==n.client.label||t[13]!==n.client.os||t[14]!==n.subject?(y=n.client.label??([n.client.os,n.client.browser].filter(Boolean).join(` · `)||n.subject),t[11]=n.client.browser,t[12]=n.client.label,t[13]=n.client.os,t[14]=n.subject,t[15]=y):y=t[15];let x=y,S;t[16]===o?S=t[17]:(S=it(o),t[16]=o,t[17]=S);let C=c?`bg-success`:`bg-muted-foreground/30`,w=c?`bg-success/60 duration-2000`:null,T;t[18]!==d||t[19]!==C||t[20]!==w?(T=(0,Z.jsx)(Je,{tooltipText:d,dotClassName:C,pingClassName:w}),t[18]=d,t[19]=C,t[20]=w,t[21]=T):T=t[21];let E;t[22]===x?E=t[23]:(E=(0,Z.jsx)(`h3`,{className:`text-sm font-medium text-foreground`,children:x}),t[22]=x,t[23]=E);let D;t[24]===n.current?D=t[25]:(D=n.current?(0,Z.jsx)(`span`,{className:`text-[10px] text-muted-foreground/80 rounded-md border border-border/50 bg-muted/50 px-1 py-0.5`,children:`This device`}):null,t[24]=n.current,t[25]=D);let O;t[26]!==T||t[27]!==E||t[28]!==D?(O=(0,Z.jsxs)(`div`,{className:`flex min-h-5 items-center gap-1.5`,children:[T,E,D]}),t[26]=T,t[27]=E,t[28]=D,t[29]=O):O=t[29];let k;t[30]!==v||t[31]!==f?(k=[f,...v],t[30]=v,t[31]=f,t[32]=k):k=t[32];let j=k.join(` · `),ee;t[33]===j?ee=t[34]:(ee=(0,Z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:j}),t[33]=j,t[34]=ee);let M;t[35]!==O||t[36]!==ee?(M=(0,Z.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-1`,children:[O,ee]}),t[35]=O,t[36]=ee,t[37]=M):M=t[37];let N;t[38]!==n.current||t[39]!==n.sessionId||t[40]!==a||t[41]!==i?(N=n.current?null:(0,Z.jsx)(b,{size:`xs`,variant:`destructive-outline`,disabled:i===n.sessionId,onClick:()=>void a(n.sessionId),children:i===n.sessionId?`Revoking…`:`Revoke`}),t[38]=n.current,t[39]=n.sessionId,t[40]=a,t[41]=i,t[42]=N):N=t[42];let P;t[43]===N?P=t[44]:(P=(0,Z.jsx)(`div`,{className:`flex w-full shrink-0 items-center gap-2 sm:w-auto sm:justify-end`,children:N}),t[43]=N,t[44]=P);let F;t[45]!==M||t[46]!==P?(F=(0,Z.jsxs)(`div`,{className:rt,children:[M,P]}),t[45]=M,t[46]=P,t[47]=F):F=t[47];let I;return t[48]!==F||t[49]!==S?(I=(0,Z.jsx)(`div`,{className:S,children:F}),t[48]=F,t[49]=S,t[50]=I):I=t[50],I}),xt=(0,W.memo)(function({clientSessions:e,isRevokingOtherClients:t,onRevokeOtherClients:n}){let[r,i]=(0,W.useState)(!1),[a,o]=(0,W.useState)(``),[s,c]=(0,W.useState)(!1),l=(0,W.useCallback)(async()=>{c(!0);try{await ge(a),o(``),i(!1)}catch(e){let t=e instanceof Error?e.message:`Failed to create pairing URL.`;H.add(V({type:`error`,title:`Could not create pairing URL`,description:t}))}finally{c(!1)}},[a]);return(0,Z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Z.jsx)(b,{size:`xs`,variant:`destructive-outline`,disabled:t||e.every(e=>e.current),onClick:()=>void n(),children:t?`Revoking…`:`Revoke others`}),(0,Z.jsxs)(oe,{open:r,onOpenChange:e=>{i(e),e||o(``)},children:[(0,Z.jsx)(ee,{render:(0,Z.jsxs)(b,{size:`xs`,variant:`default`,children:[(0,Z.jsx)(le,{className:`size-3`}),`Create link`]})}),(0,Z.jsxs)(I,{className:`max-w-sm`,children:[(0,Z.jsxs)(j,{children:[(0,Z.jsx)(M,{children:`Create pairing link`}),(0,Z.jsx)(ae,{children:`Generate a one-time link that another device can use to pair with this backend as an authorized client.`})]}),(0,Z.jsx)(re,{children:(0,Z.jsxs)(`label`,{className:`block`,children:[(0,Z.jsx)(`span`,{className:`mb-1.5 block text-xs font-medium text-foreground`,children:`Client label (optional)`}),(0,Z.jsx)(xe,{value:a,onChange:e=>o(e.target.value),placeholder:`e.g. Living room iPad`,disabled:s,autoFocus:!0})]})}),(0,Z.jsxs)(F,{variant:`bare`,children:[(0,Z.jsx)(b,{variant:`outline`,disabled:s,onClick:()=>i(!1),children:`Cancel`}),(0,Z.jsx)(b,{disabled:s,onClick:()=>void l(),children:s?`Creating…`:`Create link`})]})]})]})]})}),St=(0,W.memo)(function(e){let t=(0,G.c)(33),{endpointUrl:n,endpoints:r,defaultEndpointKey:i,presentation:a,isLoading:o,pairingLinks:s,clientSessions:c,revokingPairingLinkId:l,revokingClientSessionId:u,onRevokePairingLink:d,onRevokeClientSession:f}=e,p=a===void 0?`current`:a,m;if(t[0]!==i||t[1]!==n||t[2]!==r||t[3]!==d||t[4]!==s||t[5]!==p||t[6]!==l){let e;t[8]!==i||t[9]!==n||t[10]!==r||t[11]!==d||t[12]!==p||t[13]!==l?(e=e=>(0,Z.jsx)(yt,{pairingLink:e,endpointUrl:n,endpoints:r,defaultEndpointKey:i,presentation:p,revokingPairingLinkId:l,onRevoke:d},e.id),t[8]=i,t[9]=n,t[10]=r,t[11]=d,t[12]=p,t[13]=l,t[14]=e):e=t[14],m=s.map(e),t[0]=i,t[1]=n,t[2]=r,t[3]=d,t[4]=s,t[5]=p,t[6]=l,t[7]=m}else m=t[7];let h;if(t[15]!==c||t[16]!==f||t[17]!==p||t[18]!==u){let e;t[20]!==f||t[21]!==p||t[22]!==u?(e=e=>(0,Z.jsx)(bt,{clientSession:e,presentation:p,revokingClientSessionId:u,onRevokeSession:f},e.sessionId),t[20]=f,t[21]=p,t[22]=u,t[23]=e):e=t[23],h=c.map(e),t[15]=c,t[16]=f,t[17]=p,t[18]=u,t[19]=h}else h=t[19];let g;t[24]!==c.length||t[25]!==o||t[26]!==s.length||t[27]!==p?(g=s.length===0&&c.length===0&&!o?(0,Z.jsx)(`div`,{className:it(p),children:(0,Z.jsx)(`p`,{className:`text-xs text-muted-foreground/60`,children:`No pairing links or client sessions.`})}):null,t[24]=c.length,t[25]=o,t[26]=s.length,t[27]=p,t[28]=g):g=t[28];let _;return t[29]!==m||t[30]!==h||t[31]!==g?(_=(0,Z.jsxs)(Z.Fragment,{children:[m,h,g]}),t[29]=m,t[30]=h,t[31]=g,t[32]=_):_=t[32],_}),Ct=(0,W.memo)(function(e){let t=(0,G.c)(50),{endpoint:n,isDefault:r,presentation:i,onSetDefault:a,onSetupTailscaleServe:o,onDisableTailscaleServe:s,isUpdatingTailscaleServe:c}=e,l=i===void 0?`current`:i,u=n.status===`available`,d;t[0]===n?d=t[1]:(d=ht(n)&&n.status!==`available`,t[0]=n,t[1]=d);let f=d,p;t[2]===n?p=t[3]:(p=ht(n)&&n.status===`available`,t[2]=n,t[3]=p);let m=p,h=!f,g=l===`endpoint-rail`,_;t[4]!==u||t[5]!==l?(_=at(l,u),t[4]=u,t[5]=l,t[6]=_):_=t[6];let v;t[7]!==r||t[8]!==g?(v=g&&r?(0,Z.jsx)(`span`,{className:`absolute inset-y-2 left-0 w-1 rounded-r-full bg-primary`,"aria-hidden":!0}):null,t[7]=r,t[8]=g,t[9]=v):v=t[9];let y;t[10]===n.label?y=t[11]:(y=(0,Z.jsx)(`h3`,{className:`shrink-0 text-sm leading-5 font-medium text-foreground`,children:n.label}),t[10]=n.label,t[11]=y);let x;t[12]!==n.httpBaseUrl||t[13]!==h?(x=h?(0,Z.jsx)(`p`,{className:`min-w-0 truncate text-xs leading-5 text-muted-foreground`,title:n.httpBaseUrl,children:n.httpBaseUrl}):null,t[12]=n.httpBaseUrl,t[13]=h,t[14]=x):x=t[14];let S;t[15]===u?S=t[16]:(S=u?null:(0,Z.jsx)(`span`,{className:`shrink-0 rounded-md border border-border/70 px-1 py-0.5 text-[10px] text-muted-foreground`,children:`Setup required`}),t[15]=u,t[16]=S);let C;t[17]!==y||t[18]!==x||t[19]!==S?(C=(0,Z.jsxs)(`div`,{className:`flex min-w-0 items-baseline gap-3`,children:[y,x,S]}),t[17]=y,t[18]=x,t[19]=S,t[20]=C):C=t[20];let w;t[21]===r?w=t[22]:(w=r?(0,Z.jsx)(`span`,{className:`rounded-md border border-primary/30 bg-primary/10 px-1 py-0.5 text-[10px] text-primary`,children:`Default`}):null,t[21]=r,t[22]=w);let T;t[23]!==n||t[24]!==c||t[25]!==f||t[26]!==o?(T=f?(0,Z.jsx)(b,{size:`xs`,variant:`outline`,onClick:()=>o(n),disabled:c,children:c?`Restarting…`:`Setup`}):null,t[23]=n,t[24]=c,t[25]=f,t[26]=o,t[27]=T):T=t[27];let E;t[28]!==m||t[29]!==n||t[30]!==c||t[31]!==s?(E=m?(0,Z.jsx)(b,{size:`xs`,variant:`destructive-outline`,onClick:()=>s(n),disabled:c,children:c?`Restarting…`:`Disable`}):null,t[28]=m,t[29]=n,t[30]=c,t[31]=s,t[32]=E):E=t[32];let D;t[33]!==n||t[34]!==r||t[35]!==f||t[36]!==a?(D=!f&&!r?(0,Z.jsx)(b,{size:`xs`,variant:`outline`,onClick:()=>a(n),children:`Set as default`}):null,t[33]=n,t[34]=r,t[35]=f,t[36]=a,t[37]=D):D=t[37];let O;t[38]!==w||t[39]!==T||t[40]!==E||t[41]!==D?(O=(0,Z.jsxs)(`div`,{className:`ml-auto flex min-h-6 shrink-0 items-center justify-end gap-2`,children:[w,T,E,D]}),t[38]=w,t[39]=T,t[40]=E,t[41]=D,t[42]=O):O=t[42];let k;t[43]!==O||t[44]!==C?(k=(0,Z.jsxs)(`div`,{className:`flex min-h-6 min-w-0 flex-col gap-2 sm:-my-0.5 sm:flex-row sm:items-center`,children:[C,O]}),t[43]=O,t[44]=C,t[45]=k):k=t[45];let A;return t[46]!==k||t[47]!==_||t[48]!==v?(A=(0,Z.jsxs)(`div`,{className:_,children:[v,k]}),t[46]=k,t[47]=_,t[48]=v,t[49]=A):A=t[49],A});function wt(e){let t=(0,G.c)(14),{endpoint:n,hiddenEndpointCount:r,expanded:i,onToggleExpanded:a,fallback:o}=e;if(!n)return o;let s;t[0]===n.httpBaseUrl?s=t[1]:(s=(0,Z.jsx)(`span`,{className:`min-w-0 truncate`,children:n.httpBaseUrl}),t[0]=n.httpBaseUrl,t[1]=s);let c;t[2]!==i||t[3]!==r?(c=r>0?(0,Z.jsx)(`span`,{className:`shrink-0 text-xs font-medium`,children:i?`Hide`:`+${r}`}):null,t[2]=i,t[3]=r,t[4]=c):c=t[4];let l;t[5]!==s||t[6]!==c?(l=(0,Z.jsxs)(Z.Fragment,{children:[s,c]}),t[5]=s,t[6]=c,t[7]=l):l=t[7];let u=l,d;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Z.jsx)(`span`,{className:`shrink-0`,children:`Reachable at`}),t[8]=d):d=t[8];let f;return t[9]!==i||t[10]!==r||t[11]!==a||t[12]!==u?(f=(0,Z.jsxs)(`span`,{className:`inline-flex min-w-0 max-w-full items-baseline gap-1`,children:[d,r>0?(0,Z.jsx)(`button`,{type:`button`,className:`inline-flex min-w-0 max-w-full items-baseline gap-2 border-b border-dotted border-muted-foreground/60 text-left text-muted-foreground underline-offset-4 hover:border-foreground hover:text-foreground`,onClick:a,"aria-expanded":i,children:u}):(0,Z.jsx)(`span`,{className:`inline-flex min-w-0 max-w-full items-baseline gap-2`,children:u})]}),t[9]=i,t[10]=r,t[11]=a,t[12]=u,t[13]=f):f=t[13],f}function Tt(e){let t=(0,G.c)(57),{environmentId:n,reconnectingEnvironmentId:r,disconnectingEnvironmentId:a,removingEnvironmentId:o,onConnect:s,onDisconnect:c,onRemove:l}=e,d=Ne(1e3),f;t[0]===n?f=t[1]:(f=e=>e.byId[n]??null,t[0]=n,t[1]=f);let m=i(f),h;t[2]===n?h=t[3]:(h=e=>e.byId[n]??null,t[2]=n,t[3]=h);let g=u(h);if(!m)return null;let _=g?.connectionState??`disconnected`,v=_===`connected`,y=_===`connecting`||r===n,x=a===n,S=_===`connected`?`bg-success`:_===`connecting`?`bg-warning`:_===`error`?`bg-destructive`:`bg-muted-foreground/40`,C=g?.role?g.role===`owner`?`Owner`:`Client`:null,w=g?.descriptor?.label??null??m.label,T;t[4]!==d||t[5]!==m||t[6]!==g?(T=Ye(g,m,d),t[4]=d,t[5]=m,t[6]=g,t[7]=T):T=t[7];let E=T,D=g?.serverConfig,O;t[8]===D?O=t[9]:(O=p(D),t[8]=D,t[9]=O);let k=O,A;t[10]===m.desktopSsh?A=t[11]:(A=m.desktopSsh?`SSH ${Xe(m.desktopSsh)}`:null,t[10]=m.desktopSsh,t[11]=A);let j;t[12]===m.lastConnectedAt?j=t[13]:(j=m.lastConnectedAt?`Last connected ${qe(m.lastConnectedAt)}`:null,t[12]=m.lastConnectedAt,t[13]=j);let ee;t[14]!==C||t[15]!==A||t[16]!==j?(ee=[A,C,j].filter(Et),t[14]=C,t[15]=A,t[16]=j,t[17]=ee):ee=t[17];let M=ee,N=_===`connecting`?`bg-warning/60 duration-2000`:null,P;t[18]!==S||t[19]!==E||t[20]!==N?(P=(0,Z.jsx)(Je,{tooltipText:E,dotClassName:S,pingClassName:N}),t[18]=S,t[19]=E,t[20]=N,t[21]=P):P=t[21];let F;t[22]===w?F=t[23]:(F=(0,Z.jsx)(`h3`,{className:`text-sm font-medium text-foreground`,children:w}),t[22]=w,t[23]=F);let I;t[24]!==P||t[25]!==F?(I=(0,Z.jsxs)(`div`,{className:`flex min-h-5 items-center gap-1.5`,children:[P,F]}),t[24]=P,t[25]=F,t[26]=I):I=t[26];let te;t[27]===M?te=t[28]:(te=M.length>0?(0,Z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:M.join(` · `)}):null,t[27]=M,t[28]=te);let ne;t[29]===k?ne=t[30]:(ne=k?(0,Z.jsxs)(`p`,{className:`flex items-center gap-1 text-warning text-xs`,children:[(0,Z.jsx)(ce,{className:`size-3.5 shrink-0`}),`Version drift: client `,k.clientVersion,`, server`,` `,k.serverVersion,`.`]}):null,t[29]=k,t[30]=ne);let L;t[31]!==I||t[32]!==te||t[33]!==ne?(L=(0,Z.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-1`,children:[I,te,ne]}),t[31]=I,t[32]=te,t[33]=ne,t[34]=L):L=t[34];let R=v?x:y,z;t[35]!==n||t[36]!==v||t[37]!==s||t[38]!==c?(z=()=>void(v?c(n):s(n)),t[35]=n,t[36]=v,t[37]=s,t[38]=c,t[39]=z):z=t[39];let B=v?x?`Disconnecting…`:`Disconnect`:y?`Connecting…`:`Connect`,re;t[40]!==R||t[41]!==z||t[42]!==B?(re=(0,Z.jsx)(b,{size:`xs`,variant:`outline`,disabled:R,onClick:z,children:B}),t[40]=R,t[41]=z,t[42]=B,t[43]=re):re=t[43];let ie=o===n,ae;t[44]!==n||t[45]!==l?(ae=()=>void l(n),t[44]=n,t[45]=l,t[46]=ae):ae=t[46];let oe=o===n?`Removing…`:`Remove`,V;t[47]!==ie||t[48]!==ae||t[49]!==oe?(V=(0,Z.jsx)(b,{size:`xs`,variant:`destructive-outline`,disabled:ie,onClick:ae,children:oe}),t[47]=ie,t[48]=ae,t[49]=oe,t[50]=V):V=t[50];let H;t[51]!==re||t[52]!==V?(H=(0,Z.jsxs)(`div`,{className:`flex w-full shrink-0 items-center gap-2 sm:w-auto sm:justify-end`,children:[re,V]}),t[51]=re,t[52]=V,t[53]=H):H=t[53];let se;return t[54]!==L||t[55]!==H?(se=(0,Z.jsx)(`div`,{className:tt,children:(0,Z.jsxs)(`div`,{className:rt,children:[L,H]})}),t[54]=L,t[55]=H,t[56]=se):se=t[56],se}function Et(e){return e!==null}var Dt=(0,W.memo)(function(e){let t=(0,G.c)(24),{target:n,connectingHostAlias:r,onConnect:i}=e,a;t[0]===n?a=t[1]:(a=Xe(n),t[0]=n,t[1]=a);let o=a,s=o!==n.alias,c=r===n.alias?`Adding…`:`Add environment`,l;t[2]===n.alias?l=t[3]:(l=(0,Z.jsx)(`h3`,{className:`truncate text-sm font-medium text-foreground`,children:n.alias}),t[2]=n.alias,t[3]=l);let u;t[4]!==o||t[5]!==s?(u=s?(0,Z.jsx)(`p`,{className:`truncate text-xs text-muted-foreground`,children:o}):null,t[4]=o,t[5]=s,t[6]=u):u=t[6];let d;t[7]!==l||t[8]!==u?(d=(0,Z.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[l,u]}),t[7]=l,t[8]=u,t[9]=d):d=t[9];let f=r===n.alias,p;t[10]!==i||t[11]!==n?(p=()=>i(n),t[10]=i,t[11]=n,t[12]=p):p=t[12];let m;t[13]!==r||t[14]!==n.alias?(m=r===n.alias?(0,Z.jsx)(ue,{className:`size-3 animate-spin`}):null,t[13]=r,t[14]=n.alias,t[15]=m):m=t[15];let h;t[16]!==c||t[17]!==f||t[18]!==p||t[19]!==m?(h=(0,Z.jsx)(`div`,{className:`flex w-full shrink-0 items-center gap-2 sm:w-auto sm:justify-end`,children:(0,Z.jsxs)(b,{size:`xs`,variant:`outline`,disabled:f,onClick:p,children:[m,c]})}),t[16]=c,t[17]=f,t[18]=p,t[19]=m,t[20]=h):h=t[20];let g;return t[21]!==d||t[22]!==h?(g=(0,Z.jsx)(`div`,{className:`border-t border-border/60 px-4 py-3 first:border-t-0 sm:px-5`,children:(0,Z.jsxs)(`div`,{className:rt,children:[d,h]})}),t[21]=d,t[22]=h,t[23]=g):g=t[23],g});function Ot(){let e=window.desktopBridge,[t,n]=(0,W.useState)(e?`owner`:null),[r,u]=(0,W.useState)(null),m=i(e=>e.byId),h=(0,W.useMemo)(()=>Object.values(m).toSorted((e,t)=>e.label.localeCompare(t.label)).map(e=>e.environmentId),[m]),y=(0,W.useMemo)(()=>Object.values(m).reduce((e,t)=>(t.desktopSsh?.alias&&(e[t.desktopSsh.alias]=t),e),{}),[m]),x=(0,W.useMemo)(()=>{let e=new Set;for(let t of Object.values(m)){let n=t.desktopSsh;n&&(e.add(n.alias),e.add(Xe(n)))}return e},[m]),[S,T]=(0,W.useState)([]),[E,D]=(0,W.useState)(!1),[O,k]=(0,W.useState)(!1),[A,P]=(0,W.useState)(null),[te,ne]=(0,W.useState)(null),[B,ie]=(0,W.useState)(null),[se,de]=(0,W.useState)([]),[fe,he]=(0,W.useState)(null),[ge,ye]=(0,W.useState)([]),[be,we]=(0,W.useState)([]),[Te,Ne]=(0,W.useState)(null),[Le,G]=(0,W.useState)(!1),[Re,ze]=(0,W.useState)(null),[Be,K]=(0,W.useState)(null),[q,J]=(0,W.useState)(!1),[Y,Ve]=(0,W.useState)(!1),[X,He]=(0,W.useState)(`remote`),[Ue,We]=(0,W.useState)(``),[Ke,qe]=(0,W.useState)(``),[Je,Ye]=(0,W.useState)(``),[nt,rt]=(0,W.useState)(``),[at,_t]=(0,W.useState)(``),[vt,Q]=(0,W.useState)(null),[yt,bt]=(0,W.useState)(!1),Et=(0,W.useMemo)(()=>S.filter(e=>{let t=Xe(e);return!x.has(e.alias)&&!x.has(t)}),[S,x]),[Ot,kt]=(0,W.useState)(null),[At,jt]=(0,W.useState)(null),[Mt,Nt]=(0,W.useState)(null),[Pt,Ft]=(0,W.useState)(!1),[It,Lt]=(0,W.useState)(!1),[Rt,zt]=(0,W.useState)(!1),[Bt,Vt]=(0,W.useState)(null),[Ht,Ut]=(0,W.useState)(!1),[Wt,Gt]=(0,W.useState)(String(Ge)),[Kt,qt]=(0,W.useState)(null),Jt=p(a()),[Yt,Xt]=(0,W.useState)(!1),Zt=w(e=>e.defaultAdvertisedEndpointKey),Qt=w(e=>e.setDefaultAdvertisedEndpointKey),$t=t===`owner`,en=e?B?.mode===`network-accessible`:r===`remote-reachable`,tn=Wt.trim(),nn=Number(tn),rn=/^\d+$/u.test(tn)&&Number.isInteger(nn)&&nn>=1&&nn<=65535,an=(0,W.useMemo)(()=>{if(!Bt)return null;if(!rn||nn===Ge)return Bt.httpBaseUrl;try{let e=new URL(Bt.httpBaseUrl);return e.port=String(nn),e.toString().replace(/\/$/u,``)}catch{return Bt.httpBaseUrl}},[rn,nn,Bt]),on=(0,W.useCallback)(async t=>{if(e){Ft(!0),he(null);try{ie(await e.setServerExposureMode(t?`network-accessible`:`local-only`)),Lt(!1),Ft(!1)}catch(e){let t=e instanceof Error?e.message:`Failed to update network exposure.`;Lt(!1),he(t),H.add(V({type:`error`,title:`Could not update network access`,description:t})),Ft(!1)}}},[e]),sn=(0,W.useCallback)(()=>{Kt!==null&&on(Kt===`network-accessible`)},[on,Kt]),cn=(0,W.useCallback)(async()=>{if(e&&rn){zt(!0),he(null);try{ie(await e.setTailscaleServeEnabled({enabled:!0,port:nn})),Vt(null)}catch(e){let t=e instanceof Error?e.message:`Failed to configure Tailscale HTTPS.`;he(t),H.add(V({type:`error`,title:`Could not set up Tailscale HTTPS`,description:t}))}finally{zt(!1)}}},[e,rn,nn]),ln=(0,W.useCallback)(e=>{Gt(String(B?.tailscaleServePort??Ge)),Vt(e)},[B?.tailscaleServePort]),un=(0,W.useCallback)(async()=>{if(e){zt(!0),he(null);try{ie(await e.setTailscaleServeEnabled({enabled:!1,port:B?.tailscaleServePort??Ge})),Ut(!1)}catch(e){let t=e instanceof Error?e.message:`Failed to disable Tailscale HTTPS.`;he(t),H.add(V({type:`error`,title:`Could not disable Tailscale HTTPS`,description:t}))}finally{zt(!1)}}},[e,B?.tailscaleServePort]),dn=(0,W.useCallback)(e=>{Ut(!0)},[]),fn=(0,W.useCallback)(async e=>{ze(e),Ne(null);try{await me(e)}catch(e){let t=e instanceof Error?e.message:`Failed to revoke pairing link.`;Ne(t),H.add(V({type:`error`,title:`Could not revoke pairing link`,description:t}))}finally{ze(null)}},[]),pn=(0,W.useCallback)(async e=>{K(e),Ne(null);try{await pe(e)}catch(e){let t=e instanceof Error?e.message:`Failed to revoke client access.`;Ne(t),H.add(V({type:`error`,title:`Could not revoke client access`,description:t}))}finally{K(null)}},[]),mn=(0,W.useCallback)(async()=>{J(!0),Ne(null);try{let e=await ve();H.add({type:`success`,title:e===1?`Revoked 1 other client`:`Revoked ${e} clients`,description:`Other paired clients will need a new pairing link before reconnecting.`})}catch(e){let t=e instanceof Error?e.message:`Failed to revoke other clients.`;Ne(t),H.add(V({type:`error`,title:`Could not revoke other clients`,description:t}))}finally{J(!1)}},[]),hn=(0,W.useCallback)(async()=>{if(X===`ssh`){bt(!0),Q(null);try{let e=await o(Ze({host:Je,username:nt,port:at}),{label:``});We(``),qe(``),Ye(``),rt(``),_t(``),Ve(!1),H.add({type:`success`,title:`Environment connected`,description:`${e.label} is ready over an SSH-managed tunnel.`})}catch(e){Q(et(e))}finally{bt(!1)}return}bt(!0),Q(null);try{let e=await l({label:``,...$e({host:Ue,pairingCode:Ke})});We(``),qe(``),Ye(``),rt(``),_t(``),Ve(!1),H.add({type:`success`,title:`Backend added`,description:`${e.label} is now saved and will reconnect on app startup.`})}catch(e){let t=e instanceof Error?e.message:`Failed to add backend.`;Q(t),H.add(V({type:`error`,title:`Could not add backend`,description:t}))}finally{bt(!1)}},[Ue,X,Ke,Je,at,nt]),gn=(0,W.useCallback)(async e=>{kt(e),Q(null);try{await f(e)}catch(e){let t=e instanceof Error?e.message:`Failed to connect backend.`;Q(t),H.add(V({type:`error`,title:`Could not connect backend`,description:t}))}finally{kt(null)}},[]),_n=(0,W.useCallback)(async e=>{jt(e),Q(null);try{await d(e)}catch(e){let t=e instanceof Error?e.message:`Failed to disconnect backend.`;Q(t),H.add(V({type:`error`,title:`Could not disconnect backend`,description:t}))}finally{jt(null)}},[]),vn=(0,W.useCallback)(async e=>{Nt(e),Q(null);try{await c(e)}catch(e){let t=e instanceof Error?e.message:`Failed to remove backend.`;Q(t),H.add(V({type:`error`,title:`Could not remove backend`,description:t}))}finally{Nt(null)}},[]),yn=(0,W.useCallback)(async()=>{if(!e){T([]),D(!1),P(null);return}k(!0),P(null);try{T(await e.discoverSshHosts()),D(!0)}catch(e){P(e instanceof Error?e.message:`Failed to discover SSH hosts.`),D(!0)}finally{k(!1)}},[e]),bn=(0,W.useCallback)(async(e,t)=>{ne(e.alias),X===`ssh`?Q(null):P(null);try{let n=await o(e,t===void 0?void 0:{label:t});Ye(``),rt(``),_t(``),Ve(!1),H.add({type:`success`,title:y[e.alias]?`Environment reconnected`:`Environment connected`,description:`${n.label} is ready over an SSH-managed tunnel.`})}catch(e){let t=et(e);X===`ssh`?Q(t):P(t)}finally{ne(null)}},[X,y]);(0,W.useEffect)(()=>{!e||!Y||X!==`ssh`||E||O||yn()},[Y,e,E,O,yn,X]),(0,W.useEffect)(()=>{if(e){n(`owner`);return}let t=!1;return _e().then(e=>{t||(n(e.authenticated?e.role??null:null),u(e.auth.policy))}).catch(()=>{t||(n(null),u(null))}),()=>{t=!0}},[e]),(0,W.useEffect)(()=>{if(!$t)return;let t=!1;G(!0);let n=s().client.server.subscribeAuthAccess(e=>{if(!t){switch(e.type){case`snapshot`:ye(ot(e.payload.pairingLinks.map(e=>ct(e)))),we(st(e.payload.clientSessions.map(e=>lt(e))));break;case`pairingLinkUpserted`:ye(t=>ut(t,ct(e.payload)));break;case`pairingLinkRemoved`:ye(t=>dt(t,e.payload.id));break;case`clientUpserted`:we(t=>ft(t,lt(e.payload)));break;case`clientRemoved`:we(t=>pt(t,e.payload.sessionId));break}Ne(null),G(!1)}},{onResubscribe:()=>{t||G(!0)}});return e?(e.getServerExposureState().then(e=>{t||ie(e)}).catch(e=>{t||he(e instanceof Error?e.message:`Failed to load network exposure state.`)}),e.getAdvertisedEndpoints().then(e=>{t||de(e)}).catch(e=>{t||he(e instanceof Error?e.message:`Failed to load reachable endpoints.`)})):(ie(null),de([]),he(null)),()=>{t=!0,n()}},[$t,e]),(0,W.useEffect)(()=>{$t||(G(!1),ye([]),we([]),Ne(null),ie(null),de([]),he(null))},[$t]);let xn=(0,W.useMemo)(()=>ge.filter(e=>e.role===`client`),[ge]),$=(0,W.useMemo)(()=>se.find(ht)??null,[se]),Sn=(0,W.useMemo)(()=>en?se.filter(e=>!ht(e)):[],[se,en]),Cn=(0,W.useMemo)(()=>$?[...Sn,$]:Sn,[$,Sn]),wn=en||$?.status===`available`,Tn=(0,W.useMemo)(()=>mt(Sn,Zt),[Zt,Sn]),En=(0,W.useMemo)(()=>Tn??mt($?[$]:[],Zt),[Zt,Tn,$]),Dn=En?gt(En):null,On=(0,W.useCallback)(e=>{Qt(gt(e))},[Qt]),kn=(0,W.useCallback)(e=>{let t=Qe(e);if(t){We(t.host),qe(t.pairingCode);return}We(e)},[]),An=e=>{let t=X===e.mode;return(0,Z.jsxs)(`button`,{type:`button`,"aria-pressed":t,className:g(`group flex min-h-24 items-start gap-3 rounded-lg border p-4 text-left`,t?`border-primary/50 bg-primary/5`:`border-border/60 hover:bg-muted/40`),disabled:yt,onClick:()=>{He(e.mode)},children:[e.icon?(0,Z.jsx)(`span`,{className:g(`mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-md border`,t?`border-primary/30 bg-primary/10 text-primary`:`border-border/70 bg-background text-muted-foreground group-hover:text-foreground`),children:e.icon}):null,(0,Z.jsxs)(`span`,{className:`min-w-0`,children:[(0,Z.jsx)(`span`,{className:`block text-sm font-medium text-foreground`,children:e.title}),(0,Z.jsx)(`span`,{className:`mt-1 block text-xs leading-relaxed text-muted-foreground`,children:e.description})]})]})};return(0,Z.jsxs)(Fe,{children:[$t?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(Pe,{title:`Manage local backend`,children:[Jt?(0,Z.jsx)(U,{title:`Version drift`,description:(0,Z.jsxs)(`span`,{className:`flex items-center gap-1 text-warning`,children:[(0,Z.jsx)(ce,{className:`size-3.5 shrink-0`}),`Client `,Jt.clientVersion,`, server`,` `,Jt.serverVersion,`. Sync them if RPC calls or reconnects fail.`]})}):null,e?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(U,{title:`Network access`,description:en?(0,Z.jsx)(wt,{endpoint:Tn,hiddenEndpointCount:Math.max(Sn.length-1,0),expanded:Yt,onToggleExpanded:()=>Xt(e=>!e),fallback:B?.endpointUrl?`Reachable at ${B.endpointUrl}`:B?.advertisedHost?`Exposed on all interfaces. Pairing links use ${B.advertisedHost}.`:`Exposed on all interfaces.`}):B?`Limited to this machine.`:`Loading…`,status:fe?(0,Z.jsx)(`span`,{className:`block text-destructive`,children:fe}):null,control:(0,Z.jsx)(R,{checked:B?.mode===`network-accessible`,disabled:!B||Pt,onCheckedChange:e=>{qt(e?`network-accessible`:`local-only`),Lt(!0)},"aria-label":`Enable network access`})}),(e=>Yt?Sn.map(t=>(0,Z.jsx)(Ct,{endpoint:t,isDefault:gt(t)===Dn,presentation:e,onSetDefault:On,onSetupTailscaleServe:ln,onDisableTailscaleServe:dn,isUpdatingTailscaleServe:Rt},t.id)):null)(`endpoint-rail`),(0,Z.jsx)(U,{title:`Tailscale HTTPS`,description:$?$.status===`available`?$.httpBaseUrl:`Use Tailscale Serve to expose this backend through a MagicDNS HTTPS URL.`:`Start Tailscale to set up HTTPS access through MagicDNS.`,control:$?(0,Z.jsx)(R,{checked:$.status===`available`,disabled:Rt,onCheckedChange:e=>{if(e){ln($);return}dn($)},"aria-label":`Enable Tailscale HTTPS`}):null})]}):(0,Z.jsx)(U,{title:`Network access`,description:r===`remote-reachable`?`This backend is already configured for remote access. Network exposure changes must be made where the server is launched.`:`This backend is only reachable on this machine. Restart it with a non-loopback host to enable remote pairing.`,control:(0,Z.jsxs)(v,{children:[(0,Z.jsx)(_,{render:(0,Z.jsx)(`span`,{className:`inline-flex`,children:(0,Z.jsx)(R,{checked:en,disabled:!0,"aria-label":`Enable network access`})})}),(0,Z.jsx)(C,{side:`top`,children:`Network exposure changes restart the backend and must be controlled where the server process is launched.`})]})})]}),wn?(0,Z.jsx)(Pe,{title:`Authorized clients`,headerAction:(0,Z.jsx)(xt,{clientSessions:be,isRevokingOtherClients:q,onRevokeOtherClients:mn}),children:(e=>(0,Z.jsxs)(Z.Fragment,{children:[Te?(0,Z.jsx)(`div`,{className:it(e),children:(0,Z.jsx)(`p`,{className:`text-xs text-destructive`,children:Te})}):null,(0,Z.jsx)(St,{endpointUrl:B?.endpointUrl,endpoints:Cn,defaultEndpointKey:Dn,presentation:e,isLoading:Le,pairingLinks:xn,clientSessions:be,revokingPairingLinkId:Re,revokingClientSessionId:Be,onRevokePairingLink:fn,onRevokeClientSession:pn})]}))(`current`)}):null,(0,Z.jsx)(Me,{open:It,onOpenChange:e=>{Pt||Lt(e)},onOpenChangeComplete:e=>{e||qt(null)},children:(0,Z.jsxs)(ke,{children:[(0,Z.jsxs)(Ee,{children:[(0,Z.jsx)(je,{children:Kt===`network-accessible`?`Enable network access?`:`Disable network access?`}),(0,Z.jsx)(Ae,{children:Kt===`network-accessible`?`Ryco will restart to expose this environment over the network.`:`Ryco will restart and limit this environment back to this machine.`})]}),(0,Z.jsxs)(De,{children:[(0,Z.jsx)(Oe,{disabled:Pt,render:(0,Z.jsx)(b,{variant:`outline`,disabled:Pt}),children:`Cancel`}),(0,Z.jsx)(b,{variant:Kt===`local-only`?`destructive`:`default`,onClick:sn,disabled:Kt===null||Pt,children:Pt?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(z,{className:`size-3.5`}),`Restarting…`]}):Kt===`network-accessible`?`Restart and enable`:`Restart and disable`})]})]})}),(0,Z.jsx)(Me,{open:Ht,onOpenChange:e=>{Rt||Ut(e)},children:(0,Z.jsxs)(ke,{children:[(0,Z.jsxs)(Ee,{children:[(0,Z.jsx)(je,{children:`Disable Tailscale HTTPS?`}),(0,Z.jsx)(Ae,{children:`Ryco will restart the local backend without Tailscale Serve.`})]}),(0,Z.jsxs)(De,{children:[(0,Z.jsx)(Oe,{disabled:Rt,render:(0,Z.jsx)(b,{variant:`outline`,disabled:Rt}),children:`Cancel`}),(0,Z.jsx)(b,{variant:`destructive`,onClick:()=>void un(),disabled:Rt,children:Rt?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(z,{className:`size-3.5`}),`Restarting…`]}):`Restart and disable`})]})]})}),(0,Z.jsx)(oe,{open:Bt!==null,onOpenChange:e=>{Rt||e||Vt(null)},children:(0,Z.jsxs)(I,{className:`max-w-md`,children:[(0,Z.jsxs)(j,{children:[(0,Z.jsx)(M,{children:`Set up Tailscale HTTPS?`}),(0,Z.jsx)(ae,{children:`Ryco will restart the local backend with Tailscale Serve enabled and ask Tailscale to proxy HTTPS traffic to this backend.`})]}),(0,Z.jsxs)(re,{className:`space-y-4`,children:[(0,Z.jsxs)(`label`,{className:`block`,children:[(0,Z.jsx)(`span`,{className:`text-sm font-medium text-foreground`,children:`HTTPS port`}),(0,Z.jsx)(xe,{className:`mt-2`,type:`number`,inputMode:`numeric`,min:1,max:65535,step:1,value:Wt,onChange:e=>Gt(e.target.value),disabled:Rt})]}),rn?null:(0,Z.jsx)(`p`,{className:`mt-2 text-xs text-destructive`,children:`Enter a port from 1 to 65535.`}),(0,Z.jsxs)(`div`,{className:`rounded-md border border-border/70 bg-muted/20 px-3 py-2`,children:[(0,Z.jsx)(`p`,{className:`text-xs font-medium text-muted-foreground`,children:`HTTPS endpoint`}),(0,Z.jsx)(`p`,{className:`mt-1 truncate text-sm text-foreground`,title:an??void 0,children:an??`Pending MagicDNS endpoint`})]})]}),(0,Z.jsxs)(F,{children:[(0,Z.jsx)(L,{disabled:Rt,render:(0,Z.jsx)(b,{variant:`outline`,disabled:Rt}),children:`Cancel`}),(0,Z.jsx)(b,{onClick:()=>void cn(),disabled:Rt||!rn,children:Rt?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(z,{className:`size-3.5`}),`Restarting…`]}):`Enable`})]})]})})]}):(0,Z.jsx)(Pe,{title:`Local backend access`,children:(0,Z.jsx)(U,{title:`Owner tools`,description:`Pairing links and client-session management are only available to owner sessions for this backend.`})}),(0,Z.jsxs)(Pe,{title:`Remote environments`,headerAction:(0,Z.jsxs)(oe,{open:Y,onOpenChange:e=>{Ve(e),e||Q(null)},children:[(0,Z.jsx)(ee,{render:(0,Z.jsxs)(b,{size:`xs`,variant:`outline`,children:[(0,Z.jsx)(le,{className:`size-3`}),`Add environment`]})}),(0,Z.jsxs)(I,{className:`max-h-[80dvh] sm:max-w-3xl`,children:[(0,Z.jsxs)(j,{children:[(0,Z.jsx)(M,{children:`Add Environment`}),(0,Z.jsx)(ae,{children:`Pair another environment to this client.`})]}),(0,Z.jsx)(re,{children:(0,Z.jsxs)(`div`,{className:`space-y-4`,children:[(0,Z.jsxs)(`div`,{className:`grid gap-3 sm:grid-cols-2`,children:[An({mode:`remote`,title:`Remote link`,description:`Enter a backend host and pairing code.`,icon:(0,Z.jsx)(Ie,{"aria-hidden":!0,className:`size-4`})}),e?An({mode:`ssh`,title:`SSH`,description:`Use local SSH config, agent, and tunnels for the backend.`,icon:(0,Z.jsx)(N,{"aria-hidden":!0,className:`size-4`})}):null]}),(0,Z.jsx)(Ce,{children:X===`ssh`?(0,Z.jsxs)(`div`,{className:`space-y-4`,children:[(0,Z.jsxs)(`div`,{className:`space-y-3`,children:[(0,Z.jsxs)(`label`,{className:`block`,children:[(0,Z.jsx)(`span`,{className:`mb-1.5 block text-xs font-medium text-foreground`,children:`SSH host or alias`}),(0,Z.jsx)(xe,{value:Je,onChange:e=>Ye(e.target.value),placeholder:`Search hosts or type devbox`,disabled:yt,spellCheck:!1})]}),(0,Z.jsxs)(`div`,{className:`grid gap-3 sm:grid-cols-[minmax(0,1fr)_7rem]`,children:[(0,Z.jsxs)(`label`,{className:`block`,children:[(0,Z.jsx)(`span`,{className:`mb-1.5 block text-xs font-medium text-foreground`,children:`Username`}),(0,Z.jsx)(xe,{value:nt,onChange:e=>rt(e.target.value),placeholder:`root`,disabled:yt,spellCheck:!1})]}),(0,Z.jsxs)(`label`,{className:`block`,children:[(0,Z.jsx)(`span`,{className:`mb-1.5 block text-xs font-medium text-foreground`,children:`Port`}),(0,Z.jsx)(xe,{value:at,onChange:e=>_t(e.target.value),placeholder:`22`,inputMode:`numeric`,disabled:yt,spellCheck:!1})]})]}),vt||A?(0,Z.jsx)(`div`,{className:`rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-destructive`,children:vt??A}):null,(0,Z.jsxs)(b,{variant:`outline`,className:`w-full`,disabled:yt,onClick:()=>void hn(),children:[(0,Z.jsx)(le,{className:`size-3.5`}),yt?`Adding…`:`Add environment`]})]}),(0,Z.jsxs)(`div`,{className:`overflow-hidden rounded-lg border border-border/60`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center justify-between gap-3 border-b border-border/60 bg-muted/30 px-3 py-2`,children:[(0,Z.jsxs)(`div`,{className:`min-w-0`,children:[(0,Z.jsx)(`p`,{className:`text-xs font-medium text-foreground`,children:`Suggested hosts`}),(0,Z.jsx)(`p`,{className:`text-[11px] text-muted-foreground`,children:`From SSH config and known hosts`})]}),(0,Z.jsxs)(b,{size:`xs`,variant:`ghost`,disabled:O,onClick:()=>void yn(),children:[O?(0,Z.jsx)(ue,{className:`size-3 animate-spin`}):(0,Z.jsx)(ue,{className:`size-3`}),`Refresh`]})]}),(0,Z.jsx)(Se,{scrollFade:!0,className:`max-h-56`,children:(0,Z.jsxs)(`div`,{children:[Et.map(e=>(0,Z.jsx)(Dt,{target:e,connectingHostAlias:te,onConnect:e=>void bn(e)},`${e.alias}:${e.hostname}:${e.port??``}`)),E&&!O&&Et.length===0?(0,Z.jsx)(`div`,{className:tt,children:(0,Z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No new SSH hosts were discovered.`})}):null]})})]})]}):(0,Z.jsxs)(`div`,{className:`space-y-4`,children:[(0,Z.jsxs)(`div`,{className:`space-y-3`,children:[(0,Z.jsxs)(`div`,{className:`grid gap-3 sm:grid-cols-[minmax(0,1fr)_10rem]`,children:[(0,Z.jsxs)(`label`,{className:`block`,children:[(0,Z.jsx)(`span`,{className:`mb-1.5 block text-xs font-medium text-foreground`,children:`Host`}),(0,Z.jsx)(xe,{value:Ue,onChange:e=>kn(e.target.value),placeholder:`backend.example.com`,disabled:yt,spellCheck:!1})]}),(0,Z.jsxs)(`label`,{className:`block`,children:[(0,Z.jsx)(`span`,{className:`mb-1.5 block text-xs font-medium text-foreground`,children:`Pairing code`}),(0,Z.jsx)(xe,{value:Ke,onChange:e=>qe(e.target.value),placeholder:`PAIRCODE`,disabled:yt,spellCheck:!1})]})]}),(0,Z.jsx)(`div`,{children:(0,Z.jsx)(`span`,{className:`mt-1 block text-[11px] text-muted-foreground`,children:`Paste a full pairing URL here to fill both fields automatically. Remote bearer tokens are stored for this browser profile.`})})]}),vt?(0,Z.jsx)(`p`,{className:`text-xs text-destructive`,children:vt}):null,(0,Z.jsxs)(b,{variant:`outline`,className:`w-full`,disabled:yt,onClick:()=>void hn(),children:[(0,Z.jsx)(le,{className:`size-3.5`}),yt?`Adding…`:`Add environment`]})]})})]})})]})]}),children:[h.map(e=>(0,Z.jsx)(Tt,{environmentId:e,reconnectingEnvironmentId:Ot,disconnectingEnvironmentId:At,removingEnvironmentId:Mt,onConnect:gn,onDisconnect:_n,onRemove:vn},e)),h.length===0?(0,Z.jsx)(`div`,{className:tt,children:(0,Z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No remote environments yet. Click “Add environment” to pair another environment.`})}):null]})]})}function kt(e){return e.status!==`unavailable`}function At(e){H.add({type:`success`,title:e===`hosted-link`?`Hosted app link copied`:e===`link`?`Pairing URL copied`:`Pairing code copied`,description:e===`hosted-link`?`Open it in the browser on the device you want to connect.`:e===`link`?`Open it in the client you want to pair to this environment.`:`Paste it into another client to finish pairing.`})}function jt(e){return Q(e)?`hosted-link`:`link`}function Mt(e){return!Q(e.url)}function Nt(e){return Q(e.url)}function Pt(e){return e.currentTarget.select()}function Ft(e){return e.currentTarget.select()}function It(e){return e!==null}export{Ot as ConnectionsSettings};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{hr as e,qn as t}from"./composerDraftStore-
|
|
1
|
+
import{hr as e,qn as t}from"./composerDraftStore-xu3n5gdX.js";import{n}from"./DialogViewport-CL0WR9a5.js";var r=class{constructor(e){this.store=e??new n}open(n){let r=n?this.store.context.triggerElements.getById(n):void 0;this.store.setOpen(!0,t(e,void 0,r))}openWithPayload(n){this.store.set(`payload`,n),this.store.setOpen(!0,t(e,void 0,void 0))}close(){this.store.setOpen(!1,t(e,void 0,void 0))}get isOpen(){return this.store.state.open}};function i(){return new r}export{i as n,r as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-PSPkXoKo.js";import{Mi as n,mt as r,ni as i}from"./composerDraftStore-
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{Mi as n,mt as r,ni as i}from"./composerDraftStore-xu3n5gdX.js";import{c as a,n as o,r as s,s as c}from"./DialogViewport-CL0WR9a5.js";var l=e(t()),u=n();function d(e){let{children:t,open:n,defaultOpen:d=!1,onOpenChange:f,onOpenChangeComplete:p,disablePointerDismissal:m=!1,modal:h=!0,actionsRef:g,handle:_,triggerId:v,defaultTriggerId:y=null}=e,b=a(!0),x=!!b,S=i(()=>_?.store??new o({open:d,openProp:n,activeTriggerId:y,triggerIdProp:v,modal:h,disablePointerDismissal:m,nested:x})).current;r(()=>{n===void 0&&S.state.open===!1&&d===!0&&S.update({open:!0,activeTriggerId:y})}),S.useControlledProp(`openProp`,n),S.useControlledProp(`triggerIdProp`,v),S.useSyncedValues({disablePointerDismissal:m,nested:x,modal:h}),S.useContextCallback(`onOpenChange`,f),S.useContextCallback(`onOpenChangeComplete`,p);let C=S.useState(`payload`);s({store:S,actionsRef:g,parentContext:b?.store.context,onOpenChange:f,triggerIdProp:v});let w=l.useMemo(()=>({store:S}),[S]);return(0,u.jsx)(c.Provider,{value:w,children:typeof t==`function`?t({payload:C}):t})}export{d as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-PSPkXoKo.js";import{Kr as n,Yn as r,fr as i,nr as a,qn as o}from"./composerDraftStore-
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{Kr as n,Yn as r,fr as i,nr as a,qn as o}from"./composerDraftStore-xu3n5gdX.js";import{c as s}from"./DialogViewport-CL0WR9a5.js";var c=e(t()),l=c.forwardRef(function(e,t){let{render:r,className:c,disabled:l=!1,nativeButton:u=!0,...d}=e,{store:f}=s(),p=f.useState(`open`);function m(e){p&&f.setOpen(!1,o(i,e.nativeEvent))}let{getButtonProps:h,buttonRef:g}=a({disabled:l,native:u});return n(`button`,e,{state:{disabled:l},ref:[t,g],props:[{onClick:m},d,h]})}),u=c.forwardRef(function(e,t){let{render:i,className:a,id:o,...c}=e,{store:l}=s(),u=r(o);return l.useSyncedValueWithCleanup(`descriptionElementId`,u),n(`p`,e,{ref:t,props:[{id:u},c]})}),d=c.forwardRef(function(e,t){let{render:i,className:a,id:o,...c}=e,{store:l}=s(),u=r(o);return l.useSyncedValueWithCleanup(`titleElementId`,u),n(`h2`,e,{ref:t,props:[{id:u},c]})});export{u as n,l as r,d as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-PSPkXoKo.js";import{$t as n,Ar as r,Jr as i,Kr as a,Ut as o,Yn as s,nr as c,ri as l,sn as u}from"./composerDraftStore-
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{$t as n,Ar as r,Jr as i,Kr as a,Ut as o,Yn as s,nr as c,ri as l,sn as u}from"./composerDraftStore-xu3n5gdX.js";import{c as d}from"./DialogViewport-CL0WR9a5.js";var f=e(t()),p=f.forwardRef(function(e,t){let{render:p,className:m,disabled:h=!1,nativeButton:g=!0,id:_,payload:v,handle:y,...b}=e,x=d(!0),S=y?.store??x?.store;if(!S)throw Error(l(79));let C=s(_),w=S.useState(`floatingRootContext`),T=S.useState(`isOpenedByTrigger`,C),E=f.useRef(null),{registerTrigger:D,isMountedByThisTrigger:O}=n(C,E,S,{payload:v}),{getButtonProps:k,buttonRef:A}=c({disabled:h,native:g}),j=o([u(w,{enabled:w!=null})]),M={disabled:h,open:T},N=S.useState(`triggerProps`,O);return a(`button`,e,{state:M,ref:[A,t,D,E],props:[j.getReferenceProps(),N,{[i]:``,id:C},b,k],stateAttributesMapping:r})});export{p as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-PSPkXoKo.js";import{Dr as n,Fn as r,Jt as i,Kr as a,Kt as o,Ln as s,Mi as c,Mr as l,Or as u,Ot as d,Qt as f,Ut as p,Vn as m,Vt as h,Xt as g,Yt as _,Zt as v,bt as y,cn as b,dt as x,en as S,hr as C,ht as w,lr as T,on as E,pn as D,pt as O,qn as k,ri as A,rn as j}from"./composerDraftStore-
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{Dr as n,Fn as r,Jt as i,Kr as a,Kt as o,Ln as s,Mi as c,Mr as l,Or as u,Ot as d,Qt as f,Ut as p,Vn as m,Vt as h,Xt as g,Yt as _,Zt as v,bt as y,cn as b,dt as x,en as S,hr as C,ht as w,lr as T,on as E,pn as D,pt as O,qn as k,ri as A,rn as j}from"./composerDraftStore-xu3n5gdX.js";var M=e(t()),N=M.createContext(void 0);function P(e){let t=M.useContext(N);if(e===!1&&t===void 0)throw Error(A(27));return t}var F={...u,...l},I=M.forwardRef(function(e,t){let{render:n,className:r,forceRender:i=!1,...o}=e,{store:s}=P(),c=s.useState(`open`),l=s.useState(`nested`),u=s.useState(`mounted`);return a(`div`,e,{state:{open:c,transitionStatus:s.useState(`transitionStatus`)},ref:[s.context.backdropRef,t],stateAttributesMapping:F,props:[{role:`presentation`,hidden:!u,style:{userSelect:`none`,WebkitUserSelect:`none`}},o],enabled:i||!l})}),L=function(e){return e.nestedDialogs=`--nested-dialogs`,e}({}),R=function(e){return e[e.open=n.open]=`open`,e[e.closed=n.closed]=`closed`,e[e.startingStyle=n.startingStyle]=`startingStyle`,e[e.endingStyle=n.endingStyle]=`endingStyle`,e.nested=`data-nested`,e.nestedDialogOpen=`data-nested-dialog-open`,e}({}),z=M.createContext(void 0);function B(){let e=M.useContext(z);if(e===void 0)throw Error(A(26));return e}var V=c(),H={...u,...l,nestedDialogOpen(e){return e?{[R.nestedDialogOpen]:``}:null}},U=M.forwardRef(function(e,t){let{className:n,finalFocus:r,initialFocus:i,render:o,...s}=e,{store:c}=P(),l=c.useState(`descriptionElementId`),u=c.useState(`disablePointerDismissal`),f=c.useState(`floatingRootContext`),p=c.useState(`popupProps`),h=c.useState(`modal`),g=c.useState(`mounted`),_=c.useState(`nested`),v=c.useState(`nestedOpenDialogCount`),y=c.useState(`open`),x=c.useState(`openMethod`),S=c.useState(`titleElementId`),C=c.useState(`transitionStatus`),w=c.useState(`role`);B(),m({open:y,ref:c.context.popupRef,onComplete(){y&&c.context.onOpenChangeComplete?.(!0)}});function T(e){return e===`touch`?c.context.popupRef.current:!0}let E=i===void 0?T:i,D=a(`div`,e,{state:{open:y,nested:_,transitionStatus:C,nestedDialogOpen:v>0},props:[p,{"aria-labelledby":S??void 0,"aria-describedby":l??void 0,role:w,tabIndex:-1,hidden:!g,onKeyDown(e){d.has(e.key)&&e.stopPropagation()},style:{[L.nestedDialogs]:v}},s],ref:[t,c.context.popupRef,c.useStateSetter(`popupElement`)],stateAttributesMapping:H});return(0,V.jsx)(b,{context:f,openInteractionType:x,disabled:!g,closeOnFocusOut:!u,initialFocus:E,returnFocus:r,modal:h!==!1,restoreFocus:`popup`,children:D})}),W=M.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i}=P(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,V.jsx)(z.Provider,{value:n,children:(0,V.jsxs)(D,{ref:t,...r,children:[a&&o===!0&&(0,V.jsx)(w,{ref:i.context.internalBackdropRef,inert:y(!s)}),e.children]})}):null});function G(e){let{store:t,parentContext:n,actionsRef:i}=e,a=t.useState(`open`),c=t.useState(`disablePointerDismissal`),l=t.useState(`modal`),u=t.useState(`popupElement`),{openMethod:d,triggerProps:m}=x(a);v(t);let{forceUnmount:g}=f(a,t),_=T(e=>{let n=k(e);return n.preventUnmountOnClose=()=>{t.set(`preventUnmountingOnClose`,!0)},n}),y=M.useCallback(()=>{t.setOpen(!1,_(C))},[t,_]);M.useImperativeHandle(i,()=>({unmount:g,close:y}),[g,y]);let b=o({popupStore:t,onOpenChange:t.setOpen,treatPopupAsFloatingElement:!0,noEmit:!0}),[S,w]=M.useState(0),D=S===0,A=h(b),j=E(b,{outsidePressEvent(){return t.context.internalBackdropRef.current||t.context.backdropRef.current?`intentional`:{mouse:l===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(e){if(!t.context.outsidePressEnabledRef.current||`button`in e&&e.button!==0||`touches`in e&&e.touches.length!==1)return!1;let n=s(e);if(D&&!c){let e=n;return l&&(t.context.internalBackdropRef.current||t.context.backdropRef.current)?t.context.internalBackdropRef.current===e||t.context.backdropRef.current===e||r(e,u)&&!e?.hasAttribute(`data-base-ui-portal`):!0}return!1},escapeKey:D});O(a&&l===!0,u);let{getReferenceProps:N,getFloatingProps:P,getTriggerProps:F}=p([A,j]);t.useContextCallback(`onNestedDialogOpen`,e=>{w(e+1)}),t.useContextCallback(`onNestedDialogClose`,()=>{w(0)}),M.useEffect(()=>(n?.onNestedDialogOpen&&a&&n.onNestedDialogOpen(S),n?.onNestedDialogClose&&!a&&n.onNestedDialogClose(),()=>{n?.onNestedDialogClose&&a&&n.onNestedDialogClose()}),[a,n,S]);let I=M.useMemo(()=>N(m),[N,m]),L=M.useMemo(()=>F(m),[F,m]),R=M.useMemo(()=>P(),[P]);t.useSyncedValues({openMethod:d,activeTriggerProps:I,inactiveTriggerProps:L,popupProps:R,floatingRootContext:b,nestedOpenDialogCount:S})}var K={..._,modal:j(e=>e.modal),nested:j(e=>e.nested),nestedOpenDialogCount:j(e=>e.nestedOpenDialogCount),disablePointerDismissal:j(e=>e.disablePointerDismissal),openMethod:j(e=>e.openMethod),descriptionElementId:j(e=>e.descriptionElementId),titleElementId:j(e=>e.titleElementId),viewportElement:j(e=>e.viewportElement),role:j(e=>e.role)},q=class extends S{constructor(e){super(J(e),{popupRef:M.createRef(),backdropRef:M.createRef(),internalBackdropRef:M.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:new g,onOpenChange:void 0,onOpenChangeComplete:void 0},K)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;let n={open:e,nativeEvent:t.event,reason:t.reason,nested:this.state.nested};this.state.floatingRootContext.context.events?.emit(`openchange`,n);let r={open:e},i=t.trigger?.id??null;(i||e)&&(r.activeTriggerId=i,r.activeTriggerElement=t.trigger??null),this.update(r)}};function J(e={}){return{...i(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,role:`dialog`,...e}}var Y=function(e){return e[e.open=n.open]=`open`,e[e.closed=n.closed]=`closed`,e[e.startingStyle=n.startingStyle]=`startingStyle`,e[e.endingStyle=n.endingStyle]=`endingStyle`,e.nested=`data-nested`,e.nestedDialogOpen=`data-nested-dialog-open`,e}({}),X={...u,...l,nested(e){return e?{[Y.nested]:``}:null},nestedDialogOpen(e){return e?{[Y.nestedDialogOpen]:``}:null}},Z=M.forwardRef(function(e,t){let{className:n,render:r,children:i,...o}=e,s=B(),{store:c}=P(),l=c.useState(`open`),u=c.useState(`nested`),d=c.useState(`transitionStatus`),f=c.useState(`nestedOpenDialogCount`),p=c.useState(`mounted`);return a(`div`,e,{enabled:s||p,state:{open:l,nested:u,transitionStatus:d,nestedDialogOpen:f>0},ref:[t,c.useStateSetter(`viewportElement`)],stateAttributesMapping:X,props:[{role:`presentation`,hidden:!p,style:{pointerEvents:l?void 0:`none`},children:i},o]})});export{U as a,P as c,W as i,q as n,I as o,G as r,N as s,Z as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-PSPkXoKo.js";import{
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{_t as n}from"./environmentApi-BFHi_M02.js";import{Mi as r,a as i,t as a}from"./composerDraftStore-xu3n5gdX.js";import{a as o,c as s,i as c,l,n as u,r as d,t as f}from"./ChatRightPanel-BJ_cVP66.js";import{t as p}from"./useNavigate-B1qgM5mt.js";import{n as m}from"./threadRoutes-CfldSp4X.js";import{a as h,c as g,n as _,o as v,s as y,t as b}from"./rightPanelRouteSearch-CTMFCS6R.js";import{b as x,o as S}from"./sidebar-Bbdql7Af.js";import{n as C}from"./storeSelectors-DBRyhCGm.js";var w=e(t(),1),T=r();function E({rawDraftId:e,search:t}){let r=p(),E=a.make(e),D=i(e=>e.getDraftSession(E)),O=n((0,w.useMemo)(()=>C(D?.threadId??null),[D?.threadId])),k=s(O),A=(0,w.useMemo)(()=>D?.promotedTo?k?D.promotedTo:null:O?{environmentId:O.environmentId,threadId:O.id}:null,[D?.promotedTo,O,k]),j=t.diff===`1`,M=t.preview===`1`,N=b(t),P=_(t),F=x(l),[I,L]=(0,w.useState)(()=>({draftId:E,hasOpenedDiff:j,hasOpenedPreview:M,hasOpenedTerminal:N===`terminal`})),R=I.draftId===E?I.hasOpenedDiff:j,z=I.draftId===E?I.hasOpenedPreview:M,B=I.draftId===E?I.hasOpenedTerminal:N===`terminal`,[V,H]=(0,w.useState)(()=>N??`files`),U=(0,w.useMemo)(()=>{let e=[];return(z||N===`files`)&&e.push(`files`),(R||N===`review`)&&e.push(`review`),(B||N===`terminal`)&&e.push(`terminal`),e},[R,z,B,N]),W=(0,w.useCallback)(e=>{H(e),L(t=>{let n={draftId:E,hasOpenedDiff:(t.draftId===E?t.hasOpenedDiff:j)||e===`review`,hasOpenedPreview:(t.draftId===E?t.hasOpenedPreview:M)||e===`files`,hasOpenedTerminal:(t.draftId===E?t.hasOpenedTerminal:N===`terminal`)||e===`terminal`};return t.draftId===n.draftId&&t.hasOpenedDiff===n.hasOpenedDiff&&t.hasOpenedPreview===n.hasOpenedPreview&&t.hasOpenedTerminal===n.hasOpenedTerminal?t:n})},[j,E,M,N]),G=(0,w.useCallback)(()=>{r({to:`/draft/$draftId`,params:{draftId:E},search:e=>d(e)})},[E,r]),K=(0,w.useCallback)(()=>{r({to:`/draft/$draftId`,params:{draftId:E},search:e=>V===`files`&&z?h(e):V===`review`&&R?v(e):V===`terminal`&&B?y(e):z?h(e):R?v(e):B?y(e):g(e)})},[E,R,z,B,V,r]),q=(0,w.useCallback)(()=>{if(P){G();return}K()},[G,K,P]),J=(0,w.useCallback)(e=>{if(e.mode===`agent`){N===`agent`&&r({to:`/draft/$draftId`,params:{draftId:E},search:e=>g(e)});return}let t=e.mode===`review`?!1:R||N===`review`,n=e.mode===`files`?!1:z||N===`files`,i=e.mode===`terminal`?!1:B||N===`terminal`;L(e=>{let r={draftId:E,hasOpenedDiff:t,hasOpenedPreview:n,hasOpenedTerminal:i};return e.draftId===r.draftId&&e.hasOpenedDiff===r.hasOpenedDiff&&e.hasOpenedPreview===r.hasOpenedPreview&&e.hasOpenedTerminal===r.hasOpenedTerminal?e:r}),N===e.mode&&r({to:`/draft/$draftId`,params:{draftId:E},search:r=>e.mode!==`files`&&n?h(r):e.mode!==`review`&&t?v(r):e.mode!==`terminal`&&i?y(r):g(r)})},[E,R,z,B,r,N]);if((0,w.useEffect)(()=>{N!==null&&(H(N),W(N))},[W,N]),(0,w.useEffect)(()=>{A&&r({to:`/$environmentId/$threadId`,params:m(A),replace:!0})},[A,r]),(0,w.useEffect)(()=>{D||A||r({to:`/`,replace:!0})},[A,D,r]),A)return(0,T.jsx)(S,{className:`h-svh min-h-0 overflow-hidden overscroll-y-none bg-background text-foreground md:h-dvh`,children:(0,T.jsx)(c,{environmentId:A.environmentId,threadId:A.threadId,routeKind:`server`})});if(!D)return null;let Y=P||N===`review`||R||N===`files`||z||N===`terminal`||B||N===`agent`,X=P?N:V;return F?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(S,{className:`h-svh min-h-0 overflow-hidden overscroll-y-none bg-background text-foreground md:h-dvh`,children:(0,T.jsx)(c,{draftId:E,environmentId:D.environmentId,threadId:D.threadId,onDiffPanelOpen:()=>W(`review`),onPreviewPanelOpen:()=>W(`files`),onTerminalPanelOpen:()=>W(`terminal`),onAgentPanelOpen:()=>W(`agent`),workspacePanelOpen:P,onToggleWorkspacePanel:q,routeKind:`draft`})}),(0,T.jsx)(o,{open:P,onClose:G,children:Y?(0,T.jsx)(f,{mode:`sheet`,panelMode:X,openedPanelModes:U,onClosePanelTab:J}):null})]}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(S,{className:`h-svh min-h-0 overflow-hidden overscroll-y-none bg-background text-foreground md:h-dvh`,children:(0,T.jsx)(c,{draftId:E,environmentId:D.environmentId,threadId:D.threadId,onDiffPanelOpen:()=>W(`review`),onPreviewPanelOpen:()=>W(`files`),onTerminalPanelOpen:()=>W(`terminal`),onAgentPanelOpen:()=>W(`agent`),workspacePanelOpen:P,onToggleWorkspacePanel:q,routeKind:`draft`})}),(0,T.jsx)(u,{open:P,panelMode:X,openedPanelModes:U,onClosePanelTab:J,onClose:G,onOpen:K,renderContent:Y})]})}export{E as DraftChatThreadRouteView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-PSPkXoKo.js";import{t as n}from"./compiler-runtime-BNrXlsa1.js";import{Mi as r,Oi as i}from"./composerDraftStore-DTMZbmmF.js";var a=i(`folder-closed`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M2 10h20`,key:`1ir3d8`}]]),o=i(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]),s=n(),c=e(t(),1),l=r(),u=(e,t)=>{let n=(0,s.c)(7),r=(0,c.useId)(),i;if(n[0]!==t||n[1]!==r||n[2]!==e){let a;n[4]!==r||n[5]!==e?(a=(t,n)=>`${r}-${e}-${String.fromCharCode(97+n)}`,n[4]=r,n[5]=e,n[6]=a):a=n[6],i=Array.from({length:t},a),n[0]=t,n[1]=r,n[2]=e,n[3]=i}else i=n[3];return i},d=e=>{let t=(0,s.c)(23),[n,r]=u(`aqua`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.25`,stopColor:`#7256FF`}),a=(0,l.jsx)(`stop`,{offset:`.73`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#00D886`}),d=(0,l.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`7.671`,x2:`61.125`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124L21 64c1.181-.019 2.531-.786 3.3-1.683l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.746 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.003-3.961c0-2.187.334-2.778 1.003-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.917-1.014c1.443 0 2.739.338 3.907 1.013a7.3 7.3 0 0 1 2.75 2.787q.996 1.774.996 3.961c0 2.187-.332 2.778-.997 3.96a7.3 7.3 0 0 1-2.749 2.788q-1.752 1.013-3.907 1.013c-1.436 0-2.75-.338-3.917-1.013m6.308-2.23q1.06-.67 1.661-1.854.6-1.185.6-2.664t-.6-2.664a4.6 4.6 0 0 0-1.661-1.854q-1.061-.67-2.39-.67t-2.396.67a4.6 4.6 0 0 0-1.672 1.854q-.605 1.185-.605 2.664t.605 2.664 1.672 1.854q1.067.67 2.396.67 1.33 0 2.39-.67m-2.16 6.034a2.67 2.67 0 0 1-1.126-1.077q-.391-.696-.391-1.64l-.01-1.94h2.743v1.811q0 .332.129.573.128.242.37.365.24.123.574.123h1.833v2.165h-2.412q-.975 0-1.71-.38M38.233 16.992h3.173l5.563 15.006h-2.947l-1.212-3.483h-5.842l-1.136 3.483H32.82zm3.805 9.261-2.025-5.723-.225-.954-.215.954-1.908 5.723z`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},f=e=>{let t=(0,s.c)(23),[n,r]=u(`clion`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.29`,stopColor:`#009AE5`}),a=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),d=(0,l.jsx)(`stop`,{offset:`.54`,stopColor:`#009AE5`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.393`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#FF2D90`,d:`M58 16.453V4.194A4.125 4.125 0 0 0 53.81.07L43.003.008c-1.18.019-2.535.781-3.304 1.678L6.993 39.844c-.64.748-.993 1.7-.993 2.684v11.35a4.125 4.125 0 0 0 4.125 4.125h11.003c1.19 0 2.321-.514 3.105-1.409L56.979 19.17A4.12 4.12 0 0 0 58 16.453`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.747 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96a7.3 7.3 0 0 1 2.744-2.787q1.747-1.013 3.901-1.014 1.823 0 3.345.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.355 2.793h-3.065a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.431-.95 4.9 4.9 0 0 0-1.822-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664a4.9 4.9 0 0 0 1.822-.332 4.02 4.02 0 0 0 2.326-2.38h3.065a6.44 6.44 0 0 1-1.355 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.345.675-2.154 0-3.901-1.013zM37.33 16.992v12.37h7.117v2.636H34.414V16.992z`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},p=e=>{let t=(0,s.c)(23),[n,r]=u(`datagrip`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.28`,stopColor:`#7256FF`}),a=(0,l.jsx)(`stop`,{offset:`.66`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#FF43F2`}),d=(0,l.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.125 4.125 0 0 0 53.9 0H36.234c-.806 0-1.593.236-2.267.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#FF43F2`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19L64 43c-.018-1.181-.785-2.531-1.682-3.3L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M35.426 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.333-2.778.997-3.96s1.58-2.112 2.744-2.787q1.747-1.013 3.902-1.014 1.746 0 3.221.622a6.9 6.9 0 0 1 2.487 1.747 6.36 6.36 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.927-1.228q-.585-.52-1.367-.803c-.782-.283-1.082-.284-1.683-.284q-1.329 0-2.401.664a4.6 4.6 0 0 0-1.678 1.828q-.605 1.163-.605 2.62c0 1.457.202 1.846.605 2.621a4.6 4.6 0 0 0 1.678 1.828q1.072.664 2.401.664 1.233 0 2.235-.461t1.592-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.356v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.625 2.525q-1.668.921-3.736.921c-1.38 0-2.737-.337-3.902-1.013z`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},m=e=>{let t=(0,s.c)(23),[n,r]=u(`dataspell`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.28`,stopColor:`#007DFE`}),a=(0,l.jsx)(`stop`,{offset:`.73`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.32`,stopColor:`#F0EB18`}),d=(0,l.jsx)(`stop`,{offset:`.55`,stopColor:`#007DFE`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.875`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#F0EB18`,d:`M58 16.45V4.191A4.125 4.125 0 0 0 53.81.067L43 0c-1.181.019-2.531.786-3.3 1.683L6.993 39.84c-.64.748-.993 1.7-.993 2.685v11.349A4.125 4.125 0 0 0 10.125 58h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.45`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M34.713 31.664q-1.26-.59-1.973-1.65t-.734-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.334-.251q.574-.252.89-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.511 0 1.933.186 2.733.558s1.424.888 1.871 1.549q.67.99.68 2.277h-2.926q0-.546-.289-.98c-.289-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.29.96 0 .621.403 1.028.402.407 1.098.579l2.552.557q1.103.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.481.917.482 1.999 0 1.329-.702 2.385-.702 1.054-1.967 1.656-1.265.6-2.894.6t-2.889-.59`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},h=e=>{let t=(0,s.c)(23),[n,r]=u(`goland`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.24`,stopColor:`#00D886`}),a=(0,l.jsx)(`stop`,{offset:`.51`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.27`,stopColor:`#007DFE`}),d=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#D249FC`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#00D886`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.13 4.13 0 0 0-1.44-3.066L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.124 4.124 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M19.748 31.243a7.3 7.3 0 0 1-2.743-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96s1.58-2.112 2.743-2.787q1.747-1.013 3.902-1.014 1.747 0 3.222.622a6.9 6.9 0 0 1 2.486 1.747 6.4 6.4 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.926-1.228q-.584-.52-1.367-.803c-.783-.283-1.083-.284-1.683-.284q-1.33 0-2.402.664a4.6 4.6 0 0 0-1.677 1.828q-.606 1.163-.606 2.62c0 1.457.202 1.846.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664 1.232 0 2.235-.461t1.591-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.357v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.626 2.525q-1.666.921-3.736.921c-2.07 0-2.737-.337-3.902-1.013zM36.271 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.002-3.961c0-2.187.333-2.778 1.002-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.918-1.014c1.443 0 2.738.338 3.907 1.013a7.3 7.3 0 0 1 2.749 2.787q.996 1.774.997 3.961c0 2.187-.333 2.778-.997 3.96s-1.581 2.113-2.75 2.788q-1.752 1.013-3.906 1.013c-1.437 0-2.75-.338-3.918-1.013m6.308-2.23q1.062-.67 1.662-1.854t.6-2.664-.6-2.664-1.662-1.854-2.39-.67-2.395.67a4.6 4.6 0 0 0-1.672 1.854q-.606 1.185-.606 2.664t.606 2.664 1.672 1.854 2.395.67q1.33 0 2.39-.67M33 44H17v3h16z`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},g=e=>{let t=(0,s.c)(23),[n,r]=u(`intellij-idea`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.1`,stopColor:`#FC801D`}),a=(0,l.jsx)(`stop`,{offset:`.59`,stopColor:`#FE2857`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`-.391`,x2:`24.392`,y1:`7.671`,y2:`61.126`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.21`,stopColor:`#FE2857`}),d=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#007EFF`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.336`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.191a4.125 4.125 0 0 0-4.124 4.19l.176 11.044a4.13 4.13 0 0 0 1.44 3.066l38.159 32.707c.747.64 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.19-.514-2.321-1.41-3.105L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M14.988 6H4.125A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.185A4.125 4.125 0 0 0 9.573 64h15.398a4.125 4.125 0 0 0 4.125-4.127L29.09 41.37c0-.426-.066-.849-.195-1.254l-9.98-31.245A4.13 4.13 0 0 0 14.988 6z`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M59.876 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.943a4.1 4.1 0 0 0-.325 1.638l.15 18.329A4.125 4.125 0 0 0 10.101 64h17.666c.806 0 1.593-.236 2.266-.678l32.11-21.109A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.876 0`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17 29.383h2.98v-9.775H17v-2.616h8.843v2.616h-2.98v9.775h2.98V32H17zM27.643 29.298h2.154a2.4 2.4 0 0 0 1.163-.279q.51-.279.788-.788.279-.51.279-1.163V16.992h2.926v10.28q0 1.35-.622 2.427a4.45 4.45 0 0 1-1.715 1.688q-1.092.612-2.454.611h-2.519z`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},_=e=>{let t=(0,s.c)(23),[n,r]=u(`phpstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.16`,stopColor:`#D249FC`}),a=(0,l.jsx)(`stop`,{offset:`.55`,stopColor:`#FF2D90`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),d=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#7256FF`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`4.067`,x2:`62.664`,y1:`4.326`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#D249FC`,d:`M58 16.446V4.187A4.125 4.125 0 0 0 53.81.063L42.765.239A4.13 4.13 0 0 0 39.7 1.68L6.993 39.837c-.64.748-.993 1.7-.993 2.685v11.35a4.125 4.125 0 0 0 4.125 4.124h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.446`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.323v4.47h3.323q.74 0 1.291-.273M32.572 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.611.278 1.404.278c.53 0 .952-.083 1.335-.251q.572-.252.89-.702c.317-.45.315-.643.315-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.647-.59q-1.073-.234-1.866-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.665-1.023 1.854-1.597 1.19-.573 2.702-.573c1.512 0 1.933.186 2.733.558q1.2.558 1.87 1.549t.681 2.277h-2.926q0-.546-.29-.98a1.9 1.9 0 0 0-.82-.676 2.9 2.9 0 0 0-1.216-.24q-.687 0-1.206.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.551.557q1.104.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.482.917.482 1.999 0 1.329-.701 2.385-.703 1.054-1.967 1.656-1.264.6-2.895.6-1.63 0-2.888-.59`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},v=e=>{let t=(0,s.c)(23),[n,r]=u(`pycharm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.1`,stopColor:`#00D886`}),a=(0,l.jsx)(`stop`,{offset:`.59`,stopColor:`#F0EB18`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#F0EB18`}),d=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#00C4F4`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.933`,x2:`1.337`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.13 4.13 0 0 0 3.066-1.44l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.324v4.47h3.324q.74 0 1.291-.273M33.713 31.243a7.3 7.3 0 0 1-2.744-2.787q-.996-1.774-.996-3.961c0-2.187.332-2.778.996-3.96a7.3 7.3 0 0 1 2.744-2.787q1.748-1.013 3.902-1.014 1.823 0 3.344.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.356 2.793h-3.066a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.43-.95 4.9 4.9 0 0 0-1.823-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664.986 0 1.822-.332a4.02 4.02 0 0 0 2.326-2.38h3.066a6.44 6.44 0 0 1-1.356 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.344.675-2.154 0-3.902-1.013z`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},y=e=>{let t=(0,s.c)(23),[n,r]=u(`rider`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.21`,stopColor:`#007DFE`}),a=(0,l.jsx)(`stop`,{offset:`.55`,stopColor:`#FFB700`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.23`,stopColor:`#FFB700`}),d=(0,l.jsx)(`stop`,{offset:`.73`,stopColor:`#FF0A67`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#007DFE`,d:`M47.55 58h12.258a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.12 4.12 0 0 0-1.44-3.066L24.158 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h5.713q2.133 0 3.822.965a6.9 6.9 0 0 1 2.641 2.674q.954 1.71.954 3.864t-.953 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.822.964h-5.713zm8.028 11.876q1.008-.6 1.555-1.72t.547-2.653q0-1.534-.547-2.653-.547-1.12-1.555-1.721-1.008-.6-2.347-.6h-2.755v9.947h2.755q1.34 0 2.347-.6`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},b=e=>{let t=(0,s.c)(23),[n,r]=u(`rubymine`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.29`,stopColor:`#FF2358`}),a=(0,l.jsx)(`stop`,{offset:`.75`,stopColor:`#7256FF`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.337`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.29`,stopColor:`#FF8100`}),d=(0,l.jsx)(`stop`,{offset:`.56`,stopColor:`#FF2358`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`-.391`,x2:`24.393`,y1:`7.671`,y2:`61.125`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M59.875 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.942a4.1 4.1 0 0 0-.325 1.639l.15 18.328A4.125 4.125 0 0 0 10.101 64h17.666c.805 0 1.593-.235 2.266-.678l32.109-21.108A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.875 0`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M14.987 6H4.126A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.184A4.125 4.125 0 0 0 9.572 64H24.97a4.125 4.125 0 0 0 4.125-4.126l-.004-18.504c0-.426-.067-.85-.196-1.254L18.917 8.87A4.13 4.13 0 0 0 14.987 6z`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.19a4.125 4.125 0 0 0-4.124 4.19L0 21c.019 1.181.786 2.531 1.683 3.3l38.158 32.706c.748.641 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.189-.514-2.32-1.41-3.104L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h6.442q1.575 0 2.776.579t1.849 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.658 1.068-1.875 1.651-1.216.584-2.824.584h-3.43v5.67h-2.926zm7.54 6.63q.552-.274.852-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.631 1.763h3.194L29.05 32h-3.355zM31.633 16.992h4.073l3.087 9.85.257 1.287.225-1.286 2.98-9.85h4.138v15.005h-2.894V21.29l.043-.782-3.494 11.49h-2.123l-3.451-11.415.043.707v10.708h-2.883V16.992z`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},x=e=>{let t=(0,s.c)(23),[n,r]=u(`rustrover`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.08`,stopColor:`#00D886`}),a=(0,l.jsx)(`stop`,{offset:`.46`,stopColor:`#FFAB00`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.125`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.19`,stopColor:`#FFAB00`}),d=(0,l.jsx)(`stop`,{offset:`.83`,stopColor:`#FF004C`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h6.442q1.575 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.659 1.068-1.875 1.651-1.217.584-2.824.584h-3.43v5.67h-2.927zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L43.651 32h-3.355z`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},S=e=>{let t=(0,s.c)(23),[n,r]=u(`webstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.22`,stopColor:`#F0EB18`}),a=(0,l.jsx)(`stop`,{offset:`.59`,stopColor:`#00C4F4`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.19`,stopColor:`#00C4F4`}),d=(0,l.jsx)(`stop`,{offset:`.83`,stopColor:`#007DFE`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.337`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#F0EB18`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM19.051 16.992l2.423 10.955 2.583-10.955h2.958l2.701 10.955 2.348-10.955h2.97l-3.645 15.006h-3.334l-2.53-10.9-2.561 10.9H19.64l-3.623-15.006zM38.662 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.335-.251q.573-.252.889-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.008 0 1.934.186 2.734.558q1.2.558 1.87 1.549t.68 2.277h-2.925q0-.546-.29-.98c-.29-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.55.557q1.105.226 1.968.852a4.45 4.45 0 0 1 1.345 1.544 4.2 4.2 0 0 1 .482 1.999q0 1.329-.702 2.385-.702 1.054-1.966 1.656-1.266.6-2.894.6-1.63 0-2.889-.59`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x};export{h as a,v as c,x as d,S as f,m as i,y as l,a as m,f as n,g as o,o as p,p as r,_ as s,d as t,b as u};
|
|
1
|
+
import{i as e,t}from"./react-PSPkXoKo.js";import{t as n}from"./compiler-runtime-BNrXlsa1.js";import{Mi as r,Oi as i}from"./composerDraftStore-xu3n5gdX.js";var a=i(`folder-closed`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M2 10h20`,key:`1ir3d8`}]]),o=i(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]),s=n(),c=e(t(),1),l=r(),u=(e,t)=>{let n=(0,s.c)(7),r=(0,c.useId)(),i;if(n[0]!==t||n[1]!==r||n[2]!==e){let a;n[4]!==r||n[5]!==e?(a=(t,n)=>`${r}-${e}-${String.fromCharCode(97+n)}`,n[4]=r,n[5]=e,n[6]=a):a=n[6],i=Array.from({length:t},a),n[0]=t,n[1]=r,n[2]=e,n[3]=i}else i=n[3];return i},d=e=>{let t=(0,s.c)(23),[n,r]=u(`aqua`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.25`,stopColor:`#7256FF`}),a=(0,l.jsx)(`stop`,{offset:`.73`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#00D886`}),d=(0,l.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`7.671`,x2:`61.125`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124L21 64c1.181-.019 2.531-.786 3.3-1.683l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.746 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.003-3.961c0-2.187.334-2.778 1.003-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.917-1.014c1.443 0 2.739.338 3.907 1.013a7.3 7.3 0 0 1 2.75 2.787q.996 1.774.996 3.961c0 2.187-.332 2.778-.997 3.96a7.3 7.3 0 0 1-2.749 2.788q-1.752 1.013-3.907 1.013c-1.436 0-2.75-.338-3.917-1.013m6.308-2.23q1.06-.67 1.661-1.854.6-1.185.6-2.664t-.6-2.664a4.6 4.6 0 0 0-1.661-1.854q-1.061-.67-2.39-.67t-2.396.67a4.6 4.6 0 0 0-1.672 1.854q-.605 1.185-.605 2.664t.605 2.664 1.672 1.854q1.067.67 2.396.67 1.33 0 2.39-.67m-2.16 6.034a2.67 2.67 0 0 1-1.126-1.077q-.391-.696-.391-1.64l-.01-1.94h2.743v1.811q0 .332.129.573.128.242.37.365.24.123.574.123h1.833v2.165h-2.412q-.975 0-1.71-.38M38.233 16.992h3.173l5.563 15.006h-2.947l-1.212-3.483h-5.842l-1.136 3.483H32.82zm3.805 9.261-2.025-5.723-.225-.954-.215.954-1.908 5.723z`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},f=e=>{let t=(0,s.c)(23),[n,r]=u(`clion`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.29`,stopColor:`#009AE5`}),a=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),d=(0,l.jsx)(`stop`,{offset:`.54`,stopColor:`#009AE5`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.393`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#FF2D90`,d:`M58 16.453V4.194A4.125 4.125 0 0 0 53.81.07L43.003.008c-1.18.019-2.535.781-3.304 1.678L6.993 39.844c-.64.748-.993 1.7-.993 2.684v11.35a4.125 4.125 0 0 0 4.125 4.125h11.003c1.19 0 2.321-.514 3.105-1.409L56.979 19.17A4.12 4.12 0 0 0 58 16.453`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.747 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96a7.3 7.3 0 0 1 2.744-2.787q1.747-1.013 3.901-1.014 1.823 0 3.345.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.355 2.793h-3.065a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.431-.95 4.9 4.9 0 0 0-1.822-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664a4.9 4.9 0 0 0 1.822-.332 4.02 4.02 0 0 0 2.326-2.38h3.065a6.44 6.44 0 0 1-1.355 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.345.675-2.154 0-3.901-1.013zM37.33 16.992v12.37h7.117v2.636H34.414V16.992z`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},p=e=>{let t=(0,s.c)(23),[n,r]=u(`datagrip`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.28`,stopColor:`#7256FF`}),a=(0,l.jsx)(`stop`,{offset:`.66`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#FF43F2`}),d=(0,l.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.125 4.125 0 0 0 53.9 0H36.234c-.806 0-1.593.236-2.267.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#FF43F2`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19L64 43c-.018-1.181-.785-2.531-1.682-3.3L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M35.426 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.333-2.778.997-3.96s1.58-2.112 2.744-2.787q1.747-1.013 3.902-1.014 1.746 0 3.221.622a6.9 6.9 0 0 1 2.487 1.747 6.36 6.36 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.927-1.228q-.585-.52-1.367-.803c-.782-.283-1.082-.284-1.683-.284q-1.329 0-2.401.664a4.6 4.6 0 0 0-1.678 1.828q-.605 1.163-.605 2.62c0 1.457.202 1.846.605 2.621a4.6 4.6 0 0 0 1.678 1.828q1.072.664 2.401.664 1.233 0 2.235-.461t1.592-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.356v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.625 2.525q-1.668.921-3.736.921c-1.38 0-2.737-.337-3.902-1.013z`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},m=e=>{let t=(0,s.c)(23),[n,r]=u(`dataspell`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.28`,stopColor:`#007DFE`}),a=(0,l.jsx)(`stop`,{offset:`.73`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.32`,stopColor:`#F0EB18`}),d=(0,l.jsx)(`stop`,{offset:`.55`,stopColor:`#007DFE`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.875`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#F0EB18`,d:`M58 16.45V4.191A4.125 4.125 0 0 0 53.81.067L43 0c-1.181.019-2.531.786-3.3 1.683L6.993 39.84c-.64.748-.993 1.7-.993 2.685v11.349A4.125 4.125 0 0 0 10.125 58h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.45`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M34.713 31.664q-1.26-.59-1.973-1.65t-.734-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.334-.251q.574-.252.89-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.511 0 1.933.186 2.733.558s1.424.888 1.871 1.549q.67.99.68 2.277h-2.926q0-.546-.289-.98c-.289-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.29.96 0 .621.403 1.028.402.407 1.098.579l2.552.557q1.103.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.481.917.482 1.999 0 1.329-.702 2.385-.702 1.054-1.967 1.656-1.265.6-2.894.6t-2.889-.59`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},h=e=>{let t=(0,s.c)(23),[n,r]=u(`goland`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.24`,stopColor:`#00D886`}),a=(0,l.jsx)(`stop`,{offset:`.51`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.27`,stopColor:`#007DFE`}),d=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#D249FC`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#00D886`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.13 4.13 0 0 0-1.44-3.066L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.124 4.124 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M19.748 31.243a7.3 7.3 0 0 1-2.743-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96s1.58-2.112 2.743-2.787q1.747-1.013 3.902-1.014 1.747 0 3.222.622a6.9 6.9 0 0 1 2.486 1.747 6.4 6.4 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.926-1.228q-.584-.52-1.367-.803c-.783-.283-1.083-.284-1.683-.284q-1.33 0-2.402.664a4.6 4.6 0 0 0-1.677 1.828q-.606 1.163-.606 2.62c0 1.457.202 1.846.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664 1.232 0 2.235-.461t1.591-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.357v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.626 2.525q-1.666.921-3.736.921c-2.07 0-2.737-.337-3.902-1.013zM36.271 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.002-3.961c0-2.187.333-2.778 1.002-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.918-1.014c1.443 0 2.738.338 3.907 1.013a7.3 7.3 0 0 1 2.749 2.787q.996 1.774.997 3.961c0 2.187-.333 2.778-.997 3.96s-1.581 2.113-2.75 2.788q-1.752 1.013-3.906 1.013c-1.437 0-2.75-.338-3.918-1.013m6.308-2.23q1.062-.67 1.662-1.854t.6-2.664-.6-2.664-1.662-1.854-2.39-.67-2.395.67a4.6 4.6 0 0 0-1.672 1.854q-.606 1.185-.606 2.664t.606 2.664 1.672 1.854 2.395.67q1.33 0 2.39-.67M33 44H17v3h16z`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},g=e=>{let t=(0,s.c)(23),[n,r]=u(`intellij-idea`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.1`,stopColor:`#FC801D`}),a=(0,l.jsx)(`stop`,{offset:`.59`,stopColor:`#FE2857`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`-.391`,x2:`24.392`,y1:`7.671`,y2:`61.126`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.21`,stopColor:`#FE2857`}),d=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#007EFF`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.336`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.191a4.125 4.125 0 0 0-4.124 4.19l.176 11.044a4.13 4.13 0 0 0 1.44 3.066l38.159 32.707c.747.64 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.19-.514-2.321-1.41-3.105L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M14.988 6H4.125A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.185A4.125 4.125 0 0 0 9.573 64h15.398a4.125 4.125 0 0 0 4.125-4.127L29.09 41.37c0-.426-.066-.849-.195-1.254l-9.98-31.245A4.13 4.13 0 0 0 14.988 6z`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M59.876 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.943a4.1 4.1 0 0 0-.325 1.638l.15 18.329A4.125 4.125 0 0 0 10.101 64h17.666c.806 0 1.593-.236 2.266-.678l32.11-21.109A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.876 0`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17 29.383h2.98v-9.775H17v-2.616h8.843v2.616h-2.98v9.775h2.98V32H17zM27.643 29.298h2.154a2.4 2.4 0 0 0 1.163-.279q.51-.279.788-.788.279-.51.279-1.163V16.992h2.926v10.28q0 1.35-.622 2.427a4.45 4.45 0 0 1-1.715 1.688q-1.092.612-2.454.611h-2.519z`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},_=e=>{let t=(0,s.c)(23),[n,r]=u(`phpstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.16`,stopColor:`#D249FC`}),a=(0,l.jsx)(`stop`,{offset:`.55`,stopColor:`#FF2D90`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),d=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#7256FF`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`4.067`,x2:`62.664`,y1:`4.326`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#D249FC`,d:`M58 16.446V4.187A4.125 4.125 0 0 0 53.81.063L42.765.239A4.13 4.13 0 0 0 39.7 1.68L6.993 39.837c-.64.748-.993 1.7-.993 2.685v11.35a4.125 4.125 0 0 0 4.125 4.124h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.446`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.323v4.47h3.323q.74 0 1.291-.273M32.572 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.611.278 1.404.278c.53 0 .952-.083 1.335-.251q.572-.252.89-.702c.317-.45.315-.643.315-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.647-.59q-1.073-.234-1.866-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.665-1.023 1.854-1.597 1.19-.573 2.702-.573c1.512 0 1.933.186 2.733.558q1.2.558 1.87 1.549t.681 2.277h-2.926q0-.546-.29-.98a1.9 1.9 0 0 0-.82-.676 2.9 2.9 0 0 0-1.216-.24q-.687 0-1.206.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.551.557q1.104.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.482.917.482 1.999 0 1.329-.701 2.385-.703 1.054-1.967 1.656-1.264.6-2.895.6-1.63 0-2.888-.59`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},v=e=>{let t=(0,s.c)(23),[n,r]=u(`pycharm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.1`,stopColor:`#00D886`}),a=(0,l.jsx)(`stop`,{offset:`.59`,stopColor:`#F0EB18`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.3`,stopColor:`#F0EB18`}),d=(0,l.jsx)(`stop`,{offset:`.7`,stopColor:`#00C4F4`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.933`,x2:`1.337`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.13 4.13 0 0 0 3.066-1.44l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.324v4.47h3.324q.74 0 1.291-.273M33.713 31.243a7.3 7.3 0 0 1-2.744-2.787q-.996-1.774-.996-3.961c0-2.187.332-2.778.996-3.96a7.3 7.3 0 0 1 2.744-2.787q1.748-1.013 3.902-1.014 1.823 0 3.344.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.356 2.793h-3.066a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.43-.95 4.9 4.9 0 0 0-1.823-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664.986 0 1.822-.332a4.02 4.02 0 0 0 2.326-2.38h3.066a6.44 6.44 0 0 1-1.356 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.344.675-2.154 0-3.902-1.013z`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},y=e=>{let t=(0,s.c)(23),[n,r]=u(`rider`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.21`,stopColor:`#007DFE`}),a=(0,l.jsx)(`stop`,{offset:`.55`,stopColor:`#FFB700`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.23`,stopColor:`#FFB700`}),d=(0,l.jsx)(`stop`,{offset:`.73`,stopColor:`#FF0A67`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#007DFE`,d:`M47.55 58h12.258a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.12 4.12 0 0 0-1.44-3.066L24.158 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h5.713q2.133 0 3.822.965a6.9 6.9 0 0 1 2.641 2.674q.954 1.71.954 3.864t-.953 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.822.964h-5.713zm8.028 11.876q1.008-.6 1.555-1.72t.547-2.653q0-1.534-.547-2.653-.547-1.12-1.555-1.721-1.008-.6-2.347-.6h-2.755v9.947h2.755q1.34 0 2.347-.6`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},b=e=>{let t=(0,s.c)(23),[n,r]=u(`rubymine`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.29`,stopColor:`#FF2358`}),a=(0,l.jsx)(`stop`,{offset:`.75`,stopColor:`#7256FF`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.337`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.29`,stopColor:`#FF8100`}),d=(0,l.jsx)(`stop`,{offset:`.56`,stopColor:`#FF2358`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`-.391`,x2:`24.393`,y1:`7.671`,y2:`61.125`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m=`url(#${n})`,h;t[11]===m?h=t[12]:(h=(0,l.jsx)(`path`,{fill:m,d:`M59.875 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.942a4.1 4.1 0 0 0-.325 1.639l.15 18.328A4.125 4.125 0 0 0 10.101 64h17.666c.805 0 1.593-.235 2.266-.678l32.109-21.108A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.875 0`}),t[11]=m,t[12]=h);let g=`url(#${r})`,_;t[13]===g?_=t[14]:(_=(0,l.jsx)(`path`,{fill:g,d:`M14.987 6H4.126A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.184A4.125 4.125 0 0 0 9.572 64H24.97a4.125 4.125 0 0 0 4.125-4.126l-.004-18.504c0-.426-.067-.85-.196-1.254L18.917 8.87A4.13 4.13 0 0 0 14.987 6z`}),t[13]=g,t[14]=_);let v,y,b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,l.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.19a4.125 4.125 0 0 0-4.124 4.19L0 21c.019 1.181.786 2.531 1.683 3.3l38.158 32.706c.748.641 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.189-.514-2.32-1.41-3.104L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h6.442q1.575 0 2.776.579t1.849 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.658 1.068-1.875 1.651-1.216.584-2.824.584h-3.43v5.67h-2.926zm7.54 6.63q.552-.274.852-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.631 1.763h3.194L29.05 32h-3.355zM31.633 16.992h4.073l3.087 9.85.257 1.287.225-1.286 2.98-9.85h4.138v15.005h-2.894V21.29l.043-.782-3.494 11.49h-2.123l-3.451-11.415.043.707v10.708h-2.883V16.992z`}),t[15]=v,t[16]=y,t[17]=b):(v=t[15],y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==_||t[20]!==p||t[21]!==h?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,h,_,v,y,b]}),t[18]=e,t[19]=_,t[20]=p,t[21]=h,t[22]=x):x=t[22],x},x=e=>{let t=(0,s.c)(23),[n,r]=u(`rustrover`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.08`,stopColor:`#00D886`}),a=(0,l.jsx)(`stop`,{offset:`.46`,stopColor:`#FFAB00`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.125`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.19`,stopColor:`#FFAB00`}),d=(0,l.jsx)(`stop`,{offset:`.83`,stopColor:`#FF004C`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h6.442q1.575 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.659 1.068-1.875 1.651-1.217.584-2.824.584h-3.43v5.67h-2.927zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L43.651 32h-3.355z`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x},S=e=>{let t=(0,s.c)(23),[n,r]=u(`webstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(`stop`,{offset:`.22`,stopColor:`#F0EB18`}),a=(0,l.jsx)(`stop`,{offset:`.59`,stopColor:`#00C4F4`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,l.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let c,d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(`stop`,{offset:`.19`,stopColor:`#00C4F4`}),d=(0,l.jsx)(`stop`,{offset:`.83`,stopColor:`#007DFE`}),t[4]=c,t[5]=d):(c=t[4],d=t[5]);let f;t[6]===r?f=t[7]:(f=(0,l.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.337`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[c,d]}),t[6]=r,t[7]=f);let p;t[8]!==o||t[9]!==f?(p=(0,l.jsxs)(`defs`,{children:[o,f]}),t[8]=o,t[9]=f,t[10]=p):p=t[10];let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,l.jsx)(`path`,{fill:`#F0EB18`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=m):m=t[11];let h=`url(#${n})`,g;t[12]===h?g=t[13]:(g=(0,l.jsx)(`path`,{fill:h,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=h,t[13]=g);let _=`url(#${r})`,v;t[14]===_?v=t[15]:(v=(0,l.jsx)(`path`,{fill:_,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=_,t[15]=v);let y,b;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),b=(0,l.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM19.051 16.992l2.423 10.955 2.583-10.955h2.958l2.701 10.955 2.348-10.955h2.97l-3.645 15.006h-3.334l-2.53-10.9-2.561 10.9H19.64l-3.623-15.006zM38.662 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.335-.251q.573-.252.889-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.008 0 1.934.186 2.734.558q1.2.558 1.87 1.549t.68 2.277h-2.925q0-.546-.29-.98c-.29-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.55.557q1.105.226 1.968.852a4.45 4.45 0 0 1 1.345 1.544 4.2 4.2 0 0 1 .482 1.999q0 1.329-.702 2.385-.702 1.054-1.966 1.656-1.266.6-2.894.6-1.63 0-2.889-.59`}),t[16]=y,t[17]=b):(y=t[16],b=t[17]);let x;return t[18]!==e||t[19]!==v||t[20]!==p||t[21]!==g?(x=(0,l.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[p,m,g,v,y,b]}),t[18]=e,t[19]=v,t[20]=p,t[21]=g,t[22]=x):x=t[22],x};export{h as a,v as c,x as d,S as f,m as i,y as l,a as m,f as n,g as o,o as p,p as r,_ as s,d as t,b as u};
|