import{u as o,a as l}from"./index.ac9b4c61.js";import{d as w,r as u,b as n,ew as h,f as c,u as t,e as K,c as d,ey as b,L as A}from"./outputWidgets.7dd23d3d.js";import{P as B}from"./PlayerNavbar.a89c1e87.js";import{K as D,_ as I,A as L,P as N}from"./TableView.vue_vue_type_script_setup_true_lang.3ab66d14.js";import{a as S}from"./asyncComputed.8f047c40.js";import{g as x}from"./api.8ecad6bb.js";import{A as P}from"./index.9537074d.js";import"./fetch.55a475bd.js";import"./pubsub.692bcdfa.js";import"./PhKanban.vue.b32a2861.js";import"./PhSignOut.vue.0b43dbfe.js";import"./Text.8f0caa1d.js";import"./Base.4bf9624b.js";import"./index.63d9c692.js";import"./Link.ffd51525.js";import"./Paragraph.7df229fc.js";import"./Title.0952eb37.js";import"./index.3a6370f6.js";import"./vuedraggable.umd.9e3b6699.js";import"./workspaces.299c954e.js";import"./runnerData.13e158ee.js";import"./url.6301f7e9.js";import"./record.4544f931.js";import"./scripts.20bb39cb.js";import"./envVars.edb75e83.js";import"./api.9b0a26a8.js";import"./metadata.306bd23a.js";import"./PhCheckCircle.vue.6ee8bb44.js";import"./PhScroll.vue.18efaca2.js";import"./PhWebhooksLogo.vue.67e83944.js";import"./ant-design.410c5d74.js";import"./index.667384b8.js";import"./Modal.5fb5fcda.js";import"./index.8d63ab0d.js";import"./index.a5cb16ca.js";import"./index.bda542d5.js";import"./index.90ad5190.js";import"./CollapsePanel.c7d8ef37.js";import"./index.42ade5ee.js";import"./index.7c32ff54.js";import"./isNumeric.75337b1e.js";import"./Card.fee12f7e.js";import"./TabPane.d692f77b.js";import"./hasIn.7d5dcda7.js";import"./LoadingOutlined.bc742123.js";import"./index.063cef17.js";import"./Form.9f41d3b4.js";import"./string.8d4f9524.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1f9a83da-089c-43c7-8592-cc1882979547",e._sentryDebugIdIdentifier="sentry-dbid-1f9a83da-089c-43c7-8592-cc1882979547")}catch{}})();const T={style:{padding:"20px"}},Le=w({__name:"Threads",setup(e){const a=new N(o),s=new A(L,"kanban-selected-stages"),f=u(o.getUser()),g=["Kanban","Table view"],r=u("Kanban"),{result:y}=S(x),v=({path:i})=>{l.push({name:"form",params:{path:i.split("/")}})},k=()=>{o.removeUser(),l.push({name:"playerHome"})};return(i,m)=>{var p;return n(),h("div",null,[c(B,{"runner-data":t(y),"is-kanban-visible":!1,"user-email":(p=f.value)==null?void 0:p.claims.email,onLogout:k,onNavigate:v},null,8,["runner-data","user-email"]),K("div",T,[c(t(P),{value:r.value,"onUpdate:value":m[0]||(m[0]=_=>r.value=_),options:g,style:{"margin-bottom":"16px"}},null,8,["value"]),r.value==="Kanban"?(n(),d(D,{key:0,"kanban-repository":t(a),"kanban-stages-storage":t(s)},null,8,["kanban-repository","kanban-stages-storage"])):b("",!0),r.value==="Table view"?(n(),d(I,{key:1,"kanban-repository":t(a)},null,8,["kanban-repository"])):b("",!0)])])}}});export{Le as default};
//# sourceMappingURL=Threads.633055d2.js.map
