@tickernelz/paperclip-pro-ui 2026.1002.1 → 2026.1002.3

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.
Files changed (78) hide show
  1. package/dist/assets/{AgentAvatar-DNN1aAlU.js → AgentAvatar-vHdJ_j8Q.js} +1 -1
  2. package/dist/assets/{AgentIdentity-b3pzXoFU.js → AgentIdentity-DpavDfDR.js} +1 -1
  3. package/dist/assets/{Agents.production-BKPX85a7.js → Agents.production-BvVBz6Bb.js} +2 -2
  4. package/dist/assets/CompanyActivity.production-CkWIeGHA.js +1 -0
  5. package/dist/assets/{CompanyExport-AJHRDgPX.js → CompanyExport-BlgUdPy3.js} +2 -2
  6. package/dist/assets/{CompanySkills.production-DEte8xc1.js → CompanySkills.production-Dw5EEbFS.js} +3 -3
  7. package/dist/assets/{Costs.production-82FH3cxi.js → Costs.production-B7xh4FKY.js} +1 -1
  8. package/dist/assets/{EmptyState-DSAob43E.js → EmptyState-CkiAU2cy.js} +1 -1
  9. package/dist/assets/{MarkdownBody-hSj7wMwK.js → MarkdownBody-Dc5pAWyT.js} +2 -2
  10. package/dist/assets/{MarkdownEditor-DhOkCe8q.js → MarkdownEditor-CEjOwoOw.js} +1 -1
  11. package/dist/assets/{OrgChart.production-BXSpu5C9.js → OrgChart.production-0bLYORRI.js} +1 -1
  12. package/dist/assets/{PageSkeleton-Bb3gOnqb.js → PageSkeleton-C9GpVJ3b.js} +1 -1
  13. package/dist/assets/{RoutineDetail.production-BBP1I-Cb.js → RoutineDetail.production-HhdCP-Xh.js} +1 -1
  14. package/dist/assets/{RoutineRunVariablesDialog-B7IG454s.js → RoutineRunVariablesDialog-BxPUA-_s.js} +2 -2
  15. package/dist/assets/{Routines.production-Ha20odfj.js → Routines.production-BXN9SzuM.js} +1 -1
  16. package/dist/assets/{SidebarContext-CEonkVTc.js → SidebarContext-BzqYhcyf.js} +1 -1
  17. package/dist/assets/{StatusIcon-Ce5Cymi0.js → StatusIcon-DZVfuu7f.js} +1 -1
  18. package/dist/assets/{agents-EgopqlRF.js → agents-S2cJMIK7.js} +1 -1
  19. package/dist/assets/{badge-BzDyxQA_.js → badge-CDo3gnAS.js} +1 -1
  20. package/dist/assets/{bot-SnTe3UEj.js → bot-Ds68iyWW.js} +1 -1
  21. package/dist/assets/{button-B88nBobN.js → button-L-o1dNjR.js} +1 -1
  22. package/dist/assets/{card-C3xuBj9F.js → card-kuRnaECX.js} +1 -1
  23. package/dist/assets/{check-DiTvqt9f.js → check-qnovnvSs.js} +1 -1
  24. package/dist/assets/{checkbox-CLdcRGnx.js → checkbox-Be8I1-GR.js} +1 -1
  25. package/dist/assets/{chevron-down-CSzK2utq.js → chevron-down-BT1C9igz.js} +1 -1
  26. package/dist/assets/{chevron-right-CEAI_3f1.js → chevron-right-DI7co3UN.js} +1 -1
  27. package/dist/assets/{clipboard-BNjohVM9.js → clipboard-Bo4IrVtO.js} +1 -1
  28. package/dist/assets/{company-members-BLqmUhC_.js → company-members-Cs8yGeoI.js} +1 -1
  29. package/dist/assets/{createLucideIcon-BY5zEeth.js → createLucideIcon-CLQ6uxcH.js} +30 -30
  30. package/dist/assets/{definition-D14CNOhw.js → definition-BQZGnC0n.js} +1 -1
  31. package/dist/assets/{dist-B6PG7LSl.js → dist-BbSVBEix.js} +1 -1
  32. package/dist/assets/{dist-IkV7XjF6.js → dist-DrRrxz2U.js} +1 -1
  33. package/dist/assets/{environments-Db-5PwTL.js → environments-XRhpXB-M.js} +1 -1
  34. package/dist/assets/{external-link-C0fxPTmL.js → external-link-K3IGxvWK.js} +1 -1
  35. package/dist/assets/{file-text-CFk8yuxg.js → file-text-KXVUI6i-.js} +1 -1
  36. package/dist/assets/{health-uDuG_Kdk.js → health-Dnr6MCRc.js} +1 -1
  37. package/dist/assets/{heartbeats-CY-OhSkI.js → heartbeats-CbpnptmQ.js} +1 -1
  38. package/dist/assets/{index-B0ZdgWne.js → index-BwUOm4Xq.js} +168 -167
  39. package/dist/assets/index-D9x0wcjq.css +1 -0
  40. package/dist/assets/{input-eETG1M5C.js → input-BoiP6orR.js} +1 -1
  41. package/dist/assets/{label-CaB9H2SL.js → label-CELIzVlm.js} +1 -1
  42. package/dist/assets/{loader-circle-GP19zXLR.js → loader-circle-SRrhJJNd.js} +1 -1
  43. package/dist/assets/{mention-chips-DTyYiiiu.js → mention-chips-B3tFslbs.js} +9 -9
  44. package/dist/assets/{octagon-alert-DX7KDHMN.js → octagon-alert-BK-ZgTBH.js} +1 -1
  45. package/dist/assets/{rotate-ccw-AONvzlvS.js → rotate-ccw-C-migVv-.js} +1 -1
  46. package/dist/assets/{router-D9K0z3tS.js → router-BF60R0zd.js} +2 -2
  47. package/dist/assets/{save-DEgZPLfX.js → save-BiJVRX4n.js} +1 -1
  48. package/dist/assets/{select-DK8w-ynH.js → select-C5wSYGXD.js} +1 -1
  49. package/dist/assets/{sheet-gGD3j06A.js → sheet-DdVF0068.js} +1 -1
  50. package/dist/assets/{skeleton-BLy6O28Y.js → skeleton-BqTPd9e1.js} +1 -1
  51. package/dist/assets/{tabs-BfMGh_Jv.js → tabs-DA7s0b5p.js} +1 -1
  52. package/dist/assets/{triangle-alert-xF2os76Q.js → triangle-alert-DLfImvPL.js} +1 -1
  53. package/dist/assets/{use-adapter-capabilities-D5gIkuKA.js → use-adapter-capabilities-zxCr69V4.js} +1 -1
  54. package/dist/assets/{useHiddenSettings-z0AwYeA9.js → useHiddenSettings-DmjgEkL4.js} +1 -1
  55. package/dist/assets/{zap-C2Kg_IRl.js → zap-CeCCVOlg.js} +1 -1
  56. package/dist/index.html +46 -46
  57. package/dist/pixels/furniture/ALARM_LIGHT/ALARM_LIGHT.png +0 -0
  58. package/dist/pixels/furniture/ALARM_LIGHT/ALARM_LIGHT_ON.png +0 -0
  59. package/dist/pixels/furniture/ALARM_LIGHT/manifest.json +32 -0
  60. package/dist/pixels/furniture/COIN_STACK/COIN_STACK.png +0 -0
  61. package/dist/pixels/furniture/COIN_STACK/manifest.json +13 -0
  62. package/dist/pixels/furniture/CONFETTI/CONFETTI.png +0 -0
  63. package/dist/pixels/furniture/CONFETTI/manifest.json +13 -0
  64. package/dist/pixels/furniture/DESK_LAMP/DESK_LAMP.png +0 -0
  65. package/dist/pixels/furniture/DESK_LAMP/manifest.json +13 -0
  66. package/dist/pixels/furniture/KANBAN_BOARD/KANBAN_BOARD.png +0 -0
  67. package/dist/pixels/furniture/KANBAN_BOARD/manifest.json +13 -0
  68. package/dist/pixels/furniture/MAILBOX/MAILBOX.png +0 -0
  69. package/dist/pixels/furniture/MAILBOX/manifest.json +13 -0
  70. package/dist/pixels/furniture/SMOKE/SMOKE_1.png +0 -0
  71. package/dist/pixels/furniture/SMOKE/SMOKE_2.png +0 -0
  72. package/dist/pixels/furniture/SMOKE/SMOKE_3.png +0 -0
  73. package/dist/pixels/furniture/SMOKE/manifest.json +42 -0
  74. package/dist/pixels/pixels-office-assets.json +1 -1
  75. package/dist/sw.js +1 -1
  76. package/package.json +1 -1
  77. package/dist/assets/CompanyActivity.production-CDPyOWs4.js +0 -1
  78. package/dist/assets/index-BTKFpILc.css +0 -1
@@ -1 +1 @@
1
- var f=Object.defineProperty;var s=(e,t)=>f(e,"name",{value:t,configurable:!0});import{i as o}from"./rolldown-runtime-ZpX3ckPj.js";import{Fr as g,Lr as _,S as k,Xn as a,Y as A,nr as S,t as n}from"./createLucideIcon-BY5zEeth.js";import{r as x}from"./save-DEgZPLfX.js";import{c as y}from"./button-B88nBobN.js";import{t as w}from"./triangle-alert-xF2os76Q.js";var M=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],$=n("arrow-left",M),v=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],L=n("info",v),l=o(g(),1),h={info:L,warning:w,danger:x};function E({tone:e="info",title:t,children:r,icon:i,actions:u,compact:d=!1,className:m}){const p=i===!1?null:i??h[e];return(0,l.jsxs)("div",{role:"note",className:k("flex flex-col gap-2 rounded-lg border sm:flex-row sm:items-start sm:justify-between",d?"p-3":"p-4",y[e],m),children:[(0,l.jsxs)("div",{className:"flex items-start gap-2.5",children:[p&&(0,l.jsx)(p,{className:"mt-0.5 h-4 w-4 shrink-0","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"space-y-1 text-sm",children:[t&&(0,l.jsx)("p",{className:"font-medium leading-tight",children:t}),r&&(0,l.jsx)("div",{className:"leading-snug opacity-90",children:r})]})]}),u&&(0,l.jsx)("div",{className:"flex shrink-0 flex-wrap items-center gap-2 pl-6 sm:pl-0",children:u})]})}s(E,"InlineBanner");var q=o(_(),1),I={list:s(()=>a.get("/adapters"),"list"),install:s(e=>a.post("/adapters/install",e),"install"),remove:s(e=>a.delete(`/adapters/${e}`),"remove"),setDisabled:s((e,t)=>a.patch(`/adapters/${e}`,{disabled:t}),"setDisabled"),setOverridePaused:s((e,t)=>a.patch(`/adapters/${e}/override`,{paused:t}),"setOverridePaused"),reload:s(e=>a.post(`/adapters/${e}/reload`,{}),"reload"),reinstall:s(e=>a.post(`/adapters/${e}/reinstall`,{}),"reinstall")},c={supportsInstructionsBundle:!1,supportsSkills:!1,supportsLocalAgentJwt:!1,requiresMaterializedRuntimeSkills:!1,supportsAcp:!1},N={claude_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!1,supportsAcp:!0,login:{panelMode:"submitted_browser_code",timeoutPolicy:"fixed"}},codex_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!1,supportsAcp:!0,login:{panelMode:"displayed_code",timeoutPolicy:"caller_bounded"}},paperclip_runner:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!1,requiresMaterializedRuntimeSkills:!1,supportsAcp:!1},cursor:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!1},gemini_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!0},grok_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!1,login:{panelMode:"displayed_code",timeoutPolicy:"caller_bounded"}},kimi_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!0},opencode_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!1},pi_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!1},openclaw_gateway:c};function F(){const{data:e}=S({queryKey:A.adapters.all,queryFn:s(()=>I.list(),"queryFn"),staleTime:3e5}),t=(0,q.useMemo)(()=>{const r=new Map;if(e)for(const i of e)r.set(i.type,i.capabilities);return r},[e]);return r=>t.get(r)??N[r]??c}s(F,"useAdapterCapabilities");export{$ as a,L as i,I as n,E as r,F as t};
1
+ var f=Object.defineProperty;var s=(e,t)=>f(e,"name",{value:t,configurable:!0});import{i as o}from"./rolldown-runtime-ZpX3ckPj.js";import{Ir as g,Rr as _,S as k,Y as A,Zn as a,rr as S,t as n}from"./createLucideIcon-CLQ6uxcH.js";import{r as x}from"./save-BiJVRX4n.js";import{c as y}from"./button-L-o1dNjR.js";import{t as w}from"./triangle-alert-DLfImvPL.js";var M=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],$=n("arrow-left",M),v=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],h=n("info",v),l=o(g(),1),I={info:h,warning:w,danger:x};function E({tone:e="info",title:t,children:r,icon:i,actions:u,compact:d=!1,className:m}){const p=i===!1?null:i??I[e];return(0,l.jsxs)("div",{role:"note",className:k("flex flex-col gap-2 rounded-lg border sm:flex-row sm:items-start sm:justify-between",d?"p-3":"p-4",y[e],m),children:[(0,l.jsxs)("div",{className:"flex items-start gap-2.5",children:[p&&(0,l.jsx)(p,{className:"mt-0.5 h-4 w-4 shrink-0","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"space-y-1 text-sm",children:[t&&(0,l.jsx)("p",{className:"font-medium leading-tight",children:t}),r&&(0,l.jsx)("div",{className:"leading-snug opacity-90",children:r})]})]}),u&&(0,l.jsx)("div",{className:"flex shrink-0 flex-wrap items-center gap-2 pl-6 sm:pl-0",children:u})]})}s(E,"InlineBanner");var L=o(_(),1),q={list:s(()=>a.get("/adapters"),"list"),install:s(e=>a.post("/adapters/install",e),"install"),remove:s(e=>a.delete(`/adapters/${e}`),"remove"),setDisabled:s((e,t)=>a.patch(`/adapters/${e}`,{disabled:t}),"setDisabled"),setOverridePaused:s((e,t)=>a.patch(`/adapters/${e}/override`,{paused:t}),"setOverridePaused"),reload:s(e=>a.post(`/adapters/${e}/reload`,{}),"reload"),reinstall:s(e=>a.post(`/adapters/${e}/reinstall`,{}),"reinstall")},c={supportsInstructionsBundle:!1,supportsSkills:!1,supportsLocalAgentJwt:!1,requiresMaterializedRuntimeSkills:!1,supportsAcp:!1},N={claude_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!1,supportsAcp:!0,login:{panelMode:"submitted_browser_code",timeoutPolicy:"fixed"}},codex_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!1,supportsAcp:!0,login:{panelMode:"displayed_code",timeoutPolicy:"caller_bounded"}},paperclip_runner:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!1,requiresMaterializedRuntimeSkills:!1,supportsAcp:!1},cursor:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!1},gemini_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!0},grok_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!1,login:{panelMode:"displayed_code",timeoutPolicy:"caller_bounded"}},kimi_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!0},opencode_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!1},pi_local:{supportsInstructionsBundle:!0,supportsSkills:!0,supportsLocalAgentJwt:!0,requiresMaterializedRuntimeSkills:!0,supportsAcp:!1},openclaw_gateway:c};function O(){const{data:e}=S({queryKey:A.adapters.all,queryFn:s(()=>q.list(),"queryFn"),staleTime:3e5}),t=(0,L.useMemo)(()=>{const r=new Map;if(e)for(const i of e)r.set(i.type,i.capabilities);return r},[e]);return r=>t.get(r)??N[r]??c}s(O,"useAdapterCapabilities");export{$ as a,h as i,q as n,E as r,O as t};
@@ -1 +1 @@
1
- var r=Object.defineProperty;var t=(e,a)=>r(e,"name",{value:a,configurable:!0});import{i as s}from"./rolldown-runtime-ZpX3ckPj.js";import{Lr as i,Y as n,nr as o,t as d}from"./createLucideIcon-BY5zEeth.js";import{t as u}from"./health-uDuG_Kdk.js";var h=[["path",{d:"M5 12h14",key:"1ays0h"}]],f=d("minus",h),m=s(i(),1);function l(){const e=o({queryKey:n.health,queryFn:t(()=>u.get(),"queryFn"),enabled:!1}).data;return(0,m.useMemo)(()=>({hidden:new Set(e?.hiddenSettings??[]),loaded:e!==void 0}),[e])}t(l,"useHiddenSettings");export{f as n,l as t};
1
+ var r=Object.defineProperty;var t=(e,a)=>r(e,"name",{value:a,configurable:!0});import{i as s}from"./rolldown-runtime-ZpX3ckPj.js";import{Rr as i,Y as n,rr as o,t as d}from"./createLucideIcon-CLQ6uxcH.js";import{t as u}from"./health-Dnr6MCRc.js";var h=[["path",{d:"M5 12h14",key:"1ays0h"}]],f=d("minus",h),m=s(i(),1);function l(){const e=o({queryKey:n.health,queryFn:t(()=>u.get(),"queryFn"),enabled:!1}).data;return(0,m.useMemo)(()=>({hidden:new Set(e?.hiddenSettings??[]),loaded:e!==void 0}),[e])}t(l,"useHiddenSettings");export{f as n,l as t};
@@ -1,4 +1,4 @@
1
- var qn=Object.defineProperty;var i=(e,t)=>qn(e,"name",{value:t,configurable:!0});import{i as ut}from"./rolldown-runtime-ZpX3ckPj.js";import{Fr as Un,Ir as Xn,Lr as Yn,a as Kn,c as qt,f as Gn,i as Ut,l as ce,m as me,n as ve,o as we,r as Zn,s as ae,t as A,u as Qn}from"./createLucideIcon-BY5zEeth.js";var f=ut(Yn(),1),R=ut(Un(),1),Jn=Object.defineProperty,I=i((e,t)=>Jn(e,"name",{value:t,configurable:!0}),"__name$7"),nt="dismissableLayer.update",er="dismissableLayer.pointerDownOutside",tr="dismissableLayer.focusOutside",At,Xt=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),nr=f.forwardRef(I(i(function(t,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:l,onDismiss:h,...v}=t,u=f.useContext(Xt),[d,m]=f.useState(null),g=d?.ownerDocument??globalThis?.document,[,p]=f.useState({}),y=me(n,m),w=Array.from(u.layers),[P]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=P?w.indexOf(P):-1,x=d?w.indexOf(d):-1,k=u.layersWithOutsidePointerEventsDisabled.size>0,E=x>=b,C=f.useRef(!1),M=Yt(S=>{s?.(S),l?.(S),S.defaultPrevented||h?.()},{ownerDocument:g,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:f.useCallback(S=>{if(!(S instanceof Node))return!1;const N=[...u.branches].some(L=>L.contains(S));return E&&!N},[u.branches,E])}),D=Kt(S=>{if(o&&C.current)return;const N=S.target;[...u.branches].some(L=>L.contains(N))||(c?.(S),l?.(S),S.defaultPrevented||h?.())},g),_=d?x===w.length-1:!1,$=ve(S=>{S.key==="Escape"&&(a?.(S),!S.defaultPrevented&&h&&(S.preventDefault(),h()))});return f.useEffect(()=>{if(_)return g.addEventListener("keydown",$,{capture:!0}),()=>g.removeEventListener("keydown",$,{capture:!0})},[g,_,$]),f.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(At=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),rt(),()=>{r&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=At))}},[d,g,r,u]),f.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),rt())},[d,u]),f.useEffect(()=>{const S=I(()=>p({}),"handleUpdate");return document.addEventListener(nt,S),()=>document.removeEventListener(nt,S)},[]),(0,R.jsx)(ce.div,{...v,ref:y,style:{pointerEvents:k?E?"auto":"none":void 0,...t.style},onFocusCapture:ae(t.onFocusCapture,D.onFocusCapture),onBlurCapture:ae(t.onBlurCapture,D.onBlurCapture),onPointerDownCapture:ae(t.onPointerDownCapture,M.onPointerDownCapture)})},"DismissableLayer2"),"DismissableLayer"));function rr(){const e=f.useContext(Xt),[t,n]=f.useState(null);return f.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}i(rr,"useDismissableLayerSurface");I(rr,"useDismissableLayerSurface");var or=I(()=>!0,"IS_TRUE");function Yt(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:a,shouldHandlePointerDownOutside:s=or}=t,c=ve(e),l=f.useRef(!1),h=f.useRef(!1),v=f.useRef(new Map),u=f.useRef(()=>{});return f.useEffect(()=>{function d(){h.current=!1,o.current=!1,v.current.clear()}i(d,"resetOutsideInteraction"),I(d,"resetOutsideInteraction");function m(){return Array.from(v.current.values()).some(Boolean)}i(m,"isOutsideInteractionIntercepted"),I(m,"isOutsideInteractionIntercepted");function g(b){if(!h.current)return;const x=b.target;x instanceof Node&&[...a].some(k=>k.contains(x))||v.current.set(b.type,!0),b.type==="click"&&window.setTimeout(()=>{h.current&&u.current()},0)}i(g,"handleInteractionCapture"),I(g,"handleInteractionCapture");function p(b){h.current&&v.current.set(b.type,!1)}i(p,"handleInteractionBubble"),I(p,"handleInteractionBubble");const y=I(b=>{if(b.target&&!l.current){let x=i(function(){n.removeEventListener("click",u.current);const E=m();d(),E||ft(er,c,k,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2");if(I(x,"handleAndDispatchPointerDownOutsideEvent"),!s(b.target)){n.removeEventListener("click",u.current),d(),l.current=!1;return}const k={originalEvent:b};h.current=!0,o.current=r&&b.button===0,v.current.clear(),!r||b.button!==0?x():(n.removeEventListener("click",u.current),u.current=x,n.addEventListener("click",u.current,{once:!0}))}else n.removeEventListener("click",u.current),d();l.current=!1},"handlePointerDown"),w=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const b of w)n.addEventListener(b,g,!0),n.addEventListener(b,p);const P=window.setTimeout(()=>{n.addEventListener("pointerdown",y)},0);return()=>{window.clearTimeout(P),n.removeEventListener("pointerdown",y),n.removeEventListener("click",u.current);for(const b of w)n.removeEventListener(b,g,!0),n.removeEventListener(b,p)}},[n,c,r,o,a,s]),{onPointerDownCapture:I(()=>l.current=!0,"onPointerDownCapture")}}i(Yt,"usePointerDownOutside");I(Yt,"usePointerDownOutside");function Kt(e,t=globalThis?.document){const n=ve(e),r=f.useRef(!1);return f.useEffect(()=>{const o=I(a=>{a.target&&!r.current&&ft(tr,n,{originalEvent:a},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:I(()=>r.current=!0,"onFocusCapture"),onBlurCapture:I(()=>r.current=!1,"onBlurCapture")}}i(Kt,"useFocusOutside");I(Kt,"useFocusOutside");function rt(){const e=new CustomEvent(nt);document.dispatchEvent(e)}i(rt,"dispatchUpdate");I(rt,"dispatchUpdate");function ft(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Qn(o,a):o.dispatchEvent(a)}i(ft,"handleAndDispatchCustomEvent");I(ft,"handleAndDispatchCustomEvent");var ar=Object.defineProperty,z=i((e,t)=>ar(e,"name",{value:t,configurable:!0}),"__name$6"),Xe="focusScope.autoFocusOnMount",Ye="focusScope.autoFocusOnUnmount",St={bubbles:!1,cancelable:!0},ir=f.forwardRef(z(i(function(t,n){const{loop:r=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:s,...c}=t,[l,h]=f.useState(null),v=ve(a),u=ve(s),d=f.useRef(null),m=me(n,h),g=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let y=i(function(x){if(g.paused||!l)return;const k=x.target;l.contains(k)?d.current=k:K(d.current,{select:!0})},"handleFocusIn2"),w=i(function(x){if(g.paused||!l)return;const k=x.relatedTarget;k!==null&&(l.contains(k)||K(d.current,{select:!0}))},"handleFocusOut2"),P=i(function(x){if(document.activeElement===document.body)for(const k of x)k.removedNodes.length>0&&K(l)},"handleMutations2");z(y,"handleFocusIn"),z(w,"handleFocusOut"),z(P,"handleMutations"),document.addEventListener("focusin",y),document.addEventListener("focusout",w);const b=new MutationObserver(P);return l&&b.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",w),b.disconnect()}}},[o,l,g.paused]),f.useEffect(()=>{if(l){Rt.add(g);const y=document.activeElement;if(!l.contains(y)){const w=new CustomEvent(Xe,St);l.addEventListener(Xe,v),l.dispatchEvent(w),w.defaultPrevented||(Gt(tn(dt(l)),{select:!0}),document.activeElement===y&&K(l))}return()=>{l.removeEventListener(Xe,v),setTimeout(()=>{const w=new CustomEvent(Ye,St);l.addEventListener(Ye,u),l.dispatchEvent(w),w.defaultPrevented||K(y??document.body,{select:!0}),l.removeEventListener(Ye,u),Rt.remove(g)},0)}}},[l,v,u,g]);const p=f.useCallback(y=>{if(!r&&!o||g.paused)return;const w=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,P=document.activeElement;if(w&&P){const b=y.currentTarget,[x,k]=Zt(b);x&&k?!y.shiftKey&&P===k?(y.preventDefault(),r&&K(x,{select:!0})):y.shiftKey&&P===x&&(y.preventDefault(),r&&K(k,{select:!0})):P===b&&y.preventDefault()}},[r,o,g.paused]);return(0,R.jsx)(ce.div,{tabIndex:-1,...c,ref:m,onKeyDown:p})},"FocusScope2"),"FocusScope"));function Gt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(K(r,{select:t}),document.activeElement!==n)return}i(Gt,"focusFirst");z(Gt,"focusFirst");function Zt(e){const t=dt(e);return[ot(t,e),ot(t.reverse(),e)]}i(Zt,"getTabbableEdges");z(Zt,"getTabbableEdges");function dt(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:z(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}i(dt,"getTabbableCandidates");z(dt,"getTabbableCandidates");function ot(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Qt(r,{upTo:t})))return r}i(ot,"findVisible");z(ot,"findVisible");function Qt(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}i(Qt,"isHidden");z(Qt,"isHidden");function Jt(e){return e instanceof HTMLInputElement&&"select"in e}i(Jt,"isSelectableInput");z(Jt,"isSelectableInput");function K(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Jt(e)&&t&&e.select()}}i(K,"focus");z(K,"focus");var Rt=en();function en(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=at(e,t),e.unshift(t)},remove(t){e=at(e,t),e[0]?.resume()}}}i(en,"createFocusScopesStack");z(en,"createFocusScopesStack");function at(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}i(at,"arrayRemove");z(at,"arrayRemove");function tn(e){return e.filter(t=>t.tagName!=="A")}i(tn,"removeLinks");z(tn,"removeLinks");var nn=ut(Xn(),1),sr=Object.defineProperty,cr=i((e,t)=>sr(e,"name",{value:t,configurable:!0}),"__name$5"),lr=f.forwardRef(cr(i(function(t,n){const{container:r,...o}=t,[a,s]=f.useState(!1);we(()=>s(!0),[]);const c=r||a&&globalThis?.document?.body;return c?nn.createPortal((0,R.jsx)(ce.div,{...o,ref:n}),c):null},"Portal2"),"Portal")),ur=Object.defineProperty,ht=i((e,t)=>ur(e,"name",{value:t,configurable:!0}),"__name$4"),Ae=0,ue=null;function fr(e){return pt(),e.children}i(fr,"FocusGuards");ht(fr,"FocusGuards");function pt(){f.useEffect(()=>{ue||(ue={start:it(),end:it()});const{start:e,end:t}=ue;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Ae++,()=>{Ae===1&&(ue?.start.remove(),ue?.end.remove(),ue=null),Ae=Math.max(0,Ae-1)}},[])}i(pt,"useFocusGuards");ht(pt,"useFocusGuards");function it(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}i(it,"createFocusGuard");ht(it,"createFocusGuard");var V=i(function(){return V=Object.assign||i(function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},"__assign"),V.apply(this,arguments)},"__assign");function rn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}i(rn,"__rest");function dr(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}i(dr,"__spreadArray");var Le="right-scroll-bar-position",De="width-before-scroll-bar",hr="with-scroll-bars-hidden",pr="--removed-body-scroll-bar-size";function Ke(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}i(Ke,"assignRef");function vr(e,t){var n=(0,f.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}i(vr,"useCallbackRef");var mr=typeof window<"u"?f.useLayoutEffect:f.useEffect,Ot=new WeakMap;function gr(e,t){var n=vr(t||null,function(r){return e.forEach(function(o){return Ke(o,r)})});return mr(function(){var r=Ot.get(n);if(r){var o=new Set(r),a=new Set(e),s=n.current;o.forEach(function(c){a.has(c)||Ke(c,null)}),a.forEach(function(c){o.has(c)||Ke(c,s)})}Ot.set(n,e)},[e]),n}i(gr,"useMergeRefs");function yr(e){return e}i(yr,"ItoI");function wr(e,t){t===void 0&&(t=yr);var n=[],r=!1;return{read:i(function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},"read"),useMedium:i(function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},"useMedium"),assignSyncMedium:i(function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:i(function(s){return o(s)},"push"),filter:i(function(){return n},"filter")}},"assignSyncMedium"),assignMedium:i(function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var c=i(function(){var h=a;a=[],h.forEach(o)},"executeQueue"),l=i(function(){return Promise.resolve().then(c)},"cycle");l(),n={push:i(function(h){a.push(h),l()},"push"),filter:i(function(h){return a=a.filter(h),n},"filter")}},"assignMedium")}}i(wr,"innerCreateMedium");function br(e){e===void 0&&(e={});var t=wr(null);return t.options=V({async:!0,ssr:!1},e),t}i(br,"createSidecarMedium");var on=i(function(e){var t=e.sideCar,n=rn(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return f.createElement(r,V({},n))},"SideCar");on.isSideCarExport=!0;function xr(e,t){return e.useMedium(t),on}i(xr,"exportSidecar");var an=br(),Ge=i(function(){},"nothing"),je=f.forwardRef(function(e,t){var n=f.useRef(null),r=f.useState({onScrollCapture:Ge,onWheelCapture:Ge,onTouchMoveCapture:Ge}),o=r[0],a=r[1],s=e.forwardProps,c=e.children,l=e.className,h=e.removeScrollBar,v=e.enabled,u=e.shards,d=e.sideCar,m=e.noRelative,g=e.noIsolation,p=e.inert,y=e.allowPinchZoom,w=e.as,P=w===void 0?"div":w,b=e.gapMode,x=rn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=d,E=gr([n,t]),C=V(V({},x),o);return f.createElement(f.Fragment,null,v&&f.createElement(k,{sideCar:an,removeScrollBar:h,shards:u,noRelative:m,noIsolation:g,inert:p,setCallbacks:a,allowPinchZoom:!!y,lockRef:n,gapMode:b}),s?f.cloneElement(f.Children.only(c),V(V({},C),{ref:E})):f.createElement(P,V({},C,{className:l,ref:E}),c))});je.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};je.classNames={fullWidth:De,zeroRight:Le};var Mt,Pr=i(function(){if(Mt)return Mt;if(typeof __webpack_nonce__<"u")return __webpack_nonce__},"getNonce");function kr(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Pr();return t&&e.setAttribute("nonce",t),e}i(kr,"makeStyleTag");function Er(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}i(Er,"injectStyles");function Cr(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}i(Cr,"insertStyleTag");var Ar=i(function(){var e=0,t=null;return{add:i(function(n){e==0&&(t=kr())&&(Er(t,n),Cr(t)),e++},"add"),remove:i(function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)},"remove")}},"stylesheetSingleton"),Sr=i(function(){var e=Ar();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},"styleHookSingleton"),sn=i(function(){var e=Sr(),t=i(function(n){var r=n.styles,o=n.dynamic;return e(r,o),null},"Sheet");return t},"styleSingleton"),Rr={left:0,top:0,right:0,gap:0},Ze=i(function(e){return parseInt(e||"",10)||0},"parse"),Or=i(function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ze(n),Ze(r),Ze(o)]},"getOffset"),Mr=i(function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Rr;var t=Or(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},"getGapWidth"),_r=sn(),be="data-scroll-locked",Lr=i(function(e,t,n,r){var o=e.left,a=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),`
1
+ var qn=Object.defineProperty;var i=(e,t)=>qn(e,"name",{value:t,configurable:!0});import{i as ut}from"./rolldown-runtime-ZpX3ckPj.js";import{Ir as Un,Lr as Xn,Rr as Yn,a as Kn,c as qt,f as Gn,i as Ut,l as ce,m as me,n as ve,o as we,r as Zn,s as ae,t as A,u as Qn}from"./createLucideIcon-CLQ6uxcH.js";var f=ut(Yn(),1),R=ut(Un(),1),Jn=Object.defineProperty,I=i((e,t)=>Jn(e,"name",{value:t,configurable:!0}),"__name$7"),nt="dismissableLayer.update",er="dismissableLayer.pointerDownOutside",tr="dismissableLayer.focusOutside",At,Xt=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),nr=f.forwardRef(I(i(function(t,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:l,onDismiss:h,...v}=t,u=f.useContext(Xt),[d,m]=f.useState(null),g=d?.ownerDocument??globalThis?.document,[,p]=f.useState({}),y=me(n,m),w=Array.from(u.layers),[P]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=P?w.indexOf(P):-1,x=d?w.indexOf(d):-1,k=u.layersWithOutsidePointerEventsDisabled.size>0,E=x>=b,C=f.useRef(!1),M=Yt(S=>{s?.(S),l?.(S),S.defaultPrevented||h?.()},{ownerDocument:g,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:f.useCallback(S=>{if(!(S instanceof Node))return!1;const N=[...u.branches].some(L=>L.contains(S));return E&&!N},[u.branches,E])}),D=Kt(S=>{if(o&&C.current)return;const N=S.target;[...u.branches].some(L=>L.contains(N))||(c?.(S),l?.(S),S.defaultPrevented||h?.())},g),_=d?x===w.length-1:!1,$=ve(S=>{S.key==="Escape"&&(a?.(S),!S.defaultPrevented&&h&&(S.preventDefault(),h()))});return f.useEffect(()=>{if(_)return g.addEventListener("keydown",$,{capture:!0}),()=>g.removeEventListener("keydown",$,{capture:!0})},[g,_,$]),f.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(At=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),rt(),()=>{r&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=At))}},[d,g,r,u]),f.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),rt())},[d,u]),f.useEffect(()=>{const S=I(()=>p({}),"handleUpdate");return document.addEventListener(nt,S),()=>document.removeEventListener(nt,S)},[]),(0,R.jsx)(ce.div,{...v,ref:y,style:{pointerEvents:k?E?"auto":"none":void 0,...t.style},onFocusCapture:ae(t.onFocusCapture,D.onFocusCapture),onBlurCapture:ae(t.onBlurCapture,D.onBlurCapture),onPointerDownCapture:ae(t.onPointerDownCapture,M.onPointerDownCapture)})},"DismissableLayer2"),"DismissableLayer"));function rr(){const e=f.useContext(Xt),[t,n]=f.useState(null);return f.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}i(rr,"useDismissableLayerSurface");I(rr,"useDismissableLayerSurface");var or=I(()=>!0,"IS_TRUE");function Yt(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:a,shouldHandlePointerDownOutside:s=or}=t,c=ve(e),l=f.useRef(!1),h=f.useRef(!1),v=f.useRef(new Map),u=f.useRef(()=>{});return f.useEffect(()=>{function d(){h.current=!1,o.current=!1,v.current.clear()}i(d,"resetOutsideInteraction"),I(d,"resetOutsideInteraction");function m(){return Array.from(v.current.values()).some(Boolean)}i(m,"isOutsideInteractionIntercepted"),I(m,"isOutsideInteractionIntercepted");function g(b){if(!h.current)return;const x=b.target;x instanceof Node&&[...a].some(k=>k.contains(x))||v.current.set(b.type,!0),b.type==="click"&&window.setTimeout(()=>{h.current&&u.current()},0)}i(g,"handleInteractionCapture"),I(g,"handleInteractionCapture");function p(b){h.current&&v.current.set(b.type,!1)}i(p,"handleInteractionBubble"),I(p,"handleInteractionBubble");const y=I(b=>{if(b.target&&!l.current){let x=i(function(){n.removeEventListener("click",u.current);const E=m();d(),E||ft(er,c,k,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2");if(I(x,"handleAndDispatchPointerDownOutsideEvent"),!s(b.target)){n.removeEventListener("click",u.current),d(),l.current=!1;return}const k={originalEvent:b};h.current=!0,o.current=r&&b.button===0,v.current.clear(),!r||b.button!==0?x():(n.removeEventListener("click",u.current),u.current=x,n.addEventListener("click",u.current,{once:!0}))}else n.removeEventListener("click",u.current),d();l.current=!1},"handlePointerDown"),w=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const b of w)n.addEventListener(b,g,!0),n.addEventListener(b,p);const P=window.setTimeout(()=>{n.addEventListener("pointerdown",y)},0);return()=>{window.clearTimeout(P),n.removeEventListener("pointerdown",y),n.removeEventListener("click",u.current);for(const b of w)n.removeEventListener(b,g,!0),n.removeEventListener(b,p)}},[n,c,r,o,a,s]),{onPointerDownCapture:I(()=>l.current=!0,"onPointerDownCapture")}}i(Yt,"usePointerDownOutside");I(Yt,"usePointerDownOutside");function Kt(e,t=globalThis?.document){const n=ve(e),r=f.useRef(!1);return f.useEffect(()=>{const o=I(a=>{a.target&&!r.current&&ft(tr,n,{originalEvent:a},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:I(()=>r.current=!0,"onFocusCapture"),onBlurCapture:I(()=>r.current=!1,"onBlurCapture")}}i(Kt,"useFocusOutside");I(Kt,"useFocusOutside");function rt(){const e=new CustomEvent(nt);document.dispatchEvent(e)}i(rt,"dispatchUpdate");I(rt,"dispatchUpdate");function ft(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Qn(o,a):o.dispatchEvent(a)}i(ft,"handleAndDispatchCustomEvent");I(ft,"handleAndDispatchCustomEvent");var ar=Object.defineProperty,z=i((e,t)=>ar(e,"name",{value:t,configurable:!0}),"__name$6"),Xe="focusScope.autoFocusOnMount",Ye="focusScope.autoFocusOnUnmount",St={bubbles:!1,cancelable:!0},ir=f.forwardRef(z(i(function(t,n){const{loop:r=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:s,...c}=t,[l,h]=f.useState(null),v=ve(a),u=ve(s),d=f.useRef(null),m=me(n,h),g=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let y=i(function(x){if(g.paused||!l)return;const k=x.target;l.contains(k)?d.current=k:K(d.current,{select:!0})},"handleFocusIn2"),w=i(function(x){if(g.paused||!l)return;const k=x.relatedTarget;k!==null&&(l.contains(k)||K(d.current,{select:!0}))},"handleFocusOut2"),P=i(function(x){if(document.activeElement===document.body)for(const k of x)k.removedNodes.length>0&&K(l)},"handleMutations2");z(y,"handleFocusIn"),z(w,"handleFocusOut"),z(P,"handleMutations"),document.addEventListener("focusin",y),document.addEventListener("focusout",w);const b=new MutationObserver(P);return l&&b.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",w),b.disconnect()}}},[o,l,g.paused]),f.useEffect(()=>{if(l){Rt.add(g);const y=document.activeElement;if(!l.contains(y)){const w=new CustomEvent(Xe,St);l.addEventListener(Xe,v),l.dispatchEvent(w),w.defaultPrevented||(Gt(tn(dt(l)),{select:!0}),document.activeElement===y&&K(l))}return()=>{l.removeEventListener(Xe,v),setTimeout(()=>{const w=new CustomEvent(Ye,St);l.addEventListener(Ye,u),l.dispatchEvent(w),w.defaultPrevented||K(y??document.body,{select:!0}),l.removeEventListener(Ye,u),Rt.remove(g)},0)}}},[l,v,u,g]);const p=f.useCallback(y=>{if(!r&&!o||g.paused)return;const w=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,P=document.activeElement;if(w&&P){const b=y.currentTarget,[x,k]=Zt(b);x&&k?!y.shiftKey&&P===k?(y.preventDefault(),r&&K(x,{select:!0})):y.shiftKey&&P===x&&(y.preventDefault(),r&&K(k,{select:!0})):P===b&&y.preventDefault()}},[r,o,g.paused]);return(0,R.jsx)(ce.div,{tabIndex:-1,...c,ref:m,onKeyDown:p})},"FocusScope2"),"FocusScope"));function Gt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(K(r,{select:t}),document.activeElement!==n)return}i(Gt,"focusFirst");z(Gt,"focusFirst");function Zt(e){const t=dt(e);return[ot(t,e),ot(t.reverse(),e)]}i(Zt,"getTabbableEdges");z(Zt,"getTabbableEdges");function dt(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:z(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}i(dt,"getTabbableCandidates");z(dt,"getTabbableCandidates");function ot(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Qt(r,{upTo:t})))return r}i(ot,"findVisible");z(ot,"findVisible");function Qt(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}i(Qt,"isHidden");z(Qt,"isHidden");function Jt(e){return e instanceof HTMLInputElement&&"select"in e}i(Jt,"isSelectableInput");z(Jt,"isSelectableInput");function K(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Jt(e)&&t&&e.select()}}i(K,"focus");z(K,"focus");var Rt=en();function en(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=at(e,t),e.unshift(t)},remove(t){e=at(e,t),e[0]?.resume()}}}i(en,"createFocusScopesStack");z(en,"createFocusScopesStack");function at(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}i(at,"arrayRemove");z(at,"arrayRemove");function tn(e){return e.filter(t=>t.tagName!=="A")}i(tn,"removeLinks");z(tn,"removeLinks");var nn=ut(Xn(),1),sr=Object.defineProperty,cr=i((e,t)=>sr(e,"name",{value:t,configurable:!0}),"__name$5"),lr=f.forwardRef(cr(i(function(t,n){const{container:r,...o}=t,[a,s]=f.useState(!1);we(()=>s(!0),[]);const c=r||a&&globalThis?.document?.body;return c?nn.createPortal((0,R.jsx)(ce.div,{...o,ref:n}),c):null},"Portal2"),"Portal")),ur=Object.defineProperty,ht=i((e,t)=>ur(e,"name",{value:t,configurable:!0}),"__name$4"),Ae=0,ue=null;function fr(e){return pt(),e.children}i(fr,"FocusGuards");ht(fr,"FocusGuards");function pt(){f.useEffect(()=>{ue||(ue={start:it(),end:it()});const{start:e,end:t}=ue;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Ae++,()=>{Ae===1&&(ue?.start.remove(),ue?.end.remove(),ue=null),Ae=Math.max(0,Ae-1)}},[])}i(pt,"useFocusGuards");ht(pt,"useFocusGuards");function it(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}i(it,"createFocusGuard");ht(it,"createFocusGuard");var V=i(function(){return V=Object.assign||i(function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},"__assign"),V.apply(this,arguments)},"__assign");function rn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}i(rn,"__rest");function dr(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}i(dr,"__spreadArray");var Le="right-scroll-bar-position",De="width-before-scroll-bar",hr="with-scroll-bars-hidden",pr="--removed-body-scroll-bar-size";function Ke(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}i(Ke,"assignRef");function vr(e,t){var n=(0,f.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}i(vr,"useCallbackRef");var mr=typeof window<"u"?f.useLayoutEffect:f.useEffect,Ot=new WeakMap;function gr(e,t){var n=vr(t||null,function(r){return e.forEach(function(o){return Ke(o,r)})});return mr(function(){var r=Ot.get(n);if(r){var o=new Set(r),a=new Set(e),s=n.current;o.forEach(function(c){a.has(c)||Ke(c,null)}),a.forEach(function(c){o.has(c)||Ke(c,s)})}Ot.set(n,e)},[e]),n}i(gr,"useMergeRefs");function yr(e){return e}i(yr,"ItoI");function wr(e,t){t===void 0&&(t=yr);var n=[],r=!1;return{read:i(function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},"read"),useMedium:i(function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},"useMedium"),assignSyncMedium:i(function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:i(function(s){return o(s)},"push"),filter:i(function(){return n},"filter")}},"assignSyncMedium"),assignMedium:i(function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var c=i(function(){var h=a;a=[],h.forEach(o)},"executeQueue"),l=i(function(){return Promise.resolve().then(c)},"cycle");l(),n={push:i(function(h){a.push(h),l()},"push"),filter:i(function(h){return a=a.filter(h),n},"filter")}},"assignMedium")}}i(wr,"innerCreateMedium");function br(e){e===void 0&&(e={});var t=wr(null);return t.options=V({async:!0,ssr:!1},e),t}i(br,"createSidecarMedium");var on=i(function(e){var t=e.sideCar,n=rn(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return f.createElement(r,V({},n))},"SideCar");on.isSideCarExport=!0;function xr(e,t){return e.useMedium(t),on}i(xr,"exportSidecar");var an=br(),Ge=i(function(){},"nothing"),je=f.forwardRef(function(e,t){var n=f.useRef(null),r=f.useState({onScrollCapture:Ge,onWheelCapture:Ge,onTouchMoveCapture:Ge}),o=r[0],a=r[1],s=e.forwardProps,c=e.children,l=e.className,h=e.removeScrollBar,v=e.enabled,u=e.shards,d=e.sideCar,m=e.noRelative,g=e.noIsolation,p=e.inert,y=e.allowPinchZoom,w=e.as,P=w===void 0?"div":w,b=e.gapMode,x=rn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=d,E=gr([n,t]),C=V(V({},x),o);return f.createElement(f.Fragment,null,v&&f.createElement(k,{sideCar:an,removeScrollBar:h,shards:u,noRelative:m,noIsolation:g,inert:p,setCallbacks:a,allowPinchZoom:!!y,lockRef:n,gapMode:b}),s?f.cloneElement(f.Children.only(c),V(V({},C),{ref:E})):f.createElement(P,V({},C,{className:l,ref:E}),c))});je.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};je.classNames={fullWidth:De,zeroRight:Le};var Mt,Pr=i(function(){if(Mt)return Mt;if(typeof __webpack_nonce__<"u")return __webpack_nonce__},"getNonce");function kr(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Pr();return t&&e.setAttribute("nonce",t),e}i(kr,"makeStyleTag");function Er(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}i(Er,"injectStyles");function Cr(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}i(Cr,"insertStyleTag");var Ar=i(function(){var e=0,t=null;return{add:i(function(n){e==0&&(t=kr())&&(Er(t,n),Cr(t)),e++},"add"),remove:i(function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)},"remove")}},"stylesheetSingleton"),Sr=i(function(){var e=Ar();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},"styleHookSingleton"),sn=i(function(){var e=Sr(),t=i(function(n){var r=n.styles,o=n.dynamic;return e(r,o),null},"Sheet");return t},"styleSingleton"),Rr={left:0,top:0,right:0,gap:0},Ze=i(function(e){return parseInt(e||"",10)||0},"parse"),Or=i(function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ze(n),Ze(r),Ze(o)]},"getOffset"),Mr=i(function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Rr;var t=Or(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},"getGapWidth"),_r=sn(),be="data-scroll-locked",Lr=i(function(e,t,n,r){var o=e.left,a=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),`
2
2
  .`.concat(hr,` {
3
3
  overflow: hidden `).concat(r,`;
4
4
  padding-right: `).concat(c,"px ").concat(r,`;
package/dist/index.html CHANGED
@@ -41,55 +41,55 @@
41
41
  }
42
42
  })();
43
43
  </script>
44
- <script type="module" crossorigin src="/assets/index-B0ZdgWne.js"></script>
44
+ <script type="module" crossorigin src="/assets/index-BwUOm4Xq.js"></script>
45
45
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-ZpX3ckPj.js">
46
- <link rel="modulepreload" crossorigin href="/assets/createLucideIcon-BY5zEeth.js">
46
+ <link rel="modulepreload" crossorigin href="/assets/createLucideIcon-CLQ6uxcH.js">
47
47
  <link rel="modulepreload" crossorigin href="/assets/preload-helper-CceJXRIF.js">
48
- <link rel="modulepreload" crossorigin href="/assets/zap-C2Kg_IRl.js">
49
- <link rel="modulepreload" crossorigin href="/assets/agents-EgopqlRF.js">
50
- <link rel="modulepreload" crossorigin href="/assets/button-B88nBobN.js">
51
- <link rel="modulepreload" crossorigin href="/assets/EmptyState-DSAob43E.js">
52
- <link rel="modulepreload" crossorigin href="/assets/router-D9K0z3tS.js">
53
- <link rel="modulepreload" crossorigin href="/assets/bot-SnTe3UEj.js">
54
- <link rel="modulepreload" crossorigin href="/assets/mention-chips-DTyYiiiu.js">
55
- <link rel="modulepreload" crossorigin href="/assets/dist-B6PG7LSl.js">
56
- <link rel="modulepreload" crossorigin href="/assets/dist-IkV7XjF6.js">
57
- <link rel="modulepreload" crossorigin href="/assets/AgentAvatar-DNN1aAlU.js">
48
+ <link rel="modulepreload" crossorigin href="/assets/zap-CeCCVOlg.js">
49
+ <link rel="modulepreload" crossorigin href="/assets/agents-S2cJMIK7.js">
50
+ <link rel="modulepreload" crossorigin href="/assets/button-L-o1dNjR.js">
51
+ <link rel="modulepreload" crossorigin href="/assets/EmptyState-CkiAU2cy.js">
52
+ <link rel="modulepreload" crossorigin href="/assets/router-BF60R0zd.js">
53
+ <link rel="modulepreload" crossorigin href="/assets/bot-Ds68iyWW.js">
54
+ <link rel="modulepreload" crossorigin href="/assets/mention-chips-B3tFslbs.js">
55
+ <link rel="modulepreload" crossorigin href="/assets/dist-BbSVBEix.js">
56
+ <link rel="modulepreload" crossorigin href="/assets/dist-DrRrxz2U.js">
57
+ <link rel="modulepreload" crossorigin href="/assets/AgentAvatar-vHdJ_j8Q.js">
58
58
  <link rel="modulepreload" crossorigin href="/assets/dist-DCJXgQu0.js">
59
- <link rel="modulepreload" crossorigin href="/assets/MarkdownEditor-DhOkCe8q.js">
60
- <link rel="modulepreload" crossorigin href="/assets/sheet-gGD3j06A.js">
61
- <link rel="modulepreload" crossorigin href="/assets/check-DiTvqt9f.js">
62
- <link rel="modulepreload" crossorigin href="/assets/chevron-right-CEAI_3f1.js">
63
- <link rel="modulepreload" crossorigin href="/assets/checkbox-CLdcRGnx.js">
64
- <link rel="modulepreload" crossorigin href="/assets/label-CaB9H2SL.js">
65
- <link rel="modulepreload" crossorigin href="/assets/clipboard-BNjohVM9.js">
66
- <link rel="modulepreload" crossorigin href="/assets/loader-circle-GP19zXLR.js">
67
- <link rel="modulepreload" crossorigin href="/assets/octagon-alert-DX7KDHMN.js">
68
- <link rel="modulepreload" crossorigin href="/assets/StatusIcon-Ce5Cymi0.js">
69
- <link rel="modulepreload" crossorigin href="/assets/chevron-down-CSzK2utq.js">
70
- <link rel="modulepreload" crossorigin href="/assets/select-DK8w-ynH.js">
71
- <link rel="modulepreload" crossorigin href="/assets/heartbeats-CY-OhSkI.js">
72
- <link rel="modulepreload" crossorigin href="/assets/health-uDuG_Kdk.js">
73
- <link rel="modulepreload" crossorigin href="/assets/useHiddenSettings-z0AwYeA9.js">
74
- <link rel="modulepreload" crossorigin href="/assets/rotate-ccw-AONvzlvS.js">
75
- <link rel="modulepreload" crossorigin href="/assets/triangle-alert-xF2os76Q.js">
76
- <link rel="modulepreload" crossorigin href="/assets/badge-BzDyxQA_.js">
77
- <link rel="modulepreload" crossorigin href="/assets/environments-Db-5PwTL.js">
78
- <link rel="modulepreload" crossorigin href="/assets/input-eETG1M5C.js">
79
- <link rel="modulepreload" crossorigin href="/assets/company-members-BLqmUhC_.js">
80
- <link rel="modulepreload" crossorigin href="/assets/AgentIdentity-b3pzXoFU.js">
81
- <link rel="modulepreload" crossorigin href="/assets/card-C3xuBj9F.js">
82
- <link rel="modulepreload" crossorigin href="/assets/skeleton-BLy6O28Y.js">
83
- <link rel="modulepreload" crossorigin href="/assets/PageSkeleton-Bb3gOnqb.js">
84
- <link rel="modulepreload" crossorigin href="/assets/RoutineRunVariablesDialog-B7IG454s.js">
85
- <link rel="modulepreload" crossorigin href="/assets/tabs-BfMGh_Jv.js">
86
- <link rel="modulepreload" crossorigin href="/assets/save-DEgZPLfX.js">
87
- <link rel="modulepreload" crossorigin href="/assets/use-adapter-capabilities-D5gIkuKA.js">
88
- <link rel="modulepreload" crossorigin href="/assets/external-link-C0fxPTmL.js">
89
- <link rel="modulepreload" crossorigin href="/assets/MarkdownBody-hSj7wMwK.js">
90
- <link rel="modulepreload" crossorigin href="/assets/file-text-CFk8yuxg.js">
91
- <link rel="modulepreload" crossorigin href="/assets/SidebarContext-CEonkVTc.js">
92
- <link rel="stylesheet" crossorigin href="/assets/index-BTKFpILc.css">
59
+ <link rel="modulepreload" crossorigin href="/assets/MarkdownEditor-CEjOwoOw.js">
60
+ <link rel="modulepreload" crossorigin href="/assets/sheet-DdVF0068.js">
61
+ <link rel="modulepreload" crossorigin href="/assets/check-qnovnvSs.js">
62
+ <link rel="modulepreload" crossorigin href="/assets/chevron-right-DI7co3UN.js">
63
+ <link rel="modulepreload" crossorigin href="/assets/checkbox-Be8I1-GR.js">
64
+ <link rel="modulepreload" crossorigin href="/assets/label-CELIzVlm.js">
65
+ <link rel="modulepreload" crossorigin href="/assets/clipboard-Bo4IrVtO.js">
66
+ <link rel="modulepreload" crossorigin href="/assets/loader-circle-SRrhJJNd.js">
67
+ <link rel="modulepreload" crossorigin href="/assets/octagon-alert-BK-ZgTBH.js">
68
+ <link rel="modulepreload" crossorigin href="/assets/StatusIcon-DZVfuu7f.js">
69
+ <link rel="modulepreload" crossorigin href="/assets/chevron-down-BT1C9igz.js">
70
+ <link rel="modulepreload" crossorigin href="/assets/select-C5wSYGXD.js">
71
+ <link rel="modulepreload" crossorigin href="/assets/heartbeats-CbpnptmQ.js">
72
+ <link rel="modulepreload" crossorigin href="/assets/health-Dnr6MCRc.js">
73
+ <link rel="modulepreload" crossorigin href="/assets/useHiddenSettings-DmjgEkL4.js">
74
+ <link rel="modulepreload" crossorigin href="/assets/rotate-ccw-C-migVv-.js">
75
+ <link rel="modulepreload" crossorigin href="/assets/triangle-alert-DLfImvPL.js">
76
+ <link rel="modulepreload" crossorigin href="/assets/badge-CDo3gnAS.js">
77
+ <link rel="modulepreload" crossorigin href="/assets/environments-XRhpXB-M.js">
78
+ <link rel="modulepreload" crossorigin href="/assets/input-BoiP6orR.js">
79
+ <link rel="modulepreload" crossorigin href="/assets/company-members-Cs8yGeoI.js">
80
+ <link rel="modulepreload" crossorigin href="/assets/AgentIdentity-DpavDfDR.js">
81
+ <link rel="modulepreload" crossorigin href="/assets/card-kuRnaECX.js">
82
+ <link rel="modulepreload" crossorigin href="/assets/skeleton-BqTPd9e1.js">
83
+ <link rel="modulepreload" crossorigin href="/assets/PageSkeleton-C9GpVJ3b.js">
84
+ <link rel="modulepreload" crossorigin href="/assets/RoutineRunVariablesDialog-BxPUA-_s.js">
85
+ <link rel="modulepreload" crossorigin href="/assets/tabs-DA7s0b5p.js">
86
+ <link rel="modulepreload" crossorigin href="/assets/save-BiJVRX4n.js">
87
+ <link rel="modulepreload" crossorigin href="/assets/use-adapter-capabilities-zxCr69V4.js">
88
+ <link rel="modulepreload" crossorigin href="/assets/external-link-K3IGxvWK.js">
89
+ <link rel="modulepreload" crossorigin href="/assets/MarkdownBody-Dc5pAWyT.js">
90
+ <link rel="modulepreload" crossorigin href="/assets/file-text-KXVUI6i-.js">
91
+ <link rel="modulepreload" crossorigin href="/assets/SidebarContext-BzqYhcyf.js">
92
+ <link rel="stylesheet" crossorigin href="/assets/index-D9x0wcjq.css">
93
93
  </head>
94
94
  <body>
95
95
  <div id="root"></div>
@@ -0,0 +1,32 @@
1
+ {
2
+ "id": "ALARM_LIGHT",
3
+ "name": "Alarm Light",
4
+ "category": "wall",
5
+ "type": "group",
6
+ "groupType": "state",
7
+ "canPlaceOnWalls": true,
8
+ "canPlaceOnSurfaces": false,
9
+ "backgroundTiles": 0,
10
+ "members": [
11
+ {
12
+ "type": "asset",
13
+ "id": "ALARM_LIGHT",
14
+ "file": "ALARM_LIGHT.png",
15
+ "width": 16,
16
+ "height": 16,
17
+ "footprintW": 1,
18
+ "footprintH": 1,
19
+ "state": "off"
20
+ },
21
+ {
22
+ "type": "asset",
23
+ "id": "ALARM_LIGHT_ON",
24
+ "file": "ALARM_LIGHT_ON.png",
25
+ "width": 16,
26
+ "height": 16,
27
+ "footprintW": 1,
28
+ "footprintH": 1,
29
+ "state": "on"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "COIN_STACK",
3
+ "name": "Coin Stack",
4
+ "category": "decor",
5
+ "type": "asset",
6
+ "canPlaceOnWalls": false,
7
+ "canPlaceOnSurfaces": true,
8
+ "backgroundTiles": 0,
9
+ "width": 16,
10
+ "height": 16,
11
+ "footprintW": 1,
12
+ "footprintH": 1
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "CONFETTI",
3
+ "name": "Confetti",
4
+ "category": "effect",
5
+ "type": "asset",
6
+ "canPlaceOnWalls": false,
7
+ "canPlaceOnSurfaces": false,
8
+ "backgroundTiles": 0,
9
+ "width": 32,
10
+ "height": 32,
11
+ "footprintW": 2,
12
+ "footprintH": 2
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "DESK_LAMP",
3
+ "name": "Desk Lamp",
4
+ "category": "electronics",
5
+ "type": "asset",
6
+ "canPlaceOnWalls": false,
7
+ "canPlaceOnSurfaces": true,
8
+ "backgroundTiles": 1,
9
+ "width": 16,
10
+ "height": 32,
11
+ "footprintW": 1,
12
+ "footprintH": 2
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "KANBAN_BOARD",
3
+ "name": "Kanban Board",
4
+ "category": "wall",
5
+ "type": "asset",
6
+ "canPlaceOnWalls": true,
7
+ "canPlaceOnSurfaces": false,
8
+ "backgroundTiles": 0,
9
+ "width": 48,
10
+ "height": 32,
11
+ "footprintW": 3,
12
+ "footprintH": 2
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "MAILBOX",
3
+ "name": "Mailbox",
4
+ "category": "decor",
5
+ "type": "asset",
6
+ "canPlaceOnWalls": false,
7
+ "canPlaceOnSurfaces": false,
8
+ "backgroundTiles": 1,
9
+ "width": 16,
10
+ "height": 32,
11
+ "footprintW": 1,
12
+ "footprintH": 2
13
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "id": "SMOKE",
3
+ "name": "Smoke",
4
+ "category": "effect",
5
+ "type": "group",
6
+ "groupType": "animation",
7
+ "canPlaceOnWalls": false,
8
+ "canPlaceOnSurfaces": false,
9
+ "backgroundTiles": 0,
10
+ "members": [
11
+ {
12
+ "type": "asset",
13
+ "id": "SMOKE_1",
14
+ "file": "SMOKE_1.png",
15
+ "width": 16,
16
+ "height": 16,
17
+ "footprintW": 1,
18
+ "footprintH": 1,
19
+ "frame": 0
20
+ },
21
+ {
22
+ "type": "asset",
23
+ "id": "SMOKE_2",
24
+ "file": "SMOKE_2.png",
25
+ "width": 16,
26
+ "height": 16,
27
+ "footprintW": 1,
28
+ "footprintH": 1,
29
+ "frame": 1
30
+ },
31
+ {
32
+ "type": "asset",
33
+ "id": "SMOKE_3",
34
+ "file": "SMOKE_3.png",
35
+ "width": 16,
36
+ "height": 16,
37
+ "footprintW": 1,
38
+ "footprintH": 1,
39
+ "frame": 2
40
+ }
41
+ ]
42
+ }
@@ -1 +1 @@
1
- {"characters":["characters/char_0.png","characters/char_1.png","characters/char_2.png","characters/char_3.png","characters/char_4.png","characters/char_5.png","characters/char_6.png","characters/char_7.png","characters/char_8.png","characters/char_9.png","characters/char_10.png","characters/char_11.png","characters/char_12.png","characters/char_13.png","characters/char_14.png","characters/char_15.png","characters/char_16.png","characters/char_17.png","characters/char_18.png","characters/char_19.png","characters/char_20.png","characters/char_21.png","characters/char_22.png","characters/char_23.png","characters/char_24.png","characters/char_25.png","characters/char_26.png","characters/char_27.png","characters/char_28.png","characters/char_29.png","characters/char_30.png","characters/char_31.png","characters/char_32.png","characters/char_33.png","characters/char_34.png","characters/char_35.png","characters/char_36.png","characters/char_37.png","characters/char_38.png","characters/char_39.png","characters/char_40.png","characters/char_41.png","characters/char_42.png","characters/char_43.png","characters/char_44.png","characters/char_45.png","characters/char_46.png","characters/char_47.png","characters/char_48.png","characters/char_49.png","characters/char_50.png","characters/char_51.png","characters/char_52.png","characters/char_53.png","characters/char_54.png","characters/char_55.png","characters/char_56.png","characters/char_57.png","characters/char_58.png","characters/char_59.png","characters/char_60.png","characters/char_61.png","characters/char_62.png","characters/char_63.png","characters/char_64.png","characters/char_65.png","characters/char_66.png","characters/char_67.png","characters/char_68.png","characters/char_69.png","characters/char_70.png","characters/char_71.png","characters/char_72.png","characters/char_73.png","characters/char_74.png","characters/char_75.png","characters/char_76.png","characters/char_77.png","characters/char_78.png","characters/char_79.png","characters/char_80.png","characters/char_81.png"],"floors":["floors/floor_0.png","floors/floor_1.png","floors/floor_2.png","floors/floor_3.png","floors/floor_4.png","floors/floor_5.png","floors/floor_6.png","floors/floor_7.png","floors/floor_8.png"],"walls":["walls/wall_0.png"],"furniture":[{"id":"ARCADE_MACHINE","label":"Arcade Machine","category":"misc","width":32,"height":48,"footprintW":2,"footprintH":3,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/ARCADE_MACHINE/ARCADE_MACHINE.png"},{"id":"BIN","label":"Bin","category":"misc","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/BIN/BIN.png"},{"id":"BOARDROOM_TABLE","label":"Boardroom Table","category":"desks","width":48,"height":80,"footprintW":3,"footprintH":5,"isDesk":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/BOARDROOM_TABLE/BOARDROOM_TABLE.png"},{"id":"BOOKSHELF","label":"Bookshelf","category":"wall","width":32,"height":16,"footprintW":2,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/BOOKSHELF/BOOKSHELF.png"},{"id":"CACTUS","label":"Cactus","category":"decor","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/CACTUS/CACTUS.png"},{"id":"CLOCK","label":"Clock","category":"wall","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/CLOCK/CLOCK.png"},{"id":"COFFEE","label":"Coffee","category":"misc","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":true,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/COFFEE/COFFEE.png"},{"id":"COFFEE_TABLE","label":"Coffee Table","category":"desks","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/COFFEE_TABLE/COFFEE_TABLE.png"},{"id":"CUSHIONED_BENCH","label":"Cushioned Bench","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/CUSHIONED_BENCH/CUSHIONED_BENCH.png"},{"id":"CUSHIONED_CHAIR_FRONT","label":"Cushioned Chair","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"groupId":"CUSHIONED_CHAIR","orientation":"front","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/CUSHIONED_CHAIR/CUSHIONED_CHAIR_FRONT.png"},{"id":"CUSHIONED_CHAIR_BACK","label":"Cushioned Chair","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"groupId":"CUSHIONED_CHAIR","orientation":"back","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/CUSHIONED_CHAIR/CUSHIONED_CHAIR_BACK.png"},{"id":"CUSHIONED_CHAIR_SIDE","label":"Cushioned Chair","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"groupId":"CUSHIONED_CHAIR","orientation":"side","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":true,"furniturePath":"furniture/CUSHIONED_CHAIR/CUSHIONED_CHAIR_SIDE.png"},{"id":"DESK_FRONT","label":"Desk","category":"desks","width":48,"height":32,"footprintW":3,"footprintH":2,"isDesk":true,"groupId":"DESK","orientation":"front","rotationScheme":"2-way","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/DESK/DESK_FRONT.png"},{"id":"DESK_SIDE","label":"Desk","category":"desks","width":16,"height":64,"footprintW":1,"footprintH":4,"isDesk":true,"groupId":"DESK","orientation":"side","rotationScheme":"2-way","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/DESK/DESK_SIDE.png"},{"id":"DOUBLE_BOOKSHELF","label":"Double Bookshelf","category":"wall","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/DOUBLE_BOOKSHELF/DOUBLE_BOOKSHELF.png"},{"id":"HANGING_PLANT","label":"Hanging Plant","category":"wall","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":true,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/HANGING_PLANT/HANGING_PLANT.png"},{"id":"LARGE_PAINTING","label":"Large Painting","category":"wall","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/LARGE_PAINTING/LARGE_PAINTING.png"},{"id":"LARGE_PLANT","label":"Large Plant","category":"decor","width":32,"height":48,"footprintW":2,"footprintH":3,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":2,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/LARGE_PLANT/LARGE_PLANT.png"},{"id":"PC_FRONT_ON_1","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"orientation":"front","state":"on","rotationScheme":"3-way-mirror","frame":0,"canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_FRONT_ON_1.png"},{"id":"PC_FRONT_ON_2","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"orientation":"front","state":"on","rotationScheme":"3-way-mirror","frame":1,"canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_FRONT_ON_2.png"},{"id":"PC_FRONT_ON_3","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"orientation":"front","state":"on","rotationScheme":"3-way-mirror","frame":2,"canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_FRONT_ON_3.png"},{"id":"PC_FRONT_OFF","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"orientation":"front","state":"off","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_FRONT_OFF.png"},{"id":"PC_BACK","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"PC","orientation":"back","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_BACK.png"},{"id":"PC_SIDE","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"PC","orientation":"side","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":true,"furniturePath":"furniture/PC/PC_SIDE.png"},{"id":"PLANT","label":"Plant","category":"decor","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PLANT/PLANT.png"},{"id":"PLANT_2","label":"Plant","category":"decor","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PLANT_2/PLANT_2.png"},{"id":"POOL_TABLE","label":"Pool Table","category":"desks","width":80,"height":48,"footprintW":5,"footprintH":3,"isDesk":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/POOL_TABLE/POOL_TABLE.png"},{"id":"POT","label":"Pot","category":"decor","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/POT/POT.png"},{"id":"SMALL_PAINTING","label":"Small Painting","category":"wall","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/SMALL_PAINTING/SMALL_PAINTING.png"},{"id":"SMALL_PAINTING_2","label":"Small Painting","category":"wall","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/SMALL_PAINTING_2/SMALL_PAINTING_2.png"},{"id":"SMALL_TABLE_FRONT","label":"Small Table","category":"desks","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":true,"groupId":"SMALL_TABLE","orientation":"front","rotationScheme":"2-way","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/SMALL_TABLE/SMALL_TABLE_FRONT.png"},{"id":"SMALL_TABLE_SIDE","label":"Small Table","category":"desks","width":16,"height":48,"footprintW":1,"footprintH":3,"isDesk":true,"groupId":"SMALL_TABLE","orientation":"side","rotationScheme":"2-way","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/SMALL_TABLE/SMALL_TABLE_SIDE.png"},{"id":"SOFA_FRONT","label":"Sofa","category":"chairs","width":32,"height":16,"footprintW":2,"footprintH":1,"isDesk":false,"groupId":"SOFA","orientation":"front","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/SOFA/SOFA_FRONT.png"},{"id":"SOFA_BACK","label":"Sofa","category":"chairs","width":32,"height":16,"footprintW":2,"footprintH":1,"isDesk":false,"groupId":"SOFA","orientation":"back","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/SOFA/SOFA_BACK.png"},{"id":"SOFA_SIDE","label":"Sofa","category":"chairs","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"SOFA","orientation":"side","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":true,"furniturePath":"furniture/SOFA/SOFA_SIDE.png"},{"id":"TABLE_FRONT","label":"Table","category":"desks","width":48,"height":64,"footprintW":3,"footprintH":4,"isDesk":true,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/TABLE_FRONT/TABLE_FRONT.png"},{"id":"WHITEBOARD","label":"Whiteboard","category":"wall","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/WHITEBOARD/WHITEBOARD.png"},{"id":"WOODEN_BENCH","label":"Wooden Bench","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/WOODEN_BENCH/WOODEN_BENCH.png"},{"id":"WOODEN_CHAIR_FRONT","label":"Wooden Chair","category":"chairs","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"WOODEN_CHAIR","orientation":"front","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/WOODEN_CHAIR/WOODEN_CHAIR_FRONT.png"},{"id":"WOODEN_CHAIR_BACK","label":"Wooden Chair","category":"chairs","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"WOODEN_CHAIR","orientation":"back","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/WOODEN_CHAIR/WOODEN_CHAIR_BACK.png"},{"id":"WOODEN_CHAIR_SIDE","label":"Wooden Chair","category":"chairs","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"WOODEN_CHAIR","orientation":"side","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":true,"furniturePath":"furniture/WOODEN_CHAIR/WOODEN_CHAIR_SIDE.png"}],"layouts":{"office":"default-layout-1.json","boardroomKitchen":"agent-pixels-layout-boardroom-kitchen.json"},"defaultLayout":"default-layout-1.json"}
1
+ {"characters":["characters/char_0.png","characters/char_1.png","characters/char_2.png","characters/char_3.png","characters/char_4.png","characters/char_5.png","characters/char_6.png","characters/char_7.png","characters/char_8.png","characters/char_9.png","characters/char_10.png","characters/char_11.png","characters/char_12.png","characters/char_13.png","characters/char_14.png","characters/char_15.png","characters/char_16.png","characters/char_17.png","characters/char_18.png","characters/char_19.png","characters/char_20.png","characters/char_21.png","characters/char_22.png","characters/char_23.png","characters/char_24.png","characters/char_25.png","characters/char_26.png","characters/char_27.png","characters/char_28.png","characters/char_29.png","characters/char_30.png","characters/char_31.png","characters/char_32.png","characters/char_33.png","characters/char_34.png","characters/char_35.png","characters/char_36.png","characters/char_37.png","characters/char_38.png","characters/char_39.png","characters/char_40.png","characters/char_41.png","characters/char_42.png","characters/char_43.png","characters/char_44.png","characters/char_45.png","characters/char_46.png","characters/char_47.png","characters/char_48.png","characters/char_49.png","characters/char_50.png","characters/char_51.png","characters/char_52.png","characters/char_53.png","characters/char_54.png","characters/char_55.png","characters/char_56.png","characters/char_57.png","characters/char_58.png","characters/char_59.png","characters/char_60.png","characters/char_61.png","characters/char_62.png","characters/char_63.png","characters/char_64.png","characters/char_65.png","characters/char_66.png","characters/char_67.png","characters/char_68.png","characters/char_69.png","characters/char_70.png","characters/char_71.png","characters/char_72.png","characters/char_73.png","characters/char_74.png","characters/char_75.png","characters/char_76.png","characters/char_77.png","characters/char_78.png","characters/char_79.png","characters/char_80.png","characters/char_81.png"],"floors":["floors/floor_0.png","floors/floor_1.png","floors/floor_2.png","floors/floor_3.png","floors/floor_4.png","floors/floor_5.png","floors/floor_6.png","floors/floor_7.png","floors/floor_8.png"],"walls":["walls/wall_0.png"],"furniture":[{"id":"ALARM_LIGHT","label":"Alarm Light","category":"wall","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"groupId":"ALARM_LIGHT","state":"off","canPlaceOnWalls":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"mirrorSide":false,"furniturePath":"furniture/ALARM_LIGHT/ALARM_LIGHT.png"},{"id":"ALARM_LIGHT_ON","label":"Alarm Light","category":"wall","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"groupId":"ALARM_LIGHT","state":"on","canPlaceOnWalls":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"mirrorSide":false,"furniturePath":"furniture/ALARM_LIGHT/ALARM_LIGHT_ON.png"},{"id":"ARCADE_MACHINE","label":"Arcade Machine","category":"misc","width":32,"height":48,"footprintW":2,"footprintH":3,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/ARCADE_MACHINE/ARCADE_MACHINE.png"},{"id":"BIN","label":"Bin","category":"misc","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/BIN/BIN.png"},{"id":"BOARDROOM_TABLE","label":"Boardroom Table","category":"desks","width":48,"height":80,"footprintW":3,"footprintH":5,"isDesk":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/BOARDROOM_TABLE/BOARDROOM_TABLE.png"},{"id":"BOOKSHELF","label":"Bookshelf","category":"wall","width":32,"height":16,"footprintW":2,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/BOOKSHELF/BOOKSHELF.png"},{"id":"CACTUS","label":"Cactus","category":"decor","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/CACTUS/CACTUS.png"},{"id":"CLOCK","label":"Clock","category":"wall","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/CLOCK/CLOCK.png"},{"id":"COFFEE","label":"Coffee","category":"misc","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":true,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/COFFEE/COFFEE.png"},{"id":"COFFEE_TABLE","label":"Coffee Table","category":"desks","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/COFFEE_TABLE/COFFEE_TABLE.png"},{"id":"COIN_STACK","label":"Coin Stack","category":"decor","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":true,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/COIN_STACK/COIN_STACK.png"},{"id":"CUSHIONED_BENCH","label":"Cushioned Bench","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/CUSHIONED_BENCH/CUSHIONED_BENCH.png"},{"id":"CUSHIONED_CHAIR_BACK","label":"Cushioned Chair","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"groupId":"CUSHIONED_CHAIR","orientation":"back","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/CUSHIONED_CHAIR/CUSHIONED_CHAIR_BACK.png"},{"id":"CUSHIONED_CHAIR_FRONT","label":"Cushioned Chair","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"groupId":"CUSHIONED_CHAIR","orientation":"front","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/CUSHIONED_CHAIR/CUSHIONED_CHAIR_FRONT.png"},{"id":"CUSHIONED_CHAIR_SIDE","label":"Cushioned Chair","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"groupId":"CUSHIONED_CHAIR","orientation":"side","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":true,"furniturePath":"furniture/CUSHIONED_CHAIR/CUSHIONED_CHAIR_SIDE.png"},{"id":"DESK_FRONT","label":"Desk","category":"desks","width":48,"height":32,"footprintW":3,"footprintH":2,"isDesk":true,"groupId":"DESK","orientation":"front","rotationScheme":"2-way","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/DESK/DESK_FRONT.png"},{"id":"DESK_LAMP","label":"Desk Lamp","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/DESK_LAMP/DESK_LAMP.png"},{"id":"DESK_SIDE","label":"Desk","category":"desks","width":16,"height":64,"footprintW":1,"footprintH":4,"isDesk":true,"groupId":"DESK","orientation":"side","rotationScheme":"2-way","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/DESK/DESK_SIDE.png"},{"id":"DOUBLE_BOOKSHELF","label":"Double Bookshelf","category":"wall","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/DOUBLE_BOOKSHELF/DOUBLE_BOOKSHELF.png"},{"id":"HANGING_PLANT","label":"Hanging Plant","category":"wall","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":true,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/HANGING_PLANT/HANGING_PLANT.png"},{"id":"KANBAN_BOARD","label":"Kanban Board","category":"wall","width":48,"height":32,"footprintW":3,"footprintH":2,"isDesk":false,"canPlaceOnWalls":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"mirrorSide":false,"furniturePath":"furniture/KANBAN_BOARD/KANBAN_BOARD.png"},{"id":"LARGE_PAINTING","label":"Large Painting","category":"wall","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/LARGE_PAINTING/LARGE_PAINTING.png"},{"id":"LARGE_PLANT","label":"Large Plant","category":"decor","width":32,"height":48,"footprintW":2,"footprintH":3,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":2,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/LARGE_PLANT/LARGE_PLANT.png"},{"id":"MAILBOX","label":"Mailbox","category":"decor","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"backgroundTiles":1,"canPlaceOnSurfaces":false,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/MAILBOX/MAILBOX.png"},{"id":"PC_BACK","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"PC","orientation":"back","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_BACK.png"},{"id":"PC_FRONT_OFF","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"orientation":"front","state":"off","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_FRONT_OFF.png"},{"id":"PC_FRONT_ON_1","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"orientation":"front","state":"on","rotationScheme":"3-way-mirror","frame":0,"canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_FRONT_ON_1.png"},{"id":"PC_FRONT_ON_2","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"orientation":"front","state":"on","rotationScheme":"3-way-mirror","frame":1,"canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_FRONT_ON_2.png"},{"id":"PC_FRONT_ON_3","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"orientation":"front","state":"on","rotationScheme":"3-way-mirror","frame":2,"canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PC/PC_FRONT_ON_3.png"},{"id":"PC_SIDE","label":"PC","category":"electronics","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"PC","orientation":"side","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":true,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":true,"furniturePath":"furniture/PC/PC_SIDE.png"},{"id":"PLANT","label":"Plant","category":"decor","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PLANT/PLANT.png"},{"id":"PLANT_2","label":"Plant","category":"decor","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/PLANT_2/PLANT_2.png"},{"id":"POOL_TABLE","label":"Pool Table","category":"desks","width":80,"height":48,"footprintW":5,"footprintH":3,"isDesk":true,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/POOL_TABLE/POOL_TABLE.png"},{"id":"POT","label":"Pot","category":"decor","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/POT/POT.png"},{"id":"SMALL_PAINTING","label":"Small Painting","category":"wall","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/SMALL_PAINTING/SMALL_PAINTING.png"},{"id":"SMALL_PAINTING_2","label":"Small Painting","category":"wall","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/SMALL_PAINTING_2/SMALL_PAINTING_2.png"},{"id":"SMALL_TABLE_FRONT","label":"Small Table","category":"desks","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":true,"groupId":"SMALL_TABLE","orientation":"front","rotationScheme":"2-way","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/SMALL_TABLE/SMALL_TABLE_FRONT.png"},{"id":"SMALL_TABLE_SIDE","label":"Small Table","category":"desks","width":16,"height":48,"footprintW":1,"footprintH":3,"isDesk":true,"groupId":"SMALL_TABLE","orientation":"side","rotationScheme":"2-way","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/SMALL_TABLE/SMALL_TABLE_SIDE.png"},{"id":"SOFA_BACK","label":"Sofa","category":"chairs","width":32,"height":16,"footprintW":2,"footprintH":1,"isDesk":false,"groupId":"SOFA","orientation":"back","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/SOFA/SOFA_BACK.png"},{"id":"SOFA_FRONT","label":"Sofa","category":"chairs","width":32,"height":16,"footprintW":2,"footprintH":1,"isDesk":false,"groupId":"SOFA","orientation":"front","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/SOFA/SOFA_FRONT.png"},{"id":"SOFA_SIDE","label":"Sofa","category":"chairs","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"SOFA","orientation":"side","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":true,"furniturePath":"furniture/SOFA/SOFA_SIDE.png"},{"id":"TABLE_FRONT","label":"Table","category":"desks","width":48,"height":64,"footprintW":3,"footprintH":4,"isDesk":true,"canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/TABLE_FRONT/TABLE_FRONT.png"},{"id":"WHITEBOARD","label":"Whiteboard","category":"wall","width":32,"height":32,"footprintW":2,"footprintH":2,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":true,"mirrorSide":false,"furniturePath":"furniture/WHITEBOARD/WHITEBOARD.png"},{"id":"WOODEN_BENCH","label":"Wooden Bench","category":"chairs","width":16,"height":16,"footprintW":1,"footprintH":1,"isDesk":false,"canPlaceOnSurfaces":false,"backgroundTiles":0,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/WOODEN_BENCH/WOODEN_BENCH.png"},{"id":"WOODEN_CHAIR_BACK","label":"Wooden Chair","category":"chairs","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"WOODEN_CHAIR","orientation":"back","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/WOODEN_CHAIR/WOODEN_CHAIR_BACK.png"},{"id":"WOODEN_CHAIR_FRONT","label":"Wooden Chair","category":"chairs","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"WOODEN_CHAIR","orientation":"front","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":false,"furniturePath":"furniture/WOODEN_CHAIR/WOODEN_CHAIR_FRONT.png"},{"id":"WOODEN_CHAIR_SIDE","label":"Wooden Chair","category":"chairs","width":16,"height":32,"footprintW":1,"footprintH":2,"isDesk":false,"groupId":"WOODEN_CHAIR","orientation":"side","rotationScheme":"3-way-mirror","canPlaceOnSurfaces":false,"backgroundTiles":1,"canPlaceOnWalls":false,"mirrorSide":true,"furniturePath":"furniture/WOODEN_CHAIR/WOODEN_CHAIR_SIDE.png"}],"layouts":{"office":"default-layout-1.json","boardroomKitchen":"agent-pixels-layout-boardroom-kitchen.json"},"defaultLayout":"default-layout-1.json"}
package/dist/sw.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // browser install a new worker, which — via skipWaiting + controllerchange —
5
5
  // reloads parked tabs onto the fresh bundle. Left as the literal placeholder in
6
6
  // dev, where HMR (not the worker) drives refreshes.
7
- const BUILD_ID = "index-B0ZdgWne";
7
+ const BUILD_ID = "index-BwUOm4Xq";
8
8
  // Separate this allowlisted cache from older workers that cached arbitrary URLs.
9
9
  const CACHE_NAME = `paperclip-public-assets-${BUILD_ID}`;
10
10
  const privateRequests = new Set();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tickernelz/paperclip-pro-ui",
3
- "version": "2026.1002.1",
3
+ "version": "2026.1002.3",
4
4
  "description": "Prebuilt Paperclip board UI assets.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/tickernelz/paperclip-pro",
@@ -1 +0,0 @@
1
- var xe=Object.defineProperty;var r=(t,a)=>xe(t,"name",{value:a,configurable:!0});import{i as ne}from"./rolldown-runtime-ZpX3ckPj.js";import{Fr as pe,Lr as he,S as ge,U as fe,Y as G,Yn as W,nr as X,z as ye}from"./createLucideIcon-BY5zEeth.js";import{ct as ve,t as re}from"./router-D9K0z3tS.js";import{r as ee,t as je}from"./AgentAvatar-DNN1aAlU.js";import{i as te,r as be,t as Ne}from"./tabs-BfMGh_Jv.js";import{t as we}from"./agents-EgopqlRF.js";import{r as Ae,t as Te}from"./EmptyState-DSAob43E.js";import{c as _,i as y,n as D,s as F,t as k}from"./select-DK8w-ynH.js";import{t as T}from"./button-B88nBobN.js";import{t as se}from"./input-eETG1M5C.js";import{o as Se,r as Ce}from"./company-members-BLqmUhC_.js";import{r as v,t as j}from"./card-C3xuBj9F.js";import{Gn as Ee,O as ae,Pn as Ie,Rt as Ue,_n as Pe,bn as Le,fn as Re,yn as _e}from"./index-B0ZdgWne.js";var l=ne(he(),1),e=ne(pe(),1),De=50,n="__all",Fe=[{value:n,label:"All actions"},{value:"issue.",label:"Tasks"},{value:"agent.",label:"Agents"},{value:"heartbeat.",label:"Runs"},{value:"approval.",label:"Approvals"},{value:"project.",label:"Projects"},{value:"goal.",label:"Goals"},{value:"tool_gateway.",label:"Tools"},{value:"cost.",label:"Costs"},{value:"company.",label:"Company"}],ke=[{value:n,label:"All entities"},{value:"issue",label:"Task"},{value:"agent",label:"Agent"},{value:"project",label:"Project"},{value:"goal",label:"Goal"},{value:"company",label:"Company"}];function Be(t){if(!t)return;const a=new Date(`${t}T00:00:00.000Z`);return Number.isNaN(a.getTime())?void 0:a.toISOString()}r(Be,"toStartIso");function Ve(t){if(!t)return;const a=new Date(`${t}T23:59:59.999Z`);return Number.isNaN(a.getTime())?void 0:a.toISOString()}r(Ve,"toEndIso");function $e({record:t,agentMap:a,userProfileMap:d}){const u=t.agentId??(t.actorType==="agent"?t.actorId:null),c=u?a.get(u):null;if(c)return(0,e.jsxs)("span",{className:"inline-flex min-w-0 items-center gap-1.5",title:c.name,children:[(0,e.jsx)("span",{className:"flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground",children:(0,e.jsx)(je,{agent:c,size:16,className:"h-3 w-3"})}),(0,e.jsx)("span",{className:"truncate font-medium text-foreground",children:c.name})]});if(t.actorType==="user"&&t.actorId){const m=d.get(t.actorId);return(0,e.jsx)(ee,{name:m?.label??"User",avatarUrl:m?.image??null,size:"sm",className:"font-medium text-foreground"})}const h=t.actorType==="plugin"?"Plugin":t.actorType==="agent"?"Agent":t.actorType==="user"?"User":"System";return(0,e.jsx)(ee,{name:h,size:"sm",className:"font-medium text-foreground"})}r($e,"AuditActor");function qe({record:t}){const{issue:a,document:d}=t.entity,u=a?.identifier??a?.id??null;return u?(0,e.jsx)(re,{to:`/issues/${u}`,className:"font-medium text-primary hover:underline",children:a?.identifier?`${a.identifier}${a.title?` · ${a.title}`:""}`:"the task"}):d?(0,e.jsx)("span",{className:"font-medium text-foreground",children:d.key}):(0,e.jsx)("span",{className:"text-muted-foreground",children:t.entityType})}r(qe,"AuditEntityNode");function ze({record:t,agentMap:a,userProfileMap:d}){const u=Ue(t.action,t.details,{agentMap:a,userProfileMap:d}),c=t.responsibleUserId?d.get(t.responsibleUserId):null,h=!!(t.responsibleUserId&&!(t.actorType==="user"&&t.actorId===t.responsibleUserId)),m=c?.label??(t.responsibleUserId?"a user":null),g=t.entity.comment?.excerpt?.trim(),x=t.entity.issue&&t.entity.document?t.entity.document.key:null;return(0,e.jsx)("li",{className:"px-4 py-3 text-sm",children:(0,e.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,e.jsxs)("div",{className:"min-w-0 space-y-1",children:[(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-x-1.5 gap-y-1 text-foreground",children:[(0,e.jsx)($e,{record:t,agentMap:a,userProfileMap:d}),(0,e.jsx)("span",{className:"text-muted-foreground",children:u}),(0,e.jsx)(qe,{record:t})]}),g?(0,e.jsxs)("p",{className:"line-clamp-2 border-l-2 border-border pl-2 text-muted-foreground",children:["“",g,"”"]}):null,x?(0,e.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Document ",(0,e.jsx)("span",{className:"font-mono text-(length:--text-micro)",children:x})]}):null,(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs text-muted-foreground",children:[h&&m?(0,e.jsxs)("span",{className:"inline-flex items-center rounded-full bg-muted px-2 py-0.5",children:["on behalf of ",m]}):null,t.runId&&t.agentId?(0,e.jsx)(re,{to:`/agents/${t.agentId}/runs/${t.runId}`,className:"text-primary hover:underline",children:"View run"}):null,(0,e.jsx)("span",{className:"font-mono text-(length:--text-micro) opacity-70",children:t.action})]})]}),(0,e.jsx)("time",{className:"shrink-0 whitespace-nowrap text-xs text-muted-foreground",dateTime:t.createdAt,title:new Date(t.createdAt).toLocaleString(),children:ye(t.createdAt)})]})})}r(ze,"AuditRow");function Me(){return(0,e.jsx)(j,{children:(0,e.jsxs)(v,{className:"flex flex-col items-center gap-3 py-14 text-center",children:[(0,e.jsx)(Pe,{className:"h-10 w-10 text-muted-foreground/50"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-sm font-medium text-foreground",children:"Agent audit is a Paperclip Enterprise view"}),(0,e.jsxs)("p",{className:"mx-auto mt-1 max-w-md text-sm text-muted-foreground",children:["The agent audit log gives you a searchable, exportable record of everything your agents did — every comment, task change, approval, and run — with the responsible person for each action. Ask an administrator to grant you the"," ",(0,e.jsx)("span",{className:"font-mono text-(length:--text-micro)",children:"audit:view_agent_actions"})," ","permission to view it."]})]})]})})}r(Me,"AuditUpsell");function Oe({companyId:t,lockedAgentId:a,hideHeader:d,mode:u,onModeChange:c}){const{pushToast:h}=Re(),[m,g]=(0,l.useState)(n),[x,B]=(0,l.useState)(n),[S,V]=(0,l.useState)(n),[C,$]=(0,l.useState)(n),[E,q]=(0,l.useState)(""),[I,z]=(0,l.useState)(""),[Z,Q]=(0,l.useState)(!1),[U,H]=(0,l.useState)(!1),M=X({queryKey:G.agents.list(t),queryFn:r(()=>we.list(t),"queryFn")}),O=X({queryKey:G.access.companyUserDirectory(t),queryFn:r(()=>Se.listUserDirectory(t),"queryFn"),retry:!1}),ie=(0,l.useMemo)(()=>new Map((M.data??[]).map(s=>[s.id,s])),[M.data]),le=(0,l.useMemo)(()=>Ce(O.data?.users),[O.data]),f=a?"agents":u??"all",o={actorScope:f,agentId:a??(m===n?void 0:m),responsibleUserId:x===n?void 0:x,action:S===n?void 0:S,entityType:C===n?void 0:C,from:Be(E),to:Ve(I)},b=!!(!a&&m!==n||x!==n||S!==n||C!==n||E||I),i=Ee({queryKey:G.audit.agentActions(t,{actorScope:o.actorScope,agentId:o.agentId,responsibleUserId:o.responsibleUserId,action:o.action,entityType:o.entityType,from:o.from,to:o.to}),queryFn:r(({pageParam:s})=>ae.listAgentActions(t,{...o,limit:De,cursor:s??void 0}),"queryFn"),initialPageParam:null,getNextPageParam:r(s=>s.nextCursor??void 0,"getNextPageParam"),retry:r((s,p)=>!(p instanceof W&&p.status===403)&&s<2,"retry")}),K=i.error instanceof W&&i.error.status===403,P=i.data?.pages.some(s=>s.accessTier==="basic")??!1,oe=i.data?.pages.some(s=>s.accessTier==="full")??!1,Y=(0,l.useMemo)(()=>{const s=i.data?.pages??[];return(P?s.filter(p=>p.accessTier!=="full"):s).flatMap(p=>p.items)},[i.data,P]),L=P?"basic":i.data?.pages[0]?.accessTier,N=P&&oe,ce=a?!0:L==="full",de=!!(N&&U&&!i.isFetching),R=!!(!a&&!de&&(K&&b||N)),w=!!(K&&!a&&f==="agents"&&c),ue=!!(!a&&c&&!w&&(f==="agents"||L==="full"));(0,l.useEffect)(()=>{w&&c?.("all")},[w,c]),(0,l.useEffect)(()=>{!a&&(L==="basic"||R)&&(g(n),B(n),V(n),$(n),q(""),z(""))},[L,N,a,R]),(0,l.useEffect)(()=>{if(!N){U&&H(!1);return}U||(H(!0),i.refetch())},[U,i,N]);const J=r(()=>{g(n),B(n),V(n),$(n),q(""),z("")},"clearFilters"),me=r(async()=>{Q(!0);try{const s=await ae.exportAgentActionsCsv(t,{actorScope:o.actorScope,agentId:o.agentId,responsibleUserId:o.responsibleUserId,action:o.action,entityType:o.entityType,from:o.from,to:o.to}),p=URL.createObjectURL(s),A=document.createElement("a");A.href=p,A.download=`${f==="agents"?"agent-audit":"activity"}-${t}.csv`,document.body.appendChild(A),A.click(),A.remove(),window.setTimeout(()=>URL.revokeObjectURL(p),5e3),h({title:"Audit exported",body:"Your CSV download has started.",tone:"success"})}catch(s){h({title:"Export failed",body:s instanceof Error?s.message:"Could not export the audit log.",tone:"error"})}finally{Q(!1)}},"handleExport");return K&&!R&&!w?(0,e.jsx)(Me,{}):(0,e.jsxs)("div",{className:"space-y-4",children:[d?null:(0,e.jsx)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:(0,e.jsxs)("div",{children:[(0,e.jsx)("h1",{className:"text-lg font-semibold text-foreground",children:"Activity"}),(0,e.jsx)("p",{className:"mt-1 max-w-2xl text-sm text-muted-foreground",children:f==="agents"?"Every recorded agent action, newest first — with the responsible person and run behind each one.":"Everything happening in your company, newest first — people, agents, and the system. Each line is one recorded action."})]})}),ue?(0,e.jsx)(Ne,{value:f,onValueChange:r(s=>c?.(s),"onValueChange"),children:(0,e.jsxs)(be,{"aria-label":"Activity scope",children:[(0,e.jsx)(te,{value:"all",children:"All activity"}),(0,e.jsx)(te,{value:"agents",children:"Agent actions"})]})}):null,ce?(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[a?null:(0,e.jsxs)(k,{value:m,onValueChange:g,children:[(0,e.jsx)(F,{className:"w-40",children:(0,e.jsx)(_,{placeholder:"Agent"})}),(0,e.jsxs)(D,{children:[(0,e.jsx)(y,{value:n,children:"All agents"}),(M.data??[]).map(s=>(0,e.jsx)(y,{value:s.id,children:s.name},s.id))]})]}),(0,e.jsxs)(k,{value:x,onValueChange:B,children:[(0,e.jsx)(F,{className:"w-52",children:(0,e.jsx)(_,{placeholder:"Responsible user"})}),(0,e.jsxs)(D,{children:[(0,e.jsx)(y,{value:n,children:"All responsible users"}),(O.data?.users??[]).map(s=>(0,e.jsx)(y,{value:s.principalId,children:s.user?.name??s.user?.email??s.principalId.slice(0,8)},s.principalId))]})]}),(0,e.jsxs)(k,{value:S,onValueChange:V,children:[(0,e.jsx)(F,{className:"w-36",children:(0,e.jsx)(_,{placeholder:"Action"})}),(0,e.jsx)(D,{children:Fe.map(s=>(0,e.jsx)(y,{value:s.value,children:s.label},s.value))})]}),(0,e.jsxs)(k,{value:C,onValueChange:$,children:[(0,e.jsx)(F,{className:"w-36",children:(0,e.jsx)(_,{placeholder:"Entity"})}),(0,e.jsx)(D,{children:ke.map(s=>(0,e.jsx)(y,{value:s.value,children:s.label},s.value))})]}),(0,e.jsx)(se,{type:"date","aria-label":"From date",value:E,max:I||void 0,onChange:r(s=>q(s.target.value),"onChange"),className:"w-36"}),(0,e.jsx)(se,{type:"date","aria-label":"To date",value:I,min:E||void 0,onChange:r(s=>z(s.target.value),"onChange"),className:"w-36"}),b?(0,e.jsx)(T,{variant:"ghost",size:"sm",onClick:J,children:"Clear filters"}):null,(0,e.jsxs)(T,{variant:"outline",size:"sm",className:"ml-auto",onClick:me,disabled:Z||i.isLoading||Y.length===0,children:[(0,e.jsx)(Ie,{className:"mr-1.5 h-4 w-4"}),Z?"Exporting…":"Export CSV"]})]}):null,R||w?(0,e.jsx)(j,{children:(0,e.jsx)(v,{className:"py-14 text-center text-sm text-muted-foreground",children:"Refreshing audit access…"})}):i.isLoading?(0,e.jsx)(j,{children:(0,e.jsx)(v,{className:"py-14 text-center text-sm text-muted-foreground",children:"Loading…"})}):i.error?(0,e.jsx)(j,{children:(0,e.jsxs)(v,{className:"flex flex-col items-center gap-3 py-14 text-center",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:i.error instanceof Error?i.error.message:"Failed to load the audit log."}),(0,e.jsx)(T,{variant:"outline",size:"sm",onClick:r(()=>i.refetch(),"onClick"),children:"Try again"})]})}):Y.length===0?(0,e.jsx)(j,{children:(0,e.jsxs)(v,{className:"flex flex-col items-center gap-3 py-14 text-center",children:[(0,e.jsx)(_e,{className:"h-10 w-10 text-muted-foreground/40"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-sm font-medium text-foreground",children:b?"No actions match these filters":"Nothing here yet"}),(0,e.jsx)("p",{className:"mt-1 max-w-md text-sm text-muted-foreground",children:b?"Try a wider date range or different filters.":f==="agents"?"As soon as your agents start doing things, their actions show up here.":"As soon as anyone in your company does something, it shows up here."})]}),b?(0,e.jsx)(T,{variant:"outline",size:"sm",onClick:J,children:"Clear filters"}):null]})}):(0,e.jsx)(j,{children:(0,e.jsx)(v,{className:"px-0 py-0",children:(0,e.jsx)("ul",{className:ge("divide-y divide-border"),children:Y.map(s=>(0,e.jsx)(ze,{record:s,agentMap:ie,userProfileMap:le},s.id))})})}),i.hasNextPage?(0,e.jsx)("div",{className:"flex justify-center",children:(0,e.jsx)(T,{variant:"outline",size:"sm",onClick:r(()=>i.fetchNextPage(),"onClick"),disabled:i.isFetchingNextPage,children:i.isFetchingNextPage?"Loading…":"Load more"})}):null,(0,e.jsx)("p",{className:"text-xs text-muted-foreground",children:"Recorded by Paperclip — entries can't be edited. Sensitive values are never stored."})]})}r(Oe,"AuditFeed");function rt(){const{selectedCompanyId:t}=fe(),{setBreadcrumbs:a}=Ae(),[d,u]=ve(),c=d.get("mode")==="agents"?"agents":"all";(0,l.useEffect)(()=>{a([{label:"Activity"}])},[a]);const h=(0,l.useCallback)(m=>{u(g=>{const x=new URLSearchParams(g);return m==="agents"?x.set("mode","agents"):x.delete("mode"),x},{replace:!0})},[u]);return t?(0,e.jsx)(Oe,{companyId:t,mode:c,onModeChange:h}):(0,e.jsx)(Te,{icon:Le,message:"Select a company to view activity."})}r(rt,"CompanyActivity");export{rt as CompanyActivity};