cortex-react-components 2.13.1 → 2.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-RGOKBIQ5.mjs → chunk-255P6K5W.mjs} +1 -1
- package/dist/{chunk-HNWWGPHA.mjs → chunk-2HWSTGAP.mjs} +1 -1
- package/dist/chunk-2IMVYO7X.mjs +1 -0
- package/dist/{chunk-GTZJWMZR.mjs → chunk-2RQDJ5XT.mjs} +1 -1
- package/dist/chunk-2UNIT7NC.mjs +4 -0
- package/dist/{chunk-CR326IJ6.mjs → chunk-4L77KQ2E.mjs} +1 -1
- package/dist/chunk-5N4WW7O2.mjs +1 -0
- package/dist/{chunk-AGWQ5S2Z.mjs → chunk-5NIEZE7A.mjs} +1 -1
- package/dist/{chunk-75F3LJMX.mjs → chunk-5SHZBJ5R.mjs} +1 -1
- package/dist/{chunk-EM3T2XYC.mjs → chunk-5WVFEIMC.mjs} +1 -1
- package/dist/{chunk-ZEALRBXW.mjs → chunk-62A35O55.mjs} +1 -1
- package/dist/{chunk-RJGYVDOU.mjs → chunk-67QPOSVV.mjs} +1 -1
- package/dist/chunk-6BQNN2KT.mjs +1 -0
- package/dist/chunk-6NED7ZVK.mjs +1 -0
- package/dist/{chunk-CXOVEABI.mjs → chunk-7GMAMIHM.mjs} +1 -1
- package/dist/{chunk-CNCT3JZV.mjs → chunk-AQQCH7Z2.mjs} +1 -1
- package/dist/chunk-CDVRH3MC.mjs +4 -0
- package/dist/chunk-CJ6APTVT.mjs +4 -0
- package/dist/{chunk-ITJH72Z2.mjs → chunk-CLGBBNRB.mjs} +1 -1
- package/dist/{chunk-2EQ5OMZF.mjs → chunk-DMCFEJ2C.mjs} +1 -1
- package/dist/chunk-DTIHVFME.mjs +4 -0
- package/dist/{chunk-3AWUWWR4.mjs → chunk-E6UOMRHI.mjs} +1 -1
- package/dist/chunk-E6Y5COQK.mjs +1 -0
- package/dist/{chunk-WIRQ5IRT.mjs → chunk-ERJXTG6X.mjs} +1 -1
- package/dist/{chunk-3NRXQBBS.mjs → chunk-FKU4VQR6.mjs} +1 -1
- package/dist/{chunk-GHOL5L32.mjs → chunk-H3CJOE6S.mjs} +1 -1
- package/dist/{chunk-NINFDOV5.mjs → chunk-HKGW6JI2.mjs} +1 -1
- package/dist/{chunk-KWYJ3XZI.mjs → chunk-I2GNNRFH.mjs} +1 -1
- package/dist/{chunk-FE7ZGUPU.mjs → chunk-IF3425JX.mjs} +1 -1
- package/dist/{chunk-24XUZCYT.mjs → chunk-IK3AM53W.mjs} +1 -1
- package/dist/chunk-KG7HG2VO.mjs +1 -0
- package/dist/{chunk-ERHNVIOZ.mjs → chunk-LHO4WFYP.mjs} +1 -1
- package/dist/{chunk-AJQHGVZ5.mjs → chunk-LJQPLE4S.mjs} +1 -1
- package/dist/{chunk-ZKSZJI4F.mjs → chunk-LVXEY6OU.mjs} +1 -1
- package/dist/{chunk-3HNU2NYP.mjs → chunk-M7NV6EFH.mjs} +1 -1
- package/dist/{chunk-7R47MHQE.mjs → chunk-MXCW6SOT.mjs} +1 -1
- package/dist/{chunk-2BRDNDUB.mjs → chunk-N3B3XNV3.mjs} +1 -1
- package/dist/chunk-NGX2VCHS.mjs +1 -0
- package/dist/{chunk-3Y7QG6VP.mjs → chunk-NWISIJFD.mjs} +1 -1
- package/dist/{chunk-23XORW7A.mjs → chunk-P7S6XFU4.mjs} +1 -1
- package/dist/{chunk-5MWZTJYP.mjs → chunk-PK3OBSCB.mjs} +1 -1
- package/dist/{chunk-Q67RF7VO.mjs → chunk-QG4QCB5I.mjs} +1 -1
- package/dist/{chunk-A7SGFSI5.mjs → chunk-QSXEJ2NO.mjs} +1 -1
- package/dist/{chunk-POIHYOIP.mjs → chunk-RMWGIZJX.mjs} +1 -1
- package/dist/{chunk-KCEJXXM2.mjs → chunk-RVHCTANZ.mjs} +1 -1
- package/dist/{chunk-TXVA6XJT.mjs → chunk-SRUG246N.mjs} +1 -1
- package/dist/chunk-TKCFCYEQ.mjs +4 -0
- package/dist/{chunk-6MSM3CZ6.mjs → chunk-TL2RQFU5.mjs} +1 -1
- package/dist/{chunk-7FWAJQRH.mjs → chunk-TO7SVJIU.mjs} +1 -1
- package/dist/chunk-TOI73VEE.mjs +1 -0
- package/dist/{chunk-ZGQC6O62.mjs → chunk-UEBQJNVT.mjs} +1 -1
- package/dist/chunk-UVHMI3PU.mjs +1 -0
- package/dist/chunk-WSQHAE6Q.mjs +1 -0
- package/dist/{chunk-L3BLBPSR.mjs → chunk-WUA65ZZB.mjs} +1 -1
- package/dist/{chunk-PWFVXG44.mjs → chunk-XKGBG5FX.mjs} +1 -1
- package/dist/chunk-XNEPSYCO.mjs +1 -0
- package/dist/{chunk-C4RWEPVF.mjs → chunk-YKG4FNS4.mjs} +1 -1
- package/dist/{chunk-UXOUJ5YO.mjs → chunk-ZB7RDJRP.mjs} +1 -1
- package/dist/{chunk-PXLSH6S2.mjs → chunk-ZFUP5NVF.mjs} +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
- package/dist/components/DeliveryLead/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.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/AppSidebarLeft.mjs +1 -1
- package/dist/components/Foundary/{DigitalColleageusLayout.mjs → FoundaryLayout.mjs} +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
- package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
- package/dist/components/Foundary/Views/TeamsIndexView.d.ts +3 -3
- package/dist/components/Foundary/Views/TeamsIndexView.js +2 -2
- package/dist/components/Foundary/Views/TeamsIndexView.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/{digital-colleague-clone.mjs → foundary-clone.mjs} +1 -1
- package/dist/components/Foundary/{digital-colleague-options.mjs → foundary-options.mjs} +1 -1
- package/dist/components/Foundary/index.d.ts +3 -3
- package/dist/components/Foundary/index.js +1 -1
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/Foundary/team-form.d.ts +1 -1
- package/dist/components/Foundary/team-form.js +2 -2
- package/dist/components/Foundary/team-form.mjs +1 -1
- package/dist/components/Foundary/types.d.ts +9 -0
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/AddEpicModal.d.ts +1 -1
- package/dist/components/Projects/AddEpicModal.js +1 -1
- package/dist/components/Projects/AddEpicModal.mjs +1 -1
- package/dist/components/Projects/AddSprintModal.d.ts +1 -1
- package/dist/components/Projects/AddSprintModal.js +1 -1
- package/dist/components/Projects/AddSprintModal.mjs +1 -1
- package/dist/components/Projects/AddTaskModal.d.ts +2 -2
- 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 +1 -1
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.d.ts +6 -4
- package/dist/components/Projects/KanbanBoardView.js +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/PlanningView.d.ts +1 -1
- package/dist/components/Projects/PlanningView.js +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.d.ts +1 -1
- package/dist/components/Projects/ProjectPage.js +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.d.ts +1 -42
- package/dist/components/Projects/ProjectView.js +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.d.ts +3 -3
- package/dist/components/Projects/ProjectsIndexView.js +2 -2
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TaskCard.d.ts +2 -2
- package/dist/components/Projects/TaskCard.js +1 -1
- package/dist/components/Projects/TaskCard.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.d.ts +1 -1
- package/dist/components/Projects/TaskDetailsModal.js +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/TaskSidebar.d.ts +1 -1
- package/dist/components/Projects/TaskSidebar.js +1 -1
- package/dist/components/Projects/TaskSidebar.mjs +1 -1
- package/dist/components/Projects/TasksView.d.ts +1 -1
- package/dist/components/Projects/TasksView.js +1 -1
- package/dist/components/Projects/TasksView.mjs +1 -1
- package/dist/components/Projects/index.js +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/Projects/project-form.d.ts +3 -3
- package/dist/components/Projects/project-form.js +1 -1
- package/dist/components/Projects/project-form.mjs +1 -1
- package/dist/components/dc-temp/creative.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.js +13 -13
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +17 -17
- 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/BlogListSection.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/utils/extract-id.d.ts +1 -0
- package/dist/utils/extract-id.js +1 -0
- package/dist/utils/extract-id.mjs +1 -0
- package/package.json +1 -1
- package/dist/chunk-2C4UDLVF.mjs +0 -1
- package/dist/chunk-2XMVNXF6.mjs +0 -4
- package/dist/chunk-4A3MGS6I.mjs +0 -1
- package/dist/chunk-4HHGVL3E.mjs +0 -1
- package/dist/chunk-6DEY5ZDD.mjs +0 -1
- package/dist/chunk-6TUNKKV7.mjs +0 -1
- package/dist/chunk-CXCDV7VP.mjs +0 -4
- package/dist/chunk-GGJZVAC4.mjs +0 -4
- package/dist/chunk-KW6L6KBY.mjs +0 -1
- package/dist/chunk-LD44TGKT.mjs +0 -4
- package/dist/chunk-MBPTBEOX.mjs +0 -1
- package/dist/chunk-NKDFAFWH.mjs +0 -1
- package/dist/chunk-O57JJTH5.mjs +0 -1
- package/dist/chunk-ORNGKQM7.mjs +0 -1
- package/dist/chunk-UAEEBFHJ.mjs +0 -4
- /package/dist/{chunk-6LEH6XKI.mjs → chunk-M2REXGQW.mjs} +0 -0
- /package/dist/{chunk-SGK4ZXKR.mjs → chunk-NDZ26EG6.mjs} +0 -0
- /package/dist/components/Foundary/{DigitalColleageusLayout.css → FoundaryLayout.css} +0 -0
- /package/dist/components/Foundary/{DigitalColleageusLayout.d.ts → FoundaryLayout.d.ts} +0 -0
- /package/dist/components/Foundary/{DigitalColleageusLayout.js → FoundaryLayout.js} +0 -0
- /package/dist/components/Foundary/{digital-colleague-clone.css → foundary-clone.css} +0 -0
- /package/dist/components/Foundary/{digital-colleague-clone.d.ts → foundary-clone.d.ts} +0 -0
- /package/dist/components/Foundary/{digital-colleague-clone.js → foundary-clone.js} +0 -0
- /package/dist/components/Foundary/{digital-colleague-options.css → foundary-options.css} +0 -0
- /package/dist/components/Foundary/{digital-colleague-options.d.ts → foundary-options.d.ts} +0 -0
- /package/dist/components/Foundary/{digital-colleague-options.js → foundary-options.js} +0 -0
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
"use client"
|
|
4
4
|
|
|
5
|
-
"use strict";var Lt=Object.create;var Ne=Object.defineProperty;var Bt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var Ht=Object.getPrototypeOf,Ot=Object.prototype.hasOwnProperty;var Vt=(e,r)=>{for(var o in r)Ne(e,o,{get:r[o],enumerable:!0})},Xe=(e,r,o,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of It(r))!Ot.call(e,n)&&n!==o&&Ne(e,n,{get:()=>r[n],enumerable:!(s=Bt(r,n))||s.enumerable});return e};var G=(e,r,o)=>(o=e!=null?Lt(Ht(e)):{},Xe(r||!e||!e.__esModule?Ne(o,"default",{value:e,enumerable:!0}):o,e)),_t=e=>Xe(Ne({},"__esModule",{value:!0}),e);var Tr={};Vt(Tr,{PlanningView:()=>Rr});module.exports=_t(Tr);var z=require("react");var Y=G(require("react"));var at=require("clsx");var ze="-",Gt=e=>{let r=jt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:c=>{let l=c.split(ze);return l[0]===""&&l.length!==1&&l.shift(),Qe(l,r)||Ft(c)},getConflictingClassGroupIds:(c,l)=>{let m=o[c]||[];return l&&s[c]?[...m,...s[c]]:m}}},Qe=(e,r)=>{if(e.length===0)return r.classGroupId;let o=e[0],s=r.nextPart.get(o),n=s?Qe(e.slice(1),s):void 0;if(n)return n;if(r.validators.length===0)return;let i=e.join(ze);return r.validators.find(({validator:c})=>c(i))?.classGroupId},Ke=/^\[(.+)\]$/,Ft=e=>{if(Ke.test(e)){let r=Ke.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},jt=e=>{let{theme:r,prefix:o}=e,s={nextPart:new Map,validators:[]};return Wt(Object.entries(e.classGroups),o).forEach(([i,c])=>{Ae(c,s,i,r)}),s},Ae=(e,r,o,s)=>{e.forEach(n=>{if(typeof n=="string"){let i=n===""?r:Ze(r,n);i.classGroupId=o;return}if(typeof n=="function"){if($te(n)){Ae(n(s),r,o,s);return}r.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([i,c])=>{Ae(c,Ze(r,i),o,s)})})},Ze=(e,r)=>{let o=e;return r.split(ze).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},$te=e=>e.isThemeGetter,Wt=(e,r)=>r?e.map(([o,s])=>{let n=s.map(i=>typeof i=="string"?r+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,l])=>[r+c,l])):i);return[o,n]}):e,Ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,s=new Map,n=(i,c)=>{o.set(i,c),r++,r>e&&(r=0,s=o,o=new Map)};return{get(i){let c=o.get(i);if(c!==void 0)return c;if((c=s.get(i))!==void 0)return n(i,c),c},set(i,c){o.has(i)?o.set(i,c):n(i,c)}}},Ye="!",qt=e=>{let{separator:r,experimentalParseClassName:o}=e,s=r.length===1,n=r[0],i=r.length,c=l=>{let m=[],k=0,y=0,L;for(let w=0;w<l.length;w++){let D=l[w];if(k===0){if(D===n&&(s||l.slice(w,w+i)===r)){m.push(l.slice(y,w)),y=w+i;continue}if(D==="/"){L=w;continue}}D==="["?k++:D==="]"&&k--}let R=m.length===0?l:l.substring(y),H=R.startsWith(Ye),O=H?R.substring(1):R,C=L&&L>y?L-y:void 0;return{modifiers:m,hasImportantModifier:H,baseClassName:O,maybePostfixModifierPosition:C}};return o?l=>o({className:l,parseClassName:c}):c},Jt=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(s=>{s[0]==="["?(r.push(...o.sort(),s),o=[]):o.push(s)}),r.push(...o.sort()),r},Xt=e=>({cache:Ut(e.cacheSize),parseClassName:qt(e),...Gt(e)}),Kt=/\s+/,Zt=(e,r)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=r,i=[],c=e.trim().split(Kt),l="";for(let m=c.length-1;m>=0;m-=1){let k=c[m],{modifiers:y,hasImportantModifier:L,baseClassName:R,maybePostfixModifierPosition:H}=o(k),O=!!H,C=s(O?R.substring(0,H):R);if(!C){if(!O){l=k+(l.length>0?" "+l:l);continue}if(C=s(R),!C){l=k+(l.length>0?" "+l:l);continue}O=!1}let w=Jt(y).join(":"),D=L?w+Ye:w,T=D+C;if(i.includes(T))continue;i.push(T);let j=n(C,O);for(let E=0;E<j.length;++E){let $=j[E];i.push(D+$)}l=k+(l.length>0?" "+l:l)}return l};function Qt(){let e=0,r,o,s="";for(;e<arguments.length;)(r=arguments[e++])&&(o=et(r))&&(s&&(s+=" "),s+=o);return s}var et=e=>{if(typeof e=="string")return e;let r,o="";for(let s=0;s<e.length;s++)e[s]&&(r=et(e[s]))&&(o&&(o+=" "),o+=r);return o};function Yt(e,...r){let o,s,n,i=c;function c(m){let k=r.reduce((y,L)=>L(y),e());return o=Xt(k),s=o.cache.get,n=o.cache.set,i=l,l(m)}function l(m){let k=s(m);if(k)return k;let y=Zt(m,o);return n(m,y),y}return function(){return i(Qt.apply(null,arguments))}}var x=e=>{let r=o=>o[e]||[];return r.isThemeGetter=!0,r},tt=/^\[(?:([a-z-]+):)?(.+)\]$/i,er=/^\d+\/\d+$/,tr=new Set(["px","full","screen"]),rr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,or=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|te|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ar=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,sr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,W=e=>ie(e)||tr.has(e)||er.test(e),X=e=>le(e,"length",fr),ie=e=>!!e&&!Number.isNaN(Number(e)),Te=e=>le(e,"number",ie),ue=e=>!!e&&Number.isInteger(Number(e)),ir=e=>e.endsWith("%")&&ie(e.slice(0,-1)),p=e=>tt.test(e),K=e=>rr.test(e),lr=new Set(["length","size","percentage"]),dr=e=>le(e,lr,rt),cr=e=>le(e,"position",rt),mr=new Set(["image","url"]),pr=e=>le(e,mr,br),ur=e=>le(e,"",gr),fe=()=>!0,le=(e,r,o)=>{let s=tt.exec(e);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):o(s[2]):!1},fr=e=>or.test(e)&&!ar.test(e),rt=()=>!1,gr=e=>sr.test(e),br=e=>nr.test(e);var vr=()=>{let e=x("colors"),r=x("spacing"),o=x("blur"),s=x("brightness"),n=x("borderColor"),i=x("borderRadius"),c=x("borderSpacing"),l=x("borderWidth"),m=x("contrast"),k=x("grayscale"),y=x("hueRotate"),L=x("invert"),R=x("gap"),H=x("gradientColorStops"),O=x("gradientColorStopPositions"),C=x("inset"),w=x("margin"),D=x("opacity"),T=x("padding"),j=x("saturate"),E=x("scale"),$=x("sepia"),oe=x("skew"),de=x("space"),Z=x("translate"),Q=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",p,r],v=()=>[p,r],he=()=>["",W,X],q=()=>["auto",ie,p],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["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"],se=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",p],me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[ie,p];return{cacheSize:500,separator:":",theme:{colors:[fe],spacing:[W,X],blur:["none","",K,p],brightness:V(),borderColor:[e],borderRadius:["none","","full",K,p],borderSpacing:v(),borderWidth:he(),contrast:V(),grayscale:J(),hueRotate:V(),invert:J(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[ir,X],inset:ce(),margin:ce(),opacity:V(),padding:v(),saturate:V(),scale:V(),sepia:J(),skew:V(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"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:[...xe(),p]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ue,p]}],basis:[{basis:ce()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",ue,p]}],"grid-cols":[{"grid-cols":[fe]}],"col-start-end":[{col:["auto",{span:["full",ue,p]},p]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[fe]}],"row-start-end":[{row:["auto",{span:[ue,p]},p]}],"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",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...se(),"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]}],te:[{te:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[de]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,r]}],"min-w":[{"min-w":[p,r,"min","max","fit"]}],"max-w":[{"max-w":[p,r,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[p,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,r,"auto","min","max","fit"]}],"font-size":[{text:["base",K,X]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Te]}],"font-family":[{font:[fe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",ie,Te]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[D]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[D]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,X]}],"underline-offset":[{"underline-offset":["auto",W,p]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[D]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...xe(),cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dr]}],"bg-image":[{bg:["none",{"gradient-to":["te","tr","r","br","b","bl","l","tl"]},pr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[O]}],"gradient-via-pos":[{via:[O]}],"gradient-to-pos":[{to:[O]}],"gradient-from":[{from:[H]}],"gradient-via":[{via:[H]}],"gradient-to":[{to:[H]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-te":[{"rounded-te":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-te":[{"border-te":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[D]}],"border-style":[{border:[...ae(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[D]}],"divide-style":[{divide:ae()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-te":[{"border-te":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ae()]}],"outline-offset":[{"outline-offset":[W,p]}],"outline-w":[{outline:[W,X]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[D]}],"ring-offset-w":[{"ring-offset":[W,X]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,ur]}],"shadow-color":[{shadow:[fe]}],opacity:[{opacity:[D]}],"mix-blend":[{"mix-blend":[...ye(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",K,p]}],grayscale:[{grayscale:[k]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[L]}],saturate:[{saturate:[j]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[k]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[L]}],"backdrop-opacity":[{"backdrop-opacity":[D]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[ue,p]}],"translate-x":[{"translate-x":[Z]}],"translate-y":[{"translate-y":[Z]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-te":[{"scroll-te":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","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",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,X,Te]}],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","te","pr","pb","pl"],px:["pr","pl"],py:["te","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-te","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-te":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-te","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-te","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-te","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-te","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-te","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-te","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ot=Yt(vr);function f(...e){return ot((0,at.clsx)(e))}var te=require("react/jsx-runtime"),ee=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:f("rounded-xl border bg-card text-card-foreground shadow",e),...r}));ee.displayName="Card";var hr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:f("flex flex-col space-y-1.5 p-6",e),...r}));hr.displayName="CardHeader";var xr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:f("font-semibold leading-none tracking-tight",e),...r}));xr.displayName="CardTitle";var yr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:f("text-sm text-muted-foreground",e),...r}));yr.displayName="CardDescription";var wr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:f("p-6 te-0",e),...r}));wr.displayName="CardContent";var Nr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:f("flex items-center p-6 te-0",e),...r}));Nr.displayName="CardFooter";var st=require("class-variance-authority");var Cr=(0,st.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function U({className:e,variant:r,...o}){return(0,te.jsx)("div",{className:f(Cr({variant:r}),e),...o})}var it=require("@radix-ui/react-slot"),dt=G(require("react")),Ce=(0,st.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"}}}),N=dt.forwardRef(({asChild:e=!1,className:r,size:o,variant:s,...n},i)=>(0,te.jsx)(e?it.Slot:"button",{className:f(Ce({className:r,size:o,variant:s})),ref:i,...n}));N.displayName="Button";var mt=G(require("react"));var ge=mt.forwardRef(({className:e,type:r,...o},s)=>(0,te.jsx)("input",{type:r,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:s,...o}));ge.displayName="Input";var ut=G(require("react")),be=ut.forwardRef(({className:e,...r},o)=>(0,te.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,...r}));be.displayName="Textarea";var g=require("lucide-react");var ve=G(require("react")),P=G(require("@radix-ui/react-dialog"));var bt=P.Root;var kr=P.Portal;var vt=ve.forwardRef(({className:e,...r},o)=>(0,te.jsx)(P.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),...r}));vt.displayName=P.Overlay.displayName;var Ee=ve.forwardRef(({className:e,children:r,...o},s)=>(0,te.jsxs)(kr,{children:[(0,te.jsx)(vt,{}),(0,te.jsxs)(P.Content,{ref:s,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:[r,(0,te.jsxs)(P.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,te.jsx)(g.X,{className:"h-4 w-4"}),(0,te.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ee.displayName=P.Content.displayName;var Me=({className:e,...r})=>(0,te.jsx)("div",{className:f("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});Me.displayName="DialogHeader";var Dr=({className:e,...r})=>(0,te.jsx)("div",{className:f("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});Dr.displayName="DialogFooter";var Le=ve.forwardRef(({className:e,...r},o)=>(0,te.jsx)(P.Title,{ref:o,className:f("text-lg font-semibold leading-none tracking-tight",e),...r}));Le.displayName=P.Title.displayName;var Pr=ve.forwardRef(({className:e,...r},o)=>(0,te.jsx)(P.Description,{ref:o,className:f("text-sm text-muted-foreground",e),...r}));Pr.displayName=P.Description.displayName;var ht=G(require("react")),Be=G(require("@radix-ui/react-label"));var Sr=(0,st.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),re=ht.forwardRef(({className:e,...r},o)=>(0,te.jsx)(Be.Root,{ref:o,className:f(Sr(),e),...r}));re.displayName=Be.Root.displayName;var wt=require("react-day-picker");function ke({className:e,classNames:r,showOutsideDays:o=!0,...s}){return(0,te.jsx)(wt.DayPicker,{showOutsideDays:o,weekStartsOn:1,className:f("p-3",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center te-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:f(Ce({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:f("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",s.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:f(Ce({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...r},...s})}ke.displayName="Calendar";var Ct=G(require("react")),F=G(require("@radix-ui/react-popover"));var He=F.Root,Oe=F.Trigger;var De=Ct.forwardRef(({className:e,align:r="center",sideOffset:o=4,...s},n)=>(0,te.jsx)(F.Portal,{children:(0,te.jsx)(F.Content,{ref:n,align:r,sideOffset:o,className:f("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",e),...s})}));De.displayName=F.Content.displayName;var _e=require("date-fns");var Dt=({isOpen:e,onClose:r,onAddSprint:o})=>{let[s,n]=(0,z.useState)({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),i=l=>{l.preventDefault(),!(!s.name||!s.startDate||!s.endDate)&&(o({name:s.name,description:s.description,startDate:s.startDate,endDate:s.endDate,isActive:s.isActive,isSelected:!1}),n({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),r())},c=()=>{n({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),r()};return(0,te.jsx)(bt,{open:e,onOpenChange:c,children:(0,te.jsxs)(Ee,{className:"sm:max-w-md",children:[(0,te.jsx)(Me,{children:(0,te.jsx)(Le,{children:"Add New Sprint"})}),(0,te.jsxs)("form",{onSubmit:i,className:"space-y-4",children:[(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)(re,{htmlFor:"name",children:"Sprint Name *"}),(0,te.jsx)(ge,{id:"name",value:s.name,onChange:l=>n(m=>({...m,name:l.target.value})),placeholder:"e.g., Sprint 3",required:!0})]}),(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)(re,{htmlFor:"description",children:"Description"}),(0,te.jsx)(be,{id:"description",value:s.description,onChange:l=>n(m=>({...m,description:l.target.value})),placeholder:"Brief description of sprint goals",rows:3})]}),(0,te.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)(re,{children:"Start Date *"}),(0,te.jsxs)(He,{children:[(0,te.jsx)(Oe,{asChild:!0,children:(0,te.jsxs)(N,{variant:"outline",className:f("w-full justify-start text-left font-normal",!s.startDate&&"text-muted-foreground"),children:[(0,te.jsx)(g.CalendarIcon,{className:"mr-2 h-4 w-4"}),s.startDate?(0,_e.format)(s.startDate,"PPP"):"Pick a date"]})}),(0,te.jsx)(De,{className:"w-auto p-0",align:"start",children:(0,te.jsx)(ke,{mode:"single",selected:s.startDate,onSelect:l=>n(m=>({...m,startDate:l})),initialFocus:!0})})]})]}),(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)(re,{children:"End Date *"}),(0,te.jsxs)(He,{children:[(0,te.jsx)(Oe,{asChild:!0,children:(0,te.jsxs)(N,{variant:"outline",className:f("w-full justify-start text-left font-normal",!s.endDate&&"text-muted-foreground"),children:[(0,te.jsx)(g.CalendarIcon,{className:"mr-2 h-4 w-4"}),s.endDate?(0,_e.format)(s.endDate,"PPP"):"Pick a date"]})}),(0,te.jsx)(De,{className:"w-auto p-0",align:"start",children:(0,te.jsx)(ke,{mode:"single",selected:s.endDate,onSelect:l=>n(m=>({...m,endDate:l})),initialFocus:!0,disabled:l=>s.startDate?l<s.startDate:!1})})]})]})]}),(0,te.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,te.jsx)("input",{type:"checkbox",id:"isActive",checked:s.isActive,onChange:l=>n(m=>({...m,isActive:l.target.checked})),className:"rounded border-gray-300"}),(0,te.jsx)(re,{htmlFor:"isActive",children:"Set as active sprint"})]}),(0,te.jsxs)("div",{className:"flex justify-end gap-3 te-4",children:[(0,te.jsx)(N,{type:"button",variant:"outline",onClick:c,children:"Cancel"}),(0,te.jsx)(N,{type:"submit",disabled:!s.name||!s.startDate||!s.endDate,children:"Add Sprint"})]})]})]})})};var St=require("motion/react");function Pt(e,r){let[o,s]=(0,z.useState)(()=>{if(typeof window>"te")return r;try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):r}catch{return r}}),n=i=>{try{s(i),typeof window<"te"&&window.localStorage.setItem(e,JSON.stringify(i))}catch{}};return(0,z.useEffect)(()=>{n(o)},[]),[o,n]}var Se=require("react-icons/fa");function Rt({title:e,description:r,badge:o,primaryAction:s,secondaryAction:n,gradient:i,children:c,className:l}){let[m,k]=Pt(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!n&&!r),y=!n&&!r||m;return(0,te.jsxs)(St.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${i} p-8 text-white ${l||""}`,children:[(0,te.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,te.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,te.jsx)(U,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:o}),(0,te.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,te.jsxs)("div",{className:"flex items-center gap-3",children:[y&&s&&(0,te.jsx)(N,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:s.onClick,children:s.label}),(n||r)&&(0,te.jsx)("button",{"aria-label":m?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>k(!m),style:{lineHeight:0},children:m?(0,te.jsx)(Se.FaChevronDown,{size:22}):(0,te.jsx)(Se.FaChevronUp,{size:22})})]})]}),!y&&(0,te.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,te.jsxs)("div",{className:"space-y-4",children:[(0,te.jsx)("p",{className:"max-w-[600px] text-white/80",children:r}),(0,te.jsxs)("div",{className:"flex flex-wrap gap-3",children:[s&&(0,te.jsx)(N,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:s.onClick,children:s.label}),n&&(0,te.jsx)(N,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:n.onClick,children:n.label})]})]}),c&&(0,te.jsx)("div",{className:"hidden lg:block",children:c})]})]})}var Rr=({tasks:e,epics:r,sprints:o,onUpdateTask:s,onTaskClick:n,onAddSprint:i,onUpdateSprint:c,onDeleteSprint:l})=>{let[m,k]=(0,z.useState)([]),[y,L]=(0,z.useState)(new Set),[R,H]=(0,z.useState)(null),[O,C]=(0,z.useState)(!1),[w,D]=(0,z.useState)(null),[T,j]=(0,z.useState)(null),[E,$]=(0,z.useState)({name:"",description:"",startDate:"",endDate:"",isActive:!1}),[oe,de]=(0,z.useState)("upcoming"),[Z,Q]=(0,z.useState)(!1),[_,ce]=(0,z.useState)(0),v=(0,z.useRef)(null),he=(0,z.useRef)(null);(0,z.useEffect)(()=>{let a=()=>{v.current&&ce(v.current.offsetHeight)};a();let d=new ResizeObserver(a);return v.current&&d.observe(v.current),()=>d.disconnect()},[]);let q=a=>r.find(d=>d.id===a),xe=a=>o.find(d=>d.id===a),ae=a=>{let d={high:"bg-red-100 text-red-800 border-red-200",medium:"bg-orange-100 text-orange-800 border-orange-200",low:"bg-green-100 text-green-800 border-green-200"};return d[a]||d.medium},ye=a=>{let d=a.trim().split(" ");if(d.length===1)return d[0];let b=d[0],h=d[d.length-1][0].toUpperCase();return`${b} ${h}`},se=a=>{let d={},b=[];return a.forEach(h=>{h.epicId?(d[h.epicId]||(d[h.epicId]=[]),d[h.epicId].push(h)):b.push(h)}),{tasksByEpic:d,unassignedTasks:b}},J=o.filter(a=>a.id!=="backlog"&&a.id!=="all-tasks"),me=J.filter(a=>{switch(oe){case"active":return a.isActive;case"upcoming":return!a.isActive;default:return!0}}),V=J.filter(a=>m.includes(a.id)),ne=e.filter(a=>!a.sprintId||a.sprintId==="backlog"||a.sprintId==="Backlog"),Tt=ne.reduce((a,d)=>a+(d.points||0),0),Ge=a=>{k(d=>d.includes(a)?d.filter(b=>b!==a):d.length<3?[...d,a]:d)},we=a=>{L(d=>{let b=new Set(d);return b.has(a)?b.delete(a):b.add(a),b})},At=a=>{i(a),C(!1)},Fe=a=>{j(a.id),$({name:a.name,description:a.description||"",startDate:a.startDate instanceof Date?a.startDate.toISOString().split("T")[0]:a.startDate,endDate:a.endDate instanceof Date?a.endDate.toISOString().split("T")[0]:a.endDate,isActive:a.isActive})},zt=()=>{T&&(c(T,{name:E.name,description:E.description,startDate:new Date(E.startDate),endDate:new Date(E.endDate),isActive:E.isActive}),j(null))},Et=()=>{j(null),$({name:"",description:"",startDate:"",endDate:"",isActive:!1})},Mt=(a,d)=>{H(d),a.dataTransfer.effectAllowed="move"},je=a=>{a.preventDefault(),a.dataTransfer.dropEffect="move"},$e=a=>{D(a)},We=()=>{D(null)},Ue=(a,d)=>{if(a.preventDefault(),D(null),!R)return;let b=R.sprintId||void 0,h=d==="backlog"?void 0:d;b!==h&&s(R.id,{sprintId:h}),H(null)},pe=({task:a,showSprint:d=!1})=>{let b=a.epicId?q(a.epicId):null,h=a.sprintId?xe(a.sprintId):null;return(0,te.jsx)(ee,{className:"p-3 cursor-grab active:cursor-grabbing hover:shadow-md transition-all duration-200 border border-border bg-card hover:bg-accent/50",draggable:!0,onDragStart:B=>{B.dataTransfer.effectAllowed="move",B.dataTransfer.setData("text/plain",a.id),Mt(B,a)},onClick:B=>{R===null&&n(a)},style:{userSelect:"none"},children:(0,te.jsxs)("div",{className:"space-y-2 pointer-events-none",children:[(0,te.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,te.jsx)("h4",{className:"font-medium text-sm text-foreground line-clamp-1",children:a.name}),(0,te.jsx)(U,{className:`text-xs ${ae(a.priority)}`,children:a.priority[0].toUpperCase()})]}),(0,te.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,te.jsxs)("div",{className:"flex items-center gap-1",children:[b&&(0,te.jsx)("div",{className:`w-2 h-2 rounded-full ${b.color}`}),(0,te.jsx)("span",{className:"text-muted-foreground truncate",children:b?.name})]}),(0,te.jsx)("span",{className:"text-muted-foreground",children:ye(a.assignee?.value?.name)})]}),d&&h&&(0,te.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,te.jsx)(g.Calendar,{className:"h-3 w-3"}),(0,te.jsx)("span",{children:h.name})]})]})})};return(0,te.jsxs)("div",{ref:he,className:"h-full flex flex-col px-2 md:px-4 py-4",children:[(0,te.jsx)("div",{ref:v,className:"flex-shrink-0",children:(0,te.jsx)(Rt,{title:"Sprint Planning",description:"Plan and organize tasks across sprints and manage your development timeline.",gradient:"bg-gradient-to-r from-orange-600 via-amber-600 to-yellow-600",primaryAction:{label:"Add sprint",onClick:()=>C(!0)}})}),(0,te.jsx)("div",{className:"flex-1 min-h-0 mt-8",children:(0,te.jsxs)("div",{className:"h-full",style:{height:_>0?`calc(100vh - ${_+120}px)`:"calc(100vh - 12rem)"},children:[(0,te.jsxs)("div",{className:"mb-4",children:[(0,te.jsx)(ee,{className:"p-3 bg-card shadow-sm",children:(0,te.jsxs)("div",{className:"flex items-center justify-between",children:[(0,te.jsxs)("div",{className:"flex items-center gap-3",children:[(0,te.jsx)("div",{children:(0,te.jsx)("h3",{className:"font-semibold text-foreground text-sm",children:"Sprint Board"})}),m.length>0&&(0,te.jsx)("div",{className:"flex items-center gap-2",children:(0,te.jsx)("div",{className:"flex flex-wrap gap-1",children:V.map(a=>(0,te.jsxs)("div",{className:"flex items-center gap-1 bg-primary/10 text-primary px-2 py-0.5 rounded text-xs",children:[(0,te.jsx)("span",{className:"max-w-[80px] truncate",children:a.name}),a.isActive&&(0,te.jsx)("span",{className:"text-success text-[10px]",children:"\u25CF"}),(0,te.jsx)("button",{onClick:()=>Ge(a.id),className:"ml-0.5 hover:bg-primary/20 h-8 rounded p-0.5",children:(0,te.jsx)(g.X,{className:"h-4 w-4"})})]},a.id))})})]}),(0,te.jsxs)("div",{className:"flex items-center gap-2",children:[(0,te.jsxs)(N,{onClick:()=>C(!0),className:"bg-primary hover:bg-primary/90 text-primary-foreground gap-1",size:"sm",children:[(0,te.jsx)(g.Plus,{className:"h-3 w-3"}),"Add"]}),(0,te.jsxs)(N,{onClick:()=>Q(!Z),variant:"outline",size:"sm",className:"gap-1",children:[(0,te.jsx)(g.Calendar,{className:"h-3 w-3"}),Z?"Close":"Select"]})]})]})}),Z&&(0,te.jsx)("div",{className:"fixed inset-0 bg-black/20 z-[5]",onClick:()=>Q(!1)}),(0,te.jsx)("div",{className:`fixed top-0 right-0 h-full w-80 bg-background border-l shadow-xl z-10 transition-all duration-300 ease-in-out ${Z?"translate-x-0 opacity-100 visible":"translate-x-full opacity-0 invisible"}`,children:(0,te.jsxs)(ee,{className:"h-full rounded-none border-0 flex flex-col",children:[(0,te.jsxs)("div",{className:"p-4 border-b bg-muted/30 flex-shrink-0",children:[(0,te.jsxs)("div",{className:"flex items-center justify-between",children:[(0,te.jsx)("h3",{className:"font-semibold text-foreground text-base",children:"Select Sprints"}),(0,te.jsx)(N,{variant:"ghost",size:"sm",onClick:()=>Q(!1),className:"h-8 w-8 p-0",children:(0,te.jsx)(g.X,{className:"h-4 w-4"})})]}),(0,te.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Choose up to 3 sprints to view in your planning board"})]}),(0,te.jsxs)("div",{className:"flex flex-col flex-1 p-4 min-h-0",children:[(0,te.jsx)("div",{className:"flex gap-1 mb-4 bg-muted p-1 rounded-lg",children:[{key:"all",label:"All",count:o.length},{key:"active",label:"Active",count:o.filter(a=>a.isActive).length},{key:"upcoming",label:"Upcoming",count:o.filter(a=>!a.isActive).length}].map(a=>(0,te.jsxs)(N,{variant:oe===a.key?"default":"outline",size:"sm",onClick:()=>de(a.key),className:"text-xs h-8 px-3 flex-1",children:[a.label," (",a.count,")"]},a.key))}),(0,te.jsx)("div",{className:"space-y-2 flex-1 overflow-y-auto",children:me.length>0?me.map(a=>{let d=m.includes(a.id),b=e.filter(A=>A.sprintId===a.id).length,h=!d&&m.length<3;return(0,te.jsx)("div",{className:`p-3 rounded-lg border transition-all ${d?"bg-primary/10 border-primary/30":h?"bg-card border-border hover:border-primary/50":"bg-muted/30 border-border/30 opacity-60"}`,children:T===a.id?(0,te.jsxs)("div",{className:"space-y-3",children:[(0,te.jsx)(ge,{value:E.name,onChange:A=>$(M=>({...M,name:A.target.value})),className:"text-sm",placeholder:"Sprint name"}),(0,te.jsx)(be,{value:E.description,onChange:A=>$(M=>({...M,description:A.target.value})),className:"text-sm min-h-[60px]",placeholder:"Sprint description"}),(0,te.jsxs)("div",{className:"flex gap-2",children:[(0,te.jsxs)(N,{size:"sm",onClick:()=>zt(),className:"flex-1",children:[(0,te.jsx)(g.Check,{className:"h-3 w-3 mr-1"}),"Save"]}),(0,te.jsxs)(N,{size:"sm",variant:"outline",onClick:Et,className:"flex-1",children:[(0,te.jsx)(g.X,{className:"h-3 w-3 mr-1"}),"Cancel"]})]})]}):(0,te.jsxs)("div",{children:[(0,te.jsxs)("div",{className:"flex items-start justify-between",children:[(0,te.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,te.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,te.jsx)("h4",{className:"font-medium text-sm text-foreground truncate",children:a.name}),a.isActive&&(0,te.jsx)(U,{variant:"default",className:"text-xs bg-green-100 text-green-800 border-green-200",children:"Active"})]}),(0,te.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2 mb-2",children:a.description}),(0,te.jsxs)("div",{className:"flex items-center gap-3 text-xs text-muted-foreground",children:[(0,te.jsxs)("span",{className:"flex items-center gap-1",children:[(0,te.jsx)(g.CalendarDays,{className:"h-3 w-3"}),new Date(a.startDate).toLocaleDateString()]}),(0,te.jsxs)("span",{className:"flex items-center gap-1",children:[(0,te.jsx)(g.User,{className:"h-3 w-3"}),b," tasks"]})]})]}),(0,te.jsxs)("div",{className:"flex items-center gap-1 ml-2",children:[(0,te.jsx)(N,{size:"sm",variant:"ghost",onClick:()=>Fe(a),className:"h-6 w-6 p-0",children:(0,te.jsx)(g.Edit2,{className:"h-3 w-3"})}),a.id!=="backlog"&&a.id!=="all-tasks"&&(0,te.jsx)(N,{size:"sm",variant:"ghost",onClick:()=>l(a.id),className:"h-6 w-6 p-0 text-destructive hover:text-destructive",children:(0,te.jsx)(g.Trash2,{className:"h-3 w-3"})})]})]}),(0,te.jsx)("div",{className:"flex items-center justify-between mt-2",children:(0,te.jsx)(N,{variant:d?"default":"outline",size:"sm",className:"text-xs w-full h-8 flex items-center justify-center cursor-pointer",onClick:()=>Ge(a.id),disabled:!d&&m.length>=3,children:(0,te.jsx)("span",{className:"pointer-events-none select-none",children:d?"Deselect":m.length>=3?"Limit Reached":"Select"})})})]})},a.id)}):(0,te.jsxs)("div",{className:"text-center py-8 text-muted-foreground",children:[(0,te.jsx)(g.Calendar,{className:"h-8 w-8 mx-auto mb-2 opacity-50"}),(0,te.jsxs)("p",{className:"text-sm",children:['No sprints found for "',oe,'" filter']}),(0,te.jsx)(N,{variant:"link",size:"sm",onClick:()=>de("all"),className:"text-xs",children:"Show all sprints"})]})}),m.length===0&&(0,te.jsx)("div",{className:"mt-4 p-4 bg-muted/50 rounded-lg border-2 border-dashed border-border",children:(0,te.jsxs)("div",{className:"text-center",children:[(0,te.jsx)(g.Calendar,{className:"h-6 w-6 mx-auto mb-2 text-muted-foreground"}),(0,te.jsx)("p",{className:"text-sm text-muted-foreground font-medium",children:"Select sprints to start planning"}),(0,te.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Choose up to 3 sprints to view alongside your backlog"})]})})]})]})})]}),(0,te.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 h-full flex-1 min-h-0",children:[(0,te.jsx)("div",{className:"lg:col-span-1",children:(0,te.jsxs)(ee,{className:"p-4 h-full bg-card border-l-4 border-l-gray-400 shadow-sm hover:shadow-md transition-shadow duration-200 flex flex-col",onDragOver:je,onDragEnter:()=>$e("backlog"),onDragLeave:We,onDrop:a=>Ue(a,"backlog"),style:{height:_>0?`calc(100vh - ${_+200}px)`:"calc(100vh - 16rem)"},children:[(0,te.jsxs)("div",{className:"flex items-center justify-between mb-4 flex-shrink-0",children:[(0,te.jsx)("h3",{className:"font-semibold text-foreground select-none text-lg",children:"Backlog"}),(0,te.jsxs)("div",{className:"flex items-center gap-2",children:[(0,te.jsxs)(U,{variant:"secondary",className:"bg-muted text-muted-foreground",children:[ne.length," tasks"]}),(0,te.jsxs)(U,{variant:"outline",className:"bg-gray-50 text-gray-700 border-gray-200",children:[Tt," pts"]})]})]}),(0,te.jsx)("div",{className:`flex-1 overflow-y-auto space-y-3 min-h-0 p-3 rounded transition-colors ${w==="backlog"?"bg-primary/10":""}`,children:(()=>{let{tasksByEpic:a,unassignedTasks:d}=se(ne);return(0,te.jsxs)(te.Fragment,{children:[Object.entries(a).map(([b,h])=>{let A=q(b);if(!A)return null;let M=y.has(b);return(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1 bg-muted/50 rounded text-xs cursor-pointer hover:bg-muted/70 transition-colors",onClick:()=>we(b),children:[(0,te.jsx)("div",{className:`w-3 h-3 rounded-full ${A.color}`}),(0,te.jsx)("span",{className:"font-medium text-muted-foreground",children:A.name}),(0,te.jsxs)("span",{className:"text-muted-foreground",children:["(",h.length,")"]}),(0,te.jsx)("div",{className:"ml-auto",children:M?(0,te.jsx)(g.ChevronDown,{className:"h-3 w-3 text-muted-foreground"}):(0,te.jsx)(g.ChevronUp,{className:"h-3 w-3 text-muted-foreground"})})]}),!M&&(0,te.jsx)("div",{className:"space-y-2 pl-2",children:h.map(B=>(0,te.jsx)(pe,{task:B},B.id))})]},b)}),d.length>0&&(()=>{let b=y.has("no-epic");return(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1 bg-muted/50 rounded text-xs cursor-pointer hover:bg-muted/70 transition-colors",onClick:()=>we("no-epic"),children:[(0,te.jsx)("div",{className:"w-3 h-3 rounded-full bg-gray-400"}),(0,te.jsx)("span",{className:"font-medium text-muted-foreground",children:"No Epic"}),(0,te.jsxs)("span",{className:"text-muted-foreground",children:["(",d.length,")"]}),(0,te.jsx)("div",{className:"ml-auto",children:b?(0,te.jsx)(g.ChevronDown,{className:"h-3 w-3 text-muted-foreground"}):(0,te.jsx)(g.ChevronUp,{className:"h-3 w-3 text-muted-foreground"})})]}),!b&&(0,te.jsx)("div",{className:"space-y-2 pl-2",children:d.map(h=>(0,te.jsx)(pe,{task:h},h.id))})]})})(),ne.length===0&&(0,te.jsx)("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here to move to backlog"}),ne.length>0&&Object.keys(a).length===0&&d.length===0&&(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)("div",{className:"text-xs text-muted-foreground mb-2",children:"Direct backlog tasks:"}),ne.map(b=>(0,te.jsx)(pe,{task:b},b.id))]})]})})()})]})}),V.map(a=>{let d=e.filter(h=>h.sprintId===a.id),b=d.reduce((h,A)=>h+(A.points||0),0);return(0,te.jsxs)(ee,{className:"p-4 h-full bg-card border-l-4 border-l-blue-500 shadow-sm hover:shadow-md transition-shadow duration-200 flex flex-col",onDragOver:je,onDragEnter:()=>$e(a.id),onDragLeave:We,onDrop:h=>Ue(h,a.id),style:{height:_>0?`calc(100vh - ${_+200}px)`:"calc(100vh - 16rem)"},children:[(0,te.jsxs)("div",{className:"flex items-center justify-between mb-4 flex-shrink-0",children:[(0,te.jsxs)("div",{children:[(0,te.jsx)("h3",{className:"font-semibold text-foreground select-none text-lg",children:a.name}),a.isActive&&(0,te.jsx)("span",{className:"text-xs text-success font-medium select-none",children:"Active Sprint"})]}),(0,te.jsxs)("div",{className:"flex items-center gap-2",children:[(0,te.jsxs)(U,{variant:"secondary",className:"bg-muted text-muted-foreground",children:[d.length," tasks"]}),(0,te.jsxs)(U,{variant:"outline",className:"bg-blue-50 text-blue-700 border-blue-200",children:[b," pts"]}),(0,te.jsx)(N,{size:"sm",variant:"ghost",onClick:()=>Fe(a),className:"h-6 px-2",children:(0,te.jsx)(g.Edit2,{className:"h-3 w-3"})}),a.id!=="backlog"&&a.id!=="all-tasks"&&(0,te.jsx)(N,{size:"sm",variant:"ghost",onClick:()=>l(a.id),className:"h-6 px-2 text-destructive hover:text-destructive",children:(0,te.jsx)(g.Trash2,{className:"h-3 w-3"})})]})]}),(0,te.jsx)("div",{className:"flex-1 overflow-y-auto space-y-3 min-h-0",children:(()=>{let{tasksByEpic:h,unassignedTasks:A}=se(d);return(0,te.jsxs)(te.Fragment,{children:[Object.entries(h).map(([M,B])=>{let Re=q(M);if(!Re)return null;let qe=y.has(M);return(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1 bg-muted/50 rounded text-xs cursor-pointer hover:bg-muted/70 transition-colors",onClick:()=>we(M),children:[(0,te.jsx)("div",{className:`w-3 h-3 rounded-full ${Re.color}`}),(0,te.jsx)("span",{className:"font-medium text-muted-foreground",children:Re.name}),(0,te.jsxs)("span",{className:"text-muted-foreground",children:["(",B.length,")"]}),(0,te.jsx)("div",{className:"ml-auto",children:qe?(0,te.jsx)(g.ChevronDown,{className:"h-3 w-3 text-muted-foreground"}):(0,te.jsx)(g.ChevronUp,{className:"h-3 w-3 text-muted-foreground"})})]}),!qe&&(0,te.jsx)("div",{className:"space-y-2 pl-2",children:B.map(Je=>(0,te.jsx)(pe,{task:Je},Je.id))})]},M)}),A.length>0&&(()=>{let M=y.has("no-epic");return(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1 bg-muted/50 rounded text-xs cursor-pointer hover:bg-muted/70 transition-colors",onClick:()=>we("no-epic"),children:[(0,te.jsx)("div",{className:"w-3 h-3 rounded-full bg-gray-400"}),(0,te.jsx)("span",{className:"font-medium text-muted-foreground",children:"No Epic"}),(0,te.jsxs)("span",{className:"text-muted-foreground",children:["(",A.length,")"]}),(0,te.jsx)("div",{className:"ml-auto",children:M?(0,te.jsx)(g.ChevronDown,{className:"h-3 w-3 text-muted-foreground"}):(0,te.jsx)(g.ChevronUp,{className:"h-3 w-3 text-muted-foreground"})})]}),!M&&(0,te.jsx)("div",{className:"space-y-2 pl-2",children:A.map(B=>(0,te.jsx)(pe,{task:B},B.id))})]})})(),d.length===0&&(0,te.jsx)("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here"})]})})()})]},a.id)})]}),(0,te.jsx)(Dt,{isOpen:O,onClose:()=>C(!1),onAddSprint:At})]})})]})};0&&(module.exports={PlanningView});
|
|
5
|
+
"use strict";var Lt=Object.create;var ye=Object.defineProperty;var At=Object.getOwnPropertyDescriptor;var Bt=Object.getOwnPropertyNames;var Ht=Object.getPrototypeOf,It=Object.prototype.hasOwnProperty;var Ot=(e,r)=>{for(var o in r)ye(e,o,{get:r[o],enumerable:!0})},Xe=(e,r,o,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of Bt(r))!It.call(e,s)&&s!==o&&ye(e,s,{get:()=>r[s],enumerable:!(a=At(r,s))||a.enumerable});return e};var G=(e,r,o)=>(o=e!=null?Lt(Ht(e)):{},Xe(r||!e||!e.__esModule?ye(o,"default",{value:e,enumerable:!0}):o,e)),Vt=e=>Xe(ye({},"__esModule",{value:!0}),e);var Rr={};Ot(Rr,{PlanningView:()=>Pr});module.exports=Vt(Rr);var T=require("react");var Y=G(require("react"));var at=require("clsx");var Te="-",_t=e=>{let r=Ft(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:d=>{let l=d.split(Te);return l[0]===""&&l.length!==1&&l.shift(),Qe(l,r)||Gt(d)},getConflictingClassGroupIds:(d,l)=>{let p=o[d]||[];return l&&a[d]?[...p,...a[d]]:p}}},Qe=(e,r)=>{if(e.length===0)return r.classGroupId;let o=e[0],a=r.nextPart.get(o),s=a?Qe(e.slice(1),a):void 0;if(s)return s;if(r.validators.length===0)return;let i=e.join(Te);return r.validators.find(({validator:d})=>d(i))?.classGroupId},Ke=/^\[(.+)\]$/,Gt=e=>{if(Ke.test(e)){let r=Ke.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},Ft=e=>{let{theme:r,prefix:o}=e,a={nextPart:new Map,validators:[]};return $te(Object.entries(e.classGroups),o).forEach(([i,d])=>{Re(d,a,i,r)}),a},Re=(e,r,o,a)=>{e.forEach(s=>{if(typeof s=="string"){let i=s===""?r:Ze(r,s);i.classGroupId=o;return}if(typeof s=="function"){if(jt(s)){Re(s(a),r,o,a);return}r.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([i,d])=>{Re(d,Ze(r,i),o,a)})})},Ze=(e,r)=>{let o=e;return r.split(Te).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},jt=e=>e.isThemeGetter,$te=(e,r)=>r?e.map(([o,a])=>{let s=a.map(i=>typeof i=="string"?r+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([d,l])=>[r+d,l])):i);return[o,s]}):e,Wt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,a=new Map,s=(i,d)=>{o.set(i,d),r++,r>e&&(r=0,a=o,o=new Map)};return{get(i){let d=o.get(i);if(d!==void 0)return d;if((d=a.get(i))!==void 0)return s(i,d),d},set(i,d){o.has(i)?o.set(i,d):s(i,d)}}},Ye="!",Ut=e=>{let{separator:r,experimentalParseClassName:o}=e,a=r.length===1,s=r[0],i=r.length,d=l=>{let p=[],D=0,N=0,E;for(let h=0;h<l.length;h++){let S=l[h];if(D===0){if(S===s&&(a||l.slice(h,h+i)===r)){p.push(l.slice(N,h)),N=h+i;continue}if(S==="/"){E=h;continue}}S==="["?D++:S==="]"&&D--}let z=p.length===0?l:l.substring(N),A=z.startsWith(Ye),B=A?z.substring(1):z,y=E&&E>N?E-N:void 0;return{modifiers:p,hasImportantModifier:A,baseClassName:B,maybePostfixModifierPosition:y}};return o?l=>o({className:l,parseClassName:d}):d},qt=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(a=>{a[0]==="["?(r.push(...o.sort(),a),o=[]):o.push(a)}),r.push(...o.sort()),r},Jt=e=>({cache:Wt(e.cacheSize),parseClassName:Ut(e),..._t(e)}),Xt=/\s+/,Kt=(e,r)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:s}=r,i=[],d=e.trim().split(Xt),l="";for(let p=d.length-1;p>=0;p-=1){let D=d[p],{modifiers:N,hasImportantModifier:E,baseClassName:z,maybePostfixModifierPosition:A}=o(D),B=!!A,y=a(B?z.substring(0,A):z);if(!y){if(!B){l=D+(l.length>0?" "+l:l);continue}if(y=a(z),!y){l=D+(l.length>0?" "+l:l);continue}B=!1}let h=qt(N).join(":"),S=E?h+Ye:h,R=S+y;if(i.includes(R))continue;i.push(R);let j=s(y,B);for(let M=0;M<j.length;++M){let $=j[M];i.push(S+$)}l=D+(l.length>0?" "+l:l)}return l};function Zt(){let e=0,r,o,a="";for(;e<arguments.length;)(r=arguments[e++])&&(o=et(r))&&(a&&(a+=" "),a+=o);return a}var et=e=>{if(typeof e=="string")return e;let r,o="";for(let a=0;a<e.length;a++)e[a]&&(r=et(e[a]))&&(o&&(o+=" "),o+=r);return o};function Qt(e,...r){let o,a,s,i=d;function d(p){let D=r.reduce((N,E)=>E(N),e());return o=Jt(D),a=o.cache.get,s=o.cache.set,i=l,l(p)}function l(p){let D=a(p);if(D)return D;let N=Kt(p,o);return s(p,N),N}return function(){return i(Zt.apply(null,arguments))}}var v=e=>{let r=o=>o[e]||[];return r.isThemeGetter=!0,r},tt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Yt=/^\d+\/\d+$/,er=new Set(["px","full","screen"]),tr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rr=/\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$/,or=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ar=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,W=e=>ne(e)||er.has(e)||Yt.test(e),J=e=>se(e,"length",ur),ne=e=>!!e&&!Number.isNaN(Number(e)),Pe=e=>se(e,"number",ne),me=e=>!!e&&Number.isInteger(Number(e)),sr=e=>e.endsWith("%")&&ne(e.slice(0,-1)),m=e=>tt.test(e),X=e=>tr.test(e),ir=new Set(["length","size","percentage"]),lr=e=>se(e,ir,rt),dr=e=>se(e,"position",rt),cr=new Set(["image","url"]),pr=e=>se(e,cr,gr),mr=e=>se(e,"",fr),ue=()=>!0,se=(e,r,o)=>{let a=tt.exec(e);return a?a[1]?typeof r=="string"?a[1]===r:r.has(a[1]):o(a[2]):!1},ur=e=>rr.test(e)&&!or.test(e),rt=()=>!1,fr=e=>ar.test(e),gr=e=>nr.test(e);var br=()=>{let e=v("colors"),r=v("spacing"),o=v("blur"),a=v("brightness"),s=v("borderColor"),i=v("borderRadius"),d=v("borderSpacing"),l=v("borderWidth"),p=v("contrast"),D=v("grayscale"),N=v("hueRotate"),E=v("invert"),z=v("gap"),A=v("gradientColorStops"),B=v("gradientColorStopPositions"),y=v("inset"),h=v("margin"),S=v("opacity"),R=v("padding"),j=v("saturate"),M=v("scale"),$=v("sepia"),oe=v("skew"),le=v("space"),K=v("translate"),Z=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",m,r],g=()=>[m,r],ve=()=>["",W,J],Q=()=>["auto",ne,m],he=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ae=()=>["solid","dashed","dotted","double","none"],xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",m],pe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[ne,m];return{cacheSize:500,separator:":",theme:{colors:[ue],spacing:[W,J],blur:["none","",X,m],brightness:H(),borderColor:[e],borderRadius:["none","","full",X,m],borderSpacing:g(),borderWidth:ve(),contrast:H(),grayscale:q(),hueRotate:H(),invert:q(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[sr,J],inset:de(),margin:de(),opacity:H(),padding:g(),saturate:H(),scale:H(),sepia:q(),skew:H(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[X]}],"break-after":[{"break-after":pe()}],"break-before":[{"break-before":pe()}],"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:[...he(),m]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",me,m]}],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",m]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",me,m]}],"grid-cols":[{"grid-cols":[ue]}],"col-start-end":[{col:["auto",{span:["full",me,m]},m]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[ue]}],"row-start-end":[{row:["auto",{span:[me,m]},m]}],"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",m]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",m]}],gap:[{gap:[z]}],"gap-x":[{"gap-x":[z]}],"gap-y":[{"gap-y":[z]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],te:[{te:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[le]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[le]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",m,r]}],"min-w":[{"min-w":[m,r,"min","max","fit"]}],"max-w":[{"max-w":[m,r,"none","full","min","max","fit","prose",{screen:[X]},X]}],h:[{h:[m,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[m,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[m,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[m,r,"auto","min","max","fit"]}],"font-size":[{text:["base",X,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pe]}],"font-family":[{font:[ue]}],"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",m]}],"line-clamp":[{"line-clamp":["none",ne,Pe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,m]}],"list-image":[{"list-image":["none",m]}],"list-style-type":[{list:["none","disc","decimal",m]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,J]}],"underline-offset":[{"underline-offset":["auto",W,m]}],"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",m]}],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",m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...he(),dr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lr]}],"bg-image":[{bg:["none",{"gradient-to":["te","tr","r","br","b","bl","l","tl"]},pr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-te":[{"rounded-te":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-te":[{"border-te":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...ae(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:ae()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-te":[{"border-te":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ae()]}],"outline-offset":[{"outline-offset":[W,m]}],"outline-w":[{outline:[W,J]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[W,J]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",X,mr]}],"shadow-color":[{shadow:[ue]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":xe()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",X,m]}],grayscale:[{grayscale:[D]}],"hue-rotate":[{"hue-rotate":[N]}],invert:[{invert:[E]}],saturate:[{saturate:[j]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[D]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[N]}],"backdrop-invert":[{"backdrop-invert":[E]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"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",m]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[me,m]}],"translate-x":[{"translate-x":[K]}],"translate-y":[{"translate-y":[K]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",m]}],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",m]}],"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-te":[{"scroll-te":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",m]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,J,Pe]}],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","te","mr","mb","ml"],mx:["mr","ml"],my:["te","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-te","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-te":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-te","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-te","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-te","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-te","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-te","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-te","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 ot=Qt(br);function u(...e){return ot((0,at.clsx)(e))}var te=require("react/jsx-runtime"),ee=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:u("rounded-xl border bg-card text-card-foreground shadow",e),...r}));ee.displayName="Card";var vr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:u("flex flex-col space-y-1.5 p-6",e),...r}));vr.displayName="CardHeader";var hr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:u("font-semibold leading-none tracking-tight",e),...r}));hr.displayName="CardTitle";var xr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:u("text-sm text-muted-foreground",e),...r}));xr.displayName="CardDescription";var yr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:u("p-6 pt-0",e),...r}));yr.displayName="CardContent";var wr=Y.forwardRef(({className:e,...r},o)=>(0,te.jsx)("div",{ref:o,className:u("flex items-center p-6 pt-0",e),...r}));wr.displayName="CardFooter";var nt=require("class-variance-authority");var Nr=(0,nt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function re({className:e,variant:r,...o}){return(0,te.jsx)("div",{className:u(Nr({variant:r}),e),...o})}var it=require("@radix-ui/react-slot"),dt=G(require("react")),we=(0,nt.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"}}}),w=dt.forwardRef(({asChild:e=!1,className:r,size:o,variant:a,...s},i)=>(0,te.jsx)(e?it.Slot:"button",{className:u(we({className:r,size:o,variant:a})),ref:i,...s}));w.displayName="Button";var pt=G(require("react"));var fe=pt.forwardRef(({className:e,type:r,...o},a)=>(0,te.jsx)("input",{type:r,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:a,...o}));fe.displayName="Input";var ut=G(require("react")),ge=ut.forwardRef(({className:e,...r},o)=>(0,te.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,...r}));ge.displayName="Textarea";var b=require("lucide-react");var be=G(require("react")),k=G(require("@radix-ui/react-dialog"));var bt=k.Root;var Cr=k.Portal;var vt=be.forwardRef(({className:e,...r},o)=>(0,te.jsx)(k.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),...r}));vt.displayName=k.Overlay.displayName;var ze=be.forwardRef(({className:e,children:r,...o},a)=>(0,te.jsxs)(Cr,{children:[(0,te.jsx)(vt,{}),(0,te.jsxs)(k.Content,{ref:a,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:[r,(0,te.jsxs)(k.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,te.jsx)(b.X,{className:"h-4 w-4"}),(0,te.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));ze.displayName=k.Content.displayName;var Me=({className:e,...r})=>(0,te.jsx)("div",{className:u("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});Me.displayName="DialogHeader";var Dr=({className:e,...r})=>(0,te.jsx)("div",{className:u("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});Dr.displayName="DialogFooter";var Ee=be.forwardRef(({className:e,...r},o)=>(0,te.jsx)(k.Title,{ref:o,className:u("text-lg font-semibold leading-none tracking-tight",e),...r}));Ee.displayName=k.Title.displayName;var Sr=be.forwardRef(({className:e,...r},o)=>(0,te.jsx)(k.Description,{ref:o,className:u("text-sm text-muted-foreground",e),...r}));Sr.displayName=k.Description.displayName;var ht=G(require("react")),Le=G(require("@radix-ui/react-label"));var kr=(0,nt.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ie=ht.forwardRef(({className:e,...r},o)=>(0,te.jsx)(Le.Root,{ref:o,className:u(kr(),e),...r}));ie.displayName=Le.Root.displayName;var wt=require("react-day-picker");function Ne({className:e,classNames:r,showOutsideDays:o=!0,...a}){return(0,te.jsx)(wt.DayPicker,{showOutsideDays:o,weekStartsOn:1,className:u("p-3",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:u(we({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full te-2",cell:u("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",a.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:u(we({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...r},...a})}Ne.displayName="Calendar";var Ct=G(require("react")),F=G(require("@radix-ui/react-popover"));var Be=F.Root,He=F.Trigger;var Ce=Ct.forwardRef(({className:e,align:r="center",sideOffset:o=4,...a},s)=>(0,te.jsx)(F.Portal,{children:(0,te.jsx)(F.Content,{ref:s,align:r,sideOffset:o,className:u("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",e),...a})}));Ce.displayName=F.Content.displayName;var Oe=require("date-fns");var St=({isOpen:e,onClose:r,onAddSprint:o})=>{let[a,s]=(0,T.useState)({name:"",description:"",startDate:void 0,endDate:void 0}),i=l=>{l.preventDefault(),!(!a.name||!a.startDate||!a.endDate)&&(o({name:a.name,description:a.description,startDate:a.startDate.toISOString(),endDate:a.endDate.toISOString(),createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),s({name:"",description:"",startDate:void 0,endDate:void 0}),r())},d=()=>{s({name:"",description:"",startDate:void 0,endDate:void 0}),r()};return(0,te.jsx)(bt,{open:e,onOpenChange:d,children:(0,te.jsxs)(ze,{className:"sm:max-w-md",children:[(0,te.jsx)(Me,{children:(0,te.jsx)(Ee,{children:"Add New Sprint"})}),(0,te.jsxs)("form",{onSubmit:i,className:"space-y-4",children:[(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)(ie,{htmlFor:"name",children:"Sprint Name *"}),(0,te.jsx)(fe,{id:"name",value:a.name,onChange:l=>s(p=>({...p,name:l.target.value})),placeholder:"e.g., Sprint 3",required:!0})]}),(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)(ie,{htmlFor:"description",children:"Description"}),(0,te.jsx)(ge,{id:"description",value:a.description,onChange:l=>s(p=>({...p,description:l.target.value})),placeholder:"Brief description of sprint goals",rows:3})]}),(0,te.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)(ie,{children:"Start Date *"}),(0,te.jsxs)(Be,{children:[(0,te.jsx)(He,{asChild:!0,children:(0,te.jsxs)(w,{variant:"outline",className:u("w-full justify-start text-left font-normal",!a.startDate&&"text-muted-foreground"),children:[(0,te.jsx)(b.CalendarIcon,{className:"mr-2 h-4 w-4"}),a.startDate?(0,Oe.format)(a.startDate,"PPP"):"Pick a date"]})}),(0,te.jsx)(Ce,{className:"w-auto p-0",align:"start",children:(0,te.jsx)(Ne,{mode:"single",selected:a.startDate,onSelect:l=>s(p=>({...p,startDate:l})),initialFocus:!0})})]})]}),(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsx)(ie,{children:"End Date *"}),(0,te.jsxs)(Be,{children:[(0,te.jsx)(He,{asChild:!0,children:(0,te.jsxs)(w,{variant:"outline",className:u("w-full justify-start text-left font-normal",!a.endDate&&"text-muted-foreground"),children:[(0,te.jsx)(b.CalendarIcon,{className:"mr-2 h-4 w-4"}),a.endDate?(0,Oe.format)(a.endDate,"PPP"):"Pick a date"]})}),(0,te.jsx)(Ce,{className:"w-auto p-0",align:"start",children:(0,te.jsx)(Ne,{mode:"single",selected:a.endDate,onSelect:l=>s(p=>({...p,endDate:l})),initialFocus:!0,disabled:l=>a.startDate?l<a.startDate:!1})})]})]})]}),(0,te.jsxs)("div",{className:"flex justify-end gap-3 pt-4",children:[(0,te.jsx)(w,{type:"button",variant:"outline",onClick:d,children:"Cancel"}),(0,te.jsx)(w,{type:"submit",disabled:!a.name||!a.startDate||!a.endDate,children:"Add Sprint"})]})]})]})})};var Pt=require("motion/react");function kt(e,r){let[o,a]=(0,T.useState)(()=>{if(typeof window>"u")return r;try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):r}catch{return r}}),s=i=>{try{a(i),typeof window<"u"&&window.localStorage.setItem(e,JSON.stringify(i))}catch{}};return(0,T.useEffect)(()=>{s(o)},[]),[o,s]}var Se=require("react-icons/fa");function Rt({title:e,description:r,badge:o,primaryAction:a,secondaryAction:s,gradient:i,children:d,className:l}){let[p,D]=kt(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!s&&!r),N=!s&&!r||p;return(0,te.jsxs)(Pt.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${i} p-8 text-white ${l||""}`,children:[(0,te.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,te.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,te.jsx)(re,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:o}),(0,te.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,te.jsxs)("div",{className:"flex items-center gap-3",children:[N&&a&&(0,te.jsx)(w,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:a.onClick,children:a.label}),(s||r)&&(0,te.jsx)("button",{"aria-label":p?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>D(!p),style:{lineHeight:0},children:p?(0,te.jsx)(Se.FaChevronDown,{size:22}):(0,te.jsx)(Se.FaChevronUp,{size:22})})]})]}),!N&&(0,te.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,te.jsxs)("div",{className:"space-y-4",children:[(0,te.jsx)("p",{className:"max-w-[600px] text-white/80",children:r}),(0,te.jsxs)("div",{className:"flex flex-wrap gap-3",children:[a&&(0,te.jsx)(w,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:a.onClick,children:a.label}),s&&(0,te.jsx)(w,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:s.onClick,children:s.label})]})]}),d&&(0,te.jsx)("div",{className:"hidden lg:block",children:d})]})]})}var U=e=>e?typeof e=="number"?e:typeof e=="object"&&e&&"id"in e?e.id:0:0;var Pr=({tasks:e,epics:r,sprints:o,onUpdateTask:a,onTaskClick:s,onAddSprint:i,onUpdateSprint:d,onDeleteSprint:l})=>{let[p,D]=(0,T.useState)([]),[N,E]=(0,T.useState)(new Set),[z,A]=(0,T.useState)(null),[B,y]=(0,T.useState)(!1),[h,S]=(0,T.useState)(null),[R,j]=(0,T.useState)(null),[M,$]=(0,T.useState)({name:"",description:"",startDate:"",endDate:"",isActive:!1}),[oe,le]=(0,T.useState)("upcoming"),[K,Z]=(0,T.useState)(!1),[V,de]=(0,T.useState)(0),g=(0,T.useRef)(null),ve=(0,T.useRef)(null);(0,T.useEffect)(()=>{let n=()=>{g.current&&de(g.current.offsetHeight)};n();let c=new ResizeObserver(n);return g.current&&c.observe(g.current),()=>c.disconnect()},[]);let Q=n=>r.find(c=>c.id===Number(n)),he=n=>o.find(c=>c.id===Number(n)),ae=n=>{let c={high:"bg-red-100 text-red-800 border-red-200",medium:"bg-orange-100 text-orange-800 border-orange-200",low:"bg-green-100 text-green-800 border-green-200"};return c[n]||c.medium},xe=n=>{let c=n.trim().split(" ");if(c.length===1)return c[0];let C=c[0],x=c[c.length-1][0].toUpperCase();return`${C} ${x}`},ce=n=>{let c={},C=[];return n.forEach(x=>{x.epic?(c[U(x.epic)]||(c[U(x.epic)]=[]),c[U(x.epic)].push(x)):C.push(x)}),{tasksByEpic:c,unassignedTasks:C}},q=o.filter(n=>n.id!==1&&n.id!==2),pe=q.filter(n=>{switch(oe){default:return!0}}),H=q.filter(n=>p.includes(n.id.toString())),Ve=n=>{D(c=>c.includes(n)?c.filter(C=>C!==n):c.length<3?[...c,n]:c)},_e=n=>{E(c=>{let C=new Set(c);return C.has(n)?C.delete(n):C.add(n),C})},Tt=n=>{i(n),y(!1)},Ge=n=>{j(n.id.toString()),$({name:n.name,description:n.description||"",startDate:n.startDate?new Date(n.startDate).toISOString().split("T")[0]:n.startDate,endDate:n.endDate?new Date(n.endDate).toISOString().split("T")[0]:n.endDate,isActive:!1})},zt=()=>{R&&(d(R,{name:M.name,description:M.description,startDate:M.startDate,endDate:M.endDate}),j(null))},Mt=()=>{j(null),$({name:"",description:"",startDate:"",endDate:"",isActive:!1})},Et=(n,c)=>{A(c),n.dataTransfer.effectAllowed="move"},Fe=n=>{n.preventDefault(),n.dataTransfer.dropEffect="move"},je=n=>{S(n)},$e=()=>{S(null)},We=(n,c)=>{if(n.preventDefault(),S(null),!z)return;let C=U(z.sprint)||void 0,x=c==="backlog"?void 0:c;A(null)},Ue=({task:n,showSprint:c=!1})=>{let C=n.epic?Q(U(n.epic).toString()):null,x=n.sprint?he(U(n.sprint).toString()):null;return(0,te.jsx)(ee,{className:"p-3 cursor-grab active:cursor-grabbing hover:shadow-md transition-all duration-200 border border-border bg-card hover:bg-accent/50",draggable:!0,onDragStart:_=>{_.dataTransfer.effectAllowed="move",_.dataTransfer.setData("text/plain",n.id.toString()),Et(_,n)},onClick:_=>{z===null&&s(n)},style:{userSelect:"none"},children:(0,te.jsxs)("div",{className:"space-y-2 pointer-events-none",children:[(0,te.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,te.jsx)("h4",{className:"font-medium text-sm text-foreground line-clamp-1",children:n.name}),(0,te.jsx)(re,{className:`text-xs ${ae(n.priority||"medium")}`,children:n.priority?.[0]?.toUpperCase()})]}),(0,te.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,te.jsxs)("div",{className:"flex items-center gap-1",children:[C&&(0,te.jsx)("div",{className:`w-2 h-2 rounded-full ${C.color}`}),(0,te.jsx)("span",{className:"text-muted-foreground truncate",children:C?.name})]}),(0,te.jsx)("span",{className:"text-muted-foreground",children:xe(n.assignee?.value?.name)})]}),c&&x&&(0,te.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,te.jsx)(b.Calendar,{className:"h-3 w-3"}),(0,te.jsx)("span",{children:x.name})]})]})})};return(0,te.jsxs)("div",{ref:ve,className:"h-full flex flex-col px-2 md:px-4 py-4",children:[(0,te.jsx)("div",{ref:g,className:"flex-shrink-0",children:(0,te.jsx)(Rt,{title:"Sprint Planning",description:"Plan and organize tasks across sprints and manage your development timeline.",gradient:"bg-gradient-to-r from-orange-600 via-amber-600 to-yellow-600",primaryAction:{label:"Add sprint",onClick:()=>y(!0)}})}),(0,te.jsx)("div",{className:"flex-1 min-h-0 te-8",children:(0,te.jsxs)("div",{className:"h-full",style:{height:V>0?`calc(100vh - ${V+120}px)`:"calc(100vh - 12rem)"},children:[(0,te.jsxs)("div",{className:"mb-4",children:[(0,te.jsx)(ee,{className:"p-3 bg-card shadow-sm",children:(0,te.jsxs)("div",{className:"flex items-center justify-between",children:[(0,te.jsxs)("div",{className:"flex items-center gap-3",children:[(0,te.jsx)("div",{children:(0,te.jsx)("h3",{className:"font-semibold text-foreground text-sm",children:"Sprint Board"})}),p.length>0&&(0,te.jsx)("div",{className:"flex items-center gap-2",children:(0,te.jsx)("div",{className:"flex flex-wrap gap-1",children:H.map(n=>(0,te.jsxs)("div",{className:"flex items-center gap-1 bg-primary/10 text-primary px-2 py-0.5 rounded text-xs",children:[(0,te.jsx)("span",{className:"max-w-[80px] truncate",children:n.name}),(0,te.jsx)("button",{onClick:()=>Ve(n.id.toString()),className:"ml-0.5 hover:bg-primary/20 h-8 rounded p-0.5",children:(0,te.jsx)(b.X,{className:"h-4 w-4"})})]},n.id))})})]}),(0,te.jsxs)("div",{className:"flex items-center gap-2",children:[(0,te.jsxs)(w,{onClick:()=>y(!0),className:"bg-primary hover:bg-primary/90 text-primary-foreground gap-1",size:"sm",children:[(0,te.jsx)(b.Plus,{className:"h-3 w-3"}),"Add"]}),(0,te.jsxs)(w,{onClick:()=>Z(!K),variant:"outline",size:"sm",className:"gap-1",children:[(0,te.jsx)(b.Calendar,{className:"h-3 w-3"}),K?"Close":"Select"]})]})]})}),K&&(0,te.jsx)("div",{className:"fixed inset-0 bg-black/20 z-[5]",onClick:()=>Z(!1)}),(0,te.jsx)("div",{className:`fixed top-0 right-0 h-full w-80 bg-background border-l shadow-xl z-10 transition-all duration-300 ease-in-out ${K?"translate-x-0 opacity-100 visible":"translate-x-full opacity-0 invisible"}`,children:(0,te.jsxs)(ee,{className:"h-full rounded-none border-0 flex flex-col",children:[(0,te.jsxs)("div",{className:"p-4 border-b bg-muted/30 flex-shrink-0",children:[(0,te.jsxs)("div",{className:"flex items-center justify-between",children:[(0,te.jsx)("h3",{className:"font-semibold text-foreground text-base",children:"Select Sprints"}),(0,te.jsx)(w,{variant:"ghost",size:"sm",onClick:()=>Z(!1),className:"h-8 w-8 p-0",children:(0,te.jsx)(b.X,{className:"h-4 w-4"})})]}),(0,te.jsx)("p",{className:"text-sm text-muted-foreground te-1",children:"Choose up to 3 sprints to view in your planning board"})]}),(0,te.jsxs)("div",{className:"flex flex-col flex-1 p-4 min-h-0",children:[(0,te.jsx)("div",{className:"flex gap-1 mb-4 bg-muted p-1 rounded-lg",children:[{key:"all",label:"All",count:o.length},{key:"active",label:"Active"},{key:"upcoming",label:"Upcoming"}].map(n=>(0,te.jsxs)(w,{variant:oe===n.key?"default":"outline",size:"sm",onClick:()=>le(n.key),className:"text-xs h-8 px-3 flex-1",children:[n.label," (",n.count,")"]},n.key))}),(0,te.jsx)("div",{className:"space-y-2 flex-1 overflow-y-auto",children:pe.length>0?pe.map(n=>{let c=p.includes(n.id.toString()),C=e.filter(I=>U(I.sprint)===n.id).length,x=!c&&p.length<3;return(0,te.jsx)("div",{className:`p-3 rounded-lg border transition-all ${c?"bg-primary/10 border-primary/30":x?"bg-card border-border hover:border-primary/50":"bg-muted/30 border-border/30 opacity-60"}`,children:R===n.id.toString()?(0,te.jsxs)("div",{className:"space-y-3",children:[(0,te.jsx)(fe,{value:M.name,onChange:I=>$(O=>({...O,name:I.target.value})),className:"text-sm",placeholder:"Sprint name"}),(0,te.jsx)(ge,{value:M.description,onChange:I=>$(O=>({...O,description:I.target.value})),className:"text-sm min-h-[60px]",placeholder:"Sprint description"}),(0,te.jsxs)("div",{className:"flex gap-2",children:[(0,te.jsxs)(w,{size:"sm",onClick:()=>zt(),className:"flex-1",children:[(0,te.jsx)(b.Check,{className:"h-3 w-3 mr-1"}),"Save"]}),(0,te.jsxs)(w,{size:"sm",variant:"outline",onClick:Mt,className:"flex-1",children:[(0,te.jsx)(b.X,{className:"h-3 w-3 mr-1"}),"Cancel"]})]})]}):(0,te.jsxs)("div",{children:[(0,te.jsxs)("div",{className:"flex items-start justify-between",children:[(0,te.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,te.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,te.jsx)("h4",{className:"font-medium text-sm text-foreground truncate",children:n.name}),(0,te.jsx)(re,{variant:"default",className:"text-xs bg-green-100 text-green-800 border-green-200",children:"Active"})]}),(0,te.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2 mb-2",children:n.description}),(0,te.jsxs)("div",{className:"flex items-center gap-3 text-xs text-muted-foreground",children:[(0,te.jsxs)("span",{className:"flex items-center gap-1",children:[(0,te.jsx)(b.CalendarDays,{className:"h-3 w-3"}),new Date(n.startDate).toLocaleDateString()]}),(0,te.jsxs)("span",{className:"flex items-center gap-1",children:[(0,te.jsx)(b.User,{className:"h-3 w-3"}),C," tasks"]})]})]}),(0,te.jsxs)("div",{className:"flex items-center gap-1 ml-2",children:[(0,te.jsx)(w,{size:"sm",variant:"ghost",onClick:()=>Ge(n),className:"h-6 w-6 p-0",children:(0,te.jsx)(b.Edit2,{className:"h-3 w-3"})}),n.id!==1&&n.id!==2&&(0,te.jsx)(w,{size:"sm",variant:"ghost",onClick:()=>l(n.id.toString()),className:"h-6 w-6 p-0 text-destructive hover:text-destructive",children:(0,te.jsx)(b.Trash2,{className:"h-3 w-3"})})]})]}),(0,te.jsx)("div",{className:"flex items-center justify-between te-2",children:(0,te.jsx)(w,{variant:c?"default":"outline",size:"sm",className:"text-xs w-full h-8 flex items-center justify-center cursor-pointer",onClick:()=>Ve(n.id.toString()),disabled:!c&&p.length>=3,children:(0,te.jsx)("span",{className:"pointer-events-none select-none",children:c?"Deselect":p.length>=3?"Limit Reached":"Select"})})})]})},n.id)}):(0,te.jsxs)("div",{className:"text-center py-8 text-muted-foreground",children:[(0,te.jsx)(b.Calendar,{className:"h-8 w-8 mx-auto mb-2 opacity-50"}),(0,te.jsxs)("p",{className:"text-sm",children:['No sprints found for "',oe,'" filter']}),(0,te.jsx)(w,{variant:"link",size:"sm",onClick:()=>le("all"),className:"text-xs",children:"Show all sprints"})]})}),p.length===0&&(0,te.jsx)("div",{className:"te-4 p-4 bg-muted/50 rounded-lg border-2 border-dashed border-border",children:(0,te.jsxs)("div",{className:"text-center",children:[(0,te.jsx)(b.Calendar,{className:"h-6 w-6 mx-auto mb-2 text-muted-foreground"}),(0,te.jsx)("p",{className:"text-sm text-muted-foreground font-medium",children:"Select sprints to start planning"}),(0,te.jsx)("p",{className:"text-xs text-muted-foreground te-1",children:"Choose up to 3 sprints to view alongside your backlog"})]})})]})]})})]}),(0,te.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 h-full flex-1 min-h-0",children:[(0,te.jsx)("div",{className:"lg:col-span-1",children:(0,te.jsxs)(ee,{className:"p-4 h-full bg-card border-l-4 border-l-gray-400 shadow-sm hover:shadow-md transition-shadow duration-200 flex flex-col",onDragOver:Fe,onDragEnter:()=>je("backlog"),onDragLeave:$e,onDrop:n=>We(n,"backlog"),style:{height:V>0?`calc(100vh - ${V+200}px)`:"calc(100vh - 16rem)"},children:[(0,te.jsx)("div",{className:"flex items-center justify-between mb-4 flex-shrink-0",children:(0,te.jsx)("h3",{className:"font-semibold text-foreground select-none text-lg",children:"Backlog"})}),(0,te.jsx)("div",{className:`flex-1 overflow-y-auto space-y-3 min-h-0 p-3 rounded transition-colors ${h==="backlog"?"bg-primary/10":""}`,children:(0,te.jsx)(te.Fragment,{})})]})}),H.map(n=>{let c=e.filter(x=>U(x.sprint)===n.id),C=c.reduce((x,I)=>x+(I.storyPoints||0),0);return(0,te.jsxs)(ee,{className:"p-4 h-full bg-card border-l-4 border-l-blue-500 shadow-sm hover:shadow-md transition-shadow duration-200 flex flex-col",onDragOver:Fe,onDragEnter:()=>je(n.id.toString()),onDragLeave:$e,onDrop:x=>We(x,n.id.toString()),style:{height:V>0?`calc(100vh - ${V+200}px)`:"calc(100vh - 16rem)"},children:[(0,te.jsxs)("div",{className:"flex items-center justify-between mb-4 flex-shrink-0",children:[(0,te.jsx)("div",{children:(0,te.jsx)("h3",{className:"font-semibold text-foreground select-none text-lg",children:n.name})}),(0,te.jsxs)("div",{className:"flex items-center gap-2",children:[(0,te.jsxs)(re,{variant:"secondary",className:"bg-muted text-muted-foreground",children:[c.length," tasks"]}),(0,te.jsxs)(re,{variant:"outline",className:"bg-blue-50 text-blue-700 border-blue-200",children:[C," pts"]}),(0,te.jsx)(w,{size:"sm",variant:"ghost",onClick:()=>Ge(n),className:"h-6 px-2",children:(0,te.jsx)(b.Edit2,{className:"h-3 w-3"})})]})]}),(0,te.jsx)("div",{className:"flex-1 overflow-y-auto space-y-3 min-h-0",children:(()=>{let{tasksByEpic:x,unassignedTasks:I}=ce(c);return(0,te.jsxs)(te.Fragment,{children:[Object.entries(x).map(([O,_])=>{let ke=Q(O);if(!ke)return null;let qe=N.has(O);return(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1 bg-muted/50 rounded text-xs cursor-pointer hover:bg-muted/70 transition-colors",onClick:()=>_e(O),children:[(0,te.jsx)("div",{className:`w-3 h-3 rounded-full ${ke.color}`}),(0,te.jsx)("span",{className:"font-medium text-muted-foreground",children:ke.name}),(0,te.jsxs)("span",{className:"text-muted-foreground",children:["(",_.length,")"]}),(0,te.jsx)("div",{className:"ml-auto",children:qe?(0,te.jsx)(b.ChevronDown,{className:"h-3 w-3 text-muted-foreground"}):(0,te.jsx)(b.ChevronUp,{className:"h-3 w-3 text-muted-foreground"})})]}),!qe&&(0,te.jsx)("div",{className:"space-y-2 pl-2",children:_.map(Je=>(0,te.jsx)(Ue,{task:Je},Je.id))})]},O)}),I.length>0&&(()=>{let O=N.has("no-epic");return(0,te.jsxs)("div",{className:"space-y-2",children:[(0,te.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1 bg-muted/50 rounded text-xs cursor-pointer hover:bg-muted/70 transition-colors",onClick:()=>_e("no-epic"),children:[(0,te.jsx)("div",{className:"w-3 h-3 rounded-full bg-gray-400"}),(0,te.jsx)("span",{className:"font-medium text-muted-foreground",children:"No Epic"}),(0,te.jsxs)("span",{className:"text-muted-foreground",children:["(",I.length,")"]}),(0,te.jsx)("div",{className:"ml-auto",children:O?(0,te.jsx)(b.ChevronDown,{className:"h-3 w-3 text-muted-foreground"}):(0,te.jsx)(b.ChevronUp,{className:"h-3 w-3 text-muted-foreground"})})]}),!O&&(0,te.jsx)("div",{className:"space-y-2 pl-2",children:I.map(_=>(0,te.jsx)(Ue,{task:_},_.id))})]})})(),c.length===0&&(0,te.jsx)("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here"})]})})()})]},n.id)})]}),(0,te.jsx)(St,{isOpen:B,onClose:()=>y(!1),onAddSprint:Tt})]})})]})};0&&(module.exports={PlanningView});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-2IMVYO7X.mjs";import"../../chunk-NGX2VCHS.mjs";import"../../chunk-Z22NSJMF.mjs";import"../../chunk-UVHMI3PU.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as PlanningView};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BusinessUnit } from '../DigitalColleagues/types';
|
|
2
|
-
import type { Epic, Sprint, Project, Task } from '
|
|
2
|
+
import type { Epic, Sprint, Project, Task } from '../Foundary/types';
|
|
3
3
|
interface HomeProps {
|
|
4
4
|
title?: string;
|
|
5
5
|
businessUnits: BusinessUnit[];
|