cortex-react-components 2.9.2 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/{chunk-KYUPRUH5.mjs → chunk-2AWS5Z43.mjs} +1 -1
  2. package/dist/{chunk-IF3425JX.mjs → chunk-2VOOH4YJ.mjs} +1 -1
  3. package/dist/{chunk-67QPOSVV.mjs → chunk-57PJ7CHJ.mjs} +1 -1
  4. package/dist/{chunk-5WVFEIMC.mjs → chunk-6DQ7FEQQ.mjs} +1 -1
  5. package/dist/{chunk-HKGW6JI2.mjs → chunk-75XBZHOC.mjs} +1 -1
  6. package/dist/{chunk-I2GNNRFH.mjs → chunk-AEFWTCCE.mjs} +1 -1
  7. package/dist/{chunk-YOETYY5S.mjs → chunk-AFQBDAWS.mjs} +1 -1
  8. package/dist/chunk-AM2SRWFU.mjs +1 -0
  9. package/dist/{chunk-VE5LRUED.mjs → chunk-ATDQQSX5.mjs} +1 -1
  10. package/dist/{chunk-M7NV6EFH.mjs → chunk-B2TBKNIJ.mjs} +1 -1
  11. package/dist/{chunk-ZEPEWKBV.mjs → chunk-BY5TSHJ5.mjs} +1 -1
  12. package/dist/{chunk-N3B3XNV3.mjs → chunk-FRXZ2OKW.mjs} +1 -1
  13. package/dist/{chunk-MXCW6SOT.mjs → chunk-FX6IXEMQ.mjs} +1 -1
  14. package/dist/{chunk-XBCYPOFD.mjs → chunk-GTK2SGS5.mjs} +1 -1
  15. package/dist/{chunk-I5NNEOCF.mjs → chunk-I2ZLKSWR.mjs} +1 -1
  16. package/dist/{chunk-ISBVFNWD.mjs → chunk-IDG2O4B7.mjs} +1 -1
  17. package/dist/{chunk-5SHZBJ5R.mjs → chunk-KY3ELFX5.mjs} +1 -1
  18. package/dist/{chunk-62A35O55.mjs → chunk-LQASBVUG.mjs} +1 -1
  19. package/dist/{chunk-YKG4FNS4.mjs → chunk-N52FSTLG.mjs} +1 -1
  20. package/dist/{chunk-ERJXTG6X.mjs → chunk-NPGGDQ6F.mjs} +1 -1
  21. package/dist/chunk-PFDPO3UX.mjs +1 -0
  22. package/dist/{chunk-2RQDJ5XT.mjs → chunk-Q7KKN6MH.mjs} +1 -1
  23. package/dist/{chunk-H3CJOE6S.mjs → chunk-QWFFSMKK.mjs} +1 -1
  24. package/dist/{chunk-PK3OBSCB.mjs → chunk-RUZVSK25.mjs} +1 -1
  25. package/dist/{chunk-FTZRG54P.mjs → chunk-RY4C3J33.mjs} +1 -1
  26. package/dist/{chunk-FKU4VQR6.mjs → chunk-S4ES6P3Y.mjs} +1 -1
  27. package/dist/chunk-SJQY7JRS.mjs +4 -0
  28. package/dist/{chunk-7GMAMIHM.mjs → chunk-SPAOEUCG.mjs} +1 -1
  29. package/dist/{chunk-LJQPLE4S.mjs → chunk-TUACRDU3.mjs} +1 -1
  30. package/dist/{chunk-SRUG246N.mjs → chunk-TXVA6XJT.mjs} +1 -1
  31. package/dist/chunk-U6BCTHV7.mjs +1 -0
  32. package/dist/chunk-U7KI2WJW.mjs +4 -0
  33. package/dist/{chunk-X3JZSN3W.mjs → chunk-UZSBX5GO.mjs} +1 -1
  34. package/dist/{chunk-255P6K5W.mjs → chunk-VBSFVJM5.mjs} +1 -1
  35. package/dist/{chunk-XGIYNUGC.mjs → chunk-VNYUNZ3M.mjs} +1 -1
  36. package/dist/{chunk-2BR55L74.mjs → chunk-VRE6VCHX.mjs} +1 -1
  37. package/dist/chunk-ZMB6R6JX.mjs +1 -0
  38. package/dist/components/Blocks/Banner.mjs +1 -1
  39. package/dist/components/Blocks/CallToAction.mjs +1 -1
  40. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  41. package/dist/components/Blocks/Content.mjs +1 -1
  42. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  43. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  44. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  45. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  46. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  47. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  48. package/dist/components/Blocks/index.mjs +1 -1
  49. package/dist/components/Cards/ContentCard.mjs +1 -1
  50. package/dist/components/Cards/FeatureCard.mjs +1 -1
  51. package/dist/components/Cards/index.mjs +1 -1
  52. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  53. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  54. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  55. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  56. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  57. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  58. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  59. package/dist/components/DigitalColleagues/index.js +1 -1
  60. package/dist/components/DigitalColleagues/index.mjs +1 -1
  61. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  62. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  63. package/dist/components/HeaderFooter/index.mjs +1 -1
  64. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  65. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  66. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  67. package/dist/components/Heros/RenderHero.mjs +1 -1
  68. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  69. package/dist/components/Heros/index.mjs +1 -1
  70. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  71. package/dist/components/Layouts/Print.mjs +1 -1
  72. package/dist/components/Layouts/SlideShow.mjs +1 -1
  73. package/dist/components/Layouts/index.mjs +1 -1
  74. package/dist/components/Other/index.mjs +1 -1
  75. package/dist/components/Payload/Card/index.mjs +1 -1
  76. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  77. package/dist/components/Payload/Media/index.mjs +1 -1
  78. package/dist/components/Payload/RichText/index.mjs +1 -1
  79. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  80. package/dist/components/Payload/index.mjs +1 -1
  81. package/dist/components/Projects/AddTaskModal.d.ts +2 -1
  82. package/dist/components/Projects/AddTaskModal.js +1 -1
  83. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  84. package/dist/components/Projects/EpicsView.js +1 -1
  85. package/dist/components/Projects/EpicsView.mjs +1 -1
  86. package/dist/components/Projects/KanbanBoardView.d.ts +3 -1
  87. package/dist/components/Projects/KanbanBoardView.js +1 -1
  88. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  89. package/dist/components/Projects/ProjectPage.js +1 -1
  90. package/dist/components/Projects/ProjectPage.mjs +1 -1
  91. package/dist/components/Projects/ProjectView.d.ts +3 -2
  92. package/dist/components/Projects/ProjectView.js +1 -1
  93. package/dist/components/Projects/ProjectView.mjs +1 -1
  94. package/dist/components/Projects/TaskCard.js +1 -1
  95. package/dist/components/Projects/TaskCard.mjs +1 -1
  96. package/dist/components/Projects/TasksView.js +1 -1
  97. package/dist/components/Projects/TasksView.mjs +1 -1
  98. package/dist/components/index.js +11 -11
  99. package/dist/components/index.mjs +1 -1
  100. package/dist/index.js +15 -15
  101. package/dist/index.mjs +1 -1
  102. package/dist/metafile-cjs.json +1 -1
  103. package/dist/metafile-esm.json +1 -1
  104. package/dist/pages/Blog.mjs +1 -1
  105. package/dist/pages/Documentation.mjs +1 -1
  106. package/dist/pages/IndexPage.mjs +1 -1
  107. package/dist/pages/Intranet.mjs +1 -1
  108. package/dist/pages/LandingPage.mjs +1 -1
  109. package/dist/pages/Page.mjs +1 -1
  110. package/dist/pages/Publish.mjs +1 -1
  111. package/dist/pages/Website.mjs +1 -1
  112. package/dist/sections/AboutSection.mjs +1 -1
  113. package/dist/sections/BlogDetail.mjs +1 -1
  114. package/dist/sections/BlogList.mjs +1 -1
  115. package/dist/sections/BlogListSection.mjs +1 -1
  116. package/dist/sections/ContactSection.mjs +1 -1
  117. package/dist/sections/PageSections.mjs +1 -1
  118. package/dist/sections/PricingSection.mjs +1 -1
  119. package/dist/sections/ServiceDetail.mjs +1 -1
  120. package/dist/sections/ServiceDetailSection.mjs +1 -1
  121. package/dist/sections/ServiceSection.mjs +1 -1
  122. package/dist/sections/form/index.mjs +1 -1
  123. package/dist/sections/index.mjs +1 -1
  124. package/package.json +1 -1
  125. package/dist/chunk-2B5LH5XN.mjs +0 -4
  126. package/dist/chunk-6YHVVP3S.mjs +0 -1
  127. package/dist/chunk-EBTFLN5U.mjs +0 -1
  128. package/dist/chunk-GN25OSET.mjs +0 -1
  129. package/dist/chunk-NHXNMPM5.mjs +0 -4
  130. package/dist/chunk-OYZX5BM4.mjs +0 -1
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-NHXNMPM5.mjs";import"../../chunk-OYZX5BM4.mjs";import"../../chunk-GN25OSET.mjs";import"../../chunk-AMV3MECK.mjs";import"../../chunk-LUM6KEWN.mjs";import"../../chunk-HHYHENVF.mjs";import"../../chunk-PFLESLNT.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-ORNGKQM7.mjs";import"../../chunk-6DEY5ZDD.mjs";import"../../chunk-EBTFLN5U.mjs";import"../../chunk-I5NNEOCF.mjs";import"../../chunk-6YHVVP3S.mjs";import"../../chunk-PH67DP3M.mjs";import"../../chunk-GHZ6CUY3.mjs";import"../../chunk-Z22NSJMF.mjs";import"../../chunk-EOXVYLPB.mjs";import"../../chunk-P3NMFRBH.mjs";import"../../chunk-6SWKEZN6.mjs";import"../../chunk-DFIXTV2M.mjs";import"../../chunk-BHWGOTCJ.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-PXLSH6S2.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as default};
2
+ "use strict";import{a}from"../../chunk-U7KI2WJW.mjs";import"../../chunk-ZMB6R6JX.mjs";import"../../chunk-U6BCTHV7.mjs";import"../../chunk-AMV3MECK.mjs";import"../../chunk-LUM6KEWN.mjs";import"../../chunk-HHYHENVF.mjs";import"../../chunk-PFLESLNT.mjs";import"../../chunk-AB43AQKL.mjs";import"../../chunk-ORNGKQM7.mjs";import"../../chunk-6DEY5ZDD.mjs";import"../../chunk-PFDPO3UX.mjs";import"../../chunk-I2ZLKSWR.mjs";import"../../chunk-AM2SRWFU.mjs";import"../../chunk-PH67DP3M.mjs";import"../../chunk-GHZ6CUY3.mjs";import"../../chunk-Z22NSJMF.mjs";import"../../chunk-EOXVYLPB.mjs";import"../../chunk-P3NMFRBH.mjs";import"../../chunk-6SWKEZN6.mjs";import"../../chunk-DFIXTV2M.mjs";import"../../chunk-BHWGOTCJ.mjs";import"../../chunk-E4TE4NV6.mjs";import"../../chunk-JFFTEK6Z.mjs";import"../../chunk-JHNVX4UB.mjs";import"../../chunk-7BXIU4ZM.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-PXLSH6S2.mjs";import"../../chunk-D4IMQTVU.mjs";import"../../chunk-7GSXNSLD.mjs";import"../../chunk-4UIARERB.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as default};
@@ -1 +1 @@
1
- "use strict";var me=Object.create;var W=Object.defineProperty;var be=Object.getOwnPropertyDescriptor;var ge=Object.getOwnPropertyNames;var fe=Object.getPrototypeOf,he=Object.prototype.hasOwnProperty;var xe=(e,r)=>{for(var t in r)W(e,t,{get:r[t],enumerable:!0})},oe=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ge(r))!he.call(e,a)&&a!==t&&W(e,a,{get:()=>r[a],enumerable:!(o=be(r,a))||o.enumerable});return e};var ye=(e,r,t)=>(t=e!=null?me(fe(e)):{},oe(r||!e||!e.__esModule?W(t,"default",{value:e,enumerable:!0}):t,e)),ve=e=>oe(W({},"__esModule",{value:!0}),e);var nr={};xe(nr,{TaskCard:()=>or});module.exports=ve(nr);var A=ye(require("react"));var ue=require("clsx");var J="-",we=e=>{let r=ke(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(J);return s[0]===""&&s.length!==1&&s.shift(),ae(s,r)||Ce(l)},getConflictingClassGroupIds:(l,s)=>{let p=t[l]||[];return s&&o[l]?[...p,...o[l]]:p}}},ae=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?ae(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(J);return r.validators.find(({validator:l})=>l(n))?.classGroupId},ne=/^\[(.+)\]$/,Ce=e=>{if(ne.test(e)){let r=ne.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},ke=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ne(Object.entries(e.classGroups),t).forEach(([n,l])=>{Z(l,o,n,r)}),o},Z=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:se(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(Me(a)){Z(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,l])=>{Z(l,se(r,n),t,o)})})},se=(e,r)=>{let t=e;return r.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Me=e=>e.isThemeGetter,Ne=(e,r)=>r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[r+l,s])):n);return[t,a]}):e,ze=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(n,l)=>{t.set(n,l),r++,r>e&&(r=0,o=t,t=new Map)};return{get(n){let l=t.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){t.has(n)?t.set(n,l):a(n,l)}}},ie="!",Te=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],n=r.length,l=s=>{let p=[],b=0,f=0,y;for(let m=0;m<s.length;m++){let h=s[m];if(b===0){if(h===a&&(o||s.slice(m,m+n)===r)){p.push(s.slice(f,m)),f=m+n;continue}if(h==="/"){y=m;continue}}h==="["?b++:h==="]"&&b--}let v=p.length===0?s:s.substring(f),k=v.startsWith(ie),w=k?v.substring(1):v,g=y&&y>f?y-f:void 0;return{modifiers:p,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:g}};return t?s=>t({className:s,parseClassName:l}):l},Re=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Se=e=>({cache:ze(e.cacheSize),parseClassName:Te(e),...we(e)}),Ae=/\s+/,Pe=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=[],l=e.trim().split(Ae),s="";for(let p=l.length-1;p>=0;p-=1){let b=l[p],{modifiers:f,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:k}=t(b),w=!!k,g=o(w?v.substring(0,k):v);if(!g){if(!w){s=b+(s.length>0?" "+s:s);continue}if(g=o(v),!g){s=b+(s.length>0?" "+s:s);continue}w=!1}let m=Re(f).join(":"),h=y?m+ie:m,x=h+g;if(n.includes(x))continue;n.push(x);let G=a(g,w);for(let S=0;S<G.length;++S){let D=G[S];n.push(h+D)}s=b+(s.length>0?" "+s:s)}return s};function Le(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=le(r))&&(o&&(o+=" "),o+=t);return o}var le=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=le(e[o]))&&(t&&(t+=" "),t+=r);return t};function Ee(e,...r){let t,o,a,n=l;function l(p){let b=r.reduce((f,y)=>y(f),e());return t=Se(b),o=t.cache.get,a=t.cache.set,n=s,s(p)}function s(p){let b=o(p);if(b)return b;let f=Pe(p,t);return a(p,f),f}return function(){return n(Le.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ge=/^\d+\/\d+$/,Ie=new Set(["px","full","screen"]),He=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,je=/\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$/,De=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ve=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>L(e)||Ie.has(e)||Ge.test(e),z=e=>E(e,"length",Ze),L=e=>!!e&&!Number.isNaN(Number(e)),q=e=>E(e,"number",L),H=e=>!!e&&Number.isInteger(Number(e)),We=e=>e.endsWith("%")&&L(e.slice(0,-1)),i=e=>ce.test(e),T=e=>He.test(e),$e=new Set(["length","size","percentage"]),Be=e=>E(e,$e,de),Fe=e=>E(e,"position",de),Ue=new Set(["image","url"]),Oe=e=>E(e,Ue,Ke),qe=e=>E(e,"",Je),j=()=>!0,E=(e,r,t)=>{let o=ce.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Ze=e=>je.test(e)&&!De.test(e),de=()=>!1,Je=e=>_e.test(e),Ke=e=>Ve.test(e);var Xe=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),n=c("borderRadius"),l=c("borderSpacing"),s=c("borderWidth"),p=c("contrast"),b=c("grayscale"),f=c("hueRotate"),y=c("invert"),v=c("gap"),k=c("gradientColorStops"),w=c("gradientColorStopPositions"),g=c("inset"),m=c("margin"),h=c("opacity"),x=c("padding"),G=c("saturate"),S=c("scale"),D=c("sepia"),K=c("skew"),X=c("space"),Q=c("translate"),B=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",i,r],d=()=>[i,r],Y=()=>["",N,z],_=()=>["auto",L,i],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",i],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[L,i];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[N,z],blur:["none","",T,i],brightness:M(),borderColor:[e],borderRadius:["none","","full",T,i],borderSpacing:d(),borderWidth:Y(),contrast:M(),grayscale:I(),hueRotate:M(),invert:I(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[We,z],inset:U(),margin:U(),opacity:M(),padding:d(),saturate:M(),scale:M(),sepia:I(),skew:M(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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:[...ee(),i]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H,i]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[X]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[X]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",T,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",q]}],"font-family":[{font:[j]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",L,q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,z]}],"underline-offset":[{"underline-offset":["auto",N,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),Fe]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Be]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Oe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:V()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[N,i]}],"outline-w":[{outline:[N,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[N,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",T,qe]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":re()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",T,i]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[G]}],sepia:[{sepia:[D]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[D]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[Q]}],"translate-y":[{"translate-y":[Q]}],"skew-x":[{"skew-x":[K]}],"skew-y":[{"skew-y":[K]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,z,q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pe=Ee(Xe);function R(...e){return pe((0,ue.clsx)(e))}var P=require("react/jsx-runtime"),$=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("rounded-xl border bg-card text-card-foreground shadow",e),...r}));$.displayName="Card";var Qe=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("flex flex-col space-y-1.5 p-6",e),...r}));Qe.displayName="CardHeader";var Ye=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("font-semibold leading-none tracking-tight",e),...r}));Ye.displayName="CardTitle";var er=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("text-sm text-muted-foreground",e),...r}));er.displayName="CardDescription";var rr=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("p-6 pt-0",e),...r}));rr.displayName="CardContent";var tr=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("flex items-center p-6 pt-0",e),...r}));tr.displayName="CardFooter";var C=require("lucide-react"),or=({task:e,epic:r,onDragStart:t,onTaskClick:o,isCompact:a=!1})=>{let n=f=>{t(e)},l=()=>{o(e)},s=()=>{switch(e.priority){case"high":return"bg-destructive/20 text-destructive border-destructive/20";case"medium":return"bg-warning/20 text-warning border-warning/20";case"low":return"bg-success/20 text-success border-success/20";default:return"bg-muted text-muted-foreground border-border"}},p=()=>{switch(e.type){case"story":return(0,P.jsx)(C.BookOpen,{className:"h-3 w-3"});case"bug":return(0,P.jsx)(C.Bug,{className:"h-3 w-3"});case"spike":return(0,P.jsx)(C.Zap,{className:"h-3 w-3"});case"task":default:return(0,P.jsx)(C.AlertCircle,{className:"h-3 w-3"})}},b=()=>{switch(e.type){case"story":return"bg-primary/20 text-primary";case"bug":return"bg-destructive/20 text-destructive";case"spike":return"bg-accent/20 text-accent";case"task":default:return"bg-muted text-muted-foreground"}};return a?(0,P.jsx)($,{className:"p-3 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-sm",draggable:!0,onDragStart:n,onClick:l,children:(0,P.jsxs)("div",{className:"flex items-center gap-2",children:[(0,P.jsx)("div",{className:`flex items-center gap-1 px-2 py-1 rounded-full text-xs font-medium ${b()}`,children:p()}),(0,P.jsx)("h4",{className:"font-medium text-foreground text-sm mb-1 line-clamp-2 select-none-important",children:e.title})]})}):(0,P.jsxs)($,{className:"p-4 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-md",draggable:!0,onDragStart:n,onClick:l,children:[(0,P.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,P.jsxs)("div",{className:`flex items-center gap-2 px-3 py-1 rounded-full text-sm font-medium ${b()}`,children:[p(),(0,P.jsx)("span",{className:"capitalize",children:e.type})]}),(0,P.jsxs)("div",{className:"flex gap-1",children:[(0,P.jsx)("div",{className:`flex items-center gap-2 px-3 py-1 rounded-full text-xs font-medium ${s()}`,children:e.priority}),(0,P.jsx)("div",{className:"flex items-center gap-2 px-3 py-1 border border-accent rounded-full text-xs font-medium",children:e.points})]})]}),(0,P.jsx)("h4",{className:"font-semibold text-foreground mb-2 select-none-important",children:e.title}),(0,P.jsx)("p",{className:"text-sm text-muted-foreground mb-3 line-clamp-2 select-none-important",children:e.description}),(0,P.jsx)("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:(0,P.jsxs)("div",{className:"flex items-center gap-1",children:[(0,P.jsx)(C.User,{className:"h-4 w-4"}),(0,P.jsx)("span",{children:e.assignee})]})})]})};0&&(module.exports={TaskCard});
1
+ "use strict";var me=Object.create;var W=Object.defineProperty;var be=Object.getOwnPropertyDescriptor;var ge=Object.getOwnPropertyNames;var fe=Object.getPrototypeOf,he=Object.prototype.hasOwnProperty;var xe=(e,r)=>{for(var t in r)W(e,t,{get:r[t],enumerable:!0})},oe=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ge(r))!he.call(e,a)&&a!==t&&W(e,a,{get:()=>r[a],enumerable:!(o=be(r,a))||o.enumerable});return e};var ye=(e,r,t)=>(t=e!=null?me(fe(e)):{},oe(r||!e||!e.__esModule?W(t,"default",{value:e,enumerable:!0}):t,e)),ve=e=>oe(W({},"__esModule",{value:!0}),e);var nr={};xe(nr,{TaskCard:()=>or});module.exports=ve(nr);var A=ye(require("react"));var ue=require("clsx");var J="-",we=e=>{let r=ke(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(J);return s[0]===""&&s.length!==1&&s.shift(),ae(s,r)||Ce(l)},getConflictingClassGroupIds:(l,s)=>{let p=t[l]||[];return s&&o[l]?[...p,...o[l]]:p}}},ae=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?ae(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(J);return r.validators.find(({validator:l})=>l(n))?.classGroupId},ne=/^\[(.+)\]$/,Ce=e=>{if(ne.test(e)){let r=ne.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},ke=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ne(Object.entries(e.classGroups),t).forEach(([n,l])=>{Z(l,o,n,r)}),o},Z=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:se(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(Me(a)){Z(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,l])=>{Z(l,se(r,n),t,o)})})},se=(e,r)=>{let t=e;return r.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Me=e=>e.isThemeGetter,Ne=(e,r)=>r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[r+l,s])):n);return[t,a]}):e,ze=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(n,l)=>{t.set(n,l),r++,r>e&&(r=0,o=t,t=new Map)};return{get(n){let l=t.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){t.has(n)?t.set(n,l):a(n,l)}}},ie="!",Te=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],n=r.length,l=s=>{let p=[],b=0,f=0,y;for(let m=0;m<s.length;m++){let h=s[m];if(b===0){if(h===a&&(o||s.slice(m,m+n)===r)){p.push(s.slice(f,m)),f=m+n;continue}if(h==="/"){y=m;continue}}h==="["?b++:h==="]"&&b--}let v=p.length===0?s:s.substring(f),k=v.startsWith(ie),w=k?v.substring(1):v,g=y&&y>f?y-f:void 0;return{modifiers:p,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:g}};return t?s=>t({className:s,parseClassName:l}):l},Re=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Se=e=>({cache:ze(e.cacheSize),parseClassName:Te(e),...we(e)}),Ae=/\s+/,Pe=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=[],l=e.trim().split(Ae),s="";for(let p=l.length-1;p>=0;p-=1){let b=l[p],{modifiers:f,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:k}=t(b),w=!!k,g=o(w?v.substring(0,k):v);if(!g){if(!w){s=b+(s.length>0?" "+s:s);continue}if(g=o(v),!g){s=b+(s.length>0?" "+s:s);continue}w=!1}let m=Re(f).join(":"),h=y?m+ie:m,x=h+g;if(n.includes(x))continue;n.push(x);let G=a(g,w);for(let S=0;S<G.length;++S){let D=G[S];n.push(h+D)}s=b+(s.length>0?" "+s:s)}return s};function Le(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=le(r))&&(o&&(o+=" "),o+=t);return o}var le=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=le(e[o]))&&(t&&(t+=" "),t+=r);return t};function Ee(e,...r){let t,o,a,n=l;function l(p){let b=r.reduce((f,y)=>y(f),e());return t=Se(b),o=t.cache.get,a=t.cache.set,n=s,s(p)}function s(p){let b=o(p);if(b)return b;let f=Pe(p,t);return a(p,f),f}return function(){return n(Le.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ge=/^\d+\/\d+$/,Ie=new Set(["px","full","screen"]),He=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,je=/\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$/,De=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ve=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>L(e)||Ie.has(e)||Ge.test(e),z=e=>E(e,"length",Ze),L=e=>!!e&&!Number.isNaN(Number(e)),q=e=>E(e,"number",L),H=e=>!!e&&Number.isInteger(Number(e)),We=e=>e.endsWith("%")&&L(e.slice(0,-1)),i=e=>ce.test(e),T=e=>He.test(e),$e=new Set(["length","size","percentage"]),Be=e=>E(e,$e,de),Fe=e=>E(e,"position",de),Ue=new Set(["image","url"]),Oe=e=>E(e,Ue,Ke),qe=e=>E(e,"",Je),j=()=>!0,E=(e,r,t)=>{let o=ce.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Ze=e=>je.test(e)&&!De.test(e),de=()=>!1,Je=e=>_e.test(e),Ke=e=>Ve.test(e);var Xe=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),n=c("borderRadius"),l=c("borderSpacing"),s=c("borderWidth"),p=c("contrast"),b=c("grayscale"),f=c("hueRotate"),y=c("invert"),v=c("gap"),k=c("gradientColorStops"),w=c("gradientColorStopPositions"),g=c("inset"),m=c("margin"),h=c("opacity"),x=c("padding"),G=c("saturate"),S=c("scale"),D=c("sepia"),K=c("skew"),X=c("space"),Q=c("translate"),B=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",i,r],d=()=>[i,r],Y=()=>["",N,z],_=()=>["auto",L,i],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",i],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[L,i];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[N,z],blur:["none","",T,i],brightness:M(),borderColor:[e],borderRadius:["none","","full",T,i],borderSpacing:d(),borderWidth:Y(),contrast:M(),grayscale:I(),hueRotate:M(),invert:I(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[We,z],inset:U(),margin:U(),opacity:M(),padding:d(),saturate:M(),scale:M(),sepia:I(),skew:M(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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:[...ee(),i]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H,i]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[X]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[X]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",T,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",q]}],"font-family":[{font:[j]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",L,q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,z]}],"underline-offset":[{"underline-offset":["auto",N,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),Fe]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Be]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Oe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:V()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[N,i]}],"outline-w":[{outline:[N,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[N,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",T,qe]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":re()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",T,i]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[G]}],sepia:[{sepia:[D]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[D]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[Q]}],"translate-y":[{"translate-y":[Q]}],"skew-x":[{"skew-x":[K]}],"skew-y":[{"skew-y":[K]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,z,q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pe=Ee(Xe);function R(...e){return pe((0,ue.clsx)(e))}var P=require("react/jsx-runtime"),$=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("rounded-xl border bg-card text-card-foreground shadow",e),...r}));$.displayName="Card";var Qe=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("flex flex-col space-y-1.5 p-6",e),...r}));Qe.displayName="CardHeader";var Ye=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("font-semibold leading-none tracking-tight",e),...r}));Ye.displayName="CardTitle";var er=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("text-sm text-muted-foreground",e),...r}));er.displayName="CardDescription";var rr=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("p-6 pt-0",e),...r}));rr.displayName="CardContent";var tr=A.forwardRef(({className:e,...r},t)=>(0,P.jsx)("div",{ref:t,className:R("flex items-center p-6 pt-0",e),...r}));tr.displayName="CardFooter";var C=require("lucide-react"),or=({task:e,epic:r,onDragStart:t,onTaskClick:o,isCompact:a=!1})=>{let n=f=>{t(e)},l=()=>{console.log("task clicked",e.title),o(e)},s=()=>{switch(e.priority){case"high":return"bg-destructive/20 text-destructive border-destructive/20";case"medium":return"bg-warning/20 text-warning border-warning/20";case"low":return"bg-success/20 text-success border-success/20";default:return"bg-muted text-muted-foreground border-border"}},p=()=>{switch(e.type){case"story":return(0,P.jsx)(C.BookOpen,{className:"h-3 w-3"});case"bug":return(0,P.jsx)(C.Bug,{className:"h-3 w-3"});case"spike":return(0,P.jsx)(C.Zap,{className:"h-3 w-3"});case"task":default:return(0,P.jsx)(C.AlertCircle,{className:"h-3 w-3"})}},b=()=>{switch(e.type){case"story":return"bg-primary/20 text-primary";case"bug":return"bg-destructive/20 text-destructive";case"spike":return"bg-accent/20 text-accent";case"task":default:return"bg-muted text-muted-foreground"}};return a?(0,P.jsx)($,{className:"p-3 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-sm",draggable:!0,onDragStart:n,onClick:l,children:(0,P.jsxs)("div",{className:"flex items-center gap-2",children:[(0,P.jsx)("div",{className:`flex items-center gap-1 px-2 py-1 rounded-full text-xs font-medium ${b()}`,children:p()}),(0,P.jsx)("h4",{className:"font-medium text-foreground text-sm mb-1 line-clamp-2 select-none-important",children:e.title})]})}):(0,P.jsxs)($,{className:"p-4 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-md",draggable:!0,onDragStart:n,onClick:l,children:[(0,P.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,P.jsxs)("div",{className:`flex items-center gap-2 px-3 py-1 rounded-full text-sm font-medium ${b()}`,children:[p(),(0,P.jsx)("span",{className:"capitalize",children:e.type})]}),(0,P.jsxs)("div",{className:"flex gap-1",children:[(0,P.jsx)("div",{className:`flex items-center gap-2 px-3 py-1 rounded-full text-xs font-medium ${s()}`,children:e.priority}),(0,P.jsx)("div",{className:"flex items-center gap-2 px-3 py-1 border border-accent rounded-full text-xs font-medium",children:e.points})]})]}),(0,P.jsx)("h4",{className:"font-semibold text-foreground mb-2 select-none-important",children:e.title}),(0,P.jsx)("p",{className:"text-sm text-muted-foreground mb-3 line-clamp-2 select-none-important",children:e.description}),(0,P.jsx)("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:(0,P.jsxs)("div",{className:"flex items-center gap-1",children:[(0,P.jsx)(C.User,{className:"h-4 w-4"}),(0,P.jsx)("span",{children:e.assignee})]})})]})};0&&(module.exports={TaskCard});
@@ -1 +1 @@
1
- import{a}from"../../chunk-6YHVVP3S.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as TaskCard};
1
+ import{a}from"../../chunk-AM2SRWFU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as TaskCard};
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  "use client"
4
4
 
5
- "use strict";var ct=Object.create;var de=Object.defineProperty;var mt=Object.getOwnPropertyDescriptor;var ut=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty;var ft=(e,r)=>{for(var o in r)de(e,o,{get:r[o],enumerable:!0})},Ee=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ut(r))!gt.call(e,a)&&a!==o&&de(e,a,{get:()=>r[a],enumerable:!(n=mt(r,a))||n.enumerable});return e};var V=(e,r,o)=>(o=e!=null?ct(pt(e)):{},Ee(r||!e||!e.__esModule?de(o,"default",{value:e,enumerable:!0}):o,e)),vt=e=>Ee(de({},"__esModule",{value:!0}),e);var gr={};ft(gr,{TasksView:()=>dt,default:()=>pr});module.exports=vt(gr);var $=require("react");var We=require("clsx");var Re="-",bt=e=>{let r=yt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{let l=s.split(Re);return l[0]===""&&l.length!==1&&l.shift(),Be(l,r)||ht(s)},getConflictingClassGroupIds:(s,l)=>{let c=o[s]||[];return l&&n[s]?[...c,...n[s]]:c}}},Be=(e,r)=>{if(e.length===0)return r.classGroupId;let o=e[0],n=r.nextPart.get(o),a=n?Be(e.slice(1),n):void 0;if(a)return a;if(r.validators.length===0)return;let i=e.join(Re);return r.validators.find(({validator:s})=>s(i))?.classGroupId},ze=/^\[(.+)\]$/,ht=e=>{if(ze.test(e)){let r=ze.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},yt=e=>{let{theme:r,prefix:o}=e,n={nextPart:new Map,validators:[]};return wt(Object.entries(e.classGroups),o).forEach(([i,s])=>{Ce(s,n,i,r)}),n},Ce=(e,r,o,n)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?r:Ae(r,a);i.classGroupId=o;return}if(typeof a=="function"){if(xt(a)){Ce(a(n),r,o,n);return}r.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([i,s])=>{Ce(s,Ae(r,i),o,n)})})},Ae=(e,r)=>{let o=e;return r.split(Re).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},xt=e=>e.isThemeGetter,wt=(e,r)=>r?e.map(([o,n])=>{let a=n.map(i=>typeof i=="string"?r+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[r+s,l])):i);return[o,a]}):e,Ct=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,n=new Map,a=(i,s)=>{o.set(i,s),r++,r>e&&(r=0,n=o,o=new Map)};return{get(i){let s=o.get(i);if(s!==void 0)return s;if((s=n.get(i))!==void 0)return a(i,s),s},set(i,s){o.has(i)?o.set(i,s):a(i,s)}}},He="!",Rt=e=>{let{separator:r,experimentalParseClassName:o}=e,n=r.length===1,a=r[0],i=r.length,s=l=>{let c=[],m=0,f=0,y;for(let x=0;x<l.length;x++){let T=l[x];if(m===0){if(T===a&&(n||l.slice(x,x+i)===r)){c.push(l.slice(f,x)),f=x+i;continue}if(T==="/"){y=x;continue}}T==="["?m++:T==="]"&&m--}let I=c.length===0?l:l.substring(f),M=I.startsWith(He),A=M?I.substring(1):I,S=y&&y>f?y-f:void 0;return{modifiers:c,hasImportantModifier:M,baseClassName:A,maybePostfixModifierPosition:S}};return o?l=>o({className:l,parseClassName:s}):s},Nt=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(n=>{n[0]==="["?(r.push(...o.sort(),n),o=[]):o.push(n)}),r.push(...o.sort()),r},St=e=>({cache:Ct(e.cacheSize),parseClassName:Rt(e),...bt(e)}),Dt=/\s+/,Pt=(e,r)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:a}=r,i=[],s=e.trim().split(Dt),l="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:f,hasImportantModifier:y,baseClassName:I,maybePostfixModifierPosition:M}=o(m),A=!!M,S=n(A?I.substring(0,M):I);if(!S){if(!A){l=m+(l.length>0?" "+l:l);continue}if(S=n(I),!S){l=m+(l.length>0?" "+l:l);continue}A=!1}let x=Nt(f).join(":"),T=y?x+He:x,L=T+S;if(i.includes(L))continue;i.push(L);let k=a(S,A);for(let _=0;_<k.length;++_){let d=k[_];i.push(T+d)}l=m+(l.length>0?" "+l:l)}return l};function Tt(){let e=0,r,o,n="";for(;e<arguments.length;)(r=arguments[e++])&&(o=Fe(r))&&(n&&(n+=" "),n+=o);return n}var Fe=e=>{if(typeof e=="string")return e;let r,o="";for(let n=0;n<e.length;n++)e[n]&&(r=Fe(e[n]))&&(o&&(o+=" "),o+=r);return o};function kt(e,...r){let o,n,a,i=s;function s(c){let m=r.reduce((f,y)=>y(f),e());return o=St(m),n=o.cache.get,a=o.cache.set,i=l,l(c)}function l(c){let m=n(c);if(m)return m;let f=Pt(c,o);return a(c,f),f}return function(){return i(Tt.apply(null,arguments))}}var v=e=>{let r=o=>o[e]||[];return r.isThemeGetter=!0,r},Ve=/^\[(?:([a-_e-]+):)?(.+)\]$/i,It=/^\d+\/\d+$/,Lt=new Set(["px","full","screen"]),Mt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Et=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,At=/^(inset_)?-?((\d+)?\.?(\d+)[a-_e]+|0)_-?((\d+)?\.?(\d+)[a-_e]+|0)/,Bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>te(e)||Lt.has(e)||It.test(e),q=e=>re(e,"length",jt),te=e=>!!e&&!Number.isNaN(Number(e)),we=e=>re(e,"number",te),ie=e=>!!e&&Number.isInteger(Number(e)),Ht=e=>e.endsWith("%")&&te(e.slice(0,-1)),u=e=>Ve.test(e),J=e=>Mt.test(e),Ft=new Set(["length","size","percentage"]),Vt=e=>re(e,Ft,Ge),Gt=e=>re(e,"position",Ge),Ot=new Set(["image","url"]),Wt=e=>re(e,Ot,_t),Ut=e=>re(e,"",$_e),ae=()=>!0,re=(e,r,o)=>{let n=Ve.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):o(n[2]):!1},jt=e=>Et.test(e)&&!zt.test(e),Ge=()=>!1,$_e=e=>At.test(e),_t=e=>Bt.test(e);var qt=()=>{let e=v("colors"),r=v("spacing"),o=v("blur"),n=v("brightness"),a=v("borderColor"),i=v("borderRadius"),s=v("borderSpacing"),l=v("borderWidth"),c=v("contrast"),m=v("grayscale"),f=v("hueRotate"),y=v("invert"),I=v("gap"),M=v("gradientColorStops"),A=v("gradientColorStopPositions"),S=v("inset"),x=v("margin"),T=v("opacity"),L=v("padding"),k=v("saturate"),_=v("scale"),d=v("sepia"),R=v("skew"),B=v("space"),F=v("translate"),be=()=>["auto","contain","none"],he=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",u,r],h=()=>[u,r],ke=()=>["",O,q],se=()=>["auto",te,u],Ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",u],Me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[te,u];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[O,q],blur:["none","",J,u],brightness:G(),borderColor:[e],borderRadius:["none","","full",J,u],borderSpacing:h(),borderWidth:ke(),contrast:G(),grayscale:oe(),hueRotate:G(),invert:oe(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[Ht,q],inset:ye(),margin:ye(),opacity:G(),padding:h(),saturate:G(),scale:G(),sepia:oe(),skew:G(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[J]}],"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:[...Ie(),u]}],overflow:[{overflow:he()}],"overflow-x":[{"overflow-x":he()}],"overflow-y":[{"overflow-y":he()}],overscroll:[{overscroll:be()}],"overscroll-x":[{"overscroll-x":be()}],"overscroll-y":[{"overscroll-y":be()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],_e:[{_e:["auto",ie,u]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",ie,u]}],"grid-cols":[{"grid-cols":[ae]}],"col-start-end":[{col:["auto",{span:["full",ie,u]},u]}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[ie,u]},u]}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[I]}],"gap-x":[{"gap-x":[I]}],"gap-y":[{"gap-y":[I]}],"justify-content":[{justify:["normal",...xe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...xe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...xe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[L]}],px:[{px:[L]}],py:[{py:[L]}],ps:[{ps:[L]}],pe:[{pe:[L]}],pt:[{pt:[L]}],pr:[{pr:[L]}],pb:[{pb:[L]}],pl:[{pl:[L]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,r]}],"min-w":[{"min-w":[u,r,"min","max","fit"]}],"max-w":[{"max-w":[u,r,"none","full","min","max","fit","prose",{screen:[J]},J]}],h:[{h:[u,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,r,"auto","min","max","fit"]}],"font-size":[{text:["base",J,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",we]}],"font-family":[{font:[ae]}],"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",u]}],"line-clamp":[{"line-clamp":["none",te,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",O,q]}],"underline-offset":[{"underline-offset":["auto",O,u]}],"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:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ie(),Gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vt]}],"bg-image":[{bg:["none",{"gradient-to":["_e","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[M]}],"gradient-via":[{via:[M]}],"gradient-to":[{to:[M]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-_e":[{"rounded-_e":[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-_e":[{"rounded-_e":[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-_e":[{"border-_e":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...le(),"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":[T]}],"divide-style":[{divide:le()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-_e":[{"border-_e":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...le()]}],"outline-offset":[{"outline-offset":[O,u]}],"outline-w":[{outline:[O,q]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[O,q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",J,Ut]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",J,u]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[k]}],sepia:[{sepia:[d]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[d]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[ie,u]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],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",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",u]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[O,q,we]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-_e","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-_e","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-_e"],"rounded-_e":["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-_e","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-_e","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-_e","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-_e","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Oe=kt(qt);function g(...e){return Oe((0,We.clsx)(e))}var Ue=require("@radix-ui/react-slot"),je=require("class-variance-authority"),$e=V(require("react")),_e=require("react/jsx-runtime"),Jt=(0,je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),E=$e.forwardRef(({asChild:e=!1,className:r,size:o,variant:n,...a},i)=>(0,_e.jsx)(e?Ue.Slot:"button",{className:g(Jt({className:r,size:o,variant:n})),ref:i,...a}));E.displayName="Button";var qe=V(require("react"));var H=qe.forwardRef(({className:e,type:r,...o},n)=>(0,_e.jsx)("input",{type:r,className:g("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:n,...o}));H.displayName="Input";var Ke=V(require("react")),ce=Ke.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("textarea",{className:g("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}));ce.displayName="Textarea";var p=V(require("@radix-ui/react-select")),Z=require("lucide-react"),K=V(require("react")),X=p.Root;var Y=p.Value,W=K.forwardRef(({children:e,className:r,...o},n)=>(0,_e.jsxs)(p.Trigger,{className:g("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),ref:n,...o,children:[e,(0,_e.jsx)(p.Icon,{asChild:!0,children:(0,_e.jsx)(Z.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));W.displayName=p.Trigger.displayName;var Ye=K.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(p.ScrollUpButton,{className:g("flex cursor-default items-center justify-center py-1",e),ref:o,...r,children:(0,_e.jsx)(Z.ChevronUp,{className:"h-4 w-4"})}));Ye.displayName=p.ScrollUpButton.displayName;var Ze=K.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(p.ScrollDownButton,{className:g("flex cursor-default items-center justify-center py-1",e),ref:o,...r,children:(0,_e.jsx)(Z.ChevronDown,{className:"h-4 w-4"})}));Ze.displayName=p.ScrollDownButton.displayName;var U=K.forwardRef(({children:e,className:r,position:o="popper",...n},a)=>(0,_e.jsx)(p.Portal,{children:(0,_e.jsxs)(p.Content,{className:g("relative _e-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:o,ref:a,...n,children:[(0,_e.jsx)(Ye,{}),(0,_e.jsx)(p.Viewport,{className:g("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,_e.jsx)(Ze,{})]})}));U.displayName=p.Content.displayName;var Kt=K.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(p.Label,{className:g("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...r}));Kt.displayName=p.Label.displayName;var b=K.forwardRef(({children:e,className:r,...o},n)=>(0,_e.jsxs)(p.Item,{className:g("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),ref:n,...o,children:[(0,_e.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,_e.jsx)(p.ItemIndicator,{children:(0,_e.jsx)(Z.Check,{className:"h-4 w-4"})})}),(0,_e.jsx)(p.ItemText,{children:e})]}));b.displayName=p.Item.displayName;var Xt=K.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(p.Separator,{className:g("-mx-1 my-1 h-px bg-muted",e),ref:o,...r}));Xt.displayName=p.Separator.displayName;var Q=V(require("react"));var j=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:g("rounded-xl border bg-card text-card-foreground shadow",e),...r}));j.displayName="Card";var Yt=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:g("flex flex-col space-y-1.5 p-6",e),...r}));Yt.displayName="CardHeader";var Zt=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:g("font-semibold leading-none tracking-tight",e),...r}));Zt.displayName="CardTitle";var Qt=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:g("text-sm text-muted-foreground",e),...r}));Qt.displayName="CardDescription";var Ne=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:g("p-6 pt-0",e),...r}));Ne.displayName="CardContent";var er=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:g("flex items-center p-6 pt-0",e),...r}));er.displayName="CardFooter";var tr=(0,je.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 me({className:e,variant:r,...o}){return(0,_e.jsx)("div",{className:g(tr({variant:r}),e),...o})}var ne=V(require("react")),D=V(require("@radix-ui/react-dialog"));var Se=D.Root;var rr=D.Portal;var rt=ne.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(D.Overlay,{ref:o,className:g("fixed inset-0 _e-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}));rt.displayName=D.Overlay.displayName;var ue=ne.forwardRef(({className:e,children:r,...o},n)=>(0,_e.jsxs)(rr,{children:[(0,_e.jsx)(rt,{}),(0,_e.jsxs)(D.Content,{ref:n,className:g("fixed left-[50%] top-[50%] _e-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,_e.jsxs)(D.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,_e.jsx)(Z.X,{className:"h-4 w-4"}),(0,_e.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));ue.displayName=D.Content.displayName;var pe=({className:e,...r})=>(0,_e.jsx)("div",{className:g("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});pe.displayName="DialogHeader";var or=({className:e,...r})=>(0,_e.jsx)("div",{className:g("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});or.displayName="DialogFooter";var ge=ne.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(D.Title,{ref:o,className:g("text-lg font-semibold leading-none tracking-tight",e),...r}));ge.displayName=D.Title.displayName;var ir=ne.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(D.Description,{ref:o,className:g("text-sm text-muted-foreground",e),...r}));ir.displayName=D.Description.displayName;var ot=V(require("react")),De=V(require("@radix-ui/react-label"));var ar=(0,je.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),w=ot.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(De.Root,{ref:o,className:g(ar(),e),...r}));w.displayName=De.Root.displayName;var st=require("motion/react");function nt(e,r){let[o,n]=(0,$.useState)(()=>{if(typeof window>"u")return r;try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):r}catch{return r}}),a=i=>{try{n(i),typeof window<"u"&&window.localStorage.setItem(e,JSON.stringify(i))}catch{}};return(0,$.useEffect)(()=>{a(o)},[]),[o,a]}var ve=require("react-icons/fa");function lt({title:e,description:r,badge:o,primaryAction:n,secondaryAction:a,gradient:i,children:s,className:l}){let[c,m]=nt(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!a&&!r),f=!a&&!r||c;return(0,_e.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,_e.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,_e.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,_e.jsx)(me,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:o}),(0,_e.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,_e.jsxs)("div",{className:"flex items-center gap-3",children:[f&&n&&(0,_e.jsx)(E,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:n.onClick,children:n.label}),(a||r)&&(0,_e.jsx)("button",{"aria-label":c?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>m(!c),style:{lineHeight:0},children:c?(0,_e.jsx)(ve.FaChevronDown,{size:22}):(0,_e.jsx)(ve.FaChevronUp,{size:22})})]})]}),!f&&(0,_e.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,_e.jsxs)("div",{className:"space-y-4",children:[(0,_e.jsx)("p",{className:"max-w-[600px] text-white/80",children:r}),(0,_e.jsxs)("div",{className:"flex flex-wrap gap-3",children:[n&&(0,_e.jsx)(E,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:n.onClick,children:n.label}),a&&(0,_e.jsx)(E,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:a.onClick,children:a.label})]})]}),s&&(0,_e.jsx)("div",{className:"hidden lg:block",children:s})]})]})}var nr=e=>{switch(e){case"high":return"\u{1F534}";case"medium":return"\u{1F7E1}";case"low":return"\u{1F7E2}";default:return"\u26AA"}},sr=e=>e.toLocaleDateString("en-US",{weekday:"short",year:"numeric",month:"short",day:"numeric"}),lr=e=>{let[r,o]=e.split(":"),n=new Date;return n.setHours(parseInt(r),parseInt(o)),n.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0})},Pe=(e,r)=>{let o=new Date,n=new Date(e);if(r){let[a,i]=r.split(":");n.setHours(parseInt(a),parseInt(i))}return n<o},Te=e=>{let r=new Date;return e.toDateString()===r.toDateString()},dr=e=>{let r=new Date;return r.setDate(r.getDate()+1),e.toDateString()===r.toDateString()},cr=({colleagues:e,onAddReminder:r,open:o,setOpen:n})=>{let[a,i]=(0,$.useState)({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""}),s=c=>{c.preventDefault();let m=e.find(y=>y?.id===a.colleagueId);if(!m){console.error("No valid colleague selected");return}let f={title:a.title,description:a.description,dueDate:new Date(a.dueDate),dueTime:a.dueTime||void 0,colleague:m,isCompleted:!1,isRecurring:a.isRecurring,recurrencePattern:a.isRecurring?a.recurrencePattern:void 0,recurrenceInterval:a.isRecurring?a.recurrenceInterval:void 0,priority:a.priority,reminderEnabled:a.reminderEnabled,reminderMinutes:a.reminderEnabled?a.reminderMinutes:void 0,tags:a.tags?a.tags.split(",").map(y=>y.trim()):void 0};r(f),n(!1),i({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""})},l=e.filter(Boolean);return(0,_e.jsx)(Se,{open:o,onOpenChange:n,children:(0,_e.jsxs)(ue,{className:"max-w-2xl",children:[(0,_e.jsx)(pe,{children:(0,_e.jsx)(ge,{children:"Add New Reminder"})}),(0,_e.jsxs)("form",{onSubmit:s,className:"space-y-4",children:[(0,_e.jsx)("div",{className:"grid grid-cols-2 gap-4",children:(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"title",children:"Title"}),(0,_e.jsx)(H,{id:"title",value:a.title,onChange:c=>i({...a,title:c.target.value}),placeholder:"Enter reminder title",required:!0})]})}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"description",children:"Description"}),(0,_e.jsx)(ce,{id:"description",value:a.description,onChange:c=>i({...a,description:c.target.value}),placeholder:"Enter reminder description",rows:3})]}),(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"dueDate",children:"Due Date"}),(0,_e.jsx)(H,{id:"dueDate",type:"date",value:a.dueDate,onChange:c=>i({...a,dueDate:c.target.value}),required:!0})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"dueTime",children:"Due Time (optional)"}),(0,_e.jsx)(H,{id:"dueTime",type:"time",value:a.dueTime,onChange:c=>i({...a,dueTime:c.target.value})})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"colleague",children:"Assigned Colleague"}),(0,_e.jsxs)(X,{value:a.colleagueId,onValueChange:c=>i({...a,colleagueId:c}),children:[(0,_e.jsx)(W,{children:(0,_e.jsx)(Y,{placeholder:"Select a digital colleague"})}),(0,_e.jsx)(U,{children:l.map(c=>(0,_e.jsx)(b,{value:c.id,children:c.name},c.id))})]})]}),(0,_e.jsxs)("div",{className:"space-y-2",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,_e.jsx)("input",{type:"checkbox",id:"isRecurring",checked:a.isRecurring,onChange:c=>i({...a,isRecurring:c.target.checked}),className:"rounded border-border"}),(0,_e.jsx)(w,{htmlFor:"isRecurring",children:"Make this a recurring reminder"})]}),a.isRecurring&&(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"recurrencePattern",children:"Frequency"}),(0,_e.jsxs)(X,{value:a.recurrencePattern,onValueChange:c=>i({...a,recurrencePattern:c}),children:[(0,_e.jsx)(W,{children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(U,{children:[(0,_e.jsx)(b,{value:"daily",children:"Daily"}),(0,_e.jsx)(b,{value:"weekly",children:"Weekly"}),(0,_e.jsx)(b,{value:"monthly",children:"Monthly"}),(0,_e.jsx)(b,{value:"yearly",children:"Yearly"})]})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"recurrenceInterval",children:"Every"}),(0,_e.jsx)(H,{id:"recurrenceInterval",type:"number",min:"1",value:a.recurrenceInterval,onChange:c=>i({...a,recurrenceInterval:parseInt(c.target.value)})})]})]})]}),(0,_e.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,_e.jsx)(E,{type:"button",variant:"outline",onClick:()=>n(!1),children:"Cancel"}),(0,_e.jsx)(E,{type:"submit",children:"Add Reminder"})]})]})]})})},mr=({reminder:e,colleagues:r,onUpdateReminder:o,open:n,onClose:a})=>{let[i,s]=(0,$.useState)({title:e.title,description:e.description,dueDate:e.dueDate.toISOString().split("T")[0],dueTime:e.dueTime||"",colleagueId:e.colleague?.id||"",priority:e.priority,isRecurring:e.isRecurring,recurrencePattern:e.recurrencePattern||"weekly",recurrenceInterval:e.recurrenceInterval||1,reminderEnabled:e.reminderEnabled,reminderMinutes:e.reminderMinutes||15,tags:e.tags?.join(", ")||""}),l=m=>{m.preventDefault();let f=r.find(y=>y?.id===i.colleagueId);if(!f){console.error("No valid colleague selected");return}o(e.id,{title:i.title,description:i.description,dueDate:new Date(i.dueDate),dueTime:i.dueTime||void 0,colleague:f,priority:i.priority,isRecurring:i.isRecurring,recurrencePattern:i.isRecurring?i.recurrencePattern:void 0,recurrenceInterval:i.isRecurring?i.recurrenceInterval:void 0,reminderEnabled:i.reminderEnabled,reminderMinutes:i.reminderEnabled?i.reminderMinutes:void 0,tags:i.tags?i.tags.split(",").map(y=>y.trim()):void 0}),a()},c=r.filter(Boolean);return(0,_e.jsx)(Se,{open:n,onOpenChange:a,children:(0,_e.jsxs)(ue,{className:"max-w-2xl",children:[(0,_e.jsx)(pe,{children:(0,_e.jsx)(ge,{children:"Edit Reminder"})}),(0,_e.jsxs)("form",{onSubmit:l,className:"space-y-4",children:[(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-title",children:"Title"}),(0,_e.jsx)(H,{id:"edit-title",value:i.title,onChange:m=>s({...i,title:m.target.value}),placeholder:"Enter reminder title",required:!0})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-priority",children:"Priority"}),(0,_e.jsxs)(X,{value:i.priority,onValueChange:m=>s({...i,priority:m}),children:[(0,_e.jsx)(W,{children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(U,{children:[(0,_e.jsx)(b,{value:"low",children:"\u{1F7E2} Low"}),(0,_e.jsx)(b,{value:"medium",children:"\u{1F7E1} Medium"}),(0,_e.jsx)(b,{value:"high",children:"\u{1F534} High"})]})]})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-description",children:"Description"}),(0,_e.jsx)(ce,{id:"edit-description",value:i.description,onChange:m=>s({...i,description:m.target.value}),placeholder:"Enter reminder description",rows:3})]}),(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-dueDate",children:"Due Date"}),(0,_e.jsx)(H,{id:"edit-dueDate",type:"date",value:i.dueDate,onChange:m=>s({...i,dueDate:m.target.value}),required:!0})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-dueTime",children:"Due Time (optional)"}),(0,_e.jsx)(H,{id:"edit-dueTime",type:"time",value:i.dueTime,onChange:m=>s({...i,dueTime:m.target.value})})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-colleague",children:"Assigned Colleague"}),(0,_e.jsxs)(X,{value:i.colleagueId,onValueChange:m=>s({...i,colleagueId:m}),children:[(0,_e.jsx)(W,{children:(0,_e.jsx)(Y,{placeholder:"Select a digital colleague"})}),(0,_e.jsx)(U,{children:c.map(m=>(0,_e.jsx)(b,{value:m.id,children:m.name},m.id))})]})]}),(0,_e.jsxs)("div",{className:"space-y-2",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,_e.jsx)("input",{type:"checkbox",id:"edit-isRecurring",checked:i.isRecurring,onChange:m=>s({...i,isRecurring:m.target.checked}),className:"rounded border-border"}),(0,_e.jsx)(w,{htmlFor:"edit-isRecurring",children:"Make this a recurring reminder"})]}),i.isRecurring&&(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-recurrencePattern",children:"Frequency"}),(0,_e.jsxs)(X,{value:i.recurrencePattern,onValueChange:m=>s({...i,recurrencePattern:m}),children:[(0,_e.jsx)(W,{children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(U,{children:[(0,_e.jsx)(b,{value:"daily",children:"Daily"}),(0,_e.jsx)(b,{value:"weekly",children:"Weekly"}),(0,_e.jsx)(b,{value:"monthly",children:"Monthly"}),(0,_e.jsx)(b,{value:"yearly",children:"Yearly"})]})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-recurrenceInterval",children:"Every"}),(0,_e.jsx)(H,{id:"edit-recurrenceInterval",type:"number",min:"1",value:i.recurrenceInterval,onChange:m=>s({...i,recurrenceInterval:parseInt(m.target.value)})})]})]})]}),(0,_e.jsxs)("div",{className:"space-y-2",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,_e.jsx)("input",{type:"checkbox",id:"edit-reminderEnabled",checked:i.reminderEnabled,onChange:m=>s({...i,reminderEnabled:m.target.checked}),className:"rounded border-border"}),(0,_e.jsx)(w,{htmlFor:"edit-reminderEnabled",children:"Enable reminder notifications"})]}),i.reminderEnabled&&(0,_e.jsxs)("div",{className:"pl-6",children:[(0,_e.jsx)(w,{htmlFor:"edit-reminderMinutes",children:"Remind me"}),(0,_e.jsxs)(X,{value:i.reminderMinutes.toString(),onValueChange:m=>s({...i,reminderMinutes:parseInt(m)}),children:[(0,_e.jsx)(W,{children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(U,{children:[(0,_e.jsx)(b,{value:"5",children:"5 minutes before"}),(0,_e.jsx)(b,{value:"15",children:"15 minutes before"}),(0,_e.jsx)(b,{value:"30",children:"30 minutes before"}),(0,_e.jsx)(b,{value:"60",children:"1 hour before"}),(0,_e.jsx)(b,{value:"1440",children:"1 day before"})]})]})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-tags",children:"Tags (comma-separated)"}),(0,_e.jsx)(H,{id:"edit-tags",value:i.tags,onChange:m=>s({...i,tags:m.target.value}),placeholder:"e.g., urgent, meeting, follow-up"})]}),(0,_e.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,_e.jsx)(E,{type:"button",variant:"outline",onClick:a,children:"Cancel"}),(0,_e.jsx)(E,{type:"submit",children:"Save Changes"})]})]})]})})},ur=({reminder:e,colleagues:r,onUpdateReminder:o,onDeleteReminder:n})=>{let[a,i]=(0,$.useState)(!1);if(!e||!e.id)return null;let s=Pe(e.dueDate,e.dueTime),l=Te(e.dueDate),c=dr(e.dueDate),m=()=>{o(e.id,{isCompleted:!e.isCompleted,completedAt:e.isCompleted?void 0:new Date})},f=()=>l?"Today":c?"Tomorrow":s&&!e.isCompleted?"Overdue":sr(e.dueDate);return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(mr,{reminder:e,colleagues:r,onUpdateReminder:o,open:a,onClose:()=>i(!1)}),(0,_e.jsx)(j,{className:`transition-all duration-200 ${e.isCompleted?"opacity-60":""} ${s&&!e.isCompleted?"border-destructive/50 bg-destructive/5":""}`,children:(0,_e.jsx)(Ne,{className:"p-4",children:(0,_e.jsxs)("div",{className:"flex items-start justify-between",children:[(0,_e.jsxs)("div",{className:"flex items-start space-x-3 flex-1",children:[(0,_e.jsx)("button",{onClick:m,className:"mt-1 text-primary hover:text-primary/80",children:e.isCompleted?(0,_e.jsx)(Z.CheckCircle,{className:"h-5 w-5"}):(0,_e.jsx)(Z.Circle,{className:"h-5 w-5"})}),(0,_e.jsxs)("div",{className:"flex-1",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-2 mb-1",children:[(0,_e.jsx)("h3",{className:`font-semibold ${e.isCompleted?"line-through text-muted-foreground":""}`,children:e.title}),(0,_e.jsx)("span",{className:"text-sm",children:nr(e.priority)}),e.isRecurring&&(0,_e.jsx)(Z.Repeat,{className:"h-4 w-4 text-primary"}),e.reminderEnabled&&(0,_e.jsx)(Z.Bell,{className:"h-4 w-4 text-success"})]}),(0,_e.jsx)("p",{className:"text-sm text-muted-foreground mb-2",children:e.description}),(0,_e.jsxs)("div",{className:"flex items-center space-x-4 text-sm text-muted-foreground",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,_e.jsx)(Z.Calendar,{className:"h-4 w-4"}),(0,_e.jsx)("span",{className:s&&!e.isCompleted?"text-destructive font-medium":"",children:f()})]}),e.dueTime&&(0,_e.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,_e.jsx)(Z.Clock,{className:"h-4 w-4"}),(0,_e.jsx)("span",{children:lr(e.dueTime)})]}),(0,_e.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,_e.jsx)(Z.User,{className:"h-4 w-4"}),(0,_e.jsx)("span",{children:e.colleague?.name||"Unknown Colleague"})]})]}),e.tags&&e.tags.length>0&&(0,_e.jsx)("div",{className:"flex flex-wrap gap-1 mt-2",children:e.tags.map((y,I)=>(0,_e.jsx)(me,{variant:"secondary",className:"text-xs",children:y},I))})]})]}),(0,_e.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,_e.jsx)(E,{variant:"ghost",size:"sm",onClick:()=>i(!0),className:"h-8 w-8 p-0",children:(0,_e.jsx)(Z.Edit2,{className:"h-4 w-4"})}),(0,_e.jsx)(E,{variant:"ghost",size:"sm",onClick:()=>n(e.id),className:"h-8 w-8 p-0 text-destructive hover:text-destructive/80",children:(0,_e.jsx)(Z.Trash2,{className:"h-4 w-4"})})]})]})})})]})},dt=({initialReminders:e=[],initialColleagues:r=[],onAddReminder:o,onUpdateReminder:n,onDeleteReminder:a})=>{let[i,s]=(0,$.useState)(e.filter(Boolean)),[l]=(0,$.useState)(r.filter(Boolean)),[c,m]=(0,$.useState)("all"),[f,y]=(0,$.useState)(""),[I,M]=(0,$.useState)(!1),A=d=>{if(!d.title||!d.colleague?.id){console.error("Invalid reminder data:",d);return}let R={...d,id:Date.now().toString(),createdAt:new Date};s(B=>[...B,R]),o?.(d)},S=(d,R)=>{if(!d){console.error("No reminder ID provided for update");return}s(B=>B.map(F=>F?.id===d?{...F,...R}:F)),n?.(d,R)},x=d=>{if(!d){console.error("No reminder ID provided for deletion");return}s(R=>R.filter(B=>B?.id!==d)),a?.(d)},L=i.filter(d=>{if(!d)return!1;if(f){let R=f.toLowerCase();if(!(d.title.toLowerCase().includes(R)||d.description.toLowerCase().includes(R)||d.colleague?.name?.toLowerCase().includes(R)||d.tags?.some(F=>F.toLowerCase().includes(R))))return!1}switch(c){case"pending":return!d.isCompleted;case"completed":return d.isCompleted;case"overdue":return!d.isCompleted&&Pe(d.dueDate,d.dueTime);case"today":return Te(new Date(d.dueDate));default:return!0}}).sort((d,R)=>{if(!d||!R)return 0;if(d.isCompleted&&!R.isCompleted)return 1;if(!d.isCompleted&&R.isCompleted)return-1;let B={high:3,medium:2,low:1},F=B[R.priority]-B[d.priority];return F!==0?F:d.dueDate.getTime()-R.dueDate.getTime()}),k={total:i.filter(Boolean).length,pending:i.filter(d=>d&&!d.isCompleted).length,completed:i.filter(d=>d&&d.isCompleted).length,overdue:i.filter(d=>d&&!d.isCompleted&&Pe(d.dueDate,d.dueTime)).length,today:i.filter(d=>d&&Te(new Date(d.dueDate))).length},_=l.find(Boolean)||{id:"1",name:"Default Colleague",status:"active",joinedDate:new Date,lastActive:new Date,type:"digital",description:"Default digital colleague for task management",jobDescription:"Default team member for task management",workInstructions:"Handle basic task assignments and reminders",capabilities:["task-management","reminder-creation"],knowledge:[],coreKnowledge:[],version:"1.0.0",lastUpdated:new Date,isActive:!0};return(0,_e.jsxs)("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[(0,_e.jsx)(lt,{title:"Task Reminders",description:"Manage reminders and stay on top of important tasks and deadlines.",gradient:"bg-gradient-to-r from-emerald-600 via-teal-600 to-cyan-600",primaryAction:{label:"Add reminder",onClick:()=>{M(!0)}}}),(0,_e.jsxs)("div",{className:"h-full bg-background",children:[(0,_e.jsx)(cr,{colleagues:l,onAddReminder:A,open:I,setOpen:M}),(0,_e.jsxs)("div",{className:"p-6",children:[(0,_e.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)("h1",{className:"text-2xl font-bold text-foreground",children:"Task Reminders"}),(0,_e.jsx)("p",{className:"text-muted-foreground",children:"Manage your digital colleague task reminders"})]}),(0,_e.jsxs)(E,{className:"flex items-center space-x-2",onClick:()=>M(!0),children:[(0,_e.jsx)(Z.Plus,{className:"h-4 w-4"}),(0,_e.jsx)("span",{children:"Add Reminder"})]})]}),(0,_e.jsxs)("div",{className:"grid grid-cols-5 gap-4 mb-6",children:[(0,_e.jsxs)(j,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-foreground",children:k.total}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Total"})]}),(0,_e.jsxs)(j,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-primary",children:k.pending}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Pending"})]}),(0,_e.jsxs)(j,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-success",children:k.completed}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Completed"})]}),(0,_e.jsxs)(j,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-destructive",children:k.overdue}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Overdue"})]}),(0,_e.jsxs)(j,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-warning",children:k.today}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Today"})]})]}),(0,_e.jsxs)("div",{className:"flex items-center space-x-4 mb-6",children:[(0,_e.jsx)("div",{className:"flex-1",children:(0,_e.jsx)(H,{placeholder:"Search reminders...",value:f,onChange:d=>y(d.target.value),className:"max-w-md"})}),(0,_e.jsxs)(X,{value:c,onValueChange:d=>m(d),children:[(0,_e.jsx)(W,{className:"w-40",children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(U,{children:[(0,_e.jsxs)(b,{value:"all",children:["All (",k.total,")"]}),(0,_e.jsxs)(b,{value:"pending",children:["Pending (",k.pending,")"]}),(0,_e.jsxs)(b,{value:"completed",children:["Completed (",k.completed,")"]}),(0,_e.jsxs)(b,{value:"overdue",children:["Overdue (",k.overdue,")"]}),(0,_e.jsxs)(b,{value:"today",children:["Today (",k.today,")"]})]})]})]}),(0,_e.jsx)("div",{className:"space-y-4",children:L.length===0?(0,_e.jsxs)(j,{className:"p-8 text-center",children:[(0,_e.jsx)("div",{className:"text-muted-foreground",children:f||c!=="all"?"No reminders match your filters":"No reminders yet"}),!f&&c==="all"&&(0,_e.jsx)("p",{className:"text-sm text-muted-foreground/60 mt-2",children:"Create your first reminder to get started"})]}):L.map(d=>d&&(0,_e.jsx)(ur,{reminder:d,colleagues:l,onUpdateReminder:S,onDeleteReminder:x},d.id))})]})]})]})},pr=dt;0&&(module.exports={TasksView});
5
+ "use strict";var ct=Object.create;var de=Object.defineProperty;var mt=Object.getOwnPropertyDescriptor;var ut=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty;var ft=(e,r)=>{for(var o in r)de(e,o,{get:r[o],enumerable:!0})},Ee=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ut(r))!gt.call(e,a)&&a!==o&&de(e,a,{get:()=>r[a],enumerable:!(n=mt(r,a))||n.enumerable});return e};var G=(e,r,o)=>(o=e!=null?ct(pt(e)):{},Ee(r||!e||!e.__esModule?de(o,"default",{value:e,enumerable:!0}):o,e)),vt=e=>Ee(de({},"__esModule",{value:!0}),e);var gr={};ft(gr,{TasksView:()=>dt,default:()=>pr});module.exports=vt(gr);var F=require("react");var We=require("clsx");var Re="-",bt=e=>{let r=yt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{let l=s.split(Re);return l[0]===""&&l.length!==1&&l.shift(),Be(l,r)||ht(s)},getConflictingClassGroupIds:(s,l)=>{let p=o[s]||[];return l&&n[s]?[...p,...n[s]]:p}}},Be=(e,r)=>{if(e.length===0)return r.classGroupId;let o=e[0],n=r.nextPart.get(o),a=n?Be(e.slice(1),n):void 0;if(a)return a;if(r.validators.length===0)return;let i=e.join(Re);return r.validators.find(({validator:s})=>s(i))?.classGroupId},ze=/^\[(.+)\]$/,ht=e=>{if(ze.test(e)){let r=ze.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},yt=e=>{let{theme:r,prefix:o}=e,n={nextPart:new Map,validators:[]};return wt(Object.entries(e.classGroups),o).forEach(([i,s])=>{Ce(s,n,i,r)}),n},Ce=(e,r,o,n)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?r:Ae(r,a);i.classGroupId=o;return}if(typeof a=="function"){if(xt(a)){Ce(a(n),r,o,n);return}r.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([i,s])=>{Ce(s,Ae(r,i),o,n)})})},Ae=(e,r)=>{let o=e;return r.split(Re).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},xt=e=>e.isThemeGetter,wt=(e,r)=>r?e.map(([o,n])=>{let a=n.map(i=>typeof i=="string"?r+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[r+s,l])):i);return[o,a]}):e,Ct=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,n=new Map,a=(i,s)=>{o.set(i,s),r++,r>e&&(r=0,n=o,o=new Map)};return{get(i){let s=o.get(i);if(s!==void 0)return s;if((s=n.get(i))!==void 0)return a(i,s),s},set(i,s){o.has(i)?o.set(i,s):a(i,s)}}},He="!",Rt=e=>{let{separator:r,experimentalParseClassName:o}=e,n=r.length===1,a=r[0],i=r.length,s=l=>{let p=[],c=0,m=0,x;for(let y=0;y<l.length;y++){let I=l[y];if(c===0){if(I===a&&(n||l.slice(y,y+i)===r)){p.push(l.slice(m,y)),m=y+i;continue}if(I==="/"){x=y;continue}}I==="["?c++:I==="]"&&c--}let T=p.length===0?l:l.substring(m),k=T.startsWith(He),A=k?T.substring(1):T,N=x&&x>m?x-m:void 0;return{modifiers:p,hasImportantModifier:k,baseClassName:A,maybePostfixModifierPosition:N}};return o?l=>o({className:l,parseClassName:s}):s},St=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(n=>{n[0]==="["?(r.push(...o.sort(),n),o=[]):o.push(n)}),r.push(...o.sort()),r},Nt=e=>({cache:Ct(e.cacheSize),parseClassName:Rt(e),...bt(e)}),Pt=/\s+/,Dt=(e,r)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:a}=r,i=[],s=e.trim().split(Pt),l="";for(let p=s.length-1;p>=0;p-=1){let c=s[p],{modifiers:m,hasImportantModifier:x,baseClassName:T,maybePostfixModifierPosition:k}=o(c),A=!!k,N=n(A?T.substring(0,k):T);if(!N){if(!A){l=c+(l.length>0?" "+l:l);continue}if(N=n(T),!N){l=c+(l.length>0?" "+l:l);continue}A=!1}let y=St(m).join(":"),I=x?y+He:y,M=I+N;if(i.includes(M))continue;i.push(M);let L=a(N,A);for(let _=0;_<L.length;++_){let d=L[_];i.push(I+d)}l=c+(l.length>0?" "+l:l)}return l};function Tt(){let e=0,r,o,n="";for(;e<arguments.length;)(r=arguments[e++])&&(o=Fe(r))&&(n&&(n+=" "),n+=o);return n}var Fe=e=>{if(typeof e=="string")return e;let r,o="";for(let n=0;n<e.length;n++)e[n]&&(r=Fe(e[n]))&&(o&&(o+=" "),o+=r);return o};function kt(e,...r){let o,n,a,i=s;function s(p){let c=r.reduce((m,x)=>x(m),e());return o=Nt(c),n=o.cache.get,a=o.cache.set,i=l,l(p)}function l(p){let c=n(p);if(c)return c;let m=Dt(p,o);return a(p,m),m}return function(){return i(Tt.apply(null,arguments))}}var v=e=>{let r=o=>o[e]||[];return r.isThemeGetter=!0,r},Ve=/^\[(?:([a-_e-]+):)?(.+)\]$/i,It=/^\d+\/\d+$/,Lt=new Set(["px","full","screen"]),Mt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Et=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,At=/^(inset_)?-?((\d+)?\.?(\d+)[a-_e]+|0)_-?((\d+)?\.?(\d+)[a-_e]+|0)/,Bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,W=e=>te(e)||Lt.has(e)||It.test(e),q=e=>re(e,"length",jt),te=e=>!!e&&!Number.isNaN(Number(e)),we=e=>re(e,"number",te),ie=e=>!!e&&Number.isInteger(Number(e)),Ht=e=>e.endsWith("%")&&te(e.slice(0,-1)),u=e=>Ve.test(e),J=e=>Mt.test(e),Ft=new Set(["length","size","percentage"]),Vt=e=>re(e,Ft,Ge),Gt=e=>re(e,"position",Ge),Ot=new Set(["image","url"]),Wt=e=>re(e,Ot,_t),Ut=e=>re(e,"",$_e),ae=()=>!0,re=(e,r,o)=>{let n=Ve.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):o(n[2]):!1},jt=e=>Et.test(e)&&!zt.test(e),Ge=()=>!1,$_e=e=>At.test(e),_t=e=>Bt.test(e);var qt=()=>{let e=v("colors"),r=v("spacing"),o=v("blur"),n=v("brightness"),a=v("borderColor"),i=v("borderRadius"),s=v("borderSpacing"),l=v("borderWidth"),p=v("contrast"),c=v("grayscale"),m=v("hueRotate"),x=v("invert"),T=v("gap"),k=v("gradientColorStops"),A=v("gradientColorStopPositions"),N=v("inset"),y=v("margin"),I=v("opacity"),M=v("padding"),L=v("saturate"),_=v("scale"),d=v("sepia"),R=v("skew"),B=v("space"),V=v("translate"),be=()=>["auto","contain","none"],he=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",u,r],h=()=>[u,r],ke=()=>["",W,q],se=()=>["auto",te,u],Ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",u],Me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[te,u];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[W,q],blur:["none","",J,u],brightness:O(),borderColor:[e],borderRadius:["none","","full",J,u],borderSpacing:h(),borderWidth:ke(),contrast:O(),grayscale:oe(),hueRotate:O(),invert:oe(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[Ht,q],inset:ye(),margin:ye(),opacity:O(),padding:h(),saturate:O(),scale:O(),sepia:oe(),skew:O(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[J]}],"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:[...Ie(),u]}],overflow:[{overflow:he()}],"overflow-x":[{"overflow-x":he()}],"overflow-y":[{"overflow-y":he()}],overscroll:[{overscroll:be()}],"overscroll-x":[{"overscroll-x":be()}],"overscroll-y":[{"overscroll-y":be()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[N]}],"inset-x":[{"inset-x":[N]}],"inset-y":[{"inset-y":[N]}],start:[{start:[N]}],end:[{end:[N]}],top:[{top:[N]}],right:[{right:[N]}],bottom:[{bottom:[N]}],left:[{left:[N]}],visibility:["visible","invisible","collapse"],_e:[{_e:["auto",ie,u]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",ie,u]}],"grid-cols":[{"grid-cols":[ae]}],"col-start-end":[{col:["auto",{span:["full",ie,u]},u]}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[ie,u]},u]}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[T]}],"gap-x":[{"gap-x":[T]}],"gap-y":[{"gap-y":[T]}],"justify-content":[{justify:["normal",...xe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...xe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...xe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,r]}],"min-w":[{"min-w":[u,r,"min","max","fit"]}],"max-w":[{"max-w":[u,r,"none","full","min","max","fit","prose",{screen:[J]},J]}],h:[{h:[u,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,r,"auto","min","max","fit"]}],"font-size":[{text:["base",J,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",we]}],"font-family":[{font:[ae]}],"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",u]}],"line-clamp":[{"line-clamp":["none",te,we]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,q]}],"underline-offset":[{"underline-offset":["auto",W,u]}],"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:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ie(),Gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vt]}],"bg-image":[{bg:["none",{"gradient-to":["_e","tr","r","br","b","bl","l","tl"]},Wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-_e":[{"rounded-_e":[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-_e":[{"rounded-_e":[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-_e":[{"border-_e":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...le(),"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":[I]}],"divide-style":[{divide:le()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-_e":[{"border-_e":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...le()]}],"outline-offset":[{"outline-offset":[W,u]}],"outline-w":[{outline:[W,q]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[W,q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",J,Ut]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",J,u]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[L]}],sepia:[{sepia:[d]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[d]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[ie,u]}],"translate-x":[{"translate-x":[V]}],"translate-y":[{"translate-y":[V]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],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",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",u]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,q,we]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-_e","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-_e","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-_e"],"rounded-_e":["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-_e","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-_e","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-_e","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-_e","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Oe=kt(qt);function f(...e){return Oe((0,We.clsx)(e))}var Ue=require("@radix-ui/react-slot"),je=require("class-variance-authority"),$e=G(require("react")),_e=require("react/jsx-runtime"),Jt=(0,je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),E=$e.forwardRef(({asChild:e=!1,className:r,size:o,variant:n,...a},i)=>(0,_e.jsx)(e?Ue.Slot:"button",{className:f(Jt({className:r,size:o,variant:n})),ref:i,...a}));E.displayName="Button";var qe=G(require("react"));var H=qe.forwardRef(({className:e,type:r,...o},n)=>(0,_e.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:n,...o}));H.displayName="Input";var Ke=G(require("react")),ce=Ke.forwardRef(({className:e,...r},o)=>(0,_e.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}));ce.displayName="Textarea";var g=G(require("@radix-ui/react-select")),Z=require("lucide-react"),K=G(require("react")),X=g.Root;var Y=g.Value,U=K.forwardRef(({children:e,className:r,...o},n)=>(0,_e.jsxs)(g.Trigger,{className:f("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),ref:n,...o,children:[e,(0,_e.jsx)(g.Icon,{asChild:!0,children:(0,_e.jsx)(Z.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));U.displayName=g.Trigger.displayName;var Ye=K.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(g.ScrollUpButton,{className:f("flex cursor-default items-center justify-center py-1",e),ref:o,...r,children:(0,_e.jsx)(Z.ChevronUp,{className:"h-4 w-4"})}));Ye.displayName=g.ScrollUpButton.displayName;var Ze=K.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(g.ScrollDownButton,{className:f("flex cursor-default items-center justify-center py-1",e),ref:o,...r,children:(0,_e.jsx)(Z.ChevronDown,{className:"h-4 w-4"})}));Ze.displayName=g.ScrollDownButton.displayName;var j=K.forwardRef(({children:e,className:r,position:o="popper",...n},a)=>(0,_e.jsx)(g.Portal,{children:(0,_e.jsxs)(g.Content,{className:f("relative _e-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:o,ref:a,...n,children:[(0,_e.jsx)(Ye,{}),(0,_e.jsx)(g.Viewport,{className:f("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,_e.jsx)(Ze,{})]})}));j.displayName=g.Content.displayName;var Kt=K.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(g.Label,{className:f("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...r}));Kt.displayName=g.Label.displayName;var b=K.forwardRef(({children:e,className:r,...o},n)=>(0,_e.jsxs)(g.Item,{className:f("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),ref:n,...o,children:[(0,_e.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,_e.jsx)(g.ItemIndicator,{children:(0,_e.jsx)(Z.Check,{className:"h-4 w-4"})})}),(0,_e.jsx)(g.ItemText,{children:e})]}));b.displayName=g.Item.displayName;var Xt=K.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(g.Separator,{className:f("-mx-1 my-1 h-px bg-muted",e),ref:o,...r}));Xt.displayName=g.Separator.displayName;var Q=G(require("react"));var $=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:f("rounded-xl border bg-card text-card-foreground shadow",e),...r}));$.displayName="Card";var Yt=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:f("flex flex-col space-y-1.5 p-6",e),...r}));Yt.displayName="CardHeader";var Zt=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:f("font-semibold leading-none tracking-tight",e),...r}));Zt.displayName="CardTitle";var Qt=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:f("text-sm text-muted-foreground",e),...r}));Qt.displayName="CardDescription";var Se=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:f("p-6 pt-0",e),...r}));Se.displayName="CardContent";var er=Q.forwardRef(({className:e,...r},o)=>(0,_e.jsx)("div",{ref:o,className:f("flex items-center p-6 pt-0",e),...r}));er.displayName="CardFooter";var tr=(0,je.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 me({className:e,variant:r,...o}){return(0,_e.jsx)("div",{className:f(tr({variant:r}),e),...o})}var ne=G(require("react")),P=G(require("@radix-ui/react-dialog"));var Ne=P.Root;var rr=P.Portal;var rt=ne.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(P.Overlay,{ref:o,className:f("fixed inset-0 _e-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}));rt.displayName=P.Overlay.displayName;var ue=ne.forwardRef(({className:e,children:r,...o},n)=>(0,_e.jsxs)(rr,{children:[(0,_e.jsx)(rt,{}),(0,_e.jsxs)(P.Content,{ref:n,className:f("fixed left-[50%] top-[50%] _e-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,_e.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,_e.jsx)(Z.X,{className:"h-4 w-4"}),(0,_e.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));ue.displayName=P.Content.displayName;var pe=({className:e,...r})=>(0,_e.jsx)("div",{className:f("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});pe.displayName="DialogHeader";var or=({className:e,...r})=>(0,_e.jsx)("div",{className:f("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});or.displayName="DialogFooter";var ge=ne.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(P.Title,{ref:o,className:f("text-lg font-semibold leading-none tracking-tight",e),...r}));ge.displayName=P.Title.displayName;var ir=ne.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(P.Description,{ref:o,className:f("text-sm text-muted-foreground",e),...r}));ir.displayName=P.Description.displayName;var ot=G(require("react")),Pe=G(require("@radix-ui/react-label"));var ar=(0,je.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),w=ot.forwardRef(({className:e,...r},o)=>(0,_e.jsx)(Pe.Root,{ref:o,className:f(ar(),e),...r}));w.displayName=Pe.Root.displayName;var st=require("motion/react");function nt(e,r){let[o,n]=(0,F.useState)(()=>{if(typeof window>"u")return r;try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):r}catch{return r}}),a=i=>{try{n(i),typeof window<"u"&&window.localStorage.setItem(e,JSON.stringify(i))}catch{}};return(0,F.useEffect)(()=>{a(o)},[]),[o,a]}var ve=require("react-icons/fa");function lt({title:e,description:r,badge:o,primaryAction:n,secondaryAction:a,gradient:i,children:s,className:l}){let[p,c]=nt(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!a&&!r),m=!a&&!r||p;return(0,_e.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,_e.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,_e.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,_e.jsx)(me,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:o}),(0,_e.jsx)("h2",{className:"text-3xl font-bold m-0",children:e})]}),(0,_e.jsxs)("div",{className:"flex items-center gap-3",children:[m&&n&&(0,_e.jsx)(E,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:n.onClick,children:n.label}),(a||r)&&(0,_e.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:()=>c(!p),style:{lineHeight:0},children:p?(0,_e.jsx)(ve.FaChevronDown,{size:22}):(0,_e.jsx)(ve.FaChevronUp,{size:22})})]})]}),!m&&(0,_e.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,_e.jsxs)("div",{className:"space-y-4",children:[(0,_e.jsx)("p",{className:"max-w-[600px] text-white/80",children:r}),(0,_e.jsxs)("div",{className:"flex flex-wrap gap-3",children:[n&&(0,_e.jsx)(E,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:n.onClick,children:n.label}),a&&(0,_e.jsx)(E,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:a.onClick,children:a.label})]})]}),s&&(0,_e.jsx)("div",{className:"hidden lg:block",children:s})]})]})}var nr=e=>{switch(e){case"high":return"\u{1F534}";case"medium":return"\u{1F7E1}";case"low":return"\u{1F7E2}";default:return"\u26AA"}},sr=e=>e.toLocaleDateString("en-US",{weekday:"short",year:"numeric",month:"short",day:"numeric"}),lr=e=>{let[r,o]=e.split(":"),n=new Date;return n.setHours(parseInt(r),parseInt(o)),n.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0})},De=(e,r)=>{let o=new Date,n=new Date(e);if(r){let[a,i]=r.split(":");n.setHours(parseInt(a),parseInt(i))}return n<o},Te=e=>{let r=new Date;return e.toDateString()===r.toDateString()},dr=e=>{let r=new Date;return r.setDate(r.getDate()+1),e.toDateString()===r.toDateString()},cr=({colleagues:e,onAddReminder:r,open:o,setOpen:n})=>{let[a,i]=(0,F.useState)({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""}),[s,l]=(0,F.useState)(!1),p=m=>{m.preventDefault();let x=e.find(k=>k?.id.toString()===a.colleagueId.toString());if(!x){console.error("No valid colleague selected"),l(!0);return}l(!1);let T={title:a.title,description:a.description,dueDate:new Date(a.dueDate),dueTime:a.dueTime||void 0,colleague:x,isCompleted:!1,isRecurring:a.isRecurring,recurrencePattern:a.isRecurring?a.recurrencePattern:void 0,recurrenceInterval:a.isRecurring?a.recurrenceInterval:void 0,priority:a.priority,reminderEnabled:a.reminderEnabled,reminderMinutes:a.reminderEnabled?a.reminderMinutes:void 0,tags:a.tags?a.tags.split(",").map(k=>k.trim()):void 0};r(T),n(!1),i({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""})};(0,F.useEffect)(()=>{a.colleagueId&&l(!1)},[a.colleagueId]);let c=e.filter(Boolean);return(0,_e.jsx)(Ne,{open:o,onOpenChange:n,children:(0,_e.jsxs)(ue,{className:"max-w-2xl",children:[(0,_e.jsx)(pe,{children:(0,_e.jsx)(ge,{children:"Add New Reminder"})}),(0,_e.jsxs)("form",{onSubmit:p,className:"space-y-4",children:[(0,_e.jsx)("div",{className:"grid grid-cols-2 gap-4",children:(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"title",children:"Title"}),(0,_e.jsx)(H,{id:"title",value:a.title,onChange:m=>i({...a,title:m.target.value}),placeholder:"Enter reminder title",required:!0})]})}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"description",children:"Description"}),(0,_e.jsx)(ce,{id:"description",value:a.description,onChange:m=>i({...a,description:m.target.value}),placeholder:"Enter reminder description",rows:3})]}),(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"dueDate",children:"Due Date"}),(0,_e.jsx)(H,{id:"dueDate",type:"date",value:a.dueDate,onChange:m=>i({...a,dueDate:m.target.value}),required:!0})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"dueTime",children:"Due Time (optional)"}),(0,_e.jsx)(H,{id:"dueTime",type:"time",value:a.dueTime,onChange:m=>i({...a,dueTime:m.target.value})})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{className:`${s?"text-destructive":""}`,htmlFor:"colleague",children:"Assigned Colleague"}),(0,_e.jsxs)(X,{value:a.colleagueId,onValueChange:m=>{i({...a,colleagueId:m})},required:!0,children:[(0,_e.jsx)(U,{className:`${s?"text-destructive border-red-500":""}`,children:(0,_e.jsx)(Y,{className:`${s?"text-destructive border-red-500":""}`,placeholder:"Select a digital colleague",children:e.find(m=>m?.id.toString()===a.colleagueId.toString())?.name||"Select a digital colleague"})}),(0,_e.jsx)(j,{children:c.map(m=>(0,_e.jsx)(b,{value:m.id,children:m.name},m.id))})]}),s&&(0,_e.jsx)("p",{className:"text-destructive text-sm",children:"Please select a digital colleague"})]}),(0,_e.jsxs)("div",{className:"space-y-2",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,_e.jsx)("input",{type:"checkbox",id:"isRecurring",checked:a.isRecurring,onChange:m=>i({...a,isRecurring:m.target.checked}),className:"rounded border-border"}),(0,_e.jsx)(w,{htmlFor:"isRecurring",children:"Make this a recurring reminder"})]}),a.isRecurring&&(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"recurrencePattern",children:"Frequency"}),(0,_e.jsxs)(X,{value:a.recurrencePattern,onValueChange:m=>i({...a,recurrencePattern:m}),children:[(0,_e.jsx)(U,{children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(j,{children:[(0,_e.jsx)(b,{value:"daily",children:"Daily"}),(0,_e.jsx)(b,{value:"weekly",children:"Weekly"}),(0,_e.jsx)(b,{value:"monthly",children:"Monthly"}),(0,_e.jsx)(b,{value:"yearly",children:"Yearly"})]})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"recurrenceInterval",children:"Every"}),(0,_e.jsx)(H,{id:"recurrenceInterval",type:"number",min:"1",value:a.recurrenceInterval,onChange:m=>i({...a,recurrenceInterval:parseInt(m.target.value)})})]})]})]}),(0,_e.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,_e.jsx)(E,{type:"button",variant:"outline",onClick:()=>n(!1),children:"Cancel"}),(0,_e.jsx)(E,{type:"submit",children:"Add Reminder"})]})]})]})})},mr=({reminder:e,colleagues:r,onUpdateReminder:o,open:n,onClose:a})=>{let[i,s]=(0,F.useState)({title:e.title,description:e.description,dueDate:e.dueDate.toISOString().split("T")[0],dueTime:e.dueTime||"",colleagueId:e.colleague?.id||"",priority:e.priority,isRecurring:e.isRecurring,recurrencePattern:e.recurrencePattern||"weekly",recurrenceInterval:e.recurrenceInterval||1,reminderEnabled:e.reminderEnabled,reminderMinutes:e.reminderMinutes||15,tags:e.tags?.join(", ")||""}),l=c=>{c.preventDefault();let m=r.find(x=>x?.id===i.colleagueId);if(!m){console.error("No valid colleague selected");return}o(e.id,{title:i.title,description:i.description,dueDate:new Date(i.dueDate),dueTime:i.dueTime||void 0,colleague:m,priority:i.priority,isRecurring:i.isRecurring,recurrencePattern:i.isRecurring?i.recurrencePattern:void 0,recurrenceInterval:i.isRecurring?i.recurrenceInterval:void 0,reminderEnabled:i.reminderEnabled,reminderMinutes:i.reminderEnabled?i.reminderMinutes:void 0,tags:i.tags?i.tags.split(",").map(x=>x.trim()):void 0}),a()},p=r.filter(Boolean);return(0,_e.jsx)(Ne,{open:n,onOpenChange:a,children:(0,_e.jsxs)(ue,{className:"max-w-2xl",children:[(0,_e.jsx)(pe,{children:(0,_e.jsx)(ge,{children:"Edit Reminder"})}),(0,_e.jsxs)("form",{onSubmit:l,className:"space-y-4",children:[(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-title",children:"Title"}),(0,_e.jsx)(H,{id:"edit-title",value:i.title,onChange:c=>s({...i,title:c.target.value}),placeholder:"Enter reminder title",required:!0})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-priority",children:"Priority"}),(0,_e.jsxs)(X,{value:i.priority,onValueChange:c=>s({...i,priority:c}),children:[(0,_e.jsx)(U,{children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(j,{children:[(0,_e.jsx)(b,{value:"low",children:"\u{1F7E2} Low"}),(0,_e.jsx)(b,{value:"medium",children:"\u{1F7E1} Medium"}),(0,_e.jsx)(b,{value:"high",children:"\u{1F534} High"})]})]})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-description",children:"Description"}),(0,_e.jsx)(ce,{id:"edit-description",value:i.description,onChange:c=>s({...i,description:c.target.value}),placeholder:"Enter reminder description",rows:3})]}),(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-dueDate",children:"Due Date"}),(0,_e.jsx)(H,{id:"edit-dueDate",type:"date",value:i.dueDate,onChange:c=>s({...i,dueDate:c.target.value}),required:!0})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-dueTime",children:"Due Time (optional)"}),(0,_e.jsx)(H,{id:"edit-dueTime",type:"time",value:i.dueTime,onChange:c=>s({...i,dueTime:c.target.value})})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-colleague",children:"Assigned Colleague"}),(0,_e.jsxs)(X,{value:i.colleagueId,onValueChange:c=>s({...i,colleagueId:c}),required:!0,children:[(0,_e.jsx)(U,{children:(0,_e.jsx)(Y,{placeholder:"Select a digital colleague"})}),(0,_e.jsx)(j,{children:p.map(c=>(0,_e.jsx)(b,{value:c.id,children:c.name},c.id))})]})]}),(0,_e.jsxs)("div",{className:"space-y-2",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,_e.jsx)("input",{type:"checkbox",id:"edit-isRecurring",checked:i.isRecurring,onChange:c=>s({...i,isRecurring:c.target.checked}),className:"rounded border-border"}),(0,_e.jsx)(w,{htmlFor:"edit-isRecurring",children:"Make this a recurring reminder"})]}),i.isRecurring&&(0,_e.jsxs)("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-recurrencePattern",children:"Frequency"}),(0,_e.jsxs)(X,{value:i.recurrencePattern,onValueChange:c=>s({...i,recurrencePattern:c}),children:[(0,_e.jsx)(U,{children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(j,{children:[(0,_e.jsx)(b,{value:"daily",children:"Daily"}),(0,_e.jsx)(b,{value:"weekly",children:"Weekly"}),(0,_e.jsx)(b,{value:"monthly",children:"Monthly"}),(0,_e.jsx)(b,{value:"yearly",children:"Yearly"})]})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-recurrenceInterval",children:"Every"}),(0,_e.jsx)(H,{id:"edit-recurrenceInterval",type:"number",min:"1",value:i.recurrenceInterval,onChange:c=>s({...i,recurrenceInterval:parseInt(c.target.value)})})]})]})]}),(0,_e.jsxs)("div",{className:"space-y-2",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,_e.jsx)("input",{type:"checkbox",id:"edit-reminderEnabled",checked:i.reminderEnabled,onChange:c=>s({...i,reminderEnabled:c.target.checked}),className:"rounded border-border"}),(0,_e.jsx)(w,{htmlFor:"edit-reminderEnabled",children:"Enable reminder notifications"})]}),i.reminderEnabled&&(0,_e.jsxs)("div",{className:"pl-6",children:[(0,_e.jsx)(w,{htmlFor:"edit-reminderMinutes",children:"Remind me"}),(0,_e.jsxs)(X,{value:i.reminderMinutes.toString(),onValueChange:c=>s({...i,reminderMinutes:parseInt(c)}),children:[(0,_e.jsx)(U,{children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(j,{children:[(0,_e.jsx)(b,{value:"5",children:"5 minutes before"}),(0,_e.jsx)(b,{value:"15",children:"15 minutes before"}),(0,_e.jsx)(b,{value:"30",children:"30 minutes before"}),(0,_e.jsx)(b,{value:"60",children:"1 hour before"}),(0,_e.jsx)(b,{value:"1440",children:"1 day before"})]})]})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(w,{htmlFor:"edit-tags",children:"Tags (comma-separated)"}),(0,_e.jsx)(H,{id:"edit-tags",value:i.tags,onChange:c=>s({...i,tags:c.target.value}),placeholder:"e.g., urgent, meeting, follow-up"})]}),(0,_e.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,_e.jsx)(E,{type:"button",variant:"outline",onClick:a,children:"Cancel"}),(0,_e.jsx)(E,{type:"submit",children:"Save Changes"})]})]})]})})},ur=({reminder:e,colleagues:r,onUpdateReminder:o,onDeleteReminder:n})=>{let[a,i]=(0,F.useState)(!1);if(!e||!e.id)return null;let s=De(e.dueDate,e.dueTime),l=Te(e.dueDate),p=dr(e.dueDate),c=()=>{o(e.id,{isCompleted:!e.isCompleted,completedAt:e.isCompleted?void 0:new Date})},m=()=>l?"Today":p?"Tomorrow":s&&!e.isCompleted?"Overdue":sr(e.dueDate);return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(mr,{reminder:e,colleagues:r,onUpdateReminder:o,open:a,onClose:()=>i(!1)}),(0,_e.jsx)($,{className:`transition-all duration-200 ${e.isCompleted?"opacity-60":""} ${s&&!e.isCompleted?"border-destructive/50 bg-destructive/5":""}`,children:(0,_e.jsx)(Se,{className:"p-4",children:(0,_e.jsxs)("div",{className:"flex items-start justify-between",children:[(0,_e.jsxs)("div",{className:"flex items-start space-x-3 flex-1",children:[(0,_e.jsx)("button",{onClick:c,className:"mt-1 text-primary hover:text-primary/80",children:e.isCompleted?(0,_e.jsx)(Z.CheckCircle,{className:"h-5 w-5"}):(0,_e.jsx)(Z.Circle,{className:"h-5 w-5"})}),(0,_e.jsxs)("div",{className:"flex-1",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-2 mb-1",children:[(0,_e.jsx)("h3",{className:`font-semibold ${e.isCompleted?"line-through text-muted-foreground":""}`,children:e.title}),(0,_e.jsx)("span",{className:"text-sm",children:nr(e.priority)}),e.isRecurring&&(0,_e.jsx)(Z.Repeat,{className:"h-4 w-4 text-primary"}),e.reminderEnabled&&(0,_e.jsx)(Z.Bell,{className:"h-4 w-4 text-success"})]}),(0,_e.jsx)("p",{className:"text-sm text-muted-foreground mb-2",children:e.description}),(0,_e.jsxs)("div",{className:"flex items-center space-x-4 text-sm text-muted-foreground",children:[(0,_e.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,_e.jsx)(Z.Calendar,{className:"h-4 w-4"}),(0,_e.jsx)("span",{className:s&&!e.isCompleted?"text-destructive font-medium":"",children:m()})]}),e.dueTime&&(0,_e.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,_e.jsx)(Z.Clock,{className:"h-4 w-4"}),(0,_e.jsx)("span",{children:lr(e.dueTime)})]}),(0,_e.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,_e.jsx)(Z.User,{className:"h-4 w-4"}),(0,_e.jsx)("span",{children:e.colleague?.name||"Unknown Colleague"})]})]}),e.tags&&e.tags.length>0&&(0,_e.jsx)("div",{className:"flex flex-wrap gap-1 mt-2",children:e.tags.map((x,T)=>(0,_e.jsx)(me,{variant:"secondary",className:"text-xs",children:x},T))})]})]}),(0,_e.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,_e.jsx)(E,{variant:"ghost",size:"sm",onClick:()=>i(!0),className:"h-8 w-8 p-0",children:(0,_e.jsx)(Z.Edit2,{className:"h-4 w-4"})}),(0,_e.jsx)(E,{variant:"ghost",size:"sm",onClick:()=>n(e.id),className:"h-8 w-8 p-0 text-destructive hover:text-destructive/80",children:(0,_e.jsx)(Z.Trash2,{className:"h-4 w-4"})})]})]})})})]})},dt=({initialReminders:e=[],initialColleagues:r=[],onAddReminder:o,onUpdateReminder:n,onDeleteReminder:a})=>{let[i,s]=(0,F.useState)(e.filter(Boolean)),[l]=(0,F.useState)(r.filter(Boolean)),[p,c]=(0,F.useState)("all"),[m,x]=(0,F.useState)(""),[T,k]=(0,F.useState)(!1),A=d=>{if(!d.title||!d.colleague?.id){console.error("Invalid reminder data:",d);return}let R={...d,id:Date.now().toString(),createdAt:new Date};s(B=>[...B,R]),o?.(d)},N=(d,R)=>{if(!d){console.error("No reminder ID provided for update");return}s(B=>B.map(V=>V?.id===d?{...V,...R}:V)),n?.(d,R)},y=d=>{if(!d){console.error("No reminder ID provided for deletion");return}s(R=>R.filter(B=>B?.id!==d)),a?.(d)},M=i.filter(d=>{if(!d)return!1;if(m){let R=m.toLowerCase();if(!(d.title.toLowerCase().includes(R)||d.description.toLowerCase().includes(R)||d.colleague?.name?.toLowerCase().includes(R)||d.tags?.some(V=>V.toLowerCase().includes(R))))return!1}switch(p){case"pending":return!d.isCompleted;case"completed":return d.isCompleted;case"overdue":return!d.isCompleted&&De(d.dueDate,d.dueTime);case"today":return Te(new Date(d.dueDate));default:return!0}}).sort((d,R)=>{if(!d||!R)return 0;if(d.isCompleted&&!R.isCompleted)return 1;if(!d.isCompleted&&R.isCompleted)return-1;let B={high:3,medium:2,low:1},V=B[R.priority]-B[d.priority];return V!==0?V:d.dueDate.getTime()-R.dueDate.getTime()}),L={total:i.filter(Boolean).length,pending:i.filter(d=>d&&!d.isCompleted).length,completed:i.filter(d=>d&&d.isCompleted).length,overdue:i.filter(d=>d&&!d.isCompleted&&De(d.dueDate,d.dueTime)).length,today:i.filter(d=>d&&Te(new Date(d.dueDate))).length},_=l.find(Boolean)||{id:"1",name:"Default Colleague",status:"active",joinedDate:new Date,lastActive:new Date,type:"digital",description:"Default digital colleague for task management",jobDescription:"Default team member for task management",workInstructions:"Handle basic task assignments and reminders",capabilities:["task-management","reminder-creation"],knowledge:[],coreKnowledge:[],version:"1.0.0",lastUpdated:new Date,isActive:!0};return(0,_e.jsxs)("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[(0,_e.jsx)(lt,{title:"Task Reminders",description:"Manage reminders and stay on top of important tasks and deadlines.",gradient:"bg-gradient-to-r from-emerald-600 via-teal-600 to-cyan-600",primaryAction:{label:"Add reminder",onClick:()=>{k(!0)}}}),(0,_e.jsxs)("div",{className:"h-full bg-background",children:[(0,_e.jsx)(cr,{colleagues:l,onAddReminder:A,open:T,setOpen:k}),(0,_e.jsxs)("div",{className:"p-6",children:[(0,_e.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)("h1",{className:"text-2xl font-bold text-foreground",children:"Task Reminders"}),(0,_e.jsx)("p",{className:"text-muted-foreground",children:"Manage your digital colleague task reminders"})]}),(0,_e.jsxs)(E,{className:"flex items-center space-x-2",onClick:()=>k(!0),children:[(0,_e.jsx)(Z.Plus,{className:"h-4 w-4"}),(0,_e.jsx)("span",{children:"Add Reminder"})]})]}),(0,_e.jsxs)("div",{className:"grid grid-cols-5 gap-4 mb-6",children:[(0,_e.jsxs)($,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-foreground",children:L.total}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Total"})]}),(0,_e.jsxs)($,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-primary",children:L.pending}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Pending"})]}),(0,_e.jsxs)($,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-success",children:L.completed}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Completed"})]}),(0,_e.jsxs)($,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-destructive",children:L.overdue}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Overdue"})]}),(0,_e.jsxs)($,{className:"p-4",children:[(0,_e.jsx)("div",{className:"text-2xl font-bold text-warning",children:L.today}),(0,_e.jsx)("div",{className:"text-sm text-muted-foreground",children:"Today"})]})]}),(0,_e.jsxs)("div",{className:"flex items-center space-x-4 mb-6",children:[(0,_e.jsx)("div",{className:"flex-1",children:(0,_e.jsx)(H,{placeholder:"Search reminders...",value:m,onChange:d=>x(d.target.value),className:"max-w-md"})}),(0,_e.jsxs)(X,{value:p,onValueChange:d=>c(d),children:[(0,_e.jsx)(U,{className:"w-40",children:(0,_e.jsx)(Y,{})}),(0,_e.jsxs)(j,{children:[(0,_e.jsxs)(b,{value:"all",children:["All (",L.total,")"]}),(0,_e.jsxs)(b,{value:"pending",children:["Pending (",L.pending,")"]}),(0,_e.jsxs)(b,{value:"completed",children:["Completed (",L.completed,")"]}),(0,_e.jsxs)(b,{value:"overdue",children:["Overdue (",L.overdue,")"]}),(0,_e.jsxs)(b,{value:"today",children:["Today (",L.today,")"]})]})]})]}),(0,_e.jsx)("div",{className:"space-y-4",children:M.length===0?(0,_e.jsxs)($,{className:"p-8 text-center",children:[(0,_e.jsx)("div",{className:"text-muted-foreground",children:m||p!=="all"?"No reminders match your filters":"No reminders yet"}),!m&&p==="all"&&(0,_e.jsx)("p",{className:"text-sm text-muted-foreground/60 mt-2",children:"Create your first reminder to get started"})]}):M.map(d=>d&&(0,_e.jsx)(ur,{reminder:d,colleagues:l,onUpdateReminder:N,onDeleteReminder:y},d.id))})]})]})]})},pr=dt;0&&(module.exports={TasksView});
@@ -1 +1 @@
1
- import{a,b}from"../../chunk-OYZX5BM4.mjs";import"../../chunk-Z22NSJMF.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-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 TasksView,b as default};
1
+ import{a,b}from"../../chunk-ZMB6R6JX.mjs";import"../../chunk-Z22NSJMF.mjs";import"../../chunk-YFAZQYK4.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-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 TasksView,b as default};