(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,898970,e=>{"use strict";let t=(0,e.i(897012).default)("slack",[["rect",{width:"3",height:"8",x:"13",y:"2",rx:"1.5",key:"diqz80"}],["path",{d:"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5",key:"183iwg"}],["rect",{width:"3",height:"8",x:"8",y:"14",rx:"1.5",key:"hqg7r1"}],["path",{d:"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5",key:"76g71w"}],["rect",{width:"8",height:"3",x:"14",y:"13",rx:"1.5",key:"1kmz0a"}],["path",{d:"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5",key:"jc4sz0"}],["rect",{width:"8",height:"3",x:"2",y:"8",rx:"1.5",key:"1omvl4"}],["path",{d:"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5",key:"16f3cl"}]]);e.s(["default",0,t])},360154,e=>{"use strict";var t=e.i(898970);e.s(["Slack",()=>t.default])},270173,e=>{"use strict";var t=e.i(823506),r=e.i(42573),a=e.i(998297),i=e.i(532417),s=e.i(360154),l=e.i(476499),c=e.i(140581),n=e.i(407086);let h=[{label:"All Apps",href:e=>`/${e}/work-apps`,icon:a.Blocks,exact:!0},{label:"Slack",href:e=>`/${e}/work-apps/slack`,icon:s.Slack,exact:!1},{label:"GitHub",href:e=>`/${e}/work-apps/github`,icon:i.Github,exact:!1}];e.s(["WorkAppsNav",0,function(e){let a,i,s=(0,r.c)(5),{tenantId:o}=e,d=(0,c.usePathname)();return s[0]!==d||s[1]!==o?(a=h.map(e=>{let r=e.href(o),a=e.exact?d===r:d.startsWith(r);return(0,t.jsxs)(l.default,{href:r,className:(0,n.cn)("inline-flex items-center gap-2 px-3 h-full rounded-none border-0 border-b-2 bg-transparent font-mono text-sm uppercase transition-colors","mt-0.5 pt-2 pb-1.5",a?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"),children:[(0,t.jsx)(e.icon,{className:"size-4"}),e.label]},r)}),s[0]=d,s[1]=o,s[2]=a):a=s[2],s[3]!==a?(i=(0,t.jsx)("div",{className:"flex items-center justify-between border-b mb-6",children:(0,t.jsx)("div",{className:"flex items-center gap-3",children:(0,t.jsx)("nav",{className:"flex h-10 items-end gap-4",children:a})})}),s[3]=a,s[4]=i):i=s[4],i}])}]);