cortex-react-components 1.46.1 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/{chunk-MFKBUKSI.mjs → chunk-3ODCIQYB.mjs} +1 -1
  2. package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
  3. package/dist/{chunk-AHFJJDUP.mjs → chunk-5BPR3YKT.mjs} +1 -1
  4. package/dist/{chunk-PDY43B6W.mjs → chunk-5EFOKBKA.mjs} +1 -1
  5. package/dist/{chunk-QM7QBP2I.mjs → chunk-7SSOLQR5.mjs} +1 -1
  6. package/dist/{chunk-OKGREBP5.mjs → chunk-BWGRPPZL.mjs} +1 -1
  7. package/dist/{chunk-YDGF5GEU.mjs → chunk-DIPGFDJV.mjs} +1 -1
  8. package/dist/{chunk-7FMMXR7S.mjs → chunk-DLCGGIZW.mjs} +1 -1
  9. package/dist/chunk-ECOVEIOV.mjs +1 -0
  10. package/dist/{chunk-MA2CFK7X.mjs → chunk-ENDXPA4H.mjs} +1 -1
  11. package/dist/chunk-G6K3PK47.mjs +1 -0
  12. package/dist/{chunk-KAJDV47B.mjs → chunk-GHBJK554.mjs} +1 -1
  13. package/dist/{chunk-2VBPJMVS.mjs → chunk-GT43S672.mjs} +1 -1
  14. package/dist/{chunk-RFZ2OZQN.mjs → chunk-H5DKU4M5.mjs} +1 -1
  15. package/dist/{chunk-HOHVBVME.mjs → chunk-HFSHDEMQ.mjs} +1 -1
  16. package/dist/chunk-HHUI6PDP.mjs +4 -0
  17. package/dist/{chunk-NFFHQJ5C.mjs → chunk-IJU5INGM.mjs} +1 -1
  18. package/dist/{chunk-TGED5EGX.mjs → chunk-KB6PO4K4.mjs} +1 -1
  19. package/dist/{chunk-Q7QS4VSI.mjs → chunk-KVIQW2PH.mjs} +1 -1
  20. package/dist/chunk-MY3PX5GI.mjs +1 -0
  21. package/dist/{chunk-XD4IKPMW.mjs → chunk-O7R6EGBU.mjs} +1 -1
  22. package/dist/{chunk-3ICCXFE6.mjs → chunk-PY53YVFX.mjs} +1 -1
  23. package/dist/{chunk-OVGEJMAF.mjs → chunk-QCIJUDO4.mjs} +1 -1
  24. package/dist/{chunk-V7YLLLES.mjs → chunk-RZTXT4UD.mjs} +1 -1
  25. package/dist/{chunk-QVF5FBGY.mjs → chunk-SBAFXZVU.mjs} +1 -1
  26. package/dist/chunk-SEG6IDDX.mjs +1 -0
  27. package/dist/{chunk-M3J4AMUT.mjs → chunk-TGHOEITH.mjs} +1 -1
  28. package/dist/{chunk-MN7UDYWI.mjs → chunk-UDH5ASIW.mjs} +1 -1
  29. package/dist/{chunk-4JNRVCRR.mjs → chunk-US6CSL53.mjs} +1 -1
  30. package/dist/{chunk-FNI2A5LW.mjs → chunk-W6VKKBUG.mjs} +1 -1
  31. package/dist/{chunk-KQE42INF.mjs → chunk-XGKZLSIS.mjs} +1 -1
  32. package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.mjs} +1 -1
  33. package/dist/{chunk-CP7MAHWY.mjs → chunk-Z5PNO5CB.mjs} +1 -1
  34. package/dist/{chunk-6X3A3ENB.mjs → chunk-ZLEW2CSB.mjs} +1 -1
  35. package/dist/components/Blocks/Banner.js +1 -1
  36. package/dist/components/Blocks/Banner.mjs +1 -1
  37. package/dist/components/Blocks/CallToAction.js +1 -1
  38. package/dist/components/Blocks/CallToAction.mjs +1 -1
  39. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  40. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  41. package/dist/components/Blocks/Content.js +1 -1
  42. package/dist/components/Blocks/Content.mjs +1 -1
  43. package/dist/components/Blocks/FeaturesBlock.d.ts +4 -20
  44. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  45. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  46. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  48. package/dist/components/Blocks/RelatedPosts.js +1 -1
  49. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  50. package/dist/components/Blocks/RenderBlocks.js +1 -1
  51. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  52. package/dist/components/Blocks/ReusableContent.css +1 -0
  53. package/dist/components/Blocks/ReusableContent.d.ts +8 -0
  54. package/dist/components/Blocks/ReusableContent.js +4 -0
  55. package/dist/components/Blocks/ReusableContent.mjs +1 -0
  56. package/dist/components/Blocks/index.js +1 -1
  57. package/dist/components/Blocks/index.mjs +1 -1
  58. package/dist/components/CRM/DealDetails.d.ts +8 -2
  59. package/dist/components/CRM/DealDetails.js +1 -1
  60. package/dist/components/CRM/DealDetails.mjs +1 -1
  61. package/dist/components/CRM/DealDetails.stories.js +1 -1
  62. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  63. package/dist/components/CRM/KanbanBoard.d.ts +16 -4
  64. package/dist/components/CRM/KanbanBoard.js +1 -1
  65. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  66. package/dist/components/CRM/KanbanBoard.stories.js +1 -1
  67. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  68. package/dist/components/CRM/KanbanColumn.d.ts +8 -2
  69. package/dist/components/CRM/KanbanColumn.js +1 -1
  70. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  71. package/dist/components/CRM/KanbanColumn.stories.js +1 -1
  72. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  73. package/dist/components/CRM/NewDealForm.d.ts +11 -5
  74. package/dist/components/CRM/NewDealForm.js +1 -1
  75. package/dist/components/CRM/NewDealForm.mjs +1 -1
  76. package/dist/components/CRM/NewDealForm.stories.js +1 -1
  77. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  78. package/dist/components/CRM/index.js +1 -1
  79. package/dist/components/CRM/index.mjs +1 -1
  80. package/dist/components/Cards/ContentCard.js +1 -1
  81. package/dist/components/Cards/ContentCard.mjs +1 -1
  82. package/dist/components/Cards/ContentCard.stories.js +1 -1
  83. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  84. package/dist/components/Cards/index.js +4 -4
  85. package/dist/components/Cards/index.mjs +1 -1
  86. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  87. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  88. package/dist/components/HeaderFooter/Header.mjs +1 -1
  89. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  90. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  91. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  92. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  93. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  94. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  95. package/dist/components/HeaderFooter/index.mjs +1 -1
  96. package/dist/components/Heros/HighImpact/index.js +1 -1
  97. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  98. package/dist/components/Heros/LowImpact/index.js +1 -1
  99. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  100. package/dist/components/Heros/MediumImpact/index.js +1 -1
  101. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  102. package/dist/components/Heros/PostHero/index.mjs +1 -1
  103. package/dist/components/Heros/RenderHero.js +1 -1
  104. package/dist/components/Heros/RenderHero.mjs +1 -1
  105. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  106. package/dist/components/Heros/index.js +1 -1
  107. package/dist/components/Heros/index.mjs +1 -1
  108. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  109. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  110. package/dist/components/Holidays/index.mjs +1 -1
  111. package/dist/components/Layouts/BlogList.js +3 -3
  112. package/dist/components/Layouts/BlogList.mjs +1 -1
  113. package/dist/components/Layouts/BlogList.stories.js +3 -3
  114. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  115. package/dist/components/Layouts/SlideShow.js +1 -1
  116. package/dist/components/Layouts/SlideShow.mjs +1 -1
  117. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  118. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  119. package/dist/components/Layouts/index.js +3 -3
  120. package/dist/components/Layouts/index.mjs +1 -1
  121. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  122. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  123. package/dist/components/Menus/SidebarRight.mjs +1 -1
  124. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  125. package/dist/components/Menus/index.mjs +1 -1
  126. package/dist/components/Payload/RichText/index.js +1 -1
  127. package/dist/components/Payload/RichText/index.mjs +1 -1
  128. package/dist/components/Payload/RichText/serialize.d.ts +12 -2
  129. package/dist/components/Payload/RichText/serialize.js +1 -1
  130. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  131. package/dist/components/Payload/RichText.stories.js +1 -1
  132. package/dist/components/Payload/RichText.stories.mjs +1 -1
  133. package/dist/components/Payload/index.js +1 -1
  134. package/dist/components/Payload/index.mjs +1 -1
  135. package/dist/components/index.js +6 -6
  136. package/dist/components/index.mjs +1 -1
  137. package/dist/components/ui/button.d.ts +1 -1
  138. package/dist/components/ui/index.mjs +1 -1
  139. package/dist/components/ui/sidebar.mjs +1 -1
  140. package/dist/index.js +8 -8
  141. package/dist/index.mjs +1 -1
  142. package/dist/metafile-cjs.json +1 -1
  143. package/dist/metafile-esm.json +1 -1
  144. package/dist/pages/Blog.js +1 -1
  145. package/dist/pages/Blog.mjs +1 -1
  146. package/dist/pages/Blog.stories.js +1 -1
  147. package/dist/pages/Blog.stories.mjs +1 -1
  148. package/dist/pages/Documentation.mjs +1 -1
  149. package/dist/pages/Documentation.stories.mjs +1 -1
  150. package/dist/pages/IndexPage.mjs +1 -1
  151. package/dist/pages/IndexPage.stories.mjs +1 -1
  152. package/dist/pages/Intranet.mjs +1 -1
  153. package/dist/pages/Intranet.stories.mjs +1 -1
  154. package/dist/pages/LandingPage.mjs +1 -1
  155. package/dist/pages/LandingPage.stories.mjs +1 -1
  156. package/dist/pages/Page.js +1 -1
  157. package/dist/pages/Page.mjs +1 -1
  158. package/dist/pages/Page.stories.js +186 -186
  159. package/dist/pages/Page.stories.mjs +1 -1
  160. package/dist/pages/Publish.js +1 -1
  161. package/dist/pages/Publish.mjs +1 -1
  162. package/dist/pages/Publish.stories.js +1 -1
  163. package/dist/pages/Publish.stories.mjs +1 -1
  164. package/dist/pages/Website.js +1 -1
  165. package/dist/pages/Website.mjs +1 -1
  166. package/dist/pages/Website.stories.js +2 -2
  167. package/dist/pages/Website.stories.mjs +1 -1
  168. package/dist/payload-types.d.ts +300 -3
  169. package/dist/payload-types.js +1 -1
  170. package/dist/sections/AboutSection.js +1 -1
  171. package/dist/sections/AboutSection.mjs +1 -1
  172. package/dist/sections/AboutSection.stories.js +1 -1
  173. package/dist/sections/AboutSection.stories.mjs +1 -1
  174. package/dist/sections/BlogDetail.js +1 -1
  175. package/dist/sections/BlogDetail.mjs +1 -1
  176. package/dist/sections/BlogDetail.stories.js +1 -1
  177. package/dist/sections/BlogDetail.stories.mjs +1 -1
  178. package/dist/sections/BlogListSection.mjs +1 -1
  179. package/dist/sections/BlogListSection.stories.mjs +1 -1
  180. package/dist/sections/ContactSection.js +1 -1
  181. package/dist/sections/ContactSection.mjs +1 -1
  182. package/dist/sections/ContactSection.stories.js +1 -1
  183. package/dist/sections/ContactSection.stories.mjs +1 -1
  184. package/dist/sections/ImageSection.stories.js +1 -1
  185. package/dist/sections/ImageSection.stories.mjs +1 -1
  186. package/dist/sections/PricingSection.js +1 -1
  187. package/dist/sections/PricingSection.mjs +1 -1
  188. package/dist/sections/PricingSection.stories.js +1 -1
  189. package/dist/sections/PricingSection.stories.mjs +1 -1
  190. package/dist/sections/ServiceSection.mjs +1 -1
  191. package/dist/sections/ServiceSection.stories.mjs +1 -1
  192. package/dist/sections/index.js +1 -1
  193. package/dist/sections/index.mjs +1 -1
  194. package/package.json +1 -1
  195. package/dist/chunk-DBHEV3OE.mjs +0 -1
  196. package/dist/chunk-EJV6UKCA.mjs +0 -1
  197. package/dist/chunk-FBUZ37DL.mjs +0 -1
  198. package/dist/chunk-GTDG7AC2.mjs +0 -1
  199. package/dist/chunk-T44RKQFA.mjs +0 -1
  200. package/dist/chunk-TTN4NUDL.mjs +0 -1
  201. package/dist/chunk-Y3L5THWA.mjs +0 -4
  202. package/dist/chunk-YNC77MO4.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var St=Object.create;var te=Object.defineProperty;var Pt=Object.getOwnPropertyDescriptor;var Tt=Object.getOwnPropertyNames;var It=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Mt=(e,t)=>{for(var o in t)te(e,o,{get:t[o],enumerable:!0})},Ue=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Tt(t))!Rt.call(e,s)&&s!==o&&te(e,s,{get:()=>t[s],enumerable:!(a=Pt(t,s))||a.enumerable});return e};var j=(e,t,o)=>(o=e!=null?St(It(e)):{},Ue(t||!e||!e.__esModule?te(o,"default",{value:e,enumerable:!0}):o,e)),Et=e=>Ue(te({},"__esModule",{value:!0}),e);var vo={};Mt(vo,{Default:()=>Bt,default:()=>xo});module.exports=Et(vo);var kt=j(require("next/image"));var Ge="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Je=require("clsx");var ve="-",Ft=e=>{let t=Lt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(ve);return n[0]===""&&n.length!==1&&n.shift(),Ke(n,t)||zt(i)},getConflictingClassGroupIds:(i,n)=>{let m=o[i]||[];return n&&a[i]?[...m,...a[i]]:m}}},Ke=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),s=a?Ke(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let r=e.join(ve);return(i=t.validators.find(({validator:n})=>n(r)))==null?void 0:i.classGroupId},He=/^\[(.+)\]$/,zt=e=>{if(He.test(e)){let t=He.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Lt=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return Gt(Object.entries(e.classGroups),o).forEach(([r,i])=>{we(i,a,r,t)}),a},we=(e,t,o,a)=>{e.forEach(s=>{if(typeof s=="string"){let r=s===""?t:De(t,s);r.classGroupId=o;return}if(typeof s=="function"){if(Ut(s)){we(s(a),t,o,a);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([r,i])=>{we(i,De(t,r),o,a)})})},De=(e,t)=>{let o=e;return t.split(ve).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},Ut=e=>e.isThemeGetter,Gt=(e,t)=>t?e.map(([o,a])=>{let s=a.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([i,n])=>[t+i,n])):r);return[o,s]}):e,Ht=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,a=new Map,s=(r,i)=>{o.set(r,i),t++,t>e&&(t=0,a=o,o=new Map)};return{get(r){let i=o.get(r);if(i!==void 0)return i;if((i=a.get(r))!==void 0)return s(r,i),i},set(r,i){o.has(r)?o.set(r,i):s(r,i)}}},je="!",Dt=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,s=t[0],r=t.length,i=n=>{let m=[],b=0,h=0,A;for(let x=0;x<n.length;x++){let v=n[x];if(b===0){if(v===s&&(a||n.slice(x,x+r)===t)){m.push(n.slice(h,x)),h=x+r;continue}if(v==="/"){A=x;continue}}v==="["?b++:v==="]"&&b--}let w=m.length===0?n:n.substring(h),N=w.startsWith(je),B=N?w.substring(1):w,y=A&&A>h?A-h:void 0;return{modifiers:m,hasImportantModifier:N,baseClassName:B,maybePostfixModifierPosition:y}};return o?n=>o({className:n,parseClassName:i}):i},Kt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},jt=e=>({cache:Ht(e.cacheSize),parseClassName:Dt(e),...Ft(e)}),Ot=/\s+/,Yt=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:s}=t,r=[],i=e.trim().split(Ot),n="";for(let m=i.length-1;m>=0;m-=1){let b=i[m],{modifiers:h,hasImportantModifier:A,baseClassName:w,maybePostfixModifierPosition:N}=o(b),B=!!N,y=a(B?w.substring(0,N):w);if(!y){if(!B){n=b+(n.length>0?" "+n:n);continue}if(y=a(w),!y){n=b+(n.length>0?" "+n:n);continue}B=!1}let x=Kt(h).join(":"),v=A?x+je:x,k=v+y;if(r.includes(k))continue;r.push(k);let L=s(y,B);for(let U=0;U<L.length;++U){let Z=L[U];r.push(v+Z)}n=b+(n.length>0?" "+n:n)}return n};function Qt(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Oe(t))&&(a&&(a+=" "),a+=o);return a}var Oe=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=Oe(e[a]))&&(o&&(o+=" "),o+=t);return o};function Vt(e,...t){let o,a,s,r=i;function i(m){let b=t.reduce((h,A)=>A(h),e());return o=jt(b),a=o.cache.get,s=o.cache.set,r=n,n(m)}function n(m){let b=a(m);if(b)return b;let h=Yt(m,o);return s(m,h),h}return function(){return r(Qt.apply(null,arguments))}}var g=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ye=/^\[(?:([a-qe-]+):)?(.+)\]$/i,Jt=/^\qe+\/\qe+$/,_t=new Set(["px","full","screen"]),qt=/^(\qe+(\.\qe+)?)?(xs|sm|md|lg|xl)$/,Wt=/\qe+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zt=/^(inset_)?-?((\qe+)?\.?(\qe+)[a-qe]+|0)_-?((\qe+)?\.?(\qe+)[a-qe]+|0)/,$t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>O(e)||_t.has(e)||Jt.test(e),M=e=>Y(e,"length",io),O=e=>!!e&&!Number.isNaN(Number(e)),xe=e=>Y(e,"number",O),_=e=>!!e&&Number.isInteger(Number(e)),eo=e=>e.endsWith("%")&&O(e.slice(0,-1)),l=e=>Ye.test(e),E=e=>qt.test(e),to=new Set(["length","size","percentage"]),oo=e=>Y(e,to,Qe),ro=e=>Y(e,"position",Qe),ao=new Set(["image","url"]),so=e=>Y(e,ao,co),no=e=>Y(e,"",lo),q=()=>!0,Y=(e,t,o)=>{let a=Ye.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},io=e=>Wt.test(e)&&!Xt.test(e),Qe=()=>!1,lo=e=>Zt.test(e),co=e=>$t.test(e);var po=()=>{let e=g("colors"),t=g("spacing"),o=g("blur"),a=g("brightness"),s=g("borderColor"),r=g("borderRadius"),i=g("borderSpacing"),n=g("borderWidth"),m=g("contrast"),b=g("grayscale"),h=g("hueRotate"),A=g("invert"),w=g("gap"),N=g("gradientColorStops"),B=g("gradientColorStopPositions"),y=g("inset"),x=g("margin"),v=g("opacity"),k=g("padding"),L=g("saturate"),U=g("scale"),Z=g("sepia"),Ie=g("skew"),Re=g("space"),Me=g("translate"),fe=()=>["auto","contain","none"],be=()=>["auto","hidden","clip","visible","scroll"],he=()=>["auto",l,t],f=()=>[l,t],Ee=()=>["",T,M],$=()=>["auto",O,l],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",l],Le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[O,l];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[T,M],blur:["none","",E,l],brightness:P(),borderColor:[e],borderRadius:["none","","full",E,l],borderSpacing:f(),borderWidth:Ee(),contrast:P(),grayscale:J(),hueRotate:P(),invert:J(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[eo,M],inset:he(),margin:he(),opacity:P(),padding:f(),saturate:P(),scale:P(),sepia:J(),skew:P(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Le()}],"break-before":[{"break-before":Le()}],"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:[...Fe(),l]}],overflow:[{overflow:be()}],"overflow-x":[{"overflow-x":be()}],"overflow-y":[{"overflow-y":be()}],overscroll:[{overscroll:fe()}],"overscroll-x":[{"overscroll-x":fe()}],"overscroll-y":[{"overscroll-y":fe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],qe:[{qe:["auto",_,l]}],basis:[{basis:he()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",_,l]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",_,l]},l]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[_,l]},l]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...ye()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ye(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ye(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],qe:[{qe:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[Re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xe]}],"font-family":[{font:[q]}],"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",l]}],"line-clamp":[{"line-clamp":["none",O,xe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,M]}],"underline-offset":[{"underline-offset":["auto",T,l]}],"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:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fe(),ro]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},so]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-qe":[{"rounded-qe":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:ee()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ee()]}],"outline-offset":[{"outline-offset":[T,l]}],"outline-w":[{outline:[T,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[T,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,no]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",E,l]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[A]}],saturate:[{saturate:[L]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[A]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-x":[{"scale-x":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[_,l]}],"translate-x":[{"translate-x":[Me]}],"translate-y":[{"translate-y":[Me]}],"skew-x":[{"skew-x":[Ie]}],"skew-y":[{"skew-y":[Ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","qe-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-qe":[{"scroll-qe":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[T,M,xe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],qe:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-qe","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-qe","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-qe":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=Vt(po);function c(...e){return Ve((0,Je.clsx)(e))}var qe=require("react/jsx-runtime");function _e({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let s=c("container",t&&"full-width",o&&"no-padding",a);return(0,qe.jsx)("div",{className:s,children:e})}var We=({className:e,content:t,style:o})=>(0,qe.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,qe.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,qe.jsx)(I,{content:t,enableGutter:!1,enableProse:!1})})});var Xe=require("@radix-ui/react-slot"),Ze=require("class-variance-authority"),$e=j(require("react")),mo=(0,Ze.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),G=$e.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...s},r)=>(0,qe.jsx)(e?Xe.Slot:"button",{className:c(mo({className:t,size:o,variant:a})),ref:r,...s}));G.displayName="Button";var Ae=j(require("next/link")),X=e=>{let{type:t,appearance:o="inline",children:a,className:s,label:r,newTab:i,reference:n,size:m,url:b}=e,h=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:b;if(!h)return null;let A=o==="link"?"clear":m,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,qe.jsxs)(Ae.default,{className:c(s),href:h||b||"",...w,children:[r&&r,a&&a]}):(0,qe.jsx)(G,{asChild:!0,className:s,size:A,variant:o,children:(0,qe.jsxs)(Ae.default,{className:c(s),href:h||b||"",...w,children:[r&&r,a&&a]})})};var tt=({links:e,richText:t})=>(0,qe.jsx)("div",{className:"container",children:(0,qe.jsxs)("div",{className:"bg-card rounded border-border border qe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,qe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,qe.jsx)(I,{className:"mb-0",content:t,enableGutter:!1})}),(0,qe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},a)=>(0,qe.jsx)(X,{size:"lg",...o},a))})]})});var re=require("prism-react-renderer");var ot=require("lucide-react"),rt=require("react");function at({code:e}){let[t,o]=(0,rt.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,qe.jsx)("div",{className:"flex justify-end align-middle",children:(0,qe.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,qe.jsx)("qe",{children:t}),(0,qe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,qe.jsx)(ot.ClipboardCopy,{})})]})})}var st=({code:e,language:t=""})=>e?(0,qe.jsx)(re.Highlight,{code:e,language:t,theme:re.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:s})=>(0,qe.jsxs)("pre",{className:"bg-black qe-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((r,i)=>(0,qe.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,qe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,qe.jsx)("span",{className:"table-cell pl-4",children:r.map((n,m)=>(0,qe.jsx)("span",{...a({token:n})},m))})]},i)),(0,qe.jsx)(at,{code:e})]})}):null;var nt=({className:e,code:t,language:o})=>(0,qe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,qe.jsx)(st,{code:t,language:o})});var lt=j(require("next/image")),uo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},it="data:image/png;base64,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",ct=e=>{let{alt:t,fill:o,imgClassName:a,priority:s,resource:r,size:i,src:n,loading:m}=e,b,h,A=t,w=n||"";if(!w&&r&&typeof r=="object"){let{alt:y,filename:x,height:v,url:k,width:L}=r;b=L,h=v,A=y||"",w=k||it}let N=m||"lazy",B=i||Object.entries(uo).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,qe.jsx)("picture",{children:(0,qe.jsx)(lt.default,{alt:A||"",className:c(a),fill:o,height:o?void 0:h,placeholder:"blur",blurDataURL:it,priority:N!=="lazy"&&s,quality:100,loading:N,sizes:B,src:w,width:o?void 0:b})})};var pt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var dt=()=>{if(pt){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var mt=e=>{let{onClick:t,resource:o,videoClassName:a}=e,s=(0,rt.useRef)(null);if((0,rt.useEffect)(()=>{let{current:r}=s;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,qe.jsx)("video",{autoPlay:!0,className:c(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,qe.jsx)("source",{src:`${dt()}/media/${r}`})})}return null};var ne=e=>{var i;let{className:t,htmlElement:o="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,qe.jsx)(o||rt.Fragment,{...o!==null?{className:t}:{},children:s?(0,qe.jsx)(mt,{...e}):(0,qe.jsx)(ct,{...e})})};var gt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,qe.jsx)("div",{className:c("",{container:o},t),children:(0,qe.jsx)(ne,{imgClassName:c("border border-border rounded-[0.8rem]",a),resource:s,src:r})})};var ft=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,qe.jsx)("div",{className:c("",{container:o},t),children:(0,qe.jsx)(ne,{imgClassName:c("border border-border rounded-[0.8rem]",a),resource:s,src:r})})};var bt=({title:e,description:t,features:o,id:a})=>(0,qe.jsxs)("section",{className:c("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,qe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,qe.jsx)("qe",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,qe.jsx)("qe",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,qe.jsx)(I,{content:t,enableGutter:!1})}),(0,qe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((s,r)=>{let i=(0,qe.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,qe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,qe.jsx)("i",{className:`${s.icon.type} fa-${s.icon.icon} fa-4x`})}),(0,qe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:s.title}),s.content&&typeof s.content!="object"&&(0,qe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:s.content}}),s.content&&typeof s.content=="object"&&(0,qe.jsx)("div",{className:"text-lg opacity-80",children:(0,qe.jsx)(I,{content:s.content,enableGutter:!1})})]},r);return s.link?(0,qe.jsx)("a",{href:s.link.url?s.link.url:"#",className:"no-underline group",children:i},r):i})})]});var le=j(require("react"));function ie({nodes:e}){return(0,qe.jsx)(le.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,qe.jsx)(le.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,qe.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,qe.jsx)("em",{children:r},o)),t.format&4&&(r=(0,qe.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,qe.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,qe.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,qe.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,qe.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,qe.jsx)("table",{children:(0,qe.jsx)("tbody",{children:t.children.map((r,i)=>(0,qe.jsx)("tr",{children:r.children.map((n,m)=>(0,qe.jsx)("td",{children:ie({nodes:n.children})},m))},i))})},o);let a=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let i of r.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ie({nodes:r.children})},s="children"in t?a(t):"";if(t.type==="block"){let r=t.fields,i=r==null?void 0:r.blockType;if(!r||!i)return null;switch(i){case"cta":return(0,qe.jsx)(tt,{...r},o);case"mediaBlock":return(0,qe.jsx)(gt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,qe.jsx)(ft,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,qe.jsx)(We,{className:"col-start-2 mb-4",...r},o);case"code":return(0,qe.jsx)(nt,{className:"col-start-2",...r},o);case"features":return(0,qe.jsx)(bt,{...r},o);default:return null}}else switch(t.type){case"linebreak":return(0,qe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,qe.jsx)("qe",{className:"col-start-2",children:s},o);case"heading":{let r=t==null?void 0:t.tag;return(0,qe.jsx)(r,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},o)}case"list":{let r=t==null?void 0:t.tag;return(0,qe.jsx)(r,{className:"list col-start-2",children:s},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,qe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},o):(0,qe.jsx)("li",{value:t==null?void 0:t.value,children:s},o);case"quote":return(0,qe.jsx)("blockquote",{className:"col-start-2",children:s},o);case"link":{let r=t.fields;return(0,qe.jsx)(X,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}case"autolink":{let r=t.fields;return(0,qe.jsx)(X,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}default:return null}})})}var I=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var s;return t?(0,qe.jsx)("div",{className:c({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ie({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function yt({subtitle:e,title:t,description:o,alignment:a="start",hasBottomSpacing:s=!1,className:r,invert:i=!1}){let n=c(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},r);return(0,qe.jsxs)("div",{className:n,children:[e&&(0,qe.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,qe.jsx)("h2",{className:c("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",i&&"text-gray-900"),children:t}),typeof o=="string"?o&&(0,qe.jsx)("qe",{className:"mt-5 whitespace-pre-line",children:o}):o&&(0,qe.jsx)(I,{content:o,enableGutter:!1})]})}function ce({className:e}){return c("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-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 go({className:e,...t}){return(0,qe.jsx)("input",{...t,className:ce({className:e})})}function pe({icon:e,...t}){return(0,qe.jsxs)("div",{className:"relative w-full",children:[(0,qe.jsx)(go,{...t}),e&&(0,qe.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function fo({className:e,...t}){return(0,qe.jsx)("textarea",{...t,className:c(ce({}),"resize-none md:min-h-[130px]",e)})}function xt({icon:e,...t}){return(0,qe.jsxs)("div",{className:"relative w-full",children:[(0,qe.jsx)(fo,{...t}),e&&(0,qe.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var vt=require("formik"),At=require("react-icons/fa6"),K=j(require("yup"));async function wt(e){let{name:t,email:o,subject:a,message:s}=e,r=process.env.TEAMS_WEBHOOK_URL;if(!r)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={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:`${o}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let n=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Pe=require("sonner"),S={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},bo=K.object().shape({name:K.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),email:K.string().email(S.email).required(S.required),subject:K.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),message:K.string().min(2,S.tooShort).max(300,S.tooLong).required(S.required)}),de=c("!pr-[44px]"),me=c("!border-red-600 border"),ue=c("sr-only");function Ct(){return(0,qe.jsx)(vt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:bo,onSubmit:async(e,{resetForm:t})=>{let o=await wt(e);o.data===null?Pe.toast.error(o.message):(Pe.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:s,isSubmitting:r,handleSubmit:i})=>(0,qe.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,qe.jsxs)("div",{children:[(0,qe.jsx)(pe,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:s,disabled:r,icon:(0,qe.jsx)(At.FaUser,{}),className:c(de,e.name&&t.name&&me)}),e.name&&t.name&&(0,qe.jsx)("qe",{title:e.name,"aria-live":"polite",role:"error message",className:ue,children:e.name})]}),(0,qe.jsxs)("div",{children:[(0,qe.jsx)(pe,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:s,disabled:r,icon:(0,qe.jsx)(ho,{}),className:c(de,e.email&&t.email&&me)}),e.email&&t.email&&(0,qe.jsx)("qe",{title:e.email,"aria-live":"polite",role:"error message",className:ue,children:e.email})]}),(0,qe.jsxs)("div",{className:"lg:col-span-2",children:[(0,qe.jsx)(pe,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:a,onBlur:s,disabled:r,className:c(de,e.subject&&t.subject&&me)}),e.subject&&t.subject&&(0,qe.jsx)("qe",{title:e.subject,"aria-live":"polite",role:"error message",className:ue,children:e.subject})]}),(0,qe.jsxs)("div",{className:"lg:col-span-2",children:[(0,qe.jsx)(xt,{placeholder:"Write Message...",name:"message",value:o.message,onChange:a,onBlur:s,disabled:r,icon:(0,qe.jsx)(yo,{}),className:c(de,e.message&&t.message&&me)}),e.message&&t.message&&(0,qe.jsx)("qe",{title:e.message,"aria-live":"polite",role:"error message",className:ue,children:e.message})]}),(0,qe.jsx)("div",{className:"lg:col-span-2",children:(0,qe.jsx)(G,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:r,children:(0,qe.jsx)("span",{children:"SEND"})})})]})})}function ho(){return(0,qe.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,qe.jsx)("path",{qe:"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 yo(){return(0,qe.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,qe.jsx)("path",{qe:"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"})})}function Te(e){let{sectionHeading:t,image:o}=e;return(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)("section",{className:"section-padding-primary",children:(0,qe.jsx)("div",{className:"",children:(0,qe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,qe.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,qe.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,qe.jsxs)("div",{children:[(0,qe.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,qe.jsx)("qe",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,qe.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var r;return(0,qe.jsxs)("div",{className:"rounded-2xl qe-10 border",children:[(0,qe.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,qe.jsxs)("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(r=a.location.split(","))==null?void 0:r.map((i,n)=>(0,qe.jsx)("qe",{children:i},n))," ",a.mails&&(0,qe.jsxs)("qe",{className:"flex items-center space-x-2",children:[(0,qe.jsx)(At.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,qe.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,qe.jsxs)("qe",{className:"flex items-center space-x-2",children:[(0,qe.jsx)(At.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,qe.jsx)("section",{className:"section-padding-primary",children:(0,qe.jsxs)("div",{className:"relative py-[60px]",children:[(0,qe.jsx)("div",{className:"absolute left-0 top-0 qe-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,qe.jsx)(kt.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ge})}),(0,qe.jsx)(_e,{children:(0,qe.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,qe.jsxs)("div",{className:"relative qe-[2] rounded-5 bg-white qe-10 shadow-1 dark:bg-accent-700 lg:qe-[60px]",children:[(0,qe.jsx)("div",{className:"mb-30px",children:(0,qe.jsx)(yt,{...t,invert:!0})}),(0,qe.jsx)(Ct,{})]})})})]})})]})}var xo={title:"Website Components/ContactSection",component:Te,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[e=>(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)(e,{}),(0,qe.jsx)(Pe.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},wo=e=>(0,qe.jsx)(Te,{...e}),Bt=wo.bind({});Bt.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};0&&(module.exports={Default});
5
+ "use strict";var Dt=Object.create;var se=Object.defineProperty;var Ht=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var Ot=Object.getPrototypeOf,Yt=Object.prototype.hasOwnProperty;var jt=(e,t)=>{for(var o in t)se(e,o,{get:t[o],enumerable:!0})},Qe=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Kt(t))!Yt.call(e,n)&&n!==o&&se(e,n,{get:()=>t[n],enumerable:!(a=Ht(t,n))||a.enumerable});return e};var K=(e,t,o)=>(o=e!=null?Dt(Ot(e)):{},Qe(t||!e||!e.__esModule?se(o,"default",{value:e,enumerable:!0}):o,e)),Qt=e=>Qe(se({},"__esModule",{value:!0}),e);var Lo={};jt(Lo,{Default:()=>Gt,default:()=>Eo});module.exports=Qt(Lo);var Lt=K(require("next/image"));var Ve="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var tt=require("clsx");var Re="-",Vt=e=>{let t=_t(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Re);return s[0]===""&&s.length!==1&&s.shift(),qe(s,t)||Jt(i)},getConflictingClassGroupIds:(i,s)=>{let p=o[i]||[];return s&&a[i]?[...p,...a[i]]:p}}},qe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),n=a?qe(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let r=e.join(Re);return(i=t.validators.find(({validator:s})=>s(r)))==null?void 0:i.classGroupId},Je=/^\[(.+)\]$/,Jt=e=>{if(Je.test(e)){let t=Je.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},_t=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return Wt(Object.entries(e.classGroups),o).forEach(([r,i])=>{Se(i,a,r,t)}),a},Se=(e,t,o,a)=>{e.forEach(n=>{if(typeof n=="string"){let r=n===""?t:_e(t,n);r.classGroupId=o;return}if(typeof n=="function"){if(qt(n)){Se(n(a),t,o,a);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([r,i])=>{Se(i,_e(t,r),o,a)})})},_e=(e,t)=>{let o=e;return t.split(Re).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},qt=e=>e.isThemeGetter,Wt=(e,t)=>t?e.map(([o,a])=>{let n=a.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([i,s])=>[t+i,s])):r);return[o,n]}):e,Xt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,a=new Map,n=(r,i)=>{o.set(r,i),t++,t>e&&(t=0,a=o,o=new Map)};return{get(r){let i=o.get(r);if(i!==void 0)return i;if((i=a.get(r))!==void 0)return n(r,i),i},set(r,i){o.has(r)?o.set(r,i):n(r,i)}}},We="!",Zt=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,n=t[0],r=t.length,i=s=>{let p=[],u=0,f=0,v;for(let x=0;x<s.length;x++){let C=s[x];if(u===0){if(C===n&&(a||s.slice(x,x+r)===t)){p.push(s.slice(f,x)),f=x+r;continue}if(C==="/"){v=x;continue}}C==="["?u++:C==="]"&&u--}let w=p.length===0?s:s.substring(f),P=w.startsWith(We),S=P?w.substring(1):w,h=v&&v>f?v-f:void 0;return{modifiers:p,hasImportantModifier:P,baseClassName:S,maybePostfixModifierPosition:h}};return o?s=>o({className:s,parseClassName:i}):i},$t=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},eo=e=>({cache:Xt(e.cacheSize),parseClassName:Zt(e),...Vt(e)}),to=/\s+/,oo=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n}=t,r=[],i=e.trim().split(to),s="";for(let p=i.length-1;p>=0;p-=1){let u=i[p],{modifiers:f,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:P}=o(u),S=!!P,h=a(S?w.substring(0,P):w);if(!h){if(!S){s=u+(s.length>0?" "+s:s);continue}if(h=a(w),!h){s=u+(s.length>0?" "+s:s);continue}S=!1}let x=$t(f).join(":"),C=v?x+We:x,N=C+h;if(r.includes(N))continue;r.push(N);let D=n(h,S);for(let H=0;H<D.length;++H){let re=D[H];r.push(C+re)}s=u+(s.length>0?" "+s:s)}return s};function ro(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Xe(t))&&(a&&(a+=" "),a+=o);return a}var Xe=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=Xe(e[a]))&&(o&&(o+=" "),o+=t);return o};function ao(e,...t){let o,a,n,r=i;function i(p){let u=t.reduce((f,v)=>v(f),e());return o=eo(u),a=o.cache.get,n=o.cache.set,r=s,s(p)}function s(p){let u=a(p);if(u)return u;let f=oo(p,o);return n(p,f),f}return function(){return r(ro.apply(null,arguments))}}var b=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,no=/^\rt+\/\rt+$/,so=new Set(["px","full","screen"]),io=/^(\rt+(\.\rt+)?)?(xs|sm|md|lg|xl)$/,lo=/\rt+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,co=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,po=/^(inset_)?-?((\rt+)?\.?(\rt+)[a-z]+|0)_-?((\rt+)?\.?(\rt+)[a-z]+|0)/,mo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>J(e)||so.has(e)||no.test(e),z=e=>_(e,"length",vo),J=e=>!!e&&!Number.isNaN(Number(e)),Pe=e=>_(e,"number",J),Z=e=>!!e&&Number.isInteger(Number(e)),uo=e=>e.endsWith("%")&&J(e.slice(0,-1)),c=e=>Ze.test(e),L=e=>io.test(e),go=new Set(["length","size","percentage"]),fo=e=>_(e,go,$e),bo=e=>_(e,"position",$e),yo=new Set(["image","url"]),ho=e=>_(e,yo,Co),xo=e=>_(e,"",wo),$=()=>!0,_=(e,t,o)=>{let a=Ze.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},vo=e=>lo.test(e)&&!co.test(e),$e=()=>!1,wo=e=>po.test(e),Co=e=>mo.test(e);var Ao=()=>{let e=b("colors"),t=b("spacing"),o=b("blur"),a=b("brightness"),n=b("borderColor"),r=b("borderRadius"),i=b("borderSpacing"),s=b("borderWidth"),p=b("contrast"),u=b("grayscale"),f=b("hueRotate"),v=b("invert"),w=b("gap"),P=b("gradientColorStops"),S=b("gradientColorStopPositions"),h=b("inset"),x=b("margin"),C=b("opacity"),N=b("padding"),D=b("saturate"),H=b("scale"),re=b("sepia"),Ge=b("skew"),De=b("space"),He=b("translate"),Ae=()=>["auto","contain","none"],ke=()=>["auto","hidden","clip","visible","scroll"],Ne=()=>["auto",c,t],y=()=>[c,t],Ke=()=>["",M,z],ae=()=>["auto",J,c],Oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],Ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Be=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",c],je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[J,c];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[M,z],blur:["none","",L,c],brightness:T(),borderColor:[e],borderRadius:["none","","full",L,c],borderSpacing:y(),borderWidth:Ke(),contrast:T(),grayscale:X(),hueRotate:T(),invert:X(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[uo,z],inset:Ne(),margin:Ne(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:X(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":je()}],"break-before":[{"break-before":je()}],"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:[...Oe(),c]}],overflow:[{overflow:ke()}],"overflow-x":[{"overflow-x":ke()}],"overflow-y":[{"overflow-y":ke()}],overscroll:[{overscroll:Ae()}],"overscroll-x":[{"overscroll-x":Ae()}],"overscroll-y":[{"overscroll-y":Ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,c]}],basis:[{basis:Ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",Z,c]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",Z,c]},c]}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[Z,c]},c]}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...Be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pt:[{pt:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],rt:[{rt:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[De]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[De]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pe]}],"font-family":[{font:[$]}],"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",c]}],"line-clamp":[{"line-clamp":["none",J,Pe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,z]}],"underline-offset":[{"underline-offset":["auto",M,c]}],"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:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Oe(),bo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",fo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ho]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-rt":[{"rounded-rt":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...ne(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:ne()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ne()]}],"outline-offset":[{"outline-offset":[M,c]}],"outline-w":[{outline:[M,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[M,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,xo]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Ye(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ye()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",L,c]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[v]}],saturate:[{saturate:[D]}],sepia:[{sepia:[re]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-y":[{"scale-y":[H]}],rotate:[{rotate:[Z,c]}],"translate-x":[{"translate-x":[He]}],"translate-y":[{"translate-y":[He]}],"skew-x":[{"skew-x":[Ge]}],"skew-y":[{"skew-y":[Ge]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-rt":[{"scroll-rt":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,z,Pe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pt","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],rt:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-rt","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-rt"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-rt":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pt","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var et=ao(Ao);function l(...e){return et((0,tt.clsx)(e))}var rt=require("react/jsx-runtime");function ot({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let n=l("container",t&&"full-width",o&&"no-padding",a);return(0,rt.jsx)("div",{className:n,children:e})}var at=({className:e,content:t,style:o})=>(0,rt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,rt.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,rt.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var nt=require("@radix-ui/react-slot"),st=require("class-variance-authority"),it=K(require("react")),ko=(0,st.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-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"}}}),F=it.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...n},r)=>(0,rt.jsx)(e?nt.Slot:"button",{className:l(ko({className:t,size:o,variant:a})),ref:r,...n}));F.displayName="Button";var Ie=K(require("next/link")),O=e=>{let{type:t,appearance:o="inline",children:a,className:n,label:r,newTab:i,reference:s,size:p,url:u}=e,f=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!f)return null;let v=o==="link"?"clear":p,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,rt.jsxs)(Ie.default,{className:l(n),href:f||u||"",...w,children:[r&&r,a&&a]}):(0,rt.jsx)(F,{asChild:!0,className:n,size:v,variant:o,children:(0,rt.jsxs)(Ie.default,{className:l(n),href:f||u||"",...w,children:[r&&r,a&&a]})})};var le=({links:e,richText:t})=>(0,rt.jsx)("div",{className:"container",children:(0,rt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,rt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,rt.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,rt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},a)=>(0,rt.jsx)(O,{size:"lg",...o},a))})]})});var ce=require("prism-react-renderer");var ct=require("lucide-react"),pt=require("react");function dt({code:e}){let[t,o]=(0,pt.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,rt.jsx)("div",{className:"flex justify-end align-middle",children:(0,rt.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,rt.jsx)("p",{children:t}),(0,rt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,rt.jsx)(ct.ClipboardCopy,{})})]})})}var mt=({code:e,language:t=""})=>e?(0,rt.jsx)(ce.Highlight,{code:e,language:t,theme:ce.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:n})=>(0,rt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((r,i)=>(0,rt.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,rt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,rt.jsx)("span",{className:"table-cell pl-4",children:r.map((s,p)=>(0,rt.jsx)("span",{...a({token:s})},p))})]},i)),(0,rt.jsx)(dt,{code:e})]})}):null;var ut=({className:e,code:t,language:o})=>(0,rt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,rt.jsx)(mt,{code:t,language:o})});var ft=K(require("next/image")),No={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},gt="data:image/png;base64,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",bt=e=>{let{alt:t,fill:o,imgClassName:a,priority:n,resource:r,size:i,src:s,loading:p}=e,u,f,v=t,w=s||"";if(!w&&r&&typeof r=="object"){let{alt:h,filename:x,height:C,url:N,width:D}=r;u=D,f=C,v=h||"",w=N||gt}let P=p||"lazy",S=i||Object.entries(No).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,rt.jsx)("picture",{children:(0,rt.jsx)(ft.default,{alt:v||"",className:l(a),fill:o,height:o?void 0:f,placeholder:"blur",blurDataURL:gt,priority:P!=="lazy"&&n,quality:100,loading:P,sizes:S,src:w,width:o?void 0:u})})};var yt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ht=()=>{if(yt){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var xt=e=>{let{onClick:t,resource:o,videoClassName:a}=e,n=(0,pt.useRef)(null);if((0,pt.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,rt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,rt.jsx)("source",{src:`${ht()}/media/${r}`})})}return null};var me=e=>{var i;let{className:t,htmlElement:o="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,rt.jsx)(o||pt.Fragment,{...o!==null?{className:t}:{},children:n?(0,rt.jsx)(xt,{...e}):(0,rt.jsx)(bt,{...e})})};var te=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:n,staticImage:r}=e;return(0,rt.jsx)("div",{className:l("",{container:o},t),children:(0,rt.jsx)(me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:r})})};var wt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:n,staticImage:r}=e;return(0,rt.jsx)("div",{className:l("",{container:o},t),children:(0,rt.jsx)(me,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:r})})};var Ct=({type:e="solid",iconName:t="cloud",size:o="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,i=a!=null?a:"",s=n+r+" fa-"+o+" "+i;return(0,rt.jsx)("i",{className:s})};function Bo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function kt({variant:e="light",className:t,icon:o,heading:a,subheading:n,content:r,statistic:i,buttonText:s,buttonHref:p}){let u={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof r),(0,rt.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",u[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,rt.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[o&&(0,rt.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:Bo(o)?(0,rt.jsx)(Ct,{type:o.type,iconName:o.iconName,size:"2x"}):o}),(0,rt.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,rt.jsx)("div",{className:"mb-6",children:(0,rt.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),n&&(0,rt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),r&&typeof r=="object"&&(0,rt.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,rt.jsx)(B,{enableGutter:!1,content:r,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),r&&typeof r=="string"&&(0,rt.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:r}),s&&(0,rt.jsx)("div",{className:"mt-8",children:(0,rt.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,rt.jsxs)("a",{href:p,children:[s,(0,rt.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,rt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var ue=({title:e,description:t,features:o,id:a})=>(0,rt.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,rt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,rt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,rt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,rt.jsx)(B,{content:t,enableGutter:!1})}),(0,rt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((n,r)=>{var i,s,p,u,f;if(((i=n.settings)==null?void 0:i.contents)==="icon")return(0,rt.jsx)(Po,{section:n,index:r},r);{let v=()=>{if(n.icon.type!=="none")return{type:n.icon.type,iconName:n.icon.icon}};return(0,rt.jsx)(kt,{variant:((s=n.settings)==null?void 0:s.card)==="default"?"solid":((p=n.settings)==null?void 0:p.card)||"solid",icon:v()||void 0,heading:n.title||"",content:n.content||void 0,statistic:n.statistic||void 0,buttonText:(u=n.link)!=null&&u.url?"Find out more":void 0,buttonHref:((f=n.link)==null?void 0:f.url)||void 0},r)}})})]}),Po=({section:e,index:t})=>{if(!e)return null;let o=(0,rt.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,rt.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,rt.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,rt.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,rt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,rt.jsx)("div",{className:"text-lg opacity-80",children:(0,rt.jsx)(B,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,rt.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:o},t):o};var Pt=K(require("next/image"));var Nt=e=>{let{columns:t}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,rt.jsx)("div",{className:"container my-6",children:(0,rt.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((a,n)=>{let{enableLink:r,link:i,richText:s,size:p}=a;return(0,rt.jsxs)("div",{className:l(`col-span-4 lg:col-span-${o[p]}`,{"md:col-span-2":p!=="full"}),children:[s&&(0,rt.jsx)(B,{content:s,enableGutter:!1}),r&&(0,rt.jsx)(O,{...i})]},n)})})})};var Bt={content:Nt,cta:le,mediaBlock:te,imageBlock:te,features:ue,reusableContentBlock:ge},St=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,rt.jsx)("section",{id:"render-blocks",children:t.map((a,n)=>{var s;let{blockType:r}=a,i=a==null?void 0:a.theme;if(r&&r in Bt){let p=Bt[r];if(p)return(0,rt.jsxs)("div",{className:"py-6 relative",children:[(0,rt.jsx)(So,{block:a,index:n}),(0,rt.jsx)("div",{className:l("container",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":""),children:(0,rt.jsx)(p,{...a})})]},n)}return null})}):null},So=e=>{var o;if(console.log("props",e),!("theme"in e.block))return null;let t=(o=e.block)==null?void 0:o.theme;if(console.log("theme",t),t.settings.background==="image"){let a={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",a),(0,rt.jsxs)("div",{className:l("absolute inset-0 w-full h-full -z-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,rt.jsx)(Pt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,rt.jsx)("div",{className:"absolute inset-0",style:{background:a.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,rt.jsx)("div",{className:l("absolute inset-0 -z-10 w-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};var ge=e=>{let{customId:t,reusableContent:o}=e;return typeof o=="object"&&o!==null?(0,rt.jsx)(St,{blocks:o.layout}):(0,rt.jsx)(rt.Fragment,{})};var be=K(require("react"));function fe({nodes:e}){return(0,rt.jsx)(be.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,rt.jsx)(be.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,rt.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,rt.jsx)("em",{children:r},o)),t.format&4&&(r=(0,rt.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,rt.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,rt.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,rt.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,rt.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,rt.jsx)("table",{children:(0,rt.jsx)("tbody",{children:t.children.map((r,i)=>(0,rt.jsx)("tr",{children:r.children.map((s,p)=>(0,rt.jsx)("td",{children:fe({nodes:s.children})},p))},i))})},o);let a=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let i of r.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return fe({nodes:r.children})},n="children"in t?a(t):"";if(t.type==="block"){let r=t.fields,i=r==null?void 0:r.blockType;if(!r||!i)return null;switch(i){case"cta":return(0,rt.jsx)(le,{...r},o);case"mediaBlock":return(0,rt.jsx)(te,{className:"col-start-1 col-span-3",imgClassName:"rt-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,rt.jsx)(wt,{className:"col-start-1 col-span-3",imgClassName:"rt-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,rt.jsx)(at,{className:"col-start-2 mb-4",...r},o);case"code":return(0,rt.jsx)(ut,{className:"col-start-2",...r},o);case"features":return(0,rt.jsx)(ue,{...r},o);case"reusableContentBlock":return(0,rt.jsx)(ge,{...r,reusableContent:r.reusableContent},o);default:return null}}else switch(t.type){case"linebreak":return(0,rt.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,rt.jsx)("p",{className:"col-start-2",children:n},o);case"heading":{let r=t==null?void 0:t.tag;return(0,rt.jsx)(r,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},o)}case"list":{let r=t==null?void 0:t.tag;return(0,rt.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,rt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},o):(0,rt.jsx)("li",{value:t==null?void 0:t.value,children:n},o);case"quote":return(0,rt.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=t.fields;return(0,rt.jsx)(O,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:n},o)}case"autolink":{let r=t.fields;return(0,rt.jsx)(O,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:n},o)}default:return null}})})}var B=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var n;return t?(0,rt.jsx)("div",{className:l({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&fe({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function It({subtitle:e,title:t,description:o,alignment:a="start",hasBottomSpacing:n=!1,className:r,invert:i=!1}){let s=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},r);return(0,rt.jsxs)("div",{className:s,children:[e&&(0,rt.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,rt.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",i&&"text-gray-900"),children:t}),typeof o=="string"?o&&(0,rt.jsx)("p",{className:"mt-5 whitespace-pre-line",children:o}):o&&(0,rt.jsx)(B,{content:o,enableGutter:!1})]})}function ye({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-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 Ro({className:e,...t}){return(0,rt.jsx)("input",{...t,className:ye({className:e})})}function he({icon:e,...t}){return(0,rt.jsxs)("div",{className:"relative w-full",children:[(0,rt.jsx)(Ro,{...t}),e&&(0,rt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Io({className:e,...t}){return(0,rt.jsx)("textarea",{...t,className:l(ye({}),"resize-none md:min-h-[130px]",e)})}function Tt({icon:e,...t}){return(0,rt.jsxs)("div",{className:"relative w-full",children:[(0,rt.jsx)(Io,{...t}),e&&(0,rt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Ft=require("formik"),Et=require("react-icons/fa6"),V=K(require("yup"));async function Mt(e){let{name:t,email:o,subject:a,message:n}=e,r=process.env.TEAMS_WEBHOOK_URL;if(!r)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={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:`${o}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let s=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!s.ok)throw console.error(s),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(s){return console.error(s),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Le=require("sonner"),I={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},To=V.object().shape({name:V.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),email:V.string().email(I.email).required(I.required),subject:V.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),message:V.string().min(2,I.tooShort).max(300,I.tooLong).required(I.required)}),xe=l("!pr-[44px]"),ve=l("!border-red-600 border"),we=l("sr-only");function zt(){return(0,rt.jsx)(Ft.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:To,onSubmit:async(e,{resetForm:t})=>{let o=await Mt(e);o.data===null?Le.toast.error(o.message):(Le.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:n,isSubmitting:r,handleSubmit:i})=>(0,rt.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,rt.jsxs)("div",{children:[(0,rt.jsx)(he,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:n,disabled:r,icon:(0,rt.jsx)(Et.FaUser,{}),className:l(xe,e.name&&t.name&&ve)}),e.name&&t.name&&(0,rt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:we,children:e.name})]}),(0,rt.jsxs)("div",{children:[(0,rt.jsx)(he,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:n,disabled:r,icon:(0,rt.jsx)(Mo,{}),className:l(xe,e.email&&t.email&&ve)}),e.email&&t.email&&(0,rt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:we,children:e.email})]}),(0,rt.jsxs)("div",{className:"lg:col-span-2",children:[(0,rt.jsx)(he,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:a,onBlur:n,disabled:r,className:l(xe,e.subject&&t.subject&&ve)}),e.subject&&t.subject&&(0,rt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:we,children:e.subject})]}),(0,rt.jsxs)("div",{className:"lg:col-span-2",children:[(0,rt.jsx)(Tt,{placeholder:"Write Message...",name:"message",value:o.message,onChange:a,onBlur:n,disabled:r,icon:(0,rt.jsx)(Fo,{}),className:l(xe,e.message&&t.message&&ve)}),e.message&&t.message&&(0,rt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:we,children:e.message})]}),(0,rt.jsx)("div",{className:"lg:col-span-2",children:(0,rt.jsx)(F,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:r,children:(0,rt.jsx)("span",{children:"SEND"})})})]})})}function Mo(){return(0,rt.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,rt.jsx)("path",{rt:"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 Fo(){return(0,rt.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,rt.jsx)("path",{rt:"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"})})}function Ue(e){let{sectionHeading:t,image:o}=e;return(0,rt.jsxs)(rt.Fragment,{children:[(0,rt.jsx)("section",{className:"section-padding-primary",children:(0,rt.jsx)("div",{className:"",children:(0,rt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,rt.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,rt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,rt.jsxs)("div",{children:[(0,rt.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,rt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,rt.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,n)=>{var r;return(0,rt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,rt.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,rt.jsxs)("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(r=a.location.split(","))==null?void 0:r.map((i,s)=>(0,rt.jsx)("p",{children:i},s))," ",a.mails&&(0,rt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,rt.jsx)(Et.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,rt.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,rt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,rt.jsx)(Et.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,rt.jsx)("section",{className:"section-padding-primary",children:(0,rt.jsxs)("div",{className:"relative py-[60px]",children:[(0,rt.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,rt.jsx)(Lt.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ve})}),(0,rt.jsx)(ot,{children:(0,rt.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,rt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,rt.jsx)("div",{className:"mb-30px",children:(0,rt.jsx)(It,{...t,invert:!0})}),(0,rt.jsx)(zt,{})]})})})]})})]})}var Eo={title:"Website Components/ContactSection",component:Ue,tags:["autodocs"],parameters:{docs:{description:{component:"rt card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[e=>(0,rt.jsxs)(rt.Fragment,{children:[(0,rt.jsx)(e,{}),(0,rt.jsx)(Le.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},zo=e=>(0,rt.jsx)(Ue,{...e}),Gt=zo.bind({});Gt.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};0&&(module.exports={Default});
@@ -1 +1 @@
1
- import{a as o}from"../chunk-XD4IKPMW.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-M3J4AMUT.mjs";import"../chunk-T44RKQFA.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-UK4IPFAO.mjs";import"../chunk-HUN2X4VH.mjs";import"../chunk-ICTOXY7D.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-S7OK7D5I.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Website Components/ContactSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[t=>s(c,{children:[e(t,{}),e(a,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},n=t=>e(o,{...t}),i=n.bind({});i.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};export{i as Default,l as default};
1
+ import{a as o}from"../chunk-O7R6EGBU.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TGHOEITH.mjs";import"../chunk-G6K3PK47.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-UK4IPFAO.mjs";import"../chunk-HUN2X4VH.mjs";import"../chunk-ICTOXY7D.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-S7OK7D5I.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Website Components/ContactSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[t=>s(c,{children:[e(t,{}),e(a,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},n=t=>e(o,{...t}),i=n.bind({});i.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};export{i as Default,l as default};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var lt=Object.create;var X=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var dt=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,ut=Object.prototype.hasOwnProperty;var mt=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of dt(t))!ut.call(e,a)&&a!==r&&X(e,a,{get:()=>t[a],enumerable:!(n=ct(t,a))||n.enumerable});return e};var O=(e,t,r)=>(r=e!=null?lt(pt(e)):{},Pe(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),gt=e=>Pe(X({},"__esModule",{value:!0}),e);var tr={};mt(tr,{LoadsOfText:()=>er,NoOverlay:()=>$t,WithGradientCard:()=>Xt,WithRadialCard:()=>he,WithStatsCard:()=>Zt,default:()=>Wt});module.exports=gt(tr);var Fe=require("clsx");var pe="-",ft=e=>{let t=yt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(pe);return s[0]===""&&s.length!==1&&s.shift(),Se(s,t)||bt(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&n[i]?[...d,...n[i]]:d}}},Se=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?Se(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(pe);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Re=/^\[(.+)\]$/,bt=e=>{if(Re.test(e)){let t=Re.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},yt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return xt(Object.entries(e.classGroups),r).forEach(([o,i])=>{de(i,n,o,t)}),n},de=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Be(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(ht(a)){de(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{de(i,Be(t,o),r,n)})})},Be=(e,t)=>{let r=e;return t.split(pe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ht=e=>e.isThemeGetter,xt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,vt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Ie="!",wt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let d=[],u=0,f=0,w;for(let y=0;y<s.length;y++){let x=s[y];if(u===0){if(x===a&&(n||s.slice(y,y+o)===t)){d.push(s.slice(f,y)),f=y+o;continue}if(x==="/"){w=y;continue}}x==="["?u++:x==="]"&&u--}let h=d.length===0?s:s.substring(f),A=h.startsWith(Ie),N=A?h.substring(1):h,b=w&&w>f?w-f:void 0;return{modifiers:d,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:b}};return r?s=>r({className:s,parseClassName:i}):i},kt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Ct=e=>({cache:vt(e.cacheSize),parseClassName:wt(e),...ft(e)}),At=/\s+/,Nt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(At),s="";for(let d=i.length-1;d>=0;d-=1){let u=i[d],{modifiers:f,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:A}=r(u),N=!!A,b=n(N?h.substring(0,A):h);if(!b){if(!N){s=u+(s.length>0?" "+s:s);continue}if(b=n(h),!b){s=u+(s.length>0?" "+s:s);continue}N=!1}let y=kt(f).join(":"),x=w?y+Ie:y,C=x+b;if(o.includes(C))continue;o.push(C);let E=a(b,N);for(let F=0;F<E.length;++F){let K=E[F];o.push(x+K)}s=u+(s.length>0?" "+s:s)}return s};function Pt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Te(t))&&(n&&(n+=" "),n+=r);return n}var Te=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Te(e[n]))&&(r&&(r+=" "),r+=t);return r};function Rt(e,...t){let r,n,a,o=i;function i(d){let u=t.reduce((f,w)=>w(f),e());return r=Ct(u),n=r.cache.get,a=r.cache.set,o=s,s(d)}function s(d){let u=n(d);if(u)return u;let f=Nt(d,r);return a(d,f),f}return function(){return o(Pt.apply(null,arguments))}}var m=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Me=/^\[(?:([a-M-]+):)?(.+)\]$/i,Bt=/^\d+\/\d+$/,St=new Set(["px","full","screen"]),It=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Tt=/\d+(%|px|r?em|[sdl]?M([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zt=/^(inset_)?-?((\d+)?\.?(\d+)[a-M]+|0)_-?((\d+)?\.?(\d+)[a-M]+|0)/,Et=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>L(e)||St.has(e)||Bt.test(e),I=e=>U(e,"length",Vt),L=e=>!!e&&!Number.isNaN(Number(e)),ce=e=>U(e,"number",L),V=e=>!!e&&Number.isInteger(Number(e)),Ft=e=>e.endsWith("%")&&L(e.slice(0,-1)),l=e=>Me.test(e),T=e=>It.test(e),Dt=new Set(["length","size","percentage"]),Gt=e=>U(e,Dt,ze),Lt=e=>U(e,"position",ze),Ut=new Set(["image","url"]),Ht=e=>U(e,Ut,Qt),Ot=e=>U(e,"",jt),j=()=>!0,U=(e,t,r)=>{let n=Me.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Vt=e=>Tt.test(e)&&!Mt.test(e),ze=()=>!1,jt=e=>zt.test(e),Qt=e=>Et.test(e);var Jt=()=>{let e=m("colors"),t=m("spacing"),r=m("blur"),n=m("brightness"),a=m("borderColor"),o=m("borderRadius"),i=m("borderSpacing"),s=m("borderWidth"),d=m("contrast"),u=m("grayscale"),f=m("hueRotate"),w=m("invert"),h=m("gap"),A=m("gradientColorStops"),N=m("gradientColorStopPositions"),b=m("inset"),y=m("margin"),x=m("opacity"),C=m("padding"),E=m("saturate"),F=m("scale"),K=m("sepia"),xe=m("skew"),ve=m("space"),we=m("translate"),ne=()=>["auto","contain","none"],se=()=>["auto","hidden","clip","visible","scroll"],ie=()=>["auto",l,t],g=()=>[l,t],ke=()=>["",R,I],Y=()=>["auto",L,l],Ce=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",l],Ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[L,l];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[R,I],blur:["none","",T,l],brightness:P(),borderColor:[e],borderRadius:["none","","full",T,l],borderSpacing:g(),borderWidth:ke(),contrast:P(),grayscale:H(),hueRotate:P(),invert:H(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Ft,I],inset:ie(),margin:ie(),opacity:P(),padding:g(),saturate:P(),scale:P(),sepia:H(),skew:P(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":Ne()}],"break-before":[{"break-before":Ne()}],"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:[...Ce(),l]}],overflow:[{overflow:se()}],"overflow-x":[{"overflow-x":se()}],"overflow-y":[{"overflow-y":se()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],M:[{M:["auto",V,l]}],basis:[{basis:ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",V,l]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",V,l]},l]}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[V,l]},l]}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],M:[{M:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],M:[{M:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ve]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ve]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",T,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ce]}],"font-family":[{font:[j]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",L,ce]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,I]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ce(),Lt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ht]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-Je":[{"rounded-Je":[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-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:W()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[R,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",T,Ot]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ae()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",T,l]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[w]}],saturate:[{saturate:[E]}],sepia:[{sepia:[K]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[V,l]}],"translate-x":[{"translate-x":[we]}],"translate-y":[{"translate-y":[we]}],"skew-x":[{"skew-x":[xe]}],"skew-y":[{"skew-y":[xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-M":[{"scroll-M":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-M":[{"scroll-M":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,I,ce]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],M:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","M","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-Je","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Je"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-M","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-M":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ee=Rt(Jt);function c(...e){return Ee((0,Fe.clsx)(e))}var De=O(require("next/image")),M=require("react/jsx-runtime");function Ge({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?M=80&w=2574&auto=format&fit=crop",imageAlt:n="Professional presentation in modern office setting",imagePosition:a="left",overlay:o=!0}){return(0,M.jsxs)("section",{className:c("relative min-h-[50vh] w-full overflow-hidden",e),children:[(0,M.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,M.jsx)(De.default,{src:r||"/placeholder.svg",alt:n,fill:!0,className:"object-cover",priority:!0}),o&&(0,M.jsx)("div",{className:"absolute inset-0",style:{background:a==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,M.jsx)("div",{className:c("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",a==="left"?"justify-end":"justify-start"),children:(0,M.jsx)("div",{className:c("w-full max-w-xl py-12",a==="left"?"ml-auto":"mr-auto"),children:t})})]})}var Le=require("@radix-ui/react-slot"),Ue=require("class-variance-authority"),He=O(require("react")),_t=(0,Ue.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),D=He.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,M.jsx)(e?Le.Slot:"button",{className:c(_t({className:t,size:r,variant:n})),ref:o,...a}));D.displayName="Button";var Ve=({className:e,content:t,style:r})=>(0,M.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,M.jsx)("div",{className:c("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,M.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var ue=O(require("next/link")),J=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:d,url:u}=e,f=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!f)return null;let w=r==="link"?"clear":d,h=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,M.jsxs)(ue.default,{className:c(a),href:f||u||"",...h,children:[o&&o,n&&n]}):(0,M.jsx)(D,{asChild:!0,className:a,size:w,variant:r,children:(0,M.jsxs)(ue.default,{className:c(a),href:f||u||"",...h,children:[o&&o,n&&n]})})};var je=({links:e,richText:t})=>(0,M.jsx)("div",{className:"container",children:(0,M.jsxs)("div",{className:"bg-card rounded border-border border M-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,M.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,M.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,M.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,M.jsx)(J,{size:"lg",...r},n))})]})});var $=require("prism-react-renderer");var Qe=require("lucide-react"),Je=require("react");function _e({code:e}){let[t,r]=(0,Je.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,M.jsx)("div",{className:"flex justify-end align-middle",children:(0,M.jsxs)(D,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,M.jsx)("M",{children:t}),(0,M.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,M.jsx)(Qe.ClipboardCopy,{})})]})})}var qe=({code:e,language:t=""})=>e?(0,M.jsx)($.Highlight,{code:e,language:t,theme:$.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,M.jsxs)("pre",{className:"bg-black M-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,M.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,M.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,M.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,M.jsx)("span",{...n({token:s})},d))})]},i)),(0,M.jsx)(_e,{code:e})]})}):null;var Ke=({className:e,code:t,language:r})=>(0,M.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,M.jsx)(qe,{code:t,language:r})});var We=O(require("next/image")),qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ye="data:image/png;base64,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",Xe=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:d}=e,u,f,w=t,h=s||"";if(!h&&o&&typeof o=="object"){let{alt:b,filename:y,height:x,url:C,width:E}=o;u=E,f=x,w=b||"",h=C||Ye}let A=d||"lazy",N=i||Object.entries(qt).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,M.jsx)("picture",{children:(0,M.jsx)(We.default,{alt:w||"",className:c(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Ye,priority:A!=="lazy"&&a,quality:100,loading:A,sizes:N,src:h,width:r?void 0:u})})};var Ze=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var $e=()=>{if(Ze){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var et=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,Je.useRef)(null);if((0,Je.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,M.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,M.jsx)("source",{src:`${$e()}/media/${o}`})})}return null};var re=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,M.jsx)(r||Je.Fragment,{...r!==null?{className:t}:{},children:a?(0,M.jsx)(et,{...e}):(0,M.jsx)(Xe,{...e})})};var rt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,M.jsx)("div",{className:c("",{container:r},t),children:(0,M.jsx)(re,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ot=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,M.jsx)("div",{className:c("",{container:r},t),children:(0,M.jsx)(re,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var at=({title:e,description:t,features:r,id:n})=>(0,M.jsxs)("section",{className:c("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,M.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,M.jsx)("M",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,M.jsx)("M",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,M.jsx)(B,{content:t,enableGutter:!1})}),(0,M.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{let i=(0,M.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,M.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,M.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,M.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,M.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,M.jsx)("div",{className:"text-lg opacity-80",children:(0,M.jsx)(B,{content:a.content,enableGutter:!1})})]},o);return a.link?(0,M.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:i},o):i})})]});var ae=O(require("react"));function oe({nodes:e}){return(0,M.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,M.jsx)(ae.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,M.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,M.jsx)("em",{children:o},r)),t.format&4&&(o=(0,M.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,M.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,M.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,M.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,M.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,M.jsx)("table",{children:(0,M.jsx)("tbody",{children:t.children.map((o,i)=>(0,M.jsx)("tr",{children:o.children.map((s,d)=>(0,M.jsx)("td",{children:oe({nodes:s.children})},d))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return oe({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,M.jsx)(je,{...o},r);case"mediaBlock":return(0,M.jsx)(rt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,M.jsx)(ot,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,M.jsx)(Ve,{className:"col-start-2 mb-4",...o},r);case"code":return(0,M.jsx)(Ke,{className:"col-start-2",...o},r);case"features":return(0,M.jsx)(at,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,M.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,M.jsx)("M",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,M.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,M.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,M.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,M.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,M.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,M.jsx)(J,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,M.jsx)(J,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,M.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&oe({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var st=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,M.jsx)("i",{className:s})};function Kt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function _({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:d}){let u={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,M.jsxs)("div",{className:c("rounded-3xl M-8 md:M-12",u[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,M.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,M.jsx)("div",{className:c("rounded-full M-0",e==="light"?"text-[#A42368]":"text-white"),children:Kt(r)?(0,M.jsx)(st,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,M.jsx)("h2",{className:c("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,M.jsx)("div",{className:"mb-6",children:(0,M.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,M.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,M.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,M.jsx)(B,{enableGutter:!1,content:o,enableProse:!1,className:c(e==="light"?"prose":"prose prose-headings:text-white prose-M:text-gray-300")})}),o&&typeof o=="string"&&(0,M.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,M.jsx)("div",{className:"mt-8",children:(0,M.jsx)(D,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,M.jsxs)("a",{href:d,children:[s,(0,M.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,M.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var Yt={title:"Reusable Blocks/ImageSection",component:Ge,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},Wt=Yt,Xt={args:{imagePosition:"left",children:(0,M.jsx)(_,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},Zt={args:{imagePosition:"right",children:(0,M.jsx)(_,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},he={args:{imagePosition:"left",children:(0,M.jsx)(_,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},$t={args:{...he.args,overlay:!1}},er={args:{...he.args,children:(0,M.jsx)(_,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};0&&(module.exports={LoadsOfText,NoOverlay,WithGradientCard,WithRadialCard,WithStatsCard});
4
+ "use strict";var bt=Object.create;var te=Object.defineProperty;var yt=Object.getOwnPropertyDescriptor;var ht=Object.getOwnPropertyNames;var xt=Object.getPrototypeOf,vt=Object.prototype.hasOwnProperty;var kt=(e,t)=>{for(var r in t)te(e,r,{get:t[r],enumerable:!0})},ze=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ht(t))!vt.call(e,a)&&a!==r&&te(e,a,{get:()=>t[a],enumerable:!(n=yt(t,a))||n.enumerable});return e};var V=(e,t,r)=>(r=e!=null?bt(xt(e)):{},ze(t||!e||!e.__esModule?te(r,"default",{value:e,enumerable:!0}):r,e)),wt=e=>ze(te({},"__esModule",{value:!0}),e);var pr={};kt(pr,{LoadsOfText:()=>dr,NoOverlay:()=>cr,WithGradientCard:()=>ir,WithRadialCard:()=>Ne,WithStatsCard:()=>lr,default:()=>sr});module.exports=wt(pr);var Ve=require("clsx");var he="-",Ct=e=>{let t=Nt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(he);return s[0]===""&&s.length!==1&&s.shift(),De(s,t)||At(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&n[i]?[...d,...n[i]]:d}}},De=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?De(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(he);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ee=/^\[(.+)\]$/,At=e=>{if(Ee.test(e)){let t=Ee.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Nt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Bt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ye(i,n,o,t)}),n},ye=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:Fe(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Pt(a)){ye(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{ye(i,Fe(t,o),r,n)})})},Fe=(e,t)=>{let r=e;return t.split(he).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Pt=e=>e.isThemeGetter,Bt=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,Rt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},Ge="!",St=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let d=[],u=0,m=0,h;for(let y=0;y<s.length;y++){let v=s[y];if(u===0){if(v===a&&(n||s.slice(y,y+o)===t)){d.push(s.slice(m,y)),m=y+o;continue}if(v==="/"){h=y;continue}}v==="["?u++:v==="]"&&u--}let x=d.length===0?s:s.substring(m),A=x.startsWith(Ge),N=A?x.substring(1):x,b=h&&h>m?h-m:void 0;return{modifiers:d,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:b}};return r?s=>r({className:s,parseClassName:i}):i},It=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Tt=e=>({cache:Rt(e.cacheSize),parseClassName:St(e),...Ct(e)}),Mt=/\s+/,zt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Mt),s="";for(let d=i.length-1;d>=0;d-=1){let u=i[d],{modifiers:m,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:A}=r(u),N=!!A,b=n(N?x.substring(0,A):x);if(!b){if(!N){s=u+(s.length>0?" "+s:s);continue}if(b=n(x),!b){s=u+(s.length>0?" "+s:s);continue}N=!1}let y=It(m).join(":"),v=h?y+Ge:y,C=v+b;if(o.includes(C))continue;o.push(C);let F=a(b,N);for(let D=0;D<F.length;++D){let Z=F[D];o.push(v+Z)}s=u+(s.length>0?" "+s:s)}return s};function Et(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Le(t))&&(n&&(n+=" "),n+=r);return n}var Le=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Le(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ft(e,...t){let r,n,a,o=i;function i(d){let u=t.reduce((m,h)=>h(m),e());return r=Tt(u),n=r.cache.get,a=r.cache.set,o=s,s(d)}function s(d){let u=n(d);if(u)return u;let m=zt(d,r);return a(d,m),m}return function(){return o(Et.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Dt=/^\d+\/\d+$/,Gt=new Set(["px","full","screen"]),Lt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ut=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(z|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ot=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Vt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>Q(e)||Gt.has(e)||Dt.test(e),T=e=>j(e,"length",Wt),Q=e=>!!e&&!Number.isNaN(Number(e)),be=e=>j(e,"number",Q),_=e=>!!e&&Number.isInteger(Number(e)),Qt=e=>e.endsWith("%")&&Q(e.slice(0,-1)),l=e=>Ue.test(e),M=e=>Lt.test(e),jt=new Set(["length","size","percentage"]),Jt=e=>j(e,jt,He),_t=e=>j(e,"position",He),qt=new Set(["image","url"]),Kt=e=>j(e,qt,Zt),Yt=e=>j(e,"",Xt),q=()=>!0,j=(e,t,r)=>{let n=Ue.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Wt=e=>Ut.test(e)&&!Ht.test(e),He=()=>!1,Xt=e=>Ot.test(e),Zt=e=>Vt.test(e);var $t=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),a=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),s=g("borderWidth"),d=g("contrast"),u=g("grayscale"),m=g("hueRotate"),h=g("invert"),x=g("gap"),A=g("gradientColorStops"),N=g("gradientColorStopPositions"),b=g("inset"),y=g("margin"),v=g("opacity"),C=g("padding"),F=g("saturate"),D=g("scale"),Z=g("sepia"),Pe=g("skew"),Be=g("space"),Re=g("translate"),ue=()=>["auto","contain","none"],me=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",l,t],f=()=>[l,t],Se=()=>["",S,T],$=()=>["auto",Q,l],Ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",l],Me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[Q,l];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[S,T],blur:["none","",M,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:f(),borderWidth:Se(),contrast:R(),grayscale:J(),hueRotate:R(),invert:J(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Qt,T],inset:ge(),margin:ge(),opacity:R(),padding:f(),saturate:R(),scale:R(),sepia:J(),skew:R(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Me()}],"break-before":[{"break-before":Me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ie(),l]}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:ue()}],"overscroll-x":[{"overscroll-x":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,l]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",_,l]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",_,l]},l]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[_,l]},l]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],z:[{z:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Be]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Be]}],"space-y-reverse":["space-y-reverse"],z:[{z:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-z":[{"min-z":[l,t,"min","max","fit"]}],"max-z":[{"max-z":[l,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[q]}],"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",l]}],"line-clamp":[{"line-clamp":["none",Q,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,T]}],"underline-offset":[{"underline-offset":["auto",S,l]}],"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:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ie(),_t]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Jt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Kt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-z":[{"rounded-z":[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-z":[{border:[s]}],"border-z-x":[{"border-x":[s]}],"border-z-y":[{"border-y":[s]}],"border-z-s":[{"border-s":[s]}],"border-z-e":[{"border-e":[s]}],"border-z-t":[{"border-t":[s]}],"border-z-r":[{"border-r":[s]}],"border-z-b":[{"border-b":[s]}],"border-z-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:ee()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ee()]}],"outline-offset":[{"outline-offset":[S,l]}],"outline-z":[{outline:[S,T]}],"outline-color":[{outline:[e]}],"ring-z":[{ring:Se()}],"ring-z-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-z":[{"ring-offset":[S,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Yt]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Te()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[F]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[_,l]}],"translate-x":[{"translate-x":[Re]}],"translate-y":[{"translate-y":[Re]}],"skew-x":[{"skew-x":[Pe]}],"skew-y":[{"skew-y":[Pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],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","z-resize","ne-resize","nw-resize","z-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-z":[{"scroll-z":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-z":[{stroke:[S,T,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],z:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["z","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-z","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-z","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-z":["border-z-s","border-z-e","border-z-t","border-z-r","border-z-b","border-z-l"],"border-z-x":["border-z-r","border-z-l"],"border-z-y":["border-z-t","border-z-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-z":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Oe=Ft($t);function c(...e){return Oe((0,Ve.clsx)(e))}var Qe=V(require("next/image")),z=require("react/jsx-runtime");function je({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&z=2574&auto=format&fit=crop",imageAlt:n="Professional presentation in modern office setting",imagePosition:a="left",overlay:o=!0}){return(0,z.jsxs)("section",{className:c("relative min-h-[50vh] z-full overflow-hidden",e),children:[(0,z.jsxs)("div",{className:"absolute inset-0 z-full",children:[(0,z.jsx)(Qe.default,{src:r||"/placeholder.svg",alt:n,fill:!0,className:"object-cover",priority:!0}),o&&(0,z.jsx)("div",{className:"absolute inset-0",style:{background:a==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,z.jsx)("div",{className:c("relative z-full max-z-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",a==="left"?"justify-end":"justify-start"),children:(0,z.jsx)("div",{className:c("z-full max-z-xl py-12",a==="left"?"ml-auto":"mr-auto"),children:t})})]})}var Je=require("@radix-ui/react-slot"),_e=require("class-variance-authority"),qe=V(require("react")),er=(0,_e.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 z-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),G=qe.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,z.jsx)(e?Je.Slot:"button",{className:c(er({className:t,size:r,variant:n})),ref:o,...a}));G.displayName="Button";var Ye=({className:e,content:t,style:r})=>(0,z.jsx)("div",{className:c("mx-auto my-8 z-full",e),children:(0,z.jsx)("div",{className:c("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,z.jsx)(P,{content:t,enableGutter:!1,enableProse:!1})})});var xe=V(require("next/link")),L=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:d,url:u}=e,m=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!m)return null;let h=r==="link"?"clear":d,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,z.jsxs)(xe.default,{className:c(a),href:m||u||"",...x,children:[o&&o,n&&n]}):(0,z.jsx)(G,{asChild:!0,className:a,size:h,variant:r,children:(0,z.jsxs)(xe.default,{className:c(a),href:m||u||"",...x,children:[o&&o,n&&n]})})};var oe=({links:e,richText:t})=>(0,z.jsx)("div",{className:"container",children:(0,z.jsxs)("div",{className:"bg-card rounded border-border border z-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,z.jsx)("div",{className:"max-z-[48rem] flex items-center",children:t&&(0,z.jsx)(P,{className:"mb-0",content:t,enableGutter:!1})}),(0,z.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,z.jsx)(L,{size:"lg",...r},n))})]})});var ne=require("prism-react-renderer");var We=require("lucide-react"),Xe=require("react");function Ze({code:e}){let[t,r]=(0,Xe.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,z.jsx)("div",{className:"flex justify-end align-middle",children:(0,z.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,z.jsx)("z",{children:t}),(0,z.jsx)("div",{className:"z-6 h-6 dark:invert",children:(0,z.jsx)(We.ClipboardCopy,{})})]})})}var $e=({code:e,language:t=""})=>e?(0,z.jsx)(ne.Highlight,{code:e,language:t,theme:ne.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,z.jsxs)("pre",{className:"bg-black z-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,z.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,z.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,z.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,z.jsx)("span",{...n({token:s})},d))})]},i)),(0,z.jsx)(Ze,{code:e})]})}):null;var et=({className:e,code:t,language:r})=>(0,z.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,z.jsx)($e,{code:t,language:r})});var rt=V(require("next/image")),tr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},tt="data:image/png;base64,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",ot=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:d}=e,u,m,h=t,x=s||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:y,height:v,url:C,width:F}=o;u=F,m=v,h=b||"",x=C||tt}let A=d||"lazy",N=i||Object.entries(tr).map(([,b])=>`(max-width: ${b}px) ${b*2}z`).join(", ");return(0,z.jsx)("picture",{children:(0,z.jsx)(rt.default,{alt:h||"",className:c(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:tt,priority:A!=="lazy"&&a,quality:100,loading:A,sizes:N,src:x,width:r?void 0:u})})};var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var at=()=>{if(nt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var st=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,Xe.useRef)(null);if((0,Xe.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,z.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,z.jsx)("source",{src:`${at()}/media/${o}`})})}return null};var ie=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,z.jsx)(r||Xe.Fragment,{...r!==null?{className:t}:{},children:a?(0,z.jsx)(st,{...e}):(0,z.jsx)(ot,{...e})})};var Y=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,z.jsx)("div",{className:c("",{container:r},t),children:(0,z.jsx)(ie,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var lt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,z.jsx)("div",{className:c("",{container:r},t),children:(0,z.jsx)(ie,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ct=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,z.jsx)("i",{className:s})};var le=({title:e,description:t,features:r,id:n})=>(0,z.jsxs)("section",{className:c("container z-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,z.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,z.jsx)("z",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,z.jsx)("z",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,z.jsx)(P,{content:t,enableGutter:!1})}),(0,z.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,d,u,m;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,z.jsx)(rr,{section:a,index:o},o);{let h=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,z.jsx)(H,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((d=a.settings)==null?void 0:d.card)||"solid",icon:h()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(u=a.link)!=null&&u.url?"Find out more":void 0,buttonHref:((m=a.link)==null?void 0:m.url)||void 0},o)}})})]}),rr=({section:e,index:t})=>{if(!e)return null;let r=(0,z.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,z.jsx)("div",{className:"text-accent h-12 z-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,z.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,z.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,z.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,z.jsx)("div",{className:"text-lg opacity-80",children:(0,z.jsx)(P,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,z.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var mt=V(require("next/image"));var pt=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,z.jsx)("div",{className:"container my-6",children:(0,z.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((n,a)=>{let{enableLink:o,link:i,richText:s,size:d}=n;return(0,z.jsxs)("div",{className:c(`col-span-4 lg:col-span-${r[d]}`,{"md:col-span-2":d!=="full"}),children:[s&&(0,z.jsx)(P,{content:s,enableGutter:!1}),o&&(0,z.jsx)(L,{...i})]},a)})})})};var ut={content:pt,cta:oe,mediaBlock:Y,imageBlock:Y,features:le,reusableContentBlock:ce},gt=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,z.jsx)("section",{id:"render-blocks",children:t.map((n,a)=>{var s;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in ut){let d=ut[o];if(d)return(0,z.jsxs)("div",{className:"py-6 relative",children:[(0,z.jsx)(or,{block:n,index:a}),(0,z.jsx)("div",{className:c("container",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":""),children:(0,z.jsx)(d,{...n})})]},a)}return null})}):null},or=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",n),(0,z.jsxs)("div",{className:c("absolute inset-0 z-full h-full -z-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,z.jsx)(mt.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,z.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,z.jsx)("div",{className:c("absolute inset-0 -z-10 z-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};var ce=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,z.jsx)(gt,{blocks:r.layout}):(0,z.jsx)(z.Fragment,{})};var pe=V(require("react"));function de({nodes:e}){return(0,z.jsx)(pe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,z.jsx)(pe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,z.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,z.jsx)("em",{children:o},r)),t.format&4&&(o=(0,z.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,z.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,z.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,z.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,z.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,z.jsx)("table",{children:(0,z.jsx)("tbody",{children:t.children.map((o,i)=>(0,z.jsx)("tr",{children:o.children.map((s,d)=>(0,z.jsx)("td",{children:de({nodes:s.children})},d))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return de({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,z.jsx)(oe,{...o},r);case"mediaBlock":return(0,z.jsx)(Y,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-z-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,z.jsx)(lt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-z-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,z.jsx)(Ye,{className:"col-start-2 mb-4",...o},r);case"code":return(0,z.jsx)(et,{className:"col-start-2",...o},r);case"features":return(0,z.jsx)(le,{...o},r);case"reusableContentBlock":return(0,z.jsx)(ce,{...o,reusableContent:o.reusableContent},r);default:return null}}else switch(t.type){case"linebreak":return(0,z.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,z.jsx)("z",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,z.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,z.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,z.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,z.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,z.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,z.jsx)(L,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,z.jsx)(L,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var P=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,z.jsx)("div",{className:c({"container ":r,"max-z-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&de({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};function nr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function H({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:d}){let u={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,z.jsxs)("div",{className:c("rounded-3xl z-8 md:z-12",u[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,z.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,z.jsx)("div",{className:c("rounded-full z-0",e==="light"?"text-[#A42368]":"text-white"),children:nr(r)?(0,z.jsx)(ct,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,z.jsx)("h2",{className:c("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,z.jsx)("div",{className:"mb-6",children:(0,z.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,z.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,z.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,z.jsx)(P,{enableGutter:!1,content:o,enableProse:!1,className:c(e==="light"?"prose":"prose prose-headings:text-white prose-z:text-gray-300")})}),o&&typeof o=="string"&&(0,z.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,z.jsx)("div",{className:"mt-8",children:(0,z.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,z.jsxs)("a",{href:d,children:[s,(0,z.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,z.jsx)("div",{className:"absolute bottom-0 right-0 z-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var ar={title:"Reusable Blocks/ImageSection",component:je,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},sr=ar,ir={args:{imagePosition:"left",children:(0,z.jsx)(H,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},lr={args:{imagePosition:"right",children:(0,z.jsx)(H,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},Ne={args:{imagePosition:"left",children:(0,z.jsx)(H,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},cr={args:{...Ne.args,overlay:!1}},dr={args:{...Ne.args,children:(0,z.jsx)(H,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};0&&(module.exports={LoadsOfText,NoOverlay,WithGradientCard,WithRadialCard,WithStatsCard});