cortex-react-components 2.12.1 → 2.12.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 (131) hide show
  1. package/dist/chunk-3QZKRKMP.mjs +1 -0
  2. package/dist/{chunk-CNOX2DT2.mjs → chunk-444KBVNL.mjs} +1 -1
  3. package/dist/chunk-4A3MGS6I.mjs +1 -0
  4. package/dist/{chunk-SS6TXSY6.mjs → chunk-4WA47ZQA.mjs} +1 -1
  5. package/dist/{chunk-RAGDUV7M.mjs → chunk-7VDNUJZC.mjs} +1 -1
  6. package/dist/{chunk-QTILVWJA.mjs → chunk-B2EJGXDG.mjs} +1 -1
  7. package/dist/{chunk-WROUZ25H.mjs → chunk-DKT6U7AO.mjs} +1 -1
  8. package/dist/{chunk-GHZ6CUY3.mjs → chunk-DSSHQ6K7.mjs} +1 -1
  9. package/dist/{chunk-BQAK2HDY.mjs → chunk-IK3GOCAU.mjs} +1 -1
  10. package/dist/{chunk-TK4JC5PG.mjs → chunk-INPV5MBU.mjs} +1 -1
  11. package/dist/chunk-LSRLBDA7.mjs +1 -0
  12. package/dist/chunk-MDPXCQ7P.mjs +4 -0
  13. package/dist/{chunk-I2ZLKSWR.mjs → chunk-MEMUW7BY.mjs} +1 -1
  14. package/dist/chunk-MTNQADIW.mjs +1 -0
  15. package/dist/chunk-MW25VRWC.mjs +1 -0
  16. package/dist/chunk-NPVUICIF.mjs +1 -0
  17. package/dist/chunk-NUHGPB5U.mjs +1 -0
  18. package/dist/{chunk-ZFUP5NVF.mjs → chunk-O5P35LEY.mjs} +1 -1
  19. package/dist/{chunk-CTAQQFEO.mjs → chunk-Q2JJZ5FY.mjs} +1 -1
  20. package/dist/{chunk-WI2RL3XQ.mjs → chunk-QBUU2AQL.mjs} +1 -1
  21. package/dist/{chunk-74U3NYS2.mjs → chunk-U67OTPTT.mjs} +1 -1
  22. package/dist/{chunk-GRNYF3HM.mjs → chunk-VWLPVN4M.mjs} +1 -1
  23. package/dist/chunk-Z422YAPB.mjs +1 -0
  24. package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
  25. package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
  26. package/dist/components/AdvancedComponents/app-header.d.ts +2 -2
  27. package/dist/components/AdvancedComponents/index.js +2 -2
  28. package/dist/components/AdvancedComponents/index.mjs +1 -1
  29. package/dist/components/AdvancedComponents/navigation-tabs.js +1 -1
  30. package/dist/components/Chat/ChatInterface.js +2 -2
  31. package/dist/components/Chat/ChatInterface.mjs +1 -1
  32. package/dist/components/Chat/CopilotInterface.js +3 -3
  33. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  34. package/dist/components/Chat/demo-long-messages.js +4 -4
  35. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  36. package/dist/components/Chat/demo-tests.js +10 -10
  37. package/dist/components/Chat/demo-tests.mjs +1 -1
  38. package/dist/components/Chat/demo.js +2 -2
  39. package/dist/components/Chat/demo.mjs +1 -1
  40. package/dist/components/Chat/example-usage.js +3 -3
  41. package/dist/components/Chat/example-usage.mjs +1 -1
  42. package/dist/components/Chat/example-with-vercel-ai.js +2 -2
  43. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  44. package/dist/components/Chat/index.js +3 -3
  45. package/dist/components/Chat/index.mjs +1 -1
  46. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  47. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  48. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  49. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  50. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  51. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  52. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  53. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  54. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  55. package/dist/components/DigitalColleagues/index.js +1 -1
  56. package/dist/components/DigitalColleagues/index.mjs +1 -1
  57. package/dist/components/DigitalColleagues/test-data.js +1 -1
  58. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  59. package/dist/components/DigitalColleagues/types.d.ts +10 -1
  60. package/dist/components/Heros/PostHero/index.mjs +1 -1
  61. package/dist/components/Heros/index.mjs +1 -1
  62. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  63. package/dist/components/Layouts/Print.mjs +1 -1
  64. package/dist/components/Layouts/SlideShow.mjs +1 -1
  65. package/dist/components/Layouts/index.mjs +1 -1
  66. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  67. package/dist/components/Menus/SidebarRight.mjs +1 -1
  68. package/dist/components/Menus/index.mjs +1 -1
  69. package/dist/components/Payload/index.mjs +1 -1
  70. package/dist/components/Projects/AddTaskModal.js +1 -1
  71. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  72. package/dist/components/Projects/EpicsView.js +1 -1
  73. package/dist/components/Projects/EpicsView.mjs +1 -1
  74. package/dist/components/Projects/FileView.js +1 -1
  75. package/dist/components/Projects/FileView.mjs +1 -1
  76. package/dist/components/Projects/KanbanBoardView.d.ts +5 -1
  77. package/dist/components/Projects/KanbanBoardView.js +1 -1
  78. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  79. package/dist/components/Projects/PlanningView.js +1 -1
  80. package/dist/components/Projects/PlanningView.mjs +1 -1
  81. package/dist/components/Projects/ProjectPage.d.ts +3 -3
  82. package/dist/components/Projects/ProjectPage.js +2 -2
  83. package/dist/components/Projects/ProjectPage.mjs +1 -1
  84. package/dist/components/Projects/ProjectView.d.ts +9 -4
  85. package/dist/components/Projects/ProjectView.js +1 -1
  86. package/dist/components/Projects/ProjectView.mjs +1 -1
  87. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  88. package/dist/components/Projects/TaskCard.js +1 -1
  89. package/dist/components/Projects/TaskCard.mjs +1 -1
  90. package/dist/components/Projects/TaskDetailsModal.d.ts +8 -3
  91. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  92. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  93. package/dist/components/Projects/TaskSidebar.d.ts +2 -1
  94. package/dist/components/Projects/TaskSidebar.js +1 -1
  95. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  96. package/dist/components/Projects/file-list.js +1 -1
  97. package/dist/components/Projects/file-list.mjs +1 -1
  98. package/dist/components/Projects/test-data.js +1 -1
  99. package/dist/components/Projects/test-data.mjs +1 -1
  100. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  101. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  102. package/dist/components/dc-temp/index.js +1 -1
  103. package/dist/components/dc-temp/index.mjs +1 -1
  104. package/dist/components/index.js +9 -9
  105. package/dist/components/index.mjs +1 -1
  106. package/dist/components/ui/index.mjs +1 -1
  107. package/dist/components/ui/sidebar.mjs +1 -1
  108. package/dist/index.js +11 -11
  109. package/dist/index.mjs +1 -1
  110. package/dist/metafile-cjs.json +1 -1
  111. package/dist/metafile-esm.json +1 -1
  112. package/dist/pages/Blog.mjs +1 -1
  113. package/dist/pages/Documentation.mjs +1 -1
  114. package/dist/pages/IndexPage.mjs +1 -1
  115. package/dist/pages/LandingPage.mjs +1 -1
  116. package/dist/pages/Page.mjs +1 -1
  117. package/dist/pages/Publish.mjs +1 -1
  118. package/dist/sections/BlogListSection.mjs +1 -1
  119. package/dist/sections/PageSections.mjs +1 -1
  120. package/dist/sections/ServiceSection.mjs +1 -1
  121. package/dist/sections/index.mjs +1 -1
  122. package/package.json +1 -1
  123. package/dist/chunk-AM2SRWFU.mjs +0 -1
  124. package/dist/chunk-CRAZSEFO.mjs +0 -4
  125. package/dist/chunk-DGNL64K3.mjs +0 -1
  126. package/dist/chunk-HHYHENVF.mjs +0 -1
  127. package/dist/chunk-LUM6KEWN.mjs +0 -1
  128. package/dist/chunk-M25ZFLSL.mjs +0 -1
  129. package/dist/chunk-O46BOA4T.mjs +0 -1
  130. package/dist/chunk-PFDPO3UX.mjs +0 -1
  131. package/dist/chunk-PFLESLNT.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var et=Object.create;var Y=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var rt=Object.getOwnPropertyNames;var ot=Object.getPrototypeOf,at=Object.prototype.hasOwnProperty;var nt=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Ce=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of rt(t))!at.call(e,n)&&n!==r&&Y(e,n,{get:()=>t[n],enumerable:!(o=tt(t,n))||o.enumerable});return e};var z=(e,t,r)=>(r=e!=null?et(ot(e)):{},Ce(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),st=e=>Ce(Y({},"__esModule",{value:!0}),e);var qt={};nt(qt,{TaskSidebar:()=>Ut});module.exports=st(qt);var Ae=z(require("react")),me=z(require("@radix-ui/react-label")),Me=require("class-variance-authority");var Be=require("clsx");var ue="-",it=e=>{let t=ct(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(ue);return s[0]===""&&s.length!==1&&s.shift(),Te(s,t)||lt(l)},getConflictingClassGroupIds:(l,s)=>{let m=r[l]||[];return s&&o[l]?[...m,...o[l]]:m}}},Te=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?Te(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(ue);return t.validators.find(({validator:l})=>l(a))?.classGroupId},Ne=/^\[(.+)\]$/,lt=e=>{if(Ne.test(e)){let t=Ne.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ct=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return pt(Object.entries(e.classGroups),r).forEach(([a,l])=>{pe(l,o,a,t)}),o},pe=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:ke(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(dt(n)){pe(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,l])=>{pe(l,ke(t,a),r,o)})})},ke=(e,t)=>{let r=e;return t.split(ue).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},dt=e=>e.isThemeGetter,pt=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,s])=>[t+l,s])):a);return[r,n]}):e,ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,l)=>{r.set(a,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let l=r.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return n(a,l),l},set(a,l){r.has(a)?r.set(a,l):n(a,l)}}},Ie="!",mt=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],a=t.length,l=s=>{let m=[],f=0,g=0,P;for(let d=0;d<s.length;d++){let S=s[d];if(f===0){if(S===n&&(o||s.slice(d,d+a)===t)){m.push(s.slice(g,d)),g=d+a;continue}if(S==="/"){P=d;continue}}S==="["?f++:S==="]"&&f--}let c=m.length===0?s:s.substring(g),R=c.startsWith(Ie),N=R?c.substring(1):c,w=P&&P>g?P-g:void 0;return{modifiers:m,hasImportantModifier:R,baseClassName:N,maybePostfixModifierPosition:w}};return r?s=>r({className:s,parseClassName:l}):l},ft=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},gt=e=>({cache:ut(e.cacheSize),parseClassName:mt(e),...it(e)}),bt=/\s+/,vt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],l=e.trim().split(bt),s="";for(let m=l.length-1;m>=0;m-=1){let f=l[m],{modifiers:g,hasImportantModifier:P,baseClassName:c,maybePostfixModifierPosition:R}=r(f),N=!!R,w=o(N?c.substring(0,R):c);if(!w){if(!N){s=f+(s.length>0?" "+s:s);continue}if(w=o(c),!w){s=f+(s.length>0?" "+s:s);continue}N=!1}let d=ft(g).join(":"),S=P?d+Ie:d,k=S+w;if(a.includes(k))continue;a.push(k);let F=n(w,N);for(let M=0;M<F.length;++M){let X=F[M];a.push(S+X)}s=f+(s.length>0?" "+s:s)}return s};function ht(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ze(t))&&(o&&(o+=" "),o+=r);return o}var ze=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ze(e[o]))&&(r&&(r+=" "),r+=t);return r};function xt(e,...t){let r,o,n,a=l;function l(m){let f=t.reduce((g,P)=>P(g),e());return r=gt(f),o=r.cache.get,n=r.cache.set,a=s,s(m)}function s(m){let f=o(m);if(f)return f;let g=vt(m,r);return n(m,g),g}return function(){return a(ht.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Le=/^\[(?:([a-z-]+):)?(.+)\]$/Ee,yt=/^\d+\/\d+$/,wt=new Set(["px","full","screen"]),St=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|Ee|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>D(e)||wt.has(e)||yt.test(e),G=e=>j(e,"length",Bt),D=e=>!!e&&!Number.isNaN(Number(e)),de=e=>j(e,"number",D),J=e=>!!e&&Number.isInteger(Number(e)),kt=e=>e.endsWith("%")&&D(e.slice(0,-1)),p=e=>Le.test(e),B=e=>St.test(e),Tt=new Set(["length","size","percentage"]),It=e=>j(e,Tt,Ve),zt=e=>j(e,"position",Ve),Lt=new Set(["image","url"]),Vt=e=>j(e,Lt,Mt),Gt=e=>j(e,"",At),U=()=>!0,j=(e,t,r)=>{let o=Le.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Bt=e=>Pt.test(e)&&!Rt.test(e),Ve=()=>!1,At=e=>Ct.test(e),Mt=e=>Nt.test(e);var Et=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),o=b("brightness"),n=b("borderColor"),a=b("borderRadius"),l=b("borderSpacing"),s=b("borderWidth"),m=b("contrast"),f=b("grayscale"),g=b("hueRotate"),P=b("invert"),c=b("gap"),R=b("gradientColorStops"),N=b("gradientColorStopPositions"),w=b("inset"),d=b("margin"),S=b("opacity"),k=b("padding"),F=b("saturate"),M=b("scale"),X=b("sepia"),he=b("skew"),xe=b("space"),ye=b("translate"),se=()=>["auto","contain","none"],ie=()=>["auto","hidden","clip","visible","scroll"],le=()=>["auto",p,t],v=()=>[p,t],we=()=>["",V,G],Z=()=>["auto",D,p],Se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Q=()=>["solid","dashed","dotted","double","none"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",p],Re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[D,p];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[V,G],blur:["none","",B,p],brightness:L(),borderColor:[e],borderRadius:["none","","full",B,p],borderSpacing:v(),borderWidth:we(),contrast:L(),grayscale:H(),hueRotate:L(),invert:H(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[kt,G],inset:le(),margin:le(),opacity:L(),padding:v(),saturate:L(),scale:L(),sepia:H(),skew:L(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":Re()}],"break-before":[{"break-before":Re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Se(),p]}],overflow:[{overflow:ie()}],"overflow-x":[{"overflow-x":ie()}],"overflow-Ee":[{"overflow-Ee":ie()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-Ee":[{"overscroll-Ee":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-Ee":[{"inset-Ee":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,p]}],basis:[{basis:le()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",J,p]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",J,p]},p]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[J,p]},p]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[c]}],"gap-x":[{"gap-x":[c]}],"gap-Ee":[{"gap-Ee":[c]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[d]}],mx:[{mx:[d]}],my:[{my:[d]}],ms:[{ms:[d]}],me:[{me:[d]}],mt:[{mt:[d]}],mr:[{mr:[d]}],mb:[{mb:[d]}],ml:[{ml:[d]}],"space-x":[{"space-x":[xe]}],"space-x-reverse":["space-x-reverse"],"space-Ee":[{"space-Ee":[xe]}],"space-Ee-reverse":["space-Ee-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",B,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",de]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",D,de]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,G]}],"underline-offset":[{"underline-offset":["auto",V,p]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Se(),zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Ee","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",It]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-Ee":[{"rounded-Ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-Ee":[{"border-Ee":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...Q(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-Ee":[{"divide-Ee":[s]}],"divide-Ee-reverse":["divide-Ee-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:Q()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-Ee":[{"border-Ee":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Q()]}],"outline-offset":[{"outline-offset":[V,p]}],"outline-w":[{outline:[V,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[V,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",B,Gt]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",B,p]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[P]}],saturate:[{saturate:[F]}],sepia:[{sepia:[X]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[P]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-Ee":[{"border-spacing-Ee":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-Ee":[{"scale-Ee":[M]}],rotate:[{rotate:[J,p]}],"translate-x":[{"translate-x":[ye]}],"translate-Ee":[{"translate-Ee":[ye]}],"skew-x":[{"skew-x":[he]}],"skew-Ee":[{"skew-Ee":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ee","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Ee","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Ee":[{"touch-pan":["Ee","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[V,G,de]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Ee"],overscroll:["overscroll-x","overscroll-Ee"],inset:["inset-x","inset-Ee","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Ee":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Ee"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-Ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Ee"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-Ee":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-Ee":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-Ee","touch-pz"],"touch-x":["touch"],"touch-Ee":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ge=xt(Et);function h(...e){return Ge((0,Be.clsx)(e))}var Ee=require("react/jsx-runtime"),Wt=(0,Me.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),C=Ae.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(me.Root,{ref:r,className:h(Wt(),e),...t}));C.displayName=me.Root.displayName;var We=require("@radix-ui/react-slot"),De=z(require("react")),Ot=(0,Me.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),E=De.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...n},a)=>(0,Ee.jsx)(e?We.Slot:"button",{className:h(Ot({className:t,size:r,variant:o})),ref:a,...n}));E.displayName="Button";var W=z(require("react")),_=z(require("@radix-ui/react-toggle-group"));var _e=z(require("react")),fe=z(require("@radix-ui/react-toggle"));var ge=(0,$e.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Dt=_e.forwardRef(({className:e,variant:t,size:r,...o},n)=>(0,Ee.jsx)(fe.Root,{ref:n,className:h(ge({variant:t,size:r,className:e})),...o}));Dt.displayName=fe.Root.displayName;var He=W.createContext({size:"default",variant:"default"}),te=W.forwardRef(({className:e,variant:t,size:r,children:o,...n},a)=>(0,Ee.jsx)(_.Root,{ref:a,className:h("flex items-center justify-center gap-1",e),...n,children:(0,Ee.jsx)(He.Provider,{value:{variant:t,size:r},children:o})}));te.displayName=_.Root.displayName;var re=W.forwardRef(({className:e,children:t,variant:r,size:o,...n},a)=>{let l=W.useContext(He);return(0,Ee.jsx)(_.Item,{ref:a,className:h(ge({variant:l.variant||r,size:l.size||o}),e),...n,children:t})});re.displayName=_.Item.displayName;var x=require("lucide-react");var Xe=require("react");var jt=(0,Me.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function oe({className:e,variant:t,...r}){return(0,Ee.jsx)("div",{className:h(jt({variant:t}),e),...r})}var u=z(require("@radix-ui/react-select")),A=z(require("react")),ae=u.Root;var q=A.forwardRef(({children:e,className:t,...r},o)=>(0,Ee.jsxs)(u.Trigger,{className:h("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...r,children:[e,(0,Ee.jsx)(u.Icon,{asChild:!0,children:(0,Ee.jsx)(x.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));q.displayName=u.Trigger.displayName;var qe=A.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(u.ScrollUpButton,{className:h("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,Ee.jsx)(x.ChevronUp,{className:"h-4 w-4"})}));qe.displayName=u.ScrollUpButton.displayName;var Ke=A.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(u.ScrollDownButton,{className:h("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,Ee.jsx)(x.ChevronDown,{className:"h-4 w-4"})}));Ke.displayName=u.ScrollDownButton.displayName;var K=A.forwardRef(({children:e,className:t,position:r="popper",...o},n)=>(0,Ee.jsx)(u.Portal,{children:(0,Ee.jsxs)(u.Content,{className:h("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r==="popper"&&"data-[side=bottom]:translate-Ee-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-Ee-1",t),position:r,ref:n,...o,children:[(0,Ee.jsx)(qe,{}),(0,Ee.jsx)(u.Viewport,{className:h("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Ee.jsx)(Ke,{})]})}));K.displayName=u.Content.displayName;var _t=A.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(u.Label,{className:h("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));_t.displayName=u.Label.displayName;var $=A.forwardRef(({children:e,className:t,...r},o)=>(0,Ee.jsxs)(u.Item,{className:h("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...r,children:[(0,Ee.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Ee.jsx)(u.ItemIndicator,{children:(0,Ee.jsx)(x.Check,{className:"h-4 w-4"})})}),(0,Ee.jsx)(u.ItemText,{children:e})]}));$.displayName=u.Item.displayName;var $t=A.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(u.Separator,{className:h("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));$t.displayName=u.Separator.displayName;var ne=({label:e,value:t,onValueChange:r,options:o,showColor:n=!1,disabled:a=!1})=>{let[l,s]=(0,Xe.useState)(!1),m=o.find(g=>g.value===t);return(0,Ee.jsxs)("div",{className:"space-Ee-1",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:e}),(0,Ee.jsxs)(ae,{value:t,onValueChange:r,open:l,onOpenChange:g=>{a||s(g)},disabled:a,children:[(0,Ee.jsx)(q,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:(0,Ee.jsxs)(oe,{variant:"secondary",className:`${a?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!a&&s(!l),children:[n&&m?.color&&(0,Ee.jsx)("div",{className:`w-2 h-2 rounded-full ${m.color} mr-1`}),m?.label||"Select..."]})}),(0,Ee.jsx)(K,{children:o.map(g=>(0,Ee.jsx)($,{value:g.value,children:n&&g.color?(0,Ee.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ee.jsx)("div",{className:`w-3 h-3 rounded-full ${g.color}`}),g.label]}):g.label},g.value))})]})]})};var Ze=z(require("react"));var be=Ze.forwardRef(({className:e,type:t,...r},o)=>(0,Ee.jsx)("input",{type:t,className:h("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));be.displayName="Input";var Ye=({label:e,value:t,onValueChange:r,options:o,placeholder:n="Search...",allowCustomValue:a=!1,disabled:l=!1})=>{let[s,m]=(0,Xe.useState)(!1),[f,g]=(0,Xe.useState)(""),P=o.find(d=>d.value===t),c=o.filter(d=>d.label.toLowerCase().includes(f.toLowerCase())),R=d=>{r(d),m(!1),g("")},N=()=>{a&&f.trim()&&!o.find(d=>d.value===f.trim())&&(r(f.trim()),m(!1),g(""))};return(0,Ee.jsxs)("div",{className:"space-Ee-1",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:e}),(0,Ee.jsxs)(ae,{value:t,onValueChange:R,open:s,onOpenChange:d=>{l||m(d)},disabled:l,children:[(0,Ee.jsx)(q,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:(0,Ee.jsx)(oe,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&m(!s),children:P?.label||t||"Select..."})}),(0,Ee.jsxs)(K,{children:[(0,Ee.jsx)("div",{className:"p-2",children:(0,Ee.jsx)(be,{placeholder:n,value:f,onChange:d=>g(d.target.value),onKeyDown:d=>{d.key==="Enter"&&a&&N()},className:"mb-2"})}),c.map(d=>(0,Ee.jsx)($,{value:d.value,children:d.label},d.value)),a&&f.trim()&&!c.find(d=>d.value===f.trim())&&(0,Ee.jsxs)($,{value:f.trim(),children:['Add "',f.trim(),'"']})]})]})]})};var Ft=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:x.BookOpen},{value:"task",label:"Task",color:"bg-muted text-muted-foreground",icon:x.AlertCircle},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:x.Bug},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:x.Zap}],Ht=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],Jt=[{value:"John Doe",label:"John Doe"},{value:"Jane Smith",label:"Jane Smith"},{value:"Bob Wilson",label:"Bob Wilson"},{value:"Alice Johnson",label:"Alice Johnson"},{value:"Carol Brown",label:"Carol Brown"},{value:"David Lee",label:"David Lee"},{value:"Emma Davis",label:"Emma Davis"},{value:"Frank Miller",label:"Frank Miller"},{value:"Grace Taylor",label:"Grace Taylor"},{value:"Unassigned",label:"Unassigned"}],Ut=({task:e,epics:t,sprints:r,lastUpdated:o,onUpdateTask:n,onClose:a,onDelete:l,isUpdating:s=!1,isDeleting:m=!1,deleteState:f="idle"})=>{let g=c=>c.split(" ").map(R=>R[0]).join("").toUpperCase(),P=()=>f==="loading"?(0,Ee.jsxs)(E,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[(0,Ee.jsx)(x.Loader2,{className:"h-3 w-3 animate-spin"}),"Deleting..."]}):f==="success"?(0,Ee.jsxs)(E,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[(0,Ee.jsx)(x.Check,{className:"h-3 w-3"}),"Deleted"]}):f==="error"?(0,Ee.jsxs)(E,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[(0,Ee.jsx)(x.X,{className:"h-3 w-3"}),"Delete failed"]}):(0,Ee.jsxs)(E,{onClick:l,variant:"destructive",className:"w-full h-8 text-xs gap-1",disabled:s||m,children:[(0,Ee.jsx)(x.Trash2,{className:"h-3 w-3"}),"Delete Task"]});return(0,Ee.jsxs)("div",{className:"flex flex-col h-full",children:[(0,Ee.jsxs)("div",{className:"space-Ee-4",style:{opacity:s?.6:1},children:[(0,Ee.jsxs)("div",{className:"space-Ee-2",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:"Status"}),(0,Ee.jsx)(ne,{label:"",value:e.status,onValueChange:c=>n("status",c),options:[{value:"todo",label:"To Do"},{value:"in-progress",label:"In Progress"},{value:"done",label:"Done"}],disabled:s})]}),(0,Ee.jsxs)("div",{className:"space-Ee-2",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:"Type"}),(0,Ee.jsx)(te,{type:"single",value:e.type,onValueChange:c=>c&&n("type",c),className:"grid grid-cols-2 gap-1",disabled:s,children:Ft.map(c=>{let R=c.icon;return(0,Ee.jsxs)(re,{value:c.value,className:"flex items-center gap-1 text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",disabled:s,children:[(0,Ee.jsx)(R,{className:"h-3 w-3"}),c.label]},c.value)})})]}),(0,Ee.jsxs)("div",{className:"space-Ee-2",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:"Priority"}),(0,Ee.jsx)(te,{type:"single",value:e.priority,onValueChange:c=>c&&n("priority",c),className:"grid grid-cols-3 gap-1",disabled:s,children:Ht.map(c=>(0,Ee.jsx)(re,{value:c.value,className:"text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",disabled:s,children:c.label},c.value))})]}),(0,Ee.jsxs)("div",{className:"space-Ee-2",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:"Story Points"}),(0,Ee.jsx)("input",{type:"number",min:"1",max:"100",value:e.points||1,onChange:c=>n("points",c.target.value),className:"w-full h-8 px-2 text-xs border border-border rounded-md focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent bg-background text-foreground disabled:opacity-50 disabled:cursor-not-allowed",disabled:s})]}),(0,Ee.jsxs)("div",{className:"space-Ee-2",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:"Epic"}),(0,Ee.jsx)(ne,{label:"",value:e.epicId,onValueChange:c=>n("epicId",c),options:(t||[]).map(c=>({value:c.id,label:c.name,color:c.color})),showColor:!0,disabled:s})]}),(0,Ee.jsxs)("div",{className:"space-Ee-2",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:"Sprint"}),(0,Ee.jsx)(ne,{label:"",value:e.sprintId||"none",onValueChange:c=>n("sprintId",c==="none"?"":c),options:[{value:"none",label:"No Sprint"},...(r||[]).map(c=>({value:c.id,label:`${c.name}${c.isActive?" (Active)":""}`}))],disabled:s})]}),(0,Ee.jsxs)("div",{className:"space-Ee-2",children:[(0,Ee.jsx)(C,{className:"text-xs text-muted-foreground",children:"Assignee"}),(0,Ee.jsx)(Ye,{label:"",value:e.assignee,onValueChange:c=>n("assignee",c),options:Jt,placeholder:"Search team members...",allowCustomValue:!0,disabled:s})]})]}),(0,Ee.jsxs)("div",{className:"mt-auto pt-4 space-Ee-4",children:[(0,Ee.jsxs)("div",{className:"space-Ee-2",children:[(0,Ee.jsx)(E,{onClick:a,variant:"outline",className:"w-full h-8 text-xs",disabled:s||m,children:"Close"}),P()]}),(0,Ee.jsxs)("div",{className:"pt-4 border-t border-border space-Ee-2",children:[(0,Ee.jsx)("div",{className:"text-xs text-muted-foreground font-medium mb-2",children:"Information"}),(0,Ee.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ee.jsx)("span",{className:"text-xs text-muted-foreground",children:"Logged By"}),(0,Ee.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,Ee.jsx)(x.User,{className:"h-3 w-3"}),(0,Ee.jsx)("span",{children:"System"})]})]}),(0,Ee.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ee.jsx)("span",{className:"text-xs text-muted-foreground",children:"Created"}),(0,Ee.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,Ee.jsx)(x.Calendar,{className:"h-3 w-3"}),(0,Ee.jsx)("span",{children:e.createdAt.toLocaleDateString()})]})]}),(0,Ee.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ee.jsx)("span",{className:"text-xs text-muted-foreground",children:"Last Updated"}),(0,Ee.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,Ee.jsx)(x.Clock,{className:"h-3 w-3"}),(0,Ee.jsxs)("span",{children:[o.toLocaleDateString()," at ",o.toLocaleTimeString()]})]})]})]})]})]})};0&&(module.exports={TaskSidebar});
4
+ "use strict";var et=Object.create;var Y=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var rt=Object.getOwnPropertyNames;var ot=Object.getPrototypeOf,at=Object.prototype.hasOwnProperty;var nt=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Re=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of rt(t))!at.call(e,n)&&n!==r&&Y(e,n,{get:()=>t[n],enumerable:!(o=tt(t,n))||o.enumerable});return e};var z=(e,t,r)=>(r=e!=null?et(ot(e)):{},Re(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),st=e=>Re(Y({},"__esModule",{value:!0}),e);var Ut={};nt(Ut,{TaskSidebar:()=>Jt});module.exports=st(Ut);var Me=z(require("react")),me=z(require("@radix-ui/react-label")),Ae=require("class-variance-authority");var Be=require("clsx");var ue="-",it=e=>{let t=ct(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(ue);return s[0]===""&&s.length!==1&&s.shift(),Te(s,t)||lt(l)},getConflictingClassGroupIds:(l,s)=>{let m=r[l]||[];return s&&o[l]?[...m,...o[l]]:m}}},Te=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?Te(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(ue);return t.validators.find(({validator:l})=>l(a))?.classGroupId},Ne=/^\[(.+)\]$/,lt=e=>{if(Ne.test(e)){let t=Ne.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ct=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return pt(Object.entries(e.classGroups),r).forEach(([a,l])=>{pe(l,o,a,t)}),o},pe=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:ke(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(dt(n)){pe(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,l])=>{pe(l,ke(t,a),r,o)})})},ke=(e,t)=>{let r=e;return t.split(ue).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},dt=e=>e.isThemeGetter,pt=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,s])=>[t+l,s])):a);return[r,n]}):e,ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,l)=>{r.set(a,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let l=r.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return n(a,l),l},set(a,l){r.has(a)?r.set(a,l):n(a,l)}}},Ie="!",mt=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],a=t.length,l=s=>{let m=[],g=0,f=0,R;for(let d=0;d<s.length;d++){let C=s[d];if(g===0){if(C===n&&(o||s.slice(d,d+a)===t)){m.push(s.slice(f,d)),f=d+a;continue}if(C==="/"){R=d;continue}}C==="["?g++:C==="]"&&g--}let S=m.length===0?s:s.substring(f),c=S.startsWith(Ie),P=c?S.substring(1):S,w=R&&R>f?R-f:void 0;return{modifiers:m,hasImportantModifier:c,baseClassName:P,maybePostfixModifierPosition:w}};return r?s=>r({className:s,parseClassName:l}):l},ft=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},gt=e=>({cache:ut(e.cacheSize),parseClassName:mt(e),...it(e)}),bt=/\s+/,vt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],l=e.trim().split(bt),s="";for(let m=l.length-1;m>=0;m-=1){let g=l[m],{modifiers:f,hasImportantModifier:R,baseClassName:S,maybePostfixModifierPosition:c}=r(g),P=!!c,w=o(P?S.substring(0,c):S);if(!w){if(!P){s=g+(s.length>0?" "+s:s);continue}if(w=o(S),!w){s=g+(s.length>0?" "+s:s);continue}P=!1}let d=ft(f).join(":"),C=R?d+Ie:d,k=C+w;if(a.includes(k))continue;a.push(k);let F=n(w,P);for(let A=0;A<F.length;++A){let X=F[A];a.push(C+X)}s=g+(s.length>0?" "+s:s)}return s};function ht(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ze(t))&&(o&&(o+=" "),o+=r);return o}var ze=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ze(e[o]))&&(r&&(r+=" "),r+=t);return r};function yt(e,...t){let r,o,n,a=l;function l(m){let g=t.reduce((f,R)=>R(f),e());return r=gt(g),o=r.cache.get,n=r.cache.set,a=s,s(m)}function s(m){let g=o(m);if(g)return g;let f=vt(m,r);return n(m,f),f}return function(){return a(ht.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Le=/^\[(?:([a-z-]+):)?(.+)\]$/Ee,xt=/^\d+\/\d+$/,wt=new Set(["px","full","screen"]),St=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|Ee|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ct=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Rt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>O(e)||wt.has(e)||xt.test(e),G=e=>j(e,"length",Bt),O=e=>!!e&&!Number.isNaN(Number(e)),de=e=>j(e,"number",O),J=e=>!!e&&Number.isInteger(Number(e)),kt=e=>e.endsWith("%")&&O(e.slice(0,-1)),p=e=>Le.test(e),B=e=>St.test(e),Tt=new Set(["length","size","percentage"]),It=e=>j(e,Tt,Ve),zt=e=>j(e,"position",Ve),Lt=new Set(["image","url"]),Vt=e=>j(e,Lt,At),Gt=e=>j(e,"",Mt),U=()=>!0,j=(e,t,r)=>{let o=Le.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Bt=e=>Pt.test(e)&&!Ct.test(e),Ve=()=>!1,Mt=e=>Rt.test(e),At=e=>Nt.test(e);var Et=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),o=b("brightness"),n=b("borderColor"),a=b("borderRadius"),l=b("borderSpacing"),s=b("borderWidth"),m=b("contrast"),g=b("grayscale"),f=b("hueRotate"),R=b("invert"),S=b("gap"),c=b("gradientColorStops"),P=b("gradientColorStopPositions"),w=b("inset"),d=b("margin"),C=b("opacity"),k=b("padding"),F=b("saturate"),A=b("scale"),X=b("sepia"),he=b("skew"),ye=b("space"),xe=b("translate"),se=()=>["auto","contain","none"],ie=()=>["auto","hidden","clip","visible","scroll"],le=()=>["auto",p,t],v=()=>[p,t],we=()=>["",V,G],Z=()=>["auto",O,p],Se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Q=()=>["solid","dashed","dotted","double","none"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",p],Ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[O,p];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[V,G],blur:["none","",B,p],brightness:L(),borderColor:[e],borderRadius:["none","","full",B,p],borderSpacing:v(),borderWidth:we(),contrast:L(),grayscale:H(),hueRotate:L(),invert:H(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[kt,G],inset:le(),margin:le(),opacity:L(),padding:v(),saturate:L(),scale:L(),sepia:H(),skew:L(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":Ce()}],"break-before":[{"break-before":Ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Se(),p]}],overflow:[{overflow:ie()}],"overflow-Ee":[{"overflow-Ee":ie()}],"overflow-y":[{"overflow-y":ie()}],overscroll:[{overscroll:se()}],"overscroll-Ee":[{"overscroll-Ee":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-Ee":[{"inset-Ee":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,p]}],basis:[{basis:le()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",J,p]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",J,p]},p]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[J,p]},p]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[S]}],"gap-Ee":[{"gap-Ee":[S]}],"gap-y":[{"gap-y":[S]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[d]}],mx:[{mx:[d]}],my:[{my:[d]}],ms:[{ms:[d]}],me:[{me:[d]}],mt:[{mt:[d]}],mr:[{mr:[d]}],mb:[{mb:[d]}],ml:[{ml:[d]}],"space-Ee":[{"space-Ee":[ye]}],"space-Ee-reverse":["space-Ee-reverse"],"space-y":[{"space-y":[ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",B,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",de]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",O,de]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,G]}],"underline-offset":[{"underline-offset":["auto",V,p]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Se(),zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ee","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",It]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[c]}],"gradient-via":[{via:[c]}],"gradient-to":[{to:[c]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-Ee":[{"rounded-Ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-Ee":[{"border-Ee":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...Q(),"hidden"]}],"divide-Ee":[{"divide-Ee":[s]}],"divide-Ee-reverse":["divide-Ee-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:Q()}],"border-color":[{border:[n]}],"border-color-Ee":[{"border-Ee":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Q()]}],"outline-offset":[{"outline-offset":[V,p]}],"outline-w":[{outline:[V,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[V,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",B,Gt]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",B,p]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[R]}],saturate:[{saturate:[F]}],sepia:[{sepia:[X]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[R]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Ee":[{"border-spacing-Ee":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-Ee":[{"scale-Ee":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[J,p]}],"translate-Ee":[{"translate-Ee":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-Ee":[{"skew-Ee":[he]}],"skew-y":[{"skew-y":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Ee",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ee","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ee":[{"touch-pan":["Ee","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[V,G,de]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ee","overflow-y"],overscroll:["overscroll-Ee","overscroll-y"],inset:["inset-Ee","inset-y","start","end","top","right","bottom","left"],"inset-Ee":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ee","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-Ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Ee","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Ee":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Ee":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Ee","touch-y","touch-pz"],"touch-Ee":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ge=yt(Et);function h(...e){return Ge((0,Be.clsx)(e))}var Ee=require("react/jsx-runtime"),Dt=(0,Ae.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),N=Me.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(me.Root,{ref:r,className:h(Dt(),e),...t}));N.displayName=me.Root.displayName;var De=require("@radix-ui/react-slot"),Oe=z(require("react")),Wt=(0,Ae.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),E=Oe.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...n},a)=>(0,Ee.jsx)(e?De.Slot:"button",{className:h(Wt({className:t,size:r,variant:o})),ref:a,...n}));E.displayName="Button";var D=z(require("react")),_=z(require("@radix-ui/react-toggle-group"));var _e=z(require("react")),fe=z(require("@radix-ui/react-toggle"));var ge=(0,$e.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ot=_e.forwardRef(({className:e,variant:t,size:r,...o},n)=>(0,Ee.jsx)(fe.Root,{ref:n,className:h(ge({variant:t,size:r,className:e})),...o}));Ot.displayName=fe.Root.displayName;var He=D.createContext({size:"default",variant:"default"}),te=D.forwardRef(({className:e,variant:t,size:r,children:o,...n},a)=>(0,Ee.jsx)(_.Root,{ref:a,className:h("flex items-center justify-center gap-1",e),...n,children:(0,Ee.jsx)(He.Provider,{value:{variant:t,size:r},children:o})}));te.displayName=_.Root.displayName;var re=D.forwardRef(({className:e,children:t,variant:r,size:o,...n},a)=>{let l=D.useContext(He);return(0,Ee.jsx)(_.Item,{ref:a,className:h(ge({variant:l.variant||r,size:l.size||o}),e),...n,children:t})});re.displayName=_.Item.displayName;var y=require("lucide-react");var Xe=require("react");var jt=(0,Ae.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function oe({className:e,variant:t,...r}){return(0,Ee.jsx)("div",{className:h(jt({variant:t}),e),...r})}var u=z(require("@radix-ui/react-select")),M=z(require("react")),ae=u.Root;var q=M.forwardRef(({children:e,className:t,...r},o)=>(0,Ee.jsxs)(u.Trigger,{className:h("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...r,children:[e,(0,Ee.jsx)(u.Icon,{asChild:!0,children:(0,Ee.jsx)(y.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));q.displayName=u.Trigger.displayName;var qe=M.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(u.ScrollUpButton,{className:h("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,Ee.jsx)(y.ChevronUp,{className:"h-4 w-4"})}));qe.displayName=u.ScrollUpButton.displayName;var Ke=M.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(u.ScrollDownButton,{className:h("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,Ee.jsx)(y.ChevronDown,{className:"h-4 w-4"})}));Ke.displayName=u.ScrollDownButton.displayName;var K=M.forwardRef(({children:e,className:t,position:r="popper",...o},n)=>(0,Ee.jsx)(u.Portal,{children:(0,Ee.jsxs)(u.Content,{className:h("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Ee-1 data-[side=right]:translate-Ee-1 data-[side=top]:-translate-y-1",t),position:r,ref:n,...o,children:[(0,Ee.jsx)(qe,{}),(0,Ee.jsx)(u.Viewport,{className:h("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Ee.jsx)(Ke,{})]})}));K.displayName=u.Content.displayName;var _t=M.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(u.Label,{className:h("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));_t.displayName=u.Label.displayName;var $=M.forwardRef(({children:e,className:t,...r},o)=>(0,Ee.jsxs)(u.Item,{className:h("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...r,children:[(0,Ee.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,Ee.jsx)(u.ItemIndicator,{children:(0,Ee.jsx)(y.Check,{className:"h-4 w-4"})})}),(0,Ee.jsx)(u.ItemText,{children:e})]}));$.displayName=u.Item.displayName;var $t=M.forwardRef(({className:e,...t},r)=>(0,Ee.jsx)(u.Separator,{className:h("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));$t.displayName=u.Separator.displayName;var ne=({label:e,value:t,onValueChange:r,options:o,showColor:n=!1,disabled:a=!1})=>{let[l,s]=(0,Xe.useState)(!1),m=o.find(f=>f.value===t);return(0,Ee.jsxs)("div",{className:"space-y-1",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:e}),(0,Ee.jsxs)(ae,{value:t,onValueChange:r,open:l,onOpenChange:f=>{a||s(f)},disabled:a,children:[(0,Ee.jsx)(q,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:(0,Ee.jsxs)(oe,{variant:"secondary",className:`${a?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!a&&s(!l),children:[n&&m?.color&&(0,Ee.jsx)("div",{className:`w-2 h-2 rounded-full ${m.color} mr-1`}),m?.label||"Select..."]})}),(0,Ee.jsx)(K,{children:o.map(f=>(0,Ee.jsx)($,{value:f.value,children:n&&f.color?(0,Ee.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ee.jsx)("div",{className:`w-3 h-3 rounded-full ${f.color}`}),f.label]}):f.label},f.value))})]})]})};var Ze=z(require("react"));var be=Ze.forwardRef(({className:e,type:t,...r},o)=>(0,Ee.jsx)("input",{type:t,className:h("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));be.displayName="Input";var Ye=({label:e,value:t,onValueChange:r,options:o,placeholder:n="Search...",allowCustomValue:a=!1,disabled:l=!1})=>{let[s,m]=(0,Xe.useState)(!1),[g,f]=(0,Xe.useState)(""),R=o.find(d=>d.value===t),S=o.filter(d=>d.label.toLowerCase().includes(g.toLowerCase())),c=d=>{r(d),m(!1),f("")},P=()=>{a&&g.trim()&&!o.find(d=>d.value===g.trim())&&(r(g.trim()),m(!1),f(""))};return(0,Ee.jsxs)("div",{className:"space-y-1",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:e}),(0,Ee.jsxs)(ae,{value:t,onValueChange:c,open:s,onOpenChange:d=>{l||m(d)},disabled:l,children:[(0,Ee.jsx)(q,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:(0,Ee.jsx)(oe,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&m(!s),children:R?.label||t||"Select..."})}),(0,Ee.jsxs)(K,{children:[(0,Ee.jsx)("div",{className:"p-2",children:(0,Ee.jsx)(be,{placeholder:n,value:g,onChange:d=>f(d.target.value),onKeyDown:d=>{d.key==="Enter"&&a&&P()},className:"mb-2"})}),S.map(d=>(0,Ee.jsx)($,{value:d.value,children:d.label},d.value)),a&&g.trim()&&!S.find(d=>d.value===g.trim())&&(0,Ee.jsxs)($,{value:g.trim(),children:['Add "',g.trim(),'"']})]})]})]})};var Ft=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:y.BookOpen},{value:"task",label:"Task",color:"bg-muted text-muted-foreground",icon:y.AlertCircle},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:y.Bug},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:y.Zap}],Ht=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}];var Jt=({task:e,epics:t,sprints:r,lastUpdated:o,onUpdateTask:n,onClose:a,onDelete:l,isUpdating:s=!1,isDeleting:m=!1,deleteState:g="idle",teamMembers:f})=>{let R=c=>c.split(" ").map(P=>P[0]).join("").toUpperCase(),S=()=>g==="loading"?(0,Ee.jsxs)(E,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[(0,Ee.jsx)(y.Loader2,{className:"h-3 w-3 animate-spin"}),"Deleting..."]}):g==="success"?(0,Ee.jsxs)(E,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[(0,Ee.jsx)(y.Check,{className:"h-3 w-3"}),"Deleted"]}):g==="error"?(0,Ee.jsxs)(E,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[(0,Ee.jsx)(y.X,{className:"h-3 w-3"}),"Delete failed"]}):(0,Ee.jsxs)(E,{onClick:l,variant:"destructive",className:"w-full h-8 text-xs gap-1",disabled:s||m,children:[(0,Ee.jsx)(y.Trash2,{className:"h-3 w-3"}),"Delete Task"]});return(0,Ee.jsxs)("div",{className:"flex flex-col h-full",children:[(0,Ee.jsxs)("div",{className:"space-y-4",style:{opacity:s?.6:1},children:[(0,Ee.jsxs)("div",{className:"space-y-2",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:"Status"}),(0,Ee.jsx)(ne,{label:"",value:e.status,onValueChange:c=>n("status",c),options:[{value:"todo",label:"To Do"},{value:"in-progress",label:"In Progress"},{value:"done",label:"Done"}],disabled:s})]}),(0,Ee.jsxs)("div",{className:"space-y-2",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:"Type"}),(0,Ee.jsx)(te,{type:"single",value:e.type,onValueChange:c=>c&&n("type",c),className:"grid grid-cols-2 gap-1",disabled:s,children:Ft.map(c=>{let P=c.icon;return(0,Ee.jsxs)(re,{value:c.value,className:"flex items-center gap-1 text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",disabled:s,children:[(0,Ee.jsx)(P,{className:"h-3 w-3"}),c.label]},c.value)})})]}),(0,Ee.jsxs)("div",{className:"space-y-2",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:"Priority"}),(0,Ee.jsx)(te,{type:"single",value:e.priority,onValueChange:c=>c&&n("priority",c),className:"grid grid-cols-3 gap-1",disabled:s,children:Ht.map(c=>(0,Ee.jsx)(re,{value:c.value,className:"text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",disabled:s,children:c.label},c.value))})]}),(0,Ee.jsxs)("div",{className:"space-y-2",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:"Story Points"}),(0,Ee.jsx)("input",{type:"number",min:"1",max:"100",value:e.points||1,onChange:c=>n("points",c.target.value),className:"w-full h-8 px-2 text-xs border border-border rounded-md focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent bg-background text-foreground disabled:opacity-50 disabled:cursor-not-allowed",disabled:s})]}),(0,Ee.jsxs)("div",{className:"space-y-2",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:"Epic"}),(0,Ee.jsx)(ne,{label:"",value:e.epicId,onValueChange:c=>n("epicId",c),options:(t||[]).map(c=>({value:c.id,label:c?.name,color:c.color})),showColor:!0,disabled:s})]}),(0,Ee.jsxs)("div",{className:"space-y-2",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:"Sprint"}),(0,Ee.jsx)(ne,{label:"",value:e.sprintId||"none",onValueChange:c=>n("sprintId",c==="none"?"":c),options:[{value:"none",label:"No Sprint"},...(r||[]).map(c=>({value:c.id,label:`${c?.name}${c.isActive?" (Active)":""}`}))],disabled:s})]}),(0,Ee.jsxs)("div",{className:"space-y-2",children:[(0,Ee.jsx)(N,{className:"text-xs text-muted-foreground",children:"Assignee"}),(0,Ee.jsx)(Ye,{label:"",value:e.assignee,onValueChange:c=>n("assignee",c),options:f.map(c=>({value:c.id,label:c?.name})),placeholder:"Search team members...",allowCustomValue:!0,disabled:s})]})]}),(0,Ee.jsxs)("div",{className:"mt-auto pt-4 space-y-4",children:[(0,Ee.jsxs)("div",{className:"space-y-2",children:[(0,Ee.jsx)(E,{onClick:a,variant:"outline",className:"w-full h-8 text-xs",disabled:s||m,children:"Close"}),S()]}),(0,Ee.jsxs)("div",{className:"pt-4 border-t border-border space-y-2",children:[(0,Ee.jsx)("div",{className:"text-xs text-muted-foreground font-medium mb-2",children:"Information"}),(0,Ee.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ee.jsx)("span",{className:"text-xs text-muted-foreground",children:"Logged By"}),(0,Ee.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,Ee.jsx)(y.User,{className:"h-3 w-3"}),(0,Ee.jsx)("span",{children:"System"})]})]}),(0,Ee.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ee.jsx)("span",{className:"text-xs text-muted-foreground",children:"Created"}),(0,Ee.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,Ee.jsx)(y.Calendar,{className:"h-3 w-3"}),(0,Ee.jsx)("span",{children:new Date(e.createdAt)?.toLocaleDateString()})]})]}),(0,Ee.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ee.jsx)("span",{className:"text-xs text-muted-foreground",children:"Last Updated"}),(0,Ee.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,Ee.jsx)(y.Clock,{className:"h-3 w-3"}),(0,Ee.jsxs)("span",{children:[new Date(o).toLocaleDateString()," at"," ",new Date(o).toLocaleTimeString()]})]})]})]})]})]})};0&&(module.exports={TaskSidebar});
@@ -1 +1 @@
1
- import{a}from"../../chunk-PFLESLNT.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-EOXVYLPB.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as TaskSidebar};
1
+ import{a}from"../../chunk-MW25VRWC.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-EOXVYLPB.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as TaskSidebar};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var fe=Object.create;var V=Object.defineProperty;var he=Object.getOwnPropertyDescriptor;var xe=Object.getOwnPropertyNames;var ye=Object.getPrototypeOf,ve=Object.prototype.hasOwnProperty;var we=(e,r)=>{for(var t in r)V(e,t,{get:r[t],enumerable:!0})},ee=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of xe(r))!ve.call(e,i)&&i!==t&&V(e,i,{get:()=>r[i],enumerable:!(o=he(r,i))||o.enumerable});return e};var ke=(e,r,t)=>(t=e!=null?fe(ye(e)):{},ee(r||!e||!e.__esModule?V(t,"default",{value:e,enumerable:!0}):t,e)),Ce=e=>ee(V({},"__esModule",{value:!0}),e);var or={};we(or,{FileList:()=>tr});module.exports=Ce(or);var ge=require("motion/react"),me=require("lucide-react");var ce=require("clsx");var U="-",ze=e=>{let r=Ne(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let s=a.split(U);return s[0]===""&&s.length!==1&&s.shift(),oe(s,r)||Se(a)},getConflictingClassGroupIds:(a,s)=>{let u=t[a]||[];return s&&o[a]?[...u,...o[a]]:u}}},oe=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),i=o?oe(e.slice(1),o):void 0;if(i)return i;if(r.validators.length===0)return;let n=e.join(U);return r.validators.find(({validator:a})=>a(n))?.classGroupId},re=/^\[(.+)\]$/,Se=e=>{if(re.test(e)){let r=re.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ne=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ae(Object.entries(e.classGroups),t).forEach(([n,a])=>{H(a,o,n,r)}),o},H=(e,r,t,o)=>{e.forEach(i=>{if(typeof i=="string"){let n=i===""?r:te(r,i);n.classGroupId=t;return}if(typeof i=="function"){if(Me(i)){H(i(o),r,t,o);return}r.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([n,a])=>{H(a,te(r,n),t,o)})})},te=(e,r)=>{let t=e;return r.split(U).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Me=e=>e.isThemeGetter,Ae=(e,r)=>r?e.map(([t,o])=>{let i=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,s])=>[r+a,s])):n);return[t,i]}):e,Pe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,i=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(n){let a=t.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return i(n,a),a},set(n,a){t.has(n)?t.set(n,a):i(n,a)}}},ne="!",Re=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,i=r[0],n=r.length,a=s=>{let u=[],m=0,h=0,y;for(let p=0;p<s.length;p++){let f=s[p];if(m===0){if(f===i&&(o||s.slice(p,p+n)===r)){u.push(s.slice(h,p)),h=p+n;continue}if(f==="/"){y=p;continue}}f==="["?m++:f==="]"&&m--}let v=u.length===0?s:s.substring(h),k=v.startsWith(ne),w=k?v.substring(1):v,g=y&&y>h?y-h:void 0;return{modifiers:u,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:g}};return t?s=>t({className:s,parseClassName:a}):a},Ge=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Te=e=>({cache:Pe(e.cacheSize),parseClassName:Re(e),...ze(e)}),Ie=/\s+/,Ee=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:i}=r,n=[],a=e.trim().split(Ie),s="";for(let u=a.length-1;u>=0;u-=1){let m=a[u],{modifiers:h,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:k}=t(m),w=!!k,g=o(w?v.substring(0,k):v);if(!g){if(!w){s=m+(s.length>0?" "+s:s);continue}if(g=o(v),!g){s=m+(s.length>0?" "+s:s);continue}w=!1}let p=Ge(h).join(":"),f=y?p+ne:p,x=f+g;if(n.includes(x))continue;n.push(x);let R=i(g,w);for(let M=0;M<R.length;++M){let E=R[M];n.push(f+E)}s=m+(s.length>0?" "+s:s)}return s};function Le(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=se(r))&&(o&&(o+=" "),o+=t);return o}var se=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=se(e[o]))&&(t&&(t+=" "),t+=r);return t};function Fe(e,...r){let t,o,i,n=a;function a(u){let m=r.reduce((h,y)=>y(h),e());return t=Te(m),o=t.cache.get,i=t.cache.set,n=s,s(u)}function s(u){let m=o(u);if(m)return m;let h=Ee(u,t);return i(u,h),h}return function(){return n(Le.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ve=/^\d+\/\d+$/,je=new Set(["px","full","screen"]),Be=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_e=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|be|min|max))|\be(calc|min|max|clamp)\(.+\)|^0$/,We=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,He=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>A(e)||je.has(e)||Ve.test(e),S=e=>P(e,"length",Qe),A=e=>!!e&&!Number.isNaN(Number(e)),$=e=>P(e,"number",A),T=e=>!!e&&Number.isInteger(Number(e)),Ue=e=>e.endsWith("%")&&A(e.slice(0,-1)),l=e=>ie.test(e),N=e=>Be.test(e),Oe=new Set(["length","size","percentage"]),qe=e=>P(e,Oe,ae),Je=e=>P(e,"position",ae),Ke=new Set(["image","url"]),Xe=e=>P(e,Ke,De),Ze=e=>P(e,"",Ye),I=()=>!0,P=(e,r,t)=>{let o=ie.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Qe=e=>_e.test(e)&&!We.test(e),ae=()=>!1,Ye=e=>$e.test(e),De=e=>He.test(e);var er=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),i=c("borderColor"),n=c("borderRadius"),a=c("borderSpacing"),s=c("borderWidth"),u=c("contrast"),m=c("grayscale"),h=c("hueRotate"),y=c("invert"),v=c("gap"),k=c("gradientColorStops"),w=c("gradientColorStopPositions"),g=c("inset"),p=c("margin"),f=c("opacity"),x=c("padding"),R=c("saturate"),M=c("scale"),E=c("sepia"),J=c("skew"),K=c("space"),X=c("translate"),j=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",l,r],d=()=>[l,r],Z=()=>["",z,S],L=()=>["auto",A,l],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[A,l];return{cacheSize:500,separator:":",theme:{colors:[I],spacing:[z,S],blur:["none","",N,l],brightness:C(),borderColor:[e],borderRadius:["none","","full",N,l],borderSpacing:d(),borderWidth:Z(),contrast:C(),grayscale:G(),hueRotate:C(),invert:G(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Ue,S],inset:_(),margin:_(),opacity:C(),padding:d(),saturate:C(),scale:C(),sepia:G(),skew:C(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Q(),l]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,l]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",T,l]}],"grid-cols":[{"grid-cols":[I]}],"col-start-end":[{col:["auto",{span:["full",T,l]},l]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[I]}],"row-start-end":[{row:["auto",{span:[T,l]},l]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[K]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[K]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",N,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",A,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,S]}],"underline-offset":[{"underline-offset":["auto",z,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),Je]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","be","bl","l","tl"]},Xe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-be":[{"rounded-be":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-be":[{"border-be":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:F()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-be":[{"border-be":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[z,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,Ze]}],"shadow-color":[{shadow:[I]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...Y(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",N,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[y]}],saturate:[{saturate:[R]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[T,l]}],"translate-x":[{"translate-x":[X]}],"translate-y":[{"translate-y":[X]}],"skew-x":[{"skew-x":[J]}],"skew-y":[{"skew-y":[J]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,S,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-be","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-be":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-be","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-be"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-be","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-be"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var le=Fe(er);function O(...e){return le((0,ce.clsx)(e))}var de=require("@radix-ui/react-slot"),pe=require("class-variance-authority"),ue=ke(require("react")),be=require("react/jsx-runtime"),rr=(0,pe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),q=ue.forwardRef(({asChild:e=!1,className:r,size:t,variant:o,...i},n)=>(0,be.jsx)(e?de.Slot:"button",{className:O(rr({className:r,size:t,variant:o})),ref:n,...i}));q.displayName="Button";function tr({files:e,onFileClick:r,onFileEdit:t,onFileDelete:o,showHeader:i=!0,className:n}){return(0,be.jsxs)("div",{className:`rounded-3xl border overflow-hidden ${n||""}`,children:[i&&(0,be.jsxs)("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[(0,be.jsx)("div",{className:"col-span-6",children:"Name"}),(0,be.jsx)("div",{className:"col-span-2",children:"Size"}),(0,be.jsx)("div",{className:"col-span-2",children:"Modified"})]}),(0,be.jsx)("div",{className:"divide-y",children:e.map(a=>(0,be.jsxs)(ge.motion.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>r?.(a),children:[(0,be.jsxs)("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[(0,be.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),(0,be.jsx)("div",{children:(0,be.jsx)("p",{className:"font-medium",children:a.name})})]}),(0,be.jsx)("div",{className:"col-span-2 text-sm md:text-base",children:a.filesize}),(0,be.jsxs)("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[(0,be.jsx)("span",{className:"text-sm md:text-base",children:typeof a.createdAt=="string"?a.createdAt:a.createdAt.toLocaleDateString()}),(0,be.jsx)("div",{className:"flex gap-1",children:(0,be.jsx)(q,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:s=>{s.stopPropagation(),o?.(a)},children:(0,be.jsx)(me.Trash2,{className:"h-4 w-4"})})})]})]},a.name))})]})}0&&(module.exports={FileList});
4
+ "use strict";"use client";var fe=Object.create;var V=Object.defineProperty;var he=Object.getOwnPropertyDescriptor;var xe=Object.getOwnPropertyNames;var ye=Object.getPrototypeOf,ve=Object.prototype.hasOwnProperty;var we=(e,r)=>{for(var t in r)V(e,t,{get:r[t],enumerable:!0})},ee=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of xe(r))!ve.call(e,i)&&i!==t&&V(e,i,{get:()=>r[i],enumerable:!(o=he(r,i))||o.enumerable});return e};var ke=(e,r,t)=>(t=e!=null?fe(ye(e)):{},ee(r||!e||!e.__esModule?V(t,"default",{value:e,enumerable:!0}):t,e)),Ce=e=>ee(V({},"__esModule",{value:!0}),e);var or={};we(or,{FileList:()=>tr});module.exports=Ce(or);var ge=require("motion/react"),me=require("lucide-react");var ce=require("clsx");var U="-",ze=e=>{let r=Ne(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let s=a.split(U);return s[0]===""&&s.length!==1&&s.shift(),oe(s,r)||Se(a)},getConflictingClassGroupIds:(a,s)=>{let u=t[a]||[];return s&&o[a]?[...u,...o[a]]:u}}},oe=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),i=o?oe(e.slice(1),o):void 0;if(i)return i;if(r.validators.length===0)return;let n=e.join(U);return r.validators.find(({validator:a})=>a(n))?.classGroupId},re=/^\[(.+)\]$/,Se=e=>{if(re.test(e)){let r=re.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ne=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ae(Object.entries(e.classGroups),t).forEach(([n,a])=>{H(a,o,n,r)}),o},H=(e,r,t,o)=>{e.forEach(i=>{if(typeof i=="string"){let n=i===""?r:te(r,i);n.classGroupId=t;return}if(typeof i=="function"){if(Me(i)){H(i(o),r,t,o);return}r.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([n,a])=>{H(a,te(r,n),t,o)})})},te=(e,r)=>{let t=e;return r.split(U).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Me=e=>e.isThemeGetter,Ae=(e,r)=>r?e.map(([t,o])=>{let i=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,s])=>[r+a,s])):n);return[t,i]}):e,Pe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,i=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(n){let a=t.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return i(n,a),a},set(n,a){t.has(n)?t.set(n,a):i(n,a)}}},ne="!",Re=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,i=r[0],n=r.length,a=s=>{let u=[],m=0,h=0,y;for(let p=0;p<s.length;p++){let f=s[p];if(m===0){if(f===i&&(o||s.slice(p,p+n)===r)){u.push(s.slice(h,p)),h=p+n;continue}if(f==="/"){y=p;continue}}f==="["?m++:f==="]"&&m--}let v=u.length===0?s:s.substring(h),k=v.startsWith(ne),w=k?v.substring(1):v,g=y&&y>h?y-h:void 0;return{modifiers:u,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:g}};return t?s=>t({className:s,parseClassName:a}):a},Ge=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Te=e=>({cache:Pe(e.cacheSize),parseClassName:Re(e),...ze(e)}),Ie=/\s+/,Ee=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:i}=r,n=[],a=e.trim().split(Ie),s="";for(let u=a.length-1;u>=0;u-=1){let m=a[u],{modifiers:h,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:k}=t(m),w=!!k,g=o(w?v.substring(0,k):v);if(!g){if(!w){s=m+(s.length>0?" "+s:s);continue}if(g=o(v),!g){s=m+(s.length>0?" "+s:s);continue}w=!1}let p=Ge(h).join(":"),f=y?p+ne:p,x=f+g;if(n.includes(x))continue;n.push(x);let R=i(g,w);for(let M=0;M<R.length;++M){let E=R[M];n.push(f+E)}s=m+(s.length>0?" "+s:s)}return s};function Le(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=se(r))&&(o&&(o+=" "),o+=t);return o}var se=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=se(e[o]))&&(t&&(t+=" "),t+=r);return t};function Fe(e,...r){let t,o,i,n=a;function a(u){let m=r.reduce((h,y)=>y(h),e());return t=Te(m),o=t.cache.get,i=t.cache.set,n=s,s(u)}function s(u){let m=o(u);if(m)return m;let h=Ee(u,t);return i(u,h),h}return function(){return n(Le.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ve=/^\d+\/\d+$/,je=new Set(["px","full","screen"]),Be=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_e=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|be|min|max))|\be(calc|min|max|clamp)\(.+\)|^0$/,We=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,He=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>A(e)||je.has(e)||Ve.test(e),S=e=>P(e,"length",Qe),A=e=>!!e&&!Number.isNaN(Number(e)),$=e=>P(e,"number",A),T=e=>!!e&&Number.isInteger(Number(e)),Ue=e=>e.endsWith("%")&&A(e.slice(0,-1)),l=e=>ie.test(e),N=e=>Be.test(e),Oe=new Set(["length","size","percentage"]),qe=e=>P(e,Oe,ae),Je=e=>P(e,"position",ae),Ke=new Set(["image","url"]),Xe=e=>P(e,Ke,De),Ze=e=>P(e,"",Ye),I=()=>!0,P=(e,r,t)=>{let o=ie.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Qe=e=>_e.test(e)&&!We.test(e),ae=()=>!1,Ye=e=>$e.test(e),De=e=>He.test(e);var er=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),i=c("borderColor"),n=c("borderRadius"),a=c("borderSpacing"),s=c("borderWidth"),u=c("contrast"),m=c("grayscale"),h=c("hueRotate"),y=c("invert"),v=c("gap"),k=c("gradientColorStops"),w=c("gradientColorStopPositions"),g=c("inset"),p=c("margin"),f=c("opacity"),x=c("padding"),R=c("saturate"),M=c("scale"),E=c("sepia"),J=c("skew"),K=c("space"),X=c("translate"),j=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",l,r],d=()=>[l,r],Z=()=>["",z,S],L=()=>["auto",A,l],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[A,l];return{cacheSize:500,separator:":",theme:{colors:[I],spacing:[z,S],blur:["none","",N,l],brightness:C(),borderColor:[e],borderRadius:["none","","full",N,l],borderSpacing:d(),borderWidth:Z(),contrast:C(),grayscale:G(),hueRotate:C(),invert:G(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Ue,S],inset:_(),margin:_(),opacity:C(),padding:d(),saturate:C(),scale:C(),sepia:G(),skew:C(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Q(),l]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,l]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",T,l]}],"grid-cols":[{"grid-cols":[I]}],"col-start-end":[{col:["auto",{span:["full",T,l]},l]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[I]}],"row-start-end":[{row:["auto",{span:[T,l]},l]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[K]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[K]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",N,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",A,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,S]}],"underline-offset":[{"underline-offset":["auto",z,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),Je]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","be","bl","l","tl"]},Xe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-be":[{"rounded-be":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-be":[{"border-be":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:F()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-be":[{"border-be":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[z,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,Ze]}],"shadow-color":[{shadow:[I]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...Y(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",N,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[y]}],saturate:[{saturate:[R]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[T,l]}],"translate-x":[{"translate-x":[X]}],"translate-y":[{"translate-y":[X]}],"skew-x":[{"skew-x":[J]}],"skew-y":[{"skew-y":[J]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,S,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-be","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-be":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-be","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-be"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-be","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-be"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var le=Fe(er);function O(...e){return le((0,ce.clsx)(e))}var de=require("@radix-ui/react-slot"),pe=require("class-variance-authority"),ue=ke(require("react")),be=require("react/jsx-runtime"),rr=(0,pe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),q=ue.forwardRef(({asChild:e=!1,className:r,size:t,variant:o,...i},n)=>(0,be.jsx)(e?de.Slot:"button",{className:O(rr({className:r,size:t,variant:o})),ref:n,...i}));q.displayName="Button";function tr({files:e,onFileClick:r,onFileEdit:t,onFileDelete:o,showHeader:i=!0,className:n}){return(0,be.jsxs)("div",{className:`rounded-3xl border overflow-hidden ${n||""}`,children:[i&&(0,be.jsxs)("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[(0,be.jsx)("div",{className:"col-span-6",children:"Name"}),(0,be.jsx)("div",{className:"col-span-2",children:"Size"}),(0,be.jsx)("div",{className:"col-span-2",children:"Modified"})]}),(0,be.jsx)("div",{className:"divide-y",children:e.map(a=>(0,be.jsxs)(ge.motion.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>r?.(a),children:[(0,be.jsxs)("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[(0,be.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),(0,be.jsx)("div",{children:(0,be.jsx)("p",{className:"font-medium",children:a.name})})]}),(0,be.jsx)("div",{className:"col-span-2 text-sm md:text-base",children:a.filesize}),(0,be.jsxs)("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[(0,be.jsx)("span",{className:"text-sm md:text-base",children:typeof a.createdAt=="string"?a.createdAt:new Date(a.createdAt).toLocaleDateString()}),(0,be.jsx)("div",{className:"flex gap-1",children:(0,be.jsx)(q,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:s=>{s.stopPropagation(),o?.(a)},children:(0,be.jsx)(me.Trash2,{className:"h-4 w-4"})})})]})]},a.name))})]})}0&&(module.exports={FileList});
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-GHZ6CUY3.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as FileList};
2
+ "use strict";import{a}from"../../chunk-DSSHQ6K7.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as FileList};
@@ -1 +1 @@
1
- "use strict";var p=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var w=(e,t)=>{for(var i in t)p(e,i,{get:t[i],enumerable:!0})},f=(e,t,i,m)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of h(t))!y.call(e,a)&&a!==i&&p(e,a,{get:()=>t[a],enumerable:!(m=D(t,a))||m.enumerable});return e};var S=e=>f(p({},"__esModule",{value:!0}),e);var x={};w(x,{emptyStateData:()=>n,extendedProjects:()=>u,getActiveSprints:()=>T,getSelectedEpics:()=>C,getTasksByEpic:()=>v,getTasksBySprint:()=>I,getTasksByStatus:()=>b,highDensityTasks:()=>g,mockColleagues:()=>P,mockEpics:()=>c,mockProjectSummary:()=>k,mockProjects:()=>r,mockSprints:()=>s,mockTasks:()=>o,mockTeamSummary:()=>A,singleEpicData:()=>l,testScenarios:()=>j});module.exports=S(x);var d=e=>({id:Math.random().toString(36).substr(2,9),title:e,format:"markdown",createdAt:new Date}),r=[{id:"1",name:"E-commerce Platform",description:"Main customer-facing e-commerce application",isSelected:!0},{id:"2",name:"Admin Dashboard",description:"Internal administration and analytics dashboard",isSelected:!1},{id:"3",name:"Mobile App",description:"Native mobile application for iOS and Android",isSelected:!1}],k=[{id:1,name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{id:2,name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:0},{id:3,name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{id:4,name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],A=[{id:"1",name:"Product Development",description:"Core product development team responsible for building and maintaining our main platform",humanColleagues:8,digitalColleagues:3,projects:5},{id:"2",name:"Design & UX",description:"Creative team focused on user experience design and visual identity",humanColleagues:5,digitalColleagues:2,projects:3},{id:"3",name:"Marketing",description:"Growth and marketing team driving customer acquisition and retention",humanColleagues:6,digitalColleagues:4,projects:7},{id:"4",name:"Data Science",description:"Analytics and machine learning team providing insights and intelligent features",humanColleagues:4,digitalColleagues:6,projects:2},{id:"5",name:"Customer Success",description:"Support and success team ensuring customer satisfaction and retention",humanColleagues:7,digitalColleagues:2,projects:4},{id:"6",name:"Operations",description:"Infrastructure and operations team maintaining system reliability and performance",humanColleagues:3,digitalColleagues:5,projects:3}],c=[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0},{id:"2",name:"Dashboard Features",color:"bg-green-500",description:"Build comprehensive dashboard functionality",confidence:"medium",phase:1,startDate:new Date("2024-02-01"),endDate:new Date("2024-03-15"),progress:30,isSelected:!0},{id:"3",name:"Mobile Optimization",color:"bg-purple-500",description:"Optimize application for mobile devices",confidence:"low",phase:1,startDate:new Date("2024-03-01"),endDate:new Date("2024-04-15"),progress:10,isSelected:!0},{id:"4",name:"Performance Improvements",color:"bg-orange-500",description:"Enhance application performance and speed",confidence:"high",phase:3,startDate:new Date("2024-01-15"),endDate:new Date("2024-02-28"),progress:90,isSelected:!0}],s=[{id:"backlog",name:"Backlog",description:"Tasks not yet assigned to a sprint",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!1},{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0},{id:"1",name:"Sprint 1",description:"Initial development phase",startDate:new Date("2024-01-01"),endDate:new Date("2024-01-14"),isActive:!1,isSelected:!1},{id:"2",name:"Sprint 2",description:"Feature development",startDate:new Date("2024-01-15"),endDate:new Date("2024-01-28"),isActive:!0,isSelected:!1}],o=[{id:"1",title:"Design login page",description:"Create wireframes and mockups for the login interface",status:"todo",priority:"high",type:"story",points:5,epicId:"1",sprintId:"2",assignee:"John Doe",createdAt:new Date("2024-01-15")},{id:"2",title:"Implement OAuth integration",description:"Add Google and GitHub OAuth authentication",status:"review",priority:"high",type:"task",points:8,epicId:"1",sprintId:"2",assignee:"Jane Smith",createdAt:new Date("2024-01-16")},{id:"3",title:"Create dashboard widgets",description:"Build analytics and metrics widgets for the main dashboard",status:"todo",priority:"medium",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Mike Johnson",createdAt:new Date("2024-01-17")},{id:"4",title:"Fix login redirect bug",description:"Resolve issue where users are not redirected after login",status:"done",priority:"high",type:"bug",points:3,epicId:"1",sprintId:"1",assignee:"Sarah Wilson",createdAt:new Date("2024-01-14")},{id:"5",title:"Research mobile frameworks",description:"Investigate best practices for mobile responsive design",status:"in-progress",priority:"medium",type:"spike",points:5,epicId:"3",assignee:"Alex Brown",createdAt:new Date("2024-01-18")},{id:"6",title:"Update user profile page",description:"Enhance user profile with new settings and preferences",status:"review",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Emma Davis",createdAt:new Date("2024-01-19")},{id:"7",title:"Performance optimization",description:"Optimize database queries and improve page load times",status:"done",priority:"high",type:"task",points:13,epicId:"4",sprintId:"1",assignee:"Tom Wilson",createdAt:new Date("2024-01-13")}],g=[...o,{id:"8",title:"Add search functionality",description:"Implement search across all dashboard widgets",status:"todo",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Chris Lee",createdAt:new Date("2024-01-20")},{id:"9",title:"Fix mobile responsive issues",description:"Resolve layout problems on mobile devices",status:"in-progress",priority:"high",type:"bug",points:5,epicId:"3",sprintId:"2",assignee:"Taylor Swift",createdAt:new Date("2024-01-21")},{id:"10",title:"Implement dark mode",description:"Add dark theme support across the application",status:"review",priority:"low",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Jordan Smith",createdAt:new Date("2024-01-22")},{id:"11",title:"API rate limiting",description:"Implement rate limiting for API endpoints",status:"done",priority:"high",type:"task",points:8,epicId:"4",sprintId:"1",assignee:"Morgan Davis",createdAt:new Date("2024-01-12")},{id:"12",title:"User onboarding flow",description:"Create guided tour for new users",status:"todo",priority:"medium",type:"story",points:21,epicId:"1",sprintId:"2",assignee:"Casey Johnson",createdAt:new Date("2024-01-23")}],u=[...r,{id:"4",name:"Analytics Platform",description:"Business intelligence and reporting system",isSelected:!1},{id:"5",name:"API Gateway",description:"Microservices API management layer",isSelected:!1}],n={projects:[{id:"1",name:"Empty Project",description:"A project with no tasks",isSelected:!0}],epics:[],sprints:[{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0}],tasks:[]},l={epics:[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0}],tasks:o.filter(e=>e.epicId==="1")},b=(e,t)=>e.filter(i=>i.status===t),v=(e,t)=>e.filter(i=>i.epicId===t),I=(e,t)=>e.filter(i=>i.sprintId===t),C=e=>e.filter(t=>t.isSelected),T=e=>e.filter(t=>t.isActive),j={empty:{initialProjects:n.projects,initialEpics:n.epics,initialSprints:n.sprints,initialTasks:n.tasks},default:{initialProjects:r,initialEpics:c,initialSprints:s,initialTasks:o},highDensity:{initialProjects:r,initialEpics:c,initialSprints:s,initialTasks:g},singleEpic:{initialProjects:r,initialEpics:l.epics,initialSprints:s,initialTasks:l.tasks},multipleProjects:{initialProjects:u,initialEpics:c,initialSprints:s,initialTasks:o}},P=[{id:"1",type:"human",name:"Sarah Johnson",email:"sarah.johnson@company.com",role:"Senior Designer",department:"Design",status:"active",joinedDate:new Date("2023-01-15"),lastActive:new Date,phone:"+1 (555) 123-4567",location:"San Francisco, CA",timezone:"PST",skills:["UI/UX Design","Figma","Adobe Creative Suite","Prototyping","User Research"],bio:"Passionate designer with 8+ years of experience creating user-centered digital experiences."},{id:"2",type:"digital",name:"CodeAssist Pro",status:"active",joinedDate:new Date("2024-01-01"),lastActive:new Date,jobDescription:"AI-powered coding assistant that helps with code review, debugging, and documentation generation.",workInstructions:"Review pull requests for code quality and best practices. Generate comprehensive documentation for new features. Assist with debugging complex issues. Provide code suggestions and optimizations.",capabilities:["Code Review","Documentation Generation","Debugging","Code Optimization","Testing"],knowledge:["JavaScript","TypeScript","React","Node.js","Python","Git"].map(d),coreKnowledge:["Company coding standards","Architecture patterns","Security guidelines"].map(d),version:"2",lastUpdated:new Date("2024-01-15"),isActive:!0},{id:"3",type:"human",name:"Michael Chen",email:"michael.chen@company.com",role:"Product Manager",department:"Product",status:"inactive",joinedDate:new Date("2022-08-20"),lastActive:new Date(Date.now()-2*60*60*1e3),phone:"+1 (555) 987-6543",location:"New York, NY",timezone:"EST",skills:["Product Strategy","Agile","Data Analysis","User Stories","Roadmapping"],bio:"Strategic product manager focused on driving user engagement and business growth."},{id:"4",type:"digital",name:"MarketingBot",status:"active",joinedDate:new Date("2024-02-01"),lastActive:new Date,jobDescription:"Specialized AI assistant for marketing campaigns, content creation, and social media management.",workInstructions:"Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",capabilities:["Content Creation","Social Media Management","Analytics","SEO Optimization","Campaign Management"],knowledge:["Digital Marketing","Social Media Platforms","Content Strategy","Analytics Tools"].map(d),coreKnowledge:["Brand guidelines","Target audience personas","Marketing objectives"].map(d),version:"52",lastUpdated:new Date("2024-02-10"),isActive:!0},{id:"5",type:"human",name:"Emily Rodriguez",email:"emily.rodriguez@company.com",role:"UX Researcher",department:"Design",status:"inactive",joinedDate:new Date("2023-06-10"),lastActive:new Date(Date.now()-7*24*60*60*1e3),phone:"+1 (555) 456-7890",location:"Austin, TX",timezone:"CST",skills:["User Research","Usability Testing","Data Analysis","Survey Design","Interview Techniques"],bio:"User researcher dedicated to understanding user needs and improving product experiences."}];0&&(module.exports={emptyStateData,extendedProjects,getActiveSprints,getSelectedEpics,getTasksByEpic,getTasksBySprint,getTasksByStatus,highDensityTasks,mockColleagues,mockEpics,mockProjectSummary,mockProjects,mockSprints,mockTasks,mockTeamSummary,singleEpicData,testScenarios});
1
+ "use strict";var p=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var w=(e,t)=>{for(var i in t)p(e,i,{get:t[i],enumerable:!0})},f=(e,t,i,m)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of h(t))!y.call(e,a)&&a!==i&&p(e,a,{get:()=>t[a],enumerable:!(m=D(t,a))||m.enumerable});return e};var S=e=>f(p({},"__esModule",{value:!0}),e);var x={};w(x,{emptyStateData:()=>n,extendedProjects:()=>u,getActiveSprints:()=>T,getSelectedEpics:()=>C,getTasksByEpic:()=>v,getTasksBySprint:()=>I,getTasksByStatus:()=>b,highDensityTasks:()=>g,mockColleagues:()=>P,mockEpics:()=>c,mockProjectSummary:()=>k,mockProjects:()=>r,mockSprints:()=>s,mockTasks:()=>o,mockTeamSummary:()=>A,singleEpicData:()=>l,testScenarios:()=>j});module.exports=S(x);var d=e=>({id:Math.random().toString(36).substr(2,9),title:e,format:"markdown",createdAt:new Date}),r=[{id:"1",name:"E-commerce Platform",description:"Main customer-facing e-commerce application",isSelected:!0},{id:"2",name:"Admin Dashboard",description:"Internal administration and analytics dashboard",isSelected:!1},{id:"3",name:"Mobile App",description:"Native mobile application for iOS and Android",isSelected:!1}],k=[{id:1,name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{id:2,name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:0},{id:3,name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{id:4,name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],A=[{id:"1",name:"Product Development",description:"Core product development team responsible for building and maintaining our main platform",humanColleagues:8,digitalColleagues:3,projects:5},{id:"2",name:"Design & UX",description:"Creative team focused on user experience design and visual identity",humanColleagues:5,digitalColleagues:2,projects:3},{id:"3",name:"Marketing",description:"Growth and marketing team driving customer acquisition and retention",humanColleagues:6,digitalColleagues:4,projects:7},{id:"4",name:"Data Science",description:"Analytics and machine learning team providing insights and intelligent features",humanColleagues:4,digitalColleagues:6,projects:2},{id:"5",name:"Customer Success",description:"Support and success team ensuring customer satisfaction and retention",humanColleagues:7,digitalColleagues:2,projects:4},{id:"6",name:"Operations",description:"Infrastructure and operations team maintaining system reliability and performance",humanColleagues:3,digitalColleagues:5,projects:3}],c=[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0},{id:"2",name:"Dashboard Features",color:"bg-green-500",description:"Build comprehensive dashboard functionality",confidence:"medium",phase:1,startDate:new Date("2024-02-01"),endDate:new Date("2024-03-15"),progress:30,isSelected:!0},{id:"3",name:"Mobile Optimization",color:"bg-purple-500",description:"Optimize application for mobile devices",confidence:"low",phase:1,startDate:new Date("2024-03-01"),endDate:new Date("2024-04-15"),progress:10,isSelected:!0},{id:"4",name:"Performance Improvements",color:"bg-orange-500",description:"Enhance application performance and speed",confidence:"high",phase:3,startDate:new Date("2024-01-15"),endDate:new Date("2024-02-28"),progress:90,isSelected:!0}],s=[{id:"backlog",name:"Backlog",description:"Tasks not yet assigned to a sprint",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!1},{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0},{id:"1",name:"Sprint 1",description:"Initial development phase",startDate:new Date("2024-01-01"),endDate:new Date("2024-01-14"),isActive:!1,isSelected:!1},{id:"2",name:"Sprint 2",description:"Feature development",startDate:new Date("2024-01-15"),endDate:new Date("2024-01-28"),isActive:!0,isSelected:!1}],o=[{id:"1",name:"Design login page",description:"Create wireframes and mockups for the login interface",status:"todo",priority:"high",type:"story",points:5,epicId:"1",sprintId:"2",assignee:"John Doe",createdAt:new Date("2024-01-15")},{id:"2",name:"Implement OAuth integration",description:"Add Google and GitHub OAuth authentication",status:"review",priority:"high",type:"task",points:8,epicId:"1",sprintId:"2",assignee:"Jane Smith",createdAt:new Date("2024-01-16")},{id:"3",name:"Create dashboard widgets",description:"Build analytics and metrics widgets for the main dashboard",status:"todo",priority:"medium",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Mike Johnson",createdAt:new Date("2024-01-17")},{id:"4",name:"Fix login redirect bug",description:"Resolve issue where users are not redirected after login",status:"done",priority:"high",type:"bug",points:3,epicId:"1",sprintId:"1",assignee:"Sarah Wilson",createdAt:new Date("2024-01-14")},{id:"5",name:"Research mobile frameworks",description:"Investigate best practices for mobile responsive design",status:"in-progress",priority:"medium",type:"spike",points:5,epicId:"3",assignee:"Alex Brown",createdAt:new Date("2024-01-18")},{id:"6",name:"Update user profile page",description:"Enhance user profile with new settings and preferences",status:"review",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Emma Davis",createdAt:new Date("2024-01-19")},{id:"7",name:"Performance optimization",description:"Optimize database queries and improve page load times",status:"done",priority:"high",type:"task",points:13,epicId:"4",sprintId:"1",assignee:"Tom Wilson",createdAt:new Date("2024-01-13")}],g=[...o,{id:"8",name:"Add search functionality",description:"Implement search across all dashboard widgets",status:"todo",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Chris Lee",createdAt:new Date("2024-01-20")},{id:"9",name:"Fix mobile responsive issues",description:"Resolve layout problems on mobile devices",status:"in-progress",priority:"high",type:"bug",points:5,epicId:"3",sprintId:"2",assignee:"Taylor Swift",createdAt:new Date("2024-01-21")},{id:"10",name:"Implement dark mode",description:"Add dark theme support across the application",status:"review",priority:"low",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Jordan Smith",createdAt:new Date("2024-01-22")},{id:"11",name:"API rate limiting",description:"Implement rate limiting for API endpoints",status:"done",priority:"high",type:"task",points:8,epicId:"4",sprintId:"1",assignee:"Morgan Davis",createdAt:new Date("2024-01-12")},{id:"12",name:"User onboarding flow",description:"Create guided tour for new users",status:"todo",priority:"medium",type:"story",points:21,epicId:"1",sprintId:"2",assignee:"Casey Johnson",createdAt:new Date("2024-01-23")}],u=[...r,{id:"4",name:"Analytics Platform",description:"Business intelligence and reporting system",isSelected:!1},{id:"5",name:"API Gateway",description:"Microservices API management layer",isSelected:!1}],n={projects:[{id:"1",name:"Empty Project",description:"A project with no tasks",isSelected:!0}],epics:[],sprints:[{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0}],tasks:[]},l={epics:[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0}],tasks:o.filter(e=>e.epicId==="1")},b=(e,t)=>e.filter(i=>i.status===t),v=(e,t)=>e.filter(i=>i.epicId===t),I=(e,t)=>e.filter(i=>i.sprintId===t),C=e=>e.filter(t=>t.isSelected),T=e=>e.filter(t=>t.isActive),j={empty:{initialProjects:n.projects,initialEpics:n.epics,initialSprints:n.sprints,initialTasks:n.tasks},default:{initialProjects:r,initialEpics:c,initialSprints:s,initialTasks:o},highDensity:{initialProjects:r,initialEpics:c,initialSprints:s,initialTasks:g},singleEpic:{initialProjects:r,initialEpics:l.epics,initialSprints:s,initialTasks:l.tasks},multipleProjects:{initialProjects:u,initialEpics:c,initialSprints:s,initialTasks:o}},P=[{id:"1",type:"human",name:"Sarah Johnson",email:"sarah.johnson@company.com",role:"Senior Designer",department:"Design",status:"active",joinedDate:new Date("2023-01-15"),lastActive:new Date,phone:"+1 (555) 123-4567",location:"San Francisco, CA",timezone:"PST",skills:["UI/UX Design","Figma","Adobe Creative Suite","Prototyping","User Research"],bio:"Passionate designer with 8+ years of experience creating user-centered digital experiences."},{id:"2",type:"digital",name:"CodeAssist Pro",status:"active",joinedDate:new Date("2024-01-01"),lastActive:new Date,jobDescription:"AI-powered coding assistant that helps with code review, debugging, and documentation generation.",workInstructions:"Review pull requests for code quality and best practices. Generate comprehensive documentation for new features. Assist with debugging complex issues. Provide code suggestions and optimizations.",capabilities:["Code Review","Documentation Generation","Debugging","Code Optimization","Testing"],knowledge:["JavaScript","TypeScript","React","Node.js","Python","Git"].map(d),coreKnowledge:["Company coding standards","Architecture patterns","Security guidelines"].map(d),version:"2",lastUpdated:new Date("2024-01-15"),isActive:!0},{id:"3",type:"human",name:"Michael Chen",email:"michael.chen@company.com",role:"Product Manager",department:"Product",status:"inactive",joinedDate:new Date("2022-08-20"),lastActive:new Date(Date.now()-2*60*60*1e3),phone:"+1 (555) 987-6543",location:"New York, NY",timezone:"EST",skills:["Product Strategy","Agile","Data Analysis","User Stories","Roadmapping"],bio:"Strategic product manager focused on driving user engagement and business growth."},{id:"4",type:"digital",name:"MarketingBot",status:"active",joinedDate:new Date("2024-02-01"),lastActive:new Date,jobDescription:"Specialized AI assistant for marketing campaigns, content creation, and social media management.",workInstructions:"Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",capabilities:["Content Creation","Social Media Management","Analytics","SEO Optimization","Campaign Management"],knowledge:["Digital Marketing","Social Media Platforms","Content Strategy","Analytics Tools"].map(d),coreKnowledge:["Brand guidelines","Target audience personas","Marketing objectives"].map(d),version:"52",lastUpdated:new Date("2024-02-10"),isActive:!0},{id:"5",type:"human",name:"Emily Rodriguez",email:"emily.rodriguez@company.com",role:"UX Researcher",department:"Design",status:"inactive",joinedDate:new Date("2023-06-10"),lastActive:new Date(Date.now()-7*24*60*60*1e3),phone:"+1 (555) 456-7890",location:"Austin, TX",timezone:"CST",skills:["User Research","Usability Testing","Data Analysis","Survey Design","Interview Techniques"],bio:"User researcher dedicated to understanding user needs and improving product experiences."}];0&&(module.exports={emptyStateData,extendedProjects,getActiveSprints,getSelectedEpics,getTasksByEpic,getTasksBySprint,getTasksByStatus,highDensityTasks,mockColleagues,mockEpics,mockProjectSummary,mockProjects,mockSprints,mockTasks,mockTeamSummary,singleEpicData,testScenarios});
@@ -1 +1 @@
1
- import"../../chunk-YEKQJ4YC.mjs";var a=e=>({id:Math.random().toString(36).substr(2,9),title:e,format:"markdown",createdAt:new Date}),r=[{id:"1",name:"E-commerce Platform",description:"Main customer-facing e-commerce application",isSelected:!0},{id:"2",name:"Admin Dashboard",description:"Internal administration and analytics dashboard",isSelected:!1},{id:"3",name:"Mobile App",description:"Native mobile application for iOS and Android",isSelected:!1}],m=[{id:1,name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{id:2,name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:0},{id:3,name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{id:4,name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],g=[{id:"1",name:"Product Development",description:"Core product development team responsible for building and maintaining our main platform",humanColleagues:8,digitalColleagues:3,projects:5},{id:"2",name:"Design & UX",description:"Creative team focused on user experience design and visual identity",humanColleagues:5,digitalColleagues:2,projects:3},{id:"3",name:"Marketing",description:"Growth and marketing team driving customer acquisition and retention",humanColleagues:6,digitalColleagues:4,projects:7},{id:"4",name:"Data Science",description:"Analytics and machine learning team providing insights and intelligent features",humanColleagues:4,digitalColleagues:6,projects:2},{id:"5",name:"Customer Success",description:"Support and success team ensuring customer satisfaction and retention",humanColleagues:7,digitalColleagues:2,projects:4},{id:"6",name:"Operations",description:"Infrastructure and operations team maintaining system reliability and performance",humanColleagues:3,digitalColleagues:5,projects:3}],d=[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0},{id:"2",name:"Dashboard Features",color:"bg-green-500",description:"Build comprehensive dashboard functionality",confidence:"medium",phase:1,startDate:new Date("2024-02-01"),endDate:new Date("2024-03-15"),progress:30,isSelected:!0},{id:"3",name:"Mobile Optimization",color:"bg-purple-500",description:"Optimize application for mobile devices",confidence:"low",phase:1,startDate:new Date("2024-03-01"),endDate:new Date("2024-04-15"),progress:10,isSelected:!0},{id:"4",name:"Performance Improvements",color:"bg-orange-500",description:"Enhance application performance and speed",confidence:"high",phase:3,startDate:new Date("2024-01-15"),endDate:new Date("2024-02-28"),progress:90,isSelected:!0}],s=[{id:"backlog",name:"Backlog",description:"Tasks not yet assigned to a sprint",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!1},{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0},{id:"1",name:"Sprint 1",description:"Initial development phase",startDate:new Date("2024-01-01"),endDate:new Date("2024-01-14"),isActive:!1,isSelected:!1},{id:"2",name:"Sprint 2",description:"Feature development",startDate:new Date("2024-01-15"),endDate:new Date("2024-01-28"),isActive:!0,isSelected:!1}],o=[{id:"1",title:"Design login page",description:"Create wireframes and mockups for the login interface",status:"todo",priority:"high",type:"story",points:5,epicId:"1",sprintId:"2",assignee:"John Doe",createdAt:new Date("2024-01-15")},{id:"2",title:"Implement OAuth integration",description:"Add Google and GitHub OAuth authentication",status:"review",priority:"high",type:"task",points:8,epicId:"1",sprintId:"2",assignee:"Jane Smith",createdAt:new Date("2024-01-16")},{id:"3",title:"Create dashboard widgets",description:"Build analytics and metrics widgets for the main dashboard",status:"todo",priority:"medium",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Mike Johnson",createdAt:new Date("2024-01-17")},{id:"4",title:"Fix login redirect bug",description:"Resolve issue where users are not redirected after login",status:"done",priority:"high",type:"bug",points:3,epicId:"1",sprintId:"1",assignee:"Sarah Wilson",createdAt:new Date("2024-01-14")},{id:"5",title:"Research mobile frameworks",description:"Investigate best practices for mobile responsive design",status:"in-progress",priority:"medium",type:"spike",points:5,epicId:"3",assignee:"Alex Brown",createdAt:new Date("2024-01-18")},{id:"6",title:"Update user profile page",description:"Enhance user profile with new settings and preferences",status:"review",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Emma Davis",createdAt:new Date("2024-01-19")},{id:"7",title:"Performance optimization",description:"Optimize database queries and improve page load times",status:"done",priority:"high",type:"task",points:13,epicId:"4",sprintId:"1",assignee:"Tom Wilson",createdAt:new Date("2024-01-13")}],p=[...o,{id:"8",title:"Add search functionality",description:"Implement search across all dashboard widgets",status:"todo",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Chris Lee",createdAt:new Date("2024-01-20")},{id:"9",title:"Fix mobile responsive issues",description:"Resolve layout problems on mobile devices",status:"in-progress",priority:"high",type:"bug",points:5,epicId:"3",sprintId:"2",assignee:"Taylor Swift",createdAt:new Date("2024-01-21")},{id:"10",title:"Implement dark mode",description:"Add dark theme support across the application",status:"review",priority:"low",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Jordan Smith",createdAt:new Date("2024-01-22")},{id:"11",title:"API rate limiting",description:"Implement rate limiting for API endpoints",status:"done",priority:"high",type:"task",points:8,epicId:"4",sprintId:"1",assignee:"Morgan Davis",createdAt:new Date("2024-01-12")},{id:"12",title:"User onboarding flow",description:"Create guided tour for new users",status:"todo",priority:"medium",type:"story",points:21,epicId:"1",sprintId:"2",assignee:"Casey Johnson",createdAt:new Date("2024-01-23")}],l=[...r,{id:"4",name:"Analytics Platform",description:"Business intelligence and reporting system",isSelected:!1},{id:"5",name:"API Gateway",description:"Microservices API management layer",isSelected:!1}],n={projects:[{id:"1",name:"Empty Project",description:"A project with no tasks",isSelected:!0}],epics:[],sprints:[{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0}],tasks:[]},c={epics:[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0}],tasks:o.filter(e=>e.epicId==="1")},u=(e,t)=>e.filter(i=>i.status===t),D=(e,t)=>e.filter(i=>i.epicId===t),h=(e,t)=>e.filter(i=>i.sprintId===t),y=e=>e.filter(t=>t.isSelected),w=e=>e.filter(t=>t.isActive),f={empty:{initialProjects:n.projects,initialEpics:n.epics,initialSprints:n.sprints,initialTasks:n.tasks},default:{initialProjects:r,initialEpics:d,initialSprints:s,initialTasks:o},highDensity:{initialProjects:r,initialEpics:d,initialSprints:s,initialTasks:p},singleEpic:{initialProjects:r,initialEpics:c.epics,initialSprints:s,initialTasks:c.tasks},multipleProjects:{initialProjects:l,initialEpics:d,initialSprints:s,initialTasks:o}},S=[{id:"1",type:"human",name:"Sarah Johnson",email:"sarah.johnson@company.com",role:"Senior Designer",department:"Design",status:"active",joinedDate:new Date("2023-01-15"),lastActive:new Date,phone:"+1 (555) 123-4567",location:"San Francisco, CA",timezone:"PST",skills:["UI/UX Design","Figma","Adobe Creative Suite","Prototyping","User Research"],bio:"Passionate designer with 8+ years of experience creating user-centered digital experiences."},{id:"2",type:"digital",name:"CodeAssist Pro",status:"active",joinedDate:new Date("2024-01-01"),lastActive:new Date,jobDescription:"AI-powered coding assistant that helps with code review, debugging, and documentation generation.",workInstructions:"Review pull requests for code quality and best practices. Generate comprehensive documentation for new features. Assist with debugging complex issues. Provide code suggestions and optimizations.",capabilities:["Code Review","Documentation Generation","Debugging","Code Optimization","Testing"],knowledge:["JavaScript","TypeScript","React","Node.js","Python","Git"].map(a),coreKnowledge:["Company coding standards","Architecture patterns","Security guidelines"].map(a),version:"2",lastUpdated:new Date("2024-01-15"),isActive:!0},{id:"3",type:"human",name:"Michael Chen",email:"michael.chen@company.com",role:"Product Manager",department:"Product",status:"inactive",joinedDate:new Date("2022-08-20"),lastActive:new Date(Date.now()-2*60*60*1e3),phone:"+1 (555) 987-6543",location:"New York, NY",timezone:"EST",skills:["Product Strategy","Agile","Data Analysis","User Stories","Roadmapping"],bio:"Strategic product manager focused on driving user engagement and business growth."},{id:"4",type:"digital",name:"MarketingBot",status:"active",joinedDate:new Date("2024-02-01"),lastActive:new Date,jobDescription:"Specialized AI assistant for marketing campaigns, content creation, and social media management.",workInstructions:"Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",capabilities:["Content Creation","Social Media Management","Analytics","SEO Optimization","Campaign Management"],knowledge:["Digital Marketing","Social Media Platforms","Content Strategy","Analytics Tools"].map(a),coreKnowledge:["Brand guidelines","Target audience personas","Marketing objectives"].map(a),version:"52",lastUpdated:new Date("2024-02-10"),isActive:!0},{id:"5",type:"human",name:"Emily Rodriguez",email:"emily.rodriguez@company.com",role:"UX Researcher",department:"Design",status:"inactive",joinedDate:new Date("2023-06-10"),lastActive:new Date(Date.now()-7*24*60*60*1e3),phone:"+1 (555) 456-7890",location:"Austin, TX",timezone:"CST",skills:["User Research","Usability Testing","Data Analysis","Survey Design","Interview Techniques"],bio:"User researcher dedicated to understanding user needs and improving product experiences."}];export{n as emptyStateData,l as extendedProjects,w as getActiveSprints,y as getSelectedEpics,D as getTasksByEpic,h as getTasksBySprint,u as getTasksByStatus,p as highDensityTasks,S as mockColleagues,d as mockEpics,m as mockProjectSummary,r as mockProjects,s as mockSprints,o as mockTasks,g as mockTeamSummary,c as singleEpicData,f as testScenarios};
1
+ import"../../chunk-YEKQJ4YC.mjs";var a=e=>({id:Math.random().toString(36).substr(2,9),title:e,format:"markdown",createdAt:new Date}),r=[{id:"1",name:"E-commerce Platform",description:"Main customer-facing e-commerce application",isSelected:!0},{id:"2",name:"Admin Dashboard",description:"Internal administration and analytics dashboard",isSelected:!1},{id:"3",name:"Mobile App",description:"Native mobile application for iOS and Android",isSelected:!1}],m=[{id:1,name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{id:2,name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:0},{id:3,name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{id:4,name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],g=[{id:"1",name:"Product Development",description:"Core product development team responsible for building and maintaining our main platform",humanColleagues:8,digitalColleagues:3,projects:5},{id:"2",name:"Design & UX",description:"Creative team focused on user experience design and visual identity",humanColleagues:5,digitalColleagues:2,projects:3},{id:"3",name:"Marketing",description:"Growth and marketing team driving customer acquisition and retention",humanColleagues:6,digitalColleagues:4,projects:7},{id:"4",name:"Data Science",description:"Analytics and machine learning team providing insights and intelligent features",humanColleagues:4,digitalColleagues:6,projects:2},{id:"5",name:"Customer Success",description:"Support and success team ensuring customer satisfaction and retention",humanColleagues:7,digitalColleagues:2,projects:4},{id:"6",name:"Operations",description:"Infrastructure and operations team maintaining system reliability and performance",humanColleagues:3,digitalColleagues:5,projects:3}],d=[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0},{id:"2",name:"Dashboard Features",color:"bg-green-500",description:"Build comprehensive dashboard functionality",confidence:"medium",phase:1,startDate:new Date("2024-02-01"),endDate:new Date("2024-03-15"),progress:30,isSelected:!0},{id:"3",name:"Mobile Optimization",color:"bg-purple-500",description:"Optimize application for mobile devices",confidence:"low",phase:1,startDate:new Date("2024-03-01"),endDate:new Date("2024-04-15"),progress:10,isSelected:!0},{id:"4",name:"Performance Improvements",color:"bg-orange-500",description:"Enhance application performance and speed",confidence:"high",phase:3,startDate:new Date("2024-01-15"),endDate:new Date("2024-02-28"),progress:90,isSelected:!0}],s=[{id:"backlog",name:"Backlog",description:"Tasks not yet assigned to a sprint",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!1},{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0},{id:"1",name:"Sprint 1",description:"Initial development phase",startDate:new Date("2024-01-01"),endDate:new Date("2024-01-14"),isActive:!1,isSelected:!1},{id:"2",name:"Sprint 2",description:"Feature development",startDate:new Date("2024-01-15"),endDate:new Date("2024-01-28"),isActive:!0,isSelected:!1}],o=[{id:"1",name:"Design login page",description:"Create wireframes and mockups for the login interface",status:"todo",priority:"high",type:"story",points:5,epicId:"1",sprintId:"2",assignee:"John Doe",createdAt:new Date("2024-01-15")},{id:"2",name:"Implement OAuth integration",description:"Add Google and GitHub OAuth authentication",status:"review",priority:"high",type:"task",points:8,epicId:"1",sprintId:"2",assignee:"Jane Smith",createdAt:new Date("2024-01-16")},{id:"3",name:"Create dashboard widgets",description:"Build analytics and metrics widgets for the main dashboard",status:"todo",priority:"medium",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Mike Johnson",createdAt:new Date("2024-01-17")},{id:"4",name:"Fix login redirect bug",description:"Resolve issue where users are not redirected after login",status:"done",priority:"high",type:"bug",points:3,epicId:"1",sprintId:"1",assignee:"Sarah Wilson",createdAt:new Date("2024-01-14")},{id:"5",name:"Research mobile frameworks",description:"Investigate best practices for mobile responsive design",status:"in-progress",priority:"medium",type:"spike",points:5,epicId:"3",assignee:"Alex Brown",createdAt:new Date("2024-01-18")},{id:"6",name:"Update user profile page",description:"Enhance user profile with new settings and preferences",status:"review",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Emma Davis",createdAt:new Date("2024-01-19")},{id:"7",name:"Performance optimization",description:"Optimize database queries and improve page load times",status:"done",priority:"high",type:"task",points:13,epicId:"4",sprintId:"1",assignee:"Tom Wilson",createdAt:new Date("2024-01-13")}],p=[...o,{id:"8",name:"Add search functionality",description:"Implement search across all dashboard widgets",status:"todo",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Chris Lee",createdAt:new Date("2024-01-20")},{id:"9",name:"Fix mobile responsive issues",description:"Resolve layout problems on mobile devices",status:"in-progress",priority:"high",type:"bug",points:5,epicId:"3",sprintId:"2",assignee:"Taylor Swift",createdAt:new Date("2024-01-21")},{id:"10",name:"Implement dark mode",description:"Add dark theme support across the application",status:"review",priority:"low",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Jordan Smith",createdAt:new Date("2024-01-22")},{id:"11",name:"API rate limiting",description:"Implement rate limiting for API endpoints",status:"done",priority:"high",type:"task",points:8,epicId:"4",sprintId:"1",assignee:"Morgan Davis",createdAt:new Date("2024-01-12")},{id:"12",name:"User onboarding flow",description:"Create guided tour for new users",status:"todo",priority:"medium",type:"story",points:21,epicId:"1",sprintId:"2",assignee:"Casey Johnson",createdAt:new Date("2024-01-23")}],l=[...r,{id:"4",name:"Analytics Platform",description:"Business intelligence and reporting system",isSelected:!1},{id:"5",name:"API Gateway",description:"Microservices API management layer",isSelected:!1}],n={projects:[{id:"1",name:"Empty Project",description:"A project with no tasks",isSelected:!0}],epics:[],sprints:[{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0}],tasks:[]},c={epics:[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0}],tasks:o.filter(e=>e.epicId==="1")},u=(e,t)=>e.filter(i=>i.status===t),D=(e,t)=>e.filter(i=>i.epicId===t),h=(e,t)=>e.filter(i=>i.sprintId===t),y=e=>e.filter(t=>t.isSelected),w=e=>e.filter(t=>t.isActive),f={empty:{initialProjects:n.projects,initialEpics:n.epics,initialSprints:n.sprints,initialTasks:n.tasks},default:{initialProjects:r,initialEpics:d,initialSprints:s,initialTasks:o},highDensity:{initialProjects:r,initialEpics:d,initialSprints:s,initialTasks:p},singleEpic:{initialProjects:r,initialEpics:c.epics,initialSprints:s,initialTasks:c.tasks},multipleProjects:{initialProjects:l,initialEpics:d,initialSprints:s,initialTasks:o}},S=[{id:"1",type:"human",name:"Sarah Johnson",email:"sarah.johnson@company.com",role:"Senior Designer",department:"Design",status:"active",joinedDate:new Date("2023-01-15"),lastActive:new Date,phone:"+1 (555) 123-4567",location:"San Francisco, CA",timezone:"PST",skills:["UI/UX Design","Figma","Adobe Creative Suite","Prototyping","User Research"],bio:"Passionate designer with 8+ years of experience creating user-centered digital experiences."},{id:"2",type:"digital",name:"CodeAssist Pro",status:"active",joinedDate:new Date("2024-01-01"),lastActive:new Date,jobDescription:"AI-powered coding assistant that helps with code review, debugging, and documentation generation.",workInstructions:"Review pull requests for code quality and best practices. Generate comprehensive documentation for new features. Assist with debugging complex issues. Provide code suggestions and optimizations.",capabilities:["Code Review","Documentation Generation","Debugging","Code Optimization","Testing"],knowledge:["JavaScript","TypeScript","React","Node.js","Python","Git"].map(a),coreKnowledge:["Company coding standards","Architecture patterns","Security guidelines"].map(a),version:"2",lastUpdated:new Date("2024-01-15"),isActive:!0},{id:"3",type:"human",name:"Michael Chen",email:"michael.chen@company.com",role:"Product Manager",department:"Product",status:"inactive",joinedDate:new Date("2022-08-20"),lastActive:new Date(Date.now()-2*60*60*1e3),phone:"+1 (555) 987-6543",location:"New York, NY",timezone:"EST",skills:["Product Strategy","Agile","Data Analysis","User Stories","Roadmapping"],bio:"Strategic product manager focused on driving user engagement and business growth."},{id:"4",type:"digital",name:"MarketingBot",status:"active",joinedDate:new Date("2024-02-01"),lastActive:new Date,jobDescription:"Specialized AI assistant for marketing campaigns, content creation, and social media management.",workInstructions:"Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",capabilities:["Content Creation","Social Media Management","Analytics","SEO Optimization","Campaign Management"],knowledge:["Digital Marketing","Social Media Platforms","Content Strategy","Analytics Tools"].map(a),coreKnowledge:["Brand guidelines","Target audience personas","Marketing objectives"].map(a),version:"52",lastUpdated:new Date("2024-02-10"),isActive:!0},{id:"5",type:"human",name:"Emily Rodriguez",email:"emily.rodriguez@company.com",role:"UX Researcher",department:"Design",status:"inactive",joinedDate:new Date("2023-06-10"),lastActive:new Date(Date.now()-7*24*60*60*1e3),phone:"+1 (555) 456-7890",location:"Austin, TX",timezone:"CST",skills:["User Research","Usability Testing","Data Analysis","Survey Design","Interview Techniques"],bio:"User researcher dedicated to understanding user needs and improving product experiences."}];export{n as emptyStateData,l as extendedProjects,w as getActiveSprints,y as getSelectedEpics,D as getTasksByEpic,h as getTasksBySprint,u as getTasksByStatus,p as highDensityTasks,S as mockColleagues,d as mockEpics,m as mockProjectSummary,r as mockProjects,s as mockSprints,o as mockTasks,g as mockTeamSummary,c as singleEpicData,f as testScenarios};