cortex-react-components 2.13.4 → 2.13.6
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.
- package/dist/chunk-2R3MJSQ7.mjs +1 -0
- package/dist/chunk-6R36YTGY.mjs +1 -0
- package/dist/{chunk-YQW7SMYJ.mjs → chunk-76AKO55V.mjs} +1 -1
- package/dist/{chunk-TL2RQFU5.mjs → chunk-B7AXSCTN.mjs} +1 -1
- package/dist/{chunk-6NED7ZVK.mjs → chunk-CBYI4FLL.mjs} +1 -1
- package/dist/chunk-GTXTHH5Y.mjs +4 -0
- package/dist/{chunk-LJOWXPWW.mjs → chunk-I2GNNRFH.mjs} +1 -1
- package/dist/chunk-QC2UWZWL.mjs +1 -0
- package/dist/chunk-USGRM22Y.mjs +1 -0
- package/dist/{chunk-CBIULUZQ.mjs → chunk-XKGBG5FX.mjs} +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.js +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/index.js +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/Views/index.js +1 -1
- package/dist/components/Foundary/Views/index.mjs +1 -1
- package/dist/components/Foundary/index.js +1 -1
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Projects/AddEpicModal.js +1 -1
- package/dist/components/Projects/AddEpicModal.mjs +1 -1
- package/dist/components/Projects/AddTaskModal.js +1 -1
- package/dist/components/Projects/AddTaskModal.mjs +1 -1
- package/dist/components/Projects/EpicsView.d.ts +1 -1
- package/dist/components/Projects/EpicsView.js +2 -1
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.js +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/PlanningView.js +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.js +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.js +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/index.js +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/index.js +12 -12
- package/dist/components/index.mjs +1 -1
- package/dist/index.js +15 -15
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2IMVYO7X.mjs +0 -1
- package/dist/chunk-DTIHVFME.mjs +0 -4
- package/dist/chunk-E6Y5COQK.mjs +0 -1
- package/dist/chunk-TOI73VEE.mjs +0 -1
- package/dist/chunk-WSQHAE6Q.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as w}from"../../chunk-2UNIT7NC.mjs";import{a as r}from"../../chunk-X3I4Y44O.mjs";import{a as m}from"../../chunk-MLMDTZHL.mjs";import{a as q}from"../../chunk-MDBYZZXI.mjs";import{a as c}from"../../chunk-XHXUT3LD.mjs";import{a as k}from"../../chunk-M2REXGQW.mjs";import{a as p}from"../../chunk-MFE4VZPC.mjs";import{a as x}from"../../chunk-DYIBFAK7.mjs";import{a as l}from"../../chunk-CJ6APTVT.mjs";import"../../chunk-I4GYQZGM.mjs";import{a as g}from"../../chunk-ATBKMJU6.mjs";import{a as h}from"../../chunk-K5MJYNCD.mjs";import{a as i}from"../../chunk-FSCDCSVK.mjs";import{a as o}from"../../chunk-5ROLUQ45.mjs";import{a as n}from"../../chunk-KO6JUP2L.mjs";import{a as j}from"../../chunk-NDZ26EG6.mjs";import{a as b}from"../../chunk-JDMIQLAZ.mjs";import{a as d}from"../../chunk-2HWSTGAP.mjs";import{a}from"../../chunk-5NIEZE7A.mjs";import{a as e}from"../../chunk-J4QINTHR.mjs";import"../../chunk-R4SE63GR.mjs";import"../../chunk-ENRNRNPQ.mjs";import"../../chunk-VGWDYD6Z.mjs";import{a as u}from"../../chunk-
|
|
1
|
+
import{a as w}from"../../chunk-2UNIT7NC.mjs";import{a as r}from"../../chunk-X3I4Y44O.mjs";import{a as m}from"../../chunk-MLMDTZHL.mjs";import{a as q}from"../../chunk-MDBYZZXI.mjs";import{a as c}from"../../chunk-XHXUT3LD.mjs";import{a as k}from"../../chunk-M2REXGQW.mjs";import{a as p}from"../../chunk-MFE4VZPC.mjs";import{a as x}from"../../chunk-DYIBFAK7.mjs";import{a as l}from"../../chunk-CJ6APTVT.mjs";import"../../chunk-I4GYQZGM.mjs";import{a as g}from"../../chunk-ATBKMJU6.mjs";import{a as h}from"../../chunk-K5MJYNCD.mjs";import{a as i}from"../../chunk-FSCDCSVK.mjs";import{a as o}from"../../chunk-5ROLUQ45.mjs";import{a as n}from"../../chunk-KO6JUP2L.mjs";import{a as j}from"../../chunk-NDZ26EG6.mjs";import{a as b}from"../../chunk-JDMIQLAZ.mjs";import{a as d}from"../../chunk-2HWSTGAP.mjs";import{a}from"../../chunk-5NIEZE7A.mjs";import{a as e}from"../../chunk-J4QINTHR.mjs";import"../../chunk-R4SE63GR.mjs";import"../../chunk-ENRNRNPQ.mjs";import"../../chunk-VGWDYD6Z.mjs";import{a as u}from"../../chunk-GTXTHH5Y.mjs";import"../../chunk-5N4WW7O2.mjs";import"../../chunk-CBYI4FLL.mjs";import"../../chunk-KZCIHFTM.mjs";import{a as t}from"../../chunk-2R3MJSQ7.mjs";import{a as v}from"../../chunk-TKCFCYEQ.mjs";import"../../chunk-CDVRH3MC.mjs";import"../../chunk-KPTGYVDM.mjs";import"../../chunk-5RTGHMF3.mjs";import"../../chunk-6BQNN2KT.mjs";import"../../chunk-XNEPSYCO.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-NGX2VCHS.mjs";import"../../chunk-USGRM22Y.mjs";import"../../chunk-KG7HG2VO.mjs";import"../../chunk-6R36YTGY.mjs";import"../../chunk-QC2UWZWL.mjs";import{a as s}from"../../chunk-QBUU2AQL.mjs";import"../../chunk-DSSHQ6K7.mjs";import"../../chunk-Z22NSJMF.mjs";import{a as f}from"../../chunk-EZC3YWSQ.mjs";import"../../chunk-YRMNCHFO.mjs";import"../../chunk-EOR2BAI2.mjs";import"../../chunk-4WA47ZQA.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-6SWKEZN6.mjs";import"../../chunk-DFIXTV2M.mjs";import"../../chunk-QG4QCB5I.mjs";import"../../chunk-MU5WPW4N.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-FGEFYI5E.mjs";import"../../chunk-UVHMI3PU.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-ZFUP5NVF.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-22LHS2J6.mjs";import"../../chunk-IC2ABKAM.mjs";import"../../chunk-FHMQVAKQ.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-55EX54R7.mjs";import"../../chunk-6C4WESLL.mjs";import"../../chunk-CLGBBNRB.mjs";import"../../chunk-WUA65ZZB.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-PDY7JYY3.mjs";import"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as AppSidebarLeft,g as ColleagueCard,h as ColleagueForm,i as ColleagueTypeSelection,m as ColleaguesView,b as DashboardHeader,r as DashboardPage,j as DigitalColleagueClone,k as DigitalColleagueOptions,n as DocumentEdit,o as DocumentPreview,s as FileView,c as FoundaryLayout,p as KnowledgeBrowser,x as KnowledgeSearch,q as KnowledgeView,d as MainPage,e as ManagementSidebar,t as PlanningView,u as ProjectView,v as ProjectsIndexView,f as SearchableSelect,l as TeamForm,w as TeamsIndexView};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-FHMQVAKQ.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-FHMQVAKQ.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as VideoHeader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h}from"../../chunk-22LHS2J6.mjs";import{a}from"../../chunk-IC2ABKAM.mjs";import{a as b}from"../../chunk-FHMQVAKQ.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-55EX54R7.mjs";import{a as f}from"../../chunk-6C4WESLL.mjs";import{a as g}from"../../chunk-CLGBBNRB.mjs";import{a as d}from"../../chunk-WUA65ZZB.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-ZDPQXVTF.mjs";import{a as e}from"../../chunk-PDY7JYY3.mjs";import{a as c}from"../../chunk-Q5XT55O3.mjs";import"../../chunk-
|
|
1
|
+
import{a as h}from"../../chunk-22LHS2J6.mjs";import{a}from"../../chunk-IC2ABKAM.mjs";import{a as b}from"../../chunk-FHMQVAKQ.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-55EX54R7.mjs";import{a as f}from"../../chunk-6C4WESLL.mjs";import{a as g}from"../../chunk-CLGBBNRB.mjs";import{a as d}from"../../chunk-WUA65ZZB.mjs";import"../../chunk-WISC5QJV.mjs";import"../../chunk-ZDPQXVTF.mjs";import{a as e}from"../../chunk-PDY7JYY3.mjs";import{a as c}from"../../chunk-Q5XT55O3.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{c as BrandLogo,f as Footer,g as Header,d as HeaderDesktop,e as HeaderMobile,h as RelatedPagesMenu,a as SimpleHeader,b as VideoHeader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-B7AXSCTN.mjs";import"../../chunk-MZP7RIQZ.mjs";import"../../chunk-255P6K5W.mjs";import"../../chunk-HKGW6JI2.mjs";import"../../chunk-YKG4FNS4.mjs";import"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{b as Breadcrumbs,a as RenderHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-MZP7RIQZ.mjs";import"../../../chunk-7WIO2CIC.mjs";import"../../../chunk-X5KZKO2V.mjs";import"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-MZP7RIQZ.mjs";import"../../../chunk-7WIO2CIC.mjs";import"../../../chunk-X5KZKO2V.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-FMJBJ3HN.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as SectionHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h}from"../../chunk-Z22NSJMF.mjs";import{a as f,b as g}from"../../chunk-
|
|
1
|
+
import{a as h}from"../../chunk-Z22NSJMF.mjs";import{a as f,b as g}from"../../chunk-B7AXSCTN.mjs";import{a as e}from"../../chunk-MZP7RIQZ.mjs";import{a}from"../../chunk-255P6K5W.mjs";import{a as c}from"../../chunk-HKGW6JI2.mjs";import{a as b}from"../../chunk-YKG4FNS4.mjs";import{a as d}from"../../chunk-F5N6KQA2.mjs";import"../../chunk-U5PBLRRV.mjs";import"../../chunk-Q5Q3DJWU.mjs";import"../../chunk-4QRKVSTE.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-76M7JE4D.mjs";import"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-OYZDAMCS.mjs";import"../../chunk-5NRGSTPV.mjs";import"../../chunk-ZFUP5NVF.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-7WIO2CIC.mjs";import"../../chunk-X5KZKO2V.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FMJBJ3HN.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-YEKQJ4YC.mjs";export{g as Breadcrumbs,h as DashboardHero,a as HighImpactHero,c as LowImpactHero,b as MediumImpactHero,d as PostHero,f as RenderHero,e as SectionHero};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d,b as e}from"../../chunk-7WIO2CIC.mjs";import{a as c}from"../../chunk-X5KZKO2V.mjs";import{a
|
|
1
|
+
import{a as d,b as e}from"../../chunk-7WIO2CIC.mjs";import{a as c}from"../../chunk-X5KZKO2V.mjs";import{a}from"../../chunk-WISCWNL2.mjs";import{a as b}from"../../chunk-FMJBJ3HN.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{b as Container,a as CustomLink,e as Mask,d as PageShape,c as ThemeProvider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Xe=Object.create;var X=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ke=Object.getOwnPropertyNames;var Ze=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Ye=(e,t)=>{for(var o in t)X(e,o,{get:t[o],enumerable:!0})},we=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ke(t))!Qe.call(e,a)&&a!==o&&X(e,a,{get:()=>t[a],enumerable:!(r=Je(t,a))||r.enumerable});return e};var z=(e,t,o)=>(o=e!=null?Xe(Ze(e)):{},we(t||!e||!e.__esModule?X(o,"default",{value:e,enumerable:!0}):o,e)),et=e=>we(X({},"__esModule",{value:!0}),e);var Wt={};Ye(Wt,{AddEpicModal:()=>Vt});module.exports=et(Wt);var qe=require("react");var U=z(require("react")),y=z(require("@radix-ui/react-dialog")),Ie=require("lucide-react");var ze=require("clsx");var ae="-",tt=e=>{let t=rt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:d=>{let i=d.split(ae);return i[0]===""&&i.length!==1&&i.shift(),Re(i,t)||ot(d)},getConflictingClassGroupIds:(d,i)=>{let b=o[d]||[];return i&&r[d]?[...b,...r[d]]:b}}},Re=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?Re(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(ae);return t.validators.find(({validator:d})=>d(n))?.classGroupId},Se=/^\[(.+)\]$/,ot=e=>{if(Se.test(e)){let t=Se.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},rt=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return at(Object.entries(e.classGroups),o).forEach(([n,d])=>{ne(d,r,n,t)}),r},ne=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:Pe(t,a);n.classGroupId=o;return}if(typeof a=="function"){if(nt(a)){ne(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([n,d])=>{ne(d,Pe(t,n),o,r)})})},Pe=(e,t)=>{let o=e;return t.split(ae).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},nt=e=>e.isThemeGetter,at=(e,t)=>t?e.map(([o,r])=>{let a=r.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([d,i])=>[t+d,i])):n);return[o,a]}):e,it=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(n,d)=>{o.set(n,d),t++,t>e&&(t=0,r=o,o=new Map)};return{get(n){let d=o.get(n);if(d!==void 0)return d;if((d=r.get(n))!==void 0)return a(n,d),d},set(n,d){o.has(n)?o.set(n,d):a(n,d)}}},Ce="!",st=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],n=t.length,d=i=>{let b=[],m=0,s=0,S;for(let h=0;h<i.length;h++){let w=i[h];if(m===0){if(w===a&&(r||i.slice(h,h+n)===t)){b.push(i.slice(s,h)),s=h+n;continue}if(w==="/"){S=h;continue}}w==="["?m++:w==="]"&&m--}let P=b.length===0?i:i.substring(s),k=P.startsWith(Ce),N=k?P.substring(1):P,x=S&&S>s?S-s:void 0;return{modifiers:b,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:x}};return o?i=>o({className:i,parseClassName:d}):d},lt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},ct=e=>({cache:it(e.cacheSize),parseClassName:st(e),...tt(e)}),dt=/\s+/,pt=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,n=[],d=e.trim().split(dt),i="";for(let b=d.length-1;b>=0;b-=1){let m=d[b],{modifiers:s,hasImportantModifier:S,baseClassName:P,maybePostfixModifierPosition:k}=o(m),N=!!k,x=r(N?P.substring(0,k):P);if(!x){if(!N){i=m+(i.length>0?" "+i:i);continue}if(x=r(P),!x){i=m+(i.length>0?" "+i:i);continue}N=!1}let h=lt(s).join(":"),w=S?h+Ce:h,C=w+x;if(n.includes(C))continue;n.push(C);let O=a(x,N);for(let L=0;L<O.length;++L){let _=O[L];n.push(w+_)}i=m+(i.length>0?" "+i:i)}return i};function mt(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ne(t))&&(r&&(r+=" "),r+=o);return r}var Ne=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Ne(e[r]))&&(o&&(o+=" "),o+=t);return o};function ut(e,...t){let o,r,a,n=d;function d(b){let m=t.reduce((s,S)=>S(s),e());return o=ct(m),r=o.cache.get,a=o.cache.set,n=i,i(b)}function i(b){let m=r(b);if(m)return m;let s=pt(b,o);return a(b,s),s}return function(){return n(mt.apply(null,arguments))}}var u=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},De=/^\[(?:([a-z-]+):)?(.+)\]$/i,ft=/^\d+\/\d+$/,gt=new Set(["px","full","screen"]),bt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ht=/\d+(%|px|r?em|[sdl]?R([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>B(e)||gt.has(e)||ft.test(e),M=e=>V(e,"length",kt),B=e=>!!e&&!Number.isNaN(Number(e)),re=e=>V(e,"number",B),F=e=>!!e&&Number.isInteger(Number(e)),wt=e=>e.endsWith("%")&&B(e.slice(0,-1)),c=e=>De.test(e),E=e=>bt.test(e),St=new Set(["length","size","percentage"]),Pt=e=>V(e,St,ke),Rt=e=>V(e,"position",ke),Ct=new Set(["image","url"]),Nt=e=>V(e,Ct,zt),Dt=e=>V(e,"",Tt),j=()=>!0,V=(e,t,o)=>{let r=De.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},kt=e=>ht.test(e)&&!vt.test(e),ke=()=>!1,Tt=e=>yt.test(e),zt=e=>xt.test(e);var It=()=>{let e=u("colors"),t=u("spacing"),o=u("blur"),r=u("brightness"),a=u("borderColor"),n=u("borderRadius"),d=u("borderSpacing"),i=u("borderWidth"),b=u("contrast"),m=u("grayscale"),s=u("hueRotate"),S=u("invert"),P=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),x=u("inset"),h=u("margin"),w=u("opacity"),C=u("padding"),O=u("saturate"),L=u("scale"),_=u("sepia"),fe=u("skew"),ge=u("space"),be=u("translate"),Y=()=>["auto","contain","none"],ee=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto",c,t],g=()=>[c,t],he=()=>["",I,M],$=()=>["auto",B,c],ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",c],xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[B,c];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[I,M],blur:["none","",E,c],brightness:T(),borderColor:[e],borderRadius:["none","","full",E,c],borderSpacing:g(),borderWidth:he(),contrast:T(),grayscale:H(),hueRotate:T(),invert:H(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[wt,M],inset:te(),margin:te(),opacity:T(),padding:g(),saturate:T(),scale:T(),sepia:H(),skew:T(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":xe()}],"break-before":[{"break-before":xe()}],"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:[...ve(),c]}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",F,c]}],basis:[{basis:te()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",F,c]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",F,c]},c]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[F,c]},c]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[P]}],"gap-x":[{"gap-x":[P]}],"gap-y":[{"gap-y":[P]}],"justify-content":[{justify:["normal",...oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",re]}],"font-family":[{font:[j]}],"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",c]}],"line-clamp":[{"line-clamp":["none",B,re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,M]}],"underline-offset":[{"underline-offset":["auto",I,c]}],"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:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ve(),Rt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Pt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","R","tl"]},Nt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"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-b":[{"rounded-b":[n]}],"rounded-R":[{"rounded-R":[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:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-R":[{"border-R":[i]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:q()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-R":[{"border-R":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[I,c]}],"outline-w":[{outline:[I,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[I,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Dt]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ye(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",E,c]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[s]}],invert:[{invert:[S]}],saturate:[{saturate:[O]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[s]}],"backdrop-invert":[{"backdrop-invert":[S]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[F,c]}],"translate-x":[{"translate-x":[be]}],"translate-y":[{"translate-y":[be]}],"skew-x":[{"skew-x":[fe]}],"skew-y":[{"skew-y":[fe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[I,M,re]}],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-b","rounded-R","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-R":["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-b","border-w-R"],"border-w-x":["border-w-r","border-w-R"],"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-R"],"border-color-x":["border-color-r","border-color-R"],"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-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Te=ut(It);function f(...e){return Te((0,ze.clsx)(e))}var R=require("react/jsx-runtime"),Me=y.Root;var Mt=y.Portal;var Ee=U.forwardRef(({className:e,...t},o)=>(0,R.jsx)(y.Overlay,{ref:o,className:f("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ee.displayName=y.Overlay.displayName;var ie=U.forwardRef(({className:e,children:t,...o},r)=>(0,R.jsxs)(Mt,{children:[(0,R.jsx)(Ee,{}),(0,R.jsxs)(y.Content,{ref:r,className:f("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...o,children:[t,(0,R.jsxs)(y.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,R.jsx)(Ie.X,{className:"h-4 w-4"}),(0,R.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));ie.displayName=y.Content.displayName;var se=({className:e,...t})=>(0,R.jsx)("div",{className:f("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});se.displayName="DialogHeader";var le=({className:e,...t})=>(0,R.jsx)("div",{className:f("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});le.displayName="DialogFooter";var ce=U.forwardRef(({className:e,...t},o)=>(0,R.jsx)(y.Title,{ref:o,className:f("text-lg font-semibold leading-none tracking-tight",e),...t}));ce.displayName=y.Title.displayName;var Et=U.forwardRef(({className:e,...t},o)=>(0,R.jsx)(y.Description,{ref:o,className:f("text-sm text-muted-foreground",e),...t}));Et.displayName=y.Description.displayName;var Ae=require("@radix-ui/react-slot"),Le=require("class-variance-authority"),Ge=z(require("react")),At=(0,Le.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"}}}),J=Ge.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},n)=>(0,R.jsx)(e?Ae.Slot:"button",{className:f(At({className:t,size:o,variant:r})),ref:n,...a}));J.displayName="Button";var Ve=z(require("react"));var W=Ve.forwardRef(({className:e,type:t,...o},r)=>(0,R.jsx)("input",{type:t,className:f("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:r,...o}));W.displayName="Input";var Oe=z(require("react")),de=Oe.forwardRef(({className:e,...t},o)=>(0,R.jsx)("textarea",{className:f("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));de.displayName="Textarea";var Fe=z(require("react")),pe=z(require("@radix-ui/react-label"));var Lt=(0,Le.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),D=Fe.forwardRef(({className:e,...t},o)=>(0,R.jsx)(pe.Root,{ref:o,className:f(Lt(),e),...t}));D.displayName=pe.Root.displayName;var p=z(require("@radix-ui/react-select")),A=z(require("react")),me=p.Root;var ue=p.Value,K=A.forwardRef(({children:e,className:t,...o},r)=>(0,R.jsxs)(p.Trigger,{className:f("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:r,...o,children:[e,(0,R.jsx)(p.Icon,{asChild:!0,children:(0,R.jsx)(Ie.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));K.displayName=p.Trigger.displayName;var _e=A.forwardRef(({className:e,...t},o)=>(0,R.jsx)(p.ScrollUpButton,{className:f("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,R.jsx)(Ie.ChevronUp,{className:"h-4 w-4"})}));_e.displayName=p.ScrollUpButton.displayName;var $e=A.forwardRef(({className:e,...t},o)=>(0,R.jsx)(p.ScrollDownButton,{className:f("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,R.jsx)(Ie.ChevronDown,{className:"h-4 w-4"})}));$e.displayName=p.ScrollDownButton.displayName;var Z=A.forwardRef(({children:e,className:t,position:o="popper",...r},a)=>(0,R.jsx)(p.Portal,{children:(0,R.jsxs)(p.Content,{className:f("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",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,ref:a,...r,children:[(0,R.jsx)(_e,{}),(0,R.jsx)(p.Viewport,{className:f("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,R.jsx)($e,{})]})}));Z.displayName=p.Content.displayName;var Gt=A.forwardRef(({className:e,...t},o)=>(0,R.jsx)(p.Label,{className:f("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));Gt.displayName=p.Label.displayName;var Q=A.forwardRef(({children:e,className:t,...o},r)=>(0,R.jsxs)(p.Item,{className:f("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:r,...o,children:[(0,R.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,R.jsx)(p.ItemIndicator,{children:(0,R.jsx)(Ie.Check,{className:"h-4 w-4"})})}),(0,R.jsx)(p.ItemText,{children:e})]}));Q.displayName=p.Item.displayName;var Bt=A.forwardRef(({className:e,...t},o)=>(0,R.jsx)(p.Separator,{className:f("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));Bt.displayName=p.Separator.displayName;var Vt=({isOpen:e,onClose:t,onAddEpic:o})=>{let[r,a]=(0,qe.useState)({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),n=["bg-blue-500","bg-green-500","bg-purple-500","bg-orange-500","bg-red-500","bg-yellow-500","bg-pink-500","bg-indigo-500"],d=[{value:"low",label:"Low"},{value:"medium",label:"Medium"},{value:"high",label:"High"}],i=[{value:1,label:"Planning"},{value:2,label:"Development"},{value:3,label:"Testing"},{value:4,label:"Done"}],b=s=>{s.preventDefault(),r.name.trim()&&(o({name:r.name.trim(),description:r.description.trim(),color:r.color,confidence:r.confidence,phase:r.phase,startDate:r.startDate,endDate:r.endDate,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),a({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),t())},m=(s,S)=>{a(P=>({...P,[s]:S}))};return(0,R.jsx)(Me,{open:e,onOpenChange:t,children:(0,R.jsxs)(ie,{className:"sm:max-w-md",children:[(0,R.jsx)(se,{children:(0,R.jsx)(ce,{children:"Add New Epic"})}),(0,R.jsxs)("form",{onSubmit:b,className:"space-y-4",children:[(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(D,{htmlFor:"name",children:"Epic Name"}),(0,R.jsx)(W,{id:"name",value:r.name,onChange:s=>m("name",s.target.value),placeholder:"Enter epic name",required:!0})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(D,{htmlFor:"description",children:"Description"}),(0,R.jsx)(de,{id:"description",value:r.description,onChange:s=>m("description",s.target.value),placeholder:"Enter epic description (optional)",rows:3})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(D,{children:"Color"}),(0,R.jsx)("div",{className:"flex gap-2 flex-wrap",children:n.map(s=>(0,R.jsx)("button",{type:"button",onClick:()=>m("color",s),className:`w-8 h-8 rounded-full ${s} ${r.color===s?"ring-2 ring-gray-400":""}`},s))})]}),(0,R.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(D,{children:"Confidence"}),(0,R.jsxs)(me,{value:r.confidence,onValueChange:s=>m("confidence",s),children:[(0,R.jsx)(K,{children:(0,R.jsx)(ue,{})}),(0,R.jsx)(Z,{children:d.map(s=>(0,R.jsx)(Q,{value:s.value,children:s.label},s.value))})]})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(D,{children:"Phase"}),(0,R.jsxs)(me,{value:r.phase.toString(),onValueChange:s=>m("phase",parseInt(s)),children:[(0,R.jsx)(K,{children:(0,R.jsx)(ue,{})}),(0,R.jsx)(Z,{children:i.map(s=>(0,R.jsx)(Q,{value:s.value.toString(),children:s.label},s.value))})]})]})]}),(0,R.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(D,{children:"Start Date"}),(0,R.jsx)(W,{type:"date",value:r.startDate,onChange:s=>m("startDate",s.target.value)})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(D,{children:"End Date"}),(0,R.jsx)(W,{type:"date",value:r.endDate,onChange:s=>m("endDate",s.target.value)})]})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(D,{children:"Progress (%)"}),(0,R.jsx)(W,{type:"number",min:"0",max:"100",value:r.progress,onChange:s=>m("progress",parseInt(s.target.value)||0)})]}),(0,R.jsxs)(le,{children:[(0,R.jsx)(J,{type:"button",variant:"outline",onClick:t,children:"Cancel"}),(0,R.jsx)(J,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Epic"})]})]})]})})};0&&(module.exports={AddEpicModal});
|
|
4
|
+
"use strict";var Xe=Object.create;var X=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ke=Object.getOwnPropertyNames;var Ze=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Ye=(e,t)=>{for(var o in t)X(e,o,{get:t[o],enumerable:!0})},we=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ke(t))!Qe.call(e,i)&&i!==o&&X(e,i,{get:()=>t[i],enumerable:!(r=Je(t,i))||r.enumerable});return e};var T=(e,t,o)=>(o=e!=null?Xe(Ze(e)):{},we(t||!e||!e.__esModule?X(o,"default",{value:e,enumerable:!0}):o,e)),et=e=>we(X({},"__esModule",{value:!0}),e);var Wt={};Ye(Wt,{AddEpicModal:()=>Vt});module.exports=et(Wt);var qe=require("react");var j=T(require("react")),y=T(require("@radix-ui/react-dialog")),Ie=require("lucide-react");var ze=require("clsx");var ie="-",tt=e=>{let t=rt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:d=>{let a=d.split(ie);return a[0]===""&&a.length!==1&&a.shift(),Re(a,t)||ot(d)},getConflictingClassGroupIds:(d,a)=>{let b=o[d]||[];return a&&r[d]?[...b,...r[d]]:b}}},Re=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),i=r?Re(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let n=e.join(ie);return t.validators.find(({validator:d})=>d(n))?.classGroupId},Se=/^\[(.+)\]$/,ot=e=>{if(Se.test(e)){let t=Se.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},rt=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return it(Object.entries(e.classGroups),o).forEach(([n,d])=>{ne(d,r,n,t)}),r},ne=(e,t,o,r)=>{e.forEach(i=>{if(typeof i=="string"){let n=i===""?t:Pe(t,i);n.classGroupId=o;return}if(typeof i=="function"){if(nt(i)){ne(i(r),t,o,r);return}t.validators.push({validator:i,classGroupId:o});return}Object.entries(i).forEach(([n,d])=>{ne(d,Pe(t,n),o,r)})})},Pe=(e,t)=>{let o=e;return t.split(ie).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},nt=e=>e.isThemeGetter,it=(e,t)=>t?e.map(([o,r])=>{let i=r.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([d,a])=>[t+d,a])):n);return[o,i]}):e,at=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,i=(n,d)=>{o.set(n,d),t++,t>e&&(t=0,r=o,o=new Map)};return{get(n){let d=o.get(n);if(d!==void 0)return d;if((d=r.get(n))!==void 0)return i(n,d),d},set(n,d){o.has(n)?o.set(n,d):i(n,d)}}},Ce="!",st=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,i=t[0],n=t.length,d=a=>{let b=[],f=0,s=0,S;for(let h=0;h<a.length;h++){let w=a[h];if(f===0){if(w===i&&(r||a.slice(h,h+n)===t)){b.push(a.slice(s,h)),s=h+n;continue}if(w==="/"){S=h;continue}}w==="["?f++:w==="]"&&f--}let P=b.length===0?a:a.substring(s),D=P.startsWith(Ce),N=D?P.substring(1):P,x=S&&S>s?S-s:void 0;return{modifiers:b,hasImportantModifier:D,baseClassName:N,maybePostfixModifierPosition:x}};return o?a=>o({className:a,parseClassName:d}):d},lt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},ct=e=>({cache:at(e.cacheSize),parseClassName:st(e),...tt(e)}),dt=/\s+/,pt=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:i}=t,n=[],d=e.trim().split(dt),a="";for(let b=d.length-1;b>=0;b-=1){let f=d[b],{modifiers:s,hasImportantModifier:S,baseClassName:P,maybePostfixModifierPosition:D}=o(f),N=!!D,x=r(N?P.substring(0,D):P);if(!x){if(!N){a=f+(a.length>0?" "+a:a);continue}if(x=r(P),!x){a=f+(a.length>0?" "+a:a);continue}N=!1}let h=lt(s).join(":"),w=S?h+Ce:h,C=w+x;if(n.includes(C))continue;n.push(C);let W=i(x,N);for(let L=0;L<W.length;++L){let _=W[L];n.push(w+_)}a=f+(a.length>0?" "+a:a)}return a};function mt(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ne(t))&&(r&&(r+=" "),r+=o);return r}var Ne=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Ne(e[r]))&&(o&&(o+=" "),o+=t);return o};function ut(e,...t){let o,r,i,n=d;function d(b){let f=t.reduce((s,S)=>S(s),e());return o=ct(f),r=o.cache.get,i=o.cache.set,n=a,a(b)}function a(b){let f=r(b);if(f)return f;let s=pt(b,o);return i(b,s),s}return function(){return n(mt.apply(null,arguments))}}var m=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},De=/^\[(?:([a-z-]+):)?(.+)\]$/i,ft=/^\d+\/\d+$/,gt=new Set(["px","full","screen"]),bt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ht=/\d+(%|px|r?em|[sdl]?R([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>B(e)||gt.has(e)||ft.test(e),M=e=>V(e,"length",kt),B=e=>!!e&&!Number.isNaN(Number(e)),re=e=>V(e,"number",B),H=e=>!!e&&Number.isInteger(Number(e)),wt=e=>e.endsWith("%")&&B(e.slice(0,-1)),c=e=>De.test(e),E=e=>bt.test(e),St=new Set(["length","size","percentage"]),Pt=e=>V(e,St,ke),Rt=e=>V(e,"position",ke),Ct=new Set(["image","url"]),Nt=e=>V(e,Ct,zt),Dt=e=>V(e,"",Tt),F=()=>!0,V=(e,t,o)=>{let r=De.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},kt=e=>ht.test(e)&&!vt.test(e),ke=()=>!1,Tt=e=>yt.test(e),zt=e=>xt.test(e);var It=()=>{let e=m("colors"),t=m("spacing"),o=m("blur"),r=m("brightness"),i=m("borderColor"),n=m("borderRadius"),d=m("borderSpacing"),a=m("borderWidth"),b=m("contrast"),f=m("grayscale"),s=m("hueRotate"),S=m("invert"),P=m("gap"),D=m("gradientColorStops"),N=m("gradientColorStopPositions"),x=m("inset"),h=m("margin"),w=m("opacity"),C=m("padding"),W=m("saturate"),L=m("scale"),_=m("sepia"),fe=m("skew"),ge=m("space"),be=m("translate"),Y=()=>["auto","contain","none"],ee=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto",c,t],g=()=>[c,t],he=()=>["",z,M],$=()=>["auto",B,c],ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",c],xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[B,c];return{cacheSize:500,separator:":",theme:{colors:[F],spacing:[z,M],blur:["none","",E,c],brightness:k(),borderColor:[e],borderRadius:["none","","full",E,c],borderSpacing:g(),borderWidth:he(),contrast:k(),grayscale:O(),hueRotate:k(),invert:O(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[wt,M],inset:te(),margin:te(),opacity:k(),padding:g(),saturate:k(),scale:k(),sepia:O(),skew:k(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":xe()}],"break-before":[{"break-before":xe()}],"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:[...ve(),c]}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H,c]}],basis:[{basis:te()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",H,c]}],"grid-cols":[{"grid-cols":[F]}],"col-start-end":[{col:["auto",{span:["full",H,c]},c]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[F]}],"row-start-end":[{row:["auto",{span:[H,c]},c]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[P]}],"gap-x":[{"gap-x":[P]}],"gap-y":[{"gap-y":[P]}],"justify-content":[{justify:["normal",...oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",re]}],"font-family":[{font:[F]}],"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",c]}],"line-clamp":[{"line-clamp":["none",B,re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,M]}],"underline-offset":[{"underline-offset":["auto",z,c]}],"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:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ve(),Rt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Pt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","R","tl"]},Nt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[D]}],"gradient-via":[{via:[D]}],"gradient-to":[{to:[D]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-R":[{"rounded-R":[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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-R":[{"border-R":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:q()}],"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-b":[{"border-b":[i]}],"border-color-R":[{"border-R":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[z,c]}],"outline-w":[{outline:[z,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[z,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Dt]}],"shadow-color":[{shadow:[F]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ye(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",E,c]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[s]}],invert:[{invert:[S]}],saturate:[{saturate:[W]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[s]}],"backdrop-invert":[{"backdrop-invert":[S]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[H,c]}],"translate-x":[{"translate-x":[be]}],"translate-y":[{"translate-y":[be]}],"skew-x":[{"skew-x":[fe]}],"skew-y":[{"skew-y":[fe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,M,re]}],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-b","rounded-R","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-R":["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-b","border-w-R"],"border-w-x":["border-w-r","border-w-R"],"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-R"],"border-color-x":["border-color-r","border-color-R"],"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-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Te=ut(It);function u(...e){return Te((0,ze.clsx)(e))}var R=require("react/jsx-runtime"),Me=y.Root;var Mt=y.Portal;var Ee=j.forwardRef(({className:e,...t},o)=>(0,R.jsx)(y.Overlay,{ref:o,className:u("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ee.displayName=y.Overlay.displayName;var ae=j.forwardRef(({className:e,children:t,...o},r)=>(0,R.jsxs)(Mt,{children:[(0,R.jsx)(Ee,{}),(0,R.jsxs)(y.Content,{ref:r,className:u("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...o,children:[t,(0,R.jsxs)(y.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,R.jsx)(Ie.X,{className:"h-4 w-4"}),(0,R.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));ae.displayName=y.Content.displayName;var se=({className:e,...t})=>(0,R.jsx)("div",{className:u("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});se.displayName="DialogHeader";var le=({className:e,...t})=>(0,R.jsx)("div",{className:u("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});le.displayName="DialogFooter";var ce=j.forwardRef(({className:e,...t},o)=>(0,R.jsx)(y.Title,{ref:o,className:u("text-lg font-semibold leading-none tracking-tight",e),...t}));ce.displayName=y.Title.displayName;var Et=j.forwardRef(({className:e,...t},o)=>(0,R.jsx)(y.Description,{ref:o,className:u("text-sm text-muted-foreground",e),...t}));Et.displayName=y.Description.displayName;var Ae=require("@radix-ui/react-slot"),Le=require("class-variance-authority"),Ge=T(require("react")),At=(0,Le.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"}}}),J=Ge.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...i},n)=>(0,R.jsx)(e?Ae.Slot:"button",{className:u(At({className:t,size:o,variant:r})),ref:n,...i}));J.displayName="Button";var Ve=T(require("react"));var U=Ve.forwardRef(({className:e,type:t,...o},r)=>(0,R.jsx)("input",{type:t,className:u("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:r,...o}));U.displayName="Input";var Oe=T(require("react")),de=Oe.forwardRef(({className:e,...t},o)=>(0,R.jsx)("textarea",{className:u("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));de.displayName="Textarea";var Fe=T(require("react")),pe=T(require("@radix-ui/react-label"));var Lt=(0,Le.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),I=Fe.forwardRef(({className:e,...t},o)=>(0,R.jsx)(pe.Root,{ref:o,className:u(Lt(),e),...t}));I.displayName=pe.Root.displayName;var p=T(require("@radix-ui/react-select")),A=T(require("react")),me=p.Root;var ue=p.Value,K=A.forwardRef(({children:e,className:t,...o},r)=>(0,R.jsxs)(p.Trigger,{className:u("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:r,...o,children:[e,(0,R.jsx)(p.Icon,{asChild:!0,children:(0,R.jsx)(Ie.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));K.displayName=p.Trigger.displayName;var _e=A.forwardRef(({className:e,...t},o)=>(0,R.jsx)(p.ScrollUpButton,{className:u("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,R.jsx)(Ie.ChevronUp,{className:"h-4 w-4"})}));_e.displayName=p.ScrollUpButton.displayName;var $e=A.forwardRef(({className:e,...t},o)=>(0,R.jsx)(p.ScrollDownButton,{className:u("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,R.jsx)(Ie.ChevronDown,{className:"h-4 w-4"})}));$e.displayName=p.ScrollDownButton.displayName;var Z=A.forwardRef(({children:e,className:t,position:o="popper",...r},i)=>(0,R.jsx)(p.Portal,{children:(0,R.jsxs)(p.Content,{className:u("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",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,ref:i,...r,children:[(0,R.jsx)(_e,{}),(0,R.jsx)(p.Viewport,{className:u("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,R.jsx)($e,{})]})}));Z.displayName=p.Content.displayName;var Gt=A.forwardRef(({className:e,...t},o)=>(0,R.jsx)(p.Label,{className:u("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));Gt.displayName=p.Label.displayName;var Q=A.forwardRef(({children:e,className:t,...o},r)=>(0,R.jsxs)(p.Item,{className:u("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:r,...o,children:[(0,R.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,R.jsx)(p.ItemIndicator,{children:(0,R.jsx)(Ie.Check,{className:"h-4 w-4"})})}),(0,R.jsx)(p.ItemText,{children:e})]}));Q.displayName=p.Item.displayName;var Bt=A.forwardRef(({className:e,...t},o)=>(0,R.jsx)(p.Separator,{className:u("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));Bt.displayName=p.Separator.displayName;var Vt=({isOpen:e,onClose:t,onAddEpic:o})=>{let[r,i]=(0,qe.useState)({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),n=["bg-blue-500","bg-green-500","bg-purple-500","bg-orange-500","bg-red-500","bg-yellow-500","bg-pink-500","bg-indigo-500"],d=[{value:"low",label:"Low"},{value:"medium",label:"Medium"},{value:"high",label:"High"}],a=[{value:1,label:"Planning"},{value:2,label:"Development"},{value:3,label:"Testing"},{value:4,label:"Done"}],b=s=>{s.preventDefault(),r.name.trim()&&(o({name:r.name.trim(),description:r.description.trim(),color:r.color,confidence:r.confidence,phase:r.phase,startDate:r.startDate,endDate:r.endDate,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),i({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString(),endDate:new Date().toISOString(),progress:0}),t())},f=(s,S)=>{i(P=>({...P,[s]:S}))};return(0,R.jsx)(Me,{open:e,onOpenChange:t,children:(0,R.jsxs)(ae,{className:"sm:max-w-md",children:[(0,R.jsx)(se,{children:(0,R.jsx)(ce,{children:"Add New Epic"})}),(0,R.jsxs)("form",{onSubmit:b,className:"space-y-4",children:[(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(I,{htmlFor:"name",children:"Epic Name"}),(0,R.jsx)(U,{id:"name",value:r.name,onChange:s=>f("name",s.target.value),placeholder:"Enter epic name",required:!0})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(I,{htmlFor:"description",children:"Description"}),(0,R.jsx)(de,{id:"description",value:r.description,onChange:s=>f("description",s.target.value),placeholder:"Enter epic description (optional)",rows:3})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(I,{children:"Color"}),(0,R.jsx)("div",{className:"flex gap-2 flex-wrap",children:n.map(s=>(0,R.jsx)("button",{type:"button",onClick:()=>f("color",s),className:`w-8 h-8 rounded-full ${s} ${r.color===s?"ring-2 ring-gray-400":""}`},s))})]}),(0,R.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(I,{children:"Confidence"}),(0,R.jsxs)(me,{value:r.confidence,onValueChange:s=>f("confidence",s),children:[(0,R.jsx)(K,{children:(0,R.jsx)(ue,{})}),(0,R.jsx)(Z,{children:d.map(s=>(0,R.jsx)(Q,{value:s.value,children:s.label},s.value))})]})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(I,{children:"Phase"}),(0,R.jsxs)(me,{value:r.phase.toString(),onValueChange:s=>f("phase",parseInt(s)),children:[(0,R.jsx)(K,{children:(0,R.jsx)(ue,{})}),(0,R.jsx)(Z,{children:a.map(s=>(0,R.jsx)(Q,{value:s.value.toString(),children:s.label},s.value))})]})]})]}),(0,R.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(I,{children:"Start Date"}),(0,R.jsx)(U,{type:"date",value:r.startDate,onChange:s=>f("startDate",s.target.value)})]}),(0,R.jsxs)("div",{className:"space-y-2",children:[(0,R.jsx)(I,{children:"End Date"}),(0,R.jsx)(U,{type:"date",value:r.endDate,onChange:s=>f("endDate",s.target.value)})]})]}),(0,R.jsxs)(le,{children:[(0,R.jsx)(J,{type:"button",variant:"outline",onClick:t,children:"Cancel"}),(0,R.jsx)(J,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Epic"})]})]})]})})};0&&(module.exports={AddEpicModal});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-6R36YTGY.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-L5JPAKPM.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 AddEpicModal};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var nt=Object.create;var ee=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var lt=Object.getOwnPropertyNames;var ct=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty;var pt=(e,t)=>{for(var o in t)ee(e,o,{get:t[o],enumerable:!0})},ze=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of lt(t))!dt.call(e,s)&&s!==o&&ee(e,s,{get:()=>t[s],enumerable:!(r=st(t,s))||r.enumerable});return e};var S=(e,t,o)=>(o=e!=null?nt(ct(e)):{},ze(t||!e||!e.__esModule?ee(o,"default",{value:e,enumerable:!0}):o,e)),mt=e=>ze(ee({},"__esModule",{value:!0}),e);var eo={};pt(eo,{AddTaskModal:()=>Yt});module.exports=mt(eo);var J=require("react");var q=S(require("react")),h=S(require("@radix-ui/react-dialog")),He=require("lucide-react");var We=require("clsx");var ge="-",ut=e=>{let t=ft(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:c=>{let i=c.split(ge);return i[0]===""&&i.length!==1&&i.shift(),Ge(i,t)||gt(c)},getConflictingClassGroupIds:(c,i)=>{let u=o[c]||[];return i&&r[c]?[...u,...r[c]]:u}}},Ge=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),s=r?Ge(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(ge);return t.validators.find(({validator:c})=>c(a))?.classGroupId},De=/^\[(.+)\]$/,gt=e=>{if(De.test(e)){let t=De.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},ft=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return vt(Object.entries(e.classGroups),o).forEach(([a,c])=>{ue(c,r,a,t)}),r},ue=(e,t,o,r)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:Ae(t,s);a.classGroupId=o;return}if(typeof s=="function"){if(bt(s)){ue(s(r),t,o,r);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([a,c])=>{ue(c,Ae(t,a),o,r)})})},Ae=(e,t)=>{let o=e;return t.split(ge).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},bt=e=>e.isThemeGetter,vt=(e,t)=>t?e.map(([o,r])=>{let s=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([c,i])=>[t+c,i])):a);return[o,s]}):e,yt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,s=(a,c)=>{o.set(a,c),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let c=o.get(a);if(c!==void 0)return c;if((c=r.get(a))!==void 0)return s(a,c),c},set(a,c){o.has(a)?o.set(a,c):s(a,c)}}},Me="!",ht=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,s=t[0],a=t.length,c=i=>{let u=[],x=0,f=0,n;for(let v=0;v<i.length;v++){let P=i[v];if(x===0){if(P===s&&(r||i.slice(v,v+a)===t)){u.push(i.slice(f,v)),f=v+a;continue}if(P==="/"){n=v;continue}}P==="["?x++:P==="]"&&x--}let R=u.length===0?i:i.substring(f),N=R.startsWith(Me),k=N?R.substring(1):R,w=n&&n>f?n-f:void 0;return{modifiers:u,hasImportantModifier:N,baseClassName:k,maybePostfixModifierPosition:w}};return o?i=>o({className:i,parseClassName:c}):c},xt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},wt=e=>({cache:yt(e.cacheSize),parseClassName:ht(e),...ut(e)}),Pt=/\s+/,Rt=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:s}=t,a=[],c=e.trim().split(Pt),i="";for(let u=c.length-1;u>=0;u-=1){let x=c[u],{modifiers:f,hasImportantModifier:n,baseClassName:R,maybePostfixModifierPosition:N}=o(x),k=!!N,w=r(k?R.substring(0,N):R);if(!w){if(!k){i=x+(i.length>0?" "+i:i);continue}if(w=r(R),!w){i=x+(i.length>0?" "+i:i);continue}k=!1}let v=xt(f).join(":"),P=n?v+Me:v,T=P+w;if(a.includes(T))continue;a.push(T);let _=s(w,k);for(let V=0;V<_.length;++V){let K=_[V];a.push(P+K)}i=x+(i.length>0?" "+i:i)}return i};function St(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Le(t))&&(r&&(r+=" "),r+=o);return r}var Le=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Le(e[r]))&&(o&&(o+=" "),o+=t);return o};function Ct(e,...t){let o,r,s,a=c;function c(u){let x=t.reduce((f,n)=>n(f),e());return o=wt(x),r=o.cache.get,s=o.cache.set,a=i,i(u)}function i(u){let x=r(u);if(x)return x;let f=Rt(u,o);return s(u,f),f}return function(){return a(St.apply(null,arguments))}}var g=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,Tt=/^\d+\/\d+$/,Nt=new Set(["px","full","screen"]),kt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Dt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,At=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=e=>H(e)||Nt.has(e)||Tt.test(e),A=e=>F(e,"length",Ht),H=e=>!!e&&!Number.isNaN(Number(e)),me=e=>F(e,"number",H),O=e=>!!e&&Number.isInteger(Number(e)),Gt=e=>e.endsWith("%")&&H(e.slice(0,-1)),d=e=>Ve.test(e),G=e=>kt.test(e),Mt=new Set(["length","size","percentage"]),Lt=e=>F(e,Mt,Ee),Vt=e=>F(e,"position",Ee),Et=new Set(["image","url"]),Bt=e=>F(e,Et,Ut),Wt=e=>F(e,"",Ft),$=()=>!0,F=(e,t,o)=>{let r=Ve.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Ht=e=>It.test(e)&&!zt.test(e),Ee=()=>!1,Ft=e=>Dt.test(e),Ut=e=>At.test(e);var _t=()=>{let e=g("colors"),t=g("spacing"),o=g("blur"),r=g("brightness"),s=g("borderColor"),a=g("borderRadius"),c=g("borderSpacing"),i=g("borderWidth"),u=g("contrast"),x=g("grayscale"),f=g("hueRotate"),n=g("invert"),R=g("gap"),N=g("gradientColorStops"),k=g("gradientColorStopPositions"),w=g("inset"),v=g("margin"),P=g("opacity"),T=g("padding"),_=g("saturate"),V=g("scale"),K=g("sepia"),Re=g("skew"),Se=g("space"),Ce=g("translate"),le=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",d,t],b=()=>[d,t],Te=()=>["",D,A],Q=()=>["auto",H,d],Ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",d],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[H,d];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[D,A],blur:["none","",G,d],brightness:z(),borderColor:[e],borderRadius:["none","","full",G,d],borderSpacing:b(),borderWidth:Te(),contrast:z(),grayscale:j(),hueRotate:z(),invert:j(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Gt,A],inset:de(),margin:de(),opacity:z(),padding:b(),saturate:z(),scale:z(),sepia:j(),skew:z(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Ie()}],"break-before":[{"break-before":Ie()}],"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:[...Ne(),d]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-C":[{"overflow-C":ce()}],overscroll:[{overscroll:le()}],"overscroll-x":[{"overscroll-x":le()}],"overscroll-C":[{"overscroll-C":le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-C":[{"inset-C":[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",O,d]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",O,d]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",O,d]},d]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[O,d]},d]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-C":[{"gap-C":[R]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Se]}],"space-x-reverse":["space-x-reverse"],"space-C":[{"space-C":[Se]}],"space-C-reverse":["space-C-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",me]}],"font-family":[{font:[$]}],"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",d]}],"line-clamp":[{"line-clamp":["none",H,me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,A]}],"underline-offset":[{"underline-offset":["auto",D,d]}],"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:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ne(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","C","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","C","tl"]},Bt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],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-C":[{"rounded-C":[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:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-C":[{"border-C":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-C":[{"border-C":[i]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-C":[{"divide-C":[i]}],"divide-C-reverse":["divide-C-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:Y()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-C":[{"border-C":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-C":[{"border-C":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[D,d]}],"outline-w":[{outline:[D,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[D,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,Wt]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ke()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",G,d]}],grayscale:[{grayscale:[x]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[n]}],saturate:[{saturate:[_]}],sepia:[{sepia:[K]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[x]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[n]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-C":[{"border-spacing-C":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[V]}],"scale-x":[{"scale-x":[V]}],"scale-C":[{"scale-C":[V]}],rotate:[{rotate:[O,d]}],"translate-x":[{"translate-x":[Ce]}],"translate-C":[{"translate-C":[Ce]}],"skew-x":[{"skew-x":[Re]}],"skew-C":[{"skew-C":[Re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","C","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","C","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-C":[{"touch-pan":["C","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[D,A,me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-C"],overscroll:["overscroll-x","overscroll-C"],inset:["inset-x","inset-C","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-C":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-C"],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-C","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-C":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-C"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-C"],"border-w-x":["border-w-r","border-w-C"],"border-w-C":["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-C"],"border-color-x":["border-color-r","border-color-C"],"border-color-C":["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-C","touch-pz"],"touch-x":["touch"],"touch-C":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Be=Ct(_t);function m(...e){return Be((0,We.clsx)(e))}var C=require("react/jsx-runtime"),Fe=h.Root;var jt=h.Portal;var Ue=q.forwardRef(({className:e,...t},o)=>(0,C.jsx)(h.Overlay,{ref:o,className:m("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ue.displayName=h.Overlay.displayName;var fe=q.forwardRef(({className:e,children:t,...o},r)=>(0,C.jsxs)(jt,{children:[(0,C.jsx)(Ue,{}),(0,C.jsxs)(h.Content,{ref:r,className:m("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-C-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...o,children:[t,(0,C.jsxs)(h.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,C.jsx)(He.X,{className:"h-4 w-4"}),(0,C.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));fe.displayName=h.Content.displayName;var be=({className:e,...t})=>(0,C.jsx)("div",{className:m("flex flex-col space-C-1.5 text-center sm:text-left",e),...t});be.displayName="DialogHeader";var ve=({className:e,...t})=>(0,C.jsx)("div",{className:m("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ve.displayName="DialogFooter";var ye=q.forwardRef(({className:e,...t},o)=>(0,C.jsx)(h.Title,{ref:o,className:m("text-lg font-semibold leading-none tracking-tight",e),...t}));ye.displayName=h.Title.displayName;var Ot=q.forwardRef(({className:e,...t},o)=>(0,C.jsx)(h.Description,{ref:o,className:m("text-sm text-muted-foreground",e),...t}));Ot.displayName=h.Description.displayName;var _e=require("@radix-ui/react-slot"),je=require("class-variance-authority"),Oe=S(require("react")),$t=(0,je.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"}}}),te=Oe.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...s},a)=>(0,$e.jsx)(e?_e.Slot:"button",{className:m($t({className:t,size:o,variant:r})),ref:a,...s}));te.displayName="Button";var qe=S(require("react"));var oe=qe.forwardRef(({className:e,type:t,...o},r)=>(0,C.jsx)("input",{type:t,className:m("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:r,...o}));oe.displayName="Input";var Ze=S(require("react")),he=Ze.forwardRef(({className:e,...t},o)=>(0,C.jsx)("textarea",{className:m("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));he.displayName="Textarea";var p=S(require("@radix-ui/react-select")),M=S(require("react")),re=p.Root;var ie=p.Value,X=M.forwardRef(({children:e,className:t,...o},r)=>(0,C.jsxs)(p.Trigger,{className:m("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:r,...o,children:[e,(0,C.jsx)(p.Icon,{asChild:!0,children:(0,C.jsx)(He.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));X.displayName=p.Trigger.displayName;var Ke=M.forwardRef(({className:e,...t},o)=>(0,C.jsx)(p.ScrollUpButton,{className:m("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,C.jsx)(He.ChevronUp,{className:"h-4 w-4"})}));Ke.displayName=p.ScrollUpButton.displayName;var Qe=M.forwardRef(({className:e,...t},o)=>(0,C.jsx)(p.ScrollDownButton,{className:m("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,C.jsx)(He.ChevronDown,{className:"h-4 w-4"})}));Qe.displayName=p.ScrollDownButton.displayName;var Z=M.forwardRef(({children:e,className:t,position:o="popper",...r},s)=>(0,C.jsx)(p.Portal,{children:(0,C.jsxs)(p.Content,{className:m("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",o==="popper"&&"data-[side=bottom]:translate-C-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-C-1",t),position:o,ref:s,...r,children:[(0,C.jsx)(Ke,{}),(0,C.jsx)(p.Viewport,{className:m("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,C.jsx)(Qe,{})]})}));Z.displayName=p.Content.displayName;var qt=M.forwardRef(({className:e,...t},o)=>(0,C.jsx)(p.Label,{className:m("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));qt.displayName=p.Label.displayName;var B=M.forwardRef(({children:e,className:t,...o},r)=>(0,C.jsxs)(p.Item,{className:m("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:r,...o,children:[(0,C.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,C.jsx)(p.ItemIndicator,{children:(0,C.jsx)(He.Check,{className:"h-4 w-4"})})}),(0,C.jsx)(p.ItemText,{children:e})]}));B.displayName=p.Item.displayName;var Xt=M.forwardRef(({className:e,...t},o)=>(0,C.jsx)(p.Separator,{className:m("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));Xt.displayName=p.Separator.displayName;var Ye=S(require("react")),xe=S(require("@radix-ui/react-label"));var Zt=(0,je.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),I=Ye.forwardRef(({className:e,...t},o)=>(0,C.jsx)(xe.Root,{ref:o,className:m(Zt(),e),...t}));I.displayName=xe.Root.displayName;var W=S(require("react")),U=S(require("@radix-ui/react-toggle-group"));var ot=S(require("react")),we=S(require("@radix-ui/react-toggle"));var Pe=(0,je.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"}}),Jt=ot.forwardRef(({className:e,variant:t,size:o,...r},s)=>(0,C.jsx)(we.Root,{ref:s,className:m(Pe({variant:t,size:o,className:e})),...r}));Jt.displayName=we.Root.displayName;var at=W.createContext({size:"default",variant:"default"}),ne=W.forwardRef(({className:e,variant:t,size:o,children:r,...s},a)=>(0,C.jsx)(U.Root,{ref:a,className:m("flex items-center justify-center gap-1",e),...s,children:(0,C.jsx)(at.Provider,{value:{variant:t,size:o},children:r})}));ne.displayName=U.Root.displayName;var se=W.forwardRef(({className:e,children:t,variant:o,size:r,...s},a)=>{let c=W.useContext(at);return(0,C.jsx)(U.Item,{ref:a,className:m(Pe({variant:c.variant||o,size:c.size||r}),e),...s,children:t})});se.displayName=U.Item.displayName;var Kt=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:He.BookOpen},{value:"task",label:"Task",color:"bg-secondary/20 text-secondary-foreground",icon:He.AlertCircle},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:He.Bug},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:He.Zap}],Qt=[{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"}],Yt=({isOpen:e,onClose:t,onAddTask:o,epics:r,sprints:s,assignees:a,defaultEpicId:c})=>{let[i,u]=(0,J.useState)({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epicId:"",sprintId:"none",assignee:""});(0,J.useEffect)(()=>{e&&c&&u(n=>({...n,epicId:c}))},[e,c]),(0,J.useEffect)(()=>{e&&u({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epicId:c||"",sprintId:"none",assignee:""})},[e]);let x=n=>{n.preventDefault(),i.name.trim()&&(o({name:i.name.trim(),description:i.description.trim(),status:"todo",priority:i.priority,type:i.type,storyPoints:i.storyPoints,epic:Number(i.epicId),sprint:Number(i.sprintId),assignee:i.assignee.trim()?{relationTo:"digital-colleagues",value:Number(i.assignee)}:null,dateLogged:new Date().toISOString(),index:0}),u({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epicId:c||"",sprintId:"none",assignee:""}),t())},f=(n,R)=>{u(N=>({...N,[n]:R}))};return(0,C.jsx)(Fe,{open:e,onOpenChange:t,children:(0,C.jsxs)(fe,{className:"sm:max-w-md",children:[(0,C.jsx)(be,{children:(0,C.jsx)(ye,{children:"Add New Task"})}),(0,C.jsxs)("form",{onSubmit:x,className:"space-C-4",children:[(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(I,{htmlFor:"name",children:"Task Title"}),(0,C.jsx)(oe,{id:"name",value:i.name,onChange:n=>f("name",n.target.value),placeholder:"Enter task title",required:!0})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(I,{htmlFor:"description",children:"Description"}),(0,C.jsx)(he,{id:"description",value:i.description,onChange:n=>f("description",n.target.value),placeholder:"Enter task description",rows:3})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(I,{children:"Type"}),(0,C.jsx)(ne,{type:"single",value:i.type||"",onValueChange:n=>n&&f("type",n),children:Kt.map(n=>{let R=n.icon;return(0,C.jsxs)(se,{value:n.value,className:"flex items-center gap-2 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:[(0,C.jsx)(R,{className:"h-4 w-4"}),n.label]},n.value)})})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(I,{children:"Priority"}),(0,C.jsx)(ne,{type:"single",value:i.priority||"",onValueChange:n=>n&&f("priority",n),children:Qt.map(n=>(0,C.jsx)(se,{value:n.value,className:"data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:n.label},n.value))})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(I,{htmlFor:"points",children:"Story Points"}),(0,C.jsx)(oe,{id:"points",type:"number",min:"1",max:"100",value:i.storyPoints,onChange:n=>f("storyPoints",parseInt(n.target.value)||1),placeholder:"Enter story points",required:!0})]}),!c&&(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(I,{htmlFor:"epic",children:"Epic"}),(0,C.jsxs)(re,{value:i.epicId,onValueChange:n=>f("epicId",n),children:[(0,C.jsx)(X,{children:(0,C.jsx)(ie,{placeholder:"Select an epic"})}),(0,C.jsx)(Z,{children:r.map(n=>(0,C.jsx)(B,{value:n.id.toString(),children:(0,C.jsxs)("div",{className:"flex items-center gap-2",children:[(0,C.jsx)("div",{className:`w-3 h-3 rounded-full ${n.color}`}),n.name]})},n.id))})]})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(I,{htmlFor:"sprint",children:"Sprint (Optional)"}),(0,C.jsxs)(re,{value:i.sprintId,onValueChange:n=>f("sprintId",n),children:[(0,C.jsx)(X,{children:(0,C.jsx)(ie,{placeholder:"Select a sprint"})}),(0,C.jsxs)(Z,{children:[(0,C.jsx)(B,{value:"none",children:"No Sprint"}),s.map(n=>(0,C.jsx)(B,{value:n.id.toString(),children:(0,C.jsx)("div",{className:"flex items-center gap-2",children:n.name})},n.id))]})]})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(I,{htmlFor:"sprint",children:"Assignee"}),(0,C.jsxs)(re,{value:i.assignee,onValueChange:n=>f("assignee",n),children:[(0,C.jsx)(X,{children:(0,C.jsx)(ie,{placeholder:"Select an Assignee"})}),(0,C.jsxs)(Z,{children:[(0,C.jsx)(B,{value:"none",children:"No Assignee"}),a.map(n=>(0,C.jsx)(B,{value:n.id.toString(),children:(0,C.jsx)("div",{className:"flex items-center gap-2",children:n.name})},n.id))]})]})]}),(0,C.jsxs)(ve,{children:[(0,C.jsx)(te,{type:"button",variant:"outline",onClick:t,children:"Cancel"}),(0,C.jsx)(te,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Task"})]})]})]})})};0&&(module.exports={AddTaskModal});
|
|
4
|
+
"use strict";var nt=Object.create;var ee=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var lt=Object.getOwnPropertyNames;var ct=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty;var pt=(e,t)=>{for(var o in t)ee(e,o,{get:t[o],enumerable:!0})},De=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of lt(t))!dt.call(e,s)&&s!==o&&ee(e,s,{get:()=>t[s],enumerable:!(r=st(t,s))||r.enumerable});return e};var S=(e,t,o)=>(o=e!=null?nt(ct(e)):{},De(t||!e||!e.__esModule?ee(o,"default",{value:e,enumerable:!0}):o,e)),mt=e=>De(ee({},"__esModule",{value:!0}),e);var eo={};pt(eo,{AddTaskModal:()=>Yt});module.exports=mt(eo);var J=require("react");var q=S(require("react")),h=S(require("@radix-ui/react-dialog")),He=require("lucide-react");var We=require("clsx");var ge="-",ut=e=>{let t=ft(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:c=>{let i=c.split(ge);return i[0]===""&&i.length!==1&&i.shift(),Ge(i,t)||gt(c)},getConflictingClassGroupIds:(c,i)=>{let u=o[c]||[];return i&&r[c]?[...u,...r[c]]:u}}},Ge=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),s=r?Ge(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(ge);return t.validators.find(({validator:c})=>c(a))?.classGroupId},Ie=/^\[(.+)\]$/,gt=e=>{if(Ie.test(e)){let t=Ie.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},ft=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return vt(Object.entries(e.classGroups),o).forEach(([a,c])=>{ue(c,r,a,t)}),r},ue=(e,t,o,r)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:Ae(t,s);a.classGroupId=o;return}if(typeof s=="function"){if(bt(s)){ue(s(r),t,o,r);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([a,c])=>{ue(c,Ae(t,a),o,r)})})},Ae=(e,t)=>{let o=e;return t.split(ge).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},bt=e=>e.isThemeGetter,vt=(e,t)=>t?e.map(([o,r])=>{let s=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([c,i])=>[t+c,i])):a);return[o,s]}):e,yt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,s=(a,c)=>{o.set(a,c),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let c=o.get(a);if(c!==void 0)return c;if((c=r.get(a))!==void 0)return s(a,c),c},set(a,c){o.has(a)?o.set(a,c):s(a,c)}}},Me="!",ht=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,s=t[0],a=t.length,c=i=>{let u=[],x=0,f=0,n;for(let v=0;v<i.length;v++){let P=i[v];if(x===0){if(P===s&&(r||i.slice(v,v+a)===t)){u.push(i.slice(f,v)),f=v+a;continue}if(P==="/"){n=v;continue}}P==="["?x++:P==="]"&&x--}let R=u.length===0?i:i.substring(f),N=R.startsWith(Me),k=N?R.substring(1):R,w=n&&n>f?n-f:void 0;return{modifiers:u,hasImportantModifier:N,baseClassName:k,maybePostfixModifierPosition:w}};return o?i=>o({className:i,parseClassName:c}):c},xt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},wt=e=>({cache:yt(e.cacheSize),parseClassName:ht(e),...ut(e)}),Pt=/\s+/,Rt=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:s}=t,a=[],c=e.trim().split(Pt),i="";for(let u=c.length-1;u>=0;u-=1){let x=c[u],{modifiers:f,hasImportantModifier:n,baseClassName:R,maybePostfixModifierPosition:N}=o(x),k=!!N,w=r(k?R.substring(0,N):R);if(!w){if(!k){i=x+(i.length>0?" "+i:i);continue}if(w=r(R),!w){i=x+(i.length>0?" "+i:i);continue}k=!1}let v=xt(f).join(":"),P=n?v+Me:v,T=P+w;if(a.includes(T))continue;a.push(T);let _=s(w,k);for(let V=0;V<_.length;++V){let K=_[V];a.push(P+K)}i=x+(i.length>0?" "+i:i)}return i};function St(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Le(t))&&(r&&(r+=" "),r+=o);return r}var Le=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Le(e[r]))&&(o&&(o+=" "),o+=t);return o};function Ct(e,...t){let o,r,s,a=c;function c(u){let x=t.reduce((f,n)=>n(f),e());return o=wt(x),r=o.cache.get,s=o.cache.set,a=i,i(u)}function i(u){let x=r(u);if(x)return x;let f=Rt(u,o);return s(u,f),f}return function(){return a(St.apply(null,arguments))}}var g=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,Tt=/^\d+\/\d+$/,Nt=new Set(["px","full","screen"]),kt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Dt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,It=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,At=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>H(e)||Nt.has(e)||Tt.test(e),A=e=>F(e,"length",Ht),H=e=>!!e&&!Number.isNaN(Number(e)),me=e=>F(e,"number",H),O=e=>!!e&&Number.isInteger(Number(e)),Gt=e=>e.endsWith("%")&&H(e.slice(0,-1)),d=e=>Ve.test(e),G=e=>kt.test(e),Mt=new Set(["length","size","percentage"]),Lt=e=>F(e,Mt,Ee),Vt=e=>F(e,"position",Ee),Et=new Set(["image","url"]),Bt=e=>F(e,Et,Ut),Wt=e=>F(e,"",Ft),$=()=>!0,F=(e,t,o)=>{let r=Ve.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Ht=e=>zt.test(e)&&!Dt.test(e),Ee=()=>!1,Ft=e=>It.test(e),Ut=e=>At.test(e);var _t=()=>{let e=g("colors"),t=g("spacing"),o=g("blur"),r=g("brightness"),s=g("borderColor"),a=g("borderRadius"),c=g("borderSpacing"),i=g("borderWidth"),u=g("contrast"),x=g("grayscale"),f=g("hueRotate"),n=g("invert"),R=g("gap"),N=g("gradientColorStops"),k=g("gradientColorStopPositions"),w=g("inset"),v=g("margin"),P=g("opacity"),T=g("padding"),_=g("saturate"),V=g("scale"),K=g("sepia"),Re=g("skew"),Se=g("space"),Ce=g("translate"),le=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",d,t],b=()=>[d,t],Te=()=>["",I,A],Q=()=>["auto",H,d],Ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",d],ze=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[H,d];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[I,A],blur:["none","",G,d],brightness:D(),borderColor:[e],borderRadius:["none","","full",G,d],borderSpacing:b(),borderWidth:Te(),contrast:D(),grayscale:j(),hueRotate:D(),invert:j(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Gt,A],inset:de(),margin:de(),opacity:D(),padding:b(),saturate:D(),scale:D(),sepia:j(),skew:D(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":ze()}],"break-before":[{"break-before":ze()}],"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:[...Ne(),d]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-C":[{"overflow-C":ce()}],overscroll:[{overscroll:le()}],"overscroll-x":[{"overscroll-x":le()}],"overscroll-C":[{"overscroll-C":le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-C":[{"inset-C":[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",O,d]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",O,d]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",O,d]},d]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[O,d]},d]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-C":[{"gap-C":[R]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Se]}],"space-x-reverse":["space-x-reverse"],"space-C":[{"space-C":[Se]}],"space-C-reverse":["space-C-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",me]}],"font-family":[{font:[$]}],"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",d]}],"line-clamp":[{"line-clamp":["none",H,me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,A]}],"underline-offset":[{"underline-offset":["auto",I,d]}],"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:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ne(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","C","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","C","tl"]},Bt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],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-C":[{"rounded-C":[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:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-C":[{"border-C":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-C":[{"border-C":[i]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-C":[{"divide-C":[i]}],"divide-C-reverse":["divide-C-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:Y()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-C":[{"border-C":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-C":[{"border-C":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[I,d]}],"outline-w":[{outline:[I,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[I,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,Wt]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ke()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",G,d]}],grayscale:[{grayscale:[x]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[n]}],saturate:[{saturate:[_]}],sepia:[{sepia:[K]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[x]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[n]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-C":[{"border-spacing-C":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[V]}],"scale-x":[{"scale-x":[V]}],"scale-C":[{"scale-C":[V]}],rotate:[{rotate:[O,d]}],"translate-x":[{"translate-x":[Ce]}],"translate-C":[{"translate-C":[Ce]}],"skew-x":[{"skew-x":[Re]}],"skew-C":[{"skew-C":[Re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","C","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","C","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-C":[{"touch-pan":["C","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[I,A,me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-C"],overscroll:["overscroll-x","overscroll-C"],inset:["inset-x","inset-C","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-C":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-C"],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-C","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-C":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-C"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-C"],"border-w-x":["border-w-r","border-w-C"],"border-w-C":["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-C"],"border-color-x":["border-color-r","border-color-C"],"border-color-C":["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-C","touch-pz"],"touch-x":["touch"],"touch-C":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Be=Ct(_t);function m(...e){return Be((0,We.clsx)(e))}var C=require("react/jsx-runtime"),Fe=h.Root;var jt=h.Portal;var Ue=q.forwardRef(({className:e,...t},o)=>(0,C.jsx)(h.Overlay,{ref:o,className:m("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ue.displayName=h.Overlay.displayName;var fe=q.forwardRef(({className:e,children:t,...o},r)=>(0,C.jsxs)(jt,{children:[(0,C.jsx)(Ue,{}),(0,C.jsxs)(h.Content,{ref:r,className:m("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-C-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...o,children:[t,(0,C.jsxs)(h.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,C.jsx)(He.X,{className:"h-4 w-4"}),(0,C.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));fe.displayName=h.Content.displayName;var be=({className:e,...t})=>(0,C.jsx)("div",{className:m("flex flex-col space-C-1.5 text-center sm:text-left",e),...t});be.displayName="DialogHeader";var ve=({className:e,...t})=>(0,C.jsx)("div",{className:m("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ve.displayName="DialogFooter";var ye=q.forwardRef(({className:e,...t},o)=>(0,C.jsx)(h.Title,{ref:o,className:m("text-lg font-semibold leading-none tracking-tight",e),...t}));ye.displayName=h.Title.displayName;var Ot=q.forwardRef(({className:e,...t},o)=>(0,C.jsx)(h.Description,{ref:o,className:m("text-sm text-muted-foreground",e),...t}));Ot.displayName=h.Description.displayName;var _e=require("@radix-ui/react-slot"),je=require("class-variance-authority"),Oe=S(require("react")),$t=(0,je.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"}}}),te=Oe.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...s},a)=>(0,$e.jsx)(e?_e.Slot:"button",{className:m($t({className:t,size:o,variant:r})),ref:a,...s}));te.displayName="Button";var qe=S(require("react"));var oe=qe.forwardRef(({className:e,type:t,...o},r)=>(0,C.jsx)("input",{type:t,className:m("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:r,...o}));oe.displayName="Input";var Ze=S(require("react")),he=Ze.forwardRef(({className:e,...t},o)=>(0,C.jsx)("textarea",{className:m("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));he.displayName="Textarea";var p=S(require("@radix-ui/react-select")),M=S(require("react")),re=p.Root;var ie=p.Value,X=M.forwardRef(({children:e,className:t,...o},r)=>(0,C.jsxs)(p.Trigger,{className:m("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:r,...o,children:[e,(0,C.jsx)(p.Icon,{asChild:!0,children:(0,C.jsx)(He.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));X.displayName=p.Trigger.displayName;var Ke=M.forwardRef(({className:e,...t},o)=>(0,C.jsx)(p.ScrollUpButton,{className:m("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,C.jsx)(He.ChevronUp,{className:"h-4 w-4"})}));Ke.displayName=p.ScrollUpButton.displayName;var Qe=M.forwardRef(({className:e,...t},o)=>(0,C.jsx)(p.ScrollDownButton,{className:m("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,C.jsx)(He.ChevronDown,{className:"h-4 w-4"})}));Qe.displayName=p.ScrollDownButton.displayName;var Z=M.forwardRef(({children:e,className:t,position:o="popper",...r},s)=>(0,C.jsx)(p.Portal,{children:(0,C.jsxs)(p.Content,{className:m("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",o==="popper"&&"data-[side=bottom]:translate-C-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-C-1",t),position:o,ref:s,...r,children:[(0,C.jsx)(Ke,{}),(0,C.jsx)(p.Viewport,{className:m("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,C.jsx)(Qe,{})]})}));Z.displayName=p.Content.displayName;var qt=M.forwardRef(({className:e,...t},o)=>(0,C.jsx)(p.Label,{className:m("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));qt.displayName=p.Label.displayName;var B=M.forwardRef(({children:e,className:t,...o},r)=>(0,C.jsxs)(p.Item,{className:m("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:r,...o,children:[(0,C.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,C.jsx)(p.ItemIndicator,{children:(0,C.jsx)(He.Check,{className:"h-4 w-4"})})}),(0,C.jsx)(p.ItemText,{children:e})]}));B.displayName=p.Item.displayName;var Xt=M.forwardRef(({className:e,...t},o)=>(0,C.jsx)(p.Separator,{className:m("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));Xt.displayName=p.Separator.displayName;var Ye=S(require("react")),xe=S(require("@radix-ui/react-label"));var Zt=(0,je.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),z=Ye.forwardRef(({className:e,...t},o)=>(0,C.jsx)(xe.Root,{ref:o,className:m(Zt(),e),...t}));z.displayName=xe.Root.displayName;var W=S(require("react")),U=S(require("@radix-ui/react-toggle-group"));var ot=S(require("react")),we=S(require("@radix-ui/react-toggle"));var Pe=(0,je.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"}}),Jt=ot.forwardRef(({className:e,variant:t,size:o,...r},s)=>(0,C.jsx)(we.Root,{ref:s,className:m(Pe({variant:t,size:o,className:e})),...r}));Jt.displayName=we.Root.displayName;var at=W.createContext({size:"default",variant:"default"}),ne=W.forwardRef(({className:e,variant:t,size:o,children:r,...s},a)=>(0,C.jsx)(U.Root,{ref:a,className:m("flex items-center justify-center gap-1",e),...s,children:(0,C.jsx)(at.Provider,{value:{variant:t,size:o},children:r})}));ne.displayName=U.Root.displayName;var se=W.forwardRef(({className:e,children:t,variant:o,size:r,...s},a)=>{let c=W.useContext(at);return(0,C.jsx)(U.Item,{ref:a,className:m(Pe({variant:c.variant||o,size:c.size||r}),e),...s,children:t})});se.displayName=U.Item.displayName;var Kt=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:He.BookOpen},{value:"task",label:"Task",color:"bg-secondary/20 text-secondary-foreground",icon:He.AlertCircle},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:He.Bug},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:He.Zap}],Qt=[{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"}],Yt=({isOpen:e,onClose:t,onAddTask:o,epics:r,sprints:s,assignees:a,defaultEpicId:c})=>{let[i,u]=(0,J.useState)({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epic:"",sprint:"none",assignee:""});(0,J.useEffect)(()=>{e&&c&&u(n=>({...n,epic:c}))},[e,c]),(0,J.useEffect)(()=>{e&&u({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epic:c||"",sprint:"none",assignee:""})},[e]);let x=n=>{n.preventDefault(),i.name.trim()&&(o({name:i.name.trim(),description:i.description.trim(),status:"todo",priority:i.priority,type:i.type,storyPoints:i.storyPoints,epic:Number(i.epic),sprint:Number(i.sprint),assignee:i.assignee.trim()?{relationTo:"digital-colleagues",value:Number(i.assignee)}:null,dateLogged:new Date().toISOString(),index:0}),u({name:"",description:"",status:"todo",priority:"medium",type:"story",storyPoints:1,epic:c||"",sprint:"",assignee:""}),t())},f=(n,R)=>{u(N=>({...N,[n]:R}))};return(0,C.jsx)(Fe,{open:e,onOpenChange:t,children:(0,C.jsxs)(fe,{className:"sm:max-w-md",children:[(0,C.jsx)(be,{children:(0,C.jsx)(ye,{children:"Add New Task"})}),(0,C.jsxs)("form",{onSubmit:x,className:"space-C-4",children:[(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(z,{htmlFor:"name",children:"Task Title"}),(0,C.jsx)(oe,{id:"name",value:i.name,onChange:n=>f("name",n.target.value),placeholder:"Enter task title",required:!0})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(z,{htmlFor:"description",children:"Description"}),(0,C.jsx)(he,{id:"description",value:i.description,onChange:n=>f("description",n.target.value),placeholder:"Enter task description",rows:3})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(z,{children:"Type"}),(0,C.jsx)(ne,{type:"single",value:i.type||"",onValueChange:n=>n&&f("type",n),children:Kt.map(n=>{let R=n.icon;return(0,C.jsxs)(se,{value:n.value,className:"flex items-center gap-2 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:[(0,C.jsx)(R,{className:"h-4 w-4"}),n.label]},n.value)})})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(z,{children:"Priority"}),(0,C.jsx)(ne,{type:"single",value:i.priority||"",onValueChange:n=>n&&f("priority",n),children:Qt.map(n=>(0,C.jsx)(se,{value:n.value,className:"data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:n.label},n.value))})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(z,{htmlFor:"points",children:"Story Points"}),(0,C.jsx)(oe,{id:"points",type:"number",min:"1",max:"100",value:i.storyPoints,onChange:n=>f("storyPoints",parseInt(n.target.value)||1),placeholder:"Enter story points",required:!0})]}),!c&&(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(z,{htmlFor:"epic",children:"Epic"}),(0,C.jsxs)(re,{value:i.epic,onValueChange:n=>f("epic",n),children:[(0,C.jsx)(X,{children:(0,C.jsx)(ie,{placeholder:"Select an epic"})}),(0,C.jsx)(Z,{children:r.map(n=>(0,C.jsx)(B,{value:n.id.toString(),children:(0,C.jsxs)("div",{className:"flex items-center gap-2",children:[(0,C.jsx)("div",{className:`w-3 h-3 rounded-full ${n.color}`}),n.name]})},n.id))})]})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(z,{htmlFor:"sprint",children:"Sprint (Optional)"}),(0,C.jsxs)(re,{value:i.sprint,onValueChange:n=>f("sprint",n),children:[(0,C.jsx)(X,{children:(0,C.jsx)(ie,{placeholder:"Select a sprint"})}),(0,C.jsxs)(Z,{children:[(0,C.jsx)(B,{value:"none",children:"No Sprint"}),s.map(n=>(0,C.jsx)(B,{value:n.id.toString(),children:(0,C.jsx)("div",{className:"flex items-center gap-2",children:n.name})},n.id))]})]})]}),(0,C.jsxs)("div",{className:"space-C-2",children:[(0,C.jsx)(z,{htmlFor:"sprint",children:"Assignee"}),(0,C.jsxs)(re,{value:i.assignee,onValueChange:n=>f("assignee",n),children:[(0,C.jsx)(X,{children:(0,C.jsx)(ie,{placeholder:"Select an Assignee"})}),(0,C.jsxs)(Z,{children:[(0,C.jsx)(B,{value:"none",children:"No Assignee"}),a.map(n=>(0,C.jsx)(B,{value:n.id.toString(),children:(0,C.jsx)("div",{className:"flex items-center gap-2",children:n.name})},n.id))]})]})]}),(0,C.jsxs)(ve,{children:[(0,C.jsx)(te,{type:"button",variant:"outline",onClick:t,children:"Cancel"}),(0,C.jsx)(te,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Task"})]})]})]})})};0&&(module.exports={AddTaskModal});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-QC2UWZWL.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-L5JPAKPM.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 AddTaskModal};
|
|
@@ -6,7 +6,7 @@ interface EpicsViewProps {
|
|
|
6
6
|
sprints: Sprint[];
|
|
7
7
|
onUpdateTask: (taskId: string, updates: Partial<Task>) => void;
|
|
8
8
|
onTaskClick: (task: Task) => void;
|
|
9
|
-
onAddTaskToEpic: (
|
|
9
|
+
onAddTaskToEpic: (task: Omit<Task, 'id' | 'updatedAt' | 'createdAt'>) => void;
|
|
10
10
|
onAddEpic: () => void;
|
|
11
11
|
onUpdateEpic: (epicId: string, updates: Partial<Epic>) => void;
|
|
12
12
|
onDeleteEpic: (epicId: string) => void;
|