cortex-react-components 1.53.11 → 1.53.13

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 (159) hide show
  1. package/dist/{chunk-TNCMFPCJ.mjs → chunk-2GAB2DAK.mjs} +1 -1
  2. package/dist/{chunk-3WIP6KGJ.mjs → chunk-2QVJBFPH.mjs} +1 -1
  3. package/dist/{chunk-TZE7RZAV.mjs → chunk-3BBZH3T3.mjs} +1 -1
  4. package/dist/{chunk-EOJQ2KKP.mjs → chunk-4MQV5KBS.mjs} +1 -1
  5. package/dist/{chunk-GGZBTSJX.mjs → chunk-65KP55SA.mjs} +1 -1
  6. package/dist/{chunk-CBAMKCVZ.mjs → chunk-6JB2YPEG.mjs} +1 -1
  7. package/dist/{chunk-67BUBESC.mjs → chunk-6ZTACGHK.mjs} +1 -1
  8. package/dist/{chunk-OGKJF5LR.mjs → chunk-7XB4Y3U2.mjs} +1 -1
  9. package/dist/chunk-AUBX64ZD.mjs +1 -0
  10. package/dist/{chunk-D7A7EUEW.mjs → chunk-DFB6DJCW.mjs} +1 -1
  11. package/dist/{chunk-A4FSBW4J.mjs → chunk-DHLQCOMJ.mjs} +1 -1
  12. package/dist/chunk-DPZBRGJ3.mjs +1 -0
  13. package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
  14. package/dist/chunk-G3XMLLE4.mjs +1 -0
  15. package/dist/{chunk-SELG6WQB.mjs → chunk-GFX7ISZC.mjs} +1 -1
  16. package/dist/{chunk-7SIA5TYE.mjs → chunk-GRBCNB4W.mjs} +1 -1
  17. package/dist/{chunk-NCDGCFUX.mjs → chunk-HDVYZQKY.mjs} +1 -1
  18. package/dist/{chunk-WZLEEZ5C.mjs → chunk-IT7DSLCX.mjs} +1 -1
  19. package/dist/{chunk-AHJ5FNJ2.mjs → chunk-KWHF45RW.mjs} +1 -1
  20. package/dist/{chunk-KLCZHZKQ.mjs → chunk-LLJZRF3C.mjs} +1 -1
  21. package/dist/{chunk-ZRELTOLU.mjs → chunk-NFLAGBIE.mjs} +1 -1
  22. package/dist/{chunk-IIRRLI65.mjs → chunk-PJSJJVIS.mjs} +1 -1
  23. package/dist/{chunk-LTCE726Z.mjs → chunk-QQXJS6KW.mjs} +1 -1
  24. package/dist/{chunk-FRFZ7LVW.mjs → chunk-QSIJJSKA.mjs} +1 -1
  25. package/dist/{chunk-JF54R3EA.mjs → chunk-S24Q6P5C.mjs} +1 -1
  26. package/dist/chunk-ST57SBGX.mjs +1 -0
  27. package/dist/{chunk-LHXPQC5D.mjs → chunk-TATBOD3E.mjs} +1 -1
  28. package/dist/{chunk-PLAYORPG.mjs → chunk-TUFJTJCO.mjs} +1 -1
  29. package/dist/chunk-TXB5Y6PG.mjs +4 -0
  30. package/dist/{chunk-3X7MZJKC.mjs → chunk-VCC562W2.mjs} +1 -1
  31. package/dist/{chunk-GSKQEJUW.mjs → chunk-VSNDROOR.mjs} +1 -1
  32. package/dist/{chunk-PUTLV4MC.mjs → chunk-WV4NLWRU.mjs} +1 -1
  33. package/dist/{chunk-YYTC3N7R.mjs → chunk-XDFXEM2U.mjs} +1 -1
  34. package/dist/{chunk-LREG7GGX.mjs → chunk-XRSFJHOZ.mjs} +1 -1
  35. package/dist/{chunk-BBAZXZHU.mjs → chunk-YEPCYWNC.mjs} +1 -1
  36. package/dist/{chunk-XBDQDQ2Y.mjs → chunk-ZODTQZTN.mjs} +1 -1
  37. package/dist/components/Blocks/Banner.mjs +1 -1
  38. package/dist/components/Blocks/CallToAction.mjs +1 -1
  39. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  40. package/dist/components/Blocks/Content.mjs +1 -1
  41. package/dist/components/Blocks/Content.stories.mjs +1 -1
  42. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  43. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  44. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  45. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  46. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  47. package/dist/components/Blocks/index.mjs +1 -1
  48. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  49. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  50. package/dist/components/CRM/index.mjs +1 -1
  51. package/dist/components/Cards/ContentCard.mjs +1 -1
  52. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  53. package/dist/components/Cards/FeatureCard.js +1 -1
  54. package/dist/components/Cards/FeatureCard.mjs +1 -1
  55. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  56. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  57. package/dist/components/Cards/index.js +1 -1
  58. package/dist/components/Cards/index.mjs +1 -1
  59. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  60. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  61. package/dist/components/HeaderFooter/Header.mjs +1 -1
  62. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  63. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  64. package/dist/components/HeaderFooter/index.mjs +1 -1
  65. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  66. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  67. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  68. package/dist/components/Heros/RenderHero.mjs +1 -1
  69. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  70. package/dist/components/Heros/index.mjs +1 -1
  71. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  72. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  73. package/dist/components/Holidays/index.mjs +1 -1
  74. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  75. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  76. package/dist/components/Layouts/NewsList.js +1 -1
  77. package/dist/components/Layouts/NewsList.mjs +1 -1
  78. package/dist/components/Layouts/NewsList.stories.js +1 -1
  79. package/dist/components/Layouts/NewsList.stories.mjs +1 -1
  80. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  81. package/dist/components/Layouts/Print.mjs +1 -1
  82. package/dist/components/Layouts/Print.stories.mjs +1 -1
  83. package/dist/components/Layouts/SlideShow.mjs +1 -1
  84. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  85. package/dist/components/Layouts/index.mjs +1 -1
  86. package/dist/components/Menus/Filter.js +1 -1
  87. package/dist/components/Menus/Filter.mjs +1 -1
  88. package/dist/components/Menus/Filter.stories.js +1 -1
  89. package/dist/components/Menus/Filter.stories.mjs +1 -1
  90. package/dist/components/Menus/Pagination.js +1 -1
  91. package/dist/components/Menus/Pagination.mjs +1 -1
  92. package/dist/components/Menus/Pagination.stories.js +1 -1
  93. package/dist/components/Menus/Pagination.stories.mjs +1 -1
  94. package/dist/components/Menus/index.js +1 -1
  95. package/dist/components/Menus/index.mjs +1 -1
  96. package/dist/components/Payload/RichText/index.mjs +1 -1
  97. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  98. package/dist/components/Payload/RichText.stories.mjs +1 -1
  99. package/dist/components/Payload/index.mjs +1 -1
  100. package/dist/components/index.js +2 -2
  101. package/dist/components/index.mjs +1 -1
  102. package/dist/globals.css +1 -1
  103. package/dist/index.js +8 -8
  104. package/dist/index.mjs +1 -1
  105. package/dist/metafile-cjs.json +1 -1
  106. package/dist/metafile-esm.json +1 -1
  107. package/dist/pages/Blog.mjs +1 -1
  108. package/dist/pages/Blog.stories.mjs +1 -1
  109. package/dist/pages/Documentation.mjs +1 -1
  110. package/dist/pages/Documentation.stories.mjs +1 -1
  111. package/dist/pages/IndexPage.mjs +1 -1
  112. package/dist/pages/IndexPage.stories.mjs +1 -1
  113. package/dist/pages/Intranet.mjs +1 -1
  114. package/dist/pages/Intranet.stories.mjs +1 -1
  115. package/dist/pages/LandingPage.js +1 -1
  116. package/dist/pages/LandingPage.mjs +1 -1
  117. package/dist/pages/LandingPage.stories.js +1 -1
  118. package/dist/pages/LandingPage.stories.mjs +1 -1
  119. package/dist/pages/Page.mjs +1 -1
  120. package/dist/pages/Page.stories.mjs +1 -1
  121. package/dist/pages/Printable.stories.mjs +1 -1
  122. package/dist/pages/Publish.mjs +1 -1
  123. package/dist/pages/Publish.stories.mjs +1 -1
  124. package/dist/pages/Website.mjs +1 -1
  125. package/dist/pages/Website.stories.mjs +1 -1
  126. package/dist/sections/AboutSection.mjs +1 -1
  127. package/dist/sections/AboutSection.stories.mjs +1 -1
  128. package/dist/sections/BlogDetail.mjs +1 -1
  129. package/dist/sections/BlogDetail.stories.mjs +1 -1
  130. package/dist/sections/BlogList.mjs +1 -1
  131. package/dist/sections/BlogList.stories.mjs +1 -1
  132. package/dist/sections/BlogListSection.js +1 -1
  133. package/dist/sections/BlogListSection.mjs +1 -1
  134. package/dist/sections/BlogListSection.stories.js +1 -1
  135. package/dist/sections/BlogListSection.stories.mjs +1 -1
  136. package/dist/sections/ContactSection.mjs +1 -1
  137. package/dist/sections/ContactSection.stories.mjs +1 -1
  138. package/dist/sections/ImageSection.stories.mjs +1 -1
  139. package/dist/sections/PageSections.js +1 -1
  140. package/dist/sections/PageSections.mjs +1 -1
  141. package/dist/sections/PageSections.stories.js +1 -1
  142. package/dist/sections/PageSections.stories.mjs +1 -1
  143. package/dist/sections/PricingSection.mjs +1 -1
  144. package/dist/sections/PricingSection.stories.mjs +1 -1
  145. package/dist/sections/ServiceDetailSection.mjs +1 -1
  146. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  147. package/dist/sections/ServiceSection.js +1 -1
  148. package/dist/sections/ServiceSection.mjs +1 -1
  149. package/dist/sections/ServiceSection.stories.js +1 -1
  150. package/dist/sections/ServiceSection.stories.mjs +1 -1
  151. package/dist/sections/form/index.mjs +1 -1
  152. package/dist/sections/index.js +3 -3
  153. package/dist/sections/index.mjs +1 -1
  154. package/package.json +1 -1
  155. package/dist/chunk-KJ2C7CBU.mjs +0 -4
  156. package/dist/chunk-NJC7ZQ2T.mjs +0 -1
  157. package/dist/chunk-VV7TUGRV.mjs +0 -1
  158. package/dist/chunk-WUHIBYYW.mjs +0 -1
  159. package/dist/chunk-XYLYPBZO.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Wt=Object.create;var Me=Object.defineProperty;var $t=Object.getOwnPropertyDescriptor;var jt=Object.getOwnPropertyNames;var Ut=Object.getPrototypeOf,Kt=Object.prototype.hasOwnProperty;var qt=(e,t)=>{for(var r in t)Me(e,r,{get:t[r],enumerable:!0})},rt=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of jt(t))!Kt.call(e,a)&&a!==r&&Me(e,a,{get:()=>t[a],enumerable:!(o=$t(t,a))||o.enumerable});return e};var T=(e,t,r)=>(r=e!=null?Wt(Ut(e)):{},rt(t||!e||!e.__esModule?Me(r,"default",{value:e,enumerable:!0}):r,e)),Xt=e=>rt(Me({},"__esModule",{value:!0}),e);var io={};qt(io,{Categories:()=>ao,Filter:()=>no,Pagination:()=>oo,ProjectTeam:()=>to,RelatedContent:()=>ro,SidebarLeft:()=>Xr,SidebarRight:()=>Zr});module.exports=Xt(io);var zt=require("lucide-react");var Q=T(require("@radix-ui/react-collapsible")),q=Q.Root,ee=Q.CollapsibleTrigger,te=Q.CollapsibleContent;var je=T(require("clsx"));var pt=require("clsx");var Be="-",Jt=e=>{let t=Zt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(Be);return n[0]===""&&n.length!==1&&n.shift(),nt(n,t)||Yt(l)},getConflictingClassGroupIds:(l,n)=>{let p=r[l]||[];return n&&o[l]?[...p,...o[l]]:p}}},nt=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?nt(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(Be);return(l=t.validators.find(({validator:n})=>n(s)))==null?void 0:l.classGroupId},ot=/^\[(.+)\]$/,Yt=e=>{if(ot.test(e)){let t=ot.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Zt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return er(Object.entries(e.classGroups),r).forEach(([s,l])=>{He(l,o,s,t)}),o},He=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:at(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Qt(a)){He(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,l])=>{He(l,at(t,s),r,o)})})},at=(e,t)=>{let r=e;return t.split(Be).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Qt=e=>e.isThemeGetter,er=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[t+l,n])):s);return[r,a]}):e,tr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return a(s,l),l},set(s,l){r.has(s)?r.set(s,l):a(s,l)}}},it="!",rr=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,l=n=>{let p=[],x=0,y=0,v;for(let g=0;g<n.length;g++){let w=n[g];if(x===0){if(w===a&&(o||n.slice(g,g+s)===t)){p.push(n.slice(y,g)),y=g+s;continue}if(w==="/"){v=g;continue}}w==="["?x++:w==="]"&&x--}let f=p.length===0?n:n.substring(y),N=f.startsWith(it),M=N?f.substring(1):f,u=v&&v>y?v-y:void 0;return{modifiers:p,hasImportantModifier:N,baseClassName:M,maybePostfixModifierPosition:u}};return r?n=>r({className:n,parseClassName:l}):l},or=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},ar=e=>({cache:tr(e.cacheSize),parseClassName:rr(e),...Jt(e)}),nr=/\s+/,ir=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],l=e.trim().split(nr),n="";for(let p=l.length-1;p>=0;p-=1){let x=l[p],{modifiers:y,hasImportantModifier:v,baseClassName:f,maybePostfixModifierPosition:N}=r(x),M=!!N,u=o(M?f.substring(0,N):f);if(!u){if(!M){n=x+(n.length>0?" "+n:n);continue}if(u=o(f),!u){n=x+(n.length>0?" "+n:n);continue}M=!1}let g=or(y).join(":"),w=v?g+it:g,C=w+u;if(s.includes(C))continue;s.push(C);let G=a(u,M);for(let K=0;K<G.length;++K){let Ce=G[K];s.push(w+Ce)}n=x+(n.length>0?" "+n:n)}return n};function sr(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=st(t))&&(o&&(o+=" "),o+=r);return o}var st=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=st(e[o]))&&(r&&(r+=" "),r+=t);return r};function lr(e,...t){let r,o,a,s=l;function l(p){let x=t.reduce((y,v)=>v(y),e());return r=ar(x),o=r.cache.get,a=r.cache.set,s=n,n(p)}function n(p){let x=o(p);if(x)return x;let y=ir(p,r);return a(p,y),y}return function(){return s(sr.apply(null,arguments))}}var S=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},lt=/^\[(?:([a-z-]+):)?(.+)\]$/ut,dr=/^\d+\/\d+$/,cr=new Set(["px","full","screen"]),pr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ur=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|ut|ut|min|max))|\ut(calc|min|max|clamp)\(.+\)|^0$/,mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>re(e)||cr.has(e)||dr.test(e),j=e=>oe(e,"length",Cr),re=e=>!!e&&!Number.isNaN(Number(e)),Ae=e=>oe(e,"number",re),me=e=>!!e&&Number.isInteger(Number(e)),gr=e=>e.endsWith("%")&&re(e.slice(0,-1)),m=e=>lt.test(e),U=e=>pr.test(e),hr=new Set(["length","size","percentage"]),vr=e=>oe(e,hr,dt),xr=e=>oe(e,"position",dt),yr=new Set(["image","url"]),wr=e=>oe(e,yr,Nr),Sr=e=>oe(e,"",Rr),be=()=>!0,oe=(e,t,r)=>{let o=lt.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Cr=e=>ur.test(e)&&!mr.test(e),dt=()=>!1,Rr=e=>br.test(e),Nr=e=>fr.test(e);var Mr=()=>{let e=S("colors"),t=S("spacing"),r=S("blur"),o=S("brightness"),a=S("borderColor"),s=S("borderRadius"),l=S("borderSpacing"),n=S("borderWidth"),p=S("contrast"),x=S("grayscale"),y=S("hueRotate"),v=S("invert"),f=S("gap"),N=S("gradientColorStops"),M=S("gradientColorStopPositions"),u=S("inset"),g=S("margin"),w=S("opacity"),C=S("padding"),G=S("saturate"),K=S("scale"),Ce=S("sepia"),Xe=S("skew"),Je=S("space"),Ye=S("translate"),Le=()=>["auto","contain","none"],Ie=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",m,t],R=()=>[m,t],Ze=()=>["",V,j],Re=()=>["auto",re,m],Qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ne=()=>["solid","dashed","dotted","double","none"],et=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ze=()=>["start","end","center","between","around","evenly","stretch"],ue=()=>["","0",m],tt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[re,m];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[V,j],blur:["none","",U,m],brightness:F(),borderColor:[e],borderRadius:["none","","full",U,m],borderSpacing:R(),borderWidth:Ze(),contrast:F(),grayscale:ue(),hueRotate:F(),invert:ue(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[gr,j],inset:Ee(),margin:Ee(),opacity:F(),padding:R(),saturate:F(),scale:F(),sepia:ue(),skew:F(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":tt()}],"break-before":[{"break-before":tt()}],"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:[...Qe(),m]}],overflow:[{overflow:Ie()}],"overflow-x":[{"overflow-x":Ie()}],"overflow-y":[{"overflow-y":Ie()}],overscroll:[{overscroll:Le()}],"overscroll-x":[{"overscroll-x":Le()}],"overscroll-y":[{"overscroll-y":Le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",me,m]}],basis:[{basis:Ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",m]}],grow:[{grow:ue()}],shrink:[{shrink:ue()}],order:[{order:["first","last","none",me,m]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",me,m]},m]}],"col-start":[{"col-start":Re()}],"col-end":[{"col-end":Re()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[me,m]},m]}],"row-start":[{"row-start":Re()}],"row-end":[{"row-end":Re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",m]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",m]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...ze()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ze(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ze(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],de:[{de:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[Je]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Je]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",m,t]}],"min-w":[{"min-w":[m,t,"min","max","fit"]}],"max-w":[{"max-w":[m,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[m,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[m,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"font-family":[{font:[be]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",m]}],"line-clamp":[{"line-clamp":["none",re,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,m]}],"list-image":[{"list-image":["none",m]}],"list-style-type":[{list:["none","disc","decimal",m]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,j]}],"underline-offset":[{"underline-offset":["auto",V,m]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",m]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Qe(),xr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","ut","bl","l","tl"]},wr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-ut":[{"rounded-ut":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-ut":[{"border-ut":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...Ne(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:Ne()}],"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-ut":[{"border-ut":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Ne()]}],"outline-offset":[{"outline-offset":[V,m]}],"outline-w":[{outline:[V,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[V,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Sr]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...et(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":et()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",U,m]}],grayscale:[{grayscale:[x]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[v]}],saturate:[{saturate:[G]}],sepia:[{sepia:[Ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[x]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[Ce]}],"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",m]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[K]}],"scale-x":[{"scale-x":[K]}],"scale-y":[{"scale-y":[K]}],rotate:[{rotate:[me,m]}],"translate-x":[{"translate-x":[Ye]}],"translate-y":[{"translate-y":[Ye]}],"skew-x":[{"skew-x":[Xe]}],"skew-y":[{"skew-y":[Xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",m]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",m]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-de":[{"scroll-de":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",m]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[V,j,Ae]}],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","de","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-ut","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-ut":["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-ut","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-ut"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-ut","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-ut"],"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-de","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 ct=lr(Mr);function d(...e){return ct((0,pt.clsx)(e))}var ut=require("react/jsx-runtime");function P({className:e,...t}){return(0,ut.jsx)("div",{className:d("animate-pulse rounded-md bg-primary/10",e),...t})}var h=T(require("react")),ae=require("@radix-ui/react-slot"),Lt=require("class-variance-authority");var Pe=require("react"),mt=(e=768)=>{let[t,r]=(0,Pe.useState)(!1);return(0,Pe.useEffect)(()=>{let o=()=>{r(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var gt=T(require("react")),Pr=(0,Lt.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-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),fe=gt.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},s)=>(0,ut.jsx)(e?ae.Slot:"button",{className:d(Pr({className:t,size:r,variant:o})),ref:s,...a}));fe.displayName="Button";var vt=T(require("react"));var Ge=vt.forwardRef(({className:e,type:t,...r},o)=>(0,ut.jsx)("input",{type:t,className:d("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));Ge.displayName="Input";var yt=T(require("react")),De=T(require("@radix-ui/react-separator"));var _e=yt.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...o},a)=>(0,ut.jsx)(De.Root,{ref:a,decorative:r,orientation:t,className:d("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));_e.displayName=De.Root.displayName;var ge=T(require("react")),k=T(require("@radix-ui/react-dialog")),St=require("@radix-ui/react-icons");var Rt=k.Root;var kr=k.Portal,Nt=ge.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(k.Overlay,{className:d("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));Nt.displayName=k.Overlay.displayName;var Tr=(0,Lt.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-ut data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Oe=ge.forwardRef(({side:e="right",className:t,children:r,...o},a)=>(0,ut.jsxs)(kr,{children:[(0,ut.jsx)(Nt,{}),(0,ut.jsxs)(k.Content,{ref:a,className:d(Tr({side:e}),t),...o,children:[(0,ut.jsxs)(k.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,ut.jsx)(St.Cross2Icon,{className:"h-4 w-4"}),(0,ut.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));Oe.displayName=k.Content.displayName;var Lr=({className:e,...t})=>(0,ut.jsx)("div",{className:d("flex flex-col space-y-2 text-center sm:text-left",e),...t});Lr.displayName="SheetHeader";var Ir=({className:e,...t})=>(0,ut.jsx)("div",{className:d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Ir.displayName="SheetFooter";var Er=ge.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(k.Title,{ref:r,className:d("text-lg font-semibold text-foreground",e),...t}));Er.displayName=k.Title.displayName;var zr=ge.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(k.Description,{ref:r,className:d("text-sm text-muted-foreground",e),...t}));zr.displayName=k.Description.displayName;var Mt=T(require("react")),B=T(require("@radix-ui/react-tooltip"));var Pt=B.Provider,kt=B.Root,Tt=B.Trigger,Ve=Mt.forwardRef(({className:e,sideOffset:t=4,...r},o)=>(0,ut.jsx)(B.Portal,{children:(0,ut.jsx)(B.Content,{ref:o,sideOffset:t,className:d("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));Ve.displayName=B.Content.displayName;var Ar="sidebar:state",Hr=60*60*24*7,Br="16rem",Gr="18rem",Dr="3rem",_r="ut",Et=h.createContext(null);function ke(){let e=h.useContext(Et);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var Or=h.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:o,style:a,children:s,...l},n)=>{let p=mt(),[x,y]=h.useState(!1),[v,f]=h.useState(e),N=t!=null?t:v,M=h.useCallback(C=>{if(r)return r==null?void 0:r(typeof C=="function"?C(N):C);f(C),document.cookie=`${Ar}=${N}; path=/; max-age=${Hr}`},[r,N]),u=h.useCallback(()=>p?y(C=>!C):M(C=>!C),[p,M,y]);h.useEffect(()=>{let C=G=>{G.key===_r&&(G.metaKey||G.ctrlKey)&&(G.preventDefault(),u())};return window.addEventListener("keydown",C),()=>window.removeEventListener("keydown",C)},[u]);let g=N?"expanded":"collapsed",w=h.useMemo(()=>({state:g,open:N,setOpen:M,isMobile:p,openMobile:x,setOpenMobile:y,toggleSidebar:u}),[g,N,M,p,x,y,u]);return(0,ut.jsx)(Et.Provider,{value:w,children:(0,ut.jsx)(Pt,{delayDuration:0,children:(0,ut.jsx)("div",{style:{"--sidebar-width":Br,"--sidebar-width-icon":Dr,...a},className:d("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:n,...l,children:s})})})});Or.displayName="SidebarProvider";var he=h.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:o,children:a,...s},l)=>{let{isMobile:n,state:p,openMobile:x,setOpenMobile:y}=ke();return r==="none"?(0,ut.jsx)("div",{className:d("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:l,...s,children:a}):n?(0,ut.jsx)(Rt,{open:x,onOpenChange:y,...s,children:(0,ut.jsx)(Oe,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Gr},side:e,children:(0,ut.jsx)("div",{className:"flex h-full w-full flex-col",children:a})})}):(0,ut.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":p,"data-collapsible":p==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,ut.jsx)("div",{className:d("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,ut.jsx)("div",{className:d("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:(0,ut.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:a})})]})});he.displayName="Sidebar";var Fr=h.forwardRef(({className:e,onClick:t,...r},o)=>{let{toggleSidebar:a}=ke();return(0,ut.jsxs)(fe,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:d("h-7 w-7",e),onClick:s=>{t==null||t(s),a()},...r,children:[(0,ut.jsx)(zt.PanelLeft,{}),(0,ut.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Fr.displayName="SidebarTrigger";var Vr=h.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:o}=ke();return(0,ut.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:d("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});Vr.displayName="SidebarRail";var Wr=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("main",{ref:r,className:d("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Wr.displayName="SidebarInset";var $r=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(Ge,{ref:r,"data-sidebar":"input",className:d("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));$r.displayName="SidebarInput";var ve=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"header",className:d("flex flex-col gap-2 p-2",e),...t}));ve.displayName="SidebarHeader";var xe=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"footer",className:d("flex flex-col gap-2 p-2",e),...t}));xe.displayName="SidebarFooter";var We=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(_e,{ref:r,"data-sidebar":"separator",className:d("mx-2 w-auto bg-sidebar-border",e),...t}));We.displayName="SidebarSeparator";var ne=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"content",className:d("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));ne.displayName="SidebarContent";var D=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"group",className:d("relative flex w-full min-w-0 flex-col p-2",e),...t}));D.displayName="SidebarGroup";var X=h.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,ut.jsx)(t?ae.Slot:"div",{ref:o,"data-sidebar":"group-label",className:d("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...r}));X.displayName="SidebarGroupLabel";var jr=h.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,ut.jsx)(t?ae.Slot:"button",{ref:o,"data-sidebar":"group-action",className:d("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r}));jr.displayName="SidebarGroupAction";var W=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"group-content",className:d("w-full text-sm",e),...t}));W.displayName="SidebarGroupContent";var z=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("ul",{ref:r,"data-sidebar":"menu",className:d("flex w-full min-w-0 flex-col gap-1",e),...t}));z.displayName="SidebarMenu";var L=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("li",{ref:r,"data-sidebar":"menu-item",className:d("group/menu-item relative",e),...t}));L.displayName="SidebarMenuItem";var Ur=(0,Lt.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),_=h.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:o="default",tooltip:a,className:s,...l},n)=>{let p=e?ae.Slot:"button",{isMobile:x,state:y}=ke(),v=(0,ut.jsx)(p,{ref:n,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:d(Ur({variant:r,size:o}),s),...l});return a?(typeof a=="string"&&(a={children:a}),(0,ut.jsxs)(kt,{children:[(0,ut.jsx)(Tt,{asChild:!0,children:v}),(0,ut.jsx)(Ve,{side:"right",align:"center",hidden:y!=="collapsed"||x,...a})]})):v});_.displayName="SidebarMenuButton";var $e=h.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...o},a)=>(0,ut.jsx)(t?ae.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:d("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));$e.displayName="SidebarMenuAction";var Kr=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:d("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Kr.displayName="SidebarMenuBadge";var qr=h.forwardRef(({className:e,showIcon:t=!1,...r},o)=>{let a=h.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,ut.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:d("rounded-md h-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,ut.jsx)(P,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,ut.jsx)(P,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});qr.displayName="SidebarMenuSkeleton";var ie=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:d("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));ie.displayName="SidebarMenuSub";var se=h.forwardRef(({...e},t)=>(0,ut.jsx)("li",{ref:t,...e}));se.displayName="SidebarMenuSubItem";var le=h.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:o,...a},s)=>(0,ut.jsx)(e?ae.Slot:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:d("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...a}));le.displayName="SidebarMenuSubButton";function Xr({mainNav:e,secondaryNav:t,title:r,subTitle:o,pathName:a,menuHeading:s,onNavClick:l,loading:n=!1,LinkComponent:p,...x}){let v=p?f=>(0,ut.jsx)(p,{...f}):l?({href:f,children:N,...M})=>(0,ut.jsx)("button",{onClick:()=>l&&l(f),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...M,children:N}):f=>(0,ut.jsx)("a",{...f});return(0,ut.jsxs)(he,{...x,variant:"inset",children:[(0,ut.jsx)(ve,{children:(0,ut.jsx)(z,{children:(0,ut.jsx)(L,{children:n?(0,ut.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,ut.jsx)(P,{className:"bg-gray-200 my-2 w-full h-7"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,ut.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,ut.jsx)("span",{className:"truncate font-semibold",children:r}),o&&(0,ut.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),n&&(0,ut.jsxs)(ne,{children:[(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,ut.jsxs)(ne,{children:[e&&!n&&e.map((f,N)=>(0,ut.jsx)(Jr,{subNav:f,pathName:a,Link:v},N)),(0,ut.jsx)(D,{className:"mt-auto",children:(0,ut.jsx)(W,{children:(0,ut.jsx)(z,{children:t&&!n&&t.map(f=>(0,ut.jsx)(L,{children:(0,ut.jsx)(_,{asChild:!0,size:"sm",children:(0,ut.jsxs)(v,{href:f.url||"",children:[f.icon&&(0,ut.jsx)(f.icon,{}),(0,ut.jsx)("span",{children:f.label})]})})},f.label))})})})]}),(0,ut.jsx)(xe,{})]})}function Jr({subNav:e,pathName:t,Link:r}){var s,l;let o=e,a=!1;return o.links&&o.links.map(n=>{n.url===t&&(a=!0)}),(0,ut.jsx)(q,{defaultOpen:!0,className:"group/collapsible",children:(0,ut.jsx)(D,{className:"py-0",children:(0,ut.jsx)(z,{children:(0,ut.jsx)(q,{asChild:!0,defaultOpen:o.isActive,children:(0,ut.jsxs)(L,{children:[(0,ut.jsx)(_,{asChild:!0,tooltip:o.label,className:(0,je.default)(a&&"font-bold text-accent"),children:(0,ut.jsxs)(r,{href:o.url,children:[o.icon&&(0,ut.jsx)(o.icon,{}),(0,ut.jsx)("span",{children:o.label})]})}),(s=o.links)!=null&&s.length?(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(ee,{asChild:!0,children:(0,ut.jsxs)($e,{className:"data-[state=open]:rotate-90",children:[(0,ut.jsx)(zt.ChevronRight,{}),(0,ut.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,ut.jsx)(te,{children:(0,ut.jsx)(ie,{children:(l=o.links)==null?void 0:l.map(n=>(0,ut.jsx)(se,{children:(0,ut.jsx)(le,{asChild:!0,className:(0,je.default)(n.url===t&&"font-bold text-accent"),children:(0,ut.jsx)(r,{href:n.url,children:(0,ut.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var Ht=T(require("clsx"));var Ue=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+t,l=o!=null?o:"",n=a+s+" fa-"+r+" "+l;return(0,ut.jsx)("ut",{className:n})};var Yr=()=>(0,ut.jsx)(Ue,{iconName:"github",size:"10x"});function Zr({relatedContent:e,tableOfContents:t,editorComponent:r,loading:o=!1,editMode:a=!1,onAddDocument:s,onEditDocument:l,onPrintDocument:n,onGithubClick:p,onNavClick:x,LinkComponent:y,...v}){let M=y?u=>(0,ut.jsx)(y,{...u}):x?({item:u,children:g,...w})=>(0,ut.jsx)("button",{onClick:()=>x&&x(u),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...w,children:g}):u=>(0,ut.jsx)("a",{href:u.href,...u});return(0,ut.jsxs)(he,{side:"right",variant:"inset",...v,children:[(0,ut.jsxs)(ve,{className:"border-ut border-sidebar-border",children:[(0,ut.jsxs)(z,{className:"flex-row space-x-1",children:[(0,ut.jsx)(L,{children:(0,ut.jsxs)(_,{onClick:s,children:[(0,ut.jsx)(zt.FilePlus,{})," ",(0,ut.jsx)("span",{children:"Add Document"})]})}),p&&(0,ut.jsx)(L,{children:(0,ut.jsx)(_,{onClick:p,tooltip:"Open in GitHub",children:(0,ut.jsx)(Yr,{})})})]}),(0,ut.jsxs)(z,{className:"flex-row space-x-1",children:[(0,ut.jsx)(L,{className:"w-5/12",children:(0,ut.jsxs)(_,{onClick:()=>l(),variant:a?"outline":"default",className:(0,Ht.default)(a&&"text-accent"),children:[(0,ut.jsx)(zt.Edit,{})," ",(0,ut.jsx)("span",{children:"Edit"})]})}),(0,ut.jsx)(L,{className:"w-5/12",children:(0,ut.jsxs)(_,{onClick:n,children:[(0,ut.jsx)(zt.Printer,{})," ",(0,ut.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(q,{defaultOpen:!0,className:"group/collapsible",children:(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{asChild:!0,children:(0,ut.jsxs)(ee,{children:["Editor Controls",(0,ut.jsx)(zt.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ut.jsx)(W,{children:(0,ut.jsx)(te,{children:r})})]})}),(0,ut.jsx)(We,{className:"mx-0"})]}),(0,ut.jsxs)(ne,{className:"overflow-auto",children:[o&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{children:"Related Content"}),(0,ut.jsx)(W,{children:(0,ut.jsx)(z,{children:Array.from({length:3}).map((u,g)=>(0,ut.jsx)(L,{children:(0,ut.jsx)(P,{className:"bg-gray-200 w-full h-10"})},g))})})]}),(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{children:"Table of Contents"}),(0,ut.jsx)(W,{children:(0,ut.jsx)(z,{children:Array.from({length:3}).map((u,g)=>(0,ut.jsx)(L,{children:(0,ut.jsx)(P,{className:"bg-gray-200 w-full h-10"})},g))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,ut.jsx)(q,{defaultOpen:!0,className:"group/collapsible",children:(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{asChild:!0,children:(0,ut.jsxs)(ee,{children:["Related Content",(0,ut.jsx)(zt.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ut.jsx)(W,{children:(0,ut.jsx)(te,{children:(0,ut.jsx)(z,{children:e&&Object.keys(e).map(u=>(0,ut.jsxs)(L,{children:[(0,ut.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",u.charAt(0).toUpperCase()+u.slice(1)]}),u&&e[u]&&(0,ut.jsx)(ie,{children:e[u].map(g=>(0,ut.jsx)(se,{children:(0,ut.jsx)(le,{asChild:!0,isActive:!1,size:"sm",children:(0,ut.jsxs)(M,{href:g.url,item:g,className:"flex justify-between items-center w-full text-xs",children:[(0,ut.jsx)("span",{children:g.label}),g.type==="note"&&(0,ut.jsx)(zt.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),g.type==="draft"&&(0,ut.jsx)(Ue,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},g.label))})]},u))})})})]})}),t&&!o&&(0,ut.jsx)(q,{defaultOpen:!0,className:"group/collapsible",children:(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{asChild:!0,children:(0,ut.jsxs)(ee,{children:["Table of Contents",(0,ut.jsx)(zt.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ut.jsx)(W,{children:(0,ut.jsx)(te,{children:(0,ut.jsx)(z,{children:t.map(u=>{var g;return(0,ut.jsxs)(L,{children:[(0,ut.jsx)(_,{asChild:!0,children:(0,ut.jsx)("a",{href:`#${u.url}`,className:"text-xs",children:u.title})}),(g=u.items)!=null&&g.length?(0,ut.jsx)(ie,{children:u.items.map(w=>(0,ut.jsx)(se,{children:(0,ut.jsx)(le,{asChild:!0,isActive:w.isActive,size:"sm",children:(0,ut.jsx)("a",{href:`#${w.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,ut.jsx)("span",{children:w.title})})})},w.title))}):null]},u.title)})})})})]})})]}),(0,ut.jsx)(xe,{})]})}var J=T(require("react"));var Y=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Y.displayName="Card";var ye=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("flex flex-col space-y-1.5 p-6",e),...t}));ye.displayName="CardHeader";var we=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("font-semibold leading-none tracking-tight",e),...t}));we.displayName="CardTitle";var Qr=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("text-sm text-muted-foreground",e),...t}));Qr.displayName="CardDescription";var Se=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("p-6 pt-0",e),...t}));Se.displayName="CardContent";var eo=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("flex items-center p-6 pt-0",e),...t}));eo.displayName="CardFooter";var Gt=T(require("next/image"));function to({title:e,members:t}){return(0,ut.jsx)(Y,{className:"mb-6",children:(0,ut.jsxs)("div",{className:"p-6",children:[(0,ut.jsxs)("div",{className:"flex items-center mb-4",children:[(0,ut.jsx)(zt.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,ut.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,ut.jsx)("div",{className:"space-y-4",children:t.map((r,o)=>(0,ut.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,ut.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:r.avatar&&(0,ut.jsx)(Gt.default,{src:r.avatar,alt:r.name,layout:"fill",objectFit:"cover"})}),(0,ut.jsxs)("div",{children:[(0,ut.jsx)("p",{className:"font-semibold text-foreground",children:r.name}),r.role&&(0,ut.jsx)("p",{className:"text-sm text-muted-foreground",children:r.role})]})]},o))})]})})}var Dt=T(require("next/link"));var ro=({links:e,title:t="Related Content"})=>(0,$.jsxs)(Y,{children:[(0,$.jsx)(ye,{children:(0,$.jsx)(we,{className:"text-accent",children:t})}),(0,$.jsx)(Se,{children:(0,$.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((r,o)=>(0,$.jsxs)(Dt.default,{href:r.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[r.title,r.url.startsWith("http")&&(0,$.jsx)(zt.ExternalLink,{className:"ml-1 h-3 w-3"})]},o))})})]});var de=require("next/navigation"),Te=require("react-icons/fa6"),Ke=d("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function oo({pages:e}){let t=(0,de.useSearchParams)(),r=(0,de.usePathname)(),{replace:o}=(0,de.useRouter)(),{totalPages:a,page:s}=e,[l,n]=(0,Pe.useState)({start:s>3?s-3:1,end:s+2}),p=v=>{v==="left"&&l.start>1?n(f=>({start:f.start-1,end:f.end-1})):v==="right"&&l.end<a&&n(f=>({start:f.start+1,end:f.end+1}))};function x(v){let f=new URLSearchParams(t);v?f.set("page",v):f.delete("page"),o(`${r}?${f.toString()}`)}if(a<=1)return null;let y=[];for(let v=l.start;v<=l.end;v++)y.push(v);return(0,ut.jsx)("div",{className:"mt-12",children:(0,ut.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,ut.jsx)("li",{children:(0,ut.jsx)("button",{className:d(Ke,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>p("left"),children:(0,ut.jsx)(Te.FaArrowLeft,{})})}),y.map((v,f)=>(0,ut.jsx)("li",{children:(0,ut.jsx)("a",{className:d(Ke,v===s?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${v}`,role:"button",onClick:N=>{N.preventDefault(),x(v.toString())},children:v})},f)),l.end<a&&(0,ut.jsx)("li",{children:(0,ut.jsx)("button",{className:d(Ke,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>p("right"),children:(0,ut.jsx)(Te.FaArrowRight,{})})})]})})}var na=d("transition-colors duration-400 hover:text-primary ease-in-out");function ao({title:e,links:t}){let r=(0,de.useSearchParams)(),o=(0,de.usePathname)(),{replace:a}=(0,de.useRouter)();function s(l){let n=new URLSearchParams(r);l?n.set("category",l):n.delete("category"),a(`${o}?${n.toString()}`)}return(0,ut.jsxs)(Y,{children:[(0,ut.jsx)(ye,{children:(0,ut.jsx)(we,{className:"text-accent",children:e&&e})}),(0,ut.jsx)(Se,{children:t&&t.length>0&&(0,ut.jsx)("nav",{"aria-label":"footer links navigation",children:(0,ut.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,ut.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:p=>{p.preventDefault(),s(l.href)},children:[l.label,(0,ut.jsx)(zt.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}function no({types:e}){let[t,r]=(0,Pe.useState)(e&&e[0].href),o=(0,de.useSearchParams)(),a=(0,de.usePathname)(),{replace:s}=(0,de.useRouter)();function l(n){let p=new URLSearchParams(o);n?p.set("type",n):p.delete("type"),r(n),s(`${a}?${p.toString()}`)}return(0,ut.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,p)=>(0,ut.jsx)(fe,{variant:n.href===t?"default":"ghost",className:d("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},p))})}0&&(module.exports={Categories,Filter,Pagination,ProjectTeam,RelatedContent,SidebarLeft,SidebarRight});
4
+ "use strict";var Wt=Object.create;var Me=Object.defineProperty;var $t=Object.getOwnPropertyDescriptor;var jt=Object.getOwnPropertyNames;var Ut=Object.getPrototypeOf,Kt=Object.prototype.hasOwnProperty;var qt=(e,t)=>{for(var r in t)Me(e,r,{get:t[r],enumerable:!0})},rt=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of jt(t))!Kt.call(e,a)&&a!==r&&Me(e,a,{get:()=>t[a],enumerable:!(o=$t(t,a))||o.enumerable});return e};var T=(e,t,r)=>(r=e!=null?Wt(Ut(e)):{},rt(t||!e||!e.__esModule?Me(r,"default",{value:e,enumerable:!0}):r,e)),Xt=e=>rt(Me({},"__esModule",{value:!0}),e);var io={};qt(io,{Categories:()=>ao,Filter:()=>no,Pagination:()=>oo,ProjectTeam:()=>to,RelatedContent:()=>ro,SidebarLeft:()=>Xr,SidebarRight:()=>Zr});module.exports=Xt(io);var zt=require("lucide-react");var Q=T(require("@radix-ui/react-collapsible")),q=Q.Root,ee=Q.CollapsibleTrigger,te=Q.CollapsibleContent;var je=T(require("clsx"));var pt=require("clsx");var Be="-",Jt=e=>{let t=Zt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(Be);return n[0]===""&&n.length!==1&&n.shift(),nt(n,t)||Yt(l)},getConflictingClassGroupIds:(l,n)=>{let p=r[l]||[];return n&&o[l]?[...p,...o[l]]:p}}},nt=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?nt(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(Be);return(l=t.validators.find(({validator:n})=>n(s)))==null?void 0:l.classGroupId},ot=/^\[(.+)\]$/,Yt=e=>{if(ot.test(e)){let t=ot.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Zt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return er(Object.entries(e.classGroups),r).forEach(([s,l])=>{He(l,o,s,t)}),o},He=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:at(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Qt(a)){He(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,l])=>{He(l,at(t,s),r,o)})})},at=(e,t)=>{let r=e;return t.split(Be).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Qt=e=>e.isThemeGetter,er=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[t+l,n])):s);return[r,a]}):e,tr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return a(s,l),l},set(s,l){r.has(s)?r.set(s,l):a(s,l)}}},it="!",rr=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,l=n=>{let p=[],x=0,y=0,v;for(let g=0;g<n.length;g++){let w=n[g];if(x===0){if(w===a&&(o||n.slice(g,g+s)===t)){p.push(n.slice(y,g)),y=g+s;continue}if(w==="/"){v=g;continue}}w==="["?x++:w==="]"&&x--}let f=p.length===0?n:n.substring(y),N=f.startsWith(it),M=N?f.substring(1):f,u=v&&v>y?v-y:void 0;return{modifiers:p,hasImportantModifier:N,baseClassName:M,maybePostfixModifierPosition:u}};return r?n=>r({className:n,parseClassName:l}):l},or=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},ar=e=>({cache:tr(e.cacheSize),parseClassName:rr(e),...Jt(e)}),nr=/\s+/,ir=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],l=e.trim().split(nr),n="";for(let p=l.length-1;p>=0;p-=1){let x=l[p],{modifiers:y,hasImportantModifier:v,baseClassName:f,maybePostfixModifierPosition:N}=r(x),M=!!N,u=o(M?f.substring(0,N):f);if(!u){if(!M){n=x+(n.length>0?" "+n:n);continue}if(u=o(f),!u){n=x+(n.length>0?" "+n:n);continue}M=!1}let g=or(y).join(":"),w=v?g+it:g,C=w+u;if(s.includes(C))continue;s.push(C);let G=a(u,M);for(let K=0;K<G.length;++K){let Ce=G[K];s.push(w+Ce)}n=x+(n.length>0?" "+n:n)}return n};function sr(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=st(t))&&(o&&(o+=" "),o+=r);return o}var st=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=st(e[o]))&&(r&&(r+=" "),r+=t);return r};function lr(e,...t){let r,o,a,s=l;function l(p){let x=t.reduce((y,v)=>v(y),e());return r=ar(x),o=r.cache.get,a=r.cache.set,s=n,n(p)}function n(p){let x=o(p);if(x)return x;let y=ir(p,r);return a(p,y),y}return function(){return s(sr.apply(null,arguments))}}var S=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},lt=/^\[(?:([a-z-]+):)?(.+)\]$/ut,dr=/^\d+\/\d+$/,cr=new Set(["px","full","screen"]),pr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ur=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|ut|ut|min|max))|\ut(calc|min|max|clamp)\(.+\)|^0$/,mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>re(e)||cr.has(e)||dr.test(e),j=e=>oe(e,"length",Cr),re=e=>!!e&&!Number.isNaN(Number(e)),Ae=e=>oe(e,"number",re),me=e=>!!e&&Number.isInteger(Number(e)),gr=e=>e.endsWith("%")&&re(e.slice(0,-1)),m=e=>lt.test(e),U=e=>pr.test(e),hr=new Set(["length","size","percentage"]),vr=e=>oe(e,hr,dt),xr=e=>oe(e,"position",dt),yr=new Set(["image","url"]),wr=e=>oe(e,yr,Nr),Sr=e=>oe(e,"",Rr),be=()=>!0,oe=(e,t,r)=>{let o=lt.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Cr=e=>ur.test(e)&&!mr.test(e),dt=()=>!1,Rr=e=>br.test(e),Nr=e=>fr.test(e);var Mr=()=>{let e=S("colors"),t=S("spacing"),r=S("blur"),o=S("brightness"),a=S("borderColor"),s=S("borderRadius"),l=S("borderSpacing"),n=S("borderWidth"),p=S("contrast"),x=S("grayscale"),y=S("hueRotate"),v=S("invert"),f=S("gap"),N=S("gradientColorStops"),M=S("gradientColorStopPositions"),u=S("inset"),g=S("margin"),w=S("opacity"),C=S("padding"),G=S("saturate"),K=S("scale"),Ce=S("sepia"),Xe=S("skew"),Je=S("space"),Ye=S("translate"),Le=()=>["auto","contain","none"],Ie=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",m,t],R=()=>[m,t],Ze=()=>["",V,j],Re=()=>["auto",re,m],Qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ne=()=>["solid","dashed","dotted","double","none"],et=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ze=()=>["start","end","center","between","around","evenly","stretch"],ue=()=>["","0",m],tt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[re,m];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[V,j],blur:["none","",U,m],brightness:F(),borderColor:[e],borderRadius:["none","","full",U,m],borderSpacing:R(),borderWidth:Ze(),contrast:F(),grayscale:ue(),hueRotate:F(),invert:ue(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[gr,j],inset:Ee(),margin:Ee(),opacity:F(),padding:R(),saturate:F(),scale:F(),sepia:ue(),skew:F(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":tt()}],"break-before":[{"break-before":tt()}],"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:[...Qe(),m]}],overflow:[{overflow:Ie()}],"overflow-x":[{"overflow-x":Ie()}],"overflow-y":[{"overflow-y":Ie()}],overscroll:[{overscroll:Le()}],"overscroll-x":[{"overscroll-x":Le()}],"overscroll-y":[{"overscroll-y":Le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",me,m]}],basis:[{basis:Ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",m]}],grow:[{grow:ue()}],shrink:[{shrink:ue()}],order:[{order:["first","last","none",me,m]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",me,m]},m]}],"col-start":[{"col-start":Re()}],"col-end":[{"col-end":Re()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[me,m]},m]}],"row-start":[{"row-start":Re()}],"row-end":[{"row-end":Re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",m]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",m]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...ze()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ze(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ze(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],de:[{de:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[Je]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Je]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",m,t]}],"min-w":[{"min-w":[m,t,"min","max","fit"]}],"max-w":[{"max-w":[m,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[m,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[m,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[m,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"font-family":[{font:[be]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",m]}],"line-clamp":[{"line-clamp":["none",re,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,m]}],"list-image":[{"list-image":["none",m]}],"list-style-type":[{list:["none","disc","decimal",m]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,j]}],"underline-offset":[{"underline-offset":["auto",V,m]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",m]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Qe(),xr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","ut","bl","l","tl"]},wr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-ut":[{"rounded-ut":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-ut":[{"border-ut":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...Ne(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:Ne()}],"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-ut":[{"border-ut":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Ne()]}],"outline-offset":[{"outline-offset":[V,m]}],"outline-w":[{outline:[V,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[V,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Sr]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...et(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":et()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",U,m]}],grayscale:[{grayscale:[x]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[v]}],saturate:[{saturate:[G]}],sepia:[{sepia:[Ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[x]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[Ce]}],"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",m]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[K]}],"scale-x":[{"scale-x":[K]}],"scale-y":[{"scale-y":[K]}],rotate:[{rotate:[me,m]}],"translate-x":[{"translate-x":[Ye]}],"translate-y":[{"translate-y":[Ye]}],"skew-x":[{"skew-x":[Xe]}],"skew-y":[{"skew-y":[Xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",m]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",m]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-de":[{"scroll-de":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",m]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[V,j,Ae]}],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","de","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-ut","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-ut":["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-ut","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-ut"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-ut","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-ut"],"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-de","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 ct=lr(Mr);function d(...e){return ct((0,pt.clsx)(e))}var ut=require("react/jsx-runtime");function P({className:e,...t}){return(0,ut.jsx)("div",{className:d("animate-pulse rounded-md bg-primary/10",e),...t})}var h=T(require("react")),ae=require("@radix-ui/react-slot"),Lt=require("class-variance-authority");var Pe=require("react"),mt=(e=768)=>{let[t,r]=(0,Pe.useState)(!1);return(0,Pe.useEffect)(()=>{let o=()=>{r(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var gt=T(require("react")),Pr=(0,Lt.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-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),fe=gt.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},s)=>(0,ut.jsx)(e?ae.Slot:"button",{className:d(Pr({className:t,size:r,variant:o})),ref:s,...a}));fe.displayName="Button";var vt=T(require("react"));var Ge=vt.forwardRef(({className:e,type:t,...r},o)=>(0,ut.jsx)("input",{type:t,className:d("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));Ge.displayName="Input";var yt=T(require("react")),De=T(require("@radix-ui/react-separator"));var _e=yt.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...o},a)=>(0,ut.jsx)(De.Root,{ref:a,decorative:r,orientation:t,className:d("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));_e.displayName=De.Root.displayName;var ge=T(require("react")),k=T(require("@radix-ui/react-dialog")),St=require("@radix-ui/react-icons");var Rt=k.Root;var kr=k.Portal,Nt=ge.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(k.Overlay,{className:d("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));Nt.displayName=k.Overlay.displayName;var Tr=(0,Lt.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-ut data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Oe=ge.forwardRef(({side:e="right",className:t,children:r,...o},a)=>(0,ut.jsxs)(kr,{children:[(0,ut.jsx)(Nt,{}),(0,ut.jsxs)(k.Content,{ref:a,className:d(Tr({side:e}),t),...o,children:[(0,ut.jsxs)(k.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,ut.jsx)(St.Cross2Icon,{className:"h-4 w-4"}),(0,ut.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));Oe.displayName=k.Content.displayName;var Lr=({className:e,...t})=>(0,ut.jsx)("div",{className:d("flex flex-col space-y-2 text-center sm:text-left",e),...t});Lr.displayName="SheetHeader";var Ir=({className:e,...t})=>(0,ut.jsx)("div",{className:d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Ir.displayName="SheetFooter";var Er=ge.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(k.Title,{ref:r,className:d("text-lg font-semibold text-foreground",e),...t}));Er.displayName=k.Title.displayName;var zr=ge.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(k.Description,{ref:r,className:d("text-sm text-muted-foreground",e),...t}));zr.displayName=k.Description.displayName;var Mt=T(require("react")),B=T(require("@radix-ui/react-tooltip"));var Pt=B.Provider,kt=B.Root,Tt=B.Trigger,Ve=Mt.forwardRef(({className:e,sideOffset:t=4,...r},o)=>(0,ut.jsx)(B.Portal,{children:(0,ut.jsx)(B.Content,{ref:o,sideOffset:t,className:d("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));Ve.displayName=B.Content.displayName;var Ar="sidebar:state",Hr=60*60*24*7,Br="16rem",Gr="18rem",Dr="3rem",_r="ut",Et=h.createContext(null);function ke(){let e=h.useContext(Et);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var Or=h.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:o,style:a,children:s,...l},n)=>{let p=mt(),[x,y]=h.useState(!1),[v,f]=h.useState(e),N=t!=null?t:v,M=h.useCallback(C=>{if(r)return r==null?void 0:r(typeof C=="function"?C(N):C);f(C),document.cookie=`${Ar}=${N}; path=/; max-age=${Hr}`},[r,N]),u=h.useCallback(()=>p?y(C=>!C):M(C=>!C),[p,M,y]);h.useEffect(()=>{let C=G=>{G.key===_r&&(G.metaKey||G.ctrlKey)&&(G.preventDefault(),u())};return window.addEventListener("keydown",C),()=>window.removeEventListener("keydown",C)},[u]);let g=N?"expanded":"collapsed",w=h.useMemo(()=>({state:g,open:N,setOpen:M,isMobile:p,openMobile:x,setOpenMobile:y,toggleSidebar:u}),[g,N,M,p,x,y,u]);return(0,ut.jsx)(Et.Provider,{value:w,children:(0,ut.jsx)(Pt,{delayDuration:0,children:(0,ut.jsx)("div",{style:{"--sidebar-width":Br,"--sidebar-width-icon":Dr,...a},className:d("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:n,...l,children:s})})})});Or.displayName="SidebarProvider";var he=h.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:o,children:a,...s},l)=>{let{isMobile:n,state:p,openMobile:x,setOpenMobile:y}=ke();return r==="none"?(0,ut.jsx)("div",{className:d("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:l,...s,children:a}):n?(0,ut.jsx)(Rt,{open:x,onOpenChange:y,...s,children:(0,ut.jsx)(Oe,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Gr},side:e,children:(0,ut.jsx)("div",{className:"flex h-full w-full flex-col",children:a})})}):(0,ut.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":p,"data-collapsible":p==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,ut.jsx)("div",{className:d("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,ut.jsx)("div",{className:d("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:(0,ut.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:a})})]})});he.displayName="Sidebar";var Fr=h.forwardRef(({className:e,onClick:t,...r},o)=>{let{toggleSidebar:a}=ke();return(0,ut.jsxs)(fe,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:d("h-7 w-7",e),onClick:s=>{t==null||t(s),a()},...r,children:[(0,ut.jsx)(zt.PanelLeft,{}),(0,ut.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Fr.displayName="SidebarTrigger";var Vr=h.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:o}=ke();return(0,ut.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:d("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});Vr.displayName="SidebarRail";var Wr=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("main",{ref:r,className:d("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Wr.displayName="SidebarInset";var $r=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(Ge,{ref:r,"data-sidebar":"input",className:d("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));$r.displayName="SidebarInput";var ve=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"header",className:d("flex flex-col gap-2 p-2",e),...t}));ve.displayName="SidebarHeader";var xe=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"footer",className:d("flex flex-col gap-2 p-2",e),...t}));xe.displayName="SidebarFooter";var We=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)(_e,{ref:r,"data-sidebar":"separator",className:d("mx-2 w-auto bg-sidebar-border",e),...t}));We.displayName="SidebarSeparator";var ne=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"content",className:d("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));ne.displayName="SidebarContent";var D=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"group",className:d("relative flex w-full min-w-0 flex-col p-2",e),...t}));D.displayName="SidebarGroup";var X=h.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,ut.jsx)(t?ae.Slot:"div",{ref:o,"data-sidebar":"group-label",className:d("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...r}));X.displayName="SidebarGroupLabel";var jr=h.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,ut.jsx)(t?ae.Slot:"button",{ref:o,"data-sidebar":"group-action",className:d("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r}));jr.displayName="SidebarGroupAction";var W=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"group-content",className:d("w-full text-sm",e),...t}));W.displayName="SidebarGroupContent";var z=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("ul",{ref:r,"data-sidebar":"menu",className:d("flex w-full min-w-0 flex-col gap-1",e),...t}));z.displayName="SidebarMenu";var L=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("li",{ref:r,"data-sidebar":"menu-item",className:d("group/menu-item relative",e),...t}));L.displayName="SidebarMenuItem";var Ur=(0,Lt.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),_=h.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:o="default",tooltip:a,className:s,...l},n)=>{let p=e?ae.Slot:"button",{isMobile:x,state:y}=ke(),v=(0,ut.jsx)(p,{ref:n,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:d(Ur({variant:r,size:o}),s),...l});return a?(typeof a=="string"&&(a={children:a}),(0,ut.jsxs)(kt,{children:[(0,ut.jsx)(Tt,{asChild:!0,children:v}),(0,ut.jsx)(Ve,{side:"right",align:"center",hidden:y!=="collapsed"||x,...a})]})):v});_.displayName="SidebarMenuButton";var $e=h.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...o},a)=>(0,ut.jsx)(t?ae.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:d("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));$e.displayName="SidebarMenuAction";var Kr=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:d("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Kr.displayName="SidebarMenuBadge";var qr=h.forwardRef(({className:e,showIcon:t=!1,...r},o)=>{let a=h.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,ut.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:d("rounded-md h-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,ut.jsx)(P,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,ut.jsx)(P,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});qr.displayName="SidebarMenuSkeleton";var ie=h.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:d("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));ie.displayName="SidebarMenuSub";var se=h.forwardRef(({...e},t)=>(0,ut.jsx)("li",{ref:t,...e}));se.displayName="SidebarMenuSubItem";var le=h.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:o,...a},s)=>(0,ut.jsx)(e?ae.Slot:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:d("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...a}));le.displayName="SidebarMenuSubButton";function Xr({mainNav:e,secondaryNav:t,title:r,subTitle:o,pathName:a,menuHeading:s,onNavClick:l,loading:n=!1,LinkComponent:p,...x}){let v=p?f=>(0,ut.jsx)(p,{...f}):l?({href:f,children:N,...M})=>(0,ut.jsx)("button",{onClick:()=>l&&l(f),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...M,children:N}):f=>(0,ut.jsx)("a",{...f});return(0,ut.jsxs)(he,{...x,variant:"inset",children:[(0,ut.jsx)(ve,{children:(0,ut.jsx)(z,{children:(0,ut.jsx)(L,{children:n?(0,ut.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,ut.jsx)(P,{className:"bg-gray-200 my-2 w-full h-7"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,ut.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,ut.jsx)("span",{className:"truncate font-semibold",children:r}),o&&(0,ut.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),n&&(0,ut.jsxs)(ne,{children:[(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"}),(0,ut.jsx)(P,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,ut.jsxs)(ne,{children:[e&&!n&&e.map((f,N)=>(0,ut.jsx)(Jr,{subNav:f,pathName:a,Link:v},N)),(0,ut.jsx)(D,{className:"mt-auto",children:(0,ut.jsx)(W,{children:(0,ut.jsx)(z,{children:t&&!n&&t.map(f=>(0,ut.jsx)(L,{children:(0,ut.jsx)(_,{asChild:!0,size:"sm",children:(0,ut.jsxs)(v,{href:f.url||"",children:[f.icon&&(0,ut.jsx)(f.icon,{}),(0,ut.jsx)("span",{children:f.label})]})})},f.label))})})})]}),(0,ut.jsx)(xe,{})]})}function Jr({subNav:e,pathName:t,Link:r}){var s,l;let o=e,a=!1;return o.links&&o.links.map(n=>{n.url===t&&(a=!0)}),(0,ut.jsx)(q,{defaultOpen:!0,className:"group/collapsible",children:(0,ut.jsx)(D,{className:"py-0",children:(0,ut.jsx)(z,{children:(0,ut.jsx)(q,{asChild:!0,defaultOpen:o.isActive,children:(0,ut.jsxs)(L,{children:[(0,ut.jsx)(_,{asChild:!0,tooltip:o.label,className:(0,je.default)(a&&"font-bold text-accent"),children:(0,ut.jsxs)(r,{href:o.url,children:[o.icon&&(0,ut.jsx)(o.icon,{}),(0,ut.jsx)("span",{children:o.label})]})}),(s=o.links)!=null&&s.length?(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(ee,{asChild:!0,children:(0,ut.jsxs)($e,{className:"data-[state=open]:rotate-90",children:[(0,ut.jsx)(zt.ChevronRight,{}),(0,ut.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,ut.jsx)(te,{children:(0,ut.jsx)(ie,{children:(l=o.links)==null?void 0:l.map(n=>(0,ut.jsx)(se,{children:(0,ut.jsx)(le,{asChild:!0,className:(0,je.default)(n.url===t&&"font-bold text-accent"),children:(0,ut.jsx)(r,{href:n.url,children:(0,ut.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var Ht=T(require("clsx"));var Ue=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+t,l=o!=null?o:"",n=a+s+" fa-"+r+" "+l;return(0,ut.jsx)("ut",{className:n})};var Yr=()=>(0,ut.jsx)(Ue,{iconName:"github",size:"10x"});function Zr({relatedContent:e,tableOfContents:t,editorComponent:r,loading:o=!1,editMode:a=!1,onAddDocument:s,onEditDocument:l,onPrintDocument:n,onGithubClick:p,onNavClick:x,LinkComponent:y,...v}){let M=y?u=>(0,ut.jsx)(y,{...u}):x?({item:u,children:g,...w})=>(0,ut.jsx)("button",{onClick:()=>x&&x(u),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...w,children:g}):u=>(0,ut.jsx)("a",{href:u.href,...u});return(0,ut.jsxs)(he,{side:"right",variant:"inset",...v,children:[(0,ut.jsxs)(ve,{className:"border-ut border-sidebar-border",children:[(0,ut.jsxs)(z,{className:"flex-row space-x-1",children:[(0,ut.jsx)(L,{children:(0,ut.jsxs)(_,{onClick:s,children:[(0,ut.jsx)(zt.FilePlus,{})," ",(0,ut.jsx)("span",{children:"Add Document"})]})}),p&&(0,ut.jsx)(L,{children:(0,ut.jsx)(_,{onClick:p,tooltip:"Open in GitHub",children:(0,ut.jsx)(Yr,{})})})]}),(0,ut.jsxs)(z,{className:"flex-row space-x-1",children:[(0,ut.jsx)(L,{className:"w-5/12",children:(0,ut.jsxs)(_,{onClick:()=>l(),variant:a?"outline":"default",className:(0,Ht.default)(a&&"text-accent"),children:[(0,ut.jsx)(zt.Edit,{})," ",(0,ut.jsx)("span",{children:"Edit"})]})}),(0,ut.jsx)(L,{className:"w-5/12",children:(0,ut.jsxs)(_,{onClick:n,children:[(0,ut.jsx)(zt.Printer,{})," ",(0,ut.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(q,{defaultOpen:!0,className:"group/collapsible",children:(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{asChild:!0,children:(0,ut.jsxs)(ee,{children:["Editor Controls",(0,ut.jsx)(zt.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ut.jsx)(W,{children:(0,ut.jsx)(te,{children:r})})]})}),(0,ut.jsx)(We,{className:"mx-0"})]}),(0,ut.jsxs)(ne,{className:"overflow-auto",children:[o&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{children:"Related Content"}),(0,ut.jsx)(W,{children:(0,ut.jsx)(z,{children:Array.from({length:3}).map((u,g)=>(0,ut.jsx)(L,{children:(0,ut.jsx)(P,{className:"bg-gray-200 w-full h-10"})},g))})})]}),(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{children:"Table of Contents"}),(0,ut.jsx)(W,{children:(0,ut.jsx)(z,{children:Array.from({length:3}).map((u,g)=>(0,ut.jsx)(L,{children:(0,ut.jsx)(P,{className:"bg-gray-200 w-full h-10"})},g))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,ut.jsx)(q,{defaultOpen:!0,className:"group/collapsible",children:(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{asChild:!0,children:(0,ut.jsxs)(ee,{children:["Related Content",(0,ut.jsx)(zt.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ut.jsx)(W,{children:(0,ut.jsx)(te,{children:(0,ut.jsx)(z,{children:e&&Object.keys(e).map(u=>(0,ut.jsxs)(L,{children:[(0,ut.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",u.charAt(0).toUpperCase()+u.slice(1)]}),u&&e[u]&&(0,ut.jsx)(ie,{children:e[u].map(g=>(0,ut.jsx)(se,{children:(0,ut.jsx)(le,{asChild:!0,isActive:!1,size:"sm",children:(0,ut.jsxs)(M,{href:g.url,item:g,className:"flex justify-between items-center w-full text-xs",children:[(0,ut.jsx)("span",{children:g.label}),g.type==="note"&&(0,ut.jsx)(zt.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),g.type==="draft"&&(0,ut.jsx)(Ue,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},g.label))})]},u))})})})]})}),t&&!o&&(0,ut.jsx)(q,{defaultOpen:!0,className:"group/collapsible",children:(0,ut.jsxs)(D,{children:[(0,ut.jsx)(X,{asChild:!0,children:(0,ut.jsxs)(ee,{children:["Table of Contents",(0,ut.jsx)(zt.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ut.jsx)(W,{children:(0,ut.jsx)(te,{children:(0,ut.jsx)(z,{children:t.map(u=>{var g;return(0,ut.jsxs)(L,{children:[(0,ut.jsx)(_,{asChild:!0,children:(0,ut.jsx)("a",{href:`#${u.url}`,className:"text-xs",children:u.title})}),(g=u.items)!=null&&g.length?(0,ut.jsx)(ie,{children:u.items.map(w=>(0,ut.jsx)(se,{children:(0,ut.jsx)(le,{asChild:!0,isActive:w.isActive,size:"sm",children:(0,ut.jsx)("a",{href:`#${w.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,ut.jsx)("span",{children:w.title})})})},w.title))}):null]},u.title)})})})})]})})]}),(0,ut.jsx)(xe,{})]})}var J=T(require("react"));var Y=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Y.displayName="Card";var ye=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("flex flex-col space-y-1.5 p-6",e),...t}));ye.displayName="CardHeader";var we=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("font-semibold leading-none tracking-tight",e),...t}));we.displayName="CardTitle";var Qr=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("text-sm text-muted-foreground",e),...t}));Qr.displayName="CardDescription";var Se=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("p-6 pt-0",e),...t}));Se.displayName="CardContent";var eo=J.forwardRef(({className:e,...t},r)=>(0,ut.jsx)("div",{ref:r,className:d("flex items-center p-6 pt-0",e),...t}));eo.displayName="CardFooter";var Gt=T(require("next/image"));function to({title:e,members:t}){return(0,ut.jsx)(Y,{className:"mb-6",children:(0,ut.jsxs)("div",{className:"p-6",children:[(0,ut.jsxs)("div",{className:"flex items-center mb-4",children:[(0,ut.jsx)(zt.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,ut.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,ut.jsx)("div",{className:"space-y-4",children:t.map((r,o)=>(0,ut.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,ut.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:r.avatar&&(0,ut.jsx)(Gt.default,{src:r.avatar,alt:r.name,layout:"fill",objectFit:"cover"})}),(0,ut.jsxs)("div",{children:[(0,ut.jsx)("p",{className:"font-semibold text-foreground",children:r.name}),r.role&&(0,ut.jsx)("p",{className:"text-sm text-muted-foreground",children:r.role})]})]},o))})]})})}var Dt=T(require("next/link"));var ro=({links:e,title:t="Related Content"})=>(0,$.jsxs)(Y,{children:[(0,$.jsx)(ye,{children:(0,$.jsx)(we,{className:"text-accent",children:t})}),(0,$.jsx)(Se,{children:(0,$.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((r,o)=>(0,$.jsxs)(Dt.default,{href:r.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[r.title,r.url.startsWith("http")&&(0,$.jsx)(zt.ExternalLink,{className:"ml-1 h-3 w-3"})]},o))})})]});var de=require("next/navigation"),Te=require("react-icons/fa6"),Ke=d("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function oo({pages:e}){let t=(0,de.useSearchParams)(),r=(0,de.usePathname)(),{replace:o}=(0,de.useRouter)(),{totalPages:a,page:s}=e,[l,n]=(0,Pe.useState)({start:s>3?s-3:1,end:s+2}),p=v=>{v==="left"&&l.start>1?n(f=>({start:f.start-1,end:f.end-1})):v==="right"&&l.end<a&&n(f=>({start:f.start+1,end:f.end+1}))};function x(v){let f=new URLSearchParams(t);v?f.set("page",v):f.delete("page"),o(`${r}?${f.toString()}`)}if(a<=1)return null;let y=[];for(let v=l.start;v<=l.end;v++)y.push(v);return(0,ut.jsx)("div",{className:"mt-12",children:(0,ut.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,ut.jsx)("li",{children:(0,ut.jsx)("button",{className:d(Ke,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>p("left"),children:(0,ut.jsx)(Te.FaArrowLeft,{})})}),y.map((v,f)=>(0,ut.jsx)("li",{children:(0,ut.jsx)("a",{className:d(Ke,v===s?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${v}`,role:"button",onClick:N=>{N.preventDefault(),x(v.toString())},children:v})},f)),l.end<a&&(0,ut.jsx)("li",{children:(0,ut.jsx)("button",{className:d(Ke,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>p("right"),children:(0,ut.jsx)(Te.FaArrowRight,{})})})]})})}var na=d("transition-colors duration-400 hover:text-primary ease-in-out");function ao({title:e,links:t}){let r=(0,de.useSearchParams)(),o=(0,de.usePathname)(),{replace:a}=(0,de.useRouter)();function s(l){let n=new URLSearchParams(r);l?n.set("category",l):n.delete("category"),a(`${o}?${n.toString()}`)}return(0,ut.jsxs)(Y,{children:[(0,ut.jsx)(ye,{children:(0,ut.jsx)(we,{className:"text-accent",children:e&&e})}),(0,ut.jsx)(Se,{children:t&&t.length>0&&(0,ut.jsx)("nav",{"aria-label":"footer links navigation",children:(0,ut.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,ut.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:p=>{p.preventDefault(),s(l.href)},children:[l.label,(0,ut.jsx)(zt.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}function no({types:e}){let[t,r]=(0,Pe.useState)(e&&e[0].href),o=(0,de.useSearchParams)(),a=(0,de.usePathname)(),{replace:s}=(0,de.useRouter)();function l(n){let p=new URLSearchParams(o);n?p.set("type",n):p.delete("type"),r(n),s(`${a}?${p.toString()}`)}return(0,ut.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,p)=>(0,ut.jsx)(fe,{variant:n.href===t?"default":"ghost",className:d("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},p))})}0&&(module.exports={Categories,Filter,Pagination,ProjectTeam,RelatedContent,SidebarLeft,SidebarRight});
@@ -1 +1 @@
1
- import{a as e}from"../../chunk-WZLEEZ5C.mjs";import{a as c}from"../../chunk-JODGODRI.mjs";import{a as g}from"../../chunk-KJ2C7CBU.mjs";import{a as d}from"../../chunk-MGZMAVEP.mjs";import{a as f}from"../../chunk-TXXFXCXB.mjs";import{a as b}from"../../chunk-IO222G5L.mjs";import{a}from"../../chunk-QMFZRG7O.mjs";import"../../chunk-2IKC7MAP.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-S7OK7D5I.mjs";export{f as Categories,g as Filter,e as Pagination,c as ProjectTeam,d as RelatedContent,a as SidebarLeft,b as SidebarRight};
1
+ import{a as e}from"../../chunk-IT7DSLCX.mjs";import{a as c}from"../../chunk-JODGODRI.mjs";import{a as g}from"../../chunk-TXB5Y6PG.mjs";import{a as d}from"../../chunk-MGZMAVEP.mjs";import{a as f}from"../../chunk-TXXFXCXB.mjs";import{a as b}from"../../chunk-IO222G5L.mjs";import{a}from"../../chunk-QMFZRG7O.mjs";import"../../chunk-2IKC7MAP.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-S7OK7D5I.mjs";export{f as Categories,g as Filter,e as Pagination,c as ProjectTeam,d as RelatedContent,a as SidebarLeft,b as SidebarRight};
@@ -1 +1 @@
1
- import{e as a}from"../../../chunk-NJC7ZQ2T.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-44VMK4FL.mjs";import"../../../chunk-M6M43TLT.mjs";import"../../../chunk-FGWIT6CV.mjs";import"../../../chunk-OI2YT2ZF.mjs";import"../../../chunk-EY5QX73B.mjs";import"../../../chunk-YCX5N23N.mjs";import"../../../chunk-2A6JF3LE.mjs";import"../../../chunk-4YJ3HV64.mjs";import"../../../chunk-FCCL6W7R.mjs";import"../../../chunk-WLBZXBU3.mjs";import"../../../chunk-TFWGOEV7.mjs";import"../../../chunk-2NFKSNJW.mjs";import"../../../chunk-FI4SMRAR.mjs";import"../../../chunk-5IQPAE6K.mjs";import"../../../chunk-JWDVKGZL.mjs";import"../../../chunk-44TDI42O.mjs";import"../../../chunk-BOPZHZ27.mjs";import"../../../chunk-BDX257W2.mjs";import"../../../chunk-Y2KKUQDU.mjs";import"../../../chunk-SBM5HULF.mjs";import"../../../chunk-VZXLXNVY.mjs";import"../../../chunk-Q6SEVCRG.mjs";import"../../../chunk-D76EO57Z.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-SFLOMJ2U.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-C5XNOZXC.mjs";import"../../../chunk-SPOYKTBR.mjs";import"../../../chunk-S7OK7D5I.mjs";export{a as RichText};
1
+ import{e as a}from"../../../chunk-ST57SBGX.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-44VMK4FL.mjs";import"../../../chunk-OI2YT2ZF.mjs";import"../../../chunk-EY5QX73B.mjs";import"../../../chunk-YCX5N23N.mjs";import"../../../chunk-M6M43TLT.mjs";import"../../../chunk-FGWIT6CV.mjs";import"../../../chunk-JWDVKGZL.mjs";import"../../../chunk-4YJ3HV64.mjs";import"../../../chunk-2A6JF3LE.mjs";import"../../../chunk-FCCL6W7R.mjs";import"../../../chunk-WLBZXBU3.mjs";import"../../../chunk-TFWGOEV7.mjs";import"../../../chunk-2NFKSNJW.mjs";import"../../../chunk-FI4SMRAR.mjs";import"../../../chunk-5IQPAE6K.mjs";import"../../../chunk-44TDI42O.mjs";import"../../../chunk-BOPZHZ27.mjs";import"../../../chunk-BDX257W2.mjs";import"../../../chunk-VZXLXNVY.mjs";import"../../../chunk-Y2KKUQDU.mjs";import"../../../chunk-SBM5HULF.mjs";import"../../../chunk-Q6SEVCRG.mjs";import"../../../chunk-D76EO57Z.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-SFLOMJ2U.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-C5XNOZXC.mjs";import"../../../chunk-SPOYKTBR.mjs";import"../../../chunk-S7OK7D5I.mjs";export{a as RichText};
@@ -1 +1 @@
1
- import{d as a}from"../../../chunk-NJC7ZQ2T.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-44VMK4FL.mjs";import"../../../chunk-M6M43TLT.mjs";import"../../../chunk-FGWIT6CV.mjs";import"../../../chunk-OI2YT2ZF.mjs";import"../../../chunk-EY5QX73B.mjs";import"../../../chunk-YCX5N23N.mjs";import"../../../chunk-2A6JF3LE.mjs";import"../../../chunk-4YJ3HV64.mjs";import"../../../chunk-FCCL6W7R.mjs";import"../../../chunk-WLBZXBU3.mjs";import"../../../chunk-TFWGOEV7.mjs";import"../../../chunk-2NFKSNJW.mjs";import"../../../chunk-FI4SMRAR.mjs";import"../../../chunk-5IQPAE6K.mjs";import"../../../chunk-JWDVKGZL.mjs";import"../../../chunk-44TDI42O.mjs";import"../../../chunk-BOPZHZ27.mjs";import"../../../chunk-BDX257W2.mjs";import"../../../chunk-Y2KKUQDU.mjs";import"../../../chunk-SBM5HULF.mjs";import"../../../chunk-VZXLXNVY.mjs";import"../../../chunk-Q6SEVCRG.mjs";import"../../../chunk-D76EO57Z.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-SFLOMJ2U.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-C5XNOZXC.mjs";import"../../../chunk-SPOYKTBR.mjs";import"../../../chunk-S7OK7D5I.mjs";export{a as serializeLexical};
1
+ import{d as a}from"../../../chunk-ST57SBGX.mjs";import"../../../chunk-O5BAW5XQ.mjs";import"../../../chunk-44VMK4FL.mjs";import"../../../chunk-OI2YT2ZF.mjs";import"../../../chunk-EY5QX73B.mjs";import"../../../chunk-YCX5N23N.mjs";import"../../../chunk-M6M43TLT.mjs";import"../../../chunk-FGWIT6CV.mjs";import"../../../chunk-JWDVKGZL.mjs";import"../../../chunk-4YJ3HV64.mjs";import"../../../chunk-2A6JF3LE.mjs";import"../../../chunk-FCCL6W7R.mjs";import"../../../chunk-WLBZXBU3.mjs";import"../../../chunk-TFWGOEV7.mjs";import"../../../chunk-2NFKSNJW.mjs";import"../../../chunk-FI4SMRAR.mjs";import"../../../chunk-5IQPAE6K.mjs";import"../../../chunk-44TDI42O.mjs";import"../../../chunk-BOPZHZ27.mjs";import"../../../chunk-BDX257W2.mjs";import"../../../chunk-VZXLXNVY.mjs";import"../../../chunk-Y2KKUQDU.mjs";import"../../../chunk-SBM5HULF.mjs";import"../../../chunk-Q6SEVCRG.mjs";import"../../../chunk-D76EO57Z.mjs";import"../../../chunk-WISCWNL2.mjs";import"../../../chunk-SFLOMJ2U.mjs";import"../../../chunk-NIQ4466A.mjs";import"../../../chunk-C5XNOZXC.mjs";import"../../../chunk-SPOYKTBR.mjs";import"../../../chunk-S7OK7D5I.mjs";export{a as serializeLexical};
@@ -1 +1 @@
1
- import{e}from"../../chunk-NJC7ZQ2T.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var o={title:"Blocks/RichText",component:e,tags:["autodocs"],decorators:[t=>r("div",{className:"bg-white dark:bg-gray-900 p-4",children:r(t,{})})]},i=t=>r(e,{...t}),x={render:i,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};export{x as Default,o as default};
1
+ import{e}from"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var o={title:"Blocks/RichText",component:e,tags:["autodocs"],decorators:[t=>r("div",{className:"bg-white dark:bg-gray-900 p-4",children:r(t,{})})]},i=t=>r(e,{...t}),x={render:i,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};export{x as Default,o as default};
@@ -1 +1 @@
1
- import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as e}from"../../chunk-ZIWHUQ4D.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import{a as g}from"../../chunk-6YV7RK6Q.mjs";import"../../chunk-6LKCK2EH.mjs";import{a as d}from"../../chunk-MGS3DQ22.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-NJC7ZQ2T.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import{a as b}from"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};
1
+ import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as e}from"../../chunk-ZIWHUQ4D.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import{a as g}from"../../chunk-6YV7RK6Q.mjs";import"../../chunk-6LKCK2EH.mjs";import{a as d}from"../../chunk-MGS3DQ22.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-ST57SBGX.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-44VMK4FL.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-2A6JF3LE.mjs";import{a as b}from"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};