cortex-react-components 1.62.0 → 1.62.2

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 (205) hide show
  1. package/dist/chunk-2ZB6Z7XN.mjs +4 -0
  2. package/dist/chunk-326JXRIS.mjs +1 -0
  3. package/dist/{chunk-X7BL4XNE.mjs → chunk-5ALQQYYE.mjs} +1 -1
  4. package/dist/{chunk-CKHMERFD.mjs → chunk-65BHP4TM.mjs} +1 -1
  5. package/dist/{chunk-W44AKXM4.mjs → chunk-B7STYVDB.mjs} +1 -1
  6. package/dist/{chunk-YRSOMSFW.mjs → chunk-CJF6GVGP.mjs} +1 -1
  7. package/dist/{chunk-WLNBPCJF.mjs → chunk-DVGPU4EL.mjs} +1 -1
  8. package/dist/{chunk-24APRFWG.mjs → chunk-EVVDCPEA.mjs} +1 -1
  9. package/dist/chunk-FGHN2OHF.mjs +1 -0
  10. package/dist/{chunk-YCHCFTKF.mjs → chunk-FN5C27GW.mjs} +1 -1
  11. package/dist/chunk-FSYU3D5O.mjs +1 -0
  12. package/dist/{chunk-RR4HR3KN.mjs → chunk-GHXEOXV4.mjs} +1 -1
  13. package/dist/{chunk-DJMYL5YL.mjs → chunk-HFT5KFCM.mjs} +1 -1
  14. package/dist/{chunk-7J7FNKHF.mjs → chunk-IH37BDR2.mjs} +1 -1
  15. package/dist/{chunk-2H6ELPBB.mjs → chunk-JLCWVIEP.mjs} +1 -1
  16. package/dist/{chunk-KGIOLQSJ.mjs → chunk-JU7C3V5N.mjs} +1 -1
  17. package/dist/{chunk-YH4UFIEW.mjs → chunk-L5MDFQGH.mjs} +1 -1
  18. package/dist/{chunk-ZD7HSIMS.mjs → chunk-MUBDAI2K.mjs} +1 -1
  19. package/dist/{chunk-PARG2DLL.mjs → chunk-NP2M5K7O.mjs} +1 -1
  20. package/dist/{chunk-V4JGZT55.mjs → chunk-OMVXDUX7.mjs} +1 -1
  21. package/dist/{chunk-TLE6V6RN.mjs → chunk-RG5W7B5K.mjs} +1 -1
  22. package/dist/{chunk-W77KSAW7.mjs → chunk-RZUYAUCR.mjs} +1 -1
  23. package/dist/{chunk-2LZPPRWJ.mjs → chunk-U7Q6ZRR3.mjs} +1 -1
  24. package/dist/{chunk-FC3MJHFL.mjs → chunk-UDQTFQR7.mjs} +1 -1
  25. package/dist/{chunk-LSDSIUTM.mjs → chunk-VEWTPB7K.mjs} +1 -1
  26. package/dist/{chunk-T6FBWMZR.mjs → chunk-WKFNZUIR.mjs} +1 -1
  27. package/dist/{chunk-KYZKHJAK.mjs → chunk-WPL2QWNG.mjs} +1 -1
  28. package/dist/{chunk-Q5OSKAPP.mjs → chunk-X4EKDFOJ.mjs} +1 -1
  29. package/dist/{chunk-BZ2FTWEK.mjs → chunk-X4Q7WZZS.mjs} +1 -1
  30. package/dist/{chunk-DXDSW6OM.mjs → chunk-XIVKVQK2.mjs} +1 -1
  31. package/dist/{chunk-DIM5GGBK.mjs → chunk-XZ4GLJWK.mjs} +1 -1
  32. package/dist/chunk-YPK6OLRS.mjs +4 -0
  33. package/dist/{chunk-ITA62TPJ.mjs → chunk-ZJCHVWSF.mjs} +1 -1
  34. package/dist/components/Blocks/Banner.js +1 -1
  35. package/dist/components/Blocks/Banner.mjs +1 -1
  36. package/dist/components/Blocks/CallToAction.js +1 -1
  37. package/dist/components/Blocks/CallToAction.mjs +1 -1
  38. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  39. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  40. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  41. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  42. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  43. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  44. package/dist/components/Blocks/Content.js +1 -1
  45. package/dist/components/Blocks/Content.mjs +1 -1
  46. package/dist/components/Blocks/Content.stories.js +1 -1
  47. package/dist/components/Blocks/Content.stories.mjs +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  51. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  52. package/dist/components/Blocks/RelatedPosts.js +1 -1
  53. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  54. package/dist/components/Blocks/RenderBlocks.js +1 -1
  55. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  56. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  57. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  58. package/dist/components/Blocks/index.js +1 -1
  59. package/dist/components/Blocks/index.mjs +1 -1
  60. package/dist/components/Cards/ContentCard.js +1 -1
  61. package/dist/components/Cards/ContentCard.mjs +1 -1
  62. package/dist/components/Cards/ContentCard.stories.js +1 -1
  63. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  64. package/dist/components/Cards/FeatureCard.js +1 -1
  65. package/dist/components/Cards/FeatureCard.mjs +1 -1
  66. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  67. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  68. package/dist/components/Cards/index.js +4 -4
  69. package/dist/components/Cards/index.mjs +1 -1
  70. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  71. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  72. package/dist/components/HeaderFooter/Header.mjs +1 -1
  73. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  74. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  75. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  76. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  77. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  78. package/dist/components/HeaderFooter/index.d.ts +1 -0
  79. package/dist/components/HeaderFooter/index.js +1 -1
  80. package/dist/components/HeaderFooter/index.mjs +1 -1
  81. package/dist/components/Heros/HighImpact/index.js +1 -1
  82. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  83. package/dist/components/Heros/LowImpact/index.js +1 -1
  84. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  85. package/dist/components/Heros/MediumImpact/index.js +1 -1
  86. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  87. package/dist/components/Heros/PostHero/index.mjs +1 -1
  88. package/dist/components/Heros/RenderHero.js +1 -1
  89. package/dist/components/Heros/RenderHero.mjs +1 -1
  90. package/dist/components/Heros/index.js +1 -1
  91. package/dist/components/Heros/index.mjs +1 -1
  92. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  93. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  94. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  95. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  96. package/dist/components/Layouts/Print.js +1 -1
  97. package/dist/components/Layouts/Print.mjs +1 -1
  98. package/dist/components/Layouts/Print.stories.js +1 -1
  99. package/dist/components/Layouts/Print.stories.mjs +1 -1
  100. package/dist/components/Layouts/SlideShow.js +1 -1
  101. package/dist/components/Layouts/SlideShow.mjs +1 -1
  102. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  103. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  104. package/dist/components/Layouts/index.js +1 -1
  105. package/dist/components/Layouts/index.mjs +1 -1
  106. package/dist/components/Menus/RelatedContent.d.ts +2 -2
  107. package/dist/components/Menus/RelatedContent.js +1 -1
  108. package/dist/components/Menus/RelatedContent.mjs +1 -1
  109. package/dist/components/Menus/RelatedContent.stories.js +1 -1
  110. package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
  111. package/dist/components/Menus/index.js +1 -1
  112. package/dist/components/Menus/index.mjs +1 -1
  113. package/dist/components/Payload/RichText/index.js +1 -1
  114. package/dist/components/Payload/RichText/index.mjs +1 -1
  115. package/dist/components/Payload/RichText/serialize.js +1 -1
  116. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  117. package/dist/components/Payload/RichText.stories.js +1 -1
  118. package/dist/components/Payload/RichText.stories.mjs +1 -1
  119. package/dist/components/Payload/index.js +1 -1
  120. package/dist/components/Payload/index.mjs +1 -1
  121. package/dist/components/index.js +8 -8
  122. package/dist/components/index.mjs +1 -1
  123. package/dist/components/ui/index.mjs +1 -1
  124. package/dist/globals.css +1 -1
  125. package/dist/hooks/index.mjs +1 -1
  126. package/dist/index.js +13 -13
  127. package/dist/index.mjs +1 -1
  128. package/dist/metafile-cjs.json +1 -1
  129. package/dist/metafile-esm.json +1 -1
  130. package/dist/pages/Blog.js +1 -1
  131. package/dist/pages/Blog.mjs +1 -1
  132. package/dist/pages/Blog.stories.js +1 -1
  133. package/dist/pages/Blog.stories.mjs +1 -1
  134. package/dist/pages/Documentation.mjs +1 -1
  135. package/dist/pages/Documentation.stories.mjs +1 -1
  136. package/dist/pages/IndexPage.mjs +1 -1
  137. package/dist/pages/IndexPage.stories.mjs +1 -1
  138. package/dist/pages/Intranet.mjs +1 -1
  139. package/dist/pages/Intranet.stories.mjs +1 -1
  140. package/dist/pages/LandingPage.js +1 -1
  141. package/dist/pages/LandingPage.mjs +1 -1
  142. package/dist/pages/LandingPage.stories.js +1 -1
  143. package/dist/pages/LandingPage.stories.mjs +1 -1
  144. package/dist/pages/Page.js +1 -1
  145. package/dist/pages/Page.mjs +1 -1
  146. package/dist/pages/Page.stories.js +1 -1
  147. package/dist/pages/Page.stories.mjs +1 -1
  148. package/dist/pages/Printable.stories.js +1 -1
  149. package/dist/pages/Printable.stories.mjs +1 -1
  150. package/dist/pages/Publish.js +1 -1
  151. package/dist/pages/Publish.mjs +1 -1
  152. package/dist/pages/Publish.stories.js +1 -1
  153. package/dist/pages/Publish.stories.mjs +1 -1
  154. package/dist/pages/Website.js +1 -1
  155. package/dist/pages/Website.mjs +1 -1
  156. package/dist/pages/Website.stories.js +1 -1
  157. package/dist/pages/Website.stories.mjs +1 -1
  158. package/dist/sections/AboutSection.js +1 -1
  159. package/dist/sections/AboutSection.mjs +1 -1
  160. package/dist/sections/AboutSection.stories.js +1 -1
  161. package/dist/sections/AboutSection.stories.mjs +1 -1
  162. package/dist/sections/BlogDetail.js +1 -1
  163. package/dist/sections/BlogDetail.mjs +1 -1
  164. package/dist/sections/BlogDetail.stories.js +1 -1
  165. package/dist/sections/BlogDetail.stories.mjs +1 -1
  166. package/dist/sections/BlogList.js +1 -1
  167. package/dist/sections/BlogList.mjs +1 -1
  168. package/dist/sections/BlogList.stories.js +1 -1
  169. package/dist/sections/BlogList.stories.mjs +1 -1
  170. package/dist/sections/BlogListSection.mjs +1 -1
  171. package/dist/sections/BlogListSection.stories.mjs +1 -1
  172. package/dist/sections/ContactSection.js +1 -1
  173. package/dist/sections/ContactSection.mjs +1 -1
  174. package/dist/sections/ContactSection.stories.js +1 -1
  175. package/dist/sections/ContactSection.stories.mjs +1 -1
  176. package/dist/sections/ImageSection.stories.js +1 -1
  177. package/dist/sections/ImageSection.stories.mjs +1 -1
  178. package/dist/sections/MainPageSection.js +1 -1
  179. package/dist/sections/MainPageSection.mjs +1 -1
  180. package/dist/sections/PageSections.js +1 -1
  181. package/dist/sections/PageSections.mjs +1 -1
  182. package/dist/sections/PageSections.stories.js +1 -1
  183. package/dist/sections/PageSections.stories.mjs +1 -1
  184. package/dist/sections/PricingSection.js +1 -1
  185. package/dist/sections/PricingSection.mjs +1 -1
  186. package/dist/sections/PricingSection.stories.js +1 -1
  187. package/dist/sections/PricingSection.stories.mjs +1 -1
  188. package/dist/sections/ServiceDetail.js +1 -1
  189. package/dist/sections/ServiceDetail.mjs +1 -1
  190. package/dist/sections/ServiceDetailSection.js +1 -1
  191. package/dist/sections/ServiceDetailSection.mjs +1 -1
  192. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  193. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  194. package/dist/sections/ServiceSection.js +1 -1
  195. package/dist/sections/ServiceSection.mjs +1 -1
  196. package/dist/sections/ServiceSection.stories.js +1 -1
  197. package/dist/sections/ServiceSection.stories.mjs +1 -1
  198. package/dist/sections/index.js +1 -1
  199. package/dist/sections/index.mjs +1 -1
  200. package/package.json +1 -1
  201. package/dist/chunk-4CCX3VUG.mjs +0 -1
  202. package/dist/chunk-F75HZ4ID.mjs +0 -4
  203. package/dist/chunk-TNHG4LC5.mjs +0 -1
  204. package/dist/chunk-WQVJEFK2.mjs +0 -4
  205. package/dist/chunk-WWAAWBLR.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";"use client";var vr=Object.create;var xe=Object.defineProperty;var wr=Object.getOwnPropertyDescriptor;var kr=Object.getOwnPropertyNames;var Nr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var Sr=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},ct=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kr(t))!Cr.call(e,n)&&n!==r&&xe(e,n,{get:()=>t[n],enumerable:!(a=wr(t,n))||a.enumerable});return e};var F=(e,t,r)=>(r=e!=null?vr(Nr(e)):{},ct(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),Pr=e=>ct(xe({},"__esModule",{value:!0}),e);var wo={};Sr(wo,{default:()=>yr});module.exports=Pr(wo);var X=F(require("react"));var xt=require("clsx");var Ye="-",Tr=e=>{let t=Br(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Ye);return i[0]===""&&i.length!==1&&i.shift(),mt(i,t)||Ir(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},mt=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?mt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ye);return t.validators.find(({validator:s})=>s(o))?.classGroupId},dt=/^\[(.+)\]$/,Ir=e=>{if(dt.test(e)){let t=dt.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Br=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Mr(Object.entries(e.classGroups),r).forEach(([o,s])=>{je(s,a,o,t)}),a},je=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:pt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Ar(n)){je(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{je(s,pt(t,o),r,a)})})},pt=(e,t)=>{let r=e;return t.split(Ye).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Ar=e=>e.isThemeGetter,Mr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Rr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},ut="!",Dr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,m=0,C;for(let P=0;P<i.length;P++){let T=i[P];if(p===0){if(T===n&&(a||i.slice(P,P+o)===t)){c.push(i.slice(m,P)),m=P+o;continue}if(T==="/"){C=P;continue}}T==="["?p++:T==="]"&&p--}let I=c.length===0?i:i.substring(m),k=I.startsWith(ut),S=k?I.substring(1):I,N=C&&C>m?C-m:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:S,maybePostfixModifierPosition:N}};return r?i=>r({className:i,parseClassName:s}):s},Fr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Hr=e=>({cache:Rr(e.cacheSize),parseClassName:Dr(e),...Tr(e)}),Lr=/\s+/,zr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Lr),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:m,hasImportantModifier:C,baseClassName:I,maybePostfixModifierPosition:k}=r(p),S=!!k,N=a(S?I.substring(0,k):I);if(!N){if(!S){i=p+(i.length>0?" "+i:i);continue}if(N=a(I),!N){i=p+(i.length>0?" "+i:i);continue}S=!1}let P=Fr(m).join(":"),T=C?P+ut:P,M=T+N;if(o.includes(M))continue;o.push(M);let J=n(N,S);for(let z=0;z<J.length;++z){let fe=J[z];o.push(T+fe)}i=p+(i.length>0?" "+i:i)}return i};function Gr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=gt(t))&&(a&&(a+=" "),a+=r);return a}var gt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=gt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Er(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((m,C)=>C(m),e());return r=Hr(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let m=zr(c,r);return n(c,m),m}return function(){return o(Gr.apply(null,arguments))}}var x=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ft=/^\[(?:([a-z-]+):)?(.+)\]$/i,Or=/^\d+\/\d+$/,Ur=new Set(["px","full","screen"]),jr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq($|$|i|$|min|max))|\$(calc|min|max|clamp)\(.+\)|^0$/,Jr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Vr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Bt-?((\d+)?\.?(\d+)[a-z]+|0)/,Qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>Z(e)||Ur.has(e)||Or.test(e),V=e=>ee(e,"length",eo),Z=e=>!!e&&!Number.isNaN(Number(e)),Ue=e=>ee(e,"number",Z),ie=e=>!!e&&Number.isInteger(Number(e)),Xr=e=>e.endsWith("%")&&Z(e.slice(0,-1)),d=e=>ft.test(e),Q=e=>jr.test(e),$r=new Set(["length","size","percentage"]),qr=e=>ee(e,$r,bt),Kr=e=>ee(e,"position",bt),Wr=new Set(["image","url"]),_r=e=>ee(e,Wr,ro),Zr=e=>ee(e,"",to),le=()=>!0,ee=(e,t,r)=>{let a=ft.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},eo=e=>Yr.test(e)&&!Jr.test(e),bt=()=>!1,to=e=>Vr.test(e),ro=e=>Qr.test(e);var oo=()=>{let e=x("colors"),t=x("spacing"),r=x("blur"),a=x("brightness"),n=x("borderColor"),o=x("borderRadius"),s=x("borderSpacing"),i=x("borderWidth"),c=x("contrast"),p=x("grayscale"),m=x("hueRotate"),C=x("invert"),I=x("gap"),k=x("gradientColorStops"),S=x("gradientColorStopPositions"),N=x("inset"),P=x("margin"),T=x("opacity"),M=x("padding"),J=x("saturate"),z=x("scale"),fe=x("sepia"),rt=x("skew"),ot=x("space"),at=x("translate"),ze=()=>["auto","contain","none"],Ge=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",d,t],v=()=>[d,t],nt=()=>["",U,V],be=()=>["auto",Z,d],st=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],he=()=>["solid","dashed","dotted","double","none"],it=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Oe=()=>["start","end","center","between","around","evenly","stretch"],se=()=>["","0",d],lt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[Z,d];return{cacheSize:500,separator:":",theme:{colors:[le],spacing:[U,V],blur:["none","",Q,d],brightness:O(),borderColor:[e],borderRadius:["none","","full",Q,d],borderSpacing:v(),borderWidth:nt(),contrast:O(),grayscale:se(),hueRotate:O(),invert:se(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[Xr,V],inset:Ee(),margin:Ee(),opacity:O(),padding:v(),saturate:O(),scale:O(),sepia:se(),skew:O(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[Q]}],"break-after":[{"break-after":lt()}],"break-before":[{"break-before":lt()}],"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:[...st(),d]}],overflow:[{overflow:Ge()}],"overflow-x":[{"overflow-x":Ge()}],"overflow-$":[{"overflow-$":Ge()}],overscroll:[{overscroll:ze()}],"overscroll-x":[{"overscroll-x":ze()}],"overscroll-$":[{"overscroll-$":ze()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[N]}],"inset-x":[{"inset-x":[N]}],"inset-$":[{"inset-$":[N]}],start:[{start:[N]}],end:[{end:[N]}],top:[{top:[N]}],right:[{right:[N]}],bottom:[{bottom:[N]}],left:[{left:[N]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie,d]}],basis:[{basis:Ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:se()}],shrink:[{shrink:se()}],order:[{order:["first","last","none",ie,d]}],"grid-cols":[{"grid-cols":[le]}],"col-start-end":[{col:["auto",{span:["full",ie,d]},d]}],"col-start":[{"col-start":be()}],"col-end":[{"col-end":be()}],"grid-rows":[{"grid-rows":[le]}],"row-start-end":[{row:["auto",{span:[ie,d]},d]}],"row-start":[{"row-start":be()}],"row-end":[{"row-end":be()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[I]}],"gap-x":[{"gap-x":[I]}],"gap-$":[{"gap-$":[I]}],"justify-content":[{justify:["normal",...Oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],$:[{$:[P]}],mt:[{mt:[P]}],ae:[{ae:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[ot]}],"space-x-reverse":["space-x-reverse"],"space-$":[{"space-$":[ot]}],"space-$-reverse":["space-$-reverse"],$:[{$:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-$":[{"min-$":[d,t,"min","max","fit"]}],"max-$":[{"max-$":[d,t,"none","full","min","max","fit","prose",{screen:[Q]},Q]}],$:[{$:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-$":[{"min-$":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-$":[{"max-$":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Q,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ue]}],"font-family":[{font:[le]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",Z,Ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,V]}],"underline-offset":[{"underline-offset":["auto",U,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...st(),Kr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","$","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","$","bl","l","tl"]},_r]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-$":[{"rounded-$":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-$":[{border:[i]}],"border-$-x":[{"border-x":[i]}],"border-$-$":[{"border-$":[i]}],"border-$-s":[{"border-s":[i]}],"border-$-e":[{"border-e":[i]}],"border-$-t":[{"border-t":[i]}],"border-$-r":[{"border-r":[i]}],"border-$-$":[{"border-$":[i]}],"border-$-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...he(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-$":[{"divide-$":[i]}],"divide-$-reverse":["divide-$-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:he()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-$":[{"border-$":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-$":[{"border-$":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...he()]}],"outline-offset":[{"outline-offset":[U,d]}],"outline-$":[{outline:[U,V]}],"outline-color":[{outline:[e]}],"ring-$":[{ring:nt()}],"ring-$-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-$":[{"ring-offset":[U,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Q,Zr]}],"shadow-color":[{shadow:[le]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...it(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":it()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Q,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[J]}],sepia:[{sepia:[fe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-$":[{"border-spacing-$":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-$":[{"scale-$":[z]}],rotate:[{rotate:[ie,d]}],"translate-x":[{"translate-x":[at]}],"translate-$":[{"translate-$":[at]}],"skew-x":[{"skew-x":[rt]}],"skew-$":[{"skew-$":[rt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","$-resize","Bt-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","$","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-$":[{"scroll-$":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-ae":[{"scroll-ae":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","$","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-$":[{"touch-pan":["$","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-$":[{stroke:[U,V,Ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-$"],overscroll:["overscroll-x","overscroll-$"],inset:["inset-x","inset-$","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-$":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-$"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","$","mt","ae","mb","ml"],mx:["ae","ml"],my:["mt","mb"],size:["$","$"],"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-$","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-$":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-$"],"border-$":["border-$-s","border-$-e","border-$-t","border-$-r","border-$-$","border-$-l"],"border-$-x":["border-$-r","border-$-l"],"border-$-$":["border-$-t","border-$-$"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-$","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-$":["border-color-t","border-color-$"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-$","scroll-mt","scroll-ae","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ae","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-$","touch-pz"],"touch-x":["touch"],"touch-$":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ht=Er(oo);function l(...e){return ht((0,xt.clsx)(e))}var $=require("react/jsx-runtime"),ye=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ye.displayName="Card";var ve=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("flex flex-col space-$-1.5 p-6",e),...t}));ve.displayName="CardHeader";var we=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));we.displayName="CardTitle";var ao=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));ao.displayName="CardDescription";var ke=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));ke.displayName="CardContent";var no=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));no.displayName="CardFooter";var yt=require("@radix-ui/react-slot"),vt=require("class-variance-authority"),wt=F(require("react")),so=(0,vt.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:"$-10 px-4 py-2",icon:"$-10 $-10",lg:"$-11 rounded px-8",sm:"$-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"}}}),j=wt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,$.jsx)(e?yt.Slot:"button",{className:l(so({className:t,size:r,variant:a})),ref:o,...n}));j.displayName="Button";var Le=require("lucide-react");var Nt=({className:e,content:t,style:r})=>(0,$.jsx)("div",{className:l("mx-auto my-8 $-full",e),children:(0,$.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,$.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var Bt=require("react");var Je=F(require("next/link")),q=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,m=t==="reference"&&typeof i?.value=="object"&&i.value.slug?`${i?.relationTo!=="pages"?`/${i?.relationTo}`:""}/${i.value.slug}`:p;if(!m)return null;let C=r==="link"?"clear":c,I=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(Je.default,{className:l(n),href:m||p||"",...I,children:[o&&o,a&&a]}):(0,$.jsx)(j,{asChild:!0,className:n,size:C,variant:r,children:(0,$.jsxs)(Je.default,{className:l(n),href:m||p||"",...I,children:[o&&o,a&&a]})})};function Ce({className:e}){return l("flex items-center min-$-[3.5rem] md:min-$-[3.75rem] $-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function io({className:e,...t}){return(0,$.jsx)("input",{...t,className:Ce({className:e})})}function Se({icon:e,...t}){return(0,$.jsxs)("div",{className:"relative $-full",children:[(0,$.jsx)(io,{...t}),e&&(0,$.jsx)("span",{className:"absolute right-5 top-1/2 $-[14px] -translate-$-1/2 text-accent",children:e})]})}function lo({className:e,...t}){return(0,$.jsx)("textarea",{...t,className:l(Ce({}),"resize-none md:min-$-[130px]",e)})}function Ct({icon:e,...t}){return(0,$.jsxs)("div",{className:"relative $-full",children:[(0,$.jsx)(lo,{...t}),e&&(0,$.jsx)("span",{className:"absolute right-5 top-[18px] $-[14px] text-accent",children:e})]})}var Pt=require("formik"),Tt=require("react-icons/fa6"),K=F(require("yup"));async function St(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ve=require("sonner"),H={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},co=K.object().shape({name:K.string().min(2,H.tooShort).max(50,H.tooLong).required(H.required),email:K.string().email(H.email).required(H.required),subject:K.string().min(2,H.tooShort).max(50,H.tooLong).required(H.required),message:K.string().min(2,H.tooShort).max(300,H.tooLong).required(H.required)}),Pe=l("!pr-[44px] text-foreground"),Te=l("!border-red-600 border"),Ie=l("sr-only");function It(){return(0,$.jsx)(Pt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:co,onSubmit:async(e,{resetForm:t})=>{let r=await St(e);r.data===null?Ve.toast.error(r.message):(Ve.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,$.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,$.jsxs)("div",{children:[(0,$.jsx)(Se,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,$.jsx)(Tt.FaUser,{className:"text-primary"}),className:l(Pe,e.name&&t.name&&Te)}),e.name&&t.name&&(0,$.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ie,children:e.name})]}),(0,$.jsxs)("div",{children:[(0,$.jsx)(Se,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,$.jsx)(po,{}),className:l(Pe,e.email&&t.email&&Te)}),e.email&&t.email&&(0,$.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ie,children:e.email})]}),(0,$.jsxs)("div",{className:"lg:col-span-2",children:[(0,$.jsx)(Se,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Pe,e.subject&&t.subject&&Te)}),e.subject&&t.subject&&(0,$.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ie,children:e.subject})]}),(0,$.jsxs)("div",{className:"lg:col-span-2",children:[(0,$.jsx)(Ct,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,$.jsx)(mo,{}),className:l(Pe,e.message&&t.message&&Te)}),e.message&&t.message&&(0,$.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ie,children:e.message})]}),(0,$.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,$.jsx)(j,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function po(){return(0,$.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,$.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function mo(){return(0,$.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,$.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var At=({links:e,richText:t})=>{let[r,a]=(0,Bt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,$.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,$.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,$.jsxs)("div",{className:"mx-auto max-$-2xl text-center prose",children:[t&&(0,$.jsx)(R,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,$.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,$.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>c?.url==="/contact"?(0,$.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,$.jsx)(q,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,$.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,$.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg $-full max-$-lg light relative",children:[(0,$.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,$.jsx)(It,{})," "]})})]})};var Be=require("prism-react-renderer");function Dt({code:e}){let[t,r]=(0,Bt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,$.jsx)("p",{children:t}),(0,$.jsx)("div",{className:"$-6 $-6",children:(0,$.jsx)(Le.ClipboardCopy,{})})]})})}var Ft=({code:e,language:t=""})=>e?(0,$.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,$.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,$.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,$.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,$.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,$.jsx)("span",{...a({token:i})},c))})]},s)),(0,$.jsx)(Dt,{code:e})]})}):null;var Ht=({className:e,code:t,language:r})=>(0,$.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,$.jsx)(Ft,{code:t,language:r})});var zt=F(require("next/image")),uo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Gt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,m,C=t,I=i||"";if(!I&&o&&typeof o=="object"){let{alt:N,filename:P,height:T,url:M,width:J}=o;if(T&&T>500){let z=500/T;p=J*z,m=T*z}else p=J,m=T;C=N||"",I=M||Lt}let k=c||"lazy",S=s||Object.entries(uo).map(([,N])=>`(max-width: ${N}px) ${N*2}$`).join(", ");return(0,$.jsx)("picture",{children:(0,$.jsx)(zt.default,{alt:C||"",className:l(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:Lt,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:S,src:I,width:r?void 0:p})})};var Et=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Bt.useRef)(null);if((0,Bt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,$e.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,$e.jsx)("source",{src:r.url||""})})}return null};var oe=e=>{let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&a?.mimeType?.includes("video");return(0,$.jsx)(r||Bt.Fragment,{...r!==null?{className:t}:{},children:n?(0,$.jsx)(Et,{...e}):(0,$.jsx)(Gt,{...e})})};var Ut=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,$.jsx)("div",{className:l("$-full ",{container:r},t),children:(0,$.jsx)(oe,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,$.jsx)("div",{className:l("",{container:r},t),children:(0,$.jsx)(oe,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var de=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a??"",i=n+o+" fa-"+r+" "+s;return(0,$.jsx)("i",{className:i})};var Vt=F(require("next/image"));function Jt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function We({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"$-1/4","1/3":"$-1/3","1/2":"$-1/2",full:"$-full",auto:"$-full"};return(0,$.jsxs)("a",{href:i?.url||"#",className:l("min-$-56 max-$-xl $-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",s&&!e&&p[s?.card==="default"?"solid":s?.card],e&&"bg-foreground",s&&s?.card==="outline"?"text-gray-900":"text-white",m[s?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,$.jsx)("div",{className:"relative aspect-[16/9] $-full",children:(0,$.jsx)(Vt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,$.jsxs)("div",{className:l(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,$.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,$.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,$.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,$.jsx)(go,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:s?.card==="default"?"solid":s?.card??"solid",iconSize:s?.iconSize||"large"})}),n&&typeof n=="object"&&(0,$.jsx)(R,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-$-3",s?.card==="outline"||s?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,$.jsx)("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-$-3",s?.card==="outline"||s?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,$.jsx)("div",{className:"mt-6",children:(0,$.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:i?.label||"Find out more"})})]})]})}var go=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,$.jsxs)("div",{className:"flex items-start justify-between $-full mb-2",children:[(0,$.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),Jt(e)&&(0,$.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-ae-2 ml-1 mt-1":""),children:(0,$.jsx)(de,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,$.jsxs)("div",{className:"flex flex-col gap-4",children:[Jt(e)&&(0,$.jsx)("div",{className:l("$-12 $-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,$.jsx)(de,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,$.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,$.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,$.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Xt=(0,vt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function _e({className:e,variant:t,...r}){return(0,$t.jsx)("div",{className:l(Xt({variant:t}),e),...r})}var qt=F(require("next/link"));function Kt({children:e,href:t,openNewTab:r,...a}){return(0,$.jsx)(qt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var _t=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,$.jsxs)("section",{className:l(n?"$-full":"container",""),children:[(0,$.jsxs)("div",{className:"prose prose:max-$-none",children:[e&&(0,$.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,$.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,$.jsx)("div",{className:"mb-5 text-foreground",children:(0,$.jsx)(R,{content:t,enableGutter:!1})})]}),(0,$.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,$.jsx)(We,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:i()??{type:"none",icon:null}},s)})})]});var Re=F(require("react"));function pe({nodes:e}){return(0,$.jsx)(Re.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,$.jsx)(Re.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,$.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,$.jsx)("em",{children:o},r)),t.format&4&&(o=(0,$.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,$.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,$.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,$.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,$.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,$.jsx)("table",{children:(0,$.jsx)("tbody",{children:t.children.map((o,s)=>(0,$.jsx)("tr",{children:o.children.map((i,c)=>(0,$.jsx)("td",{children:pe({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let s of o.children)"checked"in s&&(s?.checked||(s.checked=!1));return pe({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o?.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,$.jsx)(At,{...o},r);case"mediaBlock":return(0,$.jsx)(Ut,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-$-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,$.jsx)(jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-$-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,$.jsx)(Nt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,$.jsx)(Ht,{className:"col-start-2",...o},r);case"features":return(0,$.jsx)(_t,{...o,nested:!0},r);case"reusableContentBlock":pe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,$.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,$.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t?.tag;return(0,$.jsx)(o,{className:"col-start-2",id:t?.id||"",children:n},r)}case"list":{let o=t?.tag;return(0,$.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return t?.checked!=null?(0,$.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:n},r):(0,$.jsx)("li",{value:t?.value,children:n},r);case"quote":return(0,$.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,$.jsx)(q,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,$.jsx)(q,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,$.jsx)("div",{className:l({"container ":r,"max-$-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&pe({nodes:t?.root?.children})}):null;var er=({children:e,richText:t})=>(0,$.jsx)("div",{className:"min-$-full py-10 bg-muted mt-24",children:(0,$.jsx)("div",{className:"container",children:e||t&&(0,$.jsx)(R,{content:t,enableGutter:!1})})});var Ze=F(require("next/image"));var fo=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,$.jsx)(Ze.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,$.jsx)("div",{children:(0,$.jsx)(Ze.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},tr=({links:e,media:t,children:r,richText:a})=>(0,$.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,$.jsx)(fo,{media:t}),(0,$.jsx)("div",{className:"mx-0 min-$-full relative z-9",children:(0,$.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,$.jsx)(R,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var rr=F(require("next/image"));var or=({links:e,media:t,children:r,richText:a})=>(0,$.jsx)("div",{children:(0,$.jsxs)("div",{className:"sticky top-0 $-[70vh] min-$-[600px]",children:[(0,$.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,$.jsx)(R,{className:"max-$-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,$.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,$.jsx)("li",{children:(0,$.jsx)(q,{...n})},o))})]}),(0,$.jsxs)("div",{className:"fixed inset-0 $-[70vh] min-$-[600px] select-none",children:[t&&typeof t=="object"&&(0,$.jsx)(oe,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,$.jsx)("div",{children:(0,$.jsx)(rr.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,$.jsx)("span",{className:"absolute inset-0 bg-gradient-to-$ from-white dark:from-black"})]}),(0,$.jsx)(bo,{})]})}),bo=()=>(0,$.jsx)("div",{className:"$-full $-[1240px] z-10",children:(0,$.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,$.jsx)("defs",{children:(0,$.jsxs)("mask",{id:"mask",children:[(0,$.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,$.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,$.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,$.jsx)("rect",{$:"330",width:"1920",height:"7",fill:"white"})," "]})});var nr=F(require("react")),sr=F(require("next/image"));var ar=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,s=n<10?`0${n}`:n,i=r.getFullYear();return`${s}/${o}/${i}`};var ir=({post:e})=>{let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,$.jsxs)("div",{className:"relative grid pt-24",children:[(0,$.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-$-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,$.jsxs)("div",{className:"container mx-auto",children:[(0,$.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,$.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,$.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,$.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,$.jsx)("p",{children:a.map((s,i)=>(0,$.jsxs)(nr.default.Fragment,{children:[s.name,i<a.length-2&&", ",i===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,$.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,$.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,$.jsx)("time",{dateTime:n,children:ar(n)})]}),t&&t.length>0&&(0,$.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,$.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,$.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,i)=>typeof s=="object"&&s!==null&&(0,$.jsx)(_e,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||i))})]})]})]})}),(0,$.jsxs)("div",{className:"absolute inset-0 $-full $-full",children:[(0,$.jsx)(sr.default,{className:"object-cover",alt:`Cover image for ${o}`,src:r?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,$.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 $-full $-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var ae=require("@headlessui/react"),cr=require("@heroicons/react/20/solid");var ho=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,$.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm text-foreground group",children:(0,$.jsxs)("span",{className:"relative",children:[e,(0,$.jsx)("span",{className:"absolute -bottom-1 left-1/2 $-1/2 $-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,$.jsxs)(ae.Popover,{children:[(0,$.jsxs)(ae.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[(0,$.jsxs)("span",{className:"relative",children:[e,(0,$.jsx)("span",{className:"absolute bottom-0 left-1/2 $-1/2 $-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,$.jsx)(cr.ChevronDownIcon,{"aria-hidden":"true",className:"$-5 $-5 flex-none text-accent"})]}),(0,$.jsxs)(ae.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-$-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,$.jsx)("div",{className:"mx-auto grid max-$-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(n=>(0,$.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,$.jsx)("div",{className:"flex $-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:n.icon&&(0,$.jsx)(lr,{icon:n.icon,size:"4x"})}),(0,$.jsxs)("a",{href:n.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[n.name,(0,$.jsx)("span",{className:"absolute inset-0"})]}),(0,$.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,$.jsx)("div",{className:"bg-gray-50",children:(0,$.jsx)("div",{className:"mx-auto max-$-7xl px-6 lg:px-8",children:(0,$.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,$.jsxs)("a",{href:n.href,className:"flex items-center max-$-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,$.jsx)(lr,{icon:n.icon,className:"$-5 $-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),lr=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,$.jsx)(de,{...e,size:r});if("src"in e)return(0,$.jsx)("div",{className:l(t,"$-full max-$-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,$.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},dr=ho;var et=F(require("next/image"));function ue({logoLight:e,logoDark:t,mobile:r=!1}){return(0,$.jsxs)(Kt,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,$.jsx)(et.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:r?35:50}}),(0,$.jsx)(et.default,{className:"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:r?35:50}})]})}var pr=require("next-themes");function ur({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n=!1,wide:o=!1}){let[s,i]=(0,Bt.useState)(!1),[c,p]=(0,Bt.useState)(""),m=["light","dark"],{theme:C,setTheme:I}=(0,pr.useTheme)();(0,Bt.useEffect)(()=>{p(C||"dark")},[C]);let k=()=>{let S=m[(m.indexOf(c)+1)%m.length];p(S),I(S)};return(0,Bt.useEffect)(()=>{let S=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,$.jsx)($.Fragment,{children:(0,$.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${s||e?"translate-$-0":"-translate-$-full bg-transparent"}`,children:(0,$.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,$.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,$.jsx)(ue,{logoDark:r,logoLight:t}),(0,$.jsx)(ae.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(S=>(0,$.jsx)(dr,{...S},S.name))}),n&&(0,$.jsx)("button",{className:"fixed right-4 z-[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:k,children:(0,$.jsxs)("div",{className:"relative",children:[(0,$.jsx)(Le.Sun,{className:"absolute $-6 $-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,$.jsx)(Le.Moon,{className:"absoulte $-6 $-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var He=require("@heroicons/react/24/outline");var tt=["light","dark"];function fr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,Bt.useState)(!1),{theme:s,setTheme:i}=(0,pr.useTheme)(),[c,p]=(0,Bt.useState)(!1),[m,C]=(0,Bt.useState)("light");(0,Bt.useEffect)(()=>{let k=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",k,{passive:!0}),()=>window.removeEventListener("scroll",k)},[]),(0,Bt.useEffect)(()=>{C(s||"dark")},[s]);let I=()=>{let k=tt[(tt.indexOf(m)+1)%tt.length];C(k),i(k)};return(0,$.jsx)($.Fragment,{children:(0,$.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-$-0":"-translate-$-full bg-transparent"}`,children:[(0,$.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,$.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&Bt.logo-light]:[filter:brightness(0)_invert(1)] dark:border-$ dark:border-accent",children:[(0,$.jsx)(ue,{logoDark:t,logoLight:e,mobile:!0}),(0,$.jsx)("div",{className:"flex items-center space-x-4",children:(0,$.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 z-[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,$.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,$.jsx)(He.Bars3Icon,{"aria-hidden":"true",className:"$-4 $-4"})]})})]})}),(0,$.jsxs)(ae.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,$.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,$.jsxs)(ae.DialogPanel,{className:"fixed inset-$-0 right-0 z-20 $-full overflow-$-auto bg-background dark:bg-[#212124] px-2 sm:max-$-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,$.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,$.jsx)(ue,{logoDark:t,logoLight:e,mobile:!0}),(0,$.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,$.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,$.jsx)(He.XMarkIcon,{"aria-hidden":"true",className:"$-6 $-6"})]})]}),(0,$.jsx)("div",{className:"mt-6 flow-root",children:(0,$.jsx)("div",{className:"-my-6 divide-$ divide-gray-500/10",children:(0,$.jsx)("div",{className:"space-$-2 px-2 py-6",children:r&&r.map(k=>(0,$.jsx)(xo,{...k},k.name))})})})]})]})]})})}function xo({name:e,items:t,actions:r,href:a}){return!t&&a?(0,$.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,$.jsxs)(ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,$.jsx)(ae.DisclosureButton,{className:"group flex $-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,$.jsx)(ae.DisclosurePanel,{className:"mt-2 space-$-2",children:t&&t.map(n=>(0,$.jsx)(ae.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}function br({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n,wide:o,themeControl:s=!1}){return(0,$.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,$.jsx)(ur,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:s,wide:o}),(0,$.jsx)(fr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var hr="../cortex-reply-light-27IMI3G7.png";var xr="../cortex-reply-dark-XPAJJJYY.png";function yr({...e}){return(0,$.jsxs)("div",{children:[(0,$.jsx)(br,{isMenuOpen:!0,logoLight:hr,logoDark:xr,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,$.jsx)(er,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,$.jsx)(tr,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,$.jsx)(or,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,$.jsx)(ir,{...e.hero}),(0,$.jsx)("div",{className:"container py-8",children:(0,$.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,$.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,$.jsxs)("div",{className:"space-$-6",children:[(0,$.jsxs)(ye,{children:[(0,$.jsx)(ve,{children:(0,$.jsx)(we,{children:"Quick Actions"})}),(0,$.jsxs)(ke,{children:[(0,$.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,$.jsx)(j,{className:"$-full",children:"Create New"})]})]}),(0,$.jsxs)(ye,{children:[(0,$.jsx)(ve,{children:(0,$.jsx)(we,{children:"Resources"})}),(0,$.jsx)(ke,{children:(0,$.jsxs)("nav",{className:"flex flex-col space-$-2",children:[(0,$.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,$.jsx)(Le.ExternalLink,{className:"ml-1 $-3 $-3"})]}),(0,$.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,$.jsx)(Le.ExternalLink,{className:"ml-1 $-3 $-3"})]}),(0,$.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,$.jsx)(Le.ExternalLink,{className:"ml-1 $-3 $-3"})]})]})})]})]})]})})]})}
5
+ "use strict";"use client";var vr=Object.create;var xe=Object.defineProperty;var wr=Object.getOwnPropertyDescriptor;var kr=Object.getOwnPropertyNames;var Nr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var Sr=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},ct=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kr(t))!Cr.call(e,n)&&n!==r&&xe(e,n,{get:()=>t[n],enumerable:!(a=wr(t,n))||a.enumerable});return e};var F=(e,t,r)=>(r=e!=null?vr(Nr(e)):{},ct(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),Pr=e=>ct(xe({},"__esModule",{value:!0}),e);var wo={};Sr(wo,{default:()=>yr});module.exports=Pr(wo);var X=F(require("react"));var xt=require("clsx");var Ye="-",Tr=e=>{let t=Br(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Ye);return i[0]===""&&i.length!==1&&i.shift(),mt(i,t)||Ir(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},mt=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?mt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ye);return t.validators.find(({validator:s})=>s(o))?.classGroupId},dt=/^\[(.+)\]$/,Ir=e=>{if(dt.test(e)){let t=dt.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Br=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Mr(Object.entries(e.classGroups),r).forEach(([o,s])=>{je(s,a,o,t)}),a},je=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:pt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Ar(n)){je(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{je(s,pt(t,o),r,a)})})},pt=(e,t)=>{let r=e;return t.split(Ye).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Ar=e=>e.isThemeGetter,Mr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Rr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},ut="!",Dr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,m=0,C;for(let P=0;P<i.length;P++){let T=i[P];if(p===0){if(T===n&&(a||i.slice(P,P+o)===t)){c.push(i.slice(m,P)),m=P+o;continue}if(T==="/"){C=P;continue}}T==="["?p++:T==="]"&&p--}let I=c.length===0?i:i.substring(m),k=I.startsWith(ut),S=k?I.substring(1):I,N=C&&C>m?C-m:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:S,maybePostfixModifierPosition:N}};return r?i=>r({className:i,parseClassName:s}):s},Fr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Hr=e=>({cache:Rr(e.cacheSize),parseClassName:Dr(e),...Tr(e)}),Lr=/\s+/,zr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Lr),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:m,hasImportantModifier:C,baseClassName:I,maybePostfixModifierPosition:k}=r(p),S=!!k,N=a(S?I.substring(0,k):I);if(!N){if(!S){i=p+(i.length>0?" "+i:i);continue}if(N=a(I),!N){i=p+(i.length>0?" "+i:i);continue}S=!1}let P=Fr(m).join(":"),T=C?P+ut:P,M=T+N;if(o.includes(M))continue;o.push(M);let J=n(N,S);for(let z=0;z<J.length;++z){let fe=J[z];o.push(T+fe)}i=p+(i.length>0?" "+i:i)}return i};function Gr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=gt(t))&&(a&&(a+=" "),a+=r);return a}var gt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=gt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Er(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((m,C)=>C(m),e());return r=Hr(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let m=zr(c,r);return n(c,m),m}return function(){return o(Gr.apply(null,arguments))}}var x=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ft=/^\[(?:([a-z-]+):)?(.+)\]$/i,Or=/^\d+\/\d+$/,Ur=new Set(["px","full","screen"]),jr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq($|$|i|$|min|max))|\$(calc|min|max|clamp)\(.+\)|^0$/,Jr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Vr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Bt-?((\d+)?\.?(\d+)[a-z]+|0)/,Qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>Z(e)||Ur.has(e)||Or.test(e),V=e=>ee(e,"length",eo),Z=e=>!!e&&!Number.isNaN(Number(e)),Ue=e=>ee(e,"number",Z),ie=e=>!!e&&Number.isInteger(Number(e)),Xr=e=>e.endsWith("%")&&Z(e.slice(0,-1)),d=e=>ft.test(e),Q=e=>jr.test(e),$r=new Set(["length","size","percentage"]),qr=e=>ee(e,$r,bt),Kr=e=>ee(e,"position",bt),Wr=new Set(["image","url"]),_r=e=>ee(e,Wr,ro),Zr=e=>ee(e,"",to),le=()=>!0,ee=(e,t,r)=>{let a=ft.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},eo=e=>Yr.test(e)&&!Jr.test(e),bt=()=>!1,to=e=>Vr.test(e),ro=e=>Qr.test(e);var oo=()=>{let e=x("colors"),t=x("spacing"),r=x("blur"),a=x("brightness"),n=x("borderColor"),o=x("borderRadius"),s=x("borderSpacing"),i=x("borderWidth"),c=x("contrast"),p=x("grayscale"),m=x("hueRotate"),C=x("invert"),I=x("gap"),k=x("gradientColorStops"),S=x("gradientColorStopPositions"),N=x("inset"),P=x("margin"),T=x("opacity"),M=x("padding"),J=x("saturate"),z=x("scale"),fe=x("sepia"),rt=x("skew"),ot=x("space"),at=x("translate"),ze=()=>["auto","contain","none"],Ge=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",d,t],v=()=>[d,t],nt=()=>["",U,V],be=()=>["auto",Z,d],st=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],he=()=>["solid","dashed","dotted","double","none"],it=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Oe=()=>["start","end","center","between","around","evenly","stretch"],se=()=>["","0",d],lt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[Z,d];return{cacheSize:500,separator:":",theme:{colors:[le],spacing:[U,V],blur:["none","",Q,d],brightness:O(),borderColor:[e],borderRadius:["none","","full",Q,d],borderSpacing:v(),borderWidth:nt(),contrast:O(),grayscale:se(),hueRotate:O(),invert:se(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[Xr,V],inset:Ee(),margin:Ee(),opacity:O(),padding:v(),saturate:O(),scale:O(),sepia:se(),skew:O(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[Q]}],"break-after":[{"break-after":lt()}],"break-before":[{"break-before":lt()}],"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:[...st(),d]}],overflow:[{overflow:Ge()}],"overflow-x":[{"overflow-x":Ge()}],"overflow-$":[{"overflow-$":Ge()}],overscroll:[{overscroll:ze()}],"overscroll-x":[{"overscroll-x":ze()}],"overscroll-$":[{"overscroll-$":ze()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[N]}],"inset-x":[{"inset-x":[N]}],"inset-$":[{"inset-$":[N]}],start:[{start:[N]}],end:[{end:[N]}],top:[{top:[N]}],right:[{right:[N]}],bottom:[{bottom:[N]}],left:[{left:[N]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie,d]}],basis:[{basis:Ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:se()}],shrink:[{shrink:se()}],order:[{order:["first","last","none",ie,d]}],"grid-cols":[{"grid-cols":[le]}],"col-start-end":[{col:["auto",{span:["full",ie,d]},d]}],"col-start":[{"col-start":be()}],"col-end":[{"col-end":be()}],"grid-rows":[{"grid-rows":[le]}],"row-start-end":[{row:["auto",{span:[ie,d]},d]}],"row-start":[{"row-start":be()}],"row-end":[{"row-end":be()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[I]}],"gap-x":[{"gap-x":[I]}],"gap-$":[{"gap-$":[I]}],"justify-content":[{justify:["normal",...Oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],$:[{$:[P]}],mt:[{mt:[P]}],ae:[{ae:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[ot]}],"space-x-reverse":["space-x-reverse"],"space-$":[{"space-$":[ot]}],"space-$-reverse":["space-$-reverse"],$:[{$:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-$":[{"min-$":[d,t,"min","max","fit"]}],"max-$":[{"max-$":[d,t,"none","full","min","max","fit","prose",{screen:[Q]},Q]}],$:[{$:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-$":[{"min-$":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-$":[{"max-$":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Q,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ue]}],"font-family":[{font:[le]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",Z,Ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,V]}],"underline-offset":[{"underline-offset":["auto",U,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...st(),Kr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","$","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","$","bl","l","tl"]},_r]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-$":[{"rounded-$":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-$":[{border:[i]}],"border-$-x":[{"border-x":[i]}],"border-$-$":[{"border-$":[i]}],"border-$-s":[{"border-s":[i]}],"border-$-e":[{"border-e":[i]}],"border-$-t":[{"border-t":[i]}],"border-$-r":[{"border-r":[i]}],"border-$-$":[{"border-$":[i]}],"border-$-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...he(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-$":[{"divide-$":[i]}],"divide-$-reverse":["divide-$-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:he()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-$":[{"border-$":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-$":[{"border-$":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...he()]}],"outline-offset":[{"outline-offset":[U,d]}],"outline-$":[{outline:[U,V]}],"outline-color":[{outline:[e]}],"ring-$":[{ring:nt()}],"ring-$-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-$":[{"ring-offset":[U,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Q,Zr]}],"shadow-color":[{shadow:[le]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...it(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":it()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Q,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[J]}],sepia:[{sepia:[fe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-$":[{"border-spacing-$":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-$":[{"scale-$":[z]}],rotate:[{rotate:[ie,d]}],"translate-x":[{"translate-x":[at]}],"translate-$":[{"translate-$":[at]}],"skew-x":[{"skew-x":[rt]}],"skew-$":[{"skew-$":[rt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","$-resize","Bt-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","$","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-$":[{"scroll-$":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-ae":[{"scroll-ae":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","$","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-$":[{"touch-pan":["$","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-$":[{stroke:[U,V,Ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-$"],overscroll:["overscroll-x","overscroll-$"],inset:["inset-x","inset-$","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-$":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-$"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","$","mt","ae","mb","ml"],mx:["ae","ml"],my:["mt","mb"],size:["$","$"],"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-$","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-$":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-$"],"border-$":["border-$-s","border-$-e","border-$-t","border-$-r","border-$-$","border-$-l"],"border-$-x":["border-$-r","border-$-l"],"border-$-$":["border-$-t","border-$-$"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-$","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-$":["border-color-t","border-color-$"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-$","scroll-mt","scroll-ae","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ae","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-$","touch-pz"],"touch-x":["touch"],"touch-$":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ht=Er(oo);function l(...e){return ht((0,xt.clsx)(e))}var $=require("react/jsx-runtime"),ye=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ye.displayName="Card";var ve=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("flex flex-col space-$-1.5 p-6",e),...t}));ve.displayName="CardHeader";var we=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));we.displayName="CardTitle";var ao=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));ao.displayName="CardDescription";var ke=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));ke.displayName="CardContent";var no=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));no.displayName="CardFooter";var yt=require("@radix-ui/react-slot"),vt=require("class-variance-authority"),wt=F(require("react")),so=(0,vt.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:"$-10 px-4 py-2",icon:"$-10 $-10",lg:"$-11 rounded px-8",sm:"$-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"}}}),j=wt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,$.jsx)(e?yt.Slot:"button",{className:l(so({className:t,size:r,variant:a})),ref:o,...n}));j.displayName="Button";var Le=require("lucide-react");var Nt=({className:e,content:t,style:r})=>(0,$.jsx)("div",{className:l("mx-auto my-8 $-full",e),children:(0,$.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,$.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var Bt=require("react");var Je=F(require("next/link")),q=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,m=t==="reference"&&typeof i?.value=="object"&&i.value.slug?`${i?.relationTo!=="pages"?`/${i?.relationTo}`:""}/${i.value.slug}`:p;if(!m)return null;let C=r==="link"?"clear":c,I=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(Je.default,{className:l(n),href:m||p||"",...I,children:[o&&o,a&&a]}):(0,$.jsx)(j,{asChild:!0,className:n,size:C,variant:r,children:(0,$.jsxs)(Je.default,{className:l(n),href:m||p||"",...I,children:[o&&o,a&&a]})})};function Ce({className:e}){return l("flex items-center min-$-[3.5rem] md:min-$-[3.75rem] $-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function io({className:e,...t}){return(0,$.jsx)("input",{...t,className:Ce({className:e})})}function Se({icon:e,...t}){return(0,$.jsxs)("div",{className:"relative $-full",children:[(0,$.jsx)(io,{...t}),e&&(0,$.jsx)("span",{className:"absolute right-5 top-1/2 $-[14px] -translate-$-1/2 text-accent",children:e})]})}function lo({className:e,...t}){return(0,$.jsx)("textarea",{...t,className:l(Ce({}),"resize-none md:min-$-[130px]",e)})}function Ct({icon:e,...t}){return(0,$.jsxs)("div",{className:"relative $-full",children:[(0,$.jsx)(lo,{...t}),e&&(0,$.jsx)("span",{className:"absolute right-5 top-[18px] $-[14px] text-accent",children:e})]})}var Pt=require("formik"),Tt=require("react-icons/fa6"),K=F(require("yup"));async function St(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ve=require("sonner"),H={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},co=K.object().shape({name:K.string().min(2,H.tooShort).max(50,H.tooLong).required(H.required),email:K.string().email(H.email).required(H.required),subject:K.string().min(2,H.tooShort).max(50,H.tooLong).required(H.required),message:K.string().min(2,H.tooShort).max(300,H.tooLong).required(H.required)}),Pe=l("!pr-[44px] text-foreground"),Te=l("!border-red-600 border"),Ie=l("sr-only");function It(){return(0,$.jsx)(Pt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:co,onSubmit:async(e,{resetForm:t})=>{let r=await St(e);r.data===null?Ve.toast.error(r.message):(Ve.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,$.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,$.jsxs)("div",{children:[(0,$.jsx)(Se,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,$.jsx)(Tt.FaUser,{className:"text-primary"}),className:l(Pe,e.name&&t.name&&Te)}),e.name&&t.name&&(0,$.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ie,children:e.name})]}),(0,$.jsxs)("div",{children:[(0,$.jsx)(Se,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,$.jsx)(po,{}),className:l(Pe,e.email&&t.email&&Te)}),e.email&&t.email&&(0,$.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ie,children:e.email})]}),(0,$.jsxs)("div",{className:"lg:col-span-2",children:[(0,$.jsx)(Se,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Pe,e.subject&&t.subject&&Te)}),e.subject&&t.subject&&(0,$.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ie,children:e.subject})]}),(0,$.jsxs)("div",{className:"lg:col-span-2",children:[(0,$.jsx)(Ct,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,$.jsx)(mo,{}),className:l(Pe,e.message&&t.message&&Te)}),e.message&&t.message&&(0,$.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ie,children:e.message})]}),(0,$.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,$.jsx)(j,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function po(){return(0,$.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,$.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function mo(){return(0,$.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,$.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var At=({links:e,richText:t})=>{let[r,a]=(0,Bt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,$.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,$.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,$.jsxs)("div",{className:"mx-auto max-$-2xl text-center prose",children:[t&&(0,$.jsx)(R,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,$.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,$.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>c?.url==="/contact"?(0,$.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,$.jsx)(q,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,$.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,$.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg $-full max-$-lg light relative",children:[(0,$.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,$.jsx)(It,{})," "]})})]})};var Be=require("prism-react-renderer");function Dt({code:e}){let[t,r]=(0,Bt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,$.jsx)("p",{children:t}),(0,$.jsx)("div",{className:"$-6 $-6",children:(0,$.jsx)(Le.ClipboardCopy,{})})]})})}var Ft=({code:e,language:t=""})=>e?(0,$.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,$.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,$.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,$.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,$.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,$.jsx)("span",{...a({token:i})},c))})]},s)),(0,$.jsx)(Dt,{code:e})]})}):null;var Ht=({className:e,code:t,language:r})=>(0,$.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,$.jsx)(Ft,{code:t,language:r})});var zt=F(require("next/image")),uo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Gt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,m,C=t,I=i||"";if(!I&&o&&typeof o=="object"){let{alt:N,filename:P,height:T,url:M,width:J}=o;if(T&&T>500){let z=500/T;p=J*z,m=T*z}else p=J,m=T;C=N||"",I=M||Lt}let k=c||"lazy",S=s||Object.entries(uo).map(([,N])=>`(max-width: ${N}px) ${N*2}$`).join(", ");return(0,$.jsx)("picture",{children:(0,$.jsx)(zt.default,{alt:C||"",className:l(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:Lt,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:S,src:I,width:r?void 0:p})})};var Et=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Bt.useRef)(null);if((0,Bt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,$e.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,$e.jsx)("source",{src:r.url||""})})}return null};var oe=e=>{let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&a?.mimeType?.includes("video");return(0,$.jsx)(r||Bt.Fragment,{...r!==null?{className:t}:{},children:n?(0,$.jsx)(Et,{...e}):(0,$.jsx)(Gt,{...e})})};var Ut=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,$.jsx)("div",{className:l("$-full ",{container:r},t),children:(0,$.jsx)(oe,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,$.jsx)("div",{className:l("",{container:r},t),children:(0,$.jsx)(oe,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var de=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a??"",i=n+o+" fa-"+r+" "+s;return(0,$.jsx)("i",{className:i})};var Vt=F(require("next/image"));function Jt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function We({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"$-1/4","1/3":"$-1/3","1/2":"$-1/2",full:"$-full",auto:"$-full"};return(0,$.jsxs)("a",{href:i?.url||"#",className:l("min-$-56 max-$-xl $-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",s&&!e&&p[s?.card==="default"?"solid":s?.card],e&&"bg-foreground",s&&s?.card==="outline"?"text-gray-900":"text-white",m[s?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,$.jsx)("div",{className:"relative aspect-[16/9] $-full",children:(0,$.jsx)(Vt.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,$.jsxs)("div",{className:l(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,$.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,$.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,$.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,$.jsx)(go,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:r??"",variant:s?.card==="default"?"solid":s?.card??"solid",iconSize:s?.iconSize||"large"})}),n&&typeof n=="object"&&(0,$.jsx)(R,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-$-3",s?.card==="outline"||s?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,$.jsx)("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-$-3",s?.card==="outline"||s?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,$.jsx)("div",{className:"mt-6",children:(0,$.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:i?.label||"Find out more"})})]})]})}var go=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,$.jsxs)("div",{className:"flex items-start justify-between $-full mb-2",children:[(0,$.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),Jt(e)&&(0,$.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-ae-2 ml-1 mt-1":""),children:(0,$.jsx)(de,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,$.jsxs)("div",{className:"flex flex-col gap-4",children:[Jt(e)&&(0,$.jsx)("div",{className:l("$-12 $-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,$.jsx)(de,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,$.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,$.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,$.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Xt=(0,vt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function _e({className:e,variant:t,...r}){return(0,$t.jsx)("div",{className:l(Xt({variant:t}),e),...r})}var qt=F(require("next/link"));function Kt({children:e,href:t,openNewTab:r,...a}){return(0,$.jsx)(qt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var _t=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,$.jsxs)("section",{className:l(n?"$-full":"",""),children:[(0,$.jsxs)("div",{className:"prose prose:max-$-none",children:[e&&(0,$.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,$.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,$.jsx)("div",{className:"mb-5 text-foreground",children:(0,$.jsx)(R,{content:t,enableGutter:!1})})]}),(0,$.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,$.jsx)(We,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:i()??{type:"none",icon:null}},s)})})]});var Re=F(require("react"));function pe({nodes:e}){return(0,$.jsx)(Re.Fragment,{children:e?.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,$.jsx)(Re.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,$.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,$.jsx)("em",{children:o},r)),t.format&4&&(o=(0,$.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,$.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,$.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,$.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,$.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,$.jsx)("table",{children:(0,$.jsx)("tbody",{children:t.children.map((o,s)=>(0,$.jsx)("tr",{children:o.children.map((i,c)=>(0,$.jsx)("td",{children:pe({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if(o?.type==="list"&&o?.listType==="check")for(let s of o.children)"checked"in s&&(s?.checked||(s.checked=!1));return pe({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o?.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,$.jsx)(At,{...o},r);case"mediaBlock":return(0,$.jsx)(Ut,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-$-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,$.jsx)(jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-$-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,$.jsx)(Nt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,$.jsx)(Ht,{className:"col-start-2",...o},r);case"features":return(0,$.jsx)(_t,{...o,nested:!0},r);case"reusableContentBlock":pe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,$.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,$.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t?.tag;return(0,$.jsx)(o,{className:"col-start-2",id:t?.id||"",children:n},r)}case"list":{let o=t?.tag;return(0,$.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return t?.checked!=null?(0,$.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:n},r):(0,$.jsx)("li",{value:t?.value,children:n},r);case"quote":return(0,$.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,$.jsx)(q,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,$.jsx)(q,{newTab:!!o?.newTab,reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>t?(0,$.jsx)("div",{className:l({"container ":r,"max-$-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&pe({nodes:t?.root?.children})}):null;var er=({children:e,richText:t})=>(0,$.jsx)("div",{className:"min-$-full py-10 bg-muted mt-24",children:(0,$.jsx)("div",{className:"container",children:e||t&&(0,$.jsx)(R,{content:t,enableGutter:!1})})});var Ze=F(require("next/image"));var fo=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,$.jsx)(Ze.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,$.jsx)("div",{children:(0,$.jsx)(Ze.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},tr=({links:e,media:t,children:r,richText:a})=>(0,$.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,$.jsx)(fo,{media:t}),(0,$.jsx)("div",{className:"mx-0 min-$-full relative z-9",children:(0,$.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,$.jsx)(R,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var rr=F(require("next/image"));var or=({links:e,media:t,children:r,richText:a})=>(0,$.jsx)("div",{children:(0,$.jsxs)("div",{className:"sticky top-0 $-[70vh] min-$-[600px]",children:[(0,$.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,$.jsx)(R,{className:"max-$-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,$.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,$.jsx)("li",{children:(0,$.jsx)(q,{...n})},o))})]}),(0,$.jsxs)("div",{className:"fixed inset-0 $-[70vh] min-$-[600px] select-none",children:[t&&typeof t=="object"&&(0,$.jsx)(oe,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,$.jsx)("div",{children:(0,$.jsx)(rr.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,$.jsx)("span",{className:"absolute inset-0 bg-gradient-to-$ from-white dark:from-black"})]}),(0,$.jsx)(bo,{})]})}),bo=()=>(0,$.jsx)("div",{className:"$-full $-[1240px] z-10",children:(0,$.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,$.jsx)("defs",{children:(0,$.jsxs)("mask",{id:"mask",children:[(0,$.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,$.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,$.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,$.jsx)("rect",{$:"330",width:"1920",height:"7",fill:"white"})," "]})});var nr=F(require("react")),sr=F(require("next/image"));var ar=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,s=n<10?`0${n}`:n,i=r.getFullYear();return`${s}/${o}/${i}`};var ir=({post:e})=>{let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,$.jsxs)("div",{className:"relative grid pt-24",children:[(0,$.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-$-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,$.jsxs)("div",{className:"container mx-auto",children:[(0,$.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,$.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,$.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,$.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,$.jsx)("p",{children:a.map((s,i)=>(0,$.jsxs)(nr.default.Fragment,{children:[s.name,i<a.length-2&&", ",i===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,$.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,$.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,$.jsx)("time",{dateTime:n,children:ar(n)})]}),t&&t.length>0&&(0,$.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,$.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,$.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,i)=>typeof s=="object"&&s!==null&&(0,$.jsx)(_e,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||i))})]})]})]})}),(0,$.jsxs)("div",{className:"absolute inset-0 $-full $-full",children:[(0,$.jsx)(sr.default,{className:"object-cover",alt:`Cover image for ${o}`,src:r?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,$.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 $-full $-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var ae=require("@headlessui/react"),cr=require("@heroicons/react/20/solid");var ho=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,$.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm text-foreground group",children:(0,$.jsxs)("span",{className:"relative",children:[e,(0,$.jsx)("span",{className:"absolute -bottom-1 left-1/2 $-1/2 $-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,$.jsxs)(ae.Popover,{children:[(0,$.jsxs)(ae.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[(0,$.jsxs)("span",{className:"relative",children:[e,(0,$.jsx)("span",{className:"absolute bottom-0 left-1/2 $-1/2 $-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,$.jsx)(cr.ChevronDownIcon,{"aria-hidden":"true",className:"$-5 $-5 flex-none text-accent"})]}),(0,$.jsxs)(ae.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-$-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,$.jsx)("div",{className:"mx-auto grid max-$-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(n=>(0,$.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,$.jsx)("div",{className:"flex $-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:n.icon&&(0,$.jsx)(lr,{icon:n.icon,size:"4x"})}),(0,$.jsxs)("a",{href:n.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[n.name,(0,$.jsx)("span",{className:"absolute inset-0"})]}),(0,$.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,$.jsx)("div",{className:"bg-gray-50",children:(0,$.jsx)("div",{className:"mx-auto max-$-7xl px-6 lg:px-8",children:(0,$.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,$.jsxs)("a",{href:n.href,className:"flex items-center max-$-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,$.jsx)(lr,{icon:n.icon,className:"$-5 $-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),lr=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,$.jsx)(de,{...e,size:r});if("src"in e)return(0,$.jsx)("div",{className:l(t,"$-full max-$-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,$.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},dr=ho;var et=F(require("next/image"));function ue({logoLight:e,logoDark:t,mobile:r=!1}){return(0,$.jsxs)(Kt,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,$.jsx)(et.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:r?35:50}}),(0,$.jsx)(et.default,{className:"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:r?35:50}})]})}var pr=require("next-themes");function ur({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n=!1,wide:o=!1}){let[s,i]=(0,Bt.useState)(!1),[c,p]=(0,Bt.useState)(""),m=["light","dark"],{theme:C,setTheme:I}=(0,pr.useTheme)();(0,Bt.useEffect)(()=>{p(C||"dark")},[C]);let k=()=>{let S=m[(m.indexOf(c)+1)%m.length];p(S),I(S)};return(0,Bt.useEffect)(()=>{let S=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,$.jsx)($.Fragment,{children:(0,$.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${s||e?"translate-$-0":"-translate-$-full bg-transparent"}`,children:(0,$.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,$.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,$.jsx)(ue,{logoDark:r,logoLight:t}),(0,$.jsx)(ae.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(S=>(0,$.jsx)(dr,{...S},S.name))}),n&&(0,$.jsx)("button",{className:"fixed right-4 z-[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:k,children:(0,$.jsxs)("div",{className:"relative",children:[(0,$.jsx)(Le.Sun,{className:"absolute $-6 $-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,$.jsx)(Le.Moon,{className:"absoulte $-6 $-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var He=require("@heroicons/react/24/outline");var tt=["light","dark"];function fr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,Bt.useState)(!1),{theme:s,setTheme:i}=(0,pr.useTheme)(),[c,p]=(0,Bt.useState)(!1),[m,C]=(0,Bt.useState)("light");(0,Bt.useEffect)(()=>{let k=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",k,{passive:!0}),()=>window.removeEventListener("scroll",k)},[]),(0,Bt.useEffect)(()=>{C(s||"dark")},[s]);let I=()=>{let k=tt[(tt.indexOf(m)+1)%tt.length];C(k),i(k)};return(0,$.jsx)($.Fragment,{children:(0,$.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-$-0":"-translate-$-full bg-transparent"}`,children:[(0,$.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,$.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&Bt.logo-light]:[filter:brightness(0)_invert(1)] dark:border-$ dark:border-accent",children:[(0,$.jsx)(ue,{logoDark:t,logoLight:e,mobile:!0}),(0,$.jsx)("div",{className:"flex items-center space-x-4",children:(0,$.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 z-[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,$.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,$.jsx)(He.Bars3Icon,{"aria-hidden":"true",className:"$-4 $-4"})]})})]})}),(0,$.jsxs)(ae.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,$.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,$.jsxs)(ae.DialogPanel,{className:"fixed inset-$-0 right-0 z-20 $-full overflow-$-auto bg-background dark:bg-[#212124] px-2 sm:max-$-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,$.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,$.jsx)(ue,{logoDark:t,logoLight:e,mobile:!0}),(0,$.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,$.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,$.jsx)(He.XMarkIcon,{"aria-hidden":"true",className:"$-6 $-6"})]})]}),(0,$.jsx)("div",{className:"mt-6 flow-root",children:(0,$.jsx)("div",{className:"-my-6 divide-$ divide-gray-500/10",children:(0,$.jsx)("div",{className:"space-$-2 px-2 py-6",children:r&&r.map(k=>(0,$.jsx)(xo,{...k},k.name))})})})]})]})]})})}function xo({name:e,items:t,actions:r,href:a}){return!t&&a?(0,$.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,$.jsxs)(ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,$.jsx)(ae.DisclosureButton,{className:"group flex $-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,$.jsx)(ae.DisclosurePanel,{className:"mt-2 space-$-2",children:t&&t.map(n=>(0,$.jsx)(ae.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}function br({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n,wide:o,themeControl:s=!1}){return(0,$.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,$.jsx)(ur,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:s,wide:o}),(0,$.jsx)(fr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var hr="../cortex-reply-light-27IMI3G7.png";var xr="../cortex-reply-dark-XPAJJJYY.png";function yr({...e}){return(0,$.jsxs)("div",{children:[(0,$.jsx)(br,{isMenuOpen:!0,logoLight:hr,logoDark:xr,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,$.jsx)(er,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,$.jsx)(tr,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,$.jsx)(or,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,$.jsx)(ir,{...e.hero}),(0,$.jsx)("div",{className:"container py-8",children:(0,$.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,$.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,$.jsxs)("div",{className:"space-$-6",children:[(0,$.jsxs)(ye,{children:[(0,$.jsx)(ve,{children:(0,$.jsx)(we,{children:"Quick Actions"})}),(0,$.jsxs)(ke,{children:[(0,$.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,$.jsx)(j,{className:"$-full",children:"Create New"})]})]}),(0,$.jsxs)(ye,{children:[(0,$.jsx)(ve,{children:(0,$.jsx)(we,{children:"Resources"})}),(0,$.jsx)(ke,{children:(0,$.jsxs)("nav",{className:"flex flex-col space-$-2",children:[(0,$.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,$.jsx)(Le.ExternalLink,{className:"ml-1 $-3 $-3"})]}),(0,$.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,$.jsx)(Le.ExternalLink,{className:"ml-1 $-3 $-3"})]}),(0,$.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,$.jsx)(Le.ExternalLink,{className:"ml-1 $-3 $-3"})]})]})})]})]})]})})]})}
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../chunk-YH4UFIEW.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-F75HZ4ID.mjs";import"../chunk-ZD7HSIMS.mjs";import"../chunk-PARG2DLL.mjs";import"../chunk-JHTGGDU5.mjs";import"../chunk-63W64WWD.mjs";import"../chunk-IKTCLX2C.mjs";import"../chunk-K4RVBOIC.mjs";import"../chunk-DOJR2RDB.mjs";import"../chunk-64UGFPFV.mjs";import"../chunk-KHGZULZP.mjs";import"../chunk-MU4ETGDT.mjs";import"../chunk-BMN3FVZS.mjs";import"../chunk-OGZERPA4.mjs";import"../chunk-6T322YHB.mjs";import"../chunk-CX4XB5W2.mjs";import"../chunk-EECIYMTX.mjs";import"../chunk-KJIBE57R.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-ZJ56IQPQ.mjs";import"../chunk-X7BL4XNE.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-C4DU747D.mjs";import"../chunk-DIAK5C43.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-56RXRTGZ.mjs";import"../chunk-L3PFZ7PW.mjs";import"../chunk-WDDAVAVV.mjs";import"../chunk-E6KVX2UG.mjs";import"../chunk-LLNCOMIM.mjs";import"../chunk-6HORFOA3.mjs";import"../chunk-KUZCFJTH.mjs";import"../chunk-VIS6GPCT.mjs";import"../chunk-IC57R2EU.mjs";import"../chunk-PBRC3UOA.mjs";import"../chunk-SX5U74MW.mjs";import"../chunk-KHZPOMKL.mjs";import"../chunk-FRTYO74I.mjs";import"../chunk-7PBTM4J4.mjs";import"../chunk-4BDIVC2Q.mjs";import"../chunk-TQQVBE66.mjs";import"../chunk-BUCI7BPM.mjs";import"../chunk-WGEMXPWB.mjs";import"../chunk-PWBAD26X.mjs";import"../chunk-SUO6GOJS.mjs";import"../chunk-GRCMMAFX.mjs";import"../chunk-HJK6BCTE.mjs";import"../chunk-RHFLBRXF.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-JPZJET3B.mjs";import"../chunk-NACHOXV5.mjs";import"../chunk-BPSLUO5I.mjs";import"../chunk-BLD454AX.mjs";import"../chunk-4BHOIXJM.mjs";import"../chunk-FHJDQP4I.mjs";import"../chunk-J2IHT57D.mjs";import"../chunk-4YFMDLHL.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-VFXHLJ45.mjs";import"../chunk-FVPWO556.mjs";import"../chunk-BONRVXMX.mjs";import"../chunk-T6FBWMZR.mjs";import"../chunk-H6POT4A7.mjs";import"../chunk-6MWXSKBH.mjs";import"../chunk-VR6QUPNE.mjs";import"../chunk-INOUDNCK.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-55EX54R7.mjs";import"../chunk-TEMKCAXW.mjs";import"../chunk-KTXQBXXJ.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-FVM5SQT2.mjs";import"../chunk-HTVHCBXQ.mjs";import"../chunk-Q3G5UAAD.mjs";import"../chunk-ZLSF5YXT.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-M6LJ4BNZ.mjs";export{a as default};
2
+ "use strict";import{a}from"../chunk-L5MDFQGH.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-YPK6OLRS.mjs";import"../chunk-MUBDAI2K.mjs";import"../chunk-NP2M5K7O.mjs";import"../chunk-JHTGGDU5.mjs";import"../chunk-63W64WWD.mjs";import"../chunk-IKTCLX2C.mjs";import"../chunk-K4RVBOIC.mjs";import"../chunk-DOJR2RDB.mjs";import"../chunk-64UGFPFV.mjs";import"../chunk-KHGZULZP.mjs";import"../chunk-MU4ETGDT.mjs";import"../chunk-BMN3FVZS.mjs";import"../chunk-OGZERPA4.mjs";import"../chunk-6T322YHB.mjs";import"../chunk-CX4XB5W2.mjs";import"../chunk-EECIYMTX.mjs";import"../chunk-KJIBE57R.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-ZJ56IQPQ.mjs";import"../chunk-5ALQQYYE.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-C4DU747D.mjs";import"../chunk-DIAK5C43.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-56RXRTGZ.mjs";import"../chunk-L3PFZ7PW.mjs";import"../chunk-WDDAVAVV.mjs";import"../chunk-E6KVX2UG.mjs";import"../chunk-LLNCOMIM.mjs";import"../chunk-6HORFOA3.mjs";import"../chunk-KUZCFJTH.mjs";import"../chunk-VIS6GPCT.mjs";import"../chunk-IC57R2EU.mjs";import"../chunk-PBRC3UOA.mjs";import"../chunk-SX5U74MW.mjs";import"../chunk-KHZPOMKL.mjs";import"../chunk-FRTYO74I.mjs";import"../chunk-7PBTM4J4.mjs";import"../chunk-4BDIVC2Q.mjs";import"../chunk-TQQVBE66.mjs";import"../chunk-BUCI7BPM.mjs";import"../chunk-WGEMXPWB.mjs";import"../chunk-PWBAD26X.mjs";import"../chunk-SUO6GOJS.mjs";import"../chunk-GRCMMAFX.mjs";import"../chunk-HJK6BCTE.mjs";import"../chunk-RHFLBRXF.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-JPZJET3B.mjs";import"../chunk-NACHOXV5.mjs";import"../chunk-BPSLUO5I.mjs";import"../chunk-BLD454AX.mjs";import"../chunk-4BHOIXJM.mjs";import"../chunk-FHJDQP4I.mjs";import"../chunk-J2IHT57D.mjs";import"../chunk-4YFMDLHL.mjs";import"../chunk-2ZB6Z7XN.mjs";import"../chunk-VFXHLJ45.mjs";import"../chunk-FVPWO556.mjs";import"../chunk-INOUDNCK.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-55EX54R7.mjs";import"../chunk-BONRVXMX.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-WKFNZUIR.mjs";import"../chunk-6MWXSKBH.mjs";import"../chunk-VR6QUPNE.mjs";import"../chunk-H6POT4A7.mjs";import"../chunk-TEMKCAXW.mjs";import"../chunk-KTXQBXXJ.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-FVM5SQT2.mjs";import"../chunk-HTVHCBXQ.mjs";import"../chunk-Q3G5UAAD.mjs";import"../chunk-ZLSF5YXT.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-M6LJ4BNZ.mjs";export{a as default};