UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 19.9 kB
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.16.1"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-BW6xDdqj.js","./core-legacy-VD8c7QJ-.js","./src-legacy-B67uuxhB.js","./_plugin-vue_export-helper-legacy-DFdC_I5Z.js","./users.store-legacy-azRUgFdP.js","./MainSidebarHeader-legacy-CL7iCrfF.js","./constants-legacy-2_ytuuS3.js","./useRootStore-legacy-CC08el-l.js","./settings.store-legacy-I6rZOvfF.js","./versions.store-legacy-4XCrklbY.js","./usePageRedirectionHelper-legacy-DQM99rgh.js","./useBugReporting-legacy-CtmboJIq.js","./constants-legacy-Bi9z6I7b.js","./constants-legacy-BcVFPXMl.js","./sourceControl.eventBus-legacy-D6Lya4Yv.js","./useKeybindings-legacy-i79qEe1h.js","./useGlobalEntityCreation-legacy-UTiP4Bp_.js","./useSettingsItems-legacy-DFliaKBv.js","./resourceCenter.store-legacy-toSo3KNm.js"],(function(e,t){var a,s,o,n,l,i,r,c,d,p,u,_,b,m,v,g,f,h,y,x,k,j,w,C,T,E,q,R,S,I,$,A,B,M,W,z,P,N,L,O,D,F,U,H,K,V,G,Q,J,X,Z,Y,ee,te,ae,se,oe,ne,le,ie,re,ce,de,pe,ue,_e,be,me,ve,ge,fe,he,ye,xe,ke,je,we;return{setters:[function(e){a=e.$,s=e.A,o=e.C,n=e.E,l=e.Ft,i=e.K,r=e.N,c=e.S,d=e.Sn,p=e.T,u=e.W,_=e.Wt,b=e.X,m=e.Z,v=e._,g=e._n,f=e.gt,h=e.j,y=e.q,x=e.rt,k=e.w,j=e.y,w=e.yn,C=e.yt},function(e){T=e.at},function(e){E=e.A,q=e.Di,R=e.H,S=e.Qi,I=e.Xi,$=e.Zi,A=e.ct,B=e.lt,M=e.m},function(e){W=e.t},function(e){z=e.An,P=e.Mn,N=e.Nn,L=e.ai,O=e.fr,D=e.hr,F=e.oi,U=e.qt,H=e.r,K=e.s,V=e.si,G=e.t},function(e){Q=e.n,J=e.r,X=e.t},function(e){Z=e.$o,Y=e.Bo,ee=e.Ds,te=e.Jc,ae=e.Kc,se=e.Qo,oe=e.sc},function(e){ne=e.t},function(e){le=e.t},function(e){ie=e.t},function(e){re=e.t},function(e){ce=e.n,de=e.t},function(e){pe=e.c},function(e){ue=e.r},function(e){_e=e.t},function(e){be=e.t},function(e){me=e.t},function(e){ve=e.t},function(e){ge=e.t}],execute:function(){(fe=document.createElement("style")).textContent="._sync_pfkpq_125{display:flex}._sync_pfkpq_125 button{font-size:var(--font-size--2xs);border-radius:0}._sync_pfkpq_125._collapsed_pfkpq_132{padding:var(--spacing--2xs) 0 0}._icon_pfkpq_136{padding:var(--spacing--4xs) var(--spacing--xs);justify-content:center;align-items:center;gap:var(--spacing--3xs);width:100%;height:100%;display:flex}._buttonContainer_pfkpq_146{justify-content:center;align-items:center;display:flex}._connected_pfkpq_152{border-top:var(--border);justify-content:center;align-items:center;width:100%;display:flex}._branchName_pfkpq_160{white-space:normal;line-break:anywhere;margin-top:-1px}._collapsed_pfkpq_132{text-align:center;padding-top:var(--spacing--4xs);flex-direction:column-reverse}._collapsed_pfkpq_132 ._connected_pfkpq_152{flex-direction:column-reverse;padding-right:0}._collapsed_pfkpq_132 ._connected_pfkpq_152 span[data-grace-area-trigger]{width:100%}._collapsed_pfkpq_132 ._connected_pfkpq_152 button{width:100%!important}._collapsed_pfkpq_132 ._connected_pfkpq_152 ._icon_pfkpq_136{width:100%;padding:var(--spacing--3xs) 0;justify-content:center}._collapsed_pfkpq_132 ._buttonContainer_pfkpq_146{flex-flow:column;justify-content:stretch;align-items:center;width:100%}._projects_65xj9_125{align-items:start;gap:var(--spacing--3xs);width:100%}._projects_65xj9_125:hover ._plusBtn_65xj9_130{display:block}._projectItems_65xj9_134{padding:var(--spacing--2xs) var(--spacing--3xs)}._upgradeLink_65xj9_138{color:var(--color--primary);cursor:pointer}._projectsLabel_65xj9_143{text-overflow:ellipsis;box-sizing:border-box;padding:0 var(--spacing--xs);margin-top:var(--spacing--2xs);justify-content:space-between;display:flex;overflow:hidden}._projectsLabel_65xj9_143._collapsed_65xj9_152{justify-content:center;margin-left:0;padding:0}._plusBtn_65xj9_130{color:var(--color--text--tint-1);margin:0;padding:0;display:none}._addFirstProjectBtn_65xj9_165{font-size:var(--font-size--xs);margin:0 var(--spacing--xs);width:calc(100% - var(--spacing--xs) * 2)}._addFirstProjectBtn_65xj9_165._collapsed_65xj9_152{display:none}._home_65xj9_174{padding:0 var(--spacing--3xs) var(--spacing--2xs)}._home_65xj9_174._collapsed_65xj9_152{border-bottom:var(--border)}._triggerContainer_vqbgd_125{z-index:9999;pointer-events:auto}._tooltipTrigger_vqbgd_130{opacity:0;width:1px;height:1px}._tooltipContent_vqbgd_136{align-items:flex-start;gap:var(--spacing--2xs);display:flex}._text_vqbgd_142{font-size:var(--font-size--2xs);line-height:var(--line-height--md);flex:1}._dismissButton_vqbgd_148{cursor:pointer;color:var(--color--text--tint-1);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;padding:0;display:flex}._dismissButton_vqbgd_148:hover{color:var(--color--text)}._sideMenu_oveah_125{border-right:var(--border);background-color:var(--menu--color--background,var(--color--background--light-2));flex-direction:column;height:100%;display:flex;position:relative}._sideMenu_oveah_125._sideMenuCollapsed_oveah_133{width:42px;min-width:auto}._scrollAreaWrapper_oveah_138{min-height:0;padding-top:var(--spacing--2xs);flex-direction:column;flex:1;display:flex;position:relative}._scrollAreaWrapperWithBottomBorder_oveah_147{border-bottom:var(--border)}._scrollAreaWrapperWithTopBorder_oveah_151{border-top:var(--border)}\n/*$vite$:1*/",document.head.appendChild(fe);try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(Ce=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[Ce]="5020b2d0-dad1-4197-9e80-f75b84793485",t._sentryDebugIdIdentifier="sentry-dbid-5020b2d0-dad1-4197-9e80-f75b84793485")}catch(t){}var t,Ce;he=r({__name:"MainSidebarSourceControl",props:{isCollapsed:{type:Boolean}},setup(e){const t=F(),i=L(),r=T(),u=A(),b=B(),m=l(300),v=c((()=>t.preferences.branchName)),f=c((()=>V(["rbac"],{rbac:{scope:"sourceControl:push"}})||i.myProjects.some((e=>"team"===e.type&&Y(e?.scopes)?.sourceControl?.push)))),y=c((()=>V(["rbac"],{rbac:{scope:"sourceControl:pull"}}))),x=c((()=>t.isEnterpriseSourceControlEnabled&&(y.value||f.value))),j=c((()=>function(e){const t=e.replace("#",""),a=parseInt(t.slice(0,2),16)/255,s=parseInt(t.slice(2,4),16)/255,o=parseInt(t.slice(4,6),16)/255,n=e=>e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4);return.2126*n(a)+.7152*n(s)+.0722*n(o)>.5?"#000000":"#ffffff"}(t.preferences.branchColor)));async function E(){b.push({query:{...u.query,sourceControl:"push"}})}function R(){b.push({query:{...u.query,sourceControl:"pull"}})}return(l,i)=>x.value?(a(),n("div",{key:0,class:g({[l.$style.sync]:!0,[l.$style.collapsed]:e.isCollapsed,[l.$style.isConnected]:_(t).isEnterpriseSourceControlEnabled}),"data-test-id":"main-sidebar-source-control"},[_(t).preferences.connected&&_(t).preferences.branchName?(a(),n("div",{key:0,class:g(l.$style.connected),"data-test-id":"main-sidebar-source-control-connected"},[e.isCollapsed?(a(),k(_(q),{key:0,"show-after":m.value,placement:"right","avoid-collisions":!1},{content:C((()=>[o("div",null,d(v.value),1)])),default:C((()=>[o("div",{class:g(l.$style.icon),style:w({color:j.value,background:_(t).preferences.branchColor})},[h(_(S),{icon:"git-branch",size:"small"})],6)])),_:1},8,["show-after"])):(a(),n("div",{key:1,class:g(l.$style.icon),style:w({color:j.value,background:_(t).preferences.branchColor})},[h(_(S),{icon:"git-branch",size:"small"}),h(_(I),{bold:"",size:"small",class:g(l.$style.branchName)},{default:C((()=>[s(d(v.value),1)])),_:1},8,["class"])],6)),o("div",{class:g(l.$style.buttonContainer)},[h(_(q),{disabled:!e.isCollapsed&&y.value,"show-after":m.value,placement:e.isCollapsed?"right":"top"},{content:C((()=>[o("div",null,d(y.value?_(r).baseText("settings.sourceControl.button.pull"):_(r).baseText("settings.sourceControl.button.pull.forbidden")),1)])),default:C((()=>[h(_($),{variant:"ghost",size:"xsmall","data-test-id":"main-sidebar-source-control-pull",icon:"arrow-down",disabled:!y.value,label:e.isCollapsed?"":_(r).baseText("settings.sourceControl.button.pull"),onClick:R},null,8,["disabled","label"])])),_:1},8,["disabled","show-after","placement"]),h(_(q),{disabled:!e.isCollapsed&&!_(t).preferences.branchReadOnly&&f.value,"show-after":m.value,placement:e.isCollapsed?"right":"top"},{content:C((()=>[o("div",null,d(_(t).preferences.branchReadOnly||!f.value?_(r).baseText("settings.sourceControl.button.push.forbidden"):_(r).baseText("settings.sourceControl.button.push")),1)])),default:C((()=>[h(_($),{variant:"ghost",size:"xsmall","data-test-id":"main-sidebar-source-control-push",icon:"arrow-up",label:e.isCollapsed?"":_(r).baseText("settings.sourceControl.button.push"),disabled:_(t).preferences.branchReadOnly||!f.value,onClick:E},null,8,["label","disabled"])])),_:1},8,["disabled","show-after","placement"])],2)],2)):p("",!0)],2)):p("",!0)}}),ye=W(he,[["__cssModules",{$style:{sync:"_sync_pfkpq_125",collapsed:"_collapsed_pfkpq_132",icon:"_icon_pfkpq_136",buttonContainer:"_buttonContainer_pfkpq_146",connected:"_connected_pfkpq_152",branchName:"_branchName_pfkpq_160"}}]]),xe=r({__name:"ProjectNavigation",props:{collapsed:{type:Boolean},planName:{}},setup(e){const t=e,l=T(),r=me(),u=L(),b=le(),m=G(),f=c((()=>r.displayProjects.value)),j=c((()=>b.isFoldersFeatureEnabled)),w=c((()=>b.isChatFeatureEnabled&&V(["rbac"],{rbac:{scope:"chatHub:message"}}))),E=c((()=>b.isModuleActive("instance-ai"))),q=c((()=>m.allUsers.filter((e=>!e.isPendingUser)).length>1)),S=c((()=>({id:"home",label:l.baseText("projects.menu.overview"),icon:"house",route:{to:{name:se.HOMEPAGE}}}))),$=c((()=>({id:"shared",label:l.baseText("projects.menu.shared"),icon:"share",route:{to:{name:se.SHARED_WITH_ME}}}))),A=e=>({id:e.id,label:e.name??"",icon:e.icon,route:{to:{name:se.PROJECTS_WORKFLOWS,params:{projectId:e.id}}}}),B=c((()=>({id:u.personalProject?.id??"",label:l.baseText("projects.menu.personal"),icon:"user",route:{to:{name:se.PROJECTS_WORKFLOWS,params:{projectId:u.personalProject?.id}}}}))),M=c((()=>(Array.isArray(u.projectNavActiveId)?u.projectNavActiveId[0]:u.projectNavActiveId)??void 0)),W=c((()=>({id:"instance-ai",icon:"sparkles",label:"Instance AI",route:{to:{name:ue}}}))),z=c((()=>({id:"chat",icon:"message-circle",label:l.baseText("projects.menu.chat"),position:"bottom",route:{to:{name:pe}},beta:!0})));async function P(){await u.getMyProjects()}return i((async()=>{await m.fetchUsers({filter:{isPending:!1},take:2}),_e.on("pull",P)})),y((()=>{_e.off("pull",P)})),(e,i)=>(a(),n("div",{class:g(e.$style.projects)},[o("div",{class:g([e.$style.home,t.collapsed?e.$style.collapsed:""])},[h(_(R),{item:S.value,compact:t.collapsed,active:"home"===M.value,"data-test-id":"project-home-menu-item"},null,8,["item","compact","active"]),_(u).isTeamProjectFeatureEnabled||j.value?(a(),k(_(R),{key:0,item:B.value,compact:t.collapsed,active:M.value===B.value.id,"data-test-id":"project-personal-menu-item"},null,8,["item","compact","active"])):p("",!0),(_(u).isTeamProjectFeatureEnabled||j.value)&&q.value?(a(),k(_(R),{key:1,item:$.value,compact:t.collapsed,active:"shared"===M.value,"data-test-id":"project-shared-menu-item"},null,8,["item","compact","active"])):p("",!0),E.value?(a(),k(_(R),{key:2,item:W.value,compact:t.collapsed,active:"instance-ai"===M.value,"data-test-id":"project-instance-ai-menu-item"},null,8,["item","compact","active"])):p("",!0),w.value?(a(),k(_(R),{key:3,item:z.value,compact:t.collapsed,active:"chat"===M.value,"data-test-id":"project-chat-menu-item"},null,8,["item","compact","active"])):p("",!0)],2),!t.collapsed&&_(u).isTeamProjectFeatureEnabled&&f.value.length>0?(a(),k(_(I),{key:0,class:g([e.$style.projectsLabel]),size:"small",bold:"",role:"heading",color:"text-light"},{default:C((()=>[s(d(_(l).baseText("projects.menu.title")),1)])),_:1},8,["class"])):p("",!0),_(u).isTeamProjectFeatureEnabled||j.value?(a(),n("div",{key:1,class:g(e.$style.projectItems)},[(a(!0),n(v,null,x(f.value,(s=>(a(),k(_(R),{key:s.id,class:g({[e.$style.collapsed]:t.collapsed}),item:A(s),compact:t.collapsed,active:M.value===s.id,"data-test-id":"project-menu-item"},null,8,["class","item","compact","active"])))),128))],2)):p("",!0)],2))}}),ke=W(xe,[["__cssModules",{$style:{projects:"_projects_65xj9_125",plusBtn:"_plusBtn_65xj9_130",projectItems:"_projectItems_65xj9_134",upgradeLink:"_upgradeLink_65xj9_138",projectsLabel:"_projectsLabel_65xj9_143",collapsed:"_collapsed_65xj9_152",addFirstProjectBtn:"_addFirstProjectBtn_65xj9_165",home:"_home_65xj9_174"}}]]),je=W(r({__name:"ResourceCenterTooltip",setup(e){const t=ge(),{isCollapsed:s}=J(),{markResourceCenterTooltipDismissed:i,trackResourceCenterTooltipView:r,trackResourceCenterTooltipDismiss:v}=t,y=T(),x=l(),E=l(!1),R=l({top:0,left:0}),I=l(0),$=c((()=>t.shouldShowResourceCenterTooltip)),A=c((()=>y.baseText("experiments.resourceCenter.tooltip.text"))),B=()=>{const e=document.querySelector('[data-test-id="menu-item"][id="resource-center"]');if(!e)return;const t=e.getBoundingClientRect();R.value={top:t.top+t.height/2-5,left:t.right},I.value++},M=()=>{E.value=!1},W=()=>{v(),i(),M()},z=()=>{E.value&&B()},P=()=>{E.value&&setTimeout((()=>{B()}),500)};f($,(async e=>{e?await(async()=>{E.value=!0,r(),await u(),B()})():M()}),{immediate:!0}),f(s,(async()=>{E.value&&(await u(),setTimeout((()=>{B()}),300))}));let N=null;return b((()=>{window.addEventListener("resize",z),window.addEventListener("scroll",z);const e=document.getElementById("content");e&&(N=new ResizeObserver(P),N.observe(e))})),m((()=>{window.removeEventListener("resize",z),window.removeEventListener("scroll",z),N&&(N.disconnect(),N=null)})),(e,t)=>(a(),k(j,{to:"body"},[E.value&&$.value?(a(),n("div",{ref_key:"tooltipRef",ref:x,key:I.value,class:g(e.$style.triggerContainer),style:w({position:"fixed",top:R.value.top+"px",left:R.value.left+"px"})},[h(_(q),{visible:!0,placement:"right","show-arrow":!0,"popper-style":{maxWidth:"260px",minWidth:"240px"}},{content:C((()=>[o("div",{class:g(e.$style.tooltipContent)},[o("span",{class:g(e.$style.text)},d(A.value),3),o("button",{class:g(e.$style.dismissButton),type:"button","aria-label":"Dismiss tooltip",onClick:W},[h(_(S),{icon:"x",size:"small"})],2)],2)])),default:C((()=>[o("div",{class:g(e.$style.tooltipTrigger)},null,2)])),_:1})],6)):p("",!0)]))}}),[["__cssModules",{$style:{triggerContainer:"_triggerContainer_vqbgd_125",tooltipTrigger:"_tooltipTrigger_vqbgd_130",tooltipContent:"_tooltipContent_vqbgd_136",text:"_text_vqbgd_142",dismissButton:"_dismissButton_vqbgd_148"}}]]),we=W(r({__name:"MainSidebar",setup(e){const t=N(),s=ne(),n=le(),i=U(),r=H(),d=ie(),p=K(),m=ge(),v=T(),x=B(),j=O(),q=re(),{getReportingURL:R}=de(),{applyExperiment:S}=function(){const e=D(),t=H();return{applyExperiment:()=>{if(null===t.sidebarMenuCollapsed){const a=e.getVariant(te.name)===te.variant;t.sidebarMenuCollapsed=!a,a&&localStorage.setItem(oe,"200")}}}}();S();const{isCollapsed:I,sidebarWidth:$,onResizeStart:A,onResize:W,onResizeEnd:L,toggleCollapse:F}=J(),{settingsItems:G}=ve(),Y=l(""),pe=l(),ue=l(!1),_e=l(!1);let me=null;const fe=c((()=>d.hasVersionUpdates||d.whatsNewArticles.some((e=>!d.isWhatsNewArticleRead(e.id))))),he=c((()=>m.isFeatureEnabled())),xe=c((()=>m.getCurrentVariant()===ae.variantInspiration?v.baseText("experiments.resourceCenter.sidebar.inspiration"):v.baseText("experiments.resourceCenter.sidebar"))),we=c((()=>[{id:"cloud-admin",position:"bottom",label:"Admin Panel",icon:"cloud",available:n.isCloudDeployment&&V(["instanceOwner"])},{id:"resource-center",icon:"lightbulb",label:xe.value,position:"bottom",available:he.value,route:{to:{name:se.RESOURCE_CENTER}}},{id:"templates",icon:"package-open",label:v.baseText("generic.templates"),position:"bottom",available:n.isTemplatesEnabled&&i.hasCustomTemplatesHost&&!he.value,route:{to:{name:se.TEMPLATES}}},{id:"templates",icon:"package-open",label:v.baseText("generic.templates"),position:"bottom",available:n.isTemplatesEnabled&&!i.hasCustomTemplatesHost&&!he.value,link:{href:i.websiteTemplateRepositoryURL,target:"_blank"}},{id:"insights",icon:"chart-column-decreasing",label:"Insights",position:"bottom",route:{to:{name:se.INSIGHTS}},available:n.isModuleActive("insights")&&V(["rbac"],{rbac:{scope:"insights:list"}})},{id:"help",icon:"circle-help",label:v.baseText("mainSidebar.help"),notification:fe.value,position:"bottom",children:[{id:"quickstart",icon:"video",label:v.baseText("mainSidebar.helpMenuItems.quickstart"),link:{href:ce.QUICKSTART_VIDEO,target:"_blank"}},{id:"docs",icon:"book",label:v.baseText("mainSidebar.helpMenuItems.documentation"),link:{href:ce.DOCUMENTATION,target:"_blank"}},{id:"forum",icon:"users",label:v.baseText("mainSidebar.helpMenuItems.forum"),link:{href:ce.FORUM,target:"_blank"}},{id:"examples",icon:"graduation-cap",label:v.baseText("mainSidebar.helpMenuItems.course"),link:{href:ce.COURSES,target:"_blank"}},{id:"report-bug",icon:"bug",label:v.baseText("mainSidebar.helpMenuItems.reportBug"),link:{href:R(),target:"_blank"}},{id:"about",icon:"info",label:v.baseText("mainSidebar.aboutN8n"),position:"bottom"}]},{id:"settings",label:v.baseText("mainSidebar.settings"),icon:"settings",available:!0,children:G.value}])),Ce=c((()=>we.value.filter((e=>!1!==e.available)))),Te=()=>{const e=pe.value?.getScrollPosition();if(e&&pe.value?.$el){const t=pe.value.$el,a=e.height>t.clientHeight;ue.value=a,_e.value=a&&e.top>0}};f(I,(()=>{u((()=>{Te()}))})),b((()=>{Y.value=s.baseUrl,u((()=>{if(Te(),pe.value?.$el){const e=pe.value.$el;me=new ResizeObserver((()=>{Te()})),me.observe(e),Te()}})),window.addEventListener("resize",Te)})),y((()=>{me&&(me.disconnect(),me=null),window.removeEventListener("resize",Te)}));const Ee=e=>{j.track("User clicked help resource",{type:e,workflow_id:p.workflowId})};function qe(e){e.stopPropagation(),u((()=>{const e=new KeyboardEvent("keydown",{key:"k",code:"KeyK",metaKey:!0,bubbles:!0,cancelable:!0});document.dispatchEvent(e)}))}const Re=e=>{switch(e){case"resource-center":m.markResourceCenterTooltipDismissed();break;case"about":Ee("about"),r.openModal(Z);break;case"cloud-admin":q.goToDashboard();break;case"quickstart":case"docs":case"forum":case"examples":Ee(e);break;case"templates":P(z.sidebarButton);break;case"insights":j.track("User clicked insights link from side menu");break;default:if(e.startsWith("whats-new-article-")){const t=Number(e.replace("whats-new-article-",""));j.track("User clicked on what's new section",{article_id:t}),r.openModalWithData({name:ee,data:{articleId:t}})}}},Se=()=>{x.push({name:se.SIGNOUT})};return be({ctrl_alt_o:()=>Re("about"),bracketleft:()=>F()}),(e,s)=>(a(),k(_(E),{id:"side-menu",class:g({[e.$style.sideMenu]:!0,[e.$style.sideMenuCollapsed]:_(I)}),width:_($),style:w({width:`${_($)}px`}),"supported-directions":["right"],"min-width":200,"max-width":500,"grid-size":8,onResizestart:_(A),onResize:_(W),onResizeend:_(L)},{default:C((()=>[h(X,{"is-collapsed":_(I),onCollapse:_(F),onOpenCommandBar:qe},null,8,["is-collapsed","onCollapse"]),o("div",{class:g({[e.$style.scrollAreaWrapper]:!0,[e.$style.scrollAreaWrapperWithBottomBorder]:ue.value&&!_(I),[e.$style.scrollAreaWrapperWithTopBorder]:_e.value&&!_(I)})},[h(_(M),{ref_key:"scrollAreaRef",ref:pe,onScrollCapture:Te},{default:C((()=>[h(ke,{collapsed:_(I),"plan-name":_(t).currentPlanData?.displayName},null,8,["collapsed","plan-name"])])),_:1},512)],2),h(Q,{items:Ce.value,"is-collapsed":_(I),onLogout:Se,onSelect:Re},null,8,["items","is-collapsed"]),h(ye,{"is-collapsed":_(I)},null,8,["is-collapsed"]),h(je)])),_:1},8,["class","width","style","onResizestart","onResize","onResizeend"]))}}),[["__cssModules",{$style:{sideMenu:"_sideMenu_oveah_125",sideMenuCollapsed:"_sideMenuCollapsed_oveah_133",scrollAreaWrapper:"_scrollAreaWrapper_oveah_138",scrollAreaWrapperWithBottomBorder:"_scrollAreaWrapperWithBottomBorder_oveah_147",scrollAreaWrapperWithTopBorder:"_scrollAreaWrapperWithTopBorder_oveah_151"}}]]),e("t",r({__name:"AppSidebar",setup:e=>(e,t)=>(a(),k(we))}))}}})); //# sourceMappingURL=AppSidebar-legacy-CLfK12_O.js.map