cortex-react-components 1.52.4 → 1.52.5

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-WJ6YSOZ5.mjs → chunk-2CGADBJZ.mjs} +1 -1
  2. package/dist/{chunk-ISZD24DJ.mjs → chunk-2LJVMEWU.mjs} +1 -1
  3. package/dist/{chunk-YS3Z4KM7.mjs → chunk-3BUDBFWP.mjs} +1 -1
  4. package/dist/{chunk-2IXPH4JW.mjs → chunk-3QZJOADY.mjs} +1 -1
  5. package/dist/{chunk-YC3XIF3X.mjs → chunk-42TZNRIV.mjs} +1 -1
  6. package/dist/{chunk-PZ24BROJ.mjs → chunk-4OXDF7DO.mjs} +1 -1
  7. package/dist/{chunk-2IKC7MAP.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  8. package/dist/{chunk-UMPQUYHD.mjs → chunk-6NHBVSPJ.mjs} +1 -1
  9. package/dist/chunk-6XPEWLMB.mjs +1 -0
  10. package/dist/{chunk-IO222G5L.mjs → chunk-AAI2VZST.mjs} +1 -1
  11. package/dist/chunk-AHCKCVZD.mjs +1 -0
  12. package/dist/{chunk-EWRUPU65.mjs → chunk-ATBVXV4P.mjs} +1 -1
  13. package/dist/{chunk-FZFHGTZB.mjs → chunk-BRYZOZKY.mjs} +1 -1
  14. package/dist/{chunk-CCQHABAJ.mjs → chunk-BYNGPRHW.mjs} +1 -1
  15. package/dist/{chunk-ZZ6YKJXX.mjs → chunk-C3JUPZ34.mjs} +1 -1
  16. package/dist/{chunk-L5LATCQ2.mjs → chunk-GBXJMA7G.mjs} +1 -1
  17. package/dist/{chunk-WBNYJISJ.mjs → chunk-H4QS5ON5.mjs} +1 -1
  18. package/dist/{chunk-QMFZRG7O.mjs → chunk-KEUZSK3N.mjs} +1 -1
  19. package/dist/{chunk-PXZ36U3P.mjs → chunk-KPIWBWE2.mjs} +1 -1
  20. package/dist/{chunk-H4SBQSGY.mjs → chunk-L5JFZUB6.mjs} +1 -1
  21. package/dist/{chunk-6FFDGONX.mjs → chunk-NPT5XX2I.mjs} +1 -1
  22. package/dist/{chunk-QLNQHPNP.mjs → chunk-SJ63EKON.mjs} +1 -1
  23. package/dist/{chunk-53X3DJGT.mjs → chunk-TNAP6TO7.mjs} +1 -1
  24. package/dist/{chunk-23BDC5JG.mjs → chunk-UBA3ZRKC.mjs} +1 -1
  25. package/dist/{chunk-YLETJQTI.mjs → chunk-UCM3YK2P.mjs} +1 -1
  26. package/dist/{chunk-QO2Z7WXW.mjs → chunk-UMILL4LR.mjs} +1 -1
  27. package/dist/{chunk-EX3ZPVOA.mjs → chunk-W7IJKJZC.mjs} +1 -1
  28. package/dist/{chunk-3IUQUN6R.mjs → chunk-Y2KKUQDU.mjs} +1 -1
  29. package/dist/components/Blocks/Banner.mjs +1 -1
  30. package/dist/components/Blocks/CallToAction.mjs +1 -1
  31. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  32. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  33. package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
  34. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  35. package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
  36. package/dist/components/Blocks/Content.mjs +1 -1
  37. package/dist/components/Blocks/Content.stories.mjs +1 -1
  38. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  39. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  40. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  41. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  42. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  43. package/dist/components/Blocks/index.mjs +1 -1
  44. package/dist/components/CRM/DealCard.mjs +1 -1
  45. package/dist/components/CRM/DealCard.stories.mjs +1 -1
  46. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  47. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  48. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  49. package/dist/components/CRM/KanbanColumn.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/EventCard.mjs +1 -1
  54. package/dist/components/Cards/EventCard.stories.mjs +1 -1
  55. package/dist/components/Cards/index.mjs +1 -1
  56. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  57. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  58. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  59. package/dist/components/DigitalColleagues/MainPage.stories.js +33 -33
  60. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  61. package/dist/components/HeaderFooter/Footer.js +1 -1
  62. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  63. package/dist/components/HeaderFooter/Footer.stories.js +1 -1
  64. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  65. package/dist/components/HeaderFooter/Header.js +1 -1
  66. package/dist/components/HeaderFooter/Header.mjs +1 -1
  67. package/dist/components/HeaderFooter/Header.stories.js +1 -1
  68. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  69. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  70. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  71. package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
  72. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  73. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  74. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  75. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  76. package/dist/components/HeaderFooter/index.js +1 -1
  77. package/dist/components/HeaderFooter/index.mjs +1 -1
  78. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  79. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  80. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  81. package/dist/components/Heros/PostHero/index.mjs +1 -1
  82. package/dist/components/Heros/RenderHero.mjs +1 -1
  83. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  84. package/dist/components/Heros/index.mjs +1 -1
  85. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  86. package/dist/components/Layouts/Print.mjs +1 -1
  87. package/dist/components/Layouts/Print.stories.mjs +1 -1
  88. package/dist/components/Layouts/SlideShow.mjs +1 -1
  89. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  90. package/dist/components/Layouts/index.mjs +1 -1
  91. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  92. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  93. package/dist/components/Menus/SidebarRight.mjs +1 -1
  94. package/dist/components/Menus/SidebarRight.stories.mjs +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 +1 -1
  101. package/dist/components/index.mjs +1 -1
  102. package/dist/components/ui/index.mjs +1 -1
  103. package/dist/components/ui/sidebar.mjs +1 -1
  104. package/dist/index.js +4 -4
  105. package/dist/index.mjs +1 -1
  106. package/dist/metafile-cjs.json +1 -1
  107. package/dist/metafile-esm.json +1 -1
  108. package/dist/pages/Blog.js +1 -1
  109. package/dist/pages/Blog.mjs +1 -1
  110. package/dist/pages/Blog.stories.js +1 -1
  111. package/dist/pages/Blog.stories.mjs +1 -1
  112. package/dist/pages/Documentation.js +1 -1
  113. package/dist/pages/Documentation.mjs +1 -1
  114. package/dist/pages/Documentation.stories.js +32 -32
  115. package/dist/pages/Documentation.stories.mjs +1 -1
  116. package/dist/pages/IndexPage.mjs +1 -1
  117. package/dist/pages/IndexPage.stories.mjs +1 -1
  118. package/dist/pages/Intranet.mjs +1 -1
  119. package/dist/pages/Intranet.stories.mjs +1 -1
  120. package/dist/pages/LandingPage.js +1 -1
  121. package/dist/pages/LandingPage.mjs +1 -1
  122. package/dist/pages/LandingPage.stories.js +1 -1
  123. package/dist/pages/LandingPage.stories.mjs +1 -1
  124. package/dist/pages/Page.js +1 -1
  125. package/dist/pages/Page.mjs +1 -1
  126. package/dist/pages/Page.stories.js +32 -32
  127. package/dist/pages/Page.stories.mjs +1 -1
  128. package/dist/pages/Printable.stories.mjs +1 -1
  129. package/dist/pages/Publish.mjs +1 -1
  130. package/dist/pages/Publish.stories.mjs +1 -1
  131. package/dist/pages/Website.js +1 -1
  132. package/dist/pages/Website.mjs +1 -1
  133. package/dist/pages/Website.stories.js +1 -1
  134. package/dist/pages/Website.stories.mjs +1 -1
  135. package/dist/sections/AboutSection.mjs +1 -1
  136. package/dist/sections/AboutSection.stories.mjs +1 -1
  137. package/dist/sections/BlogDetail.mjs +1 -1
  138. package/dist/sections/BlogDetail.stories.mjs +1 -1
  139. package/dist/sections/BlogList.mjs +1 -1
  140. package/dist/sections/BlogList.stories.mjs +1 -1
  141. package/dist/sections/BlogListSection.mjs +1 -1
  142. package/dist/sections/BlogListSection.stories.mjs +1 -1
  143. package/dist/sections/ContactSection.js +1 -1
  144. package/dist/sections/ContactSection.mjs +1 -1
  145. package/dist/sections/ContactSection.stories.js +1 -1
  146. package/dist/sections/ContactSection.stories.mjs +1 -1
  147. package/dist/sections/ImageSection.stories.mjs +1 -1
  148. package/dist/sections/PricingSection.mjs +1 -1
  149. package/dist/sections/PricingSection.stories.mjs +1 -1
  150. package/dist/sections/ServiceSection.js +1 -1
  151. package/dist/sections/ServiceSection.mjs +1 -1
  152. package/dist/sections/ServiceSection.stories.js +1 -1
  153. package/dist/sections/ServiceSection.stories.mjs +1 -1
  154. package/dist/sections/form/index.mjs +1 -1
  155. package/dist/sections/index.js +1 -1
  156. package/dist/sections/index.mjs +1 -1
  157. package/package.json +1 -1
  158. package/dist/chunk-4FYXPO57.mjs +0 -1
  159. package/dist/chunk-SFUVVWMR.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var Bo=Object.create;var Le=Object.defineProperty;var zo=Object.getOwnPropertyDescriptor;var Ho=Object.getOwnPropertyNames;var Go=Object.getPrototypeOf,Oo=Object.prototype.hasOwnProperty;var _o=(e,t)=>{for(var o in t)Le(e,o,{get:t[o],enumerable:!0})},kt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ho(t))!Oo.call(e,a)&&a!==o&&Le(e,a,{get:()=>t[a],enumerable:!(r=zo(t,a))||r.enumerable});return e};var L=(e,t,o)=>(o=e!=null?Bo(Go(e)):{},kt(t||!e||!e.__esModule?Le(o,"default",{value:e,enumerable:!0}):o,e)),Fo=e=>kt(Le({},"__esModule",{value:!0}),e);var qr={};_o(qr,{default:()=>Ao});module.exports=Fo(qr);var ne=L(require("react")),Ae=require("@radix-ui/react-icons"),Ot=require("@radix-ui/react-slot");var Gt=require("clsx");var Ke="-",Vo=e=>{let t=Jo(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:d=>{let s=d.split(Ke);return s[0]===""&&s.length!==1&&s.shift(),Et(s,t)||Wo(d)},getConflictingClassGroupIds:(d,s)=>{let u=o[d]||[];return s&&r[d]?[...u,...r[d]]:u}}},Et=(e,t)=>{var d;if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?Et(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(Ke);return(d=t.validators.find(({validator:s})=>s(i)))==null?void 0:d.classGroupId},It=/^\[(.+)\]$/,Wo=e=>{if(It.test(e)){let t=It.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Jo=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return Xo(Object.entries(e.classGroups),o).forEach(([i,d])=>{je(d,r,i,t)}),r},je=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:Dt(t,a);i.classGroupId=o;return}if(typeof a=="function"){if(Uo(a)){je(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([i,d])=>{je(d,Dt(t,i),o,r)})})},Dt=(e,t)=>{let o=e;return t.split(Ke).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},Uo=e=>e.isThemeGetter,Xo=(e,t)=>t?e.map(([o,r])=>{let a=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([d,s])=>[t+d,s])):i);return[o,a]}):e,Yo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(i,d)=>{o.set(i,d),t++,t>e&&(t=0,r=o,o=new Map)};return{get(i){let d=o.get(i);if(d!==void 0)return d;if((d=r.get(i))!==void 0)return a(i,d),d},set(i,d){o.has(i)?o.set(i,d):a(i,d)}}},Lt="!",$o=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],i=t.length,d=s=>{let u=[],v=0,y=0,w;for(let f=0;f<s.length;f++){let C=s[f];if(v===0){if(C===a&&(r||s.slice(f,f+i)===t)){u.push(s.slice(y,f)),y=f+i;continue}if(C==="/"){w=f;continue}}C==="["?v++:C==="]"&&v--}let S=u.length===0?s:s.substring(y),g=S.startsWith(Lt),k=g?S.substring(1):S,p=w&&w>y?w-y:void 0;return{modifiers:u,hasImportantModifier:g,baseClassName:k,maybePostfixModifierPosition:p}};return o?s=>o({className:s,parseClassName:d}):d},jo=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},Ko=e=>({cache:Yo(e.cacheSize),parseClassName:$o(e),...Vo(e)}),qo=/\s+/,Qo=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=[],d=e.trim().split(qo),s="";for(let u=d.length-1;u>=0;u-=1){let v=d[u],{modifiers:y,hasImportantModifier:w,baseClassName:S,maybePostfixModifierPosition:g}=o(v),k=!!g,p=r(k?S.substring(0,g):S);if(!p){if(!k){s=v+(s.length>0?" "+s:s);continue}if(p=r(S),!p){s=v+(s.length>0?" "+s:s);continue}k=!1}let f=jo(y).join(":"),C=w?f+Lt:f,P=C+p;if(i.includes(P))continue;i.push(P);let V=a(p,k);for(let Q=0;Q<V.length;++Q){let Ie=V[Q];i.push(C+Ie)}s=v+(s.length>0?" "+s:s)}return s};function Zo(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=At(t))&&(r&&(r+=" "),r+=o);return r}var At=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=At(e[r]))&&(o&&(o+=" "),o+=t);return o};function er(e,...t){let o,r,a,i=d;function d(u){let v=t.reduce((y,w)=>w(y),e());return o=Ko(v),r=o.cache.get,a=o.cache.set,i=s,s(u)}function s(u){let v=r(u);if(v)return v;let y=Qo(u,o);return a(u,y),y}return function(){return i(Zo.apply(null,arguments))}}var N=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Bt=/^\[(?:([a-H-]+):)?(.+)\]$/i,tr=/^\d+\/\d+$/,or=new Set(["px","full","screen"]),rr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ar=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|H|min|max))|\H(calc|min|max|clamp)\(.+\)|^0$/,nr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ir=/^(inset_)?-?((\d+)?\.?(\d+)[a-H]+|0)_-?((\d+)?\.?(\d+)[a-H]+|0)/,sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,X=e=>re(e)||or.has(e)||tr.test(e),j=e=>ae(e,"length",fr),re=e=>!!e&&!Number.isNaN(Number(e)),$e=e=>ae(e,"number",re),ve=e=>!!e&&Number.isInteger(Number(e)),lr=e=>e.endsWith("%")&&re(e.slice(0,-1)),m=e=>Bt.test(e),K=e=>rr.test(e),dr=new Set(["length","size","percentage"]),cr=e=>ae(e,dr,zt),pr=e=>ae(e,"position",zt),ur=new Set(["image","url"]),mr=e=>ae(e,ur,hr),br=e=>ae(e,"",gr),xe=()=>!0,ae=(e,t,o)=>{let r=Bt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},fr=e=>ar.test(e)&&!nr.test(e),zt=()=>!1,gr=e=>ir.test(e),hr=e=>sr.test(e);var vr=()=>{let e=N("colors"),t=N("spacing"),o=N("blur"),r=N("brightness"),a=N("borderColor"),i=N("borderRadius"),d=N("borderSpacing"),s=N("borderWidth"),u=N("contrast"),v=N("grayscale"),y=N("hueRotate"),w=N("invert"),S=N("gap"),g=N("gradientColorStops"),k=N("gradientColorStopPositions"),p=N("inset"),f=N("margin"),C=N("opacity"),P=N("padding"),V=N("saturate"),Q=N("scale"),Ie=N("sepia"),wt=N("skew"),Rt=N("space"),Tt=N("translate"),Je=()=>["auto","contain","none"],Ue=()=>["auto","hidden","clip","visible","scroll"],Xe=()=>["auto",m,t],M=()=>[m,t],Ct=()=>["",X,j],De=()=>["auto",re,m],Nt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ee=()=>["solid","dashed","dotted","double","none"],Pt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ye=()=>["start","end","center","between","around","evenly","stretch"],he=()=>["","0",m],Mt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[re,m];return{cacheSize:500,separator:":",theme:{colors:[xe],spacing:[X,j],blur:["none","",K,m],brightness:U(),borderColor:[e],borderRadius:["none","","full",K,m],borderSpacing:M(),borderWidth:Ct(),contrast:U(),grayscale:he(),hueRotate:U(),invert:he(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[lr,j],inset:Xe(),margin:Xe(),opacity:U(),padding:M(),saturate:U(),scale:U(),sepia:he(),skew:U(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":Mt()}],"break-before":[{"break-before":Mt()}],"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:[...Nt(),m]}],overflow:[{overflow:Ue()}],"overflow-H":[{"overflow-H":Ue()}],"overflow-y":[{"overflow-y":Ue()}],overscroll:[{overscroll:Je()}],"overscroll-H":[{"overscroll-H":Je()}],"overscroll-y":[{"overscroll-y":Je()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-H":[{"inset-H":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],H:[{H:["auto",ve,m]}],basis:[{basis:Xe()}],"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:he()}],shrink:[{shrink:he()}],order:[{order:["first","last","none",ve,m]}],"grid-cols":[{"grid-cols":[xe]}],"col-start-end":[{col:["auto",{span:["full",ve,m]},m]}],"col-start":[{"col-start":De()}],"col-end":[{"col-end":De()}],"grid-rows":[{"grid-rows":[xe]}],"row-start-end":[{row:["auto",{span:[ve,m]},m]}],"row-start":[{"row-start":De()}],"row-end":[{"row-end":De()}],"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:[S]}],"gap-H":[{"gap-H":[S]}],"gap-y":[{"gap-y":[S]}],"justify-content":[{justify:["normal",...Ye()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ye(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ye(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-H":[{"space-H":[Rt]}],"space-H-reverse":["space-H-reverse"],"space-y":[{"space-y":[Rt]}],"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:[K]},K]}],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",K,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$e]}],"font-family":[{font:[xe]}],"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,$e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",X,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":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",X,j]}],"underline-offset":[{"underline-offset":["auto",X,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:M()}],"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":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Nt(),pr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","H","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","H","bl","l","tl"]},mr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-H":[{"rounded-H":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-Ot":[{"rounded-Ot":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-H":[{"border-H":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-H":[{"border-H":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...Ee(),"hidden"]}],"divide-H":[{"divide-H":[s]}],"divide-H-reverse":["divide-H-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:Ee()}],"border-color":[{border:[a]}],"border-color-H":[{"border-H":[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-H":[{"border-H":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Ee()]}],"outline-offset":[{"outline-offset":[X,m]}],"outline-w":[{outline:[X,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ct()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[X,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,br]}],"shadow-color":[{shadow:[xe]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Pt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pt()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",K,m]}],grayscale:[{grayscale:[v]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[w]}],saturate:[{saturate:[V]}],sepia:[{sepia:[Ie]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[Ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-H":[{"border-spacing-H":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",m]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Q]}],"scale-H":[{"scale-H":[Q]}],"scale-y":[{"scale-y":[Q]}],rotate:[{rotate:[ve,m]}],"translate-H":[{"translate-H":[Tt]}],"translate-y":[{"translate-y":[Tt]}],"skew-H":[{"skew-H":[wt]}],"skew-y":[{"skew-y":[wt]}],"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","H-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","Ot-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","H",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","H","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-H":[{"touch-pan":["H","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:[X,j,$e]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-H","overflow-y"],overscroll:["overscroll-H","overscroll-y"],inset:["inset-H","inset-y","start","end","top","right","bottom","left"],"inset-H":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-H","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-H","rounded-l","rounded-ss","rounded-Ot","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Ot","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-H":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-H","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-H","border-w-l"],"border-w-H":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-H"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-H","border-color-l"],"border-color-H":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-H"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-H","touch-y","touch-pz"],"touch-H":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ht=er(vr);function l(...e){return Ht((0,Gt.clsx)(e))}var H=require("react/jsx-runtime"),qe=ne.forwardRef(({...e},t)=>(0,H.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));qe.displayName="Breadcrumb";var Qe=ne.forwardRef(({className:e,...t},o)=>(0,H.jsx)("ol",{ref:o,className:l("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Qe.displayName="BreadcrumbList";var Be=ne.forwardRef(({className:e,...t},o)=>(0,H.jsx)("li",{ref:o,className:l("inline-flex items-center gap-1.5",e),...t}));Be.displayName="BreadcrumbItem";var Ze=ne.forwardRef(({asChild:e,className:t,...o},r)=>(0,H.jsx)(e?Ot.Slot:"a",{ref:r,className:l("transition-colors hover:text-foreground",t),...o}));Ze.displayName="BreadcrumbLink";var et=ne.forwardRef(({className:e,...t},o)=>(0,H.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:l("font-normal text-foreground",e),...t}));et.displayName="BreadcrumbPage";var tt=({children:e,className:t,...o})=>(0,H.jsx)("li",{role:"presentation","aria-hidden":"true",className:l("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...o,children:e!=null?e:(0,H.jsx)(Ae.ChevronRightIcon,{})});tt.displayName="BreadcrumbSeparator";var xr=({className:e,...t})=>(0,H.jsxs)("span",{role:"presentation","aria-hidden":"true",className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,H.jsx)(Ae.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,H.jsx)("span",{className:"sr-only",children:"More"})]});xr.displayName="BreadcrumbElipssis";var _t=L(require("react")),ot=L(require("@radix-ui/react-separator"));var ye=_t.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...r},a)=>(0,H.jsx)(ot.Root,{ref:a,decorative:o,orientation:t,className:l("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));ye.displayName=ot.Root.displayName;var h=L(require("react")),no=require("class-variance-authority"),io=require("lucide-react");var ze=require("react"),Vt=(e=768)=>{let[t,o]=(0,ze.useState)(!1);return(0,ze.useEffect)(()=>{let r=()=>{o(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var Ut=L(require("react")),Xt=(0,no.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"}}}),ie=Ut.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},i)=>(0,H.jsx)(e?Ot.Slot:"button",{className:l(Xt({className:t,size:o,variant:r})),ref:i,...a}));ie.displayName="Button";var $t=L(require("react"));var rt=$t.forwardRef(({className:e,type:t,...o},r)=>(0,H.jsx)("input",{type:t,className:l("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));rt.displayName="Input";var Se=L(require("react")),D=L(require("@radix-ui/react-dialog"));var Qt=D.Root;var yr=D.Portal,Zt=Se.forwardRef(({className:e,...t},o)=>(0,H.jsx)(D.Overlay,{className:l("fixed inset-0 H-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:o}));Zt.displayName=D.Overlay.displayName;var Sr=(0,no.cva)("fixed H-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-H-0 top-0 border-H data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-H-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"}}),at=Se.forwardRef(({side:e="right",className:t,children:o,...r},a)=>(0,H.jsxs)(yr,{children:[(0,H.jsx)(Zt,{}),(0,H.jsxs)(D.Content,{ref:a,className:l(Sr({side:e}),t),...r,children:[(0,H.jsxs)(D.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,H.jsx)(Ae.Cross2Icon,{className:"h-4 w-4"}),(0,H.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));at.displayName=D.Content.displayName;var wr=({className:e,...t})=>(0,H.jsx)("div",{className:l("flex flex-col space-y-2 text-center sm:text-left",e),...t});wr.displayName="SheetHeader";var Rr=({className:e,...t})=>(0,H.jsx)("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-H-2",e),...t});Rr.displayName="SheetFooter";var Tr=Se.forwardRef(({className:e,...t},o)=>(0,H.jsx)(D.Title,{ref:o,className:l("text-lg font-semibold text-foreground",e),...t}));Tr.displayName=D.Title.displayName;var Cr=Se.forwardRef(({className:e,...t},o)=>(0,H.jsx)(D.Description,{ref:o,className:l("text-sm text-muted-foreground",e),...t}));Cr.displayName=D.Description.displayName;function E({className:e,...t}){return(0,H.jsx)("div",{className:l("animate-pulse rounded-md bg-primary/10",e),...t})}var to=L(require("react")),_=L(require("@radix-ui/react-tooltip"));var oo=_.Provider,ro=_.Root,ao=_.Trigger,it=to.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,H.jsx)(_.Portal,{children:(0,H.jsx)(_.Content,{ref:r,sideOffset:t,className:l("H-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),...o})}));it.displayName=_.Content.displayName;var Nr="sidebar:state",Pr=60*60*24*7,Mr="16rem",kr="18rem",Ir="3rem",Dr="H",so=h.createContext(null);function He(){let e=h.useContext(so);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var st=h.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:r,style:a,children:i,...d},s)=>{let u=Vt(),[v,y]=h.useState(!1),[w,S]=h.useState(e),g=t!=null?t:w,k=h.useCallback(P=>{if(o)return o==null?void 0:o(typeof P=="function"?P(g):P);S(P),document.cookie=`${Nr}=${g}; path=/; max-age=${Pr}`},[o,g]),p=h.useCallback(()=>u?y(P=>!P):k(P=>!P),[u,k,y]);h.useEffect(()=>{let P=V=>{V.key===Dr&&(V.metaKey||V.ctrlKey)&&(V.preventDefault(),p())};return window.addEventListener("keydown",P),()=>window.removeEventListener("keydown",P)},[p]);let f=g?"expanded":"collapsed",C=h.useMemo(()=>({state:f,open:g,setOpen:k,isMobile:u,openMobile:v,setOpenMobile:y,toggleSidebar:p}),[f,g,k,u,v,y,p]);return(0,H.jsx)(so.Provider,{value:C,children:(0,H.jsx)(oo,{delayDuration:0,children:(0,H.jsx)("div",{style:{"--sidebar-width":Mr,"--sidebar-width-icon":Ir,...a},className:l("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:s,...d,children:i})})})});st.displayName="SidebarProvider";var we=h.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:r,children:a,...i},d)=>{let{isMobile:s,state:u,openMobile:v,setOpenMobile:y}=He();return o==="none"?(0,H.jsx)("div",{className:l("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:d,...i,children:a}):s?(0,H.jsx)(Qt,{open:v,onOpenChange:y,...i,children:(0,H.jsx)(at,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":kr},side:e,children:(0,H.jsx)("div",{className:"flex h-full w-full flex-col",children:a})})}):(0,H.jsxs)("div",{ref:d,className:"group peer hidden md:block text-sidebar-foreground","data-state":u,"data-collapsible":u==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,H.jsx)("div",{className:l("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,H.jsx)("div",{className:l("duration-200 fixed top-14 bottom-0 H-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",r),...i,children:(0,H.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})})]})});we.displayName="Sidebar";var lt=h.forwardRef(({className:e,onClick:t,...o},r)=>{let{toggleSidebar:a}=He();return(0,H.jsxs)(ie,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:l("h-7 w-7",e),onClick:i=>{t==null||t(i),a()},...o,children:[(0,H.jsx)(io.PanelLeft,{}),(0,H.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});lt.displayName="SidebarTrigger";var Er=h.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:r}=He();return(0,H.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:l("absolute inset-y-0 H-20 hidden w-4 -translate-H-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-H-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})});Er.displayName="SidebarRail";var dt=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("main",{ref:o,className:l("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}));dt.displayName="SidebarInset";var Lr=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)(rt,{ref:o,"data-sidebar":"input",className:l("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Lr.displayName="SidebarInput";var Re=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"header",className:l("flex flex-col gap-2 p-2",e),...t}));Re.displayName="SidebarHeader";var Te=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"footer",className:l("flex flex-col gap-2 p-2",e),...t}));Te.displayName="SidebarFooter";var ct=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)(ye,{ref:o,"data-sidebar":"separator",className:l("mx-2 w-auto bg-sidebar-border",e),...t}));ct.displayName="SidebarSeparator";var le=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"content",className:l("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));le.displayName="SidebarContent";var W=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"group",className:l("relative flex w-full min-w-0 flex-col p-2",e),...t}));W.displayName="SidebarGroup";var Z=h.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,H.jsx)(t?Ot.Slot:"div",{ref:r,"data-sidebar":"group-label",className:l("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),...o}));Z.displayName="SidebarGroupLabel";var Ar=h.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,H.jsx)(t?Ot.Slot:"button",{ref:r,"data-sidebar":"group-action",className:l("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),...o}));Ar.displayName="SidebarGroupAction";var Y=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"group-content",className:l("w-full text-sm",e),...t}));Y.displayName="SidebarGroupContent";var G=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("ul",{ref:o,"data-sidebar":"menu",className:l("flex w-full min-w-0 flex-col gap-1",e),...t}));G.displayName="SidebarMenu";var B=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:l("group/menu-item relative",e),...t}));B.displayName="SidebarMenuItem";var Br=(0,no.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"}}),J=h.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:r="default",tooltip:a,className:i,...d},s)=>{let u=e?Ot.Slot:"button",{isMobile:v,state:y}=He(),w=(0,H.jsx)(u,{ref:s,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:l(Br({variant:o,size:r}),i),...d});return a?(typeof a=="string"&&(a={children:a}),(0,H.jsxs)(ro,{children:[(0,H.jsx)(ao,{asChild:!0,children:w}),(0,H.jsx)(it,{side:"right",align:"center",hidden:y!=="collapsed"||v,...a})]})):w});J.displayName="SidebarMenuButton";var pt=h.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...r},a)=>(0,H.jsx)(t?Ot.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:l("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",o&&"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),...r}));pt.displayName="SidebarMenuAction";var zr=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:l("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}));zr.displayName="SidebarMenuBadge";var Hr=h.forwardRef(({className:e,showIcon:t=!1,...o},r)=>{let a=h.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,H.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:l("rounded-md h-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,H.jsx)(E,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,H.jsx)(E,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});Hr.displayName="SidebarMenuSkeleton";var de=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:l("mx-3.5 flex min-w-0 translate-H-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));de.displayName="SidebarMenuSub";var ce=h.forwardRef(({...e},t)=>(0,H.jsx)("li",{ref:t,...e}));ce.displayName="SidebarMenuSubItem";var pe=h.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:r,...a},i)=>(0,H.jsx)(e?Ot.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:l("flex h-7 min-w-0 -translate-H-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",r),...a}));pe.displayName="SidebarMenuSubButton";var ue=L(require("@radix-ui/react-collapsible")),ee=ue.Root,me=ue.CollapsibleTrigger,be=ue.CollapsibleContent;var co=L(require("clsx"));var Ce=({type:e="solid",iconName:t="cloud",size:o="lg",className:r})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,d=r!=null?r:"",s=a+i+" fa-"+o+" "+d;return(0,H.jsx)("i",{className:s})};var Gr=()=>(0,H.jsx)(Ce,{iconName:"github",size:"10x"});function po({relatedContent:e,tableOfContents:t,editorComponent:o,loading:r=!1,editMode:a=!1,onAddDocument:i,onEditDocument:d,onPrintDocument:s,onGithubClick:u,onNavClick:v,LinkComponent:y,...w}){let k=y?p=>(0,H.jsx)(y,{...p}):v?({item:p,children:f,...C})=>(0,H.jsx)("button",{onClick:()=>v&&v(p),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...C,children:f}):p=>(0,H.jsx)("a",{href:p.href,...p});return(0,H.jsxs)(we,{side:"right",variant:"inset",...w,children:[(0,H.jsxs)(Re,{className:"border-H border-sidebar-border",children:[(0,H.jsxs)(G,{className:"flex-row space-H-1",children:[(0,H.jsx)(B,{children:(0,H.jsxs)(J,{onClick:i,children:[(0,H.jsx)(io.FilePlus,{})," ",(0,H.jsx)("span",{children:"Add Document"})]})}),u&&(0,H.jsx)(B,{children:(0,H.jsx)(J,{onClick:u,tooltip:"Open in GitHub",children:(0,H.jsx)(Gr,{})})})]}),(0,H.jsxs)(G,{className:"flex-row space-H-1",children:[(0,H.jsx)(B,{className:"w-5/12",children:(0,H.jsxs)(J,{onClick:()=>d(),variant:a?"outline":"default",className:(0,co.default)(a&&"text-accent"),children:[(0,H.jsx)(io.Edit,{})," ",(0,H.jsx)("span",{children:"Edit"})]})}),(0,H.jsx)(B,{className:"w-5/12",children:(0,H.jsxs)(J,{onClick:s,children:[(0,H.jsx)(io.Printer,{})," ",(0,H.jsx)("span",{children:"Print"})]})})]})]}),o&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(ee,{defaultOpen:!0,className:"group/collapsible",children:(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{asChild:!0,children:(0,H.jsxs)(me,{children:["Editor Controls",(0,H.jsx)(io.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,H.jsx)(Y,{children:(0,H.jsx)(be,{children:o})})]})}),(0,H.jsx)(ct,{className:"mx-0"})]}),(0,H.jsxs)(le,{className:"overflow-auto",children:[r&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{children:"Related Content"}),(0,H.jsx)(Y,{children:(0,H.jsx)(G,{children:Array.from({length:3}).map((p,f)=>(0,H.jsx)(B,{children:(0,H.jsx)(E,{className:"bg-gray-200 w-full h-10"})},f))})})]}),(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{children:"Table of Contents"}),(0,H.jsx)(Y,{children:(0,H.jsx)(G,{children:Array.from({length:3}).map((p,f)=>(0,H.jsx)(B,{children:(0,H.jsx)(E,{className:"bg-gray-200 w-full h-10"})},f))})})]})]}),e&&!r&&Object.keys(e).length>0&&(0,H.jsx)(ee,{defaultOpen:!0,className:"group/collapsible",children:(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{asChild:!0,children:(0,H.jsxs)(me,{children:["Related Content",(0,H.jsx)(io.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,H.jsx)(Y,{children:(0,H.jsx)(be,{children:(0,H.jsx)(G,{children:e&&Object.keys(e).map(p=>(0,H.jsxs)(B,{children:[(0,H.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",p.charAt(0).toUpperCase()+p.slice(1)]}),p&&e[p]&&(0,H.jsx)(de,{children:e[p].map(f=>(0,H.jsx)(ce,{children:(0,H.jsx)(pe,{asChild:!0,isActive:!1,size:"sm",children:(0,H.jsxs)(k,{href:f.url,item:f,className:"flex justify-between items-center w-full text-xs",children:[(0,H.jsx)("span",{children:f.label}),f.type==="note"&&(0,H.jsx)(io.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),f.type==="draft"&&(0,H.jsx)(Ce,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},f.label))})]},p))})})})]})}),t&&!r&&(0,H.jsx)(ee,{defaultOpen:!0,className:"group/collapsible",children:(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{asChild:!0,children:(0,H.jsxs)(me,{children:["Table of Contents",(0,H.jsx)(io.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,H.jsx)(Y,{children:(0,H.jsx)(be,{children:(0,H.jsx)(G,{children:t.map(p=>{var f;return(0,H.jsxs)(B,{children:[(0,H.jsx)(J,{asChild:!0,children:(0,H.jsx)("a",{href:`#${p.url}`,className:"text-xs",children:p.title})}),(f=p.items)!=null&&f.length?(0,H.jsx)(de,{children:p.items.map(C=>(0,H.jsx)(ce,{children:(0,H.jsx)(pe,{asChild:!0,isActive:C.isActive,size:"sm",children:(0,H.jsx)("a",{href:`#${C.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,H.jsx)("span",{children:C.title})})})},C.title))}):null]},p.title)})})})})]})})]}),(0,H.jsx)(Te,{})]})}var ut=L(require("clsx"));function mo({mainNav:e,secondaryNav:t,title:o,subTitle:r,pathName:a,menuHeading:i,onNavClick:d,loading:s=!1,LinkComponent:u,...v}){let w=u?S=>(0,H.jsx)(u,{...S}):d?({href:S,children:g,...k})=>(0,H.jsx)("button",{onClick:()=>d&&d(S),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...k,children:g}):S=>(0,H.jsx)("a",{...S});return(0,H.jsxs)(we,{...v,variant:"inset",children:[(0,H.jsx)(Re,{children:(0,H.jsx)(G,{children:(0,H.jsx)(B,{children:s?(0,H.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,H.jsx)(E,{className:"bg-gray-200 my-2 w-full h-7"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,H.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,H.jsx)("span",{className:"truncate font-semibold",children:o}),r&&(0,H.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),s&&(0,H.jsxs)(le,{children:[(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,H.jsxs)(le,{children:[e&&!s&&e.map((S,g)=>(0,H.jsx)(Or,{subNav:S,pathName:a,Link:w},g)),(0,H.jsx)(W,{className:"mt-auto",children:(0,H.jsx)(Y,{children:(0,H.jsx)(G,{children:t&&!s&&t.map(S=>(0,H.jsx)(B,{children:(0,H.jsx)(J,{asChild:!0,size:"sm",children:(0,H.jsxs)(w,{href:S.url||"",children:[S.icon&&(0,H.jsx)(S.icon,{}),(0,H.jsx)("span",{children:S.label})]})})},S.label))})})})]}),(0,H.jsx)(Te,{})]})}function Or({subNav:e,pathName:t,Link:o}){var i,d;let r=e,a=!1;return r.links&&r.links.map(s=>{s.url===t&&(a=!0)}),(0,H.jsx)(ee,{defaultOpen:!0,className:"group/collapsible",children:(0,H.jsx)(W,{className:"py-0",children:(0,H.jsx)(G,{children:(0,H.jsx)(ee,{asChild:!0,defaultOpen:r.isActive,children:(0,H.jsxs)(B,{children:[(0,H.jsx)(J,{asChild:!0,tooltip:r.label,className:(0,ut.default)(a&&"font-bold text-accent"),children:(0,H.jsxs)(o,{href:r.url,children:[r.icon&&(0,H.jsx)(r.icon,{}),(0,H.jsx)("span",{children:r.label})]})}),(i=r.links)!=null&&i.length?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(me,{asChild:!0,children:(0,H.jsxs)(pt,{className:"data-[state=open]:rotate-90",children:[(0,H.jsx)(io.ChevronRight,{}),(0,H.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,H.jsx)(be,{children:(0,H.jsx)(de,{children:(d=r.links)==null?void 0:d.map(s=>(0,H.jsx)(ce,{children:(0,H.jsx)(pe,{asChild:!0,className:(0,ut.default)(s.url===t&&"font-bold text-accent"),children:(0,H.jsx)(o,{href:s.url,children:(0,H.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},r.label)})})})}var _e=L(require("react")),_r=1,Fr=1e6;var mt=0;function Vr(){return mt=(mt+1)%Number.MAX_SAFE_INTEGER,mt.toString()}var bt=new Map,bo=e=>{if(bt.has(e))return;let t=setTimeout(()=>{bt.delete(e),Ne({type:"REMOVE_TOAST",toastId:e})},Fr);bt.set(e,t)},Wr=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,_r)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?bo(o):e.toasts.forEach(r=>{bo(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},Ge=[],Oe={toasts:[]};function Ne(e){Oe=Wr(Oe,e),Ge.forEach(t=>{t(Oe)})}function Jr({...e}){let t=Vr(),o=a=>Ne({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>Ne({type:"DISMISS_TOAST",toastId:t});return Ne({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:o}}function fo(){let[e,t]=_e.useState(Oe);return _e.useEffect(()=>(Ge.push(t),()=>{let o=Ge.indexOf(t);o>-1&&Ge.splice(o,1)}),[e]),{...e,toast:Jr,dismiss:o=>Ne({type:"DISMISS_TOAST",toastId:o})}}var te=L(require("react")),I=L(require("@radix-ui/react-toast"));var vo=I.Provider,ft=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Viewport,{ref:o,className:l("fixed top-0 H-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));ft.displayName=I.Viewport.displayName;var Ur=(0,no.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-H-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-H-0 data-[swipe=end]:translate-H-[var(--radix-toast-swipe-end-H)] data-[swipe=move]:translate-H-[var(--radix-toast-swipe-move-H)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),gt=te.forwardRef(({className:e,variant:t,...o},r)=>(0,H.jsx)(I.Root,{ref:r,className:l(Ur({variant:t}),e),...o}));gt.displayName=I.Root.displayName;var Xr=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Action,{ref:o,className:l("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Xr.displayName=I.Action.displayName;var ht=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Close,{ref:o,className:l("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,H.jsx)(io.X,{className:"h-4 w-4"})}));ht.displayName=I.Close.displayName;var vt=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Title,{ref:o,className:l("text-sm font-semibold [&+div]:text-xs",e),...t}));vt.displayName=I.Title.displayName;var xt=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Description,{ref:o,className:l("text-sm opacity-90",e),...t}));xt.displayName=I.Description.displayName;function xo(){let{toasts:e}=fo();return(0,$.jsxs)(vo,{children:[e.map(function({id:t,title:o,description:r,action:a,...i}){return(0,$.jsxs)(gt,{...i,children:[(0,$.jsxs)("div",{className:"grid gap-1",children:[o&&(0,$.jsx)(vt,{children:o}),r&&(0,$.jsx)(xt,{children:r})]}),a,(0,$.jsx)(ht,{})]},t)}),(0,$.jsx)(ft,{})]})}var fe=require("@headlessui/react"),So=require("@heroicons/react/20/solid");var Yr=({name:e,items:t,actions:o=[],href:r})=>!t&&r?(0,H.jsx)("a",{href:r,className:"flex items-center gap-H-1 text-sm font-semibold text-foreground group",children:(0,H.jsxs)("span",{className:"relative",children:[e,(0,H.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-H-1/2 scale-H-0 transition-transform duration-300 ease-in-out group-hover:scale-H-100"})]})}):(0,H.jsxs)(fe.Popover,{children:[(0,H.jsxs)(fe.PopoverButton,{className:"flex items-center gap-H-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,H.jsxs)("span",{className:"relative",children:[e,(0,H.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-H-1/2 scale-H-0 transition-transform duration-300 ease-in-out group-hover:scale-H-100"})]}),(0,H.jsx)(So.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,H.jsxs)(fe.PopoverPanel,{transition:!0,className:"absolute inset-H-0 top-0 -H-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,H.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-H-4 px-6 py-10 lg:px-8 xl:gap-H-8 H-50",children:t&&t.map(a=>(0,H.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,H.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:a.icon&&(0,H.jsx)(yo,{icon:a.icon,size:"4x"})}),(0,H.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,H.jsx)("span",{className:"absolute inset-0"})]}),(0,H.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),o.length>0&&(0,H.jsx)("div",{className:"bg-gray-50",children:(0,H.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,H.jsx)("div",{className:"grid grid-cols-3 divide-H divide-gray-900/5 border-H border-gray-900/5",children:o.map(a=>(0,H.jsxs)("a",{href:a.href,className:"flex items-center max-h-12 justify-center gap-H-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,H.jsx)(yo,{icon:a.icon,className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),yo=({icon:e,className:t,size:o="lg"})=>{if(!e)return null;if("type"in e)return(0,H.jsx)(Ce,{...e,size:o});if("src"in e)return(0,H.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,H.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},wo=Yr;var Ro=L(require("next/link"));function To({children:e,href:t,openNewTab:o,...r}){return(0,H.jsx)(Ro.default,{href:t,target:o?"_blank":"_self",...r,children:e})}var yt=L(require("next/image"));function Me({logoLight:e,logoDark:t,mobile:o=!1}){return(0,H.jsxs)(To,{href:"/",className:l(o?"py-1":"py-2"),children:[(0,H.jsx)(yt.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:o?35:50}}),(0,H.jsx)(yt.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:o?35:50}})]})}var No=require("next-themes");function Mo({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r,themeControl:a=!1}){let[i,d]=(0,ze.useState)(!1),[s,u]=(0,ze.useState)(""),v=["light","dark"],{theme:y,setTheme:w}=(0,No.useTheme)();(0,ze.useEffect)(()=>{u(y||"dark")},[y]);let S=()=>{let g=v[(v.indexOf(s)+1)%v.length];u(g),w(g)};return(0,ze.useEffect)(()=>{let g=()=>{window.scrollY>100?d(!0):d(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,H.jsx)(H.Fragment,{children:(0,H.jsx)("header",{className:`H-50 pb-10 transition-all duration-300 hidden lg:block ${i||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,H.jsx)("nav",{className:"backdrop-blur-sm text-white p-0",children:(0,H.jsxs)("div",{className:"flex items-center justify-between bg-background/80 px-9 py-0",children:[(0,H.jsx)(Me,{logoDark:o,logoLight:t}),(0,H.jsx)(fe.PopoverGroup,{className:"hidden lg:flex lg:gap-H-12",children:r&&r.map(g=>(0,H.jsx)(wo,{...g},g.name))}),(0,H.jsxs)("div",{className:"flex items-center space-H-4",children:[(0,H.jsx)(ie,{variant:"outline",size:"sm",className:"border-accent bg-transparent rounded-2xl px-6",children:"Contact Us"}),a&&(0,H.jsx)("button",{className:"fixed right-4 H-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:S,children:(0,H.jsxs)("div",{className:"relative",children:[(0,H.jsx)(io.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,H.jsx)(io.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})})})})}var Ve=require("@heroicons/react/24/outline");var St=["light","dark"];function Io({logoLight:e,logoDark:t,menuItems:o,isMenuOpen:r=!0}){let[a,i]=(0,ze.useState)(!1),{theme:d,setTheme:s}=(0,No.useTheme)(),[u,v]=(0,ze.useState)(!1),[y,w]=(0,ze.useState)("light");(0,ze.useEffect)(()=>{let g=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,ze.useEffect)(()=>{w(d||"dark")},[d]);let S=()=>{let g=St[(St.indexOf(y)+1)%St.length];w(g),s(g)};return(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)("header",{className:`H-50 pb-10 transition-all duration-300 block lg:hidden ${a||r?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,H.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",u&&"hidden"),children:(0,H.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-H dark:border-accent",children:[(0,H.jsx)(Me,{logoDark:t,logoLight:e,mobile:!0}),(0,H.jsxs)("div",{className:"flex items-center space-H-4",children:[(0,H.jsxs)("button",{type:"button",onClick:()=>v(!0),className:"fixed right-4 H-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,H.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,H.jsx)(Ve.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,H.jsx)("button",{className:"fixed right-16 H-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:S,children:(0,H.jsxs)("div",{className:"relative",children:[(0,H.jsx)(io.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,H.jsx)(io.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,H.jsxs)(fe.Dialog,{open:u,onClose:v,className:"lg:hidden",children:[(0,H.jsx)("div",{className:"fixed inset-0 H-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,H.jsxs)(fe.DialogPanel,{className:"fixed inset-y-0 right-0 H-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,H.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,H.jsx)(Me,{logoDark:t,logoLight:e,mobile:!0}),(0,H.jsxs)("button",{type:"button",onClick:()=>v(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,H.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,H.jsx)(Ve.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,H.jsx)("div",{className:"mt-6 flow-root",children:(0,H.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,H.jsx)("div",{className:"space-y-2 px-2 py-6",children:o&&o.map(g=>(0,H.jsx)($r,{...g},g.name))})})})]})]})]})})}function $r({name:e,items:t,actions:o,href:r}){return!t&&r?(0,H.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,H.jsxs)(fe.Disclosure,{as:"div",className:"-mx-3",children:[(0,H.jsx)(fe.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,H.jsx)(fe.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,H.jsx)(fe.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:a.name},a.name))})]})}function Do({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r,className:a}){return(0,H.jsxs)("div",{className:l("fixed top-0 left-0 right-0 H-50",a),children:[(0,H.jsx)(Mo,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r}),(0,H.jsx)(Io,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r})]})}var Eo="../cortex-reply-light-27IMI3G7.png";var Lo="../cortex-reply-dark-XPAJJJYY.png";function Ao({...e}){return(0,H.jsxs)("div",{className:"bg-sidebar",children:[(0,H.jsx)(Do,{isMenuOpen:!0,logoLight:Eo,logoDark:Lo,...e.header,className:"bg-sidebar"}),(0,H.jsxs)(st,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[(0,H.jsx)(mo,{...e.sidebarLeft,className:"flex-none top-24"}),(0,H.jsxs)(dt,{className:"grow overflow-hidden",children:[(0,H.jsx)("header",{className:"flex h-16 shrink-0 items-center gap-2",children:(0,H.jsxs)("div",{className:"flex items-center gap-2 px-4",children:[(0,H.jsx)(lt,{className:"-ml-1"}),(0,H.jsx)(ye,{orientation:"vertical",className:"mr-2 h-4"}),(0,H.jsx)(qe,{children:(0,H.jsxs)(Qe,{children:[(0,H.jsx)(Be,{className:"hidden md:block",children:(0,H.jsx)(Ze,{href:"#",children:"Building Your Application"})}),(0,H.jsx)(tt,{className:"hidden md:block"}),(0,H.jsx)(Be,{children:(0,H.jsx)(et,{children:"Data Fetching"})})]})})]})}),(0,H.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[(0,H.jsxs)("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[(0,H.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,H.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,H.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),(0,H.jsx)("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),(0,H.jsx)(po,{...e.sidebarRight,className:"flex-none top-24"})]}),(0,H.jsx)(xo,{})]})}
4
+ "use strict";"use client";var Bo=Object.create;var Le=Object.defineProperty;var zo=Object.getOwnPropertyDescriptor;var Ho=Object.getOwnPropertyNames;var Go=Object.getPrototypeOf,Oo=Object.prototype.hasOwnProperty;var _o=(e,t)=>{for(var o in t)Le(e,o,{get:t[o],enumerable:!0})},kt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ho(t))!Oo.call(e,a)&&a!==o&&Le(e,a,{get:()=>t[a],enumerable:!(r=zo(t,a))||r.enumerable});return e};var L=(e,t,o)=>(o=e!=null?Bo(Go(e)):{},kt(t||!e||!e.__esModule?Le(o,"default",{value:e,enumerable:!0}):o,e)),Fo=e=>kt(Le({},"__esModule",{value:!0}),e);var qr={};_o(qr,{default:()=>Ao});module.exports=Fo(qr);var ne=L(require("react")),Ae=require("@radix-ui/react-icons"),Ot=require("@radix-ui/react-slot");var Gt=require("clsx");var Ke="-",Vo=e=>{let t=Jo(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:d=>{let s=d.split(Ke);return s[0]===""&&s.length!==1&&s.shift(),Et(s,t)||Wo(d)},getConflictingClassGroupIds:(d,s)=>{let u=o[d]||[];return s&&r[d]?[...u,...r[d]]:u}}},Et=(e,t)=>{var d;if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?Et(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(Ke);return(d=t.validators.find(({validator:s})=>s(i)))==null?void 0:d.classGroupId},It=/^\[(.+)\]$/,Wo=e=>{if(It.test(e)){let t=It.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Jo=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return Xo(Object.entries(e.classGroups),o).forEach(([i,d])=>{je(d,r,i,t)}),r},je=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:Dt(t,a);i.classGroupId=o;return}if(typeof a=="function"){if(Uo(a)){je(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([i,d])=>{je(d,Dt(t,i),o,r)})})},Dt=(e,t)=>{let o=e;return t.split(Ke).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},Uo=e=>e.isThemeGetter,Xo=(e,t)=>t?e.map(([o,r])=>{let a=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([d,s])=>[t+d,s])):i);return[o,a]}):e,Yo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(i,d)=>{o.set(i,d),t++,t>e&&(t=0,r=o,o=new Map)};return{get(i){let d=o.get(i);if(d!==void 0)return d;if((d=r.get(i))!==void 0)return a(i,d),d},set(i,d){o.has(i)?o.set(i,d):a(i,d)}}},Lt="!",$o=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],i=t.length,d=s=>{let u=[],v=0,y=0,w;for(let f=0;f<s.length;f++){let C=s[f];if(v===0){if(C===a&&(r||s.slice(f,f+i)===t)){u.push(s.slice(y,f)),y=f+i;continue}if(C==="/"){w=f;continue}}C==="["?v++:C==="]"&&v--}let S=u.length===0?s:s.substring(y),g=S.startsWith(Lt),k=g?S.substring(1):S,p=w&&w>y?w-y:void 0;return{modifiers:u,hasImportantModifier:g,baseClassName:k,maybePostfixModifierPosition:p}};return o?s=>o({className:s,parseClassName:d}):d},jo=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},Ko=e=>({cache:Yo(e.cacheSize),parseClassName:$o(e),...Vo(e)}),qo=/\s+/,Qo=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,i=[],d=e.trim().split(qo),s="";for(let u=d.length-1;u>=0;u-=1){let v=d[u],{modifiers:y,hasImportantModifier:w,baseClassName:S,maybePostfixModifierPosition:g}=o(v),k=!!g,p=r(k?S.substring(0,g):S);if(!p){if(!k){s=v+(s.length>0?" "+s:s);continue}if(p=r(S),!p){s=v+(s.length>0?" "+s:s);continue}k=!1}let f=jo(y).join(":"),C=w?f+Lt:f,P=C+p;if(i.includes(P))continue;i.push(P);let V=a(p,k);for(let Q=0;Q<V.length;++Q){let Ie=V[Q];i.push(C+Ie)}s=v+(s.length>0?" "+s:s)}return s};function Zo(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=At(t))&&(r&&(r+=" "),r+=o);return r}var At=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=At(e[r]))&&(o&&(o+=" "),o+=t);return o};function er(e,...t){let o,r,a,i=d;function d(u){let v=t.reduce((y,w)=>w(y),e());return o=Ko(v),r=o.cache.get,a=o.cache.set,i=s,s(u)}function s(u){let v=r(u);if(v)return v;let y=Qo(u,o);return a(u,y),y}return function(){return i(Zo.apply(null,arguments))}}var N=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Bt=/^\[(?:([a-H-]+):)?(.+)\]$/i,tr=/^\d+\/\d+$/,or=new Set(["px","full","screen"]),rr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ar=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|H|min|max))|\H(calc|min|max|clamp)\(.+\)|^0$/,nr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ir=/^(inset_)?-?((\d+)?\.?(\d+)[a-H]+|0)_-?((\d+)?\.?(\d+)[a-H]+|0)/,sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,X=e=>re(e)||or.has(e)||tr.test(e),j=e=>ae(e,"length",fr),re=e=>!!e&&!Number.isNaN(Number(e)),$e=e=>ae(e,"number",re),ve=e=>!!e&&Number.isInteger(Number(e)),lr=e=>e.endsWith("%")&&re(e.slice(0,-1)),m=e=>Bt.test(e),K=e=>rr.test(e),dr=new Set(["length","size","percentage"]),cr=e=>ae(e,dr,zt),pr=e=>ae(e,"position",zt),ur=new Set(["image","url"]),mr=e=>ae(e,ur,hr),br=e=>ae(e,"",gr),xe=()=>!0,ae=(e,t,o)=>{let r=Bt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},fr=e=>ar.test(e)&&!nr.test(e),zt=()=>!1,gr=e=>ir.test(e),hr=e=>sr.test(e);var vr=()=>{let e=N("colors"),t=N("spacing"),o=N("blur"),r=N("brightness"),a=N("borderColor"),i=N("borderRadius"),d=N("borderSpacing"),s=N("borderWidth"),u=N("contrast"),v=N("grayscale"),y=N("hueRotate"),w=N("invert"),S=N("gap"),g=N("gradientColorStops"),k=N("gradientColorStopPositions"),p=N("inset"),f=N("margin"),C=N("opacity"),P=N("padding"),V=N("saturate"),Q=N("scale"),Ie=N("sepia"),wt=N("skew"),Rt=N("space"),Tt=N("translate"),Je=()=>["auto","contain","none"],Ue=()=>["auto","hidden","clip","visible","scroll"],Xe=()=>["auto",m,t],M=()=>[m,t],Ct=()=>["",X,j],De=()=>["auto",re,m],Nt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ee=()=>["solid","dashed","dotted","double","none"],Pt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ye=()=>["start","end","center","between","around","evenly","stretch"],he=()=>["","0",m],Mt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[re,m];return{cacheSize:500,separator:":",theme:{colors:[xe],spacing:[X,j],blur:["none","",K,m],brightness:U(),borderColor:[e],borderRadius:["none","","full",K,m],borderSpacing:M(),borderWidth:Ct(),contrast:U(),grayscale:he(),hueRotate:U(),invert:he(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[lr,j],inset:Xe(),margin:Xe(),opacity:U(),padding:M(),saturate:U(),scale:U(),sepia:he(),skew:U(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",m]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":Mt()}],"break-before":[{"break-before":Mt()}],"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:[...Nt(),m]}],overflow:[{overflow:Ue()}],"overflow-H":[{"overflow-H":Ue()}],"overflow-y":[{"overflow-y":Ue()}],overscroll:[{overscroll:Je()}],"overscroll-H":[{"overscroll-H":Je()}],"overscroll-y":[{"overscroll-y":Je()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-H":[{"inset-H":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],H:[{H:["auto",ve,m]}],basis:[{basis:Xe()}],"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:he()}],shrink:[{shrink:he()}],order:[{order:["first","last","none",ve,m]}],"grid-cols":[{"grid-cols":[xe]}],"col-start-end":[{col:["auto",{span:["full",ve,m]},m]}],"col-start":[{"col-start":De()}],"col-end":[{"col-end":De()}],"grid-rows":[{"grid-rows":[xe]}],"row-start-end":[{row:["auto",{span:[ve,m]},m]}],"row-start":[{"row-start":De()}],"row-end":[{"row-end":De()}],"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:[S]}],"gap-H":[{"gap-H":[S]}],"gap-y":[{"gap-y":[S]}],"justify-content":[{justify:["normal",...Ye()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ye(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ye(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-H":[{"space-H":[Rt]}],"space-H-reverse":["space-H-reverse"],"space-y":[{"space-y":[Rt]}],"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:[K]},K]}],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",K,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$e]}],"font-family":[{font:[xe]}],"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,$e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",X,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":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",X,j]}],"underline-offset":[{"underline-offset":["auto",X,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:M()}],"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":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Nt(),pr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","H","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","H","bl","l","tl"]},mr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-H":[{"rounded-H":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-Ot":[{"rounded-Ot":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-H":[{"border-H":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-H":[{"border-H":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...Ee(),"hidden"]}],"divide-H":[{"divide-H":[s]}],"divide-H-reverse":["divide-H-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:Ee()}],"border-color":[{border:[a]}],"border-color-H":[{"border-H":[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-H":[{"border-H":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Ee()]}],"outline-offset":[{"outline-offset":[X,m]}],"outline-w":[{outline:[X,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ct()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[X,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,br]}],"shadow-color":[{shadow:[xe]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Pt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pt()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",K,m]}],grayscale:[{grayscale:[v]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[w]}],saturate:[{saturate:[V]}],sepia:[{sepia:[Ie]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[Ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-H":[{"border-spacing-H":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",m]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",m]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",m]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Q]}],"scale-H":[{"scale-H":[Q]}],"scale-y":[{"scale-y":[Q]}],rotate:[{rotate:[ve,m]}],"translate-H":[{"translate-H":[Tt]}],"translate-y":[{"translate-y":[Tt]}],"skew-H":[{"skew-H":[wt]}],"skew-y":[{"skew-y":[wt]}],"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","H-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","Ot-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","H",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","H","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-H":[{"touch-pan":["H","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:[X,j,$e]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-H","overflow-y"],overscroll:["overscroll-H","overscroll-y"],inset:["inset-H","inset-y","start","end","top","right","bottom","left"],"inset-H":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-H","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-H","rounded-l","rounded-ss","rounded-Ot","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Ot","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-H":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-H","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-H","border-w-l"],"border-w-H":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-H"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-H","border-color-l"],"border-color-H":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-H"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-H","touch-y","touch-pz"],"touch-H":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ht=er(vr);function l(...e){return Ht((0,Gt.clsx)(e))}var H=require("react/jsx-runtime"),qe=ne.forwardRef(({...e},t)=>(0,H.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));qe.displayName="Breadcrumb";var Qe=ne.forwardRef(({className:e,...t},o)=>(0,H.jsx)("ol",{ref:o,className:l("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Qe.displayName="BreadcrumbList";var Be=ne.forwardRef(({className:e,...t},o)=>(0,H.jsx)("li",{ref:o,className:l("inline-flex items-center gap-1.5",e),...t}));Be.displayName="BreadcrumbItem";var Ze=ne.forwardRef(({asChild:e,className:t,...o},r)=>(0,H.jsx)(e?Ot.Slot:"a",{ref:r,className:l("transition-colors hover:text-foreground",t),...o}));Ze.displayName="BreadcrumbLink";var et=ne.forwardRef(({className:e,...t},o)=>(0,H.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:l("font-normal text-foreground",e),...t}));et.displayName="BreadcrumbPage";var tt=({children:e,className:t,...o})=>(0,H.jsx)("li",{role:"presentation","aria-hidden":"true",className:l("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...o,children:e!=null?e:(0,H.jsx)(Ae.ChevronRightIcon,{})});tt.displayName="BreadcrumbSeparator";var xr=({className:e,...t})=>(0,H.jsxs)("span",{role:"presentation","aria-hidden":"true",className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,H.jsx)(Ae.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,H.jsx)("span",{className:"sr-only",children:"More"})]});xr.displayName="BreadcrumbElipssis";var _t=L(require("react")),ot=L(require("@radix-ui/react-separator"));var ye=_t.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...r},a)=>(0,H.jsx)(ot.Root,{ref:a,decorative:o,orientation:t,className:l("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));ye.displayName=ot.Root.displayName;var h=L(require("react")),no=require("class-variance-authority"),io=require("lucide-react");var ze=require("react"),Vt=(e=768)=>{let[t,o]=(0,ze.useState)(!1);return(0,ze.useEffect)(()=>{let r=()=>{o(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var Ut=L(require("react")),Xt=(0,no.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"}}}),ie=Ut.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},i)=>(0,H.jsx)(e?Ot.Slot:"button",{className:l(Xt({className:t,size:o,variant:r})),ref:i,...a}));ie.displayName="Button";var $t=L(require("react"));var rt=$t.forwardRef(({className:e,type:t,...o},r)=>(0,H.jsx)("input",{type:t,className:l("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));rt.displayName="Input";var Se=L(require("react")),D=L(require("@radix-ui/react-dialog"));var Qt=D.Root;var yr=D.Portal,Zt=Se.forwardRef(({className:e,...t},o)=>(0,H.jsx)(D.Overlay,{className:l("fixed inset-0 H-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:o}));Zt.displayName=D.Overlay.displayName;var Sr=(0,no.cva)("fixed H-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-H-0 top-0 border-H data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-H-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"}}),at=Se.forwardRef(({side:e="right",className:t,children:o,...r},a)=>(0,H.jsxs)(yr,{children:[(0,H.jsx)(Zt,{}),(0,H.jsxs)(D.Content,{ref:a,className:l(Sr({side:e}),t),...r,children:[(0,H.jsxs)(D.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,H.jsx)(Ae.Cross2Icon,{className:"h-4 w-4"}),(0,H.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));at.displayName=D.Content.displayName;var wr=({className:e,...t})=>(0,H.jsx)("div",{className:l("flex flex-col space-y-2 text-center sm:text-left",e),...t});wr.displayName="SheetHeader";var Rr=({className:e,...t})=>(0,H.jsx)("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-H-2",e),...t});Rr.displayName="SheetFooter";var Tr=Se.forwardRef(({className:e,...t},o)=>(0,H.jsx)(D.Title,{ref:o,className:l("text-lg font-semibold text-foreground",e),...t}));Tr.displayName=D.Title.displayName;var Cr=Se.forwardRef(({className:e,...t},o)=>(0,H.jsx)(D.Description,{ref:o,className:l("text-sm text-muted-foreground",e),...t}));Cr.displayName=D.Description.displayName;function E({className:e,...t}){return(0,H.jsx)("div",{className:l("animate-pulse rounded-md bg-primary/10",e),...t})}var to=L(require("react")),_=L(require("@radix-ui/react-tooltip"));var oo=_.Provider,ro=_.Root,ao=_.Trigger,it=to.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,H.jsx)(_.Portal,{children:(0,H.jsx)(_.Content,{ref:r,sideOffset:t,className:l("H-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),...o})}));it.displayName=_.Content.displayName;var Nr="sidebar:state",Pr=60*60*24*7,Mr="16rem",kr="18rem",Ir="3rem",Dr="H",so=h.createContext(null);function He(){let e=h.useContext(so);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var st=h.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:r,style:a,children:i,...d},s)=>{let u=Vt(),[v,y]=h.useState(!1),[w,S]=h.useState(e),g=t!=null?t:w,k=h.useCallback(P=>{if(o)return o==null?void 0:o(typeof P=="function"?P(g):P);S(P),document.cookie=`${Nr}=${g}; path=/; max-age=${Pr}`},[o,g]),p=h.useCallback(()=>u?y(P=>!P):k(P=>!P),[u,k,y]);h.useEffect(()=>{let P=V=>{V.key===Dr&&(V.metaKey||V.ctrlKey)&&(V.preventDefault(),p())};return window.addEventListener("keydown",P),()=>window.removeEventListener("keydown",P)},[p]);let f=g?"expanded":"collapsed",C=h.useMemo(()=>({state:f,open:g,setOpen:k,isMobile:u,openMobile:v,setOpenMobile:y,toggleSidebar:p}),[f,g,k,u,v,y,p]);return(0,H.jsx)(so.Provider,{value:C,children:(0,H.jsx)(oo,{delayDuration:0,children:(0,H.jsx)("div",{style:{"--sidebar-width":Mr,"--sidebar-width-icon":Ir,...a},className:l("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:s,...d,children:i})})})});st.displayName="SidebarProvider";var we=h.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:r,children:a,...i},d)=>{let{isMobile:s,state:u,openMobile:v,setOpenMobile:y}=He();return o==="none"?(0,H.jsx)("div",{className:l("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:d,...i,children:a}):s?(0,H.jsx)(Qt,{open:v,onOpenChange:y,...i,children:(0,H.jsx)(at,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":kr},side:e,children:(0,H.jsx)("div",{className:"flex h-full w-full flex-col",children:a})})}):(0,H.jsxs)("div",{ref:d,className:"group peer hidden md:block text-sidebar-foreground","data-state":u,"data-collapsible":u==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,H.jsx)("div",{className:l("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,H.jsx)("div",{className:l("duration-200 fixed top-14 bottom-0 H-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",r),...i,children:(0,H.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})})]})});we.displayName="Sidebar";var lt=h.forwardRef(({className:e,onClick:t,...o},r)=>{let{toggleSidebar:a}=He();return(0,H.jsxs)(ie,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:l("h-7 w-7",e),onClick:i=>{t==null||t(i),a()},...o,children:[(0,H.jsx)(io.PanelLeft,{}),(0,H.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});lt.displayName="SidebarTrigger";var Er=h.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:r}=He();return(0,H.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:l("absolute inset-y-0 H-20 hidden w-4 -translate-H-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-H-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})});Er.displayName="SidebarRail";var dt=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("main",{ref:o,className:l("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}));dt.displayName="SidebarInset";var Lr=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)(rt,{ref:o,"data-sidebar":"input",className:l("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Lr.displayName="SidebarInput";var Re=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"header",className:l("flex flex-col gap-2 p-2",e),...t}));Re.displayName="SidebarHeader";var Te=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"footer",className:l("flex flex-col gap-2 p-2",e),...t}));Te.displayName="SidebarFooter";var ct=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)(ye,{ref:o,"data-sidebar":"separator",className:l("mx-2 w-auto bg-sidebar-border",e),...t}));ct.displayName="SidebarSeparator";var le=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"content",className:l("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));le.displayName="SidebarContent";var W=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"group",className:l("relative flex w-full min-w-0 flex-col p-2",e),...t}));W.displayName="SidebarGroup";var Z=h.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,H.jsx)(t?Ot.Slot:"div",{ref:r,"data-sidebar":"group-label",className:l("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),...o}));Z.displayName="SidebarGroupLabel";var Ar=h.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,H.jsx)(t?Ot.Slot:"button",{ref:r,"data-sidebar":"group-action",className:l("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),...o}));Ar.displayName="SidebarGroupAction";var Y=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"group-content",className:l("w-full text-sm",e),...t}));Y.displayName="SidebarGroupContent";var G=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("ul",{ref:o,"data-sidebar":"menu",className:l("flex w-full min-w-0 flex-col gap-1",e),...t}));G.displayName="SidebarMenu";var B=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:l("group/menu-item relative",e),...t}));B.displayName="SidebarMenuItem";var Br=(0,no.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"}}),J=h.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:r="default",tooltip:a,className:i,...d},s)=>{let u=e?Ot.Slot:"button",{isMobile:v,state:y}=He(),w=(0,H.jsx)(u,{ref:s,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:l(Br({variant:o,size:r}),i),...d});return a?(typeof a=="string"&&(a={children:a}),(0,H.jsxs)(ro,{children:[(0,H.jsx)(ao,{asChild:!0,children:w}),(0,H.jsx)(it,{side:"right",align:"center",hidden:y!=="collapsed"||v,...a})]})):w});J.displayName="SidebarMenuButton";var pt=h.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...r},a)=>(0,H.jsx)(t?Ot.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:l("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",o&&"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),...r}));pt.displayName="SidebarMenuAction";var zr=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:l("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}));zr.displayName="SidebarMenuBadge";var Hr=h.forwardRef(({className:e,showIcon:t=!1,...o},r)=>{let a=h.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,H.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:l("rounded-md h-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,H.jsx)(E,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,H.jsx)(E,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});Hr.displayName="SidebarMenuSkeleton";var de=h.forwardRef(({className:e,...t},o)=>(0,H.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:l("mx-3.5 flex min-w-0 translate-H-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));de.displayName="SidebarMenuSub";var ce=h.forwardRef(({...e},t)=>(0,H.jsx)("li",{ref:t,...e}));ce.displayName="SidebarMenuSubItem";var pe=h.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:r,...a},i)=>(0,H.jsx)(e?Ot.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:l("flex h-7 min-w-0 -translate-H-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",r),...a}));pe.displayName="SidebarMenuSubButton";var ue=L(require("@radix-ui/react-collapsible")),ee=ue.Root,me=ue.CollapsibleTrigger,be=ue.CollapsibleContent;var co=L(require("clsx"));var Ce=({type:e="solid",iconName:t="cloud",size:o="lg",className:r})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,d=r!=null?r:"",s=a+i+" fa-"+o+" "+d;return(0,H.jsx)("i",{className:s})};var Gr=()=>(0,H.jsx)(Ce,{iconName:"github",size:"10x"});function po({relatedContent:e,tableOfContents:t,editorComponent:o,loading:r=!1,editMode:a=!1,onAddDocument:i,onEditDocument:d,onPrintDocument:s,onGithubClick:u,onNavClick:v,LinkComponent:y,...w}){let k=y?p=>(0,H.jsx)(y,{...p}):v?({item:p,children:f,...C})=>(0,H.jsx)("button",{onClick:()=>v&&v(p),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...C,children:f}):p=>(0,H.jsx)("a",{href:p.href,...p});return(0,H.jsxs)(we,{side:"right",variant:"inset",...w,children:[(0,H.jsxs)(Re,{className:"border-H border-sidebar-border",children:[(0,H.jsxs)(G,{className:"flex-row space-H-1",children:[(0,H.jsx)(B,{children:(0,H.jsxs)(J,{onClick:i,children:[(0,H.jsx)(io.FilePlus,{})," ",(0,H.jsx)("span",{children:"Add Document"})]})}),u&&(0,H.jsx)(B,{children:(0,H.jsx)(J,{onClick:u,tooltip:"Open in GitHub",children:(0,H.jsx)(Gr,{})})})]}),(0,H.jsxs)(G,{className:"flex-row space-H-1",children:[(0,H.jsx)(B,{className:"w-5/12",children:(0,H.jsxs)(J,{onClick:()=>d(),variant:a?"outline":"default",className:(0,co.default)(a&&"text-accent"),children:[(0,H.jsx)(io.Edit,{})," ",(0,H.jsx)("span",{children:"Edit"})]})}),(0,H.jsx)(B,{className:"w-5/12",children:(0,H.jsxs)(J,{onClick:s,children:[(0,H.jsx)(io.Printer,{})," ",(0,H.jsx)("span",{children:"Print"})]})})]})]}),o&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(ee,{defaultOpen:!0,className:"group/collapsible",children:(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{asChild:!0,children:(0,H.jsxs)(me,{children:["Editor Controls",(0,H.jsx)(io.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,H.jsx)(Y,{children:(0,H.jsx)(be,{children:o})})]})}),(0,H.jsx)(ct,{className:"mx-0"})]}),(0,H.jsxs)(le,{className:"overflow-auto",children:[r&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{children:"Related Content"}),(0,H.jsx)(Y,{children:(0,H.jsx)(G,{children:Array.from({length:3}).map((p,f)=>(0,H.jsx)(B,{children:(0,H.jsx)(E,{className:"bg-gray-200 w-full h-10"})},f))})})]}),(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{children:"Table of Contents"}),(0,H.jsx)(Y,{children:(0,H.jsx)(G,{children:Array.from({length:3}).map((p,f)=>(0,H.jsx)(B,{children:(0,H.jsx)(E,{className:"bg-gray-200 w-full h-10"})},f))})})]})]}),e&&!r&&Object.keys(e).length>0&&(0,H.jsx)(ee,{defaultOpen:!0,className:"group/collapsible",children:(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{asChild:!0,children:(0,H.jsxs)(me,{children:["Related Content",(0,H.jsx)(io.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,H.jsx)(Y,{children:(0,H.jsx)(be,{children:(0,H.jsx)(G,{children:e&&Object.keys(e).map(p=>(0,H.jsxs)(B,{children:[(0,H.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",p.charAt(0).toUpperCase()+p.slice(1)]}),p&&e[p]&&(0,H.jsx)(de,{children:e[p].map(f=>(0,H.jsx)(ce,{children:(0,H.jsx)(pe,{asChild:!0,isActive:!1,size:"sm",children:(0,H.jsxs)(k,{href:f.url,item:f,className:"flex justify-between items-center w-full text-xs",children:[(0,H.jsx)("span",{children:f.label}),f.type==="note"&&(0,H.jsx)(io.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),f.type==="draft"&&(0,H.jsx)(Ce,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},f.label))})]},p))})})})]})}),t&&!r&&(0,H.jsx)(ee,{defaultOpen:!0,className:"group/collapsible",children:(0,H.jsxs)(W,{children:[(0,H.jsx)(Z,{asChild:!0,children:(0,H.jsxs)(me,{children:["Table of Contents",(0,H.jsx)(io.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,H.jsx)(Y,{children:(0,H.jsx)(be,{children:(0,H.jsx)(G,{children:t.map(p=>{var f;return(0,H.jsxs)(B,{children:[(0,H.jsx)(J,{asChild:!0,children:(0,H.jsx)("a",{href:`#${p.url}`,className:"text-xs",children:p.title})}),(f=p.items)!=null&&f.length?(0,H.jsx)(de,{children:p.items.map(C=>(0,H.jsx)(ce,{children:(0,H.jsx)(pe,{asChild:!0,isActive:C.isActive,size:"sm",children:(0,H.jsx)("a",{href:`#${C.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,H.jsx)("span",{children:C.title})})})},C.title))}):null]},p.title)})})})})]})})]}),(0,H.jsx)(Te,{})]})}var ut=L(require("clsx"));function mo({mainNav:e,secondaryNav:t,title:o,subTitle:r,pathName:a,menuHeading:i,onNavClick:d,loading:s=!1,LinkComponent:u,...v}){let w=u?S=>(0,H.jsx)(u,{...S}):d?({href:S,children:g,...k})=>(0,H.jsx)("button",{onClick:()=>d&&d(S),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...k,children:g}):S=>(0,H.jsx)("a",{...S});return(0,H.jsxs)(we,{...v,variant:"inset",children:[(0,H.jsx)(Re,{children:(0,H.jsx)(G,{children:(0,H.jsx)(B,{children:s?(0,H.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,H.jsx)(E,{className:"bg-gray-200 my-2 w-full h-7"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,H.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,H.jsx)("span",{className:"truncate font-semibold",children:o}),r&&(0,H.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),s&&(0,H.jsxs)(le,{children:[(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"}),(0,H.jsx)(E,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,H.jsxs)(le,{children:[e&&!s&&e.map((S,g)=>(0,H.jsx)(Or,{subNav:S,pathName:a,Link:w},g)),(0,H.jsx)(W,{className:"mt-auto",children:(0,H.jsx)(Y,{children:(0,H.jsx)(G,{children:t&&!s&&t.map(S=>(0,H.jsx)(B,{children:(0,H.jsx)(J,{asChild:!0,size:"sm",children:(0,H.jsxs)(w,{href:S.url||"",children:[S.icon&&(0,H.jsx)(S.icon,{}),(0,H.jsx)("span",{children:S.label})]})})},S.label))})})})]}),(0,H.jsx)(Te,{})]})}function Or({subNav:e,pathName:t,Link:o}){var i,d;let r=e,a=!1;return r.links&&r.links.map(s=>{s.url===t&&(a=!0)}),(0,H.jsx)(ee,{defaultOpen:!0,className:"group/collapsible",children:(0,H.jsx)(W,{className:"py-0",children:(0,H.jsx)(G,{children:(0,H.jsx)(ee,{asChild:!0,defaultOpen:r.isActive,children:(0,H.jsxs)(B,{children:[(0,H.jsx)(J,{asChild:!0,tooltip:r.label,className:(0,ut.default)(a&&"font-bold text-accent"),children:(0,H.jsxs)(o,{href:r.url,children:[r.icon&&(0,H.jsx)(r.icon,{}),(0,H.jsx)("span",{children:r.label})]})}),(i=r.links)!=null&&i.length?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(me,{asChild:!0,children:(0,H.jsxs)(pt,{className:"data-[state=open]:rotate-90",children:[(0,H.jsx)(io.ChevronRight,{}),(0,H.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,H.jsx)(be,{children:(0,H.jsx)(de,{children:(d=r.links)==null?void 0:d.map(s=>(0,H.jsx)(ce,{children:(0,H.jsx)(pe,{asChild:!0,className:(0,ut.default)(s.url===t&&"font-bold text-accent"),children:(0,H.jsx)(o,{href:s.url,children:(0,H.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},r.label)})})})}var _e=L(require("react")),_r=1,Fr=1e6;var mt=0;function Vr(){return mt=(mt+1)%Number.MAX_SAFE_INTEGER,mt.toString()}var bt=new Map,bo=e=>{if(bt.has(e))return;let t=setTimeout(()=>{bt.delete(e),Ne({type:"REMOVE_TOAST",toastId:e})},Fr);bt.set(e,t)},Wr=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,_r)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?bo(o):e.toasts.forEach(r=>{bo(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},Ge=[],Oe={toasts:[]};function Ne(e){Oe=Wr(Oe,e),Ge.forEach(t=>{t(Oe)})}function Jr({...e}){let t=Vr(),o=a=>Ne({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>Ne({type:"DISMISS_TOAST",toastId:t});return Ne({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:o}}function fo(){let[e,t]=_e.useState(Oe);return _e.useEffect(()=>(Ge.push(t),()=>{let o=Ge.indexOf(t);o>-1&&Ge.splice(o,1)}),[e]),{...e,toast:Jr,dismiss:o=>Ne({type:"DISMISS_TOAST",toastId:o})}}var te=L(require("react")),I=L(require("@radix-ui/react-toast"));var vo=I.Provider,ft=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Viewport,{ref:o,className:l("fixed top-0 H-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));ft.displayName=I.Viewport.displayName;var Ur=(0,no.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-H-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-H-0 data-[swipe=end]:translate-H-[var(--radix-toast-swipe-end-H)] data-[swipe=move]:translate-H-[var(--radix-toast-swipe-move-H)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),gt=te.forwardRef(({className:e,variant:t,...o},r)=>(0,H.jsx)(I.Root,{ref:r,className:l(Ur({variant:t}),e),...o}));gt.displayName=I.Root.displayName;var Xr=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Action,{ref:o,className:l("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Xr.displayName=I.Action.displayName;var ht=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Close,{ref:o,className:l("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,H.jsx)(io.X,{className:"h-4 w-4"})}));ht.displayName=I.Close.displayName;var vt=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Title,{ref:o,className:l("text-sm font-semibold [&+div]:text-xs",e),...t}));vt.displayName=I.Title.displayName;var xt=te.forwardRef(({className:e,...t},o)=>(0,H.jsx)(I.Description,{ref:o,className:l("text-sm opacity-90",e),...t}));xt.displayName=I.Description.displayName;function xo(){let{toasts:e}=fo();return(0,$.jsxs)(vo,{children:[e.map(function({id:t,title:o,description:r,action:a,...i}){return(0,$.jsxs)(gt,{...i,children:[(0,$.jsxs)("div",{className:"grid gap-1",children:[o&&(0,$.jsx)(vt,{children:o}),r&&(0,$.jsx)(xt,{children:r})]}),a,(0,$.jsx)(ht,{})]},t)}),(0,$.jsx)(ft,{})]})}var fe=require("@headlessui/react"),So=require("@heroicons/react/20/solid");var Yr=({name:e,items:t,actions:o=[],href:r})=>!t&&r?(0,H.jsx)("a",{href:r,className:"flex items-center gap-H-1 text-sm font-semibold text-foreground group",children:(0,H.jsxs)("span",{className:"relative",children:[e,(0,H.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-H-1/2 scale-H-0 transition-transform duration-300 ease-in-out group-hover:scale-H-100"})]})}):(0,H.jsxs)(fe.Popover,{children:[(0,H.jsxs)(fe.PopoverButton,{className:"flex items-center gap-H-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,H.jsxs)("span",{className:"relative",children:[e,(0,H.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-H-1/2 scale-H-0 transition-transform duration-300 ease-in-out group-hover:scale-H-100"})]}),(0,H.jsx)(So.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,H.jsxs)(fe.PopoverPanel,{transition:!0,className:"absolute inset-H-0 top-0 -H-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,H.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-H-4 px-6 py-10 lg:px-8 xl:gap-H-8 H-50",children:t&&t.map(a=>(0,H.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,H.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:a.icon&&(0,H.jsx)(yo,{icon:a.icon,size:"4x"})}),(0,H.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,H.jsx)("span",{className:"absolute inset-0"})]}),(0,H.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),o.length>0&&(0,H.jsx)("div",{className:"bg-gray-50",children:(0,H.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,H.jsx)("div",{className:"grid grid-cols-3 divide-H divide-gray-900/5 border-H border-gray-900/5",children:o.map(a=>(0,H.jsxs)("a",{href:a.href,className:"flex items-center max-h-12 justify-center gap-H-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,H.jsx)(yo,{icon:a.icon,className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),yo=({icon:e,className:t,size:o="lg"})=>{if(!e)return null;if("type"in e)return(0,H.jsx)(Ce,{...e,size:o});if("src"in e)return(0,H.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,H.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},wo=Yr;var Ro=L(require("next/link"));function To({children:e,href:t,openNewTab:o,...r}){return(0,H.jsx)(Ro.default,{href:t,target:o?"_blank":"_self",...r,children:e})}var yt=L(require("next/image"));function Me({logoLight:e,logoDark:t,mobile:o=!1}){return(0,H.jsxs)(To,{href:"/",className:l(o?"py-1":"py-2"),children:[(0,H.jsx)(yt.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:o?35:50}}),(0,H.jsx)(yt.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:o?35:50}})]})}var No=require("next-themes");function Mo({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r,themeControl:a=!1}){let[i,d]=(0,ze.useState)(!1),[s,u]=(0,ze.useState)(""),v=["light","dark"],{theme:y,setTheme:w}=(0,No.useTheme)();(0,ze.useEffect)(()=>{u(y||"dark")},[y]);let S=()=>{let g=v[(v.indexOf(s)+1)%v.length];u(g),w(g)};return(0,ze.useEffect)(()=>{let g=()=>{window.scrollY>100?d(!0):d(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,H.jsx)(H.Fragment,{children:(0,H.jsx)("header",{className:`H-50 pb-10 transition-all duration-300 hidden lg:block ${i||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,H.jsx)("nav",{className:"backdrop-blur-sm text-white p-0",children:(0,H.jsxs)("div",{className:"flex items-center justify-between bg-background/80 px-9 py-0",children:[(0,H.jsx)(Me,{logoDark:o,logoLight:t}),(0,H.jsx)(fe.PopoverGroup,{className:"hidden lg:flex lg:gap-H-12",children:r&&r.map(g=>(0,H.jsx)(wo,{...g},g.name))}),(0,H.jsxs)("div",{className:"flex items-center space-H-4",children:[(0,H.jsx)(ie,{asChild:!0,variant:"outline",size:"sm",className:"border-accent bg-transparent rounded-2xl px-6 hover:bg-accent",children:(0,H.jsx)("a",{href:"/contact",children:"Contact Us"})}),a&&(0,H.jsx)("button",{className:"fixed right-4 H-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:S,children:(0,H.jsxs)("div",{className:"relative",children:[(0,H.jsx)(io.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,H.jsx)(io.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})})})})}var Ve=require("@heroicons/react/24/outline");var St=["light","dark"];function Io({logoLight:e,logoDark:t,menuItems:o,isMenuOpen:r=!0}){let[a,i]=(0,ze.useState)(!1),{theme:d,setTheme:s}=(0,No.useTheme)(),[u,v]=(0,ze.useState)(!1),[y,w]=(0,ze.useState)("light");(0,ze.useEffect)(()=>{let g=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,ze.useEffect)(()=>{w(d||"dark")},[d]);let S=()=>{let g=St[(St.indexOf(y)+1)%St.length];w(g),s(g)};return(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)("header",{className:`H-50 pb-10 transition-all duration-300 block lg:hidden ${a||r?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,H.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",u&&"hidden"),children:(0,H.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-H dark:border-accent",children:[(0,H.jsx)(Me,{logoDark:t,logoLight:e,mobile:!0}),(0,H.jsxs)("div",{className:"flex items-center space-H-4",children:[(0,H.jsxs)("button",{type:"button",onClick:()=>v(!0),className:"fixed right-4 H-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,H.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,H.jsx)(Ve.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,H.jsx)("button",{className:"fixed right-16 H-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:S,children:(0,H.jsxs)("div",{className:"relative",children:[(0,H.jsx)(io.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,H.jsx)(io.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,H.jsxs)(fe.Dialog,{open:u,onClose:v,className:"lg:hidden",children:[(0,H.jsx)("div",{className:"fixed inset-0 H-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,H.jsxs)(fe.DialogPanel,{className:"fixed inset-y-0 right-0 H-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,H.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,H.jsx)(Me,{logoDark:t,logoLight:e,mobile:!0}),(0,H.jsxs)("button",{type:"button",onClick:()=>v(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,H.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,H.jsx)(Ve.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,H.jsx)("div",{className:"mt-6 flow-root",children:(0,H.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,H.jsx)("div",{className:"space-y-2 px-2 py-6",children:o&&o.map(g=>(0,H.jsx)($r,{...g},g.name))})})})]})]})]})})}function $r({name:e,items:t,actions:o,href:r}){return!t&&r?(0,H.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,H.jsxs)(fe.Disclosure,{as:"div",className:"-mx-3",children:[(0,H.jsx)(fe.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,H.jsx)(fe.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,H.jsx)(fe.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:a.name},a.name))})]})}function Do({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r,className:a}){return(0,H.jsxs)("div",{className:l("fixed top-0 left-0 right-0 H-50",a),children:[(0,H.jsx)(Mo,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r}),(0,H.jsx)(Io,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:r})]})}var Eo="../cortex-reply-light-27IMI3G7.png";var Lo="../cortex-reply-dark-XPAJJJYY.png";function Ao({...e}){return(0,H.jsxs)("div",{className:"bg-sidebar",children:[(0,H.jsx)(Do,{isMenuOpen:!0,logoLight:Eo,logoDark:Lo,...e.header,className:"bg-sidebar"}),(0,H.jsxs)(st,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[(0,H.jsx)(mo,{...e.sidebarLeft,className:"flex-none top-24"}),(0,H.jsxs)(dt,{className:"grow overflow-hidden",children:[(0,H.jsx)("header",{className:"flex h-16 shrink-0 items-center gap-2",children:(0,H.jsxs)("div",{className:"flex items-center gap-2 px-4",children:[(0,H.jsx)(lt,{className:"-ml-1"}),(0,H.jsx)(ye,{orientation:"vertical",className:"mr-2 h-4"}),(0,H.jsx)(qe,{children:(0,H.jsxs)(Qe,{children:[(0,H.jsx)(Be,{className:"hidden md:block",children:(0,H.jsx)(Ze,{href:"#",children:"Building Your Application"})}),(0,H.jsx)(tt,{className:"hidden md:block"}),(0,H.jsx)(Be,{children:(0,H.jsx)(et,{children:"Data Fetching"})})]})})]})}),(0,H.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[(0,H.jsxs)("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[(0,H.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,H.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,H.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),(0,H.jsx)("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),(0,H.jsx)(po,{...e.sidebarRight,className:"flex-none top-24"})]}),(0,H.jsx)(xo,{})]})}
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../chunk-CCQHABAJ.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-ZZ6YKJXX.mjs";import"../chunk-UMPQUYHD.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-H4SBQSGY.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-YC3XIF3X.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.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-YNNW2C2U.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
2
+ "use strict";import{a}from"../chunk-BYNGPRHW.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-C3JUPZ34.mjs";import"../chunk-6NHBVSPJ.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-L5JFZUB6.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-42TZNRIV.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-AAI2VZST.mjs";import"../chunk-KEUZSK3N.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};