import{u as o,a as l}from"./index.380e90d4.js";import{d as w,r as u,b as n,ev as h,f as c,u as t,e as K,c as b,ex as d,L as x}from"./outputWidgets.a321903e.js";import{P as A}from"./PlayerNavbar.bc0b5c6e.js";import{K as B,_ as D,A as I,P as L}from"./TableView.vue_vue_type_script_setup_true_lang.86522041.js";import{a as N}from"./asyncComputed.78ec0807.js";import{g as S}from"./api.9febf9ca.js";import{A as P}from"./index.a8e5a8d2.js";import"./fetch.bf5f2911.js";import"./pubsub.df0290b2.js";import"./PhKanban.vue.087dd403.js";import"./PhSignOut.vue.1879a91e.js";import"./Text.b25e1b1d.js";import"./index.578f39e5.js";import"./Link.6da229b1.js";import"./Paragraph.53f5a9bc.js";import"./Title.e1cf3e99.js";import"./index.9f566aac.js";import"./vuedraggable.umd.88ff7d0e.js";import"./workspaces.d8023641.js";import"./runnerData.60d212c9.js";import"./url.d108fea5.js";import"./record.d39119c8.js";import"./scripts.9d09e542.js";import"./envVars.64402d99.js";import"./api.5deaa555.js";import"./metadata.8181e5a8.js";import"./PhCheckCircle.vue.0b1fe5c6.js";import"./PhScroll.vue.50afd9af.js";import"./PhWebhooksLogo.vue.bfa4bf4f.js";import"./ant-design.d41464a5.js";import"./index.f18b9a75.js";import"./Modal.bcb9f272.js";import"./index.fd9a3d7c.js";import"./index.211632ef.js";import"./index.810351aa.js";import"./index.95f88098.js";import"./CollapsePanel.b9b71372.js";import"./index.6948059c.js";import"./index.d69cfe24.js";import"./isNumeric.75337b1e.js";import"./Card.82090499.js";import"./TabPane.5148c0d9.js";import"./hasIn.62bbbac0.js";import"./LoadingOutlined.b4261b29.js";import"./index.0c289612.js";import"./Form.e0cc6e8e.js";import"./string.4736890d.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]="b4b77ea3-dfca-4ae2-9026-cecc009f7053",e._sentryDebugIdIdentifier="sentry-dbid-b4b77ea3-dfca-4ae2-9026-cecc009f7053")}catch{}})();const T={style:{padding:"20px"}},De=w({__name:"Threads",setup(e){const a=new L(o),s=new x(I,"kanban-selected-stages"),f=u(o.getUser()),g=["Kanban","Table view"],r=u("Kanban"),{result:y}=N(S),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(A,{"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(),b(B,{key:0,"kanban-repository":t(a),"kanban-stages-storage":t(s)},null,8,["kanban-repository","kanban-stages-storage"])):d("",!0),r.value==="Table view"?(n(),b(D,{key:1,"kanban-repository":t(a)},null,8,["kanban-repository"])):d("",!0)])])}}});export{De as default};
//# sourceMappingURL=Threads.4669ae35.js.map
